@cloudscape-design/components 3.0.1407 → 3.0.1408

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 (508) hide show
  1. package/alert/styles.css.js +27 -27
  2. package/alert/styles.scoped.css +55 -53
  3. package/alert/styles.selectors.js +27 -27
  4. package/annotation-context/annotation/styles.css.js +13 -13
  5. package/annotation-context/annotation/styles.scoped.css +21 -21
  6. package/annotation-context/annotation/styles.selectors.js +13 -13
  7. package/app-layout/notifications/styles.css.js +3 -3
  8. package/app-layout/notifications/styles.scoped.css +7 -7
  9. package/app-layout/notifications/styles.selectors.js +3 -3
  10. package/app-layout/visual-refresh/styles.css.js +86 -86
  11. package/app-layout/visual-refresh/styles.scoped.css +258 -258
  12. package/app-layout/visual-refresh/styles.selectors.js +86 -86
  13. package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
  14. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
  15. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
  16. package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
  17. package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +13 -13
  18. package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
  19. package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
  20. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +68 -68
  21. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
  22. package/attribute-editor/styles.css.js +15 -15
  23. package/attribute-editor/styles.scoped.css +28 -28
  24. package/attribute-editor/styles.selectors.js +15 -15
  25. package/breadcrumb-group/item/styles.css.js +7 -7
  26. package/breadcrumb-group/item/styles.scoped.css +28 -28
  27. package/breadcrumb-group/item/styles.selectors.js +7 -7
  28. package/button/styles.css.js +24 -24
  29. package/button/styles.scoped.css +327 -327
  30. package/button/styles.selectors.js +24 -24
  31. package/button-dropdown/category-elements/expandable-category-element.d.ts +4 -1
  32. package/button-dropdown/category-elements/expandable-category-element.d.ts.map +1 -1
  33. package/button-dropdown/category-elements/expandable-category-element.js +18 -3
  34. package/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
  35. package/button-dropdown/category-elements/mobile-expandable-category-element.d.ts +4 -1
  36. package/button-dropdown/category-elements/mobile-expandable-category-element.d.ts.map +1 -1
  37. package/button-dropdown/category-elements/mobile-expandable-category-element.js +23 -3
  38. package/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
  39. package/button-dropdown/category-elements/use-expandable-group-status.d.ts +34 -0
  40. package/button-dropdown/category-elements/use-expandable-group-status.d.ts.map +1 -0
  41. package/button-dropdown/category-elements/use-expandable-group-status.js +59 -0
  42. package/button-dropdown/category-elements/use-expandable-group-status.js.map +1 -0
  43. package/button-dropdown/index.d.ts.map +1 -1
  44. package/button-dropdown/index.js +3 -3
  45. package/button-dropdown/index.js.map +1 -1
  46. package/button-dropdown/interfaces.d.ts +110 -8
  47. package/button-dropdown/interfaces.d.ts.map +1 -1
  48. package/button-dropdown/interfaces.js.map +1 -1
  49. package/button-dropdown/internal-interfaces.d.ts +20 -0
  50. package/button-dropdown/internal-interfaces.d.ts.map +1 -1
  51. package/button-dropdown/internal-interfaces.js.map +1 -1
  52. package/button-dropdown/internal.d.ts.map +1 -1
  53. package/button-dropdown/internal.js +149 -16
  54. package/button-dropdown/internal.js.map +1 -1
  55. package/button-dropdown/item-element/styles.css.js +21 -21
  56. package/button-dropdown/item-element/styles.scoped.css +37 -37
  57. package/button-dropdown/item-element/styles.selectors.js +21 -21
  58. package/button-dropdown/items-list.d.ts +4 -1
  59. package/button-dropdown/items-list.d.ts.map +1 -1
  60. package/button-dropdown/items-list.js +2 -2
  61. package/button-dropdown/items-list.js.map +1 -1
  62. package/button-dropdown/status-footer.d.ts +16 -0
  63. package/button-dropdown/status-footer.d.ts.map +1 -0
  64. package/button-dropdown/status-footer.js +23 -0
  65. package/button-dropdown/status-footer.js.map +1 -0
  66. package/button-dropdown/styles.css.js +23 -23
  67. package/button-dropdown/styles.scoped.css +34 -31
  68. package/button-dropdown/styles.selectors.js +23 -23
  69. package/button-dropdown/test-classes/styles.css.js +7 -0
  70. package/button-dropdown/test-classes/styles.scoped.css +11 -0
  71. package/button-dropdown/test-classes/styles.selectors.js +8 -0
  72. package/button-dropdown/utils/use-button-dropdown.d.ts +31 -2
  73. package/button-dropdown/utils/use-button-dropdown.d.ts.map +1 -1
  74. package/button-dropdown/utils/use-button-dropdown.js +62 -7
  75. package/button-dropdown/utils/use-button-dropdown.js.map +1 -1
  76. package/button-dropdown/utils/use-highlighted-menu.d.ts +2 -0
  77. package/button-dropdown/utils/use-highlighted-menu.d.ts.map +1 -1
  78. package/button-dropdown/utils/use-highlighted-menu.js +7 -0
  79. package/button-dropdown/utils/use-highlighted-menu.js.map +1 -1
  80. package/button-dropdown/utils/use-load-items.d.ts +17 -0
  81. package/button-dropdown/utils/use-load-items.d.ts.map +1 -0
  82. package/button-dropdown/utils/use-load-items.js +23 -0
  83. package/button-dropdown/utils/use-load-items.js.map +1 -0
  84. package/button-group/copy-to-clipboard-item.d.ts +1 -0
  85. package/button-group/copy-to-clipboard-item.d.ts.map +1 -1
  86. package/button-group/copy-to-clipboard-item.js +2 -2
  87. package/button-group/copy-to-clipboard-item.js.map +1 -1
  88. package/button-group/file-input-item.d.ts +1 -0
  89. package/button-group/file-input-item.d.ts.map +1 -1
  90. package/button-group/file-input-item.js +2 -2
  91. package/button-group/file-input-item.js.map +1 -1
  92. package/button-group/icon-button-item.d.ts +1 -0
  93. package/button-group/icon-button-item.d.ts.map +1 -1
  94. package/button-group/icon-button-item.js +2 -2
  95. package/button-group/icon-button-item.js.map +1 -1
  96. package/button-group/icon-toggle-button-item.d.ts +1 -0
  97. package/button-group/icon-toggle-button-item.d.ts.map +1 -1
  98. package/button-group/icon-toggle-button-item.js +2 -2
  99. package/button-group/icon-toggle-button-item.js.map +1 -1
  100. package/button-group/index.d.ts.map +1 -1
  101. package/button-group/index.js +1 -1
  102. package/button-group/index.js.map +1 -1
  103. package/button-group/internal-interfaces.d.ts +8 -0
  104. package/button-group/internal-interfaces.d.ts.map +1 -1
  105. package/button-group/internal-interfaces.js.map +1 -1
  106. package/button-group/internal.d.ts.map +1 -1
  107. package/button-group/internal.js +3 -3
  108. package/button-group/internal.js.map +1 -1
  109. package/button-group/item-element.d.ts +2 -0
  110. package/button-group/item-element.d.ts.map +1 -1
  111. package/button-group/item-element.js +7 -6
  112. package/button-group/item-element.js.map +1 -1
  113. package/button-group/menu-dropdown-item.d.ts +2 -0
  114. package/button-group/menu-dropdown-item.d.ts.map +1 -1
  115. package/button-group/menu-dropdown-item.js +3 -3
  116. package/button-group/menu-dropdown-item.js.map +1 -1
  117. package/button-group/styles.css.js +4 -4
  118. package/button-group/styles.scoped.css +19 -6
  119. package/button-group/styles.selectors.js +4 -4
  120. package/cards/styles.css.js +39 -39
  121. package/cards/styles.scoped.css +41 -41
  122. package/cards/styles.selectors.js +39 -39
  123. package/checkbox/styles.css.js +3 -3
  124. package/checkbox/styles.scoped.css +10 -10
  125. package/checkbox/styles.selectors.js +3 -3
  126. package/column-layout/internal.d.ts.map +1 -1
  127. package/column-layout/internal.js +12 -0
  128. package/column-layout/internal.js.map +1 -1
  129. package/container/internal.d.ts +11 -0
  130. package/container/internal.d.ts.map +1 -1
  131. package/container/internal.js +7 -4
  132. package/container/internal.js.map +1 -1
  133. package/container/styles.css.js +33 -34
  134. package/container/styles.scoped.css +140 -94
  135. package/container/styles.selectors.js +33 -34
  136. package/content-layout/styles.css.js +14 -14
  137. package/content-layout/styles.scoped.css +27 -27
  138. package/content-layout/styles.selectors.js +14 -14
  139. package/control-group/styles.css.js +27 -27
  140. package/control-group/styles.scoped.css +28 -28
  141. package/control-group/styles.selectors.js +27 -27
  142. package/copy-to-clipboard/index.d.ts.map +1 -1
  143. package/copy-to-clipboard/index.js +1 -1
  144. package/copy-to-clipboard/index.js.map +1 -1
  145. package/copy-to-clipboard/internal.d.ts +9 -1
  146. package/copy-to-clipboard/internal.d.ts.map +1 -1
  147. package/copy-to-clipboard/internal.js +3 -3
  148. package/copy-to-clipboard/internal.js.map +1 -1
  149. package/copy-to-clipboard/styles.css.js +10 -10
  150. package/copy-to-clipboard/styles.scoped.css +16 -14
  151. package/copy-to-clipboard/styles.selectors.js +10 -10
  152. package/date-input/internal.d.ts +5 -0
  153. package/date-input/internal.d.ts.map +1 -1
  154. package/date-input/internal.js +2 -2
  155. package/date-input/internal.js.map +1 -1
  156. package/date-input/styles.css.js +1 -1
  157. package/date-input/styles.scoped.css +2 -1
  158. package/date-input/styles.selectors.js +1 -1
  159. package/divider/index.d.ts.map +1 -1
  160. package/divider/index.js +1 -1
  161. package/divider/index.js.map +1 -1
  162. package/divider/internal.d.ts +7 -1
  163. package/divider/internal.d.ts.map +1 -1
  164. package/divider/internal.js +2 -2
  165. package/divider/internal.js.map +1 -1
  166. package/divider/styles.css.js +6 -6
  167. package/divider/styles.scoped.css +20 -9
  168. package/divider/styles.selectors.js +6 -6
  169. package/dropdown/internal.d.ts +1 -1
  170. package/dropdown/internal.d.ts.map +1 -1
  171. package/dropdown/internal.js +1 -1
  172. package/dropdown/internal.js.map +1 -1
  173. package/dropdown/styles.css.js +20 -20
  174. package/dropdown/styles.scoped.css +48 -48
  175. package/dropdown/styles.selectors.js +20 -20
  176. package/expandable-section/expandable-section-container.d.ts +6 -0
  177. package/expandable-section/expandable-section-container.d.ts.map +1 -1
  178. package/expandable-section/expandable-section-container.js +4 -3
  179. package/expandable-section/expandable-section-container.js.map +1 -1
  180. package/expandable-section/expandable-section-header.d.ts +6 -0
  181. package/expandable-section/expandable-section-header.d.ts.map +1 -1
  182. package/expandable-section/expandable-section-header.js +34 -15
  183. package/expandable-section/expandable-section-header.js.map +1 -1
  184. package/expandable-section/interfaces.d.ts +11 -0
  185. package/expandable-section/interfaces.d.ts.map +1 -1
  186. package/expandable-section/interfaces.js.map +1 -1
  187. package/expandable-section/internal.d.ts +2 -0
  188. package/expandable-section/internal.d.ts.map +1 -1
  189. package/expandable-section/internal.js +10 -3
  190. package/expandable-section/internal.js.map +1 -1
  191. package/expandable-section/styles.css.js +49 -46
  192. package/expandable-section/styles.scoped.css +121 -91
  193. package/expandable-section/styles.selectors.js +49 -46
  194. package/expandable-section/utils.d.ts +1 -0
  195. package/expandable-section/utils.d.ts.map +1 -1
  196. package/expandable-section/utils.js +3 -0
  197. package/expandable-section/utils.js.map +1 -1
  198. package/file-input/internal.d.ts +2 -0
  199. package/file-input/internal.d.ts.map +1 -1
  200. package/file-input/internal.js +2 -2
  201. package/file-input/internal.js.map +1 -1
  202. package/file-input/styles.css.js +5 -5
  203. package/file-input/styles.scoped.css +18 -22
  204. package/file-input/styles.selectors.js +5 -5
  205. package/file-token-group/styles.css.js +23 -23
  206. package/file-token-group/styles.scoped.css +36 -36
  207. package/file-token-group/styles.selectors.js +23 -23
  208. package/flashbar/styles.css.js +50 -50
  209. package/flashbar/styles.scoped.css +184 -184
  210. package/flashbar/styles.selectors.js +50 -50
  211. package/header/interfaces.d.ts +3 -2
  212. package/header/interfaces.d.ts.map +1 -1
  213. package/header/interfaces.js.map +1 -1
  214. package/header/internal.d.ts +6 -0
  215. package/header/internal.d.ts.map +1 -1
  216. package/header/internal.js +2 -1
  217. package/header/internal.js.map +1 -1
  218. package/header/styles.css.js +36 -35
  219. package/header/styles.scoped.css +69 -53
  220. package/header/styles.selectors.js +36 -35
  221. package/help-panel/styles.css.js +6 -6
  222. package/help-panel/styles.scoped.css +72 -72
  223. package/help-panel/styles.selectors.js +6 -6
  224. package/i18n/messages/all.all.js +1 -1
  225. package/i18n/messages/all.all.json +1 -1
  226. package/i18n/messages/all.de.js +1 -1
  227. package/i18n/messages/all.de.json +1 -1
  228. package/i18n/messages/all.en-GB.js +1 -1
  229. package/i18n/messages/all.en-GB.json +1 -1
  230. package/i18n/messages/all.en.js +1 -1
  231. package/i18n/messages/all.en.json +1 -1
  232. package/i18n/messages/all.es.js +1 -1
  233. package/i18n/messages/all.es.json +1 -1
  234. package/i18n/messages/all.fr.js +1 -1
  235. package/i18n/messages/all.fr.json +1 -1
  236. package/i18n/messages/all.id.js +1 -1
  237. package/i18n/messages/all.id.json +1 -1
  238. package/i18n/messages/all.it.js +1 -1
  239. package/i18n/messages/all.it.json +1 -1
  240. package/i18n/messages/all.ja.js +1 -1
  241. package/i18n/messages/all.ja.json +1 -1
  242. package/i18n/messages/all.ko.js +1 -1
  243. package/i18n/messages/all.ko.json +1 -1
  244. package/i18n/messages/all.pt-BR.js +1 -1
  245. package/i18n/messages/all.pt-BR.json +1 -1
  246. package/i18n/messages/all.tr.js +1 -1
  247. package/i18n/messages/all.tr.json +1 -1
  248. package/i18n/messages/all.zh-CN.js +1 -1
  249. package/i18n/messages/all.zh-CN.json +1 -1
  250. package/i18n/messages/all.zh-TW.js +1 -1
  251. package/i18n/messages/all.zh-TW.json +1 -1
  252. package/i18n/messages-types.d.ts +28 -0
  253. package/i18n/messages-types.d.ts.map +1 -1
  254. package/i18n/messages-types.js.map +1 -1
  255. package/input/styles.css.js +44 -44
  256. package/input/styles.scoped.css +143 -143
  257. package/input/styles.selectors.js +44 -44
  258. package/internal/base-component/styles.scoped.css +1 -1
  259. package/internal/components/autosuggest-input/styles.css.js +33 -33
  260. package/internal/components/autosuggest-input/styles.scoped.css +86 -86
  261. package/internal/components/autosuggest-input/styles.selectors.js +33 -33
  262. package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
  263. package/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
  264. package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
  265. package/internal/components/dropdown-status/index.d.ts +7 -1
  266. package/internal/components/dropdown-status/index.d.ts.map +1 -1
  267. package/internal/components/dropdown-status/index.js +2 -2
  268. package/internal/components/dropdown-status/index.js.map +1 -1
  269. package/internal/components/listbox/selection/interfaces.d.ts +28 -0
  270. package/internal/components/listbox/selection/interfaces.d.ts.map +1 -0
  271. package/internal/components/listbox/selection/interfaces.js +2 -0
  272. package/internal/components/listbox/selection/interfaces.js.map +1 -0
  273. package/internal/components/listbox/selection/multi-selection.d.ts +24 -0
  274. package/internal/components/listbox/selection/multi-selection.d.ts.map +1 -0
  275. package/internal/components/listbox/selection/multi-selection.js +60 -0
  276. package/internal/components/listbox/selection/multi-selection.js.map +1 -0
  277. package/internal/components/listbox/selection/single-selection.d.ts +7 -0
  278. package/internal/components/listbox/selection/single-selection.d.ts.map +1 -0
  279. package/internal/components/listbox/selection/single-selection.js +26 -0
  280. package/internal/components/listbox/selection/single-selection.js.map +1 -0
  281. package/internal/components/option/styles.css.js +18 -18
  282. package/internal/components/option/styles.scoped.css +35 -35
  283. package/internal/components/option/styles.selectors.js +18 -18
  284. package/internal/components/radio-button/styles.css.js +7 -7
  285. package/internal/components/radio-button/styles.scoped.css +17 -17
  286. package/internal/components/radio-button/styles.selectors.js +7 -7
  287. package/internal/components/selectable-item/styles.css.js +22 -22
  288. package/internal/components/selectable-item/styles.scoped.css +57 -57
  289. package/internal/components/selectable-item/styles.selectors.js +22 -22
  290. package/internal/components/token-list/styles.css.js +10 -10
  291. package/internal/components/token-list/styles.scoped.css +25 -25
  292. package/internal/components/token-list/styles.selectors.js +10 -10
  293. package/internal/environment.js +2 -2
  294. package/internal/environment.json +2 -2
  295. package/internal/generated/custom-css-properties/index.d.ts +2 -0
  296. package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  297. package/internal/generated/custom-css-properties/index.js +177 -175
  298. package/internal/generated/custom-css-properties/index.js.map +1 -1
  299. package/internal/hooks/use-load-items/index.d.ts +18 -0
  300. package/internal/hooks/use-load-items/index.d.ts.map +1 -0
  301. package/{select/utils/use-load-items.js → internal/hooks/use-load-items/index.js} +4 -5
  302. package/internal/hooks/use-load-items/index.js.map +1 -0
  303. package/internal/manifest.json +1 -1
  304. package/item-card/styles.css.js +14 -14
  305. package/item-card/styles.scoped.css +63 -63
  306. package/item-card/styles.selectors.js +14 -14
  307. package/link/styles.css.js +21 -21
  308. package/link/styles.scoped.css +104 -104
  309. package/link/styles.selectors.js +21 -21
  310. package/manifest.json +2 -2
  311. package/modal/styles.css.js +32 -32
  312. package/modal/styles.scoped.css +49 -49
  313. package/modal/styles.selectors.js +32 -32
  314. package/multiselect/use-multiselect.d.ts.map +1 -1
  315. package/multiselect/use-multiselect.js +15 -48
  316. package/multiselect/use-multiselect.js.map +1 -1
  317. package/package.json +1 -1
  318. package/popover/arrow.d.ts +3 -1
  319. package/popover/arrow.d.ts.map +1 -1
  320. package/popover/arrow.js +2 -2
  321. package/popover/arrow.js.map +1 -1
  322. package/popover/body.d.ts +1 -0
  323. package/popover/body.d.ts.map +1 -1
  324. package/popover/body.js +2 -2
  325. package/popover/body.js.map +1 -1
  326. package/popover/container.d.ts +3 -1
  327. package/popover/container.d.ts.map +1 -1
  328. package/popover/container.js +2 -2
  329. package/popover/container.js.map +1 -1
  330. package/popover/internal.d.ts +6 -0
  331. package/popover/internal.d.ts.map +1 -1
  332. package/popover/internal.js +3 -3
  333. package/popover/internal.js.map +1 -1
  334. package/popover/styles.css.js +58 -58
  335. package/popover/styles.scoped.css +114 -95
  336. package/popover/styles.selectors.js +58 -58
  337. package/progress-bar/index.d.ts.map +1 -1
  338. package/progress-bar/index.js +4 -3
  339. package/progress-bar/index.js.map +1 -1
  340. package/progress-bar/internal.d.ts +7 -1
  341. package/progress-bar/internal.d.ts.map +1 -1
  342. package/progress-bar/internal.js +2 -2
  343. package/progress-bar/internal.js.map +1 -1
  344. package/progress-bar/styles.css.js +20 -19
  345. package/progress-bar/styles.scoped.css +92 -59
  346. package/progress-bar/styles.selectors.js +20 -19
  347. package/prompt-input/styles.css.js +26 -26
  348. package/prompt-input/styles.scoped.css +105 -105
  349. package/prompt-input/styles.selectors.js +26 -26
  350. package/segmented-control/styles.css.js +31 -31
  351. package/segmented-control/styles.scoped.css +81 -81
  352. package/segmented-control/styles.selectors.js +31 -31
  353. package/select/internal.d.ts.map +1 -1
  354. package/select/internal.js +6 -3
  355. package/select/internal.js.map +1 -1
  356. package/select/parts/styles.css.js +21 -21
  357. package/select/parts/styles.scoped.css +24 -24
  358. package/select/parts/styles.selectors.js +21 -21
  359. package/select/utils/use-select.d.ts +4 -4
  360. package/select/utils/use-select.d.ts.map +1 -1
  361. package/select/utils/use-select.js +16 -29
  362. package/select/utils/use-select.js.map +1 -1
  363. package/side-navigation/styles.css.js +65 -65
  364. package/side-navigation/styles.scoped.css +114 -114
  365. package/side-navigation/styles.selectors.js +65 -65
  366. package/slider/internal.d.ts +6 -0
  367. package/slider/internal.d.ts.map +1 -1
  368. package/slider/internal.js +3 -3
  369. package/slider/internal.js.map +1 -1
  370. package/slider/styles.css.js +26 -26
  371. package/slider/styles.scoped.css +202 -171
  372. package/slider/styles.selectors.js +26 -26
  373. package/spinner/styles.css.js +14 -14
  374. package/spinner/styles.scoped.css +40 -40
  375. package/spinner/styles.selectors.js +14 -14
  376. package/styling/button-dropdown.scss +1 -0
  377. package/styling/button-group.scss +15 -0
  378. package/styling/container.scss +95 -0
  379. package/styling/copy-to-clipboard.scss +1 -0
  380. package/styling/date-input.scss +1 -0
  381. package/styling/divider.scss +15 -0
  382. package/styling/dropdown.scss +2 -2
  383. package/styling/popover.scss +58 -0
  384. package/styling/progress-bar.scss +36 -0
  385. package/styling/slider.scss +30 -0
  386. package/styling/text-filter.scss +19 -0
  387. package/styling/time-input.scss +1 -0
  388. package/styling/toggle-button.scss +1 -0
  389. package/styling/token.scss +49 -0
  390. package/styling/tooltip.scss +58 -0
  391. package/table/column-groups/col-group.d.ts +1 -1
  392. package/table/column-groups/col-group.d.ts.map +1 -1
  393. package/table/column-groups/col-group.js +3 -3
  394. package/table/column-groups/col-group.js.map +1 -1
  395. package/table/header-cell/group-header-cell.js +2 -2
  396. package/table/header-cell/group-header-cell.js.map +1 -1
  397. package/table/internal.d.ts.map +1 -1
  398. package/table/internal.js +1 -1
  399. package/table/internal.js.map +1 -1
  400. package/table/styles.css.js +37 -37
  401. package/table/styles.scoped.css +46 -46
  402. package/table/styles.selectors.js +37 -37
  403. package/table/use-column-widths.d.ts +2 -1
  404. package/table/use-column-widths.d.ts.map +1 -1
  405. package/table/use-column-widths.js +42 -11
  406. package/table/use-column-widths.js.map +1 -1
  407. package/tabs/styles.css.js +31 -30
  408. package/tabs/styles.scoped.css +93 -77
  409. package/tabs/styles.selectors.js +31 -30
  410. package/tabs/tab-header-bar.d.ts.map +1 -1
  411. package/tabs/tab-header-bar.js +54 -5
  412. package/tabs/tab-header-bar.js.map +1 -1
  413. package/tag-editor/styles.css.js +3 -3
  414. package/tag-editor/styles.scoped.css +13 -13
  415. package/tag-editor/styles.selectors.js +3 -3
  416. package/test-utils/dom/button-dropdown/index.d.ts +16 -0
  417. package/test-utils/dom/button-dropdown/index.js +28 -6
  418. package/test-utils/dom/button-dropdown/index.js.map +1 -1
  419. package/test-utils/selectors/button-dropdown/index.d.ts +16 -0
  420. package/test-utils/selectors/button-dropdown/index.js +32 -6
  421. package/test-utils/selectors/button-dropdown/index.js.map +1 -1
  422. package/text-content/styles.css.js +1 -1
  423. package/text-content/styles.scoped.css +66 -66
  424. package/text-content/styles.selectors.js +1 -1
  425. package/text-filter/internal.d.ts +8 -1
  426. package/text-filter/internal.d.ts.map +1 -1
  427. package/text-filter/internal.js +3 -3
  428. package/text-filter/internal.js.map +1 -1
  429. package/text-filter/search-results.d.ts +1 -0
  430. package/text-filter/search-results.d.ts.map +1 -1
  431. package/text-filter/search-results.js +3 -2
  432. package/text-filter/search-results.js.map +1 -1
  433. package/text-filter/styles.css.js +3 -3
  434. package/text-filter/styles.scoped.css +6 -3
  435. package/text-filter/styles.selectors.js +3 -3
  436. package/textarea/styles.css.js +9 -9
  437. package/textarea/styles.scoped.css +51 -51
  438. package/textarea/styles.selectors.js +9 -9
  439. package/time-input/internal.d.ts +7 -1
  440. package/time-input/internal.d.ts.map +1 -1
  441. package/time-input/internal.js +2 -1
  442. package/time-input/internal.js.map +1 -1
  443. package/time-input/styles.css.js +1 -1
  444. package/time-input/styles.scoped.css +2 -1
  445. package/time-input/styles.selectors.js +1 -1
  446. package/toggle/styles.css.js +10 -10
  447. package/toggle/styles.scoped.css +25 -25
  448. package/toggle/styles.selectors.js +10 -10
  449. package/toggle-button/index.d.ts.map +1 -1
  450. package/toggle-button/index.js +1 -1
  451. package/toggle-button/index.js.map +1 -1
  452. package/toggle-button/internal.d.ts +2 -0
  453. package/toggle-button/internal.d.ts.map +1 -1
  454. package/toggle-button/internal.js +2 -2
  455. package/toggle-button/internal.js.map +1 -1
  456. package/toggle-button/styles.css.js +4 -4
  457. package/toggle-button/styles.scoped.css +5 -4
  458. package/toggle-button/styles.selectors.js +4 -4
  459. package/token/dismiss-button.d.ts +13 -3
  460. package/token/dismiss-button.d.ts.map +1 -1
  461. package/token/dismiss-button.js +6 -22
  462. package/token/dismiss-button.js.map +1 -1
  463. package/token/index.d.ts.map +1 -1
  464. package/token/index.js +1 -1
  465. package/token/index.js.map +1 -1
  466. package/token/internal.d.ts +6 -0
  467. package/token/internal.d.ts.map +1 -1
  468. package/token/internal.js +3 -3
  469. package/token/internal.js.map +1 -1
  470. package/token/styles.css.js +14 -14
  471. package/token/styles.d.ts +26 -1
  472. package/token/styles.d.ts.map +1 -1
  473. package/token/styles.js +22 -12
  474. package/token/styles.js.map +1 -1
  475. package/token/styles.scoped.css +67 -61
  476. package/token/styles.selectors.js +14 -14
  477. package/tooltip/internal.d.ts +6 -0
  478. package/tooltip/internal.d.ts.map +1 -1
  479. package/tooltip/internal.js +2 -2
  480. package/tooltip/internal.js.map +1 -1
  481. package/tooltip/styles.css.js +2 -2
  482. package/tooltip/styles.scoped.css +7 -5
  483. package/tooltip/styles.selectors.js +2 -2
  484. package/tutorial-panel/components/tutorial-detail-view/congratulation-screen.d.ts +1 -1
  485. package/tutorial-panel/components/tutorial-detail-view/congratulation-screen.d.ts.map +1 -1
  486. package/tutorial-panel/components/tutorial-detail-view/congratulation-screen.js.map +1 -1
  487. package/tutorial-panel/components/tutorial-detail-view/index.d.ts +1 -1
  488. package/tutorial-panel/components/tutorial-detail-view/index.d.ts.map +1 -1
  489. package/tutorial-panel/components/tutorial-detail-view/index.js.map +1 -1
  490. package/tutorial-panel/components/tutorial-detail-view/task-list.d.ts +1 -1
  491. package/tutorial-panel/components/tutorial-detail-view/task-list.d.ts.map +1 -1
  492. package/tutorial-panel/components/tutorial-detail-view/task-list.js.map +1 -1
  493. package/tutorial-panel/components/tutorial-detail-view/task.d.ts +1 -1
  494. package/tutorial-panel/components/tutorial-detail-view/task.d.ts.map +1 -1
  495. package/tutorial-panel/components/tutorial-detail-view/task.js +9 -5
  496. package/tutorial-panel/components/tutorial-detail-view/task.js.map +1 -1
  497. package/tutorial-panel/components/tutorial-list/index.d.ts +1 -1
  498. package/tutorial-panel/components/tutorial-list/index.d.ts.map +1 -1
  499. package/tutorial-panel/components/tutorial-list/index.js.map +1 -1
  500. package/tutorial-panel/index.d.ts.map +1 -1
  501. package/tutorial-panel/index.js +27 -1
  502. package/tutorial-panel/index.js.map +1 -1
  503. package/tutorial-panel/interfaces.d.ts +19 -18
  504. package/tutorial-panel/interfaces.d.ts.map +1 -1
  505. package/tutorial-panel/interfaces.js.map +1 -1
  506. package/select/utils/use-load-items.d.ts +0 -18
  507. package/select/utils/use-load-items.d.ts.map +0 -1
  508. package/select/utils/use-load-items.js.map +0 -1
