@hero-design/rn 8.63.3 → 8.63.4-alpha.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.
@@ -36,7 +36,7 @@ export interface TabsProps extends ViewProps {
36
36
  */
37
37
  barStyle?: StyleProp<ViewStyle>;
38
38
  /**
39
- * Whether inactive screen should be removed and unmounted in React.
39
+ * Whether inactive screen should be removed and unmounted in
40
40
  * Defaults value is `false`.
41
41
  */
42
42
  lazy?: boolean;
@@ -0,0 +1,8 @@
1
+ import { NativeSyntheticEvent } from 'react-native';
2
+ declare const useHandlePageScroll: () => {
3
+ onPageScrollStateChanged: (e: NativeSyntheticEvent<Readonly<{
4
+ pageScrollState: 'idle' | 'dragging' | 'settling';
5
+ }>>) => void;
6
+ hasScrolled: import("react").MutableRefObject<boolean>;
7
+ };
8
+ export default useHandlePageScroll;
@@ -0,0 +1 @@
1
+ export declare const setOrientation: (orientation: 'portrait' | 'landscape') => void;
package/.eslintrc.js DELETED
@@ -1,13 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- parserOptions: {
4
- tsconfigRootDir: __dirname,
5
- project: ['./tsconfig.json'],
6
- },
7
- extends: ['hd', 'plugin:@hero-design/recommendedRn'],
8
- plugins: ['@hero-design', 'import'],
9
- rules: {
10
- 'no-underscore-dangle': [2, { allow: ['__hd__'] }],
11
- 'import/no-cycle': 2,
12
- },
13
- };
@@ -1,5 +0,0 @@
1
- 
2
- src/index.ts → lib/index.js, es/index.js...
3
- (!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.
4
- (!) 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
5
- created lib/index.js, es/index.js in 1m 3s
@@ -1,10 +0,0 @@
1
- {
2
- "overrides": [
3
- {
4
- "files": ["*.ts", "*.tsx"],
5
- "rules": {
6
- "no-underscore-dangle": 0
7
- }
8
- }
9
- ]
10
- }