@cloudscape-design/components-themeable 3.0.251 → 3.0.253

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 (356) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/app-layout/constants.scss +5 -0
  3. package/lib/internal/scss/app-layout/drawer/styles.scss +45 -5
  4. package/lib/internal/scss/app-layout/mobile-toolbar/styles.scss +6 -1
  5. package/lib/internal/scss/app-layout/test-classes/styles.scss +15 -0
  6. package/lib/internal/scss/app-layout/visual-refresh/app-bar.scss +6 -3
  7. package/lib/internal/scss/app-layout/visual-refresh/drawers.scss +151 -0
  8. package/lib/internal/scss/app-layout/visual-refresh/split-panel.scss +1 -1
  9. package/lib/internal/scss/app-layout/visual-refresh/styles.scss +1 -0
  10. package/lib/internal/scss/button/styles.scss +5 -3
  11. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +31 -30
  12. package/lib/internal/scss/internal/hooks/focus-visible/index.scss +2 -1
  13. package/lib/internal/scss/space-between/styles.scss +5 -17
  14. package/lib/internal/scss/table/body-cell/styles.scss +14 -12
  15. package/lib/internal/scss/table/header-cell/styles.scss +2 -1
  16. package/lib/internal/scss/table/resizer/styles.scss +2 -1
  17. package/lib/internal/template/annotation-context/annotation/annotation-trigger.d.ts.map +1 -1
  18. package/lib/internal/template/annotation-context/annotation/annotation-trigger.js +1 -3
  19. package/lib/internal/template/annotation-context/annotation/annotation-trigger.js.map +1 -1
  20. package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
  21. package/lib/internal/template/annotation-context/annotation/styles.scoped.css +30 -30
  22. package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
  23. package/lib/internal/template/app-layout/drawer/index.d.ts +3 -21
  24. package/lib/internal/template/app-layout/drawer/index.d.ts.map +1 -1
  25. package/lib/internal/template/app-layout/drawer/index.js +25 -5
  26. package/lib/internal/template/app-layout/drawer/index.js.map +1 -1
  27. package/lib/internal/template/app-layout/drawer/interfaces.d.ts +84 -0
  28. package/lib/internal/template/app-layout/drawer/interfaces.d.ts.map +1 -0
  29. package/lib/internal/template/app-layout/drawer/interfaces.js +2 -0
  30. package/lib/internal/template/app-layout/drawer/interfaces.js.map +1 -0
  31. package/lib/internal/template/app-layout/drawer/resizable-drawer.d.ts +4 -0
  32. package/lib/internal/template/app-layout/drawer/resizable-drawer.d.ts.map +1 -0
  33. package/lib/internal/template/app-layout/drawer/resizable-drawer.js +51 -0
  34. package/lib/internal/template/app-layout/drawer/resizable-drawer.js.map +1 -0
  35. package/lib/internal/template/app-layout/drawer/styles.css.js +10 -5
  36. package/lib/internal/template/app-layout/drawer/styles.scoped.css +46 -10
  37. package/lib/internal/template/app-layout/drawer/styles.selectors.js +10 -5
  38. package/lib/internal/template/app-layout/index.d.ts.map +1 -1
  39. package/lib/internal/template/app-layout/index.js +142 -17
  40. package/lib/internal/template/app-layout/index.js.map +1 -1
  41. package/lib/internal/template/app-layout/mobile-toolbar/index.d.ts +10 -1
  42. package/lib/internal/template/app-layout/mobile-toolbar/index.d.ts.map +1 -1
  43. package/lib/internal/template/app-layout/mobile-toolbar/index.js +3 -2
  44. package/lib/internal/template/app-layout/mobile-toolbar/index.js.map +1 -1
  45. package/lib/internal/template/app-layout/mobile-toolbar/styles.css.js +5 -4
  46. package/lib/internal/template/app-layout/mobile-toolbar/styles.scoped.css +11 -7
  47. package/lib/internal/template/app-layout/mobile-toolbar/styles.selectors.js +5 -4
  48. package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
  49. package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
  50. package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
  51. package/lib/internal/template/app-layout/test-classes/styles.css.js +18 -13
  52. package/lib/internal/template/app-layout/test-classes/styles.scoped.css +33 -13
  53. package/lib/internal/template/app-layout/test-classes/styles.selectors.js +18 -13
  54. package/lib/internal/template/app-layout/toggles/index.d.ts.map +1 -1
  55. package/lib/internal/template/app-layout/toggles/index.js +2 -2
  56. package/lib/internal/template/app-layout/toggles/index.js.map +1 -1
  57. package/lib/internal/template/app-layout/toggles/interfaces.d.ts +3 -1
  58. package/lib/internal/template/app-layout/toggles/interfaces.d.ts.map +1 -1
  59. package/lib/internal/template/app-layout/toggles/interfaces.js.map +1 -1
  60. package/lib/internal/template/app-layout/utils/use-drawer-focus-control.d.ts +21 -0
  61. package/lib/internal/template/app-layout/utils/use-drawer-focus-control.d.ts.map +1 -0
  62. package/lib/internal/template/app-layout/utils/use-drawer-focus-control.js +65 -0
  63. package/lib/internal/template/app-layout/utils/use-drawer-focus-control.js.map +1 -0
  64. package/lib/internal/template/app-layout/visual-refresh/app-bar.d.ts.map +1 -1
  65. package/lib/internal/template/app-layout/visual-refresh/app-bar.js +8 -6
  66. package/lib/internal/template/app-layout/visual-refresh/app-bar.js.map +1 -1
  67. package/lib/internal/template/app-layout/visual-refresh/context.d.ts +13 -5
  68. package/lib/internal/template/app-layout/visual-refresh/context.d.ts.map +1 -1
  69. package/lib/internal/template/app-layout/visual-refresh/context.js +104 -49
  70. package/lib/internal/template/app-layout/visual-refresh/context.js.map +1 -1
  71. package/lib/internal/template/app-layout/visual-refresh/drawers.d.ts +47 -0
  72. package/lib/internal/template/app-layout/visual-refresh/drawers.d.ts.map +1 -0
  73. package/lib/internal/template/app-layout/visual-refresh/drawers.js +127 -0
  74. package/lib/internal/template/app-layout/visual-refresh/drawers.js.map +1 -0
  75. package/lib/internal/template/app-layout/visual-refresh/header.js +2 -2
  76. package/lib/internal/template/app-layout/visual-refresh/header.js.map +1 -1
  77. package/lib/internal/template/app-layout/visual-refresh/index.d.ts.map +1 -1
  78. package/lib/internal/template/app-layout/visual-refresh/index.js +3 -1
  79. package/lib/internal/template/app-layout/visual-refresh/index.js.map +1 -1
  80. package/lib/internal/template/app-layout/visual-refresh/layout.d.ts.map +1 -1
  81. package/lib/internal/template/app-layout/visual-refresh/layout.js +5 -42
  82. package/lib/internal/template/app-layout/visual-refresh/layout.js.map +1 -1
  83. package/lib/internal/template/app-layout/visual-refresh/main.d.ts.map +1 -1
  84. package/lib/internal/template/app-layout/visual-refresh/main.js +2 -3
  85. package/lib/internal/template/app-layout/visual-refresh/main.js.map +1 -1
  86. package/lib/internal/template/app-layout/visual-refresh/navigation.js +2 -2
  87. package/lib/internal/template/app-layout/visual-refresh/navigation.js.map +1 -1
  88. package/lib/internal/template/app-layout/visual-refresh/notifications.d.ts.map +1 -1
  89. package/lib/internal/template/app-layout/visual-refresh/notifications.js +2 -2
  90. package/lib/internal/template/app-layout/visual-refresh/notifications.js.map +1 -1
  91. package/lib/internal/template/app-layout/visual-refresh/split-panel.js +2 -2
  92. package/lib/internal/template/app-layout/visual-refresh/split-panel.js.map +1 -1
  93. package/lib/internal/template/app-layout/visual-refresh/styles.css.js +71 -61
  94. package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +437 -229
  95. package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +71 -61
  96. package/lib/internal/template/app-layout/visual-refresh/tools.d.ts.map +1 -1
  97. package/lib/internal/template/app-layout/visual-refresh/tools.js +7 -3
  98. package/lib/internal/template/app-layout/visual-refresh/tools.js.map +1 -1
  99. package/lib/internal/template/app-layout/visual-refresh/trigger-button.d.ts +4 -3
  100. package/lib/internal/template/app-layout/visual-refresh/trigger-button.d.ts.map +1 -1
  101. package/lib/internal/template/app-layout/visual-refresh/trigger-button.js +5 -6
  102. package/lib/internal/template/app-layout/visual-refresh/trigger-button.js.map +1 -1
  103. package/lib/internal/template/area-chart/internal.js +1 -1
  104. package/lib/internal/template/area-chart/internal.js.map +1 -1
  105. package/lib/internal/template/breadcrumb-group/item/item.d.ts.map +1 -1
  106. package/lib/internal/template/breadcrumb-group/item/item.js +2 -5
  107. package/lib/internal/template/breadcrumb-group/item/item.js.map +1 -1
  108. package/lib/internal/template/breadcrumb-group/item/styles.css.js +9 -9
  109. package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +17 -17
  110. package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +9 -9
  111. package/lib/internal/template/button/internal.d.ts.map +1 -1
  112. package/lib/internal/template/button/internal.js +2 -3
  113. package/lib/internal/template/button/internal.js.map +1 -1
  114. package/lib/internal/template/button/styles.css.js +19 -18
  115. package/lib/internal/template/button/styles.scoped.css +136 -136
  116. package/lib/internal/template/button/styles.selectors.js +19 -18
  117. package/lib/internal/template/calendar/grid/index.d.ts.map +1 -1
  118. package/lib/internal/template/calendar/grid/index.js +2 -4
  119. package/lib/internal/template/calendar/grid/index.js.map +1 -1
  120. package/lib/internal/template/calendar/styles.css.js +18 -18
  121. package/lib/internal/template/calendar/styles.scoped.css +38 -38
  122. package/lib/internal/template/calendar/styles.selectors.js +18 -18
  123. package/lib/internal/template/code-editor/styles.css.js +32 -32
  124. package/lib/internal/template/code-editor/styles.scoped.css +157 -157
  125. package/lib/internal/template/code-editor/styles.selectors.js +32 -32
  126. package/lib/internal/template/code-editor/tab-button.d.ts.map +1 -1
  127. package/lib/internal/template/code-editor/tab-button.js +2 -4
  128. package/lib/internal/template/code-editor/tab-button.js.map +1 -1
  129. package/lib/internal/template/date-picker/index.d.ts.map +1 -1
  130. package/lib/internal/template/date-picker/index.js +1 -3
  131. package/lib/internal/template/date-picker/index.js.map +1 -1
  132. package/lib/internal/template/date-picker/styles.css.js +7 -7
  133. package/lib/internal/template/date-picker/styles.scoped.css +9 -9
  134. package/lib/internal/template/date-picker/styles.selectors.js +7 -7
  135. package/lib/internal/template/date-range-picker/calendar/grids/grid.d.ts.map +1 -1
  136. package/lib/internal/template/date-range-picker/calendar/grids/grid.js +1 -3
  137. package/lib/internal/template/date-range-picker/calendar/grids/grid.js.map +1 -1
  138. package/lib/internal/template/date-range-picker/calendar/grids/index.d.ts.map +1 -1
  139. package/lib/internal/template/date-range-picker/calendar/grids/index.js +1 -3
  140. package/lib/internal/template/date-range-picker/calendar/grids/index.js.map +1 -1
  141. package/lib/internal/template/date-range-picker/calendar/grids/styles.css.js +25 -25
  142. package/lib/internal/template/date-range-picker/calendar/grids/styles.scoped.css +42 -42
  143. package/lib/internal/template/date-range-picker/calendar/grids/styles.selectors.js +25 -25
  144. package/lib/internal/template/date-range-picker/dropdown.d.ts.map +1 -1
  145. package/lib/internal/template/date-range-picker/dropdown.js +1 -3
  146. package/lib/internal/template/date-range-picker/dropdown.js.map +1 -1
  147. package/lib/internal/template/date-range-picker/styles.css.js +38 -38
  148. package/lib/internal/template/date-range-picker/styles.scoped.css +45 -45
  149. package/lib/internal/template/date-range-picker/styles.selectors.js +38 -38
  150. package/lib/internal/template/expandable-section/expandable-section-header.d.ts.map +1 -1
  151. package/lib/internal/template/expandable-section/expandable-section-header.js +3 -7
  152. package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
  153. package/lib/internal/template/expandable-section/styles.css.js +23 -23
  154. package/lib/internal/template/expandable-section/styles.scoped.css +44 -44
  155. package/lib/internal/template/expandable-section/styles.selectors.js +23 -23
  156. package/lib/internal/template/flashbar/collapsible-flashbar.d.ts.map +1 -1
  157. package/lib/internal/template/flashbar/collapsible-flashbar.js +1 -3
  158. package/lib/internal/template/flashbar/collapsible-flashbar.js.map +1 -1
  159. package/lib/internal/template/flashbar/flash.d.ts.map +1 -1
  160. package/lib/internal/template/flashbar/flash.js +1 -3
  161. package/lib/internal/template/flashbar/flash.js.map +1 -1
  162. package/lib/internal/template/flashbar/styles.css.js +45 -45
  163. package/lib/internal/template/flashbar/styles.scoped.css +169 -169
  164. package/lib/internal/template/flashbar/styles.selectors.js +45 -45
  165. package/lib/internal/template/internal/base-component/styles.scoped.css +53 -0
  166. package/lib/internal/template/internal/components/abstract-switch/index.d.ts.map +1 -1
  167. package/lib/internal/template/internal/components/abstract-switch/index.js +8 -4
  168. package/lib/internal/template/internal/components/abstract-switch/index.js.map +1 -1
  169. package/lib/internal/template/internal/components/abstract-switch/styles.css.js +13 -13
  170. package/lib/internal/template/internal/components/abstract-switch/styles.scoped.css +19 -19
  171. package/lib/internal/template/internal/components/abstract-switch/styles.selectors.js +13 -13
  172. package/lib/internal/template/internal/components/button-trigger/index.d.ts.map +1 -1
  173. package/lib/internal/template/internal/components/button-trigger/index.js +1 -3
  174. package/lib/internal/template/internal/components/button-trigger/index.js.map +1 -1
  175. package/lib/internal/template/internal/components/button-trigger/styles.css.js +9 -9
  176. package/lib/internal/template/internal/components/button-trigger/styles.scoped.css +23 -23
  177. package/lib/internal/template/internal/components/button-trigger/styles.selectors.js +9 -9
  178. package/lib/internal/template/internal/components/chart-legend/index.d.ts.map +1 -1
  179. package/lib/internal/template/internal/components/chart-legend/index.js +2 -4
  180. package/lib/internal/template/internal/components/chart-legend/index.js.map +1 -1
  181. package/lib/internal/template/internal/components/chart-legend/styles.css.js +6 -6
  182. package/lib/internal/template/internal/components/chart-legend/styles.scoped.css +15 -15
  183. package/lib/internal/template/internal/components/chart-legend/styles.selectors.js +6 -6
  184. package/lib/internal/template/internal/components/chart-plot/focus-outline.d.ts.map +1 -1
  185. package/lib/internal/template/internal/components/chart-plot/focus-outline.js +25 -3
  186. package/lib/internal/template/internal/components/chart-plot/focus-outline.js.map +1 -1
  187. package/lib/internal/template/internal/components/filtering-token/index.d.ts +2 -1
  188. package/lib/internal/template/internal/components/filtering-token/index.d.ts.map +1 -1
  189. package/lib/internal/template/internal/components/filtering-token/index.js +3 -5
  190. package/lib/internal/template/internal/components/filtering-token/index.js.map +1 -1
  191. package/lib/internal/template/internal/components/filtering-token/styles.css.js +7 -7
  192. package/lib/internal/template/internal/components/filtering-token/styles.scoped.css +13 -13
  193. package/lib/internal/template/internal/components/filtering-token/styles.selectors.js +7 -7
  194. package/lib/internal/template/internal/components/menu-dropdown/index.d.ts.map +1 -1
  195. package/lib/internal/template/internal/components/menu-dropdown/index.js +2 -4
  196. package/lib/internal/template/internal/components/menu-dropdown/index.js.map +1 -1
  197. package/lib/internal/template/internal/components/menu-dropdown/styles.css.js +7 -7
  198. package/lib/internal/template/internal/components/menu-dropdown/styles.scoped.css +13 -13
  199. package/lib/internal/template/internal/components/menu-dropdown/styles.selectors.js +7 -7
  200. package/lib/internal/template/internal/components/token-list/index.d.ts +1 -1
  201. package/lib/internal/template/internal/components/token-list/index.d.ts.map +1 -1
  202. package/lib/internal/template/internal/components/token-list/index.js +3 -3
  203. package/lib/internal/template/internal/components/token-list/index.js.map +1 -1
  204. package/lib/internal/template/internal/components/token-list/interfaces.d.ts +0 -1
  205. package/lib/internal/template/internal/components/token-list/interfaces.d.ts.map +1 -1
  206. package/lib/internal/template/internal/components/token-list/interfaces.js.map +1 -1
  207. package/lib/internal/template/internal/components/token-list/styles.css.js +9 -9
  208. package/lib/internal/template/internal/components/token-list/styles.scoped.css +20 -20
  209. package/lib/internal/template/internal/components/token-list/styles.selectors.js +9 -9
  210. package/lib/internal/template/internal/components/token-list/token-focus-controller.js +1 -1
  211. package/lib/internal/template/internal/components/token-list/token-focus-controller.js.map +1 -1
  212. package/lib/internal/template/internal/components/token-list/token-limit-toggle.d.ts.map +1 -1
  213. package/lib/internal/template/internal/components/token-list/token-limit-toggle.js +1 -3
  214. package/lib/internal/template/internal/components/token-list/token-limit-toggle.js.map +1 -1
  215. package/lib/internal/template/internal/environment.js +1 -1
  216. package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
  217. package/lib/internal/template/internal/generated/custom-css-properties/index.js +31 -30
  218. package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
  219. package/lib/internal/template/internal/generated/styles/tokens.d.ts +2 -0
  220. package/lib/internal/template/internal/generated/styles/tokens.js +2 -0
  221. package/lib/internal/template/internal/generated/theming/index.cjs +140 -0
  222. package/lib/internal/template/internal/generated/theming/index.js +140 -0
  223. package/lib/internal/template/internal/hooks/focus-visible/index.d.ts +2 -5
  224. package/lib/internal/template/internal/hooks/focus-visible/index.d.ts.map +1 -1
  225. package/lib/internal/template/internal/hooks/focus-visible/index.js +42 -22
  226. package/lib/internal/template/internal/hooks/focus-visible/index.js.map +1 -1
  227. package/lib/internal/template/internal/hooks/use-base-component/index.d.ts.map +1 -1
  228. package/lib/internal/template/internal/hooks/use-base-component/index.js +2 -0
  229. package/lib/internal/template/internal/hooks/use-base-component/index.js.map +1 -1
  230. package/lib/internal/template/link/internal.d.ts.map +1 -1
  231. package/lib/internal/template/link/internal.js +1 -3
  232. package/lib/internal/template/link/internal.js.map +1 -1
  233. package/lib/internal/template/link/styles.css.js +20 -20
  234. package/lib/internal/template/link/styles.scoped.css +71 -71
  235. package/lib/internal/template/link/styles.selectors.js +20 -20
  236. package/lib/internal/template/mixed-line-bar-chart/internal.js +1 -1
  237. package/lib/internal/template/mixed-line-bar-chart/internal.js.map +1 -1
  238. package/lib/internal/template/pagination/internal.d.ts.map +1 -1
  239. package/lib/internal/template/pagination/internal.js +1 -3
  240. package/lib/internal/template/pagination/internal.js.map +1 -1
  241. package/lib/internal/template/pagination/styles.css.js +9 -9
  242. package/lib/internal/template/pagination/styles.scoped.css +23 -23
  243. package/lib/internal/template/pagination/styles.selectors.js +9 -9
  244. package/lib/internal/template/pie-chart/index.js +1 -1
  245. package/lib/internal/template/pie-chart/index.js.map +1 -1
  246. package/lib/internal/template/popover/internal.d.ts.map +1 -1
  247. package/lib/internal/template/popover/internal.js +1 -3
  248. package/lib/internal/template/popover/internal.js.map +1 -1
  249. package/lib/internal/template/popover/styles.css.js +50 -50
  250. package/lib/internal/template/popover/styles.scoped.css +63 -63
  251. package/lib/internal/template/popover/styles.selectors.js +50 -50
  252. package/lib/internal/template/property-filter/index.d.ts.map +1 -1
  253. package/lib/internal/template/property-filter/index.js +2 -2
  254. package/lib/internal/template/property-filter/index.js.map +1 -1
  255. package/lib/internal/template/property-filter/token.d.ts.map +1 -1
  256. package/lib/internal/template/property-filter/token.js +1 -1
  257. package/lib/internal/template/property-filter/token.js.map +1 -1
  258. package/lib/internal/template/segmented-control/segment.d.ts.map +1 -1
  259. package/lib/internal/template/segmented-control/segment.js +1 -3
  260. package/lib/internal/template/segmented-control/segment.js.map +1 -1
  261. package/lib/internal/template/segmented-control/styles.css.js +14 -14
  262. package/lib/internal/template/segmented-control/styles.scoped.css +33 -33
  263. package/lib/internal/template/segmented-control/styles.selectors.js +14 -14
  264. package/lib/internal/template/side-navigation/internal.d.ts.map +1 -1
  265. package/lib/internal/template/side-navigation/internal.js +2 -5
  266. package/lib/internal/template/side-navigation/internal.js.map +1 -1
  267. package/lib/internal/template/side-navigation/styles.css.js +27 -27
  268. package/lib/internal/template/side-navigation/styles.scoped.css +37 -37
  269. package/lib/internal/template/side-navigation/styles.selectors.js +27 -27
  270. package/lib/internal/template/space-between/internal.js +1 -1
  271. package/lib/internal/template/space-between/internal.js.map +1 -1
  272. package/lib/internal/template/space-between/styles.css.js +20 -28
  273. package/lib/internal/template/space-between/styles.scoped.css +37 -101
  274. package/lib/internal/template/space-between/styles.selectors.js +20 -28
  275. package/lib/internal/template/split-panel/index.d.ts.map +1 -1
  276. package/lib/internal/template/split-panel/index.js +1 -3
  277. package/lib/internal/template/split-panel/index.js.map +1 -1
  278. package/lib/internal/template/split-panel/styles.css.js +59 -59
  279. package/lib/internal/template/split-panel/styles.scoped.css +81 -81
  280. package/lib/internal/template/split-panel/styles.selectors.js +59 -59
  281. package/lib/internal/template/table/body-cell/index.d.ts.map +1 -1
  282. package/lib/internal/template/table/body-cell/index.js +3 -3
  283. package/lib/internal/template/table/body-cell/index.js.map +1 -1
  284. package/lib/internal/template/table/body-cell/styles.css.js +18 -18
  285. package/lib/internal/template/table/body-cell/styles.scoped.css +57 -55
  286. package/lib/internal/template/table/body-cell/styles.selectors.js +18 -18
  287. package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
  288. package/lib/internal/template/table/header-cell/index.js +11 -9
  289. package/lib/internal/template/table/header-cell/index.js.map +1 -1
  290. package/lib/internal/template/table/header-cell/styles.css.js +19 -19
  291. package/lib/internal/template/table/header-cell/styles.scoped.css +32 -32
  292. package/lib/internal/template/table/header-cell/styles.selectors.js +19 -19
  293. package/lib/internal/template/table/internal.d.ts.map +1 -1
  294. package/lib/internal/template/table/internal.js +1 -3
  295. package/lib/internal/template/table/internal.js.map +1 -1
  296. package/lib/internal/template/table/resizer/styles.css.js +6 -6
  297. package/lib/internal/template/table/resizer/styles.scoped.css +11 -11
  298. package/lib/internal/template/table/resizer/styles.selectors.js +6 -6
  299. package/lib/internal/template/table/styles.css.js +33 -33
  300. package/lib/internal/template/table/styles.scoped.css +41 -41
  301. package/lib/internal/template/table/styles.selectors.js +33 -33
  302. package/lib/internal/template/tabs/index.d.ts.map +1 -1
  303. package/lib/internal/template/tabs/index.js +8 -3
  304. package/lib/internal/template/tabs/index.js.map +1 -1
  305. package/lib/internal/template/tabs/styles.css.js +21 -21
  306. package/lib/internal/template/tabs/styles.scoped.css +38 -38
  307. package/lib/internal/template/tabs/styles.selectors.js +21 -21
  308. package/lib/internal/template/tabs/tab-header-bar.d.ts.map +1 -1
  309. package/lib/internal/template/tabs/tab-header-bar.js +9 -3
  310. package/lib/internal/template/tabs/tab-header-bar.js.map +1 -1
  311. package/lib/internal/template/tag-editor/internal.d.ts.map +1 -1
  312. package/lib/internal/template/tag-editor/internal.js +2 -4
  313. package/lib/internal/template/tag-editor/internal.js.map +1 -1
  314. package/lib/internal/template/tag-editor/styles.css.js +3 -3
  315. package/lib/internal/template/tag-editor/styles.scoped.css +10 -10
  316. package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
  317. package/lib/internal/template/token-group/dismiss-button.d.ts.map +1 -1
  318. package/lib/internal/template/token-group/dismiss-button.js +1 -3
  319. package/lib/internal/template/token-group/dismiss-button.js.map +1 -1
  320. package/lib/internal/template/token-group/internal.js +2 -2
  321. package/lib/internal/template/token-group/internal.js.map +1 -1
  322. package/lib/internal/template/token-group/styles.css.js +5 -5
  323. package/lib/internal/template/token-group/styles.scoped.css +12 -12
  324. package/lib/internal/template/token-group/styles.selectors.js +5 -5
  325. package/lib/internal/template/token-group/token.d.ts +3 -5
  326. package/lib/internal/template/token-group/token.d.ts.map +1 -1
  327. package/lib/internal/template/token-group/token.js +2 -2
  328. package/lib/internal/template/token-group/token.js.map +1 -1
  329. package/lib/internal/template/top-navigation/1.0-beta/internal.d.ts.map +1 -1
  330. package/lib/internal/template/top-navigation/1.0-beta/internal.js +1 -3
  331. package/lib/internal/template/top-navigation/1.0-beta/internal.js.map +1 -1
  332. package/lib/internal/template/top-navigation/1.0-beta/styles.css.js +25 -25
  333. package/lib/internal/template/top-navigation/1.0-beta/styles.scoped.css +42 -42
  334. package/lib/internal/template/top-navigation/1.0-beta/styles.selectors.js +25 -25
  335. package/lib/internal/template/top-navigation/internal.d.ts.map +1 -1
  336. package/lib/internal/template/top-navigation/internal.js +1 -3
  337. package/lib/internal/template/top-navigation/internal.js.map +1 -1
  338. package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
  339. package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.js +3 -7
  340. package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
  341. package/lib/internal/template/top-navigation/styles.css.js +47 -47
  342. package/lib/internal/template/top-navigation/styles.scoped.css +66 -66
  343. package/lib/internal/template/top-navigation/styles.selectors.js +47 -47
  344. package/lib/internal/template/tutorial-panel/components/tutorial-list/index.d.ts.map +1 -1
  345. package/lib/internal/template/tutorial-panel/components/tutorial-list/index.js +1 -3
  346. package/lib/internal/template/tutorial-panel/components/tutorial-list/index.js.map +1 -1
  347. package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
  348. package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.scoped.css +27 -27
  349. package/lib/internal/template/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
  350. package/lib/internal/template/wizard/styles.css.js +32 -32
  351. package/lib/internal/template/wizard/styles.scoped.css +63 -63
  352. package/lib/internal/template/wizard/styles.selectors.js +32 -32
  353. package/lib/internal/template/wizard/wizard-form.d.ts.map +1 -1
  354. package/lib/internal/template/wizard/wizard-form.js +1 -3
  355. package/lib/internal/template/wizard/wizard-form.js.map +1 -1
  356. package/package.json +1 -1
