@genarou/blazir-icons 1.2.20 → 1.3.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.
Files changed (69) hide show
  1. package/LICENSE +121 -0
  2. package/README.md +1206 -0
  3. package/dist/CustomIcon.svelte +30 -0
  4. package/dist/CustomIcon.svelte.d.ts +14 -0
  5. package/dist/Icon.svelte +282 -102
  6. package/dist/Icon.svelte.d.ts +12 -5
  7. package/dist/IconBadge.svelte +75 -0
  8. package/dist/IconBadge.svelte.d.ts +16 -0
  9. package/dist/IconBase.svelte +89 -57
  10. package/dist/effects.js +1 -3
  11. package/dist/icons/Camera.svelte +19 -0
  12. package/dist/icons/Camera.svelte.d.ts +4 -0
  13. package/dist/icons/Cards.svelte +19 -0
  14. package/dist/icons/Cards.svelte.d.ts +4 -0
  15. package/dist/icons/CloudAlert.svelte +19 -0
  16. package/dist/icons/CloudAlert.svelte.d.ts +4 -0
  17. package/dist/icons/CloudCheck.svelte +19 -0
  18. package/dist/icons/CloudCheck.svelte.d.ts +4 -0
  19. package/dist/icons/CloudDownload.svelte +19 -0
  20. package/dist/icons/CloudDownload.svelte.d.ts +4 -0
  21. package/dist/icons/CreditCard.svelte +19 -0
  22. package/dist/icons/CreditCard.svelte.d.ts +4 -0
  23. package/dist/icons/Desktop.svelte +19 -0
  24. package/dist/icons/Desktop.svelte.d.ts +4 -0
  25. package/dist/icons/DoughnutChart.svelte +19 -0
  26. package/dist/icons/DoughnutChart.svelte.d.ts +4 -0
  27. package/dist/icons/Earth.svelte +19 -0
  28. package/dist/icons/Earth.svelte.d.ts +4 -0
  29. package/dist/icons/Globe.svelte +19 -0
  30. package/dist/icons/Globe.svelte.d.ts +4 -0
  31. package/dist/icons/LightHub.svelte +19 -0
  32. package/dist/icons/LightHub.svelte.d.ts +4 -0
  33. package/dist/icons/Link.svelte +19 -0
  34. package/dist/icons/Link.svelte.d.ts +4 -0
  35. package/dist/icons/Power.svelte +19 -0
  36. package/dist/icons/Power.svelte.d.ts +4 -0
  37. package/dist/icons/Receipt.svelte +19 -0
  38. package/dist/icons/Receipt.svelte.d.ts +4 -0
  39. package/dist/icons/Sync.svelte +19 -0
  40. package/dist/icons/Sync.svelte.d.ts +4 -0
  41. package/dist/icons/Upload.svelte +12 -57
  42. package/dist/icons/Wifi.svelte +19 -0
  43. package/dist/icons/Wifi.svelte.d.ts +4 -0
  44. package/dist/icons/lazy-registry.d.ts +21 -0
  45. package/dist/icons/lazy-registry.js +251 -0
  46. package/dist/icons/registry.d.ts +145 -134
  47. package/dist/icons/registry.js +177 -137
  48. package/dist/icons-api.d.ts +65 -267
  49. package/dist/icons-api.js +82 -465
  50. package/dist/index.d.ts +5 -5
  51. package/dist/index.js +14 -11
  52. package/dist/plugin/index.d.ts +46 -0
  53. package/dist/plugin/index.js +327 -0
  54. package/dist/smart-cache.d.ts +35 -0
  55. package/dist/smart-cache.js +192 -0
  56. package/dist/types.d.ts +19 -2
  57. package/dist/utils/sanitize.d.ts +25 -0
  58. package/dist/utils/sanitize.js +109 -0
  59. package/package.json +23 -13
  60. package/dist/icons/Aws.svelte +0 -19
  61. package/dist/icons/Aws.svelte.d.ts +0 -4
  62. package/dist/icons/Facebook.svelte +0 -18
  63. package/dist/icons/Facebook.svelte.d.ts +0 -4
  64. package/dist/icons/Golang.svelte +0 -17
  65. package/dist/icons/Golang.svelte.d.ts +0 -4
  66. package/dist/icons/Google.svelte +0 -18
  67. package/dist/icons/Google.svelte.d.ts +0 -4
  68. package/dist/icons/Paypal.svelte +0 -21
  69. package/dist/icons/Paypal.svelte.d.ts +0 -4
