@lumx/react 3.12.1-alpha.0 → 3.12.1-alpha.1
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.js +3 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/link/Link.tsx +1 -1
package/package.json
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"url": "https://github.com/lumapps/design-system/issues"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@lumx/core": "^3.12.1-alpha.
|
|
10
|
-
"@lumx/icons": "^3.12.1-alpha.
|
|
9
|
+
"@lumx/core": "^3.12.1-alpha.1",
|
|
10
|
+
"@lumx/icons": "^3.12.1-alpha.1",
|
|
11
11
|
"@popperjs/core": "^2.5.4",
|
|
12
12
|
"body-scroll-lock": "^3.1.5",
|
|
13
13
|
"classnames": "^2.3.2",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"build:storybook": "storybook build"
|
|
111
111
|
},
|
|
112
112
|
"sideEffects": false,
|
|
113
|
-
"version": "3.12.1-alpha.
|
|
113
|
+
"version": "3.12.1-alpha.1"
|
|
114
114
|
}
|
|
@@ -101,7 +101,7 @@ export const Link = forwardRef<LinkProps, HTMLAnchorElement | HTMLButtonElement>
|
|
|
101
101
|
{wrapChildrenIconWithSpaces(
|
|
102
102
|
<>
|
|
103
103
|
{leftIcon && <Icon icon={leftIcon} className={`${CLASSNAME}__left-icon`} />}
|
|
104
|
-
{children}
|
|
104
|
+
{children && <span className={`${CLASSNAME}__content`}>{children}</span>}
|
|
105
105
|
{rightIcon && <Icon icon={rightIcon} className={`${CLASSNAME}__right-icon`} />}
|
|
106
106
|
</>,
|
|
107
107
|
)}
|