@cloudscape-design/components 3.0.287 → 3.0.288
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/alert/styles.css.js +19 -19
- package/alert/styles.scoped.css +64 -64
- package/alert/styles.selectors.js +19 -19
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +46 -46
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/content-wrapper/styles.css.js +3 -3
- package/app-layout/content-wrapper/styles.scoped.css +10 -10
- package/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/app-layout/drawer/styles.css.js +10 -10
- package/app-layout/drawer/styles.scoped.css +34 -32
- package/app-layout/drawer/styles.selectors.js +10 -10
- package/app-layout/index.js +1 -1
- package/app-layout/index.js.map +1 -1
- package/app-layout/interfaces.d.ts +2 -0
- package/app-layout/interfaces.d.ts.map +1 -1
- package/app-layout/interfaces.js.map +1 -1
- package/app-layout/mobile-toolbar/styles.css.js +6 -6
- package/app-layout/mobile-toolbar/styles.scoped.css +20 -20
- package/app-layout/mobile-toolbar/styles.selectors.js +6 -6
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/split-panel-drawer/index.d.ts.map +1 -1
- package/app-layout/split-panel-drawer/index.js +1 -1
- package/app-layout/split-panel-drawer/index.js.map +1 -1
- package/app-layout/styles.css.js +13 -13
- package/app-layout/styles.scoped.css +22 -22
- package/app-layout/styles.selectors.js +13 -13
- package/app-layout/toggles/styles.css.js +1 -1
- package/app-layout/toggles/styles.scoped.css +3 -3
- package/app-layout/toggles/styles.selectors.js +1 -1
- package/app-layout/visual-refresh/styles.css.js +72 -72
- package/app-layout/visual-refresh/styles.scoped.css +285 -285
- package/app-layout/visual-refresh/styles.selectors.js +72 -72
- package/app-layout/visual-refresh/tools.d.ts.map +1 -1
- package/app-layout/visual-refresh/tools.js +3 -3
- package/app-layout/visual-refresh/tools.js.map +1 -1
- package/area-chart/styles.css.js +13 -13
- package/area-chart/styles.scoped.css +29 -29
- package/area-chart/styles.selectors.js +13 -13
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +48 -48
- package/attribute-editor/styles.selectors.js +14 -14
- package/badge/styles.css.js +5 -5
- package/badge/styles.scoped.css +20 -20
- package/badge/styles.selectors.js +5 -5
- package/box/styles.css.js +189 -189
- package/box/styles.scoped.css +418 -418
- package/box/styles.selectors.js +189 -189
- package/breadcrumb-group/item/styles.css.js +9 -9
- package/breadcrumb-group/item/styles.scoped.css +28 -28
- package/breadcrumb-group/item/styles.selectors.js +9 -9
- package/breadcrumb-group/styles.css.js +7 -7
- package/breadcrumb-group/styles.scoped.css +22 -22
- package/breadcrumb-group/styles.selectors.js +7 -7
- package/button/styles.css.js +18 -18
- package/button/styles.scoped.css +411 -411
- package/button/styles.selectors.js +18 -18
- package/button-dropdown/category-elements/styles.css.js +13 -13
- package/button-dropdown/category-elements/styles.scoped.css +50 -50
- package/button-dropdown/category-elements/styles.selectors.js +13 -13
- package/button-dropdown/item-element/styles.css.js +14 -14
- package/button-dropdown/item-element/styles.scoped.css +42 -42
- package/button-dropdown/item-element/styles.selectors.js +14 -14
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +10 -10
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/button-dropdown/styles.css.js +8 -8
- package/button-dropdown/styles.scoped.css +20 -20
- package/button-dropdown/styles.selectors.js +8 -8
- package/calendar/styles.css.js +18 -18
- package/calendar/styles.scoped.css +89 -89
- package/calendar/styles.selectors.js +18 -18
- package/cards/index.d.ts.map +1 -1
- package/cards/index.js +4 -2
- package/cards/index.js.map +1 -1
- package/cards/interfaces.d.ts +20 -0
- package/cards/interfaces.d.ts.map +1 -1
- package/cards/interfaces.js.map +1 -1
- package/cards/styles.css.js +37 -37
- package/cards/styles.scoped.css +101 -101
- package/cards/styles.selectors.js +37 -37
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +16 -16
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/resizable-box/styles.css.js +3 -3
- package/code-editor/resizable-box/styles.scoped.css +8 -8
- package/code-editor/resizable-box/styles.selectors.js +3 -3
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +194 -194
- package/code-editor/styles.selectors.js +32 -32
- package/collection-preferences/content-display/styles.css.js +11 -11
- package/collection-preferences/content-display/styles.scoped.css +42 -42
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/styles.css.js +37 -37
- package/collection-preferences/styles.scoped.css +81 -81
- package/collection-preferences/styles.selectors.js +37 -37
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +55 -55
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +18 -18
- package/container/styles.scoped.css +73 -73
- package/container/styles.selectors.js +18 -18
- package/content-layout/styles.css.js +7 -7
- package/content-layout/styles.scoped.css +18 -18
- package/content-layout/styles.selectors.js +7 -7
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +16 -16
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/calendar/grids/styles.css.js +25 -25
- package/date-range-picker/calendar/grids/styles.scoped.css +95 -95
- package/date-range-picker/calendar/grids/styles.selectors.js +25 -25
- package/date-range-picker/relative-range/styles.css.js +9 -9
- package/date-range-picker/relative-range/styles.scoped.css +16 -16
- package/date-range-picker/relative-range/styles.selectors.js +9 -9
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +76 -76
- package/date-range-picker/styles.selectors.js +38 -38
- package/expandable-section/styles.css.js +24 -24
- package/expandable-section/styles.scoped.css +87 -87
- package/expandable-section/styles.selectors.js +24 -24
- package/file-upload/dropzone/styles.css.js +2 -2
- package/file-upload/dropzone/styles.scoped.css +9 -9
- package/file-upload/dropzone/styles.selectors.js +2 -2
- package/file-upload/file-input/styles.css.js +4 -4
- package/file-upload/file-input/styles.scoped.css +14 -14
- package/file-upload/file-input/styles.selectors.js +4 -4
- package/file-upload/file-option/styles.css.js +7 -7
- package/file-upload/file-option/styles.scoped.css +10 -10
- package/file-upload/file-option/styles.selectors.js +7 -7
- package/file-upload/styles.css.js +2 -2
- package/file-upload/styles.scoped.css +4 -4
- package/file-upload/styles.selectors.js +2 -2
- package/flashbar/styles.css.js +45 -45
- package/flashbar/styles.scoped.css +246 -246
- package/flashbar/styles.selectors.js +45 -45
- package/form/styles.css.js +9 -9
- package/form/styles.scoped.css +20 -20
- package/form/styles.selectors.js +9 -9
- package/form-field/styles.css.js +19 -19
- package/form-field/styles.scoped.css +52 -52
- package/form-field/styles.selectors.js +19 -19
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +60 -60
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +44 -44
- package/header/styles.scoped.css +116 -116
- package/header/styles.selectors.js +44 -44
- package/help-panel/styles.css.js +4 -4
- package/help-panel/styles.scoped.css +153 -153
- package/help-panel/styles.selectors.js +4 -4
- package/hotspot/styles.css.js +7 -7
- package/hotspot/styles.scoped.css +10 -10
- package/hotspot/styles.selectors.js +7 -7
- package/icon/styles.css.js +21 -21
- package/icon/styles.scoped.css +81 -81
- package/icon/styles.selectors.js +21 -21
- package/input/styles.css.js +12 -12
- package/input/styles.scoped.css +73 -73
- package/input/styles.selectors.js +12 -12
- package/internal/base-component/styles.scoped.css +1439 -1438
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +26 -26
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/styles.css.js +9 -9
- package/internal/components/button-trigger/styles.scoped.css +63 -63
- package/internal/components/button-trigger/styles.selectors.js +9 -9
- package/internal/components/cartesian-chart/styles.css.js +21 -21
- package/internal/components/cartesian-chart/styles.scoped.css +34 -34
- package/internal/components/cartesian-chart/styles.selectors.js +21 -21
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +7 -7
- package/internal/components/chart-filter/styles.selectors.js +3 -3
- package/internal/components/chart-legend/styles.css.js +6 -6
- package/internal/components/chart-legend/styles.scoped.css +23 -23
- package/internal/components/chart-legend/styles.selectors.js +6 -6
- package/internal/components/chart-plot/styles.css.js +5 -5
- package/internal/components/chart-plot/styles.scoped.css +6 -6
- package/internal/components/chart-plot/styles.selectors.js +5 -5
- package/internal/components/chart-popover/styles.css.js +3 -3
- package/internal/components/chart-popover/styles.scoped.css +9 -9
- package/internal/components/chart-popover/styles.selectors.js +3 -3
- package/internal/components/chart-series-details/styles.css.js +5 -5
- package/internal/components/chart-series-details/styles.scoped.css +20 -20
- package/internal/components/chart-series-details/styles.selectors.js +5 -5
- package/internal/components/chart-series-marker/styles.css.js +5 -5
- package/internal/components/chart-series-marker/styles.scoped.css +14 -14
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/chart-status-container/styles.css.js +2 -2
- package/internal/components/chart-status-container/styles.scoped.css +3 -3
- package/internal/components/chart-status-container/styles.selectors.js +2 -2
- package/internal/components/checkbox-icon/styles.css.js +7 -7
- package/internal/components/checkbox-icon/styles.scoped.css +18 -18
- package/internal/components/checkbox-icon/styles.selectors.js +7 -7
- package/internal/components/dark-ribbon/styles.css.js +2 -2
- package/internal/components/dark-ribbon/styles.scoped.css +4 -4
- package/internal/components/dark-ribbon/styles.selectors.js +2 -2
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +51 -51
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/components/dropdown-footer/styles.css.js +3 -3
- package/internal/components/dropdown-footer/styles.scoped.css +9 -9
- package/internal/components/dropdown-footer/styles.selectors.js +3 -3
- package/internal/components/dropdown-status/styles.css.js +2 -2
- package/internal/components/dropdown-status/styles.scoped.css +8 -8
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/filtering-token/styles.css.js +7 -7
- package/internal/components/filtering-token/styles.scoped.css +34 -34
- package/internal/components/filtering-token/styles.selectors.js +7 -7
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +32 -32
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/option/styles.css.js +17 -17
- package/internal/components/option/styles.scoped.css +47 -47
- package/internal/components/option/styles.selectors.js +17 -17
- package/internal/components/options-list/styles.css.js +2 -2
- package/internal/components/options-list/styles.scoped.css +7 -7
- package/internal/components/options-list/styles.selectors.js +2 -2
- package/internal/components/selectable-item/styles.css.js +16 -16
- package/internal/components/selectable-item/styles.scoped.css +68 -68
- package/internal/components/selectable-item/styles.selectors.js +16 -16
- package/internal/components/token-list/styles.css.js +9 -9
- package/internal/components/token-list/styles.scoped.css +40 -40
- package/internal/components/token-list/styles.selectors.js +9 -9
- package/internal/environment.js +1 -1
- package/internal/generated/styles/tokens.d.ts +4 -0
- package/internal/generated/styles/tokens.js +299 -295
- package/internal/generated/theming/index.cjs +837 -737
- package/internal/generated/theming/index.cjs.d.ts +24 -0
- package/internal/generated/theming/index.d.ts +24 -0
- package/internal/generated/theming/index.js +837 -737
- package/internal/handle/styles.css.js +2 -2
- package/internal/handle/styles.scoped.css +12 -12
- package/internal/handle/styles.selectors.js +2 -2
- package/internal/manifest.json +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +163 -163
- package/link/styles.selectors.js +20 -20
- package/mixed-line-bar-chart/styles.css.js +19 -19
- package/mixed-line-bar-chart/styles.scoped.css +38 -38
- package/mixed-line-bar-chart/styles.selectors.js +19 -19
- package/modal/styles.css.js +23 -23
- package/modal/styles.scoped.css +67 -67
- package/modal/styles.selectors.js +23 -23
- package/multiselect/styles.css.js +1 -1
- package/multiselect/styles.scoped.css +5 -5
- package/multiselect/styles.selectors.js +1 -1
- package/package.json +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +47 -47
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +70 -70
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +104 -104
- package/popover/styles.selectors.js +50 -50
- package/progress-bar/styles.css.js +18 -18
- package/progress-bar/styles.scoped.css +58 -58
- package/progress-bar/styles.selectors.js +18 -18
- package/property-filter/styles.css.js +29 -29
- package/property-filter/styles.scoped.css +52 -52
- package/property-filter/styles.selectors.js +29 -29
- package/radio-group/styles.css.js +9 -9
- package/radio-group/styles.scoped.css +37 -37
- package/radio-group/styles.selectors.js +9 -9
- package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
- package/s3-resource-selector/s3-in-context/styles.scoped.css +12 -12
- package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
- package/segmented-control/styles.css.js +14 -14
- package/segmented-control/styles.scoped.css +78 -78
- package/segmented-control/styles.selectors.js +14 -14
- package/select/parts/styles.css.js +9 -9
- package/select/parts/styles.scoped.css +17 -17
- package/select/parts/styles.selectors.js +9 -9
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +5 -5
- package/select/styles.selectors.js +1 -1
- package/side-navigation/styles.css.js +27 -27
- package/side-navigation/styles.scoped.css +89 -89
- package/side-navigation/styles.selectors.js +27 -27
- package/space-between/styles.css.js +20 -20
- package/space-between/styles.scoped.css +37 -37
- package/space-between/styles.selectors.js +20 -20
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +35 -35
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/styles.css.js +59 -59
- package/split-panel/styles.scoped.css +150 -150
- package/split-panel/styles.selectors.js +59 -59
- package/status-indicator/styles.css.js +20 -20
- package/status-indicator/styles.scoped.css +44 -44
- package/status-indicator/styles.selectors.js +20 -20
- package/table/body-cell/styles.css.js +28 -28
- package/table/body-cell/styles.scoped.css +144 -144
- package/table/body-cell/styles.selectors.js +28 -28
- package/table/header-cell/styles.css.js +24 -24
- package/table/header-cell/styles.scoped.css +93 -93
- package/table/header-cell/styles.selectors.js +24 -24
- package/table/resizer/styles.css.js +6 -6
- package/table/resizer/styles.scoped.css +27 -27
- package/table/resizer/styles.selectors.js +6 -6
- package/table/selection-control/styles.css.js +3 -3
- package/table/selection-control/styles.scoped.css +4 -4
- package/table/selection-control/styles.selectors.js +3 -3
- package/table/styles.css.js +33 -33
- package/table/styles.scoped.css +85 -85
- package/table/styles.selectors.js +33 -33
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +86 -86
- package/tabs/styles.selectors.js +21 -21
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +24 -24
- package/tag-editor/styles.selectors.js +3 -3
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +125 -125
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +10 -10
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +4 -4
- package/textarea/styles.scoped.css +40 -40
- package/textarea/styles.selectors.js +4 -4
- package/tiles/styles.css.js +28 -28
- package/tiles/styles.scoped.css +124 -124
- package/tiles/styles.selectors.js +28 -28
- package/toggle/styles.css.js +8 -8
- package/toggle/styles.scoped.css +27 -27
- package/toggle/styles.selectors.js +8 -8
- package/token-group/styles.css.js +7 -7
- package/token-group/styles.scoped.css +42 -42
- package/token-group/styles.selectors.js +7 -7
- package/top-navigation/1.0-beta/styles.css.js +25 -25
- package/top-navigation/1.0-beta/styles.scoped.css +84 -84
- package/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +148 -148
- package/top-navigation/styles.selectors.js +47 -47
- package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +43 -43
- package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
- package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/tutorial-panel/components/tutorial-list/styles.scoped.css +50 -50
- package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/tutorial-panel/styles.css.js +1 -1
- package/tutorial-panel/styles.scoped.css +6 -6
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +32 -32
- package/wizard/styles.scoped.css +127 -127
- package/wizard/styles.selectors.js +32 -32
package/cards/interfaces.d.ts
CHANGED
|
@@ -161,6 +161,21 @@ export interface CardsProps<T = any> extends BaseComponentProps {
|
|
|
161
161
|
* need to position the sticky header below other fixed position elements on the page.
|
|
162
162
|
*/
|
|
163
163
|
stickyHeaderVerticalOffset?: number;
|
|
164
|
+
/**
|
|
165
|
+
* Use this property to inform screen readers how many cards there are.
|
|
166
|
+
* It specifies the total number of cards.
|
|
167
|
+
* If there is an unknown total number of cards, leave this property undefined. */
|
|
168
|
+
totalItemsCount?: number;
|
|
169
|
+
/**
|
|
170
|
+
* Use this property to inform screen readers which range of cards is currently displayed.
|
|
171
|
+
* It specifies the index (1-based) of the first card.
|
|
172
|
+
* If the cards list has no pagination, leave this property undefined. */
|
|
173
|
+
firstIndex?: number;
|
|
174
|
+
/**
|
|
175
|
+
* Use this function to announce page changes to screen reader users.
|
|
176
|
+
* Requires the properties firstIndex and totalItemsCount to be set correctly.
|
|
177
|
+
*/
|
|
178
|
+
renderAriaLive?: (data: CardsProps.LiveAnnouncement) => string;
|
|
164
179
|
/**
|
|
165
180
|
* Specify a cards variant with one of the following:
|
|
166
181
|
* * `container` - Use this variant to have the cards displayed as a container.
|
|
@@ -199,6 +214,11 @@ export declare namespace CardsProps {
|
|
|
199
214
|
selectionGroupLabel: string;
|
|
200
215
|
cardsLabel?: string;
|
|
201
216
|
}
|
|
217
|
+
interface LiveAnnouncement {
|
|
218
|
+
totalItemsCount?: number;
|
|
219
|
+
firstIndex: number;
|
|
220
|
+
lastIndex: number;
|
|
221
|
+
}
|
|
202
222
|
interface Ref {
|
|
203
223
|
/**
|
|
204
224
|
* When the sticky header is enabled, calling this function scrolls cards's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["cards/interfaces.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAY/D,MAAM,WAAW,mBAAmB;IAClC,CAAC,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG;QAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;KAAE,GAAG,GAAG,CAAC,OAAO,CAAC;CAC9E;AAED,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,kBAAkB;IAC7D;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE7B;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE9B;;;;OAIG;IACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAExB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;;;;;;OAcG;IACH,cAAc,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAC7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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B;IAED,KAAY,cAAc,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IAErD,UAAiB,UAAU,CAAC,CAAC;QAC3B,kBAAkB,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;QAC3E,mBAAmB,EAAE,MAAM,CAAC;QAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;IAED,UAAiB,gBAAgB;QAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;KACnB;IAED,UAAiB,GAAG;QAClB;;;WAGG;QACH,WAAW,IAAI,IAAI,CAAC;KACrB;CACF"}
|
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=\"heading-m\"` 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 */\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 * 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 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"]}
|
|
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=\"heading-m\"` 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 */\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/cards/styles.css.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"card-inner": "awsui_card-
|
|
5
|
-
"root": "
|
|
6
|
-
"header-variant-full-page": "awsui_header-variant-full-
|
|
7
|
-
"header-refresh": "awsui_header-
|
|
8
|
-
"list": "
|
|
9
|
-
"list-grid-1": "awsui_list-grid-
|
|
10
|
-
"card": "
|
|
11
|
-
"list-grid-2": "awsui_list-grid-
|
|
12
|
-
"list-grid-3": "awsui_list-grid-
|
|
13
|
-
"list-grid-4": "awsui_list-grid-
|
|
14
|
-
"list-grid-5": "awsui_list-grid-
|
|
15
|
-
"list-grid-6": "awsui_list-grid-
|
|
16
|
-
"list-grid-7": "awsui_list-grid-
|
|
17
|
-
"list-grid-8": "awsui_list-grid-
|
|
18
|
-
"list-grid-9": "awsui_list-grid-
|
|
19
|
-
"list-grid-10": "awsui_list-grid-
|
|
20
|
-
"list-grid-11": "awsui_list-grid-
|
|
21
|
-
"list-grid-12": "awsui_list-grid-
|
|
22
|
-
"list-grid-13": "awsui_list-grid-
|
|
23
|
-
"list-grid-14": "awsui_list-grid-
|
|
24
|
-
"list-grid-15": "awsui_list-grid-
|
|
25
|
-
"list-grid-16": "awsui_list-grid-
|
|
26
|
-
"list-grid-17": "awsui_list-grid-
|
|
27
|
-
"list-grid-18": "awsui_list-grid-
|
|
28
|
-
"list-grid-19": "awsui_list-grid-
|
|
29
|
-
"list-grid-20": "awsui_list-grid-
|
|
30
|
-
"selection-control": "awsui_selection-
|
|
31
|
-
"loading": "
|
|
32
|
-
"empty": "
|
|
33
|
-
"has-header": "awsui_has-
|
|
34
|
-
"card-header": "awsui_card-
|
|
35
|
-
"card-header-inner": "awsui_card-header-
|
|
36
|
-
"card-selectable": "awsui_card-
|
|
37
|
-
"card-selected": "awsui_card-
|
|
38
|
-
"section": "
|
|
39
|
-
"section-header": "awsui_section-
|
|
40
|
-
"section-content": "awsui_section-
|
|
4
|
+
"card-inner": "awsui_card-inner_p8a6i_e5c72_97",
|
|
5
|
+
"root": "awsui_root_p8a6i_e5c72_133",
|
|
6
|
+
"header-variant-full-page": "awsui_header-variant-full-page_p8a6i_e5c72_153",
|
|
7
|
+
"header-refresh": "awsui_header-refresh_p8a6i_e5c72_153",
|
|
8
|
+
"list": "awsui_list_p8a6i_e5c72_196",
|
|
9
|
+
"list-grid-1": "awsui_list-grid-1_p8a6i_e5c72_204",
|
|
10
|
+
"card": "awsui_card_p8a6i_e5c72_97",
|
|
11
|
+
"list-grid-2": "awsui_list-grid-2_p8a6i_e5c72_207",
|
|
12
|
+
"list-grid-3": "awsui_list-grid-3_p8a6i_e5c72_210",
|
|
13
|
+
"list-grid-4": "awsui_list-grid-4_p8a6i_e5c72_213",
|
|
14
|
+
"list-grid-5": "awsui_list-grid-5_p8a6i_e5c72_216",
|
|
15
|
+
"list-grid-6": "awsui_list-grid-6_p8a6i_e5c72_219",
|
|
16
|
+
"list-grid-7": "awsui_list-grid-7_p8a6i_e5c72_222",
|
|
17
|
+
"list-grid-8": "awsui_list-grid-8_p8a6i_e5c72_225",
|
|
18
|
+
"list-grid-9": "awsui_list-grid-9_p8a6i_e5c72_228",
|
|
19
|
+
"list-grid-10": "awsui_list-grid-10_p8a6i_e5c72_231",
|
|
20
|
+
"list-grid-11": "awsui_list-grid-11_p8a6i_e5c72_234",
|
|
21
|
+
"list-grid-12": "awsui_list-grid-12_p8a6i_e5c72_237",
|
|
22
|
+
"list-grid-13": "awsui_list-grid-13_p8a6i_e5c72_240",
|
|
23
|
+
"list-grid-14": "awsui_list-grid-14_p8a6i_e5c72_243",
|
|
24
|
+
"list-grid-15": "awsui_list-grid-15_p8a6i_e5c72_246",
|
|
25
|
+
"list-grid-16": "awsui_list-grid-16_p8a6i_e5c72_249",
|
|
26
|
+
"list-grid-17": "awsui_list-grid-17_p8a6i_e5c72_252",
|
|
27
|
+
"list-grid-18": "awsui_list-grid-18_p8a6i_e5c72_255",
|
|
28
|
+
"list-grid-19": "awsui_list-grid-19_p8a6i_e5c72_258",
|
|
29
|
+
"list-grid-20": "awsui_list-grid-20_p8a6i_e5c72_261",
|
|
30
|
+
"selection-control": "awsui_selection-control_p8a6i_e5c72_265",
|
|
31
|
+
"loading": "awsui_loading_p8a6i_e5c72_274",
|
|
32
|
+
"empty": "awsui_empty_p8a6i_e5c72_275",
|
|
33
|
+
"has-header": "awsui_has-header_p8a6i_e5c72_282",
|
|
34
|
+
"card-header": "awsui_card-header_p8a6i_e5c72_343",
|
|
35
|
+
"card-header-inner": "awsui_card-header-inner_p8a6i_e5c72_351",
|
|
36
|
+
"card-selectable": "awsui_card-selectable_p8a6i_e5c72_355",
|
|
37
|
+
"card-selected": "awsui_card-selected_p8a6i_e5c72_358",
|
|
38
|
+
"section": "awsui_section_p8a6i_e5c72_365",
|
|
39
|
+
"section-header": "awsui_section-header_p8a6i_e5c72_371",
|
|
40
|
+
"section-content": "awsui_section-content_p8a6i_e5c72_377"
|
|
41
41
|
};
|
|
42
42
|
|
package/cards/styles.scoped.css
CHANGED
|
@@ -94,34 +94,34 @@ 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
|
-
.awsui_card-
|
|
97
|
+
.awsui_card-inner_p8a6i_e5c72_97:not(#\9) {
|
|
98
98
|
transition-property: background-color;
|
|
99
|
-
transition-duration: var(--motion-duration-transition-show-paced-
|
|
100
|
-
transition-timing-function: var(--motion-easing-transition-show-paced-
|
|
99
|
+
transition-duration: var(--motion-duration-transition-show-paced-qcfnau, 180ms);
|
|
100
|
+
transition-timing-function: var(--motion-easing-transition-show-paced-qe3gc9, ease-out);
|
|
101
101
|
}
|
|
102
102
|
@media (prefers-reduced-motion: reduce) {
|
|
103
|
-
.awsui_card-
|
|
103
|
+
.awsui_card-inner_p8a6i_e5c72_97:not(#\9) {
|
|
104
104
|
animation: none;
|
|
105
105
|
transition: none;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
.awsui-motion-disabled .awsui_card-
|
|
108
|
+
.awsui-motion-disabled .awsui_card-inner_p8a6i_e5c72_97:not(#\9), .awsui-mode-entering .awsui_card-inner_p8a6i_e5c72_97:not(#\9) {
|
|
109
109
|
animation: none;
|
|
110
110
|
transition: none;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.awsui_card-
|
|
113
|
+
.awsui_card-inner_p8a6i_e5c72_97:not(#\9)::before {
|
|
114
114
|
transition-property: border-top-color, border-right-color, border-bottom-color, border-left-color;
|
|
115
|
-
transition-duration: var(--motion-duration-transition-show-paced-
|
|
116
|
-
transition-timing-function: var(--motion-easing-transition-show-paced-
|
|
115
|
+
transition-duration: var(--motion-duration-transition-show-paced-qcfnau, 180ms);
|
|
116
|
+
transition-timing-function: var(--motion-easing-transition-show-paced-qe3gc9, ease-out);
|
|
117
117
|
}
|
|
118
118
|
@media (prefers-reduced-motion: reduce) {
|
|
119
|
-
.awsui_card-
|
|
119
|
+
.awsui_card-inner_p8a6i_e5c72_97:not(#\9)::before {
|
|
120
120
|
animation: none;
|
|
121
121
|
transition: none;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
.awsui-motion-disabled .awsui_card-
|
|
124
|
+
.awsui-motion-disabled .awsui_card-inner_p8a6i_e5c72_97:not(#\9)::before, .awsui-mode-entering .awsui_card-inner_p8a6i_e5c72_97:not(#\9)::before {
|
|
125
125
|
animation: none;
|
|
126
126
|
transition: none;
|
|
127
127
|
}
|
|
@@ -130,7 +130,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
130
130
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
131
131
|
SPDX-License-Identifier: Apache-2.0
|
|
132
132
|
*/
|
|
133
|
-
.
|
|
133
|
+
.awsui_root_p8a6i_e5c72_133:not(#\9) {
|
|
134
134
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
135
135
|
border-collapse: separate;
|
|
136
136
|
border-spacing: 0;
|
|
@@ -160,31 +160,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
160
160
|
widows: 2;
|
|
161
161
|
word-spacing: normal;
|
|
162
162
|
box-sizing: border-box;
|
|
163
|
-
font-size: var(--font-body-m-size-
|
|
164
|
-
line-height: var(--font-body-m-line-height-
|
|
165
|
-
color: var(--color-text-body-default-
|
|
163
|
+
font-size: var(--font-body-m-size-cqtcam, 14px);
|
|
164
|
+
line-height: var(--font-body-m-line-height-83azrc, 22px);
|
|
165
|
+
color: var(--color-text-body-default-01bwmw, #000716);
|
|
166
166
|
font-weight: 400;
|
|
167
|
-
font-family: var(--font-family-base-
|
|
167
|
+
font-family: var(--font-family-base-kd6hgy, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
168
168
|
-webkit-font-smoothing: auto;
|
|
169
169
|
-moz-osx-font-smoothing: auto;
|
|
170
|
-
font-size: var(--font-body-m-size-
|
|
171
|
-
line-height: var(--font-body-m-line-height-
|
|
172
|
-
color: var(--color-text-body-default-
|
|
170
|
+
font-size: var(--font-body-m-size-cqtcam, 14px);
|
|
171
|
+
line-height: var(--font-body-m-line-height-83azrc, 22px);
|
|
172
|
+
color: var(--color-text-body-default-01bwmw, #000716);
|
|
173
173
|
font-weight: 400;
|
|
174
|
-
font-family: var(--font-family-base-
|
|
174
|
+
font-family: var(--font-family-base-kd6hgy, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
175
175
|
-webkit-font-smoothing: auto;
|
|
176
176
|
-moz-osx-font-smoothing: auto;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.awsui_header-variant-full-
|
|
180
|
-
border-radius: var(--border-radius-container-
|
|
179
|
+
.awsui_header-variant-full-page_p8a6i_e5c72_153.awsui_header-refresh_p8a6i_e5c72_153:not(#\9) {
|
|
180
|
+
border-radius: var(--border-radius-container-b3z48i, 16px);
|
|
181
181
|
box-sizing: border-box;
|
|
182
|
-
padding-top: var(--space-container-header-vertical-
|
|
182
|
+
padding-top: var(--space-container-header-vertical-gho8eg, 12px);
|
|
183
183
|
padding-left: 0;
|
|
184
184
|
padding-right: 0;
|
|
185
|
-
padding-bottom: calc(var(--space-container-header-vertical-
|
|
185
|
+
padding-bottom: calc(var(--space-container-header-vertical-gho8eg, 12px) + var(--space-scaled-xxs-ugy2pw, 4px));
|
|
186
186
|
}
|
|
187
|
-
.awsui_header-variant-full-
|
|
187
|
+
.awsui_header-variant-full-page_p8a6i_e5c72_153.awsui_header-refresh_p8a6i_e5c72_153:not(#\9)::before {
|
|
188
188
|
content: "";
|
|
189
189
|
position: absolute;
|
|
190
190
|
left: 0px;
|
|
@@ -195,11 +195,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
195
195
|
background: transparent;
|
|
196
196
|
box-sizing: border-box;
|
|
197
197
|
border-color: transparent;
|
|
198
|
-
border-top: var(--border-container-top-width-
|
|
199
|
-
border-radius: var(--border-radius-container-
|
|
198
|
+
border-top: var(--border-container-top-width-nb80xs, 0px) solid var(--color-border-container-top-4rl1tb, transparent);
|
|
199
|
+
border-radius: var(--border-radius-container-b3z48i, 16px);
|
|
200
200
|
z-index: 1;
|
|
201
201
|
}
|
|
202
|
-
.awsui_header-variant-full-
|
|
202
|
+
.awsui_header-variant-full-page_p8a6i_e5c72_153.awsui_header-refresh_p8a6i_e5c72_153:not(#\9)::after {
|
|
203
203
|
content: "";
|
|
204
204
|
position: absolute;
|
|
205
205
|
left: 0px;
|
|
@@ -209,107 +209,107 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
209
209
|
pointer-events: none;
|
|
210
210
|
background: transparent;
|
|
211
211
|
box-sizing: border-box;
|
|
212
|
-
box-shadow: var(--shadow-container-
|
|
213
|
-
border-radius: var(--border-radius-container-
|
|
212
|
+
box-shadow: var(--shadow-container-pkcyo6, 0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12));
|
|
213
|
+
border-radius: var(--border-radius-container-b3z48i, 16px);
|
|
214
214
|
mix-blend-mode: multiply;
|
|
215
215
|
}
|
|
216
216
|
@media screen and (-ms-high-contrast: active) {
|
|
217
|
-
.awsui_header-variant-full-
|
|
218
|
-
border: var(--border-field-width-
|
|
217
|
+
.awsui_header-variant-full-page_p8a6i_e5c72_153.awsui_header-refresh_p8a6i_e5c72_153:not(#\9) {
|
|
218
|
+
border: var(--border-field-width-egrqih, 2px) solid var(--color-border-container-top-4rl1tb, transparent);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.
|
|
222
|
+
.awsui_list_p8a6i_e5c72_196:not(#\9) {
|
|
223
223
|
display: flex;
|
|
224
224
|
flex-wrap: wrap;
|
|
225
225
|
box-sizing: border-box;
|
|
226
226
|
padding: 0;
|
|
227
227
|
list-style: none;
|
|
228
|
-
margin: 0 0 0 calc(var(--space-grid-gutter-
|
|
228
|
+
margin: 0 0 0 calc(var(--space-grid-gutter-pfst95, 20px) * -1);
|
|
229
229
|
}
|
|
230
|
-
.
|
|
230
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-1_p8a6i_e5c72_204 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
231
231
|
width: 100%;
|
|
232
232
|
}
|
|
233
|
-
.
|
|
233
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-2_p8a6i_e5c72_207 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
234
234
|
width: 50%;
|
|
235
235
|
}
|
|
236
|
-
.
|
|
236
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-3_p8a6i_e5c72_210 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
237
237
|
width: 33.3333333333%;
|
|
238
238
|
}
|
|
239
|
-
.
|
|
239
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-4_p8a6i_e5c72_213 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
240
240
|
width: 25%;
|
|
241
241
|
}
|
|
242
|
-
.
|
|
242
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-5_p8a6i_e5c72_216 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
243
243
|
width: 20%;
|
|
244
244
|
}
|
|
245
|
-
.
|
|
245
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-6_p8a6i_e5c72_219 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
246
246
|
width: 16.6666666667%;
|
|
247
247
|
}
|
|
248
|
-
.
|
|
248
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-7_p8a6i_e5c72_222 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
249
249
|
width: 14.2857142857%;
|
|
250
250
|
}
|
|
251
|
-
.
|
|
251
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-8_p8a6i_e5c72_225 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
252
252
|
width: 12.5%;
|
|
253
253
|
}
|
|
254
|
-
.
|
|
254
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-9_p8a6i_e5c72_228 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
255
255
|
width: 11.1111111111%;
|
|
256
256
|
}
|
|
257
|
-
.
|
|
257
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-10_p8a6i_e5c72_231 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
258
258
|
width: 10%;
|
|
259
259
|
}
|
|
260
|
-
.
|
|
260
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-11_p8a6i_e5c72_234 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
261
261
|
width: 9.0909090909%;
|
|
262
262
|
}
|
|
263
|
-
.
|
|
263
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-12_p8a6i_e5c72_237 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
264
264
|
width: 8.3333333333%;
|
|
265
265
|
}
|
|
266
|
-
.
|
|
266
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-13_p8a6i_e5c72_240 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
267
267
|
width: 7.6923076923%;
|
|
268
268
|
}
|
|
269
|
-
.
|
|
269
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-14_p8a6i_e5c72_243 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
270
270
|
width: 7.1428571429%;
|
|
271
271
|
}
|
|
272
|
-
.
|
|
272
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-15_p8a6i_e5c72_246 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
273
273
|
width: 6.6666666667%;
|
|
274
274
|
}
|
|
275
|
-
.
|
|
275
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-16_p8a6i_e5c72_249 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
276
276
|
width: 6.25%;
|
|
277
277
|
}
|
|
278
|
-
.
|
|
278
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-17_p8a6i_e5c72_252 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
279
279
|
width: 5.8823529412%;
|
|
280
280
|
}
|
|
281
|
-
.
|
|
281
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-18_p8a6i_e5c72_255 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
282
282
|
width: 5.5555555556%;
|
|
283
283
|
}
|
|
284
|
-
.
|
|
284
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-19_p8a6i_e5c72_258 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
285
285
|
width: 5.2631578947%;
|
|
286
286
|
}
|
|
287
|
-
.
|
|
287
|
+
.awsui_list_p8a6i_e5c72_196.awsui_list-grid-20_p8a6i_e5c72_261 > .awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
288
288
|
width: 5%;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
.awsui_selection-
|
|
291
|
+
.awsui_selection-control_p8a6i_e5c72_265:not(#\9) {
|
|
292
292
|
position: absolute;
|
|
293
293
|
box-sizing: border-box;
|
|
294
|
-
width: calc(var(--size-control-
|
|
294
|
+
width: calc(var(--size-control-ql70lu, 16px) + (2 * var(--space-card-horizontal-ai1anx, 20px)));
|
|
295
295
|
top: 0;
|
|
296
296
|
right: 0;
|
|
297
|
-
padding: var(--space-scaled-l-
|
|
297
|
+
padding: var(--space-scaled-l-x5pubp, 20px) var(--space-card-horizontal-ai1anx, 20px);
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
-
.
|
|
301
|
-
.
|
|
300
|
+
.awsui_loading_p8a6i_e5c72_274:not(#\9),
|
|
301
|
+
.awsui_empty_p8a6i_e5c72_275:not(#\9) {
|
|
302
302
|
overflow: hidden;
|
|
303
303
|
text-align: center;
|
|
304
|
-
color: var(--color-text-empty-
|
|
305
|
-
margin-bottom: var(--space-scaled-l-
|
|
304
|
+
color: var(--color-text-empty-qnnj2s, #5f6b7a);
|
|
305
|
+
margin-bottom: var(--space-scaled-l-x5pubp, 20px);
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
.awsui_has-
|
|
309
|
-
margin-top: var(--space-grid-gutter-
|
|
308
|
+
.awsui_has-header_p8a6i_e5c72_282:not(#\9) {
|
|
309
|
+
margin-top: var(--space-grid-gutter-pfst95, 20px);
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
.
|
|
312
|
+
.awsui_card_p8a6i_e5c72_97:not(#\9) {
|
|
313
313
|
display: flex;
|
|
314
314
|
overflow-wrap: break-word;
|
|
315
315
|
word-wrap: break-word;
|
|
@@ -317,22 +317,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
317
317
|
padding: 0;
|
|
318
318
|
list-style: none;
|
|
319
319
|
}
|
|
320
|
-
.awsui_card-
|
|
320
|
+
.awsui_card-inner_p8a6i_e5c72_97:not(#\9) {
|
|
321
321
|
position: relative;
|
|
322
|
-
background-color: var(--color-background-container-content-
|
|
323
|
-
margin: 0 0 var(--space-grid-gutter-
|
|
324
|
-
padding: var(--space-scaled-l-
|
|
325
|
-
border-radius: var(--border-radius-container-
|
|
322
|
+
background-color: var(--color-background-container-content-em2lah, #ffffff);
|
|
323
|
+
margin: 0 0 var(--space-grid-gutter-pfst95, 20px) var(--space-grid-gutter-pfst95, 20px);
|
|
324
|
+
padding: var(--space-scaled-l-x5pubp, 20px) var(--space-card-horizontal-ai1anx, 20px) var(--space-scaled-l-x5pubp, 20px);
|
|
325
|
+
border-radius: var(--border-radius-container-b3z48i, 16px);
|
|
326
326
|
box-sizing: border-box;
|
|
327
327
|
width: 100%;
|
|
328
328
|
min-width: 0;
|
|
329
329
|
}
|
|
330
330
|
@media screen and (-ms-high-contrast: active) {
|
|
331
|
-
.awsui_card-
|
|
332
|
-
padding: calc(var(--space-scaled-l-
|
|
331
|
+
.awsui_card-inner_p8a6i_e5c72_97:not(#\9) {
|
|
332
|
+
padding: calc(var(--space-scaled-l-x5pubp, 20px) - var(--border-item-width-4pi0dw, 2px)) calc(var(--space-card-horizontal-ai1anx, 20px) - var(--border-item-width-4pi0dw, 2px)) calc(var(--space-scaled-l-x5pubp, 20px) - var(--border-item-width-4pi0dw, 2px));
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
.awsui_card-
|
|
335
|
+
.awsui_card-inner_p8a6i_e5c72_97:not(#\9)::before {
|
|
336
336
|
content: "";
|
|
337
337
|
position: absolute;
|
|
338
338
|
left: 0px;
|
|
@@ -343,11 +343,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
343
343
|
background: transparent;
|
|
344
344
|
box-sizing: border-box;
|
|
345
345
|
border-color: transparent;
|
|
346
|
-
border-top: var(--border-container-top-width-
|
|
347
|
-
border-radius: var(--border-radius-container-
|
|
346
|
+
border-top: var(--border-container-top-width-nb80xs, 0px) solid var(--color-border-container-top-4rl1tb, transparent);
|
|
347
|
+
border-radius: var(--border-radius-container-b3z48i, 16px);
|
|
348
348
|
z-index: 1;
|
|
349
349
|
}
|
|
350
|
-
.awsui_card-
|
|
350
|
+
.awsui_card-inner_p8a6i_e5c72_97:not(#\9)::after {
|
|
351
351
|
content: "";
|
|
352
352
|
position: absolute;
|
|
353
353
|
left: 0px;
|
|
@@ -357,53 +357,53 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
357
357
|
pointer-events: none;
|
|
358
358
|
background: transparent;
|
|
359
359
|
box-sizing: border-box;
|
|
360
|
-
box-shadow: var(--shadow-container-
|
|
361
|
-
border-radius: var(--border-radius-container-
|
|
360
|
+
box-shadow: var(--shadow-container-pkcyo6, 0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12));
|
|
361
|
+
border-radius: var(--border-radius-container-b3z48i, 16px);
|
|
362
362
|
mix-blend-mode: multiply;
|
|
363
363
|
}
|
|
364
364
|
@media screen and (-ms-high-contrast: active) {
|
|
365
|
-
.awsui_card-
|
|
366
|
-
border: var(--border-field-width-
|
|
365
|
+
.awsui_card-inner_p8a6i_e5c72_97:not(#\9) {
|
|
366
|
+
border: var(--border-field-width-egrqih, 2px) solid var(--color-border-container-top-4rl1tb, transparent);
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
.awsui_card-
|
|
370
|
-
font-size: var(--font-heading-m-size-
|
|
371
|
-
line-height: var(--font-heading-m-line-height-
|
|
372
|
-
letter-spacing: var(--font-heading-m-letter-spacing-
|
|
373
|
-
font-weight: var(--font-heading-m-weight-
|
|
374
|
-
-webkit-font-smoothing: var(--font-smoothing-webkit-
|
|
375
|
-
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-
|
|
369
|
+
.awsui_card-header_p8a6i_e5c72_343:not(#\9) {
|
|
370
|
+
font-size: var(--font-heading-m-size-sbbndt, 20px);
|
|
371
|
+
line-height: var(--font-heading-m-line-height-25bzvw, 24px);
|
|
372
|
+
letter-spacing: var(--font-heading-m-letter-spacing-afjv68, -0.01em);
|
|
373
|
+
font-weight: var(--font-heading-m-weight-9nrubn, 800);
|
|
374
|
+
-webkit-font-smoothing: var(--font-smoothing-webkit-imui5j, antialiased);
|
|
375
|
+
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-zc5t56, grayscale);
|
|
376
376
|
}
|
|
377
|
-
.awsui_card-header-
|
|
377
|
+
.awsui_card-header-inner_p8a6i_e5c72_351:not(#\9) {
|
|
378
378
|
width: 100%;
|
|
379
379
|
display: inline-block;
|
|
380
380
|
}
|
|
381
|
-
.awsui_card-
|
|
381
|
+
.awsui_card-selectable_p8a6i_e5c72_355 > .awsui_card-inner_p8a6i_e5c72_97 > .awsui_card-header_p8a6i_e5c72_343:not(#\9) {
|
|
382
382
|
width: 90%;
|
|
383
383
|
}
|
|
384
|
-
.awsui_card-
|
|
385
|
-
background-color: var(--color-background-item-selected-
|
|
384
|
+
.awsui_card-selected_p8a6i_e5c72_358 > .awsui_card-inner_p8a6i_e5c72_97:not(#\9) {
|
|
385
|
+
background-color: var(--color-background-item-selected-fjyxf3, #f2f8fd);
|
|
386
386
|
}
|
|
387
|
-
.awsui_card-
|
|
388
|
-
border: var(--border-item-width-
|
|
387
|
+
.awsui_card-selected_p8a6i_e5c72_358 > .awsui_card-inner_p8a6i_e5c72_97:not(#\9)::before {
|
|
388
|
+
border: var(--border-item-width-4pi0dw, 2px) solid var(--color-border-item-selected-474jz2, #0972d3);
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
.
|
|
391
|
+
.awsui_section_p8a6i_e5c72_365:not(#\9) {
|
|
392
392
|
display: inline-block;
|
|
393
393
|
box-sizing: border-box;
|
|
394
|
-
padding: var(--space-xs-
|
|
394
|
+
padding: var(--space-xs-inub5w, 8px) 0 var(--space-scaled-xs-u0e7ft, 8px) 0;
|
|
395
395
|
vertical-align: top;
|
|
396
396
|
}
|
|
397
|
-
.awsui_section-
|
|
398
|
-
font-size: var(--font-body-m-size-
|
|
399
|
-
line-height: var(--font-body-m-line-height-
|
|
400
|
-
font-weight: var(--font-display-label-weight-
|
|
401
|
-
color: var(--color-text-label-
|
|
397
|
+
.awsui_section-header_p8a6i_e5c72_371:not(#\9) {
|
|
398
|
+
font-size: var(--font-body-m-size-cqtcam, 14px);
|
|
399
|
+
line-height: var(--font-body-m-line-height-83azrc, 22px);
|
|
400
|
+
font-weight: var(--font-display-label-weight-vmf03j, 700);
|
|
401
|
+
color: var(--color-text-label-flava6, #000716);
|
|
402
402
|
}
|
|
403
|
-
.awsui_section-
|
|
403
|
+
.awsui_section-content_p8a6i_e5c72_377:not(#\9) {
|
|
404
404
|
/* used in test-utils */
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
.
|
|
408
|
-
padding: var(--space-xs-
|
|
407
|
+
.awsui_section_p8a6i_e5c72_365:not(#\9):last-child {
|
|
408
|
+
padding: var(--space-xs-inub5w, 8px) 0 0 0;
|
|
409
409
|
}
|