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,57 @@
|
|
1
|
+
import React, { useState } from 'react'
|
2
|
+
|
3
|
+
import Passphrase from '../../pb_passphrase/_passphrase'
|
4
|
+
|
5
|
+
const PassphraseInputProps = (props) => {
|
6
|
+
const [input, setInput] = useState('')
|
7
|
+
|
8
|
+
const handleChange = (e) => setInput(e.target.value)
|
9
|
+
|
10
|
+
return (
|
11
|
+
<>
|
12
|
+
<div>
|
13
|
+
<Passphrase
|
14
|
+
inputProps={{
|
15
|
+
name: 'my-disabled-field',
|
16
|
+
id: 'my-value-id',
|
17
|
+
disabled: true,
|
18
|
+
}}
|
19
|
+
label="Pass props directly to input kit"
|
20
|
+
onChange={handleChange}
|
21
|
+
value={input}
|
22
|
+
{...props}
|
23
|
+
/>
|
24
|
+
<Passphrase
|
25
|
+
inputProps={{
|
26
|
+
children: (
|
27
|
+
<input
|
28
|
+
onChange={handleChange}
|
29
|
+
type="password"
|
30
|
+
value={input}
|
31
|
+
/>),
|
32
|
+
}}
|
33
|
+
label="Custom input"
|
34
|
+
onChange={handleChange}
|
35
|
+
value={input}
|
36
|
+
{...props}
|
37
|
+
/>
|
38
|
+
<Passphrase
|
39
|
+
inputProps={{ name: 'my-value-name', id: 'my-value-id-2' }}
|
40
|
+
label="Set name and ID for use in form libraries"
|
41
|
+
onChange={handleChange}
|
42
|
+
value={input}
|
43
|
+
{...props}
|
44
|
+
/>
|
45
|
+
<Passphrase
|
46
|
+
confirmation
|
47
|
+
inputProps={{ name: 'my-value-confirmation-name', id: 'my-value-confirmation-id' }}
|
48
|
+
onChange={handleChange}
|
49
|
+
value={input}
|
50
|
+
{...props}
|
51
|
+
/>
|
52
|
+
</div>
|
53
|
+
</>
|
54
|
+
)
|
55
|
+
}
|
56
|
+
|
57
|
+
export default PassphraseInputProps
|
@@ -0,0 +1 @@
|
|
1
|
+
`inputProps` is passed directly to an underlying Text Input kit. See the specific docs <a href="/kits/text_input/react" target="_blank">here</a> for more details.
|
@@ -0,0 +1,323 @@
|
|
1
|
+
<%= pb_rails("passphrase", props: { label: "Default Settings", classname: "def_passphrase" }) %>
|
2
|
+
|
3
|
+
<%= pb_rails("progress_simple", props: { percent: 0, id: "def_bar" }) %>
|
4
|
+
|
5
|
+
<%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "def_caption" }) %>
|
6
|
+
|
7
|
+
<%= pb_rails("text_input", props: { label: "Calculated Strength", value: "0", disabled: true, id: "calc_strength" }) %>
|
8
|
+
|
9
|
+
<%= pb_rails("passphrase", props: { label: "Min length = 5", classname: "min_5" }) %>
|
10
|
+
|
11
|
+
<%= pb_rails("progress_simple", props: { percent: 0, id: "min_5_bar" }) %>
|
12
|
+
|
13
|
+
<%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "min_5_caption" }) %>
|
14
|
+
|
15
|
+
<%= pb_rails("passphrase", props: { label: "Min length = 30", classname: "min_30" }) %>
|
16
|
+
|
17
|
+
<%= pb_rails("progress_simple", props: { percent: 0, id: "min_30_bar" }) %>
|
18
|
+
|
19
|
+
<%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "min_30_caption" }) %>
|
20
|
+
|
21
|
+
<%= pb_rails("passphrase", props: { label: "Average Threshold = 1", classname: "avg_1" }) %>
|
22
|
+
|
23
|
+
<%= pb_rails("progress_simple", props: { percent: 0, id: "avg_1_bar" }) %>
|
24
|
+
|
25
|
+
<%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "avg_1_caption" }) %>
|
26
|
+
|
27
|
+
<%= pb_rails("passphrase", props: { label: "Strong Threshold = 4", classname: "strong_4" }) %>
|
28
|
+
|
29
|
+
<%= pb_rails("progress_simple", props: { percent: 0, id: "strong_4_bar" }) %>
|
30
|
+
|
31
|
+
<%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "strong_4_caption" }) %>
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
<%= javascript_tag do %>
|
36
|
+
window.addEventListener("DOMContentLoaded", () => {
|
37
|
+
|
38
|
+
|
39
|
+
// variables for the passphrase kits you are targeting
|
40
|
+
const defPassphrase = document.querySelector(".def_passphrase").querySelector("input")
|
41
|
+
const min5 = document.querySelector(".min_5").querySelector("input")
|
42
|
+
const min30 = document.querySelector(".min_30").querySelector("input")
|
43
|
+
const avg1 = document.querySelector(".avg_1").querySelector("input")
|
44
|
+
const strong4 = document.querySelector(".strong_4").querySelector("input")
|
45
|
+
|
46
|
+
// variable for the text_input kit you are targeting
|
47
|
+
const calcStrength = document.querySelector("#calc_strength")
|
48
|
+
|
49
|
+
// variables for the progress_simple kits you are targeting
|
50
|
+
const defBarVariant = document.getElementById("def_bar")
|
51
|
+
const defBarPercent = document.getElementById("def_bar").querySelector("div")
|
52
|
+
const min5BarVariant = document.getElementById("min_5_bar")
|
53
|
+
const min5BarPercent = document.getElementById("min_5_bar").querySelector("div")
|
54
|
+
const min30BarVariant = document.getElementById("min_30_bar")
|
55
|
+
const min30BarPercent = document.getElementById("min_30_bar").querySelector("div")
|
56
|
+
const avg1BarVariant = document.getElementById("avg_1_bar")
|
57
|
+
const avg1BarPercent = document.getElementById("avg_1_bar").querySelector("div")
|
58
|
+
const strong4BarVariant = document.getElementById("strong_4_bar")
|
59
|
+
const strong4BarPercent = document.getElementById("strong_4_bar").querySelector("div")
|
60
|
+
|
61
|
+
// hide all the progress_simple bars
|
62
|
+
defBarVariant.style.display = 'none';
|
63
|
+
defBarPercent.style.display = 'none';
|
64
|
+
min5BarVariant.style.display = 'none';
|
65
|
+
min5BarPercent.style.display = 'none';
|
66
|
+
min30BarVariant.style.display = 'none';
|
67
|
+
min30BarPercent.style.display = 'none';
|
68
|
+
avg1BarVariant.style.display = 'none';
|
69
|
+
avg1BarPercent.style.display = 'none';
|
70
|
+
strong4BarVariant.style.display = 'none';
|
71
|
+
strong4BarPercent.style.display = 'none';
|
72
|
+
|
73
|
+
// variables for the caption kits you are targeting
|
74
|
+
const defCaption = document.getElementById("def_caption")
|
75
|
+
const min5Caption = document.getElementById("min_5_caption")
|
76
|
+
const min30Caption = document.getElementById("min_30_caption")
|
77
|
+
const avg1Caption = document.getElementById("avg_1_caption")
|
78
|
+
const strong4Caption = document.getElementById("strong_4_caption")
|
79
|
+
|
80
|
+
// hide all the captions
|
81
|
+
defCaption.style.display = 'none';
|
82
|
+
min5Caption.style.display = 'none';
|
83
|
+
min30Caption.style.display = 'none';
|
84
|
+
avg1Caption.style.display = 'none';
|
85
|
+
strong4Caption.style.display = 'none';
|
86
|
+
|
87
|
+
// funtion that determines strenght of user passowrd using zxcvbn
|
88
|
+
const handleStrengthCalculation = (settings) => {
|
89
|
+
|
90
|
+
// define the settings object with its defaults
|
91
|
+
const {
|
92
|
+
passphrase = "",
|
93
|
+
common = false,
|
94
|
+
isPwned = false,
|
95
|
+
averageThreshold = 2,
|
96
|
+
minLength = 12,
|
97
|
+
strongThreshold = 3,
|
98
|
+
} = settings
|
99
|
+
|
100
|
+
// define the resultsByScore objects, these return an object with a variant and percentage,
|
101
|
+
// depending on the score of the password
|
102
|
+
const resultByScore = {
|
103
|
+
0: {
|
104
|
+
variant: 'negative',
|
105
|
+
label: '',
|
106
|
+
percent: 0,
|
107
|
+
},
|
108
|
+
1: {
|
109
|
+
variant: 'negative',
|
110
|
+
label: 'This passphrase is too common',
|
111
|
+
percent: 25,
|
112
|
+
},
|
113
|
+
2: {
|
114
|
+
variant: 'negative',
|
115
|
+
label: 'Too weak',
|
116
|
+
percent: 25,
|
117
|
+
},
|
118
|
+
3: {
|
119
|
+
variant: 'warning',
|
120
|
+
label: 'Almost there, keep going!',
|
121
|
+
percent: 50,
|
122
|
+
},
|
123
|
+
4: {
|
124
|
+
variant: 'positive',
|
125
|
+
label: 'Success! Strong passphrase',
|
126
|
+
percent: 100,
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
const { score } = zxcvbn(passphrase);
|
131
|
+
|
132
|
+
const noPassphrase = passphrase.length <= 0
|
133
|
+
const commonPassphrase = common || isPwned
|
134
|
+
const weakPassphrase = passphrase.length < minLength || score < averageThreshold
|
135
|
+
const averagePassphrase = score < strongThreshold
|
136
|
+
const strongPassphrase = score >= strongThreshold
|
137
|
+
|
138
|
+
// conditional that returns the score of the password, along with the resultByScore object
|
139
|
+
// so we can change the percantage and variant of the progress_simple kit
|
140
|
+
if (noPassphrase) {
|
141
|
+
return {...resultByScore[0], score}
|
142
|
+
} else if (commonPassphrase) {
|
143
|
+
return {...resultByScore[1], score}
|
144
|
+
} else if (weakPassphrase) {
|
145
|
+
return {...resultByScore[2], score}
|
146
|
+
} else if (averagePassphrase){
|
147
|
+
return {...resultByScore[3], score}
|
148
|
+
} else if (strongPassphrase) {
|
149
|
+
return {...resultByScore[4], score}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
// event listeners attached to the input field
|
155
|
+
min5.addEventListener('input', (e) => {
|
156
|
+
const passphrase = e.target.value;
|
157
|
+
|
158
|
+
// defining setting object to spread into handleStrengthCalculation
|
159
|
+
setting = {
|
160
|
+
minLength: 5,
|
161
|
+
}
|
162
|
+
|
163
|
+
// pass in passphrase and setting object to handleStrengthCalculation and set that equal to result variable
|
164
|
+
const result = handleStrengthCalculation({passphrase, ...setting})
|
165
|
+
|
166
|
+
// set the value of the text_input to the score
|
167
|
+
calcStrength.value = result.score
|
168
|
+
|
169
|
+
// conditional statment to show or hide progress_simple bar and caption if user has entered a password
|
170
|
+
if (passphrase) {
|
171
|
+
min5BarVariant.style.display = 'block';
|
172
|
+
|
173
|
+
min5BarPercent.style.display = 'block';
|
174
|
+
|
175
|
+
min5Caption.style.display = 'block';
|
176
|
+
} else {
|
177
|
+
min5BarVariant.style.display = 'none';
|
178
|
+
|
179
|
+
min5BarPercent.style.display = 'none';
|
180
|
+
|
181
|
+
min5Caption.style.display = 'none';
|
182
|
+
}
|
183
|
+
|
184
|
+
// set the width of the progress_simple kit
|
185
|
+
min5BarPercent.style.width = result.percent.toString()+ "%"
|
186
|
+
|
187
|
+
|
188
|
+
// set the variant of the progress_simple kit
|
189
|
+
min5BarVariant.setAttribute("class", "pb_progress_simple_kit_"+ result.variant +"_left");
|
190
|
+
|
191
|
+
|
192
|
+
// set the text of the caption kit
|
193
|
+
min5Caption.textContent = result.label
|
194
|
+
});
|
195
|
+
|
196
|
+
defPassphrase.addEventListener('input', (e) => {
|
197
|
+
const passphrase = e.target.value;
|
198
|
+
|
199
|
+
const result = handleStrengthCalculation({passphrase})
|
200
|
+
|
201
|
+
calcStrength.value = result.score
|
202
|
+
|
203
|
+
if (passphrase) {
|
204
|
+
defBarVariant.style.display = 'block';
|
205
|
+
|
206
|
+
defBarPercent.style.display = 'block';
|
207
|
+
|
208
|
+
defCaption.style.display = 'block';
|
209
|
+
} else {
|
210
|
+
defBarVariant.style.display = 'none';
|
211
|
+
|
212
|
+
defBarPercent.style.display = 'none';
|
213
|
+
|
214
|
+
defCaption.style.display = 'none';
|
215
|
+
}
|
216
|
+
|
217
|
+
defBarPercent.style.width = result.percent.toString()+ "%"
|
218
|
+
|
219
|
+
defBarVariant.setAttribute("class", "pb_progress_simple_kit_"+ result.variant +"_left");
|
220
|
+
|
221
|
+
defCaption.textContent = result.label
|
222
|
+
|
223
|
+
});
|
224
|
+
|
225
|
+
min30.addEventListener('input', (e) => {
|
226
|
+
const passphrase = e.target.value;
|
227
|
+
|
228
|
+
setting = {
|
229
|
+
minLength: 30,
|
230
|
+
}
|
231
|
+
|
232
|
+
const result = handleStrengthCalculation({passphrase, ...setting})
|
233
|
+
|
234
|
+
calcStrength.value = result.score
|
235
|
+
|
236
|
+
if (passphrase) {
|
237
|
+
min30BarVariant.style.display = 'block';
|
238
|
+
|
239
|
+
min30BarPercent.style.display = 'block';
|
240
|
+
|
241
|
+
min30Caption.style.display = 'block';
|
242
|
+
} else {
|
243
|
+
min30BarVariant.style.display = 'none';
|
244
|
+
|
245
|
+
min30BarPercent.style.display = 'none';
|
246
|
+
|
247
|
+
min30Caption.style.display = 'none';
|
248
|
+
}
|
249
|
+
|
250
|
+
min30BarPercent.style.width = result.percent.toString()+ "%"
|
251
|
+
|
252
|
+
min30BarVariant.setAttribute("class", "pb_progress_simple_kit_"+ result.variant +"_left");
|
253
|
+
|
254
|
+
min30Caption.textContent = result.label
|
255
|
+
});
|
256
|
+
|
257
|
+
avg1.addEventListener('input', (e) => {
|
258
|
+
const passphrase = e.target.value;
|
259
|
+
|
260
|
+
setting = {
|
261
|
+
averageThreshold: 1,
|
262
|
+
}
|
263
|
+
|
264
|
+
const result = handleStrengthCalculation({passphrase, ...setting})
|
265
|
+
|
266
|
+
calcStrength.value = result.score
|
267
|
+
|
268
|
+
if (passphrase) {
|
269
|
+
avg1BarVariant.style.display = 'block';
|
270
|
+
|
271
|
+
avg1BarPercent.style.display = 'block';
|
272
|
+
|
273
|
+
avg1Caption.style.display = 'block';
|
274
|
+
} else {
|
275
|
+
avg1BarVariant.style.display = 'none';
|
276
|
+
|
277
|
+
avg1BarPercent.style.display = 'none';
|
278
|
+
|
279
|
+
avg1Caption.style.display = 'none';
|
280
|
+
}
|
281
|
+
|
282
|
+
avg1BarPercent.style.width = result.percent.toString()+ "%"
|
283
|
+
|
284
|
+
avg1BarVariant.setAttribute("class", "pb_progress_simple_kit_"+ result.variant +"_left");
|
285
|
+
|
286
|
+
avg1Caption.textContent = result.label
|
287
|
+
});
|
288
|
+
|
289
|
+
strong4.addEventListener('input', (e) => {
|
290
|
+
const passphrase = e.target.value;
|
291
|
+
|
292
|
+
setting = {
|
293
|
+
strongThreshold: 4,
|
294
|
+
}
|
295
|
+
|
296
|
+
const result = handleStrengthCalculation({passphrase, ...setting})
|
297
|
+
|
298
|
+
calcStrength.value = result.score
|
299
|
+
|
300
|
+
if (passphrase) {
|
301
|
+
strong4BarVariant.style.display = 'block';
|
302
|
+
|
303
|
+
strong4BarPercent.style.display = 'block';
|
304
|
+
|
305
|
+
strong4Caption.style.display = 'block';
|
306
|
+
} else {
|
307
|
+
strong4BarVariant.style.display = 'none';
|
308
|
+
|
309
|
+
strong4BarPercent.style.display = 'none';
|
310
|
+
|
311
|
+
strong4Caption.style.display = 'none';
|
312
|
+
}
|
313
|
+
|
314
|
+
strong4BarPercent.style.width = result.percent.toString()+ "%"
|
315
|
+
|
316
|
+
strong4BarVariant.setAttribute("class", "pb_progress_simple_kit_"+ result.variant +"_left");
|
317
|
+
|
318
|
+
strong4Caption.textContent = result.label
|
319
|
+
});
|
320
|
+
|
321
|
+
|
322
|
+
})
|
323
|
+
<% end %>
|
@@ -0,0 +1,157 @@
|
|
1
|
+
import React, { useState } from 'react'
|
2
|
+
|
3
|
+
import { Body, Caption, Passphrase, ProgressSimple, TextInput } from '../..'
|
4
|
+
import zxcvbn from 'zxcvbn'
|
5
|
+
|
6
|
+
|
7
|
+
const PassphraseMeterSettings = (props) => {
|
8
|
+
const [input, setInput] = useState('')
|
9
|
+
const [result, setResult] = useState({})
|
10
|
+
const [calculatedStrength, setCalculatedStrength] = useState(0)
|
11
|
+
|
12
|
+
const meterSettings = [
|
13
|
+
{
|
14
|
+
label: "Default settings"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
minLength: 5,
|
18
|
+
label: "Min length = 5",
|
19
|
+
},
|
20
|
+
{
|
21
|
+
minLength: 30,
|
22
|
+
label: "Min length = 30",
|
23
|
+
},
|
24
|
+
{
|
25
|
+
label: "Average threshold = 1",
|
26
|
+
averageThreshold: 1,
|
27
|
+
},
|
28
|
+
{
|
29
|
+
label: "Strong Threshold = 4",
|
30
|
+
strongThreshold: 4,
|
31
|
+
},
|
32
|
+
]
|
33
|
+
|
34
|
+
const handleStrengthCalculation = (settings) => {
|
35
|
+
const {
|
36
|
+
passphrase = "",
|
37
|
+
common = false,
|
38
|
+
isPwned = false,
|
39
|
+
averageThreshold = 2,
|
40
|
+
minLength = 12,
|
41
|
+
strongThreshold = 3,
|
42
|
+
} = settings
|
43
|
+
|
44
|
+
const resultByScore = {
|
45
|
+
0: {
|
46
|
+
variant: 'negative',
|
47
|
+
label: '',
|
48
|
+
percent: 0,
|
49
|
+
},
|
50
|
+
1: {
|
51
|
+
variant: 'negative',
|
52
|
+
label: 'This passphrase is too common',
|
53
|
+
percent: 25,
|
54
|
+
},
|
55
|
+
2: {
|
56
|
+
variant: 'negative',
|
57
|
+
label: 'Too weak',
|
58
|
+
percent: 25,
|
59
|
+
},
|
60
|
+
3: {
|
61
|
+
variant: 'warning',
|
62
|
+
label: 'Almost there, keep going!',
|
63
|
+
percent: 50,
|
64
|
+
},
|
65
|
+
4: {
|
66
|
+
variant: 'positive',
|
67
|
+
label: 'Success! Strong passphrase',
|
68
|
+
percent: 100,
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
const { score } = zxcvbn(passphrase);
|
73
|
+
|
74
|
+
const noPassphrase = passphrase.length <= 0
|
75
|
+
const commonPassphrase = common || isPwned
|
76
|
+
const weakPassphrase = passphrase.length < minLength || score < averageThreshold
|
77
|
+
const averagePassphrase = score < strongThreshold
|
78
|
+
const strongPassphrase = score >= strongThreshold
|
79
|
+
|
80
|
+
if (noPassphrase) {
|
81
|
+
return {...resultByScore[0], score}
|
82
|
+
} else if (commonPassphrase) {
|
83
|
+
return {...resultByScore[1], score}
|
84
|
+
} else if (weakPassphrase) {
|
85
|
+
return {...resultByScore[2], score}
|
86
|
+
} else if (averagePassphrase){
|
87
|
+
return {...resultByScore[3], score}
|
88
|
+
} else if (strongPassphrase) {
|
89
|
+
return {...resultByScore[4], score}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
|
94
|
+
const handleChange = (e) => {
|
95
|
+
const passphrase = e.target.value;
|
96
|
+
|
97
|
+
setInput(passphrase)
|
98
|
+
|
99
|
+
const calculated = []
|
100
|
+
|
101
|
+
meterSettings.forEach((setting, index) => {
|
102
|
+
const results = handleStrengthCalculation({passphrase, ...setting})
|
103
|
+
if (index == 0) setCalculatedStrength(results.score)
|
104
|
+
calculated.push(results)
|
105
|
+
})
|
106
|
+
|
107
|
+
setResult(calculated)
|
108
|
+
}
|
109
|
+
|
110
|
+
return (
|
111
|
+
<>
|
112
|
+
<div>
|
113
|
+
<Body>
|
114
|
+
{
|
115
|
+
"These examples will all share the same input value. Type in any of the inputs to see how the strength meter changes in response to different settings."
|
116
|
+
}
|
117
|
+
</Body>
|
118
|
+
<Passphrase
|
119
|
+
label={"Type your passphrase"}
|
120
|
+
onChange={handleChange}
|
121
|
+
value={input}
|
122
|
+
{...props}
|
123
|
+
/>
|
124
|
+
<TextInput
|
125
|
+
disabled
|
126
|
+
label="Calculated Strength"
|
127
|
+
readOnly
|
128
|
+
value={calculatedStrength}
|
129
|
+
/>
|
130
|
+
{meterSettings.map((settings, index) => (
|
131
|
+
<div key={index}>
|
132
|
+
<Passphrase
|
133
|
+
label={settings.label}
|
134
|
+
onChange={handleChange}
|
135
|
+
value={input}
|
136
|
+
{...props}
|
137
|
+
/>
|
138
|
+
{input.length > 0 && (
|
139
|
+
<>
|
140
|
+
<ProgressSimple
|
141
|
+
percent={result[index].percent}
|
142
|
+
variant={result[index].variant}
|
143
|
+
/>
|
144
|
+
<Caption size='xs'
|
145
|
+
text={result[index].label}
|
146
|
+
/>
|
147
|
+
</>
|
148
|
+
)}
|
149
|
+
</div>
|
150
|
+
))}
|
151
|
+
|
152
|
+
</div>
|
153
|
+
</>
|
154
|
+
);
|
155
|
+
}
|
156
|
+
|
157
|
+
export default PassphraseMeterSettings
|
@@ -0,0 +1,15 @@
|
|
1
|
+
This example shows how to enhance the passphrase strenght by setting diferent thresholds and lengths.
|
2
|
+
|
3
|
+
The `meterSettings` array contains different settings for each rendered input. The `handleStrengthCalculation` handles the strength calculation using those settings, showing different results for the same `passphrase` input.
|
4
|
+
|
5
|
+
By default, `minLength` is 12. Try typing any value in the `Default Example` input. Notice that the bar won't change from red until the minimum is met.
|
6
|
+
|
7
|
+
Adjust these props to tune the sensitivity of the bar.
|
8
|
+
|
9
|
+
Note: minimum length trumps strength and will set the bar to a red color, despite whatever strength is calculated.
|
10
|
+
|
11
|
+
<div class="pb_pill_kit_warning"><div class="pb_title_kit_size_4 pb_pill_text">Disclaimer</div></div>
|
12
|
+
|
13
|
+
This example depends on the `zxcvbn` library.
|
14
|
+
|
15
|
+
You can use any library to achieve the same result, this example only intends to show how to add more features to the `Passphrase` kit.
|
@@ -0,0 +1,123 @@
|
|
1
|
+
<%= pb_rails("passphrase", props: { label: "Passphrase", classname: "passphrase_change" }) %>
|
2
|
+
|
3
|
+
<%= pb_rails("progress_simple", props: { percent: 0, id: "bar_change" }) %>
|
4
|
+
|
5
|
+
<%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "caption_change" }) %>
|
6
|
+
|
7
|
+
<%= pb_rails("text_input", props: { label: "Passphrase Strength", value: "0", disabled: true, id: "calc_strength_change" }) %>
|
8
|
+
|
9
|
+
|
10
|
+
<%= javascript_tag do %>
|
11
|
+
window.addEventListener("DOMContentLoaded", () => {
|
12
|
+
|
13
|
+
// variables for the kits you are targeting
|
14
|
+
const passphrase = document.querySelector(".passphrase_change").querySelector("input")
|
15
|
+
const calcStrength = document.querySelector("#calc_strength_change")
|
16
|
+
const barVariant = document.getElementById("bar_change")
|
17
|
+
const barPercent = document.getElementById("bar_change").querySelector("div")
|
18
|
+
const caption = document.getElementById("caption_change")
|
19
|
+
|
20
|
+
// hide the bar and captions
|
21
|
+
barVariant.style.display = 'none';
|
22
|
+
barPercent.style.display = 'none';
|
23
|
+
caption.style.display = 'none';
|
24
|
+
|
25
|
+
|
26
|
+
const handleStrengthCalculation = (settings) => {
|
27
|
+
const {
|
28
|
+
passphrase = "",
|
29
|
+
common = false,
|
30
|
+
isPwned = false,
|
31
|
+
averageThreshold = 2,
|
32
|
+
minLength = 12,
|
33
|
+
strongThreshold = 3,
|
34
|
+
} = settings
|
35
|
+
|
36
|
+
const resultByScore = {
|
37
|
+
0: {
|
38
|
+
variant: 'negative',
|
39
|
+
label: '',
|
40
|
+
percent: 0,
|
41
|
+
},
|
42
|
+
1: {
|
43
|
+
variant: 'negative',
|
44
|
+
label: 'This passphrase is too common',
|
45
|
+
percent: 25,
|
46
|
+
},
|
47
|
+
2: {
|
48
|
+
variant: 'negative',
|
49
|
+
label: 'Too weak',
|
50
|
+
percent: 25,
|
51
|
+
},
|
52
|
+
3: {
|
53
|
+
variant: 'warning',
|
54
|
+
label: 'Almost there, keep going!',
|
55
|
+
percent: 50,
|
56
|
+
},
|
57
|
+
4: {
|
58
|
+
variant: 'positive',
|
59
|
+
label: 'Success! Strong passphrase',
|
60
|
+
percent: 100,
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
const { score } = zxcvbn(passphrase);
|
65
|
+
|
66
|
+
const noPassphrase = passphrase.length <= 0
|
67
|
+
const commonPassphrase = common || isPwned
|
68
|
+
const weakPassphrase = passphrase.length < minLength || score < averageThreshold
|
69
|
+
const averagePassphrase = score < strongThreshold
|
70
|
+
const strongPassphrase = score >= strongThreshold
|
71
|
+
|
72
|
+
if (noPassphrase) {
|
73
|
+
return {...resultByScore[0], score}
|
74
|
+
} else if (commonPassphrase) {
|
75
|
+
return {...resultByScore[1], score}
|
76
|
+
} else if (weakPassphrase) {
|
77
|
+
return {...resultByScore[2], score}
|
78
|
+
} else if (averagePassphrase){
|
79
|
+
return {...resultByScore[3], score}
|
80
|
+
} else if (strongPassphrase) {
|
81
|
+
return {...resultByScore[4], score}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
// event listeners attached to the input field
|
86
|
+
passphrase.addEventListener('input', (e) => {
|
87
|
+
const passphrase = e.target.value;
|
88
|
+
|
89
|
+
// pass in passphrase to the handleStrengthCalculation and set that equal to result variable
|
90
|
+
const result = handleStrengthCalculation({passphrase: passphrase})
|
91
|
+
|
92
|
+
// set the value of the text_input to the score
|
93
|
+
calcStrength.value = result.score
|
94
|
+
|
95
|
+
// conditional statment to show or hide progress_simple bar and caption if user has entered a password
|
96
|
+
if (passphrase) {
|
97
|
+
barVariant.style.display = 'block';
|
98
|
+
|
99
|
+
barPercent.style.display = 'block';
|
100
|
+
|
101
|
+
caption.style.display = 'block';
|
102
|
+
} else {
|
103
|
+
barVariant.style.display = 'none';
|
104
|
+
|
105
|
+
barPercent.style.display = 'none';
|
106
|
+
|
107
|
+
caption.style.display = 'none';
|
108
|
+
}
|
109
|
+
|
110
|
+
// set the width of the progress_simple kit
|
111
|
+
barPercent.style.width = result.percent.toString()+ "%"
|
112
|
+
|
113
|
+
|
114
|
+
// set the variant of the progress_simple kit
|
115
|
+
barVariant.setAttribute("class", "pb_progress_simple_kit_"+ result.variant +"_left");
|
116
|
+
|
117
|
+
|
118
|
+
// set the text of the caption kit
|
119
|
+
caption.textContent = result.label
|
120
|
+
});
|
121
|
+
|
122
|
+
})
|
123
|
+
<% end %>
|