@cloudscape-design/components 3.0.840 → 3.0.842

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 (1142) hide show
  1. package/alert/styles.css.js +28 -28
  2. package/alert/styles.scoped.css +49 -45
  3. package/alert/styles.selectors.js +28 -28
  4. package/anchor-navigation/styles.css.js +8 -8
  5. package/anchor-navigation/styles.scoped.css +24 -20
  6. package/anchor-navigation/styles.selectors.js +8 -8
  7. package/annotation-context/annotation/annotation-icon.d.ts +2 -1
  8. package/annotation-context/annotation/annotation-icon.d.ts.map +1 -1
  9. package/annotation-context/annotation/annotation-icon.js.map +1 -1
  10. package/annotation-context/annotation/annotation-popover.d.ts +2 -1
  11. package/annotation-context/annotation/annotation-popover.d.ts.map +1 -1
  12. package/annotation-context/annotation/annotation-popover.js.map +1 -1
  13. package/annotation-context/annotation/annotation-trigger.d.ts +1 -1
  14. package/annotation-context/annotation/annotation-trigger.d.ts.map +1 -1
  15. package/annotation-context/annotation/annotation-trigger.js.map +1 -1
  16. package/annotation-context/annotation/closed-annotation.d.ts +2 -1
  17. package/annotation-context/annotation/closed-annotation.d.ts.map +1 -1
  18. package/annotation-context/annotation/closed-annotation.js.map +1 -1
  19. package/annotation-context/annotation/open-annotation.d.ts +2 -1
  20. package/annotation-context/annotation/open-annotation.d.ts.map +1 -1
  21. package/annotation-context/annotation/open-annotation.js.map +1 -1
  22. package/annotation-context/annotation/styles.css.js +24 -24
  23. package/annotation-context/annotation/styles.scoped.css +36 -32
  24. package/annotation-context/annotation/styles.selectors.js +24 -24
  25. package/app-layout/classic.d.ts.map +1 -1
  26. package/app-layout/classic.js +7 -3
  27. package/app-layout/classic.js.map +1 -1
  28. package/app-layout/content-wrapper/styles.css.js +3 -3
  29. package/app-layout/content-wrapper/styles.scoped.css +10 -6
  30. package/app-layout/content-wrapper/styles.selectors.js +3 -3
  31. package/app-layout/defaults.d.ts +2 -1
  32. package/app-layout/defaults.d.ts.map +1 -1
  33. package/app-layout/defaults.js.map +1 -1
  34. package/app-layout/drawer/styles.css.js +14 -14
  35. package/app-layout/drawer/styles.scoped.css +28 -24
  36. package/app-layout/drawer/styles.selectors.js +14 -14
  37. package/app-layout/mobile-toolbar/styles.css.js +8 -8
  38. package/app-layout/mobile-toolbar/styles.scoped.css +12 -8
  39. package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
  40. package/app-layout/resize/styles.css.js +5 -5
  41. package/app-layout/resize/styles.scoped.css +16 -12
  42. package/app-layout/resize/styles.selectors.js +5 -5
  43. package/app-layout/split-panel/split-panel-forced-position.d.ts +5 -0
  44. package/app-layout/split-panel/split-panel-forced-position.d.ts.map +1 -0
  45. package/app-layout/split-panel/split-panel-forced-position.js +30 -0
  46. package/app-layout/split-panel/split-panel-forced-position.js.map +1 -0
  47. package/app-layout/split-panel/styles.css.js +2 -2
  48. package/app-layout/split-panel/styles.scoped.css +6 -2
  49. package/app-layout/split-panel/styles.selectors.js +2 -2
  50. package/app-layout/styles.css.js +12 -12
  51. package/app-layout/styles.scoped.css +16 -12
  52. package/app-layout/styles.selectors.js +12 -12
  53. package/app-layout/toggles/styles.css.js +2 -2
  54. package/app-layout/toggles/styles.scoped.css +12 -8
  55. package/app-layout/toggles/styles.selectors.js +2 -2
  56. package/app-layout/utils/use-resize.d.ts +1 -1
  57. package/app-layout/utils/use-resize.d.ts.map +1 -1
  58. package/app-layout/utils/use-resize.js.map +1 -1
  59. package/app-layout/utils/use-split-panel-focus-control.d.ts +2 -1
  60. package/app-layout/utils/use-split-panel-focus-control.d.ts.map +1 -1
  61. package/app-layout/utils/use-split-panel-focus-control.js.map +1 -1
  62. package/app-layout/visual-refresh/context.d.ts.map +1 -1
  63. package/app-layout/visual-refresh/context.js +5 -8
  64. package/app-layout/visual-refresh/context.js.map +1 -1
  65. package/app-layout/visual-refresh/drawers.d.ts +0 -8
  66. package/app-layout/visual-refresh/drawers.d.ts.map +1 -1
  67. package/app-layout/visual-refresh/drawers.js +1 -1
  68. package/app-layout/visual-refresh/drawers.js.map +1 -1
  69. package/app-layout/visual-refresh/styles.css.js +86 -86
  70. package/app-layout/visual-refresh/styles.scoped.css +167 -163
  71. package/app-layout/visual-refresh/styles.selectors.js +86 -86
  72. package/app-layout/visual-refresh-toolbar/compute-layout.d.ts.map +1 -1
  73. package/app-layout/visual-refresh-toolbar/compute-layout.js +6 -2
  74. package/app-layout/visual-refresh-toolbar/compute-layout.js.map +1 -1
  75. package/app-layout/visual-refresh-toolbar/drawer/local-drawer.js +1 -1
  76. package/app-layout/visual-refresh-toolbar/drawer/local-drawer.js.map +1 -1
  77. package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +10 -10
  78. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +17 -13
  79. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +10 -10
  80. package/app-layout/visual-refresh-toolbar/index.d.ts.map +1 -1
  81. package/app-layout/visual-refresh-toolbar/index.js +32 -2
  82. package/app-layout/visual-refresh-toolbar/index.js.map +1 -1
  83. package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
  84. package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +9 -5
  85. package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
  86. package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +19 -19
  87. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +39 -35
  88. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +19 -19
  89. package/app-layout/visual-refresh-toolbar/split-panel/index.d.ts +1 -1
  90. package/app-layout/visual-refresh-toolbar/split-panel/index.d.ts.map +1 -1
  91. package/app-layout/visual-refresh-toolbar/split-panel/index.js +3 -1
  92. package/app-layout/visual-refresh-toolbar/split-panel/index.js.map +1 -1
  93. package/app-layout/visual-refresh-toolbar/split-panel/styles.css.js +1 -1
  94. package/app-layout/visual-refresh-toolbar/split-panel/styles.scoped.css +5 -1
  95. package/app-layout/visual-refresh-toolbar/split-panel/styles.selectors.js +1 -1
  96. package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.d.ts.map +1 -1
  97. package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js +3 -5
  98. package/app-layout/visual-refresh-toolbar/toolbar/drawer-triggers.js.map +1 -1
  99. package/app-layout/visual-refresh-toolbar/toolbar/index.d.ts.map +1 -1
  100. package/app-layout/visual-refresh-toolbar/toolbar/index.js +4 -1
  101. package/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
  102. package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +13 -13
  103. package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +19 -15
  104. package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +13 -13
  105. package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +7 -7
  106. package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +23 -19
  107. package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +7 -7
  108. package/area-chart/elements/area-series.d.ts +1 -1
  109. package/area-chart/elements/area-series.d.ts.map +1 -1
  110. package/area-chart/elements/area-series.js.map +1 -1
  111. package/area-chart/elements/threshold-series.d.ts +1 -1
  112. package/area-chart/elements/threshold-series.d.ts.map +1 -1
  113. package/area-chart/elements/threshold-series.js.map +1 -1
  114. package/area-chart/styles.css.js +6 -6
  115. package/area-chart/styles.scoped.css +15 -11
  116. package/area-chart/styles.selectors.js +6 -6
  117. package/attribute-editor/internal.d.ts.map +1 -1
  118. package/attribute-editor/internal.js +5 -1
  119. package/attribute-editor/internal.js.map +1 -1
  120. package/attribute-editor/row.d.ts +2 -1
  121. package/attribute-editor/row.d.ts.map +1 -1
  122. package/attribute-editor/row.js.map +1 -1
  123. package/attribute-editor/styles.css.js +14 -14
  124. package/attribute-editor/styles.scoped.css +28 -24
  125. package/attribute-editor/styles.selectors.js +14 -14
  126. package/autosuggest/analytics-metadata/interfaces.d.ts +0 -4
  127. package/autosuggest/analytics-metadata/interfaces.d.ts.map +1 -1
  128. package/autosuggest/analytics-metadata/interfaces.js.map +1 -1
  129. package/autosuggest/autosuggest-option.d.ts +1 -1
  130. package/autosuggest/autosuggest-option.d.ts.map +1 -1
  131. package/autosuggest/autosuggest-option.js.map +1 -1
  132. package/autosuggest/internal.d.ts +1 -1
  133. package/autosuggest/internal.d.ts.map +1 -1
  134. package/autosuggest/internal.js.map +1 -1
  135. package/autosuggest/load-more-controller.d.ts +3 -2
  136. package/autosuggest/load-more-controller.d.ts.map +1 -1
  137. package/autosuggest/load-more-controller.js.map +1 -1
  138. package/autosuggest/options-list.d.ts +2 -1
  139. package/autosuggest/options-list.d.ts.map +1 -1
  140. package/autosuggest/options-list.js.map +1 -1
  141. package/badge/styles.css.js +10 -10
  142. package/badge/styles.scoped.css +14 -10
  143. package/badge/styles.selectors.js +10 -10
  144. package/box/styles.css.js +191 -191
  145. package/box/styles.scoped.css +240 -236
  146. package/box/styles.selectors.js +191 -191
  147. package/breadcrumb-group/all-items-dropdown.d.ts +15 -0
  148. package/breadcrumb-group/all-items-dropdown.d.ts.map +1 -0
  149. package/breadcrumb-group/all-items-dropdown.js +47 -0
  150. package/breadcrumb-group/all-items-dropdown.js.map +1 -0
  151. package/breadcrumb-group/analytics-metadata/interfaces.d.ts +0 -7
  152. package/breadcrumb-group/analytics-metadata/interfaces.d.ts.map +1 -1
  153. package/breadcrumb-group/analytics-metadata/interfaces.js.map +1 -1
  154. package/breadcrumb-group/implementation.d.ts.map +1 -1
  155. package/breadcrumb-group/implementation.js +9 -6
  156. package/breadcrumb-group/implementation.js.map +1 -1
  157. package/breadcrumb-group/item/styles.css.js +7 -7
  158. package/breadcrumb-group/item/styles.scoped.css +29 -25
  159. package/breadcrumb-group/item/styles.selectors.js +7 -7
  160. package/breadcrumb-group/styles.css.js +14 -10
  161. package/breadcrumb-group/styles.scoped.css +124 -11
  162. package/breadcrumb-group/styles.selectors.js +14 -10
  163. package/breadcrumb-group/utils.d.ts +0 -2
  164. package/breadcrumb-group/utils.d.ts.map +1 -1
  165. package/breadcrumb-group/utils.js +17 -46
  166. package/breadcrumb-group/utils.js.map +1 -1
  167. package/button/index.d.ts.map +1 -1
  168. package/button/index.js +3 -3
  169. package/button/index.js.map +1 -1
  170. package/button/interfaces.d.ts +18 -0
  171. package/button/interfaces.d.ts.map +1 -1
  172. package/button/interfaces.js.map +1 -1
  173. package/button/internal.d.ts.map +1 -1
  174. package/button/internal.js +15 -2
  175. package/button/internal.js.map +1 -1
  176. package/button/styles.css.js +21 -21
  177. package/button/styles.scoped.css +158 -154
  178. package/button/styles.selectors.js +21 -21
  179. package/button/test-classes/styles.css.js +2 -1
  180. package/button/test-classes/styles.scoped.css +5 -1
  181. package/button/test-classes/styles.selectors.js +2 -1
  182. package/button-dropdown/category-elements/styles.css.js +14 -14
  183. package/button-dropdown/category-elements/styles.scoped.css +27 -23
  184. package/button-dropdown/category-elements/styles.selectors.js +14 -14
  185. package/button-dropdown/index.d.ts.map +1 -1
  186. package/button-dropdown/index.js +2 -2
  187. package/button-dropdown/index.js.map +1 -1
  188. package/button-dropdown/interfaces.d.ts +20 -3
  189. package/button-dropdown/interfaces.d.ts.map +1 -1
  190. package/button-dropdown/interfaces.js.map +1 -1
  191. package/button-dropdown/internal.d.ts.map +1 -1
  192. package/button-dropdown/internal.js +13 -6
  193. package/button-dropdown/internal.js.map +1 -1
  194. package/button-dropdown/item-element/index.d.ts +0 -7
  195. package/button-dropdown/item-element/index.d.ts.map +1 -1
  196. package/button-dropdown/item-element/index.js +3 -2
  197. package/button-dropdown/item-element/index.js.map +1 -1
  198. package/button-dropdown/item-element/styles.css.js +14 -13
  199. package/button-dropdown/item-element/styles.scoped.css +33 -21
  200. package/button-dropdown/item-element/styles.selectors.js +14 -13
  201. package/button-dropdown/mobile-expandable-group/mobile-expandable-group.d.ts +1 -1
  202. package/button-dropdown/mobile-expandable-group/mobile-expandable-group.d.ts.map +1 -1
  203. package/button-dropdown/mobile-expandable-group/mobile-expandable-group.js.map +1 -1
  204. package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
  205. package/button-dropdown/mobile-expandable-group/styles.scoped.css +9 -5
  206. package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
  207. package/button-dropdown/styles.css.js +21 -17
  208. package/button-dropdown/styles.scoped.css +51 -38
  209. package/button-dropdown/styles.selectors.js +21 -17
  210. package/button-dropdown/tooltip.d.ts +2 -1
  211. package/button-dropdown/tooltip.d.ts.map +1 -1
  212. package/button-dropdown/tooltip.js.map +1 -1
  213. package/button-dropdown/utils/menu-item.d.ts +3 -2
  214. package/button-dropdown/utils/menu-item.d.ts.map +1 -1
  215. package/button-dropdown/utils/menu-item.js.map +1 -1
  216. package/button-group/file-input-item.d.ts +11 -0
  217. package/button-group/file-input-item.d.ts.map +1 -0
  218. package/button-group/file-input-item.js +23 -0
  219. package/button-group/file-input-item.js.map +1 -0
  220. package/button-group/interfaces.d.ts +23 -1
  221. package/button-group/interfaces.d.ts.map +1 -1
  222. package/button-group/interfaces.js.map +1 -1
  223. package/button-group/internal.d.ts.map +1 -1
  224. package/button-group/internal.js +2 -2
  225. package/button-group/internal.js.map +1 -1
  226. package/button-group/item-element.d.ts +1 -0
  227. package/button-group/item-element.d.ts.map +1 -1
  228. package/button-group/item-element.js +12 -6
  229. package/button-group/item-element.js.map +1 -1
  230. package/button-group/styles.css.js +4 -4
  231. package/button-group/styles.scoped.css +10 -6
  232. package/button-group/styles.selectors.js +4 -4
  233. package/calendar/grid/use-calendar-grid-keyboard-navigation.d.ts.map +1 -1
  234. package/calendar/grid/use-calendar-grid-keyboard-navigation.js +2 -1
  235. package/calendar/grid/use-calendar-grid-keyboard-navigation.js.map +1 -1
  236. package/calendar/internal.d.ts.map +1 -1
  237. package/calendar/internal.js +2 -1
  238. package/calendar/internal.js.map +1 -1
  239. package/calendar/styles.css.js +21 -21
  240. package/calendar/styles.scoped.css +47 -43
  241. package/calendar/styles.selectors.js +21 -21
  242. package/calendar/utils/navigation-day.d.ts +8 -0
  243. package/calendar/utils/navigation-day.d.ts.map +1 -0
  244. package/calendar/utils/navigation-day.js +39 -0
  245. package/calendar/utils/navigation-day.js.map +1 -0
  246. package/calendar/utils/{navigation.d.ts → navigation-month.d.ts} +2 -6
  247. package/calendar/utils/navigation-month.d.ts.map +1 -0
  248. package/calendar/utils/navigation-month.js +39 -0
  249. package/calendar/utils/navigation-month.js.map +1 -0
  250. package/cards/styles.css.js +39 -39
  251. package/cards/styles.scoped.css +54 -50
  252. package/cards/styles.selectors.js +39 -39
  253. package/checkbox/styles.css.js +3 -3
  254. package/checkbox/styles.scoped.css +9 -5
  255. package/checkbox/styles.selectors.js +3 -3
  256. package/code-editor/pane.d.ts +2 -1
  257. package/code-editor/pane.d.ts.map +1 -1
  258. package/code-editor/pane.js.map +1 -1
  259. package/code-editor/resizable-box/styles.css.js +3 -3
  260. package/code-editor/resizable-box/styles.scoped.css +10 -6
  261. package/code-editor/resizable-box/styles.selectors.js +3 -3
  262. package/code-editor/styles.css.js +33 -33
  263. package/code-editor/styles.scoped.css +139 -135
  264. package/code-editor/styles.selectors.js +33 -33
  265. package/collection-preferences/analytics-metadata/interfaces.d.ts +0 -24
  266. package/collection-preferences/analytics-metadata/interfaces.d.ts.map +1 -1
  267. package/collection-preferences/analytics-metadata/interfaces.js.map +1 -1
  268. package/collection-preferences/content-display/content-display-option.d.ts +1 -1
  269. package/collection-preferences/content-display/content-display-option.d.ts.map +1 -1
  270. package/collection-preferences/content-display/content-display-option.js.map +1 -1
  271. package/collection-preferences/content-display/index.d.ts.map +1 -1
  272. package/collection-preferences/content-display/index.js +18 -42
  273. package/collection-preferences/content-display/index.js.map +1 -1
  274. package/collection-preferences/content-display/styles.css.js +12 -13
  275. package/collection-preferences/content-display/styles.scoped.css +23 -44
  276. package/collection-preferences/content-display/styles.selectors.js +12 -13
  277. package/collection-preferences/styles.css.js +38 -39
  278. package/collection-preferences/styles.scoped.css +58 -71
  279. package/collection-preferences/styles.selectors.js +38 -39
  280. package/column-layout/flexible-column-layout/styles.css.js +5 -5
  281. package/column-layout/flexible-column-layout/styles.scoped.css +14 -10
  282. package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
  283. package/column-layout/styles.css.js +13 -13
  284. package/column-layout/styles.scoped.css +49 -45
  285. package/column-layout/styles.selectors.js +13 -13
  286. package/container/styles.css.js +31 -31
  287. package/container/styles.scoped.css +60 -56
  288. package/container/styles.selectors.js +31 -31
  289. package/content-layout/styles.css.js +14 -14
  290. package/content-layout/styles.scoped.css +20 -16
  291. package/content-layout/styles.selectors.js +14 -14
  292. package/copy-to-clipboard/internal.d.ts +2 -1
  293. package/copy-to-clipboard/internal.d.ts.map +1 -1
  294. package/copy-to-clipboard/internal.js.map +1 -1
  295. package/date-picker/styles.css.js +7 -7
  296. package/date-picker/styles.scoped.css +13 -9
  297. package/date-picker/styles.selectors.js +7 -7
  298. package/date-range-picker/calendar/grids/index.d.ts +2 -1
  299. package/date-range-picker/calendar/grids/index.d.ts.map +1 -1
  300. package/date-range-picker/calendar/grids/index.js +1 -1
  301. package/date-range-picker/calendar/grids/index.js.map +1 -1
  302. package/date-range-picker/calendar/grids/monthly-grid.d.ts +2 -1
  303. package/date-range-picker/calendar/grids/monthly-grid.d.ts.map +1 -1
  304. package/date-range-picker/calendar/grids/monthly-grid.js.map +1 -1
  305. package/date-range-picker/calendar/grids/styles.css.js +28 -28
  306. package/date-range-picker/calendar/grids/styles.scoped.css +47 -43
  307. package/date-range-picker/calendar/grids/styles.selectors.js +28 -28
  308. package/date-range-picker/calendar/index.js +1 -1
  309. package/date-range-picker/calendar/index.js.map +1 -1
  310. package/date-range-picker/calendar/range-inputs.d.ts +1 -1
  311. package/date-range-picker/calendar/range-inputs.d.ts.map +1 -1
  312. package/date-range-picker/calendar/range-inputs.js.map +1 -1
  313. package/date-range-picker/dropdown.d.ts +2 -2
  314. package/date-range-picker/dropdown.d.ts.map +1 -1
  315. package/date-range-picker/dropdown.js +1 -1
  316. package/date-range-picker/dropdown.js.map +1 -1
  317. package/date-range-picker/index.d.ts.map +1 -1
  318. package/date-range-picker/index.js +3 -10
  319. package/date-range-picker/index.js.map +1 -1
  320. package/date-range-picker/interfaces.d.ts +2 -1
  321. package/date-range-picker/interfaces.d.ts.map +1 -1
  322. package/date-range-picker/interfaces.js.map +1 -1
  323. package/date-range-picker/relative-range/index.d.ts +2 -1
  324. package/date-range-picker/relative-range/index.d.ts.map +1 -1
  325. package/date-range-picker/relative-range/index.js.map +1 -1
  326. package/date-range-picker/relative-range/styles.css.js +9 -9
  327. package/date-range-picker/relative-range/styles.scoped.css +17 -13
  328. package/date-range-picker/relative-range/styles.selectors.js +9 -9
  329. package/date-range-picker/styles.css.js +38 -38
  330. package/date-range-picker/styles.scoped.css +51 -47
  331. package/date-range-picker/styles.selectors.js +38 -38
  332. package/date-range-picker/time-offset.d.ts +2 -1
  333. package/date-range-picker/time-offset.d.ts.map +1 -1
  334. package/date-range-picker/time-offset.js +1 -1
  335. package/date-range-picker/time-offset.js.map +1 -1
  336. package/date-range-picker/utils.d.ts +9 -0
  337. package/date-range-picker/utils.d.ts.map +1 -1
  338. package/date-range-picker/utils.js +19 -2
  339. package/date-range-picker/utils.js.map +1 -1
  340. package/drawer/implementation.d.ts +2 -1
  341. package/drawer/implementation.d.ts.map +1 -1
  342. package/drawer/implementation.js.map +1 -1
  343. package/drawer/interfaces.d.ts +2 -1
  344. package/drawer/interfaces.d.ts.map +1 -1
  345. package/drawer/interfaces.js.map +1 -1
  346. package/drawer/styles.css.js +5 -5
  347. package/drawer/styles.scoped.css +16 -12
  348. package/drawer/styles.selectors.js +5 -5
  349. package/expandable-section/expandable-section-container.d.ts +2 -1
  350. package/expandable-section/expandable-section-container.d.ts.map +1 -1
  351. package/expandable-section/expandable-section-container.js.map +1 -1
  352. package/expandable-section/expandable-section-header.d.ts +0 -1
  353. package/expandable-section/expandable-section-header.d.ts.map +1 -1
  354. package/expandable-section/expandable-section-header.js +1 -1
  355. package/expandable-section/expandable-section-header.js.map +1 -1
  356. package/expandable-section/internal.d.ts +2 -1
  357. package/expandable-section/internal.d.ts.map +1 -1
  358. package/expandable-section/internal.js.map +1 -1
  359. package/expandable-section/styles.css.js +34 -34
  360. package/expandable-section/styles.scoped.css +69 -65
  361. package/expandable-section/styles.selectors.js +34 -34
  362. package/file-dropzone/styles.css.js +3 -3
  363. package/file-dropzone/styles.scoped.css +9 -5
  364. package/file-dropzone/styles.selectors.js +3 -3
  365. package/file-input/internal.d.ts +5 -1
  366. package/file-input/internal.d.ts.map +1 -1
  367. package/file-input/internal.js +18 -10
  368. package/file-input/internal.js.map +1 -1
  369. package/file-input/styles.css.js +6 -5
  370. package/file-input/styles.scoped.css +33 -8
  371. package/file-input/styles.selectors.js +6 -5
  372. package/file-token-group/file-token.d.ts +1 -1
  373. package/file-token-group/file-token.d.ts.map +1 -1
  374. package/file-token-group/file-token.js.map +1 -1
  375. package/file-token-group/styles.css.js +22 -22
  376. package/file-token-group/styles.scoped.css +35 -31
  377. package/file-token-group/styles.selectors.js +22 -22
  378. package/file-upload/interfaces.d.ts +0 -5
  379. package/file-upload/interfaces.d.ts.map +1 -1
  380. package/file-upload/interfaces.js.map +1 -1
  381. package/flashbar/analytics-metadata/interfaces.d.ts +0 -6
  382. package/flashbar/analytics-metadata/interfaces.d.ts.map +1 -1
  383. package/flashbar/analytics-metadata/interfaces.js.map +1 -1
  384. package/flashbar/collapsible-flashbar.d.ts +0 -1
  385. package/flashbar/collapsible-flashbar.d.ts.map +1 -1
  386. package/flashbar/collapsible-flashbar.js.map +1 -1
  387. package/flashbar/flash.d.ts +2 -1
  388. package/flashbar/flash.d.ts.map +1 -1
  389. package/flashbar/flash.js.map +1 -1
  390. package/flashbar/non-collapsible-flashbar.d.ts +0 -1
  391. package/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
  392. package/flashbar/non-collapsible-flashbar.js.map +1 -1
  393. package/flashbar/styles.css.js +50 -50
  394. package/flashbar/styles.scoped.css +152 -148
  395. package/flashbar/styles.selectors.js +50 -50
  396. package/flashbar/utils.d.ts +2 -1
  397. package/flashbar/utils.d.ts.map +1 -1
  398. package/flashbar/utils.js.map +1 -1
  399. package/form/styles.css.js +8 -8
  400. package/form/styles.scoped.css +12 -8
  401. package/form/styles.selectors.js +8 -8
  402. package/form-field/styles.css.js +24 -24
  403. package/form-field/styles.scoped.css +42 -38
  404. package/form-field/styles.selectors.js +24 -24
  405. package/grid/internal.d.ts +1 -1
  406. package/grid/internal.d.ts.map +1 -1
  407. package/grid/internal.js.map +1 -1
  408. package/grid/styles.css.js +53 -53
  409. package/grid/styles.scoped.css +58 -54
  410. package/grid/styles.selectors.js +53 -53
  411. package/header/styles.css.js +34 -34
  412. package/header/styles.scoped.css +56 -52
  413. package/header/styles.selectors.js +34 -34
  414. package/help-panel/implementation.d.ts +2 -1
  415. package/help-panel/implementation.d.ts.map +1 -1
  416. package/help-panel/implementation.js.map +1 -1
  417. package/help-panel/styles.css.js +6 -6
  418. package/help-panel/styles.scoped.css +73 -69
  419. package/help-panel/styles.selectors.js +6 -6
  420. package/hotspot/styles.css.js +7 -7
  421. package/hotspot/styles.scoped.css +13 -9
  422. package/hotspot/styles.selectors.js +7 -7
  423. package/i18n/context.d.ts +1 -1
  424. package/i18n/context.d.ts.map +1 -1
  425. package/i18n/context.js.map +1 -1
  426. package/i18n/messages/all.all.js +1 -1
  427. package/i18n/messages/all.all.json +1 -1
  428. package/i18n/messages/all.ar.js +1 -1
  429. package/i18n/messages/all.ar.json +1 -1
  430. package/i18n/messages/all.de.js +1 -1
  431. package/i18n/messages/all.de.json +1 -1
  432. package/i18n/messages/all.en-GB.js +1 -1
  433. package/i18n/messages/all.en-GB.json +1 -1
  434. package/i18n/messages/all.en.js +1 -1
  435. package/i18n/messages/all.en.json +1 -1
  436. package/i18n/messages/all.es.js +1 -1
  437. package/i18n/messages/all.es.json +1 -1
  438. package/i18n/messages/all.fr.js +1 -1
  439. package/i18n/messages/all.fr.json +1 -1
  440. package/i18n/messages/all.id.js +1 -1
  441. package/i18n/messages/all.id.json +1 -1
  442. package/i18n/messages/all.it.js +1 -1
  443. package/i18n/messages/all.it.json +1 -1
  444. package/i18n/messages/all.ja.js +1 -1
  445. package/i18n/messages/all.ja.json +1 -1
  446. package/i18n/messages/all.ko.js +1 -1
  447. package/i18n/messages/all.ko.json +1 -1
  448. package/i18n/messages/all.pt-BR.js +1 -1
  449. package/i18n/messages/all.pt-BR.json +1 -1
  450. package/i18n/messages/all.tr.js +1 -1
  451. package/i18n/messages/all.tr.json +1 -1
  452. package/i18n/messages/all.zh-CN.js +1 -1
  453. package/i18n/messages/all.zh-CN.json +1 -1
  454. package/i18n/messages/all.zh-TW.js +1 -1
  455. package/i18n/messages/all.zh-TW.json +1 -1
  456. package/i18n/messages-types.d.ts +3 -0
  457. package/i18n/messages-types.d.ts.map +1 -1
  458. package/i18n/messages-types.js.map +1 -1
  459. package/i18n/testing.d.ts +2 -1
  460. package/i18n/testing.d.ts.map +1 -1
  461. package/i18n/testing.js.map +1 -1
  462. package/icon/styles.css.js +38 -38
  463. package/icon/styles.scoped.css +89 -85
  464. package/icon/styles.selectors.js +38 -38
  465. package/input/styles.css.js +13 -13
  466. package/input/styles.scoped.css +36 -32
  467. package/input/styles.selectors.js +13 -13
  468. package/internal/analytics/components/analytics-funnel.d.ts +0 -1
  469. package/internal/analytics/components/analytics-funnel.d.ts.map +1 -1
  470. package/internal/analytics/components/analytics-funnel.js +1 -1
  471. package/internal/analytics/components/analytics-funnel.js.map +1 -1
  472. package/internal/analytics/interfaces.d.ts +17 -24
  473. package/internal/analytics/interfaces.d.ts.map +1 -1
  474. package/internal/analytics/interfaces.js.map +1 -1
  475. package/internal/analytics/selectors.d.ts +1 -1
  476. package/internal/analytics/selectors.d.ts.map +1 -1
  477. package/internal/analytics/selectors.js +2 -1
  478. package/internal/analytics/selectors.js.map +1 -1
  479. package/internal/components/abstract-switch/styles.css.js +13 -13
  480. package/internal/components/abstract-switch/styles.scoped.css +24 -20
  481. package/internal/components/abstract-switch/styles.selectors.js +13 -13
  482. package/internal/components/autosuggest-input/index.d.ts +2 -2
  483. package/internal/components/autosuggest-input/index.d.ts.map +1 -1
  484. package/internal/components/autosuggest-input/index.js.map +1 -1
  485. package/internal/components/button-trigger/styles.css.js +13 -13
  486. package/internal/components/button-trigger/styles.scoped.css +31 -27
  487. package/internal/components/button-trigger/styles.selectors.js +13 -13
  488. package/internal/components/cartesian-chart/highlighted-point.d.ts +1 -1
  489. package/internal/components/cartesian-chart/highlighted-point.d.ts.map +1 -1
  490. package/internal/components/cartesian-chart/highlighted-point.js.map +1 -1
  491. package/internal/components/cartesian-chart/scales.d.ts +4 -5
  492. package/internal/components/cartesian-chart/scales.d.ts.map +1 -1
  493. package/internal/components/cartesian-chart/scales.js +1 -1
  494. package/internal/components/cartesian-chart/scales.js.map +1 -1
  495. package/internal/components/cartesian-chart/vertical-marker.d.ts +1 -1
  496. package/internal/components/cartesian-chart/vertical-marker.d.ts.map +1 -1
  497. package/internal/components/cartesian-chart/vertical-marker.js.map +1 -1
  498. package/internal/components/chart-filter/index.d.ts +1 -1
  499. package/internal/components/chart-filter/index.d.ts.map +1 -1
  500. package/internal/components/chart-filter/index.js.map +1 -1
  501. package/internal/components/chart-filter/styles.css.js +3 -3
  502. package/internal/components/chart-filter/styles.scoped.css +7 -3
  503. package/internal/components/chart-filter/styles.selectors.js +3 -3
  504. package/internal/components/chart-legend/index.d.ts +1 -1
  505. package/internal/components/chart-legend/index.d.ts.map +1 -1
  506. package/internal/components/chart-legend/index.js.map +1 -1
  507. package/internal/components/chart-legend/styles.css.js +6 -6
  508. package/internal/components/chart-legend/styles.scoped.css +19 -15
  509. package/internal/components/chart-legend/styles.selectors.js +6 -6
  510. package/internal/components/chart-plot/application-controller.d.ts +1 -1
  511. package/internal/components/chart-plot/application-controller.d.ts.map +1 -1
  512. package/internal/components/chart-plot/application-controller.js.map +1 -1
  513. package/internal/components/chart-plot/focus-outline.d.ts +2 -1
  514. package/internal/components/chart-plot/focus-outline.d.ts.map +1 -1
  515. package/internal/components/chart-plot/focus-outline.js.map +1 -1
  516. package/internal/components/chart-plot/index.d.ts +1 -1
  517. package/internal/components/chart-plot/index.d.ts.map +1 -1
  518. package/internal/components/chart-plot/index.js.map +1 -1
  519. package/internal/components/chart-plot/styles.css.js +5 -5
  520. package/internal/components/chart-plot/styles.scoped.css +9 -5
  521. package/internal/components/chart-plot/styles.selectors.js +5 -5
  522. package/internal/components/chart-popover/index.d.ts +1 -1
  523. package/internal/components/chart-popover/index.d.ts.map +1 -1
  524. package/internal/components/chart-popover/index.js.map +1 -1
  525. package/internal/components/chart-popover/styles.css.js +3 -3
  526. package/internal/components/chart-popover/styles.scoped.css +7 -3
  527. package/internal/components/chart-popover/styles.selectors.js +3 -3
  528. package/internal/components/chart-series-details/index.d.ts +1 -1
  529. package/internal/components/chart-series-details/index.d.ts.map +1 -1
  530. package/internal/components/chart-series-details/index.js.map +1 -1
  531. package/internal/components/chart-series-details/styles.css.js +20 -20
  532. package/internal/components/chart-series-details/styles.scoped.css +37 -33
  533. package/internal/components/chart-series-details/styles.selectors.js +20 -20
  534. package/internal/components/chart-series-marker/styles.css.js +5 -5
  535. package/internal/components/chart-series-marker/styles.scoped.css +11 -7
  536. package/internal/components/chart-series-marker/styles.selectors.js +5 -5
  537. package/internal/components/chart-wrapper/styles.css.js +9 -9
  538. package/internal/components/chart-wrapper/styles.scoped.css +15 -11
  539. package/internal/components/chart-wrapper/styles.selectors.js +9 -9
  540. package/internal/components/checkbox-icon/index.d.ts +1 -10
  541. package/internal/components/checkbox-icon/index.d.ts.map +1 -1
  542. package/internal/components/checkbox-icon/index.js +1 -1
  543. package/internal/components/checkbox-icon/index.js.map +1 -1
  544. package/internal/components/checkbox-icon/styles.css.js +9 -9
  545. package/internal/components/checkbox-icon/styles.scoped.css +13 -9
  546. package/internal/components/checkbox-icon/styles.selectors.js +9 -9
  547. package/internal/components/dnd-container/index.d.ts +28 -0
  548. package/internal/components/dnd-container/index.d.ts.map +1 -0
  549. package/internal/components/dnd-container/index.js +67 -0
  550. package/internal/components/dnd-container/index.js.map +1 -0
  551. package/internal/components/dnd-container/interfaces.d.ts +13 -0
  552. package/internal/components/dnd-container/interfaces.d.ts.map +1 -0
  553. package/internal/components/dnd-container/interfaces.js +4 -0
  554. package/internal/components/dnd-container/interfaces.js.map +1 -0
  555. package/internal/components/dnd-container/keyboard-sensor/defaults.d.ts.map +1 -0
  556. package/internal/components/dnd-container/keyboard-sensor/defaults.js.map +1 -0
  557. package/internal/components/dnd-container/keyboard-sensor/index.d.ts.map +1 -0
  558. package/{collection-preferences/content-display → internal/components/dnd-container}/keyboard-sensor/index.js +1 -1
  559. package/internal/components/dnd-container/keyboard-sensor/index.js.map +1 -0
  560. package/internal/components/dnd-container/keyboard-sensor/utilities/events.d.ts +7 -0
  561. package/internal/components/dnd-container/keyboard-sensor/utilities/events.d.ts.map +1 -0
  562. package/{collection-preferences/content-display → internal/components/dnd-container}/keyboard-sensor/utilities/events.js +0 -4
  563. package/internal/components/dnd-container/keyboard-sensor/utilities/events.js.map +1 -0
  564. package/internal/components/dnd-container/keyboard-sensor/utilities/listeners.d.ts.map +1 -0
  565. package/internal/components/dnd-container/keyboard-sensor/utilities/listeners.js.map +1 -0
  566. package/internal/components/dnd-container/keyboard-sensor/utilities/scroll.d.ts +8 -0
  567. package/internal/components/dnd-container/keyboard-sensor/utilities/scroll.d.ts.map +1 -0
  568. package/{collection-preferences/content-display → internal/components/dnd-container}/keyboard-sensor/utilities/scroll.js +2 -2
  569. package/internal/components/dnd-container/keyboard-sensor/utilities/scroll.js.map +1 -0
  570. package/internal/components/dnd-container/styles.css.js +6 -0
  571. package/internal/components/dnd-container/styles.scoped.css +172 -0
  572. package/internal/components/dnd-container/styles.selectors.js +7 -0
  573. package/{collection-preferences/content-display → internal/components/dnd-container}/use-drag-and-drop-reorder.d.ts +2 -4
  574. package/internal/components/dnd-container/use-drag-and-drop-reorder.d.ts.map +1 -0
  575. package/{collection-preferences/content-display → internal/components/dnd-container}/use-drag-and-drop-reorder.js +4 -4
  576. package/internal/components/dnd-container/use-drag-and-drop-reorder.js.map +1 -0
  577. package/internal/components/dnd-container/use-live-announcements.d.ts +11 -0
  578. package/internal/components/dnd-container/use-live-announcements.d.ts.map +1 -0
  579. package/{collection-preferences/content-display → internal/components/dnd-container}/use-live-announcements.js +6 -6
  580. package/internal/components/dnd-container/use-live-announcements.js.map +1 -0
  581. package/internal/components/dropdown/dropdown-fit-handler.d.ts +0 -30
  582. package/internal/components/dropdown/dropdown-fit-handler.d.ts.map +1 -1
  583. package/internal/components/dropdown/dropdown-fit-handler.js +4 -4
  584. package/internal/components/dropdown/dropdown-fit-handler.js.map +1 -1
  585. package/internal/components/dropdown/styles.css.js +20 -20
  586. package/internal/components/dropdown/styles.scoped.css +41 -37
  587. package/internal/components/dropdown/styles.selectors.js +20 -20
  588. package/internal/components/dropdown-footer/styles.css.js +3 -3
  589. package/internal/components/dropdown-footer/styles.scoped.css +7 -3
  590. package/internal/components/dropdown-footer/styles.selectors.js +3 -3
  591. package/internal/components/dropdown-status/styles.css.js +2 -2
  592. package/internal/components/dropdown-status/styles.scoped.css +6 -2
  593. package/internal/components/dropdown-status/styles.selectors.js +2 -2
  594. package/internal/components/focus-lock/utils.d.ts +0 -1
  595. package/internal/components/focus-lock/utils.d.ts.map +1 -1
  596. package/internal/components/focus-lock/utils.js +1 -1
  597. package/internal/components/focus-lock/utils.js.map +1 -1
  598. package/internal/components/handle/styles.css.js +2 -2
  599. package/internal/components/handle/styles.scoped.css +10 -6
  600. package/internal/components/handle/styles.selectors.js +2 -2
  601. package/internal/components/masked-input/index.d.ts +1 -2
  602. package/internal/components/masked-input/index.d.ts.map +1 -1
  603. package/internal/components/masked-input/index.js +0 -1
  604. package/internal/components/masked-input/index.js.map +1 -1
  605. package/internal/components/masked-input/utils/mask-format.d.ts +1 -1
  606. package/internal/components/masked-input/utils/mask-format.d.ts.map +1 -1
  607. package/internal/components/masked-input/utils/mask-format.js.map +1 -1
  608. package/internal/components/menu-dropdown/index.d.ts.map +1 -1
  609. package/internal/components/menu-dropdown/index.js +2 -1
  610. package/internal/components/menu-dropdown/index.js.map +1 -1
  611. package/internal/components/menu-dropdown/styles.css.js +7 -7
  612. package/internal/components/menu-dropdown/styles.scoped.css +17 -13
  613. package/internal/components/menu-dropdown/styles.selectors.js +7 -7
  614. package/internal/components/option/highlight-match.d.ts +2 -1
  615. package/internal/components/option/highlight-match.d.ts.map +1 -1
  616. package/internal/components/option/highlight-match.js.map +1 -1
  617. package/internal/components/option/interfaces.d.ts +3 -2
  618. package/internal/components/option/interfaces.d.ts.map +1 -1
  619. package/internal/components/option/interfaces.js.map +1 -1
  620. package/internal/components/option/styles.css.js +17 -17
  621. package/internal/components/option/styles.scoped.css +33 -29
  622. package/internal/components/option/styles.selectors.js +17 -17
  623. package/internal/components/options-list/styles.css.js +3 -3
  624. package/internal/components/options-list/styles.scoped.css +7 -3
  625. package/internal/components/options-list/styles.selectors.js +3 -3
  626. package/internal/components/options-list/utils/use-highlight-option.d.ts +2 -1
  627. package/internal/components/options-list/utils/use-highlight-option.d.ts.map +1 -1
  628. package/internal/components/options-list/utils/use-highlight-option.js +2 -2
  629. package/internal/components/options-list/utils/use-highlight-option.js.map +1 -1
  630. package/internal/components/options-list/utils/use-keyboard.d.ts.map +1 -1
  631. package/internal/components/options-list/utils/use-keyboard.js +13 -16
  632. package/internal/components/options-list/utils/use-keyboard.js.map +1 -1
  633. package/internal/components/panel-resize-handle/styles.css.js +5 -5
  634. package/internal/components/panel-resize-handle/styles.scoped.css +14 -10
  635. package/internal/components/panel-resize-handle/styles.selectors.js +5 -5
  636. package/internal/components/screenreader-only/index.d.ts +2 -1
  637. package/internal/components/screenreader-only/index.d.ts.map +1 -1
  638. package/internal/components/screenreader-only/index.js.map +1 -1
  639. package/internal/components/screenreader-only/styles.css.js +1 -1
  640. package/internal/components/screenreader-only/styles.scoped.css +5 -1
  641. package/internal/components/screenreader-only/styles.selectors.js +1 -1
  642. package/internal/components/selectable-item/styles.css.js +16 -16
  643. package/internal/components/selectable-item/styles.scoped.css +33 -29
  644. package/internal/components/selectable-item/styles.selectors.js +16 -16
  645. package/internal/components/tab-trap/index.d.ts +2 -1
  646. package/internal/components/tab-trap/index.d.ts.map +1 -1
  647. package/internal/components/tab-trap/index.js.map +1 -1
  648. package/internal/components/token-list/styles.css.js +10 -10
  649. package/internal/components/token-list/styles.scoped.css +28 -24
  650. package/internal/components/token-list/styles.selectors.js +10 -10
  651. package/internal/components/transition/index.d.ts +2 -1
  652. package/internal/components/transition/index.d.ts.map +1 -1
  653. package/internal/components/transition/index.js.map +1 -1
  654. package/internal/context/single-tab-stop-navigation-context.d.ts +2 -4
  655. package/internal/context/single-tab-stop-navigation-context.d.ts.map +1 -1
  656. package/internal/context/single-tab-stop-navigation-context.js.map +1 -1
  657. package/internal/context/table-component-context.d.ts +2 -2
  658. package/internal/context/table-component-context.d.ts.map +1 -1
  659. package/internal/context/table-component-context.js +1 -1
  660. package/internal/context/table-component-context.js.map +1 -1
  661. package/internal/environment.js +1 -1
  662. package/internal/environment.json +1 -1
  663. package/internal/hooks/forward-focus/radio-group.d.ts +2 -1
  664. package/internal/hooks/forward-focus/radio-group.d.ts.map +1 -1
  665. package/internal/hooks/forward-focus/radio-group.js.map +1 -1
  666. package/internal/hooks/use-dynamic-overlap/index.d.ts +2 -1
  667. package/internal/hooks/use-dynamic-overlap/index.d.ts.map +1 -1
  668. package/internal/hooks/use-dynamic-overlap/index.js.map +1 -1
  669. package/internal/hooks/use-performance-marks/index.d.ts.map +1 -1
  670. package/internal/hooks/use-performance-marks/index.js +23 -2
  671. package/internal/hooks/use-performance-marks/index.js.map +1 -1
  672. package/internal/keycode.d.ts +1 -5
  673. package/internal/keycode.d.ts.map +1 -1
  674. package/internal/keycode.js +0 -4
  675. package/internal/keycode.js.map +1 -1
  676. package/internal/manifest.json +1 -1
  677. package/internal/plugins/controllers/action-buttons.d.ts +1 -1
  678. package/internal/plugins/controllers/action-buttons.d.ts.map +1 -1
  679. package/internal/plugins/controllers/action-buttons.js.map +1 -1
  680. package/internal/plugins/controllers/alert-flash-content.d.ts +3 -3
  681. package/internal/plugins/controllers/alert-flash-content.d.ts.map +1 -1
  682. package/internal/plugins/controllers/alert-flash-content.js.map +1 -1
  683. package/internal/plugins/controllers/app-layout-widget.d.ts +1 -1
  684. package/internal/plugins/controllers/app-layout-widget.d.ts.map +1 -1
  685. package/internal/plugins/controllers/app-layout-widget.js.map +1 -1
  686. package/internal/plugins/controllers/drawers.d.ts +4 -4
  687. package/internal/plugins/controllers/drawers.d.ts.map +1 -1
  688. package/internal/plugins/controllers/drawers.js.map +1 -1
  689. package/internal/styles/motion/utils.d.ts +2 -0
  690. package/internal/styles/motion/utils.d.ts.map +1 -0
  691. package/internal/styles/motion/utils.js +5 -0
  692. package/internal/styles/motion/utils.js.map +1 -0
  693. package/internal/utils/date-time/format-date-iso.d.ts +2 -1
  694. package/internal/utils/date-time/format-date-iso.d.ts.map +1 -1
  695. package/internal/utils/date-time/format-date-iso.js +6 -2
  696. package/internal/utils/date-time/format-date-iso.js.map +1 -1
  697. package/internal/utils/date-time/format-date-localized.d.ts +2 -1
  698. package/internal/utils/date-time/format-date-localized.d.ts.map +1 -1
  699. package/internal/utils/date-time/format-date-localized.js +9 -2
  700. package/internal/utils/date-time/format-date-localized.js.map +1 -1
  701. package/internal/utils/date-time/format-date-time-with-offset.d.ts.map +1 -1
  702. package/internal/utils/date-time/format-date-time-with-offset.js +4 -3
  703. package/internal/utils/date-time/format-date-time-with-offset.js.map +1 -1
  704. package/internal/utils/date-time/index.d.ts +1 -1
  705. package/internal/utils/date-time/index.d.ts.map +1 -1
  706. package/internal/utils/date-time/index.js +1 -1
  707. package/internal/utils/date-time/index.js.map +1 -1
  708. package/internal/utils/date-time/is-iso-only.d.ts +9 -0
  709. package/internal/utils/date-time/is-iso-only.d.ts.map +1 -0
  710. package/internal/utils/date-time/is-iso-only.js +18 -0
  711. package/internal/utils/date-time/is-iso-only.js.map +1 -0
  712. package/key-value-pairs/styles.css.js +8 -8
  713. package/key-value-pairs/styles.scoped.css +13 -9
  714. package/key-value-pairs/styles.selectors.js +8 -8
  715. package/link/styles.css.js +20 -20
  716. package/link/styles.scoped.css +75 -71
  717. package/link/styles.selectors.js +20 -20
  718. package/live-region/internal.d.ts +1 -1
  719. package/live-region/internal.d.ts.map +1 -1
  720. package/live-region/internal.js.map +1 -1
  721. package/live-region/styles.css.js +2 -2
  722. package/live-region/styles.scoped.css +7 -3
  723. package/live-region/styles.selectors.js +2 -2
  724. package/mixed-line-bar-chart/bar-groups.d.ts +2 -1
  725. package/mixed-line-bar-chart/bar-groups.d.ts.map +1 -1
  726. package/mixed-line-bar-chart/bar-groups.js.map +1 -1
  727. package/mixed-line-bar-chart/bar-series.d.ts +2 -1
  728. package/mixed-line-bar-chart/bar-series.d.ts.map +1 -1
  729. package/mixed-line-bar-chart/bar-series.js.map +1 -1
  730. package/mixed-line-bar-chart/data-series.d.ts +2 -1
  731. package/mixed-line-bar-chart/data-series.d.ts.map +1 -1
  732. package/mixed-line-bar-chart/data-series.js.map +1 -1
  733. package/mixed-line-bar-chart/interfaces.d.ts +0 -2
  734. package/mixed-line-bar-chart/interfaces.d.ts.map +1 -1
  735. package/mixed-line-bar-chart/interfaces.js.map +1 -1
  736. package/mixed-line-bar-chart/line-series.d.ts +2 -1
  737. package/mixed-line-bar-chart/line-series.d.ts.map +1 -1
  738. package/mixed-line-bar-chart/line-series.js.map +1 -1
  739. package/mixed-line-bar-chart/styles.css.js +11 -11
  740. package/mixed-line-bar-chart/styles.scoped.css +23 -19
  741. package/mixed-line-bar-chart/styles.selectors.js +11 -11
  742. package/modal/index.d.ts.map +1 -1
  743. package/modal/index.js +8 -2
  744. package/modal/index.js.map +1 -1
  745. package/modal/styles.css.js +23 -23
  746. package/modal/styles.scoped.css +42 -38
  747. package/modal/styles.selectors.js +23 -23
  748. package/multiselect/analytics-metadata/interfaces.d.ts +0 -4
  749. package/multiselect/analytics-metadata/interfaces.d.ts.map +1 -1
  750. package/multiselect/analytics-metadata/interfaces.js.map +1 -1
  751. package/multiselect/styles.css.js +3 -3
  752. package/multiselect/styles.scoped.css +7 -3
  753. package/multiselect/styles.selectors.js +3 -3
  754. package/package.json +1 -1
  755. package/pagination/styles.css.js +9 -9
  756. package/pagination/styles.scoped.css +27 -23
  757. package/pagination/styles.selectors.js +9 -9
  758. package/pie-chart/interfaces.d.ts +2 -1
  759. package/pie-chart/interfaces.d.ts.map +1 -1
  760. package/pie-chart/interfaces.js.map +1 -1
  761. package/pie-chart/labels.d.ts +1 -1
  762. package/pie-chart/labels.d.ts.map +1 -1
  763. package/pie-chart/labels.js.map +1 -1
  764. package/pie-chart/pie-chart.d.ts +2 -7
  765. package/pie-chart/pie-chart.d.ts.map +1 -1
  766. package/pie-chart/pie-chart.js.map +1 -1
  767. package/pie-chart/styles.css.js +27 -27
  768. package/pie-chart/styles.scoped.css +52 -48
  769. package/pie-chart/styles.selectors.js +27 -27
  770. package/popover/arrow.d.ts +1 -1
  771. package/popover/arrow.d.ts.map +1 -1
  772. package/popover/arrow.js.map +1 -1
  773. package/popover/container.d.ts +2 -1
  774. package/popover/container.d.ts.map +1 -1
  775. package/popover/container.js.map +1 -1
  776. package/popover/styles.css.js +53 -53
  777. package/popover/styles.scoped.css +89 -69
  778. package/popover/styles.selectors.js +53 -53
  779. package/progress-bar/styles.css.js +19 -19
  780. package/progress-bar/styles.scoped.css +42 -34
  781. package/progress-bar/styles.selectors.js +19 -19
  782. package/prompt-input/internal.d.ts +1 -1
  783. package/prompt-input/internal.d.ts.map +1 -1
  784. package/prompt-input/internal.js.map +1 -1
  785. package/prompt-input/styles.css.js +14 -14
  786. package/prompt-input/styles.scoped.css +43 -39
  787. package/prompt-input/styles.selectors.js +14 -14
  788. package/property-filter/analytics-metadata/interfaces.d.ts +0 -15
  789. package/property-filter/analytics-metadata/interfaces.d.ts.map +1 -1
  790. package/property-filter/analytics-metadata/interfaces.js.map +1 -1
  791. package/property-filter/controller.d.ts +0 -1
  792. package/property-filter/controller.d.ts.map +1 -1
  793. package/property-filter/controller.js +1 -1
  794. package/property-filter/controller.js.map +1 -1
  795. package/property-filter/filtering-token/styles.css.js +18 -18
  796. package/property-filter/filtering-token/styles.scoped.css +45 -41
  797. package/property-filter/filtering-token/styles.selectors.js +18 -18
  798. package/property-filter/interfaces.d.ts +1 -6
  799. package/property-filter/interfaces.d.ts.map +1 -1
  800. package/property-filter/interfaces.js.map +1 -1
  801. package/property-filter/internal.d.ts +0 -2
  802. package/property-filter/internal.d.ts.map +1 -1
  803. package/property-filter/internal.js.map +1 -1
  804. package/property-filter/styles.css.js +39 -39
  805. package/property-filter/styles.scoped.css +45 -41
  806. package/property-filter/styles.selectors.js +39 -39
  807. package/property-filter/utils.d.ts +0 -1
  808. package/property-filter/utils.d.ts.map +1 -1
  809. package/property-filter/utils.js +1 -1
  810. package/property-filter/utils.js.map +1 -1
  811. package/radio-group/styles.css.js +10 -10
  812. package/radio-group/styles.scoped.css +20 -16
  813. package/radio-group/styles.selectors.js +10 -10
  814. package/s3-resource-selector/s3-modal/basic-table.d.ts +0 -6
  815. package/s3-resource-selector/s3-modal/basic-table.d.ts.map +1 -1
  816. package/s3-resource-selector/s3-modal/basic-table.js +2 -1
  817. package/s3-resource-selector/s3-modal/basic-table.js.map +1 -1
  818. package/s3-resource-selector/s3-modal/styles.css.js +3 -3
  819. package/s3-resource-selector/s3-modal/styles.scoped.css +9 -5
  820. package/s3-resource-selector/s3-modal/styles.selectors.js +3 -3
  821. package/segmented-control/segment.d.ts +2 -1
  822. package/segmented-control/segment.d.ts.map +1 -1
  823. package/segmented-control/segment.js.map +1 -1
  824. package/segmented-control/styles.css.js +15 -15
  825. package/segmented-control/styles.scoped.css +38 -34
  826. package/segmented-control/styles.selectors.js +15 -15
  827. package/select/analytics-metadata/interfaces.d.ts +0 -4
  828. package/select/analytics-metadata/interfaces.d.ts.map +1 -1
  829. package/select/analytics-metadata/interfaces.js.map +1 -1
  830. package/select/parts/filter.d.ts +1 -1
  831. package/select/parts/styles.css.js +21 -21
  832. package/select/parts/styles.scoped.css +26 -22
  833. package/select/parts/styles.selectors.js +21 -21
  834. package/select/styles.css.js +1 -1
  835. package/select/styles.scoped.css +5 -1
  836. package/select/styles.selectors.js +1 -1
  837. package/select/utils/render-options.d.ts +2 -1
  838. package/select/utils/render-options.d.ts.map +1 -1
  839. package/select/utils/render-options.js.map +1 -1
  840. package/select/utils/use-native-search.d.ts +0 -1
  841. package/select/utils/use-native-search.d.ts.map +1 -1
  842. package/select/utils/use-native-search.js +1 -1
  843. package/select/utils/use-native-search.js.map +1 -1
  844. package/select/utils/use-select.js +1 -1
  845. package/select/utils/use-select.js.map +1 -1
  846. package/side-navigation/analytics-metadata/interfaces.d.ts +0 -2
  847. package/side-navigation/analytics-metadata/interfaces.d.ts.map +1 -1
  848. package/side-navigation/analytics-metadata/interfaces.js.map +1 -1
  849. package/side-navigation/implementation.d.ts +2 -1
  850. package/side-navigation/implementation.d.ts.map +1 -1
  851. package/side-navigation/implementation.js.map +1 -1
  852. package/side-navigation/parts.d.ts +2 -2
  853. package/side-navigation/parts.d.ts.map +1 -1
  854. package/side-navigation/parts.js.map +1 -1
  855. package/side-navigation/styles.css.js +30 -30
  856. package/side-navigation/styles.scoped.css +50 -46
  857. package/side-navigation/styles.selectors.js +30 -30
  858. package/slider/internal.d.ts +2 -1
  859. package/slider/internal.d.ts.map +1 -1
  860. package/slider/internal.js.map +1 -1
  861. package/slider/slider-labels.d.ts +2 -1
  862. package/slider/slider-labels.d.ts.map +1 -1
  863. package/slider/slider-labels.js.map +1 -1
  864. package/slider/styles.css.js +26 -26
  865. package/slider/styles.scoped.css +80 -76
  866. package/slider/styles.selectors.js +26 -26
  867. package/slider/tick-marks.d.ts +2 -4
  868. package/slider/tick-marks.d.ts.map +1 -1
  869. package/slider/tick-marks.js.map +1 -1
  870. package/space-between/styles.css.js +23 -23
  871. package/space-between/styles.scoped.css +28 -24
  872. package/space-between/styles.selectors.js +23 -23
  873. package/spinner/styles.css.js +13 -13
  874. package/spinner/styles.scoped.css +23 -19
  875. package/spinner/styles.selectors.js +13 -13
  876. package/split-panel/bottom.d.ts.map +1 -1
  877. package/split-panel/bottom.js +13 -3
  878. package/split-panel/bottom.js.map +1 -1
  879. package/split-panel/icons/styles.css.js +22 -22
  880. package/split-panel/icons/styles.scoped.css +28 -24
  881. package/split-panel/icons/styles.selectors.js +22 -22
  882. package/split-panel/implementation.js +1 -1
  883. package/split-panel/implementation.js.map +1 -1
  884. package/split-panel/styles.css.js +26 -26
  885. package/split-panel/styles.scoped.css +47 -48
  886. package/split-panel/styles.selectors.js +26 -26
  887. package/status-indicator/styles.css.js +23 -23
  888. package/status-indicator/styles.scoped.css +33 -29
  889. package/status-indicator/styles.selectors.js +23 -23
  890. package/steps/internal.d.ts +1 -1
  891. package/steps/internal.d.ts.map +1 -1
  892. package/steps/internal.js +1 -1
  893. package/steps/internal.js.map +1 -1
  894. package/steps/styles.css.js +6 -6
  895. package/steps/styles.scoped.css +13 -9
  896. package/steps/styles.selectors.js +6 -6
  897. package/table/body-cell/styles.css.js +46 -46
  898. package/table/body-cell/styles.scoped.css +296 -292
  899. package/table/body-cell/styles.selectors.js +46 -46
  900. package/table/expandable-rows/styles.css.js +3 -3
  901. package/table/expandable-rows/styles.scoped.css +17 -13
  902. package/table/expandable-rows/styles.selectors.js +3 -3
  903. package/table/header-cell/styles.css.js +26 -26
  904. package/table/header-cell/styles.scoped.css +69 -65
  905. package/table/header-cell/styles.selectors.js +26 -26
  906. package/table/header-cell/th-element.d.ts +2 -1
  907. package/table/header-cell/th-element.d.ts.map +1 -1
  908. package/table/header-cell/th-element.js +2 -2
  909. package/table/header-cell/th-element.js.map +1 -1
  910. package/table/interfaces.d.ts +17 -5
  911. package/table/interfaces.d.ts.map +1 -1
  912. package/table/interfaces.js.map +1 -1
  913. package/table/internal.d.ts.map +1 -1
  914. package/table/internal.js +15 -6
  915. package/table/internal.js.map +1 -1
  916. package/table/progressive-loading/items-loader.d.ts +8 -2
  917. package/table/progressive-loading/items-loader.d.ts.map +1 -1
  918. package/table/progressive-loading/items-loader.js +11 -5
  919. package/table/progressive-loading/items-loader.js.map +1 -1
  920. package/table/progressive-loading/loader-cell.d.ts +2 -2
  921. package/table/progressive-loading/loader-cell.d.ts.map +1 -1
  922. package/table/progressive-loading/loader-cell.js +2 -2
  923. package/table/progressive-loading/loader-cell.js.map +1 -1
  924. package/table/progressive-loading/progressive-loading-utils.d.ts.map +1 -1
  925. package/table/progressive-loading/progressive-loading-utils.js +2 -2
  926. package/table/progressive-loading/progressive-loading-utils.js.map +1 -1
  927. package/table/resizer/styles.css.js +8 -8
  928. package/table/resizer/styles.scoped.css +19 -15
  929. package/table/resizer/styles.selectors.js +8 -8
  930. package/table/selection/interfaces.d.ts +1 -0
  931. package/table/selection/interfaces.d.ts.map +1 -1
  932. package/table/selection/interfaces.js.map +1 -1
  933. package/table/selection/selection-cell.d.ts.map +1 -1
  934. package/table/selection/selection-cell.js +4 -3
  935. package/table/selection/selection-cell.js.map +1 -1
  936. package/table/selection/styles.css.js +3 -3
  937. package/table/selection/styles.scoped.css +7 -3
  938. package/table/selection/styles.selectors.js +3 -3
  939. package/table/selection/use-selection.js +1 -0
  940. package/table/selection/use-selection.js.map +1 -1
  941. package/table/selection/utils.d.ts +0 -1
  942. package/table/selection/utils.d.ts.map +1 -1
  943. package/table/selection/utils.js +1 -1
  944. package/table/selection/utils.js.map +1 -1
  945. package/table/sticky-columns/use-sticky-columns.d.ts +1 -21
  946. package/table/sticky-columns/use-sticky-columns.d.ts.map +1 -1
  947. package/table/sticky-columns/use-sticky-columns.js +1 -1
  948. package/table/sticky-columns/use-sticky-columns.js.map +1 -1
  949. package/table/sticky-scrollbar/styles.css.js +6 -6
  950. package/table/sticky-scrollbar/styles.scoped.css +14 -10
  951. package/table/sticky-scrollbar/styles.selectors.js +6 -6
  952. package/table/styles.css.js +34 -34
  953. package/table/styles.scoped.css +45 -41
  954. package/table/styles.selectors.js +34 -34
  955. package/table/table-role/grid-navigation.js +10 -0
  956. package/table/table-role/grid-navigation.js.map +1 -1
  957. package/table/table-role/index.d.ts +1 -1
  958. package/table/table-role/index.d.ts.map +1 -1
  959. package/table/table-role/index.js.map +1 -1
  960. package/table/use-cell-editing.d.ts +1 -1
  961. package/table/use-cell-editing.d.ts.map +1 -1
  962. package/table/use-cell-editing.js.map +1 -1
  963. package/tabs/styles.css.js +28 -28
  964. package/tabs/styles.scoped.css +57 -49
  965. package/tabs/styles.selectors.js +28 -28
  966. package/tabs/tab-header-bar.d.ts +2 -1
  967. package/tabs/tab-header-bar.d.ts.map +1 -1
  968. package/tabs/tab-header-bar.js.map +1 -1
  969. package/tag-editor/internal.d.ts +2 -1
  970. package/tag-editor/internal.d.ts.map +1 -1
  971. package/tag-editor/internal.js.map +1 -1
  972. package/tag-editor/styles.css.js +3 -3
  973. package/tag-editor/styles.scoped.css +14 -10
  974. package/tag-editor/styles.selectors.js +3 -3
  975. package/test-utils/dom/anchor-navigation/index.d.ts +2 -1
  976. package/test-utils/dom/anchor-navigation/index.js +0 -2
  977. package/test-utils/dom/anchor-navigation/index.js.map +1 -1
  978. package/test-utils/dom/autosuggest/index.d.ts +0 -3
  979. package/test-utils/dom/autosuggest/index.js +1 -2
  980. package/test-utils/dom/autosuggest/index.js.map +1 -1
  981. package/test-utils/dom/button-group/index.d.ts +5 -0
  982. package/test-utils/dom/button-group/index.js +16 -7
  983. package/test-utils/dom/button-group/index.js.map +1 -1
  984. package/test-utils/dom/cards/index.d.ts +3 -2
  985. package/test-utils/dom/cards/index.js +0 -3
  986. package/test-utils/dom/cards/index.js.map +1 -1
  987. package/test-utils/dom/key-value-pairs/index.d.ts +3 -2
  988. package/test-utils/dom/key-value-pairs/index.js +0 -3
  989. package/test-utils/dom/key-value-pairs/index.js.map +1 -1
  990. package/test-utils/dom/steps/index.d.ts +2 -1
  991. package/test-utils/dom/steps/index.js +0 -2
  992. package/test-utils/dom/steps/index.js.map +1 -1
  993. package/test-utils/dom/tabs/index.d.ts +2 -1
  994. package/test-utils/dom/tabs/index.js +0 -2
  995. package/test-utils/dom/tabs/index.js.map +1 -1
  996. package/test-utils/dom/tag-editor/index.d.ts +2 -1
  997. package/test-utils/dom/tag-editor/index.js +0 -2
  998. package/test-utils/dom/tag-editor/index.js.map +1 -1
  999. package/test-utils/selectors/anchor-navigation/index.d.ts +2 -1
  1000. package/test-utils/selectors/anchor-navigation/index.js +0 -2
  1001. package/test-utils/selectors/anchor-navigation/index.js.map +1 -1
  1002. package/test-utils/selectors/autosuggest/index.d.ts +0 -3
  1003. package/test-utils/selectors/autosuggest/index.js +1 -2
  1004. package/test-utils/selectors/autosuggest/index.js.map +1 -1
  1005. package/test-utils/selectors/button-group/index.d.ts +5 -0
  1006. package/test-utils/selectors/button-group/index.js +16 -7
  1007. package/test-utils/selectors/button-group/index.js.map +1 -1
  1008. package/test-utils/selectors/cards/index.d.ts +3 -2
  1009. package/test-utils/selectors/cards/index.js +0 -3
  1010. package/test-utils/selectors/cards/index.js.map +1 -1
  1011. package/test-utils/selectors/key-value-pairs/index.d.ts +3 -2
  1012. package/test-utils/selectors/key-value-pairs/index.js +0 -3
  1013. package/test-utils/selectors/key-value-pairs/index.js.map +1 -1
  1014. package/test-utils/selectors/steps/index.d.ts +2 -1
  1015. package/test-utils/selectors/steps/index.js +0 -2
  1016. package/test-utils/selectors/steps/index.js.map +1 -1
  1017. package/test-utils/selectors/tabs/index.d.ts +2 -1
  1018. package/test-utils/selectors/tabs/index.js +0 -2
  1019. package/test-utils/selectors/tabs/index.js.map +1 -1
  1020. package/test-utils/selectors/tag-editor/index.d.ts +2 -1
  1021. package/test-utils/selectors/tag-editor/index.js +0 -2
  1022. package/test-utils/selectors/tag-editor/index.js.map +1 -1
  1023. package/test-utils/tsconfig.tsbuildinfo +1 -1
  1024. package/text-content/styles.css.js +1 -1
  1025. package/text-content/styles.scoped.css +64 -60
  1026. package/text-content/styles.selectors.js +1 -1
  1027. package/text-filter/analytics-metadata/interfaces.d.ts +0 -2
  1028. package/text-filter/analytics-metadata/interfaces.d.ts.map +1 -1
  1029. package/text-filter/analytics-metadata/interfaces.js.map +1 -1
  1030. package/text-filter/styles.css.js +3 -3
  1031. package/text-filter/styles.scoped.css +7 -3
  1032. package/text-filter/styles.selectors.js +3 -3
  1033. package/textarea/styles.css.js +5 -5
  1034. package/textarea/styles.scoped.css +18 -14
  1035. package/textarea/styles.selectors.js +5 -5
  1036. package/tiles/styles.css.js +30 -30
  1037. package/tiles/styles.scoped.css +77 -73
  1038. package/tiles/styles.selectors.js +30 -30
  1039. package/toggle/styles.css.js +10 -10
  1040. package/toggle/styles.scoped.css +21 -17
  1041. package/toggle/styles.selectors.js +10 -10
  1042. package/toggle-button/internal.d.ts +0 -1
  1043. package/toggle-button/internal.d.ts.map +1 -1
  1044. package/toggle-button/internal.js +0 -1
  1045. package/toggle-button/internal.js.map +1 -1
  1046. package/token-group/analytics-metadata/interfaces.d.ts +0 -2
  1047. package/token-group/analytics-metadata/interfaces.d.ts.map +1 -1
  1048. package/token-group/analytics-metadata/interfaces.js.map +1 -1
  1049. package/token-group/styles.css.js +8 -8
  1050. package/token-group/styles.scoped.css +20 -16
  1051. package/token-group/styles.selectors.js +8 -8
  1052. package/top-navigation/1.0-beta/internal.d.ts +2 -1
  1053. package/top-navigation/1.0-beta/internal.d.ts.map +1 -1
  1054. package/top-navigation/1.0-beta/internal.js.map +1 -1
  1055. package/top-navigation/1.0-beta/parts/overflow-menu.d.ts +2 -1
  1056. package/top-navigation/1.0-beta/parts/overflow-menu.d.ts.map +1 -1
  1057. package/top-navigation/1.0-beta/parts/overflow-menu.js.map +1 -1
  1058. package/top-navigation/1.0-beta/styles.css.js +23 -25
  1059. package/top-navigation/1.0-beta/styles.scoped.css +40 -66
  1060. package/top-navigation/1.0-beta/styles.selectors.js +23 -25
  1061. package/top-navigation/1.0-beta/use-top-navigation.d.ts +4 -24
  1062. package/top-navigation/1.0-beta/use-top-navigation.d.ts.map +1 -1
  1063. package/top-navigation/1.0-beta/use-top-navigation.js +2 -2
  1064. package/top-navigation/1.0-beta/use-top-navigation.js.map +1 -1
  1065. package/top-navigation/internal.d.ts +2 -1
  1066. package/top-navigation/internal.d.ts.map +1 -1
  1067. package/top-navigation/internal.js.map +1 -1
  1068. package/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
  1069. package/top-navigation/parts/overflow-menu/menu-item.js +3 -2
  1070. package/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
  1071. package/top-navigation/parts/overflow-menu/router.d.ts +1 -10
  1072. package/top-navigation/parts/overflow-menu/router.d.ts.map +1 -1
  1073. package/top-navigation/parts/overflow-menu/router.js +1 -1
  1074. package/top-navigation/parts/overflow-menu/router.js.map +1 -1
  1075. package/top-navigation/styles.css.js +47 -47
  1076. package/top-navigation/styles.scoped.css +78 -85
  1077. package/top-navigation/styles.selectors.js +47 -47
  1078. package/top-navigation/use-top-navigation.d.ts +4 -3
  1079. package/top-navigation/use-top-navigation.d.ts.map +1 -1
  1080. package/top-navigation/use-top-navigation.js.map +1 -1
  1081. package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
  1082. package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +27 -23
  1083. package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
  1084. package/tutorial-panel/components/tutorial-detail-view/task-list.d.ts +2 -1
  1085. package/tutorial-panel/components/tutorial-detail-view/task-list.d.ts.map +1 -1
  1086. package/tutorial-panel/components/tutorial-detail-view/task-list.js.map +1 -1
  1087. package/tutorial-panel/components/tutorial-list/index.d.ts +2 -1
  1088. package/tutorial-panel/components/tutorial-list/index.d.ts.map +1 -1
  1089. package/tutorial-panel/components/tutorial-list/index.js.map +1 -1
  1090. package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  1091. package/tutorial-panel/components/tutorial-list/styles.scoped.css +33 -29
  1092. package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  1093. package/tutorial-panel/styles.css.js +1 -1
  1094. package/tutorial-panel/styles.scoped.css +7 -3
  1095. package/tutorial-panel/styles.selectors.js +1 -1
  1096. package/wizard/analytics-metadata/interfaces.d.ts +0 -21
  1097. package/wizard/analytics-metadata/interfaces.d.ts.map +1 -1
  1098. package/wizard/analytics-metadata/interfaces.js.map +1 -1
  1099. package/wizard/styles.css.js +30 -30
  1100. package/wizard/styles.scoped.css +62 -58
  1101. package/wizard/styles.selectors.js +30 -30
  1102. package/wizard/wizard-form.d.ts +1 -4
  1103. package/wizard/wizard-form.d.ts.map +1 -1
  1104. package/wizard/wizard-form.js +1 -1
  1105. package/wizard/wizard-form.js.map +1 -1
  1106. package/calendar/utils/navigation.d.ts.map +0 -1
  1107. package/calendar/utils/navigation.js +0 -73
  1108. package/calendar/utils/navigation.js.map +0 -1
  1109. package/collection-preferences/content-display/draggable-option.d.ts +0 -9
  1110. package/collection-preferences/content-display/draggable-option.d.ts.map +0 -1
  1111. package/collection-preferences/content-display/draggable-option.js +0 -27
  1112. package/collection-preferences/content-display/draggable-option.js.map +0 -1
  1113. package/collection-preferences/content-display/keyboard-sensor/defaults.d.ts.map +0 -1
  1114. package/collection-preferences/content-display/keyboard-sensor/defaults.js.map +0 -1
  1115. package/collection-preferences/content-display/keyboard-sensor/index.d.ts.map +0 -1
  1116. package/collection-preferences/content-display/keyboard-sensor/index.js.map +0 -1
  1117. package/collection-preferences/content-display/keyboard-sensor/utilities/events.d.ts +0 -11
  1118. package/collection-preferences/content-display/keyboard-sensor/utilities/events.d.ts.map +0 -1
  1119. package/collection-preferences/content-display/keyboard-sensor/utilities/events.js.map +0 -1
  1120. package/collection-preferences/content-display/keyboard-sensor/utilities/listeners.d.ts.map +0 -1
  1121. package/collection-preferences/content-display/keyboard-sensor/utilities/listeners.js.map +0 -1
  1122. package/collection-preferences/content-display/keyboard-sensor/utilities/scroll.d.ts +0 -30
  1123. package/collection-preferences/content-display/keyboard-sensor/utilities/scroll.d.ts.map +0 -1
  1124. package/collection-preferences/content-display/keyboard-sensor/utilities/scroll.js.map +0 -1
  1125. package/collection-preferences/content-display/use-drag-and-drop-reorder.d.ts.map +0 -1
  1126. package/collection-preferences/content-display/use-drag-and-drop-reorder.js.map +0 -1
  1127. package/collection-preferences/content-display/use-live-announcements.d.ts +0 -12
  1128. package/collection-preferences/content-display/use-live-announcements.d.ts.map +0 -1
  1129. package/collection-preferences/content-display/use-live-announcements.js.map +0 -1
  1130. package/internal/hooks/use-mutation-observer/index.d.ts +0 -8
  1131. package/internal/hooks/use-mutation-observer/index.d.ts.map +0 -1
  1132. package/internal/hooks/use-mutation-observer/index.js +0 -26
  1133. package/internal/hooks/use-mutation-observer/index.js.map +0 -1
  1134. package/internal/utils/date-time/is-iso-date-only.d.ts +0 -5
  1135. package/internal/utils/date-time/is-iso-date-only.d.ts.map +0 -1
  1136. package/internal/utils/date-time/is-iso-date-only.js +0 -10
  1137. package/internal/utils/date-time/is-iso-date-only.js.map +0 -1
  1138. /package/{collection-preferences/content-display → internal/components/dnd-container}/keyboard-sensor/defaults.d.ts +0 -0
  1139. /package/{collection-preferences/content-display → internal/components/dnd-container}/keyboard-sensor/defaults.js +0 -0
  1140. /package/{collection-preferences/content-display → internal/components/dnd-container}/keyboard-sensor/index.d.ts +0 -0
  1141. /package/{collection-preferences/content-display → internal/components/dnd-container}/keyboard-sensor/utilities/listeners.d.ts +0 -0
  1142. /package/{collection-preferences/content-display → internal/components/dnd-container}/keyboard-sensor/utilities/listeners.js +0 -0
