huspy-icons 0.3.16 → 0.3.17
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 +27 -24
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +21 -20
- package/dist/fonts/HuspyIcons.ts +23 -20
- 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 +21 -20
- 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 +685 -598
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +589 -502
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/native/glyphMap.ts +22 -21
- package/src/react/CalendarClock.tsx +56 -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' | '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' | 'alert-circle' | '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' | '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
|
|
@@ -108,26 +108,27 @@ export const glyphMap: Record<IconName, number> = {
|
|
|
108
108
|
"cancel-circle-stroke": 61791,
|
|
109
109
|
"cancel-circle-solid": 61792,
|
|
110
110
|
"calendar": 61793,
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"arrow-up
|
|
118
|
-
"arrow-up-
|
|
119
|
-
"arrow-up-
|
|
120
|
-
"arrow-
|
|
121
|
-
"arrow-
|
|
122
|
-
"arrow-
|
|
123
|
-
"arrow-down
|
|
124
|
-
"arrow-down-
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"alert-
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
111
|
+
"calendar-clock": 61794,
|
|
112
|
+
"building": 61795,
|
|
113
|
+
"bell": 61796,
|
|
114
|
+
"bed-double": 61797,
|
|
115
|
+
"bath": 61798,
|
|
116
|
+
"balcony-window": 61799,
|
|
117
|
+
"arrow-up": 61800,
|
|
118
|
+
"arrow-up-right": 61801,
|
|
119
|
+
"arrow-up-left": 61802,
|
|
120
|
+
"arrow-up-down": 61803,
|
|
121
|
+
"arrow-right": 61804,
|
|
122
|
+
"arrow-left": 61805,
|
|
123
|
+
"arrow-down": 61806,
|
|
124
|
+
"arrow-down-right": 61807,
|
|
125
|
+
"arrow-down-left": 61808,
|
|
126
|
+
"archive": 61809,
|
|
127
|
+
"alert-triangle": 61810,
|
|
128
|
+
"alert-circle": 61811,
|
|
129
|
+
"air-conditioner": 61812,
|
|
130
|
+
"add-note": 61813,
|
|
131
|
+
"accessibility": 61814
|
|
131
132
|
};
|
|
132
133
|
|
|
133
134
|
/**
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ReactIconProps } from '../shared/types';
|
|
3
|
+
import { resolveSize } from '../shared/types';
|
|
4
|
+
|
|
5
|
+
const SvgCalendarClock = ({ 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="M2.87868 3.87868C3.44129 3.31607 4.20435 3 5 3H19C19.7957 3 20.5587 3.31607 21.1213 3.87868C21.6839 4.44129 22 5.20435 22 6V7.5C22 8.05228 21.5523 8.5 21 8.5C20.4477 8.5 20 8.05228 20 7.5V6C20 5.73478 19.8946 5.48043 19.7071 5.29289C19.5196 5.10536 19.2652 5 19 5H5C4.73478 5 4.48043 5.10536 4.29289 5.29289C4.10536 5.48043 4 5.73478 4 6V20C4 20.2652 4.10536 20.5196 4.29289 20.7071C4.48043 20.8946 4.73478 21 5 21H8.5C9.05228 21 9.5 21.4477 9.5 22C9.5 22.5523 9.05228 23 8.5 23H5C4.20435 23 3.44129 22.6839 2.87868 22.1213C2.31607 21.5587 2 20.7957 2 20V6C2 5.20435 2.31607 4.44129 2.87868 3.87868Z"
|
|
20
|
+
fill="currentColor"
|
|
21
|
+
/>
|
|
22
|
+
<path
|
|
23
|
+
fillRule="evenodd"
|
|
24
|
+
clipRule="evenodd"
|
|
25
|
+
d="M16 1C16.5523 1 17 1.44772 17 2V6C17 6.55228 16.5523 7 16 7C15.4477 7 15 6.55228 15 6V2C15 1.44772 15.4477 1 16 1Z"
|
|
26
|
+
fill="currentColor"
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
fillRule="evenodd"
|
|
30
|
+
clipRule="evenodd"
|
|
31
|
+
d="M8 1C8.55228 1 9 1.44772 9 2V6C9 6.55228 8.55228 7 8 7C7.44772 7 7 6.55228 7 6V2C7 1.44772 7.44772 1 8 1Z"
|
|
32
|
+
fill="currentColor"
|
|
33
|
+
/>
|
|
34
|
+
<path
|
|
35
|
+
fillRule="evenodd"
|
|
36
|
+
clipRule="evenodd"
|
|
37
|
+
d="M2 10C2 9.44771 2.44772 9 3 9H8C8.55228 9 9 9.44771 9 10C9 10.5523 8.55228 11 8 11H3C2.44772 11 2 10.5523 2 10Z"
|
|
38
|
+
fill="currentColor"
|
|
39
|
+
/>
|
|
40
|
+
<path
|
|
41
|
+
fillRule="evenodd"
|
|
42
|
+
clipRule="evenodd"
|
|
43
|
+
d="M16 13C16.5523 13 17 13.4477 17 14V15.7816L18.1402 16.7318C18.5645 17.0853 18.6218 17.7159 18.2682 18.1402C17.9147 18.5645 17.2841 18.6218 16.8598 18.2682L15.3598 17.0182C15.1318 16.8282 15 16.5468 15 16.25V14C15 13.4477 15.4477 13 16 13Z"
|
|
44
|
+
fill="currentColor"
|
|
45
|
+
/>
|
|
46
|
+
<path
|
|
47
|
+
fillRule="evenodd"
|
|
48
|
+
clipRule="evenodd"
|
|
49
|
+
d="M16 11C14.6739 11 13.4021 11.5268 12.4645 12.4645C11.5268 13.4021 11 14.6739 11 16C11 17.3261 11.5268 18.5979 12.4645 19.5355C13.4021 20.4732 14.6739 21 16 21C17.3261 21 18.5979 20.4732 19.5355 19.5355C20.4732 18.5979 21 17.3261 21 16C21 14.6739 20.4732 13.4021 19.5355 12.4645C18.5979 11.5268 17.3261 11 16 11ZM11.0503 11.0503C12.363 9.7375 14.1435 9 16 9C17.8565 9 19.637 9.7375 20.9497 11.0503C22.2625 12.363 23 14.1435 23 16C23 17.8565 22.2625 19.637 20.9497 20.9497C19.637 22.2625 17.8565 23 16 23C14.1435 23 12.363 22.2625 11.0503 20.9497C9.7375 19.637 9 17.8565 9 16C9 14.1435 9.7375 12.363 11.0503 11.0503Z"
|
|
50
|
+
fill="currentColor"
|
|
51
|
+
/>
|
|
52
|
+
</svg>
|
|
53
|
+
);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export default SvgCalendarClock;
|
package/src/react/Icon.tsx
CHANGED
|
@@ -26,6 +26,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
26
26
|
// Icon: bell
|
|
27
27
|
// Icon: building
|
|
28
28
|
// Icon: calendar
|
|
29
|
+
// Icon: calendar-clock
|
|
29
30
|
// Icon: cancel
|
|
30
31
|
// Icon: cancel-circle-solid
|
|
31
32
|
// Icon: cancel-circle-stroke
|
|
@@ -126,7 +127,7 @@ import type { ReactIconProps } from '../shared/types';
|
|
|
126
127
|
/**
|
|
127
128
|
* Available icon names
|
|
128
129
|
*/
|
|
129
|
-
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' | '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';
|
|
130
|
+
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' | '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';
|
|
130
131
|
|
|
131
132
|
/**
|
|
132
133
|
* Props for the unified Icon component
|
|
@@ -188,6 +189,8 @@ function loadIcon(name: IconName): Promise<React.ComponentType<any>> {
|
|
|
188
189
|
return import('./Building').then(m => m.default);
|
|
189
190
|
case 'calendar':
|
|
190
191
|
return import('./Calendar').then(m => m.default);
|
|
192
|
+
case 'calendar-clock':
|
|
193
|
+
return import('./CalendarClock').then(m => m.default);
|
|
191
194
|
case 'cancel':
|
|
192
195
|
return import('./Cancel').then(m => m.default);
|
|
193
196
|
case 'cancel-circle-solid':
|
package/src/react/index.ts
CHANGED
|
@@ -20,6 +20,7 @@ export { default as BedDouble } from './BedDouble';
|
|
|
20
20
|
export { default as Bell } from './Bell';
|
|
21
21
|
export { default as Building } from './Building';
|
|
22
22
|
export { default as Calendar } from './Calendar';
|
|
23
|
+
export { default as CalendarClock } from './CalendarClock';
|
|
23
24
|
export { default as Cancel } from './Cancel';
|
|
24
25
|
export { default as CancelCircleSolid } from './CancelCircleSolid';
|
|
25
26
|
export { default as CancelCircleStroke } from './CancelCircleStroke';
|
package/src/react/index.tsx
CHANGED
|
@@ -18,6 +18,7 @@ export { default as Bath } from './Bath';
|
|
|
18
18
|
export { default as BedDouble } from './BedDouble';
|
|
19
19
|
export { default as Bell } from './Bell';
|
|
20
20
|
export { default as Building } from './Building';
|
|
21
|
+
export { default as CalendarClock } from './CalendarClock';
|
|
21
22
|
export { default as Calendar } from './Calendar';
|
|
22
23
|
export { default as CancelCircleSolid } from './CancelCircleSolid';
|
|
23
24
|
export { default as CancelCircleStroke } from './CancelCircleStroke';
|