@cloudscape-design/components 3.0.193 → 3.0.195

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 (347) hide show
  1. package/alert/styles.css.js +19 -19
  2. package/alert/styles.scoped.css +33 -33
  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 +32 -32
  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 +8 -8
  9. package/app-layout/content-wrapper/styles.selectors.js +3 -3
  10. package/app-layout/mobile-toolbar/styles.css.js +4 -4
  11. package/app-layout/mobile-toolbar/styles.scoped.css +9 -9
  12. package/app-layout/mobile-toolbar/styles.selectors.js +4 -4
  13. package/app-layout/notifications/styles.css.js +1 -1
  14. package/app-layout/notifications/styles.scoped.css +2 -1
  15. package/app-layout/notifications/styles.selectors.js +1 -1
  16. package/app-layout/styles.css.js +26 -26
  17. package/app-layout/styles.scoped.css +35 -35
  18. package/app-layout/styles.selectors.js +26 -26
  19. package/app-layout/toggles/styles.css.js +1 -1
  20. package/app-layout/toggles/styles.scoped.css +3 -3
  21. package/app-layout/toggles/styles.selectors.js +1 -1
  22. package/app-layout/visual-refresh/styles.css.js +60 -60
  23. package/app-layout/visual-refresh/styles.scoped.css +225 -224
  24. package/app-layout/visual-refresh/styles.selectors.js +60 -60
  25. package/area-chart/styles.css.js +13 -13
  26. package/area-chart/styles.scoped.css +18 -18
  27. package/area-chart/styles.selectors.js +13 -13
  28. package/attribute-editor/interfaces.d.ts +1 -0
  29. package/attribute-editor/interfaces.d.ts.map +1 -1
  30. package/attribute-editor/interfaces.js.map +1 -1
  31. package/attribute-editor/internal.d.ts.map +1 -1
  32. package/attribute-editor/internal.js +17 -2
  33. package/attribute-editor/internal.js.map +1 -1
  34. package/attribute-editor/styles.css.js +14 -14
  35. package/attribute-editor/styles.scoped.css +26 -26
  36. package/attribute-editor/styles.selectors.js +14 -14
  37. package/badge/styles.css.js +5 -5
  38. package/badge/styles.scoped.css +7 -7
  39. package/badge/styles.selectors.js +5 -5
  40. package/box/styles.css.js +189 -189
  41. package/box/styles.scoped.css +240 -240
  42. package/box/styles.selectors.js +189 -189
  43. package/breadcrumb-group/item/styles.css.js +9 -9
  44. package/breadcrumb-group/item/styles.scoped.css +19 -19
  45. package/breadcrumb-group/item/styles.selectors.js +9 -9
  46. package/breadcrumb-group/styles.css.js +6 -6
  47. package/breadcrumb-group/styles.scoped.css +13 -13
  48. package/breadcrumb-group/styles.selectors.js +6 -6
  49. package/button/styles.css.js +18 -18
  50. package/button/styles.scoped.css +138 -138
  51. package/button/styles.selectors.js +18 -18
  52. package/button-dropdown/category-elements/styles.css.js +13 -13
  53. package/button-dropdown/category-elements/styles.scoped.css +25 -25
  54. package/button-dropdown/category-elements/styles.selectors.js +13 -13
  55. package/button-dropdown/item-element/styles.css.js +14 -14
  56. package/button-dropdown/item-element/styles.scoped.css +20 -20
  57. package/button-dropdown/item-element/styles.selectors.js +14 -14
  58. package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
  59. package/button-dropdown/mobile-expandable-group/styles.scoped.css +7 -7
  60. package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
  61. package/button-dropdown/styles.css.js +8 -8
  62. package/button-dropdown/styles.scoped.css +16 -16
  63. package/button-dropdown/styles.selectors.js +8 -8
  64. package/calendar/styles.css.js +18 -18
  65. package/calendar/styles.scoped.css +40 -40
  66. package/calendar/styles.selectors.js +18 -18
  67. package/cards/styles.css.js +37 -37
  68. package/cards/styles.scoped.css +122 -57
  69. package/cards/styles.selectors.js +37 -37
  70. package/checkbox/styles.css.js +3 -3
  71. package/checkbox/styles.scoped.css +7 -7
  72. package/checkbox/styles.selectors.js +3 -3
  73. package/code-editor/styles.css.js +32 -32
  74. package/code-editor/styles.scoped.css +111 -111
  75. package/code-editor/styles.selectors.js +32 -32
  76. package/collection-preferences/styles.css.js +20 -20
  77. package/collection-preferences/styles.scoped.css +25 -25
  78. package/collection-preferences/styles.selectors.js +20 -20
  79. package/column-layout/styles.css.js +13 -13
  80. package/column-layout/styles.scoped.css +45 -45
  81. package/column-layout/styles.selectors.js +13 -13
  82. package/container/internal.d.ts.map +1 -1
  83. package/container/internal.js +1 -1
  84. package/container/internal.js.map +1 -1
  85. package/container/styles.css.js +18 -17
  86. package/container/styles.scoped.css +107 -44
  87. package/container/styles.selectors.js +18 -17
  88. package/container/use-sticky-header.d.ts.map +1 -1
  89. package/container/use-sticky-header.js +4 -15
  90. package/container/use-sticky-header.js.map +1 -1
  91. package/content-layout/styles.css.js +7 -7
  92. package/content-layout/styles.scoped.css +13 -13
  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 +11 -11
  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 +44 -44
  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 +15 -15
  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 +47 -47
  105. package/date-range-picker/styles.selectors.js +38 -38
  106. package/expandable-section/styles.css.js +21 -21
  107. package/expandable-section/styles.scoped.css +44 -44
  108. package/expandable-section/styles.selectors.js +21 -21
  109. package/flashbar/collapsible-flashbar.d.ts +2 -2
  110. package/flashbar/collapsible-flashbar.d.ts.map +1 -1
  111. package/flashbar/collapsible-flashbar.js +19 -9
  112. package/flashbar/collapsible-flashbar.js.map +1 -1
  113. package/flashbar/common.d.ts +2 -2
  114. package/flashbar/common.d.ts.map +1 -1
  115. package/flashbar/common.js.map +1 -1
  116. package/flashbar/index.d.ts +2 -2
  117. package/flashbar/index.d.ts.map +1 -1
  118. package/flashbar/index.js +1 -4
  119. package/flashbar/index.js.map +1 -1
  120. package/flashbar/interfaces.d.ts +30 -17
  121. package/flashbar/interfaces.d.ts.map +1 -1
  122. package/flashbar/interfaces.js.map +1 -1
  123. package/flashbar/non-collapsible-flashbar.d.ts +2 -2
  124. package/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
  125. package/flashbar/non-collapsible-flashbar.js.map +1 -1
  126. package/flashbar/styles.css.js +43 -43
  127. package/flashbar/styles.scoped.css +152 -163
  128. package/flashbar/styles.selectors.js +43 -43
  129. package/flashbar/utils.d.ts +1 -0
  130. package/flashbar/utils.d.ts.map +1 -1
  131. package/flashbar/utils.js +3 -0
  132. package/flashbar/utils.js.map +1 -1
  133. package/form/styles.css.js +8 -8
  134. package/form/styles.scoped.css +10 -10
  135. package/form/styles.selectors.js +8 -8
  136. package/form-field/styles.css.js +19 -19
  137. package/form-field/styles.scoped.css +31 -31
  138. package/form-field/styles.selectors.js +19 -19
  139. package/grid/styles.css.js +53 -53
  140. package/grid/styles.scoped.css +56 -56
  141. package/grid/styles.selectors.js +53 -53
  142. package/header/styles.css.js +44 -44
  143. package/header/styles.scoped.css +49 -49
  144. package/header/styles.selectors.js +44 -44
  145. package/help-panel/styles.css.js +4 -4
  146. package/help-panel/styles.scoped.css +60 -60
  147. package/help-panel/styles.selectors.js +4 -4
  148. package/hotspot/styles.css.js +7 -7
  149. package/hotspot/styles.scoped.css +9 -9
  150. package/hotspot/styles.selectors.js +7 -7
  151. package/icon/styles.css.js +21 -21
  152. package/icon/styles.scoped.css +50 -50
  153. package/icon/styles.selectors.js +21 -21
  154. package/input/styles.css.js +12 -12
  155. package/input/styles.scoped.css +32 -32
  156. package/input/styles.selectors.js +12 -12
  157. package/internal/base-component/styles.scoped.css +6 -6
  158. package/internal/components/abstract-switch/styles.css.js +12 -12
  159. package/internal/components/abstract-switch/styles.scoped.css +21 -21
  160. package/internal/components/abstract-switch/styles.selectors.js +12 -12
  161. package/internal/components/button-trigger/styles.css.js +9 -9
  162. package/internal/components/button-trigger/styles.scoped.css +25 -25
  163. package/internal/components/button-trigger/styles.selectors.js +9 -9
  164. package/internal/components/chart-filter/styles.css.js +3 -3
  165. package/internal/components/chart-filter/styles.scoped.css +5 -5
  166. package/internal/components/chart-filter/styles.selectors.js +3 -3
  167. package/internal/components/chart-legend/styles.css.js +6 -6
  168. package/internal/components/chart-legend/styles.scoped.css +17 -17
  169. package/internal/components/chart-legend/styles.selectors.js +6 -6
  170. package/internal/components/chart-plot/styles.css.js +5 -5
  171. package/internal/components/chart-plot/styles.scoped.css +7 -7
  172. package/internal/components/chart-plot/styles.selectors.js +5 -5
  173. package/internal/components/chart-popover/styles.css.js +3 -3
  174. package/internal/components/chart-popover/styles.scoped.css +5 -5
  175. package/internal/components/chart-popover/styles.selectors.js +3 -3
  176. package/internal/components/chart-series-details/styles.css.js +5 -5
  177. package/internal/components/chart-series-details/styles.scoped.css +10 -10
  178. package/internal/components/chart-series-details/styles.selectors.js +5 -5
  179. package/internal/components/chart-series-marker/styles.css.js +5 -5
  180. package/internal/components/chart-series-marker/styles.scoped.css +9 -9
  181. package/internal/components/chart-series-marker/styles.selectors.js +5 -5
  182. package/internal/components/checkbox-icon/styles.css.js +7 -7
  183. package/internal/components/checkbox-icon/styles.scoped.css +10 -10
  184. package/internal/components/checkbox-icon/styles.selectors.js +7 -7
  185. package/internal/components/dropdown/styles.css.js +20 -20
  186. package/internal/components/dropdown/styles.scoped.css +37 -37
  187. package/internal/components/dropdown/styles.selectors.js +20 -20
  188. package/internal/components/dropdown-footer/styles.css.js +3 -3
  189. package/internal/components/dropdown-footer/styles.scoped.css +5 -5
  190. package/internal/components/dropdown-footer/styles.selectors.js +3 -3
  191. package/internal/components/dropdown-status/styles.css.js +2 -2
  192. package/internal/components/dropdown-status/styles.scoped.css +4 -4
  193. package/internal/components/dropdown-status/styles.selectors.js +2 -2
  194. package/internal/components/filtering-token/styles.css.js +7 -7
  195. package/internal/components/filtering-token/styles.scoped.css +15 -15
  196. package/internal/components/filtering-token/styles.selectors.js +7 -7
  197. package/internal/components/menu-dropdown/styles.css.js +7 -7
  198. package/internal/components/menu-dropdown/styles.scoped.css +15 -15
  199. package/internal/components/menu-dropdown/styles.selectors.js +7 -7
  200. package/internal/components/option/styles.css.js +17 -17
  201. package/internal/components/option/styles.scoped.css +31 -31
  202. package/internal/components/option/styles.selectors.js +17 -17
  203. package/internal/components/options-list/styles.css.js +2 -2
  204. package/internal/components/options-list/styles.scoped.css +4 -4
  205. package/internal/components/options-list/styles.selectors.js +2 -2
  206. package/internal/components/screenreader-only/styles.css.js +1 -1
  207. package/internal/components/screenreader-only/styles.scoped.css +3 -3
  208. package/internal/components/screenreader-only/styles.selectors.js +1 -1
  209. package/internal/components/selectable-item/styles.css.js +16 -16
  210. package/internal/components/selectable-item/styles.scoped.css +29 -29
  211. package/internal/components/selectable-item/styles.selectors.js +16 -16
  212. package/internal/environment.js +1 -1
  213. package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  214. package/internal/generated/custom-css-properties/index.js +28 -27
  215. package/internal/generated/custom-css-properties/index.js.map +1 -1
  216. package/internal/generated/theming/index.cjs +6 -6
  217. package/internal/generated/theming/index.js +6 -6
  218. package/internal/manifest.json +1 -1
  219. package/link/styles.css.js +20 -20
  220. package/link/styles.scoped.css +73 -73
  221. package/link/styles.selectors.js +20 -20
  222. package/mixed-line-bar-chart/styles.css.js +19 -19
  223. package/mixed-line-bar-chart/styles.scoped.css +28 -28
  224. package/mixed-line-bar-chart/styles.selectors.js +19 -19
  225. package/modal/styles.css.js +22 -22
  226. package/modal/styles.scoped.css +40 -47
  227. package/modal/styles.selectors.js +22 -22
  228. package/multiselect/styles.css.js +1 -1
  229. package/multiselect/styles.scoped.css +3 -3
  230. package/multiselect/styles.selectors.js +1 -1
  231. package/package.json +1 -1
  232. package/pagination/styles.css.js +9 -9
  233. package/pagination/styles.scoped.css +25 -25
  234. package/pagination/styles.selectors.js +9 -9
  235. package/pie-chart/styles.css.js +27 -27
  236. package/pie-chart/styles.scoped.css +45 -45
  237. package/pie-chart/styles.selectors.js +27 -27
  238. package/popover/styles.css.js +50 -50
  239. package/popover/styles.scoped.css +73 -73
  240. package/popover/styles.selectors.js +50 -50
  241. package/progress-bar/styles.css.js +18 -18
  242. package/progress-bar/styles.scoped.css +36 -36
  243. package/progress-bar/styles.selectors.js +18 -18
  244. package/property-filter/styles.css.js +33 -33
  245. package/property-filter/styles.scoped.css +37 -37
  246. package/property-filter/styles.selectors.js +33 -33
  247. package/radio-group/styles.css.js +9 -9
  248. package/radio-group/styles.scoped.css +17 -17
  249. package/radio-group/styles.selectors.js +9 -9
  250. package/segmented-control/styles.css.js +14 -14
  251. package/segmented-control/styles.scoped.css +35 -35
  252. package/segmented-control/styles.selectors.js +14 -14
  253. package/select/parts/styles.css.js +9 -9
  254. package/select/parts/styles.scoped.css +14 -14
  255. package/select/parts/styles.selectors.js +9 -9
  256. package/select/styles.css.js +1 -1
  257. package/select/styles.scoped.css +3 -3
  258. package/select/styles.selectors.js +1 -1
  259. package/side-navigation/styles.css.js +26 -26
  260. package/side-navigation/styles.scoped.css +38 -38
  261. package/side-navigation/styles.selectors.js +26 -26
  262. package/space-between/styles.css.js +28 -28
  263. package/space-between/styles.scoped.css +31 -31
  264. package/space-between/styles.selectors.js +28 -28
  265. package/spinner/styles.css.js +13 -13
  266. package/spinner/styles.scoped.css +20 -20
  267. package/spinner/styles.selectors.js +13 -13
  268. package/split-panel/styles.css.js +59 -59
  269. package/split-panel/styles.scoped.css +85 -85
  270. package/split-panel/styles.selectors.js +59 -59
  271. package/status-indicator/styles.css.js +20 -20
  272. package/status-indicator/styles.scoped.css +28 -28
  273. package/status-indicator/styles.selectors.js +20 -20
  274. package/table/body-cell/styles.css.js +18 -18
  275. package/table/body-cell/styles.scoped.css +52 -52
  276. package/table/body-cell/styles.selectors.js +18 -18
  277. package/table/header-cell/styles.css.js +19 -19
  278. package/table/header-cell/styles.scoped.css +33 -33
  279. package/table/header-cell/styles.selectors.js +19 -19
  280. package/table/resizer/styles.css.js +6 -6
  281. package/table/resizer/styles.scoped.css +13 -13
  282. package/table/resizer/styles.selectors.js +6 -6
  283. package/table/selection-control/styles.css.js +3 -3
  284. package/table/selection-control/styles.scoped.css +5 -5
  285. package/table/selection-control/styles.selectors.js +3 -3
  286. package/table/styles.css.js +33 -33
  287. package/table/styles.scoped.css +41 -41
  288. package/table/styles.selectors.js +33 -33
  289. package/tabs/styles.css.js +21 -21
  290. package/tabs/styles.scoped.css +42 -42
  291. package/tabs/styles.selectors.js +21 -21
  292. package/tag-editor/interfaces.d.ts +1 -0
  293. package/tag-editor/interfaces.d.ts.map +1 -1
  294. package/tag-editor/interfaces.js.map +1 -1
  295. package/tag-editor/styles.css.js +3 -3
  296. package/tag-editor/styles.scoped.css +12 -12
  297. package/tag-editor/styles.selectors.js +3 -3
  298. package/test-utils/dom/flashbar/index.d.ts +2 -0
  299. package/test-utils/dom/flashbar/index.js +2 -0
  300. package/test-utils/dom/flashbar/index.js.map +1 -1
  301. package/test-utils/selectors/flashbar/index.d.ts +2 -0
  302. package/test-utils/selectors/flashbar/index.js +2 -0
  303. package/test-utils/selectors/flashbar/index.js.map +1 -1
  304. package/test-utils/tsconfig.tsbuildinfo +1 -1
  305. package/text-content/styles.css.js +1 -1
  306. package/text-content/styles.scoped.css +62 -62
  307. package/text-content/styles.selectors.js +1 -1
  308. package/text-filter/styles.css.js +4 -4
  309. package/text-filter/styles.scoped.css +6 -6
  310. package/text-filter/styles.selectors.js +4 -4
  311. package/textarea/styles.css.js +4 -4
  312. package/textarea/styles.scoped.css +14 -14
  313. package/textarea/styles.selectors.js +4 -4
  314. package/tiles/styles.css.js +28 -28
  315. package/tiles/styles.scoped.css +70 -70
  316. package/tiles/styles.selectors.js +28 -28
  317. package/toggle/styles.css.js +8 -8
  318. package/toggle/styles.scoped.css +15 -15
  319. package/toggle/styles.selectors.js +8 -8
  320. package/token-group/styles.css.js +7 -7
  321. package/token-group/styles.scoped.css +24 -24
  322. package/token-group/styles.selectors.js +7 -7
  323. package/top-navigation/1.0-beta/styles.css.js +25 -25
  324. package/top-navigation/1.0-beta/styles.scoped.css +44 -44
  325. package/top-navigation/1.0-beta/styles.selectors.js +25 -25
  326. package/top-navigation/styles.css.js +47 -47
  327. package/top-navigation/styles.scoped.css +68 -68
  328. package/top-navigation/styles.selectors.js +47 -47
  329. package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
  330. package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +23 -23
  331. package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
  332. package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  333. package/tutorial-panel/components/tutorial-list/styles.scoped.css +29 -29
  334. package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  335. package/tutorial-panel/styles.css.js +1 -1
  336. package/tutorial-panel/styles.scoped.css +3 -3
  337. package/tutorial-panel/styles.selectors.js +1 -1
  338. package/wizard/index.d.ts.map +1 -1
  339. package/wizard/index.js +5 -4
  340. package/wizard/index.js.map +1 -1
  341. package/wizard/internal/analytics.d.ts +3 -3
  342. package/wizard/internal/analytics.d.ts.map +1 -1
  343. package/wizard/internal/analytics.js +6 -11
  344. package/wizard/internal/analytics.js.map +1 -1
  345. package/wizard/styles.css.js +32 -32
  346. package/wizard/styles.scoped.css +98 -64
  347. package/wizard/styles.selectors.js +32 -32
