@memelabui/ui 0.5.1 → 0.6.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 +29 -8
- package/dist/index.cjs +798 -0
- package/dist/index.d.cts +196 -1
- package/dist/index.d.ts +196 -1
- package/dist/index.js +789 -1
- package/dist/styles/index.css +174 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ function App() {
|
|
|
51
51
|
}
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
## Components (
|
|
54
|
+
## Components (60+ exports)
|
|
55
55
|
|
|
56
56
|
### Form
|
|
57
57
|
|
|
@@ -60,6 +60,7 @@ function App() {
|
|
|
60
60
|
| `Input` | Text input with label, error, helperText |
|
|
61
61
|
| `SearchInput` | Search input with icon and clear button |
|
|
62
62
|
| `Select` | Select dropdown with label/error wrapper |
|
|
63
|
+
| `Combobox` | Searchable select with keyboard navigation and filtering |
|
|
63
64
|
| `Textarea` | Multiline text input with label/error |
|
|
64
65
|
| `Checkbox` | Custom checkbox with indeterminate support |
|
|
65
66
|
| `RadioGroup` / `RadioItem` | Compound radio button group |
|
|
@@ -111,6 +112,7 @@ function App() {
|
|
|
111
112
|
|-----------|-------------|
|
|
112
113
|
| `Pagination` | Page navigation with prev/next, ellipsis, active state |
|
|
113
114
|
| `Stepper` | Horizontal step indicator for wizards/onboarding |
|
|
115
|
+
| `Breadcrumbs` | Breadcrumb navigation with links/buttons/separators |
|
|
114
116
|
|
|
115
117
|
### Overlay
|
|
116
118
|
|
|
@@ -122,6 +124,15 @@ function App() {
|
|
|
122
124
|
| `Dropdown` | Compound menu (Trigger, Menu, Item, Separator) |
|
|
123
125
|
| `MutationOverlay` | Saving/saved/error status overlay for cards |
|
|
124
126
|
| `NotificationBell` | Notification bell button with unread count badge and ping animation |
|
|
127
|
+
| `Popover` | Click-triggered positioned popup with portal |
|
|
128
|
+
| `Drawer` | Slide-in side panel (left/right/bottom) with focus trap |
|
|
129
|
+
|
|
130
|
+
### Typography
|
|
131
|
+
|
|
132
|
+
| Component | Description |
|
|
133
|
+
|-----------|-------------|
|
|
134
|
+
| `Heading` | Heading h1-h6 with size/color presets and gradient variant |
|
|
135
|
+
| `Text` | Text paragraph/span with size, color, weight, and truncate |
|
|
125
136
|
|
|
126
137
|
### Layout
|
|
127
138
|
|
|
@@ -131,6 +142,8 @@ function App() {
|
|
|
131
142
|
| `Navbar` | Fixed glass navigation bar |
|
|
132
143
|
| `Sidebar` | Collapsible glass sidebar |
|
|
133
144
|
| `DashboardLayout` | Navbar + sidebar + content composition |
|
|
145
|
+
| `Stack` | Flex container with direction, gap, align, justify |
|
|
146
|
+
| `ScrollArea` | Scroll container with custom dark scrollbar styling |
|
|
134
147
|
|
|
135
148
|
### Feedback
|
|
136
149
|
|
|
@@ -139,6 +152,13 @@ function App() {
|
|
|
139
152
|
| `ToastProvider` / `useToast` | Toast notification system with variants |
|
|
140
153
|
| `Alert` | Inline notification banner (info, success, warning, error) |
|
|
141
154
|
| `CopyField` | Read-only field with copy button and optional masking |
|
|
155
|
+
| `Transition` | Animated enter/exit wrapper (fade, scale, slide presets) |
|
|
156
|
+
|
|
157
|
+
### Accessibility
|
|
158
|
+
|
|
159
|
+
| Component | Description |
|
|
160
|
+
|-----------|-------------|
|
|
161
|
+
| `VisuallyHidden` | Screen reader-only content (invisible but accessible) |
|
|
142
162
|
|
|
143
163
|
### Hooks
|
|
144
164
|
|
|
@@ -157,14 +177,15 @@ function App() {
|
|
|
157
177
|
Override CSS variables to customize the theme:
|
|
158
178
|
|
|
159
179
|
```css
|
|
180
|
+
/* Values must be space-separated RGB channels (not hex) for Tailwind opacity support */
|
|
160
181
|
:root {
|
|
161
|
-
--ml-bg:
|
|
162
|
-
--ml-primary:
|
|
163
|
-
--ml-accent:
|
|
164
|
-
--ml-glow-purple:
|
|
165
|
-
--ml-glow-pink:
|
|
166
|
-
--ml-surface-50:
|
|
167
|
-
--ml-surface-100:
|
|
182
|
+
--ml-bg: 10 10 15;
|
|
183
|
+
--ml-primary: 139 92 246;
|
|
184
|
+
--ml-accent: 102 126 234;
|
|
185
|
+
--ml-glow-purple: 118 75 162;
|
|
186
|
+
--ml-glow-pink: 240 147 251;
|
|
187
|
+
--ml-surface-50: 20 20 32;
|
|
188
|
+
--ml-surface-100: 30 30 48;
|
|
168
189
|
}
|
|
169
190
|
```
|
|
170
191
|
|