huspy-icons 0.3.6 → 0.3.7
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/dist/fonts/HuspyIcons.css +139 -73
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +91 -69
- package/dist/fonts/HuspyIcons.ts +136 -70
- package/dist/fonts/HuspyIcons.ttf +0 -0
- package/dist/fonts/HuspyIcons.woff +0 -0
- package/dist/fonts/HuspyIcons.woff2 +0 -0
- package/dist/native/index.d.ts +1 -1
- package/dist/native/index.js +91 -69
- package/dist/native/index.js.map +1 -1
- package/dist/react/index.d.mts +46 -2
- package/dist/react/index.d.ts +46 -2
- package/dist/react/index.js +2442 -779
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +2311 -648
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/native/glyphMap.ts +92 -70
- package/src/react/Accessibility.tsx +50 -0
- package/src/react/AirConditioner.tsx +62 -0
- package/src/react/Archive.tsx +38 -0
- package/src/react/BalconyWindow.tsx +24 -0
- package/src/react/Bath.tsx +50 -0
- package/src/react/Closet.tsx +24 -0
- package/src/react/DoorOpen.tsx +50 -0
- package/src/react/Electric.tsx +56 -0
- package/src/react/Garden.tsx +44 -0
- package/src/react/GasHeating.tsx +62 -0
- package/src/react/Heating.tsx +56 -0
- package/src/react/Icon.tsx +67 -1
- package/src/react/Image.tsx +38 -0
- package/src/react/Lift.tsx +24 -0
- package/src/react/MagicWand.tsx +68 -0
- package/src/react/Outside.tsx +68 -0
- package/src/react/Parking.tsx +50 -0
- package/src/react/Patio.tsx +74 -0
- package/src/react/Pet.tsx +56 -0
- package/src/react/Restaurant.tsx +32 -0
- package/src/react/SwimmingPool.tsx +56 -0
- package/src/react/Terrace.tsx +24 -0
- package/src/react/ThermometerSnowflake.tsx +56 -0
- package/src/react/index.ts +22 -0
- package/src/react/index.tsx +22 -0
package/dist/fonts/HuspyIcons.ts
CHANGED
|
@@ -2,11 +2,15 @@ export type HuspyIconsId =
|
|
|
2
2
|
| "whatsapp"
|
|
3
3
|
| "user"
|
|
4
4
|
| "trash-2"
|
|
5
|
+
| "thermometer-snowflake"
|
|
6
|
+
| "terrace"
|
|
7
|
+
| "swimming-pool"
|
|
5
8
|
| "size-3d"
|
|
6
9
|
| "share"
|
|
7
10
|
| "search"
|
|
8
11
|
| "search-x"
|
|
9
12
|
| "sale"
|
|
13
|
+
| "restaurant"
|
|
10
14
|
| "rent"
|
|
11
15
|
| "properties-linear"
|
|
12
16
|
| "properties-filled"
|
|
@@ -14,24 +18,34 @@ export type HuspyIconsId =
|
|
|
14
18
|
| "plus"
|
|
15
19
|
| "pin_map_solid"
|
|
16
20
|
| "phone-linear"
|
|
21
|
+
| "pet"
|
|
17
22
|
| "pencil-line"
|
|
18
23
|
| "payments"
|
|
24
|
+
| "patio"
|
|
25
|
+
| "parking"
|
|
26
|
+
| "outside"
|
|
19
27
|
| "notes"
|
|
20
28
|
| "note"
|
|
21
29
|
| "mortgage"
|
|
22
30
|
| "more-horizontal"
|
|
23
31
|
| "map-pin"
|
|
24
32
|
| "mail"
|
|
33
|
+
| "magic-wand"
|
|
25
34
|
| "logout"
|
|
26
35
|
| "lock"
|
|
36
|
+
| "lift"
|
|
27
37
|
| "leads-linear"
|
|
28
38
|
| "leads-filled"
|
|
29
39
|
| "keys_01"
|
|
30
40
|
| "info"
|
|
41
|
+
| "image"
|
|
31
42
|
| "icon-slot"
|
|
32
43
|
| "home-linear"
|
|
33
44
|
| "home-filled"
|
|
34
45
|
| "help-circle"
|
|
46
|
+
| "heating"
|
|
47
|
+
| "gas-heating"
|
|
48
|
+
| "garden"
|
|
35
49
|
| "fingerprint-android"
|
|
36
50
|
| "filter"
|
|
37
51
|
| "file-text"
|
|
@@ -46,8 +60,11 @@ export type HuspyIconsId =
|
|
|
46
60
|
| "eye-hidden"
|
|
47
61
|
| "explore-linear"
|
|
48
62
|
| "explore-filled"
|
|
63
|
+
| "electric"
|
|
49
64
|
| "edit"
|
|
65
|
+
| "door-open"
|
|
50
66
|
| "collections"
|
|
67
|
+
| "closet"
|
|
51
68
|
| "chevron-up"
|
|
52
69
|
| "chevron-right"
|
|
53
70
|
| "chevron-left"
|
|
@@ -60,6 +77,8 @@ export type HuspyIconsId =
|
|
|
60
77
|
| "building"
|
|
61
78
|
| "bell"
|
|
62
79
|
| "bed-double"
|
|
80
|
+
| "bath"
|
|
81
|
+
| "balcony-window"
|
|
63
82
|
| "arrow-up"
|
|
64
83
|
| "arrow-up-right"
|
|
65
84
|
| "arrow-up-left"
|
|
@@ -69,18 +88,25 @@ export type HuspyIconsId =
|
|
|
69
88
|
| "arrow-down"
|
|
70
89
|
| "arrow-down-right"
|
|
71
90
|
| "arrow-down-left"
|
|
91
|
+
| "archive"
|
|
72
92
|
| "alert-triangle"
|
|
73
|
-
| "
|
|
93
|
+
| "air-conditioner"
|
|
94
|
+
| "add-note"
|
|
95
|
+
| "accessibility";
|
|
74
96
|
|
|
75
97
|
export enum HuspyIcons {
|
|
76
98
|
Whatsapp = "whatsapp",
|
|
77
99
|
User = "user",
|
|
78
100
|
Trash2 = "trash-2",
|
|
101
|
+
ThermometerSnowflake = "thermometer-snowflake",
|
|
102
|
+
Terrace = "terrace",
|
|
103
|
+
SwimmingPool = "swimming-pool",
|
|
79
104
|
Size3d = "size-3d",
|
|
80
105
|
Share = "share",
|
|
81
106
|
Search = "search",
|
|
82
107
|
SearchX = "search-x",
|
|
83
108
|
Sale = "sale",
|
|
109
|
+
Restaurant = "restaurant",
|
|
84
110
|
Rent = "rent",
|
|
85
111
|
PropertiesLinear = "properties-linear",
|
|
86
112
|
PropertiesFilled = "properties-filled",
|
|
@@ -88,24 +114,34 @@ export enum HuspyIcons {
|
|
|
88
114
|
Plus = "plus",
|
|
89
115
|
PinMapSolid = "pin_map_solid",
|
|
90
116
|
PhoneLinear = "phone-linear",
|
|
117
|
+
Pet = "pet",
|
|
91
118
|
PencilLine = "pencil-line",
|
|
92
119
|
Payments = "payments",
|
|
120
|
+
Patio = "patio",
|
|
121
|
+
Parking = "parking",
|
|
122
|
+
Outside = "outside",
|
|
93
123
|
Notes = "notes",
|
|
94
124
|
Note = "note",
|
|
95
125
|
Mortgage = "mortgage",
|
|
96
126
|
MoreHorizontal = "more-horizontal",
|
|
97
127
|
MapPin = "map-pin",
|
|
98
128
|
Mail = "mail",
|
|
129
|
+
MagicWand = "magic-wand",
|
|
99
130
|
Logout = "logout",
|
|
100
131
|
Lock = "lock",
|
|
132
|
+
Lift = "lift",
|
|
101
133
|
LeadsLinear = "leads-linear",
|
|
102
134
|
LeadsFilled = "leads-filled",
|
|
103
135
|
Keys01 = "keys_01",
|
|
104
136
|
Info = "info",
|
|
137
|
+
Image = "image",
|
|
105
138
|
IconSlot = "icon-slot",
|
|
106
139
|
HomeLinear = "home-linear",
|
|
107
140
|
HomeFilled = "home-filled",
|
|
108
141
|
HelpCircle = "help-circle",
|
|
142
|
+
Heating = "heating",
|
|
143
|
+
GasHeating = "gas-heating",
|
|
144
|
+
Garden = "garden",
|
|
109
145
|
FingerprintAndroid = "fingerprint-android",
|
|
110
146
|
Filter = "filter",
|
|
111
147
|
FileText = "file-text",
|
|
@@ -120,8 +156,11 @@ export enum HuspyIcons {
|
|
|
120
156
|
EyeHidden = "eye-hidden",
|
|
121
157
|
ExploreLinear = "explore-linear",
|
|
122
158
|
ExploreFilled = "explore-filled",
|
|
159
|
+
Electric = "electric",
|
|
123
160
|
Edit = "edit",
|
|
161
|
+
DoorOpen = "door-open",
|
|
124
162
|
Collections = "collections",
|
|
163
|
+
Closet = "closet",
|
|
125
164
|
ChevronUp = "chevron-up",
|
|
126
165
|
ChevronRight = "chevron-right",
|
|
127
166
|
ChevronLeft = "chevron-left",
|
|
@@ -134,6 +173,8 @@ export enum HuspyIcons {
|
|
|
134
173
|
Building = "building",
|
|
135
174
|
Bell = "bell",
|
|
136
175
|
BedDouble = "bed-double",
|
|
176
|
+
Bath = "bath",
|
|
177
|
+
BalconyWindow = "balcony-window",
|
|
137
178
|
ArrowUp = "arrow-up",
|
|
138
179
|
ArrowUpRight = "arrow-up-right",
|
|
139
180
|
ArrowUpLeft = "arrow-up-left",
|
|
@@ -143,81 +184,106 @@ export enum HuspyIcons {
|
|
|
143
184
|
ArrowDown = "arrow-down",
|
|
144
185
|
ArrowDownRight = "arrow-down-right",
|
|
145
186
|
ArrowDownLeft = "arrow-down-left",
|
|
187
|
+
Archive = "archive",
|
|
146
188
|
AlertTriangle = "alert-triangle",
|
|
189
|
+
AirConditioner = "air-conditioner",
|
|
147
190
|
AddNote = "add-note",
|
|
191
|
+
Accessibility = "accessibility",
|
|
148
192
|
}
|
|
149
193
|
|
|
150
194
|
export const HUSPY_ICONS_CODEPOINTS: { [key in HuspyIcons]: string } = {
|
|
151
195
|
[HuspyIcons.Whatsapp]: "61697",
|
|
152
196
|
[HuspyIcons.User]: "61698",
|
|
153
197
|
[HuspyIcons.Trash2]: "61699",
|
|
154
|
-
[HuspyIcons.
|
|
155
|
-
[HuspyIcons.
|
|
156
|
-
[HuspyIcons.
|
|
157
|
-
[HuspyIcons.
|
|
158
|
-
[HuspyIcons.
|
|
159
|
-
[HuspyIcons.
|
|
160
|
-
[HuspyIcons.
|
|
161
|
-
[HuspyIcons.
|
|
162
|
-
[HuspyIcons.
|
|
163
|
-
[HuspyIcons.
|
|
164
|
-
[HuspyIcons.
|
|
165
|
-
[HuspyIcons.
|
|
166
|
-
[HuspyIcons.
|
|
167
|
-
[HuspyIcons.
|
|
168
|
-
[HuspyIcons.
|
|
169
|
-
[HuspyIcons.
|
|
170
|
-
[HuspyIcons.
|
|
171
|
-
[HuspyIcons.
|
|
172
|
-
[HuspyIcons.
|
|
173
|
-
[HuspyIcons.
|
|
174
|
-
[HuspyIcons.
|
|
175
|
-
[HuspyIcons.
|
|
176
|
-
[HuspyIcons.
|
|
177
|
-
[HuspyIcons.
|
|
178
|
-
[HuspyIcons.
|
|
179
|
-
[HuspyIcons.
|
|
180
|
-
[HuspyIcons.
|
|
181
|
-
[HuspyIcons.
|
|
182
|
-
[HuspyIcons.
|
|
183
|
-
[HuspyIcons.
|
|
184
|
-
[HuspyIcons.
|
|
185
|
-
[HuspyIcons.
|
|
186
|
-
[HuspyIcons.
|
|
187
|
-
[HuspyIcons.
|
|
188
|
-
[HuspyIcons.
|
|
189
|
-
[HuspyIcons.
|
|
190
|
-
[HuspyIcons.
|
|
191
|
-
[HuspyIcons.
|
|
192
|
-
[HuspyIcons.
|
|
193
|
-
[HuspyIcons.
|
|
194
|
-
[HuspyIcons.
|
|
195
|
-
[HuspyIcons.
|
|
196
|
-
[HuspyIcons.
|
|
197
|
-
[HuspyIcons.
|
|
198
|
-
[HuspyIcons.
|
|
199
|
-
[HuspyIcons.
|
|
200
|
-
[HuspyIcons.
|
|
201
|
-
[HuspyIcons.
|
|
202
|
-
[HuspyIcons.
|
|
203
|
-
[HuspyIcons.
|
|
204
|
-
[HuspyIcons.
|
|
205
|
-
[HuspyIcons.
|
|
206
|
-
[HuspyIcons.
|
|
207
|
-
[HuspyIcons.
|
|
208
|
-
[HuspyIcons.
|
|
209
|
-
[HuspyIcons.
|
|
210
|
-
[HuspyIcons.
|
|
211
|
-
[HuspyIcons.
|
|
212
|
-
[HuspyIcons.
|
|
213
|
-
[HuspyIcons.
|
|
214
|
-
[HuspyIcons.
|
|
215
|
-
[HuspyIcons.
|
|
216
|
-
[HuspyIcons.
|
|
217
|
-
[HuspyIcons.
|
|
218
|
-
[HuspyIcons.
|
|
219
|
-
[HuspyIcons.
|
|
220
|
-
[HuspyIcons.
|
|
221
|
-
[HuspyIcons.
|
|
222
|
-
[HuspyIcons.
|
|
198
|
+
[HuspyIcons.ThermometerSnowflake]: "61700",
|
|
199
|
+
[HuspyIcons.Terrace]: "61701",
|
|
200
|
+
[HuspyIcons.SwimmingPool]: "61702",
|
|
201
|
+
[HuspyIcons.Size3d]: "61703",
|
|
202
|
+
[HuspyIcons.Share]: "61704",
|
|
203
|
+
[HuspyIcons.Search]: "61705",
|
|
204
|
+
[HuspyIcons.SearchX]: "61706",
|
|
205
|
+
[HuspyIcons.Sale]: "61707",
|
|
206
|
+
[HuspyIcons.Restaurant]: "61708",
|
|
207
|
+
[HuspyIcons.Rent]: "61709",
|
|
208
|
+
[HuspyIcons.PropertiesLinear]: "61710",
|
|
209
|
+
[HuspyIcons.PropertiesFilled]: "61711",
|
|
210
|
+
[HuspyIcons.Promotion]: "61712",
|
|
211
|
+
[HuspyIcons.Plus]: "61713",
|
|
212
|
+
[HuspyIcons.PinMapSolid]: "61714",
|
|
213
|
+
[HuspyIcons.PhoneLinear]: "61715",
|
|
214
|
+
[HuspyIcons.Pet]: "61716",
|
|
215
|
+
[HuspyIcons.PencilLine]: "61717",
|
|
216
|
+
[HuspyIcons.Payments]: "61718",
|
|
217
|
+
[HuspyIcons.Patio]: "61719",
|
|
218
|
+
[HuspyIcons.Parking]: "61720",
|
|
219
|
+
[HuspyIcons.Outside]: "61721",
|
|
220
|
+
[HuspyIcons.Notes]: "61722",
|
|
221
|
+
[HuspyIcons.Note]: "61723",
|
|
222
|
+
[HuspyIcons.Mortgage]: "61724",
|
|
223
|
+
[HuspyIcons.MoreHorizontal]: "61725",
|
|
224
|
+
[HuspyIcons.MapPin]: "61726",
|
|
225
|
+
[HuspyIcons.Mail]: "61727",
|
|
226
|
+
[HuspyIcons.MagicWand]: "61728",
|
|
227
|
+
[HuspyIcons.Logout]: "61729",
|
|
228
|
+
[HuspyIcons.Lock]: "61730",
|
|
229
|
+
[HuspyIcons.Lift]: "61731",
|
|
230
|
+
[HuspyIcons.LeadsLinear]: "61732",
|
|
231
|
+
[HuspyIcons.LeadsFilled]: "61733",
|
|
232
|
+
[HuspyIcons.Keys01]: "61734",
|
|
233
|
+
[HuspyIcons.Info]: "61735",
|
|
234
|
+
[HuspyIcons.Image]: "61736",
|
|
235
|
+
[HuspyIcons.IconSlot]: "61737",
|
|
236
|
+
[HuspyIcons.HomeLinear]: "61738",
|
|
237
|
+
[HuspyIcons.HomeFilled]: "61739",
|
|
238
|
+
[HuspyIcons.HelpCircle]: "61740",
|
|
239
|
+
[HuspyIcons.Heating]: "61741",
|
|
240
|
+
[HuspyIcons.GasHeating]: "61742",
|
|
241
|
+
[HuspyIcons.Garden]: "61743",
|
|
242
|
+
[HuspyIcons.FingerprintAndroid]: "61744",
|
|
243
|
+
[HuspyIcons.Filter]: "61745",
|
|
244
|
+
[HuspyIcons.FileText]: "61746",
|
|
245
|
+
[HuspyIcons.FileSpreadsheet]: "61747",
|
|
246
|
+
[HuspyIcons.FileSignature]: "61748",
|
|
247
|
+
[HuspyIcons.FileLock]: "61749",
|
|
248
|
+
[HuspyIcons.FileKey]: "61750",
|
|
249
|
+
[HuspyIcons.FileInput]: "61751",
|
|
250
|
+
[HuspyIcons.FileCheck]: "61752",
|
|
251
|
+
[HuspyIcons.FaceId]: "61753",
|
|
252
|
+
[HuspyIcons.EyeVisible]: "61754",
|
|
253
|
+
[HuspyIcons.EyeHidden]: "61755",
|
|
254
|
+
[HuspyIcons.ExploreLinear]: "61756",
|
|
255
|
+
[HuspyIcons.ExploreFilled]: "61757",
|
|
256
|
+
[HuspyIcons.Electric]: "61758",
|
|
257
|
+
[HuspyIcons.Edit]: "61759",
|
|
258
|
+
[HuspyIcons.DoorOpen]: "61760",
|
|
259
|
+
[HuspyIcons.Collections]: "61761",
|
|
260
|
+
[HuspyIcons.Closet]: "61762",
|
|
261
|
+
[HuspyIcons.ChevronUp]: "61763",
|
|
262
|
+
[HuspyIcons.ChevronRight]: "61764",
|
|
263
|
+
[HuspyIcons.ChevronLeft]: "61765",
|
|
264
|
+
[HuspyIcons.ChevronDown]: "61766",
|
|
265
|
+
[HuspyIcons.Check]: "61767",
|
|
266
|
+
[HuspyIcons.CheckCircle2]: "61768",
|
|
267
|
+
[HuspyIcons.Cancel]: "61769",
|
|
268
|
+
[HuspyIcons.CancelCircleSolid]: "61770",
|
|
269
|
+
[HuspyIcons.Calendar]: "61771",
|
|
270
|
+
[HuspyIcons.Building]: "61772",
|
|
271
|
+
[HuspyIcons.Bell]: "61773",
|
|
272
|
+
[HuspyIcons.BedDouble]: "61774",
|
|
273
|
+
[HuspyIcons.Bath]: "61775",
|
|
274
|
+
[HuspyIcons.BalconyWindow]: "61776",
|
|
275
|
+
[HuspyIcons.ArrowUp]: "61777",
|
|
276
|
+
[HuspyIcons.ArrowUpRight]: "61778",
|
|
277
|
+
[HuspyIcons.ArrowUpLeft]: "61779",
|
|
278
|
+
[HuspyIcons.ArrowUpDown]: "61780",
|
|
279
|
+
[HuspyIcons.ArrowRight]: "61781",
|
|
280
|
+
[HuspyIcons.ArrowLeft]: "61782",
|
|
281
|
+
[HuspyIcons.ArrowDown]: "61783",
|
|
282
|
+
[HuspyIcons.ArrowDownRight]: "61784",
|
|
283
|
+
[HuspyIcons.ArrowDownLeft]: "61785",
|
|
284
|
+
[HuspyIcons.Archive]: "61786",
|
|
285
|
+
[HuspyIcons.AlertTriangle]: "61787",
|
|
286
|
+
[HuspyIcons.AirConditioner]: "61788",
|
|
287
|
+
[HuspyIcons.AddNote]: "61789",
|
|
288
|
+
[HuspyIcons.Accessibility]: "61790",
|
|
223
289
|
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/native/index.d.ts
CHANGED
|
@@ -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' | 'promotion' | 'plus' | 'pin_map_solid' | 'phone-linear' | 'pencil-line' | 'payments' | 'notes' | 'note' | 'mortgage' | 'more-horizontal' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'info' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'filter' | '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' | 'collections' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'check-circle-2' | 'cancel' | 'cancel-circle-solid' | 'calendar' | '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' | 'add-note';
|
|
7
|
+
type IconName = 'whatsapp' | 'user' | 'trash-2' | 'thermometer-snowflake' | 'terrace' | 'swimming-pool' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'restaurant' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'pin_map_solid' | 'phone-linear' | 'pet' | 'pencil-line' | 'payments' | 'patio' | 'parking' | 'outside' | 'notes' | 'note' | 'mortgage' | 'more-horizontal' | 'map-pin' | 'mail' | 'magic-wand' | 'logout' | 'lock' | 'lift' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'info' | 'image' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'heating' | 'gas-heating' | 'garden' | 'fingerprint-android' | 'filter' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-input' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'electric' | 'edit' | 'door-open' | 'collections' | 'closet' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'check-circle-2' | 'cancel' | 'cancel-circle-solid' | 'calendar' | 'building' | 'bell' | 'bed-double' | 'bath' | 'balcony-window' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'archive' | 'alert-triangle' | 'air-conditioner' | 'add-note' | 'accessibility';
|
|
8
8
|
/**
|
|
9
9
|
* Mapping of icon names to unicode codepoints
|
|
10
10
|
* Used by the Icon component to render the correct glyph
|
package/dist/native/index.js
CHANGED
|
@@ -45,75 +45,97 @@ var glyphMap = {
|
|
|
45
45
|
"whatsapp": 61697,
|
|
46
46
|
"user": 61698,
|
|
47
47
|
"trash-2": 61699,
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
48
|
+
"thermometer-snowflake": 61700,
|
|
49
|
+
"terrace": 61701,
|
|
50
|
+
"swimming-pool": 61702,
|
|
51
|
+
"size-3d": 61703,
|
|
52
|
+
"share": 61704,
|
|
53
|
+
"search": 61705,
|
|
54
|
+
"search-x": 61706,
|
|
55
|
+
"sale": 61707,
|
|
56
|
+
"restaurant": 61708,
|
|
57
|
+
"rent": 61709,
|
|
58
|
+
"properties-linear": 61710,
|
|
59
|
+
"properties-filled": 61711,
|
|
60
|
+
"promotion": 61712,
|
|
61
|
+
"plus": 61713,
|
|
62
|
+
"pin_map_solid": 61714,
|
|
63
|
+
"phone-linear": 61715,
|
|
64
|
+
"pet": 61716,
|
|
65
|
+
"pencil-line": 61717,
|
|
66
|
+
"payments": 61718,
|
|
67
|
+
"patio": 61719,
|
|
68
|
+
"parking": 61720,
|
|
69
|
+
"outside": 61721,
|
|
70
|
+
"notes": 61722,
|
|
71
|
+
"note": 61723,
|
|
72
|
+
"mortgage": 61724,
|
|
73
|
+
"more-horizontal": 61725,
|
|
74
|
+
"map-pin": 61726,
|
|
75
|
+
"mail": 61727,
|
|
76
|
+
"magic-wand": 61728,
|
|
77
|
+
"logout": 61729,
|
|
78
|
+
"lock": 61730,
|
|
79
|
+
"lift": 61731,
|
|
80
|
+
"leads-linear": 61732,
|
|
81
|
+
"leads-filled": 61733,
|
|
82
|
+
"keys_01": 61734,
|
|
83
|
+
"info": 61735,
|
|
84
|
+
"image": 61736,
|
|
85
|
+
"icon-slot": 61737,
|
|
86
|
+
"home-linear": 61738,
|
|
87
|
+
"home-filled": 61739,
|
|
88
|
+
"help-circle": 61740,
|
|
89
|
+
"heating": 61741,
|
|
90
|
+
"gas-heating": 61742,
|
|
91
|
+
"garden": 61743,
|
|
92
|
+
"fingerprint-android": 61744,
|
|
93
|
+
"filter": 61745,
|
|
94
|
+
"file-text": 61746,
|
|
95
|
+
"file-spreadsheet": 61747,
|
|
96
|
+
"file-signature": 61748,
|
|
97
|
+
"file-lock": 61749,
|
|
98
|
+
"file-key": 61750,
|
|
99
|
+
"file-input": 61751,
|
|
100
|
+
"file-check": 61752,
|
|
101
|
+
"face-id": 61753,
|
|
102
|
+
"eye-visible": 61754,
|
|
103
|
+
"eye-hidden": 61755,
|
|
104
|
+
"explore-linear": 61756,
|
|
105
|
+
"explore-filled": 61757,
|
|
106
|
+
"electric": 61758,
|
|
107
|
+
"edit": 61759,
|
|
108
|
+
"door-open": 61760,
|
|
109
|
+
"collections": 61761,
|
|
110
|
+
"closet": 61762,
|
|
111
|
+
"chevron-up": 61763,
|
|
112
|
+
"chevron-right": 61764,
|
|
113
|
+
"chevron-left": 61765,
|
|
114
|
+
"chevron-down": 61766,
|
|
115
|
+
"check": 61767,
|
|
116
|
+
"check-circle-2": 61768,
|
|
117
|
+
"cancel": 61769,
|
|
118
|
+
"cancel-circle-solid": 61770,
|
|
119
|
+
"calendar": 61771,
|
|
120
|
+
"building": 61772,
|
|
121
|
+
"bell": 61773,
|
|
122
|
+
"bed-double": 61774,
|
|
123
|
+
"bath": 61775,
|
|
124
|
+
"balcony-window": 61776,
|
|
125
|
+
"arrow-up": 61777,
|
|
126
|
+
"arrow-up-right": 61778,
|
|
127
|
+
"arrow-up-left": 61779,
|
|
128
|
+
"arrow-up-down": 61780,
|
|
129
|
+
"arrow-right": 61781,
|
|
130
|
+
"arrow-left": 61782,
|
|
131
|
+
"arrow-down": 61783,
|
|
132
|
+
"arrow-down-right": 61784,
|
|
133
|
+
"arrow-down-left": 61785,
|
|
134
|
+
"archive": 61786,
|
|
135
|
+
"alert-triangle": 61787,
|
|
136
|
+
"air-conditioner": 61788,
|
|
137
|
+
"add-note": 61789,
|
|
138
|
+
"accessibility": 61790
|
|
117
139
|
};
|
|
118
140
|
var fontFamily = "HuspyIcons";
|
|
119
141
|
|
package/dist/native/index.js.map
CHANGED
|
@@ -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' | 'promotion' | 'plus' | 'pin_map_solid' | 'phone-linear' | 'pencil-line' | 'payments' | 'notes' | 'note' | 'mortgage' | 'more-horizontal' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'info' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'filter' | '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' | 'collections' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'check-circle-2' | 'cancel' | 'cancel-circle-solid' | 'calendar' | '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' | 'add-note';\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\":
|
|
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' | 'thermometer-snowflake' | 'terrace' | 'swimming-pool' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'restaurant' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'pin_map_solid' | 'phone-linear' | 'pet' | 'pencil-line' | 'payments' | 'patio' | 'parking' | 'outside' | 'notes' | 'note' | 'mortgage' | 'more-horizontal' | 'map-pin' | 'mail' | 'magic-wand' | 'logout' | 'lock' | 'lift' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'info' | 'image' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'heating' | 'gas-heating' | 'garden' | 'fingerprint-android' | 'filter' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-input' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'electric' | 'edit' | 'door-open' | 'collections' | 'closet' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'check-circle-2' | 'cancel' | 'cancel-circle-solid' | 'calendar' | 'building' | 'bell' | 'bed-double' | 'bath' | 'balcony-window' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'archive' | 'alert-triangle' | 'air-conditioner' | 'add-note' | 'accessibility';\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 \"thermometer-snowflake\": 61700,\n \"terrace\": 61701,\n \"swimming-pool\": 61702,\n \"size-3d\": 61703,\n \"share\": 61704,\n \"search\": 61705,\n \"search-x\": 61706,\n \"sale\": 61707,\n \"restaurant\": 61708,\n \"rent\": 61709,\n \"properties-linear\": 61710,\n \"properties-filled\": 61711,\n \"promotion\": 61712,\n \"plus\": 61713,\n \"pin_map_solid\": 61714,\n \"phone-linear\": 61715,\n \"pet\": 61716,\n \"pencil-line\": 61717,\n \"payments\": 61718,\n \"patio\": 61719,\n \"parking\": 61720,\n \"outside\": 61721,\n \"notes\": 61722,\n \"note\": 61723,\n \"mortgage\": 61724,\n \"more-horizontal\": 61725,\n \"map-pin\": 61726,\n \"mail\": 61727,\n \"magic-wand\": 61728,\n \"logout\": 61729,\n \"lock\": 61730,\n \"lift\": 61731,\n \"leads-linear\": 61732,\n \"leads-filled\": 61733,\n \"keys_01\": 61734,\n \"info\": 61735,\n \"image\": 61736,\n \"icon-slot\": 61737,\n \"home-linear\": 61738,\n \"home-filled\": 61739,\n \"help-circle\": 61740,\n \"heating\": 61741,\n \"gas-heating\": 61742,\n \"garden\": 61743,\n \"fingerprint-android\": 61744,\n \"filter\": 61745,\n \"file-text\": 61746,\n \"file-spreadsheet\": 61747,\n \"file-signature\": 61748,\n \"file-lock\": 61749,\n \"file-key\": 61750,\n \"file-input\": 61751,\n \"file-check\": 61752,\n \"face-id\": 61753,\n \"eye-visible\": 61754,\n \"eye-hidden\": 61755,\n \"explore-linear\": 61756,\n \"explore-filled\": 61757,\n \"electric\": 61758,\n \"edit\": 61759,\n \"door-open\": 61760,\n \"collections\": 61761,\n \"closet\": 61762,\n \"chevron-up\": 61763,\n \"chevron-right\": 61764,\n \"chevron-left\": 61765,\n \"chevron-down\": 61766,\n \"check\": 61767,\n \"check-circle-2\": 61768,\n \"cancel\": 61769,\n \"cancel-circle-solid\": 61770,\n \"calendar\": 61771,\n \"building\": 61772,\n \"bell\": 61773,\n \"bed-double\": 61774,\n \"bath\": 61775,\n \"balcony-window\": 61776,\n \"arrow-up\": 61777,\n \"arrow-up-right\": 61778,\n \"arrow-up-left\": 61779,\n \"arrow-up-down\": 61780,\n \"arrow-right\": 61781,\n \"arrow-left\": 61782,\n \"arrow-down\": 61783,\n \"arrow-down-right\": 61784,\n \"arrow-down-left\": 61785,\n \"archive\": 61786,\n \"alert-triangle\": 61787,\n \"air-conditioner\": 61788,\n \"add-note\": 61789,\n \"accessibility\": 61790\n};\n\n/**\n * Font family name for React Native\n */\nexport const fontFamily = 'HuspyIcons';\n"],"mappings":"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","names":[]}
|