@cloudscape-design/components 3.0.354 → 3.0.356
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cards/interfaces.d.ts +1 -1
- package/cards/interfaces.js.map +1 -1
- package/container/styles.css.js +28 -28
- package/container/styles.scoped.css +53 -53
- package/container/styles.selectors.js +28 -28
- package/expandable-section/styles.css.js +29 -29
- package/expandable-section/styles.scoped.css +60 -57
- package/expandable-section/styles.selectors.js +29 -29
- package/flashbar/collapsible-flashbar.d.ts.map +1 -1
- package/flashbar/collapsible-flashbar.js +1 -1
- package/flashbar/collapsible-flashbar.js.map +1 -1
- package/flashbar/flash.d.ts +1 -0
- package/flashbar/flash.d.ts.map +1 -1
- package/flashbar/flash.js +3 -2
- package/flashbar/flash.js.map +1 -1
- package/flashbar/interfaces.d.ts +1 -0
- package/flashbar/interfaces.d.ts.map +1 -1
- package/flashbar/interfaces.js.map +1 -1
- package/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
- package/flashbar/non-collapsible-flashbar.js +8 -1
- package/flashbar/non-collapsible-flashbar.js.map +1 -1
- package/header/internal.d.ts.map +1 -1
- package/header/internal.js +1 -1
- package/header/internal.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
package/cards/interfaces.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export interface CardsProps<T = any> extends BaseComponentProps {
|
|
|
44
44
|
/**
|
|
45
45
|
* Defines what to display in each card. It has the following properties:
|
|
46
46
|
* * `header` ((item) => ReactNode) - Responsible for displaying the card header. You receive the current item as an argument.
|
|
47
|
-
* Use `fontSize="
|
|
47
|
+
* Use `fontSize="inherit"` on [link](/components/link/) components inside card header.
|
|
48
48
|
* * `sections` (array) - Responsible for displaying the card content. Cards can have many sections in their
|
|
49
49
|
* body. Each entry in the array is responsible for displaying a section. An entry has the following properties:
|
|
50
50
|
* * `id`: (string) - A unique identifier for the section. The property is used as a [keys](https://reactjs.org/docs/lists-and-keys.html#keys)
|
package/cards/interfaces.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["cards/interfaces.tsx"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\n/*\n * HACK: Cast the component to a named parametrized interface.\n *\n * This lets us use React.forwardRef and still let the component have type\n * parameters, and the naming convention lets the documenter know that this is\n * a forwardRef-wrapped component.\n *\n * We don't need to expose this type to customers because it's just a simple\n * function type.\n */\nexport interface CardsForwardRefType {\n <T>(props: CardsProps<T> & { ref?: React.Ref<CardsProps.Ref> }): JSX.Element;\n}\n\nexport interface CardsProps<T = any> extends BaseComponentProps {\n /**\n * Displayed only when the list of items is empty.\n */\n empty?: React.ReactNode;\n\n /**\n * Heading element of the table container. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Use this slot to add filtering controls to the component.\n */\n filter?: React.ReactNode;\n\n /**\n * Use this slot to add the [pagination component](/components/pagination/) to the component.\n */\n pagination?: React.ReactNode;\n\n /**\n * Use this slot to add [collection preferences](/components/collection-preferences/) to the component.\n */\n preferences?: React.ReactNode;\n\n /**\n * Specifies the items that serve as data source for a card.\n *\n * The `cardDefinition` property handles the display of this data.\n */\n items: ReadonlyArray<T>;\n\n /**\n * Renders the cards in a loading state. We recommend that you also set a `loadingText`.\n */\n loading?: boolean;\n\n /**\n * Specifies the text to display when in loading state.\n */\n loadingText?: string;\n\n /**\n * Defines what to display in each card. It has the following properties:\n * * `header` ((item) => ReactNode) - Responsible for displaying the card header. You receive the current item as an argument.\n * Use `fontSize=\"
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["cards/interfaces.tsx"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { BaseComponentProps } from '../internal/base-component';\nimport { NonCancelableEventHandler } from '../internal/events';\n\n/*\n * HACK: Cast the component to a named parametrized interface.\n *\n * This lets us use React.forwardRef and still let the component have type\n * parameters, and the naming convention lets the documenter know that this is\n * a forwardRef-wrapped component.\n *\n * We don't need to expose this type to customers because it's just a simple\n * function type.\n */\nexport interface CardsForwardRefType {\n <T>(props: CardsProps<T> & { ref?: React.Ref<CardsProps.Ref> }): JSX.Element;\n}\n\nexport interface CardsProps<T = any> extends BaseComponentProps {\n /**\n * Displayed only when the list of items is empty.\n */\n empty?: React.ReactNode;\n\n /**\n * Heading element of the table container. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Use this slot to add filtering controls to the component.\n */\n filter?: React.ReactNode;\n\n /**\n * Use this slot to add the [pagination component](/components/pagination/) to the component.\n */\n pagination?: React.ReactNode;\n\n /**\n * Use this slot to add [collection preferences](/components/collection-preferences/) to the component.\n */\n preferences?: React.ReactNode;\n\n /**\n * Specifies the items that serve as data source for a card.\n *\n * The `cardDefinition` property handles the display of this data.\n */\n items: ReadonlyArray<T>;\n\n /**\n * Renders the cards in a loading state. We recommend that you also set a `loadingText`.\n */\n loading?: boolean;\n\n /**\n * Specifies the text to display when in loading state.\n */\n loadingText?: string;\n\n /**\n * Defines what to display in each card. It has the following properties:\n * * `header` ((item) => ReactNode) - Responsible for displaying the card header. You receive the current item as an argument.\n * Use `fontSize=\"inherit\"` on [link](/components/link/) components inside card header.\n * * `sections` (array) - Responsible for displaying the card content. Cards can have many sections in their\n * body. Each entry in the array is responsible for displaying a section. An entry has the following properties:\n * * `id`: (string) - A unique identifier for the section. The property is used as a [keys](https://reactjs.org/docs/lists-and-keys.html#keys)\n * source for React rendering, and to match entries in the `visibleSections` property (if it's defined).\n * * `header`: (ReactNode) - Responsible for displaying the section header.\n * * `content`: ((item) => ReactNode) - Responsible for displaying the section content. You receive the current item as an argument.\n * * `width`: (number) - Specifies the width of the card section in percent. Use this to display multiple sections in\n * the same row. The default value is 100%.\n *\n * All of the above properties are optional.\n */\n cardDefinition: CardsProps.CardDefinition<T>;\n /**\n * Determines the number of cards per row for any interval of container width.\n * It's an array whose entries are objects containing the following:\n * - `cards` (number) - Specifies the number of cards per row.\n * - `minWidth` (number) - Specifies the minimum container width (in pixels) for which this configuration object should apply.\n *\n * For example, with this configuration:\n * ```\n * [{\n * cards: 1\n * }, {\n * minWidth: 500,\n * cards: 2\n * }, {\n * minWidth: 800,\n * cards: 3\n * }]\n * ```\n *\n * the cards component displays:\n * * 1 card per row when the container width is below 500px.\n * * 2 cards per row when the container width is between 500px and 799px.\n * * 3 cards per row when the container width is 800px or wider.\n *\n * The number of cards per row can't be greater than 20.\n *\n * Default value:\n * ```\n * [{\n * cards: 1\n * }, {\n * minWidth: 768,\n * cards: 2\n * }, {\n * minWidth: 992,\n * cards: 3\n * }, {\n * minWidth: 1200,\n * cards: 4\n * }, {\n * minWidth: 1400,\n * cards: 5\n * }, {\n * minWidth: 1920,\n * cards: 6\n * }]\n * ```\n */\n cardsPerRow?: ReadonlyArray<CardsProps.CardsLayout>;\n /**\n * Specifies the property inside items that uniquely identifies them.\n * When it's set, it's used to provide [keys for React](https://reactjs.org/docs/lists-and-keys.html#keys)\n * for performance optimizations.\n *\n * It's also used for connecting `items` and `selectedItems` values when they don't reference the same object.\n */\n trackBy?: CardsProps.TrackBy<T>;\n /**\n * Specifies the selection mode. It can be either `single` or `multi`.\n */\n selectionType?: CardsProps.SelectionType;\n /**\n * Specifies the list of selected items.\n */\n selectedItems?: ReadonlyArray<T>;\n /**\n * Determines which items are disabled. If an item is disabled, users can't select it.\n */\n isItemDisabled?: CardsProps.IsItemDisabled<T>;\n /**\n * Adds labels to the selection components (checkboxes and radio buttons) as follows:\n * * `itemSelectionLabel` ((SelectionState, Item) => string) - Determines the label for an item.\n * * `selectionGroupLabel` (string) - Specifies the label for the group selection control.\n * * `cardsLabel` (string) - Provides alternative text for the cards list.\n * By default the contents of the `header` are used.\n *\n * You can use the first arguments of type `SelectionState` to access the current selection\n * state of the component (for example, the `selectedItems` list). The label function for individual\n * items also receives the corresponding `Item` object. You can use the group label to\n * add a meaningful description to the whole selection.\n * @i18n\n */\n ariaLabels?: CardsProps.AriaLabels<T>;\n /**\n * Specifies an array containing the `id` of each visible section. If not set, all sections are displayed.\n *\n * Use it in conjunction with the visible content preference of the [collection preferences](/components/collection-preferences/) component.\n *\n * The order of `id`s doesn't influence the order of display of sections, which is controlled by the `cardDefinition` property.\n */\n visibleSections?: ReadonlyArray<string>;\n /**\n * Called when a user interaction causes a change in the list of selected items.\n * The event `detail` contains the current list of `selectedItems`.\n */\n onSelectionChange?: NonCancelableEventHandler<CardsProps.SelectionChangeDetail<T>>;\n /**\n * If set to true, the cards header remains visible when the user scrolls down.\n */\n stickyHeader?: boolean;\n /**\n * Optionally provide a vertical offset (in pixels) for the sticky header, for example if you\n * need to position the sticky header below other fixed position elements on the page.\n */\n stickyHeaderVerticalOffset?: number;\n\n /**\n * Use this property to inform screen readers how many cards there are.\n * It specifies the total number of cards.\n * If there is an unknown total number of cards, leave this property undefined. */\n totalItemsCount?: number;\n /**\n * Use this property to inform screen readers which range of cards is currently displayed.\n * It specifies the index (1-based) of the first card.\n * If the cards list has no pagination, leave this property undefined. */\n firstIndex?: number;\n /**\n * Use this function to announce page changes to screen reader users.\n * Requires the properties firstIndex and totalItemsCount to be set correctly.\n */\n renderAriaLive?: (data: CardsProps.LiveAnnouncement) => string;\n\n /**\n * Specify a cards variant with one of the following:\n * * `container` - Use this variant to have the cards displayed as a container.\n * * `full-page` – Use this variant when cards are the entire content of a page. Full page variants\n * implement the high contrast header and content behavior automatically.\n * @visualrefresh `full-page` variant\n */\n variant?: 'container' | 'full-page';\n}\n\nexport namespace CardsProps {\n export interface CardDefinition<T> {\n header?(item: T): React.ReactNode;\n sections?: ReadonlyArray<SectionDefinition<T>>;\n }\n\n export interface SectionDefinition<T> {\n id?: string;\n header?: React.ReactNode;\n content?(item: T): React.ReactNode;\n width?: number;\n }\n\n export interface CardsLayout {\n cards: number;\n minWidth?: number;\n }\n\n export type TrackBy<T> = string | ((item: T) => string);\n\n export type SelectionType = 'single' | 'multi';\n\n export interface SelectionState<T> {\n selectedItems: ReadonlyArray<T>;\n }\n\n export interface SelectionChangeDetail<T> {\n selectedItems: T[];\n }\n\n export type IsItemDisabled<T> = (item: T) => boolean;\n\n export interface AriaLabels<T> {\n itemSelectionLabel: (data: CardsProps.SelectionState<T>, row: T) => string;\n selectionGroupLabel: string;\n cardsLabel?: string;\n }\n\n export interface LiveAnnouncement {\n totalItemsCount?: number;\n firstIndex: number;\n lastIndex: number;\n }\n\n export interface Ref {\n /**\n * When the sticky header is enabled, calling this function scrolls cards's\n * scroll parent up to reveal the first card or row of cards.\n */\n scrollToTop(): void;\n }\n}\n"]}
|
package/container/styles.css.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"fit-height": "awsui_fit-
|
|
6
|
-
"with-side-media": "awsui_with-side-
|
|
7
|
-
"variant-default": "awsui_variant-
|
|
8
|
-
"variant-stacked": "awsui_variant-
|
|
9
|
-
"sticky-enabled": "awsui_sticky-
|
|
10
|
-
"with-top-media": "awsui_with-top-
|
|
11
|
-
"content-wrapper": "awsui_content-
|
|
12
|
-
"content-wrapper-fit-height": "awsui_content-wrapper-fit-
|
|
13
|
-
"media": "
|
|
14
|
-
"media-top": "awsui_media-
|
|
15
|
-
"media-side": "awsui_media-
|
|
16
|
-
"header": "
|
|
17
|
-
"header-with-media": "awsui_header-with-
|
|
18
|
-
"header-sticky-disabled": "awsui_header-sticky-
|
|
19
|
-
"header-sticky-enabled": "awsui_header-sticky-
|
|
20
|
-
"header-stuck": "awsui_header-
|
|
21
|
-
"header-variant-cards": "awsui_header-variant-
|
|
22
|
-
"header-dynamic-height": "awsui_header-dynamic-
|
|
23
|
-
"with-paddings": "awsui_with-
|
|
24
|
-
"with-hidden-content": "awsui_with-hidden-
|
|
25
|
-
"header-variant-full-page": "awsui_header-variant-full-
|
|
26
|
-
"dark-header": "awsui_dark-
|
|
27
|
-
"content": "
|
|
28
|
-
"content-fit-height": "awsui_content-fit-
|
|
29
|
-
"content-with-media": "awsui_content-with-
|
|
30
|
-
"footer": "
|
|
31
|
-
"with-divider": "awsui_with-
|
|
4
|
+
"root": "awsui_root_14iqq_eh02f_97",
|
|
5
|
+
"fit-height": "awsui_fit-height_14iqq_eh02f_111",
|
|
6
|
+
"with-side-media": "awsui_with-side-media_14iqq_eh02f_116",
|
|
7
|
+
"variant-default": "awsui_variant-default_14iqq_eh02f_119",
|
|
8
|
+
"variant-stacked": "awsui_variant-stacked_14iqq_eh02f_119",
|
|
9
|
+
"sticky-enabled": "awsui_sticky-enabled_14iqq_eh02f_172",
|
|
10
|
+
"with-top-media": "awsui_with-top-media_14iqq_eh02f_184",
|
|
11
|
+
"content-wrapper": "awsui_content-wrapper_14iqq_eh02f_189",
|
|
12
|
+
"content-wrapper-fit-height": "awsui_content-wrapper-fit-height_14iqq_eh02f_194",
|
|
13
|
+
"media": "awsui_media_14iqq_eh02f_199",
|
|
14
|
+
"media-top": "awsui_media-top_14iqq_eh02f_211",
|
|
15
|
+
"media-side": "awsui_media-side_14iqq_eh02f_216",
|
|
16
|
+
"header": "awsui_header_14iqq_eh02f_222",
|
|
17
|
+
"header-with-media": "awsui_header-with-media_14iqq_eh02f_227",
|
|
18
|
+
"header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_eh02f_233",
|
|
19
|
+
"header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_eh02f_237",
|
|
20
|
+
"header-stuck": "awsui_header-stuck_14iqq_eh02f_243",
|
|
21
|
+
"header-variant-cards": "awsui_header-variant-cards_14iqq_eh02f_249",
|
|
22
|
+
"header-dynamic-height": "awsui_header-dynamic-height_14iqq_eh02f_252",
|
|
23
|
+
"with-paddings": "awsui_with-paddings_14iqq_eh02f_258",
|
|
24
|
+
"with-hidden-content": "awsui_with-hidden-content_14iqq_eh02f_264",
|
|
25
|
+
"header-variant-full-page": "awsui_header-variant-full-page_14iqq_eh02f_314",
|
|
26
|
+
"dark-header": "awsui_dark-header_14iqq_eh02f_332",
|
|
27
|
+
"content": "awsui_content_14iqq_eh02f_189",
|
|
28
|
+
"content-fit-height": "awsui_content-fit-height_14iqq_eh02f_340",
|
|
29
|
+
"content-with-media": "awsui_content-with-media_14iqq_eh02f_349",
|
|
30
|
+
"footer": "awsui_footer_14iqq_eh02f_353",
|
|
31
|
+
"with-divider": "awsui_with-divider_14iqq_eh02f_356"
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -94,7 +94,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.
|
|
97
|
+
.awsui_root_14iqq_eh02f_97:not(#\9) {
|
|
98
98
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
99
99
|
border-collapse: separate;
|
|
100
100
|
border-spacing: 0;
|
|
@@ -134,20 +134,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
134
134
|
word-wrap: break-word;
|
|
135
135
|
position: relative;
|
|
136
136
|
}
|
|
137
|
-
.
|
|
137
|
+
.awsui_root_14iqq_eh02f_97.awsui_fit-height_14iqq_eh02f_111:not(#\9) {
|
|
138
138
|
display: flex;
|
|
139
139
|
flex-direction: column;
|
|
140
140
|
height: 100%;
|
|
141
141
|
}
|
|
142
|
-
.
|
|
142
|
+
.awsui_root_14iqq_eh02f_97.awsui_fit-height_14iqq_eh02f_111.awsui_with-side-media_14iqq_eh02f_116:not(#\9) {
|
|
143
143
|
flex-direction: row;
|
|
144
144
|
}
|
|
145
|
-
.
|
|
145
|
+
.awsui_root_14iqq_eh02f_97.awsui_variant-default_14iqq_eh02f_119:not(#\9), .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9) {
|
|
146
146
|
border-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
147
147
|
box-sizing: border-box;
|
|
148
148
|
background-color: var(--color-background-container-content-4un1ap, #ffffff);
|
|
149
149
|
}
|
|
150
|
-
.
|
|
150
|
+
.awsui_root_14iqq_eh02f_97.awsui_variant-default_14iqq_eh02f_119:not(#\9)::before, .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9)::before {
|
|
151
151
|
content: "";
|
|
152
152
|
position: absolute;
|
|
153
153
|
left: 0px;
|
|
@@ -162,7 +162,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
162
162
|
border-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
163
163
|
z-index: 1;
|
|
164
164
|
}
|
|
165
|
-
.
|
|
165
|
+
.awsui_root_14iqq_eh02f_97.awsui_variant-default_14iqq_eh02f_119:not(#\9)::after, .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9)::after {
|
|
166
166
|
content: "";
|
|
167
167
|
position: absolute;
|
|
168
168
|
left: 0px;
|
|
@@ -177,128 +177,128 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
177
177
|
mix-blend-mode: multiply;
|
|
178
178
|
}
|
|
179
179
|
@media screen and (-ms-high-contrast: active) {
|
|
180
|
-
.
|
|
180
|
+
.awsui_root_14iqq_eh02f_97.awsui_variant-default_14iqq_eh02f_119:not(#\9), .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9) {
|
|
181
181
|
border: var(--border-field-width-09w7vk, 2px) solid var(--color-border-container-top-736buh, transparent);
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
.
|
|
184
|
+
.awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9):not(:last-child), .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9):not(:last-child)::before, .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9):not(:last-child)::after {
|
|
185
185
|
border-bottom-right-radius: 0;
|
|
186
186
|
border-bottom-left-radius: 0;
|
|
187
187
|
}
|
|
188
|
-
.
|
|
188
|
+
.awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119 + .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9), .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119 + .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9)::before, .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119 + .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9)::after {
|
|
189
189
|
border-top-left-radius: 0;
|
|
190
190
|
border-top-right-radius: 0;
|
|
191
191
|
}
|
|
192
|
-
.
|
|
192
|
+
.awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119 + .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9)::before {
|
|
193
193
|
border-top: var(--border-divider-section-width-4ax5o2, 2px) solid var(--color-border-divider-default-d3adp9, #e9ebed);
|
|
194
194
|
}
|
|
195
|
-
.
|
|
195
|
+
.awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119 + .awsui_root_14iqq_eh02f_97.awsui_variant-stacked_14iqq_eh02f_119:not(#\9)::after {
|
|
196
196
|
box-shadow: var(--shadow-container-stacked-4gw245, -1px 1px 1px 0px #e9ebed, 1px 1px 1px 0px #e9ebed, 0px 9px 8px -7px rgba(0, 7, 22, 0.12), 8px 0px 8px -7px rgba(0, 7, 22, 0.12), -8px 0px 8px -7px rgba(0, 7, 22, 0.12));
|
|
197
197
|
}
|
|
198
|
-
.
|
|
198
|
+
.awsui_root_14iqq_eh02f_97.awsui_sticky-enabled_14iqq_eh02f_172:not(#\9)::before {
|
|
199
199
|
top: calc(-1 * var(--border-container-top-width-uugwwl, 0px));
|
|
200
200
|
}
|
|
201
|
-
.
|
|
201
|
+
.awsui_root_14iqq_eh02f_97.awsui_sticky-enabled_14iqq_eh02f_172.awsui_variant-stacked_14iqq_eh02f_119:not(#\9)::before {
|
|
202
202
|
top: calc(-1 * var(--border-divider-section-width-4ax5o2, 2px));
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
.awsui_with-side-
|
|
205
|
+
.awsui_with-side-media_14iqq_eh02f_116:not(#\9) {
|
|
206
206
|
display: flex;
|
|
207
207
|
flex-direction: row;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
.awsui_with-top-
|
|
210
|
+
.awsui_with-top-media_14iqq_eh02f_184:not(#\9) {
|
|
211
211
|
display: flex;
|
|
212
212
|
flex-direction: column;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
.awsui_content-
|
|
215
|
+
.awsui_content-wrapper_14iqq_eh02f_189:not(#\9) {
|
|
216
216
|
display: flex;
|
|
217
217
|
flex-direction: column;
|
|
218
218
|
width: 100%;
|
|
219
219
|
}
|
|
220
|
-
.awsui_content-wrapper-fit-
|
|
220
|
+
.awsui_content-wrapper-fit-height_14iqq_eh02f_194:not(#\9) {
|
|
221
221
|
height: 100%;
|
|
222
222
|
overflow: hidden;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
.
|
|
225
|
+
.awsui_media_14iqq_eh02f_199:not(#\9) {
|
|
226
226
|
overflow: hidden;
|
|
227
227
|
flex-shrink: 0;
|
|
228
228
|
}
|
|
229
|
-
.
|
|
230
|
-
.
|
|
231
|
-
.
|
|
229
|
+
.awsui_media_14iqq_eh02f_199 img:not(#\9),
|
|
230
|
+
.awsui_media_14iqq_eh02f_199 video:not(#\9),
|
|
231
|
+
.awsui_media_14iqq_eh02f_199 picture:not(#\9) {
|
|
232
232
|
width: 100%;
|
|
233
233
|
height: 100%;
|
|
234
234
|
object-fit: cover;
|
|
235
235
|
object-position: center;
|
|
236
236
|
}
|
|
237
|
-
.awsui_media-
|
|
237
|
+
.awsui_media-top_14iqq_eh02f_211:not(#\9) {
|
|
238
238
|
max-height: 66%;
|
|
239
239
|
border-top-left-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
240
240
|
border-top-right-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
241
241
|
}
|
|
242
|
-
.awsui_media-
|
|
242
|
+
.awsui_media-side_14iqq_eh02f_216:not(#\9) {
|
|
243
243
|
max-width: 66%;
|
|
244
244
|
border-top-left-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
245
245
|
border-bottom-left-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
.
|
|
248
|
+
.awsui_header_14iqq_eh02f_222:not(#\9) {
|
|
249
249
|
background-color: var(--color-background-container-header-8b9fgi, #ffffff);
|
|
250
250
|
border-top-left-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
251
251
|
border-top-right-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
.awsui_header_14iqq_eh02f_222.awsui_header-with-media_14iqq_eh02f_227:not(#\9) {
|
|
254
254
|
background: none;
|
|
255
255
|
}
|
|
256
|
-
.
|
|
256
|
+
.awsui_header_14iqq_eh02f_222.awsui_header-with-media_14iqq_eh02f_227:not(#\9):not(:empty) {
|
|
257
257
|
border-bottom: none;
|
|
258
258
|
}
|
|
259
|
-
.awsui_header-sticky-
|
|
259
|
+
.awsui_header-sticky-disabled_14iqq_eh02f_233:not(#\9) {
|
|
260
260
|
position: relative;
|
|
261
261
|
z-index: 1;
|
|
262
262
|
}
|
|
263
|
-
.awsui_header-sticky-
|
|
263
|
+
.awsui_header-sticky-enabled_14iqq_eh02f_237:not(#\9) {
|
|
264
264
|
top: 0;
|
|
265
265
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
266
266
|
position: sticky;
|
|
267
267
|
z-index: 800;
|
|
268
268
|
}
|
|
269
|
-
.awsui_header-
|
|
269
|
+
.awsui_header-stuck_14iqq_eh02f_243:not(#\9) {
|
|
270
270
|
border-radius: 0;
|
|
271
271
|
}
|
|
272
|
-
.awsui_header-
|
|
272
|
+
.awsui_header-stuck_14iqq_eh02f_243:not(#\9)::before {
|
|
273
273
|
border: 0;
|
|
274
274
|
}
|
|
275
|
-
.awsui_header-
|
|
275
|
+
.awsui_header-stuck_14iqq_eh02f_243:not(#\9):not(.awsui_header-variant-cards_14iqq_eh02f_249) {
|
|
276
276
|
box-shadow: var(--shadow-sticky-embedded-uvh5ry, 0px 2px 0px 0px #e9ebed, 0px 16px 16px -12px rgba(0, 7, 22, 0.1));
|
|
277
277
|
}
|
|
278
|
-
.awsui_header-dynamic-
|
|
278
|
+
.awsui_header-dynamic-height_14iqq_eh02f_252.awsui_header-stuck_14iqq_eh02f_243:not(#\9) {
|
|
279
279
|
margin-bottom: calc(var(--font-heading-xl-line-height-qs40h8, 30px) - var(--font-heading-l-line-height-thvd8z, 24px));
|
|
280
280
|
}
|
|
281
|
-
.
|
|
281
|
+
.awsui_header_14iqq_eh02f_222:not(#\9):not(:empty) {
|
|
282
282
|
border-bottom: var(--border-container-sticky-width-6asz33, 0px) solid var(--color-border-container-divider-p2uygo, transparent);
|
|
283
283
|
}
|
|
284
|
-
.
|
|
284
|
+
.awsui_header_14iqq_eh02f_222.awsui_with-paddings_14iqq_eh02f_258:not(#\9) {
|
|
285
285
|
padding: var(--space-container-header-top-5qav00, 12px) var(--space-container-horizontal-wfukh3, 20px) var(--space-container-header-bottom-vj01hn, 8px);
|
|
286
286
|
}
|
|
287
|
-
.
|
|
288
|
-
padding: var(--space-
|
|
287
|
+
.awsui_header_14iqq_eh02f_222.awsui_with-paddings_14iqq_eh02f_258.awsui_header-variant-cards_14iqq_eh02f_249:not(#\9) {
|
|
288
|
+
padding: var(--space-container-header-top-5qav00, 12px) var(--space-container-horizontal-wfukh3, 20px);
|
|
289
289
|
}
|
|
290
|
-
.
|
|
290
|
+
.awsui_header_14iqq_eh02f_222.awsui_with-hidden-content_14iqq_eh02f_264:not(#\9) {
|
|
291
291
|
border-bottom-left-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
292
292
|
border-bottom-right-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
293
293
|
}
|
|
294
|
-
.awsui_header-variant-
|
|
294
|
+
.awsui_header-variant-cards_14iqq_eh02f_249:not(#\9) {
|
|
295
295
|
border-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
296
296
|
box-sizing: border-box;
|
|
297
297
|
}
|
|
298
|
-
.awsui_header-variant-
|
|
298
|
+
.awsui_header-variant-cards_14iqq_eh02f_249:not(#\9):not(.awsui_header-sticky-enabled_14iqq_eh02f_237) {
|
|
299
299
|
position: relative;
|
|
300
300
|
}
|
|
301
|
-
.awsui_header-variant-
|
|
301
|
+
.awsui_header-variant-cards_14iqq_eh02f_249:not(#\9)::before {
|
|
302
302
|
content: "";
|
|
303
303
|
position: absolute;
|
|
304
304
|
left: 0px;
|
|
@@ -313,7 +313,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
313
313
|
border-radius: var(--border-radius-container-wqv1zi, 16px);
|
|
314
314
|
z-index: 1;
|
|
315
315
|
}
|
|
316
|
-
.awsui_header-variant-
|
|
316
|
+
.awsui_header-variant-cards_14iqq_eh02f_249:not(#\9)::after {
|
|
317
317
|
content: "";
|
|
318
318
|
position: absolute;
|
|
319
319
|
left: 0px;
|
|
@@ -328,19 +328,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
328
328
|
mix-blend-mode: multiply;
|
|
329
329
|
}
|
|
330
330
|
@media screen and (-ms-high-contrast: active) {
|
|
331
|
-
.awsui_header-variant-
|
|
331
|
+
.awsui_header-variant-cards_14iqq_eh02f_249:not(#\9) {
|
|
332
332
|
border: var(--border-field-width-09w7vk, 2px) solid var(--color-border-container-top-736buh, transparent);
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
.awsui_header-variant-
|
|
335
|
+
.awsui_header-variant-cards_14iqq_eh02f_249.awsui_header-stuck_14iqq_eh02f_243:not(#\9)::after, .awsui_header-variant-cards_14iqq_eh02f_249.awsui_header-stuck_14iqq_eh02f_243:not(#\9)::before {
|
|
336
336
|
border: 0;
|
|
337
337
|
border-top-left-radius: 0;
|
|
338
338
|
border-top-right-radius: 0;
|
|
339
339
|
}
|
|
340
|
-
.awsui_header-variant-full-
|
|
340
|
+
.awsui_header-variant-full-page_14iqq_eh02f_314.awsui_header-stuck_14iqq_eh02f_243:not(#\9) {
|
|
341
341
|
box-shadow: none;
|
|
342
342
|
}
|
|
343
|
-
.awsui_header-variant-full-
|
|
343
|
+
.awsui_header-variant-full-page_14iqq_eh02f_314.awsui_header-stuck_14iqq_eh02f_243:not(#\9)::after {
|
|
344
344
|
content: "";
|
|
345
345
|
position: absolute;
|
|
346
346
|
right: 0;
|
|
@@ -355,30 +355,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
355
355
|
The dynamic height dark header needs a background that will cover
|
|
356
356
|
the default white background of the container component.
|
|
357
357
|
*/
|
|
358
|
-
.awsui_dark-
|
|
358
|
+
.awsui_dark-header_14iqq_eh02f_332:not(#\9) {
|
|
359
359
|
background-color: var(--color-background-layout-main-nx09lr, #ffffff);
|
|
360
360
|
color: var(--color-text-body-default-2sxhhn, #000716);
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
-
.
|
|
363
|
+
.awsui_content_14iqq_eh02f_189:not(#\9) {
|
|
364
364
|
flex: 1;
|
|
365
365
|
}
|
|
366
|
-
.awsui_content-fit-
|
|
366
|
+
.awsui_content-fit-height_14iqq_eh02f_340:not(#\9) {
|
|
367
367
|
overflow: auto;
|
|
368
368
|
}
|
|
369
|
-
.
|
|
369
|
+
.awsui_content_14iqq_eh02f_189.awsui_with-paddings_14iqq_eh02f_258:not(#\9) {
|
|
370
370
|
padding: var(--space-scaled-l-0hpmd7, 20px) var(--space-container-horizontal-wfukh3, 20px);
|
|
371
371
|
}
|
|
372
|
-
.
|
|
372
|
+
.awsui_header_14iqq_eh02f_222 + .awsui_content_14iqq_eh02f_189.awsui_with-paddings_14iqq_eh02f_258:not(#\9) {
|
|
373
373
|
padding-top: var(--space-container-content-top-1ae0r3, 4px);
|
|
374
374
|
}
|
|
375
|
-
.
|
|
375
|
+
.awsui_header_14iqq_eh02f_222 + .awsui_content_14iqq_eh02f_189.awsui_with-paddings_14iqq_eh02f_258.awsui_content-with-media_14iqq_eh02f_349:not(#\9) {
|
|
376
376
|
padding-top: 0;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
-
.
|
|
379
|
+
.awsui_footer_14iqq_eh02f_353.awsui_with-paddings_14iqq_eh02f_258:not(#\9) {
|
|
380
380
|
padding: var(--space-scaled-s-aqzyko, 12px) var(--space-container-horizontal-wfukh3, 20px);
|
|
381
381
|
}
|
|
382
|
-
.
|
|
382
|
+
.awsui_footer_14iqq_eh02f_353.awsui_with-divider_14iqq_eh02f_356:not(#\9) {
|
|
383
383
|
border-top: var(--border-divider-section-width-4ax5o2, 2px) solid var(--color-border-divider-default-d3adp9, #e9ebed);
|
|
384
384
|
}
|
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"fit-height": "awsui_fit-
|
|
7
|
-
"with-side-media": "awsui_with-side-
|
|
8
|
-
"variant-default": "awsui_variant-
|
|
9
|
-
"variant-stacked": "awsui_variant-
|
|
10
|
-
"sticky-enabled": "awsui_sticky-
|
|
11
|
-
"with-top-media": "awsui_with-top-
|
|
12
|
-
"content-wrapper": "awsui_content-
|
|
13
|
-
"content-wrapper-fit-height": "awsui_content-wrapper-fit-
|
|
14
|
-
"media": "
|
|
15
|
-
"media-top": "awsui_media-
|
|
16
|
-
"media-side": "awsui_media-
|
|
17
|
-
"header": "
|
|
18
|
-
"header-with-media": "awsui_header-with-
|
|
19
|
-
"header-sticky-disabled": "awsui_header-sticky-
|
|
20
|
-
"header-sticky-enabled": "awsui_header-sticky-
|
|
21
|
-
"header-stuck": "awsui_header-
|
|
22
|
-
"header-variant-cards": "awsui_header-variant-
|
|
23
|
-
"header-dynamic-height": "awsui_header-dynamic-
|
|
24
|
-
"with-paddings": "awsui_with-
|
|
25
|
-
"with-hidden-content": "awsui_with-hidden-
|
|
26
|
-
"header-variant-full-page": "awsui_header-variant-full-
|
|
27
|
-
"dark-header": "awsui_dark-
|
|
28
|
-
"content": "
|
|
29
|
-
"content-fit-height": "awsui_content-fit-
|
|
30
|
-
"content-with-media": "awsui_content-with-
|
|
31
|
-
"footer": "
|
|
32
|
-
"with-divider": "awsui_with-
|
|
5
|
+
"root": "awsui_root_14iqq_eh02f_97",
|
|
6
|
+
"fit-height": "awsui_fit-height_14iqq_eh02f_111",
|
|
7
|
+
"with-side-media": "awsui_with-side-media_14iqq_eh02f_116",
|
|
8
|
+
"variant-default": "awsui_variant-default_14iqq_eh02f_119",
|
|
9
|
+
"variant-stacked": "awsui_variant-stacked_14iqq_eh02f_119",
|
|
10
|
+
"sticky-enabled": "awsui_sticky-enabled_14iqq_eh02f_172",
|
|
11
|
+
"with-top-media": "awsui_with-top-media_14iqq_eh02f_184",
|
|
12
|
+
"content-wrapper": "awsui_content-wrapper_14iqq_eh02f_189",
|
|
13
|
+
"content-wrapper-fit-height": "awsui_content-wrapper-fit-height_14iqq_eh02f_194",
|
|
14
|
+
"media": "awsui_media_14iqq_eh02f_199",
|
|
15
|
+
"media-top": "awsui_media-top_14iqq_eh02f_211",
|
|
16
|
+
"media-side": "awsui_media-side_14iqq_eh02f_216",
|
|
17
|
+
"header": "awsui_header_14iqq_eh02f_222",
|
|
18
|
+
"header-with-media": "awsui_header-with-media_14iqq_eh02f_227",
|
|
19
|
+
"header-sticky-disabled": "awsui_header-sticky-disabled_14iqq_eh02f_233",
|
|
20
|
+
"header-sticky-enabled": "awsui_header-sticky-enabled_14iqq_eh02f_237",
|
|
21
|
+
"header-stuck": "awsui_header-stuck_14iqq_eh02f_243",
|
|
22
|
+
"header-variant-cards": "awsui_header-variant-cards_14iqq_eh02f_249",
|
|
23
|
+
"header-dynamic-height": "awsui_header-dynamic-height_14iqq_eh02f_252",
|
|
24
|
+
"with-paddings": "awsui_with-paddings_14iqq_eh02f_258",
|
|
25
|
+
"with-hidden-content": "awsui_with-hidden-content_14iqq_eh02f_264",
|
|
26
|
+
"header-variant-full-page": "awsui_header-variant-full-page_14iqq_eh02f_314",
|
|
27
|
+
"dark-header": "awsui_dark-header_14iqq_eh02f_332",
|
|
28
|
+
"content": "awsui_content_14iqq_eh02f_189",
|
|
29
|
+
"content-fit-height": "awsui_content-fit-height_14iqq_eh02f_340",
|
|
30
|
+
"content-with-media": "awsui_content-with-media_14iqq_eh02f_349",
|
|
31
|
+
"footer": "awsui_footer_14iqq_eh02f_353",
|
|
32
|
+
"with-divider": "awsui_with-divider_14iqq_eh02f_356"
|
|
33
33
|
};
|
|
34
34
|
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"content-enter": "awsui_content-
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"trigger-expanded": "awsui_trigger-
|
|
7
|
-
"icon": "
|
|
8
|
-
"root": "
|
|
9
|
-
"expand-button": "awsui_expand-
|
|
10
|
-
"expanded": "
|
|
11
|
-
"icon-container": "awsui_icon-
|
|
12
|
-
"icon-container-container": "awsui_icon-container-
|
|
13
|
-
"wrapper": "
|
|
14
|
-
"wrapper-default": "awsui_wrapper-
|
|
15
|
-
"wrapper-footer": "awsui_wrapper-
|
|
16
|
-
"wrapper-navigation": "awsui_wrapper-
|
|
17
|
-
"wrapper-container": "awsui_wrapper-
|
|
18
|
-
"header-deprecated": "awsui_header-
|
|
19
|
-
"wrapper-expanded": "awsui_wrapper-
|
|
20
|
-
"header": "
|
|
21
|
-
"header-wrapper": "awsui_header-
|
|
22
|
-
"header-button": "awsui_header-
|
|
23
|
-
"header-container-button": "awsui_header-container-
|
|
24
|
-
"header-container": "awsui_header-
|
|
25
|
-
"header-navigation": "awsui_header-
|
|
26
|
-
"header-text": "awsui_header-
|
|
27
|
-
"content": "
|
|
28
|
-
"content-default": "awsui_content-
|
|
29
|
-
"content-footer": "awsui_content-
|
|
30
|
-
"content-expanded": "awsui_content-
|
|
31
|
-
"focusable": "
|
|
32
|
-
"click-target": "awsui_click-
|
|
4
|
+
"content-enter": "awsui_content-enter_gwq0h_xgtm9_97",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_gwq0h_xgtm9_1",
|
|
6
|
+
"trigger-expanded": "awsui_trigger-expanded_gwq0h_xgtm9_119",
|
|
7
|
+
"icon": "awsui_icon_gwq0h_xgtm9_133",
|
|
8
|
+
"root": "awsui_root_gwq0h_xgtm9_151",
|
|
9
|
+
"expand-button": "awsui_expand-button_gwq0h_xgtm9_168",
|
|
10
|
+
"expanded": "awsui_expanded_gwq0h_xgtm9_175",
|
|
11
|
+
"icon-container": "awsui_icon-container_gwq0h_xgtm9_179",
|
|
12
|
+
"icon-container-container": "awsui_icon-container-container_gwq0h_xgtm9_184",
|
|
13
|
+
"wrapper": "awsui_wrapper_gwq0h_xgtm9_188",
|
|
14
|
+
"wrapper-default": "awsui_wrapper-default_gwq0h_xgtm9_195",
|
|
15
|
+
"wrapper-footer": "awsui_wrapper-footer_gwq0h_xgtm9_195",
|
|
16
|
+
"wrapper-navigation": "awsui_wrapper-navigation_gwq0h_xgtm9_198",
|
|
17
|
+
"wrapper-container": "awsui_wrapper-container_gwq0h_xgtm9_201",
|
|
18
|
+
"header-deprecated": "awsui_header-deprecated_gwq0h_xgtm9_217",
|
|
19
|
+
"wrapper-expanded": "awsui_wrapper-expanded_gwq0h_xgtm9_239",
|
|
20
|
+
"header": "awsui_header_gwq0h_xgtm9_217",
|
|
21
|
+
"header-wrapper": "awsui_header-wrapper_gwq0h_xgtm9_258",
|
|
22
|
+
"header-button": "awsui_header-button_gwq0h_xgtm9_268",
|
|
23
|
+
"header-container-button": "awsui_header-container-button_gwq0h_xgtm9_268",
|
|
24
|
+
"header-container": "awsui_header-container_gwq0h_xgtm9_268",
|
|
25
|
+
"header-navigation": "awsui_header-navigation_gwq0h_xgtm9_300",
|
|
26
|
+
"header-text": "awsui_header-text_gwq0h_xgtm9_332",
|
|
27
|
+
"content": "awsui_content_gwq0h_xgtm9_97",
|
|
28
|
+
"content-default": "awsui_content-default_gwq0h_xgtm9_339",
|
|
29
|
+
"content-footer": "awsui_content-footer_gwq0h_xgtm9_342",
|
|
30
|
+
"content-expanded": "awsui_content-expanded_gwq0h_xgtm9_345",
|
|
31
|
+
"focusable": "awsui_focusable_gwq0h_xgtm9_349",
|
|
32
|
+
"click-target": "awsui_click-target_gwq0h_xgtm9_360"
|
|
33
33
|
};
|
|
34
34
|
|