@@ -2,48 +2,48 @@
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_1y0ju_93",
6
- "enter": "awsui_enter_1q84n_1y0ju_93",
7
- "flash-body": "awsui_flash-body_1q84n_1y0ju_107",
8
- "flash-message": "awsui_flash-message_1q84n_1y0ju_107",
9
- "flash-header": "awsui_flash-header_1q84n_1y0ju_107",
10
- "flash-content": "awsui_flash-content_1q84n_1y0ju_108",
11
- "action-button-wrapper": "awsui_action-button-wrapper_1q84n_1y0ju_109",
12
- "dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_1y0ju_110",
13
- "flash-icon": "awsui_flash-icon_1q84n_1y0ju_133",
14
- "entering": "awsui_entering_1q84n_1y0ju_146",
15
- "entered": "awsui_entered_1q84n_1y0ju_167",
16
- "exiting": "awsui_exiting_1q84n_1y0ju_272",
17
- "stack": "awsui_stack_1q84n_1y0ju_294",
18
- "animation-running": "awsui_animation-running_1q84n_1y0ju_294",
19
- "item": "awsui_item_1q84n_1y0ju_294",
20
- "flash-list-item": "awsui_flash-list-item_1q84n_1y0ju_295",
21
- "toggle": "awsui_toggle_1q84n_1y0ju_296",
22
- "collapsed": "awsui_collapsed_1q84n_1y0ju_316",
23
- "animation-ready": "awsui_animation-ready_1q84n_1y0ju_316",
24
- "expanded-only": "awsui_expanded-only_1q84n_1y0ju_316",
25
- "expanded": "awsui_expanded_1q84n_1y0ju_316",
26
- "flash": "awsui_flash_1q84n_1y0ju_93",
27
- "status": "awsui_status_1q84n_1y0ju_403",
28
- "header": "awsui_header_1q84n_1y0ju_403",
29
- "item-count": "awsui_item-count_1q84n_1y0ju_404",
30
- "button": "awsui_button_1q84n_1y0ju_405",
31
- "type-count": "awsui_type-count_1q84n_1y0ju_430",
32
- "count-number": "awsui_count-number_1q84n_1y0ju_430",
33
- "visual-refresh": "awsui_visual-refresh_1q84n_1y0ju_443",
34
- "icon": "awsui_icon_1q84n_1y0ju_493",
35
- "spaced-bottom": "awsui_spaced-bottom_1q84n_1y0ju_531",
36
- "flashbar": "awsui_flashbar_1q84n_1y0ju_539",
37
- "flash-refresh": "awsui_flash-refresh_1q84n_1y0ju_579",
38
- "flash-list": "awsui_flash-list_1q84n_1y0ju_295",
39
- "flash-focus-container": "awsui_flash-focus-container_1q84n_1y0ju_611",
40
- "flash-text": "awsui_flash-text_1q84n_1y0ju_638",
41
- "dismiss-button": "awsui_dismiss-button_1q84n_1y0ju_110",
42
- "breakpoint-default": "awsui_breakpoint-default_1q84n_1y0ju_679",
43
- "action-button": "awsui_action-button_1q84n_1y0ju_109",
44
- "flash-type-success": "awsui_flash-type-success_1q84n_1y0ju_692",
45
- "flash-type-error": "awsui_flash-type-error_1q84n_1y0ju_696",
46
- "flash-type-warning": "awsui_flash-type-warning_1q84n_1y0ju_700",
47
- "flash-type-info": "awsui_flash-type-info_1q84n_1y0ju_704"
5
+ "flash-with-motion": "awsui_flash-with-motion_1q84n_1pai3_93",
6
+ "enter": "awsui_enter_1q84n_1pai3_93",
7
+ "flash-body": "awsui_flash-body_1q84n_1pai3_107",
8
+ "flash-message": "awsui_flash-message_1q84n_1pai3_107",
9
+ "flash-header": "awsui_flash-header_1q84n_1pai3_107",
10
+ "flash-content": "awsui_flash-content_1q84n_1pai3_108",
11
+ "action-button-wrapper": "awsui_action-button-wrapper_1q84n_1pai3_109",
12
+ "dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_1pai3_110",
13
+ "flash-icon": "awsui_flash-icon_1q84n_1pai3_133",
14
+ "entering": "awsui_entering_1q84n_1pai3_146",
15
+ "entered": "awsui_entered_1q84n_1pai3_167",
16
+ "exiting": "awsui_exiting_1q84n_1pai3_272",
17
+ "stack": "awsui_stack_1q84n_1pai3_294",
18
+ "animation-running": "awsui_animation-running_1q84n_1pai3_294",
19
+ "item": "awsui_item_1q84n_1pai3_294",
20
+ "flash-list-item": "awsui_flash-list-item_1q84n_1pai3_295",
21
+ "notification-bar": "awsui_notification-bar_1q84n_1pai3_296",
22
+ "collapsed": "awsui_collapsed_1q84n_1pai3_316",
23
+ "animation-ready": "awsui_animation-ready_1q84n_1pai3_316",
24
+ "expanded-only": "awsui_expanded-only_1q84n_1pai3_316",
25
+ "expanded": "awsui_expanded_1q84n_1pai3_316",
26
+ "flash": "awsui_flash_1q84n_1pai3_93",
27
+ "status": "awsui_status_1q84n_1pai3_403",
28
+ "header": "awsui_header_1q84n_1pai3_403",
29
+ "item-count": "awsui_item-count_1q84n_1pai3_404",
30
+ "button": "awsui_button_1q84n_1pai3_405",
31
+ "type-count": "awsui_type-count_1q84n_1pai3_430",
32
+ "count-number": "awsui_count-number_1q84n_1pai3_430",
33
+ "visual-refresh": "awsui_visual-refresh_1q84n_1pai3_443",
34
+ "icon": "awsui_icon_1q84n_1pai3_493",
35
+ "floating": "awsui_floating_1q84n_1pai3_531",
36
+ "flashbar": "awsui_flashbar_1q84n_1pai3_539",
37
+ "flash-refresh": "awsui_flash-refresh_1q84n_1pai3_581",
38
+ "flash-list": "awsui_flash-list_1q84n_1pai3_295",
39
+ "flash-focus-container": "awsui_flash-focus-container_1q84n_1pai3_600",
40
+ "flash-text": "awsui_flash-text_1q84n_1pai3_627",
41
+ "dismiss-button": "awsui_dismiss-button_1q84n_1pai3_110",
42
+ "breakpoint-default": "awsui_breakpoint-default_1q84n_1pai3_668",
43
+ "action-button": "awsui_action-button_1q84n_1pai3_109",
44
+ "flash-type-success": "awsui_flash-type-success_1q84n_1pai3_681",
45
+ "flash-type-error": "awsui_flash-type-error_1q84n_1pai3_685",
46
+ "flash-type-warning": "awsui_flash-type-warning_1q84n_1pai3_689",
47
+ "flash-type-info": "awsui_flash-type-info_1q84n_1pai3_693"
48
48
  };
