@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 { StepList } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithoutRef } from "react";
1
+ import { StepList } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
3
  /** Properties of the form steps sidebar component. */
4
4
  export interface FormStepListProps extends ComponentPropsWithoutRef<typeof StepList> {
5
5
  }
6
6
  /** Component displaying all form steps in a list. */
7
- export declare const FormStepList: import("react").ForwardRefExoticComponent<FormStepListProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ export declare const FormStepList: import('react').ForwardRefExoticComponent<FormStepListProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,6 @@
1
- import { type AbsolutePath, Path, type SealedLocatedValidationIssue } from "@ostack.tech/kform";
2
- import { Stepper } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef, type ReactNode } from "react";
1
+ import { AbsolutePath, Path, SealedLocatedValidationIssue } from '@ostack.tech/kform';
2
+ import { Stepper } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
4
4
  /** Properties of the form stepper component. */
5
5
  export interface FormStepperProps extends Omit<ComponentPropsWithoutRef<typeof Stepper>, "defaultActiveStep" | "activeStep" | "onActiveStepChange"> {
6
6
  /** Base path for all declared form steps. */
@@ -68,4 +68,4 @@ export interface FormStepObject<T = any> {
68
68
  issuesPanelLabel?: ReactNode | ((value: T) => ReactNode);
69
69
  }
70
70
  /** Root component used to render form steps. */
71
- export declare const FormStepper: import("react").ForwardRefExoticComponent<FormStepperProps & import("react").RefAttributes<HTMLDivElement>>;
71
+ export declare const FormStepper: import('react').ForwardRefExoticComponent<FormStepperProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,6 @@
1
- import { type AbsolutePath, type DisplayStatus, type FormManager } from "@ostack.tech/kform";
2
- import { type ReactNode } from "react";
3
- import { type FormStepObject, type FormStepperProps } from "./FormStepper.tsx";
1
+ import { AbsolutePath, DisplayStatus, FormManager } from '@ostack.tech/kform';
2
+ import { ReactNode } from 'react';
3
+ import { FormStepObject, FormStepperProps } from './FormStepper.tsx';
4
4
  /** Value of the form stepper context. */
5
5
  export type FormStepperContextValue = FormStepperStore;
6
6
  /** Resolved form step object. */
@@ -36,7 +36,7 @@ export interface FormStepperActions {
36
36
  /** Form stepper store. */
37
37
  export type FormStepperStore = ReturnType<typeof useCreateFormStepperContext>;
38
38
  /** Form stepper context. */
39
- export declare const FormStepperContext: import("react").Context<(Omit<import("zustand").StoreApi<FormStepperState>, "subscribe"> & {
39
+ export declare const FormStepperContext: import('react').Context<(Omit<import('zustand').StoreApi<FormStepperState>, "subscribe"> & {
40
40
  subscribe: {
41
41
  (listener: (selectedState: FormStepperState, previousSelectedState: FormStepperState) => void): () => void;
42
42
  <U>(selector: (state: FormStepperState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
@@ -52,7 +52,7 @@ export interface UseCreateFormStepperContextOptions extends Pick<FormStepperProp
52
52
  resolvedSteps: ResolvedFormStepObject[];
53
53
  }
54
54
  /** Hook used to create the form stepper context. */
55
- export declare function useCreateFormStepperContext({ formManager, basePath, resolvedSteps, defaultActiveStep, activeStep, onActiveStepChange, onStepValidation, skipStepValidationOnForwardNavigation, allowForwardNavigationOnError, preventFocusOnError, }: UseCreateFormStepperContextOptions): Omit<import("zustand").StoreApi<FormStepperState>, "subscribe"> & {
55
+ export declare function useCreateFormStepperContext({ formManager, basePath, resolvedSteps, defaultActiveStep, activeStep, onActiveStepChange, onStepValidation, skipStepValidationOnForwardNavigation, allowForwardNavigationOnError, preventFocusOnError, }: UseCreateFormStepperContextOptions): Omit<import('zustand').StoreApi<FormStepperState>, "subscribe"> & {
56
56
  subscribe: {
57
57
  (listener: (selectedState: FormStepperState, previousSelectedState: FormStepperState) => void): () => void;
58
58
  <U>(selector: (state: FormStepperState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
@@ -1,3 +1,3 @@
1
- export * from "./FormStepContent.tsx";
2
- export * from "./FormStepList.tsx";
3
- export * from "./FormStepper.tsx";
1
+ export * from './FormStepContent.tsx';
2
+ export * from './FormStepList.tsx';
3
+ export * from './FormStepper.tsx';
@@ -1,6 +1,6 @@
1
- import { type Path, type ValidationIssueData } from "@ostack.tech/kform";
2
- import { Alert } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef, type ReactNode } from "react";
1
+ import { Path, ValidationIssueData } from '@ostack.tech/kform';
2
+ import { Alert } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
4
4
  /** Properties of the issue alert component. */
5
5
  export interface IssueAlertProps extends Omit<ComponentPropsWithoutRef<typeof Alert>, "severity" | "children"> {
6
6
  /** Path of the value with the issue in question. */
@@ -10,4 +10,4 @@ export interface IssueAlertProps extends Omit<ComponentPropsWithoutRef<typeof Al
10
10
  children?: ReactNode | ((issueData: ValidationIssueData) => ReactNode);
11
11
  }
12
12
  /** Component used to display an issue alert. */
13
- export declare const IssueAlert: import("react").ForwardRefExoticComponent<IssueAlertProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ export declare const IssueAlert: import('react').ForwardRefExoticComponent<IssueAlertProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- export * from "./IssueAlert.tsx";
1
+ export * from './IssueAlert.tsx';
@@ -1,5 +1,5 @@
1
- import { type AbsolutePath, type Schema, type SealedValidationIssue } from "@ostack.tech/kform";
2
- import { type ComponentPropsWithRef, type ReactNode } from "react";
1
+ import { AbsolutePath, Schema, SealedValidationIssue } from '@ostack.tech/kform';
2
+ import { ComponentPropsWithRef, ReactNode } from 'react';
3
3
  /** Properties of the issue message component. */
4
4
  export interface IssueMessageProps {
5
5
  displayIssueCode?: boolean;
@@ -1 +1 @@
1
- export * from "./IssueMessage.tsx";
1
+ export * from './IssueMessage.tsx';
@@ -1,6 +1,6 @@
1
- import { type AbsolutePath, type Path, type Schema, type SealedValidationIssue, type ValidationIssueData } from "@ostack.tech/kform";
2
- import { FeedbackList } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef, type ReactNode } from "react";
1
+ import { AbsolutePath, Path, Schema, SealedValidationIssue, ValidationIssueData } from '@ostack.tech/kform';
2
+ import { FeedbackList } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
4
4
  /** Value of an issue message. */
5
5
  export type IssueMessageValue = ReactNode | ((issueData: ValidationIssueData, schema: Schema, path: AbsolutePath) => ReactNode);
6
6
  /** Mapping of issue message codes to their respective message. */
@@ -67,4 +67,4 @@ export interface IssueMessagesProps extends ComponentPropsWithoutRef<typeof Feed
67
67
  * If `path` contains an issue without an associated issue message, a generic
68
68
  * message is displayed together with a console warning.
69
69
  */
70
- export declare const IssueMessages: import("react").ForwardRefExoticComponent<IssueMessagesProps & import("react").RefAttributes<HTMLUListElement>>;
70
+ export declare const IssueMessages: import('react').ForwardRefExoticComponent<IssueMessagesProps & import('react').RefAttributes<HTMLUListElement>>;
@@ -1 +1 @@
1
- export * from "./IssueMessages.tsx";
1
+ export * from './IssueMessages.tsx';
@@ -1,6 +1,6 @@
1
- import { type IssuesTrackerOptions } from "@ostack.tech/kform-react";
2
- import { type Card, type CardBody, type CardHeader, type CardTitle, type CloseButton, type Icon, type IconButton, type Spinner } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode } from "react";
1
+ import { IssuesTrackerOptions } from '@ostack.tech/kform-react';
2
+ import { Card, CardBody, CardHeader, CardTitle, CloseButton, Icon, IconButton, Spinner } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode } from 'react';
4
4
  /** Properties of the issues navigation component. */
5
5
  export interface IssuesPanelProps extends Pick<IssuesTrackerOptions, "issuesOrderCompareFn">, Omit<ComponentPropsWithoutRef<typeof Card>, "children" | "variant" | "color"> {
6
6
  /** Default open state of the issues navigation panel. */
@@ -103,4 +103,4 @@ export interface IssuesPanelProps extends Pick<IssuesTrackerOptions, "issuesOrde
103
103
  closeButtonProps?: ComponentPropsWithRef<typeof CloseButton>;
104
104
  }
105
105
  /** Component used to navigate through the issues of the form. */
106
- export declare const IssuesPanel: import("react").ForwardRefExoticComponent<IssuesPanelProps & import("react").RefAttributes<HTMLDivElement>>;
106
+ export declare const IssuesPanel: import('react').ForwardRefExoticComponent<IssuesPanelProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
- import { type AbsolutePath } from "@ostack.tech/kform";
2
- import { type Controller } from "@ostack.tech/kform-react";
3
- import { type IconButtonColor } from "@ostack.tech/ui";
4
- import { type IssuesPanelProps } from "./IssuesPanel.tsx";
1
+ import { AbsolutePath } from '@ostack.tech/kform';
2
+ import { Controller } from '@ostack.tech/kform-react';
3
+ import { IconButtonColor } from '@ostack.tech/ui';
4
+ import { IssuesPanelProps } from './IssuesPanel.tsx';
5
5
  /** Properties of the issues panel controls component. */
6
6
  export interface IssuesPanelControlsProps extends Pick<IssuesPanelProps, "focusButtonLabel" | "previousIssueButtonLabel" | "nextIssueButtonLabel" | "firstIssueButtonLabel" | "lastIssueButtonLabel" | "paginationLabel" | "validatingSpinnerProps" | "paginationProps" | "focusButtonProps" | "previousIssueButtonProps" | "nextIssueButtonProps" | "firstIssueButtonProps" | "lastIssueButtonProps" | "closeButtonProps"> {
7
7
  currentPagePath: AbsolutePath | null;
@@ -1,8 +1,8 @@
1
- import { type AbsolutePath } from "@ostack.tech/kform";
2
- import { type Controller, type IssuesTrackerResult } from "@ostack.tech/kform-react";
3
- import { Card, type IconButtonColor } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithoutRef, type ReactNode } from "react";
5
- import { type IssuesPanelProps } from "./IssuesPanel.tsx";
1
+ import { AbsolutePath } from '@ostack.tech/kform';
2
+ import { Controller, IssuesTrackerResult } from '@ostack.tech/kform-react';
3
+ import { Card, IconButtonColor } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
5
+ import { IssuesPanelProps } from './IssuesPanel.tsx';
6
6
  export interface IssuesPanelMessagesCardProps extends ComponentPropsWithoutRef<typeof Card>, Pick<IssuesPanelProps, "displayIssueCodes" | "unknownErrorMessage" | "unknownWarningMessage" | "errorsLabel" | "warningsLabel" | "noIssuesMessage" | "resolvedTitle" | "resolvedMessage" | "headerProps" | "bodyProps" | "loadingSpinnerProps" | "titleProps" | "iconProps"> {
7
7
  currentPagePath: AbsolutePath | null;
8
8
  currentPageController: Controller;
@@ -10,4 +10,4 @@ export interface IssuesPanelMessagesCardProps extends ComponentPropsWithoutRef<t
10
10
  currentPageIndex: number;
11
11
  renderControls: (buttonsColor?: IconButtonColor) => ReactNode;
12
12
  }
13
- export declare const IssuesPanelMessagesCard: import("react").ForwardRefExoticComponent<IssuesPanelMessagesCardProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ export declare const IssuesPanelMessagesCard: import('react').ForwardRefExoticComponent<IssuesPanelMessagesCardProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,9 +1,9 @@
1
- import { type IssuesTrackerResult } from "@ostack.tech/kform-react";
2
- import { Card, type IconButtonColor } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef, type ReactNode } from "react";
4
- import { type IssuesPanelProps } from "./IssuesPanel.tsx";
1
+ import { IssuesTrackerResult } from '@ostack.tech/kform-react';
2
+ import { Card, IconButtonColor } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
4
+ import { IssuesPanelProps } from './IssuesPanel.tsx';
5
5
  export interface IssuesPanelSummaryCardProps extends ComponentPropsWithoutRef<typeof Card>, Pick<IssuesPanelProps, "errorsLabel" | "warningsLabel" | "noIssuesMessage" | "headerProps" | "loadingSpinnerProps" | "titleProps" | "iconProps"> {
6
6
  issuesTrackerResult: IssuesTrackerResult;
7
7
  renderControls: (buttonsColor?: IconButtonColor) => ReactNode;
8
8
  }
9
- export declare const IssuesPanelSummaryCard: import("react").ForwardRefExoticComponent<IssuesPanelSummaryCardProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ export declare const IssuesPanelSummaryCard: import('react').ForwardRefExoticComponent<IssuesPanelSummaryCardProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- export * from "./IssuesPanel.tsx";
1
+ export * from './IssuesPanel.tsx';
@@ -1,6 +1,6 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { FeedbackPopover } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef } from "react";
1
+ import { Path } from '@ostack.tech/kform';
2
+ import { FeedbackPopover } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef } from 'react';
4
4
  /** Properties of the issues popover component. */
5
5
  export interface IssuesPopoverProps extends ComponentPropsWithoutRef<typeof FeedbackPopover> {
6
6
  path?: string | Path;
@@ -12,4 +12,4 @@ export interface IssuesPopoverProps extends ComponentPropsWithoutRef<typeof Feed
12
12
  relevantPaths?: (string | Path)[];
13
13
  }
14
14
  /** Component used to display issues within a popover. */
15
- export declare const IssuesPopover: import("react").ForwardRefExoticComponent<IssuesPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
15
+ export declare const IssuesPopover: import('react').ForwardRefExoticComponent<IssuesPopoverProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- export * from "./IssuesPopover.tsx";
1
+ export * from './IssuesPopover.tsx';
@@ -1,6 +1,6 @@
1
- import { type ButtonProps } from "@ostack.tech/ui";
2
- import { type ReactNode } from "react";
3
- import { type FormLoaderOptions } from "../../utils/useFormLoader.tsx";
1
+ import { ButtonProps } from '@ostack.tech/ui';
2
+ import { ReactNode } from 'react';
3
+ import { FormLoaderOptions } from '../../utils/useFormLoader.tsx';
4
4
  /** Properties of the load action. */
5
5
  export interface LoadActionProps<T = unknown> extends Omit<ButtonProps, "children">, FormLoaderOptions<T> {
6
6
  /** Action's label. */
@@ -1 +1 @@
1
- export * from "./LoadAction.tsx";
1
+ export * from './LoadAction.tsx';
@@ -1,8 +1,8 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { type Numeric, type NumericInputController, type NumericInputOptions } from "@ostack.tech/kform-react";
3
- import { NumericInput } 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 { Numeric, NumericInputController, NumericInputOptions } from '@ostack.tech/kform-react';
3
+ import { NumericInput } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ComponentRef, ReactNode, Ref } from 'react';
5
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
6
6
  /** Properties of the numeric control component. */
7
7
  export interface NumericControlProps<T extends Numeric | null = Numeric | null> extends Omit<NumericInputOptions<T, string, ComponentRef<typeof NumericInput>>, "enabled" | "formatFromString" | "parseToString">, Omit<ComponentPropsWithoutRef<typeof NumericInput>, "defaultValue" | "value" | "onValueChange" | "valueIsUnformattedString" | "status"> {
8
8
  /** Path to the value. */
@@ -42,4 +42,4 @@ export interface NumericControlProps<T extends Numeric | null = Numeric | null>
42
42
  issueMessagesProps?: Omit<ComponentPropsWithRef<typeof IssueMessages>, "path" | "issues" | "messages" | "unwrapped">;
43
43
  }
44
44
  /** Numeric control component supporting (possibly nullable) numeric schemas. */
45
- export declare const NumericControl: import("react").ForwardRefExoticComponent<NumericControlProps<Numeric | null> & import("react").RefAttributes<HTMLInputElement>>;
45
+ export declare const NumericControl: import('react').ForwardRefExoticComponent<NumericControlProps<Numeric | null> & import('react').RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- export * from "./NumericControl.tsx";
1
+ export * from './NumericControl.tsx';
@@ -1,6 +1,6 @@
1
- import { type AbsolutePath, type Path } from "@ostack.tech/kform";
2
- import { Link } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithoutRef } from "react";
1
+ import { AbsolutePath, Path } from '@ostack.tech/kform';
2
+ import { Link } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithoutRef } from 'react';
4
4
  /** Properties of the path link component. */
5
5
  export interface PathLinkProps extends Omit<ComponentPropsWithoutRef<typeof Link>, "href"> {
6
6
  /** KForm path to link to. */
@@ -1 +1 @@
1
- export * from "./PathLink.tsx";
1
+ export * from './PathLink.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 { Radio, RadioGroup } 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 { InputController, InputOptions } from '@ostack.tech/kform-react';
3
+ import { Radio, RadioGroup } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ComponentRef, Key, ReactNode, Ref } from 'react';
5
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
6
6
  /** Radio in object notation. */
7
7
  export type RadioObject<T = unknown> = Omit<ComponentPropsWithRef<typeof Radio>, "value" | "children"> & {
8
8
  /** Option value. */
@@ -53,4 +53,4 @@ export interface RadioGroupControlProps<T = unknown> extends Omit<InputOptions<T
53
53
  issueMessagesProps?: Omit<ComponentPropsWithRef<typeof IssueMessages>, "path" | "issues" | "messages" | "unwrapped">;
54
54
  }
55
55
  /** Radio group control component supporting schemas of any type. */
56
- export declare const RadioGroupControl: import("react").ForwardRefExoticComponent<RadioGroupControlProps<unknown> & import("react").RefAttributes<HTMLDivElement>>;
56
+ export declare const RadioGroupControl: import('react').ForwardRefExoticComponent<RadioGroupControlProps<unknown> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- export * from "./RadioGroupControl.tsx";
1
+ export * from './RadioGroupControl.tsx';
@@ -1,6 +1,6 @@
1
- import { type ButtonProps, DropdownMenuContent, IconButton } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithRef, type ReactNode } from "react";
3
- import { type FormSaverOptions } from "../../utils/useFormSaver.tsx";
1
+ import { ButtonProps, DropdownMenuContent, IconButton } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithRef, ReactNode } from 'react';
3
+ import { FormSaverOptions } from '../../utils/useFormSaver.tsx';
4
4
  /** Properties of the save action. */
5
5
  export interface SaveActionProps<T = unknown> extends Omit<ButtonProps, "children">, Omit<FormSaverOptions<T>, "overwrite"> {
6
6
  /** Action's label. */
@@ -1 +1 @@
1
- export * from "./SaveAction.tsx";
1
+ export * from './SaveAction.tsx';
@@ -1,9 +1,9 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { type InputController, type InputOptions } from "@ostack.tech/kform-react";
3
- import { Select } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ComponentRef, type ReactNode, type Ref } from "react";
5
- import { type OptionObject, type OptionsGroupObject } from "../../utils/options.ts";
6
- 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 { Select } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ComponentRef, ReactNode, Ref } from 'react';
5
+ import { OptionObject, OptionsGroupObject } from '../../utils/options.ts';
6
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
7
7
  /** Properties of the select control component. */
8
8
  export interface SelectControlProps<T = unknown> extends Omit<InputOptions<T, string, ComponentRef<typeof Select>>, "enabled" | "format" | "parse">, Omit<ComponentPropsWithoutRef<typeof Select>, "multiple" | "defaultValue" | "value" | "onValueChange" | "children" | "status"> {
9
9
  /** Path to the value. */
@@ -45,4 +45,4 @@ export interface SelectControlProps<T = unknown> extends Omit<InputOptions<T, st
45
45
  issueMessagesProps?: Omit<ComponentPropsWithRef<typeof IssueMessages>, "path" | "issues" | "messages" | "unwrapped">;
46
46
  }
47
47
  /** Select control component supporting schemas of any type. */
48
- export declare const SelectControl: import("react").ForwardRefExoticComponent<SelectControlProps<unknown> & import("react").RefAttributes<HTMLButtonElement>>;
48
+ export declare const SelectControl: import('react').ForwardRefExoticComponent<SelectControlProps<unknown> & import('react').RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- export * from "./SelectControl.tsx";
1
+ export * from './SelectControl.tsx';
@@ -1,9 +1,9 @@
1
- import { type Path } from "@ostack.tech/kform";
2
- import { type Listable, type ListableInputController, type ListableInputOptions } from "@ostack.tech/kform-react";
3
- import { Select } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ComponentRef, type ReactNode, type Ref } from "react";
5
- import { type OptionObject, type OptionsGroupObject } from "../../utils/options.ts";
6
- 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 { Select } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ComponentRef, ReactNode, Ref } from 'react';
5
+ import { OptionObject, OptionsGroupObject } from '../../utils/options.ts';
6
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
7
7
  /** Properties of the select multiple control component. */
