@atlaskit/select 18.10.3 → 18.10.5

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,19 @@
1
1
  # @atlaskit/select
2
2
 
3
+ ## 18.10.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#106179](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/106179)
8
+ [`100bd1199507c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/100bd1199507c) -
9
+ Add support for testId
10
+
11
+ ## 18.10.4
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 18.10.3
4
18
 
5
19
  ### Patch Changes
@@ -440,6 +440,7 @@ var PopupSelect = exports.default = /*#__PURE__*/function (_PureComponent) {
440
440
  maxMenuHeight: _this.getMaxHeight(),
441
441
  components: selectComponents,
442
442
  onChange: _this.handleSelectChange,
443
+ testId: testId,
443
444
  ariaLiveMessages: _objectSpread({
444
445
  // Overwriting ariaLiveMessages builtin onFocus method to announce selected option when popup has been opened
445
446
  onFocus: onReactSelectFocus
@@ -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 = "18.10.3";
14
+ var packageVersion = "18.10.5";
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)({
@@ -421,6 +421,7 @@ export default class PopupSelect extends PureComponent {
421
421
  maxMenuHeight: this.getMaxHeight(),
422
422
  components: selectComponents,
423
423
  onChange: this.handleSelectChange,
424
+ testId: testId,
424
425
  ariaLiveMessages: {
425
426
  // Overwriting ariaLiveMessages builtin onFocus method to announce selected option when popup has been opened
426
427
  onFocus: onReactSelectFocus,
@@ -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 = "18.10.3";
6
+ const packageVersion = "18.10.5";
7
7
  export const SelectWithoutAnalytics = createSelect(AsyncSelect);
8
8
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
9
9
  const Select = withAnalyticsContext({
@@ -431,6 +431,7 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
431
431
  maxMenuHeight: _this.getMaxHeight(),
432
432
  components: selectComponents,
433
433
  onChange: _this.handleSelectChange,
434
+ testId: testId,
434
435
  ariaLiveMessages: _objectSpread({
435
436
  // Overwriting ariaLiveMessages builtin onFocus method to announce selected option when popup has been opened
436
437
  onFocus: onReactSelectFocus
@@ -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 = "18.10.3";
6
+ var packageVersion = "18.10.5";
7
7
  export var SelectWithoutAnalytics = createSelect(AsyncSelect);
8
8
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
9
9
  var Select = withAnalyticsContext({
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type SelectProps, type OptionType } from './types';
3
- declare const CheckboxSelect: <OptionT extends OptionType>({ components, ...props }: SelectProps<OptionT, true>) => JSX.Element;
3
+ declare const CheckboxSelect: <OptionT extends OptionType>({ components, ...props }: SelectProps<OptionT, true>) => React.JSX.Element;
4
4
  export default CheckboxSelect;
@@ -167,7 +167,7 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
167
167
  getItemCount: () => number;
168
168
  getMaxHeight: () => number | undefined;
169
169
  showSearchControl: () => boolean | undefined;
170
- renderSelect: (id: string) => JSX.Element | null;
171
- render(): JSX.Element;
170
+ renderSelect: (id: string) => React.JSX.Element | null;
171
+ render(): React.JSX.Element;
172
172
  }
173
173
  export {};
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { type SelectProps, type OptionType } from './types';
3
- declare const RadioSelect: React.MemoExoticComponent<({ components, ...props }: SelectProps<OptionType>) => JSX.Element>;
3
+ declare const RadioSelect: React.MemoExoticComponent<({ components, ...props }: SelectProps<OptionType>) => React.JSX.Element>;
4
4
  export default RadioSelect;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type SelectProps, type OptionType } from './types';
3
- declare const CheckboxSelect: <OptionT extends OptionType>({ components, ...props }: SelectProps<OptionT, true>) => JSX.Element;
3
+ declare const CheckboxSelect: <OptionT extends OptionType>({ components, ...props }: SelectProps<OptionT, true>) => React.JSX.Element;
4
4
  export default CheckboxSelect;
@@ -167,7 +167,7 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
167
167
  getItemCount: () => number;
168
168
  getMaxHeight: () => number | undefined;
169
169
  showSearchControl: () => boolean | undefined;
170
- renderSelect: (id: string) => JSX.Element | null;
171
- render(): JSX.Element;
170
+ renderSelect: (id: string) => React.JSX.Element | null;
171
+ render(): React.JSX.Element;
172
172
  }
173
173
  export {};
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { type SelectProps, type OptionType } from './types';
3
- declare const RadioSelect: React.MemoExoticComponent<({ components, ...props }: SelectProps<OptionType>) => JSX.Element>;
3
+ declare const RadioSelect: React.MemoExoticComponent<({ components, ...props }: SelectProps<OptionType>) => React.JSX.Element>;
4
4
  export default RadioSelect;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "18.10.3",
3
+ "version": "18.10.5",
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,12 +43,12 @@
43
43
  "dependencies": {
44
44
  "@atlaskit/analytics-next": "^10.3.0",
45
45
  "@atlaskit/ds-lib": "^3.5.0",
46
- "@atlaskit/icon": "^23.6.0",
46
+ "@atlaskit/icon": "^23.9.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.0.0",
48
- "@atlaskit/primitives": "^13.4.0",
48
+ "@atlaskit/primitives": "^13.5.0",
49
49
  "@atlaskit/react-select": "^1.7.0",
50
50
  "@atlaskit/spinner": "^17.1.0",
51
- "@atlaskit/theme": "^14.1.0",
51
+ "@atlaskit/theme": "^15.0.0",
52
52
  "@atlaskit/tokens": "^3.3.0",
53
53
  "@atlaskit/visually-hidden": "^1.6.0",
54
54
  "@babel/runtime": "^7.0.0",