@zanichelli/albe-web-components 17.3.0-RC1 → 18.0.0

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 (884) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/cjs/{index-a6593d82.js → index-0cb5e57a.js} +2 -2
  3. package/dist/cjs/{index-a6593d82.js.map → index-0cb5e57a.js.map} +1 -1
  4. package/dist/cjs/{index-4e2d222e.js → index-1c3f7a64.js} +2 -2
  5. package/dist/cjs/{index-4e2d222e.js.map → index-1c3f7a64.js.map} +1 -1
  6. package/dist/cjs/{index-117cd3b0.js → index-24b23a97.js} +5 -5
  7. package/dist/cjs/{index-117cd3b0.js.map → index-24b23a97.js.map} +1 -1
  8. package/dist/cjs/{index-7191c0cc.js → index-41d3dc9e.js} +2 -2
  9. package/dist/cjs/{index-7191c0cc.js.map → index-41d3dc9e.js.map} +1 -1
  10. package/dist/cjs/{index-9b8b105e.js → index-48540995.js} +3 -3
  11. package/dist/cjs/{index-9b8b105e.js.map → index-48540995.js.map} +1 -1
  12. package/dist/cjs/{index-a465bca8.js → index-4f18c0e2.js} +1 -6
  13. package/{www/build/p-2b309f57.js.map → dist/cjs/index-4f18c0e2.js.map} +1 -1
  14. package/dist/cjs/{index-d6c4fda2.js → index-f9fe3768.js} +3 -3
  15. package/dist/cjs/{index-d6c4fda2.js.map → index-f9fe3768.js.map} +1 -1
  16. package/dist/cjs/index.cjs.js +2 -8
  17. package/dist/cjs/index.cjs.js.map +1 -1
  18. package/dist/cjs/loader.cjs.js +1 -1
  19. package/dist/cjs/{utils-873dd0ae.js → utils-67ea6e35.js} +2 -2
  20. package/dist/cjs/{utils-873dd0ae.js.map → utils-67ea6e35.js.map} +1 -1
  21. package/dist/cjs/{utils-ee8e5b38.js → utils-a6d8a0b7.js} +2 -2
  22. package/dist/cjs/{utils-ee8e5b38.js.map → utils-a6d8a0b7.js.map} +1 -1
  23. package/dist/cjs/web-components-library.cjs.js +1 -1
  24. package/dist/cjs/z-accordion.cjs.entry.js +3 -3
  25. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -1
  26. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  27. package/dist/cjs/z-alert.cjs.entry.js.map +1 -1
  28. package/dist/cjs/z-anchor-navigation.cjs.entry.js +3 -3
  29. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -1
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
  31. package/dist/cjs/z-app-header_12.cjs.entry.js +19 -19
  32. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  33. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  34. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  35. package/dist/cjs/z-book-card-app.cjs.entry.js +2 -2
  36. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +3 -3
  37. package/dist/cjs/z-book-card.cjs.entry.js +44 -90
  38. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  39. package/dist/cjs/z-breadcrumb.cjs.entry.js +5 -5
  40. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -1
  41. package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
  42. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -1
  43. package/dist/cjs/z-card.cjs.entry.js +2 -2
  44. package/dist/cjs/z-card.cjs.entry.js.map +1 -1
  45. package/dist/cjs/z-carousel.cjs.entry.js +3 -3
  46. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -1
  47. package/dist/cjs/z-chip.cjs.entry.js +4 -4
  48. package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
  49. package/dist/cjs/z-combobox.cjs.entry.js +6 -6
  50. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
  51. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  52. package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
  53. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -8
  54. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
  55. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  56. package/dist/cjs/z-file.cjs.entry.js +2 -2
  57. package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
  58. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -1
  59. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  60. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  61. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  62. package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
  63. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
  64. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  65. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  66. package/dist/cjs/z-myz-card-alert.cjs.entry.js +3 -3
  67. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
  68. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  69. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  70. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  71. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  72. package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
  73. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
  74. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  75. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  76. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  77. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  78. package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
  79. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  80. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  81. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  82. package/dist/cjs/z-otp.cjs.entry.js +4 -4
  83. package/dist/cjs/z-otp.cjs.entry.js.map +1 -1
  84. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  85. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -1
  86. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  87. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  88. package/dist/cjs/z-range-picker.cjs.entry.js +5 -5
  89. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  90. package/dist/cjs/z-select.cjs.entry.js +4 -4
  91. package/dist/cjs/z-select.cjs.entry.js.map +1 -1
  92. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  93. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  94. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  95. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
  96. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  97. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
  98. package/dist/cjs/z-table.cjs.entry.js +9 -9
  99. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  100. package/dist/cjs/z-td.cjs.entry.js +2 -2
  101. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  102. package/dist/cjs/z-th.cjs.entry.js +2 -2
  103. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  104. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  105. package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
  106. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  107. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  108. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
  109. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  110. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  111. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  112. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  113. package/dist/collection/beans/index.js +0 -5
  114. package/dist/collection/beans/index.js.map +1 -1
  115. package/dist/collection/collection-manifest.json +1 -1
  116. package/dist/collection/components/book-card/z-book-card/index.js +72 -267
  117. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
  118. package/dist/collection/components/book-card/z-book-card/index.stories.js +100 -106
  119. package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -1
  120. package/dist/collection/components/book-card/z-book-card/styles.css +76 -140
  121. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
  122. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +2 -2
  123. package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +1 -1
  124. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  125. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  126. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
  127. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -1
  128. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +1 -14
  129. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -1
  130. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
  131. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
  132. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  133. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  134. package/dist/collection/components/list/z-list/index.js +1 -1
  135. package/dist/collection/components/list/z-list-element/index.js +1 -1
  136. package/dist/collection/components/list/z-list-element/styles.css +6 -5
  137. package/dist/collection/components/list/z-list-group/index.js +2 -2
  138. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  139. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  140. package/dist/collection/components/table/z-table/index.js +1 -1
  141. package/dist/collection/components/table/z-tbody/index.js +1 -1
  142. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  143. package/dist/collection/components/table/z-thead/index.js +1 -1
  144. package/dist/collection/components/table/z-tr/index.js +1 -1
  145. package/dist/collection/components/z-accordion/index.js +1 -1
  146. package/dist/collection/components/z-accordion/styles.css +1 -1
  147. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  148. package/dist/collection/components/z-anchor-navigation/styles.css +3 -2
  149. package/dist/collection/components/z-app-header/index.js +1 -1
  150. package/dist/collection/components/z-app-header/styles.css +1 -1
  151. package/dist/collection/components/z-aria-alert/index.js +1 -1
  152. package/dist/collection/components/z-avatar/index.js +2 -2
  153. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  154. package/dist/collection/components/z-breadcrumb/index.stories.js +1 -1
  155. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -1
  156. package/dist/collection/components/z-breadcrumb/styles.css +2 -0
  157. package/dist/collection/components/z-button-sort/index.js +1 -1
  158. package/dist/collection/components/z-button-sort/styles.css +5 -5
  159. package/dist/collection/components/z-card/index.stories.js +2 -2
  160. package/dist/collection/components/z-card/index.stories.js.map +1 -1
  161. package/dist/collection/components/z-card/styles.css +1 -2
  162. package/dist/collection/components/z-carousel/index.js +2 -2
  163. package/dist/collection/components/z-carousel/index.js.map +1 -1
  164. package/dist/collection/components/z-chip/index.js +2 -2
  165. package/dist/collection/components/z-chip/styles.css +4 -8
  166. package/dist/collection/components/z-combobox/index.js +3 -3
  167. package/dist/collection/components/z-combobox/index.js.map +1 -1
  168. package/dist/collection/components/z-combobox/styles.css +35 -18
  169. package/dist/collection/components/z-cover-hero/index.js +2 -2
  170. package/dist/collection/components/z-divider/index.js +1 -1
  171. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  172. package/dist/collection/components/z-ghost-loading/styles.css +3 -3
  173. package/dist/collection/components/z-icon/index.js +1 -1
  174. package/dist/collection/components/z-info-box/index.js +1 -1
  175. package/dist/collection/components/z-info-reveal/index.js +1 -1
  176. package/dist/collection/components/z-input/index.js +1 -1
  177. package/dist/collection/components/z-input/styles.css +9 -6
  178. package/dist/collection/components/z-input-message/index.js +1 -1
  179. package/dist/collection/components/z-input-message/styles.css +1 -1
  180. package/dist/collection/components/z-logo/index.js +1 -1
  181. package/dist/collection/components/z-menu-section/index.js +1 -1
  182. package/dist/collection/components/z-modal/index.js +7 -7
  183. package/dist/collection/components/z-modal/index.js.map +1 -1
  184. package/dist/collection/components/z-modal/index.stories.js +1 -1
  185. package/dist/collection/components/z-modal/index.stories.js.map +1 -1
  186. package/dist/collection/components/z-modal/styles.css +5 -6
  187. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  188. package/dist/collection/components/z-navigation-tabs/styles.css +1 -1
  189. package/dist/collection/components/z-notification/index.js +1 -1
  190. package/dist/collection/components/z-notification/styles.css +6 -6
  191. package/dist/collection/components/z-offcanvas/index.js +1 -1
  192. package/dist/collection/components/z-pagination/styles.css +1 -1
  193. package/dist/collection/components/z-panel-elem/index.js +2 -2
  194. package/dist/collection/components/z-popover/index.js +1 -1
  195. package/dist/collection/components/z-popover/index.stories.js +2 -1
  196. package/dist/collection/components/z-popover/index.stories.js.map +1 -1
  197. package/dist/collection/components/z-searchbar/index.js +1 -1
  198. package/dist/collection/components/z-section-title/index.js +1 -1
  199. package/dist/collection/components/z-select/index.js +1 -1
  200. package/dist/collection/components/z-select/styles.css +14 -8
  201. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  202. package/dist/collection/components/z-stepper/index.js +1 -1
  203. package/dist/collection/components/z-stepper/index.stories.js +42 -12
  204. package/dist/collection/components/z-stepper/index.stories.js.map +1 -1
  205. package/dist/collection/components/z-stepper/styles.css +1 -1
  206. package/dist/collection/components/z-stepper-item/index.js +1 -1
  207. package/dist/collection/components/z-stepper-item/styles.css +6 -6
  208. package/dist/collection/components/z-tag/index.js +2 -2
  209. package/dist/collection/components/z-toast-notification/index.js +1 -1
  210. package/dist/collection/components/z-toast-notification/styles.css +5 -5
  211. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  212. package/dist/collection/components/z-toggle-button/index.js +2 -2
  213. package/dist/collection/components/z-toggle-button/styles.css +1 -1
  214. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  215. package/dist/collection/components/z-tooltip/index.js +1 -1
  216. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  217. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  218. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  219. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +2 -2
  220. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  221. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  222. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  223. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  224. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  225. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  226. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  227. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  228. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +1 -1
  229. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  230. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  231. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  232. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  233. package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
  234. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  235. package/dist/collection/snowflakes/myz/z-otp/styles.css +2 -2
  236. package/dist/components/index.js +1 -1
  237. package/dist/components/index10.js +1 -1
  238. package/dist/components/index11.js +2 -2
  239. package/dist/components/index11.js.map +1 -1
  240. package/dist/components/index12.js +2 -2
  241. package/dist/components/index12.js.map +1 -1
  242. package/dist/components/index13.js +1 -1
  243. package/dist/components/index14.js +2 -2
  244. package/dist/components/index14.js.map +1 -1
  245. package/dist/components/index15.js +2 -2
  246. package/dist/components/index16.js +5 -5
  247. package/dist/components/index16.js.map +1 -1
  248. package/dist/components/index17.js +1 -1
  249. package/dist/components/index18.js +1 -1
  250. package/dist/components/index19.js +1 -1
  251. package/dist/components/index2.js +1 -6
  252. package/dist/components/index2.js.map +1 -1
  253. package/dist/components/index20.js +1 -1
  254. package/dist/components/index21.js +1 -1
  255. package/dist/components/index22.js +1 -1
  256. package/dist/components/index23.js +1 -1
  257. package/dist/components/index24.js +1 -1
  258. package/dist/components/index25.js +2 -2
  259. package/dist/components/index3.js +2 -2
  260. package/dist/components/index3.js.map +1 -1
  261. package/dist/components/index5.js +3 -3
  262. package/dist/components/index5.js.map +1 -1
  263. package/dist/components/index6.js +1 -1
  264. package/dist/components/index7.js +2 -2
  265. package/dist/components/index8.js +2 -2
  266. package/dist/components/index8.js.map +1 -1
  267. package/dist/components/index9.js +1 -1
  268. package/dist/components/z-accordion.js +3 -3
  269. package/dist/components/z-accordion.js.map +1 -1
  270. package/dist/components/z-anchor-navigation.js +2 -2
  271. package/dist/components/z-anchor-navigation.js.map +1 -1
  272. package/dist/components/z-app-header-deprecated.js +1 -1
  273. package/dist/components/z-app-header.js +2 -2
  274. package/dist/components/z-app-header.js.map +1 -1
  275. package/dist/components/z-aria-alert.js +1 -1
  276. package/dist/components/z-avatar.js +2 -2
  277. package/dist/components/z-book-card-app.js +1 -1
  278. package/dist/components/z-book-card-deprecated.js +1 -1
  279. package/dist/components/z-book-card.js +53 -117
  280. package/dist/components/z-book-card.js.map +1 -1
  281. package/dist/components/z-breadcrumb.js +3 -3
  282. package/dist/components/z-breadcrumb.js.map +1 -1
  283. package/dist/components/z-button-sort.js +2 -2
  284. package/dist/components/z-button-sort.js.map +1 -1
  285. package/dist/components/z-card.js +1 -1
  286. package/dist/components/z-card.js.map +1 -1
  287. package/dist/components/z-carousel.js +2 -2
  288. package/dist/components/z-carousel.js.map +1 -1
  289. package/dist/components/z-combobox.js +16 -22
  290. package/dist/components/z-combobox.js.map +1 -1
  291. package/dist/components/z-cover-hero.js +2 -2
  292. package/dist/components/z-date-picker.js +1 -1
  293. package/dist/components/z-file.js +1 -1
  294. package/dist/components/z-info-box.js +1 -1
  295. package/dist/components/z-logo.js +1 -1
  296. package/dist/components/z-menu-deprecated.js +1 -1
  297. package/dist/components/z-menu-section-deprecated.js +1 -1
  298. package/dist/components/z-menu-section.js +1 -1
  299. package/dist/components/z-myz-card-alert.js +2 -2
  300. package/dist/components/z-myz-card-alert.js.map +1 -1
  301. package/dist/components/z-myz-card-dictionary.js +1 -1
  302. package/dist/components/z-myz-card-footer-sections.js +1 -1
  303. package/dist/components/z-myz-card-footer.js +1 -1
  304. package/dist/components/z-myz-card-icon.js +1 -1
  305. package/dist/components/z-myz-card-info.js +2 -2
  306. package/dist/components/z-myz-card-info.js.map +1 -1
  307. package/dist/components/z-myz-card-list.js +1 -1
  308. package/dist/components/z-myz-list.js +1 -1
  309. package/dist/components/z-navigation-tabs.js +3 -3
  310. package/dist/components/z-navigation-tabs.js.map +1 -1
  311. package/dist/components/z-notification.js +2 -2
  312. package/dist/components/z-notification.js.map +1 -1
  313. package/dist/components/z-otp.js +3 -3
  314. package/dist/components/z-otp.js.map +1 -1
  315. package/dist/components/z-pagination.js +1 -1
  316. package/dist/components/z-pagination.js.map +1 -1
  317. package/dist/components/z-panel-elem.js +2 -2
  318. package/dist/components/z-range-picker.js +3 -3
  319. package/dist/components/z-section-title.js +1 -1
  320. package/dist/components/z-select.js +2 -2
  321. package/dist/components/z-select.js.map +1 -1
  322. package/dist/components/z-skip-to-content.js +1 -1
  323. package/dist/components/z-stepper-item.js +2 -2
  324. package/dist/components/z-stepper-item.js.map +1 -1
  325. package/dist/components/z-stepper.js +2 -2
  326. package/dist/components/z-stepper.js.map +1 -1
  327. package/dist/components/z-table.js +1 -1
  328. package/dist/components/z-tbody.js +1 -1
  329. package/dist/components/z-td.js +1 -1
  330. package/dist/components/z-tfoot.js +1 -1
  331. package/dist/components/z-th.js +1 -1
  332. package/dist/components/z-thead.js +1 -1
  333. package/dist/components/z-toast-notification-list.js +1 -1
  334. package/dist/components/z-toast-notification.js +2 -2
  335. package/dist/components/z-toast-notification.js.map +1 -1
  336. package/dist/components/z-toggle-button.js +3 -3
  337. package/dist/components/z-toggle-button.js.map +1 -1
  338. package/dist/components/z-toggle-switch.js +3 -3
  339. package/dist/components/z-tooltip.js +1 -1
  340. package/dist/components/z-tr.js +1 -1
  341. package/dist/components/z-visually-hidden.js +1 -1
  342. package/dist/docs/themes/index.stories.js +7 -15
  343. package/dist/docs/themes/index.stories.js.map +1 -1
  344. package/dist/esm/{index-5dff449e.js → index-0ebe53c2.js} +2 -2
  345. package/dist/esm/{index-5dff449e.js.map → index-0ebe53c2.js.map} +1 -1
  346. package/dist/esm/{index-678ea09c.js → index-7ff7476c.js} +5 -5
  347. package/dist/esm/{index-678ea09c.js.map → index-7ff7476c.js.map} +1 -1
  348. package/dist/esm/{index-04335eea.js → index-8965837f.js} +2 -2
  349. package/dist/esm/{index-04335eea.js.map → index-8965837f.js.map} +1 -1
  350. package/dist/esm/{index-9adfcd0d.js → index-dfd97928.js} +2 -2
  351. package/dist/esm/{index-9adfcd0d.js.map → index-dfd97928.js.map} +1 -1
  352. package/dist/esm/{index-dac83244.js → index-f75609c5.js} +3 -3
  353. package/dist/esm/{index-dac83244.js.map → index-f75609c5.js.map} +1 -1
  354. package/dist/esm/{index-5c567adb.js → index-f87879d9.js} +3 -3
  355. package/dist/esm/{index-5c567adb.js.map → index-f87879d9.js.map} +1 -1
  356. package/dist/esm/{index-c9fd4a10.js → index-fe87283d.js} +2 -7
  357. package/dist/esm/index-fe87283d.js.map +1 -0
  358. package/dist/esm/index.js +2 -2
  359. package/dist/esm/loader.js +1 -1
  360. package/dist/esm/{utils-1a6a53d2.js → utils-ae56fbe5.js} +2 -2
  361. package/dist/esm/{utils-1a6a53d2.js.map → utils-ae56fbe5.js.map} +1 -1
  362. package/dist/esm/{utils-cd97a95b.js → utils-c7062cf7.js} +2 -2
  363. package/dist/esm/{utils-cd97a95b.js.map → utils-c7062cf7.js.map} +1 -1
  364. package/dist/esm/web-components-library.js +1 -1
  365. package/dist/esm/z-accordion.entry.js +3 -3
  366. package/dist/esm/z-accordion.entry.js.map +1 -1
  367. package/dist/esm/z-alert.entry.js +2 -2
  368. package/dist/esm/z-alert.entry.js.map +1 -1
  369. package/dist/esm/z-anchor-navigation.entry.js +3 -3
  370. package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
  371. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  372. package/dist/esm/z-app-header_12.entry.js +19 -19
  373. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  374. package/dist/esm/z-aria-alert.entry.js +2 -2
  375. package/dist/esm/z-avatar.entry.js +3 -3
  376. package/dist/esm/z-book-card-app.entry.js +2 -2
  377. package/dist/esm/z-book-card-deprecated.entry.js +3 -3
  378. package/dist/esm/z-book-card.entry.js +45 -91
  379. package/dist/esm/z-book-card.entry.js.map +1 -1
  380. package/dist/esm/z-breadcrumb.entry.js +5 -5
  381. package/dist/esm/z-breadcrumb.entry.js.map +1 -1
  382. package/dist/esm/z-button-sort.entry.js +2 -2
  383. package/dist/esm/z-button-sort.entry.js.map +1 -1
  384. package/dist/esm/z-card.entry.js +2 -2
  385. package/dist/esm/z-card.entry.js.map +1 -1
  386. package/dist/esm/z-carousel.entry.js +3 -3
  387. package/dist/esm/z-carousel.entry.js.map +1 -1
  388. package/dist/esm/z-chip.entry.js +4 -4
  389. package/dist/esm/z-chip.entry.js.map +1 -1
  390. package/dist/esm/z-combobox.entry.js +6 -6
  391. package/dist/esm/z-combobox.entry.js.map +1 -1
  392. package/dist/esm/z-cover-hero.entry.js +3 -3
  393. package/dist/esm/z-date-picker.entry.js +3 -3
  394. package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
  395. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
  396. package/dist/esm/z-file-upload.entry.js +1 -1
  397. package/dist/esm/z-file.entry.js +2 -2
  398. package/dist/esm/z-ghost-loading.entry.js +2 -2
  399. package/dist/esm/z-ghost-loading.entry.js.map +1 -1
  400. package/dist/esm/z-info-box.entry.js +1 -1
  401. package/dist/esm/z-info-reveal.entry.js +2 -2
  402. package/dist/esm/z-logo.entry.js +1 -1
  403. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  404. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  405. package/dist/esm/z-menu-section.entry.js +2 -2
  406. package/dist/esm/z-menu.entry.js +2 -2
  407. package/dist/esm/z-myz-card-alert.entry.js +3 -3
  408. package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
  409. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  410. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  411. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  412. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  413. package/dist/esm/z-myz-card-info.entry.js +4 -4
  414. package/dist/esm/z-myz-card-info.entry.js.map +1 -1
  415. package/dist/esm/z-myz-card-list.entry.js +1 -1
  416. package/dist/esm/z-myz-card_4.entry.js +5 -5
  417. package/dist/esm/z-myz-list-item.entry.js +3 -3
  418. package/dist/esm/z-myz-list.entry.js +1 -1
  419. package/dist/esm/z-navigation-tabs.entry.js +4 -4
  420. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  421. package/dist/esm/z-notification.entry.js +2 -2
  422. package/dist/esm/z-notification.entry.js.map +1 -1
  423. package/dist/esm/z-otp.entry.js +4 -4
  424. package/dist/esm/z-otp.entry.js.map +1 -1
  425. package/dist/esm/z-pagination.entry.js +2 -2
  426. package/dist/esm/z-pagination.entry.js.map +1 -1
  427. package/dist/esm/z-panel-elem.entry.js +2 -2
  428. package/dist/esm/z-popover.entry.js +2 -2
  429. package/dist/esm/z-range-picker.entry.js +5 -5
  430. package/dist/esm/z-section-title.entry.js +2 -2
  431. package/dist/esm/z-select.entry.js +4 -4
  432. package/dist/esm/z-select.entry.js.map +1 -1
  433. package/dist/esm/z-skip-to-content.entry.js +3 -3
  434. package/dist/esm/z-slideshow.entry.js +2 -2
  435. package/dist/esm/z-stepper-item.entry.js +2 -2
  436. package/dist/esm/z-stepper-item.entry.js.map +1 -1
  437. package/dist/esm/z-stepper.entry.js +2 -2
  438. package/dist/esm/z-stepper.entry.js.map +1 -1
  439. package/dist/esm/z-table.entry.js +9 -9
  440. package/dist/esm/z-tbody.entry.js +1 -1
  441. package/dist/esm/z-td.entry.js +2 -2
  442. package/dist/esm/z-tfoot.entry.js +1 -1
  443. package/dist/esm/z-th.entry.js +2 -2
  444. package/dist/esm/z-thead.entry.js +1 -1
  445. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  446. package/dist/esm/z-toast-notification.entry.js +3 -3
  447. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  448. package/dist/esm/z-toggle-button.entry.js +3 -3
  449. package/dist/esm/z-toggle-button.entry.js.map +1 -1
  450. package/dist/esm/z-toggle-switch.entry.js +5 -5
  451. package/dist/esm/z-tooltip.entry.js +2 -2
  452. package/dist/esm/z-tr.entry.js +5 -5
  453. package/dist/esm/z-visually-hidden.entry.js +1 -1
  454. package/dist/types/beans/index.d.ts +0 -12
  455. package/dist/types/components/book-card/z-book-card/index.d.ts +28 -42
  456. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +35 -32
  457. package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +1 -1
  458. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +1 -10
  459. package/dist/types/components/z-breadcrumb/index.stories.d.ts +1 -1
  460. package/dist/types/components/z-card/index.stories.d.ts +1 -1
  461. package/dist/types/components/z-modal/index.d.ts +3 -3
  462. package/dist/types/components/z-popover/index.stories.d.ts +5 -2
  463. package/dist/types/components/z-stepper/index.stories.d.ts +3 -0
  464. package/dist/types/components.d.ts +57 -76
  465. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +1 -12
  466. package/dist/web-components-library/index.esm.js +1 -1
  467. package/dist/web-components-library/index.esm.js.map +1 -1
  468. package/{www/build/p-b22d3c7d.js → dist/web-components-library/p-00e88046.js} +2 -2
  469. package/dist/web-components-library/{p-7ef2c4ce.entry.js → p-0bf8d989.entry.js} +2 -2
  470. package/dist/web-components-library/{p-7b375bca.js → p-0cb113f9.js} +2 -2
  471. package/{www/build/p-c3c99202.js → dist/web-components-library/p-0d9f1574.js} +2 -2
  472. package/dist/web-components-library/{p-fca17517.entry.js → p-121f2960.entry.js} +2 -2
  473. package/dist/web-components-library/p-1bbf185c.js +2 -0
  474. package/dist/web-components-library/{p-7f0cbe57.entry.js → p-1c51153b.entry.js} +2 -2
  475. package/{www/build/p-5b6dd467.entry.js → dist/web-components-library/p-1cbc1b08.entry.js} +2 -2
  476. package/dist/web-components-library/{p-c7f8b628.entry.js → p-1e25d225.entry.js} +2 -2
  477. package/dist/web-components-library/p-1ece11f1.entry.js +2 -0
  478. package/dist/web-components-library/p-1ece11f1.entry.js.map +1 -0
  479. package/dist/web-components-library/{p-2dde9b84.entry.js → p-2467913e.entry.js} +2 -2
  480. package/{www/build/p-2dde9b84.entry.js.map → dist/web-components-library/p-2467913e.entry.js.map} +1 -1
  481. package/dist/web-components-library/{p-ad74941b.entry.js → p-25be56d1.entry.js} +2 -2
  482. package/dist/web-components-library/p-28c972c6.entry.js +2 -0
  483. package/dist/web-components-library/p-301b56f1.entry.js +2 -0
  484. package/dist/web-components-library/p-301b56f1.entry.js.map +1 -0
  485. package/dist/web-components-library/p-30677b5c.entry.js +2 -0
  486. package/dist/web-components-library/p-30677b5c.entry.js.map +1 -0
  487. package/{www/build/p-31c5b39d.entry.js → dist/web-components-library/p-37a34984.entry.js} +2 -2
  488. package/dist/web-components-library/{p-195c19a5.entry.js → p-390bbfd4.entry.js} +2 -2
  489. package/dist/web-components-library/p-3a42612f.entry.js +2 -0
  490. package/dist/web-components-library/{p-4f33d4f4.entry.js → p-3d8cdd34.entry.js} +2 -2
  491. package/dist/web-components-library/p-431f5871.js +2 -0
  492. package/{www/build/p-6230c432.entry.js → dist/web-components-library/p-4de706ad.entry.js} +2 -2
  493. package/dist/web-components-library/{p-f49171aa.entry.js → p-53a2995c.entry.js} +2 -2
  494. package/dist/web-components-library/{p-22d56699.entry.js → p-55fad9b1.entry.js} +2 -2
  495. package/{www/build/p-c7df6a63.entry.js → dist/web-components-library/p-5a24e268.entry.js} +2 -2
  496. package/dist/web-components-library/{p-0a149188.entry.js → p-5d7bbd82.entry.js} +2 -2
  497. package/dist/web-components-library/{p-42559870.entry.js → p-5ed87dec.entry.js} +2 -2
  498. package/dist/web-components-library/p-61a83529.entry.js +2 -0
  499. package/dist/web-components-library/{p-9187ce36.entry.js → p-6655e19b.entry.js} +2 -2
  500. package/dist/web-components-library/p-6a573d57.entry.js +2 -0
  501. package/dist/web-components-library/p-6a573d57.entry.js.map +1 -0
  502. package/dist/web-components-library/{p-bbdb67db.entry.js → p-7314c74b.entry.js} +2 -2
  503. package/dist/web-components-library/p-7b13eeff.entry.js +2 -0
  504. package/dist/web-components-library/p-7b13eeff.entry.js.map +1 -0
  505. package/dist/web-components-library/p-7ce5ca87.entry.js +2 -0
  506. package/dist/web-components-library/{p-6f5f2d56.entry.js → p-7d2ecca2.entry.js} +2 -2
  507. package/dist/web-components-library/p-7df942c9.entry.js +2 -0
  508. package/dist/web-components-library/p-7df942c9.entry.js.map +1 -0
  509. package/{www/build/p-c2af9a71.entry.js → dist/web-components-library/p-816fd6dc.entry.js} +2 -2
  510. package/dist/web-components-library/p-838b298b.entry.js +2 -0
  511. package/dist/web-components-library/p-838b298b.entry.js.map +1 -0
  512. package/dist/web-components-library/{p-2dcf53b3.entry.js → p-8c5dcab3.entry.js} +2 -2
  513. package/dist/web-components-library/p-8d043fc0.entry.js +7 -0
  514. package/dist/web-components-library/{p-2c5f77f2.entry.js.map → p-8d043fc0.entry.js.map} +1 -1
  515. package/dist/web-components-library/p-8eb94125.entry.js +2 -0
  516. package/{www/build/p-8e544914.entry.js.map → dist/web-components-library/p-8eb94125.entry.js.map} +1 -1
  517. package/dist/web-components-library/{p-d29f9574.entry.js → p-8fa23b47.entry.js} +2 -2
  518. package/{www/build/p-d29f9574.entry.js.map → dist/web-components-library/p-8fa23b47.entry.js.map} +1 -1
  519. package/dist/web-components-library/p-8fdf9453.entry.js +2 -0
  520. package/dist/web-components-library/{p-3243015c.entry.js.map → p-8fdf9453.entry.js.map} +1 -1
  521. package/{www/build/p-29a297ed.entry.js → dist/web-components-library/p-996446e2.entry.js} +2 -2
  522. package/dist/web-components-library/p-996446e2.entry.js.map +1 -0
  523. package/{www/build/p-96be6eae.entry.js → dist/web-components-library/p-99a6c92f.entry.js} +2 -2
  524. package/dist/web-components-library/{p-cdc51108.entry.js → p-9b2e5033.entry.js} +3 -3
  525. package/dist/web-components-library/p-9bad1dbc.entry.js +2 -0
  526. package/dist/web-components-library/p-9bad1dbc.entry.js.map +1 -0
  527. package/dist/web-components-library/{p-6337614a.entry.js → p-9fcc8e5d.entry.js} +2 -2
  528. package/{www/build/p-6337614a.entry.js.map → dist/web-components-library/p-9fcc8e5d.entry.js.map} +1 -1
  529. package/dist/web-components-library/p-aaab7f44.entry.js +2 -0
  530. package/dist/web-components-library/p-abc08ea3.entry.js +2 -0
  531. package/{www/build/p-475a2ba2.entry.js → dist/web-components-library/p-abd3b914.entry.js} +2 -2
  532. package/dist/web-components-library/p-acee5500.entry.js +2 -0
  533. package/dist/web-components-library/{p-0d60cc5e.entry.js → p-adb5caab.entry.js} +2 -2
  534. package/{www/build/p-0d60cc5e.entry.js.map → dist/web-components-library/p-adb5caab.entry.js.map} +1 -1
  535. package/dist/web-components-library/{p-f9fb6005.entry.js → p-ae1b5e23.entry.js} +2 -2
  536. package/{www/build/p-cc775eee.entry.js → dist/web-components-library/p-b1cbb20d.entry.js} +2 -2
  537. package/dist/web-components-library/p-b4018dab.entry.js +2 -0
  538. package/dist/web-components-library/p-b4018dab.entry.js.map +1 -0
  539. package/dist/web-components-library/{p-7091a1fc.entry.js → p-b94e0513.entry.js} +2 -2
  540. package/dist/web-components-library/{p-a1b6184f.js → p-bc408f39.js} +2 -2
  541. package/dist/web-components-library/{p-b6de174b.entry.js → p-bc57b3c3.entry.js} +2 -2
  542. package/dist/web-components-library/p-bc71a934.entry.js +2 -0
  543. package/dist/web-components-library/p-bc71a934.entry.js.map +1 -0
  544. package/dist/web-components-library/p-cfbef2c3.entry.js +2 -0
  545. package/dist/web-components-library/p-d20df54b.entry.js +2 -0
  546. package/dist/web-components-library/p-d20df54b.entry.js.map +1 -0
  547. package/{www/build/p-bd5b0bce.entry.js → dist/web-components-library/p-d8d7db0e.entry.js} +2 -2
  548. package/dist/web-components-library/{p-30170218.entry.js → p-d9fdc804.entry.js} +2 -2
  549. package/{www/build/p-8e6760d9.entry.js → dist/web-components-library/p-df97df54.entry.js} +2 -2
  550. package/dist/web-components-library/p-df9f25a1.entry.js +2 -0
  551. package/dist/web-components-library/p-df9f25a1.entry.js.map +1 -0
  552. package/dist/web-components-library/p-dfcf9936.js +2 -0
  553. package/dist/web-components-library/p-dfcf9936.js.map +1 -0
  554. package/dist/web-components-library/p-e5ce98e0.entry.js +2 -0
  555. package/dist/web-components-library/p-e5ce98e0.entry.js.map +1 -0
  556. package/dist/web-components-library/p-e7eedf8b.entry.js +2 -0
  557. package/dist/web-components-library/p-e7eedf8b.entry.js.map +1 -0
  558. package/dist/web-components-library/p-ec8f8ac8.entry.js +2 -0
  559. package/dist/web-components-library/p-ec8f8ac8.entry.js.map +1 -0
  560. package/dist/web-components-library/{p-e087f05f.js → p-f3145212.js} +2 -2
  561. package/dist/web-components-library/p-f73d8a87.entry.js +2 -0
  562. package/dist/web-components-library/p-f73d8a87.entry.js.map +1 -0
  563. package/dist/web-components-library/{p-4c462e7f.js → p-f7f2beae.js} +2 -2
  564. package/dist/web-components-library/p-f8d49a59.entry.js +2 -0
  565. package/dist/web-components-library/p-f9f98130.entry.js +2 -0
  566. package/dist/web-components-library/p-f9f98130.entry.js.map +1 -0
  567. package/dist/web-components-library/p-fad6ea09.entry.js +2 -0
  568. package/dist/web-components-library/p-fad6ea09.entry.js.map +1 -0
  569. package/dist/web-components-library/web-components-library.css +142 -175
  570. package/dist/web-components-library/web-components-library.esm.js +1 -1
  571. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  572. package/package.json +2 -1
  573. package/www/build/index.esm.js +1 -1
  574. package/www/build/index.esm.js.map +1 -1
  575. package/{dist/web-components-library/p-b22d3c7d.js → www/build/p-00e88046.js} +2 -2
  576. package/www/build/{p-7ef2c4ce.entry.js → p-0bf8d989.entry.js} +2 -2
  577. package/www/build/{p-7b375bca.js → p-0cb113f9.js} +2 -2
  578. package/{dist/web-components-library/p-c3c99202.js → www/build/p-0d9f1574.js} +2 -2
  579. package/www/build/{p-fca17517.entry.js → p-121f2960.entry.js} +2 -2
  580. package/www/build/p-1bbf185c.js +2 -0
  581. package/www/build/{p-7f0cbe57.entry.js → p-1c51153b.entry.js} +2 -2
  582. package/{dist/web-components-library/p-5b6dd467.entry.js → www/build/p-1cbc1b08.entry.js} +2 -2
  583. package/www/build/{p-c7f8b628.entry.js → p-1e25d225.entry.js} +2 -2
  584. package/www/build/p-1ece11f1.entry.js +2 -0
  585. package/www/build/p-1ece11f1.entry.js.map +1 -0
  586. package/www/build/{p-2dde9b84.entry.js → p-2467913e.entry.js} +2 -2
  587. package/{dist/web-components-library/p-2dde9b84.entry.js.map → www/build/p-2467913e.entry.js.map} +1 -1
  588. package/www/build/{p-ad74941b.entry.js → p-25be56d1.entry.js} +2 -2
  589. package/www/build/p-28c972c6.entry.js +2 -0
  590. package/www/build/p-301b56f1.entry.js +2 -0
  591. package/www/build/p-301b56f1.entry.js.map +1 -0
  592. package/www/build/p-30677b5c.entry.js +2 -0
  593. package/www/build/p-30677b5c.entry.js.map +1 -0
  594. package/{dist/web-components-library/p-31c5b39d.entry.js → www/build/p-37a34984.entry.js} +2 -2
  595. package/www/build/{p-195c19a5.entry.js → p-390bbfd4.entry.js} +2 -2
  596. package/www/build/p-3a42612f.entry.js +2 -0
  597. package/www/build/{p-4f33d4f4.entry.js → p-3d8cdd34.entry.js} +2 -2
  598. package/www/build/p-431f5871.js +2 -0
  599. package/{dist/web-components-library/p-6230c432.entry.js → www/build/p-4de706ad.entry.js} +2 -2
  600. package/www/build/{p-f49171aa.entry.js → p-53a2995c.entry.js} +2 -2
  601. package/www/build/{p-22d56699.entry.js → p-55fad9b1.entry.js} +2 -2
  602. package/{dist/web-components-library/p-c7df6a63.entry.js → www/build/p-5a24e268.entry.js} +2 -2
  603. package/www/build/{p-0a149188.entry.js → p-5d7bbd82.entry.js} +2 -2
  604. package/www/build/{p-42559870.entry.js → p-5ed87dec.entry.js} +2 -2
  605. package/www/build/p-61a83529.entry.js +2 -0
  606. package/www/build/{p-9187ce36.entry.js → p-6655e19b.entry.js} +2 -2
  607. package/www/build/p-6a573d57.entry.js +2 -0
  608. package/www/build/p-6a573d57.entry.js.map +1 -0
  609. package/www/build/{p-bbdb67db.entry.js → p-7314c74b.entry.js} +2 -2
  610. package/www/build/p-7b13eeff.entry.js +2 -0
  611. package/www/build/p-7b13eeff.entry.js.map +1 -0
  612. package/www/build/p-7ce5ca87.entry.js +2 -0
  613. package/www/build/{p-6f5f2d56.entry.js → p-7d2ecca2.entry.js} +2 -2
  614. package/www/build/p-7df942c9.entry.js +2 -0
  615. package/www/build/p-7df942c9.entry.js.map +1 -0
  616. package/{dist/web-components-library/p-c2af9a71.entry.js → www/build/p-816fd6dc.entry.js} +2 -2
  617. package/www/build/p-838b298b.entry.js +2 -0
  618. package/www/build/p-838b298b.entry.js.map +1 -0
  619. package/www/build/{p-2dcf53b3.entry.js → p-8c5dcab3.entry.js} +2 -2
  620. package/www/build/p-8d043fc0.entry.js +7 -0
  621. package/www/build/{p-2c5f77f2.entry.js.map → p-8d043fc0.entry.js.map} +1 -1
  622. package/www/build/p-8eb94125.entry.js +2 -0
  623. package/{dist/web-components-library/p-8e544914.entry.js.map → www/build/p-8eb94125.entry.js.map} +1 -1
  624. package/www/build/{p-d29f9574.entry.js → p-8fa23b47.entry.js} +2 -2
  625. package/{dist/web-components-library/p-d29f9574.entry.js.map → www/build/p-8fa23b47.entry.js.map} +1 -1
  626. package/www/build/p-8fdf9453.entry.js +2 -0
  627. package/www/build/{p-3243015c.entry.js.map → p-8fdf9453.entry.js.map} +1 -1
  628. package/{dist/web-components-library/p-29a297ed.entry.js → www/build/p-996446e2.entry.js} +2 -2
  629. package/www/build/p-996446e2.entry.js.map +1 -0
  630. package/{dist/web-components-library/p-96be6eae.entry.js → www/build/p-99a6c92f.entry.js} +2 -2
  631. package/www/build/{p-cdc51108.entry.js → p-9b2e5033.entry.js} +3 -3
  632. package/www/build/p-9bad1dbc.entry.js +2 -0
  633. package/www/build/p-9bad1dbc.entry.js.map +1 -0
  634. package/www/build/{p-6337614a.entry.js → p-9fcc8e5d.entry.js} +2 -2
  635. package/{dist/web-components-library/p-6337614a.entry.js.map → www/build/p-9fcc8e5d.entry.js.map} +1 -1
  636. package/www/build/{p-5fcad73f.css → p-a69c66e4.css} +142 -175
  637. package/www/build/p-aaab7f44.entry.js +2 -0
  638. package/www/build/p-abc08ea3.entry.js +2 -0
  639. package/{dist/web-components-library/p-475a2ba2.entry.js → www/build/p-abd3b914.entry.js} +2 -2
  640. package/www/build/p-acee5500.entry.js +2 -0
  641. package/www/build/{p-0d60cc5e.entry.js → p-adb5caab.entry.js} +2 -2
  642. package/{dist/web-components-library/p-0d60cc5e.entry.js.map → www/build/p-adb5caab.entry.js.map} +1 -1
  643. package/www/build/{p-f9fb6005.entry.js → p-ae1b5e23.entry.js} +2 -2
  644. package/{dist/web-components-library/p-cc775eee.entry.js → www/build/p-b1cbb20d.entry.js} +2 -2
  645. package/www/build/p-b4018dab.entry.js +2 -0
  646. package/www/build/p-b4018dab.entry.js.map +1 -0
  647. package/www/build/{p-7091a1fc.entry.js → p-b94e0513.entry.js} +2 -2
  648. package/www/build/{p-a1b6184f.js → p-bc408f39.js} +2 -2
  649. package/www/build/{p-b6de174b.entry.js → p-bc57b3c3.entry.js} +2 -2
  650. package/www/build/p-bc71a934.entry.js +2 -0
  651. package/www/build/p-bc71a934.entry.js.map +1 -0
  652. package/www/build/p-cfbef2c3.entry.js +2 -0
  653. package/www/build/p-d20df54b.entry.js +2 -0
  654. package/www/build/p-d20df54b.entry.js.map +1 -0
  655. package/{dist/web-components-library/p-bd5b0bce.entry.js → www/build/p-d8d7db0e.entry.js} +2 -2
  656. package/www/build/{p-30170218.entry.js → p-d9fdc804.entry.js} +2 -2
  657. package/{dist/web-components-library/p-8e6760d9.entry.js → www/build/p-df97df54.entry.js} +2 -2
  658. package/www/build/p-df9f25a1.entry.js +2 -0
  659. package/www/build/p-df9f25a1.entry.js.map +1 -0
  660. package/www/build/p-dfcf9936.js +2 -0
  661. package/www/build/p-dfcf9936.js.map +1 -0
  662. package/www/build/p-e5ce98e0.entry.js +2 -0
  663. package/www/build/p-e5ce98e0.entry.js.map +1 -0
  664. package/www/build/p-e7eedf8b.entry.js +2 -0
  665. package/www/build/p-e7eedf8b.entry.js.map +1 -0
  666. package/www/build/p-e98541af.js +2 -0
  667. package/www/build/p-ec8f8ac8.entry.js +2 -0
  668. package/www/build/p-ec8f8ac8.entry.js.map +1 -0
  669. package/www/build/{p-e087f05f.js → p-f3145212.js} +2 -2
  670. package/www/build/p-f73d8a87.entry.js +2 -0
  671. package/www/build/p-f73d8a87.entry.js.map +1 -0
  672. package/www/build/{p-4c462e7f.js → p-f7f2beae.js} +2 -2
  673. package/www/build/p-f8d49a59.entry.js +2 -0
  674. package/www/build/p-f9f98130.entry.js +2 -0
  675. package/www/build/p-f9f98130.entry.js.map +1 -0
  676. package/www/build/p-fad6ea09.entry.js +2 -0
  677. package/www/build/p-fad6ea09.entry.js.map +1 -0
  678. package/www/build/web-components-library.css +142 -175
  679. package/www/build/web-components-library.esm.js +1 -1
  680. package/www/build/web-components-library.esm.js.map +1 -1
  681. package/www/index.html +1 -1
  682. package/www/pages/book-cards.html +251 -250
  683. package/dist/cjs/index-a465bca8.js.map +0 -1
  684. package/dist/esm/index-c9fd4a10.js.map +0 -1
  685. package/dist/web-components-library/p-011fa0c8.entry.js +0 -2
  686. package/dist/web-components-library/p-011fa0c8.entry.js.map +0 -1
  687. package/dist/web-components-library/p-035807e3.entry.js +0 -2
  688. package/dist/web-components-library/p-035807e3.entry.js.map +0 -1
  689. package/dist/web-components-library/p-08d8f935.entry.js +0 -2
  690. package/dist/web-components-library/p-0e3ec0b2.entry.js +0 -2
  691. package/dist/web-components-library/p-0e3ec0b2.entry.js.map +0 -1
  692. package/dist/web-components-library/p-0fce007b.entry.js +0 -2
  693. package/dist/web-components-library/p-20e4a601.entry.js +0 -2
  694. package/dist/web-components-library/p-20e4a601.entry.js.map +0 -1
  695. package/dist/web-components-library/p-29a297ed.entry.js.map +0 -1
  696. package/dist/web-components-library/p-2aeb2a94.entry.js +0 -2
  697. package/dist/web-components-library/p-2b309f57.js +0 -2
  698. package/dist/web-components-library/p-2b309f57.js.map +0 -1
  699. package/dist/web-components-library/p-2c5f77f2.entry.js +0 -7
  700. package/dist/web-components-library/p-3243015c.entry.js +0 -2
  701. package/dist/web-components-library/p-384baa02.entry.js +0 -2
  702. package/dist/web-components-library/p-384baa02.entry.js.map +0 -1
  703. package/dist/web-components-library/p-3a6f069c.entry.js +0 -2
  704. package/dist/web-components-library/p-3a6f069c.entry.js.map +0 -1
  705. package/dist/web-components-library/p-4df7de6b.entry.js +0 -2
  706. package/dist/web-components-library/p-4df7de6b.entry.js.map +0 -1
  707. package/dist/web-components-library/p-5f04d9eb.entry.js +0 -2
  708. package/dist/web-components-library/p-5f04d9eb.entry.js.map +0 -1
  709. package/dist/web-components-library/p-6e1ba2f0.entry.js +0 -2
  710. package/dist/web-components-library/p-7095262b.entry.js +0 -2
  711. package/dist/web-components-library/p-7095262b.entry.js.map +0 -1
  712. package/dist/web-components-library/p-7779ebce.entry.js +0 -2
  713. package/dist/web-components-library/p-78626225.entry.js +0 -2
  714. package/dist/web-components-library/p-78626225.entry.js.map +0 -1
  715. package/dist/web-components-library/p-898fcd66.entry.js +0 -2
  716. package/dist/web-components-library/p-898fcd66.entry.js.map +0 -1
  717. package/dist/web-components-library/p-8e544914.entry.js +0 -2
  718. package/dist/web-components-library/p-9ec778dc.entry.js +0 -2
  719. package/dist/web-components-library/p-9ec778dc.entry.js.map +0 -1
  720. package/dist/web-components-library/p-a4ddeb5f.entry.js +0 -2
  721. package/dist/web-components-library/p-b38be247.entry.js +0 -2
  722. package/dist/web-components-library/p-b539c9be.entry.js +0 -2
  723. package/dist/web-components-library/p-b659f139.entry.js +0 -2
  724. package/dist/web-components-library/p-b659f139.entry.js.map +0 -1
  725. package/dist/web-components-library/p-b7cf2442.entry.js +0 -2
  726. package/dist/web-components-library/p-b7cf2442.entry.js.map +0 -1
  727. package/dist/web-components-library/p-bbd492d3.entry.js +0 -2
  728. package/dist/web-components-library/p-bbd492d3.entry.js.map +0 -1
  729. package/dist/web-components-library/p-c13ef624.js +0 -2
  730. package/dist/web-components-library/p-cb8aec27.entry.js +0 -2
  731. package/dist/web-components-library/p-dbcc4906.entry.js +0 -2
  732. package/dist/web-components-library/p-dbcc4906.entry.js.map +0 -1
  733. package/dist/web-components-library/p-ea36d666.entry.js +0 -2
  734. package/dist/web-components-library/p-ea36d666.entry.js.map +0 -1
  735. package/dist/web-components-library/p-fb06a5d8.entry.js +0 -2
  736. package/dist/web-components-library/p-fb06a5d8.entry.js.map +0 -1
  737. package/dist/web-components-library/p-feb84d36.js +0 -2
  738. package/www/build/p-011fa0c8.entry.js +0 -2
  739. package/www/build/p-011fa0c8.entry.js.map +0 -1
  740. package/www/build/p-035807e3.entry.js +0 -2
  741. package/www/build/p-035807e3.entry.js.map +0 -1
  742. package/www/build/p-08d8f935.entry.js +0 -2
  743. package/www/build/p-0e3ec0b2.entry.js +0 -2
  744. package/www/build/p-0e3ec0b2.entry.js.map +0 -1
  745. package/www/build/p-0fce007b.entry.js +0 -2
  746. package/www/build/p-20e4a601.entry.js +0 -2
  747. package/www/build/p-20e4a601.entry.js.map +0 -1
  748. package/www/build/p-29a297ed.entry.js.map +0 -1
  749. package/www/build/p-2aeb2a94.entry.js +0 -2
  750. package/www/build/p-2b309f57.js +0 -2
  751. package/www/build/p-2c5f77f2.entry.js +0 -7
  752. package/www/build/p-3243015c.entry.js +0 -2
  753. package/www/build/p-384baa02.entry.js +0 -2
  754. package/www/build/p-384baa02.entry.js.map +0 -1
  755. package/www/build/p-3a6f069c.entry.js +0 -2
  756. package/www/build/p-3a6f069c.entry.js.map +0 -1
  757. package/www/build/p-4df7de6b.entry.js +0 -2
  758. package/www/build/p-4df7de6b.entry.js.map +0 -1
  759. package/www/build/p-5f04d9eb.entry.js +0 -2
  760. package/www/build/p-5f04d9eb.entry.js.map +0 -1
  761. package/www/build/p-6e1ba2f0.entry.js +0 -2
  762. package/www/build/p-7095262b.entry.js +0 -2
  763. package/www/build/p-7095262b.entry.js.map +0 -1
  764. package/www/build/p-7779ebce.entry.js +0 -2
  765. package/www/build/p-78626225.entry.js +0 -2
  766. package/www/build/p-78626225.entry.js.map +0 -1
  767. package/www/build/p-898fcd66.entry.js +0 -2
  768. package/www/build/p-898fcd66.entry.js.map +0 -1
  769. package/www/build/p-8e544914.entry.js +0 -2
  770. package/www/build/p-9ec778dc.entry.js +0 -2
  771. package/www/build/p-9ec778dc.entry.js.map +0 -1
  772. package/www/build/p-a0155994.js +0 -2
  773. package/www/build/p-a4ddeb5f.entry.js +0 -2
  774. package/www/build/p-b38be247.entry.js +0 -2
  775. package/www/build/p-b539c9be.entry.js +0 -2
  776. package/www/build/p-b659f139.entry.js +0 -2
  777. package/www/build/p-b659f139.entry.js.map +0 -1
  778. package/www/build/p-b7cf2442.entry.js +0 -2
  779. package/www/build/p-b7cf2442.entry.js.map +0 -1
  780. package/www/build/p-bbd492d3.entry.js +0 -2
  781. package/www/build/p-bbd492d3.entry.js.map +0 -1
  782. package/www/build/p-c13ef624.js +0 -2
  783. package/www/build/p-cb8aec27.entry.js +0 -2
  784. package/www/build/p-dbcc4906.entry.js +0 -2
  785. package/www/build/p-dbcc4906.entry.js.map +0 -1
  786. package/www/build/p-ea36d666.entry.js +0 -2
  787. package/www/build/p-ea36d666.entry.js.map +0 -1
  788. package/www/build/p-fb06a5d8.entry.js +0 -2
  789. package/www/build/p-fb06a5d8.entry.js.map +0 -1
  790. package/www/build/p-feb84d36.js +0 -2
  791. /package/dist/web-components-library/{p-b22d3c7d.js.map → p-00e88046.js.map} +0 -0
  792. /package/dist/web-components-library/{p-7ef2c4ce.entry.js.map → p-0bf8d989.entry.js.map} +0 -0
  793. /package/dist/web-components-library/{p-7b375bca.js.map → p-0cb113f9.js.map} +0 -0
  794. /package/dist/web-components-library/{p-c3c99202.js.map → p-0d9f1574.js.map} +0 -0
  795. /package/dist/web-components-library/{p-fca17517.entry.js.map → p-121f2960.entry.js.map} +0 -0
  796. /package/dist/web-components-library/{p-c13ef624.js.map → p-1bbf185c.js.map} +0 -0
  797. /package/dist/web-components-library/{p-7f0cbe57.entry.js.map → p-1c51153b.entry.js.map} +0 -0
  798. /package/dist/web-components-library/{p-5b6dd467.entry.js.map → p-1cbc1b08.entry.js.map} +0 -0
  799. /package/dist/web-components-library/{p-c7f8b628.entry.js.map → p-1e25d225.entry.js.map} +0 -0
  800. /package/dist/web-components-library/{p-ad74941b.entry.js.map → p-25be56d1.entry.js.map} +0 -0
  801. /package/dist/web-components-library/{p-7779ebce.entry.js.map → p-28c972c6.entry.js.map} +0 -0
  802. /package/dist/web-components-library/{p-31c5b39d.entry.js.map → p-37a34984.entry.js.map} +0 -0
  803. /package/dist/web-components-library/{p-195c19a5.entry.js.map → p-390bbfd4.entry.js.map} +0 -0
  804. /package/dist/web-components-library/{p-0fce007b.entry.js.map → p-3a42612f.entry.js.map} +0 -0
  805. /package/dist/web-components-library/{p-4f33d4f4.entry.js.map → p-3d8cdd34.entry.js.map} +0 -0
  806. /package/dist/web-components-library/{p-feb84d36.js.map → p-431f5871.js.map} +0 -0
  807. /package/dist/web-components-library/{p-6230c432.entry.js.map → p-4de706ad.entry.js.map} +0 -0
  808. /package/dist/web-components-library/{p-f49171aa.entry.js.map → p-53a2995c.entry.js.map} +0 -0
  809. /package/dist/web-components-library/{p-22d56699.entry.js.map → p-55fad9b1.entry.js.map} +0 -0
  810. /package/dist/web-components-library/{p-c7df6a63.entry.js.map → p-5a24e268.entry.js.map} +0 -0
  811. /package/dist/web-components-library/{p-0a149188.entry.js.map → p-5d7bbd82.entry.js.map} +0 -0
  812. /package/dist/web-components-library/{p-42559870.entry.js.map → p-5ed87dec.entry.js.map} +0 -0
  813. /package/dist/web-components-library/{p-2aeb2a94.entry.js.map → p-61a83529.entry.js.map} +0 -0
  814. /package/dist/web-components-library/{p-9187ce36.entry.js.map → p-6655e19b.entry.js.map} +0 -0
  815. /package/dist/web-components-library/{p-bbdb67db.entry.js.map → p-7314c74b.entry.js.map} +0 -0
  816. /package/dist/web-components-library/{p-cb8aec27.entry.js.map → p-7ce5ca87.entry.js.map} +0 -0
  817. /package/dist/web-components-library/{p-6f5f2d56.entry.js.map → p-7d2ecca2.entry.js.map} +0 -0
  818. /package/dist/web-components-library/{p-c2af9a71.entry.js.map → p-816fd6dc.entry.js.map} +0 -0
  819. /package/dist/web-components-library/{p-2dcf53b3.entry.js.map → p-8c5dcab3.entry.js.map} +0 -0
  820. /package/dist/web-components-library/{p-96be6eae.entry.js.map → p-99a6c92f.entry.js.map} +0 -0
  821. /package/dist/web-components-library/{p-cdc51108.entry.js.map → p-9b2e5033.entry.js.map} +0 -0
  822. /package/dist/web-components-library/{p-6e1ba2f0.entry.js.map → p-aaab7f44.entry.js.map} +0 -0
  823. /package/dist/web-components-library/{p-a4ddeb5f.entry.js.map → p-abc08ea3.entry.js.map} +0 -0
  824. /package/dist/web-components-library/{p-475a2ba2.entry.js.map → p-abd3b914.entry.js.map} +0 -0
  825. /package/dist/web-components-library/{p-08d8f935.entry.js.map → p-acee5500.entry.js.map} +0 -0
  826. /package/dist/web-components-library/{p-f9fb6005.entry.js.map → p-ae1b5e23.entry.js.map} +0 -0
  827. /package/dist/web-components-library/{p-cc775eee.entry.js.map → p-b1cbb20d.entry.js.map} +0 -0
  828. /package/dist/web-components-library/{p-7091a1fc.entry.js.map → p-b94e0513.entry.js.map} +0 -0
  829. /package/dist/web-components-library/{p-a1b6184f.js.map → p-bc408f39.js.map} +0 -0
  830. /package/dist/web-components-library/{p-b6de174b.entry.js.map → p-bc57b3c3.entry.js.map} +0 -0
  831. /package/dist/web-components-library/{p-b38be247.entry.js.map → p-cfbef2c3.entry.js.map} +0 -0
  832. /package/dist/web-components-library/{p-bd5b0bce.entry.js.map → p-d8d7db0e.entry.js.map} +0 -0
  833. /package/dist/web-components-library/{p-30170218.entry.js.map → p-d9fdc804.entry.js.map} +0 -0
  834. /package/dist/web-components-library/{p-8e6760d9.entry.js.map → p-df97df54.entry.js.map} +0 -0
  835. /package/dist/web-components-library/{p-e087f05f.js.map → p-f3145212.js.map} +0 -0
  836. /package/dist/web-components-library/{p-4c462e7f.js.map → p-f7f2beae.js.map} +0 -0
  837. /package/dist/web-components-library/{p-b539c9be.entry.js.map → p-f8d49a59.entry.js.map} +0 -0
  838. /package/www/build/{p-b22d3c7d.js.map → p-00e88046.js.map} +0 -0
  839. /package/www/build/{p-7ef2c4ce.entry.js.map → p-0bf8d989.entry.js.map} +0 -0
  840. /package/www/build/{p-7b375bca.js.map → p-0cb113f9.js.map} +0 -0
  841. /package/www/build/{p-c3c99202.js.map → p-0d9f1574.js.map} +0 -0
  842. /package/www/build/{p-fca17517.entry.js.map → p-121f2960.entry.js.map} +0 -0
  843. /package/www/build/{p-c13ef624.js.map → p-1bbf185c.js.map} +0 -0
  844. /package/www/build/{p-7f0cbe57.entry.js.map → p-1c51153b.entry.js.map} +0 -0
  845. /package/www/build/{p-5b6dd467.entry.js.map → p-1cbc1b08.entry.js.map} +0 -0
  846. /package/www/build/{p-c7f8b628.entry.js.map → p-1e25d225.entry.js.map} +0 -0
  847. /package/www/build/{p-ad74941b.entry.js.map → p-25be56d1.entry.js.map} +0 -0
  848. /package/www/build/{p-7779ebce.entry.js.map → p-28c972c6.entry.js.map} +0 -0
  849. /package/www/build/{p-31c5b39d.entry.js.map → p-37a34984.entry.js.map} +0 -0
  850. /package/www/build/{p-195c19a5.entry.js.map → p-390bbfd4.entry.js.map} +0 -0
  851. /package/www/build/{p-0fce007b.entry.js.map → p-3a42612f.entry.js.map} +0 -0
  852. /package/www/build/{p-4f33d4f4.entry.js.map → p-3d8cdd34.entry.js.map} +0 -0
  853. /package/www/build/{p-feb84d36.js.map → p-431f5871.js.map} +0 -0
  854. /package/www/build/{p-6230c432.entry.js.map → p-4de706ad.entry.js.map} +0 -0
  855. /package/www/build/{p-f49171aa.entry.js.map → p-53a2995c.entry.js.map} +0 -0
  856. /package/www/build/{p-22d56699.entry.js.map → p-55fad9b1.entry.js.map} +0 -0
  857. /package/www/build/{p-c7df6a63.entry.js.map → p-5a24e268.entry.js.map} +0 -0
  858. /package/www/build/{p-0a149188.entry.js.map → p-5d7bbd82.entry.js.map} +0 -0
  859. /package/www/build/{p-42559870.entry.js.map → p-5ed87dec.entry.js.map} +0 -0
  860. /package/www/build/{p-2aeb2a94.entry.js.map → p-61a83529.entry.js.map} +0 -0
  861. /package/www/build/{p-9187ce36.entry.js.map → p-6655e19b.entry.js.map} +0 -0
  862. /package/www/build/{p-bbdb67db.entry.js.map → p-7314c74b.entry.js.map} +0 -0
  863. /package/www/build/{p-cb8aec27.entry.js.map → p-7ce5ca87.entry.js.map} +0 -0
  864. /package/www/build/{p-6f5f2d56.entry.js.map → p-7d2ecca2.entry.js.map} +0 -0
  865. /package/www/build/{p-c2af9a71.entry.js.map → p-816fd6dc.entry.js.map} +0 -0
  866. /package/www/build/{p-2dcf53b3.entry.js.map → p-8c5dcab3.entry.js.map} +0 -0
  867. /package/www/build/{p-96be6eae.entry.js.map → p-99a6c92f.entry.js.map} +0 -0
  868. /package/www/build/{p-cdc51108.entry.js.map → p-9b2e5033.entry.js.map} +0 -0
  869. /package/www/build/{p-6e1ba2f0.entry.js.map → p-aaab7f44.entry.js.map} +0 -0
  870. /package/www/build/{p-a4ddeb5f.entry.js.map → p-abc08ea3.entry.js.map} +0 -0
  871. /package/www/build/{p-475a2ba2.entry.js.map → p-abd3b914.entry.js.map} +0 -0
  872. /package/www/build/{p-08d8f935.entry.js.map → p-acee5500.entry.js.map} +0 -0
  873. /package/www/build/{p-f9fb6005.entry.js.map → p-ae1b5e23.entry.js.map} +0 -0
  874. /package/www/build/{p-cc775eee.entry.js.map → p-b1cbb20d.entry.js.map} +0 -0
  875. /package/www/build/{p-7091a1fc.entry.js.map → p-b94e0513.entry.js.map} +0 -0
  876. /package/www/build/{p-a1b6184f.js.map → p-bc408f39.js.map} +0 -0
  877. /package/www/build/{p-b6de174b.entry.js.map → p-bc57b3c3.entry.js.map} +0 -0
  878. /package/www/build/{p-b38be247.entry.js.map → p-cfbef2c3.entry.js.map} +0 -0
  879. /package/www/build/{p-bd5b0bce.entry.js.map → p-d8d7db0e.entry.js.map} +0 -0
  880. /package/www/build/{p-30170218.entry.js.map → p-d9fdc804.entry.js.map} +0 -0
  881. /package/www/build/{p-8e6760d9.entry.js.map → p-df97df54.entry.js.map} +0 -0
  882. /package/www/build/{p-e087f05f.js.map → p-f3145212.js.map} +0 -0
  883. /package/www/build/{p-4c462e7f.js.map → p-f7f2beae.js.map} +0 -0
  884. /package/www/build/{p-b539c9be.entry.js.map → p-f8d49a59.entry.js.map} +0 -0
