@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
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}.
|
|
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
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
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
|
|