huspy-icons 0.1.8 → 0.1.9
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/README.md +5 -8
- package/dist/fonts/HuspyIcons.css +29 -11
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +13 -7
- package/dist/fonts/HuspyIcons.ts +25 -7
- 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 +13 -7
- package/dist/native/index.js.map +1 -1
- package/dist/react/index.d.mts +14 -2
- package/dist/react/index.d.ts +14 -2
- package/dist/react/index.js +394 -20
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +391 -17
- package/dist/react/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/native/glyphMap.ts +14 -8
- package/src/react/HomeFilled.tsx +24 -0
- package/src/react/HomeLinear.tsx +26 -0
- package/src/react/Icon.tsx +19 -1
- package/src/react/LeadsFilled.tsx +44 -0
- package/src/react/LeadsLinear.tsx +44 -0
- package/src/react/PropertiesFilled.tsx +36 -0
- package/src/react/PropertiesLinear.tsx +62 -0
- package/src/react/index.ts +6 -0
- package/src/react/index.tsx +6 -0
package/README.md
CHANGED
|
@@ -156,14 +156,13 @@ This will:
|
|
|
156
156
|
- Update `package.json` version
|
|
157
157
|
- Update `package-lock.json` version
|
|
158
158
|
- Update `CHANGELOG.md` with a new version entry
|
|
159
|
-
- Print next steps for committing
|
|
159
|
+
- Print next steps for committing
|
|
160
160
|
|
|
161
|
-
Then commit
|
|
161
|
+
Then commit and publish:
|
|
162
162
|
```bash
|
|
163
163
|
git add package.json package-lock.json CHANGELOG.md
|
|
164
164
|
git commit -m "chore: bump version to X.X.X"
|
|
165
|
-
git
|
|
166
|
-
git push && git push --tags
|
|
165
|
+
git push
|
|
167
166
|
npm publish
|
|
168
167
|
```
|
|
169
168
|
|
|
@@ -264,13 +263,11 @@ The script will:
|
|
|
264
263
|
- ✅ Bump version in `package-lock.json`
|
|
265
264
|
- ✅ Update `CHANGELOG.md` with a new version entry
|
|
266
265
|
|
|
267
|
-
After running, commit
|
|
266
|
+
After running, commit and publish:
|
|
268
267
|
```bash
|
|
269
268
|
git add package.json package-lock.json CHANGELOG.md
|
|
270
269
|
git commit -m "chore: bump version to X.X.X"
|
|
271
|
-
git
|
|
272
|
-
git push && git push --tags
|
|
273
|
-
npm publish
|
|
270
|
+
git push
|
|
274
271
|
```
|
|
275
272
|
|
|
276
273
|
---
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "HuspyIcons";
|
|
3
|
-
src: url(".//HuspyIcons.ttf?
|
|
4
|
-
url(".//HuspyIcons.woff?
|
|
5
|
-
url(".//HuspyIcons.woff2?
|
|
6
|
-
url(".//HuspyIcons.eot?
|
|
3
|
+
src: url(".//HuspyIcons.ttf?2631092cde08ead95d812e7c7f45014c") format("truetype"),
|
|
4
|
+
url(".//HuspyIcons.woff?2631092cde08ead95d812e7c7f45014c") format("woff"),
|
|
5
|
+
url(".//HuspyIcons.woff2?2631092cde08ead95d812e7c7f45014c") format("woff2"),
|
|
6
|
+
url(".//HuspyIcons.eot?2631092cde08ead95d812e7c7f45014c#iefix") format("embedded-opentype");
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.icon:before {
|
|
@@ -23,24 +23,42 @@ url(".//HuspyIcons.eot?205afe71b5266cc3b69b2d08638c65ec#iefix") format("embedded
|
|
|
23
23
|
.icon.huspy-icon-search:before {
|
|
24
24
|
content: "\f102";
|
|
25
25
|
}
|
|
26
|
-
.icon.huspy-icon-
|
|
26
|
+
.icon.huspy-icon-properties-linear:before {
|
|
27
27
|
content: "\f103";
|
|
28
28
|
}
|
|
29
|
-
.icon.huspy-icon-
|
|
29
|
+
.icon.huspy-icon-properties-filled:before {
|
|
30
30
|
content: "\f104";
|
|
31
31
|
}
|
|
32
|
-
.icon.huspy-icon-
|
|
32
|
+
.icon.huspy-icon-leads-linear:before {
|
|
33
33
|
content: "\f105";
|
|
34
34
|
}
|
|
35
|
-
.icon.huspy-icon-
|
|
35
|
+
.icon.huspy-icon-leads-filled:before {
|
|
36
36
|
content: "\f106";
|
|
37
37
|
}
|
|
38
|
-
.icon.huspy-icon-
|
|
38
|
+
.icon.huspy-icon-icon-slot:before {
|
|
39
39
|
content: "\f107";
|
|
40
40
|
}
|
|
41
|
-
.icon.huspy-icon-
|
|
41
|
+
.icon.huspy-icon-home-linear:before {
|
|
42
42
|
content: "\f108";
|
|
43
43
|
}
|
|
44
|
-
.icon.huspy-icon-
|
|
44
|
+
.icon.huspy-icon-home-filled:before {
|
|
45
45
|
content: "\f109";
|
|
46
46
|
}
|
|
47
|
+
.icon.huspy-icon-eye-visible:before {
|
|
48
|
+
content: "\f10a";
|
|
49
|
+
}
|
|
50
|
+
.icon.huspy-icon-eye-hidden:before {
|
|
51
|
+
content: "\f10b";
|
|
52
|
+
}
|
|
53
|
+
.icon.huspy-icon-edit:before {
|
|
54
|
+
content: "\f10c";
|
|
55
|
+
}
|
|
56
|
+
.icon.huspy-icon-check:before {
|
|
57
|
+
content: "\f10d";
|
|
58
|
+
}
|
|
59
|
+
.icon.huspy-icon-cancel:before {
|
|
60
|
+
content: "\f10e";
|
|
61
|
+
}
|
|
62
|
+
.icon.huspy-icon-arrow-left:before {
|
|
63
|
+
content: "\f10f";
|
|
64
|
+
}
|
|
Binary file
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"user": 61697,
|
|
3
3
|
"search": 61698,
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
4
|
+
"properties-linear": 61699,
|
|
5
|
+
"properties-filled": 61700,
|
|
6
|
+
"leads-linear": 61701,
|
|
7
|
+
"leads-filled": 61702,
|
|
8
|
+
"icon-slot": 61703,
|
|
9
|
+
"home-linear": 61704,
|
|
10
|
+
"home-filled": 61705,
|
|
11
|
+
"eye-visible": 61706,
|
|
12
|
+
"eye-hidden": 61707,
|
|
13
|
+
"edit": 61708,
|
|
14
|
+
"check": 61709,
|
|
15
|
+
"cancel": 61710,
|
|
16
|
+
"arrow-left": 61711
|
|
11
17
|
}
|
package/dist/fonts/HuspyIcons.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export type HuspyIconsId =
|
|
2
2
|
| "user"
|
|
3
3
|
| "search"
|
|
4
|
+
| "properties-linear"
|
|
5
|
+
| "properties-filled"
|
|
6
|
+
| "leads-linear"
|
|
7
|
+
| "leads-filled"
|
|
4
8
|
| "icon-slot"
|
|
9
|
+
| "home-linear"
|
|
10
|
+
| "home-filled"
|
|
5
11
|
| "eye-visible"
|
|
6
12
|
| "eye-hidden"
|
|
7
13
|
| "edit"
|
|
@@ -12,7 +18,13 @@ export type HuspyIconsId =
|
|
|
12
18
|
export enum HuspyIcons {
|
|
13
19
|
User = "user",
|
|
14
20
|
Search = "search",
|
|
21
|
+
PropertiesLinear = "properties-linear",
|
|
22
|
+
PropertiesFilled = "properties-filled",
|
|
23
|
+
LeadsLinear = "leads-linear",
|
|
24
|
+
LeadsFilled = "leads-filled",
|
|
15
25
|
IconSlot = "icon-slot",
|
|
26
|
+
HomeLinear = "home-linear",
|
|
27
|
+
HomeFilled = "home-filled",
|
|
16
28
|
EyeVisible = "eye-visible",
|
|
17
29
|
EyeHidden = "eye-hidden",
|
|
18
30
|
Edit = "edit",
|
|
@@ -24,11 +36,17 @@ export enum HuspyIcons {
|
|
|
24
36
|
export const HUSPY_ICONS_CODEPOINTS: { [key in HuspyIcons]: string } = {
|
|
25
37
|
[HuspyIcons.User]: "61697",
|
|
26
38
|
[HuspyIcons.Search]: "61698",
|
|
27
|
-
[HuspyIcons.
|
|
28
|
-
[HuspyIcons.
|
|
29
|
-
[HuspyIcons.
|
|
30
|
-
[HuspyIcons.
|
|
31
|
-
[HuspyIcons.
|
|
32
|
-
[HuspyIcons.
|
|
33
|
-
[HuspyIcons.
|
|
39
|
+
[HuspyIcons.PropertiesLinear]: "61699",
|
|
40
|
+
[HuspyIcons.PropertiesFilled]: "61700",
|
|
41
|
+
[HuspyIcons.LeadsLinear]: "61701",
|
|
42
|
+
[HuspyIcons.LeadsFilled]: "61702",
|
|
43
|
+
[HuspyIcons.IconSlot]: "61703",
|
|
44
|
+
[HuspyIcons.HomeLinear]: "61704",
|
|
45
|
+
[HuspyIcons.HomeFilled]: "61705",
|
|
46
|
+
[HuspyIcons.EyeVisible]: "61706",
|
|
47
|
+
[HuspyIcons.EyeHidden]: "61707",
|
|
48
|
+
[HuspyIcons.Edit]: "61708",
|
|
49
|
+
[HuspyIcons.Check]: "61709",
|
|
50
|
+
[HuspyIcons.Cancel]: "61710",
|
|
51
|
+
[HuspyIcons.ArrowLeft]: "61711",
|
|
34
52
|
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/native/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { TextProps } from 'react-native';
|
|
|
4
4
|
/**
|
|
5
5
|
* Available icon names in the HuspyIcons font
|
|
6
6
|
*/
|
|
7
|
-
type IconName = 'user' | 'search' | 'icon-slot' | 'eye-visible' | 'eye-hidden' | 'edit' | 'check' | 'cancel' | 'arrow-left';
|
|
7
|
+
type IconName = 'user' | 'search' | 'properties-linear' | 'properties-filled' | 'leads-linear' | 'leads-filled' | 'icon-slot' | 'home-linear' | 'home-filled' | 'eye-visible' | 'eye-hidden' | 'edit' | 'check' | 'cancel' | 'arrow-left';
|
|
8
8
|
/**
|
|
9
9
|
* Mapping of icon names to unicode codepoints
|
|
10
10
|
* Used by the Icon component to render the correct glyph
|
package/dist/native/index.js
CHANGED
|
@@ -44,13 +44,19 @@ var import_react_native = require("react-native");
|
|
|
44
44
|
var glyphMap = {
|
|
45
45
|
"user": 61697,
|
|
46
46
|
"search": 61698,
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
47
|
+
"properties-linear": 61699,
|
|
48
|
+
"properties-filled": 61700,
|
|
49
|
+
"leads-linear": 61701,
|
|
50
|
+
"leads-filled": 61702,
|
|
51
|
+
"icon-slot": 61703,
|
|
52
|
+
"home-linear": 61704,
|
|
53
|
+
"home-filled": 61705,
|
|
54
|
+
"eye-visible": 61706,
|
|
55
|
+
"eye-hidden": 61707,
|
|
56
|
+
"edit": 61708,
|
|
57
|
+
"check": 61709,
|
|
58
|
+
"cancel": 61710,
|
|
59
|
+
"arrow-left": 61711
|
|
54
60
|
};
|
|
55
61
|
var fontFamily = "HuspyIcons";
|
|
56
62
|
|
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 = 'user' | 'search' | 'icon-slot' | 'eye-visible' | 'eye-hidden' | 'edit' | 'check' | 'cancel' | 'arrow-left';\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 \"user\": 61697,\n \"search\": 61698,\n \"icon-slot\":
|
|
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 = 'user' | 'search' | 'properties-linear' | 'properties-filled' | 'leads-linear' | 'leads-filled' | 'icon-slot' | 'home-linear' | 'home-filled' | 'eye-visible' | 'eye-hidden' | 'edit' | 'check' | 'cancel' | 'arrow-left';\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 \"user\": 61697,\n \"search\": 61698,\n \"properties-linear\": 61699,\n \"properties-filled\": 61700,\n \"leads-linear\": 61701,\n \"leads-filled\": 61702,\n \"icon-slot\": 61703,\n \"home-linear\": 61704,\n \"home-filled\": 61705,\n \"eye-visible\": 61706,\n \"eye-hidden\": 61707,\n \"edit\": 61708,\n \"check\": 61709,\n \"cancel\": 61710,\n \"arrow-left\": 61711\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,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,eAAe;AAAA,EACf,eAAe;AAAA,EACf,eAAe;AAAA,EACf,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,UAAU;AAAA,EACV,cAAc;AAChB;AAKO,IAAM,aAAa;;;ADC1B,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
|
@@ -40,8 +40,20 @@ declare const SvgEyeHidden: ({ size, ...props }: ReactIconProps) => React$1.JSX.
|
|
|
40
40
|
|
|
41
41
|
declare const SvgEyeVisible: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
42
42
|
|
|
43
|
+
declare const SvgHomeFilled: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
44
|
+
|
|
45
|
+
declare const SvgHomeLinear: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
46
|
+
|
|
43
47
|
declare const SvgIconSlot: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
44
48
|
|
|
49
|
+
declare const SvgLeadsFilled: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
50
|
+
|
|
51
|
+
declare const SvgLeadsLinear: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
52
|
+
|
|
53
|
+
declare const SvgPropertiesFilled: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
54
|
+
|
|
55
|
+
declare const SvgPropertiesLinear: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
56
|
+
|
|
45
57
|
declare const SvgSearch: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
46
58
|
|
|
47
59
|
declare const SvgUser: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -53,7 +65,7 @@ declare const SvgUser: ({ size, ...props }: ReactIconProps) => React$1.JSX.Eleme
|
|
|
53
65
|
/**
|
|
54
66
|
* Available icon names
|
|
55
67
|
*/
|
|
56
|
-
type IconName = 'arrow-left' | 'cancel' | 'check' | 'edit' | 'eye-hidden' | 'eye-visible' | 'icon-slot' | 'search' | 'user';
|
|
68
|
+
type IconName = 'arrow-left' | 'cancel' | 'check' | 'edit' | 'eye-hidden' | 'eye-visible' | 'home-filled' | 'home-linear' | 'icon-slot' | 'leads-filled' | 'leads-linear' | 'properties-filled' | 'properties-linear' | 'search' | 'user';
|
|
57
69
|
/**
|
|
58
70
|
* Props for the unified Icon component
|
|
59
71
|
*/
|
|
@@ -68,4 +80,4 @@ interface IconProps extends Omit<ReactIconProps, 'size'> {
|
|
|
68
80
|
*/
|
|
69
81
|
declare const Icon: ({ name, size, color, ...props }: IconProps) => React$1.JSX.Element | null;
|
|
70
82
|
|
|
71
|
-
export { SvgArrowLeft as ArrowLeft, SvgCancel as Cancel, SvgCheck as Check, SvgEdit as Edit, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, ICON_SIZES, Icon, type IconName, type IconProps, type IconSize, type IconSizeToken, SvgIconSlot as IconSlot, type ReactIconProps, SvgSearch as Search, SvgUser as User, resolveSize };
|
|
83
|
+
export { SvgArrowLeft as ArrowLeft, SvgCancel as Cancel, SvgCheck as Check, SvgEdit as Edit, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, SvgHomeFilled as HomeFilled, SvgHomeLinear as HomeLinear, ICON_SIZES, Icon, type IconName, type IconProps, type IconSize, type IconSizeToken, SvgIconSlot as IconSlot, SvgLeadsFilled as LeadsFilled, SvgLeadsLinear as LeadsLinear, SvgPropertiesFilled as PropertiesFilled, SvgPropertiesLinear as PropertiesLinear, type ReactIconProps, SvgSearch as Search, SvgUser as User, resolveSize };
|
package/dist/react/index.d.ts
CHANGED
|
@@ -40,8 +40,20 @@ declare const SvgEyeHidden: ({ size, ...props }: ReactIconProps) => React$1.JSX.
|
|
|
40
40
|
|
|
41
41
|
declare const SvgEyeVisible: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
42
42
|
|
|
43
|
+
declare const SvgHomeFilled: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
44
|
+
|
|
45
|
+
declare const SvgHomeLinear: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
46
|
+
|
|
43
47
|
declare const SvgIconSlot: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
44
48
|
|
|
49
|
+
declare const SvgLeadsFilled: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
50
|
+
|
|
51
|
+
declare const SvgLeadsLinear: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
52
|
+
|
|
53
|
+
declare const SvgPropertiesFilled: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
54
|
+
|
|
55
|
+
declare const SvgPropertiesLinear: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
56
|
+
|
|
45
57
|
declare const SvgSearch: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
46
58
|
|
|
47
59
|
declare const SvgUser: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
@@ -53,7 +65,7 @@ declare const SvgUser: ({ size, ...props }: ReactIconProps) => React$1.JSX.Eleme
|
|
|
53
65
|
/**
|
|
54
66
|
* Available icon names
|
|
55
67
|
*/
|
|
56
|
-
type IconName = 'arrow-left' | 'cancel' | 'check' | 'edit' | 'eye-hidden' | 'eye-visible' | 'icon-slot' | 'search' | 'user';
|
|
68
|
+
type IconName = 'arrow-left' | 'cancel' | 'check' | 'edit' | 'eye-hidden' | 'eye-visible' | 'home-filled' | 'home-linear' | 'icon-slot' | 'leads-filled' | 'leads-linear' | 'properties-filled' | 'properties-linear' | 'search' | 'user';
|
|
57
69
|
/**
|
|
58
70
|
* Props for the unified Icon component
|
|
59
71
|
*/
|
|
@@ -68,4 +80,4 @@ interface IconProps extends Omit<ReactIconProps, 'size'> {
|
|
|
68
80
|
*/
|
|
69
81
|
declare const Icon: ({ name, size, color, ...props }: IconProps) => React$1.JSX.Element | null;
|
|
70
82
|
|
|
71
|
-
export { SvgArrowLeft as ArrowLeft, SvgCancel as Cancel, SvgCheck as Check, SvgEdit as Edit, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, ICON_SIZES, Icon, type IconName, type IconProps, type IconSize, type IconSizeToken, SvgIconSlot as IconSlot, type ReactIconProps, SvgSearch as Search, SvgUser as User, resolveSize };
|
|
83
|
+
export { SvgArrowLeft as ArrowLeft, SvgCancel as Cancel, SvgCheck as Check, SvgEdit as Edit, SvgEyeHidden as EyeHidden, SvgEyeVisible as EyeVisible, SvgHomeFilled as HomeFilled, SvgHomeLinear as HomeLinear, ICON_SIZES, Icon, type IconName, type IconProps, type IconSize, type IconSizeToken, SvgIconSlot as IconSlot, SvgLeadsFilled as LeadsFilled, SvgLeadsLinear as LeadsLinear, SvgPropertiesFilled as PropertiesFilled, SvgPropertiesLinear as PropertiesLinear, type ReactIconProps, SvgSearch as Search, SvgUser as User, resolveSize };
|