playbook_ui 9.19.0.pre.alpha.pre.fonts2 → 9.19.0.pre.alphafonts
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +9 -5
- data/app/assets/images/clark.jpg +0 -0
- data/app/assets/images/full_page_samples.svg +7 -0
- data/app/assets/images/giant.jpg +0 -0
- data/app/assets/images/github-brands.svg +1 -0
- data/app/assets/images/landing-background.svg +36 -0
- data/app/assets/images/landing-image.svg +203 -0
- data/app/assets/images/pb-caret.svg +1 -0
- data/app/assets/images/pb-check.svg +11 -0
- data/app/assets/images/pb-logo.svg +28 -0
- data/app/assets/images/pb-white-logo.svg +15 -0
- data/app/assets/images/pb.logo.svg +28 -0
- data/app/pb_kits/playbook/index.js +107 -107
- data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +2 -3
- data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.jsx +2 -3
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +1 -2
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +1 -2
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +1 -2
- data/app/pb_kits/playbook/pb_badge/_badge.jsx +2 -3
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.jsx +1 -2
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx +1 -2
- data/app/pb_kits/playbook/pb_body/_body.jsx +2 -4
- data/app/pb_kits/playbook/pb_card/docs/_card_content.jsx +1 -2
- data/app/pb_kits/playbook/pb_card/docs/_card_header.jsx +1 -4
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx +1 -2
- data/app/pb_kits/playbook/pb_card/docs/_card_padding.jsx +1 -2
- data/app/pb_kits/playbook/pb_card/docs/_card_separator.jsx +2 -3
- data/app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx +1 -2
- data/app/pb_kits/playbook/pb_card/docs/_card_tag.jsx +1 -2
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.jsx +1 -2
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx +1 -2
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.jsx +2 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +1 -3
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +1 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +1 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +1 -3
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +1 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +1 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +1 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +1 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx +5 -4
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.jsx +1 -2
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.jsx +3 -5
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.jsx +1 -1
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.jsx +3 -4
- data/app/pb_kits/playbook/pb_contact/_contact.jsx +2 -5
- data/app/pb_kits/playbook/pb_currency/_currency.jsx +1 -4
- data/app/pb_kits/playbook/pb_currency/docs/_currency_alignment.jsx +1 -2
- data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx +1 -2
- data/app/pb_kits/playbook/pb_currency/docs/_currency_size.jsx +1 -2
- data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.jsx +1 -2
- data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.jsx +5 -4
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_align.jsx +1 -2
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_date/_date.jsx +3 -8
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +3 -7
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_flatpickr_methods.jsx +1 -4
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hide_icon.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.jsx +1 -2
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +1 -2
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx +3 -7
- data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.jsx +2 -7
- data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.jsx +3 -7
- data/app/pb_kits/playbook/pb_date_time/_date_time.jsx +2 -6
- data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.jsx +2 -7
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default.jsx +4 -2
- data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.jsx +3 -5
- data/app/pb_kits/playbook/pb_dialog/_close_icon.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/_dialog.jsx +2 -4
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.jsx +1 -4
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.jsx +1 -3
- data/app/pb_kits/playbook/pb_enhanced_element/index.js +1 -2
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.jsx +4 -5
- data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.jsx +1 -4
- data/app/pb_kits/playbook/pb_filter/Filter/FilterBackground.jsx +1 -3
- data/app/pb_kits/playbook/pb_filter/Filter/FilterDouble.jsx +1 -3
- data/app/pb_kits/playbook/pb_filter/Filter/FilterSingle.jsx +1 -2
- data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.jsx +1 -3
- data/app/pb_kits/playbook/pb_filter/Filter/ResultsCount.jsx +1 -3
- data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.jsx +1 -6
- data/app/pb_kits/playbook/pb_filter/docs/_filter_single.jsx +1 -7
- data/app/pb_kits/playbook/pb_filter/docs/_sort_only.jsx +1 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +2 -5
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.jsx +1 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.jsx +1 -2
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx +1 -4
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_date_picker.jsx +1 -5
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_default.jsx +1 -3
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx +1 -4
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.jsx +1 -5
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card.jsx +1 -3
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card_icon.jsx +1 -3
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_typeahead.jsx +1 -5
- data/app/pb_kits/playbook/pb_gauge/_gauge.jsx +7 -3
- data/app/pb_kits/playbook/pb_hashtag/_hashtag.jsx +2 -3
- data/app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx +1 -3
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +2 -5
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx +1 -2
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon/docs/_icon_animate.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon/docs/_icon_border.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon/docs/_icon_flip.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon/docs/_icon_pull.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.jsx +2 -3
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.jsx +1 -7
- data/app/pb_kits/playbook/pb_icon_value/_icon_value.jsx +2 -3
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align.jsx +1 -2
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_image/docs/_custom_error_image.jsx +1 -4
- data/app/pb_kits/playbook/pb_image/docs/_default_image.jsx +1 -2
- data/app/pb_kits/playbook/pb_image/docs/_rounded_image.jsx +1 -2
- data/app/pb_kits/playbook/pb_kit/dateTime.js +2 -2
- data/app/pb_kits/playbook/pb_label_pill/_label_pill.jsx +1 -2
- data/app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_label_value/_label_value.jsx +2 -7
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection.jsx +1 -4
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection_detail.jsx +1 -7
- data/app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx +1 -4
- data/app/pb_kits/playbook/pb_layout/docs/_layout_content.jsx +1 -4
- data/app/pb_kits/playbook/pb_layout/docs/_layout_kanban.jsx +12 -11
- data/app/pb_kits/playbook/pb_layout/docs/_layout_kanban_responsive.jsx +1 -5
- data/app/pb_kits/playbook/pb_layout/docs/_layout_masonry.jsx +1 -4
- data/app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx +1 -2
- data/app/pb_kits/playbook/pb_layout/docs/_layout_transparent.jsx +1 -2
- data/app/pb_kits/playbook/pb_legend/_legend.jsx +2 -4
- data/app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_line_graph/_line_graph.jsx +1 -2
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx +1 -1
- data/app/pb_kits/playbook/pb_list/docs/_list_borderless.jsx +1 -2
- data/app/pb_kits/playbook/pb_list/docs/_list_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_list/docs/_list_layout_left.jsx +1 -4
- data/app/pb_kits/playbook/pb_list/docs/_list_layout_right.jsx +1 -5
- data/app/pb_kits/playbook/pb_list/docs/_list_lg.jsx +1 -2
- data/app/pb_kits/playbook/pb_list/docs/_list_ordered.jsx +1 -2
- data/app/pb_kits/playbook/pb_list/docs/_list_xpadding.jsx +1 -2
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.jsx +2 -3
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_light.jsx +1 -2
- data/app/pb_kits/playbook/pb_logistic/_logistic.jsx +2 -7
- data/app/pb_kits/playbook/pb_message/_message.jsx +2 -8
- data/app/pb_kits/playbook/pb_message/docs/_message_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx +1 -3
- data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.jsx +2 -4
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_nav/_item.jsx +2 -5
- data/app/pb_kits/playbook/pb_nav/_nav.jsx +2 -4
- data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +2 -2
- data/app/pb_kits/playbook/pb_nav/docs/_block_nav.jsx +2 -4
- data/app/pb_kits/playbook/pb_nav/docs/_block_no_title_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_borderless_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_default_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_horizontal_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_new_tab.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_no_highlight_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_horizontal_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_no_highlight_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_with_icons_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_with_icons_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_nav/docs/_with_img_nav.jsx +2 -3
- data/app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.jsx +2 -11
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.jsx +1 -2
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_common.jsx +1 -3
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_input_props.jsx +1 -2
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_meter_settings.jsx +1 -4
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_strength_change.jsx +1 -4
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_tips.jsx +1 -2
- data/app/pb_kits/playbook/pb_person/_person.jsx +2 -3
- data/app/pb_kits/playbook/pb_person/docs/_person_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_person_contact/_person_contact.jsx +8 -5
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_multiple.jsx +1 -2
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_detail.jsx +1 -2
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_wrong_numbers.jsx +1 -2
- data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.jsx +7 -4
- data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.jsx +1 -3
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +0 -1
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx +2 -5
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker_click_events.jsx +2 -6
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx +0 -1
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx +1 -2
- data/app/pb_kits/playbook/pb_radio/docs/_radio_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.jsx +8 -10
- data/app/pb_kits/playbook/pb_section_separator/_section_separator.jsx +2 -4
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.jsx +1 -5
- data/app/pb_kits/playbook/pb_select/_select.jsx +13 -6
- data/app/pb_kits/playbook/pb_select/_select.scss +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_blank.jsx +1 -2
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select.jsx +1 -2
- data/app/pb_kits/playbook/pb_select/docs/_select_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_select/docs/_select_disabled.jsx +1 -2
- data/app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx +1 -2
- data/app/pb_kits/playbook/pb_select/docs/_select_required.jsx +1 -2
- data/app/pb_kits/playbook/pb_select/docs/_select_value_text_same.jsx +1 -2
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.jsx +3 -6
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_block.jsx +1 -5
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_image.jsx +5 -4
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_input.jsx +5 -4
- data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.jsx +2 -5
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_checkmark.jsx +1 -2
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_single_select.jsx +1 -2
- data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.jsx +2 -3
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_single_select.jsx +1 -2
- data/app/pb_kits/playbook/pb_selectable_list/_item.jsx +2 -7
- data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.jsx +2 -4
- data/app/pb_kits/playbook/pb_source/_source.jsx +13 -8
- data/app/pb_kits/playbook/pb_source/docs/_source_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_source/docs/_source_noicon.jsx +1 -2
- data/app/pb_kits/playbook/pb_source/docs/_source_types.jsx +1 -2
- data/app/pb_kits/playbook/pb_star_rating/_star_rating.jsx +7 -2
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +1 -2
- data/app/pb_kits/playbook/pb_stat_change/_stat_change.jsx +2 -4
- data/app/pb_kits/playbook/pb_stat_value/_stat_value.jsx +2 -3
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx +2 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_container.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_data_table.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_disable_hover.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.jsx +2 -6
- data/app/pb_kits/playbook/pb_table/docs/_table_lg.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_md.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_multiline.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx +2 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx +1 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_side_highlight.jsx +1 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_sm.jsx +1 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.jsx +2 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.jsx +2 -3
- data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +2 -7
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +1 -1
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on.jsx +1 -2
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.jsx +1 -2
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +5 -4
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.jsx +1 -2
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx +1 -2
- data/app/pb_kits/playbook/pb_textarea/_textarea.jsx +3 -9
- data/app/pb_kits/playbook/pb_textarea/_textarea.scss +3 -3
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_character_counter.jsx +1 -2
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_custom.jsx +1 -2
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.jsx +1 -2
- data/app/pb_kits/playbook/pb_time/_time.jsx +1 -3
- data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.jsx +3 -7
- data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.jsx +2 -3
- data/app/pb_kits/playbook/pb_timeline/_item.jsx +1 -4
- data/app/pb_kits/playbook/pb_timeline/_timeline.jsx +1 -3
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_default.jsx +2 -4
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_vertical.jsx +2 -4
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_date.jsx +2 -3
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +3 -5
- data/app/pb_kits/playbook/pb_title/_title.scss +1 -1
- data/app/pb_kits/playbook/pb_title/_title_mixin.scss +40 -1
- data/app/pb_kits/playbook/pb_title/docs/_title_light.jsx +1 -2
- data/app/pb_kits/playbook/pb_title/docs/_title_variants.jsx +1 -2
- data/app/pb_kits/playbook/pb_title_count/_title_count.jsx +2 -3
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align.jsx +1 -2
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_title_detail/_title_detail.jsx +3 -4
- data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +15 -19
- data/app/pb_kits/playbook/pb_typeahead/components/Control.jsx +4 -2
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +1 -2
- data/app/pb_kits/playbook/pb_typeahead/components/Option.jsx +3 -1
- data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.jsx +1 -3
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx +1 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx +1 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_user/_user.jsx +2 -6
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_default.jsx +1 -2
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size.jsx +1 -2
- data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.jsx +5 -6
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_compact.jsx +3 -2
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_default.jsx +3 -2
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_variant.jsx +3 -2
- data/app/pb_kits/playbook/plugins/pb_chart.js +4 -6
- data/app/pb_kits/playbook/react_rails_kits.js +13 -0
- data/app/pb_kits/playbook/tokens/_colors.scss +0 -4
- data/app/pb_kits/playbook/tokens/_fonts.scss +28 -14
- data/app/pb_kits/playbook/utilities/_colors.scss +4 -0
- data/app/pb_kits/playbook/utilities/accessibility.js +22 -0
- data/app/pb_kits/playbook/{playbook-rails.js → vendor.js} +5 -1
- data/dist/reset.css +0 -1
- data/fonts/ProximaNova-Black.woff +0 -0
- data/fonts/ProximaNova-Black.woff2 +0 -0
- data/fonts/ProximaNova-BlackIt.woff +0 -0
- data/fonts/ProximaNova-BlackIt.woff2 +0 -0
- data/fonts/ProximaNova-Bold.woff +0 -0
- data/fonts/ProximaNova-Bold.woff2 +0 -0
- data/fonts/ProximaNova-BoldIt.woff +0 -0
- data/fonts/ProximaNova-BoldIt.woff2 +0 -0
- data/fonts/ProximaNova-Extrabld.woff +0 -0
- data/fonts/ProximaNova-Extrabld.woff2 +0 -0
- data/fonts/ProximaNova-ExtrabldIt.woff +0 -0
- data/fonts/ProximaNova-ExtrabldIt.woff2 +0 -0
- data/fonts/ProximaNova-Light.woff +0 -0
- data/fonts/ProximaNova-Light.woff2 +0 -0
- data/fonts/ProximaNova-LightIt.woff +0 -0
- data/fonts/ProximaNova-LightIt.woff2 +0 -0
- data/fonts/ProximaNova-Regular.woff +0 -0
- data/fonts/ProximaNova-Regular.woff2 +0 -0
- data/fonts/ProximaNova-RegularIt.woff +0 -0
- data/fonts/ProximaNova-RegularIt.woff2 +0 -0
- data/fonts/ProximaNova-Semibold.woff +0 -0
- data/fonts/ProximaNova-Semibold.woff2 +0 -0
- data/fonts/ProximaNova-SemiboldIt.woff +0 -0
- data/fonts/ProximaNova-SemiboldIt.woff2 +0 -0
- data/fonts/ProximaNova-Thin.woff +0 -0
- data/fonts/ProximaNova-Thin.woff2 +0 -0
- data/fonts/ProximaNova-ThinIt.woff +0 -0
- data/fonts/ProximaNova-ThinIt.woff2 +0 -0
- data/lib/playbook/engine.rb +21 -11
- data/lib/playbook/props/nested_props.rb +1 -1
- data/lib/playbook/version.rb +2 -2
- data/lib/playbook.rb +15 -1
- metadata +161 -20
- data/app/pb_kits/playbook/_reset.scss +0 -42
- data/app/pb_kits/playbook/pb_collapsible/context.js +0 -5
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_async_createable.jsx +0 -58
- data/app/pb_kits/playbook/playbook-doc.js +0 -195
- data/app/pb_kits/playbook/playbook-rails-react-bindings.js +0 -35
- data/app/pb_kits/playbook/tokens/_titles.scss +0 -38
@@ -4,116 +4,116 @@ import 'lazysizes/plugins/attrchange/ls.attrchange'
|
|
4
4
|
import 'lazysizes'
|
5
5
|
|
6
6
|
// vvv React Component JSX Imports from the React Kits vvv
|
7
|
-
export
|
8
|
-
export
|
9
|
-
export
|
10
|
-
export
|
11
|
-
export
|
12
|
-
export
|
13
|
-
export
|
14
|
-
export
|
15
|
-
export
|
16
|
-
export
|
17
|
-
export
|
18
|
-
export
|
19
|
-
export
|
20
|
-
export
|
21
|
-
export
|
22
|
-
export
|
23
|
-
export
|
24
|
-
export
|
25
|
-
export
|
26
|
-
export
|
27
|
-
export
|
28
|
-
export
|
29
|
-
export
|
30
|
-
export
|
31
|
-
export
|
32
|
-
export
|
33
|
-
export
|
34
|
-
export
|
35
|
-
export
|
36
|
-
export
|
37
|
-
export
|
38
|
-
export
|
39
|
-
export
|
40
|
-
export
|
41
|
-
export
|
42
|
-
export
|
43
|
-
export
|
44
|
-
export
|
45
|
-
export
|
46
|
-
export
|
47
|
-
export
|
48
|
-
export
|
49
|
-
export
|
50
|
-
export
|
51
|
-
export
|
52
|
-
export
|
53
|
-
export
|
54
|
-
export
|
55
|
-
export
|
56
|
-
export
|
57
|
-
export
|
58
|
-
export
|
59
|
-
export
|
60
|
-
export
|
61
|
-
export
|
62
|
-
export
|
63
|
-
export
|
64
|
-
export
|
65
|
-
export
|
66
|
-
export
|
67
|
-
export
|
68
|
-
export
|
69
|
-
export
|
70
|
-
export
|
71
|
-
export
|
72
|
-
export
|
73
|
-
export
|
74
|
-
export
|
75
|
-
export
|
76
|
-
export
|
77
|
-
export
|
78
|
-
export
|
79
|
-
export
|
80
|
-
export
|
81
|
-
export
|
82
|
-
export
|
83
|
-
export
|
84
|
-
export
|
85
|
-
export
|
86
|
-
export
|
87
|
-
export
|
88
|
-
export
|
89
|
-
export
|
90
|
-
export
|
91
|
-
export
|
92
|
-
export
|
93
|
-
export
|
94
|
-
export
|
95
|
-
export
|
96
|
-
export
|
97
|
-
export
|
98
|
-
export
|
99
|
-
export
|
100
|
-
export
|
101
|
-
export
|
102
|
-
export
|
103
|
-
export
|
7
|
+
export Avatar from './pb_avatar/_avatar.jsx'
|
8
|
+
export AvatarActionButton from './pb_avatar_action_button/_avatar_action_button.jsx'
|
9
|
+
export Background from './pb_background/_background.jsx'
|
10
|
+
export Badge from './pb_badge/_badge.jsx'
|
11
|
+
export BarGraph from './pb_bar_graph/_bar_graph.jsx'
|
12
|
+
export Body from './pb_body/_body.jsx'
|
13
|
+
export BreadCrumbs from './pb_bread_crumbs/_bread_crumbs.jsx'
|
14
|
+
export Button from './pb_button/_button.jsx'
|
15
|
+
export ButtonToolbar from './pb_button_toolbar/_button_toolbar.jsx'
|
16
|
+
export Caption from './pb_caption/_caption.jsx'
|
17
|
+
export Card from './pb_card/_card.jsx'
|
18
|
+
export Checkbox from './pb_checkbox/_checkbox.jsx'
|
19
|
+
export CircleChart from './pb_circle_chart/_circle_chart.jsx'
|
20
|
+
export CircleIconButton from './pb_circle_icon_button/_circle_icon_button.jsx'
|
21
|
+
export Collapsible from './pb_collapsible/_collapsible.jsx'
|
22
|
+
export Contact from './pb_contact/_contact.jsx'
|
23
|
+
export Currency from './pb_currency/_currency.jsx'
|
24
|
+
export DashboardValue from './pb_dashboard_value/_dashboard_value.jsx'
|
25
|
+
export Date from './pb_date/_date.jsx'
|
26
|
+
export DatePicker from './pb_date_picker/_date_picker.jsx'
|
27
|
+
export DateRangeInline from './pb_date_range_inline/_date_range_inline.jsx'
|
28
|
+
export DateRangeStacked from './pb_date_range_stacked/_date_range_stacked.jsx'
|
29
|
+
export DateStacked from './pb_date_stacked/_date_stacked.jsx'
|
30
|
+
export DateTime from './pb_date_time/_date_time.jsx'
|
31
|
+
export DateTimeStacked from './pb_date_time_stacked/_date_time_stacked.jsx'
|
32
|
+
export DateYearStacked from './pb_date_year_stacked/_date_year_stacked.jsx'
|
33
|
+
export Dialog from './pb_dialog/_dialog.jsx'
|
34
|
+
export DistributionBar from './pb_distribution_bar/_distribution_bar.jsx'
|
35
|
+
export FileUpload from './pb_file_upload/_file_upload.jsx'
|
36
|
+
export Filter from './pb_filter/_filter.jsx'
|
37
|
+
export FixedConfirmationToast from './pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx'
|
38
|
+
export Flex from './pb_flex/_flex.jsx'
|
39
|
+
export FlexItem from './pb_flex/_flex_item.jsx'
|
40
|
+
export FormGroup from './pb_form_group/_form_group.jsx'
|
41
|
+
export FormPill from './pb_form_pill/_form_pill.jsx'
|
42
|
+
export Gauge from './pb_gauge/_gauge.jsx'
|
43
|
+
export Hashtag from './pb_hashtag/_hashtag.jsx'
|
44
|
+
export Highlight from './pb_highlight/_highlight.jsx'
|
45
|
+
export HomeAddressStreet from './pb_home_address_street/_home_address_street.jsx'
|
46
|
+
export Icon from './pb_icon/_icon.jsx'
|
47
|
+
export IconCircle from './pb_icon_circle/_icon_circle.jsx'
|
48
|
+
export IconStatValue from './pb_icon_stat_value/_icon_stat_value.jsx'
|
49
|
+
export IconValue from './pb_icon_value/_icon_value.jsx'
|
50
|
+
export Image from './pb_image/_image.jsx'
|
51
|
+
export LabelPill from './pb_label_pill/_label_pill.jsx'
|
52
|
+
export LabelValue from './pb_label_value/_label_value.jsx'
|
53
|
+
export Layout from './pb_layout/_layout.jsx'
|
54
|
+
export Legend from './pb_legend/_legend.jsx'
|
55
|
+
export LineGraph from './pb_line_graph/_line_graph.jsx'
|
56
|
+
export List from './pb_list/_list.jsx'
|
57
|
+
export ListItem from './pb_list/_list_item.jsx'
|
58
|
+
export LoadingInline from './pb_loading_inline/_loading_inline.jsx'
|
59
|
+
export Message from './pb_message/_message.jsx'
|
60
|
+
export MultipleUsers from './pb_multiple_users/_multiple_users.jsx'
|
61
|
+
export MultipleUsersStacked from './pb_multiple_users_stacked/_multiple_users_stacked.jsx'
|
62
|
+
export Nav from './pb_nav/_nav.jsx'
|
63
|
+
export NavItem from './pb_nav/_item.jsx'
|
64
|
+
export OnlineStatus from './pb_online_status/_online_status.jsx'
|
65
|
+
export Passphrase from './pb_passphrase/_passphrase.jsx'
|
66
|
+
export PbReactPopover from './pb_popover/_popover.jsx'
|
67
|
+
export Person from './pb_person/_person.jsx'
|
68
|
+
export PersonContact from './pb_person_contact/_person_contact.jsx'
|
69
|
+
export Pill from './pb_pill/_pill.jsx'
|
70
|
+
export ProgressPills from './pb_progress_pills/_progress_pills.jsx'
|
71
|
+
export ProgressSimple from './pb_progress_simple/_progress_simple.jsx'
|
72
|
+
export ProgressStep from './pb_progress_step/_progress_step.jsx'
|
73
|
+
export ProgressStepItem from './pb_progress_step/_progress_step_item.jsx'
|
74
|
+
export Radio from './pb_radio/_radio.jsx'
|
75
|
+
export RichTextEditor from './pb_rich_text_editor/_rich_text_editor.jsx'
|
76
|
+
export SectionSeparator from './pb_section_separator/_section_separator.jsx'
|
77
|
+
export Select from './pb_select/_select.jsx'
|
78
|
+
export SelectableCard from './pb_selectable_card/_selectable_card.jsx'
|
79
|
+
export SelectableCardIcon from './pb_selectable_card_icon/_selectable_card_icon.jsx'
|
80
|
+
export SelectableIcon from './pb_selectable_icon/_selectable_icon.jsx'
|
81
|
+
export SelectableList from './pb_selectable_list/_selectable_list.jsx'
|
82
|
+
export SelectableListItem from './pb_selectable_list/_item.jsx'
|
83
|
+
export Source from './pb_source/_source.jsx'
|
84
|
+
export StarRating from './pb_star_rating/_star_rating.jsx'
|
85
|
+
export StatChange from './pb_stat_change/_stat_change.jsx'
|
86
|
+
export StatValue from './pb_stat_value/_stat_value.jsx'
|
87
|
+
export Table from './pb_table/_table.jsx'
|
88
|
+
export TableRow from './pb_table/_table_row.jsx'
|
89
|
+
export TextInput from './pb_text_input/_text_input.jsx'
|
90
|
+
export Textarea from './pb_textarea/_textarea.jsx'
|
91
|
+
export Time from './pb_time/_time.jsx'
|
92
|
+
export TimeRangeInline from './pb_time_range_inline/_time_range_inline.jsx'
|
93
|
+
export TimeStacked from './pb_time_stacked/_time_stacked.jsx'
|
94
|
+
export Timeline from './pb_timeline/_timeline.jsx'
|
95
|
+
export Timestamp from './pb_timestamp/_timestamp.jsx'
|
96
|
+
export Title from './pb_title/_title.jsx'
|
97
|
+
export TitleCount from './pb_title_count/_title_count.jsx'
|
98
|
+
export TitleDetail from './pb_title_detail/_title_detail.jsx'
|
99
|
+
export Toggle from './pb_toggle/_toggle.jsx'
|
100
|
+
export Typeahead from './pb_typeahead/_typeahead.jsx'
|
101
|
+
export User from './pb_user/_user.jsx'
|
102
|
+
export UserBadge from './pb_user_badge/_user_badge.jsx'
|
103
|
+
export WeekdayStacked from './pb_weekday_stacked/_weekday_stacked.jsx'
|
104
104
|
// ^^^ React Component JSX Imports from the React Kits ^^^
|
105
105
|
|
106
106
|
// Dashboard Settings
|
107
107
|
export { commonSettings, dataColors } from './pb_dashboard/commonSettings'
|
108
|
-
export
|
109
|
-
export
|
110
|
-
export
|
108
|
+
export lineGraphSettings from './pb_line_graph/lineGraphSettings'
|
109
|
+
export barGraphSettings from './pb_bar_graph/barGraphSettings'
|
110
|
+
export dashboardValueSettings from './pb_dashboard_value/dashboardValueSettings'
|
111
111
|
|
112
112
|
// Other JS/Plugins
|
113
|
-
export
|
114
|
-
export
|
115
|
-
export
|
116
|
-
export
|
117
|
-
export
|
118
|
-
export
|
119
|
-
export
|
113
|
+
export pbChart from './plugins/pb_chart.js'
|
114
|
+
export datePickerHelper from './pb_date_picker/date_picker_helper.js'
|
115
|
+
export PbPopover from './pb_popover'
|
116
|
+
export PbTable from './pb_table'
|
117
|
+
export PbTextarea from './pb_textarea'
|
118
|
+
export PbTooltip from './pb_tooltip'
|
119
|
+
export PbTypeahead from './pb_typeahead'
|
@@ -5,10 +5,9 @@ import classnames from 'classnames'
|
|
5
5
|
import { map } from 'lodash'
|
6
6
|
|
7
7
|
import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
|
8
|
-
import { globalProps } from '../utilities/globalProps'
|
8
|
+
import { globalProps } from '../utilities/globalProps.js'
|
9
9
|
|
10
|
-
import Image from '../
|
11
|
-
import OnlineStatus from '../pb_online_status/_online_status'
|
10
|
+
import { Image, OnlineStatus } from '../'
|
12
11
|
|
13
12
|
type AvatarProps = {
|
14
13
|
aria?: object,
|
@@ -2,16 +2,15 @@
|
|
2
2
|
|
3
3
|
import React from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
|
+
import { Avatar, Icon } from '../'
|
5
6
|
|
6
7
|
import {
|
7
8
|
buildAriaProps,
|
8
9
|
buildCss,
|
9
10
|
buildDataProps,
|
10
11
|
} from '../utilities/props'
|
11
|
-
import { globalProps } from '../utilities/globalProps.js'
|
12
12
|
|
13
|
-
import
|
14
|
-
import Icon from '../pb_icon/_icon'
|
13
|
+
import { globalProps } from '../utilities/globalProps.js'
|
15
14
|
|
16
15
|
type AvatarActionButtonProps = {
|
17
16
|
action?: string,
|
@@ -2,16 +2,15 @@
|
|
2
2
|
|
3
3
|
import React from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
|
+
import { globalProps } from '../utilities/globalProps.js'
|
6
|
+
import { Icon } from '../'
|
5
7
|
|
6
|
-
import { globalProps } from '../utilities/globalProps'
|
7
8
|
import {
|
8
9
|
buildAriaProps,
|
9
10
|
buildCss,
|
10
11
|
buildDataProps,
|
11
12
|
} from '../utilities/props'
|
12
13
|
|
13
|
-
import Icon from '../pb_icon/_icon'
|
14
|
-
|
15
14
|
type BadgeProps = {
|
16
15
|
aria?: object,
|
17
16
|
className?: string,
|
@@ -2,11 +2,9 @@
|
|
2
2
|
|
3
3
|
import React from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
|
-
|
6
5
|
import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
|
7
|
-
import {
|
8
|
-
|
9
|
-
import Highlight from '../pb_highlight/_highlight'
|
6
|
+
import { Highlight } from '../'
|
7
|
+
import { globalProps } from '../utilities/globalProps.js'
|
10
8
|
|
11
9
|
type BodyProps = {
|
12
10
|
aria?: object,
|
@@ -1,13 +1,13 @@
|
|
1
1
|
/* @flow */
|
2
2
|
|
3
3
|
import React, { useEffect, useRef } from 'react'
|
4
|
+
import { pbChart } from '../'
|
5
|
+
import { globalProps } from '../utilities/globalProps'
|
4
6
|
import classnames from 'classnames'
|
5
7
|
import Highcharts from 'highcharts'
|
6
8
|
|
7
|
-
import { globalProps } from '../utilities/globalProps'
|
8
9
|
import { buildAriaProps, buildDataProps } from '../utilities/props'
|
9
10
|
|
10
|
-
import pbChart from '../plugins/pb_chart'
|
11
11
|
type CircleChartProps = {
|
12
12
|
aria: Object,
|
13
13
|
chartData?: array,
|
@@ -3,14 +3,15 @@
|
|
3
3
|
import React from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
5
|
import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
|
6
|
+
import { Button, Icon } from '../'
|
6
7
|
|
7
8
|
import type { Callback } from '../types'
|
8
9
|
|
9
|
-
import {
|
10
|
-
|
10
|
+
import {
|
11
|
+
noop,
|
12
|
+
} from '../utilities/props'
|
11
13
|
|
12
|
-
import
|
13
|
-
import Icon from '../pb_icon/_icon'
|
14
|
+
import { globalProps } from '../utilities/globalProps.js'
|
14
15
|
|
15
16
|
type CircleIconButtonProps = {
|
16
17
|
aria?: object,
|
@@ -1,15 +1,13 @@
|
|
1
1
|
/* @flow */
|
2
2
|
|
3
|
-
import React, { useState } from 'react'
|
4
|
-
|
5
3
|
import classnames from 'classnames'
|
6
|
-
|
4
|
+
import React, { useState } from 'react'
|
7
5
|
import { globalProps } from '../utilities/globalProps.js'
|
8
6
|
import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
|
9
|
-
|
10
7
|
import CollapsibleContent from './child_kits/CollapsibleContent'
|
11
8
|
import CollapsibleMain from './child_kits/CollapsibleMain'
|
12
|
-
|
9
|
+
|
10
|
+
export const CollapsibleContext = React.createContext({})
|
13
11
|
|
14
12
|
type CollapsibleProps = {
|
15
13
|
children: CollapsibleMain | CollapsibleContent | ReactNode,
|