@zanichelli/albe-web-components 19.2.2 → 19.2.3

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 (253) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/web-components-library.cjs.js +1 -1
  4. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/z-app-header_12.cjs.entry.js +4 -4
  6. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  7. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  9. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  10. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  11. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  12. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  13. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  14. package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
  15. package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
  16. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  17. package/dist/cjs/z-notification.cjs.entry.js +3 -2
  18. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  19. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  20. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  21. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  22. package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
  23. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  24. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  25. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  26. package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
  27. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  28. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  29. package/dist/cjs/z-tool.cjs.entry.js +2 -2
  30. package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
  31. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  32. package/dist/collection/components/z-input/styles.css +5 -3
  33. package/dist/collection/components/z-notification/index.js +21 -1
  34. package/dist/collection/components/z-notification/index.js.map +1 -1
  35. package/dist/collection/components/z-notification/index.stories.js +31 -5
  36. package/dist/collection/components/z-notification/index.stories.js.map +1 -1
  37. package/dist/collection/components/z-notification/styles.css +18 -7
  38. package/dist/collection/components/z-offcanvas/index.js +2 -2
  39. package/dist/collection/components/z-panel-elem/index.js +2 -2
  40. package/dist/collection/components/z-popover/index.js +1 -1
  41. package/dist/collection/components/z-searchbar/index.js +1 -1
  42. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  43. package/dist/collection/components/z-stepper/index.js +1 -1
  44. package/dist/collection/components/z-stepper-item/index.js +1 -1
  45. package/dist/collection/components/z-toast-notification/index.js +3 -3
  46. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  47. package/dist/collection/components/z-toggle-button/index.js +2 -2
  48. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  49. package/dist/collection/components/z-tool/index.js +2 -2
  50. package/dist/collection/components/z-toolbar/index.js +1 -1
  51. package/dist/collection/components/z-tooltip/index.js +1 -1
  52. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  53. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  54. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  55. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  56. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  57. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  58. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  59. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  60. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  61. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  62. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  63. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  64. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  65. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  66. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  67. package/dist/components/index12.js +1 -1
  68. package/dist/components/index12.js.map +1 -1
  69. package/dist/components/index18.js +1 -1
  70. package/dist/components/index19.js +1 -1
  71. package/dist/components/index20.js +1 -1
  72. package/dist/components/index21.js +1 -1
  73. package/dist/components/index22.js +1 -1
  74. package/dist/components/index23.js +2 -2
  75. package/dist/components/index24.js +1 -1
  76. package/dist/components/index25.js +1 -1
  77. package/dist/components/index27.js +1 -1
  78. package/dist/components/index3.js +1 -1
  79. package/dist/components/z-myz-card-alert.js +1 -1
  80. package/dist/components/z-myz-card-dictionary.js +1 -1
  81. package/dist/components/z-myz-card-footer-sections.js +1 -1
  82. package/dist/components/z-myz-card-footer.js +1 -1
  83. package/dist/components/z-myz-card-icon.js +1 -1
  84. package/dist/components/z-myz-card-info.js +1 -1
  85. package/dist/components/z-myz-card-list.js +1 -1
  86. package/dist/components/z-myz-list.js +1 -1
  87. package/dist/components/z-notification.js +5 -3
  88. package/dist/components/z-notification.js.map +1 -1
  89. package/dist/components/z-otp.js +2 -2
  90. package/dist/components/z-panel-elem.js +2 -2
  91. package/dist/components/z-skip-to-content.js +1 -1
  92. package/dist/components/z-stepper-item.js +1 -1
  93. package/dist/components/z-stepper.js +1 -1
  94. package/dist/components/z-toast-notification-list.js +1 -1
  95. package/dist/components/z-toast-notification.js +3 -3
  96. package/dist/components/z-toggle-button.js +2 -2
  97. package/dist/components/z-toggle-switch.js +3 -3
  98. package/dist/components/z-tool.js +2 -2
  99. package/dist/components/z-toolbar.js +1 -1
  100. package/dist/esm/loader.js +1 -1
  101. package/dist/esm/web-components-library.js +1 -1
  102. package/dist/esm/z-alert.entry.js +1 -1
  103. package/dist/esm/z-app-header_12.entry.js +4 -4
  104. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  105. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  106. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  107. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  108. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  109. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  110. package/dist/esm/z-myz-card-info.entry.js +1 -1
  111. package/dist/esm/z-myz-card-list.entry.js +1 -1
  112. package/dist/esm/z-myz-card_4.entry.js +4 -4
  113. package/dist/esm/z-myz-list-item.entry.js +1 -1
  114. package/dist/esm/z-myz-list.entry.js +1 -1
  115. package/dist/esm/z-notification.entry.js +3 -2
  116. package/dist/esm/z-notification.entry.js.map +1 -1
  117. package/dist/esm/z-otp.entry.js +2 -2
  118. package/dist/esm/z-panel-elem.entry.js +2 -2
  119. package/dist/esm/z-popover.entry.js +1 -1
  120. package/dist/esm/z-skip-to-content.entry.js +1 -1
  121. package/dist/esm/z-stepper-item.entry.js +1 -1
  122. package/dist/esm/z-stepper.entry.js +1 -1
  123. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  124. package/dist/esm/z-toast-notification.entry.js +3 -3
  125. package/dist/esm/z-toggle-button.entry.js +2 -2
  126. package/dist/esm/z-toggle-switch.entry.js +3 -3
  127. package/dist/esm/z-tool.entry.js +2 -2
  128. package/dist/esm/z-toolbar.entry.js +1 -1
  129. package/dist/esm/z-tooltip.entry.js +1 -1
  130. package/dist/types/components/z-notification/index.d.ts +3 -0
  131. package/dist/types/components/z-notification/index.stories.d.ts +12 -1
  132. package/dist/types/components.d.ts +12 -0
  133. package/dist/web-components-library/{p-b7ec2cc4.entry.js → p-08b16bb4.entry.js} +2 -2
  134. package/dist/web-components-library/{p-43adca09.entry.js → p-0b9fc73c.entry.js} +2 -2
  135. package/dist/web-components-library/{p-f662e7ff.entry.js → p-146a4d4b.entry.js} +2 -2
  136. package/dist/web-components-library/{p-0aed3ddc.entry.js → p-2bb84080.entry.js} +2 -2
  137. package/dist/web-components-library/{p-5989465b.entry.js → p-36b84a8e.entry.js} +2 -2
  138. package/dist/web-components-library/p-463e0ac0.entry.js +2 -0
  139. package/{www/build/p-05be939d.entry.js.map → dist/web-components-library/p-463e0ac0.entry.js.map} +1 -1
  140. package/dist/web-components-library/{p-b391211f.entry.js → p-5372d49f.entry.js} +2 -2
  141. package/dist/web-components-library/{p-869295ce.entry.js → p-5b577b6f.entry.js} +2 -2
  142. package/dist/web-components-library/p-5fde1b41.entry.js +2 -0
  143. package/dist/web-components-library/{p-c811b0cf.entry.js → p-64d5fdd8.entry.js} +2 -2
  144. package/dist/web-components-library/{p-fbce9614.entry.js → p-662119bb.entry.js} +2 -2
  145. package/dist/web-components-library/{p-f2c2ad04.entry.js → p-68278c42.entry.js} +2 -2
  146. package/dist/web-components-library/{p-6d15da6f.entry.js → p-78af415b.entry.js} +2 -2
  147. package/{www/build/p-0643d684.entry.js → dist/web-components-library/p-7ade2a71.entry.js} +2 -2
  148. package/dist/web-components-library/p-80b04954.entry.js +2 -0
  149. package/{www/build/p-35d73edf.entry.js → dist/web-components-library/p-8ee2a9d2.entry.js} +2 -2
  150. package/dist/web-components-library/{p-4504375f.entry.js → p-8ff5b76b.entry.js} +2 -2
  151. package/dist/web-components-library/{p-accbc381.entry.js → p-93bb075f.entry.js} +2 -2
  152. package/dist/web-components-library/{p-b54d923e.entry.js → p-a6c07588.entry.js} +2 -2
  153. package/dist/web-components-library/{p-b7056859.entry.js → p-bbc20250.entry.js} +2 -2
  154. package/dist/web-components-library/{p-1b972597.entry.js → p-bd2156cc.entry.js} +2 -2
  155. package/dist/web-components-library/p-be1c414e.entry.js +2 -0
  156. package/dist/web-components-library/p-be1c414e.entry.js.map +1 -0
  157. package/dist/web-components-library/{p-8988eee3.entry.js → p-caced575.entry.js} +2 -2
  158. package/dist/web-components-library/{p-30a78a06.entry.js → p-d080b624.entry.js} +2 -2
  159. package/dist/web-components-library/{p-76d1d0e4.entry.js → p-d6f43903.entry.js} +2 -2
  160. package/dist/web-components-library/{p-e8eacbeb.entry.js → p-f74973b5.entry.js} +3 -3
  161. package/dist/web-components-library/web-components-library.esm.js +1 -1
  162. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  163. package/package.json +1 -1
  164. package/www/build/{p-b7ec2cc4.entry.js → p-08b16bb4.entry.js} +2 -2
  165. package/www/build/{p-43adca09.entry.js → p-0b9fc73c.entry.js} +2 -2
  166. package/www/build/{p-f662e7ff.entry.js → p-146a4d4b.entry.js} +2 -2
  167. package/www/build/{p-0aed3ddc.entry.js → p-2bb84080.entry.js} +2 -2
  168. package/www/build/{p-5989465b.entry.js → p-36b84a8e.entry.js} +2 -2
  169. package/www/build/p-463e0ac0.entry.js +2 -0
  170. package/{dist/web-components-library/p-05be939d.entry.js.map → www/build/p-463e0ac0.entry.js.map} +1 -1
  171. package/www/build/{p-b391211f.entry.js → p-5372d49f.entry.js} +2 -2
  172. package/www/build/{p-869295ce.entry.js → p-5b577b6f.entry.js} +2 -2
  173. package/www/build/p-5fde1b41.entry.js +2 -0
  174. package/www/build/{p-c811b0cf.entry.js → p-64d5fdd8.entry.js} +2 -2
  175. package/www/build/{p-fbce9614.entry.js → p-662119bb.entry.js} +2 -2
  176. package/www/build/{p-f2c2ad04.entry.js → p-68278c42.entry.js} +2 -2
  177. package/www/build/{p-6d15da6f.entry.js → p-78af415b.entry.js} +2 -2
  178. package/{dist/web-components-library/p-0643d684.entry.js → www/build/p-7ade2a71.entry.js} +2 -2
  179. package/www/build/p-80b04954.entry.js +2 -0
  180. package/{dist/web-components-library/p-35d73edf.entry.js → www/build/p-8ee2a9d2.entry.js} +2 -2
  181. package/www/build/{p-4504375f.entry.js → p-8ff5b76b.entry.js} +2 -2
  182. package/www/build/{p-accbc381.entry.js → p-93bb075f.entry.js} +2 -2
  183. package/www/build/{p-b54d923e.entry.js → p-a6c07588.entry.js} +2 -2
  184. package/www/build/{p-b7056859.entry.js → p-bbc20250.entry.js} +2 -2
  185. package/www/build/{p-1b972597.entry.js → p-bd2156cc.entry.js} +2 -2
  186. package/www/build/p-be1c414e.entry.js +2 -0
  187. package/www/build/p-be1c414e.entry.js.map +1 -0
  188. package/www/build/{p-8988eee3.entry.js → p-caced575.entry.js} +2 -2
  189. package/www/build/{p-30a78a06.entry.js → p-d080b624.entry.js} +2 -2
  190. package/www/build/{p-4b38182a.js → p-d3d3edf1.js} +1 -1
  191. package/www/build/{p-76d1d0e4.entry.js → p-d6f43903.entry.js} +2 -2
  192. package/www/build/{p-e8eacbeb.entry.js → p-f74973b5.entry.js} +3 -3
  193. package/www/build/web-components-library.esm.js +1 -1
  194. package/www/build/web-components-library.esm.js.map +1 -1
  195. package/www/index.html +1 -1
  196. package/dist/web-components-library/p-05be939d.entry.js +0 -2
  197. package/dist/web-components-library/p-b71a3f69.entry.js +0 -2
  198. package/dist/web-components-library/p-c89e1f4b.entry.js +0 -2
  199. package/dist/web-components-library/p-c89e1f4b.entry.js.map +0 -1
  200. package/dist/web-components-library/p-f92e0c29.entry.js +0 -2
  201. package/www/build/p-05be939d.entry.js +0 -2
  202. package/www/build/p-b71a3f69.entry.js +0 -2
  203. package/www/build/p-c89e1f4b.entry.js +0 -2
  204. package/www/build/p-c89e1f4b.entry.js.map +0 -1
  205. package/www/build/p-f92e0c29.entry.js +0 -2
  206. /package/dist/web-components-library/{p-b7ec2cc4.entry.js.map → p-08b16bb4.entry.js.map} +0 -0
  207. /package/dist/web-components-library/{p-43adca09.entry.js.map → p-0b9fc73c.entry.js.map} +0 -0
  208. /package/dist/web-components-library/{p-f662e7ff.entry.js.map → p-146a4d4b.entry.js.map} +0 -0
  209. /package/dist/web-components-library/{p-0aed3ddc.entry.js.map → p-2bb84080.entry.js.map} +0 -0
  210. /package/dist/web-components-library/{p-5989465b.entry.js.map → p-36b84a8e.entry.js.map} +0 -0
  211. /package/dist/web-components-library/{p-b391211f.entry.js.map → p-5372d49f.entry.js.map} +0 -0
  212. /package/dist/web-components-library/{p-869295ce.entry.js.map → p-5b577b6f.entry.js.map} +0 -0
  213. /package/dist/web-components-library/{p-f92e0c29.entry.js.map → p-5fde1b41.entry.js.map} +0 -0
  214. /package/dist/web-components-library/{p-c811b0cf.entry.js.map → p-64d5fdd8.entry.js.map} +0 -0
  215. /package/dist/web-components-library/{p-fbce9614.entry.js.map → p-662119bb.entry.js.map} +0 -0
  216. /package/dist/web-components-library/{p-f2c2ad04.entry.js.map → p-68278c42.entry.js.map} +0 -0
  217. /package/dist/web-components-library/{p-6d15da6f.entry.js.map → p-78af415b.entry.js.map} +0 -0
  218. /package/dist/web-components-library/{p-0643d684.entry.js.map → p-7ade2a71.entry.js.map} +0 -0
  219. /package/dist/web-components-library/{p-b71a3f69.entry.js.map → p-80b04954.entry.js.map} +0 -0
  220. /package/dist/web-components-library/{p-35d73edf.entry.js.map → p-8ee2a9d2.entry.js.map} +0 -0
  221. /package/dist/web-components-library/{p-4504375f.entry.js.map → p-8ff5b76b.entry.js.map} +0 -0
  222. /package/dist/web-components-library/{p-accbc381.entry.js.map → p-93bb075f.entry.js.map} +0 -0
  223. /package/dist/web-components-library/{p-b54d923e.entry.js.map → p-a6c07588.entry.js.map} +0 -0
  224. /package/dist/web-components-library/{p-b7056859.entry.js.map → p-bbc20250.entry.js.map} +0 -0
  225. /package/dist/web-components-library/{p-1b972597.entry.js.map → p-bd2156cc.entry.js.map} +0 -0
  226. /package/dist/web-components-library/{p-8988eee3.entry.js.map → p-caced575.entry.js.map} +0 -0
  227. /package/dist/web-components-library/{p-30a78a06.entry.js.map → p-d080b624.entry.js.map} +0 -0
  228. /package/dist/web-components-library/{p-76d1d0e4.entry.js.map → p-d6f43903.entry.js.map} +0 -0
  229. /package/dist/web-components-library/{p-e8eacbeb.entry.js.map → p-f74973b5.entry.js.map} +0 -0
  230. /package/www/build/{p-b7ec2cc4.entry.js.map → p-08b16bb4.entry.js.map} +0 -0
  231. /package/www/build/{p-43adca09.entry.js.map → p-0b9fc73c.entry.js.map} +0 -0
  232. /package/www/build/{p-f662e7ff.entry.js.map → p-146a4d4b.entry.js.map} +0 -0
  233. /package/www/build/{p-0aed3ddc.entry.js.map → p-2bb84080.entry.js.map} +0 -0
  234. /package/www/build/{p-5989465b.entry.js.map → p-36b84a8e.entry.js.map} +0 -0
  235. /package/www/build/{p-b391211f.entry.js.map → p-5372d49f.entry.js.map} +0 -0
  236. /package/www/build/{p-869295ce.entry.js.map → p-5b577b6f.entry.js.map} +0 -0
  237. /package/www/build/{p-f92e0c29.entry.js.map → p-5fde1b41.entry.js.map} +0 -0
  238. /package/www/build/{p-c811b0cf.entry.js.map → p-64d5fdd8.entry.js.map} +0 -0
  239. /package/www/build/{p-fbce9614.entry.js.map → p-662119bb.entry.js.map} +0 -0
  240. /package/www/build/{p-f2c2ad04.entry.js.map → p-68278c42.entry.js.map} +0 -0
  241. /package/www/build/{p-6d15da6f.entry.js.map → p-78af415b.entry.js.map} +0 -0
  242. /package/www/build/{p-0643d684.entry.js.map → p-7ade2a71.entry.js.map} +0 -0
  243. /package/www/build/{p-b71a3f69.entry.js.map → p-80b04954.entry.js.map} +0 -0
  244. /package/www/build/{p-35d73edf.entry.js.map → p-8ee2a9d2.entry.js.map} +0 -0
  245. /package/www/build/{p-4504375f.entry.js.map → p-8ff5b76b.entry.js.map} +0 -0
  246. /package/www/build/{p-accbc381.entry.js.map → p-93bb075f.entry.js.map} +0 -0
  247. /package/www/build/{p-b54d923e.entry.js.map → p-a6c07588.entry.js.map} +0 -0
  248. /package/www/build/{p-b7056859.entry.js.map → p-bbc20250.entry.js.map} +0 -0
  249. /package/www/build/{p-1b972597.entry.js.map → p-bd2156cc.entry.js.map} +0 -0
  250. /package/www/build/{p-8988eee3.entry.js.map → p-caced575.entry.js.map} +0 -0
  251. /package/www/build/{p-30a78a06.entry.js.map → p-d080b624.entry.js.map} +0 -0
  252. /package/www/build/{p-76d1d0e4.entry.js.map → p-d6f43903.entry.js.map} +0 -0
  253. /package/www/build/{p-e8eacbeb.entry.js.map → p-f74973b5.entry.js.map} +0 -0
