playbook_ui_docs 16.5.0 → 16.6.0.pre.alpha.RTEPOC15805
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/_playground.json +8970 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.overrides.json +403 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_grouped_simple.json +41 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_grouped_triple.json +56 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_standard.json +31 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_standard_sort.json +37 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_styling.json +44 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_with_ids.json +38 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_inline_loading.json +199 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_playground.json +136 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_playground.overrides.json +94 -0
- data/app/pb_kits/playbook/pb_background/docs/_playground.json +107 -0
- data/app/pb_kits/playbook/pb_background/docs/_playground.overrides.json +72 -0
- data/app/pb_kits/playbook/pb_badge/docs/_playground.json +112 -0
- data/app/pb_kits/playbook/pb_badge/docs/_playground.overrides.json +63 -0
- data/app/pb_kits/playbook/pb_body/docs/_playground.json +78 -0
- data/app/pb_kits/playbook/pb_body/docs/_playground.overrides.json +47 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/_playground.json +54 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/_playground.overrides.json +44 -0
- data/app/pb_kits/playbook/pb_button/docs/{_button_loading.html.erb → _button_loading_rails.html.erb} +5 -5
- data/app/pb_kits/playbook/pb_button/docs/_button_loading_rails.md +3 -0
- data/app/pb_kits/playbook/pb_button/docs/_playground.json +164 -0
- data/app/pb_kits/playbook/pb_button/docs/_playground.overrides.json +45 -0
- data/app/pb_kits/playbook/pb_button/docs/example.yml +1 -1
- data/app/pb_kits/playbook/pb_button_toolbar/docs/_playground.json +81 -0
- data/app/pb_kits/playbook/pb_button_toolbar/docs/_playground.overrides.json +54 -0
- data/app/pb_kits/playbook/pb_caption/docs/_playground.json +64 -0
- data/app/pb_kits/playbook/pb_caption/docs/_playground.overrides.json +39 -0
- data/app/pb_kits/playbook/pb_card/docs/_playground.json +157 -0
- data/app/pb_kits/playbook/pb_card/docs/_playground.overrides.json +119 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_playground.json +80 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_playground.overrides.json +58 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_playground.json +113 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_playground.overrides.json +62 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/_playground.json +91 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/_playground.overrides.json +65 -0
- data/app/pb_kits/playbook/pb_contact/docs/_playground.json +69 -0
- data/app/pb_kits/playbook/pb_contact/docs/_playground.overrides.json +60 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/_playground.json +120 -0
- data/app/pb_kits/playbook/pb_copy_button/docs/_playground.overrides.json +96 -0
- data/app/pb_kits/playbook/pb_currency/docs/_playground.json +117 -0
- data/app/pb_kits/playbook/pb_currency/docs/_playground.overrides.json +98 -0
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_playground.json +87 -0
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_playground.overrides.json +19 -0
- data/app/pb_kits/playbook/pb_date/docs/_playground.json +73 -0
- data/app/pb_kits/playbook/pb_date/docs/_playground.overrides.json +54 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dialog_submission.jsx +62 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dialog_submission.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_playground.json +178 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_playground.overrides.json +156 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.json +31 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.json +23 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.json +68 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.overrides.json +51 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_playground.json +76 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_playground.overrides.json +58 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.json +57 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.overrides.json +46 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.json +45 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.overrides.json +36 -0
- data/app/pb_kits/playbook/pb_detail/docs/_playground.json +75 -0
- data/app/pb_kits/playbook/pb_detail/docs/_playground.overrides.json +44 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_playground.json +121 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_playground.overrides.json +95 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.json +25 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_playground.json +54 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_playground.overrides.json +34 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_playground.json +236 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_playground.overrides.json +137 -0
- data/app/pb_kits/playbook/pb_empty_state/docs/_playground.json +34 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/_playground.json +34 -0
- data/app/pb_kits/playbook/pb_filter/docs/_playground.json +13 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_playground.json +37 -0
- data/app/pb_kits/playbook/pb_flex/docs/_playground.json +133 -0
- data/app/pb_kits/playbook/pb_flex/docs/_playground.overrides.json +105 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +5 -5
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validation_msg.html.erb +90 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validation_msg.md +13 -0
- data/app/pb_kits/playbook/pb_form/docs/_playground.json +13 -0
- data/app/pb_kits/playbook/pb_form/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_playground.json +23 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_playground.json +36 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/_playground.json +30 -0
- data/app/pb_kits/playbook/pb_highlight/docs/_playground.json +22 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_playground.json +38 -0
- data/app/pb_kits/playbook/pb_icon/docs/_playground.json +115 -0
- data/app/pb_kits/playbook/pb_icon/docs/_playground.overrides.json +60 -0
- data/app/pb_kits/playbook/pb_icon_button/docs/_playground.json +33 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_playground.json +27 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_playground.json +89 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_playground.overrides.json +29 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_playground.json +60 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_playground.overrides.json +19 -0
- data/app/pb_kits/playbook/pb_image/docs/_playground.json +101 -0
- data/app/pb_kits/playbook/pb_image/docs/_playground.overrides.json +89 -0
- data/app/pb_kits/playbook/pb_label_pill/docs/_playground.json +25 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_playground.json +126 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_playground.overrides.json +52 -0
- data/app/pb_kits/playbook/pb_layout/docs/_playground.json +40 -0
- data/app/pb_kits/playbook/pb_legend/docs/_playground.json +26 -0
- data/app/pb_kits/playbook/pb_link/docs/_playground.json +130 -0
- data/app/pb_kits/playbook/pb_link/docs/_playground.overrides.json +81 -0
- data/app/pb_kits/playbook/pb_list/docs/_playground.json +45 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/_playground.json +66 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/_playground.overrides.json +25 -0
- data/app/pb_kits/playbook/pb_map/docs/_map_default.md +2 -2
- data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.jsx +6 -0
- data/app/pb_kits/playbook/pb_map/docs/_playground.json +25 -0
- data/app/pb_kits/playbook/pb_message/docs/_playground.json +39 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_playground.json +162 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_playground.overrides.json +126 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_playground.json +182 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_playground.overrides.json +167 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_playground.json +145 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_playground.overrides.json +131 -0
- data/app/pb_kits/playbook/pb_nav/docs/_playground.json +65 -0
- data/app/pb_kits/playbook/pb_nav/docs/_playground.overrides.json +45 -0
- data/app/pb_kits/playbook/pb_online_status/docs/_playground.json +71 -0
- data/app/pb_kits/playbook/pb_online_status/docs/_playground.overrides.json +40 -0
- data/app/pb_kits/playbook/pb_overlay/docs/_playground.json +38 -0
- data/app/pb_kits/playbook/pb_pagination/docs/_playground.json +69 -0
- data/app/pb_kits/playbook/pb_pagination/docs/_playground.overrides.json +61 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_playground.json +34 -0
- data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_playground.json +21 -0
- data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_playground.json +21 -0
- data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_playground.json +21 -0
- data/app/pb_kits/playbook/pb_pb_line_graph/docs/_playground.json +21 -0
- data/app/pb_kits/playbook/pb_person/docs/_playground.json +42 -0
- data/app/pb_kits/playbook/pb_person/docs/_playground.overrides.json +28 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_playground.json +98 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_playground.overrides.json +92 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_playground.json +52 -0
- data/app/pb_kits/playbook/pb_pill/docs/_playground.json +106 -0
- data/app/pb_kits/playbook/pb_pill/docs/_playground.overrides.json +56 -0
- data/app/pb_kits/playbook/pb_popover/docs/_playground.json +104 -0
- data/app/pb_kits/playbook/pb_popover/docs/_playground.overrides.json +67 -0
- data/app/pb_kits/playbook/pb_progress_pills/docs/_playground.json +90 -0
- data/app/pb_kits/playbook/pb_progress_pills/docs/_playground.overrides.json +51 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_playground.json +87 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_playground.overrides.json +28 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_playground.json +31 -0
- data/app/pb_kits/playbook/pb_radio/docs/_playground.json +83 -0
- data/app/pb_kits/playbook/pb_radio/docs/_playground.overrides.json +59 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_playground.json +41 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_default.md +12 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_simple.html.erb +9 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_simple.md +8 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_playground.json +128 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_playground.overrides.json +109 -0
- data/app/pb_kits/playbook/pb_select/docs/_playground.json +149 -0
- data/app/pb_kits/playbook/pb_select/docs/_playground.overrides.json +80 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_playground.json +145 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_playground.overrides.json +115 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_playground.json +38 -0
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_playground.json +113 -0
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_playground.overrides.json +92 -0
- data/app/pb_kits/playbook/pb_selectable_list/docs/_playground.json +53 -0
- data/app/pb_kits/playbook/pb_selectable_list/docs/_playground.overrides.json +34 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_playground.json +30 -0
- data/app/pb_kits/playbook/pb_source/docs/_playground.json +27 -0
- data/app/pb_kits/playbook/pb_star_rating/docs/_playground.json +128 -0
- data/app/pb_kits/playbook/pb_star_rating/docs/_playground.overrides.json +87 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_playground.json +71 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_playground.overrides.json +29 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_playground.json +56 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_playground.overrides.json +23 -0
- data/app/pb_kits/playbook/pb_table/docs/_playground.json +57 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_playground.json +90 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_playground.overrides.json +62 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_playground.json +89 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_playground.overrides.json +62 -0
- data/app/pb_kits/playbook/pb_time/docs/_playground.json +74 -0
- data/app/pb_kits/playbook/pb_time/docs/_playground.overrides.json +54 -0
- data/app/pb_kits/playbook/pb_time_picker/docs/_playground.json +119 -0
- data/app/pb_kits/playbook/pb_time_picker/docs/_playground.overrides.json +96 -0
- data/app/pb_kits/playbook/pb_time_range_inline/docs/_playground.json +32 -0
- data/app/pb_kits/playbook/pb_time_stacked/docs/_playground.json +54 -0
- data/app/pb_kits/playbook/pb_time_stacked/docs/_playground.overrides.json +43 -0
- data/app/pb_kits/playbook/pb_timeline/docs/_playground.json +27 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_playground.json +104 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_playground.overrides.json +84 -0
- data/app/pb_kits/playbook/pb_title/docs/_playground.json +80 -0
- data/app/pb_kits/playbook/pb_title/docs/_playground.overrides.json +44 -0
- data/app/pb_kits/playbook/pb_title_count/docs/_playground.json +66 -0
- data/app/pb_kits/playbook/pb_title_count/docs/_playground.overrides.json +20 -0
- data/app/pb_kits/playbook/pb_title_detail/docs/_playground.json +60 -0
- data/app/pb_kits/playbook/pb_title_detail/docs/_playground.overrides.json +19 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_playground.json +68 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_playground.overrides.json +53 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_playground.json +91 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_playground.overrides.json +53 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_playground.json +205 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_playground.overrides.json +115 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_createable.html.erb +29 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_createable.md +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_user/docs/_playground.json +110 -0
- data/app/pb_kits/playbook/pb_user/docs/_playground.overrides.json +89 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/_playground.json +61 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/_playground.overrides.json +36 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_playground.json +64 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_playground.overrides.json +51 -0
- metadata +199 -3
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Detail{{props}}>{{children}}</Detail>",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"bold": false,
|
|
6
|
+
"color": "light",
|
|
7
|
+
"tag": "div"
|
|
8
|
+
},
|
|
9
|
+
"children": {
|
|
10
|
+
"editable": true,
|
|
11
|
+
"default": "SKU · 12 units in stock",
|
|
12
|
+
"hideWhenPropSet": [
|
|
13
|
+
"text"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"groups": [
|
|
17
|
+
{
|
|
18
|
+
"name": "Appearance",
|
|
19
|
+
"props": [
|
|
20
|
+
"color",
|
|
21
|
+
"bold",
|
|
22
|
+
"tag"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "Content",
|
|
27
|
+
"props": [
|
|
28
|
+
"text"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"presets": [
|
|
33
|
+
{
|
|
34
|
+
"name": "Metadata",
|
|
35
|
+
"props": {
|
|
36
|
+
"color": "light",
|
|
37
|
+
"bold": false
|
|
38
|
+
},
|
|
39
|
+
"children": "Updated Apr 9, 2026"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "Emphasis",
|
|
43
|
+
"props": {
|
|
44
|
+
"color": "default",
|
|
45
|
+
"bold": true
|
|
46
|
+
},
|
|
47
|
+
"children": "Order #48291 · Processing"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "Link",
|
|
51
|
+
"props": {
|
|
52
|
+
"color": "link"
|
|
53
|
+
},
|
|
54
|
+
"children": "View documentation"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "Error status",
|
|
58
|
+
"props": {
|
|
59
|
+
"color": "error",
|
|
60
|
+
"bold": true
|
|
61
|
+
},
|
|
62
|
+
"children": "Payment failed — card expired"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "Inline label",
|
|
66
|
+
"props": {
|
|
67
|
+
"tag": "span",
|
|
68
|
+
"color": "lighter"
|
|
69
|
+
},
|
|
70
|
+
"children": "Optional"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"conditionals": {},
|
|
74
|
+
"hints": {}
|
|
75
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"children": {
|
|
3
|
+
"default": "SKU · 12 units in stock"
|
|
4
|
+
},
|
|
5
|
+
"groups": [
|
|
6
|
+
{
|
|
7
|
+
"name": "Appearance",
|
|
8
|
+
"props": ["color", "bold", "tag"]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "Content",
|
|
12
|
+
"props": ["text"]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"presets": [
|
|
16
|
+
{
|
|
17
|
+
"name": "Metadata",
|
|
18
|
+
"props": { "color": "light", "bold": false },
|
|
19
|
+
"children": "Updated Apr 9, 2026"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "Emphasis",
|
|
23
|
+
"props": { "color": "default", "bold": true },
|
|
24
|
+
"children": "Order #48291 · Processing"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "Link",
|
|
28
|
+
"props": { "color": "link" },
|
|
29
|
+
"children": "View documentation"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "Error status",
|
|
33
|
+
"props": { "color": "error", "bold": true },
|
|
34
|
+
"children": "Payment failed — card expired"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "Inline label",
|
|
38
|
+
"props": { "tag": "span", "color": "lighter" },
|
|
39
|
+
"children": "Optional"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"conditionals": {},
|
|
43
|
+
"hints": {}
|
|
44
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Dialog{{props}}>{{children}}</Dialog>",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"closeable": true,
|
|
6
|
+
"fullHeight": false,
|
|
7
|
+
"placement": "center",
|
|
8
|
+
"shouldCloseOnOverlayClick": true,
|
|
9
|
+
"size": "md",
|
|
10
|
+
"status": ""
|
|
11
|
+
},
|
|
12
|
+
"children": {
|
|
13
|
+
"editable": true,
|
|
14
|
+
"default": "Custom dialog content goes here when you are not using the title and text props.",
|
|
15
|
+
"hideWhenPropSet": [
|
|
16
|
+
"text"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"groups": [
|
|
20
|
+
{
|
|
21
|
+
"name": "Content",
|
|
22
|
+
"props": [
|
|
23
|
+
"title",
|
|
24
|
+
"text",
|
|
25
|
+
"cancelButton",
|
|
26
|
+
"confirmButton"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "Behavior",
|
|
31
|
+
"props": [
|
|
32
|
+
"opened",
|
|
33
|
+
"placement",
|
|
34
|
+
"shouldCloseOnOverlayClick",
|
|
35
|
+
"closeable",
|
|
36
|
+
"loading",
|
|
37
|
+
"trigger",
|
|
38
|
+
"onClose",
|
|
39
|
+
"onCancel",
|
|
40
|
+
"onConfirm",
|
|
41
|
+
"onChange"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "Appearance",
|
|
46
|
+
"props": [
|
|
47
|
+
"size",
|
|
48
|
+
"status",
|
|
49
|
+
"fullHeight",
|
|
50
|
+
"portalClassName"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"presets": [
|
|
55
|
+
{
|
|
56
|
+
"name": "Small",
|
|
57
|
+
"props": {
|
|
58
|
+
"size": "sm",
|
|
59
|
+
"opened": true,
|
|
60
|
+
"title": "Small dialog",
|
|
61
|
+
"text": "Narrow width for short confirmations and alerts."
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "Medium",
|
|
66
|
+
"props": {
|
|
67
|
+
"size": "md",
|
|
68
|
+
"opened": true,
|
|
69
|
+
"title": "Medium dialog",
|
|
70
|
+
"text": "Default size for most forms and standard content."
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "Large",
|
|
75
|
+
"props": {
|
|
76
|
+
"size": "lg",
|
|
77
|
+
"opened": true,
|
|
78
|
+
"title": "Large dialog",
|
|
79
|
+
"text": "Wider layout for dense content or two-column layouts."
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "Extra large",
|
|
84
|
+
"props": {
|
|
85
|
+
"size": "xl",
|
|
86
|
+
"opened": true,
|
|
87
|
+
"title": "Extra large dialog",
|
|
88
|
+
"text": "Maximum width before full-screen patterns."
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "Content width",
|
|
93
|
+
"props": {
|
|
94
|
+
"size": "content",
|
|
95
|
+
"opened": true,
|
|
96
|
+
"title": "Content-sized dialog",
|
|
97
|
+
"text": "Width follows the content instead of fixed breakpoints."
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "Status size",
|
|
102
|
+
"props": {
|
|
103
|
+
"size": "status_size",
|
|
104
|
+
"opened": true,
|
|
105
|
+
"status": "success",
|
|
106
|
+
"title": "Success",
|
|
107
|
+
"text": "Compact status layout for confirmations and feedback."
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"conditionals": {},
|
|
112
|
+
"hints": {
|
|
113
|
+
"status_dialog": {
|
|
114
|
+
"when": {
|
|
115
|
+
"status": "success"
|
|
116
|
+
},
|
|
117
|
+
"message": "Status dialogs show an icon, title, and body copy in a centered layout.",
|
|
118
|
+
"type": "info"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"children": {
|
|
3
|
+
"default": "Custom dialog content goes here when you are not using the title and text props."
|
|
4
|
+
},
|
|
5
|
+
"groups": [
|
|
6
|
+
{
|
|
7
|
+
"name": "Content",
|
|
8
|
+
"props": ["title", "text", "cancelButton", "confirmButton"]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "Behavior",
|
|
12
|
+
"props": [
|
|
13
|
+
"opened",
|
|
14
|
+
"placement",
|
|
15
|
+
"shouldCloseOnOverlayClick",
|
|
16
|
+
"closeable",
|
|
17
|
+
"loading",
|
|
18
|
+
"trigger",
|
|
19
|
+
"onClose",
|
|
20
|
+
"onCancel",
|
|
21
|
+
"onConfirm",
|
|
22
|
+
"onChange"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "Appearance",
|
|
27
|
+
"props": ["size", "status", "fullHeight", "portalClassName"]
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"presets": [
|
|
31
|
+
{
|
|
32
|
+
"name": "Small",
|
|
33
|
+
"props": {
|
|
34
|
+
"size": "sm",
|
|
35
|
+
"opened": true,
|
|
36
|
+
"title": "Small dialog",
|
|
37
|
+
"text": "Narrow width for short confirmations and alerts."
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "Medium",
|
|
42
|
+
"props": {
|
|
43
|
+
"size": "md",
|
|
44
|
+
"opened": true,
|
|
45
|
+
"title": "Medium dialog",
|
|
46
|
+
"text": "Default size for most forms and standard content."
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "Large",
|
|
51
|
+
"props": {
|
|
52
|
+
"size": "lg",
|
|
53
|
+
"opened": true,
|
|
54
|
+
"title": "Large dialog",
|
|
55
|
+
"text": "Wider layout for dense content or two-column layouts."
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "Extra large",
|
|
60
|
+
"props": {
|
|
61
|
+
"size": "xl",
|
|
62
|
+
"opened": true,
|
|
63
|
+
"title": "Extra large dialog",
|
|
64
|
+
"text": "Maximum width before full-screen patterns."
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "Content width",
|
|
69
|
+
"props": {
|
|
70
|
+
"size": "content",
|
|
71
|
+
"opened": true,
|
|
72
|
+
"title": "Content-sized dialog",
|
|
73
|
+
"text": "Width follows the content instead of fixed breakpoints."
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "Status size",
|
|
78
|
+
"props": {
|
|
79
|
+
"size": "status_size",
|
|
80
|
+
"opened": true,
|
|
81
|
+
"status": "success",
|
|
82
|
+
"title": "Success",
|
|
83
|
+
"text": "Compact status layout for confirmations and feedback."
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"conditionals": {},
|
|
88
|
+
"hints": {
|
|
89
|
+
"status_dialog": {
|
|
90
|
+
"when": { "status": "success" },
|
|
91
|
+
"message": "Status dialogs show an icon, title, and body copy in a centered layout.",
|
|
92
|
+
"type": "info"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<DistributionBar{{props}} />",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"size": "lg"
|
|
6
|
+
},
|
|
7
|
+
"groups": [
|
|
8
|
+
{
|
|
9
|
+
"name": "Props",
|
|
10
|
+
"props": [
|
|
11
|
+
"colors",
|
|
12
|
+
"size",
|
|
13
|
+
"widths"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"presets": [
|
|
18
|
+
{
|
|
19
|
+
"name": "Default",
|
|
20
|
+
"props": {}
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"conditionals": {},
|
|
24
|
+
"hints": {}
|
|
25
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Draggable{{props}} />",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"dropZoneColor": "neutral"
|
|
6
|
+
},
|
|
7
|
+
"groups": [
|
|
8
|
+
{
|
|
9
|
+
"name": "Appearance",
|
|
10
|
+
"props": [
|
|
11
|
+
"dropZone",
|
|
12
|
+
"dropZoneColor"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"presets": [
|
|
17
|
+
{
|
|
18
|
+
"name": "Ghost (neutral)",
|
|
19
|
+
"props": {
|
|
20
|
+
"dropZone": "ghost",
|
|
21
|
+
"dropZoneColor": "neutral"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "Outline (primary)",
|
|
26
|
+
"props": {
|
|
27
|
+
"dropZone": "outline",
|
|
28
|
+
"dropZoneColor": "primary"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "Shadow (purple)",
|
|
33
|
+
"props": {
|
|
34
|
+
"dropZone": "shadow",
|
|
35
|
+
"dropZoneColor": "purple"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "Line (neutral)",
|
|
40
|
+
"props": {
|
|
41
|
+
"dropZone": "line",
|
|
42
|
+
"dropZoneColor": "neutral"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"conditionals": {},
|
|
47
|
+
"hints": {
|
|
48
|
+
"children_note": {
|
|
49
|
+
"when": {},
|
|
50
|
+
"message": "Compose Draggable.Container and Draggable.Item as children to build a sortable list.",
|
|
51
|
+
"type": "info"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"groups": [
|
|
3
|
+
{
|
|
4
|
+
"name": "Appearance",
|
|
5
|
+
"props": ["dropZone", "dropZoneColor"]
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"presets": [
|
|
9
|
+
{
|
|
10
|
+
"name": "Ghost (neutral)",
|
|
11
|
+
"props": { "dropZone": "ghost", "dropZoneColor": "neutral" }
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Outline (primary)",
|
|
15
|
+
"props": { "dropZone": "outline", "dropZoneColor": "primary" }
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Shadow (purple)",
|
|
19
|
+
"props": { "dropZone": "shadow", "dropZoneColor": "purple" }
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "Line (neutral)",
|
|
23
|
+
"props": { "dropZone": "line", "dropZoneColor": "neutral" }
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"conditionals": {},
|
|
27
|
+
"hints": {
|
|
28
|
+
"children_note": {
|
|
29
|
+
"when": {},
|
|
30
|
+
"message": "Compose Draggable.Container and Draggable.Item as children to build a sortable list.",
|
|
31
|
+
"type": "info"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Dropdown{{props}} />",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"autocomplete": false,
|
|
6
|
+
"blankSelection": "",
|
|
7
|
+
"clearable": true,
|
|
8
|
+
"closeOnClick": "any",
|
|
9
|
+
"constrainHeight": false,
|
|
10
|
+
"multiSelect": false,
|
|
11
|
+
"separators": true,
|
|
12
|
+
"variant": "default",
|
|
13
|
+
"rangeEndsToday": false,
|
|
14
|
+
"controlsStartId": "",
|
|
15
|
+
"controlsEndId": "",
|
|
16
|
+
"requiredIndicator": false
|
|
17
|
+
},
|
|
18
|
+
"groups": [
|
|
19
|
+
{
|
|
20
|
+
"name": "Content",
|
|
21
|
+
"props": [
|
|
22
|
+
"label",
|
|
23
|
+
"placeholder",
|
|
24
|
+
"options",
|
|
25
|
+
"blankSelection",
|
|
26
|
+
"error"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "Appearance",
|
|
31
|
+
"props": [
|
|
32
|
+
"variant",
|
|
33
|
+
"separators",
|
|
34
|
+
"constrainHeight",
|
|
35
|
+
"clearable",
|
|
36
|
+
"requiredIndicator"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "State & behavior",
|
|
41
|
+
"props": [
|
|
42
|
+
"isClosed",
|
|
43
|
+
"multiSelect",
|
|
44
|
+
"autocomplete",
|
|
45
|
+
"closeOnClick",
|
|
46
|
+
"onSelect"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "Quick pick",
|
|
51
|
+
"props": [
|
|
52
|
+
"customQuickPickDates",
|
|
53
|
+
"rangeEndsToday",
|
|
54
|
+
"controlsStartId",
|
|
55
|
+
"controlsEndId"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "Values & forms",
|
|
60
|
+
"props": [
|
|
61
|
+
"defaultValue",
|
|
62
|
+
"formPillProps"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"presets": [
|
|
67
|
+
{
|
|
68
|
+
"name": "Default trigger",
|
|
69
|
+
"props": {
|
|
70
|
+
"variant": "default",
|
|
71
|
+
"placeholder": "Select a country",
|
|
72
|
+
"options": [
|
|
73
|
+
{
|
|
74
|
+
"label": "United States",
|
|
75
|
+
"value": "unitedStates",
|
|
76
|
+
"id": "us"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"label": "Canada",
|
|
80
|
+
"value": "canada",
|
|
81
|
+
"id": "ca"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"label": "Mexico",
|
|
85
|
+
"value": "mexico",
|
|
86
|
+
"id": "mx"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "Subtle trigger",
|
|
93
|
+
"props": {
|
|
94
|
+
"variant": "subtle",
|
|
95
|
+
"placeholder": "Choose an option",
|
|
96
|
+
"options": [
|
|
97
|
+
{
|
|
98
|
+
"label": "Alpha",
|
|
99
|
+
"value": "alpha",
|
|
100
|
+
"id": "a"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"label": "Beta",
|
|
104
|
+
"value": "beta",
|
|
105
|
+
"id": "b"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"label": "Gamma",
|
|
109
|
+
"value": "gamma",
|
|
110
|
+
"id": "g"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "Quick pick",
|
|
117
|
+
"props": {
|
|
118
|
+
"variant": "quickpick",
|
|
119
|
+
"label": "Date range"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "Multi-select",
|
|
124
|
+
"props": {
|
|
125
|
+
"variant": "default",
|
|
126
|
+
"multiSelect": true,
|
|
127
|
+
"placeholder": "Select regions",
|
|
128
|
+
"options": [
|
|
129
|
+
{
|
|
130
|
+
"label": "North",
|
|
131
|
+
"value": "north",
|
|
132
|
+
"id": "n"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"label": "South",
|
|
136
|
+
"value": "south",
|
|
137
|
+
"id": "s"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"label": "East",
|
|
141
|
+
"value": "east",
|
|
142
|
+
"id": "e"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"label": "West",
|
|
146
|
+
"value": "west",
|
|
147
|
+
"id": "w"
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "With error",
|
|
154
|
+
"props": {
|
|
155
|
+
"variant": "default",
|
|
156
|
+
"placeholder": "Required field",
|
|
157
|
+
"error": "Please make a selection.",
|
|
158
|
+
"options": [
|
|
159
|
+
{
|
|
160
|
+
"label": "Option A",
|
|
161
|
+
"value": "a",
|
|
162
|
+
"id": "a"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"label": "Option B",
|
|
166
|
+
"value": "b",
|
|
167
|
+
"id": "b"
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "Search (autocomplete)",
|
|
174
|
+
"props": {
|
|
175
|
+
"variant": "default",
|
|
176
|
+
"autocomplete": true,
|
|
177
|
+
"placeholder": "Search…",
|
|
178
|
+
"options": [
|
|
179
|
+
{
|
|
180
|
+
"label": "Apple",
|
|
181
|
+
"value": "apple",
|
|
182
|
+
"id": "1"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"label": "Apricot",
|
|
186
|
+
"value": "apricot",
|
|
187
|
+
"id": "2"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"label": "Banana",
|
|
191
|
+
"value": "banana",
|
|
192
|
+
"id": "3"
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"conditionals": {
|
|
199
|
+
"rangeEndsToday": {
|
|
200
|
+
"requires": {
|
|
201
|
+
"variant": "quickpick"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"controlsStartId": {
|
|
205
|
+
"requires": {
|
|
206
|
+
"variant": "quickpick"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"controlsEndId": {
|
|
210
|
+
"requires": {
|
|
211
|
+
"variant": "quickpick"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"customQuickPickDates": {
|
|
215
|
+
"requires": {
|
|
216
|
+
"variant": "quickpick"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"hints": {
|
|
221
|
+
"quickpick_scope": {
|
|
222
|
+
"when": {
|
|
223
|
+
"variant": "quickpick"
|
|
224
|
+
},
|
|
225
|
+
"message": "Quick pick uses preset date-range options. Use custom quick pick dates or range controls to tailor the menu.",
|
|
226
|
+
"type": "info"
|
|
227
|
+
},
|
|
228
|
+
"multi_options": {
|
|
229
|
+
"when": {
|
|
230
|
+
"multiSelect": true
|
|
231
|
+
},
|
|
232
|
+
"message": "Multi-select shows selected values as pills when applicable; use clearable to allow resetting.",
|
|
233
|
+
"type": "info"
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|