@cloudscape-design/components-themeable 3.0.1212 → 3.0.1214

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 (82) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/internal/components/card/styles.scss +1 -0
  3. package/lib/internal/scss/internal/components/dropdown/styles.scss +4 -0
  4. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  5. package/lib/internal/scss/internal/styles/typography/constants.scss +1 -0
  6. package/lib/internal/scss/internal/styles/typography/mixins.scss +26 -11
  7. package/lib/internal/scss/wizard/styles.scss +21 -6
  8. package/lib/internal/template/button-dropdown/internal.js +1 -1
  9. package/lib/internal/template/button-dropdown/internal.js.map +1 -1
  10. package/lib/internal/template/cards/styles.css.js +38 -38
  11. package/lib/internal/template/cards/styles.scoped.css +40 -39
  12. package/lib/internal/template/cards/styles.selectors.js +38 -38
  13. package/lib/internal/template/date-picker/index.js +1 -1
  14. package/lib/internal/template/date-picker/index.js.map +1 -1
  15. package/lib/internal/template/date-range-picker/dropdown.d.ts +2 -2
  16. package/lib/internal/template/date-range-picker/dropdown.d.ts.map +1 -1
  17. package/lib/internal/template/date-range-picker/dropdown.js +2 -2
  18. package/lib/internal/template/date-range-picker/dropdown.js.map +1 -1
  19. package/lib/internal/template/date-range-picker/index.js +2 -2
  20. package/lib/internal/template/date-range-picker/index.js.map +1 -1
  21. package/lib/internal/template/header/styles.css.js +34 -34
  22. package/lib/internal/template/header/styles.scoped.css +55 -52
  23. package/lib/internal/template/header/styles.selectors.js +34 -34
  24. package/lib/internal/template/help-panel/styles.css.js +6 -6
  25. package/lib/internal/template/help-panel/styles.scoped.css +72 -67
  26. package/lib/internal/template/help-panel/styles.selectors.js +6 -6
  27. package/lib/internal/template/internal/base-component/styles.scoped.css +3 -1
  28. package/lib/internal/template/internal/components/card/styles.css.js +11 -11
  29. package/lib/internal/template/internal/components/card/styles.scoped.css +26 -24
  30. package/lib/internal/template/internal/components/card/styles.selectors.js +11 -11
  31. package/lib/internal/template/internal/components/dropdown/index.d.ts +1 -1
  32. package/lib/internal/template/internal/components/dropdown/index.d.ts.map +1 -1
  33. package/lib/internal/template/internal/components/dropdown/index.js +35 -6
  34. package/lib/internal/template/internal/components/dropdown/index.js.map +1 -1
  35. package/lib/internal/template/internal/components/dropdown/interfaces.d.ts +19 -2
  36. package/lib/internal/template/internal/components/dropdown/interfaces.d.ts.map +1 -1
  37. package/lib/internal/template/internal/components/dropdown/interfaces.js.map +1 -1
  38. package/lib/internal/template/internal/components/dropdown/styles.css.js +20 -20
  39. package/lib/internal/template/internal/components/dropdown/styles.scoped.css +67 -37
  40. package/lib/internal/template/internal/components/dropdown/styles.selectors.js +20 -20
  41. package/lib/internal/template/internal/environment.js +2 -2
  42. package/lib/internal/template/internal/environment.json +2 -2
  43. package/lib/internal/template/internal/generated/styles/tokens.d.ts +1 -0
  44. package/lib/internal/template/internal/generated/styles/tokens.js +1 -0
  45. package/lib/internal/template/internal/generated/theming/index.cjs +5 -0
  46. package/lib/internal/template/internal/generated/theming/index.cjs.d.ts +9 -0
  47. package/lib/internal/template/internal/generated/theming/index.d.ts +9 -0
  48. package/lib/internal/template/internal/generated/theming/index.js +5 -0
  49. package/lib/internal/template/popover/styles.css.js +57 -57
  50. package/lib/internal/template/popover/styles.scoped.css +91 -89
  51. package/lib/internal/template/popover/styles.selectors.js +57 -57
  52. package/lib/internal/template/side-navigation/styles.css.js +30 -30
  53. package/lib/internal/template/side-navigation/styles.scoped.css +47 -46
  54. package/lib/internal/template/side-navigation/styles.selectors.js +30 -30
  55. package/lib/internal/template/text-content/styles.css.js +1 -1
  56. package/lib/internal/template/text-content/styles.scoped.css +65 -60
  57. package/lib/internal/template/text-content/styles.selectors.js +1 -1
  58. package/lib/internal/template/top-navigation/styles.css.js +47 -47
  59. package/lib/internal/template/top-navigation/styles.scoped.css +66 -65
  60. package/lib/internal/template/top-navigation/styles.selectors.js +47 -47
  61. package/lib/internal/template/wizard/internal.d.ts.map +1 -1
  62. package/lib/internal/template/wizard/internal.js +6 -2
  63. package/lib/internal/template/wizard/internal.js.map +1 -1
  64. package/lib/internal/template/wizard/styles.css.js +30 -30
  65. package/lib/internal/template/wizard/styles.scoped.css +76 -63
  66. package/lib/internal/template/wizard/styles.selectors.js +30 -30
  67. package/lib/internal/template/wizard/wizard-form.d.ts +0 -1
  68. package/lib/internal/template/wizard/wizard-form.d.ts.map +1 -1
  69. package/lib/internal/template/wizard/wizard-form.js +1 -4
  70. package/lib/internal/template/wizard/wizard-form.js.map +1 -1
  71. package/lib/internal/template/wizard/wizard-navigation.d.ts.map +1 -1
  72. package/lib/internal/template/wizard/wizard-navigation.js +13 -86
  73. package/lib/internal/template/wizard/wizard-navigation.js.map +1 -1
  74. package/lib/internal/template/wizard/wizard-step-list.d.ts +27 -0
  75. package/lib/internal/template/wizard/wizard-step-list.d.ts.map +1 -0
  76. package/lib/internal/template/wizard/wizard-step-list.js +105 -0
  77. package/lib/internal/template/wizard/wizard-step-list.js.map +1 -0
  78. package/lib/internal/template/wizard/wizard-step-navigation-expandable.d.ts +16 -0
  79. package/lib/internal/template/wizard/wizard-step-navigation-expandable.d.ts.map +1 -0
  80. package/lib/internal/template/wizard/wizard-step-navigation-expandable.js +18 -0
  81. package/lib/internal/template/wizard/wizard-step-navigation-expandable.js.map +1 -0
  82. package/package.json +1 -1
