@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 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 4,600+ Stroke Rounded icons. The Pro package provides 46,000+ icons across 10 styles.
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` (4,600+ icons)
16
- - **Pro icons**: `@hugeicons-pro/core-*` packages (46,000+ icons, requires license)
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
- - **4,600+ Free Icons**: Stroke Rounded set for unlimited personal and commercial projects
20
- - **46,000+ Pro Icons, 10 Styles**: Stroke, Solid, Bulk, Duotone, and Twotone families for sharp, rounded, and standard needs with richer variants
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 46,000+ icons and 10 unique styles?**
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 4,600+ Stroke Rounded icons. The Pro package provides 46,000+ icons across 10 styles.
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` (4,600+ icons)
16
- - **Pro icons**: `@hugeicons-pro/core-*` packages (46,000+ icons, requires license)
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
- - **4,600+ Free Icons**: Stroke Rounded set for unlimited personal and commercial projects
20
- - **46,000+ Pro Icons, 10 Styles**: Stroke, Solid, Bulk, Duotone, and Twotone families for sharp, rounded, and standard needs with richer variants
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 46,000+ icons and 10 unique styles?**
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvKiogU1ZHIHBhdGggYXR0cmlidXRlcyAqL1xuZXhwb3J0IGludGVyZmFjZSBTdmdQYXRoQXR0cmlidXRlcyB7XG4gIGQ6IHN0cmluZztcbiAgZmlsbD86IHN0cmluZztcbiAgb3BhY2l0eT86IHN0cmluZztcbiAgZmlsbFJ1bGU/OiAnbm9uemVybycgfCAnZXZlbm9kZCc7XG4gIHN0cm9rZT86IHN0cmluZztcbiAgc3Ryb2tlV2lkdGg/OiBudW1iZXIgfCBzdHJpbmc7XG4gIHN0cm9rZUxpbmVjYXA/OiAnYnV0dCcgfCAncm91bmQnIHwgJ3NxdWFyZSc7XG4gIHN0cm9rZUxpbmVqb2luPzogJ21pdGVyJyB8ICdyb3VuZCcgfCAnYmV2ZWwnO1xuICBba2V5OiBzdHJpbmddOi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1xuICBzdHJva2VXaWR0aD86IG51bWJlcjtcbiAgYWJzb2x1dGVTdHJva2VXaWR0aD86IGJvb2xlYW47XG4gIGljb246IEljb25TdmdPYmplY3Q7XG4gIGFsdEljb24/OiBJY29uU3ZnT2JqZWN0O1xuICBjb2xvcj86IHN0cmluZztcbiAgY2xhc3M/OiBzdHJpbmc7XG4gIHNob3dBbHQ/OiBib29sZWFuO1xufSAiXX0=
@@ -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
- /** Icon SVG object type - tuple of [element name, attributes] */
14
- export type IconSvgObject = readonly (readonly [string, SvgPathAttributes])[];
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.5",
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
+ }