huspy-icons 0.3.0 → 0.3.2
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 +74 -53
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +56 -49
- package/dist/fonts/HuspyIcons.ts +70 -49
- 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 +56 -49
- package/dist/native/index.js.map +1 -1
- package/dist/react/index.d.mts +16 -2
- package/dist/react/index.d.ts +16 -2
- package/dist/react/index.js +752 -242
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +710 -200
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/native/glyphMap.ts +57 -50
- package/src/react/BedDouble.tsx +44 -0
- package/src/react/Building.tsx +86 -0
- package/src/react/FaceId.tsx +52 -0
- package/src/react/FingerprintAndroid.tsx +24 -0
- package/src/react/Icon.tsx +22 -1
- package/src/react/MapPin.tsx +32 -0
- package/src/react/Sale.tsx +38 -0
- package/src/react/Size3D.tsx +44 -0
- package/src/react/index.ts +7 -0
- package/src/react/index.tsx +7 -0
package/dist/native/index.js
CHANGED
|
@@ -45,55 +45,62 @@ var glyphMap = {
|
|
|
45
45
|
"whatsapp": 61697,
|
|
46
46
|
"user": 61698,
|
|
47
47
|
"trash-2": 61699,
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"search
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"file-
|
|
73
|
-
"file-
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"arrow-
|
|
95
|
-
"arrow-
|
|
96
|
-
"
|
|
48
|
+
"size-3d": 61700,
|
|
49
|
+
"share": 61701,
|
|
50
|
+
"search": 61702,
|
|
51
|
+
"search-x": 61703,
|
|
52
|
+
"sale": 61704,
|
|
53
|
+
"rent": 61705,
|
|
54
|
+
"properties-linear": 61706,
|
|
55
|
+
"properties-filled": 61707,
|
|
56
|
+
"plus": 61708,
|
|
57
|
+
"payments": 61709,
|
|
58
|
+
"note": 61710,
|
|
59
|
+
"mortgage": 61711,
|
|
60
|
+
"map-pin": 61712,
|
|
61
|
+
"mail": 61713,
|
|
62
|
+
"logout": 61714,
|
|
63
|
+
"lock": 61715,
|
|
64
|
+
"leads-linear": 61716,
|
|
65
|
+
"leads-filled": 61717,
|
|
66
|
+
"keys_01": 61718,
|
|
67
|
+
"icon-slot": 61719,
|
|
68
|
+
"home-linear": 61720,
|
|
69
|
+
"home-filled": 61721,
|
|
70
|
+
"help-circle": 61722,
|
|
71
|
+
"fingerprint-android": 61723,
|
|
72
|
+
"file-text": 61724,
|
|
73
|
+
"file-spreadsheet": 61725,
|
|
74
|
+
"file-signature": 61726,
|
|
75
|
+
"file-lock": 61727,
|
|
76
|
+
"file-key": 61728,
|
|
77
|
+
"file-check": 61729,
|
|
78
|
+
"face-id": 61730,
|
|
79
|
+
"eye-visible": 61731,
|
|
80
|
+
"eye-hidden": 61732,
|
|
81
|
+
"explore-linear": 61733,
|
|
82
|
+
"explore-filled": 61734,
|
|
83
|
+
"edit": 61735,
|
|
84
|
+
"chevron-up": 61736,
|
|
85
|
+
"chevron-right": 61737,
|
|
86
|
+
"chevron-left": 61738,
|
|
87
|
+
"chevron-down": 61739,
|
|
88
|
+
"check": 61740,
|
|
89
|
+
"cancel": 61741,
|
|
90
|
+
"cancel-circle-solid": 61742,
|
|
91
|
+
"building": 61743,
|
|
92
|
+
"bell": 61744,
|
|
93
|
+
"bed-double": 61745,
|
|
94
|
+
"arrow-up": 61746,
|
|
95
|
+
"arrow-up-right": 61747,
|
|
96
|
+
"arrow-up-left": 61748,
|
|
97
|
+
"arrow-up-down": 61749,
|
|
98
|
+
"arrow-right": 61750,
|
|
99
|
+
"arrow-left": 61751,
|
|
100
|
+
"arrow-down": 61752,
|
|
101
|
+
"arrow-down-right": 61753,
|
|
102
|
+
"arrow-down-left": 61754,
|
|
103
|
+
"alert-triangle": 61755
|
|
97
104
|
};
|
|
98
105
|
var fontFamily = "HuspyIcons";
|
|
99
106
|
|
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' | '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-signature' | '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';\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 \"
|
|
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' | 'plus' | 'payments' | 'note' | 'mortgage' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | '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 \"plus\": 61708,\n \"payments\": 61709,\n \"note\": 61710,\n \"mortgage\": 61711,\n \"map-pin\": 61712,\n \"mail\": 61713,\n \"logout\": 61714,\n \"lock\": 61715,\n \"leads-linear\": 61716,\n \"leads-filled\": 61717,\n \"keys_01\": 61718,\n \"icon-slot\": 61719,\n \"home-linear\": 61720,\n \"home-filled\": 61721,\n \"help-circle\": 61722,\n \"fingerprint-android\": 61723,\n \"file-text\": 61724,\n \"file-spreadsheet\": 61725,\n \"file-signature\": 61726,\n \"file-lock\": 61727,\n \"file-key\": 61728,\n \"file-check\": 61729,\n \"face-id\": 61730,\n \"eye-visible\": 61731,\n \"eye-hidden\": 61732,\n \"explore-linear\": 61733,\n \"explore-filled\": 61734,\n \"edit\": 61735,\n \"chevron-up\": 61736,\n \"chevron-right\": 61737,\n \"chevron-left\": 61738,\n \"chevron-down\": 61739,\n \"check\": 61740,\n \"cancel\": 61741,\n \"cancel-circle-solid\": 61742,\n \"building\": 61743,\n \"bell\": 61744,\n \"bed-double\": 61745,\n \"arrow-up\": 61746,\n \"arrow-up-right\": 61747,\n \"arrow-up-left\": 61748,\n \"arrow-up-down\": 61749,\n \"arrow-right\": 61750,\n \"arrow-left\": 61751,\n \"arrow-down\": 61752,\n \"arrow-down-right\": 61753,\n \"arrow-down-left\": 61754,\n \"alert-triangle\": 61755\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,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,aAAa;AAAA,EACb,eAAe;AAAA,EACf,eAAe;AAAA,EACf,eAAe;AAAA,EACf,uBAAuB;AAAA,EACvB,aAAa;AAAA,EACb,oBAAoB;AAAA,EACpB,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,WAAW;AAAA,EACX,eAAe;AAAA,EACf,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,UAAU;AAAA,EACV,uBAAuB;AAAA,EACvB,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;AACpB;AAKO,IAAM,aAAa;;;AD3C1B,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
|
@@ -48,8 +48,12 @@ declare const SvgArrowUpLeft: ({ size, ...props }: ReactIconProps) => React$1.JS
|
|
|
48
48
|
|
|
49
49
|
declare const SvgArrowUpRight: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
50
50
|
|
|
51
|
+
declare const SvgBedDouble: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
52
|
+
|
|
51
53
|
declare const SvgBell: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
52
54
|
|
|
55
|
+
declare const SvgBuilding: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
56
|
+
|
|
53
57
|
declare const SvgCancel: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
54
58
|
|
|
55
59
|
declare const SvgCancelCircleSolid: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -74,6 +78,8 @@ declare const SvgEyeHidden: ({ size, ...props }: ReactIconProps) => React$1.JSX.
|
|
|
74
78
|
|
|
75
79
|
declare const SvgEyeVisible: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
76
80
|
|
|
81
|
+
declare const SvgFaceId: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
82
|
+
|
|
77
83
|
declare const SvgFileCheck: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
78
84
|
|
|
79
85
|
declare const SvgFileKey: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -86,6 +92,8 @@ declare const SvgFileSpreadsheet: ({ size, ...props }: ReactIconProps) => React$
|
|
|
86
92
|
|
|
87
93
|
declare const SvgFileText: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
88
94
|
|
|
95
|
+
declare const SvgFingerprintAndroid: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
96
|
+
|
|
89
97
|
declare const SvgHelpCircle: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
90
98
|
|
|
91
99
|
declare const SvgHomeFilled: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -106,6 +114,8 @@ declare const SvgLogout: ({ size, ...props }: ReactIconProps) => React$1.JSX.Ele
|
|
|
106
114
|
|
|
107
115
|
declare const SvgMail: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
108
116
|
|
|
117
|
+
declare const SvgMapPin: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
118
|
+
|
|
109
119
|
declare const SvgMortgage: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
110
120
|
|
|
111
121
|
declare const SvgNote: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -120,12 +130,16 @@ declare const SvgPropertiesLinear: ({ size, ...props }: ReactIconProps) => React
|
|
|
120
130
|
|
|
121
131
|
declare const SvgRent: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
122
132
|
|
|
133
|
+
declare const SvgSale: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
134
|
+
|
|
123
135
|
declare const SvgSearch: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
124
136
|
|
|
125
137
|
declare const SvgSearchX: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
126
138
|
|
|
127
139
|
declare const SvgShare: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
128
140
|
|
|
141
|
+
declare const SvgSize3D: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
142
|
+
|
|
129
143
|
declare const SvgTrash2: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
130
144
|
|
|
131
145
|
declare const SvgUser: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -139,7 +153,7 @@ declare const SvgWhatsapp: ({ size, ...props }: ReactIconProps) => React$1.JSX.E
|
|
|
139
153
|
/**
|
|
140
154
|
* Available icon names
|
|
141
155
|
*/
|
|
142
|
-
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-signature' | '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';
|
|
156
|
+
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' | 'cancel' | 'cancel-circle-solid' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'edit' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'face-id' | 'file-check' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'fingerprint-android' | 'help-circle' | 'home-filled' | 'home-linear' | 'icon-slot' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lock' | 'logout' | 'mail' | 'map-pin' | 'mortgage' | 'note' | 'payments' | 'plus' | 'properties-filled' | 'properties-linear' | 'rent' | 'sale' | 'search' | 'search-x' | 'share' | 'size3d' | 'trash2' | 'user' | 'whatsapp';
|
|
143
157
|
/**
|
|
144
158
|
* Props for the unified Icon component
|
|
145
159
|
*/
|
|
@@ -154,4 +168,4 @@ interface IconProps extends Omit<ReactIconProps, 'size'> {
|
|
|
154
168
|
*/
|
|
155
169
|
declare const Icon: ({ name, size, color, ...props }: IconProps) => React$1.JSX.Element | null;
|
|
156
170
|
|
|
157
|
-
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, SvgBell as Bell, SvgCancel as Cancel, SvgCancelCircleSolid as CancelCircleSolid, SvgCheck as Check, SvgChevronDown as ChevronDown, SvgChevronLeft as ChevronLeft, SvgChevronRight as ChevronRight, SvgChevronUp as ChevronUp, SvgEdit as Edit, SvgExploreFilled as ExploreFilled, SvgExploreLinear as ExploreLinear, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, SvgFileCheck as FileCheck, SvgFileKey as FileKey, SvgFileLock as FileLock, SvgFileSignature as FileSignature, SvgFileSpreadsheet as FileSpreadsheet, SvgFileText as FileText, SvgHelpCircle as HelpCircle, SvgHomeFilled as HomeFilled, SvgHomeLinear as HomeLinear, ICON_SIZES, Icon, type IconName, type IconProps, type IconSize, type IconSizeToken, SvgIconSlot as IconSlot, SvgKeys01 as Keys01, SvgLeadsFilled as LeadsFilled, SvgLeadsLinear as LeadsLinear, SvgLock as Lock, SvgLogout as Logout, SvgMail as Mail, SvgMortgage as Mortgage, SvgNote as Note, SvgPayments as Payments, SvgPlus as Plus, SvgPropertiesFilled as PropertiesFilled, SvgPropertiesLinear as PropertiesLinear, type ReactIconProps, SvgRent as Rent, SvgSearch as Search, SvgSearchX as SearchX, SvgShare as Share, SvgTrash2 as Trash2, SvgUser as User, SvgWhatsapp as Whatsapp, resolveSize };
|
|
171
|
+
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, SvgCancel as Cancel, SvgCancelCircleSolid as CancelCircleSolid, SvgCheck as Check, SvgChevronDown as ChevronDown, SvgChevronLeft as ChevronLeft, SvgChevronRight as ChevronRight, SvgChevronUp as ChevronUp, SvgEdit as Edit, SvgExploreFilled as ExploreFilled, SvgExploreLinear as ExploreLinear, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, SvgFaceId as FaceId, SvgFileCheck as FileCheck, SvgFileKey as FileKey, SvgFileLock as FileLock, SvgFileSignature as FileSignature, SvgFileSpreadsheet as FileSpreadsheet, SvgFileText as FileText, 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, SvgKeys01 as Keys01, SvgLeadsFilled as LeadsFilled, SvgLeadsLinear as LeadsLinear, SvgLock as Lock, SvgLogout as Logout, SvgMail as Mail, SvgMapPin as MapPin, SvgMortgage as Mortgage, SvgNote as Note, SvgPayments as Payments, SvgPlus as Plus, 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
|
@@ -48,8 +48,12 @@ declare const SvgArrowUpLeft: ({ size, ...props }: ReactIconProps) => React$1.JS
|
|
|
48
48
|
|
|
49
49
|
declare const SvgArrowUpRight: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
50
50
|
|
|
51
|
+
declare const SvgBedDouble: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
52
|
+
|
|
51
53
|
declare const SvgBell: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
52
54
|
|
|
55
|
+
declare const SvgBuilding: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
56
|
+
|
|
53
57
|
declare const SvgCancel: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
54
58
|
|
|
55
59
|
declare const SvgCancelCircleSolid: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -74,6 +78,8 @@ declare const SvgEyeHidden: ({ size, ...props }: ReactIconProps) => React$1.JSX.
|
|
|
74
78
|
|
|
75
79
|
declare const SvgEyeVisible: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
76
80
|
|
|
81
|
+
declare const SvgFaceId: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
82
|
+
|
|
77
83
|
declare const SvgFileCheck: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
78
84
|
|
|
79
85
|
declare const SvgFileKey: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -86,6 +92,8 @@ declare const SvgFileSpreadsheet: ({ size, ...props }: ReactIconProps) => React$
|
|
|
86
92
|
|
|
87
93
|
declare const SvgFileText: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
88
94
|
|
|
95
|
+
declare const SvgFingerprintAndroid: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
96
|
+
|
|
89
97
|
declare const SvgHelpCircle: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
90
98
|
|
|
91
99
|
declare const SvgHomeFilled: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -106,6 +114,8 @@ declare const SvgLogout: ({ size, ...props }: ReactIconProps) => React$1.JSX.Ele
|
|
|
106
114
|
|
|
107
115
|
declare const SvgMail: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
108
116
|
|
|
117
|
+
declare const SvgMapPin: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
118
|
+
|
|
109
119
|
declare const SvgMortgage: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
110
120
|
|
|
111
121
|
declare const SvgNote: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -120,12 +130,16 @@ declare const SvgPropertiesLinear: ({ size, ...props }: ReactIconProps) => React
|
|
|
120
130
|
|
|
121
131
|
declare const SvgRent: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
122
132
|
|
|
133
|
+
declare const SvgSale: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
134
|
+
|
|
123
135
|
declare const SvgSearch: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
124
136
|
|
|
125
137
|
declare const SvgSearchX: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
126
138
|
|
|
127
139
|
declare const SvgShare: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
128
140
|
|
|
141
|
+
declare const SvgSize3D: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
142
|
+
|
|
129
143
|
declare const SvgTrash2: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
130
144
|
|
|
131
145
|
declare const SvgUser: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -139,7 +153,7 @@ declare const SvgWhatsapp: ({ size, ...props }: ReactIconProps) => React$1.JSX.E
|
|
|
139
153
|
/**
|
|
140
154
|
* Available icon names
|
|
141
155
|
*/
|
|
142
|
-
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-signature' | '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';
|
|
156
|
+
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' | 'cancel' | 'cancel-circle-solid' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'edit' | 'explore-filled' | 'explore-linear' | 'eye-hidden' | 'eye-visible' | 'face-id' | 'file-check' | 'file-key' | 'file-lock' | 'file-signature' | 'file-spreadsheet' | 'file-text' | 'fingerprint-android' | 'help-circle' | 'home-filled' | 'home-linear' | 'icon-slot' | 'keys01' | 'leads-filled' | 'leads-linear' | 'lock' | 'logout' | 'mail' | 'map-pin' | 'mortgage' | 'note' | 'payments' | 'plus' | 'properties-filled' | 'properties-linear' | 'rent' | 'sale' | 'search' | 'search-x' | 'share' | 'size3d' | 'trash2' | 'user' | 'whatsapp';
|
|
143
157
|
/**
|
|
144
158
|
* Props for the unified Icon component
|
|
145
159
|
*/
|
|
@@ -154,4 +168,4 @@ interface IconProps extends Omit<ReactIconProps, 'size'> {
|
|
|
154
168
|
*/
|
|
155
169
|
declare const Icon: ({ name, size, color, ...props }: IconProps) => React$1.JSX.Element | null;
|
|
156
170
|
|
|
157
|
-
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, SvgBell as Bell, SvgCancel as Cancel, SvgCancelCircleSolid as CancelCircleSolid, SvgCheck as Check, SvgChevronDown as ChevronDown, SvgChevronLeft as ChevronLeft, SvgChevronRight as ChevronRight, SvgChevronUp as ChevronUp, SvgEdit as Edit, SvgExploreFilled as ExploreFilled, SvgExploreLinear as ExploreLinear, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, SvgFileCheck as FileCheck, SvgFileKey as FileKey, SvgFileLock as FileLock, SvgFileSignature as FileSignature, SvgFileSpreadsheet as FileSpreadsheet, SvgFileText as FileText, SvgHelpCircle as HelpCircle, SvgHomeFilled as HomeFilled, SvgHomeLinear as HomeLinear, ICON_SIZES, Icon, type IconName, type IconProps, type IconSize, type IconSizeToken, SvgIconSlot as IconSlot, SvgKeys01 as Keys01, SvgLeadsFilled as LeadsFilled, SvgLeadsLinear as LeadsLinear, SvgLock as Lock, SvgLogout as Logout, SvgMail as Mail, SvgMortgage as Mortgage, SvgNote as Note, SvgPayments as Payments, SvgPlus as Plus, SvgPropertiesFilled as PropertiesFilled, SvgPropertiesLinear as PropertiesLinear, type ReactIconProps, SvgRent as Rent, SvgSearch as Search, SvgSearchX as SearchX, SvgShare as Share, SvgTrash2 as Trash2, SvgUser as User, SvgWhatsapp as Whatsapp, resolveSize };
|
|
171
|
+
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, SvgCancel as Cancel, SvgCancelCircleSolid as CancelCircleSolid, SvgCheck as Check, SvgChevronDown as ChevronDown, SvgChevronLeft as ChevronLeft, SvgChevronRight as ChevronRight, SvgChevronUp as ChevronUp, SvgEdit as Edit, SvgExploreFilled as ExploreFilled, SvgExploreLinear as ExploreLinear, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, SvgFaceId as FaceId, SvgFileCheck as FileCheck, SvgFileKey as FileKey, SvgFileLock as FileLock, SvgFileSignature as FileSignature, SvgFileSpreadsheet as FileSpreadsheet, SvgFileText as FileText, 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, SvgKeys01 as Keys01, SvgLeadsFilled as LeadsFilled, SvgLeadsLinear as LeadsLinear, SvgLock as Lock, SvgLogout as Logout, SvgMail as Mail, SvgMapPin as MapPin, SvgMortgage as Mortgage, SvgNote as Note, SvgPayments as Payments, SvgPlus as Plus, 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 };
|