@evoke-platform/ui-components 1.4.0-testing.9 → 1.5.0-dev.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/core/DatePicker/DatePicker.js +1 -1
- package/dist/published/components/core/List/ListItemIcon/ListItemIcon.d.ts +4 -0
- package/dist/published/components/core/List/ListItemIcon/ListItemIcon.js +6 -0
- package/dist/published/components/core/List/ListItemIcon/index.d.ts +3 -0
- package/dist/published/components/core/List/ListItemIcon/index.js +3 -0
- package/dist/published/components/core/List/index.d.ts +2 -1
- package/dist/published/components/core/List/index.js +2 -1
- package/dist/published/components/core/index.d.ts +4 -2
- package/dist/published/components/core/index.js +2 -1
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.js +66 -51
- package/dist/published/components/custom/CriteriaBuilder/PropertyTree.js +1 -1
- package/dist/published/components/custom/CriteriaBuilder/ValueEditor.d.ts +2 -3
- package/dist/published/components/custom/CriteriaBuilder/ValueEditor.js +89 -71
- package/dist/published/components/custom/CriteriaBuilder/utils.js +2 -2
- package/dist/published/components/custom/Form/Common/FormComponentWrapper.js +18 -17
- package/dist/published/components/custom/Form/FormComponents/CriteriaComponent/Criteria.js +52 -1
- package/dist/published/components/custom/Form/FormComponents/FormFieldComponent.d.ts +1 -1
- package/dist/published/components/custom/Form/FormComponents/FormFieldComponent.js +7 -10
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/ObjectComponent.js +8 -4
- package/dist/published/components/custom/Form/FormComponents/ObjectComponent/RelatedObjectInstance.js +3 -3
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/DocumentViewerCell.d.ts +13 -0
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/DocumentViewerCell.js +115 -0
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableField.js +25 -26
- package/dist/published/components/custom/Form/FormComponents/RepeatableFieldComponent/RepeatableFieldComponent.js +1 -1
- package/dist/published/components/custom/Form/utils.js +2 -2
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.js +24 -21
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.test.js +50 -8
- package/dist/published/components/custom/FormField/FormField.d.ts +4 -1
- package/dist/published/components/custom/FormField/FormField.js +5 -2
- package/dist/published/components/custom/HistoryLog/DisplayedProperty.js +1 -1
- package/dist/published/components/custom/Menubar/Menubar.d.ts +14 -1
- package/dist/published/components/custom/Menubar/Menubar.js +9 -2
- package/dist/published/components/custom/Menubar/Menubar.test.js +5 -0
- package/dist/published/components/layout/Box/Box.d.ts +3 -3
- package/dist/published/components/layout/Box/Box.js +4 -4
- package/dist/published/icons/custom/NoNavigation.d.ts +3 -0
- package/dist/published/icons/custom/NoNavigation.js +10 -0
- package/dist/published/icons/custom/SideNavigation.d.ts +3 -0
- package/dist/published/icons/custom/SideNavigation.js +11 -0
- package/dist/published/icons/custom/TopNavigation.d.ts +3 -0
- package/dist/published/icons/custom/TopNavigation.js +11 -0
- package/dist/published/icons/custom/index.d.ts +3 -0
- package/dist/published/icons/custom/index.js +3 -0
- package/dist/published/index.d.ts +1 -1
- package/dist/published/index.js +1 -1
- package/dist/published/stories/Box.stories.d.ts +3 -12
- package/dist/published/stories/CriteriaBuilder.stories.js +6 -0
- package/dist/published/stories/Form.stories.js +7 -2
- package/dist/published/stories/FormField.stories.js +2 -0
- package/dist/published/stories/MenuBar.stories.js +13 -18
- package/dist/published/stories/Palette.stories.d.ts +2 -12
- package/package.json +7 -4
@@ -1,9 +1,22 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
2
|
export type MenuBarProps = {
|
3
|
-
|
3
|
+
/** The URL of the logo image to display. */
|
4
4
|
logo: string;
|
5
|
+
/** Alternative text for the logo image. */
|
5
6
|
logoAltText?: string;
|
7
|
+
/** Navigation items to display on the right side of the menu bar. */
|
6
8
|
navItems?: ReactNode;
|
9
|
+
/** The name of the environment to display instead of the logo. */
|
7
10
|
envName?: string;
|
11
|
+
/** Navigation item to display before the logo. */
|
12
|
+
navBeforeLogo?: ReactNode;
|
13
|
+
/** Indicates whether to show notifications. Currently not supported. */
|
14
|
+
showNotifications?: boolean;
|
8
15
|
};
|
16
|
+
/**
|
17
|
+
* Renders a customizable menu bar with navigation items, logo, etc.
|
18
|
+
*
|
19
|
+
* @param {MenuBarProps} props - Configuration props for the MenuBar component.
|
20
|
+
* @returns {JSX.Element} A menu bar component.
|
21
|
+
*/
|
9
22
|
export default function MenuBar(props: MenuBarProps): React.JSX.Element;
|
@@ -1,6 +1,12 @@
|
|
1
1
|
import { AppBar, Box, CardMedia, Toolbar, Typography } from '@mui/material';
|
2
2
|
import React from 'react';
|
3
3
|
import UIThemeProvider, { useResponsive } from '../../../theme';
|
4
|
+
/**
|
5
|
+
* Renders a customizable menu bar with navigation items, logo, etc.
|
6
|
+
*
|
7
|
+
* @param {MenuBarProps} props - Configuration props for the MenuBar component.
|
8
|
+
* @returns {JSX.Element} A menu bar component.
|
9
|
+
*/
|
4
10
|
export default function MenuBar(props) {
|
5
11
|
const { isXs: isMobileView } = useResponsive();
|
6
12
|
const classes = {
|
@@ -9,7 +15,7 @@ export default function MenuBar(props) {
|
|
9
15
|
flexGrow: 1,
|
10
16
|
},
|
11
17
|
logo: {
|
12
|
-
|
18
|
+
padding: '0 16px',
|
13
19
|
height: '70px',
|
14
20
|
maxWidth: isMobileView ? '220px' : null,
|
15
21
|
objectFit: 'contain',
|
@@ -18,7 +24,8 @@ export default function MenuBar(props) {
|
|
18
24
|
};
|
19
25
|
return (React.createElement(UIThemeProvider, null,
|
20
26
|
React.createElement(AppBar, { color: "inherit", position: "fixed", elevation: 0, sx: { zIndex: (theme) => theme.zIndex.drawer + 1, borderBottom: '1px solid #919EAB3D' } },
|
21
|
-
React.createElement(Toolbar, { sx: { justifyContent: 'space-between' } },
|
27
|
+
React.createElement(Toolbar, { disableGutters: true, sx: { justifyContent: 'space-between', overflow: 'hidden', paddingRight: '14px' } },
|
28
|
+
props.navBeforeLogo && (React.createElement(Box, { sx: { height: '70px', borderRight: '1px solid #919EAB3D' } }, props.navBeforeLogo)),
|
22
29
|
React.createElement(Box, { sx: classes.title }, !props.envName ? (React.createElement(CardMedia, { component: 'img', src: props.logo, alt: props.logoAltText, sx: classes.logo })) : (React.createElement(Box, { mt: 2 },
|
23
30
|
React.createElement(Typography, { variant: "h5" },
|
24
31
|
props?.envName,
|
@@ -11,3 +11,8 @@ it('render Menubar component without crashing', () => {
|
|
11
11
|
render(React.createElement(Menubar, { showNotifications: true, navItems: navItems, logo: "" }));
|
12
12
|
expect(screen.getAllByRole('link')).toHaveLength(3);
|
13
13
|
});
|
14
|
+
it('renders navBeforeLogo correctly', () => {
|
15
|
+
const navBeforeLogo = React.createElement(Link, { href: "#" }, "Before");
|
16
|
+
render(React.createElement(Menubar, { showNotifications: true, navItems: null, navBeforeLogo: navBeforeLogo, logo: "" }));
|
17
|
+
expect(screen.getAllByRole('link')).toHaveLength(1);
|
18
|
+
});
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { BoxProps } from '@mui/material';
|
1
|
+
import { BoxProps as MUIBoxProps } from '@mui/material';
|
2
2
|
import React, { ElementType } from 'react';
|
3
|
-
type
|
3
|
+
export type BoxProps = MUIBoxProps & {
|
4
4
|
sx?: object;
|
5
5
|
component?: ElementType;
|
6
6
|
};
|
7
|
-
declare const Box:
|
7
|
+
declare const Box: React.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & React.RefAttributes<unknown>>;
|
8
8
|
export default Box;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Box as MUIBox } from '@mui/material';
|
2
|
-
import React from 'react';
|
2
|
+
import React, { forwardRef } from 'react';
|
3
3
|
import UIThemeProvider from '../../../theme';
|
4
|
-
const Box = (props) => {
|
4
|
+
const Box = forwardRef((props, ref) => {
|
5
5
|
return (React.createElement(UIThemeProvider, null,
|
6
|
-
React.createElement(MUIBox, { ...props })));
|
7
|
-
};
|
6
|
+
React.createElement(MUIBox, { ref: ref, ...props })));
|
7
|
+
});
|
8
8
|
export default Box;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SvgIcon } from '@mui/material';
|
2
|
+
import React from 'react';
|
3
|
+
export const NoNavigation = (props) => (React.createElement(SvgIcon, { ...props, viewBox: '0 0 24 24', sx: {
|
4
|
+
verticalAlign: 'top',
|
5
|
+
maxWidth: props.width ?? '24',
|
6
|
+
maxHeight: props.height ?? '24',
|
7
|
+
...(props.sx ?? {}),
|
8
|
+
} },
|
9
|
+
React.createElement("g", { id: "icon/no_navigation" },
|
10
|
+
React.createElement("rect", { x: "2.75", y: "4.75", width: "18.5", height: "14.5", rx: "1.25", stroke: props?.htmlColor ?? '#212B36', strokeWidth: "1.5", fill: "transparent" }))));
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { SvgIcon } from '@mui/material';
|
2
|
+
import React from 'react';
|
3
|
+
export const SideNavigation = (props) => (React.createElement(SvgIcon, { ...props, viewBox: '0 0 24 24', sx: {
|
4
|
+
verticalAlign: 'top',
|
5
|
+
maxWidth: props.width ?? '24',
|
6
|
+
maxHeight: props.height ?? '24',
|
7
|
+
...(props.sx ?? {}),
|
8
|
+
} },
|
9
|
+
React.createElement("g", { id: "icon/side_navigation" },
|
10
|
+
React.createElement("rect", { x: "2.75", y: "4.75", width: "18.5", height: "14.5", rx: "1.25", stroke: props?.htmlColor ?? '#212B36', strokeWidth: "1.5", fill: "transparent" }),
|
11
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 4C2.89543 4 2 4.89543 2 6V18C2 19.1046 2.89543 20 4 20H11V4H4ZM4.5 6C4.22386 6 4 6.22386 4 6.5C4 6.77614 4.22386 7 4.5 7H8.5C8.77614 7 9 6.77614 9 6.5C9 6.22386 8.77614 6 8.5 6H4.5ZM4 8.5C4 8.22386 4.22386 8 4.5 8H7.5C7.77614 8 8 8.22386 8 8.5C8 8.77614 7.77614 9 7.5 9H4.5C4.22386 9 4 8.77614 4 8.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H8.5C8.77614 11 9 10.7761 9 10.5C9 10.2239 8.77614 10 8.5 10H4.5ZM4 14.5C4 14.2239 4.22386 14 4.5 14H8.5C8.77614 14 9 14.2239 9 14.5C9 14.7761 8.77614 15 8.5 15H4.5C4.22386 15 4 14.7761 4 14.5ZM4.5 12C4.22386 12 4 12.2239 4 12.5C4 12.7761 4.22386 13 4.5 13H7.5C7.77614 13 8 12.7761 8 12.5C8 12.2239 7.77614 12 7.5 12H4.5Z", fill: props?.htmlColor ?? '#212B36' }))));
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { SvgIcon } from '@mui/material';
|
2
|
+
import React from 'react';
|
3
|
+
export const TopNavigation = (props) => (React.createElement(SvgIcon, { ...props, viewBox: '0 0 24 24', sx: {
|
4
|
+
verticalAlign: 'top',
|
5
|
+
maxWidth: props.width ?? '24',
|
6
|
+
maxHeight: props.height ?? '24',
|
7
|
+
...(props.sx ?? {}),
|
8
|
+
} },
|
9
|
+
React.createElement("g", { id: "icon/top_navigation" },
|
10
|
+
React.createElement("rect", { x: "2.75", y: "4.75", width: "18.5", height: "14.5", rx: "1.25", stroke: props?.htmlColor ?? '#212B36', "stroke-width": "1.5", "stroke-linejoin": "round", fill: "transparent" }),
|
11
|
+
React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M22 5.66667C22 4.74619 21.2538 4 20.3333 4H3.66667C2.74619 4 2 4.74619 2 5.66667V9L22 9V5.66667ZM4.5 6C4.22386 6 4 6.22386 4 6.5C4 6.77614 4.22386 7 4.5 7H7.5C7.77614 7 8 6.77614 8 6.5C8 6.22386 7.77614 6 7.5 6H4.5ZM9 6.5C9 6.22386 9.22386 6 9.5 6H11.5C11.7761 6 12 6.22386 12 6.5C12 6.77614 11.7761 7 11.5 7H9.5C9.22386 7 9 6.77614 9 6.5ZM13.5 6C13.2239 6 13 6.22386 13 6.5C13 6.77614 13.2239 7 13.5 7H16.5C16.7761 7 17 6.77614 17 6.5C17 6.22386 16.7761 6 16.5 6H13.5Z", fill: props?.htmlColor ?? '#212B36' }))));
|
@@ -1,5 +1,8 @@
|
|
1
1
|
export * from './FileWithExtension';
|
2
2
|
export * from './Inherited';
|
3
|
+
export * from './NoNavigation';
|
3
4
|
export * from './Overrides';
|
5
|
+
export * from './SideNavigation';
|
6
|
+
export * from './TopNavigation';
|
4
7
|
export * from './TrashCan';
|
5
8
|
export * from './UploadCloud';
|
@@ -1,5 +1,8 @@
|
|
1
1
|
export * from './FileWithExtension';
|
2
2
|
export * from './Inherited';
|
3
|
+
export * from './NoNavigation';
|
3
4
|
export * from './Overrides';
|
5
|
+
export * from './SideNavigation';
|
6
|
+
export * from './TopNavigation';
|
4
7
|
export * from './TrashCan';
|
5
8
|
export * from './UploadCloud';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { ClickAwayListener, createTheme, darken, lighten, styled, Toolbar } from '@mui/material';
|
1
|
+
export { ClickAwayListener, createTheme, darken, lighten, styled, Toolbar, useMediaQuery, useTheme, } from '@mui/material';
|
2
2
|
export { CalendarPicker, DateTimePicker, MonthPicker, PickersDay, StaticDateTimePicker, StaticTimePicker, TimePicker, YearPicker, } from '@mui/x-date-pickers';
|
3
3
|
export * from './colors';
|
4
4
|
export * from './components/core';
|
package/dist/published/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { ClickAwayListener, createTheme, darken, lighten, styled, Toolbar } from '@mui/material';
|
1
|
+
export { ClickAwayListener, createTheme, darken, lighten, styled, Toolbar, useMediaQuery, useTheme, } from '@mui/material';
|
2
2
|
export { CalendarPicker, DateTimePicker, MonthPicker, PickersDay, StaticDateTimePicker, StaticTimePicker, TimePicker, YearPicker, } from '@mui/x-date-pickers';
|
3
3
|
export * from './colors';
|
4
4
|
export * from './components/core';
|
@@ -1,15 +1,6 @@
|
|
1
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
2
2
|
import React from 'react';
|
3
|
-
|
4
|
-
|
5
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
6
|
-
sx?: object | undefined;
|
7
|
-
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
8
|
-
}) => React.JSX.Element>;
|
3
|
+
import { BoxProps } from '../components/layout/Box/Box';
|
4
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & React.RefAttributes<unknown>>>;
|
9
5
|
export default _default;
|
10
|
-
export declare const Box: ComponentStory<
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
12
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
13
|
-
sx?: object | undefined;
|
14
|
-
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
15
|
-
}) => React.JSX.Element>;
|
6
|
+
export declare const Box: ComponentStory<React.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & React.RefAttributes<unknown>>>;
|
@@ -95,6 +95,12 @@ const defaultProperties = [
|
|
95
95
|
type: 'integer',
|
96
96
|
required: false,
|
97
97
|
},
|
98
|
+
{
|
99
|
+
id: 'canApply',
|
100
|
+
name: 'Can Apply',
|
101
|
+
type: 'boolean',
|
102
|
+
required: true,
|
103
|
+
},
|
98
104
|
];
|
99
105
|
const CriteriaBuilderTemplate = (args) => {
|
100
106
|
const [criteria, setCriteria] = React.useState(args.criteria);
|
@@ -24,6 +24,11 @@ const object = {
|
|
24
24
|
name: 'Integer',
|
25
25
|
type: 'integer',
|
26
26
|
},
|
27
|
+
{
|
28
|
+
id: 'boolean',
|
29
|
+
name: 'Boolean',
|
30
|
+
type: 'boolean',
|
31
|
+
},
|
27
32
|
],
|
28
33
|
actions: [
|
29
34
|
{
|
@@ -55,7 +60,7 @@ FormWithButtons.args = {
|
|
55
60
|
actionId: '_update',
|
56
61
|
actionType: 'update',
|
57
62
|
object: object,
|
58
|
-
instance: { id: 'id', objectId: 'test', name: 'test', integer: 12, decimal: 12.5 },
|
63
|
+
instance: { id: 'id', objectId: 'test', name: 'test', integer: 12, decimal: 12.5, boolean: true },
|
59
64
|
};
|
60
65
|
const FormWithNoButtonsTemplate = (args) => {
|
61
66
|
return (React.createElement("div", null,
|
@@ -76,7 +81,7 @@ FormWithNoButtons.args = {
|
|
76
81
|
actionId: '_update',
|
77
82
|
actionType: 'update',
|
78
83
|
object: object,
|
79
|
-
instance: { id: 'id', objectId: 'test', name: 'test', integer: 12, decimal: 12.5 },
|
84
|
+
instance: { id: 'id', objectId: 'test', name: 'test', integer: 12, decimal: 12.5, boolean: true },
|
80
85
|
hideButtons: true,
|
81
86
|
formRef: { current: {} },
|
82
87
|
};
|
@@ -1,25 +1,20 @@
|
|
1
|
-
import { Link } from '@mui/material';
|
2
1
|
import React from 'react';
|
3
2
|
import { MenuBar as CustomMenuBar } from '../index';
|
4
3
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
5
4
|
const logo = require('../assets/SA_logo.jpeg');
|
6
5
|
export default {
|
7
|
-
title: '
|
6
|
+
title: 'Custom/MenuBar',
|
8
7
|
component: CustomMenuBar,
|
9
|
-
argTypes: {
|
10
|
-
navItems: {
|
11
|
-
control: 'object',
|
12
|
-
defaultValue: React.createElement(Link, null, "Object"),
|
13
|
-
},
|
14
|
-
showNotifications: {
|
15
|
-
defaultValue: true,
|
16
|
-
type: 'boolean',
|
17
|
-
},
|
18
|
-
logo: {
|
19
|
-
defaultValue: logo,
|
20
|
-
},
|
21
|
-
envName: { defaultValue: 'System Automation' },
|
22
|
-
},
|
23
8
|
};
|
24
|
-
const
|
25
|
-
export const MenuBar =
|
9
|
+
const MenuBarTemplate = (args) => React.createElement(CustomMenuBar, { ...args });
|
10
|
+
export const MenuBar = MenuBarTemplate.bind({});
|
11
|
+
MenuBar.args = {
|
12
|
+
logo: logo,
|
13
|
+
logoAltText: 'System Automation',
|
14
|
+
navItems: (React.createElement(React.Fragment, null,
|
15
|
+
React.createElement("a", { href: "#" }, "Object1"),
|
16
|
+
React.createElement("a", { href: "#" }, "Object2"),
|
17
|
+
React.createElement("a", { href: "#" }, "Object3"))),
|
18
|
+
envName: 'System Automation',
|
19
|
+
showNotifications: true,
|
20
|
+
};
|
@@ -1,15 +1,5 @@
|
|
1
1
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
2
2
|
import React from 'react';
|
3
|
-
declare const _default: ComponentMeta<
|
4
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
5
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles/createTheme").Theme>> & {
|
6
|
-
sx?: object | undefined;
|
7
|
-
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
8
|
-
}) => React.JSX.Element>;
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<Omit<import("../components/layout/Box/Box").BoxProps, "ref"> & React.RefAttributes<unknown>>>;
|
9
4
|
export default _default;
|
10
|
-
export declare const Palette: ComponentStory<
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
12
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles/createTheme").Theme>> & {
|
13
|
-
sx?: object | undefined;
|
14
|
-
component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
15
|
-
}) => React.JSX.Element>;
|
5
|
+
export declare const Palette: ComponentStory<React.ForwardRefExoticComponent<Omit<import("../components/layout/Box/Box").BoxProps, "ref"> & React.RefAttributes<unknown>>>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@evoke-platform/ui-components",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.5.0-dev.0",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/published/index.js",
|
6
6
|
"module": "dist/published/index.js",
|
@@ -31,7 +31,8 @@
|
|
31
31
|
"eslint": "eslint src",
|
32
32
|
"eslint:fix": "npm run eslint -- --fix",
|
33
33
|
"release": "commit-and-tag-version --releaseCommitMessageFormat \"chore(release): {{currentTag}} [skip ci]\"",
|
34
|
-
"prepare": "husky install"
|
34
|
+
"prepare": "husky install",
|
35
|
+
"yalc:publish": "npm run build && yalc push --replace --sig"
|
35
36
|
},
|
36
37
|
"author": "",
|
37
38
|
"license": "MIT",
|
@@ -81,9 +82,11 @@
|
|
81
82
|
"rimraf": "^3.0.2",
|
82
83
|
"typescript": "^4.7.3",
|
83
84
|
"vitest": "^1.5.3",
|
84
|
-
"webpack": "^5.74.0"
|
85
|
+
"webpack": "^5.74.0",
|
86
|
+
"yalc": "^1.0.0-pre.53"
|
85
87
|
},
|
86
88
|
"peerDependencies": {
|
89
|
+
"@evoke-platform/context": "^1.2.0-0",
|
87
90
|
"react": "^18.1.0",
|
88
91
|
"react-dom": "^18.1.0"
|
89
92
|
},
|
@@ -94,7 +97,6 @@
|
|
94
97
|
"@dnd-kit/sortable": "^7.0.1",
|
95
98
|
"@emotion/react": "^11.13.5",
|
96
99
|
"@emotion/styled": "^11.8.1",
|
97
|
-
"@evoke-platform/context": "^1.1.0-testing.4",
|
98
100
|
"@formio/react": "^5.2.4-rc.1",
|
99
101
|
"@js-joda/core": "^3.2.0",
|
100
102
|
"@js-joda/locale_en-us": "^3.2.2",
|
@@ -103,6 +105,7 @@
|
|
103
105
|
"@mui/material": "^5.16.7",
|
104
106
|
"@mui/x-data-grid": "^6.4.0",
|
105
107
|
"@mui/x-date-pickers": "^5.0.13",
|
108
|
+
"@mui/x-tree-view": "^7.29.1",
|
106
109
|
"@react-querybuilder/dnd": "^5.4.1",
|
107
110
|
"@react-querybuilder/material": "^6.5.0",
|
108
111
|
"clean-deep": "^3.4.0",
|