@uniformdev/design-system 17.6.0 → 17.6.1-alpha.60
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/dist/esm/index.js +231 -225
- package/dist/index.d.ts +3 -1
- package/dist/index.js +221 -215
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -679,12 +679,14 @@ interface InputKeywordSearchProps extends React$1.InputHTMLAttributes<HTMLInputE
|
|
|
679
679
|
disabledFieldSubmission?: boolean;
|
|
680
680
|
/** (optional) prop that sets the value of the input field */
|
|
681
681
|
value?: string;
|
|
682
|
+
/** (optional) when closed button is clicked */
|
|
683
|
+
onClear?: () => void;
|
|
682
684
|
}
|
|
683
685
|
/**
|
|
684
686
|
* Component used for keyword search functionality
|
|
685
687
|
* @example <InlineSelectInput disabled={index > 1} value={currentValue ?? '&'} options={[{ label: 'AND', value: '&' }, { label: 'OR', value: '|' }]} onChange={(s) => {setState(s.value)}} />
|
|
686
688
|
*/
|
|
687
|
-
declare const InputKeywordSearch: ({ onSearchTextChanged, disabled, placeholder, inputFieldName, disabledFieldSubmission, value, ...props }: InputKeywordSearchProps) => React$1.ReactElement;
|
|
689
|
+
declare const InputKeywordSearch: ({ onSearchTextChanged, disabled, placeholder, inputFieldName, disabledFieldSubmission, value, onClear, ...props }: InputKeywordSearchProps) => React$1.ReactElement;
|
|
688
690
|
|
|
689
691
|
declare type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
|
|
690
692
|
/** (optional) sets the first item in the options list with empty value */
|