@cloudscape-design/components 3.0.1360 → 3.0.1361

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 +347 -203
  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 +6 -2
  6. package/alert/actions-wrapper/styles.selectors.js +1 -1
  7. package/alert/styles.css.js +27 -27
  8. package/alert/styles.scoped.css +251 -63
  9. package/alert/styles.selectors.js +27 -27
  10. package/anchor-navigation/styles.css.js +8 -8
  11. package/anchor-navigation/styles.scoped.css +227 -51
  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 +201 -29
  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 +142 -6
  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 +198 -22
  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 +144 -8
  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 +9 -5
  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 +144 -12
  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 +138 -2
  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 +148 -12
  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 +182 -10
  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 +374 -182
  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 +281 -105
  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 +1 -11
  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 +145 -9
  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 +7 -3
  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 +207 -71
  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 +133 -1
  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 +176 -40
  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 +154 -22
  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 +190 -14
  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 +174 -38
  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 +6 -7
  75. package/autosuggest/utils/utils.js.map +1 -1
  76. package/badge/styles.css.js +10 -10
  77. package/badge/styles.scoped.css +163 -23
  78. package/badge/styles.selectors.js +10 -10
  79. package/box/styles.css.js +220 -220
  80. package/box/styles.scoped.css +502 -346
  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 +166 -34
  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 +173 -41
  87. package/breadcrumb-group/styles.selectors.js +14 -14
  88. package/button/styles.css.js +23 -23
  89. package/button/styles.scoped.css +240 -96
  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 +176 -44
  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 +184 -52
  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 +141 -9
  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 +167 -35
  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 +177 -9
  105. package/button-group/styles.selectors.js +4 -4
  106. package/calendar/styles.css.js +21 -21
  107. package/calendar/styles.scoped.css +228 -88
  108. package/calendar/styles.selectors.js +21 -21
  109. package/cards/styles.css.js +38 -38
  110. package/cards/styles.scoped.css +185 -53
  111. package/cards/styles.selectors.js +38 -38
  112. package/checkbox/styles.css.js +3 -3
  113. package/checkbox/styles.scoped.css +146 -14
  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 +142 -6
  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 +351 -207
  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 +210 -66
  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 +177 -9
  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 +218 -50
  129. package/column-layout/styles.selectors.js +13 -13
  130. package/container/styles.css.js +33 -33
  131. package/container/styles.scoped.css +279 -107
  132. package/container/styles.selectors.js +33 -33
  133. package/content-layout/styles.css.js +14 -14
  134. package/content-layout/styles.scoped.css +148 -16
  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 +10 -6
  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 +149 -17
  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 +231 -95
  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 +142 -10
  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 +183 -47
  150. package/date-range-picker/styles.selectors.js +23 -23
  151. package/divider/styles.css.js +6 -6
  152. package/divider/styles.scoped.css +145 -13
  153. package/divider/styles.selectors.js +6 -6
  154. package/drawer/styles.css.js +29 -29
  155. package/drawer/styles.scoped.css +237 -61
  156. package/drawer/styles.selectors.js +29 -29
  157. package/dropdown/styles.css.js +20 -20
  158. package/dropdown/styles.scoped.css +194 -58
  159. package/dropdown/styles.selectors.js +20 -20
  160. package/expandable-section/styles.css.js +43 -43
  161. package/expandable-section/styles.scoped.css +269 -133
  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 +175 -7
  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 +188 -16
  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 +240 -52
  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 +7 -3
  174. package/file-upload/styles.selectors.js +2 -2
  175. package/flashbar/styles.css.js +50 -50
  176. package/flashbar/styles.scoped.css +382 -194
  177. package/flashbar/styles.selectors.js +50 -50
  178. package/form/styles.css.js +8 -8
  179. package/form/styles.scoped.css +144 -12
  180. package/form/styles.selectors.js +8 -8
  181. package/form-field/styles.css.js +24 -24
  182. package/form-field/styles.scoped.css +193 -57
  183. package/form-field/styles.selectors.js +24 -24
  184. package/grid/styles.css.js +53 -53
  185. package/grid/styles.scoped.css +190 -58
  186. package/grid/styles.selectors.js +53 -53
  187. package/header/styles.css.js +35 -35
  188. package/header/styles.scoped.css +293 -117
  189. package/header/styles.selectors.js +35 -35
  190. package/help-panel/styles.css.js +6 -6
  191. package/help-panel/styles.scoped.css +314 -146
  192. package/help-panel/styles.selectors.js +6 -6
  193. package/hotspot/styles.css.js +7 -7
  194. package/hotspot/styles.scoped.css +175 -7
  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 +41 -42
  200. package/icon/styles.scoped.css +301 -124
  201. package/icon/styles.selectors.js +41 -42
  202. package/input/styles.css.js +28 -28
  203. package/input/styles.scoped.css +266 -134
  204. package/input/styles.selectors.js +28 -28
  205. package/internal/base-component/styles.scoped.css +9 -1
  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 +155 -23
  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 +208 -68
  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 +172 -40
  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 +139 -7
  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 +158 -22
  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 +137 -5
  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 +140 -8
  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 +182 -46
  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 +143 -11
  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 +6 -2
  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 +183 -15
  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 +142 -10
  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 +158 -26
  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 +184 -48
  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 +141 -9
  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 +138 -6
  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 +157 -21
  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 +156 -24
  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 +175 -39
  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 +143 -11
  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 +143 -11
  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 +149 -17
  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 +133 -1
  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 +225 -93
  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 +175 -43
  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 +145 -13
  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 +221 -41
  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 +214 -78
  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 +153 -21
  299. package/key-value-pairs/styles.selectors.js +8 -8
  300. package/link/styles.css.js +21 -21
  301. package/link/styles.scoped.css +274 -142
  302. package/link/styles.selectors.js +21 -21
  303. package/list/styles.css.js +5 -5
  304. package/list/styles.scoped.css +144 -12
  305. package/list/styles.selectors.js +5 -5
  306. package/live-region/styles.css.js +2 -2
  307. package/live-region/styles.scoped.css +135 -3
  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 +197 -21
  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 +204 -64
  315. package/modal/styles.selectors.js +31 -31
  316. package/multiselect/styles.css.js +5 -5
  317. package/multiselect/styles.scoped.css +145 -13
  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 +180 -48
  322. package/pagination/styles.selectors.js +12 -12
  323. package/panel-layout/styles.css.js +7 -7
  324. package/panel-layout/styles.scoped.css +194 -22
  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 +200 -60
  328. package/pie-chart/styles.selectors.js +27 -27
  329. package/popover/styles.css.js +58 -58
  330. package/popover/styles.scoped.css +288 -140
  331. package/popover/styles.selectors.js +58 -58
  332. package/progress-bar/styles.css.js +19 -19
  333. package/progress-bar/styles.scoped.css +214 -42
  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 +256 -124
  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 +197 -61
  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 +201 -69
  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 +137 -5
  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 +142 -10
  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 +14 -10
  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 +174 -6
  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 +202 -62
  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 +159 -27
  361. package/select/parts/styles.selectors.js +21 -21
  362. package/select/styles.css.js +3 -3
  363. package/select/styles.scoped.css +139 -7
  364. package/select/styles.selectors.js +3 -3
  365. package/side-navigation/styles.css.js +64 -64
  366. package/side-navigation/styles.scoped.css +306 -174
  367. package/side-navigation/styles.selectors.js +64 -64
  368. package/skeleton/styles.css.js +15 -15
  369. package/skeleton/styles.scoped.css +177 -45
  370. package/skeleton/styles.selectors.js +15 -15
  371. package/slider/styles.css.js +26 -26
  372. package/slider/styles.scoped.css +217 -81
  373. package/slider/styles.selectors.js +26 -26
  374. package/space-between/styles.css.js +23 -23
  375. package/space-between/styles.scoped.css +156 -24
  376. package/space-between/styles.selectors.js +23 -23
  377. package/spinner/styles.css.js +14 -14
  378. package/spinner/styles.scoped.css +160 -24
  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 +156 -24
  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 +212 -76
  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 +191 -55
  388. package/status-indicator/styles.selectors.js +25 -25
  389. package/steps/styles.css.js +17 -17
  390. package/steps/styles.scoped.css +209 -41
  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 +958 -826
  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 +286 -118
  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 +171 -39
  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 +136 -4
  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 +179 -11
  406. package/table/sticky-scrollbar/styles.selectors.js +6 -6
  407. package/table/styles.css.js +37 -37
  408. package/table/styles.scoped.css +196 -60
  409. package/table/styles.selectors.js +37 -37
  410. package/tabs/styles.css.js +30 -30
  411. package/tabs/styles.scoped.css +220 -84
  412. package/tabs/styles.selectors.js +30 -30
  413. package/tag-editor/styles.css.js +3 -3
  414. package/tag-editor/styles.scoped.css +154 -22
  415. package/tag-editor/styles.selectors.js +3 -3
  416. package/test-utils/dom/button-group/index.js +4 -3
  417. package/test-utils/dom/button-group/index.js.map +1 -1
  418. package/test-utils/dom/popover/index.js +4 -3
  419. package/test-utils/dom/popover/index.js.map +1 -1
  420. package/test-utils/selectors/button-group/index.js +4 -3
  421. package/test-utils/selectors/button-group/index.js.map +1 -1
  422. package/test-utils/selectors/popover/index.js +4 -3
  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 +259 -127
  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 +139 -7
  429. package/text-filter/styles.selectors.js +3 -3
  430. package/textarea/styles.css.js +9 -9
  431. package/textarea/styles.scoped.css +178 -46
  432. package/textarea/styles.selectors.js +9 -9
  433. package/tiles/styles.css.js +30 -30
  434. package/tiles/styles.scoped.css +264 -96
  435. package/tiles/styles.selectors.js +30 -30
  436. package/toggle/styles.css.js +10 -10
  437. package/toggle/styles.scoped.css +158 -26
  438. package/toggle/styles.selectors.js +10 -10
  439. package/toggle-button/styles.css.js +4 -4
  440. package/toggle-button/styles.scoped.css +8 -4
  441. package/toggle-button/styles.selectors.js +4 -4
  442. package/token/styles.css.js +14 -14
  443. package/token/styles.scoped.css +192 -52
  444. package/token/styles.selectors.js +14 -14
  445. package/token-group/styles.css.js +5 -5
  446. package/token-group/styles.scoped.css +140 -8
  447. package/token-group/styles.selectors.js +5 -5
  448. package/tooltip/styles.css.js +2 -2
  449. package/tooltip/styles.scoped.css +137 -5
  450. package/tooltip/styles.selectors.js +2 -2
  451. package/top-navigation/styles.css.js +47 -47
  452. package/top-navigation/styles.scoped.css +250 -118
  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 +177 -9
  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 +193 -17
  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 +10 -6
  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 +141 -9
  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 +205 -37
  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 +229 -53
  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 +185 -13
  474. package/tutorial-panel/styles.selectors.js +1 -1
  475. package/wizard/styles.css.js +30 -30
  476. package/wizard/styles.scoped.css +213 -81
  477. package/wizard/styles.selectors.js +30 -30
