huspy-icons 0.3.2 → 0.3.3

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.
@@ -1,9 +1,9 @@
1
1
  @font-face {
2
2
  font-family: "HuspyIcons";
3
- src: url(".//HuspyIcons.ttf?38460525204c3b376b6db830cf566aab") format("truetype"),
4
- url(".//HuspyIcons.woff?38460525204c3b376b6db830cf566aab") format("woff"),
5
- url(".//HuspyIcons.woff2?38460525204c3b376b6db830cf566aab") format("woff2"),
6
- url(".//HuspyIcons.eot?38460525204c3b376b6db830cf566aab#iefix") format("embedded-opentype");
3
+ src: url(".//HuspyIcons.ttf?cc32c3e87fe4e6f85b4f3945ed6d14ae") format("truetype"),
4
+ url(".//HuspyIcons.woff?cc32c3e87fe4e6f85b4f3945ed6d14ae") format("woff"),
5
+ url(".//HuspyIcons.woff2?cc32c3e87fe4e6f85b4f3945ed6d14ae") format("woff2"),
6
+ url(".//HuspyIcons.eot?cc32c3e87fe4e6f85b4f3945ed6d14ae#iefix") format("embedded-opentype");
7
7
  }
8
8
 
9
9
  .icon:before {
@@ -50,147 +50,153 @@ url(".//HuspyIcons.eot?38460525204c3b376b6db830cf566aab#iefix") format("embedded
50
50
  .icon.huspy-icon-properties-filled:before {
51
51
  content: "\f10b";
52
52
  }
53
- .icon.huspy-icon-plus:before {
53
+ .icon.huspy-icon-promotion:before {
54
54
  content: "\f10c";
55
55
  }
56
- .icon.huspy-icon-payments:before {
56
+ .icon.huspy-icon-plus:before {
57
57
  content: "\f10d";
58
58
  }
59
- .icon.huspy-icon-note:before {
59
+ .icon.huspy-icon-payments:before {
60
60
  content: "\f10e";
61
61
  }
62
- .icon.huspy-icon-mortgage:before {
62
+ .icon.huspy-icon-note:before {
63
63
  content: "\f10f";
64
64
  }
65
- .icon.huspy-icon-map-pin:before {
65
+ .icon.huspy-icon-mortgage:before {
66
66
  content: "\f110";
67
67
  }
68
- .icon.huspy-icon-mail:before {
68
+ .icon.huspy-icon-map-pin:before {
69
69
  content: "\f111";
70
70
  }
71
- .icon.huspy-icon-logout:before {
71
+ .icon.huspy-icon-mail:before {
72
72
  content: "\f112";
73
73
  }
74
- .icon.huspy-icon-lock:before {
74
+ .icon.huspy-icon-logout:before {
75
75
  content: "\f113";
76
76
  }
77
- .icon.huspy-icon-leads-linear:before {
77
+ .icon.huspy-icon-lock:before {
78
78
  content: "\f114";
79
79
  }
80
- .icon.huspy-icon-leads-filled:before {
80
+ .icon.huspy-icon-leads-linear:before {
81
81
  content: "\f115";
82
82
  }
83
- .icon.huspy-icon-keys_01:before {
83
+ .icon.huspy-icon-leads-filled:before {
84
84
  content: "\f116";
85
85
  }
86
- .icon.huspy-icon-icon-slot:before {
86
+ .icon.huspy-icon-keys_01:before {
87
87
  content: "\f117";
88
88
  }
89
- .icon.huspy-icon-home-linear:before {
89
+ .icon.huspy-icon-icon-slot:before {
90
90
  content: "\f118";
91
91
  }
92
- .icon.huspy-icon-home-filled:before {
92
+ .icon.huspy-icon-home-linear:before {
93
93
  content: "\f119";
94
94
  }
95
- .icon.huspy-icon-help-circle:before {
95
+ .icon.huspy-icon-home-filled:before {
96
96
  content: "\f11a";
97
97
  }
98
- .icon.huspy-icon-fingerprint-android:before {
98
+ .icon.huspy-icon-help-circle:before {
99
99
  content: "\f11b";
100
100
  }
101
- .icon.huspy-icon-file-text:before {
101
+ .icon.huspy-icon-fingerprint-android:before {
102
102
  content: "\f11c";
103
103
  }
104
- .icon.huspy-icon-file-spreadsheet:before {
104
+ .icon.huspy-icon-file-text:before {
105
105
  content: "\f11d";
106
106
  }
107
- .icon.huspy-icon-file-signature:before {
107
+ .icon.huspy-icon-file-spreadsheet:before {
108
108
  content: "\f11e";
109
109
  }
110
- .icon.huspy-icon-file-lock:before {
110
+ .icon.huspy-icon-file-signature:before {
111
111
  content: "\f11f";
112
112
  }
113
- .icon.huspy-icon-file-key:before {
113
+ .icon.huspy-icon-file-lock:before {
114
114
  content: "\f120";
115
115
  }
116
- .icon.huspy-icon-file-check:before {
116
+ .icon.huspy-icon-file-key:before {
117
117
  content: "\f121";
118
118
  }
119
- .icon.huspy-icon-face-id:before {
119
+ .icon.huspy-icon-file-input:before {
120
120
  content: "\f122";
121
121
  }
122
- .icon.huspy-icon-eye-visible:before {
122
+ .icon.huspy-icon-file-check:before {
123
123
  content: "\f123";
124
124
  }
125
- .icon.huspy-icon-eye-hidden:before {
125
+ .icon.huspy-icon-face-id:before {
126
126
  content: "\f124";
127
127
  }
128
- .icon.huspy-icon-explore-linear:before {
128
+ .icon.huspy-icon-eye-visible:before {
129
129
  content: "\f125";
130
130
  }
131
- .icon.huspy-icon-explore-filled:before {
131
+ .icon.huspy-icon-eye-hidden:before {
132
132
  content: "\f126";
133
133
  }
134
- .icon.huspy-icon-edit:before {
134
+ .icon.huspy-icon-explore-linear:before {
135
135
  content: "\f127";
136
136
  }
137
- .icon.huspy-icon-chevron-up:before {
137
+ .icon.huspy-icon-explore-filled:before {
138
138
  content: "\f128";
139
139
  }
140
- .icon.huspy-icon-chevron-right:before {
140
+ .icon.huspy-icon-edit:before {
141
141
  content: "\f129";
142
142
  }
143
- .icon.huspy-icon-chevron-left:before {
143
+ .icon.huspy-icon-chevron-up:before {
144
144
  content: "\f12a";
145
145
  }
146
- .icon.huspy-icon-chevron-down:before {
146
+ .icon.huspy-icon-chevron-right:before {
147
147
  content: "\f12b";
148
148
  }
149
- .icon.huspy-icon-check:before {
149
+ .icon.huspy-icon-chevron-left:before {
150
150
  content: "\f12c";
151
151
  }
152
- .icon.huspy-icon-cancel:before {
152
+ .icon.huspy-icon-chevron-down:before {
153
153
  content: "\f12d";
154
154
  }
155
- .icon.huspy-icon-cancel-circle-solid:before {
155
+ .icon.huspy-icon-check:before {
156
156
  content: "\f12e";
157
157
  }
158
- .icon.huspy-icon-building:before {
158
+ .icon.huspy-icon-cancel:before {
159
159
  content: "\f12f";
160
160
  }
161
- .icon.huspy-icon-bell:before {
161
+ .icon.huspy-icon-cancel-circle-solid:before {
162
162
  content: "\f130";
163
163
  }
164
- .icon.huspy-icon-bed-double:before {
164
+ .icon.huspy-icon-building:before {
165
165
  content: "\f131";
166
166
  }
167
- .icon.huspy-icon-arrow-up:before {
167
+ .icon.huspy-icon-bell:before {
168
168
  content: "\f132";
169
169
  }
170
- .icon.huspy-icon-arrow-up-right:before {
170
+ .icon.huspy-icon-bed-double:before {
171
171
  content: "\f133";
172
172
  }
173
- .icon.huspy-icon-arrow-up-left:before {
173
+ .icon.huspy-icon-arrow-up:before {
174
174
  content: "\f134";
175
175
  }
176
- .icon.huspy-icon-arrow-up-down:before {
176
+ .icon.huspy-icon-arrow-up-right:before {
177
177
  content: "\f135";
178
178
  }
179
- .icon.huspy-icon-arrow-right:before {
179
+ .icon.huspy-icon-arrow-up-left:before {
180
180
  content: "\f136";
181
181
  }
182
- .icon.huspy-icon-arrow-left:before {
182
+ .icon.huspy-icon-arrow-up-down:before {
183
183
  content: "\f137";
184
184
  }
185
- .icon.huspy-icon-arrow-down:before {
185
+ .icon.huspy-icon-arrow-right:before {
186
186
  content: "\f138";
187
187
  }
188
- .icon.huspy-icon-arrow-down-right:before {
188
+ .icon.huspy-icon-arrow-left:before {
189
189
  content: "\f139";
190
190
  }
191
- .icon.huspy-icon-arrow-down-left:before {
191
+ .icon.huspy-icon-arrow-down:before {
192
192
  content: "\f13a";
193
193
  }
194
- .icon.huspy-icon-alert-triangle:before {
194
+ .icon.huspy-icon-arrow-down-right:before {
195
195
  content: "\f13b";
196
196
  }
197
+ .icon.huspy-icon-arrow-down-left:before {
198
+ content: "\f13c";
199
+ }
200
+ .icon.huspy-icon-alert-triangle:before {
201
+ content: "\f13d";
202
+ }
Binary file
@@ -10,52 +10,54 @@
10
10
  "rent": 61705,
11
11
  "properties-linear": 61706,
12
12
  "properties-filled": 61707,
13
- "plus": 61708,
14
- "payments": 61709,
15
- "note": 61710,
16
- "mortgage": 61711,
17
- "map-pin": 61712,
18
- "mail": 61713,
19
- "logout": 61714,
20
- "lock": 61715,
21
- "leads-linear": 61716,
22
- "leads-filled": 61717,
23
- "keys_01": 61718,
24
- "icon-slot": 61719,
25
- "home-linear": 61720,
26
- "home-filled": 61721,
27
- "help-circle": 61722,
28
- "fingerprint-android": 61723,
29
- "file-text": 61724,
30
- "file-spreadsheet": 61725,
31
- "file-signature": 61726,
32
- "file-lock": 61727,
33
- "file-key": 61728,
34
- "file-check": 61729,
35
- "face-id": 61730,
36
- "eye-visible": 61731,
37
- "eye-hidden": 61732,
38
- "explore-linear": 61733,
39
- "explore-filled": 61734,
40
- "edit": 61735,
41
- "chevron-up": 61736,
42
- "chevron-right": 61737,
43
- "chevron-left": 61738,
44
- "chevron-down": 61739,
45
- "check": 61740,
46
- "cancel": 61741,
47
- "cancel-circle-solid": 61742,
48
- "building": 61743,
49
- "bell": 61744,
50
- "bed-double": 61745,
51
- "arrow-up": 61746,
52
- "arrow-up-right": 61747,
53
- "arrow-up-left": 61748,
54
- "arrow-up-down": 61749,
55
- "arrow-right": 61750,
56
- "arrow-left": 61751,
57
- "arrow-down": 61752,
58
- "arrow-down-right": 61753,
59
- "arrow-down-left": 61754,
60
- "alert-triangle": 61755
13
+ "promotion": 61708,
14
+ "plus": 61709,
15
+ "payments": 61710,
16
+ "note": 61711,
17
+ "mortgage": 61712,
18
+ "map-pin": 61713,
19
+ "mail": 61714,
20
+ "logout": 61715,
21
+ "lock": 61716,
22
+ "leads-linear": 61717,
23
+ "leads-filled": 61718,
24
+ "keys_01": 61719,
25
+ "icon-slot": 61720,
26
+ "home-linear": 61721,
27
+ "home-filled": 61722,
28
+ "help-circle": 61723,
29
+ "fingerprint-android": 61724,
30
+ "file-text": 61725,
31
+ "file-spreadsheet": 61726,
32
+ "file-signature": 61727,
33
+ "file-lock": 61728,
34
+ "file-key": 61729,
35
+ "file-input": 61730,
36
+ "file-check": 61731,
37
+ "face-id": 61732,
38
+ "eye-visible": 61733,
39
+ "eye-hidden": 61734,
40
+ "explore-linear": 61735,
41
+ "explore-filled": 61736,
42
+ "edit": 61737,
43
+ "chevron-up": 61738,
44
+ "chevron-right": 61739,
45
+ "chevron-left": 61740,
46
+ "chevron-down": 61741,
47
+ "check": 61742,
48
+ "cancel": 61743,
49
+ "cancel-circle-solid": 61744,
50
+ "building": 61745,
51
+ "bell": 61746,
52
+ "bed-double": 61747,
53
+ "arrow-up": 61748,
54
+ "arrow-up-right": 61749,
55
+ "arrow-up-left": 61750,
56
+ "arrow-up-down": 61751,
57
+ "arrow-right": 61752,
58
+ "arrow-left": 61753,
59
+ "arrow-down": 61754,
60
+ "arrow-down-right": 61755,
61
+ "arrow-down-left": 61756,
62
+ "alert-triangle": 61757
61
63
  }
@@ -10,6 +10,7 @@ export type HuspyIconsId =
10
10
  | "rent"
11
11
  | "properties-linear"
12
12
  | "properties-filled"
13
+ | "promotion"
13
14
  | "plus"
14
15
  | "payments"
15
16
  | "note"
@@ -31,6 +32,7 @@ export type HuspyIconsId =
31
32
  | "file-signature"
32
33
  | "file-lock"
33
34
  | "file-key"
35
+ | "file-input"
34
36
  | "file-check"
35
37
  | "face-id"
36
38
  | "eye-visible"
@@ -71,6 +73,7 @@ export enum HuspyIcons {
71
73
  Rent = "rent",
72
74
  PropertiesLinear = "properties-linear",
73
75
  PropertiesFilled = "properties-filled",
76
+ Promotion = "promotion",
74
77
  Plus = "plus",
75
78
  Payments = "payments",
76
79
  Note = "note",
@@ -92,6 +95,7 @@ export enum HuspyIcons {
92
95
  FileSignature = "file-signature",
93
96
  FileLock = "file-lock",
94
97
  FileKey = "file-key",
98
+ FileInput = "file-input",
95
99
  FileCheck = "file-check",
96
100
  FaceId = "face-id",
97
101
  EyeVisible = "eye-visible",
@@ -133,52 +137,54 @@ export const HUSPY_ICONS_CODEPOINTS: { [key in HuspyIcons]: string } = {
133
137
  [HuspyIcons.Rent]: "61705",
134
138
  [HuspyIcons.PropertiesLinear]: "61706",
135
139
  [HuspyIcons.PropertiesFilled]: "61707",
136
- [HuspyIcons.Plus]: "61708",
137
- [HuspyIcons.Payments]: "61709",
138
- [HuspyIcons.Note]: "61710",
139
- [HuspyIcons.Mortgage]: "61711",
140
- [HuspyIcons.MapPin]: "61712",
141
- [HuspyIcons.Mail]: "61713",
142
- [HuspyIcons.Logout]: "61714",
143
- [HuspyIcons.Lock]: "61715",
144
- [HuspyIcons.LeadsLinear]: "61716",
145
- [HuspyIcons.LeadsFilled]: "61717",
146
- [HuspyIcons.Keys01]: "61718",
147
- [HuspyIcons.IconSlot]: "61719",
148
- [HuspyIcons.HomeLinear]: "61720",
149
- [HuspyIcons.HomeFilled]: "61721",
150
- [HuspyIcons.HelpCircle]: "61722",
151
- [HuspyIcons.FingerprintAndroid]: "61723",
152
- [HuspyIcons.FileText]: "61724",
153
- [HuspyIcons.FileSpreadsheet]: "61725",
154
- [HuspyIcons.FileSignature]: "61726",
155
- [HuspyIcons.FileLock]: "61727",
156
- [HuspyIcons.FileKey]: "61728",
157
- [HuspyIcons.FileCheck]: "61729",
158
- [HuspyIcons.FaceId]: "61730",
159
- [HuspyIcons.EyeVisible]: "61731",
160
- [HuspyIcons.EyeHidden]: "61732",
161
- [HuspyIcons.ExploreLinear]: "61733",
162
- [HuspyIcons.ExploreFilled]: "61734",
163
- [HuspyIcons.Edit]: "61735",
164
- [HuspyIcons.ChevronUp]: "61736",
165
- [HuspyIcons.ChevronRight]: "61737",
166
- [HuspyIcons.ChevronLeft]: "61738",
167
- [HuspyIcons.ChevronDown]: "61739",
168
- [HuspyIcons.Check]: "61740",
169
- [HuspyIcons.Cancel]: "61741",
170
- [HuspyIcons.CancelCircleSolid]: "61742",
171
- [HuspyIcons.Building]: "61743",
172
- [HuspyIcons.Bell]: "61744",
173
- [HuspyIcons.BedDouble]: "61745",
174
- [HuspyIcons.ArrowUp]: "61746",
175
- [HuspyIcons.ArrowUpRight]: "61747",
176
- [HuspyIcons.ArrowUpLeft]: "61748",
177
- [HuspyIcons.ArrowUpDown]: "61749",
178
- [HuspyIcons.ArrowRight]: "61750",
179
- [HuspyIcons.ArrowLeft]: "61751",
180
- [HuspyIcons.ArrowDown]: "61752",
181
- [HuspyIcons.ArrowDownRight]: "61753",
182
- [HuspyIcons.ArrowDownLeft]: "61754",
183
- [HuspyIcons.AlertTriangle]: "61755",
140
+ [HuspyIcons.Promotion]: "61708",
141
+ [HuspyIcons.Plus]: "61709",
142
+ [HuspyIcons.Payments]: "61710",
143
+ [HuspyIcons.Note]: "61711",
144
+ [HuspyIcons.Mortgage]: "61712",
145
+ [HuspyIcons.MapPin]: "61713",
146
+ [HuspyIcons.Mail]: "61714",
147
+ [HuspyIcons.Logout]: "61715",
148
+ [HuspyIcons.Lock]: "61716",
149
+ [HuspyIcons.LeadsLinear]: "61717",
150
+ [HuspyIcons.LeadsFilled]: "61718",
151
+ [HuspyIcons.Keys01]: "61719",
152
+ [HuspyIcons.IconSlot]: "61720",
153
+ [HuspyIcons.HomeLinear]: "61721",
154
+ [HuspyIcons.HomeFilled]: "61722",
155
+ [HuspyIcons.HelpCircle]: "61723",
156
+ [HuspyIcons.FingerprintAndroid]: "61724",
157
+ [HuspyIcons.FileText]: "61725",
158
+ [HuspyIcons.FileSpreadsheet]: "61726",
159
+ [HuspyIcons.FileSignature]: "61727",
160
+ [HuspyIcons.FileLock]: "61728",
161
+ [HuspyIcons.FileKey]: "61729",
162
+ [HuspyIcons.FileInput]: "61730",
163
+ [HuspyIcons.FileCheck]: "61731",
164
+ [HuspyIcons.FaceId]: "61732",
165
+ [HuspyIcons.EyeVisible]: "61733",
166
+ [HuspyIcons.EyeHidden]: "61734",
167
+ [HuspyIcons.ExploreLinear]: "61735",
168
+ [HuspyIcons.ExploreFilled]: "61736",
169
+ [HuspyIcons.Edit]: "61737",
170
+ [HuspyIcons.ChevronUp]: "61738",
171
+ [HuspyIcons.ChevronRight]: "61739",
172
+ [HuspyIcons.ChevronLeft]: "61740",
173
+ [HuspyIcons.ChevronDown]: "61741",
174
+ [HuspyIcons.Check]: "61742",
175
+ [HuspyIcons.Cancel]: "61743",
176
+ [HuspyIcons.CancelCircleSolid]: "61744",
177
+ [HuspyIcons.Building]: "61745",
178
+ [HuspyIcons.Bell]: "61746",
179
+ [HuspyIcons.BedDouble]: "61747",
180
+ [HuspyIcons.ArrowUp]: "61748",
181
+ [HuspyIcons.ArrowUpRight]: "61749",
182
+ [HuspyIcons.ArrowUpLeft]: "61750",
183
+ [HuspyIcons.ArrowUpDown]: "61751",
184
+ [HuspyIcons.ArrowRight]: "61752",
185
+ [HuspyIcons.ArrowLeft]: "61753",
186
+ [HuspyIcons.ArrowDown]: "61754",
187
+ [HuspyIcons.ArrowDownRight]: "61755",
188
+ [HuspyIcons.ArrowDownLeft]: "61756",
189
+ [HuspyIcons.AlertTriangle]: "61757",
184
190
  };
Binary file
Binary file
Binary file
@@ -4,7 +4,7 @@ import { TextProps } from 'react-native';
4
4
  /**
5
5
  * Available icon names in the HuspyIcons font
6
6
  */
7
- type IconName = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'plus' | 'payments' | 'note' | 'mortgage' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'building' | 'bell' | 'bed-double' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'alert-triangle';
7
+ type IconName = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'payments' | 'note' | 'mortgage' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-input' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'building' | 'bell' | 'bed-double' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'alert-triangle';
8
8
  /**
9
9
  * Mapping of icon names to unicode codepoints
10
10
  * Used by the Icon component to render the correct glyph
@@ -53,54 +53,56 @@ var glyphMap = {
53
53
  "rent": 61705,
54
54
  "properties-linear": 61706,
55
55
  "properties-filled": 61707,
56
- "plus": 61708,
57
- "payments": 61709,
58
- "note": 61710,
59
- "mortgage": 61711,
60
- "map-pin": 61712,
61
- "mail": 61713,
62
- "logout": 61714,
63
- "lock": 61715,
64
- "leads-linear": 61716,
65
- "leads-filled": 61717,
66
- "keys_01": 61718,
67
- "icon-slot": 61719,
68
- "home-linear": 61720,
69
- "home-filled": 61721,
70
- "help-circle": 61722,
71
- "fingerprint-android": 61723,
72
- "file-text": 61724,
73
- "file-spreadsheet": 61725,
74
- "file-signature": 61726,
75
- "file-lock": 61727,
76
- "file-key": 61728,
77
- "file-check": 61729,
78
- "face-id": 61730,
79
- "eye-visible": 61731,
80
- "eye-hidden": 61732,
81
- "explore-linear": 61733,
82
- "explore-filled": 61734,
83
- "edit": 61735,
84
- "chevron-up": 61736,
85
- "chevron-right": 61737,
86
- "chevron-left": 61738,
87
- "chevron-down": 61739,
88
- "check": 61740,
89
- "cancel": 61741,
90
- "cancel-circle-solid": 61742,
91
- "building": 61743,
92
- "bell": 61744,
93
- "bed-double": 61745,
94
- "arrow-up": 61746,
95
- "arrow-up-right": 61747,
96
- "arrow-up-left": 61748,
97
- "arrow-up-down": 61749,
98
- "arrow-right": 61750,
99
- "arrow-left": 61751,
100
- "arrow-down": 61752,
101
- "arrow-down-right": 61753,
102
- "arrow-down-left": 61754,
103
- "alert-triangle": 61755
56
+ "promotion": 61708,
57
+ "plus": 61709,
58
+ "payments": 61710,
59
+ "note": 61711,
60
+ "mortgage": 61712,
61
+ "map-pin": 61713,
62
+ "mail": 61714,
63
+ "logout": 61715,
64
+ "lock": 61716,
65
+ "leads-linear": 61717,
66
+ "leads-filled": 61718,
67
+ "keys_01": 61719,
68
+ "icon-slot": 61720,
69
+ "home-linear": 61721,
70
+ "home-filled": 61722,
71
+ "help-circle": 61723,
72
+ "fingerprint-android": 61724,
73
+ "file-text": 61725,
74
+ "file-spreadsheet": 61726,
75
+ "file-signature": 61727,
76
+ "file-lock": 61728,
77
+ "file-key": 61729,
78
+ "file-input": 61730,
79
+ "file-check": 61731,
80
+ "face-id": 61732,
81
+ "eye-visible": 61733,
82
+ "eye-hidden": 61734,
83
+ "explore-linear": 61735,
84
+ "explore-filled": 61736,
85
+ "edit": 61737,
86
+ "chevron-up": 61738,
87
+ "chevron-right": 61739,
88
+ "chevron-left": 61740,
89
+ "chevron-down": 61741,
90
+ "check": 61742,
91
+ "cancel": 61743,
92
+ "cancel-circle-solid": 61744,
93
+ "building": 61745,
94
+ "bell": 61746,
95
+ "bed-double": 61747,
96
+ "arrow-up": 61748,
97
+ "arrow-up-right": 61749,
98
+ "arrow-up-left": 61750,
99
+ "arrow-up-down": 61751,
100
+ "arrow-right": 61752,
101
+ "arrow-left": 61753,
102
+ "arrow-down": 61754,
103
+ "arrow-down-right": 61755,
104
+ "arrow-down-left": 61756,
105
+ "alert-triangle": 61757
104
106
  };
105
107
  var fontFamily = "HuspyIcons";
106
108
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/native/index.ts","../../src/native/Icon.tsx","../../src/native/glyphMap.ts"],"sourcesContent":["/**\n * Huspy Icons - React Native (Font-based)\n * \n * This package provides icon components for React Native using a custom font.\n * \n * @example\n * ```tsx\n * import { Icon } from 'huspy-icons/native';\n * \n * function MyComponent() {\n * return <Icon name=\"arrow-left\" size={24} color=\"#000\" />;\n * }\n * ```\n */\n\nexport { default as Icon } from './Icon';\nexport type { IconProps, IconName } from './Icon';\nexport { glyphMap, fontFamily } from './glyphMap';\n\n","import * as React from 'react';\nimport { Text, TextProps } from 'react-native';\nimport { glyphMap, fontFamily, IconName } from './glyphMap';\n\n/**\n * Props for the Icon component (React Native)\n */\nexport interface IconProps extends Omit<TextProps, 'children'> {\n /**\n * Name of the icon to display\n */\n name: IconName;\n\n /**\n * Size of the icon (default: 16)\n */\n size?: number;\n\n /**\n * Color of the icon (default: inherits from parent or 'black')\n */\n color?: string;\n}\n\n/**\n * Icon component for React Native\n *\n * Renders icons using a custom font (HuspyIcons)\n *\n * @example\n * ```tsx\n * <Icon name=\"arrow-left\" size={24} color=\"#000\" />\n * ```\n */\nconst Icon = ({ name, size = 16, color = '#000', style, ...props }: IconProps) => {\n const codepoint = glyphMap[name];\n\n if (!codepoint) {\n if (__DEV__) {\n console.warn(`Icon \"${name}\" not found in HuspyIcons font`);\n }\n return null;\n }\n\n // Convert codepoint to character\n const glyph = String.fromCharCode(codepoint);\n\n return (\n <Text\n {...props}\n style={[\n {\n fontFamily: fontFamily,\n fontSize: size,\n color: color,\n // Ensure icon doesn't inherit text styles\n fontWeight: 'normal',\n fontStyle: 'normal',\n // Prevent text selection and ensure proper rendering\n includeFontPadding: false, // Android: removes extra padding\n textAlignVertical: 'center', // Android: centers the glyph vertically\n },\n style,\n ]}\n // Accessibility\n accessible\n accessibilityLabel={props.accessibilityLabel || name}\n accessibilityRole=\"image\"\n >\n {glyph}\n </Text>\n );\n};\n\nexport default Icon;\nexport type { IconName };\n","// Auto-generated by generate-font.js - do not edit manually\n// Source: icons-src/*.svg → dist/fonts/HuspyIcons.*\n\n/**\n * Available icon names in the HuspyIcons font\n */\nexport type IconName = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'plus' | 'payments' | 'note' | 'mortgage' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'building' | 'bell' | 'bed-double' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'alert-triangle';\n\n/**\n * Mapping of icon names to unicode codepoints\n * Used by the Icon component to render the correct glyph\n */\nexport const glyphMap: Record<IconName, number> = {\n \"whatsapp\": 61697,\n \"user\": 61698,\n \"trash-2\": 61699,\n \"size-3d\": 61700,\n \"share\": 61701,\n \"search\": 61702,\n \"search-x\": 61703,\n \"sale\": 61704,\n \"rent\": 61705,\n \"properties-linear\": 61706,\n \"properties-filled\": 61707,\n \"plus\": 61708,\n \"payments\": 61709,\n \"note\": 61710,\n \"mortgage\": 61711,\n \"map-pin\": 61712,\n \"mail\": 61713,\n \"logout\": 61714,\n \"lock\": 61715,\n \"leads-linear\": 61716,\n \"leads-filled\": 61717,\n \"keys_01\": 61718,\n \"icon-slot\": 61719,\n \"home-linear\": 61720,\n \"home-filled\": 61721,\n \"help-circle\": 61722,\n \"fingerprint-android\": 61723,\n \"file-text\": 61724,\n \"file-spreadsheet\": 61725,\n \"file-signature\": 61726,\n \"file-lock\": 61727,\n \"file-key\": 61728,\n \"file-check\": 61729,\n \"face-id\": 61730,\n \"eye-visible\": 61731,\n \"eye-hidden\": 61732,\n \"explore-linear\": 61733,\n \"explore-filled\": 61734,\n \"edit\": 61735,\n \"chevron-up\": 61736,\n \"chevron-right\": 61737,\n \"chevron-left\": 61738,\n \"chevron-down\": 61739,\n \"check\": 61740,\n \"cancel\": 61741,\n \"cancel-circle-solid\": 61742,\n \"building\": 61743,\n \"bell\": 61744,\n \"bed-double\": 61745,\n \"arrow-up\": 61746,\n \"arrow-up-right\": 61747,\n \"arrow-up-left\": 61748,\n \"arrow-up-down\": 61749,\n \"arrow-right\": 61750,\n \"arrow-left\": 61751,\n \"arrow-down\": 61752,\n \"arrow-down-right\": 61753,\n \"arrow-down-left\": 61754,\n \"alert-triangle\": 61755\n};\n\n/**\n * Font family name for React Native\n */\nexport const fontFamily = 'HuspyIcons';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,YAAuB;AACvB,0BAAgC;;;ACWzB,IAAM,WAAqC;AAAA,EAChD,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,WAAW;AAAA,EACX,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,aAAa;AAAA,EACb,eAAe;AAAA,EACf,eAAe;AAAA,EACf,eAAe;AAAA,EACf,uBAAuB;AAAA,EACvB,aAAa;AAAA,EACb,oBAAoB;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Q;","names":[]}
1
+ {"version":3,"sources":["../../src/native/index.ts","../../src/native/Icon.tsx","../../src/native/glyphMap.ts"],"sourcesContent":["/**\n * Huspy Icons - React Native (Font-based)\n * \n * This package provides icon components for React Native using a custom font.\n * \n * @example\n * ```tsx\n * import { Icon } from 'huspy-icons/native';\n * \n * function MyComponent() {\n * return <Icon name=\"arrow-left\" size={24} color=\"#000\" />;\n * }\n * ```\n */\n\nexport { default as Icon } from './Icon';\nexport type { IconProps, IconName } from './Icon';\nexport { glyphMap, fontFamily } from './glyphMap';\n\n","import * as React from 'react';\nimport { Text, TextProps } from 'react-native';\nimport { glyphMap, fontFamily, IconName } from './glyphMap';\n\n/**\n * Props for the Icon component (React Native)\n */\nexport interface IconProps extends Omit<TextProps, 'children'> {\n /**\n * Name of the icon to display\n */\n name: IconName;\n\n /**\n * Size of the icon (default: 16)\n */\n size?: number;\n\n /**\n * Color of the icon (default: inherits from parent or 'black')\n */\n color?: string;\n}\n\n/**\n * Icon component for React Native\n *\n * Renders icons using a custom font (HuspyIcons)\n *\n * @example\n * ```tsx\n * <Icon name=\"arrow-left\" size={24} color=\"#000\" />\n * ```\n */\nconst Icon = ({ name, size = 16, color = '#000', style, ...props }: IconProps) => {\n const codepoint = glyphMap[name];\n\n if (!codepoint) {\n if (__DEV__) {\n console.warn(`Icon \"${name}\" not found in HuspyIcons font`);\n }\n return null;\n }\n\n // Convert codepoint to character\n const glyph = String.fromCharCode(codepoint);\n\n return (\n <Text\n {...props}\n style={[\n {\n fontFamily: fontFamily,\n fontSize: size,\n color: color,\n // Ensure icon doesn't inherit text styles\n fontWeight: 'normal',\n fontStyle: 'normal',\n // Prevent text selection and ensure proper rendering\n includeFontPadding: false, // Android: removes extra padding\n textAlignVertical: 'center', // Android: centers the glyph vertically\n },\n style,\n ]}\n // Accessibility\n accessible\n accessibilityLabel={props.accessibilityLabel || name}\n accessibilityRole=\"image\"\n >\n {glyph}\n </Text>\n );\n};\n\nexport default Icon;\nexport type { IconName };\n","// Auto-generated by generate-font.js - do not edit manually\n// Source: icons-src/*.svg → dist/fonts/HuspyIcons.*\n\n/**\n * Available icon names in the HuspyIcons font\n */\nexport type IconName = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'payments' | 'note' | 'mortgage' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-input' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'building' | 'bell' | 'bed-double' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'alert-triangle';\n\n/**\n * Mapping of icon names to unicode codepoints\n * Used by the Icon component to render the correct glyph\n */\nexport const glyphMap: Record<IconName, number> = {\n \"whatsapp\": 61697,\n \"user\": 61698,\n \"trash-2\": 61699,\n \"size-3d\": 61700,\n \"share\": 61701,\n \"search\": 61702,\n \"search-x\": 61703,\n \"sale\": 61704,\n \"rent\": 61705,\n \"properties-linear\": 61706,\n \"properties-filled\": 61707,\n \"promotion\": 61708,\n \"plus\": 61709,\n \"payments\": 61710,\n \"note\": 61711,\n \"mortgage\": 61712,\n \"map-pin\": 61713,\n \"mail\": 61714,\n \"logout\": 61715,\n \"lock\": 61716,\n \"leads-linear\": 61717,\n \"leads-filled\": 61718,\n \"keys_01\": 61719,\n \"icon-slot\": 61720,\n \"home-linear\": 61721,\n \"home-filled\": 61722,\n \"help-circle\": 61723,\n \"fingerprint-android\": 61724,\n \"file-text\": 61725,\n \"file-spreadsheet\": 61726,\n \"file-signature\": 61727,\n \"file-lock\": 61728,\n \"file-key\": 61729,\n \"file-input\": 61730,\n \"file-check\": 61731,\n \"face-id\": 61732,\n \"eye-visible\": 61733,\n \"eye-hidden\": 61734,\n \"explore-linear\": 61735,\n \"explore-filled\": 61736,\n \"edit\": 61737,\n \"chevron-up\": 61738,\n \"chevron-right\": 61739,\n \"chevron-left\": 61740,\n \"chevron-down\": 61741,\n \"check\": 61742,\n \"cancel\": 61743,\n \"cancel-circle-solid\": 61744,\n \"building\": 61745,\n \"bell\": 61746,\n \"bed-double\": 61747,\n \"arrow-up\": 61748,\n \"arrow-up-right\": 61749,\n \"arrow-up-left\": 61750,\n \"arrow-up-down\": 61751,\n \"arrow-right\": 61752,\n \"arrow-left\": 61753,\n \"arrow-down\": 61754,\n \"arrow-down-right\": 61755,\n \"arrow-down-left\": 61756,\n \"alert-triangle\": 61757\n};\n\n/**\n * Font family name for React Native\n */\nexport const fontFamily = 'HuspyIcons';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,YAAuB;AACvB,0BAAgC;;;ACWzB,IAAM,WAAqC;AAAA,EAChD,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,WAAW;AAAA,EACX,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,aAAa;AAAA,EACb,eAAe;AAAA,E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