zabi-components 5.0.14 → 5.0.17
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 +51 -0
- package/dist/atoms/Badge.svelte +14 -14
- package/dist/atoms/Button.svelte +8 -8
- package/dist/atoms/Card.svelte +2 -2
- package/dist/atoms/Checkbox.svelte +19 -16
- package/dist/atoms/CodeBlock.svelte +4 -4
- package/dist/atoms/ColorPicker.svelte +4 -4
- package/dist/atoms/FeatureCard.svelte +2 -2
- package/dist/atoms/Input.svelte +5 -5
- package/dist/atoms/Progress.svelte +1 -1
- package/dist/atoms/Select.svelte +37 -14
- package/dist/atoms/Skeleton.svelte +1 -1
- package/dist/atoms/Textarea.svelte +2 -2
- package/dist/atoms/ThemeToggle.svelte +5 -5
- package/dist/atoms/Toast.svelte +1 -1
- package/dist/atoms/Toggle.svelte +2 -4
- package/dist/atoms/Tooltip.svelte +128 -19
- package/dist/molecules/Alert.svelte +13 -7
- package/dist/molecules/ComponentDemo.svelte +57 -64
- package/dist/molecules/Dropdown.svelte +4 -2
- package/dist/molecules/ImageUpload.svelte +2 -2
- package/dist/molecules/Modal.svelte +2 -2
- package/dist/molecules/SlideUp.svelte +2 -2
- package/dist/molecules/Tabs.svelte +2 -2
- package/dist/organisms/Navbar.svelte +1 -1
- package/dist/routes/lib/variant-utils.ts +4 -4
- package/dist/zabi-components-colors.css +333 -0
- package/dist/zabi-components-theme-dark-only.css +149 -0
- package/dist/zabi-components-theme-dark.css +151 -0
- package/dist/zabi-components-theme-only.css +227 -0
- package/dist/zabi-components-theme.css +229 -0
- package/dist/zabi-components.css +2617 -509
- package/package.json +16 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zabi-components",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.17",
|
|
4
4
|
"description": "A modern Svelte 5 component library with TypeScript, Tailwind CSS v4, and 100% SSR-safe components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -44,6 +44,15 @@
|
|
|
44
44
|
"import": "./dist/routes/lib/variant-utils.ts"
|
|
45
45
|
},
|
|
46
46
|
"./dist/zabi-components.css": "./dist/zabi-components.css",
|
|
47
|
+
"./dist/zabi-components-colors.css": "./dist/zabi-components-colors.css",
|
|
48
|
+
"./dist/zabi-components-theme.css": "./dist/zabi-components-theme.css",
|
|
49
|
+
"./dist/zabi-components-theme-only.css": "./dist/zabi-components-theme-only.css",
|
|
50
|
+
"./dist/zabi-components-theme-dark.css": "./dist/zabi-components-theme-dark.css",
|
|
51
|
+
"./dist/zabi-components-theme-dark-only.css": "./dist/zabi-components-theme-dark-only.css",
|
|
52
|
+
"./theme": "./dist/zabi-components-theme.css",
|
|
53
|
+
"./theme-only": "./dist/zabi-components-theme-only.css",
|
|
54
|
+
"./theme-dark": "./dist/zabi-components-theme-dark.css",
|
|
55
|
+
"./theme-dark-only": "./dist/zabi-components-theme-dark-only.css",
|
|
47
56
|
"./package.json": "./package.json"
|
|
48
57
|
},
|
|
49
58
|
"files": [
|
|
@@ -70,8 +79,10 @@
|
|
|
70
79
|
"scripts": {
|
|
71
80
|
"dev": "vite dev",
|
|
72
81
|
"build": "vite build && npm run build:types",
|
|
73
|
-
"build:
|
|
74
|
-
"build:
|
|
82
|
+
"build:components": "svelte-package -o dist --input src/components",
|
|
83
|
+
"build:lib-files": "mkdir -p dist/routes/lib && cp src/routes/lib/ssr-safe.ts dist/routes/lib/ && cp src/routes/lib/variant-utils.ts dist/routes/lib/",
|
|
84
|
+
"build:lib": "npm run build:css && npm run build:components && npm run build:lib-files && npm run build:types && npm run build:css && node scripts/verify-build.js",
|
|
85
|
+
"build:css": "node scripts/build-css.js && node scripts/validate-theme.js && cp src/styles/colors.css dist/zabi-components-colors.css && node scripts/cleanup-css.js",
|
|
75
86
|
"build:types": "tsc --project tsconfig.lib.json",
|
|
76
87
|
"preview": "vite preview",
|
|
77
88
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
@@ -93,7 +104,7 @@
|
|
|
93
104
|
"autoprefixer": "^10.4.17",
|
|
94
105
|
"postcss": "^8.4.35",
|
|
95
106
|
"storybook": "^10.0.7",
|
|
96
|
-
"svelte": "^5.
|
|
107
|
+
"svelte": "^5.43.8",
|
|
97
108
|
"svelte-check": "^4.3.1",
|
|
98
109
|
"tailwindcss": "^4.1.13",
|
|
99
110
|
"typescript": "~5.8.3",
|
|
@@ -107,7 +118,7 @@
|
|
|
107
118
|
"peerDependencies": {
|
|
108
119
|
"@sveltejs/kit": "^2.0.0",
|
|
109
120
|
"react": "^18.0.0",
|
|
110
|
-
"svelte": "^5.
|
|
121
|
+
"svelte": "^5.43.8"
|
|
111
122
|
},
|
|
112
123
|
"peerDependenciesMeta": {
|
|
113
124
|
"svelte": {
|