@trackunit/react-form-wizard 1.0.5 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-wizard",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "dependencies": {
@@ -11,7 +11,7 @@
11
11
  "@tanstack/react-router": "1.47.1",
12
12
  "@trackunit/shared-utils": "^1.0.2",
13
13
  "@trackunit/css-class-variance-utilities": "^1.0.1",
14
- "@trackunit/react-components": "^1.0.5",
14
+ "@trackunit/react-components": "^1.0.7",
15
15
  "@trackunit/i18n-library-translation": "^1.0.3"
16
16
  },
17
17
  "engines": {
@@ -18,7 +18,7 @@ export type StepComponentPropsInner<TStepSchema extends TFullSchemaValue[keyof T
18
18
  };
19
19
  export interface SimpleStepProps {
20
20
  title: string;
21
- description: string;
21
+ description: string | React.ReactNode;
22
22
  sidebarDescription?: string;
23
23
  containerClassName?: string;
24
24
  }
@@ -1,7 +1,7 @@
1
1
  import { CommonProps } from "@trackunit/react-components";
2
2
  interface FormWizardHeaderProps extends CommonProps {
3
3
  title: string;
4
- description?: string;
4
+ description?: string | React.ReactNode;
5
5
  }
6
6
  /**
7
7
  * The header component for the FormWizard.
@@ -6,7 +6,7 @@ import { FormWizardStepFormReturnMap } from "../FormWizard/FormWizard";
6
6
  import { SimpleStepProps, StepComponentPropsInner, StepDefinitions, StringWithStepKey } from "../FormWizard/useFormWizard";
7
7
  export type StepFormValidity = "valid" | "invalid";
8
8
  export interface FormWizardStepWrapperProps<TStepKey extends keyof z.TypeOf<TFullSchema>, TFullSchema extends AnyZodObject> extends SimpleStepProps {
9
- description: string;
9
+ description: string | React.ReactNode;
10
10
  lastStepPrimaryActionLabel: string;
11
11
  nextStepPath: string | null;
12
12
  basePath: StringWithStepKey<`${RoutePaths<RegisteredRouter["routeTree"]>}`>;