@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.
Files changed (351) hide show
  1. package/alert/styles.css.js +19 -19
  2. package/alert/styles.scoped.css +64 -64
  3. package/alert/styles.selectors.js +19 -19
  4. package/annotation-context/annotation/styles.css.js +24 -24
  5. package/annotation-context/annotation/styles.scoped.css +46 -46
  6. package/annotation-context/annotation/styles.selectors.js +24 -24
  7. package/app-layout/content-wrapper/styles.css.js +3 -3
  8. package/app-layout/content-wrapper/styles.scoped.css +10 -10
  9. package/app-layout/content-wrapper/styles.selectors.js +3 -3
  10. package/app-layout/drawer/styles.css.js +10 -10
  11. package/app-layout/drawer/styles.scoped.css +34 -32
  12. package/app-layout/drawer/styles.selectors.js +10 -10
  13. package/app-layout/index.js +1 -1
  14. package/app-layout/index.js.map +1 -1
  15. package/app-layout/interfaces.d.ts +2 -0
  16. package/app-layout/interfaces.d.ts.map +1 -1
  17. package/app-layout/interfaces.js.map +1 -1
  18. package/app-layout/mobile-toolbar/styles.css.js +6 -6
  19. package/app-layout/mobile-toolbar/styles.scoped.css +20 -20
  20. package/app-layout/mobile-toolbar/styles.selectors.js +6 -6
  21. package/app-layout/notifications/styles.css.js +3 -3
  22. package/app-layout/notifications/styles.scoped.css +7 -7
  23. package/app-layout/notifications/styles.selectors.js +3 -3
  24. package/app-layout/split-panel-drawer/index.d.ts.map +1 -1
  25. package/app-layout/split-panel-drawer/index.js +1 -1
  26. package/app-layout/split-panel-drawer/index.js.map +1 -1
  27. package/app-layout/styles.css.js +13 -13
  28. package/app-layout/styles.scoped.css +22 -22
  29. package/app-layout/styles.selectors.js +13 -13
  30. package/app-layout/toggles/styles.css.js +1 -1
  31. package/app-layout/toggles/styles.scoped.css +3 -3
  32. package/app-layout/toggles/styles.selectors.js +1 -1
  33. package/app-layout/visual-refresh/styles.css.js +72 -72
  34. package/app-layout/visual-refresh/styles.scoped.css +285 -285
  35. package/app-layout/visual-refresh/styles.selectors.js +72 -72
  36. package/app-layout/visual-refresh/tools.d.ts.map +1 -1
  37. package/app-layout/visual-refresh/tools.js +3 -3
  38. package/app-layout/visual-refresh/tools.js.map +1 -1
  39. package/area-chart/styles.css.js +13 -13
  40. package/area-chart/styles.scoped.css +29 -29
  41. package/area-chart/styles.selectors.js +13 -13
  42. package/attribute-editor/styles.css.js +14 -14
  43. package/attribute-editor/styles.scoped.css +48 -48
  44. package/attribute-editor/styles.selectors.js +14 -14
  45. package/badge/styles.css.js +5 -5
  46. package/badge/styles.scoped.css +20 -20
  47. package/badge/styles.selectors.js +5 -5
  48. package/box/styles.css.js +189 -189
  49. package/box/styles.scoped.css +418 -418
  50. package/box/styles.selectors.js +189 -189
  51. package/breadcrumb-group/item/styles.css.js +9 -9
  52. package/breadcrumb-group/item/styles.scoped.css +28 -28
  53. package/breadcrumb-group/item/styles.selectors.js +9 -9
  54. package/breadcrumb-group/styles.css.js +7 -7
  55. package/breadcrumb-group/styles.scoped.css +22 -22
  56. package/breadcrumb-group/styles.selectors.js +7 -7
  57. package/button/styles.css.js +18 -18
  58. package/button/styles.scoped.css +411 -411
  59. package/button/styles.selectors.js +18 -18
  60. package/button-dropdown/category-elements/styles.css.js +13 -13
  61. package/button-dropdown/category-elements/styles.scoped.css +50 -50
  62. package/button-dropdown/category-elements/styles.selectors.js +13 -13
  63. package/button-dropdown/item-element/styles.css.js +14 -14
  64. package/button-dropdown/item-element/styles.scoped.css +42 -42
  65. package/button-dropdown/item-element/styles.selectors.js +14 -14
  66. package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
  67. package/button-dropdown/mobile-expandable-group/styles.scoped.css +10 -10
  68. package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
  69. package/button-dropdown/styles.css.js +8 -8
  70. package/button-dropdown/styles.scoped.css +20 -20
  71. package/button-dropdown/styles.selectors.js +8 -8
  72. package/calendar/styles.css.js +18 -18
  73. package/calendar/styles.scoped.css +89 -89
  74. package/calendar/styles.selectors.js +18 -18
  75. package/cards/index.d.ts.map +1 -1
  76. package/cards/index.js +4 -2
  77. package/cards/index.js.map +1 -1
  78. package/cards/interfaces.d.ts +20 -0
  79. package/cards/interfaces.d.ts.map +1 -1
  80. package/cards/interfaces.js.map +1 -1
  81. package/cards/styles.css.js +37 -37
  82. package/cards/styles.scoped.css +101 -101
  83. package/cards/styles.selectors.js +37 -37
  84. package/checkbox/styles.css.js +3 -3
  85. package/checkbox/styles.scoped.css +16 -16
  86. package/checkbox/styles.selectors.js +3 -3
  87. package/code-editor/resizable-box/styles.css.js +3 -3
  88. package/code-editor/resizable-box/styles.scoped.css +8 -8
  89. package/code-editor/resizable-box/styles.selectors.js +3 -3
  90. package/code-editor/styles.css.js +32 -32
  91. package/code-editor/styles.scoped.css +194 -194
  92. package/code-editor/styles.selectors.js +32 -32
  93. package/collection-preferences/content-display/styles.css.js +11 -11
  94. package/collection-preferences/content-display/styles.scoped.css +42 -42
  95. package/collection-preferences/content-display/styles.selectors.js +11 -11
  96. package/collection-preferences/styles.css.js +37 -37
  97. package/collection-preferences/styles.scoped.css +81 -81
  98. package/collection-preferences/styles.selectors.js +37 -37
  99. package/column-layout/styles.css.js +13 -13
  100. package/column-layout/styles.scoped.css +55 -55
  101. package/column-layout/styles.selectors.js +13 -13
  102. package/container/styles.css.js +18 -18
  103. package/container/styles.scoped.css +73 -73
  104. package/container/styles.selectors.js +18 -18
  105. package/content-layout/styles.css.js +7 -7
  106. package/content-layout/styles.scoped.css +18 -18
  107. package/content-layout/styles.selectors.js +7 -7
  108. package/date-picker/styles.css.js +7 -7
  109. package/date-picker/styles.scoped.css +16 -16
  110. package/date-picker/styles.selectors.js +7 -7
  111. package/date-range-picker/calendar/grids/styles.css.js +25 -25
  112. package/date-range-picker/calendar/grids/styles.scoped.css +95 -95
  113. package/date-range-picker/calendar/grids/styles.selectors.js +25 -25
  114. package/date-range-picker/relative-range/styles.css.js +9 -9
  115. package/date-range-picker/relative-range/styles.scoped.css +16 -16
  116. package/date-range-picker/relative-range/styles.selectors.js +9 -9
  117. package/date-range-picker/styles.css.js +38 -38
  118. package/date-range-picker/styles.scoped.css +76 -76
  119. package/date-range-picker/styles.selectors.js +38 -38
  120. package/expandable-section/styles.css.js +24 -24
  121. package/expandable-section/styles.scoped.css +87 -87
  122. package/expandable-section/styles.selectors.js +24 -24
  123. package/file-upload/dropzone/styles.css.js +2 -2
  124. package/file-upload/dropzone/styles.scoped.css +9 -9
  125. package/file-upload/dropzone/styles.selectors.js +2 -2
  126. package/file-upload/file-input/styles.css.js +4 -4
  127. package/file-upload/file-input/styles.scoped.css +14 -14
  128. package/file-upload/file-input/styles.selectors.js +4 -4
  129. package/file-upload/file-option/styles.css.js +7 -7
  130. package/file-upload/file-option/styles.scoped.css +10 -10
  131. package/file-upload/file-option/styles.selectors.js +7 -7
  132. package/file-upload/styles.css.js +2 -2
  133. package/file-upload/styles.scoped.css +4 -4
  134. package/file-upload/styles.selectors.js +2 -2
  135. package/flashbar/styles.css.js +45 -45
  136. package/flashbar/styles.scoped.css +246 -246
  137. package/flashbar/styles.selectors.js +45 -45
  138. package/form/styles.css.js +9 -9
  139. package/form/styles.scoped.css +20 -20
  140. package/form/styles.selectors.js +9 -9
  141. package/form-field/styles.css.js +19 -19
  142. package/form-field/styles.scoped.css +52 -52
  143. package/form-field/styles.selectors.js +19 -19
  144. package/grid/styles.css.js +53 -53
  145. package/grid/styles.scoped.css +60 -60
  146. package/grid/styles.selectors.js +53 -53
  147. package/header/styles.css.js +44 -44
  148. package/header/styles.scoped.css +116 -116
  149. package/header/styles.selectors.js +44 -44
  150. package/help-panel/styles.css.js +4 -4
  151. package/help-panel/styles.scoped.css +153 -153
  152. package/help-panel/styles.selectors.js +4 -4
  153. package/hotspot/styles.css.js +7 -7
  154. package/hotspot/styles.scoped.css +10 -10
  155. package/hotspot/styles.selectors.js +7 -7
  156. package/icon/styles.css.js +21 -21
  157. package/icon/styles.scoped.css +81 -81
  158. package/icon/styles.selectors.js +21 -21
  159. package/input/styles.css.js +12 -12
  160. package/input/styles.scoped.css +73 -73
  161. package/input/styles.selectors.js +12 -12
  162. package/internal/base-component/styles.scoped.css +1439 -1438
  163. package/internal/components/abstract-switch/styles.css.js +13 -13
  164. package/internal/components/abstract-switch/styles.scoped.css +26 -26
  165. package/internal/components/abstract-switch/styles.selectors.js +13 -13
  166. package/internal/components/button-trigger/styles.css.js +9 -9
  167. package/internal/components/button-trigger/styles.scoped.css +63 -63
  168. package/internal/components/button-trigger/styles.selectors.js +9 -9
  169. package/internal/components/cartesian-chart/styles.css.js +21 -21
  170. package/internal/components/cartesian-chart/styles.scoped.css +34 -34
  171. package/internal/components/cartesian-chart/styles.selectors.js +21 -21
  172. package/internal/components/chart-filter/styles.css.js +3 -3
  173. package/internal/components/chart-filter/styles.scoped.css +7 -7
  174. package/internal/components/chart-filter/styles.selectors.js +3 -3
  175. package/internal/components/chart-legend/styles.css.js +6 -6
  176. package/internal/components/chart-legend/styles.scoped.css +23 -23
  177. package/internal/components/chart-legend/styles.selectors.js +6 -6
  178. package/internal/components/chart-plot/styles.css.js +5 -5
  179. package/internal/components/chart-plot/styles.scoped.css +6 -6
  180. package/internal/components/chart-plot/styles.selectors.js +5 -5
  181. package/internal/components/chart-popover/styles.css.js +3 -3
  182. package/internal/components/chart-popover/styles.scoped.css +9 -9
  183. package/internal/components/chart-popover/styles.selectors.js +3 -3
  184. package/internal/components/chart-series-details/styles.css.js +5 -5
  185. package/internal/components/chart-series-details/styles.scoped.css +20 -20
  186. package/internal/components/chart-series-details/styles.selectors.js +5 -5
  187. package/internal/components/chart-series-marker/styles.css.js +5 -5
  188. package/internal/components/chart-series-marker/styles.scoped.css +14 -14
  189. package/internal/components/chart-series-marker/styles.selectors.js +5 -5
  190. package/internal/components/chart-status-container/styles.css.js +2 -2
  191. package/internal/components/chart-status-container/styles.scoped.css +3 -3
  192. package/internal/components/chart-status-container/styles.selectors.js +2 -2
  193. package/internal/components/checkbox-icon/styles.css.js +7 -7
  194. package/internal/components/checkbox-icon/styles.scoped.css +18 -18
  195. package/internal/components/checkbox-icon/styles.selectors.js +7 -7
  196. package/internal/components/dark-ribbon/styles.css.js +2 -2
  197. package/internal/components/dark-ribbon/styles.scoped.css +4 -4
  198. package/internal/components/dark-ribbon/styles.selectors.js +2 -2
  199. package/internal/components/dropdown/styles.css.js +20 -20
  200. package/internal/components/dropdown/styles.scoped.css +51 -51
  201. package/internal/components/dropdown/styles.selectors.js +20 -20
  202. package/internal/components/dropdown-footer/styles.css.js +3 -3
  203. package/internal/components/dropdown-footer/styles.scoped.css +9 -9
  204. package/internal/components/dropdown-footer/styles.selectors.js +3 -3
  205. package/internal/components/dropdown-status/styles.css.js +2 -2
  206. package/internal/components/dropdown-status/styles.scoped.css +8 -8
  207. package/internal/components/dropdown-status/styles.selectors.js +2 -2
  208. package/internal/components/filtering-token/styles.css.js +7 -7
  209. package/internal/components/filtering-token/styles.scoped.css +34 -34
  210. package/internal/components/filtering-token/styles.selectors.js +7 -7
  211. package/internal/components/menu-dropdown/styles.css.js +7 -7
  212. package/internal/components/menu-dropdown/styles.scoped.css +32 -32
  213. package/internal/components/menu-dropdown/styles.selectors.js +7 -7
  214. package/internal/components/option/styles.css.js +17 -17
  215. package/internal/components/option/styles.scoped.css +47 -47
  216. package/internal/components/option/styles.selectors.js +17 -17
  217. package/internal/components/options-list/styles.css.js +2 -2
  218. package/internal/components/options-list/styles.scoped.css +7 -7
  219. package/internal/components/options-list/styles.selectors.js +2 -2
  220. package/internal/components/selectable-item/styles.css.js +16 -16
  221. package/internal/components/selectable-item/styles.scoped.css +68 -68
  222. package/internal/components/selectable-item/styles.selectors.js +16 -16
  223. package/internal/components/token-list/styles.css.js +9 -9
  224. package/internal/components/token-list/styles.scoped.css +40 -40
  225. package/internal/components/token-list/styles.selectors.js +9 -9
  226. package/internal/environment.js +1 -1
  227. package/internal/generated/styles/tokens.d.ts +4 -0
  228. package/internal/generated/styles/tokens.js +299 -295
  229. package/internal/generated/theming/index.cjs +837 -737
  230. package/internal/generated/theming/index.cjs.d.ts +24 -0
  231. package/internal/generated/theming/index.d.ts +24 -0
  232. package/internal/generated/theming/index.js +837 -737
  233. package/internal/handle/styles.css.js +2 -2
  234. package/internal/handle/styles.scoped.css +12 -12
  235. package/internal/handle/styles.selectors.js +2 -2
  236. package/internal/manifest.json +1 -1
  237. package/link/styles.css.js +20 -20
  238. package/link/styles.scoped.css +163 -163
  239. package/link/styles.selectors.js +20 -20
  240. package/mixed-line-bar-chart/styles.css.js +19 -19
  241. package/mixed-line-bar-chart/styles.scoped.css +38 -38
  242. package/mixed-line-bar-chart/styles.selectors.js +19 -19
  243. package/modal/styles.css.js +23 -23
  244. package/modal/styles.scoped.css +67 -67
  245. package/modal/styles.selectors.js +23 -23
  246. package/multiselect/styles.css.js +1 -1
  247. package/multiselect/styles.scoped.css +5 -5
  248. package/multiselect/styles.selectors.js +1 -1
  249. package/package.json +1 -1
  250. package/pagination/styles.css.js +9 -9
  251. package/pagination/styles.scoped.css +47 -47
  252. package/pagination/styles.selectors.js +9 -9
  253. package/pie-chart/styles.css.js +27 -27
  254. package/pie-chart/styles.scoped.css +70 -70
  255. package/pie-chart/styles.selectors.js +27 -27
  256. package/popover/styles.css.js +50 -50
  257. package/popover/styles.scoped.css +104 -104
  258. package/popover/styles.selectors.js +50 -50
  259. package/progress-bar/styles.css.js +18 -18
  260. package/progress-bar/styles.scoped.css +58 -58
  261. package/progress-bar/styles.selectors.js +18 -18
  262. package/property-filter/styles.css.js +29 -29
  263. package/property-filter/styles.scoped.css +52 -52
  264. package/property-filter/styles.selectors.js +29 -29
  265. package/radio-group/styles.css.js +9 -9
  266. package/radio-group/styles.scoped.css +37 -37
  267. package/radio-group/styles.selectors.js +9 -9
  268. package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
  269. package/s3-resource-selector/s3-in-context/styles.scoped.css +12 -12
  270. package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
  271. package/segmented-control/styles.css.js +14 -14
  272. package/segmented-control/styles.scoped.css +78 -78
  273. package/segmented-control/styles.selectors.js +14 -14
  274. package/select/parts/styles.css.js +9 -9
  275. package/select/parts/styles.scoped.css +17 -17
  276. package/select/parts/styles.selectors.js +9 -9
  277. package/select/styles.css.js +1 -1
  278. package/select/styles.scoped.css +5 -5
  279. package/select/styles.selectors.js +1 -1
  280. package/side-navigation/styles.css.js +27 -27
  281. package/side-navigation/styles.scoped.css +89 -89
  282. package/side-navigation/styles.selectors.js +27 -27
  283. package/space-between/styles.css.js +20 -20
  284. package/space-between/styles.scoped.css +37 -37
  285. package/space-between/styles.selectors.js +20 -20
  286. package/spinner/styles.css.js +13 -13
  287. package/spinner/styles.scoped.css +35 -35
  288. package/spinner/styles.selectors.js +13 -13
  289. package/split-panel/styles.css.js +59 -59
  290. package/split-panel/styles.scoped.css +150 -150
  291. package/split-panel/styles.selectors.js +59 -59
  292. package/status-indicator/styles.css.js +20 -20
  293. package/status-indicator/styles.scoped.css +44 -44
  294. package/status-indicator/styles.selectors.js +20 -20
  295. package/table/body-cell/styles.css.js +28 -28
  296. package/table/body-cell/styles.scoped.css +144 -144
  297. package/table/body-cell/styles.selectors.js +28 -28
  298. package/table/header-cell/styles.css.js +24 -24
  299. package/table/header-cell/styles.scoped.css +93 -93
  300. package/table/header-cell/styles.selectors.js +24 -24
  301. package/table/resizer/styles.css.js +6 -6
  302. package/table/resizer/styles.scoped.css +27 -27
  303. package/table/resizer/styles.selectors.js +6 -6
  304. package/table/selection-control/styles.css.js +3 -3
  305. package/table/selection-control/styles.scoped.css +4 -4
  306. package/table/selection-control/styles.selectors.js +3 -3
  307. package/table/styles.css.js +33 -33
  308. package/table/styles.scoped.css +85 -85
  309. package/table/styles.selectors.js +33 -33
  310. package/tabs/styles.css.js +21 -21
  311. package/tabs/styles.scoped.css +86 -86
  312. package/tabs/styles.selectors.js +21 -21
  313. package/tag-editor/styles.css.js +3 -3
  314. package/tag-editor/styles.scoped.css +24 -24
  315. package/tag-editor/styles.selectors.js +3 -3
  316. package/text-content/styles.css.js +1 -1
  317. package/text-content/styles.scoped.css +125 -125
  318. package/text-content/styles.selectors.js +1 -1
  319. package/text-filter/styles.css.js +3 -3
  320. package/text-filter/styles.scoped.css +10 -10
  321. package/text-filter/styles.selectors.js +3 -3
  322. package/textarea/styles.css.js +4 -4
  323. package/textarea/styles.scoped.css +40 -40
  324. package/textarea/styles.selectors.js +4 -4
  325. package/tiles/styles.css.js +28 -28
  326. package/tiles/styles.scoped.css +124 -124
  327. package/tiles/styles.selectors.js +28 -28
  328. package/toggle/styles.css.js +8 -8
  329. package/toggle/styles.scoped.css +27 -27
  330. package/toggle/styles.selectors.js +8 -8
  331. package/token-group/styles.css.js +7 -7
  332. package/token-group/styles.scoped.css +42 -42
  333. package/token-group/styles.selectors.js +7 -7
  334. package/top-navigation/1.0-beta/styles.css.js +25 -25
  335. package/top-navigation/1.0-beta/styles.scoped.css +84 -84
  336. package/top-navigation/1.0-beta/styles.selectors.js +25 -25
  337. package/top-navigation/styles.css.js +47 -47
  338. package/top-navigation/styles.scoped.css +148 -148
  339. package/top-navigation/styles.selectors.js +47 -47
  340. package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
  341. package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +43 -43
  342. package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
  343. package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  344. package/tutorial-panel/components/tutorial-list/styles.scoped.css +50 -50
  345. package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  346. package/tutorial-panel/styles.css.js +1 -1
  347. package/tutorial-panel/styles.scoped.css +6 -6
  348. package/tutorial-panel/styles.selectors.js +1 -1
  349. package/wizard/styles.css.js +32 -32
  350. package/wizard/styles.scoped.css +127 -127
  351. package/wizard/styles.selectors.js +32 -32
