@storm-ds/ui 0.1.0 → 1.0.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 +1 -33
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/plugin.d.mts +124 -4
- package/dist/plugin.d.ts +124 -4
- package/package.json +22 -17
package/README.md
CHANGED
|
@@ -1,33 +1 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
Lightning-fast component library optimized for Next.js.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install storm-ui
|
|
9
|
-
# or
|
|
10
|
-
pnpm add storm-ui
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```tsx
|
|
16
|
-
import { Button } from '@storm-ds/ui'
|
|
17
|
-
|
|
18
|
-
export default function Home() {
|
|
19
|
-
return <Button>Click me</Button>
|
|
20
|
-
}
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Features
|
|
24
|
-
|
|
25
|
-
- 🚀 Optimized for Next.js (Server Components compatible)
|
|
26
|
-
- 💎 TypeScript with sensible defaults
|
|
27
|
-
- 🎨 Tailwind CSS (customizable via CSS variables)
|
|
28
|
-
- 📦 Zero external dependencies (except Tailwind utilities)
|
|
29
|
-
- 📋 Copy-paste friendly
|
|
30
|
-
|
|
31
|
-
## License
|
|
32
|
-
|
|
33
|
-
MIT
|
|
1
|
+
# storm-ui
|
package/dist/index.js
CHANGED
|
@@ -321,7 +321,7 @@ var Checkbox = _react.forwardRef.call(void 0,
|
|
|
321
321
|
className: cn(
|
|
322
322
|
"shrink-0 cursor-pointer appearance-none rounded-storm-sm border border-storm-border bg-storm-background transition-colors",
|
|
323
323
|
"checked:border-storm-primary checked:bg-storm-primary",
|
|
324
|
-
|
|
324
|
+
'checked:bg-[url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath%20d%3D%27M12.207%204.793a1%201%200%20010%201.414l-5%205a1%201%200%2001-1.414%200l-2-2a1%201%200%20011.414-1.414L6.5%209.086l4.293-4.293a1%201%200%20011.414%200z%27%2F%3E%3C%2Fsvg%3E")] checked:bg-center checked:bg-no-repeat checked:bg-[length:100%_100%]',
|
|
325
325
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-storm-ring",
|
|
326
326
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
327
327
|
sizeStyles4[size],
|