@atlaskit/select 17.1.1 → 17.1.2
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 +6 -0
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/components/input-options.js +1 -1
- package/dist/cjs/styles.js +2 -2
- package/dist/es2019/Select.js +1 -1
- package/dist/es2019/components/input-options.js +1 -1
- package/dist/es2019/styles.js +2 -2
- package/dist/esm/Select.js +1 -1
- package/dist/esm/components/input-options.js +1 -1
- package/dist/esm/styles.js +2 -2
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 17.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#74756](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74756) [`8e66f751df96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e66f751df96) - Use feature flag to roll out border width update from 2px to 1px
|
|
8
|
+
|
|
3
9
|
## 17.1.1
|
|
4
10
|
|
|
5
11
|
### 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 = "17.1.
|
|
12
|
+
var packageVersion = "17.1.2";
|
|
13
13
|
var SelectWithoutAnalytics = exports.SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
|
|
14
14
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
15
15
|
var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
|
|
@@ -137,7 +137,7 @@ var baseIconStyles = (0, _react.css)({
|
|
|
137
137
|
// into the `@atlaskit/icon` package's Checkbox and Radio SVGs later
|
|
138
138
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
139
139
|
'& svg rect, & svg circle:first-of-type': {
|
|
140
|
-
strokeWidth: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-
|
|
140
|
+
strokeWidth: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)" : "var(--ds-border-width-outline, 2px)",
|
|
141
141
|
strokeLinejoin: 'round'
|
|
142
142
|
}
|
|
143
143
|
});
|
package/dist/cjs/styles.js
CHANGED
|
@@ -75,9 +75,9 @@ function baseStyles(validationState) {
|
|
|
75
75
|
borderColor: borderColor,
|
|
76
76
|
borderStyle: 'solid',
|
|
77
77
|
borderRadius: "var(--ds-border-radius-100, 3px)",
|
|
78
|
-
borderWidth: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-
|
|
78
|
+
borderWidth: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)" : "var(--ds-border-width-outline, 2px)",
|
|
79
79
|
boxShadow: 'none'
|
|
80
|
-
}, (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-
|
|
80
|
+
}, (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-input-border-wdith_5abwv') && {
|
|
81
81
|
'&:focus-within': {
|
|
82
82
|
boxShadow: "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", borderColor)
|
|
83
83
|
}
|
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 = "17.1.
|
|
5
|
+
const packageVersion = "17.1.2";
|
|
6
6
|
export const SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
|
@@ -126,7 +126,7 @@ const baseIconStyles = css({
|
|
|
126
126
|
// into the `@atlaskit/icon` package's Checkbox and Radio SVGs later
|
|
127
127
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
128
128
|
'& svg rect, & svg circle:first-of-type': {
|
|
129
|
-
strokeWidth: getBooleanFF('platform.design-system-team.border-
|
|
129
|
+
strokeWidth: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)" : "var(--ds-border-width-outline, 2px)",
|
|
130
130
|
strokeLinejoin: 'round'
|
|
131
131
|
}
|
|
132
132
|
});
|
package/dist/es2019/styles.js
CHANGED
|
@@ -65,9 +65,9 @@ export default function baseStyles(validationState, isCompact = false, appearanc
|
|
|
65
65
|
borderColor,
|
|
66
66
|
borderStyle: 'solid',
|
|
67
67
|
borderRadius: "var(--ds-border-radius-100, 3px)",
|
|
68
|
-
borderWidth: getBooleanFF('platform.design-system-team.border-
|
|
68
|
+
borderWidth: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)" : "var(--ds-border-width-outline, 2px)",
|
|
69
69
|
boxShadow: 'none',
|
|
70
|
-
...(getBooleanFF('platform.design-system-team.border-
|
|
70
|
+
...(getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') && {
|
|
71
71
|
'&:focus-within': {
|
|
72
72
|
boxShadow: `inset 0 0 0 ${"var(--ds-border-width, 1px)"} ${borderColor}`
|
|
73
73
|
}
|
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 = "17.1.
|
|
5
|
+
var packageVersion = "17.1.2";
|
|
6
6
|
export var SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
|
@@ -131,7 +131,7 @@ var baseIconStyles = css({
|
|
|
131
131
|
// into the `@atlaskit/icon` package's Checkbox and Radio SVGs later
|
|
132
132
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
133
133
|
'& svg rect, & svg circle:first-of-type': {
|
|
134
|
-
strokeWidth: getBooleanFF('platform.design-system-team.border-
|
|
134
|
+
strokeWidth: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)" : "var(--ds-border-width-outline, 2px)",
|
|
135
135
|
strokeLinejoin: 'round'
|
|
136
136
|
}
|
|
137
137
|
});
|
package/dist/esm/styles.js
CHANGED
|
@@ -69,9 +69,9 @@ export default function baseStyles(validationState) {
|
|
|
69
69
|
borderColor: borderColor,
|
|
70
70
|
borderStyle: 'solid',
|
|
71
71
|
borderRadius: "var(--ds-border-radius-100, 3px)",
|
|
72
|
-
borderWidth: getBooleanFF('platform.design-system-team.border-
|
|
72
|
+
borderWidth: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)" : "var(--ds-border-width-outline, 2px)",
|
|
73
73
|
boxShadow: 'none'
|
|
74
|
-
}, getBooleanFF('platform.design-system-team.border-
|
|
74
|
+
}, getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') && {
|
|
75
75
|
'&:focus-within': {
|
|
76
76
|
boxShadow: "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", borderColor)
|
|
77
77
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "17.1.
|
|
3
|
+
"version": "17.1.2",
|
|
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/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
47
47
|
"@atlaskit/spinner": "^16.0.0",
|
|
48
48
|
"@atlaskit/theme": "^12.6.0",
|
|
49
|
-
"@atlaskit/tokens": "^1.
|
|
49
|
+
"@atlaskit/tokens": "^1.38.0",
|
|
50
50
|
"@atlaskit/visually-hidden": "^1.2.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@emotion/react": "^11.7.1",
|
|
@@ -101,6 +101,9 @@
|
|
|
101
101
|
"platform.design-system-team.border-checkbox_nyoiu": {
|
|
102
102
|
"type": "boolean"
|
|
103
103
|
},
|
|
104
|
+
"platform.design-system-team.update-input-border-wdith_5abwv": {
|
|
105
|
+
"type": "boolean"
|
|
106
|
+
},
|
|
104
107
|
"platform.design-system-team.popup-select-render-perf_i0s6m": {
|
|
105
108
|
"type": "boolean"
|
|
106
109
|
},
|