@zanichelli/albe-web-components 19.3.0-RC5 → 19.3.0-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 (430) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/cjs/{iconset-Bcbz2MS1.js → iconset-oiCBBbd2.js} +15 -3
  3. package/dist/cjs/{index-2H1EJ2Tl.js → index-D_S5lGcb.js} +5 -5
  4. package/dist/cjs/index.cjs.js +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/web-components-library.cjs.js +2 -2
  7. package/dist/cjs/z-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  10. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
  11. package/dist/cjs/z-app-header_12.cjs.entry.js +137 -204
  12. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  13. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  14. package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
  15. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +1 -1
  16. package/dist/cjs/z-book-card.cjs.entry.js +1 -1
  17. package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
  18. package/dist/cjs/z-breadcrumb.cjs.entry.js +6 -6
  19. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  20. package/dist/cjs/z-card.cjs.entry.js +1 -1
  21. package/dist/cjs/z-carousel.cjs.entry.js +1 -1
  22. package/dist/cjs/z-chip.cjs.entry.js +1 -1
  23. package/dist/cjs/z-color-picker.cjs.entry.js +1 -1
  24. package/dist/cjs/z-combobox.cjs.entry.js +6 -4
  25. package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
  26. package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
  27. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
  28. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  29. package/dist/cjs/z-file.cjs.entry.js +1 -1
  30. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  31. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  32. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  33. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  34. package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
  35. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
  36. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  37. package/dist/cjs/z-menu.cjs.entry.js +1 -1
  38. package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
  39. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  40. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
  41. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  42. package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
  43. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  44. package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
  45. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  46. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  47. package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
  48. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  49. package/dist/cjs/z-notification.cjs.entry.js +3 -3
  50. package/dist/cjs/z-otp.cjs.entry.js +3 -3
  51. package/dist/cjs/z-pagination.cjs.entry.js +3 -3
  52. package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
  53. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  54. package/dist/cjs/z-range-picker.cjs.entry.js +1 -1
  55. package/dist/cjs/z-result-card.cjs.entry.js +1 -1
  56. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  57. package/dist/cjs/z-select.cjs.entry.js +1 -1
  58. package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
  59. package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
  60. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  61. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  62. package/dist/cjs/z-table.cjs.entry.js +1 -1
  63. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  64. package/dist/cjs/z-td.cjs.entry.js +4 -4
  65. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  66. package/dist/cjs/z-th.cjs.entry.js +6 -4
  67. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  68. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  69. package/dist/cjs/z-toast-notification.cjs.entry.js +96 -35
  70. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  71. package/dist/cjs/z-toggle-switch.cjs.entry.js +4 -4
  72. package/dist/cjs/z-tool.cjs.entry.js +3 -3
  73. package/dist/cjs/z-toolbar.cjs.entry.js +2 -2
  74. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  75. package/dist/cjs/z-tr.cjs.entry.js +1 -1
  76. package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
  77. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  78. package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -0
  79. package/dist/collection/components/table/cells/{z-td/styles.css → z-table-cells.css} +0 -1
  80. package/dist/collection/components/table/cells/z-td/index.js +3 -3
  81. package/dist/collection/components/table/cells/z-th/index.js +3 -3
  82. package/dist/collection/components/table/cells/z-th/styles.css +0 -72
  83. package/dist/collection/components/z-app-header/index.js +21 -2
  84. package/dist/collection/components/z-app-header/index.stories.js +25 -9
  85. package/dist/collection/components/z-breadcrumb/index.js +5 -5
  86. package/dist/collection/components/z-button/index.js +5 -2
  87. package/dist/collection/components/z-combobox/index.js +3 -3
  88. package/dist/collection/components/z-combobox/styles.css +0 -12
  89. package/dist/collection/components/z-input/index.js +3 -3
  90. package/dist/collection/components/z-input/styles-checkbox-radio.css +130 -0
  91. package/dist/collection/components/z-input/styles-general.css +166 -0
  92. package/dist/collection/components/z-input/styles-text.css +87 -0
  93. package/dist/collection/components/z-input/styles-textarea.css +19 -0
  94. package/dist/collection/components/z-notification/index.js +3 -2
  95. package/dist/collection/components/z-notification/index.stories.js +79 -77
  96. package/dist/collection/components/z-notification/styles.css +8 -6
  97. package/dist/collection/components/z-pagination/index.js +2 -2
  98. package/dist/collection/components/z-searchbar/index.js +133 -193
  99. package/dist/collection/components/z-searchbar/index.stories.js +12 -16
  100. package/dist/collection/components/z-searchbar/styles.css +87 -201
  101. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  102. package/dist/collection/components/z-stepper/index.js +1 -1
  103. package/dist/collection/components/z-stepper-item/index.js +1 -1
  104. package/dist/collection/components/z-toast-notification/index.js +3 -3
  105. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  106. package/dist/collection/components/z-toggle-button/index.js +2 -2
  107. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  108. package/dist/collection/components/z-tool/index.js +3 -3
  109. package/dist/collection/components/z-toolbar/index.js +1 -1
  110. package/dist/collection/components/z-tooltip/index.js +1 -1
  111. package/dist/collection/constants/iconset.js +15 -3
  112. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  113. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  114. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  115. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  116. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  117. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  118. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  119. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  120. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  121. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  122. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  123. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  124. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  125. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  126. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  127. package/dist/components/iconset.js +1 -1
  128. package/dist/components/index13.js +1 -1
  129. package/dist/components/index22.js +1 -1
  130. package/dist/components/index23.js +1 -1
  131. package/dist/components/index24.js +1 -1
  132. package/dist/components/index25.js +1 -1
  133. package/dist/components/index26.js +1 -1
  134. package/dist/components/index27.js +1 -1
  135. package/dist/components/index4.js +1 -1
  136. package/dist/components/index5.js +1 -1
  137. package/dist/components/index7.js +1 -1
  138. package/dist/components/z-app-header.js +1 -1
  139. package/dist/components/z-breadcrumb.js +1 -1
  140. package/dist/components/z-combobox.js +1 -1
  141. package/dist/components/z-myz-card-alert.js +1 -1
  142. package/dist/components/z-myz-card-dictionary.js +1 -1
  143. package/dist/components/z-myz-card-footer-sections.js +1 -1
  144. package/dist/components/z-myz-card-footer.js +1 -1
  145. package/dist/components/z-myz-card-icon.js +1 -1
  146. package/dist/components/z-myz-card-info.js +1 -1
  147. package/dist/components/z-myz-card-list.js +1 -1
  148. package/dist/components/z-myz-list.js +1 -1
  149. package/dist/components/z-notification.js +1 -1
  150. package/dist/components/z-otp.js +1 -1
  151. package/dist/components/z-pagination.js +1 -1
  152. package/dist/components/z-skip-to-content.js +1 -1
  153. package/dist/components/z-stepper-item.js +1 -1
  154. package/dist/components/z-stepper.js +1 -1
  155. package/dist/components/z-td.js +1 -1
  156. package/dist/components/z-th.js +1 -1
  157. package/dist/components/z-toast-notification-list.js +1 -1
  158. package/dist/components/z-toast-notification.js +1 -1
  159. package/dist/components/z-toggle-button.js +1 -1
  160. package/dist/components/z-toggle-switch.js +1 -1
  161. package/dist/components/z-tool.js +1 -1
  162. package/dist/components/z-toolbar.js +1 -1
  163. package/dist/esm/{iconset-BanpkIXZ.js → iconset-CjHS9zeM.js} +15 -3
  164. package/dist/esm/{index-ByN2sYu6.js → index-DPdXlnVe.js} +5 -5
  165. package/dist/esm/index.js +2 -2
  166. package/dist/esm/loader.js +3 -3
  167. package/dist/esm/{utils-0PByxJyN.js → utils-DYd3kO0P.js} +1 -1
  168. package/dist/esm/web-components-library.js +3 -3
  169. package/dist/esm/z-accordion.entry.js +1 -1
  170. package/dist/esm/z-alert.entry.js +2 -2
  171. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  172. package/dist/esm/z-app-header-deprecated.entry.js +1 -1
  173. package/dist/esm/z-app-header_12.entry.js +139 -206
  174. package/dist/esm/z-aria-alert.entry.js +1 -1
  175. package/dist/esm/z-avatar.entry.js +1 -1
  176. package/dist/esm/z-book-card-app.entry.js +1 -1
  177. package/dist/esm/z-book-card-deprecated.entry.js +2 -2
  178. package/dist/esm/z-book-card.entry.js +1 -1
  179. package/dist/esm/z-book-cover.entry.js +1 -1
  180. package/dist/esm/z-breadcrumb.entry.js +7 -7
  181. package/dist/esm/z-button-sort.entry.js +1 -1
  182. package/dist/esm/z-card.entry.js +1 -1
  183. package/dist/esm/z-carousel.entry.js +1 -1
  184. package/dist/esm/z-chip.entry.js +1 -1
  185. package/dist/esm/z-color-picker.entry.js +2 -2
  186. package/dist/esm/z-combobox.entry.js +7 -5
  187. package/dist/esm/z-cover-hero.entry.js +1 -1
  188. package/dist/esm/z-date-picker.entry.js +1 -1
  189. package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
  190. package/dist/esm/z-file-upload.entry.js +1 -1
  191. package/dist/esm/z-file.entry.js +1 -1
  192. package/dist/esm/z-ghost-loading.entry.js +1 -1
  193. package/dist/esm/z-info-box.entry.js +1 -1
  194. package/dist/esm/z-info-reveal.entry.js +1 -1
  195. package/dist/esm/z-logo.entry.js +1 -1
  196. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  197. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  198. package/dist/esm/z-menu-section.entry.js +1 -1
  199. package/dist/esm/z-menu.entry.js +2 -2
  200. package/dist/esm/z-myz-card-alert.entry.js +2 -2
  201. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  202. package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
  203. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  204. package/dist/esm/z-myz-card-icon.entry.js +2 -2
  205. package/dist/esm/z-myz-card-info.entry.js +3 -3
  206. package/dist/esm/z-myz-card-list.entry.js +2 -2
  207. package/dist/esm/z-myz-card_4.entry.js +5 -5
  208. package/dist/esm/z-myz-list-item.entry.js +3 -3
  209. package/dist/esm/z-myz-list.entry.js +2 -2
  210. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  211. package/dist/esm/z-notification.entry.js +3 -3
  212. package/dist/esm/z-otp.entry.js +3 -3
  213. package/dist/esm/z-pagination.entry.js +3 -3
  214. package/dist/esm/z-panel-elem.entry.js +1 -1
  215. package/dist/esm/z-popover.entry.js +2 -2
  216. package/dist/esm/z-range-picker.entry.js +1 -1
  217. package/dist/esm/z-result-card.entry.js +1 -1
  218. package/dist/esm/z-section-title.entry.js +1 -1
  219. package/dist/esm/z-select.entry.js +2 -2
  220. package/dist/esm/z-skip-to-content.entry.js +3 -3
  221. package/dist/esm/z-slideshow.entry.js +2 -2
  222. package/dist/esm/z-stepper-item.entry.js +2 -2
  223. package/dist/esm/z-stepper.entry.js +2 -2
  224. package/dist/esm/z-table.entry.js +2 -2
  225. package/dist/esm/z-tbody.entry.js +1 -1
  226. package/dist/esm/z-td.entry.js +4 -4
  227. package/dist/esm/z-tfoot.entry.js +1 -1
  228. package/dist/esm/z-th.entry.js +6 -4
  229. package/dist/esm/z-thead.entry.js +1 -1
  230. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  231. package/dist/esm/z-toast-notification.entry.js +96 -35
  232. package/dist/esm/z-toggle-button.entry.js +3 -3
  233. package/dist/esm/z-toggle-switch.entry.js +5 -5
  234. package/dist/esm/z-tool.entry.js +4 -4
  235. package/dist/esm/z-toolbar.entry.js +2 -2
  236. package/dist/esm/z-tooltip.entry.js +2 -2
  237. package/dist/esm/z-tr.entry.js +2 -2
  238. package/dist/esm/z-tree-list.entry.js +1 -1
  239. package/dist/esm/z-visually-hidden.entry.js +1 -1
  240. package/dist/types/components/z-app-header/index.d.ts +4 -0
  241. package/dist/types/components/z-app-header/index.stories.d.ts +7 -0
  242. package/dist/types/components/z-notification/index.d.ts +2 -1
  243. package/dist/types/components/z-notification/index.stories.d.ts +27 -22
  244. package/dist/types/components/z-searchbar/index.d.ts +26 -28
  245. package/dist/types/components/z-searchbar/index.stories.d.ts +4 -0
  246. package/dist/types/components.d.ts +42 -18
  247. package/dist/types/constants/iconset.d.ts +30 -6
  248. package/dist/web-components-library/index.esm.js +1 -1
  249. package/dist/web-components-library/p-087956fa.entry.js +1 -0
  250. package/dist/web-components-library/{p-9b181c2c.entry.js → p-10e5e16e.entry.js} +1 -1
  251. package/dist/web-components-library/{p-8f945346.entry.js → p-13e7f751.entry.js} +1 -1
  252. package/dist/web-components-library/{p-366d2553.entry.js → p-14b804f9.entry.js} +1 -1
  253. package/{www/build/p-9d3bde23.entry.js → dist/web-components-library/p-1580db58.entry.js} +1 -1
  254. package/dist/web-components-library/p-15825811.entry.js +1 -0
  255. package/dist/web-components-library/{p-1210c90f.entry.js → p-1993b0ad.entry.js} +1 -1
  256. package/dist/web-components-library/{p-eb722234.entry.js → p-1a95491d.entry.js} +1 -1
  257. package/dist/web-components-library/{p-ebdbd84c.entry.js → p-1d023220.entry.js} +1 -1
  258. package/dist/web-components-library/{p-5fc4048b.entry.js → p-21c85e04.entry.js} +1 -1
  259. package/dist/web-components-library/{p-081b1648.entry.js → p-23b46642.entry.js} +1 -1
  260. package/dist/web-components-library/{p-59d4ac9e.entry.js → p-299f0f85.entry.js} +1 -1
  261. package/dist/web-components-library/p-29dde955.entry.js +1 -0
  262. package/dist/web-components-library/p-2c036e17.entry.js +1 -0
  263. package/dist/web-components-library/{p-c23bfec2.entry.js → p-2d4c01c3.entry.js} +1 -1
  264. package/dist/web-components-library/p-2dabe353.entry.js +1 -0
  265. package/dist/web-components-library/{p-1afd69ba.entry.js → p-2df6d169.entry.js} +1 -1
  266. package/dist/web-components-library/{p-2f99634d.entry.js → p-2ef82e17.entry.js} +1 -1
  267. package/dist/web-components-library/{p-30c86858.entry.js → p-324933f6.entry.js} +1 -1
  268. package/{www/build/p-50b59012.entry.js → dist/web-components-library/p-37e84b71.entry.js} +1 -1
  269. package/dist/web-components-library/{p-1e984688.entry.js → p-3c53e451.entry.js} +1 -1
  270. package/dist/web-components-library/{p-5883dbc1.entry.js → p-3ea03d34.entry.js} +1 -1
  271. package/dist/web-components-library/p-41584e90.entry.js +1 -0
  272. package/{www/build/p-6ece59b5.entry.js → dist/web-components-library/p-50e10a10.entry.js} +1 -1
  273. package/dist/web-components-library/{p-17429bce.entry.js → p-52899754.entry.js} +1 -1
  274. package/dist/web-components-library/p-53670be4.entry.js +1 -0
  275. package/dist/web-components-library/{p-02e588b4.entry.js → p-583b8152.entry.js} +1 -1
  276. package/dist/web-components-library/{p-afab22fc.entry.js → p-5a05dc1e.entry.js} +1 -1
  277. package/dist/web-components-library/{p-a975b91d.entry.js → p-5d20fc3d.entry.js} +1 -1
  278. package/{www/build/p-5c85b7f4.entry.js → dist/web-components-library/p-622466f9.entry.js} +1 -1
  279. package/dist/web-components-library/{p-0727e9aa.entry.js → p-658f022d.entry.js} +1 -1
  280. package/dist/web-components-library/{p-ecea3d09.entry.js → p-6bd35edf.entry.js} +1 -1
  281. package/dist/web-components-library/{p-00f09ae2.entry.js → p-7226f07a.entry.js} +1 -1
  282. package/dist/web-components-library/p-7371a543.entry.js +2 -0
  283. package/dist/web-components-library/{p-b5c180bc.entry.js → p-77bf39a4.entry.js} +1 -1
  284. package/dist/web-components-library/{p-acf23ad8.entry.js → p-788eaac7.entry.js} +1 -1
  285. package/{www/build/p-631f111d.entry.js → dist/web-components-library/p-7bf7539a.entry.js} +1 -1
  286. package/dist/web-components-library/p-81eb43fd.entry.js +1 -0
  287. package/dist/web-components-library/{p-abfdc045.entry.js → p-8261c869.entry.js} +1 -1
  288. package/{www/build/p-5bb77af2.entry.js → dist/web-components-library/p-83da1031.entry.js} +1 -1
  289. package/{www/build/p-d57c5efc.entry.js → dist/web-components-library/p-85cac60d.entry.js} +1 -1
  290. package/dist/web-components-library/{p-2294f1b0.entry.js → p-88a3ba7c.entry.js} +1 -1
  291. package/dist/web-components-library/{p-0ca6e928.entry.js → p-8a8df4f4.entry.js} +1 -1
  292. package/dist/web-components-library/{p-040fbd28.entry.js → p-8b026993.entry.js} +1 -1
  293. package/dist/web-components-library/{p-294f7b4e.entry.js → p-8d7e2e16.entry.js} +1 -1
  294. package/dist/web-components-library/{p-19536f5e.entry.js → p-8de064a4.entry.js} +1 -1
  295. package/dist/web-components-library/{p-aabb5aea.entry.js → p-8f4a04aa.entry.js} +1 -1
  296. package/dist/web-components-library/{p-D4yqZKyM.js → p-CPsEG702.js} +1 -1
  297. package/dist/web-components-library/p-CjHS9zeM.js +1 -0
  298. package/dist/web-components-library/{p-ByN2sYu6.js → p-DPdXlnVe.js} +1 -1
  299. package/dist/web-components-library/{p-58933ba5.entry.js → p-a4f673f8.entry.js} +1 -1
  300. package/dist/web-components-library/{p-a336c241.entry.js → p-aa4fc3d3.entry.js} +1 -1
  301. package/{www/build/p-48d72b52.entry.js → dist/web-components-library/p-aa72d766.entry.js} +1 -1
  302. package/{www/build/p-b38d52e5.entry.js → dist/web-components-library/p-ad2cd7fc.entry.js} +1 -1
  303. package/dist/web-components-library/{p-241eaed0.entry.js → p-b6223d7e.entry.js} +1 -1
  304. package/{www/build/p-41b55222.entry.js → dist/web-components-library/p-b851f20b.entry.js} +1 -1
  305. package/dist/web-components-library/{p-d304ce44.entry.js → p-b9343431.entry.js} +1 -1
  306. package/dist/web-components-library/{p-a3a7c406.entry.js → p-be354b22.entry.js} +1 -1
  307. package/dist/web-components-library/{p-c8f40472.entry.js → p-c42ddd93.entry.js} +1 -1
  308. package/dist/web-components-library/{p-896470e8.entry.js → p-c4e7bd16.entry.js} +1 -1
  309. package/dist/web-components-library/{p-794c613e.entry.js → p-c944a943.entry.js} +1 -1
  310. package/dist/web-components-library/{p-4b0a730e.entry.js → p-cd33f4b1.entry.js} +1 -1
  311. package/dist/web-components-library/{p-ad2ed505.entry.js → p-cdd88182.entry.js} +1 -1
  312. package/dist/web-components-library/{p-8745878e.entry.js → p-d3053434.entry.js} +1 -1
  313. package/dist/web-components-library/{p-fade8c19.entry.js → p-d63665c1.entry.js} +1 -1
  314. package/dist/web-components-library/{p-1b851174.entry.js → p-dabccb20.entry.js} +1 -1
  315. package/dist/web-components-library/p-dc5ab2cc.entry.js +1 -0
  316. package/dist/web-components-library/{p-5797bf38.entry.js → p-dfd43710.entry.js} +1 -1
  317. package/dist/web-components-library/{p-0a819ab4.entry.js → p-e1d0a6e3.entry.js} +1 -1
  318. package/dist/web-components-library/p-e48497f0.entry.js +1 -0
  319. package/dist/web-components-library/{p-a9534450.entry.js → p-ec4940ce.entry.js} +1 -1
  320. package/dist/web-components-library/{p-ed74f357.entry.js → p-eddc2d19.entry.js} +1 -1
  321. package/dist/web-components-library/{p-6d53942a.entry.js → p-ef5018bb.entry.js} +1 -1
  322. package/dist/web-components-library/{p-f5e7fa96.entry.js → p-f7e46ef2.entry.js} +1 -1
  323. package/dist/web-components-library/web-components-library.css +1 -1
  324. package/dist/web-components-library/web-components-library.esm.js +1 -1
  325. package/package.json +3 -3
  326. package/www/build/index.esm.js +1 -1
  327. package/www/build/p-087956fa.entry.js +1 -0
  328. package/www/build/{p-9b181c2c.entry.js → p-10e5e16e.entry.js} +1 -1
  329. package/www/build/{p-8f945346.entry.js → p-13e7f751.entry.js} +1 -1
  330. package/www/build/{p-366d2553.entry.js → p-14b804f9.entry.js} +1 -1
  331. package/{dist/web-components-library/p-9d3bde23.entry.js → www/build/p-1580db58.entry.js} +1 -1
  332. package/www/build/p-15825811.entry.js +1 -0
  333. package/www/build/{p-1210c90f.entry.js → p-1993b0ad.entry.js} +1 -1
  334. package/www/build/{p-eb722234.entry.js → p-1a95491d.entry.js} +1 -1
  335. package/www/build/{p-ebdbd84c.entry.js → p-1d023220.entry.js} +1 -1
  336. package/www/build/{p-5fc4048b.entry.js → p-21c85e04.entry.js} +1 -1
  337. package/www/build/{p-081b1648.entry.js → p-23b46642.entry.js} +1 -1
  338. package/www/build/{p-59d4ac9e.entry.js → p-299f0f85.entry.js} +1 -1
  339. package/www/build/p-29dde955.entry.js +1 -0
  340. package/www/build/p-2c036e17.entry.js +1 -0
  341. package/www/build/{p-c23bfec2.entry.js → p-2d4c01c3.entry.js} +1 -1
  342. package/www/build/p-2dabe353.entry.js +1 -0
  343. package/www/build/{p-1afd69ba.entry.js → p-2df6d169.entry.js} +1 -1
  344. package/www/build/{p-2f99634d.entry.js → p-2ef82e17.entry.js} +1 -1
  345. package/www/build/{p-30c86858.entry.js → p-324933f6.entry.js} +1 -1
  346. package/{dist/web-components-library/p-50b59012.entry.js → www/build/p-37e84b71.entry.js} +1 -1
  347. package/www/build/{p-1e984688.entry.js → p-3c53e451.entry.js} +1 -1
  348. package/www/build/{p-5883dbc1.entry.js → p-3ea03d34.entry.js} +1 -1
  349. package/www/build/p-41584e90.entry.js +1 -0
  350. package/{dist/web-components-library/p-6ece59b5.entry.js → www/build/p-50e10a10.entry.js} +1 -1
  351. package/www/build/{p-17429bce.entry.js → p-52899754.entry.js} +1 -1
  352. package/www/build/p-53670be4.entry.js +1 -0
  353. package/www/build/{p-02e588b4.entry.js → p-583b8152.entry.js} +1 -1
  354. package/www/build/{p-afab22fc.entry.js → p-5a05dc1e.entry.js} +1 -1
  355. package/www/build/{p-a975b91d.entry.js → p-5d20fc3d.entry.js} +1 -1
  356. package/{dist/web-components-library/p-5c85b7f4.entry.js → www/build/p-622466f9.entry.js} +1 -1
  357. package/www/build/{p-0727e9aa.entry.js → p-658f022d.entry.js} +1 -1
  358. package/www/build/{p-ecea3d09.entry.js → p-6bd35edf.entry.js} +1 -1
  359. package/www/build/{p-00f09ae2.entry.js → p-7226f07a.entry.js} +1 -1
  360. package/www/build/p-7371a543.entry.js +2 -0
  361. package/www/build/{p-b5c180bc.entry.js → p-77bf39a4.entry.js} +1 -1
  362. package/www/build/{p-acf23ad8.entry.js → p-788eaac7.entry.js} +1 -1
  363. package/{dist/web-components-library/p-631f111d.entry.js → www/build/p-7bf7539a.entry.js} +1 -1
  364. package/www/build/p-81eb43fd.entry.js +1 -0
  365. package/www/build/{p-abfdc045.entry.js → p-8261c869.entry.js} +1 -1
  366. package/{dist/web-components-library/p-5bb77af2.entry.js → www/build/p-83da1031.entry.js} +1 -1
  367. package/{dist/web-components-library/p-d57c5efc.entry.js → www/build/p-85cac60d.entry.js} +1 -1
  368. package/www/build/{p-2294f1b0.entry.js → p-88a3ba7c.entry.js} +1 -1
  369. package/www/build/{p-0ca6e928.entry.js → p-8a8df4f4.entry.js} +1 -1
  370. package/www/build/{p-040fbd28.entry.js → p-8b026993.entry.js} +1 -1
  371. package/www/build/{p-294f7b4e.entry.js → p-8d7e2e16.entry.js} +1 -1
  372. package/www/build/{p-19536f5e.entry.js → p-8de064a4.entry.js} +1 -1
  373. package/www/build/{p-aabb5aea.entry.js → p-8f4a04aa.entry.js} +1 -1
  374. package/www/build/{p-D4yqZKyM.js → p-CPsEG702.js} +1 -1
  375. package/www/build/p-CjHS9zeM.js +1 -0
  376. package/www/build/{p-ByN2sYu6.js → p-DPdXlnVe.js} +1 -1
  377. package/www/build/{p-58933ba5.entry.js → p-a4f673f8.entry.js} +1 -1
  378. package/www/build/{p-a336c241.entry.js → p-aa4fc3d3.entry.js} +1 -1
  379. package/{dist/web-components-library/p-48d72b52.entry.js → www/build/p-aa72d766.entry.js} +1 -1
  380. package/{dist/web-components-library/p-b38d52e5.entry.js → www/build/p-ad2cd7fc.entry.js} +1 -1
  381. package/www/build/{p-241eaed0.entry.js → p-b6223d7e.entry.js} +1 -1
  382. package/{dist/web-components-library/p-41b55222.entry.js → www/build/p-b851f20b.entry.js} +1 -1
  383. package/www/build/{p-d304ce44.entry.js → p-b9343431.entry.js} +1 -1
  384. package/www/build/{p-a3a7c406.entry.js → p-be354b22.entry.js} +1 -1
  385. package/www/build/{p-c8f40472.entry.js → p-c42ddd93.entry.js} +1 -1
  386. package/www/build/{p-896470e8.entry.js → p-c4e7bd16.entry.js} +1 -1
  387. package/www/build/{p-ea2cbe37.js → p-c5c5a64f.js} +1 -1
  388. package/www/build/{p-813bd63b.css → p-c60c851a.css} +1 -1
  389. package/www/build/{p-794c613e.entry.js → p-c944a943.entry.js} +1 -1
  390. package/www/build/{p-4b0a730e.entry.js → p-cd33f4b1.entry.js} +1 -1
  391. package/www/build/{p-ad2ed505.entry.js → p-cdd88182.entry.js} +1 -1
  392. package/www/build/{p-8745878e.entry.js → p-d3053434.entry.js} +1 -1
  393. package/www/build/{p-fade8c19.entry.js → p-d63665c1.entry.js} +1 -1
  394. package/www/build/{p-1b851174.entry.js → p-dabccb20.entry.js} +1 -1
  395. package/www/build/p-dc5ab2cc.entry.js +1 -0
  396. package/www/build/{p-5797bf38.entry.js → p-dfd43710.entry.js} +1 -1
  397. package/www/build/{p-0a819ab4.entry.js → p-e1d0a6e3.entry.js} +1 -1
  398. package/www/build/p-e48497f0.entry.js +1 -0
  399. package/www/build/{p-a9534450.entry.js → p-ec4940ce.entry.js} +1 -1
  400. package/www/build/{p-ed74f357.entry.js → p-eddc2d19.entry.js} +1 -1
  401. package/www/build/{p-6d53942a.entry.js → p-ef5018bb.entry.js} +1 -1
  402. package/www/build/{p-f5e7fa96.entry.js → p-f7e46ef2.entry.js} +1 -1
  403. package/www/build/web-components-library.css +1 -1
  404. package/www/build/web-components-library.esm.js +1 -1
  405. package/www/index.html +1 -1
  406. package/dist/collection/components/z-input/styles.css +0 -406
  407. package/dist/web-components-library/p-062ba668.entry.js +0 -1
  408. package/dist/web-components-library/p-0eb7baa4.entry.js +0 -1
  409. package/dist/web-components-library/p-1c5bbea1.entry.js +0 -1
  410. package/dist/web-components-library/p-27f93251.entry.js +0 -1
  411. package/dist/web-components-library/p-314302ce.entry.js +0 -1
  412. package/dist/web-components-library/p-3c861d49.entry.js +0 -1
  413. package/dist/web-components-library/p-7a55d688.entry.js +0 -2
  414. package/dist/web-components-library/p-8042aaf7.entry.js +0 -1
  415. package/dist/web-components-library/p-BanpkIXZ.js +0 -1
  416. package/dist/web-components-library/p-a1127213.entry.js +0 -1
  417. package/dist/web-components-library/p-afcabf3b.entry.js +0 -1
  418. package/dist/web-components-library/p-db0a60fc.entry.js +0 -1
  419. package/www/build/p-062ba668.entry.js +0 -1
  420. package/www/build/p-0eb7baa4.entry.js +0 -1
  421. package/www/build/p-1c5bbea1.entry.js +0 -1
  422. package/www/build/p-27f93251.entry.js +0 -1
  423. package/www/build/p-314302ce.entry.js +0 -1
  424. package/www/build/p-3c861d49.entry.js +0 -1
  425. package/www/build/p-7a55d688.entry.js +0 -2
  426. package/www/build/p-8042aaf7.entry.js +0 -1
  427. package/www/build/p-BanpkIXZ.js +0 -1
  428. package/www/build/p-a1127213.entry.js +0 -1
  429. package/www/build/p-afcabf3b.entry.js +0 -1
  430. package/www/build/p-db0a60fc.entry.js +0 -1
