@evoke-platform/ui-components 1.2.0-dev.0 → 1.2.0-dev.2
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 +2 -2
- package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.d.ts +2 -2
- package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.d.ts +2 -2
- package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.d.ts +2 -2
- package/dist/published/components/core/Alert/Alert.d.ts +2 -2
- package/dist/published/components/core/AlertTitle/AlertTitle.d.ts +2 -2
- package/dist/published/components/core/AppBar/AppBar.d.ts +2 -2
- package/dist/published/components/core/Autocomplete/Autocomplete.d.ts +2 -2
- package/dist/published/components/core/Avatar/Avatar.d.ts +2 -2
- package/dist/published/components/core/Backdrop/Backdrop.d.ts +2 -2
- package/dist/published/components/core/Badge/Badge.d.ts +2 -2
- package/dist/published/components/core/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/published/components/core/Button/Button.d.ts +2 -2
- package/dist/published/components/core/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/dist/published/components/core/Card/Card.d.ts +2 -2
- package/dist/published/components/core/Checkbox/Checkbox.d.ts +2 -2
- package/dist/published/components/core/Chip/Chip.d.ts +2 -2
- package/dist/published/components/core/CircularProgress/CircularProgress.d.ts +2 -2
- package/dist/published/components/core/Collapse/Collapse.d.ts +2 -2
- package/dist/published/components/core/DatePicker/DatePicker.d.ts +2 -2
- package/dist/published/components/core/DateTimePicker/DateTimePicker.d.ts +2 -2
- package/dist/published/components/core/Dialog/Dialog.d.ts +2 -2
- package/dist/published/components/core/Dialog/DialogActions/DialogActions.d.ts +2 -2
- package/dist/published/components/core/Dialog/DialogContent/DialogContent.d.ts +2 -2
- package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.d.ts +2 -2
- package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.d.ts +2 -2
- package/dist/published/components/core/Divider/Divider.d.ts +2 -2
- package/dist/published/components/core/Drawer/Drawer.d.ts +2 -2
- package/dist/published/components/core/FieldError/FieldError.d.ts +2 -2
- package/dist/published/components/core/FormElements/FormControl/FormControl.d.ts +2 -2
- package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.d.ts +2 -2
- package/dist/published/components/core/FormElements/FormGroup/FormGroup.d.ts +2 -2
- package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.d.ts +2 -2
- package/dist/published/components/core/FormElements/FormLabel/FormLabel.d.ts +2 -2
- package/dist/published/components/core/IconButton/IconButton.d.ts +2 -2
- package/dist/published/components/core/LinearProgress/LinearProgress.d.ts +2 -2
- package/dist/published/components/core/Link/Link.d.ts +2 -2
- package/dist/published/components/core/List/List.d.ts +2 -2
- package/dist/published/components/core/List/ListItem.d.ts +2 -2
- package/dist/published/components/core/List/ListItemText/ListItemText.d.ts +2 -2
- package/dist/published/components/core/LoadingButton/LoadingButton.d.ts +2 -2
- package/dist/published/components/core/LocalizationProvider/LocalizationProvider.d.ts +2 -2
- package/dist/published/components/core/Menu/Menu.d.ts +2 -2
- package/dist/published/components/core/Menu/MenuItem/MenuItem.d.ts +2 -2
- package/dist/published/components/core/Paper/Paper.d.ts +2 -2
- package/dist/published/components/core/Popover/Popover.d.ts +2 -2
- package/dist/published/components/core/Popper/Popper.d.ts +2 -2
- package/dist/published/components/core/RadioGroup/Radio.d.ts +2 -2
- package/dist/published/components/core/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/published/components/core/Select/Select.d.ts +2 -2
- package/dist/published/components/core/Skeleton/Skeleton.d.ts +2 -2
- package/dist/published/components/core/Snackbar/Snackbar.d.ts +2 -2
- package/dist/published/components/core/StaticDatePicker/StaticDatePicker.d.ts +2 -2
- package/dist/published/components/core/Stepper/Step/Step.d.ts +2 -2
- package/dist/published/components/core/Stepper/StepButton/StepButton.d.ts +2 -2
- package/dist/published/components/core/Stepper/StepConnector/StepConnector.d.ts +2 -2
- package/dist/published/components/core/Stepper/StepContent/StepContent.d.ts +2 -2
- package/dist/published/components/core/Stepper/StepIcon/StepIcon.d.ts +2 -2
- package/dist/published/components/core/Stepper/StepLabel/StepLabel.d.ts +2 -2
- package/dist/published/components/core/Stepper/Stepper.d.ts +2 -2
- package/dist/published/components/core/Switch/Switch.d.ts +2 -2
- package/dist/published/components/core/Table/Table.d.ts +2 -2
- package/dist/published/components/core/Tabs/Tab/Tab.d.ts +2 -2
- package/dist/published/components/core/Tabs/Tabs.d.ts +2 -2
- package/dist/published/components/core/TextField/TextField.d.ts +2 -2
- package/dist/published/components/core/ToggleButton/ToggleButton.d.ts +2 -2
- package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/dist/published/components/core/Tooltip/Tooltip.d.ts +2 -2
- package/dist/published/components/core/Typography/index.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/BuilderGrid.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/BuilderGridToolbar.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/EmptyContent.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/EmptyContentIllustration.d.ts +2 -2
- package/dist/published/components/custom/BuilderGrid/ToolbarActions.d.ts +2 -2
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.d.ts +3 -3
- package/dist/published/components/custom/CriteriaBuilder/PropertyTree.d.ts +2 -2
- package/dist/published/components/custom/CriteriaBuilder/PropertyTreeItem.d.ts +2 -2
- package/dist/published/components/custom/CriteriaBuilder/ValueEditor.d.ts +2 -2
- package/dist/published/components/custom/DataGrid/DataGrid.d.ts +2 -2
- package/dist/published/components/custom/DataGrid/Toolbar.d.ts +2 -2
- package/dist/published/components/custom/ErrorComponent/ErrorComponent.d.ts +2 -2
- package/dist/published/components/custom/Form/Common/Form.d.ts +1 -1
- package/dist/published/components/custom/Form/Common/FormComponentWrapper.d.ts +1 -1
- package/dist/published/components/custom/Form/FormComponents/ButtonComponent.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/DocumentComponent/Document.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/DocumentComponent/DocumentList.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/ImageComponent/Image.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/InstanceLookup.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectPropertyInput.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/RelatedObjectInstance.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ActionDialog.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableField.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/ManyToMany/DropdownRepeatableFieldInput.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableField.d.ts +2 -2
- package/dist/published/components/custom/Form/FormComponents/UserComponent/UserProperty.d.ts +2 -2
- package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.d.ts +2 -2
- package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.js +1 -1
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.d.ts +2 -2
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.d.ts +2 -2
- package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.d.ts +2 -2
- package/dist/published/components/custom/FormField/FileUpload/FileUpload.d.ts +2 -2
- package/dist/published/components/custom/FormField/FormField.d.ts +2 -2
- package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.d.ts +2 -2
- package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.js +1 -1
- package/dist/published/components/custom/FormField/Select/Select.d.ts +2 -2
- package/dist/published/components/custom/FormField/TimePickerSelect/TimePickerSelect.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/DisplayedProperty.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/Filter.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/HistoryData.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/HistoryLoading.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/index.d.ts +2 -2
- package/dist/published/components/custom/Menubar/Menubar.d.ts +3 -4
- package/dist/published/components/custom/Menubar/Menubar.js +15 -12
- package/dist/published/components/custom/MultiSelect/MultiSelect.d.ts +2 -2
- package/dist/published/components/custom/MultiSelect/SortableItem.d.ts +2 -2
- package/dist/published/components/custom/RepeatableField/RepeatableField.d.ts +2 -2
- package/dist/published/components/custom/RichTextViewer/index.d.ts +2 -2
- package/dist/published/components/custom/UserAvatar/UserAvatar.d.ts +2 -2
- package/dist/published/components/layout/Box/Box.d.ts +2 -2
- package/dist/published/components/layout/Container/Container.d.ts +2 -2
- package/dist/published/components/layout/Grid/Grid.d.ts +2 -2
- package/dist/published/components/layout/Stack/Stack.d.ts +2 -2
- package/dist/published/icons/custom/FileWithExtension.d.ts +4 -2
- package/dist/published/icons/custom/Inherited.d.ts +4 -2
- package/dist/published/icons/custom/Overrides.d.ts +6 -4
- package/dist/published/icons/custom/TrashCan.d.ts +6 -4
- package/dist/published/icons/custom/UploadCloud.d.ts +4 -2
- package/dist/published/index.d.ts +2 -1
- package/dist/published/index.js +2 -1
- package/dist/published/stories/Accordion.stories.d.ts +3 -3
- package/dist/published/stories/Alert.stories.d.ts +3 -3
- package/dist/published/stories/AlertTitle.stories.d.ts +3 -3
- package/dist/published/stories/Appbar.stories.d.ts +3 -3
- package/dist/published/stories/Autocomplete.stories.d.ts +3 -3
- package/dist/published/stories/Avatar.stories.d.ts +3 -3
- 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 +6 -6
- 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 +3 -3
- package/dist/published/stories/Chip.stories.d.ts +3 -3
- package/dist/published/stories/CircularProgress.stories.d.ts +3 -3
- package/dist/published/stories/Collapse.stories.d.ts +3 -3
- package/dist/published/stories/Container.stories.d.ts +3 -3
- package/dist/published/stories/CriteriaBuilder.stories.d.ts +7 -7
- package/dist/published/stories/DatePicker.stories.d.ts +3 -3
- package/dist/published/stories/Dialog.stories.d.ts +3 -3
- package/dist/published/stories/Divider.stories.d.ts +3 -3
- package/dist/published/stories/Drawer.stories.d.ts +3 -3
- package/dist/published/stories/FormControl.stories.d.ts +3 -3
- package/dist/published/stories/FormControlLabel.stories.d.ts +3 -3
- package/dist/published/stories/FormField.stories.d.ts +12 -12
- package/dist/published/stories/FormGroup.stories.d.ts +3 -3
- package/dist/published/stories/FormHelperText.stories.d.ts +3 -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 +3 -3
- package/dist/published/stories/IconButton.stories.d.ts +3 -3
- package/dist/published/stories/LinearProgress.stories.d.ts +3 -3
- 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 +3 -3
- package/dist/published/stories/Palette.stories.d.ts +6 -6
- package/dist/published/stories/Paper.stories.d.ts +3 -3
- package/dist/published/stories/RadioGroup.stories.d.ts +3 -3
- package/dist/published/stories/RichTextViewer.stories.d.ts +3 -3
- package/dist/published/stories/Skeleton.stories.d.ts +3 -3
- package/dist/published/stories/Snackbar.stories.d.ts +3 -3
- package/dist/published/stories/Stack.stories.d.ts +3 -3
- package/dist/published/stories/StaticDatePicker.stories.d.ts +4 -4
- package/dist/published/stories/Stepper.stories.d.ts +4 -4
- package/dist/published/stories/Switch.stories.d.ts +3 -3
- 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 +4 -4
- package/dist/published/stories/TimePickerSelect.stories.d.ts +3 -3
- package/dist/published/stories/ToggleButton.stories.d.ts +3 -3
- package/dist/published/stories/Typography.stories.d.ts +3 -3
- package/dist/published/theme/UIThemeProvider.d.ts +2 -2
- package/dist/published/theme/hooks.d.ts +31 -0
- package/dist/published/theme/hooks.js +35 -0
- package/dist/published/theme/index.d.ts +3 -0
- package/dist/published/theme/index.js +3 -0
- package/package.json +3 -3
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
2
|
+
import React from 'react';
|
3
3
|
import { FormHelperTextProps } from '../index';
|
4
|
-
declare const _default: ComponentMeta<(props: FormHelperTextProps<"p", {}>) => JSX.Element>;
|
4
|
+
declare const _default: ComponentMeta<(props: FormHelperTextProps<"p", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const FormHelperText: ComponentStory<(props: FormHelperTextProps<"p", {}>) => JSX.Element>;
|
6
|
+
export declare const FormHelperText: ComponentStory<(props: FormHelperTextProps<"p", {}>) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { FormLabelProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: FormLabelProps<"label", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const FormLabel: ComponentStory<(props: FormLabelProps<"label", {}>) => JSX.Element>;
|
6
|
+
export declare const FormLabel: ComponentStory<(props: FormLabelProps<"label", {}>) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { GridProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: GridProps<"div", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const Grid: ComponentStory<(props: GridProps<"div", {}>) => JSX.Element>;
|
6
|
+
export declare const Grid: ComponentStory<(props: GridProps<"div", {}>) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
3
|
import { HistoryLogProps } from '../components/custom/HistoryLog';
|
4
|
-
declare const _default: ComponentMeta<(props: HistoryLogProps) => JSX.Element>;
|
4
|
+
declare const _default: ComponentMeta<(props: HistoryLogProps) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const HistoryLog: ComponentStory<(props: HistoryLogProps) => JSX.Element>;
|
6
|
+
export declare const HistoryLog: ComponentStory<(props: HistoryLogProps) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { IconButtonProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: IconButtonProps<"button", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const IconButton: ComponentStory<(props: IconButtonProps<"button", {}>) => JSX.Element>;
|
6
|
+
export declare const IconButton: ComponentStory<(props: IconButtonProps<"button", {}>) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { LinearProgressProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: LinearProgressProps) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const LinearProgress: ComponentStory<(props: LinearProgressProps) => JSX.Element>;
|
6
|
+
export declare const LinearProgress: ComponentStory<(props: LinearProgressProps) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { LinkProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: LinkProps<"a", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const Link: ComponentStory<(props: LinkProps<"a", {}>) => JSX.Element>;
|
6
|
+
export declare const Link: ComponentStory<(props: LinkProps<"a", {}>) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ListProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: ListProps<"ul", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const List: ComponentStory<(props: ListProps<"ul", {}>) => JSX.Element>;
|
6
|
+
export declare const List: ComponentStory<(props: ListProps<"ul", {}>) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { MenuProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: MenuProps) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const Menu: ComponentStory<(props: MenuProps) => JSX.Element>;
|
6
|
+
export declare const Menu: ComponentStory<(props: MenuProps) => React.JSX.Element>;
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
2
2
|
import React from 'react';
|
3
|
-
declare const _default: ComponentMeta<(props: import("@mui/system").BoxOwnProps<import("@mui/material/styles/createTheme").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/system").BoxOwnProps<import("@mui/material/styles/createTheme").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
4
4
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
5
5
|
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles/createTheme").Theme>> & {
|
6
6
|
sx?: object | undefined;
|
7
|
-
component?: React.ElementType<any> | undefined;
|
8
|
-
}) => JSX.Element>;
|
7
|
+
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
8
|
+
}) => React.JSX.Element>;
|
9
9
|
export default _default;
|
10
|
-
export declare const Palette: ComponentStory<(props: import("@mui/system").BoxOwnProps<import("@mui/material/styles/createTheme").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<
|
10
|
+
export declare const Palette: ComponentStory<(props: import("@mui/system").BoxOwnProps<import("@mui/material/styles/createTheme").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
11
11
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
12
12
|
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles/createTheme").Theme>> & {
|
13
13
|
sx?: object | undefined;
|
14
|
-
component?: React.ElementType<any> | undefined;
|
15
|
-
}) => JSX.Element>;
|
14
|
+
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
15
|
+
}) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { PaperProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: PaperProps<"div", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const Paper: ComponentStory<(props: PaperProps<"div", {}>) => JSX.Element>;
|
6
|
+
export declare const Paper: ComponentStory<(props: PaperProps<"div", {}>) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { RadioGroupProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: RadioGroupProps) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const RadioGroup: ComponentStory<(props: RadioGroupProps) => JSX.Element>;
|
6
|
+
export declare const RadioGroup: ComponentStory<(props: RadioGroupProps) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
3
|
import { RichTextViewerProps } from '../components/custom/RichTextViewer';
|
4
|
-
declare const _default: ComponentMeta<(props: RichTextViewerProps) => JSX.Element>;
|
4
|
+
declare const _default: ComponentMeta<(props: RichTextViewerProps) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const RichTextViewer: ComponentStory<(props: RichTextViewerProps) => JSX.Element>;
|
6
|
+
export declare const RichTextViewer: ComponentStory<(props: RichTextViewerProps) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { SkeletonProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: SkeletonProps<"span", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const Skeleton: ComponentStory<(props: SkeletonProps<"span", {}>) => JSX.Element>;
|
6
|
+
export declare const Skeleton: ComponentStory<(props: SkeletonProps<"span", {}>) => React.JSX.Element>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
3
|
-
|
2
|
+
import React from 'react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("../components/core/Snackbar/Snackbar").SnackbarAlertProps) => React.JSX.Element>;
|
4
4
|
export default _default;
|
5
|
-
export declare const Snackbar: ComponentStory<(props: import("../components/core/Snackbar/Snackbar").SnackbarAlertProps) => JSX.Element>;
|
5
|
+
export declare const Snackbar: ComponentStory<(props: import("../components/core/Snackbar/Snackbar").SnackbarAlertProps) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { StackProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: StackProps<"div", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const Stack: ComponentStory<(props: StackProps<"div", {}>) => JSX.Element>;
|
6
|
+
export declare const Stack: ComponentStory<(props: StackProps<"div", {}>) => React.JSX.Element>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
2
|
+
import React from 'react';
|
3
3
|
import { StaticDatePickerProps } from '../index';
|
4
|
-
declare const _default: ComponentMeta<(props: StaticDatePickerProps) => JSX.Element>;
|
4
|
+
declare const _default: ComponentMeta<(props: StaticDatePickerProps) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const Desktop: ComponentStory<(props: StaticDatePickerProps) => JSX.Element>;
|
7
|
-
export declare const Mobile: ComponentStory<(props: StaticDatePickerProps) => JSX.Element>;
|
6
|
+
export declare const Desktop: ComponentStory<(props: StaticDatePickerProps) => React.JSX.Element>;
|
7
|
+
export declare const Mobile: ComponentStory<(props: StaticDatePickerProps) => React.JSX.Element>;
|
@@ -2,9 +2,9 @@ import { StepperProps } from '@mui/material';
|
|
2
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
3
3
|
import React from 'react';
|
4
4
|
declare const _default: ComponentMeta<(props: StepperProps<"div", {
|
5
|
-
component?: React.ElementType<any> | undefined;
|
6
|
-
}>) => JSX.Element>;
|
5
|
+
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
6
|
+
}>) => React.JSX.Element>;
|
7
7
|
export default _default;
|
8
8
|
export declare const Stepper: ComponentStory<(props: StepperProps<"div", {
|
9
|
-
component?: React.ElementType<any> | undefined;
|
10
|
-
}>) => JSX.Element>;
|
9
|
+
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
10
|
+
}>) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { SwitchProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: SwitchProps) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const Switch: ComponentStory<(props: SwitchProps) => JSX.Element>;
|
6
|
+
export declare const Switch: ComponentStory<(props: SwitchProps) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { TableProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: TableProps<"table", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const Table: ComponentStory<(props: TableProps<"table", {}>) => JSX.Element>;
|
6
|
+
export declare const Table: ComponentStory<(props: TableProps<"table", {}>) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { TabsProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: TabsProps<"div", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const Tabs: ComponentStory<(props: TabsProps<"div", {}>) => JSX.Element>;
|
6
|
+
export declare const Tabs: ComponentStory<(props: TabsProps<"div", {}>) => React.JSX.Element>;
|
@@ -1,21 +1,21 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
2
|
+
import React from 'react';
|
3
3
|
declare const _default: ComponentMeta<(props: (import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps | import("@mui/material").StandardTextFieldProps) & {
|
4
4
|
labelPlacement?: string | undefined;
|
5
5
|
readOnly?: boolean | undefined;
|
6
6
|
instructionText?: string | undefined;
|
7
7
|
errorMessage?: string | undefined;
|
8
|
-
}) => JSX.Element>;
|
8
|
+
}) => React.JSX.Element>;
|
9
9
|
export default _default;
|
10
10
|
export declare const TextField: ComponentStory<(props: (import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps | import("@mui/material").StandardTextFieldProps) & {
|
11
11
|
labelPlacement?: string | undefined;
|
12
12
|
readOnly?: boolean | undefined;
|
13
13
|
instructionText?: string | undefined;
|
14
14
|
errorMessage?: string | undefined;
|
15
|
-
}) => JSX.Element>;
|
15
|
+
}) => React.JSX.Element>;
|
16
16
|
export declare const TextFieldReadOnly: ComponentStory<(props: (import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps | import("@mui/material").StandardTextFieldProps) & {
|
17
17
|
labelPlacement?: string | undefined;
|
18
18
|
readOnly?: boolean | undefined;
|
19
19
|
instructionText?: string | undefined;
|
20
20
|
errorMessage?: string | undefined;
|
21
|
-
}) => JSX.Element>;
|
21
|
+
}) => React.JSX.Element>;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
2
|
+
import React from 'react';
|
3
3
|
declare const _default: ComponentMeta<(props: import("../components/custom/FormField/FormField").FormFieldProps & {
|
4
4
|
id: string;
|
5
|
-
}) => JSX.Element>;
|
5
|
+
}) => React.JSX.Element>;
|
6
6
|
export default _default;
|
7
7
|
export declare const TimePicker: ComponentStory<(props: import("../components/custom/FormField/FormField").FormFieldProps & {
|
8
8
|
id: string;
|
9
|
-
}) => JSX.Element>;
|
9
|
+
}) => React.JSX.Element>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ToggleButtonProps } from '@mui/material';
|
3
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
4
|
-
|
3
|
+
import React from 'react';
|
4
|
+
declare const _default: ComponentMeta<(props: ToggleButtonProps<"button", {}>) => React.JSX.Element>;
|
5
5
|
export default _default;
|
6
|
-
export declare const ToggleButton: ComponentStory<(props: ToggleButtonProps<"button", {}>) => JSX.Element>;
|
6
|
+
export declare const ToggleButton: ComponentStory<(props: ToggleButtonProps<"button", {}>) => React.JSX.Element>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
3
|
-
|
2
|
+
import React from 'react';
|
3
|
+
declare const _default: ComponentMeta<(props: any) => React.JSX.Element>;
|
4
4
|
export default _default;
|
5
|
-
export declare const Typography: ComponentStory<(props: any) => JSX.Element>;
|
5
|
+
export declare const Typography: ComponentStory<(props: any) => React.JSX.Element>;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { Theme } from '@mui/material';
|
2
|
-
import { ReactNode } from 'react';
|
2
|
+
import React, { ReactNode } from 'react';
|
3
3
|
type ThemeProviderPropType = {
|
4
4
|
args?: {
|
5
5
|
theme?: Theme;
|
6
6
|
};
|
7
7
|
children: ReactNode | string;
|
8
8
|
};
|
9
|
-
declare function UIThemeProvider(props: ThemeProviderPropType): JSX.Element;
|
9
|
+
declare function UIThemeProvider(props: ThemeProviderPropType): React.JSX.Element;
|
10
10
|
export default UIThemeProvider;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { Breakpoint } from '@mui/material/styles';
|
2
|
+
/**
|
3
|
+
* Custom hook for responsive design breakpoints using size terminology.
|
4
|
+
* Breakpoints based on MUI default theme:
|
5
|
+
* - xs: 0px to 599px
|
6
|
+
* - sm: 600px to 899px
|
7
|
+
* - md: 900px to 1199px
|
8
|
+
* - lg: 1200px to 1535px
|
9
|
+
* - xl: 1536px and up
|
10
|
+
* @returns Object with boolean flags for different breakpoints
|
11
|
+
*/
|
12
|
+
export declare function useResponsive(): {
|
13
|
+
/** Extra small screens (0px to 599px) */
|
14
|
+
isXs: boolean;
|
15
|
+
/** Small screens (600px to 899px) */
|
16
|
+
isSm: boolean;
|
17
|
+
/** Medium screens (900px to 1199px) */
|
18
|
+
isMd: boolean;
|
19
|
+
/** Large screens (1200px to 1535px) */
|
20
|
+
isLg: boolean;
|
21
|
+
/** Extra large screens (1536px and up) */
|
22
|
+
isXl: boolean;
|
23
|
+
/** Returns true if viewport width is smaller than the specified breakpoint */
|
24
|
+
smallerThan: (breakpoint: Breakpoint) => boolean;
|
25
|
+
/** Returns true if viewport width is larger than the specified breakpoint */
|
26
|
+
largerThan: (breakpoint: Breakpoint) => boolean;
|
27
|
+
/** Returns true if viewport width is exactly within the specified breakpoint range */
|
28
|
+
exactly: (breakpoint: Breakpoint) => boolean;
|
29
|
+
/** Returns true if viewport width is between the specified breakpoints */
|
30
|
+
between: (start: Breakpoint, end: Breakpoint) => boolean;
|
31
|
+
};
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { useTheme } from '@mui/material';
|
2
|
+
import useMediaQuery from '@mui/material/useMediaQuery';
|
3
|
+
/**
|
4
|
+
* Custom hook for responsive design breakpoints using size terminology.
|
5
|
+
* Breakpoints based on MUI default theme:
|
6
|
+
* - xs: 0px to 599px
|
7
|
+
* - sm: 600px to 899px
|
8
|
+
* - md: 900px to 1199px
|
9
|
+
* - lg: 1200px to 1535px
|
10
|
+
* - xl: 1536px and up
|
11
|
+
* @returns Object with boolean flags for different breakpoints
|
12
|
+
*/
|
13
|
+
export function useResponsive() {
|
14
|
+
const theme = useTheme();
|
15
|
+
return {
|
16
|
+
/** Extra small screens (0px to 599px) */
|
17
|
+
isXs: useMediaQuery(theme.breakpoints.only('xs')),
|
18
|
+
/** Small screens (600px to 899px) */
|
19
|
+
isSm: useMediaQuery(theme.breakpoints.only('sm')),
|
20
|
+
/** Medium screens (900px to 1199px) */
|
21
|
+
isMd: useMediaQuery(theme.breakpoints.only('md')),
|
22
|
+
/** Large screens (1200px to 1535px) */
|
23
|
+
isLg: useMediaQuery(theme.breakpoints.only('lg')),
|
24
|
+
/** Extra large screens (1536px and up) */
|
25
|
+
isXl: useMediaQuery(theme.breakpoints.only('xl')),
|
26
|
+
/** Returns true if viewport width is smaller than the specified breakpoint */
|
27
|
+
smallerThan: (breakpoint) => useMediaQuery(theme.breakpoints.down(breakpoint)),
|
28
|
+
/** Returns true if viewport width is larger than the specified breakpoint */
|
29
|
+
largerThan: (breakpoint) => useMediaQuery(theme.breakpoints.up(breakpoint)),
|
30
|
+
/** Returns true if viewport width is exactly within the specified breakpoint range */
|
31
|
+
exactly: (breakpoint) => useMediaQuery(theme.breakpoints.only(breakpoint)),
|
32
|
+
/** Returns true if viewport width is between the specified breakpoints */
|
33
|
+
between: (start, end) => useMediaQuery(theme.breakpoints.between(start, end)),
|
34
|
+
};
|
35
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@evoke-platform/ui-components",
|
3
|
-
"version": "1.2.0-dev.
|
3
|
+
"version": "1.2.0-dev.2",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/published/index.js",
|
6
6
|
"module": "dist/published/index.js",
|
@@ -56,7 +56,7 @@
|
|
56
56
|
"@types/luxon": "^3.4.2",
|
57
57
|
"@types/nanoid-dictionary": "^4.2.3",
|
58
58
|
"@types/node": "^17.0.41",
|
59
|
-
"@types/react": "^
|
59
|
+
"@types/react": "^18.0.17",
|
60
60
|
"@types/react-dom": "^18.0.5",
|
61
61
|
"@types/react-input-mask": "^3.0.2",
|
62
62
|
"@typescript-eslint/eslint-plugin": "^5.52.0",
|
@@ -122,7 +122,7 @@
|
|
122
122
|
"pluralize": "^8.0.0",
|
123
123
|
"pretty-bytes": "^6.1.1",
|
124
124
|
"react-dropzone": "^14.2.2",
|
125
|
-
"react-input-mask": "
|
125
|
+
"react-input-mask": "3.0.0-alpha.2",
|
126
126
|
"react-number-format": "^4.9.3",
|
127
127
|
"react-querybuilder": "^6.0.2",
|
128
128
|
"rtf.js": "^3.0.9",
|