@boomerang-io/carbon-addons-boomerang-react 4.6.14-beta.15 → 4.6.14-beta.17
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.
|
@@ -100,7 +100,7 @@ function HeaderTeamSwitcher({ analyticsHelpers, baseServicesUrl, createJoinTeamT
|
|
|
100
100
|
};
|
|
101
101
|
const handleNoTeamsToSelect = async () => {
|
|
102
102
|
const body = {
|
|
103
|
-
teamInstanceSwitcherDefault:
|
|
103
|
+
teamInstanceSwitcherDefault: null,
|
|
104
104
|
};
|
|
105
105
|
await mutateUserProfile({ baseServicesUrl, body });
|
|
106
106
|
};
|
|
@@ -148,7 +148,7 @@ function HeaderTeamSwitcher({ analyticsHelpers, baseServicesUrl, createJoinTeamT
|
|
|
148
148
|
teamsQuery?.data?.personalTeam?.length === 0))) {
|
|
149
149
|
handleNoTeamsToSelect();
|
|
150
150
|
}
|
|
151
|
-
else if (userTeamInstanceSwitcherDefault === null
|
|
151
|
+
else if (userTeamInstanceSwitcherDefault === null) {
|
|
152
152
|
setSelectedTeam(null);
|
|
153
153
|
}
|
|
154
154
|
}, [
|
|
@@ -91,7 +91,7 @@ function HeaderTeamSwitcher({ analyticsHelpers, baseServicesUrl, createJoinTeamT
|
|
|
91
91
|
};
|
|
92
92
|
const handleNoTeamsToSelect = async () => {
|
|
93
93
|
const body = {
|
|
94
|
-
teamInstanceSwitcherDefault:
|
|
94
|
+
teamInstanceSwitcherDefault: null,
|
|
95
95
|
};
|
|
96
96
|
await mutateUserProfile({ baseServicesUrl, body });
|
|
97
97
|
};
|
|
@@ -139,7 +139,7 @@ function HeaderTeamSwitcher({ analyticsHelpers, baseServicesUrl, createJoinTeamT
|
|
|
139
139
|
teamsQuery?.data?.personalTeam?.length === 0))) {
|
|
140
140
|
handleNoTeamsToSelect();
|
|
141
141
|
}
|
|
142
|
-
else if (userTeamInstanceSwitcherDefault === null
|
|
142
|
+
else if (userTeamInstanceSwitcherDefault === null) {
|
|
143
143
|
setSelectedTeam(null);
|
|
144
144
|
}
|
|
145
145
|
}, [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boomerang-io/carbon-addons-boomerang-react",
|
|
3
3
|
"description": "Carbon Addons for Boomerang apps",
|
|
4
|
-
"version": "4.6.14-beta.
|
|
4
|
+
"version": "4.6.14-beta.17",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Tim Bula",
|
|
7
7
|
"email": "timrbula@gmail.com"
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"build": "rimraf scss dist && pnpm build:components && pnpm build:styles && pnpm build:types",
|
|
35
35
|
"build:components": "rollup -c --bundleConfigAsCjs",
|
|
36
36
|
"build:styles": "node scripts/build.js",
|
|
37
|
-
"build:storybook": "build
|
|
37
|
+
"build:storybook": "storybook build",
|
|
38
38
|
"build:types": "tsup src/index.ts --dts-only --clean --outDir dist/types",
|
|
39
39
|
"lint": "eslint src",
|
|
40
40
|
"prepare": "husky install",
|
|
41
41
|
"precommit": "lint-staged",
|
|
42
|
-
"start": "
|
|
42
|
+
"start": "storybook dev -p 6006",
|
|
43
43
|
"test": "vitest",
|
|
44
44
|
"test:coverage": "vitest run --coverage",
|
|
45
45
|
"test:staged": "cross-env CI=true vitest related --passWithNoTests",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"@carbon/react": "^1.75.0",
|
|
74
|
-
"axios": "^1.
|
|
74
|
+
"axios": "^1.13.3",
|
|
75
75
|
"formik": "^2.4.6",
|
|
76
76
|
"react": "^17.0.0 || ^16.14.0",
|
|
77
77
|
"react-dom": "^17.0.0 || ^16.14.0",
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
89
89
|
"@rollup/plugin-terser": "^0.2.0",
|
|
90
90
|
"@rollup/plugin-typescript": "^10.0.1",
|
|
91
|
-
"@storybook/addon-a11y": "
|
|
92
|
-
"@storybook/addon-essentials": "
|
|
93
|
-
"@storybook/addon-links": "
|
|
94
|
-
"@storybook/addon-storysource": "
|
|
95
|
-
"@storybook/
|
|
96
|
-
"@storybook/react": "
|
|
91
|
+
"@storybook/addon-a11y": "7.6.21",
|
|
92
|
+
"@storybook/addon-essentials": "7.6.21",
|
|
93
|
+
"@storybook/addon-links": "7.6.21",
|
|
94
|
+
"@storybook/addon-storysource": "7.6.21",
|
|
95
|
+
"@storybook/react": "7.6.21",
|
|
96
|
+
"@storybook/react-vite": "7.6.21",
|
|
97
97
|
"@storybook/testing-library": "^0.0.13",
|
|
98
98
|
"@testing-library/jest-dom": "^5.16.5",
|
|
99
99
|
"@testing-library/react": "^12.1.5",
|
|
@@ -111,13 +111,14 @@
|
|
|
111
111
|
"@types/sanitize-html": "^2.13.0",
|
|
112
112
|
"@types/testing-library__jest-dom": "^5.14.5",
|
|
113
113
|
"@vitejs/plugin-react": "^4.3.0",
|
|
114
|
-
"axios": "^1.
|
|
114
|
+
"axios": "^1.13.3",
|
|
115
115
|
"axios-mock-adapter": "^1.20.0",
|
|
116
116
|
"cpy": "8.1.2",
|
|
117
117
|
"cross-env": "^7.0.3",
|
|
118
118
|
"eslint": "^8.19.0",
|
|
119
119
|
"eslint-config-react-app": "^7.0.1",
|
|
120
120
|
"eslint-plugin-jsx-a11y": "^6.6.0",
|
|
121
|
+
"eslint-plugin-storybook": "^10.2.0",
|
|
121
122
|
"formik": "^2.4.6",
|
|
122
123
|
"husky": "^8.0.1",
|
|
123
124
|
"in-publish": "^2.0.1",
|
|
@@ -131,16 +132,34 @@
|
|
|
131
132
|
"react-router-dom": "^5.3.0",
|
|
132
133
|
"release-it": "^15.4.2",
|
|
133
134
|
"rimraf": "^3.0.2",
|
|
134
|
-
"rollup": "^3.
|
|
135
|
+
"rollup": "^3.29.5",
|
|
135
136
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
136
137
|
"sass": "^1.77.2",
|
|
137
|
-
"storybook": "
|
|
138
|
+
"storybook": "7.6.21",
|
|
138
139
|
"tsup": "^6.5.0",
|
|
139
140
|
"typescript": "^4.6.3",
|
|
140
|
-
"vite": "^5.
|
|
141
|
-
"vitest": "1.6.
|
|
141
|
+
"vite": "^5.4.21",
|
|
142
|
+
"vitest": "1.6.1",
|
|
142
143
|
"yup": "^0.32.11"
|
|
143
144
|
},
|
|
145
|
+
"pnpm": {
|
|
146
|
+
"overrides": {
|
|
147
|
+
"body-parser": "1.20.3",
|
|
148
|
+
"braces": "3.0.3",
|
|
149
|
+
"cross-spawn": "7.0.5",
|
|
150
|
+
"glob@10": "10.5.0",
|
|
151
|
+
"qs": "6.14.1",
|
|
152
|
+
"path-to-regexp@0.1": "0.1.12",
|
|
153
|
+
"path-to-regexp@0": "1.9.0",
|
|
154
|
+
"path-to-regexp@1": "1.9.0",
|
|
155
|
+
"rollup@3": "3.29.5",
|
|
156
|
+
"rollup@4": "4.22.4",
|
|
157
|
+
"semver@7": "7.5.2",
|
|
158
|
+
"tar": "7.5.6",
|
|
159
|
+
"ws@6": "6.2.3",
|
|
160
|
+
"ws@8": "8.17.1"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
144
163
|
"lint-staged": {
|
|
145
164
|
"src/**/*": "prettier --write --ignore-unknown",
|
|
146
165
|
"src/**/*.{js,jsx,ts,tsx}": [
|