@@ -1,35 +1,35 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_1xupv_1vmie_145",
5
- "wizard": "awsui_wizard_1xupv_1vmie_177",
6
- "refresh": "awsui_refresh_1xupv_1vmie_177",
7
- "small-container": "awsui_small-container_1xupv_1vmie_184",
8
- "navigation": "awsui_navigation_1xupv_1vmie_193",
9
- "number": "awsui_number_1xupv_1vmie_226",
10
- "circle": "awsui_circle_1xupv_1vmie_242",
11
- "title": "awsui_title_1xupv_1vmie_253",
12
- "active": "awsui_active_1xupv_1vmie_284",
13
- "disabled": "awsui_disabled_1xupv_1vmie_295",
14
- "enabled": "awsui_enabled_1xupv_1vmie_305",
15
- "form": "awsui_form_1xupv_1vmie_349",
16
- "form-header": "awsui_form-header_1xupv_1vmie_354",
17
- "form-header-content": "awsui_form-header-content_1xupv_1vmie_369",
18
- "form-component": "awsui_form-component_1xupv_1vmie_373",
19
- "hidden": "awsui_hidden_1xupv_1vmie_387",
20
- "collapsed-steps": "awsui_collapsed-steps_1xupv_1vmie_391",
21
- "collapsed-steps-hidden": "awsui_collapsed-steps-hidden_1xupv_1vmie_396",
22
- "form-header-component-wrapper": "awsui_form-header-component-wrapper_1xupv_1vmie_400",
23
- "form-header-component": "awsui_form-header-component_1xupv_1vmie_400",
24
- "navigation-link": "awsui_navigation-link_1xupv_1vmie_416",
25
- "navigation-link-item": "awsui_navigation-link-item_1xupv_1vmie_417",
26
- "navigation-link-label": "awsui_navigation-link-label_1xupv_1vmie_418",
27
- "navigation-link-active": "awsui_navigation-link-active_1xupv_1vmie_422",
28
- "navigation-link-disabled": "awsui_navigation-link-disabled_1xupv_1vmie_427",
29
- "cancel-button": "awsui_cancel-button_1xupv_1vmie_431",
30
- "previous-button": "awsui_previous-button_1xupv_1vmie_432",
31
- "primary-button": "awsui_primary-button_1xupv_1vmie_433",
32
- "skip-to-button": "awsui_skip-to-button_1xupv_1vmie_434",
33
- "action-buttons": "awsui_action-buttons_1xupv_1vmie_438"
4
+ "root": "awsui_root_1xupv_1rebv_145",
5
+ "wizard": "awsui_wizard_1xupv_1rebv_177",
6
+ "refresh": "awsui_refresh_1xupv_1rebv_177",
7
+ "small-container": "awsui_small-container_1xupv_1rebv_184",
8
+ "navigation": "awsui_navigation_1xupv_1rebv_198",
9
+ "number": "awsui_number_1xupv_1rebv_231",
10
+ "circle": "awsui_circle_1xupv_1rebv_247",
11
+ "title": "awsui_title_1xupv_1rebv_258",
12
+ "active": "awsui_active_1xupv_1rebv_289",
13
+ "disabled": "awsui_disabled_1xupv_1rebv_300",
14
+ "enabled": "awsui_enabled_1xupv_1rebv_310",
15
+ "form": "awsui_form_1xupv_1rebv_354",
16
+ "form-header": "awsui_form-header_1xupv_1rebv_359",
17
+ "form-header-content": "awsui_form-header-content_1xupv_1rebv_374",
18
+ "form-component": "awsui_form-component_1xupv_1rebv_378",
19
+ "hidden": "awsui_hidden_1xupv_1rebv_394",
20
+ "collapsed-steps": "awsui_collapsed-steps_1xupv_1rebv_398",
21
+ "collapsed-steps-navigation": "awsui_collapsed-steps-navigation_1xupv_1rebv_404",
22
+ "form-header-component-wrapper": "awsui_form-header-component-wrapper_1xupv_1rebv_413",
23
+ "form-header-component": "awsui_form-header-component_1xupv_1rebv_413",
24
+ "navigation-link": "awsui_navigation-link_1xupv_1rebv_429",
25
+ "navigation-link-item": "awsui_navigation-link-item_1xupv_1rebv_430",
26
+ "navigation-link-label": "awsui_navigation-link-label_1xupv_1rebv_431",
27
+ "navigation-link-active": "awsui_navigation-link-active_1xupv_1rebv_435",
28
+ "navigation-link-disabled": "awsui_navigation-link-disabled_1xupv_1rebv_440",
29
+ "cancel-button": "awsui_cancel-button_1xupv_1rebv_444",
30
+ "previous-button": "awsui_previous-button_1xupv_1rebv_445",
31
+ "primary-button": "awsui_primary-button_1xupv_1rebv_446",
32
+ "skip-to-button": "awsui_skip-to-button_1xupv_1rebv_447",
33
+ "action-buttons": "awsui_action-buttons_1xupv_1rebv_451"
34
34
  };
35
35
 
@@ -142,7 +142,7 @@
142
142
  */
143
143
  /* Style used for links in slots/components that are text heavy, to help links stand out among
144
144
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
145
- .awsui_root_1xupv_1vmie_145:not(#\9) {
145
+ .awsui_root_1xupv_1rebv_145:not(#\9) {
146
146
  border-collapse: separate;
147
147
  border-spacing: 0;
148
148
  box-sizing: border-box;
@@ -174,30 +174,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
174
174
  -moz-osx-font-smoothing: auto;
175
175
  }
176
176
 
177
- .awsui_wizard_1xupv_1vmie_177.awsui_refresh_1xupv_1vmie_177:not(#\9) {
177
+ .awsui_wizard_1xupv_1rebv_177.awsui_refresh_1xupv_1rebv_177:not(#\9) {
178
178
  column-gap: var(--space-xl-4dmkh1, 24px);
179
179
  display: grid;
180
180
  grid-template-columns: auto minmax(0, 1fr);
181
181
  grid-template-rows: auto 1fr;
182
182
  row-gap: var(--space-scaled-xxs-jatbiv, 4px);
183
183
  }
184
- .awsui_wizard_1xupv_1vmie_177.awsui_refresh_1xupv_1vmie_177.awsui_small-container_1xupv_1vmie_184:not(#\9) {
184
+ .awsui_wizard_1xupv_1rebv_177.awsui_refresh_1xupv_1rebv_177.awsui_small-container_1xupv_1rebv_184:not(#\9) {
185
185
  grid-template-columns: minmax(0, 1fr) 0;
186
- row-gap: var(--space-scaled-l-66n9sr, 20px);
186
+ grid-template-rows: auto auto 1fr;
187
+ row-gap: var(--space-scaled-xxs-jatbiv, 4px);
187
188
  }
188
189
 
189
- .awsui_wizard_1xupv_1vmie_177:not(#\9):not(.awsui_refresh_1xupv_1vmie_177) {
190
+ .awsui_wizard_1xupv_1rebv_177:not(#\9):not(.awsui_refresh_1xupv_1rebv_177) {
190
191
  display: flex;
191
192
  }
193
+ .awsui_wizard_1xupv_1rebv_177:not(#\9):not(.awsui_refresh_1xupv_1rebv_177).awsui_small-container_1xupv_1rebv_184 {
194
+ flex-direction: column;
195
+ gap: var(--space-s-4a5hs8, 12px);
196
+ }
192
197
 
193
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177:not(#\9) {
198
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177:not(#\9) {
194
199
  grid-column: 1;
195
200
  grid-row: 1/span 2;
196
201
  padding-block-start: calc(var(--space-xs-kw7k3v, 8px) + var(--space-scaled-xxs-jatbiv, 4px));
197
202
  /* stylelint-disable selector-max-type */
198
203
  /* stylelint-enable selector-max-type */
199
204
  }
200
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177:not(#\9) {
205
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177:not(#\9) {
201
206
  position: relative;
202
207
  margin-block: 0;
203
208
  margin-inline: 0;
@@ -207,7 +212,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
207
212
  inline-size: 260px;
208
213
  box-sizing: border-box;
209
214
  }
210
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li:not(#\9) {
215
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li:not(#\9) {
211
216
  display: grid;
212
217
  column-gap: var(--space-xs-kw7k3v, 8px);
213
218
  grid-template-columns: var(--space-l-3cws6j, 20px) 1fr;
@@ -215,7 +220,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
215
220
  padding-block: 0;
216
221
  padding-inline: 0;
217
222
  }
218
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li > hr:not(#\9) {
223
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li > hr:not(#\9) {
219
224
  background-color: var(--color-border-divider-default-ipvpev, #eaeded);
220
225
  border-block: 0;
221
226
  border-inline: 0;
@@ -223,13 +228,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
223
228
  block-size: 100%;
224
229
  inline-size: var(--space-xxxs-3w1kr2, 2px);
225
230
  }
226
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li > .awsui_number_1xupv_1vmie_226:not(#\9) {
231
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li > .awsui_number_1xupv_1rebv_231:not(#\9) {
227
232
  color: var(--color-text-small-m20sr1, #687078);
228
233
  font-size: var(--font-size-body-s-psgqn2, 12px);
229
234
  grid-column: 2;
230
235
  grid-row: 1;
231
236
  }
232
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li > a:not(#\9) {
237
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li > a:not(#\9) {
233
238
  align-items: start;
234
239
  column-gap: var(--space-xs-kw7k3v, 8px);
235
240
  cursor: pointer;
@@ -239,7 +244,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
239
244
  grid-row: 2;
240
245
  grid-template-columns: var(--space-l-3cws6j, 20px) 1fr;
241
246
  }
242
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li > a > .awsui_circle_1xupv_1vmie_242:not(#\9) {
247
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li > a > .awsui_circle_1xupv_1rebv_247:not(#\9) {
243
248
  border-start-start-radius: 100%;
244
249
  border-start-end-radius: 100%;
245
250
  border-end-start-radius: 100%;
@@ -250,12 +255,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
250
255
  margin-block-start: 6px;
251
256
  inline-size: 10px;
252
257
  }
253
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li > a > .awsui_title_1xupv_1vmie_253:not(#\9) {
258
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li > a > .awsui_title_1xupv_1rebv_258:not(#\9) {
254
259
  min-inline-size: 0;
255
260
  word-break: break-word;
256
261
  grid-column: 2;
257
262
  }
258
- body[data-awsui-focus-visible=true] .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li > a:not(#\9):focus {
263
+ body[data-awsui-focus-visible=true] .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li > a:not(#\9):focus {
259
264
  outline: thin dotted;
260
265
  outline: var(--border-link-focus-ring-outline-c5423y, 5px auto Highlight);
261
266
  outline-offset: 2px;
@@ -266,58 +271,58 @@ body[data-awsui-focus-visible=true] .awsui_navigation_1xupv_1vmie_193.awsui_refr
266
271
  border-end-end-radius: var(--border-radius-control-default-focus-ring-9xsko1, 2px);
267
272
  box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-woh62o, 0px) var(--color-border-item-focused-r5f6xl, #0073bb);
268
273
  }
269
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li:not(#\9):first-child > hr {
274
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li:not(#\9):first-child > hr {
270
275
  grid-row: 2/span 2;
271
276
  }
272
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li:not(#\9):not(:first-child) > .awsui_number_1xupv_1vmie_226 {
277
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li:not(#\9):not(:first-child) > .awsui_number_1xupv_1rebv_231 {
273
278
  margin-block-start: var(--space-m-n2lypl, 16px);
274
279
  }
275
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li:not(#\9):last-child > hr {
280
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li:not(#\9):last-child > hr {
276
281
  grid-row: 1;
277
282
  }
278
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li:not(#\9):only-of-type > hr {
283
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li:not(#\9):only-of-type > hr {
279
284
  display: none;
280
285
  }
281
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li:not(#\9):not(:first-child):not(:last-child) > hr {
286
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li:not(#\9):not(:first-child):not(:last-child) > hr {
282
287
  grid-row: 1/span 3;
283
288
  }
284
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li.awsui_active_1xupv_1vmie_284 > a:not(#\9) {
289
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li.awsui_active_1xupv_1rebv_289 > a:not(#\9) {
285
290
  cursor: text;
286
291
  }
287
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li.awsui_active_1xupv_1vmie_284 > a > .awsui_circle_1xupv_1vmie_242:not(#\9) {
292
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li.awsui_active_1xupv_1rebv_289 > a > .awsui_circle_1xupv_1rebv_247:not(#\9) {
288
293
  background-color: var(--color-background-control-checked-se0x0e, #0073bb);
289
294
  box-shadow: 0 0 0 3px var(--color-background-container-content-aemn43, #ffffff), 0 0 0 5px var(--color-background-control-checked-se0x0e, #0073bb), 0 0 0 7px var(--color-background-container-content-aemn43, #ffffff);
290
295
  }
291
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li.awsui_active_1xupv_1vmie_284 > a > .awsui_title_1xupv_1vmie_253:not(#\9) {
296
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li.awsui_active_1xupv_1rebv_289 > a > .awsui_title_1xupv_1rebv_258:not(#\9) {
292
297
  color: var(--color-background-control-checked-se0x0e, #0073bb);
293
298
  font-weight: 700;
294
299
  }
295
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li.awsui_disabled_1xupv_1vmie_295 > a:not(#\9) {
300
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li.awsui_disabled_1xupv_1rebv_300 > a:not(#\9) {
296
301
  cursor: text;
297
302
  }
298
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li.awsui_disabled_1xupv_1vmie_295 > a > .awsui_circle_1xupv_1vmie_242:not(#\9) {
303
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li.awsui_disabled_1xupv_1rebv_300 > a > .awsui_circle_1xupv_1rebv_247:not(#\9) {
299
304
  background-color: var(--color-background-container-content-aemn43, #ffffff);
300
305
  box-shadow: 0 0 0 2px var(--color-text-interactive-disabled-xwt2jl, #aab7b8), 0 0 0 4px var(--color-background-container-content-aemn43, #ffffff);
301
306
  }
302
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li.awsui_disabled_1xupv_1vmie_295 > a > .awsui_title_1xupv_1vmie_253:not(#\9) {
307
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li.awsui_disabled_1xupv_1rebv_300 > a > .awsui_title_1xupv_1rebv_258:not(#\9) {
303
308
  color: var(--color-text-status-inactive-n7p1uq, #687078);
304
309
  }
305
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li.awsui_enabled_1xupv_1vmie_305 > a > .awsui_circle_1xupv_1vmie_242:not(#\9) {
310
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li.awsui_enabled_1xupv_1rebv_310 > a > .awsui_circle_1xupv_1rebv_247:not(#\9) {
306
311
  background-color: var(--color-text-interactive-default-qwoe3g, #545b64);
307
312
  box-shadow: 0 0 0 2px var(--color-text-interactive-default-qwoe3g, #545b64), 0 0 0 4px var(--color-background-container-content-aemn43, #ffffff);
308
313
  }
309
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li.awsui_enabled_1xupv_1vmie_305 > a > .awsui_title_1xupv_1vmie_253:not(#\9) {
314
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li.awsui_enabled_1xupv_1rebv_310 > a > .awsui_title_1xupv_1rebv_258:not(#\9) {
310
315
  color: var(--color-text-interactive-default-qwoe3g, #545b64);
311
316
  }
312
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li.awsui_enabled_1xupv_1vmie_305 > a:not(#\9):hover > .awsui_circle_1xupv_1vmie_242 {
317
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li.awsui_enabled_1xupv_1rebv_310 > a:not(#\9):hover > .awsui_circle_1xupv_1rebv_247 {
313
318
  background-color: var(--color-background-control-checked-se0x0e, #0073bb);
314
319
  box-shadow: 0 0 0 2px var(--color-background-control-checked-se0x0e, #0073bb), 0 0 0 4px var(--color-background-container-content-aemn43, #ffffff);
315
320
  }
316
- .awsui_navigation_1xupv_1vmie_193.awsui_refresh_1xupv_1vmie_177 > ul.awsui_refresh_1xupv_1vmie_177 > li.awsui_enabled_1xupv_1vmie_305 > a:not(#\9):hover > .awsui_title_1xupv_1vmie_253 {
321
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177 > ul.awsui_refresh_1xupv_1rebv_177 > li.awsui_enabled_1xupv_1rebv_310 > a:not(#\9):hover > .awsui_title_1xupv_1rebv_258 {
317
322
  color: var(--color-background-control-checked-se0x0e, #0073bb);
318
323
  }
319
324
 
320
- .awsui_navigation_1xupv_1vmie_193:not(#\9):not(.awsui_refresh_1xupv_1vmie_177) {
325
+ .awsui_navigation_1xupv_1rebv_198:not(#\9):not(.awsui_refresh_1xupv_1rebv_177) {
321
326
  color: var(--color-text-disabled-bhrk1i, #aab7b8);
322
327
  display: inline-block;
323
328
  margin-inline-end: calc(2 * var(--space-xxxl-qhelse, 40px));
@@ -327,80 +332,88 @@ body[data-awsui-focus-visible=true] .awsui_navigation_1xupv_1vmie_193.awsui_refr
327
332
  /* stylelint-disable selector-max-type */
328
333
  /* stylelint-enable selector-max-type */
329
334
  }
330
- .awsui_navigation_1xupv_1vmie_193:not(#\9):not(.awsui_refresh_1xupv_1vmie_177) > ul:not(.awsui_refresh_1xupv_1vmie_177) {
335
+ .awsui_navigation_1xupv_1rebv_198:not(#\9):not(.awsui_refresh_1xupv_1rebv_177) > ul:not(.awsui_refresh_1xupv_1rebv_177) {
331
336
  list-style: none;
332
337
  padding-block: 0;
333
338
  padding-inline: 0;
334
339
  margin-block: 0;
335
340
  margin-inline: 0;
336
341
  }
337
- .awsui_navigation_1xupv_1vmie_193:not(#\9):not(.awsui_refresh_1xupv_1vmie_177) > ul:not(.awsui_refresh_1xupv_1vmie_177) > li {
342
+ .awsui_navigation_1xupv_1rebv_198:not(#\9):not(.awsui_refresh_1xupv_1rebv_177) > ul:not(.awsui_refresh_1xupv_1rebv_177) > li {
338
343
  min-inline-size: 0;
339
344
  word-break: break-word;
340
345
  padding-block: 0 var(--space-scaled-m-sw9kcx, 16px);
341
346
  }
342
- .awsui_navigation_1xupv_1vmie_193:not(#\9):not(.awsui_refresh_1xupv_1vmie_177) > ul:not(.awsui_refresh_1xupv_1vmie_177) > li:not(:first-child) {
347
+ .awsui_navigation_1xupv_1rebv_198:not(#\9):not(.awsui_refresh_1xupv_1rebv_177) > ul:not(.awsui_refresh_1xupv_1rebv_177) > li:not(:first-child) {
343
348
  margin-block-start: var(--space-scaled-m-sw9kcx, 16px);
344
349
  }
345
- .awsui_navigation_1xupv_1vmie_193:not(#\9):not(.awsui_refresh_1xupv_1vmie_177) > ul:not(.awsui_refresh_1xupv_1vmie_177) > li:not(:last-child) {
350
+ .awsui_navigation_1xupv_1rebv_198:not(#\9):not(.awsui_refresh_1xupv_1rebv_177) > ul:not(.awsui_refresh_1xupv_1rebv_177) > li:not(:last-child) {
346
351
  border-block-end: var(--border-divider-list-width-8ggz94, 1px) solid var(--color-border-layout-ovzonx, #d5dbdb);
347
352
  }
348
353
 
349
- .awsui_form_1xupv_1vmie_349:not(#\9):not(.awsui_refresh_1xupv_1vmie_177) {
354
+ .awsui_form_1xupv_1rebv_354:not(#\9):not(.awsui_refresh_1xupv_1rebv_177) {
350
355
  min-inline-size: 0;
351
356
  word-break: break-word;
352
357
  inline-size: 100%;
353
358
  }
354
- .awsui_form_1xupv_1vmie_349:not(#\9):not(.awsui_refresh_1xupv_1vmie_177) > .awsui_form-header_1xupv_1vmie_354 {
359
+ .awsui_form_1xupv_1rebv_354:not(#\9):not(.awsui_refresh_1xupv_1rebv_177) > .awsui_form-header_1xupv_1rebv_359 {
355
360
  position: relative;
356
361
  margin-block-end: var(--space-scaled-m-sw9kcx, 16px);
357
362
  }
358
363
 
359
- .awsui_form_1xupv_1vmie_349.awsui_refresh_1xupv_1vmie_177:not(#\9) {
364
+ .awsui_form_1xupv_1rebv_354.awsui_refresh_1xupv_1rebv_177:not(#\9) {
360
365
  min-inline-size: 0;
361
366
  word-break: break-word;
362
367
  display: contents;
363
368
  }
364
- .awsui_form_1xupv_1vmie_349.awsui_refresh_1xupv_1vmie_177 > .awsui_form-header_1xupv_1vmie_354:not(#\9) {
369
+ .awsui_form_1xupv_1rebv_354.awsui_refresh_1xupv_1rebv_177 > .awsui_form-header_1xupv_1rebv_359:not(#\9) {
365
370
  grid-column: 2;
366
371
  grid-row: 1;
367
372
  color: var(--color-text-body-default-5qid0u, #16191f);
368
373
  }
369
- .awsui_form_1xupv_1vmie_349.awsui_refresh_1xupv_1vmie_177 > .awsui_form-header_1xupv_1vmie_354 > .awsui_form-header-content_1xupv_1vmie_369:not(#\9) {
374
+ .awsui_form_1xupv_1rebv_354.awsui_refresh_1xupv_1rebv_177 > .awsui_form-header_1xupv_1rebv_359 > .awsui_form-header-content_1xupv_1rebv_374:not(#\9) {
370
375
  padding-block-start: calc(var(--space-xl-4dmkh1, 24px) + var(--space-scaled-xxxs-prgw5k, 2px));
371
376
  padding-block-end: var(--space-scaled-s-gjhvjd, 12px);
372
377
  }
373
- .awsui_form_1xupv_1vmie_349.awsui_refresh_1xupv_1vmie_177 > .awsui_form-component_1xupv_1vmie_373:not(#\9) {
378
+ .awsui_form_1xupv_1rebv_354.awsui_refresh_1xupv_1rebv_177 > .awsui_form-component_1xupv_1rebv_378:not(#\9) {
374
379
  grid-column: 2;
375
380
  grid-row: 2;
376
381
  }
377
- .awsui_form_1xupv_1vmie_349.awsui_refresh_1xupv_1vmie_177.awsui_small-container_1xupv_1vmie_184 > .awsui_form-header_1xupv_1vmie_354:not(#\9) {
382
+ .awsui_form_1xupv_1rebv_354.awsui_refresh_1xupv_1rebv_177.awsui_small-container_1xupv_1rebv_184 > .awsui_form-header_1xupv_1rebv_359:not(#\9) {
378
383
  grid-column: 1/span 2;
384
+ grid-row: 2;
379
385
  }
380
- .awsui_form_1xupv_1vmie_349.awsui_refresh_1xupv_1vmie_177.awsui_small-container_1xupv_1vmie_184 > .awsui_form-header_1xupv_1vmie_354 > .awsui_form-header-content_1xupv_1vmie_369:not(#\9) {
386
+ .awsui_form_1xupv_1rebv_354.awsui_refresh_1xupv_1rebv_177.awsui_small-container_1xupv_1rebv_184 > .awsui_form-header_1xupv_1rebv_359 > .awsui_form-header-content_1xupv_1rebv_374:not(#\9) {
381
387
  padding-block-start: 0;
382
388
  }
383
- .awsui_form_1xupv_1vmie_349.awsui_refresh_1xupv_1vmie_177.awsui_small-container_1xupv_1vmie_184 > .awsui_form-component_1xupv_1vmie_373:not(#\9) {
389
+ .awsui_form_1xupv_1rebv_354.awsui_refresh_1xupv_1rebv_177.awsui_small-container_1xupv_1rebv_184 > .awsui_form-component_1xupv_1rebv_378:not(#\9) {
384
390
  grid-column: 1/span 2;
391
+ grid-row: 3;
385
392
  }
386
393
 
387
- .awsui_navigation_1xupv_1vmie_193.awsui_hidden_1xupv_1vmie_387:not(#\9) {
394
+ .awsui_navigation_1xupv_1rebv_198.awsui_hidden_1xupv_1rebv_394:not(#\9) {
388
395
  display: none;
389
396
  }
390
397
 
391
- .awsui_collapsed-steps_1xupv_1vmie_391:not(#\9) {
392
- color: var(--color-text-heading-secondary-26seqv, #545b64);
393
- font-weight: 700;
394
- padding-block-start: var(--space-scaled-xxs-jatbiv, 4px);
398
+ .awsui_collapsed-steps_1xupv_1rebv_398:not(#\9) {
399
+ grid-column: 1/span 2;
400
+ grid-row: 1;
395
401
  }
396
- .awsui_collapsed-steps-hidden_1xupv_1vmie_396:not(#\9) {
397
- display: none;
402
+
403
+ /* Override fixed sidebar width for expandable navigation */
404
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177.awsui_collapsed-steps-navigation_1xupv_1rebv_404:not(#\9) {
405
+ grid-column: unset;
406
+ grid-row: unset;
407
+ padding-block-start: 0;
408
+ }
409
+ .awsui_navigation_1xupv_1rebv_198.awsui_refresh_1xupv_1rebv_177.awsui_collapsed-steps-navigation_1xupv_1rebv_404 > ul.awsui_refresh_1xupv_1rebv_177:not(#\9) {
410
+ inline-size: 100%;
398
411
  }
399
412
 
400
- .awsui_form-header-component-wrapper_1xupv_1vmie_400:not(#\9) {
413
+ .awsui_form-header-component-wrapper_1xupv_1rebv_413:not(#\9) {
401
414
  outline: none;
402
415
  }
403
- body[data-awsui-focus-visible=true] .awsui_form-header-component-wrapper_1xupv_1vmie_400:not(#\9):focus {
416
+ body[data-awsui-focus-visible=true] .awsui_form-header-component-wrapper_1xupv_1rebv_413:not(#\9):focus {
404
417
  outline: thin dotted;
405
418
  outline: var(--border-link-focus-ring-outline-c5423y, 5px auto Highlight);
406
419
  outline-offset: 2px;
@@ -412,30 +425,30 @@ body[data-awsui-focus-visible=true] .awsui_form-header-component-wrapper_1xupv_1
412
425
  box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-woh62o, 0px) var(--color-border-item-focused-r5f6xl, #0073bb);
413
426
  }
414
427
 
415
- .awsui_form-header-component_1xupv_1vmie_400:not(#\9),
416
- .awsui_navigation-link_1xupv_1vmie_416:not(#\9),
417
- .awsui_navigation-link-item_1xupv_1vmie_417:not(#\9),
418
- .awsui_navigation-link-label_1xupv_1vmie_418:not(#\9) {
428
+ .awsui_form-header-component_1xupv_1rebv_413:not(#\9),
429
+ .awsui_navigation-link_1xupv_1rebv_429:not(#\9),
430
+ .awsui_navigation-link-item_1xupv_1rebv_430:not(#\9),
431
+ .awsui_navigation-link-label_1xupv_1rebv_431:not(#\9) {
419
432
  /* used in test-utils */
420
433
  }
421
434
 
422
- .awsui_navigation-link-active_1xupv_1vmie_422:not(#\9) {
435
+ .awsui_navigation-link-active_1xupv_1rebv_435:not(#\9) {
423
436
  font-weight: 700;
424
437
  color: var(--color-text-body-default-5qid0u, #16191f);
425
438
  }
426
439
 
427
- .awsui_navigation-link-disabled_1xupv_1vmie_427:not(#\9) {
440
+ .awsui_navigation-link-disabled_1xupv_1rebv_440:not(#\9) {
428
441
  color: var(--color-text-status-inactive-n7p1uq, #687078);
429
442
  }
430
443
 
431
- .awsui_cancel-button_1xupv_1vmie_431:not(#\9),
432
- .awsui_previous-button_1xupv_1vmie_432:not(#\9),
433
- .awsui_primary-button_1xupv_1vmie_433:not(#\9),
434
- .awsui_skip-to-button_1xupv_1vmie_434:not(#\9) {
444
+ .awsui_cancel-button_1xupv_1rebv_444:not(#\9),
445
+ .awsui_previous-button_1xupv_1rebv_445:not(#\9),
446
+ .awsui_primary-button_1xupv_1rebv_446:not(#\9),
447
+ .awsui_skip-to-button_1xupv_1rebv_447:not(#\9) {
435
448
  /* used in test-utils */
436
449
  }
437
450
 
438
- .awsui_action-buttons_1xupv_1vmie_438:not(#\9) {
451
+ .awsui_action-buttons_1xupv_1rebv_451:not(#\9) {
439
452
  display: flex;
440
453
  justify-content: flex-end;
441
454
  }
@@ -2,35 +2,35 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_1xupv_1vmie_145",
6
- "wizard": "awsui_wizard_1xupv_1vmie_177",
7
- "refresh": "awsui_refresh_1xupv_1vmie_177",
8
- "small-container": "awsui_small-container_1xupv_1vmie_184",
9
- "navigation": "awsui_navigation_1xupv_1vmie_193",
10
- "number": "awsui_number_1xupv_1vmie_226",
11
- "circle": "awsui_circle_1xupv_1vmie_242",
12
- "title": "awsui_title_1xupv_1vmie_253",
13
- "active": "awsui_active_1xupv_1vmie_284",
14
- "disabled": "awsui_disabled_1xupv_1vmie_295",
15
- "enabled": "awsui_enabled_1xupv_1vmie_305",
16
- "form": "awsui_form_1xupv_1vmie_349",
17
- "form-header": "awsui_form-header_1xupv_1vmie_354",
18
- "form-header-content": "awsui_form-header-content_1xupv_1vmie_369",
19
- "form-component": "awsui_form-component_1xupv_1vmie_373",
20
- "hidden": "awsui_hidden_1xupv_1vmie_387",
21
- "collapsed-steps": "awsui_collapsed-steps_1xupv_1vmie_391",
22
- "collapsed-steps-hidden": "awsui_collapsed-steps-hidden_1xupv_1vmie_396",
23
- "form-header-component-wrapper": "awsui_form-header-component-wrapper_1xupv_1vmie_400",
24
- "form-header-component": "awsui_form-header-component_1xupv_1vmie_400",
25
- "navigation-link": "awsui_navigation-link_1xupv_1vmie_416",
26
- "navigation-link-item": "awsui_navigation-link-item_1xupv_1vmie_417",
27
- "navigation-link-label": "awsui_navigation-link-label_1xupv_1vmie_418",
28
- "navigation-link-active": "awsui_navigation-link-active_1xupv_1vmie_422",
29
- "navigation-link-disabled": "awsui_navigation-link-disabled_1xupv_1vmie_427",
30
- "cancel-button": "awsui_cancel-button_1xupv_1vmie_431",
31
- "previous-button": "awsui_previous-button_1xupv_1vmie_432",
32
- "primary-button": "awsui_primary-button_1xupv_1vmie_433",
33
- "skip-to-button": "awsui_skip-to-button_1xupv_1vmie_434",
34
- "action-buttons": "awsui_action-buttons_1xupv_1vmie_438"
5
+ "root": "awsui_root_1xupv_1rebv_145",
6
+ "wizard": "awsui_wizard_1xupv_1rebv_177",
7
+ "refresh": "awsui_refresh_1xupv_1rebv_177",
8
+ "small-container": "awsui_small-container_1xupv_1rebv_184",
9
+ "navigation": "awsui_navigation_1xupv_1rebv_198",
10
+ "number": "awsui_number_1xupv_1rebv_231",
11
+ "circle": "awsui_circle_1xupv_1rebv_247",
12
+ "title": "awsui_title_1xupv_1rebv_258",
13
+ "active": "awsui_active_1xupv_1rebv_289",
14
+ "disabled": "awsui_disabled_1xupv_1rebv_300",
15
+ "enabled": "awsui_enabled_1xupv_1rebv_310",
16
+ "form": "awsui_form_1xupv_1rebv_354",
17
+ "form-header": "awsui_form-header_1xupv_1rebv_359",
18
+ "form-header-content": "awsui_form-header-content_1xupv_1rebv_374",
19
+ "form-component": "awsui_form-component_1xupv_1rebv_378",
20
+ "hidden": "awsui_hidden_1xupv_1rebv_394",
21
+ "collapsed-steps": "awsui_collapsed-steps_1xupv_1rebv_398",
22
+ "collapsed-steps-navigation": "awsui_collapsed-steps-navigation_1xupv_1rebv_404",
23
+ "form-header-component-wrapper": "awsui_form-header-component-wrapper_1xupv_1rebv_413",
24
+ "form-header-component": "awsui_form-header-component_1xupv_1rebv_413",
25
+ "navigation-link": "awsui_navigation-link_1xupv_1rebv_429",
26
+ "navigation-link-item": "awsui_navigation-link-item_1xupv_1rebv_430",
27
+ "navigation-link-label": "awsui_navigation-link-label_1xupv_1rebv_431",
28
+ "navigation-link-active": "awsui_navigation-link-active_1xupv_1rebv_435",
29
+ "navigation-link-disabled": "awsui_navigation-link-disabled_1xupv_1rebv_440",
30
+ "cancel-button": "awsui_cancel-button_1xupv_1rebv_444",
31
+ "previous-button": "awsui_previous-button_1xupv_1rebv_445",
32
+ "primary-button": "awsui_primary-button_1xupv_1rebv_446",
33
+ "skip-to-button": "awsui_skip-to-button_1xupv_1rebv_447",
34
+ "action-buttons": "awsui_action-buttons_1xupv_1rebv_451"
35
35
  };
36
36
 
@@ -4,7 +4,6 @@ import { WizardProps } from './interfaces';
4
4
  interface WizardFormProps extends InternalBaseComponentProps {
5
5
  steps: ReadonlyArray<WizardProps.Step>;
6
6
  activeStepIndex: number;
7
- showCollapsedSteps: boolean;
8
7
  i18nStrings: WizardProps.I18nStrings;
9
8
  submitButtonText?: string;
10
9
  isPrimaryLoading: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"wizard-form.d.ts","sourceRoot":"","sources":["../../../src/wizard/wizard-form.tsx"],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AC,WAAW,CAAC;IACrC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,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,eAAO,MAAM,kBAAkB,8CAAwD,CAAC;AAExF,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,KAAK,EAAE,eAAe,eAsBrE"}
@@ -1,7 +1,6 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import React, { useEffect, useRef } from 'react';
4
- import clsx from 'clsx';
5
4
  import { useComponentMetadata, useMergeRefs, useUniqueId } from '@cloudscape-design/component-toolkit/internal';
6
5
  import InternalForm from '../form/internal';
7
6
  import InternalHeader from '../header/internal';
@@ -27,8 +26,7 @@ export default function WizardFormWithAnalytics(props) {
27
26
  return (React.createElement(AnalyticsFunnelStep, { stepIdentifier: analyticsMetadata === null || analyticsMetadata === void 0 ? void 0 : analyticsMetadata.instanceIdentifier, stepErrorContext: analyticsMetadata === null || analyticsMetadata === void 0 ? void 0 : analyticsMetadata.errorContext, stepNameSelector: STEP_NAME_SELECTOR, stepNumber: props.activeStepIndex + 1 },
28
27
  React.createElement(WizardForm, { stepHeaderRef: stepHeaderRef, __internalRootRef: __internalRootRef, ...props })));
29
28
  }
30
- function WizardForm({ __internalRootRef, stepHeaderRef, steps, activeStepIndex, showCollapsedSteps, i18nStrings, submitButtonText, isPrimaryLoading, allowSkipTo, secondaryActions, customPrimaryActions, onCancelClick, onPreviousClick, onPrimaryClick, onSkipToClick, }) {
31
- var _a;
29
+ function WizardForm({ __internalRootRef, stepHeaderRef, steps, activeStepIndex, i18nStrings, submitButtonText, isPrimaryLoading, allowSkipTo, secondaryActions, customPrimaryActions, onCancelClick, onPreviousClick, onPrimaryClick, onSkipToClick, }) {
32
30
  const rootRef = useRef();
33
31
  const ref = useMergeRefs(rootRef, __internalRootRef);
34
32
  const { title, info, description, content, errorText, isOptional } = steps[activeStepIndex] || {};
@@ -63,7 +61,6 @@ function WizardForm({ __internalRootRef, stepHeaderRef, steps, activeStepIndex,
63
61
  }, [funnelInteractionId, funnelIdentifier, isLastStep, errorText, __internalRootRef, errorSlotId, funnelStepInfo]);
64
62
  return (React.createElement(React.Fragment, null,
65
63
  React.createElement(WizardFormHeader, null,
66
- React.createElement("div", { className: clsx(styles['collapsed-steps'], !showCollapsedSteps && styles['collapsed-steps-hidden']) }, (_a = i18nStrings.collapsedStepsLabel) === null || _a === void 0 ? void 0 : _a.call(i18nStrings, activeStepIndex + 1, steps.length)),
67
64
  React.createElement(InternalHeader, { className: styles['form-header-component'], variant: "h1", description: description, info: info, __headingTagRef: stepHeaderRef, __headingTagTabIndex: -1 },
68
65
  React.createElement("span", { className: styles['form-header-component-wrapper'] },
69
66
  React.createElement("span", { [DATA_ATTR_FUNNEL_KEY]: FUNNEL_KEY_STEP_NAME }, title),
@@ -1 +1 @@
1
- {"version":3,"file":"wizard-form.js","sourceRoot":"","sources":["../../../src/wizard/wizard-form.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,EAAE,EAAoB,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAGhH,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,cAAc,MAAM,oBAA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EAChC,eAAe,EAAE,iBAAiB,GAClC,CACH,EAEH,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,WAAW,EAC1B,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,KAC9C,cAAc,CAAC,OAAO,CAAC,eAAe,IAEzC,OAAO,CACK,CACd,CACJ,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB,CAAC,KAAsC,EAAE,eAAuB;IAC5F,IAAI,qBAAqB,GAAG,eAAe,CAAC;IAC5C,GAAG,CAAC;QACF,qBAAqB,EAAE,CAAC;IAC1B,CAAC,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\n\nimport React, { MutableRefObject, useEffect, useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { useComponentMetadata, useMergeRefs, useUniqueId } from '@cloudscape-design/component-toolkit/internal';\nimport { AnalyticsMetadata } from '@cloudscape-design/component-toolkit/internal/base-component/metrics/interfaces';\n\nimport InternalForm from '../form/internal';\nimport InternalHeader from '../header/internal';\nimport { FunnelMetrics } from '../internal/analytics';\nimport { AnalyticsFunnelStep } from '../internal/analytics/components/analytics-funnel';\nimport { useFunnel, useFunnelStepRef } from '../internal/analytics/hooks/use-funnel';\nimport {\n DATA_ATTR_FUNNEL_KEY,\n FUNNEL_KEY_STEP_NAME,\n getSubStepAllSelector,\n getTextFromSelector,\n} from '../internal/analytics/selectors';\nimport { BasePropsWithAnalyticsMetadata, getAnalyticsMetadataProps } from '../internal/base-component';\nimport { PACKAGE_VERSION } from '../internal/environment';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useEffectOnUpdate } from '../internal/hooks/use-effect-on-update';\nimport { WizardProps } from './interfaces';\nimport WizardActions from './wizard-actions';\nimport WizardFormHeader from './wizard-form-header';\n\nimport styles from './styles.css.js';\n\ninterface WizardFormProps extends InternalBaseComponentProps {\n steps: ReadonlyArray<WizardProps.Step>;\n activeStepIndex: number;\n showCollapsedSteps: boolean;\n i18nStrings: WizardProps.I18nStrings;\n submitButtonText?: string;\n isPrimaryLoading: boolean;\n allowSkipTo: boolean;\n customPrimaryActions?: React.ReactNode;\n secondaryActions?: React.ReactNode;\n onCancelClick: () => void;\n onPreviousClick: () => void;\n onPrimaryClick: () => void;\n onSkipToClick: (stepIndex: number) => void;\n}\n\nexport const STEP_NAME_SELECTOR = `[${DATA_ATTR_FUNNEL_KEY}=\"${FUNNEL_KEY_STEP_NAME}\"]`;\n\nexport default function WizardFormWithAnalytics(props: WizardFormProps) {\n const analyticsMetadata = getAnalyticsMetadataProps(\n props.steps[props.activeStepIndex] as BasePropsWithAnalyticsMetadata\n );\n\n const __internalRootRef = useComponentMetadata('WizardForm', PACKAGE_VERSION, analyticsMetadata as AnalyticsMetadata);\n const stepHeaderRef = useRef<HTMLDivElement | null>(null);\n\n useEffectOnUpdate(() => {\n stepHeaderRef.current?.focus();\n }, [props.activeStepIndex]);\n\n return (\n <AnalyticsFunnelStep\n stepIdentifier={analyticsMetadata?.instanceIdentifier}\n stepErrorContext={analyticsMetadata?.errorContext}\n stepNameSelector={STEP_NAME_SELECTOR}\n stepNumber={props.activeStepIndex + 1}\n >\n <WizardForm stepHeaderRef={stepHeaderRef} __internalRootRef={__internalRootRef} {...props} />\n </AnalyticsFunnelStep>\n );\n}\n\nfunction WizardForm({\n __internalRootRef,\n stepHeaderRef,\n steps,\n activeStepIndex,\n showCollapsedSteps,\n i18nStrings,\n submitButtonText,\n isPrimaryLoading,\n allowSkipTo,\n secondaryActions,\n customPrimaryActions,\n onCancelClick,\n onPreviousClick,\n onPrimaryClick,\n onSkipToClick,\n}: WizardFormProps & { stepHeaderRef: MutableRefObject<HTMLDivElement | null> }) {\n const rootRef = useRef<HTMLElement>();\n const ref = useMergeRefs(rootRef, __internalRootRef);\n const { title, info, description, content, errorText, isOptional } = steps[activeStepIndex] || {};\n const isLastStep = activeStepIndex >= steps.length - 1;\n const skipToTargetIndex = findSkipToTargetIndex(steps, activeStepIndex);\n\n const { funnelInteractionId, funnelIdentifier } = useFunnel();\n\n const funnelStepInfo = useFunnelStepRef();\n\n const errorSlotId = useUniqueId('wizard-error-');\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 useEffect(() => {\n if (funnelInteractionId && errorText) {\n const stepName = getTextFromSelector(funnelStepInfo.current.stepNameSelector);\n\n FunnelMetrics.funnelStepError({\n funnelInteractionId,\n stepNumber: funnelStepInfo.current.stepNumber,\n stepNameSelector: funnelStepInfo.current.stepNameSelector,\n stepName,\n stepIdentifier: funnelStepInfo.current.stepIdentifier,\n currentDocument: rootRef.current?.ownerDocument,\n totalSubSteps: funnelStepInfo.current.subStepCount.current,\n funnelIdentifier,\n subStepAllSelector: getSubStepAllSelector(),\n errorContext: funnelStepInfo.current.stepErrorContext,\n subStepConfiguration: funnelStepInfo.current.subStepConfiguration.current?.get(\n funnelStepInfo.current.stepNumber\n ),\n stepErrorSelector: '#' + errorSlotId,\n });\n }\n }, [funnelInteractionId, funnelIdentifier, isLastStep, errorText, __internalRootRef, errorSlotId, funnelStepInfo]);\n\n return (\n <>\n <WizardFormHeader>\n <div className={clsx(styles['collapsed-steps'], !showCollapsedSteps && styles['collapsed-steps-hidden'])}>\n {i18nStrings.collapsedStepsLabel?.(activeStepIndex + 1, steps.length)}\n </div>\n <InternalHeader\n className={styles['form-header-component']}\n variant=\"h1\"\n description={description}\n info={info}\n __headingTagRef={stepHeaderRef}\n __headingTagTabIndex={-1}\n >\n <span className={styles['form-header-component-wrapper']}>\n <span {...{ [DATA_ATTR_FUNNEL_KEY]: FUNNEL_KEY_STEP_NAME }}>{title}</span>\n {isOptional && <i>{` - ${i18nStrings.optional}`}</i>}\n </span>\n </InternalHeader>\n </WizardFormHeader>\n\n <InternalForm\n __internalRootRef={ref}\n className={styles['form-component']}\n actions={\n customPrimaryActions ? (\n customPrimaryActions\n ) : (\n <WizardActions\n cancelButtonText={i18nStrings.cancelButton}\n primaryButtonText={isLastStep ? (submitButtonText ?? i18nStrings.submitButton) : i18nStrings.nextButton}\n primaryButtonLoadingText={\n isLastStep ? i18nStrings.submitButtonLoadingAnnouncement : i18nStrings.nextButtonLoadingAnnouncement\n }\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 isLastStep={isLastStep}\n activeStepIndex={activeStepIndex}\n skipToStepIndex={skipToTargetIndex}\n />\n )\n }\n secondaryActions={secondaryActions}\n errorText={errorText}\n __errorSlotId={errorSlotId}\n errorIconAriaLabel={i18nStrings.errorIconAriaLabel}\n {...funnelStepInfo.current.funnelStepProps}\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":"","sources":["../../../src/wizard/wizard-form.tsx"],"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E,UAAU,EACtB,eAAe,EAAE,eAAe,EAChC,eAAe,EAAE,iBAAiB,GAClC,CACH,EAEH,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,WAAW,EAC1B,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,KAC9C,cAAc,CAAC,OAAO,CAAC,eAAe,IAEzC,OAAO,CACK,CACd,CACJ,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB,CAAC,KAAsC,EAAE,eAAuB;IAC5F,IAAI,qBAAqB,GAAG,eAAe,CAAC;IAC5C,GAAG,CAAC;QACF,qBAAqB,EAAE,CAAC;IAC1B,CAAC,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\n\nimport React, { MutableRefObject, useEffect, useRef } from 'react';\n\nimport { useComponentMetadata, useMergeRefs, useUniqueId } from '@cloudscape-design/component-toolkit/internal';\nimport { AnalyticsMetadata } from '@cloudscape-design/component-toolkit/internal/base-component/metrics/interfaces';\n\nimport InternalForm from '../form/internal';\nimport InternalHeader from '../header/internal';\nimport { FunnelMetrics } from '../internal/analytics';\nimport { AnalyticsFunnelStep } from '../internal/analytics/components/analytics-funnel';\nimport { useFunnel, useFunnelStepRef } from '../internal/analytics/hooks/use-funnel';\nimport {\n DATA_ATTR_FUNNEL_KEY,\n FUNNEL_KEY_STEP_NAME,\n getSubStepAllSelector,\n getTextFromSelector,\n} from '../internal/analytics/selectors';\nimport { BasePropsWithAnalyticsMetadata, getAnalyticsMetadataProps } from '../internal/base-component';\nimport { PACKAGE_VERSION } from '../internal/environment';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useEffectOnUpdate } from '../internal/hooks/use-effect-on-update';\nimport { WizardProps } from './interfaces';\nimport WizardActions from './wizard-actions';\nimport WizardFormHeader from './wizard-form-header';\n\nimport styles from './styles.css.js';\n\ninterface WizardFormProps extends InternalBaseComponentProps {\n steps: ReadonlyArray<WizardProps.Step>;\n activeStepIndex: number;\n i18nStrings: WizardProps.I18nStrings;\n submitButtonText?: string;\n isPrimaryLoading: boolean;\n allowSkipTo: boolean;\n customPrimaryActions?: React.ReactNode;\n secondaryActions?: React.ReactNode;\n onCancelClick: () => void;\n onPreviousClick: () => void;\n onPrimaryClick: () => void;\n onSkipToClick: (stepIndex: number) => void;\n}\n\nexport const STEP_NAME_SELECTOR = `[${DATA_ATTR_FUNNEL_KEY}=\"${FUNNEL_KEY_STEP_NAME}\"]`;\n\nexport default function WizardFormWithAnalytics(props: WizardFormProps) {\n const analyticsMetadata = getAnalyticsMetadataProps(\n props.steps[props.activeStepIndex] as BasePropsWithAnalyticsMetadata\n );\n\n const __internalRootRef = useComponentMetadata('WizardForm', PACKAGE_VERSION, analyticsMetadata as AnalyticsMetadata);\n const stepHeaderRef = useRef<HTMLDivElement | null>(null);\n\n useEffectOnUpdate(() => {\n stepHeaderRef.current?.focus();\n }, [props.activeStepIndex]);\n\n return (\n <AnalyticsFunnelStep\n stepIdentifier={analyticsMetadata?.instanceIdentifier}\n stepErrorContext={analyticsMetadata?.errorContext}\n stepNameSelector={STEP_NAME_SELECTOR}\n stepNumber={props.activeStepIndex + 1}\n >\n <WizardForm stepHeaderRef={stepHeaderRef} __internalRootRef={__internalRootRef} {...props} />\n </AnalyticsFunnelStep>\n );\n}\n\nfunction WizardForm({\n __internalRootRef,\n stepHeaderRef,\n steps,\n activeStepIndex,\n i18nStrings,\n submitButtonText,\n isPrimaryLoading,\n allowSkipTo,\n secondaryActions,\n customPrimaryActions,\n onCancelClick,\n onPreviousClick,\n onPrimaryClick,\n onSkipToClick,\n}: WizardFormProps & { stepHeaderRef: MutableRefObject<HTMLDivElement | null> }) {\n const rootRef = useRef<HTMLElement>();\n const ref = useMergeRefs(rootRef, __internalRootRef);\n const { title, info, description, content, errorText, isOptional } = steps[activeStepIndex] || {};\n const isLastStep = activeStepIndex >= steps.length - 1;\n const skipToTargetIndex = findSkipToTargetIndex(steps, activeStepIndex);\n\n const { funnelInteractionId, funnelIdentifier } = useFunnel();\n\n const funnelStepInfo = useFunnelStepRef();\n\n const errorSlotId = useUniqueId('wizard-error-');\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 useEffect(() => {\n if (funnelInteractionId && errorText) {\n const stepName = getTextFromSelector(funnelStepInfo.current.stepNameSelector);\n\n FunnelMetrics.funnelStepError({\n funnelInteractionId,\n stepNumber: funnelStepInfo.current.stepNumber,\n stepNameSelector: funnelStepInfo.current.stepNameSelector,\n stepName,\n stepIdentifier: funnelStepInfo.current.stepIdentifier,\n currentDocument: rootRef.current?.ownerDocument,\n totalSubSteps: funnelStepInfo.current.subStepCount.current,\n funnelIdentifier,\n subStepAllSelector: getSubStepAllSelector(),\n errorContext: funnelStepInfo.current.stepErrorContext,\n subStepConfiguration: funnelStepInfo.current.subStepConfiguration.current?.get(\n funnelStepInfo.current.stepNumber\n ),\n stepErrorSelector: '#' + errorSlotId,\n });\n }\n }, [funnelInteractionId, funnelIdentifier, isLastStep, errorText, __internalRootRef, errorSlotId, funnelStepInfo]);\n\n return (\n <>\n <WizardFormHeader>\n <InternalHeader\n className={styles['form-header-component']}\n variant=\"h1\"\n description={description}\n info={info}\n __headingTagRef={stepHeaderRef}\n __headingTagTabIndex={-1}\n >\n <span className={styles['form-header-component-wrapper']}>\n <span {...{ [DATA_ATTR_FUNNEL_KEY]: FUNNEL_KEY_STEP_NAME }}>{title}</span>\n {isOptional && <i>{` - ${i18nStrings.optional}`}</i>}\n </span>\n </InternalHeader>\n </WizardFormHeader>\n\n <InternalForm\n __internalRootRef={ref}\n className={styles['form-component']}\n actions={\n customPrimaryActions ? (\n customPrimaryActions\n ) : (\n <WizardActions\n cancelButtonText={i18nStrings.cancelButton}\n primaryButtonText={isLastStep ? (submitButtonText ?? i18nStrings.submitButton) : i18nStrings.nextButton}\n primaryButtonLoadingText={\n isLastStep ? i18nStrings.submitButtonLoadingAnnouncement : i18nStrings.nextButtonLoadingAnnouncement\n }\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 isLastStep={isLastStep}\n activeStepIndex={activeStepIndex}\n skipToStepIndex={skipToTargetIndex}\n />\n )\n }\n secondaryActions={secondaryActions}\n errorText={errorText}\n __errorSlotId={errorSlotId}\n errorIconAriaLabel={i18nStrings.errorIconAriaLabel}\n {...funnelStepInfo.current.funnelStepProps}\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 +1 @@
1
- {"version":3,"file":"wizard-navigation.d.ts","sourceRoot":"","sources":["../../../src/wizard/wizard-navigation.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAK3C,UAAU,eAAe;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC;IACrC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;CACxC;AAkBD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,MAAM,EACN,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,KAAK,GACN,EAAE,eAAe,eA6DjB"}
1
+ {"version":3,"file":"wizard-navigation.d.ts","sourceRoot":"","sources":["../../../src/wizard/wizard-navigation.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,UAAU,eAAe;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC;IACrC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;CACxC;AAWD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,MAAM,EACN,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,KAAK,GACN,EAAE,eAAe,eA8CjB"}