@cloudscape-design/components 3.0.348 → 3.0.350

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 (369) 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 +28 -28
  12. package/app-layout/drawer/styles.selectors.js +10 -10
  13. package/app-layout/mobile-toolbar/styles.css.js +8 -8
  14. package/app-layout/mobile-toolbar/styles.scoped.css +18 -18
  15. package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
  16. package/app-layout/notifications/styles.css.js +3 -3
  17. package/app-layout/notifications/styles.scoped.css +7 -7
  18. package/app-layout/notifications/styles.selectors.js +3 -3
  19. package/app-layout/styles.css.js +17 -17
  20. package/app-layout/styles.scoped.css +30 -30
  21. package/app-layout/styles.selectors.js +17 -17
  22. package/app-layout/toggles/styles.css.js +2 -2
  23. package/app-layout/toggles/styles.scoped.css +16 -16
  24. package/app-layout/toggles/styles.selectors.js +2 -2
  25. package/app-layout/visual-refresh/styles.css.js +69 -69
  26. package/app-layout/visual-refresh/styles.scoped.css +267 -267
  27. package/app-layout/visual-refresh/styles.selectors.js +69 -69
  28. package/area-chart/styles.css.js +6 -6
  29. package/area-chart/styles.scoped.css +16 -16
  30. package/area-chart/styles.selectors.js +6 -6
  31. package/attribute-editor/styles.css.js +14 -14
  32. package/attribute-editor/styles.scoped.css +48 -48
  33. package/attribute-editor/styles.selectors.js +14 -14
  34. package/badge/styles.css.js +5 -5
  35. package/badge/styles.scoped.css +20 -20
  36. package/badge/styles.selectors.js +5 -5
  37. package/box/styles.css.js +189 -189
  38. package/box/styles.scoped.css +418 -418
  39. package/box/styles.selectors.js +189 -189
  40. package/breadcrumb-group/item/styles.css.js +9 -9
  41. package/breadcrumb-group/item/styles.scoped.css +28 -28
  42. package/breadcrumb-group/item/styles.selectors.js +9 -9
  43. package/breadcrumb-group/styles.css.js +7 -7
  44. package/breadcrumb-group/styles.scoped.css +22 -22
  45. package/breadcrumb-group/styles.selectors.js +7 -7
  46. package/button/styles.css.js +20 -20
  47. package/button/styles.scoped.css +472 -472
  48. package/button/styles.selectors.js +20 -20
  49. package/button-dropdown/category-elements/styles.css.js +13 -13
  50. package/button-dropdown/category-elements/styles.scoped.css +50 -50
  51. package/button-dropdown/category-elements/styles.selectors.js +13 -13
  52. package/button-dropdown/item-element/styles.css.js +14 -14
  53. package/button-dropdown/item-element/styles.scoped.css +42 -42
  54. package/button-dropdown/item-element/styles.selectors.js +14 -14
  55. package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
  56. package/button-dropdown/mobile-expandable-group/styles.scoped.css +10 -10
  57. package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
  58. package/button-dropdown/styles.css.js +14 -14
  59. package/button-dropdown/styles.scoped.css +32 -32
  60. package/button-dropdown/styles.selectors.js +14 -14
  61. package/calendar/styles.css.js +18 -18
  62. package/calendar/styles.scoped.css +89 -89
  63. package/calendar/styles.selectors.js +18 -18
  64. package/cards/styles.css.js +38 -38
  65. package/cards/styles.scoped.css +99 -99
  66. package/cards/styles.selectors.js +38 -38
  67. package/checkbox/styles.css.js +3 -3
  68. package/checkbox/styles.scoped.css +16 -16
  69. package/checkbox/styles.selectors.js +3 -3
  70. package/code-editor/resizable-box/styles.css.js +3 -3
  71. package/code-editor/resizable-box/styles.scoped.css +8 -8
  72. package/code-editor/resizable-box/styles.selectors.js +3 -3
  73. package/code-editor/styles.css.js +32 -32
  74. package/code-editor/styles.scoped.css +228 -219
  75. package/code-editor/styles.selectors.js +32 -32
  76. package/collection-preferences/content-display/styles.css.js +11 -11
  77. package/collection-preferences/content-display/styles.scoped.css +42 -42
  78. package/collection-preferences/content-display/styles.selectors.js +11 -11
  79. package/collection-preferences/styles.css.js +37 -37
  80. package/collection-preferences/styles.scoped.css +81 -81
  81. package/collection-preferences/styles.selectors.js +37 -37
  82. package/column-layout/flexible-column-layout/styles.css.js +5 -5
  83. package/column-layout/flexible-column-layout/styles.scoped.css +8 -8
  84. package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
  85. package/column-layout/styles.css.js +13 -13
  86. package/column-layout/styles.scoped.css +55 -55
  87. package/column-layout/styles.selectors.js +13 -13
  88. package/container/styles.css.js +28 -28
  89. package/container/styles.scoped.css +94 -94
  90. package/container/styles.selectors.js +28 -28
  91. package/content-layout/styles.css.js +7 -7
  92. package/content-layout/styles.scoped.css +17 -17
  93. package/content-layout/styles.selectors.js +7 -7
  94. package/date-picker/styles.css.js +7 -7
  95. package/date-picker/styles.scoped.css +16 -16
  96. package/date-picker/styles.selectors.js +7 -7
  97. package/date-range-picker/calendar/grids/styles.css.js +25 -25
  98. package/date-range-picker/calendar/grids/styles.scoped.css +95 -95
  99. package/date-range-picker/calendar/grids/styles.selectors.js +25 -25
  100. package/date-range-picker/relative-range/styles.css.js +9 -9
  101. package/date-range-picker/relative-range/styles.scoped.css +16 -16
  102. package/date-range-picker/relative-range/styles.selectors.js +9 -9
  103. package/date-range-picker/styles.css.js +38 -38
  104. package/date-range-picker/styles.scoped.css +76 -76
  105. package/date-range-picker/styles.selectors.js +38 -38
  106. package/expandable-section/styles.css.js +29 -29
  107. package/expandable-section/styles.scoped.css +106 -106
  108. package/expandable-section/styles.selectors.js +29 -29
  109. package/file-upload/dropzone/styles.css.js +2 -2
  110. package/file-upload/dropzone/styles.scoped.css +9 -9
  111. package/file-upload/dropzone/styles.selectors.js +2 -2
  112. package/file-upload/file-input/styles.css.js +4 -4
  113. package/file-upload/file-input/styles.scoped.css +14 -14
  114. package/file-upload/file-input/styles.selectors.js +4 -4
  115. package/file-upload/file-option/styles.css.js +7 -7
  116. package/file-upload/file-option/styles.scoped.css +10 -10
  117. package/file-upload/file-option/styles.selectors.js +7 -7
  118. package/file-upload/styles.css.js +2 -2
  119. package/file-upload/styles.scoped.css +4 -4
  120. package/file-upload/styles.selectors.js +2 -2
  121. package/flashbar/collapsible-flashbar.d.ts.map +1 -1
  122. package/flashbar/collapsible-flashbar.js +8 -5
  123. package/flashbar/collapsible-flashbar.js.map +1 -1
  124. package/flashbar/flash.d.ts.map +1 -1
  125. package/flashbar/flash.js +2 -1
  126. package/flashbar/flash.js.map +1 -1
  127. package/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
  128. package/flashbar/non-collapsible-flashbar.js +1 -2
  129. package/flashbar/non-collapsible-flashbar.js.map +1 -1
  130. package/flashbar/styles.css.js +46 -46
  131. package/flashbar/styles.scoped.css +250 -246
  132. package/flashbar/styles.selectors.js +46 -46
  133. package/flashbar/utils.js +1 -1
  134. package/flashbar/utils.js.map +1 -1
  135. package/form/styles.css.js +9 -9
  136. package/form/styles.scoped.css +20 -20
  137. package/form/styles.selectors.js +9 -9
  138. package/form-field/styles.css.js +19 -19
  139. package/form-field/styles.scoped.css +52 -52
  140. package/form-field/styles.selectors.js +19 -19
  141. package/grid/styles.css.js +53 -53
  142. package/grid/styles.scoped.css +60 -60
  143. package/grid/styles.selectors.js +53 -53
  144. package/header/styles.css.js +33 -33
  145. package/header/styles.scoped.css +114 -114
  146. package/header/styles.selectors.js +33 -33
  147. package/help-panel/styles.css.js +4 -4
  148. package/help-panel/styles.scoped.css +172 -172
  149. package/help-panel/styles.selectors.js +4 -4
  150. package/hotspot/styles.css.js +7 -7
  151. package/hotspot/styles.scoped.css +10 -10
  152. package/hotspot/styles.selectors.js +7 -7
  153. package/icon/styles.css.js +21 -21
  154. package/icon/styles.scoped.css +81 -81
  155. package/icon/styles.selectors.js +21 -21
  156. package/input/styles.css.js +12 -12
  157. package/input/styles.scoped.css +73 -73
  158. package/input/styles.selectors.js +12 -12
  159. package/internal/base-component/styles.scoped.css +1696 -1635
  160. package/internal/components/abstract-switch/styles.css.js +13 -13
  161. package/internal/components/abstract-switch/styles.scoped.css +26 -26
  162. package/internal/components/abstract-switch/styles.selectors.js +13 -13
  163. package/internal/components/button-trigger/styles.css.js +9 -9
  164. package/internal/components/button-trigger/styles.scoped.css +63 -63
  165. package/internal/components/button-trigger/styles.selectors.js +9 -9
  166. package/internal/components/cartesian-chart/styles.css.js +27 -27
  167. package/internal/components/cartesian-chart/styles.scoped.css +41 -41
  168. package/internal/components/cartesian-chart/styles.selectors.js +27 -27
  169. package/internal/components/chart-filter/styles.css.js +3 -3
  170. package/internal/components/chart-filter/styles.scoped.css +7 -7
  171. package/internal/components/chart-filter/styles.selectors.js +3 -3
  172. package/internal/components/chart-legend/styles.css.js +6 -6
  173. package/internal/components/chart-legend/styles.scoped.css +23 -23
  174. package/internal/components/chart-legend/styles.selectors.js +6 -6
  175. package/internal/components/chart-plot/styles.css.js +5 -5
  176. package/internal/components/chart-plot/styles.scoped.css +6 -6
  177. package/internal/components/chart-plot/styles.selectors.js +5 -5
  178. package/internal/components/chart-popover/index.js +1 -1
  179. package/internal/components/chart-popover/index.js.map +1 -1
  180. package/internal/components/chart-popover/styles.css.js +3 -3
  181. package/internal/components/chart-popover/styles.scoped.css +9 -9
  182. package/internal/components/chart-popover/styles.selectors.js +3 -3
  183. package/internal/components/chart-series-details/styles.css.js +5 -5
  184. package/internal/components/chart-series-details/styles.scoped.css +20 -20
  185. package/internal/components/chart-series-details/styles.selectors.js +5 -5
  186. package/internal/components/chart-series-marker/styles.css.js +5 -5
  187. package/internal/components/chart-series-marker/styles.scoped.css +14 -14
  188. package/internal/components/chart-series-marker/styles.selectors.js +5 -5
  189. package/internal/components/chart-status-container/styles.css.js +2 -2
  190. package/internal/components/chart-status-container/styles.scoped.css +3 -3
  191. package/internal/components/chart-status-container/styles.selectors.js +2 -2
  192. package/internal/components/chart-wrapper/styles.css.js +9 -9
  193. package/internal/components/chart-wrapper/styles.scoped.css +15 -15
  194. package/internal/components/chart-wrapper/styles.selectors.js +9 -9
  195. package/internal/components/checkbox-icon/styles.css.js +7 -7
  196. package/internal/components/checkbox-icon/styles.scoped.css +18 -18
  197. package/internal/components/checkbox-icon/styles.selectors.js +7 -7
  198. package/internal/components/dark-ribbon/styles.css.js +2 -2
  199. package/internal/components/dark-ribbon/styles.scoped.css +4 -4
  200. package/internal/components/dark-ribbon/styles.selectors.js +2 -2
  201. package/internal/components/dropdown/styles.css.js +20 -20
  202. package/internal/components/dropdown/styles.scoped.css +51 -51
  203. package/internal/components/dropdown/styles.selectors.js +20 -20
  204. package/internal/components/dropdown-footer/styles.css.js +3 -3
  205. package/internal/components/dropdown-footer/styles.scoped.css +9 -9
  206. package/internal/components/dropdown-footer/styles.selectors.js +3 -3
  207. package/internal/components/dropdown-status/styles.css.js +2 -2
  208. package/internal/components/dropdown-status/styles.scoped.css +8 -8
  209. package/internal/components/dropdown-status/styles.selectors.js +2 -2
  210. package/internal/components/filtering-token/styles.css.js +7 -7
  211. package/internal/components/filtering-token/styles.scoped.css +34 -34
  212. package/internal/components/filtering-token/styles.selectors.js +7 -7
  213. package/internal/components/handle/styles.css.js +2 -2
  214. package/internal/components/handle/styles.scoped.css +12 -12
  215. package/internal/components/handle/styles.selectors.js +2 -2
  216. package/internal/components/menu-dropdown/styles.css.js +7 -7
  217. package/internal/components/menu-dropdown/styles.scoped.css +32 -32
  218. package/internal/components/menu-dropdown/styles.selectors.js +7 -7
  219. package/internal/components/option/styles.css.js +17 -17
  220. package/internal/components/option/styles.scoped.css +47 -47
  221. package/internal/components/option/styles.selectors.js +17 -17
  222. package/internal/components/options-list/styles.css.js +2 -2
  223. package/internal/components/options-list/styles.scoped.css +7 -7
  224. package/internal/components/options-list/styles.selectors.js +2 -2
  225. package/internal/components/selectable-item/styles.css.js +16 -16
  226. package/internal/components/selectable-item/styles.scoped.css +70 -70
  227. package/internal/components/selectable-item/styles.selectors.js +16 -16
  228. package/internal/components/token-list/styles.css.js +9 -9
  229. package/internal/components/token-list/styles.scoped.css +40 -40
  230. package/internal/components/token-list/styles.selectors.js +9 -9
  231. package/internal/environment.js +1 -1
  232. package/internal/environment.json +1 -1
  233. package/internal/generated/styles/tokens.d.ts +1 -0
  234. package/internal/generated/styles/tokens.js +306 -305
  235. package/internal/generated/theming/index.cjs +1830 -821
  236. package/internal/generated/theming/index.cjs.d.ts +192 -0
  237. package/internal/generated/theming/index.d.ts +192 -0
  238. package/internal/generated/theming/index.js +1830 -821
  239. package/internal/manifest.json +1 -1
  240. package/internal/utils/dom.d.ts +1 -1
  241. package/internal/utils/dom.d.ts.map +1 -1
  242. package/internal/utils/dom.js +1 -1
  243. package/internal/utils/dom.js.map +1 -1
  244. package/link/styles.css.js +20 -20
  245. package/link/styles.scoped.css +163 -163
  246. package/link/styles.selectors.js +20 -20
  247. package/mixed-line-bar-chart/styles.css.js +11 -11
  248. package/mixed-line-bar-chart/styles.scoped.css +24 -24
  249. package/mixed-line-bar-chart/styles.selectors.js +11 -11
  250. package/modal/styles.css.js +23 -23
  251. package/modal/styles.scoped.css +67 -67
  252. package/modal/styles.selectors.js +23 -23
  253. package/multiselect/styles.css.js +1 -1
  254. package/multiselect/styles.scoped.css +5 -5
  255. package/multiselect/styles.selectors.js +1 -1
  256. package/package.json +1 -1
  257. package/pagination/styles.css.js +9 -9
  258. package/pagination/styles.scoped.css +47 -47
  259. package/pagination/styles.selectors.js +9 -9
  260. package/pie-chart/index.d.ts.map +1 -1
  261. package/pie-chart/index.js +1 -2
  262. package/pie-chart/index.js.map +1 -1
  263. package/pie-chart/pie-chart.d.ts +1 -3
  264. package/pie-chart/pie-chart.d.ts.map +1 -1
  265. package/pie-chart/pie-chart.js +16 -17
  266. package/pie-chart/pie-chart.js.map +1 -1
  267. package/pie-chart/segments.d.ts +1 -2
  268. package/pie-chart/segments.d.ts.map +1 -1
  269. package/pie-chart/segments.js +2 -2
  270. package/pie-chart/segments.js.map +1 -1
  271. package/pie-chart/styles.css.js +27 -27
  272. package/pie-chart/styles.scoped.css +63 -63
  273. package/pie-chart/styles.selectors.js +27 -27
  274. package/popover/styles.css.js +50 -50
  275. package/popover/styles.scoped.css +104 -104
  276. package/popover/styles.selectors.js +50 -50
  277. package/progress-bar/styles.css.js +18 -18
  278. package/progress-bar/styles.scoped.css +58 -58
  279. package/progress-bar/styles.selectors.js +18 -18
  280. package/property-filter/styles.css.js +29 -29
  281. package/property-filter/styles.scoped.css +52 -52
  282. package/property-filter/styles.selectors.js +29 -29
  283. package/radio-group/styles.css.js +9 -9
  284. package/radio-group/styles.scoped.css +37 -37
  285. package/radio-group/styles.selectors.js +9 -9
  286. package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
  287. package/s3-resource-selector/s3-in-context/styles.scoped.css +12 -12
  288. package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
  289. package/segmented-control/styles.css.js +14 -14
  290. package/segmented-control/styles.scoped.css +78 -78
  291. package/segmented-control/styles.selectors.js +14 -14
  292. package/select/parts/styles.css.js +9 -9
  293. package/select/parts/styles.scoped.css +17 -17
  294. package/select/parts/styles.selectors.js +9 -9
  295. package/select/styles.css.js +1 -1
  296. package/select/styles.scoped.css +5 -5
  297. package/select/styles.selectors.js +1 -1
  298. package/side-navigation/styles.css.js +28 -28
  299. package/side-navigation/styles.scoped.css +92 -92
  300. package/side-navigation/styles.selectors.js +28 -28
  301. package/space-between/styles.css.js +23 -23
  302. package/space-between/styles.scoped.css +40 -40
  303. package/space-between/styles.selectors.js +23 -23
  304. package/spinner/styles.css.js +13 -13
  305. package/spinner/styles.scoped.css +35 -35
  306. package/spinner/styles.selectors.js +13 -13
  307. package/split-panel/styles.css.js +56 -56
  308. package/split-panel/styles.scoped.css +146 -146
  309. package/split-panel/styles.selectors.js +56 -56
  310. package/status-indicator/styles.css.js +22 -22
  311. package/status-indicator/styles.scoped.css +46 -46
  312. package/status-indicator/styles.selectors.js +22 -22
  313. package/table/body-cell/styles.css.js +28 -28
  314. package/table/body-cell/styles.scoped.css +155 -155
  315. package/table/body-cell/styles.selectors.js +28 -28
  316. package/table/header-cell/styles.css.js +24 -24
  317. package/table/header-cell/styles.scoped.css +93 -93
  318. package/table/header-cell/styles.selectors.js +24 -24
  319. package/table/resizer/styles.css.js +6 -6
  320. package/table/resizer/styles.scoped.css +27 -27
  321. package/table/resizer/styles.selectors.js +6 -6
  322. package/table/selection-control/styles.css.js +3 -3
  323. package/table/selection-control/styles.scoped.css +4 -4
  324. package/table/selection-control/styles.selectors.js +3 -3
  325. package/table/styles.css.js +34 -34
  326. package/table/styles.scoped.css +84 -84
  327. package/table/styles.selectors.js +34 -34
  328. package/tabs/styles.css.js +21 -21
  329. package/tabs/styles.scoped.css +86 -86
  330. package/tabs/styles.selectors.js +21 -21
  331. package/tag-editor/styles.css.js +3 -3
  332. package/tag-editor/styles.scoped.css +24 -24
  333. package/tag-editor/styles.selectors.js +3 -3
  334. package/text-content/styles.css.js +1 -1
  335. package/text-content/styles.scoped.css +130 -130
  336. package/text-content/styles.selectors.js +1 -1
  337. package/text-filter/styles.css.js +3 -3
  338. package/text-filter/styles.scoped.css +10 -10
  339. package/text-filter/styles.selectors.js +3 -3
  340. package/textarea/styles.css.js +4 -4
  341. package/textarea/styles.scoped.css +40 -40
  342. package/textarea/styles.selectors.js +4 -4
  343. package/tiles/styles.css.js +29 -29
  344. package/tiles/styles.scoped.css +128 -128
  345. package/tiles/styles.selectors.js +29 -29
  346. package/toggle/styles.css.js +8 -8
  347. package/toggle/styles.scoped.css +27 -27
  348. package/toggle/styles.selectors.js +8 -8
  349. package/token-group/styles.css.js +7 -7
  350. package/token-group/styles.scoped.css +42 -42
  351. package/token-group/styles.selectors.js +7 -7
  352. package/top-navigation/1.0-beta/styles.css.js +25 -25
  353. package/top-navigation/1.0-beta/styles.scoped.css +84 -84
  354. package/top-navigation/1.0-beta/styles.selectors.js +25 -25
  355. package/top-navigation/styles.css.js +47 -47
  356. package/top-navigation/styles.scoped.css +148 -148
  357. package/top-navigation/styles.selectors.js +47 -47
  358. package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
  359. package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +43 -43
  360. package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
  361. package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  362. package/tutorial-panel/components/tutorial-list/styles.scoped.css +50 -50
  363. package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  364. package/tutorial-panel/styles.css.js +1 -1
  365. package/tutorial-panel/styles.scoped.css +6 -6
  366. package/tutorial-panel/styles.selectors.js +1 -1
  367. package/wizard/styles.css.js +31 -31
  368. package/wizard/styles.scoped.css +124 -124
  369. package/wizard/styles.selectors.js +31 -31