8
8
  export interface SelectMultipleControlProps<T = unknown, TListable extends Listable<T> | null = Listable<T> | null> extends Omit<ListableInputOptions<T, TListable, string[], ComponentRef<typeof Select>>, "enabled" | "formatFromArray" | "parseToArray">, Omit<ComponentPropsWithoutRef<typeof Select>, "multiple" | "defaultValue" | "value" | "onValueChange" | "children" | "status"> {
9
9
  /** Path to the value. */
@@ -52,4 +52,4 @@ export interface SelectMultipleControlProps<T = unknown, TListable extends Lista
52
52
  * the control contains no elements. Note, however, that the form may still hold
53
53
  * an empty listable as value if set programmatically.
54
54
  */
55
- export declare const SelectMultipleControl: import("react").ForwardRefExoticComponent<SelectMultipleControlProps<unknown, Listable<unknown> | null> & import("react").RefAttributes<HTMLButtonElement>>;
55
+ export declare const SelectMultipleControl: import('react').ForwardRefExoticComponent<SelectMultipleControlProps<unknown, Listable<unknown> | null> & import('react').RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- export * from "./SelectMultipleControl.tsx";
1
+ export * from './SelectMultipleControl.tsx';
@@ -1,7 +1,7 @@
1
- import { type LocatedValidationWarning } from "@ostack.tech/kform";
2
- import { type SubmitOptions } from "@ostack.tech/kform-react";
3
- import { Alert, AlertDialogBody, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, Button, type ButtonProps, Checkbox } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithRef, type ReactNode } from "react";
1
+ import { LocatedValidationWarning } from '@ostack.tech/kform';
2
+ import { SubmitOptions } from '@ostack.tech/kform-react';
3
+ import { Alert, AlertDialogBody, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, Button, ButtonProps, Checkbox } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithRef, ReactNode } from 'react';
5
5
  /** Properties of the submit action. */
