@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
package/CHANGELOG.md CHANGED
@@ -2,13 +2,6 @@
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
- ## 18.3.1 (2025-04-18)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * **LAZE-1362:** fix elements positioning ([e9d8b7e](https://github.com/ZanichelliEditore/design-system/commit/e9d8b7e1f5bce14f46e80e1b14204a1cf27373d0))
11
-
12
5
  ## 18.3.0 (2025-04-15)
13
6
 
14
7
  ## 18.2.1 (2025-04-09)
@@ -1461,7 +1461,7 @@ const ZInput = class {
1461
1461
  if (this.icon || type === index.InputType.PASSWORD) {
1462
1462
  Object.assign(attr.class, { "has-icon": true });
1463
1463
  }
1464
- if (this.hasclearicon && type != index.InputType.NUMBER) {
1464
+ if (this.hasclearicon && type != index.InputType.NUMBER && !!this.value) {
1465
1465
  Object.assign(attr.class, { "has-clear-icon": true });
1466
1466
  }
1467
1467
  return (index$1.h("div", { class: "text-wrapper" }, this.renderLabel(), index$1.h("div", null, index$1.h("input", Object.assign({ type: type === index.InputType.PASSWORD && !this.passwordHidden ? index.InputType.TEXT : type }, attr, { ref: (el) => (this.inputRef = el) })), this.renderIcons()), this.renderMessage()));
@@ -1547,7 +1547,7 @@ const ZInput = class {
1547
1547
  default:
1548
1548
  input = this.renderInputText(this.type);
1549
1549
  }
1550
- return index$1.h(index$1.Host, { key: '716ee8b89dbfeffedfdbfa8785c3994a94c44f44' }, input);
1550
+ return index$1.h(index$1.Host, { key: 'ce7849a447e6f04ec2f7f7822362a0c55809686d' }, input);
1551
1551
  }
1552
1552
  get hostElement() { return index$1.getElement(this); }
1553
1553
  };