yattho_view_components 0.0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/app/assets/javascripts/yattho_view_components.js +1 -1
- data/app/assets/javascripts/yattho_view_components.js.map +1 -1
- data/app/assets/styles/yattho_view_components.css +3 -5958
- data/app/assets/styles/yattho_view_components.css.map +1 -1
- data/app/components/yattho/alpha/action_list.css +1 -697
- data/app/components/yattho/alpha/action_list.css.json +1 -1
- data/app/components/yattho/alpha/action_list.css.map +1 -1
- data/app/components/yattho/alpha/auto_complete.css +1 -130
- data/app/components/yattho/alpha/auto_complete.css.json +1 -1
- data/app/components/yattho/alpha/auto_complete.css.map +1 -1
- data/app/components/yattho/alpha/banner.css +1 -131
- data/app/components/yattho/alpha/banner.css.json +1 -1
- data/app/components/yattho/alpha/banner.css.map +1 -1
- data/app/components/yattho/alpha/button_marketing.css +1 -211
- data/app/components/yattho/alpha/button_marketing.css.json +1 -1
- data/app/components/yattho/alpha/button_marketing.css.map +1 -1
- data/app/components/yattho/alpha/dialog.css +1 -613
- data/app/components/yattho/alpha/dialog.css.json +1 -1
- data/app/components/yattho/alpha/dialog.css.map +1 -1
- data/app/components/yattho/alpha/dropdown.css +1 -264
- data/app/components/yattho/alpha/dropdown.css.json +1 -1
- data/app/components/yattho/alpha/dropdown.css.map +1 -1
- data/app/components/yattho/alpha/layout.css +1 -398
- data/app/components/yattho/alpha/layout.css.json +1 -1
- data/app/components/yattho/alpha/layout.css.map +1 -1
- data/app/components/yattho/alpha/menu.css +1 -117
- data/app/components/yattho/alpha/menu.css.json +1 -1
- data/app/components/yattho/alpha/menu.css.map +1 -1
- data/app/components/yattho/alpha/modal_dialog.js +2 -0
- data/app/components/yattho/alpha/segmented_control.css +1 -164
- data/app/components/yattho/alpha/segmented_control.css.json +1 -1
- data/app/components/yattho/alpha/segmented_control.css.map +1 -1
- data/app/components/yattho/alpha/tab_nav.css +1 -106
- data/app/components/yattho/alpha/tab_nav.css.json +1 -1
- data/app/components/yattho/alpha/tab_nav.css.map +1 -1
- data/app/components/yattho/alpha/text_field.css +3 -836
- data/app/components/yattho/alpha/text_field.css.json +1 -1
- data/app/components/yattho/alpha/text_field.css.map +1 -1
- data/app/components/yattho/alpha/toggle_switch.css +1 -253
- data/app/components/yattho/alpha/toggle_switch.css.json +1 -1
- data/app/components/yattho/alpha/toggle_switch.css.map +1 -1
- data/app/components/yattho/alpha/underline_nav.css +1 -148
- data/app/components/yattho/alpha/underline_nav.css.json +1 -1
- data/app/components/yattho/alpha/underline_nav.css.map +1 -1
- data/app/components/yattho/beta/avatar.css +1 -74
- data/app/components/yattho/beta/avatar.css.json +1 -1
- data/app/components/yattho/beta/avatar.css.map +1 -1
- data/app/components/yattho/beta/avatar_stack.css +1 -138
- data/app/components/yattho/beta/avatar_stack.css.json +1 -1
- data/app/components/yattho/beta/avatar_stack.css.map +1 -1
- data/app/components/yattho/beta/blankslate.css +1 -90
- data/app/components/yattho/beta/blankslate.css.map +1 -1
- data/app/components/yattho/beta/border_box.css +1 -279
- data/app/components/yattho/beta/border_box.css.json +1 -1
- data/app/components/yattho/beta/border_box.css.map +1 -1
- data/app/components/yattho/beta/breadcrumbs.css +1 -27
- data/app/components/yattho/beta/breadcrumbs.css.json +1 -1
- data/app/components/yattho/beta/breadcrumbs.css.map +1 -1
- data/app/components/yattho/beta/button.css +1 -365
- data/app/components/yattho/beta/button.css.json +1 -1
- data/app/components/yattho/beta/button.css.map +1 -1
- data/app/components/yattho/beta/counter.css +1 -36
- data/app/components/yattho/beta/counter.css.map +1 -1
- data/app/components/yattho/beta/flash.css +1 -150
- data/app/components/yattho/beta/flash.css.json +1 -1
- data/app/components/yattho/beta/flash.css.map +1 -1
- data/app/components/yattho/beta/label.css +1 -105
- data/app/components/yattho/beta/label.css.json +1 -1
- data/app/components/yattho/beta/label.css.map +1 -1
- data/app/components/yattho/beta/link.css +1 -62
- data/app/components/yattho/beta/link.css.json +1 -1
- data/app/components/yattho/beta/link.css.map +1 -1
- data/app/components/yattho/beta/popover.css +1 -235
- data/app/components/yattho/beta/popover.css.json +1 -1
- data/app/components/yattho/beta/popover.css.map +1 -1
- data/app/components/yattho/beta/progress_bar.css +1 -26
- data/app/components/yattho/beta/progress_bar.css.json +1 -1
- data/app/components/yattho/beta/progress_bar.css.map +1 -1
- data/app/components/yattho/beta/state.css +1 -50
- data/app/components/yattho/beta/state.css.json +1 -1
- data/app/components/yattho/beta/state.css.map +1 -1
- data/app/components/yattho/beta/subhead.css +1 -54
- data/app/components/yattho/beta/subhead.css.json +1 -1
- data/app/components/yattho/beta/subhead.css.map +1 -1
- data/app/components/yattho/beta/timeline_item.css +1 -95
- data/app/components/yattho/beta/timeline_item.css.json +1 -1
- data/app/components/yattho/beta/timeline_item.css.map +1 -1
- data/app/components/yattho/beta/truncate.css +1 -37
- data/app/components/yattho/beta/truncate.css.json +1 -1
- data/app/components/yattho/beta/truncate.css.map +1 -1
- data/app/components/yattho/truncate.css +1 -30
- data/app/components/yattho/truncate.css.json +1 -1
- data/app/components/yattho/truncate.css.map +1 -1
- data/lib/yattho/view_components/version.rb +1 -1
- metadata +3 -353
- data/previews/docs/alpha_auto_complete_item_preview/default.html.erb +0 -10
- data/previews/docs/alpha_auto_complete_item_preview.rb +0 -7
- data/previews/docs/alpha_auto_complete_preview/default.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview/with_clear_button.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview/with_custom_classes_for_the_input.html.erb +0 -3
- data/previews/docs/alpha_auto_complete_preview/with_custom_classes_for_the_results.html.erb +0 -10
- data/previews/docs/alpha_auto_complete_preview/with_icon.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview/with_icon_and_non_visible_label.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview/with_inline_label.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview/with_non_visible_label.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview.rb +0 -21
- data/previews/docs/alpha_banner_preview/custom_icon.html.erb +0 -1
- data/previews/docs/alpha_banner_preview/dismissible.html.erb +0 -1
- data/previews/docs/alpha_banner_preview/full_width.html.erb +0 -1
- data/previews/docs/alpha_banner_preview/schemes.html.erb +0 -6
- data/previews/docs/alpha_banner_preview/with_action_button.html.erb +0 -4
- data/previews/docs/alpha_banner_preview/with_custom_action.html.erb +0 -6
- data/previews/docs/alpha_banner_preview.rb +0 -17
- data/previews/docs/alpha_button_marketing_preview/schemes.html.erb +0 -6
- data/previews/docs/alpha_button_marketing_preview/sizes.html.erb +0 -2
- data/previews/docs/alpha_button_marketing_preview.rb +0 -9
- data/previews/docs/alpha_dialog_preview/dialog_with_cancel_and_submit_buttons.html.erb +0 -13
- data/previews/docs/alpha_dialog_preview.rb +0 -7
- data/previews/docs/alpha_dropdown_preview/customizing_menu_items.html.erb +0 -11
- data/previews/docs/alpha_dropdown_preview/customizing_the_button.html.erb +0 -12
- data/previews/docs/alpha_dropdown_preview/default.html.erb +0 -11
- data/previews/docs/alpha_dropdown_preview/menu_as_list.html.erb +0 -13
- data/previews/docs/alpha_dropdown_preview/with_caret.html.erb +0 -12
- data/previews/docs/alpha_dropdown_preview/with_direction.html.erb +0 -12
- data/previews/docs/alpha_dropdown_preview/with_dividers.html.erb +0 -16
- data/previews/docs/alpha_dropdown_preview.rb +0 -19
- data/previews/docs/alpha_hellip_button_preview/default.html.erb +0 -1
- data/previews/docs/alpha_hellip_button_preview/inline.html.erb +0 -1
- data/previews/docs/alpha_hellip_button_preview/styling_the_button.html.erb +0 -1
- data/previews/docs/alpha_hellip_button_preview.rb +0 -11
- data/previews/docs/alpha_hidden_text_expander_preview/default.html.erb +0 -1
- data/previews/docs/alpha_hidden_text_expander_preview/inline.html.erb +0 -1
- data/previews/docs/alpha_hidden_text_expander_preview/styling_the_button.html.erb +0 -1
- data/previews/docs/alpha_hidden_text_expander_preview.rb +0 -11
- data/previews/docs/alpha_image_crop_preview/cropper_with_a_custom_loader.html.erb +0 -3
- data/previews/docs/alpha_image_crop_preview/simple_cropper.html.erb +0 -1
- data/previews/docs/alpha_image_crop_preview/square_cropper.html.erb +0 -1
- data/previews/docs/alpha_image_crop_preview.rb +0 -11
- data/previews/docs/alpha_image_preview/custom_size.html.erb +0 -2
- data/previews/docs/alpha_image_preview/default.html.erb +0 -2
- data/previews/docs/alpha_image_preview/helper.html.erb +0 -2
- data/previews/docs/alpha_image_preview/lazy_loading.html.erb +0 -2
- data/previews/docs/alpha_image_preview.rb +0 -13
- data/previews/docs/alpha_layout_preview/changing_when_to_render_layout_as_columns.html.erb +0 -12
- data/previews/docs/alpha_layout_preview/default.html.erb +0 -5
- data/previews/docs/alpha_layout_preview/main_widths.html.erb +0 -16
- data/previews/docs/alpha_layout_preview/sidebar_placement.html.erb +0 -8
- data/previews/docs/alpha_layout_preview/sidebar_placement_as_row.html.erb +0 -12
- data/previews/docs/alpha_layout_preview/sidebar_widths.html.erb +0 -12
- data/previews/docs/alpha_layout_preview.rb +0 -17
- data/previews/docs/alpha_menu_preview/default.html.erb +0 -17
- data/previews/docs/alpha_menu_preview.rb +0 -7
- data/previews/docs/alpha_nav_list_preview/expandable_sub_items.html.erb +0 -24
- data/previews/docs/alpha_nav_list_preview/items_and_headings.html.erb +0 -12
- data/previews/docs/alpha_nav_list_preview/leading_and_trailing_visuals.html.erb +0 -17
- data/previews/docs/alpha_nav_list_preview/trailing_action.html.erb +0 -12
- data/previews/docs/alpha_nav_list_preview.rb +0 -13
- data/previews/docs/alpha_octicon_symbols_preview/symbol_dictionary.html.erb +0 -4
- data/previews/docs/alpha_octicon_symbols_preview.rb +0 -7
- data/previews/docs/alpha_segmented_control_preview/basic_usage.html.erb +0 -6
- data/previews/docs/alpha_segmented_control_preview/fill_width_of_parent.html.erb +0 -5
- data/previews/docs/alpha_segmented_control_preview/small.html.erb +0 -6
- data/previews/docs/alpha_segmented_control_preview/with_icons.html.erb +0 -5
- data/previews/docs/alpha_segmented_control_preview/with_icons_only.html.erb +0 -5
- data/previews/docs/alpha_segmented_control_preview.rb +0 -15
- data/previews/docs/alpha_tab_container_preview/default.html.erb +0 -16
- data/previews/docs/alpha_tab_container_preview.rb +0 -7
- data/previews/docs/alpha_tab_nav_preview/adding_extra_content_after_the_tabs.html.erb +0 -10
- data/previews/docs/alpha_tab_nav_preview/customizing_the_body.html.erb +0 -5
- data/previews/docs/alpha_tab_nav_preview/default_with_div.html.erb +0 -5
- data/previews/docs/alpha_tab_nav_preview/default_with_nav.html.erb +0 -5
- data/previews/docs/alpha_tab_nav_preview/with_extra_content.html.erb +0 -8
- data/previews/docs/alpha_tab_nav_preview/with_icons_and_counters.html.erb +0 -15
- data/previews/docs/alpha_tab_nav_preview.rb +0 -17
- data/previews/docs/alpha_tab_panels_preview/default.html.erb +0 -14
- data/previews/docs/alpha_tab_panels_preview.rb +0 -7
- data/previews/docs/alpha_text_field_preview/default.html.erb +0 -1
- data/previews/docs/alpha_text_field_preview/disabled.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview/full_width.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview/invalid.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview/with_a_caption.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview/with_a_clear_button.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview/with_a_leading_visual.html.erb +0 -9
- data/previews/docs/alpha_text_field_preview/with_a_validation_message.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview.rb +0 -21
- data/previews/docs/alpha_toggle_switch_preview/checked.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview/checked_and_disabled.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview/default.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview/disabled.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview/small.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview/with_status_label_positioned_at_the_end.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview.rb +0 -17
- data/previews/docs/alpha_tooltip_preview/as_a_label_for_an_iconbutton.html.erb +0 -1
- data/previews/docs/alpha_tooltip_preview/as_a_supplementary_description_for_a_button.html.erb +0 -4
- data/previews/docs/alpha_tooltip_preview/as_a_supplementary_description_for_an_iconbutton.html.erb +0 -1
- data/previews/docs/alpha_tooltip_preview/directly_using_tooltip.html.erb +0 -4
- data/previews/docs/alpha_tooltip_preview/with_direction.html.erb +0 -32
- data/previews/docs/alpha_tooltip_preview.rb +0 -15
- data/previews/docs/alpha_underline_nav_preview/align_right.html.erb +0 -11
- data/previews/docs/alpha_underline_nav_preview/customizing_the_body.html.erb +0 -5
- data/previews/docs/alpha_underline_nav_preview/default_with_nav.html.erb +0 -7
- data/previews/docs/alpha_underline_nav_preview/with_div.html.erb +0 -7
- data/previews/docs/alpha_underline_nav_preview/with_icons_and_counters.html.erb +0 -18
- data/previews/docs/alpha_underline_nav_preview.rb +0 -15
- data/previews/docs/alpha_underline_panels_preview/default.html.erb +0 -17
- data/previews/docs/alpha_underline_panels_preview.rb +0 -7
- data/previews/docs/beta_auto_complete_item_preview/default.html.erb +0 -6
- data/previews/docs/beta_auto_complete_item_preview.rb +0 -7
- data/previews/docs/beta_auto_complete_preview/full_width_field.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/inset_variant.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/leading_visual.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/monospace_variant.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/trailing_action.html.erb +0 -1
- data/previews/docs/beta_auto_complete_preview/visually_hidden_label.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/with_custom_classes_for_the_input.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/with_custom_classes_for_the_results.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview.rb +0 -21
- data/previews/docs/beta_avatar_preview/default.html.erb +0 -1
- data/previews/docs/beta_avatar_preview/link.html.erb +0 -1
- data/previews/docs/beta_avatar_preview/square.html.erb +0 -1
- data/previews/docs/beta_avatar_preview/with_size.html.erb +0 -7
- data/previews/docs/beta_avatar_preview.rb +0 -13
- data/previews/docs/beta_avatar_stack_preview/align_right.html.erb +0 -5
- data/previews/docs/beta_avatar_stack_preview/default.html.erb +0 -5
- data/previews/docs/beta_avatar_stack_preview/with_tooltip.html.erb +0 -5
- data/previews/docs/beta_avatar_stack_preview.rb +0 -11
- data/previews/docs/beta_base_button_preview/block.html.erb +0 -2
- data/previews/docs/beta_base_button_preview.rb +0 -7
- data/previews/docs/beta_blankslate_preview/basic.html.erb +0 -4
- data/previews/docs/beta_blankslate_preview/custom_content.html.erb +0 -6
- data/previews/docs/beta_blankslate_preview/icon.html.erb +0 -5
- data/previews/docs/beta_blankslate_preview/loading.html.erb +0 -5
- data/previews/docs/beta_blankslate_preview/primary_action.html.erb +0 -6
- data/previews/docs/beta_blankslate_preview/primary_and_secondary_actions.html.erb +0 -7
- data/previews/docs/beta_blankslate_preview/secondary_action.html.erb +0 -6
- data/previews/docs/beta_blankslate_preview/using_an_image.html.erb +0 -5
- data/previews/docs/beta_blankslate_preview/variations.html.erb +0 -8
- data/previews/docs/beta_blankslate_preview/with_border.html.erb +0 -5
- data/previews/docs/beta_blankslate_preview.rb +0 -25
- data/previews/docs/beta_border_box_header_preview/default.html.erb +0 -4
- data/previews/docs/beta_border_box_header_preview/with_title.html.erb +0 -3
- data/previews/docs/beta_border_box_header_preview.rb +0 -9
- data/previews/docs/beta_border_box_preview/header_with_title_body_rows_and_footer.html.erb +0 -21
- data/previews/docs/beta_border_box_preview/padding_density.html.erb +0 -14
- data/previews/docs/beta_border_box_preview/row_colors.html.erb +0 -14
- data/previews/docs/beta_border_box_preview.rb +0 -11
- data/previews/docs/beta_breadcrumbs_preview/basic.html.erb +0 -5
- data/previews/docs/beta_breadcrumbs_preview.rb +0 -7
- data/previews/docs/beta_button_group_preview/default.html.erb +0 -8
- data/previews/docs/beta_button_group_preview/sizes.html.erb +0 -7
- data/previews/docs/beta_button_group_preview.rb +0 -9
- data/previews/docs/beta_button_preview/full_width.html.erb +0 -2
- data/previews/docs/beta_button_preview/schemes.html.erb +0 -4
- data/previews/docs/beta_button_preview/sizes.html.erb +0 -2
- data/previews/docs/beta_button_preview/with_leading_and_trailing_visuals.html.erb +0 -5
- data/previews/docs/beta_button_preview/with_leading_visual.html.erb +0 -4
- data/previews/docs/beta_button_preview/with_tooltip.html.erb +0 -4
- data/previews/docs/beta_button_preview/with_trailing_visual.html.erb +0 -4
- data/previews/docs/beta_button_preview.rb +0 -19
- data/previews/docs/beta_clipboard_copy_preview/copying_from_an_element.html.erb +0 -2
- data/previews/docs/beta_clipboard_copy_preview/default.html.erb +0 -1
- data/previews/docs/beta_clipboard_copy_preview/with_text_instead_of_icons.html.erb +0 -3
- data/previews/docs/beta_clipboard_copy_preview.rb +0 -11
- data/previews/docs/beta_close_button_preview/default.html.erb +0 -1
- data/previews/docs/beta_close_button_preview.rb +0 -7
- data/previews/docs/beta_counter_preview/default.html.erb +0 -1
- data/previews/docs/beta_counter_preview/schemes.html.erb +0 -2
- data/previews/docs/beta_counter_preview.rb +0 -9
- data/previews/docs/beta_details_preview/default.html.erb +0 -9
- data/previews/docs/beta_details_preview.rb +0 -7
- data/previews/docs/beta_flash_preview/dismissible.html.erb +0 -1
- data/previews/docs/beta_flash_preview/full_width.html.erb +0 -1
- data/previews/docs/beta_flash_preview/icon.html.erb +0 -1
- data/previews/docs/beta_flash_preview/schemes.html.erb +0 -4
- data/previews/docs/beta_flash_preview/with_actions.html.erb +0 -6
- data/previews/docs/beta_flash_preview.rb +0 -15
- data/previews/docs/beta_heading_preview/default.html.erb +0 -6
- data/previews/docs/beta_heading_preview.rb +0 -7
- data/previews/docs/beta_icon_button_preview/custom_tooltip_direction.html.erb +0 -2
- data/previews/docs/beta_icon_button_preview/default.html.erb +0 -2
- data/previews/docs/beta_icon_button_preview/schemes.html.erb +0 -3
- data/previews/docs/beta_icon_button_preview/with_an_aria_description.html.erb +0 -1
- data/previews/docs/beta_icon_button_preview.rb +0 -13
- data/previews/docs/beta_label_preview/inline.html.erb +0 -2
- data/previews/docs/beta_label_preview/schemes.html.erb +0 -10
- data/previews/docs/beta_label_preview/sizes.html.erb +0 -2
- data/previews/docs/beta_label_preview.rb +0 -11
- data/previews/docs/beta_link_preview/default.html.erb +0 -1
- data/previews/docs/beta_link_preview/muted.html.erb +0 -1
- data/previews/docs/beta_link_preview/schemes.html.erb +0 -2
- data/previews/docs/beta_link_preview/with_tooltip.html.erb +0 -4
- data/previews/docs/beta_link_preview/without_underline.html.erb +0 -1
- data/previews/docs/beta_link_preview.rb +0 -15
- data/previews/docs/beta_markdown_preview/default.html.erb +0 -260
- data/previews/docs/beta_markdown_preview.rb +0 -7
- data/previews/docs/beta_octicon_preview/default.html.erb +0 -2
- data/previews/docs/beta_octicon_preview/helper.html.erb +0 -1
- data/previews/docs/beta_octicon_preview/medium.html.erb +0 -1
- data/previews/docs/beta_octicon_preview.rb +0 -11
- data/previews/docs/beta_popover_preview/caret_position.html.erb +0 -8
- data/previews/docs/beta_popover_preview/default.html.erb +0 -8
- data/previews/docs/beta_popover_preview/large.html.erb +0 -8
- data/previews/docs/beta_popover_preview/with_multiple_elements_in_the_body.html.erb +0 -11
- data/previews/docs/beta_popover_preview.rb +0 -13
- data/previews/docs/beta_progress_bar_preview/default.html.erb +0 -3
- data/previews/docs/beta_progress_bar_preview/large.html.erb +0 -3
- data/previews/docs/beta_progress_bar_preview/multiple_items.html.erb +0 -5
- data/previews/docs/beta_progress_bar_preview/small.html.erb +0 -3
- data/previews/docs/beta_progress_bar_preview.rb +0 -13
- data/previews/docs/beta_relative_time_preview/default.html.erb +0 -1
- data/previews/docs/beta_relative_time_preview/elapsed_time.html.erb +0 -1
- data/previews/docs/beta_relative_time_preview/past_time.html.erb +0 -1
- data/previews/docs/beta_relative_time_preview.rb +0 -11
- data/previews/docs/beta_spinner_preview/default.html.erb +0 -1
- data/previews/docs/beta_spinner_preview/large.html.erb +0 -1
- data/previews/docs/beta_spinner_preview/small.html.erb +0 -1
- data/previews/docs/beta_spinner_preview.rb +0 -11
- data/previews/docs/beta_state_preview/default.html.erb +0 -1
- data/previews/docs/beta_state_preview/schemes.html.erb +0 -4
- data/previews/docs/beta_state_preview/sizes.html.erb +0 -2
- data/previews/docs/beta_state_preview.rb +0 -11
- data/previews/docs/beta_subhead_preview/default.html.erb +0 -8
- data/previews/docs/beta_subhead_preview/with_actions.html.erb +0 -15
- data/previews/docs/beta_subhead_preview/with_dangerous_heading.html.erb +0 -8
- data/previews/docs/beta_subhead_preview/with_long_description.html.erb +0 -6
- data/previews/docs/beta_subhead_preview/without_border.html.erb +0 -8
- data/previews/docs/beta_subhead_preview.rb +0 -15
- data/previews/docs/beta_text_preview/default.html.erb +0 -2
- data/previews/docs/beta_text_preview.rb +0 -7
- data/previews/docs/beta_timeline_item_preview/default.html.erb +0 -7
- data/previews/docs/beta_timeline_item_preview.rb +0 -7
- data/previews/docs/beta_truncate_preview/advanced_multiple_items.html.erb +0 -9
- data/previews/docs/beta_truncate_preview/default.html.erb +0 -1
- data/previews/docs/beta_truncate_preview/expand_on_hover_or_focus.html.erb +0 -6
- data/previews/docs/beta_truncate_preview/max_widths.html.erb +0 -5
- data/previews/docs/beta_truncate_preview/max_widths_on_new_lines.html.erb +0 -11
- data/previews/docs/beta_truncate_preview/multiple_items.html.erb +0 -6
- data/previews/docs/beta_truncate_preview.rb +0 -17
- data/previews/docs/blankslate_component_preview/action_button.html.erb +0 -8
- data/previews/docs/blankslate_component_preview/basic.html.erb +0 -4
- data/previews/docs/blankslate_component_preview/custom_content.html.erb +0 -5
- data/previews/docs/blankslate_component_preview/icon.html.erb +0 -5
- data/previews/docs/blankslate_component_preview/link.html.erb +0 -7
- data/previews/docs/blankslate_component_preview/loading.html.erb +0 -6
- data/previews/docs/blankslate_component_preview/variations.html.erb +0 -8
- data/previews/docs/blankslate_component_preview.rb +0 -19
- data/previews/docs/box_preview/color_and_padding.html.erb +0 -1
- data/previews/docs/box_preview/default.html.erb +0 -1
- data/previews/docs/box_preview.rb +0 -9
- data/previews/docs/button_component_preview/block.html.erb +0 -2
- data/previews/docs/button_component_preview/schemes.html.erb +0 -6
- data/previews/docs/button_component_preview/sizes.html.erb +0 -2
- data/previews/docs/button_component_preview/with_dropdown_caret.html.erb +0 -3
- data/previews/docs/button_component_preview/with_leading_and_trailing_visuals.html.erb +0 -5
- data/previews/docs/button_component_preview/with_leading_visual.html.erb +0 -4
- data/previews/docs/button_component_preview/with_tooltip.html.erb +0 -4
- data/previews/docs/button_component_preview/with_trailing_visual.html.erb +0 -4
- data/previews/docs/button_component_preview.rb +0 -21
- data/previews/docs/dropdown_preview/customizing_menu_items.html.erb +0 -11
- data/previews/docs/dropdown_preview/customizing_the_button.html.erb +0 -12
- data/previews/docs/dropdown_preview/default.html.erb +0 -11
- data/previews/docs/dropdown_preview/menu_as_list.html.erb +0 -13
- data/previews/docs/dropdown_preview/with_caret.html.erb +0 -12
- data/previews/docs/dropdown_preview/with_direction.html.erb +0 -12
- data/previews/docs/dropdown_preview/with_dividers.html.erb +0 -16
- data/previews/docs/dropdown_preview.rb +0 -19
- data/previews/docs/hellip_button_preview/default.html.erb +0 -1
- data/previews/docs/hellip_button_preview/inline.html.erb +0 -1
- data/previews/docs/hellip_button_preview/styling_the_button.html.erb +0 -1
- data/previews/docs/hellip_button_preview.rb +0 -11
- data/previews/docs/icon_button_preview/custom_tooltip_direction.html.erb +0 -2
- data/previews/docs/icon_button_preview/default.html.erb +0 -2
- data/previews/docs/icon_button_preview/in_a_borderbox.html.erb +0 -7
- data/previews/docs/icon_button_preview/schemes.html.erb +0 -3
- data/previews/docs/icon_button_preview/with_an_aria_description.html.erb +0 -1
- data/previews/docs/icon_button_preview.rb +0 -15
- data/previews/docs/label_component_preview/inline.html.erb +0 -2
- data/previews/docs/label_component_preview/schemes.html.erb +0 -10
- data/previews/docs/label_component_preview/sizes.html.erb +0 -2
- data/previews/docs/label_component_preview.rb +0 -11
- data/previews/docs/layout_component_preview/default.html.erb +0 -4
- data/previews/docs/layout_component_preview/left_sidebar.html.erb +0 -4
- data/previews/docs/layout_component_preview.rb +0 -9
- data/previews/docs/link_component_preview/default.html.erb +0 -1
- data/previews/docs/link_component_preview/muted.html.erb +0 -1
- data/previews/docs/link_component_preview/schemes.html.erb +0 -2
- data/previews/docs/link_component_preview/with_tooltip.html.erb +0 -4
- data/previews/docs/link_component_preview/without_underline.html.erb +0 -1
- data/previews/docs/link_component_preview.rb +0 -15
- data/previews/docs/local_time_preview/all_the_options.html.erb +0 -1
- data/previews/docs/local_time_preview/default.html.erb +0 -1
- data/previews/docs/local_time_preview/with_initial_content.html.erb +0 -4
- data/previews/docs/local_time_preview.rb +0 -11
- data/previews/docs/markdown_preview/default.html.erb +0 -260
- data/previews/docs/markdown_preview.rb +0 -7
- data/previews/docs/menu_component_preview/default.html.erb +0 -17
- data/previews/docs/menu_component_preview.rb +0 -7
- data/previews/docs/navigation_tab_component_preview/default.html.erb +0 -6
- data/previews/docs/navigation_tab_component_preview/inside_a_list.html.erb +0 -3
- data/previews/docs/navigation_tab_component_preview/with_custom_html.html.erb +0 -5
- data/previews/docs/navigation_tab_component_preview/with_icons_and_counters.html.erb +0 -13
- data/previews/docs/navigation_tab_component_preview.rb +0 -13
- data/previews/docs/octicon_component_preview/default.html.erb +0 -2
- data/previews/docs/octicon_component_preview/helper.html.erb +0 -1
- data/previews/docs/octicon_component_preview/medium.html.erb +0 -1
- data/previews/docs/octicon_component_preview.rb +0 -11
- data/previews/docs/octicon_symbols_component_preview/symbol_dictionary.html.erb +0 -4
- data/previews/docs/octicon_symbols_component_preview.rb +0 -7
- data/previews/docs/popover_component_preview/caret_position.html.erb +0 -8
- data/previews/docs/popover_component_preview/default.html.erb +0 -8
- data/previews/docs/popover_component_preview/large.html.erb +0 -8
- data/previews/docs/popover_component_preview/with_multiple_elements_in_the_body.html.erb +0 -11
- data/previews/docs/popover_component_preview.rb +0 -13
- data/previews/docs/spinner_component_preview/default.html.erb +0 -1
- data/previews/docs/spinner_component_preview/large.html.erb +0 -1
- data/previews/docs/spinner_component_preview/small.html.erb +0 -1
- data/previews/docs/spinner_component_preview.rb +0 -11
- data/previews/docs/state_component_preview/default.html.erb +0 -1
- data/previews/docs/state_component_preview/schemes.html.erb +0 -4
- data/previews/docs/state_component_preview/sizes.html.erb +0 -2
- data/previews/docs/state_component_preview.rb +0 -11
- data/previews/docs/subhead_component_preview/default.html.erb +0 -8
- data/previews/docs/subhead_component_preview/with_actions.html.erb +0 -15
- data/previews/docs/subhead_component_preview/with_dangerous_heading.html.erb +0 -8
- data/previews/docs/subhead_component_preview/with_long_description.html.erb +0 -6
- data/previews/docs/subhead_component_preview/without_border.html.erb +0 -8
- data/previews/docs/subhead_component_preview.rb +0 -15
- data/previews/docs/tab_container_component_preview/default.html.erb +0 -16
- data/previews/docs/tab_container_component_preview.rb +0 -7
- data/previews/docs/time_ago_component_preview/default.html.erb +0 -1
- data/previews/docs/time_ago_component_preview.rb +0 -7
- data/previews/docs/timeline_item_component_preview/default.html.erb +0 -7
- data/previews/docs/timeline_item_component_preview.rb +0 -7
- data/previews/docs/tooltip_preview/default.html.erb +0 -3
- data/previews/docs/tooltip_preview/with_a_direction.html.erb +0 -3
- data/previews/docs/tooltip_preview/with_an_alignment.html.erb +0 -3
- data/previews/docs/tooltip_preview/without_a_delay.html.erb +0 -3
- data/previews/docs/tooltip_preview/wrapping_another_component.html.erb +0 -5
- data/previews/docs/tooltip_preview.rb +0 -15
- data/previews/docs/truncate_preview/custom_size.html.erb +0 -1
- data/previews/docs/truncate_preview/default.html.erb +0 -3
- data/previews/docs/truncate_preview/expandable.html.erb +0 -1
- data/previews/docs/truncate_preview/inline.html.erb +0 -1
- data/previews/docs/truncate_preview/with_html_content.html.erb +0 -3
- data/previews/docs/truncate_preview.rb +0 -15
@@ -1,398 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.Layout {
|
4
|
-
display: grid;
|
5
|
-
|
6
|
-
--Layout-sidebar-width: 220px;
|
7
|
-
--Layout-gutter: 16px;
|
8
|
-
}
|
9
|
-
|
10
|
-
@media (max-width: calc(544px - 0.02px)) {
|
11
|
-
|
12
|
-
.Layout {
|
13
|
-
grid-template-columns: 1fr !important;
|
14
|
-
}
|
15
|
-
|
16
|
-
.Layout {
|
17
|
-
grid-auto-flow: row;
|
18
|
-
}
|
19
|
-
.Layout .Layout-sidebar,
|
20
|
-
.Layout .Layout-divider,
|
21
|
-
.Layout .Layout-main {
|
22
|
-
width: 100% !important;
|
23
|
-
grid-column: 1 !important;
|
24
|
-
}
|
25
|
-
.Layout.Layout--sidebarPosition-flowRow-start .Layout-sidebar {
|
26
|
-
grid-row: 1;
|
27
|
-
}
|
28
|
-
|
29
|
-
.Layout.Layout--sidebarPosition-flowRow-start .Layout-main {
|
30
|
-
grid-row: 2 / span 2;
|
31
|
-
}
|
32
|
-
.Layout.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
33
|
-
grid-row: 2 / span 2;
|
34
|
-
}
|
35
|
-
|
36
|
-
.Layout.Layout--sidebarPosition-flowRow-end .Layout-main {
|
37
|
-
grid-row: 1;
|
38
|
-
}
|
39
|
-
.Layout.Layout--sidebarPosition-flowRow-none .Layout-sidebar {
|
40
|
-
display: none;
|
41
|
-
}
|
42
|
-
.Layout.Layout--divided {
|
43
|
-
--Layout-gutter: 0;
|
44
|
-
}
|
45
|
-
.Layout.Layout--divided .Layout-divider {
|
46
|
-
height: 1px;
|
47
|
-
grid-row: 2;
|
48
|
-
}
|
49
|
-
|
50
|
-
.Layout.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden {
|
51
|
-
display: none;
|
52
|
-
}
|
53
|
-
|
54
|
-
.Layout.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow {
|
55
|
-
height: 8px;
|
56
|
-
margin-right: 0;
|
57
|
-
background: var(--color-canvas-inset);
|
58
|
-
border-color: var(--color-border-default);
|
59
|
-
border-style: solid;
|
60
|
-
border-width: var(--yattho-borderWidth-thin, 1px) 0;
|
61
|
-
}
|
62
|
-
|
63
|
-
.Layout.Layout--divided .Layout-main {
|
64
|
-
grid-row: 3 / span 1;
|
65
|
-
}
|
66
|
-
.Layout.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
67
|
-
grid-row: 3 / span 1;
|
68
|
-
}
|
69
|
-
|
70
|
-
.Layout.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main {
|
71
|
-
grid-row: 1;
|
72
|
-
}
|
73
|
-
}
|
74
|
-
|
75
|
-
@media (max-width: calc(768px - 0.02px)) {
|
76
|
-
|
77
|
-
.Layout.Layout--flowRow-until-md {
|
78
|
-
grid-template-columns: 1fr !important;
|
79
|
-
}
|
80
|
-
|
81
|
-
.Layout.Layout--flowRow-until-md {
|
82
|
-
grid-auto-flow: row;
|
83
|
-
}
|
84
|
-
.Layout.Layout--flowRow-until-md .Layout-sidebar,
|
85
|
-
.Layout.Layout--flowRow-until-md .Layout-divider,
|
86
|
-
.Layout.Layout--flowRow-until-md .Layout-main {
|
87
|
-
width: 100% !important;
|
88
|
-
grid-column: 1 !important;
|
89
|
-
}
|
90
|
-
.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-start .Layout-sidebar {
|
91
|
-
grid-row: 1;
|
92
|
-
}
|
93
|
-
|
94
|
-
.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-start .Layout-main {
|
95
|
-
grid-row: 2 / span 2;
|
96
|
-
}
|
97
|
-
.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
98
|
-
grid-row: 2 / span 2;
|
99
|
-
}
|
100
|
-
|
101
|
-
.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-end .Layout-main {
|
102
|
-
grid-row: 1;
|
103
|
-
}
|
104
|
-
.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-none .Layout-sidebar {
|
105
|
-
display: none;
|
106
|
-
}
|
107
|
-
.Layout.Layout--flowRow-until-md.Layout--divided {
|
108
|
-
--Layout-gutter: 0;
|
109
|
-
}
|
110
|
-
.Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider {
|
111
|
-
height: 1px;
|
112
|
-
grid-row: 2;
|
113
|
-
}
|
114
|
-
|
115
|
-
.Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden {
|
116
|
-
display: none;
|
117
|
-
}
|
118
|
-
|
119
|
-
.Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow {
|
120
|
-
height: 8px;
|
121
|
-
margin-right: 0;
|
122
|
-
background: var(--color-canvas-inset);
|
123
|
-
border-color: var(--color-border-default);
|
124
|
-
border-style: solid;
|
125
|
-
border-width: var(--yattho-borderWidth-thin, 1px) 0;
|
126
|
-
}
|
127
|
-
|
128
|
-
.Layout.Layout--flowRow-until-md.Layout--divided .Layout-main {
|
129
|
-
grid-row: 3 / span 1;
|
130
|
-
}
|
131
|
-
.Layout.Layout--flowRow-until-md.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
132
|
-
grid-row: 3 / span 1;
|
133
|
-
}
|
134
|
-
|
135
|
-
.Layout.Layout--flowRow-until-md.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main {
|
136
|
-
grid-row: 1;
|
137
|
-
}
|
138
|
-
}
|
139
|
-
|
140
|
-
@media (max-width: calc(1012px - 0.02px)) {
|
141
|
-
|
142
|
-
.Layout.Layout--flowRow-until-lg {
|
143
|
-
grid-template-columns: 1fr !important;
|
144
|
-
}
|
145
|
-
|
146
|
-
.Layout.Layout--flowRow-until-lg {
|
147
|
-
grid-auto-flow: row;
|
148
|
-
}
|
149
|
-
.Layout.Layout--flowRow-until-lg .Layout-sidebar,
|
150
|
-
.Layout.Layout--flowRow-until-lg .Layout-divider,
|
151
|
-
.Layout.Layout--flowRow-until-lg .Layout-main {
|
152
|
-
width: 100% !important;
|
153
|
-
grid-column: 1 !important;
|
154
|
-
}
|
155
|
-
.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-start .Layout-sidebar {
|
156
|
-
grid-row: 1;
|
157
|
-
}
|
158
|
-
|
159
|
-
.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-start .Layout-main {
|
160
|
-
grid-row: 2 / span 2;
|
161
|
-
}
|
162
|
-
.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
163
|
-
grid-row: 2 / span 2;
|
164
|
-
}
|
165
|
-
|
166
|
-
.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-end .Layout-main {
|
167
|
-
grid-row: 1;
|
168
|
-
}
|
169
|
-
.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-none .Layout-sidebar {
|
170
|
-
display: none;
|
171
|
-
}
|
172
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided {
|
173
|
-
--Layout-gutter: 0;
|
174
|
-
}
|
175
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider {
|
176
|
-
height: 1px;
|
177
|
-
grid-row: 2;
|
178
|
-
}
|
179
|
-
|
180
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden {
|
181
|
-
display: none;
|
182
|
-
}
|
183
|
-
|
184
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow {
|
185
|
-
height: 8px;
|
186
|
-
margin-right: 0;
|
187
|
-
background: var(--color-canvas-inset);
|
188
|
-
border-color: var(--color-border-default);
|
189
|
-
border-style: solid;
|
190
|
-
border-width: var(--yattho-borderWidth-thin, 1px) 0;
|
191
|
-
}
|
192
|
-
|
193
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-main {
|
194
|
-
grid-row: 3 / span 1;
|
195
|
-
}
|
196
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
197
|
-
grid-row: 3 / span 1;
|
198
|
-
}
|
199
|
-
|
200
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main {
|
201
|
-
grid-row: 1;
|
202
|
-
}
|
203
|
-
}
|
204
|
-
|
205
|
-
.Layout {
|
206
|
-
|
207
|
-
/* Flow as column */
|
208
|
-
|
209
|
-
grid-auto-flow: column;
|
210
|
-
grid-template-columns: auto 0 minmax(0, calc(100% - var(--Layout-sidebar-width) - var(--Layout-gutter))); /* sidebar column, separator, main column */
|
211
|
-
grid-gap: var(--Layout-gutter);
|
212
|
-
}
|
213
|
-
|
214
|
-
.Layout .Layout-sidebar {
|
215
|
-
grid-column: 1;
|
216
|
-
}
|
217
|
-
|
218
|
-
.Layout .Layout-divider {
|
219
|
-
display: none;
|
220
|
-
}
|
221
|
-
|
222
|
-
.Layout .Layout-main {
|
223
|
-
grid-column: 2 / span 2;
|
224
|
-
}
|
225
|
-
|
226
|
-
/* Gutter spacing */
|
227
|
-
|
228
|
-
@media (min-width: 1012px) {
|
229
|
-
|
230
|
-
.Layout {
|
231
|
-
--Layout-gutter: 24px;
|
232
|
-
}
|
233
|
-
}
|
234
|
-
|
235
|
-
.Layout.Layout--gutter-none {
|
236
|
-
/* stylelint-disable-next-line length-zero-no-unit */
|
237
|
-
--Layout-gutter: 0px; /* Neds px in value */
|
238
|
-
}
|
239
|
-
|
240
|
-
.Layout.Layout--gutter-condensed {
|
241
|
-
--Layout-gutter: 16px;
|
242
|
-
}
|
243
|
-
|
244
|
-
@media (min-width: 1012px) {
|
245
|
-
|
246
|
-
.Layout.Layout--gutter-spacious {
|
247
|
-
--Layout-gutter: 32px;
|
248
|
-
}
|
249
|
-
}
|
250
|
-
|
251
|
-
@media (min-width: 1280px) {
|
252
|
-
|
253
|
-
.Layout.Layout--gutter-spacious {
|
254
|
-
--Layout-gutter: 40px;
|
255
|
-
}
|
256
|
-
}
|
257
|
-
|
258
|
-
/* Sidebar width */
|
259
|
-
|
260
|
-
@media (min-width: 544px) {
|
261
|
-
|
262
|
-
.Layout {
|
263
|
-
--Layout-sidebar-width: 220px;
|
264
|
-
}
|
265
|
-
}
|
266
|
-
|
267
|
-
@media (min-width: 768px) {
|
268
|
-
|
269
|
-
.Layout {
|
270
|
-
--Layout-sidebar-width: 256px;
|
271
|
-
}
|
272
|
-
}
|
273
|
-
|
274
|
-
@media (min-width: 1012px) {
|
275
|
-
|
276
|
-
.Layout {
|
277
|
-
--Layout-sidebar-width: 296px;
|
278
|
-
}
|
279
|
-
}
|
280
|
-
|
281
|
-
@media (min-width: 768px) {
|
282
|
-
|
283
|
-
.Layout.Layout--sidebar-narrow {
|
284
|
-
--Layout-sidebar-width: 240px;
|
285
|
-
}
|
286
|
-
}
|
287
|
-
|
288
|
-
@media (min-width: 1012px) {
|
289
|
-
|
290
|
-
.Layout.Layout--sidebar-narrow {
|
291
|
-
--Layout-sidebar-width: 256px;
|
292
|
-
}
|
293
|
-
}
|
294
|
-
|
295
|
-
@media (min-width: 1012px) {
|
296
|
-
|
297
|
-
.Layout.Layout--sidebar-wide {
|
298
|
-
--Layout-sidebar-width: 320px;
|
299
|
-
}
|
300
|
-
}
|
301
|
-
|
302
|
-
@media (min-width: 1280px) {
|
303
|
-
|
304
|
-
.Layout.Layout--sidebar-wide {
|
305
|
-
--Layout-sidebar-width: 336px;
|
306
|
-
}
|
307
|
-
}
|
308
|
-
|
309
|
-
/* Sidebar position */
|
310
|
-
|
311
|
-
.Layout.Layout--sidebarPosition-start .Layout-sidebar {
|
312
|
-
grid-column: 1;
|
313
|
-
}
|
314
|
-
|
315
|
-
.Layout.Layout--sidebarPosition-start .Layout-main {
|
316
|
-
grid-column: 2 / span 2;
|
317
|
-
}
|
318
|
-
|
319
|
-
.Layout.Layout--sidebarPosition-end {
|
320
|
-
grid-template-columns: minmax(0, calc(100% - var(--Layout-sidebar-width) - var(--Layout-gutter))) 0 auto;
|
321
|
-
}
|
322
|
-
|
323
|
-
.Layout.Layout--sidebarPosition-end .Layout-main {
|
324
|
-
grid-column: 1;
|
325
|
-
}
|
326
|
-
|
327
|
-
.Layout.Layout--sidebarPosition-end .Layout-sidebar {
|
328
|
-
grid-column: 2 / span 2;
|
329
|
-
}
|
330
|
-
|
331
|
-
/* Sidebar divider */
|
332
|
-
|
333
|
-
.Layout.Layout--divided .Layout-divider {
|
334
|
-
display: block;
|
335
|
-
grid-column: 2;
|
336
|
-
width: 1px;
|
337
|
-
margin-right: -1px;
|
338
|
-
background: var(--color-border-default);
|
339
|
-
}
|
340
|
-
|
341
|
-
.Layout.Layout--divided .Layout-main {
|
342
|
-
grid-column: 3 / span 1;
|
343
|
-
}
|
344
|
-
|
345
|
-
.Layout.Layout--divided.Layout--sidebarPosition-end .Layout-sidebar {
|
346
|
-
grid-column: 3 / span 1;
|
347
|
-
}
|
348
|
-
|
349
|
-
.Layout.Layout--divided.Layout--sidebarPosition-end .Layout-main {
|
350
|
-
grid-column: 1;
|
351
|
-
}
|
352
|
-
|
353
|
-
.Layout-divider {
|
354
|
-
display: none;
|
355
|
-
width: 1px;
|
356
|
-
}
|
357
|
-
|
358
|
-
.Layout-sidebar {
|
359
|
-
width: var(--Layout-sidebar-width);
|
360
|
-
}
|
361
|
-
|
362
|
-
.Layout-main {
|
363
|
-
min-width: 0;
|
364
|
-
|
365
|
-
/* Centered main column
|
366
|
-
** FIXME: right-aligned sidebar */
|
367
|
-
}
|
368
|
-
|
369
|
-
.Layout-main .Layout-main-centered-md,
|
370
|
-
.Layout-main .Layout-main-centered-lg,
|
371
|
-
.Layout-main .Layout-main-centered-xl {
|
372
|
-
margin-right: auto;
|
373
|
-
margin-left: auto;
|
374
|
-
}
|
375
|
-
|
376
|
-
.Layout-main .Layout-main-centered-md > .container-md,
|
377
|
-
.Layout-main .Layout-main-centered-lg > .container-md,
|
378
|
-
.Layout-main .Layout-main-centered-xl > .container-md,
|
379
|
-
.Layout-main .Layout-main-centered-md > .container-lg,
|
380
|
-
.Layout-main .Layout-main-centered-lg > .container-lg,
|
381
|
-
.Layout-main .Layout-main-centered-xl > .container-lg,
|
382
|
-
.Layout-main .Layout-main-centered-md > .container-xl,
|
383
|
-
.Layout-main .Layout-main-centered-lg > .container-xl,
|
384
|
-
.Layout-main .Layout-main-centered-xl > .container-xl {
|
385
|
-
margin-left: 0;
|
386
|
-
}
|
387
|
-
|
388
|
-
.Layout-main .Layout-main-centered-md {
|
389
|
-
max-width: calc(var(--yattho-breakpoint-medium, 768px) + var(--Layout-sidebar-width) + var(--Layout-gutter));
|
390
|
-
}
|
391
|
-
|
392
|
-
.Layout-main .Layout-main-centered-lg {
|
393
|
-
max-width: calc(var(--yattho-breakpoint-large, 1012px) + var(--Layout-sidebar-width) + var(--Layout-gutter));
|
394
|
-
}
|
395
|
-
|
396
|
-
.Layout-main .Layout-main-centered-xl {
|
397
|
-
max-width: calc(var(--yattho-breakpoint-xlarge, 1280px) + var(--Layout-sidebar-width) + var(--Layout-gutter));
|
398
|
-
}
|
1
|
+
.Layout{--Layout-sidebar-width:220px;--Layout-gutter:16px;display:grid}@media (max-width:calc(544px - 0.02px)){.Layout{grid-auto-flow:row;grid-template-columns:1fr!important}.Layout .Layout-divider,.Layout .Layout-main,.Layout .Layout-sidebar{grid-column:1!important;width:100%!important}.Layout.Layout--sidebarPosition-flowRow-start .Layout-sidebar{grid-row:1}.Layout.Layout--sidebarPosition-flowRow-end .Layout-sidebar,.Layout.Layout--sidebarPosition-flowRow-start .Layout-main{grid-row:2/span 2}.Layout.Layout--sidebarPosition-flowRow-end .Layout-main{grid-row:1}.Layout.Layout--sidebarPosition-flowRow-none .Layout-sidebar{display:none}.Layout.Layout--divided{--Layout-gutter:0}.Layout.Layout--divided .Layout-divider{grid-row:2;height:1px}.Layout.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden{display:none}.Layout.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow{background:var(--color-canvas-inset);border-color:var(--color-border-default);border-style:solid;border-width:var(--yattho-borderWidth-thin,1px) 0;height:8px;margin-right:0}.Layout.Layout--divided .Layout-main,.Layout.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar{grid-row:3/span 1}.Layout.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main{grid-row:1}}@media (max-width:calc(768px - 0.02px)){.Layout.Layout--flowRow-until-md{grid-auto-flow:row;grid-template-columns:1fr!important}.Layout.Layout--flowRow-until-md .Layout-divider,.Layout.Layout--flowRow-until-md .Layout-main,.Layout.Layout--flowRow-until-md .Layout-sidebar{grid-column:1!important;width:100%!important}.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-start .Layout-sidebar{grid-row:1}.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-end .Layout-sidebar,.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-start .Layout-main{grid-row:2/span 2}.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-end .Layout-main{grid-row:1}.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-none .Layout-sidebar{display:none}.Layout.Layout--flowRow-until-md.Layout--divided{--Layout-gutter:0}.Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider{grid-row:2;height:1px}.Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden{display:none}.Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow{background:var(--color-canvas-inset);border-color:var(--color-border-default);border-style:solid;border-width:var(--yattho-borderWidth-thin,1px) 0;height:8px;margin-right:0}.Layout.Layout--flowRow-until-md.Layout--divided .Layout-main,.Layout.Layout--flowRow-until-md.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar{grid-row:3/span 1}.Layout.Layout--flowRow-until-md.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main{grid-row:1}}@media (max-width:calc(1012px - 0.02px)){.Layout.Layout--flowRow-until-lg{grid-auto-flow:row;grid-template-columns:1fr!important}.Layout.Layout--flowRow-until-lg .Layout-divider,.Layout.Layout--flowRow-until-lg .Layout-main,.Layout.Layout--flowRow-until-lg .Layout-sidebar{grid-column:1!important;width:100%!important}.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-start .Layout-sidebar{grid-row:1}.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-end .Layout-sidebar,.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-start .Layout-main{grid-row:2/span 2}.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-end .Layout-main{grid-row:1}.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-none .Layout-sidebar{display:none}.Layout.Layout--flowRow-until-lg.Layout--divided{--Layout-gutter:0}.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider{grid-row:2;height:1px}.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden{display:none}.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow{background:var(--color-canvas-inset);border-color:var(--color-border-default);border-style:solid;border-width:var(--yattho-borderWidth-thin,1px) 0;height:8px;margin-right:0}.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-main,.Layout.Layout--flowRow-until-lg.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar{grid-row:3/span 1}.Layout.Layout--flowRow-until-lg.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main{grid-row:1}}.Layout{grid-gap:var(--Layout-gutter);grid-auto-flow:column;grid-template-columns:auto 0 minmax(0,calc(100% - var(--Layout-sidebar-width) - var(--Layout-gutter)))}.Layout .Layout-sidebar{grid-column:1}.Layout .Layout-divider{display:none}.Layout .Layout-main{grid-column:2/span 2}@media (min-width:1012px){.Layout{--Layout-gutter:24px}}.Layout.Layout--gutter-none{--Layout-gutter:0px}.Layout.Layout--gutter-condensed{--Layout-gutter:16px}@media (min-width:1012px){.Layout.Layout--gutter-spacious{--Layout-gutter:32px}}@media (min-width:1280px){.Layout.Layout--gutter-spacious{--Layout-gutter:40px}}@media (min-width:544px){.Layout{--Layout-sidebar-width:220px}}@media (min-width:768px){.Layout{--Layout-sidebar-width:256px}}@media (min-width:1012px){.Layout{--Layout-sidebar-width:296px}}@media (min-width:768px){.Layout.Layout--sidebar-narrow{--Layout-sidebar-width:240px}}@media (min-width:1012px){.Layout.Layout--sidebar-narrow{--Layout-sidebar-width:256px}.Layout.Layout--sidebar-wide{--Layout-sidebar-width:320px}}@media (min-width:1280px){.Layout.Layout--sidebar-wide{--Layout-sidebar-width:336px}}.Layout.Layout--sidebarPosition-start .Layout-sidebar{grid-column:1}.Layout.Layout--sidebarPosition-start .Layout-main{grid-column:2/span 2}.Layout.Layout--sidebarPosition-end{grid-template-columns:minmax(0,calc(100% - var(--Layout-sidebar-width) - var(--Layout-gutter))) 0 auto}.Layout.Layout--sidebarPosition-end .Layout-main{grid-column:1}.Layout.Layout--sidebarPosition-end .Layout-sidebar{grid-column:2/span 2}.Layout.Layout--divided .Layout-divider{background:var(--color-border-default);display:block;grid-column:2;margin-right:-1px;width:1px}.Layout.Layout--divided .Layout-main,.Layout.Layout--divided.Layout--sidebarPosition-end .Layout-sidebar{grid-column:3/span 1}.Layout.Layout--divided.Layout--sidebarPosition-end .Layout-main{grid-column:1}.Layout-divider{display:none;width:1px}.Layout-sidebar{width:var(--Layout-sidebar-width)}.Layout-main{min-width:0}.Layout-main .Layout-main-centered-lg,.Layout-main .Layout-main-centered-md,.Layout-main .Layout-main-centered-xl{margin-left:auto;margin-right:auto}.Layout-main .Layout-main-centered-lg>.container-lg,.Layout-main .Layout-main-centered-lg>.container-md,.Layout-main .Layout-main-centered-lg>.container-xl,.Layout-main .Layout-main-centered-md>.container-lg,.Layout-main .Layout-main-centered-md>.container-md,.Layout-main .Layout-main-centered-md>.container-xl,.Layout-main .Layout-main-centered-xl>.container-lg,.Layout-main .Layout-main-centered-xl>.container-md,.Layout-main .Layout-main-centered-xl>.container-xl{margin-left:0}.Layout-main .Layout-main-centered-md{max-width:calc(var(--yattho-breakpoint-medium, 768px) + var(--Layout-sidebar-width) + var(--Layout-gutter))}.Layout-main .Layout-main-centered-lg{max-width:calc(var(--yattho-breakpoint-large, 1012px) + var(--Layout-sidebar-width) + var(--Layout-gutter))}.Layout-main .Layout-main-centered-xl{max-width:calc(var(--yattho-breakpoint-xlarge, 1280px) + var(--Layout-sidebar-width) + var(--Layout-gutter))}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"alpha/layout","selectors":[".Layout",".Layout .Layout-
|
1
|
+
{"name":"alpha/layout","selectors":[".Layout",".Layout .Layout-divider",".Layout .Layout-main",".Layout .Layout-sidebar",".Layout.Layout--sidebarPosition-flowRow-start .Layout-sidebar",".Layout.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--sidebarPosition-flowRow-start .Layout-main",".Layout.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--sidebarPosition-flowRow-none .Layout-sidebar",".Layout.Layout--divided",".Layout.Layout--divided .Layout-divider",".Layout.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden",".Layout.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow",".Layout.Layout--divided .Layout-main",".Layout.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--flowRow-until-md",".Layout.Layout--flowRow-until-md .Layout-divider",".Layout.Layout--flowRow-until-md .Layout-main",".Layout.Layout--flowRow-until-md .Layout-sidebar",".Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-start .Layout-sidebar",".Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-start .Layout-main",".Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-none .Layout-sidebar",".Layout.Layout--flowRow-until-md.Layout--divided",".Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider",".Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden",".Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow",".Layout.Layout--flowRow-until-md.Layout--divided .Layout-main",".Layout.Layout--flowRow-until-md.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--flowRow-until-md.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--flowRow-until-lg",".Layout.Layout--flowRow-until-lg .Layout-divider",".Layout.Layout--flowRow-until-lg .Layout-main",".Layout.Layout--flowRow-until-lg .Layout-sidebar",".Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-start .Layout-sidebar",".Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-start .Layout-main",".Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-none .Layout-sidebar",".Layout.Layout--flowRow-until-lg.Layout--divided",".Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider",".Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden",".Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow",".Layout.Layout--flowRow-until-lg.Layout--divided .Layout-main",".Layout.Layout--flowRow-until-lg.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--flowRow-until-lg.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--gutter-none",".Layout.Layout--gutter-condensed",".Layout.Layout--gutter-spacious",".Layout.Layout--sidebar-narrow",".Layout.Layout--sidebar-wide",".Layout.Layout--sidebarPosition-start .Layout-sidebar",".Layout.Layout--sidebarPosition-start .Layout-main",".Layout.Layout--sidebarPosition-end",".Layout.Layout--sidebarPosition-end .Layout-main",".Layout.Layout--sidebarPosition-end .Layout-sidebar",".Layout.Layout--divided.Layout--sidebarPosition-end .Layout-sidebar",".Layout.Layout--divided.Layout--sidebarPosition-end .Layout-main",".Layout-divider",".Layout-sidebar",".Layout-main",".Layout-main .Layout-main-centered-lg",".Layout-main .Layout-main-centered-md",".Layout-main .Layout-main-centered-xl",".Layout-main .Layout-main-centered-lg>.container-lg",".Layout-main .Layout-main-centered-lg>.container-md",".Layout-main .Layout-main-centered-lg>.container-xl",".Layout-main .Layout-main-centered-md>.container-lg",".Layout-main .Layout-main-centered-md>.container-md",".Layout-main .Layout-main-centered-md>.container-xl",".Layout-main .Layout-main-centered-xl>.container-lg",".Layout-main .Layout-main-centered-xl>.container-md",".Layout-main .Layout-main-centered-xl>.container-xl"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["layout.pcss"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["layout.pcss"],"names":[],"mappings":"AAgFA,QAGE,4BAA6B,CAC7B,oBAAqB,CAHrB,YAkJF,CA7IE,wCANF,QA7EE,kBAAmB,CACnB,mCA+NF,CA7NE,qEAIE,uBAAyB,CADzB,oBAEF,CAGE,8DACE,UACF,CAQA,uHACE,iBACF,CAEA,yDACE,UACF,CAIA,6DACE,YACF,CAGF,wBAoBA,iBAJA,CAMA,wCAEE,UAAW,CADX,UAeF,CAZE,uEACE,YACF,CAEA,wEAGE,oCAAqC,CACrC,wCAAyC,CACzC,kBAAmB,CACnB,iDAAmD,CALnD,UAAW,CACX,cAKF,CA7BE,iHACE,iBACF,CAEA,yEACE,UACF,CAmCJ,CAGE,wCADF,iCAvFA,kBAAmB,CACnB,mCA0FA,CAxFA,gJAIE,uBAAyB,CADzB,oBAEF,CAGE,uFACE,UACF,CAQA,yKACE,iBACF,CAEA,kFACE,UACF,CAIA,sFACE,YACF,CAGF,iDAoBA,iBAJA,CAMA,iEAEE,UAAW,CADX,UAeF,CAZE,gGACE,YACF,CAEA,iGAGE,oCAAqC,CACrC,wCAAyC,CACzC,kBAAmB,CACnB,iDAAmD,CALnD,UAAW,CACX,cAKF,CA7BE,mKACE,iBACF,CAEA,kGACE,UACF,CAwCF,CAIA,yCADF,iCA7FA,kBAAmB,CACnB,mCAgGA,CA9FA,gJAIE,uBAAyB,CADzB,oBAEF,CAGE,uFACE,UACF,CAQA,yKACE,iBACF,CAEA,kFACE,UACF,CAIA,sFACE,YACF,CAGF,iDAoBA,iBAJA,CAMA,iEAEE,UAAW,CADX,UAeF,CAZE,gGACE,YACF,CAEA,iGAGE,oCAAqC,CACrC,wCAAyC,CACzC,kBAAmB,CACnB,iDAAmD,CALnD,UAAW,CACX,cAKF,CA7BE,mKACE,iBACF,CAEA,kGACE,UACF,CA8CF,CAnBJ,QA0BE,6BAA8B,CAF9B,qBAAsB,CACtB,sGA0HF,CAvHE,wBACE,aACF,CAEA,wBACE,YACF,CAEA,qBACE,oBACF,CAIA,0BA1CF,QA2CI,oBAwGJ,CAvGE,CAEA,4BAEE,mBACF,CAEA,iCACE,oBACF,CAGE,0BADF,gCAEI,oBAMJ,CALE,CAEA,0BALF,gCAMI,oBAEJ,CADE,CAIF,yBAlEF,QAmEI,4BAgFJ,CA/EE,CAEA,yBAtEF,QAuEI,4BA4EJ,CA3EE,CAEA,0BA1EF,QA2EI,4BAwEJ,CAvEE,CAGE,yBADF,+BAEI,4BAMJ,CALE,CAEA,0BALF,+BAMI,4BAEJ,CAEA,6BAEI,4BAMJ,CAXE,CAQA,0BALF,6BAMI,4BAEJ,CADE,CAMA,sDACE,aACF,CAEA,mDACE,oBACF,CAGF,oCACE,sGASF,CAPE,iDACE,aACF,CAEA,oDACE,oBACF,CAMA,wCAKE,sCAAuC,CAJvC,aAAc,CACd,aAAc,CAEd,iBAAkB,CADlB,SAGF,CAOE,yGACE,oBACF,CAEA,iEACE,aACF,CAKN,gBACE,YAAa,CACb,SACF,CAEA,gBACE,iCACF,CAEA,aACE,WA4BF,CAxBE,kHAIE,gBAAiB,CADjB,iBAQF,CALE,odAGE,aACF,CAGF,sCACE,2GACF,CAEA,sCACE,2GACF,CAEA,sCACE,4GACF","file":"layout.css","sourcesContent":["/* Layout */\n\n@define-mixin flow-as-row {\n grid-auto-flow: row;\n grid-template-columns: 1fr !important;\n\n & .Layout-sidebar,\n & .Layout-divider,\n & .Layout-main {\n width: 100% !important;\n grid-column: 1 !important;\n }\n\n &.Layout--sidebarPosition-flowRow-start {\n & .Layout-sidebar {\n grid-row: 1;\n }\n\n & .Layout-main {\n grid-row: 2 / span 2;\n }\n }\n\n &.Layout--sidebarPosition-flowRow-end {\n & .Layout-sidebar {\n grid-row: 2 / span 2;\n }\n\n & .Layout-main {\n grid-row: 1;\n }\n }\n\n &.Layout--sidebarPosition-flowRow-none {\n & .Layout-sidebar {\n display: none;\n }\n }\n\n &.Layout--divided {\n @mixin flow-as-row-divider;\n\n & .Layout-main {\n grid-row: 3 / span 1;\n }\n\n &.Layout--sidebarPosition-flowRow-end {\n & .Layout-sidebar {\n grid-row: 3 / span 1;\n }\n\n & .Layout-main {\n grid-row: 1;\n }\n }\n }\n}\n\n@define-mixin flow-as-row-divider {\n --Layout-gutter: 0;\n\n & .Layout-divider {\n height: 1px;\n grid-row: 2;\n\n &.Layout-divider--flowRow-hidden {\n display: none;\n }\n\n &.Layout-divider--flowRow-shallow {\n height: 8px;\n margin-right: 0;\n background: var(--color-canvas-inset);\n border-color: var(--color-border-default);\n border-style: solid;\n border-width: var(--yattho-borderWidth-thin, 1px) 0;\n }\n }\n}\n\n.Layout {\n display: grid;\n\n --Layout-sidebar-width: 220px;\n --Layout-gutter: 16px;\n\n @media (max-width: calc(544px - 0.02px)) {\n @mixin flow-as-row;\n }\n\n &.Layout--flowRow-until-md {\n @media (max-width: calc(768px - 0.02px)) {\n @mixin flow-as-row;\n }\n }\n\n &.Layout--flowRow-until-lg {\n @media (max-width: calc(1012px - 0.02px)) {\n @mixin flow-as-row;\n }\n }\n\n /* Flow as column */\n\n grid-auto-flow: column;\n grid-template-columns: auto 0 minmax(0, calc(100% - var(--Layout-sidebar-width) - var(--Layout-gutter))); /* sidebar column, separator, main column */\n grid-gap: var(--Layout-gutter);\n\n & .Layout-sidebar {\n grid-column: 1;\n }\n\n & .Layout-divider {\n display: none;\n }\n\n & .Layout-main {\n grid-column: 2 / span 2;\n }\n\n /* Gutter spacing */\n\n @media (min-width: 1012px) {\n --Layout-gutter: 24px;\n }\n\n &.Layout--gutter-none {\n /* stylelint-disable-next-line length-zero-no-unit */\n --Layout-gutter: 0px; /* Neds px in value */\n }\n\n &.Layout--gutter-condensed {\n --Layout-gutter: 16px;\n }\n\n &.Layout--gutter-spacious {\n @media (min-width: 1012px) {\n --Layout-gutter: 32px;\n }\n\n @media (min-width: 1280px) {\n --Layout-gutter: 40px;\n }\n }\n\n /* Sidebar width */\n @media (min-width: 544px) {\n --Layout-sidebar-width: 220px;\n }\n\n @media (min-width: 768px) {\n --Layout-sidebar-width: 256px;\n }\n\n @media (min-width: 1012px) {\n --Layout-sidebar-width: 296px;\n }\n\n &.Layout--sidebar-narrow {\n @media (min-width: 768px) {\n --Layout-sidebar-width: 240px;\n }\n\n @media (min-width: 1012px) {\n --Layout-sidebar-width: 256px;\n }\n }\n\n &.Layout--sidebar-wide {\n @media (min-width: 1012px) {\n --Layout-sidebar-width: 320px;\n }\n\n @media (min-width: 1280px) {\n --Layout-sidebar-width: 336px;\n }\n }\n\n /* Sidebar position */\n\n &.Layout--sidebarPosition-start {\n & .Layout-sidebar {\n grid-column: 1;\n }\n\n & .Layout-main {\n grid-column: 2 / span 2;\n }\n }\n\n &.Layout--sidebarPosition-end {\n grid-template-columns: minmax(0, calc(100% - var(--Layout-sidebar-width) - var(--Layout-gutter))) 0 auto;\n\n & .Layout-main {\n grid-column: 1;\n }\n\n & .Layout-sidebar {\n grid-column: 2 / span 2;\n }\n }\n\n /* Sidebar divider */\n\n &.Layout--divided {\n & .Layout-divider {\n display: block;\n grid-column: 2;\n width: 1px;\n margin-right: -1px;\n background: var(--color-border-default);\n }\n\n & .Layout-main {\n grid-column: 3 / span 1;\n }\n\n &.Layout--sidebarPosition-end {\n & .Layout-sidebar {\n grid-column: 3 / span 1;\n }\n\n & .Layout-main {\n grid-column: 1;\n }\n }\n }\n}\n\n.Layout-divider {\n display: none;\n width: 1px;\n}\n\n.Layout-sidebar {\n width: var(--Layout-sidebar-width);\n}\n\n.Layout-main {\n min-width: 0;\n\n /* Centered main column\n ** FIXME: right-aligned sidebar */\n & .Layout-main-centered-md,\n & .Layout-main-centered-lg,\n & .Layout-main-centered-xl {\n margin-right: auto;\n margin-left: auto;\n\n & > .container-md,\n & > .container-lg,\n & > .container-xl {\n margin-left: 0;\n }\n }\n\n & .Layout-main-centered-md {\n max-width: calc(var(--yattho-breakpoint-medium, 768px) + var(--Layout-sidebar-width) + var(--Layout-gutter));\n }\n\n & .Layout-main-centered-lg {\n max-width: calc(var(--yattho-breakpoint-large, 1012px) + var(--Layout-sidebar-width) + var(--Layout-gutter));\n }\n\n & .Layout-main-centered-xl {\n max-width: calc(var(--yattho-breakpoint-xlarge, 1280px) + var(--Layout-sidebar-width) + var(--Layout-gutter));\n }\n}"]}
|
@@ -1,117 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
/* A menu on the side of a page, defaults to left side. e.g. github.com/about */
|
4
|
-
|
5
|
-
.menu {
|
6
|
-
margin-bottom: var(--yattho-stack-gap-normal, 16px);
|
7
|
-
list-style: none;
|
8
|
-
background-color: var(--color-canvas-default);
|
9
|
-
border: var(--yattho-borderWidth-thin, 1px) solid var(--color-border-default);
|
10
|
-
border-radius: var(--yattho-borderRadius-medium, 6px);
|
11
|
-
}
|
12
|
-
|
13
|
-
.menu-item {
|
14
|
-
position: relative;
|
15
|
-
display: block;
|
16
|
-
padding: var(--yattho-control-medium-paddingInline-condensed, 8px) var(--yattho-control-medium-paddingInline-spacious, 16px);
|
17
|
-
color: var(--color-fg-default);
|
18
|
-
border-bottom: var(--yattho-borderWidth-thin, 1px) solid var(--color-border-muted);
|
19
|
-
}
|
20
|
-
|
21
|
-
.menu-item:first-child {
|
22
|
-
border-top: 0;
|
23
|
-
border-top-left-radius: var(--yattho-borderRadius-medium, 6px);
|
24
|
-
border-top-right-radius: var(--yattho-borderRadius-medium, 6px);
|
25
|
-
}
|
26
|
-
|
27
|
-
.menu-item:first-child::before {
|
28
|
-
border-top-left-radius: var(--yattho-borderRadius-medium, 6px);
|
29
|
-
}
|
30
|
-
|
31
|
-
.menu-item:last-child {
|
32
|
-
border-bottom: 0;
|
33
|
-
border-bottom-right-radius: var(--yattho-borderRadius-medium, 6px);
|
34
|
-
border-bottom-left-radius: var(--yattho-borderRadius-medium, 6px);
|
35
|
-
}
|
36
|
-
|
37
|
-
.menu-item:last-child::before {
|
38
|
-
border-bottom-left-radius: var(--yattho-borderRadius-medium, 6px);
|
39
|
-
}
|
40
|
-
|
41
|
-
.menu-item:hover {
|
42
|
-
text-decoration: none;
|
43
|
-
background-color: var(--color-neutral-subtle);
|
44
|
-
}
|
45
|
-
|
46
|
-
.menu-item:active {
|
47
|
-
background-color: var(--color-canvas-subtle);
|
48
|
-
}
|
49
|
-
|
50
|
-
.menu-item.selected,
|
51
|
-
.menu-item[aria-selected='true'],
|
52
|
-
.menu-item[aria-current]:not([aria-current='false']) {
|
53
|
-
cursor: default;
|
54
|
-
background-color: var(--color-menu-bg-active);
|
55
|
-
}
|
56
|
-
|
57
|
-
.menu-item.selected::before, .menu-item[aria-selected='true']::before, .menu-item[aria-current]:not([aria-current='false'])::before {
|
58
|
-
position: absolute;
|
59
|
-
top: 0;
|
60
|
-
bottom: 0;
|
61
|
-
left: 0;
|
62
|
-
width: 2px;
|
63
|
-
content: '';
|
64
|
-
background-color: var(--color-yattho-border-active);
|
65
|
-
}
|
66
|
-
|
67
|
-
.menu-item .octicon {
|
68
|
-
width: 16px;
|
69
|
-
margin-right: var(--yattho-control-medium-gap, 8px);
|
70
|
-
color: var(--color-fg-muted);
|
71
|
-
text-align: center;
|
72
|
-
}
|
73
|
-
|
74
|
-
.menu-item .Counter {
|
75
|
-
float: right;
|
76
|
-
margin-left: var(--yattho-control-small-gap, 4px);
|
77
|
-
}
|
78
|
-
|
79
|
-
.menu-item .menu-warning {
|
80
|
-
float: right;
|
81
|
-
color: var(--color-attention-fg);
|
82
|
-
}
|
83
|
-
|
84
|
-
.menu-item .avatar {
|
85
|
-
float: left;
|
86
|
-
margin-right: var(--yattho-control-small-gap, 4px);
|
87
|
-
}
|
88
|
-
|
89
|
-
.menu-item.alert .Counter {
|
90
|
-
color: var(--color-danger-fg);
|
91
|
-
}
|
92
|
-
|
93
|
-
.menu-heading {
|
94
|
-
display: block;
|
95
|
-
padding: var(--yattho-control-medium-paddingInline-condensed, 8px) var(--yattho-control-medium-paddingInline-spacious, 16px);
|
96
|
-
margin-top: 0;
|
97
|
-
margin-bottom: 0;
|
98
|
-
font-size: inherit;
|
99
|
-
font-weight: var(--base-text-weight-semibold, 600);
|
100
|
-
color: var(--color-fg-default);
|
101
|
-
border-bottom: var(--yattho-borderWidth-thin, 1px) solid var(--color-border-muted);
|
102
|
-
}
|
103
|
-
|
104
|
-
.menu-heading:hover {
|
105
|
-
text-decoration: none;
|
106
|
-
}
|
107
|
-
|
108
|
-
.menu-heading:first-child {
|
109
|
-
border-top-left-radius: var(--yattho-borderRadius-medium, 6px);
|
110
|
-
border-top-right-radius: var(--yattho-borderRadius-medium, 6px);
|
111
|
-
}
|
112
|
-
|
113
|
-
.menu-heading:last-child {
|
114
|
-
border-bottom: 0;
|
115
|
-
border-bottom-right-radius: var(--yattho-borderRadius-medium, 6px);
|
116
|
-
border-bottom-left-radius: var(--yattho-borderRadius-medium, 6px);
|
117
|
-
}
|
1
|
+
.menu{background-color:var(--color-canvas-default);border:var(--yattho-borderWidth-thin,1px) solid var(--color-border-default);border-radius:var(--yattho-borderRadius-medium,6px);list-style:none;margin-bottom:var(--yattho-stack-gap-normal,16px)}.menu-item{border-bottom:var(--yattho-borderWidth-thin,1px) solid var(--color-border-muted);color:var(--color-fg-default);display:block;padding:var(--yattho-control-medium-paddingInline-condensed,8px) var(--yattho-control-medium-paddingInline-spacious,16px);position:relative}.menu-item:first-child{border-top:0;border-top-right-radius:var(--yattho-borderRadius-medium,6px)}.menu-item:first-child,.menu-item:first-child:before{border-top-left-radius:var(--yattho-borderRadius-medium,6px)}.menu-item:last-child{border-bottom:0;border-bottom-right-radius:var(--yattho-borderRadius-medium,6px)}.menu-item:last-child,.menu-item:last-child:before{border-bottom-left-radius:var(--yattho-borderRadius-medium,6px)}.menu-item:hover{background-color:var(--color-neutral-subtle);text-decoration:none}.menu-item:active{background-color:var(--color-canvas-subtle)}.menu-item.selected,.menu-item[aria-current]:not([aria-current=false]),.menu-item[aria-selected=true]{background-color:var(--color-menu-bg-active);cursor:default}.menu-item.selected:before,.menu-item[aria-current]:not([aria-current=false]):before,.menu-item[aria-selected=true]:before{background-color:var(--color-yattho-border-active);bottom:0;content:"";left:0;position:absolute;top:0;width:2px}.menu-item .octicon{color:var(--color-fg-muted);margin-right:var(--yattho-control-medium-gap,8px);text-align:center;width:16px}.menu-item .Counter{float:right;margin-left:var(--yattho-control-small-gap,4px)}.menu-item .menu-warning{color:var(--color-attention-fg);float:right}.menu-item .avatar{float:left;margin-right:var(--yattho-control-small-gap,4px)}.menu-item.alert .Counter{color:var(--color-danger-fg)}.menu-heading{border-bottom:var(--yattho-borderWidth-thin,1px) solid var(--color-border-muted);color:var(--color-fg-default);display:block;font-size:inherit;font-weight:var(--base-text-weight-semibold,600);margin-bottom:0;margin-top:0;padding:var(--yattho-control-medium-paddingInline-condensed,8px) var(--yattho-control-medium-paddingInline-spacious,16px)}.menu-heading:hover{text-decoration:none}.menu-heading:first-child{border-top-left-radius:var(--yattho-borderRadius-medium,6px);border-top-right-radius:var(--yattho-borderRadius-medium,6px)}.menu-heading:last-child{border-bottom:0;border-bottom-left-radius:var(--yattho-borderRadius-medium,6px);border-bottom-right-radius:var(--yattho-borderRadius-medium,6px)}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"alpha/menu","selectors":[".menu",".menu-item",".menu-item:first-child",".menu-item:first-child
|
1
|
+
{"name":"alpha/menu","selectors":[".menu",".menu-item",".menu-item:first-child",".menu-item:first-child:before",".menu-item:last-child",".menu-item:last-child:before",".menu-item:hover",".menu-item:active",".menu-item.selected",".menu-item[aria-current]:not([aria-current=false])",".menu-item[aria-selected=true]",".menu-item.selected:before",".menu-item[aria-current]:not([aria-current=false]):before",".menu-item[aria-selected=true]:before",".menu-item .octicon",".menu-item .Counter",".menu-item .menu-warning",".menu-item .avatar",".menu-item.alert .Counter",".menu-heading",".menu-heading:hover",".menu-heading:first-child",".menu-heading:last-child"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["menu.pcss"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["menu.pcss"],"names":[],"mappings":"AAIA,MAGE,4CAA6C,CAC7C,2EAA6E,CAC7E,mDAAqD,CAHrD,eAAgB,CADhB,iDAKF,CAEA,WAKE,gFAAkF,CADlF,6BAA8B,CAF9B,aAAc,CACd,yHAA4H,CAF5H,iBA+EF,CAzEE,uBACE,YAAa,CAEb,6DAKF,CAHE,qDAHA,4DAKA,CAGF,sBACE,eAAgB,CAChB,gEAMF,CAHE,mDAFA,+DAIA,CAGF,iBAEE,4CAA6C,CAD7C,oBAEF,CAEA,kBACE,2CACF,CAEA,sGAIE,4CAA6C,CAD7C,cAYF,CATE,2HAOE,kDAAmD,CAJnD,QAAS,CAGT,UAAW,CAFX,MAAO,CAHP,iBAAkB,CAClB,KAAM,CAGN,SAGF,CAGF,oBAGE,2BAA4B,CAD5B,iDAAmD,CAEnD,iBAAkB,CAHlB,UAIF,CAEA,oBACE,WAAY,CACZ,+CACF,CAEA,yBAEE,+BAAgC,CADhC,WAEF,CAEA,mBACE,UAAW,CACX,gDACF,CAGE,0BACE,4BACF,CAIJ,cAQE,gFAAkF,CADlF,6BAA8B,CAN9B,aAAc,CAId,iBAAkB,CAClB,gDAAkD,CAFlD,eAAgB,CADhB,YAAa,CADb,yHAsBF,CAdE,oBACE,oBACF,CAEA,0BACE,4DAA8D,CAC9D,6DACF,CAEA,yBACE,eAAgB,CAEhB,+DAAiE,CADjE,gEAEF","file":"menu.css","sourcesContent":["/* menu */\n\n/* A menu on the side of a page, defaults to left side. e.g. github.com/about */\n\n.menu {\n margin-bottom: var(--yattho-stack-gap-normal, 16px);\n list-style: none;\n background-color: var(--color-canvas-default);\n border: var(--yattho-borderWidth-thin, 1px) solid var(--color-border-default);\n border-radius: var(--yattho-borderRadius-medium, 6px);\n}\n\n.menu-item {\n position: relative;\n display: block;\n padding: var(--yattho-control-medium-paddingInline-condensed, 8px) var(--yattho-control-medium-paddingInline-spacious, 16px);\n color: var(--color-fg-default);\n border-bottom: var(--yattho-borderWidth-thin, 1px) solid var(--color-border-muted);\n\n &:first-child {\n border-top: 0;\n border-top-left-radius: var(--yattho-borderRadius-medium, 6px);\n border-top-right-radius: var(--yattho-borderRadius-medium, 6px);\n\n &::before {\n border-top-left-radius: var(--yattho-borderRadius-medium, 6px);\n }\n }\n\n &:last-child {\n border-bottom: 0;\n border-bottom-right-radius: var(--yattho-borderRadius-medium, 6px);\n border-bottom-left-radius: var(--yattho-borderRadius-medium, 6px);\n\n &::before {\n border-bottom-left-radius: var(--yattho-borderRadius-medium, 6px);\n }\n }\n\n &:hover {\n text-decoration: none;\n background-color: var(--color-neutral-subtle);\n }\n\n &:active {\n background-color: var(--color-canvas-subtle);\n }\n\n &.selected,\n &[aria-selected='true'],\n &[aria-current]:not([aria-current='false']) {\n cursor: default;\n background-color: var(--color-menu-bg-active);\n\n &::before {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 2px;\n content: '';\n background-color: var(--color-yattho-border-active);\n }\n }\n\n & .octicon {\n width: 16px;\n margin-right: var(--yattho-control-medium-gap, 8px);\n color: var(--color-fg-muted);\n text-align: center;\n }\n\n & .Counter {\n float: right;\n margin-left: var(--yattho-control-small-gap, 4px);\n }\n\n & .menu-warning {\n float: right;\n color: var(--color-attention-fg);\n }\n\n & .avatar {\n float: left;\n margin-right: var(--yattho-control-small-gap, 4px);\n }\n\n &.alert {\n & .Counter {\n color: var(--color-danger-fg);\n }\n }\n}\n\n.menu-heading {\n display: block;\n padding: var(--yattho-control-medium-paddingInline-condensed, 8px) var(--yattho-control-medium-paddingInline-spacious, 16px);\n margin-top: 0;\n margin-bottom: 0;\n font-size: inherit;\n font-weight: var(--base-text-weight-semibold, 600);\n color: var(--color-fg-default);\n border-bottom: var(--yattho-borderWidth-thin, 1px) solid var(--color-border-muted);\n\n &:hover {\n text-decoration: none;\n }\n\n &:first-child {\n border-top-left-radius: var(--yattho-borderRadius-medium, 6px);\n border-top-right-radius: var(--yattho-borderRadius-medium, 6px);\n }\n\n &:last-child {\n border-bottom: 0;\n border-bottom-right-radius: var(--yattho-borderRadius-medium, 6px);\n border-bottom-left-radius: var(--yattho-borderRadius-medium, 6px);\n }\n}"]}
|
@@ -86,6 +86,7 @@ export class ModalDialogElement extends HTMLElement {
|
|
86
86
|
return;
|
87
87
|
this.setAttribute('open', '');
|
88
88
|
(_a = __classPrivateFieldGet(this, _ModalDialogElement_instances, "a", _ModalDialogElement_overlayBackdrop_get)) === null || _a === void 0 ? void 0 : _a.classList.remove('Overlay--hidden');
|
89
|
+
document.body.style.paddingRight = `${window.innerWidth - document.body.clientWidth}px`;
|
89
90
|
document.body.style.overflow = 'hidden';
|
90
91
|
if (__classPrivateFieldGet(this, _ModalDialogElement_focusAbortController, "f").signal.aborted) {
|
91
92
|
__classPrivateFieldSet(this, _ModalDialogElement_focusAbortController, new AbortController(), "f");
|
@@ -98,6 +99,7 @@ export class ModalDialogElement extends HTMLElement {
|
|
98
99
|
return;
|
99
100
|
this.removeAttribute('open');
|
100
101
|
(_b = __classPrivateFieldGet(this, _ModalDialogElement_instances, "a", _ModalDialogElement_overlayBackdrop_get)) === null || _b === void 0 ? void 0 : _b.classList.add('Overlay--hidden');
|
102
|
+
document.body.style.paddingRight = '0';
|
101
103
|
document.body.style.overflow = 'initial';
|
102
104
|
__classPrivateFieldGet(this, _ModalDialogElement_focusAbortController, "f").abort();
|
103
105
|
// if #openButton is a child of a menu, we need to focus a suitable child of the menu
|