6
6
  export interface SubmitActionProps<T = unknown, TSubmitResult = unknown> extends Omit<ButtonProps, "children" | "onSubmit">, Pick<Required<SubmitOptions<T, TSubmitResult>>, "onSubmit">, Omit<SubmitOptions<T, TSubmitResult>, "onSubmit"> {
7
7
  /** Action's label. */
@@ -1 +1 @@
1
- export * from "./SubmitAction.tsx";
1
+ export * from './SubmitAction.tsx';
@@ -1,10 +1,10 @@
1
- import { type Path, type Table } from "@ostack.tech/kform";
2
- import { type ControllerOptions } from "@ostack.tech/kform-react";
3
- import { DataTable } from "@ostack.tech/ui";
4
- import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode, type Ref } from "react";
5
- import { type IssueMessages, type IssueMessagesByCode } from "../IssueMessages";
6
- import { type TableControlApi } from "./TableControlApi.ts";
7
- import { type TableControlColumn, type TableControlColumns } from "./TableControlColumn.tsx";
1
+ import { Path, Table } from '@ostack.tech/kform';
2
+ import { ControllerOptions } from '@ostack.tech/kform-react';
3
+ import { DataTable } from '@ostack.tech/ui';
4
+ import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode, Ref } from 'react';
5
+ import { IssueMessages, IssueMessagesByCode } from '../IssueMessages';
6
+ import { TableControlApi } from './TableControlApi.ts';
7
+ import { TableControlColumn, TableControlColumns } from './TableControlColumn.tsx';
8
8
  /** Properties of the table control component. */
