@atipicus/mrs-ui 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +6 -0
- package/README.md +602 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +68535 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +68519 -0
- package/dist/index.mjs.map +1 -0
- package/dist/mrs-ui.css +185 -0
- package/dist/src/components/atoms/AccountStack/AccountStack.d.ts +6 -0
- package/dist/src/components/atoms/AccountStack/AccountStack.d.ts.map +1 -0
- package/dist/src/components/atoms/AccountStack/AccountStack.types.d.ts +51 -0
- package/dist/src/components/atoms/AccountStack/AccountStack.types.d.ts.map +1 -0
- package/dist/src/components/atoms/AccountStack/index.d.ts +3 -0
- package/dist/src/components/atoms/AccountStack/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Avatar/Avatar.d.ts +12 -0
- package/dist/src/components/atoms/Avatar/Avatar.d.ts.map +1 -0
- package/dist/src/components/atoms/Avatar/Avatar.types.d.ts +46 -0
- package/dist/src/components/atoms/Avatar/Avatar.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Avatar/index.d.ts +6 -0
- package/dist/src/components/atoms/Avatar/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Badge/Badge.d.ts +13 -0
- package/dist/src/components/atoms/Badge/Badge.d.ts.map +1 -0
- package/dist/src/components/atoms/Badge/Badge.types.d.ts +57 -0
- package/dist/src/components/atoms/Badge/Badge.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Badge/index.d.ts +6 -0
- package/dist/src/components/atoms/Badge/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Box/Box.d.ts +16 -0
- package/dist/src/components/atoms/Box/Box.d.ts.map +1 -0
- package/dist/src/components/atoms/Box/Box.types.d.ts +19 -0
- package/dist/src/components/atoms/Box/Box.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Box/index.d.ts +7 -0
- package/dist/src/components/atoms/Box/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Button/Button.d.ts +10 -0
- package/dist/src/components/atoms/Button/Button.d.ts.map +1 -0
- package/dist/src/components/atoms/Button/Button.types.d.ts +15 -0
- package/dist/src/components/atoms/Button/Button.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Button/index.d.ts +6 -0
- package/dist/src/components/atoms/Button/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.d.ts +12 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.types.d.ts +81 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Checkbox/index.d.ts +6 -0
- package/dist/src/components/atoms/Checkbox/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Chip/Chip.d.ts +12 -0
- package/dist/src/components/atoms/Chip/Chip.d.ts.map +1 -0
- package/dist/src/components/atoms/Chip/Chip.types.d.ts +68 -0
- package/dist/src/components/atoms/Chip/Chip.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Chip/index.d.ts +6 -0
- package/dist/src/components/atoms/Chip/index.d.ts.map +1 -0
- package/dist/src/components/atoms/CircularProgress/CircularProgress.d.ts +13 -0
- package/dist/src/components/atoms/CircularProgress/CircularProgress.d.ts.map +1 -0
- package/dist/src/components/atoms/CircularProgress/CircularProgress.types.d.ts +40 -0
- package/dist/src/components/atoms/CircularProgress/CircularProgress.types.d.ts.map +1 -0
- package/dist/src/components/atoms/CircularProgress/index.d.ts +6 -0
- package/dist/src/components/atoms/CircularProgress/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Container/Container.d.ts +16 -0
- package/dist/src/components/atoms/Container/Container.d.ts.map +1 -0
- package/dist/src/components/atoms/Container/Container.types.d.ts +35 -0
- package/dist/src/components/atoms/Container/Container.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Container/index.d.ts +7 -0
- package/dist/src/components/atoms/Container/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Divider/Divider.d.ts +13 -0
- package/dist/src/components/atoms/Divider/Divider.d.ts.map +1 -0
- package/dist/src/components/atoms/Divider/Divider.types.d.ts +39 -0
- package/dist/src/components/atoms/Divider/Divider.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Divider/index.d.ts +6 -0
- package/dist/src/components/atoms/Divider/index.d.ts.map +1 -0
- package/dist/src/components/atoms/FormControlLabel/FormControlLabel.d.ts +17 -0
- package/dist/src/components/atoms/FormControlLabel/FormControlLabel.d.ts.map +1 -0
- package/dist/src/components/atoms/FormControlLabel/FormControlLabel.types.d.ts +43 -0
- package/dist/src/components/atoms/FormControlLabel/FormControlLabel.types.d.ts.map +1 -0
- package/dist/src/components/atoms/FormControlLabel/index.d.ts +7 -0
- package/dist/src/components/atoms/FormControlLabel/index.d.ts.map +1 -0
- package/dist/src/components/atoms/FormGroup/FormGroup.d.ts +17 -0
- package/dist/src/components/atoms/FormGroup/FormGroup.d.ts.map +1 -0
- package/dist/src/components/atoms/FormGroup/FormGroup.types.d.ts +19 -0
- package/dist/src/components/atoms/FormGroup/FormGroup.types.d.ts.map +1 -0
- package/dist/src/components/atoms/FormGroup/index.d.ts +7 -0
- package/dist/src/components/atoms/FormGroup/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Grid/Grid.d.ts +21 -0
- package/dist/src/components/atoms/Grid/Grid.d.ts.map +1 -0
- package/dist/src/components/atoms/Grid/Grid.types.d.ts +77 -0
- package/dist/src/components/atoms/Grid/Grid.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Grid/index.d.ts +7 -0
- package/dist/src/components/atoms/Grid/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Icon/Icon.d.ts +13 -0
- package/dist/src/components/atoms/Icon/Icon.d.ts.map +1 -0
- package/dist/src/components/atoms/Icon/Icon.types.d.ts +59 -0
- package/dist/src/components/atoms/Icon/Icon.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Icon/index.d.ts +6 -0
- package/dist/src/components/atoms/Icon/index.d.ts.map +1 -0
- package/dist/src/components/atoms/IconButton/IconButton.d.ts +13 -0
- package/dist/src/components/atoms/IconButton/IconButton.d.ts.map +1 -0
- package/dist/src/components/atoms/IconButton/IconButton.types.d.ts +45 -0
- package/dist/src/components/atoms/IconButton/IconButton.types.d.ts.map +1 -0
- package/dist/src/components/atoms/IconButton/index.d.ts +6 -0
- package/dist/src/components/atoms/IconButton/index.d.ts.map +1 -0
- package/dist/src/components/atoms/LinearProgress/LinearProgress.d.ts +13 -0
- package/dist/src/components/atoms/LinearProgress/LinearProgress.d.ts.map +1 -0
- package/dist/src/components/atoms/LinearProgress/LinearProgress.types.d.ts +40 -0
- package/dist/src/components/atoms/LinearProgress/LinearProgress.types.d.ts.map +1 -0
- package/dist/src/components/atoms/LinearProgress/index.d.ts +6 -0
- package/dist/src/components/atoms/LinearProgress/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Link/Link.d.ts +15 -0
- package/dist/src/components/atoms/Link/Link.d.ts.map +1 -0
- package/dist/src/components/atoms/Link/Link.types.d.ts +51 -0
- package/dist/src/components/atoms/Link/Link.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Link/index.d.ts +7 -0
- package/dist/src/components/atoms/Link/index.d.ts.map +1 -0
- package/dist/src/components/atoms/MaterialSymbol/MaterialSymbol.d.ts +134 -0
- package/dist/src/components/atoms/MaterialSymbol/MaterialSymbol.d.ts.map +1 -0
- package/dist/src/components/atoms/MaterialSymbol/index.d.ts +3 -0
- package/dist/src/components/atoms/MaterialSymbol/index.d.ts.map +1 -0
- package/dist/src/components/atoms/MenuItem/MenuItem.d.ts +33 -0
- package/dist/src/components/atoms/MenuItem/MenuItem.d.ts.map +1 -0
- package/dist/src/components/atoms/MenuItem/MenuItem.types.d.ts +43 -0
- package/dist/src/components/atoms/MenuItem/MenuItem.types.d.ts.map +1 -0
- package/dist/src/components/atoms/MenuItem/index.d.ts +7 -0
- package/dist/src/components/atoms/MenuItem/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Paper/Paper.d.ts +13 -0
- package/dist/src/components/atoms/Paper/Paper.d.ts.map +1 -0
- package/dist/src/components/atoms/Paper/Paper.types.d.ts +36 -0
- package/dist/src/components/atoms/Paper/Paper.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Paper/index.d.ts +6 -0
- package/dist/src/components/atoms/Paper/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Radio/Radio.d.ts +14 -0
- package/dist/src/components/atoms/Radio/Radio.d.ts.map +1 -0
- package/dist/src/components/atoms/Radio/Radio.types.d.ts +72 -0
- package/dist/src/components/atoms/Radio/Radio.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Radio/index.d.ts +6 -0
- package/dist/src/components/atoms/Radio/index.d.ts.map +1 -0
- package/dist/src/components/atoms/RadioGroup/RadioGroup.d.ts +17 -0
- package/dist/src/components/atoms/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/src/components/atoms/RadioGroup/RadioGroup.types.d.ts +31 -0
- package/dist/src/components/atoms/RadioGroup/RadioGroup.types.d.ts.map +1 -0
- package/dist/src/components/atoms/RadioGroup/index.d.ts +7 -0
- package/dist/src/components/atoms/RadioGroup/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Select/Select.d.ts +39 -0
- package/dist/src/components/atoms/Select/Select.d.ts.map +1 -0
- package/dist/src/components/atoms/Select/Select.types.d.ts +124 -0
- package/dist/src/components/atoms/Select/Select.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Select/index.d.ts +7 -0
- package/dist/src/components/atoms/Select/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Skeleton/Skeleton.d.ts +13 -0
- package/dist/src/components/atoms/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/src/components/atoms/Skeleton/Skeleton.types.d.ts +35 -0
- package/dist/src/components/atoms/Skeleton/Skeleton.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Skeleton/index.d.ts +6 -0
- package/dist/src/components/atoms/Skeleton/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Slider/Slider.d.ts +14 -0
- package/dist/src/components/atoms/Slider/Slider.d.ts.map +1 -0
- package/dist/src/components/atoms/Slider/Slider.types.d.ts +151 -0
- package/dist/src/components/atoms/Slider/Slider.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Slider/index.d.ts +6 -0
- package/dist/src/components/atoms/Slider/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Stack/Stack.d.ts +17 -0
- package/dist/src/components/atoms/Stack/Stack.d.ts.map +1 -0
- package/dist/src/components/atoms/Stack/Stack.types.d.ts +51 -0
- package/dist/src/components/atoms/Stack/Stack.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Stack/index.d.ts +7 -0
- package/dist/src/components/atoms/Stack/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Switch/Switch.d.ts +13 -0
- package/dist/src/components/atoms/Switch/Switch.d.ts.map +1 -0
- package/dist/src/components/atoms/Switch/Switch.types.d.ts +71 -0
- package/dist/src/components/atoms/Switch/Switch.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Switch/index.d.ts +3 -0
- package/dist/src/components/atoms/Switch/index.d.ts.map +1 -0
- package/dist/src/components/atoms/TextField/TextField.d.ts +37 -0
- package/dist/src/components/atoms/TextField/TextField.d.ts.map +1 -0
- package/dist/src/components/atoms/TextField/TextField.types.d.ts +128 -0
- package/dist/src/components/atoms/TextField/TextField.types.d.ts.map +1 -0
- package/dist/src/components/atoms/TextField/index.d.ts +7 -0
- package/dist/src/components/atoms/TextField/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Toolbar/Toolbar.d.ts +14 -0
- package/dist/src/components/atoms/Toolbar/Toolbar.d.ts.map +1 -0
- package/dist/src/components/atoms/Toolbar/Toolbar.types.d.ts +24 -0
- package/dist/src/components/atoms/Toolbar/Toolbar.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Toolbar/index.d.ts +7 -0
- package/dist/src/components/atoms/Toolbar/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.d.ts +12 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.types.d.ts +30 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Tooltip/index.d.ts +6 -0
- package/dist/src/components/atoms/Tooltip/index.d.ts.map +1 -0
- package/dist/src/components/atoms/Typography/Typography.d.ts +13 -0
- package/dist/src/components/atoms/Typography/Typography.d.ts.map +1 -0
- package/dist/src/components/atoms/Typography/Typography.types.d.ts +25 -0
- package/dist/src/components/atoms/Typography/Typography.types.d.ts.map +1 -0
- package/dist/src/components/atoms/Typography/index.d.ts +6 -0
- package/dist/src/components/atoms/Typography/index.d.ts.map +1 -0
- package/dist/src/components/atoms/index.d.ts +36 -0
- package/dist/src/components/atoms/index.d.ts.map +1 -0
- package/dist/src/components/effects/AnimatedBadge/AnimatedBadge.d.ts +28 -0
- package/dist/src/components/effects/AnimatedBadge/AnimatedBadge.d.ts.map +1 -0
- package/dist/src/components/effects/AnimatedBadge/index.d.ts +3 -0
- package/dist/src/components/effects/AnimatedBadge/index.d.ts.map +1 -0
- package/dist/src/components/effects/LoadingDots/LoadingDots.d.ts +25 -0
- package/dist/src/components/effects/LoadingDots/LoadingDots.d.ts.map +1 -0
- package/dist/src/components/effects/LoadingDots/index.d.ts +3 -0
- package/dist/src/components/effects/LoadingDots/index.d.ts.map +1 -0
- package/dist/src/components/effects/RippleButton/RippleButton.d.ts +23 -0
- package/dist/src/components/effects/RippleButton/RippleButton.d.ts.map +1 -0
- package/dist/src/components/effects/RippleButton/index.d.ts +3 -0
- package/dist/src/components/effects/RippleButton/index.d.ts.map +1 -0
- package/dist/src/components/effects/index.d.ts +9 -0
- package/dist/src/components/effects/index.d.ts.map +1 -0
- package/dist/src/components/index.d.ts +8 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Accordion/Accordion.d.ts +14 -0
- package/dist/src/components/molecules/Accordion/Accordion.d.ts.map +1 -0
- package/dist/src/components/molecules/Accordion/Accordion.types.d.ts +93 -0
- package/dist/src/components/molecules/Accordion/Accordion.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Accordion/AccordionActions.d.ts +14 -0
- package/dist/src/components/molecules/Accordion/AccordionActions.d.ts.map +1 -0
- package/dist/src/components/molecules/Accordion/AccordionDetails.d.ts +14 -0
- package/dist/src/components/molecules/Accordion/AccordionDetails.d.ts.map +1 -0
- package/dist/src/components/molecules/Accordion/AccordionSummary.d.ts +14 -0
- package/dist/src/components/molecules/Accordion/AccordionSummary.d.ts.map +1 -0
- package/dist/src/components/molecules/Accordion/index.d.ts +12 -0
- package/dist/src/components/molecules/Accordion/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Alert/Alert.d.ts +5 -0
- package/dist/src/components/molecules/Alert/Alert.d.ts.map +1 -0
- package/dist/src/components/molecules/Alert/Alert.types.d.ts +53 -0
- package/dist/src/components/molecules/Alert/Alert.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Alert/index.d.ts +3 -0
- package/dist/src/components/molecules/Alert/index.d.ts.map +1 -0
- package/dist/src/components/molecules/AppBar/AppBar.d.ts +21 -0
- package/dist/src/components/molecules/AppBar/AppBar.d.ts.map +1 -0
- package/dist/src/components/molecules/AppBar/AppBar.types.d.ts +44 -0
- package/dist/src/components/molecules/AppBar/AppBar.types.d.ts.map +1 -0
- package/dist/src/components/molecules/AppBar/index.d.ts +7 -0
- package/dist/src/components/molecules/AppBar/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Autocomplete/Autocomplete.d.ts +16 -0
- package/dist/src/components/molecules/Autocomplete/Autocomplete.d.ts.map +1 -0
- package/dist/src/components/molecules/Autocomplete/Autocomplete.types.d.ts +88 -0
- package/dist/src/components/molecules/Autocomplete/Autocomplete.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Autocomplete/index.d.ts +6 -0
- package/dist/src/components/molecules/Autocomplete/index.d.ts.map +1 -0
- package/dist/src/components/molecules/BottomNavigation/BottomNavigation.d.ts +12 -0
- package/dist/src/components/molecules/BottomNavigation/BottomNavigation.d.ts.map +1 -0
- package/dist/src/components/molecules/BottomNavigation/BottomNavigation.types.d.ts +47 -0
- package/dist/src/components/molecules/BottomNavigation/BottomNavigation.types.d.ts.map +1 -0
- package/dist/src/components/molecules/BottomNavigation/BottomNavigationAction.d.ts +4 -0
- package/dist/src/components/molecules/BottomNavigation/BottomNavigationAction.d.ts.map +1 -0
- package/dist/src/components/molecules/BottomNavigation/index.d.ts +7 -0
- package/dist/src/components/molecules/BottomNavigation/index.d.ts.map +1 -0
- package/dist/src/components/molecules/ButtonGroup/ButtonGroup.d.ts +12 -0
- package/dist/src/components/molecules/ButtonGroup/ButtonGroup.d.ts.map +1 -0
- package/dist/src/components/molecules/ButtonGroup/ButtonGroup.types.d.ts +70 -0
- package/dist/src/components/molecules/ButtonGroup/ButtonGroup.types.d.ts.map +1 -0
- package/dist/src/components/molecules/ButtonGroup/index.d.ts +6 -0
- package/dist/src/components/molecules/ButtonGroup/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Card/Card.d.ts +15 -0
- package/dist/src/components/molecules/Card/Card.d.ts.map +1 -0
- package/dist/src/components/molecules/Card/Card.types.d.ts +134 -0
- package/dist/src/components/molecules/Card/Card.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Card/CardActionArea.d.ts +14 -0
- package/dist/src/components/molecules/Card/CardActionArea.d.ts.map +1 -0
- package/dist/src/components/molecules/Card/CardActions.d.ts +14 -0
- package/dist/src/components/molecules/Card/CardActions.d.ts.map +1 -0
- package/dist/src/components/molecules/Card/CardContent.d.ts +14 -0
- package/dist/src/components/molecules/Card/CardContent.d.ts.map +1 -0
- package/dist/src/components/molecules/Card/CardHeader.d.ts +14 -0
- package/dist/src/components/molecules/Card/CardHeader.d.ts.map +1 -0
- package/dist/src/components/molecules/Card/CardMedia.d.ts +14 -0
- package/dist/src/components/molecules/Card/CardMedia.d.ts.map +1 -0
- package/dist/src/components/molecules/Card/index.d.ts +14 -0
- package/dist/src/components/molecules/Card/index.d.ts.map +1 -0
- package/dist/src/components/molecules/DatePicker/DatePicker.d.ts +9 -0
- package/dist/src/components/molecules/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/src/components/molecules/DatePicker/DatePicker.types.d.ts +7 -0
- package/dist/src/components/molecules/DatePicker/DatePicker.types.d.ts.map +1 -0
- package/dist/src/components/molecules/DatePicker/index.d.ts +7 -0
- package/dist/src/components/molecules/DatePicker/index.d.ts.map +1 -0
- package/dist/src/components/molecules/DateTimePicker/DateTimePicker.d.ts +9 -0
- package/dist/src/components/molecules/DateTimePicker/DateTimePicker.d.ts.map +1 -0
- package/dist/src/components/molecules/DateTimePicker/DateTimePicker.types.d.ts +7 -0
- package/dist/src/components/molecules/DateTimePicker/DateTimePicker.types.d.ts.map +1 -0
- package/dist/src/components/molecules/DateTimePicker/index.d.ts +7 -0
- package/dist/src/components/molecules/DateTimePicker/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Dialog/Dialog.d.ts +5 -0
- package/dist/src/components/molecules/Dialog/Dialog.d.ts.map +1 -0
- package/dist/src/components/molecules/Dialog/Dialog.types.d.ts +68 -0
- package/dist/src/components/molecules/Dialog/Dialog.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Dialog/index.d.ts +14 -0
- package/dist/src/components/molecules/Dialog/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Drawer/Drawer.d.ts +23 -0
- package/dist/src/components/molecules/Drawer/Drawer.d.ts.map +1 -0
- package/dist/src/components/molecules/Drawer/Drawer.types.d.ts +63 -0
- package/dist/src/components/molecules/Drawer/Drawer.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Drawer/index.d.ts +3 -0
- package/dist/src/components/molecules/Drawer/index.d.ts.map +1 -0
- package/dist/src/components/molecules/DrawerNavigation/DrawerNavigation.d.ts +24 -0
- package/dist/src/components/molecules/DrawerNavigation/DrawerNavigation.d.ts.map +1 -0
- package/dist/src/components/molecules/DrawerNavigation/DrawerNavigation.types.d.ts +63 -0
- package/dist/src/components/molecules/DrawerNavigation/DrawerNavigation.types.d.ts.map +1 -0
- package/dist/src/components/molecules/DrawerNavigation/index.d.ts +3 -0
- package/dist/src/components/molecules/DrawerNavigation/index.d.ts.map +1 -0
- package/dist/src/components/molecules/ExpandableNavItem/ExpandableNavItem.d.ts +23 -0
- package/dist/src/components/molecules/ExpandableNavItem/ExpandableNavItem.d.ts.map +1 -0
- package/dist/src/components/molecules/ExpandableNavItem/ExpandableNavItem.types.d.ts +41 -0
- package/dist/src/components/molecules/ExpandableNavItem/ExpandableNavItem.types.d.ts.map +1 -0
- package/dist/src/components/molecules/ExpandableNavItem/index.d.ts +3 -0
- package/dist/src/components/molecules/ExpandableNavItem/index.d.ts.map +1 -0
- package/dist/src/components/molecules/List/List.d.ts +13 -0
- package/dist/src/components/molecules/List/List.d.ts.map +1 -0
- package/dist/src/components/molecules/List/List.types.d.ts +48 -0
- package/dist/src/components/molecules/List/List.types.d.ts.map +1 -0
- package/dist/src/components/molecules/List/index.d.ts +6 -0
- package/dist/src/components/molecules/List/index.d.ts.map +1 -0
- package/dist/src/components/molecules/ListItem/ListItem.d.ts +19 -0
- package/dist/src/components/molecules/ListItem/ListItem.d.ts.map +1 -0
- package/dist/src/components/molecules/ListItem/ListItem.types.d.ts +114 -0
- package/dist/src/components/molecules/ListItem/ListItem.types.d.ts.map +1 -0
- package/dist/src/components/molecules/ListItem/index.d.ts +6 -0
- package/dist/src/components/molecules/ListItem/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Menu/Menu.d.ts +5 -0
- package/dist/src/components/molecules/Menu/Menu.d.ts.map +1 -0
- package/dist/src/components/molecules/Menu/Menu.types.d.ts +50 -0
- package/dist/src/components/molecules/Menu/Menu.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Menu/index.d.ts +8 -0
- package/dist/src/components/molecules/Menu/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Pagination/Pagination.d.ts +5 -0
- package/dist/src/components/molecules/Pagination/Pagination.d.ts.map +1 -0
- package/dist/src/components/molecules/Pagination/Pagination.types.d.ts +76 -0
- package/dist/src/components/molecules/Pagination/Pagination.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Pagination/index.d.ts +8 -0
- package/dist/src/components/molecules/Pagination/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Rating/Rating.d.ts +13 -0
- package/dist/src/components/molecules/Rating/Rating.d.ts.map +1 -0
- package/dist/src/components/molecules/Rating/Rating.types.d.ts +71 -0
- package/dist/src/components/molecules/Rating/Rating.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Rating/index.d.ts +6 -0
- package/dist/src/components/molecules/Rating/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Sidenav/Sidenav.d.ts +25 -0
- package/dist/src/components/molecules/Sidenav/Sidenav.d.ts.map +1 -0
- package/dist/src/components/molecules/Sidenav/Sidenav.types.d.ts +73 -0
- package/dist/src/components/molecules/Sidenav/Sidenav.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Sidenav/index.d.ts +7 -0
- package/dist/src/components/molecules/Sidenav/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.d.ts +5 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.d.ts.map +1 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.types.d.ts +60 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Snackbar/index.d.ts +8 -0
- package/dist/src/components/molecules/Snackbar/index.d.ts.map +1 -0
- package/dist/src/components/molecules/SpeedDial/SpeedDial.d.ts +12 -0
- package/dist/src/components/molecules/SpeedDial/SpeedDial.d.ts.map +1 -0
- package/dist/src/components/molecules/SpeedDial/SpeedDial.types.d.ts +49 -0
- package/dist/src/components/molecules/SpeedDial/SpeedDial.types.d.ts.map +1 -0
- package/dist/src/components/molecules/SpeedDial/SpeedDialAction.d.ts +12 -0
- package/dist/src/components/molecules/SpeedDial/SpeedDialAction.d.ts.map +1 -0
- package/dist/src/components/molecules/SpeedDial/SpeedDialIcon.d.ts +12 -0
- package/dist/src/components/molecules/SpeedDial/SpeedDialIcon.d.ts.map +1 -0
- package/dist/src/components/molecules/SpeedDial/index.d.ts +8 -0
- package/dist/src/components/molecules/SpeedDial/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Stepper/Stepper.d.ts +7 -0
- package/dist/src/components/molecules/Stepper/Stepper.d.ts.map +1 -0
- package/dist/src/components/molecules/Stepper/Stepper.types.d.ts +23 -0
- package/dist/src/components/molecules/Stepper/Stepper.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Stepper/index.d.ts +8 -0
- package/dist/src/components/molecules/Stepper/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Table/Table.d.ts +32 -0
- package/dist/src/components/molecules/Table/Table.d.ts.map +1 -0
- package/dist/src/components/molecules/Table/Table.types.d.ts +138 -0
- package/dist/src/components/molecules/Table/Table.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Table/index.d.ts +8 -0
- package/dist/src/components/molecules/Table/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Tabs/Tabs.d.ts +12 -0
- package/dist/src/components/molecules/Tabs/Tabs.d.ts.map +1 -0
- package/dist/src/components/molecules/Tabs/Tabs.types.d.ts +97 -0
- package/dist/src/components/molecules/Tabs/Tabs.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Tabs/index.d.ts +8 -0
- package/dist/src/components/molecules/Tabs/index.d.ts.map +1 -0
- package/dist/src/components/molecules/TimePicker/TimePicker.d.ts +9 -0
- package/dist/src/components/molecules/TimePicker/TimePicker.d.ts.map +1 -0
- package/dist/src/components/molecules/TimePicker/TimePicker.types.d.ts +7 -0
- package/dist/src/components/molecules/TimePicker/TimePicker.types.d.ts.map +1 -0
- package/dist/src/components/molecules/TimePicker/index.d.ts +7 -0
- package/dist/src/components/molecules/TimePicker/index.d.ts.map +1 -0
- package/dist/src/components/molecules/Timeline/Timeline.d.ts +66 -0
- package/dist/src/components/molecules/Timeline/Timeline.d.ts.map +1 -0
- package/dist/src/components/molecules/Timeline/Timeline.types.d.ts +75 -0
- package/dist/src/components/molecules/Timeline/Timeline.types.d.ts.map +1 -0
- package/dist/src/components/molecules/Timeline/index.d.ts +6 -0
- package/dist/src/components/molecules/Timeline/index.d.ts.map +1 -0
- package/dist/src/components/molecules/index.d.ts +31 -0
- package/dist/src/components/molecules/index.d.ts.map +1 -0
- package/dist/src/components/organisms/index.d.ts +5 -0
- package/dist/src/components/organisms/index.d.ts.map +1 -0
- package/dist/src/components/providers/LocalizationProvider.d.ts +19 -0
- package/dist/src/components/providers/LocalizationProvider.d.ts.map +1 -0
- package/dist/src/components/providers/index.d.ts +6 -0
- package/dist/src/components/providers/index.d.ts.map +1 -0
- package/dist/src/hooks/animations/index.d.ts +11 -0
- package/dist/src/hooks/animations/index.d.ts.map +1 -0
- package/dist/src/hooks/animations/useBounce.d.ts +28 -0
- package/dist/src/hooks/animations/useBounce.d.ts.map +1 -0
- package/dist/src/hooks/animations/useHoverScale.d.ts +42 -0
- package/dist/src/hooks/animations/useHoverScale.d.ts.map +1 -0
- package/dist/src/hooks/animations/usePulse.d.ts +25 -0
- package/dist/src/hooks/animations/usePulse.d.ts.map +1 -0
- package/dist/src/hooks/animations/useRipple.d.ts +31 -0
- package/dist/src/hooks/animations/useRipple.d.ts.map +1 -0
- package/dist/src/hooks/animations/useShake.d.ts +29 -0
- package/dist/src/hooks/animations/useShake.d.ts.map +1 -0
- package/dist/src/index.d.ts +12 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/theme/index.d.ts +7 -0
- package/dist/src/theme/index.d.ts.map +1 -0
- package/dist/src/theme/theme.d.ts +22 -0
- package/dist/src/theme/theme.d.ts.map +1 -0
- package/dist/src/theme/tokens-import.d.ts +337 -0
- package/dist/src/theme/tokens-import.d.ts.map +1 -0
- package/dist/src/theme/tokens.d.ts +864 -0
- package/dist/src/theme/tokens.d.ts.map +1 -0
- package/dist/src/theme/types.d.ts +235 -0
- package/dist/src/theme/types.d.ts.map +1 -0
- package/dist/src/tokens/examples/typescript-usage.d.ts +79 -0
- package/dist/src/tokens/examples/typescript-usage.d.ts.map +1 -0
- package/dist/src/tokens/generated/ts/tokens.d.ts +415 -0
- package/dist/src/tokens/index.d.ts +17 -0
- package/dist/src/tokens/index.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +5 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/package.json +138 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Dialog/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAC3C,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGlD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGvE,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,YAAY,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,YAAY,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DrawerProps } from './Drawer.types';
|
|
3
|
+
/**
|
|
4
|
+
* Drawer component
|
|
5
|
+
*
|
|
6
|
+
* Side navigation panel that can appear from any edge of the screen.
|
|
7
|
+
* Supports three variants: temporary (mobile), persistent, and permanent (desktop).
|
|
8
|
+
*
|
|
9
|
+
* Features:
|
|
10
|
+
* - MRS design tokens (Nunito font, MRS color palette)
|
|
11
|
+
* - Three variant types (temporary, persistent, permanent)
|
|
12
|
+
* - Four anchor positions (left, right, top, bottom)
|
|
13
|
+
* - Configurable elevation (shadow depth)
|
|
14
|
+
* - Responsive design ready
|
|
15
|
+
* - Full accessibility support
|
|
16
|
+
*
|
|
17
|
+
* @param props - Drawer component props
|
|
18
|
+
* @returns Drawer component
|
|
19
|
+
*/
|
|
20
|
+
export declare const Drawer: React.ForwardRefExoticComponent<Omit<DrawerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export type { DrawerProps };
|
|
22
|
+
export default Drawer;
|
|
23
|
+
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,MAAM,iGA+ClB,CAAC;AAIF,YAAY,EAAE,WAAW,EAAE,CAAC;AAC5B,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { DrawerProps as MuiDrawerProps } from '@mui/material/Drawer';
|
|
2
|
+
export interface DrawerProps extends MuiDrawerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Side from which the drawer will appear
|
|
5
|
+
* @default 'left'
|
|
6
|
+
*/
|
|
7
|
+
anchor?: 'left' | 'right' | 'top' | 'bottom';
|
|
8
|
+
/**
|
|
9
|
+
* Content of the drawer
|
|
10
|
+
*/
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Shadow depth (elevation) from 0 to 24
|
|
14
|
+
* @default 16
|
|
15
|
+
*/
|
|
16
|
+
elevation?: number;
|
|
17
|
+
/**
|
|
18
|
+
* If true, the backdrop is not rendered
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
hideBackdrop?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Props applied to the Modal element
|
|
24
|
+
* (only applicable when variant is 'temporary')
|
|
25
|
+
*/
|
|
26
|
+
ModalProps?: MuiDrawerProps['ModalProps'];
|
|
27
|
+
/**
|
|
28
|
+
* Callback fired when the drawer requests to be closed
|
|
29
|
+
* The `reason` parameter can be: 'backdropClick', 'escapeKeyDown'
|
|
30
|
+
*/
|
|
31
|
+
onClose?: MuiDrawerProps['onClose'];
|
|
32
|
+
/**
|
|
33
|
+
* If true, the drawer is open
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
open?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Props applied to the internal slots
|
|
39
|
+
*/
|
|
40
|
+
slotProps?: MuiDrawerProps['slotProps'];
|
|
41
|
+
/**
|
|
42
|
+
* Component overrides for slots
|
|
43
|
+
*/
|
|
44
|
+
slots?: MuiDrawerProps['slots'];
|
|
45
|
+
/**
|
|
46
|
+
* Custom styles using MUI sx prop
|
|
47
|
+
*/
|
|
48
|
+
sx?: MuiDrawerProps['sx'];
|
|
49
|
+
/**
|
|
50
|
+
* Duration for the transition in milliseconds
|
|
51
|
+
* Can be a single number or an object with 'enter' and 'exit' values
|
|
52
|
+
*/
|
|
53
|
+
transitionDuration?: MuiDrawerProps['transitionDuration'];
|
|
54
|
+
/**
|
|
55
|
+
* Variant of the drawer
|
|
56
|
+
* - 'temporary': Drawer is above content, dismissible (default, mobile-friendly)
|
|
57
|
+
* - 'persistent': Drawer pushes content, toggleable, stays open
|
|
58
|
+
* - 'permanent': Always visible, cannot be closed (desktop navigation)
|
|
59
|
+
* @default 'temporary'
|
|
60
|
+
*/
|
|
61
|
+
variant?: 'temporary' | 'persistent' | 'permanent';
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=Drawer.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Drawer/Drawer.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE1E,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;IAE7C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IAE1C;;;OAGG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IAEpC;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IAExC;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;IAEhC;;OAEG;IACH,EAAE,CAAC,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;IAE1B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,cAAc,CAAC,oBAAoB,CAAC,CAAC;IAE1D;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,YAAY,GAAG,WAAW,CAAC;CACpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DrawerNavigationProps, DrawerNavItem } from './DrawerNavigation.types';
|
|
3
|
+
/**
|
|
4
|
+
* DrawerNavigation component
|
|
5
|
+
*
|
|
6
|
+
* Full-featured navigation component for use within Drawer.
|
|
7
|
+
* Supports simple and expandable navigation items with icons.
|
|
8
|
+
*
|
|
9
|
+
* Features:
|
|
10
|
+
* - Simple and expandable navigation items
|
|
11
|
+
* - Icon support for all items
|
|
12
|
+
* - Selected/active state highlighting
|
|
13
|
+
* - Optional dividers between items
|
|
14
|
+
* - Configurable width and padding (defaults from Figma)
|
|
15
|
+
* - MRS design tokens (Nunito font, MRS colors)
|
|
16
|
+
* - Full accessibility support
|
|
17
|
+
*
|
|
18
|
+
* @param props - DrawerNavigation component props
|
|
19
|
+
* @returns DrawerNavigation component
|
|
20
|
+
*/
|
|
21
|
+
export declare const DrawerNavigation: React.ForwardRefExoticComponent<DrawerNavigationProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export type { DrawerNavigationProps, DrawerNavItem };
|
|
23
|
+
export default DrawerNavigation;
|
|
24
|
+
//# sourceMappingURL=DrawerNavigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerNavigation.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/DrawerNavigation/DrawerNavigation.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AASxC,OAAO,KAAK,EACV,qBAAqB,EACrB,aAAa,EAGd,MAAM,0BAA0B,CAAC;AASlC;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,8FAuH5B,CAAC;AAIF,YAAY,EAAE,qBAAqB,EAAE,aAAa,EAAE,CAAC;AACrD,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
/**
|
|
4
|
+
* Base navigation item interface
|
|
5
|
+
*/
|
|
6
|
+
export interface DrawerNavItemBase {
|
|
7
|
+
/** Unique identifier for the item */
|
|
8
|
+
id?: string;
|
|
9
|
+
/** Item label text */
|
|
10
|
+
label: string;
|
|
11
|
+
/** Optional icon element */
|
|
12
|
+
icon?: ReactNode;
|
|
13
|
+
/** Optional click handler */
|
|
14
|
+
onClick?: () => void;
|
|
15
|
+
/** Whether this item is selected/active */
|
|
16
|
+
selected?: boolean;
|
|
17
|
+
/** Optional path for routing */
|
|
18
|
+
path?: string;
|
|
19
|
+
/** Optional divider after this item */
|
|
20
|
+
divider?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Simple navigation item (non-expandable)
|
|
24
|
+
*/
|
|
25
|
+
export interface SimpleNavItem extends DrawerNavItemBase {
|
|
26
|
+
/** Item is not expandable */
|
|
27
|
+
expandable?: false;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Expandable navigation item with children
|
|
31
|
+
*/
|
|
32
|
+
export interface ExpandableNavItem extends DrawerNavItemBase {
|
|
33
|
+
/** Item is expandable */
|
|
34
|
+
expandable: true;
|
|
35
|
+
/** Array of child navigation items */
|
|
36
|
+
children: DrawerNavItemBase[];
|
|
37
|
+
/** Whether the item starts expanded */
|
|
38
|
+
defaultOpen?: boolean;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Union type for navigation items
|
|
42
|
+
*/
|
|
43
|
+
export type DrawerNavItem = SimpleNavItem | ExpandableNavItem;
|
|
44
|
+
/**
|
|
45
|
+
* Props for the DrawerNavigation component
|
|
46
|
+
*/
|
|
47
|
+
export interface DrawerNavigationProps {
|
|
48
|
+
/** Array of navigation items */
|
|
49
|
+
items: DrawerNavItem[];
|
|
50
|
+
/** Width of the navigation (default: 256px from Figma) */
|
|
51
|
+
width?: number | string;
|
|
52
|
+
/** Top padding (default: 32px from Figma) */
|
|
53
|
+
paddingTop?: number;
|
|
54
|
+
/** Bottom padding (default: 32px from Figma) */
|
|
55
|
+
paddingBottom?: number;
|
|
56
|
+
/** Custom sx styles for the container */
|
|
57
|
+
sx?: SxProps<Theme>;
|
|
58
|
+
/** Custom sx styles for the List component */
|
|
59
|
+
listSx?: SxProps<Theme>;
|
|
60
|
+
/** Callback when a navigation item is clicked */
|
|
61
|
+
onItemClick?: (item: DrawerNavItemBase) => void;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=DrawerNavigation.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerNavigation.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/DrawerNavigation/DrawerNavigation.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,qCAAqC;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,6BAA6B;IAC7B,UAAU,CAAC,EAAE,KAAK,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,yBAAyB;IACzB,UAAU,EAAE,IAAI,CAAC;IACjB,sCAAsC;IACtC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,uCAAuC;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,iBAAiB,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,gCAAgC;IAChC,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yCAAyC;IACzC,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACxB,iDAAiD;IACjD,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/DrawerNavigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACtG,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ExpandableNavItemProps, NavItem } from './ExpandableNavItem.types';
|
|
3
|
+
/**
|
|
4
|
+
* ExpandableNavItem component
|
|
5
|
+
*
|
|
6
|
+
* Collapsible navigation item with support for nested child items.
|
|
7
|
+
* Features expand/collapse animation and selected state support.
|
|
8
|
+
*
|
|
9
|
+
* Features:
|
|
10
|
+
* - Expandable/collapsible with smooth animation
|
|
11
|
+
* - Supports nested child items
|
|
12
|
+
* - Icon support for parent and child items
|
|
13
|
+
* - Selected/active state highlighting
|
|
14
|
+
* - MRS design tokens (Nunito font, MRS colors)
|
|
15
|
+
* - Full accessibility support (ARIA attributes)
|
|
16
|
+
*
|
|
17
|
+
* @param props - ExpandableNavItem component props
|
|
18
|
+
* @returns ExpandableNavItem component
|
|
19
|
+
*/
|
|
20
|
+
export declare const ExpandableNavItem: React.ForwardRefExoticComponent<ExpandableNavItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export type { ExpandableNavItemProps, NavItem };
|
|
22
|
+
export default ExpandableNavItem;
|
|
23
|
+
//# sourceMappingURL=ExpandableNavItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpandableNavItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ExpandableNavItem/ExpandableNavItem.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEjF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB,+FAyF7B,CAAC;AAIF,YAAY,EAAE,sBAAsB,EAAE,OAAO,EAAE,CAAC;AAChD,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ListItemButtonProps } from '@mui/material/ListItemButton';
|
|
3
|
+
/**
|
|
4
|
+
* Navigation item interface for child items
|
|
5
|
+
*/
|
|
6
|
+
export interface NavItem {
|
|
7
|
+
/** Item label text */
|
|
8
|
+
label: string;
|
|
9
|
+
/** Optional icon element */
|
|
10
|
+
icon?: ReactNode;
|
|
11
|
+
/** Optional click handler */
|
|
12
|
+
onClick?: () => void;
|
|
13
|
+
/** Whether this item is selected/active */
|
|
14
|
+
selected?: boolean;
|
|
15
|
+
/** Optional path for routing */
|
|
16
|
+
path?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Props for the ExpandableNavItem component
|
|
20
|
+
*/
|
|
21
|
+
export interface ExpandableNavItemProps {
|
|
22
|
+
/** Label text for the parent item */
|
|
23
|
+
label: string;
|
|
24
|
+
/** Optional icon for the parent item */
|
|
25
|
+
icon?: ReactNode;
|
|
26
|
+
/** Whether the item is expanded */
|
|
27
|
+
isOpen?: boolean;
|
|
28
|
+
/** Callback when expand/collapse is toggled */
|
|
29
|
+
onToggle?: () => void;
|
|
30
|
+
/** Array of child navigation items */
|
|
31
|
+
children?: NavItem[];
|
|
32
|
+
/** Whether the parent item is selected */
|
|
33
|
+
selected?: boolean;
|
|
34
|
+
/** Optional click handler for parent item */
|
|
35
|
+
onClick?: () => void;
|
|
36
|
+
/** Custom ListItemButton props for the parent item */
|
|
37
|
+
ListItemButtonProps?: Partial<ListItemButtonProps>;
|
|
38
|
+
/** Custom ListItemButton props for child items */
|
|
39
|
+
childListItemButtonProps?: Partial<ListItemButtonProps>;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=ExpandableNavItem.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpandableNavItem.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ExpandableNavItem/ExpandableNavItem.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,wCAAwC;IACxC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,mCAAmC;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,sDAAsD;IACtD,mBAAmB,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACnD,kDAAkD;IAClD,wBAAwB,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ExpandableNavItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,KAAK,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACnG,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListProps } from './List.types';
|
|
3
|
+
/**
|
|
4
|
+
* List component
|
|
5
|
+
*
|
|
6
|
+
* Lists are continuous, vertical indexes of text or images.
|
|
7
|
+
* They are composed of items containing primary and supplemental actions.
|
|
8
|
+
*
|
|
9
|
+
* @param props - List component props
|
|
10
|
+
* @returns List component
|
|
11
|
+
*/
|
|
12
|
+
export declare const List: React.ForwardRefExoticComponent<Omit<ListProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
13
|
+
//# sourceMappingURL=List.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/List/List.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,IAAI,iGA2BhB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ListProps as MuiListProps } from '@mui/material/List';
|
|
2
|
+
/**
|
|
3
|
+
* MRS List component props
|
|
4
|
+
* Extends Material-UI ListProps
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* <List>
|
|
9
|
+
* <ListItem>Item 1</ListItem>
|
|
10
|
+
* <ListItem>Item 2</ListItem>
|
|
11
|
+
* </List>
|
|
12
|
+
* <List dense disablePadding>
|
|
13
|
+
* <ListItem>Dense item</ListItem>
|
|
14
|
+
* </List>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export interface ListProps extends MuiListProps {
|
|
18
|
+
/**
|
|
19
|
+
* The content of the component.
|
|
20
|
+
*/
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* If `true`, compact vertical padding designed for keyboard and mouse input is used.
|
|
24
|
+
* The prop defaults to the value inherited from the parent List component.
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
dense?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* If `true`, vertical padding is removed from the list.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
disablePadding?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The content of the subheader, normally `ListSubheader`.
|
|
35
|
+
*/
|
|
36
|
+
subheader?: React.ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* The component used for the root node.
|
|
39
|
+
* Either a string to use a HTML element or a component.
|
|
40
|
+
* @default 'ul'
|
|
41
|
+
*/
|
|
42
|
+
component?: React.ElementType;
|
|
43
|
+
/**
|
|
44
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
45
|
+
*/
|
|
46
|
+
sx?: MuiListProps['sx'];
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=List.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/List/List.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEpE;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC7C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAE9B;;OAEG;IACH,EAAE,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/List/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListItemProps } from './ListItem.types';
|
|
3
|
+
/**
|
|
4
|
+
* ListItem component
|
|
5
|
+
*
|
|
6
|
+
* ListItem is an interactive list item component by default.
|
|
7
|
+
* When button prop is true (default), it wraps children with ListItemButton for interactivity.
|
|
8
|
+
*
|
|
9
|
+
* Key features:
|
|
10
|
+
* - Interactive by default with hover, focus, and selected states
|
|
11
|
+
* - Selected state uses SemiBold font and primary.dark color
|
|
12
|
+
* - Dense mode for compact layouts
|
|
13
|
+
* - Support for icons, secondary text, and actions
|
|
14
|
+
*
|
|
15
|
+
* @param props - ListItem component props
|
|
16
|
+
* @returns ListItem component
|
|
17
|
+
*/
|
|
18
|
+
export declare const ListItem: React.ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
19
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ListItem/ListItem.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,QAAQ,gGAyGpB,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { ListItemProps as MuiListItemProps } from '@mui/material/ListItem';
|
|
2
|
+
import { ListItemButtonProps as MuiListItemButtonProps } from '@mui/material/ListItemButton';
|
|
3
|
+
/**
|
|
4
|
+
* MRS ListItem component props
|
|
5
|
+
* Extends Material-UI ListItemProps and ListItemButtonProps
|
|
6
|
+
*
|
|
7
|
+
* Based on Figma design specifications:
|
|
8
|
+
* - Always interactive by default (uses ListItemButton internally)
|
|
9
|
+
* - Special styling for selected state (SemiBold font, primary/dark color)
|
|
10
|
+
* - Support for dense and regular layouts
|
|
11
|
+
* - Support for left/right content slots
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* // Simple interactive list item
|
|
16
|
+
* <ListItem onClick={handleClick}>
|
|
17
|
+
* <ListItemText primary="Item" />
|
|
18
|
+
* </ListItem>
|
|
19
|
+
*
|
|
20
|
+
* // With icon and secondary action
|
|
21
|
+
* <ListItem
|
|
22
|
+
* selected={isSelected}
|
|
23
|
+
* onClick={handleClick}
|
|
24
|
+
* secondaryAction={<IconButton><Icon /></IconButton>}
|
|
25
|
+
* >
|
|
26
|
+
* <ListItemIcon><Icon /></ListItemIcon>
|
|
27
|
+
* <ListItemText primary="Clickable" secondary="With icon" />
|
|
28
|
+
* </ListItem>
|
|
29
|
+
*
|
|
30
|
+
* // Dense variant without gutters
|
|
31
|
+
* <ListItem dense disableGutters>
|
|
32
|
+
* <ListItemText primary="Dense item" />
|
|
33
|
+
* </ListItem>
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export interface ListItemProps extends Omit<MuiListItemProps, 'button' | 'onClick'>, Pick<MuiListItemButtonProps, 'autoFocus' | 'selected' | 'disabled'> {
|
|
37
|
+
/**
|
|
38
|
+
* The content of the component.
|
|
39
|
+
*/
|
|
40
|
+
children?: React.ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* If `true`, the list item is interactive (clickable).
|
|
43
|
+
* By default, ListItem is always interactive unless explicitly disabled.
|
|
44
|
+
* @default true
|
|
45
|
+
*/
|
|
46
|
+
button?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* If `true`, compact vertical padding designed for keyboard and mouse input is used.
|
|
49
|
+
* - Regular: 8px vertical padding
|
|
50
|
+
* - Dense: 4px vertical padding
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
dense?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* If `true`, the left and right padding is removed.
|
|
56
|
+
* - Regular: 16px horizontal padding
|
|
57
|
+
* - Disabled: 0px horizontal padding
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
disableGutters?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* If `true`, a 1px light border is added to the bottom of the list item.
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
65
|
+
divider?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* If `true`, all padding is removed.
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
70
|
+
disablePadding?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* The element to display at the end of ListItem.
|
|
73
|
+
* Typically used for IconButton or other actions.
|
|
74
|
+
*/
|
|
75
|
+
secondaryAction?: React.ReactNode;
|
|
76
|
+
/**
|
|
77
|
+
* Defines the `align-items` style property.
|
|
78
|
+
* @default 'center'
|
|
79
|
+
*/
|
|
80
|
+
alignItems?: 'flex-start' | 'center';
|
|
81
|
+
/**
|
|
82
|
+
* If `true`, the list item is in selected state.
|
|
83
|
+
* Selected state applies special styling:
|
|
84
|
+
* - Background: primary._states.focus
|
|
85
|
+
* - Text: SemiBold weight and primary.dark color
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
selected?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* If `true`, the list item is disabled and non-interactive.
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
disabled?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* If `true`, the element will receive focus automatically.
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
autoFocus?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Callback fired when the component is clicked.
|
|
101
|
+
* Uses ListItemButton signature (div) for interactive mode while staying compatible with LI root.
|
|
102
|
+
*/
|
|
103
|
+
onClick?: MuiListItemButtonProps['onClick'];
|
|
104
|
+
/**
|
|
105
|
+
* The component used for the root node.
|
|
106
|
+
* Either a string to use a HTML element or a component.
|
|
107
|
+
*/
|
|
108
|
+
component?: React.ElementType;
|
|
109
|
+
/**
|
|
110
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
111
|
+
*/
|
|
112
|
+
sx?: MuiListItemProps['sx'];
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=ListItem.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItem.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ListItem/ListItem.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,IAAI,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAElG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,WAAW,aACf,SACE,IAAI,CAAC,gBAAgB,EAAE,QAAQ,GAAG,SAAS,CAAC,EAC5C,IAAI,CAAC,sBAAsB,EAAE,WAAW,GAAG,UAAU,GAAG,UAAU,CAAC;IACrE;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAElC;;;OAGG;IACH,UAAU,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAC;IAErC;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,OAAO,CAAC,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAE5C;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAE9B;;OAEG;IACH,EAAE,CAAC,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ListItem/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Menu/Menu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,IAAI,+FAiChB,CAAC;AAIF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { MenuProps as MuiMenuProps } from '@mui/material/Menu';
|
|
2
|
+
/**
|
|
3
|
+
* Menu component props
|
|
4
|
+
* Displays a list of choices on temporary surfaces
|
|
5
|
+
*/
|
|
6
|
+
export interface MenuProps extends MuiMenuProps {
|
|
7
|
+
/**
|
|
8
|
+
* If true, the Menu is open
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
open: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* An HTML element, or a function that returns one.
|
|
14
|
+
* It is used to set the position of the menu.
|
|
15
|
+
*/
|
|
16
|
+
anchorEl?: MuiMenuProps['anchorEl'];
|
|
17
|
+
/**
|
|
18
|
+
* Callback fired when the component requests to be closed
|
|
19
|
+
*/
|
|
20
|
+
onClose?: MuiMenuProps['onClose'];
|
|
21
|
+
/**
|
|
22
|
+
* The content of the component (typically MenuItem elements)
|
|
23
|
+
*/
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* The position of the Menu
|
|
27
|
+
* @default { vertical: 'top', horizontal: 'left' }
|
|
28
|
+
*/
|
|
29
|
+
anchorOrigin?: MuiMenuProps['anchorOrigin'];
|
|
30
|
+
/**
|
|
31
|
+
* The position of the Menu relative to the anchor element
|
|
32
|
+
* @default { vertical: 'top', horizontal: 'left' }
|
|
33
|
+
*/
|
|
34
|
+
transformOrigin?: MuiMenuProps['transformOrigin'];
|
|
35
|
+
/**
|
|
36
|
+
* If true, the Menu will automatically select the first item
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
autoFocus?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Props applied to the List element
|
|
42
|
+
*/
|
|
43
|
+
MenuListProps?: MuiMenuProps['MenuListProps'];
|
|
44
|
+
/**
|
|
45
|
+
* The variant of the Menu
|
|
46
|
+
* @default 'selectedMenu'
|
|
47
|
+
*/
|
|
48
|
+
variant?: 'menu' | 'selectedMenu';
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=Menu.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Menu/Menu.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEpE;;;GAGG;AACH,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC7C;;;OAGG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;;OAGG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;IAEpC;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IAElC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAC;IAE5C;;;OAGG;IACH,eAAe,CAAC,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAElD;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;IAE9C;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;CACnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Menu/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PaginationProps } from './Pagination.types';
|
|
3
|
+
export declare const Pagination: React.ForwardRefExoticComponent<Omit<PaginationProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
4
|
+
export default Pagination;
|
|
5
|
+
//# sourceMappingURL=Pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,UAAU,kGA0CtB,CAAC;AAIF,eAAe,UAAU,CAAC"}
|