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,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"defaults": {
|
|
3
|
+
"label": "Revenue",
|
|
4
|
+
"value": "1428",
|
|
5
|
+
"variant": "default"
|
|
6
|
+
},
|
|
7
|
+
"groups": [
|
|
8
|
+
{ "name": "Content", "props": ["label", "value"] },
|
|
9
|
+
{ "name": "Details & appearance", "props": ["variant", "icon", "description", "title", "active", "date"] }
|
|
10
|
+
],
|
|
11
|
+
"presets": [
|
|
12
|
+
{ "name": "Label + value", "props": { "label": "Revenue", "value": "1428", "variant": "default" } },
|
|
13
|
+
{ "name": "Amount + unit", "props": { "label": "Balance", "value": "$2,000.00", "variant": "default" } },
|
|
14
|
+
{ "name": "Percent", "props": { "label": "Growth", "value": "15%", "variant": "default" } },
|
|
15
|
+
{ "name": "Details row", "props": {
|
|
16
|
+
"variant": "details",
|
|
17
|
+
"label": "Activity",
|
|
18
|
+
"icon": "dumbbell",
|
|
19
|
+
"description": "Q1 campaign",
|
|
20
|
+
"title": "Review budget",
|
|
21
|
+
"active": true
|
|
22
|
+
} },
|
|
23
|
+
{ "name": "Details (inactive)", "props": {
|
|
24
|
+
"variant": "details",
|
|
25
|
+
"label": "Snapshot",
|
|
26
|
+
"icon": "clipboard",
|
|
27
|
+
"description": "Draft",
|
|
28
|
+
"title": "FY report",
|
|
29
|
+
"active": false
|
|
30
|
+
} }
|
|
31
|
+
],
|
|
32
|
+
"conditionals": {
|
|
33
|
+
"icon": { "requires": { "variant": "details" } },
|
|
34
|
+
"description": { "requires": { "variant": "details" } },
|
|
35
|
+
"title": { "requires": { "variant": "details" } },
|
|
36
|
+
"date": { "requires": { "variant": "details" } },
|
|
37
|
+
"active": { "requires": { "variant": "details" } },
|
|
38
|
+
"value": { "requires": { "variant": "default" } }
|
|
39
|
+
},
|
|
40
|
+
"hints": {
|
|
41
|
+
"details_variant": {
|
|
42
|
+
"when": { "variant": "details" },
|
|
43
|
+
"message": "Details variant shows icon, description, and title/date in a row; the default variant shows label + body value only.",
|
|
44
|
+
"type": "info"
|
|
45
|
+
},
|
|
46
|
+
"active_links": {
|
|
47
|
+
"when": { "active": true },
|
|
48
|
+
"message": "When active is true, the title and date use the link title variant.",
|
|
49
|
+
"type": "info"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Layout{{props}} />",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"collapse": "xs",
|
|
6
|
+
"full": false,
|
|
7
|
+
"responsive": false,
|
|
8
|
+
"size": {
|
|
9
|
+
"react": "sm",
|
|
10
|
+
"rails": "md"
|
|
11
|
+
},
|
|
12
|
+
"variant": "light",
|
|
13
|
+
"transparent": false,
|
|
14
|
+
"layout": "sidebar"
|
|
15
|
+
},
|
|
16
|
+
"groups": [
|
|
17
|
+
{
|
|
18
|
+
"name": "Props",
|
|
19
|
+
"props": [
|
|
20
|
+
"collapse",
|
|
21
|
+
"dark",
|
|
22
|
+
"full",
|
|
23
|
+
"position",
|
|
24
|
+
"responsive",
|
|
25
|
+
"size",
|
|
26
|
+
"variant",
|
|
27
|
+
"transparent",
|
|
28
|
+
"layout"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"presets": [
|
|
33
|
+
{
|
|
34
|
+
"name": "Default",
|
|
35
|
+
"props": {}
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"conditionals": {},
|
|
39
|
+
"hints": {}
|
|
40
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Legend{{props}} />",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"color": "data_1"
|
|
6
|
+
},
|
|
7
|
+
"groups": [
|
|
8
|
+
{
|
|
9
|
+
"name": "Props",
|
|
10
|
+
"props": [
|
|
11
|
+
"color",
|
|
12
|
+
"dark",
|
|
13
|
+
"prefixText",
|
|
14
|
+
"text"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"presets": [
|
|
19
|
+
{
|
|
20
|
+
"name": "Default",
|
|
21
|
+
"props": {}
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"conditionals": {},
|
|
25
|
+
"hints": {}
|
|
26
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Link{{props}}>{{children}}</Link>",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"color": "default",
|
|
6
|
+
"disabled": false,
|
|
7
|
+
"tag": "a",
|
|
8
|
+
"underline": false,
|
|
9
|
+
"href": "#link-example",
|
|
10
|
+
"text": "Link text"
|
|
11
|
+
},
|
|
12
|
+
"children": {
|
|
13
|
+
"editable": true,
|
|
14
|
+
"default": "Link text",
|
|
15
|
+
"hideWhenPropSet": [
|
|
16
|
+
"text"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"groups": [
|
|
20
|
+
{
|
|
21
|
+
"name": "Content",
|
|
22
|
+
"props": [
|
|
23
|
+
"text",
|
|
24
|
+
"icon",
|
|
25
|
+
"iconRight"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "Behavior",
|
|
30
|
+
"props": [
|
|
31
|
+
"href",
|
|
32
|
+
"target",
|
|
33
|
+
"disabled",
|
|
34
|
+
"tabIndex"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Appearance",
|
|
39
|
+
"props": [
|
|
40
|
+
"color",
|
|
41
|
+
"underline",
|
|
42
|
+
"tag",
|
|
43
|
+
"dark"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"presets": [
|
|
48
|
+
{
|
|
49
|
+
"name": "Default",
|
|
50
|
+
"props": {
|
|
51
|
+
"href": "#link-example",
|
|
52
|
+
"text": "Link text"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "Body color",
|
|
57
|
+
"props": {
|
|
58
|
+
"color": "body",
|
|
59
|
+
"href": "#body-link",
|
|
60
|
+
"text": "Inline body link"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "Muted underline",
|
|
65
|
+
"props": {
|
|
66
|
+
"color": "muted",
|
|
67
|
+
"href": "#secondary-link",
|
|
68
|
+
"underline": true,
|
|
69
|
+
"text": "Secondary link"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "Destructive",
|
|
74
|
+
"props": {
|
|
75
|
+
"color": "destructive",
|
|
76
|
+
"href": "#delete-account",
|
|
77
|
+
"text": "Delete account"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "Leading icon",
|
|
82
|
+
"props": {
|
|
83
|
+
"color": "default",
|
|
84
|
+
"href": "#continue",
|
|
85
|
+
"icon": "arrow-up-right-from-square",
|
|
86
|
+
"text": "Continue"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "Trailing icon",
|
|
91
|
+
"props": {
|
|
92
|
+
"href": "#details",
|
|
93
|
+
"icon": "plus",
|
|
94
|
+
"iconRight": "chevron-right",
|
|
95
|
+
"text": "Open document"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "Disabled",
|
|
100
|
+
"props": {
|
|
101
|
+
"disabled": true,
|
|
102
|
+
"href": "#disabled",
|
|
103
|
+
"text": "Disabled link"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "Heading tag",
|
|
108
|
+
"props": {
|
|
109
|
+
"href": "#heading-link",
|
|
110
|
+
"icon": "arrow-up-right-from-square",
|
|
111
|
+
"tag": "h3",
|
|
112
|
+
"text": "Heading link"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "External new tab",
|
|
117
|
+
"props": {
|
|
118
|
+
"href": "https://example.com",
|
|
119
|
+
"target": "_blank",
|
|
120
|
+
"icon": "arrow-up-right-from-square",
|
|
121
|
+
"text": "Example.com"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "Span tag",
|
|
126
|
+
"props": {
|
|
127
|
+
"href": "#span-link",
|
|
128
|
+
"tag": "span",
|
|
129
|
+
"text": "Span link example"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"conditionals": {
|
|
134
|
+
"target": {
|
|
135
|
+
"requires": "href"
|
|
136
|
+
},
|
|
137
|
+
"iconRight": {
|
|
138
|
+
"requires": "icon"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"hints": {
|
|
142
|
+
"external_target_info": {
|
|
143
|
+
"when": {
|
|
144
|
+
"target": "_blank"
|
|
145
|
+
},
|
|
146
|
+
"message": "Use target=\"_blank\" for external destinations that should open in a new tab.",
|
|
147
|
+
"type": "info"
|
|
148
|
+
},
|
|
149
|
+
"icon_pairing_info": {
|
|
150
|
+
"when": {
|
|
151
|
+
"iconRight": "chevron-right"
|
|
152
|
+
},
|
|
153
|
+
"message": "iconRight is available only when icon is also set, so the link can render a balanced icon treatment.",
|
|
154
|
+
"type": "info"
|
|
155
|
+
},
|
|
156
|
+
"disabled_info": {
|
|
157
|
+
"when": {
|
|
158
|
+
"disabled": true
|
|
159
|
+
},
|
|
160
|
+
"message": "Disabled links keep their visual treatment but should not be the only way to reach important actions.",
|
|
161
|
+
"type": "info"
|
|
162
|
+
},
|
|
163
|
+
"tag_semantics_info": {
|
|
164
|
+
"when": {
|
|
165
|
+
"tag": "h3"
|
|
166
|
+
},
|
|
167
|
+
"message": "Use tag to borrow link styling on semantic headings or inline text, but keep href when the element should still navigate.",
|
|
168
|
+
"type": "info"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"children": {
|
|
3
|
+
"default": "Link text"
|
|
4
|
+
},
|
|
5
|
+
"defaults": {
|
|
6
|
+
"color": "default",
|
|
7
|
+
"disabled": false,
|
|
8
|
+
"href": "#link-example",
|
|
9
|
+
"tag": "a",
|
|
10
|
+
"text": "Link text",
|
|
11
|
+
"underline": false
|
|
12
|
+
},
|
|
13
|
+
"groups": [
|
|
14
|
+
{
|
|
15
|
+
"name": "Content",
|
|
16
|
+
"props": ["text", "icon", "iconRight"]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Behavior",
|
|
20
|
+
"props": ["href", "target", "disabled", "tabIndex"]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Appearance",
|
|
24
|
+
"props": ["color", "underline", "tag", "dark"]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"presets": [
|
|
28
|
+
{
|
|
29
|
+
"name": "Default",
|
|
30
|
+
"props": {
|
|
31
|
+
"href": "#link-example",
|
|
32
|
+
"text": "Link text"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "Body color",
|
|
37
|
+
"props": {
|
|
38
|
+
"color": "body",
|
|
39
|
+
"href": "#body-link",
|
|
40
|
+
"text": "Inline body link"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "Muted underline",
|
|
45
|
+
"props": {
|
|
46
|
+
"color": "muted",
|
|
47
|
+
"href": "#secondary-link",
|
|
48
|
+
"underline": true,
|
|
49
|
+
"text": "Secondary link"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "Destructive",
|
|
54
|
+
"props": {
|
|
55
|
+
"color": "destructive",
|
|
56
|
+
"href": "#delete-account",
|
|
57
|
+
"text": "Delete account"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "Leading icon",
|
|
62
|
+
"props": {
|
|
63
|
+
"color": "default",
|
|
64
|
+
"href": "#continue",
|
|
65
|
+
"icon": "arrow-up-right-from-square",
|
|
66
|
+
"text": "Continue"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "Trailing icon",
|
|
71
|
+
"props": {
|
|
72
|
+
"href": "#details",
|
|
73
|
+
"icon": "plus",
|
|
74
|
+
"iconRight": "chevron-right",
|
|
75
|
+
"text": "Open document"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "Disabled",
|
|
80
|
+
"props": {
|
|
81
|
+
"disabled": true,
|
|
82
|
+
"href": "#disabled",
|
|
83
|
+
"text": "Disabled link"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "Heading tag",
|
|
88
|
+
"props": {
|
|
89
|
+
"href": "#heading-link",
|
|
90
|
+
"icon": "arrow-up-right-from-square",
|
|
91
|
+
"tag": "h3",
|
|
92
|
+
"text": "Heading link"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "External new tab",
|
|
97
|
+
"props": {
|
|
98
|
+
"href": "https://example.com",
|
|
99
|
+
"target": "_blank",
|
|
100
|
+
"icon": "arrow-up-right-from-square",
|
|
101
|
+
"text": "Example.com"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "Span tag",
|
|
106
|
+
"props": {
|
|
107
|
+
"href": "#span-link",
|
|
108
|
+
"tag": "span",
|
|
109
|
+
"text": "Span link example"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"conditionals": {
|
|
114
|
+
"target": { "requires": "href" },
|
|
115
|
+
"iconRight": { "requires": "icon" }
|
|
116
|
+
},
|
|
117
|
+
"hints": {
|
|
118
|
+
"external_target_info": {
|
|
119
|
+
"when": { "target": "_blank" },
|
|
120
|
+
"message": "Use target=\"_blank\" for external destinations that should open in a new tab.",
|
|
121
|
+
"type": "info"
|
|
122
|
+
},
|
|
123
|
+
"icon_pairing_info": {
|
|
124
|
+
"when": { "iconRight": "chevron-right" },
|
|
125
|
+
"message": "iconRight is available only when icon is also set, so the link can render a balanced icon treatment.",
|
|
126
|
+
"type": "info"
|
|
127
|
+
},
|
|
128
|
+
"disabled_info": {
|
|
129
|
+
"when": { "disabled": true },
|
|
130
|
+
"message": "Disabled links keep their visual treatment but should not be the only way to reach important actions.",
|
|
131
|
+
"type": "info"
|
|
132
|
+
},
|
|
133
|
+
"tag_semantics_info": {
|
|
134
|
+
"when": { "tag": "h3" },
|
|
135
|
+
"message": "Use tag to borrow link styling on semantic headings or inline text, but keep href when the element should still navigate.",
|
|
136
|
+
"type": "info"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<List{{props}}>{{children}}</List>",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"borderless": false,
|
|
6
|
+
"enableDrag": false,
|
|
7
|
+
"layout": "",
|
|
8
|
+
"ordered": false,
|
|
9
|
+
"xpadding": false
|
|
10
|
+
},
|
|
11
|
+
"children": {
|
|
12
|
+
"editable": true,
|
|
13
|
+
"default": "List content",
|
|
14
|
+
"hideWhenPropSet": [
|
|
15
|
+
"text"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"groups": [
|
|
19
|
+
{
|
|
20
|
+
"name": "Props",
|
|
21
|
+
"props": [
|
|
22
|
+
"borderless",
|
|
23
|
+
"dark",
|
|
24
|
+
"enableDrag",
|
|
25
|
+
"layout",
|
|
26
|
+
"ordered",
|
|
27
|
+
"role",
|
|
28
|
+
"tabIndex",
|
|
29
|
+
"text",
|
|
30
|
+
"size",
|
|
31
|
+
"variant",
|
|
32
|
+
"xpadding"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"presets": [
|
|
37
|
+
{
|
|
38
|
+
"name": "Default",
|
|
39
|
+
"props": {},
|
|
40
|
+
"children": "List content"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"conditionals": {},
|
|
44
|
+
"hints": {}
|
|
45
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<LoadingInline{{props}} />",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"align": "left",
|
|
6
|
+
"text": "Loading",
|
|
7
|
+
"variant": "dotted"
|
|
8
|
+
},
|
|
9
|
+
"groups": [
|
|
10
|
+
{
|
|
11
|
+
"name": "Content",
|
|
12
|
+
"props": [
|
|
13
|
+
"text"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "Behavior",
|
|
18
|
+
"props": [
|
|
19
|
+
"align"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Appearance",
|
|
24
|
+
"props": [
|
|
25
|
+
"variant"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"presets": [
|
|
30
|
+
{
|
|
31
|
+
"name": "Align left",
|
|
32
|
+
"props": {
|
|
33
|
+
"align": "left"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "Align center",
|
|
38
|
+
"props": {
|
|
39
|
+
"align": "center"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Align right",
|
|
44
|
+
"props": {
|
|
45
|
+
"align": "right"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "Solid spinner",
|
|
50
|
+
"props": {
|
|
51
|
+
"align": "center",
|
|
52
|
+
"variant": "solid",
|
|
53
|
+
"text": " Loading"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "Custom label",
|
|
58
|
+
"props": {
|
|
59
|
+
"align": "left",
|
|
60
|
+
"text": " Saving changes…"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"conditionals": {},
|
|
65
|
+
"hints": {}
|
|
66
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"groups": [
|
|
3
|
+
{ "name": "Content", "props": ["text"] },
|
|
4
|
+
{ "name": "Behavior", "props": ["align"] },
|
|
5
|
+
{ "name": "Appearance", "props": ["variant"] }
|
|
6
|
+
],
|
|
7
|
+
"presets": [
|
|
8
|
+
{ "name": "Align left", "props": { "align": "left" } },
|
|
9
|
+
{ "name": "Align center", "props": { "align": "center" } },
|
|
10
|
+
{ "name": "Align right", "props": { "align": "right" } },
|
|
11
|
+
{
|
|
12
|
+
"name": "Solid spinner",
|
|
13
|
+
"props": { "align": "center", "variant": "solid", "text": " Loading" }
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "Custom label",
|
|
17
|
+
"props": {
|
|
18
|
+
"align": "left",
|
|
19
|
+
"text": " Saving changes…"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"conditionals": {},
|
|
24
|
+
"hints": {}
|
|
25
|
+
}
|
|
@@ -2,8 +2,8 @@ This kit provides a wrapping class to place around the MapLibre library. Complet
|
|
|
2
2
|
|
|
3
3
|
Basic setup to start using MapLibre:
|
|
4
4
|
- Install the npm package using `yarn add maplibre-gl`
|
|
5
|
-
- To include the maplibre css, include a link to the CSS file as a CDN in your stylesheet using the following syntax: `@import url("https://unpkg.com/maplibre-gl@
|
|
6
|
-
OR include it as a link in the <head> tag `<link href='https://unpkg.com/maplibre-gl@
|
|
5
|
+
- To include the maplibre css, include a link to the CSS file as a CDN in your stylesheet using the following syntax: `@import url("https://unpkg.com/maplibre-gl@4.7.1/dist/maplibre-gl.css");`
|
|
6
|
+
OR include it as a link in the <head> tag `<link href='https://unpkg.com/maplibre-gl@4.7.1/dist/maplibre-gl.css' rel='stylesheet' />`
|
|
7
7
|
- You can now use MapLibre within the Map Kit as shown in this example.
|
|
8
8
|
|
|
9
9
|
__Notes__ :
|
|
@@ -4,6 +4,12 @@ import mapTheme from '../../pb_map/pbMapTheme'
|
|
|
4
4
|
import maplibregl from 'maplibre-gl'
|
|
5
5
|
import MapboxDraw from "@mapbox/mapbox-gl-draw";
|
|
6
6
|
|
|
7
|
+
// MapLibre 3+ uses maplibregl-* classes; mapbox-gl-draw still defaults to mapboxgl-*. These overrides allow Plugin to work with MapLibre 4.7.1.
|
|
8
|
+
MapboxDraw.constants.classes.CONTROL_BASE = "maplibregl-ctrl"
|
|
9
|
+
MapboxDraw.constants.classes.CONTROL_PREFIX = "maplibregl-ctrl-"
|
|
10
|
+
MapboxDraw.constants.classes.CONTROL_GROUP = "maplibregl-ctrl-group"
|
|
11
|
+
MapboxDraw.constants.classes.ATTRIBUTION = "maplibregl-ctrl-attrib"
|
|
12
|
+
|
|
7
13
|
const MapWithPlugin = (props) => {
|
|
8
14
|
//set Map instance to access from outside useEffect
|
|
9
15
|
const [mapInstance, setMapInstance] = useState(null)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Map{{props}} />",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {},
|
|
5
|
+
"groups": [
|
|
6
|
+
{
|
|
7
|
+
"name": "Props",
|
|
8
|
+
"props": [
|
|
9
|
+
"zoomBtns",
|
|
10
|
+
"flyTo",
|
|
11
|
+
"zoomInClick",
|
|
12
|
+
"zoomOutClick",
|
|
13
|
+
"flyToClick"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"presets": [
|
|
18
|
+
{
|
|
19
|
+
"name": "Default",
|
|
20
|
+
"props": {}
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"conditionals": {},
|
|
24
|
+
"hints": {}
|
|
25
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "<Message{{props}}>{{children}}</Message>",
|
|
3
|
+
"propTargets": {},
|
|
4
|
+
"defaults": {
|
|
5
|
+
"avatarGrayscale": false,
|
|
6
|
+
"timezone": "America/New_York",
|
|
7
|
+
"alignTimestamp": "right"
|
|
8
|
+
},
|
|
9
|
+
"children": {
|
|
10
|
+
"editable": true,
|
|
11
|
+
"default": "Message content"
|
|
12
|
+
},
|
|
13
|
+
"groups": [
|
|
14
|
+
{
|
|
15
|
+
"name": "Props",
|
|
16
|
+
"props": [
|
|
17
|
+
"avatarGrayscale",
|
|
18
|
+
"avatarName",
|
|
19
|
+
"avatarStatus",
|
|
20
|
+
"avatarUrl",
|
|
21
|
+
"label",
|
|
22
|
+
"message",
|
|
23
|
+
"timestamp",
|
|
24
|
+
"timestampObject",
|
|
25
|
+
"timezone",
|
|
26
|
+
"alignTimestamp"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"presets": [
|
|
31
|
+
{
|
|
32
|
+
"name": "Default",
|
|
33
|
+
"props": {},
|
|
34
|
+
"children": "Message content"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"conditionals": {},
|
|
38
|
+
"hints": {}
|
|
39
|
+
}
|