huspy-icons 0.2.2 → 0.2.3

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.2.2",
3
+ "version": "0.2.3",
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' | 'user' | 'trash-2' | 'share' | 'search' | 'search-x' | 'rent' | 'properties-linear' | 'properties-filled' | 'plus' | 'payments' | 'note' | 'mortgage' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'file-text' | 'file-spreadsheet' | 'file-lock' | 'file-key' | 'file-check' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'bell' | 'bell-linear' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'alert-triangle';
7
+ export type IconName = 'whatsapp' | 'user' | 'trash-2' | 'share' | 'search' | 'search-x' | 'rent' | 'properties-linear' | 'properties-filled' | 'plus' | 'payments' | 'note' | 'mortgage' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'file-text' | 'file-spreadsheet' | 'file-lock' | 'file-key' | 'file-check' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'bell' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'alert-triangle';
8
8
 
9
9
  /**
10
10
  * Mapping of icon names to unicode codepoints
@@ -52,17 +52,16 @@ export const glyphMap: Record<IconName, number> = {
52
52
  "cancel": 61735,
53
53
  "cancel-circle-solid": 61736,
54
54
  "bell": 61737,
55
- "bell-linear": 61738,
56
- "arrow-up": 61739,
57
- "arrow-up-right": 61740,
58
- "arrow-up-left": 61741,
59
- "arrow-up-down": 61742,
60
- "arrow-right": 61743,
61
- "arrow-left": 61744,
62
- "arrow-down": 61745,
63
- "arrow-down-right": 61746,
64
- "arrow-down-left": 61747,
65
- "alert-triangle": 61748
55
+ "arrow-up": 61738,
56
+ "arrow-up-right": 61739,
57
+ "arrow-up-left": 61740,
58
+ "arrow-up-down": 61741,
59
+ "arrow-right": 61742,
60
+ "arrow-left": 61743,
61
+ "arrow-down": 61744,
62
+ "arrow-down-right": 61745,
63
+ "arrow-down-left": 61746,
64
+ "alert-triangle": 61747
66
65
  };
67
66
 
68
67
  /**
@@ -14,14 +14,10 @@ const SvgBell = ({ size = 16, ...props }: ReactIconProps) => {
14
14
  {...props}
15
15
  >
16
16
  <path
17
- fillRule="evenodd"
18
- clipRule="evenodd"
19
- d="M12.0001 3C10.674 3 9.40223 3.52678 8.46454 4.46447C7.52686 5.40215 7.00008 6.67392 7.00008 8C7.00008 11.6473 6.21715 14.0654 5.37797 15.6039C5.30188 15.7434 5.22549 15.8753 5.1494 16H18.8508C18.7747 15.8753 18.6983 15.7434 18.6222 15.6039C17.783 14.0654 17.0001 11.6473 17.0001 8C17.0001 6.67392 16.4733 5.40215 15.5356 4.46447C14.5979 3.52678 13.3262 3 12.0001 3ZM21.5664 16.1758C21.5657 16.1753 21.5647 16.1746 21.5635 16.1737C21.5558 16.168 21.538 16.1544 21.5114 16.1322C21.4581 16.0878 21.3698 16.0091 21.2573 15.8904C21.0329 15.6535 20.7098 15.2544 20.378 14.6461C19.7171 13.4346 19.0001 11.3527 19.0001 8C19.0001 6.14349 18.2626 4.36301 16.9498 3.05025C15.6371 1.7375 13.8566 1 12.0001 1C10.1436 1 8.36309 1.7375 7.05033 3.05025C5.73758 4.36301 5.00008 6.14348 5.00008 8C5.00008 11.3527 4.28301 13.4346 3.62218 14.6461C3.29039 15.2544 2.9673 15.6535 2.74288 15.8904C2.6304 16.0091 2.54202 16.0878 2.4888 16.1322C2.46218 16.1544 2.44432 16.168 2.43663 16.1737C2.43542 16.1746 2.43447 16.1753 2.43377 16.1758C2.07528 16.4221 1.91664 16.8725 2.04299 17.2898C2.17068 17.7115 2.55941 18 3.00008 18H21.0001C21.4407 18 21.8295 17.7115 21.9572 17.2898C22.0835 16.8725 21.9249 16.4221 21.5664 16.1758Z"
17
+ d="M12.0001 3C13.3262 3 14.5979 3.52678 15.5356 4.46447C16.4733 5.40215 17.0001 6.67392 17.0001 8C17.0001 11.6473 17.783 14.0654 18.6222 15.6039C18.6983 15.7434 18.7747 15.8753 18.8508 16L5.1494 16C5.22549 15.8753 5.30188 15.7434 5.37797 15.6039C6.21715 14.0654 7.00008 11.6473 7.00008 8C7.00008 6.67392 7.52686 5.40215 8.46454 4.46447C9.40223 3.52678 10.674 3 12.0001 3zM21.5664 16.1758C21.5657 16.1753 21.5647 16.1746 21.5635 16.1737C21.5558 16.168 21.538 16.1544 21.5114 16.1322C21.4581 16.0878 21.3698 16.0091 21.2573 15.8904C21.0329 15.6535 20.7098 15.2544 20.378 14.6461C19.7171 13.4346 19.0001 11.3527 19.0001 8C19.0001 6.14349 18.2626 4.36301 16.9498 3.05025C15.6371 1.7375 13.8566 1 12.0001 1C10.1436 1 8.36309 1.7375 7.05033 3.05025C5.73758 4.36301 5.00008 6.14348 5.00008 8C5.00008 11.3527 4.28301 13.4346 3.62218 14.6461C3.29039 15.2544 2.9673 15.6535 2.74288 15.8904C2.6304 16.0091 2.54202 16.0878 2.4888 16.1322C2.46218 16.1544 2.44432 16.168 2.43663 16.1737C2.43542 16.1746 2.43447 16.1753 2.43377 16.1758C2.07528 16.4221 1.91664 16.8725 2.04299 17.2898C2.17068 17.7115 2.55941 18 3.00008 18H21.0001C21.4407 18 21.8295 17.7115 21.9572 17.2898C22.0835 16.8725 21.9249 16.4221 21.5664 16.1758z"
20
18
  fill="currentColor"
21
19
  />
22
20
  <path
23
- fillRule="evenodd"
24
- clipRule="evenodd"
25
21
  d="M9.81829 20.1237C10.3023 19.8576 10.9103 20.0343 11.1764 20.5182C11.2575 20.6657 11.3767 20.7887 11.5216 20.8744C11.6665 20.9601 11.8317 21.0053 12.0001 21.0053C12.1684 21.0053 12.3337 20.9601 12.4786 20.8744C12.6235 20.7887 12.7427 20.6657 12.8238 20.5182C13.0899 20.0343 13.6979 19.8576 14.1819 20.1237C14.6658 20.3898 14.8424 20.9978 14.5764 21.4818C14.3227 21.9432 13.9498 22.3279 13.4966 22.5959C13.0434 22.8639 12.5266 23.0053 12.0001 23.0053C11.4736 23.0053 10.9567 22.8639 10.5035 22.5959C10.0504 22.3279 9.67745 21.9432 9.42379 21.4818C9.15771 20.9978 9.33433 20.3898 9.81829 20.1237Z"
26
22
  fill="currentColor"
27
23
  />
@@ -16,7 +16,6 @@ import type { ReactIconProps } from '../shared/types';
16
16
  // Icon: arrow-up-left
17
17
  // Icon: arrow-up-right
18
18
  // Icon: bell
19
- // Icon: bell-linear
20
19
  // Icon: cancel
21
20
  // Icon: cancel-circle-solid
22
21
  // Icon: check
@@ -61,7 +60,7 @@ import type { ReactIconProps } from '../shared/types';
61
60
  /**
62
61
  * Available icon names
63
62
  */
