@atlaskit/select 21.4.2 → 21.5.0
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 +19 -0
- package/dist/cjs/PopupSelect/components.compiled.css +2 -1
- package/dist/cjs/PopupSelect/components.js +3 -1
- package/dist/es2019/PopupSelect/components.compiled.css +2 -1
- package/dist/es2019/PopupSelect/components.js +3 -1
- package/dist/esm/PopupSelect/components.compiled.css +2 -1
- package/dist/esm/PopupSelect/components.js +3 -1
- package/package.json +9 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 21.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b867e641d818d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b867e641d818d) -
|
|
8
|
+
Updated border radius values behind a feature gate `platform-dst-shape-theme-default`.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 21.4.3
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
|
|
19
|
+
Internal refactors to remove unused variables. No functional or public changes.
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 21.4.2
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
2
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}._12l2v77o{margin-inline-end:var(--ds-space-025,2px)}
|
|
3
4
|
._16qsu838{box-shadow:var(--_z6sjud)}
|
|
4
5
|
._1bsbzwfg{width:2pc}
|
|
5
6
|
._1pby16oo{z-index:510}
|
|
@@ -15,6 +15,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
15
15
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
16
16
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
17
17
|
var _searchEditorSearch = _interopRequireDefault(require("@atlaskit/icon/core/migration/search--editor-search"));
|
|
18
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
19
|
var _reactSelect = require("@atlaskit/react-select");
|
|
19
20
|
var _colors = require("@atlaskit/theme/colors");
|
|
20
21
|
var _constants = require("@atlaskit/theme/constants");
|
|
@@ -28,6 +29,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
28
29
|
// ==============================
|
|
29
30
|
|
|
30
31
|
var menuDialogStyles = null;
|
|
32
|
+
var menuDialogStylesT26Shape = null;
|
|
31
33
|
|
|
32
34
|
/**
|
|
33
35
|
* __Menu dialog__
|
|
@@ -42,7 +44,7 @@ var MenuDialog = exports.MenuDialog = /*#__PURE__*/(0, _react.forwardRef)(functi
|
|
|
42
44
|
ref: ref,
|
|
43
45
|
id: id,
|
|
44
46
|
"data-testid": testId && "".concat(testId, "--menu"),
|
|
45
|
-
className: (0, _runtime.ax)(["_2rko12b0 _1pby16oo _bfhk1bhr _16qsu838"]),
|
|
47
|
+
className: (0, _runtime.ax)(["_2rko12b0 _1pby16oo _bfhk1bhr _16qsu838", (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') && "_2rko1mok"]),
|
|
46
48
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
47
49
|
"--_z6sjud": (0, _runtime.ix)("var(--ds-shadow-overlay, ".concat("0 0 0 1px ".concat(_colors.N40A, ", 0 4px 11px ").concat(_colors.N40A), ")"))
|
|
48
50
|
})
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
2
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}._12l2v77o{margin-inline-end:var(--ds-space-025,2px)}
|
|
3
4
|
._16qs1s1a{box-shadow:var(--ds-shadow-overlay,0 0 0 1px rgba(9,30,66,.13),0 4px 11px rgba(9,30,66,.13))}
|
|
4
5
|
._1bsbzwfg{width:2pc}
|
|
5
6
|
._1pby16oo{z-index:510}
|
|
@@ -5,6 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
7
|
import SearchIcon from '@atlaskit/icon/core/migration/search--editor-search';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
9
|
import { components } from '@atlaskit/react-select';
|
|
9
10
|
import { N40A } from '@atlaskit/theme/colors';
|
|
10
11
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -15,6 +16,7 @@ import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
|
15
16
|
// ==============================
|
|
16
17
|
|
|
17
18
|
const menuDialogStyles = null;
|
|
19
|
+
const menuDialogStylesT26Shape = null;
|
|
18
20
|
|
|
19
21
|
/**
|
|
20
22
|
* __Menu dialog__
|
|
@@ -32,7 +34,7 @@ export const MenuDialog = /*#__PURE__*/forwardRef(({
|
|
|
32
34
|
style: style,
|
|
33
35
|
id: id,
|
|
34
36
|
"data-testid": testId && `${testId}--menu`,
|
|
35
|
-
className: ax(["_2rko12b0 _1pby16oo _bfhk1bhr _16qs1s1a"])
|
|
37
|
+
className: ax(["_2rko12b0 _1pby16oo _bfhk1bhr _16qs1s1a", fg('platform-dst-shape-theme-default') && "_2rko1mok"])
|
|
36
38
|
}, children);
|
|
37
39
|
});
|
|
38
40
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
2
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}._12l2v77o{margin-inline-end:var(--ds-space-025,2px)}
|
|
3
4
|
._16qsu838{box-shadow:var(--_z6sjud)}
|
|
4
5
|
._1bsbzwfg{width:2pc}
|
|
5
6
|
._1pby16oo{z-index:510}
|
|
@@ -10,6 +10,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
10
10
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
11
|
import { forwardRef } from 'react';
|
|
12
12
|
import SearchIcon from '@atlaskit/icon/core/migration/search--editor-search';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
14
|
import { components } from '@atlaskit/react-select';
|
|
14
15
|
import { N40A } from '@atlaskit/theme/colors';
|
|
15
16
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -20,6 +21,7 @@ import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
|
20
21
|
// ==============================
|
|
21
22
|
|
|
22
23
|
var menuDialogStyles = null;
|
|
24
|
+
var menuDialogStylesT26Shape = null;
|
|
23
25
|
|
|
24
26
|
/**
|
|
25
27
|
* __Menu dialog__
|
|
@@ -34,7 +36,7 @@ export var MenuDialog = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
34
36
|
ref: ref,
|
|
35
37
|
id: id,
|
|
36
38
|
"data-testid": testId && "".concat(testId, "--menu"),
|
|
37
|
-
className: ax(["_2rko12b0 _1pby16oo _bfhk1bhr _16qsu838"]),
|
|
39
|
+
className: ax(["_2rko12b0 _1pby16oo _bfhk1bhr _16qsu838", fg('platform-dst-shape-theme-default') && "_2rko1mok"]),
|
|
38
40
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
39
41
|
"--_z6sjud": ix("var(--ds-shadow-overlay, ".concat("0 0 0 1px ".concat(N40A, ", 0 4px 11px ").concat(N40A), ")"))
|
|
40
42
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.5.0",
|
|
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/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/icon": "^29.0.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/primitives": "^16.4.0",
|
|
40
|
-
"@atlaskit/react-select": "^3.
|
|
40
|
+
"@atlaskit/react-select": "^3.10.0",
|
|
41
41
|
"@atlaskit/theme": "^21.0.0",
|
|
42
42
|
"@atlaskit/tokens": "^8.4.0",
|
|
43
43
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"@af/accessibility-testing": "workspace:^",
|
|
58
58
|
"@af/integration-testing": "workspace:^",
|
|
59
59
|
"@af/visual-regression": "workspace:^",
|
|
60
|
-
"@atlaskit/button": "^23.
|
|
61
|
-
"@atlaskit/checkbox": "^17.
|
|
60
|
+
"@atlaskit/button": "^23.7.0",
|
|
61
|
+
"@atlaskit/checkbox": "^17.2.0",
|
|
62
62
|
"@atlaskit/docs": "^11.2.0",
|
|
63
63
|
"@atlaskit/drawer": "^11.0.0",
|
|
64
64
|
"@atlaskit/form": "^14.3.0",
|
|
65
65
|
"@atlaskit/link": "^3.2.0",
|
|
66
66
|
"@atlaskit/logo": "^19.9.0",
|
|
67
|
-
"@atlaskit/modal-dialog": "^14.
|
|
67
|
+
"@atlaskit/modal-dialog": "^14.8.0",
|
|
68
68
|
"@atlaskit/radio": "^8.3.0",
|
|
69
|
-
"@atlaskit/section-message": "^8.
|
|
69
|
+
"@atlaskit/section-message": "^8.10.0",
|
|
70
70
|
"@atlassian/ssr-tests": "workspace:^",
|
|
71
71
|
"@testing-library/react": "^13.4.0",
|
|
72
72
|
"@testing-library/user-event": "^14.4.3",
|
|
@@ -102,6 +102,9 @@
|
|
|
102
102
|
},
|
|
103
103
|
"platform_dst_nav4_layering_in_main_slot_fixes": {
|
|
104
104
|
"type": "boolean"
|
|
105
|
+
},
|
|
106
|
+
"platform-dst-shape-theme-default": {
|
|
107
|
+
"type": "boolean"
|
|
105
108
|
}
|
|
106
109
|
},
|
|
107
110
|
"homepage": "https://atlassian.design/components/select/"
|