@atlaskit/select 15.7.3 → 15.7.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 +13 -0
- package/dist/cjs/CountrySelect.js +2 -1
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/createSelect.js +4 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/CountrySelect.js +2 -1
- package/dist/es2019/Select.js +1 -1
- package/dist/es2019/createSelect.js +4 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/CountrySelect.js +2 -1
- package/dist/esm/Select.js +1 -1
- package/dist/esm/createSelect.js +4 -2
- package/dist/esm/version.json +1 -1
- package/dist/types/AsyncCreatableSelect.d.ts +0 -1
- package/dist/types/AsyncSelect.d.ts +0 -1
- package/dist/types/CountrySelect.d.ts +0 -1
- package/dist/types/CreatableSelect.d.ts +0 -1
- package/dist/types/Select.d.ts +0 -2
- package/dist/types/createSelect.d.ts +0 -1
- package/dist/types-ts4.0/AsyncCreatableSelect.d.ts +0 -1
- package/dist/types-ts4.0/AsyncSelect.d.ts +0 -1
- package/dist/types-ts4.0/CountrySelect.d.ts +0 -1
- package/dist/types-ts4.0/CreatableSelect.d.ts +0 -1
- package/dist/types-ts4.0/Select.d.ts +0 -2
- package/dist/types-ts4.0/createSelect.d.ts +0 -1
- package/package.json +15 -12
- package/report.api.md +321 -132
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 15.7.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a0bf7e532ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a0bf7e532ff) - Fix validationState taking precedent over isInvalid
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 15.7.4
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
15
|
+
|
|
3
16
|
## 15.7.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -24,7 +24,8 @@ var labelStyles = (0, _react.css)({
|
|
|
24
24
|
});
|
|
25
25
|
var flagStyles = (0, _react.css)({
|
|
26
26
|
fontSize: '18px',
|
|
27
|
-
|
|
27
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'8px'`
|
|
28
|
+
marginRight: "var(--ds-scale-100, 8px)"
|
|
28
29
|
});
|
|
29
30
|
|
|
30
31
|
var Opt = function Opt(_ref) {
|
package/dist/cjs/Select.js
CHANGED
|
@@ -14,7 +14,7 @@ var _analyticsNext = require("@atlaskit/analytics-next");
|
|
|
14
14
|
var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
15
15
|
|
|
16
16
|
var packageName = "@atlaskit/select";
|
|
17
|
-
var packageVersion = "15.7.
|
|
17
|
+
var packageVersion = "15.7.5";
|
|
18
18
|
var SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
|
|
19
19
|
exports.SelectWithoutAnalytics = SelectWithoutAnalytics;
|
|
20
20
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
package/dist/cjs/createSelect.js
CHANGED
|
@@ -130,14 +130,16 @@ function createSelect(WrappedComponent) {
|
|
|
130
130
|
"aria-live": "assertive"
|
|
131
131
|
}, props, {
|
|
132
132
|
components: this.components,
|
|
133
|
-
styles: (0, _reactSelect.mergeStyles)((0, _styles.default)(
|
|
133
|
+
styles: (0, _reactSelect.mergeStyles)((0, _styles.default)( // This will cover both props for invalid state while giving priority to isInvalid. When cleaning up validationState, we can just keep the inner condition.
|
|
134
|
+
typeof isInvalid !== 'undefined' ? isInvalid ? 'error' : 'default' : validationState, isCompact, this.props.appearance || 'default'), styles)
|
|
134
135
|
}));
|
|
135
136
|
}
|
|
136
137
|
}]);
|
|
137
138
|
return AtlaskitSelect;
|
|
138
139
|
}(_react.Component), (0, _defineProperty2.default)(_class, "defaultProps", {
|
|
139
140
|
validationState: 'default',
|
|
140
|
-
|
|
141
|
+
// TODO: uncomment the next line when cleaning up validationState prop so it has a default value
|
|
142
|
+
// isInvalid: false,
|
|
141
143
|
spacing: 'default',
|
|
142
144
|
onClickPreventDefault: true,
|
|
143
145
|
tabSelectsValue: false,
|
package/dist/cjs/version.json
CHANGED
|
@@ -12,7 +12,8 @@ const labelStyles = css({
|
|
|
12
12
|
});
|
|
13
13
|
const flagStyles = css({
|
|
14
14
|
fontSize: '18px',
|
|
15
|
-
|
|
15
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'8px'`
|
|
16
|
+
marginRight: "var(--ds-scale-100, 8px)"
|
|
16
17
|
});
|
|
17
18
|
|
|
18
19
|
const Opt = ({
|
package/dist/es2019/Select.js
CHANGED
|
@@ -2,7 +2,7 @@ import Select 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 = "15.7.
|
|
5
|
+
const packageVersion = "15.7.5";
|
|
6
6
|
export const SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
|
@@ -76,13 +76,15 @@ export default function createSelect(WrappedComponent) {
|
|
|
76
76
|
"aria-live": "assertive"
|
|
77
77
|
}, props, {
|
|
78
78
|
components: this.components,
|
|
79
|
-
styles: mergeStyles(baseStyles(
|
|
79
|
+
styles: mergeStyles(baseStyles( // This will cover both props for invalid state while giving priority to isInvalid. When cleaning up validationState, we can just keep the inner condition.
|
|
80
|
+
typeof isInvalid !== 'undefined' ? isInvalid ? 'error' : 'default' : validationState, isCompact, this.props.appearance || 'default'), styles)
|
|
80
81
|
}));
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
}, _defineProperty(_class, "defaultProps", {
|
|
84
85
|
validationState: 'default',
|
|
85
|
-
|
|
86
|
+
// TODO: uncomment the next line when cleaning up validationState prop so it has a default value
|
|
87
|
+
// isInvalid: false,
|
|
86
88
|
spacing: 'default',
|
|
87
89
|
onClickPreventDefault: true,
|
|
88
90
|
tabSelectsValue: false,
|
package/dist/es2019/version.json
CHANGED
|
@@ -12,7 +12,8 @@ var labelStyles = css({
|
|
|
12
12
|
});
|
|
13
13
|
var flagStyles = css({
|
|
14
14
|
fontSize: '18px',
|
|
15
|
-
|
|
15
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'8px'`
|
|
16
|
+
marginRight: "var(--ds-scale-100, 8px)"
|
|
16
17
|
});
|
|
17
18
|
|
|
18
19
|
var Opt = function Opt(_ref) {
|
package/dist/esm/Select.js
CHANGED
|
@@ -2,7 +2,7 @@ import Select 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 = "15.7.
|
|
5
|
+
var packageVersion = "15.7.5";
|
|
6
6
|
export var SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
package/dist/esm/createSelect.js
CHANGED
|
@@ -106,7 +106,8 @@ export default function createSelect(WrappedComponent) {
|
|
|
106
106
|
"aria-live": "assertive"
|
|
107
107
|
}, props, {
|
|
108
108
|
components: this.components,
|
|
109
|
-
styles: mergeStyles(baseStyles(
|
|
109
|
+
styles: mergeStyles(baseStyles( // This will cover both props for invalid state while giving priority to isInvalid. When cleaning up validationState, we can just keep the inner condition.
|
|
110
|
+
typeof isInvalid !== 'undefined' ? isInvalid ? 'error' : 'default' : validationState, isCompact, this.props.appearance || 'default'), styles)
|
|
110
111
|
}));
|
|
111
112
|
}
|
|
112
113
|
}]);
|
|
@@ -114,7 +115,8 @@ export default function createSelect(WrappedComponent) {
|
|
|
114
115
|
return AtlaskitSelect;
|
|
115
116
|
}(Component), _defineProperty(_class, "defaultProps", {
|
|
116
117
|
validationState: 'default',
|
|
117
|
-
|
|
118
|
+
// TODO: uncomment the next line when cleaning up validationState prop so it has a default value
|
|
119
|
+
// isInvalid: false,
|
|
118
120
|
spacing: 'default',
|
|
119
121
|
onClickPreventDefault: true,
|
|
120
122
|
tabSelectsValue: false,
|
package/dist/esm/version.json
CHANGED
package/dist/types/Select.d.ts
CHANGED
|
@@ -34,7 +34,6 @@ export declare const SelectWithoutAnalytics: {
|
|
|
34
34
|
};
|
|
35
35
|
defaultProps: {
|
|
36
36
|
validationState: string;
|
|
37
|
-
isInvalid: boolean;
|
|
38
37
|
spacing: string;
|
|
39
38
|
onClickPreventDefault: boolean;
|
|
40
39
|
tabSelectsValue: boolean;
|
|
@@ -77,7 +76,6 @@ declare const _default: {
|
|
|
77
76
|
};
|
|
78
77
|
defaultProps: {
|
|
79
78
|
validationState: string;
|
|
80
|
-
isInvalid: boolean;
|
|
81
79
|
spacing: string;
|
|
82
80
|
onClickPreventDefault: boolean;
|
|
83
81
|
tabSelectsValue: boolean;
|
|
@@ -34,7 +34,6 @@ export declare const SelectWithoutAnalytics: {
|
|
|
34
34
|
};
|
|
35
35
|
defaultProps: {
|
|
36
36
|
validationState: string;
|
|
37
|
-
isInvalid: boolean;
|
|
38
37
|
spacing: string;
|
|
39
38
|
onClickPreventDefault: boolean;
|
|
40
39
|
tabSelectsValue: boolean;
|
|
@@ -77,7 +76,6 @@ declare const _default: {
|
|
|
77
76
|
};
|
|
78
77
|
defaultProps: {
|
|
79
78
|
validationState: string;
|
|
80
|
-
isInvalid: boolean;
|
|
81
79
|
spacing: string;
|
|
82
80
|
onClickPreventDefault: boolean;
|
|
83
81
|
tabSelectsValue: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "15.7.
|
|
3
|
+
"version": "15.7.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/"
|
|
@@ -15,13 +15,15 @@
|
|
|
15
15
|
"typesVersions": {
|
|
16
16
|
">=4.0 <4.5": {
|
|
17
17
|
"*": [
|
|
18
|
-
"dist/types-ts4.0/*"
|
|
18
|
+
"dist/types-ts4.0/*",
|
|
19
|
+
"dist/types-ts4.0/index.d.ts"
|
|
19
20
|
]
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
23
|
"sideEffects": false,
|
|
23
24
|
"atlaskit:src": "src/index.tsx",
|
|
24
25
|
"atlassian": {
|
|
26
|
+
"disableProductCI": true,
|
|
25
27
|
"team": "Design System Team",
|
|
26
28
|
"deprecatedAutoEntryPoints": true,
|
|
27
29
|
"releaseModel": "scheduled",
|
|
@@ -32,8 +34,8 @@
|
|
|
32
34
|
},
|
|
33
35
|
"dependencies": {
|
|
34
36
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
35
|
-
"@atlaskit/icon": "^21.
|
|
36
|
-
"@atlaskit/spinner": "^15.
|
|
37
|
+
"@atlaskit/icon": "^21.11.0",
|
|
38
|
+
"@atlaskit/spinner": "^15.2.0",
|
|
37
39
|
"@atlaskit/theme": "^12.2.0",
|
|
38
40
|
"@atlaskit/tokens": "^0.10.0",
|
|
39
41
|
"@atlaskit/visually-hidden": "^1.1.0",
|
|
@@ -56,17 +58,17 @@
|
|
|
56
58
|
"react-dom": "^16.8.0"
|
|
57
59
|
},
|
|
58
60
|
"devDependencies": {
|
|
59
|
-
"@atlaskit/button": "^16.
|
|
60
|
-
"@atlaskit/checkbox": "^12.
|
|
61
|
+
"@atlaskit/button": "^16.4.0",
|
|
62
|
+
"@atlaskit/checkbox": "^12.4.0",
|
|
61
63
|
"@atlaskit/docs": "*",
|
|
62
|
-
"@atlaskit/drawer": "^7.
|
|
63
|
-
"@atlaskit/form": "^8.
|
|
64
|
-
"@atlaskit/logo": "^13.
|
|
65
|
-
"@atlaskit/modal-dialog": "^12.
|
|
64
|
+
"@atlaskit/drawer": "^7.4.0",
|
|
65
|
+
"@atlaskit/form": "^8.7.0",
|
|
66
|
+
"@atlaskit/logo": "^13.10.0",
|
|
67
|
+
"@atlaskit/modal-dialog": "^12.4.0",
|
|
66
68
|
"@atlaskit/radio": "^5.4.0",
|
|
67
|
-
"@atlaskit/section-message": "^6.
|
|
69
|
+
"@atlaskit/section-message": "^6.3.0",
|
|
68
70
|
"@atlaskit/ssr": "*",
|
|
69
|
-
"@atlaskit/tooltip": "^17.
|
|
71
|
+
"@atlaskit/tooltip": "^17.6.0",
|
|
70
72
|
"@atlaskit/visual-regression": "*",
|
|
71
73
|
"@atlaskit/webdriver-runner": "*",
|
|
72
74
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
@@ -84,6 +86,7 @@
|
|
|
84
86
|
"techstack": {
|
|
85
87
|
"@repo/internal": {
|
|
86
88
|
"dom-events": "use-bind-event-listener",
|
|
89
|
+
"design-tokens": "spacing",
|
|
87
90
|
"theming": "tokens",
|
|
88
91
|
"deprecation": "no-deprecated-imports",
|
|
89
92
|
"styling": [
|
package/report.api.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
4
|
|
|
5
|
+
<!--
|
|
6
|
+
Generated API Report version: 2.0
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
10
|
+
|
|
5
11
|
```ts
|
|
6
12
|
/// <reference types="react" />
|
|
7
13
|
|
|
@@ -14,13 +20,14 @@ import { default as default_2 } from 'react-select/src/Select';
|
|
|
14
20
|
import { default as default_3 } from 'react-select';
|
|
15
21
|
import { ErrorInfo } from 'react';
|
|
16
22
|
import { FC } from 'react';
|
|
17
|
-
import { FocusTrap } from 'focus-trap';
|
|
18
23
|
import { FormatOptionLabelMeta as FormatOptionLabelMeta_2 } from 'react-select';
|
|
19
24
|
import { GroupedOptionsType } from 'react-select';
|
|
20
25
|
import { GroupTypeBase as GroupType } from 'react-select';
|
|
21
26
|
import { IndicatorComponentType as IndicatorComponentType_2 } from 'react-select';
|
|
22
27
|
import { IndicatorProps as IndicatorProps_2 } from 'react-select';
|
|
28
|
+
import { InputActionMeta as InputActionMeta_2 } from 'react-select';
|
|
23
29
|
import { InputProps } from 'react-select';
|
|
30
|
+
import { jsx } from '@emotion/react';
|
|
24
31
|
import { makeAsyncSelect } from 'react-select/async';
|
|
25
32
|
import { makeCreatableSelect } from 'react-select/creatable';
|
|
26
33
|
import { MenuListComponentProps as MenuListComponentProps_2 } from 'react-select';
|
|
@@ -43,9 +50,11 @@ import { ValueContainerProps as ValueContainerProps_2 } from 'react-select';
|
|
|
43
50
|
import { ValueType as ValueType_2 } from 'react-select';
|
|
44
51
|
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
45
52
|
|
|
46
|
-
|
|
53
|
+
// @public (undocumented)
|
|
54
|
+
export type ActionMeta<Option = OptionType> = ActionMeta_2<Option>;
|
|
47
55
|
|
|
48
|
-
|
|
56
|
+
// @public (undocumented)
|
|
57
|
+
export const AsyncCreatableSelect: {
|
|
49
58
|
new <Option = OptionType, IsMulti extends boolean = false>(
|
|
50
59
|
props: SelectProps<Option, IsMulti>,
|
|
51
60
|
): {
|
|
@@ -130,6 +139,7 @@ export declare const AsyncCreatableSelect: {
|
|
|
130
139
|
};
|
|
131
140
|
defaultProps: {
|
|
132
141
|
validationState: string;
|
|
142
|
+
isInvalid: boolean;
|
|
133
143
|
spacing: string;
|
|
134
144
|
onClickPreventDefault: boolean;
|
|
135
145
|
tabSelectsValue: boolean;
|
|
@@ -139,7 +149,8 @@ export declare const AsyncCreatableSelect: {
|
|
|
139
149
|
contextType?: Context<any> | undefined;
|
|
140
150
|
};
|
|
141
151
|
|
|
142
|
-
|
|
152
|
+
// @public (undocumented)
|
|
153
|
+
export const AsyncSelect: {
|
|
143
154
|
new <Option = OptionType, IsMulti extends boolean = false>(
|
|
144
155
|
props: SelectProps<Option, IsMulti>,
|
|
145
156
|
): {
|
|
@@ -224,6 +235,7 @@ export declare const AsyncSelect: {
|
|
|
224
235
|
};
|
|
225
236
|
defaultProps: {
|
|
226
237
|
validationState: string;
|
|
238
|
+
isInvalid: boolean;
|
|
227
239
|
spacing: string;
|
|
228
240
|
onClickPreventDefault: boolean;
|
|
229
241
|
tabSelectsValue: boolean;
|
|
@@ -233,23 +245,45 @@ export declare const AsyncSelect: {
|
|
|
233
245
|
contextType?: Context<any> | undefined;
|
|
234
246
|
};
|
|
235
247
|
|
|
236
|
-
|
|
248
|
+
// @public (undocumented)
|
|
249
|
+
export const CheckboxOption: FC<OptionProps<OptionType, true>>;
|
|
237
250
|
|
|
238
|
-
|
|
251
|
+
// @public (undocumented)
|
|
252
|
+
export const CheckboxSelect: ({
|
|
239
253
|
components,
|
|
240
254
|
...props
|
|
241
255
|
}: SelectProps<OptionType, true>) => JSX.Element;
|
|
242
256
|
|
|
243
257
|
export { components };
|
|
244
258
|
|
|
245
|
-
|
|
259
|
+
// @public (undocumented)
|
|
260
|
+
export type ControlProps<
|
|
246
261
|
OptionType,
|
|
247
262
|
IsMulti extends boolean = false
|
|
248
263
|
> = ControlProps_2<OptionType, IsMulti>;
|
|
249
264
|
|
|
250
|
-
|
|
265
|
+
// @public (undocumented)
|
|
266
|
+
type Country = typeof groupedCountries[number]['options'][number];
|
|
267
|
+
|
|
268
|
+
// @public (undocumented)
|
|
269
|
+
interface Country_2 {
|
|
270
|
+
// (undocumented)
|
|
271
|
+
abbr: string;
|
|
272
|
+
// (undocumented)
|
|
273
|
+
code: string;
|
|
274
|
+
// (undocumented)
|
|
275
|
+
icon: string;
|
|
276
|
+
// (undocumented)
|
|
277
|
+
name: string;
|
|
278
|
+
// (undocumented)
|
|
279
|
+
suggested?: boolean;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// @public (undocumented)
|
|
283
|
+
export const CountrySelect: (props: SelectProps<Country>) => jsx.JSX.Element;
|
|
251
284
|
|
|
252
|
-
|
|
285
|
+
// @public (undocumented)
|
|
286
|
+
export const CreatableSelect: {
|
|
253
287
|
new <Option = OptionType, IsMulti extends boolean = false>(
|
|
254
288
|
props: SelectProps<Option, IsMulti>,
|
|
255
289
|
): {
|
|
@@ -334,6 +368,7 @@ export declare const CreatableSelect: {
|
|
|
334
368
|
};
|
|
335
369
|
defaultProps: {
|
|
336
370
|
validationState: string;
|
|
371
|
+
isInvalid: boolean;
|
|
337
372
|
spacing: string;
|
|
338
373
|
onClickPreventDefault: boolean;
|
|
339
374
|
tabSelectsValue: boolean;
|
|
@@ -345,7 +380,8 @@ export declare const CreatableSelect: {
|
|
|
345
380
|
|
|
346
381
|
export { createFilter };
|
|
347
382
|
|
|
348
|
-
|
|
383
|
+
// @public (undocumented)
|
|
384
|
+
const _default: {
|
|
349
385
|
new <Option = OptionType, IsMulti extends boolean = false>(
|
|
350
386
|
props: SelectProps<Option, IsMulti>,
|
|
351
387
|
): {
|
|
@@ -430,6 +466,7 @@ declare const _default: {
|
|
|
430
466
|
};
|
|
431
467
|
defaultProps: {
|
|
432
468
|
validationState: string;
|
|
469
|
+
isInvalid: boolean;
|
|
433
470
|
spacing: string;
|
|
434
471
|
onClickPreventDefault: boolean;
|
|
435
472
|
tabSelectsValue: boolean;
|
|
@@ -440,50 +477,86 @@ declare const _default: {
|
|
|
440
477
|
};
|
|
441
478
|
export default _default;
|
|
442
479
|
|
|
443
|
-
|
|
480
|
+
// @public (undocumented)
|
|
481
|
+
type defaultModifiers = 'offset' | 'preventOverflow';
|
|
444
482
|
|
|
445
|
-
|
|
483
|
+
// @public (undocumented)
|
|
484
|
+
export type FormatOptionLabelMeta<
|
|
446
485
|
OptionType,
|
|
447
486
|
IsMulti extends boolean = false
|
|
448
487
|
> = FormatOptionLabelMeta_2<OptionType, IsMulti>;
|
|
449
488
|
|
|
489
|
+
// @public (undocumented)
|
|
490
|
+
const groupedCountries: readonly [
|
|
491
|
+
{
|
|
492
|
+
readonly label: 'Suggested';
|
|
493
|
+
readonly options: Country_2[];
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
readonly label: 'All Countries';
|
|
497
|
+
readonly options: Country_2[];
|
|
498
|
+
},
|
|
499
|
+
];
|
|
500
|
+
|
|
450
501
|
export { GroupedOptionsType };
|
|
451
502
|
|
|
452
503
|
export { GroupType };
|
|
453
504
|
|
|
454
|
-
|
|
505
|
+
// @public (undocumented)
|
|
506
|
+
export type IndicatorComponentType<
|
|
455
507
|
OptionType,
|
|
456
508
|
IsMulti extends boolean = false
|
|
457
509
|
> = IndicatorComponentType_2<OptionType, IsMulti>;
|
|
458
510
|
|
|
459
|
-
|
|
511
|
+
// @public (undocumented)
|
|
512
|
+
export type IndicatorProps<
|
|
460
513
|
OptionType,
|
|
461
514
|
IsMulti extends boolean = false
|
|
462
515
|
> = IndicatorProps_2<OptionType, IsMulti>;
|
|
463
516
|
|
|
517
|
+
// @public (undocumented)
|
|
518
|
+
export type InputActionMeta = InputActionMeta_2;
|
|
519
|
+
|
|
464
520
|
export { InputProps };
|
|
465
521
|
|
|
466
522
|
export { makeAsyncSelect };
|
|
467
523
|
|
|
468
524
|
export { makeCreatableSelect };
|
|
469
525
|
|
|
470
|
-
|
|
526
|
+
// @public (undocumented)
|
|
527
|
+
export type MenuListComponentProps<
|
|
471
528
|
OptionType,
|
|
472
529
|
IsMulti extends boolean = false
|
|
473
530
|
> = MenuListComponentProps_2<OptionType, IsMulti>;
|
|
474
531
|
|
|
475
|
-
|
|
532
|
+
// @public (undocumented)
|
|
533
|
+
export type MenuProps<
|
|
476
534
|
OptionType,
|
|
477
535
|
IsMulti extends boolean = false
|
|
478
536
|
> = MenuProps_2<OptionType, IsMulti>;
|
|
479
537
|
|
|
480
538
|
export { mergeStyles };
|
|
481
539
|
|
|
482
|
-
|
|
540
|
+
// @public (undocumented)
|
|
541
|
+
type ModifierList =
|
|
542
|
+
| 'offset'
|
|
543
|
+
| 'computeStyles'
|
|
544
|
+
| 'preventOverflow'
|
|
545
|
+
| 'handleFlipStyle'
|
|
546
|
+
| 'flip'
|
|
547
|
+
| 'popperOffsets'
|
|
548
|
+
| 'arrow'
|
|
549
|
+
| 'hide'
|
|
550
|
+
| string;
|
|
551
|
+
|
|
552
|
+
// @public (undocumented)
|
|
553
|
+
export interface OptionProps<
|
|
483
554
|
Option = OptionType,
|
|
484
555
|
IsMulti extends boolean = false
|
|
485
556
|
> extends OptionProps_2<Option, IsMulti> {
|
|
557
|
+
// (undocumented)
|
|
486
558
|
[key: string]: any;
|
|
559
|
+
// (undocumented)
|
|
487
560
|
Icon?: React.ComponentType<{
|
|
488
561
|
label: string;
|
|
489
562
|
size?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
@@ -491,51 +564,54 @@ export declare interface OptionProps<
|
|
|
491
564
|
primaryColor?: string;
|
|
492
565
|
secondaryColor?: string;
|
|
493
566
|
}>;
|
|
567
|
+
// (undocumented)
|
|
494
568
|
isDisabled: boolean;
|
|
569
|
+
// (undocumented)
|
|
495
570
|
isFocused: boolean;
|
|
571
|
+
// (undocumented)
|
|
496
572
|
isSelected: boolean;
|
|
497
573
|
}
|
|
498
574
|
|
|
499
|
-
|
|
575
|
+
// @public (undocumented)
|
|
576
|
+
export type OptionsType<Option = OptionType> = OptionsType_2<Option>;
|
|
500
577
|
|
|
501
|
-
|
|
578
|
+
// @public (undocumented)
|
|
579
|
+
export interface OptionType {
|
|
580
|
+
// (undocumented)
|
|
502
581
|
[key: string]: any;
|
|
582
|
+
// (undocumented)
|
|
503
583
|
label: string;
|
|
584
|
+
// (undocumented)
|
|
504
585
|
value: string | number;
|
|
505
586
|
}
|
|
506
587
|
|
|
507
|
-
|
|
588
|
+
// @public (undocumented)
|
|
589
|
+
type PopperPropsNoChildren<Modifiers> = Omit<
|
|
508
590
|
PopperProps<Modifiers>,
|
|
509
591
|
'children'
|
|
510
592
|
>;
|
|
511
593
|
|
|
512
|
-
|
|
594
|
+
// @public (undocumented)
|
|
595
|
+
export class PopupSelect<
|
|
513
596
|
Option = OptionType,
|
|
514
597
|
IsMulti extends boolean = false
|
|
515
598
|
> extends PureComponent<PopupSelectProps<Option, IsMulti>, State> {
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
599
|
+
close: (
|
|
600
|
+
options?:
|
|
601
|
+
| {
|
|
602
|
+
controlOverride?: boolean | undefined;
|
|
603
|
+
}
|
|
604
|
+
| undefined,
|
|
605
|
+
) => void;
|
|
606
|
+
// (undocumented)
|
|
607
|
+
componentDidMount(): void;
|
|
608
|
+
// (undocumented)
|
|
609
|
+
componentDidUpdate(prevProps: PopupSelectProps<Option, IsMulti>): void;
|
|
610
|
+
// (undocumented)
|
|
611
|
+
componentWillUnmount(): void;
|
|
612
|
+
// (undocumented)
|
|
524
613
|
defaultOpenState: boolean | undefined;
|
|
525
|
-
|
|
526
|
-
isOpen: boolean;
|
|
527
|
-
mergedComponents: {
|
|
528
|
-
Control: React_2.FC<ControlProps<OptionType, boolean>>;
|
|
529
|
-
DropdownIndicator: () => JSX.Element;
|
|
530
|
-
Menu: ({
|
|
531
|
-
children,
|
|
532
|
-
innerProps,
|
|
533
|
-
...props
|
|
534
|
-
}: MenuProps<OptionType, boolean>) => JSX.Element;
|
|
535
|
-
};
|
|
536
|
-
mergedPopperProps: PopperPropsNoChildren<string>;
|
|
537
|
-
};
|
|
538
|
-
popperWrapperId: string;
|
|
614
|
+
// (undocumented)
|
|
539
615
|
static defaultProps: {
|
|
540
616
|
closeMenuOnSelect: boolean;
|
|
541
617
|
components: {};
|
|
@@ -543,28 +619,37 @@ export declare class PopupSelect<
|
|
|
543
619
|
maxMenuWidth: number;
|
|
544
620
|
minMenuWidth: number;
|
|
545
621
|
popperProps: {};
|
|
622
|
+
isSearchable: boolean;
|
|
546
623
|
searchThreshold: number;
|
|
547
624
|
styles: {};
|
|
548
625
|
options: never[];
|
|
549
626
|
};
|
|
627
|
+
// (undocumented)
|
|
628
|
+
defaultStyles: StylesConfig<Option, IsMulti>;
|
|
629
|
+
// (undocumented)
|
|
550
630
|
static getDerivedStateFromProps(
|
|
551
631
|
props: PopupSelectProps<OptionType>,
|
|
552
632
|
state: State,
|
|
553
633
|
): Partial<State<string>> | null;
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
634
|
+
// (undocumented)
|
|
635
|
+
getItemCount: () => number;
|
|
636
|
+
// (undocumented)
|
|
637
|
+
getMaxHeight: () => number | undefined;
|
|
638
|
+
// (undocumented)
|
|
639
|
+
getSelectRef: (ref: Select<Option, IsMulti>) => void;
|
|
640
|
+
// (undocumented)
|
|
558
641
|
handleClick: ({ target }: MouseEvent) => void;
|
|
642
|
+
// (undocumented)
|
|
643
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
644
|
+
// (undocumented)
|
|
559
645
|
handleSelectChange: (
|
|
560
646
|
value: ValueType<Option, IsMulti>,
|
|
561
647
|
actionMeta: ActionMeta<Option>,
|
|
562
648
|
) => void;
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
*/
|
|
649
|
+
// (undocumented)
|
|
650
|
+
isOpenControlled: boolean;
|
|
651
|
+
// (undocumented)
|
|
652
|
+
menuRef: HTMLElement | null;
|
|
568
653
|
open: (
|
|
569
654
|
options?:
|
|
570
655
|
| {
|
|
@@ -572,139 +657,243 @@ export declare class PopupSelect<
|
|
|
572
657
|
}
|
|
573
658
|
| undefined,
|
|
574
659
|
) => void;
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
| {
|
|
584
|
-
controlOverride?: boolean | undefined;
|
|
585
|
-
}
|
|
586
|
-
| undefined,
|
|
587
|
-
) => void;
|
|
588
|
-
resolveTargetRef: (
|
|
660
|
+
// (undocumented)
|
|
661
|
+
popperWrapperId: string;
|
|
662
|
+
// (undocumented)
|
|
663
|
+
render(): JSX.Element;
|
|
664
|
+
// (undocumented)
|
|
665
|
+
renderSelect: () => JSX.Element | null;
|
|
666
|
+
// (undocumented)
|
|
667
|
+
resolveMenuRef: (
|
|
589
668
|
popperRef: React_2.Ref<HTMLElement>,
|
|
590
669
|
) => (ref: HTMLElement) => void;
|
|
591
|
-
|
|
670
|
+
// (undocumented)
|
|
671
|
+
resolveTargetRef: (
|
|
592
672
|
popperRef: React_2.Ref<HTMLElement>,
|
|
593
673
|
) => (ref: HTMLElement) => void;
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
showSearchControl: () => boolean;
|
|
598
|
-
|
|
599
|
-
|
|
674
|
+
// (undocumented)
|
|
675
|
+
selectRef: Select<Option, IsMulti> | null;
|
|
676
|
+
// (undocumented)
|
|
677
|
+
showSearchControl: () => boolean | undefined;
|
|
678
|
+
// (undocumented)
|
|
679
|
+
state: {
|
|
680
|
+
isOpen: boolean;
|
|
681
|
+
mergedComponents: {
|
|
682
|
+
Control: React_2.FC<ControlProps<OptionType, boolean>>;
|
|
683
|
+
DropdownIndicator: () => jsx;
|
|
684
|
+
Menu: ({
|
|
685
|
+
children,
|
|
686
|
+
innerProps,
|
|
687
|
+
...props
|
|
688
|
+
}: MenuProps<OptionType, boolean>) => jsx;
|
|
689
|
+
};
|
|
690
|
+
mergedPopperProps: PopperPropsNoChildren<string>;
|
|
691
|
+
};
|
|
692
|
+
// (undocumented)
|
|
693
|
+
targetRef: HTMLElement | null;
|
|
694
|
+
// (undocumented)
|
|
695
|
+
unbindWindowClick: UnbindFn | null;
|
|
696
|
+
// (undocumented)
|
|
697
|
+
unbindWindowKeydown: UnbindFn | null;
|
|
600
698
|
}
|
|
601
699
|
|
|
602
|
-
|
|
700
|
+
// @public (undocumented)
|
|
701
|
+
export interface PopupSelectProps<
|
|
603
702
|
Option = OptionType,
|
|
604
703
|
IsMulti extends boolean = false,
|
|
605
|
-
Modifiers =
|
|
704
|
+
Modifiers = ModifierList
|
|
606
705
|
> extends Props<Option, IsMulti> {
|
|
607
|
-
/**
|
|
608
|
-
* Defines whether the menu should close when selected. Defaults to "true"
|
|
609
|
-
*/
|
|
610
706
|
closeMenuOnSelect?: boolean;
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
*/
|
|
707
|
+
// (undocumented)
|
|
708
|
+
defaultIsOpen?: boolean;
|
|
614
709
|
footer?: ReactNode;
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
*/
|
|
622
|
-
popperProps?: PopperPropsNoChildren<Modifiers>;
|
|
623
|
-
/**
|
|
624
|
-
* The maximum number of options the Select can contain without rendering the search field.
|
|
625
|
-
*/
|
|
626
|
-
searchThreshold?: number;
|
|
627
|
-
/**
|
|
628
|
-
* The maximum width for the popup menu. Can be a number, representing width in pixels,
|
|
629
|
-
* or a string containing a CSS length datatype.
|
|
630
|
-
*/
|
|
710
|
+
// (undocumented)
|
|
711
|
+
isInvalid?: boolean;
|
|
712
|
+
// (undocumented)
|
|
713
|
+
isOpen?: boolean;
|
|
714
|
+
isSearchable?: boolean;
|
|
631
715
|
maxMenuWidth?: number | string;
|
|
632
|
-
/**
|
|
633
|
-
* The maximum width for the popup menu. Can be a number, representing width in pixels,
|
|
634
|
-
* or a string containing a CSS length datatype.
|
|
635
|
-
*/
|
|
636
716
|
minMenuWidth?: number | string;
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
The provided render props in `options` are detailed below:
|
|
643
|
-
- `isOpen`: The current state of the popup.
|
|
644
|
-
Use this to change the appearance of your target based on the state of your component
|
|
645
|
-
- `ref`: Pass this ref to the element the Popup should be attached to
|
|
646
|
-
- `aria-haspopup`, `aria-expanded`, `aria-controls`: Spread these onto a target element to
|
|
647
|
-
ensure your experience is accessible
|
|
648
|
-
*/
|
|
717
|
+
popperProps?: PopperPropsNoChildren<Modifiers>;
|
|
718
|
+
searchThreshold?: number;
|
|
719
|
+
// (undocumented)
|
|
720
|
+
spacing?: string;
|
|
649
721
|
target?: (
|
|
650
722
|
options: PopupSelectTriggerProps & {
|
|
651
723
|
isOpen: boolean;
|
|
652
724
|
},
|
|
653
725
|
) => ReactNode;
|
|
654
|
-
|
|
655
|
-
|
|
726
|
+
// (undocumented)
|
|
727
|
+
validationState?: ValidationState;
|
|
656
728
|
}
|
|
657
729
|
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
'aria-expanded': boolean;
|
|
730
|
+
// @public (undocumented)
|
|
731
|
+
interface PopupSelectTriggerProps {
|
|
732
|
+
// (undocumented)
|
|
662
733
|
'aria-controls'?: string;
|
|
734
|
+
// (undocumented)
|
|
735
|
+
'aria-expanded': boolean;
|
|
736
|
+
// (undocumented)
|
|
737
|
+
'aria-haspopup': 'true';
|
|
738
|
+
// (undocumented)
|
|
739
|
+
ref: any;
|
|
663
740
|
}
|
|
664
741
|
|
|
665
|
-
|
|
742
|
+
// @public (undocumented)
|
|
743
|
+
export const RadioOption: FC<OptionProps>;
|
|
666
744
|
|
|
667
|
-
|
|
745
|
+
// @public (undocumented)
|
|
746
|
+
export const RadioSelect: ({
|
|
668
747
|
components,
|
|
669
748
|
...props
|
|
670
749
|
}: SelectProps<OptionType>) => JSX.Element;
|
|
671
750
|
|
|
672
|
-
|
|
751
|
+
// @public (undocumented)
|
|
752
|
+
export type SelectComponentsConfig<
|
|
673
753
|
OptionType,
|
|
674
754
|
IsMulti extends boolean = false
|
|
675
755
|
> = SelectComponentsConfig_2<OptionType, IsMulti>;
|
|
676
756
|
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
> extends Props<OptionType, IsMulti>,
|
|
757
|
+
// @public (undocumented)
|
|
758
|
+
export interface SelectProps<OptionType, IsMulti extends boolean = false>
|
|
759
|
+
extends Props<OptionType, IsMulti>,
|
|
681
760
|
WithAnalyticsEventsProps {
|
|
761
|
+
// (undocumented)
|
|
762
|
+
appearance?: 'default' | 'subtle' | 'none';
|
|
763
|
+
// (undocumented)
|
|
764
|
+
isInvalid?: boolean;
|
|
765
|
+
// (undocumented)
|
|
682
766
|
spacing?: 'compact' | 'default';
|
|
767
|
+
// (undocumented)
|
|
683
768
|
validationState?: ValidationState;
|
|
684
769
|
}
|
|
685
770
|
|
|
686
|
-
|
|
771
|
+
// @public (undocumented)
|
|
772
|
+
export const SelectWithoutAnalytics: {
|
|
773
|
+
new <Option = OptionType, IsMulti extends boolean = false>(
|
|
774
|
+
props: SelectProps<Option, IsMulti>,
|
|
775
|
+
): {
|
|
776
|
+
components: Partial<SelectComponents<Option, IsMulti, GroupType<Option>>>;
|
|
777
|
+
select: Select<
|
|
778
|
+
Option,
|
|
779
|
+
false,
|
|
780
|
+
GroupType<Option>,
|
|
781
|
+
default_2<Option, false, GroupType<Option>>
|
|
782
|
+
> | null;
|
|
783
|
+
UNSAFE_componentWillReceiveProps(
|
|
784
|
+
nextProps: SelectProps<Option, IsMulti>,
|
|
785
|
+
): void;
|
|
786
|
+
cacheComponents: (
|
|
787
|
+
components: Partial<SelectComponents<Option, IsMulti, GroupType<Option>>>,
|
|
788
|
+
) => void;
|
|
789
|
+
focus(): void;
|
|
790
|
+
blur(): void;
|
|
791
|
+
onSelectRef: (
|
|
792
|
+
ref: Select<
|
|
793
|
+
Option,
|
|
794
|
+
false,
|
|
795
|
+
GroupType<Option>,
|
|
796
|
+
default_2<Option, false, GroupType<Option>>
|
|
797
|
+
>,
|
|
798
|
+
) => void;
|
|
799
|
+
render(): JSX.Element;
|
|
800
|
+
context: any;
|
|
801
|
+
setState<K extends never>(
|
|
802
|
+
state:
|
|
803
|
+
| {}
|
|
804
|
+
| ((
|
|
805
|
+
prevState: Readonly<{}>,
|
|
806
|
+
props: Readonly<SelectProps<Option, IsMulti>>,
|
|
807
|
+
) => {} | Pick<{}, K> | null)
|
|
808
|
+
| Pick<{}, K>
|
|
809
|
+
| null,
|
|
810
|
+
callback?: (() => void) | undefined,
|
|
811
|
+
): void;
|
|
812
|
+
forceUpdate(callBack?: (() => void) | undefined): void;
|
|
813
|
+
readonly props: Readonly<SelectProps<Option, IsMulti>> &
|
|
814
|
+
Readonly<{
|
|
815
|
+
children?: ReactNode;
|
|
816
|
+
}>;
|
|
817
|
+
state: Readonly<{}>;
|
|
818
|
+
refs: {
|
|
819
|
+
[key: string]: ReactInstance;
|
|
820
|
+
};
|
|
821
|
+
componentDidMount?(): void;
|
|
822
|
+
shouldComponentUpdate?(
|
|
823
|
+
nextProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
824
|
+
nextState: Readonly<{}>,
|
|
825
|
+
nextContext: any,
|
|
826
|
+
): boolean;
|
|
827
|
+
componentWillUnmount?(): void;
|
|
828
|
+
componentDidCatch?(error: Error, errorInfo: ErrorInfo): void;
|
|
829
|
+
getSnapshotBeforeUpdate?(
|
|
830
|
+
prevProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
831
|
+
prevState: Readonly<{}>,
|
|
832
|
+
): any;
|
|
833
|
+
componentDidUpdate?(
|
|
834
|
+
prevProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
835
|
+
prevState: Readonly<{}>,
|
|
836
|
+
snapshot?: any,
|
|
837
|
+
): void;
|
|
838
|
+
componentWillMount?(): void;
|
|
839
|
+
UNSAFE_componentWillMount?(): void;
|
|
840
|
+
componentWillReceiveProps?(
|
|
841
|
+
nextProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
842
|
+
nextContext: any,
|
|
843
|
+
): void;
|
|
844
|
+
componentWillUpdate?(
|
|
845
|
+
nextProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
846
|
+
nextState: Readonly<{}>,
|
|
847
|
+
nextContext: any,
|
|
848
|
+
): void;
|
|
849
|
+
UNSAFE_componentWillUpdate?(
|
|
850
|
+
nextProps: Readonly<SelectProps<Option, IsMulti>>,
|
|
851
|
+
nextState: Readonly<{}>,
|
|
852
|
+
nextContext: any,
|
|
853
|
+
): void;
|
|
854
|
+
};
|
|
855
|
+
defaultProps: {
|
|
856
|
+
validationState: string;
|
|
857
|
+
isInvalid: boolean;
|
|
858
|
+
spacing: string;
|
|
859
|
+
onClickPreventDefault: boolean;
|
|
860
|
+
tabSelectsValue: boolean;
|
|
861
|
+
components: {};
|
|
862
|
+
styles: {};
|
|
863
|
+
};
|
|
864
|
+
contextType?: Context<any> | undefined;
|
|
865
|
+
};
|
|
866
|
+
|
|
867
|
+
// @public (undocumented)
|
|
868
|
+
interface State<Modifiers = string> {
|
|
869
|
+
// (undocumented)
|
|
687
870
|
isOpen: boolean;
|
|
871
|
+
// (undocumented)
|
|
688
872
|
mergedComponents: Object;
|
|
873
|
+
// (undocumented)
|
|
689
874
|
mergedPopperProps: PopperPropsNoChildren<defaultModifiers | Modifiers>;
|
|
690
875
|
}
|
|
691
876
|
|
|
692
|
-
|
|
877
|
+
// @public (undocumented)
|
|
878
|
+
export type StylesConfig<
|
|
693
879
|
Option = OptionType,
|
|
694
880
|
IsMulti extends boolean = false
|
|
695
881
|
> = StylesConfig_2<Option, IsMulti>;
|
|
696
882
|
|
|
697
|
-
|
|
883
|
+
// @public (undocumented)
|
|
884
|
+
type ValidationState = 'default' | 'error' | 'success';
|
|
698
885
|
|
|
699
|
-
|
|
886
|
+
// @public (undocumented)
|
|
887
|
+
export type ValueContainerProps<
|
|
700
888
|
OptionType,
|
|
701
889
|
IsMulti extends boolean = false
|
|
702
890
|
> = ValueContainerProps_2<OptionType, IsMulti>;
|
|
703
891
|
|
|
704
|
-
|
|
892
|
+
// @public (undocumented)
|
|
893
|
+
export type ValueType<
|
|
705
894
|
OptionType,
|
|
706
895
|
IsMulti extends boolean = false
|
|
707
896
|
> = ValueType_2<OptionType, IsMulti>;
|
|
708
897
|
|
|
709
|
-
|
|
898
|
+
// (No @packageDocumentation comment for this package)
|
|
710
899
|
```
|