@evoke-platform/ui-components 1.8.2-dev.1 → 1.9.0-testing.0

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 (84) hide show
  1. package/dist/published/components/custom/FormV2/FormRenderer.js +19 -16
  2. package/dist/published/components/custom/FormV2/FormRendererContainer.js +16 -4
  3. package/dist/published/components/custom/FormV2/components/AccordionSections.js +30 -29
  4. package/dist/published/components/custom/FormV2/components/FormFieldTypes/CollectionFiles/RepeatableField.js +1 -1
  5. package/dist/published/components/custom/FormV2/components/FormFieldTypes/DocumentFiles/Document.js +1 -2
  6. package/dist/published/components/custom/FormV2/components/FormFieldTypes/UserProperty.js +16 -7
  7. package/dist/published/components/custom/FormV2/components/FormFieldTypes/relatedObjectFiles/ObjectPropertyInput.js +88 -39
  8. package/dist/published/components/custom/FormV2/components/FormSections.js +34 -3
  9. package/dist/published/components/custom/FormV2/components/RecursiveEntryRenderer.js +10 -29
  10. package/dist/published/components/custom/FormV2/components/ValidationFiles/Validation.js +2 -2
  11. package/dist/published/components/custom/FormV2/components/types.d.ts +9 -1
  12. package/dist/published/components/custom/FormV2/components/utils.d.ts +18 -2
  13. package/dist/published/components/custom/FormV2/components/utils.js +163 -1
  14. package/dist/published/components/custom/FormV2/tests/FormRenderer.test.js +211 -2
  15. package/dist/published/components/custom/FormV2/tests/test-data.d.ts +9 -0
  16. package/dist/published/components/custom/FormV2/tests/test-data.js +134 -0
  17. package/dist/published/stories/Accordion.stories.d.ts +4 -36
  18. package/dist/published/stories/Alert.stories.d.ts +4 -2
  19. package/dist/published/stories/AlertTitle.stories.d.ts +4 -2
  20. package/dist/published/stories/Appbar.stories.d.ts +3 -10
  21. package/dist/published/stories/Autocomplete.stories.d.ts +4 -22
  22. package/dist/published/stories/Avatar.stories.d.ts +3 -16
  23. package/dist/published/stories/Backdrop.stories.d.ts +4 -10
  24. package/dist/published/stories/Badge.stories.d.ts +4 -10
  25. package/dist/published/stories/Box.stories.d.ts +3 -2
  26. package/dist/published/stories/Breadcrumbs.stories.d.ts +4 -10
  27. package/dist/published/stories/BuilderGrid.stories.d.ts +5 -54
  28. package/dist/published/stories/Button.stories.d.ts +4 -10
  29. package/dist/published/stories/ButtonGroup.stories.d.ts +4 -10
  30. package/dist/published/stories/Card.stories.d.ts +4 -10
  31. package/dist/published/stories/Checkbox.stories.d.ts +4 -2
  32. package/dist/published/stories/Chip.stories.d.ts +4 -10
  33. package/dist/published/stories/CircularProgress.stories.d.ts +4 -2
  34. package/dist/published/stories/Collapse.stories.d.ts +4 -2
  35. package/dist/published/stories/Container.stories.d.ts +4 -10
  36. package/dist/published/stories/CriteriaBuilder.stories.d.ts +8 -6
  37. package/dist/published/stories/DataGrid.stories.d.ts +4 -40
  38. package/dist/published/stories/DatePicker.stories.d.ts +4 -7
  39. package/dist/published/stories/Dialog.stories.d.ts +4 -2
  40. package/dist/published/stories/Divider.stories.d.ts +4 -10
  41. package/dist/published/stories/Drawer.stories.d.ts +4 -2
  42. package/dist/published/stories/Form.stories.d.ts +5 -4
  43. package/dist/published/stories/FormControl.stories.d.ts +4 -10
  44. package/dist/published/stories/FormControlLabel.stories.d.ts +4 -2
  45. package/dist/published/stories/FormField.stories.d.ts +13 -11
  46. package/dist/published/stories/FormGroup.stories.d.ts +4 -2
  47. package/dist/published/stories/FormHelperText.stories.d.ts +4 -10
  48. package/dist/published/stories/FormLabel.stories.d.ts +4 -10
  49. package/dist/published/stories/FormRenderer.stories.d.ts +6 -69
  50. package/dist/published/stories/FormRendererContainer.stories.d.ts +7 -89
  51. package/dist/published/stories/FormRendererContainer.stories.js +5 -0
  52. package/dist/published/stories/FormRendererData.d.ts +7 -0
  53. package/dist/published/stories/FormRendererData.js +172 -1
  54. package/dist/published/stories/Grid.stories.d.ts +4 -10
  55. package/dist/published/stories/HistoryLog.stories.d.ts +4 -2
  56. package/dist/published/stories/IconButton.stories.d.ts +4 -10
  57. package/dist/published/stories/LinearProgress.stories.d.ts +4 -2
  58. package/dist/published/stories/Link.stories.d.ts +4 -10
  59. package/dist/published/stories/List.stories.d.ts +4 -10
  60. package/dist/published/stories/Menu.stories.d.ts +4 -2
  61. package/dist/published/stories/MenuBar.stories.d.ts +4 -3
  62. package/dist/published/stories/MultiSelect.stories.d.ts +4 -3
  63. package/dist/published/stories/OverflowTextField.stories.d.ts +4 -2
  64. package/dist/published/stories/Palette.stories.d.ts +3 -2
  65. package/dist/published/stories/Paper.stories.d.ts +4 -10
  66. package/dist/published/stories/RadioGroup.stories.d.ts +4 -2
  67. package/dist/published/stories/RepeatableField.stories.d.ts +4 -3
  68. package/dist/published/stories/ResponsiveOverflow.stories.d.ts +4 -3
  69. package/dist/published/stories/RichTextViewer.stories.d.ts +4 -2
  70. package/dist/published/stories/Skeleton.stories.d.ts +4 -10
  71. package/dist/published/stories/Snackbar.stories.d.ts +3 -9
  72. package/dist/published/stories/Stack.stories.d.ts +4 -10
  73. package/dist/published/stories/StaticDatePicker.stories.d.ts +5 -10
  74. package/dist/published/stories/Stepper.stories.d.ts +6 -12
  75. package/dist/published/stories/Switch.stories.d.ts +4 -2
  76. package/dist/published/stories/Table.stories.d.ts +4 -10
  77. package/dist/published/stories/Tabs.stories.d.ts +4 -10
  78. package/dist/published/stories/TextField.stories.d.ts +8 -6
  79. package/dist/published/stories/TimePicker.stories.d.ts +7 -2
  80. package/dist/published/stories/TimePickerSelect.stories.d.ts +6 -4
  81. package/dist/published/stories/ToggleButton.stories.d.ts +4 -10
  82. package/dist/published/stories/Typography.stories.d.ts +4 -2
  83. package/dist/published/stories/sharedMswHandlers.js +5 -1
  84. package/package.json +17 -16
