@evoke-platform/ui-components 1.0.0-dev.235 → 1.0.0-dev.236
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/core/Accordion/Accordion.d.ts +1 -0
- package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.d.ts +1 -0
- package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.d.ts +1 -0
- package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.d.ts +1 -0
- package/dist/published/components/core/Alert/Alert.d.ts +1 -0
- package/dist/published/components/core/AlertTitle/AlertTitle.d.ts +1 -0
- package/dist/published/components/core/AppBar/AppBar.d.ts +1 -0
- package/dist/published/components/core/Avatar/Avatar.d.ts +1 -0
- package/dist/published/components/core/Backdrop/Backdrop.d.ts +1 -0
- package/dist/published/components/core/Badge/Badge.d.ts +1 -0
- package/dist/published/components/core/Breadcrumbs/Breadcrumbs.d.ts +1 -0
- package/dist/published/components/core/Button/Button.d.ts +1 -0
- package/dist/published/components/core/ButtonGroup/ButtonGroup.d.ts +1 -0
- package/dist/published/components/core/Card/Card.d.ts +1 -0
- package/dist/published/components/core/Checkbox/Checkbox.d.ts +1 -0
- package/dist/published/components/core/Chip/Chip.d.ts +1 -0
- package/dist/published/components/core/CircularProgress/CircularProgress.d.ts +1 -0
- package/dist/published/components/core/Collapse/Collapse.d.ts +1 -0
- package/dist/published/components/core/DatePicker/DatePicker.d.ts +1 -0
- package/dist/published/components/core/DateTimePicker/DateTimePicker.d.ts +1 -0
- package/dist/published/components/core/Dialog/Dialog.d.ts +1 -0
- package/dist/published/components/core/Dialog/DialogContent/DialogContent.d.ts +1 -0
- package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.d.ts +1 -0
- package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.d.ts +1 -0
- package/dist/published/components/core/Divider/Divider.d.ts +1 -0
- package/dist/published/components/core/Drawer/Drawer.d.ts +1 -0
- package/dist/published/components/core/FieldError/FieldError.d.ts +1 -0
- package/dist/published/components/core/FormElements/FormControl/FormControl.d.ts +1 -0
- package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.d.ts +1 -0
- package/dist/published/components/core/FormElements/FormGroup/FormGroup.d.ts +1 -0
- package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.d.ts +1 -0
- package/dist/published/components/core/FormElements/FormLabel/FormLabel.d.ts +1 -0
- package/dist/published/components/core/IconButton/IconButton.d.ts +1 -0
- package/dist/published/components/core/LinearProgress/LinearProgress.d.ts +1 -0
- package/dist/published/components/core/Link/Link.d.ts +1 -0
- package/dist/published/components/core/List/List.d.ts +1 -0
- package/dist/published/components/core/List/ListItem.d.ts +1 -0
- package/dist/published/components/core/List/ListItemText/ListItemText.d.ts +1 -0
- package/dist/published/components/core/LoadingButton/LoadingButton.d.ts +1 -0
- package/dist/published/components/core/LocalizationProvider/LocalizationProvider.d.ts +1 -0
- package/dist/published/components/core/Menu/Menu.d.ts +1 -0
- package/dist/published/components/core/Menu/MenuItem/MenuItem.d.ts +1 -0
- package/dist/published/components/core/Paper/Paper.d.ts +1 -0
- package/dist/published/components/core/Popover/Popover.d.ts +1 -0
- package/dist/published/components/core/Popper/Popper.d.ts +1 -0
- package/dist/published/components/core/RadioGroup/Radio.d.ts +1 -0
- package/dist/published/components/core/RadioGroup/RadioGroup.d.ts +1 -0
- package/dist/published/components/core/Select/Select.d.ts +1 -0
- package/dist/published/components/core/Skeleton/Skeleton.d.ts +1 -0
- package/dist/published/components/core/StaticDatePicker/StaticDatePicker.d.ts +1 -0
- package/dist/published/components/core/Stepper/Step/Step.d.ts +1 -0
- package/dist/published/components/core/Stepper/StepButton/StepButton.d.ts +1 -0
- package/dist/published/components/core/Stepper/StepConnector/StepConnector.d.ts +1 -0
- package/dist/published/components/core/Stepper/StepContent/StepContent.d.ts +1 -0
- package/dist/published/components/core/Stepper/StepIcon/StepIcon.d.ts +1 -0
- package/dist/published/components/core/Stepper/StepLabel/StepLabel.d.ts +1 -0
- package/dist/published/components/core/Stepper/Stepper.d.ts +1 -0
- package/dist/published/components/core/Switch/Switch.d.ts +1 -0
- package/dist/published/components/core/Table/Table.d.ts +1 -0
- package/dist/published/components/core/Tabs/Tab/Tab.d.ts +1 -0
- package/dist/published/components/core/Tabs/Tabs.d.ts +1 -0
- package/dist/published/components/core/TextField/TextField.d.ts +1 -0
- package/dist/published/components/core/ToggleButton/ToggleButton.d.ts +1 -0
- package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -0
- package/dist/published/components/core/Tooltip/Tooltip.d.ts +1 -0
- package/dist/published/components/core/Typography/index.d.ts +1 -0
- package/dist/published/components/custom/BuilderGrid/EmptyContent.d.ts +1 -0
- package/dist/published/components/custom/BuilderGrid/EmptyContentIllustration.d.ts +1 -0
- package/dist/published/components/custom/CriteriaBuilder/ValueEditor.d.ts +1 -0
- package/dist/published/components/custom/DataGrid/DataGrid.d.ts +1 -0
- package/dist/published/components/custom/DataGrid/Toolbar.d.ts +1 -0
- package/dist/published/components/custom/Form/Common/Form.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/ButtonComponent.d.ts +2 -1
- package/dist/published/components/custom/Form/FormComponents/DocumentComponent/Document.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentList.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/ImageComponent/Image.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/InstanceLookup.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectPropertyInput.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/RelatedObjectInstance.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ActionDialog.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableField.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableFieldInput.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableField.d.ts +1 -0
- package/dist/published/components/custom/Form/FormComponents/UserComponent/UserProperty.d.ts +1 -0
- package/dist/published/components/custom/Form/utils.d.ts +2 -2
- package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.d.ts +1 -0
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.d.ts +1 -0
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.d.ts +1 -0
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.js +1 -1
- package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.d.ts +1 -0
- package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.js +1 -1
- package/dist/published/components/custom/FormField/FileUpload/FileUpload.d.ts +1 -0
- package/dist/published/components/custom/FormField/Select/Select.d.ts +1 -0
- package/dist/published/components/custom/FormField/TimePickerSelect/TimePickerSelect.d.ts +1 -0
- package/dist/published/components/custom/HistoryLog/DisplayedProperty.d.ts +1 -0
- package/dist/published/components/custom/HistoryLog/Filter.d.ts +1 -0
- package/dist/published/components/custom/HistoryLog/HistoryData.d.ts +2 -1
- package/dist/published/components/custom/HistoryLog/HistoryLoading.d.ts +1 -0
- package/dist/published/components/custom/HistoryLog/index.d.ts +1 -0
- package/dist/published/components/custom/Menubar/Menubar.d.ts +1 -0
- package/dist/published/components/custom/MultiSelect/MultiSelect.d.ts +1 -0
- package/dist/published/components/custom/MultiSelect/SortableItem.d.ts +1 -0
- package/dist/published/components/custom/RepeatableField/RepeatableField.d.ts +1 -0
- package/dist/published/components/custom/RichTextViewer/index.d.ts +1 -0
- package/dist/published/components/custom/UserAvatar/UserAvatar.d.ts +1 -0
- package/dist/published/components/layout/Container/Container.d.ts +1 -0
- package/dist/published/components/layout/Grid/Grid.d.ts +1 -0
- package/dist/published/components/layout/Stack/Stack.d.ts +1 -0
- package/dist/published/icons/custom/FileWithExtension.d.ts +1 -0
- package/dist/published/icons/custom/Inherited.d.ts +1 -0
- package/dist/published/icons/custom/Overrides.d.ts +9 -4
- package/dist/published/icons/custom/TrashCan.d.ts +9 -4
- package/dist/published/icons/custom/UploadCloud.d.ts +1 -0
- package/dist/published/stories/Accordion.stories.d.ts +3 -3
- package/dist/published/stories/Alert.stories.d.ts +2 -2
- package/dist/published/stories/AlertTitle.stories.d.ts +2 -2
- package/dist/published/stories/Appbar.stories.d.ts +3 -3
- package/dist/published/stories/Autocomplete.stories.d.ts +2 -2
- package/dist/published/stories/Avatar.stories.d.ts +2 -2
- package/dist/published/stories/Backdrop.stories.d.ts +3 -3
- package/dist/published/stories/Badge.stories.d.ts +3 -3
- package/dist/published/stories/Box.stories.d.ts +8 -4
- package/dist/published/stories/Breadcrumbs.stories.d.ts +3 -3
- package/dist/published/stories/Button.stories.d.ts +3 -3
- package/dist/published/stories/ButtonGroup.stories.d.ts +3 -3
- package/dist/published/stories/Card.stories.d.ts +3 -3
- package/dist/published/stories/Checkbox.stories.d.ts +2 -2
- package/dist/published/stories/Chip.stories.d.ts +3 -3
- package/dist/published/stories/CircularProgress.stories.d.ts +2 -2
- package/dist/published/stories/Collapse.stories.d.ts +2 -2
- package/dist/published/stories/Container.stories.d.ts +3 -3
- package/dist/published/stories/CriteriaBuilder.stories.d.ts +2 -2
- package/dist/published/stories/DatePicker.stories.d.ts +3 -2
- package/dist/published/stories/Dialog.stories.d.ts +2 -2
- package/dist/published/stories/Divider.stories.d.ts +3 -3
- package/dist/published/stories/Drawer.stories.d.ts +2 -2
- package/dist/published/stories/FormControl.stories.d.ts +3 -3
- package/dist/published/stories/FormControlLabel.stories.d.ts +2 -2
- package/dist/published/stories/FormField.stories.d.ts +2 -2
- package/dist/published/stories/FormGroup.stories.d.ts +2 -2
- package/dist/published/stories/FormHelperText.stories.d.ts +4 -3
- package/dist/published/stories/FormLabel.stories.d.ts +3 -3
- package/dist/published/stories/Grid.stories.d.ts +3 -3
- package/dist/published/stories/HistoryLog.stories.d.ts +2 -2
- package/dist/published/stories/IconButton.stories.d.ts +3 -3
- package/dist/published/stories/LinearProgress.stories.d.ts +2 -2
- package/dist/published/stories/Link.stories.d.ts +3 -3
- package/dist/published/stories/List.stories.d.ts +3 -3
- package/dist/published/stories/Menu.stories.d.ts +2 -2
- package/dist/published/stories/Palette.stories.d.ts +8 -4
- package/dist/published/stories/Paper.stories.d.ts +3 -3
- package/dist/published/stories/RadioGroup.stories.d.ts +2 -2
- package/dist/published/stories/RichTextViewer.stories.d.ts +2 -2
- package/dist/published/stories/Skeleton.stories.d.ts +3 -3
- package/dist/published/stories/Snackbar.stories.d.ts +2 -2
- package/dist/published/stories/Stack.stories.d.ts +3 -3
- package/dist/published/stories/StaticDatePicker.stories.d.ts +3 -2
- package/dist/published/stories/Stepper.stories.d.ts +7 -3
- package/dist/published/stories/Switch.stories.d.ts +2 -2
- package/dist/published/stories/Table.stories.d.ts +3 -3
- package/dist/published/stories/Tabs.stories.d.ts +3 -3
- package/dist/published/stories/TextField.stories.d.ts +17 -13
- package/dist/published/stories/TimePicker.stories.d.ts +3 -2
- package/dist/published/stories/TimePickerSelect.stories.d.ts +4 -2
- package/dist/published/stories/ToggleButton.stories.d.ts +3 -3
- package/dist/published/stories/Typography.stories.d.ts +2 -2
- package/package.json +2 -2
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import { DatePickerProps as MUIDatePickerProps } from '@mui/x-date-pickers';
|
2
3
|
import { CalendarDate } from '../../../util/date';
|
3
4
|
export type DatePickerProps = Omit<MUIDatePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import { DateTimePickerProps as MUIDateTimePickerProps } from '@mui/x-date-pickers';
|
2
3
|
import { CalendarDate } from '../../../util';
|
3
4
|
export type DateTimePickerProps = Omit<MUIDateTimePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import { LocalizationProviderProps as MUILocalizationProviderProps } from '@mui/x-date-pickers';
|
2
3
|
export type LocalizationProviderProps = Omit<MUILocalizationProviderProps, 'dateAdapter'>;
|
3
4
|
declare const LocalizationProvider: (props: LocalizationProviderProps) => JSX.Element;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import { StaticDatePickerProps as MUIStaticDatePickerProps } from '@mui/x-date-pickers';
|
2
3
|
import { CalendarDate } from '../../../util/date';
|
3
4
|
export type StaticDatePickerProps = Omit<MUIStaticDatePickerProps<string | CalendarDate, CalendarDate>, 'renderInput'> & {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import { ReactComponent } from '@formio/react';
|
2
3
|
import { Root } from 'react-dom/client';
|
3
4
|
interface ButtonComponentProps {
|
@@ -24,7 +25,7 @@ export declare class ButtonComponent extends ReactComponent {
|
|
24
25
|
componentRoot?: Root;
|
25
26
|
constructor(component: ButtonComponentProps, options: any, data: any);
|
26
27
|
setError(error?: Record<string, unknown>): void;
|
27
|
-
getButton: (buttonAction:
|
28
|
+
getButton: (buttonAction: 'cancel' | 'submit' | 'save-draft') => Button | undefined;
|
28
29
|
handleCancel: (event: any) => void;
|
29
30
|
handleSaveDraft: (setSubmitting: (value: boolean) => void) => void;
|
30
31
|
handleSubmit: (setSubmitting: (value: boolean) => void) => void;
|
@@ -23,8 +23,8 @@ export declare function getMiddleInstance(instanceId: string, property: Property
|
|
23
23
|
export declare function getPrefixedUrl(url: string): string;
|
24
24
|
export declare function addObjectPropertiesToComponentProps(properties: Property[], formComponents: any[], instance?: ObjectInstance, objectPropertyInputProps?: ObjectPropertyInputProps, autoSave?: (data: Record<string, unknown>) => void, readOnly?: boolean, defaultPages?: Record<string, string>, navigateTo?: (path: string) => void, queryAddresses?: unknown, apiServices?: ApiServices, isModal?: boolean, fieldHeight?: 'small' | 'medium', richTextEditor?: typeof ReactComponent): Promise<ActionInput[]>;
|
25
25
|
export declare function getDefaultValue(initialValue: unknown, selectOptions?: AutocompleteOption[]): unknown;
|
26
|
-
export declare const buildComponentPropsFromObjectProperties: (properties: Property[], objectId: string, instance?: ObjectInstance, objectPropertyInputProps?: ObjectPropertyInputProps, hasActionPermissions?: boolean, autoSave?: (data: Record<string, unknown>) => void, readOnly?: boolean, queryAddresses?: unknown, isModal?: boolean, fieldHeight?:
|
27
|
-
export declare const buildComponentPropsFromDocumentProperties: (documentProperties: [string, unknown][], readOnly?: boolean, autoSave?: (data: Record<string, unknown>) => void, fieldHeight?:
|
26
|
+
export declare const buildComponentPropsFromObjectProperties: (properties: Property[], objectId: string, instance?: ObjectInstance, objectPropertyInputProps?: ObjectPropertyInputProps, hasActionPermissions?: boolean, autoSave?: ((data: Record<string, unknown>) => void) | undefined, readOnly?: boolean, queryAddresses?: unknown, isModal?: boolean, fieldHeight?: 'small' | 'medium', richTextEditor?: typeof ReactComponent) => unknown[];
|
27
|
+
export declare const buildComponentPropsFromDocumentProperties: (documentProperties: [string, unknown][], readOnly?: boolean, autoSave?: ((data: Record<string, unknown>) => void) | undefined, fieldHeight?: 'small' | 'medium') => {
|
28
28
|
type: string;
|
29
29
|
key: string;
|
30
30
|
label: string;
|
@@ -35,7 +35,7 @@ const DatePickerSelect = (props) => {
|
|
35
35
|
setValue(date);
|
36
36
|
onChange(property.id, date, property);
|
37
37
|
};
|
38
|
-
return readOnly ? (React.createElement(InputFieldComponent, { ...props, defaultValue: asMonthDayYearFormat(value) })) : (React.createElement(LocalizationProvider, null,
|
38
|
+
return readOnly ? (React.createElement(InputFieldComponent, { ...{ ...props, defaultValue: asMonthDayYearFormat(value) } })) : (React.createElement(LocalizationProvider, null,
|
39
39
|
React.createElement(DatePicker, { value: value, onChange: handleChange, inputFormat: "MM/dd/yyyy", renderInput: (params) => (React.createElement(TextField, { ...params, id: id, error: error, errorMessage: errorMessage, onBlur: onBlur, fullWidth: true, required: required, sx: { background: 'white', borderRadius: '8px' }, size: size ?? 'medium', ...(additionalProps ?? {}) })) })));
|
40
40
|
};
|
41
41
|
export default DatePickerSelect;
|