huspy-icons 0.3.39 → 0.3.40
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 +57 -54
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +51 -50
- package/dist/fonts/HuspyIcons.ts +53 -50
- 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 +51 -50
- package/dist/native/index.js.map +1 -1
- package/dist/react/index.d.mts +4 -2
- package/dist/react/index.d.ts +4 -2
- package/dist/react/index.js +741 -681
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +632 -572
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/native/glyphMap.ts +52 -51
- package/src/react/Download.tsx +38 -0
- package/src/react/Icon.tsx +4 -1
- package/src/react/index.ts +1 -0
- package/src/react/index.tsx +1 -0
package/package.json
CHANGED
package/src/native/glyphMap.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Available icon names in the HuspyIcons font
|
|
6
6
|
*/
|
|
7
|
-
export type IconName = 'wifi' | 'whatsapp' | 'washing-machine' | 'warehouse' | 'walk-in-closet' | 'user' | 'user-square' | 'user-plus' | 'upload' | 'trash' | 'trash-2' | 'touch-ios' | 'touch-android' | 'time' | 'thumbs-up' | 'thumbs-down' | 'thermometer-snowflake' | 'terrace' | 'tennis' | 'tasks' | 'swimming-pool' | 'store' | 'storage' | 'status-dot' | 'size-3d' | 'shield-alert' | 'share' | 'search' | 'search-x' | 'sea' | 'sauna' | 'sale' | 'restaurant' | 'rent' | 'properties-search-empty' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'play-solid' | 'pin_map_solid' | 'phone-linear' | 'pet' | 'pent-house' | 'pencil-line' | 'payments' | 'patio' | 'party-hall' | 'parking' | 'paddle-tennis' | 'outside' | 'notes' | 'note' | 'mortgage' | 'more-horizontal' | 'monumental' | 'minus' | 'map' | 'map-pin' | 'mail' | 'maids-service' | 'maids-room' | 'magic-wand' | 'logout' | 'loft' | 'lock' | 'loader' | 'lift' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'info' | 'images-gallery' | 'image' | 'image-off' | 'icon-slot' | 'home-linear' | 'home-filled' | 'history' | 'help-circle' | 'heating' | 'handshake' | 'gym' | 'gas-heating' | 'garden' | 'garage' | 'furnished' | 'filter' | 'file' | 'file-type' | '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' | 'external_link' | 'explore-linear' | 'explore-filled' | 'equipped-kitchen' | 'electric' | 'edit' | 'duplex' | 'doorman' | 'door-open' | 'dishwasher' | 'copy' | 'contact' | 'concierge' | 'collections' | 'closet' | 'classic-building' | 'circle-off' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'check-circle-2' | 'check-check' | 'chalet-pareado' | 'chalet-independet' | 'chalet-adosado' | 'cancel' | 'cancel-circle-stroke' | 'cancel-circle-solid' | 'camera' | 'calendar' | 'calendar-x' | 'calendar-clock' | 'calendar-check' | 'building' | 'bell' | 'bed-double' | 'bath' | 'barbeque' | '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' | 'alert-circle' | 'air-conditioner' | 'ai' | 'add-note' | 'accessibility';
|
|
7
|
+
export type IconName = 'wifi' | 'whatsapp' | 'washing-machine' | 'warehouse' | 'walk-in-closet' | 'user' | 'user-square' | 'user-plus' | 'upload' | 'trash' | 'trash-2' | 'touch-ios' | 'touch-android' | 'time' | 'thumbs-up' | 'thumbs-down' | 'thermometer-snowflake' | 'terrace' | 'tennis' | 'tasks' | 'swimming-pool' | 'store' | 'storage' | 'status-dot' | 'size-3d' | 'shield-alert' | 'share' | 'search' | 'search-x' | 'sea' | 'sauna' | 'sale' | 'restaurant' | 'rent' | 'properties-search-empty' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'play-solid' | 'pin_map_solid' | 'phone-linear' | 'pet' | 'pent-house' | 'pencil-line' | 'payments' | 'patio' | 'party-hall' | 'parking' | 'paddle-tennis' | 'outside' | 'notes' | 'note' | 'mortgage' | 'more-horizontal' | 'monumental' | 'minus' | 'map' | 'map-pin' | 'mail' | 'maids-service' | 'maids-room' | 'magic-wand' | 'logout' | 'loft' | 'lock' | 'loader' | 'lift' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'info' | 'images-gallery' | 'image' | 'image-off' | 'icon-slot' | 'home-linear' | 'home-filled' | 'history' | 'help-circle' | 'heating' | 'handshake' | 'gym' | 'gas-heating' | 'garden' | 'garage' | 'furnished' | 'filter' | 'file' | 'file-type' | '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' | 'external_link' | 'explore-linear' | 'explore-filled' | 'equipped-kitchen' | 'electric' | 'edit' | 'duplex' | 'download' | 'doorman' | 'door-open' | 'dishwasher' | 'copy' | 'contact' | 'concierge' | 'collections' | 'closet' | 'classic-building' | 'circle-off' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'check-circle-2' | 'check-check' | 'chalet-pareado' | 'chalet-independet' | 'chalet-adosado' | 'cancel' | 'cancel-circle-stroke' | 'cancel-circle-solid' | 'camera' | 'calendar' | 'calendar-x' | 'calendar-clock' | 'calendar-check' | 'building' | 'bell' | 'bed-double' | 'bath' | 'barbeque' | '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' | 'alert-circle' | 'air-conditioner' | 'ai' | 'add-note' | 'accessibility';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Mapping of icon names to unicode codepoints
|
|
@@ -120,56 +120,57 @@ export const glyphMap: Record<IconName, number> = {
|
|
|
120
120
|
"electric": 61803,
|
|
121
121
|
"edit": 61804,
|
|
122
122
|
"duplex": 61805,
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"chevron-
|
|
135
|
-
"chevron-
|
|
136
|
-
"chevron-
|
|
137
|
-
"
|
|
138
|
-
"check
|
|
139
|
-
"check-
|
|
140
|
-
"
|
|
141
|
-
"chalet-
|
|
142
|
-
"chalet-
|
|
143
|
-
"
|
|
144
|
-
"cancel
|
|
145
|
-
"cancel-circle-
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"calendar
|
|
149
|
-
"calendar-
|
|
150
|
-
"calendar-
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"arrow-up
|
|
159
|
-
"arrow-up-
|
|
160
|
-
"arrow-up-
|
|
161
|
-
"arrow-
|
|
162
|
-
"arrow-
|
|
163
|
-
"arrow-
|
|
164
|
-
"arrow-down
|
|
165
|
-
"arrow-down-
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"alert-
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
123
|
+
"download": 61806,
|
|
124
|
+
"doorman": 61807,
|
|
125
|
+
"door-open": 61808,
|
|
126
|
+
"dishwasher": 61809,
|
|
127
|
+
"copy": 61810,
|
|
128
|
+
"contact": 61811,
|
|
129
|
+
"concierge": 61812,
|
|
130
|
+
"collections": 61813,
|
|
131
|
+
"closet": 61814,
|
|
132
|
+
"classic-building": 61815,
|
|
133
|
+
"circle-off": 61816,
|
|
134
|
+
"chevron-up": 61817,
|
|
135
|
+
"chevron-right": 61818,
|
|
136
|
+
"chevron-left": 61819,
|
|
137
|
+
"chevron-down": 61820,
|
|
138
|
+
"check": 61821,
|
|
139
|
+
"check-circle-2": 61822,
|
|
140
|
+
"check-check": 61823,
|
|
141
|
+
"chalet-pareado": 61824,
|
|
142
|
+
"chalet-independet": 61825,
|
|
143
|
+
"chalet-adosado": 61826,
|
|
144
|
+
"cancel": 61827,
|
|
145
|
+
"cancel-circle-stroke": 61828,
|
|
146
|
+
"cancel-circle-solid": 61829,
|
|
147
|
+
"camera": 61830,
|
|
148
|
+
"calendar": 61831,
|
|
149
|
+
"calendar-x": 61832,
|
|
150
|
+
"calendar-clock": 61833,
|
|
151
|
+
"calendar-check": 61834,
|
|
152
|
+
"building": 61835,
|
|
153
|
+
"bell": 61836,
|
|
154
|
+
"bed-double": 61837,
|
|
155
|
+
"bath": 61838,
|
|
156
|
+
"barbeque": 61839,
|
|
157
|
+
"balcony-window": 61840,
|
|
158
|
+
"arrow-up": 61841,
|
|
159
|
+
"arrow-up-right": 61842,
|
|
160
|
+
"arrow-up-left": 61843,
|
|
161
|
+
"arrow-up-down": 61844,
|
|
162
|
+
"arrow-right": 61845,
|
|
163
|
+
"arrow-left": 61846,
|
|
164
|
+
"arrow-down": 61847,
|
|
165
|
+
"arrow-down-right": 61848,
|
|
166
|
+
"arrow-down-left": 61849,
|
|
167
|
+
"archive": 61850,
|
|
168
|
+
"alert-triangle": 61851,
|
|
169
|
+
"alert-circle": 61852,
|
|
170
|
+
"air-conditioner": 61853,
|
|
171
|
+
"ai": 61854,
|
|
172
|
+
"add-note": 61855,
|
|
173
|
+
"accessibility": 61856
|
|
173
174
|
};
|
|
174
175
|
|
|
175
176
|
/**
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ReactIconProps } from '../shared/types';
|
|
3
|
+
import { resolveSize } from '../shared/types';
|
|
4
|
+
|
|
5
|
+
const SvgDownload = ({ size = 16, ...props }: ReactIconProps) => {
|
|
6
|
+
const sizeValue = resolveSize(size);
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<svg
|
|
10
|
+
width={sizeValue} height={sizeValue}
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
{...props}
|
|
15
|
+
>
|
|
16
|
+
<path
|
|
17
|
+
fillRule="evenodd"
|
|
18
|
+
clipRule="evenodd"
|
|
19
|
+
d="M3 14C3.55228 14 4 14.4477 4 15V19C4 19.2652 4.10536 19.5196 4.29289 19.7071C4.48043 19.8946 4.73478 20 5 20H19C19.2652 20 19.5196 19.8946 19.7071 19.7071C19.8946 19.5196 20 19.2652 20 19V15C20 14.4477 20.4477 14 21 14C21.5523 14 22 14.4477 22 15V19C22 19.7957 21.6839 20.5587 21.1213 21.1213C20.5587 21.6839 19.7957 22 19 22H5C4.20435 22 3.44129 21.6839 2.87868 21.1213C2.31607 20.5587 2 19.7957 2 19V15C2 14.4477 2.44772 14 3 14Z"
|
|
20
|
+
fill="currentColor"
|
|
21
|
+
/>
|
|
22
|
+
<path
|
|
23
|
+
fillRule="evenodd"
|
|
24
|
+
clipRule="evenodd"
|
|
25
|
+
d="M6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289L12 13.5858L16.2929 9.29289C16.6834 8.90237 17.3166 8.90237 17.7071 9.29289C18.0976 9.68342 18.0976 10.3166 17.7071 10.7071L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L6.29289 10.7071C5.90237 10.3166 5.90237 9.68342 6.29289 9.29289Z"
|
|
26
|
+
fill="currentColor"
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
fillRule="evenodd"
|
|
30
|
+
clipRule="evenodd"
|
|
31
|
+
d="M12 2C12.5523 2 13 2.44772 13 3V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V3C11 2.44772 11.4477 2 12 2Z"
|
|
32
|
+
fill="currentColor"
|
|
33
|
+
/>
|
|
34
|
+
</svg>
|
|
35
|
+
);
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export default SvgDownload;
|
package/src/react/Icon.tsx
CHANGED
|
@@ -55,6 +55,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
55
55
|
// Icon: dishwasher
|
|
56
56
|
// Icon: door-open
|
|
57
57
|
// Icon: doorman
|
|
58
|
+
// Icon: download
|
|
58
59
|
// Icon: duplex
|
|
59
60
|
// Icon: edit
|
|
60
61
|
// Icon: electric
|
|
@@ -168,7 +169,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
168
169
|
/**
|
|
169
170
|
* Available icon names
|
|
170
171
|
*/
|
|
171
|
-
export type IconName = 'accessibility' | 'add-note' | 'ai' | 'air-conditioner' | 'alert-circle' | 'alert-triangle' | 'archive' | 'arrow-down' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-down' | 'arrow-up-left' | 'arrow-up-right' | 'balcony-window' | 'barbeque' | 'bath' | 'bed-double' | 'bell' | 'building' | 'calendar' | 'calendar-check' | 'calendar-clock' | 'calendar-x' | 'camera' | 'cancel' | 'cancel-circle-solid' | 'cancel-circle-stroke' | 'chalet-adosado' | 'chalet-independet' | 'chalet-pareado' | 'check' | 'check-check' | 'check-circle2' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle-off' | 'classic-building' | 'closet' | 'collections' | 'concierge' | 'contact' | 'copy' | 'dishwasher' | 'door-open' | 'doorman' | 'duplex' | 'edit' | 'electric' | 'equipped-kitchen' | 'explore-filled' | 'explore-linear' | 'external-link' | 'eye-hidden' | 'eye-visible' | 'face-android' | 'face-ios-bold' | 'face-ios-light' | 'file' | 'file-check' | 'file-input' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'file-type' | 'filter' | 'furnished' | 'garage' | 'garden' | 'gas-heating' | 'gym' | 'handshake' | 'heating' | 'help-circle' | 'history' | 'home-filled' | 'home-linear' | 'icon-slot' | 'image' | 'image-off' | 'images-gallery' | 'info' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lift' | 'loader' | 'lock' | 'loft' | 'logout' | 'magic-wand' | 'maids-room' | 'maids-service' | 'mail' | 'map' | 'map-pin' | 'minus' | 'monumental' | 'more-horizontal' | 'mortgage' | 'note' | 'notes' | 'outside' | 'paddle-tennis' | 'parking' | 'party-hall' | 'patio' | 'payments' | 'pencil-line' | 'pent-house' | 'pet' | 'phone-linear' | 'pin-map-solid' | 'play-solid' | 'plus' | 'promotion' | 'properties-filled' | 'properties-linear' | 'properties-search-empty' | 'rent' | 'restaurant' | 'sale' | 'sauna' | 'sea' | 'search' | 'search-x' | 'share' | 'shield-alert' | 'size3d' | 'status-dot' | 'storage' | 'store' | 'swimming-pool' | 'tasks' | 'tennis' | 'terrace' | 'thermometer-snowflake' | 'thumbs-down' | 'thumbs-up' | 'time' | 'touch-android' | 'touch-ios' | 'trash' | 'trash2' | 'upload' | 'user' | 'user-plus' | 'user-square' | 'walk-in-closet' | 'warehouse' | 'washing-machine' | 'whatsapp' | 'wifi';
|
|
172
|
+
export type IconName = 'accessibility' | 'add-note' | 'ai' | 'air-conditioner' | 'alert-circle' | 'alert-triangle' | 'archive' | 'arrow-down' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-down' | 'arrow-up-left' | 'arrow-up-right' | 'balcony-window' | 'barbeque' | 'bath' | 'bed-double' | 'bell' | 'building' | 'calendar' | 'calendar-check' | 'calendar-clock' | 'calendar-x' | 'camera' | 'cancel' | 'cancel-circle-solid' | 'cancel-circle-stroke' | 'chalet-adosado' | 'chalet-independet' | 'chalet-pareado' | 'check' | 'check-check' | 'check-circle2' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle-off' | 'classic-building' | 'closet' | 'collections' | 'concierge' | 'contact' | 'copy' | 'dishwasher' | 'door-open' | 'doorman' | 'download' | 'duplex' | 'edit' | 'electric' | 'equipped-kitchen' | 'explore-filled' | 'explore-linear' | 'external-link' | 'eye-hidden' | 'eye-visible' | 'face-android' | 'face-ios-bold' | 'face-ios-light' | 'file' | 'file-check' | 'file-input' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'file-type' | 'filter' | 'furnished' | 'garage' | 'garden' | 'gas-heating' | 'gym' | 'handshake' | 'heating' | 'help-circle' | 'history' | 'home-filled' | 'home-linear' | 'icon-slot' | 'image' | 'image-off' | 'images-gallery' | 'info' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lift' | 'loader' | 'lock' | 'loft' | 'logout' | 'magic-wand' | 'maids-room' | 'maids-service' | 'mail' | 'map' | 'map-pin' | 'minus' | 'monumental' | 'more-horizontal' | 'mortgage' | 'note' | 'notes' | 'outside' | 'paddle-tennis' | 'parking' | 'party-hall' | 'patio' | 'payments' | 'pencil-line' | 'pent-house' | 'pet' | 'phone-linear' | 'pin-map-solid' | 'play-solid' | 'plus' | 'promotion' | 'properties-filled' | 'properties-linear' | 'properties-search-empty' | 'rent' | 'restaurant' | 'sale' | 'sauna' | 'sea' | 'search' | 'search-x' | 'share' | 'shield-alert' | 'size3d' | 'status-dot' | 'storage' | 'store' | 'swimming-pool' | 'tasks' | 'tennis' | 'terrace' | 'thermometer-snowflake' | 'thumbs-down' | 'thumbs-up' | 'time' | 'touch-android' | 'touch-ios' | 'trash' | 'trash2' | 'upload' | 'user' | 'user-plus' | 'user-square' | 'walk-in-closet' | 'warehouse' | 'washing-machine' | 'whatsapp' | 'wifi';
|
|
172
173
|
|
|
173
174
|
/**
|
|
174
175
|
* Props for the unified Icon component
|
|
@@ -288,6 +289,8 @@ function loadIcon(name: IconName): Promise<React.ComponentType<any>> {
|
|
|
288
289
|
return import('./DoorOpen').then(m => m.default);
|
|
289
290
|
case 'doorman':
|
|
290
291
|
return import('./Doorman').then(m => m.default);
|
|
292
|
+
case 'download':
|
|
293
|
+
return import('./Download').then(m => m.default);
|
|
291
294
|
case 'duplex':
|
|
292
295
|
return import('./Duplex').then(m => m.default);
|
|
293
296
|
case 'edit':
|
package/src/react/index.ts
CHANGED
|
@@ -49,6 +49,7 @@ export { default as Copy } from './Copy';
|
|
|
49
49
|
export { default as Dishwasher } from './Dishwasher';
|
|
50
50
|
export { default as DoorOpen } from './DoorOpen';
|
|
51
51
|
export { default as Doorman } from './Doorman';
|
|
52
|
+
export { default as Download } from './Download';
|
|
52
53
|
export { default as Duplex } from './Duplex';
|
|
53
54
|
export { default as Edit } from './Edit';
|
|
54
55
|
export { default as Electric } from './Electric';
|
package/src/react/index.tsx
CHANGED
|
@@ -48,6 +48,7 @@ export { default as Copy } from './Copy';
|
|
|
48
48
|
export { default as Dishwasher } from './Dishwasher';
|
|
49
49
|
export { default as DoorOpen } from './DoorOpen';
|
|
50
50
|
export { default as Doorman } from './Doorman';
|
|
51
|
+
export { default as Download } from './Download';
|
|
51
52
|
export { default as Duplex } from './Duplex';
|
|
52
53
|
export { default as Edit } from './Edit';
|
|
53
54
|
export { default as Electric } from './Electric';
|