@@ -2,38 +2,38 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "dropdown-footer": "awsui_dropdown-footer_vm8qf_1ytpm_9",
6
- "dropdown-content": "awsui_dropdown-content_vm8qf_1ytpm_14",
7
- "token-field-container": "awsui_token-field-container_vm8qf_1ytpm_18",
8
- "token-field": "awsui_token-field_vm8qf_1ytpm_18",
9
- "token-field-disabled": "awsui_token-field-disabled_vm8qf_1ytpm_54",
10
- "token-field-readonly": "awsui_token-field-readonly_vm8qf_1ytpm_62",
11
- "token-field-invalid": "awsui_token-field-invalid_vm8qf_1ytpm_68",
12
- "token-field-warning": "awsui_token-field-warning_vm8qf_1ytpm_80",
13
- "grouped": "awsui_grouped_vm8qf_1ytpm_92",
14
- "grouped-horizontal-first": "awsui_grouped-horizontal-first_vm8qf_1ytpm_99",
15
- "grouped-horizontal-middle": "awsui_grouped-horizontal-middle_vm8qf_1ytpm_103",
16
- "grouped-horizontal-last": "awsui_grouped-horizontal-last_vm8qf_1ytpm_109",
17
- "grouped-vertical-first": "awsui_grouped-vertical-first_vm8qf_1ytpm_113",
18
- "grouped-vertical-middle": "awsui_grouped-vertical-middle_vm8qf_1ytpm_117",
19
- "grouped-vertical-last": "awsui_grouped-vertical-last_vm8qf_1ytpm_123",
20
- "grouped-with-action": "awsui_grouped-with-action_vm8qf_1ytpm_127",
21
- "grouped-with-error": "awsui_grouped-with-error_vm8qf_1ytpm_131",
22
- "grouped-horizontal-only": "awsui_grouped-horizontal-only_vm8qf_1ytpm_159",
23
- "grouped-vertical-only": "awsui_grouped-vertical-only_vm8qf_1ytpm_159",
24
- "grouped-with-warning": "awsui_grouped-with-warning_vm8qf_1ytpm_165",
25
- "grouped-vertical": "awsui_grouped-vertical_vm8qf_1ytpm_113",
26
- "grouped-horizontal": "awsui_grouped-horizontal_vm8qf_1ytpm_99",
27
- "token-field-icon": "awsui_token-field-icon_vm8qf_1ytpm_226",
28
- "token-list": "awsui_token-list_vm8qf_1ytpm_232",
29
- "inline-tokens": "awsui_inline-tokens_vm8qf_1ytpm_246",
30
- "token-list-item": "awsui_token-list-item_vm8qf_1ytpm_250",
31
- "token-input-wrapper": "awsui_token-input-wrapper_vm8qf_1ytpm_254",
32
- "token-overflow": "awsui_token-overflow_vm8qf_1ytpm_261",
33
- "token-overflow-trigger": "awsui_token-overflow-trigger_vm8qf_1ytpm_265",
34
- "overflow-dropdown": "awsui_overflow-dropdown_vm8qf_1ytpm_269",
35
- "overflow-dropdown-item": "awsui_overflow-dropdown-item_vm8qf_1ytpm_278",
36
- "measurement-container": "awsui_measurement-container_vm8qf_1ytpm_284",
37
- "measurement-token": "awsui_measurement-token_vm8qf_1ytpm_297"
5
+ "dropdown-footer": "awsui_dropdown-footer_vm8qf_1d2d6_9",
6
+ "dropdown-content": "awsui_dropdown-content_vm8qf_1d2d6_14",
7
+ "token-field-container": "awsui_token-field-container_vm8qf_1d2d6_18",
8
+ "token-field": "awsui_token-field_vm8qf_1d2d6_18",
9
+ "token-field-disabled": "awsui_token-field-disabled_vm8qf_1d2d6_54",
10
+ "token-field-readonly": "awsui_token-field-readonly_vm8qf_1d2d6_62",
11
+ "token-field-invalid": "awsui_token-field-invalid_vm8qf_1d2d6_68",
12
+ "token-field-warning": "awsui_token-field-warning_vm8qf_1d2d6_80",
13
+ "grouped": "awsui_grouped_vm8qf_1d2d6_92",
14
+ "grouped-horizontal-first": "awsui_grouped-horizontal-first_vm8qf_1d2d6_99",
15
+ "grouped-horizontal-middle": "awsui_grouped-horizontal-middle_vm8qf_1d2d6_103",
16
+ "grouped-horizontal-last": "awsui_grouped-horizontal-last_vm8qf_1d2d6_109",
17
+ "grouped-vertical-first": "awsui_grouped-vertical-first_vm8qf_1d2d6_113",
18
+ "grouped-vertical-middle": "awsui_grouped-vertical-middle_vm8qf_1d2d6_117",
19
+ "grouped-vertical-last": "awsui_grouped-vertical-last_vm8qf_1d2d6_123",
20
+ "grouped-with-action": "awsui_grouped-with-action_vm8qf_1d2d6_127",
21
+ "grouped-with-error": "awsui_grouped-with-error_vm8qf_1d2d6_131",
22
+ "grouped-horizontal-only": "awsui_grouped-horizontal-only_vm8qf_1d2d6_159",
23
+ "grouped-vertical-only": "awsui_grouped-vertical-only_vm8qf_1d2d6_159",
24
+ "grouped-with-warning": "awsui_grouped-with-warning_vm8qf_1d2d6_165",
25
+ "grouped-vertical": "awsui_grouped-vertical_vm8qf_1d2d6_113",
26
+ "grouped-horizontal": "awsui_grouped-horizontal_vm8qf_1d2d6_99",
27
+ "token-field-icon": "awsui_token-field-icon_vm8qf_1d2d6_226",
28
+ "token-list": "awsui_token-list_vm8qf_1d2d6_232",
29
+ "inline-tokens": "awsui_inline-tokens_vm8qf_1d2d6_246",
30
+ "token-list-item": "awsui_token-list-item_vm8qf_1d2d6_250",
31
+ "token-input-wrapper": "awsui_token-input-wrapper_vm8qf_1d2d6_254",
32
+ "token-overflow": "awsui_token-overflow_vm8qf_1d2d6_261",
33
+ "token-overflow-trigger": "awsui_token-overflow-trigger_vm8qf_1d2d6_265",
34
+ "overflow-dropdown": "awsui_overflow-dropdown_vm8qf_1d2d6_269",
35
+ "overflow-dropdown-item": "awsui_overflow-dropdown-item_vm8qf_1d2d6_278",
36
+ "measurement-container": "awsui_measurement-container_vm8qf_1d2d6_284",
37
+ "measurement-token": "awsui_measurement-token_vm8qf_1d2d6_297"
38
38
  };