@@ -2,43 +2,43 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "icon": "awsui_icon_h11ix_229dc_185",
6
- "icon-flex-height": "awsui_icon-flex-height_h11ix_229dc_193",
7
- "size-small": "awsui_size-small_h11ix_229dc_221",
8
- "size-small-mapped-height": "awsui_size-small-mapped-height_h11ix_229dc_225",
9
- "size-normal": "awsui_size-normal_h11ix_229dc_240",
10
- "size-normal-mapped-height": "awsui_size-normal-mapped-height_h11ix_229dc_244",
11
- "size-medium": "awsui_size-medium_h11ix_229dc_259",
12
- "size-medium-mapped-height": "awsui_size-medium-mapped-height_h11ix_229dc_263",
13
- "size-big": "awsui_size-big_h11ix_229dc_278",
14
- "size-big-mapped-height": "awsui_size-big-mapped-height_h11ix_229dc_282",
15
- "size-large": "awsui_size-large_h11ix_229dc_297",
16
- "size-large-mapped-height": "awsui_size-large-mapped-height_h11ix_229dc_301",
17
- "variant-normal": "awsui_variant-normal_h11ix_229dc_316",
18
- "variant-disabled": "awsui_variant-disabled_h11ix_229dc_319",
19
- "variant-inverted": "awsui_variant-inverted_h11ix_229dc_322",
20
- "variant-subtle": "awsui_variant-subtle_h11ix_229dc_325",
21
- "variant-warning": "awsui_variant-warning_h11ix_229dc_328",
22
- "variant-error": "awsui_variant-error_h11ix_229dc_331",
23
- "variant-success": "awsui_variant-success_h11ix_229dc_334",
24
- "variant-link": "awsui_variant-link_h11ix_229dc_337",
25
- "name-angle-left-double": "awsui_name-angle-left-double_h11ix_229dc_340",
26
- "name-angle-left": "awsui_name-angle-left_h11ix_229dc_340",
27
- "name-angle-right-double": "awsui_name-angle-right-double_h11ix_229dc_342",
28
- "name-angle-right": "awsui_name-angle-right_h11ix_229dc_342",
29
- "name-arrow-left": "awsui_name-arrow-left_h11ix_229dc_344",
30
- "name-caret-left-filled": "awsui_name-caret-left-filled_h11ix_229dc_345",
31
- "name-caret-right-filled": "awsui_name-caret-right-filled_h11ix_229dc_346",
32
- "name-audio-full": "awsui_name-audio-full_h11ix_229dc_347",
33
- "name-audio-half": "awsui_name-audio-half_h11ix_229dc_348",
34
- "name-audio-off": "awsui_name-audio-off_h11ix_229dc_349",
35
- "name-external": "awsui_name-external_h11ix_229dc_350",
36
- "name-redo": "awsui_name-redo_h11ix_229dc_351",
37
- "name-resize-area": "awsui_name-resize-area_h11ix_229dc_352",
38
- "name-send": "awsui_name-send_h11ix_229dc_353",
39
- "name-shrink": "awsui_name-shrink_h11ix_229dc_354",
40
- "name-undo": "awsui_name-undo_h11ix_229dc_355",
41
- "name-view-vertical": "awsui_name-view-vertical_h11ix_229dc_356",
42
- "badge": "awsui_badge_h11ix_229dc_379"
5
+ "icon": "awsui_icon_h11ix_1mfw9_189",
6
+ "icon-flex-height": "awsui_icon-flex-height_h11ix_1mfw9_197",
7
+ "size-small": "awsui_size-small_h11ix_1mfw9_225",
8
+ "size-small-mapped-height": "awsui_size-small-mapped-height_h11ix_1mfw9_229",
9
+ "size-normal": "awsui_size-normal_h11ix_1mfw9_244",
10
+ "size-normal-mapped-height": "awsui_size-normal-mapped-height_h11ix_1mfw9_248",
11
+ "size-medium": "awsui_size-medium_h11ix_1mfw9_263",
12
+ "size-medium-mapped-height": "awsui_size-medium-mapped-height_h11ix_1mfw9_267",
13
+ "size-big": "awsui_size-big_h11ix_1mfw9_282",
14
+ "size-big-mapped-height": "awsui_size-big-mapped-height_h11ix_1mfw9_286",
15
+ "size-large": "awsui_size-large_h11ix_1mfw9_301",
16
+ "size-large-mapped-height": "awsui_size-large-mapped-height_h11ix_1mfw9_305",
17
+ "variant-normal": "awsui_variant-normal_h11ix_1mfw9_320",
18
+ "variant-disabled": "awsui_variant-disabled_h11ix_1mfw9_323",
19
+ "variant-inverted": "awsui_variant-inverted_h11ix_1mfw9_326",
20
+ "variant-subtle": "awsui_variant-subtle_h11ix_1mfw9_329",
21
+ "variant-warning": "awsui_variant-warning_h11ix_1mfw9_332",
22
+ "variant-error": "awsui_variant-error_h11ix_1mfw9_335",
23
+ "variant-success": "awsui_variant-success_h11ix_1mfw9_338",
24
+ "variant-link": "awsui_variant-link_h11ix_1mfw9_341",
25
+ "name-angle-left-double": "awsui_name-angle-left-double_h11ix_1mfw9_344",
26
+ "name-angle-left": "awsui_name-angle-left_h11ix_1mfw9_344",
27
+ "name-angle-right-double": "awsui_name-angle-right-double_h11ix_1mfw9_346",
28
+ "name-angle-right": "awsui_name-angle-right_h11ix_1mfw9_346",
29
+ "name-arrow-left": "awsui_name-arrow-left_h11ix_1mfw9_348",
30
+ "name-caret-left-filled": "awsui_name-caret-left-filled_h11ix_1mfw9_349",
31
+ "name-caret-right-filled": "awsui_name-caret-right-filled_h11ix_1mfw9_350",
32
+ "name-audio-full": "awsui_name-audio-full_h11ix_1mfw9_351",
33
+ "name-audio-half": "awsui_name-audio-half_h11ix_1mfw9_352",
34
+ "name-audio-off": "awsui_name-audio-off_h11ix_1mfw9_353",
35
+ "name-external": "awsui_name-external_h11ix_1mfw9_354",
36
+ "name-redo": "awsui_name-redo_h11ix_1mfw9_355",
37
+ "name-resize-area": "awsui_name-resize-area_h11ix_1mfw9_356",
38
+ "name-send": "awsui_name-send_h11ix_1mfw9_357",
39
+ "name-shrink": "awsui_name-shrink_h11ix_1mfw9_358",
40
+ "name-undo": "awsui_name-undo_h11ix_1mfw9_359",
41
+ "name-view-vertical": "awsui_name-view-vertical_h11ix_1mfw9_360",
42
+ "badge": "awsui_badge_h11ix_1mfw9_383"
43
43
  };
