@smart-factor/gem-ui-components 0.0.90 → 0.0.92

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 (189) hide show
  1. package/dist/Drawer-Q3D0v6B2.js +2028 -0
  2. package/dist/SignEditor.js +14323 -14351
  3. package/dist/Stack-CdVfRhco.js +7503 -0
  4. package/dist/Tree-xeWEfulP.js +3135 -0
  5. package/dist/components/AccordionSummary/AccordionSummary.d.ts +0 -1
  6. package/dist/components/AccordionSummary/AccordionSummary.stories.d.ts +0 -1
  7. package/dist/components/AccordionSummary/AccordionSummary.styles.d.ts +4 -5
  8. package/dist/components/Button/Button.d.ts +0 -2
  9. package/dist/components/Button/Button.stories.d.ts +0 -1
  10. package/dist/components/Button/Button.styles.d.ts +3 -4
  11. package/dist/components/Button/ButtonAdd.d.ts +0 -1
  12. package/dist/components/ButtonPreviewAttachment/ButtonPreviewAttachment.d.ts +0 -1
  13. package/dist/components/ButtonPreviewAttachment/ButtonPreviewAttachment.stories.d.ts +0 -1
  14. package/dist/components/ButtonWithIcon/ButtonWithIcon.d.ts +0 -1
  15. package/dist/components/ButtonWithIcon/ButtonWithIcon.stories.d.ts +0 -1
  16. package/dist/components/Dialog/Dialog.d.ts +0 -1
  17. package/dist/components/Dialog/Dialog.stories.d.ts +34 -4
  18. package/dist/components/Dialog/Dialog.styles.d.ts +5 -6
  19. package/dist/components/Dialog/types.d.ts +0 -1
  20. package/dist/components/Dialogs/ConfirmDialog/ConfirmDialog.d.ts +0 -1
  21. package/dist/components/Dialogs/ConfirmDialog/ConfirmDialog.styles.d.ts +0 -1
  22. package/dist/components/Dialogs/EditDialog/EditDialog.d.ts +0 -1
  23. package/dist/components/Dialogs/EditDialog/EditDialog.styles.d.ts +0 -1
  24. package/dist/components/Drawer/Drawer.d.ts +0 -1
  25. package/dist/components/Drawer/Drawer.stories.d.ts +0 -1
  26. package/dist/components/Drawer/DrawerContent.d.ts +0 -1
  27. package/dist/components/Drawer/DrawerFooter.d.ts +0 -1
  28. package/dist/components/Drawer/DrawerHeader.d.ts +0 -1
  29. package/dist/components/Drawer/index.js +1 -1
  30. package/dist/components/Dropzone/Dropzone.stories.d.ts +0 -1
  31. package/dist/components/Dropzone/Dropzone.styles.d.ts +4 -5
  32. package/dist/components/Dropzone/DropzoneField.d.ts +0 -1
  33. package/dist/components/ElementsPicker/ElementsPicker.d.ts +0 -1
  34. package/dist/components/ElementsPicker/ElementsPicker.stories.d.ts +21 -4
  35. package/dist/components/ElementsPicker/ElementsPickerElement.d.ts +0 -1
  36. package/dist/components/FixedActionsBottomPanel/FixedActionsBottomPanel.d.ts +0 -1
  37. package/dist/components/FixedActionsBottomPanel/FixedActionsBottomPanel.stories.d.ts +0 -1
  38. package/dist/components/FixedActionsBottomPanel/FixedActionsBottomPanel.styles.d.ts +1 -2
  39. package/dist/components/FormComponents/Autocomplete/Autocomplete.d.ts +0 -1
  40. package/dist/components/FormComponents/Autocomplete/Autocomplete.stories.d.ts +0 -1
  41. package/dist/components/FormComponents/Autocomplete/Autocomplete.styles.d.ts +0 -1
  42. package/dist/components/FormComponents/Autocomplete/types.d.ts +0 -1
  43. package/dist/components/FormComponents/ContextualSearch/ContextualSearch.d.ts +0 -1
  44. package/dist/components/FormComponents/ContextualSearch/ContextualSearch.stories.d.ts +0 -1
  45. package/dist/components/FormComponents/ContextualSearch/ContextualSearch.styles.d.ts +1 -2
  46. package/dist/components/FormComponents/ContextualSearch/ContextualSearchControlled.d.ts +0 -1
  47. package/dist/components/FormComponents/ContextualSearch/ContextualSearchListListbox.d.ts +0 -1
  48. package/dist/components/FormComponents/ContextualSearch/mock.d.ts +0 -1
  49. package/dist/components/FormComponents/DatePicker/DatePicker.d.ts +0 -1
  50. package/dist/components/FormComponents/DatePicker/DatePicker.stories.d.ts +22 -4
  51. package/dist/components/FormComponents/DatePicker/DatePicker.styles.d.ts +2 -3
  52. package/dist/components/FormComponents/DateTimePicker/DateTimePicker.d.ts +0 -1
  53. package/dist/components/FormComponents/DateTimePicker/DateTimePicker.stories.d.ts +22 -4
  54. package/dist/components/FormComponents/DateTimePicker/DateTimePicker.styles.d.ts +2 -3
  55. package/dist/components/FormComponents/Input/Input.d.ts +0 -1
  56. package/dist/components/FormComponents/Input/Input.stories.d.ts +0 -1
  57. package/dist/components/FormComponents/RadioChips/RadioChips.d.ts +1 -3
  58. package/dist/components/FormComponents/RadioChips/RadioChips.stories.d.ts +22 -4
  59. package/dist/components/FormComponents/RadioChips/RadioChips.styles.d.ts +3 -4
  60. package/dist/components/FormComponents/SearchInput/SearchInput.d.ts +0 -1
  61. package/dist/components/FormComponents/SearchInput/SearchInput.stories.d.ts +20 -3
  62. package/dist/components/FormComponents/Select/Select.d.ts +1 -2
  63. package/dist/components/FormComponents/Select/Select.stories.d.ts +26 -4
  64. package/dist/components/FormComponents/Select/Select.styles.d.ts +1 -2
  65. package/dist/components/FormComponents/TimePicker/TimePicker.d.ts +0 -1
  66. package/dist/components/FormComponents/TimePicker/TimePicker.stories.d.ts +22 -4
  67. package/dist/components/FormComponents/TimePicker/TimePicker.styles.d.ts +3 -4
  68. package/dist/components/Grid/Grid.d.ts +0 -1
  69. package/dist/components/Grid/types.d.ts +0 -1
  70. package/dist/components/Grid/useGridInitialState.d.ts +3 -5
  71. package/dist/components/GridCell/GridCell.d.ts +0 -1
  72. package/dist/components/LoadingBackdrop/LoadingBackdrop.d.ts +0 -1
  73. package/dist/components/LoadingBackdrop/LoadingBackdrop.stories.d.ts +0 -1
  74. package/dist/components/MuiLikeWrapper/MuiLikeWrapper.d.ts +0 -1
  75. package/dist/components/MuiLikeWrapper/MuiLikeWrapper.stories.d.ts +0 -1
  76. package/dist/components/MuiLikeWrapper/MuiLikeWrapper.styles.d.ts +3 -4
  77. package/dist/components/PaginatedPopover/PaginatedPopover.d.ts +0 -1
  78. package/dist/components/PaginatedPopover/PaginatedPopover.stories.d.ts +0 -1
  79. package/dist/components/PaginatedPopover/PaginatedPopover.styles.d.ts +8 -9
  80. package/dist/components/PaginatedPopover/PaginatedPopoverContent.d.ts +2 -3
  81. package/dist/components/PaginatedPopover/PaginatedPopoverHeader.d.ts +0 -1
  82. package/dist/components/PaginatedPopover/types.d.ts +0 -1
  83. package/dist/components/ResizableWrapper/ResizableWrapper.d.ts +0 -1
  84. package/dist/components/ResizableWrapper/ResizableWrapper.stories.d.ts +0 -1
  85. package/dist/components/ResizableWrapper/ResizableWrapper.styles.d.ts +2 -3
  86. package/dist/components/SignEditor/SignEditor.d.ts +0 -1
  87. package/dist/components/SignEditor/SignEditor.stories.d.ts +0 -1
  88. package/dist/components/SignEditor/SignEditor.styles.d.ts +12 -11
  89. package/dist/components/SignEditor/SignEditorCanvas.d.ts +0 -1
  90. package/dist/components/SignEditor/SignEditorCanvasHeader.d.ts +0 -1
  91. package/dist/components/SignEditor/SignEditorContext.d.ts +0 -1
  92. package/dist/components/SignEditor/SignEditorContextProvider.d.ts +0 -1
  93. package/dist/components/SignEditor/SignEditorEditDialog.d.ts +0 -1
  94. package/dist/components/SignEditor/SignEditorImage.d.ts +0 -1
  95. package/dist/components/SignEditor/SignEditorImagesList.d.ts +0 -1
  96. package/dist/components/SignEditor/SignEditorSaveDialog.d.ts +0 -1
  97. package/dist/components/SignEditor/useOnSvgSelected.d.ts +0 -1
  98. package/dist/components/SignEditor/useSaveStencil.d.ts +0 -1
  99. package/dist/components/SignEditor/useSvgMount.d.ts +0 -1
  100. package/dist/components/SimpleAutocomplete/SimpleAutocomplete.d.ts +0 -1
  101. package/dist/components/SimpleAutocomplete/SimpleAutocomplete.stories.d.ts +0 -1
  102. package/dist/components/SimpleInput/SimpleInput.d.ts +0 -1
  103. package/dist/components/SimpleInput/SimpleInput.stories.d.ts +0 -1
  104. package/dist/components/SimpleSelect/SimpleSelect.d.ts +3 -4
  105. package/dist/components/SimpleSelect/SimpleSelect.stories.d.ts +0 -1
  106. package/dist/components/Stepper/Stepper.d.ts +0 -1
  107. package/dist/components/Stepper/Stepper.stories.d.ts +25 -5
  108. package/dist/components/Stepper/Stepper.styles.d.ts +3 -4
  109. package/dist/components/StickyContainer/StickyContainer.d.ts +0 -1
  110. package/dist/components/StickyContainer/StickyContainer.stories.d.ts +0 -1
  111. package/dist/components/StickyContainer/StickyContainer.styles.d.ts +2 -3
  112. package/dist/components/SvgImage/SvgImage.d.ts +0 -1
  113. package/dist/components/SvgImage/SvgImage.styles.d.ts +1 -2
  114. package/dist/components/TableComponents/ContextMenu/ContextMenu.d.ts +0 -1
  115. package/dist/components/TableComponents/ContextMenu/ContextMenu.stories.d.ts +0 -1
  116. package/dist/components/TableComponents/ContextMenu/ContextMenuContext.d.ts +0 -1
  117. package/dist/components/TableComponents/ContextMenu/ContextMenuItem.d.ts +0 -1
  118. package/dist/components/TableComponents/ContextMenu/ContextMenuPropsContext/ContextMenuPropsContext.d.ts +0 -1
  119. package/dist/components/TableComponents/TableActions/TableActions.d.ts +0 -1
  120. package/dist/components/TableComponents/TableActions/TableActions.stories.d.ts +0 -1
  121. package/dist/components/TableComponents/TableCustomToolbar/TableCustomToolbar.d.ts +0 -1
  122. package/dist/components/TableComponents/TableExportButton/TableExportButton.d.ts +0 -1
  123. package/dist/components/TableComponents/TableRecord/TableRecord.d.ts +0 -1
  124. package/dist/components/TableComponents/TableWithPagination/TableWithPagination.d.ts +0 -1
  125. package/dist/components/TableComponents/TableWithPagination/TableWithPagination.stories.d.ts +0 -1
  126. package/dist/components/TableComponents/TableWithPagination/TableWrapper.d.ts +0 -1
  127. package/dist/components/TableComponents/TableWithPagination/types.d.ts +0 -1
  128. package/dist/components/TabsPanel/TabsPanel.d.ts +0 -1
  129. package/dist/components/TabsPanel/TabsPanel.stories.d.ts +27 -4
  130. package/dist/components/TabsPanel/TabsPanel.styles.d.ts +7 -8
  131. package/dist/components/Toast/Toast.stories.d.ts +0 -1
  132. package/dist/components/Toast/Toast.styles.d.ts +4 -5
  133. package/dist/components/Toast/ToastContent.d.ts +0 -1
  134. package/dist/components/Toast/errorToast.d.ts +0 -1
  135. package/dist/components/Toast/infoToast.d.ts +0 -1
  136. package/dist/components/Toast/successToast.d.ts +0 -1
  137. package/dist/components/Tree/Tree.d.ts +0 -1
  138. package/dist/components/Tree/Tree.stories.d.ts +0 -1
  139. package/dist/components/Tree/index.js +1 -1
  140. package/dist/consts/data-grid.d.ts +32 -27
  141. package/dist/helpers/columns/getBooleanColumn.d.ts +0 -1
  142. package/dist/helpers/columns/getDateColumn.d.ts +0 -1
  143. package/dist/helpers/columns/getDateTimeColumn.d.ts +0 -1
  144. package/dist/helpers/columns/getNumericColumn.d.ts +0 -1
  145. package/dist/helpers/columns/getStaticColumn.d.ts +0 -1
  146. package/dist/helpers/columns/getStringColumn.d.ts +0 -1
  147. package/dist/helpers/date/formatDate.d.ts +0 -1
  148. package/dist/helpers/date/formatDateTime.d.ts +0 -1
  149. package/dist/helpers/sortColumns.d.ts +0 -1
  150. package/dist/helpers/zodTransforms.d.ts +0 -1
  151. package/dist/hooks/useContextMenu.d.ts +0 -1
  152. package/dist/hooks/useDataGridInitialState.d.ts +3 -5
  153. package/dist/hooks/useDataGridState.d.ts +2 -4
  154. package/dist/hooks/useDebounce.d.ts +1 -1
  155. package/dist/hooks/useGetFileUrl.d.ts +0 -1
  156. package/dist/hooks/useTableQuery/getLogicOperator.d.ts +0 -1
  157. package/dist/hooks/useTableQuery/normalizeFilterModel.d.ts +0 -1
  158. package/dist/hooks/useTableQuery/useDataGridQueryState.d.ts +0 -1
  159. package/dist/hooks/useTableQuery/useExportGridAsExcel.d.ts +0 -1
  160. package/dist/hooks/useTableQuery/useExportToExcel.d.ts +0 -1
  161. package/dist/hooks/useTableQuery/usePaginationAndSort.d.ts +0 -1
  162. package/dist/hooks/useTableQuery/useTableFilter.d.ts +0 -1
  163. package/dist/hooks/useTableQuery/useTableQuery.d.ts +2 -3
  164. package/dist/licenses.txt +376 -295
  165. package/dist/main.js +2574 -1949
  166. package/dist/providers/QueryClientProvider.d.ts +0 -1
  167. package/dist/services/api.d.ts +0 -1
  168. package/dist/services/generated/api.d.ts +4 -4
  169. package/dist/services/mutations/roadSigns/useCreateRoadSignFile.d.ts +0 -1
  170. package/dist/services/mutations/roadSigns/useCreateRoadSignTemplate.d.ts +0 -1
  171. package/dist/services/mutations/stencils/useCreateStencil.d.ts +0 -1
  172. package/dist/services/mutations/stencils/useCreateStencilFile.d.ts +0 -1
  173. package/dist/services/mutations/stencils/useDeleteStencil.d.ts +0 -1
  174. package/dist/services/mutations/stencils/useUpdateStencil.d.ts +0 -1
  175. package/dist/services/mutations/stencils/useUpdateStencilFile.d.ts +0 -1
  176. package/dist/services/queries/roadSigns/useGetRoadSignNameUnique.d.ts +1 -2
  177. package/dist/services/queries/roadSigns/useGetRoadSignsByGroupName.d.ts +1 -2
  178. package/dist/services/queries/roadSigns/useGetRoadSignsGroups.d.ts +1 -2
  179. package/dist/services/queries/stencils/useGetStencilGroups.d.ts +1 -2
  180. package/dist/services/queries/stencils/useGetStencils.d.ts +1 -2
  181. package/dist/theme-Da36hI_g.js +259278 -0
  182. package/dist/warning-VmSVedfJ.js +88 -0
  183. package/package.json +60 -55
  184. package/dist/Drawer-CldXrceX.js +0 -2112
  185. package/dist/Stack-CU3sSZaK.js +0 -6619
  186. package/dist/Tree-zB7xEw6c.js +0 -2895
  187. package/dist/services/generated/api-candidate.d.ts +0 -22942
  188. package/dist/theme-BwMNxR51.js +0 -262511
  189. package/dist/useFormControl-v82Vw7n0.js +0 -68
