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 (344 loc) • 11.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 */ /* 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_gfwv3_19zm7_193:not(#\9) { gap: var(--space-scaled-xs-wbfgrv, 8px); } .awsui_root_gfwv3_19zm7_193.awsui_horizontal_gfwv3_19zm7_196:not(#\9) { display: flex; gap: var(--space-xs-edba2s, 8px); flex-direction: row; flex-wrap: wrap; } .awsui_root_gfwv3_19zm7_193.awsui_vertical_gfwv3_19zm7_202:not(#\9) { display: flex; flex-direction: column; } .awsui_list_gfwv3_19zm7_207:not(#\9) { display: contents; list-style: none; padding-block: 0; padding-inline: 0; margin-block: 0; margin-inline: 0; } .awsui_list_gfwv3_19zm7_207.awsui_horizontal_gfwv3_19zm7_196:not(#\9), .awsui_list_gfwv3_19zm7_207.awsui_vertical_gfwv3_19zm7_202:not(#\9) { display: flex; gap: var(--space-xs-edba2s, 8px); } .awsui_list_gfwv3_19zm7_207.awsui_horizontal_gfwv3_19zm7_196:not(#\9) { flex-direction: row; flex-wrap: wrap; } .awsui_list_gfwv3_19zm7_207.awsui_vertical_gfwv3_19zm7_202:not(#\9) { flex-direction: column; } .awsui_list_gfwv3_19zm7_207.awsui_grid_gfwv3_19zm7_226:not(#\9) { display: grid; gap: var(--space-xs-edba2s, 8px); grid-template-columns: repeat(auto-fill, 230px); } @media (max-width: 688px) { .awsui_list_gfwv3_19zm7_207.awsui_grid_gfwv3_19zm7_226:not(#\9) { display: flex; flex-direction: column; } } .awsui_list-item_gfwv3_19zm7_238:not(#\9) { padding-block: 0; padding-inline: 0; margin-block: 0; margin-inline: 0; } .awsui_toggle-container-inline_gfwv3_19zm7_245:not(#\9) { padding-inline-start: var(--space-xs-edba2s, 8px); display: flex; align-items: center; } .awsui_toggle_gfwv3_19zm7_245: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: flex; align-items: center; background-color: transparent; border-block: var(--border-width-field-404eki, 1px) solid transparent; border-inline: var(--border-width-field-404eki, 1px) solid transparent; padding-block: 0; padding-inline: 0; margin-inline-start: -1px; text-underline-offset: 0.25em; text-decoration-thickness: 1px; color: var(--color-text-link-default-owstl4, #0073bb); font-weight: inherit; letter-spacing: normal; text-decoration-line: none; text-decoration-color: transparent; transition-property: color, -webkit-text-decoration; transition-property: color, text-decoration; transition-property: color, text-decoration, -webkit-text-decoration; transition-duration: var(--motion-duration-refresh-only-medium-l0r8lz, 0ms); } @media (prefers-reduced-motion: reduce) { .awsui_toggle_gfwv3_19zm7_245:not(#\9) { animation: none; transition: none; } } .awsui-motion-disabled .awsui_toggle_gfwv3_19zm7_245:not(#\9), .awsui-mode-entering .awsui_toggle_gfwv3_19zm7_245:not(#\9) { animation: none; transition: none; } .awsui_toggle_gfwv3_19zm7_245:not(#\9):hover { cursor: pointer; color: var(--color-text-link-hover-aohp90, #0a4a74); } .awsui_toggle_gfwv3_19zm7_245:not(#\9):focus { outline: none; } .awsui_toggle_gfwv3_19zm7_245:not(#\9):active { color: var(--color-text-link-hover-aohp90, #0a4a74); } .awsui_toggle_gfwv3_19zm7_245:not(#\9):active, .awsui_toggle_gfwv3_19zm7_245:not(#\9):focus, .awsui_toggle_gfwv3_19zm7_245:not(#\9):hover { text-decoration-line: underline; text-decoration-color: currentColor; } .awsui_toggle_gfwv3_19zm7_245:not(#\9):active, .awsui_toggle_gfwv3_19zm7_245:not(#\9):focus, .awsui_toggle_gfwv3_19zm7_245:not(#\9):hover { text-decoration: none; text-decoration-color: transparent; } body[data-awsui-focus-visible=true] .awsui_toggle_gfwv3_19zm7_245:not(#\9):focus { outline: 2px dotted transparent; border-block: var(--border-width-field-404eki, 1px) solid var(--color-border-item-focused-j88ehv, #0073bb); border-inline: var(--border-width-field-404eki, 1px) solid var(--color-border-item-focused-j88ehv, #0073bb); 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 var(--border-control-focus-ring-shadow-spread-o8rs1p, 1px) var(--color-border-item-focused-j88ehv, #0073bb); } .awsui_toggle_gfwv3_19zm7_245 > .awsui_description_gfwv3_19zm7_337:not(#\9) { margin-inline-start: var(--space-xxs-ja5cp8, 4px); } .awsui_separator_gfwv3_19zm7_341:not(#\9) { margin-block: 0; margin-inline: var(--space-scaled-m-gxhdpl, 16px); inline-size: var(--border-divider-section-width-4f9905, 1px); background-color: var(--color-border-divider-default-g2zqci, #eaeded); }