@banzamel/mineralui 0.4.0 → 0.5.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/README.md +26 -5
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +425 -69
- package/dist/index.js +5850 -5695
- package/dist/index.js.map +1 -1
- package/dist/styles.css +2 -1
- package/package.json +87 -87
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
React component framework for dashboards, admin panels, documentation shells, settings screens and data-heavy internal products.
|
|
4
4
|
|
|
5
5
|
- npm: `@banzamel/mineralui`
|
|
6
|
-
- release version: `0.
|
|
6
|
+
- release version: `0.5.0`
|
|
7
7
|
- peer dependencies: `react >= 18`, `react-dom >= 18`
|
|
8
8
|
- repository: `https://github.com/Banzamel/mineralui`
|
|
9
9
|
- styles: plain `.css` files + CSS variables exposed as `--mineral-*`
|
|
@@ -63,6 +63,7 @@ function AccountSettings() {
|
|
|
63
63
|
### Theme and primitives
|
|
64
64
|
- `MThemeProvider`, `useMTheme`
|
|
65
65
|
- `MPortal`, `MPopover`
|
|
66
|
+
- `MI18nProvider` — locale context for framework-level translations
|
|
66
67
|
- CSS variable token system for dark and light mode
|
|
67
68
|
- scoped theme overrides through the provider
|
|
68
69
|
|
|
@@ -71,17 +72,26 @@ function AccountSettings() {
|
|
|
71
72
|
- `MStack`, `MInline`, `MGrid`, `MGridItem`
|
|
72
73
|
- `MSurface`, `MDivider`
|
|
73
74
|
- `MHeader`, `MFooter`, `MNavbar`, `MNavs`, `MTabs`
|
|
75
|
+
- `MSidebar`, `MSidebarItem`, `MSidebarGroup`, `MSidebarDivider`
|
|
76
|
+
- `MSubNav`
|
|
74
77
|
|
|
75
78
|
### Display
|
|
76
79
|
- `MCard`, `MCardHeader`, `MCardBody`, `MCardFooter`
|
|
77
|
-
- `MBadge`, `MAlert`
|
|
80
|
+
- `MBadge`, `MAlert`, `MBanner`
|
|
78
81
|
- `MTable`, `MTableRoot`, `MTableHead`, `MTableBody`, `MTableRow`, `MTableHeadCell`, `MTableCell`
|
|
79
82
|
- `MCollapsible`, `MSpinner`, `MLoader`
|
|
80
83
|
- `MAvatar`, `MModal`
|
|
84
|
+
- `MImage`, `MGallery`
|
|
85
|
+
- `MCarousel`
|
|
86
|
+
- `MProgressBar`
|
|
87
|
+
- `MRating`
|
|
88
|
+
- `MCountUp`
|
|
89
|
+
- `MTaskList`, `MTaskItem`
|
|
90
|
+
- `MDropdownMenu`, `MDropdownMenuItem`, `MDropdownMenuDivider`
|
|
81
91
|
- `MCalendarBoard`, `MCalendarDayCell`, `MCalendarEventList`, `MCalendarEventItem`, `MCalendarEventPopover`, `MCalendarTimeline`
|
|
82
92
|
|
|
83
93
|
### Typography
|
|
84
|
-
- `MHeading`, `MText`, `MLink`, `MCode`, `MList`, `MListItem`
|
|
94
|
+
- `MHeading`, `MText`, `MSubText`, `MLink`, `MCode`, `MList`, `MListItem`
|
|
85
95
|
|
|
86
96
|
### Controls
|
|
87
97
|
- `MButton`
|
|
@@ -100,7 +110,7 @@ function AccountSettings() {
|
|
|
100
110
|
- `MSelect`
|
|
101
111
|
- `MAutocomplete`
|
|
102
112
|
- `MDatePicker`
|
|
103
|
-
- `MDateRangePicker`
|
|
113
|
+
- `MDateRangePicker` — supports `presetsSidebar` for a toggleable side panel with predefined date ranges
|
|
104
114
|
- `MTimePicker`
|
|
105
115
|
|
|
106
116
|
### Form and validation
|
|
@@ -148,6 +158,7 @@ Framework defaults:
|
|
|
148
158
|
### Layout-first API
|
|
149
159
|
- `MStack`, `MInline` and `MGrid` cover the majority of internal dashboard layouts without extra utility libraries.
|
|
150
160
|
- `MGrid` supports equal columns by default and responsive span overrides with `sm`, `md`, `lg`, `xl`.
|
|
161
|
+
- `MSidebar` provides collapsible, nested navigation with grouped items and dividers.
|
|
151
162
|
|
|
152
163
|
### Form-heavy components
|
|
153
164
|
- Specialized inputs handle formatting and validation instead of pushing that logic into every application.
|
|
@@ -156,9 +167,19 @@ Framework defaults:
|
|
|
156
167
|
|
|
157
168
|
### Date workflows
|
|
158
169
|
- `MDatePicker` and `MDateRangePicker` support inline and popover usage.
|
|
159
|
-
- `MDateRangePicker` ships with built-in presets
|
|
170
|
+
- `MDateRangePicker` ships with 12 built-in presets and a toggleable `presetsSidebar` for quick range selection.
|
|
160
171
|
- `MCalendarBoard` covers non-form calendar surfaces such as planning, invoices, birthdays, and task density views.
|
|
161
172
|
|
|
173
|
+
### Rich display components
|
|
174
|
+
- `MCarousel` for image and content slideshows.
|
|
175
|
+
- `MImage` with aspect ratio, fallback and lazy loading. `MGallery` for responsive image grids.
|
|
176
|
+
- `MProgressBar` with animated fills and label support.
|
|
177
|
+
- `MRating` for star-based interactive ratings.
|
|
178
|
+
- `MCountUp` for animated number counters.
|
|
179
|
+
- `MTaskList` for checklist-style task tracking.
|
|
180
|
+
- `MDropdownMenu` for context menus and action lists.
|
|
181
|
+
- `MBanner` for page-level messaging.
|
|
182
|
+
|
|
162
183
|
### Interaction model
|
|
163
184
|
- Buttons, cards, avatars, tabs and interactive inputs can share the same click effect model.
|
|
164
185
|
- Navigation and picker overlays render through shared popover primitives.
|