@atlaskit/select 15.2.0 → 15.2.4
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 +26 -0
- package/dist/cjs/PopupSelect/PopupSelect.js +4 -0
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/styles.js +4 -4
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/PopupSelect/PopupSelect.js +4 -0
- package/dist/es2019/Select.js +1 -1
- package/dist/es2019/styles.js +4 -4
- package/dist/es2019/version.json +1 -1
- package/dist/esm/PopupSelect/PopupSelect.js +4 -0
- package/dist/esm/Select.js +1 -1
- package/dist/esm/styles.js +4 -4
- package/dist/esm/version.json +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 15.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`401179b652b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/401179b652b) - PopupSelect now returns focus to the "trigger" element on close.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 15.2.3
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
15
|
+
|
|
16
|
+
## 15.2.2
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [`6fb4421c4c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6fb4421c4c1) - Fixed the validation token for Select in the Dark theme.
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
23
|
+
## 15.2.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
3
29
|
## 15.2.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/dist/cjs/Select.js
CHANGED
|
@@ -14,7 +14,7 @@ var _analyticsNext = require("@atlaskit/analytics-next");
|
|
|
14
14
|
var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
15
15
|
|
|
16
16
|
var packageName = "@atlaskit/select";
|
|
17
|
-
var packageVersion = "15.2.
|
|
17
|
+
var packageVersion = "15.2.4";
|
|
18
18
|
var SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
|
|
19
19
|
exports.SelectWithoutAnalytics = SelectWithoutAnalytics;
|
|
20
20
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
package/dist/cjs/styles.js
CHANGED
|
@@ -53,21 +53,21 @@ function baseStyles(validationState, isCompact) {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
if (validationState === 'error') {
|
|
56
|
-
borderColor = (0, _tokens.token)('color.
|
|
56
|
+
borderColor = (0, _tokens.token)('color.iconBorder.danger', _colors.R400);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
if (validationState === 'success') {
|
|
60
|
-
borderColor = (0, _tokens.token)('color.
|
|
60
|
+
borderColor = (0, _tokens.token)('color.iconBorder.success', _colors.G400);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
var borderColorHover = isFocused ? (0, _tokens.token)('color.border.focus', _colors.B100) : (0, _tokens.token)('color.border.neutral', _colors.N30);
|
|
64
64
|
|
|
65
65
|
if (validationState === 'error') {
|
|
66
|
-
borderColorHover = (0, _tokens.token)('color.
|
|
66
|
+
borderColorHover = (0, _tokens.token)('color.iconBorder.danger', _colors.R400);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
if (validationState === 'success') {
|
|
70
|
-
borderColorHover = (0, _tokens.token)('color.
|
|
70
|
+
borderColorHover = (0, _tokens.token)('color.iconBorder.success', _colors.G400);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
var transitionDuration = '200ms';
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/Select.js
CHANGED
|
@@ -2,7 +2,7 @@ import Select from 'react-select';
|
|
|
2
2
|
import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import createSelect from './createSelect';
|
|
4
4
|
const packageName = "@atlaskit/select";
|
|
5
|
-
const packageVersion = "15.2.
|
|
5
|
+
const packageVersion = "15.2.4";
|
|
6
6
|
export const SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
package/dist/es2019/styles.js
CHANGED
|
@@ -32,21 +32,21 @@ export default function baseStyles(validationState, isCompact) {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
if (validationState === 'error') {
|
|
35
|
-
borderColor = token('color.
|
|
35
|
+
borderColor = token('color.iconBorder.danger', R400);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
if (validationState === 'success') {
|
|
39
|
-
borderColor = token('color.
|
|
39
|
+
borderColor = token('color.iconBorder.success', G400);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
let borderColorHover = isFocused ? token('color.border.focus', B100) : token('color.border.neutral', N30);
|
|
43
43
|
|
|
44
44
|
if (validationState === 'error') {
|
|
45
|
-
borderColorHover = token('color.
|
|
45
|
+
borderColorHover = token('color.iconBorder.danger', R400);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
if (validationState === 'success') {
|
|
49
|
-
borderColorHover = token('color.
|
|
49
|
+
borderColorHover = token('color.iconBorder.success', G400);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
const transitionDuration = '200ms';
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/Select.js
CHANGED
|
@@ -2,7 +2,7 @@ import Select from 'react-select';
|
|
|
2
2
|
import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import createSelect from './createSelect';
|
|
4
4
|
var packageName = "@atlaskit/select";
|
|
5
|
-
var packageVersion = "15.2.
|
|
5
|
+
var packageVersion = "15.2.4";
|
|
6
6
|
export var SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
package/dist/esm/styles.js
CHANGED
|
@@ -40,21 +40,21 @@ export default function baseStyles(validationState, isCompact) {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
if (validationState === 'error') {
|
|
43
|
-
borderColor = token('color.
|
|
43
|
+
borderColor = token('color.iconBorder.danger', R400);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
if (validationState === 'success') {
|
|
47
|
-
borderColor = token('color.
|
|
47
|
+
borderColor = token('color.iconBorder.success', G400);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
var borderColorHover = isFocused ? token('color.border.focus', B100) : token('color.border.neutral', N30);
|
|
51
51
|
|
|
52
52
|
if (validationState === 'error') {
|
|
53
|
-
borderColorHover = token('color.
|
|
53
|
+
borderColorHover = token('color.iconBorder.danger', R400);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
if (validationState === 'success') {
|
|
57
|
-
borderColorHover = token('color.
|
|
57
|
+
borderColorHover = token('color.iconBorder.success', G400);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
var transitionDuration = '200ms';
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.4",
|
|
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/"
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
28
|
-
"@atlaskit/icon": "^21.
|
|
28
|
+
"@atlaskit/icon": "^21.9.0",
|
|
29
29
|
"@atlaskit/spinner": "^15.0.0",
|
|
30
|
-
"@atlaskit/theme": "^
|
|
31
|
-
"@atlaskit/tokens": "^0.
|
|
30
|
+
"@atlaskit/theme": "^12.0.0",
|
|
31
|
+
"@atlaskit/tokens": "^0.3.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"@emotion/core": "^10.0.9",
|
|
34
34
|
"@popperjs/core": "^2.9.1",
|
|
35
35
|
"@types/react-select": "^4.0.13",
|
|
36
36
|
"focus-trap": "^2.4.5",
|
|
37
|
-
"memoize-one": "^
|
|
37
|
+
"memoize-one": "^6.0.0",
|
|
38
38
|
"react-fast-compare": "^2.0.1",
|
|
39
39
|
"react-node-resolver": "^1.0.1",
|
|
40
40
|
"react-popper": "^2.2.3",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"@atlaskit/button": "^16.0.0",
|
|
52
52
|
"@atlaskit/checkbox": "^12.2.0",
|
|
53
53
|
"@atlaskit/docs": "*",
|
|
54
|
-
"@atlaskit/drawer": "^
|
|
55
|
-
"@atlaskit/form": "^8.
|
|
54
|
+
"@atlaskit/drawer": "^7.0.0",
|
|
55
|
+
"@atlaskit/form": "^8.4.0",
|
|
56
56
|
"@atlaskit/logo": "^13.5.0",
|
|
57
|
-
"@atlaskit/modal-dialog": "^12.
|
|
57
|
+
"@atlaskit/modal-dialog": "^12.1.0",
|
|
58
58
|
"@atlaskit/section-message": "^6.0.0",
|
|
59
59
|
"@atlaskit/ssr": "*",
|
|
60
|
-
"@atlaskit/tooltip": "^17.
|
|
60
|
+
"@atlaskit/tooltip": "^17.5.0",
|
|
61
61
|
"@atlaskit/visual-regression": "*",
|
|
62
62
|
"@atlaskit/webdriver-runner": "*",
|
|
63
63
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|