huspy-icons 0.3.13 → 0.3.14
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 +43 -40
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +37 -36
- package/dist/fonts/HuspyIcons.ts +39 -36
- 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 +37 -36
- 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 +575 -524
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +496 -445
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/native/glyphMap.ts +38 -37
- package/src/react/Copy.tsx +44 -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 = 'whatsapp' | 'warehouse' | 'user' | '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' | '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' | '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' | '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';
|
|
7
|
+
export type IconName = 'whatsapp' | 'warehouse' | 'user' | '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' | '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' | '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' | '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
|
/**
|
|
10
10
|
* Mapping of icon names to unicode codepoints
|
|
@@ -90,42 +90,43 @@ export const glyphMap: Record<IconName, number> = {
|
|
|
90
90
|
"edit": 61773,
|
|
91
91
|
"duplex": 61774,
|
|
92
92
|
"door-open": 61775,
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"chevron-
|
|
98
|
-
"chevron-
|
|
99
|
-
"chevron-
|
|
100
|
-
"
|
|
101
|
-
"check
|
|
102
|
-
"check-
|
|
103
|
-
"
|
|
104
|
-
"chalet-
|
|
105
|
-
"chalet-
|
|
106
|
-
"
|
|
107
|
-
"cancel
|
|
108
|
-
"cancel-circle-
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"arrow-up
|
|
117
|
-
"arrow-up-
|
|
118
|
-
"arrow-up-
|
|
119
|
-
"arrow-
|
|
120
|
-
"arrow-
|
|
121
|
-
"arrow-
|
|
122
|
-
"arrow-down
|
|
123
|
-
"arrow-down-
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
93
|
+
"copy": 61776,
|
|
94
|
+
"collections": 61777,
|
|
95
|
+
"closet": 61778,
|
|
96
|
+
"circle-off": 61779,
|
|
97
|
+
"chevron-up": 61780,
|
|
98
|
+
"chevron-right": 61781,
|
|
99
|
+
"chevron-left": 61782,
|
|
100
|
+
"chevron-down": 61783,
|
|
101
|
+
"check": 61784,
|
|
102
|
+
"check-circle-2": 61785,
|
|
103
|
+
"check-check": 61786,
|
|
104
|
+
"chalet-pareado": 61787,
|
|
105
|
+
"chalet-independet": 61788,
|
|
106
|
+
"chalet-adosado": 61789,
|
|
107
|
+
"cancel": 61790,
|
|
108
|
+
"cancel-circle-stroke": 61791,
|
|
109
|
+
"cancel-circle-solid": 61792,
|
|
110
|
+
"calendar": 61793,
|
|
111
|
+
"building": 61794,
|
|
112
|
+
"bell": 61795,
|
|
113
|
+
"bed-double": 61796,
|
|
114
|
+
"bath": 61797,
|
|
115
|
+
"balcony-window": 61798,
|
|
116
|
+
"arrow-up": 61799,
|
|
117
|
+
"arrow-up-right": 61800,
|
|
118
|
+
"arrow-up-left": 61801,
|
|
119
|
+
"arrow-up-down": 61802,
|
|
120
|
+
"arrow-right": 61803,
|
|
121
|
+
"arrow-left": 61804,
|
|
122
|
+
"arrow-down": 61805,
|
|
123
|
+
"arrow-down-right": 61806,
|
|
124
|
+
"arrow-down-left": 61807,
|
|
125
|
+
"archive": 61808,
|
|
126
|
+
"alert-triangle": 61809,
|
|
127
|
+
"air-conditioner": 61810,
|
|
128
|
+
"add-note": 61811,
|
|
129
|
+
"accessibility": 61812
|
|
129
130
|
};
|
|
130
131
|
|
|
131
132
|
/**
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ReactIconProps } from '../shared/types';
|
|
3
|
+
import { resolveSize } from '../shared/types';
|
|
4
|
+
|
|
5
|
+
const SvgCopy = ({ size = 16, ...props }: ReactIconProps) => {
|
|
6
|
+
const sizeValue = resolveSize(size);
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<svg
|
|
10
|
+
width={sizeValue} height={sizeValue}
|
|
11
|
+
viewBox="0 0 16 16"
|
|
12
|
+
fill="none"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
{...props}
|
|
15
|
+
>
|
|
16
|
+
<g clipPath="url(#clip0_1580_20413)">
|
|
17
|
+
<g clipPath="url(#clip1_1580_20413)">
|
|
18
|
+
<path
|
|
19
|
+
fillRule="evenodd"
|
|
20
|
+
clipRule="evenodd"
|
|
21
|
+
d="M6.66667 6.00033C6.29848 6.00033 6.00001 6.2988 6.00001 6.66699V13.3337C6.00001 13.7018 6.29848 14.0003 6.66667 14.0003H13.3333C13.7015 14.0003 14 13.7018 14 13.3337V6.66699C14 6.2988 13.7015 6.00033 13.3333 6.00033H6.66667ZM4.66667 6.66699C4.66667 5.56242 5.5621 4.66699 6.66667 4.66699H13.3333C14.4379 4.66699 15.3333 5.56242 15.3333 6.66699V13.3337C15.3333 14.4382 14.4379 15.3337 13.3333 15.3337H6.66667C5.5621 15.3337 4.66667 14.4382 4.66667 13.3337V6.66699Z"
|
|
22
|
+
fill="currentColor"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
fillRule="evenodd"
|
|
26
|
+
clipRule="evenodd"
|
|
27
|
+
d="M2.66667 2.00033C2.30153 2.00033 2.00001 2.30185 2.00001 2.66699V9.33366C2.00001 9.6988 2.30153 10.0003 2.66667 10.0003C3.03486 10.0003 3.33334 10.2988 3.33334 10.667C3.33334 11.0352 3.03486 11.3337 2.66667 11.3337C1.56515 11.3337 0.666672 10.4352 0.666672 9.33366V2.66699C0.666672 1.56547 1.56515 0.666992 2.66667 0.666992H9.33334C10.4349 0.666992 11.3333 1.56547 11.3333 2.66699C11.3333 3.03518 11.0349 3.33366 10.6667 3.33366C10.2985 3.33366 10 3.03518 10 2.66699C10 2.30185 9.69848 2.00033 9.33334 2.00033H2.66667Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</g>
|
|
31
|
+
</g>
|
|
32
|
+
<defs>
|
|
33
|
+
<clipPath id="clip0_1580_20413">
|
|
34
|
+
<rect width={16} height={16} fill="currentColor" />
|
|
35
|
+
</clipPath>
|
|
36
|
+
<clipPath id="clip1_1580_20413">
|
|
37
|
+
<rect width={16} height={16} fill="currentColor" />
|
|
38
|
+
</clipPath>
|
|
39
|
+
</defs>
|
|
40
|
+
</svg>
|
|
41
|
+
);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export default SvgCopy;
|
package/src/react/Icon.tsx
CHANGED
|
@@ -41,6 +41,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
41
41
|
// Icon: circle-off
|
|
42
42
|
// Icon: closet
|
|
43
43
|
// Icon: collections
|
|
44
|
+
// Icon: copy
|
|
44
45
|
// Icon: door-open
|
|
45
46
|
// Icon: duplex
|
|
46
47
|
// Icon: edit
|
|
@@ -124,7 +125,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
124
125
|
/**
|
|
125
126
|
* Available icon names
|
|
126
127
|
*/
|
|
127
|
-
export type IconName = 'accessibility' | 'add-note' | 'air-conditioner' | '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' | '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' | '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' | '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' | 'warehouse' | 'whatsapp';
|
|
128
|
+
export type IconName = 'accessibility' | 'add-note' | 'air-conditioner' | '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' | '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' | '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' | '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' | 'warehouse' | 'whatsapp';
|
|
128
129
|
|
|
129
130
|
/**
|
|
130
131
|
* Props for the unified Icon component
|
|
@@ -216,6 +217,8 @@ function loadIcon(name: IconName): Promise<React.ComponentType<any>> {
|
|
|
216
217
|
return import('./Closet').then(m => m.default);
|
|
217
218
|
case 'collections':
|
|
218
219
|
return import('./Collections').then(m => m.default);
|
|
220
|
+
case 'copy':
|
|
221
|
+
return import('./Copy').then(m => m.default);
|
|
219
222
|
case 'door-open':
|
|
220
223
|
return import('./DoorOpen').then(m => m.default);
|
|
221
224
|
case 'duplex':
|
package/src/react/index.ts
CHANGED
|
@@ -35,6 +35,7 @@ export { default as ChevronUp } from './ChevronUp';
|
|
|
35
35
|
export { default as CircleOff } from './CircleOff';
|
|
36
36
|
export { default as Closet } from './Closet';
|
|
37
37
|
export { default as Collections } from './Collections';
|
|
38
|
+
export { default as Copy } from './Copy';
|
|
38
39
|
export { default as DoorOpen } from './DoorOpen';
|
|
39
40
|
export { default as Duplex } from './Duplex';
|
|
40
41
|
export { default as Edit } from './Edit';
|
package/src/react/index.tsx
CHANGED
|
@@ -34,6 +34,7 @@ export { default as ChevronUp } from './ChevronUp';
|
|
|
34
34
|
export { default as CircleOff } from './CircleOff';
|
|
35
35
|
export { default as Closet } from './Closet';
|
|
36
36
|
export { default as Collections } from './Collections';
|
|
37
|
+
export { default as Copy } from './Copy';
|
|
37
38
|
export { default as DoorOpen } from './DoorOpen';
|
|
38
39
|
export { default as Duplex } from './Duplex';
|
|
39
40
|
export { default as Edit } from './Edit';
|