@lumx/react 4.2.1-alpha.2 → 4.2.1-alpha.4
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 +4 -3
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -533,7 +533,7 @@ type BaseClickableProps = {
|
|
|
533
533
|
isDisabled?: boolean;
|
|
534
534
|
disabled?: boolean;
|
|
535
535
|
'aria-disabled'?: Booleanish;
|
|
536
|
-
onClick?: (event
|
|
536
|
+
onClick?: (event?: any) => void;
|
|
537
537
|
ref?: CommonRef;
|
|
538
538
|
};
|
|
539
539
|
|
|
@@ -609,7 +609,8 @@ declare const CLASSNAME: LumxClassName<typeof COMPONENT_NAME>;
|
|
|
609
609
|
*/
|
|
610
610
|
declare const DEFAULT_PROPS: Partial<ButtonProps$1>;
|
|
611
611
|
|
|
612
|
-
interface ButtonProps extends ButtonProps$1
|
|
612
|
+
interface ButtonProps extends ButtonProps$1 {
|
|
613
|
+
[propName: string]: any;
|
|
613
614
|
}
|
|
614
615
|
/**
|
|
615
616
|
* Button component.
|
|
@@ -642,7 +643,7 @@ interface IconButtonProps$1 extends BaseButtonProps {
|
|
|
642
643
|
title?: string;
|
|
643
644
|
}
|
|
644
645
|
|
|
645
|
-
interface IconButtonProps extends
|
|
646
|
+
interface IconButtonProps extends GenericProps$1, IconButtonProps$1 {
|
|
646
647
|
/**
|
|
647
648
|
* Props to pass to the tooltip.
|
|
648
649
|
* If undefined or if tooltipProps.label is undefined, the label prop will be used as tooltip label.
|
package/index.js
CHANGED
|
@@ -12075,7 +12075,7 @@ const InternalSlideshowControls = forwardRef((props, ref) => {
|
|
|
12075
12075
|
className: element$9('navigation'),
|
|
12076
12076
|
color: theme === Theme$1.dark ? 'light' : 'dark',
|
|
12077
12077
|
emphasis: Emphasis$1.low,
|
|
12078
|
-
onClick:
|
|
12078
|
+
onClick: onPreviousClick
|
|
12079
12079
|
}), /*#__PURE__*/jsx("div", {
|
|
12080
12080
|
ref: paginationRef,
|
|
12081
12081
|
className: element$9('pagination'),
|
|
@@ -12122,7 +12122,7 @@ const InternalSlideshowControls = forwardRef((props, ref) => {
|
|
|
12122
12122
|
className: element$9('navigation'),
|
|
12123
12123
|
color: theme === Theme$1.dark ? 'light' : 'dark',
|
|
12124
12124
|
emphasis: Emphasis$1.low,
|
|
12125
|
-
onClick:
|
|
12125
|
+
onClick: onNextClick
|
|
12126
12126
|
})]
|
|
12127
12127
|
});
|
|
12128
12128
|
});
|