@atlaskit/react-select 3.2.1 → 3.3.1

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,26 @@
1
1
  # @atlaskit/react-select
2
2
 
3
+ ## 3.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#190303](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/190303)
14
+ [`ad9134117de54`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ad9134117de54) -
15
+ Deprecation of the `styles` prop. For styling purposes, use the `components` API with the `xcss`
16
+ prop.
17
+
18
+ ### Patch Changes
19
+
20
+ - [#190337](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/190337)
21
+ [`d94e09ebf7502`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d94e09ebf7502) -
22
+ Clean up unused compiled-react-select feature flag
23
+
3
24
  ## 3.2.1
4
25
 
5
26
  ### 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)([(0, _platformFeatureFlags.fg)('compiled-react-select') ? containerStyles.default : 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')])
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([fg('compiled-react-select') ? containerStyles.default : 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
+ 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([fg('compiled-react-select') ? containerStyles.default : 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')])
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
@@ -372,7 +372,8 @@ export interface SelectProps<Option, IsMulti extends boolean, Group extends Grou
372
372
  /**
373
373
  * Style modifier methods
374
374
  *
375
- * A basic example can be found at the bottom of the [Replacing builtins](https://react-select.com/advanced#replacing-builtins) documentation.
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
- * A basic example can be found at the bottom of the [Replacing builtins](https://react-select.com/advanced#replacing-builtins) documentation.
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.2.1",
3
+ "version": "3.3.1",
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,11 +29,11 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@atlaskit/ds-lib": "^5.0.0",
32
- "@atlaskit/icon": "^27.6.0",
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",
36
- "@atlaskit/spinner": "^18.0.0",
36
+ "@atlaskit/spinner": "^19.0.0",
37
37
  "@atlaskit/tokens": "^5.6.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "@compiled/react": "^0.18.3",
@@ -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
  }