44
44
 
@@ -1,18 +1,18 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_2rhyz_lclin_141",
5
- "input": "awsui_input_2rhyz_lclin_145",
6
- "input-readonly": "awsui_input-readonly_2rhyz_lclin_192",
7
- "input-invalid": "awsui_input-invalid_2rhyz_lclin_259",
8
- "input-has-icon-left": "awsui_input-has-icon-left_2rhyz_lclin_268",
9
- "input-warning": "awsui_input-warning_2rhyz_lclin_271",
10
- "input-type-search": "awsui_input-type-search_2rhyz_lclin_283",
11
- "input-has-icon-right": "awsui_input-has-icon-right_2rhyz_lclin_296",
12
- "input-has-no-border-radius": "awsui_input-has-no-border-radius_2rhyz_lclin_299",
13
- "input-container": "awsui_input-container_2rhyz_lclin_306",
14
- "input-icon-left": "awsui_input-icon-left_2rhyz_lclin_311",
15
- "input-icon-right": "awsui_input-icon-right_2rhyz_lclin_318",
16
- "input-button-right": "awsui_input-button-right_2rhyz_lclin_324"
4
+ "root": "awsui_root_2rhyz_1hz2o_145",
5
+ "input": "awsui_input_2rhyz_1hz2o_149",
6
+ "input-readonly": "awsui_input-readonly_2rhyz_1hz2o_196",
7
+ "input-invalid": "awsui_input-invalid_2rhyz_1hz2o_263",
8
+ "input-has-icon-left": "awsui_input-has-icon-left_2rhyz_1hz2o_272",
9
+ "input-warning": "awsui_input-warning_2rhyz_1hz2o_275",
10
+ "input-type-search": "awsui_input-type-search_2rhyz_1hz2o_287",
11
+ "input-has-icon-right": "awsui_input-has-icon-right_2rhyz_1hz2o_300",
12
+ "input-has-no-border-radius": "awsui_input-has-no-border-radius_2rhyz_1hz2o_303",
13
+ "input-container": "awsui_input-container_2rhyz_1hz2o_310",
14
+ "input-icon-left": "awsui_input-icon-left_2rhyz_1hz2o_315",
15
+ "input-icon-right": "awsui_input-icon-right_2rhyz_1hz2o_322",
16
+ "input-button-right": "awsui_input-button-right_2rhyz_1hz2o_328"
17
17
  };
