@genarou/blazir-icons 1.2.16 → 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 (81) 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/Colors.svelte +13 -0
  22. package/dist/icons/Colors.svelte.d.ts +4 -0
  23. package/dist/icons/CreditCard.svelte +19 -0
  24. package/dist/icons/CreditCard.svelte.d.ts +4 -0
  25. package/dist/icons/Desktop.svelte +19 -0
  26. package/dist/icons/Desktop.svelte.d.ts +4 -0
  27. package/dist/icons/DoughnutChart.svelte +19 -0
  28. package/dist/icons/DoughnutChart.svelte.d.ts +4 -0
  29. package/dist/icons/Earth.svelte +19 -0
  30. package/dist/icons/Earth.svelte.d.ts +4 -0
  31. package/dist/icons/Globe.svelte +19 -0
  32. package/dist/icons/Globe.svelte.d.ts +4 -0
  33. package/dist/icons/LightHub.svelte +19 -0
  34. package/dist/icons/LightHub.svelte.d.ts +4 -0
  35. package/dist/icons/Link.svelte +19 -0
  36. package/dist/icons/Link.svelte.d.ts +4 -0
  37. package/dist/icons/More.svelte +13 -0
  38. package/dist/icons/More.svelte.d.ts +4 -0
  39. package/dist/icons/Power.svelte +19 -0
  40. package/dist/icons/Power.svelte.d.ts +4 -0
  41. package/dist/icons/Receipt.svelte +19 -0
  42. package/dist/icons/Receipt.svelte.d.ts +4 -0
  43. package/dist/icons/SharedFolder.svelte +13 -0
  44. package/dist/icons/SharedFolder.svelte.d.ts +4 -0
  45. package/dist/icons/Sidebar.svelte +13 -0
  46. package/dist/icons/Sidebar.svelte.d.ts +4 -0
  47. package/dist/icons/Sync.svelte +19 -0
  48. package/dist/icons/Sync.svelte.d.ts +4 -0
  49. package/dist/icons/Tags.svelte +13 -0
  50. package/dist/icons/Tags.svelte.d.ts +4 -0
  51. package/dist/icons/Tools.svelte +20 -0
  52. package/dist/icons/Tools.svelte.d.ts +4 -0
  53. package/dist/icons/Upload.svelte +12 -57
  54. package/dist/icons/Wifi.svelte +19 -0
  55. package/dist/icons/Wifi.svelte.d.ts +4 -0
  56. package/dist/icons/lazy-registry.d.ts +21 -0
  57. package/dist/icons/lazy-registry.js +251 -0
  58. package/dist/icons/registry.d.ts +146 -129
  59. package/dist/icons/registry.js +184 -132
  60. package/dist/icons-api.d.ts +67 -257
  61. package/dist/icons-api.js +84 -453
  62. package/dist/index.d.ts +5 -5
  63. package/dist/index.js +14 -11
  64. package/dist/plugin/index.d.ts +46 -0
  65. package/dist/plugin/index.js +327 -0
  66. package/dist/smart-cache.d.ts +35 -0
  67. package/dist/smart-cache.js +192 -0
  68. package/dist/types.d.ts +19 -2
  69. package/dist/utils/sanitize.d.ts +25 -0
  70. package/dist/utils/sanitize.js +109 -0
  71. package/package.json +23 -13
  72. package/dist/icons/Aws.svelte +0 -19
  73. package/dist/icons/Aws.svelte.d.ts +0 -4
  74. package/dist/icons/Facebook.svelte +0 -18
  75. package/dist/icons/Facebook.svelte.d.ts +0 -4
  76. package/dist/icons/Golang.svelte +0 -17
  77. package/dist/icons/Golang.svelte.d.ts +0 -4
  78. package/dist/icons/Google.svelte +0 -18
  79. package/dist/icons/Google.svelte.d.ts +0 -4
  80. package/dist/icons/Paypal.svelte +0 -21
  81. 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,100 +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
106
  readonly Check: "check";
94
- readonly CheckO: "checkO";
107
+ readonly CheckOutline: "checkOutline";
108
+ readonly CheckList: "checkList";
95
109
  readonly CircleCheck: "circleCheck";
