@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
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [19.1.1](https://github.com/ZanichelliEditore/design-system/compare/v19.1.0...v19.1.1) (2026-01-13)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **DS-953:** fix margin right without text ([78d3559](https://github.com/ZanichelliEditore/design-system/commit/78d355968cc82b011816e45e14622892dfbe65bc))
11
+
12
+ ## [19.1.0](https://github.com/ZanichelliEditore/design-system/compare/v19.0.1...v19.1.0) (2025-12-18)
13
+
14
+
15
+ ### Features
16
+
17
+ * add an optional slot as a message in the z-toast-notification component ([b840b98](https://github.com/ZanichelliEditore/design-system/commit/b840b98f5f7b509d29db2e787653092216117bf6))
18
+
5
19
  ## [19.0.1](https://github.com/ZanichelliEditore/design-system/compare/v19.0.0...v19.0.1) (2025-12-15)
6
20
 
7
21
 
@@ -2229,7 +2229,7 @@ const ZSearchbar = class {
2229
2229
  };
2230
2230
  ZSearchbar.style = ZSearchbarStyle0;
2231
2231
 
2232
- 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%}";
2232
+ 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%}";
2233
2233
  const ZTagStyle0 = stylesCss;
2234
2234
 
2235
2235
  const ZTag = class {
@@ -2239,10 +2239,14 @@ const ZTag = class {
2239
2239
  this.expandable = undefined;
2240
2240
  }
2241
2241
  render() {
2242
- return (index$1.h(index$1.Host, { key: 'b1b99d8aa0ded75daaed090aa8fa490899e3b04e', class: {
2243
- expandable: this.expandable && !!this.icon,
2244
- } }, this.icon && index$1.h("z-icon", { key: 'b3f8b50efc5f7132515416a428ab3d10cf1329b9', name: this.icon }), index$1.h("div", { key: 'edf761fbadd249b2d50ad420a60bdec3ab296840' }, index$1.h("slot", { key: '932dd3ed45783430641d41f319482f27b9db2907' }))));
2242
+ var _a;
2243
+ const hasText = ((_a = this.host.textContent) === null || _a === void 0 ? void 0 : _a.trim().length) > 0;
2244
+ return (index$1.h(index$1.Host, { key: '639a80328cf620c692ea9cda77ba077c45aeb2cc', class: {
2245
+ "expandable": this.expandable && !!this.icon,
2246
+ "has-text": hasText,
2247
+ } }, this.icon && index$1.h("z-icon", { key: '46b90e5166a9794407ec7d59f6fffcaf5452829d', name: this.icon }), index$1.h("div", { key: '0ba235cee8da5c3fcc5229fbb3cb6abcd0b63db0' }, index$1.h("slot", { key: '647a88e3f9b0149e9091e3e84616b53bf78e38a7' }))));
2245
2248
  }
2249
+ get host() { return index$1.getElement(this); }
2246
2250
  };
2247
2251
  ZTag.style = ZTagStyle0;
2248
2252