Sha256: 4d6924d54dca4ddf51d2c4efacd13eeb470427e2c2581de671860dcdef106b04

Contents?: true

Size: 957 Bytes

Versions: 12

Compression:

Stored size: 957 Bytes

Contents

# frozen_string_literal: true

module NfgUi
  module Components
    module Patterns
      # Button Group doesn't have any customizations unique to the design system yet
      # As such, the NFG UI button group is simply a bootstrap button group behind the scenes.
      # Traits will eventually be connected here.
      class ButtonGroup < NfgUi::Bootstrap::Components::ButtonGroup
        include NfgUi::Components::Utilities::Traitable
        include NfgUi::Components::Utilities::Describable
        include NfgUi::Components::Utilities::Renderable

        include NfgUi::Components::Traits::Size
        include NfgUi::Components::Traits::Vertical

        # TODO It's not clear to me whether the traits listed above actually do anything
        # I think the note above implies that they don't, but then why include them? If they don't
        # actually do anything yet, they should be removed, or at least commented out
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
nfg_ui-0.9.16 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.15 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.14 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.13 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.12 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.11 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.10 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.9 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.8.18 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.8.17 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.8.16 lib/nfg_ui/components/patterns/button_group.rb
nfg_ui-0.9.8.15 lib/nfg_ui/components/patterns/button_group.rb