playbook_ui 9.19.0 → 10.0.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 +5 -9
- data/app/pb_kits/playbook/_playbook.scss +0 -1
- data/app/pb_kits/playbook/_reset.scss +42 -0
- data/app/pb_kits/playbook/index.js +107 -107
- data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +3 -2
- data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.jsx +3 -2
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +2 -1
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +2 -1
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +2 -1
- data/app/pb_kits/playbook/pb_badge/_badge.jsx +3 -2
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.jsx +2 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx +2 -1
- data/app/pb_kits/playbook/pb_body/_body.jsx +4 -2
- data/app/pb_kits/playbook/pb_card/docs/_card_content.jsx +2 -1
- data/app/pb_kits/playbook/pb_card/docs/_card_header.jsx +4 -1
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx +2 -1
- data/app/pb_kits/playbook/pb_card/docs/_card_padding.jsx +2 -1
- data/app/pb_kits/playbook/pb_card/docs/_card_separator.jsx +3 -2
- data/app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx +2 -1
- data/app/pb_kits/playbook/pb_card/docs/_card_tag.jsx +2 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.jsx +2 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx +2 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx +2 -1
- 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 +3 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +2 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +2 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +3 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +2 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +2 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +2 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +2 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx +4 -5
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.jsx +2 -1
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.jsx +5 -3
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.jsx +1 -1
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.jsx +4 -3
- data/app/pb_kits/playbook/pb_collapsible/context.js +5 -0
- data/app/pb_kits/playbook/pb_contact/_contact.jsx +5 -2
- data/app/pb_kits/playbook/pb_currency/_currency.jsx +4 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_alignment.jsx +2 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx +2 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_size.jsx +2 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.jsx +2 -1
- data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.jsx +4 -5
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_align.jsx +2 -1
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_date/_date.jsx +8 -3
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +7 -3
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_flatpickr_methods.jsx +4 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hide_icon.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.jsx +2 -1
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +2 -1
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx +7 -3
- data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.jsx +7 -2
- data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.jsx +7 -3
- data/app/pb_kits/playbook/pb_date_time/_date_time.jsx +6 -2
- data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.jsx +7 -2
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default.jsx +2 -4
- data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.jsx +5 -3
- data/app/pb_kits/playbook/pb_dialog/_close_icon.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/_dialog.jsx +12 -3
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.jsx +4 -1
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.jsx +3 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx +3 -1
- data/app/pb_kits/playbook/pb_enhanced_element/index.js +2 -1
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.jsx +5 -4
- data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.jsx +4 -1
- data/app/pb_kits/playbook/pb_filter/Filter/FilterBackground.jsx +3 -1
- data/app/pb_kits/playbook/pb_filter/Filter/FilterDouble.jsx +3 -1
- data/app/pb_kits/playbook/pb_filter/Filter/FilterSingle.jsx +2 -1
- data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.jsx +3 -1
- data/app/pb_kits/playbook/pb_filter/Filter/ResultsCount.jsx +3 -1
- data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.jsx +6 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_single.jsx +7 -1
- data/app/pb_kits/playbook/pb_filter/docs/_sort_only.jsx +2 -1
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +5 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.jsx +2 -1
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.jsx +2 -1
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx +4 -1
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_date_picker.jsx +5 -1
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_default.jsx +3 -1
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx +4 -1
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.jsx +5 -1
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card.jsx +3 -1
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card_icon.jsx +3 -1
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_typeahead.jsx +5 -1
- data/app/pb_kits/playbook/pb_gauge/_gauge.jsx +3 -7
- data/app/pb_kits/playbook/pb_hashtag/_hashtag.jsx +3 -2
- data/app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx +3 -1
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +5 -2
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx +2 -1
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon/_icon.jsx +41 -21
- data/app/pb_kits/playbook/pb_icon/docs/_icon_animate.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon/docs/_icon_border.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx +34 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon/docs/_icon_flip.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon/docs/_icon_pull.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_icon/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.jsx +3 -2
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.jsx +7 -1
- data/app/pb_kits/playbook/pb_icon_value/_icon_value.jsx +3 -2
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align.jsx +2 -1
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_image/docs/_custom_error_image.jsx +4 -1
- data/app/pb_kits/playbook/pb_image/docs/_default_image.jsx +2 -1
- data/app/pb_kits/playbook/pb_image/docs/_rounded_image.jsx +2 -1
- data/app/pb_kits/playbook/pb_kit/dateTime.js +2 -2
- data/app/pb_kits/playbook/pb_label_pill/_label_pill.jsx +2 -1
- data/app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_label_value/_label_value.jsx +7 -2
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection.jsx +4 -1
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection_detail.jsx +7 -1
- data/app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx +4 -1
- data/app/pb_kits/playbook/pb_layout/docs/_layout_content.jsx +4 -1
- data/app/pb_kits/playbook/pb_layout/docs/_layout_kanban.jsx +11 -12
- data/app/pb_kits/playbook/pb_layout/docs/_layout_kanban_responsive.jsx +5 -1
- data/app/pb_kits/playbook/pb_layout/docs/_layout_masonry.jsx +4 -1
- data/app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx +2 -1
- data/app/pb_kits/playbook/pb_layout/docs/_layout_transparent.jsx +2 -1
- data/app/pb_kits/playbook/pb_legend/_legend.jsx +4 -2
- data/app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_line_graph/_line_graph.jsx +2 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx +2 -1
- 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 +2 -1
- data/app/pb_kits/playbook/pb_list/docs/_list_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_list/docs/_list_layout_left.jsx +4 -1
- data/app/pb_kits/playbook/pb_list/docs/_list_layout_right.jsx +5 -1
- data/app/pb_kits/playbook/pb_list/docs/_list_lg.jsx +2 -1
- data/app/pb_kits/playbook/pb_list/docs/_list_ordered.jsx +2 -1
- data/app/pb_kits/playbook/pb_list/docs/_list_xpadding.jsx +2 -1
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.jsx +3 -2
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_light.jsx +2 -1
- data/app/pb_kits/playbook/pb_logistic/_logistic.jsx +7 -2
- data/app/pb_kits/playbook/pb_message/_message.jsx +19 -6
- data/app/pb_kits/playbook/pb_message/docs/_message_default.html.erb +21 -0
- data/app/pb_kits/playbook/pb_message/docs/_message_default.jsx +34 -1
- data/app/pb_kits/playbook/pb_message/message.html.erb +9 -4
- data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx +3 -1
- data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.jsx +4 -2
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_nav/_item.jsx +5 -2
- data/app/pb_kits/playbook/pb_nav/_nav.jsx +4 -2
- data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +2 -2
- data/app/pb_kits/playbook/pb_nav/docs/_block_nav.jsx +4 -2
- data/app/pb_kits/playbook/pb_nav/docs/_block_no_title_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_borderless_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_default_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_horizontal_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_new_tab.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_no_highlight_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_horizontal_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_no_highlight_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_with_icons_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_with_icons_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_nav/docs/_with_img_nav.jsx +3 -2
- data/app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.jsx +11 -2
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.jsx +2 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_common.jsx +3 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_input_props.jsx +2 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_meter_settings.jsx +4 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_strength_change.jsx +4 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_tips.jsx +2 -1
- data/app/pb_kits/playbook/pb_person/_person.jsx +3 -2
- data/app/pb_kits/playbook/pb_person/docs/_person_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_person_contact/_person_contact.jsx +5 -8
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_multiple.jsx +2 -1
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_detail.jsx +2 -1
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_wrong_numbers.jsx +2 -1
- data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.jsx +4 -7
- data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.jsx +3 -1
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +1 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx +5 -2
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker_click_events.jsx +6 -2
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx +1 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx +2 -1
- data/app/pb_kits/playbook/pb_radio/docs/_radio_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.jsx +10 -8
- data/app/pb_kits/playbook/pb_section_separator/_section_separator.jsx +4 -2
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.jsx +5 -1
- data/app/pb_kits/playbook/pb_select/_select.jsx +6 -13
- data/app/pb_kits/playbook/pb_select/_select.scss +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_blank.jsx +2 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select.jsx +2 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_disabled.jsx +2 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx +2 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_required.jsx +2 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_value_text_same.jsx +2 -1
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.jsx +6 -3
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_block.jsx +5 -1
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_image.jsx +4 -5
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_input.jsx +4 -5
- data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.jsx +5 -2
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_checkmark.jsx +2 -1
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_single_select.jsx +2 -1
- data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.jsx +3 -2
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_single_select.jsx +2 -1
- data/app/pb_kits/playbook/pb_selectable_list/_item.jsx +7 -2
- data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.jsx +4 -2
- data/app/pb_kits/playbook/pb_source/_source.jsx +8 -13
- data/app/pb_kits/playbook/pb_source/docs/_source_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_source/docs/_source_noicon.jsx +2 -1
- data/app/pb_kits/playbook/pb_source/docs/_source_types.jsx +2 -1
- data/app/pb_kits/playbook/pb_star_rating/_star_rating.jsx +2 -7
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +2 -1
- data/app/pb_kits/playbook/pb_stat_change/_stat_change.jsx +4 -2
- data/app/pb_kits/playbook/pb_stat_value/_stat_value.jsx +3 -2
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx +3 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_container.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_data_table.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_disable_hover.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.jsx +6 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_lg.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_md.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_multiline.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx +3 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx +3 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_side_highlight.jsx +3 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_sm.jsx +2 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.jsx +3 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.jsx +3 -2
- data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +7 -2
- 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 +2 -1
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.jsx +2 -1
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +4 -5
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.jsx +2 -1
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx +2 -1
- data/app/pb_kits/playbook/pb_textarea/_textarea.jsx +9 -3
- data/app/pb_kits/playbook/pb_textarea/_textarea.scss +3 -3
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_character_counter.jsx +2 -1
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_custom.jsx +2 -1
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.jsx +2 -1
- data/app/pb_kits/playbook/pb_time/_time.jsx +3 -1
- data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.jsx +7 -3
- data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.jsx +3 -2
- data/app/pb_kits/playbook/pb_timeline/_item.jsx +4 -1
- data/app/pb_kits/playbook/pb_timeline/_timeline.jsx +3 -1
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_default.jsx +4 -2
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_vertical.jsx +4 -2
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_date.jsx +3 -2
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +5 -3
- data/app/pb_kits/playbook/pb_title/_title.scss +1 -1
- data/app/pb_kits/playbook/pb_title/_title_mixin.scss +1 -40
- data/app/pb_kits/playbook/pb_title/docs/_title_light.jsx +2 -1
- data/app/pb_kits/playbook/pb_title/docs/_title_variants.jsx +2 -1
- data/app/pb_kits/playbook/pb_title_count/_title_count.jsx +3 -2
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align.jsx +2 -1
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_title_detail/_title_detail.jsx +4 -3
- data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +18 -15
- data/app/pb_kits/playbook/pb_typeahead/components/Control.jsx +2 -4
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +2 -1
- data/app/pb_kits/playbook/pb_typeahead/components/Option.jsx +1 -3
- data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.jsx +3 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx +2 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx +2 -1
- data/app/pb_kits/playbook/pb_user/_user.jsx +6 -2
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size.jsx +2 -1
- data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.jsx +6 -5
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_compact.jsx +2 -3
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_default.jsx +2 -3
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_variant.jsx +2 -3
- data/app/pb_kits/playbook/playbook-doc.js +195 -0
- data/app/pb_kits/playbook/playbook-rails-react-bindings.js +35 -0
- data/app/pb_kits/playbook/{vendor.js → playbook-rails.js} +1 -5
- data/app/pb_kits/playbook/plugins/pb_chart.js +6 -4
- data/app/pb_kits/playbook/tokens/_colors.scss +4 -0
- data/app/pb_kits/playbook/tokens/_titles.scss +38 -0
- data/app/pb_kits/playbook/utilities/_colors.scss +0 -4
- data/dist/reset.css +61 -1
- data/lib/playbook.rb +1 -15
- data/lib/playbook/engine.rb +11 -21
- data/lib/playbook/props/nested_props.rb +1 -1
- data/lib/playbook/version.rb +2 -2
- metadata +22 -136
- data/app/assets/images/clark.jpg +0 -0
- data/app/assets/images/full_page_samples.svg +0 -7
- data/app/assets/images/giant.jpg +0 -0
- data/app/assets/images/github-brands.svg +0 -1
- data/app/assets/images/landing-background.svg +0 -36
- data/app/assets/images/landing-image.svg +0 -203
- data/app/assets/images/pb-caret.svg +0 -1
- data/app/assets/images/pb-check.svg +0 -11
- data/app/assets/images/pb-logo.svg +0 -28
- data/app/assets/images/pb-white-logo.svg +0 -15
- data/app/assets/images/pb.logo.svg +0 -28
- data/app/pb_kits/playbook/react_rails_kits.js +0 -13
- data/app/pb_kits/playbook/tokens/_fonts.scss +0 -97
- data/app/pb_kits/playbook/utilities/accessibility.js +0 -22
@@ -1,6 +1,7 @@
|
|
1
1
|
import React from 'react'
|
2
|
-
|
3
|
-
import
|
2
|
+
|
3
|
+
import Table from '../_table'
|
4
|
+
import CircleIconButton from '../../pb_circle_icon_button/_circle_icon_button'
|
4
5
|
|
5
6
|
const TableTwoPlusActions = (props) => {
|
6
7
|
return (
|
@@ -1,11 +1,16 @@
|
|
1
1
|
/* @flow */
|
2
2
|
import React, { forwardRef } from 'react'
|
3
3
|
import classnames from 'classnames'
|
4
|
-
import { Body, Caption, Card, Flex, Icon } from '../'
|
5
|
-
import { globalProps } from '../utilities/globalProps.js'
|
6
4
|
|
5
|
+
import { globalProps } from '../utilities/globalProps.js'
|
7
6
|
import { buildAriaProps, buildDataProps } from '../utilities/props'
|
8
7
|
|
8
|
+
import Flex from '../pb_flex/_flex'
|
9
|
+
import Card from '../pb_card/_card'
|
10
|
+
import Caption from '../pb_caption/_caption'
|
11
|
+
import Body from '../pb_body/_body'
|
12
|
+
import Icon from '../pb_icon/_icon'
|
13
|
+
|
9
14
|
type TextInputProps = {
|
10
15
|
aria?: object,
|
11
16
|
className: string,
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import React, { useState } from 'react'
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
} from '../../'
|
2
|
+
|
3
|
+
import Caption from '../../pb_caption/_caption'
|
4
|
+
import TextInput from '../../pb_text_input/_text_input'
|
5
|
+
import Title from '../../pb_title/_title'
|
7
6
|
|
8
7
|
const TextInputDefault = (props) => {
|
9
8
|
const handleOnChangeFirstName = ({ target }) => {
|
@@ -2,10 +2,16 @@
|
|
2
2
|
|
3
3
|
import React, { forwardRef, useEffect, useRef } from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
|
-
|
6
|
-
import type { InputCallback } from '../types.js'
|
7
|
-
import { globalProps } from '../utilities/globalProps.js'
|
5
|
+
|
8
6
|
import PbTextarea from './'
|
7
|
+
import type { InputCallback } from '../types.js'
|
8
|
+
|
9
|
+
import { globalProps } from '../utilities/globalProps'
|
10
|
+
|
11
|
+
import Body from '../pb_body/_body'
|
12
|
+
import Caption from '../pb_caption/_caption'
|
13
|
+
import Flex from '../pb_flex/_flex'
|
14
|
+
import FlexItem from '../pb_flex/_flex_item'
|
9
15
|
|
10
16
|
type TextareaProps = {
|
11
17
|
characterCount?: string,
|
@@ -1,11 +1,11 @@
|
|
1
1
|
@import "../pb_body/body_mixins";
|
2
2
|
@import "./textarea_mixin";
|
3
|
-
@import "../pb_title/title_mixin";
|
4
3
|
@import "../tokens/spacing";
|
4
|
+
@import "../tokens/titles";
|
5
5
|
|
6
6
|
[class^=pb_textarea_kit] {
|
7
7
|
margin-bottom: $space_sm;
|
8
|
-
|
8
|
+
|
9
9
|
[class^=pb_caption_kit] {
|
10
10
|
margin-bottom: $space_xs;
|
11
11
|
display: block;
|
@@ -28,7 +28,7 @@
|
|
28
28
|
.pb_text_area_kit:hover {
|
29
29
|
background-color: rgba($focus_input_light,$opacity_5);
|
30
30
|
}
|
31
|
-
|
31
|
+
|
32
32
|
&.resize_both > textarea {
|
33
33
|
resize: both;
|
34
34
|
overflow: auto;
|
@@ -7,7 +7,9 @@ import DateTime from '../pb_kit/dateTime.js'
|
|
7
7
|
import { buildCss } from '../utilities/props'
|
8
8
|
import { globalProps } from '../utilities/globalProps.js'
|
9
9
|
|
10
|
-
import
|
10
|
+
import Body from '../pb_body/_body'
|
11
|
+
import Caption from '../pb_caption/_caption'
|
12
|
+
import Icon from '../pb_icon/_icon'
|
11
13
|
|
12
14
|
type TimeProps = {
|
13
15
|
align?: 'left' | 'center' | 'right',
|
@@ -2,9 +2,13 @@
|
|
2
2
|
|
3
3
|
import React from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
|
-
|
6
|
-
import DateTime from '../pb_kit/dateTime
|
7
|
-
import { globalProps } from '../utilities/globalProps
|
5
|
+
|
6
|
+
import DateTime from '../pb_kit/dateTime'
|
7
|
+
import { globalProps } from '../utilities/globalProps'
|
8
|
+
|
9
|
+
import Body from '../pb_body/_body'
|
10
|
+
import Caption from '../pb_caption/_caption'
|
11
|
+
import Icon from '../pb_icon/_icon'
|
8
12
|
|
9
13
|
type TimeRangeInlineProps = {
|
10
14
|
className?: string,
|
@@ -5,9 +5,10 @@ import classnames from 'classnames'
|
|
5
5
|
|
6
6
|
import DateTime from '../pb_kit/dateTime.js'
|
7
7
|
import { buildCss, buildDataProps } from '../utilities/props'
|
8
|
-
import { deprecatedProps, globalProps } from '../utilities/globalProps
|
8
|
+
import { deprecatedProps, globalProps } from '../utilities/globalProps'
|
9
9
|
|
10
|
-
import
|
10
|
+
import Body from '../pb_body/_body'
|
11
|
+
import Caption from '../pb_caption/_caption'
|
11
12
|
|
12
13
|
type TimeStackedProps = {
|
13
14
|
align?: 'left' | 'center' | 'right',
|
@@ -2,8 +2,11 @@
|
|
2
2
|
|
3
3
|
import React from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
|
+
|
5
6
|
import { buildCss } from '../utilities/props'
|
6
|
-
|
7
|
+
|
8
|
+
import DateStacked from '../pb_date_stacked/_date_stacked'
|
9
|
+
import IconCircle from '../pb_icon_circle/_icon_circle'
|
7
10
|
|
8
11
|
type ItemProps = {
|
9
12
|
className?: string,
|
@@ -2,9 +2,11 @@
|
|
2
2
|
|
3
3
|
import React from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
|
-
|
5
|
+
|
6
6
|
import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
|
7
7
|
|
8
|
+
import TimelineItem from './_item.jsx'
|
9
|
+
|
8
10
|
type TimelineProps = {
|
9
11
|
aria?: object,
|
10
12
|
children?: array<React.ReactChild>,
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import React from 'react'
|
2
|
-
|
3
|
-
import
|
2
|
+
|
3
|
+
import Timeline from '../_timeline'
|
4
|
+
import Body from '../../pb_body/_body'
|
5
|
+
import TitleDetail from '../../pb_title_detail/_title_detail'
|
4
6
|
|
5
7
|
const TimelineDefault = (props) => (
|
6
8
|
<div>
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import React from 'react'
|
2
|
-
|
3
|
-
import
|
2
|
+
|
3
|
+
import Timeline from '../_timeline'
|
4
|
+
import Body from '../../pb_body/_body'
|
5
|
+
import TitleDetail from '../../pb_title_detail/_title_detail'
|
4
6
|
|
5
7
|
const TimelineVertical = (props) => (
|
6
8
|
<div>
|
@@ -2,10 +2,12 @@
|
|
2
2
|
|
3
3
|
import React from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
|
-
|
5
|
+
|
6
|
+
import DateTime from '../pb_kit/dateTime'
|
6
7
|
import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
|
7
|
-
import {
|
8
|
-
|
8
|
+
import { globalProps } from '../utilities/globalProps'
|
9
|
+
|
10
|
+
import Caption from '../pb_caption/_caption'
|
9
11
|
|
10
12
|
type TimestampProps = {
|
11
13
|
align?: "left" | "center" | "right",
|
@@ -1,40 +1 @@
|
|
1
|
-
@import "../tokens/
|
2
|
-
@import "../tokens/typography";
|
3
|
-
@import "../tokens/line_height";
|
4
|
-
|
5
|
-
@mixin pb_title(
|
6
|
-
$fontSize: $heading_1,
|
7
|
-
$fontWeight: $lighter,
|
8
|
-
$lineHeight: $lh_tighter
|
9
|
-
){
|
10
|
-
font-size: $fontSize;
|
11
|
-
letter-spacing: $lspace_tight;
|
12
|
-
font-weight: $fontWeight;
|
13
|
-
color: $text_lt_default;
|
14
|
-
margin: 0;
|
15
|
-
line-height: $lineHeight;
|
16
|
-
font-family: $font_family_base;
|
17
|
-
}
|
18
|
-
|
19
|
-
@mixin pb_title_1 {
|
20
|
-
@include pb_title($heading_1);
|
21
|
-
letter-spacing: -0.03em;
|
22
|
-
}
|
23
|
-
|
24
|
-
@mixin pb_title_2 {
|
25
|
-
@include pb_title($heading_2, $lighter, 0.96);
|
26
|
-
}
|
27
|
-
|
28
|
-
@mixin pb_title_3 {
|
29
|
-
@include pb_title($heading_3);
|
30
|
-
}
|
31
|
-
|
32
|
-
@mixin pb_title_4 {
|
33
|
-
@include pb_title($heading_4, $bolder);
|
34
|
-
}
|
35
|
-
|
36
|
-
@mixin pb_title_dark {
|
37
|
-
color: $text_dk_default;
|
38
|
-
}
|
39
|
-
|
40
|
-
|
1
|
+
@import "../tokens/titles";
|
@@ -4,9 +4,10 @@ import React from 'react'
|
|
4
4
|
import classnames from 'classnames'
|
5
5
|
|
6
6
|
import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
|
7
|
+
import { globalProps } from '../utilities/globalProps'
|
7
8
|
|
8
|
-
import
|
9
|
-
import
|
9
|
+
import Body from '../pb_body/_body'
|
10
|
+
import Title from '../pb_title/_title'
|
10
11
|
|
11
12
|
type TitleCountProps = {
|
12
13
|
align: "center" | "left" | "right",
|
@@ -2,12 +2,13 @@
|
|
2
2
|
|
3
3
|
import React from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
|
-
import { globalProps } from '../utilities/globalProps.js'
|
6
|
-
|
7
|
-
import { Body, Title } from '../'
|
8
5
|
|
6
|
+
import { globalProps } from '../utilities/globalProps'
|
9
7
|
import { buildCss, buildDataProps } from '../utilities/props'
|
10
8
|
|
9
|
+
import Body from '../pb_body/_body'
|
10
|
+
import Title from '../pb_title/_title'
|
11
|
+
|
11
12
|
type TitleDetailProps = {
|
12
13
|
align?: "left" | "center" | "right",
|
13
14
|
className?: string,
|