@hugeicons/angular 1.0.5 → 1.0.7
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/CHANGELOG.md +16 -0
- package/README.md +6 -6
- package/dist/README.md +6 -6
- package/dist/esm2022/lib/types.mjs +1 -1
- package/dist/lib/types.d.ts +8 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
# @hugeicons/angular
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## 1.0.7
|
|
5
|
+
|
|
6
|
+
### Patch Changes
|
|
7
|
+
|
|
8
|
+
- Updated documentation icon counts to 5,100+ free / 51,000+ pro
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## 1.0.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Fixed TypeScript type compatibility issue with icon data packages
|
|
16
|
+
- `IconSvgObject` now accepts both strict (`SvgPathAttributes`) and loose path attribute formats
|
|
17
|
+
- Resolves "Property 'd' is missing" type error when using icons from `@hugeicons/core-*` packages
|
|
18
|
+
|
|
19
|
+
|
|
4
20
|
## 1.0.5
|
|
5
21
|
|
|
6
22
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
## What is Hugeicons?
|
|
8
8
|
|
|
9
|
-
Hugeicons is a large icon set for modern web and mobile apps. The free package includes
|
|
9
|
+
Hugeicons is a large icon set for modern web and mobile apps. The free package includes 5,100+ Stroke Rounded icons. The Pro package provides 51,000+ icons across 10 styles.
|
|
10
10
|
|
|
11
11
|
## How It Works
|
|
12
12
|
|
|
13
13
|
This package (`@hugeicons/angular`) is a **rendering library** - it provides the `HugeiconsIconComponent` that displays icons in your Angular app. The icons themselves come from separate icon packages:
|
|
14
14
|
|
|
15
|
-
- **Free icons**: `@hugeicons/core-free-icons` (
|
|
16
|
-
- **Pro icons**: `@hugeicons-pro/core-*` packages (
|
|
15
|
+
- **Free icons**: `@hugeicons/core-free-icons` (5,100+ icons)
|
|
16
|
+
- **Pro icons**: `@hugeicons-pro/core-*` packages (51,000+ icons, requires license)
|
|
17
17
|
|
|
18
18
|
### Key Highlights
|
|
19
|
-
- **
|
|
20
|
-
- **
|
|
19
|
+
- **5,100+ Free Icons**: Stroke Rounded set for unlimited personal and commercial projects
|
|
20
|
+
- **51,000+ Pro Icons, 10 Styles**: Stroke, Solid, Bulk, Duotone, and Twotone families for sharp, rounded, and standard needs with richer variants
|
|
21
21
|
- **Pixel Perfect Grid**: Built on a 24x24 grid for crisp rendering at any size
|
|
22
22
|
- **Customizable**: Easily adjust colors, sizes, and styles to match your design needs
|
|
23
23
|
- **Tree Shaking Ready**: Named exports keep bundles lean in modern bundlers
|
|
@@ -213,7 +213,7 @@ The library supports all modern browsers.
|
|
|
213
213
|
|
|
214
214
|
## Pro Version
|
|
215
215
|
|
|
216
|
-
> **Want access to
|
|
216
|
+
> **Want access to 51,000+ icons and 10 unique styles?**
|
|
217
217
|
> Check out our [Pro Version](https://hugeicons.com/pricing) and visit our [docs](https://hugeicons.com/docs) for detailed documentation.
|
|
218
218
|
|
|
219
219
|
### Available Pro Styles
|
package/dist/README.md
CHANGED
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
## What is Hugeicons?
|
|
8
8
|
|
|
9
|
-
Hugeicons is a large icon set for modern web and mobile apps. The free package includes
|
|
9
|
+
Hugeicons is a large icon set for modern web and mobile apps. The free package includes 5,100+ Stroke Rounded icons. The Pro package provides 51,000+ icons across 10 styles.
|
|
10
10
|
|
|
11
11
|
## How It Works
|
|
12
12
|
|
|
13
13
|
This package (`@hugeicons/angular`) is a **rendering library** - it provides the `HugeiconsIconComponent` that displays icons in your Angular app. The icons themselves come from separate icon packages:
|
|
14
14
|
|
|
15
|
-
- **Free icons**: `@hugeicons/core-free-icons` (
|
|
16
|
-
- **Pro icons**: `@hugeicons-pro/core-*` packages (
|
|
15
|
+
- **Free icons**: `@hugeicons/core-free-icons` (5,100+ icons)
|
|
16
|
+
- **Pro icons**: `@hugeicons-pro/core-*` packages (51,000+ icons, requires license)
|
|
17
17
|
|
|
18
18
|
### Key Highlights
|
|
19
|
-
- **
|
|
20
|
-
- **
|
|
19
|
+
- **5,100+ Free Icons**: Stroke Rounded set for unlimited personal and commercial projects
|
|
20
|
+
- **51,000+ Pro Icons, 10 Styles**: Stroke, Solid, Bulk, Duotone, and Twotone families for sharp, rounded, and standard needs with richer variants
|
|
21
21
|
- **Pixel Perfect Grid**: Built on a 24x24 grid for crisp rendering at any size
|
|
22
22
|
- **Customizable**: Easily adjust colors, sizes, and styles to match your design needs
|
|
23
23
|
- **Tree Shaking Ready**: Named exports keep bundles lean in modern bundlers
|
|
@@ -213,7 +213,7 @@ The library supports all modern browsers.
|
|
|
213
213
|
|
|
214
214
|
## Pro Version
|
|
215
215
|
|
|
216
|
-
> **Want access to
|
|
216
|
+
> **Want access to 51,000+ icons and 10 unique styles?**
|
|
217
217
|
> Check out our [Pro Version](https://hugeicons.com/pricing) and visit our [docs](https://hugeicons.com/docs) for detailed documentation.
|
|
218
218
|
|
|
219
219
|
### Available Pro Styles
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvKiogU1ZHIHBhdGggYXR0cmlidXRlcyAtIHN0cmljdCB2ZXJzaW9uIHdpdGggcmVxdWlyZWQgZCBwcm9wZXJ0eSAqL1xuZXhwb3J0IGludGVyZmFjZSBTdmdQYXRoQXR0cmlidXRlcyB7XG4gI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xuICB8ICdzb2xpZC1yb3VuZGVkJ1xuICB8ICdzb2xpZC1zaGFycCdcbiAgfCAnc29saWQtc3RhbmRhcmQnXG4gIHwgJ2J1bGstcm91bmRlZCdcbiAgfCAnZHVvdG9uZS1yb3VuZGVkJ1xuICB8ICdkdW90b25lLXN0YW5kYXJkJ1xuICB8ICd0d290b25lLXJvdW5kZWQnO1xuXG5leHBvcnQgaW50ZXJmYWNlIEljb25NZXRhZGF0YSB7XG4gIG5hbWU6IEljb25OYW1lO1xuICBjYXRlZ29yeTogc3RyaW5nO1xuICB0YWdzOiBzdHJpbmdbXTtcbiAgcGFjazogc3RyaW5nO1xuICBzdHlsZT86IEljb25TdHlsZTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBJY29uRGF0YSB7XG4gIGljb246IEljb25TdmdPYmplY3Q7XG4gIG1ldGFkYXRhOiBJY29uTWV0YWRhdGE7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgSHVnZWljb25zUHJvcHMge1xuICBzaXplPzogc3RyaW5nIHwgbnVtYmVyO1xuICBzdHJva2VXaWR0aD86IG51bWJlcjtcbiAgYWJzb2x1dGVTdHJva2VXaWR0aD86IGJvb2xlYW47XG4gIGljb246IEljb25TdmdPYmplY3Q7XG4gIGFsdEljb24/OiBJY29uU3ZnT2JqZWN0O1xuICBjb2xvcj86IHN0cmluZztcbiAgY2xhc3M/OiBzdHJpbmc7XG4gIHNob3dBbHQ/OiBib29sZWFuO1xufSAiXX0=
|
package/dist/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** SVG path attributes */
|
|
1
|
+
/** SVG path attributes - strict version with required d property */
|
|
2
2
|
export interface SvgPathAttributes {
|
|
3
3
|
d: string;
|
|
4
4
|
fill?: string;
|
|
@@ -10,8 +10,13 @@ export interface SvgPathAttributes {
|
|
|
10
10
|
strokeLinejoin?: 'miter' | 'round' | 'bevel';
|
|
11
11
|
[key: string]: unknown;
|
|
12
12
|
}
|
|
13
|
-
/**
|
|
14
|
-
export type
|
|
13
|
+
/** Loose path attributes type for compatibility with icon data packages */
|
|
14
|
+
export type LooseSvgPathAttributes = {
|
|
15
|
+
d?: string;
|
|
16
|
+
[key: string]: string | number | undefined;
|
|
17
|
+
};
|
|
18
|
+
/** Icon SVG object type - accepts both strict and loose path attribute formats */
|
|
19
|
+
export type IconSvgObject = readonly (readonly [string, SvgPathAttributes | LooseSvgPathAttributes])[];
|
|
15
20
|
export type IconName = string;
|
|
16
21
|
/** Icon style variants */
|
|
17
22
|
export type IconStyle = 'stroke-rounded' | 'stroke-sharp' | 'stroke-standard' | 'solid-rounded' | 'solid-sharp' | 'solid-standard' | 'bulk-rounded' | 'duotone-rounded' | 'duotone-standard' | 'twotone-rounded';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hugeicons/angular",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Hugeicons Angular Component Library https://hugeicons.com",
|
|
5
5
|
"homepage": "https://hugeicons.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,4 +58,4 @@
|
|
|
58
58
|
"icon-library",
|
|
59
59
|
"typescript"
|
|
60
60
|
]
|
|
61
|
-
}
|
|
61
|
+
}
|