vueless 0.0.81 → 0.0.83
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 +1 -1
- package/ui.image-icon/index.vue +3 -3
- package/web-types.json +1 -1
package/package.json
CHANGED
package/ui.image-icon/index.vue
CHANGED
|
@@ -159,7 +159,7 @@ const dynamicComponent = computed(() => {
|
|
|
159
159
|
const FILL_SUFFIX = "-fill";
|
|
160
160
|
|
|
161
161
|
const defaultLibrary = defaultConfig.defaultVariants.library;
|
|
162
|
-
const userLibrary =
|
|
162
|
+
const userLibrary = config.value.defaultVariants.library;
|
|
163
163
|
|
|
164
164
|
const library = props.internal && defaultLibrary === userLibrary ? "vueless" : userLibrary;
|
|
165
165
|
const style = config.value.defaultVariants.style;
|
|
@@ -205,8 +205,8 @@ const dynamicComponent = computed(() => {
|
|
|
205
205
|
const fillType = isFill ? "solid" : "outline";
|
|
206
206
|
|
|
207
207
|
return import.meta.env.PROD
|
|
208
|
-
? await getIcon([library,
|
|
209
|
-
: import(/* @vite-ignore */ `/node_modules/${library}/${
|
|
208
|
+
? await getIcon([library, fillType, name])
|
|
209
|
+
: import(/* @vite-ignore */ `/node_modules/${library}/24/${fillType}/${name}.svg?component`);
|
|
210
210
|
},
|
|
211
211
|
};
|
|
212
212
|
/* eslint-enable vue/max-len, prettier/prettier */
|