@@ -1,6 +1,5 @@
1
1
  import { FC } from 'react';
2
2
  import { AccordionSummaryProps as MuiAccordionSummaryProps } from '@mui/material';
3
-
4
3
  export type AccordionSummaryProps = Omit<MuiAccordionSummaryProps, 'expandIcon'> & {
5
4
  isSub?: boolean;
6
5
  };
@@ -1,6 +1,5 @@
1
1
  import { AccordionSummary } from './AccordionSummary';
2
2
  import { Meta, StoryObj } from '@storybook/react';
3
-
4
3
  declare const meta: Meta<typeof AccordionSummary>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const StyledAccordionSummary: import('@emotion/styled').StyledComponent<import('@mui/material').AccordionSummaryOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
4
- }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
2
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
3
+ }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "expandIcon" | "slots" | "slotProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
5
4
  export declare const StyledAccordionSummarySub: import('@emotion/styled').StyledComponent<import('@mui/material').AccordionSummaryOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
- ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
7
- }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
5
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
6
+ }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "expandIcon" | "slots" | "slotProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -1,7 +1,5 @@
1
1
  import { ButtonProps as ButtonPropsMUI } from '@mui/material';
2
-
3
2
  export interface ButtonProps extends ButtonPropsMUI {
4
- children: React.ReactNode;
5
3
  width?: string;
6
4
  loading?: boolean;
7
5
  }