39
39
 
@@ -1,35 +1,35 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "direction-button-wrapper": "awsui_direction-button-wrapper_155yk_1t4u0_29",
5
- "direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_1t4u0_49",
6
- "direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_1t4u0_49",
7
- "direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_1t4u0_49",
8
- "direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_1t4u0_49",
9
- "drag-handle-entry": "awsui_drag-handle-entry_155yk_1t4u0_1",
10
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_1t4u0_1",
11
- "drag-handle-exit": "awsui_drag-handle-exit_155yk_1t4u0_1",
12
- "awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_1t4u0_1",
13
- "direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_1t4u0_89",
14
- "direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_1t4u0_93",
15
- "direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_1t4u0_97",
16
- "direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_1t4u0_108",
17
- "contents": "awsui_contents_155yk_1t4u0_119",
18
- "portal-overlay": "awsui_portal-overlay_155yk_1t4u0_123",
19
- "portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_1t4u0_131",
20
- "portal-overlay-contents": "awsui_portal-overlay-contents_155yk_1t4u0_135",
21
- "drag-handle": "awsui_drag-handle_155yk_1t4u0_139",
22
- "direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_1t4u0_152",
23
- "direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_1t4u0_176",
24
- "direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_1t4u0_180",
25
- "direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_1t4u0_184",
26
- "direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_1t4u0_188",
27
- "direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_1t4u0_192",
28
- "direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_1t4u0_196",
29
- "direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_1t4u0_200",
30
- "direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_1t4u0_204",
31
- "direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_1t4u0_208",
32
- "direction-button": "awsui_direction-button_155yk_1t4u0_29",
33
- "direction-button-disabled": "awsui_direction-button-disabled_155yk_1t4u0_231"
4
+ "direction-button-wrapper": "awsui_direction-button-wrapper_155yk_3aiot_29",
5
+ "direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_3aiot_49",
6
+ "direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_3aiot_49",
7
+ "direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_3aiot_49",
8
+ "direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_3aiot_49",
9
+ "drag-handle-entry": "awsui_drag-handle-entry_155yk_3aiot_1",
10
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_3aiot_1",
11
+ "drag-handle-exit": "awsui_drag-handle-exit_155yk_3aiot_1",
12
+ "awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_3aiot_1",
13
+ "direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_3aiot_89",
14
+ "direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_3aiot_93",
15
+ "direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_3aiot_97",
16
+ "direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_3aiot_108",
17
+ "contents": "awsui_contents_155yk_3aiot_119",
18
+ "portal-overlay": "awsui_portal-overlay_155yk_3aiot_123",
19
+ "portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_3aiot_131",
20
+ "portal-overlay-contents": "awsui_portal-overlay-contents_155yk_3aiot_135",
21
+ "drag-handle": "awsui_drag-handle_155yk_3aiot_139",
22
+ "direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_3aiot_152",
23
+ "direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_3aiot_176",
24
+ "direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_3aiot_180",
25
+ "direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_3aiot_184",
26
+ "direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_3aiot_188",
27
+ "direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_3aiot_192",
28
+ "direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_3aiot_196",
29
+ "direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_3aiot_200",
30
+ "direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_3aiot_204",
31
+ "direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_3aiot_208",
32
+ "direction-button": "awsui_direction-button_155yk_3aiot_29",
33
+ "direction-button-disabled": "awsui_direction-button-disabled_155yk_3aiot_231"
34
34
  };
