huspy-icons 0.3.13 → 0.3.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huspy-icons",
3
- "version": "0.3.13",
3
+ "version": "0.3.15",
4
4
  "description": "Cross-platform icon package for Huspy - React and React Native compatible",
5
5
  "author": "Huspy",
6
6
  "license": "MIT",
@@ -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
- "collections": 61776,
94
- "closet": 61777,
95
- "circle-off": 61778,
96
- "chevron-up": 61779,
97
- "chevron-right": 61780,
98
- "chevron-left": 61781,
99
- "chevron-down": 61782,
100
- "check": 61783,
101
- "check-circle-2": 61784,
102
- "check-check": 61785,
103
- "chalet-pareado": 61786,
104
- "chalet-independet": 61787,
105
- "chalet-adosado": 61788,
106
- "cancel": 61789,
107
- "cancel-circle-stroke": 61790,
108
- "cancel-circle-solid": 61791,
109
- "calendar": 61792,
110
- "building": 61793,
111
- "bell": 61794,
112
- "bed-double": 61795,
113
- "bath": 61796,
114
- "balcony-window": 61797,
115
- "arrow-up": 61798,
116
- "arrow-up-right": 61799,
117
- "arrow-up-left": 61800,
118
- "arrow-up-down": 61801,
119
- "arrow-right": 61802,
120
- "arrow-left": 61803,
121
- "arrow-down": 61804,
122
- "arrow-down-right": 61805,
123
- "arrow-down-left": 61806,
124
- "archive": 61807,
125
- "alert-triangle": 61808,
126
- "air-conditioner": 61809,
127
- "add-note": 61810,
128
- "accessibility": 61811
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,32 @@
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 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="M10 9C9.44772 9 9 9.44772 9 10V20C9 20.5523 9.44772 21 10 21H20C20.5523 21 21 20.5523 21 20V10C21 9.44772 20.5523 9 20 9H10ZM7 10C7 8.34315 8.34315 7 10 7H20C21.6569 7 23 8.34315 23 10V20C23 21.6569 21.6569 23 20 23H10C8.34315 23 7 21.6569 7 20V10Z"
20
+ fill="currentColor"
21
+ />
22
+ <path
23
+ fillRule="evenodd"
24
+ clipRule="evenodd"
25
+ d="M4 3C3.45228 3 3 3.45228 3 4V14C3 14.5477 3.45228 15 4 15C4.55228 15 5 15.4477 5 16C5 16.5523 4.55228 17 4 17C2.34772 17 1 15.6523 1 14V4C1 2.34772 2.34772 1 4 1H14C15.6523 1 17 2.34772 17 4C17 4.55228 16.5523 5 16 5C15.4477 5 15 4.55228 15 4C15 3.45228 14.5477 3 14 3H4Z"
26
+ fill="currentColor"
27
+ />
28
+ </svg>
29
+ );
30
+ };
31
+
32
+ export default SvgCopy;
@@ -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':
@@ -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';
@@ -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';