@true-engineering/true-react-common-ui-kit 3.29.0 → 3.29.1
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/README.md +6 -0
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/true-react-common-ui-kit.js +3 -2
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +3 -2
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Select/Select.tsx +3 -2
package/package.json
CHANGED
|
@@ -42,7 +42,7 @@ import { IMultipleSelectValue } from './types';
|
|
|
42
42
|
import { getInputStyles, searchInputStyles, useStyles, ISelectStyles } from './Select.styles';
|
|
43
43
|
|
|
44
44
|
export interface ISelectProps<Value>
|
|
45
|
-
extends Omit<IInputProps, 'value' | 'onChange' | 'onBlur' | 'type' | '
|
|
45
|
+
extends Omit<IInputProps, 'value' | 'onChange' | 'onBlur' | 'type' | 'tweakStyles'>,
|
|
46
46
|
ICommonProps<ISelectStyles> {
|
|
47
47
|
header?: ReactNode;
|
|
48
48
|
footer?: ReactNode;
|
|
@@ -125,6 +125,7 @@ export function Select<Value>(
|
|
|
125
125
|
loadingLabel,
|
|
126
126
|
tweakStyles,
|
|
127
127
|
testId,
|
|
128
|
+
isActive,
|
|
128
129
|
isReadonly,
|
|
129
130
|
isDisabled,
|
|
130
131
|
dropdownOptions,
|
|
@@ -619,7 +620,7 @@ export function Select<Value>(
|
|
|
619
620
|
searchValue !== '' && !shouldRenderSearchInputInList ? searchValue : showedStringValue
|
|
620
621
|
}
|
|
621
622
|
onChange={handleInputChange}
|
|
622
|
-
isActive={isListOpen}
|
|
623
|
+
isActive={isListOpen || isActive}
|
|
623
624
|
isReadonly={hasReadonlyInput}
|
|
624
625
|
onFocus={handleFocus}
|
|
625
626
|
onBlur={handleBlur}
|