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

382 lines • 14.6 kB
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ /* stylelint-disable @awsui/no-implicit-descendant, selector-max-type */ /* 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_text-content_6absk_1fr4c_146: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; /* stylelint-disable no-descending-specificity */ /* stylelint-enable no-descending-specificity */ } .awsui_text-content_6absk_1fr4c_146 h1:not(#\9), .awsui_text-content_6absk_1fr4c_146 h2:not(#\9), .awsui_text-content_6absk_1fr4c_146 h3:not(#\9), .awsui_text-content_6absk_1fr4c_146 h4:not(#\9), .awsui_text-content_6absk_1fr4c_146 h5:not(#\9), .awsui_text-content_6absk_1fr4c_146 p:not(#\9) { font-family: inherit; font-weight: normal; text-decoration: none; margin-block: 0; margin-inline: 0; padding-block: var(--space-xxs-ja5cp8, 4px); padding-inline: 0; } .awsui_text-content_6absk_1fr4c_146 h1:not(#\9), .awsui_text-content_6absk_1fr4c_146 h2:not(#\9), .awsui_text-content_6absk_1fr4c_146 h3:not(#\9), .awsui_text-content_6absk_1fr4c_146 h4:not(#\9), .awsui_text-content_6absk_1fr4c_146 h5:not(#\9) { color: var(--color-text-heading-default-wliqyu, #16191f); } .awsui_text-content_6absk_1fr4c_146 h1:not(#\9) { font-size: var(--font-size-heading-xl-e8bqij, 28px); line-height: var(--line-height-heading-xl-gnbljj, 36px); letter-spacing: var(--letter-spacing-heading-xl-cbi7sv, normal); font-weight: var(--font-weight-heading-xl-nre0k2, 400); -webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto); -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto); } .awsui_text-content_6absk_1fr4c_146 h2:not(#\9) { font-size: var(--font-size-heading-l-04luh4, 18px); line-height: var(--line-height-heading-l-4wuokq, 22px); letter-spacing: var(--letter-spacing-heading-l-zb25sz, normal); font-weight: var(--font-weight-heading-l-0lcea3, 700); -webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto); -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto); } .awsui_text-content_6absk_1fr4c_146 h3:not(#\9) { font-size: var(--font-size-heading-m-9xjzrj, 18px); line-height: var(--line-height-heading-m-gv8yla, 22px); letter-spacing: var(--letter-spacing-heading-m-m4ll99, normal); font-weight: var(--font-weight-heading-m-0c5l08, 400); -webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto); -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto); } .awsui_text-content_6absk_1fr4c_146 h4:not(#\9) { font-size: var(--font-size-heading-s-d8ts7u, 16px); line-height: var(--line-height-heading-s-i8coai, 20px); letter-spacing: var(--letter-spacing-heading-s-i1mjjy, normal); font-weight: var(--font-weight-heading-s-6rdhmg, 700); -webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto); -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto); } .awsui_text-content_6absk_1fr4c_146 h5:not(#\9) { font-size: var(--font-size-heading-xs-pgspul, 16px); line-height: var(--line-height-heading-xs-8t7s1x, 20px); font-weight: var(--font-weight-heading-xs-xuskfi, 400); -webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto); -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto); } .awsui_text-content_6absk_1fr4c_146 b:not(#\9), .awsui_text-content_6absk_1fr4c_146 strong:not(#\9) { font-weight: 700; } .awsui_text-content_6absk_1fr4c_146 p:not(#\9) { font-size: var(--font-size-body-m-kbh530, 14px); line-height: var(--line-height-body-m-0awzkk, 22px); color: inherit; } .awsui_text-content_6absk_1fr4c_146 small:not(#\9) { display: inline-block; font-size: var(--font-size-body-s-6sh5cc, 12px); line-height: var(--line-height-body-s-usc3fr, 16px); letter-spacing: var(--letter-spacing-body-s-4f9u0r, normal); color: var(--color-text-small-w05wee, #687078); } .awsui_text-content_6absk_1fr4c_146 small a:not(#\9) { font-size: inherit; 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: underline; text-decoration-color: currentColor; 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_text-content_6absk_1fr4c_146 small a:not(#\9) { animation: none; transition: none; } } .awsui-motion-disabled .awsui_text-content_6absk_1fr4c_146 small a:not(#\9), .awsui-mode-entering .awsui_text-content_6absk_1fr4c_146 small a:not(#\9) { animation: none; transition: none; } .awsui_text-content_6absk_1fr4c_146 small a:not(#\9):hover { cursor: pointer; color: var(--color-text-link-hover-aohp90, #0a4a74); } .awsui_text-content_6absk_1fr4c_146 small a:not(#\9):focus { outline: none; } .awsui_text-content_6absk_1fr4c_146 small a:not(#\9):active { color: var(--color-text-link-hover-aohp90, #0a4a74); } .awsui_text-content_6absk_1fr4c_146 small a:not(#\9):active, .awsui_text-content_6absk_1fr4c_146 small a:not(#\9):focus, .awsui_text-content_6absk_1fr4c_146 small a:not(#\9):hover { text-decoration-line: underline; text-decoration-color: currentColor; } .awsui_text-content_6absk_1fr4c_146 code:not(#\9), .awsui_text-content_6absk_1fr4c_146 pre:not(#\9), .awsui_text-content_6absk_1fr4c_146 samp:not(#\9) { font-family: var(--font-family-monospace-froq9j, Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace); background: transparent; } .awsui_text-content_6absk_1fr4c_146 code:not(#\9) { font-size: var(--font-size-body-s-6sh5cc, 12px); line-height: var(--line-height-body-s-usc3fr, 16px); letter-spacing: var(--letter-spacing-body-s-4f9u0r, normal); } .awsui_text-content_6absk_1fr4c_146 a:not(#\9) { 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: underline; text-decoration-color: currentColor; 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_text-content_6absk_1fr4c_146 a:not(#\9) { animation: none; transition: none; } } .awsui-motion-disabled .awsui_text-content_6absk_1fr4c_146 a:not(#\9), .awsui-mode-entering .awsui_text-content_6absk_1fr4c_146 a:not(#\9) { animation: none; transition: none; } .awsui_text-content_6absk_1fr4c_146 a:not(#\9):hover { cursor: pointer; color: var(--color-text-link-hover-aohp90, #0a4a74); } .awsui_text-content_6absk_1fr4c_146 a:not(#\9):focus { outline: none; } .awsui_text-content_6absk_1fr4c_146 a:not(#\9):active { color: var(--color-text-link-hover-aohp90, #0a4a74); } .awsui_text-content_6absk_1fr4c_146 a:not(#\9):active, .awsui_text-content_6absk_1fr4c_146 a:not(#\9):focus, .awsui_text-content_6absk_1fr4c_146 a:not(#\9):hover { text-decoration-line: underline; text-decoration-color: currentColor; } .awsui_text-content_6absk_1fr4c_146 a:not(#\9):focus { outline: thin dotted; outline: var(--border-link-focus-ring-outline-o0qm2f, 5px auto Highlight); outline-offset: 2px; outline-color: 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-link-focus-ring-shadow-spread-ziqmfh, 0px) var(--color-border-item-focused-j88ehv, #0073bb); } .awsui_text-content_6absk_1fr4c_146 ul:not(#\9), .awsui_text-content_6absk_1fr4c_146 ol:not(#\9) { padding-inline-start: var(--space-l-f4l5gr, 20px); margin-block: var(--space-scaled-xs-wbfgrv, 8px); margin-inline: 0; list-style-position: outside; } .awsui_text-content_6absk_1fr4c_146 ul + ul:not(#\9), .awsui_text-content_6absk_1fr4c_146 ul + ol:not(#\9), .awsui_text-content_6absk_1fr4c_146 ul > li + ul:not(#\9), .awsui_text-content_6absk_1fr4c_146 ul > li + li:not(#\9), .awsui_text-content_6absk_1fr4c_146 ul > li + ol:not(#\9), .awsui_text-content_6absk_1fr4c_146 ul > li > ul:not(#\9), .awsui_text-content_6absk_1fr4c_146 ul > li > ol:not(#\9), .awsui_text-content_6absk_1fr4c_146 ol + ul:not(#\9), .awsui_text-content_6absk_1fr4c_146 ol + ol:not(#\9), .awsui_text-content_6absk_1fr4c_146 ol > li + ul:not(#\9), .awsui_text-content_6absk_1fr4c_146 ol > li + li:not(#\9), .awsui_text-content_6absk_1fr4c_146 ol > li + ol:not(#\9), .awsui_text-content_6absk_1fr4c_146 ol > li > ul:not(#\9), .awsui_text-content_6absk_1fr4c_146 ol > li > ol:not(#\9) { padding-block-start: var(--space-scaled-xxs-t2t62i, 4px); } .awsui_text-content_6absk_1fr4c_146 ul > li > ul:not(#\9), .awsui_text-content_6absk_1fr4c_146 ul > li > ol:not(#\9), .awsui_text-content_6absk_1fr4c_146 ol > li > ul:not(#\9), .awsui_text-content_6absk_1fr4c_146 ol > li > ol:not(#\9) { margin-block: 0; margin-inline: 0; }