@witchcraft/ui 0.3.22 → 0.3.23
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/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/package.json +2 -1
- package/src/module.ts +3 -2
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -76,7 +76,8 @@ const module$1 = defineNuxtModule({
|
|
|
76
76
|
const assetDir = resolve("runtime/assets");
|
|
77
77
|
const tailwindFiles = globFiles([
|
|
78
78
|
`${assetDir}/**/*.css`,
|
|
79
|
-
`!${assetDir}/**/tailwind.css
|
|
79
|
+
`!${assetDir}/**/tailwind.css`,
|
|
80
|
+
`!${assetDir}/**/theme.css`
|
|
80
81
|
], []);
|
|
81
82
|
addTemplate({
|
|
82
83
|
filename: "witchcraft-ui.css",
|
|
@@ -87,7 +88,7 @@ const module$1 = defineNuxtModule({
|
|
|
87
88
|
${indent(filteredComponentsInfo.map((_) => `@source "${_.filepath}";`).join("\n"), 5)}
|
|
88
89
|
` : crop`
|
|
89
90
|
${indent(themeAsTailwindCss(theme, themeConvertionOpts), 5)}
|
|
90
|
-
${indent(tailwindFiles.map((_) => `@import "${_.filepath.replace(assetDir, "@witchcraft/ui
|
|
91
|
+
${indent(tailwindFiles.map((_) => `@import "${_.filepath.replace(assetDir, "@witchcraft/ui")}";`).join("\n"), 5)}
|
|
91
92
|
${indent(filteredComponentsInfo.map((_) => `@source "${_.filepath}";`).join("\n"), 5)}
|
|
92
93
|
`
|
|
93
94
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@witchcraft/ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.23",
|
|
4
4
|
"description": "Vue component library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/runtime/main.lib.js",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"./utils.css": "./src/runtime/assets/utils.css",
|
|
34
34
|
"./base.css": "./src/runtime/assets/base.css",
|
|
35
|
+
"./animation.css": "./src/runtime/assets/animations.css",
|
|
35
36
|
"./nuxt": {
|
|
36
37
|
"types": "./dist/types.d.mts",
|
|
37
38
|
"import": "./dist/module.mjs"
|
package/src/module.ts
CHANGED
|
@@ -136,7 +136,8 @@ export default defineNuxtModule<ModuleOptions>({
|
|
|
136
136
|
const assetDir = resolve("runtime/assets")
|
|
137
137
|
const tailwindFiles = globFiles([
|
|
138
138
|
`${assetDir}/**/*.css`,
|
|
139
|
-
`!${assetDir}/**/tailwind.css
|
|
139
|
+
`!${assetDir}/**/tailwind.css`,
|
|
140
|
+
`!${assetDir}/**/theme.css`
|
|
140
141
|
], [])
|
|
141
142
|
|
|
142
143
|
addTemplate({
|
|
@@ -150,7 +151,7 @@ export default defineNuxtModule<ModuleOptions>({
|
|
|
150
151
|
`
|
|
151
152
|
: crop`
|
|
152
153
|
${indent(themeAsTailwindCss(theme, themeConvertionOpts), 5)}
|
|
153
|
-
${indent(tailwindFiles.map(_ => `@import "${_.filepath.replace(assetDir, "@witchcraft/ui
|
|
154
|
+
${indent(tailwindFiles.map(_ => `@import "${_.filepath.replace(assetDir, "@witchcraft/ui")}";`).join("\n"), 5)}
|
|
154
155
|
${indent(filteredComponentsInfo.map(_ => `@source "${_.filepath}";`).join("\n"), 5)}
|
|
155
156
|
`
|
|
156
157
|
})
|