zabi-components 5.0.15 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zabi-components",
3
- "version": "5.0.15",
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",
@@ -45,6 +45,14 @@
45
45
  },
46
46
  "./dist/zabi-components.css": "./dist/zabi-components.css",
47
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",
48
56
  "./package.json": "./package.json"
49
57
  },
50
58
  "files": [
@@ -71,8 +79,10 @@
71
79
  "scripts": {
72
80
  "dev": "vite dev",
73
81
  "build": "vite build && npm run build:types",
74
- "build:lib": "svelte-package -o dist --input src/components && 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/ && npm run build:css && npm run build:types",
75
- "build:css": "node scripts/build-css.js && cp src/styles/colors.css dist/zabi-components-colors.css && find dist -name '*.css' -not -name 'zabi-components.css' -not -name 'zabi-components-colors.css' -exec cat {} \\; >> dist/zabi-components.css",
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",
76
86
  "build:types": "tsc --project tsconfig.lib.json",
77
87
  "preview": "vite preview",
78
88
  "check": "svelte-check --tsconfig ./tsconfig.json",
@@ -94,7 +104,7 @@
94
104
  "autoprefixer": "^10.4.17",
95
105
  "postcss": "^8.4.35",
96
106
  "storybook": "^10.0.7",
97
- "svelte": "^5.38.10",
107
+ "svelte": "^5.43.8",
98
108
  "svelte-check": "^4.3.1",
99
109
  "tailwindcss": "^4.1.13",
100
110
  "typescript": "~5.8.3",
@@ -108,7 +118,7 @@
108
118
  "peerDependencies": {
109
119
  "@sveltejs/kit": "^2.0.0",
110
120
  "react": "^18.0.0",
111
- "svelte": "^5.38.10"
121
+ "svelte": "^5.43.8"
112
122
  },
113
123
  "peerDependenciesMeta": {
114
124
  "svelte": {