@lumx/react 4.2.1-alpha.3 → 4.2.1-alpha.5
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 +5 -5
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -528,14 +528,14 @@ interface HasAriaDisabled {
|
|
|
528
528
|
'aria-disabled'?: Booleanish;
|
|
529
529
|
}
|
|
530
530
|
|
|
531
|
-
|
|
531
|
+
interface BaseClickableProps {
|
|
532
532
|
children?: JSXElement;
|
|
533
533
|
isDisabled?: boolean;
|
|
534
534
|
disabled?: boolean;
|
|
535
535
|
'aria-disabled'?: Booleanish;
|
|
536
536
|
onClick?: (event?: any) => void;
|
|
537
537
|
ref?: CommonRef;
|
|
538
|
-
}
|
|
538
|
+
}
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
541
|
* Button size definition.
|
|
@@ -586,7 +586,7 @@ declare const ButtonEmphasis: {
|
|
|
586
586
|
/**
|
|
587
587
|
* Defines the props of the component.
|
|
588
588
|
*/
|
|
589
|
-
interface ButtonProps$1 extends
|
|
589
|
+
interface ButtonProps$1 extends BaseButtonProps {
|
|
590
590
|
/** Left icon (SVG path). */
|
|
591
591
|
leftIcon?: string;
|
|
592
592
|
/** Right icon (SVG path). */
|
|
@@ -609,7 +609,7 @@ declare const CLASSNAME: LumxClassName<typeof COMPONENT_NAME>;
|
|
|
609
609
|
*/
|
|
610
610
|
declare const DEFAULT_PROPS: Partial<ButtonProps$1>;
|
|
611
611
|
|
|
612
|
-
interface ButtonProps extends
|
|
612
|
+
interface ButtonProps extends GenericProps$1, ButtonProps$1 {
|
|
613
613
|
}
|
|
614
614
|
/**
|
|
615
615
|
* Button component.
|
|
@@ -642,7 +642,7 @@ interface IconButtonProps$1 extends BaseButtonProps {
|
|
|
642
642
|
title?: string;
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
interface IconButtonProps extends
|
|
645
|
+
interface IconButtonProps extends GenericProps$1, IconButtonProps$1 {
|
|
646
646
|
/**
|
|
647
647
|
* Props to pass to the tooltip.
|
|
648
648
|
* If undefined or if tooltipProps.label is undefined, the label prop will be used as tooltip label.
|