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

362 lines (356 loc) • 12.1 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_arrow_1hpp3_1nqhm_193:not(#\9) { inline-size: 20px; block-size: 10px; } .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9), .awsui_arrow-inner_1hpp3_1nqhm_197:not(#\9) { position: absolute; overflow: hidden; inline-size: 20px; block-size: 10px; inset-block-start: 0; inset-inline-start: 0; /* stylelint-disable-next-line plugin/no-unsupported-browser-features */ } .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9)::after, .awsui_arrow-inner_1hpp3_1nqhm_197:not(#\9)::after { content: ""; box-sizing: border-box; display: inline-block; position: absolute; border-start-start-radius: 2px; border-start-end-radius: 0; border-end-start-radius: 0; border-end-end-radius: 0; inset-block-end: 0; inset-inline-start: 0; inline-size: 14px; block-size: 14px; transform: rotate(45deg); transform-origin: 0 100%; } .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9):dir(rtl)::after, .awsui_arrow-inner_1hpp3_1nqhm_197:not(#\9):dir(rtl)::after { transform: rotate(-45deg); transform-origin: 100% 100%; } .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9)::after { background-color: var(--color-border-status-info-ytrrza, #0073bb); } .awsui_arrow-inner_1hpp3_1nqhm_197:not(#\9) { inset-block-start: 2px; } .awsui_arrow-inner_1hpp3_1nqhm_197:not(#\9)::after { border-start-start-radius: 1px; border-start-end-radius: 0; border-end-start-radius: 0; border-end-end-radius: 0; background-color: var(--color-background-status-info-07a262, #f1faff); } .awsui_arrow-position-right-top_1hpp3_1nqhm_239 > .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_1nqhm_239 > .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9)::after { box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-4lqu2z, rgba(0, 28, 36, 0.5)); } .awsui_arrow-position-left-top_1hpp3_1nqhm_242 > .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_1nqhm_242 > .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9)::after { box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-4lqu2z, rgba(0, 28, 36, 0.5)); } .awsui_arrow-position-top-center_1hpp3_1nqhm_245 > .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_1nqhm_245 > .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9)::after { box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-4lqu2z, rgba(0, 28, 36, 0.5)); } .awsui_arrow-position-bottom-center_1hpp3_1nqhm_248 > .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_1nqhm_248 > .awsui_arrow-outer_1hpp3_1nqhm_197:not(#\9)::after { box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-4lqu2z, rgba(0, 28, 36, 0.5)); } .awsui_annotation_1hpp3_1nqhm_252:not(#\9), .awsui_next-button_1hpp3_1nqhm_253:not(#\9), .awsui_previous-button_1hpp3_1nqhm_254:not(#\9), .awsui_finish-button_1hpp3_1nqhm_255:not(#\9), .awsui_header_1hpp3_1nqhm_256:not(#\9), .awsui_step-counter-content_1hpp3_1nqhm_257:not(#\9), .awsui_content_1hpp3_1nqhm_258:not(#\9) { /* used in test-utils */ } .awsui_description_1hpp3_1nqhm_262:not(#\9) { overflow: hidden; margin-block-start: var(--space-xxs-ja5cp8, 4px); } .awsui_actionBar_1hpp3_1nqhm_267:not(#\9) { display: flex; justify-content: space-between; align-items: center; position: relative; } .awsui_stepCounter_1hpp3_1nqhm_274:not(#\9) { margin-inline-end: 20px; } .awsui_divider_1hpp3_1nqhm_278:not(#\9) { border-block-end: var(--border-divider-section-width-4f9905, 1px) solid var(--color-border-divider-default-g2zqci, #eaeded); } .awsui_hotspot_1hpp3_1nqhm_282: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; background: transparent; border-block: none; border-inline: none; padding-block: 0; padding-inline: 0; cursor: pointer; scroll-margin: var(--awsui-content-scroll-margin-g964ok, 40px 0 0 0); position: relative; inline-size: 16px; block-size: 16px; } .awsui_hotspot_1hpp3_1nqhm_282:not(#\9):before { content: ""; position: absolute; inset: calc(-1 * var(--space-xxs-ja5cp8, 4px)); } .awsui_hotspot_1hpp3_1nqhm_282:not(#\9):focus { outline: none; } body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1nqhm_282:not(#\9):focus { position: relative; } body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1nqhm_282:not(#\9):focus { outline: 2px dotted transparent; outline-offset: calc(2px - 1px); } body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1nqhm_282:not(#\9):focus::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_hotspot_1hpp3_1nqhm_282 > .awsui_icon_1hpp3_1nqhm_352:not(#\9) { position: relative; stroke: var(--color-text-link-default-owstl4, #0073bb); } .awsui_hotspot_1hpp3_1nqhm_282:not(#\9):hover > .awsui_icon_1hpp3_1nqhm_352 { stroke: var(--color-text-link-hover-aohp90, #0a4a74); } .awsui_hotspot_1hpp3_1nqhm_282:not(#\9):active > .awsui_icon_1hpp3_1nqhm_352 { stroke: var(--color-text-link-default-owstl4, #0073bb); }