@@ -91,7 +91,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
93
  /* stylelint-disable selector-max-universal, selector-max-type */
94
- .awsui_root_1xupv_i6493_94:not(#\9) {
94
+ .awsui_root_1xupv_153f4_94:not(#\9) {
95
95
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
96
96
  border-collapse: separate;
97
97
  border-spacing: 0;
@@ -130,28 +130,28 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
130
130
  -moz-osx-font-smoothing: auto;
131
131
  }
132
132
 
133
- .awsui_wizard_1xupv_i6493_107.awsui_refresh_1xupv_i6493_107:not(#\9) {
133
+ .awsui_wizard_1xupv_153f4_107.awsui_refresh_1xupv_153f4_107:not(#\9) {
134
134
  column-gap: var(--space-xl-a39hup, 24px);
135
135
  display: grid;
136
136
  grid-template-columns: auto minmax(0, 1fr);
137
137
  grid-template-rows: auto 1fr;
138
138
  row-gap: var(--space-scaled-xl-w2t504, 24px);
139
139
  }
140
- .awsui_wizard_1xupv_i6493_107.awsui_refresh_1xupv_i6493_107.awsui_small-container_1xupv_i6493_114:not(#\9) {
140
+ .awsui_wizard_1xupv_153f4_107.awsui_refresh_1xupv_153f4_107.awsui_small-container_1xupv_153f4_114:not(#\9) {
141
141
  grid-template-columns: minmax(0, 1fr) 0;
142
142
  row-gap: var(--space-scaled-l-t03y3z, 20px);
143
143
  }
144
144
 
145
- .awsui_wizard_1xupv_i6493_107:not(#\9):not(.awsui_refresh_1xupv_i6493_107) {
145
+ .awsui_wizard_1xupv_153f4_107:not(#\9):not(.awsui_refresh_1xupv_153f4_107) {
146
146
  display: flex;
147
147
  }
148
148
 
149
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107:not(#\9) {
149
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107:not(#\9) {
150
150
  grid-column: 1;
151
151
  grid-row: 1/span 2;
152
152
  padding-top: var(--space-scaled-xxs-95dhkm, 4px);
153
153
  }
154
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul:not(#\9) {
154
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul:not(#\9) {
155
155
  background: var(--color-background-container-content-o88wxm, #ffffff);
156
156
  position: relative;
157
157
  border-radius: var(--border-radius-container-1aveko, 0px);
@@ -161,7 +161,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
161
161
  width: 280px;
162
162
  box-sizing: border-box;
163
163
  }
164
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul:not(#\9)::before {
164
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul:not(#\9)::before {
165
165
  content: "";
166
166
  position: absolute;
167
167
  left: 0px;
@@ -176,7 +176,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
176
176
  border-radius: var(--border-radius-container-1aveko, 0px);
177
177
  z-index: 1;
178
178
  }
179
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul:not(#\9)::after {
179
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul:not(#\9)::after {
180
180
  content: "";
181
181
  position: absolute;
182
182
  left: 0px;
@@ -191,30 +191,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
191
191
  mix-blend-mode: multiply;
192
192
  }
193
193
  @media screen and (-ms-high-contrast: active) {
194
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul:not(#\9) {
194
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul:not(#\9) {
195
195
  border: var(--border-field-width-y6x4sn, 1px) solid var(--color-border-container-top-1itxac, #eaeded);
196
196
  }
197
197
  }
198
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li:not(#\9) {
198
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li:not(#\9) {
199
199
  display: grid;
200
200
  column-gap: var(--space-s-hv8c1d, 12px);
201
201
  grid-template-columns: var(--space-l-4vl6xu, 20px) 1fr;
202
202
  grid-template-rows: repeat(2, auto);
203
203
  }
204
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li > hr:not(#\9) {
204
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li > hr:not(#\9) {
205
205
  background-color: var(--color-border-divider-default-k96bks, #eaeded);
206
206
  border: 0;
207
207
  grid-column: 1;
208
208
  height: 100%;
209
209
  width: var(--space-xxxs-k2w98v, 2px);
210
210
  }
211
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li > .awsui_number_1xupv_i6493_185:not(#\9) {
211
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li > .awsui_number_1xupv_153f4_185:not(#\9) {
212
212
  color: var(--color-text-small-5a9rs1, #687078);
213
213
  font-size: var(--font-body-s-size-ukw2p9, 12px);
214
214
  grid-column: 2;
215
215
  grid-row: 1;
216
216
  }
217
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li > a:not(#\9) {
217
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li > a:not(#\9) {
218
218
  align-items: start;
219
219
  column-gap: var(--space-s-hv8c1d, 12px);
220
220
  cursor: pointer;
@@ -224,7 +224,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
224
224
  grid-row: 2;
225
225
  grid-template-columns: var(--space-l-4vl6xu, 20px) 1fr;
226
226
  }
227
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li > a > .awsui_circle_1xupv_i6493_201:not(#\9) {
227
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li > a > .awsui_circle_1xupv_153f4_201:not(#\9) {
228
228
  border-radius: 100%;
229
229
  grid-column: 1;
230
230
  height: 10px;
@@ -232,13 +232,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
232
232
  margin-top: 6px;
233
233
  width: 10px;
234
234
  }
235
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li > a > .awsui_title_1xupv_i6493_209:not(#\9) {
235
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li > a > .awsui_title_1xupv_153f4_209:not(#\9) {
236
236
  min-width: 0;
237
237
  -ms-word-break: break-all;
238
238
  word-break: break-word;
239
239
  grid-column: 2;
240
240
  }
241
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li > a[data-awsui-focus-visible=true]:not(#\9):focus {
241
+ body[data-awsui-focus-visible=true] .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li > a:not(#\9):focus {
242
242
  outline: thin dotted;
243
243
  outline: var(--border-link-focus-ring-outline-67z0xv, 5px auto Highlight);
244
244
  outline-offset: 2px;
@@ -246,58 +246,58 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
246
246
  border-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
247
247
  box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-e3dct9, 0px) var(--color-border-item-focused-n5kd8g, #0073bb);
248
248
  }
249
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li:not(#\9):first-child > hr {
249
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li:not(#\9):first-child > hr {
250
250
  grid-row: 2/span 2;
251
251
  }
252
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li:not(#\9):not(:first-child) > .awsui_number_1xupv_i6493_185 {
252
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li:not(#\9):not(:first-child) > .awsui_number_1xupv_153f4_185 {
253
253
  margin-top: var(--space-scaled-xl-w2t504, 24px);
254
254
  }
255
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li:not(#\9):last-child > hr {
255
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li:not(#\9):last-child > hr {
256
256
  grid-row: 1;
257
257
  }
258
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li:not(#\9):only-of-type > hr {
258
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li:not(#\9):only-of-type > hr {
259
259
  display: none;
260
260
  }
261
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li:not(#\9):not(:first-child):not(:last-child) > hr {
261
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li:not(#\9):not(:first-child):not(:last-child) > hr {
262
262
  grid-row: 1/span 3;
263
263
  }
264
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li.awsui_active_1xupv_i6493_238 > a:not(#\9) {
264
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li.awsui_active_1xupv_153f4_238 > a:not(#\9) {
265
265
  cursor: text;
266
266
  }
267
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li.awsui_active_1xupv_i6493_238 > a > .awsui_circle_1xupv_i6493_201:not(#\9) {
267
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li.awsui_active_1xupv_153f4_238 > a > .awsui_circle_1xupv_153f4_201:not(#\9) {
268
268
  background-color: var(--color-background-control-checked-dyuc53, #0073bb);
269
269
  box-shadow: 0 0 0 3px var(--color-background-container-content-o88wxm, #ffffff), 0 0 0 5px var(--color-background-control-checked-dyuc53, #0073bb), 0 0 0 7px var(--color-background-container-content-o88wxm, #ffffff);
270
270
  }
271
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li.awsui_active_1xupv_i6493_238 > a > .awsui_title_1xupv_i6493_209:not(#\9) {
271
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li.awsui_active_1xupv_153f4_238 > a > .awsui_title_1xupv_153f4_209:not(#\9) {
272
272
  color: var(--color-background-control-checked-dyuc53, #0073bb);
273
273
  font-weight: 700;
274
274
  }
275
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li.awsui_disabled_1xupv_i6493_249 > a:not(#\9) {
275
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li.awsui_disabled_1xupv_153f4_249 > a:not(#\9) {
276
276
  cursor: text;
277
277
  }
278
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li.awsui_disabled_1xupv_i6493_249 > a > .awsui_circle_1xupv_i6493_201:not(#\9) {
278
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li.awsui_disabled_1xupv_153f4_249 > a > .awsui_circle_1xupv_153f4_201:not(#\9) {
279
279
  background-color: var(--color-background-container-content-o88wxm, #ffffff);
280
280
  box-shadow: 0 0 0 2px var(--color-text-interactive-disabled-jcikk2, #aab7b8), 0 0 0 4px var(--color-background-container-content-o88wxm, #ffffff);
281
281
  }
282
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li.awsui_disabled_1xupv_i6493_249 > a > .awsui_title_1xupv_i6493_209:not(#\9) {
282
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li.awsui_disabled_1xupv_153f4_249 > a > .awsui_title_1xupv_153f4_209:not(#\9) {
283
283
  color: var(--color-text-status-inactive-2o9czw, #687078);
284
284
  }
285
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li.awsui_enabled_1xupv_i6493_259 > a > .awsui_circle_1xupv_i6493_201:not(#\9) {
285
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li.awsui_enabled_1xupv_153f4_259 > a > .awsui_circle_1xupv_153f4_201:not(#\9) {
286
286
  background-color: var(--color-text-interactive-default-9me1cm, #545b64);
287
287
  box-shadow: 0 0 0 2px var(--color-text-interactive-default-9me1cm, #545b64), 0 0 0 4px var(--color-background-container-content-o88wxm, #ffffff);
288
288
  }
289
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li.awsui_enabled_1xupv_i6493_259 > a > .awsui_title_1xupv_i6493_209:not(#\9) {
289
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li.awsui_enabled_1xupv_153f4_259 > a > .awsui_title_1xupv_153f4_209:not(#\9) {
290
290
  color: var(--color-text-interactive-default-9me1cm, #545b64);
291
291
  }
292
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li.awsui_enabled_1xupv_i6493_259 > a:not(#\9):hover > .awsui_circle_1xupv_i6493_201 {
292
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li.awsui_enabled_1xupv_153f4_259 > a:not(#\9):hover > .awsui_circle_1xupv_153f4_201 {
293
293
  background-color: var(--color-background-control-checked-dyuc53, #0073bb);
294
294
  box-shadow: 0 0 0 2px var(--color-background-control-checked-dyuc53, #0073bb), 0 0 0 4px var(--color-background-container-content-o88wxm, #ffffff);
295
295
  }
296
- .awsui_navigation_1xupv_i6493_123.awsui_refresh_1xupv_i6493_107 > ul > li.awsui_enabled_1xupv_i6493_259 > a:not(#\9):hover > .awsui_title_1xupv_i6493_209 {
296
+ .awsui_navigation_1xupv_153f4_123.awsui_refresh_1xupv_153f4_107 > ul > li.awsui_enabled_1xupv_153f4_259 > a:not(#\9):hover > .awsui_title_1xupv_153f4_209 {
297
297
  color: var(--color-background-control-checked-dyuc53, #0073bb);
298
298
  }
299
299
 
300
- .awsui_navigation_1xupv_i6493_123:not(#\9):not(.awsui_refresh_1xupv_i6493_107) {
300
+ .awsui_navigation_1xupv_153f4_123:not(#\9):not(.awsui_refresh_1xupv_153f4_107) {
301
301
  color: var(--color-text-disabled-pjiy51, #aab7b8);
302
302
  display: inline-block;
303
303
  margin-right: calc(2 * var(--space-xxxl-bo9z7f, 40px));
@@ -305,89 +305,89 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
305
305
  padding-top: var(--space-xxs-ynfts5, 4px);
306
306
  width: 200px;
307
307
  }
308
- .awsui_navigation_1xupv_i6493_123:not(#\9):not(.awsui_refresh_1xupv_i6493_107) > ul {
308
+ .awsui_navigation_1xupv_153f4_123:not(#\9):not(.awsui_refresh_1xupv_153f4_107) > ul {
309
309
  list-style: none;
310
310
  padding: 0;
311
311
  margin: 0;
312
312
  }
313
- .awsui_navigation_1xupv_i6493_123:not(#\9):not(.awsui_refresh_1xupv_i6493_107) > ul > li {
313
+ .awsui_navigation_1xupv_153f4_123:not(#\9):not(.awsui_refresh_1xupv_153f4_107) > ul > li {
314
314
  padding-bottom: var(--space-scaled-m-pv0fmt, 16px);
315
315
  padding-top: 0;
316
316
  }
317
- .awsui_navigation_1xupv_i6493_123:not(#\9):not(.awsui_refresh_1xupv_i6493_107) > ul > li:not(:first-child) {
317
+ .awsui_navigation_1xupv_153f4_123:not(#\9):not(.awsui_refresh_1xupv_153f4_107) > ul > li:not(:first-child) {
318
318
  margin-top: var(--space-scaled-m-pv0fmt, 16px);
319
319
  }
320
- .awsui_navigation_1xupv_i6493_123:not(#\9):not(.awsui_refresh_1xupv_i6493_107) > ul > li:not(:last-child) {
320
+ .awsui_navigation_1xupv_153f4_123:not(#\9):not(.awsui_refresh_1xupv_153f4_107) > ul > li:not(:last-child) {
321
321
  border-bottom: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-layout-ifju5o, #d5dbdb);
322
322
  }
323
323
 
324
- .awsui_form_1xupv_i6493_298:not(#\9):not(.awsui_refresh_1xupv_i6493_107) {
324
+ .awsui_form_1xupv_153f4_298:not(#\9):not(.awsui_refresh_1xupv_153f4_107) {
325
325
  min-width: 0;
326
326
  -ms-word-break: break-all;
327
327
  word-break: break-word;
328
328
  width: 100%;
329
329
  }
330
- .awsui_form_1xupv_i6493_298:not(#\9):not(.awsui_refresh_1xupv_i6493_107) > .awsui_form-header_1xupv_i6493_304 {
330
+ .awsui_form_1xupv_153f4_298:not(#\9):not(.awsui_refresh_1xupv_153f4_107) > .awsui_form-header_1xupv_153f4_304 {
331
331
  position: relative;
332
332
  margin-bottom: var(--space-scaled-m-pv0fmt, 16px);
333
333
  }
334
334
 
335
- .awsui_form_1xupv_i6493_298.awsui_refresh_1xupv_i6493_107:not(#\9) {
335
+ .awsui_form_1xupv_153f4_298.awsui_refresh_1xupv_153f4_107:not(#\9) {
336
336
  min-width: 0;
337
337
  -ms-word-break: break-all;
338
338
  word-break: break-word;
339
339
  display: contents;
340
340
  }
341
- .awsui_form_1xupv_i6493_298.awsui_refresh_1xupv_i6493_107 > .awsui_background_1xupv_i6493_315:not(#\9) {
341
+ .awsui_form_1xupv_153f4_298.awsui_refresh_1xupv_153f4_107 > .awsui_background_1xupv_153f4_315:not(#\9) {
342
342
  background-color: var(--color-background-layout-main-q0tbxx, #f2f3f3);
343
343
  grid-column: 1/span 2;
344
344
  grid-row: 1;
345
345
  color: var(--color-text-body-default-7m2b3r, #16191f);
346
346
  }
347
- .awsui_form_1xupv_i6493_298.awsui_refresh_1xupv_i6493_107 > .awsui_form-header_1xupv_i6493_304:not(#\9) {
347
+ .awsui_form_1xupv_153f4_298.awsui_refresh_1xupv_153f4_107 > .awsui_form-header_1xupv_153f4_304:not(#\9) {
348
348
  background-color: var(--color-background-layout-main-q0tbxx, #f2f3f3);
349
349
  grid-column: 2;
350
350
  grid-row: 1;
351
351
  color: var(--color-text-body-default-7m2b3r, #16191f);
352
352
  }
353
- .awsui_form_1xupv_i6493_298.awsui_refresh_1xupv_i6493_107 > .awsui_form-header_1xupv_i6493_304 > .awsui_form-header-content_1xupv_i6493_327:not(#\9) {
353
+ .awsui_form_1xupv_153f4_298.awsui_refresh_1xupv_153f4_107 > .awsui_form-header_1xupv_153f4_304 > .awsui_form-header-content_1xupv_153f4_327:not(#\9) {
354
354
  padding-top: var(--space-scaled-xl-w2t504, 24px);
355
355
  padding-bottom: var(--space-scaled-xl-w2t504, 24px);
356
356
  }
357
- .awsui_form_1xupv_i6493_298.awsui_refresh_1xupv_i6493_107 > .awsui_form-component_1xupv_i6493_331:not(#\9) {
357
+ .awsui_form_1xupv_153f4_298.awsui_refresh_1xupv_153f4_107 > .awsui_form-component_1xupv_153f4_331:not(#\9) {
358
358
  grid-column: 2;
359
359
  grid-row: 2;
360
360
  }
361
- .awsui_form_1xupv_i6493_298.awsui_refresh_1xupv_i6493_107.awsui_small-container_1xupv_i6493_114 > .awsui_form-header_1xupv_i6493_304:not(#\9) {
361
+ .awsui_form_1xupv_153f4_298.awsui_refresh_1xupv_153f4_107.awsui_small-container_1xupv_153f4_114 > .awsui_form-header_1xupv_153f4_304:not(#\9) {
362
362
  grid-column: 1/span 2;
363
363
  }
364
- .awsui_form_1xupv_i6493_298.awsui_refresh_1xupv_i6493_107.awsui_small-container_1xupv_i6493_114 > .awsui_form-header_1xupv_i6493_304 > .awsui_form-header-content_1xupv_i6493_327:not(#\9) {
364
+ .awsui_form_1xupv_153f4_298.awsui_refresh_1xupv_153f4_107.awsui_small-container_1xupv_153f4_114 > .awsui_form-header_1xupv_153f4_304 > .awsui_form-header-content_1xupv_153f4_327:not(#\9) {
365
365
  padding-top: 0;
366
366
  }
367
- .awsui_form_1xupv_i6493_298.awsui_refresh_1xupv_i6493_107.awsui_small-container_1xupv_i6493_114 > .awsui_form-component_1xupv_i6493_331:not(#\9) {
367
+ .awsui_form_1xupv_153f4_298.awsui_refresh_1xupv_153f4_107.awsui_small-container_1xupv_153f4_114 > .awsui_form-component_1xupv_153f4_331:not(#\9) {
368
368
  grid-column: 1/span 2;
369
369
  }
370
370
 
371
- .awsui_navigation_1xupv_i6493_123.awsui_hidden_1xupv_i6493_345:not(#\9) {
371
+ .awsui_navigation_1xupv_153f4_123.awsui_hidden_1xupv_153f4_345:not(#\9) {
372
372
  display: none;
373
373
  }
374
374
 
375
- .awsui_collapsed-steps_1xupv_i6493_349:not(#\9) {
375
+ .awsui_collapsed-steps_1xupv_153f4_349:not(#\9) {
376
376
  color: var(--color-text-heading-secondary-mvxtuw, #545b64);
377
377
  font-weight: 700;
378
378
  padding-top: var(--space-scaled-xxs-95dhkm, 4px);
379
379
  }
380
- .awsui_collapsed-steps-extra-padding_1xupv_i6493_354:not(#\9) {
380
+ .awsui_collapsed-steps-extra-padding_1xupv_153f4_354:not(#\9) {
381
381
  padding-top: var(--space-scaled-l-t03y3z, 20px);
382
382
  }
383
- .awsui_collapsed-steps-hidden_1xupv_i6493_357:not(#\9) {
383
+ .awsui_collapsed-steps-hidden_1xupv_153f4_357:not(#\9) {
384
384
  display: none;
385
385
  }
386
386
 
387
- .awsui_form-header-component-wrapper_1xupv_i6493_361:not(#\9) {
387
+ .awsui_form-header-component-wrapper_1xupv_153f4_361:not(#\9) {
388
388
  outline: none;
389
389
  }
390
- .awsui_form-header-component-wrapper_1xupv_i6493_361[data-awsui-focus-visible=true]:not(#\9):focus {
390
+ body[data-awsui-focus-visible=true] .awsui_form-header-component-wrapper_1xupv_153f4_361:not(#\9):focus {
391
391
  outline: thin dotted;
392
392
  outline: var(--border-link-focus-ring-outline-67z0xv, 5px auto Highlight);
393
393
  outline-offset: 2px;
@@ -396,30 +396,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
396
396
  box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-e3dct9, 0px) var(--color-border-item-focused-n5kd8g, #0073bb);
397
397
  }
398
398
 
399
- .awsui_form-header-component_1xupv_i6493_361:not(#\9),
400
- .awsui_navigation-link_1xupv_i6493_374:not(#\9),
401
- .awsui_navigation-link-item_1xupv_i6493_375:not(#\9),
402
- .awsui_navigation-link-label_1xupv_i6493_376:not(#\9) {
399
+ .awsui_form-header-component_1xupv_153f4_361:not(#\9),
400
+ .awsui_navigation-link_1xupv_153f4_374:not(#\9),
401
+ .awsui_navigation-link-item_1xupv_153f4_375:not(#\9),
402
+ .awsui_navigation-link-label_1xupv_153f4_376:not(#\9) {
403
403
  /* used in test-utils */
404
404
  }
405
405
 
406
- .awsui_navigation-link-active_1xupv_i6493_380:not(#\9) {
406
+ .awsui_navigation-link-active_1xupv_153f4_380:not(#\9) {
407
407
  font-weight: 700;
408
408
  color: var(--color-text-body-default-7m2b3r, #16191f);
409
409
  }
410
410
 
411
- .awsui_navigation-link-disabled_1xupv_i6493_385:not(#\9) {
411
+ .awsui_navigation-link-disabled_1xupv_153f4_385:not(#\9) {
412
412
  color: var(--color-text-status-inactive-2o9czw, #687078);
413
413
  }
414
414
 
415
- .awsui_cancel-button_1xupv_i6493_389:not(#\9),
416
- .awsui_previous-button_1xupv_i6493_390:not(#\9),
417
- .awsui_primary-button_1xupv_i6493_391:not(#\9),
418
- .awsui_skip-to-button_1xupv_i6493_392:not(#\9) {
415
+ .awsui_cancel-button_1xupv_153f4_389:not(#\9),
416
+ .awsui_previous-button_1xupv_153f4_390:not(#\9),
417
+ .awsui_primary-button_1xupv_153f4_391:not(#\9),
418
+ .awsui_skip-to-button_1xupv_153f4_392:not(#\9) {
419
419
  /* used in test-utils */
420
420
  }
421
421
 
422
- .awsui_action-buttons_1xupv_i6493_396:not(#\9) {
422
+ .awsui_action-buttons_1xupv_153f4_396:not(#\9) {
423
423
  display: flex;
424
424
  justify-content: flex-end;
425
425
  }
@@ -2,37 +2,37 @@
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_1xupv_i6493_94",
6
- "wizard": "awsui_wizard_1xupv_i6493_107",
7
- "refresh": "awsui_refresh_1xupv_i6493_107",
8
- "small-container": "awsui_small-container_1xupv_i6493_114",
9
- "navigation": "awsui_navigation_1xupv_i6493_123",
10
- "number": "awsui_number_1xupv_i6493_185",
11
- "circle": "awsui_circle_1xupv_i6493_201",
12
- "title": "awsui_title_1xupv_i6493_209",
13
- "active": "awsui_active_1xupv_i6493_238",
14
- "disabled": "awsui_disabled_1xupv_i6493_249",
15
- "enabled": "awsui_enabled_1xupv_i6493_259",
16
- "form": "awsui_form_1xupv_i6493_298",
17
- "form-header": "awsui_form-header_1xupv_i6493_304",
18
- "background": "awsui_background_1xupv_i6493_315",
19
- "form-header-content": "awsui_form-header-content_1xupv_i6493_327",
20
- "form-component": "awsui_form-component_1xupv_i6493_331",
21
- "hidden": "awsui_hidden_1xupv_i6493_345",
22
- "collapsed-steps": "awsui_collapsed-steps_1xupv_i6493_349",
23
- "collapsed-steps-extra-padding": "awsui_collapsed-steps-extra-padding_1xupv_i6493_354",
24
- "collapsed-steps-hidden": "awsui_collapsed-steps-hidden_1xupv_i6493_357",
25
- "form-header-component-wrapper": "awsui_form-header-component-wrapper_1xupv_i6493_361",
26
- "form-header-component": "awsui_form-header-component_1xupv_i6493_361",
27
- "navigation-link": "awsui_navigation-link_1xupv_i6493_374",
28
- "navigation-link-item": "awsui_navigation-link-item_1xupv_i6493_375",
29
- "navigation-link-label": "awsui_navigation-link-label_1xupv_i6493_376",
30
- "navigation-link-active": "awsui_navigation-link-active_1xupv_i6493_380",
31
- "navigation-link-disabled": "awsui_navigation-link-disabled_1xupv_i6493_385",
32
- "cancel-button": "awsui_cancel-button_1xupv_i6493_389",
33
- "previous-button": "awsui_previous-button_1xupv_i6493_390",
34
- "primary-button": "awsui_primary-button_1xupv_i6493_391",
35
- "skip-to-button": "awsui_skip-to-button_1xupv_i6493_392",
36
- "action-buttons": "awsui_action-buttons_1xupv_i6493_396"
5
+ "root": "awsui_root_1xupv_153f4_94",
6
+ "wizard": "awsui_wizard_1xupv_153f4_107",
7
+ "refresh": "awsui_refresh_1xupv_153f4_107",
8
+ "small-container": "awsui_small-container_1xupv_153f4_114",
9
+ "navigation": "awsui_navigation_1xupv_153f4_123",
10
+ "number": "awsui_number_1xupv_153f4_185",
11
+ "circle": "awsui_circle_1xupv_153f4_201",
12
+ "title": "awsui_title_1xupv_153f4_209",
13
+ "active": "awsui_active_1xupv_153f4_238",
14
+ "disabled": "awsui_disabled_1xupv_153f4_249",
15
+ "enabled": "awsui_enabled_1xupv_153f4_259",
16
+ "form": "awsui_form_1xupv_153f4_298",
17
+ "form-header": "awsui_form-header_1xupv_153f4_304",
18
+ "background": "awsui_background_1xupv_153f4_315",
19
+ "form-header-content": "awsui_form-header-content_1xupv_153f4_327",
20
+ "form-component": "awsui_form-component_1xupv_153f4_331",
21
+ "hidden": "awsui_hidden_1xupv_153f4_345",
22
+ "collapsed-steps": "awsui_collapsed-steps_1xupv_153f4_349",
23
+ "collapsed-steps-extra-padding": "awsui_collapsed-steps-extra-padding_1xupv_153f4_354",
24
+ "collapsed-steps-hidden": "awsui_collapsed-steps-hidden_1xupv_153f4_357",
25
+ "form-header-component-wrapper": "awsui_form-header-component-wrapper_1xupv_153f4_361",
26
+ "form-header-component": "awsui_form-header-component_1xupv_153f4_361",
27
+ "navigation-link": "awsui_navigation-link_1xupv_153f4_374",
28
+ "navigation-link-item": "awsui_navigation-link-item_1xupv_153f4_375",
29
+ "navigation-link-label": "awsui_navigation-link-label_1xupv_153f4_376",
30
+ "navigation-link-active": "awsui_navigation-link-active_1xupv_153f4_380",
31
+ "navigation-link-disabled": "awsui_navigation-link-disabled_1xupv_153f4_385",
32
+ "cancel-button": "awsui_cancel-button_1xupv_153f4_389",
33
+ "previous-button": "awsui_previous-button_1xupv_153f4_390",
34
+ "primary-button": "awsui_primary-button_1xupv_153f4_391",
35
+ "skip-to-button": "awsui_skip-to-button_1xupv_153f4_392",
36
+ "action-buttons": "awsui_action-buttons_1xupv_153f4_396"
37
37
  };
38
38
 
@@ -1 +1 @@
1
- {"version":3,"file":"wizard-form.d.ts","sourceRoot":"lib/default/","sources":["wizard/wizard-form.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAMtC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,UAAU,eAAe;IACvB,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC;IACrC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,KAAK,EACL,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,cAAc,EACd,aAAa,GACd,EAAE,eAAe,eAiEjB"}
1
+ {"version":3,"file":"wizard-form.d.ts","sourceRoot":"lib/default/","sources":["wizard/wizard-form.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAMtC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAK3C,UAAU,eAAe;IACvB,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC;IACrC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,KAAK,EACL,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,cAAc,EACd,aAAa,GACd,EAAE,eAAe,eA+DjB"}
@@ -8,7 +8,6 @@ import { useMobile } from '../internal/hooks/use-mobile';
8
8
  import WizardActions from './wizard-actions';
9
9
  import WizardFormHeader from './wizard-form-header';
10
10
  import styles from './styles.css.js';
11
- import useFocusVisible from '../internal/hooks/focus-visible';
12
11
  import { useEffectOnUpdate } from '../internal/hooks/use-effect-on-update';
13
12
  export default function WizardForm({ steps, activeStepIndex, isVisualRefresh, showCollapsedSteps, i18nStrings, isPrimaryLoading, allowSkipTo, secondaryActions, onCancelClick, onPreviousClick, onPrimaryClick, onSkipToClick, }) {
14
13
  var _a;
@@ -23,7 +22,6 @@ export default function WizardForm({ steps, activeStepIndex, isVisualRefresh, sh
23
22
  (_a = stepHeaderRef.current) === null || _a === void 0 ? void 0 : _a.focus();
24
23
  }
25
24
  }, [activeStepIndex]);
26
- const focusVisible = useFocusVisible();
27
25
  const showSkipTo = allowSkipTo && skipToTargetIndex !== -1;
28
26
  const skipToButtonText = skipToTargetIndex !== -1 && i18nStrings.skipToButtonLabel
29
27
  ? i18nStrings.skipToButtonLabel(steps[skipToTargetIndex], skipToTargetIndex + 1)
@@ -32,7 +30,7 @@ export default function WizardForm({ steps, activeStepIndex, isVisualRefresh, sh
32
30
  React.createElement(WizardFormHeader, { isMobile: isMobile || showCollapsedSteps, isVisualRefresh: isVisualRefresh },
33
31
  React.createElement("div", { className: clsx(styles['collapsed-steps'], !showCollapsedSteps && styles['collapsed-steps-hidden'], isVisualRefresh && isMobile && styles['collapsed-steps-extra-padding']) }, (_a = i18nStrings.collapsedStepsLabel) === null || _a === void 0 ? void 0 : _a.call(i18nStrings, activeStepIndex + 1, steps.length)),
34
32
  React.createElement(InternalHeader, { className: styles['form-header-component'], variant: "h1", description: description, info: info },
35
- React.createElement("span", Object.assign({ className: styles['form-header-component-wrapper'], tabIndex: -1, ref: stepHeaderRef }, focusVisible),
33
+ React.createElement("span", { className: styles['form-header-component-wrapper'], tabIndex: -1, ref: stepHeaderRef },
36
34
  title,
37
35
  isOptional && React.createElement("i", null, ` - ${i18nStrings.optional}`)))),
38
36
  React.createElement(InternalForm, { className: clsx(styles['form-component']), actions: React.createElement(WizardActions, { cancelButtonText: i18nStrings.cancelButton, primaryButtonText: isLastStep ? i18nStrings.submitButton : i18nStrings.nextButton, previousButtonText: i18nStrings.previousButton, onCancelClick: onCancelClick, onPreviousClick: onPreviousClick, onPrimaryClick: onPrimaryClick, onSkipToClick: () => onSkipToClick(skipToTargetIndex), showPrevious: activeStepIndex !== 0, isPrimaryLoading: isPrimaryLoading, showSkipTo: showSkipTo, skipToButtonText: skipToButtonText }), secondaryActions: secondaryActions, errorText: errorText, errorIconAriaLabel: i18nStrings.errorIconAriaLabel }, content)));
@@ -1 +1 @@
1
- {"version":3,"file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Z,gBAAgB,EAAE,WAAW,CAAC,YAAY,EAC1C,iBAAiB,EAAE,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,UAAU,EACjF,kBAAkB,EAAE,WAAW,CAAC,cAAc,EAC9C,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,cAAc,EAAE,cAAc,EAC9B,aAAa,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,iBAAiB,CAAC,EACrD,YAAY,EAAE,eAAe,KAAK,CAAC,EACnC,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,gBAAgB,GAClC,EAEJ,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,SAAS,EACpB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,IAEjD,OAAO,CACK,CACd,CACJ,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB,CAAC,KAAsC,EAAE,eAAuB;IAC5F,IAAI,qBAAqB,GAAG,eAAe,CAAC;IAC5C,GAAG;QACD,qBAAqB,EAAE,CAAC;KACzB,QAAQ,qBAAqB,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC,UAAU,EAAE;IAE9F,OAAO,qBAAqB,GAAG,eAAe,GAAG,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClF,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\nimport InternalForm from '../form/internal';\nimport InternalHeader from '../header/internal';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport WizardActions from './wizard-actions';\nimport { WizardProps } from './interfaces';\nimport WizardFormHeader from './wizard-form-header';\nimport styles from './styles.css.js';\nimport useFocusVisible from '../internal/hooks/focus-visible';\nimport { useEffectOnUpdate } from '../internal/hooks/use-effect-on-update';\n\ninterface WizardFormProps {\n steps: ReadonlyArray<WizardProps.Step>;\n activeStepIndex: number;\n isVisualRefresh: boolean;\n showCollapsedSteps: boolean;\n i18nStrings: WizardProps.I18nStrings;\n isPrimaryLoading: boolean;\n allowSkipTo: boolean;\n secondaryActions?: React.ReactNode;\n onCancelClick: () => void;\n onPreviousClick: () => void;\n onPrimaryClick: () => void;\n onSkipToClick: (stepIndex: number) => void;\n}\n\nexport default function WizardForm({\n steps,\n activeStepIndex,\n isVisualRefresh,\n showCollapsedSteps,\n i18nStrings,\n isPrimaryLoading,\n allowSkipTo,\n secondaryActions,\n onCancelClick,\n onPreviousClick,\n onPrimaryClick,\n onSkipToClick,\n}: WizardFormProps) {\n const { title, info, description, content, errorText, isOptional } = steps[activeStepIndex] || {};\n const isLastStep = activeStepIndex >= steps.length - 1;\n const skipToTargetIndex = findSkipToTargetIndex(steps, activeStepIndex);\n const isMobile = useMobile();\n const stepHeaderRef = useRef<HTMLDivElement | null>(null);\n\n useEffectOnUpdate(() => {\n if (stepHeaderRef && stepHeaderRef.current) {\n stepHeaderRef.current?.focus();\n }\n }, [activeStepIndex]);\n\n const focusVisible = useFocusVisible();\n\n const showSkipTo = allowSkipTo && skipToTargetIndex !== -1;\n const skipToButtonText =\n skipToTargetIndex !== -1 && i18nStrings.skipToButtonLabel\n ? i18nStrings.skipToButtonLabel(steps[skipToTargetIndex], skipToTargetIndex + 1)\n : undefined;\n\n return (\n <>\n <WizardFormHeader isMobile={isMobile || showCollapsedSteps} isVisualRefresh={isVisualRefresh}>\n <div\n className={clsx(\n styles['collapsed-steps'],\n !showCollapsedSteps && styles['collapsed-steps-hidden'],\n isVisualRefresh && isMobile && styles['collapsed-steps-extra-padding']\n )}\n >\n {i18nStrings.collapsedStepsLabel?.(activeStepIndex + 1, steps.length)}\n </div>\n <InternalHeader className={styles['form-header-component']} variant=\"h1\" description={description} info={info}>\n <span className={styles['form-header-component-wrapper']} tabIndex={-1} ref={stepHeaderRef} {...focusVisible}>\n {title}\n {isOptional && <i>{` - ${i18nStrings.optional}`}</i>}\n </span>\n </InternalHeader>\n </WizardFormHeader>\n <InternalForm\n className={clsx(styles['form-component'])}\n actions={\n <WizardActions\n cancelButtonText={i18nStrings.cancelButton}\n primaryButtonText={isLastStep ? i18nStrings.submitButton : i18nStrings.nextButton}\n previousButtonText={i18nStrings.previousButton}\n onCancelClick={onCancelClick}\n onPreviousClick={onPreviousClick}\n onPrimaryClick={onPrimaryClick}\n onSkipToClick={() => onSkipToClick(skipToTargetIndex)}\n showPrevious={activeStepIndex !== 0}\n isPrimaryLoading={isPrimaryLoading}\n showSkipTo={showSkipTo}\n skipToButtonText={skipToButtonText}\n />\n }\n secondaryActions={secondaryActions}\n errorText={errorText}\n errorIconAriaLabel={i18nStrings.errorIconAriaLabel}\n >\n {content}\n </InternalForm>\n </>\n );\n}\n\nfunction findSkipToTargetIndex(steps: ReadonlyArray<WizardProps.Step>, activeStepIndex: number): number {\n let nextRequiredStepIndex = activeStepIndex;\n do {\n nextRequiredStepIndex++;\n } while (nextRequiredStepIndex < steps.length - 1 && steps[nextRequiredStepIndex].isOptional);\n\n return nextRequiredStepIndex > activeStepIndex + 1 ? nextRequiredStepIndex : -1;\n}\n"]}
1
+ {"version":3,"file":"wizard-form.js","sourceRoot":"lib/default/","sources":["wizard/wizard-form.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAE7C,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AACpD,OAAO,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AAE,WAAW,CAAC,kBAAkB,IAEjD,OAAO,CACK,CACd,CACJ,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB,CAAC,KAAsC,EAAE,eAAuB;IAC5F,IAAI,qBAAqB,GAAG,eAAe,CAAC;IAC5C,GAAG;QACD,qBAAqB,EAAE,CAAC;KACzB,QAAQ,qBAAqB,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC,UAAU,EAAE;IAE9F,OAAO,qBAAqB,GAAG,eAAe,GAAG,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClF,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\nimport InternalForm from '../form/internal';\nimport InternalHeader from '../header/internal';\nimport { useMobile } from '../internal/hooks/use-mobile';\nimport WizardActions from './wizard-actions';\nimport { WizardProps } from './interfaces';\nimport WizardFormHeader from './wizard-form-header';\nimport styles from './styles.css.js';\nimport { useEffectOnUpdate } from '../internal/hooks/use-effect-on-update';\n\ninterface WizardFormProps {\n steps: ReadonlyArray<WizardProps.Step>;\n activeStepIndex: number;\n isVisualRefresh: boolean;\n showCollapsedSteps: boolean;\n i18nStrings: WizardProps.I18nStrings;\n isPrimaryLoading: boolean;\n allowSkipTo: boolean;\n secondaryActions?: React.ReactNode;\n onCancelClick: () => void;\n onPreviousClick: () => void;\n onPrimaryClick: () => void;\n onSkipToClick: (stepIndex: number) => void;\n}\n\nexport default function WizardForm({\n steps,\n activeStepIndex,\n isVisualRefresh,\n showCollapsedSteps,\n i18nStrings,\n isPrimaryLoading,\n allowSkipTo,\n secondaryActions,\n onCancelClick,\n onPreviousClick,\n onPrimaryClick,\n onSkipToClick,\n}: WizardFormProps) {\n const { title, info, description, content, errorText, isOptional } = steps[activeStepIndex] || {};\n const isLastStep = activeStepIndex >= steps.length - 1;\n const skipToTargetIndex = findSkipToTargetIndex(steps, activeStepIndex);\n const isMobile = useMobile();\n const stepHeaderRef = useRef<HTMLDivElement | null>(null);\n\n useEffectOnUpdate(() => {\n if (stepHeaderRef && stepHeaderRef.current) {\n stepHeaderRef.current?.focus();\n }\n }, [activeStepIndex]);\n\n const showSkipTo = allowSkipTo && skipToTargetIndex !== -1;\n const skipToButtonText =\n skipToTargetIndex !== -1 && i18nStrings.skipToButtonLabel\n ? i18nStrings.skipToButtonLabel(steps[skipToTargetIndex], skipToTargetIndex + 1)\n : undefined;\n\n return (\n <>\n <WizardFormHeader isMobile={isMobile || showCollapsedSteps} isVisualRefresh={isVisualRefresh}>\n <div\n className={clsx(\n styles['collapsed-steps'],\n !showCollapsedSteps && styles['collapsed-steps-hidden'],\n isVisualRefresh && isMobile && styles['collapsed-steps-extra-padding']\n )}\n >\n {i18nStrings.collapsedStepsLabel?.(activeStepIndex + 1, steps.length)}\n </div>\n <InternalHeader className={styles['form-header-component']} variant=\"h1\" description={description} info={info}>\n <span className={styles['form-header-component-wrapper']} tabIndex={-1} ref={stepHeaderRef}>\n {title}\n {isOptional && <i>{` - ${i18nStrings.optional}`}</i>}\n </span>\n </InternalHeader>\n </WizardFormHeader>\n <InternalForm\n className={clsx(styles['form-component'])}\n actions={\n <WizardActions\n cancelButtonText={i18nStrings.cancelButton}\n primaryButtonText={isLastStep ? i18nStrings.submitButton : i18nStrings.nextButton}\n previousButtonText={i18nStrings.previousButton}\n onCancelClick={onCancelClick}\n onPreviousClick={onPreviousClick}\n onPrimaryClick={onPrimaryClick}\n onSkipToClick={() => onSkipToClick(skipToTargetIndex)}\n showPrevious={activeStepIndex !== 0}\n isPrimaryLoading={isPrimaryLoading}\n showSkipTo={showSkipTo}\n skipToButtonText={skipToButtonText}\n />\n }\n secondaryActions={secondaryActions}\n errorText={errorText}\n errorIconAriaLabel={i18nStrings.errorIconAriaLabel}\n >\n {content}\n </InternalForm>\n </>\n );\n}\n\nfunction findSkipToTargetIndex(steps: ReadonlyArray<WizardProps.Step>, activeStepIndex: number): number {\n let nextRequiredStepIndex = activeStepIndex;\n do {\n nextRequiredStepIndex++;\n } while (nextRequiredStepIndex < steps.length - 1 && steps[nextRequiredStepIndex].isOptional);\n\n return nextRequiredStepIndex > activeStepIndex + 1 ? nextRequiredStepIndex : -1;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudscape-design/components-themeable",
3
- "version": "3.0.251",
3
+ "version": "3.0.253",
4
4
  "files": [
5
5
  "lib",
6
6
  "package.json",