49
49
 
@@ -14,4 +14,5 @@ export declare const counterTypes: {
14
14
  labelName: LabelName;
15
15
  iconName: IconProps.Name;
16
16
  }[];
17
+ export declare function isElementTopBeyondViewport(element: HTMLElement): boolean;
17
18
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/flashbar/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAKzC,MAAM,WAAW,aAAc,SAAQ,aAAa,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9B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,aAAa,CAAC,iBAAiB,EAAE,GAAG,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAO9G;AAED,MAAM,MAAM,SAAS,GACjB,oBAAoB,GACpB,sBAAsB,GACtB,sBAAsB,GACtB,mBAAmB,GACnB,yBAAyB,CAAC;AAE9B,eAAO,MAAM,YAAY,EAAE;IACzB,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC;CAC1B,EAMA,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,WAAW,WAE9D"}
package/flashbar/utils.js CHANGED
@@ -92,4 +92,7 @@ export var counterTypes = [
92
92
  { type: 'info', labelName: 'infoIconAriaLabel', iconName: 'status-info' },
93
93
  { type: 'progress', labelName: 'inProgressIconAriaLabel', iconName: 'status-in-progress' },
94
94
  ];
95
+ export function isElementTopBeyondViewport(element) {
96
+ return element.getBoundingClientRect().top < 0;
97
+ }
95
98
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/flashbar/utils.ts"],"names":[],"mappings":";AAKA,MAAM,CAAC,IAAM,oBAAoB,GAAG,IAAI,CAAC;AAUzC,IAAM,aAAa,GAA8B;IAC/C,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,MAAM;CAChB,CAAC;AAEF,SAAS,gBAAgB,CAAC,IAAgB;IACxC,IAAM,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,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AAC,IAAI,CAAC,CAAC;KAClB;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AASD,MAAM,CAAC,IAAM,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,UAAU,EAAE,SAAS,EAAE,yBAAyB,EAAE,QAAQ,EAAE,oBAAoB,EAAE;CAC3F,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { FlashbarProps, FlashType } 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<FlashType, string> = {\n error: 'red',\n info: 'blue',\n progress: 'blue',\n success: 'green',\n warning: 'blue',\n};\n\nfunction getColorFromType(type?: FlashType): 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 '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(items: readonly FlashbarProps.MessageDefinition[]): Record<FlashType, number> {\n const count = { error: 0, info: 0, 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: FlashType;\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: 'progress', labelName: 'inProgressIconAriaLabel', iconName: 'status-in-progress' },\n];\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/flashbar/utils.ts"],"names":[],"mappings":";AAKA,MAAM,CAAC,IAAM,oBAAoB,GAAG,IAAI,CAAC;AAUzC,IAAM,aAAa,GAA8B;IAC/C,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,MAAM;CAChB,CAAC;AAEF,SAAS,gBAAgB,CAAC,IAAgB;IACxC,IAAM,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,UAAU,CAAC;KACnB;SAAM;QACL,OAAO,IAAI,CAAC,IAAI,IAAI,MAAM,CAAC;KAC5B;AACH,CAAC;AAED,SAAS,YAAY,CAAC,IAAqC;IACzD,OAAO,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC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E,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,UAAU,EAAE,SAAS,EAAE,yBAAyB,EAAE,QAAQ,EAAE,oBAAoB,EAAE;CAC3F,CAAC;AAEF,MAAM,UAAU,0BAA0B,CAAC,OAAoB;IAC7D,OAAO,OAAO,CAAC,qBAAqB,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC;AACjD,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { FlashbarProps, FlashType } 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<FlashType, string> = {\n error: 'red',\n info: 'blue',\n progress: 'blue',\n success: 'green',\n warning: 'blue',\n};\n\nfunction getColorFromType(type?: FlashType): 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 '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(items: readonly FlashbarProps.MessageDefinition[]): Record<FlashType, number> {\n const count = { error: 0, info: 0, 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: FlashType;\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: 'progress', labelName: 'inProgressIconAriaLabel', iconName: 'status-in-progress' },\n];\n\nexport function isElementTopBeyondViewport(element: HTMLElement) {\n return element.getBoundingClientRect().top < 0;\n}\n"]}
@@ -1,13 +1,13 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_1i0s3_1ejy1_93",
5
- "header": "awsui_header_1i0s3_1ejy1_106",
6
- "content": "awsui_content_1i0s3_1ejy1_110",
7
- "error": "awsui_error_1i0s3_1ejy1_114",
8
- "footer": "awsui_footer_1i0s3_1ejy1_118",
9
- "actions-section": "awsui_actions-section_1i0s3_1ejy1_122",
10
- "secondary-actions": "awsui_secondary-actions_1i0s3_1ejy1_131",
11
- "actions": "awsui_actions_1i0s3_1ejy1_122"
4
+ "root": "awsui_root_1i0s3_ndty3_93",
5
+ "header": "awsui_header_1i0s3_ndty3_106",
6
+ "content": "awsui_content_1i0s3_ndty3_110",
7
+ "error": "awsui_error_1i0s3_ndty3_114",
8
+ "footer": "awsui_footer_1i0s3_ndty3_118",
9
+ "actions-section": "awsui_actions-section_1i0s3_ndty3_122",
10
+ "secondary-actions": "awsui_secondary-actions_1i0s3_ndty3_131",
11
+ "actions": "awsui_actions_1i0s3_ndty3_122"
12
12
  };
