@ostack.tech/ui-kform 0.3.0 → 0.3.1

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 (129) hide show
  1. package/dist/chunks/en-C1hDoCmB.js.map +1 -1
  2. package/dist/locales/en-GB.js.map +1 -1
  3. package/dist/locales/en-US.js.map +1 -1
  4. package/dist/locales/fr.js.map +1 -1
  5. package/dist/locales/pt.js.map +1 -1
  6. package/dist/ostack-ui-kform.js +5176 -5176
  7. package/dist/ostack-ui-kform.js.map +1 -1
  8. package/dist/types/components/Annexes/Annex.d.ts +5 -5
  9. package/dist/types/components/Annexes/AnnexTab.d.ts +1 -1
  10. package/dist/types/components/Annexes/Annexes.d.ts +4 -4
  11. package/dist/types/components/Annexes/AnnexesContext.d.ts +5 -5
  12. package/dist/types/components/Annexes/AnnexesManager.d.ts +3 -3
  13. package/dist/types/components/Annexes/AnnexesMenu.d.ts +3 -3
  14. package/dist/types/components/Annexes/AnnexesTabList.d.ts +3 -3
  15. package/dist/types/components/Annexes/index.d.ts +3 -3
  16. package/dist/types/components/CheckboxControl/CheckboxControl.d.ts +6 -6
  17. package/dist/types/components/CheckboxControl/index.d.ts +1 -1
  18. package/dist/types/components/CheckboxGroupControl/CheckboxGroupControl.d.ts +6 -6
  19. package/dist/types/components/CheckboxGroupControl/index.d.ts +1 -1
  20. package/dist/types/components/ControlField/ControlField.d.ts +4 -4
  21. package/dist/types/components/ControlField/ControlFieldContext.d.ts +4 -4
  22. package/dist/types/components/ControlField/index.d.ts +2 -2
  23. package/dist/types/components/DateControl/DateControl.d.ts +6 -6
  24. package/dist/types/components/DateControl/index.d.ts +1 -1
  25. package/dist/types/components/DateRangeControl/DateRangeControl.d.ts +6 -6
  26. package/dist/types/components/DateRangeControl/index.d.ts +1 -1
  27. package/dist/types/components/FileControl/FileControl.d.ts +6 -6
  28. package/dist/types/components/FileControl/index.d.ts +1 -1
  29. package/dist/types/components/FormApp/FormApp.d.ts +8 -8
  30. package/dist/types/components/FormApp/FormAppContext.d.ts +7 -7
  31. package/dist/types/components/FormApp/FormAppElement.d.ts +3 -3
  32. package/dist/types/components/FormApp/FormAppIssueMessages.d.ts +3 -3
  33. package/dist/types/components/FormApp/FormAppStatus.d.ts +1 -1
  34. package/dist/types/components/FormApp/index.d.ts +4 -4
  35. package/dist/types/components/FormPages/FormPage.d.ts +6 -6
  36. package/dist/types/components/FormPages/FormPageHeader.d.ts +3 -3
  37. package/dist/types/components/FormPages/FormPageSidebarItem.d.ts +1 -1
  38. package/dist/types/components/FormPages/FormPages.d.ts +3 -3
  39. package/dist/types/components/FormPages/FormPagesContext.d.ts +5 -5
  40. package/dist/types/components/FormPages/FormPagesNavigation.d.ts +4 -4
  41. package/dist/types/components/FormPages/FormPagesSelect.d.ts +3 -3
  42. package/dist/types/components/FormPages/FormPagesSelectOption.d.ts +1 -1
  43. package/dist/types/components/FormPages/FormPagesSidebar.d.ts +2 -2
  44. package/dist/types/components/FormPages/index.d.ts +3 -3
  45. package/dist/types/components/FormStepper/FormStep.d.ts +1 -1
  46. package/dist/types/components/FormStepper/FormStepContent.d.ts +4 -4
  47. package/dist/types/components/FormStepper/FormStepList.d.ts +3 -3
  48. package/dist/types/components/FormStepper/FormStepper.d.ts +4 -4
  49. package/dist/types/components/FormStepper/FormStepperContext.d.ts +5 -5
  50. package/dist/types/components/FormStepper/index.d.ts +3 -3
  51. package/dist/types/components/IssueAlert/IssueAlert.d.ts +4 -4
  52. package/dist/types/components/IssueAlert/index.d.ts +1 -1
  53. package/dist/types/components/IssueMessage/IssueMessage.d.ts +2 -2
  54. package/dist/types/components/IssueMessage/index.d.ts +1 -1
  55. package/dist/types/components/IssueMessages/IssueMessages.d.ts +4 -4
  56. package/dist/types/components/IssueMessages/index.d.ts +1 -1
  57. package/dist/types/components/IssuesPanel/IssuesPanel.d.ts +4 -4
  58. package/dist/types/components/IssuesPanel/IssuesPanelControls.d.ts +4 -4
  59. package/dist/types/components/IssuesPanel/IssuesPanelMessagesCard.d.ts +6 -6
  60. package/dist/types/components/IssuesPanel/IssuesPanelSummaryCard.d.ts +5 -5
  61. package/dist/types/components/IssuesPanel/index.d.ts +1 -1
  62. package/dist/types/components/IssuesPopover/IssuesPopover.d.ts +4 -4
  63. package/dist/types/components/IssuesPopover/index.d.ts +1 -1
  64. package/dist/types/components/LoadAction/LoadAction.d.ts +3 -3
  65. package/dist/types/components/LoadAction/index.d.ts +1 -1
  66. package/dist/types/components/NumericControl/NumericControl.d.ts +6 -6
  67. package/dist/types/components/NumericControl/index.d.ts +1 -1
  68. package/dist/types/components/PathLink/PathLink.d.ts +3 -3
  69. package/dist/types/components/PathLink/index.d.ts +1 -1
  70. package/dist/types/components/RadioGroupControl/RadioGroupControl.d.ts +6 -6
  71. package/dist/types/components/RadioGroupControl/index.d.ts +1 -1
  72. package/dist/types/components/SaveAction/SaveAction.d.ts +3 -3
  73. package/dist/types/components/SaveAction/index.d.ts +1 -1
  74. package/dist/types/components/SelectControl/SelectControl.d.ts +7 -7
  75. package/dist/types/components/SelectControl/index.d.ts +1 -1
  76. package/dist/types/components/SelectMultipleControl/SelectMultipleControl.d.ts +7 -7
  77. package/dist/types/components/SelectMultipleControl/index.d.ts +1 -1
  78. package/dist/types/components/SubmitAction/SubmitAction.d.ts +4 -4
  79. package/dist/types/components/SubmitAction/index.d.ts +1 -1
  80. package/dist/types/components/TableControl/TableControl.d.ts +8 -8
  81. package/dist/types/components/TableControl/TableControlAddRowTrigger.d.ts +3 -3
  82. package/dist/types/components/TableControl/TableControlApi.d.ts +4 -4
  83. package/dist/types/components/TableControl/TableControlCell.d.ts +3 -3
  84. package/dist/types/components/TableControl/TableControlColumn.d.ts +4 -4
  85. package/dist/types/components/TableControl/TableControlContent.d.ts +3 -3
  86. package/dist/types/components/TableControl/TableControlContext.d.ts +7 -7
  87. package/dist/types/components/TableControl/TableControlPagination.d.ts +1 -1
  88. package/dist/types/components/TableControl/TableControlRemoveRowTrigger.d.ts +3 -3
  89. package/dist/types/components/TableControl/TableControlRow.d.ts +3 -3
  90. package/dist/types/components/TableControl/TableControlRowsPerPage.d.ts +1 -1
  91. package/dist/types/components/TableControl/index.d.ts +8 -8
  92. package/dist/types/components/TextControl/TextControl.d.ts +6 -6
  93. package/dist/types/components/TextControl/index.d.ts +1 -1
  94. package/dist/types/components/TopBar/TopBar.d.ts +2 -2
  95. package/dist/types/components/TopBar/TopBarActions.d.ts +3 -3
  96. package/dist/types/components/TopBar/index.d.ts +2 -2
  97. package/dist/types/components/ValidateAction/ValidateAction.d.ts +2 -2
  98. package/dist/types/components/ValidateAction/index.d.ts +1 -1
  99. package/dist/types/index.d.ts +36 -36
  100. package/dist/types/locales/en-GB.d.ts +1 -1
  101. package/dist/types/locales/en-US.d.ts +1 -1
  102. package/dist/types/locales/en.d.ts +1 -1
  103. package/dist/types/locales/fr.d.ts +1 -1
  104. package/dist/types/locales/index.d.ts +4 -4
  105. package/dist/types/locales/pt.d.ts +1 -1
  106. package/dist/types/providers/LocalizationProvider/LocalizationContext.d.ts +2 -2
  107. package/dist/types/providers/LocalizationProvider/LocalizationObject.d.ts +14 -14
  108. package/dist/types/providers/LocalizationProvider/LocalizationProvider.d.ts +3 -3
  109. package/dist/types/providers/LocalizationProvider/index.d.ts +4 -4
  110. package/dist/types/providers/LocalizationProvider/useLocale.d.ts +1 -1
  111. package/dist/types/providers/PrefixSuffixProvider/PrefixSuffixContext.d.ts +1 -1
  112. package/dist/types/providers/PrefixSuffixProvider/PrefixSuffixProvider.d.ts +2 -2
  113. package/dist/types/providers/PrefixSuffixProvider/defaultPrefixSuffix.d.ts +1 -1
  114. package/dist/types/providers/PrefixSuffixProvider/index.d.ts +4 -4
  115. package/dist/types/providers/PrefixSuffixProvider/usePrefix.d.ts +1 -1
  116. package/dist/types/utils/dateRestrictions.d.ts +2 -2
  117. package/dist/types/utils/displayStatusConversions.d.ts +2 -2
  118. package/dist/types/utils/mostSpecificPath.d.ts +1 -1
  119. package/dist/types/utils/options.d.ts +2 -2
  120. package/dist/types/utils/pathSpecificity.d.ts +1 -1
  121. package/dist/types/utils/selectionTransformations.d.ts +4 -4
  122. package/dist/types/utils/useControlAutofocus.d.ts +2 -2
  123. package/dist/types/utils/useControlIssues.d.ts +3 -3
  124. package/dist/types/utils/useFormLoader.d.ts +3 -3
  125. package/dist/types/utils/useFormSaver.d.ts +3 -3
  126. package/dist/types/utils/useRegisterControl.d.ts +3 -3
  127. package/dist/types/utils/useReportValidationFailures.d.ts +1 -1
  128. package/dist/types/utils/useTemporalStringTransformer.d.ts +3 -3
  129. package/package.json +8 -23
