@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.
Files changed (41) hide show
  1. package/CHANGELOG.md +0 -7
  2. package/dist/cjs/z-app-header_12.cjs.entry.js +2 -2
  3. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  4. package/dist/cjs/z-toast-notification.cjs.entry.js +43 -7
  5. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  6. package/dist/collection/components/z-input/index.js +2 -2
  7. package/dist/collection/components/z-input/index.js.map +1 -1
  8. package/dist/collection/components/z-input/index.stories.js +52 -48
  9. package/dist/collection/components/z-input/index.stories.js.map +1 -1
  10. package/dist/collection/components/z-toast-notification/index.js +43 -7
  11. package/dist/collection/components/z-toast-notification/index.js.map +1 -1
  12. package/dist/collection/components/z-toast-notification/index.stories.js +2 -30
  13. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -1
  14. package/dist/collection/components/z-toast-notification/styles.css +34 -25
  15. package/dist/components/index11.js +2 -2
  16. package/dist/components/index11.js.map +1 -1
  17. package/dist/components/z-toast-notification.js +44 -8
  18. package/dist/components/z-toast-notification.js.map +1 -1
  19. package/dist/esm/z-app-header_12.entry.js +2 -2
  20. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  21. package/dist/esm/z-toast-notification.entry.js +44 -8
  22. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  23. package/dist/types/components/z-toast-notification/index.d.ts +10 -1
  24. package/dist/types/components/z-toast-notification/index.stories.d.ts +2 -10
  25. package/dist/web-components-library/p-72c07bbd.entry.js +7 -0
  26. package/dist/web-components-library/p-72c07bbd.entry.js.map +1 -0
  27. package/{www/build/p-93150ae0.entry.js → dist/web-components-library/p-957d4244.entry.js} +2 -2
  28. package/{www/build/p-93150ae0.entry.js.map → dist/web-components-library/p-957d4244.entry.js.map} +1 -1
  29. package/dist/web-components-library/web-components-library.esm.js +1 -1
  30. package/package.json +1 -1
  31. package/www/build/{p-28efbaa8.js → p-0f3b0c17.js} +1 -1
  32. package/www/build/p-72c07bbd.entry.js +7 -0
  33. package/www/build/p-72c07bbd.entry.js.map +1 -0
  34. package/{dist/web-components-library/p-93150ae0.entry.js → www/build/p-957d4244.entry.js} +2 -2
  35. package/{dist/web-components-library/p-93150ae0.entry.js.map → www/build/p-957d4244.entry.js.map} +1 -1
  36. package/www/build/web-components-library.esm.js +1 -1
  37. package/www/index.html +1 -1
  38. package/dist/web-components-library/p-1dd6dff4.entry.js +0 -7
  39. package/dist/web-components-library/p-1dd6dff4.entry.js.map +0 -1
  40. package/www/build/p-1dd6dff4.entry.js +0 -7
  41. 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: '716ee8b89dbfeffedfdbfa8785c3994a94c44f44' }, input);
1546
+ return h(Host, { key: 'ce7849a447e6f04ec2f7f7822362a0c55809686d' }, input);
1547
1547
  }
1548
1548
  get hostElement() { return getElement(this); }
1549
1549
  };