@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.
Files changed (36) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/z-app-header_12.cjs.entry.js +8 -4
  3. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  4. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  5. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  6. package/dist/collection/components/z-tag/index.js +7 -3
  7. package/dist/collection/components/z-tag/index.js.map +1 -1
  8. package/dist/collection/components/z-tag/styles.css +5 -6
  9. package/dist/collection/components/z-toast-notification/index.js +6 -1
  10. package/dist/collection/components/z-toast-notification/index.js.map +1 -1
  11. package/dist/components/index26.js +8 -4
  12. package/dist/components/index26.js.map +1 -1
  13. package/dist/components/z-toast-notification.js +1 -1
  14. package/dist/components/z-toast-notification.js.map +1 -1
  15. package/dist/esm/z-app-header_12.entry.js +8 -4
  16. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  17. package/dist/esm/z-toast-notification.entry.js +1 -1
  18. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  19. package/dist/types/components/z-tag/index.d.ts +1 -0
  20. package/dist/types/components/z-toast-notification/index.d.ts +5 -0
  21. package/dist/types/components.d.ts +12 -0
  22. package/{www/build/p-469f320a.entry.js → dist/web-components-library/p-c6995296.entry.js} +2 -2
  23. package/dist/web-components-library/p-c6995296.entry.js.map +1 -0
  24. package/dist/web-components-library/{p-250bcc68.entry.js → p-c778bf87.entry.js} +3 -3
  25. package/{www/build/p-250bcc68.entry.js.map → dist/web-components-library/p-c778bf87.entry.js.map} +1 -1
  26. package/dist/web-components-library/web-components-library.esm.js +1 -1
  27. package/package.json +2 -3
  28. package/www/build/{p-ed876e2c.js → p-9e5b7f0d.js} +1 -1
  29. package/{dist/web-components-library/p-469f320a.entry.js → www/build/p-c6995296.entry.js} +2 -2
  30. package/www/build/p-c6995296.entry.js.map +1 -0
  31. package/www/build/{p-250bcc68.entry.js → p-c778bf87.entry.js} +3 -3
  32. package/{dist/web-components-library/p-250bcc68.entry.js.map → www/build/p-c778bf87.entry.js.map} +1 -1
  33. package/www/build/web-components-library.esm.js +1 -1
  34. package/www/index.html +1 -1
  35. package/dist/web-components-library/p-469f320a.entry.js.map +0 -1
  36. 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}.expandable.sc-z-tag-h>z-icon.sc-z-tag{transition:margin-right 0.3s ease-out}.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag,.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag{margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}.sc-z-tag-h>z-icon.sc-z-tag:has(+div.sc-z-tag:empty){margin-right:0}.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%}";
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
- return (h(Host, { key: 'b1b99d8aa0ded75daaed090aa8fa490899e3b04e', class: {
2239
- expandable: this.expandable && !!this.icon,
2240
- } }, this.icon && h("z-icon", { key: 'b3f8b50efc5f7132515416a428ab3d10cf1329b9', name: this.icon }), h("div", { key: 'edf761fbadd249b2d50ad420a60bdec3ab296840' }, h("slot", { key: '932dd3ed45783430641d41f319482f27b9db2907' }))));
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