@@ -1,7 +1,7 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { ErrorBoundary, TabContent } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode } from "react";
4
- import { type IssueMessagesByCode } from "../IssueMessages";
1
+ import { Path } from '@ostack.tech/kform';
2
+ import { ErrorBoundary, TabContent } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode } from 'react';
4
+ import { IssueMessagesByCode } from '../IssueMessages';
5
5
  /** Properties of the annex component. */
6
6
  export interface AnnexProps extends Omit<ComponentPropsWithoutRef<typeof TabContent>, "value" | "children"> {
7
7
  /** Annex path. This should match the path of the annex provided to `Annexes`. */
@@ -43,4 +43,4 @@ export interface AnnexProps extends Omit<ComponentPropsWithoutRef<typeof TabCont
43
43
  children?: ReactNode;
44
44
  }
45
45
  /** Component containing the content of an annex. */
46
- export declare const Annex: import("react").ForwardRefExoticComponent<AnnexProps & import("react").RefAttributes<HTMLDivElement>>;
46
+ export declare const Annex: import('react').ForwardRefExoticComponent<AnnexProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { type AbsolutePath } from "@ostack.tech/kform";
1
+ import { AbsolutePath } from '@ostack.tech/kform';
2
2
  export interface AnnexTabProps {
3
3
  path: AbsolutePath;
4
4
  }
@@ -1,6 +1,6 @@
1
- import { type AbsolutePath, type Path } from "@ostack.tech/kform";
2
- import { Tabs } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef, type ReactNode } from "react";
1
+ import { AbsolutePath, Path } from '@ostack.tech/kform';
2
+ import { Tabs } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
4
4
  /** Properties of the annexes component. */