@@ -52,7 +52,7 @@ const ZMyzCardAlert = class {
52
52
  }
53
53
  }
54
54
  render() {
55
- return (h("div", { key: 'cfc5ba625b1f657d2717a2ac5aae0ad070ad4177', class: "alert-external-wrapper " + this.retrieveClass() }, h("z-alert", { key: 'c74a674717764ac11f4e71dcaa034ba950c0a1f8', type: this.getAlertType() }, h("div", { key: 'e289a588eee12751d10964bd9244251d0fef88b4', class: "relative-container" }, h("z-icon", { key: 'afe5a16bd61de53fdb2ac55e722c3d64ecf22bdf', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), h("span", { key: 'e7b11a13ba83bcd214b11e0e8bb89ef7976b356c', class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (h("span", { key: 'cb5e55bbfb7afdbd2a19b7b612b2412b1a35fa80', role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
55
+ return (h("div", { key: '4dde539d077258de85bceb9a99ce2245b5fb59b6', class: "alert-external-wrapper " + this.retrieveClass() }, h("z-alert", { key: '88285961e5ee72342253e3cbb8872df6bdb1d980', type: this.getAlertType() }, h("div", { key: 'fff86788515042337d0c03dd4fbf469d79a697a9', class: "relative-container" }, h("z-icon", { key: '1a70753172840860985935cf0a00ba7f7370fdc2', name: this.iconname, width: 18, height: 18, class: this.retrieveClass() }), h("span", { key: 'a17dd5f7e173b10a8aa76ab6f77bcb8bb75508ca', class: "content-text" }, this.contenttext), this.actiontext && !!this.actiontext.trim().length && (h("span", { key: '026a58d486e4d0b2bd7c150b9e05695f8c3c1f26', role: "button", tabindex: "0", class: "content-action", onClick: (e) => {
56
56
  this.handleActionButtonClick(e);
57
57
  }, onKeyPress: (e) => {
58
58
  this.handleSpaceKeyPress(e);
@@ -23,7 +23,7 @@ const ZMyzCardDictionary = class {
23
23
  this.cardFlipped.emit(showBack);
24
24
  }
25
25
  render() {
26
- return (h("div", { key: 'e6ec0b5054975547584bbee8759d987b72134d29' }, h("z-myz-card", { key: 'b074508d5e487ab311aab750a9595c65d0bb182f' }, h("z-myz-card-header", { key: 'eace632cf520eac6a109790acb47d08f03f7f88c', titolo: this.name }), h("div", { key: '9fc66378a96351d6251e0d700c3f93046343cb64', class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { key: '9a90a3b496bdb8dbbe53820536f41f91aca5fe8f', class: "front" }, h("z-myz-card-body", { key: 'b1a8aee7f1b172fb8070e06b5d929c9c726c870e' }, h("z-myz-card-cover", { key: '8e51755d66e3d0b1081f34cfbbcff860b325ac52', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { key: '9ebd9fcb0bf970b3ae9250048809a5427d7f7586', class: { "hide-info": this.hideinfobtn }, variant: ButtonVariant.SECONDARY, icon: "informationsource", size: ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), h("div", { key: '03cc1ad4636d1cf4d36ef062f9f66d07a2960d38', class: "back" }, h("slot", { key: '2b766a05250d41a648cb07e072707a16fa45c484', name: "info" }))), h("slot", { key: '288e7018302b221aa6244b01fc5f4b8140297078' }))));
26
+ return (h("div", { key: '6b1346d29ca8d1c94dc5c3dd604315aedfa89e53' }, h("z-myz-card", { key: 'b55d663bd25dcf5907b2b568a8a7143b11dc34a6' }, h("z-myz-card-header", { key: '092cebee4734c33f36e6106d0df767f66ee53b72', titolo: this.name }), h("div", { key: 'd6e76b7417c31c4d4f130c70a97abc7dcbc5e35e', class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { key: 'efa43a9507b952db1e1be06aa92ebc0663944031', class: "front" }, h("z-myz-card-body", { key: '3285eb249c09247fee8a05605c15bbd41a08c40a' }, h("z-myz-card-cover", { key: '6cf9e64d190cb385af2e53ddd86a0468e962c7f7', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { key: 'b8a4b8181709eb7e794c0a5c66ddee3423db4571', class: { "hide-info": this.hideinfobtn }, variant: ButtonVariant.SECONDARY, icon: "informationsource", size: ButtonSize.X_SMALL, onClick: () => this.flipCard(true), disabled: this.flipped }, this.flipbuttonlabel)), h("div", { key: '3e728ca532b6eca130e888a6fceb6d8da630dd0a', class: "back" }, h("slot", { key: '173a377df9c1df6891ea4a724760b964ac00e410', name: "info" }))), h("slot", { key: '608d82ab5d4d322124f30b767be53280912f23f3' }))));
27
27
  }
28
28
  };
29
29
  ZMyzCardDictionary.style = ZMyzCardDictionaryStyle0;
@@ -8,7 +8,7 @@ const ZMyzCardFooterSections = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '77fe7b02b4f0d995fffd93907c4e1f6fcab7cf42' }, h("footer", { key: 'cdd0a1cb8a5484ae646233d0122604b29f1a6ca4' }, h("div", { key: '91c4312af89e212ab4c74bdc1580b21ae2ef946c', class: "top" }, h("slot", { key: '6a8ac121b135b904892e87c1b2cfa2021e1d0b96', name: "top" })), h("div", { key: '09544cbf8904f0ebfdfeeaf805d203d8a4025d76', class: "bottom" }, h("slot", { key: '7357332d8b3992a67c466aa9f65b5f9a18d5e69a', name: "bottom" })))));
11
+ return (h("div", { key: 'a46083ba1265bd19e0b0d04e6314e43691222cde' }, h("footer", { key: 'd57858f24d1ecb5a0d9b4e2856a00641b5766f78' }, h("div", { key: 'd1cda03a27089e0c66ec4568bd4a044250d5aabf', class: "top" }, h("slot", { key: '96db1d35ba09c57dff19c381a4c86b7fbc3759a3', name: "top" })), h("div", { key: 'debf288a71d568c50f4e76d2abf8b1b4cdc25b1e', class: "bottom" }, h("slot", { key: '3464db01d4ec966cf1c13edb53e2a4e63eea59d2', name: "bottom" })))));
12
12
  }
13
13
  };
14
14
  ZMyzCardFooterSections.style = ZMyzCardFooterSectionsStyle0;
@@ -60,7 +60,7 @@ const ZMyzCardFooter = class {
60
60
  return this.host.querySelector("[slot=list] > li a");
61
61
  }
62
62
  render() {
63
- return (h("div", { key: '6e5881056e1db48d540e8ef21116bee2c196b8c4', class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { key: '243b4a819cba9325d9425d63a23fcee9f9876b3d', class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { key: 'cfc887864e6bf0c7fc8d08be05f0005a38aa869d', class: "toggle" }, h("slot", { key: 'a9e65157596b4a26eb19d5eee5a7b1a57d1feea4', name: "toggle" })), this.titolo && h("p", { key: '15b6bd8c19394d7bef24eb4e09720c0bb0a1685c', class: { "custom-content": this.customContent } }, this.titolo), h("div", { key: 'ebc158163ecd3b334daec7edb050b7e7b9f7df47', class: { "content": true, "custom-content": this.customContent } }, h("div", { key: '60590d4b3f2bcb949c21cde6a6d6a8a837a089a3' }, h("p", { key: '9b2f3b97f5de7f0760d623fc3761920aa3b1c845', class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { key: '807a82ffe180cec55e8d32124be8ca46eb572270', title: this.getTitleAuthors() }, h("span", { key: 'c9c790fcd14571bd4d15d991496b49392097990f', "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { key: 'ca97678f9bc18bea8777c1a2ae994a954cab4cf3', class: "year-isbn" }, h("span", { key: '232aab4aaf39be78ace0ece41ea4060a4e355f9a', class: "isbn" }, h("span", { key: '301da712b177444f57a889ed25112a3837a65d2a' }, h("span", { key: 'e825aa9877d17cc64db355a0ddefc0d36195eab9', "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { key: '91db300900421801d17073597173773e6df7f56d', class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { key: '88c704a8e47124becd3659dc9b2e23be2165cee3', name: "list" })))), this.customContent && h("slot", { key: '2f73c782577a5b7394a24af188229c6c6a750612', name: "content" })));
63
+ return (h("div", { key: 'b2c367deffbb414b14b26d4f9c6bc9da8164a350', class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { key: '4a5e9261262c078bbc6e36f6fe6188f914f3f892', class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { key: 'd89f1c82507f524997001e23a667e2d7613d3db4', class: "toggle" }, h("slot", { key: '746bc0ef6b6e3b67d53027033a3125b1a88b6dbc', name: "toggle" })), this.titolo && h("p", { key: '9ab5fe483ca565306d185b1ad3757389880303c7', class: { "custom-content": this.customContent } }, this.titolo), h("div", { key: '3f13c2950c5c6b7a0a6eb5dcef9f66c2b5333755', class: { "content": true, "custom-content": this.customContent } }, h("div", { key: '33bc4ee1df0442430b252e89f5a5683dd090676f' }, h("p", { key: 'f8a74c735f1bfcccc7e53aac0339ea9bc23d70d5', class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { key: 'e768282b621bd4918d02f79d7b6fb435328e2ff7', title: this.getTitleAuthors() }, h("span", { key: '51e3506af92802176f696db218326cbf1c4b276d', "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { key: 'ffee18d90a03c7828e2683c1c18cc7b07098208f', class: "year-isbn" }, h("span", { key: 'e95af54bc544e76269fcc9f120c184a1c7fcc768', class: "isbn" }, h("span", { key: '0a2e1414b5c770a43d1971d5df38a5533a9f7589' }, h("span", { key: '735f3054ea25c564632ddfb5b09849bb05f9ea6d', "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { key: '5f0cccd6077cadd792659c426d5eee35cb0528c1', class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { key: 'b147e0d5bd7a20bd562214e2a4274f1d2a7bd52b', name: "list" })))), this.customContent && h("slot", { key: '5ebdd6a9e733998f158f56718649d495cacb3c87', name: "content" })));
64
64
  }
65
65
  get host() { return getElement(this); }
66
66
  };
@@ -11,7 +11,7 @@ const ZMyzCardIcon = class {
11
11
  this.ariaLabel = "";
12
12
  }
13
13
  render() {
14
- return (h("button", { key: '6eeee51373c90e15a165b2511675c1df63974289', disabled: this.isdisabled, "aria-label": this.ariaLabel }, h("span", { key: '197d99ffec190c40dd72ab22176ac502cf410951' }, h("z-icon", { key: '9b5f1fae74c6cd7ee9a8d7f66e90bee09e5fa7e9', name: this.icon, width: 16, height: 16 }))));
14
+ return (h("button", { key: '6c7bbcbde5d35a54fafe344f2c1e4be78f8b2d29', disabled: this.isdisabled, "aria-label": this.ariaLabel }, h("span", { key: '81c38638c37f57c5e68e8d2db9f16db83752bc15' }, h("z-icon", { key: '8d1b8d34c61411f7079c4a492294fde70cd923e2', name: this.icon, width: 16, height: 16 }))));
15
15
  }
16
16
  };
17
17
  ZMyzCardIcon.style = ZMyzCardIconStyle0;
@@ -118,7 +118,7 @@ const ZMyzCardInfo = class {
118
118
  return (h("section", { ref: (el) => (this.offlineLicenseWrapper = el) }, h("span", { class: "license-heading" }, h("span", null, "Licenza offline"), this.setExpirationLicenseMessage("offline")), "Scadenza il ", h("b", null, this.cardData.offlineLicense.expiration), h("br", null), "Installazioni disponibili: ", h("b", null, this.cardData.offlineLicense.installations)));
119
119
  }
120
120
  render() {
121
- return (h("div", { key: 'e6ef5ad3c71c2b049d77bf7b58b4eed49aff7f07' }, this.renderCloseIcon(), h("div", { key: '3709fc8d09e49fa1e56c89a9fd3453c677b0837b', class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), h("div", { key: '06f65296b31493f7e948f7af4de260443bf45c4a', class: "cta-wrapper" }, h("slot", { key: '1cd54dc4feef61416039fbf9d43c6f9a6ed0be25' }))));
121
+ return (h("div", { key: '81d2f2e223da107bea1c15bb4df6640567a37990' }, this.renderCloseIcon(), h("div", { key: 'fed0c665a34ab4c264313d726b642a587e04bd61', class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), h("div", { key: '8978d9206d452b14843fadad6c8c6bacd976f77c', class: "cta-wrapper" }, h("slot", { key: '2d2431d4c8a8ed03c7428e77fc19a6556cd1cc35' }))));
122
122
  }
123
123
  };
124
124
  ZMyzCardInfo.style = ZMyzCardInfoStyle0;
@@ -28,7 +28,7 @@ const ZMyzCardList = class {
28
28
  });
29
29
  }
30
30
  render() {
31
- return h("ul", { key: '608a46eb635be05ab1bb225bb28354f0a5e4ca44' }, this.renderList(JSON.parse(this.listdata)));
31
+ return h("ul", { key: 'aa9fc5633a56ebb91f157bc65cb8cfb20cf1bacb' }, this.renderList(JSON.parse(this.listdata)));
32
32
  }
33
33
  };
34
34
  ZMyzCardList.style = ZMyzCardListStyle0;
@@ -35,7 +35,7 @@ const ZMyzCardComponent = class {
35
35
  return elemClasses;
36
36
  }
37
37
  render() {
38
- return (h("div", { key: 'fe9682514ff12467eff3a0f844690aaad51ac1e5', class: this.retrieveClass(), tabindex: "0" }, h("slot", { key: 'b38b157360d99c9f0fd6009343547877c51fd59a' })));
38
+ return (h("div", { key: 'f67975d8bf57387a4e4b0fc45df88e5b570c23e4', class: this.retrieveClass(), tabindex: "0" }, h("slot", { key: 'be9495f0b9a9c8270c22511d2afa68f940eae945' })));
39
39
  }
40
40
  };
41
41
  ZMyzCardComponent.style = ZMyzCardStyle0;
@@ -48,7 +48,7 @@ const ZMyzCardBody = class {
48
48
  registerInstance(this, hostRef);
49
49
  }
50
50
  render() {
51
- return (h("div", { key: 'ce8e2f29bbbe43340a86049182f38586e14b8e47' }, h("slot", { key: '2b3c1274ab1df4995039e7dfc82a06e10ac66be9', name: "alert" }), h("slot", { key: 'c92240268966ca58f7844e6a43693582152b59f5', name: "cover" })));
51
+ return (h("div", { key: 'f979e99bc3e8640e4c6ff7603d0bdba1bcd4f10f' }, h("slot", { key: 'e246c5398ab2e8d1917f3a42c1037c3caedee6fa', name: "alert" }), h("slot", { key: 'aa79cbf40366c68b839aa335b705ba4a8af20b7f', name: "cover" })));
52
52
  }
53
53
  };
54
54
  ZMyzCardBody.style = ZMyzCardBodyStyle0;
@@ -68,7 +68,7 @@ const ZMyzCardCover = class {
68
68
  this.img = this.defaultimg;
69
69
  }
70
70
  render() {
71
- return (h("img", { key: '9474ee5c6352f5f253b4d976ff88a4a9079ad176', class: this.faded && "faded", onError: this.hadleOnImageError.bind(this), alt: this.titolo, src: this.img }));
71
+ return (h("img", { key: 'ca8f2207563979810f396544be243792903af17c', class: this.faded && "faded", onError: this.hadleOnImageError.bind(this), alt: this.titolo, src: this.img }));
72
72
  }
73
73
  };
74
74
  ZMyzCardCover.style = ZMyzCardCoverStyle0;
@@ -104,7 +104,7 @@ const ZMyzCardHeader = class {
104
104
  };
105
105
  }
106
106
  render() {
107
- return (h("header", { key: 'f57af285c3ded847594f226cd57e29f47e96db29', class: this.retrieveClass() }, h("slot", { key: 'd4404802765f567dd4be757becef12bde5a0762c', name: "aria-heading" }), h("span", { key: '5906cbdb67aea281d0ccabe43711c7d2e34c0667', class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { key: '7f4dd40eb421872623556751133a9138a4381a98', name: "icon" })));
107
+ return (h("header", { key: '3a55d0bf3dfd589c1880526191ddbdd311ba6b86', class: this.retrieveClass() }, h("slot", { key: 'faedfbb21b4fd7f56bd08093e5347a4655797008', name: "aria-heading" }), h("span", { key: '53805e713dec6b891a878388d98f9f0749951f31', class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { key: '68479fd579921c6fd623fa92b27dafd24bc41d18', name: "icon" })));
108
108
  }
109
109
  };
110
110
  ZMyzCardHeader.style = ZMyzCardHeaderStyle0;
@@ -29,7 +29,7 @@ const ZMyzListItem = class {
29
29
  }
30
30
  render() {
31
31
  const linkId = this.listitemid ? `link_${this.listitemid}` : "";
32
- return (h("li", { key: 'b26b8dbeaf1a8f5beb9ce7c799bafc5dacc6d471', role: "button", id: this.listitemid, "data-action": this.action, onClick: (e) => this.emitZListItemClick(e, this.listitemid), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitZListItemClick, this.listitemid) }, h("span", { key: 'bd0de19c4f484bd249358e39df3ca4296e9eb360', class: this.underlined && "border" }, this.icon && h("z-icon", { key: '47edd1a371c2c4cbb34d07fb7120d6f96e51669e', name: this.icon }), this.link ? (h("a", { href: this.link ? this.link : null, target: this.linktarget, id: linkId, onClick: (e) => this.emitZListItemLinkClick(e, linkId), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitZListItemLinkClick, linkId), role: this.link ? "link" : "button", tabindex: "0" }, this.text)) : (h("span", { innerHTML: this.text })), h("slot", { key: '93a47ea9cf8cf341d9cacedbd13b34d8877d60fe' }))));
32
+ return (h("li", { key: 'e8054df30e0540b758ecac0133a03ba8c64762ea', role: "button", id: this.listitemid, "data-action": this.action, onClick: (e) => this.emitZListItemClick(e, this.listitemid), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitZListItemClick, this.listitemid) }, h("span", { key: 'e9fd1c5d30e270a4f1f5b6d309a2bcb40b023819', class: this.underlined && "border" }, this.icon && h("z-icon", { key: 'd714ad82aac6db611955e4c9669d272c44c5fbaf', name: this.icon }), this.link ? (h("a", { href: this.link ? this.link : null, target: this.linktarget, id: linkId, onClick: (e) => this.emitZListItemLinkClick(e, linkId), onKeyPress: (ev) => handleKeyboardSubmit(ev, this.emitZListItemLinkClick, linkId), role: this.link ? "link" : "button", tabindex: "0" }, this.text)) : (h("span", { innerHTML: this.text })), h("slot", { key: '77595259e1f32f42f1d36beb2dfaf216a115d887' }))));
33
33
  }
34
34
  };
35
35
  ZMyzListItem.style = ZMyzListItemStyle0;
@@ -22,7 +22,7 @@ const ZMyzList = class {
22
22
  }
23
23
  render() {
24
24
  const lastElem = this.list ? this.list.length - 1 : -1;
25
- return (h("ul", { key: '97237c224248c304a8c70ddb938beb0e416d246d' }, this.list &&
25
+ return (h("ul", { key: '94453803cc1c6b3d3b81e19f107c09abc395bbff' }, this.list &&
26
26
  this.list.map((bean, i) => (h("z-myz-list-item", { listitemid: bean.listitemid, text: bean.text, link: bean.link, linktarget: bean.linktarget, icon: bean.icon, underlined: lastElem != i })))));
27
27
  }
28
28
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, a as Host } from './index-c8ceadeb.js';
2
2
 
3
- const stylesCss = ":host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host([sticky]){position:sticky;top:var(--z-notification--top-offset)}:host([sticky]),:host([showshadow]){box-shadow:var(--shadow-3)}:host([type=\"success\"]){background:var(--color-inverse-success)}:host([type=\"warning\"]){background:var(--color-inverse-warning)}:host([type=\"error\"]){background:var(--color-inverse-error)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type=\"success\"]) .status-icon{fill:var(--color-default-success)}:host([type=\"warning\"]) .status-icon{fill:var(--color-default-warning)}:host([type=\"error\"]) .status-icon{fill:var(--color-default-error)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.action-button:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media only screen and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}";
3
+ const stylesCss = ":host{--z-notification--top-offset:0;--z-notification--content-max-width:100%;display:block;width:100%}.main-container{display:flex;max-width:var(--z-notification--content-max-width);align-items:flex-start;padding:calc(var(--space-unit) * 2);margin:0 auto;background-color:transparent;font-family:var(--font-family-sans)}:host([sticky]){position:sticky;top:var(--z-notification--top-offset)}:host([sticky]),:host([showshadow]){box-shadow:var(--shadow-3)}:host([type=\"success\"]){background:var(--color-inverse-success)}:host([type=\"warning\"]){background:var(--color-inverse-warning)}:host([type=\"error\"]){background:var(--color-inverse-error)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type=\"success\"]) .status-icon{fill:var(--color-default-success)}:host([type=\"warning\"]) .status-icon{fill:var(--color-default-warning)}:host([type=\"error\"]) .status-icon{fill:var(--color-default-error)}:host([borderposition=\"bottom\"]){border-bottom:var(--border-size-medium) solid var(--color-surface03)}:host([borderposition=\"top\"]){border-top:var(--border-size-medium) solid var(--color-surface03)}button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.action-button:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media only screen and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}";
4
4
  const ZNotificationStyle0 = stylesCss;
5
5
 
6
6
  const ZNotification = class {
@@ -22,12 +22,13 @@ const ZNotification = class {
22
22
  this.showclose = false;
23
23
  this.showshadow = false;
24
24
  this.sticky = false;
25
+ this.borderposition = "bottom";
25
26
  this.handleActionButtonClick = this.handleActionButtonClick.bind(this);
26
27
  this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);
27
28
  }
28
29
  render() {
29
30
  var _a;
30
- return (h(Host, { key: 'aac3e6385d2f77e80c9933e666770e3da17c21a5' }, this.contenticonname && (h("z-icon", { key: '1ba77acd6db4e01ac47ae605c4ab05a345999462', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: '9df24bcba7a1f49c803f339a0ac5ddafc08c03c9', class: "content-container" }, h("div", { key: 'bd1a76905a9c14fa77a1704a127a65a8ba9adab8', class: "content-text" }, h("slot", { key: 'b126d399950149b0d4cd94d3c2480678d7f91a97' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '63f56578ed42e720c20b57424c1d824729279e36', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '81ccf6858d6b559a23b1c9266d8af55e7bd3a2f2', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: '96c95d07ef561d4b900acefaef90e00d85dc3904', name: "multiply-circle", width: 16, height: 16 })))));
31
+ return (h(Host, { key: '7a717d8687d3e8e6de06c25192f9e2f14b6563c1' }, h("div", { key: 'eee4aa9a69678e7f353ead6ef4e805544e55426e', class: "main-container" }, this.contenticonname && (h("z-icon", { key: '8d582f822e1e4ad440c65002d9a4abb5e0294040', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: '2779b5f3d772ee729c67b1616523ccac1b4646f0', class: "content-container" }, h("div", { key: '1e622f63cc7d8523ab52561360a9de5e8829e976', class: "content-text" }, h("slot", { key: 'f0c65317530288e6ddeb9b604d21243858f25220' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '2cefcdb30e39df9dd2e80f4ddd41f9c887d3594e', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '1a4d7a77ae2b9d6f86cfab0c7b72c77daff9d3da', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: '33377e8438a076a2c3eee32ab9f513885e15fbcf', name: "multiply-circle", width: 16, height: 16 }))))));
31
32
  }
32
33
  };
33
34
  ZNotification.style = ZNotificationStyle0;
@@ -1 +1 @@
1
- {"file":"z-notification.entry.js","mappings":";;AAAA,MAAM,SAAS,GAAG,q0DAAq0D,CAAC;AACx1D,4BAAe,SAAS;;MCYX,aAAa;IAgChB,uBAAuB,CAAC,CAAa;QAC3C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAMO,sBAAsB,CAAC,CAAa;QAC1C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAED;;;;;;;yBA/BsB,KAAK;0BAOJ,KAAK;sBAIT,KAAK;QAqBtB,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvE,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACtE;IAED,MAAM;;QACJ,QACE,EAAC,IAAI,uDACF,IAAI,CAAC,eAAe,KACnB,+DACE,KAAK,EAAC,aAAa,EACnB,IAAI,EAAE,IAAI,CAAC,eAAe,EAC1B,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACH,EACD,4DAAK,KAAK,EAAC,mBAAmB,IAC5B,4DAAK,KAAK,EAAC,cAAc,IACvB,8DAAa,CACT,EACL,CAAC,EAAC,MAAA,IAAI,CAAC,UAAU,0CAAE,IAAI,EAAE,CAAA,KACxB,+DACE,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,uBAAuB,IAEpC,IAAI,CAAC,UAAU,CACT,CACV,CACG,EACL,IAAI,CAAC,SAAS,KACb,+DACE,KAAK,EAAC,cAAc,EACpB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,sBAAsB,IAEpC,+DACE,IAAI,EAAC,iBAAiB,EACtB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACV,CACI,EACP;KACH;;;;;;","names":[],"sources":["src/components/z-notification/styles.css?tag=z-notification&encapsulation=shadow","src/components/z-notification/index.tsx"],"sourcesContent":[":host {\n --z-notification--top-offset: 0;\n\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: flex-start;\n padding: calc(var(--space-unit) * 2);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n font-family: var(--font-family-sans);\n outline: none;\n}\n\n:host([sticky]) {\n position: sticky;\n top: var(--z-notification--top-offset);\n}\n\n:host([sticky]),\n:host([showshadow]) {\n box-shadow: var(--shadow-3);\n}\n\n:host([type=\"success\"]) {\n background: var(--color-inverse-success);\n}\n\n:host([type=\"warning\"]) {\n background: var(--color-inverse-warning);\n}\n\n:host([type=\"error\"]) {\n background: var(--color-inverse-error);\n}\n\n.status-icon,\n.close-button {\n /* simulate the line-height of the text\n to make the icon look correctly aligned with it. */\n display: flex;\n height: 20px;\n align-items: center;\n}\n\n:host([type=\"success\"]) .status-icon {\n fill: var(--color-default-success);\n}\n\n:host([type=\"warning\"]) .status-icon {\n fill: var(--color-default-warning);\n}\n\n:host([type=\"error\"]) .status-icon {\n fill: var(--color-default-error);\n}\n\n:host > button,\n.content-container > button {\n padding: 0;\n border: none;\n margin: 0;\n background: transparent;\n cursor: pointer;\n font-family: inherit;\n}\n\n.status-icon + .content-container {\n margin-left: var(--space-unit);\n}\n\n.content-container {\n display: flex;\n flex: 1 auto;\n flex-wrap: wrap;\n align-items: baseline;\n justify-content: space-between;\n row-gap: calc(var(--space-unit) * 2);\n}\n\n.content-text {\n max-width: 800px;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 20px;\n}\n\n.action-button {\n color: var(--color-primary01);\n font-size: var(--font-size-1);\n font-weight: var(--font-sb);\n letter-spacing: 0.32px;\n line-height: 16px;\n}\n\n.action-button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n.content-container + .close-button {\n margin-left: calc(var(--space-unit) * 2);\n}\n\n.close-button z-icon {\n fill: var(--color-primary01);\n}\n\n/* Tablet breakpoint */\n@media only screen and (min-width: 768px) {\n .content-container {\n flex-wrap: nowrap;\n }\n\n .content-text + .action-button {\n margin-left: calc(var(--space-unit) * 5);\n }\n}\n","import {Component, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {NotificationType} from \"../../beans\";\n\n/**\n * Notification bar component.\n * @slot - The text of the notification.\n * @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.\n */\n@Component({\n tag: \"z-notification\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZNotification {\n /** Name of the icon on the left of the content */\n @Prop()\n contenticonname?: string;\n\n /** Action button text */\n @Prop()\n actiontext?: string;\n\n /** Alert variant type */\n @Prop({reflect: true})\n type: NotificationType;\n\n /** Enable close icon */\n @Prop()\n showclose?: boolean = false;\n\n /**\n * Enable shadow.\n * @deprecated shadow is available only for the `sticky` version of the notification.\n */\n @Prop({reflect: true})\n showshadow?: boolean = false;\n\n /** Enable sticky notification bar. */\n @Prop({reflect: true})\n sticky?: boolean = false;\n\n /** Call to action clicked */\n @Event()\n notificationAction: EventEmitter;\n\n private handleActionButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationAction.emit();\n }\n\n /** Close button clicked */\n @Event()\n notificationClose: EventEmitter;\n\n private handleCloseButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationClose.emit();\n }\n\n constructor() {\n this.handleActionButtonClick = this.handleActionButtonClick.bind(this);\n this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);\n }\n\n render(): HTMLZNotificationElement {\n return (\n <Host>\n {this.contenticonname && (\n <z-icon\n class=\"status-icon\"\n name={this.contenticonname}\n width={16}\n height={16}\n />\n )}\n <div class=\"content-container\">\n <div class=\"content-text\">\n <slot></slot>\n </div>\n {!!this.actiontext?.trim() && (\n <button\n class=\"action-button\"\n type=\"button\"\n onClick={this.handleActionButtonClick}\n >\n {this.actiontext}\n </button>\n )}\n </div>\n {this.showclose && (\n <button\n class=\"close-button\"\n type=\"button\"\n onClick={this.handleCloseButtonClick}\n >\n <z-icon\n name=\"multiply-circle\"\n width={16}\n height={16}\n />\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"z-notification.entry.js","mappings":";;AAAA,MAAM,SAAS,GAAG,4hEAA4hE,CAAC;AAC/iE,4BAAe,SAAS;;MCaX,aAAa;IAoChB,uBAAuB,CAAC,CAAa;QAC3C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;KAChC;IAMO,sBAAsB,CAAC,CAAa;QAC1C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B;IAED;;;;;;;yBAnCsB,KAAK;0BAOJ,KAAK;sBAIT,KAAK;8BAIY,QAAQ;QAqB1C,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvE,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACtE;IAED,MAAM;;QACJ,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAC,gBAAgB,IACxB,IAAI,CAAC,eAAe,KACnB,+DACE,KAAK,EAAC,aAAa,EACnB,IAAI,EAAE,IAAI,CAAC,eAAe,EAC1B,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACH,EACD,4DAAK,KAAK,EAAC,mBAAmB,IAC5B,4DAAK,KAAK,EAAC,cAAc,IACvB,8DAAa,CACT,EACL,CAAC,EAAC,MAAA,IAAI,CAAC,UAAU,0CAAE,IAAI,EAAE,CAAA,KACxB,+DACE,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,uBAAuB,IAEpC,IAAI,CAAC,UAAU,CACT,CACV,CACG,EACL,IAAI,CAAC,SAAS,KACb,+DACE,KAAK,EAAC,cAAc,EACpB,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,sBAAsB,IAEpC,+DACE,IAAI,EAAC,iBAAiB,EACtB,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACV,CACG,CACD,EACP;KACH;;;;;;","names":[],"sources":["src/components/z-notification/styles.css?tag=z-notification&encapsulation=shadow","src/components/z-notification/index.tsx"],"sourcesContent":[":host {\n --z-notification--top-offset: 0;\n --z-notification--content-max-width: 100%;\n\n display: block;\n width: 100%;\n}\n\n.main-container {\n display: flex;\n max-width: var(--z-notification--content-max-width);\n align-items: flex-start;\n padding: calc(var(--space-unit) * 2);\n margin: 0 auto;\n background-color: transparent;\n font-family: var(--font-family-sans);\n}\n\n:host([sticky]) {\n position: sticky;\n top: var(--z-notification--top-offset);\n}\n\n:host([sticky]),\n:host([showshadow]) {\n box-shadow: var(--shadow-3);\n}\n\n:host([type=\"success\"]) {\n background: var(--color-inverse-success);\n}\n\n:host([type=\"warning\"]) {\n background: var(--color-inverse-warning);\n}\n\n:host([type=\"error\"]) {\n background: var(--color-inverse-error);\n}\n\n.status-icon,\n.close-button {\n /* simulate the line-height of the text\n to make the icon look correctly aligned with it. */\n display: flex;\n height: 20px;\n align-items: center;\n}\n\n:host([type=\"success\"]) .status-icon {\n fill: var(--color-default-success);\n}\n\n:host([type=\"warning\"]) .status-icon {\n fill: var(--color-default-warning);\n}\n\n:host([type=\"error\"]) .status-icon {\n fill: var(--color-default-error);\n}\n\n:host([borderposition=\"bottom\"]) {\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n}\n\n:host([borderposition=\"top\"]) {\n border-top: var(--border-size-medium) solid var(--color-surface03);\n}\n\nbutton {\n padding: 0;\n border: none;\n margin: 0;\n background: transparent;\n cursor: pointer;\n font-family: inherit;\n}\n\n.status-icon + .content-container {\n margin-left: var(--space-unit);\n}\n\n.content-container {\n display: flex;\n flex: 1 auto;\n flex-wrap: wrap;\n align-items: baseline;\n justify-content: space-between;\n row-gap: calc(var(--space-unit) * 2);\n}\n\n.content-text {\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 20px;\n}\n\n.action-button {\n color: var(--color-primary01);\n font-size: var(--font-size-1);\n font-weight: var(--font-sb);\n letter-spacing: 0.32px;\n line-height: 16px;\n}\n\n.action-button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n.content-container + .close-button {\n margin-left: calc(var(--space-unit) * 2);\n}\n\n.close-button z-icon {\n fill: var(--color-primary01);\n}\n\n/* Tablet breakpoint */\n@media only screen and (min-width: 768px) {\n .content-container {\n flex-wrap: nowrap;\n }\n\n .content-text + .action-button {\n margin-left: calc(var(--space-unit) * 5);\n }\n}\n","import {Component, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {NotificationType} from \"../../beans\";\n\n/**\n * Notification bar component.\n * @slot - The text of the notification.\n * @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.\n * @cssprop --z-notification--content-max-width - The max width of the notification content.\n */\n@Component({\n tag: \"z-notification\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZNotification {\n /** Name of the icon on the left of the content */\n @Prop()\n contenticonname?: string;\n\n /** Action button text */\n @Prop()\n actiontext?: string;\n\n /** Alert variant type */\n @Prop({reflect: true})\n type: NotificationType;\n\n /** Enable close icon */\n @Prop()\n showclose?: boolean = false;\n\n /**\n * Enable shadow.\n * @deprecated shadow is available only for the `sticky` version of the notification.\n */\n @Prop({reflect: true})\n showshadow?: boolean = false;\n\n /** Enable sticky notification bar. */\n @Prop({reflect: true})\n sticky?: boolean = false;\n\n /** Border position */\n @Prop({reflect: true})\n borderposition?: \"top\" | \"bottom\" = \"bottom\";\n\n /** Call to action clicked */\n @Event()\n notificationAction: EventEmitter;\n\n private handleActionButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationAction.emit();\n }\n\n /** Close button clicked */\n @Event()\n notificationClose: EventEmitter;\n\n private handleCloseButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationClose.emit();\n }\n\n constructor() {\n this.handleActionButtonClick = this.handleActionButtonClick.bind(this);\n this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);\n }\n\n render(): HTMLZNotificationElement {\n return (\n <Host>\n <div class=\"main-container\">\n {this.contenticonname && (\n <z-icon\n class=\"status-icon\"\n name={this.contenticonname}\n width={16}\n height={16}\n />\n )}\n <div class=\"content-container\">\n <div class=\"content-text\">\n <slot></slot>\n </div>\n {!!this.actiontext?.trim() && (\n <button\n class=\"action-button\"\n type=\"button\"\n onClick={this.handleActionButtonClick}\n >\n {this.actiontext}\n </button>\n )}\n </div>\n {this.showclose && (\n <button\n class=\"close-button\"\n type=\"button\"\n onClick={this.handleCloseButtonClick}\n >\n <z-icon\n name=\"multiply-circle\"\n width={16}\n height={16}\n />\n </button>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -20,7 +20,7 @@ const ZOtp = class {
20
20
  this.otpRef = [...Array(this.inputNum)];
21
21
  }
22
22
  render() {
23
- return (h("div", { key: '9814a8c35149033a7ce7091ff7d9807cd400f50a', class: "otp-container" }, h("div", { key: 'f85cbf0862d6b50da4a015e8ca6651b56ba96b30', class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
23
+ return (h("div", { key: '78c6a2c425f8b8d222be16db33bb9d12307015d1', class: "otp-container" }, h("div", { key: '18e0d6a908aabdfe49ce4613c094fb12166b0914', class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
24
24
  if (e.keyCode > 47) {
25
25
  this.otpRef[i].value = "";
26
26
  }
@@ -31,7 +31,7 @@ const ZOtp = class {
31
31
  }, onInput: (e) => {
32
32
  this.otp[i] = e.target.value;
33
33
  this.emitInputChange(this.otp.join(""));
34
- }, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: '666ac57e8c41d6f6c205839f05337c5ec29bf9ba', message: this.message, status: this.status })));
34
+ }, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: '1d3207b1411926edb77efbc8a57e179972b77a2e', message: this.message, status: this.status })));
35
35
  }
36
36
  };
37
37
  ZOtp.style = ZOtpStyle0;
@@ -18,12 +18,12 @@ const ZPanelElem = class {
18
18
  }
19
19
  render() {
20
20
  const elemId = this.elemid ? this.elemid : "";
21
- return (h("div", { key: '7ccde7a594052fb877c381d8f2db8df80d64e96e', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: 'f925fb70d03baa4a8a7f96006c515c9116785ff7', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: 'b0349cf006ded4cc02f686e1ea1adfbd76550fb8', src: this.imgurl, alt: this.imgalt }))), h("div", { key: 'c9393757ba1c849c8558dc668189f6f27b232e94', class: "panel-elem-link" }, h("a", { key: '7c552ae67030c9bf12a6e52e8d8f6f82df88b4a2', class: {
21
+ return (h("div", { key: '5d734919b0fd927095c2e65ff1200ed550e48bd2', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: '3d315fef58dfe7ecf601ade8f1652e447fdbe636', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '47f8a1c400949b67c984d25c5bdf9f20ee3d846b', src: this.imgurl, alt: this.imgalt }))), h("div", { key: '9757e879ebe255ccdbdd815c7404a6cfe9f9cb1e', class: "panel-elem-link" }, h("a", { key: '4ee9897a9875081e871e4a72d7cdd9c6df23f6e1', class: {
22
22
  "z-link": true,
23
23
  "z-link-disabled": this.isdisabled,
24
24
  "z-link-icon": true,
25
25
  "z-link-blue": true,
26
- }, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: 'f72a6a2634b41803ea7eaf8d51ba3439f095457a', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '6cd08ffd2e65f13d500f88682724f4f762c1f118', class: "panel-elem-desc" }, h("slot", { key: '01f55703602ee64f92eed8bc918ac5032927850c', name: this.descrSlotName })))));
26
+ }, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: 'b651e1ab06b937189e46634c0a91470afcde9168', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '5ab6f6ba7f8f3f50a3018b56b7ff3ea75f7e5aa5', class: "panel-elem-desc" }, h("slot", { key: 'c4d1f5928e8be8f25e36f1a3bf9a33f603b37148', name: this.descrSlotName })))));
27
27
  }
28
28
  };
29
29
  ZPanelElem.style = ZPanelElemStyle0;
@@ -492,7 +492,7 @@ const ZPopover = class {
492
492
  cancelAnimationFrame(this.animationFrameRequestId);
493
493
  }
494
494
  render() {
495
- return (h(Host, { key: 'c3483157f2664088a337118936d81f551dcf25b1', "current-position": this.currentPosition }, h("slot", { key: 'fc9856b30959fc041dbf295fe7bbf523ce6adaf6' })));
495
+ return (h(Host, { key: '0a8cd5736765d61bf31b6f19f6fd6b3b61ffb414', "current-position": this.currentPosition }, h("slot", { key: '269e9c027b0636583b199d91e724ca2093aac615' })));
496
496
  }
497
497
  get host() { return getElement(this); }
498
498
  static get watchers() { return {
@@ -48,7 +48,7 @@ const ZSkipToContent = class {
48
48
  this.visible = false;
49
49
  }
50
50
  render() {
51
- return (h(Host, { key: '1a7ea404cfe0bc4dcf7f60787b218cdf58f28a28', class: {
51
+ return (h(Host, { key: 'b28906d64e95ddb5bac9fe36fc2b522b1b77f51d', class: {
52
52
  [this.variant]: true,
53
53
  "skip-to-content-visible": this.visible,
54
54
  } }, this.links.map((link, i) => {
@@ -20,7 +20,7 @@ const ZStepperItem = class {
20
20
  return Object.assign(Object.assign(Object.assign(Object.assign({}, href), role), current), tabindex);
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: 'eee285538af50ff09c49ead53e0589f20f810567', role: "listitem" }, h("button", Object.assign({ key: '0b354bc4e0ad809044e1cf0beb80a6259b2df43a', class: "stepper-item", disabled: this.disabled }, this.getAttributes()), h("div", { key: '3227f3ce382e6340cfc9bec365cb2d7b79dba2ed', class: "indicator" }, this.checked ? h("z-icon", { name: "checkmark" }) : this.index), h("span", { key: '1099214dda81271f48d2453d1e111042a79207af' }, h("slot", { key: '50262e5fbb88d2b628de778243d52087225eec7b' })))));
23
+ return (h(Host, { key: '91f2e37b743cbd76bad5b23d6a7038377ed325c3', role: "listitem" }, h("button", Object.assign({ key: '8f9c85524aff451dfa316fe050295cd17a95d817', class: "stepper-item", disabled: this.disabled }, this.getAttributes()), h("div", { key: '5f28d57cc6bc5508655297367ac09252f6df9452', class: "indicator" }, this.checked ? h("z-icon", { name: "checkmark" }) : this.index), h("span", { key: 'e24121243032ab104e2e19a373ec264db070525a' }, h("slot", { key: '06e7d27fa7a997c7fff44a539d065af3f7814880' })))));
24
24
  }
25
25
  };
26
26
  ZStepperItem.style = ZStepperItemStyle0;
@@ -8,7 +8,7 @@ const ZStepper = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: 'aa8c3ef6cca54442496944c748d1c224814ecc1a', role: "navigation" }, h("slot", { key: '9065c4077e08c252406e618e548f13aac5ed40d9' })));
11
+ return (h(Host, { key: '9328d928ff48b951720a6f0ca95b1d051a687cf4', role: "navigation" }, h("slot", { key: 'bd77ebf98a3eda51bf3124edae6aa96d0ad6cc7a' })));
12
12
  }
13
13
  };
14
14
  ZStepper.style = ZStepperStyle0;
@@ -42,7 +42,7 @@ const ZToastNotificationList = class {
42
42
  }
43
43
  }
44
44
  render() {
45
- return h("slot", { key: 'f7657893cc0491e9d29c5801bfbae9df4b22a33b', name: "toasts" });
45
+ return h("slot", { key: '188e85fc561b690f63f4f66edbbf63a0ed434cdf', name: "toasts" });
46
46
  }
47
47
  get hostElement() { return getElement(this); }
48
48
  static get watchers() { return {
@@ -4160,19 +4160,19 @@ const ZToastNotification = class {
4160
4160
  this.isdraggable && this.handleSlideOutDragAnimation();
4161
4161
  }
4162
4162
  render() {
4163
- return (h(Host, { key: '4dddb200f4671bbd69e8d1470d0d441678da3039', style: { "--percentuale": `${this.percentage}%` }, class: { [this.transition]: !!this.transition, [this.type]: !!this.type }, onAnimationEnd: (e) => {
4163
+ return (h(Host, { key: 'a5863e7ce8d266fba25e2a0503b57413ea276420', style: { "--percentuale": `${this.percentage}%` }, class: { [this.transition]: !!this.transition, [this.type]: !!this.type }, onAnimationEnd: (e) => {
4164
4164
  if (this.autoclose && e.animationName.includes("slidein")) {
4165
4165
  this.startClosingTimeout(this.autoclose);
4166
4166
  }
4167
4167
  if (e.animationName.includes("slideout")) {
4168
4168
  this.hostElement.parentNode.removeChild(this.hostElement);
4169
4169
  }
4170
- } }, h("div", { key: '424761a172e8f139e35d9c1b2139a4093e5ac48d', class: "toast-notification-container" }, h("div", { key: 'f1f8f3b2cfb8dde84ba0e136ac94631b47993975', class: "toast-notification-content" }, h("div", { key: '75c17b6a15c05dea66744ddb08a9abfcda21be28', class: "toast-notification-text" }, this.heading && h("span", { key: '94eda50ee38a39cec7056ee113b9863b54ed1555', class: "title" }, this.heading), h("span", { key: 'def713dd54fac1d0332c82c12ec4878672dddf1f', class: "message" }, h("slot", { key: '30cd97c7a2381c5a25e1b184524cb2fce29a549c', name: "message" }, this.message && h("span", { key: 'fc4c5cf459f595cb3727d5328ecb12419d1ea405', innerHTML: DOMPurify.sanitize(this.message) })))), h("div", { key: '994505f881dbe43ab69eb42c449afb0dc4d46336', class: "button-container", hidden: !this.hasSlottedButton }, h("slot", { key: 'b4a78b86c8d3b98750bcafee88d43bb47712558c', name: "button", onSlotchange: () => this.checkSlottedButton() }))), this.closebutton && (h("button", { key: '6658b9fe87e402ad434afe3bc50d4bf99f19b7a4', class: "close-button", "aria-label": "Chiudi notifica", onClick: () => this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true), onKeyDown: (e) => {
4170
+ } }, h("div", { key: '2ff98af17ebad39c00098acfc17b842784b268e0', class: "toast-notification-container" }, h("div", { key: '9e12233cc275ad5f4d00b72253005d1b6d45feab', class: "toast-notification-content" }, h("div", { key: 'a10e179aa0895c1ed51861e8818ae35eaeed195c', class: "toast-notification-text" }, this.heading && h("span", { key: '88d3e049e558a3f107e6a8fcab1f4c3835173def', class: "title" }, this.heading), h("span", { key: '73624c5b86d0d842477e9a5f0512d24359b6f939', class: "message" }, h("slot", { key: 'e7ad8066daef392d83fa77340a16d384204f59fc', name: "message" }, this.message && h("span", { key: '59582a721c306d09cd5c2ca12bfaac649b2e5a1f', innerHTML: DOMPurify.sanitize(this.message) })))), h("div", { key: '071e7a3a9a85f931bf8cc7d264c76f5109f69cc0', class: "button-container", hidden: !this.hasSlottedButton }, h("slot", { key: '3ff74ad6ce9cc2d4fca76032ff0aa68c7553f8de', name: "button", onSlotchange: () => this.checkSlottedButton() }))), this.closebutton && (h("button", { key: '26e256f736a3b04e5ccc7ed158305f69d806c42d', class: "close-button", "aria-label": "Chiudi notifica", onClick: () => this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true), onKeyDown: (e) => {
4171
4171
  if (e.code == KeyboardCode.SPACE || e.code == KeyboardCode.ENTER) {
4172
4172
  e.preventDefault();
4173
4173
  this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true);
4174
4174
  }
4175
- } }, h("z-icon", { key: '2edf589b7755c20c21217a8161736eeee5859cc9', name: "multiply-circled" }))))));
4175
+ } }, h("z-icon", { key: '25a4e24b16fb29ecd7148700367d319dbb9d9c6d', name: "multiply-circled" }))))));
4176
4176
  }
4177
4177
  get hostElement() { return getElement(this); }
4178
4178
  static get watchers() { return {
@@ -21,10 +21,10 @@ const ZToggleButton = class {
21
21
  this.toggleClick.emit(this.opened);
22
22
  }
23
23
  render() {
24
- return (h("button", { key: '6df0aee8dfd4785cd9787b2940c12cc3d680ef0c', tabindex: this.avoidclick ? "-1" : "0", class: {
24
+ return (h("button", { key: '6e9fbd985e60b38770ced1d2b681c57952616cc3', tabindex: this.avoidclick ? "-1" : "0", class: {
25
25
  "isopen": this.opened,
26
26
  "avoid-clicks": this.avoidclick,
27
- }, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: 'ab52cd6023b492b5bba8086fd189112e5329c3ad', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
27
+ }, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '0a1cf5cd9da7ef67a5e62dcf77fe7af27d7328a6', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
28
28
  }
29
29
  };
30
30
  ZToggleButton.style = ZToggleButtonStyle0;
@@ -29,14 +29,14 @@ const ZToggleSwitch = class {
29
29
  this.emitToggleClick();
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: 'b572a91e4ed2f91cbe0b7a393371425a5b9b896a' }, h("input", { key: 'acff3447044eba6dd7622feb954a03d5503111f1', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: '58b70932d34e39bb1c078947eea614d6384b9660', htmlFor: this.htmlid, class: {
32
+ return (h(Host, { key: '8f4df999fbedf80bcc55745ccf2bc9e973b042b4' }, h("input", { key: '8b76f5a66b5d9d331338f50622c61021bb5a28f7', id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), h("label", { key: '64a7c132da51820ebcd9b078cfc4981cf1981c30', htmlFor: this.htmlid, class: {
33
33
  [this.labelPosition]: true,
34
34
  disabled: this.disabled,
35
- } }, h("span", { key: '824e029aeb434813b35f72891d991f19a90daded' }, h("slot", { key: '37e8bad4378c65f4a3411fee47a960b9220af5d3' })), h("span", { key: '55eaf2b824ce8e91b77b5f8f2677724b2834fad6', class: {
35
+ } }, h("span", { key: 'ea293ee5515a6c901c571d21f11689b442add25d' }, h("slot", { key: 'a20e7ec3dae106f9d5e0df3b0a8766092cc7b42a' })), h("span", { key: 'cb49f19d1cdc68d6cb2330a035e7a7720b21e863', class: {
36
36
  container: true,
37
37
  disabled: this.disabled,
38
38
  checked: this.checked,
39
- } }, h("span", { key: '41b7660f89b5ba9829782d3e6b041323357fdefa', class: "circle" }, this.checked && (h("z-icon", { key: 'ae68c35e2765c6eece7dcee8f7ad570a6fc0aa34', width: 12, height: 12, name: "checkmark" })))))));
39
+ } }, h("span", { key: 'b6fb8026f43c0bd12a65f1cee9bb90c476e4cf3c', class: "circle" }, this.checked && (h("z-icon", { key: 'a4e6313096647089e7fccdcb3fb40b42bf7ad2f3', width: 12, height: 12, name: "checkmark" })))))));
40
40
  }
41
41
  };
42
42
  ZToggleSwitch.style = ZToggleSwitchStyle0;
@@ -188,10 +188,10 @@ const ZTool = class {
188
188
  (_a = this.mql) === null || _a === void 0 ? void 0 : _a.removeEventListener("change", this.onMobileViewChange);
189
189
  }
190
190
  render() {
191
- return (h(Host, { key: '206a8594f395b3be01956358cb59968c69cc1317', class: { "z-tool-tooltip-open": this.tooltipOpen } }, h("button", { key: '0ad3f51d384386005f5cd4ca2bdf9e9c9b49c7d2', class: "z-tool", type: "button", ref: (el) => (this.buttonRef = el), "aria-pressed": this.hasSlottedContent ? undefined : this.active ? "true" : "false", "aria-expanded": this.hasSlottedContent ? (this.open ? "true" : "false") : undefined, "aria-haspopup": this.hasSlottedContent ? "true" : undefined, "aria-label": this.htmlAriaLabel || this.tooltip || undefined, disabled: this.disabled, onClick: this.handleClick, onMouseEnter: this.handleTooltipOpen, onMouseLeave: this.handleTooltipClose, onFocus: this.handleTooltipOpen, onBlur: this.handleTooltipClose }, h("z-icon", { key: '67a9360a49a09d6cb715314a610af87aec542608', ref: (el) => (this.iconRef = el), name: this.icon, indicatorColor: this.indicatorColor })), this.tooltip && (h("z-tooltip", { key: '7c66f173dc55e4757302c659d56f8d0acf310b76', class: "z-tool-tooltip", ref: (el) => (this.tooltipRef = el), bindTo: this.iconRef, open: this.tooltipOpen && !this.open, position: this.isNested ? PopoverPosition.BOTTOM : this.tooltipPosition, dark: true, onMouseLeave: this.handleTooltipClose, onBlur: this.handleTooltipClose, onOpenChange: this.onTooltipOpenChange }, h("span", { key: '7ceeeb537eb0292e629952da4aa932644a7468cf', class: "body-4" }, this.tooltip))), this.hasSlottedContent && (h("z-popover", { key: '27fde7bbc6dddb8f081bd47491dc91a70538271a', class: "z-tool-submenu", open: this.open, bindTo: this.isMobile && this.mainToolbar ? this.mainToolbar : this.hostElement, center: true,
191
+ return (h(Host, { key: 'e193d45ced8a7d4aa880d3a506d43614a76ffa71', class: { "z-tool-tooltip-open": this.tooltipOpen } }, h("button", { key: '6549559a4a5125d3db07d12d8b2ac4c68e8eee6a', class: "z-tool", type: "button", ref: (el) => (this.buttonRef = el), "aria-pressed": this.hasSlottedContent ? undefined : this.active ? "true" : "false", "aria-expanded": this.hasSlottedContent ? (this.open ? "true" : "false") : undefined, "aria-haspopup": this.hasSlottedContent ? "true" : undefined, "aria-label": this.htmlAriaLabel || this.tooltip || undefined, disabled: this.disabled, onClick: this.handleClick, onMouseEnter: this.handleTooltipOpen, onMouseLeave: this.handleTooltipClose, onFocus: this.handleTooltipOpen, onBlur: this.handleTooltipClose }, h("z-icon", { key: '0aac9cc6854a9d4a4ac83866eb34cc8d12140f69', ref: (el) => (this.iconRef = el), name: this.icon, indicatorColor: this.indicatorColor })), this.tooltip && (h("z-tooltip", { key: '2d403e91916f5d7909d0085f2f89db8514de32cc', class: "z-tool-tooltip", ref: (el) => (this.tooltipRef = el), bindTo: this.iconRef, open: this.tooltipOpen && !this.open, position: this.isNested ? PopoverPosition.BOTTOM : this.tooltipPosition, dark: true, onMouseLeave: this.handleTooltipClose, onBlur: this.handleTooltipClose, onOpenChange: this.onTooltipOpenChange }, h("span", { key: 'a94e6a413686d9668399137f331e499ceb9d6516', class: "body-4" }, this.tooltip))), this.hasSlottedContent && (h("z-popover", { key: '2d103f6d9b8643cc1dd30bc6bd238be593971586', class: "z-tool-submenu", open: this.open, bindTo: this.isMobile && this.mainToolbar ? this.mainToolbar : this.hostElement, center: true,
192
192
  /* disable auto-close to prevent unwanted close behaviors on mobile,
193
193
  when the bound element is the main toolbar */
194
- closable: false, position: this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM }, h("slot", { key: 'e31fd30c100e732f4aca6b038d277d99b6543589' })))));
194
+ closable: false, position: this.isMobile ? PopoverPosition.TOP : PopoverPosition.BOTTOM }, h("slot", { key: 'b8e79406df1de9fa4df0b8b4aa42b27477407a05' })))));
195
195
  }
196
196
  get hostElement() { return getElement(this); }
197
197
  static get watchers() { return {
@@ -130,7 +130,7 @@ const ZToolbar = class {
130
130
  }
131
131
  }
132
132
  render() {
133
- return (h(Host, { key: 'dc26c2f0e3a48566e671476dce7241e326cacac8', role: "toolbar", "aria-label": this.htmlAriaLabel }, h("slot", { key: 'ff7b8ae41331be87db8f71ff0cbaf4882a7d684d', onSlotchange: () => {
133
+ return (h(Host, { key: '5e00c2233560e5050ede29f987b8eb42e2af5935', role: "toolbar", "aria-label": this.htmlAriaLabel }, h("slot", { key: '9ea69fc40ffaa25d900ad80dc9ca42b8ddcb1140', onSlotchange: () => {
134
134
  this.collectToolItems();
135
135
  this.updateTabIndexes();
136
136
  } })));
@@ -18,7 +18,7 @@ const ZTooltip = class {
18
18
  this.open = this.popoverEl.open;
19
19
  }
20
20
  render() {
21
- return (h("z-popover", { key: '8290e0b20bc315ce438e6407ff40c51d227f719d', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true, onOpenChange: (event) => this.openChange.emit(event.detail) }, h("slot", { key: 'e4f62754fc30723f63f99b79d53d72310f2cae91' })));
21
+ return (h("z-popover", { key: 'cbfcd9d92fdb27c998b9293aea1520993bf6cc1a', ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true, onOpenChange: (event) => this.openChange.emit(event.detail) }, h("slot", { key: '9638b5e67aba8472eea8894b1b39bf1aa5f2986e' })));
22
22
  }
23
23
  };
24
24
  ZTooltip.style = ZTooltipStyle0;
@@ -4,6 +4,7 @@ import { NotificationType } from "../../beans";
4
4
  * Notification bar component.
5
5
  * @slot - The text of the notification.
6
6
  * @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.
7
+ * @cssprop --z-notification--content-max-width - The max width of the notification content.
7
8
  */
8
9
  export declare class ZNotification {
9
10
  /** Name of the icon on the left of the content */
@@ -21,6 +22,8 @@ export declare class ZNotification {
21
22
  showshadow?: boolean;
22
23
  /** Enable sticky notification bar. */
23
24
  sticky?: boolean;
25
+ /** Border position */
26
+ borderposition?: "top" | "bottom";
24
27
  /** Call to action clicked */
25
28
  notificationAction: EventEmitter;
26
29
  private handleActionButtonClick;
@@ -1,10 +1,11 @@
1
1
  import { type ZNotification } from ".";
2
2
  import { NotificationType } from "../../beans";
3
+ import { CSSVarsArguments } from "../../utils/storybook-utils";
3
4
  import "./index";
4
5
  import "./index.stories.css";
5
6
  type ZNotificationStoriesArgs = ZNotification & {
6
7
  notificationText: string;
7
- };
8
+ } & CSSVarsArguments<"--z-notification--content-max-width">;
8
9
  declare const StoryMeta: {
9
10
  title: string;
10
11
  component: string;
@@ -17,6 +18,7 @@ declare const StoryMeta: {
17
18
  };
18
19
  };
19
20
  args: {
21
+ "--z-notification--content-max-width": string;
20
22
  contenticonname: string;
21
23
  actiontext: string;
22
24
  showclose: false;
@@ -28,6 +30,15 @@ export default StoryMeta;
28
30
  export declare const Default: {
29
31
  render: (args: ZNotificationStoriesArgs) => import("lit-html").TemplateResult<1>;
30
32
  };
33
+ /**
34
+ * To use the border top variant set the `borderposition` property to `top`.
35
+ */
36
+ export declare const BorderTop: {
37
+ args: {
38
+ borderposition: "top";
39
+ };
40
+ render: (args: ZNotificationStoriesArgs) => import("lit-html").TemplateResult<1>;
41
+ };
31
42
  export declare const LongText: {
32
43
  render: (args: ZNotificationStoriesArgs) => import("lit-html").TemplateResult<1>;
33
44
  };
@@ -1606,12 +1606,17 @@ export namespace Components {
1606
1606
  /**
1607
1607
  * Notification bar component.
1608
1608
  * @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.
1609
+ * @cssprop --z-notification--content-max-width - The max width of the notification content.
1609
1610
  */
1610
1611
  interface ZNotification {
1611
1612
  /**
1612
1613
  * Action button text
1613
1614
  */
1614
1615
  "actiontext"?: string;
1616
+ /**
1617
+ * Border position
1618
+ */
1619
+ "borderposition"?: "top" | "bottom";
1615
1620
  /**
1616
1621
  * Name of the icon on the left of the content
1617
1622
  */
@@ -3430,6 +3435,7 @@ declare global {
3430
3435
  /**
3431
3436
  * Notification bar component.
3432
3437
  * @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.
3438
+ * @cssprop --z-notification--content-max-width - The max width of the notification content.
3433
3439
  */
3434
3440
  interface HTMLZNotificationElement extends Components.ZNotification, HTMLStencilElement {
3435
3441
  addEventListener<K extends keyof HTMLZNotificationElementEventMap>(type: K, listener: (this: HTMLZNotificationElement, ev: ZNotificationCustomEvent<HTMLZNotificationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -5719,12 +5725,17 @@ declare namespace LocalJSX {
5719
5725
  /**
5720
5726
  * Notification bar component.
5721
5727
  * @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.
5728
+ * @cssprop --z-notification--content-max-width - The max width of the notification content.
5722
5729
  */
5723
5730
  interface ZNotification {
5724
5731
  /**
5725
5732
  * Action button text
5726
5733
  */
5727
5734
  "actiontext"?: string;
5735
+ /**
5736
+ * Border position
5737
+ */
5738
+ "borderposition"?: "top" | "bottom";
5728
5739
  /**
5729
5740
  * Name of the icon on the left of the content
5730
5741
  */
@@ -6908,6 +6919,7 @@ declare module "@stencil/core" {
6908
6919
  /**
6909
6920
  * Notification bar component.
6910
6921
  * @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.
6922
+ * @cssprop --z-notification--content-max-width - The max width of the notification content.
6911
6923
  */
6912
6924
  "z-notification": LocalJSX.ZNotification & JSXBase.HTMLAttributes<HTMLZNotificationElement>;
6913
6925
  /**
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,a as i}from"./p-75c4a726.js";const r=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';const o=r;const a=class{constructor(t){e(this,t);this.index=undefined;this.href=undefined;this.pressed=undefined;this.checked=undefined;this.disabled=undefined}getAttributes(){const e=this.href&&!this.pressed&&!this.disabled?{onClick:()=>location.href=this.href}:undefined;const t=e?{role:"link"}:undefined;const i=this.pressed&&!this.disabled?{"aria-current":"step"}:undefined;const r=this.pressed||this.href===""?{tabIndex:-1}:undefined;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),r)}render(){return t(i,{key:"eee285538af50ff09c49ead53e0589f20f810567",role:"listitem"},t("button",Object.assign({key:"0b354bc4e0ad809044e1cf0beb80a6259b2df43a",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"3227f3ce382e6340cfc9bec365cb2d7b79dba2ed",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"1099214dda81271f48d2453d1e111042a79207af"},t("slot",{key:"50262e5fbb88d2b628de778243d52087225eec7b"}))))}};a.style=o;export{a as z_stepper_item};
2
- //# sourceMappingURL=p-b7ec2cc4.entry.js.map
1
+ import{r as e,h as t,a as i}from"./p-75c4a726.js";const r=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';const o=r;const a=class{constructor(t){e(this,t);this.index=undefined;this.href=undefined;this.pressed=undefined;this.checked=undefined;this.disabled=undefined}getAttributes(){const e=this.href&&!this.pressed&&!this.disabled?{onClick:()=>location.href=this.href}:undefined;const t=e?{role:"link"}:undefined;const i=this.pressed&&!this.disabled?{"aria-current":"step"}:undefined;const r=this.pressed||this.href===""?{tabIndex:-1}:undefined;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),r)}render(){return t(i,{key:"91f2e37b743cbd76bad5b23d6a7038377ed325c3",role:"listitem"},t("button",Object.assign({key:"8f9c85524aff451dfa316fe050295cd17a95d817",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"5f28d57cc6bc5508655297367ac09252f6df9452",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"e24121243032ab104e2e19a373ec264db070525a"},t("slot",{key:"06e7d27fa7a997c7fff44a539d065af3f7814880"}))))}};a.style=o;export{a as z_stepper_item};
2
+ //# sourceMappingURL=p-08b16bb4.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as i,a as n,g as o}from"./p-75c4a726.js";import{T as s}from"./p-86618221.js";import{f as e,d as c}from"./p-061e28d6.js";import"./p-5145a606.js";const r=".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg);text-align:center}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{display:inline-flex;height:100%;align-items:center}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--color-surface05);color:var(--color-surface01)}.light.sc-z-skip-to-content-h{border:var(--border-size-medium) solid var(--color-surface05);background-color:var(--color-surface01);color:var(--color-default-text)}@media (min-width: 768px){.sc-z-skip-to-content-h{text-align:start}}@media (min-width: 1152px){.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{padding:0 calc(var(--space-unit) * 3);border-right:var(--border-size-small) solid var(--color-surface05)}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{border-right:var(--border-size-small) solid var(--color-surface01)}}";const a=r;const l=class{constructor(i){t(this,i);this.variant=undefined;this.links=[];this.visible=false;this.visibleLink=""}handleFocusOutSkipToContent(t){if(this.isInSkipToContent(t.target)){this.visible=false}}handleFocusSkipToContent(t){if(this.isInSkipToContent(t.target)){this.visible=true}}componentDidLoad(){this.showFirstChild()}componentWillRender(){if(this.links){this.links=typeof this.links==="string"?JSON.parse(this.links):this.links}}isInSkipToContent(t){const i=e(t);const n=i.find((t=>t.nodeName.toLowerCase()==="z-skip-to-content"));return!!n}showFirstChild(){var t;const i=(t=this.hostElement.children)===null||t===void 0?void 0:t[0];if(i){this.visibleLink=i.id}}handleLinkClick(){this.visible=false}render(){return i(n,{key:"1a7ea404cfe0bc4dcf7f60787b218cdf58f28a28",class:{[this.variant]:true,"skip-to-content-visible":this.visible}},this.links.map(((t,n)=>{const o=`skip-to-content-${n}`;return i("div",{class:"link-container"},i("a",{id:o,class:{"body-1-sb":true,"z-link":true,"z-link-underline":true,"z-link-inverse":this.variant===s.DARK,"link-visible":o==this.visibleLink,"link-invisible":o!=this.visibleLink},"aria-label":t.ariaLabel||t.label,href:t.href,onFocus:()=>this.visibleLink=o,onClick:()=>this.handleLinkClick(),onKeyUp:t=>c(t,this.handleLinkClick.bind(this))},t.label))})))}get hostElement(){return o(this)}};l.style=a;export{l as z_skip_to_content};
2
- //# sourceMappingURL=p-43adca09.entry.js.map
1
+ import{r as t,h as i,a as n,g as o}from"./p-75c4a726.js";import{T as s}from"./p-86618221.js";import{f as e,d as c}from"./p-061e28d6.js";import"./p-5145a606.js";const r=".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg);text-align:center}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{display:inline-flex;height:100%;align-items:center}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--color-surface05);color:var(--color-surface01)}.light.sc-z-skip-to-content-h{border:var(--border-size-medium) solid var(--color-surface05);background-color:var(--color-surface01);color:var(--color-default-text)}@media (min-width: 768px){.sc-z-skip-to-content-h{text-align:start}}@media (min-width: 1152px){.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{padding:0 calc(var(--space-unit) * 3);border-right:var(--border-size-small) solid var(--color-surface05)}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content>a.z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>.link-container.sc-z-skip-to-content{border-right:var(--border-size-small) solid var(--color-surface01)}}";const a=r;const l=class{constructor(i){t(this,i);this.variant=undefined;this.links=[];this.visible=false;this.visibleLink=""}handleFocusOutSkipToContent(t){if(this.isInSkipToContent(t.target)){this.visible=false}}handleFocusSkipToContent(t){if(this.isInSkipToContent(t.target)){this.visible=true}}componentDidLoad(){this.showFirstChild()}componentWillRender(){if(this.links){this.links=typeof this.links==="string"?JSON.parse(this.links):this.links}}isInSkipToContent(t){const i=e(t);const n=i.find((t=>t.nodeName.toLowerCase()==="z-skip-to-content"));return!!n}showFirstChild(){var t;const i=(t=this.hostElement.children)===null||t===void 0?void 0:t[0];if(i){this.visibleLink=i.id}}handleLinkClick(){this.visible=false}render(){return i(n,{key:"b28906d64e95ddb5bac9fe36fc2b522b1b77f51d",class:{[this.variant]:true,"skip-to-content-visible":this.visible}},this.links.map(((t,n)=>{const o=`skip-to-content-${n}`;return i("div",{class:"link-container"},i("a",{id:o,class:{"body-1-sb":true,"z-link":true,"z-link-underline":true,"z-link-inverse":this.variant===s.DARK,"link-visible":o==this.visibleLink,"link-invisible":o!=this.visibleLink},"aria-label":t.ariaLabel||t.label,href:t.href,onFocus:()=>this.visibleLink=o,onClick:()=>this.handleLinkClick(),onKeyUp:t=>c(t,this.handleLinkClick.bind(this))},t.label))})))}get hostElement(){return o(this)}};l.style=a;export{l as z_skip_to_content};
2
+ //# sourceMappingURL=p-0b9fc73c.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r,h as o}from"./p-75c4a726.js";const e=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}";const s=e;const a=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"9cdbd685674a5ee5f5d2dec9b9272402f76b9de8",class:this.type},o("slot",{key:"36d8361bdc4a04c47695afe8e824f976ee8c47df"}))}};a.style=s;export{a as z_alert};
2
- //# sourceMappingURL=p-f662e7ff.entry.js.map
1
+ import{r,h as o}from"./p-75c4a726.js";const a=":host{display:block;box-sizing:border-box;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-rg);line-height:calc(var(--space-unit) * 2)}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{background:var(--color-inverse-success);fill:var(--color-default-success)}:host>.warning{background:var(--color-inverse-warning);fill:var(--color-default-warning)}:host>.error{background:var(--color-inverse-error);fill:var(--color-default-error)}";const s=a;const c=class{constructor(o){r(this,o);this.type=undefined}render(){return o("div",{key:"089bda749c586a5910c417781923cbefe0372dd8",class:this.type},o("slot",{key:"7d222e10b779779ba7ef9be1c1162aa436225610"}))}};c.style=s;export{c as z_alert};
2
+ //# sourceMappingURL=p-146a4d4b.entry.js.map