@zanichelli/albe-web-components 19.0.2-rc → 19.1.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/CHANGELOG.md +14 -0
- package/dist/cjs/z-app-header_12.cjs.entry.js +8 -4
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
- package/dist/collection/components/z-tag/index.js +7 -3
- package/dist/collection/components/z-tag/index.js.map +1 -1
- package/dist/collection/components/z-tag/styles.css +5 -6
- package/dist/collection/components/z-toast-notification/index.js +6 -1
- package/dist/collection/components/z-toast-notification/index.js.map +1 -1
- package/dist/components/index26.js +8 -4
- package/dist/components/index26.js.map +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toast-notification.js.map +1 -1
- package/dist/esm/z-app-header_12.entry.js +8 -4
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js.map +1 -1
- package/dist/types/components/z-tag/index.d.ts +1 -0
- package/dist/types/components/z-toast-notification/index.d.ts +5 -0
- package/dist/types/components.d.ts +12 -0
- package/{www/build/p-469f320a.entry.js → dist/web-components-library/p-c6995296.entry.js} +2 -2
- package/dist/web-components-library/p-c6995296.entry.js.map +1 -0
- package/dist/web-components-library/{p-250bcc68.entry.js → p-c778bf87.entry.js} +3 -3
- package/{www/build/p-250bcc68.entry.js.map → dist/web-components-library/p-c778bf87.entry.js.map} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -3
- package/www/build/{p-ed876e2c.js → p-9e5b7f0d.js} +1 -1
- package/{dist/web-components-library/p-469f320a.entry.js → www/build/p-c6995296.entry.js} +2 -2
- package/www/build/p-c6995296.entry.js.map +1 -0
- package/www/build/{p-250bcc68.entry.js → p-c778bf87.entry.js} +3 -3
- package/{dist/web-components-library/p-250bcc68.entry.js.map → www/build/p-c778bf87.entry.js.map} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/web-components-library/p-469f320a.entry.js.map +0 -1
- package/www/build/p-469f320a.entry.js.map +0 -1
|
@@ -2225,7 +2225,7 @@ const ZSearchbar = class {
|
|
|
2225
2225
|
};
|
|
2226
2226
|
ZSearchbar.style = ZSearchbarStyle0;
|
|
2227
2227
|
|
|
2228
|
-
const stylesCss = ".sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;display:flex;width:fit-content;max-width:inherit;height:fit-content;max-height:inherit;align-items:flex-start;padding:calc(var(--space-unit) / 2);background-color:var(--z-tag-bg, var(--color-hover-primary));border-radius:var(--border-radius);color:var(--z-tag-text-color, var(--color-text-inverse));fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:14px;text-transform:uppercase}.
|
|
2228
|
+
const stylesCss = ".sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;display:flex;width:fit-content;max-width:inherit;height:fit-content;max-height:inherit;align-items:flex-start;padding:calc(var(--space-unit) / 2);background-color:var(--z-tag-bg, var(--color-hover-primary));border-radius:var(--border-radius);color:var(--z-tag-text-color, var(--color-text-inverse));fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:14px;text-transform:uppercase}.sc-z-tag-h>z-icon.sc-z-tag{margin-right:0;transition:margin-right 0.3s ease-out}.has-text.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag{margin-right:var(--space-unit)}.has-text.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag{margin-right:var(--space-unit)}.expandable.sc-z-tag-h>div.sc-z-tag{overflow:hidden;max-width:0;max-height:0}.expandable.sc-z-tag-h:hover>div.sc-z-tag{max-width:100%;max-height:100%}";
|
|
2229
2229
|
const ZTagStyle0 = stylesCss;
|
|
2230
2230
|
|
|
2231
2231
|
const ZTag = class {
|
|
@@ -2235,10 +2235,14 @@ const ZTag = class {
|
|
|
2235
2235
|
this.expandable = undefined;
|
|
2236
2236
|
}
|
|
2237
2237
|
render() {
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2238
|
+
var _a;
|
|
2239
|
+
const hasText = ((_a = this.host.textContent) === null || _a === void 0 ? void 0 : _a.trim().length) > 0;
|
|
2240
|
+
return (h(Host, { key: '639a80328cf620c692ea9cda77ba077c45aeb2cc', class: {
|
|
2241
|
+
"expandable": this.expandable && !!this.icon,
|
|
2242
|
+
"has-text": hasText,
|
|
2243
|
+
} }, this.icon && h("z-icon", { key: '46b90e5166a9794407ec7d59f6fffcaf5452829d', name: this.icon }), h("div", { key: '0ba235cee8da5c3fcc5229fbb3cb6abcd0b63db0' }, h("slot", { key: '647a88e3f9b0149e9091e3e84616b53bf78e38a7' }))));
|
|
2241
2244
|
}
|
|
2245
|
+
get host() { return getElement(this); }
|
|
2242
2246
|
};
|
|
2243
2247
|
ZTag.style = ZTagStyle0;
|
|
2244
2248
|
|