kiban-design-system 1.0.239-alpha.0 → 1.0.240-alpha.0
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.
|
@@ -29,5 +29,5 @@ import './Select.styles.scss';
|
|
|
29
29
|
* @param {string} InputTextProps.ariaLabel - Label to use in automatic tests
|
|
30
30
|
* @returns {symbol} - Element Select
|
|
31
31
|
*/
|
|
32
|
-
declare const Select: ({ ariaLabel, items, sections, isMultiple, placeholder, label, selected, onChange, searchPlaceholder, searchLabel, helperText, isHelperMode, isDisabled,
|
|
32
|
+
declare const Select: ({ ariaLabel, items, sections, isMultiple, placeholder, label, selected, onChange, searchPlaceholder, searchLabel, helperText, isHelperMode, isDisabled, tooltip, isDanger, isReadOnly, id, emptyState, onBlur, isRequired, tooltipLabel, action, showSearch, }: SelectProps) => JSX.Element;
|
|
33
33
|
export default Select;
|
|
@@ -60,14 +60,6 @@ export interface SelectProps {
|
|
|
60
60
|
* @default false
|
|
61
61
|
*/
|
|
62
62
|
isDisabled?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Action that is triggered every time the search engine is typed
|
|
65
|
-
*/
|
|
66
|
-
onSearchChange?: (data?: string) => void;
|
|
67
|
-
/**
|
|
68
|
-
* Search value
|
|
69
|
-
*/
|
|
70
|
-
search?: string;
|
|
71
63
|
/**
|
|
72
64
|
* Tooltip props
|
|
73
65
|
*/
|
|
@@ -105,4 +97,10 @@ export interface SelectProps {
|
|
|
105
97
|
* Label to use in automatic tests
|
|
106
98
|
*/
|
|
107
99
|
ariaLabel?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Show feature search in select
|
|
102
|
+
*
|
|
103
|
+
* @default true
|
|
104
|
+
*/
|
|
105
|
+
showSearch?: boolean;
|
|
108
106
|
}
|