@bodyhc/blazeui 0.1.5 → 0.2.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 +6 -6
- package/dist/style.css +1 -0
- package/package.json +8 -9
package/README.md
CHANGED
|
@@ -148,7 +148,7 @@ blazeui/
|
|
|
148
148
|
### Example
|
|
149
149
|
|
|
150
150
|
```tsx
|
|
151
|
-
import { Button } from "
|
|
151
|
+
import { Button } from "@bodyhc/blazeui";
|
|
152
152
|
|
|
153
153
|
function App() {
|
|
154
154
|
return (
|
|
@@ -161,15 +161,15 @@ function App() {
|
|
|
161
161
|
|
|
162
162
|
### Theme Setup
|
|
163
163
|
|
|
164
|
-
BlazeUI uses a theme provider for dark/light mode support. Wrap your app with the ThemeProvider
|
|
164
|
+
BlazeUI uses a theme provider for dark/light mode support. Wrap your app with the `ThemeProvider`:
|
|
165
165
|
|
|
166
166
|
```tsx
|
|
167
|
-
import { ThemeProvider } from "
|
|
167
|
+
import { ThemeProvider } from "@bodyhc/blazeui";
|
|
168
168
|
|
|
169
|
-
function App() {
|
|
169
|
+
function App({ children }) {
|
|
170
170
|
return (
|
|
171
|
-
<ThemeProvider defaultTheme="dark" storageKey="
|
|
172
|
-
{
|
|
171
|
+
<ThemeProvider defaultTheme="dark" storageKey="blaze-ui-theme">
|
|
172
|
+
{children}
|
|
173
173
|
</ThemeProvider>
|
|
174
174
|
);
|
|
175
175
|
}
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--background: 0 0% 100%;--foreground: 240 10% 3.9%;--card: 0 0% 100%;--card-foreground: 240 10% 3.9%;--popover: 0 0% 100%;--popover-foreground: 240 10% 3.9%;--primary: 259 95% 63%;--primary-foreground: 0 0% 98%;--secondary: 222 47% 11%;--secondary-foreground: 0 0% 98%;--muted: 240 4.8% 95.9%;--muted-foreground: 240 3.8% 46.1%;--accent: 240 4.8% 95.9%;--accent-foreground: 240 5.9% 10%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 240 5.9% 90%;--input: 240 5.9% 90%;--ring: 259 95% 63%;--radius: .75rem}.dark{--background: 222 47% 11%;--foreground: 0 0% 98%;--card: 222 47% 11%;--card-foreground: 0 0% 98%;--popover: 222 47% 11%;--popover-foreground: 0 0% 98%;--primary: 259 95% 63%;--primary-foreground: 0 0% 98%;--secondary: 240 3.7% 15.9%;--secondary-foreground: 0 0% 98%;--muted: 240 3.7% 15.9%;--muted-foreground: 240 5% 64.9%;--accent: 240 3.7% 15.9%;--accent-foreground: 0 0% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 0 0% 98%;--border: 240 3.7% 15.9%;--input: 240 3.7% 15.9%;--ring: 259 95% 73%}*{border-color:hsl(var(--border))}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bodyhc/blazeui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
|
+
"types": "./dist/types/index.d.ts",
|
|
19
20
|
"import": "./dist/blaze-ui.es.js",
|
|
20
|
-
"require": "./dist/blaze-ui.umd.js"
|
|
21
|
-
"types": "./dist/types/index.d.ts"
|
|
21
|
+
"require": "./dist/blaze-ui.umd.js"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
@@ -46,7 +46,11 @@
|
|
|
46
46
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
47
47
|
"@radix-ui/react-toast": "^1.2.15",
|
|
48
48
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
49
|
+
"class-variance-authority": "^0.7.0",
|
|
50
|
+
"clsx": "^2.1.1",
|
|
49
51
|
"cmdk": "^1.1.1",
|
|
52
|
+
"framer-motion": "^11.18.2",
|
|
53
|
+
"lucide-react": "^0.379.0",
|
|
50
54
|
"react-router-dom": "^6.23.1",
|
|
51
55
|
"simplex-noise": "^4.0.3",
|
|
52
56
|
"tailwind-merge": "^2.3.0",
|
|
@@ -64,18 +68,13 @@
|
|
|
64
68
|
"@typescript-eslint/parser": "^7.2.0",
|
|
65
69
|
"@vitejs/plugin-react": "^4.2.1",
|
|
66
70
|
"autoprefixer": "^10.4.19",
|
|
67
|
-
"class-variance-authority": "^0.7.0",
|
|
68
|
-
"clsx": "^2.1.1",
|
|
69
71
|
"eslint": "^8.57.0",
|
|
70
72
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
71
73
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
72
|
-
"framer-motion": "^11.18.2",
|
|
73
|
-
"lucide-react": "^0.379.0",
|
|
74
74
|
"postcss": "^8.4.38",
|
|
75
75
|
"tailwindcss": "^3.4.3",
|
|
76
|
-
"react": "^18.2.0",
|
|
77
|
-
"react-dom": "^18.2.0",
|
|
78
76
|
"typescript": "^5.2.2",
|
|
79
77
|
"vite": "^5.2.0"
|
|
80
78
|
}
|
|
81
79
|
}
|
|
80
|
+
|