@atlaskit/select 17.3.1 → 17.3.3
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/AsyncCreatableSelect/package.json +1 -1
- package/AsyncSelect/package.json +1 -1
- package/CHANGELOG.md +12 -0
- package/CreatableSelect/package.json +1 -1
- package/Select/package.json +1 -1
- package/dist/cjs/Select.js +4 -3
- package/dist/es2019/Select.js +6 -5
- package/dist/esm/Select.js +6 -5
- package/dist/types/AsyncCreatableSelect.d.ts +1 -1
- package/dist/types/AsyncSelect.d.ts +1 -1
- package/dist/types/CreatableSelect.d.ts +1 -1
- package/dist/types/Select.d.ts +4 -4
- package/dist/types/createSelect.d.ts +2 -2
- package/dist/types-ts4.5/AsyncCreatableSelect.d.ts +1 -1
- package/dist/types-ts4.5/AsyncSelect.d.ts +1 -1
- package/dist/types-ts4.5/CreatableSelect.d.ts +1 -1
- package/dist/types-ts4.5/Select.d.ts +4 -4
- package/dist/types-ts4.5/createSelect.d.ts +2 -2
- package/package.json +5 -4
package/AsyncSelect/package.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 17.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83130) [`4efd62cdc533`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4efd62cdc533) - SHPLVIII-481: Assign name to default export components to fix quick-fix imports
|
|
8
|
+
|
|
9
|
+
## 17.3.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
14
|
+
|
|
3
15
|
## 17.3.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/Select/package.json
CHANGED
package/dist/cjs/Select.js
CHANGED
|
@@ -9,10 +9,10 @@ var _reactSelect = _interopRequireDefault(require("react-select"));
|
|
|
9
9
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
10
10
|
var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
11
11
|
var packageName = "@atlaskit/select";
|
|
12
|
-
var packageVersion = "17.3.
|
|
12
|
+
var packageVersion = "17.3.3";
|
|
13
13
|
var SelectWithoutAnalytics = exports.SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
|
|
14
14
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
15
|
-
var
|
|
15
|
+
var Select = (0, _analyticsNext.withAnalyticsContext)({
|
|
16
16
|
componentName: 'select',
|
|
17
17
|
packageName: packageName,
|
|
18
18
|
packageVersion: packageVersion
|
|
@@ -26,4 +26,5 @@ var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
|
|
|
26
26
|
packageVersion: packageVersion
|
|
27
27
|
}
|
|
28
28
|
})
|
|
29
|
-
})(SelectWithoutAnalytics));
|
|
29
|
+
})(SelectWithoutAnalytics));
|
|
30
|
+
var _default = exports.default = Select;
|
package/dist/es2019/Select.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ReactSelect from 'react-select';
|
|
2
2
|
import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import createSelect from './createSelect';
|
|
4
4
|
const packageName = "@atlaskit/select";
|
|
5
|
-
const packageVersion = "17.3.
|
|
6
|
-
export const SelectWithoutAnalytics = createSelect(
|
|
5
|
+
const packageVersion = "17.3.3";
|
|
6
|
+
export const SelectWithoutAnalytics = createSelect(ReactSelect);
|
|
7
7
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
|
-
|
|
8
|
+
const Select = withAnalyticsContext({
|
|
9
9
|
componentName: 'select',
|
|
10
10
|
packageName,
|
|
11
11
|
packageVersion
|
|
@@ -19,4 +19,5 @@ export default withAnalyticsContext({
|
|
|
19
19
|
packageVersion
|
|
20
20
|
}
|
|
21
21
|
})
|
|
22
|
-
})(SelectWithoutAnalytics));
|
|
22
|
+
})(SelectWithoutAnalytics));
|
|
23
|
+
export default Select;
|
package/dist/esm/Select.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ReactSelect from 'react-select';
|
|
2
2
|
import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import createSelect from './createSelect';
|
|
4
4
|
var packageName = "@atlaskit/select";
|
|
5
|
-
var packageVersion = "17.3.
|
|
6
|
-
export var SelectWithoutAnalytics = createSelect(
|
|
5
|
+
var packageVersion = "17.3.3";
|
|
6
|
+
export var SelectWithoutAnalytics = createSelect(ReactSelect);
|
|
7
7
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
|
-
|
|
8
|
+
var Select = withAnalyticsContext({
|
|
9
9
|
componentName: 'select',
|
|
10
10
|
packageName: packageName,
|
|
11
11
|
packageVersion: packageVersion
|
|
@@ -19,4 +19,5 @@ export default withAnalyticsContext({
|
|
|
19
19
|
packageVersion: packageVersion
|
|
20
20
|
}
|
|
21
21
|
})
|
|
22
|
-
})(SelectWithoutAnalytics));
|
|
22
|
+
})(SelectWithoutAnalytics));
|
|
23
|
+
export default Select;
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
onClickPreventDefault: boolean;
|
|
38
38
|
tabSelectsValue: boolean;
|
|
39
39
|
components: {
|
|
40
|
-
Input: (props: import("react-select").InputProps
|
|
40
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
41
41
|
};
|
|
42
42
|
styles: {};
|
|
43
43
|
};
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
onClickPreventDefault: boolean;
|
|
38
38
|
tabSelectsValue: boolean;
|
|
39
39
|
components: {
|
|
40
|
-
Input: (props: import("react-select").InputProps
|
|
40
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
41
41
|
};
|
|
42
42
|
styles: {};
|
|
43
43
|
};
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
onClickPreventDefault: boolean;
|
|
38
38
|
tabSelectsValue: boolean;
|
|
39
39
|
components: {
|
|
40
|
-
Input: (props: import("react-select").InputProps
|
|
40
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
41
41
|
};
|
|
42
42
|
styles: {};
|
|
43
43
|
};
|
package/dist/types/Select.d.ts
CHANGED
|
@@ -37,13 +37,13 @@ export declare const SelectWithoutAnalytics: {
|
|
|
37
37
|
onClickPreventDefault: boolean;
|
|
38
38
|
tabSelectsValue: boolean;
|
|
39
39
|
components: {
|
|
40
|
-
Input: (props: import("react-select").InputProps
|
|
40
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
41
41
|
};
|
|
42
42
|
styles: {};
|
|
43
43
|
};
|
|
44
44
|
contextType?: import("react").Context<any> | undefined;
|
|
45
45
|
};
|
|
46
|
-
declare const
|
|
46
|
+
declare const Select: {
|
|
47
47
|
new <Option = import("./types").OptionType, IsMulti extends boolean = false>(props: import("./types").SelectProps<Option, IsMulti>): {
|
|
48
48
|
components: Partial<import("react-select/dist/declarations/src/components").SelectComponents<Option, IsMulti, import("react-select").GroupBase<Option>>>;
|
|
49
49
|
select: import("react-select/base").default<unknown, false, import("react-select").GroupBase<unknown>> | null;
|
|
@@ -81,10 +81,10 @@ declare const _default: {
|
|
|
81
81
|
onClickPreventDefault: boolean;
|
|
82
82
|
tabSelectsValue: boolean;
|
|
83
83
|
components: {
|
|
84
|
-
Input: (props: import("react-select").InputProps
|
|
84
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
85
85
|
};
|
|
86
86
|
styles: {};
|
|
87
87
|
};
|
|
88
88
|
contextType?: import("react").Context<any> | undefined;
|
|
89
89
|
};
|
|
90
|
-
export default
|
|
90
|
+
export default Select;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ComponentType } from 'react';
|
|
2
2
|
import { type GroupBase } from 'react-select';
|
|
3
3
|
import BaseSelect from 'react-select/base';
|
|
4
|
-
import { SelectProps,
|
|
4
|
+
import { SelectProps, OptionType, AsyncSelectProps, CreatableSelectProps } from './types';
|
|
5
5
|
export default function createSelect(WrappedComponent: ComponentType<any>): {
|
|
6
6
|
new <Option = OptionType, IsMulti extends boolean = false>(props: SelectProps<Option, IsMulti>): {
|
|
7
7
|
components: Partial<import("react-select/dist/declarations/src/components").SelectComponents<Option, IsMulti, GroupBase<Option>>>;
|
|
@@ -40,7 +40,7 @@ export default function createSelect(WrappedComponent: ComponentType<any>): {
|
|
|
40
40
|
onClickPreventDefault: boolean;
|
|
41
41
|
tabSelectsValue: boolean;
|
|
42
42
|
components: {
|
|
43
|
-
Input: (props: import("react-select").InputProps
|
|
43
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
44
44
|
};
|
|
45
45
|
styles: {};
|
|
46
46
|
};
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
onClickPreventDefault: boolean;
|
|
38
38
|
tabSelectsValue: boolean;
|
|
39
39
|
components: {
|
|
40
|
-
Input: (props: import("react-select").InputProps
|
|
40
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
41
41
|
};
|
|
42
42
|
styles: {};
|
|
43
43
|
};
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
onClickPreventDefault: boolean;
|
|
38
38
|
tabSelectsValue: boolean;
|
|
39
39
|
components: {
|
|
40
|
-
Input: (props: import("react-select").InputProps
|
|
40
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
41
41
|
};
|
|
42
42
|
styles: {};
|
|
43
43
|
};
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
onClickPreventDefault: boolean;
|
|
38
38
|
tabSelectsValue: boolean;
|
|
39
39
|
components: {
|
|
40
|
-
Input: (props: import("react-select").InputProps
|
|
40
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
41
41
|
};
|
|
42
42
|
styles: {};
|
|
43
43
|
};
|
|
@@ -37,13 +37,13 @@ export declare const SelectWithoutAnalytics: {
|
|
|
37
37
|
onClickPreventDefault: boolean;
|
|
38
38
|
tabSelectsValue: boolean;
|
|
39
39
|
components: {
|
|
40
|
-
Input: (props: import("react-select").InputProps
|
|
40
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
41
41
|
};
|
|
42
42
|
styles: {};
|
|
43
43
|
};
|
|
44
44
|
contextType?: import("react").Context<any> | undefined;
|
|
45
45
|
};
|
|
46
|
-
declare const
|
|
46
|
+
declare const Select: {
|
|
47
47
|
new <Option = import("./types").OptionType, IsMulti extends boolean = false>(props: import("./types").SelectProps<Option, IsMulti>): {
|
|
48
48
|
components: Partial<import("react-select/dist/declarations/src/components").SelectComponents<Option, IsMulti, import("react-select").GroupBase<Option>>>;
|
|
49
49
|
select: import("react-select/base").default<unknown, false, import("react-select").GroupBase<unknown>> | null;
|
|
@@ -81,10 +81,10 @@ declare const _default: {
|
|
|
81
81
|
onClickPreventDefault: boolean;
|
|
82
82
|
tabSelectsValue: boolean;
|
|
83
83
|
components: {
|
|
84
|
-
Input: (props: import("react-select").InputProps
|
|
84
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
85
85
|
};
|
|
86
86
|
styles: {};
|
|
87
87
|
};
|
|
88
88
|
contextType?: import("react").Context<any> | undefined;
|
|
89
89
|
};
|
|
90
|
-
export default
|
|
90
|
+
export default Select;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ComponentType } from 'react';
|
|
2
2
|
import { type GroupBase } from 'react-select';
|
|
3
3
|
import BaseSelect from 'react-select/base';
|
|
4
|
-
import { SelectProps,
|
|
4
|
+
import { SelectProps, OptionType, AsyncSelectProps, CreatableSelectProps } from './types';
|
|
5
5
|
export default function createSelect(WrappedComponent: ComponentType<any>): {
|
|
6
6
|
new <Option = OptionType, IsMulti extends boolean = false>(props: SelectProps<Option, IsMulti>): {
|
|
7
7
|
components: Partial<import("react-select/dist/declarations/src/components").SelectComponents<Option, IsMulti, GroupBase<Option>>>;
|
|
@@ -40,7 +40,7 @@ export default function createSelect(WrappedComponent: ComponentType<any>): {
|
|
|
40
40
|
onClickPreventDefault: boolean;
|
|
41
41
|
tabSelectsValue: boolean;
|
|
42
42
|
components: {
|
|
43
|
-
Input: (props: import("react-select").InputProps
|
|
43
|
+
Input: (props: import("react-select").InputProps) => JSX.Element;
|
|
44
44
|
};
|
|
45
45
|
styles: {};
|
|
46
46
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "17.3.
|
|
3
|
+
"version": "17.3.3",
|
|
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/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
47
47
|
"@atlaskit/spinner": "^16.0.0",
|
|
48
48
|
"@atlaskit/theme": "^12.6.0",
|
|
49
|
-
"@atlaskit/tokens": "^1.
|
|
49
|
+
"@atlaskit/tokens": "^1.42.0",
|
|
50
50
|
"@atlaskit/visually-hidden": "^1.2.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@emotion/react": "^11.7.1",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@af/accessibility-testing": "*",
|
|
70
70
|
"@af/integration-testing": "*",
|
|
71
|
+
"@atlaskit/ds-lib": "^2.2.0",
|
|
71
72
|
"@atlaskit/ssr": "*",
|
|
72
73
|
"@atlaskit/visual-regression": "*",
|
|
73
74
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
"jscodeshift": "^0.13.0",
|
|
81
82
|
"react-dom": "^16.8.0",
|
|
82
83
|
"react-value": "^0.2.0",
|
|
83
|
-
"typescript": "~4.
|
|
84
|
+
"typescript": "~5.4.2",
|
|
84
85
|
"wait-for-expect": "^1.2.0"
|
|
85
86
|
},
|
|
86
87
|
"techstack": {
|
|
@@ -110,4 +111,4 @@
|
|
|
110
111
|
},
|
|
111
112
|
"homepage": "https://atlassian.design/components/select/",
|
|
112
113
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
113
|
-
}
|
|
114
|
+
}
|