playbook_ui_docs 13.26.0.pre.alpha.jasoncypretpatch12820 → 13.26.0
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_advanced_table/docs/_advanced_table_default.md +0 -5
- data/app/pb_kits/playbook/pb_advanced_table/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +2 -2
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +0 -20
- data/app/pb_kits/playbook/pb_avatar/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_avatar/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.md +3 -3
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_and_custom_display.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +2 -9
- data/app/pb_kits/playbook/pb_loading_inline/docs/{_loading_inline_default.html.erb → _loading_inline_light.html.erb} +2 -2
- data/app/pb_kits/playbook/pb_loading_inline/docs/{_loading_inline_default.jsx → _loading_inline_light.jsx} +2 -2
- data/app/pb_kits/playbook/pb_loading_inline/docs/example.yml +2 -4
- data/app/pb_kits/playbook/pb_loading_inline/docs/index.js +1 -2
- data/dist/menu.yml +1 -1
- data/dist/playbook-doc.js +9 -9
- metadata +8 -23
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.html.erb +0 -33
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.md +0 -24
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.html.erb +0 -71
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.jsx +0 -77
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.html.erb +0 -71
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.jsx +0 -77
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.html.erb +0 -10
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.html.erb +0 -17
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.html.erb +0 -60
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.html.erb +0 -45
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb +0 -17
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.html.erb +0 -47
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_label.html.erb +0 -10
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_custom.html.erb +0 -13
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_custom.jsx +0 -26
- 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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 506f0f2408c89875b290043f9fb12e8cb0bfa8937bb37ba9a2f955b2367a4054
|
|
4
|
+
data.tar.gz: ae596ee753bd1153ea66228e5ed56ad2e2f8552c162a287881b2fba11b3587e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
@@ -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`
|
|
4
|
-
`Dropdown.Container
|
|
5
|
-
`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.
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
examples:
|
|
2
|
-
|
|
3
|
-
|
|
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
|
|
@@ -2,7 +2,7 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import LoadingInline from '../_loading_inline'
|
|
4
4
|
|
|
5
|
-
const
|
|
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
|
|
23
|
+
export default LoadingInlineLight
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { default as
|
|
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: *
|
|
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"
|