@@ -21,7 +21,7 @@ export class ZMyzCardDictionary {
21
21
  this.cardFlipped.emit(showBack);
22
22
  }
23
23
  render() {
24
- return (h("div", { key: 'af0f476b5b7b6530250d7d4d89ef7943937e9d50' }, h("z-myz-card", { key: 'bd089d9975ec7df7c8b7b86649c1898589802ded' }, h("z-myz-card-header", { key: '5a767aeb4eef28f25dd9fc2d3c39677582e77b38', titolo: this.name }), h("div", { key: '263946e30af18863e91ba5345eac8a22d7b1b3f4', class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { key: 'adc17fefcf0d85671e31b153e933296dfa5f4ca4', class: "front" }, h("z-myz-card-body", { key: '0e731cfc9fd714e2e1db3e8c0340445b6d5b5181' }, h("z-myz-card-cover", { key: '5f23cebccbbae1b038afb16a4488c51e679db2ee', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { key: 'e8555a0bb42a612fbf873e9abf53b1a7edd97c01', 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: '4dc013ce1de689f0a5789339c559d7d229eefd1b', class: "back" }, h("slot", { key: '781c844a1706cf47595db8b0a145c808f3fcb38f', name: "info" }))), h("slot", { key: 'a4e4fcd08625be6b556f705114e1a82bde5e3074' }))));
24
+ return (h("div", { key: 'dec9e019dff853325df2791dbc8f9ccfa0c16b4b' }, h("z-myz-card", { key: 'ac5c0b4f9e843d041dcc1e0ab2c9a9067f9f89f1' }, h("z-myz-card-header", { key: '045d147b72dd0bc7cef31dc28b15d3dbfae3b195', titolo: this.name }), h("div", { key: '605fe32c65ea87a70bbeb83166e16339e5ef0339', class: `content ${this.flipped ? "flipped" : ""}` }, h("div", { key: '532f6218ccd40cd37cfcad2f1937e057bf444883', class: "front" }, h("z-myz-card-body", { key: '6897b15bcc0706e5be79e0e99f5b679f985fab6e' }, h("z-myz-card-cover", { key: 'c728d2567cf31ccee1f530be4e8adf657f5ef0f7', slot: "cover", titolo: this.name, img: this.cover, faded: this.disabled })), h("z-button", { key: '1d76abbf8fdaea98ce47b52676a5724e0ec83ce0', 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: '4ec8567ea3c6bcca729e50daeb0c166fe89faab0', class: "back" }, h("slot", { key: 'b00eb1879b01242b91e1ec0ed8939b535c21c95b', name: "info" }))), h("slot", { key: '6d4fb4ae5b935ec945189bc714d3b6a07aade5f9' }))));
25
25
  }
26
26
  static get is() { return "z-myz-card-dictionary"; }
27
27
  static get encapsulation() { return "shadow"; }
@@ -59,7 +59,7 @@ export class ZMyzCardFooter {
59
59
  return this.host.querySelector("[slot=list] > li a");
60
60
  }
61
61
  render() {
62
- return (h("div", { key: 'dadb29ba9e0aa0037a90d8e2564fa2a203c9898f', class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { key: '3fa010af7929efef3d957b5855745b6153a93ddd', class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { key: 'ebba12731f21021f4fe5854e487f0a24eda0e22b', class: "toggle" }, h("slot", { key: 'c241b4d1182ca8cefbfdfcb9d2db294299c3a67c', name: "toggle" })), this.titolo && h("p", { key: '83683f8a76d1ff998aca1f79cf5e219a310d581c', class: { "custom-content": this.customContent } }, this.titolo), h("div", { key: '1903067d261cd4a9d12726d463d6b036c663402b', class: { "content": true, "custom-content": this.customContent } }, h("div", { key: '346c8e222c82ffed27b0108d2f57f921705e7f5e' }, h("p", { key: '396ff63071b02d1cbab2afbac1abff5fa197d70a', class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { key: '86444e75181b607ef3e28f2b13a0fa999fe88b94', title: this.getTitleAuthors() }, h("span", { key: '43e9fb0ceb195e3b2583de1b077b95ae88f875bf', "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { key: '2ce4b6829e57f254abd3ef53420a2983d872fcd8', class: "year-isbn" }, h("span", { key: '0b0a3ee12129daa10a5c145ad2c91e2ed6a2d2de', class: "isbn" }, h("span", { key: 'eb1c78693724c737d6de9612c5cfbe774c4b67e4' }, h("span", { key: '4efbbec95933b2dd5eec936b536b1692d1348b44', "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { key: '4d697bf96ce3b881fda2a4976229911e8876a281', class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { key: '0f8a194c7f5b44e306a1150a2196fdf63ae69e6d', name: "list" })))), this.customContent && h("slot", { key: '6e93d147ad70517df5d17a9e1f055a987eab0680', name: "content" })));
62
+ return (h("div", { key: '7e1e88c549de18f100169764c439a739bab652bc', class: Object.assign(Object.assign({}, this.retrieveClass()), { wrapper: true }) }, h("footer", { key: '08ae32c64c2be78220f5d1a529a1f39a592bcc37', class: this.retrieveClass(), onTransitionEnd: (e) => this.footerTransitionHandler(e) }, h("span", { key: 'bc013f9dba8da48590830ca771df55ddb2a6bb20', class: "toggle" }, h("slot", { key: 'ebb17a1b49e279f82a364a48216671f08f899cac', name: "toggle" })), this.titolo && h("p", { key: 'afa7278cfe07a4041463e259de123b667c0710e7', class: { "custom-content": this.customContent } }, this.titolo), h("div", { key: '80a9c51761d50fe75a23c652577ec0d830b15968', class: { "content": true, "custom-content": this.customContent } }, h("div", { key: '7e482d37e3916a6ae89e65f9fc407da9b94ead77' }, h("p", { key: '7008a3a13fa51d705132e410963856ab65289610', class: "authors", ref: (el) => (this.ellipsisAuthors = el) }, h("span", { key: 'fbb8f94cd732dff79a3b3fb284cb2863899701d4', title: this.getTitleAuthors() }, h("span", { key: '0dc03b26ebe42f39b92d49e0c057551dbcffcfa2', "aria-description": "Autori", class: "bold" }, this.autori))), h("p", { key: '7bb05b3b487b84d20a86c864c33cea8808ef4863', class: "year-isbn" }, h("span", { key: '827369de2b09f3986cf8f2deefc8d8ff58944cd8', class: "isbn" }, h("span", { key: '32088f7d1dfc085317507a48261cd9c332b7a62e' }, h("span", { key: '6f4d5be7fef2c88972e3a8edd2524dfe2100c757', "aria-description": "ISBN edizione cartacea", class: "bold" }, this.isbn), " ", "(ed. cartacea)")))), h("div", { key: 'd7690231a5d02f16d0ba169716e700c16ae50c0a', class: `slot-handler ${this.isOpen ? "visible" : "hidden"}` }, h("slot", { key: 'c0ed6abff2a061e539f31bbb5c27d64b05fc3e29', name: "list" })))), this.customContent && h("slot", { key: '6e2818078c19ba51b5053046207c70f4de121e5c', name: "content" })));
63
63
  }
64
64
  static get is() { return "z-myz-card-footer"; }
65
65
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ import { h } from "@stencil/core";
5
5
  */
6
6
  export class ZMyzCardFooterSections {
7
7
  render() {
8
- return (h("div", { key: '532a42d5e795737e7547907e2ae11424fbdb88f7' }, h("footer", { key: 'bad64fa0a4dfc326265b0e64c8766f422324a00e' }, h("div", { key: '8834650721258ec6a4921d7f9d62c05489640b9b', class: "top" }, h("slot", { key: '422b5f0b00a31edf8bb0541d84fe0e7bde1851ee', name: "top" })), h("div", { key: '0191d84ded4e380f2a0f51bf7ee453d49295de63', class: "bottom" }, h("slot", { key: '09f38cd1eb44584cef7509f7208d6be4d797bedb', name: "bottom" })))));
8
+ return (h("div", { key: '8227e8a3fb05ffd245f4ebeabf9577131c10f9dd' }, h("footer", { key: '5e47ae5e591e1029259476443a4e29d6fb00aa4b' }, h("div", { key: 'e60f7a8e5d942bde5f1cd2a11dd646cdb3c70979', class: "top" }, h("slot", { key: '272ec0ef75c2b08968a9d41cf2e640963589ee60', name: "top" })), h("div", { key: '8337c7de6526875c19df401872475ac156b132c6', class: "bottom" }, h("slot", { key: '88ef4044500b62b4f9077bbde313ba1602950b56', name: "bottom" })))));
9
9
  }
10
10
  static get is() { return "z-myz-card-footer-sections"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -30,7 +30,7 @@ export class ZMyzCardHeader {
30
30
  };
31
31
  }
32
32
  render() {
33
- return (h("header", { key: '4dd5f09942f07568a180ac4bc2079aa3ebb5caf5', class: this.retrieveClass() }, h("slot", { key: '09f9e26d737c37eb81b0f88430baeb731275a118', name: "aria-heading" }), h("span", { key: 'a6401d5728990d95a9963ef9feb4496accfb9676', class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { key: '98e8d0b79de7170ac81aceed3fe07275b80f7d08', name: "icon" })));
33
+ return (h("header", { key: '3422ba448f2cc66f60a9f97dcd89cdbf2d09e57d', class: this.retrieveClass() }, h("slot", { key: '77612ef40828b7c059df6e3d33caa087db791ef2', name: "aria-heading" }), h("span", { key: '7abbd15d8fb818732fffe893a63c4a8a7187252a', class: "card-title", ref: (el) => (this.ellipsis = el), title: this.getTitle() }, this.titolo), h("slot", { key: '2dac5d5b35ca5681dfb47bb12b0fb589ba84a8b7', name: "icon" })));
34
34
  }
35
35
  static get is() { return "z-myz-card-header"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@ export class ZMyzCardIcon {
6
6
  this.ariaLabel = "";
7
7
  }
8
8
  render() {
9
- return (h("button", { key: '976b2aee8131d78cb106eded23053f49f1feae3a', disabled: this.isdisabled, "aria-label": this.ariaLabel }, h("span", { key: 'ee919ad9fb6abc7a15fff984a5f46395354ed2b2' }, h("z-icon", { key: 'd0ff29cd1398bbfb0b0e68652c0b30b764f91398', name: this.icon, width: 16, height: 16 }))));
9
+ return (h("button", { key: 'a2e73ee0bef21c69568bf7194619554ecb275fe6', disabled: this.isdisabled, "aria-label": this.ariaLabel }, h("span", { key: 'e43b494a6ed1c2a83911faa922306f18267d0108' }, h("z-icon", { key: 'a4bf1f641a538225cde7b35c7e966f006d1f6011', name: this.icon, width: 16, height: 16 }))));
10
10
  }
11
11
  static get is() { return "z-myz-card-icon"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -114,7 +114,7 @@ export class ZMyzCardInfo {
114
114
  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)));
115
115
  }
116
116
  render() {
117
- return (h("div", { key: '0f8111d48191f306b232f8b9e167aeffced4674b' }, this.renderCloseIcon(), h("div", { key: '57b77f2f3ad645cebb44d6a247d93c1e82b8f281', class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), h("div", { key: '226bd8e804cecfee34ff748a5d1936e68f6b2307', class: "cta-wrapper" }, h("slot", { key: '2fc25a5fd61a0a04a44ceabb3372265424708f5f' }))));
117
+ return (h("div", { key: 'd2d11277dedc7aac60a70a8f6bee7d4f8b663bda' }, this.renderCloseIcon(), h("div", { key: '9215c01b7e6310824249571e44cf19d1ca92cbca', class: "content-wrapper", ref: (el) => (this.contentWrapper = el) }, this.renderGeneralSection(), this.renderTooltip(), this.renderOnlineLicenseSection(), this.renderOfflineLicenseSection()), h("div", { key: '8214fba912701de470ec785ebdac94b91d93df57', class: "cta-wrapper" }, h("slot", { key: '13a1aaaafb8554fc2b8010901a273d19821f5155' }))));
118
118
  }
119
119
  static get is() { return "z-myz-card-info"; }
120
120
  static get encapsulation() { return "shadow"; }
@@ -81,7 +81,7 @@
81
81
  }
82
82
 
83
83
  :host > div > div.content-wrapper > section > span.license-heading > span.expiring {
84
- color: var(--color-warning01);
84
+ color: var(--color-hover-warning);
85
85
  font-size: 12px;
86
86
  font-weight: 600;
87
87
  }
@@ -23,7 +23,7 @@ export class ZMyzCardList {
23
23
  });
24
24
  }
25
25
  render() {
26
- return h("ul", { key: '01d6967e96c5ab8f9acebbd0c107fb0168ee5c57' }, this.renderList(JSON.parse(this.listdata)));
26
+ return h("ul", { key: '0d3caeaf48fe240dc022cf3793b8665180a138c6' }, this.renderList(JSON.parse(this.listdata)));
27
27
  }
28
28
  static get is() { return "z-myz-card-list"; }
29
29
  static get encapsulation() { return "shadow"; }
@@ -17,7 +17,7 @@ export class ZMyzList {
17
17
  }
18
18
  render() {
19
19
  const lastElem = this.list ? this.list.length - 1 : -1;
20
- return (h("ul", { key: 'c7777e913e0359afc93a18a2152cd977fcbcb813' }, this.list &&
20
+ return (h("ul", { key: 'e65db0c3f491977cd3b4aadd4c4ab3becc05465d' }, this.list &&
21
21
  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 })))));
22
22
  }
23
23
  static get is() { return "z-myz-list"; }
@@ -20,7 +20,7 @@ export class ZMyzListItem {
20
20
  }
21
21
  render() {
22
22
  const linkId = this.listitemid ? `link_${this.listitemid}` : "";
23
- return (h("li", { key: 'b96b5f850ed4f955ef40eafdedfabe71c942e886', 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: '2ca05ec788e9ff591ad7b1cdbb5517b32d5681a9', class: this.underlined && "border" }, this.icon && h("z-icon", { key: 'e573f22f4797e9420e9a460a4aa4c793be06c14f', 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: '6efed7b8ca33c2dcb7402555330443244340bae5' }))));
23
+ return (h("li", { key: '7105fcf647d9bd55a414124a0fbe6c1da57159b3', 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: 'acc98e5d7517504e4848119c1c817665d6eb58d0', class: this.underlined && "border" }, this.icon && h("z-icon", { key: '38a661f91ac67fe37d604525e4113999bc35e001', 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: '960f33f047c569495fb543ae31861fb257830c8c' }))));
24
24
  }
25
25
  static get is() { return "z-myz-list-item"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -7,7 +7,7 @@ export class ZAlert {
7
7
  this.type = undefined;
8
8
  }
9
9
  render() {
10
- return (h("div", { key: '5fd2b297a4ab7e426d50f8ef36d5729df579786f', class: this.type }, h("slot", { key: 'cd24f83bcb38d4bbbce5f3b115aa18e217c402b2' })));
10
+ return (h("div", { key: '55596466792df93c7d818670c79db5263d9f1867', class: this.type }, h("slot", { key: '13e0a7a98e22672e462aace35a6b818463a7a17d' })));
11
11
  }
12
12
  static get is() { return "z-alert"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -13,16 +13,16 @@
13
13
  }
14
14
 
15
15
  :host > .success {
16
- background: var(--color-success-inverse);
17
- fill: var(--color-success01);
16
+ background: var(--color-inverse-success);
17
+ fill: var(--color-default-success);
18
18
  }
19
19
 
20
20
  :host > .warning {
21
- background: var(--color-warning-inverse);
22
- fill: var(--color-warning01);
21
+ background: var(--color-inverse-warning);
22
+ fill: var(--color-default-warning);
23
23
  }
24
24
 
25
25
  :host > .error {
26
- background: var(--color-error-inverse);
27
- fill: var(--color-error01);
26
+ background: var(--color-inverse-error);
27
+ fill: var(--color-default-error);
28
28
  }
@@ -14,7 +14,7 @@ export class ZOtp {
14
14
  this.otpRef = [...Array(this.inputNum)];
15
15
  }
16
16
  render() {
17
- return (h("div", { key: '94853e28f7436d7d36a714903652859b8946d815', class: "otp-container" }, h("div", { key: '064503a5920f0b6db493b0a0514019674647ce65', class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
17
+ return (h("div", { key: '1bd9b3d70957e51d840124cfb043bf4d67d5041f', class: "otp-container" }, h("div", { key: '319ee96fb8f0c226bfc50da230c68c25cdaf8689', class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
18
18
  if (e.keyCode > 47) {
19
19
  this.otpRef[i].value = "";
20
20
  }
@@ -25,7 +25,7 @@ export class ZOtp {
25
25
  }, onInput: (e) => {
26
26
  this.otp[i] = e.target.value;
27
27
  this.emitInputChange(this.otp.join(""));
28
- }, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: '915a9e80bb6c9e775e029fa6c2680f9fe4720f4b', message: this.message, status: this.status })));
28
+ }, type: "text", minlength: "1", maxlength: "1", autoComplete: "off", ref: (el) => (this.otpRef[i] = el) })))), h("z-input-message", { key: 'adede57e3fb459da18620c6e31ff8d26af0149aa', message: this.message, status: this.status })));
29
29
  }
