@cloudscape-design/components 3.0.841 → 3.0.843

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 (608) hide show
  1. package/alert/styles.css.js +28 -28
  2. package/alert/styles.scoped.css +49 -45
  3. package/alert/styles.selectors.js +28 -28
  4. package/anchor-navigation/styles.css.js +8 -8
  5. package/anchor-navigation/styles.scoped.css +24 -20
  6. package/anchor-navigation/styles.selectors.js +8 -8
  7. package/annotation-context/annotation/styles.css.js +24 -24
  8. package/annotation-context/annotation/styles.scoped.css +36 -32
  9. package/annotation-context/annotation/styles.selectors.js +24 -24
  10. package/app-layout/content-wrapper/styles.css.js +3 -3
  11. package/app-layout/content-wrapper/styles.scoped.css +10 -6
  12. package/app-layout/content-wrapper/styles.selectors.js +3 -3
  13. package/app-layout/drawer/styles.css.js +14 -14
  14. package/app-layout/drawer/styles.scoped.css +28 -24
  15. package/app-layout/drawer/styles.selectors.js +14 -14
  16. package/app-layout/mobile-toolbar/styles.css.js +8 -8
  17. package/app-layout/mobile-toolbar/styles.scoped.css +12 -8
  18. package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
  19. package/app-layout/resize/styles.css.js +5 -5
  20. package/app-layout/resize/styles.scoped.css +16 -12
  21. package/app-layout/resize/styles.selectors.js +5 -5
  22. package/app-layout/split-panel/styles.css.js +2 -2
  23. package/app-layout/split-panel/styles.scoped.css +6 -2
  24. package/app-layout/split-panel/styles.selectors.js +2 -2
  25. package/app-layout/styles.css.js +12 -12
  26. package/app-layout/styles.scoped.css +16 -12
  27. package/app-layout/styles.selectors.js +12 -12
  28. package/app-layout/toggles/styles.css.js +2 -2
  29. package/app-layout/toggles/styles.scoped.css +12 -8
  30. package/app-layout/toggles/styles.selectors.js +2 -2
  31. package/app-layout/visual-refresh/styles.css.js +86 -86
  32. package/app-layout/visual-refresh/styles.scoped.css +167 -163
  33. package/app-layout/visual-refresh/styles.selectors.js +86 -86
  34. package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +10 -10
  35. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +17 -13
  36. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +10 -10
  37. package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  38. package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +9 -5
  39. package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  40. package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +19 -19
  41. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +39 -35
  42. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +19 -19
  43. package/app-layout/visual-refresh-toolbar/split-panel/styles.css.js +1 -1
  44. package/app-layout/visual-refresh-toolbar/split-panel/styles.scoped.css +5 -1
  45. package/app-layout/visual-refresh-toolbar/split-panel/styles.selectors.js +1 -1
  46. package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +13 -13
  47. package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +19 -15
  48. package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +13 -13
  49. package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +7 -7
  50. package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +23 -19
  51. package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +7 -7
  52. package/area-chart/styles.css.js +6 -6
  53. package/area-chart/styles.scoped.css +15 -11
  54. package/area-chart/styles.selectors.js +6 -6
  55. package/attribute-editor/styles.css.js +14 -14
  56. package/attribute-editor/styles.scoped.css +28 -24
  57. package/attribute-editor/styles.selectors.js +14 -14
  58. package/autosuggest/load-more-controller.d.ts.map +1 -1
  59. package/autosuggest/load-more-controller.js +1 -1
  60. package/autosuggest/load-more-controller.js.map +1 -1
  61. package/badge/styles.css.js +10 -10
  62. package/badge/styles.scoped.css +14 -10
  63. package/badge/styles.selectors.js +10 -10
  64. package/box/styles.css.js +191 -191
  65. package/box/styles.scoped.css +240 -236
  66. package/box/styles.selectors.js +191 -191
  67. package/breadcrumb-group/all-items-dropdown.d.ts +15 -0
  68. package/breadcrumb-group/all-items-dropdown.d.ts.map +1 -0
  69. package/breadcrumb-group/all-items-dropdown.js +47 -0
  70. package/breadcrumb-group/all-items-dropdown.js.map +1 -0
  71. package/breadcrumb-group/implementation.d.ts.map +1 -1
  72. package/breadcrumb-group/implementation.js +9 -6
  73. package/breadcrumb-group/implementation.js.map +1 -1
  74. package/breadcrumb-group/item/styles.css.js +7 -7
  75. package/breadcrumb-group/item/styles.scoped.css +29 -25
  76. package/breadcrumb-group/item/styles.selectors.js +7 -7
  77. package/breadcrumb-group/styles.css.js +14 -10
  78. package/breadcrumb-group/styles.scoped.css +124 -11
  79. package/breadcrumb-group/styles.selectors.js +14 -10
  80. package/breadcrumb-group/utils.d.ts +0 -2
  81. package/breadcrumb-group/utils.d.ts.map +1 -1
  82. package/breadcrumb-group/utils.js +17 -46
  83. package/breadcrumb-group/utils.js.map +1 -1
  84. package/button/index.d.ts.map +1 -1
  85. package/button/index.js +3 -3
  86. package/button/index.js.map +1 -1
  87. package/button/interfaces.d.ts +18 -0
  88. package/button/interfaces.d.ts.map +1 -1
  89. package/button/interfaces.js.map +1 -1
  90. package/button/internal.d.ts.map +1 -1
  91. package/button/internal.js +15 -2
  92. package/button/internal.js.map +1 -1
  93. package/button/styles.css.js +21 -21
  94. package/button/styles.scoped.css +158 -154
  95. package/button/styles.selectors.js +21 -21
  96. package/button/test-classes/styles.css.js +2 -1
  97. package/button/test-classes/styles.scoped.css +5 -1
  98. package/button/test-classes/styles.selectors.js +2 -1
  99. package/button-dropdown/category-elements/styles.css.js +14 -14
  100. package/button-dropdown/category-elements/styles.scoped.css +27 -23
  101. package/button-dropdown/category-elements/styles.selectors.js +14 -14
  102. package/button-dropdown/index.d.ts.map +1 -1
  103. package/button-dropdown/index.js +2 -2
  104. package/button-dropdown/index.js.map +1 -1
  105. package/button-dropdown/interfaces.d.ts +18 -2
  106. package/button-dropdown/interfaces.d.ts.map +1 -1
  107. package/button-dropdown/interfaces.js.map +1 -1
  108. package/button-dropdown/internal.d.ts.map +1 -1
  109. package/button-dropdown/internal.js +13 -6
  110. package/button-dropdown/internal.js.map +1 -1
  111. package/button-dropdown/item-element/index.d.ts.map +1 -1
  112. package/button-dropdown/item-element/index.js +3 -2
  113. package/button-dropdown/item-element/index.js.map +1 -1
  114. package/button-dropdown/item-element/styles.css.js +14 -13
  115. package/button-dropdown/item-element/styles.scoped.css +33 -21
  116. package/button-dropdown/item-element/styles.selectors.js +14 -13
  117. package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
  118. package/button-dropdown/mobile-expandable-group/styles.scoped.css +9 -5
  119. package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
  120. package/button-dropdown/styles.css.js +21 -17
  121. package/button-dropdown/styles.scoped.css +51 -38
  122. package/button-dropdown/styles.selectors.js +21 -17
  123. package/button-group/file-input-item.d.ts +11 -0
  124. package/button-group/file-input-item.d.ts.map +1 -0
  125. package/button-group/file-input-item.js +23 -0
  126. package/button-group/file-input-item.js.map +1 -0
  127. package/button-group/interfaces.d.ts +23 -1
  128. package/button-group/interfaces.d.ts.map +1 -1
  129. package/button-group/interfaces.js.map +1 -1
  130. package/button-group/internal.d.ts.map +1 -1
  131. package/button-group/internal.js +2 -2
  132. package/button-group/internal.js.map +1 -1
  133. package/button-group/item-element.d.ts +1 -0
  134. package/button-group/item-element.d.ts.map +1 -1
  135. package/button-group/item-element.js +12 -6
  136. package/button-group/item-element.js.map +1 -1
  137. package/button-group/styles.css.js +4 -4
  138. package/button-group/styles.scoped.css +10 -6
  139. package/button-group/styles.selectors.js +4 -4
  140. package/calendar/grid/index.d.ts +1 -2
  141. package/calendar/grid/index.d.ts.map +1 -1
  142. package/calendar/grid/index.js.map +1 -1
  143. package/calendar/grid/use-calendar-grid-keyboard-navigation.d.ts.map +1 -1
  144. package/calendar/grid/use-calendar-grid-keyboard-navigation.js +2 -1
  145. package/calendar/grid/use-calendar-grid-keyboard-navigation.js.map +1 -1
  146. package/calendar/internal.d.ts.map +1 -1
  147. package/calendar/internal.js +2 -1
  148. package/calendar/internal.js.map +1 -1
  149. package/calendar/styles.css.js +21 -21
  150. package/calendar/styles.scoped.css +47 -43
  151. package/calendar/styles.selectors.js +21 -21
  152. package/calendar/utils/navigation-day.d.ts +8 -0
  153. package/calendar/utils/navigation-day.d.ts.map +1 -0
  154. package/calendar/utils/navigation-day.js +39 -0
  155. package/calendar/utils/navigation-day.js.map +1 -0
  156. package/calendar/utils/{navigation.d.ts → navigation-month.d.ts} +2 -6
  157. package/calendar/utils/navigation-month.d.ts.map +1 -0
  158. package/calendar/utils/navigation-month.js +39 -0
  159. package/calendar/utils/navigation-month.js.map +1 -0
  160. package/cards/styles.css.js +39 -39
  161. package/cards/styles.scoped.css +54 -50
  162. package/cards/styles.selectors.js +39 -39
  163. package/checkbox/styles.css.js +3 -3
  164. package/checkbox/styles.scoped.css +9 -5
  165. package/checkbox/styles.selectors.js +3 -3
  166. package/code-editor/resizable-box/styles.css.js +3 -3
  167. package/code-editor/resizable-box/styles.scoped.css +10 -6
  168. package/code-editor/resizable-box/styles.selectors.js +3 -3
  169. package/code-editor/styles.css.js +33 -33
  170. package/code-editor/styles.scoped.css +139 -135
  171. package/code-editor/styles.selectors.js +33 -33
  172. package/collection-preferences/content-display/styles.css.js +12 -12
  173. package/collection-preferences/content-display/styles.scoped.css +23 -15
  174. package/collection-preferences/content-display/styles.selectors.js +12 -12
  175. package/collection-preferences/styles.css.js +38 -38
  176. package/collection-preferences/styles.scoped.css +58 -42
  177. package/collection-preferences/styles.selectors.js +38 -38
  178. package/column-layout/flexible-column-layout/styles.css.js +5 -5
  179. package/column-layout/flexible-column-layout/styles.scoped.css +14 -10
  180. package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
  181. package/column-layout/styles.css.js +13 -13
  182. package/column-layout/styles.scoped.css +49 -45
  183. package/column-layout/styles.selectors.js +13 -13
  184. package/container/styles.css.js +31 -31
  185. package/container/styles.scoped.css +60 -56
  186. package/container/styles.selectors.js +31 -31
  187. package/content-layout/styles.css.js +14 -14
  188. package/content-layout/styles.scoped.css +20 -16
  189. package/content-layout/styles.selectors.js +14 -14
  190. package/date-picker/styles.css.js +7 -7
  191. package/date-picker/styles.scoped.css +13 -9
  192. package/date-picker/styles.selectors.js +7 -7
  193. package/date-range-picker/calendar/grids/index.d.ts.map +1 -1
  194. package/date-range-picker/calendar/grids/index.js +1 -1
  195. package/date-range-picker/calendar/grids/index.js.map +1 -1
  196. package/date-range-picker/calendar/grids/styles.css.js +28 -28
  197. package/date-range-picker/calendar/grids/styles.scoped.css +47 -43
  198. package/date-range-picker/calendar/grids/styles.selectors.js +28 -28
  199. package/date-range-picker/calendar/index.js +1 -1
  200. package/date-range-picker/calendar/index.js.map +1 -1
  201. package/date-range-picker/index.d.ts.map +1 -1
  202. package/date-range-picker/index.js +3 -10
  203. package/date-range-picker/index.js.map +1 -1
  204. package/date-range-picker/relative-range/styles.css.js +9 -9
  205. package/date-range-picker/relative-range/styles.scoped.css +17 -13
  206. package/date-range-picker/relative-range/styles.selectors.js +9 -9
  207. package/date-range-picker/styles.css.js +38 -38
  208. package/date-range-picker/styles.scoped.css +51 -47
  209. package/date-range-picker/styles.selectors.js +38 -38
  210. package/date-range-picker/time-offset.d.ts +2 -1
  211. package/date-range-picker/time-offset.d.ts.map +1 -1
  212. package/date-range-picker/time-offset.js +1 -1
  213. package/date-range-picker/time-offset.js.map +1 -1
  214. package/date-range-picker/utils.d.ts +9 -0
  215. package/date-range-picker/utils.d.ts.map +1 -1
  216. package/date-range-picker/utils.js +19 -2
  217. package/date-range-picker/utils.js.map +1 -1
  218. package/drawer/styles.css.js +5 -5
  219. package/drawer/styles.scoped.css +16 -12
  220. package/drawer/styles.selectors.js +5 -5
  221. package/expandable-section/styles.css.js +34 -34
  222. package/expandable-section/styles.scoped.css +69 -65
  223. package/expandable-section/styles.selectors.js +34 -34
  224. package/file-dropzone/styles.css.js +3 -3
  225. package/file-dropzone/styles.scoped.css +9 -5
  226. package/file-dropzone/styles.selectors.js +3 -3
  227. package/file-input/internal.d.ts +5 -1
  228. package/file-input/internal.d.ts.map +1 -1
  229. package/file-input/internal.js +18 -10
  230. package/file-input/internal.js.map +1 -1
  231. package/file-input/styles.css.js +6 -5
  232. package/file-input/styles.scoped.css +33 -8
  233. package/file-input/styles.selectors.js +6 -5
  234. package/file-token-group/styles.css.js +22 -22
  235. package/file-token-group/styles.scoped.css +35 -31
  236. package/file-token-group/styles.selectors.js +22 -22
  237. package/flashbar/styles.css.js +50 -50
  238. package/flashbar/styles.scoped.css +152 -148
  239. package/flashbar/styles.selectors.js +50 -50
  240. package/form/styles.css.js +8 -8
  241. package/form/styles.scoped.css +12 -8
  242. package/form/styles.selectors.js +8 -8
  243. package/form-field/styles.css.js +24 -24
  244. package/form-field/styles.scoped.css +42 -38
  245. package/form-field/styles.selectors.js +24 -24
  246. package/grid/styles.css.js +53 -53
  247. package/grid/styles.scoped.css +58 -54
  248. package/grid/styles.selectors.js +53 -53
  249. package/header/styles.css.js +34 -34
  250. package/header/styles.scoped.css +56 -52
  251. package/header/styles.selectors.js +34 -34
  252. package/help-panel/styles.css.js +6 -6
  253. package/help-panel/styles.scoped.css +73 -69
  254. package/help-panel/styles.selectors.js +6 -6
  255. package/hotspot/styles.css.js +7 -7
  256. package/hotspot/styles.scoped.css +13 -9
  257. package/hotspot/styles.selectors.js +7 -7
  258. package/i18n/messages/all.all.js +1 -1
  259. package/i18n/messages/all.all.json +1 -1
  260. package/i18n/messages/all.ar.js +1 -1
  261. package/i18n/messages/all.ar.json +1 -1
  262. package/i18n/messages/all.de.js +1 -1
  263. package/i18n/messages/all.de.json +1 -1
  264. package/i18n/messages/all.en-GB.js +1 -1
  265. package/i18n/messages/all.en-GB.json +1 -1
  266. package/i18n/messages/all.en.js +1 -1
  267. package/i18n/messages/all.en.json +1 -1
  268. package/i18n/messages/all.es.js +1 -1
  269. package/i18n/messages/all.es.json +1 -1
  270. package/i18n/messages/all.fr.js +1 -1
  271. package/i18n/messages/all.fr.json +1 -1
  272. package/i18n/messages/all.id.js +1 -1
  273. package/i18n/messages/all.id.json +1 -1
  274. package/i18n/messages/all.it.js +1 -1
  275. package/i18n/messages/all.it.json +1 -1
  276. package/i18n/messages/all.ja.js +1 -1
  277. package/i18n/messages/all.ja.json +1 -1
  278. package/i18n/messages/all.ko.js +1 -1
  279. package/i18n/messages/all.ko.json +1 -1
  280. package/i18n/messages/all.pt-BR.js +1 -1
  281. package/i18n/messages/all.pt-BR.json +1 -1
  282. package/i18n/messages/all.tr.js +1 -1
  283. package/i18n/messages/all.tr.json +1 -1
  284. package/i18n/messages/all.zh-CN.js +1 -1
  285. package/i18n/messages/all.zh-CN.json +1 -1
  286. package/i18n/messages/all.zh-TW.js +1 -1
  287. package/i18n/messages/all.zh-TW.json +1 -1
  288. package/i18n/messages-types.d.ts +3 -0
  289. package/i18n/messages-types.d.ts.map +1 -1
  290. package/i18n/messages-types.js.map +1 -1
  291. package/icon/styles.css.js +38 -38
  292. package/icon/styles.scoped.css +89 -85
  293. package/icon/styles.selectors.js +38 -38
  294. package/input/styles.css.js +13 -13
  295. package/input/styles.scoped.css +36 -32
  296. package/input/styles.selectors.js +13 -13
  297. package/internal/components/abstract-switch/styles.css.js +13 -13
  298. package/internal/components/abstract-switch/styles.scoped.css +24 -20
  299. package/internal/components/abstract-switch/styles.selectors.js +13 -13
  300. package/internal/components/button-trigger/styles.css.js +13 -13
  301. package/internal/components/button-trigger/styles.scoped.css +31 -27
  302. package/internal/components/button-trigger/styles.selectors.js +13 -13
  303. package/internal/components/chart-filter/styles.css.js +3 -3
  304. package/internal/components/chart-filter/styles.scoped.css +7 -3
  305. package/internal/components/chart-filter/styles.selectors.js +3 -3
  306. package/internal/components/chart-legend/styles.css.js +6 -6
  307. package/internal/components/chart-legend/styles.scoped.css +19 -15
  308. package/internal/components/chart-legend/styles.selectors.js +6 -6
  309. package/internal/components/chart-plot/styles.css.js +5 -5
  310. package/internal/components/chart-plot/styles.scoped.css +9 -5
  311. package/internal/components/chart-plot/styles.selectors.js +5 -5
  312. package/internal/components/chart-popover/styles.css.js +3 -3
  313. package/internal/components/chart-popover/styles.scoped.css +7 -3
  314. package/internal/components/chart-popover/styles.selectors.js +3 -3
  315. package/internal/components/chart-series-details/styles.css.js +20 -20
  316. package/internal/components/chart-series-details/styles.scoped.css +37 -33
  317. package/internal/components/chart-series-details/styles.selectors.js +20 -20
  318. package/internal/components/chart-series-marker/styles.css.js +5 -5
  319. package/internal/components/chart-series-marker/styles.scoped.css +11 -7
  320. package/internal/components/chart-series-marker/styles.selectors.js +5 -5
  321. package/internal/components/chart-wrapper/styles.css.js +9 -9
  322. package/internal/components/chart-wrapper/styles.scoped.css +15 -11
  323. package/internal/components/chart-wrapper/styles.selectors.js +9 -9
  324. package/internal/components/checkbox-icon/styles.css.js +9 -9
  325. package/internal/components/checkbox-icon/styles.scoped.css +13 -9
  326. package/internal/components/checkbox-icon/styles.selectors.js +9 -9
  327. package/internal/components/dnd-container/styles.css.js +1 -1
  328. package/internal/components/dnd-container/styles.scoped.css +8 -4
  329. package/internal/components/dnd-container/styles.selectors.js +1 -1
  330. package/internal/components/dropdown/styles.css.js +20 -20
  331. package/internal/components/dropdown/styles.scoped.css +41 -37
  332. package/internal/components/dropdown/styles.selectors.js +20 -20
  333. package/internal/components/dropdown-footer/styles.css.js +3 -3
  334. package/internal/components/dropdown-footer/styles.scoped.css +7 -3
  335. package/internal/components/dropdown-footer/styles.selectors.js +3 -3
  336. package/internal/components/dropdown-status/styles.css.js +2 -2
  337. package/internal/components/dropdown-status/styles.scoped.css +6 -2
  338. package/internal/components/dropdown-status/styles.selectors.js +2 -2
  339. package/internal/components/handle/styles.css.js +2 -2
  340. package/internal/components/handle/styles.scoped.css +10 -6
  341. package/internal/components/handle/styles.selectors.js +2 -2
  342. package/internal/components/menu-dropdown/index.d.ts.map +1 -1
  343. package/internal/components/menu-dropdown/index.js +2 -1
  344. package/internal/components/menu-dropdown/index.js.map +1 -1
  345. package/internal/components/menu-dropdown/styles.css.js +7 -7
  346. package/internal/components/menu-dropdown/styles.scoped.css +17 -13
  347. package/internal/components/menu-dropdown/styles.selectors.js +7 -7
  348. package/internal/components/option/styles.css.js +17 -17
  349. package/internal/components/option/styles.scoped.css +33 -29
  350. package/internal/components/option/styles.selectors.js +17 -17
  351. package/internal/components/options-list/styles.css.js +3 -3
  352. package/internal/components/options-list/styles.scoped.css +7 -3
  353. package/internal/components/options-list/styles.selectors.js +3 -3
  354. package/internal/components/options-list/utils/use-keyboard.d.ts.map +1 -1
  355. package/internal/components/options-list/utils/use-keyboard.js +13 -16
  356. package/internal/components/options-list/utils/use-keyboard.js.map +1 -1
  357. package/internal/components/panel-resize-handle/styles.css.js +5 -5
  358. package/internal/components/panel-resize-handle/styles.scoped.css +14 -10
  359. package/internal/components/panel-resize-handle/styles.selectors.js +5 -5
  360. package/internal/components/screenreader-only/styles.css.js +1 -1
  361. package/internal/components/screenreader-only/styles.scoped.css +5 -1
  362. package/internal/components/screenreader-only/styles.selectors.js +1 -1
  363. package/internal/components/selectable-item/styles.css.js +16 -16
  364. package/internal/components/selectable-item/styles.scoped.css +33 -29
  365. package/internal/components/selectable-item/styles.selectors.js +16 -16
  366. package/internal/components/token-list/styles.css.js +10 -10
  367. package/internal/components/token-list/styles.scoped.css +28 -24
  368. package/internal/components/token-list/styles.selectors.js +10 -10
  369. package/internal/environment.js +1 -1
  370. package/internal/environment.json +1 -1
  371. package/internal/hooks/use-performance-marks/index.d.ts.map +1 -1
  372. package/internal/hooks/use-performance-marks/index.js +23 -2
  373. package/internal/hooks/use-performance-marks/index.js.map +1 -1
  374. package/internal/manifest.json +1 -1
  375. package/internal/styles/motion/utils.d.ts +2 -0
  376. package/internal/styles/motion/utils.d.ts.map +1 -0
  377. package/internal/styles/motion/utils.js +5 -0
  378. package/internal/styles/motion/utils.js.map +1 -0
  379. package/internal/utils/date-time/format-date-iso.d.ts +2 -1
  380. package/internal/utils/date-time/format-date-iso.d.ts.map +1 -1
  381. package/internal/utils/date-time/format-date-iso.js +6 -2
  382. package/internal/utils/date-time/format-date-iso.js.map +1 -1
  383. package/internal/utils/date-time/format-date-localized.d.ts +2 -1
  384. package/internal/utils/date-time/format-date-localized.d.ts.map +1 -1
  385. package/internal/utils/date-time/format-date-localized.js +9 -2
  386. package/internal/utils/date-time/format-date-localized.js.map +1 -1
  387. package/internal/utils/date-time/format-date-time-with-offset.d.ts.map +1 -1
  388. package/internal/utils/date-time/format-date-time-with-offset.js +4 -3
  389. package/internal/utils/date-time/format-date-time-with-offset.js.map +1 -1
  390. package/internal/utils/date-time/index.d.ts +1 -1
  391. package/internal/utils/date-time/index.d.ts.map +1 -1
  392. package/internal/utils/date-time/index.js +1 -1
  393. package/internal/utils/date-time/index.js.map +1 -1
  394. package/internal/utils/date-time/is-iso-only.d.ts +9 -0
  395. package/internal/utils/date-time/is-iso-only.d.ts.map +1 -0
  396. package/internal/utils/date-time/is-iso-only.js +18 -0
  397. package/internal/utils/date-time/is-iso-only.js.map +1 -0
  398. package/internal/utils/handle-key.d.ts +1 -2
  399. package/internal/utils/handle-key.d.ts.map +1 -1
  400. package/internal/utils/handle-key.js.map +1 -1
  401. package/internal/utils/throttle.d.ts +1 -2
  402. package/internal/utils/throttle.d.ts.map +1 -1
  403. package/internal/utils/throttle.js.map +1 -1
  404. package/key-value-pairs/index.d.ts +1 -1
  405. package/key-value-pairs/index.d.ts.map +1 -1
  406. package/key-value-pairs/index.js +2 -2
  407. package/key-value-pairs/index.js.map +1 -1
  408. package/key-value-pairs/interfaces.d.ts +8 -0
  409. package/key-value-pairs/interfaces.d.ts.map +1 -1
  410. package/key-value-pairs/interfaces.js.map +1 -1
  411. package/key-value-pairs/internal.d.ts.map +1 -1
  412. package/key-value-pairs/internal.js +2 -2
  413. package/key-value-pairs/internal.js.map +1 -1
  414. package/key-value-pairs/styles.css.js +8 -8
  415. package/key-value-pairs/styles.scoped.css +13 -9
  416. package/key-value-pairs/styles.selectors.js +8 -8
  417. package/link/styles.css.js +20 -20
  418. package/link/styles.scoped.css +75 -71
  419. package/link/styles.selectors.js +20 -20
  420. package/live-region/styles.css.js +2 -2
  421. package/live-region/styles.scoped.css +7 -3
  422. package/live-region/styles.selectors.js +2 -2
  423. package/mixed-line-bar-chart/styles.css.js +11 -11
  424. package/mixed-line-bar-chart/styles.scoped.css +23 -19
  425. package/mixed-line-bar-chart/styles.selectors.js +11 -11
  426. package/modal/index.js +1 -1
  427. package/modal/index.js.map +1 -1
  428. package/modal/styles.css.js +23 -23
  429. package/modal/styles.scoped.css +42 -38
  430. package/modal/styles.selectors.js +23 -23
  431. package/multiselect/styles.css.js +3 -3
  432. package/multiselect/styles.scoped.css +7 -3
  433. package/multiselect/styles.selectors.js +3 -3
  434. package/package.json +1 -1
  435. package/pagination/styles.css.js +9 -9
  436. package/pagination/styles.scoped.css +27 -23
  437. package/pagination/styles.selectors.js +9 -9
  438. package/pie-chart/styles.css.js +27 -27
  439. package/pie-chart/styles.scoped.css +52 -48
  440. package/pie-chart/styles.selectors.js +27 -27
  441. package/popover/styles.css.js +53 -53
  442. package/popover/styles.scoped.css +89 -69
  443. package/popover/styles.selectors.js +53 -53
  444. package/progress-bar/styles.css.js +19 -19
  445. package/progress-bar/styles.scoped.css +42 -34
  446. package/progress-bar/styles.selectors.js +19 -19
  447. package/prompt-input/styles.css.js +14 -14
  448. package/prompt-input/styles.scoped.css +43 -39
  449. package/prompt-input/styles.selectors.js +14 -14
  450. package/property-filter/filtering-token/styles.css.js +18 -18
  451. package/property-filter/filtering-token/styles.scoped.css +45 -41
  452. package/property-filter/filtering-token/styles.selectors.js +18 -18
  453. package/property-filter/styles.css.js +39 -39
  454. package/property-filter/styles.scoped.css +45 -41
  455. package/property-filter/styles.selectors.js +39 -39
  456. package/radio-group/styles.css.js +10 -10
  457. package/radio-group/styles.scoped.css +20 -16
  458. package/radio-group/styles.selectors.js +10 -10
  459. package/s3-resource-selector/s3-modal/basic-table.js +1 -0
  460. package/s3-resource-selector/s3-modal/basic-table.js.map +1 -1
  461. package/s3-resource-selector/s3-modal/styles.css.js +3 -3
  462. package/s3-resource-selector/s3-modal/styles.scoped.css +9 -5
  463. package/s3-resource-selector/s3-modal/styles.selectors.js +3 -3
  464. package/segmented-control/styles.css.js +15 -15
  465. package/segmented-control/styles.scoped.css +38 -34
  466. package/segmented-control/styles.selectors.js +15 -15
  467. package/select/parts/filter.d.ts +1 -1
  468. package/select/parts/styles.css.js +21 -21
  469. package/select/parts/styles.scoped.css +26 -22
  470. package/select/parts/styles.selectors.js +21 -21
  471. package/select/styles.css.js +1 -1
  472. package/select/styles.scoped.css +5 -1
  473. package/select/styles.selectors.js +1 -1
  474. package/select/utils/use-select.js +1 -1
  475. package/select/utils/use-select.js.map +1 -1
  476. package/side-navigation/styles.css.js +30 -30
  477. package/side-navigation/styles.scoped.css +50 -46
  478. package/side-navigation/styles.selectors.js +30 -30
  479. package/slider/styles.css.js +26 -26
  480. package/slider/styles.scoped.css +80 -76
  481. package/slider/styles.selectors.js +26 -26
  482. package/space-between/styles.css.js +23 -23
  483. package/space-between/styles.scoped.css +28 -24
  484. package/space-between/styles.selectors.js +23 -23
  485. package/spinner/styles.css.js +13 -13
  486. package/spinner/styles.scoped.css +23 -19
  487. package/spinner/styles.selectors.js +13 -13
  488. package/split-panel/icons/styles.css.js +22 -22
  489. package/split-panel/icons/styles.scoped.css +28 -24
  490. package/split-panel/icons/styles.selectors.js +22 -22
  491. package/split-panel/styles.css.js +26 -26
  492. package/split-panel/styles.scoped.css +47 -43
  493. package/split-panel/styles.selectors.js +26 -26
  494. package/status-indicator/styles.css.js +23 -23
  495. package/status-indicator/styles.scoped.css +33 -29
  496. package/status-indicator/styles.selectors.js +23 -23
  497. package/steps/styles.css.js +6 -6
  498. package/steps/styles.scoped.css +13 -9
  499. package/steps/styles.selectors.js +6 -6
  500. package/table/body-cell/styles.css.js +46 -46
  501. package/table/body-cell/styles.scoped.css +296 -292
  502. package/table/body-cell/styles.selectors.js +46 -46
  503. package/table/expandable-rows/styles.css.js +3 -3
  504. package/table/expandable-rows/styles.scoped.css +17 -13
  505. package/table/expandable-rows/styles.selectors.js +3 -3
  506. package/table/header-cell/styles.css.js +26 -26
  507. package/table/header-cell/styles.scoped.css +69 -65
  508. package/table/header-cell/styles.selectors.js +26 -26
  509. package/table/header-cell/th-element.d.ts +2 -1
  510. package/table/header-cell/th-element.d.ts.map +1 -1
  511. package/table/header-cell/th-element.js +2 -2
  512. package/table/header-cell/th-element.js.map +1 -1
  513. package/table/interfaces.d.ts +14 -3
  514. package/table/interfaces.d.ts.map +1 -1
  515. package/table/interfaces.js.map +1 -1
  516. package/table/internal.d.ts.map +1 -1
  517. package/table/internal.js +13 -4
  518. package/table/internal.js.map +1 -1
  519. package/table/progressive-loading/items-loader.d.ts +8 -2
  520. package/table/progressive-loading/items-loader.d.ts.map +1 -1
  521. package/table/progressive-loading/items-loader.js +11 -5
  522. package/table/progressive-loading/items-loader.js.map +1 -1
  523. package/table/progressive-loading/loader-cell.d.ts +2 -3
  524. package/table/progressive-loading/loader-cell.d.ts.map +1 -1
  525. package/table/progressive-loading/loader-cell.js +2 -2
  526. package/table/progressive-loading/loader-cell.js.map +1 -1
  527. package/table/progressive-loading/progressive-loading-utils.d.ts.map +1 -1
  528. package/table/progressive-loading/progressive-loading-utils.js +2 -2
  529. package/table/progressive-loading/progressive-loading-utils.js.map +1 -1
  530. package/table/resizer/styles.css.js +8 -8
  531. package/table/resizer/styles.scoped.css +19 -15
  532. package/table/resizer/styles.selectors.js +8 -8
  533. package/table/selection/interfaces.d.ts +1 -0
  534. package/table/selection/interfaces.d.ts.map +1 -1
  535. package/table/selection/interfaces.js.map +1 -1
  536. package/table/selection/selection-cell.d.ts.map +1 -1
  537. package/table/selection/selection-cell.js +4 -3
  538. package/table/selection/selection-cell.js.map +1 -1
  539. package/table/selection/styles.css.js +3 -3
  540. package/table/selection/styles.scoped.css +7 -3
  541. package/table/selection/styles.selectors.js +3 -3
  542. package/table/selection/use-selection.js +1 -0
  543. package/table/selection/use-selection.js.map +1 -1
  544. package/table/sticky-scrollbar/styles.css.js +6 -6
  545. package/table/sticky-scrollbar/styles.scoped.css +14 -10
  546. package/table/sticky-scrollbar/styles.selectors.js +6 -6
  547. package/table/styles.css.js +34 -34
  548. package/table/styles.scoped.css +45 -41
  549. package/table/styles.selectors.js +34 -34
  550. package/tabs/styles.css.js +28 -28
  551. package/tabs/styles.scoped.css +57 -49
  552. package/tabs/styles.selectors.js +28 -28
  553. package/tag-editor/styles.css.js +3 -3
  554. package/tag-editor/styles.scoped.css +14 -10
  555. package/tag-editor/styles.selectors.js +3 -3
  556. package/test-utils/dom/button-group/index.d.ts +5 -0
  557. package/test-utils/dom/button-group/index.js +16 -7
  558. package/test-utils/dom/button-group/index.js.map +1 -1
  559. package/test-utils/selectors/button-group/index.d.ts +5 -0
  560. package/test-utils/selectors/button-group/index.js +16 -7
  561. package/test-utils/selectors/button-group/index.js.map +1 -1
  562. package/test-utils/tsconfig.tsbuildinfo +1 -1
  563. package/text-content/styles.css.js +1 -1
  564. package/text-content/styles.scoped.css +64 -60
  565. package/text-content/styles.selectors.js +1 -1
  566. package/text-filter/styles.css.js +3 -3
  567. package/text-filter/styles.scoped.css +7 -3
  568. package/text-filter/styles.selectors.js +3 -3
  569. package/textarea/styles.css.js +5 -5
  570. package/textarea/styles.scoped.css +18 -14
  571. package/textarea/styles.selectors.js +5 -5
  572. package/tiles/styles.css.js +30 -30
  573. package/tiles/styles.scoped.css +77 -73
  574. package/tiles/styles.selectors.js +30 -30
  575. package/toggle/styles.css.js +10 -10
  576. package/toggle/styles.scoped.css +21 -17
  577. package/toggle/styles.selectors.js +10 -10
  578. package/token-group/styles.css.js +8 -8
  579. package/token-group/styles.scoped.css +20 -16
  580. package/token-group/styles.selectors.js +8 -8
  581. package/top-navigation/1.0-beta/styles.css.js +23 -25
  582. package/top-navigation/1.0-beta/styles.scoped.css +40 -66
  583. package/top-navigation/1.0-beta/styles.selectors.js +23 -25
  584. package/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
  585. package/top-navigation/parts/overflow-menu/menu-item.js +3 -2
  586. package/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
  587. package/top-navigation/styles.css.js +47 -47
  588. package/top-navigation/styles.scoped.css +78 -85
  589. package/top-navigation/styles.selectors.js +47 -47
  590. package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
  591. package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +27 -23
  592. package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
  593. package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  594. package/tutorial-panel/components/tutorial-list/styles.scoped.css +33 -29
  595. package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  596. package/tutorial-panel/styles.css.js +1 -1
  597. package/tutorial-panel/styles.scoped.css +7 -3
  598. package/tutorial-panel/styles.selectors.js +1 -1
  599. package/wizard/styles.css.js +30 -30
  600. package/wizard/styles.scoped.css +62 -58
  601. package/wizard/styles.selectors.js +30 -30
  602. package/calendar/utils/navigation.d.ts.map +0 -1
  603. package/calendar/utils/navigation.js +0 -73
  604. package/calendar/utils/navigation.js.map +0 -1
  605. package/internal/utils/date-time/is-iso-date-only.d.ts +0 -5
  606. package/internal/utils/date-time/is-iso-date-only.d.ts.map +0 -1
  607. package/internal/utils/date-time/is-iso-date-only.js +0 -10
  608. package/internal/utils/date-time/is-iso-date-only.js.map +0 -1
