@ubean/icon 0.1.13 → 0.2.1
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/index.d.ts +3 -4
- package/dist/index.js +2 -3
- package/dist/vite.d.ts +10525 -1
- package/dist/vite.js +2 -1
- package/package.json +5 -6
- package/dist/vite-B6Jt3L2U.d.ts +0 -10408
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { a as IconifyIconData,
|
|
2
|
-
import { n as
|
|
3
|
-
import { S as scanVueSfcForIcons, _ as parseSvgToIconData, a as clearCollections, c as generateSvg, d as getIconSync, f as getLoadedCollection, g as parseIconName, h as normalizeIconName, i as getIconConfig, l as getIcon, m as loadCollection, n as configureIconRuntime, o as createCollectionFromSvgMap, p as listLoadedCollections, r as fetchIconFromApi, s as escapeHtml, t as buildIconCssIcon, u as getIconData, v as registerCollection, x as resolveIconData, y as registerCollectionLoader } from "./runtime-Hp8OXvtC.js";
|
|
1
|
+
import { a as IconifyIconData, c as ScannedIconUsage, i as IconifyCollection, n as IconCollectionLoader, o as ResolvedCustomCollection, r as IconifyAlias, s as ResolvedIconData, t as CustomCollectionDirConfig } from "./types-CVT8GSd7.js";
|
|
2
|
+
import { S as scanVueSfcForIcons, _ as parseSvgToIconData, a as clearCollections, b as resolveAlias, c as generateSvg, d as getIconSync, f as getLoadedCollection, g as parseIconName, h as normalizeIconName, i as getIconConfig, l as getIcon, m as loadCollection, n as configureIconRuntime, o as createCollectionFromSvgMap, p as listLoadedCollections, r as fetchIconFromApi, s as escapeHtml, t as buildIconCssIcon, u as getIconData, v as registerCollection, x as resolveIconData, y as registerCollectionLoader } from "./runtime-Hp8OXvtC.js";
|
|
4
3
|
import { PropType } from "vue";
|
|
5
4
|
//#region src/index.d.ts
|
|
6
5
|
interface UbeanIconProps {
|
|
@@ -120,4 +119,4 @@ declare function useIcon(name: string): {
|
|
|
120
119
|
getSvgSync: () => string | null;
|
|
121
120
|
};
|
|
122
121
|
//#endregion
|
|
123
|
-
export { type CustomCollectionDirConfig, Icon, Icon as default, type IconCollectionLoader, type IconifyAlias, type IconifyCollection, type IconifyIconData, type ResolvedCustomCollection, type ResolvedIconData, type
|
|
122
|
+
export { type CustomCollectionDirConfig, Icon, Icon as default, type IconCollectionLoader, type IconifyAlias, type IconifyCollection, type IconifyIconData, type ResolvedCustomCollection, type ResolvedIconData, type ScannedIconUsage, UbeanIconProps, buildIconCssIcon, clearCollections, configureIconRuntime, createCollectionFromSvgMap, defineIconCollection, defineIconCollectionLoader, escapeHtml, fetchIconFromApi, generateSvg, getIcon, getIconConfig, getIconData, getIconSync, getLoadedCollection, listLoadedCollections, loadCollection, normalizeIconName, parseIconName, parseSvgToIconData, registerCollection, registerCollectionLoader, resolveAlias, resolveIconData, scanVueSfcForIcons, useIcon };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { _ as resolveIconData, a as getIcon, c as getLoadedCollection, d as normalizeIconName, f as parseIconName, h as registerCollectionLoader, i as generateSvg, l as listLoadedCollections, m as registerCollection, n as createCollectionFromSvgMap, o as getIconData, p as parseSvgToIconData, r as escapeHtml, s as getIconSync, t as clearCollections, u as loadCollection, v as scanVueSfcForIcons } from "./core-NcYHbOE5.js";
|
|
1
|
+
import { _ as resolveIconData, a as getIcon, c as getLoadedCollection, d as normalizeIconName, f as parseIconName, g as resolveAlias, h as registerCollectionLoader, i as generateSvg, l as listLoadedCollections, m as registerCollection, n as createCollectionFromSvgMap, o as getIconData, p as parseSvgToIconData, r as escapeHtml, s as getIconSync, t as clearCollections, u as loadCollection, v as scanVueSfcForIcons } from "./core-NcYHbOE5.js";
|
|
2
2
|
import { buildIconCssIcon, configureIconRuntime, fetchIconFromApi, getIconConfig } from "./runtime.js";
|
|
3
|
-
import { addIconCollection, ubeanIconPlugin } from "./vite.js";
|
|
4
3
|
import { computed, defineComponent, h, ref, watchEffect } from "vue";
|
|
5
4
|
//#region src/index.ts
|
|
6
5
|
const Icon = defineComponent({
|
|
@@ -173,4 +172,4 @@ function useIcon(name) {
|
|
|
173
172
|
};
|
|
174
173
|
}
|
|
175
174
|
//#endregion
|
|
176
|
-
export { Icon, Icon as default,
|
|
175
|
+
export { Icon, Icon as default, buildIconCssIcon, clearCollections, configureIconRuntime, createCollectionFromSvgMap, defineIconCollection, defineIconCollectionLoader, escapeHtml, fetchIconFromApi, generateSvg, getIcon, getIconConfig, getIconData, getIconSync, getLoadedCollection, listLoadedCollections, loadCollection, normalizeIconName, parseIconName, parseSvgToIconData, registerCollection, registerCollectionLoader, resolveAlias, resolveIconData, scanVueSfcForIcons, useIcon };
|