@evoke-platform/ui-components 1.13.0-dev.5 → 1.13.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.
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.d.ts +4 -4
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.js +72 -145
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.test.js +67 -189
- package/dist/published/components/custom/CriteriaBuilder/PropertyTree.d.ts +6 -6
- package/dist/published/components/custom/CriteriaBuilder/PropertyTree.js +25 -12
- package/dist/published/components/custom/CriteriaBuilder/PropertyTreeItem.d.ts +5 -4
- package/dist/published/components/custom/CriteriaBuilder/PropertyTreeItem.js +22 -34
- package/dist/published/components/custom/CriteriaBuilder/types.d.ts +11 -2
- package/dist/published/components/custom/CriteriaBuilder/utils.d.ts +34 -6
- package/dist/published/components/custom/CriteriaBuilder/utils.js +89 -18
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableField.js +1 -1
- package/dist/published/components/custom/Form/utils.d.ts +0 -1
- package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.js +1 -2
- package/dist/published/components/custom/FormV2/FormRenderer.d.ts +1 -1
- package/dist/published/components/custom/FormV2/FormRenderer.js +2 -1
- package/dist/published/components/custom/FormV2/FormRendererContainer.d.ts +3 -1
- package/dist/published/components/custom/FormV2/FormRendererContainer.js +5 -5
- package/dist/published/components/custom/FormV2/components/Body.js +1 -1
- package/dist/published/components/custom/FormV2/components/Footer.js +1 -1
- package/dist/published/components/custom/FormV2/components/FormContext.d.ts +0 -1
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/CollectionFiles/ActionDialog.d.ts +0 -1
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/CollectionFiles/RepeatableField.js +3 -3
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/relatedObjectFiles/InstanceLookup.js +1 -1
- package/dist/published/components/custom/FormV2/components/FormSections.js +0 -1
- package/dist/published/components/custom/FormV2/components/Header.d.ts +1 -0
- package/dist/published/components/custom/FormV2/components/Header.js +19 -8
- package/dist/published/components/custom/FormV2/components/HtmlView.d.ts +9 -0
- package/dist/published/components/custom/FormV2/components/HtmlView.js +42 -0
- package/dist/published/components/custom/FormV2/components/RecursiveEntryRenderer.js +3 -7
- package/dist/published/components/custom/FormV2/components/utils.d.ts +0 -1
- package/dist/published/components/custom/FormV2/components/utils.js +15 -16
- package/dist/published/components/custom/FormV2/tests/FormRenderer.test.js +2 -2
- package/dist/published/components/custom/FormV2/tests/FormRendererContainer.test.js +84 -0
- package/dist/published/components/custom/HistoryLog/HistoryData.js +1 -2
- package/dist/published/components/custom/HistoryLog/index.js +1 -2
- package/dist/published/components/custom/ViewDetailsV2/InstanceEntryRenderer.js +9 -23
- package/dist/published/components/custom/ViewDetailsV2/ViewDetailsV2Container.d.ts +3 -0
- package/dist/published/components/custom/ViewDetailsV2/ViewDetailsV2Container.js +3 -1
- package/dist/published/stories/Backdrop.stories.d.ts +2 -2
- package/dist/published/stories/CriteriaBuilder.stories.js +22 -70
- package/dist/published/stories/FormLabel.stories.d.ts +2 -2
- package/dist/published/stories/FormRenderer.stories.d.ts +3 -3
- package/dist/published/stories/FormRendererContainer.stories.d.ts +15 -5
- package/dist/published/stories/ViewDetailsV2Container.stories.d.ts +9 -0
- package/dist/published/theme/hooks.d.ts +1 -2
- package/package.json +10 -15
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
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
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" | "
|
|
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" | "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
5
|
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
6
6
|
}>;
|
|
7
7
|
export default _default;
|
|
8
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
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" | "
|
|
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" | "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
11
|
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
12
12
|
}>;
|
|
@@ -5,6 +5,7 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
5
5
|
onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
|
|
6
6
|
onDiscardChanges?: (() => void) | undefined;
|
|
7
7
|
onSubmitError?: import("react-hook-form").SubmitErrorHandler<import("react-hook-form").FieldValues> | undefined;
|
|
8
|
+
hideTitle?: boolean | undefined;
|
|
8
9
|
fieldHeight?: "medium" | "small" | undefined;
|
|
9
10
|
form: import("@evoke-platform/context").EvokeForm;
|
|
10
11
|
title?: React.ReactNode;
|
|
@@ -14,7 +15,6 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
14
15
|
associatedObject?: {
|
|
15
16
|
instanceId: string;
|
|
16
17
|
propertyId: string;
|
|
17
|
-
objectId?: string | undefined;
|
|
18
18
|
} | undefined;
|
|
19
19
|
renderHeader?: ((props: import("../components/custom").HeaderProps) => React.ReactNode) | undefined;
|
|
20
20
|
renderBody?: ((props: import("../components/custom").BodyProps) => React.ReactNode) | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const Editable: import("@storybook/types").AnnotatedStoryFn<impor
|
|
|
27
27
|
onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
|
|
28
28
|
onDiscardChanges?: (() => void) | undefined;
|
|
29
29
|
onSubmitError?: import("react-hook-form").SubmitErrorHandler<import("react-hook-form").FieldValues> | undefined;
|
|
30
|
+
hideTitle?: boolean | undefined;
|
|
30
31
|
fieldHeight?: "medium" | "small" | undefined;
|
|
31
32
|
form: import("@evoke-platform/context").EvokeForm;
|
|
32
33
|
title?: React.ReactNode;
|
|
@@ -36,7 +37,6 @@ export declare const Editable: import("@storybook/types").AnnotatedStoryFn<impor
|
|
|
36
37
|
associatedObject?: {
|
|
37
38
|
instanceId: string;
|
|
38
39
|
propertyId: string;
|
|
39
|
-
objectId?: string | undefined;
|
|
40
40
|
} | undefined;
|
|
41
41
|
renderHeader?: ((props: import("../components/custom").HeaderProps) => React.ReactNode) | undefined;
|
|
42
42
|
renderBody?: ((props: import("../components/custom").BodyProps) => React.ReactNode) | undefined;
|
|
@@ -48,6 +48,7 @@ export declare const NoButtons: import("@storybook/types").AnnotatedStoryFn<impo
|
|
|
48
48
|
onSubmit?: ((data: import("react-hook-form").FieldValues) => void) | undefined;
|
|
49
49
|
onDiscardChanges?: (() => void) | undefined;
|
|
50
50
|
onSubmitError?: import("react-hook-form").SubmitErrorHandler<import("react-hook-form").FieldValues> | undefined;
|
|
51
|
+
hideTitle?: boolean | undefined;
|
|
51
52
|
fieldHeight?: "medium" | "small" | undefined;
|
|
52
53
|
form: import("@evoke-platform/context").EvokeForm;
|
|
53
54
|
title?: React.ReactNode;
|
|
@@ -57,7 +58,6 @@ export declare const NoButtons: import("@storybook/types").AnnotatedStoryFn<impo
|
|
|
57
58
|
associatedObject?: {
|
|
58
59
|
instanceId: string;
|
|
59
60
|
propertyId: string;
|
|
60
|
-
objectId?: string | undefined;
|
|
61
61
|
} | undefined;
|
|
62
62
|
renderHeader?: ((props: import("../components/custom").HeaderProps) => React.ReactNode) | undefined;
|
|
63
63
|
renderBody?: ((props: import("../components/custom").BodyProps) => React.ReactNode) | undefined;
|
|
@@ -5,6 +5,9 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
5
5
|
defaultPages?: Record<string, string> | undefined;
|
|
6
6
|
pageNavigation?: string | undefined;
|
|
7
7
|
dataType?: "objectInstances" | undefined;
|
|
8
|
+
title?: {
|
|
9
|
+
hidden?: boolean | undefined;
|
|
10
|
+
} | undefined;
|
|
8
11
|
display?: {
|
|
9
12
|
fieldHeight?: "medium" | "small" | undefined;
|
|
10
13
|
} | undefined;
|
|
@@ -17,7 +20,6 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
17
20
|
associatedObject?: {
|
|
18
21
|
instanceId: string;
|
|
19
22
|
propertyId: string;
|
|
20
|
-
objectId?: string | undefined;
|
|
21
23
|
} | undefined;
|
|
22
24
|
renderContainer?: ((state: import("../components/custom/FormV2/FormRendererContainer").FormRendererState) => React.ReactNode) | undefined;
|
|
23
25
|
renderHeader?: ((props: import("../components/custom").HeaderProps) => React.ReactNode) | undefined;
|
|
@@ -32,6 +34,9 @@ export declare const Editable: import("@storybook/types").AnnotatedStoryFn<impor
|
|
|
32
34
|
defaultPages?: Record<string, string> | undefined;
|
|
33
35
|
pageNavigation?: string | undefined;
|
|
34
36
|
dataType?: "objectInstances" | undefined;
|
|
37
|
+
title?: {
|
|
38
|
+
hidden?: boolean | undefined;
|
|
39
|
+
} | undefined;
|
|
35
40
|
display?: {
|
|
36
41
|
fieldHeight?: "medium" | "small" | undefined;
|
|
37
42
|
} | undefined;
|
|
@@ -44,7 +49,6 @@ export declare const Editable: import("@storybook/types").AnnotatedStoryFn<impor
|
|
|
44
49
|
associatedObject?: {
|
|
45
50
|
instanceId: string;
|
|
46
51
|
propertyId: string;
|
|
47
|
-
objectId?: string | undefined;
|
|
48
52
|
} | undefined;
|
|
49
53
|
renderContainer?: ((state: import("../components/custom/FormV2/FormRendererContainer").FormRendererState) => React.ReactNode) | undefined;
|
|
50
54
|
renderHeader?: ((props: import("../components/custom").HeaderProps) => React.ReactNode) | undefined;
|
|
@@ -58,6 +62,9 @@ export declare const DefaultForm: import("@storybook/types").AnnotatedStoryFn<im
|
|
|
58
62
|
defaultPages?: Record<string, string> | undefined;
|
|
59
63
|
pageNavigation?: string | undefined;
|
|
60
64
|
dataType?: "objectInstances" | undefined;
|
|
65
|
+
title?: {
|
|
66
|
+
hidden?: boolean | undefined;
|
|
67
|
+
} | undefined;
|
|
61
68
|
display?: {
|
|
62
69
|
fieldHeight?: "medium" | "small" | undefined;
|
|
63
70
|
} | undefined;
|
|
@@ -70,7 +77,6 @@ export declare const DefaultForm: import("@storybook/types").AnnotatedStoryFn<im
|
|
|
70
77
|
associatedObject?: {
|
|
71
78
|
instanceId: string;
|
|
72
79
|
propertyId: string;
|
|
73
|
-
objectId?: string | undefined;
|
|
74
80
|
} | undefined;
|
|
75
81
|
renderContainer?: ((state: import("../components/custom/FormV2/FormRendererContainer").FormRendererState) => React.ReactNode) | undefined;
|
|
76
82
|
renderHeader?: ((props: import("../components/custom").HeaderProps) => React.ReactNode) | undefined;
|
|
@@ -84,6 +90,9 @@ export declare const NoButtons: import("@storybook/types").AnnotatedStoryFn<impo
|
|
|
84
90
|
defaultPages?: Record<string, string> | undefined;
|
|
85
91
|
pageNavigation?: string | undefined;
|
|
86
92
|
dataType?: "objectInstances" | undefined;
|
|
93
|
+
title?: {
|
|
94
|
+
hidden?: boolean | undefined;
|
|
95
|
+
} | undefined;
|
|
87
96
|
display?: {
|
|
88
97
|
fieldHeight?: "medium" | "small" | undefined;
|
|
89
98
|
} | undefined;
|
|
@@ -96,7 +105,6 @@ export declare const NoButtons: import("@storybook/types").AnnotatedStoryFn<impo
|
|
|
96
105
|
associatedObject?: {
|
|
97
106
|
instanceId: string;
|
|
98
107
|
propertyId: string;
|
|
99
|
-
objectId?: string | undefined;
|
|
100
108
|
} | undefined;
|
|
101
109
|
renderContainer?: ((state: import("../components/custom/FormV2/FormRendererContainer").FormRendererState) => React.ReactNode) | undefined;
|
|
102
110
|
renderHeader?: ((props: import("../components/custom").HeaderProps) => React.ReactNode) | undefined;
|
|
@@ -110,6 +118,9 @@ export declare const FormWithSections: import("@storybook/types").AnnotatedStory
|
|
|
110
118
|
defaultPages?: Record<string, string> | undefined;
|
|
111
119
|
pageNavigation?: string | undefined;
|
|
112
120
|
dataType?: "objectInstances" | undefined;
|
|
121
|
+
title?: {
|
|
122
|
+
hidden?: boolean | undefined;
|
|
123
|
+
} | undefined;
|
|
113
124
|
display?: {
|
|
114
125
|
fieldHeight?: "medium" | "small" | undefined;
|
|
115
126
|
} | undefined;
|
|
@@ -122,7 +133,6 @@ export declare const FormWithSections: import("@storybook/types").AnnotatedStory
|
|
|
122
133
|
associatedObject?: {
|
|
123
134
|
instanceId: string;
|
|
124
135
|
propertyId: string;
|
|
125
|
-
objectId?: string | undefined;
|
|
126
136
|
} | undefined;
|
|
127
137
|
renderContainer?: ((state: import("../components/custom/FormV2/FormRendererContainer").FormRendererState) => React.ReactNode) | undefined;
|
|
128
138
|
renderHeader?: ((props: import("../components/custom").HeaderProps) => React.ReactNode) | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
|
|
3
|
+
title?: {
|
|
4
|
+
hidden?: boolean | undefined;
|
|
5
|
+
} | undefined;
|
|
3
6
|
panelLayoutId?: string | undefined;
|
|
4
7
|
instanceId?: string | undefined;
|
|
5
8
|
objectId: string;
|
|
@@ -9,6 +12,9 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
9
12
|
}>;
|
|
10
13
|
export default _default;
|
|
11
14
|
export declare const ViewDetails: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
|
|
15
|
+
title?: {
|
|
16
|
+
hidden?: boolean | undefined;
|
|
17
|
+
} | undefined;
|
|
12
18
|
panelLayoutId?: string | undefined;
|
|
13
19
|
instanceId?: string | undefined;
|
|
14
20
|
objectId: string;
|
|
@@ -17,6 +23,9 @@ export declare const ViewDetails: import("@storybook/types").AnnotatedStoryFn<im
|
|
|
17
23
|
renderBody?: ((props: import("../components/custom").BodyProps) => React.ReactNode) | undefined;
|
|
18
24
|
}>;
|
|
19
25
|
export declare const ViewWithSections: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../components/custom/FormV2/components/types").BaseProps & {
|
|
26
|
+
title?: {
|
|
27
|
+
hidden?: boolean | undefined;
|
|
28
|
+
} | undefined;
|
|
20
29
|
panelLayoutId?: string | undefined;
|
|
21
30
|
instanceId?: string | undefined;
|
|
22
31
|
objectId: string;
|
|
@@ -155,8 +155,7 @@ export declare function useFormContext(): {
|
|
|
155
155
|
associatedObject?: {
|
|
156
156
|
instanceId: string;
|
|
157
157
|
propertyId: string; /** Extra large screens (1536px and up) */
|
|
158
|
-
|
|
159
|
-
} | undefined;
|
|
158
|
+
} | undefined; /** Extra large screens (1536px and up) */
|
|
160
159
|
form?: import("@evoke-platform/context").EvokeForm | undefined;
|
|
161
160
|
width: number;
|
|
162
161
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evoke-platform/ui-components",
|
|
3
|
-
"version": "1.13.0
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/published/index.js",
|
|
6
6
|
"module": "dist/published/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./icons": "./dist/published/icons/index.js"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
-
"test": "vitest",
|
|
21
|
+
"test": "vitest run",
|
|
22
22
|
"test:ui": "vitest --ui",
|
|
23
23
|
"test:preview": "vitest-preview",
|
|
24
24
|
"coverage": "vitest run --coverage",
|
|
@@ -35,8 +35,7 @@
|
|
|
35
35
|
"prettier:fix": "npm run prettier:cli -- --write",
|
|
36
36
|
"eslint": "eslint src",
|
|
37
37
|
"eslint:fix": "npm run eslint -- --fix",
|
|
38
|
-
"release": "commit-and-tag-version --releaseCommitMessageFormat \"chore(release): {{currentTag}} [skip ci]\"",
|
|
39
|
-
"prepare": "husky install",
|
|
38
|
+
"release": "commit-and-tag-version --tag-prefix \"ui-components-v\" --release-as minor --releaseCommitMessageFormat \"chore(release): {{currentTag}} [skip ci]\"",
|
|
40
39
|
"yalc:publish": "npm run build && yalc push --replace --sig"
|
|
41
40
|
},
|
|
42
41
|
"author": "",
|
|
@@ -44,17 +43,14 @@
|
|
|
44
43
|
"devDependencies": {
|
|
45
44
|
"@babel/core": "^7.18.2",
|
|
46
45
|
"@babel/preset-env": "^7.18.6",
|
|
47
|
-
"@commitlint/cli": "^17.8.1",
|
|
48
|
-
"@commitlint/config-conventional": "^17.8.1",
|
|
49
46
|
"@storybook/addon-actions": "^7.6.20",
|
|
50
47
|
"@storybook/addon-essentials": "^7.6.20",
|
|
51
48
|
"@storybook/addon-interactions": "^7.6.20",
|
|
52
49
|
"@storybook/addon-links": "^7.6.20",
|
|
53
50
|
"@storybook/react": "^7.6.20",
|
|
54
51
|
"@storybook/react-webpack5": "^7.6.20",
|
|
55
|
-
"@storybook/testing-library": "^0.0.11",
|
|
56
52
|
"@testing-library/jest-dom": "^6.9.1",
|
|
57
|
-
"@testing-library/react": "^16.3.
|
|
53
|
+
"@testing-library/react": "^16.3.1",
|
|
58
54
|
"@testing-library/user-event": "^14.6.1",
|
|
59
55
|
"@types/flat": "^5.0.5",
|
|
60
56
|
"@types/jest": "^28.1.4",
|
|
@@ -68,8 +64,8 @@
|
|
|
68
64
|
"@typescript-eslint/eslint-plugin": "^5.52.0",
|
|
69
65
|
"@typescript-eslint/parser": "^5.35.1",
|
|
70
66
|
"@typescript-eslint/typescript-estree": "^5.35.1",
|
|
71
|
-
"@vitest/coverage-v8": "^
|
|
72
|
-
"@vitest/ui": "^
|
|
67
|
+
"@vitest/coverage-v8": "^4.0.17",
|
|
68
|
+
"@vitest/ui": "^4.0.17",
|
|
73
69
|
"babel-jest": "^28.1.2",
|
|
74
70
|
"babel-loader": "^8.2.5",
|
|
75
71
|
"copyfiles": "^2.4.1",
|
|
@@ -79,18 +75,15 @@
|
|
|
79
75
|
"eslint-plugin-no-inline-styles": "^1.0.5",
|
|
80
76
|
"eslint-plugin-prettier": "^5.1.2",
|
|
81
77
|
"eslint-plugin-testing-library": "^6.2.0",
|
|
82
|
-
"husky": "^8.0.3",
|
|
83
78
|
"is-ci": "^3.0.1",
|
|
84
79
|
"lint-staged": "^16.2.1",
|
|
85
80
|
"msw": "^2.10.4",
|
|
86
81
|
"msw-storybook-addon": "^2.0.5",
|
|
87
82
|
"prettier": "^3.0.0",
|
|
88
|
-
"react": "^18.1.0",
|
|
89
|
-
"react-dom": "^18.1.0",
|
|
90
83
|
"rimraf": "^3.0.2",
|
|
91
84
|
"storybook": "^7.6.20",
|
|
92
85
|
"typescript": "^4.7.3",
|
|
93
|
-
"vitest": "^
|
|
86
|
+
"vitest": "^4.0.17",
|
|
94
87
|
"vitest-preview": "^0.0.3",
|
|
95
88
|
"webpack": "^5.74.0",
|
|
96
89
|
"yalc": "^1.0.0-pre.53"
|
|
@@ -135,8 +128,10 @@
|
|
|
135
128
|
"no-eval-handlebars": "^1.0.2",
|
|
136
129
|
"pluralize": "^8.0.0",
|
|
137
130
|
"pretty-bytes": "^6.1.1",
|
|
131
|
+
"quill": "^2.0.3",
|
|
132
|
+
"quill-table-up": "^3.2.2",
|
|
138
133
|
"react-dropzone": "^14.2.2",
|
|
139
|
-
"react-hook-form": "
|
|
134
|
+
"react-hook-form": "7.43.0",
|
|
140
135
|
"react-input-mask": "^2.0.4",
|
|
141
136
|
"react-number-format": "^4.9.3",
|
|
142
137
|
"react-querybuilder": "^6.0.2",
|