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

349 lines • 17.2 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 */ /* 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 */ /* 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 */ div.awsui_column-layout_vvxn7_q3ewm_181: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; word-wrap: break-word; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213:not(#\9) { margin-block: calc(var(--space-grid-gutter-s46zha, 20px) / -2); margin-inline: calc(var(--space-grid-gutter-s46zha, 20px) / -2); /* stylelint-disable-next-line selector-max-universal */ /* stylelint-disable-next-line selector-max-universal */ } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-no-gutters_vvxn7_q3ewm_219:not(#\9) { margin-block: 0; margin-inline: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223:not(#\9) { margin-block: calc(-1 * var(--space-grid-gutter-s46zha, 20px) / 2); margin-inline: calc(-1 * var(--space-grid-gutter-s46zha, 20px)); /* stylelint-disable-next-line selector-max-universal */ } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223 > *:not(#\9) { border-inline-start: var(--border-divider-section-width-4f9905, 1px) solid var(--color-border-divider-default-g2zqci, #eaeded); } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223.awsui_grid-breakpoint-default_vvxn7_q3ewm_231 > *:not(#\9):nth-child(1n+1) { border-inline-start-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223.awsui_grid-columns-1_vvxn7_q3ewm_234.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-child(1n+1) { border-inline-start-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223.awsui_grid-columns-1_vvxn7_q3ewm_234.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-child(1n+1) { border-inline-start-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223.awsui_grid-columns-2_vvxn7_q3ewm_240.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-child(2n+1) { border-inline-start-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223.awsui_grid-columns-2_vvxn7_q3ewm_240.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-child(2n+1) { border-inline-start-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223.awsui_grid-columns-3_vvxn7_q3ewm_246.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-child(2n+1) { border-inline-start-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223.awsui_grid-columns-3_vvxn7_q3ewm_246.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-child(3n+1) { border-inline-start-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-child(2n+1) { border-inline-start-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-variant-text-grid_vvxn7_q3ewm_223.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-child(4n+1) { border-inline-start-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213:not(#\9):not(.awsui_grid-no-gutters_vvxn7_q3ewm_219) > * { padding-block: calc(var(--space-grid-gutter-s46zha, 20px) / 2); padding-inline: calc(var(--space-grid-gutter-s46zha, 20px) / 2); } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213:not(#\9):not(.awsui_grid-no-gutters_vvxn7_q3ewm_219).awsui_grid-variant-text-grid_vvxn7_q3ewm_223 > * { padding-block: 0; padding-inline: var(--space-grid-gutter-s46zha, 20px); margin-block: calc(var(--space-grid-gutter-s46zha, 20px) / 2); margin-inline: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268:not(#\9) { /* stylelint-disable-next-line selector-max-universal */ } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268 > *:not(#\9) { border-inline-end: var(--border-divider-section-width-4f9905, 1px) solid var(--color-border-divider-default-g2zqci, #eaeded); } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268.awsui_grid-breakpoint-default_vvxn7_q3ewm_231 > *:not(#\9):nth-child(1n) { border-inline-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268.awsui_grid-columns-1_vvxn7_q3ewm_234.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-child(1n) { border-inline-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268.awsui_grid-columns-1_vvxn7_q3ewm_234.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-child(1n) { border-inline-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268.awsui_grid-columns-2_vvxn7_q3ewm_240.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-child(2n) { border-inline-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268.awsui_grid-columns-2_vvxn7_q3ewm_240.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-child(2n) { border-inline-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268.awsui_grid-columns-3_vvxn7_q3ewm_246.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-child(2n) { border-inline-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268.awsui_grid-columns-3_vvxn7_q3ewm_246.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-child(3n) { border-inline-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-child(2n) { border-inline-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-vertical-borders_vvxn7_q3ewm_268.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-child(4n) { border-inline-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301:not(#\9) { /* stylelint-disable selector-max-universal */ /* stylelint-enable selector-max-universal */ } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301 > *:not(#\9) { border-block-end: var(--border-divider-section-width-4f9905, 1px) solid var(--color-border-divider-default-g2zqci, #eaeded); } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301 > *:not(#\9):last-child { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-2_vvxn7_q3ewm_240.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-last-child(2):nth-child(2n+1) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-2_vvxn7_q3ewm_240.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-last-child(2):nth-child(2n+1) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-3_vvxn7_q3ewm_246.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-last-child(2):nth-child(2n+1) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-3_vvxn7_q3ewm_246.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-last-child(2):nth-child(3n+1) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-3_vvxn7_q3ewm_246.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-last-child(2):nth-child(3n+2) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-3_vvxn7_q3ewm_246.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-last-child(3):nth-child(3n+1) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xxs_vvxn7_q3ewm_234 > *:not(#\9):nth-last-child(2):nth-child(2n+1) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-last-child(2):nth-child(4n+1) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-last-child(2):nth-child(4n+2) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-last-child(2):nth-child(4n+3) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-last-child(3):nth-child(4n+1) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-last-child(3):nth-child(4n+2) { border-block-end-width: 0; } div.awsui_column-layout_vvxn7_q3ewm_181 > .awsui_grid_vvxn7_q3ewm_213.awsui_grid-horizontal-borders_vvxn7_q3ewm_301.awsui_grid-columns-4_vvxn7_q3ewm_252.awsui_grid-breakpoint-xs_vvxn7_q3ewm_237 > *:not(#\9):nth-last-child(4):nth-child(4n+1) { border-block-end-width: 0; }