30
30
  static get is() { return "z-otp"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -28,8 +28,8 @@ input {
28
28
 
29
29
  input.error {
30
30
  border: 1px solid;
31
- border-color: var(--color-error01);
32
- background-color: var(--color-error-inverse);
31
+ border-color: var(--color-default-error);
32
+ background-color: var(--color-inverse-error);
33
33
  border-radius: 4px;
34
34
  }
35
35
 
@@ -1,6 +1,6 @@
1
1
  export { getAssetPath, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
2
2
  import { c as colorFromId } from './utils.js';
3
- export { $ as AccordionVariant, o as AlertType, A as AvatarSize, Y as BookCardDeprecatedVariant, _ as BookCardTagStatus, X as BookCardVariant, V as BreadcrumbHomepageVariant, U as BreadcrumbPathStyle, d as ButtonSize, c as ButtonType, B as ButtonVariant, C as CardVariant, Q as CarouselArrowsPosition, R as CarouselProgressMode, e as ControlSize, M as CoverHeroContentPosition, J as CoverHeroVariant, p as Device, h as DividerOrientation, D as DividerSize, j as ExpandableListButtonAlign, E as ExpandableListStyle, H as InfoRevealPosition, f as InputStatus, I as InputType, g as KeyboardCode, K as KeyboardKeyCode, k as LabelPosition, L as LicenseType, l as ListDividerType, i as ListSize, m as ListType, b as NavigationTabsKeyboardEvents, N as NavigationTabsOrientation, a as NavigationTabsSize, n as NotificationType, O as OffCanvasVariant, P as PopoverPosition, S as SortDirection, T as ThemeVariant, q as ToastNotification, s as ToastNotificationPosition, r as ToastNotificationTransition, u as TransitionDirection, W as VisibilityCondition, t as ZAriaAlertMode, w as ZChipType, y as ZDatePickerMode, z as ZDatePickerModeValue, F as ZDatePickerPosition, v as ZFileUploadType, G as ZRangePickerMode, x as ZSectionTitleDividerPosition, Z as ZTableRowExpandedType } from './index2.js';
3
+ export { _ as AccordionVariant, o as AlertType, A as AvatarSize, Y as BookCardDeprecatedVariant, X as BookCardVariant, V as BreadcrumbHomepageVariant, U as BreadcrumbPathStyle, d as ButtonSize, c as ButtonType, B as ButtonVariant, C as CardVariant, Q as CarouselArrowsPosition, R as CarouselProgressMode, e as ControlSize, M as CoverHeroContentPosition, J as CoverHeroVariant, p as Device, h as DividerOrientation, D as DividerSize, j as ExpandableListButtonAlign, E as ExpandableListStyle, H as InfoRevealPosition, f as InputStatus, I as InputType, g as KeyboardCode, K as KeyboardKeyCode, k as LabelPosition, L as LicenseType, l as ListDividerType, i as ListSize, m as ListType, b as NavigationTabsKeyboardEvents, N as NavigationTabsOrientation, a as NavigationTabsSize, n as NotificationType, O as OffCanvasVariant, P as PopoverPosition, S as SortDirection, T as ThemeVariant, q as ToastNotification, s as ToastNotificationPosition, r as ToastNotificationTransition, u as TransitionDirection, W as VisibilityCondition, t as ZAriaAlertMode, w as ZChipType, y as ZDatePickerMode, z as ZDatePickerModeValue, F as ZDatePickerPosition, v as ZFileUploadType, G as ZRangePickerMode, x as ZSectionTitleDividerPosition, Z as ZTableRowExpandedType } from './index2.js';
4
4
  export { ZAccordion, defineCustomElement as defineCustomElementZAccordion } from './z-accordion.js';
5
5
  export { ZAlert, defineCustomElement as defineCustomElementZAlert } from './z-alert.js';
6
6
  export { ZAnchorNavigation, defineCustomElement as defineCustomElementZAnchorNavigation } from './z-anchor-navigation.js';
@@ -49,7 +49,7 @@ const ZInfoReveal = /*@__PURE__*/ proxyCustomElement(class ZInfoReveal extends H
49
49
  }
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: '7098ea723139c78a7ecca1bbc924d5e17925bdc5', open: this.open }, h("button", { key: '8f798611b1069939b18ab3bdc9c197bec5fc6d20', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && h("z-icon", { key: '2db6409fe7db09738f83135e58300c235ce988db', name: this.icon }), this.label && h("span", { key: '71ca110cd12256dcfe5e7b37026537fb5ea324b8', class: "z-info-reveal-label" }, this.label)), h("div", { key: '1385b98d28160c1e5578d47f63ba37f26e63eeb8', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, h("slot", { key: 'dbbcff160f1dceaa336362f5a43436d57f357e01' }), h("button", { key: 'e6f4778d55de1de95fa3d509ed01c3b555ff225b', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, h("z-icon", { key: '51b13036bb93efce68db3f0cbf5d9f718ddcb266', name: "multiply" })))));
52
+ return (h(Host, { key: '8e5a375431679fcf9219cbde4270e9fcab1df7c8', open: this.open }, h("button", { key: '97d2fd4aac009ea0616f720dca6ad728620f7186', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && h("z-icon", { key: 'fbd4e69149dd005940be5349fc1d2041c661638f', name: this.icon }), this.label && h("span", { key: 'df8beb235d6828aeb4ab79536f448d7c40f3932f', class: "z-info-reveal-label" }, this.label)), h("div", { key: '6f62c1a2ca907b29db9e0ac378c81683ae6be0d6', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, h("slot", { key: 'fc2924de0815a8d99f21b009a9aae2ae714494cc' }), h("button", { key: '04f599f951cae4d1f94d510b5233a58e9719846b', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, h("z-icon", { key: 'bd9890b640631d7d0dfa64b0bdc84a06dbdb21d6', name: "multiply" })))));
53
53
  }
54
54
  get host() { return this; }
55
55
  static get watchers() { return {
@@ -4,7 +4,7 @@ import { r as randomId, b as boolean } from './utils.js';
4
4
  import { d as defineCustomElement$2 } from './index9.js';
5
5
  import { d as defineCustomElement$1 } from './index12.js';
6
6
 
7
- const stylesCss = ".sc-z-input-h{display:inline-block;width:inherit}.sc-z-input-h *.sc-z-input{box-sizing:border-box}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input{background:var(--color-form-background);fill:var(--color-form-default-icon);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}input.sc-z-input,.textarea-wrapper.sc-z-input{border:var(--border-size-small) solid var(--color-form-surface04);border-radius:var(--border-radius-small);color:var(--color-form-default-text)}[size=\"small\"].sc-z-input-h input.sc-z-input,[size=\"small\"].sc-z-input-h textarea.sc-z-input,[size=\"x-small\"].sc-z-input-h input.sc-z-input,[size=\"x-small\"].sc-z-input-h textarea.sc-z-input{font-size:var(--font-size-2)}.cursor-select.sc-z-input-h input.sc-z-input{cursor:pointer}input.sc-z-input:not([readonly]):hover,.textarea-wrapper.sc-z-input:not(.readonly):hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}.sc-z-input-h:not(.active-select) input.sc-z-input:focus:focus-visible,.sc-z-input-h:not([readonly=\"true\"]) .textarea-wrapper.sc-z-input:focus-within{border-color:var(--color-form-active-primary);box-shadow:var(--shadow-focus-primary);color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible:hover,.textarea-wrapper.sc-z-input:not(.readonly):focus-within:hover{outline-color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input{fill:var(--color-form-active-primary)}.active-select.sc-z-input-h input.sc-z-input{border:var(--border-size-small) solid var(--color-form-active-primary)}.cursor-select.sc-z-input-h input.sc-z-input:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-input-h input[readonly].sc-z-input:focus:focus-visible{border-color:var(--color-form-surface03);box-shadow:none}.input-success.sc-z-input{border-color:var(--color-form-success01);background:var(--color-form-inverse-success)}.input-success.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-success.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-success01)}.input-error.sc-z-input{border-color:var(--color-form-hover-error);background:var(--color-form-inverse-error)}.input-error.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-error.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-error)}.input-warning.sc-z-input{border-color:var(--color-form-hover-warning);background:var(--color-form-inverse-warning)}.input-warning.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-warning.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-warning)}.sc-z-input:is(.input-success,.input-error.sc-z-input,.input-warning).sc-z-input:focus:focus-visible{color:var(--color-form-default-text)}.sc-z-input-h:not(.active-select) input[readonly].sc-z-input,.textarea-wrapper.readonly.sc-z-input{border-color:var(--color-form-surface03);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) z-icon.sc-z-input{border-color:var(--color-form-disabled03);box-shadow:none;color:var(--color-form-disabled-text);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}label.input-label.sc-z-input{display:block;padding-bottom:var(--space-unit);color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}[disabled].sc-z-input-h:not([disabled=\"false\"]) label.input-label.sc-z-input{color:var(--color-disabled03)}.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-form-default-icon)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}[size=\"small\"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4.5)}[size=\"x-small\"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input{display:flex;padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input+.input-icon.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.hidden.sc-z-input{display:none}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.toggle-password-icon.sc-z-input{cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.small.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.x-small.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:currentcolor}.textarea-wrapper.sc-z-input{width:100%;height:100%;padding:calc(var(--space-unit) * 1.5);background-color:var(--color-form-background)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;color:currentcolor;resize:none}.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-form-default-text);fill:var(--color-form-active-primary);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-form-hover-primary);fill:currentcolor}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}[size=\"small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size=\"small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}[size=\"small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size=\"small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-2)}[size=\"x-small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size=\"x-small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:14px;--z-icon-height:14px}[size=\"x-small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size=\"x-small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-1)}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}[size=\"small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size=\"small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input,[size=\"x-small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size=\"x-small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}[size=\"small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size=\"small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input,[size=\"x-small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size=\"x-small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:calc(var(--space-unit) * 0.5)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input{border-radius:50%}.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-form-disabled-text)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-form-disabled01-icon)}";
7
+ const stylesCss = ".sc-z-input-h{display:inline-block;width:inherit}.sc-z-input-h *.sc-z-input{box-sizing:border-box}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input{background:var(--color-form-background);fill:var(--color-form-default-icon);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}input.sc-z-input,.textarea-wrapper.sc-z-input{border:var(--border-size-small) solid var(--color-form-surface04);border-radius:var(--border-radius-small);color:var(--color-form-default-text)}[size=\"small\"].sc-z-input-h input.sc-z-input,[size=\"small\"].sc-z-input-h textarea.sc-z-input,[size=\"x-small\"].sc-z-input-h input.sc-z-input,[size=\"x-small\"].sc-z-input-h textarea.sc-z-input{font-size:var(--font-size-2)}.cursor-select.sc-z-input-h input.sc-z-input{cursor:pointer}input.sc-z-input:not([readonly]):hover,.textarea-wrapper.sc-z-input:not(.readonly):hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}.sc-z-input-h:not(.active-select) input.sc-z-input:focus:focus-visible,.sc-z-input-h:not([readonly=\"true\"]) .textarea-wrapper.sc-z-input:focus-within{border-color:var(--color-form-active-primary);box-shadow:var(--shadow-focus-primary);color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible:hover,.textarea-wrapper.sc-z-input:not(.readonly):focus-within:hover{outline-color:var(--color-form-active-primary)}.sc-z-input-h input.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input{fill:var(--color-form-active-primary)}.active-select.sc-z-input-h input.sc-z-input{border:var(--border-size-small) solid var(--color-form-active-primary)}.cursor-select.sc-z-input-h input.sc-z-input:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-input-h input[readonly].sc-z-input:focus:focus-visible{border-color:var(--color-form-surface03);box-shadow:none}.input-success.sc-z-input{border-color:var(--color-form-success01);background:var(--color-form-inverse-success)}.input-success.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-success.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-success01)}.input-error.sc-z-input{border-color:var(--color-form-hover-error);background:var(--color-form-inverse-error)}.input-error.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-error.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-error)}.input-warning.sc-z-input{border-color:var(--color-form-hover-warning);background:var(--color-form-inverse-warning)}.input-warning.sc-z-input:focus:focus-visible+.icons-wrapper.sc-z-input,.input-warning.sc-z-input+.icons-wrapper.sc-z-input{fill:var(--color-form-hover-warning)}.sc-z-input:is(.input-success,.input-error.sc-z-input,.input-warning).sc-z-input:focus:focus-visible{color:var(--color-form-default-text)}.sc-z-input-h:not(.active-select) input[readonly].sc-z-input,.textarea-wrapper.readonly.sc-z-input{border-color:var(--color-form-surface03);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) z-icon.sc-z-input{border-color:var(--color-form-disabled03);box-shadow:none;color:var(--color-form-disabled-text);fill:var(--color-form-disabled01-icon);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-form-placeholder-text)}.sc-z-input::placeholder{color:var(--color-form-placeholder-text)}label.input-label.sc-z-input{display:block;padding-bottom:var(--space-unit);color:var(--color-default-text);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}[disabled].sc-z-input-h:not([disabled=\"false\"]) label.input-label.sc-z-input{color:var(--color-disabled03)}.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-form-default-icon)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}[size=\"small\"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4.5)}[size=\"x-small\"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input{display:flex;padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input+.input-icon.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.hidden.sc-z-input{display:none}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.toggle-password-icon.sc-z-input{cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.small.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>.input-icon.x-small.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.input-icon.sc-z-input:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:currentcolor}.textarea-wrapper.sc-z-input{width:100%;height:100%;padding:calc(var(--space-unit) * 1.5)}.textarea-wrapper.sc-z-input:not(.input-error,.input-success.sc-z-input,.input-warning).sc-z-input{background-color:var(--color-form-background)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;color:currentcolor;resize:none}.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-default-text);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary-icon)}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}[size=\"small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size=\"small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}[size=\"small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size=\"small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-2)}[size=\"x-small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size=\"x-small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:14px;--z-icon-height:14px}[size=\"x-small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size=\"x-small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-1)}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}[size=\"small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size=\"small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input,[size=\"x-small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size=\"x-small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}[size=\"small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size=\"small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input,[size=\"x-small\"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size=\"x-small\"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:calc(var(--space-unit) * 0.5)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input{border-radius:50%}.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-disabled03)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-disabled01)}";
8
8
  const ZInputStyle0 = stylesCss;
9
9
 
10
10
  const ZInput = /*@__PURE__*/ proxyCustomElement(class ZInput extends HTMLElement {
@@ -272,7 +272,7 @@ const ZInput = /*@__PURE__*/ proxyCustomElement(class ZInput extends HTMLElement
272
272
  default:
273
273
  input = this.renderInputText(this.type);
274
274
  }
275
- return h(Host, { key: 'ce90d7c19683895511fdaede4e4d6e49505b30a5' }, input);
275
+ return h(Host, { key: 'c12976593b469cc583a73265519866c8a75c7a03' }, input);
276
276
  }
277
277
  get hostElement() { return this; }
278
278
  static get style() { return ZInputStyle0; }
@@ -1 +1 @@
1
- {"file":"index11.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,qpWAAqpW,CAAC;AACxqW,qBAAe,SAAS;;MCUX,MAAM;;;;;;;;;;QAmIT,kBAAa,GAAG,GAAG,CAAC;sBA9HnB,MAAM,QAAQ,EAAE,EAAE;;;;yBAgBf,EAAE;4BAIC,EAAE;;;;;wBAoBI,KAAK;wBAIL,KAAK;wBAIL,KAAK;uBAIN,KAAK;;;;uBAgBI,IAAI;6BAID,aAAa,CAAC,KAAK;;oBAQ5C,EAAE;4BAIgB,IAAI;;;;;;;;oBAgCR,WAAW,CAAC,GAAG;wBAGzB,KAAK;8BAGC,IAAI;;IASrB,kBAAkB,CAAC,CAAc;QAC/B,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,QAAQ,IAAI,CAAC,IAAI;YACf,KAAK,SAAS,CAAC,KAAK;gBAClB,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,EAAE,KAAK,IAAI,CAAC,MAAM,EAAE;oBACvF,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;iBACtB;gBACD,MAAM;SACT;KACF;;IAID,MAAM,SAAS;QACb,QAAQ,IAAI,CAAC,IAAI;YACf,KAAK,SAAS,CAAC,QAAQ,CAAC;YACxB,KAAK,SAAS,CAAC,KAAK;gBAClB,OAAO,IAAI,CAAC,OAAO,CAAC;YACtB;gBACE,OAAO,CAAC,IAAI,CAAC,sEAAsE,CAAC,CAAC;gBAErF,OAAO,KAAK,CAAC;SAChB;KACF;IAMO,eAAe,CAAC,KAAa;QACnC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,eAAe,EAAE,CAAC;SACxB;QA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aACE,OAAO,EAAE,IAAI,CAAC,MAAM,EACpB,KAAK,EAAE;gBACL,aAAa,EAAE,IAAI;gBACnB,OAAO,EAAE,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,KAAK;gBACnD,QAAQ,EAAE,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI;aACpD,IAED,cACE,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,sBAAsB,GAAG,cAAc,EAC5D,KAAK,EAAE,IAAI,CAAC,IAAI,GAChB,EACD,IAAI,CAAC,KAAK,IAAI,YAAM,SAAS,EAAE,IAAI,CAAC,KAAK,GAAI,CACxC,CACJ,EACN;KACH;;IAGD,MAAM;QACJ,IAAI,KAAK,CAAC;QACV,QAAQ,IAAI,CAAC,IAAI;YACf,KAAK,SAAS,CAAC,QAAQ;gBACrB,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;gBAC9B,MAAM;YACR,KAAK,SAAS,CAAC,QAAQ;gBACrB,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;gBAC9B,MAAM;YACR,KAAK,SAAS,CAAC,KAAK;gBAClB,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;gBAC3B,MAAM;YACR;gBACE,KAAK,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC3C;QAED,OAAO,EAAC,IAAI,uDAAE,KAAK,CAAQ,CAAC;KAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/z-input/styles.css?tag=z-input&encapsulation=scoped","src/components/z-input/index.tsx"],"sourcesContent":["@import \"styles-general.css\";\n@import \"styles-text.css\";\n@import \"styles-textarea.css\";\n@import \"styles-checkbox-radio.css\";\n","import {Component, Element, Event, EventEmitter, Listen, Method, Prop, State, h} from \"@stencil/core\";\nimport {Fragment, Host, JSXBase} from \"@stencil/core/internal\";\nimport {ControlSize, InputStatus, InputType, LabelPosition} from \"../../beans\";\nimport {boolean, randomId} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-input\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZInput {\n @Element() hostElement: HTMLZInputElement;\n\n /** the id of the input element */\n @Prop()\n htmlid = `id-${randomId()}`;\n\n /** input types */\n @Prop()\n type: InputType;\n\n /** the input name */\n @Prop()\n name?: string;\n\n /** the input label */\n @Prop()\n label?: string;\n\n /** the input aria-label */\n @Prop()\n ariaLabel = \"\";\n\n /** the input aria-expaded: available for text, password, number, email */\n @Prop()\n ariaExpanded = \"\";\n\n /** the input aria-controls (optional): available for text, password, number, email */\n @Prop()\n ariaControls?: string;\n\n /** the input aria-autocomplete (optional): available for text, password, number, email */\n @Prop()\n ariaAutocomplete?: string;\n\n /** the input aria-activedescendant (optional): available for text, password, number, email */\n @Prop()\n ariaActivedescendant?: string;\n\n /** the input value */\n @Prop({mutable: true})\n value?: string;\n\n /** the input is disabled */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** the input is readonly */\n @Prop()\n readonly?: boolean = false;\n\n /** the input is required (optional): available for text, password, number, email, textarea, checkbox */\n @Prop()\n required?: boolean = false;\n\n /** checked: available for checkbox, radio */\n @Prop({mutable: true})\n checked?: boolean = false;\n\n /** the input placeholder (optional) */\n @Prop()\n placeholder?: string;\n\n /** the input html title (optional) */\n @Prop()\n htmltitle?: string;\n\n /** the input status (optional): available for text, password, number, email, textarea */\n @Prop()\n status?: InputStatus;\n\n /** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */\n @Prop()\n message?: string | boolean = true;\n\n /** the input label position: available for checkbox, radio */\n @Prop()\n labelPosition?: LabelPosition = LabelPosition.RIGHT;\n\n /** the input has autocomplete option (optional): available for text, password, number, email */\n @Prop()\n autocomplete?: string;\n\n /** the input role */\n @Prop()\n role = \"\";\n\n /** render clear icon when typing (optional): available for text */\n @Prop()\n hasclearicon?: boolean = true;\n\n /** render icon (optional): available for text */\n @Prop()\n icon?: string;\n\n /** min number value (optional): available for number */\n @Prop()\n min?: number;\n\n /** Min length value (optional): available for text */\n @Prop()\n minlength?: number;\n\n /** max number value (optional): available for number */\n @Prop()\n max?: number;\n\n /** Max length value (optional): available for text */\n @Prop()\n maxlength?: number;\n\n /** step number value (optional): available for number */\n @Prop()\n step?: number;\n\n /** pattern value (optional): available for tel, text, search, url, email, password*/\n @Prop()\n pattern?: string;\n\n /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */\n @Prop({reflect: true})\n size?: ControlSize = ControlSize.BIG;\n\n @State()\n isTyping = false;\n\n @State()\n passwordHidden = true;\n\n private timer;\n\n private typingtimeout = 300;\n\n private inputRef: HTMLInputElement;\n\n @Listen(\"inputCheck\", {target: \"document\"})\n inputCheckListener(e: CustomEvent): void {\n const data = e.detail;\n switch (this.type) {\n case InputType.RADIO:\n if (data.type === InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {\n this.checked = false;\n }\n break;\n }\n }\n\n /** get checked status */\n @Method()\n async isChecked(): Promise<boolean> {\n switch (this.type) {\n case InputType.CHECKBOX:\n case InputType.RADIO:\n return this.checked;\n default:\n console.warn(\"`isChecked` method is only available for type `checkbox` and `radio`\");\n\n return false;\n }\n }\n\n /** Emitted on input value change, returns value, validity */\n @Event()\n inputChange: EventEmitter;\n\n private emitInputChange(value: string): void {\n if (!this.isTyping) {\n this.emitStartTyping();\n }\n\n let validity: ValidityState;\n if (this.type === InputType.TEXTAREA) {\n validity = this.getValidity(\"textarea\");\n } else {\n validity = this.getValidity(\"input\");\n }\n this.value = value;\n this.inputChange.emit({value, validity});\n\n clearTimeout(this.timer);\n this.timer = setTimeout(() => {\n this.emitStopTyping(this.value, validity);\n }, this.typingtimeout);\n }\n\n /** Emitted when user starts typing */\n @Event()\n startTyping: EventEmitter;\n\n private emitStartTyping(): void {\n this.isTyping = true;\n this.startTyping.emit();\n }\n\n /** Emitted when user stops typing, returns value, validity */\n @Event()\n stopTyping: EventEmitter;\n\n private emitStopTyping(value: string, validity: ValidityState): void {\n this.isTyping = false;\n this.stopTyping.emit({\n value: value,\n validity: validity,\n });\n }\n\n /** Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity */\n @Event()\n inputCheck: EventEmitter;\n\n private emitInputCheck(checked: boolean): void {\n this.inputCheck.emit({\n id: this.htmlid,\n checked: checked,\n type: this.type,\n name: this.name,\n value: this.value,\n validity: this.getValidity(\"input\"),\n });\n }\n\n /** Emitted on input focus */\n @Event()\n inputFocus: EventEmitter;\n\n private emitInputFocus(): void {\n this.inputFocus.emit({id: this.htmlid});\n }\n\n /** Emitted on input blur */\n @Event()\n inputBlur: EventEmitter;\n\n private emitInputBlur(): void {\n this.inputBlur.emit({id: this.htmlid});\n }\n\n private getValidity(type: string): ValidityState {\n const input = this.hostElement.querySelector(type) as HTMLInputElement;\n\n return input.validity;\n }\n\n /* START text/password/email/number */\n\n private getTextAttributes(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return {\n id: this.htmlid,\n name: this.name,\n placeholder: this.placeholder,\n value: this.value,\n disabled: this.disabled,\n readonly: this.readonly,\n required: this.required,\n title: this.htmltitle,\n minlength: this.minlength,\n maxlength: this.maxlength,\n class: {\n [`input-${this.status}`]: !!this.status,\n },\n autocomplete: this.autocomplete,\n onInput: (e: InputEvent) => this.emitInputChange((e.target as HTMLInputElement).value),\n };\n }\n\n private getNumberAttributes(type: InputType): JSXBase.InputHTMLAttributes<HTMLInputElement> {\n if (type != InputType.NUMBER) {\n return;\n }\n\n return {\n min: this.min,\n max: this.max,\n step: this.step,\n };\n }\n\n private getPatternAttribute(type: InputType): JSXBase.InputHTMLAttributes<HTMLInputElement> {\n if (\n type != InputType.PASSWORD &&\n type != InputType.TEXT &&\n type != InputType.TEL &&\n type != InputType.SEARCH &&\n type != InputType.URL &&\n type != InputType.EMAIL\n ) {\n return;\n }\n\n return {\n pattern: this.pattern,\n };\n }\n\n private getRoleAttribute(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return this.role ? {role: this.role} : {};\n }\n\n private getAriaAttrubutes(): Record<string, unknown> {\n const expanded = this.ariaExpanded ? {\"aria-expanded\": this.ariaExpanded} : {};\n const controls = this.ariaControls ? {\"aria-controls\": this.ariaControls} : {};\n const autocomplete = this.ariaAutocomplete ? {\"aria-autocomplete\": this.ariaAutocomplete} : {};\n const activedescendant = this.ariaActivedescendant ? {\"aria-activedescendant\": this.ariaActivedescendant} : {};\n\n return {\n ...expanded,\n ...controls,\n ...autocomplete,\n ...activedescendant,\n };\n }\n\n private getFocusBlurAttributes(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return {\n onFocus: () => this.emitInputFocus(),\n onBlur: () => this.emitInputBlur(),\n };\n }\n\n private renderInputText(type: InputType = InputType.TEXT): HTMLDivElement {\n const ariaLabel = this.ariaLabel ? {\"aria-label\": this.ariaLabel} : {};\n const attr = {\n ...this.getTextAttributes(),\n ...this.getNumberAttributes(type),\n ...this.getPatternAttribute(type),\n ...ariaLabel,\n ...this.getRoleAttribute(),\n ...this.getAriaAttrubutes(),\n ...this.getFocusBlurAttributes(),\n };\n if (this.icon || type === InputType.PASSWORD) {\n Object.assign(attr.class, {\"has-icon\": true});\n }\n if (this.hasclearicon && type != InputType.NUMBER) {\n Object.assign(attr.class, {\"has-clear-icon\": true});\n }\n\n return (\n <div class=\"text-wrapper\">\n {this.renderLabel()}\n <div>\n <input\n type={type === InputType.PASSWORD && !this.passwordHidden ? InputType.TEXT : type}\n {...attr}\n ref={(el) => (this.inputRef = el)}\n />\n {this.renderIcons()}\n </div>\n {this.renderMessage()}\n </div>\n );\n }\n\n private renderLabel(): HTMLLabelElement {\n if (!this.label) {\n return;\n }\n\n return (\n <label\n class=\"input-label body-5-sb\"\n id={`${this.htmlid}_label`}\n htmlFor={this.htmlid}\n >\n {this.label}\n </label>\n );\n }\n\n private renderIcons(): HTMLSpanElement {\n return (\n <span class=\"icons-wrapper\">\n {this.renderResetIcon()}\n {this.renderIcon()}\n </span>\n );\n }\n\n private renderIcon(): HTMLButtonElement {\n if (this.type === InputType.PASSWORD) {\n return this.renderShowHidePassword();\n }\n\n if (!this.icon) {\n return;\n }\n\n return (\n <z-icon\n name={this.icon}\n class={{[this.size]: true, \"input-icon\": true}}\n />\n );\n }\n\n private renderResetIcon(): HTMLButtonElement {\n let hidden = false;\n if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type == InputType.NUMBER) {\n hidden = true;\n }\n\n return (\n <button\n type=\"button\"\n class={{\"reset-icon\": true, \"input-icon\": true, hidden}}\n aria-label=\"cancella il contenuto dell'input\"\n onClick={() => {\n this.inputRef.value = \"\";\n this.emitInputChange(\"\");\n }}\n >\n <z-icon\n name=\"multiply\"\n class={this.size}\n />\n </button>\n );\n }\n\n private renderShowHidePassword(): HTMLButtonElement {\n return (\n <button\n type=\"button\"\n class=\"input-icon toggle-password-icon\"\n disabled={this.disabled}\n aria-label={this.passwordHidden ? \"mostra password\" : \"nascondi password\"}\n onClick={() => (this.passwordHidden = !this.passwordHidden)}\n >\n <z-icon\n name={this.passwordHidden ? \"view-filled\" : \"view-off-filled\"}\n class={this.size}\n />\n </button>\n );\n }\n\n private renderMessage(): HTMLZInputMessageElement {\n if (boolean(this.message) === false) {\n return;\n }\n\n return (\n <z-input-message\n message={boolean(this.message) === true ? undefined : (this.message as string)}\n status={this.status}\n class={this.size}\n disabled={this.disabled}\n />\n );\n }\n\n /* END text/password/email/number */\n\n /* START textarea */\n\n private renderTextarea(): HTMLDivElement {\n const attributes = this.getTextAttributes();\n\n return (\n <Fragment>\n {this.renderLabel()}\n <div\n class={{\n ...(attributes.class as {[className: string]: boolean}),\n \"textarea-wrapper\": true,\n \"readonly\": !!attributes.readonly,\n }}\n >\n <textarea\n {...attributes}\n class={{\n ...(attributes.class as {[className: string]: boolean}),\n \"z-scrollbar\": true,\n }}\n aria-label={this.ariaLabel || undefined}\n {...this.getRoleAttribute()}\n ></textarea>\n </div>\n {this.renderMessage()}\n </Fragment>\n );\n }\n\n /* END textarea */\n\n private handleCheck(ev: Event): void {\n this.checked = (ev.target as HTMLInputElement).checked;\n this.emitInputCheck(this.checked);\n }\n\n /* START checkbox */\n private renderCheckbox(): HTMLDivElement {\n return (\n <div class=\"checkbox-wrapper\">\n <input\n id={this.htmlid}\n type=\"checkbox\"\n name={this.name}\n checked={this.checked}\n disabled={this.disabled}\n readonly={this.readonly}\n required={this.required}\n onChange={this.handleCheck.bind(this)}\n value={this.value}\n {...this.getRoleAttribute()}\n {...this.getFocusBlurAttributes()}\n />\n\n <label\n htmlFor={this.htmlid}\n class={{\n \"checkbox-label\": true,\n \"after\": this.labelPosition === LabelPosition.RIGHT,\n \"before\": this.labelPosition === LabelPosition.LEFT,\n }}\n >\n <z-icon\n name={this.checked ? \"checkbox-checked\" : \"checkbox\"}\n class={this.size}\n />\n {this.label && <span innerHTML={this.label}></span>}\n </label>\n </div>\n );\n }\n\n /* END checkbox */\n\n /* START radio */\n private renderRadio(): HTMLDivElement {\n return (\n <div class=\"radio-wrapper\">\n <input\n id={this.htmlid}\n type=\"radio\"\n name={this.name}\n checked={this.checked}\n disabled={this.disabled}\n readonly={this.readonly}\n onChange={this.handleCheck.bind(this)}\n value={this.value}\n {...this.getRoleAttribute()}\n {...this.getFocusBlurAttributes()}\n />\n\n <label\n htmlFor={this.htmlid}\n class={{\n \"radio-label\": true,\n \"after\": this.labelPosition === LabelPosition.RIGHT,\n \"before\": this.labelPosition === LabelPosition.LEFT,\n }}\n >\n <z-icon\n name={this.checked ? \"radio-button-checked\" : \"radio-button\"}\n class={this.size}\n />\n {this.label && <span innerHTML={this.label} />}\n </label>\n </div>\n );\n }\n /* END radio */\n\n render(): HTMLInputElement | HTMLDivElement {\n let input;\n switch (this.type) {\n case InputType.TEXTAREA:\n input = this.renderTextarea();\n break;\n case InputType.CHECKBOX:\n input = this.renderCheckbox();\n break;\n case InputType.RADIO:\n input = this.renderRadio();\n break;\n default:\n input = this.renderInputText(this.type);\n }\n\n return <Host>{input}</Host>;\n }\n}\n"],"version":3}
1
+ {"file":"index11.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,quWAAquW,CAAC;AACxvW,qBAAe,SAAS;;MCUX,MAAM;;;;;;;;;;QAmIT,kBAAa,GAAG,GAAG,CAAC;sBA9HnB,MAAM,QAAQ,EAAE,EAAE;;;;yBAgBf,EAAE;4BAIC,EAAE;;;;;wBAoBI,KAAK;wBAIL,KAAK;wBAIL,KAAK;uBAIN,KAAK;;;;uBAgBI,IAAI;6BAID,aAAa,CAAC,KAAK;;oBAQ5C,EAAE;4BAIgB,IAAI;;;;;;;;oBAgCR,WAAW,CAAC,GAAG;wBAGzB,KAAK;8BAGC,IAAI;;IASrB,kBAAkB,CAAC,CAAc;QAC/B,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC;QACtB,QAAQ,IAAI,CAAC,IAAI;YACf,KAAK,SAAS,CAAC,KAAK;gBAClB,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,EAAE,KAAK,IAAI,CAAC,MAAM,EAAE;oBACvF,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;iBACtB;gBACD,MAAM;SACT;KACF;;IAID,MAAM,SAAS;QACb,QAAQ,IAAI,CAAC,IAAI;YACf,KAAK,SAAS,CAAC,QAAQ,CAAC;YACxB,KAAK,SAAS,CAAC,KAAK;gBAClB,OAAO,IAAI,CAAC,OAAO,CAAC;YACtB;gBACE,OAAO,CAAC,IAAI,CAAC,sEAAsE,CAAC,CAAC;gBAErF,OAAO,KAAK,CAAC;SAChB;KACF;IAMO,eAAe,CAAC,KAAa;QACnC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,eAAe,EAAE,CAAC;SACxB;QAED,IAAI,QAAuB,CAAC;Q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CAAC,MAAM,EACpB,KAAK,EAAE;gBACL,aAAa,EAAE,IAAI;gBACnB,OAAO,EAAE,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,KAAK;gBACnD,QAAQ,EAAE,IAAI,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI;aACpD,IAED,cACE,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,sBAAsB,GAAG,cAAc,EAC5D,KAAK,EAAE,IAAI,CAAC,IAAI,GAChB,EACD,IAAI,CAAC,KAAK,IAAI,YAAM,SAAS,EAAE,IAAI,CAAC,KAAK,GAAI,CACxC,CACJ,EACN;KACH;;IAGD,MAAM;QACJ,IAAI,KAAK,CAAC;QACV,QAAQ,IAAI,CAAC,IAAI;YACf,KAAK,SAAS,CAAC,QAAQ;gBACrB,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;gBAC9B,MAAM;YACR,KAAK,SAAS,CAAC,QAAQ;gBACrB,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;gBAC9B,MAAM;YACR,KAAK,SAAS,CAAC,KAAK;gBAClB,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;gBAC3B,MAAM;YACR;gBACE,KAAK,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC3C;QAED,OAAO,EAAC,IAAI,uDAAE,KAAK,CAAQ,CAAC;KAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/z-input/styles.css?tag=z-input&encapsulation=scoped","src/components/z-input/index.tsx"],"sourcesContent":["@import \"styles-general.css\";\n@import \"styles-text.css\";\n@import \"styles-textarea.css\";\n@import \"styles-checkbox-radio.css\";\n","import {Component, Element, Event, EventEmitter, Listen, Method, Prop, State, h} from \"@stencil/core\";\nimport {Fragment, Host, JSXBase} from \"@stencil/core/internal\";\nimport {ControlSize, InputStatus, InputType, LabelPosition} from \"../../beans\";\nimport {boolean, randomId} from \"../../utils/utils\";\n\n@Component({\n tag: \"z-input\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZInput {\n @Element() hostElement: HTMLZInputElement;\n\n /** the id of the input element */\n @Prop()\n htmlid = `id-${randomId()}`;\n\n /** input types */\n @Prop()\n type: InputType;\n\n /** the input name */\n @Prop()\n name?: string;\n\n /** the input label */\n @Prop()\n label?: string;\n\n /** the input aria-label */\n @Prop()\n ariaLabel = \"\";\n\n /** the input aria-expaded: available for text, password, number, email */\n @Prop()\n ariaExpanded = \"\";\n\n /** the input aria-controls (optional): available for text, password, number, email */\n @Prop()\n ariaControls?: string;\n\n /** the input aria-autocomplete (optional): available for text, password, number, email */\n @Prop()\n ariaAutocomplete?: string;\n\n /** the input aria-activedescendant (optional): available for text, password, number, email */\n @Prop()\n ariaActivedescendant?: string;\n\n /** the input value */\n @Prop({mutable: true})\n value?: string;\n\n /** the input is disabled */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** the input is readonly */\n @Prop()\n readonly?: boolean = false;\n\n /** the input is required (optional): available for text, password, number, email, textarea, checkbox */\n @Prop()\n required?: boolean = false;\n\n /** checked: available for checkbox, radio */\n @Prop({mutable: true})\n checked?: boolean = false;\n\n /** the input placeholder (optional) */\n @Prop()\n placeholder?: string;\n\n /** the input html title (optional) */\n @Prop()\n htmltitle?: string;\n\n /** the input status (optional): available for text, password, number, email, textarea */\n @Prop()\n status?: InputStatus;\n\n /** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */\n @Prop()\n message?: string | boolean = true;\n\n /** the input label position: available for checkbox, radio */\n @Prop()\n labelPosition?: LabelPosition = LabelPosition.RIGHT;\n\n /** the input has autocomplete option (optional): available for text, password, number, email */\n @Prop()\n autocomplete?: string;\n\n /** the input role */\n @Prop()\n role = \"\";\n\n /** render clear icon when typing (optional): available for text */\n @Prop()\n hasclearicon?: boolean = true;\n\n /** render icon (optional): available for text */\n @Prop()\n icon?: string;\n\n /** min number value (optional): available for number */\n @Prop()\n min?: number;\n\n /** Min length value (optional): available for text */\n @Prop()\n minlength?: number;\n\n /** max number value (optional): available for number */\n @Prop()\n max?: number;\n\n /** Max length value (optional): available for text */\n @Prop()\n maxlength?: number;\n\n /** step number value (optional): available for number */\n @Prop()\n step?: number;\n\n /** pattern value (optional): available for tel, text, search, url, email, password*/\n @Prop()\n pattern?: string;\n\n /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */\n @Prop({reflect: true})\n size?: ControlSize = ControlSize.BIG;\n\n @State()\n isTyping = false;\n\n @State()\n passwordHidden = true;\n\n private timer;\n\n private typingtimeout = 300;\n\n private inputRef: HTMLInputElement;\n\n @Listen(\"inputCheck\", {target: \"document\"})\n inputCheckListener(e: CustomEvent): void {\n const data = e.detail;\n switch (this.type) {\n case InputType.RADIO:\n if (data.type === InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {\n this.checked = false;\n }\n break;\n }\n }\n\n /** get checked status */\n @Method()\n async isChecked(): Promise<boolean> {\n switch (this.type) {\n case InputType.CHECKBOX:\n case InputType.RADIO:\n return this.checked;\n default:\n console.warn(\"`isChecked` method is only available for type `checkbox` and `radio`\");\n\n return false;\n }\n }\n\n /** Emitted on input value change, returns value, validity */\n @Event()\n inputChange: EventEmitter;\n\n private emitInputChange(value: string): void {\n if (!this.isTyping) {\n this.emitStartTyping();\n }\n\n let validity: ValidityState;\n if (this.type === InputType.TEXTAREA) {\n validity = this.getValidity(\"textarea\");\n } else {\n validity = this.getValidity(\"input\");\n }\n this.value = value;\n this.inputChange.emit({value, validity});\n\n clearTimeout(this.timer);\n this.timer = setTimeout(() => {\n this.emitStopTyping(this.value, validity);\n }, this.typingtimeout);\n }\n\n /** Emitted when user starts typing */\n @Event()\n startTyping: EventEmitter;\n\n private emitStartTyping(): void {\n this.isTyping = true;\n this.startTyping.emit();\n }\n\n /** Emitted when user stops typing, returns value, validity */\n @Event()\n stopTyping: EventEmitter;\n\n private emitStopTyping(value: string, validity: ValidityState): void {\n this.isTyping = false;\n this.stopTyping.emit({\n value: value,\n validity: validity,\n });\n }\n\n /** Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity */\n @Event()\n inputCheck: EventEmitter;\n\n private emitInputCheck(checked: boolean): void {\n this.inputCheck.emit({\n id: this.htmlid,\n checked: checked,\n type: this.type,\n name: this.name,\n value: this.value,\n validity: this.getValidity(\"input\"),\n });\n }\n\n /** Emitted on input focus */\n @Event()\n inputFocus: EventEmitter;\n\n private emitInputFocus(): void {\n this.inputFocus.emit({id: this.htmlid});\n }\n\n /** Emitted on input blur */\n @Event()\n inputBlur: EventEmitter;\n\n private emitInputBlur(): void {\n this.inputBlur.emit({id: this.htmlid});\n }\n\n private getValidity(type: string): ValidityState {\n const input = this.hostElement.querySelector(type) as HTMLInputElement;\n\n return input.validity;\n }\n\n /* START text/password/email/number */\n\n private getTextAttributes(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return {\n id: this.htmlid,\n name: this.name,\n placeholder: this.placeholder,\n value: this.value,\n disabled: this.disabled,\n readonly: this.readonly,\n required: this.required,\n title: this.htmltitle,\n minlength: this.minlength,\n maxlength: this.maxlength,\n class: {\n [`input-${this.status}`]: !!this.status,\n },\n autocomplete: this.autocomplete,\n onInput: (e: InputEvent) => this.emitInputChange((e.target as HTMLInputElement).value),\n };\n }\n\n private getNumberAttributes(type: InputType): JSXBase.InputHTMLAttributes<HTMLInputElement> {\n if (type != InputType.NUMBER) {\n return;\n }\n\n return {\n min: this.min,\n max: this.max,\n step: this.step,\n };\n }\n\n private getPatternAttribute(type: InputType): JSXBase.InputHTMLAttributes<HTMLInputElement> {\n if (\n type != InputType.PASSWORD &&\n type != InputType.TEXT &&\n type != InputType.TEL &&\n type != InputType.SEARCH &&\n type != InputType.URL &&\n type != InputType.EMAIL\n ) {\n return;\n }\n\n return {\n pattern: this.pattern,\n };\n }\n\n private getRoleAttribute(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return this.role ? {role: this.role} : {};\n }\n\n private getAriaAttrubutes(): Record<string, unknown> {\n const expanded = this.ariaExpanded ? {\"aria-expanded\": this.ariaExpanded} : {};\n const controls = this.ariaControls ? {\"aria-controls\": this.ariaControls} : {};\n const autocomplete = this.ariaAutocomplete ? {\"aria-autocomplete\": this.ariaAutocomplete} : {};\n const activedescendant = this.ariaActivedescendant ? {\"aria-activedescendant\": this.ariaActivedescendant} : {};\n\n return {\n ...expanded,\n ...controls,\n ...autocomplete,\n ...activedescendant,\n };\n }\n\n private getFocusBlurAttributes(): JSXBase.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {\n return {\n onFocus: () => this.emitInputFocus(),\n onBlur: () => this.emitInputBlur(),\n };\n }\n\n private renderInputText(type: InputType = InputType.TEXT): HTMLDivElement {\n const ariaLabel = this.ariaLabel ? {\"aria-label\": this.ariaLabel} : {};\n const attr = {\n ...this.getTextAttributes(),\n ...this.getNumberAttributes(type),\n ...this.getPatternAttribute(type),\n ...ariaLabel,\n ...this.getRoleAttribute(),\n ...this.getAriaAttrubutes(),\n ...this.getFocusBlurAttributes(),\n };\n if (this.icon || type === InputType.PASSWORD) {\n Object.assign(attr.class, {\"has-icon\": true});\n }\n if (this.hasclearicon && type != InputType.NUMBER) {\n Object.assign(attr.class, {\"has-clear-icon\": true});\n }\n\n return (\n <div class=\"text-wrapper\">\n {this.renderLabel()}\n <div>\n <input\n type={type === InputType.PASSWORD && !this.passwordHidden ? InputType.TEXT : type}\n {...attr}\n ref={(el) => (this.inputRef = el)}\n />\n {this.renderIcons()}\n </div>\n {this.renderMessage()}\n </div>\n );\n }\n\n private renderLabel(): HTMLLabelElement {\n if (!this.label) {\n return;\n }\n\n return (\n <label\n class=\"input-label body-5-sb\"\n id={`${this.htmlid}_label`}\n htmlFor={this.htmlid}\n >\n {this.label}\n </label>\n );\n }\n\n private renderIcons(): HTMLSpanElement {\n return (\n <span class=\"icons-wrapper\">\n {this.renderResetIcon()}\n {this.renderIcon()}\n </span>\n );\n }\n\n private renderIcon(): HTMLButtonElement {\n if (this.type === InputType.PASSWORD) {\n return this.renderShowHidePassword();\n }\n\n if (!this.icon) {\n return;\n }\n\n return (\n <z-icon\n name={this.icon}\n class={{[this.size]: true, \"input-icon\": true}}\n />\n );\n }\n\n private renderResetIcon(): HTMLButtonElement {\n let hidden = false;\n if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type == InputType.NUMBER) {\n hidden = true;\n }\n\n return (\n <button\n type=\"button\"\n class={{\"reset-icon\": true, \"input-icon\": true, hidden}}\n aria-label=\"cancella il contenuto dell'input\"\n onClick={() => {\n this.inputRef.value = \"\";\n this.emitInputChange(\"\");\n }}\n >\n <z-icon\n name=\"multiply\"\n class={this.size}\n />\n </button>\n );\n }\n\n private renderShowHidePassword(): HTMLButtonElement {\n return (\n <button\n type=\"button\"\n class=\"input-icon toggle-password-icon\"\n disabled={this.disabled}\n aria-label={this.passwordHidden ? \"mostra password\" : \"nascondi password\"}\n onClick={() => (this.passwordHidden = !this.passwordHidden)}\n >\n <z-icon\n name={this.passwordHidden ? \"view-filled\" : \"view-off-filled\"}\n class={this.size}\n />\n </button>\n );\n }\n\n private renderMessage(): HTMLZInputMessageElement {\n if (boolean(this.message) === false) {\n return;\n }\n\n return (\n <z-input-message\n message={boolean(this.message) === true ? undefined : (this.message as string)}\n status={this.status}\n class={this.size}\n disabled={this.disabled}\n />\n );\n }\n\n /* END text/password/email/number */\n\n /* START textarea */\n\n private renderTextarea(): HTMLDivElement {\n const attributes = this.getTextAttributes();\n\n return (\n <Fragment>\n {this.renderLabel()}\n <div\n class={{\n ...(attributes.class as {[className: string]: boolean}),\n \"textarea-wrapper\": true,\n \"readonly\": !!attributes.readonly,\n }}\n >\n <textarea\n {...attributes}\n class={{\n ...(attributes.class as {[className: string]: boolean}),\n \"z-scrollbar\": true,\n }}\n aria-label={this.ariaLabel || undefined}\n {...this.getRoleAttribute()}\n ></textarea>\n </div>\n {this.renderMessage()}\n </Fragment>\n );\n }\n\n /* END textarea */\n\n private handleCheck(ev: Event): void {\n this.checked = (ev.target as HTMLInputElement).checked;\n this.emitInputCheck(this.checked);\n }\n\n /* START checkbox */\n private renderCheckbox(): HTMLDivElement {\n return (\n <div class=\"checkbox-wrapper\">\n <input\n id={this.htmlid}\n type=\"checkbox\"\n name={this.name}\n checked={this.checked}\n disabled={this.disabled}\n readonly={this.readonly}\n required={this.required}\n onChange={this.handleCheck.bind(this)}\n value={this.value}\n {...this.getRoleAttribute()}\n {...this.getFocusBlurAttributes()}\n />\n\n <label\n htmlFor={this.htmlid}\n class={{\n \"checkbox-label\": true,\n \"after\": this.labelPosition === LabelPosition.RIGHT,\n \"before\": this.labelPosition === LabelPosition.LEFT,\n }}\n >\n <z-icon\n name={this.checked ? \"checkbox-checked\" : \"checkbox\"}\n class={this.size}\n />\n {this.label && <span innerHTML={this.label}></span>}\n </label>\n </div>\n );\n }\n\n /* END checkbox */\n\n /* START radio */\n private renderRadio(): HTMLDivElement {\n return (\n <div class=\"radio-wrapper\">\n <input\n id={this.htmlid}\n type=\"radio\"\n name={this.name}\n checked={this.checked}\n disabled={this.disabled}\n readonly={this.readonly}\n onChange={this.handleCheck.bind(this)}\n value={this.value}\n {...this.getRoleAttribute()}\n {...this.getFocusBlurAttributes()}\n />\n\n <label\n htmlFor={this.htmlid}\n class={{\n \"radio-label\": true,\n \"after\": this.labelPosition === LabelPosition.RIGHT,\n \"before\": this.labelPosition === LabelPosition.LEFT,\n }}\n >\n <z-icon\n name={this.checked ? \"radio-button-checked\" : \"radio-button\"}\n class={this.size}\n />\n {this.label && <span innerHTML={this.label} />}\n </label>\n </div>\n );\n }\n /* END radio */\n\n render(): HTMLInputElement | HTMLDivElement {\n let input;\n switch (this.type) {\n case InputType.TEXTAREA:\n input = this.renderTextarea();\n break;\n case InputType.CHECKBOX:\n input = this.renderCheckbox();\n break;\n case InputType.RADIO:\n input = this.renderRadio();\n break;\n default:\n input = this.renderInputText(this.type);\n }\n\n return <Host>{input}</Host>;\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { d as defineCustomElement$1 } from './index9.js';
3
3
 
4
- const stylesCss = ":host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-default-text);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host(.small),:host(.x-small){margin-top:calc(var(--space-unit) * 0.5);font-size:var(--font-size-1)}:host([status=\"success\"]){color:var(--color-success01)}:host([status=\"error\"]){color:var(--color-hover-error)}:host([status=\"warning\"]){color:var(--color-hover-warning)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit);margin-top:calc(var(--space-unit) * 0.25)}:host(.small)>z-icon,:host(.x-small)>z-icon{--z-icon-width:14px;--z-icon-height:14px;--z-icon-right-margin:calc(var(--space-unit) * 0.5)}:host([disabled]){color:var(--color-disabled03);fill:var(--color-disabled03)}";
4
+ const stylesCss = ":host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-default-text);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host(.small),:host(.x-small){margin-top:calc(var(--space-unit) * 0.5);font-size:var(--font-size-1)}:host([status=\"success\"]){color:var(--color-hover-success)}:host([status=\"error\"]){color:var(--color-hover-error)}:host([status=\"warning\"]){color:var(--color-hover-warning)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit);margin-top:calc(var(--space-unit) * 0.25)}:host(.small)>z-icon,:host(.x-small)>z-icon{--z-icon-width:14px;--z-icon-height:14px;--z-icon-right-margin:calc(var(--space-unit) * 0.5)}:host([disabled]){color:var(--color-disabled03);fill:var(--color-disabled03)}";
5
5
  const ZInputMessageStyle0 = stylesCss;
6
6
 
7
7
  const ZInputMessage = /*@__PURE__*/ proxyCustomElement(class ZInputMessage extends HTMLElement {
@@ -26,7 +26,7 @@ const ZInputMessage = /*@__PURE__*/ proxyCustomElement(class ZInputMessage exten
26
26
  this.onMessageChange();
27
27
  }
28
28
  render() {
29
- return (h(Host, Object.assign({ key: 'f7d15c2c744fbc9f7822a57245d552980e7f36b2' }, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { key: '1124a2604c6def360993c6a83ce90d5a950e9f7c', name: this.statusIcons[this.status] }), h("span", { key: 'a5186a1bf672e27ef9d85fd47b7f73b71e8f0998', innerHTML: this.message })));
29
+ return (h(Host, Object.assign({ key: 'f9b9c27362dadbbb1641b659e5f1e5cb5877dcbd' }, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { key: 'ca06d2a52de026b1828860b3ef4718c10a9752cd', name: this.statusIcons[this.status] }), h("span", { key: '53a1e7e17e09b55e0d7a881ba33961140eb92db2', innerHTML: this.message })));
30
30
  }
31
31
  static get watchers() { return {
32
32
  "message": ["onMessageChange"],
@@ -1 +1 @@
1
- {"file":"index12.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,g7BAAg7B,CAAC;AACn8B,4BAAe,SAAS;;MCOX,aAAa;;;;;QAahB,gBAAW,GAAG;YACpB,OAAO,EAAE,kBAAkB;YAC3B,KAAK,EAAE,kBAAkB;YACzB,OAAO,EAAE,oBAAoB;SAC9B,CAAC;;;;0BAGW,EAAE;;IAIf,eAAe;QACb,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,GAAG,EAAC,IAAI,EAAE,OAAO,EAAC,GAAG,EAAE,CAAC;KACtE;IAED,iBAAiB;QACf,IAAI,CAAC,eAAe,EAAE,CAAC;KACxB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qEACC,IAAI,CAAC,UAAU,kBACP,IAAI,CAAC,OAAO,KAEvB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,IAAI,+DAAQ,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,GAAW,EACxG,6DAAM,SAAS,EAAE,IAAI,CAAC,OAAO,GAAI,CAC5B,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/z-input-message/styles.css?tag=z-input-message&encapsulation=shadow","src/components/z-input-message/index.tsx"],"sourcesContent":[":host {\n display: flex;\n min-height: calc(var(--space-unit) * 2.5);\n align-items: start;\n margin-top: var(--space-unit);\n color: var(--color-default-text);\n fill: currentcolor;\n font-family: var(--font-family-sans);\n font-size: var(--font-size-2);\n letter-spacing: 0.16px;\n}\n\n:host(.small),\n:host(.x-small) {\n margin-top: calc(var(--space-unit) * 0.5);\n font-size: var(--font-size-1);\n}\n\n:host([status=\"success\"]) {\n color: var(--color-success01);\n}\n\n:host([status=\"error\"]) {\n color: var(--color-hover-error);\n}\n\n:host([status=\"warning\"]) {\n color: var(--color-hover-warning);\n}\n\n:host(:focus) {\n outline: none;\n}\n\n:host > z-icon {\n --z-icon-width: calc(var(--space-unit) * 2);\n --z-icon-height: calc(var(--space-unit) * 2);\n --z-icon-right-margin: var(--space-unit);\n\n margin-top: calc(var(--space-unit) * 0.25);\n}\n\n:host(.small) > z-icon,\n:host(.x-small) > z-icon {\n --z-icon-width: 14px;\n --z-icon-height: 14px;\n --z-icon-right-margin: calc(var(--space-unit) * 0.5);\n}\n\n:host([disabled]) {\n color: var(--color-disabled03);\n fill: var(--color-disabled03);\n}\n","import {Component, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {InputStatus} from \"../../beans\";\n\n@Component({\n tag: \"z-input-message\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInputMessage {\n /** input helper message */\n @Prop()\n message: string;\n\n /** input status (optional) */\n @Prop({reflect: true})\n status?: InputStatus;\n\n /** input disabled status (optional) */\n @Prop({reflect: true})\n disabled?: boolean;\n\n private statusIcons = {\n success: \"checkmark-circle\",\n error: \"multiply-circled\",\n warning: \"exclamation-circle\",\n };\n\n @State()\n statusRole = {};\n\n @Watch(\"message\")\n @Watch(\"status\")\n onMessageChange(): void {\n this.statusRole = this.message && this.status ? {role: \"alert\"} : {};\n }\n\n componentWillLoad(): void {\n this.onMessageChange();\n }\n\n render(): HTMLZInputMessageElement {\n return (\n <Host\n {...this.statusRole}\n aria-label={this.message}\n >\n {this.statusIcons[this.status] && this.message && <z-icon name={this.statusIcons[this.status]}></z-icon>}\n <span innerHTML={this.message} />\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"index12.js","mappings":";;;AAAA,MAAM,SAAS,GAAG,o7BAAo7B,CAAC;AACv8B,4BAAe,SAAS;;MCOX,aAAa;;;;;QAahB,gBAAW,GAAG;YACpB,OAAO,EAAE,kBAAkB;YAC3B,KAAK,EAAE,kBAAkB;YACzB,OAAO,EAAE,oBAAoB;SAC9B,CAAC;;;;0BAGW,EAAE;;IAIf,eAAe;QACb,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,GAAG,EAAC,IAAI,EAAE,OAAO,EAAC,GAAG,EAAE,CAAC;KACtE;IAED,iBAAiB;QACf,IAAI,CAAC,eAAe,EAAE,CAAC;KACxB;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qEACC,IAAI,CAAC,UAAU,kBACP,IAAI,CAAC,OAAO,KAEvB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,IAAI,+DAAQ,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,GAAW,EACxG,6DAAM,SAAS,EAAE,IAAI,CAAC,OAAO,GAAI,CAC5B,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/z-input-message/styles.css?tag=z-input-message&encapsulation=shadow","src/components/z-input-message/index.tsx"],"sourcesContent":[":host {\n display: flex;\n min-height: calc(var(--space-unit) * 2.5);\n align-items: start;\n margin-top: var(--space-unit);\n color: var(--color-default-text);\n fill: currentcolor;\n font-family: var(--font-family-sans);\n font-size: var(--font-size-2);\n letter-spacing: 0.16px;\n}\n\n:host(.small),\n:host(.x-small) {\n margin-top: calc(var(--space-unit) * 0.5);\n font-size: var(--font-size-1);\n}\n\n:host([status=\"success\"]) {\n color: var(--color-hover-success);\n}\n\n:host([status=\"error\"]) {\n color: var(--color-hover-error);\n}\n\n:host([status=\"warning\"]) {\n color: var(--color-hover-warning);\n}\n\n:host(:focus) {\n outline: none;\n}\n\n:host > z-icon {\n --z-icon-width: calc(var(--space-unit) * 2);\n --z-icon-height: calc(var(--space-unit) * 2);\n --z-icon-right-margin: var(--space-unit);\n\n margin-top: calc(var(--space-unit) * 0.25);\n}\n\n:host(.small) > z-icon,\n:host(.x-small) > z-icon {\n --z-icon-width: 14px;\n --z-icon-height: 14px;\n --z-icon-right-margin: calc(var(--space-unit) * 0.5);\n}\n\n:host([disabled]) {\n color: var(--color-disabled03);\n fill: var(--color-disabled03);\n}\n","import {Component, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {InputStatus} from \"../../beans\";\n\n@Component({\n tag: \"z-input-message\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInputMessage {\n /** input helper message */\n @Prop()\n message: string;\n\n /** input status (optional) */\n @Prop({reflect: true})\n status?: InputStatus;\n\n /** input disabled status (optional) */\n @Prop({reflect: true})\n disabled?: boolean;\n\n private statusIcons = {\n success: \"checkmark-circle\",\n error: \"multiply-circled\",\n warning: \"exclamation-circle\",\n };\n\n @State()\n statusRole = {};\n\n @Watch(\"message\")\n @Watch(\"status\")\n onMessageChange(): void {\n this.statusRole = this.message && this.status ? {role: \"alert\"} : {};\n }\n\n componentWillLoad(): void {\n this.onMessageChange();\n }\n\n render(): HTMLZInputMessageElement {\n return (\n <Host\n {...this.statusRole}\n aria-label={this.message}\n >\n {this.statusIcons[this.status] && this.message && <z-icon name={this.statusIcons[this.status]}></z-icon>}\n <span innerHTML={this.message} />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -25,7 +25,7 @@ const ZList = /*@__PURE__*/ proxyCustomElement(class ZList extends HTMLElement {
25
25
  this.setChildrenSizeType();
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '566e607d30100064c22bd292fce144f2d6105b5e' }, h("slot", { key: '43da8ff297f1610dbaa8cb67c9c498de90b7fa1e' })));
28
+ return (h(Host, { key: 'b8c56afd8f7e7bc741811796373511d8bea0e134' }, h("slot", { key: 'd38c7d0cda75c379d2b7f3b1a30f6b02cb6cec5f' })));
29
29
  }
30
30
  get host() { return this; }
31
31
  static get style() { return ZListStyle0; }
@@ -3,7 +3,7 @@ import { j as ExpandableListButtonAlign, l as ListDividerType, D as DividerSize,
3
3
  import { d as defineCustomElement$2 } from './index6.js';
4
4
  import { d as defineCustomElement$1 } from './index9.js';
5
5
 
6
- const stylesCss = ":host{outline:none}:host>.container{--background-color-list-element:var(--color-surface01);--background-hover-color-list-element:var(--color-background);--background-active-color-list-element:var(--color-background);display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none}:host([size=\"small\"])>.container{min-height:calc(var(--space-unit) * 4);padding:calc(var(--space-unit) / 2) 0}:host([size=\"medium\"])>.container{min-height:calc(var(--space-unit) * 5);padding:var(--space-unit) 0}:host([size=\"medium\"])>.tree-element-container{padding-top:var(--space-unit);padding-bottom:0}:host([size=\"large\"])>.container{min-height:calc(var(--space-unit) * 7);padding:calc(var(--space-unit) * 2) 0}:host([size=\"x-large\"])>.container{min-height:calc(var(--space-unit) * 9);padding:calc(var(--space-unit) * 3) 0}:host([expandable])>.container,:host([clickable])>.container{cursor:pointer}:host([expandable]:hover)>.container,:host([clickable]:hover)>.container{background-color:var(--background-hover-color-list-element)}:host([expandable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container{box-shadow:var(--shadow-focus-primary)}:host([clickable]:not([expandable]))>.container.clicked{box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([clickable]:active)>.container{background-color:var(--background-active-color-list-element)}:host([align-button=\"left\"][expandable])>.container>.z-list-element-container{display:flex}:host([align-button=\"right\"][expandable])>.container>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button=\"left\"][expandable])>.container>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button=\"right\"][expandable])>.container>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded{display:block}.z-list-content-container{display:flex;align-items:center}:host .z-tree-list-divider{position:absolute;z-index:100;left:0}";
6
+ const stylesCss = ":host{outline:none}:host>.container{display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;background-color:var(--background-color-list-element, var(--color-surface01));font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none}:host([size=\"small\"])>.container{min-height:calc(var(--space-unit) * 4);padding:calc(var(--space-unit) / 2) 0}:host([size=\"medium\"])>.container{min-height:calc(var(--space-unit) * 5);padding:var(--space-unit) 0}:host([size=\"medium\"])>.tree-element-container{padding-top:var(--space-unit);padding-bottom:0}:host([size=\"large\"])>.container{min-height:calc(var(--space-unit) * 7);padding:calc(var(--space-unit) * 2) 0}:host([size=\"x-large\"])>.container{min-height:calc(var(--space-unit) * 9);padding:calc(var(--space-unit) * 3) 0}:host([expandable])>.container,:host([clickable])>.container{cursor:pointer}:host([expandable]:hover)>.container,:host([clickable]:hover)>.container{background-color:var(--background-hover-color-list-element, var(--color-background))}:host([expandable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container{box-shadow:var(--shadow-focus-primary)}:host([clickable]:not([expandable]))>.container.clicked{box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([clickable]:active)>.container{background-color:var(--background-active-color-list-element, var(--color-background))}:host([align-button=\"left\"][expandable])>.container>.z-list-element-container{display:flex}:host([align-button=\"right\"][expandable])>.container>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button=\"left\"][expandable])>.container>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button=\"right\"][expandable])>.container>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded{display:block}.z-list-content-container{display:flex;align-items:center}:host .z-tree-list-divider{position:absolute;z-index:100;left:0}";
7
7
  const ZListElementStyle0 = stylesCss;
8
8
 
9
9
  const ZListElement = /*@__PURE__*/ proxyCustomElement(class ZListElement extends HTMLElement {
@@ -126,7 +126,7 @@ const ZListElement = /*@__PURE__*/ proxyCustomElement(class ZListElement extends
126
126
  }
127
127
  }
128
128
  render() {
129
- return (h(Host, { key: '00645187f8ab37bdf80bf45977ebcb7bd2f34e6a', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.hasTreeItems ? undefined : this.htmlTabindex }, h("div", { key: '0e19b51577dc65199033e916d9bbc87e034861a5', class: this.hasTreeItems ? "tree-element-container" : "container", style: { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '10fd78f3a2ef64dab0adc816bffa6ed51c446a5e', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: '5322b21f3635c554e0bb305c9841ef5013323486', class: { "z-tree-list-divider": this.hasTreeItems }, color: this.dividerColor, size: this.dividerSize }))));
129
+ return (h(Host, { key: '9ccc286d8d6334e8abf36909dab101c2b014f3aa', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.hasTreeItems ? undefined : this.htmlTabindex }, h("div", { key: '178e76e6e3b644468d7bf121399f6d3030b5b357', class: this.hasTreeItems ? "tree-element-container" : "container", style: { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '077ff6c48e9b6f266bc40d6d291025f285cd5ce7', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: 'fea718d0c92e3deadfd0bd6c1a1f84bf12323347', class: { "z-tree-list-divider": this.hasTreeItems }, color: this.dividerColor, size: this.dividerSize }))));
130
130
  }
131
131
  get host() { return this; }
132
132
  static get style() { return ZListElementStyle0; }
@@ -1 +1 @@
1
- {"file":"index14.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,mrEAAmrE,CAAC;AACtsE,2BAAe,SAAS;;MCeX,YAAY;IA+BvB,sBAAsB,CAAC,CAAc;QACnC,IAAI,IAAI,CAAC,aAAa,KAAK,CAAC,CAAC,MAAM,EAAE;YACnC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;YACrF,OAAO,CAAC,KAAK,EAAE,CAAC;SACjB;KACF;;;;IAiHD;;;;;;;QAdQ,sBAAiB,GAAG;YAC1B,SAAS,EAAE;gBACT,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,cAAc;aACtB;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,cAAc;aACtB;SACF,CAAC;2BAtGwC,yBAAyB,CAAC,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gBAAgB,GAAG,IAAI,EAC7D,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,OAAO,EAAE,MAAM,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,EAChE,SAAS,EAAE,IAAI,CAAC,aAAa,EAC7B,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,QAAQ,EAC3C,QAAQ,EAAE,IAAI,CAAC,YAAY,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,IAE3D,4DACE,KAAK,EAAE,IAAI,CAAC,YAAY,GAAG,wBAAwB,GAAG,WAAW,EACjE,KAAK,EAAE,EAAC,KAAK,EAAE,SAAS,IAAI,CAAC,KAAK,GAAG,EAAC,EACtC,QAAQ,EAAC,IAAI,EACb,EAAE,EAAE,qBAAqB,IAAI,CAAC,aAAa,EAAE,EAC7C,IAAI,EAAC,qBAAqB,IAE1B,4DAAK,KAAK,EAAC,0BAA0B,IAClC,IAAI,CAAC,sBAAsB,EAAE,EAC7B,IAAI,CAAC,aAAa,EAAE,CACjB,EACL,IAAI,CAAC,qBAAqB,EAAE,CACzB,EACL,IAAI,CAAC,WAAW,KAAK,eAAe,CAAC,OAAO,KAC3C,kEACE,KAAK,EAAE,EAAC,qBAAqB,EAAE,IAAI,CAAC,YAAY,EAAC,EACjD,KAAK,EAAE,IAAI,CAAC,YAAY,EACxB,IAAI,EAAE,IAAI,CAAC,WAAW,GACtB,CACH,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/list/z-list-element/styles.css?tag=z-list-element&encapsulation=shadow","src/components/list/z-list-element/index.tsx"],"sourcesContent":[":host {\n outline: none;\n}\n\n:host > .container {\n --background-color-list-element: var(--color-surface01);\n --background-hover-color-list-element: var(--color-background);\n --background-active-color-list-element: var(--color-background);\n\n display: flex;\n box-sizing: border-box;\n flex-direction: column;\n justify-content: center;\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n outline: none;\n}\n\n/* z-list-element size */\n\n:host([size=\"small\"]) > .container {\n min-height: calc(var(--space-unit) * 4);\n padding: calc(var(--space-unit) / 2) 0;\n}\n\n:host([size=\"medium\"]) > .container {\n min-height: calc(var(--space-unit) * 5);\n padding: var(--space-unit) 0;\n}\n\n:host([size=\"medium\"]) > .tree-element-container {\n padding-top: var(--space-unit);\n padding-bottom: 0;\n}\n\n:host([size=\"large\"]) > .container {\n min-height: calc(var(--space-unit) * 7);\n padding: calc(var(--space-unit) * 2) 0;\n}\n\n:host([size=\"x-large\"]) > .container {\n min-height: calc(var(--space-unit) * 9);\n padding: calc(var(--space-unit) * 3) 0;\n}\n\n/* ----------------- */\n\n:host([expandable]) > .container,\n:host([clickable]) > .container {\n cursor: pointer;\n}\n\n:host([expandable]:hover) > .container,\n:host([clickable]:hover) > .container {\n background-color: var(--background-hover-color-list-element);\n}\n\n:host([expandable]:focus:focus-visible) > .container,\n:host([clickable]:focus:focus-visible) > .container {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host([clickable]:not([expandable])) > .container.clicked {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host([expandable]:active) > .container,\n:host([clickable]:active) > .container {\n background-color: var(--background-active-color-list-element);\n}\n\n:host([align-button=\"left\"][expandable]) > .container > .z-list-element-container {\n display: flex;\n}\n\n:host([align-button=\"right\"][expandable]) > .container > .z-list-element-container {\n display: flex;\n flex-direction: row-reverse;\n justify-content: space-between;\n}\n\n:host([align-button=\"left\"][expandable]) > .container > .z-list-element-container > z-icon {\n margin-right: var(--space-unit);\n}\n\n:host([align-button=\"right\"][expandable]) > .container > .z-list-element-container > z-icon {\n margin-left: var(--space-unit);\n}\n\n:host > .container > .z-list-element-inner-container {\n display: none;\n}\n\n:host > .container > .z-list-element-inner-container.expanded {\n display: block;\n}\n\n.z-list-content-container {\n display: flex;\n align-items: center;\n}\n\n:host .z-tree-list-divider {\n position: absolute;\n z-index: 100;\n left: 0;\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Listen, Prop, State} from \"@stencil/core\";\nimport {\n DividerSize,\n ExpandableListButtonAlign,\n ExpandableListStyle,\n KeyboardCode,\n ListDividerType,\n ListSize,\n ListType,\n} from \"../../../beans\";\n\n@Component({\n tag: \"z-list-element\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZListElement {\n @Element() host: HTMLZListElementElement;\n\n /** remove filter click event, returns filterid */\n @Event({\n eventName: \"accessibleFocus\",\n composed: true,\n cancelable: true,\n bubbles: true,\n })\n accessibleFocus: EventEmitter<number>;\n\n /** set parent aria-activedescendant on focus event, returns filterid */\n @Event({\n eventName: \"ariaDescendantFocus\",\n composed: true,\n cancelable: true,\n bubbles: true,\n })\n ariaDescendantFocus: EventEmitter<number>;\n\n /** remove filter click event, returns filterid */\n @Event({\n eventName: \"clickItem\",\n composed: true,\n cancelable: true,\n bubbles: true,\n })\n clickItem: EventEmitter;\n\n @Listen(\"accessibleFocus\", {target: \"document\"})\n accessibleFocusHandler(e: CustomEvent): void {\n if (this.listElementId === e.detail) {\n const toFocus = this.host.shadowRoot.getElementById(`z-list-element-id-${e.detail}`);\n toFocus.focus();\n }\n }\n\n /**\n * [optional] Align expandable button left or right.\n */\n @Prop({reflect: true})\n alignButton?: ExpandableListButtonAlign = ExpandableListButtonAlign.LEFT;\n\n /**\n * [optional] Sets element clickable.\n */\n @Prop({reflect: true})\n clickable?: boolean = false;\n\n /**\n * [optional] Sets the divider color.\n */\n @Prop()\n dividerColor?: string = \"color-surface03\";\n\n /**\n * [optional] Sets the position where to insert the divider.\n */\n @Prop()\n dividerType?: ListDividerType = ListDividerType.NONE;\n\n /**\n * [optional] Sets the divider size.\n */\n @Prop()\n dividerSize?: DividerSize = DividerSize.SMALL;\n\n /**\n * [optional] Sets element as expandable.\n */\n @Prop({reflect: true})\n expandable?: boolean = false;\n\n /**\n * [optional] Sets expandable style to element.\n */\n @Prop()\n expandableStyle?: ExpandableListStyle = ExpandableListStyle.ACCORDION;\n\n /**\n * [optional] List element id.\n */\n @Prop({reflect: true})\n listElementId?: number;\n\n /**\n * [optional] Sets size of inside elements.\n */\n @Prop({reflect: true})\n size?: ListSize = ListSize.MEDIUM;\n\n /**\n * [optional] Sets text color of the element.\n */\n @Prop({reflect: true})\n color?: string = \"none\";\n\n /**\n * [optional] Sets disabled style of the element.\n */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /**\n * [optional] position of the list element inside the list or the group\n */\n @Prop({reflect: true})\n listElementPosition?: string = \"0\";\n\n /**\n * [optional] type of the list marker for each element\n */\n @Prop({reflect: true})\n listType?: ListType = ListType.NONE;\n\n /**\n * [optional] Sets element as tree item.\n */\n @Prop()\n hasTreeItems?: boolean;\n\n /**\n * Sets element role.\n */\n @Prop({reflect: true})\n role = \"listitem\";\n\n /** set tabindex to Host tag (optional). Defaults to 0. */\n @Prop()\n htmlTabindex?: number | null = 0;\n\n @State()\n showInnerContent = false;\n\n private openElementConfig = {\n accordion: {\n open: \"minus-circled\",\n close: \"plus-circled\",\n },\n menu: {\n open: \"chevron-up\",\n close: \"chevron-down\",\n },\n };\n\n /**\n * Constructor.\n */\n constructor() {\n this.handleClick = this.handleClick.bind(this);\n this.handleKeyDown = this.handleKeyDown.bind(this);\n }\n\n /**\n * Handler for click on element. If element is expandable, change state.\n * @returns void\n */\n private handleClick(): void {\n this.clickItem.emit(this.listElementId);\n if (!this.expandable) {\n return;\n }\n this.showInnerContent = !this.showInnerContent;\n }\n\n private handleKeyDown(event): void {\n const expandByKey = event.code === KeyboardCode.ENTER;\n switch (event.code) {\n case KeyboardCode.ARROW_DOWN:\n event.preventDefault();\n this.accessibleFocus.emit(this.listElementId + 1);\n break;\n case KeyboardCode.ARROW_UP:\n event.preventDefault();\n this.accessibleFocus.emit(this.listElementId - 1);\n break;\n case KeyboardCode.ENTER:\n event.preventDefault();\n this.clickItem.emit(this.listElementId);\n break;\n default:\n break;\n }\n\n if (!this.expandable || !expandByKey) {\n return;\n }\n this.showInnerContent = !this.showInnerContent;\n }\n\n /**\n * Renders button to expand element.\n * @returns expadable button\n */\n private renderExpandableButton(): HTMLZIconElement {\n if (!this.expandable) {\n return null;\n }\n\n return (\n <z-icon\n name={\n this.showInnerContent\n ? this.openElementConfig[this.expandableStyle].open\n : this.openElementConfig[this.expandableStyle].close\n }\n />\n );\n }\n\n /**\n * Renders expanded content if element is expandable.\n * @returns expanded content\n */\n private renderExpandedContent(): HTMLDivElement {\n if (!this.expandable) {\n return null;\n }\n\n return (\n <div\n class={{\n \"z-list-element-inner-container\": true,\n \"expanded\": this.showInnerContent,\n }}\n >\n <slot name=\"inner-content\" />\n </div>\n );\n }\n\n /**\n * Renders content of the z-list-element\n * @returns list content\n */\n private renderContent(): HTMLDivElement {\n if (this.listType === ListType.NONE) {\n return <slot />;\n }\n\n if (this.listType === ListType.ORDERED) {\n return (\n <div class=\"z-list-content-container\">\n <div>{this.listElementPosition}.&emsp;</div>\n <slot />\n </div>\n );\n }\n\n if (this.listType === ListType.UNORDERED) {\n return (\n <div class=\"z-list-content-container\">\n <span>&bull;&emsp;</span>\n <slot />\n </div>\n );\n }\n }\n\n render(): HTMLZListElementElement {\n return (\n <Host\n aria-expanded={this.expandable ? this.showInnerContent : null}\n onClick={this.handleClick}\n onFocus={() => this.ariaDescendantFocus.emit(this.listElementId)}\n onKeyDown={this.handleKeyDown}\n clickable={this.clickable && !this.disabled}\n tabIndex={this.hasTreeItems ? undefined : this.htmlTabindex}\n >\n <div\n class={this.hasTreeItems ? \"tree-element-container\" : \"container\"}\n style={{color: `var(--${this.color})`}}\n tabindex=\"-1\"\n id={`z-list-element-id-${this.listElementId}`}\n part=\"list-item-container\"\n >\n <div class=\"z-list-element-container\">\n {this.renderExpandableButton()}\n {this.renderContent()}\n </div>\n {this.renderExpandedContent()}\n </div>\n {this.dividerType === ListDividerType.ELEMENT && (\n <z-divider\n class={{\"z-tree-list-divider\": this.hasTreeItems}}\n color={this.dividerColor}\n size={this.dividerSize}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AAC,sBAAsB,EAAE,EAC7B,IAAI,CAAC,aAAa,EAAE,CACjB,EACL,IAAI,CAAC,qBAAqB,EAAE,CACzB,EACL,IAAI,CAAC,WAAW,KAAK,eAAe,CAAC,OAAO,KAC3C,kEACE,KAAK,EAAE,EAAC,qBAAqB,EAAE,IAAI,CAAC,YAAY,EAAC,EACjD,KAAK,EAAE,IAAI,CAAC,YAAY,EACxB,IAAI,EAAE,IAAI,CAAC,WAAW,GACtB,CACH,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/list/z-list-element/styles.css?tag=z-list-element&encapsulation=shadow","src/components/list/z-list-element/index.tsx"],"sourcesContent":[":host {\n outline: none;\n}\n\n:host > .container {\n --background-color-list-element: ;\n --background-hover-color-list-element: ;\n --background-active-color-list-element: ;\n\n display: flex;\n box-sizing: border-box;\n flex-direction: column;\n justify-content: center;\n background-color: var(--background-color-list-element, var(--color-surface01));\n font-family: var(--font-family-sans);\n font-weight: var(--font-rg);\n outline: none;\n}\n\n/* z-list-element size */\n\n:host([size=\"small\"]) > .container {\n min-height: calc(var(--space-unit) * 4);\n padding: calc(var(--space-unit) / 2) 0;\n}\n\n:host([size=\"medium\"]) > .container {\n min-height: calc(var(--space-unit) * 5);\n padding: var(--space-unit) 0;\n}\n\n:host([size=\"medium\"]) > .tree-element-container {\n padding-top: var(--space-unit);\n padding-bottom: 0;\n}\n\n:host([size=\"large\"]) > .container {\n min-height: calc(var(--space-unit) * 7);\n padding: calc(var(--space-unit) * 2) 0;\n}\n\n:host([size=\"x-large\"]) > .container {\n min-height: calc(var(--space-unit) * 9);\n padding: calc(var(--space-unit) * 3) 0;\n}\n\n/* ----------------- */\n\n:host([expandable]) > .container,\n:host([clickable]) > .container {\n cursor: pointer;\n}\n\n:host([expandable]:hover) > .container,\n:host([clickable]:hover) > .container {\n background-color: var(--background-hover-color-list-element, var(--color-background));\n}\n\n:host([expandable]:focus:focus-visible) > .container,\n:host([clickable]:focus:focus-visible) > .container {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host([clickable]:not([expandable])) > .container.clicked {\n box-shadow: var(--shadow-focus-primary);\n}\n\n:host([expandable]:active) > .container,\n:host([clickable]:active) > .container {\n background-color: var(--background-active-color-list-element, var(--color-background));\n}\n\n:host([align-button=\"left\"][expandable]) > .container > .z-list-element-container {\n display: flex;\n}\n\n:host([align-button=\"right\"][expandable]) > .container > .z-list-element-container {\n display: flex;\n flex-direction: row-reverse;\n justify-content: space-between;\n}\n\n:host([align-button=\"left\"][expandable]) > .container > .z-list-element-container > z-icon {\n margin-right: var(--space-unit);\n}\n\n:host([align-button=\"right\"][expandable]) > .container > .z-list-element-container > z-icon {\n margin-left: var(--space-unit);\n}\n\n:host > .container > .z-list-element-inner-container {\n display: none;\n}\n\n:host > .container > .z-list-element-inner-container.expanded {\n display: block;\n}\n\n.z-list-content-container {\n display: flex;\n align-items: center;\n}\n\n:host .z-tree-list-divider {\n position: absolute;\n z-index: 100;\n left: 0;\n}\n","import {Component, Element, Event, EventEmitter, h, Host, Listen, Prop, State} from \"@stencil/core\";\nimport {\n DividerSize,\n ExpandableListButtonAlign,\n ExpandableListStyle,\n KeyboardCode,\n ListDividerType,\n ListSize,\n ListType,\n} from \"../../../beans\";\n\n@Component({\n tag: \"z-list-element\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZListElement {\n @Element() host: HTMLZListElementElement;\n\n /** remove filter click event, returns filterid */\n @Event({\n eventName: \"accessibleFocus\",\n composed: true,\n cancelable: true,\n bubbles: true,\n })\n accessibleFocus: EventEmitter<number>;\n\n /** set parent aria-activedescendant on focus event, returns filterid */\n @Event({\n eventName: \"ariaDescendantFocus\",\n composed: true,\n cancelable: true,\n bubbles: true,\n })\n ariaDescendantFocus: EventEmitter<number>;\n\n /** remove filter click event, returns filterid */\n @Event({\n eventName: \"clickItem\",\n composed: true,\n cancelable: true,\n bubbles: true,\n })\n clickItem: EventEmitter;\n\n @Listen(\"accessibleFocus\", {target: \"document\"})\n accessibleFocusHandler(e: CustomEvent): void {\n if (this.listElementId === e.detail) {\n const toFocus = this.host.shadowRoot.getElementById(`z-list-element-id-${e.detail}`);\n toFocus.focus();\n }\n }\n\n /**\n * [optional] Align expandable button left or right.\n */\n @Prop({reflect: true})\n alignButton?: ExpandableListButtonAlign = ExpandableListButtonAlign.LEFT;\n\n /**\n * [optional] Sets element clickable.\n */\n @Prop({reflect: true})\n clickable?: boolean = false;\n\n /**\n * [optional] Sets the divider color.\n */\n @Prop()\n dividerColor?: string = \"color-surface03\";\n\n /**\n * [optional] Sets the position where to insert the divider.\n */\n @Prop()\n dividerType?: ListDividerType = ListDividerType.NONE;\n\n /**\n * [optional] Sets the divider size.\n */\n @Prop()\n dividerSize?: DividerSize = DividerSize.SMALL;\n\n /**\n * [optional] Sets element as expandable.\n */\n @Prop({reflect: true})\n expandable?: boolean = false;\n\n /**\n * [optional] Sets expandable style to element.\n */\n @Prop()\n expandableStyle?: ExpandableListStyle = ExpandableListStyle.ACCORDION;\n\n /**\n * [optional] List element id.\n */\n @Prop({reflect: true})\n listElementId?: number;\n\n /**\n * [optional] Sets size of inside elements.\n */\n @Prop({reflect: true})\n size?: ListSize = ListSize.MEDIUM;\n\n /**\n * [optional] Sets text color of the element.\n */\n @Prop({reflect: true})\n color?: string = \"none\";\n\n /**\n * [optional] Sets disabled style of the element.\n */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /**\n * [optional] position of the list element inside the list or the group\n */\n @Prop({reflect: true})\n listElementPosition?: string = \"0\";\n\n /**\n * [optional] type of the list marker for each element\n */\n @Prop({reflect: true})\n listType?: ListType = ListType.NONE;\n\n /**\n * [optional] Sets element as tree item.\n */\n @Prop()\n hasTreeItems?: boolean;\n\n /**\n * Sets element role.\n */\n @Prop({reflect: true})\n role = \"listitem\";\n\n /** set tabindex to Host tag (optional). Defaults to 0. */\n @Prop()\n htmlTabindex?: number | null = 0;\n\n @State()\n showInnerContent = false;\n\n private openElementConfig = {\n accordion: {\n open: \"minus-circled\",\n close: \"plus-circled\",\n },\n menu: {\n open: \"chevron-up\",\n close: \"chevron-down\",\n },\n };\n\n /**\n * Constructor.\n */\n constructor() {\n this.handleClick = this.handleClick.bind(this);\n this.handleKeyDown = this.handleKeyDown.bind(this);\n }\n\n /**\n * Handler for click on element. If element is expandable, change state.\n * @returns void\n */\n private handleClick(): void {\n this.clickItem.emit(this.listElementId);\n if (!this.expandable) {\n return;\n }\n this.showInnerContent = !this.showInnerContent;\n }\n\n private handleKeyDown(event): void {\n const expandByKey = event.code === KeyboardCode.ENTER;\n switch (event.code) {\n case KeyboardCode.ARROW_DOWN:\n event.preventDefault();\n this.accessibleFocus.emit(this.listElementId + 1);\n break;\n case KeyboardCode.ARROW_UP:\n event.preventDefault();\n this.accessibleFocus.emit(this.listElementId - 1);\n break;\n case KeyboardCode.ENTER:\n event.preventDefault();\n this.clickItem.emit(this.listElementId);\n break;\n default:\n break;\n }\n\n if (!this.expandable || !expandByKey) {\n return;\n }\n this.showInnerContent = !this.showInnerContent;\n }\n\n /**\n * Renders button to expand element.\n * @returns expadable button\n */\n private renderExpandableButton(): HTMLZIconElement {\n if (!this.expandable) {\n return null;\n }\n\n return (\n <z-icon\n name={\n this.showInnerContent\n ? this.openElementConfig[this.expandableStyle].open\n : this.openElementConfig[this.expandableStyle].close\n }\n />\n );\n }\n\n /**\n * Renders expanded content if element is expandable.\n * @returns expanded content\n */\n private renderExpandedContent(): HTMLDivElement {\n if (!this.expandable) {\n return null;\n }\n\n return (\n <div\n class={{\n \"z-list-element-inner-container\": true,\n \"expanded\": this.showInnerContent,\n }}\n >\n <slot name=\"inner-content\" />\n </div>\n );\n }\n\n /**\n * Renders content of the z-list-element\n * @returns list content\n */\n private renderContent(): HTMLDivElement {\n if (this.listType === ListType.NONE) {\n return <slot />;\n }\n\n if (this.listType === ListType.ORDERED) {\n return (\n <div class=\"z-list-content-container\">\n <div>{this.listElementPosition}.&emsp;</div>\n <slot />\n </div>\n );\n }\n\n if (this.listType === ListType.UNORDERED) {\n return (\n <div class=\"z-list-content-container\">\n <span>&bull;&emsp;</span>\n <slot />\n </div>\n );\n }\n }\n\n render(): HTMLZListElementElement {\n return (\n <Host\n aria-expanded={this.expandable ? this.showInnerContent : null}\n onClick={this.handleClick}\n onFocus={() => this.ariaDescendantFocus.emit(this.listElementId)}\n onKeyDown={this.handleKeyDown}\n clickable={this.clickable && !this.disabled}\n tabIndex={this.hasTreeItems ? undefined : this.htmlTabindex}\n >\n <div\n class={this.hasTreeItems ? \"tree-element-container\" : \"container\"}\n style={{color: `var(--${this.color})`}}\n tabindex=\"-1\"\n id={`z-list-element-id-${this.listElementId}`}\n part=\"list-item-container\"\n >\n <div class=\"z-list-element-container\">\n {this.renderExpandableButton()}\n {this.renderContent()}\n </div>\n {this.renderExpandedContent()}\n </div>\n {this.dividerType === ListDividerType.ELEMENT && (\n <z-divider\n class={{\"z-tree-list-divider\": this.hasTreeItems}}\n color={this.dividerColor}\n size={this.dividerSize}\n />\n )}\n </Host>\n );\n }\n}\n"],"version":3}