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

268 lines (251 loc) • 8.39 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_placeholder_dwuol_97ule_145:not(#\9) { color: var(--color-text-input-placeholder-bclxfj, #687078); font-style: italic; } .awsui_item_dwuol_97ule_150:not(#\9) { display: flex; align-items: center; } .awsui_item_dwuol_97ule_150 > .awsui_checkbox_dwuol_97ule_154:not(#\9) { position: relative; 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); margin-inline-end: var(--space-field-horizontal-zt16s8, 8px); } .awsui_option-group_dwuol_97ule_163:not(#\9):not(:first-child) { margin-block-start: calc(-1 * var(--border-item-width-ip3vxj, 1px)); } .awsui_filter_dwuol_97ule_167:not(#\9) { z-index: 4; flex-shrink: 0; } .awsui_trigger_dwuol_97ule_172:not(#\9) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .awsui_layout-strut_dwuol_97ule_178:not(#\9) { inline-size: 100%; position: relative; transform: translate3d(0, 0, 0); } .awsui_list-bottom_dwuol_97ule_184:not(#\9) { /* used in unit-tests */ } .awsui_selected-icon_dwuol_97ule_188:not(#\9) { color: var(--color-item-selected-o337j6, #0073bb); padding-inline-start: var(--space-xs-edba2s, 8px); } .awsui_show-label-tag_dwuol_97ule_193 > .awsui_selected-icon_dwuol_97ule_188:not(#\9) { padding-inline-start: var(--space-scaled-s-913kwi, 12px); } .awsui_inline-token-trigger_dwuol_97ule_197:not(#\9) { display: flex; flex-wrap: nowrap; column-gap: var(--space-xxs-ja5cp8, 4px); inline-size: 100%; } .awsui_inline-token-list_dwuol_97ule_204:not(#\9) { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-xxs-ja5cp8, 4px); inline-size: 100%; overflow-x: hidden; mask-image: linear-gradient(270deg, transparent, white 20px, white); /* stylelint-disable-next-line plugin/no-unsupported-browser-features */ } .awsui_inline-token-list_dwuol_97ule_204:not(#\9):dir(rtl) { mask-image: linear-gradient(-270deg, transparent, white 20px, white); } .awsui_inline-token-hidden-placeholder_dwuol_97ule_218:not(#\9) { position: absolute !important; inset-block-start: -9999px !important; inset-inline-start: -9999px !important; } .awsui_inline-token-counter_dwuol_97ule_224:not(#\9) { white-space: nowrap; } .awsui_inline-label-trigger-wrapper_dwuol_97ule_228:not(#\9) { margin-block-start: -7px; } .awsui_inline-label-wrapper_dwuol_97ule_232:not(#\9) { margin-block-start: calc(var(--space-scaled-xs-wbfgrv, 8px) * -1); } .awsui_inline-label_dwuol_97ule_228:not(#\9) { background: linear-gradient(to bottom, var(--color-background-layout-main-f3jtyd, #f2f3f3), var(--color-background-input-default-xowsm5, #ffffff)); border-start-start-radius: 2px; border-start-end-radius: 2px; border-end-start-radius: 2px; border-end-end-radius: 2px; box-sizing: border-box; display: inline-block; color: var(--color-text-form-label-uk0nvv, #16191f); font-weight: var(--font-display-label-weight-q56x6f, 400); font-size: var(--font-size-body-s-6sh5cc, 12px); line-height: 14px; letter-spacing: var(--letter-spacing-body-s-4f9u0r, normal); position: relative; inset-inline-start: calc(var(--border-width-field-404eki, 1px) + var(--space-field-horizontal-zt16s8, 8px) - var(--space-scaled-xxs-t2t62i, 4px)); margin-block-start: var(--space-scaled-xs-wbfgrv, 8px); padding-block-end: 2px; padding-inline: var(--space-scaled-xxs-t2t62i, 4px); max-inline-size: calc(100% - 2 * var(--space-field-horizontal-zt16s8, 8px)); z-index: 1; } .awsui_inline-label-disabled_dwuol_97ule_257:not(#\9) { background: linear-gradient(to bottom, var(--color-background-layout-main-f3jtyd, #f2f3f3), var(--color-background-input-disabled-fib0qr, #eaeded)); } .awsui_inline-label-inline-tokens_dwuol_97ule_261:not(#\9) { padding-block-end: 0; transform: translateY(-1.5px); } .awsui_disabled-reason-tooltip_dwuol_97ule_266:not(#\9) { /* used in test-utils or tests */ }