@atlaskit/react-select 1.6.4 → 1.7.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,17 @@
1
1
  # @atlaskit/react-select
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
8
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
9
+ Update `React` from v16 to v18
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.6.4
4
16
 
5
17
  ### Patch Changes
@@ -591,9 +591,7 @@ export default class Select<Option = unknown, IsMulti extends boolean = false, G
591
591
  isRtl: boolean;
592
592
  options: OptionsOrGroups<Option, Group>;
593
593
  selectOption: (newValue: Option) => void;
594
- selectProps: Readonly<SelectProps<Option, IsMulti, Group>> & Readonly<{
595
- children?: React.ReactNode;
596
- }>;
594
+ selectProps: Readonly<SelectProps<Option, IsMulti, Group>>;
597
595
  setValue: (newValue: OnChangeValue<Option, IsMulti>, action: SetValueAction, option?: Option | undefined) => void;
598
596
  };
599
597
  getOptionLabel: (data: Option) => string;
@@ -591,9 +591,7 @@ export default class Select<Option = unknown, IsMulti extends boolean = false, G
591
591
  isRtl: boolean;
592
592
  options: OptionsOrGroups<Option, Group>;
593
593
  selectOption: (newValue: Option) => void;
594
- selectProps: Readonly<SelectProps<Option, IsMulti, Group>> & Readonly<{
595
- children?: React.ReactNode;
596
- }>;
594
+ selectProps: Readonly<SelectProps<Option, IsMulti, Group>>;
597
595
  setValue: (newValue: OnChangeValue<Option, IsMulti>, action: SetValueAction, option?: Option | undefined) => void;
598
596
  };
599
597
  getOptionLabel: (data: Option) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-select",
3
- "version": "1.6.4",
3
+ "version": "1.7.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,12 +29,12 @@
29
29
  "./types": "./src/types.tsx"
30
30
  },
31
31
  "dependencies": {
32
- "@atlaskit/ds-lib": "^3.3.0",
33
- "@atlaskit/icon": "^23.4.0",
32
+ "@atlaskit/ds-lib": "^3.5.0",
33
+ "@atlaskit/icon": "^23.5.0",
34
34
  "@atlaskit/platform-feature-flags": "^0.3.0",
35
- "@atlaskit/primitives": "^13.3.0",
36
- "@atlaskit/spinner": "^17.0.0",
37
- "@atlaskit/tokens": "^3.2.0",
35
+ "@atlaskit/primitives": "^13.4.0",
36
+ "@atlaskit/spinner": "^17.1.0",
37
+ "@atlaskit/tokens": "^3.3.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "@emotion/react": "^11.7.1",
40
40
  "@floating-ui/dom": "^1.0.1",
@@ -50,7 +50,7 @@
50
50
  "@af/visual-regression": "*",
51
51
  "@atlaskit/ssr": "*",
52
52
  "@atlaskit/visual-regression": "*",
53
- "@testing-library/react": "^12.1.5",
53
+ "@testing-library/react": "^13.4.0",
54
54
  "@testing-library/user-event": "^14.4.3",
55
55
  "jest-in-case": "^1.0.2",
56
56
  "react-intl-next": "npm:react-intl@^5.18.1",