@hero-design/rn 8.102.1 → 8.103.0

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.
@@ -1,4 +1,4 @@
1
- (node:3206) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
1
+ (node:3158) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
2
2
  (Use `node --trace-warnings ...` to show where the warning was created)
3
3
  
4
4
  src/index.ts → lib/index.js, es/index.js...
@@ -15,9 +15,9 @@ node_modules/d3-selection/src/selection/index.js -> node_modules/d3-selection/sr
15
15
     ~~~~~~~~~~~~~~~~~~~
16
16
  
17
17
  (!) [plugin node-resolve] preferring built-in module 'events' over local alternative at '/home/runner/work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning.or passing a function to 'preferBuiltins' to provide more fine-grained control over which built-in modules to prefer.
18
- created lib/index.js, es/index.js in 1m 13s
18
+ created lib/index.js, es/index.js in 1m 13.6s
19
19
  
20
20
  /home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_AU.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_CA.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/index.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/types.ts → ., ....
21
21
  (!) Generated empty chunks
22
22
  "locales/types" and "locales/types"
23
- created ., . in 20.5s
23
+ created ., . in 22.8s
package/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # @hero-design/rn
2
2
 
3
- ## 8.102.1
3
+ ## 8.103.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#4006](https://github.com/Thinkei/hero-design/pull/4006) [`8ba84012be721c8a18a2ba9453b6cde66f8b3e49`](https://github.com/Thinkei/hero-design/commit/8ba84012be721c8a18a2ba9453b6cde66f8b3e49) Thanks [@hieuvo-eh](https://github.com/hieuvo-eh)! - Wrap StyledFABIcon with forwardRef
4
8
 
5
9
  ### Patch Changes
6
10
 
package/es/index.js CHANGED
@@ -22570,7 +22570,9 @@ var ActionItem = function ActionItem(_ref) {
22570
22570
  };
22571
22571
 
22572
22572
  var _excluded$n = ["active"];
22573
- var AnimatedIcons = Animated.createAnimatedComponent(StyledFABIcon);
22573
+ var AnimatedIcons = Animated.createAnimatedComponent(/*#__PURE__*/React__default.forwardRef(function (props, _) {
22574
+ return /*#__PURE__*/React__default.createElement(StyledFABIcon, props);
22575
+ }));
22574
22576
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
22575
22577
  var active = _ref.active,
22576
22578
  iconProps = _objectWithoutProperties(_ref, _excluded$n);
package/lib/index.js CHANGED
@@ -22599,7 +22599,9 @@ var ActionItem = function ActionItem(_ref) {
22599
22599
  };
22600
22600
 
22601
22601
  var _excluded$n = ["active"];
22602
- var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
22602
+ var AnimatedIcons = reactNative.Animated.createAnimatedComponent(/*#__PURE__*/React__namespace.default.forwardRef(function (props, _) {
22603
+ return /*#__PURE__*/React__namespace.default.createElement(StyledFABIcon, props);
22604
+ }));
22603
22605
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
22604
22606
  var active = _ref.active,
22605
22607
  iconProps = _objectWithoutProperties(_ref, _excluded$n);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.102.1",
3
+ "version": "8.103.0",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -3,7 +3,9 @@ import { Animated, Platform, StyleSheet } from 'react-native';
3
3
  import type { IconProps } from '../Icon';
4
4
  import { StyledFABIcon } from './StyledFAB';
5
5
 
6
- const AnimatedIcons = Animated.createAnimatedComponent(StyledFABIcon);
6
+ const AnimatedIcons = Animated.createAnimatedComponent(
7
+ React.forwardRef((props: IconProps, _) => <StyledFABIcon {...props} />)
8
+ );
7
9
 
8
10
  type Props = {
9
11
  active?: boolean;