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

256 lines (249 loc) • 8.67 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_root_1mabk_nvfky_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; -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; display: block; } .awsui_radio_1mabk_nvfky_178:not(#\9) { /*used in test-utils*/ } .awsui_radio_1mabk_nvfky_178 + .awsui_radio_1mabk_nvfky_178:not(#\9) { margin-block-start: var(--space-scaled-xxs-t2t62i, 4px); } .awsui_radio--has-description_1mabk_nvfky_186 + .awsui_radio_1mabk_nvfky_178:not(#\9) { margin-block-start: var(--space-scaled-xs-wbfgrv, 8px); } .awsui_radio-control_1mabk_nvfky_190:not(#\9) { margin-block-start: calc((var(--line-height-body-m-0awzkk, 22px) - var(--size-control-wa1dpj, 14px)) / 2); min-block-size: var(--size-control-wa1dpj, 14px); min-inline-size: var(--size-control-wa1dpj, 14px); block-size: var(--size-control-wa1dpj, 14px); inline-size: var(--size-control-wa1dpj, 14px); } .awsui_outline_1mabk_nvfky_198:not(#\9) { position: relative; } .awsui_outline_1mabk_nvfky_198:not(#\9) { outline: 2px dotted transparent; outline-offset: calc(2px - 1px); } .awsui_outline_1mabk_nvfky_198:not(#\9)::before { content: " "; display: block; position: absolute; inset-inline-start: calc(-1 * 2px); inset-block-start: calc(-1 * 2px); inline-size: calc(100% + 2px + 2px); block-size: calc(100% + 2px + 2px); border-start-start-radius: var(--border-radius-control-circular-focus-ring-adbgw5, 50%); border-start-end-radius: var(--border-radius-control-circular-focus-ring-adbgw5, 50%); border-end-start-radius: var(--border-radius-control-circular-focus-ring-adbgw5, 50%); border-end-end-radius: var(--border-radius-control-circular-focus-ring-adbgw5, 50%); box-shadow: 0 0 0 2px var(--color-border-item-focused-j88ehv, #0073bb); } .awsui_styled-circle-border_1mabk_nvfky_220:not(#\9) { stroke: var(--color-border-control-default-nj5wiz, #687078); fill: var(--color-background-control-default-6lirk9, #ffffff); } .awsui_styled-circle-border_1mabk_nvfky_220.awsui_styled-circle-disabled_1mabk_nvfky_224:not(#\9), .awsui_styled-circle-border_1mabk_nvfky_220.awsui_styled-circle-readonly_1mabk_nvfky_224:not(#\9) { fill: var(--color-background-control-disabled-h93c4j, #d5dbdb); stroke: var(--color-background-control-disabled-h93c4j, #d5dbdb); } .awsui_styled-circle-fill_1mabk_nvfky_229:not(#\9) { stroke: var(--color-background-control-checked-6j23t6, #0073bb); fill: var(--color-foreground-control-default-2lrfrr, #ffffff); opacity: 0; transition: opacity var(--motion-duration-transition-quick-0viajb, 90ms) var(--motion-easing-transition-quick-191occ, linear); } @media (prefers-reduced-motion: reduce) { .awsui_styled-circle-fill_1mabk_nvfky_229:not(#\9) { animation: none; transition: none; } } .awsui-motion-disabled .awsui_styled-circle-fill_1mabk_nvfky_229:not(#\9), .awsui-mode-entering .awsui_styled-circle-fill_1mabk_nvfky_229:not(#\9) { animation: none; transition: none; } .awsui_styled-circle-fill_1mabk_nvfky_229.awsui_styled-circle-checked_1mabk_nvfky_245:not(#\9) { opacity: 1; } .awsui_styled-circle-fill_1mabk_nvfky_229.awsui_styled-circle-disabled_1mabk_nvfky_224:not(#\9) { fill: var(--color-foreground-control-disabled-dksqnz, #ffffff); stroke: var(--color-background-control-disabled-h93c4j, #d5dbdb); } .awsui_styled-circle-fill_1mabk_nvfky_229.awsui_styled-circle-readonly_1mabk_nvfky_224:not(#\9) { fill: var(--color-foreground-control-read-only-4cwci1, #687078); stroke: var(--color-background-control-disabled-h93c4j, #d5dbdb); }