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