@lumx/react 4.7.1-alpha.0 → 4.7.1-alpha.2
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 +3 -3
- package/index.js +11 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -787,7 +787,7 @@ interface ButtonProps extends GenericProps$1, ReactToJSX<ButtonProps$1> {
|
|
|
787
787
|
* @param ref Component ref.
|
|
788
788
|
* @return React element.
|
|
789
789
|
*/
|
|
790
|
-
declare const Button: Comp<ButtonProps,
|
|
790
|
+
declare const Button: Comp<ButtonProps, HTMLAnchorElement | HTMLButtonElement>;
|
|
791
791
|
|
|
792
792
|
interface IconButtonProps$1 extends BaseButtonProps {
|
|
793
793
|
/**
|
|
@@ -2371,7 +2371,7 @@ interface LinkProps extends GenericProps$1, ReactToJSX<LinkProps$1> {
|
|
|
2371
2371
|
* @param ref Component ref.
|
|
2372
2372
|
* @return React element.
|
|
2373
2373
|
*/
|
|
2374
|
-
declare const Link: Comp<LinkProps,
|
|
2374
|
+
declare const Link: Comp<LinkProps, HTMLAnchorElement | HTMLButtonElement>;
|
|
2375
2375
|
|
|
2376
2376
|
/**
|
|
2377
2377
|
* Defines the props of the component.
|
|
@@ -3828,7 +3828,7 @@ interface TextFieldProps$1 extends HasClassName, HasTheme, HasAriaDisabled, HasD
|
|
|
3828
3828
|
/** Icon (SVG path). */
|
|
3829
3829
|
icon?: string;
|
|
3830
3830
|
/** Native input id property (generated if not provided to link the label element). */
|
|
3831
|
-
id
|
|
3831
|
+
id?: string;
|
|
3832
3832
|
/** Generated helper id for accessibility attributes. */
|
|
3833
3833
|
helperId?: string;
|
|
3834
3834
|
/** Generated error id for accessibility attributes. */
|
package/index.js
CHANGED
|
@@ -14588,15 +14588,20 @@ const TextField = forwardRef((props, ref) => {
|
|
|
14588
14588
|
} = useDisableStateProps(props);
|
|
14589
14589
|
const defaultTheme = useTheme() || Theme$1.light;
|
|
14590
14590
|
const {
|
|
14591
|
+
chips,
|
|
14591
14592
|
className,
|
|
14592
14593
|
clearButtonProps,
|
|
14593
14594
|
error,
|
|
14594
14595
|
forceFocusStyle,
|
|
14595
14596
|
hasError,
|
|
14596
14597
|
helper,
|
|
14598
|
+
icon,
|
|
14597
14599
|
id,
|
|
14598
14600
|
inputRef: inputRefProps,
|
|
14599
14601
|
isRequired,
|
|
14602
|
+
isValid,
|
|
14603
|
+
label,
|
|
14604
|
+
labelProps,
|
|
14600
14605
|
maxLength,
|
|
14601
14606
|
minimumRows,
|
|
14602
14607
|
multiline,
|
|
@@ -14680,7 +14685,13 @@ const TextField = forwardRef((props, ref) => {
|
|
|
14680
14685
|
});
|
|
14681
14686
|
return TextField$1({
|
|
14682
14687
|
ref,
|
|
14688
|
+
chips,
|
|
14683
14689
|
className,
|
|
14690
|
+
forceFocusStyle,
|
|
14691
|
+
icon,
|
|
14692
|
+
isValid,
|
|
14693
|
+
label,
|
|
14694
|
+
labelProps,
|
|
14684
14695
|
isAnyDisabled,
|
|
14685
14696
|
input,
|
|
14686
14697
|
id: textFieldId,
|
|
@@ -14699,7 +14710,6 @@ const TextField = forwardRef((props, ref) => {
|
|
|
14699
14710
|
helper,
|
|
14700
14711
|
IconButton: IconButton,
|
|
14701
14712
|
isFocus,
|
|
14702
|
-
...forwardedProps,
|
|
14703
14713
|
clearButtonProps: clearButtonProps ? {
|
|
14704
14714
|
...clearButtonProps,
|
|
14705
14715
|
onClick: handleClear
|