@atlaskit/react-select 1.3.1 → 1.3.3
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 +16 -0
- package/async/package.json +3 -1
- package/async-creatable/package.json +3 -1
- package/base/package.json +3 -1
- package/creatable/package.json +3 -1
- package/dist/cjs/accessibility/helpers.js +6 -2
- package/dist/es2019/accessibility/helpers.js +6 -2
- package/dist/esm/accessibility/helpers.js +6 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/react-select
|
|
2
2
|
|
|
3
|
+
## 1.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#165531](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165531)
|
|
8
|
+
[`57f451bda8919`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/57f451bda8919) -
|
|
9
|
+
Adds side-effect config to support Compiled css extraction in third-party apps
|
|
10
|
+
|
|
11
|
+
## 1.3.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#163217](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163217)
|
|
16
|
+
[`560d23ab4dfbe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/560d23ab4dfbe) -
|
|
17
|
+
Add null check on safari for SSR
|
|
18
|
+
|
|
3
19
|
## 1.3.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/async/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/async.js",
|
|
4
4
|
"module": "../dist/esm/async.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/async.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/async.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/async-creatable.js",
|
|
4
4
|
"module": "../dist/esm/async-creatable.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/async-creatable.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/async-creatable.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
package/base/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/select.js",
|
|
4
4
|
"module": "../dist/esm/select.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/select.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/select.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
package/creatable/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/creatable.js",
|
|
4
4
|
"module": "../dist/esm/creatable.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/creatable.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/creatable.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
|
@@ -19,8 +19,12 @@ function isIPhone() {
|
|
|
19
19
|
return testPlatform(/^iPhone/i);
|
|
20
20
|
}
|
|
21
21
|
function isSafari() {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
if (typeof window !== 'undefined' && window.navigator != null) {
|
|
23
|
+
var _window$navigator$use2;
|
|
24
|
+
var ua = (_window$navigator$use2 = window.navigator.userAgent) === null || _window$navigator$use2 === void 0 ? void 0 : _window$navigator$use2.toLowerCase();
|
|
25
|
+
return ua ? ua.includes('safari') && !ua.includes('chrome') : false;
|
|
26
|
+
}
|
|
27
|
+
return false;
|
|
24
28
|
}
|
|
25
29
|
function isMac() {
|
|
26
30
|
return testPlatform(/^Mac/i);
|
|
@@ -8,8 +8,12 @@ export function isIPhone() {
|
|
|
8
8
|
return testPlatform(/^iPhone/i);
|
|
9
9
|
}
|
|
10
10
|
export function isSafari() {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
if (typeof window !== 'undefined' && window.navigator != null) {
|
|
12
|
+
var _window$navigator$use2;
|
|
13
|
+
const ua = (_window$navigator$use2 = window.navigator.userAgent) === null || _window$navigator$use2 === void 0 ? void 0 : _window$navigator$use2.toLowerCase();
|
|
14
|
+
return ua ? ua.includes('safari') && !ua.includes('chrome') : false;
|
|
15
|
+
}
|
|
16
|
+
return false;
|
|
13
17
|
}
|
|
14
18
|
export function isMac() {
|
|
15
19
|
return testPlatform(/^Mac/i);
|
|
@@ -8,8 +8,12 @@ export function isIPhone() {
|
|
|
8
8
|
return testPlatform(/^iPhone/i);
|
|
9
9
|
}
|
|
10
10
|
export function isSafari() {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
if (typeof window !== 'undefined' && window.navigator != null) {
|
|
12
|
+
var _window$navigator$use2;
|
|
13
|
+
var ua = (_window$navigator$use2 = window.navigator.userAgent) === null || _window$navigator$use2 === void 0 ? void 0 : _window$navigator$use2.toLowerCase();
|
|
14
|
+
return ua ? ua.includes('safari') && !ua.includes('chrome') : false;
|
|
15
|
+
}
|
|
16
|
+
return false;
|
|
13
17
|
}
|
|
14
18
|
export function isMac() {
|
|
15
19
|
return testPlatform(/^Mac/i);
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import useStateManager from './use-state-manager';
|
|
|
4
4
|
export { default } from './state-manager';
|
|
5
5
|
export { mergeStyles } from './styles';
|
|
6
6
|
export { defaultTheme } from './theme';
|
|
7
|
-
export { createFilter } from './filters';
|
|
7
|
+
export { createFilter, type FilterOptionOption } from './filters';
|
|
8
8
|
export { components } from './components';
|
|
9
9
|
export type SelectInstance<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Select<Option, IsMulti, Group>;
|
|
10
10
|
export type { StateManagerProps as Props } from './use-state-manager';
|
|
@@ -4,7 +4,7 @@ import useStateManager from './use-state-manager';
|
|
|
4
4
|
export { default } from './state-manager';
|
|
5
5
|
export { mergeStyles } from './styles';
|
|
6
6
|
export { defaultTheme } from './theme';
|
|
7
|
-
export { createFilter } from './filters';
|
|
7
|
+
export { createFilter, type FilterOptionOption } from './filters';
|
|
8
8
|
export { components } from './components';
|
|
9
9
|
export type SelectInstance<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Select<Option, IsMulti, Group>;
|
|
10
10
|
export type { StateManagerProps as Props } from './use-state-manager';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-select",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
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",
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
"module": "dist/esm/index.js",
|
|
17
17
|
"module:es2019": "dist/es2019/index.js",
|
|
18
18
|
"types": "dist/types/index.d.ts",
|
|
19
|
-
"sideEffects":
|
|
19
|
+
"sideEffects": [
|
|
20
|
+
"**/*.compiled.css"
|
|
21
|
+
],
|
|
20
22
|
"atlaskit:src": "src/index.tsx",
|
|
21
23
|
"af:exports": {
|
|
22
24
|
".": "./src/index.tsx",
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
"./async-creatable": "./src/async-creatable.tsx"
|
|
27
29
|
},
|
|
28
30
|
"dependencies": {
|
|
29
|
-
"@atlaskit/ds-lib": "^3.
|
|
31
|
+
"@atlaskit/ds-lib": "^3.2.0",
|
|
30
32
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
31
33
|
"@babel/runtime": "^7.0.0",
|
|
32
34
|
"@emotion/react": "^11.7.1",
|