@@ -1,6 +1,5 @@
1
1
  import { Button } from './Button';
2
2
  import { Meta, StoryObj } from '@storybook/react';
3
-
4
3
  declare const meta: Meta<typeof Button>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  export declare const StyledButton: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
3
- ref?: ((instance: HTMLButtonElement | null) => void) | import('react').RefObject<HTMLButtonElement> | null | undefined;
4
- }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "size" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
5
- width?: string | undefined;
2
+ ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
3
+ }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "loading" | "size" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
4
+ width?: string;
6
5
  }, {}, {}>;
@@ -1,3 +1,2 @@
1
1
  import { ButtonProps } from './Button';
2
-
3
2
  export declare const ButtonAdd: ({ children, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { FC } from 'react';
2
2
  import { IconButtonProps } from '@mui/material';
3
-
4
3
  export interface ButtonPreviewAttachmentProps {
5
4
  href: string;
6
5
  fileName: string;
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
2
  import { ButtonPreviewAttachment, ButtonPreviewAttachmentProps } from './ButtonPreviewAttachment';
3
-
4
3
  declare const meta: Meta<typeof ButtonPreviewAttachment>;
5
4
  export default meta;
6
5
  type Story = StoryObj<ButtonPreviewAttachmentProps>;
@@ -1,5 +1,4 @@
1
1
  import { ButtonProps } from '../Button/Button';
2
-
3
2
  export interface ButtonWithIconProps extends ButtonProps {
4
3
  Icon: React.ReactNode;
5
4
  variant: ButtonProps['variant'];
@@ -1,6 +1,5 @@
1
1
  import { ButtonWithIcon } from './ButtonWithIcon';
2
2
  import { Meta, StoryObj } from '@storybook/react';
3
-
4
3
  declare const meta: Meta<typeof ButtonWithIcon>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1,5 +1,4 @@
1
1
  import { DialogProps } from './types';
2
-
3
2
  export declare const Dialog: {
4
3
  ({ title, subtitle, onClose, children, disableBackdropClick, ...props }: DialogProps): import("react/jsx-runtime").JSX.Element;
5
4
  Actions: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,7 +1,37 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { Dialog } from './Dialog';
3
-
4
- declare const meta: Meta<typeof Dialog>;
1
+ import { StoryObj } from '@storybook/react';
2
+ import { DialogProps } from './types';
3
+ declare const meta: {
4
+ title: string;
5
+ component: {
6
+ ({ title, subtitle, onClose, children, disableBackdropClick, ...props }: DialogProps): import("react/jsx-runtime").JSX.Element;
7
+ Actions: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ };
9
+ argTypes: {
10
+ open: {
11
+ control: false;
12
+ };
13
+ onClose: {
14
+ control: false;
15
+ };
16
+ children: {
17
+ control: false;
18
+ };
19
+ };
20
+ args: {
21
+ disableBackdropClick: false;
22
+ };
23
+ parameters: {
24
+ layout: string;
25
+ docs: {
26
+ description: {
27
+ component: string;
28
+ };
29
+ };
30
+ controls: {
31
+ exclude: RegExp;
32
+ };
33
+ };
34
+ };
5
35
  export default meta;
6
36
  type Story = StoryObj<typeof meta>;
7
37
  export declare const Docs: Story;
@@ -1,15 +1,14 @@
1
- /// <reference types="react" />
2
1
  export declare const Dialog: import('@emotion/styled').StyledComponent<import('@mui/material').DialogProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
3
2
  export declare const HeaderWrapper: import('@emotion/styled').StyledComponent<import('@mui/material').StackOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
- ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
3
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
5
4
  }, keyof import('@mui/material/OverridableComponent').CommonProps | keyof import('@mui/material').StackOwnProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
6
5
  export declare const Title: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
7
- ref?: ((instance: HTMLSpanElement | null) => void) | import('react').RefObject<HTMLSpanElement> | null | undefined;
6
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
8
7
  }, "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
9
8
  export declare const Subtitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
10
- ref?: ((instance: HTMLSpanElement | null) => void) | import('react').RefObject<HTMLSpanElement> | null | undefined;
9
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
11
10
  }, "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
12
11
  export declare const Actions: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
12
  export declare const CloseButton: import('@emotion/styled').StyledComponent<import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
14
- ref?: ((instance: HTMLButtonElement | null) => void) | import('react').RefObject<HTMLButtonElement> | null | undefined;
15
- }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "size" | "disableFocusRipple" | "edge"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
13
+ ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
14
+ }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "loading" | "size" | "disableFocusRipple" | "loadingIndicator" | "edge"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -1,5 +1,4 @@
1
1
  import { DialogProps as MuiDialogProps } from '@mui/material';
