huspy-icons 0.3.4 → 0.3.5
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 +69 -57
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +57 -53
- package/dist/fonts/HuspyIcons.ts +66 -54
- 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 +57 -53
- package/dist/native/index.js.map +1 -1
- package/dist/react/index.d.mts +10 -2
- package/dist/react/index.d.ts +10 -2
- package/dist/react/index.js +625 -397
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +558 -330
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/native/glyphMap.ts +58 -54
- package/src/react/AddNote.tsx +36 -0
- package/src/react/CheckCircle2.tsx +32 -0
- package/src/react/Icon.tsx +13 -1
- package/src/react/Notes.tsx +34 -0
- package/src/react/PencilLine.tsx +38 -0
- package/src/react/index.ts +4 -0
- package/src/react/index.tsx +4 -0
package/dist/native/index.js
CHANGED
|
@@ -56,59 +56,63 @@ var glyphMap = {
|
|
|
56
56
|
"promotion": 61708,
|
|
57
57
|
"plus": 61709,
|
|
58
58
|
"phone-linear": 61710,
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"file-
|
|
80
|
-
"file-
|
|
81
|
-
"file-
|
|
82
|
-
"file-
|
|
83
|
-
"file-
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"chevron-
|
|
94
|
-
"chevron-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"arrow-up
|
|
106
|
-
"arrow-right": 61758,
|
|
107
|
-
"arrow-left": 61759,
|
|
108
|
-
"arrow-down": 61760,
|
|
109
|
-
"arrow-
|
|
110
|
-
"arrow-
|
|
111
|
-
"
|
|
59
|
+
"pencil-line": 61711,
|
|
60
|
+
"payments": 61712,
|
|
61
|
+
"notes": 61713,
|
|
62
|
+
"note": 61714,
|
|
63
|
+
"mortgage": 61715,
|
|
64
|
+
"more-horizontal": 61716,
|
|
65
|
+
"map-pin": 61717,
|
|
66
|
+
"mail": 61718,
|
|
67
|
+
"logout": 61719,
|
|
68
|
+
"lock": 61720,
|
|
69
|
+
"leads-linear": 61721,
|
|
70
|
+
"leads-filled": 61722,
|
|
71
|
+
"keys_01": 61723,
|
|
72
|
+
"info": 61724,
|
|
73
|
+
"icon-slot": 61725,
|
|
74
|
+
"home-linear": 61726,
|
|
75
|
+
"home-filled": 61727,
|
|
76
|
+
"help-circle": 61728,
|
|
77
|
+
"fingerprint-android": 61729,
|
|
78
|
+
"filter": 61730,
|
|
79
|
+
"file-text": 61731,
|
|
80
|
+
"file-spreadsheet": 61732,
|
|
81
|
+
"file-signature": 61733,
|
|
82
|
+
"file-lock": 61734,
|
|
83
|
+
"file-key": 61735,
|
|
84
|
+
"file-input": 61736,
|
|
85
|
+
"file-check": 61737,
|
|
86
|
+
"face-id": 61738,
|
|
87
|
+
"eye-visible": 61739,
|
|
88
|
+
"eye-hidden": 61740,
|
|
89
|
+
"explore-linear": 61741,
|
|
90
|
+
"explore-filled": 61742,
|
|
91
|
+
"edit": 61743,
|
|
92
|
+
"collections": 61744,
|
|
93
|
+
"chevron-up": 61745,
|
|
94
|
+
"chevron-right": 61746,
|
|
95
|
+
"chevron-left": 61747,
|
|
96
|
+
"chevron-down": 61748,
|
|
97
|
+
"check": 61749,
|
|
98
|
+
"check-circle-2": 61750,
|
|
99
|
+
"cancel": 61751,
|
|
100
|
+
"cancel-circle-solid": 61752,
|
|
101
|
+
"calendar": 61753,
|
|
102
|
+
"building": 61754,
|
|
103
|
+
"bell": 61755,
|
|
104
|
+
"bed-double": 61756,
|
|
105
|
+
"arrow-up": 61757,
|
|
106
|
+
"arrow-up-right": 61758,
|
|
107
|
+
"arrow-up-left": 61759,
|
|
108
|
+
"arrow-up-down": 61760,
|
|
109
|
+
"arrow-right": 61761,
|
|
110
|
+
"arrow-left": 61762,
|
|
111
|
+
"arrow-down": 61763,
|
|
112
|
+
"arrow-down-right": 61764,
|
|
113
|
+
"arrow-down-left": 61765,
|
|
114
|
+
"alert-triangle": 61766,
|
|
115
|
+
"add-note": 61767
|
|
112
116
|
};
|
|
113
117
|
var fontFamily = "HuspyIcons";
|
|
114
118
|
|
package/dist/native/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/native/index.ts","../../src/native/Icon.tsx","../../src/native/glyphMap.ts"],"sourcesContent":["/**\n * Huspy Icons - React Native (Font-based)\n * \n * This package provides icon components for React Native using a custom font.\n * \n * @example\n * ```tsx\n * import { Icon } from 'huspy-icons/native';\n * \n * function MyComponent() {\n * return <Icon name=\"arrow-left\" size={24} color=\"#000\" />;\n * }\n * ```\n */\n\nexport { default as Icon } from './Icon';\nexport type { IconProps, IconName } from './Icon';\nexport { glyphMap, fontFamily } from './glyphMap';\n\n","import * as React from 'react';\nimport { Text, TextProps } from 'react-native';\nimport { glyphMap, fontFamily, IconName } from './glyphMap';\n\n/**\n * Props for the Icon component (React Native)\n */\nexport interface IconProps extends Omit<TextProps, 'children'> {\n /**\n * Name of the icon to display\n */\n name: IconName;\n\n /**\n * Size of the icon (default: 16)\n */\n size?: number;\n\n /**\n * Color of the icon (default: inherits from parent or 'black')\n */\n color?: string;\n}\n\n/**\n * Icon component for React Native\n *\n * Renders icons using a custom font (HuspyIcons)\n *\n * @example\n * ```tsx\n * <Icon name=\"arrow-left\" size={24} color=\"#000\" />\n * ```\n */\nconst Icon = ({ name, size = 16, color = '#000', style, ...props }: IconProps) => {\n const codepoint = glyphMap[name];\n\n if (!codepoint) {\n if (__DEV__) {\n console.warn(`Icon \"${name}\" not found in HuspyIcons font`);\n }\n return null;\n }\n\n // Convert codepoint to character\n const glyph = String.fromCharCode(codepoint);\n\n return (\n <Text\n {...props}\n style={[\n {\n fontFamily: fontFamily,\n fontSize: size,\n color: color,\n // Ensure icon doesn't inherit text styles\n fontWeight: 'normal',\n fontStyle: 'normal',\n // Prevent text selection and ensure proper rendering\n includeFontPadding: false, // Android: removes extra padding\n textAlignVertical: 'center', // Android: centers the glyph vertically\n },\n style,\n ]}\n // Accessibility\n accessible\n accessibilityLabel={props.accessibilityLabel || name}\n accessibilityRole=\"image\"\n >\n {glyph}\n </Text>\n );\n};\n\nexport default Icon;\nexport type { IconName };\n","// Auto-generated by generate-font.js - do not edit manually\n// Source: icons-src/*.svg → dist/fonts/HuspyIcons.*\n\n/**\n * Available icon names in the HuspyIcons font\n */\nexport type IconName = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'phone-linear' | 'payments' | 'note' | 'mortgage' | 'more-horizontal' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'info' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'filter' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-input' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'collections' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'calendar' | 'building' | 'bell' | 'bed-double' | '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';\n\n/**\n * Mapping of icon names to unicode codepoints\n * Used by the Icon component to render the correct glyph\n */\nexport const glyphMap: Record<IconName, number> = {\n \"whatsapp\": 61697,\n \"user\": 61698,\n \"trash-2\": 61699,\n \"size-3d\": 61700,\n \"share\": 61701,\n \"search\": 61702,\n \"search-x\": 61703,\n \"sale\": 61704,\n \"rent\": 61705,\n \"properties-linear\": 61706,\n \"properties-filled\": 61707,\n \"promotion\": 61708,\n \"plus\": 61709,\n \"phone-linear\": 61710,\n \"
|
|
1
|
+
{"version":3,"sources":["../../src/native/index.ts","../../src/native/Icon.tsx","../../src/native/glyphMap.ts"],"sourcesContent":["/**\n * Huspy Icons - React Native (Font-based)\n * \n * This package provides icon components for React Native using a custom font.\n * \n * @example\n * ```tsx\n * import { Icon } from 'huspy-icons/native';\n * \n * function MyComponent() {\n * return <Icon name=\"arrow-left\" size={24} color=\"#000\" />;\n * }\n * ```\n */\n\nexport { default as Icon } from './Icon';\nexport type { IconProps, IconName } from './Icon';\nexport { glyphMap, fontFamily } from './glyphMap';\n\n","import * as React from 'react';\nimport { Text, TextProps } from 'react-native';\nimport { glyphMap, fontFamily, IconName } from './glyphMap';\n\n/**\n * Props for the Icon component (React Native)\n */\nexport interface IconProps extends Omit<TextProps, 'children'> {\n /**\n * Name of the icon to display\n */\n name: IconName;\n\n /**\n * Size of the icon (default: 16)\n */\n size?: number;\n\n /**\n * Color of the icon (default: inherits from parent or 'black')\n */\n color?: string;\n}\n\n/**\n * Icon component for React Native\n *\n * Renders icons using a custom font (HuspyIcons)\n *\n * @example\n * ```tsx\n * <Icon name=\"arrow-left\" size={24} color=\"#000\" />\n * ```\n */\nconst Icon = ({ name, size = 16, color = '#000', style, ...props }: IconProps) => {\n const codepoint = glyphMap[name];\n\n if (!codepoint) {\n if (__DEV__) {\n console.warn(`Icon \"${name}\" not found in HuspyIcons font`);\n }\n return null;\n }\n\n // Convert codepoint to character\n const glyph = String.fromCharCode(codepoint);\n\n return (\n <Text\n {...props}\n style={[\n {\n fontFamily: fontFamily,\n fontSize: size,\n color: color,\n // Ensure icon doesn't inherit text styles\n fontWeight: 'normal',\n fontStyle: 'normal',\n // Prevent text selection and ensure proper rendering\n includeFontPadding: false, // Android: removes extra padding\n textAlignVertical: 'center', // Android: centers the glyph vertically\n },\n style,\n ]}\n // Accessibility\n accessible\n accessibilityLabel={props.accessibilityLabel || name}\n accessibilityRole=\"image\"\n >\n {glyph}\n </Text>\n );\n};\n\nexport default Icon;\nexport type { IconName };\n","// Auto-generated by generate-font.js - do not edit manually\n// Source: icons-src/*.svg → dist/fonts/HuspyIcons.*\n\n/**\n * Available icon names in the HuspyIcons font\n */\nexport type IconName = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'phone-linear' | 'pencil-line' | 'payments' | 'notes' | 'note' | 'mortgage' | 'more-horizontal' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'info' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'filter' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-input' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'collections' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'check-circle-2' | 'cancel' | 'cancel-circle-solid' | 'calendar' | 'building' | 'bell' | 'bed-double' | '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' | 'add-note';\n\n/**\n * Mapping of icon names to unicode codepoints\n * Used by the Icon component to render the correct glyph\n */\nexport const glyphMap: Record<IconName, number> = {\n \"whatsapp\": 61697,\n \"user\": 61698,\n \"trash-2\": 61699,\n \"size-3d\": 61700,\n \"share\": 61701,\n \"search\": 61702,\n \"search-x\": 61703,\n \"sale\": 61704,\n \"rent\": 61705,\n \"properties-linear\": 61706,\n \"properties-filled\": 61707,\n \"promotion\": 61708,\n \"plus\": 61709,\n \"phone-linear\": 61710,\n \"pencil-line\": 61711,\n \"payments\": 61712,\n \"notes\": 61713,\n \"note\": 61714,\n \"mortgage\": 61715,\n \"more-horizontal\": 61716,\n \"map-pin\": 61717,\n \"mail\": 61718,\n \"logout\": 61719,\n \"lock\": 61720,\n \"leads-linear\": 61721,\n \"leads-filled\": 61722,\n \"keys_01\": 61723,\n \"info\": 61724,\n \"icon-slot\": 61725,\n \"home-linear\": 61726,\n \"home-filled\": 61727,\n \"help-circle\": 61728,\n \"fingerprint-android\": 61729,\n \"filter\": 61730,\n \"file-text\": 61731,\n \"file-spreadsheet\": 61732,\n \"file-signature\": 61733,\n \"file-lock\": 61734,\n \"file-key\": 61735,\n \"file-input\": 61736,\n \"file-check\": 61737,\n \"face-id\": 61738,\n \"eye-visible\": 61739,\n \"eye-hidden\": 61740,\n \"explore-linear\": 61741,\n \"explore-filled\": 61742,\n \"edit\": 61743,\n \"collections\": 61744,\n \"chevron-up\": 61745,\n \"chevron-right\": 61746,\n \"chevron-left\": 61747,\n \"chevron-down\": 61748,\n \"check\": 61749,\n \"check-circle-2\": 61750,\n \"cancel\": 61751,\n \"cancel-circle-solid\": 61752,\n \"calendar\": 61753,\n \"building\": 61754,\n \"bell\": 61755,\n \"bed-double\": 61756,\n \"arrow-up\": 61757,\n \"arrow-up-right\": 61758,\n \"arrow-up-left\": 61759,\n \"arrow-up-down\": 61760,\n \"arrow-right\": 61761,\n \"arrow-left\": 61762,\n \"arrow-down\": 61763,\n \"arrow-down-right\": 61764,\n \"arrow-down-left\": 61765,\n \"alert-triangle\": 61766,\n \"add-note\": 61767\n};\n\n/**\n * Font family name for React Native\n */\nexport const fontFamily = 'HuspyIcons';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,YAAuB;AACvB,0BAAgC;;;ACWzB,IAAM,WAAqC;AAAA,EAChD,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,WAAW;AAAA,EACX,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,eAAe;AAAA,EACf,eAAe;AAAA,EACf,eAAe;AAAA,EACf,uBAAuB;AAAA,EACvB,UAAU;AAAA,EACV,aAAa;AAAA,EACb,oBAAoB;AAAA,EACpB,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,cAAc;AAAA,EACd,WAAW;AAAA,EACX,eAAe;AAAA,EACf,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,cAAc;AAAA,EACd,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,UAAU;AAAA,EACV,uBAAuB;AAAA,EACvB,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,cAAc;AAAA,EACd,cAAc;AAAA,EACd,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,YAAY;AACd;AAKO,IAAM,aAAa;;;ADvD1B,IAAM,OAAO,CAAC,EAAE,MAAM,OAAO,IAAI,QAAQ,QAAQ,OAAO,GAAG,MAAM,MAAiB;AAChF,QAAM,YAAY,SAAS,IAAI;AAE/B,MAAI,CAAC,WAAW;AACd,QAAI,SAAS;AACX,cAAQ,KAAK,SAAS,IAAI,gCAAgC;AAAA,IAC5D;AACA,WAAO;AAAA,EACT;AAGA,QAAM,QAAQ,OAAO,aAAa,SAAS;AAE3C,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,OAAO;AAAA,QACL;AAAA,UACE;AAAA,UACA,UAAU;AAAA,UACV;AAAA;AAAA,UAEA,YAAY;AAAA,UACZ,WAAW;AAAA;AAAA,UAEX,oBAAoB;AAAA;AAAA,UACpB,mBAAmB;AAAA;AAAA,QACrB;AAAA,QACA;AAAA,MACF;AAAA,MAEA,YAAU;AAAA,MACV,oBAAoB,MAAM,sBAAsB;AAAA,MAChD,mBAAkB;AAAA;AAAA,IAEjB;AAAA,EACH;AAEJ;AAEA,IAAO,eAAQ;","names":[]}
|
package/dist/react/index.d.mts
CHANGED
|
@@ -28,6 +28,8 @@ interface ReactIconProps extends React.SVGProps<SVGSVGElement> {
|
|
|
28
28
|
*/
|
|
29
29
|
declare function resolveSize(size?: IconSize): number;
|
|
30
30
|
|
|
31
|
+
declare const SvgAddNote: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
32
|
+
|
|
31
33
|
declare const SvgAlertTriangle: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
32
34
|
|
|
33
35
|
declare const SvgArrowDown: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -62,6 +64,8 @@ declare const SvgCancelCircleSolid: ({ size, ...props }: ReactIconProps) => Reac
|
|
|
62
64
|
|
|
63
65
|
declare const SvgCheck: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
64
66
|
|
|
67
|
+
declare const SvgCheckCircle2: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
68
|
+
|
|
65
69
|
declare const SvgChevronDown: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
66
70
|
|
|
67
71
|
declare const SvgChevronLeft: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -132,8 +136,12 @@ declare const SvgMortgage: ({ size, ...props }: ReactIconProps) => React$1.JSX.E
|
|
|
132
136
|
|
|
133
137
|
declare const SvgNote: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
134
138
|
|
|
139
|
+
declare const SvgNotes: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
140
|
+
|
|
135
141
|
declare const SvgPayments: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
136
142
|
|
|
143
|
+
declare const SvgPencilLine: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
144
|
+
|
|
137
145
|
declare const SvgPhoneLinear: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
138
146
|
|
|
139
147
|
declare const SvgPlus: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -169,7 +177,7 @@ declare const SvgWhatsapp: ({ size, ...props }: ReactIconProps) => React$1.JSX.E
|
|
|
169
177
|
/**
|
|
170
178
|
* Available icon names
|
|
171
179
|
*/
|
|
172
|
-
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' | 'bed-double' | 'bell' | 'building' | 'calendar' | 'cancel' | 'cancel-circle-solid' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'collections' | 'edit' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'face-id' | 'file-check' | 'file-input' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'filter' | 'fingerprint-android' | 'help-circle' | 'home-filled' | 'home-linear' | 'icon-slot' | 'info' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lock' | 'logout' | 'mail' | 'map-pin' | 'more-horizontal' | 'mortgage' | 'note' | 'payments' | 'phone-linear' | 'plus' | 'promotion' | 'properties-filled' | 'properties-linear' | 'rent' | 'sale' | 'search' | 'search-x' | 'share' | 'size3d' | 'trash2' | 'user' | 'whatsapp';
|
|
180
|
+
type IconName = 'add-note' | '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' | 'bed-double' | 'bell' | 'building' | 'calendar' | 'cancel' | 'cancel-circle-solid' | 'check' | 'check-circle2' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'collections' | 'edit' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'face-id' | 'file-check' | 'file-input' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'filter' | 'fingerprint-android' | 'help-circle' | 'home-filled' | 'home-linear' | 'icon-slot' | 'info' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lock' | 'logout' | 'mail' | 'map-pin' | 'more-horizontal' | 'mortgage' | 'note' | 'notes' | 'payments' | 'pencil-line' | 'phone-linear' | 'plus' | 'promotion' | 'properties-filled' | 'properties-linear' | 'rent' | 'sale' | 'search' | 'search-x' | 'share' | 'size3d' | 'trash2' | 'user' | 'whatsapp';
|
|
173
181
|
/**
|
|
174
182
|
* Props for the unified Icon component
|
|
175
183
|
*/
|
|
@@ -184,4 +192,4 @@ interface IconProps extends Omit<ReactIconProps, 'size'> {
|
|
|
184
192
|
*/
|
|
185
193
|
declare const Icon: ({ name, size, color, ...props }: IconProps) => React$1.JSX.Element | null;
|
|
186
194
|
|
|
187
|
-
export { SvgAlertTriangle as AlertTriangle, SvgArrowDown as ArrowDown, SvgArrowDownLeft as ArrowDownLeft, SvgArrowDownRight as ArrowDownRight, SvgArrowLeft as ArrowLeft, SvgArrowRight as ArrowRight, SvgArrowUp as ArrowUp, SvgArrowUpDown as ArrowUpDown, SvgArrowUpLeft as ArrowUpLeft, SvgArrowUpRight as ArrowUpRight, SvgBedDouble as BedDouble, SvgBell as Bell, SvgBuilding as Building, SvgCalendar as Calendar, SvgCancel as Cancel, SvgCancelCircleSolid as CancelCircleSolid, SvgCheck as Check, SvgChevronDown as ChevronDown, SvgChevronLeft as ChevronLeft, SvgChevronRight as ChevronRight, SvgChevronUp as ChevronUp, SvgCollections as Collections, SvgEdit as Edit, SvgExploreFilled as ExploreFilled, SvgExploreLinear as ExploreLinear, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, SvgFaceId as FaceId, SvgFileCheck as FileCheck, SvgFileInput as FileInput, SvgFileKey as FileKey, SvgFileLock as FileLock, SvgFileSignature as FileSignature, SvgFileSpreadsheet as FileSpreadsheet, SvgFileText as FileText, SvgFilter as Filter, SvgFingerprintAndroid as FingerprintAndroid, SvgHelpCircle as HelpCircle, SvgHomeFilled as HomeFilled, SvgHomeLinear as HomeLinear, ICON_SIZES, Icon, type IconName, type IconProps, type IconSize, type IconSizeToken, SvgIconSlot as IconSlot, SvgInfo as Info, SvgKeys01 as Keys01, SvgLeadsFilled as LeadsFilled, SvgLeadsLinear as LeadsLinear, SvgLock as Lock, SvgLogout as Logout, SvgMail as Mail, SvgMapPin as MapPin, SvgMoreHorizontal as MoreHorizontal, SvgMortgage as Mortgage, SvgNote as Note, SvgPayments as Payments, SvgPhoneLinear as PhoneLinear, SvgPlus as Plus, SvgPromotion as Promotion, SvgPropertiesFilled as PropertiesFilled, SvgPropertiesLinear as PropertiesLinear, type ReactIconProps, SvgRent as Rent, SvgSale as Sale, SvgSearch as Search, SvgSearchX as SearchX, SvgShare as Share, SvgSize3D as Size3D, SvgTrash2 as Trash2, SvgUser as User, SvgWhatsapp as Whatsapp, resolveSize };
|
|
195
|
+
export { SvgAddNote as AddNote, SvgAlertTriangle as AlertTriangle, SvgArrowDown as ArrowDown, SvgArrowDownLeft as ArrowDownLeft, SvgArrowDownRight as ArrowDownRight, SvgArrowLeft as ArrowLeft, SvgArrowRight as ArrowRight, SvgArrowUp as ArrowUp, SvgArrowUpDown as ArrowUpDown, SvgArrowUpLeft as ArrowUpLeft, SvgArrowUpRight as ArrowUpRight, SvgBedDouble as BedDouble, SvgBell as Bell, SvgBuilding as Building, SvgCalendar as Calendar, SvgCancel as Cancel, SvgCancelCircleSolid as CancelCircleSolid, SvgCheck as Check, SvgCheckCircle2 as CheckCircle2, SvgChevronDown as ChevronDown, SvgChevronLeft as ChevronLeft, SvgChevronRight as ChevronRight, SvgChevronUp as ChevronUp, SvgCollections as Collections, SvgEdit as Edit, SvgExploreFilled as ExploreFilled, SvgExploreLinear as ExploreLinear, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, SvgFaceId as FaceId, SvgFileCheck as FileCheck, SvgFileInput as FileInput, SvgFileKey as FileKey, SvgFileLock as FileLock, SvgFileSignature as FileSignature, SvgFileSpreadsheet as FileSpreadsheet, SvgFileText as FileText, SvgFilter as Filter, SvgFingerprintAndroid as FingerprintAndroid, SvgHelpCircle as HelpCircle, SvgHomeFilled as HomeFilled, SvgHomeLinear as HomeLinear, ICON_SIZES, Icon, type IconName, type IconProps, type IconSize, type IconSizeToken, SvgIconSlot as IconSlot, SvgInfo as Info, SvgKeys01 as Keys01, SvgLeadsFilled as LeadsFilled, SvgLeadsLinear as LeadsLinear, SvgLock as Lock, SvgLogout as Logout, SvgMail as Mail, SvgMapPin as MapPin, SvgMoreHorizontal as MoreHorizontal, SvgMortgage as Mortgage, SvgNote as Note, SvgNotes as Notes, SvgPayments as Payments, SvgPencilLine as PencilLine, SvgPhoneLinear as PhoneLinear, SvgPlus as Plus, SvgPromotion as Promotion, SvgPropertiesFilled as PropertiesFilled, SvgPropertiesLinear as PropertiesLinear, type ReactIconProps, SvgRent as Rent, SvgSale as Sale, SvgSearch as Search, SvgSearchX as SearchX, SvgShare as Share, SvgSize3D as Size3D, SvgTrash2 as Trash2, SvgUser as User, SvgWhatsapp as Whatsapp, resolveSize };
|
package/dist/react/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ interface ReactIconProps extends React.SVGProps<SVGSVGElement> {
|
|
|
28
28
|
*/
|
|
29
29
|
declare function resolveSize(size?: IconSize): number;
|
|
30
30
|
|
|
31
|
+
declare const SvgAddNote: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
32
|
+
|
|
31
33
|
declare const SvgAlertTriangle: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
32
34
|
|
|
33
35
|
declare const SvgArrowDown: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -62,6 +64,8 @@ declare const SvgCancelCircleSolid: ({ size, ...props }: ReactIconProps) => Reac
|
|
|
62
64
|
|
|
63
65
|
declare const SvgCheck: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
64
66
|
|
|
67
|
+
declare const SvgCheckCircle2: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
68
|
+
|
|
65
69
|
declare const SvgChevronDown: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
66
70
|
|
|
67
71
|
declare const SvgChevronLeft: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -132,8 +136,12 @@ declare const SvgMortgage: ({ size, ...props }: ReactIconProps) => React$1.JSX.E
|
|
|
132
136
|
|
|
133
137
|
declare const SvgNote: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
134
138
|
|
|
139
|
+
declare const SvgNotes: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
140
|
+
|
|
135
141
|
declare const SvgPayments: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
136
142
|
|
|
143
|
+
declare const SvgPencilLine: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
144
|
+
|
|
137
145
|
declare const SvgPhoneLinear: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
138
146
|
|
|
139
147
|
declare const SvgPlus: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -169,7 +177,7 @@ declare const SvgWhatsapp: ({ size, ...props }: ReactIconProps) => React$1.JSX.E
|
|
|
169
177
|
/**
|
|
170
178
|
* Available icon names
|
|
171
179
|
*/
|
|
172
|
-
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' | 'bed-double' | 'bell' | 'building' | 'calendar' | 'cancel' | 'cancel-circle-solid' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'collections' | 'edit' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'face-id' | 'file-check' | 'file-input' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'filter' | 'fingerprint-android' | 'help-circle' | 'home-filled' | 'home-linear' | 'icon-slot' | 'info' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lock' | 'logout' | 'mail' | 'map-pin' | 'more-horizontal' | 'mortgage' | 'note' | 'payments' | 'phone-linear' | 'plus' | 'promotion' | 'properties-filled' | 'properties-linear' | 'rent' | 'sale' | 'search' | 'search-x' | 'share' | 'size3d' | 'trash2' | 'user' | 'whatsapp';
|
|
180
|
+
type IconName = 'add-note' | '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' | 'bed-double' | 'bell' | 'building' | 'calendar' | 'cancel' | 'cancel-circle-solid' | 'check' | 'check-circle2' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'collections' | 'edit' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'face-id' | 'file-check' | 'file-input' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'filter' | 'fingerprint-android' | 'help-circle' | 'home-filled' | 'home-linear' | 'icon-slot' | 'info' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lock' | 'logout' | 'mail' | 'map-pin' | 'more-horizontal' | 'mortgage' | 'note' | 'notes' | 'payments' | 'pencil-line' | 'phone-linear' | 'plus' | 'promotion' | 'properties-filled' | 'properties-linear' | 'rent' | 'sale' | 'search' | 'search-x' | 'share' | 'size3d' | 'trash2' | 'user' | 'whatsapp';
|
|
173
181
|
/**
|
|
174
182
|
* Props for the unified Icon component
|
|
175
183
|
*/
|
|
@@ -184,4 +192,4 @@ interface IconProps extends Omit<ReactIconProps, 'size'> {
|
|
|
184
192
|
*/
|
|
185
193
|
declare const Icon: ({ name, size, color, ...props }: IconProps) => React$1.JSX.Element | null;
|
|
186
194
|
|
|
187
|
-
export { SvgAlertTriangle as AlertTriangle, SvgArrowDown as ArrowDown, SvgArrowDownLeft as ArrowDownLeft, SvgArrowDownRight as ArrowDownRight, SvgArrowLeft as ArrowLeft, SvgArrowRight as ArrowRight, SvgArrowUp as ArrowUp, SvgArrowUpDown as ArrowUpDown, SvgArrowUpLeft as ArrowUpLeft, SvgArrowUpRight as ArrowUpRight, SvgBedDouble as BedDouble, SvgBell as Bell, SvgBuilding as Building, SvgCalendar as Calendar, SvgCancel as Cancel, SvgCancelCircleSolid as CancelCircleSolid, SvgCheck as Check, SvgChevronDown as ChevronDown, SvgChevronLeft as ChevronLeft, SvgChevronRight as ChevronRight, SvgChevronUp as ChevronUp, SvgCollections as Collections, SvgEdit as Edit, SvgExploreFilled as ExploreFilled, SvgExploreLinear as ExploreLinear, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, SvgFaceId as FaceId, SvgFileCheck as FileCheck, SvgFileInput as FileInput, SvgFileKey as FileKey, SvgFileLock as FileLock, SvgFileSignature as FileSignature, SvgFileSpreadsheet as FileSpreadsheet, SvgFileText as FileText, SvgFilter as Filter, SvgFingerprintAndroid as FingerprintAndroid, SvgHelpCircle as HelpCircle, SvgHomeFilled as HomeFilled, SvgHomeLinear as HomeLinear, ICON_SIZES, Icon, type IconName, type IconProps, type IconSize, type IconSizeToken, SvgIconSlot as IconSlot, SvgInfo as Info, SvgKeys01 as Keys01, SvgLeadsFilled as LeadsFilled, SvgLeadsLinear as LeadsLinear, SvgLock as Lock, SvgLogout as Logout, SvgMail as Mail, SvgMapPin as MapPin, SvgMoreHorizontal as MoreHorizontal, SvgMortgage as Mortgage, SvgNote as Note, SvgPayments as Payments, SvgPhoneLinear as PhoneLinear, SvgPlus as Plus, SvgPromotion as Promotion, SvgPropertiesFilled as PropertiesFilled, SvgPropertiesLinear as PropertiesLinear, type ReactIconProps, SvgRent as Rent, SvgSale as Sale, SvgSearch as Search, SvgSearchX as SearchX, SvgShare as Share, SvgSize3D as Size3D, SvgTrash2 as Trash2, SvgUser as User, SvgWhatsapp as Whatsapp, resolveSize };
|
|
195
|
+
export { SvgAddNote as AddNote, SvgAlertTriangle as AlertTriangle, SvgArrowDown as ArrowDown, SvgArrowDownLeft as ArrowDownLeft, SvgArrowDownRight as ArrowDownRight, SvgArrowLeft as ArrowLeft, SvgArrowRight as ArrowRight, SvgArrowUp as ArrowUp, SvgArrowUpDown as ArrowUpDown, SvgArrowUpLeft as ArrowUpLeft, SvgArrowUpRight as ArrowUpRight, SvgBedDouble as BedDouble, SvgBell as Bell, SvgBuilding as Building, SvgCalendar as Calendar, SvgCancel as Cancel, SvgCancelCircleSolid as CancelCircleSolid, SvgCheck as Check, SvgCheckCircle2 as CheckCircle2, SvgChevronDown as ChevronDown, SvgChevronLeft as ChevronLeft, SvgChevronRight as ChevronRight, SvgChevronUp as ChevronUp, SvgCollections as Collections, SvgEdit as Edit, SvgExploreFilled as ExploreFilled, SvgExploreLinear as ExploreLinear, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, SvgFaceId as FaceId, SvgFileCheck as FileCheck, SvgFileInput as FileInput, SvgFileKey as FileKey, SvgFileLock as FileLock, SvgFileSignature as FileSignature, SvgFileSpreadsheet as FileSpreadsheet, SvgFileText as FileText, SvgFilter as Filter, SvgFingerprintAndroid as FingerprintAndroid, SvgHelpCircle as HelpCircle, SvgHomeFilled as HomeFilled, SvgHomeLinear as HomeLinear, ICON_SIZES, Icon, type IconName, type IconProps, type IconSize, type IconSizeToken, SvgIconSlot as IconSlot, SvgInfo as Info, SvgKeys01 as Keys01, SvgLeadsFilled as LeadsFilled, SvgLeadsLinear as LeadsLinear, SvgLock as Lock, SvgLogout as Logout, SvgMail as Mail, SvgMapPin as MapPin, SvgMoreHorizontal as MoreHorizontal, SvgMortgage as Mortgage, SvgNote as Note, SvgNotes as Notes, SvgPayments as Payments, SvgPencilLine as PencilLine, SvgPhoneLinear as PhoneLinear, SvgPlus as Plus, SvgPromotion as Promotion, SvgPropertiesFilled as PropertiesFilled, SvgPropertiesLinear as PropertiesLinear, type ReactIconProps, SvgRent as Rent, SvgSale as Sale, SvgSearch as Search, SvgSearchX as SearchX, SvgShare as Share, SvgSize3D as Size3D, SvgTrash2 as Trash2, SvgUser as User, SvgWhatsapp as Whatsapp, resolveSize };
|