@atipicus/mrs-ui 0.8.0 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -19
- package/dist/index.js +992 -2208
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +992 -2208
- package/dist/index.mjs.map +1 -1
- package/dist/src/components/atoms/Avatar/Avatar.d.ts.map +1 -1
- package/dist/src/components/atoms/Box/Box.d.ts.map +1 -1
- package/dist/src/components/atoms/Grid/Grid.d.ts +2 -2
- package/dist/src/components/atoms/Grid/Grid.d.ts.map +1 -1
- package/dist/src/components/atoms/Grid/Grid.types.d.ts +1 -70
- package/dist/src/components/atoms/Grid/Grid.types.d.ts.map +1 -1
- package/dist/src/components/atoms/Grid/index.d.ts +1 -1
- package/dist/src/components/atoms/Grid/index.d.ts.map +1 -1
- package/dist/src/components/atoms/Link/Link.types.d.ts.map +1 -1
- package/dist/src/components/atoms/MaterialSymbol/MaterialSymbol.d.ts.map +1 -1
- package/dist/src/components/atoms/Radio/Radio.types.d.ts +1 -1
- package/dist/src/components/atoms/Radio/Radio.types.d.ts.map +1 -1
- package/dist/src/components/atoms/Select/Select.d.ts.map +1 -1
- package/dist/src/components/atoms/Select/index.d.ts +1 -1
- package/dist/src/components/atoms/Select/index.d.ts.map +1 -1
- package/dist/src/components/atoms/Stack/Stack.types.d.ts.map +1 -1
- package/dist/src/components/atoms/TextField/TextField.d.ts.map +1 -1
- package/dist/src/components/atoms/TextField/index.d.ts +1 -1
- package/dist/src/components/atoms/TextField/index.d.ts.map +1 -1
- package/dist/src/components/atoms/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/src/components/effects/AnimatedBadge/AnimatedBadge.d.ts.map +1 -1
- package/dist/src/components/effects/LoadingDots/LoadingDots.d.ts.map +1 -1
- package/dist/src/components/effects/RippleButton/RippleButton.d.ts.map +1 -1
- package/dist/src/components/molecules/Accordion/Accordion.types.d.ts.map +1 -1
- package/dist/src/components/molecules/Alert/Alert.d.ts.map +1 -1
- package/dist/src/components/molecules/Alert/Alert.types.d.ts.map +1 -1
- package/dist/src/components/molecules/BottomNavigation/BottomNavigation.d.ts.map +1 -1
- package/dist/src/components/molecules/BottomNavigation/BottomNavigationAction.d.ts.map +1 -1
- package/dist/src/components/molecules/BottomNavigation/index.d.ts +1 -1
- package/dist/src/components/molecules/BottomNavigation/index.d.ts.map +1 -1
- package/dist/src/components/molecules/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/src/components/molecules/DateTimePicker/DateTimePicker.d.ts.map +1 -1
- package/dist/src/components/molecules/DrawerNavigation/DrawerNavigation.d.ts.map +1 -1
- package/dist/src/components/molecules/DrawerNavigation/index.d.ts +1 -1
- package/dist/src/components/molecules/DrawerNavigation/index.d.ts.map +1 -1
- package/dist/src/components/molecules/ExpandableNavItem/ExpandableNavItem.d.ts.map +1 -1
- package/dist/src/components/molecules/ListItem/ListItem.d.ts.map +1 -1
- package/dist/src/components/molecules/Rating/Rating.types.d.ts.map +1 -1
- package/dist/src/components/molecules/Sidenav/Sidenav.d.ts.map +1 -1
- package/dist/src/components/molecules/Snackbar/Snackbar.d.ts.map +1 -1
- package/dist/src/components/molecules/SpeedDial/SpeedDial.d.ts.map +1 -1
- package/dist/src/components/molecules/SpeedDial/SpeedDial.types.d.ts.map +1 -1
- package/dist/src/components/molecules/SpeedDial/SpeedDialAction.d.ts.map +1 -1
- package/dist/src/components/molecules/SpeedDial/SpeedDialIcon.d.ts.map +1 -1
- package/dist/src/components/molecules/SpeedDial/index.d.ts +1 -1
- package/dist/src/components/molecules/SpeedDial/index.d.ts.map +1 -1
- package/dist/src/components/molecules/Stepper/Stepper.d.ts.map +1 -1
- package/dist/src/components/molecules/Table/Table.d.ts.map +1 -1
- package/dist/src/components/molecules/Tabs/Tabs.d.ts.map +1 -1
- package/dist/src/components/molecules/TimePicker/TimePicker.d.ts.map +1 -1
- package/dist/src/components/molecules/Timeline/Timeline.d.ts.map +1 -1
- package/dist/src/hooks/animations/useBounce.d.ts.map +1 -1
- package/dist/src/hooks/animations/useHoverScale.d.ts.map +1 -1
- package/dist/src/hooks/animations/useShake.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/theme/theme.d.ts.map +1 -1
- package/dist/src/tokens/examples/typescript-usage.d.ts.map +1 -1
- package/dist/src/tokens/generated/ts/tokens.d.ts +210 -76
- package/package.json +16 -14
package/README.md
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@atipicus/mrs-ui)
|
|
4
4
|
[](LICENSE)
|
|
5
|
-
[](https://github.com/Atipicus/mrs-ui/actions)
|
|
6
|
+
[](https://atipicus.github.io/mrs-ui/)
|
|
6
7
|
|
|
7
8
|
A comprehensive Material-UI v6.5 based design system with **54 production-ready components** built with React, TypeScript, and modern best practices.
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
**📚 [View Component Documentation →](https://atipicus.github.io/mrs-ui/)**
|
|
11
|
+
|
|
12
|
+
> **Version 0.10.2** - Production-ready release with complete Grid v2 migration, enhanced component APIs, and comprehensive test coverage. 54 production-ready components with 1,199 tests passing (57 test suites). Zero critical issues. Three-Tier Token Architecture with 470+ tokens.
|
|
10
13
|
|
|
11
14
|
## 🚀 Features
|
|
12
15
|
|
|
@@ -15,7 +18,7 @@ A comprehensive Material-UI v6.5 based design system with **54 production-ready
|
|
|
15
18
|
- ✅ **Material-UI v6.5** - Latest Material-UI features
|
|
16
19
|
- ✅ **MUI X Date Pickers** - Advanced date/time selection components
|
|
17
20
|
- ✅ **Tree-shakeable** - Import only what you need
|
|
18
|
-
- ✅ **Comprehensive Testing** - 1,
|
|
21
|
+
- ✅ **Comprehensive Testing** - 1,199 tests with 100% pass rate (57 test suites)
|
|
19
22
|
- ✅ **Storybook Documentation** - Interactive component explorer
|
|
20
23
|
- ✅ **Dual Module Support** - ESM and CommonJS
|
|
21
24
|
- ✅ **Design Token Hub** - Multi-format exports (CSS, SCSS, TypeScript, JSON)
|
|
@@ -235,7 +238,28 @@ const heading = typography.h1.fontFamily; // Nunito
|
|
|
235
238
|
|
|
236
239
|
## 🎨 Design Token Hub
|
|
237
240
|
|
|
238
|
-
The MRS Design System includes a comprehensive **Token Hub**
|
|
241
|
+
The MRS Design System includes a comprehensive **Token Hub** with a **three-tier architecture** managing 470+ design tokens exported to multiple formats.
|
|
242
|
+
|
|
243
|
+
### Three-Tier Token Architecture
|
|
244
|
+
|
|
245
|
+
The system organizes tokens in three hierarchical tiers for consistency and maintainability:
|
|
246
|
+
|
|
247
|
+
**Tier 1: Primitives (~80 tokens)** - Foundation values
|
|
248
|
+
- Colors, spacing, radius, typography, motion
|
|
249
|
+
- Raw, context-independent values
|
|
250
|
+
- Example: `PrimitivesSpacing2` → `16px`, `PrimitivesRadiusMd` → `8px`
|
|
251
|
+
|
|
252
|
+
**Tier 2: Semantic (~120 tokens)** - Context-aware tokens
|
|
253
|
+
- Theme-aware colors (light/dark mode)
|
|
254
|
+
- Background, text, action states
|
|
255
|
+
- Example: `SemanticColorLightPrimaryMain` → `#00686f`
|
|
256
|
+
|
|
257
|
+
**Tier 3: Components (~270 tokens)** - Component-specific
|
|
258
|
+
- Button, navigation, data display, feedback, layout tokens
|
|
259
|
+
- References semantic and primitive tokens
|
|
260
|
+
- Example: `ComponentButtonBorderRadius`, `ComponentSidenavWidthExpanded`
|
|
261
|
+
|
|
262
|
+
📚 **Complete documentation**: See `TOKENS.md` for detailed architecture guide.
|
|
239
263
|
|
|
240
264
|
### Multi-Format Exports
|
|
241
265
|
|
|
@@ -301,10 +325,27 @@ The system includes **automated Figma token synchronization** via GitHub Actions
|
|
|
301
325
|
### Token Structure
|
|
302
326
|
|
|
303
327
|
```
|
|
304
|
-
Design Tokens (DTCG Format)
|
|
305
|
-
├── primitives/
|
|
306
|
-
├──
|
|
307
|
-
|
|
328
|
+
Design Tokens (DTCG Format) - 470+ Tokens
|
|
329
|
+
├── Tier 1: primitives/
|
|
330
|
+
│ ├── colors.json → Brand, neutral, status, alpha
|
|
331
|
+
│ ├── spacing.json → 8px grid system (0-96px)
|
|
332
|
+
│ ├── radius.json → Border radius (none, sm, md, lg, xl, full)
|
|
333
|
+
│ ├── typography.json → Font families, sizes, weights
|
|
334
|
+
│ └── motion.json → Animation durations & easings
|
|
335
|
+
│
|
|
336
|
+
├── Tier 2: semantic/
|
|
337
|
+
│ ├── colors.json → Theme-aware colors (light/dark)
|
|
338
|
+
│ └── transitions.json → Semantic animations
|
|
339
|
+
│
|
|
340
|
+
└── Tier 3: component/
|
|
341
|
+
├── button.json → Button styling tokens
|
|
342
|
+
├── alert.json → Alert variants & severities
|
|
343
|
+
├── inputs.json → TextField, Chip, Rating tokens
|
|
344
|
+
├── surfaces.json → Paper, Card, Dialog, Table
|
|
345
|
+
├── navigation.json → Sidenav, AppBar, Drawer, Bottom Nav
|
|
346
|
+
├── data-display.json → Avatar, Badge, Tooltip, Accordion
|
|
347
|
+
├── feedback.json → Snackbar, Progress, Skeleton
|
|
348
|
+
└── layout.json → Stepper, Tabs, Timeline, Pagination
|
|
308
349
|
↓
|
|
309
350
|
Style Dictionary Build
|
|
310
351
|
↓
|
|
@@ -334,7 +375,7 @@ npm run tokens:sync:dry-run # Preview changes
|
|
|
334
375
|
|
|
335
376
|
## 📖 Documentation
|
|
336
377
|
|
|
337
|
-
- **📘 Storybook**: [https://
|
|
378
|
+
- **📘 Storybook**: [https://atipicus.github.io/mrs-ui/](https://atipicus.github.io/mrs-ui/)
|
|
338
379
|
- **📋 Component Roadmap**: [COMPONENT_ROADMAP.md](COMPONENT_ROADMAP.md)
|
|
339
380
|
- **📝 Changelog**: [CHANGELOG.md](CHANGELOG.md)
|
|
340
381
|
- **🚀 Deployment Guide**: [DEPLOYMENT.md](DEPLOYMENT.md)
|
|
@@ -480,9 +521,9 @@ UNLICENSED - This project is proprietary software.
|
|
|
480
521
|
## 🔗 Links
|
|
481
522
|
|
|
482
523
|
- [npm Package](https://www.npmjs.com/package/@atipicus/mrs-ui)
|
|
483
|
-
- [Storybook Documentation](https://
|
|
484
|
-
- [GitHub Repository](https://github.com/
|
|
485
|
-
- [Issue Tracker](https://github.com/
|
|
524
|
+
- [Storybook Documentation](https://atipicus.github.io/mrs-ui/)
|
|
525
|
+
- [GitHub Repository](https://github.com/Atipicus/mrs-ui)
|
|
526
|
+
- [Issue Tracker](https://github.com/Atipicus/mrs-ui/issues)
|
|
486
527
|
- [Figma Design](https://figma.com/design/ESNP5KunFotGObfcuXZ9Op/MRS---Material-UI-v.6.5.0)
|
|
487
528
|
|
|
488
529
|
## 🎯 Roadmap
|
|
@@ -536,17 +577,18 @@ const MyButton: React.FC<ButtonProps> = (props) => {
|
|
|
536
577
|
};
|
|
537
578
|
```
|
|
538
579
|
|
|
539
|
-
## 🌟 Version 0.
|
|
580
|
+
## 🌟 Version 0.8.0 Highlights
|
|
540
581
|
|
|
541
|
-
- ✨ **
|
|
542
|
-
- ✨ **
|
|
582
|
+
- ✨ **Complete Design Token System**: Multi-format exports (CSS, SCSS, TypeScript, JSON)
|
|
583
|
+
- ✨ **Dark Mode Support**: Full Material Design 3 compliant dark theme with WCAG AA compliance
|
|
584
|
+
- ✨ **Animation & Transition Tokens**: Material Motion system with 30+ component-specific transitions
|
|
585
|
+
- ✨ **Micro-Interactions Library**: 5 animation hooks + 3 effect components for rich UX
|
|
586
|
+
- ✨ **Figma Synchronization**: Automated bidirectional token sync with GitHub Actions
|
|
543
587
|
- ✨ **54 production-ready components** (31 atoms + 23 molecules)
|
|
544
588
|
- ✨ **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
589
|
- ✨ **Full TypeScript support** with strict mode
|
|
548
|
-
- ✨ **Storybook documentation** deployed at [https://
|
|
549
|
-
- ✨ **CI/CD pipeline** with GitHub Actions
|
|
590
|
+
- ✨ **Storybook documentation** deployed at [https://atipicus.github.io/mrs-ui/](https://atipicus.github.io/mrs-ui/)
|
|
591
|
+
- ✨ **CI/CD pipeline** with optimized GitHub Actions
|
|
550
592
|
- ✨ **Production ready** with comprehensive testing and quality checks
|
|
551
593
|
|
|
552
594
|
## 🚀 Quick Examples
|
|
@@ -600,3 +642,4 @@ function Dashboard() {
|
|
|
600
642
|
---
|
|
601
643
|
|
|
602
644
|
**Made with ❤️ by the MRS Design System Team**
|
|
645
|
+
**Last Updated**: January 5, 2026
|