@@ -1,5 +1,6 @@
1
- import { FormProps } from '../components/custom/Form/Common/Form';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, FormProps>;
1
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
2
+ import { Form } from '../index';
3
+ declare const _default: ComponentMeta<typeof Form>;
3
4
  export default _default;
4
- export declare const FormWithButtons: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormProps>;
5
- export declare const FormWithNoButtons: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormProps>;
5
+ export declare const FormWithButtons: ComponentStory<typeof Form>;
6
+ export declare const FormWithNoButtons: ComponentStory<typeof Form>;
@@ -1,12 +1,6 @@
1
+ import { FormControlProps } from '@mui/material';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
1
3
  import React from 'react';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormControlOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
4
- }, "color" | "className" | "style" | "classes" | "error" | "children" | "disabled" | "focused" | "required" | "sx" | "margin" | "size" | "variant" | "fullWidth" | "hiddenLabel"> & {
5
- component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
- }>;
4
+ declare const _default: ComponentMeta<(props: FormControlProps<"div", {}>) => React.JSX.Element>;
7
5
  export default _default;
8
- export declare const FormControl: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormControlOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
10
- }, "color" | "className" | "style" | "classes" | "error" | "children" | "disabled" | "focused" | "required" | "sx" | "margin" | "size" | "variant" | "fullWidth" | "hiddenLabel"> & {
11
- component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
12
- }>;
6
+ export declare const FormControl: ComponentStory<(props: FormControlProps<"div", {}>) => React.JSX.Element>;
@@ -1,4 +1,6 @@
1
1
  import { FormControlLabelProps } from '@mui/material';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, FormControlLabelProps>;
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ import React from 'react';
4
+ declare const _default: ComponentMeta<(props: FormControlLabelProps) => React.JSX.Element>;
3
5
  export default _default;
