@ubean/icon 0.4.5 → 0.4.6

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 CHANGED
@@ -2,7 +2,7 @@ import { a as IconifyIconData, c as ScannedIconUsage, i as IconifyCollection, n
2
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";
3
3
  import { PropType } from "vue";
4
4
  //#region src/index.d.ts
5
- interface UbeanIconProps {
5
+ export interface UbeanIconProps {
6
6
  name: string;
7
7
  size?: string | number;
8
8
  color?: string;
@@ -14,7 +14,7 @@ interface UbeanIconProps {
14
14
  rotate?: number | string;
15
15
  inline?: boolean;
16
16
  }
17
- declare const Icon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
17
+ export declare const Icon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
18
18
  name: {
19
19
  type: PropType<string>;
20
20
  required: true;
@@ -109,14 +109,14 @@ declare const Icon: import("vue").DefineComponent<import("vue").ExtractPropTypes
109
109
  rotate: string | number;
110
110
  inline: boolean;
111
111
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
112
- declare function defineIconCollection(collection: IconifyCollection): IconifyCollection;
113
- declare function defineIconCollectionLoader(prefix: string, loader: () => Promise<IconifyCollection>): {
112
+ export declare function defineIconCollection(collection: IconifyCollection): IconifyCollection;
113
+ export declare function defineIconCollectionLoader(prefix: string, loader: () => Promise<IconifyCollection>): {
114
114
  prefix: string;
115
115
  load: () => Promise<IconifyCollection>;
116
116
  };
117
- declare function useIcon(name: string): {
117
+ export declare function useIcon(name: string): {
118
118
  getSvg: () => Promise<string | null>;
119
119
  getSvgSync: () => string | null;
120
120
  };
121
121
  //#endregion
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 };
122
+ export { type CustomCollectionDirConfig, Icon as default, type IconCollectionLoader, type IconifyAlias, type IconifyCollection, type IconifyIconData, type ResolvedCustomCollection, type ResolvedIconData, type ScannedIconUsage, buildIconCssIcon, clearCollections, configureIconRuntime, createCollectionFromSvgMap, escapeHtml, fetchIconFromApi, generateSvg, getIcon, getIconConfig, getIconData, getIconSync, getLoadedCollection, listLoadedCollections, loadCollection, normalizeIconName, parseIconName, parseSvgToIconData, registerCollection, registerCollectionLoader, resolveAlias, resolveIconData, scanVueSfcForIcons };
package/dist/vite.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { i as IconifyCollection, l as UbeanIconOptions } from "./types-CVT8GSd7.js";
2
2
  import { Plugin } from "vite";
3
3
  //#region src/vite.d.ts
4
- declare function ubeanIconPlugin(userOptions?: UbeanIconOptions): Plugin;
5
- declare function addIconCollection(pluginOptions: UbeanIconOptions, prefix: string, collection: IconifyCollection): void;
4
+ export declare function ubeanIconPlugin(userOptions?: UbeanIconOptions): Plugin;
5
+ export declare function addIconCollection(pluginOptions: UbeanIconOptions, prefix: string, collection: IconifyCollection): void;
6
6
  //#endregion
7
- export { type IconifyCollection, type UbeanIconOptions, addIconCollection, ubeanIconPlugin };
7
+ export type { IconifyCollection, UbeanIconOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubean/icon",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Icon module for ubean with Iconify integration",
5
5
  "files": [
6
6
  "dist"
@@ -29,9 +29,9 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^26.5.0",
32
- "typescript": "7.0.2",
33
- "vite": "npm:@voidzero-dev/vite-plus-core@0.3.0",
34
- "vite-plus": "0.3.0",
32
+ "typescript": "npm:typescript-native-bridge@latest",
33
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
34
+ "vite-plus": "0.3.1",
35
35
  "vue": "^3.5.42"
36
36
  },
37
37
  "peerDependencies": {