@atlaskit/select 20.7.2 → 21.0.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,30 @@
1
1
  # @atlaskit/select
2
2
 
3
+ ## 21.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#155023](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155023)
8
+ [`7a305b4f49968`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7a305b4f49968) -
9
+ [ux] Migrated underlying `react-select` implementation from `@emotion/react` to `@compiled/react`
10
+ to improve performance, align with the rest of the Atlaskit tech stack, and support React 18
11
+ Streaming SSR. Style customization should now be applied via the `components` prop with the new
12
+ `xcss` prop, which allows for safe and bounded style overrides. The `styles` prop is still
13
+ supported for most inline styles, but pseudo-classes and advanced selectors are no longer
14
+ supported and will be ignored.
15
+
16
+ If you use the `styles` prop with selectors like `:hover`, `:focus`, `:active`, `:disabled`,
17
+ `:before`, `:after`, attribute selectors, combinators, at-rules, or similar, you must migrate to
18
+ the new `components` API and use the `xcss` prop. See the
19
+ [examples](https://atlassian.design/components/eslint-plugin-design-system/enforce-inline-styles-in-select/usage)
20
+ for details.
21
+
22
+ This is a breaking change for any consumers relying on advanced selectors in the `styles` prop.
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies
27
+
3
28
  ## 20.7.2
4
29
 
5
30
  ### 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 = "20.7.2";
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 = "20.7.2";
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 = "20.7.2";
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.0",
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
48
  "@atlaskit/primitives": "^14.9.0",
49
- "@atlaskit/react-select": "^2.7.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.2.0",
77
77
  "@atlaskit/modal-dialog": "^14.2.0",
78
78
  "@atlaskit/radio": "^8.1.0",
79
79
  "@atlaskit/section-message": "^8.2.0",