5
5
  export interface AnnexesProps extends Omit<ComponentPropsWithoutRef<typeof Tabs>, "defaultValue" | "value" | "onValueChange"> {
6
6
  /** Base path for all declared annexes. */
@@ -92,4 +92,4 @@ export interface AnnexObject<T = any> {
92
92
  getValue?: (value: T) => T | null | undefined | Promise<T | null | undefined>;
93
93
  }
94
94
  /** Root component used to render form annexes. */
95
- export declare const Annexes: import("react").ForwardRefExoticComponent<AnnexesProps & import("react").RefAttributes<HTMLDivElement>>;
95
+ export declare const Annexes: import('react').ForwardRefExoticComponent<AnnexesProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,6 @@
1
- import { AbsolutePath, type DisplayStatus, type FormManager, type Path, type Schema, type SealedValidationIssue, type TableRowId } from "@ostack.tech/kform";
2
- import { type ReactNode } from "react";
3
- import { type AnnexesProps, type AnnexObject } from "./Annexes.tsx";
1
+ import { AbsolutePath, DisplayStatus, FormManager, Path, Schema, SealedValidationIssue, TableRowId } from '@ostack.tech/kform';
2
+ import { ReactNode } from 'react';
3
+ import { AnnexesProps, AnnexObject } from './Annexes.tsx';
4
4
  /** Value of the annexes' context. */
5
5
  export type AnnexesContextValue = AnnexesStore;
6
6
  /** Resolved annex object. */
@@ -57,7 +57,7 @@ export interface AnnexesActions {
57
57
  /** Annexes' store. */
58
58
  export type AnnexesStore = ReturnType<typeof useCreateAnnexesContext>;
59
59
  /** Annexes' context. */
60
- export declare const AnnexesContext: import("react").Context<(Omit<import("zustand").StoreApi<AnnexesState>, "subscribe"> & {
60
+ export declare const AnnexesContext: import('react').Context<(Omit<import('zustand').StoreApi<AnnexesState>, "subscribe"> & {
61
61
  subscribe: {
62
62
  (listener: (selectedState: AnnexesState, previousSelectedState: AnnexesState) => void): () => void;
63
63
  <U>(selector: (state: AnnexesState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
@@ -73,7 +73,7 @@ export interface UseCreateAnnexesContextOptions extends Pick<AnnexesProps, "defa
73
73
  resolvedAnnexes: ResolvedAnnexObject[];
74
74
  }
75
75
  /** Hook used to create the annexes' context. */
76
- export declare function useCreateAnnexesContext({ formManager, basePath, resolvedAnnexes, defaultActiveAnnex, activeAnnex, onActiveAnnexChange, onAnnexAdd, onAnnexRemove, }: UseCreateAnnexesContextOptions): Omit<import("zustand").StoreApi<AnnexesState>, "subscribe"> & {
76
+ export declare function useCreateAnnexesContext({ formManager, basePath, resolvedAnnexes, defaultActiveAnnex, activeAnnex, onActiveAnnexChange, onAnnexAdd, onAnnexRemove, }: UseCreateAnnexesContextOptions): Omit<import('zustand').StoreApi<AnnexesState>, "subscribe"> & {
77
77
  subscribe: {
78
78
  (listener: (selectedState: AnnexesState, previousSelectedState: AnnexesState) => void): () => void;
79
79
  <U>(selector: (state: AnnexesState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
@@ -1,5 +1,5 @@
1
- import { type Button, type DropdownMenu, type DropdownMenuContent, type TabList } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode } from "react";
1
+ import { Button, DropdownMenu, DropdownMenuContent, TabList } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode } from 'react';
3
3
  /** Properties of the annexes' manager component. */
4
4
  export interface AnnexesManagerProps extends ComponentPropsWithoutRef<"nav"> {
5
5
  /** Text of the menu button. */
@@ -44,4 +44,4 @@ export interface AnnexesManagerProps extends ComponentPropsWithoutRef<"nav"> {
44
44
  * changing, adding, and removing annexes, as well as a list of tabs for each
45
45
  * existing annex.
46
46
  */
47
- export declare const AnnexesManager: import("react").ForwardRefExoticComponent<AnnexesManagerProps & import("react").RefAttributes<HTMLElement>>;
47
+ export declare const AnnexesManager: import('react').ForwardRefExoticComponent<AnnexesManagerProps & import('react').RefAttributes<HTMLElement>>;
@@ -1,6 +1,6 @@
1
- import { Button, DropdownMenu, DropdownMenuContent } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef } from "react";
3
- import { type AnnexesManager } from "./AnnexesManager.tsx";
1
+ import { Button, DropdownMenu, DropdownMenuContent } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef } from 'react';
3
+ import { AnnexesManager } from './AnnexesManager.tsx';
4
4
  /** Properties of the annexes' menu. */
5
5
  export interface AnnexesMenuProps extends Pick<ComponentPropsWithoutRef<typeof AnnexesManager>, "menuButtonText" | "addAnnexText" | "removeAnnexButtonLabel" | "removeAnnexKeyboardHint" | "removeAnnexConfirmDialogTitle" | "removeAnnexConfirmDialogMessage" | "removeAnnexConfirmDialogOkText" | "removeAnnexConfirmDialogCancelText">, ComponentPropsWithoutRef<typeof DropdownMenu> {
6
6
  menuTriggerProps?: Omit<ComponentPropsWithRef<typeof Button>, "icon">;
@@ -1,8 +1,8 @@
1
- import { TabList } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithoutRef } from "react";
1
+ import { TabList } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
3
  /** Properties of the annex tab list component. */
4
4
  export interface AnnexTabListProps extends ComponentPropsWithoutRef<typeof TabList> {
5
5
  hideNonActiveOnSmallScreens: boolean;
6
6
  }
7
7
  /** List of annex tabs. */
8
- export declare const AnnexesTabList: import("react").ForwardRefExoticComponent<AnnexTabListProps & import("react").RefAttributes<HTMLDivElement>>;
8
+ export declare const AnnexesTabList: import('react').ForwardRefExoticComponent<AnnexTabListProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,3 @@
1
- export * from "./Annex.tsx";
2
- export * from "./Annexes.tsx";
3
- export * from "./AnnexesManager.tsx";
1
+ export * from './Annex.tsx';
2
+ export * from './Annexes.tsx';
3
+ export * from './AnnexesManager.tsx';
@@ -1,8 +1,8 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { type InputController, type InputOptions } from "@ostack.tech/kform-react";
3
- import { Checkbox, type CheckboxChecked } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ComponentRef, type ReactNode, type Ref } from "react";
5
- import { type IssueMessages, type IssueMessagesByCode } from "../IssueMessages";
1
+ import { Path } from '@ostack.tech/kform';
2
+ import { InputController, InputOptions } from '@ostack.tech/kform-react';
3
+ import { Checkbox, CheckboxChecked } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ComponentRef, ReactNode, Ref } from 'react';
5
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
6
6
  /** Properties of the checkbox control component. */
7
7
  export interface CheckboxControlProps<T extends boolean | null = boolean | null> extends Omit<InputOptions<T, CheckboxChecked, ComponentRef<typeof Checkbox>>, "enabled" | "format" | "parse">, Omit<ComponentPropsWithoutRef<typeof Checkbox>, "defaultChecked" | "checked" | "status"> {
8
8
  /** Path to the value. */
@@ -45,4 +45,4 @@ export interface CheckboxControlProps<T extends boolean | null = boolean | null>
45
45
  * Checkbox control component supporting (possibly nullable) schemas of type
46
46
  * "Boolean". `null` values are represented as an "indeterminate" checkbox.
47
47
  */
48
- export declare const CheckboxControl: import("react").ForwardRefExoticComponent<CheckboxControlProps<boolean | null> & import("react").RefAttributes<HTMLButtonElement>>;
48
+ export declare const CheckboxControl: import('react').ForwardRefExoticComponent<CheckboxControlProps<boolean | null> & import('react').RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- export * from "./CheckboxControl.tsx";
1
+ export * from './CheckboxControl.tsx';
@@ -1,8 +1,8 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { type Listable, type ListableInputController, type ListableInputOptions } from "@ostack.tech/kform-react";
3
- import { Checkbox, CheckboxGroup } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ComponentRef, type Key, type ReactNode, type Ref } from "react";
5
- import { type IssueMessages, type IssueMessagesByCode } from "../IssueMessages";
1
+ import { Path } from '@ostack.tech/kform';
2
+ import { Listable, ListableInputController, ListableInputOptions } from '@ostack.tech/kform-react';
3
+ import { Checkbox, CheckboxGroup } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ComponentRef, Key, ReactNode, Ref } from 'react';
5
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
6
6
  /** Checkbox in object notation. */
7
7
  export type CheckboxObject<T = unknown> = Omit<ComponentPropsWithRef<typeof Checkbox>, "defaultChecked" | "checked" | "value" | "children"> & {
8
8
  /** Option value. */
@@ -60,4 +60,4 @@ export interface CheckboxGroupControlProps<T = unknown, TListable extends Listab
60
60
  * the control contains no elements. Note, however, that the form may still hold
61
61
  * an empty listable as value if set programmatically.
62
62
  */
63
- export declare const CheckboxGroupControl: import("react").ForwardRefExoticComponent<CheckboxGroupControlProps<unknown, Listable<unknown> | null> & import("react").RefAttributes<HTMLDivElement>>;
63
+ export declare const CheckboxGroupControl: import('react').ForwardRefExoticComponent<CheckboxGroupControlProps<unknown, Listable<unknown> | null> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- export * from "./CheckboxGroupControl.tsx";
1
+ export * from './CheckboxGroupControl.tsx';
@@ -1,6 +1,6 @@
1
- import { Path } from "@ostack.tech/kform";
2
- import { Field } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef } from "react";
1
+ import { Path } from '@ostack.tech/kform';
2
+ import { Field } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef } from 'react';
4
4
  /** Properties of the control field component. */
5
5
  export interface ControlFieldProps extends ComponentPropsWithoutRef<typeof Field> {
6
6
  /** Path of the field; inner control paths will be relative to this path. */
@@ -47,4 +47,4 @@ export interface ControlFieldProps extends ComponentPropsWithoutRef<typeof Field
47
47
  * Aria descriptions and error messages are set on the control based on the
48
48
  * provided helper texts or feedbacks.
49
49
  */
50
- export declare const ControlField: import("react").ForwardRefExoticComponent<ControlFieldProps & import("react").RefAttributes<HTMLDivElement>>;
50
+ export declare const ControlField: import('react').ForwardRefExoticComponent<ControlFieldProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
- import { type AbsolutePath, type FormManager, type Schema, type SealedValidationIssue } from "@ostack.tech/kform";
2
- import { type Controller } from "@ostack.tech/kform-react";
1
+ import { AbsolutePath, FormManager, Schema, SealedValidationIssue } from '@ostack.tech/kform';
2
+ import { Controller } from '@ostack.tech/kform-react';
3
3
  /** Value of the control field context. */
4
4
  export type ControlFieldContextValue = ControlFieldStore;
5
5
  /** State of the control field. */
@@ -17,9 +17,9 @@ export interface ControlState {
17
17
  /** Control field store. */
18
18
  export type ControlFieldStore = ReturnType<typeof useCreateControlFieldContext>;
19
19
  /** Control field context. */
20
- export declare const ControlFieldContext: import("react").Context<import("zustand").StoreApi<ControlFieldState> | null>;
20
+ export declare const ControlFieldContext: import('react').Context<import('zustand').StoreApi<ControlFieldState> | null>;
21
21
  /** Hook which creates the control field context value. */
22
- export declare function useCreateControlFieldContext(): import("zustand").StoreApi<ControlFieldState>;
22
+ export declare function useCreateControlFieldContext(): import('zustand').StoreApi<ControlFieldState>;
23
23
  /** Hook that returns access to the control field's store. */
24
24
  export declare function useControlFieldStore<T>(selector: (state: Partial<ControlFieldState>) => T): T;
25
25
  /** Hook exposing whether a component is being rendered within a control field. */
@@ -1,2 +1,2 @@
1
- export * from "./ControlField.tsx";
2
- export { useIsInControlField, useRegisterControllerWithinControlField, } from "./ControlFieldContext.ts";
1
+ export * from './ControlField.tsx';
2
+ export { useIsInControlField, useRegisterControllerWithinControlField, } from './ControlFieldContext.ts';
@@ -1,8 +1,8 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { type Temporal, type TemporalInputController, type TemporalInputOptions } from "@ostack.tech/kform-react";
3
- import { DateInput } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ComponentRef, type ReactNode, type Ref } from "react";
5
- import { type IssueMessages, type IssueMessagesByCode } from "../IssueMessages";
1
+ import { Path } from '@ostack.tech/kform';
2
+ import { Temporal, TemporalInputController, TemporalInputOptions } from '@ostack.tech/kform-react';
3
+ import { DateInput } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ComponentRef, ReactNode, Ref } from 'react';
5
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
6
6
  /** Properties of the date control component. */
7
7
  export interface DateControlProps<T extends Temporal | null = Temporal | null> extends Omit<TemporalInputOptions<T, string, ComponentRef<typeof DateInput>>, "enabled" | "formatFromString" | "parseToString">, Omit<ComponentPropsWithoutRef<typeof DateInput>, "defaultValue" | "value" | "onValueChange" | "status"> {
8
8
  /** Path to the value. */
@@ -42,4 +42,4 @@ export interface DateControlProps<T extends Temporal | null = Temporal | null> e
42
42
  issueMessagesProps?: Omit<ComponentPropsWithRef<typeof IssueMessages>, "path" | "issues" | "messages" | "unwrapped">;
43
43
  }
44
44
  /** Date control component supporting nullable temporal schemas. */
45
- export declare const DateControl: import("react").ForwardRefExoticComponent<DateControlProps<Temporal | null> & import("react").RefAttributes<HTMLInputElement>>;
45
+ export declare const DateControl: import('react').ForwardRefExoticComponent<DateControlProps<Temporal | null> & import('react').RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- export * from "./DateControl.tsx";
1
+ export * from './DateControl.tsx';
@@ -1,8 +1,8 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { type Temporal, type TemporalInputController, type TemporalInputOptions } from "@ostack.tech/kform-react";
3
- import { DateRangeInput } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode, type Ref } from "react";
5
- import { type IssueMessages, type IssueMessagesByCode } from "../IssueMessages";
1
+ import { Path } from '@ostack.tech/kform';
2
+ import { Temporal, TemporalInputController, TemporalInputOptions } from '@ostack.tech/kform-react';
3
+ import { DateRangeInput } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode, Ref } from 'react';
5
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
6
6
  /** Properties of the date-range control component. */
7
7
  export interface DateRangeControlProps<TStart extends Temporal | null = Temporal | null, TEnd extends Temporal | null = TStart> extends Omit<ComponentPropsWithoutRef<typeof DateRangeInput>, "defaultValue" | "value"> {
8
8
  /** Path to the start value. */
@@ -76,4 +76,4 @@ export interface DateRangeControlProps<TStart extends Temporal | null = Temporal
76
76
  onEndTouchedStatusChange?: TemporalInputOptions<TEnd, string>["onTouchedStatusChange"];
77
77
  }
78
78
  /** Date-range control component supporting nullable temporal schemas. */
79
- export declare const DateRangeControl: import("react").ForwardRefExoticComponent<DateRangeControlProps<Temporal | null, Temporal | null> & import("react").RefAttributes<HTMLDivElement>>;
79
+ export declare const DateRangeControl: import('react').ForwardRefExoticComponent<DateRangeControlProps<Temporal | null, Temporal | null> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- export * from "./DateRangeControl.tsx";
1
+ export * from './DateRangeControl.tsx';
@@ -1,8 +1,8 @@
1
- import { type File as KFormFile, type Path } from "@ostack.tech/kform";
2
- import { type FileInputController, type FileInputOptions } from "@ostack.tech/kform-react";
3
- import { Input } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ComponentRef, type ReactNode, type Ref } from "react";
5
- import { type IssueMessages, type IssueMessagesByCode } from "../IssueMessages";
1
+ import { File as KFormFile, Path } from '@ostack.tech/kform';
2
+ import { FileInputController, FileInputOptions } from '@ostack.tech/kform-react';
3
+ import { Input } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ComponentRef, ReactNode, Ref } from 'react';
5
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
6
6
  /**
7
7
  * File control's interaction with the selected file:
8
8
  *
@@ -65,4 +65,4 @@ export interface FileControlProps<T extends KFormFile | null = KFormFile | null>
65
65
  issueMessagesProps?: Omit<ComponentPropsWithRef<typeof IssueMessages>, "path" | "issues" | "messages" | "unwrapped">;
66
66
  }
67
67
  /** File control component supporting (possibly nullable) file schemas. */
68
- export declare const FileControl: import("react").ForwardRefExoticComponent<FileControlProps<KFormFile | null> & import("react").RefAttributes<HTMLInputElement>>;
68
+ export declare const FileControl: import('react').ForwardRefExoticComponent<FileControlProps<KFormFile | null> & import('react').RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- export * from "./FileControl.tsx";
1
+ export * from './FileControl.tsx';
@@ -1,9 +1,9 @@
1
- import { AbsolutePath, type Path, type Schema, type SchemaKt } from "@ostack.tech/kform";
2
- import { type Controller, type FormOptions } from "@ostack.tech/kform-react";
3
- import { type Responsive, Root } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithoutRef, type ReactNode, type Ref } from "react";
5
- import { type LocalizationObject } from "../../providers/LocalizationProvider/LocalizationObject.ts";
6
- import { type IssueMessagesByCode } from "../IssueMessages";
1
+ import { AbsolutePath, Path, Schema, SchemaKt } from '@ostack.tech/kform';
2
+ import { Controller, FormOptions } from '@ostack.tech/kform-react';
3
+ import { Responsive, Root } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ReactNode, Ref } from 'react';
5
+ import { LocalizationObject } from '../../providers/LocalizationProvider';
6
+ import { IssueMessagesByCode } from '../IssueMessages';
7
7
  /** Mode of displaying issue messages. */
8
8
  export type IssuesDisplayMode = "inline" | "panel";
9
9
  /** Properties of the form app component. */
@@ -125,7 +125,7 @@ export type FormAppApi<T = unknown> = Controller<T> & {
125
125
  * ostack/UI's `locale` is automatically provided to the ostack/UI `Root`
126
126
  * component from the provided `FormApp` `locale`.
127
127
  */
128
- export declare const FormApp: import("react").ForwardRefExoticComponent<Pick<Omit<import("@ostack.tech/ui").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref">, "reportError" | "errorReportingUrl" | "errorReportingMethod" | "encodeErrorReport" | "encodedErrorReportMimeType" | "errorReportingOptions" | "baseDocumentTitle" | "enableErrorReporting" | "documentTitleBaseSeparator" | "documentTitleBreadcrumbsSeparator" | "portalsContainer" | "tooltipsDelayDuration" | "tooltipsSkipDelayDuration" | "disableTooltipsHoverableContent" | "toastsLabel" | "toastsDuration" | "toastsSwipeDirection" | "toastsSwipeThreshold" | "toastViewportHotkey" | "toastViewportLabel" | "toastViewportProps" | "errorBoundaryProps"> & Omit<import("@ostack.tech/kform-react").ControllerOptions<any, import("@ostack.tech/kform-react").FormControllerState<any>>, "formManager"> & import("@ostack.tech/kform-react").FormOwnOptions<any, unknown> & Omit<Omit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref">, "onReset" | "onSubmit"> & {
128
+ export declare const FormApp: import('react').ForwardRefExoticComponent<Pick<Omit<import('@ostack.tech/ui').RootProps & import('react').RefAttributes<HTMLDivElement>, "ref">, "reportError" | "errorReportingUrl" | "errorReportingMethod" | "encodeErrorReport" | "encodedErrorReportMimeType" | "errorReportingOptions" | "baseDocumentTitle" | "enableErrorReporting" | "documentTitleBaseSeparator" | "documentTitleBreadcrumbsSeparator" | "portalsContainer" | "tooltipsDelayDuration" | "tooltipsSkipDelayDuration" | "disableTooltipsHoverableContent" | "toastsLabel" | "toastsDuration" | "toastsSwipeDirection" | "toastsSwipeThreshold" | "toastViewportHotkey" | "toastViewportLabel" | "toastViewportProps" | "errorBoundaryProps"> & Omit<import('@ostack.tech/kform-react').ControllerOptions<any, import('@ostack.tech/kform-react').FormControllerState<any>>, "formManager"> & import('@ostack.tech/kform-react').FormOwnOptions<any, unknown> & Omit<Omit<import('react').DetailedHTMLProps<import('react').FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref">, "onReset" | "onSubmit"> & {
129
129
  /** Schema of the form. */
130
130
  schema: SchemaKt | Schema<any>;
131
131
  /**
@@ -215,4 +215,4 @@ export declare const FormApp: import("react").ForwardRefExoticComponent<Pick<Omi
215
215
  minHeight?: Responsive<number | string>;
216
216
  /** Reference to the form app's API. */
217
217
  apiRef?: Ref<FormAppApi<any> | undefined> | undefined;
218
- } & import("react").RefAttributes<HTMLFormElement>>;
218
+ } & import('react').RefAttributes<HTMLFormElement>>;
@@ -1,8 +1,8 @@
1
- import { AbsolutePath, type Path, PathMultimap, type PathMultimapEntryId } from "@ostack.tech/kform";
2
- import { type Controller } from "@ostack.tech/kform-react";
3
- import { type ReactNode } from "react";
4
- import { type IssueMessagesByCode, type IssueMessageValue } from "../IssueMessages";
5
- import { type IssuesDisplayMode } from "./FormApp.tsx";
1
+ import { AbsolutePath, Path, PathMultimap, PathMultimapEntryId } from '@ostack.tech/kform';
2
+ import { Controller } from '@ostack.tech/kform-react';
3
+ import { ReactNode } from 'react';
4
+ import { IssueMessagesByCode, IssueMessageValue } from '../IssueMessages';
5
+ import { IssuesDisplayMode } from './FormApp.tsx';
6
6
  /** Value of the form app context. */
7
7
  export interface FormAppContextValue<T = unknown> {
8
8
  disabled: boolean;
@@ -64,7 +64,7 @@ export interface FormAppActions {
64
64
  /** Form app store. */
65
65
  export type FormAppStore<T> = ReturnType<typeof useCreateFormAppContext<T>>["store"];
66
66
  /** Form app context. */
67
- export declare const FormAppContext: import("react").Context<FormAppContextValue<unknown> | null>;
67
+ export declare const FormAppContext: import('react').Context<FormAppContextValue<unknown> | null>;
68
68
  /** Options used to create the data table context value. */
69
69
  export interface UseCreateFormAppContextOptions<T> extends Omit<FormAppContextValue<T>, "store"> {
70
70
  controller: Controller<T>;
@@ -77,7 +77,7 @@ export declare function useCreateFormAppContext<T>({ controller, disabled, readO
77
77
  issuesDisplayMode: IssuesDisplayMode;
78
78
  displayIssueCodes: boolean;
79
79
  formAppElement: HTMLFormElement | null;
80
- store: Omit<import("zustand").StoreApi<FormAppState<T>>, "subscribe"> & {
80
+ store: Omit<import('zustand').StoreApi<FormAppState<T>>, "subscribe"> & {
81
81
  subscribe: {
82
82
  (listener: (selectedState: FormAppState<T>, previousSelectedState: FormAppState<T>) => void): () => void;
83
83
  <U>(selector: (state: FormAppState<T>) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
@@ -1,9 +1,9 @@
1
- import { type ComponentPropsWithoutRef, type Dispatch, type SetStateAction } from "react";
2
- import { type FormAppProps } from "./FormApp.tsx";
1
+ import { ComponentPropsWithoutRef, Dispatch, SetStateAction } from 'react';
2
+ import { FormAppProps } from './FormApp.tsx';
3
3
  /** Properties of the form application element component. */
4
4
  export interface FormAppElementProps extends Omit<ComponentPropsWithoutRef<"form">, "onSubmit" | "onReset">, Pick<FormAppProps, "minHeight"> {
5
5
  formAppElement: HTMLFormElement | null;
6
6
  setFormAppElement: Dispatch<SetStateAction<HTMLFormElement | null>>;
7
7
  }
8
8
  /** Form application element. */
9
- export declare const FormAppElement: import("react").ForwardRefExoticComponent<FormAppElementProps & import("react").RefAttributes<HTMLFormElement>>;
9
+ export declare const FormAppElement: import('react').ForwardRefExoticComponent<FormAppElementProps & import('react').RefAttributes<HTMLFormElement>>;
@@ -1,6 +1,6 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { type ReactNode } from "react";
3
- import { type IssueMessagesByCode } from "../IssueMessages";
1
+ import { Path } from '@ostack.tech/kform';
2
+ import { ReactNode } from 'react';
3
+ import { IssueMessagesByCode } from '../IssueMessages';
4
4
  /** Properties of the form app issue messages component. */
5
5
  export interface FormAppIssueMessagesProps {
6
6
  /** Base path for the paths used in `messages`. */
@@ -1,4 +1,4 @@
1
- import { type ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  /** Properties of the form app status component. */
3
3
  export interface FormAppStatusProps {
4
4
  /**
@@ -1,4 +1,4 @@
1
- export * from "./FormApp.tsx";
2
- export { useActiveIssuesPanelBreadcrumb, useDisplayIssueCodesInIssueMessages, useFocus, useFormAppElement, useFormIsDisabled, useFormIsReadOnly, useIsRegistered, useIssuesDisplayMode, useOnPathFocus, useRegisterController, useRegisteredIssueMessage, useRegisterIssueMessages, useRegisterLabel, useSetBottomPanelHeight, useSetLeftSidebarWidth, useSetTopBarHeight, useStartIssuesNavigation, } from "./FormAppContext.ts";
3
- export * from "./FormAppIssueMessages.tsx";
4
- export * from "./FormAppStatus.tsx";
1
+ export * from './FormApp.tsx';
2
+ export { useActiveIssuesPanelBreadcrumb, useDisplayIssueCodesInIssueMessages, useFocus, useFormAppElement, useFormIsDisabled, useFormIsReadOnly, useIsRegistered, useIssuesDisplayMode, useOnPathFocus, useRegisterController, useRegisteredIssueMessage, useRegisterIssueMessages, useRegisterLabel, useSetBottomPanelHeight, useSetLeftSidebarWidth, useSetTopBarHeight, useStartIssuesNavigation, } from './FormAppContext.ts';
3
+ export * from './FormAppIssueMessages.tsx';
4
+ export * from './FormAppStatus.tsx';
@@ -1,8 +1,8 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { Container, ErrorBoundary, type IconButton, type Popover, type PopoverContent, type Stack } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode } from "react";
4
- import { type IssueMessages, type IssueMessagesByCode } from "../IssueMessages";
5
- import { type IssuesPopover } from "../IssuesPopover";
1
+ import { Path } from '@ostack.tech/kform';
2
+ import { Container, ErrorBoundary, IconButton, Popover, PopoverContent, Stack } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode } from 'react';
4
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
5
+ import { IssuesPopover } from '../IssuesPopover';
6
6
  /** Properties of the form page component. */
7
7
  export interface FormPageProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
8
8
  /**
@@ -83,4 +83,4 @@ export interface FormPageProps extends Omit<ComponentPropsWithoutRef<"div">, "ch
83
83
  children?: ReactNode;
84
84
  }
85
85
  /** Form page component. */
86
- export declare const FormPage: import("react").ForwardRefExoticComponent<FormPageProps & import("react").RefAttributes<HTMLDivElement>>;
86
+ export declare const FormPage: import('react').ForwardRefExoticComponent<FormPageProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
- import { type ComponentPropsWithoutRef } from "react";
2
- import { type FormPageProps } from "./FormPage.tsx";
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { FormPageProps } from './FormPage.tsx';
3
3
  /** Properties of the form page header. */
4
4
  export interface FormPageHeaderProps extends ComponentPropsWithoutRef<"div">, Pick<FormPageProps, "helperText" | "helperButtonLabel" | "ownIssueMessages" | "codeProps" | "titleProps" | "headerPopoverContainerProps" | "issuesPopoverProps" | "issueMessagesProps" | "helperButtonProps" | "helperPopoverProps" | "helperPopoverContentProps"> {
5
5
  }
6
6
  /** Form page header. */
7
- export declare const FormPageHeader: import("react").ForwardRefExoticComponent<FormPageHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ export declare const FormPageHeader: import('react').ForwardRefExoticComponent<FormPageHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { type AbsolutePath } from "@ostack.tech/kform";
1
+ import { AbsolutePath } from '@ostack.tech/kform';
2
2
  interface FormPageSidebarItemProps {
3
3
  path: AbsolutePath;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { type AbsolutePath, Path } from "@ostack.tech/kform";
2
- import { type ComponentPropsWithoutRef, type ReactNode } from "react";
1
+ import { AbsolutePath, Path } from '@ostack.tech/kform';
2
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
3
3
  /** Properties of the form page component. */
4
4
  export interface FormPagesProps extends ComponentPropsWithoutRef<"div"> {
5
5
  /** Base path for all declared form pages. */
@@ -37,4 +37,4 @@ export interface FormPageObject<T = any> {
37
37
  issuesPanelLabel?: ReactNode | ((value: T) => ReactNode);
38
38
  }
39
39
  /** Root component used to render form pages. */
40
- export declare const FormPages: import("react").ForwardRefExoticComponent<FormPagesProps & import("react").RefAttributes<HTMLDivElement>>;
40
+ export declare const FormPages: import('react').ForwardRefExoticComponent<FormPagesProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,6 @@
1
- import { AbsolutePath, type DisplayStatus, type Path, type SealedValidationIssue } from "@ostack.tech/kform";
2
- import { type ReactNode } from "react";
3
- import { type FormPageObject, type FormPagesProps } from "./FormPages.tsx";
1
+ import { AbsolutePath, DisplayStatus, Path, SealedValidationIssue } from '@ostack.tech/kform';
2
+ import { ReactNode } from 'react';
3
+ import { FormPageObject, FormPagesProps } from './FormPages.tsx';
4
4
  /** Value of the form pages context. */
5
5
  export type FormPagesContextValue = FormPagesStore;
6
6
  /** Resolved form page object. */
@@ -39,7 +39,7 @@ export interface FormPagesActions {
39
39
  /** Form pages store. */
40
40
  export type FormPagesStore = ReturnType<typeof useCreateFormPagesContext>;
41
41
  /** Form pages context. */
42
- export declare const FormPagesContext: import("react").Context<(Omit<import("zustand").StoreApi<FormPagesState>, "subscribe"> & {
42
+ export declare const FormPagesContext: import('react').Context<(Omit<import('zustand').StoreApi<FormPagesState>, "subscribe"> & {
43
43
  subscribe: {
44
44
  (listener: (selectedState: FormPagesState, previousSelectedState: FormPagesState) => void): () => void;
45
45
  <U>(selector: (state: FormPagesState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
@@ -54,7 +54,7 @@ export interface UseCreateFormPagesContextOptions extends Pick<FormPagesProps, "
54
54
  resolvedPages: ResolvedFormPageObject[];
55
55
  }
56
56
  /** Hook used to create the form pages context. */
57
- export declare function useCreateFormPagesContext({ basePath, resolvedPages, defaultActivePage, activePage, onActivePageChange, }: UseCreateFormPagesContextOptions): Omit<import("zustand").StoreApi<FormPagesState>, "subscribe"> & {
57
+ export declare function useCreateFormPagesContext({ basePath, resolvedPages, defaultActivePage, activePage, onActivePageChange, }: UseCreateFormPagesContextOptions): Omit<import('zustand').StoreApi<FormPagesState>, "subscribe"> & {
58
58
  subscribe: {
59
59
  (listener: (selectedState: FormPagesState, previousSelectedState: FormPagesState) => void): () => void;
60
60
  <U>(selector: (state: FormPagesState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
@@ -1,6 +1,6 @@
1
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef } from "react";
2
- import { FormPagesSelect } from "./FormPagesSelect.tsx";
3
- import { FormPagesSidebar } from "./FormPagesSidebar.tsx";
1
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef } from 'react';
2
+ import { FormPagesSelect } from './FormPagesSelect.tsx';
3
+ import { FormPagesSidebar } from './FormPagesSidebar.tsx';
4
4
  /** Properties of the form pages navigation component. */
5
5
  export interface FormPagesNavigationProps extends ComponentPropsWithoutRef<"nav"> {
6
6
  /** Properties to pass to the sidebar component. */
@@ -9,4 +9,4 @@ export interface FormPagesNavigationProps extends ComponentPropsWithoutRef<"nav"
9
9
  selectProps?: ComponentPropsWithRef<typeof FormPagesSelect>;
10
10
  }
11
11
  /** Component allowing the navigation between form pages. */
12
- export declare const FormPagesNavigation: import("react").ForwardRefExoticComponent<FormPagesNavigationProps & import("react").RefAttributes<HTMLElement>>;
12
+ export declare const FormPagesNavigation: import('react').ForwardRefExoticComponent<FormPagesNavigationProps & import('react').RefAttributes<HTMLElement>>;
@@ -1,7 +1,7 @@
1
- import { Select } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithoutRef } from "react";
1
+ import { Select } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
3
  /** Properties of the form pages select component. */
4
4
  export interface FormPagesSelectProps extends Omit<ComponentPropsWithoutRef<typeof Select>, "multiple" | "defaultValue" | "value" | "onValueChange" | "showClearButton"> {
5
5
  }
6
6
  /** Select component allowing the navigation between form pages. */
7
- export declare const FormPagesSelect: import("react").ForwardRefExoticComponent<FormPagesSelectProps & import("react").RefAttributes<HTMLButtonElement>>;
7
+ export declare const FormPagesSelect: import('react').ForwardRefExoticComponent<FormPagesSelectProps & import('react').RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,4 @@
1
- import { type AbsolutePath } from "@ostack.tech/kform";
1
+ import { AbsolutePath } from '@ostack.tech/kform';
2
2
  interface FormPagesSelectOptionProps {
3
3
  path: AbsolutePath;
4
4
  }
@@ -1,6 +1,6 @@
1
- import { type ComponentPropsWithoutRef } from "react";
1
+ import { ComponentPropsWithoutRef } from 'react';
2
2
  /** Properties of the form pages sidebar component. */
3
3
  export interface FormPagesSidebarProps extends ComponentPropsWithoutRef<"aside"> {
4
4
  }
5
5
  /** Sidebar component allowing the navigation between form pages. */
6
- export declare const FormPagesSidebar: import("react").ForwardRefExoticComponent<FormPagesSidebarProps & import("react").RefAttributes<HTMLElement>>;
6
+ export declare const FormPagesSidebar: import('react').ForwardRefExoticComponent<FormPagesSidebarProps & import('react').RefAttributes<HTMLElement>>;
@@ -1,3 +1,3 @@
1
- export * from "./FormPage.tsx";
2
- export * from "./FormPages.tsx";
3
- export * from "./FormPagesNavigation.tsx";
1
+ export * from './FormPage.tsx';
2
+ export * from './FormPages.tsx';
3
+ export * from './FormPagesNavigation.tsx';
@@ -1,4 +1,4 @@
1
- import { type AbsolutePath } from "@ostack.tech/kform";
1
+ import { AbsolutePath } from '@ostack.tech/kform';
2
2
  /** Properties of the form step component. */
3
3
  export interface FormStepProps {
4
4
  path: AbsolutePath;
@@ -1,6 +1,6 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { ErrorBoundary, StepContent } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode } from "react";
1
+ import { Path } from '@ostack.tech/kform';
2
+ import { ErrorBoundary, StepContent } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode } from 'react';
4
4
  /** Properties of the form step content component. */
5
5
  export interface FormStepContentProps extends Omit<ComponentPropsWithoutRef<typeof StepContent>, "index" | "children"> {
6
6
  /**
@@ -17,4 +17,4 @@ export interface FormStepContentProps extends Omit<ComponentPropsWithoutRef<type
17
17
  children?: ReactNode;
18
18
  }
19
19
  /** Component containing the content of a form step. */
20
- export declare const FormStepContent: import("react").ForwardRefExoticComponent<FormStepContentProps & import("react").RefAttributes<HTMLDivElement>>;
20
+ export declare const FormStepContent: import('react').ForwardRefExoticComponent<FormStepContentProps & import('react').RefAttributes<HTMLDivElement>>;