playbook_ui_docs 16.9.0.pre.alpha.play300617334 → 16.9.0.pre.alpha.play300717269
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_rails.md +1 -3
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_react.md +1 -1
- data/app/pb_kits/playbook/pb_draggable/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_filter/docs/_playground.json +0 -7
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list.html.erb +2 -2
- metadata +2 -4
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_independent_containers.html.erb +0 -35
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_independent_containers_rails.md +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66ab21d40536fefbb26883f3ffecfae1dcc9351f632fde80f2ad64aeb06aa13a
|
|
4
|
+
data.tar.gz: a2573ee1b290c73025e1e8f75600ab045b9bfc1cc2042bfb01f15b0dc9d30fa3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc59a7b0b145b0da072e14773f95fb40993c8ec8aecebd17bb8637a497534b56f9263ffcb3cbeb2a34a2f1e3cdd49c5aceac1bbec3f06046a65a45cddb246023
|
|
7
|
+
data.tar.gz: 27a33f01a0ee7e9ef1b68198300776c913fbf37dcdf2ca970e3a1289bbdb19378fd1c4923ae1f0839d8193f5b7b68fc8d86556680ad897c7e6ba35e927a3423b
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
The Draggable kit can also be used to achieve more complex, multiple container functionality as shown here. This complex usage requires the full subcomponent structure
|
|
2
|
-
|
|
3
|
-
For lists that should stay separate, see [Independent Draggable Containers](#draggable_independent_containers).
|
|
1
|
+
The Draggable kit can also be used to achieve more complex, multiple container functionality as shown here. This complex usage requires the full subcomponent structure.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
The Draggable kit can also be used to achieve more complex, multiple container functionality as shown here. This complex usage requires the full subcomponent structure.
|
|
1
|
+
The Draggable kit can also be used to achieve more complex, multiple container functionality as shown here. This complex usage requires the full subcomponent structure.
|
|
@@ -17,7 +17,6 @@ examples:
|
|
|
17
17
|
- draggable_with_list: Draggable with List Kit
|
|
18
18
|
- draggable_with_selectable_list: Draggable with SelectableList Kit
|
|
19
19
|
- draggable_with_cards: Draggable with Cards
|
|
20
|
-
- draggable_independent_containers: Independent Draggable Containers
|
|
21
20
|
- draggable_with_table: Draggable with Table
|
|
22
21
|
- draggable_drop_zones: Draggable Drop Zones
|
|
23
22
|
- draggable_drop_zones_colors: Draggable Drop Zones Colors
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
popoverButton.onclick = () => {
|
|
29
29
|
buttonClicked = !buttonClicked
|
|
30
30
|
if (buttonClicked) {
|
|
31
|
-
arrowDiv.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 25" fill="none" class="pb_custom_icon svg-inline--fa pb_icon_kit svg_fw" id="" data="{}" aria="{}" tabindex=""><path d="M14.2031 5.70312C14.625 5.28125 15.3281 5.28125 15.75 5.70312L24.7969 14.7031C25.2188 15.1719 25.2188 15.875 24.7969 16.2969C24.3281 16.7656 23.625 16.7656 23.2031 16.2969L15 8.09375L6.79688 16.2969C6.32812 16.7656 5.625 16.7656 5.20312 16.2969C4.73438 15.875 4.73438 15.1719 5.20312 14.75L14.2031 5.70312Z" fill="currentColor"/></svg>'
|
|
31
|
+
arrowDiv.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="auto" height="auto" viewBox="0 0 31 25" fill="none" class="pb_custom_icon svg-inline--fa pb_icon_kit svg_fw" id="" data="{}" aria="{}" tabindex=""><path d="M14.2031 5.70312C14.625 5.28125 15.3281 5.28125 15.75 5.70312L24.7969 14.7031C25.2188 15.1719 25.2188 15.875 24.7969 16.2969C24.3281 16.7656 23.625 16.7656 23.2031 16.2969L15 8.09375L6.79688 16.2969C6.32812 16.7656 5.625 16.7656 5.20312 16.2969C4.73438 15.875 4.73438 15.1719 5.20312 14.75L14.2031 5.70312Z" fill="currentColor"/></svg>'
|
|
32
32
|
} else {
|
|
33
|
-
arrowDiv.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 25" fill="none" class="pb_custom_icon svg-inline--fa pb_icon_kit svg_fw" id="" data="{}" aria="{}" tabindex=""><path d="M14.2031 19.2969L5.20312 10.2969C4.73438 9.875 4.73438 9.17188 5.20312 8.70312C5.625 8.28125 6.32812 8.28125 6.79688 8.70312L15 16.9531L23.2031 8.75C23.625 8.28125 24.3281 8.28125 24.7969 8.75C25.2188 9.17188 25.2188 9.875 24.7969 10.2969L15.75 19.2969C15.3281 19.7656 14.625 19.7656 14.2031 19.2969Z" fill="currentColor"/></svg>'
|
|
33
|
+
arrowDiv.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="auto" height="auto" viewBox="0 0 31 25" fill="none" class="pb_custom_icon svg-inline--fa pb_icon_kit svg_fw" id="" data="{}" aria="{}" tabindex=""><path d="M14.2031 19.2969L5.20312 10.2969C4.73438 9.875 4.73438 9.17188 5.20312 8.70312C5.625 8.28125 6.32812 8.28125 6.79688 8.70312L15 16.9531L23.2031 8.75C23.625 8.28125 24.3281 8.28125 24.7969 8.75C25.2188 9.17188 25.2188 9.875 24.7969 10.2969L15.75 19.2969C15.3281 19.7656 14.625 19.7656 14.2031 19.2969Z" fill="currentColor"/></svg>'
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
</script>
|
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: 16.9.0.pre.alpha.
|
|
4
|
+
version: 16.9.0.pre.alpha.play300717269
|
|
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: 2026-06-
|
|
12
|
+
date: 2026-06-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: playbook_ui
|
|
@@ -908,8 +908,6 @@ files:
|
|
|
908
908
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_event_listeners.jsx
|
|
909
909
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_event_listeners_rails.md
|
|
910
910
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_event_listeners_react.md
|
|
911
|
-
- app/pb_kits/playbook/pb_draggable/docs/_draggable_independent_containers.html.erb
|
|
912
|
-
- app/pb_kits/playbook/pb_draggable/docs/_draggable_independent_containers_rails.md
|
|
913
911
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.html.erb
|
|
914
912
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx
|
|
915
913
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.jsx
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<% lists = [
|
|
2
|
-
{
|
|
3
|
-
title: "Morning Crew",
|
|
4
|
-
items: [
|
|
5
|
-
{ id: "m1", name: "Alice Chen" },
|
|
6
|
-
{ id: "m2", name: "Ben Ortiz" },
|
|
7
|
-
{ id: "m3", name: "Cara Kim" },
|
|
8
|
-
],
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
title: "Afternoon Crew",
|
|
12
|
-
items: [
|
|
13
|
-
{ id: "a1", name: "Diana Patel" },
|
|
14
|
-
{ id: "a2", name: "Evan Brooks" },
|
|
15
|
-
{ id: "a3", name: "Fiona Lee" },
|
|
16
|
-
],
|
|
17
|
-
},
|
|
18
|
-
] %>
|
|
19
|
-
|
|
20
|
-
<%= pb_rails("flex", props: { gap: "md", justify_content: "center", wrap: true }) do %>
|
|
21
|
-
<% lists.each do |list| %>
|
|
22
|
-
<%= pb_rails("flex/flex_item", props: { fixed_size: "220px" }) do %>
|
|
23
|
-
<%= pb_rails("caption", props: { text: list[:title], text_align: "center", margin_bottom: "xs" }) %>
|
|
24
|
-
<%= pb_rails("draggable", props: { initial_items: list[:items] }) do %>
|
|
25
|
-
<%= pb_rails("draggable/draggable_container", props: { padding: "sm" }) do %>
|
|
26
|
-
<% list[:items].each do |item| %>
|
|
27
|
-
<%= pb_rails("draggable/draggable_item", props: { drag_id: item[:id], margin_bottom: "xs" }) do %>
|
|
28
|
-
<%= pb_rails("body", props: { text: item[:name] }) %>
|
|
29
|
-
<% end %>
|
|
30
|
-
<% end %>
|
|
31
|
-
<% end %>
|
|
32
|
-
<% end %>
|
|
33
|
-
<% end %>
|
|
34
|
-
<% end %>
|
|
35
|
-
<% end %>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Use a **separate** `draggable` kit for each list when items should reorder within their own column only.
|
|
2
|
-
|
|
3
|
-
Each instance creates its own drag boundary. Items stay inside that list on desktop and touch — they cannot be dropped into a neighboring list.
|
|
4
|
-
|
|
5
|
-
This is different from [Dragging Across Multiple Containers](#draggable_multiple_containers), which uses **one** `draggable` wrapping multiple `draggable/draggable_container` kits so items can move between columns.
|
|
6
|
-
|
|
7
|
-
On touch devices, drag from the grip handle. Swiping outside the handle scrolls as usual.
|
|
8
|
-
|