@@ -5,16 +5,17 @@ export type IconComponent = IconRegistry[IconName];
5
5
  export declare const bzIcons: {
6
6
  readonly Home: "home";
7
7
  readonly Dashboard: "dashboard";
8
- readonly DashboardO: "dashboardO";
8
+ readonly DashboardOutline: "dashboardOutline";
9
9
  readonly Settings: "settings";
10
- readonly Search: "magnifyingGlass";
11
- readonly Filter: "filterOutline";
12
- readonly FilterOutline: "filterOutline";
13
- readonly HamburgerMenu: "hamburguer";
10
+ readonly Search: "search";
11
+ readonly Filter: "filter";
12
+ readonly Menu: "menu";
14
13
  readonly Close: "close";
15
14
  readonly Plus: "plus";
16
15
  readonly Copy: "copy";
17
16
  readonly Rocket: "rocket";
17
+ readonly Sidebar: "sidebar";
18
+ readonly More: "more";
18
19
  readonly User: "user";
19
20
  readonly UserTie: "userTie";
20
21
  readonly Team: "team";
@@ -30,6 +31,7 @@ export declare const bzIcons: {
30
31
  readonly Shield: "shield";
31
32
  readonly Fingerprint: "fingerprint";
32
33
  readonly Contact: "contact";
34
+ readonly Security: "security";
33
35
  readonly Email: "email";
34
36
  readonly EmailAnimated: "emailAnimated";
35
37
  readonly Phone: "phone";
@@ -37,101 +39,109 @@ export declare const bzIcons: {
37
39
  readonly Send: "send";
38
40
  readonly Share: "share";
39
41
  readonly World: "world";
42
+ readonly Chat: "chat";
43
+ readonly Link: "link";
40
44
  readonly Building: "building";
41
- readonly HandShake: "handShake";
45
+ readonly Handshake: "handshake";
42
46
  readonly Money: "money";
43
47
  readonly Wallet: "wallet";
44
48
  readonly Profit: "profit";
45
- readonly SafeSolid: "safeSolid";
46
- readonly CostIcon: "costIcon";
49
+ readonly Safe: "safe";
50
+ readonly Cost: "cost";
47
51
  readonly Exchange: "exchange";
48
52
  readonly Swap: "swap";
49
53
  readonly Bank: "bank";
54
+ readonly Pay: "pay";
55
+ readonly CreditCard: "creditCard";
56
+ readonly Receipt: "receipt";
57
+ readonly Buy: "buy";
50
58
  readonly Chart: "chart";
51
- readonly ChartDoc: "chartDoc";
52
- readonly SquareChart: "squareChart";
59
+ readonly ChartDocument: "chartDocument";
60
+ readonly ChartSquare: "chartSquare";
61
+ readonly ChartDoughnut: "chartDoughnut";
53
62
  readonly Table: "table";
54
63
  readonly List: "list";
55
64
  readonly ListDots: "listDots";
56
- readonly FormatListGroup: "formatListGroup";
57
- readonly Lose: "lose";
65
+ readonly ListGroup: "listGroup";
66
+ readonly TrendingDown: "trendingDown";
67
+ readonly Database: "database";
68
+ readonly Server: "server";
58
69
  readonly File: "file";
59
70
  readonly Pdf: "pdf";
71
+ readonly Excel: "excel";
60
72
  readonly ExcelAnimated: "excelAnimated";
61
- readonly Notes: "notes";
62
- readonly Book: "book";
63
- readonly Image: "image";
64
- readonly ImageAnimated: "imageAnimated";
73
+ readonly Word: "word";
74
+ readonly PowerPoint: "powerPoint";
65
75
  readonly Csv: "csv";
66
76
  readonly Xml: "xml";
67
77
  readonly Zip: "zip";
68
78
  readonly Png: "png";
69
- readonly Excel: "excel";
70
- readonly PowerPoint: "powerPoint";
71
- readonly Word: "word";
79
+ readonly Notes: "notes";
80
+ readonly Book: "book";
81
+ readonly Image: "image";
82
+ readonly ImageAnimated: "imageAnimated";
72
83
  readonly Folder: "folder";
84
+ readonly FolderShared: "folderShared";
73
85
  readonly Attachment: "attachment";
74
86
  readonly Save: "save";
87
+ readonly Form: "form";
88
+ readonly Print: "print";
75
89
  readonly Calendar: "calendar";
76
90
  readonly CalendarPlus: "calendarPlus";
77
91
  readonly CalendarEdit: "calendarEdit";
78
92
  readonly Timer: "timer";
79
- readonly RightArrow: "rightArrow";
80
- readonly UpArrow: "upArrow";
81
- readonly UpDownArrow: "upDownArrow";
82
- readonly AnimatedArrowLeft: "animatedArrowLeft";
93
+ readonly ArrowRight: "arrowRight";
94
+ readonly ArrowUp: "arrowUp";
95
+ readonly ArrowUpDown: "arrowUpDown";
96
+ readonly ArrowLeftAnimated: "arrowLeftAnimated";
83
97
  readonly ChevronDown: "chevronDown";
84
98
  readonly ChevronUpDown: "chevronUpDown";
85
- readonly Selector: "chevronUpDown";
86
99
  readonly Download: "download";
87
100
  readonly DownloadAnimated: "downloadAnimated";
88
101
  readonly Upload: "upload";
89
102
  readonly UploadAnimated: "uploadAnimated";
90
- readonly UploadLoader: "uploadLoader";
91
- readonly FileUpdateAnimated: "fileUpdateAnimated";
103
+ readonly UploadProgress: "uploadProgress";
104
+ readonly FileUploadAnimated: "fileUploadAnimated";
92
105
  readonly Refresh: "refresh";
93
- readonly More: "more";
94
106
  readonly Check: "check";
95
- readonly CheckO: "checkO";
107
+ readonly CheckOutline: "checkOutline";
108
+ readonly CheckList: "checkList";
96
109
  readonly CircleCheck: "circleCheck";
97
110
  readonly Error: "error";
98
- readonly ErrorO: "errorO";
111
+ readonly ErrorOutline: "errorOutline";
99
112
  readonly CircleExclamation: "circleExclamation";
113
+ readonly CircleExclamationOutline: "circleExclamationOutline";
100
114
  readonly Warning: "warning";
101
115
  readonly CircleInfo: "circleInfo";
116
+ readonly CircleInfoOutline: "circleInfoOutline";
102
117
  readonly CircleQuestion: "circleQuestion";
118
+ readonly CircleQuestionOutline: "circleQuestionOutline";
103
119
  readonly Star: "star";
104
120
  readonly Favorites: "favorites";
121
+ readonly Heart: "heart";
105
122
  readonly Reset: "reset";
106
123
  readonly Height: "height";
107
124
  readonly Alternate: "alternate";
108
- readonly CheckList: "checkList";
109
- readonly X: "close";
110
- readonly CircleExclamationO: "circleExclamationO";
111
- readonly CircleInfoO: "circleInfoO";
112
- readonly CircleQuestionO: "circleQuestionO";
113
- readonly Heart: "heart";
114
125
  readonly Moon: "moon";
115
126
  readonly Sun: "sun";
116
- readonly Loading: "loadingDots";
117
- readonly LoadingDots: "loadingDots";
118
- readonly LoadingRegular: "loadingRegular";
127
+ readonly Colors: "colors";
128
+ readonly SpinnerDots: "spinnerDots";
129
+ readonly Spinner: "spinner";
119
130
  readonly Product: "product";
120
131
  readonly Bag: "bag";
121
- readonly SaleBox: "pointSale";
132
+ readonly POS: "pos";
122
133
  readonly Category: "category";
123
134
  readonly CategoryAdd: "categoryAdd";
124
- readonly Subcategory: "categorySearch";
125
135
  readonly CategorySearch: "categorySearch";
126
136
  readonly BoxAdd: "boxAdd";
127
137
  readonly Measure: "measure";
128
138
  readonly Box: "box";
129
- readonly ScanBar: "scan";
139
+ readonly Scan: "scan";
130
140
  readonly Cart: "cart";
131
- readonly Pay: "pay";
141
+ readonly Cards: "cards";
132
142
  readonly Truck: "truck";
133
143
  readonly TruckReturn: "truckReturn";
134
- readonly Storehouse: "warehouse";
144
+ readonly Warehouse: "warehouse";
135
145
  readonly Location: "location";
136
146
  readonly LocationAnimated: "locationAnimated";
137
147
  readonly AI: "ai";
@@ -139,233 +149,21 @@ export declare const bzIcons: {
139
149
  readonly EditOutline: "editOutline";
140
150
  readonly Trash: "trash";
141
151
  readonly TrashOutline: "trashOutline";
142
- readonly Security: "security";
143
- readonly Db: "db";
144
- readonly Server: "server";
145
- readonly Print: "print";
146
- readonly Form: "form";
147
- readonly Colors: "colors";
148
- readonly SharedFolder: "sharedFolder";
149
152
  readonly Tags: "tags";
150
153
  readonly Tools: "tools";
151
- readonly Sidebar: "sidebar";
152
154
  readonly ObjectGroup: "objectGroup";
153
155
  readonly Project: "project";
154
- readonly Google: "google";
155
- readonly Aws: "aws";
156
- readonly Golang: "golang";
157
- readonly Facebook: "facebook";
158
- readonly PayPal: "paypal";
156
+ readonly Camera: "camera";
157
+ readonly Desktop: "desktop";
158
+ readonly Wifi: "wifi";
159
+ readonly Power: "power";
160
+ readonly CloudAlert: "cloudAlert";
161
+ readonly CloudCheck: "cloudCheck";
162
+ readonly CloudDownload: "cloudDownload";
163
+ readonly Blaze: "blaze";
164
+ readonly Earth: "earth";
165
+ readonly Globe: "globe";
166
+ readonly LightHub: "lightHub";
167
+ readonly Sync: "sync";
159
168
  };
160
169
  export type BzIconKey = keyof typeof bzIcons;
161
- export declare const iconCategories: {
162
- readonly navigation: readonly ["home", "dashboard", "settings", "search", "magnifyingGlass", "filterOutline", "hamburguer", "close", "plus", "copy"];
163
- readonly users: readonly ["user", "userTie", "team", "group", "supervisor", "enterprise", "lock", "lockOpen", "key", "logout", "eye", "eyeOff", "shield"];
164
- readonly communication: readonly ["email", "emailAnimated", "phone", "bell"];
165
- readonly business: readonly ["building", "handShake", "money", "wallet", "safeSolid", "costIcon", "exchange", "swap"];
166
- readonly data: readonly ["chart", "chartDoc", "squareChart", "table", "list", "listDots", "formatListGroup", "checkList"];
167
- readonly files: readonly ["file", "pdf", "excelAnimated", "notes", "book", "image", "imageAnimated", "csv", "xml", "zip", "png"];
168
- readonly calendar: readonly ["calendar", "calendarPlus", "calendarEdit"];
169
- readonly arrows: readonly ["rightArrow", "upArrow", "upDownArrow", "animatedArrowLeft", "chevronDown", "chevronUpDown", "chevronDown"];
170
- readonly actions: readonly ["download", "downloadAnimated", "upload", "uploadAnimated", "uploadLoader", "fileUpdateAnimated"];
171
- readonly feedback: readonly ["check", "checkO", "circleCheck", "error", "errorO", "circleExclamation", "warning", "circleInfo", "circleQuestion", "favorites", "star", "reset", "alternate", "height", "sidebar"];
172
- readonly loading: readonly ["loadingDots", "loadingRegular"];
173
- readonly commerce: readonly ["product", "bag", "pointSale", "categoryAdd", "categorySearch", "boxAdd", "measure", "box"];
174
- readonly logistics: readonly ["truck", "truckReturn", "warehouse", "location", "locationAnimated"];
175
- readonly tools: readonly ["editOutline", "trash", "trashOutline", "scan", "security", "tools", "colors", "sharedFolder", "more"];
176
- readonly entities: readonly ["objectGroup", "project", "tags"];
177
- readonly tech: readonly ["google", "aws", "golang", "facebook"];
178
- };
179
- export type IconCategory = keyof typeof iconCategories;
180
- export declare const icons: {
181
- readonly actions: {
182
- readonly plus: "plus";
183
- readonly download: "download";
184
- readonly downloadAnimated: "downloadAnimated";
185
- readonly edit: "editOutline";
186
- readonly upload: "upload";
187
- readonly uploadAnimated: "uploadAnimated";
188
- readonly uploadLoader: "uploadLoader";
189
- readonly fileUpdateAnimated: "fileUpdateAnimated";
190
- readonly delete: "trash";
191
- readonly x: "close";
192
- readonly check: "check";
193
- readonly filter: "filterOutline";
194
- readonly copy: "copy";
195
- readonly favorites: "favorites";
196
- readonly star: "star";
197
- readonly trash: "trash";
198
- readonly trashOutline: "trashOutline";
199
- readonly refresh: "refresh";
200
- };
201
- readonly nav: {
202
- readonly home: "home";
203
- readonly dashboard: "dashboard";
204
- readonly settings: "settings";
205
- readonly hamburgerMenu: "hamburguer";
206
- readonly close: "close";
207
- readonly search: "magnifyingGlass";
208
- readonly filter: "filterOutline";
209
- readonly copy: "copy";
210
- readonly location: "location";
211
- readonly locationAnimated: "locationAnimated";
212
- };
213
- readonly user: {
214
- readonly profile: "user";
215
- readonly team: "team";
216
- readonly supervisor: "supervisor";
217
- readonly enterprise: "enterprise";
218
- readonly key: "key";
219
- readonly logout: "logout";
220
- readonly lock: "lock";
221
- readonly lockOpen: "lockOpen";
222
- readonly eye: "eye";
223
- readonly eyeOff: "eyeOff";
224
- readonly shield: "shield";
225
- };
226
- readonly comm: {
227
- readonly email: "email";
228
- readonly phone: "phone";
229
- readonly bell: "bell";
230
- };
231
- readonly business: {
232
- readonly building: "building";
233
- readonly handshake: "handShake";
234
- readonly money: "money";
235
- readonly wallet: "wallet";
236
- readonly profit: "profit";
237
- readonly cost: "costIcon";
238
- readonly exchange: "exchange";
239
- readonly swap: "swap";
240
- };
241
- readonly data: {
242
- readonly chart: "chart";
243
- readonly chartDoc: "chartDoc";
244
- readonly squareChart: "squareChart";
245
- readonly table: "table";
246
- readonly list: "list";
247
- readonly listDots: "listDots";
248
- readonly formatListGroup: "formatListGroup";
249
- readonly checkList: "checkList";
250
- readonly sharedFolder: "sharedFolder";
251
- };
252
- readonly file: {
253
- readonly file: "file";
254
- readonly pdf: "pdf";
255
- readonly notes: "notes";
256
- readonly book: "book";
257
- readonly csv: "csv";
258
- readonly xml: "xml";
259
- readonly zip: "zip";
260
- readonly png: "png";
261
- readonly excelAnimated: "excelAnimated";
262
- readonly image: "image";
263
- readonly imageAnimated: "imageAnimated";
264
- readonly attachment: "attachment";
265
- readonly save: "save";
266
- readonly folder: "folder";
267
- };
268
- readonly calendar: {
269
- readonly calendar: "calendar";
270
- readonly calendarPlus: "calendarPlus";
271
- readonly calendarEdit: "calendarEdit";
272
- };
273
- readonly arrows: {
274
- readonly right: "rightArrow";
275
- readonly up: "upArrow";
276
- readonly upDown: "upDownArrow";
277
- readonly chevronDown: "chevronDown";
278
- readonly chevronUpDown: "chevronUpDown";
279
- readonly selector: "chevronUpDown";
280
- readonly animatedArrowLeft: "animatedArrowLeft";
281
- readonly lose: "lose";
282
- };
283
- readonly status: {
284
- readonly check: "check";
285
- readonly checkO: "checkO";
286
- readonly circleCheck: "circleCheck";
287
- readonly error: "error";
288
- readonly errorO: "errorO";
289
- readonly circleExclamation: "circleExclamation";
290
- readonly warning: "warning";
291
- readonly info: "circleInfo";
292
- readonly question: "circleQuestion";
293
- readonly reset: "reset";
294
- readonly alternate: "alternate";
295
- readonly height: "height";
296
- readonly measure: "measure";
297
- };
298
- readonly loading: {
299
- readonly dots: "loadingDots";
300
- readonly regular: "loadingRegular";
301
- };
302
- readonly commerce: {
303
- readonly product: "product";
304
- readonly bag: "bag";
305
- readonly categoryAdd: "categoryAdd";
306
- readonly categorySearch: "categorySearch";
307
- readonly boxAdd: "boxAdd";
308
- readonly box: "box";
309
- readonly scanBar: "scan";
310
- readonly truck: "truck";
311
- readonly truckReturn: "truckReturn";
312
- readonly storehouse: "warehouse";
313
- };
314
- readonly entities: {
315
- readonly objectGroup: "objectGroup";
316
- readonly project: "project";
317
- readonly security: "security";
318
- readonly hamburgerMenu: "hamburguer";
319
- readonly colors: "colors";
320
- readonly tools: "tools";
321
- readonly more: "more";
322
- readonly sidebar: "sidebar";
323
- readonly tags: "tags";
324
- };
325
- readonly platforms: {
326
- readonly google: "google";
327
- readonly aws: "aws";
328
- readonly golang: "golang";
329
- readonly facebook: "facebook";
330
- };
331
- };
332
- export type IconShortcutCategory = keyof typeof icons;
333
- export declare class IconAPI {
334
- static getValid(...names: string[]): Array<{
335
- iconName: IconName;
336
- component: IconComponent;
337
- }>;
338
- static search(query: string): Array<{
339
- key: keyof typeof bzIcons;
340
- iconName: IconName;
341
- component: IconComponent;
342
- }>;
343
- static findByName(name: string): IconName | undefined;
344
- static getComponent(name: string): IconComponent | undefined;
345
- static exists(name: string): boolean;
346
- static getByCategory(category: keyof typeof iconCategories): Array<{
347
- iconName: IconName;
348
- component: IconComponent;
349
- }>;
350
- static getAllCategories(): Array<keyof typeof iconCategories>;
351
- static random(): {
352
- iconName: IconName;
353
- component: IconComponent;
354
- };
355
- static count(): number;
356
- static list(): Array<{
357
- key: keyof typeof bzIcons;
358
- iconName: IconName;
359
- component: IconComponent;
360
- }>;
361
- }
362
- export declare const iconStats: {
363
- readonly total: number;
364
- readonly categories: number;
365
- readonly animated: number;
366
- readonly byCategory: {
367
- [k: string]: 2 | 3 | 9 | 10 | 13 | 4 | 8 | 11 | 7 | 6 | 15 | 5;
368
- };
369
- readonly mostUsedCategory: string;
370
- readonly shortcuts: number;
371
- };