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

211 lines (208 loc) • 7.79 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_radio-control_1v1hk_q33ab_145: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_1v1hk_q33ab_153:not(#\9) { --awsui-style-focus-ring-box-shadow-d43v8n: 0 0 0 var(--awsui-style-focus-ring-border-width-d43v8n, 2px) var(--awsui-style-focus-ring-border-color-d43v8n, var(--color-border-item-focused-j88ehv, #0073bb)); position: relative; } .awsui_outline_1v1hk_q33ab_153:not(#\9) { outline: 2px dotted transparent; outline-offset: calc(2px - 1px); } .awsui_outline_1v1hk_q33ab_153: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(--awsui-style-focus-ring-border-radius-d43v8n, var(--border-radius-control-circular-focus-ring-adbgw5, 50%)); border-start-end-radius: var(--awsui-style-focus-ring-border-radius-d43v8n, var(--border-radius-control-circular-focus-ring-adbgw5, 50%)); border-end-start-radius: var(--awsui-style-focus-ring-border-radius-d43v8n, var(--border-radius-control-circular-focus-ring-adbgw5, 50%)); border-end-end-radius: var(--awsui-style-focus-ring-border-radius-d43v8n, var(--border-radius-control-circular-focus-ring-adbgw5, 50%)); box-shadow: var(--awsui-style-focus-ring-box-shadow-d43v8n); } .awsui_styled-circle-border_1v1hk_q33ab_176:not(#\9) { stroke: var(--color-border-control-default-nj5wiz, #687078); fill: var(--color-background-control-default-6lirk9, #ffffff); } .awsui_styled-circle-border_1v1hk_q33ab_176.awsui_styled-circle-disabled_1v1hk_q33ab_180:not(#\9), .awsui_styled-circle-border_1v1hk_q33ab_176.awsui_styled-circle-readonly_1v1hk_q33ab_180:not(#\9) { fill: var(--color-background-control-disabled-h93c4j, #d5dbdb); stroke: var(--color-background-control-disabled-h93c4j, #d5dbdb); } .awsui_styled-circle-fill_1v1hk_q33ab_185: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_1v1hk_q33ab_185:not(#\9) { animation: none; transition: none; } } .awsui-motion-disabled .awsui_styled-circle-fill_1v1hk_q33ab_185:not(#\9), .awsui-mode-entering .awsui_styled-circle-fill_1v1hk_q33ab_185:not(#\9) { animation: none; transition: none; } .awsui_styled-circle-fill_1v1hk_q33ab_185.awsui_styled-circle-checked_1v1hk_q33ab_201:not(#\9) { opacity: 1; } .awsui_styled-circle-fill_1v1hk_q33ab_185.awsui_styled-circle-disabled_1v1hk_q33ab_180:not(#\9) { fill: var(--color-foreground-control-disabled-dksqnz, #ffffff); stroke: var(--color-background-control-disabled-h93c4j, #d5dbdb); } .awsui_styled-circle-fill_1v1hk_q33ab_185.awsui_styled-circle-readonly_1v1hk_q33ab_180:not(#\9) { fill: var(--color-foreground-control-read-only-4cwci1, #687078); stroke: var(--color-background-control-disabled-h93c4j, #d5dbdb); }