@cloudscape-design/components 3.0.1012 → 3.0.1014

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 (1128) hide show
  1. package/alert/actions-wrapper/index.d.ts +22 -14
  2. package/alert/analytics-metadata/interfaces.d.ts +14 -15
  3. package/alert/index.d.ts +1 -2
  4. package/alert/interfaces.d.ts +86 -87
  5. package/alert/internal.d.ts +3 -4
  6. package/anchor-navigation/anchor-item/index.d.ts +13 -8
  7. package/anchor-navigation/index.d.ts +4 -2
  8. package/anchor-navigation/interfaces.d.ts +55 -56
  9. package/anchor-navigation/internal.d.ts +10 -2
  10. package/anchor-navigation/use-scroll-spy.d.ts +9 -6
  11. package/anchor-navigation/utils.d.ts +3 -4
  12. package/annotation-context/annotation/annotation-icon.d.ts +5 -4
  13. package/annotation-context/annotation/annotation-popover.d.ts +35 -19
  14. package/annotation-context/annotation/annotation-trigger.d.ts +6 -7
  15. package/annotation-context/annotation/closed-annotation.d.ts +15 -9
  16. package/annotation-context/annotation/open-annotation.d.ts +33 -18
  17. package/annotation-context/context.d.ts +8 -9
  18. package/annotation-context/index.d.ts +9 -2
  19. package/annotation-context/interfaces.d.ts +67 -68
  20. package/annotation-context/utils.d.ts +9 -10
  21. package/app-layout/classic.d.ts +14 -15
  22. package/app-layout/content-wrapper/index.d.ts +10 -11
  23. package/app-layout/defaults.d.ts +4 -5
  24. package/app-layout/drawer/drawers-helpers.d.ts +6 -7
  25. package/app-layout/drawer/index.d.ts +10 -2
  26. package/app-layout/drawer/interfaces.d.ts +50 -51
  27. package/app-layout/drawer/overflow-menu.d.ts +14 -9
  28. package/app-layout/drawer/resizable-drawer.d.ts +9 -2
  29. package/app-layout/index.d.ts +1 -2
  30. package/app-layout/interfaces.d.ts +294 -296
  31. package/app-layout/internal.d.ts +14 -15
  32. package/app-layout/mobile-toolbar/index.d.ts +34 -20
  33. package/app-layout/notifications/index.d.ts +7 -8
  34. package/app-layout/runtime-drawer/index.d.ts +5 -6
  35. package/app-layout/runtime-drawer/use-runtime-drawer-context.d.ts +5 -4
  36. package/app-layout/split-panel/constants.d.ts +1 -2
  37. package/app-layout/split-panel/drawer.d.ts +7 -5
  38. package/app-layout/split-panel/index.d.ts +1 -2
  39. package/app-layout/split-panel/provider.d.ts +14 -7
  40. package/app-layout/split-panel/split-panel-forced-position.d.ts +7 -5
  41. package/app-layout/toggles/index.d.ts +21 -22
  42. package/app-layout/toggles/interfaces.d.ts +11 -12
  43. package/app-layout/utils/feature-flags.d.ts +1 -2
  44. package/app-layout/utils/interfaces.d.ts +5 -6
  45. package/app-layout/utils/sticky-offsets.d.ts +2 -3
  46. package/app-layout/utils/use-app-layout-placement.d.ts +6 -7
  47. package/app-layout/utils/use-drawers.d.ts +48 -35
  48. package/app-layout/utils/use-focus-control.d.ts +15 -16
  49. package/app-layout/utils/use-keyboard-events.d.ts +8 -5
  50. package/app-layout/utils/use-observed-element.d.ts +1 -2
  51. package/app-layout/utils/use-pointer-events.d.ts +6 -2
  52. package/app-layout/utils/use-resize.d.ts +22 -15
  53. package/app-layout/utils/use-split-panel-focus-control.d.ts +9 -10
  54. package/app-layout/utils/visibility-context.d.ts +1 -2
  55. package/app-layout/visual-refresh/background.d.ts +1 -2
  56. package/app-layout/visual-refresh/breadcrumbs.d.ts +1 -2
  57. package/app-layout/visual-refresh/context.d.ts +55 -56
  58. package/app-layout/visual-refresh/drawers.d.ts +1 -2
  59. package/app-layout/visual-refresh/header.d.ts +1 -2
  60. package/app-layout/visual-refresh/index.d.ts +14 -15
  61. package/app-layout/visual-refresh/layout.d.ts +5 -4
  62. package/app-layout/visual-refresh/main.d.ts +1 -2
  63. package/app-layout/visual-refresh/mobile-toolbar.d.ts +1 -2
  64. package/app-layout/visual-refresh/navigation.d.ts +1 -2
  65. package/app-layout/visual-refresh/notifications.d.ts +1 -2
  66. package/app-layout/visual-refresh/split-panel.d.ts +6 -5
  67. package/app-layout/visual-refresh/tools.d.ts +5 -4
  68. package/app-layout/visual-refresh/trigger-button.d.ts +19 -20
  69. package/app-layout/visual-refresh/use-background-overlap.d.ts +11 -8
  70. package/app-layout/visual-refresh-toolbar/compute-layout.d.ts +67 -44
  71. package/app-layout/visual-refresh-toolbar/contexts.d.ts +2 -3
  72. package/app-layout/visual-refresh-toolbar/drawer/global-drawer.d.ts +9 -6
  73. package/app-layout/visual-refresh-toolbar/drawer/global-drawers.d.ts +5 -4
  74. package/app-layout/visual-refresh-toolbar/drawer/index.d.ts +1 -2
  75. package/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts +5 -4
  76. package/app-layout/visual-refresh-toolbar/drawer/use-resize.d.ts +19 -13
  77. package/app-layout/visual-refresh-toolbar/index.d.ts +1 -2
  78. package/app-layout/visual-refresh-toolbar/interfaces.d.ts +52 -53
  79. package/app-layout/visual-refresh-toolbar/internal.d.ts +1 -2
  80. package/app-layout/visual-refresh-toolbar/multi-layout.d.ts +26 -27
  81. package/app-layout/visual-refresh-toolbar/navigation/index.d.ts +5 -4
  82. package/app-layout/visual-refresh-toolbar/notifications/index.d.ts +7 -5
  83. package/app-layout/visual-refresh-toolbar/skeleton/breadcrumbs/index.d.ts +7 -5
  84. package/app-layout/visual-refresh-toolbar/skeleton/index.d.ts +12 -13
  85. package/app-layout/visual-refresh-toolbar/skeleton/slot-skeletons.d.ts +1 -2
  86. package/app-layout/visual-refresh-toolbar/skeleton/slot-wrappers.d.ts +7 -8
  87. package/app-layout/visual-refresh-toolbar/split-panel/index.d.ts +17 -10
  88. package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts +42 -25
  89. package/app-layout/visual-refresh-toolbar/toolbar/index.d.ts +27 -25
  90. package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.d.ts +47 -48
  91. package/app-layout-toolbar/analytics-metadata/interfaces.d.ts +11 -12
  92. package/app-layout-toolbar/index.d.ts +1 -2
  93. package/app-layout-toolbar/interfaces.d.ts +46 -48
  94. package/area-chart/async-store/index.d.ts +11 -12
  95. package/area-chart/chart-container.d.ts +34 -8
  96. package/area-chart/elements/area-chart-filter.d.ts +11 -7
  97. package/area-chart/elements/area-chart-legend.d.ts +11 -7
  98. package/area-chart/elements/area-series.d.ts +8 -5
  99. package/area-chart/elements/chart-popover.d.ts +15 -9
  100. package/area-chart/elements/data-series.d.ts +5 -4
  101. package/area-chart/elements/highlighted-point.d.ts +3 -4
  102. package/area-chart/elements/threshold-series.d.ts +10 -6
  103. package/area-chart/elements/use-highlight-details.d.ts +22 -17
  104. package/area-chart/elements/vertical-marker.d.ts +5 -4
  105. package/area-chart/index.d.ts +10 -3
  106. package/area-chart/interfaces.d.ts +51 -52
  107. package/area-chart/internal.d.ts +38 -3
  108. package/area-chart/model/compute-chart-props.d.ts +30 -22
  109. package/area-chart/model/create-series-decorator.d.ts +1 -2
  110. package/area-chart/model/index.d.ts +72 -73
  111. package/area-chart/model/interactions-store.d.ts +15 -16
  112. package/area-chart/model/use-chart-model.d.ts +32 -17
  113. package/area-chart/model/use-filter-props.d.ts +1 -2
  114. package/area-chart/model/use-highlight-props.d.ts +1 -2
  115. package/area-chart/model/utils.d.ts +4 -5
  116. package/attribute-editor/additional-info.d.ts +7 -5
  117. package/attribute-editor/grid-defaults.d.ts +1 -2
  118. package/attribute-editor/index.d.ts +1 -2
  119. package/attribute-editor/interfaces.d.ts +148 -149
  120. package/attribute-editor/internal.d.ts +1 -2
  121. package/attribute-editor/row.d.ts +13 -14
  122. package/attribute-editor/utils.d.ts +3 -4
  123. package/autosuggest/analytics-metadata/interfaces.d.ts +6 -7
  124. package/autosuggest/autosuggest-option.d.ts +12 -13
  125. package/autosuggest/index.d.ts +1 -2
  126. package/autosuggest/interfaces.d.ts +118 -119
  127. package/autosuggest/internal.d.ts +2 -4
  128. package/autosuggest/load-more-controller.d.ts +13 -10
  129. package/autosuggest/options-controller.d.ts +24 -17
  130. package/autosuggest/options-list.d.ts +28 -14
  131. package/autosuggest/plain-list.d.ts +23 -15
  132. package/autosuggest/utils/utils.d.ts +1 -2
  133. package/autosuggest/virtual-list.d.ts +11 -3
  134. package/badge/index.d.ts +5 -2
  135. package/badge/interfaces.d.ts +9 -10
  136. package/bar-chart/index.d.ts +14 -3
  137. package/bar-chart/interfaces.d.ts +27 -28
  138. package/box/index.d.ts +6 -2
  139. package/box/interfaces.d.ts +130 -131
  140. package/box/internal.d.ts +16 -3
  141. package/breadcrumb-group/all-items-dropdown.d.ts +13 -10
  142. package/breadcrumb-group/analytics-metadata/interfaces.d.ts +17 -18
  143. package/breadcrumb-group/implementation.d.ts +11 -3
  144. package/breadcrumb-group/index.d.ts +4 -2
  145. package/breadcrumb-group/interfaces.d.ts +56 -59
  146. package/breadcrumb-group/internal.d.ts +1 -2
  147. package/breadcrumb-group/item/funnel.d.ts +6 -7
  148. package/breadcrumb-group/item/item.d.ts +9 -2
  149. package/breadcrumb-group/skeleton.d.ts +2 -3
  150. package/breadcrumb-group/utils.d.ts +5 -6
  151. package/button/analytics-metadata/interfaces.d.ts +12 -13
  152. package/button/icon-helper.d.ts +11 -12
  153. package/button/index.d.ts +1 -2
  154. package/button/index.js +11 -13
  155. package/button/interfaces.d.ts +214 -216
  156. package/button/internal-do-not-use-core.js +20 -0
  157. package/button/internal.d.ts +19 -20
  158. package/button-dropdown/analytics-metadata/interfaces.d.ts +26 -27
  159. package/button-dropdown/category-elements/category-element.d.ts +15 -3
  160. package/button-dropdown/category-elements/expandable-category-element.d.ts +16 -3
  161. package/button-dropdown/category-elements/mobile-expandable-category-element.d.ts +15 -3
  162. package/button-dropdown/index.d.ts +1 -2
  163. package/button-dropdown/interfaces.d.ts +256 -257
  164. package/button-dropdown/internal.d.ts +1 -2
  165. package/button-dropdown/item-element/index.d.ts +15 -3
  166. package/button-dropdown/items-list.d.ts +19 -2
  167. package/button-dropdown/mobile-expandable-group/mobile-expandable-group.d.ts +18 -15
  168. package/button-dropdown/tooltip.d.ts +11 -7
  169. package/button-dropdown/utils/create-items-tree.d.ts +5 -6
  170. package/button-dropdown/utils/menu-item.d.ts +5 -6
  171. package/button-dropdown/utils/move-highlight.d.ts +17 -12
  172. package/button-dropdown/utils/use-button-dropdown.d.ts +25 -18
  173. package/button-dropdown/utils/use-highlighted-menu.d.ts +14 -11
  174. package/button-dropdown/utils/utils.d.ts +1 -2
  175. package/button-group/analytics-metadata/interfaces.d.ts +3 -4
  176. package/button-group/file-input-item.d.ts +5 -6
  177. package/button-group/icon-button-item.d.ts +6 -7
  178. package/button-group/icon-toggle-button-item.d.ts +6 -7
  179. package/button-group/index.d.ts +1 -2
  180. package/button-group/interfaces.d.ts +164 -166
  181. package/button-group/internal.d.ts +1 -2
  182. package/button-group/item-element.d.ts +14 -15
  183. package/button-group/menu-dropdown-item.d.ts +7 -8
  184. package/calendar/grid/calendar-grid-header.d.ts +7 -5
  185. package/calendar/grid/index.d.ts +32 -18
  186. package/calendar/grid/use-calendar-grid-keyboard-navigation.d.ts +19 -11
  187. package/calendar/grid/use-calendar-grid-rows.d.ts +11 -7
  188. package/calendar/header/header-button.d.ts +11 -6
  189. package/calendar/header/index.d.ts +13 -8
  190. package/calendar/index.d.ts +6 -2
  191. package/calendar/interfaces.d.ts +97 -98
  192. package/calendar/internal.d.ts +18 -2
  193. package/calendar/use-calendar-labels.d.ts +21 -15
  194. package/calendar/utils/intl.d.ts +1 -2
  195. package/calendar/utils/navigation-day.d.ts +1 -2
  196. package/calendar/utils/navigation-month.d.ts +1 -2
  197. package/cards/cards-layout-helper.d.ts +1 -2
  198. package/cards/index.d.ts +1 -2
  199. package/cards/interfaces.d.ts +228 -229
  200. package/checkbox/analytics-metadata/interfaces.d.ts +11 -12
  201. package/checkbox/base-checkbox.d.ts +51 -52
  202. package/checkbox/index.d.ts +1 -2
  203. package/checkbox/interfaces.d.ts +30 -31
  204. package/checkbox/internal.d.ts +4 -5
  205. package/code-editor/ace-modes.d.ts +329 -330
  206. package/code-editor/ace-themes.d.ts +81 -82
  207. package/code-editor/error-screen.d.ts +9 -6
  208. package/code-editor/index.d.ts +1 -2
  209. package/code-editor/interfaces.d.ts +146 -147
  210. package/code-editor/listeners.d.ts +1 -2
  211. package/code-editor/loading-screen.d.ts +2 -3
  212. package/code-editor/pane.d.ts +27 -15
  213. package/code-editor/preferences-modal.d.ts +20 -21
  214. package/code-editor/resizable-box/index.d.ts +14 -8
  215. package/code-editor/setup-editor.d.ts +1 -2
  216. package/code-editor/status-bar.d.ts +36 -20
  217. package/code-editor/tab-button.d.ts +16 -17
  218. package/code-editor/use-editor.d.ts +20 -13
  219. package/code-editor/util.d.ts +9 -7
  220. package/collection-preferences/analytics-metadata/interfaces.d.ts +33 -34
  221. package/collection-preferences/analytics-metadata/utils.d.ts +3 -4
  222. package/collection-preferences/content-display/content-display-option.d.ts +4 -5
  223. package/collection-preferences/content-display/index.d.ts +18 -5
  224. package/collection-preferences/content-display/utils.d.ts +8 -6
  225. package/collection-preferences/index.d.ts +22 -2
  226. package/collection-preferences/interfaces.d.ts +298 -299
  227. package/collection-preferences/utils.d.ts +70 -30
  228. package/collection-preferences/visible-content.d.ts +9 -5
  229. package/column-layout/flexible-column-layout/index.d.ts +10 -4
  230. package/column-layout/grid-column-layout.d.ts +12 -5
  231. package/column-layout/index.d.ts +7 -2
  232. package/column-layout/interfaces.d.ts +38 -39
  233. package/column-layout/internal.d.ts +12 -2
  234. package/column-layout/util.d.ts +1 -2
  235. package/container/analytics-metadata/interfaces.d.ts +3 -4
  236. package/container/index.d.ts +7 -2
  237. package/container/index.js +13 -30
  238. package/container/interfaces.d.ts +87 -88
  239. package/container/internal-do-not-use-core.js +35 -0
  240. package/container/internal.d.ts +41 -20
  241. package/container/use-sticky-header.d.ts +24 -19
  242. package/content-layout/index.d.ts +1 -2
  243. package/content-layout/interfaces.d.ts +68 -69
  244. package/content-layout/internal.d.ts +15 -3
  245. package/contexts/form-field.d.ts +1 -2
  246. package/copy-to-clipboard/index.d.ts +5 -2
  247. package/copy-to-clipboard/interfaces.d.ts +54 -55
  248. package/copy-to-clipboard/internal.d.ts +16 -5
  249. package/date-input/index.d.ts +1 -2
  250. package/date-input/interfaces.d.ts +6 -7
  251. package/date-input/internal.d.ts +2 -3
  252. package/date-input/utils.d.ts +5 -3
  253. package/date-picker/index.d.ts +1 -2
  254. package/date-picker/interfaces.d.ts +79 -80
  255. package/date-picker/utils.d.ts +23 -13
  256. package/date-range-picker/calendar/grids/grid-cell.d.ts +2 -3
  257. package/date-range-picker/calendar/grids/grid.d.ts +22 -2
  258. package/date-range-picker/calendar/grids/index.d.ts +18 -2
  259. package/date-range-picker/calendar/grids/interfaces.d.ts +37 -38
  260. package/date-range-picker/calendar/grids/intl.d.ts +13 -8
  261. package/date-range-picker/calendar/header/header-button.d.ts +11 -6
  262. package/date-range-picker/calendar/header/index.d.ts +18 -10
  263. package/date-range-picker/calendar/index.d.ts +23 -12
  264. package/date-range-picker/calendar/range-inputs.d.ts +26 -14
  265. package/date-range-picker/calendar/utils.d.ts +1 -2
  266. package/date-range-picker/dropdown.d.ts +31 -8
  267. package/date-range-picker/index.d.ts +1 -2
  268. package/date-range-picker/interfaces.d.ts +373 -374
  269. package/date-range-picker/mode-switcher.d.ts +8 -5
  270. package/date-range-picker/relative-range/index.d.ts +18 -10
  271. package/date-range-picker/time-offset.d.ts +9 -10
  272. package/date-range-picker/utils.d.ts +13 -10
  273. package/drawer/implementation.d.ts +11 -3
  274. package/drawer/index.d.ts +1 -2
  275. package/drawer/interfaces.d.ts +33 -34
  276. package/drawer/internal.d.ts +1 -2
  277. package/expandable-section/analytics-metadata/interfaces.d.ts +15 -16
  278. package/expandable-section/expandable-section-container.d.ts +19 -10
  279. package/expandable-section/expandable-section-header.d.ts +41 -23
  280. package/expandable-section/index.d.ts +4 -2
  281. package/expandable-section/interfaces.d.ts +87 -88
  282. package/expandable-section/internal.d.ts +21 -4
  283. package/expandable-section/utils.d.ts +1 -2
  284. package/file-dropzone/index.d.ts +1 -2
  285. package/file-dropzone/interfaces.d.ts +13 -14
  286. package/file-dropzone/internal.d.ts +6 -2
  287. package/file-dropzone/use-files-dragging.d.ts +2 -3
  288. package/file-input/analytics-metadata/interfaces.d.ts +7 -8
  289. package/file-input/index.d.ts +1 -2
  290. package/file-input/interfaces.d.ts +46 -47
  291. package/file-input/internal.d.ts +4 -5
  292. package/file-token-group/default-formatters.d.ts +1 -2
  293. package/file-token-group/file-token.d.ts +39 -25
  294. package/file-token-group/index.d.ts +9 -3
  295. package/file-token-group/interfaces.d.ts +79 -80
  296. package/file-token-group/internal.d.ts +14 -3
  297. package/file-token-group/thumbnail.d.ts +5 -4
  298. package/file-upload/index.d.ts +1 -2
  299. package/file-upload/interfaces.d.ts +101 -102
  300. package/file-upload/internal.d.ts +1 -2
  301. package/flashbar/analytics-metadata/interfaces.d.ts +30 -31
  302. package/flashbar/analytics-metadata/utils.d.ts +2 -3
  303. package/flashbar/collapsible-flashbar.d.ts +5 -10
  304. package/flashbar/collapsible-flashbar.d.ts.map +1 -1
  305. package/flashbar/collapsible-flashbar.js +3 -50
  306. package/flashbar/collapsible-flashbar.js.map +1 -1
  307. package/flashbar/common.d.ts +20 -15
  308. package/flashbar/constant.d.ts +1 -2
  309. package/flashbar/flash.d.ts +5 -6
  310. package/flashbar/flash.d.ts.map +1 -1
  311. package/flashbar/flash.js +5 -27
  312. package/flashbar/flash.js.map +1 -1
  313. package/flashbar/index.d.ts +1 -2
  314. package/flashbar/index.js +13 -11
  315. package/flashbar/interfaces.d.ts +215 -175
  316. package/flashbar/interfaces.d.ts.map +1 -1
  317. package/flashbar/interfaces.js.map +1 -1
  318. package/flashbar/internal-do-not-use-core.js +16 -0
  319. package/flashbar/non-collapsible-flashbar.d.ts +6 -2
  320. package/flashbar/style.d.ts +35 -0
  321. package/flashbar/style.d.ts.map +1 -0
  322. package/flashbar/style.js +105 -0
  323. package/flashbar/style.js.map +1 -0
  324. package/flashbar/styles.css.js +50 -50
  325. package/flashbar/styles.scoped.css +153 -152
  326. package/flashbar/styles.selectors.js +50 -50
  327. package/flashbar/utils.d.ts +6 -7
  328. package/form/analytics-metadata/interfaces.d.ts +7 -8
  329. package/form/index.d.ts +4 -2
  330. package/form/interfaces.d.ts +48 -49
  331. package/form/internal.d.ts +15 -5
  332. package/form-field/analytics-metadata/interfaces.d.ts +3 -4
  333. package/form-field/index.d.ts +4 -2
  334. package/form-field/interfaces.d.ts +91 -92
  335. package/form-field/internal.d.ts +44 -15
  336. package/form-field/util.d.ts +13 -9
  337. package/grid/index.d.ts +6 -2
  338. package/grid/interfaces.d.ts +47 -48
  339. package/grid/internal.d.ts +10 -11
  340. package/header/analytics/use-table-integration.d.ts +1 -2
  341. package/header/index.d.ts +4 -2
  342. package/header/interfaces.d.ts +40 -41
  343. package/header/internal.d.ts +24 -9
  344. package/help-panel/implementation.d.ts +10 -3
  345. package/help-panel/index.d.ts +1 -2
  346. package/help-panel/interfaces.d.ts +27 -28
  347. package/help-panel/internal.d.ts +1 -2
  348. package/hotspot/index.d.ts +7 -2
  349. package/hotspot/interfaces.d.ts +31 -32
  350. package/i18n/context.d.ts +9 -10
  351. package/i18n/dynamic.d.ts +1 -2
  352. package/i18n/get-matchable-locales.d.ts +1 -2
  353. package/i18n/index.d.ts +1 -2
  354. package/i18n/messages/all.all.d.ts +1 -1
  355. package/i18n/messages/all.ar.d.ts +1 -1
  356. package/i18n/messages/all.de.d.ts +1 -1
  357. package/i18n/messages/all.en-GB.d.ts +1 -1
  358. package/i18n/messages/all.en.d.ts +1 -1
  359. package/i18n/messages/all.es.d.ts +1 -1
  360. package/i18n/messages/all.fr.d.ts +1 -1
  361. package/i18n/messages/all.id.d.ts +1 -1
  362. package/i18n/messages/all.it.d.ts +1 -1
  363. package/i18n/messages/all.ja.d.ts +1 -1
  364. package/i18n/messages/all.ko.d.ts +1 -1
  365. package/i18n/messages/all.pt-BR.d.ts +1 -1
  366. package/i18n/messages/all.th.d.ts +1 -1
  367. package/i18n/messages/all.tr.d.ts +1 -1
  368. package/i18n/messages/all.zh-CN.d.ts +1 -1
  369. package/i18n/messages/all.zh-TW.d.ts +1 -1
  370. package/i18n/messages-types.d.ts +568 -569
  371. package/i18n/provider.d.ts +16 -13
  372. package/i18n/testing.d.ts +9 -6
  373. package/icon/generated/icons.d.ts +128 -129
  374. package/icon/index.d.ts +5 -2
  375. package/icon/interfaces.d.ts +62 -63
  376. package/icon/internal.d.ts +14 -4
  377. package/index.d.ts +1 -2
  378. package/input/analytics-metadata/interfaces.d.ts +5 -6
  379. package/input/index.d.ts +1 -2
  380. package/input/interfaces.d.ts +136 -137
  381. package/input/internal.d.ts +14 -15
  382. package/input/utils.d.ts +1 -2
  383. package/interfaces.d.ts +1 -2
  384. package/internal/analytics/components/analytics-funnel.d.ts +26 -23
  385. package/internal/analytics/context/analytics-context.d.ts +51 -52
  386. package/internal/analytics/hooks/use-funnel.d.ts +13 -14
  387. package/internal/analytics/index.d.ts +1 -2
  388. package/internal/analytics/interfaces.d.ts +98 -99
  389. package/internal/analytics/selectors.d.ts +1 -2
  390. package/internal/analytics/utils/parse-count-text.d.ts +1 -2
  391. package/internal/animate.d.ts +14 -10
  392. package/internal/base-component/index.d.ts +15 -16
  393. package/internal/base-component/styles.scoped.css +1 -1
  394. package/internal/breakpoints.d.ts +1 -2
  395. package/internal/components/abstract-switch/index.d.ts +36 -18
  396. package/internal/components/autosuggest-input/index.d.ts +19 -20
  397. package/internal/components/button-trigger/analytics-metadata/interfaces.d.ts +9 -10
  398. package/internal/components/button-trigger/index.d.ts +27 -28
  399. package/internal/components/cartesian-chart/axis-label.d.ts +8 -5
  400. package/internal/components/cartesian-chart/block-end-labels.d.ts +35 -20
  401. package/internal/components/cartesian-chart/chart-container.d.ts +9 -10
  402. package/internal/components/cartesian-chart/constants.d.ts +1 -2
  403. package/internal/components/cartesian-chart/emphasized-baseline.d.ts +10 -6
  404. package/internal/components/cartesian-chart/highlighted-point.d.ts +10 -11
  405. package/internal/components/cartesian-chart/inline-start-labels.d.ts +20 -11
  406. package/internal/components/cartesian-chart/interfaces.d.ts +196 -197
  407. package/internal/components/cartesian-chart/label-utils.d.ts +16 -12
  408. package/internal/components/cartesian-chart/labels-measure.d.ts +12 -7
  409. package/internal/components/cartesian-chart/scales.d.ts +31 -32
  410. package/internal/components/cartesian-chart/ticks.d.ts +1 -2
  411. package/internal/components/cartesian-chart/vertical-grid-lines.d.ts +9 -6
  412. package/internal/components/cartesian-chart/vertical-marker.d.ts +9 -10
  413. package/internal/components/chart-filter/index.d.ts +17 -12
  414. package/internal/components/chart-legend/index.d.ts +17 -11
  415. package/internal/components/chart-plot/application-controller.d.ts +7 -8
  416. package/internal/components/chart-plot/focus-outline.d.ts +9 -6
  417. package/internal/components/chart-plot/index.d.ts +30 -31
  418. package/internal/components/chart-plot/interfaces.d.ts +3 -4
  419. package/internal/components/chart-popover/index.d.ts +30 -31
  420. package/internal/components/chart-series-details/index.d.ts +13 -14
  421. package/internal/components/chart-series-details/series-details-text.d.ts +1 -2
  422. package/internal/components/chart-series-marker/index.d.ts +6 -4
  423. package/internal/components/chart-status-container/index.d.ts +34 -20
  424. package/internal/components/chart-wrapper/index.d.ts +12 -13
  425. package/internal/components/checkbox-icon/index.d.ts +12 -7
  426. package/internal/components/drag-handle/button.d.ts +1 -2
  427. package/internal/components/drag-handle/hooks/interfaces.d.ts +36 -37
  428. package/internal/components/drag-handle/hooks/use-drag-handle-interaction-state.d.ts +10 -11
  429. package/internal/components/drag-handle/index.d.ts +1 -2
  430. package/internal/components/drag-handle/interfaces.d.ts +34 -35
  431. package/internal/components/drag-handle/resize-icon.d.ts +5 -4
  432. package/internal/components/drag-handle-wrapper/direction-button.d.ts +11 -7
  433. package/internal/components/drag-handle-wrapper/index.d.ts +10 -2
  434. package/internal/components/drag-handle-wrapper/interfaces.d.ts +9 -10
  435. package/internal/components/drag-handle-wrapper/portal-overlay.d.ts +9 -6
  436. package/internal/components/dropdown/context.d.ts +8 -6
  437. package/internal/components/dropdown/dropdown-fit-handler.d.ts +44 -27
  438. package/internal/components/dropdown/dropdown-position.d.ts +17 -13
  439. package/internal/components/dropdown/index.d.ts +29 -3
  440. package/internal/components/dropdown/interfaces.d.ts +146 -147
  441. package/internal/components/dropdown-footer/index.d.ts +4 -5
  442. package/internal/components/dropdown-status/index.d.ts +40 -25
  443. package/internal/components/dropdown-status/interfaces.d.ts +38 -39
  444. package/internal/components/focus-lock/index.d.ts +10 -11
  445. package/internal/components/focus-lock/utils.d.ts +1 -2
  446. package/internal/components/interfaces.d.ts +3 -4
  447. package/internal/components/masked-input/index.d.ts +1 -2
  448. package/internal/components/masked-input/interfaces.d.ts +20 -21
  449. package/internal/components/masked-input/keyboard-handler.d.ts +3 -4
  450. package/internal/components/masked-input/use-mask.d.ts +26 -17
  451. package/internal/components/masked-input/utils/keys.d.ts +1 -2
  452. package/internal/components/masked-input/utils/mask-format.d.ts +42 -39
  453. package/internal/components/masked-input/utils/strings.d.ts +1 -2
  454. package/internal/components/menu-dropdown/index.d.ts +11 -3
  455. package/internal/components/menu-dropdown/interfaces.d.ts +20 -21
  456. package/internal/components/option/highlight-match.d.ts +7 -5
  457. package/internal/components/option/index.d.ts +11 -3
  458. package/internal/components/option/interfaces.d.ts +29 -30
  459. package/internal/components/option/option-announcer.d.ts +9 -6
  460. package/internal/components/option/option-parts.d.ts +55 -29
  461. package/internal/components/option/utils/filter-options.d.ts +1 -2
  462. package/internal/components/option/utils/flatten-options.d.ts +3 -4
  463. package/internal/components/option/utils/prepare-options.d.ts +6 -7
  464. package/internal/components/options-list/index.d.ts +27 -28
  465. package/internal/components/options-list/utils/test-indexes.d.ts +5 -6
  466. package/internal/components/options-list/utils/use-highlight-option.d.ts +20 -18
  467. package/internal/components/options-list/utils/use-ids.d.ts +1 -2
  468. package/internal/components/options-list/utils/use-keyboard.d.ts +14 -15
  469. package/internal/components/options-list/utils/use-open-state.d.ts +14 -11
  470. package/internal/components/panel-resize-handle/index.d.ts +9 -10
  471. package/internal/components/responsive-text/index.d.ts +13 -8
  472. package/internal/components/responsive-text/responsive-text-utils.d.ts +1 -2
  473. package/internal/components/screenreader-only/index.d.ts +4 -5
  474. package/internal/components/selectable-item/analytics-metadata/interfaces.d.ts +8 -9
  475. package/internal/components/selectable-item/analytics-metadata/utils.d.ts +5 -2
  476. package/internal/components/selectable-item/index.d.ts +1 -2
  477. package/internal/components/selectable-item/interfaces.d.ts +30 -31
  478. package/internal/components/sortable-area/index.d.ts +9 -3
  479. package/internal/components/sortable-area/interfaces.d.ts +35 -36
  480. package/internal/components/sortable-area/keyboard-sensor/defaults.d.ts +1 -2
  481. package/internal/components/sortable-area/keyboard-sensor/index.d.ts +15 -16
  482. package/internal/components/sortable-area/keyboard-sensor/utilities/events.d.ts +5 -6
  483. package/internal/components/sortable-area/keyboard-sensor/utilities/listeners.d.ts +6 -7
  484. package/internal/components/sortable-area/keyboard-sensor/utilities/scroll.d.ts +11 -7
  485. package/internal/components/sortable-area/use-drag-and-drop-reorder.d.ts +13 -11
  486. package/internal/components/sortable-area/use-live-announcements.d.ts +25 -10
  487. package/internal/components/tab-trap/index.d.ts +7 -5
  488. package/internal/components/token-list/analytics-metadata/interfaces.d.ts +9 -10
  489. package/internal/components/token-list/index.d.ts +11 -2
  490. package/internal/components/token-list/interfaces.d.ts +12 -13
  491. package/internal/components/token-list/token-limit-toggle.d.ts +19 -11
  492. package/internal/components/tooltip/index.d.ts +20 -11
  493. package/internal/components/transition/index.d.ts +18 -11
  494. package/internal/components/visual-context/index.d.ts +9 -6
  495. package/internal/context/button-context.d.ts +6 -5
  496. package/internal/context/collection-label-context.d.ts +2 -3
  497. package/internal/context/collection-preferences-metadata-context.d.ts +5 -6
  498. package/internal/context/container-header.d.ts +5 -4
  499. package/internal/context/dynamic-overlap-context.d.ts +1 -2
  500. package/internal/context/form-field-context.d.ts +49 -50
  501. package/internal/context/info-link-label-context.d.ts +1 -2
  502. package/internal/context/link-default-variant-context.d.ts +3 -4
  503. package/internal/context/modal-context.d.ts +4 -5
  504. package/internal/context/reset-contexts-for-modal.d.ts +5 -4
  505. package/internal/context/single-tab-stop-navigation-context.d.ts +17 -18
  506. package/internal/context/split-panel-context.d.ts +27 -28
  507. package/internal/context/table-component-context.d.ts +15 -16
  508. package/internal/debounce.d.ts +1 -2
  509. package/internal/do-not-use/chart-filter.d.ts +1 -2
  510. package/internal/do-not-use/chart-tooltip.d.ts +1 -2
  511. package/internal/do-not-use/drag-handle.d.ts +1 -2
  512. package/internal/do-not-use/expandable-section.d.ts +1 -2
  513. package/internal/do-not-use/i18n.d.ts +1 -2
  514. package/internal/do-not-use/tooltip.d.ts +1 -2
  515. package/internal/environment.js +2 -2
  516. package/internal/environment.json +2 -2
  517. package/internal/events/index.d.ts +20 -18
  518. package/internal/focus-tracker.d.ts +18 -16
  519. package/internal/generated/custom-css-properties/index.d.ts +76 -77
  520. package/internal/generated/theming/index.cjs.d.ts +12 -13
  521. package/internal/generated/theming/index.d.ts +12 -13
  522. package/internal/hooks/check-controlled/index.d.ts +1 -2
  523. package/internal/hooks/container-queries/index.d.ts +1 -2
  524. package/internal/hooks/container-queries/use-container-breakpoints.d.ts +1 -2
  525. package/internal/hooks/container-queries/use-height-measure.d.ts +1 -2
  526. package/internal/hooks/forward-focus/index.d.ts +3 -4
  527. package/internal/hooks/forward-focus/radio-group.d.ts +3 -4
  528. package/internal/hooks/use-base-component/index.d.ts +3 -4
  529. package/internal/hooks/use-base-component/styles-check.d.ts +1 -2
  530. package/internal/hooks/use-controllable/index.d.ts +9 -6
  531. package/internal/hooks/use-date-cache/index.d.ts +1 -2
  532. package/internal/hooks/use-debounce-callback/index.d.ts +1 -2
  533. package/internal/hooks/use-dom-attribute/index.d.ts +2 -3
  534. package/internal/hooks/use-dynamic-overlap/index.d.ts +5 -6
  535. package/internal/hooks/use-effect-on-update.d.ts +1 -2
  536. package/internal/hooks/use-focus-tracker.d.ts +6 -7
  537. package/internal/hooks/use-has-rendered/index.d.ts +1 -2
  538. package/internal/hooks/use-hidden-description/index.d.ts +6 -7
  539. package/internal/hooks/use-intersection-observer/index.d.ts +7 -6
  540. package/internal/hooks/use-list-focus-controller.d.ts +13 -8
  541. package/internal/hooks/use-mobile/index.d.ts +1 -2
  542. package/internal/hooks/use-modal-component-analytics/index.d.ts +1 -2
  543. package/internal/hooks/use-mouse-down-target.d.ts +1 -2
  544. package/internal/hooks/use-performance-marks/index.d.ts +2 -3
  545. package/internal/hooks/use-performance-marks/is-in-viewport.d.ts +1 -2
  546. package/internal/hooks/use-portal-mode-classes/index.d.ts +1 -2
  547. package/internal/hooks/use-previous/index.d.ts +1 -2
  548. package/internal/hooks/use-scroll-sync/index.d.ts +1 -2
  549. package/internal/hooks/use-table-interaction-metrics/index.d.ts +23 -15
  550. package/internal/hooks/use-virtual/index.d.ts +14 -10
  551. package/internal/hooks/use-virtual/sticky-range-extractor.d.ts +5 -6
  552. package/internal/hooks/use-visual-mode/index.d.ts +1 -2
  553. package/internal/is-development.d.ts +1 -2
  554. package/internal/keycode.d.ts +14 -15
  555. package/internal/manifest.json +1 -1
  556. package/internal/metrics.d.ts +1 -2
  557. package/internal/plugins/api.d.ts +20 -21
  558. package/internal/plugins/controllers/action-buttons.d.ts +20 -21
  559. package/internal/plugins/controllers/alert-flash-content.d.ts +36 -37
  560. package/internal/plugins/controllers/app-layout-widget.d.ts +19 -20
  561. package/internal/plugins/controllers/breadcrumbs.d.ts +23 -24
  562. package/internal/plugins/controllers/drawers.d.ts +63 -61
  563. package/internal/plugins/controllers/shared-react-contexts.d.ts +5 -6
  564. package/internal/plugins/helpers/index.d.ts +1 -2
  565. package/internal/plugins/helpers/metrics.d.ts +1 -2
  566. package/internal/plugins/helpers/use-discovered-action.d.ts +4 -5
  567. package/internal/plugins/helpers/use-discovered-content.d.ts +16 -13
  568. package/internal/plugins/helpers/use-global-breadcrumbs.d.ts +1 -2
  569. package/internal/plugins/helpers/utils.d.ts +3 -4
  570. package/internal/plugins/index.d.ts +1 -2
  571. package/internal/styles/colors.d.ts +1 -2
  572. package/internal/styles/global-vars.d.ts +3 -4
  573. package/internal/styles/motion/utils.d.ts +1 -2
  574. package/internal/tooltip-do-not-use/index.d.ts +1 -2
  575. package/internal/types.d.ts +2 -5
  576. package/internal/utils/apply-display-name.d.ts +1 -2
  577. package/internal/utils/browser-scrollbar-size.d.ts +3 -4
  578. package/internal/utils/calculate-once.d.ts +1 -2
  579. package/internal/utils/check-safe-url.d.ts +1 -2
  580. package/internal/utils/circle-index.d.ts +1 -2
  581. package/internal/utils/content-header-utils.d.ts +1 -2
  582. package/internal/utils/create-category-color-scale.d.ts +1 -2
  583. package/internal/utils/date-time/calendar.d.ts +44 -34
  584. package/internal/utils/date-time/display-format.d.ts +1 -2
  585. package/internal/utils/date-time/format-date-iso.d.ts +13 -8
  586. package/internal/utils/date-time/format-date-localized.d.ts +15 -9
  587. package/internal/utils/date-time/format-date-time-with-offset.d.ts +13 -8
  588. package/internal/utils/date-time/format-date-time.d.ts +1 -2
  589. package/internal/utils/date-time/format-date.d.ts +1 -2
  590. package/internal/utils/date-time/format-time-offset.d.ts +1 -2
  591. package/internal/utils/date-time/format-time.d.ts +1 -2
  592. package/internal/utils/date-time/index.d.ts +1 -2
  593. package/internal/utils/date-time/is-iso-only.d.ts +1 -2
  594. package/internal/utils/date-time/join-date-time.d.ts +3 -4
  595. package/internal/utils/date-time/parse-date.d.ts +1 -2
  596. package/internal/utils/date-time/parse-timezone-offset.d.ts +1 -2
  597. package/internal/utils/date-time/shift-timezone-offset.d.ts +1 -2
  598. package/internal/utils/dom.d.ts +7 -5
  599. package/internal/utils/external-props.d.ts +1 -2
  600. package/internal/utils/get-visual-theme.d.ts +1 -2
  601. package/internal/utils/handle-key.d.ts +27 -16
  602. package/internal/utils/has-value.d.ts +1 -2
  603. package/internal/utils/locale/index.d.ts +1 -2
  604. package/internal/utils/locale/merge-locales.d.ts +1 -2
  605. package/internal/utils/locale/normalize-locale.d.ts +1 -2
  606. package/internal/utils/locale/normalize-start-of-week.d.ts +1 -2
  607. package/internal/utils/node-belongs.d.ts +1 -2
  608. package/internal/utils/pointer-events-mock.d.ts +3 -4
  609. package/internal/utils/promises.d.ts +5 -7
  610. package/internal/utils/scrollable-containers.d.ts +19 -12
  611. package/internal/utils/strings/index.d.ts +1 -2
  612. package/internal/utils/strings/join-strings.d.ts +1 -2
  613. package/internal/utils/strings/pad-left-zeros.d.ts +1 -2
  614. package/internal/utils/throttle.d.ts +7 -6
  615. package/internal/utils/use-container-width.d.ts +1 -2
  616. package/internal/widget-exports.d.ts +3 -4
  617. package/internal/widgets/index.d.ts +1 -2
  618. package/key-value-pairs/index.d.ts +8 -2
  619. package/key-value-pairs/interfaces.d.ts +55 -56
  620. package/key-value-pairs/internal.d.ts +1 -2
  621. package/line-chart/index.d.ts +11 -3
  622. package/line-chart/interfaces.d.ts +13 -14
  623. package/link/analytics-metadata/interfaces.d.ts +13 -14
  624. package/link/index.d.ts +1 -2
  625. package/link/interfaces.d.ts +96 -97
  626. package/link/internal.d.ts +2 -3
  627. package/live-region/controller.d.ts +28 -26
  628. package/live-region/index.d.ts +7 -3
  629. package/live-region/interfaces.d.ts +22 -23
  630. package/live-region/internal.d.ts +22 -23
  631. package/mixed-line-bar-chart/bar-groups.d.ts +15 -9
  632. package/mixed-line-bar-chart/bar-series.d.ts +31 -17
  633. package/mixed-line-bar-chart/chart-container.d.ts +59 -31
  634. package/mixed-line-bar-chart/chart-legend.d.ts +17 -10
  635. package/mixed-line-bar-chart/chart-popover.d.ts +14 -15
  636. package/mixed-line-bar-chart/create-one-side-rounded-rect-path.d.ts +11 -7
  637. package/mixed-line-bar-chart/data-series.d.ts +25 -14
  638. package/mixed-line-bar-chart/domain.d.ts +1 -2
  639. package/mixed-line-bar-chart/format-highlighted.d.ts +13 -9
  640. package/mixed-line-bar-chart/hooks/use-mouse-hover.d.ts +26 -16
  641. package/mixed-line-bar-chart/hooks/use-navigation.d.ts +41 -23
  642. package/mixed-line-bar-chart/hooks/use-popover.d.ts +6 -7
  643. package/mixed-line-bar-chart/index.d.ts +13 -3
  644. package/mixed-line-bar-chart/interfaces.d.ts +106 -107
  645. package/mixed-line-bar-chart/internal.d.ts +41 -3
  646. package/mixed-line-bar-chart/line-series.d.ts +15 -9
  647. package/mixed-line-bar-chart/make-scaled-bar-groups.d.ts +10 -11
  648. package/mixed-line-bar-chart/make-scaled-series.d.ts +6 -7
  649. package/mixed-line-bar-chart/utils.d.ts +3 -4
  650. package/modal/analytics-metadata/interfaces.d.ts +7 -8
  651. package/modal/body-scroll.d.ts +1 -2
  652. package/modal/index.d.ts +4 -2
  653. package/modal/interfaces.d.ts +74 -75
  654. package/modal/internal.d.ts +14 -10
  655. package/multiselect/analytics-metadata/interfaces.d.ts +7 -8
  656. package/multiselect/embedded.d.ts +7 -8
  657. package/multiselect/index.d.ts +1 -2
  658. package/multiselect/interfaces.d.ts +80 -81
  659. package/multiselect/internal.d.ts +7 -8
  660. package/multiselect/use-multiselect.d.ts +87 -59
  661. package/package.json +1 -1
  662. package/pagination/analytics-metadata/interfaces.d.ts +13 -14
  663. package/pagination/index.d.ts +1 -2
  664. package/pagination/interfaces.d.ts +72 -73
  665. package/pagination/internal.d.ts +13 -3
  666. package/pagination/utils.d.ts +5 -6
  667. package/pie-chart/index.d.ts +21 -3
  668. package/pie-chart/interfaces.d.ts +221 -222
  669. package/pie-chart/labels.d.ts +19 -11
  670. package/pie-chart/pie-chart.d.ts +35 -13
  671. package/pie-chart/responsive-text.d.ts +17 -11
  672. package/pie-chart/segments.d.ts +23 -13
  673. package/pie-chart/utils.d.ts +22 -19
  674. package/popover/arrow.d.ts +2 -3
  675. package/popover/body.d.ts +22 -12
  676. package/popover/container.d.ts +48 -31
  677. package/popover/index.d.ts +1 -2
  678. package/popover/interfaces.d.ts +80 -81
  679. package/popover/internal.d.ts +8 -9
  680. package/popover/use-popover-position.d.ts +32 -20
  681. package/popover/utils/positions.d.ts +30 -20
  682. package/progress-bar/index.d.ts +15 -2
  683. package/progress-bar/interfaces.d.ts +70 -71
  684. package/progress-bar/internal.d.ts +35 -19
  685. package/prompt-input/index.d.ts +1 -2
  686. package/prompt-input/interfaces.d.ts +92 -93
  687. package/prompt-input/internal.d.ts +2 -4
  688. package/property-filter/analytics-metadata/interfaces.d.ts +24 -25
  689. package/property-filter/controller.d.ts +45 -41
  690. package/property-filter/filter-options.d.ts +1 -2
  691. package/property-filter/filtering-token/index.d.ts +27 -28
  692. package/property-filter/i18n-utils.d.ts +14 -15
  693. package/property-filter/index.d.ts +1 -2
  694. package/property-filter/interfaces.d.ts +325 -326
  695. package/property-filter/internal.d.ts +7 -8
  696. package/property-filter/property-editor.d.ts +45 -24
  697. package/property-filter/property-filter-autosuggest.d.ts +10 -11
  698. package/property-filter/token-editor-inputs.d.ts +41 -26
  699. package/property-filter/token-editor.d.ts +34 -18
  700. package/property-filter/token.d.ts +39 -21
  701. package/property-filter/use-load-items.d.ts +4 -5
  702. package/property-filter/utils.d.ts +9 -6
  703. package/radio-group/analytics-metadata/interfaces.d.ts +9 -10
  704. package/radio-group/index.d.ts +1 -2
  705. package/radio-group/interfaces.d.ts +64 -65
  706. package/radio-group/internal.d.ts +1 -2
  707. package/radio-group/radio-button.d.ts +6 -7
  708. package/s3-resource-selector/index.d.ts +1 -2
  709. package/s3-resource-selector/interfaces.d.ts +231 -232
  710. package/s3-resource-selector/s3-in-context/index.d.ts +12 -13
  711. package/s3-resource-selector/s3-in-context/search-input.d.ts +1 -2
  712. package/s3-resource-selector/s3-in-context/use-versions-fetch.d.ts +9 -10
  713. package/s3-resource-selector/s3-in-context/validation.d.ts +1 -2
  714. package/s3-resource-selector/s3-modal/basic-table.d.ts +35 -26
  715. package/s3-resource-selector/s3-modal/buckets-table.d.ts +21 -12
  716. package/s3-resource-selector/s3-modal/column-formats.d.ts +1 -2
  717. package/s3-resource-selector/s3-modal/empty-state.d.ts +9 -6
  718. package/s3-resource-selector/s3-modal/index.d.ts +34 -18
  719. package/s3-resource-selector/s3-modal/objects-table.d.ts +23 -13
  720. package/s3-resource-selector/s3-modal/table-utils.d.ts +4 -2
  721. package/s3-resource-selector/s3-modal/versions-table.d.ts +19 -11
  722. package/s3-resource-selector/utils.d.ts +1 -2
  723. package/segmented-control/index.d.ts +1 -2
  724. package/segmented-control/interfaces.d.ts +47 -48
  725. package/segmented-control/internal-segmented-control.d.ts +7 -2
  726. package/segmented-control/internal.d.ts +10 -3
  727. package/segmented-control/segment.d.ts +5 -6
  728. package/select/analytics-metadata/interfaces.d.ts +6 -7
  729. package/select/index.d.ts +1 -2
  730. package/select/interfaces.d.ts +182 -183
  731. package/select/internal.d.ts +2 -3
  732. package/select/parts/common.d.ts +1 -2
  733. package/select/parts/filter.d.ts +3 -4
  734. package/select/parts/item.d.ts +15 -16
  735. package/select/parts/multiselect-item.d.ts +2 -3
  736. package/select/parts/plain-list.d.ts +13 -14
  737. package/select/parts/trigger.d.ts +11 -12
  738. package/select/parts/virtual-list.d.ts +1 -2
  739. package/select/utils/check-option-value-field.d.ts +1 -2
  740. package/select/utils/connect-options.d.ts +1 -2
  741. package/select/utils/get-item-props.d.ts +13 -8
  742. package/select/utils/render-options.d.ts +29 -16
  743. package/select/utils/scroll-to-index.d.ts +7 -5
  744. package/select/utils/use-announcement.d.ts +16 -10
  745. package/select/utils/use-load-items.d.ts +12 -9
  746. package/select/utils/use-native-search.d.ts +13 -8
  747. package/select/utils/use-select.d.ts +50 -34
  748. package/side-navigation/analytics-metadata/interfaces.d.ts +13 -14
  749. package/side-navigation/implementation.d.ts +11 -3
  750. package/side-navigation/index.d.ts +4 -2
  751. package/side-navigation/interfaces.d.ts +171 -172
  752. package/side-navigation/internal.d.ts +1 -2
  753. package/side-navigation/parts.d.ts +21 -11
  754. package/side-navigation/util.d.ts +1 -2
  755. package/slider/index.d.ts +5 -2
  756. package/slider/interfaces.d.ts +74 -75
  757. package/slider/internal.d.ts +20 -5
  758. package/slider/slider-labels.d.ts +15 -9
  759. package/slider/tick-marks.d.ts +11 -12
  760. package/slider/utils.d.ts +3 -4
  761. package/space-between/index.d.ts +4 -2
  762. package/space-between/interfaces.d.ts +20 -21
  763. package/space-between/internal.d.ts +1 -2
  764. package/spinner/index.d.ts +5 -2
  765. package/spinner/interfaces.d.ts +11 -12
  766. package/spinner/internal.d.ts +8 -5
  767. package/split-panel/bottom.d.ts +16 -5
  768. package/split-panel/icons/bottom-icon-refresh.d.ts +1 -2
  769. package/split-panel/icons/bottom-icon.d.ts +1 -2
  770. package/split-panel/icons/side-position-refresh.d.ts +4 -5
  771. package/split-panel/icons/side-position.d.ts +1 -2
  772. package/split-panel/implementation.d.ts +10 -3
  773. package/split-panel/index.d.ts +6 -2
  774. package/split-panel/interfaces.d.ts +53 -54
  775. package/split-panel/internal.d.ts +1 -2
  776. package/split-panel/preferences-modal.d.ts +20 -21
  777. package/split-panel/side.d.ts +19 -6
  778. package/split-panel/utils/size-utils.d.ts +1 -2
  779. package/status-indicator/index.d.ts +5 -2
  780. package/status-indicator/internal.d.ts +48 -38
  781. package/steps/index.d.ts +5 -3
  782. package/steps/interfaces.d.ts +33 -34
  783. package/steps/internal.d.ts +9 -3
  784. package/table/analytics-metadata/interfaces.d.ts +44 -45
  785. package/table/body-cell/click-away.d.ts +1 -2
  786. package/table/body-cell/disabled-inline-editor.d.ts +12 -4
  787. package/table/body-cell/index.d.ts +8 -9
  788. package/table/body-cell/inline-editor.d.ts +17 -11
  789. package/table/body-cell/td-element.d.ts +36 -37
  790. package/table/column-widths-utils.d.ts +4 -5
  791. package/table/expandable-rows/expand-toggle-button.d.ts +11 -7
  792. package/table/expandable-rows/expandable-rows-utils.d.ts +24 -20
  793. package/table/header-cell/index.d.ts +56 -29
  794. package/table/header-cell/th-element.d.ts +39 -20
  795. package/table/header-cell/utils.d.ts +1 -2
  796. package/table/index.d.ts +1 -2
  797. package/table/interfaces.d.ts +514 -515
  798. package/table/internal.d.ts +1 -2
  799. package/table/no-data-cell.d.ts +17 -10
  800. package/table/progressive-loading/items-loader.d.ts +22 -12
  801. package/table/progressive-loading/loader-cell.d.ts +7 -4
  802. package/table/progressive-loading/progressive-loading-utils.d.ts +15 -12
  803. package/table/resizer/index.d.ts +23 -13
  804. package/table/resizer/resizer-lookup.d.ts +5 -6
  805. package/table/selection/index.d.ts +1 -2
  806. package/table/selection/interfaces.d.ts +10 -11
  807. package/table/selection/selection-cell.d.ts +17 -9
  808. package/table/selection/selection-control.d.ts +23 -11
  809. package/table/selection/use-selection-focus-move.d.ts +7 -8
  810. package/table/selection/use-selection.d.ts +6 -7
  811. package/table/selection/utils.d.ts +16 -17
  812. package/table/sticky-columns/index.d.ts +1 -2
  813. package/table/sticky-columns/interfaces.d.ts +21 -22
  814. package/table/sticky-columns/use-sticky-columns.d.ts +26 -19
  815. package/table/sticky-columns/utils.d.ts +1 -2
  816. package/table/sticky-header.d.ts +14 -15
  817. package/table/sticky-scrollbar/index.d.ts +1 -2
  818. package/table/sticky-scrollbar/sticky-scrollbar.d.ts +5 -6
  819. package/table/sticky-scrollbar/use-sticky-scrollbar.d.ts +1 -2
  820. package/table/sticky-scrolling.d.ts +3 -4
  821. package/table/table-role/grid-navigation.d.ts +6 -2
  822. package/table/table-role/index.d.ts +2 -3
  823. package/table/table-role/interfaces.d.ts +9 -10
  824. package/table/table-role/table-role-helper.d.ts +23 -24
  825. package/table/table-role/utils.d.ts +1 -2
  826. package/table/thead.d.ts +27 -28
  827. package/table/tools-header.d.ts +13 -8
  828. package/table/use-cell-editing.d.ts +22 -14
  829. package/table/use-column-widths.d.ts +16 -12
  830. package/table/use-prevent-sticky-click-scroll.d.ts +1 -2
  831. package/table/use-row-events.d.ts +7 -5
  832. package/table/use-sticky-header.d.ts +3 -4
  833. package/table/use-table-focus-navigation.d.ts +14 -9
  834. package/table/utils.d.ts +10 -7
  835. package/tabs/analytics-metadata/interfaces.d.ts +27 -28
  836. package/tabs/index.d.ts +14 -2
  837. package/tabs/interfaces.d.ts +154 -155
  838. package/tabs/native-smooth-scroll-supported.d.ts +1 -2
  839. package/tabs/scroll-utils.d.ts +1 -2
  840. package/tabs/smooth-scroll.d.ts +1 -2
  841. package/tabs/tab-header-bar.d.ts +29 -16
  842. package/tag-editor/index.d.ts +1 -2
  843. package/tag-editor/interfaces.d.ts +112 -113
  844. package/tag-editor/internal.d.ts +20 -21
  845. package/tag-editor/utils.d.ts +3 -4
  846. package/tag-editor/validation.d.ts +3 -4
  847. package/test-utils/dom/alert/index.d.ts +21 -21
  848. package/test-utils/dom/anchor-navigation/index.d.ts +12 -12
  849. package/test-utils/dom/annotation/index.d.ts +9 -9
  850. package/test-utils/dom/app-layout/index.d.ts +32 -32
  851. package/test-utils/dom/app-layout-toolbar/index.d.ts +2 -2
  852. package/test-utils/dom/area-chart/index.d.ts +8 -8
  853. package/test-utils/dom/attribute-editor/index.d.ts +30 -30
  854. package/test-utils/dom/autosuggest/index.d.ts +87 -87
  855. package/test-utils/dom/badge/index.d.ts +2 -2
  856. package/test-utils/dom/bar-chart/index.d.ts +2 -2
  857. package/test-utils/dom/box/index.d.ts +2 -2
  858. package/test-utils/dom/breadcrumb-group/index.d.ts +18 -18
  859. package/test-utils/dom/button/index.d.ts +6 -6
  860. package/test-utils/dom/button-dropdown/index.d.ts +41 -41
  861. package/test-utils/dom/button-group/index.d.ts +26 -26
  862. package/test-utils/dom/calendar/index.d.ts +24 -24
  863. package/test-utils/dom/cards/index.d.ts +31 -31
  864. package/test-utils/dom/checkbox/index.d.ts +6 -6
  865. package/test-utils/dom/code-editor/index.d.ts +17 -17
  866. package/test-utils/dom/collection-preferences/content-display-preference.d.ts +40 -40
  867. package/test-utils/dom/collection-preferences/index.d.ts +16 -16
  868. package/test-utils/dom/collection-preferences/page-size-preference.d.ts +4 -4
  869. package/test-utils/dom/collection-preferences/sticky-columns-preference.d.ts +6 -6
  870. package/test-utils/dom/collection-preferences/visible-content-preference.d.ts +12 -12
  871. package/test-utils/dom/column-layout/index.d.ts +2 -2
  872. package/test-utils/dom/container/index.d.ts +6 -6
  873. package/test-utils/dom/content-layout/index.d.ts +7 -7
  874. package/test-utils/dom/copy-to-clipboard/index.d.ts +15 -15
  875. package/test-utils/dom/date-input/index.d.ts +2 -2
  876. package/test-utils/dom/date-picker/index.d.ts +19 -19
  877. package/test-utils/dom/date-range-picker/index.d.ts +82 -82
  878. package/test-utils/dom/drawer/index.d.ts +5 -5
  879. package/test-utils/dom/expandable-section/index.d.ts +9 -9
  880. package/test-utils/dom/file-dropzone/index.d.ts +3 -3
  881. package/test-utils/dom/file-input/index.d.ts +4 -4
  882. package/test-utils/dom/file-token-group/index.d.ts +17 -17
  883. package/test-utils/dom/file-upload/index.d.ts +18 -18
  884. package/test-utils/dom/flashbar/flash.d.ts +20 -20
  885. package/test-utils/dom/flashbar/index.d.ts +20 -20
  886. package/test-utils/dom/form/index.d.ts +7 -7
  887. package/test-utils/dom/form-field/index.d.ts +10 -10
  888. package/test-utils/dom/grid/index.d.ts +7 -7
  889. package/test-utils/dom/header/index.d.ts +7 -7
  890. package/test-utils/dom/help-panel/index.d.ts +5 -5
  891. package/test-utils/dom/hotspot/index.d.ts +4 -4
  892. package/test-utils/dom/icon/index.d.ts +2 -2
  893. package/test-utils/dom/index.d.ts +1443 -1443
  894. package/test-utils/dom/input/base-input.d.ts +17 -17
  895. package/test-utils/dom/input/index.d.ts +3 -3
  896. package/test-utils/dom/internal/abstract-switch.d.ts +5 -5
  897. package/test-utils/dom/internal/autosuggest-input.d.ts +4 -4
  898. package/test-utils/dom/internal/chart-filter.d.ts +4 -4
  899. package/test-utils/dom/internal/chart-legend.d.ts +6 -6
  900. package/test-utils/dom/internal/chart-popover.d.ts +9 -9
  901. package/test-utils/dom/internal/chart-tooltip.d.ts +6 -6
  902. package/test-utils/dom/internal/charts.d.ts +5 -5
  903. package/test-utils/dom/internal/drag-handle.d.ts +7 -7
  904. package/test-utils/dom/internal/dropdown-host.d.ts +119 -119
  905. package/test-utils/dom/internal/dropdown.d.ts +3 -3
  906. package/test-utils/dom/internal/option.d.ts +7 -7
  907. package/test-utils/dom/internal/options-list.d.ts +2 -2
  908. package/test-utils/dom/internal/tooltip.d.ts +2 -2
  909. package/test-utils/dom/key-value-pairs/index.d.ts +8 -8
  910. package/test-utils/dom/line-chart/index.d.ts +2 -2
  911. package/test-utils/dom/link/index.d.ts +2 -2
  912. package/test-utils/dom/live-region/index.d.ts +2 -2
  913. package/test-utils/dom/mixed-line-bar-chart/index.d.ts +21 -21
  914. package/test-utils/dom/modal/index.d.ts +7 -7
  915. package/test-utils/dom/multiselect/index.d.ts +38 -38
  916. package/test-utils/dom/pagination/index.d.ts +13 -13
  917. package/test-utils/dom/pie-chart/index.d.ts +13 -13
  918. package/test-utils/dom/popover/index.d.ts +24 -24
  919. package/test-utils/dom/progress-bar/index.d.ts +14 -14
  920. package/test-utils/dom/prompt-input/index.d.ts +18 -18
  921. package/test-utils/dom/property-filter/index.d.ts +68 -68
  922. package/test-utils/dom/radio-group/index.d.ts +4 -4
  923. package/test-utils/dom/radio-group/radio-button.d.ts +5 -5
  924. package/test-utils/dom/s3-resource-selector/index.d.ts +11 -11
  925. package/test-utils/dom/segmented-control/index.d.ts +11 -11
  926. package/test-utils/dom/select/index.d.ts +28 -28
  927. package/test-utils/dom/side-navigation/index.d.ts +18 -18
  928. package/test-utils/dom/slider/index.d.ts +3 -3
  929. package/test-utils/dom/space-between/index.d.ts +2 -2
  930. package/test-utils/dom/spinner/index.d.ts +2 -2
  931. package/test-utils/dom/split-panel/index.d.ts +17 -17
  932. package/test-utils/dom/status-indicator/index.d.ts +2 -2
  933. package/test-utils/dom/steps/index.d.ts +14 -14
  934. package/test-utils/dom/table/index.d.ts +91 -91
  935. package/test-utils/dom/tabs/index.d.ts +68 -68
  936. package/test-utils/dom/tag-editor/index.d.ts +17 -17
  937. package/test-utils/dom/text-content/index.d.ts +2 -2
  938. package/test-utils/dom/text-filter/index.d.ts +4 -4
  939. package/test-utils/dom/textarea/index.d.ts +15 -15
  940. package/test-utils/dom/tiles/index.d.ts +5 -5
  941. package/test-utils/dom/tiles/tile.d.ts +7 -7
  942. package/test-utils/dom/time-input/index.d.ts +2 -2
  943. package/test-utils/dom/toggle/index.d.ts +6 -6
  944. package/test-utils/dom/toggle-button/index.d.ts +3 -3
  945. package/test-utils/dom/token-group/index.d.ts +13 -13
  946. package/test-utils/dom/token-group/token.d.ts +5 -5
  947. package/test-utils/dom/top-navigation/1.0-beta/index.d.ts +17 -17
  948. package/test-utils/dom/top-navigation/index.d.ts +23 -23
  949. package/test-utils/dom/tutorial-panel/index.d.ts +12 -12
  950. package/test-utils/dom/tutorial-panel/tutorial.d.ts +10 -10
  951. package/test-utils/dom/wizard/index.d.ts +22 -22
  952. package/test-utils/selectors/alert/index.d.ts +21 -21
  953. package/test-utils/selectors/anchor-navigation/index.d.ts +11 -11
  954. package/test-utils/selectors/annotation/index.d.ts +9 -9
  955. package/test-utils/selectors/app-layout/index.d.ts +32 -32
  956. package/test-utils/selectors/app-layout-toolbar/index.d.ts +2 -2
  957. package/test-utils/selectors/area-chart/index.d.ts +8 -8
  958. package/test-utils/selectors/attribute-editor/index.d.ts +30 -30
  959. package/test-utils/selectors/autosuggest/index.d.ts +67 -67
  960. package/test-utils/selectors/badge/index.d.ts +2 -2
  961. package/test-utils/selectors/bar-chart/index.d.ts +2 -2
  962. package/test-utils/selectors/box/index.d.ts +2 -2
  963. package/test-utils/selectors/breadcrumb-group/index.d.ts +18 -18
  964. package/test-utils/selectors/button/index.d.ts +5 -5
  965. package/test-utils/selectors/button-dropdown/index.d.ts +39 -39
  966. package/test-utils/selectors/button-group/index.d.ts +26 -26
  967. package/test-utils/selectors/calendar/index.d.ts +24 -24
  968. package/test-utils/selectors/cards/index.d.ts +31 -31
  969. package/test-utils/selectors/checkbox/index.d.ts +6 -6
  970. package/test-utils/selectors/code-editor/index.d.ts +11 -11
  971. package/test-utils/selectors/collection-preferences/content-display-preference.d.ts +40 -40
  972. package/test-utils/selectors/collection-preferences/index.d.ts +16 -16
  973. package/test-utils/selectors/collection-preferences/page-size-preference.d.ts +4 -4
  974. package/test-utils/selectors/collection-preferences/sticky-columns-preference.d.ts +6 -6
  975. package/test-utils/selectors/collection-preferences/visible-content-preference.d.ts +12 -12
  976. package/test-utils/selectors/column-layout/index.d.ts +2 -2
  977. package/test-utils/selectors/container/index.d.ts +6 -6
  978. package/test-utils/selectors/content-layout/index.d.ts +7 -7
  979. package/test-utils/selectors/copy-to-clipboard/index.d.ts +15 -15
  980. package/test-utils/selectors/date-input/index.d.ts +2 -2
  981. package/test-utils/selectors/date-picker/index.d.ts +11 -11
  982. package/test-utils/selectors/date-range-picker/index.d.ts +81 -81
  983. package/test-utils/selectors/drawer/index.d.ts +5 -5
  984. package/test-utils/selectors/expandable-section/index.d.ts +9 -9
  985. package/test-utils/selectors/file-dropzone/index.d.ts +3 -3
  986. package/test-utils/selectors/file-input/index.d.ts +4 -4
  987. package/test-utils/selectors/file-token-group/index.d.ts +17 -17
  988. package/test-utils/selectors/file-upload/index.d.ts +18 -18
  989. package/test-utils/selectors/flashbar/flash.d.ts +20 -20
  990. package/test-utils/selectors/flashbar/index.d.ts +20 -20
  991. package/test-utils/selectors/form/index.d.ts +7 -7
  992. package/test-utils/selectors/form-field/index.d.ts +10 -10
  993. package/test-utils/selectors/grid/index.d.ts +7 -7
  994. package/test-utils/selectors/header/index.d.ts +7 -7
  995. package/test-utils/selectors/help-panel/index.d.ts +5 -5
  996. package/test-utils/selectors/hotspot/index.d.ts +4 -4
  997. package/test-utils/selectors/icon/index.d.ts +2 -2
  998. package/test-utils/selectors/index.d.ts +1283 -1283
  999. package/test-utils/selectors/input/base-input.d.ts +2 -2
  1000. package/test-utils/selectors/input/index.d.ts +3 -3
  1001. package/test-utils/selectors/internal/abstract-switch.d.ts +5 -5
  1002. package/test-utils/selectors/internal/autosuggest-input.d.ts +4 -4
  1003. package/test-utils/selectors/internal/chart-filter.d.ts +4 -4
  1004. package/test-utils/selectors/internal/chart-legend.d.ts +6 -6
  1005. package/test-utils/selectors/internal/chart-popover.d.ts +9 -9
  1006. package/test-utils/selectors/internal/chart-tooltip.d.ts +6 -6
  1007. package/test-utils/selectors/internal/charts.d.ts +5 -5
  1008. package/test-utils/selectors/internal/drag-handle.d.ts +7 -7
  1009. package/test-utils/selectors/internal/dropdown-host.d.ts +56 -56
  1010. package/test-utils/selectors/internal/dropdown.d.ts +3 -3
  1011. package/test-utils/selectors/internal/option.d.ts +7 -7
  1012. package/test-utils/selectors/internal/options-list.d.ts +2 -2
  1013. package/test-utils/selectors/internal/tooltip.d.ts +2 -2
  1014. package/test-utils/selectors/key-value-pairs/index.d.ts +8 -8
  1015. package/test-utils/selectors/line-chart/index.d.ts +2 -2
  1016. package/test-utils/selectors/link/index.d.ts +2 -2
  1017. package/test-utils/selectors/live-region/index.d.ts +2 -2
  1018. package/test-utils/selectors/mixed-line-bar-chart/index.d.ts +21 -21
  1019. package/test-utils/selectors/modal/index.d.ts +6 -6
  1020. package/test-utils/selectors/multiselect/index.d.ts +37 -37
  1021. package/test-utils/selectors/pagination/index.d.ts +12 -12
  1022. package/test-utils/selectors/pie-chart/index.d.ts +13 -13
  1023. package/test-utils/selectors/popover/index.d.ts +24 -24
  1024. package/test-utils/selectors/progress-bar/index.d.ts +14 -14
  1025. package/test-utils/selectors/prompt-input/index.d.ts +6 -6
  1026. package/test-utils/selectors/property-filter/index.d.ts +68 -68
  1027. package/test-utils/selectors/radio-group/index.d.ts +4 -4
  1028. package/test-utils/selectors/radio-group/radio-button.d.ts +5 -5
  1029. package/test-utils/selectors/s3-resource-selector/index.d.ts +11 -11
  1030. package/test-utils/selectors/segmented-control/index.d.ts +11 -11
  1031. package/test-utils/selectors/select/index.d.ts +27 -27
  1032. package/test-utils/selectors/side-navigation/index.d.ts +18 -18
  1033. package/test-utils/selectors/slider/index.d.ts +3 -3
  1034. package/test-utils/selectors/space-between/index.d.ts +2 -2
  1035. package/test-utils/selectors/spinner/index.d.ts +2 -2
  1036. package/test-utils/selectors/split-panel/index.d.ts +17 -17
  1037. package/test-utils/selectors/status-indicator/index.d.ts +2 -2
  1038. package/test-utils/selectors/steps/index.d.ts +14 -14
  1039. package/test-utils/selectors/table/index.d.ts +90 -90
  1040. package/test-utils/selectors/tabs/index.d.ts +68 -68
  1041. package/test-utils/selectors/tag-editor/index.d.ts +17 -17
  1042. package/test-utils/selectors/text-content/index.d.ts +2 -2
  1043. package/test-utils/selectors/text-filter/index.d.ts +4 -4
  1044. package/test-utils/selectors/textarea/index.d.ts +3 -3
  1045. package/test-utils/selectors/tiles/index.d.ts +5 -5
  1046. package/test-utils/selectors/tiles/tile.d.ts +7 -7
  1047. package/test-utils/selectors/time-input/index.d.ts +2 -2
  1048. package/test-utils/selectors/toggle/index.d.ts +6 -6
  1049. package/test-utils/selectors/toggle-button/index.d.ts +2 -2
  1050. package/test-utils/selectors/token-group/index.d.ts +13 -13
  1051. package/test-utils/selectors/token-group/token.d.ts +5 -5
  1052. package/test-utils/selectors/top-navigation/1.0-beta/index.d.ts +17 -17
  1053. package/test-utils/selectors/top-navigation/index.d.ts +23 -23
  1054. package/test-utils/selectors/tutorial-panel/index.d.ts +12 -12
  1055. package/test-utils/selectors/tutorial-panel/tutorial.d.ts +10 -10
  1056. package/test-utils/selectors/wizard/index.d.ts +22 -22
  1057. package/text-content/index.d.ts +4 -2
  1058. package/text-content/interfaces.d.ts +6 -7
  1059. package/text-filter/analytics/use-table-integration.d.ts +1 -2
  1060. package/text-filter/analytics-metadata/interfaces.d.ts +6 -7
  1061. package/text-filter/index.d.ts +1 -2
  1062. package/text-filter/interfaces.d.ts +54 -55
  1063. package/text-filter/internal.d.ts +1 -2
  1064. package/text-filter/search-results.d.ts +4 -5
  1065. package/text-filter/use-debounce-search-result-callback.d.ts +10 -6
  1066. package/textarea/index.d.ts +1 -2
  1067. package/textarea/interfaces.d.ts +26 -27
  1068. package/theming/index.d.ts +13 -8
  1069. package/tiles/analytics-metadata/interfaces.d.ts +9 -10
  1070. package/tiles/index.d.ts +1 -2
  1071. package/tiles/interfaces.d.ts +70 -71
  1072. package/tiles/internal.d.ts +1 -2
  1073. package/tiles/tile.d.ts +7 -8
  1074. package/time-input/index.d.ts +1 -2
  1075. package/time-input/interfaces.d.ts +26 -27
  1076. package/time-input/internal.d.ts +1 -2
  1077. package/toggle/analytics-metadata/interfaces.d.ts +11 -12
  1078. package/toggle/index.d.ts +1 -2
  1079. package/toggle/interfaces.d.ts +16 -17
  1080. package/toggle/internal.d.ts +2 -3
  1081. package/toggle-button/index.d.ts +1 -2
  1082. package/toggle-button/interfaces.d.ts +68 -69
  1083. package/toggle-button/internal.d.ts +2 -3
  1084. package/toggle-button/util.d.ts +1 -2
  1085. package/token-group/analytics-metadata/interfaces.d.ts +11 -12
  1086. package/token-group/dismiss-button.d.ts +5 -6
  1087. package/token-group/index.d.ts +5 -2
  1088. package/token-group/interfaces.d.ts +75 -76
  1089. package/token-group/internal.d.ts +14 -3
  1090. package/token-group/token.d.ts +17 -10
  1091. package/top-navigation/1.0-beta/index.d.ts +4 -2
  1092. package/top-navigation/1.0-beta/interfaces.d.ts +94 -95
  1093. package/top-navigation/1.0-beta/internal.d.ts +9 -3
  1094. package/top-navigation/1.0-beta/parts/overflow-menu.d.ts +13 -10
  1095. package/top-navigation/1.0-beta/parts/utility.d.ts +10 -6
  1096. package/top-navigation/1.0-beta/use-top-navigation.d.ts +21 -17
  1097. package/top-navigation/index.d.ts +4 -2
  1098. package/top-navigation/interfaces.d.ts +108 -109
  1099. package/top-navigation/internal.d.ts +9 -3
  1100. package/top-navigation/parts/overflow-menu/header.d.ts +7 -8
  1101. package/top-navigation/parts/overflow-menu/index.d.ts +14 -9
  1102. package/top-navigation/parts/overflow-menu/menu-item.d.ts +4 -5
  1103. package/top-navigation/parts/overflow-menu/router.d.ts +15 -11
  1104. package/top-navigation/parts/overflow-menu/views/submenu.d.ts +12 -5
  1105. package/top-navigation/parts/overflow-menu/views/utilities.d.ts +10 -5
  1106. package/top-navigation/parts/utility.d.ts +8 -5
  1107. package/top-navigation/use-top-navigation.d.ts +29 -26
  1108. package/tutorial-panel/components/tutorial-detail-view/congratulation-screen.d.ts +9 -6
  1109. package/tutorial-panel/components/tutorial-detail-view/index.d.ts +13 -8
  1110. package/tutorial-panel/components/tutorial-detail-view/task-list.d.ts +11 -7
  1111. package/tutorial-panel/components/tutorial-detail-view/task.d.ts +15 -9
  1112. package/tutorial-panel/components/tutorial-list/index.d.ts +13 -8
  1113. package/tutorial-panel/index.d.ts +8 -2
  1114. package/tutorial-panel/interfaces.d.ts +169 -170
  1115. package/wizard/analytics-metadata/interfaces.d.ts +25 -26
  1116. package/wizard/analytics-metadata/utils.d.ts +3 -4
  1117. package/wizard/analytics.d.ts +5 -6
  1118. package/wizard/index.d.ts +6 -3
  1119. package/wizard/interfaces.d.ts +145 -146
  1120. package/wizard/internal.d.ts +16 -4
  1121. package/wizard/unmount.d.ts +5 -6
  1122. package/wizard/wizard-actions.d.ts +33 -18
  1123. package/wizard/wizard-form-header.d.ts +5 -4
  1124. package/wizard/wizard-form.d.ts +13 -14
  1125. package/wizard/wizard-navigation.d.ts +21 -12
  1126. /package/button/{index.js.map → internal-do-not-use-core.js.map} +0 -0
  1127. /package/container/{index.js.map → internal-do-not-use-core.js.map} +0 -0
  1128. /package/flashbar/{index.js.map → internal-do-not-use-core.js.map} +0 -0
