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,311 @@
|
|
1
|
+
<% if !local_prop_data.present? %>
|
2
|
+
<div data-action="toggle" data-togglable="prop_example" class="pb--propsTable">
|
3
|
+
<%= pb_rails("title", props: { text: "Available Props", size: 3, margin_bottom: "sm" }) %>
|
4
|
+
<%= pb_rails("card", props: { padding: "none" }) do %>
|
5
|
+
<%= pb_rails("card/card_body", props: { padding: "sm" }) do %>
|
6
|
+
<%= pb_rails("nav", props: { orientation: "horizontal", variant: "subtle" }) do %>
|
7
|
+
<%= pb_rails("nav/item", props: { text: "Global Props", link: "#", active: true }) %>
|
8
|
+
<% end %>
|
9
|
+
<% end %>
|
10
|
+
<%= pb_rails("section_separator") %>
|
11
|
+
<%= pb_rails("card/card_body", props: {}) do %>
|
12
|
+
<%= pb_rails("table", props: {container: false, disable_hover: true }) do %>
|
13
|
+
<thead>
|
14
|
+
<tr>
|
15
|
+
<th>Props</th>
|
16
|
+
<th>Type</th>
|
17
|
+
<th>Values</th>
|
18
|
+
</tr>
|
19
|
+
</thead>
|
20
|
+
<tbody>
|
21
|
+
<% global_prop_data.each do |key, value|%>
|
22
|
+
<tr>
|
23
|
+
<td>
|
24
|
+
<%= pb_rails("title", props: { text: key, tag: "h4", size: 4 }) %>
|
25
|
+
</td>
|
26
|
+
<td>
|
27
|
+
<%= pb_rails("card", props: {
|
28
|
+
classname: "card",
|
29
|
+
padding: "xxs",
|
30
|
+
background: "light",
|
31
|
+
border_none: true,
|
32
|
+
border_radius: "sm"
|
33
|
+
}) do %>
|
34
|
+
<%= pb_rails("body", props: {
|
35
|
+
classname: "kearning"
|
36
|
+
}) do %>
|
37
|
+
<% if key =~ /^padding|^margin/ %>
|
38
|
+
<%= "array" %>
|
39
|
+
<% else %>
|
40
|
+
<%= value[:type].to_s.downcase %>
|
41
|
+
<% end %>
|
42
|
+
<% end %>
|
43
|
+
<% end %>
|
44
|
+
</td>
|
45
|
+
<td>
|
46
|
+
<% if key =~ /^padding|^margin/ %>
|
47
|
+
<% padding_margin_values.each do |item| %>
|
48
|
+
<%= pb_rails("card", props: {
|
49
|
+
flex_direction: "row",
|
50
|
+
classname: "card",
|
51
|
+
padding: "xxs",
|
52
|
+
background: "light",
|
53
|
+
border_none: true,
|
54
|
+
border_radius: "sm",
|
55
|
+
margin: "xxs"
|
56
|
+
}) do %>
|
57
|
+
<%= pb_rails("body", props: {
|
58
|
+
classname: "kearning"
|
59
|
+
}) do %>
|
60
|
+
<%= item %>
|
61
|
+
<% end %>
|
62
|
+
<% end %>
|
63
|
+
<% end %>
|
64
|
+
<% else %>
|
65
|
+
<% if value[:values].present? %>
|
66
|
+
<% value[:values].each do |item| %>
|
67
|
+
<% if item != nil %>
|
68
|
+
<%= pb_rails("card", props: {
|
69
|
+
flex_direction: "row",
|
70
|
+
classname: "card",
|
71
|
+
padding: "xxs",
|
72
|
+
background: "light",
|
73
|
+
border_none: true,
|
74
|
+
border_radius: "sm",
|
75
|
+
margin: "xxs"
|
76
|
+
}) do %>
|
77
|
+
<%= pb_rails("body", props: {
|
78
|
+
classname: "kearning"
|
79
|
+
}) do %>
|
80
|
+
<%= item %>
|
81
|
+
<% end %>
|
82
|
+
<% end %>
|
83
|
+
<% end %>
|
84
|
+
<% end %>
|
85
|
+
<% end %>
|
86
|
+
<% end %>
|
87
|
+
</td>
|
88
|
+
</tr>
|
89
|
+
<% end %>
|
90
|
+
</tbody>
|
91
|
+
<% end %>
|
92
|
+
<% end %>
|
93
|
+
<% end %>
|
94
|
+
</div>
|
95
|
+
<% else %>
|
96
|
+
<div data-action="toggle" data-togglable="prop_example" class="pb--propsTable">
|
97
|
+
<%= pb_rails("title", props: { text: "Available Props", size: 3, margin_bottom: "sm" }) %>
|
98
|
+
<%= pb_rails("card", props: { padding: "none" }) do %>
|
99
|
+
<%= pb_rails("card/card_body", props: { padding: "sm" }) do %>
|
100
|
+
<%= pb_rails("nav", props: { orientation: "horizontal", variant: "subtle" }) do %>
|
101
|
+
<% if local_prop_data.present? %>
|
102
|
+
<%= pb_rails("nav/item", props: { text: "Kit Props", link: "#", active: true, id: "local-button-active", classname: "local-active" }) %>
|
103
|
+
<% end %>
|
104
|
+
<% if local_prop_data.present? %>
|
105
|
+
<%= pb_rails("nav/item", props: { text: "Kit Props", link: "#", id: "local-button", classname: "global-active" }) %>
|
106
|
+
<% end %>
|
107
|
+
<%= pb_rails("nav/item", props: { text: "Global Props", link: "#", active: true, id: "global-button-active", classname: "global-active" }) %>
|
108
|
+
<%= pb_rails("nav/item", props: { text: "Global Props", link: "#", id: "global-button", classname: "local-active" }) %>
|
109
|
+
<% end %>
|
110
|
+
<% end %>
|
111
|
+
<%= pb_rails("section_separator") %>
|
112
|
+
<%= pb_rails("card/card_body", props: {}) do %>
|
113
|
+
<%= pb_rails("table", props: {container: false, disable_hover: true, id: "global-prop-table", classname: "global-active"}) do %>
|
114
|
+
<thead>
|
115
|
+
<tr>
|
116
|
+
<th>Props</th>
|
117
|
+
<th>Type</th>
|
118
|
+
<th>Values</th>
|
119
|
+
</tr>
|
120
|
+
</thead>
|
121
|
+
<tbody>
|
122
|
+
<% global_prop_data.each do |key, value|%>
|
123
|
+
<tr>
|
124
|
+
<td>
|
125
|
+
<%= pb_rails("title", props: { text: key, tag: "h4", size: 4 }) %>
|
126
|
+
</td>
|
127
|
+
<td>
|
128
|
+
<%= pb_rails("card", props: {
|
129
|
+
classname: "card",
|
130
|
+
padding: "xxs",
|
131
|
+
background: "light",
|
132
|
+
border_none: true,
|
133
|
+
border_radius: "sm"
|
134
|
+
}) do %>
|
135
|
+
<%= pb_rails("body", props: {
|
136
|
+
classname: "kearning"
|
137
|
+
}) do %>
|
138
|
+
<% if key =~ /^padding|^margin/ %>
|
139
|
+
<%= "array" %>
|
140
|
+
<% else %>
|
141
|
+
<%= value[:type].to_s.downcase %>
|
142
|
+
<% end %>
|
143
|
+
<% end %>
|
144
|
+
<% end %>
|
145
|
+
</td>
|
146
|
+
<td>
|
147
|
+
<% if key =~ /^padding|^margin/ %>
|
148
|
+
<% padding_margin_values.each do |item| %>
|
149
|
+
<%= pb_rails("card", props: {
|
150
|
+
flex_direction: "row",
|
151
|
+
classname: "card",
|
152
|
+
padding: "xxs",
|
153
|
+
background: "light",
|
154
|
+
border_none: true,
|
155
|
+
border_radius: "sm",
|
156
|
+
margin: "xxs"
|
157
|
+
}) do %>
|
158
|
+
<%= pb_rails("body", props: {
|
159
|
+
classname: "kearning"
|
160
|
+
}) do %>
|
161
|
+
<%= item %>
|
162
|
+
<% end %>
|
163
|
+
<% end %>
|
164
|
+
<% end %>
|
165
|
+
<% else %>
|
166
|
+
<% if value[:values].present? %>
|
167
|
+
<% value[:values].each do |item| %>
|
168
|
+
<% if item != nil %>
|
169
|
+
<%= pb_rails("card", props: {
|
170
|
+
flex_direction: "row",
|
171
|
+
classname: "card",
|
172
|
+
padding: "xxs",
|
173
|
+
background: "light",
|
174
|
+
border_none: true,
|
175
|
+
border_radius: "sm",
|
176
|
+
margin: "xxs"
|
177
|
+
}) do %>
|
178
|
+
<%= pb_rails("body", props: {
|
179
|
+
classname: "kearning"
|
180
|
+
}) do %>
|
181
|
+
<%= item %>
|
182
|
+
<% end %>
|
183
|
+
<% end %>
|
184
|
+
<% end %>
|
185
|
+
<% end %>
|
186
|
+
<% end %>
|
187
|
+
<% end %>
|
188
|
+
</td>
|
189
|
+
</tr>
|
190
|
+
<% end %>
|
191
|
+
</tbody>
|
192
|
+
<% end %>
|
193
|
+
<%= pb_rails("table", props: {container: false, disable_hover: true, id: "local-prop-table", classname: "local-active"}) do %>
|
194
|
+
<thead>
|
195
|
+
<tr>
|
196
|
+
<th>Props</th>
|
197
|
+
<th>Type</th>
|
198
|
+
<th>Values</th>
|
199
|
+
<th>Default</th>
|
200
|
+
</tr>
|
201
|
+
</thead>
|
202
|
+
<tbody>
|
203
|
+
<% local_prop_data.each do |key, value|%>
|
204
|
+
<tr>
|
205
|
+
<td>
|
206
|
+
<%= pb_rails("title", props: { text: key, tag: "h4", size: 4 }) %>
|
207
|
+
</td>
|
208
|
+
<td>
|
209
|
+
<%= pb_rails("card", props: {
|
210
|
+
classname: "card",
|
211
|
+
padding: "xxs",
|
212
|
+
background: "light",
|
213
|
+
border_none: true,
|
214
|
+
border_radius: "sm"
|
215
|
+
}) do %>
|
216
|
+
<%= pb_rails("body", props: {
|
217
|
+
classname: "kearning"
|
218
|
+
}) do %>
|
219
|
+
<%= value[:type].downcase %>
|
220
|
+
<% end %>
|
221
|
+
<% end %>
|
222
|
+
</td>
|
223
|
+
<td>
|
224
|
+
<% if value[:values].present? %>
|
225
|
+
<% value[:values].each do |item| %>
|
226
|
+
<% if item != nil %>
|
227
|
+
<%= pb_rails("card", props: {
|
228
|
+
flex_direction: "row",
|
229
|
+
classname: "card",
|
230
|
+
padding: "xxs",
|
231
|
+
background: "light",
|
232
|
+
border_none: true,
|
233
|
+
border_radius: "sm",
|
234
|
+
margin: "xxs"
|
235
|
+
}) do %>
|
236
|
+
<%= pb_rails("body", props: {
|
237
|
+
classname: "kearning"
|
238
|
+
}) do %>
|
239
|
+
<%= item %>
|
240
|
+
<% end %>
|
241
|
+
<% end %>
|
242
|
+
<% end %>
|
243
|
+
<% end %>
|
244
|
+
<% end %>
|
245
|
+
</td>
|
246
|
+
<td>
|
247
|
+
<% if value[:default].present? || value[:default].is_a?(TrueClass) || value[:default].is_a?(FalseClass) %>
|
248
|
+
<%= pb_rails("card", props: {
|
249
|
+
classname: "card",
|
250
|
+
padding: "xxs",
|
251
|
+
background: "light",
|
252
|
+
border_none: true,
|
253
|
+
border_radius: "sm"
|
254
|
+
}) do %>
|
255
|
+
<%= pb_rails("body", props: {
|
256
|
+
classname: "kearning"
|
257
|
+
}) do %>
|
258
|
+
<%= value[:default] %>
|
259
|
+
<% end %>
|
260
|
+
<% end %>
|
261
|
+
<% end %>
|
262
|
+
</td>
|
263
|
+
</tr>
|
264
|
+
<% end %>
|
265
|
+
</tbody>
|
266
|
+
<% end %>
|
267
|
+
<% end %>
|
268
|
+
<% end %>
|
269
|
+
</div>
|
270
|
+
<% end %>
|
271
|
+
|
272
|
+
<script>
|
273
|
+
|
274
|
+
const globalNavAndTable = document.querySelectorAll('.global-active');
|
275
|
+
const localNavAndTable = document.querySelectorAll('.local-active');
|
276
|
+
|
277
|
+
globalNavAndTable.forEach(element => {
|
278
|
+
element.style.display = 'none';
|
279
|
+
});
|
280
|
+
|
281
|
+
const globalButton = document.getElementById("global-button");
|
282
|
+
if (globalButton) {
|
283
|
+
globalButton.addEventListener("click", showGlobal);
|
284
|
+
}
|
285
|
+
|
286
|
+
const localButton = document.getElementById("local-button");
|
287
|
+
if (localButton) {
|
288
|
+
localButton.addEventListener("click", showLocal);
|
289
|
+
}
|
290
|
+
|
291
|
+
function showGlobal() {
|
292
|
+
localNavAndTable.forEach(element => {
|
293
|
+
element.style.display = 'none';
|
294
|
+
});
|
295
|
+
|
296
|
+
globalNavAndTable.forEach(element => {
|
297
|
+
element.style.display = 'table';
|
298
|
+
});
|
299
|
+
}
|
300
|
+
|
301
|
+
function showLocal() {
|
302
|
+
localNavAndTable.forEach(element => {
|
303
|
+
element.style.display = 'table';
|
304
|
+
});
|
305
|
+
|
306
|
+
globalNavAndTable.forEach(element => {
|
307
|
+
element.style.display = 'none';
|
308
|
+
});
|
309
|
+
}
|
310
|
+
|
311
|
+
</script>
|
@@ -0,0 +1,149 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Playbook
|
4
|
+
module PbDocs
|
5
|
+
class KitApi < Playbook::KitBase
|
6
|
+
prop :kit, type: Playbook::Props::String, required: true
|
7
|
+
|
8
|
+
def kit_local_props
|
9
|
+
local = []
|
10
|
+
kit_props.each do |key, value|
|
11
|
+
value.kit != Playbook::KitBase && local.push({ key: key, value: value })
|
12
|
+
end
|
13
|
+
local
|
14
|
+
end
|
15
|
+
|
16
|
+
def padding_margin_values
|
17
|
+
%w[none xxs xs sm md lg xl]
|
18
|
+
end
|
19
|
+
|
20
|
+
def local_prop_data
|
21
|
+
local_props = {}
|
22
|
+
|
23
|
+
kit_local_props.each do |key, _value|
|
24
|
+
name = key[:value].instance_variable_get(:@name)
|
25
|
+
type = key[:value].class.to_s.split("::").last
|
26
|
+
default = key[:value].instance_variable_get(:@default)
|
27
|
+
values = key[:value].instance_variable_get(:@values)
|
28
|
+
local_props[name.to_sym] = { "type": type, "default": default, "values": values }
|
29
|
+
end
|
30
|
+
local_props
|
31
|
+
end
|
32
|
+
|
33
|
+
def kit_global_props
|
34
|
+
global_props = {}
|
35
|
+
global_prop_names = []
|
36
|
+
global_prop_values = {}
|
37
|
+
global_props_with_values = {}
|
38
|
+
global_props_without_values = []
|
39
|
+
parent_child_object = {}
|
40
|
+
updated_global_props_with_values = {}
|
41
|
+
|
42
|
+
# extracts the modules from kit_base.rb, which is where we import all the global props that we inject into every rails kit
|
43
|
+
pb_module = Playbook::KitBase.included_modules.select { |mod| mod.to_s.include?("Playbook::") }
|
44
|
+
|
45
|
+
# loops through the kits and extracts each prop with its values and pushes that to the global_props hash
|
46
|
+
kit_props.each do |key, value|
|
47
|
+
value.kit == Playbook::KitBase && global_props[key.to_sym] = value
|
48
|
+
end
|
49
|
+
|
50
|
+
# loops through the global_props and extracts the name of each prop and pushes that to global_prop_names array
|
51
|
+
global_props.each do |name, _values|
|
52
|
+
global_prop_names.push(name)
|
53
|
+
end
|
54
|
+
|
55
|
+
# Loops through each module in pb_module and searches for methods that end in _values, as these methods hold the values for each prop
|
56
|
+
# we then save the values and type and push that to the values hash as a key value pair
|
57
|
+
pb_module.each do |mod|
|
58
|
+
mod.instance_methods.each do |method_name|
|
59
|
+
next unless method_name.to_s.end_with?("_values")
|
60
|
+
|
61
|
+
value = send(method_name)
|
62
|
+
type = value.class
|
63
|
+
global_prop_values[method_name.to_s.chomp("_values").to_sym] = { "type": type, "values": value }
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# loops through the global_prop_names array
|
68
|
+
# then loops through the global_prop_values hash and extracts the values that have the same name found in global_prop_names
|
69
|
+
# this loop helps ensure only global props values are actually extracted, as there could be other methods that end in _values in the modules we are iterating over
|
70
|
+
# these verified global props with values are then pushed to the global_props_with_values hash
|
71
|
+
global_prop_names.each do |name, _prop|
|
72
|
+
global_prop_values.each do |key, value|
|
73
|
+
global_props_with_values[key] = value if key == name
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# now we grab all the global_prop_names that do not have a matching key in global_prop_values.
|
78
|
+
# This gives us any global prop that did not have any predefined value. like classname and dark
|
79
|
+
global_props_without_values = global_prop_names - global_prop_values.keys
|
80
|
+
|
81
|
+
# Loops through each module in pb_module and searches for methods that end in _options, as these methods hold all the props in the module
|
82
|
+
# save the prop names prop values and and parent module name to parent_child_object hash
|
83
|
+
# this is a comprehensive list of all parent module and children props for edge cases like spacing.rb, that is not named after the props it represents
|
84
|
+
pb_module.each do |mod|
|
85
|
+
mod.instance_methods.each do |method_name|
|
86
|
+
next unless method_name.to_s.end_with?("_options")
|
87
|
+
|
88
|
+
props = send(method_name)
|
89
|
+
parent = mod.to_s.split("::").last
|
90
|
+
values = send("#{parent.underscore}_values")
|
91
|
+
parent_child_object[parent] = { "props": props, "values": values }
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# loops through each object in parent_child_object and extracts its children (props and values)
|
96
|
+
# loops through each child and extracts the individual props
|
97
|
+
# Checks if the props match any of the props in global_props_without_values
|
98
|
+
# if it does, then we push that prop to global_props_with_values hash
|
99
|
+
# This extracts the props in the spacing.rb file and any file that is not named after the props it represents
|
100
|
+
parent_child_object.each do |_parent, children|
|
101
|
+
children.each do |_child, props|
|
102
|
+
props.each do |prop, _value|
|
103
|
+
type = children[:values].class
|
104
|
+
values = children[:values]
|
105
|
+
global_props_with_values[prop] = { "type": type, "values": values } if global_props_without_values.include?(prop)
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# loop through the global_props hash and the global_props_with_values hash.
|
111
|
+
# extract the props from global_props that are not found in global_props_with_values into updated_global_props_with_values
|
112
|
+
# This is the last piece that grabs the global props that did not have values at all, like classname and dark, and adds it to our hash
|
113
|
+
global_props.each do |prop, value|
|
114
|
+
unless global_props_with_values.include?(prop)
|
115
|
+
type = value.class.to_s.split("::").last
|
116
|
+
updated_global_props_with_values[prop] = { "type": type }
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
# Merge updated_global_props_with_values into global_props_with_values
|
121
|
+
# global_props_with_values will now hold all the global props thier values and type
|
122
|
+
global_props_with_values.merge!(updated_global_props_with_values)
|
123
|
+
|
124
|
+
global_props_with_values
|
125
|
+
end
|
126
|
+
|
127
|
+
def global_prop_data
|
128
|
+
global_props = {}
|
129
|
+
|
130
|
+
kit_global_props.each do |key, value|
|
131
|
+
type = value[:type]
|
132
|
+
values = value[:values]
|
133
|
+
global_props[key] = { "type": type, "values": values }
|
134
|
+
end
|
135
|
+
global_props
|
136
|
+
end
|
137
|
+
|
138
|
+
def kit_props
|
139
|
+
kit_class.props
|
140
|
+
end
|
141
|
+
|
142
|
+
private
|
143
|
+
|
144
|
+
def kit_class
|
145
|
+
@kit_class ||= Playbook::KitResolver.resolve(kit.to_s)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<% example_html = ERB.new(example).result %>
|
2
|
+
|
3
|
+
<%= pb_rails("card", props: { classname: "pb--doc", padding: "none", dark: dark }) do %>
|
4
|
+
<div class="pb--kit-example">
|
5
|
+
<%= pb_rails("caption", props: { text: example_title, dark: dark }) %>
|
6
|
+
<br />
|
7
|
+
<%= example %>
|
8
|
+
<br>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<% if show_code %>
|
12
|
+
<div class="markdown pb--kit-example-markdown <%= dark ? "dark" : "" %>">
|
13
|
+
<%= render_markdown(description) %>
|
14
|
+
</div>
|
15
|
+
<div id="code-wrapper">
|
16
|
+
<div class="pb--codeControls">
|
17
|
+
<ul>
|
18
|
+
<% if type == "rails" %>
|
19
|
+
<li>
|
20
|
+
<a href="#" id="copy-<%= example_key %>-trigger" onclick="copyOnClick(`<%= example_html %>`, `copy-<%= example_key %>`)">
|
21
|
+
Copy HTML
|
22
|
+
</a>
|
23
|
+
</li>
|
24
|
+
<% end %>
|
25
|
+
<li>
|
26
|
+
<a href="#" id="toggle-open" data-toggle="code_example">Code Example</a>
|
27
|
+
</li>
|
28
|
+
</ul>
|
29
|
+
</div>
|
30
|
+
<div class="pb--codeCopy" data-action="toggle" data-togglable="code_example" style="display: none" >
|
31
|
+
<%= pb_rails("section_separator", props: { dark: dark })%>
|
32
|
+
<a href="#" id="toggle-close" data-toggle="false" class="pb--close-toggle">Close</a>
|
33
|
+
<pre class="highlight"><%= raw rouge(source, highlighter) %></pre>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
<% end %>
|
37
|
+
<% end %>
|
38
|
+
|
39
|
+
<script>
|
40
|
+
function copyOnClick(content, elementID) {
|
41
|
+
copyContent(content)
|
42
|
+
}
|
43
|
+
|
44
|
+
</script>
|
45
|
+
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# rubocop:disable Style/CaseLikeIf
|
4
|
+
|
5
|
+
module Playbook
|
6
|
+
module PbDocs
|
7
|
+
class KitExample < Playbook::KitBase
|
8
|
+
include Playbook::Markdown::Helper
|
9
|
+
|
10
|
+
prop :kit, type: Playbook::Props::String, required: true
|
11
|
+
prop :example_title, type: Playbook::Props::String, required: true
|
12
|
+
prop :example_key, type: Playbook::Props::String, required: true
|
13
|
+
prop :show_code, type: Playbook::Props::Boolean, default: true
|
14
|
+
prop :type, type: Playbook::Props::Enum, values: %w[rails react], default: "rails"
|
15
|
+
prop :dark, type: Playbook::Props::Boolean, default: false
|
16
|
+
|
17
|
+
def example
|
18
|
+
if type == "rails"
|
19
|
+
render inline: source
|
20
|
+
elsif type == "react"
|
21
|
+
react_component example_key.camelize, { dark: dark }
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def description
|
26
|
+
@description ||= read_kit_file("docs", "_#{example_key}.md")
|
27
|
+
end
|
28
|
+
|
29
|
+
def highlighter
|
30
|
+
type.eql?("rails") ? "erb" : "react"
|
31
|
+
end
|
32
|
+
|
33
|
+
def source
|
34
|
+
@source ||= begin
|
35
|
+
extension = type == "react" ? "jsx" : "html.erb"
|
36
|
+
stringified_code = read_kit_file("docs", "_#{example_key}.#{extension}")
|
37
|
+
sanitize_code(stringified_code)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def tsx_source
|
42
|
+
read_kit_file("", "_#{example_key}.tsx")
|
43
|
+
end
|
44
|
+
|
45
|
+
private
|
46
|
+
|
47
|
+
def sanitize_code(stringified_code)
|
48
|
+
stringified_code = stringified_code.gsub('"../.."', '"playbook-ui"')
|
49
|
+
.gsub('"../../"', '"playbook-ui"')
|
50
|
+
.gsub("'../../'", "'playbook-ui'")
|
51
|
+
.gsub("'../..'", "'playbook-ui'")
|
52
|
+
.gsub(%r{from "../.*}, "from 'playbook-ui'")
|
53
|
+
.gsub(%r{from '../.*}, "from 'playbook-ui'")
|
54
|
+
stringified_code = dark ? stringified_code.gsub("{...props}", "dark") : stringified_code.gsub(/\s*{...props}\s*\n/, "\n")
|
55
|
+
if stringified_code.include?("props: { ")
|
56
|
+
stringified_code = stringified_code.gsub("props: {", "props: {dark: true,") if type == "rails" && dark
|
57
|
+
elsif type == "rails" && dark
|
58
|
+
stringified_code = stringified_code.gsub("props: {", "props: {\n dark: true,")
|
59
|
+
end
|
60
|
+
stringified_code.gsub(" {...props}", "")
|
61
|
+
end
|
62
|
+
|
63
|
+
def read_kit_file(folder, *args)
|
64
|
+
path = ::Playbook.kit_path(kit, folder, *args)
|
65
|
+
path.exist? ? path.read : ""
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# rubocop:enable Style/CaseLikeIf
|
@@ -0,0 +1,7 @@
|
|
1
|
+
This kit provides a drag and drop interface for file uploads. Currently, the kit leverages [react-dropzone](https://github.com/react-dropzone/react-dropzone).
|
2
|
+
|
3
|
+
### Props
|
4
|
+
|
5
|
+
`accept: [String]` Use this prop to set the list of valid file types
|
6
|
+
`customMessage: [String]` Use this prop to set a custom message, replacing the default text
|
7
|
+
`onFilesAccepted: Function` The callback function, providing the list of dropped files
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
3
|
+
import React, { useState } from 'react'
|
4
|
+
import {
|
5
|
+
FileUpload,
|
6
|
+
List,
|
7
|
+
ListItem,
|
8
|
+
} from '../..'
|
9
|
+
|
10
|
+
const AcceptedFilesList = ({ files }: FileList) => (
|
11
|
+
<List>
|
12
|
+
{files.map((file) => (
|
13
|
+
<ListItem key={file.name}>{file.name}</ListItem>
|
14
|
+
))}
|
15
|
+
</List>
|
16
|
+
)
|
17
|
+
|
18
|
+
const FileUploadAccept = (props) => {
|
19
|
+
const [filesToUpload, setFilesToUpload] = useState([])
|
20
|
+
|
21
|
+
const handleOnFilesAccepted = (files) => {
|
22
|
+
setFilesToUpload([...filesToUpload, ...files])
|
23
|
+
}
|
24
|
+
|
25
|
+
return (
|
26
|
+
<div>
|
27
|
+
<AcceptedFilesList
|
28
|
+
files={filesToUpload}
|
29
|
+
{...props}
|
30
|
+
/>
|
31
|
+
<FileUpload
|
32
|
+
accept={['image/svg+xml']}
|
33
|
+
onFilesAccepted={handleOnFilesAccepted}
|
34
|
+
{...props}
|
35
|
+
/>
|
36
|
+
</div>
|
37
|
+
)
|
38
|
+
}
|
39
|
+
|
40
|
+
export default FileUploadAccept
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/* eslint-disable react/no-multi-comp */
|
2
|
+
/* @flow */
|
3
|
+
|
4
|
+
import React, { useState } from "react";
|
5
|
+
import { FileUpload, List, ListItem } from "../..";
|
6
|
+
|
7
|
+
const AcceptedFilesList = ({ files }: FileList) => (
|
8
|
+
<List>
|
9
|
+
{files.map((file) => (
|
10
|
+
<ListItem key={file.name}>{file.name}</ListItem>
|
11
|
+
))}
|
12
|
+
</List>
|
13
|
+
);
|
14
|
+
|
15
|
+
const FileUploadCustomDescription = (props) => {
|
16
|
+
const [filesToUpload, setFilesToUpload] = useState([]);
|
17
|
+
|
18
|
+
const handleOnFilesAccepted = (files) => {
|
19
|
+
setFilesToUpload([...filesToUpload, ...files]);
|
20
|
+
};
|
21
|
+
|
22
|
+
return (
|
23
|
+
<div>
|
24
|
+
<AcceptedFilesList
|
25
|
+
files={filesToUpload}
|
26
|
+
{...props}
|
27
|
+
/>
|
28
|
+
<FileUpload
|
29
|
+
accept={['application/pdf','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']}
|
30
|
+
acceptedFilesDescription="Adobe (.pdf) and Microsoft (.xslx)"
|
31
|
+
onFilesAccepted={handleOnFilesAccepted}
|
32
|
+
{...props}
|
33
|
+
/>
|
34
|
+
</div>
|
35
|
+
);
|
36
|
+
};
|
37
|
+
|
38
|
+
export default FileUploadCustomDescription;
|
@@ -0,0 +1 @@
|
|
1
|
+
Sometimes you may want to create a custom description that is easier for users to read. In this case, you can use the `acceptedFilesDescription` prop.
|