18
18
 
@@ -136,13 +136,17 @@
136
136
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
137
137
  SPDX-License-Identifier: Apache-2.0
138
138
  */
139
+ /*
140
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
141
+ SPDX-License-Identifier: Apache-2.0
142
+ */
139
143
  /* Style used for links in slots/components that are text heavy, to help links stand out among
140
144
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
141
- .awsui_root_2rhyz_lclin_141:not(#\9) {
145
+ .awsui_root_2rhyz_1hz2o_145:not(#\9) {
142
146
  /* used in test-utils for component to distinguish input from other input-like components, for example autosuggest */
143
147
  }
144
148
 
145
- .awsui_input_2rhyz_lclin_145:not(#\9) {
149
+ .awsui_input_2rhyz_1hz2o_149:not(#\9) {
146
150
  border-collapse: separate;
147
151
  border-spacing: 0;
148
152
  box-sizing: border-box;
@@ -190,36 +194,36 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
190
194
  line-height: var(--line-height-body-m-30ar75, 20px);
191
195
  block-size: var(--size-vertical-input-v5iwwf, 32px);
192
196
  }
193
- .awsui_input_2rhyz_lclin_145.awsui_input-readonly_2rhyz_lclin_192:not(#\9) {
197
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-readonly_2rhyz_1hz2o_196:not(#\9) {
194
198
  background-color: var(--color-background-input-default-u56ls1, #ffffff);
195
199
  border-block: var(--border-width-field-h1g7tw, 2px) solid var(--color-border-input-disabled-lb7zn3, #ebebf0);
196
200
  border-inline: var(--border-width-field-h1g7tw, 2px) solid var(--color-border-input-disabled-lb7zn3, #ebebf0);
197
201
  }
198
- .awsui_input_2rhyz_lclin_145:not(#\9)::-webkit-input-placeholder {
202
+ .awsui_input_2rhyz_1hz2o_149:not(#\9)::-webkit-input-placeholder {
199
203
  color: var(--color-text-input-placeholder-f3x213, #656871);
200
204
  font-style: italic;
201
205
  -webkit-user-select: none;
202
206
  user-select: none;
203
207
  }
204
- .awsui_input_2rhyz_lclin_145:not(#\9)::-ms-input-placeholder {
208
+ .awsui_input_2rhyz_1hz2o_149:not(#\9)::-ms-input-placeholder {
205
209
  color: var(--color-text-input-placeholder-f3x213, #656871);
206
210
  font-style: italic;
207
211
  }
208
- .awsui_input_2rhyz_lclin_145:not(#\9)::-moz-placeholder {
212
+ .awsui_input_2rhyz_1hz2o_149:not(#\9)::-moz-placeholder {
209
213
  color: var(--color-text-input-placeholder-f3x213, #656871);
210
214
  font-style: italic;
211
215
  opacity: 1;
212
216
  }
213
- .awsui_input_2rhyz_lclin_145:not(#\9):-ms-input-placeholder {
217
+ .awsui_input_2rhyz_1hz2o_149:not(#\9):-ms-input-placeholder {
214
218
  color: var(--color-text-input-placeholder-f3x213, #656871);
215
219
  font-style: italic;
216
220
  }
217
- .awsui_input_2rhyz_lclin_145:not(#\9):-moz-placeholder {
221
+ .awsui_input_2rhyz_1hz2o_149:not(#\9):-moz-placeholder {
218
222
  color: var(--color-text-input-placeholder-f3x213, #656871);
219
223
  font-style: italic;
220
224
  opacity: 1;
221
225
  }
222
- .awsui_input_2rhyz_lclin_145:not(#\9):focus {
226
+ .awsui_input_2rhyz_1hz2o_149:not(#\9):focus {
223
227
  outline: 2px dotted transparent;
224
228
  border-block: var(--border-width-field-h1g7tw, 2px) solid var(--color-border-input-focused-c6w5i5, #002b66);
225
229
  border-inline: var(--border-width-field-h1g7tw, 2px) solid var(--color-border-input-focused-c6w5i5, #002b66);
@@ -229,7 +233,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
229
233
  border-end-end-radius: var(--border-radius-input-plgbrq, 8px);
230
234
  box-shadow: 0 0 0 var(--border-control-focus-ring-shadow-spread-0ctpjf, 0px) var(--color-border-item-focused-nv6mhz, #006ce0);
231
235
  }
232
- .awsui_input_2rhyz_lclin_145:not(#\9):disabled {
236
+ .awsui_input_2rhyz_1hz2o_149:not(#\9):disabled {
233
237
  background-color: var(--color-background-input-disabled-gvxsk4, #ebebf0);
234
238
  border-block: var(--border-width-field-h1g7tw, 2px) solid var(--color-border-input-disabled-lb7zn3, #ebebf0);
235
239
  border-inline: var(--border-width-field-h1g7tw, 2px) solid var(--color-border-input-disabled-lb7zn3, #ebebf0);
@@ -237,93 +241,93 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
237
241
  cursor: auto;
238
242
  cursor: default;
239
243
  }
240
- .awsui_input_2rhyz_lclin_145:not(#\9):disabled::-webkit-input-placeholder {
244
+ .awsui_input_2rhyz_1hz2o_149:not(#\9):disabled::-webkit-input-placeholder {
241
245
  color: var(--color-text-input-placeholder-disabled-7v2f7f, #b4b4bb);
242
246
  -webkit-user-select: none;
243
247
  user-select: none;
244
248
  }
245
- .awsui_input_2rhyz_lclin_145:not(#\9):disabled::-ms-input-placeholder {
249
+ .awsui_input_2rhyz_1hz2o_149:not(#\9):disabled::-ms-input-placeholder {
246
250
  color: var(--color-text-input-placeholder-disabled-7v2f7f, #b4b4bb);
247
251
  }
248
- .awsui_input_2rhyz_lclin_145:not(#\9):disabled::-moz-placeholder {
252
+ .awsui_input_2rhyz_1hz2o_149:not(#\9):disabled::-moz-placeholder {
249
253
  color: var(--color-text-input-placeholder-disabled-7v2f7f, #b4b4bb);
250
254
  opacity: 1;
251
255
  }
252
- .awsui_input_2rhyz_lclin_145:not(#\9):disabled:-ms-input-placeholder {
256
+ .awsui_input_2rhyz_1hz2o_149:not(#\9):disabled:-ms-input-placeholder {
253
257
  color: var(--color-text-input-placeholder-disabled-7v2f7f, #b4b4bb);
254
258
  }
255
- .awsui_input_2rhyz_lclin_145:not(#\9):disabled:-moz-placeholder {
259
+ .awsui_input_2rhyz_1hz2o_149:not(#\9):disabled:-moz-placeholder {
256
260
  color: var(--color-text-input-placeholder-disabled-7v2f7f, #b4b4bb);
257
261
  opacity: 1;
258
262
  }
259
- .awsui_input_2rhyz_lclin_145:not(#\9):invalid {
263
+ .awsui_input_2rhyz_1hz2o_149:not(#\9):invalid {
260
264
  box-shadow: none;
261
265
  }
262
- .awsui_input_2rhyz_lclin_145.awsui_input-invalid_2rhyz_lclin_259:not(#\9) {
266
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-invalid_2rhyz_1hz2o_263:not(#\9) {
263
267
  color: var(--color-text-status-error-5676bj, #db0000);
264
268
  border-color: var(--color-text-status-error-5676bj, #db0000);
265
269
  padding-inline-start: calc(var(--space-field-horizontal-gg19kw, 12px) - (var(--border-invalid-width-5ktjp2, 8px) - var(--border-width-field-h1g7tw, 2px)));
266
270
  border-inline-start-width: var(--border-invalid-width-5ktjp2, 8px);
267
271
  }
268
- .awsui_input_2rhyz_lclin_145.awsui_input-invalid_2rhyz_lclin_259:not(#\9):focus {
272
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-invalid_2rhyz_1hz2o_263:not(#\9):focus {
269
273
  box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-fhmbjn, 2px) var(--color-border-item-focused-nv6mhz, #006ce0);
270
274
  }
271
- .awsui_input_2rhyz_lclin_145.awsui_input-invalid_2rhyz_lclin_259.awsui_input-has-icon-left_2rhyz_lclin_268:not(#\9) {
275
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-invalid_2rhyz_1hz2o_263.awsui_input-has-icon-left_2rhyz_1hz2o_272:not(#\9) {
272
276
  padding-inline-start: calc(var(--space-field-icon-offset-csk9vw, 36px) - (var(--border-invalid-width-5ktjp2, 8px) - var(--border-width-field-h1g7tw, 2px)));
273
277
  }
274
- .awsui_input_2rhyz_lclin_145.awsui_input-warning_2rhyz_lclin_271:not(#\9) {
278
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-warning_2rhyz_1hz2o_275:not(#\9) {
275
279
  color: var(--color-text-status-warning-csaw41, #855900);
276
280
  border-color: var(--color-text-status-warning-csaw41, #855900);
277
281
  padding-inline-start: calc(var(--space-field-horizontal-gg19kw, 12px) - (var(--border-invalid-width-5ktjp2, 8px) - var(--border-width-field-h1g7tw, 2px)));
278
282
  border-inline-start-width: var(--border-invalid-width-5ktjp2, 8px);
279
283
  }
280
- .awsui_input_2rhyz_lclin_145.awsui_input-warning_2rhyz_lclin_271:not(#\9):focus {
284
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-warning_2rhyz_1hz2o_275:not(#\9):focus {
281
285
  box-shadow: 0 0 0 var(--border-control-invalid-focus-ring-shadow-spread-fhmbjn, 2px) var(--color-border-item-focused-nv6mhz, #006ce0);
282
286
  }
283
- .awsui_input_2rhyz_lclin_145.awsui_input-warning_2rhyz_lclin_271.awsui_input-has-icon-left_2rhyz_lclin_268:not(#\9) {
287
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-warning_2rhyz_1hz2o_275.awsui_input-has-icon-left_2rhyz_1hz2o_272:not(#\9) {
284
288
  padding-inline-start: calc(var(--space-field-icon-offset-csk9vw, 36px) - (var(--border-invalid-width-5ktjp2, 8px) - var(--border-width-field-h1g7tw, 2px)));
285
289
  }
286
- .awsui_input_2rhyz_lclin_145.awsui_input-type-search_2rhyz_lclin_283:not(#\9) {
290
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-type-search_2rhyz_1hz2o_287:not(#\9) {
287
291
  box-sizing: border-box;
288
292
  -webkit-appearance: none;
289
293
  }
290
- .awsui_input_2rhyz_lclin_145.awsui_input-type-search_2rhyz_lclin_283:not(#\9)::-webkit-search-decoration {
294
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-type-search_2rhyz_1hz2o_287:not(#\9)::-webkit-search-decoration {
291
295
  -webkit-appearance: none;
292
296
  }
293
- .awsui_input_2rhyz_lclin_145.awsui_input-type-search_2rhyz_lclin_283:not(#\9)::-webkit-search-cancel-button {
297
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-type-search_2rhyz_1hz2o_287:not(#\9)::-webkit-search-cancel-button {
294
298
  display: none;
295
299
  }
296
- .awsui_input_2rhyz_lclin_145.awsui_input-has-icon-left_2rhyz_lclin_268:not(#\9) {
300
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-has-icon-left_2rhyz_1hz2o_272:not(#\9) {
297
301
  padding-inline-start: var(--space-field-icon-offset-csk9vw, 36px);
298
302
  }
299
- .awsui_input_2rhyz_lclin_145.awsui_input-has-icon-right_2rhyz_lclin_296:not(#\9) {
303
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-has-icon-right_2rhyz_1hz2o_300:not(#\9) {
300
304
  padding-inline-end: var(--space-field-icon-offset-csk9vw, 36px);
301
305
  }
302
- .awsui_input_2rhyz_lclin_145.awsui_input-has-no-border-radius_2rhyz_lclin_299:not(#\9) {
306
+ .awsui_input_2rhyz_1hz2o_149.awsui_input-has-no-border-radius_2rhyz_1hz2o_303:not(#\9) {
303
307
  border-start-start-radius: var(--border-radius-dropdown-0dhh79, 8px);
304
308
  border-start-end-radius: var(--border-radius-dropdown-0dhh79, 8px);
305
309
  border-end-start-radius: var(--border-radius-dropdown-0dhh79, 8px);
306
310
  border-end-end-radius: var(--border-radius-dropdown-0dhh79, 8px);
307
311
  }
308
312
 
309
- .awsui_input-container_2rhyz_lclin_306:not(#\9) {
313
+ .awsui_input-container_2rhyz_1hz2o_310:not(#\9) {
310
314
  display: flex;
311
315
  position: relative;
312
316
  }
313
317
 
314
- .awsui_input-icon-left_2rhyz_lclin_311:not(#\9) {
318
+ .awsui_input-icon-left_2rhyz_1hz2o_315:not(#\9) {
315
319
  position: absolute;
316
320
  pointer-events: none;
317
321
  inset-inline-start: var(--space-field-horizontal-gg19kw, 12px);
318
322
  inset-block-start: calc(50% - var(--line-height-body-m-30ar75, 20px) / 2);
319
323
  }
320
324
 
321
- .awsui_input-icon-right_2rhyz_lclin_318:not(#\9) {
325
+ .awsui_input-icon-right_2rhyz_1hz2o_322:not(#\9) {
322
326
  position: absolute;
323
327
  inset-block-start: calc(50% - var(--line-height-body-m-30ar75, 20px) / 2);
324
328
  inset-inline-end: calc(var(--space-field-horizontal-gg19kw, 12px) - var(--space-xxs-p8yyaw, 4px));
325
329
  }
326
330
 
327
- .awsui_input-button-right_2rhyz_lclin_324:not(#\9) {
331
+ .awsui_input-button-right_2rhyz_1hz2o_328:not(#\9) {
328
332
  /* used in test-utils */
329
333
  }
@@ -2,18 +2,18 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_2rhyz_lclin_141",
6
- "input": "awsui_input_2rhyz_lclin_145",
7
- "input-readonly": "awsui_input-readonly_2rhyz_lclin_192",
8
- "input-invalid": "awsui_input-invalid_2rhyz_lclin_259",
9
- "input-has-icon-left": "awsui_input-has-icon-left_2rhyz_lclin_268",
10
- "input-warning": "awsui_input-warning_2rhyz_lclin_271",
11
- "input-type-search": "awsui_input-type-search_2rhyz_lclin_283",
12
- "input-has-icon-right": "awsui_input-has-icon-right_2rhyz_lclin_296",
13
- "input-has-no-border-radius": "awsui_input-has-no-border-radius_2rhyz_lclin_299",
14
- "input-container": "awsui_input-container_2rhyz_lclin_306",
15
- "input-icon-left": "awsui_input-icon-left_2rhyz_lclin_311",
16
- "input-icon-right": "awsui_input-icon-right_2rhyz_lclin_318",
17
- "input-button-right": "awsui_input-button-right_2rhyz_lclin_324"
5
+ "root": "awsui_root_2rhyz_1hz2o_145",
6
+ "input": "awsui_input_2rhyz_1hz2o_149",
7
+ "input-readonly": "awsui_input-readonly_2rhyz_1hz2o_196",
8
+ "input-invalid": "awsui_input-invalid_2rhyz_1hz2o_263",
9
+ "input-has-icon-left": "awsui_input-has-icon-left_2rhyz_1hz2o_272",
10
+ "input-warning": "awsui_input-warning_2rhyz_1hz2o_275",
11
+ "input-type-search": "awsui_input-type-search_2rhyz_1hz2o_287",
12
+ "input-has-icon-right": "awsui_input-has-icon-right_2rhyz_1hz2o_300",
13
+ "input-has-no-border-radius": "awsui_input-has-no-border-radius_2rhyz_1hz2o_303",
14
+ "input-container": "awsui_input-container_2rhyz_1hz2o_310",
15
+ "input-icon-left": "awsui_input-icon-left_2rhyz_1hz2o_315",
16
+ "input-icon-right": "awsui_input-icon-right_2rhyz_1hz2o_322",
17
+ "input-button-right": "awsui_input-button-right_2rhyz_1hz2o_328"
18
18
  };
19
19
 
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { FunnelStepContextValue, FunnelSubStepContextValue } from '../context/analytics-context';
3
3
  import { AnalyticsMetadata, FunnelStartProps, FunnelStepProps, StepConfiguration } from '../interfaces';
4
- export declare const FUNNEL_VERSION = "1.4";
5
4
  interface AnalyticsFunnelProps {
6
5
  mounted?: boolean;
7
6
  children?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"analytics-funnel.d.ts","sourceRoot":"","sources":["../../../../../src/internal/analytics/components/analytics-funnel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAOvE,OAAO,EAKL,sBAAsB,EAEtB,yBAAyB,EAC1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AC,cAAc,CAAC,CAAC;IACvD,kBAAkB,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;CACxD;AAED,eAAO,MAAM,eAAe,UAAW,oBAAoB,gBAa1D,CAAC;AAEF,eAAO,MAAM,kCAAkC,kCAAkC,CAAC;AAuNlF,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;IACzD,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IAClF,gBAAgB,CAAC,EAAE,eAAe,CAAC,kBAAkB,CAAC,CAAC;IACvD,UAAU,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,mBAAmB,UAAW,wBAAwB,gBAMlE,CAAC;AAoOF,UAAU,2BAA2B;IACnC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;IAC5D,mBAAmB,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,yBAAyB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CACtF;AAED,eAAO,MAAM,sBAAsB,0DAIhC,2BAA2B,gBAmG7B,CAAC"}
@@ -11,7 +11,7 @@ import { FunnelContext, FunnelStepContext, FunnelSubStepContext, } from '../cont
11
11
  import { useFunnel, useFunnelStep } from '../hooks/use-funnel';
12
12
  import { FunnelMetrics, PerformanceMetrics } from '../index';
13
13
  import { DATA_ATTR_FUNNEL_STEP, DATA_ATTR_RESOURCE_TYPE, getFunnelNameSelector, getSubStepAllSelector, getSubStepNameSelector, getSubStepSelector, getTextFromSelector, } from '../selectors';
14
- export const FUNNEL_VERSION = '1.4';
14
+ const FUNNEL_VERSION = '1.4';
15
15
  export const AnalyticsFunnel = (props) => {
16
16
  const { isInFunnel } = useFunnel();
17
17
  /*
@@ -1 +1 @@
1
- {"version":3,"file":"analytics-funnel.js","sourceRoot":"","sources":["../../../../../src/internal/analytics/components/analytics-funnel.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EACL,aAAa,EAGb,iBAAiB,EAEjB,oBAAoB,GAErB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAS7D,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAEtB,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,CAAC;AAgBpC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAA2B,EAAE,EAAE;IAC7D,MAAM,EAAE,UAAU,EAAE,GAAG,SAAS,EAAE,CAAC;IACnC;;;;;MAKE;IACF,IAAI,UAAU,IAAI,KAAK,CAAC,UAAU,KAAK,aAAa,EAAE;QACpD,OAAO,0CAAG,KA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AI,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,QAAQ,CAAC,aAAa,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,aAAa,CAAC,EAAE;gBAC9G,gBAAgB,CAAC,OAAO,GAAG,KAAK,CAAC;gBAEjC;;;mBAGG;gBACH,MAAA,oBAAoB,CAAC,OAAO,oEAAI,CAAC;aAClC;QACH,CAAC,CAAA,CAAC;QACF,MAAM,CAAC,gBAAgB,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;QAClD,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QAC9C,OAAO,GAAG,EAAE;YACV,MAAM,CAAC,mBAAmB,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;YACrD,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QACnD,CAAC,CAAC;IACJ,CAAC,EAAE;QACD,mBAAmB;QACnB,WAAW;QACX,gBAAgB;QAChB,UAAU;QACV,mBAAmB;QACnB,eAAe;QACf,oBAAoB;QACpB,QAAQ;QACR,UAAU;KACX,CAAC,CAAC;IAEH,OAAO,CACL,oBAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO,IAC1C,OAAO,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAChC,CACjC,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useContext, useEffect, useRef, useState } from 'react';\n\nimport { PACKAGE_VERSION } from '../../environment';\nimport { useDebounceCallback } from '../../hooks/use-debounce-callback';\nimport { useUniqueId } from '../../hooks/use-unique-id';\nimport { useVisualRefresh } from '../../hooks/use-visual-mode';\nimport { nodeBelongs } from '../../utils/node-belongs';\nimport {\n FunnelContext,\n FunnelContextValue,\n FunnelState,\n FunnelStepContext,\n FunnelStepContextValue,\n FunnelSubStepContext,\n FunnelSubStepContextValue,\n} from '../context/analytics-context';\nimport { useFunnel, useFunnelStep } from '../hooks/use-funnel';\nimport { FunnelMetrics, PerformanceMetrics } from '../index';\nimport {\n AnalyticsMetadata,\n FunnelStartProps,\n FunnelStepProps,\n StepConfiguration,\n SubStepConfiguration,\n TaskCompletionDataProps,\n} from '../interfaces';\nimport {\n DATA_ATTR_FUNNEL_STEP,\n DATA_ATTR_RESOURCE_TYPE,\n getFunnelNameSelector,\n getSubStepAllSelector,\n getSubStepNameSelector,\n getSubStepSelector,\n getTextFromSelector,\n} from '../selectors';\n\nexport const FUNNEL_VERSION = '1.4';\n\ninterface AnalyticsFunnelProps {\n mounted?: boolean;\n children?: React.ReactNode;\n stepConfiguration?: StepConfiguration[];\n funnelNameSelectors?: string[];\n funnelType: FunnelStartProps['funnelType'];\n optionalStepNumbers: FunnelStartProps['optionalStepNumbers'];\n totalFunnelSteps: FunnelStartProps['totalFunnelSteps'];\n funnelIdentifier?: AnalyticsMetadata['instanceIdentifier'];\n funnelFlowType?: AnalyticsMetadata['flowType'];\n funnelErrorContext?: AnalyticsMetadata['errorContext'];\n funnelResourceType?: AnalyticsMetadata['resourceType'];\n}\n\nexport const AnalyticsFunnel = (props: AnalyticsFunnelProps) => {\n const { isInFunnel } = useFunnel();\n /*\n If the current funnel component is a Form (i.e. single-page funnel), it should\n defer its funnel-handling to a parent Form element, if present.\n Wizards (i.e. multi-page funnels) always take highest precedence for handling funnels,\n and do not defer to any other element.\n */\n if (isInFunnel && props.funnelType === 'single-page') {\n return <>{props.children}</>;\n }\n\n return <InnerAnalyticsFunnel {...props} />;\n};\n\nexport const CREATION_EDIT_FLOW_DONE_EVENT_NAME = 'awsui-creation-edit-flow-done';\nconst dispatchCreateEditFlowDoneEvent = () => {\n try {\n window.top?.document.dispatchEvent(new Event(CREATION_EDIT_FLOW_DONE_EVENT_NAME));\n } catch {\n // probably because of cross-origin error, then do not dispatch the event\n }\n};\n\nconst onFunnelCancelled = ({\n funnelInteractionId,\n funnelIdentifier,\n}: {\n funnelInteractionId: string;\n funnelIdentifier?: string;\n}) => {\n FunnelMetrics.funnelCancelled({ funnelInteractionId, funnelIdentifier });\n};\n\nconst onFunnelComplete = (taskCompletionDataProps: TaskCompletionDataProps) => {\n FunnelMetrics.funnelComplete({\n funnelInteractionId: taskCompletionDataProps.taskInteractionId,\n funnelIdentifier: taskCompletionDataProps.taskIdentifier,\n });\n PerformanceMetrics.taskCompletionData(taskCompletionDataProps);\n dispatchCreateEditFlowDoneEvent();\n};\n\nfunction evaluateSelectors(selectors: string[], defaultSelector: string) {\n for (const selector of selectors) {\n const element = document.querySelector(selector);\n if (element) {\n return selector;\n }\n }\n\n return defaultSelector;\n}\n\nconst InnerAnalyticsFunnel = ({ mounted = true, children, stepConfiguration, ...props }: AnalyticsFunnelProps) => {\n const [funnelInteractionId, setFunnelInteractionId] = useState<string>('');\n const [submissionAttempt, setSubmissionAttempt] = useState(0);\n const isVisualRefresh = useVisualRefresh();\n const funnelState = useRef<FunnelState>('default');\n const funnelNameSelector = useRef<string>(getFunnelNameSelector());\n const errorCount = useRef<number>(0);\n const loadingButtonCount = useRef<number>(0);\n const wizardCount = useRef<number>(0);\n const latestFocusCleanupFunction = useRef<undefined | (() => void)>(undefined);\n const formSubmitStartTime = useRef<number>(0);\n // This useEffect hook is run once on component mount to initiate the funnel analytics.\n // It first calls the 'funnelStart' method from FunnelMetrics, providing all necessary details\n // about the funnel, and receives a unique interaction id.\n // This unique interaction id is then stored in the state for further use.\n //\n // On component unmount, it checks whether the funnel was successfully completed.\n // Based on this, it either calls 'funnelComplete' or 'funnelCancelled' method from FunnelMetrics.\n //\n // The eslint-disable is required as we deliberately want this effect to run only once on mount and unmount,\n // hence we do not provide any dependencies.\n useEffect(() => {\n if (!mounted) {\n return;\n }\n\n /*\n We run this effect with a delay, in order to detect whether this funnel contains a Wizard.\n If it does contain a Wizard, that Wizard should take precedence for handling the funnel, and\n this current funnel component should do nothing.\n */\n let funnelInteractionId: string;\n const handle = setTimeout(() => {\n funnelNameSelector.current = evaluateSelectors(props.funnelNameSelectors || [], getFunnelNameSelector());\n if (props.funnelType === 'single-page' && wizardCount.current > 0) {\n return;\n }\n\n // Reset the state, in case the component was re-mounted.\n funnelState.current = 'default';\n const funnelName = getTextFromSelector(funnelNameSelector.current) ?? '';\n\n const singleStepFlowStepConfiguration = [\n {\n number: 1,\n isOptional: false,\n name: funnelName,\n stepIdentifier: props.funnelIdentifier,\n },\n ];\n\n funnelInteractionId = FunnelMetrics.funnelStart({\n funnelName,\n funnelIdentifier: props.funnelIdentifier,\n flowType: props.funnelFlowType,\n funnelNameSelector: funnelNameSelector.current,\n optionalStepNumbers: props.optionalStepNumbers,\n funnelType: props.funnelType,\n totalFunnelSteps: props.totalFunnelSteps,\n componentVersion: PACKAGE_VERSION,\n componentTheme: isVisualRefresh ? 'vr' : 'classic',\n funnelVersion: FUNNEL_VERSION,\n stepConfiguration: stepConfiguration ?? singleStepFlowStepConfiguration,\n resourceType: props.funnelResourceType || getTextFromSelector(`[${DATA_ATTR_RESOURCE_TYPE}]`),\n });\n\n setFunnelInteractionId(funnelInteractionId);\n }, 1);\n\n /*\n A funnel counts as \"successful\" if it is unmounted after being \"complete\".\n */\n /* eslint-disable react-hooks/exhaustive-deps */\n return () => {\n clearTimeout(handle);\n if (props.funnelType === 'single-page' && wizardCount.current > 0) {\n return;\n }\n\n if (funnelState.current === 'validating') {\n // Finish the validation phase early.\n const taskCompletionDataProps: TaskCompletionDataProps = {\n taskIdentifier: props.funnelIdentifier,\n taskType: props.funnelType,\n timeToRespondAfterFormSubmit: performance.now() - formSubmitStartTime.current,\n taskInteractionId: funnelInteractionId,\n taskFlowType: props.funnelFlowType,\n };\n onFunnelComplete(taskCompletionDataProps);\n funnelState.current = 'complete';\n }\n\n if (funnelState.current === 'complete') {\n FunnelMetrics.funnelSuccessful({ funnelInteractionId, funnelIdentifier: props.funnelIdentifier });\n } else {\n funnelState.current = 'cancelled';\n onFunnelCancelled({ funnelInteractionId, funnelIdentifier: props.funnelIdentifier });\n }\n };\n }, [mounted]);\n /* eslint-enable react-hooks/exhaustive-deps */\n\n const funnelSubmit = () => {\n funnelState.current = 'validating';\n formSubmitStartTime.current = performance.now();\n /*\n When the user attempts to submit the form, we wait for 50 milliseconds before checking\n if any form validation errors are present. This value was chosen to give enough time\n for validation and rerendering to occur, but be low enough that the user will not\n be able to take further action in the meantime.\n */\n const VALIDATION_WAIT_DELAY = 50;\n /*\n Loading is expected to take longer than validation, so we can keep the pressure on the CPU low.\n */\n const LOADING_WAIT_DELAY = 100;\n\n const checkForCompleteness = () => {\n if (funnelState.current === 'complete') {\n return;\n }\n\n if (loadingButtonCount.current > 0) {\n setTimeout(checkForCompleteness, LOADING_WAIT_DELAY);\n return;\n }\n\n if (errorCount.current === 0) {\n /*\n If no validation errors are rendered, we treat the funnel as complete.\n */\n const taskCompletionDataProps: TaskCompletionDataProps = {\n taskIdentifier: props.funnelIdentifier,\n taskType: props.funnelType,\n timeToRespondAfterFormSubmit: performance.now() - formSubmitStartTime.current,\n taskInteractionId: funnelInteractionId,\n taskFlowType: props.funnelFlowType,\n };\n onFunnelComplete(taskCompletionDataProps);\n funnelState.current = 'complete';\n } else {\n funnelState.current = 'default';\n }\n };\n setTimeout(checkForCompleteness, VALIDATION_WAIT_DELAY);\n };\n\n const funnelNextOrSubmitAttempt = () => setSubmissionAttempt(i => i + 1);\n\n const funnelCancel = () => {};\n\n const funnelContextValue: FunnelContextValue = {\n funnelInteractionId,\n funnelIdentifier: props.funnelIdentifier,\n funnelFlowType: props.funnelFlowType,\n funnelErrorContext: props.funnelErrorContext,\n setFunnelInteractionId,\n funnelType: props.funnelType,\n optionalStepNumbers: props.optionalStepNumbers,\n totalFunnelSteps: props.totalFunnelSteps,\n funnelNameSelector: funnelNameSelector.current,\n funnelSubmit,\n funnelCancel,\n submissionAttempt,\n funnelNextOrSubmitAttempt,\n funnelState,\n errorCount,\n loadingButtonCount,\n latestFocusCleanupFunction,\n isInFunnel: true,\n wizardCount,\n };\n\n return <FunnelContext.Provider value={funnelContextValue}>{children}</FunnelContext.Provider>;\n};\n\ninterface AnalyticsFunnelStepProps {\n mounted?: boolean;\n stepIdentifier?: AnalyticsMetadata['instanceIdentifier'];\n stepErrorContext?: AnalyticsMetadata['errorContext'];\n children?: React.ReactNode | ((props: FunnelStepContextValue) => React.ReactNode);\n stepNameSelector?: FunnelStepProps['stepNameSelector'];\n stepNumber: FunnelStepProps['stepNumber'];\n}\n\nexport const AnalyticsFunnelStep = (props: AnalyticsFunnelStepProps) => {\n /*\n This wrapper is used to apply a `key` property to the actual (inner) AnalyticsFunnelStep\n element. This allows us to keep the state and effects separate per step.\n */\n return <InnerAnalyticsFunnelStep {...props} key={props.stepNumber} />;\n};\n\nfunction getSubStepConfiguration(): SubStepConfiguration[] {\n const subSteps = Array.from(document.querySelectorAll<HTMLElement>(getSubStepAllSelector()));\n\n const subStepConfiguration = subSteps.map((substep, index) => {\n const subStepIdentifier = (substep as any)?.__awsuiMetadata__?.analytics?.instanceIdentifier;\n const name = substep.querySelector<HTMLElement>(getSubStepNameSelector())?.innerText?.trim() ?? '';\n\n return {\n name,\n number: index + 1,\n subStepIdentifier,\n };\n });\n return subStepConfiguration;\n}\n\nfunction useStepChangeListener(stepNumber: number, handler: (stepConfiguration: SubStepConfiguration[]) => void) {\n const subStepConfiguration = useRef(new Map<number, SubStepConfiguration[] | undefined>());\n /*\n Chosen so that it's hopefully shorter than a user interaction, but gives enough time for the\n amount of containers to stabilise.\n */\n const SUBSTEP_CHANGE_DEBOUNCE = 50;\n\n const listenForSubStepChanges = useRef(false);\n useEffect(() => {\n // We prevent emitting the event on the first render.\n const handle = setTimeout(() => (listenForSubStepChanges.current = true), SUBSTEP_CHANGE_DEBOUNCE);\n\n return () => {\n clearTimeout(handle);\n listenForSubStepChanges.current = false;\n };\n }, []);\n\n useEffect(() => {\n const handle = setTimeout(\n () => subStepConfiguration.current.set(stepNumber, getSubStepConfiguration()),\n SUBSTEP_CHANGE_DEBOUNCE\n );\n return () => {\n clearTimeout(handle);\n };\n }, [stepNumber]);\n\n /* We debounce this handler, so that multiple containers can change at once without causing\n too many events. */\n const stepChangeCallback = useDebounceCallback(() => {\n // We don't want to emit the event after the component has been unmounted.\n if (!listenForSubStepChanges.current) {\n return;\n }\n\n subStepConfiguration.current.set(stepNumber, getSubStepConfiguration());\n handler(subStepConfiguration.current.get(stepNumber)!);\n }, SUBSTEP_CHANGE_DEBOUNCE);\n\n return { onStepChange: stepChangeCallback, subStepConfiguration };\n}\n\nconst InnerAnalyticsFunnelStep = ({\n mounted = true,\n children,\n stepNumber,\n stepIdentifier,\n stepErrorContext,\n ...rest\n}: AnalyticsFunnelStepProps) => {\n const { funnelInteractionId, funnelIdentifier, funnelNameSelector, funnelState, funnelType } = useFunnel();\n const parentStep = useFunnelStep();\n const parentStepExists = parentStep.isInStep;\n const parentStepFunnelInteractionId = parentStep.funnelInteractionId;\n\n const funnelStepProps = { [DATA_ATTR_FUNNEL_STEP]: stepNumber };\n\n const subStepCount = useRef<number>(0);\n\n const stepNameSelector = rest.stepNameSelector || funnelNameSelector;\n const { onStepChange, subStepConfiguration } = useStepChangeListener(stepNumber, subStepConfiguration => {\n if (!funnelInteractionId) {\n return;\n }\n\n FunnelMetrics.funnelStepChange({\n stepIdentifier,\n funnelIdentifier,\n funnelInteractionId,\n stepNumber,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n totalSubSteps: subStepCount.current,\n subStepConfiguration,\n });\n });\n\n useEffect(() => {\n if (!funnelInteractionId) {\n // This step is not inside an active funnel.\n return;\n }\n\n if (mounted) {\n return;\n }\n\n const stepName = getTextFromSelector(stepNameSelector);\n const handler = setTimeout(() => {\n if (funnelState.current !== 'cancelled') {\n FunnelMetrics.funnelStepComplete({\n funnelIdentifier,\n funnelInteractionId,\n stepIdentifier,\n stepNumber,\n stepName,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n totalSubSteps: subStepCount.current,\n });\n }\n }, 0);\n\n return () => {\n clearTimeout(handler);\n };\n }, [\n stepIdentifier,\n funnelIdentifier,\n funnelInteractionId,\n stepNumber,\n stepNameSelector,\n funnelState,\n parentStepExists,\n funnelType,\n parentStepFunnelInteractionId,\n mounted,\n ]);\n\n // This useEffect hook is used to track the start and completion of interaction with the step.\n // On mount, if there is a valid funnel interaction id, it calls the 'funnelStepStart' method from FunnelMetrics\n // to record the beginning of the interaction with the current step.\n // On unmount, it does a similar thing but this time calling 'funnelStepComplete' to record the completion of the interaction.\n useEffect(() => {\n if (!funnelInteractionId) {\n // This step is not inside an active funnel.\n return;\n }\n\n if (parentStepExists && parentStepFunnelInteractionId) {\n /*\n This step is inside another step, which already reports events as\n part of an active funnel (i.e. that step is not a parent of a Wizard).\n Thus, this current step does not need to report any events.\n */\n return;\n }\n\n const stepName = getTextFromSelector(stepNameSelector);\n\n if (funnelState.current === 'default') {\n FunnelMetrics.funnelStepStart({\n stepIdentifier,\n funnelIdentifier,\n funnelInteractionId,\n stepNumber,\n stepName,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n totalSubSteps: subStepCount.current,\n subStepConfiguration: getSubStepConfiguration(),\n });\n }\n\n return () => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n if (funnelState.current !== 'cancelled') {\n FunnelMetrics.funnelStepComplete({\n funnelIdentifier,\n funnelInteractionId,\n stepIdentifier,\n stepNumber,\n stepName,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n totalSubSteps: subStepCount.current,\n });\n }\n };\n }, [\n stepIdentifier,\n funnelIdentifier,\n funnelInteractionId,\n stepNumber,\n stepNameSelector,\n funnelState,\n parentStepExists,\n funnelType,\n parentStepFunnelInteractionId,\n ]);\n\n const contextValue: FunnelStepContextValue = {\n stepIdentifier,\n stepNumber,\n stepNameSelector,\n funnelStepProps,\n subStepCount,\n isInStep: true,\n funnelInteractionId,\n onStepChange,\n subStepConfiguration,\n stepErrorContext,\n };\n\n /*\n If this step is inside another step which already reports events as part of an active\n funnel (i.e. that step is not a parent of a Wizard), the current step becomes invisible\n in the hierarchy by passing the context of its parent through.\n */\n const effectiveContextValue = parentStepExists && parentStepFunnelInteractionId ? parentStep : contextValue;\n\n return (\n <FunnelStepContext.Provider value={effectiveContextValue}>\n {typeof children === 'function' ? children(effectiveContextValue) : children}\n </FunnelStepContext.Provider>\n );\n};\ninterface AnalyticsFunnelSubStepProps {\n subStepIdentifier?: AnalyticsMetadata['instanceIdentifier'];\n subStepErrorContext?: AnalyticsMetadata['errorContext'];\n children?: React.ReactNode | ((props: FunnelSubStepContextValue) => React.ReactNode);\n}\n\nexport const AnalyticsFunnelSubStep = ({\n children,\n subStepIdentifier,\n subStepErrorContext,\n}: AnalyticsFunnelSubStepProps) => {\n const subStepId = useUniqueId('substep');\n const subStepSelector = getSubStepSelector(subStepId);\n const subStepNameSelector = getSubStepNameSelector(subStepId);\n const subStepRef = useRef<HTMLDivElement | null>(null);\n const { subStepCount, onStepChange } = useFunnelStep();\n const mousePressed = useRef<boolean>(false);\n const isFocusedSubStep = useRef<boolean>(false);\n const focusCleanupFunction = useRef<undefined | (() => void)>(undefined);\n const { funnelState, funnelInteractionId } = useFunnel();\n const { stepNumber, stepNameSelector } = useFunnelStep();\n\n const newContext: FunnelSubStepContextValue = {\n subStepIdentifier,\n subStepErrorContext,\n subStepSelector,\n subStepNameSelector,\n subStepId,\n subStepRef,\n mousePressed,\n isFocusedSubStep,\n focusCleanupFunction,\n isNestedSubStep: false,\n };\n\n const inheritedContext = { ...useContext(FunnelSubStepContext), isNestedSubStep: true };\n\n const isNested = Boolean(inheritedContext.subStepId);\n\n useEffect(() => {\n if (!isNested) {\n subStepCount.current++;\n onStepChange();\n\n return () => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n subStepCount.current--;\n onStepChange();\n };\n }\n }, [isNested, subStepCount, onStepChange]);\n\n const context = isNested ? inheritedContext : newContext;\n\n useEffect(() => {\n if (isNested || !subStepRef.current) {\n return;\n }\n\n const onMouseDown = () => (mousePressed.current = true);\n\n const onMouseUp = async () => {\n mousePressed.current = false;\n\n if (!isFocusedSubStep.current) {\n return;\n }\n\n /*\n Some mouse events result in an element being focused. However,\n this happens only _after_ the onMouseUp event. We yield the\n event loop here, so that `document.activeElement` has the\n correct new value.\n */\n await new Promise(r => setTimeout(r, 1));\n\n if (!subStepRef.current || !document.activeElement || !nodeBelongs(subStepRef.current, document.activeElement)) {\n isFocusedSubStep.current = false;\n\n /*\n Run this substep's own focus cleanup function if another substep\n hasn't already done it for us.\n */\n focusCleanupFunction.current?.();\n }\n };\n window.addEventListener('mousedown', onMouseDown);\n window.addEventListener('mouseup', onMouseUp);\n return () => {\n window.removeEventListener('mousedown', onMouseDown);\n window.removeEventListener('mouseup', onMouseUp);\n };\n }, [\n funnelInteractionId,\n funnelState,\n stepNameSelector,\n stepNumber,\n subStepNameSelector,\n subStepSelector,\n focusCleanupFunction,\n isNested,\n subStepRef,\n ]);\n\n return (\n <FunnelSubStepContext.Provider value={context}>\n {typeof children === 'function' ? children(context) : children}\n </FunnelSubStepContext.Provider>\n );\n};\n"]}
1
+ {"version":3,"file":"analytics-funnel.js","sourceRoot":"","sources":["../../../../../src/internal/analytics/components/analytics-funnel.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,WA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,WAAW;QACX,gBAAgB;QAChB,UAAU;QACV,mBAAmB;QACnB,eAAe;QACf,oBAAoB;QACpB,QAAQ;QACR,UAAU;KACX,CAAC,CAAC;IAEH,OAAO,CACL,oBAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO,IAC1C,OAAO,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAChC,CACjC,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useContext, useEffect, useRef, useState } from 'react';\n\nimport { PACKAGE_VERSION } from '../../environment';\nimport { useDebounceCallback } from '../../hooks/use-debounce-callback';\nimport { useUniqueId } from '../../hooks/use-unique-id';\nimport { useVisualRefresh } from '../../hooks/use-visual-mode';\nimport { nodeBelongs } from '../../utils/node-belongs';\nimport {\n FunnelContext,\n FunnelContextValue,\n FunnelState,\n FunnelStepContext,\n FunnelStepContextValue,\n FunnelSubStepContext,\n FunnelSubStepContextValue,\n} from '../context/analytics-context';\nimport { useFunnel, useFunnelStep } from '../hooks/use-funnel';\nimport { FunnelMetrics, PerformanceMetrics } from '../index';\nimport {\n AnalyticsMetadata,\n FunnelStartProps,\n FunnelStepProps,\n StepConfiguration,\n SubStepConfiguration,\n TaskCompletionDataProps,\n} from '../interfaces';\nimport {\n DATA_ATTR_FUNNEL_STEP,\n DATA_ATTR_RESOURCE_TYPE,\n getFunnelNameSelector,\n getSubStepAllSelector,\n getSubStepNameSelector,\n getSubStepSelector,\n getTextFromSelector,\n} from '../selectors';\n\nconst FUNNEL_VERSION = '1.4';\n\ninterface AnalyticsFunnelProps {\n mounted?: boolean;\n children?: React.ReactNode;\n stepConfiguration?: StepConfiguration[];\n funnelNameSelectors?: string[];\n funnelType: FunnelStartProps['funnelType'];\n optionalStepNumbers: FunnelStartProps['optionalStepNumbers'];\n totalFunnelSteps: FunnelStartProps['totalFunnelSteps'];\n funnelIdentifier?: AnalyticsMetadata['instanceIdentifier'];\n funnelFlowType?: AnalyticsMetadata['flowType'];\n funnelErrorContext?: AnalyticsMetadata['errorContext'];\n funnelResourceType?: AnalyticsMetadata['resourceType'];\n}\n\nexport const AnalyticsFunnel = (props: AnalyticsFunnelProps) => {\n const { isInFunnel } = useFunnel();\n /*\n If the current funnel component is a Form (i.e. single-page funnel), it should\n defer its funnel-handling to a parent Form element, if present.\n Wizards (i.e. multi-page funnels) always take highest precedence for handling funnels,\n and do not defer to any other element.\n */\n if (isInFunnel && props.funnelType === 'single-page') {\n return <>{props.children}</>;\n }\n\n return <InnerAnalyticsFunnel {...props} />;\n};\n\nexport const CREATION_EDIT_FLOW_DONE_EVENT_NAME = 'awsui-creation-edit-flow-done';\nconst dispatchCreateEditFlowDoneEvent = () => {\n try {\n window.top?.document.dispatchEvent(new Event(CREATION_EDIT_FLOW_DONE_EVENT_NAME));\n } catch {\n // probably because of cross-origin error, then do not dispatch the event\n }\n};\n\nconst onFunnelCancelled = ({\n funnelInteractionId,\n funnelIdentifier,\n}: {\n funnelInteractionId: string;\n funnelIdentifier?: string;\n}) => {\n FunnelMetrics.funnelCancelled({ funnelInteractionId, funnelIdentifier });\n};\n\nconst onFunnelComplete = (taskCompletionDataProps: TaskCompletionDataProps) => {\n FunnelMetrics.funnelComplete({\n funnelInteractionId: taskCompletionDataProps.taskInteractionId,\n funnelIdentifier: taskCompletionDataProps.taskIdentifier,\n });\n PerformanceMetrics.taskCompletionData(taskCompletionDataProps);\n dispatchCreateEditFlowDoneEvent();\n};\n\nfunction evaluateSelectors(selectors: string[], defaultSelector: string) {\n for (const selector of selectors) {\n const element = document.querySelector(selector);\n if (element) {\n return selector;\n }\n }\n\n return defaultSelector;\n}\n\nconst InnerAnalyticsFunnel = ({ mounted = true, children, stepConfiguration, ...props }: AnalyticsFunnelProps) => {\n const [funnelInteractionId, setFunnelInteractionId] = useState<string>('');\n const [submissionAttempt, setSubmissionAttempt] = useState(0);\n const isVisualRefresh = useVisualRefresh();\n const funnelState = useRef<FunnelState>('default');\n const funnelNameSelector = useRef<string>(getFunnelNameSelector());\n const errorCount = useRef<number>(0);\n const loadingButtonCount = useRef<number>(0);\n const wizardCount = useRef<number>(0);\n const latestFocusCleanupFunction = useRef<undefined | (() => void)>(undefined);\n const formSubmitStartTime = useRef<number>(0);\n // This useEffect hook is run once on component mount to initiate the funnel analytics.\n // It first calls the 'funnelStart' method from FunnelMetrics, providing all necessary details\n // about the funnel, and receives a unique interaction id.\n // This unique interaction id is then stored in the state for further use.\n //\n // On component unmount, it checks whether the funnel was successfully completed.\n // Based on this, it either calls 'funnelComplete' or 'funnelCancelled' method from FunnelMetrics.\n //\n // The eslint-disable is required as we deliberately want this effect to run only once on mount and unmount,\n // hence we do not provide any dependencies.\n useEffect(() => {\n if (!mounted) {\n return;\n }\n\n /*\n We run this effect with a delay, in order to detect whether this funnel contains a Wizard.\n If it does contain a Wizard, that Wizard should take precedence for handling the funnel, and\n this current funnel component should do nothing.\n */\n let funnelInteractionId: string;\n const handle = setTimeout(() => {\n funnelNameSelector.current = evaluateSelectors(props.funnelNameSelectors || [], getFunnelNameSelector());\n if (props.funnelType === 'single-page' && wizardCount.current > 0) {\n return;\n }\n\n // Reset the state, in case the component was re-mounted.\n funnelState.current = 'default';\n const funnelName = getTextFromSelector(funnelNameSelector.current) ?? '';\n\n const singleStepFlowStepConfiguration = [\n {\n number: 1,\n isOptional: false,\n name: funnelName,\n stepIdentifier: props.funnelIdentifier,\n },\n ];\n\n funnelInteractionId = FunnelMetrics.funnelStart({\n funnelName,\n funnelIdentifier: props.funnelIdentifier,\n flowType: props.funnelFlowType,\n funnelNameSelector: funnelNameSelector.current,\n optionalStepNumbers: props.optionalStepNumbers,\n funnelType: props.funnelType,\n totalFunnelSteps: props.totalFunnelSteps,\n componentVersion: PACKAGE_VERSION,\n componentTheme: isVisualRefresh ? 'vr' : 'classic',\n funnelVersion: FUNNEL_VERSION,\n stepConfiguration: stepConfiguration ?? singleStepFlowStepConfiguration,\n resourceType: props.funnelResourceType || getTextFromSelector(`[${DATA_ATTR_RESOURCE_TYPE}]`),\n });\n\n setFunnelInteractionId(funnelInteractionId);\n }, 1);\n\n /*\n A funnel counts as \"successful\" if it is unmounted after being \"complete\".\n */\n /* eslint-disable react-hooks/exhaustive-deps */\n return () => {\n clearTimeout(handle);\n if (props.funnelType === 'single-page' && wizardCount.current > 0) {\n return;\n }\n\n if (funnelState.current === 'validating') {\n // Finish the validation phase early.\n const taskCompletionDataProps: TaskCompletionDataProps = {\n taskIdentifier: props.funnelIdentifier,\n taskType: props.funnelType,\n timeToRespondAfterFormSubmit: performance.now() - formSubmitStartTime.current,\n taskInteractionId: funnelInteractionId,\n taskFlowType: props.funnelFlowType,\n };\n onFunnelComplete(taskCompletionDataProps);\n funnelState.current = 'complete';\n }\n\n if (funnelState.current === 'complete') {\n FunnelMetrics.funnelSuccessful({ funnelInteractionId, funnelIdentifier: props.funnelIdentifier });\n } else {\n funnelState.current = 'cancelled';\n onFunnelCancelled({ funnelInteractionId, funnelIdentifier: props.funnelIdentifier });\n }\n };\n }, [mounted]);\n /* eslint-enable react-hooks/exhaustive-deps */\n\n const funnelSubmit = () => {\n funnelState.current = 'validating';\n formSubmitStartTime.current = performance.now();\n /*\n When the user attempts to submit the form, we wait for 50 milliseconds before checking\n if any form validation errors are present. This value was chosen to give enough time\n for validation and rerendering to occur, but be low enough that the user will not\n be able to take further action in the meantime.\n */\n const VALIDATION_WAIT_DELAY = 50;\n /*\n Loading is expected to take longer than validation, so we can keep the pressure on the CPU low.\n */\n const LOADING_WAIT_DELAY = 100;\n\n const checkForCompleteness = () => {\n if (funnelState.current === 'complete') {\n return;\n }\n\n if (loadingButtonCount.current > 0) {\n setTimeout(checkForCompleteness, LOADING_WAIT_DELAY);\n return;\n }\n\n if (errorCount.current === 0) {\n /*\n If no validation errors are rendered, we treat the funnel as complete.\n */\n const taskCompletionDataProps: TaskCompletionDataProps = {\n taskIdentifier: props.funnelIdentifier,\n taskType: props.funnelType,\n timeToRespondAfterFormSubmit: performance.now() - formSubmitStartTime.current,\n taskInteractionId: funnelInteractionId,\n taskFlowType: props.funnelFlowType,\n };\n onFunnelComplete(taskCompletionDataProps);\n funnelState.current = 'complete';\n } else {\n funnelState.current = 'default';\n }\n };\n setTimeout(checkForCompleteness, VALIDATION_WAIT_DELAY);\n };\n\n const funnelNextOrSubmitAttempt = () => setSubmissionAttempt(i => i + 1);\n\n const funnelCancel = () => {};\n\n const funnelContextValue: FunnelContextValue = {\n funnelInteractionId,\n funnelIdentifier: props.funnelIdentifier,\n funnelFlowType: props.funnelFlowType,\n funnelErrorContext: props.funnelErrorContext,\n setFunnelInteractionId,\n funnelType: props.funnelType,\n optionalStepNumbers: props.optionalStepNumbers,\n totalFunnelSteps: props.totalFunnelSteps,\n funnelNameSelector: funnelNameSelector.current,\n funnelSubmit,\n funnelCancel,\n submissionAttempt,\n funnelNextOrSubmitAttempt,\n funnelState,\n errorCount,\n loadingButtonCount,\n latestFocusCleanupFunction,\n isInFunnel: true,\n wizardCount,\n };\n\n return <FunnelContext.Provider value={funnelContextValue}>{children}</FunnelContext.Provider>;\n};\n\ninterface AnalyticsFunnelStepProps {\n mounted?: boolean;\n stepIdentifier?: AnalyticsMetadata['instanceIdentifier'];\n stepErrorContext?: AnalyticsMetadata['errorContext'];\n children?: React.ReactNode | ((props: FunnelStepContextValue) => React.ReactNode);\n stepNameSelector?: FunnelStepProps['stepNameSelector'];\n stepNumber: FunnelStepProps['stepNumber'];\n}\n\nexport const AnalyticsFunnelStep = (props: AnalyticsFunnelStepProps) => {\n /*\n This wrapper is used to apply a `key` property to the actual (inner) AnalyticsFunnelStep\n element. This allows us to keep the state and effects separate per step.\n */\n return <InnerAnalyticsFunnelStep {...props} key={props.stepNumber} />;\n};\n\nfunction getSubStepConfiguration(): SubStepConfiguration[] {\n const subSteps = Array.from(document.querySelectorAll<HTMLElement>(getSubStepAllSelector()));\n\n const subStepConfiguration = subSteps.map((substep, index) => {\n const subStepIdentifier = (substep as any)?.__awsuiMetadata__?.analytics?.instanceIdentifier;\n const name = substep.querySelector<HTMLElement>(getSubStepNameSelector())?.innerText?.trim() ?? '';\n\n return {\n name,\n number: index + 1,\n subStepIdentifier,\n };\n });\n return subStepConfiguration;\n}\n\nfunction useStepChangeListener(stepNumber: number, handler: (stepConfiguration: SubStepConfiguration[]) => void) {\n const subStepConfiguration = useRef(new Map<number, SubStepConfiguration[] | undefined>());\n /*\n Chosen so that it's hopefully shorter than a user interaction, but gives enough time for the\n amount of containers to stabilise.\n */\n const SUBSTEP_CHANGE_DEBOUNCE = 50;\n\n const listenForSubStepChanges = useRef(false);\n useEffect(() => {\n // We prevent emitting the event on the first render.\n const handle = setTimeout(() => (listenForSubStepChanges.current = true), SUBSTEP_CHANGE_DEBOUNCE);\n\n return () => {\n clearTimeout(handle);\n listenForSubStepChanges.current = false;\n };\n }, []);\n\n useEffect(() => {\n const handle = setTimeout(\n () => subStepConfiguration.current.set(stepNumber, getSubStepConfiguration()),\n SUBSTEP_CHANGE_DEBOUNCE\n );\n return () => {\n clearTimeout(handle);\n };\n }, [stepNumber]);\n\n /* We debounce this handler, so that multiple containers can change at once without causing\n too many events. */\n const stepChangeCallback = useDebounceCallback(() => {\n // We don't want to emit the event after the component has been unmounted.\n if (!listenForSubStepChanges.current) {\n return;\n }\n\n subStepConfiguration.current.set(stepNumber, getSubStepConfiguration());\n handler(subStepConfiguration.current.get(stepNumber)!);\n }, SUBSTEP_CHANGE_DEBOUNCE);\n\n return { onStepChange: stepChangeCallback, subStepConfiguration };\n}\n\nconst InnerAnalyticsFunnelStep = ({\n mounted = true,\n children,\n stepNumber,\n stepIdentifier,\n stepErrorContext,\n ...rest\n}: AnalyticsFunnelStepProps) => {\n const { funnelInteractionId, funnelIdentifier, funnelNameSelector, funnelState, funnelType } = useFunnel();\n const parentStep = useFunnelStep();\n const parentStepExists = parentStep.isInStep;\n const parentStepFunnelInteractionId = parentStep.funnelInteractionId;\n\n const funnelStepProps = { [DATA_ATTR_FUNNEL_STEP]: stepNumber };\n\n const subStepCount = useRef<number>(0);\n\n const stepNameSelector = rest.stepNameSelector || funnelNameSelector;\n const { onStepChange, subStepConfiguration } = useStepChangeListener(stepNumber, subStepConfiguration => {\n if (!funnelInteractionId) {\n return;\n }\n\n FunnelMetrics.funnelStepChange({\n stepIdentifier,\n funnelIdentifier,\n funnelInteractionId,\n stepNumber,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n totalSubSteps: subStepCount.current,\n subStepConfiguration,\n });\n });\n\n useEffect(() => {\n if (!funnelInteractionId) {\n // This step is not inside an active funnel.\n return;\n }\n\n if (mounted) {\n return;\n }\n\n const stepName = getTextFromSelector(stepNameSelector);\n const handler = setTimeout(() => {\n if (funnelState.current !== 'cancelled') {\n FunnelMetrics.funnelStepComplete({\n funnelIdentifier,\n funnelInteractionId,\n stepIdentifier,\n stepNumber,\n stepName,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n totalSubSteps: subStepCount.current,\n });\n }\n }, 0);\n\n return () => {\n clearTimeout(handler);\n };\n }, [\n stepIdentifier,\n funnelIdentifier,\n funnelInteractionId,\n stepNumber,\n stepNameSelector,\n funnelState,\n parentStepExists,\n funnelType,\n parentStepFunnelInteractionId,\n mounted,\n ]);\n\n // This useEffect hook is used to track the start and completion of interaction with the step.\n // On mount, if there is a valid funnel interaction id, it calls the 'funnelStepStart' method from FunnelMetrics\n // to record the beginning of the interaction with the current step.\n // On unmount, it does a similar thing but this time calling 'funnelStepComplete' to record the completion of the interaction.\n useEffect(() => {\n if (!funnelInteractionId) {\n // This step is not inside an active funnel.\n return;\n }\n\n if (parentStepExists && parentStepFunnelInteractionId) {\n /*\n This step is inside another step, which already reports events as\n part of an active funnel (i.e. that step is not a parent of a Wizard).\n Thus, this current step does not need to report any events.\n */\n return;\n }\n\n const stepName = getTextFromSelector(stepNameSelector);\n\n if (funnelState.current === 'default') {\n FunnelMetrics.funnelStepStart({\n stepIdentifier,\n funnelIdentifier,\n funnelInteractionId,\n stepNumber,\n stepName,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n totalSubSteps: subStepCount.current,\n subStepConfiguration: getSubStepConfiguration(),\n });\n }\n\n return () => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n if (funnelState.current !== 'cancelled') {\n FunnelMetrics.funnelStepComplete({\n funnelIdentifier,\n funnelInteractionId,\n stepIdentifier,\n stepNumber,\n stepName,\n stepNameSelector,\n subStepAllSelector: getSubStepAllSelector(),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n totalSubSteps: subStepCount.current,\n });\n }\n };\n }, [\n stepIdentifier,\n funnelIdentifier,\n funnelInteractionId,\n stepNumber,\n stepNameSelector,\n funnelState,\n parentStepExists,\n funnelType,\n parentStepFunnelInteractionId,\n ]);\n\n const contextValue: FunnelStepContextValue = {\n stepIdentifier,\n stepNumber,\n stepNameSelector,\n funnelStepProps,\n subStepCount,\n isInStep: true,\n funnelInteractionId,\n onStepChange,\n subStepConfiguration,\n stepErrorContext,\n };\n\n /*\n If this step is inside another step which already reports events as part of an active\n funnel (i.e. that step is not a parent of a Wizard), the current step becomes invisible\n in the hierarchy by passing the context of its parent through.\n */\n const effectiveContextValue = parentStepExists && parentStepFunnelInteractionId ? parentStep : contextValue;\n\n return (\n <FunnelStepContext.Provider value={effectiveContextValue}>\n {typeof children === 'function' ? children(effectiveContextValue) : children}\n </FunnelStepContext.Provider>\n );\n};\ninterface AnalyticsFunnelSubStepProps {\n subStepIdentifier?: AnalyticsMetadata['instanceIdentifier'];\n subStepErrorContext?: AnalyticsMetadata['errorContext'];\n children?: React.ReactNode | ((props: FunnelSubStepContextValue) => React.ReactNode);\n}\n\nexport const AnalyticsFunnelSubStep = ({\n children,\n subStepIdentifier,\n subStepErrorContext,\n}: AnalyticsFunnelSubStepProps) => {\n const subStepId = useUniqueId('substep');\n const subStepSelector = getSubStepSelector(subStepId);\n const subStepNameSelector = getSubStepNameSelector(subStepId);\n const subStepRef = useRef<HTMLDivElement | null>(null);\n const { subStepCount, onStepChange } = useFunnelStep();\n const mousePressed = useRef<boolean>(false);\n const isFocusedSubStep = useRef<boolean>(false);\n const focusCleanupFunction = useRef<undefined | (() => void)>(undefined);\n const { funnelState, funnelInteractionId } = useFunnel();\n const { stepNumber, stepNameSelector } = useFunnelStep();\n\n const newContext: FunnelSubStepContextValue = {\n subStepIdentifier,\n subStepErrorContext,\n subStepSelector,\n subStepNameSelector,\n subStepId,\n subStepRef,\n mousePressed,\n isFocusedSubStep,\n focusCleanupFunction,\n isNestedSubStep: false,\n };\n\n const inheritedContext = { ...useContext(FunnelSubStepContext), isNestedSubStep: true };\n\n const isNested = Boolean(inheritedContext.subStepId);\n\n useEffect(() => {\n if (!isNested) {\n subStepCount.current++;\n onStepChange();\n\n return () => {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n subStepCount.current--;\n onStepChange();\n };\n }\n }, [isNested, subStepCount, onStepChange]);\n\n const context = isNested ? inheritedContext : newContext;\n\n useEffect(() => {\n if (isNested || !subStepRef.current) {\n return;\n }\n\n const onMouseDown = () => (mousePressed.current = true);\n\n const onMouseUp = async () => {\n mousePressed.current = false;\n\n if (!isFocusedSubStep.current) {\n return;\n }\n\n /*\n Some mouse events result in an element being focused. However,\n this happens only _after_ the onMouseUp event. We yield the\n event loop here, so that `document.activeElement` has the\n correct new value.\n */\n await new Promise(r => setTimeout(r, 1));\n\n if (!subStepRef.current || !document.activeElement || !nodeBelongs(subStepRef.current, document.activeElement)) {\n isFocusedSubStep.current = false;\n\n /*\n Run this substep's own focus cleanup function if another substep\n hasn't already done it for us.\n */\n focusCleanupFunction.current?.();\n }\n };\n window.addEventListener('mousedown', onMouseDown);\n window.addEventListener('mouseup', onMouseUp);\n return () => {\n window.removeEventListener('mousedown', onMouseDown);\n window.removeEventListener('mouseup', onMouseUp);\n };\n }, [\n funnelInteractionId,\n funnelState,\n stepNameSelector,\n stepNumber,\n subStepNameSelector,\n subStepSelector,\n focusCleanupFunction,\n isNested,\n subStepRef,\n ]);\n\n return (\n <FunnelSubStepContext.Provider value={context}>\n {typeof children === 'function' ? children(context) : children}\n </FunnelSubStepContext.Provider>\n );\n};\n"]}