@atlaskit/select 21.9.0 → 21.10.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.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/components/input-options.compiled.css +1 -1
- package/dist/cjs/components/input-options.js +1 -1
- package/dist/cjs/entry-points/react-select.js +24 -0
- package/dist/cjs/entry-points/use-async.js +12 -0
- package/dist/cjs/entry-points/use-creatable.js +12 -0
- package/dist/cjs/index.js +5 -5
- package/dist/es2019/components/input-options.compiled.css +1 -1
- package/dist/es2019/components/input-options.js +1 -1
- package/dist/es2019/entry-points/react-select.js +1 -0
- package/dist/es2019/entry-points/use-async.js +1 -0
- package/dist/es2019/entry-points/use-creatable.js +1 -0
- package/dist/es2019/index.js +3 -3
- package/dist/esm/components/input-options.compiled.css +1 -1
- package/dist/esm/components/input-options.js +1 -1
- package/dist/esm/entry-points/react-select.js +1 -0
- package/dist/esm/entry-points/use-async.js +1 -0
- package/dist/esm/entry-points/use-creatable.js +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/types/entry-points/react-select.d.ts +1 -0
- package/dist/types/entry-points/use-async.d.ts +1 -0
- package/dist/types/entry-points/use-creatable.d.ts +1 -0
- package/dist/types/index.d.ts +3 -3
- package/dist/types-ts4.5/entry-points/react-select.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/use-async.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/use-creatable.d.ts +1 -0
- package/dist/types-ts4.5/index.d.ts +3 -3
- package/package.json +3 -3
- package/react-select/package.json +17 -0
- package/use-async/package.json +17 -0
- package/use-creatable/package.json +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 21.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e2085d35701ca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e2085d35701ca) -
|
|
8
|
+
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 21.10.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`c4633b96ea393`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c4633b96ea393) -
|
|
16
|
+
Autofix: add explicit package exports (barrel removal)
|
|
17
|
+
|
|
3
18
|
## 21.9.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
._lcxvglyw{pointer-events:none}
|
|
28
28
|
._lswuvuon{fill:var(--ds-surface,#fff)}
|
|
29
29
|
._o5721q9c{white-space:nowrap}
|
|
30
|
-
.
|
|
30
|
+
._syaz1gmx{color:var(--ds-text-disabled,#080f214a)}
|
|
31
31
|
._syaz1kw7{color:inherit}
|
|
32
32
|
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
33
33
|
._vchhusvi{box-sizing:border-box}
|
|
@@ -17,7 +17,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
17
17
|
var optionStyles = {
|
|
18
18
|
default: "_1e0c1txw _4cvr1h6o _1bsb1osq _uiztglyw _18ql1j7p _vchhusvi _85i51b66 _1q511b66 _bozgpxbi _y4tiutpp _bfhk1j28 _16qs1kw7 _syaz1kw7 _1di6fcek",
|
|
19
19
|
focused: "_bfhk1dpa _16qsgkog _112e5u6v",
|
|
20
|
-
disabled: "
|
|
20
|
+
disabled: "_syaz1gmx"
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
// state of the parent option
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "components", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _reactSelect.components;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "createFilter", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _reactSelect.createFilter;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "mergeStyles", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _reactSelect.mergeStyles;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
var _reactSelect = require("@atlaskit/react-select");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "useAsync", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _async.useAsync;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _async = require("@atlaskit/react-select/async");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "useCreatable", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _creatable.useCreatable;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _creatable = require("@atlaskit/react-select/creatable");
|
package/dist/cjs/index.js
CHANGED
|
@@ -98,18 +98,18 @@ Object.defineProperty(exports, "mergeStyles", {
|
|
|
98
98
|
Object.defineProperty(exports, "useAsync", {
|
|
99
99
|
enumerable: true,
|
|
100
100
|
get: function get() {
|
|
101
|
-
return
|
|
101
|
+
return _useAsync.useAsync;
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "useCreatable", {
|
|
105
105
|
enumerable: true,
|
|
106
106
|
get: function get() {
|
|
107
|
-
return
|
|
107
|
+
return _useCreatable.useCreatable;
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
var _reactSelect = require("
|
|
111
|
-
var
|
|
112
|
-
var
|
|
110
|
+
var _reactSelect = require("./entry-points/react-select");
|
|
111
|
+
var _useAsync = require("./entry-points/use-async");
|
|
112
|
+
var _useCreatable = require("./entry-points/use-creatable");
|
|
113
113
|
var _inputOptions = require("./components/input-options");
|
|
114
114
|
var _select = _interopRequireWildcard(require("./entry-points/select"));
|
|
115
115
|
var _asyncSelect = _interopRequireDefault(require("./entry-points/async-select"));
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
._lcxvglyw{pointer-events:none}
|
|
28
28
|
._lswuvuon{fill:var(--ds-surface,#fff)}
|
|
29
29
|
._o5721q9c{white-space:nowrap}
|
|
30
|
-
.
|
|
30
|
+
._syaz1gmx{color:var(--ds-text-disabled,#080f214a)}
|
|
31
31
|
._syaz1kw7{color:inherit}
|
|
32
32
|
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
33
33
|
._vchhusvi{box-sizing:border-box}
|
|
@@ -7,7 +7,7 @@ import { useCallback, useMemo, useState } from 'react';
|
|
|
7
7
|
const optionStyles = {
|
|
8
8
|
default: "_1e0c1txw _4cvr1h6o _1bsb1osq _uiztglyw _18ql1j7p _vchhusvi _85i51b66 _1q511b66 _bozgpxbi _y4tiutpp _bfhk1j28 _16qs1kw7 _syaz1kw7 _1di6fcek",
|
|
9
9
|
focused: "_bfhk1dpa _16qsgkog _112e5u6v",
|
|
10
|
-
disabled: "
|
|
10
|
+
disabled: "_syaz1gmx"
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
// state of the parent option
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { components, createFilter, mergeStyles } from '@atlaskit/react-select';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useAsync } from '@atlaskit/react-select/async';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useCreatable } from '@atlaskit/react-select/creatable';
|
package/dist/es2019/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { components, createFilter, mergeStyles } from '
|
|
2
|
-
export { useAsync } from '
|
|
3
|
-
export { useCreatable } from '
|
|
1
|
+
export { components, createFilter, mergeStyles } from './entry-points/react-select';
|
|
2
|
+
export { useAsync } from './entry-points/use-async';
|
|
3
|
+
export { useCreatable } from './entry-points/use-creatable';
|
|
4
4
|
export { CheckboxOption, RadioOption } from './components/input-options';
|
|
5
5
|
export { default, SelectWithoutAnalytics } from './entry-points/select';
|
|
6
6
|
export { default as AsyncSelect } from './entry-points/async-select';
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
._lcxvglyw{pointer-events:none}
|
|
28
28
|
._lswuvuon{fill:var(--ds-surface,#fff)}
|
|
29
29
|
._o5721q9c{white-space:nowrap}
|
|
30
|
-
.
|
|
30
|
+
._syaz1gmx{color:var(--ds-text-disabled,#080f214a)}
|
|
31
31
|
._syaz1kw7{color:inherit}
|
|
32
32
|
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
33
33
|
._vchhusvi{box-sizing:border-box}
|
|
@@ -8,7 +8,7 @@ import { useCallback, useMemo, useState } from 'react';
|
|
|
8
8
|
var optionStyles = {
|
|
9
9
|
default: "_1e0c1txw _4cvr1h6o _1bsb1osq _uiztglyw _18ql1j7p _vchhusvi _85i51b66 _1q511b66 _bozgpxbi _y4tiutpp _bfhk1j28 _16qs1kw7 _syaz1kw7 _1di6fcek",
|
|
10
10
|
focused: "_bfhk1dpa _16qsgkog _112e5u6v",
|
|
11
|
-
disabled: "
|
|
11
|
+
disabled: "_syaz1gmx"
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
// state of the parent option
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { components, createFilter, mergeStyles } from '@atlaskit/react-select';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useAsync } from '@atlaskit/react-select/async';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useCreatable } from '@atlaskit/react-select/creatable';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { components, createFilter, mergeStyles } from '
|
|
2
|
-
export { useAsync } from '
|
|
3
|
-
export { useCreatable } from '
|
|
1
|
+
export { components, createFilter, mergeStyles } from './entry-points/react-select';
|
|
2
|
+
export { useAsync } from './entry-points/use-async';
|
|
3
|
+
export { useCreatable } from './entry-points/use-creatable';
|
|
4
4
|
export { CheckboxOption, RadioOption } from './components/input-options';
|
|
5
5
|
export { default, SelectWithoutAnalytics } from './entry-points/select';
|
|
6
6
|
export { default as AsyncSelect } from './entry-points/async-select';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { components, createFilter, mergeStyles, type CSSObjectWithLabel, } from '@atlaskit/react-select';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useAsync } from '@atlaskit/react-select/async';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useCreatable } from '@atlaskit/react-select/creatable';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { components, createFilter, mergeStyles, type CSSObjectWithLabel, } from '
|
|
2
|
-
export { useAsync } from '
|
|
3
|
-
export { useCreatable } from '
|
|
1
|
+
export { components, createFilter, mergeStyles, type CSSObjectWithLabel, } from './entry-points/react-select';
|
|
2
|
+
export { useAsync } from './entry-points/use-async';
|
|
3
|
+
export { useCreatable } from './entry-points/use-creatable';
|
|
4
4
|
export { CheckboxOption, RadioOption } from './components/input-options';
|
|
5
5
|
export { default, SelectWithoutAnalytics } from './entry-points/select';
|
|
6
6
|
export { default as AsyncSelect } from './entry-points/async-select';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { components, createFilter, mergeStyles, type CSSObjectWithLabel, } from '@atlaskit/react-select';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useAsync } from '@atlaskit/react-select/async';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useCreatable } from '@atlaskit/react-select/creatable';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { components, createFilter, mergeStyles, type CSSObjectWithLabel, } from '
|
|
2
|
-
export { useAsync } from '
|
|
3
|
-
export { useCreatable } from '
|
|
1
|
+
export { components, createFilter, mergeStyles, type CSSObjectWithLabel, } from './entry-points/react-select';
|
|
2
|
+
export { useAsync } from './entry-points/use-async';
|
|
3
|
+
export { useCreatable } from './entry-points/use-creatable';
|
|
4
4
|
export { CheckboxOption, RadioOption } from './components/input-options';
|
|
5
5
|
export { default, SelectWithoutAnalytics } from './entry-points/select';
|
|
6
6
|
export { default as AsyncSelect } from './entry-points/async-select';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.10.1",
|
|
4
4
|
"description": "Select allows users to make a single selection or multiple selections from a list of options.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
36
36
|
"@atlaskit/ds-lib": "^6.0.0",
|
|
37
|
-
"@atlaskit/icon": "^
|
|
37
|
+
"@atlaskit/icon": "^34.0.0",
|
|
38
38
|
"@atlaskit/layering": "^3.6.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/primitives": "^18.1.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@atlaskit/form": "^15.5.0",
|
|
66
66
|
"@atlaskit/link": "^3.3.0",
|
|
67
67
|
"@atlaskit/logo": "^19.10.0",
|
|
68
|
-
"@atlaskit/modal-dialog": "^14.
|
|
68
|
+
"@atlaskit/modal-dialog": "^14.14.0",
|
|
69
69
|
"@atlaskit/radio": "^8.4.0",
|
|
70
70
|
"@atlaskit/section-message": "^8.12.0",
|
|
71
71
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/select/react-select",
|
|
3
|
+
"main": "../dist/cjs/entry-points/react-select.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/react-select.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/react-select.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/react-select.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/react-select.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/select/use-async",
|
|
3
|
+
"main": "../dist/cjs/entry-points/use-async.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/use-async.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/use-async.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/use-async.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/use-async.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/select/use-creatable",
|
|
3
|
+
"main": "../dist/cjs/entry-points/use-creatable.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/use-creatable.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/use-creatable.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/use-creatable.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/use-creatable.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|