@iguanads/icons 1.11.3 → 1.12.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.
package/README.md CHANGED
@@ -1,52 +1,76 @@
1
1
  # Iguana DS Bento - Icons
2
2
 
3
+ Icon library for the Iguana Design System. SVG icons converted into React components via SVGR.
4
+
3
5
  ## Installation
4
6
 
5
- Install:
6
- ```
7
+ ```bash
7
8
  pnpm add @iguanads/icons
8
9
  ```
9
10
 
10
- ## Use
11
- ```
11
+ ## Categories
12
+
13
+ The library organizes icons into 4 categories:
14
+
15
+ - `@iguanads/icons/one-color` — monochrome icons
16
+ - `@iguanads/icons/two-colors` — two-color icons
17
+ - `@iguanads/icons/filled` — filled icons
18
+ - `@iguanads/icons/social-media` — social media icons
19
+
20
+ ## Usage
21
+
22
+ ```tsx
12
23
  import { Add } from '@iguanads/icons/one-color'
13
24
 
14
25
  <Add />
15
26
  ```
16
- Customization (width and height 32px):
17
- ```
27
+
28
+ Customize size (32px):
29
+
30
+ ```tsx
18
31
  import { Add } from '@iguanads/icons/one-color'
19
32
 
20
33
  <Add className="size-8" />
21
34
  ```
22
- Customization (color):
23
- ```
35
+
36
+ Customize color:
37
+
38
+ ```tsx
24
39
  import { Add } from '@iguanads/icons/one-color'
25
40
 
26
41
  <Add className="text-pink-base" />
27
42
  ```
28
- Change two color pink:
29
- ```
43
+
44
+ Change second color (two-color icons):
45
+
46
+ ```tsx
30
47
  import { Money } from '@iguanads/icons/two-colors'
31
48
 
32
49
  <Money className="*:fill-grayscale-white" />
33
50
  ```
34
51
 
35
- ### Dev
36
- ```
52
+ ## Adding new icons
53
+
54
+ 1. Add the SVG file to the `src/assets/{ICON_TYPE}/` folder
55
+ 2. Run `pnpm build:icons` to generate React components
56
+ 3. Run `pnpm build` to compile
57
+
58
+ ## Commands
59
+
60
+ ### Development
61
+
62
+ ```bash
37
63
  pnpm dev
38
64
  ```
39
65
 
40
66
  ### Build
41
- ```
67
+
68
+ ```bash
42
69
  pnpm build
