playbook_ui 14.24.0 → 14.25.0.pre.alpha.PLAY2361datepickerarrownav10273
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/_playbook.scss +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/Components/RegularTableView.tsx +8 -2
- data/app/pb_kits/playbook/pb_advanced_table/Components/TableHeaderCell.tsx +1 -2
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +40 -6
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +57 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.html.erb +43 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_vertical_border.jsx +64 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control.jsx +60 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control.md +3 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control_per_row.jsx +57 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control_per_row.md +1 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +4 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +4 -1
- data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.rb +1 -1
- data/app/pb_kits/playbook/pb_avatar/_avatar.scss +60 -65
- data/app/pb_kits/playbook/pb_avatar/avatar.test.js +1 -1
- data/app/pb_kits/playbook/pb_background/_background.scss +3 -3
- data/app/pb_kits/playbook/pb_badge/_badge.scss +135 -29
- data/app/pb_kits/playbook/pb_body/_body.scss +108 -35
- data/app/pb_kits/playbook/pb_body/_body_mixins.scss +1 -1
- data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.scss +17 -30
- data/app/pb_kits/playbook/pb_button/_button.scss +39 -31
- data/app/pb_kits/playbook/pb_button/_button.tsx +12 -12
- data/app/pb_kits/playbook/pb_button/_button_mixins.scss +1 -1
- data/app/pb_kits/playbook/pb_button/button.rb +11 -18
- data/app/pb_kits/playbook/pb_button/button.test.js +3 -3
- data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.scss +82 -73
- data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss +32 -33
- data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_mixins.scss +1 -1
- data/app/pb_kits/playbook/pb_button_toolbar/button_toolbar.test.js +2 -2
- data/app/pb_kits/playbook/pb_caption/_caption.scss +100 -17
- data/app/pb_kits/playbook/pb_caption/_caption_mixin.scss +1 -8
- data/app/pb_kits/playbook/pb_card/_card.scss +116 -79
- data/app/pb_kits/playbook/pb_card/_card.tsx +26 -11
- data/app/pb_kits/playbook/pb_card/_card_mixin.scss +1 -1
- data/app/pb_kits/playbook/pb_card/card.rb +8 -7
- data/app/pb_kits/playbook/pb_card/card_header.rb +6 -2
- data/app/pb_kits/playbook/pb_card/docs/_card_header.html.erb +1 -1
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +11 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.scss +7 -7
- data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.html.erb +10 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb +2 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js +1 -1
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_input_options.html.erb +24 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_input_options.md +3 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap +1 -1
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.scss +4 -4
- data/app/pb_kits/playbook/pb_copy_button/copy_button.test.jsx +1 -1
- data/app/pb_kits/playbook/pb_currency/_currency.scss +124 -39
- data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.scss +16 -6
- data/app/pb_kits/playbook/pb_date/_date.scss +16 -18
- data/app/pb_kits/playbook/pb_date/_date.tsx +5 -3
- data/app/pb_kits/playbook/pb_date/date.html.erb +6 -6
- data/app/pb_kits/playbook/pb_date/date.rb +2 -0
- data/app/pb_kits/playbook/pb_date/date.test.js +506 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_with_show_current_year.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_with_show_current_year.jsx +17 -0
- data/app/pb_kits/playbook/pb_date/docs/_date_with_show_current_year.md +1 -0
- data/app/pb_kits/playbook/pb_date/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_date/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +1 -1
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +19 -0
- data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +1 -0
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +15 -3
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_inline_styles.scss +12 -12
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_input_styles.scss +2 -2
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_time_selection_styles.scss +6 -5
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.scss +29 -23
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.tsx +1 -1
- data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.scss +1 -1
- data/app/pb_kits/playbook/pb_date_range_stacked/date_range_stacked.test.js +2 -2
- data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.scss +66 -26
- data/app/pb_kits/playbook/pb_date_stacked/date_stacked.rb +1 -1
- data/app/pb_kits/playbook/pb_date_stacked/date_stacked.test.js +2 -2
- data/app/pb_kits/playbook/pb_date_time/_date_time.scss +8 -15
- data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.scss +6 -7
- data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.scss +17 -14
- data/app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.test.js +1 -1
- data/app/pb_kits/playbook/pb_detail/_detail.scss +86 -21
- data/app/pb_kits/playbook/pb_dialog/_dialog.scss +330 -123
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_loading.html.erb +16 -2
- data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.scss +10 -7
- data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +1 -1
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +1 -1
- data/app/pb_kits/playbook/pb_dropdown/dropdown.test.jsx +6 -6
- data/app/pb_kits/playbook/pb_dropdown/index.js +6 -3
- data/app/pb_kits/playbook/pb_empty_state/_empty_state.scss +4 -4
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.scss +20 -9
- data/app/pb_kits/playbook/pb_file_upload/file_upload.html.erb +1 -1
- data/app/pb_kits/playbook/pb_filter/_filter.scss +8 -8
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss +65 -29
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.tsx +3 -4
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_no_icon.html.erb +22 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_no_icon.jsx +43 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_no_icon.md +1 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_props_swift.md +3 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.html.erb +2 -1
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.rb +1 -1
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.test.js +7 -1
- data/app/pb_kits/playbook/pb_flex/_flex.scss +106 -100
- data/app/pb_kits/playbook/pb_flex/_flex.tsx +38 -28
- data/app/pb_kits/playbook/pb_flex/_flex_item.scss +146 -51
- data/app/pb_kits/playbook/pb_flex/_flex_item.tsx +19 -8
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.html.erb +12 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.jsx +26 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap_rails.md +11 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap_react.md +11 -0
- data/app/pb_kits/playbook/pb_flex/flex.rb +22 -28
- data/app/pb_kits/playbook/pb_flex/flex_item.rb +6 -6
- data/app/pb_kits/playbook/pb_form_group/_form_group.scss +1 -1
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +381 -344
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.test.jsx +4 -4
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +8 -7
- data/app/pb_kits/playbook/pb_form_pill/form_pill.rb +9 -2
- data/app/pb_kits/playbook/pb_gauge/_gauge.scss +5 -5
- data/app/pb_kits/playbook/pb_hashtag/_hashtag.scss +1 -1
- data/app/pb_kits/playbook/pb_highlight/_highlight.scss +1 -1
- data/app/pb_kits/playbook/pb_home_address_street/home_adress_street.test.js +2 -2
- data/app/pb_kits/playbook/pb_icon/_icon.scss +4 -0
- data/app/pb_kits/playbook/pb_icon_button/_icon_button.scss +4 -4
- data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss +40 -39
- data/app/pb_kits/playbook/pb_icon_circle/icon_circle.rb +1 -1
- data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.test.js +1 -1
- data/app/pb_kits/playbook/pb_icon_value/_icon_value.scss +16 -15
- data/app/pb_kits/playbook/pb_image/_image.scss +41 -36
- data/app/pb_kits/playbook/pb_label_pill/_label_pill.scss +1 -1
- data/app/pb_kits/playbook/pb_label_value/_label_value.scss +3 -2
- data/app/pb_kits/playbook/pb_label_value/label_value.test.js +2 -2
- data/app/pb_kits/playbook/pb_layout/_layout.scss +336 -305
- data/app/pb_kits/playbook/pb_layout/_layout.tsx +14 -11
- data/app/pb_kits/playbook/pb_layout/item.rb +1 -7
- data/app/pb_kits/playbook/pb_layout/layout.rb +16 -25
- data/app/pb_kits/playbook/pb_layout/layout.test.js +3 -3
- data/app/pb_kits/playbook/pb_legend/_legend.scss +66 -16
- data/app/pb_kits/playbook/pb_legend/legend.test.js +1 -1
- data/app/pb_kits/playbook/pb_lightbox/lightbox.scss +4 -4
- data/app/pb_kits/playbook/pb_lightbox/lightbox.test.jsx +1 -1
- data/app/pb_kits/playbook/pb_link/_link.scss +113 -19
- data/app/pb_kits/playbook/pb_list/_list.scss +1 -1
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.scss +13 -11
- data/app/pb_kits/playbook/pb_map/_map.scss +1 -1
- data/app/pb_kits/playbook/pb_map/docs/_map_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_map/docs/_map_with_custom_button.jsx +1 -1
- data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.jsx +1 -1
- data/app/pb_kits/playbook/pb_message/_message.scss +21 -16
- data/app/pb_kits/playbook/pb_message/_message.tsx +1 -0
- data/app/pb_kits/playbook/pb_message/_message_mixins.scss +5 -12
- data/app/pb_kits/playbook/pb_message/message.html.erb +1 -1
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.scss +6 -3
- data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss +16 -15
- data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss +1 -1
- data/app/pb_kits/playbook/pb_nav/_bold_mixin.scss +1 -1
- data/app/pb_kits/playbook/pb_nav/_collapsible_nav.scss +1 -1
- data/app/pb_kits/playbook/pb_online_status/_online_status.scss +19 -15
- data/app/pb_kits/playbook/pb_online_status/_online_status.tsx +1 -1
- data/app/pb_kits/playbook/pb_online_status/online_status.rb +5 -4
- data/app/pb_kits/playbook/pb_online_status/online_status.test.js +2 -2
- data/app/pb_kits/playbook/pb_overlay/_overlay.scss +1 -1
- data/app/pb_kits/playbook/pb_overlay/overlay.rb +1 -1
- data/app/pb_kits/playbook/pb_pagination/_pagination.test.jsx +212 -0
- data/app/pb_kits/playbook/pb_pagination/_pagination.tsx +8 -1
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_external_control.jsx +112 -0
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_external_control_react.md +3 -0
- data/app/pb_kits/playbook/pb_pagination/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_pagination/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.scss +5 -2
- data/app/pb_kits/playbook/pb_person/_person.scss +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +11 -1
- data/app/pb_kits/playbook/pb_pill/_pill.scss +23 -21
- data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.scss +15 -13
- data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.scss +108 -33
- data/app/pb_kits/playbook/pb_progress_step/_progress_step.scss +1 -1
- data/app/pb_kits/playbook/pb_radio/_radio.scss +71 -52
- data/app/pb_kits/playbook/pb_radio/_radio.tsx +1 -1
- data/app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.jsx +0 -3
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.scss +4 -4
- data/app/pb_kits/playbook/pb_section_separator/_section_separator.scss +81 -70
- data/app/pb_kits/playbook/pb_section_separator/_section_separator.tsx +9 -1
- data/app/pb_kits/playbook/pb_section_separator/_section_separator_mixin.scss +1 -1
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_color.jsx +3 -1
- data/app/pb_kits/playbook/pb_section_separator/section_separator.rb +7 -1
- data/app/pb_kits/playbook/pb_select/_select.scss +4 -4
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +6 -2
- data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.scss +17 -8
- data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.scss +39 -29
- data/app/pb_kits/playbook/pb_selectable_list/_item.tsx +2 -0
- data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.scss +8 -11
- data/app/pb_kits/playbook/pb_selectable_list/selectable_list.test.js +2 -3
- data/app/pb_kits/playbook/pb_selectable_list/selectable_list_item.html.erb +2 -2
- data/app/pb_kits/playbook/pb_source/_source.scss +8 -8
- data/app/pb_kits/playbook/pb_star_rating/_star_rating.scss +1 -1
- data/app/pb_kits/playbook/pb_star_rating/star_rating.test.js +1 -1
- data/app/pb_kits/playbook/pb_stat_value/_stat_value.scss +2 -2
- data/app/pb_kits/playbook/pb_table/styles/_vertical_border.scss +49 -1
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +5 -5
- data/app/pb_kits/playbook/pb_text_input/text_input.rb +15 -0
- data/app/pb_kits/playbook/pb_textarea/_textarea.scss +6 -6
- data/app/pb_kits/playbook/pb_time/_time.scss +44 -17
- data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.scss +44 -23
- data/app/pb_kits/playbook/pb_time_range_inline/time_range_inline.rb +1 -1
- data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.scss +5 -8
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.scss +16 -10
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.tsx +1 -4
- data/app/pb_kits/playbook/pb_timestamp/timestamp.rb +1 -1
- data/app/pb_kits/playbook/pb_timestamp/timestamp.test.js +2 -2
- data/app/pb_kits/playbook/pb_title/_title.scss +44 -39
- data/app/pb_kits/playbook/pb_title/_title.tsx +17 -8
- data/app/pb_kits/playbook/pb_title/_title_mixin.scss +2 -2
- data/app/pb_kits/playbook/pb_title/title.rb +20 -10
- data/app/pb_kits/playbook/pb_title/title.test.js +4 -4
- data/app/pb_kits/playbook/pb_title_count/_title_count.scss +19 -8
- data/app/pb_kits/playbook/pb_title_detail/_title_detail.scss +10 -11
- data/app/pb_kits/playbook/pb_toggle/_toggle.scss +4 -1
- data/app/pb_kits/playbook/pb_tooltip/_tooltip.scss +3 -4
- data/app/pb_kits/playbook/pb_tooltip/tooltip.rb +1 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +3 -3
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.html.erb +1 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +1 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.html.erb +1 -22
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx +1 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_without_pills.html.erb +2 -2
- data/app/pb_kits/playbook/pb_user/_user.scss +83 -33
- data/app/pb_kits/playbook/pb_user/docs/_user_props_table.md +14 -7
- data/app/pb_kits/playbook/pb_user/user.test.js +1 -1
- data/app/pb_kits/playbook/pb_user_badge/_user_badge.scss +23 -8
- data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.scss +10 -10
- data/app/pb_kits/playbook/pb_weekday_stacked/weekday_stacked.test.jsx +3 -3
- data/app/pb_kits/playbook/utilities/_gap.scss +12 -24
- data/app/pb_kits/playbook/utilities/globalPropNames.mjs +2 -0
- data/app/pb_kits/playbook/utilities/globalProps.ts +28 -4
- data/dist/chunks/{_line_graph-BLS62QjW.js → _line_graph-DHO-uYxy.js} +1 -1
- data/dist/chunks/_typeahead-_kMvPVfz.js +6 -0
- data/dist/chunks/_weekday_stacked-B1esXFeA.js +37 -0
- data/dist/chunks/{lib-DgtxnJqa.js → lib-C43ywQsO.js} +2 -2
- data/dist/chunks/{pb_form_validation-_NsOWfBS.js → pb_form_validation-Cqj3itLG.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +2 -8
- data/dist/playbook-doc.js +2 -2
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/classnames.rb +2 -0
- data/lib/playbook/spacing.rb +53 -1
- data/lib/playbook/version.rb +2 -2
- metadata +27 -37
- data/app/pb_kits/playbook/pb_drawer/_close_icon.tsx +0 -25
- data/app/pb_kits/playbook/pb_drawer/_drawer.scss +0 -381
- data/app/pb_kits/playbook/pb_drawer/_drawer.tsx +0 -231
- data/app/pb_kits/playbook/pb_drawer/_drawer_context.tsx +0 -3
- data/app/pb_kits/playbook/pb_drawer/context.ts +0 -11
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_behavior.html.erb +0 -8
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_behavior.jsx +0 -41
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.html.erb +0 -33
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx +0 -78
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.html.erb +0 -3
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx +0 -26
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb +0 -20
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx +0 -59
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.html.erb +0 -24
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.jsx +0 -61
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.md +0 -24
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.html.erb +0 -21
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx +0 -54
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.md +0 -1
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.html.erb +0 -49
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx +0 -99
- data/app/pb_kits/playbook/pb_drawer/docs/example.yml +0 -20
- data/app/pb_kits/playbook/pb_drawer/docs/index.js +0 -7
- data/app/pb_kits/playbook/pb_drawer/drawer.html.erb +0 -20
- data/app/pb_kits/playbook/pb_drawer/drawer.rb +0 -56
- data/app/pb_kits/playbook/pb_drawer/drawer.test.jsx +0 -81
- data/app/pb_kits/playbook/pb_drawer/hooks/useBreakpoint.tsx +0 -60
- data/app/pb_kits/playbook/pb_drawer/hooks/useDrawerAnimation.tsx +0 -21
- data/app/pb_kits/playbook/pb_drawer/index.js +0 -257
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.md +0 -9
- data/dist/chunks/_typeahead-CZL6rvfn.js +0 -6
- data/dist/chunks/_weekday_stacked-Cv8-Sf6X.js +0 -37
@@ -5,92 +5,101 @@
|
|
5
5
|
@import "../tokens/colors";
|
6
6
|
@import "../tokens/opacity";
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
border-right-width: 0;
|
22
|
-
}
|
23
|
-
&:not(:first-child){
|
24
|
-
border-bottom-left-radius: 0;
|
25
|
-
border-top-left-radius: 0;
|
26
|
-
border-left-width: 0;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
&[class*=_primary] {
|
30
|
-
& > [class^=pb_button]:not(:first-child)::before {
|
31
|
-
@include toolbar_border(false, $primary_border)
|
32
|
-
}
|
8
|
+
// Horizontal toolbars
|
9
|
+
.pb_button_toolbar_kit_horizontal_primary,
|
10
|
+
.pb_button_toolbar_kit_horizontal_secondary {
|
11
|
+
display: inline-flex;
|
12
|
+
flex-direction: row;
|
13
|
+
align-items: center;
|
14
|
+
justify-content: flex-start;
|
15
|
+
|
16
|
+
& > .pb_button_kit {
|
17
|
+
&:not(:last-child){
|
18
|
+
border-bottom-right-radius: 0;
|
19
|
+
border-top-right-radius: 0;
|
20
|
+
border-right-width: 0;
|
33
21
|
}
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
22
|
+
&:not(:first-child){
|
23
|
+
border-bottom-left-radius: 0;
|
24
|
+
border-top-left-radius: 0;
|
25
|
+
border-left-width: 0;
|
38
26
|
}
|
39
|
-
& > [class^=pb_button]:not(:first-child):hover::before,
|
40
|
-
[class^=pb_button]:hover + [class^=pb_button]::before {
|
41
|
-
opacity: 0
|
42
|
-
}
|
43
27
|
}
|
28
|
+
|
29
|
+
& > .pb_button_kit:not(:first-child):hover::before,
|
30
|
+
.pb_button_kit:hover + .pb_button_kit::before {
|
31
|
+
opacity: 0
|
32
|
+
}
|
33
|
+
}
|
44
34
|
|
45
|
-
|
35
|
+
.pb_button_toolbar_kit_horizontal_primary {
|
36
|
+
& > .pb_button_kit:not(:first-child)::before {
|
37
|
+
@include toolbar_border(false, $primary_border)
|
38
|
+
}
|
39
|
+
}
|
46
40
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
@include toolbar_border(true, $primary_border)
|
72
|
-
}
|
73
|
-
}
|
74
|
-
&[class*=_secondary] {
|
75
|
-
& > [class^=pb_button]:not(:first-child)::before {
|
76
|
-
@include toolbar_border(true, $secondary_border)
|
77
|
-
}
|
41
|
+
.pb_button_toolbar_kit_horizontal_secondary {
|
42
|
+
& > .pb_button_kit:not(:first-child)::before {
|
43
|
+
@include toolbar_border(false, $secondary_border)
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
// Vertical toolbars
|
48
|
+
.pb_button_toolbar_kit_vertical_primary,
|
49
|
+
.pb_button_toolbar_kit_vertical_secondary {
|
50
|
+
display: inline-flex;
|
51
|
+
flex-direction: column;
|
52
|
+
align-items: flex-start;
|
53
|
+
justify-content: center;
|
54
|
+
|
55
|
+
& > .pb_button_kit {
|
56
|
+
display: block;
|
57
|
+
flex-grow: 1;
|
58
|
+
flex-shrink: 1;
|
59
|
+
flex-basis: auto;
|
60
|
+
width: 100%;
|
61
|
+
&:not(:last-child){
|
62
|
+
border-bottom-right-radius: 0;
|
63
|
+
border-bottom-left-radius: 0;
|
64
|
+
border-bottom-width: 0;
|
78
65
|
}
|
79
|
-
|
80
|
-
|
81
|
-
|
66
|
+
&:not(:first-child){
|
67
|
+
border-top-right-radius: 0;
|
68
|
+
border-top-left-radius: 0;
|
69
|
+
border-top-width: 0;
|
82
70
|
}
|
83
71
|
}
|
84
|
-
|
85
|
-
// Hover =============
|
86
72
|
|
87
|
-
& >
|
73
|
+
& > .pb_button_kit:not(:first-child):hover::before,
|
74
|
+
.pb_button_kit:hover + .pb_button_kit::before {
|
75
|
+
opacity: 0
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
.pb_button_toolbar_kit_vertical_primary {
|
80
|
+
& > .pb_button_kit:not(:first-child)::before {
|
81
|
+
@include toolbar_border(true, $primary_border)
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.pb_button_toolbar_kit_vertical_secondary {
|
86
|
+
& > .pb_button_kit:not(:first-child)::before {
|
87
|
+
@include toolbar_border(true, $secondary_border)
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
// Button hover styles for all toolbars
|
92
|
+
.pb_button_toolbar_kit_horizontal_primary,
|
93
|
+
.pb_button_toolbar_kit_horizontal_secondary,
|
94
|
+
.pb_button_toolbar_kit_vertical_primary,
|
95
|
+
.pb_button_toolbar_kit_vertical_secondary {
|
96
|
+
& > .pb_button_kit {
|
88
97
|
@media (hover:hover) {
|
89
98
|
&:hover {
|
90
99
|
background-color:darken($royal, 20%);
|
91
100
|
}
|
92
101
|
}
|
93
|
-
|
102
|
+
&.pb_button_secondary {
|
94
103
|
@media (hover:hover) {
|
95
104
|
&:hover {
|
96
105
|
background-color:rgba($primary_action, $opacity_3)
|
@@ -98,4 +107,4 @@
|
|
98
107
|
}
|
99
108
|
}
|
100
109
|
}
|
101
|
-
}
|
110
|
+
}
|
@@ -2,51 +2,50 @@
|
|
2
2
|
@import "../tokens/colors";
|
3
3
|
@import "../tokens/opacity";
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
// Dark theme - Vertical toolbars
|
6
|
+
.pb_button_toolbar_kit_vertical_primary.dark {
|
7
|
+
& > .pb_button_kit:not(:first-child)::before {
|
8
|
+
@include toolbar_border(true, $primary_dark)
|
9
|
+
}
|
10
|
+
}
|
8
11
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
@include toolbar_border(true, $primary_dark)
|
13
|
-
}
|
14
|
-
}
|
15
|
-
&[class*=_secondary].dark {
|
16
|
-
& > [class^=pb_button]:not(:first-child)::before {
|
17
|
-
@include toolbar_border(true, $secondary_dark)
|
18
|
-
}
|
19
|
-
}
|
12
|
+
.pb_button_toolbar_kit_vertical_secondary.dark {
|
13
|
+
& > .pb_button_kit:not(:first-child)::before {
|
14
|
+
@include toolbar_border(true, $secondary_dark)
|
20
15
|
}
|
16
|
+
}
|
21
17
|
|
22
|
-
|
18
|
+
// Dark theme - Horizontal toolbars
|
19
|
+
.pb_button_toolbar_kit_horizontal_primary.dark {
|
20
|
+
& > .pb_button_kit:not(:first-child)::before {
|
21
|
+
@include toolbar_border(false, $primary_dark)
|
22
|
+
}
|
23
|
+
}
|
23
24
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
@include toolbar_border(false, $primary_dark)
|
28
|
-
}
|
29
|
-
}
|
30
|
-
&[class*=_secondary].dark {
|
31
|
-
& > [class^=pb_button]:not(:first-child)::before {
|
32
|
-
@include toolbar_border(false, $secondary_dark)
|
33
|
-
}
|
34
|
-
}
|
25
|
+
.pb_button_toolbar_kit_horizontal_secondary.dark {
|
26
|
+
& > .pb_button_kit:not(:first-child)::before {
|
27
|
+
@include toolbar_border(false, $secondary_dark)
|
35
28
|
}
|
36
|
-
|
37
|
-
|
29
|
+
}
|
30
|
+
|
31
|
+
// Dark theme hover effects
|
32
|
+
.pb_button_toolbar_kit_horizontal_primary.dark,
|
33
|
+
.pb_button_toolbar_kit_horizontal_secondary.dark,
|
34
|
+
.pb_button_toolbar_kit_vertical_primary.dark,
|
35
|
+
.pb_button_toolbar_kit_vertical_secondary.dark {
|
36
|
+
& > .pb_button_kit:not(:first-child):hover::before,
|
37
|
+
.pb_button_kit:hover + .pb_button_kit::before {
|
38
38
|
opacity: 0
|
39
39
|
}
|
40
40
|
|
41
|
-
//
|
42
|
-
|
43
|
-
[class^=pb_button].dark {
|
41
|
+
// Dark button hover styles
|
42
|
+
.pb_button_kit.dark {
|
44
43
|
@media (hover:hover) {
|
45
44
|
&:hover {
|
46
45
|
background-color:darken($royal, 20%);
|
47
46
|
}
|
48
47
|
}
|
49
|
-
|
48
|
+
&.pb_button_secondary {
|
50
49
|
@media (hover:hover) {
|
51
50
|
&:hover {
|
52
51
|
background-color:rgba($primary_action, $opacity_3)
|
@@ -54,4 +53,4 @@
|
|
54
53
|
}
|
55
54
|
}
|
56
55
|
}
|
57
|
-
}
|
56
|
+
}
|
@@ -20,7 +20,7 @@ test('default test', () => {
|
|
20
20
|
|
21
21
|
expect(kit).toHaveClass('pb_button_toolbar_kit_horizontal_primary')
|
22
22
|
expect(kit).toContainElement(child)
|
23
|
-
expect(child).toHaveClass('
|
23
|
+
expect(child).toHaveClass('pb_button_kit pb_button_primary pb_button_inline pb_button_enabled')
|
24
24
|
})
|
25
25
|
|
26
26
|
test('variant and orientation props', () => {
|
@@ -42,5 +42,5 @@ test('variant and orientation props', () => {
|
|
42
42
|
const child = screen.getByTestId('child-button')
|
43
43
|
|
44
44
|
expect(kit).toHaveClass('pb_button_toolbar_kit_vertical_secondary')
|
45
|
-
expect(child).toHaveClass('
|
45
|
+
expect(child).toHaveClass('pb_button_kit pb_button_secondary pb_button_inline pb_button_enabled')
|
46
46
|
})
|
@@ -1,32 +1,115 @@
|
|
1
1
|
@import "../tokens/colors";
|
2
2
|
@import "caption_mixin";
|
3
3
|
|
4
|
-
|
4
|
+
// Base caption classes - all size combinations
|
5
|
+
.pb_caption_kit,
|
6
|
+
.pb_caption_kit_xs,
|
7
|
+
.pb_caption_kit_sm,
|
8
|
+
.pb_caption_kit_md,
|
9
|
+
.pb_caption_kit_base,
|
10
|
+
.pb_caption_kit_lg,
|
11
|
+
.pb_caption_kit_xl {
|
5
12
|
@include caption;
|
6
|
-
|
7
|
-
|
13
|
+
}
|
14
|
+
|
15
|
+
// Apply caption mixin to all size+color combinations too
|
16
|
+
@each $color_name, $color_value in $pb_caption_colors {
|
17
|
+
.pb_caption_kit_xs_#{$color_name},
|
18
|
+
.pb_caption_kit_sm_#{$color_name},
|
19
|
+
.pb_caption_kit_md_#{$color_name},
|
20
|
+
.pb_caption_kit_base_#{$color_name},
|
21
|
+
.pb_caption_kit_lg_#{$color_name},
|
22
|
+
.pb_caption_kit_xl_#{$color_name} {
|
23
|
+
@include caption;
|
8
24
|
}
|
25
|
+
}
|
9
26
|
|
10
|
-
|
27
|
+
// Apply caption mixin to link variants too
|
28
|
+
.pb_caption_kit_xs_link,
|
29
|
+
.pb_caption_kit_sm_link,
|
30
|
+
.pb_caption_kit_md_link,
|
31
|
+
.pb_caption_kit_base_link,
|
32
|
+
.pb_caption_kit_lg_link,
|
33
|
+
.pb_caption_kit_xl_link {
|
34
|
+
@include caption;
|
35
|
+
}
|
36
|
+
|
37
|
+
// Size-specific styles
|
38
|
+
.pb_caption_kit_lg,
|
39
|
+
.pb_caption_kit_lg_default,
|
40
|
+
.pb_caption_kit_lg_light,
|
41
|
+
.pb_caption_kit_lg_lighter,
|
42
|
+
.pb_caption_kit_lg_success,
|
43
|
+
.pb_caption_kit_lg_error,
|
44
|
+
.pb_caption_kit_lg_link {
|
45
|
+
@include caption_lg;
|
46
|
+
}
|
47
|
+
|
48
|
+
// Apply lg mixin to all lg color combinations
|
49
|
+
@each $color_name, $color_value in $pb_caption_colors {
|
50
|
+
.pb_caption_kit_lg_#{$color_name} {
|
11
51
|
@include caption_lg;
|
12
52
|
}
|
53
|
+
}
|
13
54
|
|
14
|
-
|
55
|
+
.pb_caption_kit_xs,
|
56
|
+
.pb_caption_kit_xs_default,
|
57
|
+
.pb_caption_kit_xs_light,
|
58
|
+
.pb_caption_kit_xs_lighter,
|
59
|
+
.pb_caption_kit_xs_success,
|
60
|
+
.pb_caption_kit_xs_error,
|
61
|
+
.pb_caption_kit_xs_link {
|
62
|
+
@include caption_xs;
|
63
|
+
}
|
64
|
+
|
65
|
+
// Apply xs mixin to all xs color combinations
|
66
|
+
@each $color_name, $color_value in $pb_caption_colors {
|
67
|
+
.pb_caption_kit_xs_#{$color_name} {
|
15
68
|
@include caption_xs;
|
16
69
|
}
|
17
|
-
|
18
|
-
|
19
|
-
|
70
|
+
}
|
71
|
+
|
72
|
+
// Color variants - generate all size/color combinations
|
73
|
+
@each $color_name, $color_value in $pb_caption_colors {
|
74
|
+
.pb_caption_kit_xs_#{$color_name},
|
75
|
+
.pb_caption_kit_sm_#{$color_name},
|
76
|
+
.pb_caption_kit_md_#{$color_name},
|
77
|
+
.pb_caption_kit_base_#{$color_name},
|
78
|
+
.pb_caption_kit_lg_#{$color_name},
|
79
|
+
.pb_caption_kit_xl_#{$color_name} {
|
80
|
+
color: $color_value;
|
20
81
|
}
|
82
|
+
}
|
21
83
|
|
22
|
-
|
84
|
+
// Link variant (deprecated but still supported)
|
85
|
+
.pb_caption_kit_xs_link,
|
86
|
+
.pb_caption_kit_sm_link,
|
87
|
+
.pb_caption_kit_md_link,
|
88
|
+
.pb_caption_kit_base_link,
|
89
|
+
.pb_caption_kit_lg_link,
|
90
|
+
.pb_caption_kit_xl_link {
|
91
|
+
color: $primary;
|
92
|
+
}
|
23
93
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
94
|
+
// Dark theme variants
|
95
|
+
.pb_caption_kit.dark,
|
96
|
+
.pb_caption_kit_xs.dark,
|
97
|
+
.pb_caption_kit_sm.dark,
|
98
|
+
.pb_caption_kit_md.dark,
|
99
|
+
.pb_caption_kit_base.dark,
|
100
|
+
.pb_caption_kit_lg.dark,
|
101
|
+
.pb_caption_kit_xl.dark {
|
102
|
+
@include caption_dark;
|
32
103
|
}
|
104
|
+
|
105
|
+
// Dark theme color variants
|
106
|
+
@each $color_name, $color_value in $pb_dark_caption_colors {
|
107
|
+
.pb_caption_kit_xs_#{$color_name}.dark,
|
108
|
+
.pb_caption_kit_sm_#{$color_name}.dark,
|
109
|
+
.pb_caption_kit_md_#{$color_name}.dark,
|
110
|
+
.pb_caption_kit_base_#{$color_name}.dark,
|
111
|
+
.pb_caption_kit_lg_#{$color_name}.dark,
|
112
|
+
.pb_caption_kit_xl_#{$color_name}.dark {
|
113
|
+
color: $color_value;
|
114
|
+
}
|
115
|
+
}
|
@@ -1,107 +1,144 @@
|
|
1
1
|
@import "card_mixin";
|
2
2
|
@import "../utilities/colors";
|
3
|
+
@import "../tokens/border_radius";
|
3
4
|
|
4
|
-
|
5
|
+
.pb_card_kit {
|
5
6
|
@include pb_card;
|
6
7
|
padding: $space_md;
|
7
8
|
|
8
|
-
|
9
|
-
|
9
|
+
.card_draggable_handle {
|
10
|
+
align-self: center;
|
11
|
+
color: $text_lt_light;
|
10
12
|
}
|
13
|
+
}
|
11
14
|
|
12
|
-
|
13
|
-
|
15
|
+
// Selected state
|
16
|
+
.pb_card_kit_selected {
|
17
|
+
@include pb_card_selected;
|
18
|
+
}
|
14
19
|
|
15
|
-
|
16
|
-
|
17
|
-
|
20
|
+
// Dark mode
|
21
|
+
.pb_card_kit.dark {
|
22
|
+
@include pb_card_dark;
|
23
|
+
|
24
|
+
&.pb_card_kit_selected {
|
25
|
+
@include pb_card_selected_dark;
|
18
26
|
}
|
27
|
+
}
|
19
28
|
|
20
|
-
|
21
|
-
|
22
|
-
|
29
|
+
// Border styles
|
30
|
+
.pb_card_kit_border_none {
|
31
|
+
border-width: 0px;
|
32
|
+
}
|
23
33
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
34
|
+
// Highlight styles
|
35
|
+
.pb_card_kit_highlight_top,
|
36
|
+
.pb_card_kit_highlight_side {
|
37
|
+
overflow: hidden;
|
38
|
+
}
|
39
|
+
|
40
|
+
@function ends-with($string, $suffix) {
|
41
|
+
$suffix-length: str-length($suffix);
|
42
|
+
@if $suffix-length == 0 {
|
43
|
+
@return true;
|
30
44
|
}
|
45
|
+
@return str-slice($string, -$suffix-length) == $suffix;
|
46
|
+
}
|
31
47
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
min-height: 1px;
|
37
|
-
padding: $space_sm;
|
38
|
-
border: 0;
|
39
|
-
border-radius: $pb_card_header_border_radius $pb_card_header_border_radius 0px 0px;
|
40
|
-
@each $color_name, $color_value in $pb_card_header_colors {
|
41
|
-
@if not ends-with($color_name, '_subtle') {
|
42
|
-
&[class*="_#{$color_name}"] {
|
43
|
-
@include pb_card_header_color($color_value);
|
44
|
-
color: lightenText($color_value);
|
45
|
-
}
|
46
|
-
}
|
47
|
-
}
|
48
|
-
@each $color_name, $color_value in $pb_card_header_colors {
|
49
|
-
@if ends-with($color_name, '_subtle') {
|
50
|
-
&[class*="_#{$color_name}"] {
|
51
|
-
@include pb_card_header_color($color_value);
|
52
|
-
color: lightenText($color_value);
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
@each $color_name, $color_value in $pb_card_header_colors {
|
57
|
-
&[class*=_#{$color_name}_striped] {
|
58
|
-
@if ((type-of($color_value) == color)) {
|
59
|
-
background: repeating-linear-gradient(
|
60
|
-
45deg,
|
61
|
-
$color_value,
|
62
|
-
$color_value 10px,
|
63
|
-
lighten( $color_value, 5% ) 10px,
|
64
|
-
lighten( $color_value, 5% ) 20px
|
65
|
-
);
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
&[class*=_white] {
|
70
|
-
border-bottom: 1px solid $border_light;
|
71
|
-
}
|
48
|
+
// Highlight top variants
|
49
|
+
@each $color_name, $color_value in $pb_card_highlight_colors {
|
50
|
+
.pb_card_kit_highlight_top.pb_card_kit_highlight_#{$color_name}::before {
|
51
|
+
@include pb_card_highlight(100%, $pb_card_highlight_size, $color_value);
|
72
52
|
}
|
53
|
+
}
|
73
54
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
min-height: 1px;
|
79
|
-
border: 0;
|
80
|
-
padding: $space_md;
|
55
|
+
// Highlight side variants
|
56
|
+
@each $color_name, $color_value in $pb_card_highlight_colors {
|
57
|
+
.pb_card_kit_highlight_side.pb_card_kit_highlight_#{$color_name}::before {
|
58
|
+
@include pb_card_highlight($pb_card_highlight_size, 100%, $color_value);
|
81
59
|
}
|
60
|
+
}
|
82
61
|
|
83
|
-
|
84
|
-
|
62
|
+
// Card Header
|
63
|
+
.pb_card_header_kit {
|
64
|
+
flex-grow: 0;
|
65
|
+
flex-shrink: 0;
|
66
|
+
flex-basis: auto;
|
67
|
+
min-height: 1px;
|
68
|
+
padding: $space_sm;
|
69
|
+
border: 0;
|
70
|
+
border-radius: $pb_card_header_border_radius $pb_card_header_border_radius 0px 0px;
|
71
|
+
|
72
|
+
// Inherit border radius from parent card
|
73
|
+
.pb_card_kit_border_radius_xs & {
|
74
|
+
border-radius: $border_radius_xs $border_radius_xs 0px 0px;
|
75
|
+
}
|
76
|
+
.pb_card_kit_border_radius_sm & {
|
77
|
+
border-radius: $border_radius_sm $border_radius_sm 0px 0px;
|
78
|
+
}
|
79
|
+
.pb_card_kit_border_radius_md & {
|
80
|
+
border-radius: $border_radius_md $border_radius_md 0px 0px;
|
81
|
+
}
|
82
|
+
.pb_card_kit_border_radius_lg & {
|
83
|
+
border-radius: $border_radius_lg $border_radius_lg 0px 0px;
|
84
|
+
}
|
85
|
+
.pb_card_kit_border_radius_xl & {
|
86
|
+
border-radius: $border_radius_xl $border_radius_xl 0px 0px;
|
85
87
|
}
|
88
|
+
.pb_card_kit_border_radius_rounded & {
|
89
|
+
border-radius: $border_radius_rounded $border_radius_rounded 0px 0px;
|
90
|
+
}
|
91
|
+
.pb_card_kit_border_radius_none & {
|
92
|
+
border-radius: 0px;
|
93
|
+
}
|
94
|
+
}
|
86
95
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
96
|
+
// Header colors (non-subtle)
|
97
|
+
@each $color_name, $color_value in $pb_card_header_colors {
|
98
|
+
@if not ends-with($color_name, '_subtle') {
|
99
|
+
.pb_card_header_kit_#{$color_name} {
|
100
|
+
@include pb_card_header_color($color_value);
|
101
|
+
color: lightenText($color_value);
|
92
102
|
}
|
93
103
|
}
|
104
|
+
}
|
94
105
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
106
|
+
// Header colors (subtle)
|
107
|
+
@each $color_name, $color_value in $pb_card_header_colors {
|
108
|
+
@if ends-with($color_name, '_subtle') {
|
109
|
+
.pb_card_header_kit_#{$color_name} {
|
110
|
+
@include pb_card_header_color($color_value);
|
111
|
+
color: lightenText($color_value);
|
100
112
|
}
|
101
113
|
}
|
114
|
+
}
|
102
115
|
|
103
|
-
|
104
|
-
|
105
|
-
|
116
|
+
// Header striped patterns
|
117
|
+
@each $color_name, $color_value in $pb_card_header_colors {
|
118
|
+
.pb_card_header_kit_#{$color_name}_striped {
|
119
|
+
@if ((type-of($color_value) == color)) {
|
120
|
+
background: repeating-linear-gradient(
|
121
|
+
45deg,
|
122
|
+
$color_value,
|
123
|
+
$color_value 10px,
|
124
|
+
lighten( $color_value, 5% ) 10px,
|
125
|
+
lighten( $color_value, 5% ) 20px
|
126
|
+
);
|
127
|
+
}
|
106
128
|
}
|
107
129
|
}
|
130
|
+
|
131
|
+
// White header special case
|
132
|
+
.pb_card_header_kit_white {
|
133
|
+
border-bottom: 1px solid $border_light;
|
134
|
+
}
|
135
|
+
|
136
|
+
// Card Body
|
137
|
+
.pb_card_body_kit {
|
138
|
+
flex-grow: 0;
|
139
|
+
flex-shrink: 0;
|
140
|
+
flex-basis: auto;
|
141
|
+
min-height: 1px;
|
142
|
+
border: 0;
|
143
|
+
padding: $space_md;
|
144
|
+
}
|