@@ -2,18 +2,154 @@
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
+ */
5
113
  /* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
6
114
  /* 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
+ */
7
139
  /* Style used for links in slots/components that are text heavy, to help links stand out among
8
140
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
9
141
  /*
10
142
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
11
143
  SPDX-License-Identifier: Apache-2.0
12
144
  */
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);
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);
15
151
  }
16
- @keyframes awsui_awsui-motion-fade-in_n4qlp_fpnea_1 {
152
+ @keyframes awsui_awsui-motion-fade-in_n4qlp_1a56o_1 {
17
153
  from {
18
154
  opacity: 0.2;
19
155
  }
@@ -22,17 +158,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
22
158
  }
23
159
  }
24
160
  @media (prefers-reduced-motion: reduce) {
25
- .awsui_empty-appear_n4qlp_fpnea_13:not(#\9) {
161
+ .awsui_empty-appear_n4qlp_1a56o_149:not(#\9) {
26
162
  animation: none;
27
163
  transition: none;
28
164
  }
29
165
  }
30
- .awsui-motion-disabled .awsui_empty-appear_n4qlp_fpnea_13:not(#\9), .awsui-mode-entering .awsui_empty-appear_n4qlp_fpnea_13:not(#\9) {
166
+ .awsui-motion-disabled .awsui_empty-appear_n4qlp_1a56o_149:not(#\9), .awsui-mode-entering .awsui_empty-appear_n4qlp_1a56o_149:not(#\9) {
31
167
  animation: none;
32
168
  transition: none;
33
169
  }
34
170
 
35
- .awsui_root_n4qlp_fpnea_35:not(#\9) {
171
+ .awsui_root_n4qlp_1a56o_171:not(#\9) {
36
172
  border-collapse: separate;
37
173
  border-spacing: 0;
38
174
  box-sizing: border-box;
@@ -55,11 +191,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
55
191
  visibility: visible;
56
192
  white-space: normal;
57
193
  word-spacing: normal;
58
- font-size: var(--font-size-body-m-tq5a14, 14px);
59
- line-height: var(--line-height-body-m-5xw6xo, 20px);
194
+ font-size: var(--font-size-body-m-a7nh2n, 14px);
195
+ line-height: var(--line-height-body-m-2mh3ke, 20px);
60
196
  color: var(--color-text-body-default-gtm97i, #0f141a);
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);
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);
63
199
  -webkit-font-smoothing: auto;
64
200
  -moz-osx-font-smoothing: auto;
65
201
  display: grid;
@@ -68,44 +204,44 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
68
204
  align-items: start;
69
205
  }
70
206
 
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);
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);
74
210
  color: var(--color-text-empty-68xc4n, #656871);
75
211
  grid-column: 1/-1;
76
212
  }
