advi-ui 0.5.0 → 0.5.1
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 +3 -2
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ yarn add advi-ui
|
|
|
53
53
|
pnpm add advi-ui
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
> **Peer dependencies** — make sure your project has `react >= 18`, `react-dom >= 18`, `gsap
|
|
56
|
+
> **Peer dependencies** — make sure your project has `react >= 18`, `react-dom >= 18`, and `gsap` installed. `lucide-react` is bundled into advi-ui's build already, so it's an optional peer dependency — install it yourself only if you want to construct your own lucide icons (e.g. for icon-override props) with matching types.
|
|
57
57
|
|
|
58
58
|
---
|
|
59
59
|
|
|
@@ -94,7 +94,8 @@ document.documentElement.classList.toggle("dark");
|
|
|
94
94
|
|
|
95
95
|
### Icons
|
|
96
96
|
|
|
97
|
-
Components ship with [lucide-react](https://lucide.dev) icons by default
|
|
97
|
+
Components ship with [lucide-react](https://lucide.dev) icons by default —
|
|
98
|
+
bundled into advi-ui's build, so nothing extra to install for the defaults. Any
|
|
98
99
|
component with a built-in icon (`Header`, `PageAside`, `SearchInput`,
|
|
99
100
|
`Select`, `MultiSelect`, `Modal`, `Dialog`) accepts icon-override props — pass
|
|
100
101
|
your own element from any icon library (Phosphor, Radix Icons, Heroicons,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "advi-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Personal React component library built on shadcn/ui + Tailwind CSS",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -85,6 +85,11 @@
|
|
|
85
85
|
"react": ">=18",
|
|
86
86
|
"react-dom": ">=18"
|
|
87
87
|
},
|
|
88
|
+
"peerDependenciesMeta": {
|
|
89
|
+
"lucide-react": {
|
|
90
|
+
"optional": true
|
|
91
|
+
}
|
|
92
|
+
},
|
|
88
93
|
"dependencies": {
|
|
89
94
|
"@base-ui/react": "^1.4.0",
|
|
90
95
|
"@fontsource/raleway": "^5.2.8",
|