@zanichelli/albe-web-components 19.2.4 → 19.2.5
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 +11 -0
- package/dist/cjs/z-app-header_12.cjs.entry.js +5 -2
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +5 -5
- package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
- package/dist/collection/components/z-breadcrumb/index.js +5 -5
- package/dist/collection/components/z-breadcrumb/index.js.map +1 -1
- package/dist/collection/components/z-button/index.js +5 -2
- package/dist/collection/components/z-button/index.js.map +1 -1
- package/dist/collection/components/z-notification/index.js +3 -2
- package/dist/collection/components/z-notification/index.js.map +1 -1
- package/dist/collection/components/z-notification/index.stories.js +79 -77
- package/dist/collection/components/z-notification/index.stories.js.map +1 -1
- package/dist/collection/components/z-notification/styles.css +8 -6
- package/dist/components/index5.js +5 -2
- package/dist/components/index5.js.map +1 -1
- package/dist/components/z-breadcrumb.js +5 -5
- package/dist/components/z-breadcrumb.js.map +1 -1
- package/dist/components/z-notification.js +2 -2
- package/dist/components/z-notification.js.map +1 -1
- package/dist/esm/z-app-header_12.entry.js +5 -2
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-breadcrumb.entry.js +5 -5
- package/dist/esm/z-breadcrumb.entry.js.map +1 -1
- package/dist/esm/z-notification.entry.js +2 -2
- package/dist/esm/z-notification.entry.js.map +1 -1
- package/dist/types/components/z-notification/index.d.ts +2 -1
- package/dist/types/components/z-notification/index.stories.d.ts +27 -22
- package/dist/types/components.d.ts +8 -4
- package/dist/web-components-library/p-07cd81f6.entry.js +2 -0
- package/dist/web-components-library/p-07cd81f6.entry.js.map +1 -0
- package/{www/build/p-9814f864.entry.js → dist/web-components-library/p-0d2a5f65.entry.js} +2 -2
- package/dist/web-components-library/p-0d2a5f65.entry.js.map +1 -0
- package/dist/web-components-library/p-299f6d64.entry.js +2 -0
- package/dist/web-components-library/p-299f6d64.entry.js.map +1 -0
- package/dist/web-components-library/web-components-library.css +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/p-07cd81f6.entry.js +2 -0
- package/www/build/p-07cd81f6.entry.js.map +1 -0
- package/{dist/web-components-library/p-9814f864.entry.js → www/build/p-0d2a5f65.entry.js} +2 -2
- package/www/build/p-0d2a5f65.entry.js.map +1 -0
- package/www/build/p-299f6d64.entry.js +2 -0
- package/www/build/p-299f6d64.entry.js.map +1 -0
- package/www/build/{p-813bd63b.css → p-c60c851a.css} +1 -1
- package/www/build/{p-7a9b89a3.js → p-d969a9bf.js} +1 -1
- package/www/build/web-components-library.css +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/web-components-library/p-96e61363.entry.js +0 -2
- package/dist/web-components-library/p-96e61363.entry.js.map +0 -1
- package/dist/web-components-library/p-9814f864.entry.js.map +0 -1
- package/dist/web-components-library/p-be1c414e.entry.js +0 -2
- package/dist/web-components-library/p-be1c414e.entry.js.map +0 -1
- package/www/build/p-96e61363.entry.js +0 -2
- package/www/build/p-96e61363.entry.js.map +0 -1
- package/www/build/p-9814f864.entry.js.map +0 -1
- package/www/build/p-be1c414e.entry.js +0 -2
- package/www/build/p-be1c414e.entry.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
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.2.5](https://github.com/ZanichelliEditore/design-system/compare/v19.2.4...v19.2.5) (2026-04-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* apply prettier formatting ([b5daa52](https://github.com/ZanichelliEditore/design-system/commit/b5daa525f8e81d52184a8641de7e8aa194bfbab2))
|
|
11
|
+
* prevent empty aria-label and role attributes on z-button ([67a3d00](https://github.com/ZanichelliEditore/design-system/commit/67a3d00142af2b57a495ae19f438a1fa30fc73c4))
|
|
12
|
+
* **tokens:** improve placeholder text contrast for WCAG 1.4.3 ([e6096db](https://github.com/ZanichelliEditore/design-system/commit/e6096db869d135c322b42aa0bba505467b3328bd)), closes [#9b9b9](https://github.com/ZanichelliEditore/design-system/issues/9b9b9) [#666](https://github.com/ZanichelliEditore/design-system/issues/666)
|
|
13
|
+
* **z-breadcrumb:** add aria-hidden to separator icons ([89d1429](https://github.com/ZanichelliEditore/design-system/commit/89d142957f268db3975232d8b41796a99352047e))
|
|
14
|
+
* **z-notification:** content width ([d79a561](https://github.com/ZanichelliEditore/design-system/commit/d79a5612e9c13a8dad9a854b8af798db42ce867f))
|
|
15
|
+
|
|
5
16
|
## [19.2.4](https://github.com/ZanichelliEditore/design-system/compare/v19.2.3...v19.2.4) (2026-04-07)
|
|
6
17
|
|
|
7
18
|
|
|
@@ -299,10 +299,13 @@ const ZButton = class {
|
|
|
299
299
|
return this.icon && index$1.h("z-icon", { name: this.icon });
|
|
300
300
|
}
|
|
301
301
|
render() {
|
|
302
|
+
var _a, _b;
|
|
303
|
+
const normalizedAriaLabel = ((_a = this.ariaLabel) === null || _a === void 0 ? void 0 : _a.trim()) || undefined;
|
|
304
|
+
const normalizedRole = this.htmlrole || ((_b = this.role) === null || _b === void 0 ? void 0 : _b.trim()) || undefined;
|
|
302
305
|
if (this.href) {
|
|
303
|
-
return (index$1.h("a", Object.assign({}, this.getAttributes(), { "aria-label":
|
|
306
|
+
return (index$1.h("a", Object.assign({}, this.getAttributes(), { "aria-label": normalizedAriaLabel, href: this.href, target: this.target }), this.renderIcon(), index$1.h("slot", null)));
|
|
304
307
|
}
|
|
305
|
-
return (index$1.h("button", Object.assign({}, this.getAttributes(), { "aria-label":
|
|
308
|
+
return (index$1.h("button", Object.assign({}, this.getAttributes(), { "aria-label": normalizedAriaLabel, name: this.name, type: this.type, disabled: this.disabled, role: normalizedRole }), this.renderIcon(), index$1.h("slot", null)));
|
|
306
309
|
}
|
|
307
310
|
get hostElement() { return index$1.getElement(this); }
|
|
308
311
|
};
|