@zanichelli/albe-web-components 18.3.1 → 18.3.3-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.
- package/CHANGELOG.md +0 -7
- package/dist/cjs/z-app-header_12.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +43 -7
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
- package/dist/collection/components/z-input/index.js +2 -2
- package/dist/collection/components/z-input/index.js.map +1 -1
- package/dist/collection/components/z-input/index.stories.js +52 -48
- package/dist/collection/components/z-input/index.stories.js.map +1 -1
- package/dist/collection/components/z-toast-notification/index.js +43 -7
- package/dist/collection/components/z-toast-notification/index.js.map +1 -1
- package/dist/collection/components/z-toast-notification/index.stories.js +2 -30
- package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -1
- package/dist/collection/components/z-toast-notification/styles.css +34 -25
- package/dist/components/index11.js +2 -2
- package/dist/components/index11.js.map +1 -1
- package/dist/components/z-toast-notification.js +44 -8
- package/dist/components/z-toast-notification.js.map +1 -1
- package/dist/esm/z-app-header_12.entry.js +2 -2
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-toast-notification.entry.js +44 -8
- package/dist/esm/z-toast-notification.entry.js.map +1 -1
- package/dist/types/components/z-toast-notification/index.d.ts +10 -1
- package/dist/types/components/z-toast-notification/index.stories.d.ts +2 -10
- package/dist/web-components-library/p-72c07bbd.entry.js +7 -0
- package/dist/web-components-library/p-72c07bbd.entry.js.map +1 -0
- package/{www/build/p-93150ae0.entry.js → dist/web-components-library/p-957d4244.entry.js} +2 -2
- package/{www/build/p-93150ae0.entry.js.map → dist/web-components-library/p-957d4244.entry.js.map} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/{p-28efbaa8.js → p-0f3b0c17.js} +1 -1
- package/www/build/p-72c07bbd.entry.js +7 -0
- package/www/build/p-72c07bbd.entry.js.map +1 -0
- package/{dist/web-components-library/p-93150ae0.entry.js → www/build/p-957d4244.entry.js} +2 -2
- package/{dist/web-components-library/p-93150ae0.entry.js.map → www/build/p-957d4244.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-1dd6dff4.entry.js +0 -7
- package/dist/web-components-library/p-1dd6dff4.entry.js.map +0 -1
- package/www/build/p-1dd6dff4.entry.js +0 -7
- package/www/build/p-1dd6dff4.entry.js.map +0 -1
|
@@ -1457,7 +1457,7 @@ const ZInput = class {
|
|
|
1457
1457
|
if (this.icon || type === InputType.PASSWORD) {
|
|
1458
1458
|
Object.assign(attr.class, { "has-icon": true });
|
|
1459
1459
|
}
|
|
1460
|
-
if (this.hasclearicon && type != InputType.NUMBER) {
|
|
1460
|
+
if (this.hasclearicon && type != InputType.NUMBER && !!this.value) {
|
|
1461
1461
|
Object.assign(attr.class, { "has-clear-icon": true });
|
|
1462
1462
|
}
|
|
1463
1463
|
return (h("div", { class: "text-wrapper" }, this.renderLabel(), h("div", null, h("input", Object.assign({ type: type === InputType.PASSWORD && !this.passwordHidden ? InputType.TEXT : type }, attr, { ref: (el) => (this.inputRef = el) })), this.renderIcons()), this.renderMessage()));
|
|
@@ -1543,7 +1543,7 @@ const ZInput = class {
|
|
|
1543
1543
|
default:
|
|
1544
1544
|
input = this.renderInputText(this.type);
|
|
1545
1545
|
}
|
|
1546
|
-
return h(Host, { key: '
|
|
1546
|
+
return h(Host, { key: 'ce7849a447e6f04ec2f7f7822362a0c55809686d' }, input);
|
|
1547
1547
|
}
|
|
1548
1548
|
get hostElement() { return getElement(this); }
|
|
1549
1549
|
};
|