@atlaskit/select 21.2.3 → 21.2.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/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 +1 -1
- package/dist/es2019/Select.js +1 -1
- package/dist/esm/Select.js +1 -1
- package/dist/types/AsyncCreatableSelect.d.ts +1 -2
- package/dist/types/AsyncSelect.d.ts +1 -2
- package/dist/types/CheckboxSelect.d.ts +2 -1
- package/dist/types/CountrySelect.d.ts +0 -1
- package/dist/types/CreatableSelect.d.ts +1 -2
- package/dist/types/PopupSelect/PopupSelect.d.ts +3 -4
- package/dist/types/Select.d.ts +3 -5
- package/dist/types/components/input-options.d.ts +0 -1
- package/dist/types/types.d.ts +0 -1
- package/dist/types-ts4.5/AsyncCreatableSelect.d.ts +1 -2
- package/dist/types-ts4.5/AsyncSelect.d.ts +1 -2
- package/dist/types-ts4.5/CheckboxSelect.d.ts +2 -1
- package/dist/types-ts4.5/CountrySelect.d.ts +0 -1
- package/dist/types-ts4.5/CreatableSelect.d.ts +1 -2
- package/dist/types-ts4.5/PopupSelect/PopupSelect.d.ts +3 -4
- package/dist/types-ts4.5/Select.d.ts +3 -5
- package/dist/types-ts4.5/components/input-options.d.ts +0 -1
- package/dist/types-ts4.5/types.d.ts +0 -1
- package/package.json +8 -9
- package/types/package.json +1 -1
package/AsyncSelect/package.json
CHANGED
package/CHANGELOG.md
CHANGED
package/Select/package.json
CHANGED
package/dist/cjs/Select.js
CHANGED
|
@@ -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 = "21.2.
|
|
14
|
+
var packageVersion = "21.2.4";
|
|
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)({
|
package/dist/es2019/Select.js
CHANGED
|
@@ -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 = "21.2.
|
|
6
|
+
const packageVersion = "21.2.4";
|
|
7
7
|
export const SelectWithoutAnalytics = createSelect(AsyncSelect);
|
|
8
8
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
const Select = withAnalyticsContext({
|
package/dist/esm/Select.js
CHANGED
|
@@ -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 = "21.2.
|
|
6
|
+
var packageVersion = "21.2.4";
|
|
7
7
|
export var SelectWithoutAnalytics = createSelect(AsyncSelect);
|
|
8
8
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
var Select = withAnalyticsContext({
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const AsyncCreatableSelect: <Option extends unknown = import("./types").OptionType, IsMulti extends boolean = false>(props: (import("./types").SelectProps<Option, IsMulti> | import("./types").AsyncSelectProps<Option, IsMulti> | import("./types").CreatableSelectProps<Option, IsMulti>) & {
|
|
3
|
-
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType
|
|
2
|
+
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType>;
|
|
4
3
|
}) => JSX.Element;
|
|
5
4
|
export default AsyncCreatableSelect;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const AsyncSelect: <Option extends unknown = import("./types").OptionType, IsMulti extends boolean = false>(props: (import("./types").SelectProps<Option, IsMulti> | import("./types").AsyncSelectProps<Option, IsMulti> | import("./types").CreatableSelectProps<Option, IsMulti>) & {
|
|
3
|
-
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType
|
|
2
|
+
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType>;
|
|
4
3
|
}) => JSX.Element;
|
|
5
4
|
export default AsyncSelect;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type OptionType, type SelectProps } from './types';
|
|
3
|
-
declare const
|
|
3
|
+
declare const CheckboxSelectInternal: <OptionT extends OptionType>({ components, ...props }: SelectProps<OptionT, true>) => React.JSX.Element;
|
|
4
|
+
declare const CheckboxSelect: typeof CheckboxSelectInternal;
|
|
4
5
|
export default CheckboxSelect;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const CreatableSelect: <Option extends unknown = import("./types").OptionType, IsMulti extends boolean = false>(props: (import("./types").SelectProps<Option, IsMulti> | import("./types").AsyncSelectProps<Option, IsMulti> | import("./types").CreatableSelectProps<Option, IsMulti>) & {
|
|
3
|
-
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType
|
|
2
|
+
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType>;
|
|
4
3
|
}) => JSX.Element;
|
|
5
4
|
export default CreatableSelect;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { type KeyboardEventHandler, PureComponent, type ReactNode } from 'react';
|
|
2
2
|
import { type UnbindFn } from 'bind-event-listener';
|
|
3
3
|
import { type PopperProps } from 'react-popper';
|
|
4
|
-
import { type GroupBase } from '@atlaskit/react-select';
|
|
5
4
|
import { type ActionMeta, type AtlaskitSelectRefType, type OptionType, type ReactSelectProps, type StylesConfig, type ValidationState, type ValueType } from '../types';
|
|
6
5
|
type defaultModifiers = 'offset' | 'preventOverflow' | 'flip';
|
|
7
6
|
type PopperPropsNoChildren<Modifiers> = Omit<PopperProps<Modifiers>, 'children'>;
|
|
@@ -114,10 +113,10 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
|
|
|
114
113
|
Control: React.FC<import("../types").ControlProps<OptionType, boolean>>;
|
|
115
114
|
DropdownIndicator: () => JSX.Element;
|
|
116
115
|
Menu: ({ children, innerProps }: import("../types").MenuProps<OptionType, boolean>) => JSX.Element;
|
|
117
|
-
ClearIndicator: (props: import("@atlaskit/react-select").ClearIndicatorProps
|
|
118
|
-
MultiValueRemove: (props: import("@atlaskit/react-select").MultiValueRemoveProps
|
|
116
|
+
ClearIndicator: (props: import("@atlaskit/react-select").ClearIndicatorProps) => JSX.Element;
|
|
117
|
+
MultiValueRemove: (props: import("@atlaskit/react-select").MultiValueRemoveProps) => JSX.Element;
|
|
119
118
|
};
|
|
120
|
-
mergedPopperProps: PopperPropsNoChildren<string>;
|
|
119
|
+
mergedPopperProps: PopperPropsNoChildren<defaultModifiers | string>;
|
|
121
120
|
};
|
|
122
121
|
static defaultProps: {
|
|
123
122
|
closeMenuOnSelect: boolean;
|
package/dist/types/Select.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import createSelect from './createSelect';
|
|
2
2
|
export declare const SelectWithoutAnalytics: <Option extends unknown = import("./types").OptionType, IsMulti extends boolean = false>(props: (import("./types").SelectProps<Option, IsMulti> | import("./types").AsyncSelectProps<Option, IsMulti> | import("./types").CreatableSelectProps<Option, IsMulti>) & {
|
|
3
|
-
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType
|
|
4
|
-
}) => JSX.Element;
|
|
5
|
-
declare const Select: <Option extends unknown = import("./types").OptionType, IsMulti extends boolean = false>(props: (import("./types").SelectProps<Option, IsMulti> | import("./types").AsyncSelectProps<Option, IsMulti> | import("./types").CreatableSelectProps<Option, IsMulti>) & {
|
|
6
|
-
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType> | undefined;
|
|
3
|
+
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType>;
|
|
7
4
|
}) => JSX.Element;
|
|
5
|
+
declare const Select: ReturnType<typeof createSelect>;
|
|
8
6
|
export default Select;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
2
|
import { type AriaOnFocusProps, type ClearIndicatorProps, type DropdownIndicatorProps, type FormatOptionLabelMeta, type GroupBase as GroupType, type IndicatorsContainerProps, type InputActionMeta, type InputProps, type LoadingIndicatorProps, type MultiValueGenericProps, type MultiValueProps, type MultiValueRemoveProps, type NoticeProps, type OptionProps as ReactSelectOptionProps, type Props as ReactSelectProps, type ActionMeta as RSActionMeta, type ControlProps as RSControlProps, type GroupProps as RSGroupProps, type MenuListProps as RSMenuListComponentProps, type MenuProps as RSMenuProps, type Options as RSOptionsType, type PlaceholderProps as RSPlaceholderProps, type SelectComponentsConfig as RSSelectComponentsConfig, type StylesConfig as RSStylesConfig, type ValueContainerProps as RSValueContainerProps, type OnChangeValue as RSValueType, type SelectInstance, type SingleValueProps } from '@atlaskit/react-select';
|
|
4
3
|
import { type AsyncProps } from '@atlaskit/react-select/async';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const AsyncCreatableSelect: <Option extends unknown = import("./types").OptionType, IsMulti extends boolean = false>(props: (import("./types").SelectProps<Option, IsMulti> | import("./types").AsyncSelectProps<Option, IsMulti> | import("./types").CreatableSelectProps<Option, IsMulti>) & {
|
|
3
|
-
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType
|
|
2
|
+
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType>;
|
|
4
3
|
}) => JSX.Element;
|
|
5
4
|
export default AsyncCreatableSelect;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const AsyncSelect: <Option extends unknown = import("./types").OptionType, IsMulti extends boolean = false>(props: (import("./types").SelectProps<Option, IsMulti> | import("./types").AsyncSelectProps<Option, IsMulti> | import("./types").CreatableSelectProps<Option, IsMulti>) & {
|
|
3
|
-
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType
|
|
2
|
+
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType>;
|
|
4
3
|
}) => JSX.Element;
|
|
5
4
|
export default AsyncSelect;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type OptionType, type SelectProps } from './types';
|
|
3
|
-
declare const
|
|
3
|
+
declare const CheckboxSelectInternal: <OptionT extends OptionType>({ components, ...props }: SelectProps<OptionT, true>) => React.JSX.Element;
|
|
4
|
+
declare const CheckboxSelect: typeof CheckboxSelectInternal;
|
|
4
5
|
export default CheckboxSelect;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const CreatableSelect: <Option extends unknown = import("./types").OptionType, IsMulti extends boolean = false>(props: (import("./types").SelectProps<Option, IsMulti> | import("./types").AsyncSelectProps<Option, IsMulti> | import("./types").CreatableSelectProps<Option, IsMulti>) & {
|
|
3
|
-
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType
|
|
2
|
+
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType>;
|
|
4
3
|
}) => JSX.Element;
|
|
5
4
|
export default CreatableSelect;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { type KeyboardEventHandler, PureComponent, type ReactNode } from 'react';
|
|
2
2
|
import { type UnbindFn } from 'bind-event-listener';
|
|
3
3
|
import { type PopperProps } from 'react-popper';
|
|
4
|
-
import { type GroupBase } from '@atlaskit/react-select';
|
|
5
4
|
import { type ActionMeta, type AtlaskitSelectRefType, type OptionType, type ReactSelectProps, type StylesConfig, type ValidationState, type ValueType } from '../types';
|
|
6
5
|
type defaultModifiers = 'offset' | 'preventOverflow' | 'flip';
|
|
7
6
|
type PopperPropsNoChildren<Modifiers> = Omit<PopperProps<Modifiers>, 'children'>;
|
|
@@ -114,10 +113,10 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
|
|
|
114
113
|
Control: React.FC<import("../types").ControlProps<OptionType, boolean>>;
|
|
115
114
|
DropdownIndicator: () => JSX.Element;
|
|
116
115
|
Menu: ({ children, innerProps }: import("../types").MenuProps<OptionType, boolean>) => JSX.Element;
|
|
117
|
-
ClearIndicator: (props: import("@atlaskit/react-select").ClearIndicatorProps
|
|
118
|
-
MultiValueRemove: (props: import("@atlaskit/react-select").MultiValueRemoveProps
|
|
116
|
+
ClearIndicator: (props: import("@atlaskit/react-select").ClearIndicatorProps) => JSX.Element;
|
|
117
|
+
MultiValueRemove: (props: import("@atlaskit/react-select").MultiValueRemoveProps) => JSX.Element;
|
|
119
118
|
};
|
|
120
|
-
mergedPopperProps: PopperPropsNoChildren<string>;
|
|
119
|
+
mergedPopperProps: PopperPropsNoChildren<defaultModifiers | string>;
|
|
121
120
|
};
|
|
122
121
|
static defaultProps: {
|
|
123
122
|
closeMenuOnSelect: boolean;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import createSelect from './createSelect';
|
|
2
2
|
export declare const SelectWithoutAnalytics: <Option extends unknown = import("./types").OptionType, IsMulti extends boolean = false>(props: (import("./types").SelectProps<Option, IsMulti> | import("./types").AsyncSelectProps<Option, IsMulti> | import("./types").CreatableSelectProps<Option, IsMulti>) & {
|
|
3
|
-
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType
|
|
4
|
-
}) => JSX.Element;
|
|
5
|
-
declare const Select: <Option extends unknown = import("./types").OptionType, IsMulti extends boolean = false>(props: (import("./types").SelectProps<Option, IsMulti> | import("./types").AsyncSelectProps<Option, IsMulti> | import("./types").CreatableSelectProps<Option, IsMulti>) & {
|
|
6
|
-
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType> | undefined;
|
|
3
|
+
ref?: import("react").Ref<import("./types").AtlaskitSelectRefType>;
|
|
7
4
|
}) => JSX.Element;
|
|
5
|
+
declare const Select: ReturnType<typeof createSelect>;
|
|
8
6
|
export default Select;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
2
|
import { type AriaOnFocusProps, type ClearIndicatorProps, type DropdownIndicatorProps, type FormatOptionLabelMeta, type GroupBase as GroupType, type IndicatorsContainerProps, type InputActionMeta, type InputProps, type LoadingIndicatorProps, type MultiValueGenericProps, type MultiValueProps, type MultiValueRemoveProps, type NoticeProps, type OptionProps as ReactSelectOptionProps, type Props as ReactSelectProps, type ActionMeta as RSActionMeta, type ControlProps as RSControlProps, type GroupProps as RSGroupProps, type MenuListProps as RSMenuListComponentProps, type MenuProps as RSMenuProps, type Options as RSOptionsType, type PlaceholderProps as RSPlaceholderProps, type SelectComponentsConfig as RSSelectComponentsConfig, type StylesConfig as RSStylesConfig, type ValueContainerProps as RSValueContainerProps, type OnChangeValue as RSValueType, type SelectInstance, type SingleValueProps } from '@atlaskit/react-select';
|
|
4
3
|
import { type AsyncProps } from '@atlaskit/react-select/async';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "21.2.
|
|
3
|
+
"version": "21.2.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/"
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
44
44
|
"@atlaskit/ds-lib": "^5.0.0",
|
|
45
|
-
"@atlaskit/icon": "^
|
|
45
|
+
"@atlaskit/icon": "^28.0.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
47
|
"@atlaskit/primitives": "^14.11.0",
|
|
48
48
|
"@atlaskit/react-select": "^3.4.0",
|
|
49
49
|
"@atlaskit/spinner": "^19.0.0",
|
|
50
50
|
"@atlaskit/theme": "^19.0.0",
|
|
51
|
-
"@atlaskit/tokens": "^
|
|
51
|
+
"@atlaskit/tokens": "^6.0.0",
|
|
52
52
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@compiled/react": "^0.18.3",
|
|
@@ -66,15 +66,15 @@
|
|
|
66
66
|
"@af/accessibility-testing": "workspace:^",
|
|
67
67
|
"@af/integration-testing": "workspace:^",
|
|
68
68
|
"@af/visual-regression": "workspace:^",
|
|
69
|
-
"@atlaskit/button": "^23.
|
|
69
|
+
"@atlaskit/button": "^23.4.0",
|
|
70
70
|
"@atlaskit/checkbox": "^17.1.0",
|
|
71
71
|
"@atlaskit/docs": "^11.0.0",
|
|
72
72
|
"@atlaskit/drawer": "^11.0.0",
|
|
73
|
-
"@atlaskit/form": "^12.
|
|
73
|
+
"@atlaskit/form": "^12.1.0",
|
|
74
74
|
"@atlaskit/link": "^3.2.0",
|
|
75
|
-
"@atlaskit/logo": "^19.
|
|
75
|
+
"@atlaskit/logo": "^19.7.0",
|
|
76
76
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
77
|
-
"@atlaskit/radio": "^8.
|
|
77
|
+
"@atlaskit/radio": "^8.2.0",
|
|
78
78
|
"@atlaskit/section-message": "^8.5.0",
|
|
79
79
|
"@atlassian/ssr-tests": "^0.2.0",
|
|
80
80
|
"@testing-library/react": "^13.4.0",
|
|
@@ -83,8 +83,7 @@
|
|
|
83
83
|
"jest-in-case": "^1.0.2",
|
|
84
84
|
"jscodeshift": "^17.0.0",
|
|
85
85
|
"react-dom": "^18.2.0",
|
|
86
|
-
"react-select-event": "^5.5.0"
|
|
87
|
-
"typescript": "~5.4.2"
|
|
86
|
+
"react-select-event": "^5.5.0"
|
|
88
87
|
},
|
|
89
88
|
"techstack": {
|
|
90
89
|
"@repo/internal": {
|