64
- export type IconName = 'alert-triangle' | 'arrow-down' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-down' | 'arrow-up-left' | 'arrow-up-right' | 'bell' | 'bell-linear' | 'cancel' | 'cancel-circle-solid' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'edit' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'file-check' | 'file-key' | 'file-lock' | 'file-spreadsheet' | 'file-text' | 'help-circle' | 'home-filled' | 'home-linear' | 'icon-slot' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lock' | 'logout' | 'mail' | 'mortgage' | 'note' | 'payments' | 'plus' | 'properties-filled' | 'properties-linear' | 'rent' | 'search' | 'search-x' | 'share' | 'trash2' | 'user' | 'whatsapp';
63
+ export type IconName = 'alert-triangle' | 'arrow-down' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'arrow-up-down' | 'arrow-up-left' | 'arrow-up-right' | 'bell' | 'cancel' | 'cancel-circle-solid' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'edit' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'file-check' | 'file-key' | 'file-lock' | 'file-spreadsheet' | 'file-text' | 'help-circle' | 'home-filled' | 'home-linear' | 'icon-slot' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lock' | 'logout' | 'mail' | 'mortgage' | 'note' | 'payments' | 'plus' | 'properties-filled' | 'properties-linear' | 'rent' | 'search' | 'search-x' | 'share' | 'trash2' | 'user' | 'whatsapp';
65
64
 