13
13
 
@@ -50,8 +50,6 @@
50
50
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
51
51
  SPDX-License-Identifier: Apache-2.0
52
52
  */
53
- /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
54
- /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
55
53
  /*
56
54
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
57
55
  SPDX-License-Identifier: Apache-2.0
@@ -64,6 +62,8 @@
64
62
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
65
63
  SPDX-License-Identifier: Apache-2.0
66
64
  */
65
+ /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
66
+ /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
67
67
  /*
68
68
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
69
69
  SPDX-License-Identifier: Apache-2.0
@@ -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_1ejy1_93:not(#\9) {
93
+ .awsui_root_1i0s3_ndty3_93:not(#\9) {
94
94
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
95
95
  border-collapse: separate;
96
96
  border-spacing: 0;
@@ -129,23 +129,23 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
129
129
  -moz-osx-font-smoothing: auto;
130
130
  }
131
131
 
132
- .awsui_header_1i0s3_1ejy1_106:not(#\9) {
132
+ .awsui_header_1i0s3_ndty3_106:not(#\9) {
133
133
  margin-bottom: var(--space-scaled-m-pv0fmt, 16px);
134
134
  }
135
135
 
136
- .awsui_content_1i0s3_1ejy1_110:not(#\9) {
136
+ .awsui_content_1i0s3_ndty3_110:not(#\9) {
137
137
  /* used in test-utils */
