@trackunit/react-form-wizard 2.6.76-alpha-55a192f4ee4.0 → 2.6.77-alpha-15da733192f.0

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/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-wizard",
3
- "version": "2.6.76-alpha-55a192f4ee4.0",
3
+ "version": "2.6.77-alpha-15da733192f.0",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "dependencies": {
7
7
  "zod": "^3.25.76",
8
8
  "@hookform/resolvers": "^3.3.4",
9
9
  "@tanstack/router-core": "1.114.29",
10
- "@trackunit/shared-utils": "1.16.50-alpha-55a192f4ee4.0",
11
- "@trackunit/css-class-variance-utilities": "2.0.15-alpha-55a192f4ee4.0",
12
- "@trackunit/react-components": "2.13.27-alpha-55a192f4ee4.0",
13
- "@trackunit/i18n-library-translation": "2.4.65-alpha-55a192f4ee4.0"
10
+ "@trackunit/shared-utils": "1.16.51-alpha-15da733192f.0",
11
+ "@trackunit/css-class-variance-utilities": "2.0.16-alpha-15da733192f.0",
12
+ "@trackunit/react-components": "2.13.28-alpha-15da733192f.0",
13
+ "@trackunit/i18n-library-translation": "2.4.66-alpha-15da733192f.0"
14
14
  },
15
15
  "engines": {
16
16
  "node": ">=24.x",
@@ -108,4 +108,4 @@ export type FormWizardStepFormReturnMap<TFullSchema extends AnyZodObject> = Part
108
108
  * });
109
109
  * ```
110
110
  */
111
- export declare const FormWizard: <TFullSchema extends AnyZodObject, TComponentStepDefinitions extends StepDefinitions<TFullSchema>>({ lastStepPrimaryActionLabel, isEdit, steps, fullFormSchema, onCancel, className, "data-testid": dataTestId, basePath, ref, style, }: FromWizardComponentProps<TFullSchema, TComponentStepDefinitions>) => import("react/jsx-runtime").JSX.Element;
111
+ export declare const FormWizard: <TFullSchema extends AnyZodObject, TComponentStepDefinitions extends StepDefinitions<TFullSchema>>({ lastStepPrimaryActionLabel, isEdit, steps, fullFormSchema, onCancel, className, "data-testid": dataTestId, basePath, ref, style, }: FromWizardComponentProps<TFullSchema, TComponentStepDefinitions>) => import("react").JSX.Element;
@@ -8,5 +8,5 @@ interface FormWizardHeaderProps extends CommonProps {
8
8
  * The header component for the FormWizard.
9
9
  * In most cases you should not be using this component directly, but rather use the FormWizard component.
10
10
  */
11
- export declare const FormWizardHeader: ({ title, description, className, "data-testid": dataTestId, }: FormWizardHeaderProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const FormWizardHeader: ({ title, description, className, "data-testid": dataTestId, }: FormWizardHeaderProps) => import("react").JSX.Element;
12
12
  export {};
@@ -10,5 +10,5 @@ interface FormWizardSidebarProps extends CommonProps {
10
10
  * Displays the sidebar with steps for the wizard.
11
11
  * Prefer using the FormWizard component instead of this directly.
12
12
  */
13
- export declare function FormWizardSidebar({ "data-testid": dataTestId, children, className }: FormWizardSidebarProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function FormWizardSidebar({ "data-testid": dataTestId, children, className }: FormWizardSidebarProps): import("react").JSX.Element;
14
14
  export {};
@@ -17,5 +17,5 @@ interface FormWizardSidebarStepProps extends CommonProps {
17
17
  * A sidebar step component used by the FormWizard component to render each step.
18
18
  * This component is generally used internally by the FormWizard component.
19
19
  */
20
- export declare const FormWizardSidebarStep: ({ stepNumber, state, basePath, title, subTitle, path, "data-testid": dataTestId, onClickNavigate, isSubStep, }: FormWizardSidebarStepProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const FormWizardSidebarStep: ({ stepNumber, state, basePath, title, subTitle, path, "data-testid": dataTestId, onClickNavigate, isSubStep, }: FormWizardSidebarStepProps) => import("react").JSX.Element;
21
21
  export {};
@@ -30,4 +30,4 @@ export interface FormWizardStepWrapperProps<TStepKey extends keyof z.TypeOf<TFul
30
30
  * A wrapper component used by the FormWizard component to render each step.
31
31
  * In most cases you should not be using this component directly, but rather use the FormWizard component.
32
32
  */
33
- export declare const FormWizardStepWrapper: <TFullSchema extends AnyZodObject, TStepKey extends keyof z.TypeOf<TFullSchema>>({ stepKey, onCancel, description, title, component, nextStepPath, previousStepPath, lastStepPrimaryActionLabel, fullFormSchema, setFullFormState, fullFormState, stepForms, setStepForms, setStepStates, basePath, containerClassName, onPrimaryAction, initialFullFormState, }: FormWizardStepWrapperProps<TStepKey, TFullSchema>) => import("react/jsx-runtime").JSX.Element;
33
+ export declare const FormWizardStepWrapper: <TFullSchema extends AnyZodObject, TStepKey extends keyof z.TypeOf<TFullSchema>>({ stepKey, onCancel, description, title, component, nextStepPath, previousStepPath, lastStepPrimaryActionLabel, fullFormSchema, setFullFormState, fullFormState, stepForms, setStepForms, setStepStates, basePath, containerClassName, onPrimaryAction, initialFullFormState, }: FormWizardStepWrapperProps<TStepKey, TFullSchema>) => import("react").JSX.Element;
@@ -15,4 +15,4 @@ export interface TestHelperFormWizardStepProps<TStepKey extends keyof z.infer<TF
15
15
  * This component is not intended to be used in production code.
16
16
  * It is used to test the individual steps of a form wizard.
17
17
  */
18
- export declare const TestHelperFormWizardStep: <TStepKey extends keyof z.infer<TFullSchema>, TFullSchema extends AnyZodObject>({ stepKey, fullFormSchema, defaultValues, children, overrides, style, }: TestHelperFormWizardStepProps<TStepKey, TFullSchema>) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const TestHelperFormWizardStep: <TStepKey extends keyof z.infer<TFullSchema>, TFullSchema extends AnyZodObject>({ stepKey, fullFormSchema, defaultValues, children, overrides, style, }: TestHelperFormWizardStepProps<TStepKey, TFullSchema>) => import("react").JSX.Element;
@@ -26,7 +26,7 @@ export type TranslationFunction = TransForLibs<TranslationKeys>;
26
26
  /**
27
27
  * Trans for this specific library.
28
28
  */
29
- export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => import("react/jsx-runtime").JSX.Element;
29
+ export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => import("react").JSX.Element;
30
30
  /**
31
31
  * Registers the translations for this library
32
32
  */