UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

331 lines (327 loc) • 11.4 kB
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* stylelint-disable @awsui/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */ /* stylelint-enable @awsui/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* Style used for links in slots/components that are text heavy, to help links stand out among surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */ .awsui_breadcrumb-group_d19fg_m2a5y_145:not(#\9) { border-collapse: separate; border-spacing: 0; box-sizing: border-box; caption-side: top; cursor: auto; direction: inherit; empty-cells: show; font-family: serif; font-style: normal; font-variant: normal; font-stretch: normal; hyphens: none; letter-spacing: normal; list-style: disc outside none; tab-size: 8; text-align: start; text-indent: 0; text-shadow: none; text-transform: none; visibility: visible; white-space: normal; word-spacing: normal; font-size: var(--font-size-body-m-kbh530, 14px); line-height: var(--line-height-body-m-0awzkk, 22px); color: var(--color-text-body-default-zs35hz, #16191f); font-weight: 400; font-family: var(--font-family-base-5z8fw5, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif); -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; margin-block: 0; margin-inline: 0; padding-block: var(--space-xxs-ja5cp8, 4px); padding-inline: 0; } .awsui_breadcrumb-group_d19fg_m2a5y_145 > .awsui_breadcrumb-group-list_d19fg_m2a5y_180:not(#\9) { display: flex; align-items: center; padding-block: 0; padding-inline: 0; margin-block: 0; margin-inline: 0; list-style: none; inline-size: 100%; flex-wrap: nowrap; } .awsui_breadcrumb-group_d19fg_m2a5y_145 > .awsui_breadcrumb-group-list_d19fg_m2a5y_180.awsui_ghost_d19fg_m2a5y_191:not(#\9) { flex-wrap: wrap; position: absolute; inset-inline-start: -9000px; } .awsui_breadcrumb-group_d19fg_m2a5y_145 > .awsui_breadcrumb-group-list_d19fg_m2a5y_180 > .awsui_item_d19fg_m2a5y_196:not(#\9), .awsui_breadcrumb-group_d19fg_m2a5y_145 > .awsui_breadcrumb-group-list_d19fg_m2a5y_180 > .awsui_ghost-item_d19fg_m2a5y_197:not(#\9), .awsui_breadcrumb-group_d19fg_m2a5y_145 > .awsui_breadcrumb-group-list_d19fg_m2a5y_180 > .awsui_ellipsis_d19fg_m2a5y_198:not(#\9) { display: inline-block; padding-block: 0; padding-inline: 0; margin-block: 0; margin-inline: 0; } .awsui_breadcrumb-group_d19fg_m2a5y_145 > .awsui_breadcrumb-group-list_d19fg_m2a5y_180 > .awsui_item_d19fg_m2a5y_196:not(#\9):last-child { flex-shrink: 1; min-inline-size: 0; } .awsui_breadcrumb-group_d19fg_m2a5y_145 > .awsui_breadcrumb-group-list_d19fg_m2a5y_180 > .awsui_item_d19fg_m2a5y_196.awsui_hide_d19fg_m2a5y_209:not(#\9) { display: none; } .awsui_breadcrumb-group_d19fg_m2a5y_145 > .awsui_breadcrumb-group-list_d19fg_m2a5y_180 > .awsui_ellipsis_d19fg_m2a5y_198:not(#\9) { display: none; } .awsui_breadcrumb-group_d19fg_m2a5y_145 > .awsui_breadcrumb-group-list_d19fg_m2a5y_180 > .awsui_ellipsis_d19fg_m2a5y_198.awsui_visible_d19fg_m2a5y_215:not(#\9) { display: flex; flex-shrink: 0; } .awsui_breadcrumb-group_d19fg_m2a5y_145 > .awsui_breadcrumb-group-list_d19fg_m2a5y_180 > .awsui_ellipsis_d19fg_m2a5y_198 > .awsui_icon_d19fg_m2a5y_219:not(#\9) { margin-block: 0; margin-inline: 10px; color: var(--color-text-breadcrumb-icon-8qiz1d, #687078); } .awsui_breadcrumbs-skeleton_d19fg_m2a5y_225:not(#\9) { display: none; } .awsui_collapsed-button_d19fg_m2a5y_229:not(#\9) { border-collapse: separate; border-spacing: 0; box-sizing: border-box; caption-side: top; cursor: auto; direction: inherit; empty-cells: show; font-family: serif; font-style: normal; font-variant: normal; font-stretch: normal; hyphens: none; letter-spacing: normal; list-style: disc outside none; tab-size: 8; text-align: start; text-indent: 0; text-shadow: none; text-transform: none; visibility: visible; white-space: normal; word-spacing: normal; font-size: var(--font-size-body-m-kbh530, 14px); line-height: var(--line-height-body-m-0awzkk, 22px); color: var(--color-text-body-default-zs35hz, #16191f); font-weight: 400; font-family: var(--font-family-base-5z8fw5, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif); -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; min-inline-size: 0; word-break: break-word; font-weight: var(--font-weight-button-rb1vba, 700); -webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto); -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto); letter-spacing: var(--font-button-letter-spacing-6ag9q5, 0.25px); color: var(--color-text-interactive-default-yjja72, #545b64); cursor: pointer; padding-block: 0; padding-inline: 0; border-inline: none; border-block: none; background: none; display: flex; gap: var(--space-xxs-ja5cp8, 4px); max-inline-size: 100%; } body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_m2a5y_229:not(#\9):focus { position: relative; } body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_m2a5y_229:not(#\9):focus { outline: 2px dotted transparent; outline-offset: calc(var(--space-button-focus-outline-gutter-u9axxl, 3px) - 1px); } body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_m2a5y_229:not(#\9):focus::before { content: " "; display: block; position: absolute; inset-inline-start: calc(-1 * var(--space-button-focus-outline-gutter-u9axxl, 3px)); inset-block-start: calc(-1 * var(--space-button-focus-outline-gutter-u9axxl, 3px)); inline-size: calc(100% + var(--space-button-focus-outline-gutter-u9axxl, 3px) + var(--space-button-focus-outline-gutter-u9axxl, 3px)); block-size: calc(100% + var(--space-button-focus-outline-gutter-u9axxl, 3px) + var(--space-button-focus-outline-gutter-u9axxl, 3px)); border-start-start-radius: var(--border-radius-control-default-focus-ring-eq2wmk, 2px); border-start-end-radius: var(--border-radius-control-default-focus-ring-eq2wmk, 2px); border-end-start-radius: var(--border-radius-control-default-focus-ring-eq2wmk, 2px); border-end-end-radius: var(--border-radius-control-default-focus-ring-eq2wmk, 2px); box-shadow: 0 0 0 2px var(--color-border-item-focused-j88ehv, #0073bb); } .awsui_collapsed-button_d19fg_m2a5y_229:not(#\9):hover { color: var(--color-text-interactive-hover-fgfl9g, #16191f); } .awsui_collapsed-button_d19fg_m2a5y_229 > :not(#\9):last-child { color: var(--color-text-breadcrumb-current-kt41ir, #687078); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .awsui_collapsed-button_d19fg_m2a5y_229 > :not(#\9):last-child:hover { color: var(--color-text-interactive-hover-fgfl9g, #16191f); } .awsui_button-icon_d19fg_m2a5y_311:not(#\9) { transform: rotate(0deg); transition: transform var(--motion-duration-rotate-180-m9g4a9, 135ms) var(--motion-easing-rotate-180-h4cyjx, cubic-bezier(0.165, 0.84, 0.44, 1)); } @media (prefers-reduced-motion: reduce) { .awsui_button-icon_d19fg_m2a5y_311:not(#\9) { animation: none; transition: none; } } .awsui-motion-disabled .awsui_button-icon_d19fg_m2a5y_311:not(#\9), .awsui-mode-entering .awsui_button-icon_d19fg_m2a5y_311:not(#\9) { animation: none; transition: none; } .awsui_button-icon-open_d19fg_m2a5y_325:not(#\9) { transform: rotate(-180deg); } .awsui_hidden_d19fg_m2a5y_329:not(#\9) { display: none; }