@cloudscape-design/components 3.0.1361 → 3.0.1362

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 (477) hide show
  1. package/action-card/styles.css.js +17 -17
  2. package/action-card/styles.scoped.css +203 -347
  3. package/action-card/styles.selectors.js +17 -17
  4. package/alert/actions-wrapper/styles.css.js +1 -1
  5. package/alert/actions-wrapper/styles.scoped.css +2 -6
  6. package/alert/actions-wrapper/styles.selectors.js +1 -1
  7. package/alert/styles.css.js +27 -27
  8. package/alert/styles.scoped.css +63 -251
  9. package/alert/styles.selectors.js +27 -27
  10. package/anchor-navigation/styles.css.js +8 -8
  11. package/anchor-navigation/styles.scoped.css +51 -227
  12. package/anchor-navigation/styles.selectors.js +8 -8
  13. package/annotation-context/annotation/styles.css.js +13 -13
  14. package/annotation-context/annotation/styles.scoped.css +29 -201
  15. package/annotation-context/annotation/styles.selectors.js +13 -13
  16. package/app-layout/content-wrapper/styles.css.js +3 -3
  17. package/app-layout/content-wrapper/styles.scoped.css +6 -142
  18. package/app-layout/content-wrapper/styles.selectors.js +3 -3
  19. package/app-layout/drawer/styles.css.js +14 -14
  20. package/app-layout/drawer/styles.scoped.css +22 -198
  21. package/app-layout/drawer/styles.selectors.js +14 -14
  22. package/app-layout/mobile-toolbar/styles.css.js +8 -8
  23. package/app-layout/mobile-toolbar/styles.scoped.css +8 -144
  24. package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
  25. package/app-layout/notifications/styles.css.js +3 -3
  26. package/app-layout/notifications/styles.scoped.css +5 -9
  27. package/app-layout/notifications/styles.selectors.js +3 -3
  28. package/app-layout/resize/styles.css.js +5 -5
  29. package/app-layout/resize/styles.scoped.css +12 -144
  30. package/app-layout/resize/styles.selectors.js +5 -5
  31. package/app-layout/split-panel/styles.css.js +2 -2
  32. package/app-layout/split-panel/styles.scoped.css +2 -138
  33. package/app-layout/split-panel/styles.selectors.js +2 -2
  34. package/app-layout/styles.css.js +12 -12
  35. package/app-layout/styles.scoped.css +12 -148
  36. package/app-layout/styles.selectors.js +12 -12
  37. package/app-layout/toggles/styles.css.js +2 -2
  38. package/app-layout/toggles/styles.scoped.css +10 -182
  39. package/app-layout/toggles/styles.selectors.js +2 -2
  40. package/app-layout/visual-refresh/styles.css.js +86 -86
  41. package/app-layout/visual-refresh/styles.scoped.css +182 -374
  42. package/app-layout/visual-refresh/styles.selectors.js +86 -86
  43. package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
  44. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +105 -281
  45. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
  46. package/app-layout/visual-refresh-toolbar/navigation/index.d.ts.map +1 -1
  47. package/app-layout/visual-refresh-toolbar/navigation/index.js +11 -1
  48. package/app-layout/visual-refresh-toolbar/navigation/index.js.map +1 -1
  49. package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
  50. package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +9 -145
  51. package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
  52. package/app-layout/visual-refresh-toolbar/notifications/styles.css.js +3 -3
  53. package/app-layout/visual-refresh-toolbar/notifications/styles.scoped.css +3 -7
  54. package/app-layout/visual-refresh-toolbar/notifications/styles.selectors.js +3 -3
  55. package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
  56. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +71 -207
  57. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
  58. package/app-layout/visual-refresh-toolbar/split-panel/styles.css.js +1 -1
  59. package/app-layout/visual-refresh-toolbar/split-panel/styles.scoped.css +1 -133
  60. package/app-layout/visual-refresh-toolbar/split-panel/styles.selectors.js +1 -1
  61. package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +14 -14
  62. package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +40 -176
  63. package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +14 -14
  64. package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +6 -6
  65. package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +22 -154
  66. package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +6 -6
  67. package/area-chart/styles.css.js +6 -6
  68. package/area-chart/styles.scoped.css +14 -190
  69. package/area-chart/styles.selectors.js +6 -6
  70. package/attribute-editor/styles.css.js +15 -15
  71. package/attribute-editor/styles.scoped.css +38 -174
  72. package/attribute-editor/styles.selectors.js +15 -15
  73. package/autosuggest/utils/utils.d.ts.map +1 -1
  74. package/autosuggest/utils/utils.js +7 -6
  75. package/autosuggest/utils/utils.js.map +1 -1
  76. package/badge/styles.css.js +10 -10
  77. package/badge/styles.scoped.css +23 -163
  78. package/badge/styles.selectors.js +10 -10
  79. package/box/styles.css.js +220 -220
  80. package/box/styles.scoped.css +346 -502
  81. package/box/styles.selectors.js +220 -220
  82. package/breadcrumb-group/item/styles.css.js +7 -7
  83. package/breadcrumb-group/item/styles.scoped.css +34 -166
  84. package/breadcrumb-group/item/styles.selectors.js +7 -7
  85. package/breadcrumb-group/styles.css.js +14 -14
  86. package/breadcrumb-group/styles.scoped.css +41 -173
  87. package/breadcrumb-group/styles.selectors.js +14 -14
  88. package/button/styles.css.js +23 -23
  89. package/button/styles.scoped.css +96 -240
  90. package/button/styles.selectors.js +23 -23
  91. package/button-dropdown/category-elements/styles.css.js +18 -18
  92. package/button-dropdown/category-elements/styles.scoped.css +44 -176
  93. package/button-dropdown/category-elements/styles.selectors.js +18 -18
  94. package/button-dropdown/item-element/styles.css.js +21 -21
  95. package/button-dropdown/item-element/styles.scoped.css +52 -184
  96. package/button-dropdown/item-element/styles.selectors.js +21 -21
  97. package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
  98. package/button-dropdown/mobile-expandable-group/styles.scoped.css +9 -141
  99. package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
  100. package/button-dropdown/styles.css.js +23 -23
  101. package/button-dropdown/styles.scoped.css +35 -167
  102. package/button-dropdown/styles.selectors.js +23 -23
  103. package/button-group/styles.css.js +4 -4
  104. package/button-group/styles.scoped.css +9 -177
  105. package/button-group/styles.selectors.js +4 -4
  106. package/calendar/styles.css.js +21 -21
  107. package/calendar/styles.scoped.css +88 -228
  108. package/calendar/styles.selectors.js +21 -21
  109. package/cards/styles.css.js +38 -38
  110. package/cards/styles.scoped.css +53 -185
  111. package/cards/styles.selectors.js +38 -38
  112. package/checkbox/styles.css.js +3 -3
  113. package/checkbox/styles.scoped.css +14 -146
  114. package/checkbox/styles.selectors.js +3 -3
  115. package/code-editor/resizable-box/styles.css.js +4 -4
  116. package/code-editor/resizable-box/styles.scoped.css +6 -142
  117. package/code-editor/resizable-box/styles.selectors.js +4 -4
  118. package/code-editor/styles.css.js +33 -33
  119. package/code-editor/styles.scoped.css +207 -351
  120. package/code-editor/styles.selectors.js +33 -33
  121. package/collection-preferences/styles.css.js +38 -38
  122. package/collection-preferences/styles.scoped.css +66 -210
  123. package/collection-preferences/styles.selectors.js +38 -38
  124. package/column-layout/flexible-column-layout/styles.css.js +5 -5
  125. package/column-layout/flexible-column-layout/styles.scoped.css +9 -177
  126. package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
  127. package/column-layout/styles.css.js +13 -13
  128. package/column-layout/styles.scoped.css +50 -218
  129. package/column-layout/styles.selectors.js +13 -13
  130. package/container/styles.css.js +33 -33
  131. package/container/styles.scoped.css +107 -279
  132. package/container/styles.selectors.js +33 -33
  133. package/content-layout/styles.css.js +14 -14
  134. package/content-layout/styles.scoped.css +16 -148
  135. package/content-layout/styles.selectors.js +14 -14
  136. package/copy-to-clipboard/styles.css.js +5 -5
  137. package/copy-to-clipboard/styles.scoped.css +6 -10
  138. package/copy-to-clipboard/styles.selectors.js +5 -5
  139. package/date-picker/styles.css.js +7 -7
  140. package/date-picker/styles.scoped.css +17 -149
  141. package/date-picker/styles.selectors.js +7 -7
  142. package/date-range-picker/calendar/grids/styles.css.js +30 -30
  143. package/date-range-picker/calendar/grids/styles.scoped.css +95 -231
  144. package/date-range-picker/calendar/grids/styles.selectors.js +30 -30
  145. package/date-range-picker/relative-range/styles.css.js +6 -6
  146. package/date-range-picker/relative-range/styles.scoped.css +10 -142
  147. package/date-range-picker/relative-range/styles.selectors.js +6 -6
  148. package/date-range-picker/styles.css.js +23 -23
  149. package/date-range-picker/styles.scoped.css +47 -183
  150. package/date-range-picker/styles.selectors.js +23 -23
  151. package/divider/styles.css.js +6 -6
  152. package/divider/styles.scoped.css +13 -145
  153. package/divider/styles.selectors.js +6 -6
  154. package/drawer/styles.css.js +29 -29
  155. package/drawer/styles.scoped.css +61 -237
  156. package/drawer/styles.selectors.js +29 -29
  157. package/dropdown/styles.css.js +20 -20
  158. package/dropdown/styles.scoped.css +58 -194
  159. package/dropdown/styles.selectors.js +20 -20
  160. package/expandable-section/styles.css.js +43 -43
  161. package/expandable-section/styles.scoped.css +133 -269
  162. package/expandable-section/styles.selectors.js +43 -43
  163. package/file-dropzone/styles.css.js +3 -3
  164. package/file-dropzone/styles.scoped.css +7 -175
  165. package/file-dropzone/styles.selectors.js +3 -3
  166. package/file-input/styles.css.js +5 -5
  167. package/file-input/styles.scoped.css +16 -188
  168. package/file-input/styles.selectors.js +5 -5
  169. package/file-token-group/styles.css.js +23 -23
  170. package/file-token-group/styles.scoped.css +52 -240
  171. package/file-token-group/styles.selectors.js +23 -23
  172. package/file-upload/styles.css.js +2 -2
  173. package/file-upload/styles.scoped.css +3 -7
  174. package/file-upload/styles.selectors.js +2 -2
  175. package/flashbar/styles.css.js +50 -50
  176. package/flashbar/styles.scoped.css +194 -382
  177. package/flashbar/styles.selectors.js +50 -50
  178. package/form/styles.css.js +8 -8
  179. package/form/styles.scoped.css +12 -144
  180. package/form/styles.selectors.js +8 -8
  181. package/form-field/styles.css.js +24 -24
  182. package/form-field/styles.scoped.css +57 -193
  183. package/form-field/styles.selectors.js +24 -24
  184. package/grid/styles.css.js +53 -53
  185. package/grid/styles.scoped.css +58 -190
  186. package/grid/styles.selectors.js +53 -53
  187. package/header/styles.css.js +35 -35
  188. package/header/styles.scoped.css +117 -293
  189. package/header/styles.selectors.js +35 -35
  190. package/help-panel/styles.css.js +6 -6
  191. package/help-panel/styles.scoped.css +146 -314
  192. package/help-panel/styles.selectors.js +6 -6
  193. package/hotspot/styles.css.js +7 -7
  194. package/hotspot/styles.scoped.css +7 -175
  195. package/hotspot/styles.selectors.js +7 -7
  196. package/icon/interfaces.d.ts +1 -1
  197. package/icon/interfaces.d.ts.map +1 -1
  198. package/icon/interfaces.js.map +1 -1
  199. package/icon/styles.css.js +42 -41
  200. package/icon/styles.scoped.css +124 -301
  201. package/icon/styles.selectors.js +42 -41
  202. package/input/styles.css.js +28 -28
  203. package/input/styles.scoped.css +134 -266
  204. package/input/styles.selectors.js +28 -28
  205. package/internal/base-component/styles.scoped.css +1 -9
  206. package/internal/base-theme/styles.scoped.css +424 -424
  207. package/internal/components/abstract-switch/styles.css.js +13 -13
  208. package/internal/components/abstract-switch/styles.scoped.css +23 -155
  209. package/internal/components/abstract-switch/styles.selectors.js +13 -13
  210. package/internal/components/button-trigger/styles.css.js +14 -14
  211. package/internal/components/button-trigger/styles.scoped.css +68 -208
  212. package/internal/components/button-trigger/styles.selectors.js +14 -14
  213. package/internal/components/cartesian-chart/styles.css.js +28 -28
  214. package/internal/components/cartesian-chart/styles.scoped.css +40 -172
  215. package/internal/components/cartesian-chart/styles.selectors.js +28 -28
  216. package/internal/components/chart-filter/styles.css.js +3 -3
  217. package/internal/components/chart-filter/styles.scoped.css +7 -139
  218. package/internal/components/chart-filter/styles.selectors.js +3 -3
  219. package/internal/components/chart-legend/styles.css.js +6 -6
  220. package/internal/components/chart-legend/styles.scoped.css +22 -158
  221. package/internal/components/chart-legend/styles.selectors.js +6 -6
  222. package/internal/components/chart-plot/styles.css.js +5 -5
  223. package/internal/components/chart-plot/styles.scoped.css +5 -137
  224. package/internal/components/chart-plot/styles.selectors.js +5 -5
  225. package/internal/components/chart-popover/styles.css.js +3 -3
  226. package/internal/components/chart-popover/styles.scoped.css +8 -140
  227. package/internal/components/chart-popover/styles.selectors.js +3 -3
  228. package/internal/components/chart-series-details/styles.css.js +19 -19
  229. package/internal/components/chart-series-details/styles.scoped.css +46 -182
  230. package/internal/components/chart-series-details/styles.selectors.js +19 -19
  231. package/internal/components/chart-series-marker/styles.css.js +5 -5
  232. package/internal/components/chart-series-marker/styles.scoped.css +11 -143
  233. package/internal/components/chart-series-marker/styles.selectors.js +5 -5
  234. package/internal/components/chart-status-container/styles.css.js +2 -2
  235. package/internal/components/chart-status-container/styles.scoped.css +2 -6
  236. package/internal/components/chart-status-container/styles.selectors.js +2 -2
  237. package/internal/components/chart-wrapper/styles.css.js +9 -9
  238. package/internal/components/chart-wrapper/styles.scoped.css +15 -183
  239. package/internal/components/chart-wrapper/styles.selectors.js +9 -9
  240. package/internal/components/checkbox-icon/styles.css.js +9 -9
  241. package/internal/components/checkbox-icon/styles.scoped.css +10 -142
  242. package/internal/components/checkbox-icon/styles.selectors.js +9 -9
  243. package/internal/components/drag-handle/styles.css.js +14 -14
  244. package/internal/components/drag-handle/styles.scoped.css +26 -158
  245. package/internal/components/drag-handle/styles.selectors.js +14 -14
  246. package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  247. package/internal/components/drag-handle-wrapper/styles.scoped.css +48 -184
  248. package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  249. package/internal/components/dropdown-footer/styles.css.js +3 -3
  250. package/internal/components/dropdown-footer/styles.scoped.css +9 -141
  251. package/internal/components/dropdown-footer/styles.selectors.js +3 -3
  252. package/internal/components/dropdown-status/styles.css.js +2 -2
  253. package/internal/components/dropdown-status/styles.scoped.css +6 -138
  254. package/internal/components/dropdown-status/styles.selectors.js +2 -2
  255. package/internal/components/expand-toggle-button/styles.css.js +4 -4
  256. package/internal/components/expand-toggle-button/styles.scoped.css +21 -157
  257. package/internal/components/expand-toggle-button/styles.selectors.js +4 -4
  258. package/internal/components/menu-dropdown/styles.css.js +7 -7
  259. package/internal/components/menu-dropdown/styles.scoped.css +24 -156
  260. package/internal/components/menu-dropdown/styles.selectors.js +7 -7
  261. package/internal/components/option/styles.css.js +17 -17
  262. package/internal/components/option/styles.scoped.css +39 -175
  263. package/internal/components/option/styles.selectors.js +17 -17
  264. package/internal/components/options-list/styles.css.js +3 -3
  265. package/internal/components/options-list/styles.scoped.css +11 -143
  266. package/internal/components/options-list/styles.selectors.js +3 -3
  267. package/internal/components/panel-resize-handle/styles.css.js +3 -3
  268. package/internal/components/panel-resize-handle/styles.scoped.css +11 -143
  269. package/internal/components/panel-resize-handle/styles.selectors.js +3 -3
  270. package/internal/components/radio-button/styles.css.js +7 -7
  271. package/internal/components/radio-button/styles.scoped.css +17 -149
  272. package/internal/components/radio-button/styles.selectors.js +7 -7
  273. package/internal/components/screenreader-only/styles.css.js +1 -1
  274. package/internal/components/screenreader-only/styles.scoped.css +1 -133
  275. package/internal/components/screenreader-only/styles.selectors.js +1 -1
  276. package/internal/components/selectable-item/styles.css.js +22 -22
  277. package/internal/components/selectable-item/styles.scoped.css +93 -225
  278. package/internal/components/selectable-item/styles.selectors.js +22 -22
  279. package/internal/components/sortable-area/styles.css.js +8 -8
  280. package/internal/components/sortable-area/styles.scoped.css +43 -175
  281. package/internal/components/sortable-area/styles.selectors.js +8 -8
  282. package/internal/components/structured-item/styles.css.js +7 -7
  283. package/internal/components/structured-item/styles.scoped.css +13 -145
  284. package/internal/components/structured-item/styles.selectors.js +7 -7
  285. package/internal/components/token-list/styles.css.js +10 -10
  286. package/internal/components/token-list/styles.scoped.css +41 -221
  287. package/internal/components/token-list/styles.selectors.js +10 -10
  288. package/internal/environment.js +2 -2
  289. package/internal/environment.json +2 -2
  290. package/internal/generated/styles/tokens.js +314 -314
  291. package/internal/generated/theming/index.cjs +314 -314
  292. package/internal/generated/theming/index.js +314 -314
  293. package/internal/manifest.json +1 -1
  294. package/item-card/styles.css.js +14 -14
  295. package/item-card/styles.scoped.css +78 -214
  296. package/item-card/styles.selectors.js +14 -14
  297. package/key-value-pairs/styles.css.js +8 -8
  298. package/key-value-pairs/styles.scoped.css +21 -153
  299. package/key-value-pairs/styles.selectors.js +8 -8
  300. package/link/styles.css.js +21 -21
  301. package/link/styles.scoped.css +142 -274
  302. package/link/styles.selectors.js +21 -21
  303. package/list/styles.css.js +5 -5
  304. package/list/styles.scoped.css +12 -144
  305. package/list/styles.selectors.js +5 -5
  306. package/live-region/styles.css.js +2 -2
  307. package/live-region/styles.scoped.css +3 -135
  308. package/live-region/styles.selectors.js +2 -2
  309. package/manifest.json +2 -2
  310. package/mixed-line-bar-chart/styles.css.js +11 -11
  311. package/mixed-line-bar-chart/styles.scoped.css +21 -197
  312. package/mixed-line-bar-chart/styles.selectors.js +11 -11
  313. package/modal/styles.css.js +31 -31
  314. package/modal/styles.scoped.css +64 -204
  315. package/modal/styles.selectors.js +31 -31
  316. package/multiselect/styles.css.js +5 -5
  317. package/multiselect/styles.scoped.css +13 -145
  318. package/multiselect/styles.selectors.js +5 -5
  319. package/package.json +1 -1
  320. package/pagination/styles.css.js +12 -12
  321. package/pagination/styles.scoped.css +48 -180
  322. package/pagination/styles.selectors.js +12 -12
  323. package/panel-layout/styles.css.js +7 -7
  324. package/panel-layout/styles.scoped.css +22 -194
  325. package/panel-layout/styles.selectors.js +7 -7
  326. package/pie-chart/styles.css.js +27 -27
  327. package/pie-chart/styles.scoped.css +60 -200
  328. package/pie-chart/styles.selectors.js +27 -27
  329. package/popover/styles.css.js +58 -58
  330. package/popover/styles.scoped.css +140 -288
  331. package/popover/styles.selectors.js +58 -58
  332. package/progress-bar/styles.css.js +19 -19
  333. package/progress-bar/styles.scoped.css +42 -214
  334. package/progress-bar/styles.selectors.js +19 -19
  335. package/prompt-input/styles.css.js +26 -26
  336. package/prompt-input/styles.scoped.css +124 -256
  337. package/prompt-input/styles.selectors.js +26 -26
  338. package/property-filter/filtering-token/styles.css.js +18 -18
  339. package/property-filter/filtering-token/styles.scoped.css +61 -197
  340. package/property-filter/filtering-token/styles.selectors.js +18 -18
  341. package/property-filter/styles.css.js +39 -39
  342. package/property-filter/styles.scoped.css +69 -201
  343. package/property-filter/styles.selectors.js +39 -39
  344. package/radio-button/styles.css.js +1 -1
  345. package/radio-button/styles.scoped.css +5 -137
  346. package/radio-button/styles.selectors.js +1 -1
  347. package/radio-group/styles.css.js +5 -5
  348. package/radio-group/styles.scoped.css +10 -142
  349. package/radio-group/styles.selectors.js +5 -5
  350. package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
  351. package/s3-resource-selector/s3-in-context/styles.scoped.css +10 -14
  352. package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
  353. package/s3-resource-selector/s3-modal/styles.css.js +3 -3
  354. package/s3-resource-selector/s3-modal/styles.scoped.css +6 -174
  355. package/s3-resource-selector/s3-modal/styles.selectors.js +3 -3
  356. package/segmented-control/styles.css.js +16 -16
  357. package/segmented-control/styles.scoped.css +62 -202
  358. package/segmented-control/styles.selectors.js +16 -16
  359. package/select/parts/styles.css.js +21 -21
  360. package/select/parts/styles.scoped.css +27 -159
  361. package/select/parts/styles.selectors.js +21 -21
  362. package/select/styles.css.js +3 -3
  363. package/select/styles.scoped.css +7 -139
  364. package/select/styles.selectors.js +3 -3
  365. package/side-navigation/styles.css.js +64 -64
  366. package/side-navigation/styles.scoped.css +174 -306
  367. package/side-navigation/styles.selectors.js +64 -64
  368. package/skeleton/styles.css.js +15 -15
  369. package/skeleton/styles.scoped.css +45 -177
  370. package/skeleton/styles.selectors.js +15 -15
  371. package/slider/styles.css.js +26 -26
  372. package/slider/styles.scoped.css +81 -217
  373. package/slider/styles.selectors.js +26 -26
  374. package/space-between/styles.css.js +23 -23
  375. package/space-between/styles.scoped.css +24 -156
  376. package/space-between/styles.selectors.js +23 -23
  377. package/spinner/styles.css.js +14 -14
  378. package/spinner/styles.scoped.css +24 -160
  379. package/spinner/styles.selectors.js +14 -14
  380. package/split-panel/icons/styles.css.js +22 -22
  381. package/split-panel/icons/styles.scoped.css +24 -156
  382. package/split-panel/icons/styles.selectors.js +22 -22
  383. package/split-panel/styles.css.js +38 -38
  384. package/split-panel/styles.scoped.css +76 -212
  385. package/split-panel/styles.selectors.js +38 -38
  386. package/status-indicator/styles.css.js +25 -25
  387. package/status-indicator/styles.scoped.css +55 -191
  388. package/status-indicator/styles.selectors.js +25 -25
  389. package/steps/styles.css.js +17 -17
  390. package/steps/styles.scoped.css +41 -209
  391. package/steps/styles.selectors.js +17 -17
  392. package/table/body-cell/styles.css.js +48 -48
  393. package/table/body-cell/styles.scoped.css +826 -958
  394. package/table/body-cell/styles.selectors.js +48 -48
  395. package/table/header-cell/styles.css.js +38 -38
  396. package/table/header-cell/styles.scoped.css +118 -286
  397. package/table/header-cell/styles.selectors.js +38 -38
  398. package/table/resizer/styles.css.js +17 -17
  399. package/table/resizer/styles.scoped.css +39 -171
  400. package/table/resizer/styles.selectors.js +17 -17
  401. package/table/selection/styles.css.js +4 -4
  402. package/table/selection/styles.scoped.css +4 -136
  403. package/table/selection/styles.selectors.js +4 -4
  404. package/table/sticky-scrollbar/styles.css.js +6 -6
  405. package/table/sticky-scrollbar/styles.scoped.css +11 -179
  406. package/table/sticky-scrollbar/styles.selectors.js +6 -6
  407. package/table/styles.css.js +37 -37
  408. package/table/styles.scoped.css +60 -196
  409. package/table/styles.selectors.js +37 -37
  410. package/tabs/styles.css.js +30 -30
  411. package/tabs/styles.scoped.css +84 -220
  412. package/tabs/styles.selectors.js +30 -30
  413. package/tag-editor/styles.css.js +3 -3
  414. package/tag-editor/styles.scoped.css +22 -154
  415. package/tag-editor/styles.selectors.js +3 -3
  416. package/test-utils/dom/button-group/index.js +3 -4
  417. package/test-utils/dom/button-group/index.js.map +1 -1
  418. package/test-utils/dom/popover/index.js +3 -4
  419. package/test-utils/dom/popover/index.js.map +1 -1
  420. package/test-utils/selectors/button-group/index.js +3 -4
  421. package/test-utils/selectors/button-group/index.js.map +1 -1
  422. package/test-utils/selectors/popover/index.js +3 -4
  423. package/test-utils/selectors/popover/index.js.map +1 -1
  424. package/text-content/styles.css.js +1 -1
  425. package/text-content/styles.scoped.css +127 -259
  426. package/text-content/styles.selectors.js +1 -1
  427. package/text-filter/styles.css.js +3 -3
  428. package/text-filter/styles.scoped.css +7 -139
  429. package/text-filter/styles.selectors.js +3 -3
  430. package/textarea/styles.css.js +9 -9
  431. package/textarea/styles.scoped.css +46 -178
  432. package/textarea/styles.selectors.js +9 -9
  433. package/tiles/styles.css.js +30 -30
  434. package/tiles/styles.scoped.css +96 -264
  435. package/tiles/styles.selectors.js +30 -30
  436. package/toggle/styles.css.js +10 -10
  437. package/toggle/styles.scoped.css +26 -158
  438. package/toggle/styles.selectors.js +10 -10
  439. package/toggle-button/styles.css.js +4 -4
  440. package/toggle-button/styles.scoped.css +4 -8
  441. package/toggle-button/styles.selectors.js +4 -4
  442. package/token/styles.css.js +14 -14
  443. package/token/styles.scoped.css +52 -192
  444. package/token/styles.selectors.js +14 -14
  445. package/token-group/styles.css.js +5 -5
  446. package/token-group/styles.scoped.css +8 -140
  447. package/token-group/styles.selectors.js +5 -5
  448. package/tooltip/styles.css.js +2 -2
  449. package/tooltip/styles.scoped.css +5 -137
  450. package/tooltip/styles.selectors.js +2 -2
  451. package/top-navigation/styles.css.js +47 -47
  452. package/top-navigation/styles.scoped.css +118 -250
  453. package/top-navigation/styles.selectors.js +47 -47
  454. package/tree-view/styles.css.js +2 -2
  455. package/tree-view/styles.scoped.css +9 -177
  456. package/tree-view/styles.selectors.js +2 -2
  457. package/tree-view/tree-item/styles.css.js +10 -10
  458. package/tree-view/tree-item/styles.scoped.css +17 -193
  459. package/tree-view/tree-item/styles.selectors.js +10 -10
  460. package/tree-view/vertical-connector/styles.css.js +3 -3
  461. package/tree-view/vertical-connector/styles.scoped.css +6 -10
  462. package/tree-view/vertical-connector/styles.selectors.js +3 -3
  463. package/truncated-text/styles.css.js +1 -1
  464. package/truncated-text/styles.scoped.css +9 -141
  465. package/truncated-text/styles.selectors.js +1 -1
  466. package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
  467. package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +37 -205
  468. package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
  469. package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  470. package/tutorial-panel/components/tutorial-list/styles.scoped.css +53 -229
  471. package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  472. package/tutorial-panel/styles.css.js +1 -1
  473. package/tutorial-panel/styles.scoped.css +13 -185
  474. package/tutorial-panel/styles.selectors.js +1 -1
  475. package/wizard/styles.css.js +30 -30
  476. package/wizard/styles.scoped.css +81 -213
  477. package/wizard/styles.selectors.js +30 -30
