playbook_ui 18.2.0 → 18.3.0.pre.alpha.PLAY3342advancedtablereactmulticolumnselectablerow21082
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/Components/CollapsibleTrail.tsx +8 -1
- data/app/pb_kits/playbook/pb_advanced_table/Components/RegularTableView.tsx +39 -8
- data/app/pb_kits/playbook/pb_advanced_table/Components/TableActionBar.tsx +62 -2
- data/app/pb_kits/playbook/pb_advanced_table/Components/VirtualizedTableView.tsx +24 -4
- data/app/pb_kits/playbook/pb_advanced_table/SubKits/TableHeader.tsx +105 -66
- data/app/pb_kits/playbook/pb_advanced_table/Utilities/RowUtils.ts +29 -0
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +83 -5
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +3 -0
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.html.erb +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.rb +8 -0
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +1100 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility.md +5 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_custom.md +3 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_multi_select_all.jsx +82 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_multi_select_all.md +3 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_with_state.md +3 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_group_separators.jsx +67 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_group_separators.md +7 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_group_separators_rails.html.erb +78 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_group_separators_rails.md +3 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.jsx +177 -58
- data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.json +17 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.overrides.json +8 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_group_separators.json +328 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +3 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_advanced_table/index.js +39 -2
- data/app/pb_kits/playbook/pb_advanced_table/kit.schema.json +44 -16
- data/app/pb_kits/playbook/pb_advanced_table/table_body.html.erb +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +53 -23
- data/app/pb_kits/playbook/pb_advanced_table/table_header.rb +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +2 -0
- data/app/pb_kits/playbook/pb_avatar/_avatar.tsx +3 -1
- data/app/pb_kits/playbook/pb_avatar/kit.schema.json +23 -10
- data/app/pb_kits/playbook/pb_background/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_background/kit.schema.json +10 -3
- data/app/pb_kits/playbook/pb_badge/docs/_playground.json +2 -0
- data/app/pb_kits/playbook/pb_badge/kit.schema.json +27 -13
- data/app/pb_kits/playbook/pb_body/docs/_playground.json +3 -3
- data/app/pb_kits/playbook/pb_body/kit.schema.json +14 -5
- data/app/pb_kits/playbook/pb_button/_button.tsx +3 -1
- data/app/pb_kits/playbook/pb_button/button.rb +3 -0
- data/app/pb_kits/playbook/pb_button/button.test.js +154 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_options_rails.md +5 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_options_react.md +9 -0
- data/app/pb_kits/playbook/pb_button/docs/_playground.json +4 -2
- data/app/pb_kits/playbook/pb_button/docs/_playground.overrides.json +1 -1
- data/app/pb_kits/playbook/pb_button/docs/example.yml +1 -1
- data/app/pb_kits/playbook/pb_button/kit.schema.json +31 -27
- data/app/pb_kits/playbook/pb_caption/kit.schema.json +17 -7
- data/app/pb_kits/playbook/pb_card/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_card/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_playground.json +6 -1
- data/app/pb_kits/playbook/pb_checkbox/kit.schema.json +10 -5
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +4 -4
- data/app/pb_kits/playbook/pb_collapsible/collapsible.test.js +81 -2
- data/app/pb_kits/playbook/pb_contact/_contact.tsx +4 -1
- data/app/pb_kits/playbook/pb_contact/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_contact/kit.schema.json +3 -1
- data/app/pb_kits/playbook/pb_copy_button/docs/_playground.json +5 -1
- data/app/pb_kits/playbook/pb_copy_button/kit.schema.json +10 -5
- data/app/pb_kits/playbook/pb_currency/docs/_playground.json +1 -1
- data/app/pb_kits/playbook/pb_currency/kit.schema.json +6 -2
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_playground.json +2 -2
- data/app/pb_kits/playbook/pb_dashboard_value/kit.schema.json +4 -2
- data/app/pb_kits/playbook/pb_date/_date.tsx +3 -1
- data/app/pb_kits/playbook/pb_date/date.test.js +1 -1
- data/app/pb_kits/playbook/pb_date/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_date/kit.schema.json +17 -7
- data/app/pb_kits/playbook/pb_date_picker/date_picker.test.js +4 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_playground.json +4 -1
- data/app/pb_kits/playbook/pb_date_picker/kit.schema.json +32 -14
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.tsx +3 -1
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_date_range_inline/kit.schema.json +3 -1
- data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.tsx +3 -1
- data/app/pb_kits/playbook/pb_date_range_stacked/kit.schema.json +1 -0
- data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.tsx +4 -1
- data/app/pb_kits/playbook/pb_date_stacked/date_stacked.test.js +1 -0
- data/app/pb_kits/playbook/pb_date_stacked/kit.schema.json +1 -0
- data/app/pb_kits/playbook/pb_date_time/_date_time.tsx +3 -1
- data/app/pb_kits/playbook/pb_date_time/dateTime.test.js +1 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_playground.json +2 -1
- data/app/pb_kits/playbook/pb_date_time/kit.schema.json +3 -1
- data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.tsx +2 -1
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/kit.schema.json +3 -1
- data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.tsx +3 -1
- data/app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.test.js +1 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/kit.schema.json +1 -0
- data/app/pb_kits/playbook/pb_detail/docs/_playground.json +2 -1
- data/app/pb_kits/playbook/pb_detail/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_playground.json +1 -1
- data/app/pb_kits/playbook/pb_dialog/kit.schema.json +22 -9
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.json +2 -2
- data/app/pb_kits/playbook/pb_distribution_bar/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_draggable/utilities/touchDrag.ts +10 -0
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +112 -0
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.tsx +121 -15
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_draggable_pills.html.erb +51 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_draggable_pills.jsx +62 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_draggable_pills_rails.md +9 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_draggable_pills_react.md +9 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_form.jsx +50 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_form_react.md +9 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_option_creation.html.erb +16 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_option_creation.jsx +27 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_option_creation_rails.md +9 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_option_creation_react.md +9 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_playground.json +39 -3
- data/app/pb_kits/playbook/pb_dropdown/docs/_playground.overrides.json +13 -2
- data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +5 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/index.js +4 -1
- data/app/pb_kits/playbook/pb_dropdown/dropdown.html.erb +2 -2
- data/app/pb_kits/playbook/pb_dropdown/dropdown.rb +24 -1
- data/app/pb_kits/playbook/pb_dropdown/dropdown.test.jsx +235 -1
- data/app/pb_kits/playbook/pb_dropdown/dropdown_creation.test.jsx +414 -0
- data/app/pb_kits/playbook/pb_dropdown/dropdown_form.test.jsx +173 -0
- data/app/pb_kits/playbook/pb_dropdown/dropdown_index.test.js +545 -0
- data/app/pb_kits/playbook/pb_dropdown/hooks/useHandleOnKeydown.tsx +22 -5
- data/app/pb_kits/playbook/pb_dropdown/index.js +260 -37
- data/app/pb_kits/playbook/pb_dropdown/keyboard_accessibility.js +3 -1
- data/app/pb_kits/playbook/pb_dropdown/kit.schema.json +59 -9
- data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownContainer.tsx +43 -25
- data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownFormFields.tsx +83 -0
- data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownOption.tsx +13 -5
- data/app/pb_kits/playbook/pb_dropdown/subcomponents/MultiSelectTriggerDisplay.tsx +336 -31
- data/app/pb_kits/playbook/pb_dropdown/utilities/optionCreation.ts +21 -0
- data/app/pb_kits/playbook/pb_dropdown/utilities/pillReorder.js +281 -0
- data/app/pb_kits/playbook/pb_dropdown/utilities/quickpickDateSync.test.ts +24 -0
- data/app/pb_kits/playbook/pb_dropdown/utilities/usePillDropIndicator.ts +144 -0
- data/app/pb_kits/playbook/pb_empty_state/docs/_playground.json +1 -1
- data/app/pb_kits/playbook/pb_empty_state/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_file_upload/docs/_playground.json +3 -2
- data/app/pb_kits/playbook/pb_file_upload/kit.schema.json +8 -3
- data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.tsx +8 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_one_click.html.erb +38 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_one_click.jsx +69 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_one_click.md +1 -0
- data/app/pb_kits/playbook/pb_filter/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_filter/docs/index.js +2 -1
- data/app/pb_kits/playbook/pb_filter/filter.html.erb +4 -4
- data/app/pb_kits/playbook/pb_filter/filter.rb +28 -0
- data/app/pb_kits/playbook/pb_filter/filter.test.js +41 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_playground.json +4 -4
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.test.js +1 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/kit.schema.json +6 -3
- data/app/pb_kits/playbook/pb_flex/docs/_playground.json +3 -0
- data/app/pb_kits/playbook/pb_flex/kit.schema.json +27 -12
- data/app/pb_kits/playbook/pb_form/docs/_description_react.md +3 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_default_values.jsx +898 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_default_values_react.md +3 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_defaults.jsx +879 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_defaults_react.md +29 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_loading.jsx +75 -0
- data/app/pb_kits/playbook/pb_form/docs/{_form_loading.md → _form_loading_rails.md} +1 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_loading_react.md +1 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_model_values.jsx +147 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_model_values_react.md +16 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_multi_column.jsx +164 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_multi_column_react.md +3 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_validation.jsx +1057 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_validation_react.md +26 -0
- data/app/pb_kits/playbook/pb_form/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_form/form.rb +1 -1
- data/app/pb_kits/playbook/pb_form/kit.schema.json +1 -6
- data/app/pb_kits/playbook/pb_form/pb_form_validation.js +1 -0
- data/app/pb_kits/playbook/pb_form_group/_form_group.scss +1 -4
- data/app/pb_kits/playbook/pb_form_pill/docs/_playground.json +3 -0
- data/app/pb_kits/playbook/pb_form_pill/kit.schema.json +6 -3
- data/app/pb_kits/playbook/pb_full_screen/_full_screen.scss +6 -0
- data/app/pb_kits/playbook/pb_full_screen/_full_screen.tsx +11 -2
- data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_advanced_table_sticky_header.jsx +73 -0
- data/app/pb_kits/playbook/pb_full_screen/docs/_full_screen_advanced_table_sticky_header.md +1 -0
- data/app/pb_kits/playbook/pb_full_screen/docs/_playground.json +3 -3
- data/app/pb_kits/playbook/pb_full_screen/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_full_screen/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_full_screen/full_screen.test.jsx +4 -2
- data/app/pb_kits/playbook/pb_full_screen/kit.schema.json +8 -4
- data/app/pb_kits/playbook/pb_hashtag/docs/_playground.json +2 -2
- data/app/pb_kits/playbook/pb_hashtag/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_highlight/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_icon/_icon.tsx +6 -1
- data/app/pb_kits/playbook/pb_icon/docs/_playground.json +2 -2
- data/app/pb_kits/playbook/pb_icon/kit.schema.json +31 -13
- data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx +3 -1
- data/app/pb_kits/playbook/pb_icon_circle/docs/_playground.json +2 -2
- data/app/pb_kits/playbook/pb_icon_circle/kit.schema.json +3 -1
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_playground.json +3 -2
- data/app/pb_kits/playbook/pb_icon_stat_value/kit.schema.json +4 -2
- data/app/pb_kits/playbook/pb_image/_image.tsx +5 -3
- data/app/pb_kits/playbook/pb_image/docs/_playground.json +27 -27
- data/app/pb_kits/playbook/pb_image/kit.schema.json +57 -24
- data/app/pb_kits/playbook/pb_label_pill/_label_pill.tsx +3 -1
- data/app/pb_kits/playbook/pb_label_pill/kit.schema.json +1 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_playground.json +2 -2
- data/app/pb_kits/playbook/pb_label_value/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_layout/docs/_playground.json +2 -2
- data/app/pb_kits/playbook/pb_layout/kit.schema.json +43 -20
- data/app/pb_kits/playbook/pb_legend/_legend.tsx +3 -1
- data/app/pb_kits/playbook/pb_legend/docs/_playground.json +2 -2
- data/app/pb_kits/playbook/pb_legend/kit.schema.json +3 -1
- data/app/pb_kits/playbook/pb_lightbox/_lightbox.tsx +2 -2
- data/app/pb_kits/playbook/pb_lightbox/kit.schema.json +84 -0
- data/app/pb_kits/playbook/pb_link/docs/_playground.json +6 -3
- data/app/pb_kits/playbook/pb_link/kit.schema.json +14 -6
- data/app/pb_kits/playbook/pb_list/_list_item.tsx +6 -3
- data/app/pb_kits/playbook/pb_list/docs/_playground.json +2 -2
- data/app/pb_kits/playbook/pb_list/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_loading_inline/docs/_playground.json +0 -1
- data/app/pb_kits/playbook/pb_loading_inline/kit.schema.json +4 -1
- data/app/pb_kits/playbook/pb_map/docs/_map_default.md +22 -3
- data/app/pb_kits/playbook/pb_map/kit.schema.json +4 -6
- data/app/pb_kits/playbook/pb_message/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +4 -1
- data/app/pb_kits/playbook/pb_multiple_users/docs/_playground.json +2 -1
- data/app/pb_kits/playbook/pb_multiple_users/kit.schema.json +19 -11
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_nav/_nav_item.test.js +17 -0
- data/app/pb_kits/playbook/pb_nav/docs/_playground.json +2 -0
- data/app/pb_kits/playbook/pb_nav/kit.schema.json +4 -2
- data/app/pb_kits/playbook/pb_online_status/_online_status.tsx +3 -1
- data/app/pb_kits/playbook/pb_online_status/kit.schema.json +1 -0
- data/app/pb_kits/playbook/pb_overlay/docs/_playground.json +3 -3
- data/app/pb_kits/playbook/pb_overlay/kit.schema.json +22 -12
- data/app/pb_kits/playbook/pb_pagination/kit.schema.json +6 -3
- data/app/pb_kits/playbook/pb_passphrase/docs/_playground.json +6 -4
- data/app/pb_kits/playbook/pb_passphrase/kit.schema.json +10 -5
- data/app/pb_kits/playbook/pb_pb_bar_graph/pbbargraph.test.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_circle_chart/pb_circle_chart.test.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_gauge_chart/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_pb_gauge_chart/pb_gauge_chart.test.jsx +1 -2
- data/app/pb_kits/playbook/pb_pb_line_graph/pb_line_graph.test.jsx +1 -2
- data/app/pb_kits/playbook/pb_person/_person.tsx +3 -1
- data/app/pb_kits/playbook/pb_person/kit.schema.json +1 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_playground.json +3 -3
- data/app/pb_kits/playbook/pb_person_contact/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss +3 -7
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_playground.json +3 -0
- data/app/pb_kits/playbook/pb_phone_number_input/img/flags.webp +0 -0
- data/app/pb_kits/playbook/pb_phone_number_input/img/flags@2x.webp +0 -0
- data/app/pb_kits/playbook/pb_phone_number_input/img/globe.webp +0 -0
- data/app/pb_kits/playbook/pb_phone_number_input/img/globe@2x.webp +0 -0
- data/app/pb_kits/playbook/pb_phone_number_input/intlTelInput.scss +13 -6
- data/app/pb_kits/playbook/pb_phone_number_input/kit.schema.json +6 -3
- data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input_assets.test.js +61 -0
- data/app/pb_kits/playbook/pb_pill/_pill.tsx +3 -1
- data/app/pb_kits/playbook/pb_pill/kit.schema.json +1 -0
- data/app/pb_kits/playbook/pb_popover/docs/_playground.json +1 -2
- data/app/pb_kits/playbook/pb_popover/index.ts +47 -8
- data/app/pb_kits/playbook/pb_popover/kit.schema.json +18 -9
- data/app/pb_kits/playbook/pb_popover/popover_index.test.js +456 -0
- data/app/pb_kits/playbook/pb_progress_pills/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_progress_pills/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_progress_simple/docs/_playground.json +3 -2
- data/app/pb_kits/playbook/pb_progress_simple/kit.schema.json +4 -2
- data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.tsx +3 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_playground.json +10 -3
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_playground.overrides.json +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_required_indicator.md +2 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_default.md +3 -4
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_extensions.md +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_markdown_support.md +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_required_indicator.html.erb +9 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_required_indicator.md +3 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/kit.schema.json +18 -9
- data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.html.erb +3 -7
- data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor_rails.js +26 -21
- data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor_rails.test.js +85 -1
- data/app/pb_kits/playbook/pb_selectable_card/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_selectable_card/kit.schema.json +4 -2
- data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.scss +0 -9
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx +1 -1
- data/app/pb_kits/playbook/pb_selectable_card_icon/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss +0 -7
- data/app/pb_kits/playbook/pb_source/_source.tsx +3 -1
- data/app/pb_kits/playbook/pb_source/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_source/kit.schema.json +3 -1
- data/app/pb_kits/playbook/pb_source/source.rb +1 -1
- data/app/pb_kits/playbook/pb_star_rating/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_star_rating/kit.schema.json +15 -7
- data/app/pb_kits/playbook/pb_stat_change/_stat_change.tsx +3 -1
- data/app/pb_kits/playbook/pb_stat_change/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_stat_change/kit.schema.json +3 -1
- data/app/pb_kits/playbook/pb_stat_value/docs/_playground.json +3 -1
- data/app/pb_kits/playbook/pb_stat_value/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_playground.json +5 -1
- data/app/pb_kits/playbook/pb_table/kit.schema.json +28 -11
- data/app/pb_kits/playbook/pb_text_input/docs/_playground.json +3 -0
- data/app/pb_kits/playbook/pb_text_input/kit.schema.json +22 -9
- data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +4 -1
- data/app/pb_kits/playbook/pb_time/kit.schema.json +13 -5
- data/app/pb_kits/playbook/pb_time_picker/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_time_picker/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.tsx +3 -1
- data/app/pb_kits/playbook/pb_time_range_inline/kit.schema.json +13 -5
- data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.tsx +3 -1
- data/app/pb_kits/playbook/pb_time_stacked/kit.schema.json +1 -0
- data/app/pb_kits/playbook/pb_timeline/_item.tsx +3 -1
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.tsx +3 -1
- data/app/pb_kits/playbook/pb_timestamp/kit.schema.json +1 -0
- data/app/pb_kits/playbook/pb_timestamp/timestamp.test.js +1 -0
- data/app/pb_kits/playbook/pb_title/kit.schema.json +23 -10
- data/app/pb_kits/playbook/pb_title_count/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_title_count/kit.schema.json +2 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/_playground.json +5 -1
- data/app/pb_kits/playbook/pb_tooltip/kit.schema.json +10 -5
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +73 -0
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +285 -12
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +22 -14
- data/app/pb_kits/playbook/pb_typeahead/components/PillRenderer.tsx +15 -11
- data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.tsx +29 -30
- data/app/pb_kits/playbook/pb_typeahead/components/usePillDropIndicator.ts +155 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_playground.json +5 -5
- data/app/pb_kits/playbook/pb_typeahead/docs/_playground.overrides.json +2 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_draggable_pills.html.erb +0 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_draggable_pills.jsx +0 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_draggable_pills_rails.md +3 -3
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_draggable_pills_react.md +7 -0
- data/app/pb_kits/playbook/pb_typeahead/kit.schema.json +3 -3
- data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +3 -3
- data/app/pb_kits/playbook/pb_user/_user.tsx +3 -1
- data/app/pb_kits/playbook/pb_user/docs/_playground.json +3 -1
- data/app/pb_kits/playbook/pb_user/kit.schema.json +20 -9
- data/app/pb_kits/playbook/pb_user_badge/_user_badge.tsx +3 -1
- data/app/pb_kits/playbook/pb_user_badge/kit.schema.json +1 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.tsx +3 -1
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_playground.json +1 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/kit.schema.json +3 -1
- data/app/pb_kits/playbook/pb_weekday_stacked/weekday_stacked.test.jsx +1 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/onClick.test.js +471 -0
- data/app/pb_kits/playbook/utilities/test-utils.js +0 -1
- data/dist/ai/all-schemas.json +986 -388
- data/dist/ai/external-dependencies.json +1 -1
- data/dist/ai/forms.json +2 -2
- data/dist/ai/index.json +11 -3
- data/dist/ai/kits/advanced_table.schema.json +44 -16
- data/dist/ai/kits/avatar.schema.json +22 -9
- data/dist/ai/kits/background.schema.json +10 -3
- data/dist/ai/kits/badge.schema.json +26 -12
- data/dist/ai/kits/body.schema.json +14 -5
- data/dist/ai/kits/button.schema.json +29 -25
- data/dist/ai/kits/caption.schema.json +17 -7
- data/dist/ai/kits/card.schema.json +2 -1
- data/dist/ai/kits/checkbox.schema.json +10 -5
- data/dist/ai/kits/contact.schema.json +3 -1
- data/dist/ai/kits/copy_button.schema.json +10 -5
- data/dist/ai/kits/currency.schema.json +6 -2
- data/dist/ai/kits/dashboard_value.schema.json +4 -2
- data/dist/ai/kits/date.schema.json +16 -6
- data/dist/ai/kits/date_picker.schema.json +31 -13
- data/dist/ai/kits/date_range_inline.schema.json +3 -1
- data/dist/ai/kits/date_range_stacked.schema.json +1 -0
- data/dist/ai/kits/date_stacked.schema.json +1 -0
- data/dist/ai/kits/date_time.schema.json +3 -1
- data/dist/ai/kits/date_time_stacked.schema.json +3 -1
- data/dist/ai/kits/date_year_stacked.schema.json +1 -0
- data/dist/ai/kits/detail.schema.json +2 -1
- data/dist/ai/kits/dialog.schema.json +22 -9
- data/dist/ai/kits/distribution_bar.schema.json +2 -1
- data/dist/ai/kits/dropdown.schema.json +98 -18
- data/dist/ai/kits/empty_state.schema.json +2 -1
- data/dist/ai/kits/file_upload.schema.json +8 -3
- data/dist/ai/kits/fixed_confirmation_toast.schema.json +6 -3
- data/dist/ai/kits/flex.schema.json +27 -12
- data/dist/ai/kits/form.schema.json +1 -6
- data/dist/ai/kits/form_pill.schema.json +6 -3
- data/dist/ai/kits/full_screen.schema.json +8 -4
- data/dist/ai/kits/hashtag.schema.json +2 -1
- data/dist/ai/kits/highlight.schema.json +2 -1
- data/dist/ai/kits/icon.schema.json +31 -13
- data/dist/ai/kits/icon_circle.schema.json +3 -1
- data/dist/ai/kits/icon_stat_value.schema.json +4 -2
- data/dist/ai/kits/image.schema.json +57 -24
- data/dist/ai/kits/label_pill.schema.json +1 -0
- data/dist/ai/kits/label_value.schema.json +2 -1
- data/dist/ai/kits/layout.schema.json +43 -20
- data/dist/ai/kits/legend.schema.json +3 -1
- data/dist/ai/kits/lightbox.schema.json +86 -0
- data/dist/ai/kits/link.schema.json +14 -6
- data/dist/ai/kits/list.schema.json +2 -1
- data/dist/ai/kits/loading_inline.schema.json +4 -1
- data/dist/ai/kits/map.schema.json +4 -7
- data/dist/ai/kits/message.schema.json +2 -1
- data/dist/ai/kits/multiple_users.schema.json +19 -11
- data/dist/ai/kits/multiple_users_stacked.schema.json +2 -1
- data/dist/ai/kits/nav.schema.json +4 -2
- data/dist/ai/kits/online_status.schema.json +1 -0
- data/dist/ai/kits/overlay.schema.json +22 -12
- data/dist/ai/kits/pagination.schema.json +6 -3
- data/dist/ai/kits/passphrase.schema.json +10 -5
- data/dist/ai/kits/pb_gauge_chart.schema.json +2 -1
- data/dist/ai/kits/person.schema.json +1 -0
- data/dist/ai/kits/person_contact.schema.json +2 -1
- data/dist/ai/kits/phone_number_input.schema.json +6 -3
- data/dist/ai/kits/pill.schema.json +1 -0
- data/dist/ai/kits/popover.schema.json +17 -8
- data/dist/ai/kits/progress_pills.schema.json +2 -1
- data/dist/ai/kits/progress_simple.schema.json +4 -2
- data/dist/ai/kits/rich_text_editor.schema.json +19 -10
- data/dist/ai/kits/selectable_card.schema.json +4 -2
- data/dist/ai/kits/selectable_card_icon.schema.json +2 -1
- data/dist/ai/kits/source.schema.json +3 -1
- data/dist/ai/kits/star_rating.schema.json +15 -7
- data/dist/ai/kits/stat_change.schema.json +3 -1
- data/dist/ai/kits/stat_value.schema.json +2 -1
- data/dist/ai/kits/table.schema.json +28 -11
- data/dist/ai/kits/text_input.schema.json +22 -9
- data/dist/ai/kits/time.schema.json +12 -4
- data/dist/ai/kits/time_picker.schema.json +2 -1
- data/dist/ai/kits/time_range_inline.schema.json +13 -5
- data/dist/ai/kits/time_stacked.schema.json +1 -0
- data/dist/ai/kits/timestamp.schema.json +1 -0
- data/dist/ai/kits/title.schema.json +23 -10
- data/dist/ai/kits/title_count.schema.json +2 -1
- data/dist/ai/kits/tooltip.schema.json +10 -5
- data/dist/ai/kits/typeahead.schema.json +3 -3
- data/dist/ai/kits/user.schema.json +20 -9
- data/dist/ai/kits/user_badge.schema.json +1 -0
- data/dist/ai/kits/weekday_stacked.schema.json +3 -1
- data/dist/ai/playgrounds/advanced_table.json +1 -1
- data/dist/ai/playgrounds/dropdown.json +1 -1
- data/dist/ai/playgrounds/index.json +1 -1
- data/dist/ai/playgrounds/rich_text_editor.json +1 -1
- data/dist/ai/playgrounds/typeahead.json +1 -1
- data/dist/ai/visual-index.json +1 -1
- data/dist/chunks/_pagination-DZ0eQuH2.js +1 -0
- data/dist/chunks/{_pb_line_graph-Du7xE9vl.js → _pb_line_graph-DyvH5Zj1.js} +1 -1
- data/dist/chunks/{_detail-Bsvl694i.js → _tooltip-CFbtqu-E.js} +2 -2
- data/dist/chunks/_typeahead-CkiAf8zx.js +1 -0
- data/dist/chunks/{globalProps-B120NbSJ.js → globalProps-xfGTpdLP.js} +1 -1
- data/dist/chunks/index-4jrZjexD.js +1 -0
- data/dist/chunks/index-BAy61y8S.js +1 -0
- data/dist/chunks/index-Cb_SDipk.js +1 -0
- data/dist/chunks/index-D3RdsDp7.js +1 -0
- data/dist/chunks/index-D8PZIesy.js +1 -0
- data/dist/chunks/index-DIoc-aua.js +1 -0
- data/dist/chunks/index-qex65UMn.js +1 -0
- data/dist/chunks/lib-Cu_i0y0k.js +29 -0
- data/dist/chunks/{time_picker_helper-CYGg0UQ0.js → time_picker_helper-B82MORju.js} +1 -1
- data/dist/chunks/vendor.js +2 -2
- data/dist/menu.yml +3 -3
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/changelog_generator.rb +47 -21
- data/lib/playbook/connect_message_generator.rb +15 -2
- data/lib/playbook/version.rb +2 -2
- metadata +99 -23
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_draggable_pills.md +0 -7
- data/dist/chunks/_table-Bf6LGyL9.js +0 -1
- data/dist/chunks/_typeahead-w6S5Vx4b.js +0 -1
- data/dist/chunks/lib-Buo6zHEw.js +0 -29
- /data/app/pb_kits/playbook/pb_form/docs/{_description.md → _description_rails.md} +0 -0
- /data/app/pb_kits/playbook/pb_form/docs/{_form_default_values.md → _form_default_values_rails.md} +0 -0
- /data/app/pb_kits/playbook/pb_form/docs/{_form_defaults.md → _form_defaults_rails.md} +0 -0
- /data/app/pb_kits/playbook/pb_form/docs/{_form_model_values.md → _form_model_values_rails.md} +0 -0
- /data/app/pb_kits/playbook/pb_form/docs/{_form_multi_column.md → _form_multi_column_rails.md} +0 -0
- /data/app/pb_kits/playbook/pb_form/docs/{_form_validation.md → _form_validation_rails.md} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"description":"Kits that need host-app packages (from each kit’s docs/_playground.overrides.json → externalDependencies). Agents must NOT install packages — tell the user if they are missing.","bundledWithPlaybookUi":["flatpickr","intl-tel-input","@floating-ui/dom","@popperjs/core"],"kits":{"map":{"packages":["maplibre-gl"],"optional":true,"note":"Map wraps MapLibre. The host app must already have maplibre-gl (and any required CSS) installed. Agents must not install packages — tell the user if they are missing."},"pb_bar_graph":{"packages":["highcharts","highcharts-react-official"],"optional":true,"note":"This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.","docs":"https://api.highcharts.com/highcharts/"},"pb_circle_chart":{"packages":["highcharts","highcharts-react-official"],"optional":true,"note":"This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.","docs":"https://api.highcharts.com/highcharts/"},"pb_gauge_chart":{"packages":["highcharts","highcharts-react-official"],"optional":true,"note":"This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.","docs":"https://api.highcharts.com/highcharts/"},"pb_line_graph":{"packages":["highcharts","highcharts-react-official"],"optional":true,"note":"This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.","docs":"https://api.highcharts.com/highcharts/"},"rich_text_editor":{"packages":["react-trix","trix","@tiptap/react","@tiptap/starter-kit","@tiptap/extension-link","prosemirror-markdown","prosemirror-model"],"optional":true,"note":"Default React editor uses Trix (pass TrixEditor from react-trix). Advanced React editor uses TipTap, and the host app must already have the needed packages installed. Agents must not install packages — tell the user if they are missing. Rails
|
|
1
|
+
{"description":"Kits that need host-app packages (from each kit’s docs/_playground.overrides.json → externalDependencies). Agents must NOT install packages — tell the user if they are missing.","bundledWithPlaybookUi":["flatpickr","intl-tel-input","@floating-ui/dom","@popperjs/core"],"kits":{"map":{"packages":["maplibre-gl"],"optional":true,"note":"Map wraps MapLibre. The host app must already have maplibre-gl (and any required CSS) installed. Agents must not install packages — tell the user if they are missing."},"pb_bar_graph":{"packages":["highcharts","highcharts-react-official"],"optional":true,"note":"This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.","docs":"https://api.highcharts.com/highcharts/"},"pb_circle_chart":{"packages":["highcharts","highcharts-react-official"],"optional":true,"note":"This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.","docs":"https://api.highcharts.com/highcharts/"},"pb_gauge_chart":{"packages":["highcharts","highcharts-react-official"],"optional":true,"note":"This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.","docs":"https://api.highcharts.com/highcharts/"},"pb_line_graph":{"packages":["highcharts","highcharts-react-official"],"optional":true,"note":"This kit wraps Highcharts and does not ship it. The host app must already have these packages installed before using the kit. Agents must not install packages — tell the user if they are missing.","docs":"https://api.highcharts.com/highcharts/"},"rich_text_editor":{"packages":["react-trix","trix","@tiptap/react","@tiptap/starter-kit","@tiptap/extension-link","prosemirror-markdown","prosemirror-model"],"optional":true,"note":"Default React editor uses Trix (pass TrixEditor from react-trix). Advanced React editor uses TipTap, and the host app must already have the needed packages installed. Agents must not install packages — tell the user if they are missing. Rails bundles TipTap in playbook-rails.js (no host packages needed) and accepts only these extension strings: underline, text_align, horizontal_rule, image."}}}
|
data/dist/ai/forms.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadataVersion": 1,
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.3.0-alpha.PLAY3342advancedtablereactmulticolumnselectablerow21082",
|
|
4
4
|
"builder": {
|
|
5
5
|
"class": "Playbook::Forms::Builder",
|
|
6
6
|
"helper": "pb_form_with",
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
"submission": {
|
|
558
558
|
"submits": true,
|
|
559
559
|
"value": "Selected option id in a CSS-hidden input (not input type=hidden).",
|
|
560
|
-
"multi": "
|
|
560
|
+
"multi": "syncHiddenInputs emits one hidden input per selected id in selection order, adds [] to the name only if absent and clears the original CSS-hidden input and removes its name while selections exist, so no blank array entry is submitted. When empty, the original name and required state are restored, including after Turbo reconnects. These submission fixes apply whether or not allow_option_creation is enabled. With enable_pill_reorder, drag or keyboard reordering updates that same selection order before syncHiddenInputs runs, so submitted values and pb:dropdown:reordered / pb:dropdown:selected details match the pill order. Comma-joining is used for default-value encoding, not as an additional submitted selection.",
|
|
561
561
|
"dynamicOptions": "props.options_by_context with props.context_selector replaces the rendered options when the referenced element fires change, and props.clear_on_context_change (default true) then clears the selection, so a context change can submit an empty value. A pb:dropdown:updateOptions event, or an event named in props.options_event_type, replaces options the same way; clearSelection: false keeps only selections whose id exists in the replacement options."
|
|
562
562
|
},
|
|
563
563
|
"validation": {
|
data/dist/ai/index.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "18.
|
|
2
|
+
"version": "18.3.0-alpha.PLAY3342advancedtablereactmulticolumnselectablerow21082",
|
|
3
3
|
"metadataVersion": 1,
|
|
4
4
|
"forms": "forms.json",
|
|
5
|
-
"generated": "2026-
|
|
5
|
+
"generated": "2026-11-13T19:49:26.825Z",
|
|
6
6
|
"schemas": {
|
|
7
7
|
"globalProps": "global-props.schema.json",
|
|
8
8
|
"globalEventProps": "global-event-props.schema.json",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"label_value": "kits/label_value.schema.json",
|
|
60
60
|
"layout": "kits/layout.schema.json",
|
|
61
61
|
"legend": "kits/legend.schema.json",
|
|
62
|
+
"lightbox": "kits/lightbox.schema.json",
|
|
62
63
|
"link": "kits/link.schema.json",
|
|
63
64
|
"list": "kits/list.schema.json",
|
|
64
65
|
"loading_inline": "kits/loading_inline.schema.json",
|
|
@@ -596,6 +597,13 @@
|
|
|
596
597
|
"schema": "kits/legend.schema.json",
|
|
597
598
|
"playground": "playgrounds/legend.json"
|
|
598
599
|
},
|
|
600
|
+
"lightbox": {
|
|
601
|
+
"category": "icons_and_images",
|
|
602
|
+
"description": "Fullscreen dimmed overlay for enlarged images or media that covers the viewport.",
|
|
603
|
+
"status": "stable",
|
|
604
|
+
"schema": "kits/lightbox.schema.json",
|
|
605
|
+
"playground": null
|
|
606
|
+
},
|
|
599
607
|
"link": {
|
|
600
608
|
"category": "typography",
|
|
601
609
|
"description": "Text link for navigation to other pages or sections.",
|
|
@@ -838,7 +846,7 @@
|
|
|
838
846
|
"prosemirror-model"
|
|
839
847
|
],
|
|
840
848
|
"optional": true,
|
|
841
|
-
"note": "Default React editor uses Trix (pass TrixEditor from react-trix). Advanced React editor uses TipTap, and the host app must already have the needed packages installed. Agents must not install packages — tell the user if they are missing. Rails
|
|
849
|
+
"note": "Default React editor uses Trix (pass TrixEditor from react-trix). Advanced React editor uses TipTap, and the host app must already have the needed packages installed. Agents must not install packages — tell the user if they are missing. Rails bundles TipTap in playbook-rails.js (no host packages needed) and accepts only these extension strings: underline, text_align, horizontal_rule, image."
|
|
842
850
|
}
|
|
843
851
|
},
|
|
844
852
|
"section_separator": {
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"type": "boolean",
|
|
22
22
|
"platforms": [
|
|
23
23
|
"react"
|
|
24
|
-
]
|
|
24
|
+
],
|
|
25
|
+
"default": false
|
|
25
26
|
},
|
|
26
27
|
"columnDefinitions": {
|
|
27
28
|
"type": "array",
|
|
@@ -36,15 +37,28 @@
|
|
|
36
37
|
"react",
|
|
37
38
|
"rails"
|
|
38
39
|
],
|
|
39
|
-
"values":
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
"values": {
|
|
41
|
+
"react": [
|
|
42
|
+
"text_lt_default",
|
|
43
|
+
"text_lt_light",
|
|
44
|
+
"text_lt_lighter",
|
|
45
|
+
"text_dk_default",
|
|
46
|
+
"text_dk_light",
|
|
47
|
+
"text_dk_lighter"
|
|
48
|
+
],
|
|
49
|
+
"rails": [
|
|
50
|
+
"text_lt_default",
|
|
51
|
+
"text_lt_light",
|
|
52
|
+
"text_lt_lighter",
|
|
53
|
+
"text_dk_default",
|
|
54
|
+
"text_dk_light",
|
|
55
|
+
"text_dk_lighter",
|
|
56
|
+
"none"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"default": {
|
|
60
|
+
"rails": "none"
|
|
61
|
+
}
|
|
48
62
|
},
|
|
49
63
|
"columnVisibilityControl": {
|
|
50
64
|
"type": "GenericObject",
|
|
@@ -75,7 +89,8 @@
|
|
|
75
89
|
"type": "boolean",
|
|
76
90
|
"platforms": [
|
|
77
91
|
"react"
|
|
78
|
-
]
|
|
92
|
+
],
|
|
93
|
+
"default": false
|
|
79
94
|
},
|
|
80
95
|
"expandedControl": {
|
|
81
96
|
"type": "GenericObject",
|
|
@@ -103,11 +118,20 @@
|
|
|
103
118
|
],
|
|
104
119
|
"default": false
|
|
105
120
|
},
|
|
121
|
+
"groupSeparators": {
|
|
122
|
+
"type": "boolean",
|
|
123
|
+
"platforms": [
|
|
124
|
+
"react",
|
|
125
|
+
"rails"
|
|
126
|
+
],
|
|
127
|
+
"default": false
|
|
128
|
+
},
|
|
106
129
|
"initialLoadingRowsCount": {
|
|
107
130
|
"type": "number",
|
|
108
131
|
"platforms": [
|
|
109
132
|
"react"
|
|
110
|
-
]
|
|
133
|
+
],
|
|
134
|
+
"default": 10
|
|
111
135
|
},
|
|
112
136
|
"inlineRowLoading": {
|
|
113
137
|
"type": "boolean",
|
|
@@ -162,7 +186,8 @@
|
|
|
162
186
|
"type": "boolean",
|
|
163
187
|
"platforms": [
|
|
164
188
|
"react"
|
|
165
|
-
]
|
|
189
|
+
],
|
|
190
|
+
"default": false
|
|
166
191
|
},
|
|
167
192
|
"paginationProps": {
|
|
168
193
|
"type": "GenericObject",
|
|
@@ -238,7 +263,8 @@
|
|
|
238
263
|
"type": "boolean",
|
|
239
264
|
"platforms": [
|
|
240
265
|
"react"
|
|
241
|
-
]
|
|
266
|
+
],
|
|
267
|
+
"default": false
|
|
242
268
|
},
|
|
243
269
|
"stickyLeftColumn": {
|
|
244
270
|
"type": "array",
|
|
@@ -270,7 +296,8 @@
|
|
|
270
296
|
"type": "string | string[]",
|
|
271
297
|
"platforms": [
|
|
272
298
|
"react"
|
|
273
|
-
]
|
|
299
|
+
],
|
|
300
|
+
"default": "arrows-from-line"
|
|
274
301
|
},
|
|
275
302
|
"onRowSelectionChange": {
|
|
276
303
|
"type": "function",
|
|
@@ -288,7 +315,8 @@
|
|
|
288
315
|
"type": "boolean",
|
|
289
316
|
"platforms": [
|
|
290
317
|
"react"
|
|
291
|
-
]
|
|
318
|
+
],
|
|
319
|
+
"default": false
|
|
292
320
|
},
|
|
293
321
|
"enableSorting": {
|
|
294
322
|
"type": "boolean",
|
|
@@ -59,14 +59,25 @@
|
|
|
59
59
|
"react",
|
|
60
60
|
"rails"
|
|
61
61
|
],
|
|
62
|
-
"values":
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
62
|
+
"values": {
|
|
63
|
+
"react": [
|
|
64
|
+
"md",
|
|
65
|
+
"lg",
|
|
66
|
+
"sm",
|
|
67
|
+
"xl",
|
|
68
|
+
"xs",
|
|
69
|
+
"xxs"
|
|
70
|
+
],
|
|
71
|
+
"rails": [
|
|
72
|
+
"xxs",
|
|
73
|
+
"xs",
|
|
74
|
+
"sm",
|
|
75
|
+
"md",
|
|
76
|
+
"base",
|
|
77
|
+
"lg",
|
|
78
|
+
"xl"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
70
81
|
"default": "md"
|
|
71
82
|
},
|
|
72
83
|
"status": {
|
|
@@ -79,10 +90,12 @@
|
|
|
79
90
|
"away",
|
|
80
91
|
"offline",
|
|
81
92
|
"online"
|
|
82
|
-
]
|
|
93
|
+
],
|
|
94
|
+
"default": null
|
|
83
95
|
}
|
|
84
96
|
},
|
|
85
97
|
"globalProps": true,
|
|
98
|
+
"globalEventProps": true,
|
|
86
99
|
"usage": {
|
|
87
100
|
"react": {
|
|
88
101
|
"import": "import { Avatar } from 'playbook-ui'",
|
|
@@ -112,7 +112,10 @@
|
|
|
112
112
|
"react",
|
|
113
113
|
"rails"
|
|
114
114
|
],
|
|
115
|
-
"default":
|
|
115
|
+
"default": {
|
|
116
|
+
"react": "",
|
|
117
|
+
"rails": null
|
|
118
|
+
}
|
|
116
119
|
},
|
|
117
120
|
"backgroundRepeat": {
|
|
118
121
|
"type": {
|
|
@@ -140,7 +143,8 @@
|
|
|
140
143
|
"platforms": [
|
|
141
144
|
"react",
|
|
142
145
|
"rails"
|
|
143
|
-
]
|
|
146
|
+
],
|
|
147
|
+
"default": ""
|
|
144
148
|
},
|
|
145
149
|
"imageOverlay": {
|
|
146
150
|
"type": "enum",
|
|
@@ -217,7 +221,10 @@
|
|
|
217
221
|
"blur",
|
|
218
222
|
"scale"
|
|
219
223
|
],
|
|
220
|
-
"default":
|
|
224
|
+
"default": {
|
|
225
|
+
"react": "",
|
|
226
|
+
"rails": null
|
|
227
|
+
}
|
|
221
228
|
}
|
|
222
229
|
},
|
|
223
230
|
"globalProps": true,
|
|
@@ -11,13 +11,15 @@
|
|
|
11
11
|
"type": "GenericObject",
|
|
12
12
|
"platforms": [
|
|
13
13
|
"react"
|
|
14
|
-
]
|
|
14
|
+
],
|
|
15
|
+
"default": {}
|
|
15
16
|
},
|
|
16
17
|
"removeIcon": {
|
|
17
18
|
"type": "boolean",
|
|
18
19
|
"platforms": [
|
|
19
20
|
"react"
|
|
20
|
-
]
|
|
21
|
+
],
|
|
22
|
+
"default": false
|
|
21
23
|
},
|
|
22
24
|
"removeOnClick": {
|
|
23
25
|
"type": "function",
|
|
@@ -52,16 +54,28 @@
|
|
|
52
54
|
"react",
|
|
53
55
|
"rails"
|
|
54
56
|
],
|
|
55
|
-
"values":
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
"values": {
|
|
58
|
+
"react": [
|
|
59
|
+
"error",
|
|
60
|
+
"info",
|
|
61
|
+
"neutral",
|
|
62
|
+
"notification",
|
|
63
|
+
"notificationError",
|
|
64
|
+
"primary",
|
|
65
|
+
"success",
|
|
66
|
+
"warning"
|
|
67
|
+
],
|
|
68
|
+
"rails": [
|
|
69
|
+
"success",
|
|
70
|
+
"warning",
|
|
71
|
+
"error",
|
|
72
|
+
"info",
|
|
73
|
+
"neutral",
|
|
74
|
+
"notification",
|
|
75
|
+
"notification_error",
|
|
76
|
+
"primary"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
65
79
|
"default": "neutral"
|
|
66
80
|
}
|
|
67
81
|
},
|
|
@@ -21,7 +21,10 @@
|
|
|
21
21
|
"error",
|
|
22
22
|
"success"
|
|
23
23
|
],
|
|
24
|
-
"default":
|
|
24
|
+
"default": {
|
|
25
|
+
"react": "",
|
|
26
|
+
"rails": "default"
|
|
27
|
+
}
|
|
25
28
|
},
|
|
26
29
|
"dark": {
|
|
27
30
|
"type": "boolean",
|
|
@@ -34,7 +37,8 @@
|
|
|
34
37
|
"platforms": [
|
|
35
38
|
"react",
|
|
36
39
|
"rails"
|
|
37
|
-
]
|
|
40
|
+
],
|
|
41
|
+
"default": []
|
|
38
42
|
},
|
|
39
43
|
"highlighting": {
|
|
40
44
|
"type": "boolean",
|
|
@@ -55,7 +59,10 @@
|
|
|
55
59
|
"negative",
|
|
56
60
|
"positive"
|
|
57
61
|
],
|
|
58
|
-
"default":
|
|
62
|
+
"default": {
|
|
63
|
+
"react": null,
|
|
64
|
+
"rails": "neutral"
|
|
65
|
+
}
|
|
59
66
|
},
|
|
60
67
|
"tag": {
|
|
61
68
|
"type": "enum",
|
|
@@ -81,7 +88,8 @@
|
|
|
81
88
|
"platforms": [
|
|
82
89
|
"react",
|
|
83
90
|
"rails"
|
|
84
|
-
]
|
|
91
|
+
],
|
|
92
|
+
"default": ""
|
|
85
93
|
},
|
|
86
94
|
"variant": {
|
|
87
95
|
"type": "enum",
|
|
@@ -90,7 +98,8 @@
|
|
|
90
98
|
],
|
|
91
99
|
"values": [
|
|
92
100
|
"link"
|
|
93
|
-
]
|
|
101
|
+
],
|
|
102
|
+
"default": null
|
|
94
103
|
}
|
|
95
104
|
},
|
|
96
105
|
"globalProps": true,
|
|
@@ -57,7 +57,8 @@
|
|
|
57
57
|
"platforms": [
|
|
58
58
|
"react",
|
|
59
59
|
"rails"
|
|
60
|
-
]
|
|
60
|
+
],
|
|
61
|
+
"default": null
|
|
61
62
|
},
|
|
62
63
|
"iconRight": {
|
|
63
64
|
"type": "boolean",
|
|
@@ -72,7 +73,8 @@
|
|
|
72
73
|
"platforms": [
|
|
73
74
|
"react",
|
|
74
75
|
"rails"
|
|
75
|
-
]
|
|
76
|
+
],
|
|
77
|
+
"default": null
|
|
76
78
|
},
|
|
77
79
|
"loading": {
|
|
78
80
|
"type": "boolean",
|
|
@@ -120,7 +122,8 @@
|
|
|
120
122
|
"platforms": [
|
|
121
123
|
"react",
|
|
122
124
|
"rails"
|
|
123
|
-
]
|
|
125
|
+
],
|
|
126
|
+
"default": ""
|
|
124
127
|
},
|
|
125
128
|
"text": {
|
|
126
129
|
"type": "string",
|
|
@@ -129,28 +132,6 @@
|
|
|
129
132
|
"rails"
|
|
130
133
|
]
|
|
131
134
|
},
|
|
132
|
-
"type": {
|
|
133
|
-
"type": "enum",
|
|
134
|
-
"platforms": [
|
|
135
|
-
"react",
|
|
136
|
-
"rails"
|
|
137
|
-
],
|
|
138
|
-
"values": [
|
|
139
|
-
"inline"
|
|
140
|
-
],
|
|
141
|
-
"default": "inline"
|
|
142
|
-
},
|
|
143
|
-
"htmlType": {
|
|
144
|
-
"type": "enum",
|
|
145
|
-
"platforms": [
|
|
146
|
-
"react"
|
|
147
|
-
],
|
|
148
|
-
"values": [
|
|
149
|
-
"submit",
|
|
150
|
-
"reset",
|
|
151
|
-
"button"
|
|
152
|
-
]
|
|
153
|
-
},
|
|
154
135
|
"value": {
|
|
155
136
|
"type": "string | null",
|
|
156
137
|
"platforms": [
|
|
@@ -173,12 +154,35 @@
|
|
|
173
154
|
],
|
|
174
155
|
"default": "primary"
|
|
175
156
|
},
|
|
157
|
+
"htmlType": {
|
|
158
|
+
"type": "enum",
|
|
159
|
+
"platforms": [
|
|
160
|
+
"react"
|
|
161
|
+
],
|
|
162
|
+
"values": [
|
|
163
|
+
"submit",
|
|
164
|
+
"reset",
|
|
165
|
+
"button"
|
|
166
|
+
],
|
|
167
|
+
"default": "button"
|
|
168
|
+
},
|
|
176
169
|
"wrapperClass": {
|
|
177
170
|
"type": "string",
|
|
178
171
|
"platforms": [
|
|
179
172
|
"react"
|
|
180
173
|
]
|
|
181
174
|
},
|
|
175
|
+
"type": {
|
|
176
|
+
"platforms": [
|
|
177
|
+
"rails"
|
|
178
|
+
],
|
|
179
|
+
"type": "enum",
|
|
180
|
+
"values": [
|
|
181
|
+
"submit",
|
|
182
|
+
"reset",
|
|
183
|
+
"button"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
182
186
|
"iconFontFamily": {
|
|
183
187
|
"platforms": [
|
|
184
188
|
"rails"
|
|
@@ -29,13 +29,23 @@
|
|
|
29
29
|
"react",
|
|
30
30
|
"rails"
|
|
31
31
|
],
|
|
32
|
-
"values":
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
"values": {
|
|
33
|
+
"react": [
|
|
34
|
+
"xs",
|
|
35
|
+
"sm",
|
|
36
|
+
"md",
|
|
37
|
+
"lg",
|
|
38
|
+
"xl"
|
|
39
|
+
],
|
|
40
|
+
"rails": [
|
|
41
|
+
"xs",
|
|
42
|
+
"sm",
|
|
43
|
+
"md",
|
|
44
|
+
"base",
|
|
45
|
+
"lg",
|
|
46
|
+
"xl"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
39
49
|
"default": "md"
|
|
40
50
|
},
|
|
41
51
|
"tag": {
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"type": "boolean",
|
|
20
20
|
"platforms": [
|
|
21
21
|
"react"
|
|
22
|
-
]
|
|
22
|
+
],
|
|
23
|
+
"default": false
|
|
23
24
|
},
|
|
24
25
|
"disabled": {
|
|
25
26
|
"type": "boolean",
|
|
@@ -41,14 +42,16 @@
|
|
|
41
42
|
"type": "boolean",
|
|
42
43
|
"platforms": [
|
|
43
44
|
"react"
|
|
44
|
-
]
|
|
45
|
+
],
|
|
46
|
+
"default": false
|
|
45
47
|
},
|
|
46
48
|
"name": {
|
|
47
49
|
"type": "string",
|
|
48
50
|
"platforms": [
|
|
49
51
|
"react",
|
|
50
52
|
"rails"
|
|
51
|
-
]
|
|
53
|
+
],
|
|
54
|
+
"default": ""
|
|
52
55
|
},
|
|
53
56
|
"onChange": {
|
|
54
57
|
"type": "function",
|
|
@@ -75,14 +78,16 @@
|
|
|
75
78
|
"platforms": [
|
|
76
79
|
"react",
|
|
77
80
|
"rails"
|
|
78
|
-
]
|
|
81
|
+
],
|
|
82
|
+
"default": ""
|
|
79
83
|
},
|
|
80
84
|
"value": {
|
|
81
85
|
"type": "string",
|
|
82
86
|
"platforms": [
|
|
83
87
|
"react",
|
|
84
88
|
"rails"
|
|
85
|
-
]
|
|
89
|
+
],
|
|
90
|
+
"default": ""
|
|
86
91
|
},
|
|
87
92
|
"indeterminateMain": {
|
|
88
93
|
"platforms": [
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"type": "boolean",
|
|
33
33
|
"platforms": [
|
|
34
34
|
"react"
|
|
35
|
-
]
|
|
35
|
+
],
|
|
36
|
+
"default": false
|
|
36
37
|
},
|
|
37
38
|
"iconEnabled": {
|
|
38
39
|
"type": "boolean",
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
}
|
|
53
54
|
},
|
|
54
55
|
"globalProps": true,
|
|
56
|
+
"globalEventProps": true,
|
|
55
57
|
"usage": {
|
|
56
58
|
"react": {
|
|
57
59
|
"import": "import { Contact } from 'playbook-ui'",
|
|
@@ -12,14 +12,16 @@
|
|
|
12
12
|
"platforms": [
|
|
13
13
|
"react",
|
|
14
14
|
"rails"
|
|
15
|
-
]
|
|
15
|
+
],
|
|
16
|
+
"default": ""
|
|
16
17
|
},
|
|
17
18
|
"text": {
|
|
18
19
|
"type": "string",
|
|
19
20
|
"platforms": [
|
|
20
21
|
"react",
|
|
21
22
|
"rails"
|
|
22
|
-
]
|
|
23
|
+
],
|
|
24
|
+
"default": "Copy"
|
|
23
25
|
},
|
|
24
26
|
"tooltipPlacement": {
|
|
25
27
|
"type": "enum",
|
|
@@ -31,7 +33,8 @@
|
|
|
31
33
|
"right",
|
|
32
34
|
"bottom",
|
|
33
35
|
"left"
|
|
34
|
-
]
|
|
36
|
+
],
|
|
37
|
+
"default": "bottom"
|
|
35
38
|
},
|
|
36
39
|
"tooltipText": {
|
|
37
40
|
"type": "string",
|
|
@@ -46,7 +49,8 @@
|
|
|
46
49
|
"platforms": [
|
|
47
50
|
"react",
|
|
48
51
|
"rails"
|
|
49
|
-
]
|
|
52
|
+
],
|
|
53
|
+
"default": ""
|
|
50
54
|
},
|
|
51
55
|
"variant": {
|
|
52
56
|
"type": "enum",
|
|
@@ -64,7 +68,8 @@
|
|
|
64
68
|
"type": "number",
|
|
65
69
|
"platforms": [
|
|
66
70
|
"react"
|
|
67
|
-
]
|
|
71
|
+
],
|
|
72
|
+
"default": 1000
|
|
68
73
|
},
|
|
69
74
|
"tooltipPosition": {
|
|
70
75
|
"platforms": [
|
|
@@ -76,7 +76,8 @@
|
|
|
76
76
|
"platforms": [
|
|
77
77
|
"react",
|
|
78
78
|
"rails"
|
|
79
|
-
]
|
|
79
|
+
],
|
|
80
|
+
"default": ""
|
|
80
81
|
},
|
|
81
82
|
"size": {
|
|
82
83
|
"type": "enum",
|
|
@@ -89,7 +90,10 @@
|
|
|
89
90
|
"md",
|
|
90
91
|
"lg"
|
|
91
92
|
],
|
|
92
|
-
"default":
|
|
93
|
+
"default": {
|
|
94
|
+
"react": "sm",
|
|
95
|
+
"rails": "md"
|
|
96
|
+
}
|
|
93
97
|
},
|
|
94
98
|
"symbol": {
|
|
95
99
|
"type": "string",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"platforms": [
|
|
26
26
|
"react",
|
|
27
27
|
"rails"
|
|
28
|
-
]
|
|
28
|
+
],
|
|
29
|
+
"default": {}
|
|
29
30
|
},
|
|
30
31
|
"statLabel": {
|
|
31
32
|
"type": "string",
|
|
@@ -39,7 +40,8 @@
|
|
|
39
40
|
"platforms": [
|
|
40
41
|
"react",
|
|
41
42
|
"rails"
|
|
42
|
-
]
|
|
43
|
+
],
|
|
44
|
+
"default": {}
|
|
43
45
|
}
|
|
44
46
|
},
|
|
45
47
|
"globalProps": true,
|