77
213
 
78
- .awsui_row_n4qlp_fpnea_78:not(#\9) {
214
+ .awsui_row_n4qlp_1a56o_214:not(#\9) {
79
215
  display: contents;
80
216
  }
81
217
 
82
- .awsui_divider_n4qlp_fpnea_82:not(#\9) {
218
+ .awsui_divider_n4qlp_1a56o_218:not(#\9) {
83
219
  grid-column: 1/-1;
84
- border-block-start: var(--border-divider-section-width-dlkb8v, 1px) solid var(--color-border-divider-default-0de9c8, #c6c6cd);
220
+ border-block-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-0de9c8, #c6c6cd);
85
221
  }
86
222
 
87
- .awsui_row-control_n4qlp_fpnea_87:not(#\9) {
223
+ .awsui_row-control_n4qlp_1a56o_223:not(#\9) {
88
224
  /* used in test-utils */
89
225
  }
90
226
 
91
- .awsui_field_n4qlp_fpnea_91:not(#\9) {
227
+ .awsui_field_n4qlp_1a56o_227:not(#\9) {
92
228
  min-inline-size: 40px;
93
229
  }
94
230
 
95
- .awsui_additional-info_n4qlp_fpnea_95:not(#\9) {
231
+ .awsui_additional-info_n4qlp_1a56o_231:not(#\9) {
96
232
  color: var(--color-text-form-secondary-t0glp7, #656871);
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);
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);
100
236
  display: block;
101
237
  word-wrap: break-word;
102
238
  margin-block-start: var(--space-xxs-hwfkai, 4px);
103
239
  /* stylelint-disable-next-line selector-max-type */
104
240
  }
105
- .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9) {
241
+ .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9) {
106
242
  text-underline-offset: 0.3em;
107
- text-decoration-thickness: var(--font-decoration-thickness-link-n3u7wl, 1px);
108
- text-decoration-style: var(--font-decoration-style-link-lw1s9g, solid);
243
+ text-decoration-thickness: var(--font-decoration-thickness-link-uesuo7, 1px);
244
+ text-decoration-style: var(--font-decoration-style-link-pk2xmp, solid);
109
245
  color: var(--awsui-style-color-default-esndbs, var(--color-text-link-default-rhby5q, #006ce0));
110
246
  font-weight: inherit;
111
247
  letter-spacing: normal;
@@ -117,50 +253,50 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
117
253
  transition-duration: var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
118
254
  }
119
255
  @media (prefers-reduced-motion: reduce) {
120
- .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9) {
256
+ .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9) {
121
257
  animation: none;
122
258
  transition: none;
123
259
  }
124
260
  }
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) {
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) {
126
262
  animation: none;
127
263
  transition: none;
128
264
  }
129
- .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9):hover {
265
+ .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9):hover {
130
266
  cursor: pointer;
131
267
  color: var(--awsui-style-color-hover-esndbs, var(--color-text-link-hover-br6snu, #002b66));
132
268
  }
133
- .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9):focus {
269
+ .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9):focus {
134
270
  outline: none;
135
271
  }
136
- .awsui_additional-info_n4qlp_fpnea_95 > a:not(#\9):active {
272
+ .awsui_additional-info_n4qlp_1a56o_231 > a:not(#\9):active {
137
273
  color: var(--awsui-style-color-active-esndbs, var(--color-text-link-hover-br6snu, #002b66));
138
274
  }
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 {
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 {
140
276
  text-decoration-line: underline;
141
277
  text-decoration-color: var(--color-text-link-decoration-hover-kui2t9, currentColor);
142
278
  }
143
279
 
144
- .awsui_add-row_n4qlp_fpnea_142:not(#\9) {
280
+ .awsui_add-row_n4qlp_1a56o_278:not(#\9) {
145
281
  grid-column: 1/-1;
146
282
  }
147
283
 
148
- .awsui_add-button_n4qlp_fpnea_146:not(#\9) {
284
+ .awsui_add-button_n4qlp_1a56o_282:not(#\9) {
149
285
  /* used in test-utils */
150
286
  }
151
287
 
152
- .awsui_remove-button-container_n4qlp_fpnea_150:not(#\9) {
288
+ .awsui_remove-button-container_n4qlp_1a56o_286:not(#\9) {
153
289
  display: inline-block;
154
290
  }
155
291
 
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));
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));
158
294
  }
159
295
 
160
- .awsui_remove-button-own-row_n4qlp_fpnea_158:not(#\9) {
296
+ .awsui_remove-button-own-row_n4qlp_1a56o_294:not(#\9) {
161
297
  justify-self: end;
162
298
  }
163
299
 
164
- .awsui_remove-button_n4qlp_fpnea_150:not(#\9) {
300
+ .awsui_remove-button_n4qlp_1a56o_286:not(#\9) {
165
301
  /* used in test-utils */
166
302
  }
@@ -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_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"
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"
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;AAmBhD,eAAO,MAAM,aAAa,GAAI,SAAS,eAAe,EAAE,EAAE,MAAM,MAAM,KAAG,eAAe,EAcvF,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;AAgBhD,eAAO,MAAM,aAAa,GAAI,SAAS,eAAe,EAAE,EAAE,MAAM,MAAM,KAAG,eAAe,EAYvF,CAAC"}
@@ -1,5 +1,3 @@
1
- const searchableFields = ['value', 'label', 'description', 'labelTag'];
2
- const searchableTagFields = ['tags', 'filteringTags'];
3
1
  const isGroup = (option) => (option === null || option === void 0 ? void 0 : option.type) === 'parent';
4
2
  const popLastGroup = (options) => {
5
3
  if (options.length) {
@@ -10,14 +8,12 @@ const popLastGroup = (options) => {
10
8
  }
11
9
  };
12
10
  export const filterOptions = (options, text) => {
13
- // Lowercase once for the whole pass instead of once per option.
14
- const searchText = text.toLowerCase();
15
11
  const filteredOptions = options.reduce((filteredIn, option) => {
16
12
  if (isGroup(option)) {
17
13
  popLastGroup(filteredIn);
18
14
  filteredIn.push(option);
19
15
  }
20
- else if (matchSingleOption(option, searchText)) {
16
+ else if (matchSingleOption(option, text)) {
21
17
  filteredIn.push(option);
22
18
  }
23
19
  return filteredIn;
@@ -25,12 +21,15 @@ export const filterOptions = (options, text) => {
25
21
  popLastGroup(filteredOptions);
26
22
  return filteredOptions;
27
23
  };
28
- const matchSingleOption = (option, searchText) => {
24
+ const matchSingleOption = (option, text) => {
25
+ const searchableFields = ['value', 'label', 'description', 'labelTag'];
26
+ const searchableTagFields = ['tags', 'filteringTags'];
27
+ const searchText = text.toLowerCase();
29
28
  const searchStrFieldsFn = (attr) => matchString(option[attr], searchText);
30
29
  const searchTagsFieldsFn = (attr) => { var _a; return (_a = option[attr]) === null || _a === void 0 ? void 0 : _a.some(value => matchString(value, searchText)); };
31
30
  return searchableFields.some(searchStrFieldsFn) || searchableTagFields.some(searchTagsFieldsFn);
32
31
  };
33
32
  const matchString = (value, searchText) => {
34
- return value && value.toLowerCase().includes(searchText);
33
+ return value && value.toLowerCase().indexOf(searchText) !== -1;
35
34
  };
36
35
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
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
+ {"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,15 +1,15 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
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"
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"
14
14
  };
15
15