@@ -136,9 +136,13 @@
136
136
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
137
137
  SPDX-License-Identifier: Apache-2.0
138
138
  */
139
+ /*
140
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
141
+ SPDX-License-Identifier: Apache-2.0
142
+ */
139
143
  /* Style used for links in slots/components that are text heavy, to help links stand out among
140
144
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
141
- .awsui_root_1wzqe_ftmu8_141:not(#\9) {
145
+ .awsui_root_1wzqe_piuc8_145:not(#\9) {
142
146
  border-collapse: separate;
143
147
  border-spacing: 0;
144
148
  box-sizing: border-box;
@@ -171,40 +175,40 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
171
175
  -moz-osx-font-smoothing: auto;
172
176
  }
173
177
 
174
- .awsui_search-field_1wzqe_ftmu8_173:not(#\9) {
178
+ .awsui_search-field_1wzqe_piuc8_177:not(#\9) {
175
179
  display: flex;
176
180
  align-items: flex-end;
177
181
  flex-wrap: wrap;
178
182
  gap: var(--space-xs-zb16t3, 8px) var(--space-s-34lx8l, 12px);
179
183
  }
180
184
 
181
- .awsui_input-wrapper_1wzqe_ftmu8_180:not(#\9) {
185
+ .awsui_input-wrapper_1wzqe_piuc8_184:not(#\9) {
182
186
  flex-grow: 1;
183
187
  display: flex;
184
188
  align-items: flex-end;
185
189
  max-inline-size: calc(688px - 2 * var(--space-l-t419sm, 20px));
186
190
  }
187
191
 
188
- .awsui_add-token_1wzqe_ftmu8_187:not(#\9) {
192
+ .awsui_add-token_1wzqe_piuc8_191:not(#\9) {
189
193
  border-inline-start: 1px solid var(--color-border-divider-default-cx07f2, #c6c6cd);
190
194
  box-sizing: border-box;
191
195
  margin-inline-start: var(--space-m-udix3p, 16px);
192
196
  padding-inline-start: var(--space-m-udix3p, 16px);
193
197
  }
194
198
 
195
- .awsui_tokens_1wzqe_ftmu8_194:not(#\9) {
199
+ .awsui_tokens_1wzqe_piuc8_198:not(#\9) {
196
200
  margin-block: var(--space-xs-zb16t3, 8px);
197
201
  margin-inline: 0;
198
202
  }
199
203
 
200
- .awsui_token-operator_1wzqe_ftmu8_199:not(#\9) {
204
+ .awsui_token-operator_1wzqe_piuc8_203:not(#\9) {
201
205
  font-weight: bold;
202
206
  }
203
207
 
204
- .awsui_property-editor_1wzqe_ftmu8_203:not(#\9) {
208
+ .awsui_property-editor_1wzqe_piuc8_207:not(#\9) {
205
209
  overflow-y: auto;
206
210
  }
207
- .awsui_property-editor-header_1wzqe_ftmu8_206:not(#\9) {
211
+ .awsui_property-editor-header_1wzqe_piuc8_210:not(#\9) {
208
212
  font-size: var(--font-size-body-m-x4okxb, 14px);
209
213
  line-height: var(--line-height-body-m-30ar75, 20px);
210
214
  color: var(--color-text-body-default-7v1jfn, #0f141a);
@@ -217,7 +221,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
217
221
  padding-block-end: var(--space-xxs-p8yyaw, 4px);
218
222
  padding-inline: var(--space-s-34lx8l, 12px);
219
223
  }
220
- .awsui_property-editor-header-enum_1wzqe_ftmu8_219:not(#\9) {
224
+ .awsui_property-editor-header-enum_1wzqe_piuc8_223:not(#\9) {
221
225
  display: flex;
222
226
  gap: var(--space-xs-zb16t3, 8px);
223
227
  font-size: var(--font-size-body-m-x4okxb, 14px);
@@ -232,15 +236,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
232
236
  padding-block: calc(var(--space-xs-zb16t3, 8px) + var(--border-item-width-yel47s, 2px) - var(--border-divider-list-width-27y3k5, 1px));
233
237
  padding-inline: calc(var(--space-field-horizontal-gg19kw, 12px) + var(--border-item-width-yel47s, 2px));
234
238
  }
235
- .awsui_property-editor-form_1wzqe_ftmu8_234:not(#\9) {
239
+ .awsui_property-editor-form_1wzqe_piuc8_238:not(#\9) {
236
240
  padding-block-start: var(--space-xxs-p8yyaw, 4px);
237
241
  padding-block-end: var(--space-s-34lx8l, 12px);
238
242
  padding-inline: var(--space-s-34lx8l, 12px);
239
243
  }
240
- .awsui_property-editor-cancel_1wzqe_ftmu8_239:not(#\9) {
244
+ .awsui_property-editor-cancel_1wzqe_piuc8_243:not(#\9) {
241
245
  margin-inline-end: var(--space-xs-zb16t3, 8px);
242
246
  }
243
- .awsui_property-editor-actions_1wzqe_ftmu8_242:not(#\9) {
247
+ .awsui_property-editor-actions_1wzqe_piuc8_246:not(#\9) {
244
248
  display: flex;
245
249
  justify-content: flex-end;
246
250
  border-block-start: var(--border-divider-list-width-27y3k5, 1px) solid var(--color-border-dropdown-item-default-xiw1xo, #c6c6cd);
@@ -248,46 +252,46 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
248
252
  padding-block: var(--space-s-34lx8l, 12px);
249
253
  }
250
254
 
251
- .awsui_property-editor-enum_1wzqe_ftmu8_250:not(#\9) {
255
+ .awsui_property-editor-enum_1wzqe_piuc8_254:not(#\9) {
252
256
  display: flex;
253
257
  flex-direction: column;
254
258
  }
255
259
 
256
- .awsui_token-editor_1wzqe_ftmu8_255:not(#\9) {
260
+ .awsui_token-editor_1wzqe_piuc8_259:not(#\9) {
257
261
  display: flex;
258
262
  flex-direction: column;
259
263
  gap: var(--space-s-34lx8l, 12px);
260
264
  margin-block: var(--space-xxs-p8yyaw, 4px);
261
265
  margin-inline: var(--space-xxs-p8yyaw, 4px);
262
266
  }
263
- .awsui_token-editor-form_1wzqe_ftmu8_262:not(#\9) {
267
+ .awsui_token-editor-form_1wzqe_piuc8_266:not(#\9) {
264
268
  /* used in test-utils */
