playbook_ui 7.13.0.pre.alpha1 → 7.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/playbook/pb_sample_helper.rb +1 -1
- data/app/pb_kits/playbook/_playbook.scss +8 -8
- data/app/pb_kits/playbook/data/menu.yml +0 -1
- data/app/pb_kits/playbook/index.js +2 -2
- data/app/pb_kits/playbook/pb_avatar/_avatar.html.erb +4 -6
- data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +6 -2
- data/app/pb_kits/playbook/pb_avatar/avatar.rb +4 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.html.erb +5 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.jsx +41 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_no_image.md +2 -0
- data/app/pb_kits/playbook/pb_avatar/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_avatar/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_background/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_background/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_card/_card.jsx +3 -1
- data/app/pb_kits/playbook/pb_card/_card.scss +2 -2
- data/app/pb_kits/playbook/pb_card/_card_mixin.scss +6 -0
- data/app/pb_kits/playbook/pb_card/card.rb +9 -1
- data/app/pb_kits/playbook/pb_card/docs/_card_border_radius.html.erb +53 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_radius.jsx +71 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_radius.md +1 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_light.md +1 -0
- data/app/pb_kits/playbook/pb_card/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_card/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx +1 -0
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_date_stacked/docs/example.yml +0 -7
- data/app/pb_kits/playbook/pb_date_stacked/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_date_time/_date_time.jsx +2 -2
- data/app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx +2 -2
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.jsx +9 -4
- data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.scss +12 -7
- data/app/pb_kits/playbook/pb_distribution_bar/distribution_bar.rb +4 -1
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.html.erb +4 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.jsx +18 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.md +1 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_distribution_bar/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.jsx +12 -1
- data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.jsx +5 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_close_popover.jsx +61 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_default.html.erb +41 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_default.jsx +84 -37
- data/app/pb_kits/playbook/pb_filter/docs/_filter_default.md +1 -0
- data/app/pb_kits/playbook/pb_filter/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_filter/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_filter/templates/_core.html.erb +18 -7
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +5 -1
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +0 -5
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_flex/_flex.jsx +25 -9
- data/app/pb_kits/playbook/pb_flex/_flex.scss +40 -7
- data/app/pb_kits/playbook/pb_flex/_flex_item.jsx +8 -2
- data/app/pb_kits/playbook/pb_flex/_flex_item.scss +19 -0
- data/app/pb_kits/playbook/pb_flex/docs/_description.md +6 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_align.html.erb +101 -0
- data/app/pb_kits/playbook/pb_flex/docs/{_flex_horizontal.jsx → _flex_align.jsx} +71 -77
- data/app/pb_kits/playbook/pb_flex/docs/_flex_align.md +7 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_default.html.erb +15 -15
- data/app/pb_kits/playbook/pb_flex/docs/_flex_default.jsx +17 -15
- data/app/pb_kits/playbook/pb_flex/docs/_flex_default.md +3 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.html.erb +33 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.jsx +75 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_gap.md +9 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_inline.html.erb +8 -8
- data/app/pb_kits/playbook/pb_flex/docs/_flex_inline.md +5 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item.html.erb +49 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item.md +11 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_item_example.jsx +113 -0
- data/app/pb_kits/playbook/pb_flex/docs/{_flex_horizontal.html.erb → _flex_justify.html.erb} +19 -21
- data/app/pb_kits/playbook/pb_flex/docs/{_flex_vertical.jsx → _flex_justify.jsx} +41 -99
- data/app/pb_kits/playbook/pb_flex/docs/_flex_justify.md +7 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_reverse.html.erb +9 -9
- data/app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx +2 -2
- data/app/pb_kits/playbook/pb_flex/docs/_flex_reverse.md +5 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_spacing.html.erb +23 -8
- data/app/pb_kits/playbook/pb_flex/docs/_flex_spacing.jsx +4 -4
- data/app/pb_kits/playbook/pb_flex/docs/_flex_spacing.md +7 -0
- data/app/pb_kits/playbook/pb_flex/docs/_flex_wrap.jsx +1 -1
- data/app/pb_kits/playbook/pb_flex/docs/_flex_wrap.md +5 -0
- data/app/pb_kits/playbook/pb_flex/docs/example.yml +9 -4
- data/app/pb_kits/playbook/pb_flex/docs/index.js +4 -2
- data/app/pb_kits/playbook/pb_flex/flex.rb +79 -12
- data/app/pb_kits/playbook/pb_flex/flex_item.rb +25 -1
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.jsx +7 -1
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +2 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.html.erb +4 -4
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.jsx +12 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.md +2 -1
- data/app/pb_kits/playbook/pb_gauge/docs/example.yml +4 -5
- data/app/pb_kits/playbook/pb_icon/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_icon/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_icon_circle/docs/example.yml +0 -7
- data/app/pb_kits/playbook/pb_icon_circle/docs/index.js +0 -3
- data/app/pb_kits/playbook/pb_icon_value/docs/example.yml +0 -5
- data/app/pb_kits/playbook/pb_icon_value/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_image/_image.html.erb +3 -1
- data/app/pb_kits/playbook/pb_image/_image.jsx +4 -1
- data/app/pb_kits/playbook/pb_image/_image.scss +1 -0
- data/app/pb_kits/playbook/pb_image/docs/_custom_error_image.html.erb +75 -0
- data/app/pb_kits/playbook/pb_image/docs/_custom_error_image.jsx +55 -0
- data/app/pb_kits/playbook/pb_image/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_image/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_image/image.rb +2 -0
- data/app/pb_kits/playbook/{pb_collapsible/child_kits/_collapsible_content.html.erb → pb_layout/_item.html.erb} +1 -2
- data/app/pb_kits/playbook/pb_layout/_layout.jsx +19 -1
- data/app/pb_kits/playbook/pb_layout/_layout.scss +42 -10
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection.html.erb +4 -4
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection.md +1 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_collection_detail.jsx +1 -1
- data/app/pb_kits/playbook/pb_layout/docs/_layout_masonry.html.erb +48 -0
- data/app/pb_kits/playbook/pb_layout/docs/_layout_masonry.jsx +61 -0
- data/app/pb_kits/playbook/pb_layout/docs/example.yml +2 -3
- data/app/pb_kits/playbook/pb_layout/docs/index.js +1 -1
- data/app/pb_kits/playbook/pb_layout/item.rb +25 -0
- data/app/pb_kits/playbook/pb_layout/layout.rb +15 -15
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.jsx +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/example.yml +0 -13
- data/app/pb_kits/playbook/pb_popover/docs/index.js +0 -5
- data/app/pb_kits/playbook/pb_radio/_radio.scss +1 -0
- data/app/pb_kits/playbook/pb_select/_select.scss +6 -4
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb +54 -11
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.jsx +62 -8
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +67 -9
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_block.jsx +41 -44
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_default.html.erb +2 -2
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_default.jsx +53 -62
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_error.html.erb +36 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_error.jsx +58 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_image.jsx +43 -53
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_input.html.erb +105 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_input.jsx +158 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_input.md +1 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_single_select.html.erb +2 -2
- data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_single_select.jsx +46 -53
- data/app/pb_kits/playbook/pb_selectable_card/docs/example.yml +4 -0
- data/app/pb_kits/playbook/pb_selectable_card/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_selectable_card/selectable_card.rb +38 -2
- data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.scss +8 -8
- data/app/pb_kits/playbook/pb_table/_table.jsx +8 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +0 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_responsive_table.html.erb +56 -4
- data/app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx +64 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_sm.md +2 -0
- data/app/pb_kits/playbook/pb_table/styles/_all.scss +3 -0
- data/app/pb_kits/playbook/pb_table/styles/_desktop_collapse.scss +135 -0
- data/app/pb_kits/playbook/pb_table/styles/_mobile_collapse.scss +135 -0
- data/app/pb_kits/playbook/pb_table/styles/_tablet_collapse.scss +135 -0
- data/app/pb_kits/playbook/pb_table/table.rb +8 -1
- data/app/pb_kits/playbook/pb_textarea/_textarea.jsx +10 -2
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.html.erb +2 -2
- data/app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.jsx +9 -1
- data/app/pb_kits/playbook/pb_textarea/index.js +17 -0
- data/app/pb_kits/playbook/pb_textarea/textarea.rb +3 -4
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.html.erb +6 -4
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +92 -16
- data/app/pb_kits/playbook/pb_timestamp/_timestamp.scss +12 -1
- data/app/pb_kits/playbook/pb_timestamp/docs/_description.md +1 -1
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align.jsx +26 -18
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.html.erb +21 -1
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_default.jsx +40 -8
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed.jsx +12 -4
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones.jsx +26 -18
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.html.erb +0 -21
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated.jsx +6 -28
- data/app/pb_kits/playbook/pb_timestamp/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_timestamp/docs/index.js +4 -0
- data/app/pb_kits/playbook/pb_timestamp/timestamp.rb +83 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.html.erb +1 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +6 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +38 -2
- data/app/pb_kits/playbook/pb_typeahead/components/Control.jsx +1 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +2 -4
- data/app/pb_kits/playbook/pb_typeahead/components/Option.jsx +8 -3
- data/app/pb_kits/playbook/pb_typeahead/docs/{_typeahead_with_context_dark.html.erb → _typeahead_with_context.html.erb} +10 -2
- 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_async.jsx +13 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_custom_options.jsx +111 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_custom_options.md +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.html.erb +1 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +3 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +2 -1
- data/app/pb_kits/playbook/pb_user_badge/docs/index.js +0 -1
- data/app/pb_kits/playbook/tokens/_border_radius.scss +21 -7
- data/app/pb_kits/playbook/utilities/_max_width.scss +15 -0
- data/app/pb_kits/playbook/utilities/_spacing.scss +20 -20
- data/app/pb_kits/playbook/utilities/globalProps.js +7 -1
- data/app/pb_kits/playbook/vendor.js +3 -3
- data/lib/playbook.rb +1 -0
- data/lib/playbook/markdown/template_handler.rb +45 -0
- data/lib/playbook/props.rb +23 -1
- data/lib/playbook/version.rb +1 -1
- metadata +54 -72
- data/app/pb_kits/playbook/pb_background/docs/_background_dark.html.erb +0 -3
- data/app/pb_kits/playbook/pb_background/docs/_background_dark.jsx +0 -12
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.html.erb +0 -9
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.jsx +0 -77
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.scss +0 -15
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.jsx +0 -40
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.jsx +0 -59
- data/app/pb_kits/playbook/pb_collapsible/child_kits/_collapsible_main.html.erb +0 -16
- data/app/pb_kits/playbook/pb_collapsible/collapsible.rb +0 -15
- data/app/pb_kits/playbook/pb_collapsible/collapsible_content.rb +0 -21
- data/app/pb_kits/playbook/pb_collapsible/collapsible_main.rb +0 -21
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.html.erb +0 -10
- data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.jsx +0 -19
- data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +0 -8
- data/app/pb_kits/playbook/pb_collapsible/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_collapsible/index.js +0 -79
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_date_range_stacked_dark.html.erb +0 -1
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_date_range_stacked_dark.jsx +0 -15
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_dark.html.erb +0 -5
- data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_dark.jsx +0 -26
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_dark.html.erb +0 -1
- data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_dark.jsx +0 -14
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_dark.html.erb +0 -5
- data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_dark.jsx +0 -28
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dark.html.erb +0 -21
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dark.jsx +0 -43
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.html.erb +0 -5
- data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.jsx +0 -17
- data/app/pb_kits/playbook/pb_flex/docs/_flex_vertical.html.erb +0 -68
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default_dark.html.erb +0 -3
- data/app/pb_kits/playbook/pb_icon/docs/_icon_default_dark.jsx +0 -18
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_dark.html.erb +0 -42
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_dark.jsx +0 -66
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_dark.html.erb +0 -4
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_dark.jsx +0 -17
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_dark.html.erb +0 -29
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_dark.jsx +0 -38
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align_dark.html.erb +0 -23
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align_dark.jsx +0 -37
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_dark.html.erb +0 -21
- data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_dark.jsx +0 -35
- data/app/pb_kits/playbook/pb_layout/docs/_layout_sizes_dark.html.erb +0 -32
- data/app/pb_kits/playbook/pb_layout/docs/_layout_sizes_dark.jsx +0 -97
- data/app/pb_kits/playbook/pb_popover/docs/_popover_close_dark.html.erb +0 -43
- data/app/pb_kits/playbook/pb_popover/docs/_popover_close_dark.jsx +0 -105
- data/app/pb_kits/playbook/pb_popover/docs/_popover_dark.html.erb +0 -25
- data/app/pb_kits/playbook/pb_popover/docs/_popover_dark.jsx +0 -51
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list_dark.html.erb +0 -13
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list_dark.jsx +0 -54
- data/app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height_dark.html.erb +0 -25
- data/app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height_dark.jsx +0 -57
- data/app/pb_kits/playbook/pb_popover/docs/_popover_z_index_dark.html.erb +0 -14
- data/app/pb_kits/playbook/pb_popover/docs/_popover_z_index_dark.jsx +0 -54
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed_align.html.erb +0 -54
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_elapsed_align.jsx +0 -73
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones_align.html.erb +0 -177
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_timezones_align.jsx +0 -209
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_align.html.erb +0 -123
- data/app/pb_kits/playbook/pb_timestamp/docs/_timestamp_updated_align.jsx +0 -146
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size_dark.html.erb +0 -21
- data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size_dark.jsx +0 -36
@@ -0,0 +1 @@
|
|
1
|
+
Filter can leverage the max-width property. Learn more in our <a href="https://playbook.powerapp.cloud/visual_guidelines" target="_blank">visual guidelines.</a>
|
@@ -5,3 +5,4 @@ export { default as FilterNoBackground } from './_filter_no_background.jsx'
|
|
5
5
|
export { default as FilterOnly } from './_filter_only.jsx'
|
6
6
|
export { default as SortOnly } from './_sort_only.jsx'
|
7
7
|
export { default as FilterMinWidth } from './_filter_min_width.jsx'
|
8
|
+
export { default as FilterClosePopover } from './_filter_close_popover.jsx'
|
@@ -6,12 +6,24 @@
|
|
6
6
|
<div class="maskContainer">
|
7
7
|
<div class="filters">
|
8
8
|
<div class="left_gradient"></div>
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
<% object.filters.each do |filter| %>
|
10
|
+
<% if filter[:name]== "" %>
|
11
|
+
<div>
|
12
|
+
<%= pb_rails("body", props: {
|
13
|
+
color: "light",
|
14
|
+
padding_left: "xs",
|
15
|
+
size: 4,
|
16
|
+
tag:"h4",
|
17
|
+
text: "No Filter Selected"
|
18
|
+
}) %>
|
19
|
+
</div>
|
20
|
+
<% else %>
|
21
|
+
<div class="filter">
|
22
|
+
<%= pb_rails("caption", props: { text: filter[:name]}) %>
|
23
|
+
<%= pb_rails("title", props: { size: 4, tag:"h4", text: filter[:value]}) %>
|
24
|
+
</div>
|
25
|
+
<% end %>
|
26
|
+
<% end %>
|
15
27
|
<div class="right_gradient"></div>
|
16
28
|
</div>
|
17
29
|
</div>
|
@@ -20,7 +32,6 @@
|
|
20
32
|
<% end %>
|
21
33
|
<% end %>
|
22
34
|
|
23
|
-
|
24
35
|
<% if (object.template == "single" ) || (object.template == "sort_only") %>
|
25
36
|
<% unless object.sort_menu == [{}] %>
|
26
37
|
<%= pb_rails("button", props: {variant: "link",id: "sort-button#{object.id}",padding_right: "none"}) do %>
|
@@ -31,11 +31,15 @@ const FixedConfirmationToast = (props: FixedConfirmationToastProps) => {
|
|
31
31
|
)
|
32
32
|
const icon = iconMap[status]
|
33
33
|
|
34
|
+
const handleClick = () => {
|
35
|
+
toggleToast(!closeable)
|
36
|
+
}
|
37
|
+
|
34
38
|
return (
|
35
39
|
<If condition={showToast}>
|
36
40
|
<div
|
37
41
|
className={css}
|
38
|
-
onClick={
|
42
|
+
onClick={handleClick}
|
39
43
|
>
|
40
44
|
<If condition={icon}>
|
41
45
|
<Icon
|
@@ -4,13 +4,8 @@ examples:
|
|
4
4
|
- fixed_confirmation_toast_default: Default
|
5
5
|
- fixed_confirmation_toast_multi_line: Multi Line
|
6
6
|
- fixed_confirmation_toast_close: Click to Close
|
7
|
-
- fixed_confirmation_toast_dark: Dark
|
8
|
-
- fixed_confirmation_toast_multi_line_dark: Multi Line Dark
|
9
7
|
|
10
8
|
react:
|
11
9
|
- fixed_confirmation_toast_default: Default
|
12
10
|
- fixed_confirmation_toast_multi_line: Multi Line
|
13
11
|
- fixed_confirmation_toast_close: Click to Close
|
14
|
-
- fixed_confirmation_toast_dark: Dark
|
15
|
-
- fixed_confirmation_toast_multi_line_dark: Multi Line Dark
|
16
|
-
|
@@ -1,5 +1,3 @@
|
|
1
1
|
export { default as FixedConfirmationToastDefault } from './_fixed_confirmation_toast_default.jsx'
|
2
2
|
export { default as FixedConfirmationToastMultiLine } from './_fixed_confirmation_toast_multi_line.jsx'
|
3
3
|
export { default as FixedConfirmationToastClose } from './_fixed_confirmation_toast_close.jsx'
|
4
|
-
export { default as FixedConfirmationToastDark } from './_fixed_confirmation_toast_dark.jsx'
|
5
|
-
export { default as FixedConfirmationToastMultiLineDark } from './_fixed_confirmation_toast_multi_line_dark.jsx'
|
@@ -7,35 +7,48 @@ import { globalProps } from '../utilities/globalProps.js'
|
|
7
7
|
type FlexProps = {
|
8
8
|
children: array<React.ReactNode> | React.ReactNode,
|
9
9
|
className?: string,
|
10
|
-
horizontal?: "left" | "center" | "right" | "stretch",
|
10
|
+
horizontal?: "left" | "center" | "right" | "stretch" | "none",
|
11
|
+
justify?: "start" | "center" | "end" | "around" | "between" | "evenly" | "none",
|
11
12
|
id?: string,
|
12
13
|
inline?: boolean,
|
13
14
|
orientation?: "row" | "column",
|
14
15
|
spacing?: "around" | "between" | "evenly" | "none",
|
15
16
|
reverse?: boolean,
|
16
|
-
vertical?: "top" | "center" | "bottom" | "stretch" | "baseline",
|
17
|
+
vertical?: "top" | "center" | "bottom" | "stretch" | "baseline" | "none",
|
18
|
+
align?: "start" | "center" | "end" | "stretch" | "baseline" | "none",
|
19
|
+
gap?: "xs" | "sm" | "md" | "lg" | "xl" | "none",
|
20
|
+
rowGap?: "xs" | "sm" | "md" | "lg" | "xl" | "none",
|
21
|
+
columnGap?: "xs" | "sm" | "md" | "lg" | "xl" | "none",
|
17
22
|
wrap?: boolean,
|
18
23
|
}
|
19
24
|
|
20
25
|
const Flex = (props: FlexProps) => {
|
21
26
|
const {
|
27
|
+
align = 'none',
|
22
28
|
children,
|
23
29
|
className,
|
24
30
|
inline = false,
|
25
31
|
horizontal = 'left',
|
32
|
+
justify = 'none',
|
26
33
|
orientation = 'row',
|
27
34
|
spacing = 'none',
|
35
|
+
gap = 'none',
|
36
|
+
rowGap = 'none',
|
37
|
+
columnGap = 'none',
|
28
38
|
reverse = false,
|
29
39
|
vertical = 'top',
|
30
40
|
wrap = false,
|
31
41
|
} = props
|
32
42
|
const orientationClass =
|
33
43
|
orientation !== undefined ? `orientation_${orientation}` : ''
|
34
|
-
const
|
35
|
-
|
36
|
-
const
|
44
|
+
const justifyClass =
|
45
|
+
justify !== 'none' ? `justify_content_${justify}` : `justify_content_${horizontal}`
|
46
|
+
const alignClass = align !== 'none' ? `align_items_${align}` : `align_items_${vertical}`
|
37
47
|
const inlineClass = inline === true ? 'inline' : ''
|
38
48
|
const spacingClass = spacing !== undefined ? `spacing_${spacing}` : ''
|
49
|
+
const gapClass = gap !== 'none' ? `gap_${gap}` : ''
|
50
|
+
const rowGapClass = rowGap !== 'none' ? `rowGap_${rowGap}` : ''
|
51
|
+
const columnGapClass = columnGap !== 'none' ? `columnGap_${columnGap}` : ''
|
39
52
|
const wrapClass = wrap === true ? 'wrap' : ''
|
40
53
|
const reverseClass = reverse === true ? 'reverse' : ''
|
41
54
|
return (
|
@@ -44,12 +57,15 @@ const Flex = (props: FlexProps) => {
|
|
44
57
|
buildCss(
|
45
58
|
'pb_flex_kit',
|
46
59
|
orientationClass,
|
47
|
-
|
48
|
-
|
60
|
+
justifyClass,
|
61
|
+
alignClass,
|
49
62
|
inlineClass,
|
50
|
-
spacingClass,
|
51
63
|
reverseClass,
|
52
|
-
wrapClass
|
64
|
+
wrapClass,
|
65
|
+
spacingClass,
|
66
|
+
gapClass,
|
67
|
+
rowGapClass,
|
68
|
+
columnGapClass
|
53
69
|
),
|
54
70
|
globalProps(props),
|
55
71
|
className
|
@@ -1,4 +1,19 @@
|
|
1
1
|
@import "flex_item";
|
2
|
+
@import "../tokens/spacing";
|
3
|
+
|
4
|
+
$gapSpaces:(
|
5
|
+
xs: $space_xs,
|
6
|
+
sm: $space_sm,
|
7
|
+
md: $space_md,
|
8
|
+
lg: $space_lg,
|
9
|
+
xl: $space_xl
|
10
|
+
);
|
11
|
+
|
12
|
+
$gapTypes: (
|
13
|
+
gap: gap,
|
14
|
+
columnGap: column-gap,
|
15
|
+
rowGap: row-gap
|
16
|
+
);
|
2
17
|
|
3
18
|
[class^=pb_flex_kit] {
|
4
19
|
display: flex;
|
@@ -33,7 +48,8 @@
|
|
33
48
|
|
34
49
|
// Alignment: Justify Content
|
35
50
|
&[class*=justify_content_left],
|
36
|
-
&[class*=justify_content_top]
|
51
|
+
&[class*=justify_content_top],
|
52
|
+
&[class*=justify_content_start] {
|
37
53
|
justify-content: flex-start;
|
38
54
|
&[class*=_reverse] {
|
39
55
|
justify-content: flex-end;
|
@@ -41,7 +57,8 @@
|
|
41
57
|
}
|
42
58
|
|
43
59
|
&[class*=justify_content_right],
|
44
|
-
&[class*=justify_content_bottom]
|
60
|
+
&[class*=justify_content_bottom],
|
61
|
+
&[class*=justify_content_end] {
|
45
62
|
justify-content: flex-end;
|
46
63
|
&[class*=_reverse] {
|
47
64
|
justify-content: flex-start;
|
@@ -54,12 +71,14 @@
|
|
54
71
|
|
55
72
|
// Alignment: Align Items
|
56
73
|
&[class*=align_items_left],
|
57
|
-
&[class*=align_items_top]
|
74
|
+
&[class*=align_items_top],
|
75
|
+
&[class*=align_items_start] {
|
58
76
|
align-items: flex-start;
|
59
77
|
}
|
60
78
|
|
61
79
|
&[class*=align_items_right],
|
62
|
-
&[class*=align_items_bottom]
|
80
|
+
&[class*=align_items_bottom],
|
81
|
+
&[class*=align_items_end] {
|
63
82
|
align-items: flex-end;
|
64
83
|
}
|
65
84
|
|
@@ -76,15 +95,29 @@
|
|
76
95
|
}
|
77
96
|
|
78
97
|
// Spacing
|
79
|
-
&[class*=spacing_around]
|
98
|
+
&[class*=spacing_around],
|
99
|
+
&[class*=justify_content_around] {
|
80
100
|
justify-content: space-around;
|
81
101
|
}
|
82
102
|
|
83
|
-
&[class*=spacing_between]
|
103
|
+
&[class*=spacing_between],
|
104
|
+
&[class*=justify_content_between] {
|
84
105
|
justify-content: space-between;
|
85
106
|
}
|
86
107
|
|
87
|
-
&[class*=spacing_evenly]
|
108
|
+
&[class*=spacing_evenly],
|
109
|
+
&[class*=justify_content_evenly] {
|
88
110
|
justify-content: space-evenly;
|
89
111
|
}
|
112
|
+
|
113
|
+
//Gap
|
114
|
+
@each $gapType, $gapValue in $gapTypes{
|
115
|
+
@each $sizeName, $sizeValue in $gapSpaces {
|
116
|
+
&[class*=_#{$gapType}_#{$sizeName}]{
|
117
|
+
#{$gapValue}: $sizeValue;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
|
90
123
|
}
|
@@ -7,18 +7,24 @@ type FlexItemPropTypes = {
|
|
7
7
|
children: array<React.ReactNode> | React.ReactNode,
|
8
8
|
fixedSize: string,
|
9
9
|
grow: boolean,
|
10
|
+
shrink: boolean,
|
11
|
+
flex: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'none',
|
10
12
|
className: string,
|
13
|
+
overflow?: "auto" | "hidden" | "initial" | "inherit" | "scroll" | "visible",
|
11
14
|
}
|
12
15
|
|
13
16
|
const FlexItem = (props: FlexItemPropTypes) => {
|
14
|
-
const { children, className, fixedSize, grow } = props
|
17
|
+
const { children, className, fixedSize, grow, overflow = null, shrink, flex } = props
|
15
18
|
const growClass = grow === true ? 'grow' : ''
|
19
|
+
const flexClass = flex !== 'none' ? `flex_${flex}` : ''
|
20
|
+
const overflowClass = overflow ? `overflow_${overflow}` : ''
|
21
|
+
const shrinkClass = shrink === true ? 'shrink' : ''
|
16
22
|
const fixedStyle =
|
17
23
|
fixedSize !== undefined ? { flexBasis: `${fixedSize}` } : null
|
18
24
|
|
19
25
|
return (
|
20
26
|
<div
|
21
|
-
className={classnames(buildCss('pb_flex_item_kit', growClass), globalProps(props), className)}
|
27
|
+
className={classnames(buildCss('pb_flex_item_kit', growClass, shrinkClass, flexClass), overflowClass, globalProps(props), className)}
|
22
28
|
style={fixedStyle}
|
23
29
|
>
|
24
30
|
{children}
|
@@ -7,4 +7,23 @@
|
|
7
7
|
&[class*=_grow] {
|
8
8
|
flex-grow: 1;
|
9
9
|
}
|
10
|
+
|
11
|
+
&[class*=_shrink] {
|
12
|
+
flex-shrink: 1;
|
13
|
+
}
|
14
|
+
|
15
|
+
|
16
|
+
$overflow_values: auto, hidden, inherit, initial, scroll, visible;
|
17
|
+
|
18
|
+
@each $value in $overflow_values {
|
19
|
+
&.overflow_#{$value} {
|
20
|
+
overflow: #{$value}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
@for $i from 0 through 12 {
|
25
|
+
&[class*=_flex_#{$i}]{
|
26
|
+
flex: $i;
|
27
|
+
}
|
28
|
+
}
|
10
29
|
}
|
@@ -1 +1,7 @@
|
|
1
1
|
This kit is used to build most of the complex interfaces. The Flex Kit is used the same way flex box is used.
|
2
|
+
|
3
|
+
##### !!!Attention these props will be deprecated in the future please use new props in their place
|
4
|
+
|
5
|
+
* `horizontal` - Will be replaced with `justify`
|
6
|
+
* `vertical` - Will be replaced with `align`
|
7
|
+
* `spacing` - Will be removed. Use `justify`
|
@@ -0,0 +1,101 @@
|
|
1
|
+
<%= pb_rails("title", props: {size: 4, text: "Row"}) %><br/>
|
2
|
+
<div class="flex-doc-example">
|
3
|
+
<%= pb_rails("flex", props:{ align: "start" }) do %>
|
4
|
+
<%= pb_rails("flex/flex_item") do %>1<% end %>
|
5
|
+
<%= pb_rails("flex/flex_item", props:{padding:"none"}) do %>2<% end %>
|
6
|
+
<%= pb_rails("flex/flex_item", props:{padding:"xl"}) do %>3<% end %>
|
7
|
+
<%= pb_rails("flex/flex_item", props:{padding:"sm"}) do %>4<% end %>
|
8
|
+
<% end %>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<br/><br/>
|
12
|
+
|
13
|
+
<div class="flex-doc-example">
|
14
|
+
<%= pb_rails("flex", props:{ align: "center" }) do %>
|
15
|
+
<%= pb_rails("flex/flex_item") do %>1<% end %>
|
16
|
+
<%= pb_rails("flex/flex_item", props:{padding:"none"}) do %>2<% end %>
|
17
|
+
<%= pb_rails("flex/flex_item", props:{padding:"xl"}) do %>3<% end %>
|
18
|
+
<%= pb_rails("flex/flex_item", props:{padding:"sm"}) do %>4<% end %>
|
19
|
+
<% end %>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<br/><br/>
|
23
|
+
|
24
|
+
<div class="flex-doc-example">
|
25
|
+
<%= pb_rails("flex", props:{ align: "end" }) do %>
|
26
|
+
<%= pb_rails("flex/flex_item") do %>1<% end %>
|
27
|
+
<%= pb_rails("flex/flex_item", props:{padding:"none"}) do %>2<% end %>
|
28
|
+
<%= pb_rails("flex/flex_item", props:{padding:"xl"}) do %>3<% end %>
|
29
|
+
<%= pb_rails("flex/flex_item", props:{padding:"sm"}) do %>4<% end %>
|
30
|
+
<% end %>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<br/><br/>
|
34
|
+
|
35
|
+
<div class="flex-doc-example">
|
36
|
+
<%= pb_rails("flex", props:{ align: "baseline" }) do %>
|
37
|
+
<%= pb_rails("flex/flex_item") do %>1<% end %>
|
38
|
+
<%= pb_rails("flex/flex_item", props:{padding:"none"}) do %>2<% end %>
|
39
|
+
<%= pb_rails("flex/flex_item", props:{padding:"xl"}) do %>3<% end %>
|
40
|
+
<%= pb_rails("flex/flex_item", props:{padding:"sm"}) do %>4<% end %>
|
41
|
+
<% end %>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
|
45
|
+
<br/><br/>
|
46
|
+
|
47
|
+
<div class="flex-doc-example">
|
48
|
+
<%= pb_rails("flex", props:{ align: "stretch" }) do %>
|
49
|
+
<%= pb_rails("flex/flex_item") do %>1<% end %>
|
50
|
+
<%= pb_rails("flex/flex_item", props:{padding:"none"}) do %>2<% end %>
|
51
|
+
<%= pb_rails("flex/flex_item", props:{padding:"xl"}) do %>3<% end %>
|
52
|
+
<%= pb_rails("flex/flex_item", props:{padding:"sm"}) do %>4<% end %>
|
53
|
+
<% end %>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
<br/><br/>
|
58
|
+
|
59
|
+
|
60
|
+
<%= pb_rails("title", props: {size: 4, text: "Column"}) %><br/>
|
61
|
+
|
62
|
+
<div class="flex-doc-example">
|
63
|
+
<%= pb_rails("flex", props:{orientation: "column", align: "start" }) do %>
|
64
|
+
<%= pb_rails("flex/flex_item") do %>1<% end %>
|
65
|
+
<%= pb_rails("flex/flex_item") do %>2<% end %>
|
66
|
+
<%= pb_rails("flex/flex_item") do %>3<% end %>
|
67
|
+
<%= pb_rails("flex/flex_item") do %>4<% end %>
|
68
|
+
<% end %>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<br/><br/>
|
72
|
+
|
73
|
+
<div class="flex-doc-example">
|
74
|
+
<%= pb_rails("flex", props:{orientation: "column", align: "center" }) do %>
|
75
|
+
<%= pb_rails("flex/flex_item") do %>1<% end %>
|
76
|
+
<%= pb_rails("flex/flex_item") do %>2<% end %>
|
77
|
+
<%= pb_rails("flex/flex_item") do %>3<% end %>
|
78
|
+
<%= pb_rails("flex/flex_item") do %>4<% end %>
|
79
|
+
<% end %>
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<br/><br/>
|
83
|
+
<div class="flex-doc-example">
|
84
|
+
<%= pb_rails("flex", props:{orientation: "column", align: "end" }) do %>
|
85
|
+
<%= pb_rails("flex/flex_item") do %>1<% end %>
|
86
|
+
<%= pb_rails("flex/flex_item") do %>2<% end %>
|
87
|
+
<%= pb_rails("flex/flex_item") do %>3<% end %>
|
88
|
+
<%= pb_rails("flex/flex_item") do %>4<% end %>
|
89
|
+
<% end %>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<br/><br/>
|
93
|
+
|
94
|
+
<div class="flex-doc-example">
|
95
|
+
<%= pb_rails("flex", props:{orientation: "column", align: "stretch" }) do %>
|
96
|
+
<%= pb_rails("flex/flex_item") do %>1<% end %>
|
97
|
+
<%= pb_rails("flex/flex_item") do %>2<% end %>
|
98
|
+
<%= pb_rails("flex/flex_item") do %>3<% end %>
|
99
|
+
<%= pb_rails("flex/flex_item") do %>4<% end %>
|
100
|
+
<% end %>
|
101
|
+
</div>
|
@@ -1,25 +1,20 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { Flex, FlexItem, Title } from '../..'
|
3
3
|
|
4
|
-
const
|
4
|
+
const FlexAlign = (props) => {
|
5
5
|
return (
|
6
6
|
<>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
text="Left"
|
17
|
-
{...props}
|
18
|
-
/>
|
19
|
-
<br />
|
7
|
+
|
8
|
+
<Title
|
9
|
+
size={4}
|
10
|
+
text="Row"
|
11
|
+
{...props}
|
12
|
+
/>
|
13
|
+
<br />
|
14
|
+
|
15
|
+
<div className="flex-doc-example ">
|
20
16
|
<Flex
|
21
|
-
|
22
|
-
orientation="row"
|
17
|
+
align="start"
|
23
18
|
{...props}
|
24
19
|
>
|
25
20
|
<FlexItem>
|
@@ -28,25 +23,20 @@ const FlexHorizontal = (props) => {
|
|
28
23
|
<FlexItem>
|
29
24
|
{'2'}
|
30
25
|
</FlexItem>
|
31
|
-
<FlexItem>
|
26
|
+
<FlexItem padding="xl">
|
32
27
|
{'3'}
|
33
28
|
</FlexItem>
|
34
|
-
<FlexItem>
|
29
|
+
<FlexItem padding="md">
|
35
30
|
{'4'}
|
36
31
|
</FlexItem>
|
37
32
|
</Flex>
|
33
|
+
</div>
|
38
34
|
|
39
|
-
|
35
|
+
<br />
|
40
36
|
|
41
|
-
|
42
|
-
size={4}
|
43
|
-
text="Center"
|
44
|
-
{...props}
|
45
|
-
/>
|
46
|
-
<br />
|
37
|
+
<div className="flex-doc-example ">
|
47
38
|
<Flex
|
48
|
-
|
49
|
-
orientation="row"
|
39
|
+
align="center"
|
50
40
|
{...props}
|
51
41
|
>
|
52
42
|
<FlexItem>
|
@@ -55,24 +45,42 @@ const FlexHorizontal = (props) => {
|
|
55
45
|
<FlexItem>
|
56
46
|
{'2'}
|
57
47
|
</FlexItem>
|
58
|
-
<FlexItem>
|
48
|
+
<FlexItem padding="xl">
|
59
49
|
{'3'}
|
60
50
|
</FlexItem>
|
61
|
-
<FlexItem>
|
51
|
+
<FlexItem padding="md">
|
62
52
|
{'4'}
|
63
53
|
</FlexItem>
|
64
54
|
</Flex>
|
55
|
+
</div>
|
65
56
|
|
66
|
-
|
57
|
+
<br />
|
67
58
|
|
68
|
-
|
69
|
-
|
70
|
-
|
59
|
+
<div className="flex-doc-example ">
|
60
|
+
<Flex
|
61
|
+
align="end"
|
71
62
|
{...props}
|
72
|
-
|
73
|
-
|
63
|
+
>
|
64
|
+
<FlexItem>
|
65
|
+
{'1'}
|
66
|
+
</FlexItem>
|
67
|
+
<FlexItem>
|
68
|
+
{'2'}
|
69
|
+
</FlexItem>
|
70
|
+
<FlexItem padding="xl">
|
71
|
+
{'3'}
|
72
|
+
</FlexItem>
|
73
|
+
<FlexItem padding="md">
|
74
|
+
{'4'}
|
75
|
+
</FlexItem>
|
76
|
+
</Flex>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
<br />
|
80
|
+
|
81
|
+
<div className="flex-doc-example ">
|
74
82
|
<Flex
|
75
|
-
|
83
|
+
align="stretch"
|
76
84
|
orientation="row"
|
77
85
|
{...props}
|
78
86
|
>
|
@@ -82,31 +90,28 @@ const FlexHorizontal = (props) => {
|
|
82
90
|
<FlexItem>
|
83
91
|
{'2'}
|
84
92
|
</FlexItem>
|
85
|
-
<FlexItem>
|
93
|
+
<FlexItem padding="xl">
|
86
94
|
{'3'}
|
87
95
|
</FlexItem>
|
88
|
-
<FlexItem>
|
96
|
+
<FlexItem padding="md">
|
89
97
|
{'4'}
|
90
98
|
</FlexItem>
|
91
99
|
</Flex>
|
100
|
+
</div>
|
92
101
|
|
93
|
-
|
102
|
+
<br />
|
94
103
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
text="Left"
|
104
|
-
{...props}
|
105
|
-
/>
|
106
|
-
<br />
|
104
|
+
<Title
|
105
|
+
size={4}
|
106
|
+
text="Column"
|
107
|
+
{...props}
|
108
|
+
/>
|
109
|
+
<br />
|
110
|
+
|
111
|
+
<div className="flex-doc-example ">
|
107
112
|
<Flex
|
113
|
+
align="start"
|
108
114
|
orientation="column"
|
109
|
-
vertical="left"
|
110
115
|
{...props}
|
111
116
|
>
|
112
117
|
<FlexItem>
|
@@ -122,18 +127,14 @@ const FlexHorizontal = (props) => {
|
|
122
127
|
{'4'}
|
123
128
|
</FlexItem>
|
124
129
|
</Flex>
|
130
|
+
</div>
|
125
131
|
|
126
|
-
|
132
|
+
<br />
|
127
133
|
|
128
|
-
|
129
|
-
size={4}
|
130
|
-
text="Center"
|
131
|
-
{...props}
|
132
|
-
/>
|
133
|
-
<br />
|
134
|
+
<div className="flex-doc-example ">
|
134
135
|
<Flex
|
136
|
+
align="center"
|
135
137
|
orientation="column"
|
136
|
-
vertical="center"
|
137
138
|
{...props}
|
138
139
|
>
|
139
140
|
<FlexItem>
|
@@ -149,18 +150,14 @@ const FlexHorizontal = (props) => {
|
|
149
150
|
{'4'}
|
150
151
|
</FlexItem>
|
151
152
|
</Flex>
|
153
|
+
</div>
|
152
154
|
|
153
|
-
|
155
|
+
<br />
|
154
156
|
|
155
|
-
|
156
|
-
size={4}
|
157
|
-
text="Right"
|
158
|
-
{...props}
|
159
|
-
/>
|
160
|
-
<br />
|
157
|
+
<div className="flex-doc-example ">
|
161
158
|
<Flex
|
159
|
+
align="end"
|
162
160
|
orientation="column"
|
163
|
-
vertical="right"
|
164
161
|
{...props}
|
165
162
|
>
|
166
163
|
<FlexItem>
|
@@ -176,18 +173,14 @@ const FlexHorizontal = (props) => {
|
|
176
173
|
{'4'}
|
177
174
|
</FlexItem>
|
178
175
|
</Flex>
|
176
|
+
</div>
|
179
177
|
|
180
|
-
|
178
|
+
<br />
|
181
179
|
|
182
|
-
|
183
|
-
size={4}
|
184
|
-
text="Stretch"
|
185
|
-
{...props}
|
186
|
-
/>
|
187
|
-
<br />
|
180
|
+
<div className="flex-doc-example ">
|
188
181
|
<Flex
|
182
|
+
align="stretch"
|
189
183
|
orientation="column"
|
190
|
-
vertical="stretch"
|
191
184
|
{...props}
|
192
185
|
>
|
193
186
|
<FlexItem>
|
@@ -204,8 +197,9 @@ const FlexHorizontal = (props) => {
|
|
204
197
|
</FlexItem>
|
205
198
|
</Flex>
|
206
199
|
</div>
|
200
|
+
|
207
201
|
</>
|
208
202
|
)
|
209
203
|
}
|
210
204
|
|
211
|
-
export default
|
205
|
+
export default FlexAlign
|