@@ -2,51 +2,51 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "flash-with-motion": "awsui_flash-with-motion_1q84n_15ujq_93",
6
- "enter": "awsui_enter_1q84n_15ujq_93",
7
- "flash-body": "awsui_flash-body_1q84n_15ujq_107",
8
- "flash-message": "awsui_flash-message_1q84n_15ujq_107",
9
- "flash-header": "awsui_flash-header_1q84n_15ujq_107",
10
- "flash-content": "awsui_flash-content_1q84n_15ujq_108",
11
- "action-button-wrapper": "awsui_action-button-wrapper_1q84n_15ujq_109",
12
- "dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_15ujq_110",
13
- "flash-icon": "awsui_flash-icon_1q84n_15ujq_133",
14
- "entering": "awsui_entering_1q84n_15ujq_146",
15
- "entered": "awsui_entered_1q84n_15ujq_167",
16
- "exiting": "awsui_exiting_1q84n_15ujq_272",
17
- "stack": "awsui_stack_1q84n_15ujq_294",
18
- "animation-running": "awsui_animation-running_1q84n_15ujq_294",
19
- "item": "awsui_item_1q84n_15ujq_294",
20
- "flash-list-item": "awsui_flash-list-item_1q84n_15ujq_295",
21
- "notification-bar": "awsui_notification-bar_1q84n_15ujq_296",
22
- "collapsed": "awsui_collapsed_1q84n_15ujq_316",
23
- "animation-ready": "awsui_animation-ready_1q84n_15ujq_316",
24
- "expanded-only": "awsui_expanded-only_1q84n_15ujq_316",
25
- "expanded": "awsui_expanded_1q84n_15ujq_316",
26
- "flash": "awsui_flash_1q84n_15ujq_93",
27
- "collapsible": "awsui_collapsible_1q84n_15ujq_380",
28
- "short-list": "awsui_short-list_1q84n_15ujq_386",
29
- "visual-refresh": "awsui_visual-refresh_1q84n_15ujq_386",
30
- "status": "awsui_status_1q84n_15ujq_603",
31
- "header": "awsui_header_1q84n_15ujq_603",
32
- "item-count": "awsui_item-count_1q84n_15ujq_604",
33
- "button": "awsui_button_1q84n_15ujq_605",
34
- "type-count": "awsui_type-count_1q84n_15ujq_640",
35
- "count-number": "awsui_count-number_1q84n_15ujq_640",
36
- "icon": "awsui_icon_1q84n_15ujq_674",
37
- "floating": "awsui_floating_1q84n_15ujq_712",
38
- "flashbar": "awsui_flashbar_1q84n_15ujq_720",
39
- "flash-refresh": "awsui_flash-refresh_1q84n_15ujq_766",
40
- "flash-list": "awsui_flash-list_1q84n_15ujq_295",
41
- "flash-focus-container": "awsui_flash-focus-container_1q84n_15ujq_785",
42
- "flash-text": "awsui_flash-text_1q84n_15ujq_812",
43
- "dismiss-button": "awsui_dismiss-button_1q84n_15ujq_110",
44
- "breakpoint-default": "awsui_breakpoint-default_1q84n_15ujq_853",
45
- "action-button": "awsui_action-button_1q84n_15ujq_109",
46
- "flash-type-success": "awsui_flash-type-success_1q84n_15ujq_866",
47
- "flash-type-error": "awsui_flash-type-error_1q84n_15ujq_870",
48
- "flash-type-info": "awsui_flash-type-info_1q84n_15ujq_874",
49
- "flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_15ujq_875",
50
- "flash-type-warning": "awsui_flash-type-warning_1q84n_15ujq_876"
5
+ "flash-with-motion": "awsui_flash-with-motion_1q84n_1qhy5_93",
6
+ "enter": "awsui_enter_1q84n_1qhy5_93",
7
+ "flash-body": "awsui_flash-body_1q84n_1qhy5_107",
8
+ "flash-message": "awsui_flash-message_1q84n_1qhy5_107",
9
+ "flash-header": "awsui_flash-header_1q84n_1qhy5_107",
10
+ "flash-content": "awsui_flash-content_1q84n_1qhy5_108",
11
+ "action-button-wrapper": "awsui_action-button-wrapper_1q84n_1qhy5_109",
12
+ "dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_1qhy5_110",
13
+ "flash-icon": "awsui_flash-icon_1q84n_1qhy5_133",
14
+ "entering": "awsui_entering_1q84n_1qhy5_146",
15
+ "entered": "awsui_entered_1q84n_1qhy5_167",
16
+ "exiting": "awsui_exiting_1q84n_1qhy5_272",
17
+ "stack": "awsui_stack_1q84n_1qhy5_294",
18
+ "animation-running": "awsui_animation-running_1q84n_1qhy5_294",
19
+ "item": "awsui_item_1q84n_1qhy5_294",
20
+ "flash-list-item": "awsui_flash-list-item_1q84n_1qhy5_295",
21
+ "notification-bar": "awsui_notification-bar_1q84n_1qhy5_296",
22
+ "collapsed": "awsui_collapsed_1q84n_1qhy5_316",
23
+ "animation-ready": "awsui_animation-ready_1q84n_1qhy5_316",
24
+ "expanded-only": "awsui_expanded-only_1q84n_1qhy5_316",
25
+ "expanded": "awsui_expanded_1q84n_1qhy5_316",
26
+ "flash": "awsui_flash_1q84n_1qhy5_93",
27
+ "collapsible": "awsui_collapsible_1q84n_1qhy5_380",
28
+ "short-list": "awsui_short-list_1q84n_1qhy5_386",
29
+ "visual-refresh": "awsui_visual-refresh_1q84n_1qhy5_386",
30
+ "status": "awsui_status_1q84n_1qhy5_603",
31
+ "header": "awsui_header_1q84n_1qhy5_603",
32
+ "item-count": "awsui_item-count_1q84n_1qhy5_604",
33
+ "button": "awsui_button_1q84n_1qhy5_605",
34
+ "type-count": "awsui_type-count_1q84n_1qhy5_640",
35
+ "count-number": "awsui_count-number_1q84n_1qhy5_640",
36
+ "icon": "awsui_icon_1q84n_1qhy5_674",
37
+ "floating": "awsui_floating_1q84n_1qhy5_712",
38
+ "flashbar": "awsui_flashbar_1q84n_1qhy5_720",
39
+ "flash-refresh": "awsui_flash-refresh_1q84n_1qhy5_766",
40
+ "flash-list": "awsui_flash-list_1q84n_1qhy5_295",
41
+ "flash-focus-container": "awsui_flash-focus-container_1q84n_1qhy5_785",
42
+ "flash-text": "awsui_flash-text_1q84n_1qhy5_812",
43
+ "dismiss-button": "awsui_dismiss-button_1q84n_1qhy5_110",
44
+ "breakpoint-default": "awsui_breakpoint-default_1q84n_1qhy5_853",
45
+ "action-button": "awsui_action-button_1q84n_1qhy5_109",
46
+ "flash-type-success": "awsui_flash-type-success_1q84n_1qhy5_866",
47
+ "flash-type-error": "awsui_flash-type-error_1q84n_1qhy5_870",
48
+ "flash-type-info": "awsui_flash-type-info_1q84n_1qhy5_874",
49
+ "flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_1qhy5_875",
50
+ "flash-type-warning": "awsui_flash-type-warning_1q84n_1qhy5_879"
51
51
  };