@@ -0,0 +1,166 @@
1
+ :host {
2
+ display: inline-block;
3
+ width: inherit;
4
+ }
5
+
6
+ :host * {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ /* GENERAL */
11
+ input::-ms-clear,
12
+ input::-ms-reveal {
13
+ display: none;
14
+ }
15
+
16
+ input[type="search"]::-webkit-search-decoration,
17
+ input[type="search"]::-webkit-search-cancel-button,
18
+ input[type="search"]::-webkit-search-results-button,
19
+ input[type="search"]::-webkit-search-results-decoration {
20
+ display: none;
21
+ }
22
+
23
+ input,
24
+ textarea {
25
+ background: var(--color-form-background);
26
+ fill: var(--color-form-default-icon);
27
+ font-family: var(--font-family-sans);
28
+ font-size: var(--font-size-3);
29
+ font-weight: var(--font-rg);
30
+ outline: none;
31
+ }
32
+
33
+ input,
34
+ .textarea-wrapper {
35
+ border: var(--border-size-small) solid var(--color-form-surface04);
36
+ border-radius: var(--border-radius-small);
37
+ color: var(--color-form-default-text);
38
+ }
39
+
40
+ :host([size="small"]) input,
41
+ :host([size="small"]) textarea,
42
+ :host([size="x-small"]) input,
43
+ :host([size="x-small"]) textarea {
44
+ font-size: var(--font-size-2);
45
+ }
46
+
47
+ :host.cursor-select input {
48
+ cursor: pointer;
49
+ }
50
+
51
+ /* HOVER */
52
+ input:not([readonly]):hover,
53
+ .textarea-wrapper:not(.readonly):hover {
54
+ outline: var(--border-size-medium) solid var(--color-surface04);
55
+ outline-offset: -2px;
56
+ }
57
+
58
+ /* FOCUS */
59
+ :host:not(.active-select) input:focus:focus-visible,
60
+ :host:not([readonly="true"]) .textarea-wrapper:focus-within {
61
+ border-color: var(--color-form-active-primary);
62
+ box-shadow: var(--shadow-focus-primary);
63
+ color: var(--color-form-active-primary);
64
+ }
65
+
66
+ :host input:focus:focus-visible:hover,
67
+ .textarea-wrapper:not(.readonly):focus-within:hover {
68
+ outline-color: var(--color-form-active-primary);
69
+ }
70
+
71
+ :host input:focus:focus-visible + .icons-wrapper {
72
+ fill: var(--color-form-active-primary);
73
+ }
74
+
75
+ :host.active-select input {
76
+ border: var(--border-size-small) solid var(--color-form-active-primary);
77
+ }
78
+
79
+ :host.cursor-select input:focus:focus-visible {
80
+ box-shadow: var(--shadow-focus-primary);
81
+ }
82
+
83
+ :host input[readonly]:focus:focus-visible {
84
+ border-color: var(--color-form-surface03);
85
+ box-shadow: none;
86
+ }
87
+
88
+ /* STATUSES (success, warning, error) */
89
+ .input-success {
90
+ border-color: var(--color-form-success01);
91
+ background: var(--color-form-inverse-success);
92
+ }
93
+
94
+ .input-success:focus:focus-visible + .icons-wrapper,
95
+ .input-success + .icons-wrapper {
96
+ fill: var(--color-form-success01);
97
+ }
98
+
99
+ .input-error {
100
+ border-color: var(--color-form-hover-error);
101
+ background: var(--color-form-inverse-error);
102
+ }
103
+
104
+ .input-error:focus:focus-visible + .icons-wrapper,
105
+ .input-error + .icons-wrapper {
106
+ fill: var(--color-form-hover-error);
107
+ }
108
+
109
+ .input-warning {
110
+ border-color: var(--color-form-hover-warning);
111
+ background: var(--color-form-inverse-warning);
112
+ }
113
+
114
+ .input-warning:focus:focus-visible + .icons-wrapper,
115
+ .input-warning + .icons-wrapper {
116
+ fill: var(--color-form-hover-warning);
117
+ }
118
+
119
+ :is(.input-success, .input-error, .input-warning):focus:focus-visible {
120
+ color: var(--color-form-default-text);
121
+ }
122
+
123
+ /* READONLY */
124
+ :host:not(.active-select) input[readonly],
125
+ .textarea-wrapper.readonly {
126
+ border-color: var(--color-form-surface03);
127
+ fill: var(--color-form-disabled01-icon);
128
+ pointer-events: none;
129
+ }
130
+
131
+ /* DISABLED */
132
+ :host([disabled]:not([disabled="false"])) input,
133
+ :host([disabled]:not([disabled="false"])) .textarea-wrapper,
134
+ :host([disabled]:not([disabled="false"])) z-icon {
135
+ border-color: var(--color-form-disabled03);
136
+ box-shadow: none;
137
+ color: var(--color-form-disabled-text);
138
+ fill: var(--color-form-disabled01-icon);
139
+ pointer-events: none;
140
+ }
141
+
142
+ :host([disabled]:not([disabled="false"])) input:hover {
143
+ border-width: var(--border-size-small);
144
+ }
145
+
146
+ /* PLACEHOLDER */
147
+ input::placeholder,
148
+ textarea::placeholder {
149
+ color: var(--color-form-placeholder-text);
150
+ }
151
+
152
+ ::-webkit-textarea-placeholder {
153
+ color: var(--color-form-placeholder-text);
154
+ }
155
+
156
+ :-ms-textarea-placeholder {
157
+ color: var(--color-form-placeholder-text);
158
+ }
159
+
160
+ ::placeholder {
161
+ color: var(--color-form-placeholder-text);
162
+ }
163
+
164
+ :host([disabled]:not([disabled="false"])) label.z-label {
165
+ color: var(--color-disabled03);
166
+ }
@@ -0,0 +1,87 @@
1
+ .text-wrapper > div {
2
+ position: relative;
3
+ z-index: 1;
4
+ fill: var(--color-form-default-icon);
5
+ }
6
+
7
+ .text-wrapper > div > input {
8
+ width: 100%;
9
+ height: calc(var(--space-unit) * 5.5);
10
+ box-sizing: border-box;
11
+ padding: 0 calc(var(--space-unit) * 1.5);
12
+ margin: 0;
13
+ }
14
+
15
+ :host([size="small"]) .text-wrapper > div > input {
16
+ height: calc(var(--space-unit) * 4.5);
17
+ }
18
+
19
+ :host([size="x-small"]) .text-wrapper > div > input {
20
+ height: calc(var(--space-unit) * 4);
21
+ }
22
+
23
+ .text-wrapper > div > input.has-icon,
24
+ .text-wrapper > div > input.has-clear-icon {
25
+ padding-right: calc(var(--space-unit) * 5.25);
26
+ }
27
+
28
+ .text-wrapper > div > input.has-icon.has-clear-icon {
29
+ padding-right: calc(var(--space-unit) * 8);
30
+ }
31
+
32
+ .text-wrapper .icons-wrapper {
33
+ position: absolute;
34
+ z-index: 2;
35
+ top: 50%;
36
+ right: calc(var(--space-unit) * 1.5);
37
+ display: flex;
38
+ pointer-events: none;
39
+ transform: translateY(-50%);
40
+ }
41
+
42
+ .text-wrapper .icons-wrapper > button.input-icon {
43
+ display: flex;
44
+ padding: 0;
45
+ border: 0;
46
+ background: none;
47
+ color: inherit;
48
+ font: inherit;
49
+ pointer-events: initial;
50
+ }
51
+
52
+ .text-wrapper .icons-wrapper > .input-icon + .input-icon {
53
+ margin-left: calc(var(--space-unit) * 0.5);
54
+ }
55
+
56
+ .text-wrapper .icons-wrapper > button.input-icon.hidden {
57
+ display: none;
58
+ }
59
+
60
+ .text-wrapper .icons-wrapper > button.reset-icon,
61
+ .text-wrapper .icons-wrapper > button.toggle-password-icon {
62
+ cursor: pointer;
63
+ }
64
+
65
+ .text-wrapper .icons-wrapper > .input-icon {
66
+ --z-icon-width: 18px;
67
+ --z-icon-height: 18px;
68
+
69
+ display: block;
70
+ }
71
+
72
+ .text-wrapper .icons-wrapper > .input-icon.small,
73
+ .text-wrapper .icons-wrapper > .input-icon.x-small {
74
+ --z-icon-width: 16px;
75
+ --z-icon-height: 16px;
76
+ }
77
+
78
+ .text-wrapper .icons-wrapper > button.input-icon:focus {
79
+ box-shadow: var(--shadow-focus-primary);
80
+ outline: none !important;
81
+ }
82
+
83
+ /* stylelint-disable property-no-vendor-prefix */
84
+ .text-wrapper > div > input:-webkit-autofill {
85
+ -webkit-box-shadow: 0 0 0 1000px #fff inset;
86
+ -webkit-text-fill-color: currentcolor;
87
+ }
@@ -0,0 +1,19 @@
1
+ .textarea-wrapper {
2
+ width: 100%;
3
+ height: 100%;
4
+ padding: calc(var(--space-unit) * 1.5);
5
+ }
6
+
7
+ .textarea-wrapper:not(.input-error, .input-success, .input-warning) {
8
+ background-color: var(--color-form-background);
9
+ }
10
+
11
+ textarea {
12
+ width: 100%;
13
+ min-height: 132px;
14
+ padding: 0;
15
+ border: none;
16
+ margin: 0;
17
+ color: currentcolor;
18
+ resize: none;
19
+ }
@@ -3,7 +3,8 @@ import { Host, h } from "@stencil/core";
3
3
  * Notification bar component.
4
4
  * @slot - The text of the notification.
5
5
  * @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.
6
- * @cssprop --z-notification--content-max-width - The max width of the notification content.
6
+ * @cssprop --z-notification--content-max-width - The max width of the notification content. Useful to align the content with other elements on the page, keeping the colored background full width. Default: 100%. Note: the content is automatically centered, so if you want to limit the width only for the slotted content, you can wrap it in a container with the desired width and leave the `z-notification` width to 100%.
7
+ * @cssprop --z-notification--inline-padding - The inline padding of the notification content. It can be useful to align the content when the `--z-notification--content-max-width` is set. Default: calc(var(--space-unit) * 2).
7
8
  */
8
9
  export class ZNotification {
9
10
  handleActionButtonClick(e) {
@@ -31,7 +32,7 @@ export class ZNotification {
31
32
  }
32
33
  render() {
33
34
  var _a;
34
- return (h(Host, { key: '40da9cc297666e279f89631cede4c24d16abbc79' }, h("div", { key: '1591d69902fe6ed78424da9363b5aa6ca56b21fe', class: "main-container" }, this.contenticonname && (h("z-icon", { key: '585a4bc748ce664b6a3cb6e13879f98f48eed38d', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: 'f3a415e24907ade9cff0c966cbc905a2ee2b0982', class: "content-container" }, h("div", { key: 'adc775c0294adc136e2138cc32b8b86b32c765ef', class: "content-text" }, h("slot", { key: 'e467e4ea81b76bf092650d2a52cb249bc70bed78' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '6253c14815223122888d3b71b7e5a08fa9ab72c1', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '0baeb981e72a49fec6055b16c37ef7395204861f', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: '229f88bd8ef914cb361f84f3435d207b433862c1', name: "multiply-circle", width: 16, height: 16 }))))));
35
+ return (h(Host, { key: '204757ce872d00bd8dcf801273b36cee6c390989' }, h("div", { key: 'adb00f9caa9e7a87e7320dfadbe642b3535f66c4', class: "main-container" }, this.contenticonname && (h("z-icon", { key: '4deffc225f500b8dc00d0d55ca28733a389d6e5c', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: '41cf207e05035652e789b35e73109657210162dd', class: "content-container" }, h("div", { key: 'f5e54591302a860fb45b07b8e0cbde78d1b9deec', class: "content-text" }, h("slot", { key: '48e5555977f88affbb06af454b51a94bee2c0c58' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '977fb094093c645f26f1cd014914f7ea824f80f9', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: 'f505fca722c4c720173faee9c37ce110ba2382e4', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: '27305ec012eb8c30396fcf5fee87ece5a57c4a10', name: "multiply-circle", width: 16, height: 16 }))))));
35
36
  }
36
37
  static get is() { return "z-notification"; }
37
38
  static get encapsulation() { return "shadow"; }
@@ -2,6 +2,7 @@ import { html } from "lit";
2
2
  import { NotificationType } from "../../beans";
3
3
  import "./index";
4
4
  import "./index.stories.css";
5
+ const DEMO_LONG_TEXT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent rhoncus magna imperdiet malesuada interdum. Curabitur volutpat mi purus, in maximus nisl volutpat quis. Suspendisse sed vestibulum magna. Quisque molestie, justo non pretium egestas, lorem elit malesuada turpis, et malesuada sapien nunc a urna. Curabitur sagittis augue turpis, eu consectetur purus consectetur vitae. Sed bibendum nisl diam, eget egestas enim elementum eget. Donec quis magna lobortis, tristique nunc in, fringilla lacus. Duis ac porta turpis. Aenean aliquam tortor sed felis interdum aliquet dignissim vel ligula. Donec auctor risus vitae nisi finibus, sed suscipit tellus fringilla. Sed malesuada gravida tincidunt. Duis tincidunt orci at magna egestas fermentum. Nulla laoreet ante felis, non molestie mi venenatis sit amet. Nullam sollicitudin tempus lacus ac maximus. Suspendisse erat magna, pellentesque ut lectus sit amet, aliquet scelerisque augue. In at felis facilisis, sodales tortor euismod, tincidunt tellus. Quisque vulputate dolor vitae nibh pharetra, a auctor turpis mattis. Nulla facilisi. Vivamus a facilisis ex. Vestibulum ultricies scelerisque sapien eu pharetra. Etiam ut porttitor lorem, id ullamcorper risus. Donec sed sollicitudin metus. Sed sapien lectus, bibendum quis lorem efficitur, pellentesque maximus lectus. Quisque quis lectus quis dolor ultrices facilisis placerat finibus nulla. Donec laoreet urna id varius facilisis. Nulla facilisi. Pellentesque dignissim aliquam interdum. Fusce ante mauris, blandit nec imperdiet mattis, dictum non sapien. Donec aliquet feugiat quam quis cursus. Curabitur et rutrum nunc. Phasellus ut lorem posuere, eleifend felis sed, lobortis arcu. Nam efficitur purus non dolor tincidunt, nec euismod lectus hendrerit. Sed eget rutrum odio, ac maximus lacus. Etiam rutrum purus diam, eu pellentesque elit vulputate eget. Donec nulla augue, euismod non mollis congue, laoreet vel orci. Cras eget suscipit felis. Phasellus eget erat eu nisl suscipit pulvinar. Nunc ullamcorper orci sit amet dui placerat, at vulputate libero finibus. Quisque dignissim risus dolor, a porta erat cursus vel. Sed cursus pellentesque magna fringilla varius. Proin sit amet posuere massa. Proin nisl massa, hendrerit non congue mattis, tincidunt in turpis. Etiam pharetra posuere est, non mollis sapien malesuada non. Quisque metus lectus, hendrerit vel accumsan et, ornare a eros. Donec tempor, elit ut pulvinar auctor, sapien velit consectetur justo, interdum lobortis risus ligula vitae nunc. Praesent quam felis, posuere et consequat consectetur, tempus non sem. Phasellus in ligula enim. Donec gravida, felis vitae elementum mattis, velit ipsum aliquam ipsum, a cursus nisi nisl nec sapien. Ut et orci nulla. Donec fringilla magna non risus imperdiet euismod. Sed viverra eget turpis et faucibus. Sed ante orci, interdum in ligula in, tincidunt feugiat arcu. In viverra efficitur urna laoreet tristique. Phasellus hendrerit, urna et condimentum aliquet, ex urna condimentum dui, vitae vestibulum mauris risus sit amet nunc. Quisque egestas est vel lorem commodo, eget vestibulum enim cursus. Cras lectus velit, fermentum eget mauris id, interdum cursus massa. Maecenas quis dui vehicula mauris condimentum finibus. Sed et magna velit. Duis eleifend dolor at sagittis ornare. Aenean commodo massa enim, ac varius augue varius quis.";
5
6
  const StoryMeta = {
6
7
  title: "ZNotification",
7
8
  component: "z-notification",
@@ -12,10 +13,17 @@ const StoryMeta = {
12
13
  },
13
14
  options: Object.values(NotificationType),
14
15
  },
16
+ borderposition: {
17
+ control: {
18
+ type: "inline-radio",
19
+ },
20
+ options: ["top", "bottom"],
21
+ },
15
22
  },
16
23
  args: {
17
24
  "--z-notification--content-max-width": "100%",
18
25
  "contenticonname": "checkmark-circle-filled",
26
+ "borderposition": "bottom",
19
27
  "actiontext": "Annulla",
20
28
  "showclose": false,
21
29
  "sticky": false,
@@ -37,27 +45,6 @@ export const Default = {
37
45
  </z-notification>
38
46
  `,
39
47
  };
40
- /**
41
- * To use the border top variant set the `borderposition` property to `top`.
42
- */
43
- export const BorderTop = {
44
- args: {
45
- borderposition: "top",
46
- },
47
- render: (args) => html `
48
- <z-notification
49
- .contenticonname=${args.contenticonname}
50
- .actiontext=${args.actiontext}
51
- .type=${args.type}
52
- .showclose=${args.showclose}
53
- .sticky=${args.sticky}
54
- .borderposition=${args.borderposition}
55
- style="--z-notification--content-max-width: ${args["--z-notification--content-max-width"]}"
56
- >
57
- <div class="notification-container"><strong>NOVITÀ</strong>: Testo che descrive le novità.</div>
58
- </z-notification>
59
- `,
60
- };
61
48
  export const LongText = {
62
49
  render: (args) => html `
63
50
  <z-notification
@@ -68,19 +55,18 @@ export const LongText = {
68
55
  .sticky=${args.sticky}
69
56
  style="--z-notification--content-max-width: ${args["--z-notification--content-max-width"]}"
70
57
  >
71
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent rhoncus magna imperdiet malesuada interdum.
72
- Curabitur volutpat mi purus, in maximus nisl volutpat quis. Suspendisse sed vestibulum magna. Quisque molestie,
73
- justo non pretium egestas, lorem elit malesuada turpis, et malesuada sapien nunc a urna. Curabitur sagittis augue
74
- turpis, eu consectetur purus consectetur vitae.
58
+ <div>
59
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent rhoncus magna imperdiet malesuada interdum.
60
+ Curabitur volutpat mi purus, in maximus nisl volutpat quis. Suspendisse sed vestibulum magna. Quisque molestie,
61
+ justo non pretium egestas, lorem elit malesuada turpis, et malesuada sapien nunc a urna. Curabitur sagittis
62
+ augue turpis, eu consectetur purus consectetur vitae.
63
+ </div>
75
64
  </z-notification>
76
65
  `,
77
66
  };
78
- /**
79
- * To use the banner variant set the `sticky` property to `true`.
80
- */
81
- export const BannerVariant = {
67
+ export const StickyBanner = {
82
68
  args: {
83
- notificationText: "Questo è il testo della notifica",
69
+ "--z-notification--top-offset": "0",
84
70
  },
85
71
  parameters: {
86
72
  controls: {
@@ -94,55 +80,48 @@ export const BannerVariant = {
94
80
  .actiontext=${args.actiontext}
95
81
  .type=${args.type}
96
82
  .showclose=${args.showclose}
97
- sticky="true"
98
- style="--z-notification--content-max-width: ${args["--z-notification--content-max-width"]}"
83
+ .sticky="true"
84
+ style="--z-notification--top-offset: ${args["--z-notification--top-offset"]}; --z-notification--content-max-width: ${args["--z-notification--content-max-width"]}"
99
85
  >
100
- ${args.notificationText}
86
+ Questo è il testo della notifica
101
87
  </z-notification>
102
- <h2 class="heading-1-sb">Titolo della pagina</h2>
103
- <div class="body-1">
88
+ <div class="heading-1-sb">Titolo della pagina</div>
89
+ <div class="body-1">${DEMO_LONG_TEXT}</div>
90
+ </div>
91
+ `,
92
+ };
93
+ export const CenteredContent = {
94
+ args: {
95
+ "--z-notification--content-max-width": "768px",
96
+ },
97
+ render: (args) => html `
98
+ <z-notification
99
+ .contenticonname=${args.contenticonname}
100
+ .actiontext=${args.actiontext}
101
+ .type=${args.type}
102
+ .showclose=${args.showclose}
103
+ .sticky=${args.sticky}
104
+ .borderposition=${args.borderposition}
105
+ style="--z-notification--content-max-width: ${args["--z-notification--content-max-width"]}"
106
+ >
107
+ <div>
104
108
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent rhoncus magna imperdiet malesuada interdum.
105
- Curabitur volutpat mi purus, in maximus nisl volutpat quis. Suspendisse sed vestibulum magna. Quisque molestie,
106
- justo non pretium egestas, lorem elit malesuada turpis, et malesuada sapien nunc a urna. Curabitur sagittis
107
- augue turpis, eu consectetur purus consectetur vitae. Sed bibendum nisl diam, eget egestas enim elementum eget.
108
- Donec quis magna lobortis, tristique nunc in, fringilla lacus. Duis ac porta turpis. Aenean aliquam tortor sed
109
- felis interdum aliquet dignissim vel ligula. Donec auctor risus vitae nisi finibus, sed suscipit tellus
110
- fringilla. Sed malesuada gravida tincidunt. Duis tincidunt orci at magna egestas fermentum. Nulla laoreet ante
111
- felis, non molestie mi venenatis sit amet. Nullam sollicitudin tempus lacus ac maximus. Suspendisse erat magna,
112
- pellentesque ut lectus sit amet, aliquet scelerisque augue. In at felis facilisis, sodales tortor euismod,
113
- tincidunt tellus. Quisque vulputate dolor vitae nibh pharetra, a auctor turpis mattis. Nulla facilisi. Vivamus a
114
- facilisis ex. Vestibulum ultricies scelerisque sapien eu pharetra. Etiam ut porttitor lorem, id ullamcorper
115
- risus. Donec sed sollicitudin metus. Sed sapien lectus, bibendum quis lorem efficitur, pellentesque maximus
116
- lectus. Quisque quis lectus quis dolor ultrices facilisis placerat finibus nulla. Donec laoreet urna id varius
117
- facilisis. Nulla facilisi. Pellentesque dignissim aliquam interdum. Fusce ante mauris, blandit nec imperdiet
118
- mattis, dictum non sapien. Donec aliquet feugiat quam quis cursus. Curabitur et rutrum nunc. Phasellus ut lorem
119
- posuere, eleifend felis sed, lobortis arcu. Nam efficitur purus non dolor tincidunt, nec euismod lectus
120
- hendrerit. Sed eget rutrum odio, ac maximus lacus. Etiam rutrum purus diam, eu pellentesque elit vulputate eget.
121
- Donec nulla augue, euismod non mollis congue, laoreet vel orci. Cras eget suscipit felis. Phasellus eget erat eu
122
- nisl suscipit pulvinar. Nunc ullamcorper orci sit amet dui placerat, at vulputate libero finibus. Quisque
123
- dignissim risus dolor, a porta erat cursus vel. Sed cursus pellentesque magna fringilla varius. Proin sit amet
124
- posuere massa. Proin nisl massa, hendrerit non congue mattis, tincidunt in turpis. Etiam pharetra posuere est,
125
- non mollis sapien malesuada non. Quisque metus lectus, hendrerit vel accumsan et, ornare a eros. Donec tempor,
126
- elit ut pulvinar auctor, sapien velit consectetur justo, interdum lobortis risus ligula vitae nunc. Praesent
127
- quam felis, posuere et consequat consectetur, tempus non sem. Phasellus in ligula enim. Donec gravida, felis
128
- vitae elementum mattis, velit ipsum aliquam ipsum, a cursus nisi nisl nec sapien. Ut et orci nulla. Donec
129
- fringilla magna non risus imperdiet euismod. Sed viverra eget turpis et faucibus. Sed ante orci, interdum in
130
- ligula in, tincidunt feugiat arcu. In viverra efficitur urna laoreet tristique. Phasellus hendrerit, urna et
131
- condimentum aliquet, ex urna condimentum dui, vitae vestibulum mauris risus sit amet nunc. Quisque egestas est
132
- vel lorem commodo, eget vestibulum enim cursus. Cras lectus velit, fermentum eget mauris id, interdum cursus
133
- massa. Maecenas quis dui vehicula mauris condimentum finibus. Sed et magna velit. Duis eleifend dolor at
134
- sagittis ornare. Aenean commodo massa enim, ac varius augue varius quis.
109
+ Curabitur volutpat mi purus, in maximus nisl volutpat quis.
135
110
  </div>
111
+ </z-notification>
112
+ <div
113
+ class="z-notification-demo-page"
114
+ style="max-width: ${args["--z-notification--content-max-width"]}"
115
+ >
116
+ <div class="heading-1">Titolo della pagina</div>
117
+ <div class="body-1">${DEMO_LONG_TEXT}</div>
136
118
  </div>
137
119
  `,
138
120
  };
139
121
  /**
140
- * To use the inline variant set the `sticky` property to `false`.
122
+ * To have an inline notification keep the `sticky` property set to `false`.
141
123
  */
142
- export const InlineVariant = {
143
- args: {
144
- notificationText: "Questo è il testo della notifica",
145
- },
124
+ export const Inline = {
146
125
  parameters: {
147
126
  controls: {
148
127
  exclude: ["sticky"],
@@ -151,17 +130,17 @@ export const InlineVariant = {
151
130
  render: (args) => html `
152
131
  <div class="inline-notification-demo">
153
132
  <z-notification
154
- contenticonname=${args.contenticonname}
155
- actiontext=${args.actiontext}
156
- type=${args.type}
157
- showclose=${args.showclose}
158
- sticky="false"
133
+ .contenticonname=${args.contenticonname}
134
+ .actiontext=${args.actiontext}
135
+ .type=${args.type}
136
+ .showclose=${args.showclose}
137
+ .sticky="false"
159
138
  style="--z-notification--content-max-width: ${args["--z-notification--content-max-width"]}"
160
139
  >
161
- ${args.notificationText}
140
+ Questo è il testo della notifica
162
141
  </z-notification>
163
142
  <div class="content">
164
- <h2 class="heading-1">Titolo della scheda</h2>
143
+ <div class="heading-1">Titolo della scheda</div>
165
144
  <div class="body-1">
166
145
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent rhoncus magna imperdiet malesuada interdum.
167
146
  Curabitur volutpat mi purus, in maximus nisl volutpat quis. Suspendisse sed vestibulum magna.
@@ -170,3 +149,26 @@ export const InlineVariant = {
170
149
  </div>
171
150
  `,
172
151
  };
152
+ /**
153
+ * The position of the border can be changed to correctly display the notification when put on the bottom of the screen.
154
+ */
155
+ export const BorderPosition = {
156
+ args: {
157
+ borderposition: "top",
158
+ },
159
+ render: (args) => html `
160
+ <div class="z-notification-border-position-demo">
161
+ <z-notification
162
+ .contenticonname=${args.contenticonname}
163
+ .actiontext=${args.actiontext}
164
+ .type=${args.type}
165
+ .showclose=${args.showclose}
166
+ .sticky=${args.sticky}
167
+ .borderposition=${args.borderposition}
168
+ style="--z-notification--content-max-width: ${args["--z-notification--content-max-width"]}"
169
+ >
170
+ <div class="notification-container"><strong>NOVITÀ</strong>: Testo che descrive le novità.</div>
171
+ </z-notification>
172
+ </div>
173
+ `,
174
+ };
@@ -1,6 +1,7 @@
1
1
  :host {
2
2
  --z-notification--top-offset: 0;
3
3
  --z-notification--content-max-width: 100%;
4
+ --z-notification--inline-padding: ;
4
5
 
5
6
  display: block;
6
7
  width: 100%;
@@ -10,7 +11,7 @@
10
11
  display: flex;
11
12
  max-width: var(--z-notification--content-max-width);
12
13
  align-items: flex-start;
13
- padding: calc(var(--space-unit) * 2);
14
+ padding: calc(var(--space-unit) * 2) var(--z-notification--inline-padding, calc(var(--space-unit) * 2));
14
15
  margin: 0 auto;
15
16
  background-color: transparent;
16
17
  font-family: var(--font-family-sans);
@@ -90,11 +91,12 @@ button {
90
91
  }
91
92
 
92
93
  .content-text {
94
+ width: 100%;
93
95
  color: var(--color-default-text);
94
96
  font-size: var(--font-size-2);
95
97
  font-weight: var(--font-rg);
96
98
  letter-spacing: 0.16px;
97
- line-height: 20px;
99
+ line-height: 1.4;
98
100
  }
99
101
 
100
102
  .action-button {
@@ -102,12 +104,12 @@ button {
102
104
  font-size: var(--font-size-1);
103
105
  font-weight: var(--font-sb);
104
106
  letter-spacing: 0.32px;
105
- line-height: 16px;
107
+ line-height: 1.333;
108
+ outline: none;
106
109
  }
107
110
 
108
- .action-button:focus {
111
+ .action-button:focus-visible {
109
112
  box-shadow: var(--shadow-focus-primary);
110
- outline: none !important;
111
113
  }
112
114
 
113
115
  .content-container + .close-button {
@@ -119,7 +121,7 @@ button {
119
121
  }
120
122
 
121
123
  /* Tablet breakpoint */
122
- @media only screen and (min-width: 768px) {
124
+ @media (min-width: 768px) {
123
125
  .content-container {
124
126
  flex-wrap: nowrap;
125
127
  }
@@ -178,10 +178,10 @@ export class ZPagination {
178
178
  ];
179
179
  }
180
180
  renderBackButton() {
181
- return (h("button", { class: "navigation-button", type: "button", title: "Vai alla pagina precedente", disabled: this.currentPage === 1, onClick: () => this.selectPage(this.currentPage - 1) }, h("z-icon", { name: "chevron-left" })));
181
+ return (h("button", { class: "navigation-button", type: "button", "aria-label": "Vai alla pagina precedente", title: "Vai alla pagina precedente", disabled: this.currentPage === 1, onClick: () => this.selectPage(this.currentPage - 1) }, h("z-icon", { name: "chevron-left" })));
182
182
  }
183
183
  renderForwardButton() {
184
- return (h("button", { class: "navigation-button", type: "button", title: "Vai alla prossima pagina", disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.currentPage + 1) }, h("z-icon", { name: "chevron-right" })));
184
+ return (h("button", { class: "navigation-button", type: "button", "aria-label": "Vai alla prossima pagina", title: "Vai alla prossima pagina", disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.currentPage + 1) }, h("z-icon", { name: "chevron-right" })));
185
185
  }
186
186
  renderMobile() {
187
187
  const pagesChunks = this.getPagesChunks();