huspy-icons 0.2.1 → 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.1",
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-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';
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
@@ -34,33 +34,34 @@ export const glyphMap: Record<IconName, number> = {
34
34
  "home-linear": 61717,
35
35
  "home-filled": 61718,
36
36
  "help-circle": 61719,
37
- "file-spreadsheet": 61720,
38
- "file-lock": 61721,
39
- "file-key": 61722,
40
- "file-check": 61723,
41
- "eye-visible": 61724,
42
- "eye-hidden": 61725,
43
- "explore-linear": 61726,
44
- "explore-filled": 61727,
45
- "edit": 61728,
46
- "chevron-up": 61729,
47
- "chevron-right": 61730,
48
- "chevron-left": 61731,
49
- "chevron-down": 61732,
50
- "check": 61733,
51
- "cancel": 61734,
52
- "cancel-circle-solid": 61735,
53
- "bell": 61736,
54
- "arrow-up": 61737,
55
- "arrow-up-right": 61738,
56
- "arrow-up-left": 61739,
57
- "arrow-up-down": 61740,
58
- "arrow-right": 61741,
59
- "arrow-left": 61742,
60
- "arrow-down": 61743,
61
- "arrow-down-right": 61744,
62
- "arrow-down-left": 61745,
63
- "alert-triangle": 61746
37
+ "file-text": 61720,
38
+ "file-spreadsheet": 61721,
39
+ "file-lock": 61722,
40
+ "file-key": 61723,
41
+ "file-check": 61724,
42
+ "eye-visible": 61725,
43
+ "eye-hidden": 61726,
44
+ "explore-linear": 61727,
45
+ "explore-filled": 61728,
46
+ "edit": 61729,
47
+ "chevron-up": 61730,
48
+ "chevron-right": 61731,
49
+ "chevron-left": 61732,
50
+ "chevron-down": 61733,
51
+ "check": 61734,
52
+ "cancel": 61735,
53
+ "cancel-circle-solid": 61736,
54
+ "bell": 61737,
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
64
65
  };
65
66
 
66
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
  />
@@ -0,0 +1,50 @@
1
+ import * as React from 'react';
2
+ import type { ReactIconProps } from '../shared/types';
3
+ import { resolveSize } from '../shared/types';
4
+
5
+ const SvgFileText = ({ 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="M3.87868 1.87868C4.44129 1.31607 5.20435 1 6 1H14.5C14.7652 1 15.0196 1.10536 15.2071 1.29289L20.7071 6.79289C20.8946 6.98043 21 7.23478 21 7.5V20C21 20.7957 20.6839 21.5587 20.1213 22.1213C19.5587 22.6839 18.7957 23 18 23H6C5.20435 23 4.44129 22.6839 3.87868 22.1213C3.31607 21.5587 3 20.7957 3 20V4C3 3.20435 3.31607 2.44129 3.87868 1.87868ZM6 3C5.73478 3 5.48043 3.10536 5.29289 3.29289C5.10536 3.48043 5 3.73478 5 4V20C5 20.2652 5.10536 20.5196 5.29289 20.7071C5.48043 20.8946 5.73478 21 6 21H18C18.2652 21 18.5196 20.8946 18.7071 20.7071C18.8946 20.5196 19 20.2652 19 20V7.91421L14.0858 3H6Z"
20
+ fill="currentColor"
21
+ />
22
+ <path
23
+ fillRule="evenodd"
24
+ clipRule="evenodd"
25
+ d="M14 1C14.5523 1 15 1.44772 15 2V7H20C20.5523 7 21 7.44772 21 8C21 8.55228 20.5523 9 20 9H14C13.4477 9 13 8.55228 13 8V2C13 1.44772 13.4477 1 14 1Z"
26
+ fill="currentColor"
27
+ />
28
+ <path
29
+ fillRule="evenodd"
30
+ clipRule="evenodd"
31
+ d="M7 13C7 12.4477 7.44772 12 8 12H16C16.5523 12 17 12.4477 17 13C17 13.5523 16.5523 14 16 14H8C7.44772 14 7 13.5523 7 13Z"
32
+ fill="currentColor"
33
+ />
34
+ <path
35
+ fillRule="evenodd"
36
+ clipRule="evenodd"
37
+ d="M7 17C7 16.4477 7.44772 16 8 16H16C16.5523 16 17 16.4477 17 17C17 17.5523 16.5523 18 16 18H8C7.44772 18 7 17.5523 7 17Z"
38
+ fill="currentColor"
39
+ />
40
+ <path
41
+ fillRule="evenodd"
42
+ clipRule="evenodd"
43
+ d="M7 9C7 8.44772 7.44772 8 8 8H10C10.5523 8 11 8.44772 11 9C11 9.55228 10.5523 10 10 10H8C7.44772 10 7 9.55228 7 9Z"
44
+ fill="currentColor"
45
+ />
46
+ </svg>
47
+ );
48
+ };
49
+
50
+ export default SvgFileText;
@@ -32,6 +32,7 @@ import type { ReactIconProps } from '../shared/types';
32
32
  // Icon: file-key
33
33
  // Icon: file-lock
34
34
  // Icon: file-spreadsheet
35
+ // Icon: file-text
35
36
  // Icon: help-circle
36
37
  // Icon: home-filled
37
38
  // Icon: home-linear
@@ -59,7 +60,7 @@ import type { ReactIconProps } from '../shared/types';
59
60
  /**
60
61
  * Available icon names
61
62
  */
62
- 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' | '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';
63
64
 
64
65
  /**
65
66
  * Props for the unified Icon component
@@ -133,6 +134,8 @@ function loadIcon(name: IconName): Promise<React.ComponentType<any>> {
133
134
  return import('./FileLock').then(m => m.default);
134
135
  case 'file-spreadsheet':
135
136
  return import('./FileSpreadsheet').then(m => m.default);
137
+ case 'file-text':
138
+ return import('./FileText').then(m => m.default);
136
139
  case 'help-circle':
137
140
  return import('./HelpCircle').then(m => m.default);
138
141
  case 'home-filled':
@@ -26,6 +26,7 @@ export { default as FileCheck } from './FileCheck';
26
26
  export { default as FileKey } from './FileKey';
27
27
  export { default as FileLock } from './FileLock';
28
28
  export { default as FileSpreadsheet } from './FileSpreadsheet';
29
+ export { default as FileText } from './FileText';
29
30
  export { default as HelpCircle } from './HelpCircle';
30
31
  export { default as HomeFilled } from './HomeFilled';
31
32
  export { default as HomeLinear } from './HomeLinear';
@@ -25,6 +25,7 @@ export { default as FileCheck } from './FileCheck';
25
25
  export { default as FileKey } from './FileKey';
26
26
  export { default as FileLock } from './FileLock';
27
27
  export { default as FileSpreadsheet } from './FileSpreadsheet';
28
+ export { default as FileText } from './FileText';
28
29
  export { default as HelpCircle } from './HelpCircle';
29
30
  export { default as HomeFilled } from './HomeFilled';
30
31
  export { default as HomeLinear } from './HomeLinear';