@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,59 @@
|
|
|
1
|
+
import { SvgIconProps } from '@mui/material/SvgIcon';
|
|
2
|
+
import { IconProps as MuiIconProps } from '@mui/material/Icon';
|
|
3
|
+
/**
|
|
4
|
+
* Icon size options
|
|
5
|
+
*/
|
|
6
|
+
export type IconSize = 'small' | 'medium' | 'large' | 'inherit';
|
|
7
|
+
/**
|
|
8
|
+
* Icon type - either SVG icon or Font icon
|
|
9
|
+
*/
|
|
10
|
+
export type IconType = 'svg' | 'font';
|
|
11
|
+
/**
|
|
12
|
+
* Base Icon component props for SVG icons
|
|
13
|
+
*/
|
|
14
|
+
export interface IconSvgProps extends Omit<SvgIconProps, 'fontSize'> {
|
|
15
|
+
/**
|
|
16
|
+
* Icon type
|
|
17
|
+
* @default 'svg'
|
|
18
|
+
*/
|
|
19
|
+
type?: 'svg';
|
|
20
|
+
/**
|
|
21
|
+
* Size of the icon
|
|
22
|
+
* @default 'medium'
|
|
23
|
+
*/
|
|
24
|
+
size?: IconSize;
|
|
25
|
+
/**
|
|
26
|
+
* Icon component from @mui/icons-material
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* import AddIcon from '@mui/icons-material/Add';
|
|
30
|
+
* <Icon icon={AddIcon} />
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
icon: React.ComponentType<SvgIconProps>;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Base Icon component props for Font icons
|
|
37
|
+
*/
|
|
38
|
+
export interface IconFontProps extends Omit<MuiIconProps, 'fontSize'> {
|
|
39
|
+
/**
|
|
40
|
+
* Icon type
|
|
41
|
+
*/
|
|
42
|
+
type: 'font';
|
|
43
|
+
/**
|
|
44
|
+
* Size of the icon
|
|
45
|
+
* @default 'medium'
|
|
46
|
+
*/
|
|
47
|
+
size?: IconSize;
|
|
48
|
+
/**
|
|
49
|
+
* Icon name (Material Icons font name)
|
|
50
|
+
* @example 'add', 'home', 'settings'
|
|
51
|
+
*/
|
|
52
|
+
iconName: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* MRS Icon component props
|
|
56
|
+
* Supports both SVG icons (@mui/icons-material) and Font icons (Material Icons)
|
|
57
|
+
*/
|
|
58
|
+
export type IconProps = IconSvgProps | IconFontProps;
|
|
59
|
+
//# sourceMappingURL=Icon.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;AAEtC;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC;IAClE;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;IAEb;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;;;;;OAOG;IACH,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC;IACnE;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Icon/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconButtonProps } from './IconButton.types';
|
|
3
|
+
/**
|
|
4
|
+
* IconButton component
|
|
5
|
+
*
|
|
6
|
+
* Icon buttons are commonly found in app bars and toolbars.
|
|
7
|
+
* Icons are also appropriate for toggle buttons that allow a single choice to be selected or deselected.
|
|
8
|
+
*
|
|
9
|
+
* @param props - IconButton component props
|
|
10
|
+
* @returns IconButton component
|
|
11
|
+
*/
|
|
12
|
+
export declare const IconButton: React.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,wGAoBtB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { IconButtonProps as MuiIconButtonProps } from '@mui/material/IconButton';
|
|
2
|
+
/**
|
|
3
|
+
* MRS IconButton component props
|
|
4
|
+
* Extends Material-UI IconButtonProps
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* <IconButton color="primary" onClick={handleClick}>
|
|
9
|
+
* <Icon icon={DeleteIcon} />
|
|
10
|
+
* </IconButton>
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export interface IconButtonProps extends MuiIconButtonProps {
|
|
14
|
+
/**
|
|
15
|
+
* The color of the component
|
|
16
|
+
* @default 'default'
|
|
17
|
+
*/
|
|
18
|
+
color?: 'inherit' | 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
19
|
+
/**
|
|
20
|
+
* The size of the button
|
|
21
|
+
* @default 'medium'
|
|
22
|
+
*/
|
|
23
|
+
size?: 'small' | 'medium' | 'large';
|
|
24
|
+
/**
|
|
25
|
+
* If true, the button will be disabled
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* If given, uses a negative margin to counteract the padding on one side
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
edge?: 'start' | 'end' | false;
|
|
34
|
+
/**
|
|
35
|
+
* If true, the ripple effect is disabled
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
disableRipple?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* If true, the focus ripple is disabled
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
disableFocusRipple?: boolean;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=IconButton.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/IconButton/IconButton.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,eAAe,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEtF;;;;;;;;;;GAUG;AACH,MAAM,WAAW,eAAgB,SAAQ,kBAAkB;IACzD;;;OAGG;IACH,KAAK,CAAC,EACF,SAAS,GACT,SAAS,GACT,SAAS,GACT,WAAW,GACX,OAAO,GACP,MAAM,GACN,SAAS,GACT,SAAS,CAAC;IAEd;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAEpC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,KAAK,CAAC;IAE/B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/IconButton/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { LinearProgressProps } from './LinearProgress.types';
|
|
3
|
+
/**
|
|
4
|
+
* LinearProgress component
|
|
5
|
+
*
|
|
6
|
+
* Progress indicators commonly known as spinners, express an unspecified wait time
|
|
7
|
+
* or display the length of a process.
|
|
8
|
+
*
|
|
9
|
+
* @param props - LinearProgress component props
|
|
10
|
+
* @returns LinearProgress component
|
|
11
|
+
*/
|
|
12
|
+
export declare const LinearProgress: React.ForwardRefExoticComponent<Omit<LinearProgressProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
13
|
+
//# sourceMappingURL=LinearProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinearProgress.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/LinearProgress/LinearProgress.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,0GA0D1B,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { LinearProgressProps as MuiLinearProgressProps } from '@mui/material/LinearProgress';
|
|
2
|
+
/**
|
|
3
|
+
* MRS LinearProgress component props
|
|
4
|
+
* Extends Material-UI LinearProgressProps
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* <LinearProgress />
|
|
9
|
+
* <LinearProgress variant="determinate" value={50} />
|
|
10
|
+
* <LinearProgress variant="buffer" value={50} valueBuffer={75} />
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export interface LinearProgressProps extends MuiLinearProgressProps {
|
|
14
|
+
/**
|
|
15
|
+
* The color of the component
|
|
16
|
+
* @default 'primary'
|
|
17
|
+
*/
|
|
18
|
+
color?: 'primary' | 'secondary' | 'inherit';
|
|
19
|
+
/**
|
|
20
|
+
* If true, shows the progress value as a label next to the bar
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
showLabel?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The value of the progress indicator for the determinate and buffer variants.
|
|
26
|
+
* Value between 0 and 100.
|
|
27
|
+
*/
|
|
28
|
+
value?: number;
|
|
29
|
+
/**
|
|
30
|
+
* The value for the buffer variant.
|
|
31
|
+
* Value between 0 and 100.
|
|
32
|
+
*/
|
|
33
|
+
valueBuffer?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The variant to use
|
|
36
|
+
* @default 'indeterminate'
|
|
37
|
+
*/
|
|
38
|
+
variant?: 'determinate' | 'indeterminate' | 'buffer';
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=LinearProgress.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinearProgress.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/LinearProgress/LinearProgress.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,mBAAmB,IAAI,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAElG;;;;;;;;;;GAUG;AACH,MAAM,WAAW,mBAAoB,SAAQ,sBAAsB;IACjE;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IAE5C;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,GAAG,eAAe,GAAG,QAAQ,CAAC;CACtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/LinearProgress/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { LinkProps } from './Link.types';
|
|
3
|
+
/**
|
|
4
|
+
* Link component - accessible hyperlink
|
|
5
|
+
* Wraps MUI Link with design system theme integration
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Link href="https://example.com">Click here</Link>
|
|
10
|
+
* <Link href="/about" color="primary" underline="hover">About</Link>
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare const Link: React.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
14
|
+
export default Link;
|
|
15
|
+
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Link/Link.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;;;;;GASG;AACH,eAAO,MAAM,IAAI,kGAwBhB,CAAC;AAIF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { LinkProps as MuiLinkProps } from '@mui/material/Link';
|
|
2
|
+
/**
|
|
3
|
+
* Link color options
|
|
4
|
+
*/
|
|
5
|
+
export type LinkColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success' | 'inherit' | 'textPrimary' | 'textSecondary';
|
|
6
|
+
/**
|
|
7
|
+
* Link underline options
|
|
8
|
+
*/
|
|
9
|
+
export type LinkUnderline = 'none' | 'hover' | 'always';
|
|
10
|
+
/**
|
|
11
|
+
* Link variant options
|
|
12
|
+
*/
|
|
13
|
+
export type LinkVariant = 'body1' | 'body2' | 'button' | 'caption' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'inherit' | 'overline' | 'subtitle1' | 'subtitle2';
|
|
14
|
+
/**
|
|
15
|
+
* Props for the Link component
|
|
16
|
+
*/
|
|
17
|
+
export interface LinkProps extends Omit<MuiLinkProps, 'color' | 'underline' | 'variant'> {
|
|
18
|
+
/**
|
|
19
|
+
* The color of the link
|
|
20
|
+
*/
|
|
21
|
+
color?: LinkColor;
|
|
22
|
+
/**
|
|
23
|
+
* Controls when the link should have an underline
|
|
24
|
+
*/
|
|
25
|
+
underline?: LinkUnderline;
|
|
26
|
+
/**
|
|
27
|
+
* Applies the theme typography styles
|
|
28
|
+
*/
|
|
29
|
+
variant?: LinkVariant;
|
|
30
|
+
/**
|
|
31
|
+
* The URL to link to
|
|
32
|
+
*/
|
|
33
|
+
href?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The content of the link
|
|
36
|
+
*/
|
|
37
|
+
children?: React.ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* The target attribute for the link
|
|
40
|
+
*/
|
|
41
|
+
target?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The rel attribute for the link
|
|
44
|
+
*/
|
|
45
|
+
rel?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Callback fired when the link is clicked
|
|
48
|
+
*/
|
|
49
|
+
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=Link.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Link/Link.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,GAAG,eAAe,CAAC;AAEzI;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CAAC;AAElK;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,YAAY,EAAE,OAAO,GAAG,WAAW,GAAG,SAAS,CAAC;IACtF;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CAChE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Link/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface MaterialSymbolProps {
|
|
4
|
+
/**
|
|
5
|
+
* Icon name from Material Symbols library
|
|
6
|
+
* Use snake_case format (e.g., "home", "check_circle", "arrow_forward")
|
|
7
|
+
* Browse icons: https://fonts.google.com/icons
|
|
8
|
+
*
|
|
9
|
+
* @example "close"
|
|
10
|
+
* @example "check"
|
|
11
|
+
* @example "settings"
|
|
12
|
+
* @example "account_circle"
|
|
13
|
+
*/
|
|
14
|
+
icon: string;
|
|
15
|
+
/**
|
|
16
|
+
* Icon size
|
|
17
|
+
* - 'small': 20px
|
|
18
|
+
* - 'medium': 24px (default)
|
|
19
|
+
* - 'large': 36px
|
|
20
|
+
* - number: Custom size in pixels
|
|
21
|
+
*
|
|
22
|
+
* @default "medium"
|
|
23
|
+
*/
|
|
24
|
+
size?: 'small' | 'medium' | 'large' | 'inherit' | number;
|
|
25
|
+
/**
|
|
26
|
+
* Fill style - controls whether icon is outlined or filled
|
|
27
|
+
* - 0: Outlined (default)
|
|
28
|
+
* - 1: Filled
|
|
29
|
+
*
|
|
30
|
+
* @default 0
|
|
31
|
+
*/
|
|
32
|
+
fill?: 0 | 1;
|
|
33
|
+
/**
|
|
34
|
+
* Weight - thickness of icon strokes
|
|
35
|
+
* - 100: Thin
|
|
36
|
+
* - 200: Extra Light
|
|
37
|
+
* - 300: Light (MRS default)
|
|
38
|
+
* - 400: Regular
|
|
39
|
+
* - 500: Medium
|
|
40
|
+
* - 600: Semi Bold
|
|
41
|
+
* - 700: Bold
|
|
42
|
+
*
|
|
43
|
+
* @default 300
|
|
44
|
+
*/
|
|
45
|
+
weight?: 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
46
|
+
/**
|
|
47
|
+
* Grade - visual weight adjustment without changing physical size
|
|
48
|
+
* Range: -50 to 200
|
|
49
|
+
* - Negative values: Lighter appearance
|
|
50
|
+
* - Positive values: Heavier appearance
|
|
51
|
+
*
|
|
52
|
+
* @default 100
|
|
53
|
+
*/
|
|
54
|
+
grade?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Color - can be any valid CSS color or MUI theme path
|
|
57
|
+
*
|
|
58
|
+
* @example "red"
|
|
59
|
+
* @example "#00686f"
|
|
60
|
+
* @example "primary.main"
|
|
61
|
+
*/
|
|
62
|
+
color?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Additional CSS classes
|
|
65
|
+
*/
|
|
66
|
+
className?: string;
|
|
67
|
+
/**
|
|
68
|
+
* MUI sx prop for custom styling
|
|
69
|
+
*/
|
|
70
|
+
sx?: SxProps<Theme>;
|
|
71
|
+
/**
|
|
72
|
+
* ARIA label for accessibility
|
|
73
|
+
* Recommended for icon-only buttons or when icon conveys meaning
|
|
74
|
+
*/
|
|
75
|
+
ariaLabel?: string;
|
|
76
|
+
/**
|
|
77
|
+
* ARIA hidden - hides icon from screen readers
|
|
78
|
+
* Use when icon is purely decorative
|
|
79
|
+
*
|
|
80
|
+
* @default false
|
|
81
|
+
*/
|
|
82
|
+
ariaHidden?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Click handler - makes icon clickable
|
|
85
|
+
*/
|
|
86
|
+
onClick?: (event: React.MouseEvent<HTMLSpanElement>) => void;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* MaterialSymbol Component
|
|
90
|
+
*
|
|
91
|
+
* Renders icons from Google's Material Symbols library using variable font technology.
|
|
92
|
+
* Provides customizable weight, fill, grade, and size properties.
|
|
93
|
+
*
|
|
94
|
+
* **MRS Design System Defaults:**
|
|
95
|
+
* - Variant: Rounded
|
|
96
|
+
* - Weight: 300 (Light)
|
|
97
|
+
* - Fill: 0 (Outlined)
|
|
98
|
+
* - Grade: 100 (Lighter visual weight)
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* Basic usage
|
|
102
|
+
* ```tsx
|
|
103
|
+
* <MaterialSymbol icon="home" />
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* With size and fill
|
|
108
|
+
* ```tsx
|
|
109
|
+
* <MaterialSymbol icon="favorite" size="large" fill={1} />
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* With custom color and weight
|
|
114
|
+
* ```tsx
|
|
115
|
+
* <MaterialSymbol
|
|
116
|
+
* icon="settings"
|
|
117
|
+
* color="primary.main"
|
|
118
|
+
* weight={500}
|
|
119
|
+
* />
|
|
120
|
+
* ```
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* Clickable icon
|
|
124
|
+
* ```tsx
|
|
125
|
+
* <MaterialSymbol
|
|
126
|
+
* icon="close"
|
|
127
|
+
* onClick={() => console.log('clicked')}
|
|
128
|
+
* ariaLabel="Close"
|
|
129
|
+
* />
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
export declare const MaterialSymbol: React.ForwardRefExoticComponent<MaterialSymbolProps & React.RefAttributes<HTMLSpanElement>>;
|
|
133
|
+
export default MaterialSymbol;
|
|
134
|
+
//# sourceMappingURL=MaterialSymbol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaterialSymbol.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/MaterialSymbol/MaterialSymbol.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,sCAAsC,CAAC;AAE9C,MAAM,WAAW,mBAAmB;IAClC;;;;;;;;;OASG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAEzD;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAEb;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAEjD;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;CAC9D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,eAAO,MAAM,cAAc,6FAuF1B,CAAC;AAIF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/MaterialSymbol/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { MenuItemProps } from './MenuItem.types';
|
|
3
|
+
/**
|
|
4
|
+
* MenuItem component
|
|
5
|
+
*
|
|
6
|
+
* Menu items are used in menus, selects, and other components
|
|
7
|
+
* to display selectable options.
|
|
8
|
+
*
|
|
9
|
+
* @param props - MenuItem component props
|
|
10
|
+
* @returns MenuItem component
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* // In a Select
|
|
15
|
+
* <Select>
|
|
16
|
+
* <MenuItem value="option1">Option 1</MenuItem>
|
|
17
|
+
* <MenuItem value="option2">Option 2</MenuItem>
|
|
18
|
+
* </Select>
|
|
19
|
+
*
|
|
20
|
+
* // Disabled
|
|
21
|
+
* <MenuItem value="disabled" disabled>
|
|
22
|
+
* Disabled Option
|
|
23
|
+
* </MenuItem>
|
|
24
|
+
*
|
|
25
|
+
* // Selected
|
|
26
|
+
* <MenuItem value="selected" selected>
|
|
27
|
+
* Selected Option
|
|
28
|
+
* </MenuItem>
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare const MenuItem: React.ForwardRefExoticComponent<Omit<MenuItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
32
|
+
export default MenuItem;
|
|
33
|
+
//# sourceMappingURL=MenuItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/MenuItem/MenuItem.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,QAAQ,kGAiCpB,CAAC;AAIF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { MenuItemProps as MuiMenuItemProps } from '@mui/material/MenuItem';
|
|
2
|
+
/**
|
|
3
|
+
* MRS MenuItem component props
|
|
4
|
+
* Extends Material-UI MenuItemProps with custom properties
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* <MenuItem value="option1">Option 1</MenuItem>
|
|
9
|
+
* <MenuItem value="option2" disabled>Option 2</MenuItem>
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export interface MenuItemProps extends MuiMenuItemProps {
|
|
13
|
+
/**
|
|
14
|
+
* The value of the menu item
|
|
15
|
+
*/
|
|
16
|
+
value?: any;
|
|
17
|
+
/**
|
|
18
|
+
* If true, the menu item will be disabled
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* If true, the menu item will be selected
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
selected?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* If true, the menu item will be a divider
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
divider?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* If true, compact vertical padding designed for keyboard and mouse input
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
dense?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* If true, the left and right padding is removed
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
disableGutters?: boolean;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=MenuItem.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuItem.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/MenuItem/MenuItem.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAEhF;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAc,SAAQ,gBAAgB;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,GAAG,CAAC;IAEZ;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/MenuItem/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PaperProps } from './Paper.types';
|
|
3
|
+
/**
|
|
4
|
+
* Paper component
|
|
5
|
+
*
|
|
6
|
+
* The Paper component is a container that displays content with elevation and optional borders.
|
|
7
|
+
* The elevation can be used to establish a hierarchy between other content.
|
|
8
|
+
*
|
|
9
|
+
* @param props - Paper component props
|
|
10
|
+
* @returns Paper component
|
|
11
|
+
*/
|
|
12
|
+
export declare const Paper: React.ForwardRefExoticComponent<Omit<PaperProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
//# sourceMappingURL=Paper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Paper.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Paper/Paper.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,gGAiBjB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PaperProps as MuiPaperProps } from '@mui/material/Paper';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* MRS Paper component props
|
|
5
|
+
* Extends Material-UI PaperProps
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Paper>Content</Paper>
|
|
10
|
+
* <Paper variant="outlined">Outlined content</Paper>
|
|
11
|
+
* <Paper elevation={4}>Elevated content</Paper>
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export interface PaperProps extends Omit<MuiPaperProps, 'variant' | 'elevation'> {
|
|
15
|
+
/**
|
|
16
|
+
* The content of the component
|
|
17
|
+
*/
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* The variant to use
|
|
21
|
+
* @default 'elevation'
|
|
22
|
+
*/
|
|
23
|
+
variant?: 'elevation' | 'outlined';
|
|
24
|
+
/**
|
|
25
|
+
* Shadow depth, corresponds to `dp` in the spec.
|
|
26
|
+
* It accepts values between 0 and 24 inclusive.
|
|
27
|
+
* @default 1
|
|
28
|
+
*/
|
|
29
|
+
elevation?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
30
|
+
/**
|
|
31
|
+
* If true, rounded corners are disabled
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
square?: boolean;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=Paper.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Paper.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Paper/Paper.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;;;;;;;;GAUG;AACH,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,GAAG,WAAW,CAAC;IAC9E;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC;IAEnC;;;;OAIG;IACH,SAAS,CAAC,EACN,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,CAAC;IAEP;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/Paper/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RadioProps } from './Radio.types';
|
|
3
|
+
/**
|
|
4
|
+
* Radio component
|
|
5
|
+
*
|
|
6
|
+
* Radio buttons allow the user to select one option from a set.
|
|
7
|
+
* Use radio buttons when the user needs to see all available options.
|
|
8
|
+
* If available options can be collapsed, consider using a Select component because it uses less space.
|
|
9
|
+
*
|
|
10
|
+
* @param props - Radio component props
|
|
11
|
+
* @returns Radio component
|
|
12
|
+
*/
|
|
13
|
+
export declare const Radio: React.ForwardRefExoticComponent<Omit<RadioProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
//# sourceMappingURL=Radio.d.ts.map
|