playbook_ui 6.5.0 → 6.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/app/controllers/playbook/application_controller.rb +3 -1
- data/app/controllers/playbook/pages_controller.rb +21 -1
- data/app/helpers/playbook/application_helper.rb +19 -0
- data/app/helpers/playbook/pb_kit_helper.rb +18 -2
- data/app/pb_kits/playbook/config/_kit_example.html.erb +3 -3
- data/app/pb_kits/playbook/config/_kit_ui.html.erb +2 -1
- data/app/pb_kits/playbook/config/_pb_kit_api.html.erb +10 -12
- data/app/pb_kits/playbook/index.js +1 -0
- data/app/pb_kits/playbook/packs/examples.js +2 -0
- data/app/pb_kits/playbook/packs/site_styles/_site-style.scss +15 -4
- data/app/pb_kits/playbook/packs/site_styles/docs/_kit_doc.scss +31 -72
- data/app/pb_kits/playbook/packs/site_styles/docs/_kits_examples.scss +0 -3
- data/app/pb_kits/playbook/packs/site_styles/docs/_markdown.scss +8 -2
- data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +8 -3
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +6 -1
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram.jsx +6 -1
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_status.jsx +5 -1
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +3 -1
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +2 -1
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +5 -1
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml +1 -9
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/index.js +0 -4
- data/app/pb_kits/playbook/pb_badge/docs/_badge_colors.jsx +19 -1
- data/app/pb_kits/playbook/pb_badge/docs/_badge_default.jsx +4 -1
- data/app/pb_kits/playbook/pb_badge/docs/_badge_rounded.jsx +4 -1
- data/app/pb_kits/playbook/pb_badge/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_badge/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_body/docs/_body_block.jsx +2 -2
- data/app/pb_kits/playbook/pb_body/docs/_body_light.jsx +6 -1
- data/app/pb_kits/playbook/pb_body/docs/example.yml +2 -4
- data/app/pb_kits/playbook/pb_body/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_accessibility.jsx +2 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx +2 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_default.jsx +6 -2
- data/app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx +2 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_link.jsx +4 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_loading.jsx +4 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_options.jsx +2 -1
- data/app/pb_kits/playbook/pb_button/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_button/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_caption/docs/_caption_light.jsx +7 -2
- data/app/pb_kits/playbook/pb_caption/docs/example.yml +2 -6
- data/app/pb_kits/playbook/pb_caption/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_card/_card.scss +0 -3
- data/app/pb_kits/playbook/pb_card/docs/_card_border_none.jsx +7 -4
- data/app/pb_kits/playbook/pb_card/docs/_card_content.jsx +3 -3
- data/app/pb_kits/playbook/pb_card/docs/_card_header.jsx +39 -13
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx +13 -4
- data/app/pb_kits/playbook/pb_card/docs/_card_light.jsx +2 -2
- data/app/pb_kits/playbook/pb_card/docs/_card_padding.jsx +37 -7
- data/app/pb_kits/playbook/pb_card/docs/_card_selected.jsx +8 -3
- data/app/pb_kits/playbook/pb_card/docs/_card_separator.jsx +13 -4
- data/app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx +25 -5
- data/app/pb_kits/playbook/pb_card/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_card/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.jsx +2 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx +5 -2
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx +2 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.jsx +2 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_checkbox/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx +2 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.jsx +5 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.jsx +3 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_contact/docs/_contact_default.jsx +6 -1
- data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.jsx +5 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_large.jsx +4 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_medium.jsx +4 -1
- data/app/pb_kits/playbook/pb_currency/docs/_currency_small.jsx +4 -1
- data/app/pb_kits/playbook/pb_currency/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_currency/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_align.jsx +4 -1
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_default.jsx +4 -1
- data/app/pb_kits/playbook/pb_date/date.rb +2 -1
- data/app/pb_kits/playbook/pb_date/docs/_date_default.html.erb +8 -1
- 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/_description.md +2 -0
- data/app/pb_kits/playbook/pb_date/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +6 -3
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +0 -4
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +3 -3
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +4 -10
- data/app/pb_kits/playbook/pb_date_picker/docs/{_date_picker_read_only.html.erb → _date_picker_allow_input.html.erb} +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.jsx +13 -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/example.yml +2 -2
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_calendar_input_icon.scss +1 -0
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_default.jsx +5 -1
- data/app/pb_kits/playbook/pb_hashtag/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_hashtag/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx +3 -1
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.jsx +2 -1
- data/app/pb_kits/playbook/pb_home_address_street/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_home_address_street/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_label_value/docs/example.yml +1 -7
- data/app/pb_kits/playbook/pb_label_value/docs/index.js +0 -4
- data/app/pb_kits/playbook/pb_legend/docs/example.yml +1 -5
- data/app/pb_kits/playbook/pb_legend/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_list/docs/example.yml +1 -11
- data/app/pb_kits/playbook/pb_list/docs/index.js +0 -6
- data/app/pb_kits/playbook/pb_loading_inline/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_loading_inline/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_multiple_users/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_multiple_users/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_nav/_horizontal_nav.scss +24 -0
- data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +28 -0
- data/app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx +13 -4
- data/app/pb_kits/playbook/pb_online_status/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_online_status/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_pill/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_pill/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_progress_pills/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_progress_pills/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_progress_step/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_progress_step/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_radio/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_radio/docs/index.js +0 -3
- data/app/pb_kits/playbook/pb_section_separator/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_section_separator/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_select/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_select/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_selectable_card/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_selectable_card/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_selectable_icon/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_selectable_icon/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_table/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_table/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +17 -8
- data/app/pb_kits/playbook/pb_text_input/docs/example.yml +0 -5
- data/app/pb_kits/playbook/pb_text_input/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_textarea/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_textarea/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_time/_time.html.erb +23 -17
- data/app/pb_kits/playbook/pb_time/_time.jsx +20 -11
- data/app/pb_kits/playbook/pb_time/_time.scss +16 -8
- 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 +3 -3
- data/app/pb_kits/playbook/pb_time/docs/_time_default.html.erb +47 -3
- data/app/pb_kits/playbook/pb_time/docs/_time_default.jsx +33 -4
- 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 +19 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.html.erb +3 -1
- data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.jsx +0 -7
- data/app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb +37 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx +12 -14
- data/app/pb_kits/playbook/pb_time/docs/example.yml +6 -3
- data/app/pb_kits/playbook/pb_time/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_time/time.rb +14 -2
- data/app/pb_kits/playbook/pb_time_range_inline/docs/example.yml +0 -3
- data/app/pb_kits/playbook/pb_time_range_inline/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_time_stacked/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_time_stacked/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_title/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_title/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_title_count/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_title_count/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +60 -0
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +20 -3
- data/app/pb_kits/playbook/pb_typeahead/components/Control.jsx +30 -0
- data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.jsx +13 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MenuList.jsx +12 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +51 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Option.jsx +34 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.jsx +13 -0
- data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.jsx +13 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx +22 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +29 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx +84 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx +45 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +101 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_summary.jsx +27 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +8 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_user/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_user/docs/index.js +0 -3
- data/app/pb_kits/playbook/pb_user_badge/docs/example.yml +0 -5
- data/app/pb_kits/playbook/pb_user_badge/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/example.yml +0 -3
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/index.js +0 -1
- data/app/pb_kits/playbook/tokens/_colors.scss +1 -1
- data/app/pb_kits/playbook/tokens/_typography.scss +3 -3
- data/app/views/layouts/playbook/_nav.html.erb +31 -7
- data/app/views/layouts/playbook/_sidebar.html.erb +6 -7
- data/app/views/layouts/playbook/application.html.erb +26 -0
- data/app/views/playbook/pages/kit_show.html.erb +4 -4
- data/lib/playbook/version.rb +1 -2
- metadata +28 -123
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions_dark.html.erb +0 -17
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions_dark.jsx +0 -21
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_dark.html.erb +0 -9
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_dark.jsx +0 -14
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click_dark.html.erb +0 -15
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click_dark.jsx +0 -16
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement_dark.html.erb +0 -31
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement_dark.jsx +0 -33
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip_dark.html.erb +0 -12
- data/app/pb_kits/playbook/pb_badge/docs/_badge_dark.html.erb +0 -124
- data/app/pb_kits/playbook/pb_badge/docs/_badge_dark.jsx +0 -160
- data/app/pb_kits/playbook/pb_body/docs/_body_dark.html.erb +0 -28
- data/app/pb_kits/playbook/pb_body/docs/_body_dark.jsx +0 -35
- data/app/pb_kits/playbook/pb_button/docs/_button_default_dark.html.erb +0 -22
- data/app/pb_kits/playbook/pb_button/docs/_button_default_dark.jsx +0 -31
- data/app/pb_kits/playbook/pb_caption/docs/_caption_dark.html.erb +0 -3
- data/app/pb_kits/playbook/pb_caption/docs/_caption_dark.jsx +0 -25
- data/app/pb_kits/playbook/pb_card/docs/_card_dark.html.erb +0 -3
- data/app/pb_kits/playbook/pb_card/docs/_card_dark.jsx +0 -12
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_dark.html.erb +0 -4
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_dark.jsx +0 -17
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_dark_error.html.erb +0 -7
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_dark_error.jsx +0 -18
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_dark.html.erb +0 -29
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_dark.jsx +0 -38
- data/app/pb_kits/playbook/pb_currency/docs/_currency_dark.html.erb +0 -23
- data/app/pb_kits/playbook/pb_currency/docs/_currency_dark.jsx +0 -32
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_read_only.jsx +0 -13
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_read_only.md +0 -1
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_dark.html.erb +0 -13
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_dark.jsx +0 -41
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_dark.html.erb +0 -12
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_dark.jsx +0 -20
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_dark.html.erb +0 -24
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_dark.jsx +0 -35
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_dark.html.erb +0 -43
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_dark.jsx +0 -54
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_dark.html.erb +0 -80
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_dark.jsx +0 -101
- data/app/pb_kits/playbook/pb_legend/docs/_legend_dark.html.erb +0 -5
- data/app/pb_kits/playbook/pb_legend/docs/_legend_dark.jsx +0 -21
- data/app/pb_kits/playbook/pb_legend/docs/_legend_dark_prefix.html.erb +0 -1
- data/app/pb_kits/playbook/pb_legend/docs/_legend_dark_prefix.jsx +0 -15
- data/app/pb_kits/playbook/pb_list/docs/_list_dark.html.erb +0 -7
- data/app/pb_kits/playbook/pb_list/docs/_list_dark.jsx +0 -19
- data/app/pb_kits/playbook/pb_list/docs/_list_dark_borderless.html.erb +0 -7
- data/app/pb_kits/playbook/pb_list/docs/_list_dark_borderless.jsx +0 -22
- data/app/pb_kits/playbook/pb_list/docs/_list_dark_lg.html.erb +0 -7
- data/app/pb_kits/playbook/pb_list/docs/_list_dark_lg.jsx +0 -22
- data/app/pb_kits/playbook/pb_list/docs/_list_dark_ordered.html.erb +0 -7
- data/app/pb_kits/playbook/pb_list/docs/_list_dark_ordered.jsx +0 -22
- data/app/pb_kits/playbook/pb_list/docs/_list_dark_xpadding.html.erb +0 -7
- data/app/pb_kits/playbook/pb_list/docs/_list_dark_xpadding.jsx +0 -22
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_dark.html.erb +0 -13
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_dark.jsx +0 -20
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_dark.html.erb +0 -41
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_dark.jsx +0 -52
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_dark.html.erb +0 -53
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_dark.jsx +0 -62
- data/app/pb_kits/playbook/pb_online_status/docs/_online_status_dark.html.erb +0 -9
- data/app/pb_kits/playbook/pb_online_status/docs/_online_status_dark.jsx +0 -28
- data/app/pb_kits/playbook/pb_pill/docs/_pill_dark.html.erb +0 -52
- data/app/pb_kits/playbook/pb_pill/docs/_pill_dark.jsx +0 -69
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_dark.html.erb +0 -1
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_dark.jsx +0 -20
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status_dark.html.erb +0 -1
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status_dark.jsx +0 -19
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_dark.html.erb +0 -34
- data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_dark.jsx +0 -18
- data/app/pb_kits/playbook/pb_radio/docs/_radio_dark.html.erb +0 -25
- data/app/pb_kits/playbook/pb_radio/docs/_radio_dark.jsx +0 -33
- data/app/pb_kits/playbook/pb_radio/docs/_radio_dark_error.html.erb +0 -7
- data/app/pb_kits/playbook/pb_radio/docs/_radio_dark_error.jsx +0 -17
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dark.html.erb +0 -1
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dark.jsx +0 -14
- data/app/pb_kits/playbook/pb_select/docs/_select_dark.html.erb +0 -24
- data/app/pb_kits/playbook/pb_select/docs/_select_dark.jsx +0 -33
- data/app/pb_kits/playbook/pb_select/docs/_select_dark_error.html.erb +0 -25
- data/app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx +0 -39
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_dark.html.erb +0 -45
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_dark.jsx +0 -72
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_dark.html.erb +0 -30
- data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_dark.jsx +0 -40
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_dark.html.erb +0 -26
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_dark.jsx +0 -43
- data/app/pb_kits/playbook/pb_table/docs/_table_container_dark.html.erb +0 -34
- data/app/pb_kits/playbook/pb_table/docs/_table_container_dark.jsx +0 -47
- data/app/pb_kits/playbook/pb_table/docs/_table_dark.html.erb +0 -34
- data/app/pb_kits/playbook/pb_table/docs/_table_dark.jsx +0 -46
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_dark.html.erb +0 -5
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_dark.jsx +0 -78
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_dark_error.html.erb +0 -14
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_dark_error.jsx +0 -18
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark.html.erb +0 -9
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark.jsx +0 -34
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark_error.html.erb +0 -6
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark_error.jsx +0 -19
- data/app/pb_kits/playbook/pb_time/docs/_time_dark.jsx +0 -26
- data/app/pb_kits/playbook/pb_time_range_inline/docs/_time_range_inline_dark.html.erb +0 -72
- data/app/pb_kits/playbook/pb_time_range_inline/docs/_time_range_inline_dark.jsx +0 -81
- data/app/pb_kits/playbook/pb_time_stacked/docs/_time_stacked_dark.html.erb +0 -1
- data/app/pb_kits/playbook/pb_time_stacked/docs/_time_stacked_dark.jsx +0 -15
- data/app/pb_kits/playbook/pb_title/docs/_title_dark.html.erb +0 -8
- data/app/pb_kits/playbook/pb_title/docs/_title_dark.jsx +0 -35
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align_dark.html.erb +0 -23
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align_dark.jsx +0 -34
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_dark.html.erb +0 -23
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_dark.jsx +0 -34
- data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_dark.html.erb +0 -19
- data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_dark.jsx +0 -29
- data/app/pb_kits/playbook/pb_user/docs/_user_dark.html.erb +0 -42
- data/app/pb_kits/playbook/pb_user/docs/_user_dark.jsx +0 -55
- data/app/pb_kits/playbook/pb_user/docs/_user_text_only_dark.html.erb +0 -19
- data/app/pb_kits/playbook/pb_user/docs/_user_text_only_dark.jsx +0 -26
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_dark.html.erb +0 -13
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_dark.jsx +0 -27
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_dark.html.erb +0 -1
- data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_dark.jsx +0 -14
- data/app/views/layouts/playbook/application.html.slim +0 -22
@@ -1,22 +1,31 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { Card } from '../../'
|
3
3
|
|
4
|
-
const CardHighlight = () => {
|
4
|
+
const CardHighlight = (props) => {
|
5
5
|
return (
|
6
6
|
<div>
|
7
|
-
<Card
|
7
|
+
<Card
|
8
|
+
{...props}
|
9
|
+
highlight={{ position: 'side', color: 'windows' }}
|
10
|
+
>
|
8
11
|
{'Card content'}
|
9
12
|
</Card>
|
10
13
|
|
11
14
|
<br />
|
12
15
|
|
13
|
-
<Card
|
16
|
+
<Card
|
17
|
+
{...props}
|
18
|
+
highlight={{ position: 'top', color: 'warning' }}
|
19
|
+
>
|
14
20
|
{'Card content'}
|
15
21
|
</Card>
|
16
22
|
|
17
23
|
<br />
|
18
24
|
|
19
|
-
<Card
|
25
|
+
<Card
|
26
|
+
{...props}
|
27
|
+
highlight={{ position: 'side', color: 'category_2' }}
|
28
|
+
>
|
20
29
|
{'Card content'}
|
21
30
|
</Card>
|
22
31
|
</div>
|
@@ -1,20 +1,50 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { Card } from '../../'
|
3
3
|
|
4
|
-
const CardPadding = () => {
|
4
|
+
const CardPadding = (props) => {
|
5
5
|
return (
|
6
6
|
<div>
|
7
|
-
<Card
|
7
|
+
<Card
|
8
|
+
{...props}
|
9
|
+
padding="none"
|
10
|
+
>
|
11
|
+
{'Card content'}
|
12
|
+
</Card>
|
8
13
|
<br />
|
9
|
-
<Card
|
14
|
+
<Card
|
15
|
+
{...props}
|
16
|
+
padding="xs"
|
17
|
+
>
|
18
|
+
{'Card content'}
|
19
|
+
</Card>
|
10
20
|
<br />
|
11
|
-
<Card
|
21
|
+
<Card
|
22
|
+
{...props}
|
23
|
+
padding="sm"
|
24
|
+
>
|
25
|
+
{'Card content'}
|
26
|
+
</Card>
|
12
27
|
<br />
|
13
|
-
<Card
|
28
|
+
<Card
|
29
|
+
{...props}
|
30
|
+
padding="md"
|
31
|
+
>
|
32
|
+
{'Card content'}
|
33
|
+
</Card>
|
14
34
|
<br />
|
15
|
-
<Card
|
35
|
+
<Card
|
36
|
+
{...props}
|
37
|
+
padding="lg"
|
38
|
+
>
|
39
|
+
{'Card content'}
|
40
|
+
</Card>
|
16
41
|
<br />
|
17
|
-
<Card
|
42
|
+
<Card
|
43
|
+
{...props}
|
44
|
+
padding="xl"
|
45
|
+
>
|
46
|
+
{'Card content'}
|
47
|
+
</Card>
|
18
48
|
<br />
|
19
49
|
</div>
|
20
50
|
)
|
@@ -1,12 +1,17 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import Card from '../_card.jsx'
|
3
3
|
|
4
|
-
const CardSelected = () => {
|
4
|
+
const CardSelected = (props) => {
|
5
5
|
return (
|
6
6
|
<div>
|
7
|
-
<Card>{'Card content'}</Card>
|
7
|
+
<Card {...props}>{'Card content'}</Card>
|
8
8
|
<br />
|
9
|
-
<Card
|
9
|
+
<Card
|
10
|
+
{...props}
|
11
|
+
selected
|
12
|
+
>
|
13
|
+
{'Card content'}
|
14
|
+
</Card>
|
10
15
|
</div>
|
11
16
|
)
|
12
17
|
}
|
@@ -2,19 +2,28 @@ import React from 'react'
|
|
2
2
|
import { Card } from '../../'
|
3
3
|
import { SectionSeparator } from '../../'
|
4
4
|
|
5
|
-
const CardSeparator = () => {
|
5
|
+
const CardSeparator = (props) => {
|
6
6
|
return (
|
7
|
-
<Card
|
7
|
+
<Card
|
8
|
+
{...props}
|
9
|
+
padding="none"
|
10
|
+
>
|
8
11
|
<Card.Body>
|
9
12
|
{'Header'}
|
10
13
|
</Card.Body>
|
11
|
-
<SectionSeparator
|
14
|
+
<SectionSeparator
|
15
|
+
{...props}
|
16
|
+
variant="card"
|
17
|
+
/>
|
12
18
|
<Card.Body>
|
13
19
|
{
|
14
20
|
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec iaculis, risus a fringilla luctus, sapien eros sodales ex, quis molestie est nulla non turpis. Vestibulum aliquet at ipsum eget posuere. Morbi sed laoreet erat. Sed commodo posuere lectus, at porta nulla ornare a. Suspendisse quam est, sollicitudin ut enim sit amet, commodo placerat enim. Donec laoreet metus ac mauris pellentesque mattis. Pellentesque luctus vel mauris non aliquam. Mauris hendrerit mattis porttitor. Curabitur vehicula justo non ex consectetur commodo. Quisque posuere aliquet quam. Maecenas malesuada magna mauris, ac tempor metus euismod at. Cras ornare fermentum magna mollis efficitur. Sed vitae nulla vel purus ultrices mollis. Maecenas id nulla id libero faucibus feugiat quis sit amet turpis. In commodo pellentesque risus at fringilla. Integer non interdum leo, non commodo ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut mi augue, dignissim at orci vel, egestas aliquam mi. Proin finibus aliquet tempor. Integer cursus, ex quis gravida rhoncus, nisi elit viverra ipsum, non efficitur est ex ac tortor. Praesent vitae odio massa.'
|
15
21
|
}
|
16
22
|
</Card.Body>
|
17
|
-
<SectionSeparator
|
23
|
+
<SectionSeparator
|
24
|
+
{...props}
|
25
|
+
variant="card"
|
26
|
+
/>
|
18
27
|
<Card.Body>
|
19
28
|
{'Footer'}
|
20
29
|
</Card.Body>
|
@@ -1,16 +1,36 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { Card } from '../../'
|
3
3
|
|
4
|
-
const CardShadow = () => {
|
4
|
+
const CardShadow = (props) => {
|
5
5
|
return (
|
6
6
|
<div>
|
7
|
-
<Card
|
7
|
+
<Card
|
8
|
+
{...props}
|
9
|
+
shadow="none"
|
10
|
+
>
|
11
|
+
{'Card content'}
|
12
|
+
</Card>
|
8
13
|
<br />
|
9
|
-
<Card
|
14
|
+
<Card
|
15
|
+
{...props}
|
16
|
+
shadow="deep"
|
17
|
+
>
|
18
|
+
{'Card content'}
|
19
|
+
</Card>
|
10
20
|
<br />
|
11
|
-
<Card
|
21
|
+
<Card
|
22
|
+
{...props}
|
23
|
+
shadow="deeper"
|
24
|
+
>
|
25
|
+
{'Card content'}
|
26
|
+
</Card>
|
12
27
|
<br />
|
13
|
-
<Card
|
28
|
+
<Card
|
29
|
+
{...props}
|
30
|
+
shadow="deepest"
|
31
|
+
>
|
32
|
+
{'Card content'}
|
33
|
+
</Card>
|
14
34
|
<br />
|
15
35
|
</div>
|
16
36
|
)
|
@@ -1,7 +1,6 @@
|
|
1
1
|
examples:
|
2
2
|
rails:
|
3
3
|
- card_light: Default
|
4
|
-
- card_dark: Dark Cards
|
5
4
|
- card_highlight: Highlight Cards
|
6
5
|
- card_header: Header Cards
|
7
6
|
- card_selected: Selected
|
@@ -12,7 +11,6 @@ examples:
|
|
12
11
|
- card_border_none: No Border
|
13
12
|
react:
|
14
13
|
- card_light: Default
|
15
|
-
- card_dark: Dark Cards
|
16
14
|
- card_highlight: Highlight Cards
|
17
15
|
- card_header: Header Cards
|
18
16
|
- card_selected: Selected
|
@@ -6,5 +6,4 @@ export { default as CardPadding } from './_card_padding.jsx'
|
|
6
6
|
export { default as CardShadow } from './_card_shadow.jsx'
|
7
7
|
export { default as CardContent } from './_card_content.jsx'
|
8
8
|
export { default as CardSeparator } from './_card_separator.jsx'
|
9
|
-
export { default as CardDark } from './_card_dark.jsx'
|
10
9
|
export { default as CardBorderNone } from './_card_border_none.jsx'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React, { useState } from 'react'
|
2
2
|
import { Checkbox } from '../../'
|
3
3
|
|
4
|
-
const CheckboxCustom = () => {
|
4
|
+
const CheckboxCustom = (props) => {
|
5
5
|
const [checked, setChecked] = useState(false)
|
6
6
|
|
7
7
|
const handleOnChange = () => {
|
@@ -14,7 +14,10 @@ const CheckboxCustom = () => {
|
|
14
14
|
<br />
|
15
15
|
<br />
|
16
16
|
<div>
|
17
|
-
<Checkbox
|
17
|
+
<Checkbox
|
18
|
+
{...props}
|
19
|
+
text="Toggle Me"
|
20
|
+
>
|
18
21
|
<input
|
19
22
|
checked={checked}
|
20
23
|
name="custom-name"
|
@@ -2,15 +2,11 @@ examples:
|
|
2
2
|
rails:
|
3
3
|
- checkbox_default: Default
|
4
4
|
- checkbox_checked: Load as checked
|
5
|
-
- checkbox_dark: Dark
|
6
5
|
- checkbox_custom: Custom Checkbox
|
7
6
|
- checkbox_error: Default w/ Error
|
8
|
-
- checkbox_dark_error: Dark w/ Error
|
9
7
|
|
10
8
|
react:
|
11
9
|
- checkbox_default: Default
|
12
10
|
- checkbox_checked: Load as checked
|
13
|
-
- checkbox_dark: Dark
|
14
11
|
- checkbox_custom: Custom Checkbox
|
15
12
|
- checkbox_error: Default w/ Error
|
16
|
-
- checkbox_dark_error: Dark w/ Error
|
@@ -1,6 +1,4 @@
|
|
1
1
|
export { default as CheckboxDefault } from './_checkbox_default.jsx'
|
2
|
-
export { default as CheckboxDark } from './_checkbox_dark.jsx'
|
3
2
|
export { default as CheckboxCustom } from './_checkbox_custom.jsx'
|
4
3
|
export { default as CheckboxError } from './_checkbox_error.jsx'
|
5
|
-
export { default as CheckboxDarkError } from './_checkbox_dark_error.jsx'
|
6
4
|
export { default as CheckboxChecked } from './_checkbox_checked.jsx'
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { CircleIconButton } from '../..'
|
3
3
|
|
4
|
-
const CircleIconButtonClick = () => (
|
4
|
+
const CircleIconButtonClick = (props) => (
|
5
5
|
<div>
|
6
6
|
<CircleIconButton
|
7
|
+
{...props}
|
7
8
|
icon="plus"
|
8
9
|
onClick={() => alert('Click!')}
|
9
10
|
variant="primary"
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { CircleIconButton } from '../../'
|
3
3
|
|
4
|
-
const CircleIconButtonDefault = () => (
|
4
|
+
const CircleIconButtonDefault = (props) => (
|
5
5
|
<div>
|
6
6
|
<CircleIconButton
|
7
|
+
{...props}
|
7
8
|
icon="plus"
|
8
9
|
variant="primary"
|
9
10
|
/>
|
@@ -11,6 +12,7 @@ const CircleIconButtonDefault = () => (
|
|
11
12
|
<br />
|
12
13
|
|
13
14
|
<CircleIconButton
|
15
|
+
{...props}
|
14
16
|
icon="pen"
|
15
17
|
variant="secondary"
|
16
18
|
/>
|
@@ -18,6 +20,7 @@ const CircleIconButtonDefault = () => (
|
|
18
20
|
<br />
|
19
21
|
|
20
22
|
<CircleIconButton
|
23
|
+
{...props}
|
21
24
|
disabled
|
22
25
|
icon="times"
|
23
26
|
/>
|
@@ -25,6 +28,7 @@ const CircleIconButtonDefault = () => (
|
|
25
28
|
<br />
|
26
29
|
|
27
30
|
<CircleIconButton
|
31
|
+
{...props}
|
28
32
|
icon="user"
|
29
33
|
variant="link"
|
30
34
|
/>
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { CircleIconButton } from '../../'
|
3
3
|
|
4
|
-
const CircleIconButtonLink = () => (
|
4
|
+
const CircleIconButtonLink = (props) => (
|
5
5
|
<div>
|
6
6
|
<CircleIconButton
|
7
|
+
{...props}
|
7
8
|
icon="search"
|
8
9
|
link="https://google.com"
|
9
10
|
variant="primary"
|
@@ -13,6 +14,7 @@ const CircleIconButtonLink = () => (
|
|
13
14
|
<br />
|
14
15
|
|
15
16
|
<CircleIconButton
|
17
|
+
{...props}
|
16
18
|
icon="window"
|
17
19
|
link="https://google.com"
|
18
20
|
newWindow
|
@@ -2,11 +2,9 @@ examples:
|
|
2
2
|
|
3
3
|
rails:
|
4
4
|
- circle_icon_button_default: Default
|
5
|
-
- circle_icon_button_dark: Dark
|
6
5
|
- circle_icon_button_link: Link
|
7
6
|
|
8
7
|
react:
|
9
8
|
- circle_icon_button_default: Default
|
10
9
|
- circle_icon_button_click: Click Handler
|
11
|
-
- circle_icon_button_dark: Dark
|
12
10
|
- circle_icon_button_link: Link
|
@@ -1,4 +1,3 @@
|
|
1
1
|
export { default as CircleIconButtonDefault } from './_circle_icon_button_default.jsx'
|
2
2
|
export { default as CircleIconButtonClick } from './_circle_icon_button_click.jsx'
|
3
|
-
export { default as CircleIconButtonDark } from './_circle_icon_button_dark.jsx'
|
4
3
|
export { default as CircleIconButtonLink } from './_circle_icon_button_link.jsx'
|
@@ -1,26 +1,31 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { Contact } from '../../'
|
3
3
|
|
4
|
-
const ContactDefault = () => {
|
4
|
+
const ContactDefault = (props) => {
|
5
5
|
return (
|
6
6
|
<div>
|
7
7
|
<Contact
|
8
|
+
{...props}
|
8
9
|
contactType="cell"
|
9
10
|
contactValue="349-185-9988"
|
10
11
|
/>
|
11
12
|
<Contact
|
13
|
+
{...props}
|
12
14
|
contactValue="5555555555"
|
13
15
|
/>
|
14
16
|
<Contact
|
17
|
+
{...props}
|
15
18
|
contactType="email"
|
16
19
|
contactValue="email@example.com"
|
17
20
|
/>
|
18
21
|
<Contact
|
22
|
+
{...props}
|
19
23
|
contactType="work"
|
20
24
|
contactValue="3245627482"
|
21
25
|
|
22
26
|
/>
|
23
27
|
<Contact
|
28
|
+
{...props}
|
24
29
|
contactType="work-cell"
|
25
30
|
contactValue="3245627482"
|
26
31
|
/>
|
@@ -1,24 +1,28 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { Contact } from '../../'
|
3
3
|
|
4
|
-
const ContactDefault = () => {
|
4
|
+
const ContactDefault = (props) => {
|
5
5
|
return (
|
6
6
|
<div>
|
7
7
|
<Contact
|
8
|
+
{...props}
|
8
9
|
contactDetail="Cell"
|
9
10
|
contactType="cell"
|
10
11
|
contactValue="349-185-9988"
|
11
12
|
/>
|
12
13
|
<Contact
|
14
|
+
{...props}
|
13
15
|
contactDetail="Home"
|
14
16
|
contactValue="5555555555"
|
15
17
|
/>
|
16
18
|
<Contact
|
19
|
+
{...props}
|
17
20
|
contactDetail="Work"
|
18
21
|
contactType="work"
|
19
22
|
contactValue="3245627482"
|
20
23
|
/>
|
21
24
|
<Contact
|
25
|
+
{...props}
|
22
26
|
contactDetail="Work-Cell"
|
23
27
|
contactType="work-cell"
|
24
28
|
contactValue="3245627482"
|