4
- export declare const FormControlLabel: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormControlLabelProps>;
6
+ export declare const FormControlLabel: ComponentStory<(props: FormControlLabelProps) => React.JSX.Element>;
@@ -1,13 +1,15 @@
1
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
2
+ import React from 'react';
1
3
  import { FormFieldProps } from '../components/custom/FormField/FormField';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
4
+ declare const _default: ComponentMeta<(props: FormFieldProps) => React.JSX.Element>;
3
5
  export default _default;
4
- export declare const InputField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
5
- export declare const NumberField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
6
- export declare const MaskedInput: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
7
- export declare const ChoicesSelectField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
8
- export declare const DatePickerField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
9
- export declare const DateTimePickerField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
10
- export declare const BooleanField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
11
- export declare const FileUploadField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
12
- export declare const ArraySelectField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
13
- export declare const AddressField: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormFieldProps>;
6
+ export declare const InputField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
7
+ export declare const NumberField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
8
+ export declare const MaskedInput: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
9
+ export declare const ChoicesSelectField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
10
+ export declare const DatePickerField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
11
+ export declare const DateTimePickerField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
12
+ export declare const BooleanField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
13
+ export declare const FileUploadField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
14
+ export declare const ArraySelectField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
15
+ export declare const AddressField: ComponentStory<(props: FormFieldProps) => React.JSX.Element>;
@@ -1,4 +1,6 @@
1
1
  import { FormGroupProps } from '@mui/material';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, FormGroupProps>;
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ import React from 'react';
4
+ declare const _default: ComponentMeta<(props: FormGroupProps) => React.JSX.Element>;
3
5
  export default _default;
4
- export declare const FormGroup: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, FormGroupProps>;
6
+ export declare const FormGroup: ComponentStory<(props: FormGroupProps) => React.JSX.Element>;
@@ -1,12 +1,6 @@
1
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
1
2
  import React from 'react';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormHelperTextOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
3
- ref?: ((instance: HTMLParagraphElement | null) => void) | React.RefObject<HTMLParagraphElement> | null | undefined;
4
- }, "className" | "style" | "classes" | "filled" | "error" | "children" | "disabled" | "focused" | "required" | "sx" | "margin" | "variant"> & {
5
- component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
- }>;
3
+ import { FormHelperTextProps } from '../index';
4
+ declare const _default: ComponentMeta<(props: FormHelperTextProps<"p", {}>) => React.JSX.Element>;
7
5
  export default _default;
8
- export declare const FormHelperText: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormHelperTextOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
9
- ref?: ((instance: HTMLParagraphElement | null) => void) | React.RefObject<HTMLParagraphElement> | null | undefined;
10
- }, "className" | "style" | "classes" | "filled" | "error" | "children" | "disabled" | "focused" | "required" | "sx" | "margin" | "variant"> & {
11
- component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
12
- }>;
6
+ export declare const FormHelperText: ComponentStory<(props: FormHelperTextProps<"p", {}>) => React.JSX.Element>;
@@ -1,12 +1,6 @@
1
+ import { FormLabelProps } from '@mui/material';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
1
3
  import React from 'react';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormLabelBaseProps & import("@mui/material").FormLabelOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
3
- ref?: ((instance: HTMLLabelElement | null) => void) | React.RefObject<HTMLLabelElement> | null | undefined;
4
- }, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "filled" | "error" | "children" | "form" | "htmlFor" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "focused" | "required" | "sx"> & {
5
- component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
- }>;
4
+ declare const _default: ComponentMeta<(props: FormLabelProps<"label", {}>) => React.JSX.Element>;
7
5
  export default _default;