43
70
  ```
44
- Build icons:
45
- ```
46
- pnpm build:icons
47
- ```
48
71
 
72
+ ### Generate icons from SVGs
49
73
 
50
- ## Adding new icons
51
-
52
- Download svg icon to the `src/assets/{ICON TYPE}` folder and run `pnpm build:icons` command, then run `pnpm build`.
74
+ ```bash
75
+ pnpm build:icons
76
+ ```
@@ -17,6 +17,8 @@ declare const SvgBag: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.
17
17
 
18
18
  declare const SvgBarcode: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
19
19
 
20
+ declare const SvgBrightness: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
21
+
20
22
  declare const SvgCalendar: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
21
23
 
22
24
  declare const SvgCamera: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
@@ -29,6 +31,8 @@ declare const SvgClock: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JS
29
31
 
30
32
  declare const SvgClose: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
31
33
 
34
+ declare const SvgContrast: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
35
+
32
36
  declare const SvgCopy: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
33
37
 
34
38
  declare const SvgCreditCard: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
@@ -89,12 +93,18 @@ declare const SvgRating: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.J
89
93
 
90
94
  declare const SvgRefresh: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
91
95
 
96
+ declare const SvgRotate: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
97
+
92
98
  declare const SvgSatelliteView: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
93
99
 
100
+ declare const SvgSaturation: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
101
+
94
102
  declare const SvgSearch: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
95
103
 
96
104
  declare const SvgSelect: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
97
105
 
106
+ declare const SvgShadows: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
107
+
98
108
  declare const SvgShare: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
99
109
 
100
110
  declare const SvgShow: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
@@ -117,6 +127,8 @@ declare const SvgWhatsapp: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime
117
127
 
118
128
  declare const SvgWifiOff: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
119
129
 
130
+ declare const SvgZoom: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
131
+
120
132
  declare const SvgCategoryList: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
121
133
 
122
- export { SvgAdd as Add, SvgAi as Ai, SvgApartment as Apartment, SvgArrowRight as ArrowRight, SvgAttach as Attach, SvgBack as Back, SvgBag as Bag, SvgBarcode as Barcode, SvgCalendar as Calendar, SvgCamera as Camera, SvgCart as Cart, SvgCategoryList as CategoryList, SvgCheck as Check, SvgClock as Clock, SvgClose as Close, SvgCopy as Copy, SvgCreditCard as CreditCard, SvgDeliver as Deliver, SvgDownload as Download, SvgEdit as Edit, SvgEmptyScreen as EmptyScreen, SvgExpand as Expand, SvgFilter as Filter, SvgGallery as Gallery, SvgHelpChat as HelpChat, SvgHide as Hide, SvgHotel as Hotel, SvgHouse as House, SvgLock as Lock, SvgLowBattery as LowBattery, SvgMapView as MapView, SvgMenu as Menu, SvgMoney as Money, SvgNext as Next, SvgNotification as Notification, SvgOffice as Office, SvgOperations as Operations, SvgOrder as Order, SvgPerformance as Performance, SvgPhone as Phone, SvgPreparation as Preparation, SvgQrCode as QrCode, SvgRate as Rate, SvgRating as Rating, SvgRefresh as Refresh, SvgSatelliteView as SatelliteView, SvgSearch as Search, SvgSelect as Select, SvgShare as Share, SvgShow as Show, SvgSignOut as SignOut, SvgSubstitution as Substitution, SvgTrash as Trash, SvgUnion as Union, SvgUpload as Upload, SvgUser as User, SvgVoucher as Voucher, SvgWhatsapp as Whatsapp, SvgWifiOff as WifiOff };
134
+ export { SvgAdd as Add, SvgAi as Ai, SvgApartment as Apartment, SvgArrowRight as ArrowRight, SvgAttach as Attach, SvgBack as Back, SvgBag as Bag, SvgBarcode as Barcode, SvgBrightness as Brightness, SvgCalendar as Calendar, SvgCamera as Camera, SvgCart as Cart, SvgCategoryList as CategoryList, SvgCheck as Check, SvgClock as Clock, SvgClose as Close, SvgContrast as Contrast, SvgCopy as Copy, SvgCreditCard as CreditCard, SvgDeliver as Deliver, SvgDownload as Download, SvgEdit as Edit, SvgEmptyScreen as EmptyScreen, SvgExpand as Expand, SvgFilter as Filter, SvgGallery as Gallery, SvgHelpChat as HelpChat, SvgHide as Hide, SvgHotel as Hotel, SvgHouse as House, SvgLock as Lock, SvgLowBattery as LowBattery, SvgMapView as MapView, SvgMenu as Menu, SvgMoney as Money, SvgNext as Next, SvgNotification as Notification, SvgOffice as Office, SvgOperations as Operations, SvgOrder as Order, SvgPerformance as Performance, SvgPhone as Phone, SvgPreparation as Preparation, SvgQrCode as QrCode, SvgRate as Rate, SvgRating as Rating, SvgRefresh as Refresh, SvgRotate as Rotate, SvgSatelliteView as SatelliteView, SvgSaturation as Saturation, SvgSearch as Search, SvgSelect as Select, SvgShadows as Shadows, SvgShare as Share, SvgShow as Show, SvgSignOut as SignOut, SvgSubstitution as Substitution, SvgTrash as Trash, SvgUnion as Union, SvgUpload as Upload, SvgUser as User, SvgVoucher as Voucher, SvgWhatsapp as Whatsapp, SvgWifiOff as WifiOff, SvgZoom as Zoom };
@@ -17,6 +17,8 @@ declare const SvgBag: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.
17
17
 
18
18
  declare const SvgBarcode: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
19
19
 
20
+ declare const SvgBrightness: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
21
+
20
22
  declare const SvgCalendar: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
21
23
 
22
24
  declare const SvgCamera: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
@@ -29,6 +31,8 @@ declare const SvgClock: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JS
29
31
 
30
32
  declare const SvgClose: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
31
33
 
34
+ declare const SvgContrast: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
35
+
32
36
  declare const SvgCopy: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
33
37
 
34
38
  declare const SvgCreditCard: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
@@ -89,12 +93,18 @@ declare const SvgRating: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.J
89
93
 
90
94
  declare const SvgRefresh: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
91
95
 
96
+ declare const SvgRotate: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
97
+
92
98
  declare const SvgSatelliteView: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
93
99
 
100
+ declare const SvgSaturation: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
101
+
94
102
  declare const SvgSearch: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
95
103
 
96
104
  declare const SvgSelect: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
97
105
 
106
+ declare const SvgShadows: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
107
+
98
108
  declare const SvgShare: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
99
109
 
100
110
  declare const SvgShow: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
@@ -117,6 +127,8 @@ declare const SvgWhatsapp: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime
117
127
 
118
128
  declare const SvgWifiOff: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
119
129
 
130
+ declare const SvgZoom: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
131
+
120
132
  declare const SvgCategoryList: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
121
133
 
122
- export { SvgAdd as Add, SvgAi as Ai, SvgApartment as Apartment, SvgArrowRight as ArrowRight, SvgAttach as Attach, SvgBack as Back, SvgBag as Bag, SvgBarcode as Barcode, SvgCalendar as Calendar, SvgCamera as Camera, SvgCart as Cart, SvgCategoryList as CategoryList, SvgCheck as Check, SvgClock as Clock, SvgClose as Close, SvgCopy as Copy, SvgCreditCard as CreditCard, SvgDeliver as Deliver, SvgDownload as Download, SvgEdit as Edit, SvgEmptyScreen as EmptyScreen, SvgExpand as Expand, SvgFilter as Filter, SvgGallery as Gallery, SvgHelpChat as HelpChat, SvgHide as Hide, SvgHotel as Hotel, SvgHouse as House, SvgLock as Lock, SvgLowBattery as LowBattery, SvgMapView as MapView, SvgMenu as Menu, SvgMoney as Money, SvgNext as Next, SvgNotification as Notification, SvgOffice as Office, SvgOperations as Operations, SvgOrder as Order, SvgPerformance as Performance, SvgPhone as Phone, SvgPreparation as Preparation, SvgQrCode as QrCode, SvgRate as Rate, SvgRating as Rating, SvgRefresh as Refresh, SvgSatelliteView as SatelliteView, SvgSearch as Search, SvgSelect as Select, SvgShare as Share, SvgShow as Show, SvgSignOut as SignOut, SvgSubstitution as Substitution, SvgTrash as Trash, SvgUnion as Union, SvgUpload as Upload, SvgUser as User, SvgVoucher as Voucher, SvgWhatsapp as Whatsapp, SvgWifiOff as WifiOff };
134
+ export { SvgAdd as Add, SvgAi as Ai, SvgApartment as Apartment, SvgArrowRight as ArrowRight, SvgAttach as Attach, SvgBack as Back, SvgBag as Bag, SvgBarcode as Barcode, SvgBrightness as Brightness, SvgCalendar as Calendar, SvgCamera as Camera, SvgCart as Cart, SvgCategoryList as CategoryList, SvgCheck as Check, SvgClock as Clock, SvgClose as Close, SvgContrast as Contrast, SvgCopy as Copy, SvgCreditCard as CreditCard, SvgDeliver as Deliver, SvgDownload as Download, SvgEdit as Edit, SvgEmptyScreen as EmptyScreen, SvgExpand as Expand, SvgFilter as Filter, SvgGallery as Gallery, SvgHelpChat as HelpChat, SvgHide as Hide, SvgHotel as Hotel, SvgHouse as House, SvgLock as Lock, SvgLowBattery as LowBattery, SvgMapView as MapView, SvgMenu as Menu, SvgMoney as Money, SvgNext as Next, SvgNotification as Notification, SvgOffice as Office, SvgOperations as Operations, SvgOrder as Order, SvgPerformance as Performance, SvgPhone as Phone, SvgPreparation as Preparation, SvgQrCode as QrCode, SvgRate as Rate, SvgRating as Rating, SvgRefresh as Refresh, SvgRotate as Rotate, SvgSatelliteView as SatelliteView, SvgSaturation as Saturation, SvgSearch as Search, SvgSelect as Select, SvgShadows as Shadows, SvgShare as Share, SvgShow as Show, SvgSignOut as SignOut, SvgSubstitution as Substitution, SvgTrash as Trash, SvgUnion as Union, SvgUpload as Upload, SvgUser as User, SvgVoucher as Voucher, SvgWhatsapp as Whatsapp, SvgWifiOff as WifiOff, SvgZoom as Zoom };