@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
package/LICENSE
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,602 @@
|
|
|
1
|
+
# MRS UI Design System
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@atipicus/mrs-ui)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
[](https://github.com/madersystem/mrs-ui-v6/actions)
|
|
6
|
+
|
|
7
|
+
A comprehensive Material-UI v6.5 based design system with **54 production-ready components** built with React, TypeScript, and modern best practices.
|
|
8
|
+
|
|
9
|
+
> **Version 0.8.0** - Complete Design Token System, Dark Mode, Animation Tokens & Micro-Interactions Library. 54 production-ready components with comprehensive theming. 1,182 tests passing (56 test suites).
|
|
10
|
+
|
|
11
|
+
## 🚀 Features
|
|
12
|
+
|
|
13
|
+
- ✅ **54 Production Components** (31 atoms + 23 molecules)
|
|
14
|
+
- ✅ **TypeScript Support** - Full type safety with strict mode
|
|
15
|
+
- ✅ **Material-UI v6.5** - Latest Material-UI features
|
|
16
|
+
- ✅ **MUI X Date Pickers** - Advanced date/time selection components
|
|
17
|
+
- ✅ **Tree-shakeable** - Import only what you need
|
|
18
|
+
- ✅ **Comprehensive Testing** - 1,182 tests with 100% pass rate (56 test suites)
|
|
19
|
+
- ✅ **Storybook Documentation** - Interactive component explorer
|
|
20
|
+
- ✅ **Dual Module Support** - ESM and CommonJS
|
|
21
|
+
- ✅ **Design Token Hub** - Multi-format exports (CSS, SCSS, TypeScript, JSON)
|
|
22
|
+
- ✅ **Figma Sync** - Automated token synchronization from Figma
|
|
23
|
+
- ✅ **Theme Integration** - Customizable design tokens with DTCG format
|
|
24
|
+
- ✅ **Responsive** - Mobile-first design approach
|
|
25
|
+
- ✅ **Accessible** - WCAG compliant components
|
|
26
|
+
|
|
27
|
+
## 📦 Installation
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install @atipicus/mrs-ui
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Peer Dependencies
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm install @mui/material @emotion/react @emotion/styled react react-dom
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Additional Dependencies (Included)
|
|
40
|
+
|
|
41
|
+
For date/time pickers, the package includes:
|
|
42
|
+
- `@mui/x-date-pickers` - Advanced date and time picker components
|
|
43
|
+
- `dayjs` - Date library for pickers
|
|
44
|
+
- `@mui/lab` - Timeline component
|
|
45
|
+
|
|
46
|
+
### Required Fonts
|
|
47
|
+
|
|
48
|
+
Add Nunito font (required) to your HTML `<head>`:
|
|
49
|
+
|
|
50
|
+
```html
|
|
51
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
52
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
53
|
+
<link
|
|
54
|
+
href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap"
|
|
55
|
+
rel="stylesheet"
|
|
56
|
+
/>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**Material Symbols** (recommended for MaterialSymbol component):
|
|
60
|
+
|
|
61
|
+
```html
|
|
62
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
63
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
64
|
+
<link
|
|
65
|
+
rel="stylesheet"
|
|
66
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"
|
|
67
|
+
/>
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## 🎯 Quick Start
|
|
71
|
+
|
|
72
|
+
```tsx
|
|
73
|
+
import { Button, TextField, Container, Stack } from '@atipicus/mrs-ui';
|
|
74
|
+
import { ThemeProvider } from '@mui/material/styles';
|
|
75
|
+
import CssBaseline from '@mui/material/CssBaseline';
|
|
76
|
+
import { theme } from '@atipicus/mrs-ui/theme';
|
|
77
|
+
|
|
78
|
+
function App() {
|
|
79
|
+
return (
|
|
80
|
+
<ThemeProvider theme={theme}>
|
|
81
|
+
<CssBaseline />
|
|
82
|
+
<Container maxWidth="lg">
|
|
83
|
+
<Stack spacing={2}>
|
|
84
|
+
<TextField label="Email" variant="outlined" />
|
|
85
|
+
<Button variant="contained" color="primary">
|
|
86
|
+
Sign In
|
|
87
|
+
</Button>
|
|
88
|
+
</Stack>
|
|
89
|
+
</Container>
|
|
90
|
+
</ThemeProvider>
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Using Material Symbols Icons
|
|
96
|
+
|
|
97
|
+
```tsx
|
|
98
|
+
import { MaterialSymbol, Button, Stack } from '@atipicus/mrs-ui';
|
|
99
|
+
|
|
100
|
+
function IconExample() {
|
|
101
|
+
return (
|
|
102
|
+
<Stack direction="row" spacing={2} alignItems="center">
|
|
103
|
+
{/* Basic icon */}
|
|
104
|
+
<MaterialSymbol icon="home" />
|
|
105
|
+
|
|
106
|
+
{/* Customized icon */}
|
|
107
|
+
<MaterialSymbol
|
|
108
|
+
icon="favorite"
|
|
109
|
+
size="large"
|
|
110
|
+
fill={1}
|
|
111
|
+
color="error.main"
|
|
112
|
+
/>
|
|
113
|
+
|
|
114
|
+
{/* Icon with button */}
|
|
115
|
+
<Button
|
|
116
|
+
startIcon={<MaterialSymbol icon="add" size="medium" />}
|
|
117
|
+
variant="contained"
|
|
118
|
+
>
|
|
119
|
+
Add Item
|
|
120
|
+
</Button>
|
|
121
|
+
|
|
122
|
+
{/* Clickable icon */}
|
|
123
|
+
<MaterialSymbol
|
|
124
|
+
icon="settings"
|
|
125
|
+
onClick={() => console.log('Settings clicked')}
|
|
126
|
+
ariaLabel="Settings"
|
|
127
|
+
/>
|
|
128
|
+
</Stack>
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
**Material Symbols Features:**
|
|
134
|
+
- **Variable Font Technology**: Dynamic weight (100-700), fill (0-1), grade (-50 to 200)
|
|
135
|
+
- **MRS Design System Defaults**: weight=300 (Light), fill=0 (Outlined), grade=100 (Lighter), rounded variant
|
|
136
|
+
- **Full Customization**: Size, color, accessibility attributes
|
|
137
|
+
- **Performance**: ~50KB variable font vs ~600KB icon components
|
|
138
|
+
- **Browse Icons**: [fonts.google.com/icons](https://fonts.google.com/icons)
|
|
139
|
+
|
|
140
|
+
## 📚 Components (54 Total)
|
|
141
|
+
|
|
142
|
+
### Atoms (31)
|
|
143
|
+
- **AccountStack** - User account display with avatar and badge (Phase 4 ✨)
|
|
144
|
+
- **Avatar** - User profile pictures
|
|
145
|
+
- **Badge** - Status indicators and counts
|
|
146
|
+
- **Box** - Fundamental layout container with sx prop
|
|
147
|
+
- **Button** - Primary action buttons
|
|
148
|
+
- **Checkbox** - Binary selection input
|
|
149
|
+
- **Chip** - Compact tags and filters
|
|
150
|
+
- **CircularProgress** - Circular loading indicator
|
|
151
|
+
- **Container** - Max-width wrapper for page content
|
|
152
|
+
- **Divider** - Visual content separator
|
|
153
|
+
- **FormControlLabel** - Labels for form controls
|
|
154
|
+
- **FormGroup** - Group multiple controls
|
|
155
|
+
- **Grid** - Responsive grid system (12-column)
|
|
156
|
+
- **Icon** - Icon display
|
|
157
|
+
- **IconButton** - Clickable icons
|
|
158
|
+
- **LinearProgress** - Linear loading bar
|
|
159
|
+
- **Link** - Accessible hyperlinks
|
|
160
|
+
- **MaterialSymbol** - Google Material Symbols icons with variable font (NEW ✨)
|
|
161
|
+
- **MenuItem** - Options for Select
|
|
162
|
+
- **Paper** - Elevated surface container
|
|
163
|
+
- **Radio** - Single selection from group
|
|
164
|
+
- **RadioGroup** - Manage radio button groups
|
|
165
|
+
- **Select** - Dropdown selection menu
|
|
166
|
+
- **Skeleton** - Loading placeholders
|
|
167
|
+
- **Slider** - Range selection slider
|
|
168
|
+
- **Stack** - Flexbox layout manager for spacing
|
|
169
|
+
- **Switch** - Toggle on/off
|
|
170
|
+
- **TextField** - Text input with variants
|
|
171
|
+
- **Toolbar** - AppBar content container (Phase 4 ✨)
|
|
172
|
+
- **Tooltip** - Contextual help popups
|
|
173
|
+
- **Typography** - Text with theme variants
|
|
174
|
+
|
|
175
|
+
### Molecules (23)
|
|
176
|
+
- **Alert** - Contextual feedback messages
|
|
177
|
+
- **AppBar** - Top application navigation bar (Phase 4)
|
|
178
|
+
- **Autocomplete** - Search with suggestions
|
|
179
|
+
- **BottomNavigation** - Bottom mobile navigation (Phase 5)
|
|
180
|
+
- **ButtonGroup** - Group of related buttons
|
|
181
|
+
- **DatePicker** - Date selection with calendar UI (Phase 6 ✨)
|
|
182
|
+
- **DateTimePicker** - Combined date and time selection (Phase 6 ✨)
|
|
183
|
+
- **Dialog** - Modal dialogs (Phase 2)
|
|
184
|
+
- **Drawer** - Side navigation panel (Phase 4)
|
|
185
|
+
- **DrawerNavigation** - Navigation component for Drawer (Phase 4)
|
|
186
|
+
- **ExpandableNavItem** - Collapsible navigation item (Phase 4)
|
|
187
|
+
- **List** - List of items
|
|
188
|
+
- **ListItem** - Individual list item
|
|
189
|
+
- **Menu** - Dropdown menu (Phase 2)
|
|
190
|
+
- **Pagination** - Page navigation (Phase 3)
|
|
191
|
+
- **Rating** - Star rating input (Phase 5)
|
|
192
|
+
- **Snackbar** - Temporary notifications (Phase 2)
|
|
193
|
+
- **SpeedDial** - Floating action button with actions (Phase 5)
|
|
194
|
+
- **Stepper** - Multi-step process indicator (Phase 3)
|
|
195
|
+
- **Table** - Data table with 7 sub-components (Phase 3)
|
|
196
|
+
- **Tabs** - Tabbed navigation (Phase 2)
|
|
197
|
+
- **Timeline** - Event timeline with 7 sub-components (Phase 5 ✨)
|
|
198
|
+
- **TimePicker** - Time selection with 12h/24h support (Phase 6 ✨)
|
|
199
|
+
|
|
200
|
+
## 🎨 Theme Customization
|
|
201
|
+
|
|
202
|
+
```tsx
|
|
203
|
+
import { createTheme, ThemeProvider } from '@mui/material';
|
|
204
|
+
import { theme as baseTheme } from '@atipicus/mrs-ui/theme';
|
|
205
|
+
|
|
206
|
+
// Customize the base theme
|
|
207
|
+
const customTheme = createTheme({
|
|
208
|
+
...baseTheme,
|
|
209
|
+
palette: {
|
|
210
|
+
...baseTheme.palette,
|
|
211
|
+
primary: {
|
|
212
|
+
main: '#your-brand-color',
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
});
|
|
216
|
+
|
|
217
|
+
function App() {
|
|
218
|
+
return (
|
|
219
|
+
<ThemeProvider theme={customTheme}>
|
|
220
|
+
{/* Your app */}
|
|
221
|
+
</ThemeProvider>
|
|
222
|
+
);
|
|
223
|
+
}
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Access Design Tokens
|
|
227
|
+
|
|
228
|
+
```tsx
|
|
229
|
+
import { colors, shape, typography } from '@atipicus/mrs-ui/theme';
|
|
230
|
+
|
|
231
|
+
const primary = colors.light.primary.main; // #00686f (teal)
|
|
232
|
+
const borderRadius = shape.rounded; // 9999px (pill shape)
|
|
233
|
+
const heading = typography.h1.fontFamily; // Nunito
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
## 🎨 Design Token Hub
|
|
237
|
+
|
|
238
|
+
The MRS Design System includes a comprehensive **Token Hub** that manages design tokens and exports them to multiple formats.
|
|
239
|
+
|
|
240
|
+
### Multi-Format Exports
|
|
241
|
+
|
|
242
|
+
Design tokens are available in **4 formats**:
|
|
243
|
+
|
|
244
|
+
#### 1️⃣ CSS Variables
|
|
245
|
+
```css
|
|
246
|
+
@import '@atipicus/mrs-ui/tokens/generated/css/tokens.css';
|
|
247
|
+
|
|
248
|
+
.my-button {
|
|
249
|
+
background: var(--mrs-semantic-color-primary-main);
|
|
250
|
+
border-radius: var(--mrs-component-button-border-radius);
|
|
251
|
+
}
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
#### 2️⃣ SCSS Variables
|
|
255
|
+
```scss
|
|
256
|
+
@import '@atipicus/mrs-ui/tokens/generated/scss/tokens';
|
|
257
|
+
|
|
258
|
+
.my-button {
|
|
259
|
+
background: $mrs-semantic-color-primary-main;
|
|
260
|
+
border-radius: $mrs-component-button-border-radius;
|
|
261
|
+
}
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
#### 3️⃣ TypeScript Exports
|
|
265
|
+
```typescript
|
|
266
|
+
import {
|
|
267
|
+
SemanticColorPrimaryMain,
|
|
268
|
+
ComponentButtonBorderRadius,
|
|
269
|
+
} from '@atipicus/mrs-ui/tokens';
|
|
270
|
+
|
|
271
|
+
const MyButton = () => (
|
|
272
|
+
<button style={{
|
|
273
|
+
backgroundColor: SemanticColorPrimaryMain,
|
|
274
|
+
borderRadius: ComponentButtonBorderRadius,
|
|
275
|
+
}}>
|
|
276
|
+
Click me
|
|
277
|
+
</button>
|
|
278
|
+
);
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
#### 4️⃣ JSON Exports
|
|
282
|
+
```javascript
|
|
283
|
+
// For scripts, tools, or Figma sync
|
|
284
|
+
import tokens from '@atipicus/mrs-ui/tokens/generated/json/tokens-flat.json';
|
|
285
|
+
console.log(tokens['semantic-color-primary-main']); // "#00686f"
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### Figma Synchronization
|
|
289
|
+
|
|
290
|
+
The system includes **automated Figma token synchronization** via GitHub Actions:
|
|
291
|
+
|
|
292
|
+
**Features**:
|
|
293
|
+
- ✅ Scheduled sync (every Monday at 9 AM UTC)
|
|
294
|
+
- ✅ Manual sync via GitHub Actions UI
|
|
295
|
+
- ✅ Automatic Pull Request creation
|
|
296
|
+
- ✅ Token validation and diff reports
|
|
297
|
+
- ✅ DTCG (Design Token Community Group) format compliant
|
|
298
|
+
|
|
299
|
+
**Setup Guide**: See [`.github/FIGMA_SYNC_SETUP.md`](.github/FIGMA_SYNC_SETUP.md) for configuration instructions.
|
|
300
|
+
|
|
301
|
+
### Token Structure
|
|
302
|
+
|
|
303
|
+
```
|
|
304
|
+
Design Tokens (DTCG Format)
|
|
305
|
+
├── primitives/ → Brand colors, typography, spacing, radius
|
|
306
|
+
├── semantic/ → Primary, secondary, error, warning, info, success
|
|
307
|
+
└── component/ → Button, alert, input, card overrides
|
|
308
|
+
↓
|
|
309
|
+
Style Dictionary Build
|
|
310
|
+
↓
|
|
311
|
+
Multi-Format Exports
|
|
312
|
+
├── CSS Variables (tokens.css)
|
|
313
|
+
├── SCSS Variables (tokens.scss)
|
|
314
|
+
├── TypeScript (tokens.js, tokens.d.ts)
|
|
315
|
+
└── JSON (flat, nested, figma-tokens)
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
### Token Management Commands
|
|
319
|
+
|
|
320
|
+
```bash
|
|
321
|
+
# Build all token formats
|
|
322
|
+
npm run tokens:build
|
|
323
|
+
|
|
324
|
+
# Watch mode (auto-rebuild on changes)
|
|
325
|
+
npm run tokens:watch
|
|
326
|
+
|
|
327
|
+
# Figma sync (requires GitHub Actions setup)
|
|
328
|
+
npm run tokens:sync:pull # Figma → Code
|
|
329
|
+
npm run tokens:sync:push # Code → Figma
|
|
330
|
+
npm run tokens:sync:dry-run # Preview changes
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
**Full Documentation**: [`src/tokens/README.md`](src/tokens/README.md)
|
|
334
|
+
|
|
335
|
+
## 📖 Documentation
|
|
336
|
+
|
|
337
|
+
- **📘 Storybook**: [https://mgomez-ext.github.io/mrs-ui/](https://mgomez-ext.github.io/mrs-ui/)
|
|
338
|
+
- **📋 Component Roadmap**: [COMPONENT_ROADMAP.md](COMPONENT_ROADMAP.md)
|
|
339
|
+
- **📝 Changelog**: [CHANGELOG.md](CHANGELOG.md)
|
|
340
|
+
- **🚀 Deployment Guide**: [DEPLOYMENT.md](DEPLOYMENT.md)
|
|
341
|
+
|
|
342
|
+
## 🧪 Testing
|
|
343
|
+
|
|
344
|
+
Comprehensive test coverage with 1,182 tests across 56 test suites:
|
|
345
|
+
|
|
346
|
+
```bash
|
|
347
|
+
# Run all tests
|
|
348
|
+
npm test
|
|
349
|
+
|
|
350
|
+
# Watch mode
|
|
351
|
+
npm run test:watch
|
|
352
|
+
|
|
353
|
+
# Type checking
|
|
354
|
+
npm run type-check
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
## 🏗️ Development
|
|
358
|
+
|
|
359
|
+
```bash
|
|
360
|
+
# Install dependencies
|
|
361
|
+
npm install
|
|
362
|
+
|
|
363
|
+
# Start Storybook
|
|
364
|
+
npm run storybook # Opens at http://localhost:6006
|
|
365
|
+
|
|
366
|
+
# Build the library
|
|
367
|
+
npm run build
|
|
368
|
+
|
|
369
|
+
# Build Storybook
|
|
370
|
+
npm run build-storybook
|
|
371
|
+
|
|
372
|
+
# Linting & Formatting
|
|
373
|
+
npm run lint
|
|
374
|
+
npm run lint:fix
|
|
375
|
+
npm run format
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
### Using Date Pickers
|
|
379
|
+
|
|
380
|
+
```tsx
|
|
381
|
+
import {
|
|
382
|
+
DatePicker,
|
|
383
|
+
TimePicker,
|
|
384
|
+
DateTimePicker,
|
|
385
|
+
LocalizationProvider
|
|
386
|
+
} from '@atipicus/mrs-ui';
|
|
387
|
+
import dayjs from 'dayjs';
|
|
388
|
+
|
|
389
|
+
function DatePickerExample() {
|
|
390
|
+
const [date, setDate] = React.useState(dayjs());
|
|
391
|
+
|
|
392
|
+
return (
|
|
393
|
+
<LocalizationProvider>
|
|
394
|
+
<Stack spacing={2}>
|
|
395
|
+
{/* Date Picker */}
|
|
396
|
+
<DatePicker
|
|
397
|
+
label="Birth Date"
|
|
398
|
+
value={date}
|
|
399
|
+
onChange={(newValue) => setDate(newValue)}
|
|
400
|
+
/>
|
|
401
|
+
|
|
402
|
+
{/* Time Picker */}
|
|
403
|
+
<TimePicker
|
|
404
|
+
label="Meeting Time"
|
|
405
|
+
value={date}
|
|
406
|
+
onChange={(newValue) => setDate(newValue)}
|
|
407
|
+
/>
|
|
408
|
+
|
|
409
|
+
{/* Date Time Picker */}
|
|
410
|
+
<DateTimePicker
|
|
411
|
+
label="Event Date & Time"
|
|
412
|
+
value={date}
|
|
413
|
+
onChange={(newValue) => setDate(newValue)}
|
|
414
|
+
/>
|
|
415
|
+
</Stack>
|
|
416
|
+
</LocalizationProvider>
|
|
417
|
+
);
|
|
418
|
+
}
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
### Using Timeline
|
|
422
|
+
|
|
423
|
+
```tsx
|
|
424
|
+
import {
|
|
425
|
+
Timeline,
|
|
426
|
+
TimelineItem,
|
|
427
|
+
TimelineSeparator,
|
|
428
|
+
TimelineDot,
|
|
429
|
+
TimelineConnector,
|
|
430
|
+
TimelineContent,
|
|
431
|
+
TimelineOppositeContent
|
|
432
|
+
} from '@atipicus/mrs-ui';
|
|
433
|
+
|
|
434
|
+
function TimelineExample() {
|
|
435
|
+
return (
|
|
436
|
+
<Timeline position="alternate">
|
|
437
|
+
<TimelineItem>
|
|
438
|
+
<TimelineOppositeContent color="text.secondary">
|
|
439
|
+
09:30 am
|
|
440
|
+
</TimelineOppositeContent>
|
|
441
|
+
<TimelineSeparator>
|
|
442
|
+
<TimelineDot />
|
|
443
|
+
<TimelineConnector />
|
|
444
|
+
</TimelineSeparator>
|
|
445
|
+
<TimelineContent>Design Review</TimelineContent>
|
|
446
|
+
</TimelineItem>
|
|
447
|
+
|
|
448
|
+
<TimelineItem>
|
|
449
|
+
<TimelineOppositeContent color="text.secondary">
|
|
450
|
+
10:00 am
|
|
451
|
+
</TimelineOppositeContent>
|
|
452
|
+
<TimelineSeparator>
|
|
453
|
+
<TimelineDot color="primary" />
|
|
454
|
+
<TimelineConnector />
|
|
455
|
+
</TimelineSeparator>
|
|
456
|
+
<TimelineContent>Development</TimelineContent>
|
|
457
|
+
</TimelineItem>
|
|
458
|
+
</Timeline>
|
|
459
|
+
);
|
|
460
|
+
}
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
## 📊 Package Stats
|
|
464
|
+
|
|
465
|
+
- **Package Size**: 383.69 kB (gzipped)
|
|
466
|
+
- **Tree-shakeable**: ✅ Import only what you need
|
|
467
|
+
- **Zero Runtime Dependencies**: All peer dependencies only
|
|
468
|
+
- **TypeScript**: Full type definitions included
|
|
469
|
+
- **Module Formats**: ESM + CommonJS
|
|
470
|
+
- **Tests**: 1,182 passing (100% pass rate, 56 test suites)
|
|
471
|
+
|
|
472
|
+
## 🤝 Contributing
|
|
473
|
+
|
|
474
|
+
We welcome contributions! Please see our contributing guidelines for details.
|
|
475
|
+
|
|
476
|
+
## 📝 License
|
|
477
|
+
|
|
478
|
+
UNLICENSED - This project is proprietary software.
|
|
479
|
+
|
|
480
|
+
## 🔗 Links
|
|
481
|
+
|
|
482
|
+
- [npm Package](https://www.npmjs.com/package/@atipicus/mrs-ui)
|
|
483
|
+
- [Storybook Documentation](https://mgomez-ext.github.io/mrs-ui/)
|
|
484
|
+
- [GitHub Repository](https://github.com/madersystem/mrs-ui-v6)
|
|
485
|
+
- [Issue Tracker](https://github.com/madersystem/mrs-ui-v6/issues)
|
|
486
|
+
- [Figma Design](https://figma.com/design/ESNP5KunFotGObfcuXZ9Op/MRS---Material-UI-v.6.5.0)
|
|
487
|
+
|
|
488
|
+
## 🎯 Roadmap
|
|
489
|
+
|
|
490
|
+
See [COMPONENT_ROADMAP.md](COMPONENT_ROADMAP.md) for detailed implementation plan.
|
|
491
|
+
|
|
492
|
+
### Completed Phases:
|
|
493
|
+
- ✅ **Phase 1** (v0.1.0): Layout Foundation - Box, Stack, Grid, Container
|
|
494
|
+
- ✅ **Phase 2** (v0.1.0): User Interaction - Dialog, Snackbar, Menu, Tabs
|
|
495
|
+
- ✅ **Phase 3** (v0.2.0): Data Display - Table, Pagination, Stepper
|
|
496
|
+
- ✅ **Phase 4** (v0.3.0): Navigation & Layouts - AppBar, Toolbar, AccountStack, Drawer
|
|
497
|
+
- ✅ **Phase 5** (v0.5.0): Enhanced Inputs - Timeline, BottomNavigation, Rating, SpeedDial
|
|
498
|
+
- ✅ **Phase 6** (v0.6.0): Advanced Components - DatePicker, TimePicker, DateTimePicker
|
|
499
|
+
|
|
500
|
+
### Upcoming Features:
|
|
501
|
+
- Additional form components
|
|
502
|
+
- Enhanced data visualization
|
|
503
|
+
- More navigation patterns
|
|
504
|
+
- And more...
|
|
505
|
+
|
|
506
|
+
## 💻 Browser Support
|
|
507
|
+
|
|
508
|
+
- ✅ Chrome (latest)
|
|
509
|
+
- ✅ Firefox (latest)
|
|
510
|
+
- ✅ Safari (latest)
|
|
511
|
+
- ✅ Edge (latest)
|
|
512
|
+
|
|
513
|
+
## 📦 Package Contents
|
|
514
|
+
|
|
515
|
+
```
|
|
516
|
+
@atipicus/mrs-ui/
|
|
517
|
+
├── dist/
|
|
518
|
+
│ ├── index.js # CommonJS bundle
|
|
519
|
+
│ ├── index.mjs # ES Module bundle
|
|
520
|
+
│ ├── index.d.ts # TypeScript definitions
|
|
521
|
+
│ ├── theme/
|
|
522
|
+
│ │ └── theme.js # Theme configuration
|
|
523
|
+
│ └── components/ # Individual components
|
|
524
|
+
└── README.md
|
|
525
|
+
```
|
|
526
|
+
|
|
527
|
+
## ⚙️ TypeScript Support
|
|
528
|
+
|
|
529
|
+
Full TypeScript support with comprehensive type definitions:
|
|
530
|
+
|
|
531
|
+
```tsx
|
|
532
|
+
import type { ButtonProps, StackProps, GridProps } from '@atipicus/mrs-ui';
|
|
533
|
+
|
|
534
|
+
const MyButton: React.FC<ButtonProps> = (props) => {
|
|
535
|
+
return <Button {...props} />;
|
|
536
|
+
};
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
## 🌟 Version 0.7.0 Highlights
|
|
540
|
+
|
|
541
|
+
- ✨ **Figma Code Connect Integration**: Direct component mapping between Figma and code
|
|
542
|
+
- ✨ **Material Symbols Support**: Variable font icon system (~50KB vs ~600KB icon components)
|
|
543
|
+
- ✨ **54 production-ready components** (31 atoms + 23 molecules)
|
|
544
|
+
- ✨ **1,182 tests passing** (100% pass rate across 56 test suites)
|
|
545
|
+
- ✨ **Advanced Date/Time Selection**: Complete date picker suite with MUI X integration
|
|
546
|
+
- ✨ **Timeline Component**: Event timeline with 7 sub-components
|
|
547
|
+
- ✨ **Full TypeScript support** with strict mode
|
|
548
|
+
- ✨ **Storybook documentation** deployed at [https://mgomez-ext.github.io/mrs-ui/](https://mgomez-ext.github.io/mrs-ui/)
|
|
549
|
+
- ✨ **CI/CD pipeline** with GitHub Actions
|
|
550
|
+
- ✨ **Production ready** with comprehensive testing and quality checks
|
|
551
|
+
|
|
552
|
+
## 🚀 Quick Examples
|
|
553
|
+
|
|
554
|
+
### Form Layout
|
|
555
|
+
|
|
556
|
+
```tsx
|
|
557
|
+
import { Container, Stack, TextField, Button, FormControlLabel, Checkbox } from '@atipicus/mrs-ui';
|
|
558
|
+
|
|
559
|
+
function LoginForm() {
|
|
560
|
+
return (
|
|
561
|
+
<Container maxWidth="sm">
|
|
562
|
+
<Stack spacing={2}>
|
|
563
|
+
<TextField label="Email" type="email" fullWidth />
|
|
564
|
+
<TextField label="Password" type="password" fullWidth />
|
|
565
|
+
<FormControlLabel control={<Checkbox />} label="Remember me" />
|
|
566
|
+
<Button variant="contained" fullWidth>
|
|
567
|
+
Sign In
|
|
568
|
+
</Button>
|
|
569
|
+
</Stack>
|
|
570
|
+
</Container>
|
|
571
|
+
);
|
|
572
|
+
}
|
|
573
|
+
```
|
|
574
|
+
|
|
575
|
+
### Responsive Grid
|
|
576
|
+
|
|
577
|
+
```tsx
|
|
578
|
+
import { Container, Grid, Card, CardContent, Typography } from '@atipicus/mrs-ui';
|
|
579
|
+
|
|
580
|
+
function Dashboard() {
|
|
581
|
+
return (
|
|
582
|
+
<Container>
|
|
583
|
+
<Grid container spacing={3}>
|
|
584
|
+
{[1, 2, 3, 4].map((item) => (
|
|
585
|
+
<Grid key={item} xs={12} sm={6} md={3}>
|
|
586
|
+
<Card>
|
|
587
|
+
<CardContent>
|
|
588
|
+
<Typography variant="h6">Metric {item}</Typography>
|
|
589
|
+
<Typography variant="h4">1,234</Typography>
|
|
590
|
+
</CardContent>
|
|
591
|
+
</Card>
|
|
592
|
+
</Grid>
|
|
593
|
+
))}
|
|
594
|
+
</Grid>
|
|
595
|
+
</Container>
|
|
596
|
+
);
|
|
597
|
+
}
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
---
|
|
601
|
+
|
|
602
|
+
**Made with ❤️ by the MRS Design System Team**
|
package/dist/index.d.ts
ADDED