huspy-icons 0.1.5 → 0.1.8
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 +62 -6
- package/dist/fonts/HuspyIcons.css +23 -8
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +9 -4
- package/dist/fonts/HuspyIcons.ts +21 -6
- 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 +15 -5
- package/dist/native/index.js.map +1 -1
- package/dist/react/index.d.mts +13 -3
- package/dist/react/index.d.ts +13 -3
- package/dist/react/index.js +378 -68
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +376 -66
- package/dist/react/index.mjs.map +1 -1
- package/package.json +6 -2
- package/src/native/Icon.tsx +11 -9
- package/src/native/glyphMap.ts +10 -5
- package/src/react/ArrowLeft.tsx +7 -1
- package/src/react/Cancel.tsx +32 -0
- package/src/react/Check.tsx +8 -2
- package/src/react/Edit.tsx +32 -0
- package/src/react/EyeHidden.tsx +38 -0
- package/src/react/EyeVisible.tsx +32 -0
- package/src/react/Icon.tsx +19 -4
- package/src/react/IconSlot.tsx +8 -2
- package/src/react/Search.tsx +32 -0
- package/src/react/User.tsx +32 -0
- package/src/react/index.ts +6 -1
- package/src/react/index.tsx +6 -1
- package/src/react/ArrowUpRight.tsx +0 -26
package/README.md
CHANGED
|
@@ -139,10 +139,31 @@ This will:
|
|
|
139
139
|
npm run build
|
|
140
140
|
```
|
|
141
141
|
|
|
142
|
-
4.
|
|
142
|
+
4. Version bump and publish:
|
|
143
143
|
|
|
144
144
|
```bash
|
|
145
|
-
|
|
145
|
+
# Patch version (0.1.9 → 0.1.10)
|
|
146
|
+
npm run version:patch
|
|
147
|
+
|
|
148
|
+
# Minor version (0.1.9 → 0.2.0)
|
|
149
|
+
npm run version:minor
|
|
150
|
+
|
|
151
|
+
# Major version (0.1.9 → 1.0.0)
|
|
152
|
+
npm run version:major
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
This will:
|
|
156
|
+
- Update `package.json` version
|
|
157
|
+
- Update `package-lock.json` version
|
|
158
|
+
- Update `CHANGELOG.md` with a new version entry
|
|
159
|
+
- Print next steps for committing and tagging
|
|
160
|
+
|
|
161
|
+
Then commit, tag, and publish:
|
|
162
|
+
```bash
|
|
163
|
+
git add package.json package-lock.json CHANGELOG.md
|
|
164
|
+
git commit -m "chore: bump version to X.X.X"
|
|
165
|
+
git tag vX.X.X
|
|
166
|
+
git push && git push --tags
|
|
146
167
|
npm publish
|
|
147
168
|
```
|
|
148
169
|
|
|
@@ -176,7 +197,11 @@ huspy-icons/
|
|
|
176
197
|
"gen:types": "Generate TypeScript types",
|
|
177
198
|
"gen": "Run all generation scripts",
|
|
178
199
|
"build": "Build TypeScript to JavaScript",
|
|
179
|
-
"prepare": "Full build (runs on npm install)"
|
|
200
|
+
"prepare": "Full build (runs on npm install)",
|
|
201
|
+
"typecheck": "Run TypeScript type checking",
|
|
202
|
+
"version:patch": "Bump patch version and update changelog",
|
|
203
|
+
"version:minor": "Bump minor version and update changelog",
|
|
204
|
+
"version:major": "Bump major version and update changelog"
|
|
180
205
|
}
|
|
181
206
|
```
|
|
182
207
|
|
|
@@ -213,9 +238,40 @@ import { Icon } from 'huspy-icons/native';
|
|
|
213
238
|
|
|
214
239
|
## 🔒 Versioning
|
|
215
240
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
* **
|
|
241
|
+
This project follows [Semantic Versioning](https://semver.org/):
|
|
242
|
+
|
|
243
|
+
* **Patch** (0.1.9 → 0.1.10): Bug fixes, path tweaks, metadata changes
|
|
244
|
+
* **Minor** (0.1.9 → 0.2.0): New icons, non-breaking API additions
|
|
245
|
+
* **Major** (0.1.9 → 1.0.0): Icon removals/renames, breaking API changes
|
|
246
|
+
|
|
247
|
+
### Releasing a New Version
|
|
248
|
+
|
|
249
|
+
Use the version bump scripts to update version and changelog:
|
|
250
|
+
|
|
251
|
+
```bash
|
|
252
|
+
# For patch releases (bug fixes)
|
|
253
|
+
npm run version:patch
|
|
254
|
+
|
|
255
|
+
# For minor releases (new icons)
|
|
256
|
+
npm run version:minor
|
|
257
|
+
|
|
258
|
+
# For major releases (breaking changes)
|
|
259
|
+
npm run version:major
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
The script will:
|
|
263
|
+
- ✅ Bump version in `package.json`
|
|
264
|
+
- ✅ Bump version in `package-lock.json`
|
|
265
|
+
- ✅ Update `CHANGELOG.md` with a new version entry
|
|
266
|
+
|
|
267
|
+
After running, commit, tag, and publish:
|
|
268
|
+
```bash
|
|
269
|
+
git add package.json package-lock.json CHANGELOG.md
|
|
270
|
+
git commit -m "chore: bump version to X.X.X"
|
|
271
|
+
git tag vX.X.X
|
|
272
|
+
git push && git push --tags
|
|
273
|
+
npm publish
|
|
274
|
+
```
|
|
219
275
|
|
|
220
276
|
---
|
|
221
277
|
|
|
@@ -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?205afe71b5266cc3b69b2d08638c65ec") format("truetype"),
|
|
4
|
+
url(".//HuspyIcons.woff?205afe71b5266cc3b69b2d08638c65ec") format("woff"),
|
|
5
|
+
url(".//HuspyIcons.woff2?205afe71b5266cc3b69b2d08638c65ec") format("woff2"),
|
|
6
|
+
url(".//HuspyIcons.eot?205afe71b5266cc3b69b2d08638c65ec#iefix") format("embedded-opentype");
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.icon:before {
|
|
@@ -17,15 +17,30 @@ url(".//HuspyIcons.eot?b363bbdca57bbac1f0078b38d06bdec1#iefix") format("embedded
|
|
|
17
17
|
-moz-osx-font-smoothing: grayscale;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.icon.huspy-icon-
|
|
20
|
+
.icon.huspy-icon-user:before {
|
|
21
21
|
content: "\f101";
|
|
22
22
|
}
|
|
23
|
-
.icon.huspy-icon-
|
|
23
|
+
.icon.huspy-icon-search:before {
|
|
24
24
|
content: "\f102";
|
|
25
25
|
}
|
|
26
|
-
.icon.huspy-icon-
|
|
26
|
+
.icon.huspy-icon-icon-slot:before {
|
|
27
27
|
content: "\f103";
|
|
28
28
|
}
|
|
29
|
-
.icon.huspy-icon-
|
|
29
|
+
.icon.huspy-icon-eye-visible:before {
|
|
30
30
|
content: "\f104";
|
|
31
31
|
}
|
|
32
|
+
.icon.huspy-icon-eye-hidden:before {
|
|
33
|
+
content: "\f105";
|
|
34
|
+
}
|
|
35
|
+
.icon.huspy-icon-edit:before {
|
|
36
|
+
content: "\f106";
|
|
37
|
+
}
|
|
38
|
+
.icon.huspy-icon-check:before {
|
|
39
|
+
content: "\f107";
|
|
40
|
+
}
|
|
41
|
+
.icon.huspy-icon-cancel:before {
|
|
42
|
+
content: "\f108";
|
|
43
|
+
}
|
|
44
|
+
.icon.huspy-icon-arrow-left:before {
|
|
45
|
+
content: "\f109";
|
|
46
|
+
}
|
|
Binary file
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
2
|
+
"user": 61697,
|
|
3
|
+
"search": 61698,
|
|
4
|
+
"icon-slot": 61699,
|
|
5
|
+
"eye-visible": 61700,
|
|
6
|
+
"eye-hidden": 61701,
|
|
7
|
+
"edit": 61702,
|
|
8
|
+
"check": 61703,
|
|
9
|
+
"cancel": 61704,
|
|
10
|
+
"arrow-left": 61705
|
|
6
11
|
}
|
package/dist/fonts/HuspyIcons.ts
CHANGED
|
@@ -1,19 +1,34 @@
|
|
|
1
1
|
export type HuspyIconsId =
|
|
2
|
+
| "user"
|
|
3
|
+
| "search"
|
|
2
4
|
| "icon-slot"
|
|
5
|
+
| "eye-visible"
|
|
6
|
+
| "eye-hidden"
|
|
7
|
+
| "edit"
|
|
3
8
|
| "check"
|
|
4
|
-
| "
|
|
9
|
+
| "cancel"
|
|
5
10
|
| "arrow-left";
|
|
6
11
|
|
|
7
12
|
export enum HuspyIcons {
|
|
13
|
+
User = "user",
|
|
14
|
+
Search = "search",
|
|
8
15
|
IconSlot = "icon-slot",
|
|
16
|
+
EyeVisible = "eye-visible",
|
|
17
|
+
EyeHidden = "eye-hidden",
|
|
18
|
+
Edit = "edit",
|
|
9
19
|
Check = "check",
|
|
10
|
-
|
|
20
|
+
Cancel = "cancel",
|
|
11
21
|
ArrowLeft = "arrow-left",
|
|
12
22
|
}
|
|
13
23
|
|
|
14
24
|
export const HUSPY_ICONS_CODEPOINTS: { [key in HuspyIcons]: string } = {
|
|
15
|
-
[HuspyIcons.
|
|
16
|
-
[HuspyIcons.
|
|
17
|
-
[HuspyIcons.
|
|
18
|
-
[HuspyIcons.
|
|
25
|
+
[HuspyIcons.User]: "61697",
|
|
26
|
+
[HuspyIcons.Search]: "61698",
|
|
27
|
+
[HuspyIcons.IconSlot]: "61699",
|
|
28
|
+
[HuspyIcons.EyeVisible]: "61700",
|
|
29
|
+
[HuspyIcons.EyeHidden]: "61701",
|
|
30
|
+
[HuspyIcons.Edit]: "61702",
|
|
31
|
+
[HuspyIcons.Check]: "61703",
|
|
32
|
+
[HuspyIcons.Cancel]: "61704",
|
|
33
|
+
[HuspyIcons.ArrowLeft]: "61705",
|
|
19
34
|
};
|
|
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 = 'icon-slot' | '
|
|
7
|
+
type IconName = 'user' | 'search' | 'icon-slot' | '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
|
@@ -42,10 +42,15 @@ var import_react_native = require("react-native");
|
|
|
42
42
|
|
|
43
43
|
// src/native/glyphMap.ts
|
|
44
44
|
var glyphMap = {
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
45
|
+
"user": 61697,
|
|
46
|
+
"search": 61698,
|
|
47
|
+
"icon-slot": 61699,
|
|
48
|
+
"eye-visible": 61700,
|
|
49
|
+
"eye-hidden": 61701,
|
|
50
|
+
"edit": 61702,
|
|
51
|
+
"check": 61703,
|
|
52
|
+
"cancel": 61704,
|
|
53
|
+
"arrow-left": 61705
|
|
49
54
|
};
|
|
50
55
|
var fontFamily = "HuspyIcons";
|
|
51
56
|
|
|
@@ -70,7 +75,12 @@ var Icon = ({ name, size = 16, color = "#000", style, ...props }) => {
|
|
|
70
75
|
color,
|
|
71
76
|
// Ensure icon doesn't inherit text styles
|
|
72
77
|
fontWeight: "normal",
|
|
73
|
-
fontStyle: "normal"
|
|
78
|
+
fontStyle: "normal",
|
|
79
|
+
// Prevent text selection and ensure proper rendering
|
|
80
|
+
includeFontPadding: false,
|
|
81
|
+
// Android: removes extra padding
|
|
82
|
+
textAlignVertical: "center"
|
|
83
|
+
// Android: centers the glyph vertically
|
|
74
84
|
},
|
|
75
85
|
style
|
|
76
86
|
],
|
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
|
|
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\": 61699,\n \"eye-visible\": 61700,\n \"eye-hidden\": 61701,\n \"edit\": 61702,\n \"check\": 61703,\n \"cancel\": 61704,\n \"arrow-left\": 61705\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,aAAa;AAAA,EACb,eAAe;AAAA,EACf,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,UAAU;AAAA,EACV,cAAc;AAChB;AAKO,IAAM,aAAa;;;ADO1B,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
|
@@ -30,12 +30,22 @@ declare function resolveSize(size?: IconSize): number;
|
|
|
30
30
|
|
|
31
31
|
declare const SvgArrowLeft: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
32
32
|
|
|
33
|
-
declare const
|
|
33
|
+
declare const SvgCancel: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
34
34
|
|
|
35
35
|
declare const SvgCheck: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
36
36
|
|
|
37
|
+
declare const SvgEdit: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
38
|
+
|
|
39
|
+
declare const SvgEyeHidden: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
40
|
+
|
|
41
|
+
declare const SvgEyeVisible: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
42
|
+
|
|
37
43
|
declare const SvgIconSlot: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
38
44
|
|
|
45
|
+
declare const SvgSearch: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
46
|
+
|
|
47
|
+
declare const SvgUser: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
48
|
+
|
|
39
49
|
/**
|
|
40
50
|
* Icon imports - using dynamic imports for tree-shaking
|
|
41
51
|
* Auto-generated - do not edit manually
|
|
@@ -43,7 +53,7 @@ declare const SvgIconSlot: ({ size, ...props }: ReactIconProps) => React$1.JSX.E
|
|
|
43
53
|
/**
|
|
44
54
|
* Available icon names
|
|
45
55
|
*/
|
|
46
|
-
type IconName = 'arrow-left' | '
|
|
56
|
+
type IconName = 'arrow-left' | 'cancel' | 'check' | 'edit' | 'eye-hidden' | 'eye-visible' | 'icon-slot' | 'search' | 'user';
|
|
47
57
|
/**
|
|
48
58
|
* Props for the unified Icon component
|
|
49
59
|
*/
|
|
@@ -58,4 +68,4 @@ interface IconProps extends Omit<ReactIconProps, 'size'> {
|
|
|
58
68
|
*/
|
|
59
69
|
declare const Icon: ({ name, size, color, ...props }: IconProps) => React$1.JSX.Element | null;
|
|
60
70
|
|
|
61
|
-
export { SvgArrowLeft as ArrowLeft,
|
|
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 };
|
package/dist/react/index.d.ts
CHANGED
|
@@ -30,12 +30,22 @@ declare function resolveSize(size?: IconSize): number;
|
|
|
30
30
|
|
|
31
31
|
declare const SvgArrowLeft: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
32
32
|
|
|
33
|
-
declare const
|
|
33
|
+
declare const SvgCancel: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
34
34
|
|
|
35
35
|
declare const SvgCheck: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
36
36
|
|
|
37
|
+
declare const SvgEdit: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
38
|
+
|
|
39
|
+
declare const SvgEyeHidden: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
40
|
+
|
|
41
|
+
declare const SvgEyeVisible: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
42
|
+
|
|
37
43
|
declare const SvgIconSlot: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
38
44
|
|
|
45
|
+
declare const SvgSearch: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
46
|
+
|
|
47
|
+
declare const SvgUser: ({ size, ...props }: ReactIconProps) => React$1.JSX.Element;
|
|
48
|
+
|
|
39
49
|
/**
|
|
40
50
|
* Icon imports - using dynamic imports for tree-shaking
|
|
41
51
|
* Auto-generated - do not edit manually
|
|
@@ -43,7 +53,7 @@ declare const SvgIconSlot: ({ size, ...props }: ReactIconProps) => React$1.JSX.E
|
|
|
43
53
|
/**
|
|
44
54
|
* Available icon names
|
|
45
55
|
*/
|
|
46
|
-
type IconName = 'arrow-left' | '
|
|
56
|
+
type IconName = 'arrow-left' | 'cancel' | 'check' | 'edit' | 'eye-hidden' | 'eye-visible' | 'icon-slot' | 'search' | 'user';
|
|
47
57
|
/**
|
|
48
58
|
* Props for the unified Icon component
|
|
49
59
|
*/
|
|
@@ -58,4 +68,4 @@ interface IconProps extends Omit<ReactIconProps, 'size'> {
|
|
|
58
68
|
*/
|
|
59
69
|
declare const Icon: ({ name, size, color, ...props }: IconProps) => React$1.JSX.Element | null;
|
|
60
70
|
|
|
61
|
-
export { SvgArrowLeft as ArrowLeft,
|
|
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 };
|