@ostack.tech/ui-kform 0.2.3 → 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.
- package/dist/chunks/en-C1hDoCmB.js.map +1 -1
- package/dist/locales/en-GB.js.map +1 -1
- package/dist/locales/en-US.js.map +1 -1
- package/dist/locales/fr.js.map +1 -1
- package/dist/locales/pt.js.map +1 -1
- package/dist/ostack-ui-kform.js +5176 -5176
- package/dist/ostack-ui-kform.js.map +1 -1
- package/dist/types/components/Annexes/Annex.d.ts +5 -5
- package/dist/types/components/Annexes/AnnexTab.d.ts +1 -1
- package/dist/types/components/Annexes/Annexes.d.ts +4 -4
- package/dist/types/components/Annexes/AnnexesContext.d.ts +5 -5
- package/dist/types/components/Annexes/AnnexesManager.d.ts +3 -3
- package/dist/types/components/Annexes/AnnexesMenu.d.ts +3 -3
- package/dist/types/components/Annexes/AnnexesTabList.d.ts +3 -3
- package/dist/types/components/Annexes/index.d.ts +3 -3
- package/dist/types/components/CheckboxControl/CheckboxControl.d.ts +6 -6
- package/dist/types/components/CheckboxControl/index.d.ts +1 -1
- package/dist/types/components/CheckboxGroupControl/CheckboxGroupControl.d.ts +6 -6
- package/dist/types/components/CheckboxGroupControl/index.d.ts +1 -1
- package/dist/types/components/ControlField/ControlField.d.ts +4 -4
- package/dist/types/components/ControlField/ControlFieldContext.d.ts +4 -4
- package/dist/types/components/ControlField/index.d.ts +2 -2
- package/dist/types/components/DateControl/DateControl.d.ts +6 -6
- package/dist/types/components/DateControl/index.d.ts +1 -1
- package/dist/types/components/DateRangeControl/DateRangeControl.d.ts +6 -6
- package/dist/types/components/DateRangeControl/index.d.ts +1 -1
- package/dist/types/components/FileControl/FileControl.d.ts +6 -6
- package/dist/types/components/FileControl/index.d.ts +1 -1
- package/dist/types/components/FormApp/FormApp.d.ts +8 -8
- package/dist/types/components/FormApp/FormAppContext.d.ts +7 -7
- package/dist/types/components/FormApp/FormAppElement.d.ts +3 -3
- package/dist/types/components/FormApp/FormAppIssueMessages.d.ts +3 -3
- package/dist/types/components/FormApp/FormAppStatus.d.ts +1 -1
- package/dist/types/components/FormApp/index.d.ts +4 -4
- package/dist/types/components/FormPages/FormPage.d.ts +6 -6
- package/dist/types/components/FormPages/FormPageHeader.d.ts +3 -3
- package/dist/types/components/FormPages/FormPageSidebarItem.d.ts +1 -1
- package/dist/types/components/FormPages/FormPages.d.ts +3 -3
- package/dist/types/components/FormPages/FormPagesContext.d.ts +5 -5
- package/dist/types/components/FormPages/FormPagesNavigation.d.ts +4 -4
- package/dist/types/components/FormPages/FormPagesSelect.d.ts +3 -3
- package/dist/types/components/FormPages/FormPagesSelectOption.d.ts +1 -1
- package/dist/types/components/FormPages/FormPagesSidebar.d.ts +2 -2
- package/dist/types/components/FormPages/index.d.ts +3 -3
- package/dist/types/components/FormStepper/FormStep.d.ts +1 -1
- package/dist/types/components/FormStepper/FormStepContent.d.ts +4 -4
- package/dist/types/components/FormStepper/FormStepList.d.ts +3 -3
- package/dist/types/components/FormStepper/FormStepper.d.ts +4 -4
- package/dist/types/components/FormStepper/FormStepperContext.d.ts +5 -5
- package/dist/types/components/FormStepper/index.d.ts +3 -3
- package/dist/types/components/IssueAlert/IssueAlert.d.ts +4 -4
- package/dist/types/components/IssueAlert/index.d.ts +1 -1
- package/dist/types/components/IssueMessage/IssueMessage.d.ts +2 -2
- package/dist/types/components/IssueMessage/index.d.ts +1 -1
- package/dist/types/components/IssueMessages/IssueMessages.d.ts +4 -4
- package/dist/types/components/IssueMessages/index.d.ts +1 -1
- package/dist/types/components/IssuesPanel/IssuesPanel.d.ts +4 -4
- package/dist/types/components/IssuesPanel/IssuesPanelControls.d.ts +4 -4
- package/dist/types/components/IssuesPanel/IssuesPanelMessagesCard.d.ts +6 -6
- package/dist/types/components/IssuesPanel/IssuesPanelSummaryCard.d.ts +5 -5
- package/dist/types/components/IssuesPanel/index.d.ts +1 -1
- package/dist/types/components/IssuesPopover/IssuesPopover.d.ts +4 -4
- package/dist/types/components/IssuesPopover/index.d.ts +1 -1
- package/dist/types/components/LoadAction/LoadAction.d.ts +3 -3
- package/dist/types/components/LoadAction/index.d.ts +1 -1
- package/dist/types/components/NumericControl/NumericControl.d.ts +6 -6
- package/dist/types/components/NumericControl/index.d.ts +1 -1
- package/dist/types/components/PathLink/PathLink.d.ts +3 -3
- package/dist/types/components/PathLink/index.d.ts +1 -1
- package/dist/types/components/RadioGroupControl/RadioGroupControl.d.ts +6 -6
- package/dist/types/components/RadioGroupControl/index.d.ts +1 -1
- package/dist/types/components/SaveAction/SaveAction.d.ts +3 -3
- package/dist/types/components/SaveAction/index.d.ts +1 -1
- package/dist/types/components/SelectControl/SelectControl.d.ts +7 -7
- package/dist/types/components/SelectControl/index.d.ts +1 -1
- package/dist/types/components/SelectMultipleControl/SelectMultipleControl.d.ts +7 -7
- package/dist/types/components/SelectMultipleControl/index.d.ts +1 -1
- package/dist/types/components/SubmitAction/SubmitAction.d.ts +4 -4
- package/dist/types/components/SubmitAction/index.d.ts +1 -1
- package/dist/types/components/TableControl/TableControl.d.ts +8 -8
- package/dist/types/components/TableControl/TableControlAddRowTrigger.d.ts +3 -3
- package/dist/types/components/TableControl/TableControlApi.d.ts +4 -4
- package/dist/types/components/TableControl/TableControlCell.d.ts +3 -3
- package/dist/types/components/TableControl/TableControlColumn.d.ts +4 -4
- package/dist/types/components/TableControl/TableControlContent.d.ts +3 -3
- package/dist/types/components/TableControl/TableControlContext.d.ts +7 -7
- package/dist/types/components/TableControl/TableControlPagination.d.ts +1 -1
- package/dist/types/components/TableControl/TableControlRemoveRowTrigger.d.ts +3 -3
- package/dist/types/components/TableControl/TableControlRow.d.ts +3 -3
- package/dist/types/components/TableControl/TableControlRowsPerPage.d.ts +1 -1
- package/dist/types/components/TableControl/index.d.ts +8 -8
- package/dist/types/components/TextControl/TextControl.d.ts +6 -6
- package/dist/types/components/TextControl/index.d.ts +1 -1
- package/dist/types/components/TopBar/TopBar.d.ts +2 -2
- package/dist/types/components/TopBar/TopBarActions.d.ts +3 -3
- package/dist/types/components/TopBar/index.d.ts +2 -2
- package/dist/types/components/ValidateAction/ValidateAction.d.ts +2 -2
- package/dist/types/components/ValidateAction/index.d.ts +1 -1
- package/dist/types/index.d.ts +36 -36
- package/dist/types/locales/en-GB.d.ts +1 -1
- package/dist/types/locales/en-US.d.ts +1 -1
- package/dist/types/locales/en.d.ts +1 -1
- package/dist/types/locales/fr.d.ts +1 -1
- package/dist/types/locales/index.d.ts +4 -4
- package/dist/types/locales/pt.d.ts +1 -1
- package/dist/types/providers/LocalizationProvider/LocalizationContext.d.ts +2 -2
- package/dist/types/providers/LocalizationProvider/LocalizationObject.d.ts +14 -14
- package/dist/types/providers/LocalizationProvider/LocalizationProvider.d.ts +3 -3
- package/dist/types/providers/LocalizationProvider/index.d.ts +4 -4
- package/dist/types/providers/LocalizationProvider/useLocale.d.ts +1 -1
- package/dist/types/providers/PrefixSuffixProvider/PrefixSuffixContext.d.ts +1 -1
- package/dist/types/providers/PrefixSuffixProvider/PrefixSuffixProvider.d.ts +2 -2
- package/dist/types/providers/PrefixSuffixProvider/defaultPrefixSuffix.d.ts +1 -1
- package/dist/types/providers/PrefixSuffixProvider/index.d.ts +4 -4
- package/dist/types/providers/PrefixSuffixProvider/usePrefix.d.ts +1 -1
- package/dist/types/utils/dateRestrictions.d.ts +2 -2
- package/dist/types/utils/displayStatusConversions.d.ts +2 -2
- package/dist/types/utils/mostSpecificPath.d.ts +1 -1
- package/dist/types/utils/options.d.ts +2 -2
- package/dist/types/utils/pathSpecificity.d.ts +1 -1
- package/dist/types/utils/selectionTransformations.d.ts +4 -4
- package/dist/types/utils/useControlAutofocus.d.ts +2 -2
- package/dist/types/utils/useControlIssues.d.ts +3 -3
- package/dist/types/utils/useFormLoader.d.ts +3 -3
- package/dist/types/utils/useFormSaver.d.ts +3 -3
- package/dist/types/utils/useRegisterControl.d.ts +3 -3
- package/dist/types/utils/useReportValidationFailures.d.ts +1 -1
- package/dist/types/utils/useTemporalStringTransformer.d.ts +3 -3
- package/package.json +8 -23
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ErrorBoundary, TabContent } from
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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(
|
|
46
|
+
export declare const Annex: import('react').ForwardRefExoticComponent<AnnexProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Tabs } from
|
|
3
|
-
import {
|
|
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(
|
|
95
|
+
export declare const Annexes: import('react').ForwardRefExoticComponent<AnnexesProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbsolutePath,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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(
|
|
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(
|
|
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 {
|
|
2
|
-
import {
|
|
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(
|
|
47
|
+
export declare const AnnexesManager: import('react').ForwardRefExoticComponent<AnnexesManagerProps & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Button, DropdownMenu, DropdownMenuContent } from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
|
2
|
-
import {
|
|
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(
|
|
8
|
+
export declare const AnnexesTabList: import('react').ForwardRefExoticComponent<AnnexTabListProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './Annex.tsx';
|
|
2
|
+
export * from './Annexes.tsx';
|
|
3
|
+
export * from './AnnexesManager.tsx';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Checkbox,
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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(
|
|
48
|
+
export declare const CheckboxControl: import('react').ForwardRefExoticComponent<CheckboxControlProps<boolean | null> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './CheckboxControl.tsx';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Checkbox, CheckboxGroup } from
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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(
|
|
63
|
+
export declare const CheckboxGroupControl: import('react').ForwardRefExoticComponent<CheckboxGroupControlProps<unknown, Listable<unknown> | null> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './CheckboxGroupControl.tsx';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Path } from
|
|
2
|
-
import { Field } from
|
|
3
|
-
import {
|
|
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(
|
|
50
|
+
export declare const ControlField: import('react').ForwardRefExoticComponent<ControlFieldProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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(
|
|
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(
|
|
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
|
|
2
|
-
export { useIsInControlField, useRegisterControllerWithinControlField, } from
|
|
1
|
+
export * from './ControlField.tsx';
|
|
2
|
+
export { useIsInControlField, useRegisterControllerWithinControlField, } from './ControlFieldContext.ts';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { DateInput } from
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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(
|
|
45
|
+
export declare const DateControl: import('react').ForwardRefExoticComponent<DateControlProps<Temporal | null> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './DateControl.tsx';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { DateRangeInput } from
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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(
|
|
79
|
+
export declare const DateRangeControl: import('react').ForwardRefExoticComponent<DateRangeControlProps<Temporal | null, Temporal | null> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './DateRangeControl.tsx';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Input } from
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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(
|
|
68
|
+
export declare const FileControl: import('react').ForwardRefExoticComponent<FileControlProps<KFormFile | null> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './FileControl.tsx';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AbsolutePath,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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(
|
|
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(
|
|
218
|
+
} & import('react').RefAttributes<HTMLFormElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AbsolutePath,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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(
|
|
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(
|
|
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 {
|
|
2
|
-
import {
|
|
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(
|
|
9
|
+
export declare const FormAppElement: import('react').ForwardRefExoticComponent<FormAppElementProps & import('react').RefAttributes<HTMLFormElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
-
export * from
|
|
2
|
-
export { useActiveIssuesPanelBreadcrumb, useDisplayIssueCodesInIssueMessages, useFocus, useFormAppElement, useFormIsDisabled, useFormIsReadOnly, useIsRegistered, useIssuesDisplayMode, useOnPathFocus, useRegisterController, useRegisteredIssueMessage, useRegisterIssueMessages, useRegisterLabel, useSetBottomPanelHeight, useSetLeftSidebarWidth, useSetTopBarHeight, useStartIssuesNavigation, } from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
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 {
|
|
2
|
-
import { Container, ErrorBoundary,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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(
|
|
86
|
+
export declare const FormPage: import('react').ForwardRefExoticComponent<FormPageProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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(
|
|
7
|
+
export declare const FormPageHeader: import('react').ForwardRefExoticComponent<FormPageHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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(
|
|
40
|
+
export declare const FormPages: import('react').ForwardRefExoticComponent<FormPagesProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbsolutePath,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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(
|
|
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(
|
|
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 {
|
|
2
|
-
import { FormPagesSelect } from
|
|
3
|
-
import { FormPagesSidebar } from
|
|
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(
|
|
12
|
+
export declare const FormPagesNavigation: import('react').ForwardRefExoticComponent<FormPagesNavigationProps & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Select } from
|
|
2
|
-
import {
|
|
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(
|
|
7
|
+
export declare const FormPagesSelect: import('react').ForwardRefExoticComponent<FormPagesSelectProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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(
|
|
6
|
+
export declare const FormPagesSidebar: import('react').ForwardRefExoticComponent<FormPagesSidebarProps & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './FormPage.tsx';
|
|
2
|
+
export * from './FormPages.tsx';
|
|
3
|
+
export * from './FormPagesNavigation.tsx';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ErrorBoundary, StepContent } from
|
|
3
|
-
import {
|
|
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(
|
|
20
|
+
export declare const FormStepContent: import('react').ForwardRefExoticComponent<FormStepContentProps & import('react').RefAttributes<HTMLDivElement>>;
|