playbook_ui_docs 16.6.0 → 16.7.0.pre.alpha.play2924tooltipmisalignment16199
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_grouped_headers_composition.jsx +15 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_infinite_scroll.jsx +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_row_loading.jsx +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pinned_rows.jsx +2 -2
- 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_advanced_table/docs/advanced_table_mock_data_inline_loading_empty_children.json +41 -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/_bread_crumbs_default.jsx +5 -5
- 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/_playground.json +164 -0
- data/app/pb_kits/playbook/pb_button/docs/_playground.overrides.json +45 -0
- 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 +69 -0
- data/app/pb_kits/playbook/pb_date/docs/_playground.overrides.json +51 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_playground.json +274 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_playground.overrides.json +226 -0
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.json +73 -0
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.overrides.json +57 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.json +46 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.overrides.json +38 -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 +89 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_playground.overrides.json +71 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.json +53 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.overrides.json +42 -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 +69 -0
- data/app/pb_kits/playbook/pb_detail/docs/_playground.overrides.json +45 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_playground.json +187 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_playground.overrides.json +143 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.json +83 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.overrides.json +45 -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/_dropdown_with_constrain_height.jsx +18 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_constrain_height_rails.html.erb +11 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_playground.json +533 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_playground.overrides.json +310 -0
- data/app/pb_kits/playbook/pb_empty_state/docs/_playground.json +99 -0
- data/app/pb_kits/playbook/pb_empty_state/docs/_playground.overrides.json +79 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/_playground.json +119 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/_playground.overrides.json +99 -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/_playground.json +13 -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 +171 -0
- data/app/pb_kits/playbook/pb_link/docs/_playground.overrides.json +139 -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/_pagination_default.html.erb +1 -1
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_external_control.jsx +22 -1
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +22 -2
- 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/_phone_number_input_show_placeholder.html.erb +5 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.jsx +14 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_show_placeholder.md +3 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_playground.json +54 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +1 -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_advanced_templates.jsx +76 -1
- 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_select/docs/_select_error.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_inline.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_inline_compact.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_inline_show_arrow.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_multiple.html.erb +3 -3
- data/app/pb_kits/playbook/pb_select/docs/_select_multiple.jsx +5 -5
- data/app/pb_kits/playbook/pb_select/docs/_select_react_hook.jsx +5 -5
- data/app/pb_kits/playbook/pb_select/docs/_select_required_indicator.jsx +1 -1
- 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 +129 -0
- data/app/pb_kits/playbook/pb_title/docs/_playground.overrides.json +108 -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_react_hook.jsx +2 -2
- 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 +196 -7
- data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js +0 -200
- data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading_empty_children.js +0 -42
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_grouped_headers_composition_mock_data.json +0 -98
- data/app/pb_kits/playbook/pb_pagination/docs/data.js +0 -23
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/templates.js +0 -75
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
{
|
|
2
|
+
"structureModes": {
|
|
3
|
+
"default": "simple",
|
|
4
|
+
"modes": {
|
|
5
|
+
"simple": {
|
|
6
|
+
"label": "Simple",
|
|
7
|
+
"template": "<Dropdown{{props}} />",
|
|
8
|
+
"children": ""
|
|
9
|
+
},
|
|
10
|
+
"subcomponents": {
|
|
11
|
+
"label": "With Subcomponents",
|
|
12
|
+
"template": "<Dropdown{{props}}>\n <Dropdown.Trigger />\n <Dropdown.Container>\n <Dropdown.Option option={({ label: 'United States', value: 'unitedStates', id: 'us' })} />\n <Dropdown.Option option={({ label: 'Canada', value: 'canada', id: 'ca' })} />\n <Dropdown.Option option={({ label: 'Pakistan', value: 'pakistan', id: 'pk' })} />\n </Dropdown.Container>\n</Dropdown>",
|
|
13
|
+
"children": "",
|
|
14
|
+
"props": {
|
|
15
|
+
"options": [
|
|
16
|
+
{ "label": "United States", "value": "unitedStates", "id": "us" },
|
|
17
|
+
{ "label": "Canada", "value": "canada", "id": "ca" },
|
|
18
|
+
{ "label": "Pakistan", "value": "pakistan", "id": "pk" }
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"defaults": {
|
|
25
|
+
"autocomplete": false,
|
|
26
|
+
"blankSelection": "",
|
|
27
|
+
"clearable": true,
|
|
28
|
+
"closeOnClick": "any",
|
|
29
|
+
"constrainHeight": false,
|
|
30
|
+
"dark": false,
|
|
31
|
+
"label": "Select a Country",
|
|
32
|
+
"multiSelect": false,
|
|
33
|
+
"options": [
|
|
34
|
+
{ "label": "United States", "value": "unitedStates", "id": "us" },
|
|
35
|
+
{ "label": "Canada", "value": "canada", "id": "ca" },
|
|
36
|
+
{ "label": "Pakistan", "value": "pakistan", "id": "pk" }
|
|
37
|
+
],
|
|
38
|
+
"placeholder": "Select a country",
|
|
39
|
+
"requiredIndicator": false,
|
|
40
|
+
"separators": true,
|
|
41
|
+
"variant": "default"
|
|
42
|
+
},
|
|
43
|
+
"groups": [
|
|
44
|
+
{
|
|
45
|
+
"name": "Content",
|
|
46
|
+
"props": [
|
|
47
|
+
"label",
|
|
48
|
+
"placeholder",
|
|
49
|
+
"options",
|
|
50
|
+
"defaultValue",
|
|
51
|
+
"blankSelection",
|
|
52
|
+
"error"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "Behavior",
|
|
57
|
+
"props": [
|
|
58
|
+
"variant",
|
|
59
|
+
"multiSelect",
|
|
60
|
+
"autocomplete",
|
|
61
|
+
"clearable",
|
|
62
|
+
"closeOnClick",
|
|
63
|
+
"constrainHeight",
|
|
64
|
+
"isClosed",
|
|
65
|
+
"requiredIndicator"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "Quick pick",
|
|
70
|
+
"props": [
|
|
71
|
+
"customQuickPickDates",
|
|
72
|
+
"rangeEndsToday",
|
|
73
|
+
"controlsStartId",
|
|
74
|
+
"controlsEndId"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "Display",
|
|
79
|
+
"props": [
|
|
80
|
+
"separators",
|
|
81
|
+
"formPillProps",
|
|
82
|
+
"activeStyle",
|
|
83
|
+
"dark"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "Events",
|
|
88
|
+
"props": ["onSelect"]
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"presets": [
|
|
92
|
+
{
|
|
93
|
+
"name": "Default trigger",
|
|
94
|
+
"props": {
|
|
95
|
+
"variant": "default",
|
|
96
|
+
"placeholder": "Select a country",
|
|
97
|
+
"options": [
|
|
98
|
+
{ "label": "United States", "value": "unitedStates", "id": "us" },
|
|
99
|
+
{ "label": "Canada", "value": "canada", "id": "ca" },
|
|
100
|
+
{ "label": "Mexico", "value": "mexico", "id": "mx" }
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "With label",
|
|
106
|
+
"props": {
|
|
107
|
+
"label": "Select a Country",
|
|
108
|
+
"placeholder": "Choose a country",
|
|
109
|
+
"options": [
|
|
110
|
+
{ "label": "United States", "value": "unitedStates", "id": "us" },
|
|
111
|
+
{ "label": "Canada", "value": "canada", "id": "ca" },
|
|
112
|
+
{ "label": "Pakistan", "value": "pakistan", "id": "pk" }
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "Subtle Variant",
|
|
118
|
+
"props": {
|
|
119
|
+
"variant": "subtle",
|
|
120
|
+
"separators": false,
|
|
121
|
+
"options": [
|
|
122
|
+
{ "label": "Alpha", "value": "alpha", "id": "a" },
|
|
123
|
+
{ "label": "Beta", "value": "beta", "id": "b" },
|
|
124
|
+
{ "label": "Gamma", "value": "gamma", "id": "g" }
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "Quick pick",
|
|
130
|
+
"props": {
|
|
131
|
+
"variant": "quickpick",
|
|
132
|
+
"label": "Date Range",
|
|
133
|
+
"placeholder": "Select a Date Range"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "Quick pick custom",
|
|
138
|
+
"props": {
|
|
139
|
+
"variant": "quickpick",
|
|
140
|
+
"label": "Date Range",
|
|
141
|
+
"customQuickPickDates": {
|
|
142
|
+
"dates": [
|
|
143
|
+
{
|
|
144
|
+
"label": "Last 15 months",
|
|
145
|
+
"value": {
|
|
146
|
+
"timePeriod": "months",
|
|
147
|
+
"amount": 15
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"label": "First Week of June 2022",
|
|
152
|
+
"value": ["06/01/2022", "06/07/2022"]
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "Quick pick append defaults",
|
|
160
|
+
"props": {
|
|
161
|
+
"variant": "quickpick",
|
|
162
|
+
"label": "Date Range",
|
|
163
|
+
"customQuickPickDates": {
|
|
164
|
+
"dates": [
|
|
165
|
+
{
|
|
166
|
+
"label": "Last 15 months",
|
|
167
|
+
"value": {
|
|
168
|
+
"timePeriod": "months",
|
|
169
|
+
"amount": 15
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"label": "First Week of June 2022",
|
|
174
|
+
"value": ["06/01/2022", "06/07/2022"]
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"override": false
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "Multi-select",
|
|
183
|
+
"props": {
|
|
184
|
+
"variant": "default",
|
|
185
|
+
"multiSelect": true,
|
|
186
|
+
"placeholder": "Select regions",
|
|
187
|
+
"options": [
|
|
188
|
+
{ "label": "North", "value": "north", "id": "n" },
|
|
189
|
+
{ "label": "South", "value": "south", "id": "s" },
|
|
190
|
+
{ "label": "East", "value": "east", "id": "e" },
|
|
191
|
+
{ "label": "West", "value": "west", "id": "w" }
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "Multi-select with pills",
|
|
197
|
+
"props": {
|
|
198
|
+
"variant": "default",
|
|
199
|
+
"multiSelect": true,
|
|
200
|
+
"placeholder": "Select countries",
|
|
201
|
+
"formPillProps": { "size": "small", "color": "neutral" },
|
|
202
|
+
"defaultValue": [
|
|
203
|
+
{ "label": "United States", "value": "unitedStates" },
|
|
204
|
+
{ "label": "Italy", "value": "italy" }
|
|
205
|
+
],
|
|
206
|
+
"options": [
|
|
207
|
+
{ "label": "United States", "value": "unitedStates", "id": "us" },
|
|
208
|
+
{ "label": "United Kingdom", "value": "unitedKingdom", "id": "gb" },
|
|
209
|
+
{ "label": "Canada", "value": "canada", "id": "ca" },
|
|
210
|
+
{ "label": "Pakistan", "value": "pakistan", "id": "pk" },
|
|
211
|
+
{ "label": "India", "value": "india", "id": "in" },
|
|
212
|
+
{ "label": "Australia", "value": "australia", "id": "au" },
|
|
213
|
+
{ "label": "New Zealand", "value": "newZealand", "id": "nz" },
|
|
214
|
+
{ "label": "Italy", "value": "italy", "id": "it" }
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "With error",
|
|
220
|
+
"props": {
|
|
221
|
+
"variant": "default",
|
|
222
|
+
"label": "Required field",
|
|
223
|
+
"placeholder": "Required field",
|
|
224
|
+
"error": "Please make a selection.",
|
|
225
|
+
"options": [
|
|
226
|
+
{ "label": "Option A", "value": "a", "id": "a" },
|
|
227
|
+
{ "label": "Option B", "value": "b", "id": "b" }
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "Search (autocomplete)",
|
|
233
|
+
"props": {
|
|
234
|
+
"variant": "default",
|
|
235
|
+
"autocomplete": true,
|
|
236
|
+
"placeholder": "Search…",
|
|
237
|
+
"options": [
|
|
238
|
+
{ "label": "Apple", "value": "apple", "id": "1" },
|
|
239
|
+
{ "label": "Apricot", "value": "apricot", "id": "2" },
|
|
240
|
+
{ "label": "Banana", "value": "banana", "id": "3" }
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "Constrained height",
|
|
246
|
+
"props": {
|
|
247
|
+
"label": "Choose an Option",
|
|
248
|
+
"constrainHeight": true,
|
|
249
|
+
"options": [
|
|
250
|
+
{ "label": "Option 1", "value": "option_1", "id": "opt_1" },
|
|
251
|
+
{ "label": "Option 2", "value": "option_2", "id": "opt_2" },
|
|
252
|
+
{ "label": "Option 3", "value": "option_3", "id": "opt_3" },
|
|
253
|
+
{ "label": "Option 4", "value": "option_4", "id": "opt_4" },
|
|
254
|
+
{ "label": "Option 5", "value": "option_5", "id": "opt_5" },
|
|
255
|
+
{ "label": "Option 6", "value": "option_6", "id": "opt_6" },
|
|
256
|
+
{ "label": "Option 7", "value": "option_7", "id": "opt_7" },
|
|
257
|
+
{ "label": "Option 8", "value": "option_8", "id": "opt_8" },
|
|
258
|
+
{ "label": "Option 9", "value": "option_9", "id": "opt_9" },
|
|
259
|
+
{ "label": "Option 10", "value": "option_10", "id": "opt_10" },
|
|
260
|
+
{ "label": "Option 11", "value": "option_11", "id": "opt_11" },
|
|
261
|
+
{ "label": "Option 12", "value": "option_12", "id": "opt_12" }
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"conditionals": {
|
|
267
|
+
"requiredIndicator": { "requires": "label" },
|
|
268
|
+
"formPillProps": { "requires": "multiSelect" },
|
|
269
|
+
"rangeEndsToday": { "requires": { "variant": "quickpick" } },
|
|
270
|
+
"controlsStartId": { "requires": { "variant": "quickpick" } },
|
|
271
|
+
"controlsEndId": { "requires": { "variant": "quickpick" } },
|
|
272
|
+
"customQuickPickDates": { "requires": { "variant": "quickpick" } }
|
|
273
|
+
},
|
|
274
|
+
"hints": {
|
|
275
|
+
"quickpick_scope": {
|
|
276
|
+
"when": { "variant": "quickpick" },
|
|
277
|
+
"message": "Quick pick uses preset date-range options. Use customQuickPickDates to replace or extend them, and pair controlsStartId / controlsEndId with DatePicker when you need synced date inputs.",
|
|
278
|
+
"type": "info"
|
|
279
|
+
},
|
|
280
|
+
"multi_options": {
|
|
281
|
+
"when": { "multiSelect": true },
|
|
282
|
+
"message": "Multi-select returns arrays of selected options. Use formPillProps to adjust the selected-pill appearance and clearable to let users reset the selection.",
|
|
283
|
+
"type": "info"
|
|
284
|
+
},
|
|
285
|
+
"autocomplete_info": {
|
|
286
|
+
"when": { "autocomplete": true },
|
|
287
|
+
"message": "Autocomplete filters the provided options list in place. It works especially well with longer option sets.",
|
|
288
|
+
"type": "info"
|
|
289
|
+
},
|
|
290
|
+
"quickpick_custom_info": {
|
|
291
|
+
"presetName": "Quick pick custom",
|
|
292
|
+
"message": "When override is omitted or true, customQuickPickDates replaces the default quick-pick menu.",
|
|
293
|
+
"type": "info"
|
|
294
|
+
},
|
|
295
|
+
"quickpick_append_info": {
|
|
296
|
+
"presetName": "Quick pick append defaults",
|
|
297
|
+
"message": "Set customQuickPickDates.override to false to append your custom ranges to the built-in quick-pick options.",
|
|
298
|
+
"type": "info"
|
|
299
|
+
},
|
|
300
|
+
"constrained_height_info": {
|
|
301
|
+
"presetName": "Constrained height",
|
|
302
|
+
"message": "constrainHeight restricts the height of the dropdown menu and enables vertical scrolling when the content exceeds this height. This prevents long dropdown lists from rendering off-screen.",
|
|
303
|
+
"type": "info"
|
|
304
|
+
},
|
|
305
|
+
"subcomponent_structure_info": {
|
|
306
|
+
"message": "Switch Structure to “With Subcomponents” to see the explicit Dropdown.Trigger, Dropdown.Container, and Dropdown.Option composition API.",
|
|
307
|
+
"type": "info"
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Flex align=\"center\" orientation=\"column\">\n <EmptyState{{props}} />\n</Flex>",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"alignment": "center",
|
|
6
|
+
"orientation": "vertical",
|
|
7
|
+
"size": "md",
|
|
8
|
+
"description": "Body text goes into detail with possible steps for user to take",
|
|
9
|
+
"header": "Title Explains",
|
|
10
|
+
"image": "default"
|
|
11
|
+
},
|
|
12
|
+
"groups": [
|
|
13
|
+
{
|
|
14
|
+
"name": "Layout",
|
|
15
|
+
"props": [
|
|
16
|
+
"alignment",
|
|
17
|
+
"orientation",
|
|
18
|
+
"size"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "Content",
|
|
23
|
+
"props": [
|
|
24
|
+
"header",
|
|
25
|
+
"description",
|
|
26
|
+
"image"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "Actions",
|
|
31
|
+
"props": [
|
|
32
|
+
"primaryButton",
|
|
33
|
+
"linkButton",
|
|
34
|
+
"onLinkButtonClick",
|
|
35
|
+
"onPrimaryButtonClick"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"presets": [
|
|
40
|
+
{
|
|
41
|
+
"name": "Default",
|
|
42
|
+
"props": {
|
|
43
|
+
"description": "Body text goes into detail with possible steps for user to take",
|
|
44
|
+
"header": "Title Explains",
|
|
45
|
+
"image": "default"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "With Primary Action",
|
|
50
|
+
"props": {
|
|
51
|
+
"description": "Body text goes into detail with possible steps for user to take",
|
|
52
|
+
"header": "Title Explains",
|
|
53
|
+
"image": "default",
|
|
54
|
+
"primaryButton": "Next Action"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "With Two Actions",
|
|
59
|
+
"props": {
|
|
60
|
+
"description": "Body text goes into detail with possible steps for user to take",
|
|
61
|
+
"header": "Title Explains",
|
|
62
|
+
"image": "default",
|
|
63
|
+
"linkButton": "Alt Action",
|
|
64
|
+
"primaryButton": "Next Action"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "Horizontal",
|
|
69
|
+
"props": {
|
|
70
|
+
"alignment": "left",
|
|
71
|
+
"description": "Body text goes into detail with possible steps for user to take",
|
|
72
|
+
"header": "Title Explains",
|
|
73
|
+
"image": "default",
|
|
74
|
+
"orientation": "horizontal"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "Small",
|
|
79
|
+
"props": {
|
|
80
|
+
"description": "Body text.",
|
|
81
|
+
"header": "Title Explains",
|
|
82
|
+
"image": "default",
|
|
83
|
+
"size": "sm"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"conditionals": {
|
|
88
|
+
"onLinkButtonClick": {
|
|
89
|
+
"requires": "linkButton"
|
|
90
|
+
},
|
|
91
|
+
"onPrimaryButtonClick": {
|
|
92
|
+
"requires": "primaryButton"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"hints": {},
|
|
96
|
+
"imports": [
|
|
97
|
+
"Flex"
|
|
98
|
+
]
|
|
99
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Flex align=\"center\" orientation=\"column\">\n <EmptyState{{props}} />\n</Flex>",
|
|
3
|
+
"imports": ["Flex"],
|
|
4
|
+
"defaults": {
|
|
5
|
+
"alignment": "center",
|
|
6
|
+
"description": "Body text goes into detail with possible steps for user to take",
|
|
7
|
+
"header": "Title Explains",
|
|
8
|
+
"image": "default",
|
|
9
|
+
"orientation": "vertical",
|
|
10
|
+
"size": "md"
|
|
11
|
+
},
|
|
12
|
+
"groups": [
|
|
13
|
+
{
|
|
14
|
+
"name": "Layout",
|
|
15
|
+
"props": ["alignment", "orientation", "size"]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Content",
|
|
19
|
+
"props": ["header", "description", "image"]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "Actions",
|
|
23
|
+
"props": ["primaryButton", "linkButton", "onLinkButtonClick", "onPrimaryButtonClick"]
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"presets": [
|
|
27
|
+
{
|
|
28
|
+
"name": "Default",
|
|
29
|
+
"props": {
|
|
30
|
+
"description": "Body text goes into detail with possible steps for user to take",
|
|
31
|
+
"header": "Title Explains",
|
|
32
|
+
"image": "default"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "With Primary Action",
|
|
37
|
+
"props": {
|
|
38
|
+
"description": "Body text goes into detail with possible steps for user to take",
|
|
39
|
+
"header": "Title Explains",
|
|
40
|
+
"image": "default",
|
|
41
|
+
"primaryButton": "Next Action"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "With Two Actions",
|
|
46
|
+
"props": {
|
|
47
|
+
"description": "Body text goes into detail with possible steps for user to take",
|
|
48
|
+
"header": "Title Explains",
|
|
49
|
+
"image": "default",
|
|
50
|
+
"linkButton": "Alt Action",
|
|
51
|
+
"primaryButton": "Next Action"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "Horizontal",
|
|
56
|
+
"props": {
|
|
57
|
+
"alignment": "left",
|
|
58
|
+
"description": "Body text goes into detail with possible steps for user to take",
|
|
59
|
+
"header": "Title Explains",
|
|
60
|
+
"image": "default",
|
|
61
|
+
"orientation": "horizontal"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "Small",
|
|
66
|
+
"props": {
|
|
67
|
+
"description": "Body text.",
|
|
68
|
+
"header": "Title Explains",
|
|
69
|
+
"image": "default",
|
|
70
|
+
"size": "sm"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"conditionals": {
|
|
75
|
+
"onLinkButtonClick": { "requires": "linkButton" },
|
|
76
|
+
"onPrimaryButtonClick": { "requires": "primaryButton" }
|
|
77
|
+
},
|
|
78
|
+
"hints": {}
|
|
79
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<FileUpload{{props}} />",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"accept": {}
|
|
6
|
+
},
|
|
7
|
+
"groups": [
|
|
8
|
+
{
|
|
9
|
+
"name": "Guidance",
|
|
10
|
+
"props": [
|
|
11
|
+
"customMessage",
|
|
12
|
+
"accept",
|
|
13
|
+
"acceptedFilesDescription",
|
|
14
|
+
"maxSize"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "State",
|
|
19
|
+
"props": [
|
|
20
|
+
"error",
|
|
21
|
+
"dark"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"presets": [
|
|
26
|
+
{
|
|
27
|
+
"name": "Default",
|
|
28
|
+
"props": {}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Accepted Types",
|
|
32
|
+
"props": {
|
|
33
|
+
"accept": {
|
|
34
|
+
"image/svg+xml": [
|
|
35
|
+
".svg",
|
|
36
|
+
".xml"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "Custom Description",
|
|
43
|
+
"props": {
|
|
44
|
+
"accept": {
|
|
45
|
+
"application/pdf": [
|
|
46
|
+
".pdf"
|
|
47
|
+
],
|
|
48
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": [
|
|
49
|
+
".xlsx"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"acceptedFilesDescription": "Adobe (.pdf) and Microsoft (.xlsx)"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "Custom Message",
|
|
57
|
+
"props": {
|
|
58
|
+
"customMessage": "Playbook is awesome!"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "Max File Size",
|
|
63
|
+
"props": {
|
|
64
|
+
"accept": {
|
|
65
|
+
"application/pdf": [
|
|
66
|
+
".pdf"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"maxSize": 1000000
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "Error State",
|
|
74
|
+
"props": {
|
|
75
|
+
"error": "Please upload a valid file"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"conditionals": {
|
|
80
|
+
"acceptedFilesDescription": {
|
|
81
|
+
"requires": "accept"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"hints": {
|
|
85
|
+
"accepted_types_info": {
|
|
86
|
+
"presetName": "Accepted Types",
|
|
87
|
+
"message": "Use MIME-type keys with extension arrays for accept, for example { image/svg+xml: ['.svg', '.xml'] }.",
|
|
88
|
+
"type": "info"
|
|
89
|
+
},
|
|
90
|
+
"custom_description_info": {
|
|
91
|
+
"presetName": "Custom Description",
|
|
92
|
+
"message": "acceptedFilesDescription only changes the helper copy. File validation still comes from the accept object.",
|
|
93
|
+
"type": "info"
|
|
94
|
+
},
|
|
95
|
+
"custom_message_info": {
|
|
96
|
+
"presetName": "Custom Message",
|
|
97
|
+
"message": "customMessage replaces the built-in guidance, including accepted types and max file size text.",
|
|
98
|
+
"type": "info"
|
|
99
|
+
},
|
|
100
|
+
"max_size_info": {
|
|
101
|
+
"presetName": "Max File Size",
|
|
102
|
+
"message": "maxSize is measured in bytes. In app code, pair it with onFilesRejected to surface rejection details.",
|
|
103
|
+
"type": "warning"
|
|
104
|
+
},
|
|
105
|
+
"error_state_info": {
|
|
106
|
+
"presetName": "Error State",
|
|
107
|
+
"message": "Use the error prop for validation or server feedback below the dropzone.",
|
|
108
|
+
"type": "info"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"hiddenProps": [
|
|
112
|
+
"fileRejections",
|
|
113
|
+
"getInputProps",
|
|
114
|
+
"getRootProps",
|
|
115
|
+
"isDragActive",
|
|
116
|
+
"onFilesAccepted",
|
|
117
|
+
"onFilesRejected"
|
|
118
|
+
]
|
|
119
|
+
}
|