8
- export declare const FormLabel: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").FormLabelBaseProps & import("@mui/material").FormLabelOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
9
- ref?: ((instance: HTMLLabelElement | null) => void) | React.RefObject<HTMLLabelElement> | null | undefined;
10
- }, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "filled" | "error" | "children" | "form" | "htmlFor" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "focused" | "required" | "sx"> & {
11
- component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
12
- }>;
6
+ export declare const FormLabel: ComponentStory<(props: FormLabelProps<"label", {}>) => React.JSX.Element>;
@@ -1,70 +1,7 @@
1
- import React from 'react';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
3
- richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
4
- hideButtons?: boolean | undefined;
5
- value?: import("react-hook-form").FieldValues | undefined;
6
- onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
7
- fieldHeight?: "medium" | "small" | undefined;
8
- stickyFooter?: boolean | undefined;
9
- onCancel?: (() => void) | undefined;
10
- form: import("@evoke-platform/context").EvokeForm;
11
- instance?: import("../components/custom/FormV2/components/types").Document | import("@evoke-platform/context").ObjectInstance | undefined;
12
- onChange: (id: string, value: unknown) => void;
13
- onValidationChange?: ((errors: import("react-hook-form").FieldErrors<import("react-hook-form").FieldValues>) => void) | undefined;
14
- associatedObject?: {
15
- instanceId?: string | undefined;
16
- propertyId?: string | undefined;
17
- } | undefined;
18
- }>;
1
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
2
+ import { FormRenderer } from '../components/custom';
3
+ declare const _default: ComponentMeta<typeof FormRenderer>;
19
4
  export default _default;
20
- export declare const Editable: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
21
- richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
22
- hideButtons?: boolean | undefined;
23
- value?: import("react-hook-form").FieldValues | undefined;
24
- onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
25
- fieldHeight?: "medium" | "small" | undefined;
26
- stickyFooter?: boolean | undefined;
27
- onCancel?: (() => void) | undefined;
28
- form: import("@evoke-platform/context").EvokeForm;
29
- instance?: import("../components/custom/FormV2/components/types").Document | import("@evoke-platform/context").ObjectInstance | undefined;
30
- onChange: (id: string, value: unknown) => void;
31
- onValidationChange?: ((errors: import("react-hook-form").FieldErrors<import("react-hook-form").FieldValues>) => void) | undefined;
32
- associatedObject?: {
33
- instanceId?: string | undefined;
34
- propertyId?: string | undefined;
35
- } | undefined;
36
- }>;
37
- export declare const NoButtons: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
38
- richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
39
- hideButtons?: boolean | undefined;
40
- value?: import("react-hook-form").FieldValues | undefined;
41
- onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
42
- fieldHeight?: "medium" | "small" | undefined;
43
- stickyFooter?: boolean | undefined;
44
- onCancel?: (() => void) | undefined;
45
- form: import("@evoke-platform/context").EvokeForm;
46
- instance?: import("../components/custom/FormV2/components/types").Document | import("@evoke-platform/context").ObjectInstance | undefined;
47
- onChange: (id: string, value: unknown) => void;
48
- onValidationChange?: ((errors: import("react-hook-form").FieldErrors<import("react-hook-form").FieldValues>) => void) | undefined;
49
- associatedObject?: {
50
- instanceId?: string | undefined;
51
- propertyId?: string | undefined;
52
- } | undefined;
53
- }>;
54
- export declare const DocumentForm: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
55
- richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
56
- hideButtons?: boolean | undefined;
57
- value?: import("react-hook-form").FieldValues | undefined;
58
- onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
59
- fieldHeight?: "medium" | "small" | undefined;
60
- stickyFooter?: boolean | undefined;
61
- onCancel?: (() => void) | undefined;
62
- form: import("@evoke-platform/context").EvokeForm;
63
- instance?: import("../components/custom/FormV2/components/types").Document | import("@evoke-platform/context").ObjectInstance | undefined;
64
- onChange: (id: string, value: unknown) => void;
65
- onValidationChange?: ((errors: import("react-hook-form").FieldErrors<import("react-hook-form").FieldValues>) => void) | undefined;
66
- associatedObject?: {
67
- instanceId?: string | undefined;
68
- propertyId?: string | undefined;
69
- } | undefined;
70
- }>;
5
+ export declare const Editable: ComponentStory<typeof FormRenderer>;
6
+ export declare const NoButtons: ComponentStory<typeof FormRenderer>;
7
+ export declare const DocumentForm: ComponentStory<typeof FormRenderer>;
@@ -1,90 +1,8 @@
1
- import React from 'react';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
3
- formId?: string | undefined;
4
- instanceId?: string | undefined;
5
- defaultPages?: Record<string, string> | undefined;
6
- pageNavigation?: string | undefined;
7
- documentId?: string | undefined;
8
- dataType?: "documents" | "objectInstances" | undefined;
9
- display?: {
10
- fieldHeight?: "medium" | "small" | undefined;
11
- } | undefined;
12
- actionId?: string | undefined;
13
- stickyFooter?: boolean | undefined;
14
- hideButtons?: boolean | undefined;
15
- objectId: string;
16
- richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
17
- onClose?: (() => void) | undefined;
18
- onSubmit?: ((submission: Record<string, unknown>) => Promise<void>) | undefined;
19
- associatedObject?: {
20
- instanceId?: string | undefined;
21
- propertyId?: string | undefined;
22
- } | undefined;
23
- }>;
1
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
2
+ import { FormRendererContainer } from '../components/custom';
3
+ declare const _default: ComponentMeta<typeof FormRendererContainer>;
24
4
  export default _default;