265
269
  }
266
- .awsui_token-editor-field-property_1wzqe_ftmu8_265:not(#\9) {
270
+ .awsui_token-editor-field-property_1wzqe_piuc8_269:not(#\9) {
267
271
  flex-grow: 2;
268
272
  }
269
- .awsui_token-editor-field-operator_1wzqe_ftmu8_268:not(#\9) {
273
+ .awsui_token-editor-field-operator_1wzqe_piuc8_272:not(#\9) {
270
274
  flex-grow: 1;
271
275
  }
272
- .awsui_token-editor-field-value_1wzqe_ftmu8_271:not(#\9) {
276
+ .awsui_token-editor-field-value_1wzqe_piuc8_275:not(#\9) {
273
277
  flex-grow: 2;
274
278
  }
275
- .awsui_token-editor-multiselect-wrapper_1wzqe_ftmu8_274:not(#\9) {
279
+ .awsui_token-editor-multiselect-wrapper_1wzqe_piuc8_278:not(#\9) {
276
280
  position: relative;
277
281
  block-size: var(--size-vertical-input-v5iwwf, 32px);
278
282
  min-inline-size: 200px;
279
283
  }
280
- .awsui_token-editor-multiselect-wrapper-inner_1wzqe_ftmu8_279:not(#\9) {
284
+ .awsui_token-editor-multiselect-wrapper-inner_1wzqe_piuc8_283:not(#\9) {
281
285
  position: absolute;
282
286
  inline-size: 100%;
283
287
  }
284
- .awsui_token-editor-cancel_1wzqe_ftmu8_283:not(#\9) {
288
+ .awsui_token-editor-cancel_1wzqe_piuc8_287:not(#\9) {
285
289
  margin-inline-end: var(--space-xs-zb16t3, 8px);
286
290
  }
287
- .awsui_token-editor-submit_1wzqe_ftmu8_286:not(#\9) {
291
+ .awsui_token-editor-submit_1wzqe_piuc8_290:not(#\9) {
288
292
  /* used in test-utils */
289
293
  }
290
- .awsui_token-editor-actions_1wzqe_ftmu8_289:not(#\9) {
294
+ .awsui_token-editor-actions_1wzqe_piuc8_293:not(#\9) {
291
295
  display: flex;
292
296
  justify-content: flex-end;
293
297
  padding-block-start: var(--space-s-34lx8l, 12px);
@@ -296,7 +300,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
296
300
  margin-inline: calc(-1 * var(--space-m-udix3p, 16px) + -1 * var(--space-xxs-p8yyaw, 4px));
297
301
  margin-block-start: var(--space-s-34lx8l, 12px);
298
302
  }
299
- .awsui_token-editor-grid_1wzqe_ftmu8_298:not(#\9) {
303
+ .awsui_token-editor-grid_1wzqe_piuc8_302:not(#\9) {
300
304
  border-collapse: separate;
301
305
  border-spacing: 0;
302
306
  box-sizing: border-box;
@@ -331,70 +335,70 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
331
335
  gap: var(--space-s-34lx8l, 12px);
332
336
  grid-template-columns: minmax(min-content, 2fr) minmax(min-content, 120px) minmax(min-content, 3fr) min-content;
333
337
  }
334
- .awsui_token-editor-grid-group_1wzqe_ftmu8_332:not(#\9) {
338
+ .awsui_token-editor-grid-group_1wzqe_piuc8_336:not(#\9) {
335
339
  display: contents;
336
340
  }
337
- .awsui_token-editor-grid_1wzqe_ftmu8_298.awsui_token-editor-narrow_1wzqe_ftmu8_335:not(#\9) {
341
+ .awsui_token-editor-grid_1wzqe_piuc8_302.awsui_token-editor-narrow_1wzqe_piuc8_339:not(#\9) {
338
342
  grid-template-columns: minmax(100px, 1fr);
339
343
  gap: var(--space-m-udix3p, 16px);
340
344
  }
341
- .awsui_token-editor-grid_1wzqe_ftmu8_298.awsui_token-editor-narrow_1wzqe_ftmu8_335 > .awsui_token-editor-grid-group_1wzqe_ftmu8_332:not(#\9) {
345
+ .awsui_token-editor-grid_1wzqe_piuc8_302.awsui_token-editor-narrow_1wzqe_piuc8_339 > .awsui_token-editor-grid-group_1wzqe_piuc8_336:not(#\9) {
342
346
  display: flex;
343
347
  flex-direction: column;
344
348
  gap: var(--space-s-34lx8l, 12px);
345
349
  }
346
- .awsui_token-editor-grid_1wzqe_ftmu8_298.awsui_token-editor-narrow_1wzqe_ftmu8_335 > .awsui_token-editor-grid-group_1wzqe_ftmu8_332.awsui_token-editor-supports-groups_1wzqe_ftmu8_344:not(#\9) {
350
+ .awsui_token-editor-grid_1wzqe_piuc8_302.awsui_token-editor-narrow_1wzqe_piuc8_339 > .awsui_token-editor-grid-group_1wzqe_piuc8_336.awsui_token-editor-supports-groups_1wzqe_piuc8_348:not(#\9) {
347
351
  padding-block-end: var(--space-m-udix3p, 16px);
348
352
  border-block-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-divider-default-cx07f2, #c6c6cd);
349
353
  }
350
- .awsui_token-editor-grid-header_1wzqe_ftmu8_348:not(#\9) {
354
+ .awsui_token-editor-grid-header_1wzqe_piuc8_352:not(#\9) {
351
355
  color: var(--color-text-column-header-18yqaj, #424650);
352
356
  font-weight: var(--font-weight-heading-s-cwn6wc, 700);
353
357
  padding-block: var(--space-scaled-xxs-7597g1, 4px);
354
358
  text-align: start;
355
359
  }
356
- .awsui_token-editor-grid-cell_1wzqe_ftmu8_354:not(#\9):not(.awsui_token-editor-narrow_1wzqe_ftmu8_335) {
360
+ .awsui_token-editor-grid-cell_1wzqe_piuc8_358:not(#\9):not(.awsui_token-editor-narrow_1wzqe_piuc8_339) {
357
361
  display: flex;
358
362
  align-items: flex-end;
359
363
  justify-content: flex-end;
360
364
  }
361
- .awsui_token-editor-grid-cell_1wzqe_ftmu8_354.awsui_token-editor-narrow_1wzqe_ftmu8_335:not(#\9):nth-child(4) {
365
+ .awsui_token-editor-grid-cell_1wzqe_piuc8_358.awsui_token-editor-narrow_1wzqe_piuc8_339:not(#\9):nth-child(4) {
362
366
  display: flex;
363
367
  justify-content: flex-end;
364
368
  }
365
- .awsui_token-editor-add-token_1wzqe_ftmu8_363:not(#\9) {
369
+ .awsui_token-editor-add-token_1wzqe_piuc8_367:not(#\9) {
366
370
  margin-block-start: var(--space-s-34lx8l, 12px);
367
371
  }
368
372
 
369
- .awsui_custom-content-wrapper_1wzqe_ftmu8_367:not(#\9) {
373
+ .awsui_custom-content-wrapper_1wzqe_piuc8_371:not(#\9) {
370
374
  display: contents;
371
375
  }
372
376
 
373
- .awsui_custom-control_1wzqe_ftmu8_371:not(#\9) {
377
+ .awsui_custom-control_1wzqe_piuc8_375:not(#\9) {
374
378
  /* used in test-utils */
375
379
  }
376
380
 
377
- .awsui_input_1wzqe_ftmu8_180:not(#\9) {
381
+ .awsui_input_1wzqe_piuc8_184:not(#\9) {
378
382
  flex: 1;
379
383
  }
380
384
 
381
- .awsui_results_1wzqe_ftmu8_379:not(#\9) {
385
+ .awsui_results_1wzqe_piuc8_383:not(#\9) {
382
386
  padding-block: calc(var(--space-scaled-xxs-7597g1, 4px) + var(--border-width-field-h1g7tw, 2px));
383
387
  padding-inline: 0;
384
388
  }
385
389
 
386
- .awsui_token-trigger_1wzqe_ftmu8_384:not(#\9) {
390
+ .awsui_token-trigger_1wzqe_piuc8_388:not(#\9) {
387
391
  min-inline-size: 0;
388
392
  word-break: break-word;
389
393
  }
390
394
 
391
- .awsui_remove-all_1wzqe_ftmu8_389:not(#\9),
392
- .awsui_join-operation_1wzqe_ftmu8_390:not(#\9),
393
- .awsui_custom-filter-actions_1wzqe_ftmu8_391:not(#\9) {
395
+ .awsui_remove-all_1wzqe_piuc8_393:not(#\9),
396
+ .awsui_join-operation_1wzqe_piuc8_394:not(#\9),
397
+ .awsui_custom-filter-actions_1wzqe_piuc8_395:not(#\9) {
394
398
  /* used in test-utils */
395
399
  }
396
400
 
397
- .awsui_constraint_1wzqe_ftmu8_395:not(#\9) {
401
+ .awsui_constraint_1wzqe_piuc8_399:not(#\9) {
398
402
  padding-block-start: var(--space-xxs-p8yyaw, 4px);
399
403
  color: var(--color-text-form-secondary-54emib, #656871);
400
404
  font-size: var(--font-size-body-s-asqx2i, 12px);
@@ -2,44 +2,44 @@
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_1wzqe_ftmu8_141",
6
- "search-field": "awsui_search-field_1wzqe_ftmu8_173",
7
- "input-wrapper": "awsui_input-wrapper_1wzqe_ftmu8_180",
8
- "add-token": "awsui_add-token_1wzqe_ftmu8_187",
9
- "tokens": "awsui_tokens_1wzqe_ftmu8_194",
10
- "token-operator": "awsui_token-operator_1wzqe_ftmu8_199",
11
- "property-editor": "awsui_property-editor_1wzqe_ftmu8_203",
12
- "property-editor-header": "awsui_property-editor-header_1wzqe_ftmu8_206",
13
- "property-editor-header-enum": "awsui_property-editor-header-enum_1wzqe_ftmu8_219",
14
- "property-editor-form": "awsui_property-editor-form_1wzqe_ftmu8_234",
15
- "property-editor-cancel": "awsui_property-editor-cancel_1wzqe_ftmu8_239",
16
- "property-editor-actions": "awsui_property-editor-actions_1wzqe_ftmu8_242",
17
- "property-editor-enum": "awsui_property-editor-enum_1wzqe_ftmu8_250",
18
- "token-editor": "awsui_token-editor_1wzqe_ftmu8_255",
19
- "token-editor-form": "awsui_token-editor-form_1wzqe_ftmu8_262",
20
- "token-editor-field-property": "awsui_token-editor-field-property_1wzqe_ftmu8_265",
21
- "token-editor-field-operator": "awsui_token-editor-field-operator_1wzqe_ftmu8_268",
22
- "token-editor-field-value": "awsui_token-editor-field-value_1wzqe_ftmu8_271",
23
- "token-editor-multiselect-wrapper": "awsui_token-editor-multiselect-wrapper_1wzqe_ftmu8_274",
24
- "token-editor-multiselect-wrapper-inner": "awsui_token-editor-multiselect-wrapper-inner_1wzqe_ftmu8_279",
25
- "token-editor-cancel": "awsui_token-editor-cancel_1wzqe_ftmu8_283",
26
- "token-editor-submit": "awsui_token-editor-submit_1wzqe_ftmu8_286",
27
- "token-editor-actions": "awsui_token-editor-actions_1wzqe_ftmu8_289",
28
- "token-editor-grid": "awsui_token-editor-grid_1wzqe_ftmu8_298",
29
- "token-editor-grid-group": "awsui_token-editor-grid-group_1wzqe_ftmu8_332",
30
- "token-editor-narrow": "awsui_token-editor-narrow_1wzqe_ftmu8_335",
31
- "token-editor-supports-groups": "awsui_token-editor-supports-groups_1wzqe_ftmu8_344",
32
- "token-editor-grid-header": "awsui_token-editor-grid-header_1wzqe_ftmu8_348",
33
- "token-editor-grid-cell": "awsui_token-editor-grid-cell_1wzqe_ftmu8_354",
34
- "token-editor-add-token": "awsui_token-editor-add-token_1wzqe_ftmu8_363",
35
- "custom-content-wrapper": "awsui_custom-content-wrapper_1wzqe_ftmu8_367",
36
- "custom-control": "awsui_custom-control_1wzqe_ftmu8_371",
37
- "input": "awsui_input_1wzqe_ftmu8_180",
38
- "results": "awsui_results_1wzqe_ftmu8_379",
39
- "token-trigger": "awsui_token-trigger_1wzqe_ftmu8_384",
40
- "remove-all": "awsui_remove-all_1wzqe_ftmu8_389",
41
- "join-operation": "awsui_join-operation_1wzqe_ftmu8_390",
42
- "custom-filter-actions": "awsui_custom-filter-actions_1wzqe_ftmu8_391",
43
- "constraint": "awsui_constraint_1wzqe_ftmu8_395"
5
+ "root": "awsui_root_1wzqe_piuc8_145",
6
+ "search-field": "awsui_search-field_1wzqe_piuc8_177",
7
+ "input-wrapper": "awsui_input-wrapper_1wzqe_piuc8_184",
8
+ "add-token": "awsui_add-token_1wzqe_piuc8_191",
9
+ "tokens": "awsui_tokens_1wzqe_piuc8_198",
10
+ "token-operator": "awsui_token-operator_1wzqe_piuc8_203",
11
+ "property-editor": "awsui_property-editor_1wzqe_piuc8_207",
12
+ "property-editor-header": "awsui_property-editor-header_1wzqe_piuc8_210",
13
+ "property-editor-header-enum": "awsui_property-editor-header-enum_1wzqe_piuc8_223",
14
+ "property-editor-form": "awsui_property-editor-form_1wzqe_piuc8_238",
15
+ "property-editor-cancel": "awsui_property-editor-cancel_1wzqe_piuc8_243",
16
+ "property-editor-actions": "awsui_property-editor-actions_1wzqe_piuc8_246",
17
+ "property-editor-enum": "awsui_property-editor-enum_1wzqe_piuc8_254",
18
+ "token-editor": "awsui_token-editor_1wzqe_piuc8_259",
19
+ "token-editor-form": "awsui_token-editor-form_1wzqe_piuc8_266",
20
+ "token-editor-field-property": "awsui_token-editor-field-property_1wzqe_piuc8_269",
21
+ "token-editor-field-operator": "awsui_token-editor-field-operator_1wzqe_piuc8_272",
22
+ "token-editor-field-value": "awsui_token-editor-field-value_1wzqe_piuc8_275",
23
+ "token-editor-multiselect-wrapper": "awsui_token-editor-multiselect-wrapper_1wzqe_piuc8_278",
24
+ "token-editor-multiselect-wrapper-inner": "awsui_token-editor-multiselect-wrapper-inner_1wzqe_piuc8_283",
25
+ "token-editor-cancel": "awsui_token-editor-cancel_1wzqe_piuc8_287",
26
+ "token-editor-submit": "awsui_token-editor-submit_1wzqe_piuc8_290",
27
+ "token-editor-actions": "awsui_token-editor-actions_1wzqe_piuc8_293",
28
+ "token-editor-grid": "awsui_token-editor-grid_1wzqe_piuc8_302",
29
+ "token-editor-grid-group": "awsui_token-editor-grid-group_1wzqe_piuc8_336",
30
+ "token-editor-narrow": "awsui_token-editor-narrow_1wzqe_piuc8_339",
31
+ "token-editor-supports-groups": "awsui_token-editor-supports-groups_1wzqe_piuc8_348",
32
+ "token-editor-grid-header": "awsui_token-editor-grid-header_1wzqe_piuc8_352",
33
+ "token-editor-grid-cell": "awsui_token-editor-grid-cell_1wzqe_piuc8_358",
34
+ "token-editor-add-token": "awsui_token-editor-add-token_1wzqe_piuc8_367",
35
+ "custom-content-wrapper": "awsui_custom-content-wrapper_1wzqe_piuc8_371",
36
+ "custom-control": "awsui_custom-control_1wzqe_piuc8_375",
37
+ "input": "awsui_input_1wzqe_piuc8_184",
38
+ "results": "awsui_results_1wzqe_piuc8_383",
39
+ "token-trigger": "awsui_token-trigger_1wzqe_piuc8_388",
40
+ "remove-all": "awsui_remove-all_1wzqe_piuc8_393",
41
+ "join-operation": "awsui_join-operation_1wzqe_piuc8_394",
42
+ "custom-filter-actions": "awsui_custom-filter-actions_1wzqe_piuc8_395",
43
+ "constraint": "awsui_constraint_1wzqe_piuc8_399"
44
44
  };
45
45
 
@@ -1,15 +1,15 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_1mabk_caji3_141",
5
- "radio": "awsui_radio_1mabk_caji3_174",
6
- "radio--has-description": "awsui_radio--has-description_1mabk_caji3_182",
7
- "radio-control": "awsui_radio-control_1mabk_caji3_186",
8
- "outline": "awsui_outline_1mabk_caji3_194",
9
- "styled-circle-border": "awsui_styled-circle-border_1mabk_caji3_216",
10
- "styled-circle-disabled": "awsui_styled-circle-disabled_1mabk_caji3_220",
11
- "styled-circle-readonly": "awsui_styled-circle-readonly_1mabk_caji3_220",
12
- "styled-circle-fill": "awsui_styled-circle-fill_1mabk_caji3_225",
13
- "styled-circle-checked": "awsui_styled-circle-checked_1mabk_caji3_241"
4
+ "root": "awsui_root_1mabk_16xu4_145",
5
+ "radio": "awsui_radio_1mabk_16xu4_178",
6
+ "radio--has-description": "awsui_radio--has-description_1mabk_16xu4_186",
7
+ "radio-control": "awsui_radio-control_1mabk_16xu4_190",
8
+ "outline": "awsui_outline_1mabk_16xu4_198",
9
+ "styled-circle-border": "awsui_styled-circle-border_1mabk_16xu4_220",
10
+ "styled-circle-disabled": "awsui_styled-circle-disabled_1mabk_16xu4_224",
11
+ "styled-circle-readonly": "awsui_styled-circle-readonly_1mabk_16xu4_224",
12
+ "styled-circle-fill": "awsui_styled-circle-fill_1mabk_16xu4_229",
13
+ "styled-circle-checked": "awsui_styled-circle-checked_1mabk_16xu4_245"
14
14
  };
15
15
 
@@ -136,9 +136,13 @@
136
136
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
137
137
  SPDX-License-Identifier: Apache-2.0
138
138
  */
139
+ /*
140
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
141
+ SPDX-License-Identifier: Apache-2.0
142
+ */
139
143
  /* Style used for links in slots/components that are text heavy, to help links stand out among
140
144
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
141
- .awsui_root_1mabk_caji3_141:not(#\9) {
145
+ .awsui_root_1mabk_16xu4_145:not(#\9) {
142
146
  border-collapse: separate;
143
147
  border-spacing: 0;
144
148
  box-sizing: border-box;
@@ -172,19 +176,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
172
176
  display: block;
173
177
  }
174
178
 
175
- .awsui_radio_1mabk_caji3_174:not(#\9) {
179
+ .awsui_radio_1mabk_16xu4_178:not(#\9) {
176
180
  /*used in test-utils*/
177
181
  }
178
182
 
179
- .awsui_radio_1mabk_caji3_174 + .awsui_radio_1mabk_caji3_174:not(#\9) {
183
+ .awsui_radio_1mabk_16xu4_178 + .awsui_radio_1mabk_16xu4_178:not(#\9) {
180
184
  margin-block-start: var(--space-scaled-xxs-7597g1, 4px);
181
185
  }
182
186
 
183
- .awsui_radio--has-description_1mabk_caji3_182 + .awsui_radio_1mabk_caji3_174:not(#\9) {
187
+ .awsui_radio--has-description_1mabk_16xu4_186 + .awsui_radio_1mabk_16xu4_178:not(#\9) {
184
188
  margin-block-start: var(--space-scaled-xs-26e2du, 8px);
185
189
  }
186
190
 
187
- .awsui_radio-control_1mabk_caji3_186:not(#\9) {
191
+ .awsui_radio-control_1mabk_16xu4_190:not(#\9) {
188
192
  margin-block-start: calc((var(--line-height-body-m-30ar75, 20px) - var(--size-control-28i7hr, 16px)) / 2);
189
193
  min-block-size: var(--size-control-28i7hr, 16px);
190
194
  min-inline-size: var(--size-control-28i7hr, 16px);
@@ -192,14 +196,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
192
196
  inline-size: var(--size-control-28i7hr, 16px);
193
197
  }
194
198
 
195
- .awsui_outline_1mabk_caji3_194:not(#\9) {
199
+ .awsui_outline_1mabk_16xu4_198:not(#\9) {
196
200
  position: relative;
197
201
  }
198
- .awsui_outline_1mabk_caji3_194:not(#\9) {
202
+ .awsui_outline_1mabk_16xu4_198:not(#\9) {
199
203
  outline: 2px dotted transparent;
200
204
  outline-offset: calc(2px - 1px);
201
205
  }
202
- .awsui_outline_1mabk_caji3_194:not(#\9)::before {
206
+ .awsui_outline_1mabk_16xu4_198:not(#\9)::before {
203
207
  content: " ";
204
208
  display: block;
205
209
  position: absolute;
@@ -214,39 +218,39 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
214
218
  box-shadow: 0 0 0 2px var(--color-border-item-focused-nv6mhz, #006ce0);
215
219
  }
216
220
 
217
- .awsui_styled-circle-border_1mabk_caji3_216:not(#\9) {
221
+ .awsui_styled-circle-border_1mabk_16xu4_220:not(#\9) {
218
222
  stroke: var(--color-border-control-default-8m5t80, #8c8c94);
219
223
  fill: var(--color-background-control-default-5ol8rv, #ffffff);
220
224
  }
221
- .awsui_styled-circle-border_1mabk_caji3_216.awsui_styled-circle-disabled_1mabk_caji3_220:not(#\9), .awsui_styled-circle-border_1mabk_caji3_216.awsui_styled-circle-readonly_1mabk_caji3_220:not(#\9) {
225
+ .awsui_styled-circle-border_1mabk_16xu4_220.awsui_styled-circle-disabled_1mabk_16xu4_224:not(#\9), .awsui_styled-circle-border_1mabk_16xu4_220.awsui_styled-circle-readonly_1mabk_16xu4_224:not(#\9) {
222
226
  fill: var(--color-background-control-disabled-5cbvij, #dedee3);
223
227
  stroke: var(--color-background-control-disabled-5cbvij, #dedee3);
224
228
  }
225
229
 
226
- .awsui_styled-circle-fill_1mabk_caji3_225:not(#\9) {
230
+ .awsui_styled-circle-fill_1mabk_16xu4_229:not(#\9) {
227
231
  stroke: var(--color-background-control-checked-hz4k40, #006ce0);
228
232
  fill: var(--color-foreground-control-default-p84gz5, #ffffff);
229
233
  opacity: 0;
230
234
  transition: opacity var(--motion-duration-transition-quick-6npj01, 90ms) var(--motion-easing-transition-quick-l9jfsx, linear);
231
235
  }
232
236
  @media (prefers-reduced-motion: reduce) {
233
- .awsui_styled-circle-fill_1mabk_caji3_225:not(#\9) {
237
+ .awsui_styled-circle-fill_1mabk_16xu4_229:not(#\9) {
234
238
  animation: none;
235
239
  transition: none;
236
240
  }
237
241
  }
238
- .awsui-motion-disabled .awsui_styled-circle-fill_1mabk_caji3_225:not(#\9), .awsui-mode-entering .awsui_styled-circle-fill_1mabk_caji3_225:not(#\9) {
242
+ .awsui-motion-disabled .awsui_styled-circle-fill_1mabk_16xu4_229:not(#\9), .awsui-mode-entering .awsui_styled-circle-fill_1mabk_16xu4_229:not(#\9) {
239
243
  animation: none;
240
244
  transition: none;
241
245
  }
242
- .awsui_styled-circle-fill_1mabk_caji3_225.awsui_styled-circle-checked_1mabk_caji3_241:not(#\9) {
246
+ .awsui_styled-circle-fill_1mabk_16xu4_229.awsui_styled-circle-checked_1mabk_16xu4_245:not(#\9) {
243
247
  opacity: 1;
244
248
  }
245
- .awsui_styled-circle-fill_1mabk_caji3_225.awsui_styled-circle-disabled_1mabk_caji3_220:not(#\9) {
249
+ .awsui_styled-circle-fill_1mabk_16xu4_229.awsui_styled-circle-disabled_1mabk_16xu4_224:not(#\9) {
246
250
  fill: var(--color-foreground-control-disabled-c64ihu, #ffffff);
247
251
  stroke: var(--color-background-control-disabled-5cbvij, #dedee3);
248
252
  }
249
- .awsui_styled-circle-fill_1mabk_caji3_225.awsui_styled-circle-readonly_1mabk_caji3_220:not(#\9) {
253
+ .awsui_styled-circle-fill_1mabk_16xu4_229.awsui_styled-circle-readonly_1mabk_16xu4_224:not(#\9) {
250
254
  fill: var(--color-foreground-control-read-only-e43ooq, #656871);
251
255
  stroke: var(--color-background-control-disabled-5cbvij, #dedee3);
252
256
  }
@@ -2,15 +2,15 @@
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_1mabk_caji3_141",
6
- "radio": "awsui_radio_1mabk_caji3_174",
7
- "radio--has-description": "awsui_radio--has-description_1mabk_caji3_182",
8
- "radio-control": "awsui_radio-control_1mabk_caji3_186",
9
- "outline": "awsui_outline_1mabk_caji3_194",
10
- "styled-circle-border": "awsui_styled-circle-border_1mabk_caji3_216",
11
- "styled-circle-disabled": "awsui_styled-circle-disabled_1mabk_caji3_220",
12
- "styled-circle-readonly": "awsui_styled-circle-readonly_1mabk_caji3_220",
13
- "styled-circle-fill": "awsui_styled-circle-fill_1mabk_caji3_225",
14
- "styled-circle-checked": "awsui_styled-circle-checked_1mabk_caji3_241"
5
+ "root": "awsui_root_1mabk_16xu4_145",
6
+ "radio": "awsui_radio_1mabk_16xu4_178",
7
+ "radio--has-description": "awsui_radio--has-description_1mabk_16xu4_186",
8
+ "radio-control": "awsui_radio-control_1mabk_16xu4_190",
9
+ "outline": "awsui_outline_1mabk_16xu4_198",
10
+ "styled-circle-border": "awsui_styled-circle-border_1mabk_16xu4_220",
11
+ "styled-circle-disabled": "awsui_styled-circle-disabled_1mabk_16xu4_224",
12
+ "styled-circle-readonly": "awsui_styled-circle-readonly_1mabk_16xu4_224",
13
+ "styled-circle-fill": "awsui_styled-circle-fill_1mabk_16xu4_229",
14
+ "styled-circle-checked": "awsui_styled-circle-checked_1mabk_16xu4_245"
15
15
  };
16
16
 
@@ -83,6 +83,7 @@ function InternalHeaderActions({ i18nStrings, reloadData, lastUpdated }) {
83
83
  const formattedDate = formatDateLocalized({
84
84
  date: lastUpdated.toString(),
85
85
  isDateOnly: false,
86
+ isMonthOnly: false,
86
87
  });
87
88
  return (React.createElement("div", { className: styles['last-updated-caption'] },
88
89
  i18nStrings.lastUpdatedText,
@@ -1 +1 @@
1
- {"version":3,"file":"basic-table.js","sourceRoot":"","sources":["../../../../src/s3-resource-selector/s3-modal/basic-table.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,cAAc,MAAM,uBAAuB,CAAC;AAEnD,OAAO,eAAoC,MAAM,oCAAoC,CAAC;AACtF,OAAO,mBAAmB,MAAM,sDAAsD,CAAC;AACvF,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAE5D,OAAO,kBAAkB,MAAM,2BAA2B,CAAC;AAC3D,OAAO,oBAAoB,MAAM,8BAA8B,CAAC;AAEhE,OAAO,aAAa,MAAM,sBAAsB,CAAC;AAEjD,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAiCrC,MAAM,UAAU,mBAAmB,CACjC,IAAqD,EACrD,WAA4D;IAE5D,OAAO;QACL,oBAAoB,EAAE,IAAI,CACxB,kCAAkC,EAClC,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,oBAAoB,E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Z,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,iBAAiB,EACpC,wBAAwB,EAAE,IAAI,IAC9B,CACH,CAAC;AACJ,CAAC;AAQD,SAAS,qBAAqB,CAAI,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAiC;IACvG,SAAS,cAAc;QACrB,IAAI,CAAC,WAAW,IAAI,CAAC,WAAW,CAAC,eAAe,EAAE;YAChD,OAAO,IAAI,CAAC;SACb;QAED,MAAM,aAAa,GAAG,mBAAmB,CAAC;YACxC,IAAI,EAAE,WAAW,CAAC,QAAQ,EAAE;YAC5B,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;QAEH,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC;YAC3C,WAAW,CAAC,eAAe;YAC5B,+BAAM;YACL,aAAa;YACd,oBAAC,kBAAkB,IAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,CAAC,WAAW,CAAC,eAAe,EAAE,aAAa,CAAC,GAAI,CACxF,CACP,CAAC;IACJ,CAAC;IAED,OAAO,CACL,oBAAC,oBAAoB,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,YAAY,EAAC,UAAU,EAAC,QAAQ;QACtE,cAAc,EAAE;QACjB,oBAAC,cAAc,IAAC,QAAQ,EAAC,SAAS,EAAC,SAAS,EAAE,WAAW,CAAC,YAAY,EAAE,OAAO,EAAE,UAAU,GAAI,CAC1E,CACxB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\n\nimport { useCollection } from '@cloudscape-design/collection-hooks';\nimport { useStableCallback } from '@cloudscape-design/component-toolkit/internal';\n\nimport { InternalButton } from '../../button/internal';\nimport InternalHeader from '../../header/internal';\nimport { ComponentFormatFunction } from '../../i18n/context';\nimport useForwardFocus, { ForwardFocusRef } from '../../internal/hooks/forward-focus';\nimport formatDateLocalized from '../../internal/utils/date-time/format-date-localized';\nimport InternalLiveRegion from '../../live-region/internal';\nimport { PaginationProps } from '../../pagination/interfaces';\nimport InternalPagination from '../../pagination/internal';\nimport InternalSpaceBetween from '../../space-between/internal';\nimport { TableProps } from '../../table/interfaces';\nimport InternalTable from '../../table/internal';\nimport { TextFilterProps } from '../../text-filter/interfaces';\nimport InternalTextFilter from '../../text-filter/internal';\nimport { S3ResourceSelectorProps } from '../interfaces';\nimport { EmptyState } from './empty-state';\n\nimport styles from './styles.css.js';\n\ninterface BasicS3TableStrings<T> {\n labelRefresh?: string;\n labelsPagination?: PaginationProps.Labels;\n header?: string;\n loadingText?: string;\n filteringPlaceholder?: string;\n filteringAriaLabel?: string;\n filteringClearAriaLabel?: string;\n filteringCounterText?: S3ResourceSelectorProps.I18nStrings['filteringCounterText'];\n lastUpdatedText?: string;\n emptyText?: string;\n noMatchTitle?: string;\n noMatchSubtitle?: string;\n clearFilterButtonText?: string;\n selectionLabels?: TableProps.AriaLabels<T>;\n}\n\ninterface BasicS3TableProps<T> {\n // We do not use idiomatic `ref` prop because it does not allow generics.\n // Option 3 from this solution: https://stackoverflow.com/a/58473012/1297743\n forwardFocusRef: React.Ref<ForwardFocusRef>;\n columnDefinitions: ReadonlyArray<TableProps.ColumnDefinition<T>>;\n fetchData: () => Promise<ReadonlyArray<T>>;\n trackBy: TableProps.TrackBy<T>;\n i18nStrings: BasicS3TableStrings<T>;\n isVisualRefresh?: boolean;\n visibleColumns: ReadonlyArray<string>;\n isItemDisabled: TableProps.IsItemDisabled<T> | undefined;\n onSelect: (item: T | undefined) => void;\n}\n\nexport function getSharedI18Strings(\n i18n: ComponentFormatFunction<'s3-resource-selector'>,\n i18nStrings: S3ResourceSelectorProps.I18nStrings | undefined\n): BasicS3TableStrings<unknown> {\n return {\n filteringCounterText: i18n(\n 'i18nStrings.filteringCounterText',\n i18nStrings?.filteringCounterText,\n format => count => format({ count })\n ),\n labelRefresh: i18n('i18nStrings.labelRefresh', i18nStrings?.labelRefresh),\n labelsPagination: i18nStrings?.labelsPagination,\n noMatchTitle: i18n('i18nStrings.filteringNoMatches', i18nStrings?.filteringNoMatches),\n noMatchSubtitle: i18n('i18nStrings.filteringCantFindMatch', i18nStrings?.filteringCantFindMatch),\n clearFilterButtonText: i18n('i18nStrings.clearFilterButtonText', i18nStrings?.clearFilterButtonText),\n filteringClearAriaLabel: i18nStrings?.labelClearFilter,\n lastUpdatedText: i18n('i18nStrings.modalLastUpdatedText', i18nStrings?.modalLastUpdatedText),\n };\n}\n\nexport function BasicS3Table<T>({\n forwardFocusRef,\n columnDefinitions,\n fetchData,\n trackBy,\n i18nStrings = {},\n isVisualRefresh,\n visibleColumns,\n isItemDisabled,\n onSelect,\n}: BasicS3TableProps<T>) {\n const [loading, setLoading] = useState(false);\n const [allItems, setAllItems] = useState<ReadonlyArray<T>>([]);\n const [lastUpdated, setLastUpdated] = useState<Date>();\n const textFilterRef = useRef<TextFilterProps.Ref>(null);\n const onSelectLatest = useStableCallback(onSelect);\n\n function loadData() {\n setLoading(true);\n return fetchData()\n .then(items => {\n setAllItems(items);\n setLoading(false);\n })\n .catch(() => {\n // error handling should happen on the customer side, outside of this component\n setLoading(false);\n });\n }\n\n async function reloadData() {\n await loadData();\n setLastUpdated(new Date());\n }\n\n useEffect(() => {\n loadData();\n // Data loading is only happening on initial render, or via refresh button\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useForwardFocus(forwardFocusRef, textFilterRef);\n\n const { items, filteredItemsCount, collectionProps, filterProps, paginationProps, actions } = useCollection(\n allItems,\n {\n selection: { trackBy },\n filtering: {\n empty: i18nStrings.emptyText,\n noMatch: (\n <EmptyState\n title={i18nStrings.noMatchTitle}\n subtitle={i18nStrings.noMatchSubtitle}\n action={\n <InternalButton onClick={() => actions.setFiltering('')}>\n {i18nStrings.clearFilterButtonText}\n </InternalButton>\n }\n />\n ),\n },\n pagination: {},\n sorting: {},\n }\n );\n const selectedItem = collectionProps.selectedItems?.[0];\n\n // selectedItem can change internally inside the hook after pagination or filtering\n // useEffect will capture all possible changes\n useEffect(() => {\n onSelectLatest(selectedItem);\n }, [selectedItem, onSelectLatest]);\n\n return (\n <InternalTable<T>\n variant={isVisualRefresh ? 'borderless' : 'container'}\n {...collectionProps}\n header={\n <InternalHeader\n variant={isVisualRefresh ? 'h3' : 'h2'}\n headingTagOverride={'h3'}\n actions={\n <InternalHeaderActions<T> reloadData={reloadData} i18nStrings={i18nStrings} lastUpdated={lastUpdated} />\n }\n counter={selectedItem ? `(1/${allItems.length})` : `(${allItems.length})`}\n >\n {i18nStrings.header}\n </InternalHeader>\n }\n trackBy={trackBy}\n filter={\n <InternalTextFilter\n {...filterProps}\n ref={textFilterRef}\n filteringAriaLabel={i18nStrings.filteringAriaLabel}\n filteringClearAriaLabel={i18nStrings.filteringClearAriaLabel}\n filteringPlaceholder={i18nStrings.filteringPlaceholder}\n countText={i18nStrings.filteringCounterText ? i18nStrings.filteringCounterText(filteredItemsCount!) : ''}\n />\n }\n pagination={<InternalPagination {...paginationProps} ariaLabels={i18nStrings.labelsPagination} />}\n selectionType=\"single\"\n ariaLabels={i18nStrings.selectionLabels}\n loading={loading}\n loadingText={i18nStrings.loadingText}\n items={items}\n visibleColumns={visibleColumns}\n isItemDisabled={isItemDisabled}\n columnDefinitions={columnDefinitions}\n enableKeyboardNavigation={true}\n />\n );\n}\n\ninterface InternalHeaderActionsProps<T> {\n reloadData: () => void;\n i18nStrings: BasicS3TableProps<T>['i18nStrings'];\n lastUpdated: Date | undefined;\n}\n\nfunction InternalHeaderActions<T>({ i18nStrings, reloadData, lastUpdated }: InternalHeaderActionsProps<T>) {\n function getLastUpdated() {\n if (!lastUpdated || !i18nStrings.lastUpdatedText) {\n return null;\n }\n\n const formattedDate = formatDateLocalized({\n date: lastUpdated.toString(),\n isDateOnly: false,\n });\n\n return (\n <div className={styles['last-updated-caption']}>\n {i18nStrings.lastUpdatedText}\n <br />\n {formattedDate}\n <InternalLiveRegion tagName=\"span\" sources={[i18nStrings.lastUpdatedText, formattedDate]} />\n </div>\n );\n }\n\n return (\n <InternalSpaceBetween size=\"s\" direction=\"horizontal\" alignItems=\"center\">\n {getLastUpdated()}\n <InternalButton iconName=\"refresh\" ariaLabel={i18nStrings.labelRefresh} onClick={reloadData} />\n </InternalSpaceBetween>\n );\n}\n"]}
1
+ {"version":3,"file":"basic-table.js","sourceRoot":"","sources":["../../../../src/s3-resource-selector/s3-modal/basic-table.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,cAAc,MAAM,uBAAuB,CAAC;AAEnD,OAAO,eAAoC,MAAM,oCAAoC,CAAC;AACtF,OAAO,mBAAmB,MAAM,sDAAsD,CAAC;AACvF,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAE5D,OAAO,kBAAkB,MAAM,2BAA2B,CAAC;AAC3D,OAAO,oBAAoB,MAAM,8BAA8B,CAAC;AAEhE,OAAO,aAAa,MAAM,sBAAsB,CAAC;AAEjD,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAiCrC,MAAM,UAAU,mBAAmB,CACjC,IAAqD,EACrD,WAA4D;IAE5D,OAAO;QACL,oBAAoB,EAAE,IAAI,CACxB,kCAAkC,EAClC,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,oBAAoB,EACjC,MAAM,CAAC,EAAE,CAAC,KAAK,CA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AE,cAAc,EAC9B,iBAAiB,EAAE,iBAAiB,EACpC,wBAAwB,EAAE,IAAI,IAC9B,CACH,CAAC;AACJ,CAAC;AAQD,SAAS,qBAAqB,CAAI,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAiC;IACvG,SAAS,cAAc;QACrB,IAAI,CAAC,WAAW,IAAI,CAAC,WAAW,CAAC,eAAe,EAAE;YAChD,OAAO,IAAI,CAAC;SACb;QAED,MAAM,aAAa,GAAG,mBAAmB,CAAC;YACxC,IAAI,EAAE,WAAW,CAAC,QAAQ,EAAE;YAC5B,UAAU,EAAE,KAAK;YACjB,WAAW,EAAE,KAAK;SACnB,CAAC,CAAC;QAEH,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC;YAC3C,WAAW,CAAC,eAAe;YAC5B,+BAAM;YACL,aAAa;YACd,oBAAC,kBAAkB,IAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,CAAC,WAAW,CAAC,eAAe,EAAE,aAAa,CAAC,GAAI,CACxF,CACP,CAAC;IACJ,CAAC;IAED,OAAO,CACL,oBAAC,oBAAoB,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,YAAY,EAAC,UAAU,EAAC,QAAQ;QACtE,cAAc,EAAE;QACjB,oBAAC,cAAc,IAAC,QAAQ,EAAC,SAAS,EAAC,SAAS,EAAE,WAAW,CAAC,YAAY,EAAE,OAAO,EAAE,UAAU,GAAI,CAC1E,CACxB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef, useState } from 'react';\n\nimport { useCollection } from '@cloudscape-design/collection-hooks';\nimport { useStableCallback } from '@cloudscape-design/component-toolkit/internal';\n\nimport { InternalButton } from '../../button/internal';\nimport InternalHeader from '../../header/internal';\nimport { ComponentFormatFunction } from '../../i18n/context';\nimport useForwardFocus, { ForwardFocusRef } from '../../internal/hooks/forward-focus';\nimport formatDateLocalized from '../../internal/utils/date-time/format-date-localized';\nimport InternalLiveRegion from '../../live-region/internal';\nimport { PaginationProps } from '../../pagination/interfaces';\nimport InternalPagination from '../../pagination/internal';\nimport InternalSpaceBetween from '../../space-between/internal';\nimport { TableProps } from '../../table/interfaces';\nimport InternalTable from '../../table/internal';\nimport { TextFilterProps } from '../../text-filter/interfaces';\nimport InternalTextFilter from '../../text-filter/internal';\nimport { S3ResourceSelectorProps } from '../interfaces';\nimport { EmptyState } from './empty-state';\n\nimport styles from './styles.css.js';\n\ninterface BasicS3TableStrings<T> {\n labelRefresh?: string;\n labelsPagination?: PaginationProps.Labels;\n header?: string;\n loadingText?: string;\n filteringPlaceholder?: string;\n filteringAriaLabel?: string;\n filteringClearAriaLabel?: string;\n filteringCounterText?: S3ResourceSelectorProps.I18nStrings['filteringCounterText'];\n lastUpdatedText?: string;\n emptyText?: string;\n noMatchTitle?: string;\n noMatchSubtitle?: string;\n clearFilterButtonText?: string;\n selectionLabels?: TableProps.AriaLabels<T>;\n}\n\ninterface BasicS3TableProps<T> {\n // We do not use idiomatic `ref` prop because it does not allow generics.\n // Option 3 from this solution: https://stackoverflow.com/a/58473012/1297743\n forwardFocusRef: React.Ref<ForwardFocusRef>;\n columnDefinitions: ReadonlyArray<TableProps.ColumnDefinition<T>>;\n fetchData: () => Promise<ReadonlyArray<T>>;\n trackBy: TableProps.TrackBy<T>;\n i18nStrings: BasicS3TableStrings<T>;\n isVisualRefresh?: boolean;\n visibleColumns: ReadonlyArray<string>;\n isItemDisabled: TableProps.IsItemDisabled<T> | undefined;\n onSelect: (item: T | undefined) => void;\n}\n\nexport function getSharedI18Strings(\n i18n: ComponentFormatFunction<'s3-resource-selector'>,\n i18nStrings: S3ResourceSelectorProps.I18nStrings | undefined\n): BasicS3TableStrings<unknown> {\n return {\n filteringCounterText: i18n(\n 'i18nStrings.filteringCounterText',\n i18nStrings?.filteringCounterText,\n format => count => format({ count })\n ),\n labelRefresh: i18n('i18nStrings.labelRefresh', i18nStrings?.labelRefresh),\n labelsPagination: i18nStrings?.labelsPagination,\n noMatchTitle: i18n('i18nStrings.filteringNoMatches', i18nStrings?.filteringNoMatches),\n noMatchSubtitle: i18n('i18nStrings.filteringCantFindMatch', i18nStrings?.filteringCantFindMatch),\n clearFilterButtonText: i18n('i18nStrings.clearFilterButtonText', i18nStrings?.clearFilterButtonText),\n filteringClearAriaLabel: i18nStrings?.labelClearFilter,\n lastUpdatedText: i18n('i18nStrings.modalLastUpdatedText', i18nStrings?.modalLastUpdatedText),\n };\n}\n\nexport function BasicS3Table<T>({\n forwardFocusRef,\n columnDefinitions,\n fetchData,\n trackBy,\n i18nStrings = {},\n isVisualRefresh,\n visibleColumns,\n isItemDisabled,\n onSelect,\n}: BasicS3TableProps<T>) {\n const [loading, setLoading] = useState(false);\n const [allItems, setAllItems] = useState<ReadonlyArray<T>>([]);\n const [lastUpdated, setLastUpdated] = useState<Date>();\n const textFilterRef = useRef<TextFilterProps.Ref>(null);\n const onSelectLatest = useStableCallback(onSelect);\n\n function loadData() {\n setLoading(true);\n return fetchData()\n .then(items => {\n setAllItems(items);\n setLoading(false);\n })\n .catch(() => {\n // error handling should happen on the customer side, outside of this component\n setLoading(false);\n });\n }\n\n async function reloadData() {\n await loadData();\n setLastUpdated(new Date());\n }\n\n useEffect(() => {\n loadData();\n // Data loading is only happening on initial render, or via refresh button\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useForwardFocus(forwardFocusRef, textFilterRef);\n\n const { items, filteredItemsCount, collectionProps, filterProps, paginationProps, actions } = useCollection(\n allItems,\n {\n selection: { trackBy },\n filtering: {\n empty: i18nStrings.emptyText,\n noMatch: (\n <EmptyState\n title={i18nStrings.noMatchTitle}\n subtitle={i18nStrings.noMatchSubtitle}\n action={\n <InternalButton onClick={() => actions.setFiltering('')}>\n {i18nStrings.clearFilterButtonText}\n </InternalButton>\n }\n />\n ),\n },\n pagination: {},\n sorting: {},\n }\n );\n const selectedItem = collectionProps.selectedItems?.[0];\n\n // selectedItem can change internally inside the hook after pagination or filtering\n // useEffect will capture all possible changes\n useEffect(() => {\n onSelectLatest(selectedItem);\n }, [selectedItem, onSelectLatest]);\n\n return (\n <InternalTable<T>\n variant={isVisualRefresh ? 'borderless' : 'container'}\n {...collectionProps}\n header={\n <InternalHeader\n variant={isVisualRefresh ? 'h3' : 'h2'}\n headingTagOverride={'h3'}\n actions={\n <InternalHeaderActions<T> reloadData={reloadData} i18nStrings={i18nStrings} lastUpdated={lastUpdated} />\n }\n counter={selectedItem ? `(1/${allItems.length})` : `(${allItems.length})`}\n >\n {i18nStrings.header}\n </InternalHeader>\n }\n trackBy={trackBy}\n filter={\n <InternalTextFilter\n {...filterProps}\n ref={textFilterRef}\n filteringAriaLabel={i18nStrings.filteringAriaLabel}\n filteringClearAriaLabel={i18nStrings.filteringClearAriaLabel}\n filteringPlaceholder={i18nStrings.filteringPlaceholder}\n countText={i18nStrings.filteringCounterText ? i18nStrings.filteringCounterText(filteredItemsCount!) : ''}\n />\n }\n pagination={<InternalPagination {...paginationProps} ariaLabels={i18nStrings.labelsPagination} />}\n selectionType=\"single\"\n ariaLabels={i18nStrings.selectionLabels}\n loading={loading}\n loadingText={i18nStrings.loadingText}\n items={items}\n visibleColumns={visibleColumns}\n isItemDisabled={isItemDisabled}\n columnDefinitions={columnDefinitions}\n enableKeyboardNavigation={true}\n />\n );\n}\n\ninterface InternalHeaderActionsProps<T> {\n reloadData: () => void;\n i18nStrings: BasicS3TableProps<T>['i18nStrings'];\n lastUpdated: Date | undefined;\n}\n\nfunction InternalHeaderActions<T>({ i18nStrings, reloadData, lastUpdated }: InternalHeaderActionsProps<T>) {\n function getLastUpdated() {\n if (!lastUpdated || !i18nStrings.lastUpdatedText) {\n return null;\n }\n\n const formattedDate = formatDateLocalized({\n date: lastUpdated.toString(),\n isDateOnly: false,\n isMonthOnly: false,\n });\n\n return (\n <div className={styles['last-updated-caption']}>\n {i18nStrings.lastUpdatedText}\n <br />\n {formattedDate}\n <InternalLiveRegion tagName=\"span\" sources={[i18nStrings.lastUpdatedText, formattedDate]} />\n </div>\n );\n }\n\n return (\n <InternalSpaceBetween size=\"s\" direction=\"horizontal\" alignItems=\"center\">\n {getLastUpdated()}\n <InternalButton iconName=\"refresh\" ariaLabel={i18nStrings.labelRefresh} onClick={reloadData} />\n </InternalSpaceBetween>\n );\n}\n"]}
@@ -1,8 +1,8 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "modal-actions": "awsui_modal-actions_12hyz_c6mut_177",
5
- "submit-button": "awsui_submit-button_12hyz_c6mut_181",
6
- "last-updated-caption": "awsui_last-updated-caption_12hyz_c6mut_185"
4
+ "modal-actions": "awsui_modal-actions_12hyz_1yyk9_181",
5
+ "submit-button": "awsui_submit-button_12hyz_1yyk9_185",
6
+ "last-updated-caption": "awsui_last-updated-caption_12hyz_1yyk9_189"
7
7
  };
8
8
 
@@ -134,12 +134,16 @@
134
134
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
135
135
  SPDX-License-Identifier: Apache-2.0
136
136
  */
137
+ /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
138
+ /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
139
+ /*
140
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
141
+ SPDX-License-Identifier: Apache-2.0
142
+ */
137
143
  /*
138
144
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
139
145
  SPDX-License-Identifier: Apache-2.0
140
146
  */
141
- /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
142
- /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
143
147
  /*
144
148
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
145
149
  SPDX-License-Identifier: Apache-2.0
@@ -174,15 +178,15 @@
174
178
  */
175
179
  /* Style used for links in slots/components that are text heavy, to help links stand out among
176
180
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
177
- .awsui_modal-actions_12hyz_c6mut_177:not(#\9) {
181
+ .awsui_modal-actions_12hyz_1yyk9_181:not(#\9) {
178
182
  justify-content: flex-end;
179
183
  }
180
184
 
181
- .awsui_submit-button_12hyz_c6mut_181:not(#\9) {
185
+ .awsui_submit-button_12hyz_1yyk9_185:not(#\9) {
182
186
  /* used in test-utils */
183
187
  }
184
188
 
185
- .awsui_last-updated-caption_12hyz_c6mut_185:not(#\9) {
189
+ .awsui_last-updated-caption_12hyz_1yyk9_189:not(#\9) {
186
190
  font-size: var(--font-size-body-s-asqx2i, 12px);
187
191
  line-height: var(--line-height-body-s-7zv1j5, 16px);
188
192
  letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
@@ -2,8 +2,8 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "modal-actions": "awsui_modal-actions_12hyz_c6mut_177",
6
- "submit-button": "awsui_submit-button_12hyz_c6mut_181",
7
- "last-updated-caption": "awsui_last-updated-caption_12hyz_c6mut_185"
5
+ "modal-actions": "awsui_modal-actions_12hyz_1yyk9_181",
6
+ "submit-button": "awsui_submit-button_12hyz_1yyk9_185",
7
+ "last-updated-caption": "awsui_last-updated-caption_12hyz_1yyk9_189"
8
8
  };
9
9