@atlaskit/react-select 3.2.1 → 3.3.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
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/react-select
|
|
2
2
|
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#190303](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/190303)
|
|
8
|
+
[`ad9134117de54`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ad9134117de54) -
|
|
9
|
+
Deprecation of the `styles` prop. For styling purposes, use the `components` API with the `xcss`
|
|
10
|
+
prop.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#190337](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/190337)
|
|
15
|
+
[`d94e09ebf7502`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d94e09ebf7502) -
|
|
16
|
+
Clean up unused compiled-react-select feature flag
|
|
17
|
+
|
|
3
18
|
## 3.2.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -44,7 +44,7 @@ var SelectContainer = exports.SelectContainer = function SelectContainer(props)
|
|
|
44
44
|
css = _getStyleProps.css;
|
|
45
45
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
46
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
47
|
-
className: (0, _runtime.ax)([
|
|
47
|
+
className: (0, _runtime.ax)([containerStyles.default, isRtl && containerStyles.rtl, isDisabled && containerStyles.disabled, (0, _platformFeatureFlags.fg)('platform_design_system_team_safari_input_fix') && containerStyles.ff_safari_input_fix, (0, _react2.cx)(className, xcss, '-container')])
|
|
48
48
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
49
49
|
,
|
|
50
50
|
style: css
|
|
@@ -37,7 +37,7 @@ export const SelectContainer = props => {
|
|
|
37
37
|
});
|
|
38
38
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
39
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
40
|
-
className: ax([
|
|
40
|
+
className: ax([containerStyles.default, isRtl && containerStyles.rtl, isDisabled && containerStyles.disabled, fg('platform_design_system_team_safari_input_fix') && containerStyles.ff_safari_input_fix, cx(className, xcss, '-container')])
|
|
41
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
42
42
|
,
|
|
43
43
|
style: css
|
|
@@ -36,7 +36,7 @@ export var SelectContainer = function SelectContainer(props) {
|
|
|
36
36
|
css = _getStyleProps.css;
|
|
37
37
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
|
|
39
|
-
className: ax([
|
|
39
|
+
className: ax([containerStyles.default, isRtl && containerStyles.rtl, isDisabled && containerStyles.disabled, fg('platform_design_system_team_safari_input_fix') && containerStyles.ff_safari_input_fix, cx(className, xcss, '-container')])
|
|
40
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
41
41
|
,
|
|
42
42
|
style: css
|
package/dist/types/select.d.ts
CHANGED
|
@@ -372,7 +372,8 @@ export interface SelectProps<Option, IsMulti extends boolean, Group extends Grou
|
|
|
372
372
|
/**
|
|
373
373
|
* Style modifier methods
|
|
374
374
|
*
|
|
375
|
-
*
|
|
375
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-14529 Internal documentation for deprecation (no external access)}
|
|
376
|
+
* Use the `components` API with the xcss prop for custom styling.
|
|
376
377
|
*/
|
|
377
378
|
styles: StylesConfig<Option, IsMulti, Group>;
|
|
378
379
|
/**
|
|
@@ -372,7 +372,8 @@ export interface SelectProps<Option, IsMulti extends boolean, Group extends Grou
|
|
|
372
372
|
/**
|
|
373
373
|
* Style modifier methods
|
|
374
374
|
*
|
|
375
|
-
*
|
|
375
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-14529 Internal documentation for deprecation (no external access)}
|
|
376
|
+
* Use the `components` API with the xcss prop for custom styling.
|
|
376
377
|
*/
|
|
377
378
|
styles: StylesConfig<Option, IsMulti, Group>;
|
|
378
379
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-select",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "A forked version of react-select to only be used in atlaskit/select",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@atlaskit/ds-lib": "^5.0.0",
|
|
32
|
-
"@atlaskit/icon": "^27.
|
|
32
|
+
"@atlaskit/icon": "^27.7.0",
|
|
33
33
|
"@atlaskit/layering": "^3.0.0",
|
|
34
34
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
35
35
|
"@atlaskit/primitives": "^14.10.0",
|
|
@@ -64,9 +64,6 @@
|
|
|
64
64
|
"platform_design_system_team_safari_input_fix": {
|
|
65
65
|
"type": "boolean"
|
|
66
66
|
},
|
|
67
|
-
"compiled-react-select": {
|
|
68
|
-
"type": "boolean"
|
|
69
|
-
},
|
|
70
67
|
"platform_dst_select_menu_close_on_blur": {
|
|
71
68
|
"type": "boolean"
|
|
72
69
|
}
|