1 | import { PluginOption } from 'vite';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | type IconifySet = 'academicons' | 'akar-icons' | 'ant-design' | 'arcticons' | 'basil' | 'bi' | 'bpmn' | 'brandico' | 'bx' | 'bxl' | 'bxs' | 'bytesize' | 'carbon' | 'charm' | 'ci' | 'cib' | 'cif' | 'cil' | 'circle-flags' | 'circum' | 'clarity' | 'codicon' | 'covid' | 'cryptocurrency-color' | 'cryptocurrency' | 'dashicons' | 'devicon-line' | 'devicon-original' | 'devicon-plain' | 'devicon' | 'ei' | 'el' | 'emblemicons' | 'emojione-monotone' | 'emojione-v1' | 'emojione' | 'entypo-social' | 'entypo' | 'eos-icons' | 'ep' | 'et' | 'eva' | 'fa-brands' | 'fa-regular' | 'fa-solid' | 'fa' | 'fa6-brands' | 'fa6-regular' | 'fa6-solid' | 'fad' | 'fe' | 'feather' | 'file-icons' | 'flag' | 'flagpack' | 'flat-color-icons' | 'flat-ui' | 'fluent-emoji-flat' | 'fluent-emoji-high-contrast' | 'fluent-emoji' | 'fluent-mdl2' | 'fluent' | 'fontelico' | 'fontisto' | 'formkit' | 'foundation' | 'fxemoji' | 'gala' | 'game-icons' | 'geo' | 'gg' | 'gis' | 'gridicons' | 'grommet-icons' | 'guidance' | 'healthicons' | 'heroicons-outline' | 'heroicons-solid' | 'heroicons' | 'humbleicons' | 'ic' | 'icomoon-free' | 'icon-park-outline' | 'icon-park-solid' | 'icon-park-twotone' | 'icon-park' | 'iconamoon' | 'iconoir' | 'icons8' | 'il' | 'ion' | 'iwwa' | 'jam' | 'la' | 'line-md' | 'logos' | 'ls' | 'lucide' | 'majesticons' | 'maki' | 'map' | 'material-symbols-light' | 'material-symbols' | 'mdi-light' | 'mdi' | 'medical-icon' | 'memory' | 'meteocons' | 'mi' | 'mingcute' | 'mono-icons' | 'mynaui' | 'nimbus' | 'nonicons' | 'noto-v1' | 'noto' | 'octicon' | 'oi' | 'ooui' | 'openmoji' | 'pajamas' | 'pepicons-pencil' | 'pepicons-pop' | 'pepicons-print' | 'pepicons' | 'ph' | 'pixelarticons' | 'prime' | 'ps' | 'quill' | 'radix-icons' | 'raphael' | 'ri' | 'si-glyph' | 'simple-icons' | 'simple-line-icons' | 'skill-icons' | 'solar' | 'streamline-emojis' | 'streamline' | 'subway' | 'svg-spinners' | 'system-uicons' | 'tabler' | 'tdesign' | 'teenyicons' | 'topcoat' | 'twemoji' | 'typcn' | 'uil' | 'uim' | 'uis' | 'uit' | 'uiw' | 'vaadin' | 'vs' | 'vscode-icons' | 'websymbol' | 'whh' | 'wi' | 'wpf' | 'zmdi' | 'zondicons';
|
7 |
|
8 |
|
9 |
|
10 | interface IconifyLocal {
|
11 | |
12 |
|
13 |
|
14 | sets: IconifySet[];
|
15 | |
16 |
|
17 |
|
18 |
|
19 | base?: string;
|
20 | |
21 |
|
22 |
|
23 |
|
24 | outDir?: string;
|
25 | |
26 |
|
27 |
|
28 |
|
29 | path?: string;
|
30 | |
31 |
|
32 |
|
33 |
|
34 | copy?: boolean;
|
35 | }
|
36 |
|
37 |
|
38 |
|
39 | interface IconifyOptions {
|
40 | |
41 |
|
42 |
|
43 |
|
44 | selector?: string;
|
45 | |
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 | resources?: string[];
|
64 | |
65 |
|
66 |
|
67 |
|
68 | local?: boolean | IconifySet[] | IconifyLocal;
|
69 | |
70 |
|
71 |
|
72 |
|
73 | rotate?: number;
|
74 | |
75 |
|
76 |
|
77 |
|
78 | timeout?: number;
|
79 | }
|
80 |
|
81 |
|
82 |
|
83 |
|
84 | declare function useIconifyPlugin(options?: IconifyOptions): PluginOption;
|
85 |
|
86 | export { type IconifyLocal, type IconifyOptions, type IconifySet, useIconifyPlugin as default, useIconifyPlugin };
|