@hugeicons/react-native 1.0.8 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +30 -1
  2. package/package.json +2 -3
  3. package/CHANGELOG.md +0 -30
package/README.md CHANGED
@@ -96,7 +96,36 @@ function MyComponent() {
96
96
 
97
97
  ## Changelog
98
98
 
99
- See [CHANGELOG.md](./CHANGELOG.md) for a detailed list of changes.
99
+ ### v1.0.9
100
+ - Fixed `slicedToArray is not a function` error on React Native 0.72.x and older versions
101
+ - Improved compatibility with Metro bundler by avoiding ES6 array destructuring on iterables
102
+
103
+ ### v1.0.7
104
+ - Enhanced stroke functionality to apply stroke properties consistently to both parent SVG and child elements
105
+ - Improved stroke width calculation and inheritance across SVG hierarchy
106
+ - Maintained backward compatibility with existing stroke implementations
107
+
108
+ ### v1.0.6
109
+ - Added NativeWind support through `className` prop
110
+ - Icons can now be styled using Tailwind CSS classes when NativeWind is installed
111
+ - Maintained backward compatibility for non-NativeWind users
112
+ - Enhanced TypeScript types for NativeWind support
113
+
114
+ ### v1.0.3
115
+ - Added `absoluteStrokeWidth` prop for consistent stroke width scaling
116
+ - Improved stroke width handling by applying it at the SVG level
117
+ - Enhanced TypeScript types and documentation
118
+
119
+ ### v1.0.2
120
+ - Added `altIcon` prop for alternate icon support
121
+ - Added `showAlt` prop for conditional icon display
122
+ - Improved TypeScript types and documentation
123
+
124
+ ### v1.0.0
125
+ - Initial release
126
+ - Basic icon rendering functionality
127
+ - Support for customization (size, color, alternate icons)
128
+ - Full TypeScript support
100
129
 
101
130
  ## Examples
102
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hugeicons/react-native",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "HugeIcons Pro React Native Component Library https://hugeicons.com",
5
5
  "homepage": "https://hugeicons.com",
6
6
  "amdName": "hugeicons-pro-react-native",
@@ -9,8 +9,7 @@
9
9
  "types": "./dist/types/index.d.ts",
10
10
  "sideEffects": false,
11
11
  "files": [
12
- "dist",
13
- "CHANGELOG.md"
12
+ "dist"
14
13
  ],
15
14
  "exports": {
16
15
  ".": {
package/CHANGELOG.md DELETED
@@ -1,30 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to `@hugeicons/react-native` will be documented in this file.
4
-
5
- ## [1.0.8] - 2024-12-04
6
-
7
- ### Fixed
8
- - Fixed `slicedToArray is not a function` error on React Native 0.72.x and older versions
9
- - Improved compatibility with Metro bundler by avoiding ES6 array destructuring on iterables
10
-
11
- ## [1.0.7] - 2024-11-XX
12
-
13
- ### Added
14
- - NativeWind v4 support with `cssInterop` integration
15
- - Support for `className` prop when using NativeWind
16
- - `altIcon` and `showAlt` props for icon state switching
17
-
18
- ### Changed
19
- - Simplified component architecture
20
- - Improved TypeScript types
21
-
22
- ## [1.0.6] - 2024-XX-XX
23
-
24
- ### Added
25
- - Initial release of `@hugeicons/react-native`
26
- - `HugeiconsIcon` component for rendering Hugeicons in React Native
27
- - Support for `size`, `color`, `strokeWidth`, and `absoluteStrokeWidth` props
28
- - Full TypeScript support
29
- - Compatible with React Native 0.60.0+
30
-