playbook_ui_docs 14.11.1.pre.alpha.PBNTR573datepickerinvestigation5355 → 14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400

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: b29ced69883c08efeeb38c8cae1c7a9dca8bdb13222e9bf8b5d45a7058f20433
4
- data.tar.gz: 30714ea1e97be8ddd8766dca5ff9a7707b9cdce82bf96f1f4538070b8215e4a7
3
+ metadata.gz: '0499b960bdd8aa7dd866a1ffe9cf0402bc0a2a4c3b9b51a9c74d9eb0cb02275c'
4
+ data.tar.gz: d2e521b255f2ea811548a6f173a89a1ead6fafffd7b1b2c68fc744ed15f3c410
5
5
  SHA512:
6
- metadata.gz: 6a616895c39c34e9d17e09c7abd702f569762af4bb1aecb35632d514795ab6457077b5bf19dc3f59b800742ebf1bea9c4622c04cbdb7a4bc2e7dd75b2c257463
7
- data.tar.gz: 5ea0bfef4c19c5bbbc318cca0937330c95654dd70b36ad2dbc85008c901e2a4e980eedf6a385aa2e80edf6825c020d129659fbebb6b91fac19732856147e35e7
6
+ metadata.gz: 1c640616ac5f02e50c2de458f2bd6ff2fb229e25cd375477c682e285819c8d8f4413a83be500c9cc84e7c3d6fe12f8e6785e476c4631ce5f5d9ad8c5ba3c96bf
7
+ data.tar.gz: fc2df1c87fe369f9a72be5005a8ccdce44e4892f168879d630a722ae6827d9ec1ee0a9ecc4c5dce6adaf45252581955ac651e5f995ecf8567b27fc79ba9fd3a3
@@ -1,12 +1 @@
1
- <%= pb_rails("date_picker", props: { picker_id: "date-picker-default", custom_event_listener: "datePickerLoader" }) %>
2
- <%= pb_rails("button", props: { id: "date-picker-loader", text: "Load Custom Event" }) %>
3
-
4
- <script>
5
- document.getElementById("date-picker-loader").addEventListener("click", () => {
6
- window.document.dispatchEvent(
7
- new CustomEvent("datePickerLoader", {
8
- bubbles: true,
9
- })
10
- );
11
- });
12
- </script>
1
+ <%= pb_rails("date_picker", props: { picker_id: "date-picker-default"}) %>
@@ -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.11.1.pre.alpha.PBNTR573datepickerinvestigation5355
4
+ version: 14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400
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-13 00:00:00.000000000 Z
12
+ date: 2025-01-16 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