huspy-icons 0.3.5 → 0.3.6
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 +65 -62
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +59 -58
- package/dist/fonts/HuspyIcons.ts +61 -58
- 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 +59 -58
- 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 +129 -87
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +116 -74
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/native/glyphMap.ts +60 -59
- package/src/react/Icon.tsx +4 -1
- package/src/react/PinMapSolid.tsx +26 -0
- 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 = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | '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
|
+
export 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';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Mapping of icon names to unicode codepoints
|
|
@@ -24,64 +24,65 @@ export const glyphMap: Record<IconName, number> = {
|
|
|
24
24
|
"properties-filled": 61707,
|
|
25
25
|
"promotion": 61708,
|
|
26
26
|
"plus": 61709,
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"leads-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"home-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"file-
|
|
50
|
-
"file-
|
|
51
|
-
"file-
|
|
52
|
-
"file-
|
|
53
|
-
"file-
|
|
54
|
-
"file-
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"eye-
|
|
58
|
-
"
|
|
59
|
-
"explore-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"chevron-
|
|
64
|
-
"chevron-
|
|
65
|
-
"chevron-
|
|
66
|
-
"
|
|
67
|
-
"check
|
|
68
|
-
"
|
|
69
|
-
"cancel
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"arrow-up
|
|
76
|
-
"arrow-up-
|
|
77
|
-
"arrow-up-
|
|
78
|
-
"arrow-
|
|
79
|
-
"arrow-
|
|
80
|
-
"arrow-
|
|
81
|
-
"arrow-down
|
|
82
|
-
"arrow-down-
|
|
83
|
-
"
|
|
84
|
-
"
|
|
27
|
+
"pin_map_solid": 61710,
|
|
28
|
+
"phone-linear": 61711,
|
|
29
|
+
"pencil-line": 61712,
|
|
30
|
+
"payments": 61713,
|
|
31
|
+
"notes": 61714,
|
|
32
|
+
"note": 61715,
|
|
33
|
+
"mortgage": 61716,
|
|
34
|
+
"more-horizontal": 61717,
|
|
35
|
+
"map-pin": 61718,
|
|
36
|
+
"mail": 61719,
|
|
37
|
+
"logout": 61720,
|
|
38
|
+
"lock": 61721,
|
|
39
|
+
"leads-linear": 61722,
|
|
40
|
+
"leads-filled": 61723,
|
|
41
|
+
"keys_01": 61724,
|
|
42
|
+
"info": 61725,
|
|
43
|
+
"icon-slot": 61726,
|
|
44
|
+
"home-linear": 61727,
|
|
45
|
+
"home-filled": 61728,
|
|
46
|
+
"help-circle": 61729,
|
|
47
|
+
"fingerprint-android": 61730,
|
|
48
|
+
"filter": 61731,
|
|
49
|
+
"file-text": 61732,
|
|
50
|
+
"file-spreadsheet": 61733,
|
|
51
|
+
"file-signature": 61734,
|
|
52
|
+
"file-lock": 61735,
|
|
53
|
+
"file-key": 61736,
|
|
54
|
+
"file-input": 61737,
|
|
55
|
+
"file-check": 61738,
|
|
56
|
+
"face-id": 61739,
|
|
57
|
+
"eye-visible": 61740,
|
|
58
|
+
"eye-hidden": 61741,
|
|
59
|
+
"explore-linear": 61742,
|
|
60
|
+
"explore-filled": 61743,
|
|
61
|
+
"edit": 61744,
|
|
62
|
+
"collections": 61745,
|
|
63
|
+
"chevron-up": 61746,
|
|
64
|
+
"chevron-right": 61747,
|
|
65
|
+
"chevron-left": 61748,
|
|
66
|
+
"chevron-down": 61749,
|
|
67
|
+
"check": 61750,
|
|
68
|
+
"check-circle-2": 61751,
|
|
69
|
+
"cancel": 61752,
|
|
70
|
+
"cancel-circle-solid": 61753,
|
|
71
|
+
"calendar": 61754,
|
|
72
|
+
"building": 61755,
|
|
73
|
+
"bell": 61756,
|
|
74
|
+
"bed-double": 61757,
|
|
75
|
+
"arrow-up": 61758,
|
|
76
|
+
"arrow-up-right": 61759,
|
|
77
|
+
"arrow-up-left": 61760,
|
|
78
|
+
"arrow-up-down": 61761,
|
|
79
|
+
"arrow-right": 61762,
|
|
80
|
+
"arrow-left": 61763,
|
|
81
|
+
"arrow-down": 61764,
|
|
82
|
+
"arrow-down-right": 61765,
|
|
83
|
+
"arrow-down-left": 61766,
|
|
84
|
+
"alert-triangle": 61767,
|
|
85
|
+
"add-note": 61768
|
|
85
86
|
};
|
|
86
87
|
|
|
87
88
|
/**
|
package/src/react/Icon.tsx
CHANGED
|
@@ -63,6 +63,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
63
63
|
// Icon: payments
|
|
64
64
|
// Icon: pencil-line
|
|
65
65
|
// Icon: phone-linear
|
|
66
|
+
// Icon: pin-map-solid
|
|
66
67
|
// Icon: plus
|
|
67
68
|
// Icon: promotion
|
|
68
69
|
// Icon: properties-filled
|
|
@@ -80,7 +81,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
80
81
|
/**
|
|
81
82
|
* Available icon names
|
|
82
83
|
*/
|
|
83
|
-
export type IconName = 'add-note' | 'alert-triangle' | 'arrow-down' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-down' | 'arrow-up-left' | 'arrow-up-right' | 'bed-double' | 'bell' | 'building' | 'calendar' | 'cancel' | 'cancel-circle-solid' | 'check' | 'check-circle2' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'collections' | 'edit' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'face-id' | 'file-check' | 'file-input' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'filter' | 'fingerprint-android' | 'help-circle' | 'home-filled' | 'home-linear' | 'icon-slot' | 'info' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lock' | 'logout' | 'mail' | 'map-pin' | 'more-horizontal' | 'mortgage' | 'note' | 'notes' | 'payments' | 'pencil-line' | 'phone-linear' | 'plus' | 'promotion' | 'properties-filled' | 'properties-linear' | 'rent' | 'sale' | 'search' | 'search-x' | 'share' | 'size3d' | 'trash2' | 'user' | 'whatsapp';
|
|
84
|
+
export type IconName = 'add-note' | 'alert-triangle' | 'arrow-down' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-down' | 'arrow-up-left' | 'arrow-up-right' | 'bed-double' | 'bell' | 'building' | 'calendar' | 'cancel' | 'cancel-circle-solid' | 'check' | 'check-circle2' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'collections' | 'edit' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'face-id' | 'file-check' | 'file-input' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'filter' | 'fingerprint-android' | 'help-circle' | 'home-filled' | 'home-linear' | 'icon-slot' | 'info' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lock' | 'logout' | 'mail' | 'map-pin' | 'more-horizontal' | 'mortgage' | 'note' | 'notes' | 'payments' | 'pencil-line' | 'phone-linear' | 'pin-map-solid' | 'plus' | 'promotion' | 'properties-filled' | 'properties-linear' | 'rent' | 'sale' | 'search' | 'search-x' | 'share' | 'size3d' | 'trash2' | 'user' | 'whatsapp';
|
|
84
85
|
|
|
85
86
|
/**
|
|
86
87
|
* Props for the unified Icon component
|
|
@@ -216,6 +217,8 @@ function loadIcon(name: IconName): Promise<React.ComponentType<any>> {
|
|
|
216
217
|
return import('./PencilLine').then(m => m.default);
|
|
217
218
|
case 'phone-linear':
|
|
218
219
|
return import('./PhoneLinear').then(m => m.default);
|
|
220
|
+
case 'pin-map-solid':
|
|
221
|
+
return import('./PinMapSolid').then(m => m.default);
|
|
219
222
|
case 'plus':
|
|
220
223
|
return import('./Plus').then(m => m.default);
|
|
221
224
|
case 'promotion':
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ReactIconProps } from '../shared/types';
|
|
3
|
+
import { resolveSize } from '../shared/types';
|
|
4
|
+
|
|
5
|
+
const SvgPinMapSolid = ({ 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="M12 1.5C16.6915 1.5 20.5 5.3085 20.5 10C20.5 12.443 19.281 14.9575 17.7505 17.069C15.6135 20.018 12.941 22.168 12.941 22.168C12.3915 22.61 11.6085 22.6105 11.059 22.1685C11.059 22.1685 8.3865 20.018 6.2495 17.069C4.719 14.9575 3.5 12.443 3.5 10C3.5 5.3085 7.3085 1.5 12 1.5ZM12 6.5C13.9315 6.5 15.5 8.0685 15.5 10C15.5 11.9315 13.9315 13.5 12 13.5C10.0685 13.5 8.5 11.9315 8.5 10C8.5 8.0685 10.0685 6.5 12 6.5Z"
|
|
20
|
+
fill="currentColor"
|
|
21
|
+
/>
|
|
22
|
+
</svg>
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export default SvgPinMapSolid;
|
package/src/react/index.ts
CHANGED
|
@@ -57,6 +57,7 @@ export { default as Notes } from './Notes';
|
|
|
57
57
|
export { default as Payments } from './Payments';
|
|
58
58
|
export { default as PencilLine } from './PencilLine';
|
|
59
59
|
export { default as PhoneLinear } from './PhoneLinear';
|
|
60
|
+
export { default as PinMapSolid } from './PinMapSolid';
|
|
60
61
|
export { default as Plus } from './Plus';
|
|
61
62
|
export { default as Promotion } from './Promotion';
|
|
62
63
|
export { default as PropertiesFilled } from './PropertiesFilled';
|
package/src/react/index.tsx
CHANGED
|
@@ -56,6 +56,7 @@ export { default as Notes } from './Notes';
|
|
|
56
56
|
export { default as Payments } from './Payments';
|
|
57
57
|
export { default as PencilLine } from './PencilLine';
|
|
58
58
|
export { default as PhoneLinear } from './PhoneLinear';
|
|
59
|
+
export { default as PinMapSolid } from './PinMapSolid';
|
|
59
60
|
export { default as Plus } from './Plus';
|
|
60
61
|
export { default as Promotion } from './Promotion';
|
|
61
62
|
export { default as PropertiesFilled } from './PropertiesFilled';
|