@spaced-out/ui-design-system 0.1.118 → 0.1.119
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.119](https://github.com/spaced-out/ui-design-system/compare/v0.1.118...v0.1.119) (2024-08-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* disabled state fix for link with icon ([a0c3a2a](https://github.com/spaced-out/ui-design-system/commit/a0c3a2aa035e0639a625d51c95c3e96dabd2a7fa))
|
|
11
|
+
|
|
5
12
|
### [0.1.118](https://github.com/spaced-out/ui-design-system/compare/v0.1.117...v0.1.118) (2024-08-05)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -115,7 +115,9 @@ const Link = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
115
115
|
name: iconLeftName,
|
|
116
116
|
size: iconLeftSize,
|
|
117
117
|
type: iconLeftType,
|
|
118
|
-
className: _typographyModule.default[color]
|
|
118
|
+
className: (0, _classify.default)(_typographyModule.default[color], {
|
|
119
|
+
[_typographyModule.default.disabled]: disabled
|
|
120
|
+
})
|
|
119
121
|
}), /*#__PURE__*/React.createElement(_ConditionalWrapper.ConditionalWrapper, {
|
|
120
122
|
condition: Boolean(iconLeftName || iconRightName),
|
|
121
123
|
wrapper: children => /*#__PURE__*/React.createElement("span", {
|
|
@@ -186,7 +186,7 @@ export const Link: React$AbstractComponent<LinkProps, ?HTMLAnchorElement> =
|
|
|
186
186
|
name={iconLeftName}
|
|
187
187
|
size={iconLeftSize}
|
|
188
188
|
type={iconLeftType}
|
|
189
|
-
className={css[color]}
|
|
189
|
+
className={classify(css[color], {[css.disabled]: disabled})}
|
|
190
190
|
/>
|
|
191
191
|
)}
|
|
192
192
|
|