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

376 lines (368 loc) • 12.5 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 */ /* 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 */ .awsui_root_39ths_1evw5_209: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; } .awsui_file-loading-overlay_39ths_1evw5_241:not(#\9) { position: absolute; inset-inline-end: var(--space-static-xs-zgeph4, 8px); inset-block-end: var(--space-static-xxs-jqh73n, 4px); } .awsui_file-loading-overlay-single-row_39ths_1evw5_246:not(#\9) { inset-inline-end: var(--space-static-xxl-qhb0le, 32px); } .awsui_file-option-name_39ths_1evw5_250:not(#\9), .awsui_file-option-size_39ths_1evw5_251:not(#\9), .awsui_file-option-last-modified_39ths_1evw5_252:not(#\9) { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .awsui_file-option_39ths_1evw5_250:not(#\9) { inline-size: 100%; min-inline-size: 0; display: flex; gap: var(--space-scaled-xs-wbfgrv, 8px); } .awsui_file-option-thumbnail_39ths_1evw5_265:not(#\9) { margin-block-start: var(--space-static-xxs-jqh73n, 4px); } .awsui_file-option-thumbnail-image_39ths_1evw5_269: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); inline-size: 48px; block-size: 48px; object-fit: cover; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .awsui_file-option-metadata_39ths_1evw5_282:not(#\9) { inline-size: 100%; } .awsui_file-option-metadata_39ths_1evw5_282.awsui_with-image_39ths_1evw5_285:not(#\9) { inline-size: calc(100% - 48px); } .awsui_file-option-metadata_39ths_1evw5_282.awsui_single-row-loading_39ths_1evw5_288:not(#\9) { inline-size: calc(100% - var(--size-icon-normal-jq6jat, 16px)); } .awsui_token_39ths_1evw5_292:not(#\9) { position: relative; block-size: 100%; display: flex; flex-direction: column; gap: var(--space-xxs-ja5cp8, 4px); } .awsui_token-grid_39ths_1evw5_299:not(#\9) { display: grid; grid-template-rows: max-content auto; } @media (max-width: 688px) { .awsui_token-grid_39ths_1evw5_299:not(#\9) { display: flex; } } .awsui_token-contains-image_39ths_1evw5_308:not(#\9) { grid-template-rows: 68px auto; } .awsui_token-box_39ths_1evw5_312:not(#\9) { position: relative; block-size: 100%; border-block: var(--border-width-field-404eki, 1px) solid var(--color-border-item-selected-xu3hwl, #0073bb); border-inline: var(--border-width-field-404eki, 1px) solid var(--color-border-item-selected-xu3hwl, #0073bb); padding-block-start: var(--space-scaled-xxs-t2t62i, 4px); padding-block-end: var(--space-scaled-xxs-t2t62i, 4px); padding-inline-start: var(--space-field-horizontal-zt16s8, 8px); padding-inline-end: var(--space-xxs-ja5cp8, 4px); display: flex; align-items: flex-start; background: var(--color-background-item-selected-bc67ge, #f1faff); border-start-start-radius: var(--border-radius-token-8fyrg1, 2px); border-start-end-radius: var(--border-radius-token-8fyrg1, 2px); border-end-start-radius: var(--border-radius-token-8fyrg1, 2px); border-end-end-radius: var(--border-radius-token-8fyrg1, 2px); color: var(--color-text-body-default-zs35hz, #16191f); box-sizing: border-box; } .awsui_token-box_39ths_1evw5_312.awsui_horizontal_39ths_1evw5_331:not(#\9) { max-inline-size: 230px; } @media (max-width: 688px) { .awsui_token-box_39ths_1evw5_312.awsui_horizontal_39ths_1evw5_331:not(#\9) { max-inline-size: 100%; } } .awsui_token-box_39ths_1evw5_312.awsui_error_39ths_1evw5_339:not(#\9) { border-color: var(--color-border-status-error-rw7xpm, #d13212); border-inline-start-width: var(--border-invalid-width-jub7d4, 4px); } .awsui_token-box_39ths_1evw5_312.awsui_error_39ths_1evw5_339 > .awsui_dismiss-button_39ths_1evw5_343:not(#\9) { color: var(--color-text-interactive-default-yjja72, #545b64); } .awsui_token-box_39ths_1evw5_312.awsui_error_39ths_1evw5_339 > .awsui_dismiss-button_39ths_1evw5_343:not(#\9):hover { color: var(--color-text-interactive-hover-fgfl9g, #16191f); } .awsui_token-box_39ths_1evw5_312.awsui_warning_39ths_1evw5_349:not(#\9) { border-color: var(--color-border-status-warning-absgf7, #906806); border-inline-start-width: var(--border-invalid-width-jub7d4, 4px); } .awsui_token-box_39ths_1evw5_312.awsui_warning_39ths_1evw5_349 > .awsui_dismiss-button_39ths_1evw5_343:not(#\9) { color: var(--color-text-interactive-default-yjja72, #545b64); } .awsui_token-box_39ths_1evw5_312.awsui_warning_39ths_1evw5_349 > .awsui_dismiss-button_39ths_1evw5_343:not(#\9):hover { color: var(--color-text-interactive-hover-fgfl9g, #16191f); } .awsui_token-box_39ths_1evw5_312.awsui_read-only_39ths_1evw5_359:not(#\9) { border-color: var(--color-border-input-disabled-i75jkh, #eaeded); background-color: var(--color-background-container-content-cpvvzs, #ffffff); pointer-events: none; } .awsui_token-box_39ths_1evw5_312.awsui_read-only_39ths_1evw5_359 > .awsui_dismiss-button_39ths_1evw5_343:not(#\9) { color: var(--color-text-button-inline-icon-disabled-o6s17n, #aab7b8); } .awsui_token-box_39ths_1evw5_312.awsui_read-only_39ths_1evw5_359 > .awsui_dismiss-button_39ths_1evw5_343:not(#\9):hover { /* stylelint-disable-next-line plugin/no-unsupported-browser-features */ cursor: initial; color: var(--color-text-button-inline-icon-disabled-o6s17n, #aab7b8); } .awsui_token-box_39ths_1evw5_312.awsui_loading_39ths_1evw5_372:not(#\9) { border-color: var(--color-border-control-disabled-hrmqh9, #d5dbdb); background-color: var(--color-background-container-content-cpvvzs, #ffffff); }