2
-
3
2
  export interface DialogHeaderProps {
4
3
  title: string;
5
4
  subtitle?: string;
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
-
3
2
  interface ConfirmDialog {
4
3
  open: boolean;
5
4
  onSubmit: () => void;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const Actions: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,6 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { DialogProps } from '../../Dialog/types';
3
-
4
3
  interface EditDialogProps extends DialogProps {
5
4
  open: boolean;
6
5
  onSubmit: () => void;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const Actions: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -2,7 +2,6 @@ import { DrawerProps as MuiDrawerProps } from '@mui/material';
2
2
  import { DrawerContentProps } from './DrawerContent';
3
3
  import { DrawerFooterProps } from './DrawerFooter';
4
4
  import { DrawerHeaderProps } from './DrawerHeader';
5
-
6
5
  export type DrawerProps = MuiDrawerProps & {
7
6
  width?: number;
8
7
  loading?: boolean;
@@ -1,6 +1,5 @@
1
1
  import { Drawer } from './Drawer';
2
2
  import { Meta, StoryObj } from '@storybook/react';
3
-
4
3
  declare const meta: Meta<typeof Drawer>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1,5 +1,4 @@
1
1
  import { FC, ReactNode } from 'react';
2
-
3
2
  export interface DrawerContentProps {
4
3
  children: ReactNode;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { FC, ReactNode } from 'react';
2
-
3
2
  export interface DrawerFooterProps {
4
3
  children: ReactNode | ReactNode[];
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
-
3
2
  export interface DrawerHeaderProps {
4
3
  children: string;
5
4
  onClose: () => void;
@@ -1,4 +1,4 @@
1
- import { D as e } from "../../Drawer-CldXrceX.js";
1
+ import { D as e } from "../../Drawer-Q3D0v6B2.js";
2
2
  export {
3
3
  e as Drawer
4
4
  };
@@ -1,6 +1,5 @@
1
1
  import { Dropzone } from './Dropzone';
2
2
  import { Meta, StoryObj } from '@storybook/react';
3
-
4
3
  declare const meta: Meta<typeof Dropzone>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1,16 +1,15 @@
1
- /// <reference types="react" />
2
1
  export declare const FileNameText: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
- ref?: ((instance: HTMLSpanElement | null) => void) | import('react').RefObject<HTMLSpanElement> | null | undefined;
2
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
4
3
  }, "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
5
4
  export declare const HighlightedDropzoneText: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
6
- ref?: ((instance: HTMLSpanElement | null) => void) | import('react').RefObject<HTMLSpanElement> | null | undefined;
5
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
7
6
  }, "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
8
7
  export declare const UploadedFileIconWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
8
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
10
9
  }, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
11
10
  export declare const StyledImage: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
12
11
  export declare const StyledDropzoneWrapper: import('@emotion/styled').StyledComponent<import('@mui/material').StackOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
13
- ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
12
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
14
13
  }, keyof import('@mui/material/OverridableComponent').CommonProps | keyof import('@mui/material').StackOwnProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
15
14
  isUploaded: boolean;
16
15
  isError: boolean;
@@ -1,5 +1,4 @@
1
1
  import { Control, FieldValues, Path } from 'react-hook-form';
2
-
3
2
  interface DropFieldProps<T extends FieldValues> {
4
3
  name: Path<T>;
5
4
  control: Control<T>;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ToggleButtonGroupProps } from '@mui/material';
3
-
4
3
  export type ElementsPickerProps = ToggleButtonGroupProps & {
5
4
  children: ReactNode;
6
5
  errorMessage?: string;
@@ -1,7 +1,24 @@
1
- import { ElementsPicker } from './ElementsPicker';
2
- import { Meta, StoryObj } from '@storybook/react';
3
-
4
- declare const meta: Meta<typeof ElementsPicker>;
1
+ import { ElementsPickerProps } from './ElementsPicker';
2
+ import { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: import('react').ForwardRefExoticComponent<Omit<ElementsPickerProps, "ref"> & import('react').RefAttributes<unknown>>;
6
+ argTypes: {
7
+ exclusive: {
8
+ control: false;
9
+ };
10
+ value: {
11
+ control: false;
12
+ };
13
+ };
14
+ parameters: {
15
+ docs: {
16
+ description: {
17
+ component: string;
18
+ };
19
+ };
20
+ };
21
+ };
5
22
  export default meta;
6
23
  type Story = StoryObj<typeof meta>;
7
24
  export declare const Exclusive: Story;
@@ -1,5 +1,4 @@
1
1
  import { FC, ReactNode } from 'react';
2
-
3
2
  interface Props {
4
3
  value: string;
5
4
  children: ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export interface FixedActionsBottomPanelProps {
4
3
  cancelOnClick?: () => void;
5
4
  offset: number;
@@ -1,6 +1,5 @@
1
1
  import { FixedActionsBottomPanel } from './FixedActionsBottomPanel';
2
2
  import { Meta, StoryObj } from '@storybook/react';
3
-
4
3
  declare const meta: Meta<typeof FixedActionsBottomPanel>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  export declare const FixedActionsBottomPanelWrapper: import('@emotion/styled').StyledComponent<import('@mui/material').StackOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
2
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
4
3
  }, keyof import('@mui/material/OverridableComponent').CommonProps | keyof import('@mui/material').StackOwnProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
5
4
  offset: number;
6
5
  }, {}, {}>;
@@ -1,4 +1,3 @@
1
1
  import { FieldValues } from 'react-hook-form';
2
2
  import { AutocompleteProps, BaseOption } from './types';
3
-
4
3
  export declare const Autocomplete: <T extends FieldValues, B extends BaseOption>({ name, control, multiple, options, idGetter, ...props }: AutocompleteProps<T, B>) => import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,6 @@ import { FieldValues } from 'react-hook-form';
2
2
  import { Meta, StoryObj } from '@storybook/react';
3
3
  import { Autocomplete } from './Autocomplete';
4
4
  import { AutocompleteProps, BaseOption } from './types';
5
-
6
5
  declare const meta: Meta<typeof Autocomplete>;
7
6
  export default meta;
8
7
  type Story = StoryObj<AutocompleteProps<FieldValues, BaseOption>>;
@@ -1,5 +1,4 @@
1
1
  import { AutocompleteProps } from '@mui/material';
2
-
3
2
  type StyledAutocompleteProps<T> = AutocompleteProps<T, boolean, boolean, boolean> & {
4
3
  isError?: boolean;
5
4
  };
@@ -1,7 +1,6 @@
1
1
  import { SyntheticEvent } from 'react';
2
2
  import { Control, FieldValues, Path } from 'react-hook-form';
3
3
  import { AutocompleteChangeDetails, AutocompleteChangeReason, AutocompleteProps as MuiAutocompleteProps } from '@mui/material';
4
-
5
4
  export type BaseOption = string | {
6
5
  id?: any;
7
6
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { FilterOptionsState } from '@mui/material';
3
-
4
3
  interface ContextualSearchBaseProps<T> {
5
4
  options: T[];
6
5
  isOptionEqualToValue: (option: T, value: T) => boolean;
@@ -1,7 +1,6 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
2
  import { ContextualSearchProps } from './ContextualSearch';
3
3
  import { ContextualSearchStoryOption } from './mock';
4
-
5
4
  type StoryArgs = ContextualSearchProps<ContextualSearchStoryOption> & {
6
5
  loadingSize?: number;
7
6
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const StyledAutocomplete: import('@emotion/styled').StyledComponent<import('@mui/material').AutocompleteProps<unknown, boolean | undefined, boolean | undefined, boolean | undefined, import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
3
- isError?: boolean | undefined;
2
+ isError?: boolean;
4
3
  }, {}, {}>;
@@ -1,6 +1,5 @@
1
1
  import { Control, FieldValues, Path } from 'react-hook-form';
2
2
  import { ContextualSearchProps } from './ContextualSearch';
3
-
4
3
  type ContextualSearchControlledProps<T, R extends FieldValues> = ContextualSearchProps<T> & {
5
4
  control: Control<R>;
6
5
  name: Path<R>;
@@ -1,5 +1,4 @@
1
1
  import { AutocompleteProps } from '@mui/material';
2
-
3
2
  type ContextualSearchListListbox<T> = AutocompleteProps<T, boolean, false, false, 'div'>['ListboxProps'] & {
4
3
  listboxPortalId: string;
5
4
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type ContextualSearchStoryOption = {
3
2
  id: number;
4
3
  label: string;
@@ -1,5 +1,4 @@
1
1
  import { Control, FieldValues, Path, PathValue } from 'react-hook-form';
2
-
3
2
  export interface DatePickerProps<T extends FieldValues> {
4
3
  name: Path<T>;
5
4
  control: Control<T>;
@@ -1,7 +1,25 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { DatePicker } from './DatePicker';
3
-
4
- declare const meta: Meta<typeof DatePicker>;
1
+ import { FieldValues } from 'react-hook-form';
2
+ import { StoryObj } from '@storybook/react';
3
+ import { DatePickerProps } from './DatePicker';
4
+ declare const meta: {
5
+ title: string;
6
+ component: <T extends FieldValues>({ name, control, label, defaultValue, disabled, required, dataTestId, }: DatePickerProps<T>) => import("react/jsx-runtime").JSX.Element;
7
+ argTypes: {
8
+ defaultValue: {
9
+ control: false;
10
+ };
11
+ control: {
12
+ control: false;
13
+ };
14
+ };
15
+ parameters: {
16
+ docs: {
17
+ description: {
18
+ component: string;
19
+ };
20
+ };
21
+ };
22
+ };
5
23
  export default meta;
6
24
  type Story = StoryObj<typeof meta>;
7
25
  export declare const Default: Story;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const StyledFormHelperText: import('@emotion/styled').StyledComponent<import('@mui/material').FormHelperTextOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
3
- ref?: ((instance: HTMLParagraphElement | null) => void) | import('react').RefObject<HTMLParagraphElement> | null | undefined;
2
+ ref?: ((instance: HTMLParagraphElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLParagraphElement> | null | undefined;
4
3
  }, "className" | "style" | "classes" | "children" | "disabled" | "sx" | "margin" | "required" | "variant" | "filled" | "error" | "focused"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
5
4
  export declare const StyledDatePicker: import('@emotion/styled').StyledComponent<import('@mui/x-date-pickers').DatePickerProps<import('dayjs').Dayjs, boolean> & import('react').RefAttributes<HTMLDivElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
6
- isError?: boolean | undefined;
5
+ isError?: boolean;
7
6
  }, {}, {}>;
@@ -1,5 +1,4 @@
1
1
  import { Control, FieldValues, Path, PathValue } from 'react-hook-form';
2
-
3
2
  export interface DateTimePickerProps<T extends FieldValues> {
4
3
  name: Path<T>;
5
4
  control: Control<T>;
@@ -1,7 +1,25 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { DateTimePicker } from './DateTimePicker';
3
-
4
- declare const meta: Meta<typeof DateTimePicker>;
1
+ import { FieldValues } from 'react-hook-form';
2
+ import { StoryObj } from '@storybook/react';
3
+ import { DateTimePickerProps } from './DateTimePicker';
4
+ declare const meta: {
5
+ title: string;
6
+ component: <T extends FieldValues>({ name, control, label, defaultValue, disabled, required, dataTestId, }: DateTimePickerProps<T>) => import("react/jsx-runtime").JSX.Element;
7
+ argTypes: {
8
+ defaultValue: {
9
+ control: false;
10
+ };
11
+ control: {
12
+ control: false;
13
+ };
14
+ };
15
+ parameters: {
16
+ docs: {
17
+ description: {
18
+ component: string;
19
+ };
20
+ };
21
+ };
22
+ };
5
23
  export default meta;
6
24
  type Story = StoryObj<typeof meta>;
7
25
  export declare const Default: Story;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export declare const StyledFormHelperText: import('@emotion/styled').StyledComponent<import('@mui/material').FormHelperTextOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
3
- ref?: ((instance: HTMLParagraphElement | null) => void) | import('react').RefObject<HTMLParagraphElement> | null | undefined;
2
+ ref?: ((instance: HTMLParagraphElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLParagraphElement> | null | undefined;
4
3
  }, "className" | "style" | "classes" | "children" | "disabled" | "sx" | "margin" | "required" | "variant" | "filled" | "error" | "focused"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
5
4
  export declare const StyledDateTimePicker: import('@emotion/styled').StyledComponent<import('@mui/x-date-pickers').DateTimePickerProps<import('dayjs').Dayjs, boolean> & import('react').RefAttributes<HTMLDivElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
6
- isError?: boolean | undefined;
5
+ isError?: boolean;
7
6
  }, {}, {}>;
@@ -1,6 +1,5 @@
1
1
  import { Control, FieldValues, Path, PathValue } from 'react-hook-form';
2
2
  import { TextFieldProps } from '@mui/material';
3
-
4
3
  export type InputProps<T extends FieldValues> = {
5
4
  name: Path<T>;
6
5
  control: Control<T>;
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
2
  import { InputProps } from './Input';
3
-
4
3
  declare const meta: Meta<InputProps<any>>;
5
4
  export default meta;
6
5
  type Story = StoryObj<InputProps<any>>;