playbook_ui_docs 14.13.0.pre.alpha.PBNTR5596084 → 14.13.0.pre.alpha.PLAY1873rails86087

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f2dc88bb8f11ae7f9370af85f184f17295b0b2d8d17015c39ab44162a87a8e2
4
- data.tar.gz: a326a5f76a8ddc039e77bcf23d4642cca55e28a02c0914385e4fd57c1aadb7b4
3
+ metadata.gz: bbb6a9c3f7715ee9d85ab9d242ae07d3e1cfee1a4818ded7d44d998b31604353
4
+ data.tar.gz: b8267301849e58d67efe8c5a0d228f0dade301cac7ccddd372cb6849abec0a85
5
5
  SHA512:
6
- metadata.gz: 27d2eb92ffb11f49c34c6f8abcbb0c558a6fe7e9c5a597a128561040144144d0095c4bd35e4c68e834c872e03ebb2d5c9e74515b5cb31f92b23394e390cf247b
7
- data.tar.gz: 64f2287fddb0ca64926e41e38bc7e2de436bfb4425bb6e66e4335b0b56453892f3b85d87a785fe364f5db1b92bbb7760f28d27102cd7b0be68269949cb79903f
6
+ metadata.gz: baccc7e1ee1c0e3d5da847248bfabb37d865ec682c58a0bbcf3234020ed0bf47715314c97dc17c365c6090f37873185e94775216c6f978d1ada42455a72f0a6e
7
+ data.tar.gz: c495517ae54ea3f254a030009b525b1c99fd33eb6bff3a6edaefc83db71e7db3b6490b015d565b3508812322f19390b64e400dfa3ad9fdc33606f08e9414de74
@@ -43,9 +43,9 @@
43
43
  <% end %>
44
44
  <% end %>
45
45
 
46
- <%= pb_rails("table/table_body", props: {draggable_container: true}) do %>
46
+ <%= pb_rails("draggable/draggable_container", props: {tag:"tbody"}) do %>
47
47
  <% initial_items.each do |item| %>
48
- <%= pb_rails("table/table_row", props:{drag_id: item[:id], draggable_item: true}) do %>
48
+ <%= pb_rails("draggable/draggable_item", props:{drag_id: item[:id], tag:"tr"}) do %>
49
49
  <%= pb_rails("table/table_cell", props: { text: item[:id]}) %>
50
50
  <%= pb_rails("table/table_cell") do %>
51
51
  <%= pb_rails("flex", props:{align:"center"}) do %>
@@ -1,4 +1 @@
1
- The draggable kit can also be used in conjunction with the table kit to create draggable table rows. To do this:
2
-
3
- - use the `draggable_container` prop on the table/table_body to designate it as the Draggable Container
4
- - use the `draggable_item` prop on the table/table_row to designate it as the Draggable Item. Make sure to also pass id to the `drag_id` prop here.
1
+ The draggable kit can also be used in conjunction with the table kit to create draggable table rows. To do this, make use of the `tag` prop on the draggable_container to set it to 'tbody' and the same prop on the draggable_item to set that to 'tr'. This will create the functionality seen here.
@@ -4,9 +4,7 @@ examples:
4
4
  - draggable_with_list: Draggable with List Kit
5
5
  - draggable_with_selectable_list: Draggable with SelectableList Kit
6
6
  - draggable_with_cards: Draggable with Cards
7
- - draggable_with_table_react: Draggable with Table
8
7
  - draggable_multiple_containers: Dragging Across Multiple Containers
9
-
10
8
  rails:
11
9
  - draggable_default_rails: Default
12
10
  - draggable_with_list_rails: Draggable with List Kit
@@ -2,5 +2,4 @@ export { default as DraggableDefault } from './_draggable_default.jsx'
2
2
  export { default as DraggableWithCards } from './_draggable_with_cards.jsx'
3
3
  export { default as DraggableWithList } from './_draggable_with_list.jsx'
4
4
  export { default as DraggableWithSelectableList } from './_draggable_with_selectable_list.jsx'
5
- export { default as DraggableMultipleContainers } from './_draggable_multiple_containers.jsx'
6
- export { default as DraggableWithTableReact } from './_draggable_with_table_react.jsx'
5
+ export { default as DraggableMultipleContainers } from './_draggable_multiple_containers.jsx'