huspy-icons 0.3.15 → 0.3.16

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.15",
3
+ "version": "0.3.16",
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' | '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';
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';
8
8
 
9
9
  /**
10
10
  * Mapping of icon names to unicode codepoints
@@ -124,9 +124,10 @@ export const glyphMap: Record<IconName, number> = {
124
124
  "arrow-down-left": 61807,
125
125
  "archive": 61808,
126
126
  "alert-triangle": 61809,
127
- "air-conditioner": 61810,
128
- "add-note": 61811,
129
- "accessibility": 61812
127
+ "alert-circle": 61810,
128
+ "air-conditioner": 61811,
129
+ "add-note": 61812,
130
+ "accessibility": 61813
130
131
  };
131
132
 
132
133
  /**
@@ -0,0 +1,38 @@
1
+ import * as React from 'react';
2
+ import type { ReactIconProps } from '../shared/types';
3
+ import { resolveSize } from '../shared/types';
4
+
5
+ const SvgAlertCircle = ({ 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 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12Z"
20
+ fill="currentColor"
21
+ />
22
+ <path
23
+ fillRule="evenodd"
24
+ clipRule="evenodd"
25
+ d="M12 7C12.5523 7 13 7.44772 13 8V12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12V8C11 7.44772 11.4477 7 12 7Z"
26
+ fill="currentColor"
27
+ />
28
+ <path
29
+ fillRule="evenodd"
30
+ clipRule="evenodd"
31
+ d="M11 16C11 15.4477 11.4477 15 12 15H12.01C12.5623 15 13.01 15.4477 13.01 16C13.01 16.5523 12.5623 17 12.01 17H12C11.4477 17 11 16.5523 11 16Z"
32
+ fill="currentColor"
33
+ />
34
+ </svg>
35
+ );
36
+ };
37
+
38
+ export default SvgAlertCircle;
@@ -8,6 +8,7 @@ import type { ReactIconProps } from '../shared/types';
8
8
  // Icon: accessibility
9
9
  // Icon: add-note
10
10
  // Icon: air-conditioner
11
+ // Icon: alert-circle
11
12
  // Icon: alert-triangle
12
13
  // Icon: archive
13
14
  // Icon: arrow-down
@@ -125,7 +126,7 @@ import type { ReactIconProps } from '../shared/types';
125
126
  /**
126
127
  * Available icon names
127
128
  */
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';
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';
129
130
 
130
131
  /**
131
132
  * Props for the unified Icon component
@@ -151,6 +152,8 @@ function loadIcon(name: IconName): Promise<React.ComponentType<any>> {
151
152
  return import('./AddNote').then(m => m.default);
152
153
  case 'air-conditioner':
153
154
  return import('./AirConditioner').then(m => m.default);
155
+ case 'alert-circle':
156
+ return import('./AlertCircle').then(m => m.default);
154
157
  case 'alert-triangle':
155
158
  return import('./AlertTriangle').then(m => m.default);
156
159
  case 'archive':
@@ -2,6 +2,7 @@
2
2
  export { default as Accessibility } from './Accessibility';
3
3
  export { default as AddNote } from './AddNote';
4
4
  export { default as AirConditioner } from './AirConditioner';
5
+ export { default as AlertCircle } from './AlertCircle';
5
6
  export { default as AlertTriangle } from './AlertTriangle';
6
7
  export { default as Archive } from './Archive';
7
8
  export { default as ArrowDown } from './ArrowDown';
@@ -1,6 +1,7 @@
1
1
  export { default as Accessibility } from './Accessibility';
2
2
  export { default as AddNote } from './AddNote';
3
3
  export { default as AirConditioner } from './AirConditioner';
4
+ export { default as AlertCircle } from './AlertCircle';
4
5
  export { default as AlertTriangle } from './AlertTriangle';
5
6
  export { default as Archive } from './Archive';
6
7
  export { default as ArrowDownLeft } from './ArrowDownLeft';