@@ -2,154 +2,18 @@
2
2
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  SPDX-License-Identifier: Apache-2.0
4
4
  */
5
- /*
6
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
- SPDX-License-Identifier: Apache-2.0
8
- */
9
- /*
10
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
11
- SPDX-License-Identifier: Apache-2.0
12
- */
13
- /*
14
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
15
- SPDX-License-Identifier: Apache-2.0
16
- */
17
- /*
18
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19
- SPDX-License-Identifier: Apache-2.0
20
- */
21
- /*
22
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
23
- SPDX-License-Identifier: Apache-2.0
24
- */
25
- /*
26
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
27
- SPDX-License-Identifier: Apache-2.0
28
- */
29
- /*
30
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
31
- SPDX-License-Identifier: Apache-2.0
32
- */
33
- /*
34
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
35
- SPDX-License-Identifier: Apache-2.0
36
- */
37
- /*
38
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
39
- SPDX-License-Identifier: Apache-2.0
40
- */
41
- /*
42
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
43
- SPDX-License-Identifier: Apache-2.0
44
- */
45
- /*
46
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
47
- SPDX-License-Identifier: Apache-2.0
48
- */
49
- /*
50
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
51
- SPDX-License-Identifier: Apache-2.0
52
- */
53
- /*
54
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
55
- SPDX-License-Identifier: Apache-2.0
56
- */
57
- /*
58
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
59
- SPDX-License-Identifier: Apache-2.0
60
- */
61
- /*
62
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
63
- SPDX-License-Identifier: Apache-2.0
64
- */
65
- /*
66
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
67
- SPDX-License-Identifier: Apache-2.0
68
- */
69
- /*
70
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
71
- SPDX-License-Identifier: Apache-2.0
72
- */
73
- /*
74
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
75
- SPDX-License-Identifier: Apache-2.0
76
- */
77
- /*
78
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
79
- SPDX-License-Identifier: Apache-2.0
80
- */
81
- /*
82
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
83
- SPDX-License-Identifier: Apache-2.0
84
- */
85
- /*
86
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
87
- SPDX-License-Identifier: Apache-2.0
88
- */
89
- /*
90
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
- SPDX-License-Identifier: Apache-2.0
92
- */
93
- /*
94
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
95
- SPDX-License-Identifier: Apache-2.0
96
- */
97
- /*
98
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
99
- SPDX-License-Identifier: Apache-2.0
100
- */
101
- /*
102
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
103
- SPDX-License-Identifier: Apache-2.0
104
- */
105
- /*
106
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
107
- SPDX-License-Identifier: Apache-2.0
108
- */
109
- /*
110
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
111
- SPDX-License-Identifier: Apache-2.0
112
- */
113
5
  /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
