Sha256: 3e3af1f68485bcb2de0fb7e2cff1e099cc397f986e2eafc2dfe76bfe9ed8ffff

Contents?: true

Size: 785 Bytes

Versions: 28

Compression:

Stored size: 785 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbSelectableList
    class SelectableListItem
      include Playbook::Props

      prop :tabindex

      prop :checked, type: Playbook::Props::Boolean,
                     default: false
      prop :name, type: Playbook::Props::String
      prop :text, type: Playbook::Props::String
      prop :value, type: Playbook::Props::String
      prop :variant, type: Playbook::Props::Enum,
                     values: %w[radio checkbox],
                     default: "radio"
      prop :input_options, type: Playbook::Props::Hash,
                           default: {}

      partial "pb_selectable_list/selectable_list_item"

      def classname
        generate_classname("pb_selectable_list_item_kit")
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
playbook_ui-7.14.0.pre.alpha1 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.16.0 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.15.1 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.15.0 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.14.0 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.13.0 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.12.1 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.12.0 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.11.1 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.11.0 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.10.0 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.9.0 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.8.4 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.8.3 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.8.2 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.8.1 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.8.0 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb