@tdh-ui/unplugin-resolver 1.0.1 → 1.0.2

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020-PRESENT TDH Element Plus
3
+ Copyright (c) 2020-PRESENT TDH Base UI
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.cjs CHANGED
@@ -57,7 +57,7 @@ function resolveDirective(name, options) {
57
57
  };
58
58
  }
59
59
  const noStylesComponents = ["ElAutoResizer"];
60
- function TdhUIResolver(options = {}) {
60
+ function TdhBaseUIResolver(options = {}) {
61
61
  let optionsResolved;
62
62
  async function resolveOptions() {
63
63
  if (optionsResolved) return optionsResolved;
@@ -90,4 +90,4 @@ function TdhUIResolver(options = {}) {
90
90
  ];
91
91
  }
92
92
 
93
- exports.TdhUIResolver = TdhUIResolver;
93
+ exports.TdhBaseUIResolver = TdhBaseUIResolver;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ComponentResolver } from 'unplugin-vue-components';
2
2
 
3
- interface TdhUIResolverOptions {
3
+ interface TdhBaseUIResolverOptions {
4
4
  /**
5
5
  * import style css or sass with components
6
6
  *
@@ -27,7 +27,7 @@ interface TdhUIResolverOptions {
27
27
  noStylesComponents?: string[];
28
28
  }
29
29
  /**
30
- * Resolver for Element Plus
30
+ * Resolver for TDH Base UI
31
31
  *
32
32
  * See https://github.com/antfu/vite-plugin-components/pull/28 for more details
33
33
  * See https://github.com/antfu/vite-plugin-components/issues/117 for more details
@@ -36,7 +36,7 @@ interface TdhUIResolverOptions {
36
36
  * @link for @tdh-ui/base
37
37
  *
38
38
  */
39
- declare function TdhUIResolver(options?: TdhUIResolverOptions): ComponentResolver[];
39
+ declare function TdhBaseUIResolver(options?: TdhBaseUIResolverOptions): ComponentResolver[];
40
40
 
41
- export { TdhUIResolver };
42
- export type { TdhUIResolverOptions };
41
+ export { TdhBaseUIResolver };
42
+ export type { TdhBaseUIResolverOptions };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ComponentResolver } from 'unplugin-vue-components';
2
2
 
3
- interface TdhUIResolverOptions {
3
+ interface TdhBaseUIResolverOptions {
4
4
  /**
5
5
  * import style css or sass with components
6
6
  *
@@ -27,7 +27,7 @@ interface TdhUIResolverOptions {
27
27
  noStylesComponents?: string[];
28
28
  }
29
29
  /**
30
- * Resolver for Element Plus
30
+ * Resolver for TDH Base UI
31
31
  *
32
32
  * See https://github.com/antfu/vite-plugin-components/pull/28 for more details
33
33
  * See https://github.com/antfu/vite-plugin-components/issues/117 for more details
@@ -36,7 +36,7 @@ interface TdhUIResolverOptions {
36
36
  * @link for @tdh-ui/base
37
37
  *
38
38
  */
39
- declare function TdhUIResolver(options?: TdhUIResolverOptions): ComponentResolver[];
39
+ declare function TdhBaseUIResolver(options?: TdhBaseUIResolverOptions): ComponentResolver[];
40
40
 
41
- export { TdhUIResolver };
42
- export type { TdhUIResolverOptions };
41
+ export { TdhBaseUIResolver };
42
+ export type { TdhBaseUIResolverOptions };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ComponentResolver } from 'unplugin-vue-components';
2
2
 
3
- interface TdhUIResolverOptions {
3
+ interface TdhBaseUIResolverOptions {
4
4
  /**
5
5
  * import style css or sass with components
6
6
  *
@@ -27,7 +27,7 @@ interface TdhUIResolverOptions {
27
27
  noStylesComponents?: string[];
28
28
  }
29
29
  /**
30
- * Resolver for Element Plus
30
+ * Resolver for TDH Base UI
31
31
  *
32
32
  * See https://github.com/antfu/vite-plugin-components/pull/28 for more details
33
33
  * See https://github.com/antfu/vite-plugin-components/issues/117 for more details
@@ -36,7 +36,7 @@ interface TdhUIResolverOptions {
36
36
  * @link for @tdh-ui/base
37
37
  *
38
38
  */
39
- declare function TdhUIResolver(options?: TdhUIResolverOptions): ComponentResolver[];
39
+ declare function TdhBaseUIResolver(options?: TdhBaseUIResolverOptions): ComponentResolver[];
40
40
 
41
- export { TdhUIResolver };
42
- export type { TdhUIResolverOptions };
41
+ export { TdhBaseUIResolver };
42
+ export type { TdhBaseUIResolverOptions };
package/dist/index.mjs CHANGED
@@ -55,7 +55,7 @@ function resolveDirective(name, options) {
55
55
  };
56
56
  }
57
57
  const noStylesComponents = ["ElAutoResizer"];
58
- function TdhUIResolver(options = {}) {
58
+ function TdhBaseUIResolver(options = {}) {
59
59
  let optionsResolved;
60
60
  async function resolveOptions() {
61
61
  if (optionsResolved) return optionsResolved;
@@ -88,4 +88,4 @@ function TdhUIResolver(options = {}) {
88
88
  ];
89
89
  }
90
90
 
91
- export { TdhUIResolver };
91
+ export { TdhBaseUIResolver };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tdh-ui/unplugin-resolver",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "dist"