66
65
  /**
67
66
  * Props for the unified Icon component
@@ -103,8 +102,6 @@ function loadIcon(name: IconName): Promise<React.ComponentType<any>> {
103
102
  return import('./ArrowUpRight').then(m => m.default);
104
103
  case 'bell':
105
104
  return import('./Bell').then(m => m.default);
106
- case 'bell-linear':
107
- return import('./BellLinear').then(m => m.default);
108
105
  case 'cancel':
109
106
  return import('./Cancel').then(m => m.default);
110
107
  case 'cancel-circle-solid':
@@ -10,7 +10,6 @@ export { default as ArrowUpDown } from './ArrowUpDown';
10
10
  export { default as ArrowUpLeft } from './ArrowUpLeft';
11
11
  export { default as ArrowUpRight } from './ArrowUpRight';
12
12
  export { default as Bell } from './Bell';
13
- export { default as BellLinear } from './BellLinear';
14
13
  export { default as Cancel } from './Cancel';
15
14
  export { default as CancelCircleSolid } from './CancelCircleSolid';
16
15
  export { default as Check } from './Check';
@@ -8,7 +8,6 @@ export { default as ArrowUpDown } from './ArrowUpDown';
8
8
  export { default as ArrowUpLeft } from './ArrowUpLeft';
9
9
  export { default as ArrowUpRight } from './ArrowUpRight';
10
10
  export { default as ArrowUp } from './ArrowUp';
11
- export { default as BellLinear } from './BellLinear';
12
11
  export { default as Bell } from './Bell';
13
12
  export { default as CancelCircleSolid } from './CancelCircleSolid';
14
13
  export { default as Cancel } from './Cancel';
@@ -1,32 +0,0 @@
1
- import * as React from 'react';
2
- import type { ReactIconProps } from '../shared/types';
3
- import { resolveSize } from '../shared/types';
4
-
5
- const SvgBellLinear = ({ 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.0001 3C10.674 3 9.40223 3.52678 8.46454 4.46447C7.52686 5.40215 7.00008 6.67392 7.00008 8C7.00008 11.6473 6.21715 14.0654 5.37797 15.6039C5.30188 15.7434 5.22549 15.8753 5.1494 16H18.8508C18.7747 15.8753 18.6983 15.7434 18.6222 15.6039C17.783 14.0654 17.0001 11.6473 17.0001 8C17.0001 6.67392 16.4733 5.40215 15.5356 4.46447C14.5979 3.52678 13.3262 3 12.0001 3ZM21.5664 16.1758C21.5657 16.1753 21.5647 16.1746 21.5635 16.1737C21.5558 16.168 21.538 16.1544 21.5114 16.1322C21.4581 16.0878 21.3698 16.0091 21.2573 15.8904C21.0329 15.6535 20.7098 15.2544 20.378 14.6461C19.7171 13.4346 19.0001 11.3527 19.0001 8C19.0001 6.14349 18.2626 4.36301 16.9498 3.05025C15.6371 1.7375 13.8566 1 12.0001 1C10.1436 1 8.36309 1.7375 7.05033 3.05025C5.73758 4.36301 5.00008 6.14348 5.00008 8C5.00008 11.3527 4.28301 13.4346 3.62218 14.6461C3.29039 15.2544 2.9673 15.6535 2.74288 15.8904C2.6304 16.0091 2.54202 16.0878 2.4888 16.1322C2.46218 16.1544 2.44432 16.168 2.43663 16.1737C2.43542 16.1746 2.43447 16.1753 2.43377 16.1758C2.07528 16.4221 1.91664 16.8725 2.04299 17.2898C2.17068 17.7115 2.55941 18 3.00008 18H21.0001C21.4407 18 21.8295 17.7115 21.9572 17.2898C22.0835 16.8725 21.9249 16.4221 21.5664 16.1758Z"
20
- fill="currentColor"
21
- />
22
- <path
23
- fillRule="evenodd"
24
- clipRule="evenodd"
25
- d="M9.81829 20.1237C10.3023 19.8576 10.9103 20.0343 11.1764 20.5182C11.2575 20.6657 11.3767 20.7887 11.5216 20.8744C11.6665 20.9601 11.8317 21.0053 12.0001 21.0053C12.1684 21.0053 12.3337 20.9601 12.4786 20.8744C12.6235 20.7887 12.7427 20.6657 12.8238 20.5182C13.0899 20.0343 13.6979 19.8576 14.1819 20.1237C14.6658 20.3898 14.8424 20.9978 14.5764 21.4818C14.3227 21.9432 13.9498 22.3279 13.4966 22.5959C13.0434 22.8639 12.5266 23.0053 12.0001 23.0053C11.4736 23.0053 10.9567 22.8639 10.5035 22.5959C10.0504 22.3279 9.67745 21.9432 9.42379 21.4818C9.15771 20.9978 9.33433 20.3898 9.81829 20.1237Z"
26
- fill="currentColor"
27
- />
28
- </svg>
29
- );
30
- };
31
-
32
- export default SvgBellLinear;