@evoke-platform/ui-components 1.0.0-dev.216 → 1.0.0-dev.217
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/LICENSE +1 -1
- package/colors.ts +1 -1
- package/dist/published/components/core/Accordion/Accordion.js +1 -1
- package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.js +1 -1
- package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.js +1 -1
- package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.js +1 -1
- package/dist/published/components/core/Accordion/index.d.ts +2 -2
- package/dist/published/components/core/Accordion/index.js +2 -2
- package/dist/published/components/core/Alert/Alert.js +3 -3
- package/dist/published/components/core/AlertTitle/AlertTitle.js +1 -1
- package/dist/published/components/core/AppBar/AppBar.js +1 -1
- package/dist/published/components/core/Autocomplete/Autocomplete.d.ts +2 -2
- package/dist/published/components/core/Autocomplete/Autocomplete.js +2 -2
- package/dist/published/components/core/Autocomplete/Autocomplete.test.js +1 -1
- package/dist/published/components/core/Avatar/Avatar.js +1 -1
- package/dist/published/components/core/Backdrop/Backdrop.js +1 -1
- package/dist/published/components/core/Badge/Badge.js +1 -1
- package/dist/published/components/core/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/published/components/core/Button/Button.js +1 -1
- package/dist/published/components/core/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/published/components/core/Card/Card.js +1 -1
- package/dist/published/components/core/Checkbox/Checkbox.js +1 -1
- package/dist/published/components/core/Chip/Chip.js +1 -1
- package/dist/published/components/core/CircularProgress/CircularProgress.js +1 -1
- package/dist/published/components/core/Collapse/Collapse.js +1 -1
- package/dist/published/components/core/DatePicker/DatePicker.js +3 -3
- package/dist/published/components/core/DateTimePicker/DateTimePicker.js +3 -3
- package/dist/published/components/core/Dialog/Dialog.js +1 -1
- package/dist/published/components/core/Dialog/DialogActions/DialogActions.d.ts +2 -2
- package/dist/published/components/core/Dialog/DialogActions/DialogActions.js +1 -1
- package/dist/published/components/core/Dialog/DialogContent/DialogContent.js +1 -1
- package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.js +1 -1
- package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.js +1 -1
- package/dist/published/components/core/Dialog/index.d.ts +2 -2
- package/dist/published/components/core/Dialog/index.js +2 -2
- package/dist/published/components/core/Divider/Divider.js +1 -1
- package/dist/published/components/core/Drawer/Drawer.js +1 -1
- package/dist/published/components/core/FieldError/FieldError.js +2 -2
- package/dist/published/components/core/FormElements/FormControl/FormControl.js +1 -1
- package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.js +1 -1
- package/dist/published/components/core/FormElements/FormGroup/FormGroup.js +1 -1
- package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.js +1 -1
- package/dist/published/components/core/FormElements/FormLabel/FormLabel.js +1 -1
- package/dist/published/components/core/FormElements/index.d.ts +3 -3
- package/dist/published/components/core/FormElements/index.js +3 -3
- package/dist/published/components/core/IconButton/IconButton.js +1 -1
- package/dist/published/components/core/LinearProgress/LinearProgress.js +1 -1
- package/dist/published/components/core/Link/Link.js +1 -1
- package/dist/published/components/core/List/List.js +1 -1
- package/dist/published/components/core/List/ListItem.js +1 -1
- package/dist/published/components/core/List/ListItemText/ListItemText.js +1 -1
- package/dist/published/components/core/LoadingButton/LoadingButton.js +1 -1
- package/dist/published/components/core/LocalizationProvider/LocalizationProvider.js +4 -4
- package/dist/published/components/core/Menu/Menu.js +1 -1
- package/dist/published/components/core/Menu/MenuItem/MenuItem.js +1 -1
- package/dist/published/components/core/Menu/index.d.ts +1 -1
- package/dist/published/components/core/Menu/index.js +1 -1
- package/dist/published/components/core/Paper/Paper.js +1 -1
- package/dist/published/components/core/Popover/Popover.js +1 -1
- package/dist/published/components/core/Popper/Popper.js +1 -1
- package/dist/published/components/core/RadioGroup/Radio.js +1 -1
- package/dist/published/components/core/RadioGroup/RadioGroup.js +1 -1
- package/dist/published/components/core/Select/Select.js +1 -1
- package/dist/published/components/core/Skeleton/Skeleton.js +1 -1
- package/dist/published/components/core/Snackbar/Snackbar.d.ts +2 -2
- package/dist/published/components/core/Snackbar/Snackbar.js +1 -1
- package/dist/published/components/core/StaticDatePicker/StaticDatePicker.js +2 -2
- package/dist/published/components/core/Stepper/Step/Step.js +1 -1
- package/dist/published/components/core/Stepper/StepButton/StepButton.js +1 -1
- package/dist/published/components/core/Stepper/StepConnector/StepConnector.js +1 -1
- package/dist/published/components/core/Stepper/StepContent/StepContent.js +1 -1
- package/dist/published/components/core/Stepper/StepIcon/StepIcon.js +1 -1
- package/dist/published/components/core/Stepper/StepLabel/StepLabel.js +1 -1
- package/dist/published/components/core/Stepper/Stepper.js +1 -1
- package/dist/published/components/core/Stepper/index.d.ts +5 -5
- package/dist/published/components/core/Stepper/index.js +5 -5
- package/dist/published/components/core/Switch/Switch.js +1 -1
- package/dist/published/components/core/Table/Table.js +1 -1
- package/dist/published/components/core/Tabs/Tab/Tab.js +1 -1
- package/dist/published/components/core/Tabs/Tabs.js +1 -1
- package/dist/published/components/core/Tabs/index.d.ts +2 -2
- package/dist/published/components/core/Tabs/index.js +2 -2
- package/dist/published/components/core/TextField/TextField.js +1 -1
- package/dist/published/components/core/TextField/TextField.test.js +1 -1
- package/dist/published/components/core/ToggleButton/ToggleButton.js +1 -1
- package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/dist/published/components/core/Tooltip/Tooltip.js +1 -1
- package/dist/published/components/core/Typography/index.js +1 -1
- package/dist/published/components/core/index.d.ts +23 -23
- package/dist/published/components/core/index.js +22 -22
- package/dist/published/components/custom/BuilderGrid/BuilderGrid.d.ts +3 -3
- package/dist/published/components/custom/BuilderGrid/BuilderGrid.js +1 -1
- package/dist/published/components/custom/BuilderGrid/BuilderGridToolbar.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/CriteriaBuilder.js +2 -2
- package/dist/published/components/custom/CriteriaBuilder/ValueEditor.d.ts +1 -1
- package/dist/published/components/custom/CriteriaBuilder/ValueEditor.js +3 -3
- package/dist/published/components/custom/DataGrid/DataGrid.d.ts +1 -1
- package/dist/published/components/custom/DataGrid/DataGrid.js +4 -5
- package/dist/published/components/custom/DataGrid/DateTimeCustomOperator.js +1 -1
- package/dist/published/components/custom/DataGrid/Toolbar.d.ts +1 -1
- package/dist/published/components/custom/DataGrid/Toolbar.js +3 -3
- package/dist/published/components/custom/ErrorComponent/ErrorComponent.d.ts +2 -2
- package/dist/published/components/custom/ErrorComponent/ErrorComponent.js +2 -2
- package/dist/published/components/custom/FormField/AddressFieldComponent/AddressFieldComponent.test.js +1 -1
- package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.js +1 -1
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.test.js +1 -1
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.test.js +3 -3
- package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.js +2 -2
- package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.test.js +4 -4
- package/dist/published/components/custom/FormField/FormField.d.ts +4 -4
- package/dist/published/components/custom/FormField/FormField.js +1 -1
- package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.js +1 -1
- package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.test.js +1 -1
- package/dist/published/components/custom/FormField/Select/Select.test.js +1 -1
- package/dist/published/components/custom/FormField/TimePickerSelect/TimePickerSelect.js +4 -4
- package/dist/published/components/custom/Menubar/Menubar.js +1 -1
- package/dist/published/components/custom/Menubar/Menubar.test.js +2 -2
- package/dist/published/components/custom/MultiSelect/MultiSelect.js +7 -7
- package/dist/published/components/custom/MultiSelect/SortableItem.js +2 -2
- package/dist/published/components/custom/RepeatableField/RepeatableField.js +4 -4
- package/dist/published/components/custom/util.js +1 -1
- package/dist/published/components/layout/Box/Box.d.ts +2 -2
- package/dist/published/components/layout/Box/Box.js +1 -1
- package/dist/published/components/layout/Container/Container.js +1 -1
- package/dist/published/components/layout/Grid/Grid.js +1 -1
- package/dist/published/components/layout/Stack/Stack.js +1 -1
- package/dist/published/icons/custom/TrashCan.d.ts +1 -1
- package/dist/published/icons/custom/TrashCan.js +1 -1
- package/dist/published/icons/custom/index.d.ts +1 -1
- package/dist/published/icons/custom/index.js +1 -1
- package/dist/published/index.d.ts +2 -2
- package/dist/published/index.js +1 -1
- package/dist/published/stories/Accordion.stories.d.ts +1 -1
- package/dist/published/stories/Accordion.stories.js +2 -2
- package/dist/published/stories/Alert.stories.d.ts +1 -1
- package/dist/published/stories/AlertTitle.stories.d.ts +1 -1
- package/dist/published/stories/Appbar.stories.d.ts +1 -1
- package/dist/published/stories/Appbar.stories.js +2 -2
- package/dist/published/stories/Autocomplete.stories.d.ts +1 -1
- package/dist/published/stories/Autocomplete.stories.js +3 -3
- package/dist/published/stories/Avatar.stories.d.ts +1 -1
- package/dist/published/stories/Backdrop.stories.d.ts +1 -1
- package/dist/published/stories/Backdrop.stories.js +3 -3
- package/dist/published/stories/Badge.stories.d.ts +1 -1
- package/dist/published/stories/Badge.stories.js +1 -1
- package/dist/published/stories/Box.stories.d.ts +1 -1
- package/dist/published/stories/Breadcrumbs.stories.d.ts +1 -1
- package/dist/published/stories/Button.stories.d.ts +1 -1
- package/dist/published/stories/ButtonGroup.stories.d.ts +1 -1
- package/dist/published/stories/Card.stories.d.ts +1 -1
- package/dist/published/stories/Card.stories.js +1 -1
- package/dist/published/stories/Checkbox.stories.d.ts +1 -1
- package/dist/published/stories/Chip.stories.d.ts +1 -1
- package/dist/published/stories/CircularProgress.stories.d.ts +1 -1
- package/dist/published/stories/Collapse.stories.d.ts +1 -1
- package/dist/published/stories/Collapse.stories.js +1 -1
- package/dist/published/stories/Container.stories.d.ts +1 -1
- package/dist/published/stories/Container.stories.js +3 -3
- package/dist/published/stories/DataGrid.stories.d.ts +1 -1
- package/dist/published/stories/DataGrid.stories.js +1 -1
- package/dist/published/stories/DatePicker.stories.d.ts +1 -1
- package/dist/published/stories/Dialog.stories.d.ts +1 -1
- package/dist/published/stories/Dialog.stories.js +3 -3
- package/dist/published/stories/Divider.stories.d.ts +1 -1
- package/dist/published/stories/Drawer.stories.d.ts +1 -1
- package/dist/published/stories/Drawer.stories.js +4 -4
- package/dist/published/stories/FormControl.stories.d.ts +1 -1
- package/dist/published/stories/FormControl.stories.js +1 -1
- package/dist/published/stories/FormControlLabel.stories.d.ts +1 -1
- package/dist/published/stories/FormGroup.stories.d.ts +1 -1
- package/dist/published/stories/FormHelperText.stories.d.ts +1 -1
- package/dist/published/stories/FormLabel.stories.d.ts +1 -1
- package/dist/published/stories/FormLabel.stories.js +2 -2
- package/dist/published/stories/Grid.stories.d.ts +1 -1
- package/dist/published/stories/IconButton.stories.d.ts +1 -1
- package/dist/published/stories/IconButton.stories.js +1 -1
- package/dist/published/stories/LinearProgress.stories.d.ts +1 -1
- package/dist/published/stories/Link.stories.d.ts +1 -1
- package/dist/published/stories/List.stories.d.ts +1 -1
- package/dist/published/stories/List.stories.js +3 -3
- package/dist/published/stories/Menu.stories.d.ts +1 -1
- package/dist/published/stories/Menu.stories.js +3 -3
- package/dist/published/stories/MenuBar.stories.d.ts +1 -1
- package/dist/published/stories/MenuBar.stories.js +1 -1
- package/dist/published/stories/MultiSelect.stories.d.ts +1 -1
- package/dist/published/stories/MultiSelect.stories.js +1 -1
- package/dist/published/stories/Palette.stories.d.ts +1 -1
- package/dist/published/stories/Palette.stories.js +1 -1
- package/dist/published/stories/Paper.stories.d.ts +1 -1
- package/dist/published/stories/Paper.stories.js +1 -1
- package/dist/published/stories/RadioGroup.stories.d.ts +1 -1
- package/dist/published/stories/RadioGroup.stories.js +1 -1
- package/dist/published/stories/RepeatableField.stories.d.ts +1 -1
- package/dist/published/stories/RepeatableField.stories.js +1 -1
- package/dist/published/stories/Skeleton.stories.d.ts +1 -1
- package/dist/published/stories/Snackbar.stories.d.ts +1 -1
- package/dist/published/stories/Snackbar.stories.js +3 -3
- package/dist/published/stories/Stack.stories.d.ts +1 -1
- package/dist/published/stories/StaticDatePicker.stories.d.ts +1 -1
- package/dist/published/stories/Stepper.stories.d.ts +2 -2
- package/dist/published/stories/Stepper.stories.js +6 -6
- package/dist/published/stories/Switch.stories.d.ts +1 -1
- package/dist/published/stories/Table.stories.d.ts +1 -1
- package/dist/published/stories/Table.stories.js +1 -1
- package/dist/published/stories/Tabs.stories.d.ts +1 -1
- package/dist/published/stories/TextField.stories.d.ts +1 -1
- package/dist/published/stories/TimePicker.stories.d.ts +1 -1
- package/dist/published/stories/TimePicker.stories.js +1 -1
- package/dist/published/stories/TimePickerSelect.stories.d.ts +1 -1
- package/dist/published/stories/ToggleButton.stories.d.ts +1 -1
- package/dist/published/stories/ToggleButton.stories.js +3 -3
- package/dist/published/stories/Typography.stories.d.ts +1 -1
- package/dist/published/stories/Typography.stories.js +1 -1
- package/dist/published/theme/UIThemeProvider.d.ts +2 -2
- package/dist/published/theme/UIThemeProvider.js +1 -1
- package/dist/published/util/date.d.ts +1 -1
- package/dist/published/util/date.js +1 -1
- package/icons.ts +1 -1
- package/package.json +4 -3
@@ -9,10 +9,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
9
9
|
}
|
10
10
|
return t;
|
11
11
|
};
|
12
|
+
import { LocalDate } from '@js-joda/core';
|
13
|
+
import { StaticDatePicker as MUIStaticDatePicker, } from '@mui/x-date-pickers';
|
12
14
|
import React from 'react';
|
13
15
|
import UIThemeProvider from '../../../theme';
|
14
|
-
import { StaticDatePicker as MUIStaticDatePicker, } from '@mui/x-date-pickers';
|
15
|
-
import { LocalDate } from '@js-joda/core';
|
16
16
|
import { InvalidDate } from '../../../util/date';
|
17
17
|
import TextField from '../TextField';
|
18
18
|
const StaticDatePicker = (props) => {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as React from 'react';
|
2
1
|
import { StepConnector as MUIStepConnector } from '@mui/material';
|
2
|
+
import React from 'react';
|
3
3
|
import UIThemeProvider from '../../../../theme';
|
4
4
|
const StepConnector = (props) => {
|
5
5
|
return (React.createElement(UIThemeProvider, null,
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import Step from './Step';
|
2
|
-
import Stepper from './Stepper';
|
3
|
-
import StepIcon from './StepIcon';
|
4
|
-
import StepLabel from './StepLabel';
|
5
2
|
import StepButton from './StepButton';
|
6
|
-
import StepContent from './StepContent';
|
7
3
|
import StepConnector from './StepConnector';
|
8
|
-
|
4
|
+
import StepContent from './StepContent';
|
5
|
+
import StepIcon from './StepIcon';
|
6
|
+
import StepLabel from './StepLabel';
|
7
|
+
import Stepper from './Stepper';
|
8
|
+
export { Step, StepButton, StepConnector, StepContent, StepIcon, StepLabel, Stepper };
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import Step from './Step';
|
2
|
-
import Stepper from './Stepper';
|
3
|
-
import StepIcon from './StepIcon';
|
4
|
-
import StepLabel from './StepLabel';
|
5
2
|
import StepButton from './StepButton';
|
6
|
-
import StepContent from './StepContent';
|
7
3
|
import StepConnector from './StepConnector';
|
8
|
-
|
4
|
+
import StepContent from './StepContent';
|
5
|
+
import StepIcon from './StepIcon';
|
6
|
+
import StepLabel from './StepLabel';
|
7
|
+
import Stepper from './Stepper';
|
8
|
+
export { Step, StepButton, StepConnector, StepContent, StepIcon, StepLabel, Stepper };
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import '@testing-library/jest-dom/extend-expect';
|
2
|
-
import React from 'react';
|
3
2
|
import { render, screen } from '@testing-library/react';
|
3
|
+
import React from 'react';
|
4
4
|
import TextField from './index';
|
5
5
|
test('render TextField and check for data-testid === label-outside when labelPlacement === outside-top && variant === outlined', () => {
|
6
6
|
render(React.createElement(TextField, { id: "testinput", labelPlacement: "outside-top", variant: "outlined", label: "Title" }));
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as React from 'react';
|
2
1
|
import { ToggleButtonGroup as MUIToggleButtonGroup } from '@mui/material';
|
2
|
+
import React from 'react';
|
3
3
|
import UIThemeProvider from '../../../theme';
|
4
4
|
const ToggleButtonGroup = (props) => {
|
5
5
|
return (React.createElement(UIThemeProvider, null,
|
@@ -1,53 +1,53 @@
|
|
1
|
-
export { Accordion,
|
2
|
-
export { AppBar } from './AppBar';
|
1
|
+
export { Accordion, AccordionActions, AccordionDetails, AccordionSummary } from './Accordion';
|
3
2
|
export { Alert } from './Alert';
|
4
3
|
export { AlertTitle } from './AlertTitle';
|
4
|
+
export { AppBar } from './AppBar';
|
5
5
|
export { Autocomplete } from './Autocomplete';
|
6
6
|
export { Avatar } from './Avatar';
|
7
7
|
export { Backdrop } from './Backdrop';
|
8
8
|
export { Badge } from './Badge';
|
9
|
+
export { Breadcrumbs } from './Breadcrumbs';
|
9
10
|
export { Button } from './Button';
|
11
|
+
export { ButtonGroup } from './ButtonGroup';
|
12
|
+
export { Card } from './Card';
|
10
13
|
export { Checkbox } from './Checkbox';
|
11
14
|
export { Chip } from './Chip';
|
12
15
|
export { CircularProgress } from './CircularProgress';
|
16
|
+
export { Collapse } from './Collapse';
|
13
17
|
export * from './DatePicker';
|
14
18
|
export * from './DateTimePicker';
|
15
|
-
export { Dialog,
|
19
|
+
export { Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from './Dialog';
|
16
20
|
export { Divider } from './Divider';
|
17
21
|
export { Drawer } from './Drawer';
|
22
|
+
export { FieldError } from './FieldError';
|
23
|
+
export { FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel } from './FormElements';
|
24
|
+
export { IconButton } from './IconButton';
|
18
25
|
export { LinearProgress } from './LinearProgress';
|
19
26
|
export { Link } from './Link';
|
20
|
-
export
|
27
|
+
export { List, ListItem } from './List';
|
21
28
|
export { LoadingButton } from './LoadingButton';
|
29
|
+
export * from './LocalizationProvider';
|
22
30
|
export { Menu, MenuItem } from './Menu';
|
31
|
+
export { Paper } from './Paper';
|
32
|
+
export { Popover } from './Popover';
|
33
|
+
export { Popper } from './Popper';
|
34
|
+
export { Radio, RadioGroup } from './RadioGroup';
|
35
|
+
export { Select } from './Select';
|
23
36
|
export { Skeleton } from './Skeleton';
|
24
37
|
export { Snackbar } from './Snackbar';
|
25
38
|
export * from './StaticDatePicker';
|
39
|
+
export { Step, StepButton, StepConnector, StepContent, StepIcon, StepLabel, Stepper } from './Stepper';
|
26
40
|
export { Switch } from './Switch';
|
27
|
-
export { TextField } from './TextField';
|
28
|
-
export { Typography } from './Typography';
|
29
|
-
export { Paper } from './Paper';
|
30
|
-
export { List, ListItem } from './List';
|
31
|
-
export { Card } from './Card';
|
32
|
-
export { Collapse } from './Collapse';
|
33
|
-
export { IconButton } from './IconButton';
|
34
41
|
export { Table } from './Table';
|
35
|
-
export {
|
36
|
-
export {
|
42
|
+
export { Tab, Tabs } from './Tabs';
|
43
|
+
export { TextField } from './TextField';
|
37
44
|
export { ToggleButton } from './ToggleButton';
|
38
45
|
export { ToggleButtonGroup } from './ToggleButtonGroup';
|
39
|
-
export { Tabs, Tab } from './Tabs';
|
40
46
|
export { Tooltip } from './Tooltip';
|
41
|
-
export {
|
42
|
-
export { Radio, RadioGroup } from './RadioGroup';
|
43
|
-
export { FieldError } from './FieldError';
|
44
|
-
export { Select } from './Select';
|
45
|
-
export { Step, StepLabel, Stepper, StepContent, StepButton, StepIcon, StepConnector } from './Stepper';
|
46
|
-
export { Popover } from './Popover';
|
47
|
-
export { Popper } from './Popper';
|
48
|
-
export { SvgIcon, TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, ListItemButton, ListItemText, CardActions, CardActionArea, CardContent, CardMedia, CardHeader, Input, InputLabel, InputAdornment, } from '@mui/material';
|
47
|
+
export { Typography } from './Typography';
|
49
48
|
export { TabContext, TabList, TabPanel, TreeItem, TreeView } from '@mui/lab';
|
49
|
+
export { CardActionArea, CardActions, CardContent, CardHeader, CardMedia, Input, InputAdornment, InputLabel, ListItemButton, ListItemText, SvgIcon, TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, } from '@mui/material';
|
50
50
|
export { useGridApiRef } from '@mui/x-data-grid';
|
51
51
|
export type { GridSize } from '@mui/material';
|
52
|
+
export type { GridCellParams, GridColDef, GridEventListener, GridFilterModel, GridInitialState, GridRowParams, GridValueFormatterParams, GridValueGetterParams, } from '@mui/x-data-grid';
|
52
53
|
export type { AutocompleteOption } from './Autocomplete/Autocomplete';
|
53
|
-
export type { GridCellParams, GridColDef, GridRowParams, GridFilterModel, GridValueFormatterParams, GridValueGetterParams, GridEventListener, GridInitialState, } from '@mui/x-data-grid';
|
@@ -1,51 +1,51 @@
|
|
1
|
-
export { Accordion,
|
2
|
-
export { AppBar } from './AppBar';
|
1
|
+
export { Accordion, AccordionActions, AccordionDetails, AccordionSummary } from './Accordion';
|
3
2
|
export { Alert } from './Alert';
|
4
3
|
export { AlertTitle } from './AlertTitle';
|
4
|
+
export { AppBar } from './AppBar';
|
5
5
|
export { Autocomplete } from './Autocomplete';
|
6
6
|
export { Avatar } from './Avatar';
|
7
7
|
export { Backdrop } from './Backdrop';
|
8
8
|
export { Badge } from './Badge';
|
9
|
+
export { Breadcrumbs } from './Breadcrumbs';
|
9
10
|
export { Button } from './Button';
|
11
|
+
export { ButtonGroup } from './ButtonGroup';
|
12
|
+
export { Card } from './Card';
|
10
13
|
export { Checkbox } from './Checkbox';
|
11
14
|
export { Chip } from './Chip';
|
12
15
|
export { CircularProgress } from './CircularProgress';
|
16
|
+
export { Collapse } from './Collapse';
|
13
17
|
export * from './DatePicker';
|
14
18
|
export * from './DateTimePicker';
|
15
|
-
export { Dialog,
|
19
|
+
export { Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from './Dialog';
|
16
20
|
export { Divider } from './Divider';
|
17
21
|
export { Drawer } from './Drawer';
|
22
|
+
export { FieldError } from './FieldError';
|
23
|
+
export { FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel } from './FormElements';
|
24
|
+
export { IconButton } from './IconButton';
|
18
25
|
export { LinearProgress } from './LinearProgress';
|
19
26
|
export { Link } from './Link';
|
20
|
-
export
|
27
|
+
export { List, ListItem } from './List';
|
21
28
|
export { LoadingButton } from './LoadingButton';
|
29
|
+
export * from './LocalizationProvider';
|
22
30
|
export { Menu, MenuItem } from './Menu';
|
31
|
+
export { Paper } from './Paper';
|
32
|
+
export { Popover } from './Popover';
|
33
|
+
export { Popper } from './Popper';
|
34
|
+
export { Radio, RadioGroup } from './RadioGroup';
|
35
|
+
export { Select } from './Select';
|
23
36
|
export { Skeleton } from './Skeleton';
|
24
37
|
export { Snackbar } from './Snackbar';
|
25
38
|
export * from './StaticDatePicker';
|
39
|
+
export { Step, StepButton, StepConnector, StepContent, StepIcon, StepLabel, Stepper } from './Stepper';
|
26
40
|
export { Switch } from './Switch';
|
27
|
-
export { TextField } from './TextField';
|
28
|
-
export { Typography } from './Typography';
|
29
|
-
export { Paper } from './Paper';
|
30
|
-
export { List, ListItem } from './List';
|
31
|
-
export { Card } from './Card';
|
32
|
-
export { Collapse } from './Collapse';
|
33
|
-
export { IconButton } from './IconButton';
|
34
41
|
export { Table } from './Table';
|
35
|
-
export {
|
36
|
-
export {
|
42
|
+
export { Tab, Tabs } from './Tabs';
|
43
|
+
export { TextField } from './TextField';
|
37
44
|
export { ToggleButton } from './ToggleButton';
|
38
45
|
export { ToggleButtonGroup } from './ToggleButtonGroup';
|
39
|
-
export { Tabs, Tab } from './Tabs';
|
40
46
|
export { Tooltip } from './Tooltip';
|
41
|
-
export {
|
42
|
-
export { Radio, RadioGroup } from './RadioGroup';
|
43
|
-
export { FieldError } from './FieldError';
|
44
|
-
export { Select } from './Select';
|
45
|
-
export { Step, StepLabel, Stepper, StepContent, StepButton, StepIcon, StepConnector } from './Stepper';
|
46
|
-
export { Popover } from './Popover';
|
47
|
-
export { Popper } from './Popper';
|
47
|
+
export { Typography } from './Typography';
|
48
48
|
//TODO: Review following components. They also need theme control:
|
49
|
-
export { SvgIcon, TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, ListItemButton, ListItemText, CardActions, CardActionArea, CardContent, CardMedia, CardHeader, Input, InputLabel, InputAdornment, } from '@mui/material';
|
50
49
|
export { TabContext, TabList, TabPanel, TreeItem, TreeView } from '@mui/lab';
|
50
|
+
export { CardActionArea, CardActions, CardContent, CardHeader, CardMedia, Input, InputAdornment, InputLabel, ListItemButton, ListItemText, SvgIcon, TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, } from '@mui/material';
|
51
51
|
export { useGridApiRef } from '@mui/x-data-grid';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { GridSortItem, GridValidRowModel, DataGridProps as MuiDataGridProps } from '@mui/x-data-grid';
|
2
|
-
import
|
2
|
+
import { ReactElement } from 'react';
|
3
3
|
import { EmptyContentSelectOptions } from './EmptyContent';
|
4
4
|
export declare type GridAction = {
|
5
5
|
label: string;
|
@@ -19,8 +19,8 @@ export declare type BuilderGridProps<T extends GridValidRowModel> = MuiDataGridP
|
|
19
19
|
hideEmptyContent?: boolean;
|
20
20
|
hideToolbar?: boolean;
|
21
21
|
hideSearchbar?: boolean;
|
22
|
-
noRowsOverlay?:
|
23
|
-
filterComponent?:
|
22
|
+
noRowsOverlay?: ReactElement;
|
23
|
+
filterComponent?: ReactElement;
|
24
24
|
error?: number;
|
25
25
|
};
|
26
26
|
declare const BuilderGrid: <T extends GridValidRowModel>(props: BuilderGridProps<T>) => JSX.Element;
|
@@ -13,9 +13,9 @@ import { Box } from '@mui/material';
|
|
13
13
|
import { DataGrid as MuiDataGrid, } from '@mui/x-data-grid';
|
14
14
|
import React, { useMemo, useState } from 'react';
|
15
15
|
import UIThemeProvider from '../../../theme';
|
16
|
+
import ErrorComponent from '../ErrorComponent';
|
16
17
|
import BuilderGridToolbar from './BuilderGridToolbar';
|
17
18
|
import { EmptyContent } from './EmptyContent';
|
18
|
-
import ErrorComponent from '../ErrorComponent';
|
19
19
|
const BuilderGrid = (props) => {
|
20
20
|
var _a, _b, _c, _d, _e;
|
21
21
|
const { loading, actions, item, rows, initialSort, emptyContentSelectOptions, emptyContentActionIndex, title, subtitle, disablePagination, hideEmptyContent, hideToolbar, hideSearchbar, noRowsOverlay, filterComponent, error } = props, rest = __rest(props, ["loading", "actions", "item", "rows", "initialSort", "emptyContentSelectOptions", "emptyContentActionIndex", "title", "subtitle", "disablePagination", "hideEmptyContent", "hideToolbar", "hideSearchbar", "noRowsOverlay", "filterComponent", "error"]);
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { GridToolbarProps as MuiGridToolbarProps } from '@mui/x-data-grid';
|
2
|
-
import
|
2
|
+
import { ReactElement } from 'react';
|
3
3
|
import { GridAction } from './BuilderGrid';
|
4
4
|
export declare type BuilderGridToolbar = MuiGridToolbarProps & {
|
5
5
|
actions?: GridAction[];
|
6
6
|
title?: string;
|
7
7
|
subtitle?: string;
|
8
|
-
filter?:
|
8
|
+
filter?: ReactElement;
|
9
9
|
hideSearchbar?: boolean;
|
10
10
|
};
|
11
11
|
declare function BuilderGridToolbar(props: BuilderGridToolbar): JSX.Element;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import
|
1
|
+
import { ReactElement } from 'react';
|
2
2
|
import { GridAction } from './BuilderGrid';
|
3
3
|
declare type ToolbarActionsProps = {
|
4
|
-
filter?:
|
4
|
+
filter?: ReactElement;
|
5
5
|
actions?: GridAction[];
|
6
6
|
};
|
7
7
|
export declare const ToolbarActions: (props: ToolbarActionsProps) => JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import
|
1
|
+
import { ElementType } from 'react';
|
2
2
|
import 'react-querybuilder/dist/query-builder.css';
|
3
|
-
import {
|
3
|
+
import { ObjectProperty, Operator, PresetValue } from './types';
|
4
4
|
import { ValueEditorProps } from './ValueEditor';
|
5
5
|
export declare type CriteriaInputProps = {
|
6
6
|
properties: ObjectProperty[];
|
@@ -10,7 +10,7 @@ export declare type CriteriaInputProps = {
|
|
10
10
|
enablePresetValues?: boolean;
|
11
11
|
presetValues?: PresetValue[];
|
12
12
|
dynamicContentInput?: {
|
13
|
-
component:
|
13
|
+
component: ElementType;
|
14
14
|
previousSteps: unknown[];
|
15
15
|
trigger?: Record<string, unknown>;
|
16
16
|
};
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { AddRounded, RemoveCircleOutlineRounded } from '@mui/icons-material';
|
2
2
|
import { QueryBuilderMaterial } from '@react-querybuilder/material';
|
3
|
+
import { isEmpty, startCase } from 'lodash';
|
3
4
|
import React, { useEffect, useMemo, useState } from 'react';
|
4
|
-
import { QueryBuilder,
|
5
|
+
import { QueryBuilder, RuleGroupBodyComponents, RuleGroupHeaderComponents, TestID, formatQuery, parseMongoDB, useRuleGroup, } from 'react-querybuilder';
|
5
6
|
import 'react-querybuilder/dist/query-builder.css';
|
6
|
-
import { isEmpty, startCase } from 'lodash';
|
7
7
|
import { Autocomplete, Button, IconButton, TextField } from '../../core';
|
8
8
|
import { Box } from '../../layout';
|
9
9
|
import { difference } from '../util';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { AutocompleteOption } from '../../core';
|
3
2
|
import { ValueEditorProps as ValueEditorBaseProps } from 'react-querybuilder';
|
3
|
+
import { AutocompleteOption } from '../../core';
|
4
4
|
export declare type ValueEditorProps = ValueEditorBaseProps & {
|
5
5
|
values?: AutocompleteOption[] | any[];
|
6
6
|
};
|
@@ -1,9 +1,9 @@
|
|
1
|
+
import { ClearRounded } from '@mui/icons-material';
|
2
|
+
import { Box, darken, lighten, styled } from '@mui/material';
|
3
|
+
import { TimePicker } from '@mui/x-date-pickers';
|
1
4
|
import React, { useRef, useState } from 'react';
|
2
5
|
import { Autocomplete, Chip, DatePicker, LocalizationProvider, Menu, MenuItem, TextField, Typography, } from '../../core';
|
3
6
|
import { NumericFormat } from '../FormField/InputFieldComponent';
|
4
|
-
import { Box, darken, lighten, styled } from '@mui/material';
|
5
|
-
import { ClearRounded } from '@mui/icons-material';
|
6
|
-
import { TimePicker } from '@mui/x-date-pickers';
|
7
7
|
const GroupHeader = styled('div')(({ theme }) => ({
|
8
8
|
position: 'sticky',
|
9
9
|
top: '-8px',
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { DataGridProps as MuiDataGridProps, GridValidRowModel } from '@mui/x-data-grid';
|
3
2
|
import { Theme } from '@mui/material';
|
3
|
+
import { GridValidRowModel, DataGridProps as MuiDataGridProps } from '@mui/x-data-grid';
|
4
4
|
export declare type BulkAction = {
|
5
5
|
label: string;
|
6
6
|
onClick: () => void;
|
@@ -9,14 +9,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
9
9
|
}
|
10
10
|
return t;
|
11
11
|
};
|
12
|
-
import {
|
13
|
-
import {
|
12
|
+
import { Box, Typography, lighten } from '@mui/material';
|
13
|
+
import { GridPagination, DataGrid as MuiDataGrid, getGridBooleanOperators, getGridDateOperators, getGridNumericOperators, getGridSingleSelectOperators, getGridStringOperators, } from '@mui/x-data-grid';
|
14
14
|
import React, { useEffect, useState } from 'react';
|
15
|
-
import Toolbar from './Toolbar';
|
16
15
|
import UIThemeProvider from '../../../theme';
|
17
|
-
import { Box, Typography } from '@mui/material';
|
18
|
-
import { dateTimeBetweenOperator } from './DateTimeCustomOperator';
|
19
16
|
import LinearProgress from '../../core/LinearProgress';
|
17
|
+
import { dateTimeBetweenOperator } from './DateTimeCustomOperator';
|
18
|
+
import Toolbar from './Toolbar';
|
20
19
|
export default function (props) {
|
21
20
|
var _a;
|
22
21
|
const { onRefresh, loading, theme, title, bulkAction, filterSettings, columns, rows, hideSearchbar, loadingOptions } = props, rest = __rest(props, ["onRefresh", "loading", "theme", "title", "bulkAction", "filterSettings", "columns", "rows", "hideSearchbar", "loadingOptions"]);
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Box, debounce, TextField } from '@mui/material';
|
2
2
|
import { useGridRootProps } from '@mui/x-data-grid';
|
3
|
-
import React, { useEffect, useState } from 'react';
|
4
3
|
import { isNil } from 'lodash';
|
4
|
+
import React, { useEffect, useState } from 'react';
|
5
5
|
function DateTimeRangeFilter(props) {
|
6
6
|
var _a;
|
7
7
|
const rootProps = useGridRootProps();
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { GridToolbarProps as MuiGridToolbarProps } from '@mui/x-data-grid';
|
3
2
|
import { Theme } from '@mui/material';
|
3
|
+
import { GridToolbarProps as MuiGridToolbarProps } from '@mui/x-data-grid';
|
4
4
|
import { BulkAction } from './DataGrid';
|
5
5
|
export declare type GridToolbarProps = MuiGridToolbarProps & {
|
6
6
|
onRefresh?: () => void;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { FileDownloadRounded, FilterAlt, Refresh, TableChartRounded, TableRowsRounded } from '@mui/icons-material';
|
2
|
+
import { Typography } from '@mui/material';
|
2
3
|
import { GridToolbarColumnsButton, GridToolbarContainer, GridToolbarDensitySelector, GridToolbarExport, GridToolbarFilterButton, GridToolbarQuickFilter, } from '@mui/x-data-grid';
|
3
4
|
import React from 'react';
|
4
|
-
import { Grid } from '../../layout';
|
5
|
-
import { IconButton, Button } from '../../core';
|
6
5
|
import UIThemeProvider from '../../../theme';
|
7
|
-
import {
|
6
|
+
import { Button, IconButton } from '../../core';
|
7
|
+
import { Grid } from '../../layout';
|
8
8
|
function Toolbar(props) {
|
9
9
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
10
10
|
const { onRefresh, setAnchorEl, loading, theme, title, bulkAction, hideSearchbar } = props;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
import { GridSize } from '@mui/material';
|
2
|
+
import { CSSProperties } from 'react';
|
3
3
|
export declare type ErrorComponentProps = {
|
4
4
|
code?: 'AccessDenied' | 'NotFound' | 'Misconfigured';
|
5
5
|
message?: string;
|
6
6
|
colspan?: GridSize;
|
7
|
-
styles?:
|
7
|
+
styles?: CSSProperties;
|
8
8
|
};
|
9
9
|
export default function ErrorComponent(props: ErrorComponentProps): JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { BuildRounded, ErrorRounded, LockRounded, WarningRounded } from '@mui/icons-material';
|
2
|
+
import { Box, Grid, Typography } from '@mui/material';
|
1
3
|
import React from 'react';
|
2
|
-
import { Box, Typography, Grid } from '@mui/material';
|
3
|
-
import { LockRounded, ErrorRounded, WarningRounded, BuildRounded } from '@mui/icons-material';
|
4
4
|
export default function ErrorComponent(props) {
|
5
5
|
const { code, message, colspan, styles } = props;
|
6
6
|
const getTitle = () => {
|
@@ -8,9 +8,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
8
8
|
});
|
9
9
|
};
|
10
10
|
import '@testing-library/jest-dom/extend-expect';
|
11
|
-
import React from 'react';
|
12
11
|
import { render, screen } from '@testing-library/react';
|
13
12
|
import { userEvent } from '@testing-library/user-event';
|
13
|
+
import React from 'react';
|
14
14
|
import AddressFieldComponent from './addressFieldComponent';
|
15
15
|
// Right now an object property is required for this to function, but eventually this should go
|
16
16
|
// away.
|
package/dist/published/components/custom/FormField/AddressFieldComponent/addressFieldComponent.js
CHANGED
@@ -8,7 +8,7 @@ const AddressFieldComponent = (props) => {
|
|
8
8
|
const { id, property, defaultValue, error, errorMessage, onBlur, readOnly, required, size, placeholder, mask, isMultiLineText, rows, inputMaskPlaceholderChar, queryAddresses, additionalProps, } = props;
|
9
9
|
const [value, setValue] = useState(defaultValue !== null && defaultValue !== void 0 ? defaultValue : '');
|
10
10
|
const [selectOptions, setSelectOptions] = useState([]);
|
11
|
-
const [anchorEl, setAnchorEl] =
|
11
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
12
12
|
const textFieldRef = useRef(null);
|
13
13
|
const open = Boolean(anchorEl);
|
14
14
|
const popoverId = open ? `${id}-popover` : undefined;
|
@@ -8,9 +8,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
8
8
|
});
|
9
9
|
};
|
10
10
|
import '@testing-library/jest-dom/extend-expect';
|
11
|
-
import React from 'react';
|
12
11
|
import { render, screen } from '@testing-library/react';
|
13
12
|
import { userEvent } from '@testing-library/user-event';
|
13
|
+
import React from 'react';
|
14
14
|
import BooleanSelect from './BooleanSelect';
|
15
15
|
// Right now an object property is required for this to function, but eventually this should go
|
16
16
|
// away.
|
package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.test.js
CHANGED
@@ -7,13 +7,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
8
8
|
});
|
9
9
|
};
|
10
|
+
import { LocalDate, Month } from '@js-joda/core';
|
10
11
|
import '@testing-library/jest-dom/extend-expect';
|
11
|
-
import React from 'react';
|
12
12
|
import { render, screen, within } from '@testing-library/react';
|
13
13
|
import { userEvent } from '@testing-library/user-event';
|
14
|
-
import
|
15
|
-
import { LocalDate, Month } from '@js-joda/core';
|
14
|
+
import React from 'react';
|
16
15
|
import { InvalidDate } from '../../../../util';
|
16
|
+
import DatePickerSelect from './DatePickerSelect';
|
17
17
|
// Right now an object property is required for this to function, but eventually this should go
|
18
18
|
// away.
|
19
19
|
const dateProperty = {
|
package/dist/published/components/custom/FormField/DateTimePickerSelect/DateTimePickerSelect.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
+
import { LocalDate, LocalDateTime, LocalTime, nativeJs } from '@js-joda/core';
|
1
2
|
import React, { useEffect, useState } from 'react';
|
3
|
+
import { InvalidDate } from '../../../../util';
|
2
4
|
import { DateTimePicker, LocalizationProvider, TextField } from '../../../core';
|
3
5
|
import InputFieldComponent from '../InputFieldComponent/InputFieldComponent';
|
4
|
-
import { LocalDate, LocalDateTime, LocalTime, nativeJs } from '@js-joda/core';
|
5
|
-
import { InvalidDate } from '../../../../util';
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
7
7
|
const { format } = require('small-date');
|
8
8
|
function asCalendarDate(value) {
|