@hero-design/rn 8.99.3 → 8.99.4

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:3141) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
1
+ (node:3216) 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...
@@ -10,9 +10,9 @@
10
10
     ~~~~~~~~~~~~~~~~~~~
11
11
  
12
12
  (!) [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.
13
- created lib/index.js, es/index.js in 54.3s
13
+ created lib/index.js, es/index.js in 55.1s
14
14
  
15
15
  /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 → ., ....
16
16
  (!) Generated empty chunks
17
17
  "locales/types" and "locales/types"
18
- created ., . in 18.6s
18
+ created ., . in 21.1s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.99.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3869](https://github.com/Thinkei/hero-design/pull/3869) [`462eaeacfd5d72708a0ef90bd3374cf4317ee807`](https://github.com/Thinkei/hero-design/commit/462eaeacfd5d72708a0ef90bd3374cf4317ee807) Thanks [@ttkien](https://github.com/ttkien)! - [Tab.Scroll] change the logic to workaround fix android layout issue android 7 and 8
8
+
3
9
  ## 8.99.3
4
10
 
5
11
  ### Patch Changes
package/es/index.js CHANGED
@@ -20906,7 +20906,9 @@ var ActiveTabIndicator = function ActiveTabIndicator(_ref) {
20906
20906
  });
20907
20907
  };
20908
20908
 
20909
- var isAndroid8 = Platform.OS === 'android' && (Platform.Version === 26 || Platform.Version === 27);
20909
+ // Checks if the platform is Android 7x and 8.x, i.e., API levels 24 to 27 (Android 7.0 to 8.1),
20910
+ // which may require special handling due to known platform-specific issues with layout or styling.
20911
+ var isAndroid8 = Platform.OS === 'android' && Platform.Version >= 24 && Platform.Version <= 27;
20910
20912
  var TabScreen = index$b(View)({
20911
20913
  flex: 1
20912
20914
  });
package/lib/index.js CHANGED
@@ -20935,7 +20935,9 @@ var ActiveTabIndicator = function ActiveTabIndicator(_ref) {
20935
20935
  });
20936
20936
  };
20937
20937
 
20938
- var isAndroid8 = reactNative.Platform.OS === 'android' && (reactNative.Platform.Version === 26 || reactNative.Platform.Version === 27);
20938
+ // Checks if the platform is Android 7x and 8.x, i.e., API levels 24 to 27 (Android 7.0 to 8.1),
20939
+ // which may require special handling due to known platform-specific issues with layout or styling.
20940
+ var isAndroid8 = reactNative.Platform.OS === 'android' && reactNative.Platform.Version >= 24 && reactNative.Platform.Version <= 27;
20939
20941
  var TabScreen = index$b(reactNative.View)({
20940
20942
  flex: 1
20941
20943
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.99.3",
3
+ "version": "8.99.4",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -1,9 +1,10 @@
1
1
  import { Animated, Platform, StyleSheet, View } from 'react-native';
2
2
  import styled from '@emotion/native';
3
3
 
4
+ // Checks if the platform is Android 7x and 8.x, i.e., API levels 24 to 27 (Android 7.0 to 8.1),
5
+ // which may require special handling due to known platform-specific issues with layout or styling.
4
6
  const isAndroid8 =
5
- Platform.OS === 'android' &&
6
- (Platform.Version === 26 || Platform.Version === 27);
7
+ Platform.OS === 'android' && Platform.Version >= 24 && Platform.Version <= 27;
7
8
 
8
9
  const TabScreen = styled(View)({
9
10
  flex: 1,