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

292 lines (287 loc) • 10.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 */ /* 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 */ /* 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 */ .awsui_root_dm8gx_188rw_161: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; -webkit-hyphens: none; 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; } .awsui_root_dm8gx_188rw_161.awsui_has-items_dm8gx_188rw_192:not(#\9):not(.awsui_no-padding_dm8gx_188rw_192) { padding-block-start: var(--space-xs-edba2s, 8px); } .awsui_dismiss-button_dm8gx_188rw_196:not(#\9) { margin-block-start: -1px; margin-block-end: 0; margin-inline-start: var(--space-xxs-ja5cp8, 4px); margin-inline-end: -1px; border-block: 1px solid transparent; border-inline: 1px solid transparent; padding-block: 0; padding-inline: var(--space-xxs-ja5cp8, 4px); color: var(--color-text-button-inline-icon-default-aqdqv7, #545b64); background-color: transparent; } body[data-awsui-focus-visible=true] .awsui_dismiss-button_dm8gx_188rw_196:not(#\9):focus { position: relative; } body[data-awsui-focus-visible=true] .awsui_dismiss-button_dm8gx_188rw_196:not(#\9):focus { outline: 2px dotted transparent; outline-offset: calc(0px - 1px); } body[data-awsui-focus-visible=true] .awsui_dismiss-button_dm8gx_188rw_196:not(#\9):focus::before { content: " "; display: block; position: absolute; inset-inline-start: calc(-1 * 0px); inset-block-start: calc(-1 * 0px); inline-size: calc(100% + 0px + 0px); block-size: calc(100% + 0px + 0px); 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_dismiss-button_dm8gx_188rw_196:not(#\9):focus { outline: none; text-decoration: none; } .awsui_dismiss-button_dm8gx_188rw_196:not(#\9):hover { cursor: pointer; color: var(--color-text-button-inline-icon-hover-vsgk24, #16191f); } .awsui_token_dm8gx_188rw_238:not(#\9) { block-size: 100%; display: flex; flex-direction: column; gap: var(--space-xxs-ja5cp8, 4px); } .awsui_token-box_dm8gx_188rw_245:not(#\9) { position: relative; block-size: 100%; border-block: var(--border-width-field-404eki, 1px) solid var(--color-border-item-selected-xu3hwl, #0073bb); border-inline: var(--border-width-field-404eki, 1px) solid var(--color-border-item-selected-xu3hwl, #0073bb); padding-block-start: var(--space-scaled-xxs-t2t62i, 4px); padding-block-end: var(--space-scaled-xxs-t2t62i, 4px); padding-inline-start: var(--space-field-horizontal-zt16s8, 8px); padding-inline-end: var(--space-xxs-ja5cp8, 4px); display: flex; align-items: flex-start; background: var(--color-background-item-selected-bc67ge, #f1faff); border-start-start-radius: var(--border-radius-token-8fyrg1, 2px); border-start-end-radius: var(--border-radius-token-8fyrg1, 2px); border-end-start-radius: var(--border-radius-token-8fyrg1, 2px); border-end-end-radius: var(--border-radius-token-8fyrg1, 2px); color: var(--color-text-body-default-zs35hz, #16191f); box-sizing: border-box; } .awsui_token-box-readonly_dm8gx_188rw_265:not(#\9) { border-color: var(--color-border-input-disabled-i75jkh, #eaeded); background-color: var(--color-background-container-content-cpvvzs, #ffffff); pointer-events: none; } .awsui_token-box-readonly_dm8gx_188rw_265 > .awsui_dismiss-button_dm8gx_188rw_196:not(#\9) { color: var(--color-text-button-inline-icon-disabled-o6s17n, #aab7b8); } .awsui_token-box-readonly_dm8gx_188rw_265 > .awsui_dismiss-button_dm8gx_188rw_196:not(#\9):hover { /* stylelint-disable-next-line plugin/no-unsupported-browser-features */ cursor: initial; color: var(--color-text-button-inline-icon-disabled-o6s17n, #aab7b8); } .awsui_token-box-disabled_dm8gx_188rw_279.awsui_token-box-disabled_dm8gx_188rw_279:not(#\9) { border-color: var(--color-border-control-disabled-hrmqh9, #d5dbdb); background-color: var(--color-background-container-content-cpvvzs, #ffffff); color: var(--color-text-disabled-e7l57l, #aab7b8); pointer-events: none; } .awsui_token-box-disabled_dm8gx_188rw_279.awsui_token-box-disabled_dm8gx_188rw_279 > .awsui_dismiss-button_dm8gx_188rw_196:not(#\9) { color: var(--color-text-button-inline-icon-disabled-o6s17n, #aab7b8); } .awsui_token-box-disabled_dm8gx_188rw_279.awsui_token-box-disabled_dm8gx_188rw_279 > .awsui_dismiss-button_dm8gx_188rw_196:not(#\9):hover { cursor: initial; color: var(--color-text-button-inline-icon-disabled-o6s17n, #aab7b8); }