@antify/ui-module 2.3.2 → 2.3.4
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
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import { defineNuxtModule, createResolver, addPlugin, addImportsDir, addComponent } from '@nuxt/kit';
|
|
2
2
|
import tailwindcss from '@tailwindcss/vite';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// -- Unbuild CommonJS Shims --
|
|
7
|
-
import __cjs_url__ from 'url';
|
|
8
|
-
import __cjs_path__ from 'path';
|
|
9
|
-
import __cjs_mod__ from 'module';
|
|
10
|
-
const __filename = __cjs_url__.fileURLToPath(import.meta.url);
|
|
11
|
-
const __dirname = __cjs_path__.dirname(__filename);
|
|
12
|
-
const require = __cjs_mod__.createRequire(import.meta.url);
|
|
13
4
|
const uiComponents = [
|
|
14
5
|
"AntActionButton",
|
|
15
6
|
"AntButton",
|
|
@@ -102,8 +93,7 @@ const module = defineNuxtModule({
|
|
|
102
93
|
nuxt.hook("vite:extendConfig", (viteInlineConfig) => {
|
|
103
94
|
viteInlineConfig.plugins.push(tailwindcss());
|
|
104
95
|
});
|
|
105
|
-
|
|
106
|
-
nuxt.options.css.push(antifyCSSPath);
|
|
96
|
+
nuxt.options.css.push(resolve(runtimeDir, "assets/antify.css"));
|
|
107
97
|
if (options.tailwindCSSPath) {
|
|
108
98
|
const tailwindCSSPath = resolve(nuxt.options.rootDir, options.tailwindCSSPath);
|
|
109
99
|
nuxt.options.css.push(tailwindCSSPath);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "@antify/ui";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/app").Plugin<{
|
|
2
2
|
uiModule: {
|
|
3
3
|
toaster: {
|
|
4
4
|
getToasts(): {
|
|
@@ -20,7 +20,7 @@ declare const _default: import("#app").Plugin<{
|
|
|
20
20
|
toastDuplicated(): void;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
}> & import("
|
|
23
|
+
}> & import("nuxt/app").ObjectPlugin<{
|
|
24
24
|
uiModule: {
|
|
25
25
|
toaster: {
|
|
26
26
|
getToasts(): {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antify/ui-module",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"tailwindcss": "^4.0.3"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@antify/ui": "^2.2.
|
|
25
|
+
"@antify/ui": "^2.2.10",
|
|
26
26
|
"@fortawesome/vue-fontawesome": "^3.0.8",
|
|
27
27
|
"@nuxt/kit": "^3.13.1",
|
|
28
28
|
"@vueuse/core": "^10.7.2",
|