playbook_ui_docs 13.26.0.pre.alpha.jasoncypretpatch12820 → 13.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.md +0 -5
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_description.md +1 -0
  4. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +2 -2
  5. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +0 -20
  6. data/app/pb_kits/playbook/pb_avatar/docs/example.yml +0 -4
  7. data/app/pb_kits/playbook/pb_avatar/docs/index.js +0 -2
  8. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.md +3 -3
  9. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete.jsx +1 -1
  10. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_and_custom_display.jsx +1 -1
  11. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx +1 -1
  12. data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +2 -9
  13. data/app/pb_kits/playbook/pb_loading_inline/docs/{_loading_inline_default.html.erb → _loading_inline_light.html.erb} +2 -2
  14. data/app/pb_kits/playbook/pb_loading_inline/docs/{_loading_inline_default.jsx → _loading_inline_light.jsx} +2 -2
  15. data/app/pb_kits/playbook/pb_loading_inline/docs/example.yml +2 -4
  16. data/app/pb_kits/playbook/pb_loading_inline/docs/index.js +1 -2
  17. data/dist/menu.yml +1 -1
  18. data/dist/playbook-doc.js +9 -9
  19. metadata +8 -23
  20. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.html.erb +0 -33
  21. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.md +0 -24
  22. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.html.erb +0 -71
  23. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.jsx +0 -77
  24. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.html.erb +0 -71
  25. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.jsx +0 -77
  26. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.html.erb +0 -10
  27. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.html.erb +0 -17
  28. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.html.erb +0 -60
  29. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.html.erb +0 -45
  30. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb +0 -17
  31. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.html.erb +0 -47
  32. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_label.html.erb +0 -10
  33. data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_custom.html.erb +0 -13
  34. data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_custom.jsx +0 -26
  35. data/dist/app/components/playbook/pb_docs/advanced_table_mock_data.json +0 -278
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d869ed43199888d1505e7bd05794fcf44de925d14c51cc6dcd44202868a43927
4
- data.tar.gz: 5afa2429edf1fc92bb86ea8f5be443cb44e5037064c3d1d594fd9100ce508e43
3
+ metadata.gz: 506f0f2408c89875b290043f9fb12e8cb0bfa8937bb37ba9a2f955b2367a4054
4
+ data.tar.gz: ae596ee753bd1153ea66228e5ed56ad2e2f8552c162a287881b2fba11b3587e4
5
5
  SHA512:
