@geotab/zenith 3.0.1-beta.3 → 3.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.
@@ -47,9 +47,6 @@ const SelectList = (_a) => {
47
47
  dispatchState({ type: selectList_actionTypes_1.ListAction.Reset, payload: { items, value: new Map(parsedValue), multiselect } });
48
48
  }, [innerValue, multiselect, items]);
49
49
  (0, react_2.useEffect)(() => {
50
- if (selectItemOnFocus) {
51
- return;
52
- }
53
50
  if (!multiselect) {
54
51
  dispatchState({ type: selectList_actionTypes_1.ListAction.FocusFirst, payload: { items } });
55
52
  }
@@ -44,9 +44,6 @@ export const SelectList = (_a) => {
44
44
  dispatchState({ type: ListAction.Reset, payload: { items, value: new Map(parsedValue), multiselect } });
45
45
  }, [innerValue, multiselect, items]);
46
46
  useEffect(() => {
47
- if (selectItemOnFocus) {
48
- return;
49
- }
50
47
  if (!multiselect) {
51
48
  dispatchState({ type: ListAction.FocusFirst, payload: { items } });
52
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geotab/zenith",
3
- "version": "3.0.1-beta.3",
3
+ "version": "3.0.1",
4
4
  "description": "Zenith components library on React",
5
5
  "main": "dist/index.js",
6
6
  "types": "esm/index.d.ts",
@@ -11,9 +11,6 @@
11
11
  "**/react-chartjs/dateAdapter.ts",
12
12
  "**/react-chartjs/dateAdapter.js"
13
13
  ],
14
- "publishConfig": {
15
- "access": "public"
16
- },
17
14
  "scripts": {
18
15
  "test": "npm run clean && npm run test-build && jest",
19
16
  "start": "npm run storybook --loglevel verbose",
@@ -45,6 +42,7 @@
45
42
  "@babel/preset-env": "^7.24.3",
46
43
  "@babel/preset-react": "^7.24.1",
47
44
  "@babel/preset-typescript": "^7.24.1",
45
+ "@storybook/addon-docs": "^9.1.15",
48
46
  "@storybook/addon-links": "^9.1.15",
49
47
  "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
50
48
  "@storybook/react-webpack5": "^9.1.15",
@@ -71,8 +69,7 @@
71
69
  "style-loader": "^4.0.0",
72
70
  "typescript": "^5.4.3",
73
71
  "webpack": "^5.96.1",
74
- "xml2js": "^0.6.0",
75
- "@storybook/addon-docs": "^9.1.15"
72
+ "xml2js": "^0.6.0"
76
73
  },
77
74
  "dependencies": {
78
75
  "chart.js": "^4.4.6",
@@ -99,5 +96,8 @@
99
96
  "last 1 firefox version",
100
97
  "last 1 safari version"
101
98
  ]
99
+ },
100
+ "publishConfig": {
101
+ "access": "public"
102
102
  }
103
103
  }