96
110
  readonly Error: "error";
97
- readonly ErrorO: "errorO";
111
+ readonly ErrorOutline: "errorOutline";
98
112
  readonly CircleExclamation: "circleExclamation";
113
+ readonly CircleExclamationOutline: "circleExclamationOutline";
99
114
  readonly Warning: "warning";
100
115
  readonly CircleInfo: "circleInfo";
116
+ readonly CircleInfoOutline: "circleInfoOutline";
101
117
  readonly CircleQuestion: "circleQuestion";
118
+ readonly CircleQuestionOutline: "circleQuestionOutline";
102
119
  readonly Star: "star";
103
120
  readonly Favorites: "favorites";
121
+ readonly Heart: "heart";
104
122
  readonly Reset: "reset";
105
123
  readonly Height: "height";
106
124
  readonly Alternate: "alternate";
107
- readonly CheckList: "checkList";
108
- readonly X: "close";
109
- readonly CircleExclamationO: "circleExclamationO";
110
- readonly CircleInfoO: "circleInfoO";
111
- readonly CircleQuestionO: "circleQuestionO";
112
- readonly Heart: "heart";
113
125
  readonly Moon: "moon";
114
126
  readonly Sun: "sun";
115
- readonly Loading: "loadingDots";
116
- readonly LoadingDots: "loadingDots";
117
- readonly LoadingRegular: "loadingRegular";
127
+ readonly Colors: "colors";
128
+ readonly SpinnerDots: "spinnerDots";
129
+ readonly Spinner: "spinner";
118
130
  readonly Product: "product";
119
131
  readonly Bag: "bag";
120
- readonly SaleBox: "pointSale";
132
+ readonly POS: "pos";
121
133
  readonly Category: "category";
122
134
  readonly CategoryAdd: "categoryAdd";
123
- readonly Subcategory: "categorySearch";
124
135
  readonly CategorySearch: "categorySearch";
125
136
  readonly BoxAdd: "boxAdd";
126
137
  readonly Measure: "measure";
127
138
  readonly Box: "box";
128
- readonly ScanBar: "scan";
139
+ readonly Scan: "scan";
129
140
  readonly Cart: "cart";
130
- readonly Pay: "pay";
141
+ readonly Cards: "cards";
131
142
  readonly Truck: "truck";
132
143
  readonly TruckReturn: "truckReturn";
133
- readonly Storehouse: "warehouse";
144
+ readonly Warehouse: "warehouse";
134
145
  readonly Location: "location";
135
146
  readonly LocationAnimated: "locationAnimated";
136
147
  readonly AI: "ai";
@@ -138,222 +149,21 @@ export declare const bzIcons: {
138
149
  readonly EditOutline: "editOutline";
139
150
  readonly Trash: "trash";
140
151
  readonly TrashOutline: "trashOutline";
141
- readonly Security: "security";
142
- readonly Db: "db";
143
- readonly Server: "server";
144
- readonly Print: "print";
145
- readonly Form: "form";
152
+ readonly Tags: "tags";
153
+ readonly Tools: "tools";
146
154
  readonly ObjectGroup: "objectGroup";
147
155
  readonly Project: "project";
148
- readonly Google: "google";
149
- readonly Aws: "aws";
150
- readonly Golang: "golang";
151
- readonly Facebook: "facebook";
152
- 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";
153
168
  };
154
169
  export type BzIconKey = keyof typeof bzIcons;
