@lumx/react 4.7.0 → 4.7.1-alpha.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/index.d.ts +1 -1
- package/index.js +13 -1
- package/index.js.map +1 -1
- package/package.json +4 -3
package/index.d.ts
CHANGED
|
@@ -3810,7 +3810,7 @@ declare const Text: Comp<TextProps, HTMLElement>;
|
|
|
3810
3810
|
/**
|
|
3811
3811
|
* Defines the props of the component.
|
|
3812
3812
|
*/
|
|
3813
|
-
interface TextFieldProps$1 extends HasClassName, HasTheme, HasAriaDisabled {
|
|
3813
|
+
interface TextFieldProps$1 extends HasClassName, HasTheme, HasAriaDisabled, HasDisabled {
|
|
3814
3814
|
/** Chip Group to be rendered before the main text input. */
|
|
3815
3815
|
chips?: JSXElement;
|
|
3816
3816
|
/** Props to pass to the clear button (minus those already set by the TextField props). If not specified, the button won't be displayed. */
|
package/index.js
CHANGED
|
@@ -14588,14 +14588,20 @@ const TextField = forwardRef((props, ref) => {
|
|
|
14588
14588
|
} = useDisableStateProps(props);
|
|
14589
14589
|
const defaultTheme = useTheme() || Theme$1.light;
|
|
14590
14590
|
const {
|
|
14591
|
+
chips,
|
|
14592
|
+
className,
|
|
14591
14593
|
clearButtonProps,
|
|
14592
14594
|
error,
|
|
14593
14595
|
forceFocusStyle,
|
|
14594
14596
|
hasError,
|
|
14595
14597
|
helper,
|
|
14598
|
+
icon,
|
|
14596
14599
|
id,
|
|
14597
14600
|
inputRef: inputRefProps,
|
|
14598
14601
|
isRequired,
|
|
14602
|
+
isValid,
|
|
14603
|
+
label,
|
|
14604
|
+
labelProps,
|
|
14599
14605
|
maxLength,
|
|
14600
14606
|
minimumRows,
|
|
14601
14607
|
multiline,
|
|
@@ -14679,6 +14685,13 @@ const TextField = forwardRef((props, ref) => {
|
|
|
14679
14685
|
});
|
|
14680
14686
|
return TextField$1({
|
|
14681
14687
|
ref,
|
|
14688
|
+
chips,
|
|
14689
|
+
className,
|
|
14690
|
+
forceFocusStyle,
|
|
14691
|
+
icon,
|
|
14692
|
+
isValid,
|
|
14693
|
+
label,
|
|
14694
|
+
labelProps,
|
|
14682
14695
|
isAnyDisabled,
|
|
14683
14696
|
input,
|
|
14684
14697
|
id: textFieldId,
|
|
@@ -14697,7 +14710,6 @@ const TextField = forwardRef((props, ref) => {
|
|
|
14697
14710
|
helper,
|
|
14698
14711
|
IconButton: IconButton,
|
|
14699
14712
|
isFocus,
|
|
14700
|
-
...forwardedProps,
|
|
14701
14713
|
clearButtonProps: clearButtonProps ? {
|
|
14702
14714
|
...clearButtonProps,
|
|
14703
14715
|
onClick: handleClear
|