@atlaskit/select 16.1.4 → 16.1.6
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 +12 -0
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/components/input-options.js +3 -4
- package/dist/cjs/styles.js +11 -11
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/Select.js +1 -1
- package/dist/es2019/components/input-options.js +3 -4
- package/dist/es2019/styles.js +12 -11
- package/dist/es2019/version.json +1 -1
- package/dist/esm/Select.js +1 -1
- package/dist/esm/components/input-options.js +3 -4
- package/dist/esm/styles.js +12 -11
- package/dist/esm/version.json +1 -1
- package/package.json +3 -4
- package/report.api.md +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 16.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`74c1b81a476`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74c1b81a476) - Replaces use of `gridSize` with space tokens. There is no expected visual change.
|
|
8
|
+
|
|
9
|
+
## 16.1.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
|
|
14
|
+
|
|
3
15
|
## 16.1.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/Select.js
CHANGED
|
@@ -9,7 +9,7 @@ var _reactSelect = _interopRequireDefault(require("react-select"));
|
|
|
9
9
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
10
10
|
var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
11
11
|
var packageName = "@atlaskit/select";
|
|
12
|
-
var packageVersion = "16.1.
|
|
12
|
+
var packageVersion = "16.1.6";
|
|
13
13
|
var SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
|
|
14
14
|
exports.SelectWithoutAnalytics = SelectWithoutAnalytics;
|
|
15
15
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
@@ -20,7 +20,6 @@ var _react2 = require("react");
|
|
|
20
20
|
var _radio = _interopRequireDefault(require("@atlaskit/icon/glyph/radio"));
|
|
21
21
|
var _checkbox = _interopRequireDefault(require("@atlaskit/icon/glyph/checkbox"));
|
|
22
22
|
var _components = require("@atlaskit/theme/components");
|
|
23
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
24
23
|
var _colors = require("@atlaskit/theme/colors");
|
|
25
24
|
var _excluded = ["isActive", "isDisabled", "isFocused", "isSelected"],
|
|
26
25
|
_excluded2 = ["isActive", "isDisabled", "isSelected"],
|
|
@@ -42,9 +41,9 @@ var getPrimitiveStyles = function getPrimitiveStyles(props) {
|
|
|
42
41
|
backgroundColor: isFocused ? "var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N20, ")") : 'transparent',
|
|
43
42
|
color: isDisabled ? "var(--ds-text-disabled, inherit)" : 'inherit',
|
|
44
43
|
display: 'flex ',
|
|
45
|
-
paddingBottom:
|
|
46
|
-
paddingLeft: "
|
|
47
|
-
paddingTop:
|
|
44
|
+
paddingBottom: "var(--ds-space-050, 4px)",
|
|
45
|
+
paddingLeft: "var(--ds-space-200, 16px)",
|
|
46
|
+
paddingTop: "var(--ds-space-050, 4px)",
|
|
48
47
|
boxShadow: isFocused ? "inset 2px 0px 0px ".concat("var(--ds-border-focused, ".concat(_colors.B400, ")"), ";") : '',
|
|
49
48
|
':active': {
|
|
50
49
|
backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(_colors.N30, ")")
|
package/dist/cjs/styles.js
CHANGED
|
@@ -20,7 +20,7 @@ function baseStyles(validationState) {
|
|
|
20
20
|
container: function container(css, _ref) {
|
|
21
21
|
var isDisabled = _ref.isDisabled;
|
|
22
22
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
23
|
-
fontFamily: (0, _constants.fontFamily)(),
|
|
23
|
+
fontFamily: "var(--ds-font-family-sans, ".concat((0, _constants.fontFamily)(), ")"),
|
|
24
24
|
// react-select disables pointer events when isDisabled is true.
|
|
25
25
|
// We override this and make the inner container turn it off instead.
|
|
26
26
|
pointerEvents: 'all',
|
|
@@ -73,8 +73,8 @@ function baseStyles(validationState) {
|
|
|
73
73
|
backgroundColor: backgroundColor,
|
|
74
74
|
borderColor: borderColor,
|
|
75
75
|
borderStyle: 'solid',
|
|
76
|
-
borderRadius:
|
|
77
|
-
borderWidth:
|
|
76
|
+
borderRadius: "var(--ds-radius-100, 3px)",
|
|
77
|
+
borderWidth: "var(--ds-width-100, 2px)",
|
|
78
78
|
boxShadow: 'none',
|
|
79
79
|
minHeight: isCompact ? (0, _constants.gridSize)() * 4 : (0, _constants.gridSize)() * 5,
|
|
80
80
|
padding: 0,
|
|
@@ -199,7 +199,7 @@ function baseStyles(validationState) {
|
|
|
199
199
|
var isDisabled = _ref6.isDisabled;
|
|
200
200
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
201
201
|
color: isDisabled ? "var(--ds-text-disabled, ".concat(_colors.N70, ")") : "var(--ds-text, ".concat(_colors.N800, ")"),
|
|
202
|
-
lineHeight: "
|
|
202
|
+
lineHeight: "var(--ds-font-lineHeight-100, 16px)" // 16px
|
|
203
203
|
});
|
|
204
204
|
},
|
|
205
205
|
|
|
@@ -211,14 +211,14 @@ function baseStyles(validationState) {
|
|
|
211
211
|
},
|
|
212
212
|
menuList: function menuList(css) {
|
|
213
213
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
214
|
-
paddingTop: (
|
|
215
|
-
paddingBottom: (
|
|
214
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
215
|
+
paddingBottom: "var(--ds-space-100, 8px)"
|
|
216
216
|
});
|
|
217
217
|
},
|
|
218
218
|
multiValue: function multiValue(css, _ref7) {
|
|
219
219
|
var isFocused = _ref7.isFocused;
|
|
220
220
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
221
|
-
borderRadius:
|
|
221
|
+
borderRadius: "var(--ds-radius-050, 2px)",
|
|
222
222
|
backgroundColor: isFocused ? "var(--ds-background-selected, ".concat(_colors.N40, ")") : "var(--ds-background-neutral, ".concat(_colors.N40, ")"),
|
|
223
223
|
boxShadow: isFocused ? "0 0 0 2px ".concat("var(--ds-surface, transparent)", ", 0 0 0 4px ", "var(--ds-border-focused, transparent)") : 'none',
|
|
224
224
|
maxWidth: '100%',
|
|
@@ -230,9 +230,9 @@ function baseStyles(validationState) {
|
|
|
230
230
|
},
|
|
231
231
|
multiValueLabel: function multiValueLabel(css) {
|
|
232
232
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
233
|
-
padding:
|
|
233
|
+
padding: "var(--ds-space-025, 2px)",
|
|
234
234
|
color: 'inherit',
|
|
235
|
-
paddingRight:
|
|
235
|
+
paddingRight: "var(--ds-space-025, 2px)"
|
|
236
236
|
});
|
|
237
237
|
},
|
|
238
238
|
multiValueRemove: function multiValueRemove(css, _ref8) {
|
|
@@ -240,8 +240,8 @@ function baseStyles(validationState) {
|
|
|
240
240
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
241
241
|
backgroundColor: isFocused ? "var(--ds-UNSAFE-transparent, ".concat(_colors.R75, ")") : undefined,
|
|
242
242
|
fill: isFocused ? "var(--ds-text-selected, #000)" : "var(--ds-text, #000)",
|
|
243
|
-
paddingLeft:
|
|
244
|
-
paddingRight:
|
|
243
|
+
paddingLeft: "var(--ds-space-025, 2px)",
|
|
244
|
+
paddingRight: "var(--ds-space-025, 2px)",
|
|
245
245
|
borderRadius: '0px 2px 2px 0px',
|
|
246
246
|
// DSP-6470 we should style like Tag once we have the :has selector
|
|
247
247
|
':hover': {
|
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 = "16.1.
|
|
5
|
+
const packageVersion = "16.1.6";
|
|
6
6
|
export const SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
|
@@ -6,7 +6,6 @@ import { Component } from 'react';
|
|
|
6
6
|
import RadioIcon from '@atlaskit/icon/glyph/radio';
|
|
7
7
|
import CheckboxIcon from '@atlaskit/icon/glyph/checkbox';
|
|
8
8
|
import { themed } from '@atlaskit/theme/components';
|
|
9
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
10
9
|
import { B100, B200, B300, B400, B75, DN200, DN10, DN30, N20A, N0, N100, N20, N30, N70 } from '@atlaskit/theme/colors';
|
|
11
10
|
const getPrimitiveStyles = props => {
|
|
12
11
|
const {
|
|
@@ -22,9 +21,9 @@ const getPrimitiveStyles = props => {
|
|
|
22
21
|
backgroundColor: isFocused ? `var(--ds-background-neutral-subtle-hovered, ${N20})` : 'transparent',
|
|
23
22
|
color: isDisabled ? "var(--ds-text-disabled, inherit)" : 'inherit',
|
|
24
23
|
display: 'flex ',
|
|
25
|
-
paddingBottom:
|
|
26
|
-
paddingLeft:
|
|
27
|
-
paddingTop:
|
|
24
|
+
paddingBottom: "var(--ds-space-050, 4px)",
|
|
25
|
+
paddingLeft: "var(--ds-space-200, 16px)",
|
|
26
|
+
paddingTop: "var(--ds-space-050, 4px)",
|
|
28
27
|
boxShadow: isFocused ? `inset 2px 0px 0px ${`var(--ds-border-focused, ${B400})`};` : '',
|
|
29
28
|
':active': {
|
|
30
29
|
backgroundColor: `var(--ds-background-neutral-subtle-pressed, ${N30})`
|
package/dist/es2019/styles.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
1
2
|
import { gridSize, fontFamily } from '@atlaskit/theme/constants';
|
|
2
3
|
import { B100, B400, B50, G400, N0, N20, N200, N30, N300, N40, N500, N70, N800, R400, R75 } from '@atlaskit/theme/colors';
|
|
3
4
|
const BORDER_WIDTH = 2;
|
|
@@ -9,7 +10,7 @@ export default function baseStyles(validationState, isCompact = false, appearanc
|
|
|
9
10
|
isDisabled
|
|
10
11
|
}) => ({
|
|
11
12
|
...css,
|
|
12
|
-
fontFamily: fontFamily()
|
|
13
|
+
fontFamily: `var(--ds-font-family-sans, ${fontFamily()})`,
|
|
13
14
|
// react-select disables pointer events when isDisabled is true.
|
|
14
15
|
// We override this and make the inner container turn it off instead.
|
|
15
16
|
pointerEvents: 'all',
|
|
@@ -62,8 +63,8 @@ export default function baseStyles(validationState, isCompact = false, appearanc
|
|
|
62
63
|
backgroundColor,
|
|
63
64
|
borderColor,
|
|
64
65
|
borderStyle: 'solid',
|
|
65
|
-
borderRadius:
|
|
66
|
-
borderWidth:
|
|
66
|
+
borderRadius: "var(--ds-radius-100, 3px)",
|
|
67
|
+
borderWidth: "var(--ds-width-100, 2px)",
|
|
67
68
|
boxShadow: 'none',
|
|
68
69
|
minHeight: isCompact ? gridSize() * 4 : gridSize() * 5,
|
|
69
70
|
padding: 0,
|
|
@@ -190,7 +191,7 @@ export default function baseStyles(validationState, isCompact = false, appearanc
|
|
|
190
191
|
}) => ({
|
|
191
192
|
...css,
|
|
192
193
|
color: isDisabled ? `var(--ds-text-disabled, ${N70})` : `var(--ds-text, ${N800})`,
|
|
193
|
-
lineHeight:
|
|
194
|
+
lineHeight: "var(--ds-font-lineHeight-100, 16px)" // 16px
|
|
194
195
|
}),
|
|
195
196
|
|
|
196
197
|
menu: css => ({
|
|
@@ -200,14 +201,14 @@ export default function baseStyles(validationState, isCompact = false, appearanc
|
|
|
200
201
|
}),
|
|
201
202
|
menuList: css => ({
|
|
202
203
|
...css,
|
|
203
|
-
paddingTop:
|
|
204
|
-
paddingBottom:
|
|
204
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
205
|
+
paddingBottom: "var(--ds-space-100, 8px)"
|
|
205
206
|
}),
|
|
206
207
|
multiValue: (css, {
|
|
207
208
|
isFocused
|
|
208
209
|
}) => ({
|
|
209
210
|
...css,
|
|
210
|
-
borderRadius:
|
|
211
|
+
borderRadius: "var(--ds-radius-050, 2px)",
|
|
211
212
|
backgroundColor: isFocused ? `var(--ds-background-selected, ${N40})` : `var(--ds-background-neutral, ${N40})`,
|
|
212
213
|
boxShadow: isFocused ? `0 0 0 2px ${"var(--ds-surface, transparent)"}, 0 0 0 4px ${"var(--ds-border-focused, transparent)"}` : 'none',
|
|
213
214
|
maxWidth: '100%',
|
|
@@ -218,9 +219,9 @@ export default function baseStyles(validationState, isCompact = false, appearanc
|
|
|
218
219
|
}),
|
|
219
220
|
multiValueLabel: css => ({
|
|
220
221
|
...css,
|
|
221
|
-
padding:
|
|
222
|
+
padding: "var(--ds-space-025, 2px)",
|
|
222
223
|
color: 'inherit',
|
|
223
|
-
paddingRight:
|
|
224
|
+
paddingRight: "var(--ds-space-025, 2px)"
|
|
224
225
|
}),
|
|
225
226
|
multiValueRemove: (css, {
|
|
226
227
|
isFocused
|
|
@@ -228,8 +229,8 @@ export default function baseStyles(validationState, isCompact = false, appearanc
|
|
|
228
229
|
...css,
|
|
229
230
|
backgroundColor: isFocused ? `var(--ds-UNSAFE-transparent, ${R75})` : undefined,
|
|
230
231
|
fill: isFocused ? "var(--ds-text-selected, #000)" : "var(--ds-text, #000)",
|
|
231
|
-
paddingLeft:
|
|
232
|
-
paddingRight:
|
|
232
|
+
paddingLeft: "var(--ds-space-025, 2px)",
|
|
233
|
+
paddingRight: "var(--ds-space-025, 2px)",
|
|
233
234
|
borderRadius: '0px 2px 2px 0px',
|
|
234
235
|
// DSP-6470 we should style like Tag once we have the :has selector
|
|
235
236
|
':hover': {
|
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 = "16.1.
|
|
5
|
+
var packageVersion = "16.1.6";
|
|
6
6
|
export var SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
|
@@ -22,7 +22,6 @@ import { Component } from 'react';
|
|
|
22
22
|
import RadioIcon from '@atlaskit/icon/glyph/radio';
|
|
23
23
|
import CheckboxIcon from '@atlaskit/icon/glyph/checkbox';
|
|
24
24
|
import { themed } from '@atlaskit/theme/components';
|
|
25
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
26
25
|
import { B100, B200, B300, B400, B75, DN200, DN10, DN30, N20A, N0, N100, N20, N30, N70 } from '@atlaskit/theme/colors';
|
|
27
26
|
var getPrimitiveStyles = function getPrimitiveStyles(props) {
|
|
28
27
|
var cx = props.cx,
|
|
@@ -36,9 +35,9 @@ var getPrimitiveStyles = function getPrimitiveStyles(props) {
|
|
|
36
35
|
backgroundColor: isFocused ? "var(--ds-background-neutral-subtle-hovered, ".concat(N20, ")") : 'transparent',
|
|
37
36
|
color: isDisabled ? "var(--ds-text-disabled, inherit)" : 'inherit',
|
|
38
37
|
display: 'flex ',
|
|
39
|
-
paddingBottom:
|
|
40
|
-
paddingLeft: "
|
|
41
|
-
paddingTop:
|
|
38
|
+
paddingBottom: "var(--ds-space-050, 4px)",
|
|
39
|
+
paddingLeft: "var(--ds-space-200, 16px)",
|
|
40
|
+
paddingTop: "var(--ds-space-050, 4px)",
|
|
42
41
|
boxShadow: isFocused ? "inset 2px 0px 0px ".concat("var(--ds-border-focused, ".concat(B400, ")"), ";") : '',
|
|
43
42
|
':active': {
|
|
44
43
|
backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(N30, ")")
|
package/dist/esm/styles.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
3
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
4
5
|
import { gridSize, fontFamily } from '@atlaskit/theme/constants';
|
|
5
6
|
import { B100, B400, B50, G400, N0, N20, N200, N30, N300, N40, N500, N70, N800, R400, R75 } from '@atlaskit/theme/colors';
|
|
6
7
|
var BORDER_WIDTH = 2;
|
|
@@ -13,7 +14,7 @@ export default function baseStyles(validationState) {
|
|
|
13
14
|
container: function container(css, _ref) {
|
|
14
15
|
var isDisabled = _ref.isDisabled;
|
|
15
16
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
16
|
-
fontFamily: fontFamily(),
|
|
17
|
+
fontFamily: "var(--ds-font-family-sans, ".concat(fontFamily(), ")"),
|
|
17
18
|
// react-select disables pointer events when isDisabled is true.
|
|
18
19
|
// We override this and make the inner container turn it off instead.
|
|
19
20
|
pointerEvents: 'all',
|
|
@@ -66,8 +67,8 @@ export default function baseStyles(validationState) {
|
|
|
66
67
|
backgroundColor: backgroundColor,
|
|
67
68
|
borderColor: borderColor,
|
|
68
69
|
borderStyle: 'solid',
|
|
69
|
-
borderRadius:
|
|
70
|
-
borderWidth:
|
|
70
|
+
borderRadius: "var(--ds-radius-100, 3px)",
|
|
71
|
+
borderWidth: "var(--ds-width-100, 2px)",
|
|
71
72
|
boxShadow: 'none',
|
|
72
73
|
minHeight: isCompact ? gridSize() * 4 : gridSize() * 5,
|
|
73
74
|
padding: 0,
|
|
@@ -192,7 +193,7 @@ export default function baseStyles(validationState) {
|
|
|
192
193
|
var isDisabled = _ref6.isDisabled;
|
|
193
194
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
194
195
|
color: isDisabled ? "var(--ds-text-disabled, ".concat(N70, ")") : "var(--ds-text, ".concat(N800, ")"),
|
|
195
|
-
lineHeight: "
|
|
196
|
+
lineHeight: "var(--ds-font-lineHeight-100, 16px)" // 16px
|
|
196
197
|
});
|
|
197
198
|
},
|
|
198
199
|
|
|
@@ -204,14 +205,14 @@ export default function baseStyles(validationState) {
|
|
|
204
205
|
},
|
|
205
206
|
menuList: function menuList(css) {
|
|
206
207
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
207
|
-
paddingTop:
|
|
208
|
-
paddingBottom:
|
|
208
|
+
paddingTop: "var(--ds-space-100, 8px)",
|
|
209
|
+
paddingBottom: "var(--ds-space-100, 8px)"
|
|
209
210
|
});
|
|
210
211
|
},
|
|
211
212
|
multiValue: function multiValue(css, _ref7) {
|
|
212
213
|
var isFocused = _ref7.isFocused;
|
|
213
214
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
214
|
-
borderRadius:
|
|
215
|
+
borderRadius: "var(--ds-radius-050, 2px)",
|
|
215
216
|
backgroundColor: isFocused ? "var(--ds-background-selected, ".concat(N40, ")") : "var(--ds-background-neutral, ".concat(N40, ")"),
|
|
216
217
|
boxShadow: isFocused ? "0 0 0 2px ".concat("var(--ds-surface, transparent)", ", 0 0 0 4px ", "var(--ds-border-focused, transparent)") : 'none',
|
|
217
218
|
maxWidth: '100%',
|
|
@@ -223,9 +224,9 @@ export default function baseStyles(validationState) {
|
|
|
223
224
|
},
|
|
224
225
|
multiValueLabel: function multiValueLabel(css) {
|
|
225
226
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
226
|
-
padding:
|
|
227
|
+
padding: "var(--ds-space-025, 2px)",
|
|
227
228
|
color: 'inherit',
|
|
228
|
-
paddingRight:
|
|
229
|
+
paddingRight: "var(--ds-space-025, 2px)"
|
|
229
230
|
});
|
|
230
231
|
},
|
|
231
232
|
multiValueRemove: function multiValueRemove(css, _ref8) {
|
|
@@ -233,8 +234,8 @@ export default function baseStyles(validationState) {
|
|
|
233
234
|
return _objectSpread(_objectSpread({}, css), {}, {
|
|
234
235
|
backgroundColor: isFocused ? "var(--ds-UNSAFE-transparent, ".concat(R75, ")") : undefined,
|
|
235
236
|
fill: isFocused ? "var(--ds-text-selected, #000)" : "var(--ds-text, #000)",
|
|
236
|
-
paddingLeft:
|
|
237
|
-
paddingRight:
|
|
237
|
+
paddingLeft: "var(--ds-space-025, 2px)",
|
|
238
|
+
paddingRight: "var(--ds-space-025, 2px)",
|
|
238
239
|
borderRadius: '0px 2px 2px 0px',
|
|
239
240
|
// DSP-6470 we should style like Tag once we have the :has selector
|
|
240
241
|
':hover': {
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "16.1.
|
|
3
|
+
"version": "16.1.6",
|
|
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/"
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"atlaskit:src": "src/index.tsx",
|
|
17
17
|
"atlassian": {
|
|
18
|
-
"disableProductCI": true,
|
|
19
18
|
"team": "Design System Team",
|
|
20
19
|
"releaseModel": "scheduled",
|
|
21
20
|
"website": {
|
|
@@ -33,7 +32,7 @@
|
|
|
33
32
|
"dependencies": {
|
|
34
33
|
"@atlaskit/analytics-next": "^9.0.0",
|
|
35
34
|
"@atlaskit/icon": "^21.11.0",
|
|
36
|
-
"@atlaskit/spinner": "^15.
|
|
35
|
+
"@atlaskit/spinner": "^15.4.0",
|
|
37
36
|
"@atlaskit/theme": "^12.2.0",
|
|
38
37
|
"@atlaskit/tokens": "^1.2.0",
|
|
39
38
|
"@atlaskit/visually-hidden": "^1.1.0",
|
|
@@ -65,7 +64,7 @@
|
|
|
65
64
|
"@atlaskit/radio": "^5.4.0",
|
|
66
65
|
"@atlaskit/section-message": "^6.3.0",
|
|
67
66
|
"@atlaskit/ssr": "*",
|
|
68
|
-
"@atlaskit/tooltip": "^17.
|
|
67
|
+
"@atlaskit/tooltip": "^17.7.0",
|
|
69
68
|
"@atlaskit/visual-regression": "*",
|
|
70
69
|
"@atlaskit/webdriver-runner": "*",
|
|
71
70
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
package/report.api.md
CHANGED
|
@@ -42,6 +42,7 @@ import { MenuListProps } from 'react-select';
|
|
|
42
42
|
import { MenuProps as MenuProps_2 } from 'react-select';
|
|
43
43
|
import { mergeStyles } from 'react-select';
|
|
44
44
|
import { MultiValueProps } from 'react-select';
|
|
45
|
+
import { MultiValueRemoveProps } from 'react-select';
|
|
45
46
|
import { NoticeProps } from 'react-select';
|
|
46
47
|
import { OnChangeValue } from 'react-select';
|
|
47
48
|
import { OptionProps as OptionProps_2 } from 'react-select';
|
|
@@ -655,6 +656,8 @@ export type ModifierList =
|
|
|
655
656
|
|
|
656
657
|
export { MultiValueProps };
|
|
657
658
|
|
|
659
|
+
export { MultiValueRemoveProps };
|
|
660
|
+
|
|
658
661
|
export { NoticeProps };
|
|
659
662
|
|
|
660
663
|
// @public (undocumented)
|