playbook_ui_docs 13.33.1.pre.alpha.PLAY14143340 → 13.33.1.pre.alpha.play1407statvaluekitinconsistencies3352
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_expanded_control.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_row_loading.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.jsx +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.jsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.jsx +1 -1
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.jsx +1 -1
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.jsx +1 -1
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram.jsx +1 -1
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx +1 -1
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_status.jsx +1 -1
- data/app/pb_kits/playbook/pb_background/docs/_background_category.jsx +2 -2
- data/app/pb_kits/playbook/pb_background/docs/_background_gradient.jsx +1 -1
- data/app/pb_kits/playbook/pb_background/docs/_background_image.jsx +2 -2
- data/app/pb_kits/playbook/pb_background/docs/_background_light.jsx +1 -1
- data/app/pb_kits/playbook/pb_background/docs/_background_size.jsx +1 -1
- data/app/pb_kits/playbook/pb_background/docs/_background_status.jsx +2 -2
- data/app/pb_kits/playbook/pb_background/docs/_background_status_subtle.jsx +2 -2
- data/app/pb_kits/playbook/pb_background/docs/_background_white.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.jsx +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx +1 -1
- data/app/pb_kits/playbook/pb_body/docs/_body_articles.jsx +1 -1
- data/app/pb_kits/playbook/pb_body/docs/_body_block.jsx +1 -1
- data/app/pb_kits/playbook/pb_body/docs/_body_light.jsx +1 -1
- data/app/pb_kits/playbook/pb_body/docs/_body_styled.jsx +1 -1
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_accessibility.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_form.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_hover.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_icon_options.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_link.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_loading.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_reaction.jsx +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_size.jsx +1 -1
- data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.jsx +1 -1
- data/app/pb_kits/playbook/pb_caption/docs/_caption_block.jsx +1 -1
- data/app/pb_kits/playbook/pb_caption/docs/_caption_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_caption/docs/_caption_light.jsx +1 -1
- data/app/pb_kits/playbook/pb_card/docs/_card_background.jsx +1 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.jsx +1 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +1 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx +1 -1
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_color.jsx +3 -3
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.jsx +31 -32
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_rails.html.erb +3 -2
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon.jsx +33 -32
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon_rails.html.erb +3 -7
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx +2 -1
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_size.jsx +1 -1
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_state.jsx +10 -1
- data/app/pb_kits/playbook/pb_contact/docs/_contact_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.jsx +1 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_unstyled.jsx +1 -1
- data/app/pb_kits/playbook/pb_date/docs/_date_alignment.jsx +1 -1
- data/app/pb_kits/playbook/pb_date/docs/_date_default.jsx +2 -2
- data/app/pb_kits/playbook/pb_date/docs/_date_unstyled.jsx +1 -1
- data/app/pb_kits/playbook/pb_date/docs/_date_variants.jsx +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.jsx +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_close.jsx +1 -1
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_date_range_stacked_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_detail/docs/_detail_bold.jsx +1 -1
- data/app/pb_kits/playbook/pb_detail/docs/_detail_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_detail/docs/_detail_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_detail/docs/_detail_styled.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_separators.jsx +3 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.jsx +2 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.jsx +1 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.jsx +29 -30
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx +1 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx +1 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx +1 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_blank_selection.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_value.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_error.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_and_custom_display.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_external_control.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_hook.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_label.jsx +1 -1
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_accept.jsx +3 -2
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_custom_description.jsx +3 -2
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_custom_message.jsx +3 -2
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_default.jsx +3 -2
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_max_size.jsx +4 -3
- data/app/pb_kits/playbook/pb_filter/docs/_filter_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_max_height.jsx +1 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_max_width.jsx +1 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx +1 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx +1 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx +1 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_align.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item_align_self.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item_example.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_justify.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_spacing.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_wrap.jsx +1 -1
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_icon.html.erb +5 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_icon.jsx +19 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +2 -1
- data/app/pb_kits/playbook/pb_form_pill/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.jsx +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_disable_animation.jsx +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_full_circle.jsx +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_live_data.jsx +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.jsx +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_title.jsx +1 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx +1 -1
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_link.jsx +1 -1
- data/app/pb_kits/playbook/pb_icon/docs/_icon_color.html.erb +5 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_color.jsx +34 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_color.md +1 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx +1 -1
- data/app/pb_kits/playbook/pb_icon/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_icon/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.jsx +1 -1
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.jsx +1 -1
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_sizes.jsx +1 -1
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_vertical.jsx +1 -1
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details.jsx +1 -1
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples.jsx +1 -1
- data/app/pb_kits/playbook/pb_legend/docs/_legend_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_legend/docs/_legend_custom_colors.jsx +1 -1
- data/app/pb_kits/playbook/pb_legend/docs/_legend_prefix.jsx +1 -1
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_compound_component.jsx +2 -1
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_current_photo.jsx +2 -1
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_custom_header.jsx +2 -1
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_multiple.jsx +2 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.jsx +1 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.jsx +1 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.jsx +1 -1
- data/app/pb_kits/playbook/pb_map/docs/_map_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_map/docs/_map_with_custom_button.jsx +1 -1
- data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.jsx +1 -1
- data/app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx +1 -1
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse.jsx +1 -1
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size.jsx +1 -1
- data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx +1 -1
- data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_custom.jsx +1 -1
- data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_item_spacing.jsx +1 -1
- data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_with_all_options.jsx +1 -1
- data/app/pb_kits/playbook/pb_nav/docs/_nav_with_font_control.jsx +1 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx +1 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.jsx +1 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_common.jsx +1 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_confirmation.jsx +1 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_meter_settings.jsx +1 -1
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_strength_change.jsx +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_access_input_element.jsx +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_clear_field.jsx +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.jsx +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_only_countries.jsx +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.jsx +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_close.jsx +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list.jsx +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height.jsx +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_z_index.jsx +1 -1
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_align.jsx +1 -1
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_flex.jsx +1 -1
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_muted.jsx +1 -1
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_value.jsx +1 -1
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_variants.jsx +1 -1
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_width.jsx +1 -1
- data/app/pb_kits/playbook/pb_radio/docs/_radio_alignment.jsx +1 -1
- data/app/pb_kits/playbook/pb_radio/docs/_radio_error.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_more_extensions.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.jsx +4 -5
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_simple.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.jsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_disabled.jsx +1 -1
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_children.jsx +1 -1
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dashed.jsx +1 -1
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.jsx +1 -1
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_error.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_inline.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_inline_compact.jsx +1 -1
- data/app/pb_kits/playbook/pb_select/docs/_select_inline_show_arrow.jsx +1 -1
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_error.jsx +1 -1
- data/app/pb_kits/playbook/pb_selectable_list/docs/_selectable_list_checkbox.jsx +1 -1
- data/app/pb_kits/playbook/pb_selectable_list/docs/_selectable_list_radio.jsx +1 -1
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +28 -33
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_interactive.jsx +14 -0
- data/app/pb_kits/playbook/pb_star_rating/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_unit.jsx +1 -1
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_unit_two.jsx +1 -1
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +3 -3
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_error.jsx +1 -1
- data/app/pb_kits/playbook/pb_time_range_inline/docs/_time_range_inline_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_unstyled.jsx +1 -1
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_custom.jsx +3 -1
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_custom_radio.jsx +3 -1
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_default.jsx +3 -1
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_disabled.jsx +3 -1
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_name.jsx +3 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx +3 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.jsx +3 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx +3 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx +3 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.jsx +3 -1
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.jsx +3 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_async_createable.jsx +3 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_createable.jsx +3 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_menu_list.jsx +1 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx +2 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.jsx +2 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx +2 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx +2 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_highlight.jsx +5 -4
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +3 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx +21 -18
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_custom_options.jsx +31 -24
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +23 -20
- data/app/pb_kits/playbook/pb_user/docs/_user_block_content_subtitle_react.jsx +1 -1
- data/app/pb_kits/playbook/pb_user/docs/_user_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_user/docs/_user_size.jsx +1 -1
- data/app/pb_kits/playbook/pb_user/docs/_user_subtitle.jsx +1 -1
- data/app/pb_kits/playbook/pb_user/docs/_user_text_only.jsx +1 -1
- data/app/pb_kits/playbook/pb_user/docs/_user_vertical_size.jsx +1 -1
- data/app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx +1 -1
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_continuous.jsx +1 -1
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_multi_beacon.jsx +1 -1
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_no_beacon.jsx +1 -1
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_no_overlay.jsx +1 -1
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_styled.jsx +1 -1
- data/dist/app/components/playbook/pb_docs/advanced_table_mock_data.json +278 -0
- data/dist/app/components/playbook/pb_docs/kit_api.html.erb +321 -0
- data/dist/app/components/playbook/pb_docs/kit_api.rb +150 -0
- data/dist/app/components/playbook/pb_docs/kit_example.html.erb +80 -0
- data/dist/app/components/playbook/pb_docs/kit_example.rb +94 -0
- data/dist/menu.yml +568 -0
- data/dist/pb_doc_helper.rb +103 -0
- data/dist/playbook-doc.js +106 -1
- metadata +15 -2
@@ -1,40 +1,35 @@
|
|
1
1
|
import React from 'react'
|
2
|
-
|
3
2
|
import StarRating from '../_star_rating'
|
4
3
|
|
5
4
|
const StarRatingHide = (props) => (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
{...props}
|
35
|
-
/>
|
36
|
-
|
37
|
-
</>
|
5
|
+
<>
|
6
|
+
<StarRating
|
7
|
+
paddingBottom="xs"
|
8
|
+
rating={3}
|
9
|
+
{...props}
|
10
|
+
/>
|
11
|
+
|
12
|
+
<StarRating
|
13
|
+
layoutOption={"number"}
|
14
|
+
paddingBottom="xs"
|
15
|
+
rating={2.8}
|
16
|
+
{...props}
|
17
|
+
/>
|
18
|
+
|
19
|
+
<StarRating
|
20
|
+
layoutOption={"number"}
|
21
|
+
paddingBottom="xs"
|
22
|
+
rating={3}
|
23
|
+
{...props}
|
24
|
+
/>
|
25
|
+
|
26
|
+
<StarRating
|
27
|
+
layoutOption={"onestar"}
|
28
|
+
paddingBottom="xs"
|
29
|
+
rating={1}
|
30
|
+
{...props}
|
31
|
+
/>
|
32
|
+
</>
|
38
33
|
)
|
39
34
|
|
40
35
|
export default StarRatingHide
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react'
|
2
|
+
import StarRating from '../_star_rating'
|
3
|
+
|
4
|
+
const StarRatingInteractive = (props) => (
|
5
|
+
<>
|
6
|
+
<StarRating
|
7
|
+
paddingBottom="xs"
|
8
|
+
variant="interactive"
|
9
|
+
{...props}
|
10
|
+
/>
|
11
|
+
</>
|
12
|
+
)
|
13
|
+
|
14
|
+
export default StarRatingInteractive
|
@@ -9,3 +9,5 @@ export { default as StarRatingHide } from './_star_rating_hide.jsx'
|
|
9
9
|
export { default as StarRatingNumberConfig } from './_star_rating_number_config.jsx'
|
10
10
|
|
11
11
|
export { default as StarRatingSizeOptions } from './_star_rating_size_options.jsx'
|
12
|
+
|
13
|
+
export { default as StarRatingInteractive } from './_star_rating_interactive.jsx'
|
@@ -92,9 +92,9 @@ const TextInputDefault = (props) => {
|
|
92
92
|
{...props}
|
93
93
|
/>
|
94
94
|
|
95
|
-
{firstName !== ''
|
96
|
-
|
97
|
-
|
95
|
+
<If condition={firstName !== ''}>
|
96
|
+
{`First name is: ${firstName}`}
|
97
|
+
</If>
|
98
98
|
</div>
|
99
99
|
)
|
100
100
|
}
|
@@ -1,5 +1,7 @@
|
|
1
|
+
// @flow
|
2
|
+
|
1
3
|
import React, { useState } from 'react'
|
2
|
-
import { Button, Body, Flex, FlexItem, Tooltip } from '
|
4
|
+
import { Button, Body, Flex, FlexItem, Tooltip } from '../..'
|
3
5
|
|
4
6
|
const TooltipShowTooltipReact = (props) => {
|
5
7
|
const [showTooltip, setShowTooltip] = useState(true);
|
@@ -1,8 +1,9 @@
|
|
1
1
|
/* eslint-disable react/no-danger */
|
2
2
|
/* eslint-disable react/no-multi-comp */
|
3
|
+
/* @flow */
|
3
4
|
|
4
5
|
import React, { useState } from 'react'
|
5
|
-
import { components } from 'react-select'
|
6
|
+
import { components, OptionProps } from 'react-select'
|
6
7
|
|
7
8
|
import {
|
8
9
|
Avatar,
|
@@ -11,7 +12,7 @@ import {
|
|
11
12
|
FlexItem,
|
12
13
|
Title,
|
13
14
|
Typeahead,
|
14
|
-
} from '
|
15
|
+
} from '../..'
|
15
16
|
|
16
17
|
const USERS = [
|
17
18
|
{
|
@@ -41,7 +42,7 @@ const TypeaheadWithHighlight = (props) => {
|
|
41
42
|
|
42
43
|
const formatOptionLabel = ({name, territory, title}, {inputValue}) => {
|
43
44
|
|
44
|
-
const highlighted = (text) => {
|
45
|
+
const highlighted = (text: string) => {
|
45
46
|
if (!inputValue.length) return text
|
46
47
|
return text.replace(
|
47
48
|
new RegExp(inputValue, 'gi'),
|
@@ -69,7 +70,7 @@ const TypeaheadWithHighlight = (props) => {
|
|
69
70
|
}
|
70
71
|
|
71
72
|
const customComponents = {
|
72
|
-
Option: (highlightProps) => (
|
73
|
+
Option: (highlightProps: OptionProps) => (
|
73
74
|
<components.Option {...highlightProps}/>
|
74
75
|
),
|
75
76
|
SingleValue: ({ ...props }) => (
|
@@ -1,10 +1,12 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
1
3
|
import React, { useState } from 'react'
|
2
4
|
|
3
5
|
import {
|
4
6
|
Caption,
|
5
7
|
Typeahead,
|
6
8
|
User,
|
7
|
-
} from '
|
9
|
+
} from '../..'
|
8
10
|
|
9
11
|
/**
|
10
12
|
*
|
@@ -60,25 +62,26 @@ const TypeaheadWithPillsAsync = (props) => {
|
|
60
62
|
|
61
63
|
return (
|
62
64
|
<>
|
63
|
-
{users && users.length > 0
|
64
|
-
<
|
65
|
-
|
66
|
-
|
67
|
-
|
65
|
+
<If condition={users && users.length > 0}>
|
66
|
+
<Caption
|
67
|
+
marginBottom="xs"
|
68
|
+
text="State (Users)"
|
69
|
+
{...props}
|
70
|
+
/>
|
71
|
+
<For
|
72
|
+
each="user"
|
73
|
+
of={users}
|
74
|
+
>
|
75
|
+
<User
|
76
|
+
align="left"
|
77
|
+
key={user.value}
|
78
|
+
marginBottom="md"
|
79
|
+
name={user.label}
|
80
|
+
orientation="horizontal"
|
68
81
|
{...props}
|
69
82
|
/>
|
70
|
-
|
71
|
-
|
72
|
-
align="left"
|
73
|
-
key={user.value}
|
74
|
-
marginBottom="md"
|
75
|
-
name={user.label}
|
76
|
-
orientation="horizontal"
|
77
|
-
{...props}
|
78
|
-
/>
|
79
|
-
))}
|
80
|
-
</React.Fragment>
|
81
|
-
)}
|
83
|
+
</For>
|
84
|
+
</If>
|
82
85
|
<Typeahead
|
83
86
|
async
|
84
87
|
getOptionLabel={(option) => option.name}
|
@@ -1,10 +1,12 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
1
3
|
import React, { useState } from 'react'
|
2
4
|
|
3
5
|
import {
|
4
6
|
Caption,
|
5
7
|
Typeahead,
|
6
8
|
User,
|
7
|
-
} from '
|
9
|
+
} from '../..'
|
8
10
|
|
9
11
|
/**
|
10
12
|
*
|
@@ -15,6 +17,13 @@ import {
|
|
15
17
|
* @summary - for doc example purposes only
|
16
18
|
*/
|
17
19
|
|
20
|
+
type UserProps = {
|
21
|
+
imageUrl?: String,
|
22
|
+
label?: String,
|
23
|
+
territory?: String,
|
24
|
+
type?: String,
|
25
|
+
}
|
26
|
+
|
18
27
|
const filterResults = (results) =>
|
19
28
|
results.items.map((result) => {
|
20
29
|
return {
|
@@ -54,30 +63,28 @@ const TypeaheadWithPillsAsyncCustomOptions = (props) => {
|
|
54
63
|
|
55
64
|
return (
|
56
65
|
<>
|
57
|
-
{users && users.length > 0
|
58
|
-
<
|
59
|
-
|
60
|
-
|
61
|
-
|
66
|
+
<If condition={users && users.length > 0}>
|
67
|
+
<Caption
|
68
|
+
marginBottom="xs"
|
69
|
+
text="State (Users)"
|
70
|
+
{...props}
|
71
|
+
/>
|
72
|
+
<For
|
73
|
+
each="user"
|
74
|
+
of={users}
|
75
|
+
>
|
76
|
+
<User
|
77
|
+
align="left"
|
78
|
+
avatar
|
79
|
+
avatarUrl={user.imageUrl}
|
80
|
+
key={user.value}
|
81
|
+
marginBottom="md"
|
82
|
+
name={user.label}
|
83
|
+
orientation="horizontal"
|
62
84
|
{...props}
|
63
85
|
/>
|
64
|
-
|
65
|
-
|
66
|
-
of={users}
|
67
|
-
>
|
68
|
-
<User
|
69
|
-
align="left"
|
70
|
-
avatar
|
71
|
-
avatarUrl={user.imageUrl}
|
72
|
-
key={user.value}
|
73
|
-
marginBottom="md"
|
74
|
-
name={user.label}
|
75
|
-
orientation="horizontal"
|
76
|
-
{...props}
|
77
|
-
/>
|
78
|
-
</For>
|
79
|
-
</React.Fragment>
|
80
|
-
)}
|
86
|
+
</For>
|
87
|
+
</If>
|
81
88
|
<Typeahead
|
82
89
|
async
|
83
90
|
isMulti
|
@@ -86,7 +93,7 @@ const TypeaheadWithPillsAsyncCustomOptions = (props) => {
|
|
86
93
|
onChange={handleOnChange}
|
87
94
|
onMultiValueClick={handleOnMultiValueClick}
|
88
95
|
placeholder="type the name of a Github user"
|
89
|
-
valueComponent={(props) => (
|
96
|
+
valueComponent={(props: UserProps) => (
|
90
97
|
<User
|
91
98
|
avatar
|
92
99
|
avatarUrl={props.imageUrl}
|
@@ -1,10 +1,12 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
1
3
|
import React, { useState } from 'react'
|
2
4
|
|
3
5
|
import {
|
4
6
|
Caption,
|
5
7
|
Typeahead,
|
6
8
|
User,
|
7
|
-
} from '
|
9
|
+
} from '../..'
|
8
10
|
|
9
11
|
/**
|
10
12
|
*
|
@@ -61,27 +63,28 @@ const TypeaheadWithPillsAsyncUsers = (props) => {
|
|
61
63
|
|
62
64
|
return (
|
63
65
|
<>
|
64
|
-
{users && users.length > 0
|
65
|
-
<
|
66
|
-
|
67
|
-
|
68
|
-
|
66
|
+
<If condition={users && users.length > 0}>
|
67
|
+
<Caption
|
68
|
+
marginBottom="xs"
|
69
|
+
text="State (Users)"
|
70
|
+
{...props}
|
71
|
+
/>
|
72
|
+
<For
|
73
|
+
each="user"
|
74
|
+
of={users}
|
75
|
+
>
|
76
|
+
<User
|
77
|
+
align="left"
|
78
|
+
avatar
|
79
|
+
avatarUrl={user.imageUrl}
|
80
|
+
key={user.value}
|
81
|
+
marginBottom="md"
|
82
|
+
name={user.label}
|
83
|
+
orientation="horizontal"
|
69
84
|
{...props}
|
70
85
|
/>
|
71
|
-
|
72
|
-
|
73
|
-
align="left"
|
74
|
-
avatar
|
75
|
-
avatarUrl={user.imageUrl}
|
76
|
-
key={user.value}
|
77
|
-
marginBottom="md"
|
78
|
-
name={user.label}
|
79
|
-
orientation="horizontal"
|
80
|
-
{...props}
|
81
|
-
/>
|
82
|
-
))}
|
83
|
-
</React.Fragment>
|
84
|
-
)}
|
86
|
+
</For>
|
87
|
+
</If>
|
85
88
|
<Typeahead
|
86
89
|
async
|
87
90
|
isMulti
|