9
9
  export interface TableControlProps<T = unknown, TTable extends Table<T> | null = Table<T> | null> extends Omit<ComponentPropsWithoutRef<typeof DataTable>, "columns" | "rows" | "getRows" | "rowKey" | "loading" | "defaultFilter" | "filter" | "onFilterChange" | "defaultSortBy" | "sortBy" | "defaultSortDirection" | "sortDirection" | "onSort" | "showSelectionColumn" | "defaultSelectedRows" | "selectedRows" | "onSelectedRowsChange" | "apiRef">, Omit<ControllerOptions<TTable>, "enabled"> {
10
10
  /** Control's path. */
@@ -55,7 +55,7 @@ export interface TableControlProps<T = unknown, TTable extends Table<T> | null =
55
55
  issueMessagesProps?: Omit<ComponentPropsWithRef<typeof IssueMessages>, "path" | "issues" | "messages" | "unwrapped">;
56
56
  }
57
57
  /** Table control component supporting (possibly nullable) collection schemas. */
58
- export declare const TableControl: import("react").ForwardRefExoticComponent<TableControlProps<unknown, Table<unknown> | null> & import("react").RefAttributes<HTMLTableElement>>;
58
+ export declare const TableControl: import('react').ForwardRefExoticComponent<TableControlProps<unknown, Table<unknown> | null> & import('react').RefAttributes<HTMLTableElement>>;
59
59
  /** Properties of the table control cell renderer. */