6
- metadata.gz: 0a90a7c875d87e3c0eb8c4aa44b5513f5734c6d645f47ea52f18a2b6f8ecd01d310e0e4a4961e6093ae69886af466821fe68633bd36295a4e8afd00718fb8abc
7
- data.tar.gz: c348e70ec80f9d4a904daeefdd73456df7cab49e9705ee875e0cffd5a06060433c3d2c4da545734311bd2e6eb064d04c228ed41c4011da67263701c32d3c71fb
6
+ metadata.gz: ee88bbfb7b88283f206212ec714d0aecf139d9b7adff62899f9eb71327084de9748718e5b9b3867f114085c084559dbb3146e726fd9ae32cc831e92ce2130047
7
+ data.tar.gz: 7b4dd023282b0a4e5ada4325582f6d8acf824d02832c857b9c24b12e5d155e452c28b1e3d2b1a7f8456b672be2a8cadc0e166ab87a95358073206507b2ded18d
@@ -1,8 +1,3 @@
1
- **NOTE:** The Advanced Table kit uses the [Tanstack Table v8](https://tanstack.com/table/v8/docs/introduction) under the hood to render advanced tables that allow for complex, nested data structures with expansion and sort options.
2
- <br />
3
- <br />
4
- <br />
5
-
6
1
  The AdvancedTable kit accepts tree data and automatically renders expansion controls for nested subrows, to any depth, based on the data it is given. In it's simplest form, __the kit has two required props__:
7
2
 
8
3
  ### tableData
@@ -0,0 +1 @@
1
+ The AdvancedTable kit uses the [Tanstack Table v8](https://tanstack.com/table/v8/docs/introduction) under the hood to render advanced tables that allow for complex, nested data structures with expansion and sort options.
@@ -1,6 +1,6 @@
1
1
  examples:
2
- rails:
3
- - advanced_table_beta: Default (Required Props)
2
+ # rails:
3
+ # - advanced_table_default: Default (Required Props)
4
4
  react:
5
5
  - advanced_table_default: Default (Required Props)
6
6
  - advanced_table_loading: Loading State
@@ -57,26 +57,6 @@ const AvatarDefault = (props) => {
57
57
  status="offline"
58
58
  {...props}
59
59
  />
60
- <br/>
61
- <Avatar
62
- imageAlt="Terry Johnson Standing"
63
- imageUrl="https://randomuser.me/api/portraits/men/44.jpg"
64
- name="Terry Johnson"
65
- overlay={{component:"badge", text: "6", variant: "notification", placement:"top-right"}}
66
- size="lg"
67
- status="offline"
68
- {...props}
69
- />
70
- <br/>
71
- <Avatar
72
- imageAlt="Terry Johnson Standing"
73
- imageUrl="https://randomuser.me/api/portraits/men/44.jpg"
74
- name="Terry Johnson"
75
- overlay={{component:"icon", icon:"plus", variant:"royal", placement:"bottom-left"}}
76
- size="xl"
77
- status="offline"
78
- {...props}
79
- />
80
60
  </div>
81
61
  )
82
62
  }
@@ -4,15 +4,11 @@ examples:
4
4
  - avatar_monogram: Monogram
5
5
  - avatar_no_image: "Bad Image Link"
6
6
  - avatar_status: Status
7
- - avatar_circle_icon_component_overlay: Circle Icon Component Overlay
8
- - avatar_badge_component_overlay: Badge Component Overlay
9
7
  react:
10
8
  - avatar_default: Default
11
9
  - avatar_monogram: Monogram
12
10
  - avatar_no_image: "Bad Image Link"
13
11
  - avatar_status: Status
14
- - avatar_circle_icon_component_overlay: Circle Icon Component Overlay
15
- - avatar_badge_component_overlay: Badge Component Overlay
16
12
  swift:
17
13
  - avatar_default_swift: Default
18
14
  - avatar_monogram_swift: Monogram
@@ -2,5 +2,3 @@ export { default as AvatarDefault } from './_avatar_default.jsx'
2
2
  export { default as AvatarMonogram } from './_avatar_monogram.jsx'
3
3
  export { default as AvatarStatus } from './_avatar_status.jsx'
4
4
  export { default as AvatarNoImage } from './_avatar_no_image.jsx'
5
- export { default as AvatarCircleIconComponentOverlay } from './_avatar_circle_icon_component_overlay.jsx'
6
- export { default as AvatarBadgeComponentOverlay } from './_avatar_badge_component_overlay.jsx'
@@ -1,7 +1,7 @@
1
1
  The dropdown comes with the following subcomponents that can be used to achieve various levels of customization:
2
2
 
3
- `Dropdown. Trigger` / `dropdown/dropdown_trigger`
4
- `Dropdown.Container`/ `dropdown/dropdown_container`
5
- `Dropdown.Option` / `dropdown/dropdown_option`
3
+ `Dropdown. Trigger`
4
+ `Dropdown.Container`
5
+ `Dropdown.Option`
6
6
 
7
7
  See the code snippet below for a visual on how to use the kit with subcomponents. Each subcomponent allows for GlobalProps in addition to any subcomponent specfic props.
@@ -16,7 +16,7 @@ const DropdownWithAutocomplete = (props) => {
16
16
  label: "Ramon Ruiz",
17
17
  value: "Ramon Ruiz",
18
18
  territory: "PHL",
19
- title: "Senior UX Designer",
19
+ title: "Senior UX Desinger",
20
20
  id: "ramon-ruiz",
21
21
  status: "Away"
22
22
  },
@@ -17,7 +17,7 @@ const DropdownWithAutocompleteAndCustomDisplay = (props) => {
17
17
  label: "Ramon Ruiz",
18
18
  value: "Ramon Ruiz",
19
19
  territory: "PHL",
20
- title: "Senior UX Designer",
20
+ title: "Senior UX Desinger",
21
21
  id: "ramon-ruiz",
22
22
  status: "Away"
23
23
  },
@@ -17,7 +17,7 @@ const DropdownWithCustomDisplay = (props) => {
17
17
  label: "Ramon Ruiz",
18
18
  value: "Ramon Ruiz",
19
19
  territory: "PHL",
20
- title: "Senior UX Designer",
20
+ title: "Senior UX Desinger",
21
21
  id: "ramon-ruiz",
22
22
  status: "Away"
23
23
  },
@@ -1,13 +1,6 @@
1
1
  examples:
2
- rails:
3
- - dropdown_default: Default
4
- - dropdown_subcomponent_structure: Subcomponent Structure
5
- - dropdown_with_label: With Label
6
- - dropdown_with_custom_options: Custom Options
7
- - dropdown_with_custom_display: Custom Display
8
- - dropdown_with_custom_trigger: Custom Trigger
9
- - dropdown_with_custom_padding: Custom Padding for Dropdown Options
10
-
2
+
3
+
11
4
  react:
12
5
  - dropdown_default: Default
13
6
  - dropdown_subcomponent_structure: Subcomponent Structure
@@ -1,9 +1,9 @@
1
1
  <%= pb_rails("loading_inline") %>
2
2
 
3
3
  <%= pb_rails("loading_inline", props: {
4
- align: "center"
4
+ align: "center"
5
5
  }) %>
6
6
 
7
7
  <%= pb_rails("loading_inline", props: {
8
- align: "right"
8
+ align: "right"
9
9
  }) %>
@@ -2,7 +2,7 @@ import React from 'react'
2
2
 
3
3
  import LoadingInline from '../_loading_inline'
4
4
 
5
- const LoadingInlineDefault = (props) => {
5
+ const LoadingInlineLight = (props) => {
6
6
  return (
7
7
  <div>
8
8
  <LoadingInline
@@ -20,4 +20,4 @@ const LoadingInlineDefault = (props) => {
20
20
  )
21
21
  }
22
22
 
23
- export default LoadingInlineDefault
23
+ export default LoadingInlineLight
@@ -1,11 +1,9 @@
1
1
  examples:
2
2
 
3
3
  rails:
4
- - loading_inline_default: Default
5
- - loading_inline_custom: Custom Text
4
+ - loading_inline_light: Light
6
5
 
7
6
 
8
7
 
9
8
  react:
10
- - loading_inline_default: Default
11
- - loading_inline_custom: Custom Text
9
+ - loading_inline_light: Default
@@ -1,2 +1 @@
1
- export { default as LoadingInlineDefault } from './_loading_inline_default.jsx'
2
- export { default as LoadingInlineCustom } from './_loading_inline_custom.jsx'
1
+ export { default as LoadingInlineLight } from './_loading_inline_light.jsx'
data/dist/menu.yml CHANGED
@@ -53,7 +53,7 @@ kits:
53
53
  description: Tables display a collection of structured data and typically have the ability to sort, filter, and paginate data.
54
54
  status: "stable"
55
55
  - name: "advanced_table"
56
- platforms: *web
56
+ platforms: *react_only
57
57
  description: The Advanced Table can be used to display complex, nested data in a way that allows for expansion and/or sorting.
58
58
  status: "stable"
59
59
  - name: "list"