@zanichelli/albe-web-components 19.6.0 → 19.6.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 +2 -0
- package/dist/cjs/z-app-header_12.cjs.entry.js +2 -3
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/collection/components/z-button/index.js +2 -3
- package/dist/collection/components/z-button/index.js.map +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/index5.js.map +1 -1
- package/dist/esm/z-app-header_12.entry.js +2 -3
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/web-components-library/p-35d62356.entry.js +2 -0
- package/dist/web-components-library/p-35d62356.entry.js.map +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/p-35d62356.entry.js +2 -0
- package/www/build/p-35d62356.entry.js.map +1 -0
- package/www/build/{p-7ffd9721.js → p-472fe240.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/web-components-library/p-a47b9059.entry.js +0 -2
- package/dist/web-components-library/p-a47b9059.entry.js.map +0 -1
- package/www/build/p-a47b9059.entry.js +0 -2
- package/www/build/p-a47b9059.entry.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.6.1](https://github.com/ZanichelliEditore/design-system/compare/v19.6.0...v19.6.1) (2026-07-02)
|
|
6
|
+
|
|
5
7
|
## [19.6.0](https://github.com/ZanichelliEditore/design-system/compare/v19.5.0...v19.6.0) (2026-07-01)
|
|
6
8
|
|
|
7
9
|
|
|
@@ -337,9 +337,8 @@ const ZButton = class {
|
|
|
337
337
|
var _a, _b;
|
|
338
338
|
const normalizedAriaLabel = ((_a = this.ariaLabel) === null || _a === void 0 ? void 0 : _a.trim()) || undefined;
|
|
339
339
|
const normalizedRole = this.htmlrole || ((_b = this.role) === null || _b === void 0 ? void 0 : _b.trim()) || undefined;
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
return (index$1.h("a", Object.assign({}, this.attributes, { "aria-label": normalizedAriaLabel, href: this.href || "#", target: this.target }), this.renderIcon(), index$1.h("slot", null)));
|
|
340
|
+
if (this.href) {
|
|
341
|
+
return (index$1.h("a", Object.assign({}, this.attributes, { "aria-label": normalizedAriaLabel, href: this.href, target: this.target }), this.renderIcon(), index$1.h("slot", null)));
|
|
343
342
|
}
|
|
344
343
|
return (index$1.h("button", Object.assign({}, this.attributes, { "aria-label": normalizedAriaLabel, name: this.name, type: this.type, disabled: this.disabled, role: normalizedRole }), this.renderIcon(), index$1.h("slot", null)));
|
|
345
344
|
}
|