@@ -3,182 +3,222 @@ import { ButtonProps } from '../button/interfaces';
3
3
  import { ErrorContext } from '../internal/analytics/interfaces';
4
4
  import { BaseComponentProps } from '../internal/base-component';
5
5
  export declare namespace FlashbarProps {
6
- interface MessageDefinition {
7
- header?: React.ReactNode;
8
- content?: React.ReactNode;
9
- dismissible?: boolean;
10
- dismissLabel?: string;
11
- statusIconAriaLabel?: string;
12
- loading?: boolean;
13
- type?: FlashbarProps.Type;
14
- ariaRole?: FlashbarProps.AriaRole;
15
- action?: React.ReactNode;
16
- id?: string;
17
- buttonText?: ButtonProps['children'];
18
- onButtonClick?: ButtonProps['onClick'];
19
- onDismiss?: ButtonProps['onClick'];
20
- analyticsMetadata?: FlashbarProps.ItemAnalyticsMetadata;
21
- }
22
- interface ItemAnalyticsMetadata {
23
- suppressFlowMetricEvents?: boolean;
24
- errorContext?: ErrorContext;
25
- }
26
- interface I18nStrings {
27
- ariaLabel?: string;
28
- errorIconAriaLabel?: string;
29
- infoIconAriaLabel?: string;
30
- inProgressIconAriaLabel?: string;
31
- notificationBarAriaLabel?: string;
32
- notificationBarText?: string;
33
- successIconAriaLabel?: string;
34
- warningIconAriaLabel?: string;
35
- }
36
- interface Style {
37
- item?: {
38
- root?: {
39
- background?: {
40
- error?: string;
41
- info?: string;
42
- inProgress?: string;
43
- success?: string;
44
- warning?: string;
45
- };
46
- borderColor?: {
47
- error?: string;
48
- info?: string;
49
- inProgress?: string;
50
- success?: string;
51
- warning?: string;
52
- };
53
- borderRadius?: string;
54
- borderWidth?: string;
55
- color?: {
56
- error?: string;
57
- info?: string;
58
- inProgress?: string;
59
- success?: string;
60
- warning?: string;
61
- };
62
- focusRing?: {
63
- borderColor?: string;
64
- borderRadius?: string;
65
- borderWidth?: string;
66
- };
67
- };
68
- dismissButton?: {
69
- color?: {
70
- active?: string;
71
- default?: string;
72
- hover?: string;
73
- };
74
- focusRing?: {
75
- borderColor?: string;
76
- borderRadius?: string;
77
- borderWidth?: string;
78
- };
79
- };
6
+ interface MessageDefinition {
7
+ header?: React.ReactNode;
8
+ content?: React.ReactNode;
9
+ dismissible?: boolean;
10
+ dismissLabel?: string;
11
+ statusIconAriaLabel?: string;
12
+ loading?: boolean;
13
+ type?: FlashbarProps.Type;
14
+ ariaRole?: FlashbarProps.AriaRole;
15
+ action?: React.ReactNode;
16
+ id?: string;
17
+ buttonText?: ButtonProps['children'];
18
+ onButtonClick?: ButtonProps['onClick'];
19
+ onDismiss?: ButtonProps['onClick'];
20
+ analyticsMetadata?: FlashbarProps.ItemAnalyticsMetadata;
21
+ }
22
+ interface ItemAnalyticsMetadata {
23
+ suppressFlowMetricEvents?: boolean;
24
+ errorContext?: ErrorContext;
25
+ }
26
+ interface I18nStrings {
27
+ ariaLabel?: string;
28
+ errorIconAriaLabel?: string;
29
+ infoIconAriaLabel?: string;
30
+ inProgressIconAriaLabel?: string;
31
+ notificationBarAriaLabel?: string;
32
+ notificationBarText?: string;
33
+ successIconAriaLabel?: string;
34
+ warningIconAriaLabel?: string;
35
+ }
36
+ interface Style {
37
+ item?: {
38
+ root?: {
39
+ background?: {
40
+ error?: string;
41
+ info?: string;
42
+ inProgress?: string;
43
+ success?: string;
44
+ warning?: string;
80
45
  };
81
- notificationBar?: {
82
- root: {
83
- background?: {
84
- active?: string;
85
- default?: string;
86
- hover?: string;
87
- };
88
- borderColor?: {
89
- active?: string;
90
- default?: string;
91
- hover?: string;
92
- };
93
- borderRadius?: string;
94
- borderWidth?: string;
95
- color?: {
96
- active?: string;
97
- default?: string;
98
- hover?: string;
99
- };
100
- };
46
+ borderColor?: {
47
+ error?: string;
48
+ info?: string;
49
+ inProgress?: string;
50
+ success?: string;
51
+ warning?: string;
101
52
  };
102
- }
103
- type Type = 'success' | 'warning' | 'info' | 'error' | 'in-progress';
104
- type AriaRole = 'alert' | 'status';
53
+ borderRadius?: string;
54
+ borderWidth?: string;
55
+ color?: {
56
+ error?: string;
57
+ info?: string;
58
+ inProgress?: string;
59
+ success?: string;
60
+ warning?: string;
61
+ };
62
+ focusRing?: {
63
+ borderColor?: {
64
+ error?: string;
65
+ info?: string;
66
+ inProgress?: string;
67
+ success?: string;
68
+ warning?: string;
69
+ };
70
+ borderRadius?: string;
71
+ borderWidth?: string;
72
+ };
73
+ };
74
+ dismissButton?: {
75
+ color?: {
76
+ active?: {
77
+ error?: string;
78
+ info?: string;
79
+ inProgress?: string;
80
+ success?: string;
81
+ warning?: string;
82
+ };
83
+ default?: {
84
+ error?: string;
85
+ info?: string;
86
+ inProgress?: string;
87
+ success?: string;
88
+ warning?: string;
89
+ };
90
+ hover?: {
91
+ error?: string;
92
+ info?: string;
93
+ inProgress?: string;
94
+ success?: string;
95
+ warning?: string;
96
+ };
97
+ };
98
+ focusRing?: {
99
+ borderColor?: {
100
+ error?: string;
101
+ info?: string;
102
+ inProgress?: string;
103
+ success?: string;
104
+ warning?: string;
105
+ };
106
+ borderRadius?: string;
107
+ borderWidth?: string;
108
+ };
109
+ };
110
+ };
111
+ notificationBar?: {
112
+ root?: {
113
+ background?: {
114
+ active?: string;
115
+ default?: string;
116
+ hover?: string;
117
+ };
118
+ borderColor?: {
119
+ active?: string;
120
+ default?: string;
121
+ hover?: string;
122
+ };
123
+ borderRadius?: string;
124
+ borderWidth?: string;
125
+ color?: {
126
+ active?: string;
127
+ default?: string;
128
+ hover?: string;
129
+ };
130
+ };
131
+ expandButton?: {
132
+ focusRing?: {
133
+ borderColor?: string;
134
+ borderRadius?: string;
135
+ borderWidth?: string;
136
+ };
137
+ };
138
+ };
139
+ }
140
+ type Type = 'success' | 'warning' | 'info' | 'error' | 'in-progress';
141
+ type AriaRole = 'alert' | 'status';
105
142
  }
106
143
  export interface FlashbarProps extends BaseComponentProps {
107
- /**
108
- * Specifies flash messages that appear in the same order that they are listed.
109
- * The value is an array of flash message definition objects.
110
- *
111
- * A flash message object contains the following properties:
112
- * * `header` (ReactNode) - Specifies the heading text.
113
- * * `content` (ReactNode) - Specifies the primary text displayed in the flash element.
114
- * * `type` (string) - Indicates the type of the message to be displayed. Allowed values are as follows: `success, error, warning, info, in-progress`. The default is `info`.
115
- * * `loading` (boolean) - Replaces the status icon with a spinner and forces the type to `info`.
116
- * * `dismissible` (boolean) - Determines whether the component includes a close button icon. By default, the close button is not included.
117
- * When a user clicks on this button the `onDismiss` handler is called.
118
- * * `dismissLabel` (string) - Specifies an `aria-label` for to the dismiss icon button for improved accessibility.
119
- * * `statusIconAriaLabel` (string) - Specifies an `aria-label` for to the status icon for improved accessibility.
120
- * If not provided, `i18nStrings.{type}IconAriaLabel` will be used as a fallback.
121
- * * `ariaRole` (string) - For flash messages added after page load, specifies how this message is communicated to assistive
122
- * technology. Use "status" for status updates or informational content. Use "alert" for important messages that need the
123
- * user's attention.
124
- * * `action` (ReactNode) - Specifies an action for the flash message. Although it is technically possible to insert any content,
125
- * our UX guidelines only allow you to add a button.
126
- * * `buttonText` (string) - Specifies that an action button should be displayed, with the specified text.
127
- * When a user clicks on this button the `onButtonClick` handler is called.
128
- * If the `action` property is set, this property is ignored. **Deprecated**, replaced by `action`.
129
- * * `onButtonClick` (event => void) - Called when a user clicks on the action button. This is not called if you create a custom button
130
- * using the `action` property. **Deprecated**, replaced by `action`.
131
- * * `id` (string) - Specifies a unique flash message identifier. This property is used in two ways:
132
- * 1. As a [keys](https://reactjs.org/docs/lists-and-keys.html#keys) source for React rendering.
133
- * 2. To identify which flash message will be removed from the DOM when it is dismissed, to animate it out.
134
- * * `analyticsMetadata` (FlashbarProps.ItemAnalyticsMetadata) - (Optional) Specifies additional analytics-related metadata.
135
- * * `suppressFlowMetricEvents` - Prevent this item from generating events related to flow metrics.
136
- * @analytics
137
- */
138
- items: ReadonlyArray<FlashbarProps.MessageDefinition>;
139
- /**
140
- * Specifies whether flash messages should be stacked.
141
- */
142
- stackItems?: boolean;
143
- /**
144
- * An object containing all the necessary localized strings required by the component. The object should contain:
145
- *
146
- * * `ariaLabel` - Specifies the ARIA label for the list of notifications.
147
- *
148
- * If `stackItems` is set to `true`, it should also contain:
149
- *
150
- * * `notificationBarAriaLabel` - (optional) Specifies the ARIA label for the notification bar
151
- * * `notificationBarText` - (optional) Specifies the text shown in the notification bar
152
- * * `errorIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `error`.
153
- * * `warningIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `warning`.
154
- * * `infoIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `info`.
155
- * * `successIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `success`.
156
- * * `inProgressIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `in-progress` or with `loading` set to `true`.
157
- * @i18n
158
- */
159
- i18nStrings?: FlashbarProps.I18nStrings;
160
- /**
161
- * Specifies an object of selectors and properties that are used to apply custom styles.
162
- *
163
- * - `item.root.background` {error, info, inProgress, success, warning} - (Optional) Background for item types.
164
- * - `item.root.borderColor` {error, info, inProgress, success, warning} - (Optional) Border color for item types.
165
- * - `item.root.borderRadius` (string) - (Optional) Item border radius.
166
- * - `item.root.borderWidth` (string) - (Optional) Item border width.
167
- * - `item.root.color` {error, info, inProgress, success, warning} - (Optional) Color for item types.
168
- * - `item.root.focusRing.borderColor` (string) - (Optional) Item focus ring border color.
169
- * - `item.root.focusRing.borderRadius` (string) - (Optional) Item focus ring border radius.
170
- * - `item.root.focusRing.borderWidth` (string) - (Optional) Item focus ring border width.
171
- * - `item.dismissButton.color` {active, default, hover} - (Optional) Color for dismiss button states.
172
- * - `item.dismissButton.focusRing.borderColor` (string) - (Optional) Dismiss button focus ring border color.
173
- * - `item.dismissButton.focusRing.borderRadius` (string) - (Optional) Dismiss button focus ring border radius.
174
- * - `item.dismissButton.focusRing.borderWidth` (string) - (Optional) Dismiss button focus ring border width.
175
- * - `notificationBar.root.background` {active, default, hover} - (Optional) Background for notification bar states.
176
- * - `notificationBar.root.borderColor` {active, default, hover} - (Optional) Border color for notification bar states.
177
- * - `notificationBar.root.borderRadius` (string) - (Optional) Notification bar border radius.
178
- * - `notificationBar.root.borderWidth` (string) - (Optional) Notification bar border width.
179
- * - `notificationBar.root.color` {active, default, hover} - (Optional) Color for notification bar states.
180
- * @awsuiSystem core
181
- */
182
- style?: FlashbarProps.Style;
183
- }
184
- //# sourceMappingURL=interfaces.d.ts.map
144
+ /**
145
+ * Specifies flash messages that appear in the same order that they are listed.
146
+ * The value is an array of flash message definition objects.
147
+ *
148
+ * A flash message object contains the following properties:
149
+ * * `header` (ReactNode) - Specifies the heading text.
150
+ * * `content` (ReactNode) - Specifies the primary text displayed in the flash element.
151
+ * * `type` (string) - Indicates the type of the message to be displayed. Allowed values are as follows: `success, error, warning, info, in-progress`. The default is `info`.
152
+ * * `loading` (boolean) - Replaces the status icon with a spinner and forces the type to `info`.
153
+ * * `dismissible` (boolean) - Determines whether the component includes a close button icon. By default, the close button is not included.
154
+ * When a user clicks on this button the `onDismiss` handler is called.
155
+ * * `dismissLabel` (string) - Specifies an `aria-label` for to the dismiss icon button for improved accessibility.
156
+ * * `statusIconAriaLabel` (string) - Specifies an `aria-label` for to the status icon for improved accessibility.
157
+ * If not provided, `i18nStrings.{type}IconAriaLabel` will be used as a fallback.
158
+ * * `ariaRole` (string) - For flash messages added after page load, specifies how this message is communicated to assistive
159
+ * technology. Use "status" for status updates or informational content. Use "alert" for important messages that need the
160
+ * user's attention.
161
+ * * `action` (ReactNode) - Specifies an action for the flash message. Although it is technically possible to insert any content,
162
+ * our UX guidelines only allow you to add a button.
163
+ * * `buttonText` (string) - Specifies that an action button should be displayed, with the specified text.
164
+ * When a user clicks on this button the `onButtonClick` handler is called.
165
+ * If the `action` property is set, this property is ignored. **Deprecated**, replaced by `action`.
166
+ * * `onButtonClick` (event => void) - Called when a user clicks on the action button. This is not called if you create a custom button
167
+ * using the `action` property. **Deprecated**, replaced by `action`.
168
+ * * `id` (string) - Specifies a unique flash message identifier. This property is used in two ways:
169
+ * 1. As a [keys](https://reactjs.org/docs/lists-and-keys.html#keys) source for React rendering.
170
+ * 2. To identify which flash message will be removed from the DOM when it is dismissed, to animate it out.
171
+ * * `analyticsMetadata` (FlashbarProps.ItemAnalyticsMetadata) - (Optional) Specifies additional analytics-related metadata.
172
+ * * `suppressFlowMetricEvents` - Prevent this item from generating events related to flow metrics.
173
+ * @analytics
174
+ */
175
+ items: ReadonlyArray<FlashbarProps.MessageDefinition>;
176
+ /**
177
+ * Specifies whether flash messages should be stacked.
178
+ */
179
+ stackItems?: boolean;
180
+ /**
181
+ * An object containing all the necessary localized strings required by the component. The object should contain:
182
+ *
183
+ * * `ariaLabel` - Specifies the ARIA label for the list of notifications.
184
+ *
185
+ * If `stackItems` is set to `true`, it should also contain:
186
+ *
187
+ * * `notificationBarAriaLabel` - (optional) Specifies the ARIA label for the notification bar
188
+ * * `notificationBarText` - (optional) Specifies the text shown in the notification bar
189
+ * * `errorIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `error`.
190
+ * * `warningIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `warning`.
191
+ * * `infoIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `info`.
192
+ * * `successIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `success`.
193
+ * * `inProgressIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `in-progress` or with `loading` set to `true`.
194
+ * @i18n
195
+ */
196
+ i18nStrings?: FlashbarProps.I18nStrings;
197
+ /**
198
+ * Specifies an object of selectors and properties that are used to apply custom styles.
199
+ *
200
+ * - `item.root.background` {error, info, inProgress, success, warning} - (Optional) Background for item types.
201
+ * - `item.root.borderColor` {error, info, inProgress, success, warning} - (Optional) Border color for item types.
202
+ * - `item.root.borderRadius` (string) - (Optional) Item border radius.
203
+ * - `item.root.borderWidth` (string) - (Optional) Item border width.
204
+ * - `item.root.color` {error, info, inProgress, success, warning} - (Optional) Color for item types.
205
+ * - `item.root.focusRing.borderColor` {error, info, inProgress, success, warning} - (Optional) Item focus ring border color.
206
+ * - `item.root.focusRing.borderRadius` (string) - (Optional) Item focus ring border radius.
207
+ * - `item.root.focusRing.borderWidth` (string) - (Optional) Item focus ring border width.
208
+ * - `item.dismissButton.color.active` {error, info, inProgress, success, warning} - (Optional) Color for dismiss button active state.
209
+ * - `item.dismissButton.color.default` {error, info, inProgress, success, warning} - (Optional) Color for dismiss button default state.
210
+ * - `item.dismissButton.color.hover` {error, info, inProgress, success, warning} - (Optional) Color for dismiss button hover state.
211
+ * - `item.dismissButton.focusRing.borderColor` {error, info, inProgress, success, warning} - (Optional) Dismiss button focus ring border color.
212
+ * - `item.dismissButton.focusRing.borderRadius` (string) - (Optional) Dismiss button focus ring border radius.
213
+ * - `item.dismissButton.focusRing.borderWidth` (string) - (Optional) Dismiss button focus ring border width.
214
+ * - `notificationBar.root.background` {active, default, hover} - (Optional) Background for notification bar states.
215
+ * - `notificationBar.root.borderColor` {active, default, hover} - (Optional) Border color for notification bar states.
216
+ * - `notificationBar.root.borderRadius` (string) - (Optional) Notification bar border radius.
217
+ * - `notificationBar.root.borderWidth` (string) - (Optional) Notification bar border width.
218
+ * - `notificationBar.root.color` {active, default, hover} - (Optional) Color for notification bar states.
219
+ * - `notificationBar.expandButton.focusRing.borderColor` (string) - (Optional) Border color for the expand button.
220
+ * - `notificationBar.expandButton.focusRing.borderRadius` (string) - (Optional) Border radius for the expand button.
221
+ * - `notificationBar.expandButton.focusRing.borderWidth` (string) - (Optional) Border width for the expand button.
222
+ * @awsuiSystem core
223
+ */
224
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/flashbar/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,yBAAiB,aAAa,CAAC;IAC7B,UAAiB,iBAAiB;QAChC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,IAAI,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC;QAC1B,QAAQ,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC;QAClC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,UAAU,CAAC,EA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AAM,CAAC;iBACtB,CAAC;aACH,CAAC;SACH,CAAC;KACH;IAED,KAAY,IAAI,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,aAAa,CAAC;IAC5E,KAAY,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;CAC3C;AAED,MAAM,WAAW,aAAc,SAAQ,kBAAkB;IACvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,KAAK,EAAE,aAAa,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAEtD;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;;;;;;;;;;;;OAeG;IACH,WAAW,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC,KAAK,CAAC;CAC7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/flashbar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { ButtonProps } from '../button/interfaces';\nimport { ErrorContext } from '../internal/analytics/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport namespace FlashbarProps {\n export interface MessageDefinition {\n header?: React.ReactNode;\n content?: React.ReactNode;\n dismissible?: boolean;\n dismissLabel?: string;\n statusIconAriaLabel?: string;\n loading?: boolean;\n type?: FlashbarProps.Type;\n ariaRole?: FlashbarProps.AriaRole;\n action?: React.ReactNode;\n id?: string;\n buttonText?: ButtonProps['children'];\n onButtonClick?: ButtonProps['onClick'];\n onDismiss?: ButtonProps['onClick'];\n analyticsMetadata?: FlashbarProps.ItemAnalyticsMetadata;\n }\n\n export interface ItemAnalyticsMetadata {\n suppressFlowMetricEvents?: boolean;\n errorContext?: ErrorContext;\n }\n\n export interface I18nStrings {\n ariaLabel?: string;\n errorIconAriaLabel?: string;\n infoIconAriaLabel?: string;\n inProgressIconAriaLabel?: string;\n notificationBarAriaLabel?: string;\n notificationBarText?: string;\n successIconAriaLabel?: string;\n warningIconAriaLabel?: string;\n }\n\n export interface Style {\n item?: {\n root?: {\n background?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n borderColor?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n color?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n dismissButton?: {\n color?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n };\n notificationBar?: {\n root: {\n background?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n borderColor?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n color?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n };\n };\n }\n\n export type Type = 'success' | 'warning' | 'info' | 'error' | 'in-progress';\n export type AriaRole = 'alert' | 'status';\n}\n\nexport interface FlashbarProps extends BaseComponentProps {\n /**\n * Specifies flash messages that appear in the same order that they are listed.\n * The value is an array of flash message definition objects.\n *\n * A flash message object contains the following properties:\n * * `header` (ReactNode) - Specifies the heading text.\n * * `content` (ReactNode) - Specifies the primary text displayed in the flash element.\n * * `type` (string) - Indicates the type of the message to be displayed. Allowed values are as follows: `success, error, warning, info, in-progress`. The default is `info`.\n * * `loading` (boolean) - Replaces the status icon with a spinner and forces the type to `info`.\n * * `dismissible` (boolean) - Determines whether the component includes a close button icon. By default, the close button is not included.\n * When a user clicks on this button the `onDismiss` handler is called.\n * * `dismissLabel` (string) - Specifies an `aria-label` for to the dismiss icon button for improved accessibility.\n * * `statusIconAriaLabel` (string) - Specifies an `aria-label` for to the status icon for improved accessibility.\n * If not provided, `i18nStrings.{type}IconAriaLabel` will be used as a fallback.\n * * `ariaRole` (string) - For flash messages added after page load, specifies how this message is communicated to assistive\n * technology. Use \"status\" for status updates or informational content. Use \"alert\" for important messages that need the\n * user's attention.\n * * `action` (ReactNode) - Specifies an action for the flash message. Although it is technically possible to insert any content,\n * our UX guidelines only allow you to add a button.\n * * `buttonText` (string) - Specifies that an action button should be displayed, with the specified text.\n * When a user clicks on this button the `onButtonClick` handler is called.\n * If the `action` property is set, this property is ignored. **Deprecated**, replaced by `action`.\n * * `onButtonClick` (event => void) - Called when a user clicks on the action button. This is not called if you create a custom button\n * using the `action` property. **Deprecated**, replaced by `action`.\n * * `id` (string) - Specifies a unique flash message identifier. This property is used in two ways:\n * 1. As a [keys](https://reactjs.org/docs/lists-and-keys.html#keys) source for React rendering.\n * 2. To identify which flash message will be removed from the DOM when it is dismissed, to animate it out.\n * * `analyticsMetadata` (FlashbarProps.ItemAnalyticsMetadata) - (Optional) Specifies additional analytics-related metadata.\n * * `suppressFlowMetricEvents` - Prevent this item from generating events related to flow metrics.\n * @analytics\n */\n items: ReadonlyArray<FlashbarProps.MessageDefinition>;\n\n /**\n * Specifies whether flash messages should be stacked.\n */\n stackItems?: boolean;\n\n /**\n * An object containing all the necessary localized strings required by the component. The object should contain:\n *\n * * `ariaLabel` - Specifies the ARIA label for the list of notifications.\n *\n * If `stackItems` is set to `true`, it should also contain:\n *\n * * `notificationBarAriaLabel` - (optional) Specifies the ARIA label for the notification bar\n * * `notificationBarText` - (optional) Specifies the text shown in the notification bar\n * * `errorIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `error`.\n * * `warningIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `warning`.\n * * `infoIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `info`.\n * * `successIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `success`.\n * * `inProgressIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `in-progress` or with `loading` set to `true`.\n * @i18n\n */\n i18nStrings?: FlashbarProps.I18nStrings;\n\n /**\n * Specifies an object of selectors and properties that are used to apply custom styles.\n *\n * - `item.root.background` {error, info, inProgress, success, warning} - (Optional) Background for item types.\n * - `item.root.borderColor` {error, info, inProgress, success, warning} - (Optional) Border color for item types.\n * - `item.root.borderRadius` (string) - (Optional) Item border radius.\n * - `item.root.borderWidth` (string) - (Optional) Item border width.\n * - `item.root.color` {error, info, inProgress, success, warning} - (Optional) Color for item types.\n * - `item.root.focusRing.borderColor` (string) - (Optional) Item focus ring border color.\n * - `item.root.focusRing.borderRadius` (string) - (Optional) Item focus ring border radius.\n * - `item.root.focusRing.borderWidth` (string) - (Optional) Item focus ring border width.\n * - `item.dismissButton.color` {active, default, hover} - (Optional) Color for dismiss button states.\n * - `item.dismissButton.focusRing.borderColor` (string) - (Optional) Dismiss button focus ring border color.\n * - `item.dismissButton.focusRing.borderRadius` (string) - (Optional) Dismiss button focus ring border radius.\n * - `item.dismissButton.focusRing.borderWidth` (string) - (Optional) Dismiss button focus ring border width.\n * - `notificationBar.root.background` {active, default, hover} - (Optional) Background for notification bar states.\n * - `notificationBar.root.borderColor` {active, default, hover} - (Optional) Border color for notification bar states.\n * - `notificationBar.root.borderRadius` (string) - (Optional) Notification bar border radius.\n * - `notificationBar.root.borderWidth` (string) - (Optional) Notification bar border width.\n * - `notificationBar.root.color` {active, default, hover} - (Optional) Color for notification bar states.\n * @awsuiSystem core\n */\n style?: FlashbarProps.Style;\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/flashbar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { ButtonProps } from '../button/interfaces';\nimport { ErrorContext } from '../internal/analytics/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport namespace FlashbarProps {\n export interface MessageDefinition {\n header?: React.ReactNode;\n content?: React.ReactNode;\n dismissible?: boolean;\n dismissLabel?: string;\n statusIconAriaLabel?: string;\n loading?: boolean;\n type?: FlashbarProps.Type;\n ariaRole?: FlashbarProps.AriaRole;\n action?: React.ReactNode;\n id?: string;\n buttonText?: ButtonProps['children'];\n onButtonClick?: ButtonProps['onClick'];\n onDismiss?: ButtonProps['onClick'];\n analyticsMetadata?: FlashbarProps.ItemAnalyticsMetadata;\n }\n\n export interface ItemAnalyticsMetadata {\n suppressFlowMetricEvents?: boolean;\n errorContext?: ErrorContext;\n }\n\n export interface I18nStrings {\n ariaLabel?: string;\n errorIconAriaLabel?: string;\n infoIconAriaLabel?: string;\n inProgressIconAriaLabel?: string;\n notificationBarAriaLabel?: string;\n notificationBarText?: string;\n successIconAriaLabel?: string;\n warningIconAriaLabel?: string;\n }\n\n export interface Style {\n item?: {\n root?: {\n background?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n borderColor?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n color?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n focusRing?: {\n borderColor?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n dismissButton?: {\n color?: {\n active?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n default?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n hover?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n };\n focusRing?: {\n borderColor?: {\n error?: string;\n info?: string;\n inProgress?: string;\n success?: string;\n warning?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n };\n notificationBar?: {\n root?: {\n background?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n borderColor?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n borderRadius?: string;\n borderWidth?: string;\n color?: {\n active?: string;\n default?: string;\n hover?: string;\n };\n };\n expandButton?: {\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n };\n }\n\n export type Type = 'success' | 'warning' | 'info' | 'error' | 'in-progress';\n export type AriaRole = 'alert' | 'status';\n}\n\nexport interface FlashbarProps extends BaseComponentProps {\n /**\n * Specifies flash messages that appear in the same order that they are listed.\n * The value is an array of flash message definition objects.\n *\n * A flash message object contains the following properties:\n * * `header` (ReactNode) - Specifies the heading text.\n * * `content` (ReactNode) - Specifies the primary text displayed in the flash element.\n * * `type` (string) - Indicates the type of the message to be displayed. Allowed values are as follows: `success, error, warning, info, in-progress`. The default is `info`.\n * * `loading` (boolean) - Replaces the status icon with a spinner and forces the type to `info`.\n * * `dismissible` (boolean) - Determines whether the component includes a close button icon. By default, the close button is not included.\n * When a user clicks on this button the `onDismiss` handler is called.\n * * `dismissLabel` (string) - Specifies an `aria-label` for to the dismiss icon button for improved accessibility.\n * * `statusIconAriaLabel` (string) - Specifies an `aria-label` for to the status icon for improved accessibility.\n * If not provided, `i18nStrings.{type}IconAriaLabel` will be used as a fallback.\n * * `ariaRole` (string) - For flash messages added after page load, specifies how this message is communicated to assistive\n * technology. Use \"status\" for status updates or informational content. Use \"alert\" for important messages that need the\n * user's attention.\n * * `action` (ReactNode) - Specifies an action for the flash message. Although it is technically possible to insert any content,\n * our UX guidelines only allow you to add a button.\n * * `buttonText` (string) - Specifies that an action button should be displayed, with the specified text.\n * When a user clicks on this button the `onButtonClick` handler is called.\n * If the `action` property is set, this property is ignored. **Deprecated**, replaced by `action`.\n * * `onButtonClick` (event => void) - Called when a user clicks on the action button. This is not called if you create a custom button\n * using the `action` property. **Deprecated**, replaced by `action`.\n * * `id` (string) - Specifies a unique flash message identifier. This property is used in two ways:\n * 1. As a [keys](https://reactjs.org/docs/lists-and-keys.html#keys) source for React rendering.\n * 2. To identify which flash message will be removed from the DOM when it is dismissed, to animate it out.\n * * `analyticsMetadata` (FlashbarProps.ItemAnalyticsMetadata) - (Optional) Specifies additional analytics-related metadata.\n * * `suppressFlowMetricEvents` - Prevent this item from generating events related to flow metrics.\n * @analytics\n */\n items: ReadonlyArray<FlashbarProps.MessageDefinition>;\n\n /**\n * Specifies whether flash messages should be stacked.\n */\n stackItems?: boolean;\n\n /**\n * An object containing all the necessary localized strings required by the component. The object should contain:\n *\n * * `ariaLabel` - Specifies the ARIA label for the list of notifications.\n *\n * If `stackItems` is set to `true`, it should also contain:\n *\n * * `notificationBarAriaLabel` - (optional) Specifies the ARIA label for the notification bar\n * * `notificationBarText` - (optional) Specifies the text shown in the notification bar\n * * `errorIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `error`.\n * * `warningIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `warning`.\n * * `infoIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `info`.\n * * `successIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `success`.\n * * `inProgressIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `in-progress` or with `loading` set to `true`.\n * @i18n\n */\n i18nStrings?: FlashbarProps.I18nStrings;\n\n /**\n * Specifies an object of selectors and properties that are used to apply custom styles.\n *\n * - `item.root.background` {error, info, inProgress, success, warning} - (Optional) Background for item types.\n * - `item.root.borderColor` {error, info, inProgress, success, warning} - (Optional) Border color for item types.\n * - `item.root.borderRadius` (string) - (Optional) Item border radius.\n * - `item.root.borderWidth` (string) - (Optional) Item border width.\n * - `item.root.color` {error, info, inProgress, success, warning} - (Optional) Color for item types.\n * - `item.root.focusRing.borderColor` {error, info, inProgress, success, warning} - (Optional) Item focus ring border color.\n * - `item.root.focusRing.borderRadius` (string) - (Optional) Item focus ring border radius.\n * - `item.root.focusRing.borderWidth` (string) - (Optional) Item focus ring border width.\n * - `item.dismissButton.color.active` {error, info, inProgress, success, warning} - (Optional) Color for dismiss button active state.\n * - `item.dismissButton.color.default` {error, info, inProgress, success, warning} - (Optional) Color for dismiss button default state.\n * - `item.dismissButton.color.hover` {error, info, inProgress, success, warning} - (Optional) Color for dismiss button hover state.\n * - `item.dismissButton.focusRing.borderColor` {error, info, inProgress, success, warning} - (Optional) Dismiss button focus ring border color.\n * - `item.dismissButton.focusRing.borderRadius` (string) - (Optional) Dismiss button focus ring border radius.\n * - `item.dismissButton.focusRing.borderWidth` (string) - (Optional) Dismiss button focus ring border width.\n * - `notificationBar.root.background` {active, default, hover} - (Optional) Background for notification bar states.\n * - `notificationBar.root.borderColor` {active, default, hover} - (Optional) Border color for notification bar states.\n * - `notificationBar.root.borderRadius` (string) - (Optional) Notification bar border radius.\n * - `notificationBar.root.borderWidth` (string) - (Optional) Notification bar border width.\n * - `notificationBar.root.color` {active, default, hover} - (Optional) Color for notification bar states.\n * - `notificationBar.expandButton.focusRing.borderColor` (string) - (Optional) Border color for the expand button.\n * - `notificationBar.expandButton.focusRing.borderRadius` (string) - (Optional) Border radius for the expand button.\n * - `notificationBar.expandButton.focusRing.borderWidth` (string) - (Optional) Border width for the expand button.\n * @awsuiSystem core\n */\n style?: FlashbarProps.Style;\n}\n"]}
@@ -0,0 +1,16 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import React from 'react';
4
+ import { applyDisplayName } from '../internal/utils/apply-display-name';
5
+ import CollapsibleFlashbar from './collapsible-flashbar';
6
+ import NonCollapsibleFlashbar from './non-collapsible-flashbar';
7
+ export default function Flashbar(props) {
8
+ if (props.stackItems) {
9
+ return React.createElement(CollapsibleFlashbar, Object.assign({}, props));
10
+ }
11
+ else {
12
+ return React.createElement(NonCollapsibleFlashbar, Object.assign({}, props));
13
+ }
14
+ }
15
+ applyDisplayName(Flashbar, 'Flashbar');
16
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { FlashbarProps } from './interfaces';
3
- export default function NonCollapsibleFlashbar({ items, i18nStrings, style, ...restProps }: FlashbarProps): JSX.Element;
4
- //# sourceMappingURL=non-collapsible-flashbar.d.ts.map
3
+ export default function NonCollapsibleFlashbar({
4
+ items,
5
+ i18nStrings,
6
+ style,
7
+ ...restProps
8
+ }: FlashbarProps): JSX.Element;
@@ -0,0 +1,35 @@
1
+ import { FlashbarProps } from './interfaces';
2
+ export declare function getCollapsibleFlashStyles(style: FlashbarProps.Style, type?: string): {
3
+ background: string | undefined;
4
+ borderColor: string | undefined;
5
+ borderRadius: string | undefined;
6
+ borderStyle: string | undefined;
7
+ borderWidth: string | undefined;
8
+ color: string | undefined;
9
+ };
10
+ export declare function getFlashStyles(style: FlashbarProps.Style, type?: string): {
11
+ background: string | undefined;
12
+ borderColor: string | undefined;
13
+ borderRadius: string | undefined;
14
+ borderStyle: string | undefined;
15
+ borderWidth: string | undefined;
16
+ color: string | undefined;
17
+ };
18
+ export declare function getDismissButtonStyles(style: FlashbarProps.Style, type?: string): {
19
+ root: {
20
+ color: {
21
+ active: string | undefined;
22
+ default: string | undefined;
23
+ hover: string | undefined;
24
+ };
25
+ focusRing: {
26
+ borderColor: string | undefined;
27
+ borderRadius: string | undefined;
28
+ borderWidth: string | undefined;
29
+ };
30
+ };
31
+ };
32
+ export declare function getNotificationBarStyles(style: FlashbarProps.Style): {
33
+ borderRadius: string | undefined;
34
+ borderWidth: string | undefined;
35
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/flashbar/style.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,EAAE,IAAI,GAAE,MAAe;;;;;;;EAiC1F;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,EAAE,IAAI,GAAE,MAAe;;;;;;;EAkB/E;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,EAAE,IAAI,GAAE,MAAe;;;;;;;;;;;;;EAyCvF;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK;;;EAwClE"}