@medixdeck/ui 0.1.8 → 0.1.10
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 +13 -1
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +19 -0
- package/dist/index.js +3324 -2986
- package/dist/index.js.map +1 -1
- package/dist/logos/logo-text-blue.png +0 -0
- package/dist/logos/logo-text-purple.png +0 -0
- package/dist/logos/logo-text-white.png +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ export function App() {
|
|
|
61
61
|
| Provider + theme | `MedixProvider`, `useThemeMode`, `useIsDarkMode`, `system`, `medixConfig`, token exports |
|
|
62
62
|
| Primitive | `Button`, `IconButton`, `Badge`, `Avatar`, `AvatarGroup`, `Spinner`, `FullPageSpinner`, `Tag`, `Divider`, `Logo` |
|
|
63
63
|
| Form | `Input`, `SearchInput`, `Textarea`, `Select`, `Checkbox`, `RadioGroup`, `Switch`, `FormControl`, `OTPInput`, `PinInput`, `PhoneInput`, `DatePicker`, `DateRangePicker`, `Combobox`, `FileUpload` |
|
|
64
|
-
| Layout | `Card`, `CardHeader`, `CardBody`, `CardFooter`, `StatCard`, `Container`, `SectionHeader`, `DashboardLayout` |
|
|
64
|
+
| Layout | `Card`, `CardHeader`, `CardBody`, `CardFooter`, `StatCard`, `Container`, `SectionHeader`, `ThemeColorPalette`, `DashboardLayout` |
|
|
65
65
|
| Navigation | `Navbar`, `Breadcrumb`, `Tabs`, `Pagination`, `Stepper` |
|
|
66
66
|
| Feedback | `Alert`, `Skeleton`, `SkeletonText`, `SkeletonCard`, `Progress`, `Modal`, `Drawer`, `Tooltip`, `EmptyState`, `Toaster`, `toast`, `dismissToast` |
|
|
67
67
|
| Data display | `Accordion`, `TestimonialCard`, `BlogCard`, `DataTable` |
|
|
@@ -99,6 +99,18 @@ function ThemeStatus() {
|
|
|
99
99
|
}
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
+
## Theme color reference
|
|
103
|
+
|
|
104
|
+
```tsx
|
|
105
|
+
import { ThemeColorPalette } from "@medixdeck/ui";
|
|
106
|
+
|
|
107
|
+
export function DesignTokensPage() {
|
|
108
|
+
return <ThemeColorPalette mt="8" />;
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
`ThemeColorPalette` renders the semantic design tokens side by side for light and dark mode, then lists the raw brand, status, and neutral scales that power the theme.
|
|
113
|
+
|
|
102
114
|
## Repository index
|
|
103
115
|
|
|
104
116
|
```txt
|