@atlaskit/react-select 3.0.2 → 3.2.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,27 @@
1
1
  # @atlaskit/react-select
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#175869](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/175869)
8
+ [`e7f822af7edc1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e7f822af7edc1) -
9
+ Updated usages of deprecated icons with replacement icons
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 3.1.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [#180250](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/180250)
20
+ [`105957fce131e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/105957fce131e) -
21
+ Deprecation of the `className` prop. If `className` is used for testing purposes, you should use
22
+ `testId` as an appropriate locator. If using `className` for styling purposes, use the
23
+ `components` API with the `xcss` prop.
24
+
3
25
  ## 3.0.2
4
26
 
5
27
  ### Patch Changes
@@ -15,7 +15,7 @@ var _runtime = require("@compiled/react/runtime");
15
15
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
16
16
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
17
17
  var _react2 = require("@compiled/react");
18
- var _close = _interopRequireDefault(require("@atlaskit/icon/core/close"));
18
+ var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
19
19
  var _selectClear = _interopRequireDefault(require("@atlaskit/icon/glyph/select-clear"));
20
20
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
21
  var _utils = require("../utils");
@@ -89,7 +89,7 @@ function MultiValueRemove(_ref3) {
89
89
  }), /*#__PURE__*/React.createElement("div", {
90
90
  "data-testid": isDisabled ? 'hide-clear-icon' : 'show-clear-icon',
91
91
  className: (0, _runtime.ax)([isDisabled && "_1e0cglyw", !isDisabled && "_1e0c1kw7"])
92
- }, /*#__PURE__*/React.createElement(_close.default, {
92
+ }, /*#__PURE__*/React.createElement(_cross.default, {
93
93
  label: "",
94
94
  color: "currentColor",
95
95
  LEGACY_fallbackIcon: _selectClear.default,
@@ -4,7 +4,7 @@ import "./multi-value.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
6
  import { cx } from '@compiled/react';
7
- import CrossIcon from '@atlaskit/icon/core/close';
7
+ import CrossIcon from '@atlaskit/icon/core/cross';
8
8
  import LegacySelectClearIcon from '@atlaskit/icon/glyph/select-clear';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
10
  import { getStyleProps } from '../utils';
@@ -7,7 +7,7 @@ import { ax, ix } from "@compiled/react/runtime";
7
7
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
8
  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; }
9
9
  import { cx } from '@compiled/react';
10
- import CrossIcon from '@atlaskit/icon/core/close';
10
+ import CrossIcon from '@atlaskit/icon/core/cross';
11
11
  import LegacySelectClearIcon from '@atlaskit/icon/glyph/select-clear';
12
12
  import { fg } from '@atlaskit/platform-feature-flags';
13
13
  import { getStyleProps } from '../utils';
@@ -81,6 +81,11 @@ export interface SelectProps<Option, IsMulti extends boolean, Group extends Grou
81
81
  captureMenuScroll: boolean;
82
82
  /**
83
83
  * Sets a className attribute on the outer component
84
+ *
85
+ *
86
+ * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-14529 Internal documentation for deprecation (no external access)}
87
+ * If used for testing purposes, use the `testId` prop as a locator instead.
88
+ * If used for styling purposes, use the `components` API with the xcss prop
84
89
  */
85
90
  className?: string;
86
91
  /**
@@ -81,6 +81,11 @@ export interface SelectProps<Option, IsMulti extends boolean, Group extends Grou
81
81
  captureMenuScroll: boolean;
82
82
  /**
83
83
  * Sets a className attribute on the outer component
84
+ *
85
+ *
86
+ * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-14529 Internal documentation for deprecation (no external access)}
87
+ * If used for testing purposes, use the `testId` prop as a locator instead.
88
+ * If used for styling purposes, use the `components` API with the xcss prop
84
89
  */
85
90
  className?: string;
86
91
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-select",
3
- "version": "3.0.2",
3
+ "version": "3.2.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",
@@ -8,8 +8,7 @@
8
8
  "registry": "https://registry.npmjs.org/"
9
9
  },
10
10
  "atlassian": {
11
- "team": "Design System Team",
12
- "runReact18": true
11
+ "team": "Design System Team"
13
12
  },
14
13
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
15
14
  "main": "dist/cjs/index.js",
@@ -30,7 +29,7 @@
30
29
  },
31
30
  "dependencies": {
32
31
  "@atlaskit/ds-lib": "^4.0.0",
33
- "@atlaskit/icon": "^27.2.0",
32
+ "@atlaskit/icon": "^27.3.0",
34
33
  "@atlaskit/layering": "^3.0.0",
35
34
  "@atlaskit/platform-feature-flags": "^1.1.0",
36
35
  "@atlaskit/primitives": "^14.10.0",