25
- export declare const Editable: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
26
- formId?: string | undefined;
27
- instanceId?: string | undefined;
28
- defaultPages?: Record<string, string> | undefined;
29
- pageNavigation?: string | undefined;
30
- documentId?: string | undefined;
31
- dataType?: "documents" | "objectInstances" | undefined;
32
- display?: {
33
- fieldHeight?: "medium" | "small" | undefined;
34
- } | undefined;
35
- actionId?: string | undefined;
36
- stickyFooter?: boolean | undefined;
37
- hideButtons?: boolean | undefined;
38
- objectId: string;
39
- richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
40
- onClose?: (() => void) | undefined;
41
- onSubmit?: ((submission: Record<string, unknown>) => Promise<void>) | undefined;
42
- associatedObject?: {
43
- instanceId?: string | undefined;
44
- propertyId?: string | undefined;
45
- } | undefined;
46
- }>;
47
- export declare const NoButtons: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
48
- formId?: string | undefined;
49
- instanceId?: string | undefined;
50
- defaultPages?: Record<string, string> | undefined;
51
- pageNavigation?: string | undefined;
52
- documentId?: string | undefined;
53
- dataType?: "documents" | "objectInstances" | undefined;
54
- display?: {
55
- fieldHeight?: "medium" | "small" | undefined;
56
- } | undefined;
57
- actionId?: string | undefined;
58
- stickyFooter?: boolean | undefined;
59
- hideButtons?: boolean | undefined;
60
- objectId: string;
61
- richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
62
- onClose?: (() => void) | undefined;
63
- onSubmit?: ((submission: Record<string, unknown>) => Promise<void>) | undefined;
64
- associatedObject?: {
65
- instanceId?: string | undefined;
66
- propertyId?: string | undefined;
67
- } | undefined;
68
- }>;
69
- export declare const DocumentForm: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
70
- formId?: string | undefined;
71
- instanceId?: string | undefined;
72
- defaultPages?: Record<string, string> | undefined;
73
- pageNavigation?: string | undefined;
74
- documentId?: string | undefined;
75
- dataType?: "documents" | "objectInstances" | undefined;
76
- display?: {
77
- fieldHeight?: "medium" | "small" | undefined;
78
- } | undefined;
79
- actionId?: string | undefined;
80
- stickyFooter?: boolean | undefined;
81
- hideButtons?: boolean | undefined;
82
- objectId: string;
83
- richTextEditor?: React.ComponentType<import("../components/custom/FormV2/components/types").SimpleEditorProps> | undefined;
84
- onClose?: (() => void) | undefined;
85
- onSubmit?: ((submission: Record<string, unknown>) => Promise<void>) | undefined;
86
- associatedObject?: {
87
- instanceId?: string | undefined;
88
- propertyId?: string | undefined;
89
- } | undefined;
90
- }>;
5
+ export declare const Editable: ComponentStory<typeof FormRendererContainer>;
6
+ export declare const NoButtons: ComponentStory<typeof FormRendererContainer>;
7
+ export declare const DocumentForm: ComponentStory<typeof FormRendererContainer>;
8
+ export declare const FormWithSections: ComponentStory<typeof FormRendererContainer>;
@@ -54,3 +54,8 @@ DocumentForm.args = {
54
54
  documentId: 'documentInstanceId',
55
55
  dataType: 'documents',
56
56
  };