60
60
  export interface TableControlCellRendererProps<T = unknown> {
61
61
  render: NonNullable<TableControlColumn<T>["render"]>;
@@ -1,5 +1,5 @@
1
- import { Button } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithoutRef, type ReactNode } from "react";
1
+ import { Button } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
3
3
  /** Properties of the table control add row trigger component. */
4
4
  export interface TableControlAddRowTriggerProps extends ComponentPropsWithoutRef<typeof Button> {
5
5
  /**
@@ -22,4 +22,4 @@ export interface TableControlAddRowTriggerProps extends ComponentPropsWithoutRef
22
22
  * By default, it renders a button with text `defaultButtonText`, however, this
23
23
  * can be overriden by providing `children`.
24
24
  */
25
- export declare const TableControlAddRowTrigger: import("react").ForwardRefExoticComponent<TableControlAddRowTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
25
+ export declare const TableControlAddRowTrigger: import('react').ForwardRefExoticComponent<TableControlAddRowTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
@@ -1,7 +1,7 @@
1
- import { type Table, type TableRowId } from "@ostack.tech/kform";
2
- import { type Controller } from "@ostack.tech/kform-react";
3
- import { type DataTableScrollToOptions } from "@ostack.tech/ui";
4
- import { type RefObject } from "react";
1
+ import { Table, TableRowId } from '@ostack.tech/kform';
2
+ import { Controller } from '@ostack.tech/kform-react';
3
+ import { DataTableScrollToOptions } from '@ostack.tech/ui';
4
+ import { RefObject } from 'react';
5
5
  /** Imperative table control API. */
6
6
  export type TableControlApi<T = unknown, TTable extends Table<T> | null = Table<T> | null> = Controller<TTable> & {
7
7
  /**
@@ -1,7 +1,7 @@
1
- import { DataTableCell } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithoutRef } from "react";
1
+ import { DataTableCell } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
3
  /** Properties of the table control cell. */
4
4
  export interface TableControlCellProps extends ComponentPropsWithoutRef<typeof DataTableCell> {
5
5
  }
6
6
  /** Cell of the table control. */
7
- export declare const TableControlCell: import("react").ForwardRefExoticComponent<TableControlCellProps & import("react").RefAttributes<HTMLTableDataCellElement>>;
7
+ export declare const TableControlCell: import('react').ForwardRefExoticComponent<TableControlCellProps & import('react').RefAttributes<HTMLTableDataCellElement>>;
@@ -1,7 +1,7 @@
1
- import { type Controller } from "@ostack.tech/kform-react";
2
- import { type DataTableColumn } from "@ostack.tech/ui";
3
- import { type ComponentPropsWithRef, type ReactNode } from "react";
4
- import { TableControlRemoveRowTrigger } from "./TableControlRemoveRowTrigger.tsx";
1
+ import { Controller } from '@ostack.tech/kform-react';
2
+ import { DataTableColumn } from '@ostack.tech/ui';
3
+ import { ComponentPropsWithRef, ReactNode } from 'react';
4
+ import { TableControlRemoveRowTrigger } from './TableControlRemoveRowTrigger.tsx';
5
5
  /** Array of table control columns. */
6
6
  export type TableControlColumns<T = unknown> = (TableControlColumn<T> | ((tableControlStatus: TableControlStatus) => TableControlColumn<T> | false | null | undefined) | false | null | undefined)[];
7
7
  /** Status of the table control. */
@@ -1,7 +1,7 @@
1
- import { DataTableContent } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithoutRef } from "react";
1
+ import { DataTableContent } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
3
  /** Properties of the table control content component. */
4
4
  export interface TableControlContentProps extends Omit<ComponentPropsWithoutRef<typeof DataTableContent>, "status"> {
5
5
  }
6
6
  /** Component containing the content of the table control. */
7
- export declare const TableControlContent: import("react").ForwardRefExoticComponent<TableControlContentProps & import("react").RefAttributes<HTMLTableElement>>;
7
+ export declare const TableControlContent: import('react').ForwardRefExoticComponent<TableControlContentProps & import('react').RefAttributes<HTMLTableElement>>;
@@ -1,8 +1,8 @@
1
- import { type AbsolutePath, type Table, type TableRowId } from "@ostack.tech/kform";
2
- import { type FormatterController } from "@ostack.tech/kform-react";
3
- import { type Ref } from "react";
4
- import { type UseRegisterControlResult } from "../../utils/useRegisterControl.tsx";
5
- import { type TableControlRowController } from "./TableControlColumn.tsx";
1
+ import { AbsolutePath, Table, TableRowId } from '@ostack.tech/kform';
2
+ import { FormatterController } from '@ostack.tech/kform-react';
3
+ import { Ref } from 'react';
4
+ import { UseRegisterControlResult } from '../../utils/useRegisterControl.tsx';
5
+ import { TableControlRowController } from './TableControlColumn.tsx';
6
6
  /** Value of the table control context. */
7
7
  export interface TableControlContextValue<T = any, TTable extends Table<T> | null = Table<T> | null> {
8
8
  controller: TableControlController<T, TTable>;
@@ -17,10 +17,10 @@ export type TableControlController<T = any, TTable extends Table<T> | null = Tab
17
17
  removeRow: (path: AbsolutePath) => PromiseLike<void> | void;
18
18
  };
19
19
  /** Table control context. */
20
- export declare const TableControlContext: import("react").Context<TableControlContextValue<any, Table<any> | null> | null>;
20
+ export declare const TableControlContext: import('react').Context<TableControlContextValue<any, Table<any> | null> | null>;
21
21
  /** Hook providing access to the table control context. */
22
22
  export declare function useTableControlContext<T = unknown, TTable extends Table<T> | null = Table<T> | null>(): TableControlContextValue<T, TTable>;
23
23
  /** Table control row context. */
24
- export declare const TableControlRowContext: import("react").Context<TableControlRowController | null>;
24
+ export declare const TableControlRowContext: import('react').Context<TableControlRowController | null>;
25
25
  /** Hook providing access to the table control row context. */
26
26
  export declare function useTableControlRowContext<T>(): TableControlRowController<T>;
@@ -1,2 +1,2 @@
1
1
  /** Table control pagination. */
2
- export declare const TableControlPagination: import("react").ForwardRefExoticComponent<import("@ostack.tech/ui").DataTablePaginationProps & import("react").RefAttributes<HTMLDivElement>>;
2
+ export declare const TableControlPagination: import('react').ForwardRefExoticComponent<import('@ostack.tech/ui').DataTablePaginationProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
- import { IconButton } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithoutRef, type ReactNode } from "react";
1
+ import { IconButton } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
3
3
  /** Properties of the table control remove row trigger component. */
