react-wizard-engine 0.1.5 → 0.1.7

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # react-wizard-engine
2
2
 
3
+ ## 0.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Add `outline` variant to `IWizardButtonProps` and the `/shadcn` `defaultButton`. `WizardBack` now uses `variant="outline"` (the original shadcn-style "bordered transparent" look), matching what the package shipped with in the perks.loca.us monorepo source.
8
+
9
+ ## 0.1.6
10
+
11
+ ### Patch Changes
12
+
13
+ - Internal: `pnpm typecheck` now uses `tsconfig.build.json` (excludes spec files), removing jest-dom matcher false positives. Wrap `WizardLayout` in `forwardRef` so refs attach correctly on React 18 (peer dep allows `>=18`). Add `afterEach(cleanup)` to remaining hook/component specs to fix happy-dom test isolation.
14
+
3
15
  ## 0.1.5
4
16
 
5
17
  ### Patch Changes
@@ -87,4 +87,4 @@ function cn(...inputs) {
87
87
 
88
88
 
89
89
  exports.WizardError = WizardError; exports.WizardInitializationError = WizardInitializationError; exports.WizardNavigationError = WizardNavigationError; exports.WizardResolverError = WizardResolverError; exports.WizardComponentsProvider = WizardComponentsProvider; exports.useWizardComponents = useWizardComponents; exports.WizardEngineContext = WizardEngineContext; exports.useWizard = useWizard; exports.cn = cn;
90
- //# sourceMappingURL=chunk-OV74AMBZ.cjs.map
90
+ //# sourceMappingURL=chunk-5BUIFXZY.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/knazark/work/extract-tmp/perks-extract/dist/chunk-5BUIFXZY.cjs","../src/core/errors/wizard.error.ts","../src/react/components-provider.tsx","../src/react/context.ts","../src/react/use-wizard.ts","../src/utils/cn.ts"],"names":["createContext","useContext"],"mappings":"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","file":"/Users/knazark/work/extract-tmp/perks-extract/dist/chunk-5BUIFXZY.cjs","sourcesContent":[null,"export class WizardError extends Error {\n\tpublic override readonly name: string = 'WizardError';\n\n\tconstructor(message?: string) {\n\t\tsuper(message);\n\t\tObject.setPrototypeOf(this, new.target.prototype);\n\t}\n}\n\nexport class WizardInitializationError extends WizardError {\n\tpublic override readonly name: string = 'WizardInitializationError';\n}\n\nexport class WizardNavigationError extends WizardError {\n\tpublic override readonly name: string = 'WizardNavigationError';\n}\n\nexport class WizardResolverError extends WizardError {\n\tpublic override readonly name: string = 'WizardResolverError';\n}\n","'use client';\n\nimport { type ComponentType, createContext, type ReactNode, useContext } from 'react';\n\nexport interface IWizardButtonProps {\n\tasChild?: boolean;\n\tchildren?: ReactNode;\n\tclassName?: string;\n\tdisabled?: boolean;\n\tonClick?: () => void;\n\ttype?: 'button' | 'submit';\n\tvariant?: 'default' | 'ghost' | 'outline';\n\tsize?: 'default' | 'icon-sm';\n\t'aria-label'?: string;\n}\n\nexport interface IWizardBackArrowIconProps {\n\tclassName?: string;\n}\n\nexport interface IWizardComponents {\n\tButton: ComponentType<IWizardButtonProps>;\n\tBackArrowIcon: ComponentType<IWizardBackArrowIconProps>;\n}\n\nconst FallbackButton: ComponentType<IWizardButtonProps> = ({\n\tchildren,\n\tclassName,\n\tdisabled,\n\tonClick,\n\ttype,\n\t'aria-label': ariaLabel,\n}) => (\n\t<button\n\t\taria-label={ariaLabel}\n\t\tclassName={className}\n\t\tdisabled={disabled}\n\t\tonClick={onClick}\n\t\ttype={type ?? 'button'}\n\t>\n\t\t{children}\n\t</button>\n);\n\nconst FallbackBackArrowIcon: ComponentType<IWizardBackArrowIconProps> = ({ className }) => (\n\t<svg className={className} width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden>\n\t\t<path d=\"M10 4 L6 8 L10 12\" stroke=\"currentColor\" strokeWidth=\"1.5\" fill=\"none\" />\n\t</svg>\n);\n\nconst defaults: IWizardComponents = { Button: FallbackButton, BackArrowIcon: FallbackBackArrowIcon };\n\nconst WizardComponentsContext = createContext<IWizardComponents>(defaults);\n\nexport function WizardComponentsProvider(props: {\n\tButton?: ComponentType<IWizardButtonProps>;\n\tBackArrowIcon?: ComponentType<IWizardBackArrowIconProps>;\n\tchildren: ReactNode;\n}) {\n\tconst { Button, BackArrowIcon, children } = props;\n\tconst value: IWizardComponents = {\n\t\tButton: Button ?? defaults.Button,\n\t\tBackArrowIcon: BackArrowIcon ?? defaults.BackArrowIcon,\n\t};\n\treturn <WizardComponentsContext.Provider value={value}>{children}</WizardComponentsContext.Provider>;\n}\n\nexport function useWizardComponents(): IWizardComponents {\n\treturn useContext(WizardComponentsContext);\n}\n","'use client';\n\nimport { createContext } from 'react';\n\nimport type { WizardEngine } from '../core/wizard-engine';\n\n/**\n * React context exposing the active `WizardEngine` instance to descendants.\n * `null` outside a `<WizardProvider>` — `useWizard()` throws a clear error.\n */\nexport const WizardEngineContext = createContext<null | WizardEngine<string, string, string>>(null);\n","'use client';\n\nimport { useContext, useSyncExternalStore } from 'react';\n\nimport type { WizardEngine } from '../core/wizard-engine';\n\nimport { WizardError } from '../core/errors';\nimport { WizardEngineContext } from './context';\n\n/**\n * Returns the active `WizardEngine` instance and re-renders the consumer on\n * every tree change. Throws if used outside a `<WizardProvider>`.\n *\n * Engine identity is stable across renders.\n */\nexport function useWizard<Step extends string, Category extends string, Branch extends string = string>(): WizardEngine<\n\tStep,\n\tCategory,\n\tBranch\n> {\n\tconst engine = useContext(WizardEngineContext) as null | WizardEngine<Step, Category, Branch>;\n\tif (!engine) {\n\t\tthrow new WizardError('useWizard must be used inside <WizardProvider>');\n\t}\n\tuseSyncExternalStore(engine.subscribe, engine.getTreeSnapshot, engine.getTreeSnapshot);\n\treturn engine;\n}\n","import { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]): string {\n return twMerge(clsx(...inputs));\n}\n"]}
@@ -87,4 +87,4 @@ export {
87
87
  useWizard,
88
88
  cn
89
89
  };
90
- //# sourceMappingURL=chunk-NDYZHURP.js.map
90
+ //# sourceMappingURL=chunk-VXJ5MZUG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/core/errors/wizard.error.ts","../src/react/components-provider.tsx","../src/react/context.ts","../src/react/use-wizard.ts","../src/utils/cn.ts"],"sourcesContent":["export class WizardError extends Error {\n\tpublic override readonly name: string = 'WizardError';\n\n\tconstructor(message?: string) {\n\t\tsuper(message);\n\t\tObject.setPrototypeOf(this, new.target.prototype);\n\t}\n}\n\nexport class WizardInitializationError extends WizardError {\n\tpublic override readonly name: string = 'WizardInitializationError';\n}\n\nexport class WizardNavigationError extends WizardError {\n\tpublic override readonly name: string = 'WizardNavigationError';\n}\n\nexport class WizardResolverError extends WizardError {\n\tpublic override readonly name: string = 'WizardResolverError';\n}\n","'use client';\n\nimport { type ComponentType, createContext, type ReactNode, useContext } from 'react';\n\nexport interface IWizardButtonProps {\n\tasChild?: boolean;\n\tchildren?: ReactNode;\n\tclassName?: string;\n\tdisabled?: boolean;\n\tonClick?: () => void;\n\ttype?: 'button' | 'submit';\n\tvariant?: 'default' | 'ghost' | 'outline';\n\tsize?: 'default' | 'icon-sm';\n\t'aria-label'?: string;\n}\n\nexport interface IWizardBackArrowIconProps {\n\tclassName?: string;\n}\n\nexport interface IWizardComponents {\n\tButton: ComponentType<IWizardButtonProps>;\n\tBackArrowIcon: ComponentType<IWizardBackArrowIconProps>;\n}\n\nconst FallbackButton: ComponentType<IWizardButtonProps> = ({\n\tchildren,\n\tclassName,\n\tdisabled,\n\tonClick,\n\ttype,\n\t'aria-label': ariaLabel,\n}) => (\n\t<button\n\t\taria-label={ariaLabel}\n\t\tclassName={className}\n\t\tdisabled={disabled}\n\t\tonClick={onClick}\n\t\ttype={type ?? 'button'}\n\t>\n\t\t{children}\n\t</button>\n);\n\nconst FallbackBackArrowIcon: ComponentType<IWizardBackArrowIconProps> = ({ className }) => (\n\t<svg className={className} width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden>\n\t\t<path d=\"M10 4 L6 8 L10 12\" stroke=\"currentColor\" strokeWidth=\"1.5\" fill=\"none\" />\n\t</svg>\n);\n\nconst defaults: IWizardComponents = { Button: FallbackButton, BackArrowIcon: FallbackBackArrowIcon };\n\nconst WizardComponentsContext = createContext<IWizardComponents>(defaults);\n\nexport function WizardComponentsProvider(props: {\n\tButton?: ComponentType<IWizardButtonProps>;\n\tBackArrowIcon?: ComponentType<IWizardBackArrowIconProps>;\n\tchildren: ReactNode;\n}) {\n\tconst { Button, BackArrowIcon, children } = props;\n\tconst value: IWizardComponents = {\n\t\tButton: Button ?? defaults.Button,\n\t\tBackArrowIcon: BackArrowIcon ?? defaults.BackArrowIcon,\n\t};\n\treturn <WizardComponentsContext.Provider value={value}>{children}</WizardComponentsContext.Provider>;\n}\n\nexport function useWizardComponents(): IWizardComponents {\n\treturn useContext(WizardComponentsContext);\n}\n","'use client';\n\nimport { createContext } from 'react';\n\nimport type { WizardEngine } from '../core/wizard-engine';\n\n/**\n * React context exposing the active `WizardEngine` instance to descendants.\n * `null` outside a `<WizardProvider>` — `useWizard()` throws a clear error.\n */\nexport const WizardEngineContext = createContext<null | WizardEngine<string, string, string>>(null);\n","'use client';\n\nimport { useContext, useSyncExternalStore } from 'react';\n\nimport type { WizardEngine } from '../core/wizard-engine';\n\nimport { WizardError } from '../core/errors';\nimport { WizardEngineContext } from './context';\n\n/**\n * Returns the active `WizardEngine` instance and re-renders the consumer on\n * every tree change. Throws if used outside a `<WizardProvider>`.\n *\n * Engine identity is stable across renders.\n */\nexport function useWizard<Step extends string, Category extends string, Branch extends string = string>(): WizardEngine<\n\tStep,\n\tCategory,\n\tBranch\n> {\n\tconst engine = useContext(WizardEngineContext) as null | WizardEngine<Step, Category, Branch>;\n\tif (!engine) {\n\t\tthrow new WizardError('useWizard must be used inside <WizardProvider>');\n\t}\n\tuseSyncExternalStore(engine.subscribe, engine.getTreeSnapshot, engine.getTreeSnapshot);\n\treturn engine;\n}\n","import { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]): string {\n return twMerge(clsx(...inputs));\n}\n"],"mappings":";;;AAAO,IAAM,cAAN,cAA0B,MAAM;AAAA,EACb,OAAe;AAAA,EAExC,YAAY,SAAkB;AAC7B,UAAM,OAAO;AACb,WAAO,eAAe,MAAM,WAAW,SAAS;AAAA,EACjD;AACD;AAEO,IAAM,4BAAN,cAAwC,YAAY;AAAA,EACjC,OAAe;AACzC;AAEO,IAAM,wBAAN,cAAoC,YAAY;AAAA,EAC7B,OAAe;AACzC;AAEO,IAAM,sBAAN,cAAkC,YAAY;AAAA,EAC3B,OAAe;AACzC;;;ACjBA,SAA6B,eAA+B,kBAAkB;AA+B7E;AARD,IAAM,iBAAoD,CAAC;AAAA,EAC1D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,cAAc;AACf,MACC;AAAA,EAAC;AAAA;AAAA,IACA,cAAY;AAAA,IACZ;AAAA,IACA;AAAA,IACA;AAAA,IACA,MAAM,QAAQ;AAAA,IAEb;AAAA;AACF;AAGD,IAAM,wBAAkE,CAAC,EAAE,UAAU,MACpF,oBAAC,SAAI,WAAsB,OAAM,MAAK,QAAO,MAAK,SAAQ,aAAY,MAAK,gBAAe,eAAW,MACpG,8BAAC,UAAK,GAAE,qBAAoB,QAAO,gBAAe,aAAY,OAAM,MAAK,QAAO,GACjF;AAGD,IAAM,WAA8B,EAAE,QAAQ,gBAAgB,eAAe,sBAAsB;AAEnG,IAAM,0BAA0B,cAAiC,QAAQ;AAElE,SAAS,yBAAyB,OAItC;AACF,QAAM,EAAE,QAAQ,eAAe,SAAS,IAAI;AAC5C,QAAM,QAA2B;AAAA,IAChC,QAAQ,UAAU,SAAS;AAAA,IAC3B,eAAe,iBAAiB,SAAS;AAAA,EAC1C;AACA,SAAO,oBAAC,wBAAwB,UAAxB,EAAiC,OAAe,UAAS;AAClE;AAEO,SAAS,sBAAyC;AACxD,SAAO,WAAW,uBAAuB;AAC1C;;;ACnEA,SAAS,iBAAAA,sBAAqB;AAQvB,IAAM,sBAAsBA,eAA2D,IAAI;;;ACRlG,SAAS,cAAAC,aAAY,4BAA4B;AAa1C,SAAS,YAId;AACD,QAAM,SAASC,YAAW,mBAAmB;AAC7C,MAAI,CAAC,QAAQ;AACZ,UAAM,IAAI,YAAY,gDAAgD;AAAA,EACvE;AACA,uBAAqB,OAAO,WAAW,OAAO,iBAAiB,OAAO,eAAe;AACrF,SAAO;AACR;;;AC1BA,SAAS,YAA6B;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAA8B;AAClD,SAAO,QAAQ,KAAK,GAAG,MAAM,CAAC;AAChC;","names":["createContext","useContext","useContext"]}
@@ -8,7 +8,7 @@ interface IWizardButtonProps {
8
8
  disabled?: boolean;
9
9
  onClick?: () => void;
10
10
  type?: 'button' | 'submit';
11
- variant?: 'default' | 'ghost';
11
+ variant?: 'default' | 'ghost' | 'outline';
12
12
  size?: 'default' | 'icon-sm';
13
13
  'aria-label'?: string;
14
14
  }
@@ -8,7 +8,7 @@ interface IWizardButtonProps {
8
8
  disabled?: boolean;
9
9
  onClick?: () => void;
10
10
  type?: 'button' | 'submit';
11
- variant?: 'default' | 'ghost';
11
+ variant?: 'default' | 'ghost' | 'outline';
12
12
  size?: 'default' | 'icon-sm';
13
13
  'aria-label'?: string;
14
14
  }
package/dist/index.cjs CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkOV74AMBZcjs = require('./chunk-OV74AMBZ.cjs');
12
+ var _chunk5BUIFXZYcjs = require('./chunk-5BUIFXZY.cjs');
13
13
 
14
14
  // src/enums/wizard-event-type.enum.ts
15
15
  var WizardEventType = /* @__PURE__ */ ((WizardEventType2) => {
@@ -229,7 +229,7 @@ var WizardRule = class {
229
229
  var WizardActiveStepRule = class extends WizardRule {
230
230
  verify({ lastActiveStep }) {
231
231
  if (!lastActiveStep) {
232
- throw new (0, _chunkOV74AMBZcjs.WizardError)("[WizardActiveStepRule]: There are no available active step in tree state.");
232
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)("[WizardActiveStepRule]: There are no available active step in tree state.");
233
233
  }
234
234
  }
235
235
  };
@@ -241,7 +241,7 @@ var WizardPassedPrevCategoriesRule = class extends WizardRule {
241
241
  const hasUnpassedPrevCategories = prevCategories.some((prevCategory) => !prevCategory.isPassed);
242
242
  if (hasUnpassedPrevCategories) {
243
243
  const prevCategoryNames = prevCategories.map((prevCategory) => prevCategory.id).join(",");
244
- throw new (0, _chunkOV74AMBZcjs.WizardError)(
244
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)(
245
245
  `[WizardPassedPrevCategoriesRule]: Active category "${activeCategory.id}" has neither completed nor skipped prev categories. Please, skip or complete categories: "${prevCategoryNames}".`
246
246
  );
247
247
  }
@@ -255,7 +255,7 @@ var WizardPassedPrevStepsRule = class extends WizardRule {
255
255
  const prevUnpassedSteps = prevSteps.filter((prevStep) => !prevStep.isCompleted && !prevStep.isSkipped);
256
256
  if (prevUnpassedSteps.length) {
257
257
  const prevStepNames = prevUnpassedSteps.map((prevStep) => prevStep.id).join(",");
258
- throw new (0, _chunkOV74AMBZcjs.WizardError)(
258
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)(
259
259
  `[WizardPassedPrevStepsRule]: Last active step "${activeCategory.lastActiveStep.id}" has not completed steps before. Please, complete or hide steps: "${prevStepNames}".`
260
260
  );
261
261
  }
@@ -266,7 +266,7 @@ var WizardPassedPrevStepsRule = class extends WizardRule {
266
266
  var WizardShownActiveCategoryRule = class extends WizardRule {
267
267
  verify({ activeCategory }) {
268
268
  if (!activeCategory.isShow) {
269
- throw new (0, _chunkOV74AMBZcjs.WizardError)(
269
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)(
270
270
  `[WizardShownActiveCategoryRule]: Active category is hidden. Please, show category "${activeCategory.id}" to be able to activate it.`
271
271
  );
272
272
  }
@@ -278,7 +278,7 @@ var WizardSingleActiveCategoryRule = class extends WizardRule {
278
278
  verify({ activeBranch }) {
279
279
  if (activeBranch.activeCategories.length > 1) {
280
280
  const activeCategoryNames = activeBranch.activeCategories.map((c) => c.id).join(",");
281
- throw new (0, _chunkOV74AMBZcjs.WizardError)(
281
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)(
282
282
  `[WizardSingleActiveCategoryRule]: There are 2 active categories at the same time: ${activeCategoryNames}.`
283
283
  );
284
284
  }
@@ -659,7 +659,7 @@ var WizardInitializerService = class {
659
659
  if (!activeBranch) return;
660
660
  if (!htmlTree.branchMap[activeBranch]) {
661
661
  const branchIds = htmlTree.branches.map((branch) => branch.id).join(",");
662
- throw new (0, _chunkOV74AMBZcjs.WizardError)(
662
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)(
663
663
  `[WizardInitializerService02]: There is no branch with id "${activeBranch}". List of available branches: ${branchIds}.`
664
664
  );
665
665
  }
@@ -672,7 +672,7 @@ var WizardInitializerService = class {
672
672
  else seen.add(s.id);
673
673
  }
674
674
  if (duplicates.length > 0) {
675
- throw new (0, _chunkOV74AMBZcjs.WizardInitializationError)(
675
+ throw new (0, _chunk5BUIFXZYcjs.WizardInitializationError)(
676
676
  `[WizardInitializerService01]: There are steps with the same ID: ${duplicates.join(",")}.`
677
677
  );
678
678
  }
@@ -841,7 +841,7 @@ var WizardNavigationService = (_class17 = class {
841
841
  if (this.isAbortReason(e, abort.signal)) {
842
842
  return false;
843
843
  }
844
- if (e instanceof _chunkOV74AMBZcjs.WizardResolverError) {
844
+ if (e instanceof _chunk5BUIFXZYcjs.WizardResolverError) {
845
845
  this.emitter.emit(new WizardNavigationCancelledEvent(navigation, "resolver"));
846
846
  return false;
847
847
  }
@@ -931,7 +931,7 @@ var WizardNavigationService = (_class17 = class {
931
931
  const result = await Promise.race([Promise.resolve(resolver(navigation)), abortPromise]);
932
932
  if (signal.aborted) throw new DOMException("aborted", "AbortError");
933
933
  if (!result) {
934
- throw new (0, _chunkOV74AMBZcjs.WizardResolverError)(`Resolver rejected navigation ${navigation.id}`);
934
+ throw new (0, _chunk5BUIFXZYcjs.WizardResolverError)(`Resolver rejected navigation ${navigation.id}`);
935
935
  }
936
936
  }
937
937
  isAbortReason(error, signal) {
@@ -1001,7 +1001,7 @@ var WizardStateService = class {
1001
1001
  const toCategoryIndex = toCategoryBranch.getShownCategoryIndex(toCategory);
1002
1002
  const activeCategoryIndex = toCategoryBranch.getShownCategoryIndex(activeCategory);
1003
1003
  if (activeBranch !== toCategoryBranch && toCategoryIndex > activeCategoryIndex) {
1004
- throw new (0, _chunkOV74AMBZcjs.WizardError)(
1004
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)(
1005
1005
  `[State02]: Trying to switch to category "${categoryId}" in different branch "${toCategoryBranch.id}" from current active branch "${activeBranch.id}", but new category has uncompleted prev category in new branch.`
1006
1006
  );
1007
1007
  }
@@ -1038,7 +1038,7 @@ var WizardStateService = class {
1038
1038
  const nextCategory = nextBranch.nextCategory;
1039
1039
  const nextStep = activeCategory.nextStep;
1040
1040
  if (activeBranch.activeCategory !== nextBranch.activeCategory) {
1041
- throw new (0, _chunkOV74AMBZcjs.WizardError)(
1041
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)(
1042
1042
  `[State01]: In order to move to the "${branch}" branch, you need to have common category between 2 branches`
1043
1043
  );
1044
1044
  }
@@ -1063,7 +1063,7 @@ var WizardStateService = class {
1063
1063
  const activeStep = activeCategory.lastActiveStep;
1064
1064
  const nextCategory = nextBranch.nextCategory;
1065
1065
  if (activeBranch.activeCategory !== nextBranch.activeCategory) {
1066
- throw new (0, _chunkOV74AMBZcjs.WizardError)(
1066
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)(
1067
1067
  `[State01]: In order to move to the "${branch}" branch, you need to have common category between 2 branches`
1068
1068
  );
1069
1069
  }
@@ -1381,7 +1381,7 @@ var WizardLog = class {
1381
1381
  }
1382
1382
 
1383
1383
  error(e) {
1384
- if (!(e instanceof _chunkOV74AMBZcjs.WizardError)) {
1384
+ if (!(e instanceof _chunk5BUIFXZYcjs.WizardError)) {
1385
1385
  console.error(e);
1386
1386
  return;
1387
1387
  }
@@ -1422,7 +1422,7 @@ var WizardStore = (_class20 = class {
1422
1422
  }
1423
1423
  getTreeSnapshot() {
1424
1424
  if (!this.current) {
1425
- throw new (0, _chunkOV74AMBZcjs.WizardInitializationError)("[WizardStore] getTreeSnapshot called before init");
1425
+ throw new (0, _chunk5BUIFXZYcjs.WizardInitializationError)("[WizardStore] getTreeSnapshot called before init");
1426
1426
  }
1427
1427
  return this.current;
1428
1428
  }
@@ -1440,7 +1440,7 @@ var WizardStore = (_class20 = class {
1440
1440
  setState(tree) {
1441
1441
  if (this.disposed) return;
1442
1442
  if (!this.initialTree) {
1443
- throw new (0, _chunkOV74AMBZcjs.WizardInitializationError)("[WizardStore] setState called before init");
1443
+ throw new (0, _chunk5BUIFXZYcjs.WizardInitializationError)("[WizardStore] setState called before init");
1444
1444
  }
1445
1445
  if (this.current === tree) return;
1446
1446
  this.current = tree;
@@ -1690,7 +1690,7 @@ var WizardCategoryDirection = /* @__PURE__ */ ((WizardCategoryDirection2) => {
1690
1690
  var _reactslot = require('@radix-ui/react-slot');
1691
1691
  var _jsxruntime = require('react/jsx-runtime');
1692
1692
  function WizardActionButton(props) {
1693
- const { Button } = _chunkOV74AMBZcjs.useWizardComponents.call(void 0, );
1693
+ const { Button } = _chunk5BUIFXZYcjs.useWizardComponents.call(void 0, );
1694
1694
  if (props.asChild) {
1695
1695
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactslot.Slot, { className: props.className, onClick: props.onClick, children: props.children });
1696
1696
  }
@@ -1700,7 +1700,7 @@ function WizardActionButton(props) {
1700
1700
  // src/react/components/wizard-back.tsx
1701
1701
 
1702
1702
  function WizardBack(props) {
1703
- const wizard = _chunkOV74AMBZcjs.useWizard.call(void 0, );
1703
+ const wizard = _chunk5BUIFXZYcjs.useWizard.call(void 0, );
1704
1704
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1705
1705
  WizardActionButton,
1706
1706
  {
@@ -1708,7 +1708,7 @@ function WizardBack(props) {
1708
1708
  className: props.className,
1709
1709
  defaultLabel: _nullishCoalesce(wizard.configOptions.backBtnText, () => ( "Back")),
1710
1710
  onClick: () => void wizard.back(),
1711
- variant: "ghost",
1711
+ variant: "outline",
1712
1712
  children: props.children
1713
1713
  }
1714
1714
  );
@@ -1717,7 +1717,7 @@ function WizardBack(props) {
1717
1717
  // src/react/components/wizard-category.tsx
1718
1718
 
1719
1719
  function WizardCategory(props) {
1720
- const wizard = _chunkOV74AMBZcjs.useWizard.call(void 0, );
1720
+ const wizard = _chunk5BUIFXZYcjs.useWizard.call(void 0, );
1721
1721
  if (wizard.tree.activeCategory.id !== props.categoryId) return null;
1722
1722
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: props.children });
1723
1723
  }
@@ -1734,7 +1734,7 @@ function WizardStepperDot(props) {
1734
1734
  {
1735
1735
  "aria-current": state === "active" ? "step" : void 0,
1736
1736
  "aria-label": _nullishCoalesce(label, () => ( state)),
1737
- className: _chunkOV74AMBZcjs.cn.call(void 0,
1737
+ className: _chunk5BUIFXZYcjs.cn.call(void 0,
1738
1738
  "relative flex size-3 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
1739
1739
  state === "pending" && "border-border bg-background",
1740
1740
  state === "active" && "border-success-text bg-success-text ring-2 ring-success-border/40 ring-offset-2 ring-offset-background",
@@ -1759,7 +1759,7 @@ function WizardStepperDot(props) {
1759
1759
  label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1760
1760
  "span",
1761
1761
  {
1762
- className: _chunkOV74AMBZcjs.cn.call(void 0,
1762
+ className: _chunk5BUIFXZYcjs.cn.call(void 0,
1763
1763
  "absolute -top-6 left-0 -translate-x-[calc(50%-0.375rem)] text-sm font-semibold whitespace-nowrap",
1764
1764
  state === "active" && "text-success-text",
1765
1765
  state !== "active" && "text-muted-foreground"
@@ -1805,7 +1805,7 @@ function getDotState(category, progress) {
1805
1805
  // src/react/components/wizard-header.tsx
1806
1806
 
1807
1807
  function WizardHeader() {
1808
- const wizard = _chunkOV74AMBZcjs.useWizard.call(void 0, );
1808
+ const wizard = _chunk5BUIFXZYcjs.useWizard.call(void 0, );
1809
1809
  const tree = wizard.tree;
1810
1810
  const config = wizard.configOptions;
1811
1811
  if (!config.isShowWizardHeader) return null;
@@ -1836,7 +1836,7 @@ function WizardHeader() {
1836
1836
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1837
1837
  "header",
1838
1838
  {
1839
- className: _chunkOV74AMBZcjs.cn.call(void 0,
1839
+ className: _chunk5BUIFXZYcjs.cn.call(void 0,
1840
1840
  "relative mb-8 flex items-center gap-4 border-b border-border bg-background px-4 py-3",
1841
1841
  config.stickyHeader && "sticky top-0 z-10"
1842
1842
  ),
@@ -1861,7 +1861,7 @@ function WizardHeader() {
1861
1861
  // src/react/components/wizard-next.tsx
1862
1862
 
1863
1863
  function WizardNext(props) {
1864
- const wizard = _chunkOV74AMBZcjs.useWizard.call(void 0, );
1864
+ const wizard = _chunk5BUIFXZYcjs.useWizard.call(void 0, );
1865
1865
  const defaultLabel = !props.asChild && props.children === void 0 ? getNextLabel(wizard) : "";
1866
1866
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1867
1867
  WizardActionButton,
@@ -1891,7 +1891,7 @@ function getNextLabel(wizard) {
1891
1891
  // src/react/hooks/use-wizard-categories-view.ts
1892
1892
  var EMPTY_SUB_STEPS = [];
1893
1893
  function useWizardCategoriesView() {
1894
- const wizard = _chunkOV74AMBZcjs.useWizard.call(void 0, );
1894
+ const wizard = _chunk5BUIFXZYcjs.useWizard.call(void 0, );
1895
1895
  return wizard.tree.activeBranch.shownCategories.map((category) => projectCategory(category));
1896
1896
  }
1897
1897
  function getCategoryState(category) {
@@ -1915,11 +1915,11 @@ function projectCategory(category) {
1915
1915
 
1916
1916
  function WizardRail(props) {
1917
1917
  const { canAccessCategory, className, headerI18n, subStepLabels } = props;
1918
- const wizard = _chunkOV74AMBZcjs.useWizard.call(void 0, );
1918
+ const wizard = _chunk5BUIFXZYcjs.useWizard.call(void 0, );
1919
1919
  const view = useWizardCategoriesView();
1920
1920
  const labels = _nullishCoalesce(headerI18n, () => ( wizard.configOptions.headerI18n));
1921
1921
  const isClickable = (category) => _nullishCoalesce(_optionalChain([canAccessCategory, 'optionalCall', _39 => _39(category)]), () => ( defaultClickable(category.state)));
1922
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Wizard steps", className: _chunkOV74AMBZcjs.cn.call(void 0, "flex flex-col gap-1", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { className: "relative flex flex-col gap-1", children: view.map((category, idx) => {
1922
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Wizard steps", className: _chunk5BUIFXZYcjs.cn.call(void 0, "flex flex-col gap-1", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { className: "relative flex flex-col gap-1", children: view.map((category, idx) => {
1923
1923
  const label = _nullishCoalesce(_optionalChain([labels, 'optionalAccess', _40 => _40[category.id]]), () => ( String(category.id)));
1924
1924
  const clickable = isClickable(category);
1925
1925
  const isLast = idx === view.length - 1;
@@ -1929,7 +1929,7 @@ function WizardRail(props) {
1929
1929
  "span",
1930
1930
  {
1931
1931
  "aria-hidden": true,
1932
- className: _chunkOV74AMBZcjs.cn.call(void 0,
1932
+ className: _chunk5BUIFXZYcjs.cn.call(void 0,
1933
1933
  "pointer-events-none absolute top-7 -bottom-2 left-5 w-px -translate-x-1/2 transition-colors duration-200",
1934
1934
  isPassed ? "bg-success-border" : "bg-border"
1935
1935
  )
@@ -1939,7 +1939,7 @@ function WizardRail(props) {
1939
1939
  "button",
1940
1940
  {
1941
1941
  "aria-current": category.isActive ? "step" : void 0,
1942
- className: _chunkOV74AMBZcjs.cn.call(void 0,
1942
+ className: _chunk5BUIFXZYcjs.cn.call(void 0,
1943
1943
  "group flex w-full items-center gap-3 rounded-md px-3 py-2 text-left text-sm font-medium transition-[color,background-color,transform] duration-200 ease-(--ease-out-strong)",
1944
1944
  category.state === "active" && "bg-success-bg/60 text-success-text",
1945
1945
  category.state === "completed" && "text-foreground",
@@ -1963,7 +1963,7 @@ function WizardRail(props) {
1963
1963
  "li",
1964
1964
  {
1965
1965
  "aria-current": step.isActive ? "step" : void 0,
1966
- className: _chunkOV74AMBZcjs.cn.call(void 0,
1966
+ className: _chunk5BUIFXZYcjs.cn.call(void 0,
1967
1967
  "rounded px-2 py-1 text-sm",
1968
1968
  step.isActive ? "text-success-text font-medium" : "text-muted-foreground"
1969
1969
  ),
@@ -1982,7 +1982,7 @@ function RailDot({ state }) {
1982
1982
  "span",
1983
1983
  {
1984
1984
  "aria-hidden": true,
1985
- className: _chunkOV74AMBZcjs.cn.call(void 0,
1985
+ className: _chunk5BUIFXZYcjs.cn.call(void 0,
1986
1986
  "flex size-4 shrink-0 items-center justify-center rounded-full border-2 transition-colors",
1987
1987
  state === "pending" && "border-border bg-background",
1988
1988
  state === "active" && "border-success-border bg-success-bg",
@@ -1998,9 +1998,9 @@ function RailDot({ state }) {
1998
1998
  var _react = require('react');
1999
1999
 
2000
2000
  function WizardStep(props) {
2001
- const engine = _react.useContext.call(void 0, _chunkOV74AMBZcjs.WizardEngineContext);
2001
+ const engine = _react.useContext.call(void 0, _chunk5BUIFXZYcjs.WizardEngineContext);
2002
2002
  if (!engine) {
2003
- throw new (0, _chunkOV74AMBZcjs.WizardError)("WizardStep must be used inside <WizardProvider>");
2003
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)("WizardStep must be used inside <WizardProvider>");
2004
2004
  }
2005
2005
  const getSnapshot = _react.useCallback.call(void 0, () => engine.isStepVisible(props.id), [engine, props.id]);
2006
2006
  const isVisible = _react.useSyncExternalStore.call(void 0, engine.subscribe, getSnapshot, getSnapshot);
@@ -2045,7 +2045,7 @@ function WizardProvider(props) {
2045
2045
  if (!engine) {
2046
2046
  return null;
2047
2047
  }
2048
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOV74AMBZcjs.WizardEngineContext.Provider, { value: engine, children });
2048
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5BUIFXZYcjs.WizardEngineContext.Provider, { value: engine, children });
2049
2049
  }
2050
2050
 
2051
2051
  // src/react/use-wizard-engine-ref.ts
@@ -2056,7 +2056,7 @@ function useWizardEngineRef() {
2056
2056
  function WizardEngineRefCapture({
2057
2057
  engineRef
2058
2058
  }) {
2059
- const wizard = _chunkOV74AMBZcjs.useWizard.call(void 0, );
2059
+ const wizard = _chunk5BUIFXZYcjs.useWizard.call(void 0, );
2060
2060
  _react.useEffect.call(void 0, () => {
2061
2061
  engineRef.current = wizard;
2062
2062
  return () => {
@@ -2069,9 +2069,9 @@ function WizardEngineRefCapture({
2069
2069
  // src/react/use-wizard-event.ts
2070
2070
 
2071
2071
  function useWizardEvent(type, handler) {
2072
- const engine = _react.useContext.call(void 0, _chunkOV74AMBZcjs.WizardEngineContext);
2072
+ const engine = _react.useContext.call(void 0, _chunk5BUIFXZYcjs.WizardEngineContext);
2073
2073
  if (!engine) {
2074
- throw new (0, _chunkOV74AMBZcjs.WizardError)("useWizardEvent must be used inside <WizardProvider>");
2074
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)("useWizardEvent must be used inside <WizardProvider>");
2075
2075
  }
2076
2076
  const handlerRef = _react.useRef.call(void 0, handler);
2077
2077
  _react.useEffect.call(void 0, () => {
@@ -2085,9 +2085,9 @@ function useWizardEvent(type, handler) {
2085
2085
  // src/react/use-wizard-step.ts
2086
2086
 
2087
2087
  function useWizardStep(stepId) {
2088
- const engine = _react.useContext.call(void 0, _chunkOV74AMBZcjs.WizardEngineContext);
2088
+ const engine = _react.useContext.call(void 0, _chunk5BUIFXZYcjs.WizardEngineContext);
2089
2089
  if (!engine) {
2090
- throw new (0, _chunkOV74AMBZcjs.WizardError)("useWizardStep must be used inside <WizardProvider>");
2090
+ throw new (0, _chunk5BUIFXZYcjs.WizardError)("useWizardStep must be used inside <WizardProvider>");
2091
2091
  }
2092
2092
  const lastRef = _react.useRef.call(void 0, null);
2093
2093
  const getSnapshot = _react.useCallback.call(void 0, () => {
@@ -2185,5 +2185,5 @@ function useWizardStep(stepId) {
2185
2185
 
2186
2186
 
2187
2187
 
2188
- exports.TypedEmitter = TypedEmitter; exports.WizardActiveProgressStrategy = WizardActiveProgressStrategy; exports.WizardActiveStepRule = WizardActiveStepRule; exports.WizardBack = WizardBack; exports.WizardCategory = WizardCategory; exports.WizardCategoryDirection = WizardCategoryDirection; exports.WizardCompleteEvent = WizardCompleteEvent; exports.WizardCompleteTreeState = WizardCompleteTreeState; exports.WizardComponentsProvider = _chunkOV74AMBZcjs.WizardComponentsProvider; exports.WizardConfig = WizardConfig; exports.WizardDefaultInitializer = WizardDefaultInitializer; exports.WizardDefaultVisibilityStrategy = WizardDefaultVisibilityStrategy; exports.WizardEngine = WizardEngine; exports.WizardEngineContext = _chunkOV74AMBZcjs.WizardEngineContext; exports.WizardEngineRefCapture = WizardEngineRefCapture; exports.WizardError = _chunkOV74AMBZcjs.WizardError; exports.WizardEvent = WizardEvent; exports.WizardEventType = WizardEventType; exports.WizardExitEvent = WizardExitEvent; exports.WizardExitTreeState = WizardExitTreeState; exports.WizardHeader = WizardHeader; exports.WizardInitializationError = _chunkOV74AMBZcjs.WizardInitializationError; exports.WizardInitializer = WizardInitializer; exports.WizardInitializerService = WizardInitializerService; exports.WizardLastActiveVisibilityStrategy = WizardLastActiveVisibilityStrategy; exports.WizardListener = WizardListener; exports.WizardLog = WizardLog; exports.WizardNavigation = WizardNavigation; exports.WizardNavigationCancelledEvent = WizardNavigationCancelledEvent; exports.WizardNavigationEndEvent = WizardNavigationEndEvent; exports.WizardNavigationError = _chunkOV74AMBZcjs.WizardNavigationError; exports.WizardNavigationErrorEvent = WizardNavigationErrorEvent; exports.WizardNavigationIgnoredEvent = WizardNavigationIgnoredEvent; exports.WizardNavigationService = WizardNavigationService; exports.WizardNavigationStartEvent = WizardNavigationStartEvent; exports.WizardNext = WizardNext; exports.WizardPassedPrevCategoriesRule = WizardPassedPrevCategoriesRule; exports.WizardPassedPrevStepsRule = WizardPassedPrevStepsRule; exports.WizardProgressStrategy = WizardProgressStrategy; exports.WizardProvider = WizardProvider; exports.WizardRail = WizardRail; exports.WizardResolveEndEvent = WizardResolveEndEvent; exports.WizardResolveStartEvent = WizardResolveStartEvent; exports.WizardResolverError = _chunkOV74AMBZcjs.WizardResolverError; exports.WizardRule = WizardRule; exports.WizardScrollEndEvent = WizardScrollEndEvent; exports.WizardScrollStartEvent = WizardScrollStartEvent; exports.WizardScrollStrategy = WizardScrollStrategy; exports.WizardShownActiveCategoryRule = WizardShownActiveCategoryRule; exports.WizardSingleActiveCategoryRule = WizardSingleActiveCategoryRule; exports.WizardSmoothScrollStrategy = WizardSmoothScrollStrategy; exports.WizardStateService = WizardStateService; exports.WizardStep = WizardStep; exports.WizardStepHideEvent = WizardStepHideEvent; exports.WizardStepShowEvent = WizardStepShowEvent; exports.WizardStepper = WizardStepper; exports.WizardStepperDot = WizardStepperDot; exports.WizardStore = WizardStore; exports.WizardTreeStateBuilder = WizardTreeStateBuilder; exports.WizardVisibilityStrategy = WizardVisibilityStrategy; exports.buildWizardBranchState = buildWizardBranchState; exports.buildWizardCategoryState = buildWizardCategoryState; exports.buildWizardTreeState = buildWizardTreeState; exports.composeWizardProviders = composeWizardProviders; exports.scrollToStep = scrollToStep; exports.useWizard = _chunkOV74AMBZcjs.useWizard; exports.useWizardCategoriesView = useWizardCategoriesView; exports.useWizardComponents = _chunkOV74AMBZcjs.useWizardComponents; exports.useWizardEngineRef = useWizardEngineRef; exports.useWizardEvent = useWizardEvent; exports.useWizardStep = useWizardStep; exports.withConfig = withConfig; exports.withInitializer = withInitializer; exports.withListener = withListener; exports.withProgressStrategy = withProgressStrategy; exports.withScrollContainer = withScrollContainer; exports.withScrollStrategy = withScrollStrategy; exports.withVisibilityStrategy = withVisibilityStrategy; exports.wizardDefaultBranch = wizardDefaultBranch; exports.wizardDefaultConfig = wizardDefaultConfig; exports.wizardDefaultState = wizardDefaultState; exports.wizardRules = wizardRules;
2188
+ exports.TypedEmitter = TypedEmitter; exports.WizardActiveProgressStrategy = WizardActiveProgressStrategy; exports.WizardActiveStepRule = WizardActiveStepRule; exports.WizardBack = WizardBack; exports.WizardCategory = WizardCategory; exports.WizardCategoryDirection = WizardCategoryDirection; exports.WizardCompleteEvent = WizardCompleteEvent; exports.WizardCompleteTreeState = WizardCompleteTreeState; exports.WizardComponentsProvider = _chunk5BUIFXZYcjs.WizardComponentsProvider; exports.WizardConfig = WizardConfig; exports.WizardDefaultInitializer = WizardDefaultInitializer; exports.WizardDefaultVisibilityStrategy = WizardDefaultVisibilityStrategy; exports.WizardEngine = WizardEngine; exports.WizardEngineContext = _chunk5BUIFXZYcjs.WizardEngineContext; exports.WizardEngineRefCapture = WizardEngineRefCapture; exports.WizardError = _chunk5BUIFXZYcjs.WizardError; exports.WizardEvent = WizardEvent; exports.WizardEventType = WizardEventType; exports.WizardExitEvent = WizardExitEvent; exports.WizardExitTreeState = WizardExitTreeState; exports.WizardHeader = WizardHeader; exports.WizardInitializationError = _chunk5BUIFXZYcjs.WizardInitializationError; exports.WizardInitializer = WizardInitializer; exports.WizardInitializerService = WizardInitializerService; exports.WizardLastActiveVisibilityStrategy = WizardLastActiveVisibilityStrategy; exports.WizardListener = WizardListener; exports.WizardLog = WizardLog; exports.WizardNavigation = WizardNavigation; exports.WizardNavigationCancelledEvent = WizardNavigationCancelledEvent; exports.WizardNavigationEndEvent = WizardNavigationEndEvent; exports.WizardNavigationError = _chunk5BUIFXZYcjs.WizardNavigationError; exports.WizardNavigationErrorEvent = WizardNavigationErrorEvent; exports.WizardNavigationIgnoredEvent = WizardNavigationIgnoredEvent; exports.WizardNavigationService = WizardNavigationService; exports.WizardNavigationStartEvent = WizardNavigationStartEvent; exports.WizardNext = WizardNext; exports.WizardPassedPrevCategoriesRule = WizardPassedPrevCategoriesRule; exports.WizardPassedPrevStepsRule = WizardPassedPrevStepsRule; exports.WizardProgressStrategy = WizardProgressStrategy; exports.WizardProvider = WizardProvider; exports.WizardRail = WizardRail; exports.WizardResolveEndEvent = WizardResolveEndEvent; exports.WizardResolveStartEvent = WizardResolveStartEvent; exports.WizardResolverError = _chunk5BUIFXZYcjs.WizardResolverError; exports.WizardRule = WizardRule; exports.WizardScrollEndEvent = WizardScrollEndEvent; exports.WizardScrollStartEvent = WizardScrollStartEvent; exports.WizardScrollStrategy = WizardScrollStrategy; exports.WizardShownActiveCategoryRule = WizardShownActiveCategoryRule; exports.WizardSingleActiveCategoryRule = WizardSingleActiveCategoryRule; exports.WizardSmoothScrollStrategy = WizardSmoothScrollStrategy; exports.WizardStateService = WizardStateService; exports.WizardStep = WizardStep; exports.WizardStepHideEvent = WizardStepHideEvent; exports.WizardStepShowEvent = WizardStepShowEvent; exports.WizardStepper = WizardStepper; exports.WizardStepperDot = WizardStepperDot; exports.WizardStore = WizardStore; exports.WizardTreeStateBuilder = WizardTreeStateBuilder; exports.WizardVisibilityStrategy = WizardVisibilityStrategy; exports.buildWizardBranchState = buildWizardBranchState; exports.buildWizardCategoryState = buildWizardCategoryState; exports.buildWizardTreeState = buildWizardTreeState; exports.composeWizardProviders = composeWizardProviders; exports.scrollToStep = scrollToStep; exports.useWizard = _chunk5BUIFXZYcjs.useWizard; exports.useWizardCategoriesView = useWizardCategoriesView; exports.useWizardComponents = _chunk5BUIFXZYcjs.useWizardComponents; exports.useWizardEngineRef = useWizardEngineRef; exports.useWizardEvent = useWizardEvent; exports.useWizardStep = useWizardStep; exports.withConfig = withConfig; exports.withInitializer = withInitializer; exports.withListener = withListener; exports.withProgressStrategy = withProgressStrategy; exports.withScrollContainer = withScrollContainer; exports.withScrollStrategy = withScrollStrategy; exports.withVisibilityStrategy = withVisibilityStrategy; exports.wizardDefaultBranch = wizardDefaultBranch; exports.wizardDefaultConfig = wizardDefaultConfig; exports.wizardDefaultState = wizardDefaultState; exports.wizardRules = wizardRules;
2189
2189
  //# sourceMappingURL=index.cjs.map