@atlaskit/react-select 3.9.1 → 3.9.2
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.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/utils.js +2 -2
- package/dist/es2019/utils.js +2 -2
- package/dist/esm/utils.js +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/react-select
|
|
2
2
|
|
|
3
|
+
## 3.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
|
|
8
|
+
Internal refactors to remove unused variables. No functional or public changes.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 3.9.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/utils.js
CHANGED
|
@@ -274,7 +274,7 @@ function isTouchCapable() {
|
|
|
274
274
|
try {
|
|
275
275
|
document.createEvent('TouchEvent');
|
|
276
276
|
return true;
|
|
277
|
-
} catch (
|
|
277
|
+
} catch (_unused) {
|
|
278
278
|
return false;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
@@ -286,7 +286,7 @@ function isTouchCapable() {
|
|
|
286
286
|
function isMobileDevice() {
|
|
287
287
|
try {
|
|
288
288
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
289
|
-
} catch (
|
|
289
|
+
} catch (_unused2) {
|
|
290
290
|
return false;
|
|
291
291
|
}
|
|
292
292
|
}
|
package/dist/es2019/utils.js
CHANGED
|
@@ -239,7 +239,7 @@ export function isTouchCapable() {
|
|
|
239
239
|
try {
|
|
240
240
|
document.createEvent('TouchEvent');
|
|
241
241
|
return true;
|
|
242
|
-
} catch
|
|
242
|
+
} catch {
|
|
243
243
|
return false;
|
|
244
244
|
}
|
|
245
245
|
}
|
|
@@ -251,7 +251,7 @@ export function isTouchCapable() {
|
|
|
251
251
|
export function isMobileDevice() {
|
|
252
252
|
try {
|
|
253
253
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
254
|
-
} catch
|
|
254
|
+
} catch {
|
|
255
255
|
return false;
|
|
256
256
|
}
|
|
257
257
|
}
|
package/dist/esm/utils.js
CHANGED
|
@@ -247,7 +247,7 @@ export function isTouchCapable() {
|
|
|
247
247
|
try {
|
|
248
248
|
document.createEvent('TouchEvent');
|
|
249
249
|
return true;
|
|
250
|
-
} catch (
|
|
250
|
+
} catch (_unused) {
|
|
251
251
|
return false;
|
|
252
252
|
}
|
|
253
253
|
}
|
|
@@ -259,7 +259,7 @@ export function isTouchCapable() {
|
|
|
259
259
|
export function isMobileDevice() {
|
|
260
260
|
try {
|
|
261
261
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
262
|
-
} catch (
|
|
262
|
+
} catch (_unused2) {
|
|
263
263
|
return false;
|
|
264
264
|
}
|
|
265
265
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-select",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.2",
|
|
4
4
|
"description": "A forked version of react-select to only be used in atlaskit/select",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
],
|
|
21
21
|
"atlaskit:src": "src/index.tsx",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaskit/ds-lib": "^5.
|
|
23
|
+
"@atlaskit/ds-lib": "^5.3.0",
|
|
24
24
|
"@atlaskit/icon": "^29.0.0",
|
|
25
25
|
"@atlaskit/layering": "^3.4.0",
|
|
26
26
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
27
|
-
"@atlaskit/primitives": "^16.
|
|
27
|
+
"@atlaskit/primitives": "^16.4.0",
|
|
28
28
|
"@atlaskit/spinner": "^19.0.0",
|
|
29
|
-
"@atlaskit/tokens": "^8.
|
|
29
|
+
"@atlaskit/tokens": "^8.4.0",
|
|
30
30
|
"@babel/runtime": "^7.0.0",
|
|
31
31
|
"@compiled/react": "^0.18.6",
|
|
32
32
|
"@floating-ui/dom": "^1.0.1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@atlaskit/checkbox": "^17.1.0",
|
|
42
|
-
"@atlaskit/form": "^14.
|
|
42
|
+
"@atlaskit/form": "^14.3.0",
|
|
43
43
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
44
44
|
"@testing-library/react": "^13.4.0",
|
|
45
45
|
"@testing-library/user-event": "^14.4.3",
|