@atlaskit/select 20.7.2 → 21.0.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,39 @@
1
1
  # @atlaskit/select
2
2
 
3
+ ## 21.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#178284](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/178284)
8
+ [`1c7de1d8fc547`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1c7de1d8fc547) -
9
+ Remove emotion dependency
10
+ - Updated dependencies
11
+
12
+ ## 21.0.0
13
+
14
+ ### Major Changes
15
+
16
+ - [#155023](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155023)
17
+ [`7a305b4f49968`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7a305b4f49968) -
18
+ [ux] Migrated underlying `react-select` implementation from `@emotion/react` to `@compiled/react`
19
+ to improve performance, align with the rest of the Atlaskit tech stack, and support React 18
20
+ Streaming SSR. Style customization should now be applied via the `components` prop with the new
21
+ `xcss` prop, which allows for safe and bounded style overrides. The `styles` prop is still
22
+ supported for most inline styles, but pseudo-classes and advanced selectors are no longer
23
+ supported and will be ignored.
24
+
25
+ If you use the `styles` prop with selectors like `:hover`, `:focus`, `:active`, `:disabled`,
26
+ `:before`, `:after`, attribute selectors, combinators, at-rules, or similar, you must migrate to
27
+ the new `components` API and use the `xcss` prop. See the
28
+ [examples](https://atlassian.design/components/eslint-plugin-design-system/enforce-inline-styles-in-select/usage)
29
+ for details.
30
+
31
+ This is a breaking change for any consumers relying on advanced selectors in the `styles` prop.
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies
36
+
3
37
  ## 20.7.2
4
38
 
5
39
  ### Patch Changes
@@ -11,7 +11,7 @@ var _createSelect = _interopRequireDefault(require("./createSelect"));
11
11
  /* eslint-disable @repo/internal/react/require-jsdoc */
12
12
 
13
13
  var packageName = "@atlaskit/select";
14
- var packageVersion = "20.7.1";
14
+ var packageVersion = "21.0.0";
15
15
  var SelectWithoutAnalytics = exports.SelectWithoutAnalytics = (0, _createSelect.default)(_async.default);
16
16
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
17
17
  var Select = (0, _analyticsNext.withAnalyticsContext)({
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
3
3
  import AsyncSelect from '@atlaskit/react-select/async';
4
4
  import createSelect from './createSelect';
5
5
  const packageName = "@atlaskit/select";
6
- const packageVersion = "20.7.1";
6
+ const packageVersion = "21.0.0";
7
7
  export const SelectWithoutAnalytics = createSelect(AsyncSelect);
8
8
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
9
9
  const Select = withAnalyticsContext({
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
3
3
  import AsyncSelect from '@atlaskit/react-select/async';
4
4
  import createSelect from './createSelect';
5
5
  var packageName = "@atlaskit/select";
6
- var packageVersion = "20.7.1";
6
+ var packageVersion = "21.0.0";
7
7
  export var SelectWithoutAnalytics = createSelect(AsyncSelect);
8
8
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
9
9
  var Select = withAnalyticsContext({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "20.7.2",
3
+ "version": "21.0.1",
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/"
@@ -43,10 +43,10 @@
43
43
  "dependencies": {
44
44
  "@atlaskit/analytics-next": "^11.1.0",
45
45
  "@atlaskit/ds-lib": "^4.0.0",
46
- "@atlaskit/icon": "^27.1.0",
46
+ "@atlaskit/icon": "^27.2.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/primitives": "^14.9.0",
49
- "@atlaskit/react-select": "^2.7.0",
48
+ "@atlaskit/primitives": "^14.10.0",
49
+ "@atlaskit/react-select": "^3.0.0",
50
50
  "@atlaskit/spinner": "^18.0.0",
51
51
  "@atlaskit/theme": "^18.0.0",
52
52
  "@atlaskit/tokens": "^5.4.0",
@@ -73,7 +73,7 @@
73
73
  "@atlaskit/drawer": "^11.0.0",
74
74
  "@atlaskit/form": "^12.0.0",
75
75
  "@atlaskit/link": "^3.2.0",
76
- "@atlaskit/logo": "^19.1.0",
76
+ "@atlaskit/logo": "^19.3.0",
77
77
  "@atlaskit/modal-dialog": "^14.2.0",
78
78
  "@atlaskit/radio": "^8.1.0",
79
79
  "@atlaskit/section-message": "^8.2.0",