playbook_ui_docs 14.12.0.pre.rc.4 → 14.12.0.pre.rc.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7747901d603f0e280a2d9427a4af4821fb24a861d9f5c31aff240bb232a3907f
4
- data.tar.gz: 8e86f38fa8f7e0bd38102e57214271bf9126d91d57142036e4829626795079ab
3
+ metadata.gz: 8124c32ee229b52c472ee92f31216553fb2e45b3a9780f4f0ce0ab339df3660a
4
+ data.tar.gz: b5f5b58a1dd5b22b8371614ec2b3cc836db6177aba7544e7ced3acca19db23b3
5
5
  SHA512:
6
- metadata.gz: c3eda2fff28d080aeb78d92ae448bf92fd06110d2fd51c3127883cd04c27e5d31ca4ea44543607f94fa575e5f73162f2361e3398d24f17bbd0c2484486b00c90
7
- data.tar.gz: 4ece5bb7488cf58fd085e2c6bc970dac5e7a2fd3f708a7f61092004ef2a920ce83b80b41ba46bef634be2a28b1f83b41cbfaf45f1e02e4d1893ea40e03dbc870
6
+ metadata.gz: 761a986bea043638a725517d6d9e8dfb309f9a4f74fc983b8d68aa39ea466c044e40da2b9c73704d0a7141955454b4e4f3ab29995a07b2b439856d4d6a6829f2
7
+ data.tar.gz: a06a8f7377ad644ded5d175f6f2405577118821519ccf96bf7ffa63f3ee96859ff0940c581adc043e1938770cc9ea584550414000b4ad3ee26a17423202a17bb
@@ -0,0 +1,38 @@
1
+ <%= pb_rails("selectable_list",
2
+ props: {
3
+ enable_drag: true,
4
+ variant: "radio",
5
+ items: [
6
+ { drag_id: "41",
7
+ text: "Task 1",
8
+ input_options: {
9
+ value: "1",
10
+ name: "radio-name",
11
+ }
12
+ },
13
+ { drag_id: "42",
14
+ text: "Task 2",
15
+ checked: true,
16
+ input_options: {
17
+ value: "2",
18
+ name: "radio-name",
19
+ }
20
+ },
21
+ { drag_id: "43",
22
+ text: "Task 3",
23
+ input_options: {
24
+ value: "3",
25
+ name: "radio-name",
26
+ }
27
+ },
28
+ { drag_id: "44",
29
+ text: "Task 4",
30
+ input_options: {
31
+ value: "4",
32
+ name: "radio-name",
33
+ }
34
+ }
35
+ ]
36
+ }
37
+ )
38
+ %>
@@ -0,0 +1,3 @@
1
+ For a simplified version of the Draggable API for the SelectableList kit, you can do the following:
2
+
3
+ The SelectableList kit is optimized to work with the draggable kit. To enable drag, use the `enable_drag` prop on SelectableList kit AND `drag_id` prop within the SelectableList kit prop. An additional optional boolean prop (set to true by default) of `drag_handle` is also available on SelectableList kit to show the drag handle icon.
@@ -11,6 +11,7 @@ examples:
11
11
  rails:
12
12
  - draggable_default_rails: Default
13
13
  - draggable_with_list_rails: Draggable with List Kit
14
+ - draggable_with_selectable_list_rails: Draggable with SelectableList Kit
14
15
  - draggable_with_cards_rails: Draggable with Cards
15
16
 
16
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.12.0.pre.rc.4
4
+ version: 14.12.0.pre.rc.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-01-14 00:00:00.000000000 Z
12
+ date: 2025-01-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -684,6 +684,8 @@ files:
684
684
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.html.erb
685
685
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx
686
686
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.md
687
+ - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.html.erb
688
+ - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.md
687
689
  - app/pb_kits/playbook/pb_draggable/docs/example.yml
688
690
  - app/pb_kits/playbook/pb_draggable/docs/index.js
689
691
  - app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx