@cloudscape-design/components-themeable 3.0.1211 → 3.0.1213

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 (74) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  3. package/lib/internal/scss/wizard/styles.scss +21 -6
  4. package/lib/internal/template/button-dropdown/internal.js +1 -1
  5. package/lib/internal/template/button-dropdown/internal.js.map +1 -1
  6. package/lib/internal/template/column-layout/flexible-column-layout/index.js +2 -2
  7. package/lib/internal/template/column-layout/flexible-column-layout/index.js.map +1 -1
  8. package/lib/internal/template/column-layout/grid-column-layout.js +1 -1
  9. package/lib/internal/template/column-layout/grid-column-layout.js.map +1 -1
  10. package/lib/internal/template/date-picker/index.js +1 -1
  11. package/lib/internal/template/date-picker/index.js.map +1 -1
  12. package/lib/internal/template/date-range-picker/dropdown.d.ts +2 -2
  13. package/lib/internal/template/date-range-picker/dropdown.d.ts.map +1 -1
  14. package/lib/internal/template/date-range-picker/dropdown.js +2 -2
  15. package/lib/internal/template/date-range-picker/dropdown.js.map +1 -1
  16. package/lib/internal/template/date-range-picker/index.js +2 -2
  17. package/lib/internal/template/date-range-picker/index.js.map +1 -1
  18. package/lib/internal/template/grid/internal.d.ts.map +1 -1
  19. package/lib/internal/template/grid/internal.js +2 -2
  20. package/lib/internal/template/grid/internal.js.map +1 -1
  21. package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
  22. package/lib/internal/template/internal/components/dropdown/index.d.ts +1 -1
  23. package/lib/internal/template/internal/components/dropdown/index.d.ts.map +1 -1
  24. package/lib/internal/template/internal/components/dropdown/index.js +37 -6
  25. package/lib/internal/template/internal/components/dropdown/index.js.map +1 -1
  26. package/lib/internal/template/internal/components/dropdown/interfaces.d.ts +32 -6
  27. package/lib/internal/template/internal/components/dropdown/interfaces.d.ts.map +1 -1
  28. package/lib/internal/template/internal/components/dropdown/interfaces.js.map +1 -1
  29. package/lib/internal/template/internal/environment.js +2 -2
  30. package/lib/internal/template/internal/environment.json +2 -2
  31. package/lib/internal/template/internal/hooks/use-base-component/styles-check.d.ts +1 -2
  32. package/lib/internal/template/internal/hooks/use-base-component/styles-check.d.ts.map +1 -1
  33. package/lib/internal/template/internal/hooks/use-base-component/styles-check.js +27 -7
  34. package/lib/internal/template/internal/hooks/use-base-component/styles-check.js.map +1 -1
  35. package/lib/internal/template/internal/utils/flatten-children.d.ts +3 -0
  36. package/lib/internal/template/internal/utils/flatten-children.d.ts.map +1 -0
  37. package/lib/internal/template/internal/utils/flatten-children.js +17 -0
  38. package/lib/internal/template/internal/utils/flatten-children.js.map +1 -0
  39. package/lib/internal/template/multiselect/internal.d.ts.map +1 -1
  40. package/lib/internal/template/multiselect/internal.js +1 -1
  41. package/lib/internal/template/multiselect/internal.js.map +1 -1
  42. package/lib/internal/template/multiselect/use-multiselect.d.ts +1 -1
  43. package/lib/internal/template/select/internal.d.ts.map +1 -1
  44. package/lib/internal/template/select/internal.js +1 -1
  45. package/lib/internal/template/select/internal.js.map +1 -1
  46. package/lib/internal/template/select/utils/use-select.d.ts +1 -1
  47. package/lib/internal/template/select/utils/use-select.d.ts.map +1 -1
  48. package/lib/internal/template/select/utils/use-select.js +1 -1
  49. package/lib/internal/template/select/utils/use-select.js.map +1 -1
  50. package/lib/internal/template/space-between/internal.d.ts.map +1 -1
  51. package/lib/internal/template/space-between/internal.js +4 -3
  52. package/lib/internal/template/space-between/internal.js.map +1 -1
  53. package/lib/internal/template/wizard/internal.d.ts.map +1 -1
  54. package/lib/internal/template/wizard/internal.js +6 -2
  55. package/lib/internal/template/wizard/internal.js.map +1 -1
  56. package/lib/internal/template/wizard/styles.css.js +30 -30
  57. package/lib/internal/template/wizard/styles.scoped.css +76 -63
  58. package/lib/internal/template/wizard/styles.selectors.js +30 -30
  59. package/lib/internal/template/wizard/wizard-form.d.ts +0 -1
  60. package/lib/internal/template/wizard/wizard-form.d.ts.map +1 -1
  61. package/lib/internal/template/wizard/wizard-form.js +1 -4
  62. package/lib/internal/template/wizard/wizard-form.js.map +1 -1
  63. package/lib/internal/template/wizard/wizard-navigation.d.ts.map +1 -1
  64. package/lib/internal/template/wizard/wizard-navigation.js +13 -86
  65. package/lib/internal/template/wizard/wizard-navigation.js.map +1 -1
  66. package/lib/internal/template/wizard/wizard-step-list.d.ts +27 -0
  67. package/lib/internal/template/wizard/wizard-step-list.d.ts.map +1 -0
  68. package/lib/internal/template/wizard/wizard-step-list.js +105 -0
  69. package/lib/internal/template/wizard/wizard-step-list.js.map +1 -0
  70. package/lib/internal/template/wizard/wizard-step-navigation-expandable.d.ts +16 -0
  71. package/lib/internal/template/wizard/wizard-step-navigation-expandable.d.ts.map +1 -0
  72. package/lib/internal/template/wizard/wizard-step-navigation-expandable.js +18 -0
  73. package/lib/internal/template/wizard/wizard-step-navigation-expandable.js.map +1 -0
  74. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import React, { useRef } from 'react';
3
+ import React, { useRef, useState } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useMergeRefs, warnOnce } from '@cloudscape-design/component-toolkit/internal';
6
6
  import { getAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';
@@ -16,6 +16,7 @@ import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
16
16
  import { useFunnelChangeEvent } from './analytics';
17
17
  import WizardForm, { STEP_NAME_SELECTOR } from './wizard-form';
18
18
  import WizardNavigation from './wizard-navigation';
19
+ import WizardStepNavigationExpandable from './wizard-step-navigation-expandable';
19
20
  import analyticsSelectors from './analytics-metadata/styles.css.js';
20
21
  import styles from './styles.css.js';
21
22
  export default function InternalWizard({ steps, activeStepIndex: controlledActiveStepIndex, submitButtonText, isLoadingNextStep = false, allowSkipTo = false, customPrimaryActions, secondaryActions, onCancel, onSubmit, onNavigate, __internalRootRef, __injectAnalyticsComponentMetadata = false, ...rest }) {
@@ -35,6 +36,7 @@ export default function InternalWizard({ steps, activeStepIndex: controlledActiv
35
36
  farthestStepIndex.current = Math.max(farthestStepIndex.current, actualActiveStepIndex);
36
37
  const isVisualRefresh = useVisualRefresh();
37
38
  const isLastStep = actualActiveStepIndex >= steps.length - 1;
39
+ const [isStepNavigationExpanded, setIsStepNavigationExpanded] = useState(false);
38
40
  const navigationEvent = (requestedStepIndex, reason) => {
39
41
  if (funnelInteractionId) {
40
42
  const stepName = getTextFromSelector(STEP_NAME_SELECTOR);
@@ -106,7 +108,9 @@ export default function InternalWizard({ steps, activeStepIndex: controlledActiv
106
108
  : {}) },
107
109
  React.createElement("div", { className: clsx(styles.wizard, isVisualRefresh && styles.refresh, smallContainer && styles['small-container']) },
108
110
  React.createElement(WizardNavigation, { activeStepIndex: actualActiveStepIndex, farthestStepIndex: farthestStepIndex.current, allowSkipTo: allowSkipTo, hidden: smallContainer, i18nStrings: i18nStrings, isLoadingNextStep: isLoadingNextStep, onStepClick: onStepClick, onSkipToClick: onSkipToClick, steps: steps }),
111
+ smallContainer && (React.createElement("div", { className: styles['collapsed-steps'] },
112
+ React.createElement(WizardStepNavigationExpandable, { activeStepIndex: actualActiveStepIndex, farthestStepIndex: farthestStepIndex.current, allowSkipTo: allowSkipTo, i18nStrings: i18nStrings, isLoadingNextStep: isLoadingNextStep, onStepClick: onStepClick, onSkipToClick: onSkipToClick, steps: steps, expanded: isStepNavigationExpanded, onExpandChange: setIsStepNavigationExpanded }))),
109
113
  React.createElement("div", { className: clsx(styles.form, isVisualRefresh && styles.refresh, smallContainer && styles['small-container']) },
110
- React.createElement(WizardForm, { steps: steps, showCollapsedSteps: smallContainer, i18nStrings: i18nStrings, submitButtonText: submitButtonText, activeStepIndex: actualActiveStepIndex, isPrimaryLoading: isLoadingNextStep, allowSkipTo: allowSkipTo, customPrimaryActions: customPrimaryActions, secondaryActions: secondaryActions, onCancelClick: onCancelClick, onPreviousClick: onPreviousClick, onSkipToClick: onSkipToClick, onPrimaryClick: onPrimaryClick })))));
114
+ React.createElement(WizardForm, { steps: steps, i18nStrings: i18nStrings, submitButtonText: submitButtonText, activeStepIndex: actualActiveStepIndex, isPrimaryLoading: isLoadingNextStep, allowSkipTo: allowSkipTo, customPrimaryActions: customPrimaryActions, secondaryActions: secondaryActions, onCancelClick: onCancelClick, onPreviousClick: onPreviousClick, onSkipToClick: onSkipToClick, onPrimaryClick: onPrimaryClick })))));
111
115
  }