52
52
 
package/flashbar/utils.js CHANGED
@@ -4,7 +4,7 @@ const typesToColors = {
4
4
  info: 'blue',
5
5
  'in-progress': 'blue',
6
6
  success: 'green',
7
- warning: 'blue',
7
+ warning: 'yellow',
8
8
  };
9
9
  function getColorFromType(type) {
10
10
  const defaultColor = 'blue';
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"lib/default/","sources":["flashbar/utils.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC;AAUzC,MAAM,aAAa,GAAuC;IACxD,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,MAAM;IACrB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,MAAM;CAChB,CAAC;AAEF,SAAS,gBAAgB,CAAC,IAAyB;IACjD,MAAM,YAAY,GAAG,MAAM,CAAC;IAC5B,OAAO,IAAI,CAAC,CAAC,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AAK,EAAE;QACxB,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;QAC/B,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAClB;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AASD,MAAM,CAAC,MAAM,YAAY,GAInB;IACJ,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IAC/E,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,sBAAsB,EAAE,QAAQ,EAAE,gBAAgB,EAAE;IAClF,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,sBAAsB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IACnF,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,mBAAmB,EAAE,QAAQ,EAAE,aAAa,EAAE;IACzE,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,yBAAyB,EAAE,QAAQ,EAAE,oBAAoB,EAAE;CAC9F,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { FlashbarProps } from './interfaces';\nimport { IconProps } from '../icon/interfaces';\n\nexport const FOCUS_THROTTLE_DELAY = 2000;\n\n// Since the position of a notification changes when the Flashbar is collapsed,\n// it is useful on some situations (e.g, for animating) to know the original position of the item\n// in the non-collapsed state.\nexport interface StackableItem extends FlashbarProps.MessageDefinition {\n expandedIndex: number;\n collapsedIndex?: number;\n}\n\nconst typesToColors: Record<FlashbarProps.Type, string> = {\n error: 'red',\n info: 'blue',\n 'in-progress': 'blue',\n success: 'green',\n warning: 'blue',\n};\n\nfunction getColorFromType(type?: FlashbarProps.Type): string {\n const defaultColor = 'blue';\n return type ? typesToColors[type] || defaultColor : defaultColor;\n}\n\nexport function getItemType(item: FlashbarProps.MessageDefinition) {\n if (item.loading) {\n return 'in-progress';\n } else {\n return item.type || 'info';\n }\n}\n\nfunction getItemColor(item: FlashbarProps.MessageDefinition) {\n return getColorFromType(getItemType(item));\n}\n\n/*\n Returns a selection of notifications, preserving the order when possible but making sure that all different colors in\n the stack are represented in the returned array.\n The order corresponds to how they are represented when using the collapsible feature (newest first, oldest last).\n */\nexport function getVisibleCollapsedItems(\n items: ReadonlyArray<FlashbarProps.MessageDefinition>,\n desiredLength: number\n): ReadonlyArray<StackableItem> {\n // First `desiredLength` items in the original array,\n // together with `isColorRepeated` to tell if they can be subject to be replaced later on if necessary\n const itemsOnTop: { item: StackableItem; isColorRepeated: boolean }[] = [];\n\n // Items that fall outside `desiredIndexLength` but need to be \"promoted\" if possible\n // because they are of a different color which otherwise wouldn't be represented\n const itemsToPromote: StackableItem[] = [];\n\n const addedColors: Set<string> = new Set();\n const allPossibleColors = Object.keys(typesToColors).length;\n const finalLength = Math.min(items.length, desiredLength);\n\n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n const color = getItemColor(item);\n const isColorRepeated = addedColors.has(color);\n if (i < finalLength) {\n itemsOnTop.push({ item: { ...item, expandedIndex: i }, isColorRepeated });\n } else {\n if (addedColors.size === allPossibleColors) {\n // No need to keep looking for unrepresented colors, we can stop looping\n break;\n } else if (!isColorRepeated) {\n itemsToPromote.push({ ...item, expandedIndex: i });\n }\n }\n addedColors.add(color);\n }\n // Generate the new array with the selected items, by picking from both arrays.\n // First, from the non-repeated items within the desired length...\n // We loop `itemsOnTop` starting from the end because we prefer to preserve the first ones rather than the old ones\n const reversedInitialSelection = [];\n let slotsReservedForPromotions = 0;\n for (let j = itemsOnTop.length - 1; j >= 0; j--) {\n const item = itemsOnTop[j];\n if (item.isColorRepeated && slotsReservedForPromotions < itemsToPromote.length) {\n slotsReservedForPromotions += 1;\n } else {\n reversedInitialSelection.push(item.item);\n }\n }\n const selectedItems = reversedInitialSelection.reverse();\n // ...and then complete the selection with as many promotable items as we can fit in the rest of the array\n for (let k = 0; selectedItems.length < desiredLength; k++) {\n selectedItems.push(itemsToPromote[k]);\n }\n return selectedItems;\n}\n\nexport function getFlashTypeCount(\n items: readonly FlashbarProps.MessageDefinition[]\n): Record<FlashbarProps.Type, number> {\n const count = { error: 0, info: 0, 'in-progress': 0, success: 0, warning: 0 };\n for (const item of items) {\n const type = getItemType(item);\n count[type] += 1;\n }\n return count;\n}\n\nexport type LabelName =\n | 'errorIconAriaLabel'\n | 'warningIconAriaLabel'\n | 'successIconAriaLabel'\n | 'infoIconAriaLabel'\n | 'inProgressIconAriaLabel';\n\nexport const counterTypes: {\n type: FlashbarProps.Type;\n labelName: LabelName;\n iconName: IconProps.Name;\n}[] = [\n { type: 'error', labelName: 'errorIconAriaLabel', iconName: 'status-negative' },\n { type: 'warning', labelName: 'warningIconAriaLabel', iconName: 'status-warning' },\n { type: 'success', labelName: 'successIconAriaLabel', iconName: 'status-positive' },\n { type: 'info', labelName: 'infoIconAriaLabel', iconName: 'status-info' },\n { type: 'in-progress', labelName: 'inProgressIconAriaLabel', iconName: 'status-in-progress' },\n];\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"lib/default/","sources":["flashbar/utils.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC;AAUzC,MAAM,aAAa,GAAuC;IACxD,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,MAAM;IACrB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEF,SAAS,gBAAgB,CAAC,IAAyB;IACjD,MAAM,YAAY,GAAG,MAAM,CAAC;IAC5B,OAAO,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,IAAqC;IAC/D,IAAI,IAAI,CAAC,OAAO,EAAE;QAChB,OAAO,aAAa,CAAC;KACtB;SAAM;QACL,OAAO,IAAI,CAAC,I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,EAAE,SAAS,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IAC/E,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,sBAAsB,EAAE,QAAQ,EAAE,gBAAgB,EAAE;IAClF,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,sBAAsB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IACnF,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,mBAAmB,EAAE,QAAQ,EAAE,aAAa,EAAE;IACzE,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,yBAAyB,EAAE,QAAQ,EAAE,oBAAoB,EAAE;CAC9F,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { FlashbarProps } from './interfaces';\nimport { IconProps } from '../icon/interfaces';\n\nexport const FOCUS_THROTTLE_DELAY = 2000;\n\n// Since the position of a notification changes when the Flashbar is collapsed,\n// it is useful on some situations (e.g, for animating) to know the original position of the item\n// in the non-collapsed state.\nexport interface StackableItem extends FlashbarProps.MessageDefinition {\n expandedIndex: number;\n collapsedIndex?: number;\n}\n\nconst typesToColors: Record<FlashbarProps.Type, string> = {\n error: 'red',\n info: 'blue',\n 'in-progress': 'blue',\n success: 'green',\n warning: 'yellow',\n};\n\nfunction getColorFromType(type?: FlashbarProps.Type): string {\n const defaultColor = 'blue';\n return type ? typesToColors[type] || defaultColor : defaultColor;\n}\n\nexport function getItemType(item: FlashbarProps.MessageDefinition) {\n if (item.loading) {\n return 'in-progress';\n } else {\n return item.type || 'info';\n }\n}\n\nfunction getItemColor(item: FlashbarProps.MessageDefinition) {\n return getColorFromType(getItemType(item));\n}\n\n/*\n Returns a selection of notifications, preserving the order when possible but making sure that all different colors in\n the stack are represented in the returned array.\n The order corresponds to how they are represented when using the collapsible feature (newest first, oldest last).\n */\nexport function getVisibleCollapsedItems(\n items: ReadonlyArray<FlashbarProps.MessageDefinition>,\n desiredLength: number\n): ReadonlyArray<StackableItem> {\n // First `desiredLength` items in the original array,\n // together with `isColorRepeated` to tell if they can be subject to be replaced later on if necessary\n const itemsOnTop: { item: StackableItem; isColorRepeated: boolean }[] = [];\n\n // Items that fall outside `desiredIndexLength` but need to be \"promoted\" if possible\n // because they are of a different color which otherwise wouldn't be represented\n const itemsToPromote: StackableItem[] = [];\n\n const addedColors: Set<string> = new Set();\n const allPossibleColors = Object.keys(typesToColors).length;\n const finalLength = Math.min(items.length, desiredLength);\n\n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n const color = getItemColor(item);\n const isColorRepeated = addedColors.has(color);\n if (i < finalLength) {\n itemsOnTop.push({ item: { ...item, expandedIndex: i }, isColorRepeated });\n } else {\n if (addedColors.size === allPossibleColors) {\n // No need to keep looking for unrepresented colors, we can stop looping\n break;\n } else if (!isColorRepeated) {\n itemsToPromote.push({ ...item, expandedIndex: i });\n }\n }\n addedColors.add(color);\n }\n // Generate the new array with the selected items, by picking from both arrays.\n // First, from the non-repeated items within the desired length...\n // We loop `itemsOnTop` starting from the end because we prefer to preserve the first ones rather than the old ones\n const reversedInitialSelection = [];\n let slotsReservedForPromotions = 0;\n for (let j = itemsOnTop.length - 1; j >= 0; j--) {\n const item = itemsOnTop[j];\n if (item.isColorRepeated && slotsReservedForPromotions < itemsToPromote.length) {\n slotsReservedForPromotions += 1;\n } else {\n reversedInitialSelection.push(item.item);\n }\n }\n const selectedItems = reversedInitialSelection.reverse();\n // ...and then complete the selection with as many promotable items as we can fit in the rest of the array\n for (let k = 0; selectedItems.length < desiredLength; k++) {\n selectedItems.push(itemsToPromote[k]);\n }\n return selectedItems;\n}\n\nexport function getFlashTypeCount(\n items: readonly FlashbarProps.MessageDefinition[]\n): Record<FlashbarProps.Type, number> {\n const count = { error: 0, info: 0, 'in-progress': 0, success: 0, warning: 0 };\n for (const item of items) {\n const type = getItemType(item);\n count[type] += 1;\n }\n return count;\n}\n\nexport type LabelName =\n | 'errorIconAriaLabel'\n | 'warningIconAriaLabel'\n | 'successIconAriaLabel'\n | 'infoIconAriaLabel'\n | 'inProgressIconAriaLabel';\n\nexport const counterTypes: {\n type: FlashbarProps.Type;\n labelName: LabelName;\n iconName: IconProps.Name;\n}[] = [\n { type: 'error', labelName: 'errorIconAriaLabel', iconName: 'status-negative' },\n { type: 'warning', labelName: 'warningIconAriaLabel', iconName: 'status-warning' },\n { type: 'success', labelName: 'successIconAriaLabel', iconName: 'status-positive' },\n { type: 'info', labelName: 'infoIconAriaLabel', iconName: 'status-info' },\n { type: 'in-progress', labelName: 'inProgressIconAriaLabel', iconName: 'status-in-progress' },\n];\n"]}
@@ -1,14 +1,14 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_1i0s3_1jhbi_93",
5
- "header": "awsui_header_1i0s3_1jhbi_106",
6
- "full-page": "awsui_full-page_1i0s3_1jhbi_106",
7
- "content": "awsui_content_1i0s3_1jhbi_110",
8
- "error": "awsui_error_1i0s3_1jhbi_114",
9
- "footer": "awsui_footer_1i0s3_1jhbi_118",
10
- "actions-section": "awsui_actions-section_1i0s3_1jhbi_122",
11
- "secondary-actions": "awsui_secondary-actions_1i0s3_1jhbi_131",
12
- "actions": "awsui_actions_1i0s3_1jhbi_122"
4
+ "root": "awsui_root_1i0s3_jz2jj_93",
5
+ "header": "awsui_header_1i0s3_jz2jj_106",
6
+ "full-page": "awsui_full-page_1i0s3_jz2jj_106",
7
+ "content": "awsui_content_1i0s3_jz2jj_110",
8
+ "error": "awsui_error_1i0s3_jz2jj_114",
9
+ "footer": "awsui_footer_1i0s3_jz2jj_118",
10
+ "actions-section": "awsui_actions-section_1i0s3_jz2jj_122",
11
+ "secondary-actions": "awsui_secondary-actions_1i0s3_jz2jj_131",
12
+ "actions": "awsui_actions_1i0s3_jz2jj_122"
13
13
  };
14
14
 
@@ -90,7 +90,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
90
90
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
- .awsui_root_1i0s3_1jhbi_93:not(#\9) {
93
+ .awsui_root_1i0s3_jz2jj_93:not(#\9) {
94
94
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
95
95
  border-collapse: separate;
96
96
  border-spacing: 0;
@@ -120,48 +120,48 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
120
120
  widows: 2;
121
121
  word-spacing: normal;
122
122
  box-sizing: border-box;
123
- font-size: var(--font-body-m-size-7dign1, 14px);
124
- line-height: var(--font-body-m-line-height-ghizru, 20px);
125
- color: var(--color-text-body-default-su7kuo, #000716);
123
+ font-size: var(--font-body-m-size-dhtyxm, 14px);
124
+ line-height: var(--font-body-m-line-height-5wv9x1, 20px);
125
+ color: var(--color-text-body-default-2sxhhn, #000716);
126
126
  font-weight: 400;
127
- font-family: var(--font-family-base-wn913o, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
127
+ font-family: var(--font-family-base-dnvic8, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
128
128
  -webkit-font-smoothing: auto;
129
129
  -moz-osx-font-smoothing: auto;
130
130
  }
131
131
 
132
- .awsui_header_1i0s3_1jhbi_106:not(#\9):not(.awsui_full-page_1i0s3_1jhbi_106) {
133
- margin-bottom: var(--space-scaled-m-gxhdpl, 16px);
132
+ .awsui_header_1i0s3_jz2jj_106:not(#\9):not(.awsui_full-page_1i0s3_jz2jj_106) {
133
+ margin-bottom: var(--space-scaled-m-mo5yse, 16px);
134
134
  }
135
135
 
136
- .awsui_content_1i0s3_1jhbi_110:not(#\9) {
136
+ .awsui_content_1i0s3_jz2jj_110:not(#\9) {
137
137
  /* used in test-utils */
138
138
  }
139
139
 
140
- .awsui_error_1i0s3_1jhbi_114:not(#\9) {
140
+ .awsui_error_1i0s3_jz2jj_114:not(#\9) {
141
141
  /* used in test-utils */
142
142
  }
143
143
 
144
- .awsui_footer_1i0s3_1jhbi_118:not(#\9) {
145
- margin-top: var(--space-scaled-l-2rs0gk, 20px);
144
+ .awsui_footer_1i0s3_jz2jj_118:not(#\9) {
145
+ margin-top: var(--space-scaled-l-0hpmd7, 20px);
146
146
  }
147
147
 
148
- .awsui_actions-section_1i0s3_1jhbi_122:not(#\9) {
148
+ .awsui_actions-section_1i0s3_jz2jj_122:not(#\9) {
149
149
  display: flex;
150
150
  flex-direction: row-reverse;
151
151
  justify-content: space-between;
152
152
  flex-wrap: wrap;
153
- margin-left: calc(-1 * var(--space-scaled-m-gxhdpl, 16px));
154
- margin-bottom: calc(-1 * var(--space-scaled-m-gxhdpl, 16px));
153
+ margin-left: calc(-1 * var(--space-scaled-m-mo5yse, 16px));
154
+ margin-bottom: calc(-1 * var(--space-scaled-m-mo5yse, 16px));
155
155
  }
156
156
 
157
- .awsui_secondary-actions_1i0s3_1jhbi_131:not(#\9) {
157
+ .awsui_secondary-actions_1i0s3_jz2jj_131:not(#\9) {
158
158
  min-width: 1px;
159
- margin-left: var(--space-scaled-m-gxhdpl, 16px);
160
- margin-bottom: var(--space-scaled-m-gxhdpl, 16px);
159
+ margin-left: var(--space-scaled-m-mo5yse, 16px);
160
+ margin-bottom: var(--space-scaled-m-mo5yse, 16px);
161
161
  }
162
162
 
163
- .awsui_actions_1i0s3_1jhbi_122:not(#\9) {
163
+ .awsui_actions_1i0s3_jz2jj_122:not(#\9) {
164
164
  min-width: 1px;
165
- margin-left: var(--space-scaled-m-gxhdpl, 16px);
166
- margin-bottom: var(--space-scaled-m-gxhdpl, 16px);
165
+ margin-left: var(--space-scaled-m-mo5yse, 16px);
166
+ margin-bottom: var(--space-scaled-m-mo5yse, 16px);
167
167
  }
@@ -2,14 +2,14 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_1i0s3_1jhbi_93",
6
- "header": "awsui_header_1i0s3_1jhbi_106",
7
- "full-page": "awsui_full-page_1i0s3_1jhbi_106",
8
- "content": "awsui_content_1i0s3_1jhbi_110",
9
- "error": "awsui_error_1i0s3_1jhbi_114",
10
- "footer": "awsui_footer_1i0s3_1jhbi_118",
11
- "actions-section": "awsui_actions-section_1i0s3_1jhbi_122",
12
- "secondary-actions": "awsui_secondary-actions_1i0s3_1jhbi_131",
13
- "actions": "awsui_actions_1i0s3_1jhbi_122"
5
+ "root": "awsui_root_1i0s3_jz2jj_93",
6
+ "header": "awsui_header_1i0s3_jz2jj_106",
7
+ "full-page": "awsui_full-page_1i0s3_jz2jj_106",
8
+ "content": "awsui_content_1i0s3_jz2jj_110",
9
+ "error": "awsui_error_1i0s3_jz2jj_114",
10
+ "footer": "awsui_footer_1i0s3_jz2jj_118",
11
+ "actions-section": "awsui_actions-section_1i0s3_jz2jj_122",
12
+ "secondary-actions": "awsui_secondary-actions_1i0s3_jz2jj_131",
13
+ "actions": "awsui_actions_1i0s3_jz2jj_122"
14
14
  };
15
15
 
@@ -1,24 +1,24 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_1gxuk_97",
5
- "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_1gxuk_1",
6
- "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_1gxuk_124",
7
- "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_1gxuk_1",
8
- "error": "awsui_error_14mhv_1gxuk_97",
9
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_1gxuk_1",
10
- "root": "awsui_root_14mhv_1gxuk_168",
11
- "label": "awsui_label_14mhv_1gxuk_182",
12
- "info": "awsui_info_14mhv_1gxuk_195",
13
- "description": "awsui_description_14mhv_1gxuk_200",
14
- "constraint": "awsui_constraint_14mhv_1gxuk_201",
15
- "hints": "awsui_hints_14mhv_1gxuk_208",
16
- "constraint-has-error": "awsui_constraint-has-error_14mhv_1gxuk_209",
17
- "secondary-control": "awsui_secondary-control_14mhv_1gxuk_213",
18
- "controls": "awsui_controls_14mhv_1gxuk_217",
19
- "label-hidden": "awsui_label-hidden_14mhv_1gxuk_217",
20
- "control": "awsui_control_14mhv_1gxuk_217",
21
- "error__message": "awsui_error__message_14mhv_1gxuk_236",
22
- "visually-hidden": "awsui_visually-hidden_14mhv_1gxuk_240"
4
+ "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_1nspc_97",
5
+ "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_1nspc_1",
6
+ "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_1nspc_124",
7
+ "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_1nspc_1",
8
+ "error": "awsui_error_14mhv_1nspc_97",
9
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_1nspc_1",
10
+ "root": "awsui_root_14mhv_1nspc_168",
11
+ "label": "awsui_label_14mhv_1nspc_182",
12
+ "info": "awsui_info_14mhv_1nspc_195",
13
+ "description": "awsui_description_14mhv_1nspc_200",
14
+ "constraint": "awsui_constraint_14mhv_1nspc_201",
15
+ "hints": "awsui_hints_14mhv_1nspc_208",
16
+ "constraint-has-error": "awsui_constraint-has-error_14mhv_1nspc_209",
17
+ "secondary-control": "awsui_secondary-control_14mhv_1nspc_213",
18
+ "controls": "awsui_controls_14mhv_1nspc_217",
19
+ "label-hidden": "awsui_label-hidden_14mhv_1nspc_217",
20
+ "control": "awsui_control_14mhv_1nspc_217",
21
+ "error__message": "awsui_error__message_14mhv_1nspc_236",
22
+ "visually-hidden": "awsui_visually-hidden_14mhv_1nspc_240"
23
23
  };
24
24
 
@@ -94,37 +94,37 @@ 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_error-icon-shake-wrapper_14mhv_1gxuk_97:not(#\9) {
98
- animation: awsui_awsui-motion-shake-horizontally_14mhv_1gxuk_1 var(--motion-duration-refresh-only-medium-wkp575, 165ms);
97
+ .awsui_error-icon-shake-wrapper_14mhv_1nspc_97:not(#\9) {
98
+ animation: awsui_awsui-motion-shake-horizontally_14mhv_1nspc_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms);
99
99
  }
100
- @keyframes awsui_awsui-motion-shake-horizontally_14mhv_1gxuk_1 {
100
+ @keyframes awsui_awsui-motion-shake-horizontally_14mhv_1nspc_1 {
101
101
  0% {
102
102
  transform: translateX(-5px);
103
103
  animation-timing-function: linear;
104
104
  }
105
105
  50% {
106
106
  transform: translateX(5px);
107
- animation-timing-function: var(--motion-easing-refresh-only-a-6ywz7k, cubic-bezier(0, 0, 0, 1));
107
+ animation-timing-function: var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
108
108
  }
109
109
  100% {
110
110
  transform: translateX(0px);
111
111
  }
112
112
  }
113
113
  @media (prefers-reduced-motion: reduce) {
114
- .awsui_error-icon-shake-wrapper_14mhv_1gxuk_97:not(#\9) {
114
+ .awsui_error-icon-shake-wrapper_14mhv_1nspc_97:not(#\9) {
115
115
  animation: none;
116
116
  transition: none;
117
117
  }
118
118
  }
119
- .awsui-motion-disabled .awsui_error-icon-shake-wrapper_14mhv_1gxuk_97:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_1gxuk_97:not(#\9) {
119
+ .awsui-motion-disabled .awsui_error-icon-shake-wrapper_14mhv_1nspc_97:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_1nspc_97:not(#\9) {
120
120
  animation: none;
121
121
  transition: none;
122
122
  }
123
123
 
124
- .awsui_error-icon-scale-wrapper_14mhv_1gxuk_124:not(#\9) {
125
- animation: awsui_awsui-motion-scale-popup_14mhv_1gxuk_1 var(--motion-duration-refresh-only-medium-wkp575, 165ms) var(--motion-easing-refresh-only-a-6ywz7k, cubic-bezier(0, 0, 0, 1));
124
+ .awsui_error-icon-scale-wrapper_14mhv_1nspc_124:not(#\9) {
125
+ animation: awsui_awsui-motion-scale-popup_14mhv_1nspc_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
126
126
  }
127
- @keyframes awsui_awsui-motion-scale-popup_14mhv_1gxuk_1 {
127
+ @keyframes awsui_awsui-motion-scale-popup_14mhv_1nspc_1 {
128
128
  0% {
129
129
  transform: scale(0.95);
130
130
  }
@@ -133,20 +133,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
133
133
  }
134
134
  }
135
135
  @media (prefers-reduced-motion: reduce) {
136
- .awsui_error-icon-scale-wrapper_14mhv_1gxuk_124:not(#\9) {
136
+ .awsui_error-icon-scale-wrapper_14mhv_1nspc_124:not(#\9) {
137
137
  animation: none;
138
138
  transition: none;
139
139
  }
140
140
  }
141
- .awsui-motion-disabled .awsui_error-icon-scale-wrapper_14mhv_1gxuk_124:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_1gxuk_124:not(#\9) {
141
+ .awsui-motion-disabled .awsui_error-icon-scale-wrapper_14mhv_1nspc_124:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_1nspc_124:not(#\9) {
142
142
  animation: none;
143
143
  transition: none;
144
144
  }
145
145
 
146
- .awsui_error_14mhv_1gxuk_97:not(#\9) {
147
- animation: awsui_awsui-motion-fade-in-0_14mhv_1gxuk_1 var(--motion-duration-refresh-only-medium-wkp575, 165ms) var(--motion-easing-refresh-only-a-6ywz7k, cubic-bezier(0, 0, 0, 1));
146
+ .awsui_error_14mhv_1nspc_97:not(#\9) {
147
+ animation: awsui_awsui-motion-fade-in-0_14mhv_1nspc_1 var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-a-8flf9q, cubic-bezier(0, 0, 0, 1));
148
148
  }
149
- @keyframes awsui_awsui-motion-fade-in-0_14mhv_1gxuk_1 {
149
+ @keyframes awsui_awsui-motion-fade-in-0_14mhv_1nspc_1 {
150
150
  from {
151
151
  opacity: 0;
152
152
  }
@@ -155,17 +155,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
155
155
  }
156
156
  }
157
157
  @media (prefers-reduced-motion: reduce) {
158
- .awsui_error_14mhv_1gxuk_97:not(#\9) {
158
+ .awsui_error_14mhv_1nspc_97:not(#\9) {
159
159
  animation: none;
160
160
  transition: none;
161
161
  }
162
162
  }
163
- .awsui-motion-disabled .awsui_error_14mhv_1gxuk_97:not(#\9), .awsui-mode-entering .awsui_error_14mhv_1gxuk_97:not(#\9) {
163
+ .awsui-motion-disabled .awsui_error_14mhv_1nspc_97:not(#\9), .awsui-mode-entering .awsui_error_14mhv_1nspc_97:not(#\9) {
164
164
  animation: none;
165
165
  transition: none;
166
166
  }
167
167
 
168
- .awsui_root_14mhv_1gxuk_168:not(#\9) {
168
+ .awsui_root_14mhv_1nspc_168:not(#\9) {
169
169
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
170
170
  border-collapse: separate;
171
171
  border-spacing: 0;
@@ -195,75 +195,75 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
195
195
  widows: 2;
196
196
  word-spacing: normal;
197
197
  box-sizing: border-box;
198
- font-size: var(--font-body-m-size-7dign1, 14px);
199
- line-height: var(--font-body-m-line-height-ghizru, 20px);
200
- color: var(--color-text-body-default-su7kuo, #000716);
198
+ font-size: var(--font-body-m-size-dhtyxm, 14px);
199
+ line-height: var(--font-body-m-line-height-5wv9x1, 20px);
200
+ color: var(--color-text-body-default-2sxhhn, #000716);
201
201
  font-weight: 400;
202
- font-family: var(--font-family-base-wn913o, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
202
+ font-family: var(--font-family-base-dnvic8, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
203
203
  -webkit-font-smoothing: auto;
204
204
  -moz-osx-font-smoothing: auto;
205
205
  box-sizing: border-box;
206
206
  }
207
207
 
208
- .awsui_label_14mhv_1gxuk_182:not(#\9) {
208
+ .awsui_label_14mhv_1nspc_182:not(#\9) {
209
209
  box-sizing: border-box;
210
- color: var(--color-text-form-label-9b04y0, #000716);
210
+ color: var(--color-text-form-label-ktbzsd, #000716);
211
211
  display: inline;
212
- font-size: var(--font-body-m-size-7dign1, 14px);
213
- line-height: var(--font-body-m-line-height-ghizru, 20px);
214
- font-weight: var(--font-display-label-weight-io22e5, 700);
215
- margin-right: var(--space-xs-edba2s, 8px);
212
+ font-size: var(--font-body-m-size-dhtyxm, 14px);
213
+ line-height: var(--font-body-m-line-height-5wv9x1, 20px);
214
+ font-weight: var(--font-display-label-weight-815ja9, 700);
215
+ margin-right: var(--space-xs-zb16t3, 8px);
216
216
  }
217
- .awsui_label_14mhv_1gxuk_182:not(#\9):only-child {
217
+ .awsui_label_14mhv_1nspc_182:not(#\9):only-child {
218
218
  margin: 0;
219
219
  }
220
220
 
221
- .awsui_info_14mhv_1gxuk_195:not(#\9) {
222
- padding-left: var(--space-xs-edba2s, 8px);
223
- border-left: var(--border-divider-section-width-orq175, 2px) solid var(--color-border-divider-default-9o8zql, #e9ebed);
221
+ .awsui_info_14mhv_1nspc_195:not(#\9) {
222
+ padding-left: var(--space-xs-zb16t3, 8px);
223
+ border-left: var(--border-divider-section-width-4ax5o2, 2px) solid var(--color-border-divider-default-d3adp9, #e9ebed);
224
224
  }
225
225
 
226
- .awsui_description_14mhv_1gxuk_200:not(#\9),
227
- .awsui_constraint_14mhv_1gxuk_201:not(#\9) {
228
- color: var(--color-text-form-secondary-88dttc, #5f6b7a);
229
- font-size: var(--font-body-s-size-6jmxer, 12px);
230
- line-height: var(--font-body-s-line-height-ga8tt7, 16px);
231
- letter-spacing: var(--font-body-s-letter-spacing-v8bwhi, 0.005em);
226
+ .awsui_description_14mhv_1nspc_200:not(#\9),
227
+ .awsui_constraint_14mhv_1nspc_201:not(#\9) {
228
+ color: var(--color-text-form-secondary-dxc248, #5f6b7a);
229
+ font-size: var(--font-body-s-size-8339kg, 12px);
230
+ line-height: var(--font-body-s-line-height-uztvf6, 16px);
231
+ letter-spacing: var(--font-body-s-letter-spacing-4obhmb, 0.005em);
232
232
  }
233
233
 
234
- .awsui_hints_14mhv_1gxuk_208:not(#\9),
235
- .awsui_constraint-has-error_14mhv_1gxuk_209:not(#\9) {
236
- padding-top: var(--space-xxs-ja5cp8, 4px);
234
+ .awsui_hints_14mhv_1nspc_208:not(#\9),
235
+ .awsui_constraint-has-error_14mhv_1nspc_209:not(#\9) {
236
+ padding-top: var(--space-xxs-p8yyaw, 4px);
237
237
  }
238
238
 
239
- .awsui_secondary-control_14mhv_1gxuk_213:not(#\9) {
239
+ .awsui_secondary-control_14mhv_1nspc_213:not(#\9) {
240
240
  /* used in test-utils */
241
241
  }
242
242
 
243
- .awsui_controls_14mhv_1gxuk_217:not(#\9):not(.awsui_label-hidden_14mhv_1gxuk_217) {
244
- padding-top: var(--space-xxs-ja5cp8, 4px);
243
+ .awsui_controls_14mhv_1nspc_217:not(#\9):not(.awsui_label-hidden_14mhv_1nspc_217) {
244
+ padding-top: var(--space-xxs-p8yyaw, 4px);
245
245
  }
246
246
 
247
- .awsui_control_14mhv_1gxuk_217:not(#\9) {
247
+ .awsui_control_14mhv_1nspc_217:not(#\9) {
248
248
  min-width: 0;
249
249
  -ms-word-break: break-all;
250
250
  word-break: break-word;
251
251
  }
252
252
 
253
- .awsui_error_14mhv_1gxuk_97:not(#\9) {
254
- color: var(--color-text-status-error-p6dh5n, #d91515);
255
- font-size: var(--font-body-s-size-6jmxer, 12px);
256
- line-height: var(--font-body-s-line-height-ga8tt7, 16px);
257
- letter-spacing: var(--font-body-s-letter-spacing-v8bwhi, 0.005em);
253
+ .awsui_error_14mhv_1nspc_97:not(#\9) {
254
+ color: var(--color-text-status-error-wdvepn, #d91515);
255
+ font-size: var(--font-body-s-size-8339kg, 12px);
256
+ line-height: var(--font-body-s-line-height-uztvf6, 16px);
257
+ letter-spacing: var(--font-body-s-letter-spacing-4obhmb, 0.005em);
258
258
  display: flex;
259
259
  align-items: flex-start;
260
260
  }
261
261
 
262
- .awsui_error__message_14mhv_1gxuk_236:not(#\9) {
263
- margin-left: var(--space-xxs-ja5cp8, 4px);
262
+ .awsui_error__message_14mhv_1nspc_236:not(#\9) {
263
+ margin-left: var(--space-xxs-p8yyaw, 4px);
264
264
  }
265
265
 
266
- .awsui_visually-hidden_14mhv_1gxuk_240:not(#\9) {
266
+ .awsui_visually-hidden_14mhv_1nspc_240:not(#\9) {
267
267
  position: absolute !important;
268
268
  top: -9999px !important;
269
269
  left: -9999px !important;
@@ -2,24 +2,24 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_1gxuk_97",
6
- "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_1gxuk_1",
7
- "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_1gxuk_124",
8
- "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_1gxuk_1",
9
- "error": "awsui_error_14mhv_1gxuk_97",
10
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_1gxuk_1",
11
- "root": "awsui_root_14mhv_1gxuk_168",
12
- "label": "awsui_label_14mhv_1gxuk_182",
13
- "info": "awsui_info_14mhv_1gxuk_195",
14
- "description": "awsui_description_14mhv_1gxuk_200",
15
- "constraint": "awsui_constraint_14mhv_1gxuk_201",
16
- "hints": "awsui_hints_14mhv_1gxuk_208",
17
- "constraint-has-error": "awsui_constraint-has-error_14mhv_1gxuk_209",
18
- "secondary-control": "awsui_secondary-control_14mhv_1gxuk_213",
19
- "controls": "awsui_controls_14mhv_1gxuk_217",
20
- "label-hidden": "awsui_label-hidden_14mhv_1gxuk_217",
21
- "control": "awsui_control_14mhv_1gxuk_217",
22
- "error__message": "awsui_error__message_14mhv_1gxuk_236",
23
- "visually-hidden": "awsui_visually-hidden_14mhv_1gxuk_240"
5
+ "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_1nspc_97",
6
+ "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_1nspc_1",
7
+ "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_1nspc_124",
8
+ "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_1nspc_1",
9
+ "error": "awsui_error_14mhv_1nspc_97",
10
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_1nspc_1",
11
+ "root": "awsui_root_14mhv_1nspc_168",
12
+ "label": "awsui_label_14mhv_1nspc_182",
13
+ "info": "awsui_info_14mhv_1nspc_195",
14
+ "description": "awsui_description_14mhv_1nspc_200",
15
+ "constraint": "awsui_constraint_14mhv_1nspc_201",
16
+ "hints": "awsui_hints_14mhv_1nspc_208",
17
+ "constraint-has-error": "awsui_constraint-has-error_14mhv_1nspc_209",
18
+ "secondary-control": "awsui_secondary-control_14mhv_1nspc_213",
19
+ "controls": "awsui_controls_14mhv_1nspc_217",
20
+ "label-hidden": "awsui_label-hidden_14mhv_1nspc_217",
21
+ "control": "awsui_control_14mhv_1nspc_217",
22
+ "error__message": "awsui_error__message_14mhv_1nspc_236",
23
+ "visually-hidden": "awsui_visually-hidden_14mhv_1nspc_240"
24
24
  };
25
25