@useblu/ocean-react 1.35.1 → 1.35.2

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
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.35.2](https://github.com/ocean-ds/ocean-web/compare/v1.35.1...v1.35.2) (2022-10-06)
7
+
8
+ ### Bug Fixes
9
+
10
+ - link component error ([#1021](https://github.com/ocean-ds/ocean-web/issues/1021)) ([471b21f](https://github.com/ocean-ds/ocean-web/commit/471b21facdce758e6e201965aa471c6be3a8f70c))
11
+
6
12
  ## [1.35.1](https://github.com/ocean-ds/ocean-web/compare/v1.35.0...v1.35.1) (2022-10-06)
7
13
 
8
14
  ### Bug Fixes
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAKpE,oBAAY,SAAS,GAAG;IAKtB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAK5C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKnB,IAAI,CAAC,EAAE,aAAa,GAAG,cAAc,CAAC;CACvC,GAAG,wBAAwB,CAAC,GAAG,CAAC,CAAC;AAElC,QAAA,MAAM,IAAI;;;;0MAmBR,CAAC;AAEH,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAKpE,oBAAY,SAAS,GAAG;IAKtB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAK5C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKnB,IAAI,CAAC,EAAE,aAAa,GAAG,cAAc,CAAC;CACvC,GAAG,wBAAwB,CAAC,GAAG,CAAC,CAAC;AAElC,QAAA,MAAM,IAAI;;;;0MAoBR,CAAC;AAEH,eAAe,IAAI,CAAC"}
package/index.es.js CHANGED
@@ -5043,7 +5043,7 @@ var LinkIcons = e.memo(function LinkIcons(_a) {
5043
5043
 
5044
5044
  var Link = forwardRef(function Link(_a, ref) {
5045
5045
  var children = _a.children, className = _a.className, _b = _a.variant, variant = _b === void 0 ? 'primary' : _b, _c = _a.size, size = _c === void 0 ? 'md' : _c, icon = _a.icon, rest = __rest(_a, ["children", "className", "variant", "size", "icon"]);
5046
- return (e.createElement("a", __assign({ ref: ref, className: classNames('ods-link', "ods-link--".concat(size), "ods-link--".concat(variant), className) }, rest),
5046
+ return (e.createElement("a", __assign({ ref: ref, className: classNames('ods-link', "ods-link--".concat(size), "ods-link--".concat(variant), icon ? 'ods-link--with-icon' : '', className) }, rest),
5047
5047
  e.createElement("span", { className: "ods-link__content" }, children),
5048
5048
  e.createElement(LinkIcons, { icon: icon })));
5049
5049
  });