155
- export declare const iconCategories: {
156
- readonly navigation: readonly ["home", "dashboard", "settings", "search", "magnifyingGlass", "filterOutline", "hamburguer", "close", "plus", "copy"];
157
- readonly users: readonly ["user", "userTie", "team", "group", "supervisor", "enterprise", "lock", "lockOpen", "key", "logout", "eye", "eyeOff", "shield"];
158
- readonly communication: readonly ["email", "emailAnimated", "phone", "bell"];
159
- readonly business: readonly ["building", "handShake", "money", "wallet", "safeSolid", "costIcon", "exchange", "swap"];
160
- readonly data: readonly ["chart", "chartDoc", "squareChart", "table", "list", "listDots", "formatListGroup", "checkList"];
161
- readonly files: readonly ["file", "pdf", "excelAnimated", "notes", "book", "image", "imageAnimated", "csv", "xml", "zip", "png"];
162
- readonly calendar: readonly ["calendar", "calendarPlus", "calendarEdit"];
163
- readonly arrows: readonly ["rightArrow", "upArrow", "upDownArrow", "animatedArrowLeft", "chevronDown", "chevronUpDown", "chevronDown"];
164
- readonly actions: readonly ["download", "downloadAnimated", "upload", "uploadAnimated", "uploadLoader", "fileUpdateAnimated"];
165
- readonly feedback: readonly ["check", "checkO", "circleCheck", "error", "errorO", "circleExclamation", "warning", "circleInfo", "circleQuestion", "favorites", "star", "reset", "alternate", "height"];
166
- readonly loading: readonly ["loadingDots", "loadingRegular"];
167
- readonly commerce: readonly ["product", "bag", "pointSale", "categoryAdd", "categorySearch", "boxAdd", "measure", "box"];
168
- readonly logistics: readonly ["truck", "truckReturn", "warehouse", "location", "locationAnimated"];
169
- readonly tools: readonly ["editOutline", "trash", "trashOutline", "scan", "security"];
170
- readonly entities: readonly ["objectGroup", "project"];
171
- readonly tech: readonly ["google", "aws", "golang", "facebook"];
172
- };
173
- export type IconCategory = keyof typeof iconCategories;
174
- export declare const icons: {
175
- readonly actions: {
176
- readonly plus: "plus";
177
- readonly download: "download";
178
- readonly downloadAnimated: "downloadAnimated";
179
- readonly edit: "editOutline";
180
- readonly upload: "upload";
181
- readonly uploadAnimated: "uploadAnimated";
182
- readonly uploadLoader: "uploadLoader";
183
- readonly fileUpdateAnimated: "fileUpdateAnimated";
184
- readonly delete: "trash";
185
- readonly x: "close";
186
- readonly check: "check";
187
- readonly filter: "filterOutline";
188
- readonly copy: "copy";
189
- readonly favorites: "favorites";
190
- readonly star: "star";
191
- readonly trash: "trash";
192
- readonly trashOutline: "trashOutline";
193
- readonly refresh: "refresh";
194
- };
195
- readonly nav: {
196
- readonly home: "home";
197
- readonly dashboard: "dashboard";
198
- readonly settings: "settings";
199
- readonly hamburgerMenu: "hamburguer";
200
- readonly close: "close";
201
- readonly search: "magnifyingGlass";
202
- readonly filter: "filterOutline";
203
- readonly copy: "copy";
204
- readonly location: "location";
205
- readonly locationAnimated: "locationAnimated";
206
- };
207
- readonly user: {
208
- readonly profile: "user";
209
- readonly team: "team";
210
- readonly supervisor: "supervisor";
211
- readonly enterprise: "enterprise";
212
- readonly key: "key";
213
- readonly logout: "logout";
214
- readonly lock: "lock";
215
- readonly lockOpen: "lockOpen";
216
- readonly eye: "eye";
217
- readonly eyeOff: "eyeOff";
218
- readonly shield: "shield";
219
- };
220
- readonly comm: {
221
- readonly email: "email";
222
- readonly phone: "phone";
223
- readonly bell: "bell";
224
- };
225
- readonly business: {
226
- readonly building: "building";
227
- readonly handshake: "handShake";
228
- readonly money: "money";
229
- readonly wallet: "wallet";
230
- readonly profit: "profit";
231
- readonly cost: "costIcon";
232
- readonly exchange: "exchange";
233
- readonly swap: "swap";
234
- };
235
- readonly data: {
236
- readonly chart: "chart";
237
- readonly chartDoc: "chartDoc";
238
- readonly squareChart: "squareChart";
239
- readonly table: "table";
240
- readonly list: "list";
241
- readonly listDots: "listDots";
242
- readonly formatListGroup: "formatListGroup";
243
- readonly checkList: "checkList";
244
- };
245
- readonly file: {
246
- readonly file: "file";
247
- readonly pdf: "pdf";
248
- readonly notes: "notes";
249
- readonly book: "book";
250
- readonly csv: "csv";
251
- readonly xml: "xml";
252
- readonly zip: "zip";
253
- readonly png: "png";
254
- readonly excelAnimated: "excelAnimated";
255
- readonly image: "image";
256
- readonly imageAnimated: "imageAnimated";
257
- readonly attachment: "attachment";
258
- readonly save: "save";
259
- readonly folder: "folder";
260
- };
261
- readonly calendar: {
262
- readonly calendar: "calendar";
263
- readonly calendarPlus: "calendarPlus";
264
- readonly calendarEdit: "calendarEdit";
265
- };
266
- readonly arrows: {
267
- readonly right: "rightArrow";
268
- readonly up: "upArrow";
269
- readonly upDown: "upDownArrow";
270
- readonly chevronDown: "chevronDown";
271
- readonly chevronUpDown: "chevronUpDown";
272
- readonly selector: "chevronUpDown";
273
- readonly animatedArrowLeft: "animatedArrowLeft";
274
- readonly lose: "lose";
275
- };
276
- readonly status: {
277
- readonly check: "check";
278
- readonly checkO: "checkO";
279
- readonly circleCheck: "circleCheck";
280
- readonly error: "error";
281
- readonly errorO: "errorO";
282
- readonly circleExclamation: "circleExclamation";
283
- readonly warning: "warning";
284
- readonly info: "circleInfo";
285
- readonly question: "circleQuestion";
286
- readonly reset: "reset";
287
- readonly alternate: "alternate";
288
- readonly height: "height";
289
- readonly measure: "measure";
290
- };
291
- readonly loading: {
292
- readonly dots: "loadingDots";
293
- readonly regular: "loadingRegular";
294
- };
295
- readonly commerce: {
296
- readonly product: "product";
297
- readonly bag: "bag";
298
- readonly categoryAdd: "categoryAdd";
299
- readonly categorySearch: "categorySearch";
300
- readonly boxAdd: "boxAdd";
301
- readonly box: "box";
302
- readonly scanBar: "scan";
303
- readonly truck: "truck";
304
- readonly truckReturn: "truckReturn";
305
- readonly storehouse: "warehouse";
306
- };
307
- readonly entities: {
308
- readonly objectGroup: "objectGroup";
309
- readonly project: "project";
310
- readonly security: "security";
311
- readonly hamburgerMenu: "hamburguer";
312
- };
313
- readonly platforms: {
314
- readonly google: "google";
315
- readonly aws: "aws";
316
- readonly golang: "golang";
317
- readonly facebook: "facebook";
318
- };
319
- };
320
- export type IconShortcutCategory = keyof typeof icons;
321
- export declare class IconAPI {
322
- static getValid(...names: string[]): Array<{
323
- iconName: IconName;
324
- component: IconComponent;
325
- }>;
326
- static search(query: string): Array<{
327
- key: keyof typeof bzIcons;
328
- iconName: IconName;
329
- component: IconComponent;
330
- }>;
331
- static findByName(name: string): IconName | undefined;
332
- static getComponent(name: string): IconComponent | undefined;
333
- static exists(name: string): boolean;
334
- static getByCategory(category: keyof typeof iconCategories): Array<{
335
- iconName: IconName;
336
- component: IconComponent;
337
- }>;
338
- static getAllCategories(): Array<keyof typeof iconCategories>;
339
- static random(): {
340
- iconName: IconName;
341
- component: IconComponent;
342
- };
343
- static count(): number;
344
- static list(): Array<{
345
- key: keyof typeof bzIcons;
346
- iconName: IconName;
347
- component: IconComponent;
348
- }>;
349
- }
350
- export declare const iconStats: {
351
- readonly total: number;
352
- readonly categories: number;
353
- readonly animated: number;
354
- readonly byCategory: {
355
- [k: string]: 2 | 3 | 10 | 13 | 4 | 8 | 11 | 7 | 6 | 14 | 5;
356
- };
357
- readonly mostUsedCategory: string;
358
- readonly shortcuts: number;
359
- };