huspy-icons 0.3.21 → 0.3.22
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 +89 -86
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +83 -82
- package/dist/fonts/HuspyIcons.ts +85 -82
- 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 +83 -82
- 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 +296 -256
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +257 -217
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/native/glyphMap.ts +84 -83
- package/src/react/Icon.tsx +4 -1
- package/src/react/Minus.tsx +24 -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' | 'warehouse' | 'user' | 'user-plus' | 'trash-2' | 'touch-ios' | 'touch-android' | 'time' | 'thermometer-snowflake' | 'terrace' | 'tasks' | 'swimming-pool' | 'store' | 'storage' | 'status-dot' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'restaurant' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'pin_map_solid' | 'phone-linear' | 'pet' | 'pent-house' | 'pencil-line' | 'payments' | 'patio' | 'parking' | 'outside' | 'notes' | 'note' | 'mortgage' | 'more-horizontal' | 'map-pin' | 'mail' | 'magic-wand' | 'logout' | 'loft' | 'lock' | 'loader' | 'lift' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'info' | 'image' | 'image-off' | 'icon-slot' | 'home-linear' | 'home-filled' | 'history' | 'help-circle' | 'heating' | 'gas-heating' | 'garden' | 'furnished' | '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' | 'duplex' | 'door-open' | 'copy' | 'contact' | 'collections' | 'closet' | '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-clock' | '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' | 'alert-circle' | 'air-conditioner' | 'add-note' | 'accessibility';
|
|
7
|
+
export type IconName = 'whatsapp' | 'warehouse' | 'user' | 'user-plus' | 'trash-2' | 'touch-ios' | 'touch-android' | 'time' | 'thermometer-snowflake' | 'terrace' | 'tasks' | 'swimming-pool' | 'store' | 'storage' | 'status-dot' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'restaurant' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'pin_map_solid' | 'phone-linear' | 'pet' | 'pent-house' | 'pencil-line' | 'payments' | 'patio' | 'parking' | 'outside' | 'notes' | 'note' | 'mortgage' | 'more-horizontal' | 'minus' | 'map-pin' | 'mail' | 'magic-wand' | 'logout' | 'loft' | 'lock' | 'loader' | 'lift' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'info' | 'image' | 'image-off' | 'icon-slot' | 'home-linear' | 'home-filled' | 'history' | 'help-circle' | 'heating' | 'gas-heating' | 'garden' | 'furnished' | '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' | 'duplex' | 'door-open' | 'copy' | 'contact' | 'collections' | 'closet' | '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-clock' | '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' | 'alert-circle' | 'air-conditioner' | 'add-note' | 'accessibility';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Mapping of icon names to unicode codepoints
|
|
@@ -50,88 +50,89 @@ export const glyphMap: Record<IconName, number> = {
|
|
|
50
50
|
"note": 61733,
|
|
51
51
|
"mortgage": 61734,
|
|
52
52
|
"more-horizontal": 61735,
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"leads-
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"image
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"home-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"file-
|
|
79
|
-
"file-
|
|
80
|
-
"file-
|
|
81
|
-
"file-
|
|
82
|
-
"file-
|
|
83
|
-
"file-
|
|
84
|
-
"
|
|
85
|
-
"face-ios-
|
|
86
|
-
"face-
|
|
87
|
-
"
|
|
88
|
-
"eye-
|
|
89
|
-
"
|
|
90
|
-
"explore-
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"chevron-
|
|
102
|
-
"chevron-
|
|
103
|
-
"chevron-
|
|
104
|
-
"
|
|
105
|
-
"check
|
|
106
|
-
"check-
|
|
107
|
-
"
|
|
108
|
-
"chalet-
|
|
109
|
-
"chalet-
|
|
110
|
-
"
|
|
111
|
-
"cancel
|
|
112
|
-
"cancel-circle-
|
|
113
|
-
"
|
|
114
|
-
"calendar
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"arrow-up
|
|
122
|
-
"arrow-up-
|
|
123
|
-
"arrow-up-
|
|
124
|
-
"arrow-
|
|
125
|
-
"arrow-
|
|
126
|
-
"arrow-
|
|
127
|
-
"arrow-down
|
|
128
|
-
"arrow-down-
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"alert-
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
53
|
+
"minus": 61736,
|
|
54
|
+
"map-pin": 61737,
|
|
55
|
+
"mail": 61738,
|
|
56
|
+
"magic-wand": 61739,
|
|
57
|
+
"logout": 61740,
|
|
58
|
+
"loft": 61741,
|
|
59
|
+
"lock": 61742,
|
|
60
|
+
"loader": 61743,
|
|
61
|
+
"lift": 61744,
|
|
62
|
+
"leads-linear": 61745,
|
|
63
|
+
"leads-filled": 61746,
|
|
64
|
+
"keys_01": 61747,
|
|
65
|
+
"info": 61748,
|
|
66
|
+
"image": 61749,
|
|
67
|
+
"image-off": 61750,
|
|
68
|
+
"icon-slot": 61751,
|
|
69
|
+
"home-linear": 61752,
|
|
70
|
+
"home-filled": 61753,
|
|
71
|
+
"history": 61754,
|
|
72
|
+
"help-circle": 61755,
|
|
73
|
+
"heating": 61756,
|
|
74
|
+
"gas-heating": 61757,
|
|
75
|
+
"garden": 61758,
|
|
76
|
+
"furnished": 61759,
|
|
77
|
+
"filter": 61760,
|
|
78
|
+
"file-text": 61761,
|
|
79
|
+
"file-spreadsheet": 61762,
|
|
80
|
+
"file-signature": 61763,
|
|
81
|
+
"file-lock": 61764,
|
|
82
|
+
"file-key": 61765,
|
|
83
|
+
"file-input": 61766,
|
|
84
|
+
"file-check": 61767,
|
|
85
|
+
"face-ios-light": 61768,
|
|
86
|
+
"face-ios-bold": 61769,
|
|
87
|
+
"face-android": 61770,
|
|
88
|
+
"eye-visible": 61771,
|
|
89
|
+
"eye-hidden": 61772,
|
|
90
|
+
"explore-linear": 61773,
|
|
91
|
+
"explore-filled": 61774,
|
|
92
|
+
"electric": 61775,
|
|
93
|
+
"edit": 61776,
|
|
94
|
+
"duplex": 61777,
|
|
95
|
+
"door-open": 61778,
|
|
96
|
+
"copy": 61779,
|
|
97
|
+
"contact": 61780,
|
|
98
|
+
"collections": 61781,
|
|
99
|
+
"closet": 61782,
|
|
100
|
+
"circle-off": 61783,
|
|
101
|
+
"chevron-up": 61784,
|
|
102
|
+
"chevron-right": 61785,
|
|
103
|
+
"chevron-left": 61786,
|
|
104
|
+
"chevron-down": 61787,
|
|
105
|
+
"check": 61788,
|
|
106
|
+
"check-circle-2": 61789,
|
|
107
|
+
"check-check": 61790,
|
|
108
|
+
"chalet-pareado": 61791,
|
|
109
|
+
"chalet-independet": 61792,
|
|
110
|
+
"chalet-adosado": 61793,
|
|
111
|
+
"cancel": 61794,
|
|
112
|
+
"cancel-circle-stroke": 61795,
|
|
113
|
+
"cancel-circle-solid": 61796,
|
|
114
|
+
"calendar": 61797,
|
|
115
|
+
"calendar-clock": 61798,
|
|
116
|
+
"building": 61799,
|
|
117
|
+
"bell": 61800,
|
|
118
|
+
"bed-double": 61801,
|
|
119
|
+
"bath": 61802,
|
|
120
|
+
"balcony-window": 61803,
|
|
121
|
+
"arrow-up": 61804,
|
|
122
|
+
"arrow-up-right": 61805,
|
|
123
|
+
"arrow-up-left": 61806,
|
|
124
|
+
"arrow-up-down": 61807,
|
|
125
|
+
"arrow-right": 61808,
|
|
126
|
+
"arrow-left": 61809,
|
|
127
|
+
"arrow-down": 61810,
|
|
128
|
+
"arrow-down-right": 61811,
|
|
129
|
+
"arrow-down-left": 61812,
|
|
130
|
+
"archive": 61813,
|
|
131
|
+
"alert-triangle": 61814,
|
|
132
|
+
"alert-circle": 61815,
|
|
133
|
+
"air-conditioner": 61816,
|
|
134
|
+
"add-note": 61817,
|
|
135
|
+
"accessibility": 61818
|
|
135
136
|
};
|
|
136
137
|
|
|
137
138
|
/**
|
package/src/react/Icon.tsx
CHANGED
|
@@ -87,6 +87,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
87
87
|
// Icon: magic-wand
|
|
88
88
|
// Icon: mail
|
|
89
89
|
// Icon: map-pin
|
|
90
|
+
// Icon: minus
|
|
90
91
|
// Icon: more-horizontal
|
|
91
92
|
// Icon: mortgage
|
|
92
93
|
// Icon: note
|
|
@@ -130,7 +131,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
130
131
|
/**
|
|
131
132
|
* Available icon names
|
|
132
133
|
*/
|
|
133
|
-
export type IconName = 'accessibility' | 'add-note' | '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' | 'bath' | 'bed-double' | 'bell' | 'building' | 'calendar' | 'calendar-clock' | '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' | 'closet' | 'collections' | 'contact' | 'copy' | 'door-open' | 'duplex' | 'edit' | 'electric' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'face-android' | 'face-ios-bold' | 'face-ios-light' | 'file-check' | 'file-input' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'filter' | 'furnished' | 'garden' | 'gas-heating' | 'heating' | 'help-circle' | 'history' | 'home-filled' | 'home-linear' | 'icon-slot' | 'image' | 'image-off' | 'info' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lift' | 'loader' | 'lock' | 'loft' | 'logout' | 'magic-wand' | 'mail' | 'map-pin' | 'more-horizontal' | 'mortgage' | 'note' | 'notes' | 'outside' | 'parking' | 'patio' | 'payments' | 'pencil-line' | 'pent-house' | 'pet' | 'phone-linear' | 'pin-map-solid' | 'plus' | 'promotion' | 'properties-filled' | 'properties-linear' | 'rent' | 'restaurant' | 'sale' | 'search' | 'search-x' | 'share' | 'size3d' | 'status-dot' | 'storage' | 'store' | 'swimming-pool' | 'tasks' | 'terrace' | 'thermometer-snowflake' | 'time' | 'touch-android' | 'touch-ios' | 'trash2' | 'user' | 'user-plus' | 'warehouse' | 'whatsapp';
|
|
134
|
+
export type IconName = 'accessibility' | 'add-note' | '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' | 'bath' | 'bed-double' | 'bell' | 'building' | 'calendar' | 'calendar-clock' | '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' | 'closet' | 'collections' | 'contact' | 'copy' | 'door-open' | 'duplex' | 'edit' | 'electric' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'face-android' | 'face-ios-bold' | 'face-ios-light' | 'file-check' | 'file-input' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'filter' | 'furnished' | 'garden' | 'gas-heating' | 'heating' | 'help-circle' | 'history' | 'home-filled' | 'home-linear' | 'icon-slot' | 'image' | 'image-off' | 'info' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lift' | 'loader' | 'lock' | 'loft' | 'logout' | 'magic-wand' | 'mail' | 'map-pin' | 'minus' | 'more-horizontal' | 'mortgage' | 'note' | 'notes' | 'outside' | 'parking' | 'patio' | 'payments' | 'pencil-line' | 'pent-house' | 'pet' | 'phone-linear' | 'pin-map-solid' | 'plus' | 'promotion' | 'properties-filled' | 'properties-linear' | 'rent' | 'restaurant' | 'sale' | 'search' | 'search-x' | 'share' | 'size3d' | 'status-dot' | 'storage' | 'store' | 'swimming-pool' | 'tasks' | 'terrace' | 'thermometer-snowflake' | 'time' | 'touch-android' | 'touch-ios' | 'trash2' | 'user' | 'user-plus' | 'warehouse' | 'whatsapp';
|
|
134
135
|
|
|
135
136
|
/**
|
|
136
137
|
* Props for the unified Icon component
|
|
@@ -314,6 +315,8 @@ function loadIcon(name: IconName): Promise<React.ComponentType<any>> {
|
|
|
314
315
|
return import('./Mail').then(m => m.default);
|
|
315
316
|
case 'map-pin':
|
|
316
317
|
return import('./MapPin').then(m => m.default);
|
|
318
|
+
case 'minus':
|
|
319
|
+
return import('./Minus').then(m => m.default);
|
|
317
320
|
case 'more-horizontal':
|
|
318
321
|
return import('./MoreHorizontal').then(m => m.default);
|
|
319
322
|
case 'mortgage':
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ReactIconProps } from '../shared/types';
|
|
3
|
+
import { resolveSize } from '../shared/types';
|
|
4
|
+
|
|
5
|
+
const SvgMinus = ({ 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
|
+
d="M19 11C19.5523 11 20 11.4477 20 12C20 12.5523 19.5523 13 19 13H5C4.44772 13 4 12.5523 4 12C4 11.4477 4.44772 11 5 11H19Z"
|
|
18
|
+
fill="currentColor"
|
|
19
|
+
/>
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default SvgMinus;
|
package/src/react/index.ts
CHANGED
|
@@ -81,6 +81,7 @@ export { default as Logout } from './Logout';
|
|
|
81
81
|
export { default as MagicWand } from './MagicWand';
|
|
82
82
|
export { default as Mail } from './Mail';
|
|
83
83
|
export { default as MapPin } from './MapPin';
|
|
84
|
+
export { default as Minus } from './Minus';
|
|
84
85
|
export { default as MoreHorizontal } from './MoreHorizontal';
|
|
85
86
|
export { default as Mortgage } from './Mortgage';
|
|
86
87
|
export { default as Note } from './Note';
|
package/src/react/index.tsx
CHANGED
|
@@ -80,6 +80,7 @@ export { default as Logout } from './Logout';
|
|
|
80
80
|
export { default as MagicWand } from './MagicWand';
|
|
81
81
|
export { default as Mail } from './Mail';
|
|
82
82
|
export { default as MapPin } from './MapPin';
|
|
83
|
+
export { default as Minus } from './Minus';
|
|
83
84
|
export { default as MoreHorizontal } from './MoreHorizontal';
|
|
84
85
|
export { default as Mortgage } from './Mortgage';
|
|
85
86
|
export { default as Note } from './Note';
|