57
+ export const FormWithSections = Template.bind({});
58
+ FormWithSections.args = {
59
+ ...mockProps,
60
+ formId: 'updateGenericEvokeFormWithSections',
61
+ };
@@ -29,6 +29,7 @@ export declare const mockCustomerUpdateForm: EvokeForm;
29
29
  export declare const mockCustomerCreateForm: EvokeForm;
30
30
  export declare const mockMovieCreateForm: EvokeForm;
31
31
  export declare const mockDocEvokeForm: EvokeForm;
32
+ export declare const mockEvokeFormWithSections: EvokeForm;
32
33
  export declare const mockPropertiesForCriteria: ({
33
34
  id: string;
34
35
  name: string;
@@ -114,3 +115,9 @@ export declare const mockPeopleGenericObjectInstances: {
114
115
  };
115
116
  objectId: string;
116
117
  }[];
118
+ export declare const users: {
119
+ id: string;
120
+ status: string;
121
+ email: string;
122
+ name: string;
123
+ }[];
@@ -88,6 +88,11 @@ export const mockGenericEvokeFormObject = {
88
88
  manyToManyPropertyId: 'people',
89
89
  required: false,
90
90
  },
91
+ {
92
+ id: 'user',
93
+ name: 'User',
94
+ type: 'user',
95
+ },
91
96
  ],
