@miso.ai/client-sdk-ui 1.11.5-beta.7 → 1.11.5-beta.8

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.
@@ -269,7 +269,8 @@ function tagPair(_ref13, _ref14) {
269
269
  const roleAttrs = role ? `data-role="${role}"` : '';
270
270
  return [`<${tag} class="${className}__${classSuffix}" ${roleAttrs} ${productAttrs} ${urlAttrs}>`, `</${tag}>`];
271
271
  }
272
- function linkAttrs(link) {
272
+ function linkAttrs() {
273
+ let link = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
273
274
  const {
274
275
  target = '_blank',
275
276
  rel = 'noopener',
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = '1.11.5-beta.7';
7
+ var _default = exports.default = '1.11.5-beta.8';
package/package.json CHANGED
@@ -26,7 +26,7 @@
26
26
  "url": "https://github.com/MisoAI/miso-client-js-sdk/issues"
27
27
  },
28
28
  "dependencies": {
29
- "@miso.ai/commons": "1.11.5-beta.7"
29
+ "@miso.ai/commons": "1.11.5-beta.8"
30
30
  },
31
- "version": "1.11.5-beta.7"
31
+ "version": "1.11.5-beta.8"
32
32
  }
@@ -194,7 +194,7 @@ function tagPair({ className, options = {} }, { product_id, url }, { classSuffix
194
194
  return [`<${tag} class="${className}__${classSuffix}" ${roleAttrs} ${productAttrs} ${urlAttrs}>`, `</${tag}>`];
195
195
  }
196
196
 
197
- function linkAttrs(link) {
197
+ function linkAttrs(link = {}) {
198
198
  const { target = '_blank', rel = 'noopener', open = true } = link; // TODO: other properties
199
199
  let attrs = '';
200
200
  if (open) {
package/src/version.js CHANGED
@@ -1 +1 @@
1
- export default '1.11.5-beta.7';
1
+ export default '1.11.5-beta.8';