@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.
- package/dist/cjs/layout/templates.js +2 -1
- package/dist/cjs/version.js +1 -1
- package/package.json +2 -2
- package/src/layout/templates.js +1 -1
- package/src/version.js +1 -1
|
@@ -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(
|
|
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',
|
package/dist/cjs/version.js
CHANGED
package/package.json
CHANGED
package/src/layout/templates.js
CHANGED
|
@@ -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.
|
|
1
|
+
export default '1.11.5-beta.8';
|