114
6
  /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
115
- /*
116
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
117
- SPDX-License-Identifier: Apache-2.0
118
- */
119
- /*
120
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
121
- SPDX-License-Identifier: Apache-2.0
122
- */
123
- /*
124
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
125
- SPDX-License-Identifier: Apache-2.0
126
- */
127
- /*
128
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
129
- SPDX-License-Identifier: Apache-2.0
130
- */
131
- /*
132
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
133
- SPDX-License-Identifier: Apache-2.0
134
- */
135
- /*
136
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
137
- SPDX-License-Identifier: Apache-2.0
138
- */
139
7
  /* Style used for links in slots/components that are text heavy, to help links stand out among
140
8
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
141
9
  /*
142
10
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
143
11
  SPDX-License-Identifier: Apache-2.0
144
12
  */
145
- /*
146
- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
147
- SPDX-License-Identifier: Apache-2.0
148
- */
149
- .awsui_empty-appear_n4qlp_1a56o_149:not(#\9) {
150
- animation: awsui_awsui-motion-fade-in_n4qlp_1a56o_1 var(--motion-duration-transition-show-paced-t8d1os, 180ms) var(--motion-easing-transition-show-paced-x2k7uh, ease-out);
13
+ .awsui_empty-appear_n4qlp_fpnea_13:not(#\9) {
14
+ animation: awsui_awsui-motion-fade-in_n4qlp_fpnea_1 var(--motion-duration-transition-show-paced-t8d1os, 180ms) var(--motion-easing-transition-show-paced-x2k7uh, ease-out);
151
15
  }
152
- @keyframes awsui_awsui-motion-fade-in_n4qlp_1a56o_1 {
16
+ @keyframes awsui_awsui-motion-fade-in_n4qlp_fpnea_1 {
153
17
  from {
154
18
  opacity: 0.2;
155
19
  }
@@ -158,17 +22,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
158
22
  }
159
23
  }
160
24
  @media (prefers-reduced-motion: reduce) {
161
- .awsui_empty-appear_n4qlp_1a56o_149:not(#\9) {
25
+ .awsui_empty-appear_n4qlp_fpnea_13:not(#\9) {
162
26
  animation: none;
163
27
  transition: none;
164
28
  }
165
29
  }
166
- .awsui-motion-disabled .awsui_empty-appear_n4qlp_1a56o_149:not(#\9), .awsui-mode-entering .awsui_empty-appear_n4qlp_1a56o_149:not(#\9) {
30
+ .awsui-motion-disabled .awsui_empty-appear_n4qlp_fpnea_13:not(#\9), .awsui-mode-entering .awsui_empty-appear_n4qlp_fpnea_13:not(#\9) {
167
31
  animation: none;
168
32
  transition: none;
169
33
  }
170
34
 
171
- .awsui_root_n4qlp_1a56o_171:not(#\9) {
35
+ .awsui_root_n4qlp_fpnea_35:not(#\9) {
172
36
  border-collapse: separate;
173
37
  border-spacing: 0;
174
38
  box-sizing: border-box;
@@ -191,11 +55,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
191
55
  visibility: visible;
192
56
  white-space: normal;
193
57
  word-spacing: normal;
194
- font-size: var(--font-size-body-m-a7nh2n, 14px);
195
- line-height: var(--line-height-body-m-2mh3ke, 20px);
58
+ font-size: var(--font-size-body-m-tq5a14, 14px);
59
+ line-height: var(--line-height-body-m-5xw6xo, 20px);
196
60
  color: var(--color-text-body-default-gtm97i, #0f141a);
197
- font-weight: var(--font-weight-normal-cxw1m3, 400);
198
- font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
61
+ font-weight: var(--font-weight-normal-fr92v6, 400);
62
+ font-family: var(--font-family-base-c9u5cr, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
199
63
  -webkit-font-smoothing: auto;
200
64
  -moz-osx-font-smoothing: auto;
201
65
  display: grid;
@@ -204,44 +68,44 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
204
68
  align-items: start;
205
69
  }
206
70
 
207
- .awsui_empty_n4qlp_1a56o_149:not(#\9) {
208
- font-size: var(--font-size-body-m-a7nh2n, 14px);
209
- line-height: var(--line-height-body-m-2mh3ke, 20px);
71
+ .awsui_empty_n4qlp_fpnea_13:not(#\9) {
72
+ font-size: var(--font-size-body-m-tq5a14, 14px);
73
+ line-height: var(--line-height-body-m-5xw6xo, 20px);
210
74
  color: var(--color-text-empty-68xc4n, #656871);
211
75
  grid-column: 1/-1;
212
76
  }
213
77
 
214
- .awsui_row_n4qlp_1a56o_214:not(#\9) {
78
+ .awsui_row_n4qlp_fpnea_78:not(#\9) {
215
79
  display: contents;
216
80
  }
217
81
 
218
- .awsui_divider_n4qlp_1a56o_218:not(#\9) {
82
+ .awsui_divider_n4qlp_fpnea_82:not(#\9) {
219
83
  grid-column: 1/-1;
220
- border-block-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-0de9c8, #c6c6cd);
84
+ border-block-start: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-divider-default-0de9c8, #c6c6cd);
221
85
  }
222
86
 
223
- .awsui_row-control_n4qlp_1a56o_223:not(#\9) {
87
+ .awsui_row-control_n4qlp_fpnea_87:not(#\9) {
224
88
  /* used in test-utils */
225
89
  }
226
90
 
227
- .awsui_field_n4qlp_1a56o_227:not(#\9) {
91
+ .awsui_field_n4qlp_fpnea_91:not(#\9) {
228
92
  min-inline-size: 40px;
229
93
  }
230
94
 
231
- .awsui_additional-info_n4qlp_1a56o_231:not(#\9) {
95
+ .awsui_additional-info_n4qlp_fpnea_95:not(#\9) {
232
96
  color: var(--color-text-form-secondary-t0glp7, #656871);
233
- font-size: var(--font-size-body-s-smc8cv, 12px);
234
- line-height: var(--line-height-body-s-nu5hx1, 16px);
235
- letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
97
+ font-size: var(--font-size-body-s-89y7qg, 12px);
98
+ line-height: var(--line-height-body-s-gako33, 16px);
99
+ letter-spacing: var(--letter-spacing-body-s-dzcybc, 0.005em);
236
100
  display: block;
237
101
  word-wrap: break-word;
238
102
  margin-block-start: var(--space-xxs-hwfkai, 4px);
239
103
  /* stylelint-disable-next-line selector-max-type */
240
104
  }
241
- .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9) {
105
+ .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9) {
242
106
  text-underline-offset: 0.3em;
243
- text-decoration-thickness: var(--font-decoration-thickness-link-uesuo7, 1px);
244
- text-decoration-style: var(--font-decoration-style-link-pk2xmp, solid);
107
+ text-decoration-thickness: var(--font-decoration-thickness-link-n3u7wl, 1px);
108
+ text-decoration-style: var(--font-decoration-style-link-lw1s9g, solid);
245
109
  color: var(--awsui-style-color-default-esndbs, var(--color-text-link-default-rhby5q, #006ce0));
246
110
  font-weight: inherit;
247
111
  letter-spacing: normal;
@@ -253,50 +117,50 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
253
117
  transition-duration: var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
254
118
  }
255
119
  @media (prefers-reduced-motion: reduce) {
256
- .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9) {
120
+ .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9) {
257
121
  animation: none;
258
122
  transition: none;
259
123
  }
260
124
  }
261
- .awsui-motion-disabled .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9), .awsui-mode-entering .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9) {
125
+ .awsui-motion-disabled .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9), .awsui-mode-entering .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9) {
262
126
  animation: none;
263
127
  transition: none;
264
128
  }
265
- .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9):hover {
129
+ .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9):hover {
266
130
  cursor: pointer;
267
131
  color: var(--awsui-style-color-hover-esndbs, var(--color-text-link-hover-br6snu, #002b66));
268
132
  }
269
- .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9):focus {
133
+ .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9):focus {
270
134
  outline: none;
271
135
  }
272
- .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9):active {
136
+ .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9):active {
273
137
  color: var(--awsui-style-color-active-esndbs, var(--color-text-link-hover-br6snu, #002b66));
274
138
  }
275
- .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9):active, .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9):focus, .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9):hover {
139
+ .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9):active, .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9):focus, .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9):hover {
276
140
  text-decoration-line: underline;
277
141
  text-decoration-color: var(--color-text-link-decoration-hover-kui2t9, currentColor);
278
142
  }
279
143
 
280
- .awsui_add-row_n4qlp_1a56o_278:not(#\9) {
144
+ .awsui_add-row_n4qlp_fpnea_142:not(#\9) {
281
145
  grid-column: 1/-1;
282
146
  }
283
147
 
284
- .awsui_add-button_n4qlp_1a56o_282:not(#\9) {
148
+ .awsui_add-button_n4qlp_fpnea_146:not(#\9) {
285
149
  /* used in test-utils */
286
150
  }
287
151
 
288
- .awsui_remove-button-container_n4qlp_1a56o_286:not(#\9) {
152
+ .awsui_remove-button-container_n4qlp_fpnea_150:not(#\9) {
289
153
  display: inline-block;
290
154
  }
291
155
 
292
- .awsui_remove-button-field-padding_n4qlp_1a56o_290:not(#\9) {
293
- padding-block-start: calc(var(--space-xxs-hwfkai, 4px) + var(--line-height-body-m-2mh3ke, 20px));
156
+ .awsui_remove-button-field-padding_n4qlp_fpnea_154:not(#\9) {
157
+ padding-block-start: calc(var(--space-xxs-hwfkai, 4px) + var(--line-height-body-m-5xw6xo, 20px));
294
158
  }
295
159
 
296
- .awsui_remove-button-own-row_n4qlp_1a56o_294:not(#\9) {
160
+ .awsui_remove-button-own-row_n4qlp_fpnea_158:not(#\9) {
297
161
  justify-self: end;
298
162
  }
299
163
 
300
- .awsui_remove-button_n4qlp_1a56o_286:not(#\9) {
164
+ .awsui_remove-button_n4qlp_fpnea_150:not(#\9) {
301
165
  /* used in test-utils */
302
166
  }
@@ -2,20 +2,20 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "empty-appear": "awsui_empty-appear_n4qlp_1a56o_149",
6
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_n4qlp_1a56o_1",
7
- "root": "awsui_root_n4qlp_1a56o_171",
8
- "empty": "awsui_empty_n4qlp_1a56o_149",
9
- "row": "awsui_row_n4qlp_1a56o_214",
10
- "divider": "awsui_divider_n4qlp_1a56o_218",
11
- "row-control": "awsui_row-control_n4qlp_1a56o_223",
12
- "field": "awsui_field_n4qlp_1a56o_227",
13
- "additional-info": "awsui_additional-info_n4qlp_1a56o_231",
14
- "add-row": "awsui_add-row_n4qlp_1a56o_278",
15
- "add-button": "awsui_add-button_n4qlp_1a56o_282",
16
- "remove-button-container": "awsui_remove-button-container_n4qlp_1a56o_286",
17
- "remove-button-field-padding": "awsui_remove-button-field-padding_n4qlp_1a56o_290",
18
- "remove-button-own-row": "awsui_remove-button-own-row_n4qlp_1a56o_294",
19
- "remove-button": "awsui_remove-button_n4qlp_1a56o_286"
5
+ "empty-appear": "awsui_empty-appear_n4qlp_fpnea_13",
6
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_n4qlp_fpnea_1",
7
+ "root": "awsui_root_n4qlp_fpnea_35",
8
+ "empty": "awsui_empty_n4qlp_fpnea_13",
9
+ "row": "awsui_row_n4qlp_fpnea_78",
10
+ "divider": "awsui_divider_n4qlp_fpnea_82",
11
+ "row-control": "awsui_row-control_n4qlp_fpnea_87",
12
+ "field": "awsui_field_n4qlp_fpnea_91",
13
+ "additional-info": "awsui_additional-info_n4qlp_fpnea_95",
14
+ "add-row": "awsui_add-row_n4qlp_fpnea_142",
15
+ "add-button": "awsui_add-button_n4qlp_fpnea_146",
16
+ "remove-button-container": "awsui_remove-button-container_n4qlp_fpnea_150",
17
+ "remove-button-field-padding": "awsui_remove-button-field-padding_n4qlp_fpnea_154",
18
+ "remove-button-own-row": "awsui_remove-button-own-row_n4qlp_fpnea_158",
19
+ "remove-button": "awsui_remove-button_n4qlp_fpnea_150"
20
20
  };
21
21
 
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/autosuggest/utils/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAgBhD,eAAO,MAAM,aAAa,GAAI,SAAS,eAAe,EAAE,EAAE,MAAM,MAAM,KAAG,eAAe,EAYvF,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/autosuggest/utils/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAmBhD,eAAO,MAAM,aAAa,GAAI,SAAS,eAAe,EAAE,EAAE,MAAM,MAAM,KAAG,eAAe,EAcvF,CAAC"}
@@ -1,3 +1,5 @@
1
+ const searchableFields = ['value', 'label', 'description', 'labelTag'];
2
+ const searchableTagFields = ['tags', 'filteringTags'];
1
3
  const isGroup = (option) => (option === null || option === void 0 ? void 0 : option.type) === 'parent';
2
4
  const popLastGroup = (options) => {
3
5
  if (options.length) {
@@ -8,12 +10,14 @@ const popLastGroup = (options) => {
8
10
  }
9
11
  };
10
12
  export const filterOptions = (options, text) => {
13
+ // Lowercase once for the whole pass instead of once per option.
14
+ const searchText = text.toLowerCase();
11
15
  const filteredOptions = options.reduce((filteredIn, option) => {
12
16
  if (isGroup(option)) {
13
17
  popLastGroup(filteredIn);
14
18
  filteredIn.push(option);
15
19
  }
16
- else if (matchSingleOption(option, text)) {
20
+ else if (matchSingleOption(option, searchText)) {
17
21
  filteredIn.push(option);
18
22
  }
19
23
  return filteredIn;
@@ -21,15 +25,12 @@ export const filterOptions = (options, text) => {
21
25
  popLastGroup(filteredOptions);
22
26
  return filteredOptions;
23
27
  };
24
- const matchSingleOption = (option, text) => {
25
- const searchableFields = ['value', 'label', 'description', 'labelTag'];
26
- const searchableTagFields = ['tags', 'filteringTags'];
27
- const searchText = text.toLowerCase();
28
+ const matchSingleOption = (option, searchText) => {
28
29
  const searchStrFieldsFn = (attr) => matchString(option[attr], searchText);
29
30
  const searchTagsFieldsFn = (attr) => { var _a; return (_a = option[attr]) === null || _a === void 0 ? void 0 : _a.some(value => matchString(value, searchText)); };
30
31
  return searchableFields.some(searchStrFieldsFn) || searchableTagFields.some(searchTagsFieldsFn);
31
32
  };
32
33
  const matchString = (value, searchText) => {
33
- return value && value.toLowerCase().indexOf(searchText) !== -1;
34
+ return value && value.toLowerCase().includes(searchText);
34
35
  };
35
36
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/autosuggest/utils/utils.ts"],"names":[],"mappings":"AAOA,MAAM,OAAO,GAAG,CAAC,MAAuB,EAAE,EAAE,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,MAAK,QAAQ,CAAC;AAEvE,MAAM,YAAY,GAAG,CAAC,OAA0B,EAAE,EAAE;IAClD,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;QACnB,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC/C,IAAI,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;YACxB,OAAO,CAAC,GAAG,EAAE,CAAC;QAChB,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAA0B,EAAE,IAAY,EAAqB,EAAE;IAC3F,MAAM,eAAe,GAAG,OAAO,CAAC,MAAM,CAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE;QAC/E,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YACpB,YAAY,CAAC,UAAU,CAAC,CAAC;YACzB,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC1B,CAAC;aAAM,IAAI,iBAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC;YAC3C,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC1B,CAAC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,YAAY,CAAC,eAAe,CAAC,CAAC;IAC9B,OAAO,eAAe,CAAC;AACzB,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,MAAuB,EAAE,IAAY,EAAW,EAAE;IAC3E,MAAM,gBAAgB,GAAuB,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,CAAC,CAAC;IAC3F,MAAM,mBAAmB,GAA0B,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAE7E,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IAEtC,MAAM,iBAAiB,GAAG,CAAC,IAAsB,EAAE,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC;IAC5F,MAAM,kBAAkB,GAAG,CAAC,IAAyB,EAAE,EAAE,WAAC,OAAA,MAAA,MAAM,CAAC,IAAI,CAAC,0CAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAA,EAAA,CAAC;IAEtH,OAAO,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,mBAAmB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;AAClG,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAyB,EAAE,UAAkB,EAAE,EAAE;IACpE,OAAO,KAAK,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;AACjE,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { AutosuggestItem } from '../interfaces';\n\ntype SearchableFields = 'value' | 'label' | 'description' | 'labelTag';\ntype SearchableTagFields = 'tags' | 'filteringTags';\n\nconst isGroup = (option: AutosuggestItem) => option?.type === 'parent';\n\nconst popLastGroup = (options: AutosuggestItem[]) => {\n if (options.length) {\n const lastOption = options[options.length - 1];\n if (isGroup(lastOption)) {\n options.pop();\n }\n }\n};\n\nexport const filterOptions = (options: AutosuggestItem[], text: string): AutosuggestItem[] => {\n const filteredOptions = options.reduce<AutosuggestItem[]>((filteredIn, option) => {\n if (isGroup(option)) {\n popLastGroup(filteredIn);\n filteredIn.push(option);\n } else if (matchSingleOption(option, text)) {\n filteredIn.push(option);\n }\n return filteredIn;\n }, []);\n popLastGroup(filteredOptions);\n return filteredOptions;\n};\n\nconst matchSingleOption = (option: AutosuggestItem, text: string): boolean => {\n const searchableFields: SearchableFields[] = ['value', 'label', 'description', 'labelTag'];\n const searchableTagFields: SearchableTagFields[] = ['tags', 'filteringTags'];\n\n const searchText = text.toLowerCase();\n\n const searchStrFieldsFn = (attr: SearchableFields) => matchString(option[attr], searchText);\n const searchTagsFieldsFn = (attr: SearchableTagFields) => option[attr]?.some(value => matchString(value, searchText));\n\n return searchableFields.some(searchStrFieldsFn) || searchableTagFields.some(searchTagsFieldsFn);\n};\n\nconst matchString = (value: string | undefined, searchText: string) => {\n return value && value.toLowerCase().indexOf(searchText) !== -1;\n};\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/autosuggest/utils/utils.ts"],"names":[],"mappings":"AAOA,MAAM,gBAAgB,GAAuB,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,CAAC,CAAC;AAC3F,MAAM,mBAAmB,GAA0B,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;AAE7E,MAAM,OAAO,GAAG,CAAC,MAAuB,EAAE,EAAE,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,MAAK,QAAQ,CAAC;AAEvE,MAAM,YAAY,GAAG,CAAC,OAA0B,EAAE,EAAE;IAClD,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;QACnB,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC/C,IAAI,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;YACxB,OAAO,CAAC,GAAG,EAAE,CAAC;QAChB,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAA0B,EAAE,IAAY,EAAqB,EAAE;IAC3F,gEAAgE;IAChE,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IACtC,MAAM,eAAe,GAAG,OAAO,CAAC,MAAM,CAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE;QAC/E,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YACpB,YAAY,CAAC,UAAU,CAAC,CAAC;YACzB,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC1B,CAAC;aAAM,IAAI,iBAAiB,CAAC,MAAM,EAAE,UAAU,CAAC,EAAE,CAAC;YACjD,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC1B,CAAC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,YAAY,CAAC,eAAe,CAAC,CAAC;IAC9B,OAAO,eAAe,CAAC;AACzB,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,MAAuB,EAAE,UAAkB,EAAW,EAAE;IACjF,MAAM,iBAAiB,GAAG,CAAC,IAAsB,EAAE,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC;IAC5F,MAAM,kBAAkB,GAAG,CAAC,IAAyB,EAAE,EAAE,WAAC,OAAA,MAAA,MAAM,CAAC,IAAI,CAAC,0CAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAA,EAAA,CAAC;IAEtH,OAAO,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,CAAC,IAAI,mBAAmB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;AAClG,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAyB,EAAE,UAAkB,EAAE,EAAE;IACpE,OAAO,KAAK,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AAC3D,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { AutosuggestItem } from '../interfaces';\n\ntype SearchableFields = 'value' | 'label' | 'description' | 'labelTag';\ntype SearchableTagFields = 'tags' | 'filteringTags';\n\nconst searchableFields: SearchableFields[] = ['value', 'label', 'description', 'labelTag'];\nconst searchableTagFields: SearchableTagFields[] = ['tags', 'filteringTags'];\n\nconst isGroup = (option: AutosuggestItem) => option?.type === 'parent';\n\nconst popLastGroup = (options: AutosuggestItem[]) => {\n if (options.length) {\n const lastOption = options[options.length - 1];\n if (isGroup(lastOption)) {\n options.pop();\n }\n }\n};\n\nexport const filterOptions = (options: AutosuggestItem[], text: string): AutosuggestItem[] => {\n // Lowercase once for the whole pass instead of once per option.\n const searchText = text.toLowerCase();\n const filteredOptions = options.reduce<AutosuggestItem[]>((filteredIn, option) => {\n if (isGroup(option)) {\n popLastGroup(filteredIn);\n filteredIn.push(option);\n } else if (matchSingleOption(option, searchText)) {\n filteredIn.push(option);\n }\n return filteredIn;\n }, []);\n popLastGroup(filteredOptions);\n return filteredOptions;\n};\n\nconst matchSingleOption = (option: AutosuggestItem, searchText: string): boolean => {\n const searchStrFieldsFn = (attr: SearchableFields) => matchString(option[attr], searchText);\n const searchTagsFieldsFn = (attr: SearchableTagFields) => option[attr]?.some(value => matchString(value, searchText));\n\n return searchableFields.some(searchStrFieldsFn) || searchableTagFields.some(searchTagsFieldsFn);\n};\n\nconst matchString = (value: string | undefined, searchText: string) => {\n return value && value.toLowerCase().includes(searchText);\n};\n"]}
@@ -1,15 +1,15 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "badge": "awsui_badge_1yjyg_gxi4s_178",
5
- "badge-color-grey": "awsui_badge-color-grey_1yjyg_gxi4s_224",
6
- "badge-color-green": "awsui_badge-color-green_1yjyg_gxi4s_229",
7
- "badge-color-blue": "awsui_badge-color-blue_1yjyg_gxi4s_234",
8
- "badge-color-red": "awsui_badge-color-red_1yjyg_gxi4s_239",
9
- "badge-color-severity-critical": "awsui_badge-color-severity-critical_1yjyg_gxi4s_244",
10
- "badge-color-severity-high": "awsui_badge-color-severity-high_1yjyg_gxi4s_249",
11
- "badge-color-severity-medium": "awsui_badge-color-severity-medium_1yjyg_gxi4s_254",
12
- "badge-color-severity-low": "awsui_badge-color-severity-low_1yjyg_gxi4s_259",
13
- "badge-color-severity-neutral": "awsui_badge-color-severity-neutral_1yjyg_gxi4s_264"
4
+ "badge": "awsui_badge_1yjyg_pv729_38",
5
+ "badge-color-grey": "awsui_badge-color-grey_1yjyg_pv729_84",
6
+ "badge-color-green": "awsui_badge-color-green_1yjyg_pv729_89",
7
+ "badge-color-blue": "awsui_badge-color-blue_1yjyg_pv729_94",
8
+ "badge-color-red": "awsui_badge-color-red_1yjyg_pv729_99",
9
+ "badge-color-severity-critical": "awsui_badge-color-severity-critical_1yjyg_pv729_104",
10
+ "badge-color-severity-high": "awsui_badge-color-severity-high_1yjyg_pv729_109",
11
+ "badge-color-severity-medium": "awsui_badge-color-severity-medium_1yjyg_pv729_114",
12
+ "badge-color-severity-low": "awsui_badge-color-severity-low_1yjyg_pv729_119",
13
+ "badge-color-severity-neutral": "awsui_badge-color-severity-neutral_1yjyg_pv729_124"
14
14
  };
15
15