playbook_ui 7.0.0.pre.alpha10 → 7.0.0.pre.alpha11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/app/controllers/playbook/application_controller.rb +2 -0
- data/app/helpers/playbook/application_helper.rb +19 -0
- data/app/helpers/playbook/pb_kit_helper.rb +18 -3
- 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/pb_avatar/_avatar.jsx +13 -4
- 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/_badge.jsx +4 -2
- 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_bar_graph/_bar_graph.jsx +1 -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/_button.jsx +5 -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_button_toolbar/_button_toolbar.jsx +5 -1
- data/app/pb_kits/playbook/pb_caption/_caption.jsx +2 -2
- 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/_checkbox.jsx +5 -2
- data/app/pb_kits/playbook/pb_checkbox/checkbox.rb +3 -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/_checkbox_options.html.erb +10 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_checkbox/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.html.erb +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.jsx +130 -0
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.scss +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +39 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +29 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +28 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +117 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +53 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +30 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +45 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +30 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +45 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +11 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +9 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx +5 -1
- 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/_contact.jsx +5 -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/_currency.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/_dashboard_value.jsx +5 -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_picker/_date_picker.jsx +2 -2
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +4 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.jsx +34 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md +3 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.jsx +5 -1
- data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.jsx +2 -2
- data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.jsx +5 -1
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +2 -2
- data/app/pb_kits/playbook/pb_flex/_flex.jsx +2 -2
- data/app/pb_kits/playbook/pb_flex/_flex_item.jsx +1 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +9 -1
- data/app/pb_kits/playbook/pb_form/form_builder/checkbox_field.rb +7 -2
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.jsx +3 -2
- data/app/pb_kits/playbook/pb_gauge/_gauge.jsx +1 -1
- 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_highlight/_highlight.jsx +1 -1
- data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +2 -2
- 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_icon/_icon.jsx +2 -2
- data/app/pb_kits/playbook/pb_icon_value/_icon_value.jsx +5 -1
- data/app/pb_kits/playbook/pb_image/_image.jsx +5 -1
- data/app/pb_kits/playbook/pb_label_pill/_label_pill.jsx +5 -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_layout/_layout.jsx +4 -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_line_graph/_line_graph.jsx +1 -1
- data/app/pb_kits/playbook/pb_list/_list.jsx +3 -2
- data/app/pb_kits/playbook/pb_list/_list_item.jsx +3 -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_logistic/_logistic.jsx +5 -1
- data/app/pb_kits/playbook/pb_message/_message.jsx +5 -1
- data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx +5 -2
- 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/_nav.jsx +2 -2
- 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_person/_person.jsx +5 -1
- data/app/pb_kits/playbook/pb_person_contact/_person_contact.jsx +5 -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_popover/_popover.jsx +5 -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_simple/_progress_simple.jsx +4 -4
- data/app/pb_kits/playbook/pb_progress_step/_progress_step.jsx +1 -1
- 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/_radio.html.erb +1 -1
- data/app/pb_kits/playbook/pb_radio/docs/_radio_options.html.erb +9 -0
- data/app/pb_kits/playbook/pb_radio/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_radio/docs/index.js +0 -3
- data/app/pb_kits/playbook/pb_radio/radio.rb +2 -4
- data/app/pb_kits/playbook/pb_section_separator/_section_separator.jsx +1 -1
- 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/_select.scss +1 -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_stat_change/_stat_change.jsx +2 -2
- data/app/pb_kits/playbook/pb_stat_value/_stat_value.jsx +3 -3
- data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.jsx +6 -1
- data/app/pb_kits/playbook/pb_table/_table.jsx +2 -2
- 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.jsx +1 -1
- 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/_textarea.jsx +1 -1
- 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.jsx +2 -2
- data/app/pb_kits/playbook/pb_time/docs/_time_default.html.erb +4 -4
- data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.html.erb +2 -1
- data/app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb +1 -5
- data/app/pb_kits/playbook/pb_time/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_time/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_time/time.rb +1 -1
- data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.jsx +1 -1
- 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/_time_stacked.jsx +3 -3
- 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_timestamp/_timestamp.jsx +1 -1
- data/app/pb_kits/playbook/pb_title/_title.jsx +5 -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/_title_count.jsx +5 -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_title_detail/_title_detail.jsx +1 -1
- data/app/pb_kits/playbook/pb_toggle/_toggle.jsx +3 -3
- data/app/pb_kits/playbook/pb_toggle/_toggle.scss +41 -43
- data/app/pb_kits/playbook/pb_toggle/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_toggle/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_toggle/toggle.rb +1 -1
- 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/_user_badge.jsx +5 -2
- 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/plugins/pb_chart.js +1 -1
- data/app/pb_kits/playbook/tokens/_colors.scss +1 -1
- data/lib/generators/kit/kit_generator.rb +1 -1
- data/lib/generators/kit/templates/kit_jsx.erb.tt +1 -1
- data/lib/playbook/version.rb +1 -2
- data/lib/tasks/pb_release.rake +6 -2
- metadata +17 -121
- 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_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.html.erb +0 -70
- data/app/pb_kits/playbook/pb_time/docs/_time_dark.jsx +0 -21
- 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_toggle/docs/_toggle_size.html.erb +0 -11
- data/app/pb_kits/playbook/pb_toggle/docs/_toggle_size.jsx +0 -44
- 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
@@ -1,30 +0,0 @@
|
|
1
|
-
<div class="pb--doc-demo-row">
|
2
|
-
|
3
|
-
<%= pb_rails("selectable_card_icon", props: {
|
4
|
-
icon: "volume",
|
5
|
-
title_text: "Sound",
|
6
|
-
body_text: "Silent Mode",
|
7
|
-
input_id: 10,
|
8
|
-
checked: true,
|
9
|
-
card_icon: true,
|
10
|
-
dark: true
|
11
|
-
}) %>
|
12
|
-
|
13
|
-
<%= pb_rails("selectable_card_icon", props: {
|
14
|
-
icon: "location",
|
15
|
-
title_text: "Location",
|
16
|
-
body_text: "Allow ",
|
17
|
-
input_id: 12,
|
18
|
-
dark: true
|
19
|
-
}) %>
|
20
|
-
|
21
|
-
<%= pb_rails("selectable_card_icon", props: {
|
22
|
-
icon: "wifi",
|
23
|
-
title_text: "WiFi",
|
24
|
-
body_text: "Disabled",
|
25
|
-
input_id: 13,
|
26
|
-
disabled: true,
|
27
|
-
dark: true
|
28
|
-
}) %>
|
29
|
-
|
30
|
-
</div>
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import React, { useState } from 'react'
|
2
|
-
import { SelectableCardIcon } from '../../'
|
3
|
-
|
4
|
-
const SelectableCardIconDark = () => {
|
5
|
-
const [selected, setSelected] = useState(true)
|
6
|
-
const [unselected, setUnselected] = useState(false)
|
7
|
-
|
8
|
-
return (
|
9
|
-
<div className="pb--doc-demo-row">
|
10
|
-
<SelectableCardIcon
|
11
|
-
bodyText="Silent Mode"
|
12
|
-
checked={selected}
|
13
|
-
dark
|
14
|
-
icon="volume"
|
15
|
-
inputId={10}
|
16
|
-
onChange={() => setSelected(!selected)}
|
17
|
-
titleText="Sound"
|
18
|
-
/>
|
19
|
-
<SelectableCardIcon
|
20
|
-
bodyText="Allow location data"
|
21
|
-
checked={unselected}
|
22
|
-
dark
|
23
|
-
icon="location"
|
24
|
-
inputId={11}
|
25
|
-
onChange={() => setUnselected(!unselected)}
|
26
|
-
titleText="Location"
|
27
|
-
/>
|
28
|
-
<SelectableCardIcon
|
29
|
-
bodyText="Disabled"
|
30
|
-
dark
|
31
|
-
disabled
|
32
|
-
icon="wifi"
|
33
|
-
inputId={12}
|
34
|
-
titleText="WiFi"
|
35
|
-
/>
|
36
|
-
</div>
|
37
|
-
)
|
38
|
-
}
|
39
|
-
|
40
|
-
export default SelectableCardIconDark
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<div class="pb--doc-demo-row">
|
2
|
-
|
3
|
-
<%= pb_rails("selectable_icon", props: {
|
4
|
-
icon: "file-word",
|
5
|
-
dark: true,
|
6
|
-
input_id: 7,
|
7
|
-
checked: true,
|
8
|
-
text: "Doc"
|
9
|
-
}) %>
|
10
|
-
|
11
|
-
<%= pb_rails("selectable_icon", props: {
|
12
|
-
icon: "file-pdf",
|
13
|
-
dark: true,
|
14
|
-
input_id: 8,
|
15
|
-
text: "PDF"
|
16
|
-
}) %>
|
17
|
-
|
18
|
-
<%= pb_rails("selectable_icon", props: {
|
19
|
-
icon: "file-image",
|
20
|
-
dark: true,
|
21
|
-
input_id: 9,
|
22
|
-
disabled: true,
|
23
|
-
text: "PNG"
|
24
|
-
}) %>
|
25
|
-
|
26
|
-
</div>
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import React, { useState } from 'react'
|
2
|
-
import { SelectableIcon } from '../../'
|
3
|
-
|
4
|
-
const SelectableIconDark = () => {
|
5
|
-
const [ checkSelected, toggleSelected ] = useState(true)
|
6
|
-
const [ checkUnselected, toggleUnselected ] = useState(false)
|
7
|
-
const [ checkDisabled, toggleDisabled ] = useState(false)
|
8
|
-
|
9
|
-
return (
|
10
|
-
|
11
|
-
<div className="pb--doc-demo-row">
|
12
|
-
<SelectableIcon
|
13
|
-
checked={checkSelected}
|
14
|
-
dark
|
15
|
-
icon="file-word"
|
16
|
-
inputId={16}
|
17
|
-
onChange={() => toggleSelected(!checkSelected)}
|
18
|
-
text="Doc"
|
19
|
-
/>
|
20
|
-
|
21
|
-
<SelectableIcon
|
22
|
-
checked={checkUnselected}
|
23
|
-
dark
|
24
|
-
icon="file-pdf"
|
25
|
-
inputId={17}
|
26
|
-
onChange={() => toggleUnselected(!checkUnselected)}
|
27
|
-
text="PDF"
|
28
|
-
/>
|
29
|
-
|
30
|
-
<SelectableIcon
|
31
|
-
checked={checkDisabled}
|
32
|
-
dark
|
33
|
-
disabled
|
34
|
-
icon="file-image"
|
35
|
-
inputId={18}
|
36
|
-
onChange={() => toggleDisabled(!checkDisabled)}
|
37
|
-
text="PNG"
|
38
|
-
/>
|
39
|
-
</div>
|
40
|
-
)
|
41
|
-
}
|
42
|
-
|
43
|
-
export default SelectableIconDark
|
@@ -1,34 +0,0 @@
|
|
1
|
-
<%= pb_rails("table", props: { size: "md", container: false, dark: true }) do %>
|
2
|
-
<thead>
|
3
|
-
<tr>
|
4
|
-
<th>Column 1</th>
|
5
|
-
<th>Column 2</th>
|
6
|
-
<th>Column 3</th>
|
7
|
-
<th>Column 4</th>
|
8
|
-
<th>Column 5</th>
|
9
|
-
</tr>
|
10
|
-
</thead>
|
11
|
-
<tbody>
|
12
|
-
<tr>
|
13
|
-
<td>Value 1</td>
|
14
|
-
<td>Value 2</td>
|
15
|
-
<td>Value 3</td>
|
16
|
-
<td>Value 4</td>
|
17
|
-
<td>Value 5</td>
|
18
|
-
</tr>
|
19
|
-
<tr>
|
20
|
-
<td>Value 1</td>
|
21
|
-
<td>Value 2</td>
|
22
|
-
<td>Value 3</td>
|
23
|
-
<td>Value 4</td>
|
24
|
-
<td>Value 5</td>
|
25
|
-
</tr>
|
26
|
-
<tr>
|
27
|
-
<td>Value 1</td>
|
28
|
-
<td>Value 2</td>
|
29
|
-
<td>Value 3</td>
|
30
|
-
<td>Value 4</td>
|
31
|
-
<td>Value 5</td>
|
32
|
-
</tr>
|
33
|
-
</tbody>
|
34
|
-
<% end %>
|
@@ -1,47 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import { Table } from '../../'
|
3
|
-
|
4
|
-
const TableContainerDark = () => {
|
5
|
-
return (
|
6
|
-
<Table
|
7
|
-
container={false}
|
8
|
-
dark
|
9
|
-
size="md"
|
10
|
-
>
|
11
|
-
<thead>
|
12
|
-
<tr>
|
13
|
-
<th>{'Column 1'}</th>
|
14
|
-
<th>{'Column 2'}</th>
|
15
|
-
<th>{'Column 3'}</th>
|
16
|
-
<th>{'Column 4'}</th>
|
17
|
-
<th>{'Column 5'}</th>
|
18
|
-
</tr>
|
19
|
-
</thead>
|
20
|
-
<tbody>
|
21
|
-
<tr>
|
22
|
-
<td>{'Value 1'}</td>
|
23
|
-
<td>{'Value 2'}</td>
|
24
|
-
<td>{'Value 3'}</td>
|
25
|
-
<td>{'Value 4'}</td>
|
26
|
-
<td>{'Value 5'}</td>
|
27
|
-
</tr>
|
28
|
-
<tr>
|
29
|
-
<td>{'Value 1'}</td>
|
30
|
-
<td>{'Value 2'}</td>
|
31
|
-
<td>{'Value 3'}</td>
|
32
|
-
<td>{'Value 4'}</td>
|
33
|
-
<td>{'Value 5'}</td>
|
34
|
-
</tr>
|
35
|
-
<tr>
|
36
|
-
<td>{'Value 1'}</td>
|
37
|
-
<td>{'Value 2'}</td>
|
38
|
-
<td>{'Value 3'}</td>
|
39
|
-
<td>{'Value 4'}</td>
|
40
|
-
<td>{'Value 5'}</td>
|
41
|
-
</tr>
|
42
|
-
</tbody>
|
43
|
-
</Table>
|
44
|
-
)
|
45
|
-
}
|
46
|
-
|
47
|
-
export default TableContainerDark
|
@@ -1,34 +0,0 @@
|
|
1
|
-
<%= pb_rails("table", props: { size: "md", dark: true }) do %>
|
2
|
-
<thead>
|
3
|
-
<tr>
|
4
|
-
<th>Column 1</th>
|
5
|
-
<th>Column 2</th>
|
6
|
-
<th>Column 3</th>
|
7
|
-
<th>Column 4</th>
|
8
|
-
<th>Column 5</th>
|
9
|
-
</tr>
|
10
|
-
</thead>
|
11
|
-
<tbody>
|
12
|
-
<tr>
|
13
|
-
<td>Value 1</td>
|
14
|
-
<td>Value 2</td>
|
15
|
-
<td>Value 3</td>
|
16
|
-
<td>Value 4</td>
|
17
|
-
<td>Value 5</td>
|
18
|
-
</tr>
|
19
|
-
<tr>
|
20
|
-
<td>Value 1</td>
|
21
|
-
<td>Value 2</td>
|
22
|
-
<td>Value 3</td>
|
23
|
-
<td>Value 4</td>
|
24
|
-
<td>Value 5</td>
|
25
|
-
</tr>
|
26
|
-
<tr>
|
27
|
-
<td>Value 1</td>
|
28
|
-
<td>Value 2</td>
|
29
|
-
<td>Value 3</td>
|
30
|
-
<td>Value 4</td>
|
31
|
-
<td>Value 5</td>
|
32
|
-
</tr>
|
33
|
-
</tbody>
|
34
|
-
<% end %>
|
@@ -1,46 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import { Table } from '../../'
|
3
|
-
|
4
|
-
const TableDark = () => {
|
5
|
-
return (
|
6
|
-
<Table
|
7
|
-
dark
|
8
|
-
size="md"
|
9
|
-
>
|
10
|
-
<thead>
|
11
|
-
<tr>
|
12
|
-
<th>{'Column 1'}</th>
|
13
|
-
<th>{'Column 2'}</th>
|
14
|
-
<th>{'Column 3'}</th>
|
15
|
-
<th>{'Column 4'}</th>
|
16
|
-
<th>{'Column 5'}</th>
|
17
|
-
</tr>
|
18
|
-
</thead>
|
19
|
-
<tbody>
|
20
|
-
<tr>
|
21
|
-
<td>{'Value 1'}</td>
|
22
|
-
<td>{'Value 2'}</td>
|
23
|
-
<td>{'Value 3'}</td>
|
24
|
-
<td>{'Value 4'}</td>
|
25
|
-
<td>{'Value 5'}</td>
|
26
|
-
</tr>
|
27
|
-
<tr>
|
28
|
-
<td>{'Value 1'}</td>
|
29
|
-
<td>{'Value 2'}</td>
|
30
|
-
<td>{'Value 3'}</td>
|
31
|
-
<td>{'Value 4'}</td>
|
32
|
-
<td>{'Value 5'}</td>
|
33
|
-
</tr>
|
34
|
-
<tr>
|
35
|
-
<td>{'Value 1'}</td>
|
36
|
-
<td>{'Value 2'}</td>
|
37
|
-
<td>{'Value 3'}</td>
|
38
|
-
<td>{'Value 4'}</td>
|
39
|
-
<td>{'Value 5'}</td>
|
40
|
-
</tr>
|
41
|
-
</tbody>
|
42
|
-
</Table>
|
43
|
-
)
|
44
|
-
}
|
45
|
-
|
46
|
-
export default TableDark
|
@@ -1,5 +0,0 @@
|
|
1
|
-
<%= pb_rails("text_input", props: { label: "First Name", placeholder: "Enter first name", value: "Timothy Wenhold", dark: true }) %>
|
2
|
-
<%= pb_rails("text_input", props: { label: "Last Name", placeholder: "Enter last name", dark: true }) %>
|
3
|
-
<%= pb_rails("text_input", props: { label: "Phone Number", type: "phone", placeholder: "Enter phone number", dark: true }) %>
|
4
|
-
<%= pb_rails("text_input", props: { label: "Email Address", type: "email", placeholder: "Enter email address", dark: true }) %>
|
5
|
-
<%= pb_rails("text_input", props: { label: "Zip Code", type: "number", placeholder: "Enter zip code", dark: true }) %>
|
@@ -1,78 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import {
|
3
|
-
Caption,
|
4
|
-
TextInput,
|
5
|
-
Title,
|
6
|
-
} from '../../'
|
7
|
-
|
8
|
-
class TextInputDark extends React.Component {
|
9
|
-
state = {
|
10
|
-
firstName: '',
|
11
|
-
}
|
12
|
-
|
13
|
-
render() {
|
14
|
-
const handleOnChange = ({ target }) => this.setState({ firstName: target.value })
|
15
|
-
|
16
|
-
const {
|
17
|
-
firstName,
|
18
|
-
} = this.state
|
19
|
-
|
20
|
-
return (
|
21
|
-
<div>
|
22
|
-
<TextInput
|
23
|
-
dark
|
24
|
-
label="First Name"
|
25
|
-
placeholder="Enter first name"
|
26
|
-
value="Timothy Wenhold"
|
27
|
-
/>
|
28
|
-
<TextInput
|
29
|
-
dark
|
30
|
-
label="Last Name"
|
31
|
-
placeholder="Enter last name"
|
32
|
-
/>
|
33
|
-
<TextInput
|
34
|
-
dark
|
35
|
-
label="Phone Number"
|
36
|
-
placeholder="Enter phone number"
|
37
|
-
type="phone"
|
38
|
-
/>
|
39
|
-
<TextInput
|
40
|
-
dark
|
41
|
-
label="Email Address"
|
42
|
-
placeholder="Enter email address"
|
43
|
-
type="email"
|
44
|
-
/>
|
45
|
-
<TextInput
|
46
|
-
dark
|
47
|
-
label="Zip Code"
|
48
|
-
placeholder="Enter zip code"
|
49
|
-
type="number"
|
50
|
-
/>
|
51
|
-
|
52
|
-
<br />
|
53
|
-
<br />
|
54
|
-
|
55
|
-
<Title dark>{'Event Handler Props'}</Title>
|
56
|
-
|
57
|
-
<br />
|
58
|
-
<Caption>{'onChange'}</Caption>
|
59
|
-
|
60
|
-
<br />
|
61
|
-
|
62
|
-
<TextInput
|
63
|
-
dark
|
64
|
-
label="First Name"
|
65
|
-
onChange={handleOnChange}
|
66
|
-
placeholder="Enter first name"
|
67
|
-
value={firstName}
|
68
|
-
/>
|
69
|
-
|
70
|
-
<If condition={firstName !== ''}>
|
71
|
-
{`First name is: ${firstName}`}
|
72
|
-
</If>
|
73
|
-
</div>
|
74
|
-
)
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
export default TextInputDark
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<%= pb_rails("text_input", props: {
|
2
|
-
dark: true,
|
3
|
-
error: "Please enter a valid email address",
|
4
|
-
label: "Email Address",
|
5
|
-
type: "email",
|
6
|
-
placeholder: "Enter email address"
|
7
|
-
}) %>
|
8
|
-
|
9
|
-
<%= pb_rails("text_input", props: {
|
10
|
-
dark: true,
|
11
|
-
label: "Confirm Email Address",
|
12
|
-
type: "email",
|
13
|
-
placeholder: "Confirm email address"
|
14
|
-
}) %>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import {
|
3
|
-
TextInput,
|
4
|
-
} from '../..'
|
5
|
-
|
6
|
-
const TextInputDarkError = () => (
|
7
|
-
<div>
|
8
|
-
<TextInput
|
9
|
-
dark
|
10
|
-
error="Please enter a valid email address"
|
11
|
-
label="Email Address"
|
12
|
-
placeholder="Enter email address"
|
13
|
-
type="email"
|
14
|
-
/>
|
15
|
-
</div>
|
16
|
-
)
|
17
|
-
|
18
|
-
export default TextInputDarkError
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<%= pb_rails("textarea", props: { label: "Label", rows: 4, dark: true }) %>
|
2
|
-
|
3
|
-
<br/>
|
4
|
-
|
5
|
-
<%= pb_rails("textarea", props: { label: "Label", placeholder: "Placeholder text", dark: true }) %>
|
6
|
-
|
7
|
-
<br/>
|
8
|
-
|
9
|
-
<%= pb_rails("textarea", props: { label: "Label", name: "comment", value: "Default value text", dark: true }) %>
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import { Textarea } from '../../'
|
3
|
-
|
4
|
-
const TextareaDark = () => {
|
5
|
-
return (
|
6
|
-
<div>
|
7
|
-
<Textarea
|
8
|
-
dark
|
9
|
-
label="Label"
|
10
|
-
rows={4}
|
11
|
-
/>
|
12
|
-
|
13
|
-
<br />
|
14
|
-
|
15
|
-
<Textarea
|
16
|
-
dark
|
17
|
-
label="Label"
|
18
|
-
placeholder="Placeholder text"
|
19
|
-
/>
|
20
|
-
|
21
|
-
<br />
|
22
|
-
|
23
|
-
<Textarea
|
24
|
-
dark
|
25
|
-
label="Label"
|
26
|
-
name="comment"
|
27
|
-
placeholder="Placeholder text"
|
28
|
-
value="Default value text"
|
29
|
-
/>
|
30
|
-
</div>
|
31
|
-
)
|
32
|
-
}
|
33
|
-
|
34
|
-
export default TextareaDark
|