playbook_ui 3.1.0 → 3.2.0
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 +1 -1
- data/app/pb_kits/playbook/index.js +3 -0
- data/app/pb_kits/playbook/kits/pb_multiple_users_stacked.js +4 -0
- data/app/pb_kits/playbook/packs/examples.js +2 -0
- data/app/pb_kits/playbook/packs/kits.js +1 -0
- data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +23 -48
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +8 -8
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram.jsx +24 -9
- data/app/pb_kits/playbook/pb_avatar/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_badge/_badge.jsx +11 -10
- data/app/pb_kits/playbook/pb_badge/docs/_badge_colors.jsx +82 -22
- data/app/pb_kits/playbook/pb_badge/docs/_badge_dark.jsx +100 -22
- data/app/pb_kits/playbook/pb_badge/docs/_badge_default.jsx +16 -7
- data/app/pb_kits/playbook/pb_badge/docs/_badge_rounded.jsx +19 -7
- data/app/pb_kits/playbook/pb_badge/docs/index.js +4 -4
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.jsx +2 -1
- data/app/pb_kits/playbook/pb_bar_graph/barGraphSettings.js +23 -23
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +7 -7
- data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_body/_body.jsx +4 -5
- data/app/pb_kits/playbook/pb_body/docs/_body_block.jsx +5 -5
- data/app/pb_kits/playbook/pb_body/docs/_body_dark.jsx +30 -11
- data/app/pb_kits/playbook/pb_body/docs/_body_light.jsx +22 -10
- data/app/pb_kits/playbook/pb_body/docs/index.js +3 -3
- data/app/pb_kits/playbook/pb_button/_button.jsx +17 -14
- data/app/pb_kits/playbook/pb_button/docs/_button_accessibility.jsx +9 -9
- data/app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx +8 -8
- data/app/pb_kits/playbook/pb_button/docs/_button_default.jsx +22 -22
- data/app/pb_kits/playbook/pb_button/docs/_button_default_dark.jsx +23 -22
- data/app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx +7 -7
- data/app/pb_kits/playbook/pb_button/docs/_button_link.jsx +17 -17
- data/app/pb_kits/playbook/pb_button/docs/_button_loading.jsx +17 -17
- data/app/pb_kits/playbook/pb_button/docs/_button_options.jsx +7 -7
- data/app/pb_kits/playbook/pb_button/docs/index.js +8 -8
- data/app/pb_kits/playbook/pb_caption/_caption.jsx +8 -11
- data/app/pb_kits/playbook/pb_caption/_caption_mixin.scss +1 -1
- data/app/pb_kits/playbook/pb_caption/docs/_caption_dark.jsx +18 -7
- data/app/pb_kits/playbook/pb_caption/docs/_caption_light.jsx +12 -6
- data/app/pb_kits/playbook/pb_caption/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_card/_card.jsx +5 -5
- data/app/pb_kits/playbook/pb_card/docs/_card_content.jsx +9 -7
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx +7 -7
- data/app/pb_kits/playbook/pb_card/docs/_card_light.jsx +5 -5
- data/app/pb_kits/playbook/pb_card/docs/_card_padding.jsx +14 -14
- data/app/pb_kits/playbook/pb_card/docs/_card_selected.jsx +6 -6
- data/app/pb_kits/playbook/pb_card/docs/_card_separator.jsx +7 -7
- data/app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx +14 -14
- data/app/pb_kits/playbook/pb_card/docs/index.js +7 -7
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.jsx +24 -15
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_dark.jsx +6 -6
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx +6 -6
- data/app/pb_kits/playbook/pb_checkbox/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx +18 -8
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_dark.jsx +19 -19
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.jsx +15 -15
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_contact/_contact.jsx +47 -68
- data/app/pb_kits/playbook/pb_contact/docs/_contact_default.jsx +10 -10
- data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.jsx +11 -11
- data/app/pb_kits/playbook/pb_contact/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_currency/_currency.jsx +27 -44
- data/app/pb_kits/playbook/pb_currency/docs/_currency_default.jsx +12 -12
- data/app/pb_kits/playbook/pb_currency/docs/_currency_large.jsx +15 -15
- data/app/pb_kits/playbook/pb_currency/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_dashboard/commonSettings.js +61 -61
- data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.js +30 -30
- data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.jsx +13 -6
- data/app/pb_kits/playbook/pb_dashboard_value/dashboardValueSettings.js +13 -13
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_align.jsx +14 -12
- data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_default.jsx +14 -12
- data/app/pb_kits/playbook/pb_dashboard_value/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_date/_date.jsx +33 -28
- data/app/pb_kits/playbook/pb_date/docs/_date_default.jsx +15 -9
- data/app/pb_kits/playbook/pb_date/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx +21 -14
- data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx +8 -5
- data/app/pb_kits/playbook/pb_date_range_inline/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.jsx +28 -49
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_align.jsx +36 -16
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_dark.jsx +13 -13
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_default.jsx +15 -8
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_not_current_year.jsx +14 -8
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_reverse.jsx +17 -8
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_sizes.jsx +12 -11
- data/app/pb_kits/playbook/pb_date_stacked/docs/index.js +6 -6
- data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.jsx +6 -13
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_dark.jsx +17 -6
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default.jsx +13 -7
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.jsx +16 -20
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_default.jsx +9 -9
- data/app/pb_kits/playbook/pb_distribution_bar/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.html.erb +2 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +28 -40
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss +17 -2
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.jsx +20 -9
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.html.erb +4 -0
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.jsx +15 -0
- 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 +2 -1
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.rb +3 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +17 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_simple_form.html.erb +29 -10
- data/app/pb_kits/playbook/pb_form/form_builder.rb +2 -0
- data/app/pb_kits/playbook/pb_form/form_builder/collection_select_field.rb +19 -0
- data/app/pb_kits/playbook/pb_form/form_builder/select_field.rb +19 -0
- data/app/pb_kits/playbook/pb_hashtag/_hashtag.jsx +20 -19
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_dark.jsx +6 -6
- data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_default.jsx +6 -6
- data/app/pb_kits/playbook/pb_hashtag/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +17 -26
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_dark.jsx +5 -5
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.jsx +5 -5
- data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.jsx +5 -7
- data/app/pb_kits/playbook/pb_home_address_street/docs/index.js +3 -3
- data/app/pb_kits/playbook/pb_icon/_icon.jsx +37 -62
- data/app/pb_kits/playbook/pb_icon/docs/_icon_animate.jsx +25 -7
- data/app/pb_kits/playbook/pb_icon/docs/_icon_border.jsx +10 -5
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default.jsx +8 -5
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default_dark.jsx +8 -5
- data/app/pb_kits/playbook/pb_icon/docs/_icon_flip.jsx +22 -7
- data/app/pb_kits/playbook/pb_icon/docs/_icon_pull.jsx +16 -6
- data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate.jsx +22 -7
- data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes.jsx +110 -18
- data/app/pb_kits/playbook/pb_icon/docs/index.js +8 -8
- data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.jsx +5 -5
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.jsx +44 -11
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.jsx +7 -5
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_size.jsx +22 -8
- data/app/pb_kits/playbook/pb_icon_circle/docs/index.js +3 -3
- data/app/pb_kits/playbook/pb_icon_value/_icon_value.jsx +52 -16
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_default.jsx +23 -4
- data/app/pb_kits/playbook/pb_icon_value/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_image/_image.jsx +16 -27
- data/app/pb_kits/playbook/pb_image/docs/_default_image.jsx +3 -3
- data/app/pb_kits/playbook/pb_image/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_kit/dateTime.js +8 -8
- data/app/pb_kits/playbook/pb_label_pill/_label_pill.jsx +7 -7
- data/app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.jsx +3 -4
- data/app/pb_kits/playbook/pb_label_pill/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_label_value/_label_value.jsx +3 -3
- data/app/pb_kits/playbook/pb_label_value/docs/_label_value_default.jsx +3 -4
- data/app/pb_kits/playbook/pb_label_value/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_layout/_body.jsx +12 -12
- data/app/pb_kits/playbook/pb_layout/_layout.jsx +15 -14
- data/app/pb_kits/playbook/pb_layout/_sidebar.jsx +12 -12
- data/app/pb_kits/playbook/pb_layout/docs/_layout_default.jsx +7 -8
- data/app/pb_kits/playbook/pb_layout/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_line_graph/_line_graph.jsx +55 -54
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx +12 -12
- data/app/pb_kits/playbook/pb_line_graph/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_line_graph/lineGraphSettings.js +23 -23
- data/app/pb_kits/playbook/pb_list/_list.jsx +36 -50
- data/app/pb_kits/playbook/pb_list/_list_item.jsx +12 -12
- data/app/pb_kits/playbook/pb_list/docs/_list_dark.jsx +24 -0
- data/app/pb_kits/playbook/pb_list/docs/_list_default.jsx +11 -8
- data/app/pb_kits/playbook/pb_list/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_list/docs/index.js +2 -1
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.jsx +7 -8
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_dark.jsx +12 -6
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_light.jsx +4 -4
- data/app/pb_kits/playbook/pb_loading_inline/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_message/_message.jsx +31 -59
- data/app/pb_kits/playbook/pb_message/docs/_message_default.jsx +40 -35
- data/app/pb_kits/playbook/pb_message/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx +27 -46
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default.jsx +28 -24
- data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse.jsx +28 -26
- data/app/pb_kits/playbook/pb_multiple_users/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.html.erb +19 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.jsx +100 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss +57 -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 +59 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.rb +35 -0
- data/app/pb_kits/playbook/pb_nav/_item.jsx +21 -22
- data/app/pb_kits/playbook/pb_nav/_nav.jsx +18 -17
- data/app/pb_kits/playbook/pb_nav/docs/_block_nav.jsx +16 -7
- data/app/pb_kits/playbook/pb_nav/docs/_block_no_title_nav.jsx +15 -7
- data/app/pb_kits/playbook/pb_nav/docs/_default_nav.jsx +23 -11
- data/app/pb_kits/playbook/pb_nav/docs/_horizontal_nav.jsx +21 -7
- data/app/pb_kits/playbook/pb_nav/docs/index.js +4 -4
- data/app/pb_kits/playbook/pb_online_status/_online_status.jsx +7 -7
- data/app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx +3 -4
- data/app/pb_kits/playbook/pb_online_status/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_person/_person.jsx +13 -6
- data/app/pb_kits/playbook/pb_person/docs/_person_default.jsx +6 -6
- data/app/pb_kits/playbook/pb_person/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_person_contact/_person_contact.jsx +23 -33
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_default.jsx +13 -13
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_multiple.jsx +18 -18
- data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_detail.jsx +15 -15
- data/app/pb_kits/playbook/pb_person_contact/docs/index.js +3 -3
- data/app/pb_kits/playbook/pb_pill/_pill.jsx +6 -4
- data/app/pb_kits/playbook/pb_pill/docs/_pill_default.jsx +40 -16
- data/app/pb_kits/playbook/pb_pill/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.jsx +37 -24
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_dark.jsx +15 -16
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.jsx +12 -13
- data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status.jsx +14 -15
- data/app/pb_kits/playbook/pb_progress_pills/docs/index.js +3 -3
- data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.jsx +7 -7
- data/app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_default.jsx +4 -5
- data/app/pb_kits/playbook/pb_progress_simple/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_section_separator/_section_separator.jsx +10 -9
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.jsx +4 -4
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.jsx +4 -4
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text_background.jsx +5 -4
- data/app/pb_kits/playbook/pb_section_separator/docs/index.js +3 -3
- data/app/pb_kits/playbook/pb_select/_select.jsx +48 -36
- data/app/pb_kits/playbook/pb_select/docs/_select_blank.jsx +6 -6
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select.jsx +11 -8
- data/app/pb_kits/playbook/pb_select/docs/_select_dark.jsx +6 -6
- data/app/pb_kits/playbook/pb_select/docs/_select_default.jsx +5 -5
- data/app/pb_kits/playbook/pb_select/docs/_select_disabled.jsx +6 -6
- data/app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx +5 -5
- data/app/pb_kits/playbook/pb_select/docs/_select_required.jsx +7 -7
- data/app/pb_kits/playbook/pb_select/docs/_select_value_text_same.jsx +5 -5
- data/app/pb_kits/playbook/pb_select/docs/index.js +8 -8
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.jsx +24 -19
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_block.jsx +20 -16
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_dark.jsx +31 -27
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_default.jsx +33 -31
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_single_select.jsx +24 -21
- data/app/pb_kits/playbook/pb_selectable_card/docs/index.js +4 -4
- data/app/pb_kits/playbook/pb_source/_source.jsx +7 -7
- data/app/pb_kits/playbook/pb_source/docs/_source_default.jsx +4 -5
- data/app/pb_kits/playbook/pb_source/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_star_rating/_star_rating.jsx +7 -7
- data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +3 -4
- data/app/pb_kits/playbook/pb_star_rating/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_stat_change/_stat_change.jsx +36 -64
- data/app/pb_kits/playbook/pb_stat_change/docs/_stat_change_default.jsx +18 -9
- data/app/pb_kits/playbook/pb_stat_change/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_stat_value/_stat_value.jsx +14 -5
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.jsx +4 -4
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_unit.jsx +8 -5
- data/app/pb_kits/playbook/pb_stat_value/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_table/_table.jsx +44 -54
- data/app/pb_kits/playbook/pb_table/docs/_table_container.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_container.jsx +25 -24
- data/app/pb_kits/playbook/pb_table/docs/_table_container_dark.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_container_dark.jsx +25 -24
- data/app/pb_kits/playbook/pb_table/docs/_table_dark.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_dark.jsx +26 -25
- 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 +43 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_disable_hover.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_disable_hover.jsx +26 -25
- data/app/pb_kits/playbook/pb_table/docs/_table_lg.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_lg.jsx +25 -25
- data/app/pb_kits/playbook/pb_table/docs/_table_md.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_md.jsx +25 -25
- data/app/pb_kits/playbook/pb_table/docs/_table_multiline.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_multiline.jsx +55 -25
- data/app/pb_kits/playbook/pb_table/docs/_table_single_line.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx +56 -25
- data/app/pb_kits/playbook/pb_table/docs/_table_sm.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_sm.jsx +25 -25
- data/app/pb_kits/playbook/pb_table/docs/example.yml +6 -4
- data/app/pb_kits/playbook/pb_table/docs/index.js +10 -9
- data/app/pb_kits/playbook/pb_table/styles/_hover.scss +1 -1
- data/app/pb_kits/playbook/pb_table/styles/_structure.scss +10 -1
- data/app/pb_kits/playbook/pb_table/styles/_table-card.scss +1 -0
- data/app/pb_kits/playbook/pb_table/table.rb +7 -1
- data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +42 -54
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +0 -2
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_dark.jsx +57 -57
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +11 -11
- data/app/pb_kits/playbook/pb_text_input/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_textarea/_textarea.jsx +29 -34
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_custom.jsx +10 -6
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark.jsx +23 -9
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_default.jsx +20 -9
- data/app/pb_kits/playbook/pb_textarea/docs/index.js +3 -3
- data/app/pb_kits/playbook/pb_time/_time.jsx +7 -7
- data/app/pb_kits/playbook/pb_time/docs/_time_default.jsx +4 -5
- data/app/pb_kits/playbook/pb_time/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +7 -7
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.jsx +3 -4
- data/app/pb_kits/playbook/pb_timestamp/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_title/_title.jsx +5 -5
- data/app/pb_kits/playbook/pb_title/docs/_title_dark.jsx +28 -8
- data/app/pb_kits/playbook/pb_title/docs/_title_light.jsx +26 -9
- data/app/pb_kits/playbook/pb_title/docs/index.js +2 -2
- data/app/pb_kits/playbook/pb_title_count/_title_count.jsx +7 -7
- data/app/pb_kits/playbook/pb_title_count/docs/_title_count_default.jsx +4 -5
- data/app/pb_kits/playbook/pb_title_count/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_title_detail/_title_detail.jsx +7 -7
- data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.jsx +4 -5
- data/app/pb_kits/playbook/pb_title_detail/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_toggle/_toggle.jsx +11 -7
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_accessibility.jsx +3 -3
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_data.jsx +3 -3
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_default.jsx +24 -34
- data/app/pb_kits/playbook/pb_user/_user.html.erb +1 -2
- data/app/pb_kits/playbook/pb_user/_user.jsx +35 -61
- data/app/pb_kits/playbook/pb_user/docs/_user_default.jsx +25 -25
- data/app/pb_kits/playbook/pb_user/docs/_user_size.jsx +15 -15
- data/app/pb_kits/playbook/pb_user/docs/_user_text_only.jsx +15 -15
- data/app/pb_kits/playbook/pb_user/docs/_user_vertical_size.jsx +27 -25
- data/app/pb_kits/playbook/pb_user/docs/_user_with_territory.jsx +31 -31
- data/app/pb_kits/playbook/pb_user/docs/index.js +5 -5
- data/app/pb_kits/playbook/pb_user/user.rb +1 -1
- data/app/pb_kits/playbook/pb_user_badge/_user_badge.jsx +7 -7
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_default.jsx +4 -5
- data/app/pb_kits/playbook/pb_user_badge/docs/index.js +1 -1
- data/app/pb_kits/playbook/tokens/_border_radius.scss +8 -11
- data/app/pb_kits/playbook/tokens/_colors.scss +2 -2
- data/app/pb_kits/playbook/tokens/_line_height.scss +9 -0
- data/app/pb_kits/playbook/tokens/_opacity.scss +9 -0
- data/app/pb_kits/playbook/tokens/_positioning.scss +9 -1
- data/app/pb_kits/playbook/tokens/_screen_sizes.scss +9 -0
- data/app/pb_kits/playbook/tokens/_shadows.scss +9 -0
- data/app/pb_kits/playbook/tokens/_spacing.scss +8 -12
- data/app/pb_kits/playbook/utilities/props.js +1 -1
- data/app/pb_kits/playbook/utilities/text.js +9 -3
- data/lib/playbook/version.rb +1 -1
- metadata +18 -2
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import {Currency} from
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { Currency } from '../../'
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
const CurrencyDefault = () => {
|
|
5
5
|
return (
|
|
6
6
|
<div>
|
|
7
7
|
<Currency
|
|
8
|
-
label=
|
|
9
|
-
size=
|
|
10
|
-
value=
|
|
8
|
+
label="Caption"
|
|
9
|
+
size="lg"
|
|
10
|
+
value="2,000"
|
|
11
11
|
/>
|
|
12
12
|
<Currency
|
|
13
|
-
align=
|
|
14
|
-
label=
|
|
15
|
-
size=
|
|
16
|
-
value=
|
|
13
|
+
align="center"
|
|
14
|
+
label="Caption"
|
|
15
|
+
size="lg"
|
|
16
|
+
value="2,000"
|
|
17
17
|
/>
|
|
18
18
|
<Currency
|
|
19
|
-
align=
|
|
20
|
-
label=
|
|
21
|
-
size=
|
|
22
|
-
value=
|
|
19
|
+
align="right"
|
|
20
|
+
label="Caption"
|
|
21
|
+
size="lg"
|
|
22
|
+
value="2,000"
|
|
23
23
|
/>
|
|
24
24
|
</div>
|
|
25
25
|
)
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export default CurrencyDefault
|
|
28
|
+
export default CurrencyDefault
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {default as CurrencyDefault} from './_currency_default.jsx'
|
|
2
|
-
export {default as CurrencyLarge} from './_currency_large.jsx'
|
|
1
|
+
export { default as CurrencyDefault } from './_currency_default.jsx'
|
|
2
|
+
export { default as CurrencyLarge } from './_currency_large.jsx'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import colors from
|
|
2
|
-
import typography from
|
|
1
|
+
import colors from '../tokens/_colors.scss'
|
|
2
|
+
import typography from '../tokens/_typography.scss'
|
|
3
3
|
|
|
4
4
|
const dataColors = [
|
|
5
5
|
colors.data_1,
|
|
@@ -12,91 +12,91 @@ const dataColors = [
|
|
|
12
12
|
colors.data_8,
|
|
13
13
|
]
|
|
14
14
|
|
|
15
|
-
const applyCustomSeriesColors =
|
|
16
|
-
highchart.series.forEach(
|
|
17
|
-
const
|
|
18
|
-
item.color =
|
|
19
|
-
item.data.forEach(
|
|
20
|
-
if(
|
|
21
|
-
|
|
15
|
+
const applyCustomSeriesColors = (highchart) => {
|
|
16
|
+
highchart.series.forEach((item, index) => {
|
|
17
|
+
const selectedColor = dataColors[index]
|
|
18
|
+
item.color = selectedColor
|
|
19
|
+
item.data.forEach((dataItem) => {
|
|
20
|
+
if (dataItem.color){
|
|
21
|
+
dataItem.color = selectedColor
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
if(!
|
|
24
|
+
if (!dataItem.marker) return
|
|
25
25
|
|
|
26
|
-
if(
|
|
27
|
-
|
|
26
|
+
if (dataItem.marker.lineColor){
|
|
27
|
+
dataItem.marker.lineColor = selectedColor
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
if(
|
|
31
|
-
|
|
30
|
+
if (dataItem.marker.states.hover !== undefined){
|
|
31
|
+
dataItem.marker.states.hover.lineColor = selectedColor
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
if(
|
|
35
|
-
|
|
33
|
+
|
|
34
|
+
if (dataItem.marker.states.select.lineColor){
|
|
35
|
+
dataItem.marker.states.select.lineColor = selectedColor
|
|
36
36
|
}
|
|
37
|
-
})
|
|
38
|
-
})
|
|
39
|
-
}
|
|
37
|
+
})
|
|
38
|
+
})
|
|
39
|
+
}
|
|
40
40
|
|
|
41
|
-
const adjustAxisStyle =
|
|
41
|
+
const adjustAxisStyle = (axis) => {
|
|
42
42
|
/* Styles grid */
|
|
43
|
-
axis.minorGridLineColor = colors.slate
|
|
44
|
-
axis.minorGridLineWidth = 0.5
|
|
45
|
-
axis.minorGridLineDashStyle =
|
|
46
|
-
axis.gridLineWidth = 0.5
|
|
47
|
-
axis.gridLineColor = colors.slate
|
|
48
|
-
axis.gridLineDashStyle =
|
|
43
|
+
axis.minorGridLineColor = colors.slate
|
|
44
|
+
axis.minorGridLineWidth = 0.5
|
|
45
|
+
axis.minorGridLineDashStyle = 'Dash'
|
|
46
|
+
axis.gridLineWidth = 0.5
|
|
47
|
+
axis.gridLineColor = colors.slate
|
|
48
|
+
axis.gridLineDashStyle = 'Dash'
|
|
49
49
|
|
|
50
50
|
/* Change line color to $sky */
|
|
51
|
-
axis.lineColor = colors.sky
|
|
51
|
+
axis.lineColor = colors.sky
|
|
52
52
|
|
|
53
53
|
/* Change axis label styles */
|
|
54
|
-
axis.labels.style.fontFamily = typography.font_family_base
|
|
55
|
-
axis.labels.style.color = colors.charcoal
|
|
56
|
-
axis.labels.style.fontWeight = typography.light
|
|
57
|
-
axis.labels.style.fontSize = typography.font_small
|
|
58
|
-
}
|
|
54
|
+
axis.labels.style.fontFamily = typography.font_family_base
|
|
55
|
+
axis.labels.style.color = colors.charcoal
|
|
56
|
+
axis.labels.style.fontWeight = typography.light
|
|
57
|
+
axis.labels.style.fontSize = typography.font_small
|
|
58
|
+
}
|
|
59
59
|
|
|
60
60
|
/* Remove grid from background */
|
|
61
|
-
const styleAxis =
|
|
61
|
+
const styleAxis = (highchart) => {
|
|
62
62
|
if (Array.isArray(highchart.yAxis)) {
|
|
63
|
-
highchart.yAxis.forEach(
|
|
64
|
-
adjustAxisStyle(item)
|
|
65
|
-
})
|
|
63
|
+
highchart.yAxis.forEach((item) => {
|
|
64
|
+
adjustAxisStyle(item)
|
|
65
|
+
})
|
|
66
66
|
} else {
|
|
67
|
-
adjustAxisStyle(highchart.yAxis)
|
|
67
|
+
adjustAxisStyle(highchart.yAxis)
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
if (Array.isArray(highchart.xAxis)) {
|
|
71
|
-
highchart.xAxis.forEach(
|
|
72
|
-
adjustAxisStyle(item)
|
|
73
|
-
})
|
|
71
|
+
highchart.xAxis.forEach((item) => {
|
|
72
|
+
adjustAxisStyle(item)
|
|
73
|
+
})
|
|
74
74
|
} else {
|
|
75
|
-
adjustAxisStyle(highchart.xAxis)
|
|
75
|
+
adjustAxisStyle(highchart.xAxis)
|
|
76
76
|
}
|
|
77
|
-
}
|
|
77
|
+
}
|
|
78
78
|
|
|
79
|
-
const styleChartContainer =
|
|
80
|
-
highchart.chart.spacingTop = 30
|
|
81
|
-
highchart.chart.spacingBottom = 40
|
|
82
|
-
highchart.chart.spacingLeft = 50
|
|
83
|
-
highchart.chart.spacingRight = 50
|
|
84
|
-
}
|
|
79
|
+
const styleChartContainer = (highchart) => {
|
|
80
|
+
highchart.chart.spacingTop = 30
|
|
81
|
+
highchart.chart.spacingBottom = 40
|
|
82
|
+
highchart.chart.spacingLeft = 50
|
|
83
|
+
highchart.chart.spacingRight = 50
|
|
84
|
+
}
|
|
85
85
|
|
|
86
|
-
const styleLegend =
|
|
87
|
-
highchart.legend.itemStyle.fontFamily = typography.font_family_base
|
|
88
|
-
highchart.legend.itemStyle.color = colors.text_lt_light
|
|
89
|
-
highchart.legend.itemStyle.fontWeight = typography.regular
|
|
90
|
-
highchart.legend.itemStyle.fontSize = typography.text_smaller
|
|
91
|
-
}
|
|
86
|
+
const styleLegend = (highchart) => {
|
|
87
|
+
highchart.legend.itemStyle.fontFamily = typography.font_family_base
|
|
88
|
+
highchart.legend.itemStyle.color = colors.text_lt_light
|
|
89
|
+
highchart.legend.itemStyle.fontWeight = typography.regular
|
|
90
|
+
highchart.legend.itemStyle.fontSize = typography.text_smaller
|
|
91
|
+
}
|
|
92
92
|
|
|
93
93
|
// Exportable Global Styles Function
|
|
94
|
-
const commonSettings =
|
|
95
|
-
applyCustomSeriesColors(highchart)
|
|
96
|
-
styleAxis(highchart)
|
|
97
|
-
styleChartContainer(highchart)
|
|
98
|
-
styleLegend(highchart)
|
|
99
|
-
}
|
|
94
|
+
const commonSettings = (highchart) => {
|
|
95
|
+
applyCustomSeriesColors(highchart)
|
|
96
|
+
styleAxis(highchart)
|
|
97
|
+
styleChartContainer(highchart)
|
|
98
|
+
styleLegend(highchart)
|
|
99
|
+
}
|
|
100
100
|
|
|
101
101
|
export {
|
|
102
102
|
commonSettings,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import colors from '../tokens/_colors.scss'
|
|
2
|
-
import typography from '../tokens/_typography.scss'
|
|
1
|
+
import colors from '../tokens/_colors.scss'
|
|
2
|
+
import typography from '../tokens/_typography.scss'
|
|
3
3
|
|
|
4
4
|
import Highcharts from 'highcharts'
|
|
5
5
|
|
|
@@ -11,7 +11,7 @@ const highchartsTheme = {
|
|
|
11
11
|
colors.data_4,
|
|
12
12
|
colors.data_5,
|
|
13
13
|
colors.data_6,
|
|
14
|
-
colors.data_7
|
|
14
|
+
colors.data_7,
|
|
15
15
|
],
|
|
16
16
|
chart: {
|
|
17
17
|
borderWidth: 0,
|
|
@@ -27,7 +27,7 @@ const highchartsTheme = {
|
|
|
27
27
|
fontFamily: typography.font_family_base,
|
|
28
28
|
fontWeight: typography.regular,
|
|
29
29
|
fontSize: typography.heading_3,
|
|
30
|
-
}
|
|
30
|
+
},
|
|
31
31
|
},
|
|
32
32
|
subtitle: {
|
|
33
33
|
style: {
|
|
@@ -35,7 +35,7 @@ const highchartsTheme = {
|
|
|
35
35
|
color: colors.text_lt_light,
|
|
36
36
|
fontWeight: typography.regular,
|
|
37
37
|
fontSize: typography.text_base,
|
|
38
|
-
}
|
|
38
|
+
},
|
|
39
39
|
},
|
|
40
40
|
xAxis: {
|
|
41
41
|
gridLineWidth: 0,
|
|
@@ -47,7 +47,7 @@ const highchartsTheme = {
|
|
|
47
47
|
color: colors.text_lt_lighter,
|
|
48
48
|
fontWeight: typography.bold,
|
|
49
49
|
fontSize: typography.text_smaller,
|
|
50
|
-
}
|
|
50
|
+
},
|
|
51
51
|
},
|
|
52
52
|
title: {
|
|
53
53
|
style: {
|
|
@@ -55,8 +55,8 @@ const highchartsTheme = {
|
|
|
55
55
|
fontFamily: typography.font_family_base,
|
|
56
56
|
fontWeight: typography.regular,
|
|
57
57
|
fontSize: typography.heading_4,
|
|
58
|
-
}
|
|
59
|
-
}
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
60
|
},
|
|
61
61
|
yAxis: {
|
|
62
62
|
alternateGridColor: null,
|
|
@@ -71,7 +71,7 @@ const highchartsTheme = {
|
|
|
71
71
|
color: colors.text_lt_lighter,
|
|
72
72
|
fontWeight: typography.bold,
|
|
73
73
|
fontSize: typography.text_smaller,
|
|
74
|
-
}
|
|
74
|
+
},
|
|
75
75
|
},
|
|
76
76
|
title: {
|
|
77
77
|
style: {
|
|
@@ -79,8 +79,8 @@ const highchartsTheme = {
|
|
|
79
79
|
color: colors.text_lt_lighter,
|
|
80
80
|
fontWeight: typography.bold,
|
|
81
81
|
fontSize: typography.text_smaller,
|
|
82
|
-
}
|
|
83
|
-
}
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
84
|
},
|
|
85
85
|
legend: {
|
|
86
86
|
layout: 'horizontal',
|
|
@@ -90,27 +90,27 @@ const highchartsTheme = {
|
|
|
90
90
|
fontFamily: typography.font_family_base,
|
|
91
91
|
color: colors.text_lt_light,
|
|
92
92
|
fontWeight: typography.regular,
|
|
93
|
-
fontSize: typography.text_smaller
|
|
93
|
+
fontSize: typography.text_smaller,
|
|
94
94
|
},
|
|
95
95
|
itemHoverStyle: {
|
|
96
96
|
color: colors.text_lt_default,
|
|
97
97
|
},
|
|
98
98
|
itemHiddenStyle: {
|
|
99
99
|
color: colors.text_lt_lighter,
|
|
100
|
-
}
|
|
100
|
+
},
|
|
101
101
|
},
|
|
102
102
|
labels: {
|
|
103
103
|
style: {
|
|
104
104
|
color: colors.primary,
|
|
105
|
-
}
|
|
105
|
+
},
|
|
106
106
|
},
|
|
107
107
|
tooltip: {
|
|
108
108
|
backgroundColor: {
|
|
109
109
|
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
|
110
110
|
stops: [
|
|
111
111
|
[0, colors.bg_dark],
|
|
112
|
-
[1, colors.bg_dark]
|
|
113
|
-
]
|
|
112
|
+
[1, colors.bg_dark],
|
|
113
|
+
],
|
|
114
114
|
},
|
|
115
115
|
shadow: false,
|
|
116
116
|
borderWidth: 0,
|
|
@@ -120,7 +120,7 @@ const highchartsTheme = {
|
|
|
120
120
|
color: colors.text_dk_default,
|
|
121
121
|
fontWeight: typography.regular,
|
|
122
122
|
fontSize: typography.text_smaller,
|
|
123
|
-
}
|
|
123
|
+
},
|
|
124
124
|
},
|
|
125
125
|
|
|
126
126
|
plotOptions: {
|
|
@@ -132,33 +132,33 @@ const highchartsTheme = {
|
|
|
132
132
|
x1: 0,
|
|
133
133
|
y1: 0,
|
|
134
134
|
x2: 0,
|
|
135
|
-
y2: 1
|
|
135
|
+
y2: 1,
|
|
136
136
|
},
|
|
137
137
|
stops: [
|
|
138
138
|
[0, Highcharts.getOptions().colors[0]],
|
|
139
|
-
[1,
|
|
140
|
-
]
|
|
139
|
+
[1, 'white'],
|
|
140
|
+
],
|
|
141
141
|
},
|
|
142
|
-
threshold: null
|
|
142
|
+
threshold: null,
|
|
143
143
|
},
|
|
144
144
|
line: {
|
|
145
145
|
dataLabels: {
|
|
146
|
-
color: '#CCC'
|
|
146
|
+
color: '#CCC',
|
|
147
147
|
},
|
|
148
148
|
marker: {
|
|
149
|
-
lineColor: '#333'
|
|
149
|
+
lineColor: '#333',
|
|
150
150
|
},
|
|
151
151
|
area: {
|
|
152
152
|
shadow: false,
|
|
153
153
|
states: {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
hover: {
|
|
155
|
+
lineWidth: 1,
|
|
156
|
+
},
|
|
157
157
|
},
|
|
158
|
-
threshold: null
|
|
159
|
-
}
|
|
160
|
-
}
|
|
158
|
+
threshold: null,
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
161
|
},
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export { highchartsTheme }
|
|
164
|
+
export { highchartsTheme }
|
|
@@ -25,10 +25,9 @@ type DashboardValueProps = {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
const dashboardValueCSS = ({
|
|
28
|
-
align='left',
|
|
28
|
+
align = 'left',
|
|
29
29
|
|
|
30
30
|
}: DashboardValueProps) => {
|
|
31
|
-
|
|
32
31
|
const alignStyle = align !== '' ? `_${align}` : ''
|
|
33
32
|
|
|
34
33
|
return 'pb_dashboard_value_kit' + alignStyle
|
|
@@ -36,7 +35,6 @@ const dashboardValueCSS = ({
|
|
|
36
35
|
|
|
37
36
|
const DashboardValue = (props: DashboardValueProps) => {
|
|
38
37
|
const {
|
|
39
|
-
align='left',
|
|
40
38
|
className,
|
|
41
39
|
id,
|
|
42
40
|
statChange,
|
|
@@ -45,15 +43,24 @@ const DashboardValue = (props: DashboardValueProps) => {
|
|
|
45
43
|
} = props
|
|
46
44
|
|
|
47
45
|
return (
|
|
48
|
-
<div
|
|
46
|
+
<div
|
|
47
|
+
className={classnames(dashboardValueCSS(props), className)}
|
|
48
|
+
id={id}
|
|
49
|
+
>
|
|
49
50
|
<If condition={statLabel}>
|
|
50
51
|
<Body color="light">{statLabel}</Body>
|
|
51
52
|
</If>
|
|
52
53
|
<If condition={statValue}>
|
|
53
|
-
<StatValue
|
|
54
|
+
<StatValue
|
|
55
|
+
unit={statValue.unit}
|
|
56
|
+
value={statValue.value}
|
|
57
|
+
/>
|
|
54
58
|
</If>
|
|
55
59
|
<If condition={statChange}>
|
|
56
|
-
<StatChange
|
|
60
|
+
<StatChange
|
|
61
|
+
change={statChange.change}
|
|
62
|
+
value={statChange.value}
|
|
63
|
+
/>
|
|
57
64
|
</If>
|
|
58
65
|
</div>
|
|
59
66
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import colors from
|
|
2
|
-
import typography from
|
|
1
|
+
import colors from '../tokens/_colors.scss'
|
|
2
|
+
import typography from '../tokens/_typography.scss'
|
|
3
3
|
|
|
4
4
|
const pbIndicator = {
|
|
5
5
|
title: {
|
|
@@ -9,8 +9,8 @@ const pbIndicator = {
|
|
|
9
9
|
big: typography.text_large,
|
|
10
10
|
medium: typography.text_base,
|
|
11
11
|
small: typography.text_small,
|
|
12
|
-
micro: typography.text_small
|
|
13
|
-
}
|
|
12
|
+
micro: typography.text_small,
|
|
13
|
+
},
|
|
14
14
|
},
|
|
15
15
|
secondaryTitle: {
|
|
16
16
|
color: colors.text_lt_light,
|
|
@@ -19,8 +19,8 @@ const pbIndicator = {
|
|
|
19
19
|
big: typography.text_large,
|
|
20
20
|
medium: typography.text_base,
|
|
21
21
|
small: typography.text_small,
|
|
22
|
-
micro: typography.text_small
|
|
23
|
-
}
|
|
22
|
+
micro: typography.text_small,
|
|
23
|
+
},
|
|
24
24
|
},
|
|
25
25
|
value: {
|
|
26
26
|
fontFamily: typography.font_family_base,
|
|
@@ -30,8 +30,8 @@ const pbIndicator = {
|
|
|
30
30
|
big: typography.heading_1,
|
|
31
31
|
medium: typography.heading_1,
|
|
32
32
|
small: typography.text_base,
|
|
33
|
-
micro: typography.text_small
|
|
34
|
-
}
|
|
33
|
+
micro: typography.text_small,
|
|
34
|
+
},
|
|
35
35
|
},
|
|
36
36
|
secondaryValue: {
|
|
37
37
|
fontFamily: typography.font_family_base,
|
|
@@ -39,9 +39,9 @@ const pbIndicator = {
|
|
|
39
39
|
big: typography.text_large,
|
|
40
40
|
medium: typography.text_base,
|
|
41
41
|
small: typography.text_small,
|
|
42
|
-
micro: typography.text_small
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
42
|
+
micro: typography.text_small,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
}
|
|
46
46
|
|
|
47
|
-
export default pbIndicator
|
|
47
|
+
export default pbIndicator
|