4
4
  export interface TableControlRemoveRowTriggerProps extends Omit<Partial<ComponentPropsWithoutRef<typeof IconButton>>, "children"> {
5
5
  /**
@@ -58,4 +58,4 @@ export interface TableControlRemoveRowTriggerProps extends Omit<Partial<Componen
58
58
  * By default, it renders an icon button with label `defaultButtonLabel`,
59
59
  * however, this can be overriden by providing `children`.
60
60
  */
61
- export declare const TableControlRemoveRowTrigger: import("react").ForwardRefExoticComponent<TableControlRemoveRowTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
61
+ export declare const TableControlRemoveRowTrigger: import('react').ForwardRefExoticComponent<TableControlRemoveRowTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
@@ -1,7 +1,7 @@
1
- import { DataTableRow } from "@ostack.tech/ui";
2
- import { type ComponentPropsWithoutRef } from "react";
1
+ import { DataTableRow } from '@ostack.tech/ui';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
3
  /** Properties of the table control row. */
4
4
  export interface TableControlRowProps extends ComponentPropsWithoutRef<typeof DataTableRow> {
5
5
  }
6
6
  /** Row of a table control. */
7
- export declare const TableControlRow: import("react").NamedExoticComponent<TableControlRowProps & import("react").RefAttributes<HTMLTableRowElement>>;
7
+ export declare const TableControlRow: import('react').NamedExoticComponent<TableControlRowProps & import('react').RefAttributes<HTMLTableRowElement>>;
@@ -1,2 +1,2 @@
1
1
  /** Table control rows per page. */
2
- export declare const TableControlRowsPerPage: import("react").ForwardRefExoticComponent<import("@ostack.tech/ui").DataTableRowsPerPageProps & import("react").RefAttributes<HTMLDivElement>>;
2
+ export declare const TableControlRowsPerPage: import('react').ForwardRefExoticComponent<import('@ostack.tech/ui').DataTableRowsPerPageProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,8 +1,8 @@
1
- export * from "./TableControl.tsx";
2
- export * from "./TableControlAddRowTrigger.tsx";
3
- export * from "./TableControlApi.ts";
4
- export * from "./TableControlColumn.tsx";
5
- export * from "./TableControlContent.tsx";
6
- export * from "./TableControlPagination.tsx";
7
- export * from "./TableControlRemoveRowTrigger.tsx";
8
- export * from "./TableControlRowsPerPage.tsx";
1
+ export * from './TableControl.tsx';
2
+ export * from './TableControlAddRowTrigger.tsx';
3
+ export * from './TableControlApi.ts';
4
+ export * from './TableControlColumn.tsx';
5
+ export * from './TableControlContent.tsx';
6
+ export * from './TableControlPagination.tsx';
7
+ export * from './TableControlRemoveRowTrigger.tsx';
8
+ export * from './TableControlRowsPerPage.tsx';