@lumx/react 3.12.1-alpha.2 → 3.12.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
CHANGED
|
@@ -1928,14 +1928,14 @@ interface LinkProps extends GenericProps {
|
|
|
1928
1928
|
isDisabled?: boolean;
|
|
1929
1929
|
/**
|
|
1930
1930
|
* Left icon (SVG path).
|
|
1931
|
-
* @deprecated
|
|
1931
|
+
* @deprecated Instead, simply nest `<Icon />` in the children
|
|
1932
1932
|
*/
|
|
1933
1933
|
leftIcon?: string;
|
|
1934
1934
|
/** Custom react component for the link (can be used to inject react router Link). */
|
|
1935
1935
|
linkAs?: 'a' | any;
|
|
1936
1936
|
/**
|
|
1937
1937
|
* Right icon (SVG path).
|
|
1938
|
-
* @deprecated
|
|
1938
|
+
* @deprecated Instead, simply nest `<Icon />` in the children
|
|
1939
1939
|
*/
|
|
1940
1940
|
rightIcon?: string;
|
|
1941
1941
|
/** Link target. */
|
package/index.js
CHANGED
|
@@ -9129,7 +9129,8 @@ const Link = forwardRef((props, ref) => {
|
|
|
9129
9129
|
className: classNames(className, handleBasicClasses({
|
|
9130
9130
|
prefix: CLASSNAME$K,
|
|
9131
9131
|
color,
|
|
9132
|
-
colorVariant
|
|
9132
|
+
colorVariant,
|
|
9133
|
+
hasTypography: !!typography
|
|
9133
9134
|
}), typography && getTypographyClassName(typography))
|
|
9134
9135
|
}), wrapChildrenIconWithSpaces(/*#__PURE__*/React__default.createElement(React__default.Fragment, null, leftIcon && /*#__PURE__*/React__default.createElement(Icon, {
|
|
9135
9136
|
icon: leftIcon,
|