@@ -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,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"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"]}
@@ -1,42 +1,42 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "card-inner": "awsui_card-inner_p8a6i_1f0po_97",
5
- "root": "awsui_root_p8a6i_1f0po_133",
6
- "header-variant-full-page": "awsui_header-variant-full-page_p8a6i_1f0po_153",
7
- "header-refresh": "awsui_header-refresh_p8a6i_1f0po_153",
8
- "list": "awsui_list_p8a6i_1f0po_196",
9
- "list-grid-1": "awsui_list-grid-1_p8a6i_1f0po_204",
10
- "card": "awsui_card_p8a6i_1f0po_97",
11
- "list-grid-2": "awsui_list-grid-2_p8a6i_1f0po_207",
12
- "list-grid-3": "awsui_list-grid-3_p8a6i_1f0po_210",
13
- "list-grid-4": "awsui_list-grid-4_p8a6i_1f0po_213",
14
- "list-grid-5": "awsui_list-grid-5_p8a6i_1f0po_216",
15
- "list-grid-6": "awsui_list-grid-6_p8a6i_1f0po_219",
16
- "list-grid-7": "awsui_list-grid-7_p8a6i_1f0po_222",
17
- "list-grid-8": "awsui_list-grid-8_p8a6i_1f0po_225",
18
- "list-grid-9": "awsui_list-grid-9_p8a6i_1f0po_228",
19
- "list-grid-10": "awsui_list-grid-10_p8a6i_1f0po_231",
20
- "list-grid-11": "awsui_list-grid-11_p8a6i_1f0po_234",
21
- "list-grid-12": "awsui_list-grid-12_p8a6i_1f0po_237",
22
- "list-grid-13": "awsui_list-grid-13_p8a6i_1f0po_240",
23
- "list-grid-14": "awsui_list-grid-14_p8a6i_1f0po_243",
24
- "list-grid-15": "awsui_list-grid-15_p8a6i_1f0po_246",
25
- "list-grid-16": "awsui_list-grid-16_p8a6i_1f0po_249",
26
- "list-grid-17": "awsui_list-grid-17_p8a6i_1f0po_252",
27
- "list-grid-18": "awsui_list-grid-18_p8a6i_1f0po_255",
28
- "list-grid-19": "awsui_list-grid-19_p8a6i_1f0po_258",
29
- "list-grid-20": "awsui_list-grid-20_p8a6i_1f0po_261",
30
- "selection-control": "awsui_selection-control_p8a6i_1f0po_265",
31
- "loading": "awsui_loading_p8a6i_1f0po_274",
32
- "empty": "awsui_empty_p8a6i_1f0po_275",
33
- "has-header": "awsui_has-header_p8a6i_1f0po_282",
34
- "card-header": "awsui_card-header_p8a6i_1f0po_343",
35
- "card-header-inner": "awsui_card-header-inner_p8a6i_1f0po_351",
36
- "card-selectable": "awsui_card-selectable_p8a6i_1f0po_355",
37
- "card-selected": "awsui_card-selected_p8a6i_1f0po_358",
38
- "section": "awsui_section_p8a6i_1f0po_365",
39
- "section-header": "awsui_section-header_p8a6i_1f0po_371",
40
- "section-content": "awsui_section-content_p8a6i_1f0po_377"
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
 
