@lumx/react 4.3.2-alpha.40 → 4.3.2-alpha.41
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 +1 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -733,7 +733,7 @@ interface ButtonProps extends GenericProps$1, ReactToJSX<ButtonProps$1> {
|
|
|
733
733
|
* @param ref Component ref.
|
|
734
734
|
* @return React element.
|
|
735
735
|
*/
|
|
736
|
-
declare const Button: Comp<ButtonProps,
|
|
736
|
+
declare const Button: Comp<ButtonProps, HTMLButtonElement | HTMLAnchorElement>;
|
|
737
737
|
|
|
738
738
|
interface IconButtonProps$1 extends BaseButtonProps {
|
|
739
739
|
/**
|
|
@@ -1552,7 +1552,7 @@ declare const GenericBlockGapSize: Pick<{
|
|
|
1552
1552
|
readonly medium: "medium";
|
|
1553
1553
|
readonly big: "big";
|
|
1554
1554
|
readonly huge: "huge";
|
|
1555
|
-
}, "
|
|
1555
|
+
}, "medium" | "tiny" | "regular" | "big" | "huge">;
|
|
1556
1556
|
type GenericBlockGapSize = ValueOf$1<typeof GenericBlockGapSize>;
|
|
1557
1557
|
|
|
1558
1558
|
interface GenericBlockProps extends FlexBoxProps {
|
|
@@ -2242,7 +2242,7 @@ interface LinkProps extends GenericProps$1, ReactToJSX<LinkProps$1, 'label'> {
|
|
|
2242
2242
|
* @param ref Component ref.
|
|
2243
2243
|
* @return React element.
|
|
2244
2244
|
*/
|
|
2245
|
-
declare const Link: Comp<LinkProps,
|
|
2245
|
+
declare const Link: Comp<LinkProps, HTMLButtonElement | HTMLAnchorElement>;
|
|
2246
2246
|
|
|
2247
2247
|
/**
|
|
2248
2248
|
* Defines the props of the component.
|
package/index.js
CHANGED
|
@@ -11447,7 +11447,7 @@ const SideNavigationItem = forwardRef((props, ref) => {
|
|
|
11447
11447
|
as: linkAs || (linkProps?.href ? 'a' : 'button'),
|
|
11448
11448
|
...linkProps,
|
|
11449
11449
|
className: element$d('link'),
|
|
11450
|
-
onClick,
|
|
11450
|
+
handleClick: onClick,
|
|
11451
11451
|
...ariaProps,
|
|
11452
11452
|
children: /*#__PURE__*/jsxs(Fragment, {
|
|
11453
11453
|
children: [icon && /*#__PURE__*/jsx(Icon, {
|