35
35
 
@@ -10,27 +10,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
10
10
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
11
11
  SPDX-License-Identifier: Apache-2.0
12
12
  */
13
- @keyframes awsui_drag-handle-entry_155yk_1t4u0_1 {
13
+ @keyframes awsui_drag-handle-entry_155yk_3aiot_1 {
14
14
  from {
15
- transform: translate(var(--awsui-drag-handle-animation-inline-offset-ka4djm), var(--awsui-drag-handle-animation-block-offset-ka4djm));
15
+ transform: translate(var(--awsui-drag-handle-animation-inline-offset-8i8exb), var(--awsui-drag-handle-animation-block-offset-8i8exb));
16
16
  }
17
17
  to {
18
18
  transform: translate(0, 0);
19
19
  }
20
20
  }
21
- @keyframes awsui_drag-handle-exit_155yk_1t4u0_1 {
21
+ @keyframes awsui_drag-handle-exit_155yk_3aiot_1 {
22
22
  from {
23
23
  transform: translate(0, 0);
24
24
  }
25
25
  to {
26
- transform: translate(var(--awsui-drag-handle-animation-inline-offset-ka4djm), var(--awsui-drag-handle-animation-block-offset-ka4djm));
26
+ transform: translate(var(--awsui-drag-handle-animation-inline-offset-8i8exb), var(--awsui-drag-handle-animation-block-offset-8i8exb));
27
27
  }
28
28
  }
29
- .awsui_direction-button-wrapper_155yk_1t4u0_29:not(#\9) {
30
- --awsui-drag-handle-animation-inline-offset-ka4djm: 0;
31
- --awsui-drag-handle-animation-block-offset-ka4djm: 0;
29
+ .awsui_direction-button-wrapper_155yk_3aiot_29:not(#\9) {
30
+ --awsui-drag-handle-animation-inline-offset-8i8exb: 0;
31
+ --awsui-drag-handle-animation-block-offset-8i8exb: 0;
32
32
  }
33
- @keyframes awsui_awsui-motion-fade-in_155yk_1t4u0_1 {
33
+ @keyframes awsui_awsui-motion-fade-in_155yk_3aiot_1 {
34
34
  from {
35
35
  opacity: 0.2;
36
36
  }
@@ -38,7 +38,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
38
38
  opacity: 1;
39
39
  }
40
40
  }
41
- @keyframes awsui_awsui-motion-fade-out-0_155yk_1t4u0_1 {
41
+ @keyframes awsui_awsui-motion-fade-out-0_155yk_3aiot_1 {
42
42
  from {
43
43
  opacity: 1;
44
44
  }
@@ -46,81 +46,81 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
46
46
  opacity: 0;
47
47
  }
48
48
  }
49
- .awsui_direction-button-wrapper-motion-enter_155yk_1t4u0_49:not(#\9), .awsui_direction-button-wrapper-motion-entering_155yk_1t4u0_49:not(#\9), .awsui_direction-button-wrapper-motion-exit_155yk_1t4u0_49:not(#\9), .awsui_direction-button-wrapper-motion-exiting_155yk_1t4u0_49:not(#\9) {
49
+ .awsui_direction-button-wrapper-motion-enter_155yk_3aiot_49:not(#\9), .awsui_direction-button-wrapper-motion-entering_155yk_3aiot_49:not(#\9), .awsui_direction-button-wrapper-motion-exit_155yk_3aiot_49:not(#\9), .awsui_direction-button-wrapper-motion-exiting_155yk_3aiot_49:not(#\9) {
50
50
  pointer-events: none;
51
51
  }
52
- .awsui_direction-button-wrapper-motion-entering_155yk_1t4u0_49:not(#\9) {
53
- animation: awsui_drag-handle-entry_155yk_1t4u0_1 var(--motion-duration-complex-h93x8u, 250ms) var(--motion-easing-responsive-vkzjfg, cubic-bezier(0, 0, 0, 1)), awsui_awsui-motion-fade-in_155yk_1t4u0_1 var(--motion-duration-complex-h93x8u, 250ms) var(--motion-easing-responsive-vkzjfg, cubic-bezier(0, 0, 0, 1));
52
+ .awsui_direction-button-wrapper-motion-entering_155yk_3aiot_49:not(#\9) {
53
+ animation: awsui_drag-handle-entry_155yk_3aiot_1 var(--motion-duration-complex-h93x8u, 250ms) var(--motion-easing-responsive-vkzjfg, cubic-bezier(0, 0, 0, 1)), awsui_awsui-motion-fade-in_155yk_3aiot_1 var(--motion-duration-complex-h93x8u, 250ms) var(--motion-easing-responsive-vkzjfg, cubic-bezier(0, 0, 0, 1));
54
54
  }
55
55
  @media (prefers-reduced-motion: reduce) {
56
- .awsui_direction-button-wrapper-motion-entering_155yk_1t4u0_49:not(#\9) {
56
+ .awsui_direction-button-wrapper-motion-entering_155yk_3aiot_49:not(#\9) {
57
57
  animation: none;
58
58
  transition: none;
59
59
  }
60
60
  }
61
- .awsui-motion-disabled .awsui_direction-button-wrapper-motion-entering_155yk_1t4u0_49:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-entering_155yk_1t4u0_49:not(#\9) {
61
+ .awsui-motion-disabled .awsui_direction-button-wrapper-motion-entering_155yk_3aiot_49:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-entering_155yk_3aiot_49:not(#\9) {
62
62
  animation: none;
63
63
  transition: none;
64
64
  }
65
- .awsui_direction-button-wrapper-motion-exiting_155yk_1t4u0_49:not(#\9) {
66
- animation: awsui_drag-handle-exit_155yk_1t4u0_1 var(--motion-duration-complex-h93x8u, 250ms) var(--motion-easing-responsive-vkzjfg, cubic-bezier(0, 0, 0, 1)) forwards, awsui_awsui-motion-fade-out-0_155yk_1t4u0_1 var(--motion-duration-complex-h93x8u, 250ms) var(--motion-easing-responsive-vkzjfg, cubic-bezier(0, 0, 0, 1)) forwards;
65
+ .awsui_direction-button-wrapper-motion-exiting_155yk_3aiot_49:not(#\9) {
66
+ animation: awsui_drag-handle-exit_155yk_3aiot_1 var(--motion-duration-complex-h93x8u, 250ms) var(--motion-easing-responsive-vkzjfg, cubic-bezier(0, 0, 0, 1)) forwards, awsui_awsui-motion-fade-out-0_155yk_3aiot_1 var(--motion-duration-complex-h93x8u, 250ms) var(--motion-easing-responsive-vkzjfg, cubic-bezier(0, 0, 0, 1)) forwards;
67
67
  }
68
68
  @media (prefers-reduced-motion: reduce) {
69
- .awsui_direction-button-wrapper-motion-exiting_155yk_1t4u0_49:not(#\9) {
69
+ .awsui_direction-button-wrapper-motion-exiting_155yk_3aiot_49:not(#\9) {
70
70
  animation: none;
71
71
  transition: none;
72
72
  }
73
73
  }
74
- .awsui-motion-disabled .awsui_direction-button-wrapper-motion-exiting_155yk_1t4u0_49:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-exiting_155yk_1t4u0_49:not(#\9) {
74
+ .awsui-motion-disabled .awsui_direction-button-wrapper-motion-exiting_155yk_3aiot_49:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-exiting_155yk_3aiot_49:not(#\9) {
75
75
  animation: none;
76
76
  transition: none;
77
77
  }
78
78
  @media (prefers-reduced-motion: reduce) {
79
- .awsui_direction-button-wrapper_155yk_1t4u0_29:not(#\9) {
79
+ .awsui_direction-button-wrapper_155yk_3aiot_29:not(#\9) {
80
80
  animation: none;
81
81
  transition: none;
82
82
  }
83
83
  }
84
- .awsui-motion-disabled .awsui_direction-button-wrapper_155yk_1t4u0_29:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper_155yk_1t4u0_29:not(#\9) {
84
+ .awsui-motion-disabled .awsui_direction-button-wrapper_155yk_3aiot_29:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper_155yk_3aiot_29:not(#\9) {
85
85
  animation: none;
86
86
  transition: none;
87
87
  }
88
88
 
89
- .awsui_direction-button-wrapper-block-start_155yk_1t4u0_89:not(#\9) {
90
- --awsui-drag-handle-animation-block-offset-ka4djm: 20px;
89
+ .awsui_direction-button-wrapper-block-start_155yk_3aiot_89:not(#\9) {
90
+ --awsui-drag-handle-animation-block-offset-8i8exb: 20px;
91
91
  }
92
92
 
93
- .awsui_direction-button-wrapper-block-end_155yk_1t4u0_93:not(#\9) {
94
- --awsui-drag-handle-animation-block-offset-ka4djm: -20px;
93
+ .awsui_direction-button-wrapper-block-end_155yk_3aiot_93:not(#\9) {
94
+ --awsui-drag-handle-animation-block-offset-8i8exb: -20px;
95
95
  }
96
96
 
97
- .awsui_direction-button-wrapper-inline-start_155yk_1t4u0_97:not(#\9) {
97
+ .awsui_direction-button-wrapper-inline-start_155yk_3aiot_97:not(#\9) {
98
98
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
99
99
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
100
100
  }
101
- .awsui_direction-button-wrapper-inline-start_155yk_1t4u0_97:not(#\9):dir(ltr) {
102
- --awsui-drag-handle-animation-inline-offset-ka4djm: 20px;
101
+ .awsui_direction-button-wrapper-inline-start_155yk_3aiot_97:not(#\9):dir(ltr) {
102
+ --awsui-drag-handle-animation-inline-offset-8i8exb: 20px;
103
103
  }
104
- .awsui_direction-button-wrapper-inline-start_155yk_1t4u0_97:not(#\9):dir(rtl) {
105
- --awsui-drag-handle-animation-inline-offset-ka4djm: -20px;
104
+ .awsui_direction-button-wrapper-inline-start_155yk_3aiot_97:not(#\9):dir(rtl) {
105
+ --awsui-drag-handle-animation-inline-offset-8i8exb: -20px;
106
106
  }
107
107
 
108
- .awsui_direction-button-wrapper-inline-end_155yk_1t4u0_108:not(#\9) {
108
+ .awsui_direction-button-wrapper-inline-end_155yk_3aiot_108:not(#\9) {
109
109
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
110
110
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
111
111
  }
112
- .awsui_direction-button-wrapper-inline-end_155yk_1t4u0_108:not(#\9):dir(ltr) {
113
- --awsui-drag-handle-animation-inline-offset-ka4djm: -20px;
112
+ .awsui_direction-button-wrapper-inline-end_155yk_3aiot_108:not(#\9):dir(ltr) {
113
+ --awsui-drag-handle-animation-inline-offset-8i8exb: -20px;
114
114
  }
115
- .awsui_direction-button-wrapper-inline-end_155yk_1t4u0_108:not(#\9):dir(rtl) {
116
- --awsui-drag-handle-animation-inline-offset-ka4djm: 20px;
115
+ .awsui_direction-button-wrapper-inline-end_155yk_3aiot_108:not(#\9):dir(rtl) {
116
+ --awsui-drag-handle-animation-inline-offset-8i8exb: 20px;
117
117
  }
118
118
 
119
- .awsui_contents_155yk_1t4u0_119:not(#\9) {
119
+ .awsui_contents_155yk_3aiot_119:not(#\9) {
120
120
  display: contents;
121
121
  }
122
122
 
123
- .awsui_portal-overlay_155yk_1t4u0_123:not(#\9) {
123
+ .awsui_portal-overlay_155yk_3aiot_123:not(#\9) {
124
124
  position: absolute;
125
125
  inset-block-start: 0;
126
126
  inset-inline-start: 0;
@@ -128,20 +128,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
128
128
  z-index: 7000;
129
129
  }
130
130
 
131
- .awsui_portal-overlay-disabled_155yk_1t4u0_131:not(#\9) {
131
+ .awsui_portal-overlay-disabled_155yk_3aiot_131:not(#\9) {
132
132
  display: none;
133
133
  }
134
134
 
135
- .awsui_portal-overlay-contents_155yk_1t4u0_135:not(#\9) {
135
+ .awsui_portal-overlay-contents_155yk_3aiot_135:not(#\9) {
136
136
  pointer-events: auto;
137
137
  }
138
138
 
139
- .awsui_drag-handle_155yk_1t4u0_139:not(#\9) {
139
+ .awsui_drag-handle_155yk_3aiot_139:not(#\9) {
140
140
  position: relative;
141
141
  display: inline-flex;
142
142
  }
143
143
 
144
- .awsui_direction-button-wrapper_155yk_1t4u0_29:not(#\9) {
144
+ .awsui_direction-button-wrapper_155yk_3aiot_29:not(#\9) {
145
145
  position: absolute;
146
146
  block-size: var(--space-static-xl-f42nfd, 24px);
147
147
  inline-size: var(--space-static-xl-f42nfd, 24px);
@@ -149,67 +149,67 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
149
149
  padding-inline: var(--space-static-xxs-0tl528, 4px);
150
150
  }
151
151
 
152
- .awsui_direction-button-wrapper-hidden_155yk_1t4u0_152:not(#\9) {
152
+ .awsui_direction-button-wrapper-hidden_155yk_3aiot_152:not(#\9) {
153
153
  display: none;
154
154
  }
155
155
 
156
- .awsui_direction-button-wrapper-block-start_155yk_1t4u0_89:not(#\9) {
156
+ .awsui_direction-button-wrapper-block-start_155yk_3aiot_89:not(#\9) {
157
157
  inset-block-start: calc(-1 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
158
158
  inset-inline-start: calc(50% - (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)) / 2);
159
159
  }
160
160
 
161
- .awsui_direction-button-wrapper-block-end_155yk_1t4u0_93:not(#\9) {
161
+ .awsui_direction-button-wrapper-block-end_155yk_3aiot_93:not(#\9) {
162
162
  inset-block-end: calc(-1 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
163
163
  inset-inline-start: calc(50% - (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)) / 2);
164
164
  }
165
165
 
166
- .awsui_direction-button-wrapper-inline-start_155yk_1t4u0_97:not(#\9) {
166
+ .awsui_direction-button-wrapper-inline-start_155yk_3aiot_97:not(#\9) {
167
167
  inset-inline-start: calc(-1 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
168
168
  inset-block-start: calc(50% - (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)) / 2);
169
169
  }
170
170
 
171
- .awsui_direction-button-wrapper-inline-end_155yk_1t4u0_108:not(#\9) {
171
+ .awsui_direction-button-wrapper-inline-end_155yk_3aiot_108:not(#\9) {
172
172
  inset-inline-end: calc(-1 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
173
173
  inset-block-start: calc(50% - (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)) / 2);
174
174
  }
175
175
 
176
- .awsui_direction-button-wrapper-forced_155yk_1t4u0_176:not(#\9) {
176
+ .awsui_direction-button-wrapper-forced_155yk_3aiot_176:not(#\9) {
177
177
  inset-inline-start: calc(50% - (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)) / 2);
178
178
  }
179
179
 
180
- .awsui_direction-button-wrapper-forced-top-0_155yk_1t4u0_180:not(#\9) {
180
+ .awsui_direction-button-wrapper-forced-top-0_155yk_3aiot_180:not(#\9) {
181
181
  inset-block-start: calc(-1 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
182
182
  }
183
183
 
184
- .awsui_direction-button-wrapper-forced-top-1_155yk_1t4u0_184:not(#\9) {
184
+ .awsui_direction-button-wrapper-forced-top-1_155yk_3aiot_184:not(#\9) {
185
185
  inset-block-start: calc(-2 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
186
186
  }
187
187
 
188
- .awsui_direction-button-wrapper-forced-top-2_155yk_1t4u0_188:not(#\9) {
188
+ .awsui_direction-button-wrapper-forced-top-2_155yk_3aiot_188:not(#\9) {
189
189
  inset-block-start: calc(-3 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
190
190
  }
191
191
 
192
- .awsui_direction-button-wrapper-forced-top-3_155yk_1t4u0_192:not(#\9) {
192
+ .awsui_direction-button-wrapper-forced-top-3_155yk_3aiot_192:not(#\9) {
193
193
  inset-block-start: calc(-4 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
194
194
  }
195
195
 
196
- .awsui_direction-button-wrapper-forced-bottom-0_155yk_1t4u0_196:not(#\9) {
196
+ .awsui_direction-button-wrapper-forced-bottom-0_155yk_3aiot_196:not(#\9) {
197
197
  inset-block-start: calc(1 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
198
198
  }
199
199
 
200
- .awsui_direction-button-wrapper-forced-bottom-1_155yk_1t4u0_200:not(#\9) {
200
+ .awsui_direction-button-wrapper-forced-bottom-1_155yk_3aiot_200:not(#\9) {
201
201
  inset-block-start: calc(2 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
202
202
  }
203
203
 
204
- .awsui_direction-button-wrapper-forced-bottom-2_155yk_1t4u0_204:not(#\9) {
204
+ .awsui_direction-button-wrapper-forced-bottom-2_155yk_3aiot_204:not(#\9) {
205
205
  inset-block-start: calc(3 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
206
206
  }
207
207
 
208
- .awsui_direction-button-wrapper-forced-bottom-3_155yk_1t4u0_208:not(#\9) {
208
+ .awsui_direction-button-wrapper-forced-bottom-3_155yk_3aiot_208:not(#\9) {
209
209
  inset-block-start: calc(4 * (var(--space-static-xl-f42nfd, 24px) + 2 * var(--space-static-xxs-0tl528, 4px)));
210
210
  }
211
211
 
212
- .awsui_direction-button_155yk_1t4u0_29:not(#\9) {
212
+ .awsui_direction-button_155yk_3aiot_29:not(#\9) {
213
213
  position: absolute;
214
214
  border-width: 0;
215
215
  cursor: pointer;
@@ -228,14 +228,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
228
228
  color: var(--color-text-direction-button-default-ywr3ay, #ffffff);
229
229
  box-shadow: var(--shadow-dropdown-py0mls, 0px 4px 20px 1px rgba(0, 7, 22, 0.1));
230
230
  }
231
- .awsui_direction-button_155yk_1t4u0_29:not(#\9):not(.awsui_direction-button-disabled_155yk_1t4u0_231):hover {
231
+ .awsui_direction-button_155yk_3aiot_29:not(#\9):not(.awsui_direction-button-disabled_155yk_3aiot_231):hover {
232
232
  background-color: var(--color-background-direction-button-hover-rxnl0l, #333843);
233
233
  }
234
- .awsui_direction-button_155yk_1t4u0_29:not(#\9):not(.awsui_direction-button-disabled_155yk_1t4u0_231):active {
234
+ .awsui_direction-button_155yk_3aiot_29:not(#\9):not(.awsui_direction-button-disabled_155yk_3aiot_231):active {
235
235
  background-color: var(--color-background-direction-button-active-ziirpu, #232b37);
236
236
  }
237
237
 
238
- .awsui_direction-button-disabled_155yk_1t4u0_231:not(#\9) {
238
+ .awsui_direction-button-disabled_155yk_3aiot_231:not(#\9) {
239
239
  cursor: default;
240
240
  background-color: var(--color-background-direction-button-disabled-mt2zqn, #ebebf0);
241
241
  color: var(--color-text-direction-button-disabled-ykyihd, #b4b4bb);
@@ -2,35 +2,35 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "direction-button-wrapper": "awsui_direction-button-wrapper_155yk_1t4u0_29",
6
- "direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_1t4u0_49",
7
- "direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_1t4u0_49",
8
- "direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_1t4u0_49",
9
- "direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_1t4u0_49",
10
- "drag-handle-entry": "awsui_drag-handle-entry_155yk_1t4u0_1",
11
- "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_1t4u0_1",
12
- "drag-handle-exit": "awsui_drag-handle-exit_155yk_1t4u0_1",
13
- "awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_1t4u0_1",
14
- "direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_1t4u0_89",
15
- "direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_1t4u0_93",
16
- "direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_1t4u0_97",
17
- "direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_1t4u0_108",
18
- "contents": "awsui_contents_155yk_1t4u0_119",
19
- "portal-overlay": "awsui_portal-overlay_155yk_1t4u0_123",
20
- "portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_1t4u0_131",
21
- "portal-overlay-contents": "awsui_portal-overlay-contents_155yk_1t4u0_135",
22
- "drag-handle": "awsui_drag-handle_155yk_1t4u0_139",
23
- "direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_1t4u0_152",
24
- "direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_1t4u0_176",
25
- "direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_1t4u0_180",
26
- "direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_1t4u0_184",
27
- "direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_1t4u0_188",
28
- "direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_1t4u0_192",
29
- "direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_1t4u0_196",
30
- "direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_1t4u0_200",
31
- "direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_1t4u0_204",
32
- "direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_1t4u0_208",
33
- "direction-button": "awsui_direction-button_155yk_1t4u0_29",
34
- "direction-button-disabled": "awsui_direction-button-disabled_155yk_1t4u0_231"
5
+ "direction-button-wrapper": "awsui_direction-button-wrapper_155yk_3aiot_29",
6
+ "direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_3aiot_49",
7
+ "direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_3aiot_49",
8
+ "direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_3aiot_49",
9
+ "direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_3aiot_49",
10
+ "drag-handle-entry": "awsui_drag-handle-entry_155yk_3aiot_1",
11
+ "awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_3aiot_1",
12
+ "drag-handle-exit": "awsui_drag-handle-exit_155yk_3aiot_1",
13
+ "awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_3aiot_1",
14
+ "direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_3aiot_89",
15
+ "direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_3aiot_93",
16
+ "direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_3aiot_97",
17
+ "direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_3aiot_108",
18
+ "contents": "awsui_contents_155yk_3aiot_119",
19
+ "portal-overlay": "awsui_portal-overlay_155yk_3aiot_123",
20
+ "portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_3aiot_131",
21
+ "portal-overlay-contents": "awsui_portal-overlay-contents_155yk_3aiot_135",
22
+ "drag-handle": "awsui_drag-handle_155yk_3aiot_139",
23
+ "direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_3aiot_152",
24
+ "direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_3aiot_176",
25
+ "direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_3aiot_180",
26
+ "direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_3aiot_184",
27
+ "direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_3aiot_188",
28
+ "direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_3aiot_192",
29
+ "direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_3aiot_196",
30
+ "direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_3aiot_200",
31
+ "direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_3aiot_204",
32
+ "direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_3aiot_208",
33
+ "direction-button": "awsui_direction-button_155yk_3aiot_29",
34
+ "direction-button-disabled": "awsui_direction-button-disabled_155yk_3aiot_231"
35
35
  };
36
36
 
@@ -18,6 +18,11 @@ export interface DropdownStatusPropsExtended extends DropdownStatusProps {
18
18
  * in case recoveryText was automatically provided by i18n.
19
19
  */
20
20
  hasRecoveryCallback?: boolean;
21
+ /**
22
+ * Optional `id` for the recovery button, so that it can be referenced
23
+ * through `aria-activedescendant` while focus stays in a filter input.
24
+ */
25
+ recoveryButtonId?: string;
21
26
  }
22
27
  declare function DropdownStatus({
23
28
  children
@@ -36,7 +41,8 @@ type UseDropdownStatus = ({
36
41
  isNoMatch,
37
42
  noMatch,
38
43
  hasRecoveryCallback,
39
- onRecoveryClick
44
+ onRecoveryClick,
45
+ recoveryButtonId
40
46
  }: DropdownStatusPropsExtended) => DropdownStatusResult;
41
47
  export interface DropdownStatusResult {
42
48
  isSticky: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/dropdown-status/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAMlE,MAAM,WAAW,2BAA4B,SAAQ,mBAAmB;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAC5C;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,eAElE;AAED,KAAK,iBAAiB,GAAG,CAAC,EACxB,UAAU,EACV,KAAK,EACL,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,OAAO,EACP,SAAS,EACT,OAAO,EACP,mBAAmB,EACnB,eAAe,GAChB,EAAE,2BAA2B,KAAK,oBAAoB,CAAC;AAExD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IAChC,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,iBAAiB,EAAE,iBAuD/B,CAAC;AAEF,eAAe,cAAc,CAAC;AAG9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/dropdown-status/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAMlE,MAAM,WAAW,2BAA4B,SAAQ,mBAAmB;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAC5C;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,eAElE;AAED,KAAK,iBAAiB,GAAG,CAAC,EACxB,UAAU,EACV,KAAK,EACL,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,OAAO,EACP,SAAS,EACT,OAAO,EACP,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,EAAE,2BAA2B,KAAK,oBAAoB,CAAC;AAExD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IAChC,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,iBAAiB,EAAE,iBAyD/B,CAAC;AAEF,eAAe,cAAc,CAAC;AAG9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC"}
@@ -9,7 +9,7 @@ import styles from './styles.css.js';
9
9
  function DropdownStatus({ children }) {
10
10
  return React.createElement("div", { className: styles.root }, children);
11
11
  }
12
- export const useDropdownStatus = ({ statusType, empty, loadingText, finishedText, filteringResultsText, errorText, recoveryText, isEmpty, isNoMatch, noMatch, onRecoveryClick, hasRecoveryCallback = false, errorIconAriaLabel, }) => {
12
+ export const useDropdownStatus = ({ statusType, empty, loadingText, finishedText, filteringResultsText, errorText, recoveryText, isEmpty, isNoMatch, noMatch, onRecoveryClick, hasRecoveryCallback = false, errorIconAriaLabel, recoveryButtonId, }) => {
13
13
  const previousStatusType = usePrevious(statusType);
14
14
  const statusResult = { isSticky: true, content: null, hasRecoveryButton: false };
15
15
  if (statusType === 'loading') {
@@ -20,7 +20,7 @@ export const useDropdownStatus = ({ statusType, empty, loadingText, finishedText
20
20
  statusResult.content = (React.createElement("span", null,
21
21
  React.createElement(InternalStatusIndicator, { type: "error", __display: "inline", __animate: previousStatusType !== 'error', iconAriaLabel: errorIconAriaLabel }, errorText),
22
22
  ' ',
23
- statusResult.hasRecoveryButton && (React.createElement(InternalLink, { onFollow: () => fireNonCancelableEvent(onRecoveryClick), variant: "recovery", className: styles.recovery }, recoveryText))));
23
+ statusResult.hasRecoveryButton && (React.createElement(InternalLink, { id: recoveryButtonId, onFollow: () => fireNonCancelableEvent(onRecoveryClick), variant: "recovery", className: styles.recovery }, recoveryText))));
24
24
  }
25
25
  else if (isEmpty && empty) {
26
26
  statusResult.content = empty;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/dropdown-status/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,uBAAuB,MAAM,oCAAoC,CAAC;AAGzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAqBrC,SAAS,cAAc,CAAC,EAAE,QAAQ,EAAiC;IACjE,OAAO,6BAAK,SAAS,EAAE,MAAM,CAAC,IAAI,IAAG,QAAQ,CAAO,CAAC;AACvD,CAAC;AAuBD,MAAM,CAAC,MAAM,iBAAiB,GAAsB,CAAC,EACnD,UAAU,EACV,KAAK,EACL,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,OAAO,EACP,SAAS,EACT,OAAO,EACP,eAAe,EACf,mBAAmB,GAAG,KAAK,EAC3B,kBAAkB,GACnB,EAAwB,EAAE;IACzB,MAAM,kBAAkB,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC;IACnD,MAAM,YAAY,GAAyB,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC;IAEvG,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,YAAY,CAAC,OAAO,GAAG,oBAAC,uBAAuB,IAAC,IAAI,EAAE,SAAS,IAAG,WAAW,CAA2B,CAAC;IAC3G,CAAC;SAAM,IAAI,UAAU,KAAK,OAAO,EAAE,CAAC;QAClC,YAAY,CAAC,iBAAiB,GAAG,CAAC,CAAC,YAAY,IAAI,mBAAmB,CAAC;QACvE,YAAY,CAAC,OAAO,GAAG,CACrB;YACE,oBAAC,uBAAuB,IACtB,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,QAAQ,EAClB,SAAS,EAAE,kBAAkB,KAAK,OAAO,EACzC,aAAa,EAAE,kBAAkB,IAEhC,SAAS,CACc;YAAC,GAAG;YAC7B,YAAY,CAAC,iBAAiB,IAAI,CACjC,oBAAC,YAAY,IACX,QAAQ,EAAE,GAAG,EAAE,CAAC,sBAAsB,CAAC,eAAe,CAAC,EACvD,OAAO,EAAC,UAAU,EAClB,SAAS,EAAE,MAAM,CAAC,QAAQ,IAEzB,YAAY,CACA,CAChB,CACI,CACR,CAAC;IACJ,CAAC;SAAM,IAAI,OAAO,IAAI,KAAK,EAAE,CAAC;QAC5B,YAAY,CAAC,OAAO,GAAG,KAAK,CAAC;IAC/B,CAAC;SAAM,IAAI,SAAS,IAAI,OAAO,EAAE,CAAC;QAChC,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;IACjC,CAAC;SAAM,IAAI,oBAAoB,EAAE,CAAC;QAChC,YAAY,CAAC,OAAO,GAAG,oBAAoB,CAAC;IAC9C,CAAC;SAAM,IAAI,UAAU,KAAK,UAAU,IAAI,YAAY,EAAE,CAAC;QACrD,YAAY,CAAC,OAAO,GAAG,YAAY,CAAC;QACpC,YAAY,CAAC,QAAQ,GAAG,KAAK,CAAC;IAChC,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport InternalLink from '../../../link/internal';\nimport InternalStatusIndicator from '../../../status-indicator/internal';\nimport { DropdownStatusProps } from '../../../types/dropdown-status';\nimport { NonCancelableEventHandler } from '../../../types/events';\nimport { fireNonCancelableEvent } from '../../events';\nimport { usePrevious } from '../../hooks/use-previous';\n\nimport styles from './styles.css.js';\n\nexport interface DropdownStatusPropsExtended extends DropdownStatusProps {\n isEmpty?: boolean;\n isNoMatch?: boolean;\n noMatch?: React.ReactNode;\n filteringResultsText?: string;\n /**\n * Called when the user clicks the recovery button placed at the\n * bottom of the dropdown list in the error state. Use this to\n * retry a failed request or provide another option for the user\n * to recover from the error.\n */\n onRecoveryClick?: NonCancelableEventHandler;\n /**\n * Determines if retry button should be rendered\n * in case recoveryText was automatically provided by i18n.\n */\n hasRecoveryCallback?: boolean;\n}\n\nfunction DropdownStatus({ children }: { children: React.ReactNode }) {\n return <div className={styles.root}>{children}</div>;\n}\n\ntype UseDropdownStatus = ({\n statusType,\n empty,\n loadingText,\n finishedText,\n filteringResultsText,\n errorText,\n recoveryText,\n isEmpty,\n isNoMatch,\n noMatch,\n hasRecoveryCallback,\n onRecoveryClick,\n}: DropdownStatusPropsExtended) => DropdownStatusResult;\n\nexport interface DropdownStatusResult {\n isSticky: boolean;\n content: React.ReactNode | null;\n hasRecoveryButton: boolean;\n}\n\nexport const useDropdownStatus: UseDropdownStatus = ({\n statusType,\n empty,\n loadingText,\n finishedText,\n filteringResultsText,\n errorText,\n recoveryText,\n isEmpty,\n isNoMatch,\n noMatch,\n onRecoveryClick,\n hasRecoveryCallback = false,\n errorIconAriaLabel,\n}): DropdownStatusResult => {\n const previousStatusType = usePrevious(statusType);\n const statusResult: DropdownStatusResult = { isSticky: true, content: null, hasRecoveryButton: false };\n\n if (statusType === 'loading') {\n statusResult.content = <InternalStatusIndicator type={'loading'}>{loadingText}</InternalStatusIndicator>;\n } else if (statusType === 'error') {\n statusResult.hasRecoveryButton = !!recoveryText && hasRecoveryCallback;\n statusResult.content = (\n <span>\n <InternalStatusIndicator\n type=\"error\"\n __display=\"inline\"\n __animate={previousStatusType !== 'error'}\n iconAriaLabel={errorIconAriaLabel}\n >\n {errorText}\n </InternalStatusIndicator>{' '}\n {statusResult.hasRecoveryButton && (\n <InternalLink\n onFollow={() => fireNonCancelableEvent(onRecoveryClick)}\n variant=\"recovery\"\n className={styles.recovery}\n >\n {recoveryText}\n </InternalLink>\n )}\n </span>\n );\n } else if (isEmpty && empty) {\n statusResult.content = empty;\n } else if (isNoMatch && noMatch) {\n statusResult.content = noMatch;\n } else if (filteringResultsText) {\n statusResult.content = filteringResultsText;\n } else if (statusType === 'finished' && finishedText) {\n statusResult.content = finishedText;\n statusResult.isSticky = false;\n }\n\n return statusResult;\n};\n\nexport default DropdownStatus;\n\n// Backward-compatibility re-export for consumers importing this public type from the internal path.\nexport { DropdownStatusProps } from '../../../types/dropdown-status';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/dropdown-status/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,uBAAuB,MAAM,oCAAoC,CAAC;AAGzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AA0BrC,SAAS,cAAc,CAAC,EAAE,QAAQ,EAAiC;IACjE,OAAO,6BAAK,SAAS,EAAE,MAAM,CAAC,IAAI,IAAG,QAAQ,CAAO,CAAC;AACvD,CAAC;AAwBD,MAAM,CAAC,MAAM,iBAAiB,GAAsB,CAAC,EACnD,UAAU,EACV,KAAK,EACL,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,OAAO,EACP,SAAS,EACT,OAAO,EACP,eAAe,EACf,mBAAmB,GAAG,KAAK,EAC3B,kBAAkB,EAClB,gBAAgB,GACjB,EAAwB,EAAE;IACzB,MAAM,kBAAkB,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC;IACnD,MAAM,YAAY,GAAyB,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC;IAEvG,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,YAAY,CAAC,OAAO,GAAG,oBAAC,uBAAuB,IAAC,IAAI,EAAE,SAAS,IAAG,WAAW,CAA2B,CAAC;IAC3G,CAAC;SAAM,IAAI,UAAU,KAAK,OAAO,EAAE,CAAC;QAClC,YAAY,CAAC,iBAAiB,GAAG,CAAC,CAAC,YAAY,IAAI,mBAAmB,CAAC;QACvE,YAAY,CAAC,OAAO,GAAG,CACrB;YACE,oBAAC,uBAAuB,IACtB,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,QAAQ,EAClB,SAAS,EAAE,kBAAkB,KAAK,OAAO,EACzC,aAAa,EAAE,kBAAkB,IAEhC,SAAS,CACc;YAAC,GAAG;YAC7B,YAAY,CAAC,iBAAiB,IAAI,CACjC,oBAAC,YAAY,IACX,EAAE,EAAE,gBAAgB,EACpB,QAAQ,EAAE,GAAG,EAAE,CAAC,sBAAsB,CAAC,eAAe,CAAC,EACvD,OAAO,EAAC,UAAU,EAClB,SAAS,EAAE,MAAM,CAAC,QAAQ,IAEzB,YAAY,CACA,CAChB,CACI,CACR,CAAC;IACJ,CAAC;SAAM,IAAI,OAAO,IAAI,KAAK,EAAE,CAAC;QAC5B,YAAY,CAAC,OAAO,GAAG,KAAK,CAAC;IAC/B,CAAC;SAAM,IAAI,SAAS,IAAI,OAAO,EAAE,CAAC;QAChC,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;IACjC,CAAC;SAAM,IAAI,oBAAoB,EAAE,CAAC;QAChC,YAAY,CAAC,OAAO,GAAG,oBAAoB,CAAC;IAC9C,CAAC;SAAM,IAAI,UAAU,KAAK,UAAU,IAAI,YAAY,EAAE,CAAC;QACrD,YAAY,CAAC,OAAO,GAAG,YAAY,CAAC;QACpC,YAAY,CAAC,QAAQ,GAAG,KAAK,CAAC;IAChC,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport InternalLink from '../../../link/internal';\nimport InternalStatusIndicator from '../../../status-indicator/internal';\nimport { DropdownStatusProps } from '../../../types/dropdown-status';\nimport { NonCancelableEventHandler } from '../../../types/events';\nimport { fireNonCancelableEvent } from '../../events';\nimport { usePrevious } from '../../hooks/use-previous';\n\nimport styles from './styles.css.js';\n\nexport interface DropdownStatusPropsExtended extends DropdownStatusProps {\n isEmpty?: boolean;\n isNoMatch?: boolean;\n noMatch?: React.ReactNode;\n filteringResultsText?: string;\n /**\n * Called when the user clicks the recovery button placed at the\n * bottom of the dropdown list in the error state. Use this to\n * retry a failed request or provide another option for the user\n * to recover from the error.\n */\n onRecoveryClick?: NonCancelableEventHandler;\n /**\n * Determines if retry button should be rendered\n * in case recoveryText was automatically provided by i18n.\n */\n hasRecoveryCallback?: boolean;\n /**\n * Optional `id` for the recovery button, so that it can be referenced\n * through `aria-activedescendant` while focus stays in a filter input.\n */\n recoveryButtonId?: string;\n}\n\nfunction DropdownStatus({ children }: { children: React.ReactNode }) {\n return <div className={styles.root}>{children}</div>;\n}\n\ntype UseDropdownStatus = ({\n statusType,\n empty,\n loadingText,\n finishedText,\n filteringResultsText,\n errorText,\n recoveryText,\n isEmpty,\n isNoMatch,\n noMatch,\n hasRecoveryCallback,\n onRecoveryClick,\n recoveryButtonId,\n}: DropdownStatusPropsExtended) => DropdownStatusResult;\n\nexport interface DropdownStatusResult {\n isSticky: boolean;\n content: React.ReactNode | null;\n hasRecoveryButton: boolean;\n}\n\nexport const useDropdownStatus: UseDropdownStatus = ({\n statusType,\n empty,\n loadingText,\n finishedText,\n filteringResultsText,\n errorText,\n recoveryText,\n isEmpty,\n isNoMatch,\n noMatch,\n onRecoveryClick,\n hasRecoveryCallback = false,\n errorIconAriaLabel,\n recoveryButtonId,\n}): DropdownStatusResult => {\n const previousStatusType = usePrevious(statusType);\n const statusResult: DropdownStatusResult = { isSticky: true, content: null, hasRecoveryButton: false };\n\n if (statusType === 'loading') {\n statusResult.content = <InternalStatusIndicator type={'loading'}>{loadingText}</InternalStatusIndicator>;\n } else if (statusType === 'error') {\n statusResult.hasRecoveryButton = !!recoveryText && hasRecoveryCallback;\n statusResult.content = (\n <span>\n <InternalStatusIndicator\n type=\"error\"\n __display=\"inline\"\n __animate={previousStatusType !== 'error'}\n iconAriaLabel={errorIconAriaLabel}\n >\n {errorText}\n </InternalStatusIndicator>{' '}\n {statusResult.hasRecoveryButton && (\n <InternalLink\n id={recoveryButtonId}\n onFollow={() => fireNonCancelableEvent(onRecoveryClick)}\n variant=\"recovery\"\n className={styles.recovery}\n >\n {recoveryText}\n </InternalLink>\n )}\n </span>\n );\n } else if (isEmpty && empty) {\n statusResult.content = empty;\n } else if (isNoMatch && noMatch) {\n statusResult.content = noMatch;\n } else if (filteringResultsText) {\n statusResult.content = filteringResultsText;\n } else if (statusType === 'finished' && finishedText) {\n statusResult.content = finishedText;\n statusResult.isSticky = false;\n }\n\n return statusResult;\n};\n\nexport default DropdownStatus;\n\n// Backward-compatibility re-export for consumers importing this public type from the internal path.\nexport { DropdownStatusProps } from '../../../types/dropdown-status';\n"]}
@@ -0,0 +1,28 @@
1
+ import { OptionDefinition } from '../../../../types/option';
2
+ import { DropdownOption } from '../../option/interfaces';
3
+ export type SelectionType = 'single' | 'multi';
4
+ export interface GroupState {
5
+ selected: boolean;
6
+ indeterminate: boolean;
7
+ }
8
+ /**
9
+ * Describes how a list selects options. Implementations are pure functions of their inputs.
10
+ */
11
+ export interface SelectionModel {
12
+ /** Drives aria-multiselectable and the row style. */
13
+ selectionType: SelectionType;
14
+ /** Whether group headers (and select-all) can be highlighted and chosen. */
15
+ interactiveGroups: boolean;
16
+ /**
17
+ * The selected options. Rows are matched to them by `value` (the first option with a matching value wins),
18
+ * so this is the single source of truth for which rows render as selected.
19
+ */
20
+ selectedOptions: ReadonlyArray<OptionDefinition>;
21
+ /** The checkbox state of a group header or select-all row. Other options are neither selected nor indeterminate. */
22
+ getGroupState(option: DropdownOption): GroupState;
23
+ /**
24
+ * Returns the selection that results from the user choosing `option`.
25
+ * Does not check whether `option` is disabled, read-only or non-interactive; callers must do that first.
26
+ */
27
+ getNextSelection(option: DropdownOption): ReadonlyArray<OptionDefinition>;
28
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/components/listbox/selection/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE/C,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,qDAAqD;IACrD,aAAa,EAAE,aAAa,CAAC;IAC7B,4EAA4E;IAC5E,iBAAiB,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,eAAe,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAEjD,oHAAoH;IACpH,aAAa,CAAC,MAAM,EAAE,cAAc,GAAG,UAAU,CAAC;IAClD;;;OAGG;IACH,gBAAgB,CAAC,MAAM,EAAE,cAAc,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;CAC3E"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=interfaces.js.map