@@ -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-inner_p8a6i_1f0po_97:not(#\9) {
97
+ .awsui_card-inner_p8a6i_e5c72_97:not(#\9) {
98
98
  transition-property: background-color;
99
- transition-duration: var(--motion-duration-transition-show-paced-ai4wlf, 180ms);
100
- transition-timing-function: var(--motion-easing-transition-show-paced-bg1hyg, ease-out);
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-inner_p8a6i_1f0po_97:not(#\9) {
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-inner_p8a6i_1f0po_97:not(#\9), .awsui-mode-entering .awsui_card-inner_p8a6i_1f0po_97:not(#\9) {
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-inner_p8a6i_1f0po_97:not(#\9)::before {
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-ai4wlf, 180ms);
116
- transition-timing-function: var(--motion-easing-transition-show-paced-bg1hyg, ease-out);
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-inner_p8a6i_1f0po_97:not(#\9)::before {
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-inner_p8a6i_1f0po_97:not(#\9)::before, .awsui-mode-entering .awsui_card-inner_p8a6i_1f0po_97:not(#\9)::before {
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
- .awsui_root_p8a6i_1f0po_133:not(#\9) {
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-sregvd, 14px);
164
- line-height: var(--font-body-m-line-height-i7xxvv, 22px);
165
- color: var(--color-text-body-default-ajf1h5, #000716);
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-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
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-sregvd, 14px);
171
- line-height: var(--font-body-m-line-height-i7xxvv, 22px);
172
- color: var(--color-text-body-default-ajf1h5, #000716);
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-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
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-page_p8a6i_1f0po_153.awsui_header-refresh_p8a6i_1f0po_153:not(#\9) {
180
- border-radius: var(--border-radius-container-gh9ysk, 16px);
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-zsjhel, 12px);
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-zsjhel, 12px) + var(--space-scaled-xxs-95dhkm, 4px));
185
+ padding-bottom: calc(var(--space-container-header-vertical-gho8eg, 12px) + var(--space-scaled-xxs-ugy2pw, 4px));
186
186
  }
187
- .awsui_header-variant-full-page_p8a6i_1f0po_153.awsui_header-refresh_p8a6i_1f0po_153:not(#\9)::before {
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-jk6fhm, 0px) solid var(--color-border-container-top-srcvx4, transparent);
199
- border-radius: var(--border-radius-container-gh9ysk, 16px);
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-page_p8a6i_1f0po_153.awsui_header-refresh_p8a6i_1f0po_153:not(#\9)::after {
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-fx563k, 0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12));
213
- border-radius: var(--border-radius-container-gh9ysk, 16px);
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-page_p8a6i_1f0po_153.awsui_header-refresh_p8a6i_1f0po_153:not(#\9) {
218
- border: var(--border-field-width-idlekx, 2px) solid var(--color-border-container-top-srcvx4, transparent);
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
- .awsui_list_p8a6i_1f0po_196:not(#\9) {
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-0subky, 20px) * -1);
228
+ margin: 0 0 0 calc(var(--space-grid-gutter-pfst95, 20px) * -1);
229
229
  }
230
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-1_p8a6i_1f0po_204 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-2_p8a6i_1f0po_207 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-3_p8a6i_1f0po_210 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-4_p8a6i_1f0po_213 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-5_p8a6i_1f0po_216 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-6_p8a6i_1f0po_219 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-7_p8a6i_1f0po_222 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-8_p8a6i_1f0po_225 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-9_p8a6i_1f0po_228 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-10_p8a6i_1f0po_231 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-11_p8a6i_1f0po_234 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-12_p8a6i_1f0po_237 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-13_p8a6i_1f0po_240 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-14_p8a6i_1f0po_243 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-15_p8a6i_1f0po_246 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-16_p8a6i_1f0po_249 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-17_p8a6i_1f0po_252 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-18_p8a6i_1f0po_255 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-19_p8a6i_1f0po_258 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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
- .awsui_list_p8a6i_1f0po_196.awsui_list-grid-20_p8a6i_1f0po_261 > .awsui_card_p8a6i_1f0po_97:not(#\9) {
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-control_p8a6i_1f0po_265:not(#\9) {
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-n9i4yo, 16px) + (2 * var(--space-card-horizontal-di7llb, 20px)));
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-t03y3z, 20px) var(--space-card-horizontal-di7llb, 20px);
297
+ padding: var(--space-scaled-l-x5pubp, 20px) var(--space-card-horizontal-ai1anx, 20px);
298
298
  }