112
116
  //# sourceMappingURL=internal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/wizard/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,kEAAkE,CAAC;AAEjH,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,oBAAoB,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C,CAAC,6BAA6B,CAAC,EAAE,SAAS,EAAE,0BAA0B,EAAE,CAAC;YAC1E,CAAC,CAAC,EAAE,CAAC;QAEP,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,IAAI,MAAM,CAAC,OAAO,EAAE,cAAc,IAAI,MAAM,CAAC,iBAAiB,CAAC,CAAC;YAE9G,oBAAC,gBAAgB,IACf,eAAe,EAAE,qBAAqB,EACtC,iBAAiB,EAAE,iBAAiB,CAAC,OAAO,EAC5C,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,cAAc,EACtB,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,KAAK,GACZ;YACF,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,eAAe,IAAI,MAAM,CAAC,OAAO,EAAE,cAAc,IAAI,MAAM,CAAC,iBAAiB,CAAC,CAAC;gBAE5G,oBAAC,UAAU,IACT,KAAK,EAAE,KAAK,EACZ,kBAAkB,EAAE,cAAc,EAClC,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,qBAAqB,EACtC,gBAAgB,EAAE,iBAAiB,EACnC,WAAW,EAAE,WAAW,EACxB,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,cAAc,GAC9B,CACE,CACF,CACF,CACP,CAAC;AACJ,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';\n\nimport { useMergeRefs, warnOnce } from '@cloudscape-design/component-toolkit/internal';\nimport { getAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport { useInternalI18n } from '../i18n/context';\nimport { FunnelMetrics } from '../internal/analytics';\nimport { useFunnel } from '../internal/analytics/hooks/use-funnel';\nimport {\n DATA_ATTR_FUNNEL_KEY,\n FUNNEL_KEY_FUNNEL_NAME,\n FUNNEL_KEY_STEP_NAME,\n getSubStepAllSelector,\n getTextFromSelector,\n} from '../internal/analytics/selectors';\nimport { getBaseProps } from '../internal/base-component';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useControllable } from '../internal/hooks/use-controllable';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { useFunnelChangeEvent } from './analytics';\nimport { GeneratedAnalyticsMetadataWizardComponent } from './analytics-metadata/interfaces';\nimport { WizardProps } from './interfaces';\nimport WizardForm, { STEP_NAME_SELECTOR } from './wizard-form';\nimport WizardNavigation from './wizard-navigation';\n\nimport analyticsSelectors from './analytics-metadata/styles.css.js';\nimport styles from './styles.css.js';\n\ntype InternalWizardProps = WizardProps &\n InternalBaseComponentProps & {\n __injectAnalyticsComponentMetadata?: boolean;\n };\n\nexport default function InternalWizard({\n steps,\n activeStepIndex: controlledActiveStepIndex,\n submitButtonText,\n isLoadingNextStep = false,\n allowSkipTo = false,\n customPrimaryActions,\n secondaryActions,\n onCancel,\n onSubmit,\n onNavigate,\n __internalRootRef,\n __injectAnalyticsComponentMetadata = false,\n ...rest\n}: InternalWizardProps) {\n const baseProps = getBaseProps(rest);\n\n const [breakpoint, breakpointsRef] = useContainerBreakpoints(['xs']);\n const ref = useMergeRefs(breakpointsRef, __internalRootRef);\n\n const smallContainer = breakpoint === 'default';\n\n const [activeStepIndex, setActiveStepIndex] = useControllable(controlledActiveStepIndex, onNavigate, 0, {\n componentName: 'Wizard',\n controlledProp: 'activeStepIndex',\n changeHandler: 'onNavigate',\n });\n const { funnelIdentifier, funnelInteractionId, funnelSubmit, funnelCancel, funnelProps, funnelNextOrSubmitAttempt } =\n useFunnel();\n const actualActiveStepIndex = activeStepIndex ? Math.min(activeStepIndex, steps.length - 1) : 0;\n\n const farthestStepIndex = useRef<number>(actualActiveStepIndex);\n farthestStepIndex.current = Math.max(farthestStepIndex.current, actualActiveStepIndex);\n\n const isVisualRefresh = useVisualRefresh();\n const isLastStep = actualActiveStepIndex >= steps.length - 1;\n\n const navigationEvent = (requestedStepIndex: number, reason: WizardProps.NavigationReason) => {\n if (funnelInteractionId) {\n const stepName = getTextFromSelector(STEP_NAME_SELECTOR);\n\n FunnelMetrics.funnelStepNavigation({\n navigationType: reason,\n funnelInteractionId,\n stepNumber: actualActiveStepIndex + 1,\n stepName,\n stepNameSelector: STEP_NAME_SELECTOR,\n destinationStepNumber: requestedStepIndex + 1,\n subStepAllSelector: getSubStepAllSelector(),\n });\n }\n\n setActiveStepIndex(requestedStepIndex);\n fireNonCancelableEvent(onNavigate, { requestedStepIndex, reason });\n };\n const onStepClick = (stepIndex: number) => navigationEvent(stepIndex, 'step');\n const onSkipToClick = (stepIndex: number) => navigationEvent(stepIndex, 'skip');\n const onCancelClick = () => {\n funnelCancel();\n fireNonCancelableEvent(onCancel);\n };\n const onPreviousClick = () => navigationEvent(actualActiveStepIndex - 1, 'previous');\n const onPrimaryClick = () => {\n funnelNextOrSubmitAttempt();\n\n if (isLastStep) {\n funnelSubmit();\n fireNonCancelableEvent(onSubmit);\n } else {\n navigationEvent(actualActiveStepIndex + 1, 'next');\n }\n };\n\n useFunnelChangeEvent(funnelInteractionId, funnelIdentifier, steps);\n\n const i18n = useInternalI18n('wizard');\n const skipToButtonLabel = i18n(\n 'i18nStrings.skipToButtonLabel',\n rest.i18nStrings?.skipToButtonLabel,\n format => task => format({ task__title: task.title })\n );\n\n const i18nStrings: WizardProps.I18nStrings = {\n ...rest.i18nStrings,\n skipToButtonLabel,\n stepNumberLabel: i18n(\n 'i18nStrings.stepNumberLabel',\n rest.i18nStrings?.stepNumberLabel,\n format => stepNumber => format({ stepNumber })\n ),\n collapsedStepsLabel: i18n(\n 'i18nStrings.collapsedStepsLabel',\n rest.i18nStrings?.collapsedStepsLabel,\n format => (stepNumber, stepsCount) => format({ stepNumber, stepsCount })\n ),\n navigationAriaLabel: i18n('i18nStrings.navigationAriaLabel', rest.i18nStrings?.navigationAriaLabel),\n cancelButton: i18n('i18nStrings.cancelButton', rest.i18nStrings?.cancelButton),\n previousButton: i18n('i18nStrings.previousButton', rest.i18nStrings?.previousButton),\n nextButton: i18n('i18nStrings.nextButton', rest.i18nStrings?.nextButton),\n optional: i18n('i18nStrings.optional', rest.i18nStrings?.optional),\n };\n\n if (activeStepIndex && activeStepIndex >= steps.length) {\n warnOnce(\n 'Wizard',\n `You have set \\`activeStepIndex\\` to ${activeStepIndex} but you have provided only ${\n steps.length\n } steps. Its value is ignored and the component uses ${steps.length - 1} instead.`\n );\n }\n\n if (allowSkipTo && !skipToButtonLabel) {\n warnOnce(\n 'Wizard',\n `You have set \\`allowSkipTo\\` but you have not provided \\`i18nStrings.skipToButtonLabel\\`. The skip-to button will not be rendered.`\n );\n }\n\n const componentAnalyticsMetadata: GeneratedAnalyticsMetadataWizardComponent = {\n name: 'awsui.Wizard',\n label: {\n root: 'body',\n selector: `[${DATA_ATTR_FUNNEL_KEY}=\"${FUNNEL_KEY_FUNNEL_NAME}\"]`,\n },\n properties: {\n stepsCount: `${(steps || []).length}`,\n activeStepIndex: `${activeStepIndex}`,\n activeStepLabel: `[${DATA_ATTR_FUNNEL_KEY}=\"${FUNNEL_KEY_STEP_NAME}\"]`,\n ...(rest.analyticsMetadata || {}),\n },\n };\n\n return (\n <div\n {...baseProps}\n {...funnelProps}\n ref={ref}\n className={clsx(styles.root, analyticsSelectors.root, baseProps.className)}\n {...(__injectAnalyticsComponentMetadata\n ? getAnalyticsMetadataAttribute({ component: componentAnalyticsMetadata })\n : {})}\n >\n <div\n className={clsx(styles.wizard, isVisualRefresh && styles.refresh, smallContainer && styles['small-container'])}\n >\n <WizardNavigation\n activeStepIndex={actualActiveStepIndex}\n farthestStepIndex={farthestStepIndex.current}\n allowSkipTo={allowSkipTo}\n hidden={smallContainer}\n i18nStrings={i18nStrings}\n isLoadingNextStep={isLoadingNextStep}\n onStepClick={onStepClick}\n onSkipToClick={onSkipToClick}\n steps={steps}\n />\n <div\n className={clsx(styles.form, isVisualRefresh && styles.refresh, smallContainer && styles['small-container'])}\n >\n <WizardForm\n steps={steps}\n showCollapsedSteps={smallContainer}\n i18nStrings={i18nStrings}\n submitButtonText={submitButtonText}\n activeStepIndex={actualActiveStepIndex}\n isPrimaryLoading={isLoadingNextStep}\n allowSkipTo={allowSkipTo}\n customPrimaryActions={customPrimaryActions}\n secondaryActions={secondaryActions}\n onCancelClick={onCancelClick}\n onPreviousClick={onPreviousClick}\n onSkipToClick={onSkipToClick}\n onPrimaryClick={onPrimaryClick}\n />\n </div>\n </div>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/wizard/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,6BAA6B,EAAE,MAAM,kEAAkE,CAAC;AAEjH,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,M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C,cAAc,EAAE,2BAA2B,GAC3C,CACE,CACP;YACD,6BACE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,eAAe,IAAI,MAAM,CAAC,OAAO,EAAE,cAAc,IAAI,MAAM,CAAC,iBAAiB,CAAC,CAAC;gBAE5G,oBAAC,UAAU,IACT,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,qBAAqB,EACtC,gBAAgB,EAAE,iBAAiB,EACnC,WAAW,EAAE,WAAW,EACxB,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,cAAc,GAC9B,CACE,CACF,CACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { useMergeRefs, warnOnce } from '@cloudscape-design/component-toolkit/internal';\nimport { getAnalyticsMetadataAttribute } from '@cloudscape-design/component-toolkit/internal/analytics-metadata';\n\nimport { useInternalI18n } from '../i18n/context';\nimport { FunnelMetrics } from '../internal/analytics';\nimport { useFunnel } from '../internal/analytics/hooks/use-funnel';\nimport {\n DATA_ATTR_FUNNEL_KEY,\n FUNNEL_KEY_FUNNEL_NAME,\n FUNNEL_KEY_STEP_NAME,\n getSubStepAllSelector,\n getTextFromSelector,\n} from '../internal/analytics/selectors';\nimport { getBaseProps } from '../internal/base-component';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useControllable } from '../internal/hooks/use-controllable';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport { useFunnelChangeEvent } from './analytics';\nimport { GeneratedAnalyticsMetadataWizardComponent } from './analytics-metadata/interfaces';\nimport { WizardProps } from './interfaces';\nimport WizardForm, { STEP_NAME_SELECTOR } from './wizard-form';\nimport WizardNavigation from './wizard-navigation';\nimport WizardStepNavigationExpandable from './wizard-step-navigation-expandable';\n\nimport analyticsSelectors from './analytics-metadata/styles.css.js';\nimport styles from './styles.css.js';\n\ntype InternalWizardProps = WizardProps &\n InternalBaseComponentProps & {\n __injectAnalyticsComponentMetadata?: boolean;\n };\n\nexport default function InternalWizard({\n steps,\n activeStepIndex: controlledActiveStepIndex,\n submitButtonText,\n isLoadingNextStep = false,\n allowSkipTo = false,\n customPrimaryActions,\n secondaryActions,\n onCancel,\n onSubmit,\n onNavigate,\n __internalRootRef,\n __injectAnalyticsComponentMetadata = false,\n ...rest\n}: InternalWizardProps) {\n const baseProps = getBaseProps(rest);\n\n const [breakpoint, breakpointsRef] = useContainerBreakpoints(['xs']);\n const ref = useMergeRefs(breakpointsRef, __internalRootRef);\n const smallContainer = breakpoint === 'default';\n\n const [activeStepIndex, setActiveStepIndex] = useControllable(controlledActiveStepIndex, onNavigate, 0, {\n componentName: 'Wizard',\n controlledProp: 'activeStepIndex',\n changeHandler: 'onNavigate',\n });\n const { funnelIdentifier, funnelInteractionId, funnelSubmit, funnelCancel, funnelProps, funnelNextOrSubmitAttempt } =\n useFunnel();\n const actualActiveStepIndex = activeStepIndex ? Math.min(activeStepIndex, steps.length - 1) : 0;\n\n const farthestStepIndex = useRef<number>(actualActiveStepIndex);\n farthestStepIndex.current = Math.max(farthestStepIndex.current, actualActiveStepIndex);\n\n const isVisualRefresh = useVisualRefresh();\n const isLastStep = actualActiveStepIndex >= steps.length - 1;\n\n const [isStepNavigationExpanded, setIsStepNavigationExpanded] = useState(false);\n\n const navigationEvent = (requestedStepIndex: number, reason: WizardProps.NavigationReason) => {\n if (funnelInteractionId) {\n const stepName = getTextFromSelector(STEP_NAME_SELECTOR);\n\n FunnelMetrics.funnelStepNavigation({\n navigationType: reason,\n funnelInteractionId,\n stepNumber: actualActiveStepIndex + 1,\n stepName,\n stepNameSelector: STEP_NAME_SELECTOR,\n destinationStepNumber: requestedStepIndex + 1,\n subStepAllSelector: getSubStepAllSelector(),\n });\n }\n\n setActiveStepIndex(requestedStepIndex);\n fireNonCancelableEvent(onNavigate, { requestedStepIndex, reason });\n };\n const onStepClick = (stepIndex: number) => navigationEvent(stepIndex, 'step');\n const onSkipToClick = (stepIndex: number) => navigationEvent(stepIndex, 'skip');\n const onCancelClick = () => {\n funnelCancel();\n fireNonCancelableEvent(onCancel);\n };\n const onPreviousClick = () => navigationEvent(actualActiveStepIndex - 1, 'previous');\n const onPrimaryClick = () => {\n funnelNextOrSubmitAttempt();\n\n if (isLastStep) {\n funnelSubmit();\n fireNonCancelableEvent(onSubmit);\n } else {\n navigationEvent(actualActiveStepIndex + 1, 'next');\n }\n };\n\n useFunnelChangeEvent(funnelInteractionId, funnelIdentifier, steps);\n\n const i18n = useInternalI18n('wizard');\n const skipToButtonLabel = i18n(\n 'i18nStrings.skipToButtonLabel',\n rest.i18nStrings?.skipToButtonLabel,\n format => task => format({ task__title: task.title })\n );\n\n const i18nStrings: WizardProps.I18nStrings = {\n ...rest.i18nStrings,\n skipToButtonLabel,\n stepNumberLabel: i18n(\n 'i18nStrings.stepNumberLabel',\n rest.i18nStrings?.stepNumberLabel,\n format => stepNumber => format({ stepNumber })\n ),\n collapsedStepsLabel: i18n(\n 'i18nStrings.collapsedStepsLabel',\n rest.i18nStrings?.collapsedStepsLabel,\n format => (stepNumber, stepsCount) => format({ stepNumber, stepsCount })\n ),\n navigationAriaLabel: i18n('i18nStrings.navigationAriaLabel', rest.i18nStrings?.navigationAriaLabel),\n cancelButton: i18n('i18nStrings.cancelButton', rest.i18nStrings?.cancelButton),\n previousButton: i18n('i18nStrings.previousButton', rest.i18nStrings?.previousButton),\n nextButton: i18n('i18nStrings.nextButton', rest.i18nStrings?.nextButton),\n optional: i18n('i18nStrings.optional', rest.i18nStrings?.optional),\n };\n\n if (activeStepIndex && activeStepIndex >= steps.length) {\n warnOnce(\n 'Wizard',\n `You have set \\`activeStepIndex\\` to ${activeStepIndex} but you have provided only ${\n steps.length\n } steps. Its value is ignored and the component uses ${steps.length - 1} instead.`\n );\n }\n\n if (allowSkipTo && !skipToButtonLabel) {\n warnOnce(\n 'Wizard',\n `You have set \\`allowSkipTo\\` but you have not provided \\`i18nStrings.skipToButtonLabel\\`. The skip-to button will not be rendered.`\n );\n }\n\n const componentAnalyticsMetadata: GeneratedAnalyticsMetadataWizardComponent = {\n name: 'awsui.Wizard',\n label: {\n root: 'body',\n selector: `[${DATA_ATTR_FUNNEL_KEY}=\"${FUNNEL_KEY_FUNNEL_NAME}\"]`,\n },\n properties: {\n stepsCount: `${(steps || []).length}`,\n activeStepIndex: `${activeStepIndex}`,\n activeStepLabel: `[${DATA_ATTR_FUNNEL_KEY}=\"${FUNNEL_KEY_STEP_NAME}\"]`,\n ...(rest.analyticsMetadata || {}),\n },\n };\n\n return (\n <div\n {...baseProps}\n {...funnelProps}\n ref={ref}\n className={clsx(styles.root, analyticsSelectors.root, baseProps.className)}\n {...(__injectAnalyticsComponentMetadata\n ? getAnalyticsMetadataAttribute({ component: componentAnalyticsMetadata })\n : {})}\n >\n <div\n className={clsx(styles.wizard, isVisualRefresh && styles.refresh, smallContainer && styles['small-container'])}\n >\n <WizardNavigation\n activeStepIndex={actualActiveStepIndex}\n farthestStepIndex={farthestStepIndex.current}\n allowSkipTo={allowSkipTo}\n hidden={smallContainer}\n i18nStrings={i18nStrings}\n isLoadingNextStep={isLoadingNextStep}\n onStepClick={onStepClick}\n onSkipToClick={onSkipToClick}\n steps={steps}\n />\n {smallContainer && (\n <div className={styles['collapsed-steps']}>\n <WizardStepNavigationExpandable\n activeStepIndex={actualActiveStepIndex}\n farthestStepIndex={farthestStepIndex.current}\n allowSkipTo={allowSkipTo}\n i18nStrings={i18nStrings}\n isLoadingNextStep={isLoadingNextStep}\n onStepClick={onStepClick}\n onSkipToClick={onSkipToClick}\n steps={steps}\n expanded={isStepNavigationExpanded}\n onExpandChange={setIsStepNavigationExpanded}\n />\n </div>\n )}\n <div\n className={clsx(styles.form, isVisualRefresh && styles.refresh, smallContainer && styles['small-container'])}\n >\n <WizardForm\n steps={steps}\n i18nStrings={i18nStrings}\n submitButtonText={submitButtonText}\n activeStepIndex={actualActiveStepIndex}\n isPrimaryLoading={isLoadingNextStep}\n allowSkipTo={allowSkipTo}\n customPrimaryActions={customPrimaryActions}\n secondaryActions={secondaryActions}\n onCancelClick={onCancelClick}\n onPreviousClick={onPreviousClick}\n onSkipToClick={onSkipToClick}\n onPrimaryClick={onPrimaryClick}\n />\n </div>\n </div>\n </div>\n );\n}\n"]}
@@ -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"],"names":[],"mappings":"AAGA,OAAO,KAA8C,MAAM,OAAO,CAAC;AAmBnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAM3C,UAAU,eAAgB,SAAQ,0BAA0B;IAC1D,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC;IACrC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC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