playbook_ui_docs 14.17.0.pre.alpha.play1964tablekitheadertextstylefix7164 → 14.17.0.pre.alpha.playcdntest7233

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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_background/docs/_background_overlay.jsx +35 -0
  3. data/app/pb_kits/playbook/pb_background/docs/_background_overlay.md +1 -0
  4. data/app/pb_kits/playbook/pb_background/docs/example.yml +1 -0
  5. data/app/pb_kits/playbook/pb_background/docs/index.js +1 -0
  6. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones.jsx +102 -105
  7. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones.md +3 -3
  8. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_colors.jsx +50 -48
  9. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_colors.md +1 -1
  10. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_line.jsx +110 -0
  11. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_line.md +5 -0
  12. data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_table_react.jsx → _draggable_with_table.jsx} +1 -1
  13. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table_react.md +3 -1
  14. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +9 -6
  15. data/app/pb_kits/playbook/pb_draggable/docs/index.js +4 -1
  16. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.html.erb +34 -0
  17. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_rails.md +1 -0
  18. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating.html.erb +36 -0
  19. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_rails.md +1 -0
  20. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_react.md +1 -1
  21. data/app/pb_kits/playbook/pb_table/docs/example.yml +2 -0
  22. data/dist/playbook-doc.js +1 -1
  23. metadata +22 -14
  24. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_default_rails.html.erb → _draggable_default.html.erb} +0 -0
  25. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_default.md → _draggable_default_react.md} +0 -0
  26. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_multiple_containers_rails.html.erb → _draggable_multiple_containers.html.erb} +0 -0
  27. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_multiple_containers.md → _draggable_multiple_containers_react.md} +0 -0
  28. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_cards_rails.html.erb → _draggable_with_cards.html.erb} +0 -0
  29. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_cards.md → _draggable_with_cards_react.md} +0 -0
  30. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_list_rails.html.erb → _draggable_with_list.html.erb} +0 -0
  31. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_list.md → _draggable_with_list_react.md} +0 -0
  32. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_selectable_list_rails.html.erb → _draggable_with_selectable_list.html.erb} +0 -0
  33. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_selectable_list.md → _draggable_with_selectable_list_react.md} +0 -0
  34. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_table.md → _draggable_with_table_rails.md} +0 -0
@@ -0,0 +1,36 @@
1
+ <%= pb_rails("card", props: { background: "light" }) do %>
2
+ <%= pb_rails("table", props: { size: "sm", header_style: "floating" }) do %>
3
+ <%= pb_rails("table/table_head") do %>
4
+ <%= pb_rails("background", props: { background_color: "light", tag: "tr" }) do %>
5
+ <%= pb_rails("table/table_header", props: { text: "Column 1"}) %>
6
+ <%= pb_rails("table/table_header", props: { text: "Column 2"}) %>
7
+ <%= pb_rails("table/table_header", props: { text: "Column 3"}) %>
8
+ <%= pb_rails("table/table_header", props: { text: "Column 4"}) %>
9
+ <%= pb_rails("table/table_header", props: { text: "Column 5"}) %>
10
+ <% end %>
11
+ <% end %>
12
+ <%= pb_rails("table/table_body") do %>
13
+ <%= pb_rails("table/table_row") do %>
14
+ <%= pb_rails("table/table_cell", props: { text: "Value 1"}) %>
15
+ <%= pb_rails("table/table_cell", props: { text: "Value 2"}) %>
16
+ <%= pb_rails("table/table_cell", props: { text: "Value 3"}) %>
17
+ <%= pb_rails("table/table_cell", props: { text: "Value 4"}) %>
18
+ <%= pb_rails("table/table_cell", props: { text: "Value 5"}) %>
19
+ <% end %>
20
+ <%= pb_rails("table/table_row") do %>
21
+ <%= pb_rails("table/table_cell", props: { text: "Value 1"}) %>
22
+ <%= pb_rails("table/table_cell", props: { text: "Value 2"}) %>
23
+ <%= pb_rails("table/table_cell", props: { text: "Value 3"}) %>
24
+ <%= pb_rails("table/table_cell", props: { text: "Value 4"}) %>
25
+ <%= pb_rails("table/table_cell", props: { text: "Value 5"}) %>
26
+ <% end %>
27
+ <%= pb_rails("table/table_row") do %>
28
+ <%= pb_rails("table/table_cell", props: { text: "Value 1"}) %>
29
+ <%= pb_rails("table/table_cell", props: { text: "Value 2"}) %>
30
+ <%= pb_rails("table/table_cell", props: { text: "Value 3"}) %>
31
+ <%= pb_rails("table/table_cell", props: { text: "Value 4"}) %>
32
+ <%= pb_rails("table/table_cell", props: { text: "Value 5"}) %>
33
+ <% end %>
34
+ <% end %>
35
+ <% end %>
36
+ <% end %>
@@ -0,0 +1 @@
1
+ Further customize your header by using the [table with background kit](https://playbook.powerapp.cloud/kits/table/rails#table-with-background-kit) logic to give your table header a custom background color. Use the `header_style: "floating"` prop to visually nest the borderless table within a card or collapsible with a matching background color (the `background_color` passed to Background kit should match the `background` or `background_color` for the element in which it is nested).
@@ -1 +1 @@
1
- Further customize your header by using the [table with background kit](https://playbook.powerapp.cloud/kits/table/react#table-with-background-kit) logic to give your table header a custom background color. Use the `headerStyle="floating"` prop to visually nest the borderless table within a card or collapsible with a matching background color (the `backgroundColor` passed to Background kit should match the `backgroundColor` for the element in which it is nested).
1
+ Further customize your header by using the [table with background kit](https://playbook.powerapp.cloud/kits/table/react#table-with-background-kit) logic to give your table header a custom background color. Use the `headerStyle="floating"` prop to visually nest the borderless table within a card or collapsible with a matching background color (the `backgroundColor` passed to Background kit should match the `background` or `backgroundColor` for the element in which it is nested).
@@ -37,6 +37,8 @@ examples:
37
37
  - table_with_collapsible_with_nested_table_rails: Table with Collapsible with Nested Table
38
38
  - table_with_clickable_rows: Table with Clickable Rows
39
39
  - table_with_selectable_rows: Table with Selectable Rows
40
+ - table_with_header_style_borderless: Header Style Borderless
41
+ - table_with_header_style_floating: Header Style Floating
40
42
 
41
43
  react:
42
44
  - table_sm: Small