138
138
  }
139
139
 
140
- .awsui_error_1i0s3_1ejy1_114:not(#\9) {
140
+ .awsui_error_1i0s3_ndty3_114:not(#\9) {
141
141
  /* used in test-utils */
142
142
  }
143
143
 
144
- .awsui_footer_1i0s3_1ejy1_118:not(#\9) {
144
+ .awsui_footer_1i0s3_ndty3_118:not(#\9) {
145
145
  margin-top: var(--space-scaled-l-t03y3z, 20px);
146
146
  }
147
147
 
148
- .awsui_actions-section_1i0s3_1ejy1_122:not(#\9) {
148
+ .awsui_actions-section_1i0s3_ndty3_122:not(#\9) {
149
149
  display: flex;
150
150
  flex-direction: row-reverse;
151
151
  justify-content: space-between;
@@ -154,13 +154,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  margin-bottom: calc(-1 * var(--space-scaled-m-pv0fmt, 16px));
155
155
  }
156
156
 
157
- .awsui_secondary-actions_1i0s3_1ejy1_131:not(#\9) {
157
+ .awsui_secondary-actions_1i0s3_ndty3_131:not(#\9) {
158
158
  min-width: 1px;
159
159
  margin-left: var(--space-scaled-m-pv0fmt, 16px);
160
160
  margin-bottom: var(--space-scaled-m-pv0fmt, 16px);
161
161
  }
162
162
 
163
- .awsui_actions_1i0s3_1ejy1_122:not(#\9) {
163
+ .awsui_actions_1i0s3_ndty3_122:not(#\9) {
164
164
  min-width: 1px;
165
165
  margin-left: var(--space-scaled-m-pv0fmt, 16px);
166
166
  margin-bottom: var(--space-scaled-m-pv0fmt, 16px);
@@ -2,13 +2,13 @@
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_1ejy1_93",
6
- "header": "awsui_header_1i0s3_1ejy1_106",
7
- "content": "awsui_content_1i0s3_1ejy1_110",
8
- "error": "awsui_error_1i0s3_1ejy1_114",
9
- "footer": "awsui_footer_1i0s3_1ejy1_118",
10
- "actions-section": "awsui_actions-section_1i0s3_1ejy1_122",
11
- "secondary-actions": "awsui_secondary-actions_1i0s3_1ejy1_131",
12
- "actions": "awsui_actions_1i0s3_1ejy1_122"
5
+ "root": "awsui_root_1i0s3_ndty3_93",
6
+ "header": "awsui_header_1i0s3_ndty3_106",
7
+ "content": "awsui_content_1i0s3_ndty3_110",
8
+ "error": "awsui_error_1i0s3_ndty3_114",
9
+ "footer": "awsui_footer_1i0s3_ndty3_118",
10
+ "actions-section": "awsui_actions-section_1i0s3_ndty3_122",
11
+ "secondary-actions": "awsui_secondary-actions_1i0s3_ndty3_131",
12
+ "actions": "awsui_actions_1i0s3_ndty3_122"
13
13
  };
14
14
 
@@ -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_17a5z_97",
5
- "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_17a5z_1",
6
- "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_17a5z_124",
7
- "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_17a5z_1",
8
- "error": "awsui_error_14mhv_17a5z_97",
9
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_17a5z_1",
10
- "root": "awsui_root_14mhv_17a5z_168",
11
- "label": "awsui_label_14mhv_17a5z_182",
12
- "info": "awsui_info_14mhv_17a5z_195",
13
- "description": "awsui_description_14mhv_17a5z_200",
14
- "constraint": "awsui_constraint_14mhv_17a5z_201",
15
- "hints": "awsui_hints_14mhv_17a5z_208",
16
- "constraint-has-error": "awsui_constraint-has-error_14mhv_17a5z_209",
17
- "secondary-control": "awsui_secondary-control_14mhv_17a5z_213",
18
- "controls": "awsui_controls_14mhv_17a5z_217",
19
- "label-hidden": "awsui_label-hidden_14mhv_17a5z_217",
20
- "control": "awsui_control_14mhv_17a5z_217",
21
- "error__message": "awsui_error__message_14mhv_17a5z_236",
22
- "visually-hidden": "awsui_visually-hidden_14mhv_17a5z_240"
4
+ "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_veozk_97",
5
+ "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_veozk_1",
6
+ "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_veozk_124",
7
+ "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_veozk_1",
8
+ "error": "awsui_error_14mhv_veozk_97",
9
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_veozk_1",
10
+ "root": "awsui_root_14mhv_veozk_168",
11
+ "label": "awsui_label_14mhv_veozk_182",
12
+ "info": "awsui_info_14mhv_veozk_195",
13
+ "description": "awsui_description_14mhv_veozk_200",
14
+ "constraint": "awsui_constraint_14mhv_veozk_201",
15
+ "hints": "awsui_hints_14mhv_veozk_208",
16
+ "constraint-has-error": "awsui_constraint-has-error_14mhv_veozk_209",
17
+ "secondary-control": "awsui_secondary-control_14mhv_veozk_213",
18
+ "controls": "awsui_controls_14mhv_veozk_217",
19
+ "label-hidden": "awsui_label-hidden_14mhv_veozk_217",
20
+ "control": "awsui_control_14mhv_veozk_217",
21
+ "error__message": "awsui_error__message_14mhv_veozk_236",
22
+ "visually-hidden": "awsui_visually-hidden_14mhv_veozk_240"
23
23
  };
24
24
 
@@ -50,8 +50,6 @@
50
50
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
51
51
  SPDX-License-Identifier: Apache-2.0
52
52
  */
53
- /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
54
- /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
55
53
  /*
56
54
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
57
55
  SPDX-License-Identifier: Apache-2.0
@@ -64,6 +62,8 @@
64
62
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
65
63
  SPDX-License-Identifier: Apache-2.0
66
64
  */
65
+ /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
66
+ /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
67
67
  /*
68
68
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
69
69
  SPDX-License-Identifier: Apache-2.0
@@ -94,10 +94,10 @@ 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_17a5z_97:not(#\9) {
98
- animation: awsui_awsui-motion-shake-horizontally_14mhv_17a5z_1 var(--motion-duration-refresh-only-medium-5flen2, 165ms);
97
+ .awsui_error-icon-shake-wrapper_14mhv_veozk_97:not(#\9) {
98
+ animation: awsui_awsui-motion-shake-horizontally_14mhv_veozk_1 var(--motion-duration-refresh-only-medium-5flen2, 165ms);
99
99
  }
100
- @keyframes awsui_awsui-motion-shake-horizontally_14mhv_17a5z_1 {
100
+ @keyframes awsui_awsui-motion-shake-horizontally_14mhv_veozk_1 {
101
101
  0% {
102
102
  transform: translateX(-5px);
103
103
  animation-timing-function: linear;
@@ -111,20 +111,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
111
111
  }
112
112
  }
113
113
  @media (prefers-reduced-motion: reduce) {
114
- .awsui_error-icon-shake-wrapper_14mhv_17a5z_97:not(#\9) {
114
+ .awsui_error-icon-shake-wrapper_14mhv_veozk_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_17a5z_97:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_17a5z_97:not(#\9) {
119
+ .awsui-motion-disabled .awsui_error-icon-shake-wrapper_14mhv_veozk_97:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_veozk_97:not(#\9) {
120
120
  animation: none;
121
121
  transition: none;
122
122
  }
123
123
 
124
- .awsui_error-icon-scale-wrapper_14mhv_17a5z_124:not(#\9) {
125
- animation: awsui_awsui-motion-scale-popup_14mhv_17a5z_1 var(--motion-duration-refresh-only-medium-5flen2, 165ms) var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
124
+ .awsui_error-icon-scale-wrapper_14mhv_veozk_124:not(#\9) {
125
+ animation: awsui_awsui-motion-scale-popup_14mhv_veozk_1 var(--motion-duration-refresh-only-medium-5flen2, 165ms) var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
126
126
  }
127
- @keyframes awsui_awsui-motion-scale-popup_14mhv_17a5z_1 {
127
+ @keyframes awsui_awsui-motion-scale-popup_14mhv_veozk_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_17a5z_124:not(#\9) {
136
+ .awsui_error-icon-scale-wrapper_14mhv_veozk_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_17a5z_124:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_17a5z_124:not(#\9) {
141
+ .awsui-motion-disabled .awsui_error-icon-scale-wrapper_14mhv_veozk_124:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_veozk_124:not(#\9) {
142
142
  animation: none;
143
143
  transition: none;
144
144
  }
145
145
 
146
- .awsui_error_14mhv_17a5z_97:not(#\9) {
147
- animation: awsui_awsui-motion-fade-in-0_14mhv_17a5z_1 var(--motion-duration-refresh-only-medium-5flen2, 165ms) var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
146
+ .awsui_error_14mhv_veozk_97:not(#\9) {
147
+ animation: awsui_awsui-motion-fade-in-0_14mhv_veozk_1 var(--motion-duration-refresh-only-medium-5flen2, 165ms) var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
148
148
  }
149
- @keyframes awsui_awsui-motion-fade-in-0_14mhv_17a5z_1 {
149
+ @keyframes awsui_awsui-motion-fade-in-0_14mhv_veozk_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_17a5z_97:not(#\9) {
158
+ .awsui_error_14mhv_veozk_97:not(#\9) {
159
159
  animation: none;
160
160
  transition: none;
161
161
  }
162
162
  }
163
- .awsui-motion-disabled .awsui_error_14mhv_17a5z_97:not(#\9), .awsui-mode-entering .awsui_error_14mhv_17a5z_97:not(#\9) {
163
+ .awsui-motion-disabled .awsui_error_14mhv_veozk_97:not(#\9), .awsui-mode-entering .awsui_error_14mhv_veozk_97:not(#\9) {
164
164
  animation: none;
165
165
  transition: none;
166
166
  }
167
167
 
168
- .awsui_root_14mhv_17a5z_168:not(#\9) {
168
+ .awsui_root_14mhv_veozk_168:not(#\9) {
169
169
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
170
170
  border-collapse: separate;
171
171
  border-spacing: 0;
@@ -205,7 +205,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
205
205
  box-sizing: border-box;
206
206
  }
207
207
 
208
- .awsui_label_14mhv_17a5z_182:not(#\9) {
208
+ .awsui_label_14mhv_veozk_182:not(#\9) {
209
209
  box-sizing: border-box;
210
210
  color: var(--color-text-form-label-k3j0b4, #000716);
211
211
  display: inline;
@@ -214,43 +214,43 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
214
214
  font-weight: var(--font-display-label-weight-m18hjh, 700);
215
215
  margin-right: var(--space-xs-rsr2qu, 8px);
216
216
  }
217
- .awsui_label_14mhv_17a5z_182:not(#\9):only-child {
217
+ .awsui_label_14mhv_veozk_182:not(#\9):only-child {
218
218
  margin: 0;
219
219
  }
220
220
 
221
- .awsui_info_14mhv_17a5z_195:not(#\9) {
221
+ .awsui_info_14mhv_veozk_195:not(#\9) {
222
222
  padding-left: var(--space-xs-rsr2qu, 8px);
223
223
  border-left: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
224
224
  }
225
225
 
226
- .awsui_description_14mhv_17a5z_200:not(#\9),
227
- .awsui_constraint_14mhv_17a5z_201:not(#\9) {
226
+ .awsui_description_14mhv_veozk_200:not(#\9),
227
+ .awsui_constraint_14mhv_veozk_201:not(#\9) {
228
228
  color: var(--color-text-form-secondary-ih9x7l, #5f6b7a);
229
229
  font-size: var(--font-body-s-size-ukw2p9, 12px);
230
230
  line-height: var(--font-body-s-line-height-kdsbrl, 16px);
231
231
  letter-spacing: var(--font-body-s-letter-spacing-cy0oxj, 0.005em);
232
232
  }
233
233
 
234
- .awsui_hints_14mhv_17a5z_208:not(#\9),
235
- .awsui_constraint-has-error_14mhv_17a5z_209:not(#\9) {
234
+ .awsui_hints_14mhv_veozk_208:not(#\9),
235
+ .awsui_constraint-has-error_14mhv_veozk_209:not(#\9) {
236
236
  padding-top: var(--space-xxs-ynfts5, 4px);
237
237
  }
238
238
 
239
- .awsui_secondary-control_14mhv_17a5z_213:not(#\9) {
239
+ .awsui_secondary-control_14mhv_veozk_213:not(#\9) {
240
240
  /* used in test-utils */
241
241
  }
242
242
 
243
- .awsui_controls_14mhv_17a5z_217:not(#\9):not(.awsui_label-hidden_14mhv_17a5z_217) {
243
+ .awsui_controls_14mhv_veozk_217:not(#\9):not(.awsui_label-hidden_14mhv_veozk_217) {
244
244
  padding-top: var(--space-xxs-ynfts5, 4px);
245
245
  }
246
246
 
247
- .awsui_control_14mhv_17a5z_217:not(#\9) {
247
+ .awsui_control_14mhv_veozk_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_17a5z_97:not(#\9) {
253
+ .awsui_error_14mhv_veozk_97:not(#\9) {
254
254
  color: var(--color-text-status-error-5sesl6, #d91515);
255
255
  font-size: var(--font-body-s-size-ukw2p9, 12px);
256
256
  line-height: var(--font-body-s-line-height-kdsbrl, 16px);
@@ -259,11 +259,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
259
259
  align-items: flex-start;
260
260
  }
261
261
 
262
- .awsui_error__message_14mhv_17a5z_236:not(#\9) {
262
+ .awsui_error__message_14mhv_veozk_236:not(#\9) {
263
263
  margin-left: var(--space-xxs-ynfts5, 4px);
264
264
  }
265
265
 
266
- .awsui_visually-hidden_14mhv_17a5z_240:not(#\9) {
266
+ .awsui_visually-hidden_14mhv_veozk_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_17a5z_97",
6
- "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_17a5z_1",
7
- "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_17a5z_124",
8
- "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_17a5z_1",
9
- "error": "awsui_error_14mhv_17a5z_97",
10
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_17a5z_1",
11
- "root": "awsui_root_14mhv_17a5z_168",
12
- "label": "awsui_label_14mhv_17a5z_182",
13
- "info": "awsui_info_14mhv_17a5z_195",
14
- "description": "awsui_description_14mhv_17a5z_200",
15
- "constraint": "awsui_constraint_14mhv_17a5z_201",
16
- "hints": "awsui_hints_14mhv_17a5z_208",
17
- "constraint-has-error": "awsui_constraint-has-error_14mhv_17a5z_209",
18
- "secondary-control": "awsui_secondary-control_14mhv_17a5z_213",
19
- "controls": "awsui_controls_14mhv_17a5z_217",
20
- "label-hidden": "awsui_label-hidden_14mhv_17a5z_217",
21
- "control": "awsui_control_14mhv_17a5z_217",
22
- "error__message": "awsui_error__message_14mhv_17a5z_236",
23
- "visually-hidden": "awsui_visually-hidden_14mhv_17a5z_240"
5
+ "error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_veozk_97",
6
+ "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_veozk_1",
7
+ "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_veozk_124",
8
+ "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_veozk_1",
9
+ "error": "awsui_error_14mhv_veozk_97",
10
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_veozk_1",
11
+ "root": "awsui_root_14mhv_veozk_168",
12
+ "label": "awsui_label_14mhv_veozk_182",
13
+ "info": "awsui_info_14mhv_veozk_195",
14
+ "description": "awsui_description_14mhv_veozk_200",
15
+ "constraint": "awsui_constraint_14mhv_veozk_201",
16
+ "hints": "awsui_hints_14mhv_veozk_208",
17
+ "constraint-has-error": "awsui_constraint-has-error_14mhv_veozk_209",
18
+ "secondary-control": "awsui_secondary-control_14mhv_veozk_213",
19
+ "controls": "awsui_controls_14mhv_veozk_217",
20
+ "label-hidden": "awsui_label-hidden_14mhv_veozk_217",
21
+ "control": "awsui_control_14mhv_veozk_217",
22
+ "error__message": "awsui_error__message_14mhv_veozk_236",
23
+ "visually-hidden": "awsui_visually-hidden_14mhv_veozk_240"
24
24
  };
25
25