huspy-icons 0.3.33 → 0.3.35
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 +33 -30
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +27 -26
- package/dist/fonts/HuspyIcons.ts +29 -26
- 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 +27 -26
- 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 +840 -789
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +710 -659
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/native/glyphMap.ts +28 -27
- package/src/react/Camera.tsx +32 -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' | '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-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' | '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' | '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-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';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Mapping of icon names to unicode codepoints
|
|
@@ -141,32 +141,33 @@ export const glyphMap: Record<IconName, number> = {
|
|
|
141
141
|
"cancel": 61824,
|
|
142
142
|
"cancel-circle-stroke": 61825,
|
|
143
143
|
"cancel-circle-solid": 61826,
|
|
144
|
-
"
|
|
145
|
-
"calendar
|
|
146
|
-
"calendar-
|
|
147
|
-
"calendar-
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"arrow-up
|
|
156
|
-
"arrow-up-
|
|
157
|
-
"arrow-up-
|
|
158
|
-
"arrow-
|
|
159
|
-
"arrow-
|
|
160
|
-
"arrow-
|
|
161
|
-
"arrow-down
|
|
162
|
-
"arrow-down-
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"alert-
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
144
|
+
"camera": 61827,
|
|
145
|
+
"calendar": 61828,
|
|
146
|
+
"calendar-x": 61829,
|
|
147
|
+
"calendar-clock": 61830,
|
|
148
|
+
"calendar-check": 61831,
|
|
149
|
+
"building": 61832,
|
|
150
|
+
"bell": 61833,
|
|
151
|
+
"bed-double": 61834,
|
|
152
|
+
"bath": 61835,
|
|
153
|
+
"barbeque": 61836,
|
|
154
|
+
"balcony-window": 61837,
|
|
155
|
+
"arrow-up": 61838,
|
|
156
|
+
"arrow-up-right": 61839,
|
|
157
|
+
"arrow-up-left": 61840,
|
|
158
|
+
"arrow-up-down": 61841,
|
|
159
|
+
"arrow-right": 61842,
|
|
160
|
+
"arrow-left": 61843,
|
|
161
|
+
"arrow-down": 61844,
|
|
162
|
+
"arrow-down-right": 61845,
|
|
163
|
+
"arrow-down-left": 61846,
|
|
164
|
+
"archive": 61847,
|
|
165
|
+
"alert-triangle": 61848,
|
|
166
|
+
"alert-circle": 61849,
|
|
167
|
+
"air-conditioner": 61850,
|
|
168
|
+
"ai": 61851,
|
|
169
|
+
"add-note": 61852,
|
|
170
|
+
"accessibility": 61853
|
|
170
171
|
};
|
|
171
172
|
|
|
172
173
|
/**
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ReactIconProps } from '../shared/types';
|
|
3
|
+
import { resolveSize } from '../shared/types';
|
|
4
|
+
|
|
5
|
+
const SvgCamera = ({ size = 16, ...props }: ReactIconProps) => {
|
|
6
|
+
const sizeValue = resolveSize(size);
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<svg
|
|
10
|
+
width={sizeValue} height={sizeValue}
|
|
11
|
+
viewBox="0 0 20 20"
|
|
12
|
+
fill="none"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
{...props}
|
|
15
|
+
>
|
|
16
|
+
<path
|
|
17
|
+
fillRule="evenodd"
|
|
18
|
+
clipRule="evenodd"
|
|
19
|
+
d="M7.27646 2.79985C7.43479 2.60985 7.66933 2.5 7.91665 2.5H12.0833C12.3306 2.5 12.5652 2.60985 12.7235 2.79985L14.557 5H16.6666C17.3297 5 17.9656 5.26339 18.4344 5.73223C18.9033 6.20107 19.1666 6.83696 19.1666 7.5V15C19.1666 15.663 18.9033 16.2989 18.4344 16.7678C17.9656 17.2366 17.3297 17.5 16.6666 17.5H3.33331C2.67027 17.5 2.03439 17.2366 1.56555 16.7678C1.09671 16.2989 0.833313 15.663 0.833313 15V7.5C0.833313 6.83696 1.0967 6.20107 1.56555 5.73223C2.03439 5.26339 2.67027 5 3.33331 5H5.443L7.27646 2.79985ZM8.30696 4.16667L6.4735 6.36682C6.31517 6.55681 6.08063 6.66667 5.83331 6.66667H3.33331C3.1123 6.66667 2.90034 6.75446 2.74406 6.91074C2.58778 7.06702 2.49998 7.27899 2.49998 7.5V15C2.49998 15.221 2.58778 15.433 2.74406 15.5893C2.90034 15.7455 3.1123 15.8333 3.33331 15.8333H16.6666C16.8877 15.8333 17.0996 15.7455 17.2559 15.5893C17.4122 15.433 17.5 15.221 17.5 15V7.5C17.5 7.27899 17.4122 7.06702 17.2559 6.91074C17.0996 6.75446 16.8877 6.66667 16.6666 6.66667H14.1666C13.9193 6.66667 13.6848 6.55681 13.5265 6.36682L11.693 4.16667H8.30696Z"
|
|
20
|
+
fill="currentColor"
|
|
21
|
+
/>
|
|
22
|
+
<path
|
|
23
|
+
fillRule="evenodd"
|
|
24
|
+
clipRule="evenodd"
|
|
25
|
+
d="M9.99998 9.16667C9.07951 9.16667 8.33331 9.91286 8.33331 10.8333C8.33331 11.7538 9.07951 12.5 9.99998 12.5C10.9205 12.5 11.6666 11.7538 11.6666 10.8333C11.6666 9.91286 10.9205 9.16667 9.99998 9.16667ZM6.66665 10.8333C6.66665 8.99238 8.15903 7.5 9.99998 7.5C11.8409 7.5 13.3333 8.99238 13.3333 10.8333C13.3333 12.6743 11.8409 14.1667 9.99998 14.1667C8.15903 14.1667 6.66665 12.6743 6.66665 10.8333Z"
|
|
26
|
+
fill="currentColor"
|
|
27
|
+
/>
|
|
28
|
+
</svg>
|
|
29
|
+
);
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default SvgCamera;
|
package/src/react/Icon.tsx
CHANGED
|
@@ -31,6 +31,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
31
31
|
// Icon: calendar-check
|
|
32
32
|
// Icon: calendar-clock
|
|
33
33
|
// Icon: calendar-x
|
|
34
|
+
// Icon: camera
|
|
34
35
|
// Icon: cancel
|
|
35
36
|
// Icon: cancel-circle-solid
|
|
36
37
|
// Icon: cancel-circle-stroke
|
|
@@ -165,7 +166,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
165
166
|
/**
|
|
166
167
|
* Available icon names
|
|
167
168
|
*/
|
|
168
|
-
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' | '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' | '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' | 'user' | 'user-plus' | 'user-square' | 'walk-in-closet' | 'warehouse' | 'washing-machine' | 'whatsapp' | 'wifi';
|
|
169
|
+
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' | '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' | 'user' | 'user-plus' | 'user-square' | 'walk-in-closet' | 'warehouse' | 'washing-machine' | 'whatsapp' | 'wifi';
|
|
169
170
|
|
|
170
171
|
/**
|
|
171
172
|
* Props for the unified Icon component
|
|
@@ -237,6 +238,8 @@ function loadIcon(name: IconName): Promise<React.ComponentType<any>> {
|
|
|
237
238
|
return import('./CalendarClock').then(m => m.default);
|
|
238
239
|
case 'calendar-x':
|
|
239
240
|
return import('./CalendarX').then(m => m.default);
|
|
241
|
+
case 'camera':
|
|
242
|
+
return import('./Camera').then(m => m.default);
|
|
240
243
|
case 'cancel':
|
|
241
244
|
return import('./Cancel').then(m => m.default);
|
|
242
245
|
case 'cancel-circle-solid':
|
package/src/react/index.ts
CHANGED
|
@@ -25,6 +25,7 @@ export { default as Calendar } from './Calendar';
|
|
|
25
25
|
export { default as CalendarCheck } from './CalendarCheck';
|
|
26
26
|
export { default as CalendarClock } from './CalendarClock';
|
|
27
27
|
export { default as CalendarX } from './CalendarX';
|
|
28
|
+
export { default as Camera } from './Camera';
|
|
28
29
|
export { default as Cancel } from './Cancel';
|
|
29
30
|
export { default as CancelCircleSolid } from './CancelCircleSolid';
|
|
30
31
|
export { default as CancelCircleStroke } from './CancelCircleStroke';
|
package/src/react/index.tsx
CHANGED
|
@@ -24,6 +24,7 @@ export { default as CalendarCheck } from './CalendarCheck';
|
|
|
24
24
|
export { default as CalendarClock } from './CalendarClock';
|
|
25
25
|
export { default as CalendarX } from './CalendarX';
|
|
26
26
|
export { default as Calendar } from './Calendar';
|
|
27
|
+
export { default as Camera } from './Camera';
|
|
27
28
|
export { default as CancelCircleSolid } from './CancelCircleSolid';
|
|
28
29
|
export { default as CancelCircleStroke } from './CancelCircleStroke';
|
|
29
30
|
export { default as Cancel } from './Cancel';
|