bpo-icon-lib 0.0.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.
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ export declare const iconMap: Record<string, string>;
2
+ export type IconName = keyof typeof iconMap;
3
+ //# sourceMappingURL=iconMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iconMap.d.ts","sourceRoot":"","sources":["../src/iconMap.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,EAKf,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAa5B,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,OAAO,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { Icon, default } from './Icon';
2
+ export type { IconProps } from './Icon';
3
+ export type { IconName } from './iconMap';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACvC,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGxC,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
package/dist/style.css ADDED
@@ -0,0 +1,568 @@
1
+ @font-face {
2
+ font-family: 'Untitled';
3
+ src:
4
+ url('fonts/Untitled.woff2') format('woff2'),
5
+ url('fonts/Untitled.ttf') format('truetype'),
6
+ url('fonts/Untitled.woff') format('woff');
7
+ font-weight: normal;
8
+ font-style: normal;
9
+ font-display: block;
10
+ }
11
+ .icon,
12
+ [class^='icon-'],
13
+ [class*=' icon-'] {
14
+ /* Use !important to prevent extensions from overriding this font. */
15
+ font-family: 'Untitled' !important;
16
+ font-style: normal;
17
+ font-weight: normal;
18
+ font-variant: normal;
19
+ text-transform: none;
20
+ line-height: 1;
21
+
22
+ /* Better Font Rendering =========== */
23
+ -webkit-font-smoothing: antialiased;
24
+ -moz-osx-font-smoothing: grayscale;
25
+ }
26
+ .icon-logout:before {
27
+ content: '\f000';
28
+ }
29
+ .icon-login2:before {
30
+ content: '\f001';
31
+ }
32
+ .icon-login:before {
33
+ content: '\f002';
34
+ }
35
+ .icon-list_fill:before {
36
+ content: '\f003';
37
+ }
38
+ .icon-list:before {
39
+ content: '\f004';
40
+ }
41
+ .icon-Language:before {
42
+ content: '\f005';
43
+ }
44
+ .icon-key:before {
45
+ content: '\f006';
46
+ }
47
+ .icon-info_circle:before {
48
+ content: '\f007';
49
+ }
50
+ .icon-image:before {
51
+ content: '\f008';
52
+ }
53
+ .icon-id_fill:before {
54
+ content: '\f009';
55
+ }
56
+ .icon-id:before {
57
+ content: '\f00a';
58
+ }
59
+ .icon-group_fill:before {
60
+ content: '\f00b';
61
+ }
62
+ .icon-group_add:before {
63
+ content: '\f00c';
64
+ }
65
+ .icon-group2:before {
66
+ content: '\f00d';
67
+ }
68
+ .icon-group:before {
69
+ content: '\f00e';
70
+ }
71
+ .icon-gears_fill:before {
72
+ content: '\f00f';
73
+ }
74
+ .icon-gears:before {
75
+ content: '\f010';
76
+ }
77
+ .icon-folder_details:before {
78
+ content: '\f011';
79
+ }
80
+ .icon-flowchart2:before {
81
+ content: '\f012';
82
+ }
83
+ .icon-wrapper:before {
84
+ content: '\f013';
85
+ }
86
+ .icon-flowchart:before {
87
+ content: '\f014';
88
+ }
89
+ .icon-whatsapp_id_fill:before {
90
+ content: '\f015';
91
+ }
92
+ .icon-floppy_disk_save:before {
93
+ content: '\f016';
94
+ }
95
+ .icon-whatsapp_id:before {
96
+ content: '\f017';
97
+ }
98
+ .icon-filter_pending_fill:before {
99
+ content: '\f018';
100
+ }
101
+ .icon-whatsapp_fill:before {
102
+ content: '\f019';
103
+ }
104
+ .icon-filter_pending:before {
105
+ content: '\f01a';
106
+ }
107
+ .icon-whatsapp:before {
108
+ content: '\f01b';
109
+ }
110
+ .icon-filter2:before {
111
+ content: '\f01c';
112
+ }
113
+ .icon-webhook:before {
114
+ content: '\f01d';
115
+ }
116
+ .icon-filter:before {
117
+ content: '\f01e';
118
+ }
119
+ .icon-web:before {
120
+ content: '\f01f';
121
+ }
122
+ .icon-eye:before {
123
+ content: '\f020';
124
+ }
125
+ .icon-wallet_fill:before {
126
+ content: '\f021';
127
+ }
128
+ .icon-error_exclamation_badge:before {
129
+ content: '\f022';
130
+ }
131
+ .icon-wallet:before {
132
+ content: '\f023';
133
+ }
134
+ .icon-editor:before {
135
+ content: '\f024';
136
+ }
137
+ .icon-user_setting_fill:before {
138
+ content: '\f025';
139
+ }
140
+ .icon-edit2:before {
141
+ content: '\f026';
142
+ }
143
+ .icon-user_setting:before {
144
+ content: '\f027';
145
+ }
146
+ .icon-edit:before {
147
+ content: '\f028';
148
+ }
149
+ .icon-user_info:before {
150
+ content: '\f029';
151
+ }
152
+ .icon-dubble_check:before {
153
+ content: '\f02a';
154
+ }
155
+ .icon-user_frame:before {
156
+ content: '\f02b';
157
+ }
158
+ .icon-drawer_fill:before {
159
+ content: '\f02c';
160
+ }
161
+ .icon-user_fill:before {
162
+ content: '\f02d';
163
+ }
164
+ .icon-drawer:before {
165
+ content: '\f02e';
166
+ }
167
+ .icon-user_circle_fill:before {
168
+ content: '\f02f';
169
+ }
170
+ .icon-download_circle:before {
171
+ content: '\f030';
172
+ }
173
+ .icon-user_circle:before {
174
+ content: '\f031';
175
+ }
176
+ .icon-download:before {
177
+ content: '\f032';
178
+ }
179
+ .icon-user:before {
180
+ content: '\f033';
181
+ }
182
+ .icon-document_file_view:before {
183
+ content: '\f034';
184
+ }
185
+ .icon-upload:before {
186
+ content: '\f035';
187
+ }
188
+ .icon-document_file_import:before {
189
+ content: '\f036';
190
+ }
191
+ .icon-time_clock_reset_redo:before {
192
+ content: '\f037';
193
+ }
194
+ .icon-document:before {
195
+ content: '\f038';
196
+ }
197
+ .icon-tick_circle_fill:before {
198
+ content: '\f039';
199
+ }
200
+ .icon-dnd_block:before {
201
+ content: '\f03a';
202
+ }
203
+ .icon-text:before {
204
+ content: '\f03b';
205
+ }
206
+ .icon-divider:before {
207
+ content: '\f03c';
208
+ }
209
+ .icon-template_fill:before {
210
+ content: '\f03d';
211
+ }
212
+ .icon-dirham_currency:before {
213
+ content: '\f03e';
214
+ }
215
+ .icon-template:before {
216
+ content: '\f03f';
217
+ }
218
+ .icon-dialer_filled:before {
219
+ content: '\f040';
220
+ }
221
+ .icon-tag2:before {
222
+ content: '\f041';
223
+ }
224
+ .icon-dialer:before {
225
+ content: '\f042';
226
+ }
227
+ .icon-tag:before {
228
+ content: '\f043';
229
+ }
230
+ .icon-delete:before {
231
+ content: '\f044';
232
+ }
233
+ .icon-switch_user_fill:before {
234
+ content: '\f045';
235
+ }
236
+ .icon-database_setting_fill:before {
237
+ content: '\f046';
238
+ }
239
+ .icon-switch_user:before {
240
+ content: '\f047';
241
+ }
242
+ .icon-database_setting:before {
243
+ content: '\f048';
244
+ }
245
+ .icon-sun:before {
246
+ content: '\f049';
247
+ }
248
+ .icon-cursor_rectangle_selection:before {
249
+ content: '\f04a';
250
+ }
251
+ .icon-split:before {
252
+ content: '\f04b';
253
+ }
254
+ .icon-credit_fill:before {
255
+ content: '\f04c';
256
+ }
257
+ .icon-spam_fill:before {
258
+ content: '\f04d';
259
+ }
260
+ .icon-credit:before {
261
+ content: '\f04e';
262
+ }
263
+ .icon-spam:before {
264
+ content: '\f04f';
265
+ }
266
+ .icon-create_flowchart:before {
267
+ content: '\f050';
268
+ }
269
+ .icon-spacer_spacing:before {
270
+ content: '\f051';
271
+ }
272
+ .icon-create:before {
273
+ content: '\f052';
274
+ }
275
+ .icon-social:before {
276
+ content: '\f053';
277
+ }
278
+ .icon-configuration_setting_fill:before {
279
+ content: '\f054';
280
+ }
281
+ .icon-sms_fill:before {
282
+ content: '\f055';
283
+ }
284
+ .icon-configuration_setting:before {
285
+ content: '\f056';
286
+ }
287
+ .icon-sms_add:before {
288
+ content: '\f057';
289
+ }
290
+ .icon-configuration_fill:before {
291
+ content: '\f058';
292
+ }
293
+ .icon-sms:before {
294
+ content: '\f059';
295
+ }
296
+ .icon-configuration:before {
297
+ content: '\f05a';
298
+ }
299
+ .icon-smile:before {
300
+ content: '\f05b';
301
+ }
302
+ .icon-computer:before {
303
+ content: '\f05c';
304
+ }
305
+ .icon-shoping_cart:before {
306
+ content: '\f05d';
307
+ }
308
+ .icon-code_fill:before {
309
+ content: '\f05e';
310
+ }
311
+ .icon-shapes_fill:before {
312
+ content: '\f05f';
313
+ }
314
+ .icon-code:before {
315
+ content: '\f060';
316
+ }
317
+ .icon-shapes:before {
318
+ content: '\f061';
319
+ }
320
+ .icon-cloud:before {
321
+ content: '\f062';
322
+ }
323
+ .icon-settings_clock:before {
324
+ content: '\f063';
325
+ }
326
+ .icon-closeeye:before {
327
+ content: '\f064';
328
+ }
329
+ .icon-settings:before {
330
+ content: '\f065';
331
+ }
332
+ .icon-close:before {
333
+ content: '\f066';
334
+ }
335
+ .icon-server:before {
336
+ content: '\f067';
337
+ }
338
+ .icon-clock_close:before {
339
+ content: '\f068';
340
+ }
341
+ .icon-send:before {
342
+ content: '\f069';
343
+ }
344
+ .icon-clock:before {
345
+ content: '\f06a';
346
+ }
347
+ .icon-search:before {
348
+ content: '\f06b';
349
+ }
350
+ .icon-check_circle:before {
351
+ content: '\f06c';
352
+ }
353
+ .icon-route_fill:before {
354
+ content: '\f06d';
355
+ }
356
+ .icon-chart_fill:before {
357
+ content: '\f06e';
358
+ }
359
+ .icon-route:before {
360
+ content: '\f06f';
361
+ }
362
+ .icon-chart:before {
363
+ content: '\f070';
364
+ }
365
+ .icon-reset:before {
366
+ content: '\f071';
367
+ }
368
+ .icon-cash_fill:before {
369
+ content: '\f072';
370
+ }
371
+ .icon-reports2:before {
372
+ content: '\f073';
373
+ }
374
+ .icon-cash:before {
375
+ content: '\f074';
376
+ }
377
+ .icon-reports:before {
378
+ content: '\f075';
379
+ }
380
+ .icon-cancel_circle:before {
381
+ content: '\f076';
382
+ }
383
+ .icon-reject_close_badge:before {
384
+ content: '\f077';
385
+ }
386
+ .icon-campaign_fill:before {
387
+ content: '\f078';
388
+ }
389
+ .icon-refresh:before {
390
+ content: '\f079';
391
+ }
392
+ .icon-campaign:before {
393
+ content: '\f07a';
394
+ }
395
+ .icon-property_search:before {
396
+ content: '\f07b';
397
+ }
398
+ .icon-call_outgoing:before {
399
+ content: '\f07c';
400
+ }
401
+ .icon-preference_filter_horizontal:before {
402
+ content: '\f07d';
403
+ }
404
+ .icon-call_check:before {
405
+ content: '\f07e';
406
+ }
407
+ .icon-phonebook:before {
408
+ content: '\f07f';
409
+ }
410
+ .icon-call_cancel:before {
411
+ content: '\f080';
412
+ }
413
+ .icon-phone:before {
414
+ content: '\f081';
415
+ }
416
+ .icon-call:before {
417
+ content: '\f082';
418
+ }
419
+ .icon-package_setting_fill:before {
420
+ content: '\f083';
421
+ }
422
+ .icon-calendar:before {
423
+ content: '\f084';
424
+ }
425
+ .icon-package_setting:before {
426
+ content: '\f085';
427
+ }
428
+ .icon-button:before {
429
+ content: '\f086';
430
+ }
431
+ .icon-package_sent_fill:before {
432
+ content: '\f087';
433
+ }
434
+ .icon-book_setting_fill:before {
435
+ content: '\f088';
436
+ }
437
+ .icon-package_sent:before {
438
+ content: '\f089';
439
+ }
440
+ .icon-book_setting:before {
441
+ content: '\f08a';
442
+ }
443
+ .icon-package_fill:before {
444
+ content: '\f08b';
445
+ }
446
+ .icon-bookmark_fill:before {
447
+ content: '\f08c';
448
+ }
449
+ .icon-package:before {
450
+ content: '\f08d';
451
+ }
452
+ .icon-bookmark:before {
453
+ content: '\f08e';
454
+ }
455
+ .icon-notification_off:before {
456
+ content: '\f08f';
457
+ }
458
+ .icon-bank:before {
459
+ content: '\f090';
460
+ }
461
+ .icon-notification_check:before {
462
+ content: '\f091';
463
+ }
464
+ .icon-audit_fill:before {
465
+ content: '\f092';
466
+ }
467
+ .icon-notification_cancel:before {
468
+ content: '\f093';
469
+ }
470
+ .icon-audit:before {
471
+ content: '\f094';
472
+ }
473
+ .icon-notification:before {
474
+ content: '\f095';
475
+ }
476
+ .icon-arrow_up:before {
477
+ content: '\f096';
478
+ }
479
+ .icon-moon:before {
480
+ content: '\f097';
481
+ }
482
+ .icon-arrow_turn_forward:before {
483
+ content: '\f098';
484
+ }
485
+ .icon-microscope:before {
486
+ content: '\f099';
487
+ }
488
+ .icon-arrow_turn_backward:before {
489
+ content: '\f09a';
490
+ }
491
+ .icon-message_sent:before {
492
+ content: '\f09b';
493
+ }
494
+ .icon-arrow_right2:before {
495
+ content: '\f09c';
496
+ }
497
+ .icon-message_clock:before {
498
+ content: '\f09d';
499
+ }
500
+ .icon-arrow_right:before {
501
+ content: '\f09e';
502
+ }
503
+ .icon-message_check:before {
504
+ content: '\f09f';
505
+ }
506
+ .icon-arrow_move_up_right:before {
507
+ content: '\f0a0';
508
+ }
509
+ .icon-message_cancel:before {
510
+ content: '\f0a1';
511
+ }
512
+ .icon-arrow_left_circle:before {
513
+ content: '\f0a2';
514
+ }
515
+ .icon-menu_collapse:before {
516
+ content: '\f0a3';
517
+ }
518
+ .icon-arrow_left2:before {
519
+ content: '\f0a4';
520
+ }
521
+ .icon-menu:before {
522
+ content: '\f0a5';
523
+ }
524
+ .icon-arrow_left:before {
525
+ content: '\f0a6';
526
+ }
527
+ .icon-megaphone:before {
528
+ content: '\f0a7';
529
+ }
530
+ .icon-arrow_down:before {
531
+ content: '\f0a8';
532
+ }
533
+ .icon-map_search:before {
534
+ content: '\f0a9';
535
+ }
536
+ .icon-approved_badge:before {
537
+ content: '\f0aa';
538
+ }
539
+ .icon-mail_sent:before {
540
+ content: '\f0ab';
541
+ }
542
+ .icon-analyze_graph_fill:before {
543
+ content: '\f0ac';
544
+ }
545
+ .icon-mail_check:before {
546
+ content: '\f0ad';
547
+ }
548
+ .icon-analyze_graph:before {
549
+ content: '\f0ae';
550
+ }
551
+ .icon-mail_cancel:before {
552
+ content: '\f0af';
553
+ }
554
+ .icon-analytics:before {
555
+ content: '\f0b0';
556
+ }
557
+ .icon-mail:before {
558
+ content: '\f0b1';
559
+ }
560
+ .icon-add_contact:before {
561
+ content: '\f0b2';
562
+ }
563
+ .icon-logout2:before {
564
+ content: '\f0b3';
565
+ }
566
+ .icon-add_circle:before {
567
+ content: '\f0b4';
568
+ }
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,108 @@
1
+ {
2
+ "name": "bpo-icon-lib",
3
+ "version": "0.0.1",
4
+ "description": "A lightweight React icon library with TypeScript support, featuring dynamic SVG icon loading",
5
+ "keywords": [
6
+ "react",
7
+ "icon",
8
+ "icons",
9
+ "svg",
10
+ "typescript",
11
+ "component",
12
+ "ui",
13
+ "library"
14
+ ],
15
+ "author": "",
16
+ "license": "MIT",
17
+ "type": "module",
18
+ "main": "./dist/bpo-icon-lib.js",
19
+ "module": "./dist/bpo-icon-lib.js",
20
+ "types": "./dist/index.d.ts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.ts",
24
+ "import": "./dist/bpo-icon-lib.js"
25
+ },
26
+ "./dist/style.css": "./dist/style.css",
27
+ "./style.css": "./dist/style.css",
28
+ "./fonts/*": "./dist/fonts/*"
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "README.md",
33
+ "LICENSE"
34
+ ],
35
+ "repository": {
36
+ "type": "git",
37
+ "url": ""
38
+ },
39
+ "bugs": {
40
+ "url": ""
41
+ },
42
+ "homepage": "",
43
+ "scripts": {
44
+ "dev": "vite",
45
+ "build": "vite build && tsc -p tsconfig.build.json",
46
+ "lint": "eslint .",
47
+ "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
48
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
49
+ "test": "vitest",
50
+ "test:ui": "vitest --ui",
51
+ "test:run": "vitest run",
52
+ "test:coverage": "vitest run --coverage",
53
+ "preview": "vite preview",
54
+ "prepare": "husky",
55
+ "prepublishOnly": "npm run build",
56
+ "link": "npm run build && npm link",
57
+ "pack": "npm run build && npm pack"
58
+ },
59
+ "lint-staged": {
60
+ "*.{ts,tsx,js,jsx}": [
61
+ "eslint --fix",
62
+ "prettier --write"
63
+ ],
64
+ "*.{json,css,md}": [
65
+ "prettier --write"
66
+ ]
67
+ },
68
+ "peerDependencies": {
69
+ "react": ">=16.8.0",
70
+ "react-dom": ">=16.8.0"
71
+ },
72
+ "peerDependenciesMeta": {
73
+ "react": {
74
+ "optional": false
75
+ },
76
+ "react-dom": {
77
+ "optional": false
78
+ }
79
+ },
80
+ "devDependencies": {
81
+ "@eslint/js": "^9.39.1",
82
+ "@testing-library/jest-dom": "^6.9.1",
83
+ "@testing-library/react": "^16.3.1",
84
+ "@testing-library/user-event": "^14.6.1",
85
+ "@types/node": "^24.10.1",
86
+ "@types/react": "^19.2.5",
87
+ "@types/react-dom": "^19.2.3",
88
+ "@vitejs/plugin-react": "^5.1.1",
89
+ "eslint": "^9.39.1",
90
+ "eslint-plugin-react-hooks": "^7.0.1",
91
+ "eslint-plugin-react-refresh": "^0.4.24",
92
+ "globals": "^16.5.0",
93
+ "husky": "^9.1.7",
94
+ "jsdom": "^27.3.0",
95
+ "lint-staged": "^16.2.7",
96
+ "prettier": "^3.7.4",
97
+ "typescript": "~5.9.3",
98
+ "typescript-eslint": "^8.46.4",
99
+ "vite": "npm:rolldown-vite@7.2.5",
100
+ "vite-plugin-dts": "^4.5.4",
101
+ "vite-plugin-static-copy": "^3.1.4",
102
+ "vite-plugin-svgr": "^4.5.0",
103
+ "vitest": "^4.0.16"
104
+ },
105
+ "overrides": {
106
+ "vite": "npm:rolldown-vite@7.2.5"
107
+ }
108
+ }