299
299
 
300
- .awsui_loading_p8a6i_1f0po_274:not(#\9),
301
- .awsui_empty_p8a6i_1f0po_275:not(#\9) {
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-fjv325, #5f6b7a);
305
- margin-bottom: var(--space-scaled-l-t03y3z, 20px);
304
+ color: var(--color-text-empty-qnnj2s, #5f6b7a);
305
+ margin-bottom: var(--space-scaled-l-x5pubp, 20px);
306
306
  }
307
307
 
308
- .awsui_has-header_p8a6i_1f0po_282:not(#\9) {
309
- margin-top: var(--space-grid-gutter-0subky, 20px);
308
+ .awsui_has-header_p8a6i_e5c72_282:not(#\9) {
309
+ margin-top: var(--space-grid-gutter-pfst95, 20px);
310
310
  }
311
311
 
312
- .awsui_card_p8a6i_1f0po_97:not(#\9) {
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-inner_p8a6i_1f0po_97:not(#\9) {
320
+ .awsui_card-inner_p8a6i_e5c72_97:not(#\9) {
321
321
  position: relative;
322
- background-color: var(--color-background-container-content-i8i4a0, #ffffff);
323
- margin: 0 0 var(--space-grid-gutter-0subky, 20px) var(--space-grid-gutter-0subky, 20px);
324
- padding: var(--space-scaled-l-t03y3z, 20px) var(--space-card-horizontal-di7llb, 20px) var(--space-scaled-l-t03y3z, 20px);
325
- border-radius: var(--border-radius-container-gh9ysk, 16px);
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-inner_p8a6i_1f0po_97:not(#\9) {
332
- padding: calc(var(--space-scaled-l-t03y3z, 20px) - var(--border-item-width-qbbbsa, 2px)) calc(var(--space-card-horizontal-di7llb, 20px) - var(--border-item-width-qbbbsa, 2px)) calc(var(--space-scaled-l-t03y3z, 20px) - var(--border-item-width-qbbbsa, 2px));
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-inner_p8a6i_1f0po_97:not(#\9)::before {
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-jk6fhm, 0px) solid var(--color-border-container-top-srcvx4, transparent);
347
- border-radius: var(--border-radius-container-gh9ysk, 16px);
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-inner_p8a6i_1f0po_97:not(#\9)::after {
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-fx563k, 0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12));
361
- border-radius: var(--border-radius-container-gh9ysk, 16px);
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-inner_p8a6i_1f0po_97:not(#\9) {
366
- border: var(--border-field-width-idlekx, 2px) solid var(--color-border-container-top-srcvx4, transparent);
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-header_p8a6i_1f0po_343:not(#\9) {
370
- font-size: var(--font-heading-m-size-6e3jmg, 20px);
371
- line-height: var(--font-heading-m-line-height-u3t54f, 24px);
372
- letter-spacing: var(--font-heading-m-letter-spacing-r00pg3, -0.01em);
373
- font-weight: var(--font-heading-m-weight-hi5n0j, 800);
374
- -webkit-font-smoothing: var(--font-smoothing-webkit-vu3hx4, antialiased);
375
- -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-nkh1jb, grayscale);
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-inner_p8a6i_1f0po_351:not(#\9) {
377
+ .awsui_card-header-inner_p8a6i_e5c72_351:not(#\9) {
378
378
  width: 100%;
379
379
  display: inline-block;
380
380
  }
381
- .awsui_card-selectable_p8a6i_1f0po_355 > .awsui_card-inner_p8a6i_1f0po_97 > .awsui_card-header_p8a6i_1f0po_343:not(#\9) {
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-selected_p8a6i_1f0po_358 > .awsui_card-inner_p8a6i_1f0po_97:not(#\9) {
385
- background-color: var(--color-background-item-selected-ebt4bi, #f2f8fd);
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-selected_p8a6i_1f0po_358 > .awsui_card-inner_p8a6i_1f0po_97:not(#\9)::before {
388
- border: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-item-selected-ppkssz, #0972d3);
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
- .awsui_section_p8a6i_1f0po_365:not(#\9) {
391
+ .awsui_section_p8a6i_e5c72_365:not(#\9) {
392
392
  display: inline-block;
393
393
  box-sizing: border-box;
394
- padding: var(--space-xs-rsr2qu, 8px) 0 var(--space-scaled-xs-6859qs, 8px) 0;
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-header_p8a6i_1f0po_371:not(#\9) {
398
- font-size: var(--font-body-m-size-sregvd, 14px);
399
- line-height: var(--font-body-m-line-height-i7xxvv, 22px);
400
- font-weight: var(--font-display-label-weight-m18hjh, 700);
401
- color: var(--color-text-label-gxskdy, #000716);
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-content_p8a6i_1f0po_377:not(#\9) {
403
+ .awsui_section-content_p8a6i_e5c72_377:not(#\9) {
404
404
  /* used in test-utils */
405
405
  }
406
406
 
407
- .awsui_section_p8a6i_1f0po_365:not(#\9):last-child {
408
- padding: var(--space-xs-rsr2qu, 8px) 0 0 0;
407
+ .awsui_section_p8a6i_e5c72_365:not(#\9):last-child {
408
+ padding: var(--space-xs-inub5w, 8px) 0 0 0;
409
409
  }