92
97
  actions: [
93
98
  {
@@ -150,6 +155,18 @@ export const mockGenericEvokeFormObject = {
150
155
  relatedPropertyId: 'genericEvokeForm',
151
156
  manyToManyPropertyId: 'people',
152
157
  },
158
+ {
159
+ id: 'documentUpload',
160
+ type: 'document',
161
+ name: 'Document Upload',
162
+ required: false,
163
+ },
164
+ {
165
+ id: 'user',
166
+ name: 'User',
167
+ type: 'user',
168
+ required: false,
169
+ },
153
170
  ],
154
171
  outputEvent: 'Update Generic Evoke Form 2',
155
172
  preconditions: {},
@@ -489,7 +506,7 @@ export const mockPeopleObject = {
489
506
  };
490
507
  // Form definitions for FormRenderer and FormRendererContainer stories
491
508
  export const mockEvokeForm = {
492
- id: 'UpdateGenericEvokeForm',
509
+ id: 'updateGenericEvokeForm',
493
510
  name: 'Update a Generic Evoke Form',
494
511
  entries: [
495
512
  {
@@ -563,6 +580,24 @@ export const mockEvokeForm = {
563
580
  label: 'Many to Many',
564
581
  },
565
582
  },
583
+ {
584
+ type: 'input',
585
+ parameterId: 'documentUpload',
586
+ display: {
587
+ label: 'Document Upload',
588
+ },
589
+ documentMetadata: {
590
+ view_permission: 'Portal',
591
+ type: 'PDF',
592
+ },
593
+ },
594
+ {
595
+ type: 'input',
596
+ parameterId: 'user',
597
+ display: {
598
+ label: 'User',
599
+ },
600
+ },
566
601
  ],
567
602
  objectId: 'genericEvokeForm',
568
603
  actionId: '_update',
@@ -806,6 +841,128 @@ export const mockDocEvokeForm = {
806
841
  ],
807
842
  objectId: 'genericEvokeForm',
808
843
  };
844
+ export const mockEvokeFormWithSections = {
845
+ id: 'updateGenericEvokeFormWithSections',
846
+ name: 'Update a Generic Evoke Form With Sections',
847
+ entries: [
848
+ {
849
+ type: 'sections',
850
+ label: 'Section',
851
+ sections: [
852
+ {
853
+ label: 'Section 1',
854
+ entries: [
855
+ {
856
+ type: 'input',
857
+ parameterId: 'name',
858
+ display: {
859
+ label: 'Name',
860
+ prefix: 'Dr',
861
+ suffix: 'Jr',
862
+ required: true,
863
+ charCount: true,
864
+ },
865
+ },
866
+ {
867
+ type: 'input',
868
+ parameterId: 'documentUpload',
869
+ display: {
870
+ label: 'Document Upload',
871
+ },
872
+ documentMetadata: {
873
+ view_permission: 'Portal',
874
+ type: 'PDF',
875
+ },
876
+ },
877
+ {
878
+ type: 'input',
879
+ parameterId: 'criteria',
880
+ display: {
881
+ label: 'Criteria',
882
+ },
883
+ },
884
+ {
885
+ type: 'input',
886
+ parameterId: 'multiSelect',
887
+ display: {
888
+ label: 'Multi-Select',
889
+ },
890
+ enumWithLabels: [
891
+ {
892
+ label: '1',
893
+ value: '1',
894
+ },
895
+ {
896
+ label: '2',
897
+ value: '2',
898
+ },
899
+ {
900
+ label: '3',
901
+ value: '3',
902
+ },
903
+ ],
904
+ },
905
+ {
906
+ type: 'input',
907
+ parameterId: 'address.city',
908
+ display: {
909
+ label: 'Address City',
910
+ description: 'address city description',
911
+ },
912
+ },
913
+ {
914
+ type: 'input',
915
+ parameterId: 'relatedObject',
916
+ display: {
917
+ label: 'Related Object',
918
+ mode: 'default',
919
+ description: 'related Object description',
920
+ relatedObjectDisplay: 'dropdown',
921
+ },
922
+ },
923
+ ],
924
+ },
925
+ {
926
+ label: 'Section 2',
927
+ entries: [
928
+ {
929
+ type: 'sections',
930
+ label: 'Section',
931
+ sections: [
932
+ {
933
+ label: 'Nested Section 1',
934
+ entries: [
935
+ {
936
+ type: 'input',
937
+ parameterId: 'collection',
938
+ display: {
939
+ label: 'Collection',
940
+ },
941
+ },
942
+ ],
943
+ },
944
+ {
945
+ label: 'Nested Section 2',
946
+ entries: [
947
+ {
948
+ type: 'input',
949
+ parameterId: 'manyToMany',
950
+ display: {
951
+ label: 'Many to Many',
952
+ },
953
+ },
954
+ ],
955
+ },
956
+ ],
957
+ },
958
+ ],
959
+ },
960
+ ],
961
+ },
962
+ ],
963
+ objectId: 'genericEvokeForm',
964
+ actionId: '_update',
965
+ };
809
966
  // Additional data for criteria field and instance fetches
810
967
  export const mockPropertiesForCriteria = [
811
968
  {
@@ -923,3 +1080,17 @@ export const mockPeopleGenericObjectInstances = [
923
1080
  objectId: 'peopleGenericObject',
924
1081
  },
925
1082
  ];
1083
+ export const users = [
1084
+ {
1085
+ id: 'user1',
1086
+ status: 'Active',
1087
+ email: 'user1@systemautomation.com',
1088
+ name: 'User 1',
1089
+ },
1090
+ {
1091
+ id: 'user2',
1092
+ status: 'Active',
1093
+ email: 'user2@systemautomation.com',
1094
+ name: 'User 2',
1095
+ },
1096
+ ];
@@ -1,12 +1,6 @@
1
+ import { GridProps } from '@mui/material';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
1
3
  import React from 'react';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").GridOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
4
- }, "zIndex" | "direction" | "spacing" | "typography" | "fontFamily" | "fontSize" | "color" | "fontWeight" | "lineHeight" | "className" | "style" | "classes" | "children" | "sx" | "p" | "margin" | "border" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "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" | "columns" | "container" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "item" | "rowSpacing" | "wrap" | "zeroMinWidth"> & {
5
- component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
6
- }>;
4
+ declare const _default: ComponentMeta<(props: GridProps<"div", {}>) => React.JSX.Element>;
7
5
  export default _default;
8
- export declare const Grid: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@mui/material").GridOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
10
- }, "zIndex" | "direction" | "spacing" | "typography" | "fontFamily" | "fontSize" | "color" | "fontWeight" | "lineHeight" | "className" | "style" | "classes" | "children" | "sx" | "p" | "margin" | "border" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "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" | "columns" | "container" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "item" | "rowSpacing" | "wrap" | "zeroMinWidth"> & {
11
- component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
12
- }>;
6
+ export declare const Grid: ComponentStory<(props: GridProps<"div", {}>) => React.JSX.Element>;
@@ -1,4 +1,6 @@
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
1
3
  import { HistoryLogProps } from '../components/custom/HistoryLog';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, HistoryLogProps>;
4
+ declare const _default: ComponentMeta<(props: HistoryLogProps) => React.JSX.Element>;
3
5
  export default _default;
4
- export declare const HistoryLog: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, HistoryLogProps>;
6
+ export declare const HistoryLog: ComponentStory<(props: HistoryLogProps) => React.JSX.Element>;