glints-aries 4.0.333 → 4.0.334
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.
|
@@ -18,6 +18,7 @@ export interface SelectProps {
|
|
|
18
18
|
listHeight?: number;
|
|
19
19
|
loadingOptions?: boolean;
|
|
20
20
|
name?: string;
|
|
21
|
+
onBlur?: () => void;
|
|
21
22
|
onClose?: () => void;
|
|
22
23
|
onRemoveTag?({ option }: {
|
|
23
24
|
option: string;
|
|
@@ -45,5 +46,5 @@ export interface SelectProps {
|
|
|
45
46
|
/** sets z-index override for option list dropdown. z-index default to 400 */
|
|
46
47
|
zIndexOverride?: number;
|
|
47
48
|
}
|
|
48
|
-
export declare const Select: ({ allowMultiple, customActivatorIcon, disabled, hasError, helpText, label, listHeight, loadingOptions, name, onClose, onRemoveTag, onSelect, onSelectClick, optionListFitContent, options, placeholder, prefix, searchable, searchableProps, scrollable, sections, selectedValues, width, zIndexOverride, }: SelectProps) => JSX.Element;
|
|
49
|
+
export declare const Select: ({ allowMultiple, customActivatorIcon, disabled, hasError, helpText, label, listHeight, loadingOptions, name, onBlur, onClose, onRemoveTag, onSelect, onSelectClick, optionListFitContent, options, placeholder, prefix, searchable, searchableProps, scrollable, sections, selectedValues, width, zIndexOverride, }: SelectProps) => JSX.Element;
|
|
49
50
|
export {};
|
|
@@ -20,6 +20,7 @@ export var Select = function Select(_ref) {
|
|
|
20
20
|
_ref$loadingOptions = _ref.loadingOptions,
|
|
21
21
|
loadingOptions = _ref$loadingOptions === void 0 ? false : _ref$loadingOptions,
|
|
22
22
|
name = _ref.name,
|
|
23
|
+
onBlur = _ref.onBlur,
|
|
23
24
|
onClose = _ref.onClose,
|
|
24
25
|
onRemoveTag = _ref.onRemoveTag,
|
|
25
26
|
onSelect = _ref.onSelect,
|
|
@@ -113,6 +114,7 @@ export var Select = function Select(_ref) {
|
|
|
113
114
|
placeholder: placeholder != null ? placeholder : 'Search',
|
|
114
115
|
width: width,
|
|
115
116
|
selectedValues: selectedValues,
|
|
117
|
+
onBlur: onBlur,
|
|
116
118
|
onSelect: onSelect,
|
|
117
119
|
onFocus: handleFocus,
|
|
118
120
|
inputValue: inputValue,
|
|
@@ -133,6 +135,7 @@ export var Select = function Select(_ref) {
|
|
|
133
135
|
disabled: disabled,
|
|
134
136
|
hasError: hasError,
|
|
135
137
|
placeholder: placeholder != null ? placeholder : 'Placeholder',
|
|
138
|
+
onBlur: onBlur,
|
|
136
139
|
onRemoveTag: onRemoveTag,
|
|
137
140
|
onSelectClick: handleSelectClick,
|
|
138
141
|
width: width,
|
|
@@ -18,6 +18,7 @@ export interface SelectProps {
|
|
|
18
18
|
listHeight?: number;
|
|
19
19
|
loadingOptions?: boolean;
|
|
20
20
|
name?: string;
|
|
21
|
+
onBlur?: () => void;
|
|
21
22
|
onClose?: () => void;
|
|
22
23
|
onRemoveTag?({ option }: {
|
|
23
24
|
option: string;
|
|
@@ -45,5 +46,5 @@ export interface SelectProps {
|
|
|
45
46
|
/** sets z-index override for option list dropdown. z-index default to 400 */
|
|
46
47
|
zIndexOverride?: number;
|
|
47
48
|
}
|
|
48
|
-
export declare const Select: ({ allowMultiple, customActivatorIcon, disabled, hasError, helpText, label, listHeight, loadingOptions, name, onClose, onRemoveTag, onSelect, onSelectClick, optionListFitContent, options, placeholder, prefix, searchable, searchableProps, scrollable, sections, selectedValues, width, zIndexOverride, }: SelectProps) => JSX.Element;
|
|
49
|
+
export declare const Select: ({ allowMultiple, customActivatorIcon, disabled, hasError, helpText, label, listHeight, loadingOptions, name, onBlur, onClose, onRemoveTag, onSelect, onSelectClick, optionListFitContent, options, placeholder, prefix, searchable, searchableProps, scrollable, sections, selectedValues, width, zIndexOverride, }: SelectProps) => JSX.Element;
|
|
49
50
|
export {};
|
|
@@ -26,6 +26,7 @@ var Select = function Select(_ref) {
|
|
|
26
26
|
_ref$loadingOptions = _ref.loadingOptions,
|
|
27
27
|
loadingOptions = _ref$loadingOptions === void 0 ? false : _ref$loadingOptions,
|
|
28
28
|
name = _ref.name,
|
|
29
|
+
onBlur = _ref.onBlur,
|
|
29
30
|
onClose = _ref.onClose,
|
|
30
31
|
onRemoveTag = _ref.onRemoveTag,
|
|
31
32
|
onSelect = _ref.onSelect,
|
|
@@ -119,6 +120,7 @@ var Select = function Select(_ref) {
|
|
|
119
120
|
placeholder: placeholder != null ? placeholder : 'Search',
|
|
120
121
|
width: width,
|
|
121
122
|
selectedValues: selectedValues,
|
|
123
|
+
onBlur: onBlur,
|
|
122
124
|
onSelect: onSelect,
|
|
123
125
|
onFocus: handleFocus,
|
|
124
126
|
inputValue: inputValue,
|
|
@@ -139,6 +141,7 @@ var Select = function Select(_ref) {
|
|
|
139
141
|
disabled: disabled,
|
|
140
142
|
hasError: hasError,
|
|
141
143
|
placeholder: placeholder != null ? placeholder : 'Placeholder',
|
|
144
|
+
onBlur: onBlur,
|
|
142
145
|
onRemoveTag: onRemoveTag,
|
|
143
146
|
onSelectClick: handleSelectClick,
|
|
144
147
|
width: width,
|