@evoke-platform/ui-components 1.0.0-dev.1.10.6
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/README.md +15 -0
- package/dist/published/components/Test/Test.d.ts +3 -0
- package/dist/published/components/Test/Test.js +8 -0
- package/dist/published/components/Test/Test.test.d.ts +1 -0
- package/dist/published/components/Test/Test.test.js +11 -0
- package/dist/published/components/Test/index.d.ts +3 -0
- package/dist/published/components/Test/index.js +3 -0
- package/dist/published/components/core/Accordion/Accordion.d.ts +4 -0
- package/dist/published/components/core/Accordion/Accordion.js +8 -0
- package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.d.ts +4 -0
- package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.js +8 -0
- package/dist/published/components/core/Accordion/AccordionActions/index.d.ts +2 -0
- package/dist/published/components/core/Accordion/AccordionActions/index.js +2 -0
- package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.d.ts +4 -0
- package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.js +8 -0
- package/dist/published/components/core/Accordion/AccordionDetails/index.d.ts +2 -0
- package/dist/published/components/core/Accordion/AccordionDetails/index.js +2 -0
- package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.d.ts +4 -0
- package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.js +8 -0
- package/dist/published/components/core/Accordion/AccordionSummary/index.d.ts +2 -0
- package/dist/published/components/core/Accordion/AccordionSummary/index.js +2 -0
- package/dist/published/components/core/Accordion/index.d.ts +5 -0
- package/dist/published/components/core/Accordion/index.js +5 -0
- package/dist/published/components/core/Alert/Alert.d.ts +4 -0
- package/dist/published/components/core/Alert/Alert.js +8 -0
- package/dist/published/components/core/Alert/index.d.ts +2 -0
- package/dist/published/components/core/Alert/index.js +2 -0
- package/dist/published/components/core/AppBar/AppBar.d.ts +4 -0
- package/dist/published/components/core/AppBar/AppBar.js +8 -0
- package/dist/published/components/core/AppBar/index.d.ts +2 -0
- package/dist/published/components/core/AppBar/index.js +2 -0
- package/dist/published/components/core/Autocomplete/Autocomplete.d.ts +19 -0
- package/dist/published/components/core/Autocomplete/Autocomplete.js +48 -0
- package/dist/published/components/core/Autocomplete/index.d.ts +3 -0
- package/dist/published/components/core/Autocomplete/index.js +3 -0
- package/dist/published/components/core/Avatar/Avatar.d.ts +8 -0
- package/dist/published/components/core/Avatar/Avatar.js +12 -0
- package/dist/published/components/core/Avatar/index.d.ts +3 -0
- package/dist/published/components/core/Avatar/index.js +3 -0
- package/dist/published/components/core/Backdrop/Backdrop.d.ts +4 -0
- package/dist/published/components/core/Backdrop/Backdrop.js +8 -0
- package/dist/published/components/core/Backdrop/index.d.ts +3 -0
- package/dist/published/components/core/Backdrop/index.js +3 -0
- package/dist/published/components/core/Badge/Badge.d.ts +4 -0
- package/dist/published/components/core/Badge/Badge.js +8 -0
- package/dist/published/components/core/Badge/index.d.ts +3 -0
- package/dist/published/components/core/Badge/index.js +3 -0
- package/dist/published/components/core/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/published/components/core/Breadcrumbs/Breadcrumbs.js +8 -0
- package/dist/published/components/core/Breadcrumbs/index.d.ts +3 -0
- package/dist/published/components/core/Breadcrumbs/index.js +3 -0
- package/dist/published/components/core/Button/Button.d.ts +4 -0
- package/dist/published/components/core/Button/Button.js +8 -0
- package/dist/published/components/core/Button/index.d.ts +3 -0
- package/dist/published/components/core/Button/index.js +3 -0
- package/dist/published/components/core/ButtonGroup/ButtonGroup.d.ts +4 -0
- package/dist/published/components/core/ButtonGroup/ButtonGroup.js +8 -0
- package/dist/published/components/core/ButtonGroup/index.d.ts +3 -0
- package/dist/published/components/core/ButtonGroup/index.js +3 -0
- package/dist/published/components/core/Card/Card.d.ts +4 -0
- package/dist/published/components/core/Card/Card.js +8 -0
- package/dist/published/components/core/Card/index.d.ts +3 -0
- package/dist/published/components/core/Card/index.js +3 -0
- package/dist/published/components/core/Checkbox/Checkbox.d.ts +4 -0
- package/dist/published/components/core/Checkbox/Checkbox.js +8 -0
- package/dist/published/components/core/Checkbox/index.d.ts +3 -0
- package/dist/published/components/core/Checkbox/index.js +3 -0
- package/dist/published/components/core/Chip/Chip.d.ts +4 -0
- package/dist/published/components/core/Chip/Chip.js +8 -0
- package/dist/published/components/core/Chip/index.d.ts +3 -0
- package/dist/published/components/core/Chip/index.js +3 -0
- package/dist/published/components/core/CircularProgress/CircularProgress.d.ts +4 -0
- package/dist/published/components/core/CircularProgress/CircularProgress.js +8 -0
- package/dist/published/components/core/CircularProgress/index.d.ts +3 -0
- package/dist/published/components/core/CircularProgress/index.js +3 -0
- package/dist/published/components/core/Collapse/Collapse.d.ts +4 -0
- package/dist/published/components/core/Collapse/Collapse.js +8 -0
- package/dist/published/components/core/Collapse/index.d.ts +3 -0
- package/dist/published/components/core/Collapse/index.js +3 -0
- package/dist/published/components/core/DatePicker/DatePicker.d.ts +8 -0
- package/dist/published/components/core/DatePicker/DatePicker.js +41 -0
- package/dist/published/components/core/DatePicker/index.d.ts +2 -0
- package/dist/published/components/core/DatePicker/index.js +2 -0
- package/dist/published/components/core/Dialog/Dialog.d.ts +4 -0
- package/dist/published/components/core/Dialog/Dialog.js +8 -0
- package/dist/published/components/core/Dialog/DialogActions/DialogActions.d.ts +12 -0
- package/dist/published/components/core/Dialog/DialogActions/DialogActions.js +38 -0
- package/dist/published/components/core/Dialog/DialogActions/index.d.ts +2 -0
- package/dist/published/components/core/Dialog/DialogActions/index.js +2 -0
- package/dist/published/components/core/Dialog/DialogContent/DialogContent.d.ts +4 -0
- package/dist/published/components/core/Dialog/DialogContent/DialogContent.js +8 -0
- package/dist/published/components/core/Dialog/DialogContent/index.d.ts +2 -0
- package/dist/published/components/core/Dialog/DialogContent/index.js +2 -0
- package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.d.ts +4 -0
- package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.js +8 -0
- package/dist/published/components/core/Dialog/DialogContentText/index.d.ts +2 -0
- package/dist/published/components/core/Dialog/DialogContentText/index.js +2 -0
- package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.d.ts +4 -0
- package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.js +8 -0
- package/dist/published/components/core/Dialog/DialogTitle/index.d.ts +2 -0
- package/dist/published/components/core/Dialog/DialogTitle/index.js +2 -0
- package/dist/published/components/core/Dialog/index.d.ts +6 -0
- package/dist/published/components/core/Dialog/index.js +6 -0
- package/dist/published/components/core/Divider/Divider.d.ts +4 -0
- package/dist/published/components/core/Divider/Divider.js +8 -0
- package/dist/published/components/core/Divider/index.d.ts +3 -0
- package/dist/published/components/core/Divider/index.js +3 -0
- package/dist/published/components/core/Drawer/Drawer.d.ts +4 -0
- package/dist/published/components/core/Drawer/Drawer.js +8 -0
- package/dist/published/components/core/Drawer/index.d.ts +3 -0
- package/dist/published/components/core/Drawer/index.js +3 -0
- package/dist/published/components/core/FieldError/FieldError.d.ts +7 -0
- package/dist/published/components/core/FieldError/FieldError.js +11 -0
- package/dist/published/components/core/FieldError/index.d.ts +3 -0
- package/dist/published/components/core/FieldError/index.js +3 -0
- package/dist/published/components/core/FormElements/FormControl/FormControl.d.ts +4 -0
- package/dist/published/components/core/FormElements/FormControl/FormControl.js +8 -0
- package/dist/published/components/core/FormElements/FormControl/index.d.ts +2 -0
- package/dist/published/components/core/FormElements/FormControl/index.js +2 -0
- package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.d.ts +4 -0
- package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.js +8 -0
- package/dist/published/components/core/FormElements/FormControlLabel/index.d.ts +2 -0
- package/dist/published/components/core/FormElements/FormControlLabel/index.js +2 -0
- package/dist/published/components/core/FormElements/FormGroup/FormGroup.d.ts +4 -0
- package/dist/published/components/core/FormElements/FormGroup/FormGroup.js +8 -0
- package/dist/published/components/core/FormElements/FormGroup/index.d.ts +2 -0
- package/dist/published/components/core/FormElements/FormGroup/index.js +2 -0
- package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.d.ts +4 -0
- package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.js +8 -0
- package/dist/published/components/core/FormElements/FormHelperText/index.d.ts +2 -0
- package/dist/published/components/core/FormElements/FormHelperText/index.js +2 -0
- package/dist/published/components/core/FormElements/FormLabel/FormLabel.d.ts +4 -0
- package/dist/published/components/core/FormElements/FormLabel/FormLabel.js +8 -0
- package/dist/published/components/core/FormElements/FormLabel/index.d.ts +2 -0
- package/dist/published/components/core/FormElements/FormLabel/index.js +2 -0
- package/dist/published/components/core/FormElements/index.d.ts +6 -0
- package/dist/published/components/core/FormElements/index.js +6 -0
- package/dist/published/components/core/IconButton/IconButton.d.ts +4 -0
- package/dist/published/components/core/IconButton/IconButton.js +8 -0
- package/dist/published/components/core/IconButton/index.d.ts +3 -0
- package/dist/published/components/core/IconButton/index.js +3 -0
- package/dist/published/components/core/LinearProgress/LinearProgress.d.ts +4 -0
- package/dist/published/components/core/LinearProgress/LinearProgress.js +8 -0
- package/dist/published/components/core/LinearProgress/index.d.ts +3 -0
- package/dist/published/components/core/LinearProgress/index.js +3 -0
- package/dist/published/components/core/Link/Link.d.ts +4 -0
- package/dist/published/components/core/Link/Link.js +8 -0
- package/dist/published/components/core/Link/index.d.ts +3 -0
- package/dist/published/components/core/Link/index.js +3 -0
- package/dist/published/components/core/List/List.d.ts +4 -0
- package/dist/published/components/core/List/List.js +8 -0
- package/dist/published/components/core/List/ListItemText/ListItemText.d.ts +4 -0
- package/dist/published/components/core/List/ListItemText/ListItemText.js +8 -0
- package/dist/published/components/core/List/ListItemText/index.d.ts +3 -0
- package/dist/published/components/core/List/ListItemText/index.js +3 -0
- package/dist/published/components/core/List/index.d.ts +3 -0
- package/dist/published/components/core/List/index.js +3 -0
- package/dist/published/components/core/LocalizationProvider/LocalizationProvider.d.ts +5 -0
- package/dist/published/components/core/LocalizationProvider/LocalizationProvider.js +115 -0
- package/dist/published/components/core/LocalizationProvider/index.d.ts +2 -0
- package/dist/published/components/core/LocalizationProvider/index.js +2 -0
- package/dist/published/components/core/Menu/Menu.d.ts +4 -0
- package/dist/published/components/core/Menu/Menu.js +8 -0
- package/dist/published/components/core/Menu/MenuItem/MenuItem.d.ts +4 -0
- package/dist/published/components/core/Menu/MenuItem/MenuItem.js +8 -0
- package/dist/published/components/core/Menu/MenuItem/index.d.ts +3 -0
- package/dist/published/components/core/Menu/MenuItem/index.js +3 -0
- package/dist/published/components/core/Menu/index.d.ts +4 -0
- package/dist/published/components/core/Menu/index.js +4 -0
- package/dist/published/components/core/Paper/Paper.d.ts +4 -0
- package/dist/published/components/core/Paper/Paper.js +8 -0
- package/dist/published/components/core/Paper/index.d.ts +3 -0
- package/dist/published/components/core/Paper/index.js +3 -0
- package/dist/published/components/core/Popover/Popover.d.ts +4 -0
- package/dist/published/components/core/Popover/Popover.js +8 -0
- package/dist/published/components/core/Popover/index.d.ts +3 -0
- package/dist/published/components/core/Popover/index.js +3 -0
- package/dist/published/components/core/RadioGroup/Radio.d.ts +4 -0
- package/dist/published/components/core/RadioGroup/Radio.js +8 -0
- package/dist/published/components/core/RadioGroup/RadioGroup.d.ts +4 -0
- package/dist/published/components/core/RadioGroup/RadioGroup.js +8 -0
- package/dist/published/components/core/RadioGroup/index.d.ts +4 -0
- package/dist/published/components/core/RadioGroup/index.js +4 -0
- package/dist/published/components/core/Select/Select.d.ts +5 -0
- package/dist/published/components/core/Select/Select.js +10 -0
- package/dist/published/components/core/Select/index.d.ts +3 -0
- package/dist/published/components/core/Select/index.js +3 -0
- package/dist/published/components/core/Skeleton/Skeleton.d.ts +4 -0
- package/dist/published/components/core/Skeleton/Skeleton.js +8 -0
- package/dist/published/components/core/Skeleton/index.d.ts +3 -0
- package/dist/published/components/core/Skeleton/index.js +3 -0
- package/dist/published/components/core/Snackbar/Snackbar.d.ts +8 -0
- package/dist/published/components/core/Snackbar/Snackbar.js +40 -0
- package/dist/published/components/core/Snackbar/index.d.ts +3 -0
- package/dist/published/components/core/Snackbar/index.js +3 -0
- package/dist/published/components/core/StaticDatePicker/StaticDatePicker.d.ts +8 -0
- package/dist/published/components/core/StaticDatePicker/StaticDatePicker.js +41 -0
- package/dist/published/components/core/StaticDatePicker/index.d.ts +2 -0
- package/dist/published/components/core/StaticDatePicker/index.js +2 -0
- package/dist/published/components/core/Stepper/Step/Step.d.ts +4 -0
- package/dist/published/components/core/Stepper/Step/Step.js +8 -0
- package/dist/published/components/core/Stepper/Step/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/Step/index.js +2 -0
- package/dist/published/components/core/Stepper/StepButton/StepButton.d.ts +4 -0
- package/dist/published/components/core/Stepper/StepButton/StepButton.js +8 -0
- package/dist/published/components/core/Stepper/StepButton/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/StepButton/index.js +2 -0
- package/dist/published/components/core/Stepper/StepConnector/StepConnector.d.ts +4 -0
- package/dist/published/components/core/Stepper/StepConnector/StepConnector.js +8 -0
- package/dist/published/components/core/Stepper/StepConnector/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/StepConnector/index.js +2 -0
- package/dist/published/components/core/Stepper/StepContent/StepContent.d.ts +4 -0
- package/dist/published/components/core/Stepper/StepContent/StepContent.js +8 -0
- package/dist/published/components/core/Stepper/StepContent/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/StepContent/index.js +2 -0
- package/dist/published/components/core/Stepper/StepIcon/StepIcon.d.ts +4 -0
- package/dist/published/components/core/Stepper/StepIcon/StepIcon.js +8 -0
- package/dist/published/components/core/Stepper/StepIcon/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/StepIcon/index.js +2 -0
- package/dist/published/components/core/Stepper/StepLabel/StepLabel.d.ts +4 -0
- package/dist/published/components/core/Stepper/StepLabel/StepLabel.js +8 -0
- package/dist/published/components/core/Stepper/StepLabel/index.d.ts +2 -0
- package/dist/published/components/core/Stepper/StepLabel/index.js +2 -0
- package/dist/published/components/core/Stepper/Stepper.d.ts +4 -0
- package/dist/published/components/core/Stepper/Stepper.js +8 -0
- package/dist/published/components/core/Stepper/index.d.ts +8 -0
- package/dist/published/components/core/Stepper/index.js +8 -0
- package/dist/published/components/core/Switch/Switch.d.ts +4 -0
- package/dist/published/components/core/Switch/Switch.js +8 -0
- package/dist/published/components/core/Switch/index.d.ts +3 -0
- package/dist/published/components/core/Switch/index.js +3 -0
- package/dist/published/components/core/Table/Table.d.ts +4 -0
- package/dist/published/components/core/Table/Table.js +8 -0
- package/dist/published/components/core/Table/index.d.ts +3 -0
- package/dist/published/components/core/Table/index.js +3 -0
- package/dist/published/components/core/Tabs/Tab/Tab.d.ts +4 -0
- package/dist/published/components/core/Tabs/Tab/Tab.js +8 -0
- package/dist/published/components/core/Tabs/Tab/index.d.ts +2 -0
- package/dist/published/components/core/Tabs/Tab/index.js +2 -0
- package/dist/published/components/core/Tabs/Tabs.d.ts +4 -0
- package/dist/published/components/core/Tabs/Tabs.js +8 -0
- package/dist/published/components/core/Tabs/index.d.ts +3 -0
- package/dist/published/components/core/Tabs/index.js +3 -0
- package/dist/published/components/core/TextField/TextField.d.ts +10 -0
- package/dist/published/components/core/TextField/TextField.js +36 -0
- package/dist/published/components/core/TextField/TextField.test.d.ts +1 -0
- package/dist/published/components/core/TextField/TextField.test.js +20 -0
- package/dist/published/components/core/TextField/index.d.ts +3 -0
- package/dist/published/components/core/TextField/index.js +3 -0
- package/dist/published/components/core/ToggleButton/ToggleButton.d.ts +4 -0
- package/dist/published/components/core/ToggleButton/ToggleButton.js +8 -0
- package/dist/published/components/core/ToggleButton/index.d.ts +3 -0
- package/dist/published/components/core/ToggleButton/index.js +3 -0
- package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.d.ts +4 -0
- package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.js +8 -0
- package/dist/published/components/core/ToggleButtonGroup/index.d.ts +3 -0
- package/dist/published/components/core/ToggleButtonGroup/index.js +3 -0
- package/dist/published/components/core/Tooltip/Tooltip.d.ts +4 -0
- package/dist/published/components/core/Tooltip/Tooltip.js +8 -0
- package/dist/published/components/core/Tooltip/index.d.ts +3 -0
- package/dist/published/components/core/Tooltip/index.js +3 -0
- package/dist/published/components/core/Typography/index.d.ts +4 -0
- package/dist/published/components/core/Typography/index.js +9 -0
- package/dist/published/components/core/index.d.ts +45 -0
- package/dist/published/components/core/index.js +46 -0
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.d.ts +27 -0
- package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.js +232 -0
- package/dist/published/components/custom/CriteriaBuilder/index.d.ts +3 -0
- package/dist/published/components/custom/CriteriaBuilder/index.js +3 -0
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.d.ts +4 -0
- package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.js +27 -0
- package/dist/published/components/custom/FormField/BooleanSelect/index.d.ts +1 -0
- package/dist/published/components/custom/FormField/BooleanSelect/index.js +1 -0
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.d.ts +4 -0
- package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.js +42 -0
- package/dist/published/components/custom/FormField/DatePickerSelect/index.d.ts +1 -0
- package/dist/published/components/custom/FormField/DatePickerSelect/index.js +1 -0
- package/dist/published/components/custom/FormField/FileUpload/FileUpload.d.ts +4 -0
- package/dist/published/components/custom/FormField/FileUpload/FileUpload.js +65 -0
- package/dist/published/components/custom/FormField/FileUpload/index.d.ts +1 -0
- package/dist/published/components/custom/FormField/FileUpload/index.js +1 -0
- package/dist/published/components/custom/FormField/FormField.d.ts +24 -0
- package/dist/published/components/custom/FormField/FormField.js +45 -0
- package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.d.ts +4 -0
- package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.js +76 -0
- package/dist/published/components/custom/FormField/InputFieldComponent/index.d.ts +1 -0
- package/dist/published/components/custom/FormField/InputFieldComponent/index.js +1 -0
- package/dist/published/components/custom/FormField/Select/Select.d.ts +4 -0
- package/dist/published/components/custom/FormField/Select/Select.js +32 -0
- package/dist/published/components/custom/FormField/Select/index.d.ts +1 -0
- package/dist/published/components/custom/FormField/Select/index.js +1 -0
- package/dist/published/components/custom/FormField/index.d.ts +3 -0
- package/dist/published/components/custom/FormField/index.js +3 -0
- package/dist/published/components/custom/Menubar/Menubar.d.ts +12 -0
- package/dist/published/components/custom/Menubar/Menubar.js +25 -0
- package/dist/published/components/custom/Menubar/Menubar.test.d.ts +1 -0
- package/dist/published/components/custom/Menubar/Menubar.test.js +12 -0
- package/dist/published/components/custom/Menubar/index.d.ts +3 -0
- package/dist/published/components/custom/Menubar/index.js +3 -0
- package/dist/published/components/custom/MultiSelect/MultiSelect.d.ts +14 -0
- package/dist/published/components/custom/MultiSelect/MultiSelect.js +144 -0
- package/dist/published/components/custom/MultiSelect/SortableItem.d.ts +2 -0
- package/dist/published/components/custom/MultiSelect/SortableItem.js +13 -0
- package/dist/published/components/custom/MultiSelect/index.d.ts +3 -0
- package/dist/published/components/custom/MultiSelect/index.js +3 -0
- package/dist/published/components/custom/RepeatableField/RepeatableField.d.ts +15 -0
- package/dist/published/components/custom/RepeatableField/RepeatableField.js +111 -0
- package/dist/published/components/custom/RepeatableField/index.d.ts +3 -0
- package/dist/published/components/custom/RepeatableField/index.js +3 -0
- package/dist/published/components/custom/index.d.ts +5 -0
- package/dist/published/components/custom/index.js +5 -0
- package/dist/published/components/layout/Box/Box.d.ts +8 -0
- package/dist/published/components/layout/Box/Box.js +8 -0
- package/dist/published/components/layout/Box/index.d.ts +3 -0
- package/dist/published/components/layout/Box/index.js +3 -0
- package/dist/published/components/layout/Container/Container.d.ts +4 -0
- package/dist/published/components/layout/Container/Container.js +8 -0
- package/dist/published/components/layout/Container/index.d.ts +3 -0
- package/dist/published/components/layout/Container/index.js +3 -0
- package/dist/published/components/layout/Grid/Grid.d.ts +4 -0
- package/dist/published/components/layout/Grid/Grid.js +8 -0
- package/dist/published/components/layout/Grid/index.d.ts +3 -0
- package/dist/published/components/layout/Grid/index.js +3 -0
- package/dist/published/components/layout/Stack/Stack.d.ts +4 -0
- package/dist/published/components/layout/Stack/Stack.js +8 -0
- package/dist/published/components/layout/Stack/index.d.ts +3 -0
- package/dist/published/components/layout/Stack/index.js +3 -0
- package/dist/published/components/layout/index.d.ts +4 -0
- package/dist/published/components/layout/index.js +4 -0
- package/dist/published/icons/index.d.ts +1 -0
- package/dist/published/icons/index.js +1 -0
- package/dist/published/index.d.ts +6 -0
- package/dist/published/index.js +6 -0
- package/dist/published/stories/Accordion.stories.d.ts +5 -0
- package/dist/published/stories/Accordion.stories.js +21 -0
- package/dist/published/stories/Alert.stories.d.ts +5 -0
- package/dist/published/stories/Alert.stories.js +8 -0
- package/dist/published/stories/Appbar.stories.d.ts +5 -0
- package/dist/published/stories/Appbar.stories.js +15 -0
- package/dist/published/stories/Autocomplete.stories.d.ts +23 -0
- package/dist/published/stories/Autocomplete.stories.js +413 -0
- package/dist/published/stories/Avatar.stories.d.ts +39 -0
- package/dist/published/stories/Avatar.stories.js +8 -0
- package/dist/published/stories/Backdrop.stories.d.ts +5 -0
- package/dist/published/stories/Backdrop.stories.js +20 -0
- package/dist/published/stories/Badge.stories.d.ts +5 -0
- package/dist/published/stories/Badge.stories.js +10 -0
- package/dist/published/stories/Box.stories.d.ts +25 -0
- package/dist/published/stories/Box.stories.js +18 -0
- package/dist/published/stories/Breadcrumbs.stories.d.ts +5 -0
- package/dist/published/stories/Breadcrumbs.stories.js +11 -0
- package/dist/published/stories/Button.stories.d.ts +5 -0
- package/dist/published/stories/Button.stories.js +8 -0
- package/dist/published/stories/ButtonGroup.stories.d.ts +5 -0
- package/dist/published/stories/ButtonGroup.stories.js +11 -0
- package/dist/published/stories/Card.stories.d.ts +5 -0
- package/dist/published/stories/Card.stories.js +15 -0
- package/dist/published/stories/Checkbox.stories.d.ts +5 -0
- package/dist/published/stories/Checkbox.stories.js +8 -0
- package/dist/published/stories/Chip.stories.d.ts +5 -0
- package/dist/published/stories/Chip.stories.js +8 -0
- package/dist/published/stories/CircularProgress.stories.d.ts +5 -0
- package/dist/published/stories/CircularProgress.stories.js +8 -0
- package/dist/published/stories/Collapse.stories.d.ts +5 -0
- package/dist/published/stories/Collapse.stories.js +26 -0
- package/dist/published/stories/Container.stories.d.ts +5 -0
- package/dist/published/stories/Container.stories.js +12 -0
- package/dist/published/stories/CriteriaBuilder.stories.d.ts +21 -0
- package/dist/published/stories/CriteriaBuilder.stories.js +206 -0
- package/dist/published/stories/DatePicker.stories.d.ts +6 -0
- package/dist/published/stories/DatePicker.stories.js +35 -0
- package/dist/published/stories/Dialog.stories.d.ts +5 -0
- package/dist/published/stories/Dialog.stories.js +24 -0
- package/dist/published/stories/Divider.stories.d.ts +5 -0
- package/dist/published/stories/Divider.stories.js +8 -0
- package/dist/published/stories/Drawer.stories.d.ts +5 -0
- package/dist/published/stories/Drawer.stories.js +27 -0
- package/dist/published/stories/FormControl.stories.d.ts +5 -0
- package/dist/published/stories/FormControl.stories.js +14 -0
- package/dist/published/stories/FormControlLabel.stories.d.ts +5 -0
- package/dist/published/stories/FormControlLabel.stories.js +8 -0
- package/dist/published/stories/FormField.stories.d.ts +9 -0
- package/dist/published/stories/FormField.stories.js +128 -0
- package/dist/published/stories/FormGroup.stories.d.ts +5 -0
- package/dist/published/stories/FormGroup.stories.js +10 -0
- package/dist/published/stories/FormHelperText.stories.d.ts +5 -0
- package/dist/published/stories/FormHelperText.stories.js +10 -0
- package/dist/published/stories/FormLabel.stories.d.ts +5 -0
- package/dist/published/stories/FormLabel.stories.js +13 -0
- package/dist/published/stories/Grid.stories.d.ts +5 -0
- package/dist/published/stories/Grid.stories.js +8 -0
- package/dist/published/stories/IconButton.stories.d.ts +5 -0
- package/dist/published/stories/IconButton.stories.js +17 -0
- package/dist/published/stories/LinearProgress.stories.d.ts +5 -0
- package/dist/published/stories/LinearProgress.stories.js +8 -0
- package/dist/published/stories/Link.stories.d.ts +5 -0
- package/dist/published/stories/Link.stories.js +16 -0
- package/dist/published/stories/List.stories.d.ts +5 -0
- package/dist/published/stories/List.stories.js +31 -0
- package/dist/published/stories/Menu.stories.d.ts +5 -0
- package/dist/published/stories/Menu.stories.js +25 -0
- package/dist/published/stories/MenuBar.stories.d.ts +5 -0
- package/dist/published/stories/MenuBar.stories.js +24 -0
- package/dist/published/stories/MultiSelect.stories.d.ts +5 -0
- package/dist/published/stories/MultiSelect.stories.js +26 -0
- package/dist/published/stories/Palette.stories.d.ts +25 -0
- package/dist/published/stories/Palette.stories.js +89 -0
- package/dist/published/stories/Paper.stories.d.ts +5 -0
- package/dist/published/stories/Paper.stories.js +15 -0
- package/dist/published/stories/RadioGroup.stories.d.ts +5 -0
- package/dist/published/stories/RadioGroup.stories.js +13 -0
- package/dist/published/stories/RepeatableField.stories.d.ts +5 -0
- package/dist/published/stories/RepeatableField.stories.js +36 -0
- package/dist/published/stories/Skeleton.stories.d.ts +5 -0
- package/dist/published/stories/Skeleton.stories.js +8 -0
- package/dist/published/stories/Snackbar.stories.d.ts +5 -0
- package/dist/published/stories/Snackbar.stories.js +22 -0
- package/dist/published/stories/Stack.stories.d.ts +5 -0
- package/dist/published/stories/Stack.stories.js +40 -0
- package/dist/published/stories/StaticDatePicker.stories.d.ts +7 -0
- package/dist/published/stories/StaticDatePicker.stories.js +42 -0
- package/dist/published/stories/Stepper.stories.d.ts +9 -0
- package/dist/published/stories/Stepper.stories.js +72 -0
- package/dist/published/stories/Switch.stories.d.ts +5 -0
- package/dist/published/stories/Switch.stories.js +8 -0
- package/dist/published/stories/Table.stories.d.ts +5 -0
- package/dist/published/stories/Table.stories.js +51 -0
- package/dist/published/stories/Tabs.stories.d.ts +5 -0
- package/dist/published/stories/Tabs.stories.js +45 -0
- package/dist/published/stories/TextField.stories.d.ts +21 -0
- package/dist/published/stories/TextField.stories.js +80 -0
- package/dist/published/stories/TimePicker.stories.d.ts +9 -0
- package/dist/published/stories/TimePicker.stories.js +34 -0
- package/dist/published/stories/ToggleButton.stories.d.ts +5 -0
- package/dist/published/stories/ToggleButton.stories.js +23 -0
- package/dist/published/stories/Typogrpahy.stories.d.ts +5 -0
- package/dist/published/stories/Typogrpahy.stories.js +21 -0
- package/dist/published/theme/UIThemeProvider.d.ts +7 -0
- package/dist/published/theme/UIThemeProvider.js +10 -0
- package/dist/published/theme/defaultTheme.d.ts +1 -0
- package/dist/published/theme/defaultTheme.js +104 -0
- package/dist/published/theme/index.d.ts +2 -0
- package/dist/published/theme/index.js +2 -0
- package/dist/published/util/date.d.ts +23 -0
- package/dist/published/util/date.js +47 -0
- package/dist/published/util/index.d.ts +1 -0
- package/dist/published/util/index.js +1 -0
- package/icons.ts +1 -0
- package/package.json +85 -0
@@ -0,0 +1,128 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { FormField } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Input/FormField',
|
5
|
+
component: FormField,
|
6
|
+
};
|
7
|
+
const FormFieldTemplate = (args) => React.createElement(FormField, Object.assign({}, args));
|
8
|
+
export const InputField = FormFieldTemplate.bind({});
|
9
|
+
InputField.args = {
|
10
|
+
property: {
|
11
|
+
id: 'fullName',
|
12
|
+
name: 'Full Name',
|
13
|
+
type: 'text',
|
14
|
+
// enum?: string[],
|
15
|
+
required: true,
|
16
|
+
},
|
17
|
+
onChange: (id, value) => console.log('id= ', id, 'Value= ', value),
|
18
|
+
defaultValue: 'Hello World',
|
19
|
+
error: false,
|
20
|
+
required: true,
|
21
|
+
readOnly: false,
|
22
|
+
selectOptions: [],
|
23
|
+
locale: 'string',
|
24
|
+
size: 'small',
|
25
|
+
placeholder: 'string',
|
26
|
+
};
|
27
|
+
export const ChoicesSelectField = FormFieldTemplate.bind({});
|
28
|
+
ChoicesSelectField.args = {
|
29
|
+
property: {
|
30
|
+
id: 'license type',
|
31
|
+
name: 'License Type',
|
32
|
+
type: 'choices',
|
33
|
+
enum: ['Commercial', 'Non-Commercial', 'Government'],
|
34
|
+
required: true,
|
35
|
+
},
|
36
|
+
onChange: (id, value) => console.log('id=', id, 'Value=', value),
|
37
|
+
defaultValue: 'Non-Commercial',
|
38
|
+
error: false,
|
39
|
+
required: true,
|
40
|
+
readOnly: false,
|
41
|
+
selectOptions: ['Commercial', 'Non-Commercial', 'Government'],
|
42
|
+
locale: 'string',
|
43
|
+
size: 'small',
|
44
|
+
placeholder: 'string',
|
45
|
+
};
|
46
|
+
export const DatePickerField = FormFieldTemplate.bind({});
|
47
|
+
DatePickerField.args = {
|
48
|
+
property: {
|
49
|
+
id: 'date',
|
50
|
+
name: 'Date',
|
51
|
+
type: 'date',
|
52
|
+
required: true,
|
53
|
+
},
|
54
|
+
onChange: (id, value) => console.log('id= ', id, 'Value= ', value),
|
55
|
+
defaultValue: '2023-03-01',
|
56
|
+
error: false,
|
57
|
+
required: true,
|
58
|
+
readOnly: false,
|
59
|
+
size: 'small',
|
60
|
+
};
|
61
|
+
export const BooleanField = FormFieldTemplate.bind({});
|
62
|
+
BooleanField.args = {
|
63
|
+
property: {
|
64
|
+
id: 'expired',
|
65
|
+
name: 'Expired',
|
66
|
+
type: 'boolean',
|
67
|
+
required: true,
|
68
|
+
},
|
69
|
+
onChange: (id, value) => console.log('id= ', id, 'Value= ', value),
|
70
|
+
defaultValue: true,
|
71
|
+
error: false,
|
72
|
+
required: true,
|
73
|
+
readOnly: false,
|
74
|
+
size: 'small',
|
75
|
+
};
|
76
|
+
export const FileUploadField = FormFieldTemplate.bind({});
|
77
|
+
FileUploadField.args = {
|
78
|
+
property: {
|
79
|
+
id: 'file',
|
80
|
+
name: 'File',
|
81
|
+
type: 'fileUpload',
|
82
|
+
required: true,
|
83
|
+
},
|
84
|
+
onChange: (id, value) => console.log('id= ', id, 'Value= ', value),
|
85
|
+
error: false,
|
86
|
+
required: true,
|
87
|
+
readOnly: false,
|
88
|
+
size: 'small',
|
89
|
+
};
|
90
|
+
export const ArraySelectField = FormFieldTemplate.bind({});
|
91
|
+
ArraySelectField.args = {
|
92
|
+
property: {
|
93
|
+
id: 'Industries',
|
94
|
+
name: 'Industries',
|
95
|
+
enum: [
|
96
|
+
'Agriculture',
|
97
|
+
'Automotive',
|
98
|
+
'Banking',
|
99
|
+
'Construction',
|
100
|
+
'Education',
|
101
|
+
'Energy',
|
102
|
+
'Entertainment',
|
103
|
+
'Finance',
|
104
|
+
'Food',
|
105
|
+
],
|
106
|
+
type: 'array',
|
107
|
+
required: true,
|
108
|
+
},
|
109
|
+
onChange: (id, value) => console.log('id= ', id, 'Value= ', value),
|
110
|
+
defaultValue: ['Agriculture', 'Automotive'],
|
111
|
+
error: false,
|
112
|
+
required: true,
|
113
|
+
readOnly: false,
|
114
|
+
selectOptions: [
|
115
|
+
'Agriculture',
|
116
|
+
'Automotive',
|
117
|
+
'Banking',
|
118
|
+
'Construction',
|
119
|
+
'Education',
|
120
|
+
'Energy',
|
121
|
+
'Entertainment',
|
122
|
+
'Finance',
|
123
|
+
'Food',
|
124
|
+
],
|
125
|
+
locale: 'string',
|
126
|
+
size: 'small',
|
127
|
+
placeholder: 'string',
|
128
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").FormGroupProps) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const FormGroup: ComponentStory<(props: import("@mui/material").FormGroupProps) => JSX.Element>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { FormGroup as CustomFormGroup, FormControlLabel, Switch } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Form Elements/FormGroup',
|
5
|
+
component: CustomFormGroup,
|
6
|
+
};
|
7
|
+
const FormGroupTemplate = (args) => (React.createElement(CustomFormGroup, Object.assign({}, args),
|
8
|
+
React.createElement(FormControlLabel, { control: React.createElement(Switch, { defaultChecked: true }), label: "Label" }),
|
9
|
+
React.createElement(FormControlLabel, { disabled: true, control: React.createElement(Switch, null), label: "Disabled" })));
|
10
|
+
export const FormGroup = FormGroupTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material/FormHelperText/FormHelperText").FormHelperTextProps<"p", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const FormHelperText: ComponentStory<(props: import("@mui/material/FormHelperText/FormHelperText").FormHelperTextProps<"p", {}>) => JSX.Element>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { FormHelperText as CustomFormHelperText, FormControl, TextField } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Form Elements/FormHelperText',
|
5
|
+
component: CustomFormHelperText,
|
6
|
+
};
|
7
|
+
const FormHelperTextTemplate = (args) => (React.createElement(FormControl, null,
|
8
|
+
React.createElement(TextField, null),
|
9
|
+
React.createElement(CustomFormHelperText, Object.assign({ id: "my-helper-text" }, args), "Form Helper text.")));
|
10
|
+
export const FormHelperText = FormHelperTextTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").FormLabelProps<"label", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const FormLabel: ComponentStory<(props: import("@mui/material").FormLabelProps<"label", {}>) => JSX.Element>;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { FormControl, FormControlLabel, FormLabel as CustomFormLabel } from '../index';
|
3
|
+
import { Radio, RadioGroup } from '@mui/material';
|
4
|
+
export default {
|
5
|
+
title: 'Form Elements/FormLabel',
|
6
|
+
component: CustomFormLabel,
|
7
|
+
};
|
8
|
+
const FormLabelTemplate = (args) => (React.createElement(FormControl, null,
|
9
|
+
React.createElement(CustomFormLabel, Object.assign({ id: "demo-row-radio-buttons-group-label" }, args), "Gender"),
|
10
|
+
React.createElement(RadioGroup, { row: true, "aria-labelledby": "demo-row-radio-buttons-group-label", name: "row-radio-buttons-group" },
|
11
|
+
React.createElement(FormControlLabel, { value: "female", control: React.createElement(Radio, null), label: "Female" }),
|
12
|
+
React.createElement(FormControlLabel, { value: "male", control: React.createElement(Radio, null), label: "Male" }))));
|
13
|
+
export const FormLabel = FormLabelTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").GridProps<"div", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Grid: ComponentStory<(props: import("@mui/material").GridProps<"div", {}>) => JSX.Element>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Grid as CustomGrid } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Layout/Grid',
|
5
|
+
component: CustomGrid,
|
6
|
+
};
|
7
|
+
const GridTemplate = (args) => React.createElement(CustomGrid, Object.assign({}, args));
|
8
|
+
export const Grid = GridTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").IconButtonProps<"button", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const IconButton: ComponentStory<(props: import("@mui/material").IconButtonProps<"button", {}>) => JSX.Element>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { IconButton as CustomIconButton, Stack } from '../index';
|
3
|
+
import { Delete, Alarm, ShoppingCart } from '@mui/icons-material';
|
4
|
+
export default {
|
5
|
+
title: 'Data Display/IconButton',
|
6
|
+
component: CustomIconButton,
|
7
|
+
};
|
8
|
+
const IconButtonTemplate = (args) => (React.createElement(Stack, { direction: "row", spacing: 1 },
|
9
|
+
React.createElement(CustomIconButton, Object.assign({ "aria-label": "delete" }, args),
|
10
|
+
React.createElement(Delete, null)),
|
11
|
+
React.createElement(CustomIconButton, Object.assign({ "aria-label": "delete", disabled: true, color: "primary" }, args),
|
12
|
+
React.createElement(Delete, null)),
|
13
|
+
React.createElement(CustomIconButton, Object.assign({ color: "secondary", "aria-label": "add an alarm" }, args),
|
14
|
+
React.createElement(Alarm, null)),
|
15
|
+
React.createElement(CustomIconButton, Object.assign({ color: "primary", "aria-label": "add to shopping cart" }, args),
|
16
|
+
React.createElement(ShoppingCart, null))));
|
17
|
+
export const IconButton = IconButtonTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").LinearProgressProps) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const LinearProgress: ComponentStory<(props: import("@mui/material").LinearProgressProps) => JSX.Element>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { LinearProgress as CustomLinearProgress } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Data Display/LinearProgress',
|
5
|
+
component: CustomLinearProgress,
|
6
|
+
};
|
7
|
+
const LinearProgressTemplate = (args) => (React.createElement(CustomLinearProgress, Object.assign({}, args)));
|
8
|
+
export const LinearProgress = LinearProgressTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").LinkProps<"a", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Link: ComponentStory<(props: import("@mui/material").LinkProps<"a", {}>) => JSX.Element>;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Link as CustomLink } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Navigation/Link',
|
5
|
+
component: CustomLink,
|
6
|
+
argTypes: {
|
7
|
+
props: {
|
8
|
+
control: 'object',
|
9
|
+
defaultValue: {
|
10
|
+
children: 'Link',
|
11
|
+
},
|
12
|
+
},
|
13
|
+
},
|
14
|
+
};
|
15
|
+
const LinkTemplate = (args) => React.createElement(CustomLink, Object.assign({}, args), "Link");
|
16
|
+
export const Link = LinkTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").ListProps<"ul", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const List: ComponentStory<(props: import("@mui/material").ListProps<"ul", {}>) => JSX.Element>;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Box, Divider, List as CustomList, ListItem, ListItemButton, ListItemText } from '../index';
|
3
|
+
import { ListItemIcon } from '@mui/material';
|
4
|
+
import { Mail, Backpack } from '@mui/icons-material';
|
5
|
+
export default {
|
6
|
+
title: 'Data Display/List',
|
7
|
+
component: CustomList,
|
8
|
+
};
|
9
|
+
const ListTemplate = (args) => (React.createElement(Box, { sx: { width: '100%', maxWidth: 360, bgcolor: 'background.paper' } },
|
10
|
+
React.createElement("nav", { "aria-label": "main mailbox folders" },
|
11
|
+
React.createElement(CustomList, Object.assign({}, args),
|
12
|
+
React.createElement(ListItem, { disablePadding: true },
|
13
|
+
React.createElement(ListItemButton, null,
|
14
|
+
React.createElement(ListItemIcon, null,
|
15
|
+
React.createElement(Mail, null)),
|
16
|
+
React.createElement(ListItemText, { primary: "Inbox" }))),
|
17
|
+
React.createElement(ListItem, { disablePadding: true },
|
18
|
+
React.createElement(ListItemButton, null,
|
19
|
+
React.createElement(ListItemIcon, null,
|
20
|
+
React.createElement(Backpack, null)),
|
21
|
+
React.createElement(ListItemText, { primary: "Drafts" }))))),
|
22
|
+
React.createElement(Divider, null),
|
23
|
+
React.createElement("nav", { "aria-label": "secondary mailbox folders" },
|
24
|
+
React.createElement(CustomList, Object.assign({}, Object.assign({}, args.props)),
|
25
|
+
React.createElement(ListItem, { disablePadding: true },
|
26
|
+
React.createElement(ListItemButton, null,
|
27
|
+
React.createElement(ListItemText, { primary: "Trash" }))),
|
28
|
+
React.createElement(ListItem, { disablePadding: true },
|
29
|
+
React.createElement(ListItemButton, null,
|
30
|
+
React.createElement(ListItemText, { primary: "Spam" })))))));
|
31
|
+
export const List = ListTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").MenuProps) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Menu: ComponentStory<(props: import("@mui/material").MenuProps) => JSX.Element>;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Menu as CustomMenu, Button, MenuItem } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Navigation/Menu',
|
5
|
+
component: CustomMenu,
|
6
|
+
};
|
7
|
+
const MenuTemplate = (args) => {
|
8
|
+
const [anchorEl, setAnchorEl] = React.useState(null);
|
9
|
+
const open = Boolean(anchorEl);
|
10
|
+
const handleClick = (event) => {
|
11
|
+
setAnchorEl(event.currentTarget);
|
12
|
+
};
|
13
|
+
const handleClose = () => {
|
14
|
+
setAnchorEl(null);
|
15
|
+
};
|
16
|
+
return (React.createElement("div", null,
|
17
|
+
React.createElement(Button, { id: "basic-button", "aria-controls": open ? 'basic-menu' : undefined, "aria-haspopup": "true", "aria-expanded": open ? 'true' : undefined, onClick: handleClick }, "Dashboard"),
|
18
|
+
React.createElement(CustomMenu, Object.assign({ id: "basic-menu", anchorEl: anchorEl, open: open, onClose: handleClose, MenuListProps: {
|
19
|
+
'aria-labelledby': 'basic-button',
|
20
|
+
} }, args),
|
21
|
+
React.createElement(MenuItem, { onClick: handleClose }, "Profile"),
|
22
|
+
React.createElement(MenuItem, { onClick: handleClose }, "My account"),
|
23
|
+
React.createElement(MenuItem, { onClick: handleClose }, "Logout"))));
|
24
|
+
};
|
25
|
+
export const Menu = MenuTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
2
|
+
import { MenuBar as CustomMenuBar } from '../index';
|
3
|
+
declare const _default: ComponentMeta<typeof CustomMenuBar>;
|
4
|
+
export default _default;
|
5
|
+
export declare const MenuBar: ComponentStory<typeof CustomMenuBar>;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { MenuBar as CustomMenuBar } from '../index';
|
3
|
+
import { Link } from '@mui/material';
|
4
|
+
const logo = require('../SA_logo.jpeg');
|
5
|
+
export default {
|
6
|
+
title: 'Data Display/MenuBar',
|
7
|
+
component: CustomMenuBar,
|
8
|
+
argTypes: {
|
9
|
+
navItems: {
|
10
|
+
control: 'object',
|
11
|
+
defaultValue: React.createElement(Link, null, "Object"),
|
12
|
+
},
|
13
|
+
showNotifications: {
|
14
|
+
defaultValue: true,
|
15
|
+
type: 'boolean',
|
16
|
+
},
|
17
|
+
logo: {
|
18
|
+
defaultValue: logo,
|
19
|
+
},
|
20
|
+
envName: { defaultValue: 'System Automation' },
|
21
|
+
},
|
22
|
+
};
|
23
|
+
const Template = (props) => React.createElement(CustomMenuBar, Object.assign({}, props));
|
24
|
+
export const MenuBar = Template.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
2
|
+
import { MultiSelect as CustomMultiSelect } from '../index';
|
3
|
+
declare const _default: ComponentMeta<typeof CustomMultiSelect>;
|
4
|
+
export default _default;
|
5
|
+
export declare const MultiSelect: ComponentStory<typeof CustomMultiSelect>;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Grid, MultiSelect as CustomMultiSelect, Typography } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Input/MultiSelect',
|
5
|
+
component: CustomMultiSelect,
|
6
|
+
args: {
|
7
|
+
options: [
|
8
|
+
{ id: 'id', label: 'ID', value: false },
|
9
|
+
{ id: 'name', label: 'Last Name', value: false },
|
10
|
+
{ id: 'type', label: 'Type', value: false },
|
11
|
+
{ id: 'status', label: 'Status', value: false },
|
12
|
+
{ id: 'date', label: 'Date', value: false },
|
13
|
+
],
|
14
|
+
},
|
15
|
+
};
|
16
|
+
const MultiSelectTemplate = (args) => (React.createElement(Grid, { container: true, gap: 10 },
|
17
|
+
React.createElement(Grid, { item: true, sm: 4 },
|
18
|
+
React.createElement(Typography, { variant: "h4" }, "More than 4 options:"),
|
19
|
+
React.createElement(CustomMultiSelect, Object.assign({}, args, { isSortable: true }))),
|
20
|
+
React.createElement(Grid, { item: true, sm: 4 },
|
21
|
+
React.createElement(Typography, { variant: "h4" }, "Less than 4 options:"),
|
22
|
+
React.createElement(CustomMultiSelect, Object.assign({}, args, { options: [
|
23
|
+
{ id: 'name', label: 'Name', value: false },
|
24
|
+
{ id: 'type', label: 'Type', value: false },
|
25
|
+
] })))));
|
26
|
+
export const MultiSelect = MultiSelectTemplate.bind({});
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
4
|
+
children?: React.ReactNode;
|
5
|
+
component?: React.ElementType<any> | undefined;
|
6
|
+
ref?: React.Ref<unknown> | undefined;
|
7
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
8
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
10
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | ("zIndex" | "typography" | "fontFamily" | "fontSize" | "color" | "fontWeight" | "lineHeight" | "p" | "margin" | "border" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "overflow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint") | "component"> & {
|
11
|
+
sx?: object | undefined;
|
12
|
+
component?: React.ElementType<any> | undefined;
|
13
|
+
}) => JSX.Element>;
|
14
|
+
export default _default;
|
15
|
+
export declare const Palette: ComponentStory<(props: import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
16
|
+
children?: React.ReactNode;
|
17
|
+
component?: React.ElementType<any> | undefined;
|
18
|
+
ref?: React.Ref<unknown> | undefined;
|
19
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
20
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
22
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | ("zIndex" | "typography" | "fontFamily" | "fontSize" | "color" | "fontWeight" | "lineHeight" | "p" | "margin" | "border" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "overflow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint") | "component"> & {
|
23
|
+
sx?: object | undefined;
|
24
|
+
component?: React.ElementType<any> | undefined;
|
25
|
+
}) => JSX.Element>;
|
@@ -0,0 +1,89 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Box, Grid, Container, Typography } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Theme/Palette',
|
5
|
+
component: Box,
|
6
|
+
};
|
7
|
+
const classes = {
|
8
|
+
contentCenter: {
|
9
|
+
display: 'flex',
|
10
|
+
justifyContent: 'center',
|
11
|
+
alignItems: 'center',
|
12
|
+
},
|
13
|
+
mainColorSection: {
|
14
|
+
height: '120px',
|
15
|
+
backgroundColor: 'primary.main',
|
16
|
+
borderRadius: '8px',
|
17
|
+
flexDirection: 'column',
|
18
|
+
},
|
19
|
+
textColor: {
|
20
|
+
color: '#FFFF',
|
21
|
+
},
|
22
|
+
otherColorSection: {
|
23
|
+
height: '56px',
|
24
|
+
width: '104px',
|
25
|
+
borderRadius: '8px',
|
26
|
+
flexDirection: 'column',
|
27
|
+
},
|
28
|
+
};
|
29
|
+
const colors = [
|
30
|
+
{ colorName: 'primary', main: '#0075A7', light: '#99C8DC', dark: '#014E7B', darker: '#013860' },
|
31
|
+
{ colorName: 'secondary', main: '##9c27b0', light: '#ba68c8', dark: '#7b1fa2', darker: '#7b1fa9' },
|
32
|
+
{ colorName: 'info', main: '#1890FF', light: '#74CAFF', dark: '#0C53B7', darker: '#04297A' },
|
33
|
+
{ colorName: 'warning', main: '#FFC107', light: '#FFE16A', dark: '#B78103', darker: '#7A4F01' },
|
34
|
+
{ colorName: 'success', main: '#54D62C', light: '#AAF27F', dark: '#229A16', darker: '#08660D' },
|
35
|
+
{ colorName: 'error', main: '#A12723', light: '#FF695C', dark: '#B72136', darker: '#7A0C2E' },
|
36
|
+
];
|
37
|
+
const PaletteTemplate = (args) => {
|
38
|
+
return (React.createElement(Grid, { container: true, spacing: 2 }, colors.map((item) => (React.createElement(Grid, { item: true, xs: 12, sm: 12, md: 6 },
|
39
|
+
React.createElement(Grid, { container: true, sx: { backgroundColor: 'rgba(145, 158, 171, 0.08)', padding: 2 } },
|
40
|
+
React.createElement(Grid, { item: true, xs: 6, sm: 6, sx: { px: '5px' } },
|
41
|
+
React.createElement(Container, { sx: [
|
42
|
+
classes.contentCenter,
|
43
|
+
classes.mainColorSection,
|
44
|
+
{
|
45
|
+
backgroundColor: `${item === null || item === void 0 ? void 0 : item.colorName}.main`,
|
46
|
+
},
|
47
|
+
] },
|
48
|
+
React.createElement(Typography, { color: classes.textColor }, item === null || item === void 0 ? void 0 : item.colorName.toUpperCase()),
|
49
|
+
React.createElement(Typography, { variant: "caption", color: classes.textColor }, item === null || item === void 0 ? void 0 : item.main))),
|
50
|
+
React.createElement(Grid, { item: true, xs: 6, sm: 6 },
|
51
|
+
React.createElement(Grid, { container: true, gap: 1 },
|
52
|
+
React.createElement(Box, { sx: [
|
53
|
+
classes.contentCenter,
|
54
|
+
classes.otherColorSection,
|
55
|
+
{
|
56
|
+
backgroundColor: `${item === null || item === void 0 ? void 0 : item.colorName}.main`,
|
57
|
+
},
|
58
|
+
] },
|
59
|
+
React.createElement(Typography, { variant: "body2", color: classes.textColor }, "Main"),
|
60
|
+
React.createElement(Typography, { variant: "caption", color: classes.textColor }, item === null || item === void 0 ? void 0 : item.main)),
|
61
|
+
React.createElement(Box, { sx: [
|
62
|
+
classes.contentCenter,
|
63
|
+
classes.otherColorSection,
|
64
|
+
{
|
65
|
+
backgroundColor: `${item === null || item === void 0 ? void 0 : item.colorName}.light`,
|
66
|
+
},
|
67
|
+
] },
|
68
|
+
React.createElement(Typography, { variant: "body2", color: classes.textColor }, "Light"),
|
69
|
+
React.createElement(Typography, { variant: "caption", color: classes.textColor }, item === null || item === void 0 ? void 0 : item.light)),
|
70
|
+
React.createElement(Box, { sx: [
|
71
|
+
classes.contentCenter,
|
72
|
+
classes.otherColorSection,
|
73
|
+
{
|
74
|
+
backgroundColor: `${item === null || item === void 0 ? void 0 : item.colorName}.dark`,
|
75
|
+
},
|
76
|
+
] },
|
77
|
+
React.createElement(Typography, { variant: "body2", color: classes.textColor }, "Dark"),
|
78
|
+
React.createElement(Typography, { variant: "caption", color: classes.textColor }, item === null || item === void 0 ? void 0 : item.dark)),
|
79
|
+
React.createElement(Box, { sx: [
|
80
|
+
classes.contentCenter,
|
81
|
+
classes.otherColorSection,
|
82
|
+
{
|
83
|
+
backgroundColor: item === null || item === void 0 ? void 0 : item.darker,
|
84
|
+
},
|
85
|
+
] },
|
86
|
+
React.createElement(Typography, { variant: "body2", color: classes.textColor }, "Darker"),
|
87
|
+
React.createElement(Typography, { variant: "caption", color: classes.textColor }, item === null || item === void 0 ? void 0 : item.darker))))))))));
|
88
|
+
};
|
89
|
+
export const Palette = PaletteTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").PaperProps<"div", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Paper: ComponentStory<(props: import("@mui/material").PaperProps<"div", {}>) => JSX.Element>;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Paper as CustomPaper, Box } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Data Display/Paper',
|
5
|
+
component: CustomPaper,
|
6
|
+
};
|
7
|
+
const PaperTemplate = (args) => (React.createElement(Box, { sx: {
|
8
|
+
'& > :not(style)': {
|
9
|
+
m: 1,
|
10
|
+
width: 128,
|
11
|
+
height: 128,
|
12
|
+
},
|
13
|
+
} },
|
14
|
+
React.createElement(CustomPaper, Object.assign({ elevation: 3 }, args))));
|
15
|
+
export const Paper = PaperTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").RadioGroupProps) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const RadioGroup: ComponentStory<(props: import("@mui/material").RadioGroupProps) => JSX.Element>;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { FormControl, FormControlLabel, FormLabel, Radio, RadioGroup as CustomRadioGroup } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Input/RadioGroup',
|
5
|
+
component: CustomRadioGroup,
|
6
|
+
};
|
7
|
+
const RadioGroupTemplate = (args) => (React.createElement(FormControl, null,
|
8
|
+
React.createElement(FormLabel, { id: "demo-radio-buttons-group-label" }, "Gender"),
|
9
|
+
React.createElement(CustomRadioGroup, Object.assign({ "aria-labelledby": "demo-radio-buttons-group-label", defaultValue: "female", name: "radio-buttons-group" }, args),
|
10
|
+
React.createElement(FormControlLabel, { value: "female", control: React.createElement(Radio, null), label: "Female" }),
|
11
|
+
React.createElement(FormControlLabel, { value: "male", control: React.createElement(Radio, null), label: "Male" }),
|
12
|
+
React.createElement(FormControlLabel, { value: "other", control: React.createElement(Radio, null), label: "Other" }))));
|
13
|
+
export const RadioGroup = RadioGroupTemplate.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
2
|
+
import { RepeatableField as CustomRepeatableField } from '../index';
|
3
|
+
declare const _default: ComponentMeta<typeof CustomRepeatableField>;
|
4
|
+
export default _default;
|
5
|
+
export declare const RepeatableField: ComponentStory<typeof CustomRepeatableField>;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { RepeatableField as CustomRepeatableField, TextField, Checkbox, Autocomplete } from '../index';
|
3
|
+
export default {
|
4
|
+
title: 'Input/RepeatableField',
|
5
|
+
component: CustomRepeatableField,
|
6
|
+
};
|
7
|
+
const Template = (props) => {
|
8
|
+
const dynamicHeaders = {
|
9
|
+
field: 'movies',
|
10
|
+
displayTitle: 'Condition',
|
11
|
+
mapping: '$.value',
|
12
|
+
};
|
13
|
+
const top100Films = [
|
14
|
+
{ label: 'The Shawshank Redemption', value: 'The Shawshank Redemption' },
|
15
|
+
{ label: 'The Godfather', value: 'The Godfather' },
|
16
|
+
{ label: 'The Godfather: Part II', value: 'The Godfather: Part II' },
|
17
|
+
{ label: 'The Dark Knight', value: 'The Dark Knight' },
|
18
|
+
{ label: '12 Angry Men', value: '12 Angry Men' },
|
19
|
+
{ label: "Schindler's List", value: 'schindler List' },
|
20
|
+
{ label: 'Pulp Fiction', value: 'Pulp Fiction' },
|
21
|
+
];
|
22
|
+
const defaultValues = {
|
23
|
+
textField: 'Some defaults',
|
24
|
+
checkbox: false
|
25
|
+
};
|
26
|
+
return (React.createElement(CustomRepeatableField, Object.assign({}, props, { dynamicHeaders: dynamicHeaders }), (handler, index, selectedField) => {
|
27
|
+
var _a, _b, _c;
|
28
|
+
return (React.createElement(React.Fragment, null,
|
29
|
+
React.createElement(TextField, { variant: "outlined", label: "Button Label", labelPlacement: "outside-top", placeholder: "Label", name: "textField", value: ((_a = selectedField[index]) === null || _a === void 0 ? void 0 : _a.textField) || defaultValues.textField, onChange: (event) => handler(event, index) }),
|
30
|
+
React.createElement(Checkbox, { name: "checkbox", onChange: (event) => handler(event, index), checked: ((_b = selectedField[index]) === null || _b === void 0 ? void 0 : _b.checkbox) || false, sx: { width: 0 } }),
|
31
|
+
React.createElement(Autocomplete, { label: "Movies", disablePortal: true, id: "combo-box-demo", options: top100Films, value: (_c = selectedField[index]) === null || _c === void 0 ? void 0 : _c.movies, onChange: (event, value) => {
|
32
|
+
handler(Object.assign(Object.assign({}, event), { target: Object.assign(Object.assign({}, event.target), { value: value, name: 'movies' }) }), index);
|
33
|
+
}, renderInput: (params) => React.createElement(TextField, Object.assign({}, params, { label: "Movie" })) })));
|
34
|
+
}));
|
35
|
+
};
|
36
|
+
export const RepeatableField = Template.bind({});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
3
|
+
declare const _default: ComponentMeta<(props: import("@mui/material").SkeletonProps<"span", {}>) => JSX.Element>;
|
4
|
+
export default _default;
|
5
|
+
export declare const Skeleton: ComponentStory<(props: import("@mui/material").SkeletonProps<"span", {}>) => JSX.Element>;
|