@dgui/react-native-shared 1.0.0 → 1.0.1

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.
@@ -24,8 +24,8 @@ const DrawerBar = () => {
24
24
  return ((0, jsx_runtime_1.jsx)(NativeBaseTabBar_1.NativeBaseTabBarTab, { onSelectTab: handleSelectDrawer, tabId: tabId, tabIndex: index }, tabId));
25
25
  });
26
26
  }, [
27
- handleSelectDrawer,
28
- drawerOrder
27
+ drawerOrder,
28
+ handleSelectDrawer
29
29
  ]);
30
30
  return ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.drawerBar, children: (0, jsx_runtime_1.jsx)(NativeBaseTabBar_1.NativeBaseTabBar, { children: tabs }) }));
31
31
  };
@@ -20,7 +20,6 @@ const styles = react_native_1.StyleSheet.create({
20
20
  },
21
21
  drawer: {
22
22
  backgroundColor: '#EEE',
23
- boxShadow: '0 0 10px 5px rgba(0, 0, 0, 0.1)',
24
23
  elevation: 12,
25
24
  height: '100%',
26
25
  position: 'absolute',
@@ -11,8 +11,8 @@ const NativeBaseTabBarTab = ({ onSelectTab, tabId, tabIndex, tabTitle }) => {
11
11
  onSelectTab(tabIndex, tabId);
12
12
  }, [
13
13
  onSelectTab,
14
- tabIndex,
15
- tabId
14
+ tabId,
15
+ tabIndex
16
16
  ]);
17
17
  return ((0, jsx_runtime_1.jsx)(NativeBaseButton_1.default, { onPress: handlePress, title: tabTitle || tabId }));
18
18
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dgui/react-native-shared",
3
3
  "title": "Digested React GUI Native Shared Components",
4
4
  "license": "LGPL-3.0-or-later",
5
- "version": "1.0.0",
5
+ "version": "1.0.1",
6
6
  "private": false,
7
7
  "description": "Native Shared Components for a boilerplate React GUI",
8
8
  "author": "wallzero @wallzeroblog (http://wallzero.com)",
@@ -39,38 +39,37 @@
39
39
  "lint:es": "eslint --resolve-plugins-relative-to . 'src/**/*.[jt]s?(x)' --ignore-pattern 'src/**/*.(d.ts|json)'",
40
40
  "clean": "run-s clean:dist clean:node_modules",
41
41
  "clean:node_modules": "rimraf node_modules yarn.lock package-lock.json",
42
- "clean:dist": "rimraf dist",
43
- "set:version": "npm version --allow-same-version --no-commit-hooks --no-git-tag-version --no-workspaces-update $(npm --silent view $(node -p \"require('./package.json').name\") version)"
42
+ "clean:dist": "rimraf dist"
44
43
  },
45
44
  "devDependencies": {
46
- "@digest/eslint-config-jest": "^4.2.5",
47
- "@digest/eslint-config-react": "^4.2.5",
48
- "@digest/eslint-config-typescript": "^4.2.5",
49
- "@digest/jest-junit": "^4.2.5",
50
- "@digest/jest-react": "^4.2.5",
51
- "@digest/jest-typescript": "^4.2.5",
52
- "@digest/typescript": "^4.2.5",
53
- "@types/jest": "^29.5.3",
54
- "@types/lodash.debounce": "^4.0.7",
55
- "@types/react": "^18.2.17",
56
- "@types/react-native": "^0.72.2",
57
- "@types/react-test-renderer": "^18.0.0",
45
+ "@digest/eslint-config-jest": "^4.3.0",
46
+ "@digest/eslint-config-react": "^4.3.0",
47
+ "@digest/eslint-config-typescript": "^4.3.0",
48
+ "@digest/jest-junit": "^4.3.0",
49
+ "@digest/jest-react": "^4.3.0",
50
+ "@digest/jest-typescript": "^4.3.0",
51
+ "@digest/typescript": "^4.3.0",
52
+ "@types/jest": "^29.5.12",
53
+ "@types/lodash.debounce": "^4.0.9",
54
+ "@types/react": "^18.2.55",
55
+ "@types/react-native": "^0.73.0",
56
+ "@types/react-test-renderer": "^18.0.7",
58
57
  "cross-env": "^7.0.3",
59
- "jest-environment-jsdom": "^29.6.2",
58
+ "jest-environment-jsdom": "^29.7.0",
60
59
  "jest-environment-jsdom-global": "^4.0.0",
61
60
  "npm-run-all": "^4.1.5",
62
61
  "react": "^18.2.0",
63
- "react-native": "^0.72.3",
62
+ "react-native": "^0.73.4",
64
63
  "react-test-renderer": "^18.2.0",
65
- "rimraf": "^5.0.1"
64
+ "rimraf": "^5.0.5"
66
65
  },
67
66
  "dependencies": {
68
- "@dgui/react-shared": "^1.0.0",
67
+ "@dgui/react-shared": "^0.8.0",
69
68
  "lodash.debounce": "^4.0.8"
70
69
  },
71
70
  "peerDependencies": {
72
71
  "react": "^16.0.0 || ^17.0.0 || ^18.0.0",
73
- "react-native": "^0.72.0"
72
+ "react-native": "^0.73.0"
74
73
  },
75
74
  "keywords": [
76
75
  "digest",
@@ -80,5 +79,5 @@
80
79
  "react-native",
81
80
  "typescript"
82
81
  ],
83
- "gitHead": "ac0d0964d66c9c11f50b625d5ca5aec4e20bb72a"
82
+ "gitHead": "a9678d8273d410633713c0d92dd79629597b40fb"
84
83
  }