@zanichelli/albe-web-components 19.1.0 → 19.1.2-RC1

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 (68) hide show
  1. package/CHANGELOG.md +7 -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-book-card-app.cjs.entry.js +1 -1
  5. package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -1
  6. package/dist/cjs/z-book-card.cjs.entry.js +1 -1
  7. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  8. package/dist/cjs/z-select.cjs.entry.js +56 -25
  9. package/dist/cjs/z-select.cjs.entry.js.map +1 -1
  10. package/dist/collection/components/z-select/index.js +56 -25
  11. package/dist/collection/components/z-select/index.js.map +1 -1
  12. package/dist/collection/components/z-tag/index.js +7 -3
  13. package/dist/collection/components/z-tag/index.js.map +1 -1
  14. package/dist/collection/components/z-tag/styles.css +5 -6
  15. package/dist/collection/tokens/typography.css +2 -2
  16. package/dist/components/index26.js +8 -4
  17. package/dist/components/index26.js.map +1 -1
  18. package/dist/components/z-book-card-app.js +1 -1
  19. package/dist/components/z-book-card-app.js.map +1 -1
  20. package/dist/components/z-book-card.js +1 -1
  21. package/dist/components/z-book-card.js.map +1 -1
  22. package/dist/components/z-select.js +56 -25
  23. package/dist/components/z-select.js.map +1 -1
  24. package/dist/esm/z-app-header_12.entry.js +8 -4
  25. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  26. package/dist/esm/z-book-card-app.entry.js +1 -1
  27. package/dist/esm/z-book-card-app.entry.js.map +1 -1
  28. package/dist/esm/z-book-card.entry.js +1 -1
  29. package/dist/esm/z-book-card.entry.js.map +1 -1
  30. package/dist/esm/z-select.entry.js +56 -25
  31. package/dist/esm/z-select.entry.js.map +1 -1
  32. package/dist/types/components/z-tag/index.d.ts +1 -0
  33. package/dist/web-components-library/p-1fd1cf02.entry.js +2 -0
  34. package/dist/web-components-library/p-1fd1cf02.entry.js.map +1 -0
  35. package/dist/web-components-library/p-2612e3a2.entry.js +2 -0
  36. package/dist/web-components-library/p-2612e3a2.entry.js.map +1 -0
  37. package/dist/web-components-library/{p-9bb3b009.entry.js → p-4c597b35.entry.js} +2 -2
  38. package/dist/web-components-library/p-4c597b35.entry.js.map +1 -0
  39. package/dist/web-components-library/{p-469f320a.entry.js → p-c6995296.entry.js} +2 -2
  40. package/dist/web-components-library/p-c6995296.entry.js.map +1 -0
  41. package/dist/web-components-library/web-components-library.css +2 -2
  42. package/dist/web-components-library/web-components-library.esm.js +1 -1
  43. package/package.json +3 -2
  44. package/www/build/{p-c42295e7.js → p-1cc9520b.js} +1 -1
  45. package/www/build/p-1fd1cf02.entry.js +2 -0
  46. package/www/build/p-1fd1cf02.entry.js.map +1 -0
  47. package/www/build/p-2612e3a2.entry.js +2 -0
  48. package/www/build/p-2612e3a2.entry.js.map +1 -0
  49. package/www/build/{p-9bb3b009.entry.js → p-4c597b35.entry.js} +2 -2
  50. package/www/build/p-4c597b35.entry.js.map +1 -0
  51. package/www/build/{p-bb61a89a.css → p-b5b5dae5.css} +2 -2
  52. package/www/build/{p-469f320a.entry.js → p-c6995296.entry.js} +2 -2
  53. package/www/build/p-c6995296.entry.js.map +1 -0
  54. package/www/build/web-components-library.css +2 -2
  55. package/www/build/web-components-library.esm.js +1 -1
  56. package/www/index.html +1 -1
  57. package/dist/web-components-library/p-469f320a.entry.js.map +0 -1
  58. package/dist/web-components-library/p-8d06bc1b.entry.js +0 -2
  59. package/dist/web-components-library/p-8d06bc1b.entry.js.map +0 -1
  60. package/dist/web-components-library/p-9bb3b009.entry.js.map +0 -1
  61. package/dist/web-components-library/p-a0bfe6f8.entry.js +0 -2
  62. package/dist/web-components-library/p-a0bfe6f8.entry.js.map +0 -1
  63. package/www/build/p-469f320a.entry.js.map +0 -1
  64. package/www/build/p-8d06bc1b.entry.js +0 -2
  65. package/www/build/p-8d06bc1b.entry.js.map +0 -1
  66. package/www/build/p-9bb3b009.entry.js.map +0 -1
  67. package/www/build/p-a0bfe6f8.entry.js +0 -2
  68. package/www/build/p-a0bfe6f8.entry.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
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
+
5
12
  ## [19.1.0](https://github.com/ZanichelliEditore/design-system/compare/v19.0.1...v19.1.0) (2025-12-18)
6
13
 
7
14
 
@@ -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