playbook_ui 12.19.0.pre.alpha.movemarkdown639 → 12.20.0.pre.alpha.title2665
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_avatar/docs/_avatar_default.html.erb +56 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +64 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram.html.erb +6 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram.jsx +41 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram.md +2 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.html.erb +6 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx +47 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.md +2 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_status.html.erb +36 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_status.jsx +53 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_status.md +2 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_description.md +2 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_footer.md +3 -0
- data/app/pb_kits/playbook/pb_avatar/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_avatar/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.html.erb +19 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +26 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.html.erb +10 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +17 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +19 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb +16 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.html.erb +35 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +42 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip.html.erb +13 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml +15 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_category.html.erb +23 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_category.jsx +119 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_category.md +1 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_gradient.html.erb +3 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_gradient.jsx +12 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_image.html.erb +61 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_image.jsx +79 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_image.md +1 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_light.html.erb +3 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_light.jsx +12 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_size.html.erb +5 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_size.jsx +36 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_size.md +3 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_status.html.erb +25 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_status.jsx +85 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_status.md +1 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_status_subtle.html.erb +11 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_status_subtle.jsx +44 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_status_subtle.md +1 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_white.html.erb +3 -0
- data/app/pb_kits/playbook/pb_background/docs/_background_white.jsx +15 -0
- data/app/pb_kits/playbook/pb_background/docs/_description.md +3 -0
- data/app/pb_kits/playbook/pb_background/docs/example.yml +21 -0
- data/app/pb_kits/playbook/pb_background/docs/index.js +8 -0
- data/app/pb_kits/playbook/pb_badge/docs/_badge_colors.html.erb +106 -0
- data/app/pb_kits/playbook/pb_badge/docs/_badge_colors.jsx +160 -0
- data/app/pb_kits/playbook/pb_badge/docs/_badge_default.html.erb +16 -0
- data/app/pb_kits/playbook/pb_badge/docs/_badge_default.jsx +32 -0
- data/app/pb_kits/playbook/pb_badge/docs/_badge_rounded.html.erb +19 -0
- data/app/pb_kits/playbook/pb_badge/docs/_badge_rounded.jsx +35 -0
- data/app/pb_kits/playbook/pb_badge/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_badge/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_badge/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.html.erb +26 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx +37 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.md +2 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.html.erb +26 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +37 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.html.erb +26 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx +39 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.html.erb +14 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx +24 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.html.erb +15 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.jsx +25 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.html.erb +62 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx +86 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md +17 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.html.erb +20 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx +30 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.md +2 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_description.md +3 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +20 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +7 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_articles.html.erb +8 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_articles.jsx +20 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_articles.md +1 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_block.html.erb +3 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_block.jsx +14 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_light.html.erb +28 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_light.jsx +40 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_light.md +6 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_styled.html.erb +21 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_styled.jsx +32 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_styled.md +1 -0
- data/app/pb_kits/playbook/pb_body/docs/_description.md +2 -0
- data/app/pb_kits/playbook/pb_body/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_body/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_body/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.html.erb +17 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +56 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_accessibility.html.erb +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_accessibility.jsx +17 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_block_content.html.erb +4 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx +19 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_block_content.md +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_default.html.erb +5 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_default.jsx +40 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_default.md +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_form.html.erb +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_form.jsx +15 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_full_width.html.erb +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx +15 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_full_width.md +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_icon_options.html.erb +2 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_icon_options.jsx +27 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_icon_options.md +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_link.html.erb +4 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_link.jsx +47 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_link.md +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_loading.html.erb +3 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_loading.jsx +37 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_loading.md +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_options.html.erb +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_options.jsx +17 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_size.html.erb +3 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_size.jsx +32 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_size.md +1 -0
- data/app/pb_kits/playbook/pb_button/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_button/docs/example.yml +23 -0
- data/app/pb_kits/playbook/pb_button/docs/index.js +10 -0
- data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.html.erb +17 -0
- data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.jsx +52 -0
- data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.html.erb +18 -0
- data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.jsx +62 -0
- data/app/pb_kits/playbook/pb_button_toolbar/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_button_toolbar/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_button_toolbar/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_caption/docs/_caption_block.html.erb +11 -0
- data/app/pb_kits/playbook/pb_caption/docs/_caption_block.jsx +28 -0
- data/app/pb_kits/playbook/pb_caption/docs/_caption_colors.html.erb +4 -0
- data/app/pb_kits/playbook/pb_caption/docs/_caption_colors.jsx +30 -0
- data/app/pb_kits/playbook/pb_caption/docs/_caption_colors.md +6 -0
- data/app/pb_kits/playbook/pb_caption/docs/_caption_light.html.erb +3 -0
- data/app/pb_kits/playbook/pb_caption/docs/_caption_light.jsx +25 -0
- data/app/pb_kits/playbook/pb_caption/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_caption/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_caption/docs/example.yml +10 -0
- data/app/pb_kits/playbook/pb_caption/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_background.html.erb +44 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_background.jsx +97 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_background.md +1 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_none.html.erb +7 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_none.jsx +17 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_none.md +1 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_radius.html.erb +53 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_radius.jsx +71 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_radius.md +1 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_content.html.erb +13 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_content.jsx +27 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_header.html.erb +70 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_header.jsx +188 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_header.md +1 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight.html.erb +9 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx +34 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight.md +1 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_light.html.erb +4 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_light.jsx +12 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_light.md +1 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_padding.html.erb +27 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_padding.jsx +54 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_selected.html.erb +9 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_selected.jsx +19 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_separator.html.erb +19 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_separator.jsx +35 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_shadow.html.erb +21 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx +40 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_tag.html.erb +25 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_tag.jsx +60 -0
- data/app/pb_kits/playbook/pb_card/docs/example.yml +27 -0
- data/app/pb_kits/playbook/pb_card/docs/index.js +12 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.html.erb +6 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.jsx +19 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.html.erb +3 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx +35 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.html.erb +7 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx +19 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.html.erb +6 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.jsx +18 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb +7 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.jsx +74 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb +10 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +15 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.html.erb +26 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +43 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.html.erb +20 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +31 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.md +2 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.html.erb +20 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx +31 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md +3 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.html.erb +19 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +30 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.html.erb +136 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +122 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.html.erb +86 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +114 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md +17 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +57 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.html.erb +22 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +32 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb +37 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +47 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.html.erb +22 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +32 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.html.erb +38 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +47 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +28 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +11 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx +15 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.html.erb +25 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.jsx +39 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.html.erb +12 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.jsx +27 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml +10 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.tsx +38 -0
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +94 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_color.html.erb +60 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_color.jsx +98 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_color.md +4 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.html.erb +10 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.jsx +19 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_size.html.erb +40 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_size.jsx +68 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_size.md +4 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_collapsible/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_contact/docs/_contact_default.html.erb +23 -0
- data/app/pb_kits/playbook/pb_contact/docs/_contact_default.jsx +35 -0
- data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.html.erb +28 -0
- data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.jsx +40 -0
- data/app/pb_kits/playbook/pb_contact/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_contact/docs/example.yml +10 -0
- data/app/pb_kits/playbook/pb_contact/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.html.erb +27 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_abbreviated.jsx +44 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_alignment.html.erb +21 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_alignment.jsx +34 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals.html.erb +24 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_matching_decimals.jsx +38 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.html.erb +7 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx +18 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_size.html.erb +21 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_size.jsx +34 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.html.erb +24 -0
- data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.jsx +37 -0
- data/app/pb_kits/playbook/pb_currency/docs/_description.md +2 -0
- data/app/pb_kits/playbook/pb_currency/docs/example.yml +17 -0
- data/app/pb_kits/playbook/pb_currency/docs/index.js +6 -0
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_align.html.erb +23 -0
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_align.jsx +40 -0
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_default.html.erb +28 -0
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_default.jsx +47 -0
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_dashboard_value/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_dashboard_value/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_alignment.html.erb +24 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_alignment.jsx +35 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_default.html.erb +39 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_default.jsx +59 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_timezone.html.erb +51 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_timezone.md +6 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_variants.html.erb +35 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_variants.jsx +53 -0
- data/app/pb_kits/playbook/pb_date/docs/_description.md +11 -0
- data/app/pb_kits/playbook/pb_date/docs/example.yml +14 -0
- data/app/pb_kits/playbook/pb_date/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.html.erb +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.jsx +14 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_anti_patterns.html.erb +23 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.jsx +14 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.html.erb +23 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx +34 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.md +5 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb +43 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.jsx +54 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.jsx +15 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_flatpickr_methods.html.erb +27 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_flatpickr_methods.jsx +47 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.html.erb +23 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.jsx +34 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hide_icon.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hide_icon.jsx +15 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.html.erb +37 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.jsx +40 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +17 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.jsx +26 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.html.erb +26 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.jsx +37 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.md +5 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.html.erb +9 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.jsx +20 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.html.erb +14 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx +25 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_month_and_year.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_month_and_year.jsx +18 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_month_and_year.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.jsx +37 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md +3 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_close.jsx +43 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_close.md +3 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.html.erb +44 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.jsx +60 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions.md +9 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.html.erb +33 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_positions_element.jsx +67 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx +16 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.html.erb +6 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.jsx +38 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.jsx +18 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.html.erb +7 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.jsx +18 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_description.md +9 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +48 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +22 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_calendar_input_icon.scss +33 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_day_styles.scss +78 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_flatpickr_styles.scss +775 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +116 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_inline_styles.scss +173 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_input_styles.scss +68 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_month_and_year_styles.scss +127 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_overrides.scss +47 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_time_selection_styles.scss +64 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_week_styles.scss +127 -0
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.html.erb +14 -0
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx +59 -0
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_date_range_inline/docs/example.yml +9 -0
- data/app/pb_kits/playbook/pb_date_range_inline/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_date_range_stacked_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_date_range_stacked_default.jsx +14 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_align.html.erb +21 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_align.jsx +59 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_bold.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_bold.jsx +38 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_default.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_default.jsx +27 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_not_current_year.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_not_current_year.jsx +26 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_reverse.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_reverse.jsx +29 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_sizes.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_sizes.jsx +22 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/example.yml +17 -0
- data/app/pb_kits/playbook/pb_date_stacked/docs/index.js +6 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_align.html.erb +17 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_align.jsx +35 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_default.html.erb +20 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx +39 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_size.html.erb +26 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_size.jsx +75 -0
- data/app/pb_kits/playbook/pb_date_time/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_date_time/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_date_time/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default.html.erb +8 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default.jsx +32 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default.html.erb +5 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default.jsx +22 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default.md +1 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_footer.md +4 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.tsx +25 -0
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.tsx +56 -0
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.tsx +68 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.html.erb +15 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.jsx +54 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.md +4 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.html.erb +11 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx +31 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md +3 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.html.erb +58 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.jsx +103 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height.md +1 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.html.erb +58 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.jsx +102 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_full_height_placement.md +5 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.html.erb +23 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx +51 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.md +5 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_separators.jsx +119 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_separators.md +2 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.html.erb +12 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.jsx +28 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.md +2 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.html.erb +29 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.jsx +96 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.html.erb +49 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.jsx +118 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.md +1 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.html.erb +96 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.jsx +170 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.md +3 -0
- data/app/pb_kits/playbook/pb_dialog/docs/example.yml +24 -0
- data/app/pb_kits/playbook/pb_dialog/docs/index.js +10 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.html.erb +4 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.jsx +18 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.md +1 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_default.html.erb +9 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_default.jsx +26 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_docs/kit_api.html.erb +311 -0
- data/app/pb_kits/playbook/pb_docs/kit_api.rb +149 -0
- data/app/pb_kits/playbook/pb_docs/kit_example.html.erb +45 -0
- data/app/pb_kits/playbook/pb_docs/kit_example.rb +71 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/_description.md +7 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_accept.jsx +40 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_custom_description.jsx +38 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_custom_description.md +1 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_custom_message.jsx +40 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_default.jsx +39 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_max_size.jsx +71 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/example.yml +10 -0
- data/app/pb_kits/playbook/pb_file_upload/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_filter/docs/_description.md +7 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_default.html.erb +71 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_default.jsx +130 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_max_width.html.erb +37 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_max_width.jsx +69 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_max_width.md +1 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_background.html.erb +76 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_background.jsx +126 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_background.md +1 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.html.erb +31 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.jsx +59 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_no_sort.md +1 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_only.html.erb +29 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_only.jsx +56 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.html.erb +30 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.jsx +73 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_placement.md +4 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_single.html.erb +36 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_single.jsx +71 -0
- data/app/pb_kits/playbook/pb_filter/docs/_sort_only.html.erb +11 -0
- data/app/pb_kits/playbook/pb_filter/docs/_sort_only.jsx +19 -0
- data/app/pb_kits/playbook/pb_filter/docs/example.yml +21 -0
- data/app/pb_kits/playbook/pb_filter/docs/index.js +8 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_description.md +2 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_auto_close.jsx +68 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_auto_close.md +1 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.html.erb +21 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.jsx +42 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.html.erb +19 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.jsx +40 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.html.erb +5 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.jsx +18 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.md +2 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_positions.html.erb +90 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_positions.jsx +105 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +14 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_flex/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_align.html.erb +101 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_align.jsx +205 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_align.md +3 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_default.html.erb +23 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_default.jsx +64 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_default.md +3 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.html.erb +33 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.jsx +75 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.md +9 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_inline.html.erb +23 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx +64 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_inline.md +5 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item.html.erb +73 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item.md +14 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item_align_self.html.erb +89 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item_align_self.jsx +210 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item_align_self.md +5 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item_example.jsx +166 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item_example.md +14 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_justify.html.erb +66 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_justify.jsx +157 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_justify.md +3 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_reverse.html.erb +23 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx +67 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_reverse.md +5 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_spacing.html.erb +52 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_spacing.jsx +118 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_spacing.md +3 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_wrap.html.erb +35 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_wrap.jsx +99 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_wrap.md +5 -0
- data/app/pb_kits/playbook/pb_flex/docs/example.yml +28 -0
- data/app/pb_kits/playbook/pb_flex/docs/index.js +10 -0
- data/app/pb_kits/playbook/pb_form/docs/_description.md +6 -0
- data/app/pb_kits/playbook/pb_form/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +93 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +34 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.md +1 -0
- data/app/pb_kits/playbook/pb_form/docs/example.yml +5 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_button.html.erb +12 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx +42 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_date_picker.html.erb +6 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_date_picker.jsx +25 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_default.html.erb +7 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_default.jsx +28 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.html.erb +13 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx +46 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.md +1 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.html.erb +19 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.jsx +39 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card.html.erb +21 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card.jsx +44 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card_icon.html.erb +19 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card_icon.jsx +37 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_typeahead.html.erb +42 -0
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_typeahead.jsx +35 -0
- data/app/pb_kits/playbook/pb_form_group/docs/example.yml +22 -0
- data/app/pb_kits/playbook/pb_form_group/docs/index.js +7 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_example.html.erb +1 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_example.jsx +17 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_example.md +1 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_size.html.erb +13 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_size.jsx +25 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_tag.html.erb +1 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_tag.jsx +17 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_user.html.erb +11 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_user.jsx +25 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +14 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.html.erb +12 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.jsx +19 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.md +2 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.html.erb +32 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.jsx +101 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.md +1 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_default.html.erb +11 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_default.jsx +18 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_disable_animation.html.erb +12 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_disable_animation.jsx +19 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_full_circle.html.erb +14 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_full_circle.jsx +21 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_height.html.erb +15 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx +25 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_live_data.jsx +43 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.html.erb +15 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx +22 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.md +1 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.html.erb +27 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.jsx +64 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.md +2 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_title.html.erb +14 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_title.jsx +21 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb +29 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx +31 -0
- data/app/pb_kits/playbook/pb_gauge/docs/example.yml +27 -0
- data/app/pb_kits/playbook/pb_gauge/docs/index.js +11 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_default.html.erb +13 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_default.jsx +41 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_link.html.erb +5 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_link.jsx +26 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_link.md +1 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/example.yml +9 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_highlight/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_highlight/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_highlight/docs/_highlight_default.html.erb +20 -0
- data/app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx +30 -0
- data/app/pb_kits/playbook/pb_highlight/docs/example.yml +9 -0
- data/app/pb_kits/playbook/pb_highlight/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.html.erb +11 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.jsx +22 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.md +1 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.html.erb +27 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx +39 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.md +2 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.html.erb +12 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.jsx +23 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_link.md +1 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.html.erb +7 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.jsx +18 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/example.yml +14 -0
- data/app/pb_kits/playbook/pb_home_address_street/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_icon/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_icon/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_animate.html.erb +3 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_animate.jsx +35 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_animate.md +1 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_border.html.erb +1 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_border.jsx +19 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_custom.html.erb +16 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx +34 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_custom.md +19 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default.jsx +17 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_flip.html.erb +3 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_flip.jsx +33 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_pull.html.erb +2 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_pull.jsx +26 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_pull.md +1 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate.html.erb +3 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate.jsx +33 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes.html.erb +16 -0
- data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes.jsx +133 -0
- data/app/pb_kits/playbook/pb_icon/docs/example.yml +20 -0
- data/app/pb_kits/playbook/pb_icon/docs/index.js +8 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.html.erb +35 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.jsx +60 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.md +1 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.html.erb +3 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.jsx +17 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.html.erb +24 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.jsx +34 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.html.erb +49 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.jsx +74 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_default.html.erb +11 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_default.jsx +27 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_sizes.html.erb +20 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_sizes.jsx +38 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_vertical.html.erb +7 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_vertical.jsx +20 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/example.yml +15 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align.html.erb +20 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align.jsx +35 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_default.html.erb +18 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_default.jsx +33 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/example.yml +9 -0
- data/app/pb_kits/playbook/pb_icon_value/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_image/docs/_custom_error_image.html.erb +76 -0
- data/app/pb_kits/playbook/pb_image/docs/_custom_error_image.jsx +58 -0
- data/app/pb_kits/playbook/pb_image/docs/_default_image.html.erb +13 -0
- data/app/pb_kits/playbook/pb_image/docs/_default_image.jsx +60 -0
- data/app/pb_kits/playbook/pb_image/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_image/docs/_rounded_image.html.erb +17 -0
- data/app/pb_kits/playbook/pb_image/docs/_rounded_image.jsx +58 -0
- data/app/pb_kits/playbook/pb_image/docs/_transition_image.html.erb +54 -0
- data/app/pb_kits/playbook/pb_image/docs/_transition_image.jsx +77 -0
- data/app/pb_kits/playbook/pb_image/docs/_transition_image.md +1 -0
- data/app/pb_kits/playbook/pb_image/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_image/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_label_pill/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_label_pill/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.html.erb +40 -0
- data/app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.jsx +58 -0
- data/app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.md +1 -0
- data/app/pb_kits/playbook/pb_label_pill/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_label_pill/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_description.md +3 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_default.html.erb +21 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_default.jsx +35 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_default.md +1 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details.html.erb +39 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details.jsx +54 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details.md +1 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples.html.erb +72 -0
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples.jsx +103 -0
- data/app/pb_kits/playbook/pb_label_value/docs/example.yml +13 -0
- data/app/pb_kits/playbook/pb_label_value/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_layout/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection.html.erb +54 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection.jsx +31 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection.md +1 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection_detail.html.erb +19 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection_detail.jsx +66 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection_detail.md +1 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_colors.html.erb +24 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx +71 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_content.html.erb +28 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_content.jsx +45 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_kanban.html.erb +140 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_kanban.jsx +1382 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_kanban_responsive.html.erb +57 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_kanban_responsive.jsx +51 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_masonry.html.erb +48 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_masonry.jsx +64 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_sizes.html.erb +32 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx +93 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_transparent.html.erb +8 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_transparent.jsx +26 -0
- data/app/pb_kits/playbook/pb_layout/docs/example.yml +21 -0
- data/app/pb_kits/playbook/pb_layout/docs/index.js +10 -0
- data/app/pb_kits/playbook/pb_legend/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_legend/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_legend/docs/_legend_colors.html.erb +4 -0
- data/app/pb_kits/playbook/pb_legend/docs/_legend_colors.jsx +29 -0
- data/app/pb_kits/playbook/pb_legend/docs/_legend_colors.md +2 -0
- data/app/pb_kits/playbook/pb_legend/docs/_legend_custom_colors.html.erb +3 -0
- data/app/pb_kits/playbook/pb_legend/docs/_legend_custom_colors.jsx +24 -0
- data/app/pb_kits/playbook/pb_legend/docs/_legend_custom_colors.md +1 -0
- data/app/pb_kits/playbook/pb_legend/docs/_legend_default.html.erb +5 -0
- data/app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx +22 -0
- data/app/pb_kits/playbook/pb_legend/docs/_legend_prefix.html.erb +1 -0
- data/app/pb_kits/playbook/pb_legend/docs/_legend_prefix.jsx +15 -0
- data/app/pb_kits/playbook/pb_legend/docs/example.yml +13 -0
- data/app/pb_kits/playbook/pb_legend/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_compound_component.jsx +74 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_compound_component.md +1 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_current_photo.jsx +121 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_current_photo.md +1 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_custom_header.jsx +95 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_custom_header.md +1 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_default.jsx +64 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_default.md +1 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_multiple.jsx +92 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/_lightbox_multiple.md +2 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_lightbox/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_description.md +3 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.html.erb +26 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.jsx +37 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.md +2 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.html.erb +26 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx +37 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.html.erb +26 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx +38 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.html.erb +15 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.jsx +24 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.html.erb +16 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.jsx +24 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.html.erb +62 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.jsx +83 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md +17 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/example.yml +18 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/index.js +6 -0
- data/app/pb_kits/playbook/pb_list/docs/_description.md +9 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_borderless.html.erb +7 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_borderless.jsx +23 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_default.html.erb +7 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_default.jsx +18 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_layout_left.html.erb +8 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_layout_left.jsx +89 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_layout_right.html.erb +8 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_layout_right.jsx +88 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_lg.html.erb +7 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_lg.jsx +23 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_ordered.html.erb +7 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_ordered.jsx +23 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_xpadding.html.erb +7 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_xpadding.jsx +23 -0
- data/app/pb_kits/playbook/pb_list/docs/example.yml +18 -0
- data/app/pb_kits/playbook/pb_list/docs/index.js +7 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_light.html.erb +9 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_light.jsx +23 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/example.yml +9 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_map/docs/_map_default.jsx +74 -0
- data/app/pb_kits/playbook/pb_map/docs/_map_default.md +13 -0
- data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.jsx +88 -0
- data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.md +8 -0
- data/app/pb_kits/playbook/pb_map/docs/example.yml +6 -0
- data/app/pb_kits/playbook/pb_map/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_message/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_message/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_message/docs/_message_default.html.erb +76 -0
- data/app/pb_kits/playbook/pb_message/docs/_message_default.jsx +100 -0
- data/app/pb_kits/playbook/pb_message/docs/_message_default.md +1 -0
- data/app/pb_kits/playbook/pb_message/docs/_message_timestamp.html.erb +18 -0
- data/app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx +32 -0
- data/app/pb_kits/playbook/pb_message/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_message/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.scss +1 -2
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +22 -7
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.html.erb +72 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx +86 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md +5 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.html.erb +71 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.jsx +87 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.md +3 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +9 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_multi_level_select/helper_functions.ts +32 -5
- data/app/pb_kits/playbook/pb_multiple_users/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default.html.erb +39 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default.jsx +52 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse.html.erb +41 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse.jsx +54 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size.html.erb +95 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size.jsx +108 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size.md +1 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/example.yml +12 -0
- data/app/pb_kits/playbook/pb_multiple_users/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.html.erb +50 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.jsx +63 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_nav/docs/_block_nav.html.erb +42 -0
- data/app/pb_kits/playbook/pb_nav/docs/_block_nav.jsx +66 -0
- data/app/pb_kits/playbook/pb_nav/docs/_block_no_title_nav.html.erb +7 -0
- data/app/pb_kits/playbook/pb_nav/docs/_block_no_title_nav.jsx +47 -0
- data/app/pb_kits/playbook/pb_nav/docs/_bold_horizontal_nav.html.erb +6 -0
- data/app/pb_kits/playbook/pb_nav/docs/_bold_horizontal_nav.jsx +39 -0
- data/app/pb_kits/playbook/pb_nav/docs/_bold_vertical_nav.html.erb +6 -0
- data/app/pb_kits/playbook/pb_nav/docs/_bold_vertical_nav.jsx +39 -0
- data/app/pb_kits/playbook/pb_nav/docs/_borderless_nav.html.erb +6 -0
- data/app/pb_kits/playbook/pb_nav/docs/_borderless_nav.jsx +34 -0
- data/app/pb_kits/playbook/pb_nav/docs/_default_nav.html.erb +6 -0
- data/app/pb_kits/playbook/pb_nav/docs/_default_nav.jsx +37 -0
- data/app/pb_kits/playbook/pb_nav/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_nav/docs/_horizontal_nav.html.erb +6 -0
- data/app/pb_kits/playbook/pb_nav/docs/_horizontal_nav.jsx +38 -0
- data/app/pb_kits/playbook/pb_nav/docs/_new_tab.html.erb +6 -0
- data/app/pb_kits/playbook/pb_nav/docs/_new_tab.jsx +40 -0
- data/app/pb_kits/playbook/pb_nav/docs/_no_highlight_nav.html.erb +6 -0
- data/app/pb_kits/playbook/pb_nav/docs/_no_highlight_nav.jsx +34 -0
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_horizontal_nav.html.erb +6 -0
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_horizontal_nav.jsx +39 -0
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_nav.html.erb +8 -0
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_nav.jsx +44 -0
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_no_highlight_nav.html.erb +5 -0
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_no_highlight_nav.jsx +33 -0
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_with_icons_nav.html.erb +9 -0
- data/app/pb_kits/playbook/pb_nav/docs/_subtle_with_icons_nav.jsx +58 -0
- data/app/pb_kits/playbook/pb_nav/docs/_with_icons_nav.html.erb +7 -0
- data/app/pb_kits/playbook/pb_nav/docs/_with_icons_nav.jsx +49 -0
- data/app/pb_kits/playbook/pb_nav/docs/_with_img_nav.html.erb +7 -0
- data/app/pb_kits/playbook/pb_nav/docs/_with_img_nav.jsx +49 -0
- data/app/pb_kits/playbook/pb_nav/docs/_with_img_nav.md +1 -0
- data/app/pb_kits/playbook/pb_nav/docs/example.yml +34 -0
- data/app/pb_kits/playbook/pb_nav/docs/index.js +15 -0
- data/app/pb_kits/playbook/pb_online_status/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_online_status/docs/_online_status_default.html.erb +9 -0
- data/app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx +29 -0
- data/app/pb_kits/playbook/pb_online_status/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_online_status/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default.md +6 -0
- data/app/pb_kits/playbook/pb_pagination/docs/example.yml +6 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.html.erb +145 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.jsx +149 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.md +12 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_common.html.erb +136 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_common.jsx +117 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_common.md +5 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_confirmation.html.erb +51 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_confirmation.jsx +39 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_default.jsx +19 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_input_props.html.erb +16 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_input_props.jsx +57 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_input_props.md +1 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_meter_settings.html.erb +323 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_meter_settings.jsx +157 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_meter_settings.md +15 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_strength_change.html.erb +123 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_strength_change.jsx +112 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_strength_change.md +7 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_tips.html.erb +26 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_tips.jsx +55 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_tips.md +1 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/example.yml +21 -0
- data/app/pb_kits/playbook/pb_passphrase/docs/index.js +8 -0
- data/app/pb_kits/playbook/pb_person/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_person/docs/_footer.md +3 -0
- data/app/pb_kits/playbook/pb_person/docs/_person_default.html.erb +5 -0
- data/app/pb_kits/playbook/pb_person/docs/_person_default.jsx +15 -0
- data/app/pb_kits/playbook/pb_person/docs/_person_default.md +1 -0
- data/app/pb_kits/playbook/pb_person/docs/example.yml +9 -0
- data/app/pb_kits/playbook/pb_person/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_footer.md +3 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_default.html.erb +17 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_default.jsx +30 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_multiple.html.erb +27 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_multiple.jsx +40 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_detail.html.erb +19 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_detail.jsx +32 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_wrong_numbers.html.erb +21 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_wrong_numbers.jsx +35 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/example.yml +14 -0
- data/app/pb_kits/playbook/pb_person_contact/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.html.erb +3 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.jsx +12 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.md +1 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.html.erb +3 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.jsx +14 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.md +1 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_only_countries.html.erb +4 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_only_countries.jsx +14 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_only_countries.md +1 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb +4 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx +14 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md +1 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +13 -0
- data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_pill/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_pill/docs/_pill_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_pill/docs/_pill_default.jsx +15 -0
- data/app/pb_kits/playbook/pb_pill/docs/_pill_example.html.erb +1 -0
- data/app/pb_kits/playbook/pb_pill/docs/_pill_example.jsx +17 -0
- data/app/pb_kits/playbook/pb_pill/docs/_pill_example.md +1 -0
- data/app/pb_kits/playbook/pb_pill/docs/_pill_variants.html.erb +6 -0
- data/app/pb_kits/playbook/pb_pill/docs/_pill_variants.jsx +45 -0
- data/app/pb_kits/playbook/pb_pill/docs/example.yml +13 -0
- data/app/pb_kits/playbook/pb_pill/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_popover/docs/_description.md +13 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_close.html.erb +42 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_close.jsx +102 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_default.html.erb +21 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_default.jsx +44 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list.html.erb +35 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list.jsx +58 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list.md +1 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height.html.erb +24 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height.jsx +62 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_z_index.html.erb +14 -0
- data/app/pb_kits/playbook/pb_popover/docs/_popover_z_index.jsx +53 -0
- data/app/pb_kits/playbook/pb_popover/docs/example.yml +15 -0
- data/app/pb_kits/playbook/pb_popover/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_progress_pills/docs/_description.md +3 -0
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.jsx +17 -0
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status.html.erb +1 -0
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status.jsx +19 -0
- data/app/pb_kits/playbook/pb_progress_pills/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_progress_pills/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_align.html.erb +5 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_align.jsx +28 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_default.jsx +12 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_muted.html.erb +1 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_muted.jsx +15 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_value.html.erb +5 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_value.jsx +20 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_variants.html.erb +14 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_variants.jsx +33 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_variants.md +1 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_width.html.erb +1 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_width.jsx +15 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/example.yml +20 -0
- data/app/pb_kits/playbook/pb_progress_simple/docs/index.js +7 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_description.md +5 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_custom_icon.html.erb +12 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +45 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +31 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tooltip.html.erb +59 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.html.erb +27 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx +42 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker_click_events.jsx +52 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb +39 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx +48 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/example.yml +13 -0
- data/app/pb_kits/playbook/pb_progress_step/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_radio/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_radio/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_alignment.html.erb +27 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_alignment.jsx +36 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom.html.erb +21 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx +66 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_default.html.erb +24 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_default.jsx +34 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_error.html.erb +6 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_error.jsx +16 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_error.md +1 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_options.html.erb +9 -0
- data/app/pb_kits/playbook/pb_radio/docs/example.yml +14 -0
- data/app/pb_kits/playbook/pb_radio/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.jsx +36 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_default.md +4 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.html.erb +5 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_attributes.jsx +15 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx +19 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.html.erb +3 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.jsx +17 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.html.erb +6 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.jsx +16 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.html.erb +25 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.jsx +46 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_simple.html.erb +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_simple.jsx +13 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.html.erb +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.jsx +15 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.html.erb +115 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.jsx +41 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.html.erb +4 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.jsx +14 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +24 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +10 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/templates.js +75 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.html.erb +1 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.jsx +14 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.html.erb +1 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.jsx +13 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.html.erb +13 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.jsx +35 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/example.yml +12 -0
- data/app/pb_kits/playbook/pb_section_separator/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_select/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_select/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_blank.html.erb +19 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_blank.jsx +26 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select.html.erb +8 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select.jsx +27 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_default.html.erb +23 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_default.jsx +33 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_disabled.html.erb +19 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_disabled.jsx +26 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_disabled_options.html.erb +33 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx +48 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_error.html.erb +24 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_error.jsx +39 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_error.md +1 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_inline.html.erb +23 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_inline.jsx +37 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_inline_compact.html.erb +24 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_inline_compact.jsx +38 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_required.html.erb +17 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_required.jsx +26 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_value_text_same.html.erb +18 -0
- data/app/pb_kits/playbook/pb_select/docs/_select_value_text_same.jsx +25 -0
- data/app/pb_kits/playbook/pb_select/docs/example.yml +27 -0
- data/app/pb_kits/playbook/pb_select/docs/index.js +10 -0
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +9 -4
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.tsx +5 -3
- data/app/pb_kits/playbook/pb_selectable_card/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_block.html.erb +25 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_block.jsx +56 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_block.md +1 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_default.html.erb +39 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_default.jsx +63 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_default.md +1 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_error.html.erb +36 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_error.jsx +58 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_image.html.erb +27 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_image.jsx +54 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_image.md +1 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_input.html.erb +105 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_input.jsx +167 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_input.md +1 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_options.html.erb +16 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_single_select.html.erb +30 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_single_select.jsx +53 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_single_select.md +2 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/example.yml +19 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/index.js +6 -0
- data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +2 -1
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_checkmark.html.erb +29 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_checkmark.jsx +45 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_default.html.erb +26 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_default.jsx +41 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_options.html.erb +16 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_single_select.html.erb +27 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_single_select.jsx +44 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/example.yml +14 -0
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_default.html.erb +23 -0
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_default.jsx +40 -0
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_options.html.erb +15 -0
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_single_select.html.erb +27 -0
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_single_select.jsx +47 -0
- data/app/pb_kits/playbook/pb_selectable_icon/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_selectable_icon/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_selectable_list/docs/_selectable_list_checkbox.html.erb +27 -0
- data/app/pb_kits/playbook/pb_selectable_list/docs/_selectable_list_checkbox.jsx +32 -0
- data/app/pb_kits/playbook/pb_selectable_list/docs/_selectable_list_radio.html.erb +27 -0
- data/app/pb_kits/playbook/pb_selectable_list/docs/_selectable_list_radio.jsx +32 -0
- data/app/pb_kits/playbook/pb_selectable_list/docs/example.yml +12 -0
- data/app/pb_kits/playbook/pb_selectable_list/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_source/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_source/docs/_source_default.html.erb +25 -0
- data/app/pb_kits/playbook/pb_source/docs/_source_default.jsx +41 -0
- data/app/pb_kits/playbook/pb_source/docs/_source_noicon.html.erb +26 -0
- data/app/pb_kits/playbook/pb_source/docs/_source_noicon.jsx +44 -0
- data/app/pb_kits/playbook/pb_source/docs/_source_types.html.erb +63 -0
- data/app/pb_kits/playbook/pb_source/docs/_source_types.jsx +94 -0
- data/app/pb_kits/playbook/pb_source/docs/example.yml +12 -0
- data/app/pb_kits/playbook/pb_source/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_star_rating/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb +13 -0
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +32 -0
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb +1 -0
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +15 -0
- data/app/pb_kits/playbook/pb_star_rating/docs/example.yml +9 -0
- data/app/pb_kits/playbook/pb_star_rating/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_default.html.erb +18 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_default.jsx +32 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_unit.html.erb +17 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_unit.jsx +31 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_unit_two.html.erb +20 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_unit_two.jsx +34 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_unit_two.md +1 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_stat_change/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.html.erb +3 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.jsx +22 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.md +1 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_precision.html.erb +3 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_precision.md +2 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_unit.html.erb +1 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_unit.jsx +14 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_stat_value/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_table/docs/_description.md +2 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx +75 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.md +2 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx +46 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md +2 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx +46 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.md +2 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.html.erb +63 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +79 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.md +2 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.html.erb +52 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx +64 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_container.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_container.jsx +48 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_data_table.html.erb +48 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_data_table.jsx +47 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_disable_hover.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_disable_hover.jsx +48 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.html.erb +61 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.jsx +111 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.md +1 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_lg.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_lg.jsx +47 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_lg.md +1 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_md.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_md.jsx +47 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_md.md +1 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_multiline.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_multiline.jsx +77 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_one_action.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx +75 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_one_action.md +2 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_responsive_table.html.erb +99 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx +131 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_side_highlight.html.erb +129 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_side_highlight.jsx +187 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_side_highlight.md +3 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_single_line.html.erb +48 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx +78 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_sm.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_sm.jsx +47 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_sm.md +3 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky.html.erb +83 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky.jsx +94 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky.md +10 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.html.erb +43 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.jsx +90 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.md +1 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.jsx +70 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.md +1 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_vertical_border.html.erb +34 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_vertical_border.jsx +48 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb +41 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx +62 -0
- data/app/pb_kits/playbook/pb_table/docs/example.yml +48 -0
- data/app/pb_kits/playbook/pb_table/docs/index.js +22 -0
- data/app/pb_kits/playbook/pb_table/styles/_alignment.scss +32 -0
- data/app/pb_kits/playbook/pb_table/styles/_all.scss +19 -0
- data/app/pb_kits/playbook/pb_table/styles/_content.scss +13 -0
- data/app/pb_kits/playbook/pb_table/styles/_desktop_collapse.scss +125 -0
- data/app/pb_kits/playbook/pb_table/styles/_headers.scss +16 -0
- data/app/pb_kits/playbook/pb_table/styles/_hover.scss +74 -0
- data/app/pb_kits/playbook/pb_table/styles/_mobile.scss +125 -0
- data/app/pb_kits/playbook/pb_table/styles/_mobile_collapse.scss +125 -0
- data/app/pb_kits/playbook/pb_table/styles/_reset.scss +17 -0
- data/app/pb_kits/playbook/pb_table/styles/_side_highlight.scss +24 -0
- data/app/pb_kits/playbook/pb_table/styles/_single-line.scss +34 -0
- data/app/pb_kits/playbook/pb_table/styles/_sticky_header.scss +23 -0
- data/app/pb_kits/playbook/pb_table/styles/_structure.scss +50 -0
- data/app/pb_kits/playbook/pb_table/styles/_table-card.scss +62 -0
- data/app/pb_kits/playbook/pb_table/styles/_table-dark.scss +100 -0
- data/app/pb_kits/playbook/pb_table/styles/_tablet_collapse.scss +125 -0
- data/app/pb_kits/playbook/pb_table/styles/_variables.scss +26 -0
- data/app/pb_kits/playbook/pb_table/styles/_vertical_border.scss +16 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_description.md +2 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on.html.erb +25 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on.jsx +83 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.html.erb +3 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.jsx +29 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.html.erb +31 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +102 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.html.erb +1 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.jsx +20 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_error.html.erb +21 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_error.jsx +35 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_error.md +1 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.html.erb +5 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx +23 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.html.erb +4 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.jsx +23 -0
- data/app/pb_kits/playbook/pb_text_input/docs/example.yml +17 -0
- data/app/pb_kits/playbook/pb_text_input/docs/index.js +7 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_character_counter.html.erb +68 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_character_counter.jsx +88 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_custom.html.erb +3 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_custom.jsx +24 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_default.html.erb +9 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_default.jsx +41 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_error.html.erb +1 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_error.jsx +25 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_error.md +1 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_inline.html.erb +6 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_inline.jsx +24 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.html.erb +13 -0
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.jsx +45 -0
- data/app/pb_kits/playbook/pb_textarea/docs/example.yml +17 -0
- data/app/pb_kits/playbook/pb_textarea/docs/index.js +6 -0
- data/app/pb_kits/playbook/pb_time/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_time/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_align.html.erb +18 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_align.jsx +30 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_default.html.erb +62 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_default.jsx +67 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_default.md +1 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_sizes.html.erb +11 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_sizes.jsx +22 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.html.erb +18 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.jsx +24 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb +38 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx +62 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_timezone.md +11 -0
- data/app/pb_kits/playbook/pb_time/docs/example.yml +15 -0
- data/app/pb_kits/playbook/pb_time/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_time_range_inline/docs/_time_range_inline_default.html.erb +64 -0
- data/app/pb_kits/playbook/pb_time_range_inline/docs/_time_range_inline_default.jsx +81 -0
- data/app/pb_kits/playbook/pb_time_range_inline/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_time_range_inline/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_time_stacked/docs/_time_stacked_default.html.erb +18 -0
- data/app/pb_kits/playbook/pb_time_stacked/docs/_time_stacked_default.jsx +30 -0
- data/app/pb_kits/playbook/pb_time_stacked/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_time_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_timeline/docs/_description.md +3 -0
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_default.html.erb +43 -0
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_default.jsx +87 -0
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_vertical.html.erb +43 -0
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_vertical.jsx +87 -0
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_date.html.erb +67 -0
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_date.jsx +147 -0
- data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_date.md +1 -0
- data/app/pb_kits/playbook/pb_timeline/docs/example.yml +13 -0
- data/app/pb_kits/playbook/pb_timeline/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_time_stamp_default.md +1 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.html.erb +93 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.jsx +128 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.html.erb +29 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.jsx +54 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.html.erb +23 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.jsx +45 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.html.erb +79 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.jsx +106 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.html.erb +14 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.jsx +29 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/example.yml +15 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_title/_title.scss +1 -0
- data/app/pb_kits/playbook/pb_title/docs/_description.md +2 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_colors.html.erb +4 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_colors.jsx +37 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_colors.md +6 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_default.html.erb +11 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_default.jsx +41 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_default.md +3 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_light_weight.html.erb +1 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_light_weight.jsx +19 -0
- data/app/pb_kits/playbook/pb_title/docs/_title_light_weight.md +4 -0
- data/app/pb_kits/playbook/pb_title/docs/example.yml +10 -0
- data/app/pb_kits/playbook/pb_title/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_title_count/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_title_count/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align.html.erb +20 -0
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align.jsx +35 -0
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_default.html.erb +20 -0
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_default.jsx +35 -0
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_default.md +1 -0
- data/app/pb_kits/playbook/pb_title_count/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_title_count/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_title_detail/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_title_detail/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.html.erb +16 -0
- data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.jsx +30 -0
- data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.md +1 -0
- data/app/pb_kits/playbook/pb_title_detail/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_title_detail/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_footer.md +3 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_custom.html.erb +3 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_custom.jsx +31 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_custom_radio.html.erb +22 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_custom_radio.jsx +72 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_default.html.erb +9 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_default.jsx +20 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_name.html.erb +21 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_name.jsx +57 -0
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_options.html.erb +10 -0
- data/app/pb_kits/playbook/pb_toggle/docs/example.yml +15 -0
- data/app/pb_kits/playbook/pb_toggle/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb +46 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx +60 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.md +5 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.jsx +56 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.md +5 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.erb +10 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx +52 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.md +1 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx +40 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.md +1 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.jsx +39 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.md +3 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.html.erb +17 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.md +3 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_with_icon_circle.html.erb +9 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +13 -0
- data/app/pb_kits/playbook/pb_tooltip/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_description.md +5 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_colors.html.erb +37 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_colors.jsx +48 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_colors.md +2 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.html.erb +37 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.jsx +47 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_default.md +3 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.html.erb +79 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.jsx +90 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_drillable.md +1 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.html.erb +54 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.jsx +65 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_grouped_data.md +3 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_tooltip.html.erb +37 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_tooltip.jsx +48 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_tooltip.md +3 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/example.yml +15 -0
- data/app/pb_kits/playbook/pb_treemap_chart/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_typeahead/{_typeahead.jsx → _typeahead.tsx} +24 -12
- data/app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.tsx +18 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Control.tsx +28 -0
- data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.tsx +11 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MenuList.tsx +10 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +66 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Option.tsx +37 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx +26 -0
- data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.tsx +11 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_async_createable.jsx +58 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_createable.jsx +25 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.html.erb +63 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx +24 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb +19 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.jsx +39 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.md +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.html.erb +36 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx +44 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb +35 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx +45 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context.html.erb +59 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_highlight.jsx +98 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.html.erb +31 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +27 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.md +24 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.html.erb +46 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx +101 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md +19 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_custom_options.jsx +111 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_custom_options.md +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.html.erb +25 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +103 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.md +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_without_pills.html.erb +30 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_without_pills.md +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +24 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/index.js +11 -0
- data/app/pb_kits/playbook/pb_typeahead/{index.js → index.ts} +37 -29
- data/app/pb_kits/playbook/pb_typeahead/types.d.ts +2 -0
- data/app/pb_kits/playbook/pb_user/_user.tsx +1 -1
- data/app/pb_kits/playbook/pb_user/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_user/docs/_footer.md +0 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_block_content_subtitle_rails.html.erb +36 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_block_content_subtitle_rails.md +1 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_block_content_subtitle_react.jsx +56 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_block_content_subtitle_react.md +1 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_default.html.erb +38 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_default.jsx +55 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_size.html.erb +32 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_size.jsx +34 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_subtitle.html.erb +23 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_subtitle.jsx +33 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_text_only.html.erb +17 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_text_only.jsx +26 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_vertical_size.html.erb +30 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_vertical_size.jsx +42 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_with_territory.html.erb +40 -0
- data/app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx +61 -0
- data/app/pb_kits/playbook/pb_user/docs/example.yml +19 -0
- data/app/pb_kits/playbook/pb_user/docs/index.js +7 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/_description.md +1 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/_footer.md +2 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_default.html.erb +11 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_default.jsx +26 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_default.md +1 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size.html.erb +18 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size.jsx +34 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/example.yml +9 -0
- data/app/pb_kits/playbook/pb_user_badge/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_continuous.jsx +68 -0
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_default.jsx +70 -0
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_multi_beacon.jsx +109 -0
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_no_beacon.jsx +75 -0
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_no_overlay.jsx +75 -0
- data/app/pb_kits/playbook/pb_walkthrough/docs/_walkthrough_styled.jsx +75 -0
- data/app/pb_kits/playbook/pb_walkthrough/docs/example.yml +10 -0
- data/app/pb_kits/playbook/pb_walkthrough/docs/index.js +6 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_compact.html.erb +3 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_compact.jsx +27 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_default.html.erb +3 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_default.jsx +22 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_variant.html.erb +3 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_variant.jsx +24 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/example.yml +12 -0
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/index.js +3 -0
- data/app/pb_kits/playbook/utilities/_positioning.scss +14 -0
- data/app/pb_kits/playbook/utilities/globalProps.ts +16 -4
- data/dist/menu.yml +110 -0
- data/lib/playbook/markdown/helper.rb +132 -0
- data/lib/playbook/markdown.rb +3 -0
- data/lib/playbook/pb_doc_helper.rb +100 -0
- data/lib/playbook/version.rb +2 -2
- data/lib/playbook/z_index.rb +20 -7
- data/lib/playbook.rb +2 -0
- metadata +1495 -9
- data/dist/playbook-rails.js +0 -51
@@ -0,0 +1,98 @@
|
|
1
|
+
/* eslint-disable react/no-danger */
|
2
|
+
/* eslint-disable react/no-multi-comp */
|
3
|
+
/* @flow */
|
4
|
+
|
5
|
+
import React, { useState } from 'react'
|
6
|
+
import { components, OptionProps } from 'react-select'
|
7
|
+
|
8
|
+
import {
|
9
|
+
Avatar,
|
10
|
+
Body,
|
11
|
+
Flex,
|
12
|
+
FlexItem,
|
13
|
+
Title,
|
14
|
+
Typeahead,
|
15
|
+
} from '../..'
|
16
|
+
|
17
|
+
const USERS = [
|
18
|
+
{
|
19
|
+
name: "Wade Winningham",
|
20
|
+
title: "Nitro Principal Developer",
|
21
|
+
territory: "PHL",
|
22
|
+
},
|
23
|
+
{
|
24
|
+
name: "Jason Cypret",
|
25
|
+
title: "Vice President of User Experience",
|
26
|
+
territory: "PHL",
|
27
|
+
},
|
28
|
+
{
|
29
|
+
name: "Stephen Marshall",
|
30
|
+
title: "Senior User Experience Engineer",
|
31
|
+
territory: "PHL",
|
32
|
+
},
|
33
|
+
{
|
34
|
+
name: "Jasper Furniss",
|
35
|
+
title: "Senior User Experience Engineer",
|
36
|
+
territory: "PHL",
|
37
|
+
},
|
38
|
+
];
|
39
|
+
|
40
|
+
const TypeaheadWithHighlight = (props) => {
|
41
|
+
const [selectedUser, setSelectedUser] = useState()
|
42
|
+
|
43
|
+
const formatOptionLabel = ({name, territory, title}, {inputValue}) => {
|
44
|
+
|
45
|
+
const highlighted = (text: string) => {
|
46
|
+
if (!inputValue.length) return text
|
47
|
+
return text.replace(
|
48
|
+
new RegExp(inputValue, 'gi'),
|
49
|
+
highlighted => `<mark>${highlighted}</mark>`
|
50
|
+
)
|
51
|
+
}
|
52
|
+
return (
|
53
|
+
<Flex>
|
54
|
+
<FlexItem>
|
55
|
+
<Avatar
|
56
|
+
marginRight="sm"
|
57
|
+
name={name}
|
58
|
+
size="sm"
|
59
|
+
/>
|
60
|
+
</FlexItem>
|
61
|
+
<FlexItem>
|
62
|
+
<Title size={4}><span dangerouslySetInnerHTML={{ __html: highlighted(name) }} /></Title>
|
63
|
+
<Body color="light">
|
64
|
+
<span dangerouslySetInnerHTML={{ __html: highlighted(title) }} />{" • "}
|
65
|
+
{territory}
|
66
|
+
</Body>
|
67
|
+
</FlexItem>
|
68
|
+
</Flex>
|
69
|
+
)
|
70
|
+
}
|
71
|
+
|
72
|
+
const customComponents = {
|
73
|
+
Option: (props: OptionProps) => (
|
74
|
+
<components.Option {...props}/>
|
75
|
+
),
|
76
|
+
SingleValue: ({ data }: any) => (
|
77
|
+
<span>{data.name}</span>
|
78
|
+
)
|
79
|
+
}
|
80
|
+
|
81
|
+
return (
|
82
|
+
<React.Fragment>
|
83
|
+
<Typeahead
|
84
|
+
components={customComponents}
|
85
|
+
formatOptionLabel={formatOptionLabel}
|
86
|
+
getOptionLabel={(option) => option.name}
|
87
|
+
getOptionValue={({name, title}) => `${name} ${title}`}
|
88
|
+
label="Users"
|
89
|
+
onChange={(user) => setSelectedUser(user)}
|
90
|
+
options={USERS.filter((option) => option.name != selectedUser?.name)}
|
91
|
+
placeholder="type the name of a user"
|
92
|
+
{...props}
|
93
|
+
/>
|
94
|
+
</React.Fragment>
|
95
|
+
)
|
96
|
+
}
|
97
|
+
|
98
|
+
export default TypeaheadWithHighlight
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<%
|
2
|
+
options = [
|
3
|
+
{ label: 'Windows', value: '#FFA500' },
|
4
|
+
{ label: 'Siding', value: '#FF0000' },
|
5
|
+
{ label: 'Doors', value: '#00FF00' },
|
6
|
+
{ label: 'Roofs', value: '#0000FF' },
|
7
|
+
]
|
8
|
+
%>
|
9
|
+
|
10
|
+
<%= pb_rails("typeahead", props: { id: "typeahead-pills-example1", default_options: [options.first], options: options, label: "Colors", name: :foo, pills: true }) %>
|
11
|
+
|
12
|
+
<%= pb_rails("button", props: {id: "clear-pills", text: "Clear All Options", variant: "secondary"}) %>
|
13
|
+
|
14
|
+
<!-- This section is an example of the available JavaScript event hooks -->
|
15
|
+
<%= javascript_tag defer: "defer" do %>
|
16
|
+
document.addEventListener("pb-typeahead-kit-typeahead-pills-example1-result-option-select", function(event) {
|
17
|
+
console.log('Option selected')
|
18
|
+
console.dir(event.detail)
|
19
|
+
})
|
20
|
+
document.addEventListener("pb-typeahead-kit-typeahead-pills-example1-result-option-remove", function(event) {
|
21
|
+
console.log('Option removed')
|
22
|
+
console.dir(event.detail)
|
23
|
+
})
|
24
|
+
document.addEventListener("pb-typeahead-kit-typeahead-pills-example1-result-clear", function() {
|
25
|
+
console.log('All options cleared')
|
26
|
+
})
|
27
|
+
|
28
|
+
document.querySelector('#clear-pills').addEventListener('click', function() {
|
29
|
+
document.dispatchEvent(new CustomEvent('pb-typeahead-kit-typeahead-pills-example1:clear'))
|
30
|
+
})
|
31
|
+
<% end %>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
3
|
+
import React from 'react'
|
4
|
+
import { Typeahead } from '../..'
|
5
|
+
|
6
|
+
const options = [
|
7
|
+
{ label: 'Windows', value: '#FFA500' },
|
8
|
+
{ label: 'Siding', value: '#FF0000' },
|
9
|
+
{ label: 'Doors', value: '#00FF00' },
|
10
|
+
{ label: 'Roofs', value: '#0000FF' },
|
11
|
+
]
|
12
|
+
|
13
|
+
const TypeaheadWithPills = (props) => {
|
14
|
+
return (
|
15
|
+
<>
|
16
|
+
<Typeahead
|
17
|
+
isMulti
|
18
|
+
label="Colors"
|
19
|
+
options={options}
|
20
|
+
placeholder=""
|
21
|
+
{...props}
|
22
|
+
/>
|
23
|
+
</>
|
24
|
+
)
|
25
|
+
}
|
26
|
+
|
27
|
+
export default TypeaheadWithPills
|
@@ -0,0 +1,24 @@
|
|
1
|
+
Typeahead kit is data-driven. The minimum default fields are `label` and `value`.
|
2
|
+
|
3
|
+
This is an example of an option: `{ label: 'Windows', value: '#FFA500' }`
|
4
|
+
|
5
|
+
#### Rails: Default Options
|
6
|
+
|
7
|
+
You can also pass `default_options` which will populate the initial pill selections:
|
8
|
+
|
9
|
+
`default_options: [{ label: 'Windows', value: '#FFA500' }]`
|
10
|
+
|
11
|
+
#### Rails: Subscribing to JS Events
|
12
|
+
|
13
|
+
JavaScript events are triggered based on actions you take within the kit such as selection, removal and clearing.
|
14
|
+
This kit utilizes a default `id` prop named `react-select-input`. It is **highly advised** to send your own unique `id` prop when using this kit to ensure these events do not unintentionally affect other instances of the kit in the same view. The examples below will use the unique `id` prop named `typeahead-pills-example1`:
|
15
|
+
|
16
|
+
`pb-typeahead-kit-typeahead-pills-example1-result-option-select` event to perform custom work when an option is clicked.
|
17
|
+
`pb-typeahead-kit-typeahead-pills-example1-result-option-remove` event to perform custom work when a pill is clicked.
|
18
|
+
`pb-typeahead-kit-typeahead-pills-example1-result-option-clear` event to perform custom work when all pills are removed upon clicking the X.
|
19
|
+
|
20
|
+
#### Rails: Publishing JS Events
|
21
|
+
|
22
|
+
The same rule regarding the `id` prop applies to publishing JS events. The examples below will use the unique `id` prop named `typeahead-pills-example1`:
|
23
|
+
|
24
|
+
`pb-typeahead-kit-typeahead-pills-example1:clear` event to clear all options.
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<%= pb_rails("typeahead", props: {
|
2
|
+
async: true,
|
3
|
+
get_option_label: 'getOptionLabel',
|
4
|
+
get_option_value: 'getOptionValue',
|
5
|
+
load_options: 'asyncPillsPromiseOptions',
|
6
|
+
label: "Github Users",
|
7
|
+
name: :foo,
|
8
|
+
pills: true,
|
9
|
+
placeholder: "type the name of a Github user"
|
10
|
+
}) %>
|
11
|
+
|
12
|
+
<!-- This section is an example of how to provide load_options prop for using dynamic options -->
|
13
|
+
<%= javascript_tag defer: "defer" do %>
|
14
|
+
// Simple filter function, providing a list of results in the expected data format
|
15
|
+
|
16
|
+
const filterResults = function(results) {
|
17
|
+
return results.items.map(function(result) {
|
18
|
+
return {
|
19
|
+
name: result.login,
|
20
|
+
id: result.id,
|
21
|
+
}
|
22
|
+
})
|
23
|
+
}
|
24
|
+
|
25
|
+
/* Note: Make sure you assign this to window or a namespace within window
|
26
|
+
or it will not be accessible to the kit! */
|
27
|
+
|
28
|
+
window.asyncPillsPromiseOptions = function(inputValue) {
|
29
|
+
return new Promise(function(resolve) {
|
30
|
+
if (inputValue) {
|
31
|
+
fetch(`https://api.github.com/search/users?q=${inputValue}`)
|
32
|
+
.then(function(response) { return response.json() })
|
33
|
+
.then(function(results) { resolve(filterResults(results))})
|
34
|
+
} else {
|
35
|
+
resolve([])
|
36
|
+
}
|
37
|
+
})
|
38
|
+
}
|
39
|
+
|
40
|
+
window.getOptionLabel = function(option) {
|
41
|
+
return option.name;
|
42
|
+
}
|
43
|
+
window.getOptionValue = function(option) {
|
44
|
+
return option.id;
|
45
|
+
}
|
46
|
+
<% end %>
|
@@ -0,0 +1,101 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
3
|
+
import React, { useState } from 'react'
|
4
|
+
|
5
|
+
import {
|
6
|
+
Caption,
|
7
|
+
Typeahead,
|
8
|
+
User,
|
9
|
+
} from '../..'
|
10
|
+
|
11
|
+
/**
|
12
|
+
*
|
13
|
+
* @const filterResults
|
14
|
+
* @ignore
|
15
|
+
* @returns {[Object]} - a custom mapping of objects, minimally containing
|
16
|
+
* `value` and `label` among other possible fields
|
17
|
+
* @summary - for doc example purposes only
|
18
|
+
*/
|
19
|
+
|
20
|
+
const filterResults = (results) =>
|
21
|
+
results.items.map((result) => {
|
22
|
+
return {
|
23
|
+
name: result.login,
|
24
|
+
id: result.id,
|
25
|
+
}
|
26
|
+
})
|
27
|
+
|
28
|
+
/**
|
29
|
+
*
|
30
|
+
* @const promiseOptions
|
31
|
+
* @ignore
|
32
|
+
* @returns {Promise} - fetch API data results from Typeahead input text
|
33
|
+
* @see - https://react-select.com/home#async
|
34
|
+
* @summary - for doc example purposes only
|
35
|
+
*/
|
36
|
+
|
37
|
+
const promiseOptions = (inputValue) =>
|
38
|
+
new Promise((resolve) => {
|
39
|
+
if (inputValue) {
|
40
|
+
fetch(`https://api.github.com/search/users?q=${inputValue}`)
|
41
|
+
.then((response) => response.json())
|
42
|
+
.then((results) => resolve(filterResults(results)))
|
43
|
+
} else {
|
44
|
+
resolve([])
|
45
|
+
}
|
46
|
+
})
|
47
|
+
|
48
|
+
const TypeaheadWithPillsAsync = (props) => {
|
49
|
+
const [users, setUsers] = useState([])
|
50
|
+
const handleOnChange = (value) => setUsers(formatUsers(value))
|
51
|
+
const formatValue = (users) => formatUsers(users)
|
52
|
+
const formatUsers = (users) => {
|
53
|
+
const results = () => (users.map((user) => {
|
54
|
+
if (Object.keys(user)[0] === 'name' || Object.keys(user)[1] === 'id'){
|
55
|
+
return ({ label: user.name, value: user.id })
|
56
|
+
} else {
|
57
|
+
return user
|
58
|
+
}
|
59
|
+
}))
|
60
|
+
return results()
|
61
|
+
}
|
62
|
+
|
63
|
+
return (
|
64
|
+
<>
|
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"
|
81
|
+
{...props}
|
82
|
+
/>
|
83
|
+
</For>
|
84
|
+
</If>
|
85
|
+
<Typeahead
|
86
|
+
async
|
87
|
+
getOptionLabel={(option) => option.name}
|
88
|
+
getOptionValue={(option) => option.id}
|
89
|
+
isMulti
|
90
|
+
label="Github Users"
|
91
|
+
loadOptions={promiseOptions}
|
92
|
+
onChange={handleOnChange}
|
93
|
+
placeholder="type the name of a Github user"
|
94
|
+
value={formatValue(users)}
|
95
|
+
{...props}
|
96
|
+
/>
|
97
|
+
</>
|
98
|
+
)
|
99
|
+
}
|
100
|
+
|
101
|
+
export default TypeaheadWithPillsAsync
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#### Rails: Providing the `load_options` Promise
|
2
|
+
|
3
|
+
**Additional required props: ** `async: true`, `pills: true`
|
4
|
+
|
5
|
+
The prop `load_options`, when used in conjunction with `async: true` and `pills: true`, points to a JavaScript function located within the global window namespace. This function should return a `Promise` which resolves with the list of formatted options as described in prior examples above. This function is identical to the function provided to the React version of this kit. See the code example for more details.
|
6
|
+
|
7
|
+
#### React
|
8
|
+
|
9
|
+
##### `loadOptions`
|
10
|
+
|
11
|
+
**Additional required props: ** `async: true`
|
12
|
+
|
13
|
+
[As outlined in the react-select Async docs](https://react-select.com/async), `loadOptions` expects to return a Promise that resolves resolves with the list of formatted options as described in prior examples above. See the code example for more details.
|
14
|
+
|
15
|
+
##### `getOptionLabel` + `getOptionValue`
|
16
|
+
|
17
|
+
If your server returns data that requires differing field names other than `label` and `value`
|
18
|
+
|
19
|
+
See `react-select` docs for more information: https://react-select.com/advanced#replacing-builtins
|
@@ -0,0 +1,111 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
3
|
+
import React, { useState } from 'react'
|
4
|
+
|
5
|
+
import {
|
6
|
+
Caption,
|
7
|
+
Typeahead,
|
8
|
+
User,
|
9
|
+
} from '../..'
|
10
|
+
|
11
|
+
/**
|
12
|
+
*
|
13
|
+
* @const filterResults
|
14
|
+
* @ignore
|
15
|
+
* @returns {[Object]} - a custom mapping of objects, minimally containing
|
16
|
+
* `value` and `label` among other possible fields
|
17
|
+
* @summary - for doc example purposes only
|
18
|
+
*/
|
19
|
+
|
20
|
+
type UserProps = {
|
21
|
+
imageUrl?: String,
|
22
|
+
label?: String,
|
23
|
+
territory?: String,
|
24
|
+
type?: String,
|
25
|
+
}
|
26
|
+
|
27
|
+
const filterResults = (results) =>
|
28
|
+
results.items.map((result) => {
|
29
|
+
return {
|
30
|
+
imageUrl: result.avatar_url, //add the custom field
|
31
|
+
label: result.login,
|
32
|
+
value: result.id,
|
33
|
+
territory: 'PHL',
|
34
|
+
type: result.type,
|
35
|
+
}
|
36
|
+
})
|
37
|
+
|
38
|
+
const promiseOptions = (inputValue) =>
|
39
|
+
new Promise((resolve) => {
|
40
|
+
if (inputValue) {
|
41
|
+
fetch(`https://api.github.com/search/users?q=${inputValue}`)
|
42
|
+
.then((response) => response.json())
|
43
|
+
.then((results) => resolve(filterResults(results)))
|
44
|
+
} else {
|
45
|
+
resolve([])
|
46
|
+
}
|
47
|
+
})
|
48
|
+
|
49
|
+
const TypeaheadWithPillsAsyncCustomOptions = (props) => {
|
50
|
+
const [users, setUsers] = useState([])
|
51
|
+
const handleOnChange = (value) => setUsers(value)
|
52
|
+
|
53
|
+
/**
|
54
|
+
*
|
55
|
+
* @const handleOnMultiValueClick {function} - a custom callback for the MultiValue click
|
56
|
+
* @ignore
|
57
|
+
* @returns {null}
|
58
|
+
* @summary - for doc example purposes only
|
59
|
+
*/
|
60
|
+
const handleOnMultiValueClick = (value) => {
|
61
|
+
alert(`You removed the user: "${value.label}"`)
|
62
|
+
}
|
63
|
+
|
64
|
+
return (
|
65
|
+
<>
|
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"
|
84
|
+
{...props}
|
85
|
+
/>
|
86
|
+
</For>
|
87
|
+
</If>
|
88
|
+
<Typeahead
|
89
|
+
async
|
90
|
+
isMulti
|
91
|
+
label="Github Users"
|
92
|
+
loadOptions={promiseOptions}
|
93
|
+
onChange={handleOnChange}
|
94
|
+
onMultiValueClick={handleOnMultiValueClick}
|
95
|
+
placeholder="type the name of a Github user"
|
96
|
+
valueComponent={(props: UserProps) => (
|
97
|
+
<User
|
98
|
+
avatar
|
99
|
+
avatarUrl={props.imageUrl}
|
100
|
+
name={props.label}
|
101
|
+
territory={props.territory}
|
102
|
+
title={props.type}
|
103
|
+
/>
|
104
|
+
)}
|
105
|
+
{...props}
|
106
|
+
/>
|
107
|
+
</>
|
108
|
+
)
|
109
|
+
}
|
110
|
+
|
111
|
+
export default TypeaheadWithPillsAsyncCustomOptions
|
@@ -0,0 +1 @@
|
|
1
|
+
Use `valueComponent` props to pass your desire custom options. `valueComponent` will be displayed if present.
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<%= pb_rails("typeahead", props: { async: true, load_options: 'asyncPillsPromiseOptionsUsers', label: "Github Users", name: :foo, pills: true, placeholder: "type the name of a Github user" }) %>
|
2
|
+
|
3
|
+
<%= javascript_tag defer: "defer" do %>
|
4
|
+
const filterUserResults = function(results) {
|
5
|
+
return results.items.map(function(result) {
|
6
|
+
return {
|
7
|
+
imageUrl: result.avatar_url,
|
8
|
+
label: result.login,
|
9
|
+
value: result.id,
|
10
|
+
}
|
11
|
+
})
|
12
|
+
}
|
13
|
+
|
14
|
+
window.asyncPillsPromiseOptionsUsers = function(inputValue) {
|
15
|
+
return new Promise(function(resolve) {
|
16
|
+
if (inputValue) {
|
17
|
+
fetch(`https://api.github.com/search/users?q=${inputValue}`)
|
18
|
+
.then(function(response) { return response.json() })
|
19
|
+
.then(function(results) { resolve(filterUserResults(results))})
|
20
|
+
} else {
|
21
|
+
resolve([])
|
22
|
+
}
|
23
|
+
})
|
24
|
+
}
|
25
|
+
<% end %>
|
@@ -0,0 +1,103 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
3
|
+
import React, { useState } from 'react'
|
4
|
+
|
5
|
+
import {
|
6
|
+
Caption,
|
7
|
+
Typeahead,
|
8
|
+
User,
|
9
|
+
} from '../..'
|
10
|
+
|
11
|
+
/**
|
12
|
+
*
|
13
|
+
* @const filterResults
|
14
|
+
* @ignore
|
15
|
+
* @returns {[Object]} - a custom mapping of objects, minimally containing
|
16
|
+
* `value` and `label` among other possible fields
|
17
|
+
* @summary - for doc example purposes only
|
18
|
+
*/
|
19
|
+
|
20
|
+
const filterResults = (results) =>
|
21
|
+
results.items.map((result) => {
|
22
|
+
return {
|
23
|
+
imageUrl: result.avatar_url, //add the custom field
|
24
|
+
label: result.login,
|
25
|
+
value: result.id,
|
26
|
+
}
|
27
|
+
})
|
28
|
+
|
29
|
+
/**
|
30
|
+
*
|
31
|
+
* @const promiseOptions
|
32
|
+
* @ignore
|
33
|
+
* @returns {Promise} - fetch API data results from Typeahead input text
|
34
|
+
* @see - https://react-select.com/home#async
|
35
|
+
* @summary - for doc example purposes only
|
36
|
+
*/
|
37
|
+
|
38
|
+
const promiseOptions = (inputValue) =>
|
39
|
+
new Promise((resolve) => {
|
40
|
+
if (inputValue) {
|
41
|
+
fetch(`https://api.github.com/search/users?q=${inputValue}`)
|
42
|
+
.then((response) => response.json())
|
43
|
+
.then((results) => resolve(filterResults(results)))
|
44
|
+
} else {
|
45
|
+
resolve([])
|
46
|
+
}
|
47
|
+
})
|
48
|
+
|
49
|
+
const TypeaheadWithPillsAsyncUsers = (props) => {
|
50
|
+
const [users, setUsers] = useState([])
|
51
|
+
const handleOnChange = (value) => setUsers(value)
|
52
|
+
|
53
|
+
/**
|
54
|
+
*
|
55
|
+
* @const handleOnMultiValueClick {function} - a custom callback for the MultiValue click
|
56
|
+
* @ignore
|
57
|
+
* @returns {null}
|
58
|
+
* @summary - for doc example purposes only
|
59
|
+
*/
|
60
|
+
const handleOnMultiValueClick = (value) => {
|
61
|
+
alert(`You removed the user: "${value.label}"`)
|
62
|
+
}
|
63
|
+
|
64
|
+
return (
|
65
|
+
<>
|
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"
|
84
|
+
{...props}
|
85
|
+
/>
|
86
|
+
</For>
|
87
|
+
</If>
|
88
|
+
<Typeahead
|
89
|
+
async
|
90
|
+
isMulti
|
91
|
+
label="Github Users"
|
92
|
+
loadOptions={promiseOptions}
|
93
|
+
noOptionsMessage={() => 'Type to Search'}
|
94
|
+
onChange={handleOnChange}
|
95
|
+
onMultiValueClick={handleOnMultiValueClick}
|
96
|
+
placeholder="type the name of a Github user"
|
97
|
+
{...props}
|
98
|
+
/>
|
99
|
+
</>
|
100
|
+
)
|
101
|
+
}
|
102
|
+
|
103
|
+
export default TypeaheadWithPillsAsyncUsers
|
@@ -0,0 +1 @@
|
|
1
|
+
If the data field `imageUrl` is present, FormPill will receive that field as a prop and display the image.
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<%
|
2
|
+
options = [
|
3
|
+
{ label: 'Windows', value: '#FFA500' },
|
4
|
+
{ label: 'Siding', value: '#FF0000' },
|
5
|
+
{ label: 'Doors', value: '#00FF00' },
|
6
|
+
{ label: 'Roofs', value: '#0000FF' },
|
7
|
+
]
|
8
|
+
%>
|
9
|
+
|
10
|
+
<%= pb_rails("typeahead", props: {
|
11
|
+
id: "typeahead-without-pills-example1",
|
12
|
+
placeholder: "All Colors",
|
13
|
+
options: options,
|
14
|
+
label: "Colors",
|
15
|
+
name: :foo,
|
16
|
+
is_multi: false
|
17
|
+
})
|
18
|
+
%>
|
19
|
+
|
20
|
+
<!-- This section is an example of the available JavaScript event hooks -->
|
21
|
+
<%= javascript_tag defer: "defer" do %>
|
22
|
+
document.addEventListener("pb-typeahead-kit-typeahead-without-pills-example1-result-option-select", function(event) {
|
23
|
+
console.log('Single Option selected')
|
24
|
+
console.dir(event.detail)
|
25
|
+
})
|
26
|
+
document.addEventListener("pb-typeahead-kit-typeahead-without-pills-example1-result-clear", function() {
|
27
|
+
console.log('All options cleared')
|
28
|
+
})
|
29
|
+
|
30
|
+
<% end %>
|
@@ -0,0 +1 @@
|
|
1
|
+
Passing `is_multi: false` will allow the user to only select one option from the drop down. Note: this will disable `pills` prop.
|
@@ -0,0 +1,24 @@
|
|
1
|
+
examples:
|
2
|
+
rails:
|
3
|
+
- typeahead_default: Default
|
4
|
+
- typeahead_with_context: With Context
|
5
|
+
- typeahead_with_pills: With Pills
|
6
|
+
- typeahead_without_pills: Without Pills (Single Select)
|
7
|
+
- typeahead_with_pills_async: With Pills (Async Data)
|
8
|
+
- typeahead_with_pills_async_users: With Pills (Async Data w/ Users)
|
9
|
+
- typeahead_inline: Inline
|
10
|
+
- typeahead_multi_kit: Multi Kit Options
|
11
|
+
- typeahead_error_state: Error State
|
12
|
+
|
13
|
+
react:
|
14
|
+
- typeahead_default: Default
|
15
|
+
- typeahead_with_highlight: With Highlight
|
16
|
+
- typeahead_with_pills: With Pills
|
17
|
+
- typeahead_with_pills_async: With Pills (Async Data)
|
18
|
+
- typeahead_with_pills_async_users: With Pills (Async Data w/ Users)
|
19
|
+
- typeahead_with_pills_async_custom_options: With Pills (Async Data w/ Custom Options)
|
20
|
+
- typeahead_inline: Inline
|
21
|
+
- typeahead_multi_kit: Multi Kit Options
|
22
|
+
- typeahead_createable: Createable
|
23
|
+
- typeahead_async_createable: Createable (+ Async Data)
|
24
|
+
- typeahead_error_state: Error State
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export { default as TypeaheadDefault } from './_typeahead_default.jsx'
|
2
|
+
export { default as TypeaheadWithHighlight } from './_typeahead_with_highlight.jsx'
|
3
|
+
export { default as TypeaheadWithPills } from './_typeahead_with_pills.jsx'
|
4
|
+
export { default as TypeaheadWithPillsAsync } from './_typeahead_with_pills_async.jsx'
|
5
|
+
export { default as TypeaheadWithPillsAsyncUsers } from './_typeahead_with_pills_async_users.jsx'
|
6
|
+
export { default as TypeaheadWithPillsAsyncCustomOptions } from './_typeahead_with_pills_async_custom_options.jsx'
|
7
|
+
export { default as TypeaheadInline } from './_typeahead_inline.jsx'
|
8
|
+
export { default as TypeaheadMultiKit } from './_typeahead_multi_kit.jsx'
|
9
|
+
export { default as TypeaheadCreateable } from './_typeahead_createable.jsx'
|
10
|
+
export { default as TypeaheadAsyncCreateable } from './_typeahead_async_createable.jsx'
|
11
|
+
export { default as TypeaheadErrorState } from './_typeahead_error_state.jsx'
|