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

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 (899) hide show
  1. package/CHANGELOG.md +9 -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 +13 -7
  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 +5 -2
  65. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -1
  66. package/dist/cjs/z-menu.cjs.entry.js +3 -3
  67. package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
  68. package/dist/cjs/z-myz-card-alert.cjs.entry.js +3 -3
  69. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
  70. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  71. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  72. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  73. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  74. package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
  75. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
  76. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  77. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  78. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  79. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  80. package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
  81. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  82. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  83. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  84. package/dist/cjs/z-otp.cjs.entry.js +4 -4
  85. package/dist/cjs/z-otp.cjs.entry.js.map +1 -1
  86. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  87. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -1
  88. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  89. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  90. package/dist/cjs/z-range-picker.cjs.entry.js +5 -5
  91. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  92. package/dist/cjs/z-select.cjs.entry.js +5 -5
  93. package/dist/cjs/z-select.cjs.entry.js.map +1 -1
  94. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  95. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  96. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  97. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
  98. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  99. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
  100. package/dist/cjs/z-table.cjs.entry.js +9 -9
  101. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  102. package/dist/cjs/z-td.cjs.entry.js +2 -2
  103. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  104. package/dist/cjs/z-th.cjs.entry.js +2 -2
  105. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  106. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  107. package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
  108. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  109. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  110. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
  111. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  112. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  113. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  114. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  115. package/dist/collection/beans/index.js +0 -5
  116. package/dist/collection/beans/index.js.map +1 -1
  117. package/dist/collection/collection-manifest.json +1 -1
  118. package/dist/collection/components/book-card/z-book-card/index.js +72 -267
  119. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
  120. package/dist/collection/components/book-card/z-book-card/index.stories.js +100 -106
  121. package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -1
  122. package/dist/collection/components/book-card/z-book-card/styles.css +76 -140
  123. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
  124. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +2 -2
  125. package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +1 -1
  126. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  127. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  128. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
  129. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -1
  130. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +1 -14
  131. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -1
  132. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
  133. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
  134. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  135. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  136. package/dist/collection/components/list/z-list/index.js +1 -1
  137. package/dist/collection/components/list/z-list-element/index.js +1 -1
  138. package/dist/collection/components/list/z-list-element/styles.css +6 -5
  139. package/dist/collection/components/list/z-list-group/index.js +2 -2
  140. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  141. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  142. package/dist/collection/components/table/z-table/index.js +1 -1
  143. package/dist/collection/components/table/z-tbody/index.js +1 -1
  144. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  145. package/dist/collection/components/table/z-thead/index.js +1 -1
  146. package/dist/collection/components/table/z-tr/index.js +1 -1
  147. package/dist/collection/components/z-accordion/index.js +1 -1
  148. package/dist/collection/components/z-accordion/styles.css +1 -1
  149. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  150. package/dist/collection/components/z-anchor-navigation/styles.css +3 -2
  151. package/dist/collection/components/z-app-header/index.js +1 -1
  152. package/dist/collection/components/z-app-header/styles.css +1 -1
  153. package/dist/collection/components/z-aria-alert/index.js +1 -1
  154. package/dist/collection/components/z-avatar/index.js +2 -2
  155. package/dist/collection/components/z-breadcrumb/index.js +10 -4
  156. package/dist/collection/components/z-breadcrumb/index.js.map +1 -1
  157. package/dist/collection/components/z-breadcrumb/index.stories.js +1 -1
  158. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -1
  159. package/dist/collection/components/z-breadcrumb/styles.css +3 -0
  160. package/dist/collection/components/z-button-sort/index.js +1 -1
  161. package/dist/collection/components/z-button-sort/styles.css +5 -5
  162. package/dist/collection/components/z-card/index.stories.js +2 -2
  163. package/dist/collection/components/z-card/index.stories.js.map +1 -1
  164. package/dist/collection/components/z-card/styles.css +1 -2
  165. package/dist/collection/components/z-carousel/index.js +2 -2
  166. package/dist/collection/components/z-carousel/index.js.map +1 -1
  167. package/dist/collection/components/z-chip/index.js +2 -2
  168. package/dist/collection/components/z-chip/styles.css +4 -8
  169. package/dist/collection/components/z-combobox/index.js +3 -3
  170. package/dist/collection/components/z-combobox/index.js.map +1 -1
  171. package/dist/collection/components/z-combobox/styles.css +35 -18
  172. package/dist/collection/components/z-cover-hero/index.js +2 -2
  173. package/dist/collection/components/z-divider/index.js +1 -1
  174. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  175. package/dist/collection/components/z-ghost-loading/styles.css +3 -3
  176. package/dist/collection/components/z-icon/index.js +1 -1
  177. package/dist/collection/components/z-info-box/index.js +1 -1
  178. package/dist/collection/components/z-info-reveal/index.js +1 -1
  179. package/dist/collection/components/z-input/index.js +1 -1
  180. package/dist/collection/components/z-input/styles.css +9 -6
  181. package/dist/collection/components/z-input-message/index.js +1 -1
  182. package/dist/collection/components/z-input-message/styles.css +1 -1
  183. package/dist/collection/components/z-logo/index.js +1 -1
  184. package/dist/collection/components/z-menu/styles.css +1 -1
  185. package/dist/collection/components/z-menu-section/index.js +4 -1
  186. package/dist/collection/components/z-menu-section/index.js.map +1 -1
  187. package/dist/collection/components/z-modal/index.js +7 -7
  188. package/dist/collection/components/z-modal/index.js.map +1 -1
  189. package/dist/collection/components/z-modal/index.stories.js +1 -1
  190. package/dist/collection/components/z-modal/index.stories.js.map +1 -1
  191. package/dist/collection/components/z-modal/styles.css +5 -6
  192. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  193. package/dist/collection/components/z-navigation-tabs/styles.css +1 -1
  194. package/dist/collection/components/z-notification/index.js +1 -1
  195. package/dist/collection/components/z-notification/styles.css +6 -6
  196. package/dist/collection/components/z-offcanvas/index.js +1 -1
  197. package/dist/collection/components/z-pagination/styles.css +1 -1
  198. package/dist/collection/components/z-panel-elem/index.js +2 -2
  199. package/dist/collection/components/z-popover/index.js +1 -1
  200. package/dist/collection/components/z-popover/index.stories.js +2 -1
  201. package/dist/collection/components/z-popover/index.stories.js.map +1 -1
  202. package/dist/collection/components/z-searchbar/index.js +1 -1
  203. package/dist/collection/components/z-section-title/index.js +1 -1
  204. package/dist/collection/components/z-select/index.js +2 -2
  205. package/dist/collection/components/z-select/index.js.map +1 -1
  206. package/dist/collection/components/z-select/styles.css +14 -8
  207. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  208. package/dist/collection/components/z-stepper/index.js +1 -1
  209. package/dist/collection/components/z-stepper/index.stories.js +42 -12
  210. package/dist/collection/components/z-stepper/index.stories.js.map +1 -1
  211. package/dist/collection/components/z-stepper/styles.css +1 -1
  212. package/dist/collection/components/z-stepper-item/index.js +1 -1
  213. package/dist/collection/components/z-stepper-item/styles.css +6 -6
  214. package/dist/collection/components/z-tag/index.js +2 -2
  215. package/dist/collection/components/z-toast-notification/index.js +1 -1
  216. package/dist/collection/components/z-toast-notification/styles.css +5 -5
  217. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  218. package/dist/collection/components/z-toggle-button/index.js +2 -2
  219. package/dist/collection/components/z-toggle-button/styles.css +1 -1
  220. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  221. package/dist/collection/components/z-tooltip/index.js +1 -1
  222. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  223. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  224. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  225. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +2 -2
  226. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  227. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  228. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  229. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  230. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  231. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  232. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  233. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  234. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +1 -1
  235. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  236. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  237. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  238. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  239. package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
  240. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  241. package/dist/collection/snowflakes/myz/z-otp/styles.css +2 -2
  242. package/dist/components/index.js +1 -1
  243. package/dist/components/index10.js +1 -1
  244. package/dist/components/index11.js +2 -2
  245. package/dist/components/index11.js.map +1 -1
  246. package/dist/components/index12.js +2 -2
  247. package/dist/components/index12.js.map +1 -1
  248. package/dist/components/index13.js +1 -1
  249. package/dist/components/index14.js +2 -2
  250. package/dist/components/index14.js.map +1 -1
  251. package/dist/components/index15.js +2 -2
  252. package/dist/components/index16.js +5 -5
  253. package/dist/components/index16.js.map +1 -1
  254. package/dist/components/index17.js +1 -1
  255. package/dist/components/index18.js +1 -1
  256. package/dist/components/index19.js +1 -1
  257. package/dist/components/index2.js +1 -6
  258. package/dist/components/index2.js.map +1 -1
  259. package/dist/components/index20.js +1 -1
  260. package/dist/components/index21.js +1 -1
  261. package/dist/components/index22.js +1 -1
  262. package/dist/components/index23.js +1 -1
  263. package/dist/components/index24.js +1 -1
  264. package/dist/components/index25.js +2 -2
  265. package/dist/components/index3.js +2 -2
  266. package/dist/components/index3.js.map +1 -1
  267. package/dist/components/index5.js +3 -3
  268. package/dist/components/index5.js.map +1 -1
  269. package/dist/components/index6.js +1 -1
  270. package/dist/components/index7.js +2 -2
  271. package/dist/components/index8.js +2 -2
  272. package/dist/components/index8.js.map +1 -1
  273. package/dist/components/index9.js +1 -1
  274. package/dist/components/z-accordion.js +3 -3
  275. package/dist/components/z-accordion.js.map +1 -1
  276. package/dist/components/z-anchor-navigation.js +2 -2
  277. package/dist/components/z-anchor-navigation.js.map +1 -1
  278. package/dist/components/z-app-header-deprecated.js +1 -1
  279. package/dist/components/z-app-header.js +2 -2
  280. package/dist/components/z-app-header.js.map +1 -1
  281. package/dist/components/z-aria-alert.js +1 -1
  282. package/dist/components/z-avatar.js +2 -2
  283. package/dist/components/z-book-card-app.js +1 -1
  284. package/dist/components/z-book-card-deprecated.js +1 -1
  285. package/dist/components/z-book-card.js +53 -117
  286. package/dist/components/z-book-card.js.map +1 -1
  287. package/dist/components/z-breadcrumb.js +11 -5
  288. package/dist/components/z-breadcrumb.js.map +1 -1
  289. package/dist/components/z-button-sort.js +2 -2
  290. package/dist/components/z-button-sort.js.map +1 -1
  291. package/dist/components/z-card.js +1 -1
  292. package/dist/components/z-card.js.map +1 -1
  293. package/dist/components/z-carousel.js +2 -2
  294. package/dist/components/z-carousel.js.map +1 -1
  295. package/dist/components/z-combobox.js +16 -22
  296. package/dist/components/z-combobox.js.map +1 -1
  297. package/dist/components/z-cover-hero.js +2 -2
  298. package/dist/components/z-date-picker.js +1 -1
  299. package/dist/components/z-file.js +1 -1
  300. package/dist/components/z-info-box.js +1 -1
  301. package/dist/components/z-logo.js +1 -1
  302. package/dist/components/z-menu-deprecated.js +1 -1
  303. package/dist/components/z-menu-section-deprecated.js +1 -1
  304. package/dist/components/z-menu-section.js +4 -1
  305. package/dist/components/z-menu-section.js.map +1 -1
  306. package/dist/components/z-menu.js +1 -1
  307. package/dist/components/z-menu.js.map +1 -1
  308. package/dist/components/z-myz-card-alert.js +2 -2
  309. package/dist/components/z-myz-card-alert.js.map +1 -1
  310. package/dist/components/z-myz-card-dictionary.js +1 -1
  311. package/dist/components/z-myz-card-footer-sections.js +1 -1
  312. package/dist/components/z-myz-card-footer.js +1 -1
  313. package/dist/components/z-myz-card-icon.js +1 -1
  314. package/dist/components/z-myz-card-info.js +2 -2
  315. package/dist/components/z-myz-card-info.js.map +1 -1
  316. package/dist/components/z-myz-card-list.js +1 -1
  317. package/dist/components/z-myz-list.js +1 -1
  318. package/dist/components/z-navigation-tabs.js +3 -3
  319. package/dist/components/z-navigation-tabs.js.map +1 -1
  320. package/dist/components/z-notification.js +2 -2
  321. package/dist/components/z-notification.js.map +1 -1
  322. package/dist/components/z-otp.js +3 -3
  323. package/dist/components/z-otp.js.map +1 -1
  324. package/dist/components/z-pagination.js +1 -1
  325. package/dist/components/z-pagination.js.map +1 -1
  326. package/dist/components/z-panel-elem.js +2 -2
  327. package/dist/components/z-range-picker.js +3 -3
  328. package/dist/components/z-section-title.js +1 -1
  329. package/dist/components/z-select.js +3 -3
  330. package/dist/components/z-select.js.map +1 -1
  331. package/dist/components/z-skip-to-content.js +1 -1
  332. package/dist/components/z-stepper-item.js +2 -2
  333. package/dist/components/z-stepper-item.js.map +1 -1
  334. package/dist/components/z-stepper.js +2 -2
  335. package/dist/components/z-stepper.js.map +1 -1
  336. package/dist/components/z-table.js +1 -1
  337. package/dist/components/z-tbody.js +1 -1
  338. package/dist/components/z-td.js +1 -1
  339. package/dist/components/z-tfoot.js +1 -1
  340. package/dist/components/z-th.js +1 -1
  341. package/dist/components/z-thead.js +1 -1
  342. package/dist/components/z-toast-notification-list.js +1 -1
  343. package/dist/components/z-toast-notification.js +2 -2
  344. package/dist/components/z-toast-notification.js.map +1 -1
  345. package/dist/components/z-toggle-button.js +3 -3
  346. package/dist/components/z-toggle-button.js.map +1 -1
  347. package/dist/components/z-toggle-switch.js +3 -3
  348. package/dist/components/z-tooltip.js +1 -1
  349. package/dist/components/z-tr.js +1 -1
  350. package/dist/components/z-visually-hidden.js +1 -1
  351. package/dist/docs/themes/index.stories.js +7 -15
  352. package/dist/docs/themes/index.stories.js.map +1 -1
  353. package/dist/esm/{index-5dff449e.js → index-0ebe53c2.js} +2 -2
  354. package/dist/esm/{index-5dff449e.js.map → index-0ebe53c2.js.map} +1 -1
  355. package/dist/esm/{index-678ea09c.js → index-7ff7476c.js} +5 -5
  356. package/dist/esm/{index-678ea09c.js.map → index-7ff7476c.js.map} +1 -1
  357. package/dist/esm/{index-04335eea.js → index-8965837f.js} +2 -2
  358. package/dist/esm/{index-04335eea.js.map → index-8965837f.js.map} +1 -1
  359. package/dist/esm/{index-9adfcd0d.js → index-dfd97928.js} +2 -2
  360. package/dist/esm/{index-9adfcd0d.js.map → index-dfd97928.js.map} +1 -1
  361. package/dist/esm/{index-dac83244.js → index-f75609c5.js} +3 -3
  362. package/dist/esm/{index-dac83244.js.map → index-f75609c5.js.map} +1 -1
  363. package/dist/esm/{index-5c567adb.js → index-f87879d9.js} +3 -3
  364. package/dist/esm/{index-5c567adb.js.map → index-f87879d9.js.map} +1 -1
  365. package/dist/esm/{index-c9fd4a10.js → index-fe87283d.js} +2 -7
  366. package/dist/esm/index-fe87283d.js.map +1 -0
  367. package/dist/esm/index.js +2 -2
  368. package/dist/esm/loader.js +1 -1
  369. package/dist/esm/{utils-1a6a53d2.js → utils-ae56fbe5.js} +2 -2
  370. package/dist/esm/{utils-1a6a53d2.js.map → utils-ae56fbe5.js.map} +1 -1
  371. package/dist/esm/{utils-cd97a95b.js → utils-c7062cf7.js} +2 -2
  372. package/dist/esm/{utils-cd97a95b.js.map → utils-c7062cf7.js.map} +1 -1
  373. package/dist/esm/web-components-library.js +1 -1
  374. package/dist/esm/z-accordion.entry.js +3 -3
  375. package/dist/esm/z-accordion.entry.js.map +1 -1
  376. package/dist/esm/z-alert.entry.js +2 -2
  377. package/dist/esm/z-alert.entry.js.map +1 -1
  378. package/dist/esm/z-anchor-navigation.entry.js +3 -3
  379. package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
  380. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  381. package/dist/esm/z-app-header_12.entry.js +19 -19
  382. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  383. package/dist/esm/z-aria-alert.entry.js +2 -2
  384. package/dist/esm/z-avatar.entry.js +3 -3
  385. package/dist/esm/z-book-card-app.entry.js +2 -2
  386. package/dist/esm/z-book-card-deprecated.entry.js +3 -3
  387. package/dist/esm/z-book-card.entry.js +45 -91
  388. package/dist/esm/z-book-card.entry.js.map +1 -1
  389. package/dist/esm/z-breadcrumb.entry.js +13 -7
  390. package/dist/esm/z-breadcrumb.entry.js.map +1 -1
  391. package/dist/esm/z-button-sort.entry.js +2 -2
  392. package/dist/esm/z-button-sort.entry.js.map +1 -1
  393. package/dist/esm/z-card.entry.js +2 -2
  394. package/dist/esm/z-card.entry.js.map +1 -1
  395. package/dist/esm/z-carousel.entry.js +3 -3
  396. package/dist/esm/z-carousel.entry.js.map +1 -1
  397. package/dist/esm/z-chip.entry.js +4 -4
  398. package/dist/esm/z-chip.entry.js.map +1 -1
  399. package/dist/esm/z-combobox.entry.js +6 -6
  400. package/dist/esm/z-combobox.entry.js.map +1 -1
  401. package/dist/esm/z-cover-hero.entry.js +3 -3
  402. package/dist/esm/z-date-picker.entry.js +3 -3
  403. package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
  404. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
  405. package/dist/esm/z-file-upload.entry.js +1 -1
  406. package/dist/esm/z-file.entry.js +2 -2
  407. package/dist/esm/z-ghost-loading.entry.js +2 -2
  408. package/dist/esm/z-ghost-loading.entry.js.map +1 -1
  409. package/dist/esm/z-info-box.entry.js +1 -1
  410. package/dist/esm/z-info-reveal.entry.js +2 -2
  411. package/dist/esm/z-logo.entry.js +1 -1
  412. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  413. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  414. package/dist/esm/z-menu-section.entry.js +5 -2
  415. package/dist/esm/z-menu-section.entry.js.map +1 -1
  416. package/dist/esm/z-menu.entry.js +3 -3
  417. package/dist/esm/z-menu.entry.js.map +1 -1
  418. package/dist/esm/z-myz-card-alert.entry.js +3 -3
  419. package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
  420. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  421. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  422. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  423. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  424. package/dist/esm/z-myz-card-info.entry.js +4 -4
  425. package/dist/esm/z-myz-card-info.entry.js.map +1 -1
  426. package/dist/esm/z-myz-card-list.entry.js +1 -1
  427. package/dist/esm/z-myz-card_4.entry.js +5 -5
  428. package/dist/esm/z-myz-list-item.entry.js +3 -3
  429. package/dist/esm/z-myz-list.entry.js +1 -1
  430. package/dist/esm/z-navigation-tabs.entry.js +4 -4
  431. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  432. package/dist/esm/z-notification.entry.js +2 -2
  433. package/dist/esm/z-notification.entry.js.map +1 -1
  434. package/dist/esm/z-otp.entry.js +4 -4
  435. package/dist/esm/z-otp.entry.js.map +1 -1
  436. package/dist/esm/z-pagination.entry.js +2 -2
  437. package/dist/esm/z-pagination.entry.js.map +1 -1
  438. package/dist/esm/z-panel-elem.entry.js +2 -2
  439. package/dist/esm/z-popover.entry.js +2 -2
  440. package/dist/esm/z-range-picker.entry.js +5 -5
  441. package/dist/esm/z-section-title.entry.js +2 -2
  442. package/dist/esm/z-select.entry.js +5 -5
  443. package/dist/esm/z-select.entry.js.map +1 -1
  444. package/dist/esm/z-skip-to-content.entry.js +3 -3
  445. package/dist/esm/z-slideshow.entry.js +2 -2
  446. package/dist/esm/z-stepper-item.entry.js +2 -2
  447. package/dist/esm/z-stepper-item.entry.js.map +1 -1
  448. package/dist/esm/z-stepper.entry.js +2 -2
  449. package/dist/esm/z-stepper.entry.js.map +1 -1
  450. package/dist/esm/z-table.entry.js +9 -9
  451. package/dist/esm/z-tbody.entry.js +1 -1
  452. package/dist/esm/z-td.entry.js +2 -2
  453. package/dist/esm/z-tfoot.entry.js +1 -1
  454. package/dist/esm/z-th.entry.js +2 -2
  455. package/dist/esm/z-thead.entry.js +1 -1
  456. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  457. package/dist/esm/z-toast-notification.entry.js +3 -3
  458. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  459. package/dist/esm/z-toggle-button.entry.js +3 -3
  460. package/dist/esm/z-toggle-button.entry.js.map +1 -1
  461. package/dist/esm/z-toggle-switch.entry.js +5 -5
  462. package/dist/esm/z-tooltip.entry.js +2 -2
  463. package/dist/esm/z-tr.entry.js +5 -5
  464. package/dist/esm/z-visually-hidden.entry.js +1 -1
  465. package/dist/types/beans/index.d.ts +0 -12
  466. package/dist/types/components/book-card/z-book-card/index.d.ts +28 -42
  467. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +35 -32
  468. package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +1 -1
  469. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +1 -10
  470. package/dist/types/components/z-breadcrumb/index.stories.d.ts +1 -1
  471. package/dist/types/components/z-card/index.stories.d.ts +1 -1
  472. package/dist/types/components/z-modal/index.d.ts +3 -3
  473. package/dist/types/components/z-popover/index.stories.d.ts +5 -2
  474. package/dist/types/components/z-stepper/index.stories.d.ts +3 -0
  475. package/dist/types/components.d.ts +57 -76
  476. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +1 -12
  477. package/dist/web-components-library/index.esm.js +1 -1
  478. package/dist/web-components-library/index.esm.js.map +1 -1
  479. package/{www/build/p-b22d3c7d.js → dist/web-components-library/p-00e88046.js} +2 -2
  480. package/dist/web-components-library/{p-7ef2c4ce.entry.js → p-0bf8d989.entry.js} +2 -2
  481. package/dist/web-components-library/{p-7b375bca.js → p-0cb113f9.js} +2 -2
  482. package/{www/build/p-c3c99202.js → dist/web-components-library/p-0d9f1574.js} +2 -2
  483. package/dist/web-components-library/{p-fca17517.entry.js → p-121f2960.entry.js} +2 -2
  484. package/dist/web-components-library/p-1bbf185c.js +2 -0
  485. package/dist/web-components-library/{p-7f0cbe57.entry.js → p-1c51153b.entry.js} +2 -2
  486. package/{www/build/p-5b6dd467.entry.js → dist/web-components-library/p-1cbc1b08.entry.js} +2 -2
  487. package/dist/web-components-library/{p-c7f8b628.entry.js → p-1e25d225.entry.js} +2 -2
  488. package/dist/web-components-library/p-1ece11f1.entry.js +2 -0
  489. package/dist/web-components-library/p-1ece11f1.entry.js.map +1 -0
  490. package/dist/web-components-library/{p-2dde9b84.entry.js → p-2467913e.entry.js} +2 -2
  491. package/{www/build/p-2dde9b84.entry.js.map → dist/web-components-library/p-2467913e.entry.js.map} +1 -1
  492. package/dist/web-components-library/{p-ad74941b.entry.js → p-25be56d1.entry.js} +2 -2
  493. package/dist/web-components-library/p-28c972c6.entry.js +2 -0
  494. package/dist/web-components-library/{p-6f5f2d56.entry.js → p-29414fa3.entry.js} +2 -2
  495. package/{www/build/p-6f5f2d56.entry.js.map → dist/web-components-library/p-29414fa3.entry.js.map} +1 -1
  496. package/dist/web-components-library/p-301b56f1.entry.js +2 -0
  497. package/dist/web-components-library/p-301b56f1.entry.js.map +1 -0
  498. package/dist/web-components-library/p-30677b5c.entry.js +2 -0
  499. package/dist/web-components-library/p-30677b5c.entry.js.map +1 -0
  500. package/dist/web-components-library/p-32c1e2fa.entry.js +2 -0
  501. package/dist/web-components-library/p-32c1e2fa.entry.js.map +1 -0
  502. package/{www/build/p-31c5b39d.entry.js → dist/web-components-library/p-37a34984.entry.js} +2 -2
  503. package/dist/web-components-library/{p-195c19a5.entry.js → p-390bbfd4.entry.js} +2 -2
  504. package/dist/web-components-library/p-3a42612f.entry.js +2 -0
  505. package/dist/web-components-library/{p-4f33d4f4.entry.js → p-3d8cdd34.entry.js} +2 -2
  506. package/dist/web-components-library/p-431f5871.js +2 -0
  507. package/{www/build/p-6230c432.entry.js → dist/web-components-library/p-4de706ad.entry.js} +2 -2
  508. package/dist/web-components-library/{p-f49171aa.entry.js → p-53a2995c.entry.js} +2 -2
  509. package/dist/web-components-library/{p-22d56699.entry.js → p-55fad9b1.entry.js} +2 -2
  510. package/{www/build/p-c7df6a63.entry.js → dist/web-components-library/p-5a24e268.entry.js} +2 -2
  511. package/dist/web-components-library/{p-0a149188.entry.js → p-5d7bbd82.entry.js} +2 -2
  512. package/dist/web-components-library/{p-42559870.entry.js → p-5ed87dec.entry.js} +2 -2
  513. package/dist/web-components-library/p-61a83529.entry.js +2 -0
  514. package/dist/web-components-library/{p-9187ce36.entry.js → p-6655e19b.entry.js} +2 -2
  515. package/dist/web-components-library/{p-bbdb67db.entry.js → p-7314c74b.entry.js} +2 -2
  516. package/dist/web-components-library/p-7b13eeff.entry.js +2 -0
  517. package/dist/web-components-library/p-7b13eeff.entry.js.map +1 -0
  518. package/dist/web-components-library/p-7ce5ca87.entry.js +2 -0
  519. package/dist/web-components-library/p-7df942c9.entry.js +2 -0
  520. package/dist/web-components-library/p-7df942c9.entry.js.map +1 -0
  521. package/dist/web-components-library/p-7ecc3acf.entry.js +2 -0
  522. package/dist/web-components-library/p-7ecc3acf.entry.js.map +1 -0
  523. package/{www/build/p-c2af9a71.entry.js → dist/web-components-library/p-816fd6dc.entry.js} +2 -2
  524. package/dist/web-components-library/p-838b298b.entry.js +2 -0
  525. package/dist/web-components-library/p-838b298b.entry.js.map +1 -0
  526. package/dist/web-components-library/{p-2dcf53b3.entry.js → p-8c5dcab3.entry.js} +2 -2
  527. package/dist/web-components-library/p-8d043fc0.entry.js +7 -0
  528. package/dist/web-components-library/{p-2c5f77f2.entry.js.map → p-8d043fc0.entry.js.map} +1 -1
  529. package/dist/web-components-library/p-8eb94125.entry.js +2 -0
  530. package/{www/build/p-8e544914.entry.js.map → dist/web-components-library/p-8eb94125.entry.js.map} +1 -1
  531. package/dist/web-components-library/{p-d29f9574.entry.js → p-8fa23b47.entry.js} +2 -2
  532. package/{www/build/p-d29f9574.entry.js.map → dist/web-components-library/p-8fa23b47.entry.js.map} +1 -1
  533. package/dist/web-components-library/p-8fdf9453.entry.js +2 -0
  534. package/dist/web-components-library/{p-3243015c.entry.js.map → p-8fdf9453.entry.js.map} +1 -1
  535. package/{www/build/p-29a297ed.entry.js → dist/web-components-library/p-996446e2.entry.js} +2 -2
  536. package/dist/web-components-library/p-996446e2.entry.js.map +1 -0
  537. package/{www/build/p-96be6eae.entry.js → dist/web-components-library/p-99a6c92f.entry.js} +2 -2
  538. package/dist/web-components-library/{p-cdc51108.entry.js → p-9b2e5033.entry.js} +3 -3
  539. package/dist/web-components-library/p-9bad1dbc.entry.js +2 -0
  540. package/dist/web-components-library/p-9bad1dbc.entry.js.map +1 -0
  541. package/dist/web-components-library/{p-6337614a.entry.js → p-9fcc8e5d.entry.js} +2 -2
  542. package/{www/build/p-6337614a.entry.js.map → dist/web-components-library/p-9fcc8e5d.entry.js.map} +1 -1
  543. package/dist/web-components-library/p-aaab7f44.entry.js +2 -0
  544. package/dist/web-components-library/p-abc08ea3.entry.js +2 -0
  545. package/{www/build/p-475a2ba2.entry.js → dist/web-components-library/p-abd3b914.entry.js} +2 -2
  546. package/dist/web-components-library/p-acee5500.entry.js +2 -0
  547. package/dist/web-components-library/{p-0d60cc5e.entry.js → p-adb5caab.entry.js} +2 -2
  548. package/{www/build/p-0d60cc5e.entry.js.map → dist/web-components-library/p-adb5caab.entry.js.map} +1 -1
  549. package/dist/web-components-library/{p-f9fb6005.entry.js → p-ae1b5e23.entry.js} +2 -2
  550. package/{www/build/p-cc775eee.entry.js → dist/web-components-library/p-b1cbb20d.entry.js} +2 -2
  551. package/dist/web-components-library/p-b4018dab.entry.js +2 -0
  552. package/dist/web-components-library/p-b4018dab.entry.js.map +1 -0
  553. package/dist/web-components-library/{p-7091a1fc.entry.js → p-b94e0513.entry.js} +2 -2
  554. package/dist/web-components-library/{p-a1b6184f.js → p-bc408f39.js} +2 -2
  555. package/dist/web-components-library/p-bc71a934.entry.js +2 -0
  556. package/dist/web-components-library/p-bc71a934.entry.js.map +1 -0
  557. package/dist/web-components-library/p-bd44674f.entry.js +2 -0
  558. package/dist/web-components-library/p-bd44674f.entry.js.map +1 -0
  559. package/dist/web-components-library/p-cfbef2c3.entry.js +2 -0
  560. package/dist/web-components-library/p-d20df54b.entry.js +2 -0
  561. package/dist/web-components-library/p-d20df54b.entry.js.map +1 -0
  562. package/{www/build/p-bd5b0bce.entry.js → dist/web-components-library/p-d8d7db0e.entry.js} +2 -2
  563. package/dist/web-components-library/{p-30170218.entry.js → p-d9fdc804.entry.js} +2 -2
  564. package/{www/build/p-8e6760d9.entry.js → dist/web-components-library/p-df97df54.entry.js} +2 -2
  565. package/dist/web-components-library/p-df9f25a1.entry.js +2 -0
  566. package/dist/web-components-library/p-df9f25a1.entry.js.map +1 -0
  567. package/dist/web-components-library/p-dfcf9936.js +2 -0
  568. package/dist/web-components-library/p-dfcf9936.js.map +1 -0
  569. package/dist/web-components-library/p-e5ce98e0.entry.js +2 -0
  570. package/dist/web-components-library/p-e5ce98e0.entry.js.map +1 -0
  571. package/dist/web-components-library/p-ec8f8ac8.entry.js +2 -0
  572. package/dist/web-components-library/p-ec8f8ac8.entry.js.map +1 -0
  573. package/dist/web-components-library/{p-e087f05f.js → p-f3145212.js} +2 -2
  574. package/dist/web-components-library/p-f73d8a87.entry.js +2 -0
  575. package/dist/web-components-library/p-f73d8a87.entry.js.map +1 -0
  576. package/dist/web-components-library/{p-4c462e7f.js → p-f7f2beae.js} +2 -2
  577. package/dist/web-components-library/p-f8d49a59.entry.js +2 -0
  578. package/dist/web-components-library/p-f9f98130.entry.js +2 -0
  579. package/dist/web-components-library/p-f9f98130.entry.js.map +1 -0
  580. package/dist/web-components-library/p-fad6ea09.entry.js +2 -0
  581. package/dist/web-components-library/p-fad6ea09.entry.js.map +1 -0
  582. package/dist/web-components-library/web-components-library.css +142 -175
  583. package/dist/web-components-library/web-components-library.esm.js +1 -1
  584. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  585. package/package.json +2 -1
  586. package/www/build/index.esm.js +1 -1
  587. package/www/build/index.esm.js.map +1 -1
  588. package/{dist/web-components-library/p-b22d3c7d.js → www/build/p-00e88046.js} +2 -2
  589. package/www/build/{p-7ef2c4ce.entry.js → p-0bf8d989.entry.js} +2 -2
  590. package/www/build/{p-7b375bca.js → p-0cb113f9.js} +2 -2
  591. package/{dist/web-components-library/p-c3c99202.js → www/build/p-0d9f1574.js} +2 -2
  592. package/www/build/{p-fca17517.entry.js → p-121f2960.entry.js} +2 -2
  593. package/www/build/p-1bbf185c.js +2 -0
  594. package/www/build/{p-7f0cbe57.entry.js → p-1c51153b.entry.js} +2 -2
  595. package/{dist/web-components-library/p-5b6dd467.entry.js → www/build/p-1cbc1b08.entry.js} +2 -2
  596. package/www/build/{p-c7f8b628.entry.js → p-1e25d225.entry.js} +2 -2
  597. package/www/build/p-1ece11f1.entry.js +2 -0
  598. package/www/build/p-1ece11f1.entry.js.map +1 -0
  599. package/www/build/{p-2dde9b84.entry.js → p-2467913e.entry.js} +2 -2
  600. package/{dist/web-components-library/p-2dde9b84.entry.js.map → www/build/p-2467913e.entry.js.map} +1 -1
  601. package/www/build/{p-ad74941b.entry.js → p-25be56d1.entry.js} +2 -2
  602. package/www/build/p-28c972c6.entry.js +2 -0
  603. package/www/build/{p-6f5f2d56.entry.js → p-29414fa3.entry.js} +2 -2
  604. package/{dist/web-components-library/p-6f5f2d56.entry.js.map → www/build/p-29414fa3.entry.js.map} +1 -1
  605. package/www/build/p-301b56f1.entry.js +2 -0
  606. package/www/build/p-301b56f1.entry.js.map +1 -0
  607. package/www/build/p-30677b5c.entry.js +2 -0
  608. package/www/build/p-30677b5c.entry.js.map +1 -0
  609. package/www/build/p-32c1e2fa.entry.js +2 -0
  610. package/www/build/p-32c1e2fa.entry.js.map +1 -0
  611. package/www/build/p-3595114a.js +2 -0
  612. package/{dist/web-components-library/p-31c5b39d.entry.js → www/build/p-37a34984.entry.js} +2 -2
  613. package/www/build/{p-195c19a5.entry.js → p-390bbfd4.entry.js} +2 -2
  614. package/www/build/p-3a42612f.entry.js +2 -0
  615. package/www/build/{p-4f33d4f4.entry.js → p-3d8cdd34.entry.js} +2 -2
  616. package/www/build/p-431f5871.js +2 -0
  617. package/{dist/web-components-library/p-6230c432.entry.js → www/build/p-4de706ad.entry.js} +2 -2
  618. package/www/build/{p-f49171aa.entry.js → p-53a2995c.entry.js} +2 -2
  619. package/www/build/{p-22d56699.entry.js → p-55fad9b1.entry.js} +2 -2
  620. package/{dist/web-components-library/p-c7df6a63.entry.js → www/build/p-5a24e268.entry.js} +2 -2
  621. package/www/build/{p-0a149188.entry.js → p-5d7bbd82.entry.js} +2 -2
  622. package/www/build/{p-42559870.entry.js → p-5ed87dec.entry.js} +2 -2
  623. package/www/build/p-61a83529.entry.js +2 -0
  624. package/www/build/{p-9187ce36.entry.js → p-6655e19b.entry.js} +2 -2
  625. package/www/build/{p-bbdb67db.entry.js → p-7314c74b.entry.js} +2 -2
  626. package/www/build/p-7b13eeff.entry.js +2 -0
  627. package/www/build/p-7b13eeff.entry.js.map +1 -0
  628. package/www/build/p-7ce5ca87.entry.js +2 -0
  629. package/www/build/p-7df942c9.entry.js +2 -0
  630. package/www/build/p-7df942c9.entry.js.map +1 -0
  631. package/www/build/p-7ecc3acf.entry.js +2 -0
  632. package/www/build/p-7ecc3acf.entry.js.map +1 -0
  633. package/{dist/web-components-library/p-c2af9a71.entry.js → www/build/p-816fd6dc.entry.js} +2 -2
  634. package/www/build/p-838b298b.entry.js +2 -0
  635. package/www/build/p-838b298b.entry.js.map +1 -0
  636. package/www/build/{p-2dcf53b3.entry.js → p-8c5dcab3.entry.js} +2 -2
  637. package/www/build/p-8d043fc0.entry.js +7 -0
  638. package/www/build/{p-2c5f77f2.entry.js.map → p-8d043fc0.entry.js.map} +1 -1
  639. package/www/build/p-8eb94125.entry.js +2 -0
  640. package/{dist/web-components-library/p-8e544914.entry.js.map → www/build/p-8eb94125.entry.js.map} +1 -1
  641. package/www/build/{p-d29f9574.entry.js → p-8fa23b47.entry.js} +2 -2
  642. package/{dist/web-components-library/p-d29f9574.entry.js.map → www/build/p-8fa23b47.entry.js.map} +1 -1
  643. package/www/build/p-8fdf9453.entry.js +2 -0
  644. package/www/build/{p-3243015c.entry.js.map → p-8fdf9453.entry.js.map} +1 -1
  645. package/{dist/web-components-library/p-29a297ed.entry.js → www/build/p-996446e2.entry.js} +2 -2
  646. package/www/build/p-996446e2.entry.js.map +1 -0
  647. package/{dist/web-components-library/p-96be6eae.entry.js → www/build/p-99a6c92f.entry.js} +2 -2
  648. package/www/build/{p-cdc51108.entry.js → p-9b2e5033.entry.js} +3 -3
  649. package/www/build/p-9bad1dbc.entry.js +2 -0
  650. package/www/build/p-9bad1dbc.entry.js.map +1 -0
  651. package/www/build/{p-6337614a.entry.js → p-9fcc8e5d.entry.js} +2 -2
  652. package/{dist/web-components-library/p-6337614a.entry.js.map → www/build/p-9fcc8e5d.entry.js.map} +1 -1
  653. package/www/build/{p-5fcad73f.css → p-a69c66e4.css} +142 -175
  654. package/www/build/p-aaab7f44.entry.js +2 -0
  655. package/www/build/p-abc08ea3.entry.js +2 -0
  656. package/{dist/web-components-library/p-475a2ba2.entry.js → www/build/p-abd3b914.entry.js} +2 -2
  657. package/www/build/p-acee5500.entry.js +2 -0
  658. package/www/build/{p-0d60cc5e.entry.js → p-adb5caab.entry.js} +2 -2
  659. package/{dist/web-components-library/p-0d60cc5e.entry.js.map → www/build/p-adb5caab.entry.js.map} +1 -1
  660. package/www/build/{p-f9fb6005.entry.js → p-ae1b5e23.entry.js} +2 -2
  661. package/{dist/web-components-library/p-cc775eee.entry.js → www/build/p-b1cbb20d.entry.js} +2 -2
  662. package/www/build/p-b4018dab.entry.js +2 -0
  663. package/www/build/p-b4018dab.entry.js.map +1 -0
  664. package/www/build/{p-7091a1fc.entry.js → p-b94e0513.entry.js} +2 -2
  665. package/www/build/{p-a1b6184f.js → p-bc408f39.js} +2 -2
  666. package/www/build/p-bc71a934.entry.js +2 -0
  667. package/www/build/p-bc71a934.entry.js.map +1 -0
  668. package/www/build/p-bd44674f.entry.js +2 -0
  669. package/www/build/p-bd44674f.entry.js.map +1 -0
  670. package/www/build/p-cfbef2c3.entry.js +2 -0
  671. package/www/build/p-d20df54b.entry.js +2 -0
  672. package/www/build/p-d20df54b.entry.js.map +1 -0
  673. package/{dist/web-components-library/p-bd5b0bce.entry.js → www/build/p-d8d7db0e.entry.js} +2 -2
  674. package/www/build/{p-30170218.entry.js → p-d9fdc804.entry.js} +2 -2
  675. package/{dist/web-components-library/p-8e6760d9.entry.js → www/build/p-df97df54.entry.js} +2 -2
  676. package/www/build/p-df9f25a1.entry.js +2 -0
  677. package/www/build/p-df9f25a1.entry.js.map +1 -0
  678. package/www/build/p-dfcf9936.js +2 -0
  679. package/www/build/p-dfcf9936.js.map +1 -0
  680. package/www/build/p-e5ce98e0.entry.js +2 -0
  681. package/www/build/p-e5ce98e0.entry.js.map +1 -0
  682. package/www/build/p-ec8f8ac8.entry.js +2 -0
  683. package/www/build/p-ec8f8ac8.entry.js.map +1 -0
  684. package/www/build/{p-e087f05f.js → p-f3145212.js} +2 -2
  685. package/www/build/p-f73d8a87.entry.js +2 -0
  686. package/www/build/p-f73d8a87.entry.js.map +1 -0
  687. package/www/build/{p-4c462e7f.js → p-f7f2beae.js} +2 -2
  688. package/www/build/p-f8d49a59.entry.js +2 -0
  689. package/www/build/p-f9f98130.entry.js +2 -0
  690. package/www/build/p-f9f98130.entry.js.map +1 -0
  691. package/www/build/p-fad6ea09.entry.js +2 -0
  692. package/www/build/p-fad6ea09.entry.js.map +1 -0
  693. package/www/build/web-components-library.css +142 -175
  694. package/www/build/web-components-library.esm.js +1 -1
  695. package/www/build/web-components-library.esm.js.map +1 -1
  696. package/www/index.html +1 -1
  697. package/www/pages/book-cards.html +251 -250
  698. package/dist/cjs/index-a465bca8.js.map +0 -1
  699. package/dist/esm/index-c9fd4a10.js.map +0 -1
  700. package/dist/web-components-library/p-011fa0c8.entry.js +0 -2
  701. package/dist/web-components-library/p-011fa0c8.entry.js.map +0 -1
  702. package/dist/web-components-library/p-035807e3.entry.js +0 -2
  703. package/dist/web-components-library/p-035807e3.entry.js.map +0 -1
  704. package/dist/web-components-library/p-08d8f935.entry.js +0 -2
  705. package/dist/web-components-library/p-0e3ec0b2.entry.js +0 -2
  706. package/dist/web-components-library/p-0e3ec0b2.entry.js.map +0 -1
  707. package/dist/web-components-library/p-0fce007b.entry.js +0 -2
  708. package/dist/web-components-library/p-20e4a601.entry.js +0 -2
  709. package/dist/web-components-library/p-20e4a601.entry.js.map +0 -1
  710. package/dist/web-components-library/p-29a297ed.entry.js.map +0 -1
  711. package/dist/web-components-library/p-2aeb2a94.entry.js +0 -2
  712. package/dist/web-components-library/p-2b309f57.js +0 -2
  713. package/dist/web-components-library/p-2b309f57.js.map +0 -1
  714. package/dist/web-components-library/p-2c5f77f2.entry.js +0 -7
  715. package/dist/web-components-library/p-3243015c.entry.js +0 -2
  716. package/dist/web-components-library/p-384baa02.entry.js +0 -2
  717. package/dist/web-components-library/p-384baa02.entry.js.map +0 -1
  718. package/dist/web-components-library/p-3a6f069c.entry.js +0 -2
  719. package/dist/web-components-library/p-3a6f069c.entry.js.map +0 -1
  720. package/dist/web-components-library/p-4df7de6b.entry.js +0 -2
  721. package/dist/web-components-library/p-4df7de6b.entry.js.map +0 -1
  722. package/dist/web-components-library/p-5f04d9eb.entry.js +0 -2
  723. package/dist/web-components-library/p-5f04d9eb.entry.js.map +0 -1
  724. package/dist/web-components-library/p-6e1ba2f0.entry.js +0 -2
  725. package/dist/web-components-library/p-7095262b.entry.js +0 -2
  726. package/dist/web-components-library/p-7095262b.entry.js.map +0 -1
  727. package/dist/web-components-library/p-7779ebce.entry.js +0 -2
  728. package/dist/web-components-library/p-78626225.entry.js +0 -2
  729. package/dist/web-components-library/p-78626225.entry.js.map +0 -1
  730. package/dist/web-components-library/p-898fcd66.entry.js +0 -2
  731. package/dist/web-components-library/p-898fcd66.entry.js.map +0 -1
  732. package/dist/web-components-library/p-8e544914.entry.js +0 -2
  733. package/dist/web-components-library/p-9ec778dc.entry.js +0 -2
  734. package/dist/web-components-library/p-9ec778dc.entry.js.map +0 -1
  735. package/dist/web-components-library/p-a4ddeb5f.entry.js +0 -2
  736. package/dist/web-components-library/p-b38be247.entry.js +0 -2
  737. package/dist/web-components-library/p-b539c9be.entry.js +0 -2
  738. package/dist/web-components-library/p-b659f139.entry.js +0 -2
  739. package/dist/web-components-library/p-b659f139.entry.js.map +0 -1
  740. package/dist/web-components-library/p-b6de174b.entry.js +0 -2
  741. package/dist/web-components-library/p-b6de174b.entry.js.map +0 -1
  742. package/dist/web-components-library/p-b7cf2442.entry.js +0 -2
  743. package/dist/web-components-library/p-b7cf2442.entry.js.map +0 -1
  744. package/dist/web-components-library/p-bbd492d3.entry.js +0 -2
  745. package/dist/web-components-library/p-bbd492d3.entry.js.map +0 -1
  746. package/dist/web-components-library/p-c13ef624.js +0 -2
  747. package/dist/web-components-library/p-cb8aec27.entry.js +0 -2
  748. package/dist/web-components-library/p-dbcc4906.entry.js +0 -2
  749. package/dist/web-components-library/p-dbcc4906.entry.js.map +0 -1
  750. package/dist/web-components-library/p-ea36d666.entry.js +0 -2
  751. package/dist/web-components-library/p-ea36d666.entry.js.map +0 -1
  752. package/dist/web-components-library/p-fb06a5d8.entry.js +0 -2
  753. package/dist/web-components-library/p-fb06a5d8.entry.js.map +0 -1
  754. package/dist/web-components-library/p-feb84d36.js +0 -2
  755. package/www/build/p-011fa0c8.entry.js +0 -2
  756. package/www/build/p-011fa0c8.entry.js.map +0 -1
  757. package/www/build/p-035807e3.entry.js +0 -2
  758. package/www/build/p-035807e3.entry.js.map +0 -1
  759. package/www/build/p-08d8f935.entry.js +0 -2
  760. package/www/build/p-0e3ec0b2.entry.js +0 -2
  761. package/www/build/p-0e3ec0b2.entry.js.map +0 -1
  762. package/www/build/p-0fce007b.entry.js +0 -2
  763. package/www/build/p-20e4a601.entry.js +0 -2
  764. package/www/build/p-20e4a601.entry.js.map +0 -1
  765. package/www/build/p-29a297ed.entry.js.map +0 -1
  766. package/www/build/p-2aeb2a94.entry.js +0 -2
  767. package/www/build/p-2b309f57.js +0 -2
  768. package/www/build/p-2c5f77f2.entry.js +0 -7
  769. package/www/build/p-3243015c.entry.js +0 -2
  770. package/www/build/p-384baa02.entry.js +0 -2
  771. package/www/build/p-384baa02.entry.js.map +0 -1
  772. package/www/build/p-3a6f069c.entry.js +0 -2
  773. package/www/build/p-3a6f069c.entry.js.map +0 -1
  774. package/www/build/p-4df7de6b.entry.js +0 -2
  775. package/www/build/p-4df7de6b.entry.js.map +0 -1
  776. package/www/build/p-5f04d9eb.entry.js +0 -2
  777. package/www/build/p-5f04d9eb.entry.js.map +0 -1
  778. package/www/build/p-6e1ba2f0.entry.js +0 -2
  779. package/www/build/p-7095262b.entry.js +0 -2
  780. package/www/build/p-7095262b.entry.js.map +0 -1
  781. package/www/build/p-7779ebce.entry.js +0 -2
  782. package/www/build/p-78626225.entry.js +0 -2
  783. package/www/build/p-78626225.entry.js.map +0 -1
  784. package/www/build/p-898fcd66.entry.js +0 -2
  785. package/www/build/p-898fcd66.entry.js.map +0 -1
  786. package/www/build/p-8e544914.entry.js +0 -2
  787. package/www/build/p-9ec778dc.entry.js +0 -2
  788. package/www/build/p-9ec778dc.entry.js.map +0 -1
  789. package/www/build/p-a0155994.js +0 -2
  790. package/www/build/p-a4ddeb5f.entry.js +0 -2
  791. package/www/build/p-b38be247.entry.js +0 -2
  792. package/www/build/p-b539c9be.entry.js +0 -2
  793. package/www/build/p-b659f139.entry.js +0 -2
  794. package/www/build/p-b659f139.entry.js.map +0 -1
  795. package/www/build/p-b6de174b.entry.js +0 -2
  796. package/www/build/p-b6de174b.entry.js.map +0 -1
  797. package/www/build/p-b7cf2442.entry.js +0 -2
  798. package/www/build/p-b7cf2442.entry.js.map +0 -1
  799. package/www/build/p-bbd492d3.entry.js +0 -2
  800. package/www/build/p-bbd492d3.entry.js.map +0 -1
  801. package/www/build/p-c13ef624.js +0 -2
  802. package/www/build/p-cb8aec27.entry.js +0 -2
  803. package/www/build/p-dbcc4906.entry.js +0 -2
  804. package/www/build/p-dbcc4906.entry.js.map +0 -1
  805. package/www/build/p-ea36d666.entry.js +0 -2
  806. package/www/build/p-ea36d666.entry.js.map +0 -1
  807. package/www/build/p-fb06a5d8.entry.js +0 -2
  808. package/www/build/p-fb06a5d8.entry.js.map +0 -1
  809. package/www/build/p-feb84d36.js +0 -2
  810. /package/dist/web-components-library/{p-b22d3c7d.js.map → p-00e88046.js.map} +0 -0
  811. /package/dist/web-components-library/{p-7ef2c4ce.entry.js.map → p-0bf8d989.entry.js.map} +0 -0
  812. /package/dist/web-components-library/{p-7b375bca.js.map → p-0cb113f9.js.map} +0 -0
  813. /package/dist/web-components-library/{p-c3c99202.js.map → p-0d9f1574.js.map} +0 -0
  814. /package/dist/web-components-library/{p-fca17517.entry.js.map → p-121f2960.entry.js.map} +0 -0
  815. /package/dist/web-components-library/{p-c13ef624.js.map → p-1bbf185c.js.map} +0 -0
  816. /package/dist/web-components-library/{p-7f0cbe57.entry.js.map → p-1c51153b.entry.js.map} +0 -0
  817. /package/dist/web-components-library/{p-5b6dd467.entry.js.map → p-1cbc1b08.entry.js.map} +0 -0
  818. /package/dist/web-components-library/{p-c7f8b628.entry.js.map → p-1e25d225.entry.js.map} +0 -0
  819. /package/dist/web-components-library/{p-ad74941b.entry.js.map → p-25be56d1.entry.js.map} +0 -0
  820. /package/dist/web-components-library/{p-7779ebce.entry.js.map → p-28c972c6.entry.js.map} +0 -0
  821. /package/dist/web-components-library/{p-31c5b39d.entry.js.map → p-37a34984.entry.js.map} +0 -0
  822. /package/dist/web-components-library/{p-195c19a5.entry.js.map → p-390bbfd4.entry.js.map} +0 -0
  823. /package/dist/web-components-library/{p-0fce007b.entry.js.map → p-3a42612f.entry.js.map} +0 -0
  824. /package/dist/web-components-library/{p-4f33d4f4.entry.js.map → p-3d8cdd34.entry.js.map} +0 -0
  825. /package/dist/web-components-library/{p-feb84d36.js.map → p-431f5871.js.map} +0 -0
  826. /package/dist/web-components-library/{p-6230c432.entry.js.map → p-4de706ad.entry.js.map} +0 -0
  827. /package/dist/web-components-library/{p-f49171aa.entry.js.map → p-53a2995c.entry.js.map} +0 -0
  828. /package/dist/web-components-library/{p-22d56699.entry.js.map → p-55fad9b1.entry.js.map} +0 -0
  829. /package/dist/web-components-library/{p-c7df6a63.entry.js.map → p-5a24e268.entry.js.map} +0 -0
  830. /package/dist/web-components-library/{p-0a149188.entry.js.map → p-5d7bbd82.entry.js.map} +0 -0
  831. /package/dist/web-components-library/{p-42559870.entry.js.map → p-5ed87dec.entry.js.map} +0 -0
  832. /package/dist/web-components-library/{p-2aeb2a94.entry.js.map → p-61a83529.entry.js.map} +0 -0
  833. /package/dist/web-components-library/{p-9187ce36.entry.js.map → p-6655e19b.entry.js.map} +0 -0
  834. /package/dist/web-components-library/{p-bbdb67db.entry.js.map → p-7314c74b.entry.js.map} +0 -0
  835. /package/dist/web-components-library/{p-cb8aec27.entry.js.map → p-7ce5ca87.entry.js.map} +0 -0
  836. /package/dist/web-components-library/{p-c2af9a71.entry.js.map → p-816fd6dc.entry.js.map} +0 -0
  837. /package/dist/web-components-library/{p-2dcf53b3.entry.js.map → p-8c5dcab3.entry.js.map} +0 -0
  838. /package/dist/web-components-library/{p-96be6eae.entry.js.map → p-99a6c92f.entry.js.map} +0 -0
  839. /package/dist/web-components-library/{p-cdc51108.entry.js.map → p-9b2e5033.entry.js.map} +0 -0
  840. /package/dist/web-components-library/{p-6e1ba2f0.entry.js.map → p-aaab7f44.entry.js.map} +0 -0
  841. /package/dist/web-components-library/{p-a4ddeb5f.entry.js.map → p-abc08ea3.entry.js.map} +0 -0
  842. /package/dist/web-components-library/{p-475a2ba2.entry.js.map → p-abd3b914.entry.js.map} +0 -0
  843. /package/dist/web-components-library/{p-08d8f935.entry.js.map → p-acee5500.entry.js.map} +0 -0
  844. /package/dist/web-components-library/{p-f9fb6005.entry.js.map → p-ae1b5e23.entry.js.map} +0 -0
  845. /package/dist/web-components-library/{p-cc775eee.entry.js.map → p-b1cbb20d.entry.js.map} +0 -0
  846. /package/dist/web-components-library/{p-7091a1fc.entry.js.map → p-b94e0513.entry.js.map} +0 -0
  847. /package/dist/web-components-library/{p-a1b6184f.js.map → p-bc408f39.js.map} +0 -0
  848. /package/dist/web-components-library/{p-b38be247.entry.js.map → p-cfbef2c3.entry.js.map} +0 -0
  849. /package/dist/web-components-library/{p-bd5b0bce.entry.js.map → p-d8d7db0e.entry.js.map} +0 -0
  850. /package/dist/web-components-library/{p-30170218.entry.js.map → p-d9fdc804.entry.js.map} +0 -0
  851. /package/dist/web-components-library/{p-8e6760d9.entry.js.map → p-df97df54.entry.js.map} +0 -0
  852. /package/dist/web-components-library/{p-e087f05f.js.map → p-f3145212.js.map} +0 -0
  853. /package/dist/web-components-library/{p-4c462e7f.js.map → p-f7f2beae.js.map} +0 -0
  854. /package/dist/web-components-library/{p-b539c9be.entry.js.map → p-f8d49a59.entry.js.map} +0 -0
  855. /package/www/build/{p-b22d3c7d.js.map → p-00e88046.js.map} +0 -0
  856. /package/www/build/{p-7ef2c4ce.entry.js.map → p-0bf8d989.entry.js.map} +0 -0
  857. /package/www/build/{p-7b375bca.js.map → p-0cb113f9.js.map} +0 -0
  858. /package/www/build/{p-c3c99202.js.map → p-0d9f1574.js.map} +0 -0
  859. /package/www/build/{p-fca17517.entry.js.map → p-121f2960.entry.js.map} +0 -0
  860. /package/www/build/{p-c13ef624.js.map → p-1bbf185c.js.map} +0 -0
  861. /package/www/build/{p-7f0cbe57.entry.js.map → p-1c51153b.entry.js.map} +0 -0
  862. /package/www/build/{p-5b6dd467.entry.js.map → p-1cbc1b08.entry.js.map} +0 -0
  863. /package/www/build/{p-c7f8b628.entry.js.map → p-1e25d225.entry.js.map} +0 -0
  864. /package/www/build/{p-ad74941b.entry.js.map → p-25be56d1.entry.js.map} +0 -0
  865. /package/www/build/{p-7779ebce.entry.js.map → p-28c972c6.entry.js.map} +0 -0
  866. /package/www/build/{p-31c5b39d.entry.js.map → p-37a34984.entry.js.map} +0 -0
  867. /package/www/build/{p-195c19a5.entry.js.map → p-390bbfd4.entry.js.map} +0 -0
  868. /package/www/build/{p-0fce007b.entry.js.map → p-3a42612f.entry.js.map} +0 -0
  869. /package/www/build/{p-4f33d4f4.entry.js.map → p-3d8cdd34.entry.js.map} +0 -0
  870. /package/www/build/{p-feb84d36.js.map → p-431f5871.js.map} +0 -0
  871. /package/www/build/{p-6230c432.entry.js.map → p-4de706ad.entry.js.map} +0 -0
  872. /package/www/build/{p-f49171aa.entry.js.map → p-53a2995c.entry.js.map} +0 -0
  873. /package/www/build/{p-22d56699.entry.js.map → p-55fad9b1.entry.js.map} +0 -0
  874. /package/www/build/{p-c7df6a63.entry.js.map → p-5a24e268.entry.js.map} +0 -0
  875. /package/www/build/{p-0a149188.entry.js.map → p-5d7bbd82.entry.js.map} +0 -0
  876. /package/www/build/{p-42559870.entry.js.map → p-5ed87dec.entry.js.map} +0 -0
  877. /package/www/build/{p-2aeb2a94.entry.js.map → p-61a83529.entry.js.map} +0 -0
  878. /package/www/build/{p-9187ce36.entry.js.map → p-6655e19b.entry.js.map} +0 -0
  879. /package/www/build/{p-bbdb67db.entry.js.map → p-7314c74b.entry.js.map} +0 -0
  880. /package/www/build/{p-cb8aec27.entry.js.map → p-7ce5ca87.entry.js.map} +0 -0
  881. /package/www/build/{p-c2af9a71.entry.js.map → p-816fd6dc.entry.js.map} +0 -0
  882. /package/www/build/{p-2dcf53b3.entry.js.map → p-8c5dcab3.entry.js.map} +0 -0
  883. /package/www/build/{p-96be6eae.entry.js.map → p-99a6c92f.entry.js.map} +0 -0
  884. /package/www/build/{p-cdc51108.entry.js.map → p-9b2e5033.entry.js.map} +0 -0
  885. /package/www/build/{p-6e1ba2f0.entry.js.map → p-aaab7f44.entry.js.map} +0 -0
  886. /package/www/build/{p-a4ddeb5f.entry.js.map → p-abc08ea3.entry.js.map} +0 -0
  887. /package/www/build/{p-475a2ba2.entry.js.map → p-abd3b914.entry.js.map} +0 -0
  888. /package/www/build/{p-08d8f935.entry.js.map → p-acee5500.entry.js.map} +0 -0
  889. /package/www/build/{p-f9fb6005.entry.js.map → p-ae1b5e23.entry.js.map} +0 -0
  890. /package/www/build/{p-cc775eee.entry.js.map → p-b1cbb20d.entry.js.map} +0 -0
  891. /package/www/build/{p-7091a1fc.entry.js.map → p-b94e0513.entry.js.map} +0 -0
  892. /package/www/build/{p-a1b6184f.js.map → p-bc408f39.js.map} +0 -0
  893. /package/www/build/{p-b38be247.entry.js.map → p-cfbef2c3.entry.js.map} +0 -0
  894. /package/www/build/{p-bd5b0bce.entry.js.map → p-d8d7db0e.entry.js.map} +0 -0
  895. /package/www/build/{p-30170218.entry.js.map → p-d9fdc804.entry.js.map} +0 -0
  896. /package/www/build/{p-8e6760d9.entry.js.map → p-df97df54.entry.js.map} +0 -0
  897. /package/www/build/{p-e087f05f.js.map → p-f3145212.js.map} +0 -0
  898. /package/www/build/{p-4c462e7f.js.map → p-f7f2beae.js.map} +0 -0
  899. /package/www/build/{p-b539c9be.entry.js.map → p-f8d49a59.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC/F,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC,MAAM,2BAA2B,GAC/B,oMAAoM,CAAC;AAEvM;;;;GAIG;AAMH,MAAM,OAAO,MAAM;;;;;gCAeE,eAAe;2BAIV,KAAK;wBAIR,IAAI;4BAIA,IAAI;8BAIF,IAAI;;IAUvB,cAAc;QACpB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;YAC9C,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;IACH,CAAC;IAMO,qBAAqB;QAC3B,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;IACvD,CAAC;IAMO,mBAAmB;QACzB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;YACxD,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;IACH,CAAC;IAEO,eAAe;QACrB,IAAI,IAAI,CAAC,cAAc,IAAI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method, Prop, h} from \"@stencil/core\";\nimport dialogPolyfill from \"dialog-polyfill\";\nimport {KeyboardCode} from \"../../beans\";\n\nconst FOCUSABLE_ELEMENTS_SELECTOR =\n ':is(button, input, select, textarea, [contenteditable=\"\"], [contenteditable=\"true\"], a[href], [tabindex], summary):not([disabled], [disabled=\"\"], [tabindex=\"-1\"], [aria-hidden=\"true\"], [hidden])';\n\n/**\n * @slot modalCloseButton - accept custom close button\n * @slot modalContent - set the content of the modal\n * @cssprop --z-modal-content-padding - set a default padding for the modal content slot to 16px\n */\n@Component({\n tag: \"z-modal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZModal {\n /** unique id */\n @Prop()\n modalid: string;\n\n /** title text (optional) */\n @Prop()\n modaltitle?: string;\n\n /** subtitle (optional) */\n @Prop()\n modalsubtitle?: string;\n\n /** aria-label for close button (optional) */\n @Prop()\n closeButtonLabel = \"chiudi modale\";\n\n /** add role \"alertdialog\" to dialog (optional, default is false) */\n @Prop()\n alertdialog?: boolean = false;\n\n /** if true, the modal is closable (optional, default is true) */\n @Prop()\n closable?: boolean = true;\n\n /** if true, the modal can scroll inside, if false the viewport can scroll */\n @Prop()\n scrollInside?: boolean = true;\n\n /** if true, the page scroll is locked when the modal is open (optional, default is true) */\n @Prop()\n lockPageScroll?: boolean = true;\n\n private dialog: HTMLDialogElement;\n\n @Element() host: HTMLZModalElement;\n\n /** emitted on close button click, returns modalid */\n @Event()\n modalClose: EventEmitter;\n\n private emitModalClose(): void {\n if (this.closable) {\n this.modalClose.emit({modalid: this.modalid});\n this.resetPageScroll();\n }\n }\n\n /** emitted on modal header click, returns modalid */\n @Event()\n modalHeaderActive: EventEmitter;\n\n private emitModalHeaderActive(): void {\n this.modalHeaderActive.emit({modalid: this.modalid});\n }\n\n /** emitted on background click, returns modalid */\n @Event()\n modalBackgroundClick: EventEmitter;\n\n private emitBackgroundClick(): void {\n if (this.closable) {\n this.modalBackgroundClick.emit({modalid: this.modalid});\n this.resetPageScroll();\n }\n }\n\n private resetPageScroll(): void {\n if (this.lockPageScroll && document.body.style.overflowY === \"hidden\") {\n document.body.style.overflowY = \"\";\n }\n }\n\n componentDidLoad(): void {\n if (typeof window.HTMLDialogElement !== \"function\") {\n /* workaround to fix `registerDialog` in test environment:\n stencil converts html elements to MockHTMLElement but this element is missing the `localName` property,\n which is used by `registerDialog` to recognize the element as dialog */\n if (!this.dialog.localName) {\n Object.defineProperty(this.dialog, \"localName\", {value: \"dialog\"});\n }\n dialogPolyfill.registerDialog(this.dialog);\n this.dialog.setAttribute(\"open\", \"true\");\n } else {\n this.open();\n }\n if (this.lockPageScroll) {\n requestAnimationFrame(() => (document.body.style.overflowY = \"hidden\"));\n }\n }\n\n disconnectedCallback(): void {\n this.resetPageScroll();\n }\n\n /** open modal */\n @Method()\n async open(): Promise<void> {\n this.dialog?.showModal();\n if (this.lockPageScroll) {\n document.body.style.overflowY = \"hidden\";\n }\n }\n\n /** close modal */\n @Method()\n async close(): Promise<void> {\n if (this.closable) {\n this.dialog?.close();\n this.resetPageScroll();\n }\n }\n\n /**\n * Get a list of focusable elements in the dialog.\n * Remove elements with `display: none` from the list, because they're not focusable.\n *\n * N.B. The list is built on the assumption that elements inside shadow root are placed ALL before the `modalContent` slot.\n * Adding focusable elements after the `modalContent` slot would break the order of elements in the list.\n */\n private get focusableElements(): HTMLElement[] {\n return [\n ...Array.from(this.host.shadowRoot.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ...Array.from(this.host.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ].filter((element) => getComputedStyle(element).display !== \"none\");\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ESC && !this.closable) {\n e.preventDefault();\n }\n\n if (e.code !== KeyboardCode.TAB) {\n return;\n }\n\n const focusableElements = this.focusableElements;\n const shadowActiveElement = this.host.shadowRoot.activeElement;\n const activeElement = this.host.ownerDocument.activeElement;\n const firstFocusableElement = focusableElements[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n if (e.shiftKey && (shadowActiveElement == firstFocusableElement || activeElement == firstFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n lastFocusableElement.focus();\n } else if (!e.shiftKey && (shadowActiveElement == lastFocusableElement || activeElement == lastFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n firstFocusableElement.focus();\n }\n }\n\n private closeButtonSlot(): HTMLElement | void {\n if (this.closable) {\n return (\n <slot name=\"modalCloseButton\">\n <button\n aria-label={this.closeButtonLabel}\n onClick={() => this.close()}\n >\n <z-icon name=\"multiply-circle-filled\"></z-icon>\n </button>\n </slot>\n );\n }\n }\n\n private handleEscape(e: Event): void {\n if (this.closable) {\n return;\n }\n e.preventDefault();\n }\n\n render(): HTMLZModalElement {\n return (\n <dialog\n class={{\n \"modal-dialog\": !this.scrollInside,\n }}\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\"\n role={this.alertdialog ? \"alertdialog\" : undefined}\n ref={(el) => (this.dialog = el as HTMLDialogElement)}\n onClose={() => this.emitModalClose()}\n onCancel={(e) => this.handleEscape(e)}\n >\n <div\n class={{\n \"modal-container\": true,\n \"modal-container-scroll-inside\": this.scrollInside,\n \"modal-container-scroll-outside\": !this.scrollInside,\n }}\n id={this.modalid}\n >\n <header onClick={this.emitModalHeaderActive.bind(this)}>\n <div>\n {this.modaltitle && <h1 id=\"modal-title\">{this.modaltitle}</h1>}\n {this.closeButtonSlot()}\n </div>\n {this.modalsubtitle && (\n <div\n class=\"subtitle\"\n id=\"modal-subtitle\"\n >\n {this.modalsubtitle}\n </div>\n )}\n </header>\n\n <div\n class={{\n \"modal-content-scroll-inside\": this.scrollInside,\n \"modal-content-scroll-outside\": !this.scrollInside,\n }}\n id=\"modal-content\"\n >\n <slot name=\"modalContent\"></slot>\n </div>\n </div>\n <div\n class={{\n \"modal-background\": true,\n \"modal-background-scroll-outside\": !this.scrollInside,\n }}\n data-action=\"modalBackground\"\n data-modal={this.modalid}\n onClick={() => {\n this.emitBackgroundClick();\n this.close();\n }}\n ></div>\n </dialog>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC/F,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC,MAAM,2BAA2B,GAC/B,oMAAoM,CAAC;AAEvM;;;;GAIG;AAMH,MAAM,OAAO,MAAM;;;;;gCAeE,eAAe;2BAIV,KAAK;wBAIR,IAAI;4BAIA,IAAI;8BAIF,IAAI;;IAUvB,cAAc;QACpB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;YAC9C,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;IACH,CAAC;IAMO,qBAAqB;QAC3B,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;IACvD,CAAC;IAMO,mBAAmB;QACzB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;YACxD,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;IACH,CAAC;IAEO,eAAe;QACrB,IAAI,IAAI,CAAC,cAAc,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,KAAK,QA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E,EAAE,IAAI,CAAC,OAAO;gBAEhB,+DAAQ,OAAO,EAAE,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC;oBACpD;wBACG,IAAI,CAAC,UAAU,IAAI,2DAAI,EAAE,EAAC,aAAa,IAAE,IAAI,CAAC,UAAU,CAAM;wBAC9D,IAAI,CAAC,eAAe,EAAE,CACnB;oBACL,IAAI,CAAC,aAAa,IAAI,CACrB,4DACE,KAAK,EAAC,UAAU,EAChB,EAAE,EAAC,gBAAgB,IAElB,IAAI,CAAC,aAAa,CACf,CACP,CACM;gBAET,4DACE,KAAK,EAAE;wBACL,6BAA6B,EAAE,IAAI,CAAC,YAAY;wBAChD,8BAA8B,EAAE,CAAC,IAAI,CAAC,YAAY;qBACnD,EACD,EAAE,EAAC,eAAe;oBAElB,6DAAM,IAAI,EAAC,cAAc,GAAQ,CAC7B,CACF;YACN,4DACE,KAAK,EAAE;oBACL,kBAAkB,EAAE,IAAI;oBACxB,iCAAiC,EAAE,CAAC,IAAI,CAAC,YAAY;iBACtD,iBACW,iBAAiB,gBACjB,IAAI,CAAC,OAAO,EACxB,OAAO,EAAE,GAAG,EAAE;oBACZ,IAAI,CAAC,mBAAmB,EAAE,CAAC;oBAC3B,IAAI,CAAC,KAAK,EAAE,CAAC;gBACf,CAAC,GACI,CACA,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Listen, Method, Prop, h} from \"@stencil/core\";\nimport dialogPolyfill from \"dialog-polyfill\";\nimport {KeyboardCode} from \"../../beans\";\n\nconst FOCUSABLE_ELEMENTS_SELECTOR =\n ':is(button, input, select, textarea, [contenteditable=\"\"], [contenteditable=\"true\"], a[href], [tabindex], summary):not([disabled], [disabled=\"\"], [tabindex=\"-1\"], [aria-hidden=\"true\"], [hidden])';\n\n/**\n * @slot modalCloseButton - slot for custom close button\n * @slot modalContent - slot for the content of the modal\n * @cssprop --z-modal-content-padding - padding of the modal's content. The default is 16px (--space-unit * 2)\n */\n@Component({\n tag: \"z-modal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZModal {\n /** unique id */\n @Prop()\n modalid: string;\n\n /** title text (optional) */\n @Prop()\n modaltitle?: string;\n\n /** subtitle (optional) */\n @Prop()\n modalsubtitle?: string;\n\n /** aria-label for close button (optional) */\n @Prop()\n closeButtonLabel = \"chiudi modale\";\n\n /** add role \"alertdialog\" to dialog (optional, default is false) */\n @Prop()\n alertdialog?: boolean = false;\n\n /** if true, the modal is closable (optional, default is true) */\n @Prop()\n closable?: boolean = true;\n\n /** if true, the modal can scroll inside, if false the viewport can scroll */\n @Prop()\n scrollInside?: boolean = true;\n\n /** if true, the page scroll is locked when the modal is open (optional, default is true) */\n @Prop()\n lockPageScroll?: boolean = true;\n\n private dialog: HTMLDialogElement;\n\n @Element() host: HTMLZModalElement;\n\n /** emitted on close button click, returns modalid */\n @Event()\n modalClose: EventEmitter;\n\n private emitModalClose(): void {\n if (this.closable) {\n this.modalClose.emit({modalid: this.modalid});\n this.resetPageScroll();\n }\n }\n\n /** emitted on modal header click, returns modalid */\n @Event()\n modalHeaderActive: EventEmitter;\n\n private emitModalHeaderActive(): void {\n this.modalHeaderActive.emit({modalid: this.modalid});\n }\n\n /** emitted on background click, returns modalid */\n @Event()\n modalBackgroundClick: EventEmitter;\n\n private emitBackgroundClick(): void {\n if (this.closable) {\n this.modalBackgroundClick.emit({modalid: this.modalid});\n this.resetPageScroll();\n }\n }\n\n private resetPageScroll(): void {\n if (this.lockPageScroll && document.body.style.overflowY === \"hidden\") {\n document.body.style.overflowY = \"\";\n }\n }\n\n componentDidLoad(): void {\n if (typeof window.HTMLDialogElement !== \"function\") {\n /* workaround to fix `registerDialog` in test environment:\n stencil converts html elements to MockHTMLElement but this element is missing the `localName` property,\n which is used by `registerDialog` to recognize the element as dialog */\n if (!this.dialog.localName) {\n Object.defineProperty(this.dialog, \"localName\", {value: \"dialog\"});\n }\n dialogPolyfill.registerDialog(this.dialog);\n this.dialog.setAttribute(\"open\", \"true\");\n } else {\n this.open();\n }\n if (this.lockPageScroll) {\n requestAnimationFrame(() => (document.body.style.overflowY = \"hidden\"));\n }\n }\n\n disconnectedCallback(): void {\n this.resetPageScroll();\n }\n\n /** open modal */\n @Method()\n async open(): Promise<void> {\n this.dialog?.showModal();\n if (this.lockPageScroll) {\n document.body.style.overflowY = \"hidden\";\n }\n }\n\n /** close modal */\n @Method()\n async close(): Promise<void> {\n if (this.closable) {\n this.dialog?.close();\n this.resetPageScroll();\n }\n }\n\n /**\n * Get a list of focusable elements in the dialog.\n * Remove elements with `display: none` from the list, because they're not focusable.\n *\n * N.B. The list is built on the assumption that elements inside shadow root are placed ALL before the `modalContent` slot.\n * Adding focusable elements after the `modalContent` slot would break the order of elements in the list.\n */\n private get focusableElements(): HTMLElement[] {\n return [\n ...Array.from(this.host.shadowRoot.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ...Array.from(this.host.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ].filter((element) => getComputedStyle(element).display !== \"none\");\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ESC && !this.closable) {\n e.preventDefault();\n }\n\n if (e.code !== KeyboardCode.TAB) {\n return;\n }\n\n const focusableElements = this.focusableElements;\n const shadowActiveElement = this.host.shadowRoot.activeElement;\n const activeElement = this.host.ownerDocument.activeElement;\n const firstFocusableElement = focusableElements[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n if (e.shiftKey && (shadowActiveElement == firstFocusableElement || activeElement == firstFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n lastFocusableElement.focus();\n } else if (!e.shiftKey && (shadowActiveElement == lastFocusableElement || activeElement == lastFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n firstFocusableElement.focus();\n }\n }\n\n private closeButtonSlot(): HTMLElement | void {\n if (this.closable) {\n return (\n <slot name=\"modalCloseButton\">\n <button\n aria-label={this.closeButtonLabel}\n onClick={() => this.close()}\n >\n <z-icon name=\"multiply-circle-filled\"></z-icon>\n </button>\n </slot>\n );\n }\n }\n\n private handleEscape(e: Event): void {\n if (this.closable) {\n return;\n }\n e.preventDefault();\n }\n\n render(): HTMLZModalElement {\n return (\n <dialog\n class={{\n \"modal-dialog\": !this.scrollInside,\n }}\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\"\n role={this.alertdialog ? \"alertdialog\" : undefined}\n ref={(el) => (this.dialog = el as HTMLDialogElement)}\n onClose={() => this.emitModalClose()}\n onCancel={(e) => this.handleEscape(e)}\n >\n <div\n class={{\n \"modal-container\": true,\n \"modal-container-scroll-inside\": this.scrollInside,\n \"modal-container-scroll-outside\": !this.scrollInside,\n }}\n id={this.modalid}\n >\n <header onClick={this.emitModalHeaderActive.bind(this)}>\n <div>\n {this.modaltitle && <h1 id=\"modal-title\">{this.modaltitle}</h1>}\n {this.closeButtonSlot()}\n </div>\n {this.modalsubtitle && (\n <div\n class=\"subtitle\"\n id=\"modal-subtitle\"\n >\n {this.modalsubtitle}\n </div>\n )}\n </header>\n\n <div\n class={{\n \"modal-content-scroll-inside\": this.scrollInside,\n \"modal-content-scroll-outside\": !this.scrollInside,\n }}\n id=\"modal-content\"\n >\n <slot name=\"modalContent\"></slot>\n </div>\n </div>\n <div\n class={{\n \"modal-background\": true,\n \"modal-background-scroll-outside\": !this.scrollInside,\n }}\n data-action=\"modalBackground\"\n data-modal={this.modalid}\n onClick={() => {\n this.emitBackgroundClick();\n this.close();\n }}\n ></div>\n </dialog>\n );\n }\n}\n"]}
@@ -16,7 +16,7 @@ const StoryMeta = {
16
16
  "closable": true,
17
17
  "scrollInside": true,
18
18
  "lockPageScroll": true,
19
- "--z-modal-content-padding": "var(--space-unit)",
19
+ "--z-modal-content-padding": "calc(var(--space-unit) * 2)",
20
20
  },
21
21
  decorators: [
22
22
  (Story) => html `
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,oCAAoC,CAAC;AAC5C,OAAO,mBAAmB,CAAC;AAC3B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAI7B,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,QAAQ;IACf,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE;QACJ,SAAS,EAAE,UAAU;QACrB,YAAY,EAAE,gBAAgB;QAC9B,eAAe,EAAE,mBAAmB;QACpC,kBAAkB,EAAE,eAAe;QACnC,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,IAAI;QACpB,gBAAgB,EAAE,IAAI;QACtB,2BAA2B,EAAE,mBAAmB;KACjD;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;QASX,KAAK,EAAE;KACV;KACF;CACoC,CAAC;AAExC,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE;QACJ,OAAO,EAAE,gBAAgB;KAC1B;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;mBACT,IAAI,CAAC,UAAU;sBACZ,IAAI,CAAC,aAAa;2BACb,IAAI,CAAC,gBAAgB;oBAC5B,IAAI,CAAC,WAAW;iBACnB,IAAI,CAAC,QAAQ;sBACR,IAAI,CAAC,YAAY;yBACd,IAAI,CAAC,cAAc;0CACF,IAAI,CAAC,2BAA2B,CAAC;;;;;;;;;GASxE;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE;QACJ,OAAO,EAAE,eAAe;KACzB;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;mBACT,IAAI,CAAC,UAAU;sBACZ,IAAI,CAAC,aAAa;2BACb,IAAI,CAAC,gBAAgB;oBAC5B,IAAI,CAAC,WAAW;iBACnB,IAAI,CAAC,QAAQ;sBACR,IAAI,CAAC,YAAY;yBACd,IAAI,CAAC,cAAc;0CACF,IAAI,CAAC,2BAA2B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HxE;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {type ZModal} from \".\";\nimport {CSSVarsArguments} from \"../../utils/storybook-utils\";\nimport \"../date-picker/z-date-picker/index\";\nimport \"../z-button/index\";\nimport \"../z-select/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZSearchbarStoriesArgs = ZModal & CSSVarsArguments<\"--z-modal-content-padding\">;\n\nconst StoryMeta = {\n title: \"ZModal\",\n component: \"z-modal\",\n args: {\n \"modalid\": \"my-modal\",\n \"modaltitle\": \"My modal title\",\n \"modalsubtitle\": \"My modal subtitle\",\n \"closeButtonLabel\": \"chiudi modale\",\n \"alertdialog\": false,\n \"closable\": true,\n \"scrollInside\": true,\n \"lockPageScroll\": true,\n \"--z-modal-content-padding\": \"var(--space-unit)\",\n },\n decorators: [\n (Story) => html`\n <script>\n function openZModal() {\n document.querySelector(\"z-modal\").open();\n }\n function closeZModal() {\n document.querySelector(\"z-modal\").close();\n }\n </script>\n ${Story()}\n `,\n ],\n} satisfies Meta<ZSearchbarStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZModal>;\n\nexport const ShortText = {\n args: {\n modalid: \"my-modal-short\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n lock-page-scroll=${args.lockPageScroll}\n style=\"--z-modal-content-padding: ${args[\"--z-modal-content-padding\"]}\"\n >\n <div slot=\"modalContent\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n <br />\n <z-button onclick=\"closeZModal()\">close</z-button>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n\nexport const LongText = {\n args: {\n modalid: \"my-modal-long\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n lock-page-scroll=${args.lockPageScroll}\n style=\"--z-modal-content-padding: ${args[\"--z-modal-content-padding\"]}\"\n >\n <div slot=\"modalContent\">\n <z-date-picker\n date-picker-id=\"date-picker-1\"\n ariaLabel=\"stringaQualsiasi\"\n label=\"label\"\n ></z-date-picker>\n Provaaaaa Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne\n ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul,\n orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae\n volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete.\n Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec\n honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te\n enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset\n inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae\n superiori sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare\n sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio\n quem illum anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad\n animum, falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis\n ut et adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae,\n inquit Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil\n enim hoc differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem\n ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui\n dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita\n summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens,\n torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec\n vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem,\n inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae\n dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem\n aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam,\n inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori\n sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent\n tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum\n anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum,\n falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et\n adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit\n Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc\n differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor\n sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra.\n <z-select\n items='[{\"id\":\"item_1\",\"name\":\"first item\",\"selected\":false},{\"id\":\"item_2\",\"name\":\"second item\",\"selected\":true},{\"id\":\"item_3\",\"name\":\"disabled item\",\"selected\":false,\"disabled\":true},{\"id\":\"item_4\",\"name\":\"fourth item\",\"selected\":false}]'\n label=\"this is the label\"\n aria-label=\"\"\n placeholder=\"select placeholder\"\n name=\"\"\n status=\"-\"\n message=\"helper text\"\n autocomplete=\"false\"\n noresultslabel=\"Nessun risultato\"\n disabled=\"false\"\n readonly=\"false\"\n htmlid=\"\"\n htmltitle=\"\"\n reset-item=\"\"\n isfixed=\"false\"\n size=\"big\"\n ></z-select>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n"]}
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,oCAAoC,CAAC;AAC5C,OAAO,mBAAmB,CAAC;AAC3B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAI7B,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,QAAQ;IACf,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE;QACJ,SAAS,EAAE,UAAU;QACrB,YAAY,EAAE,gBAAgB;QAC9B,eAAe,EAAE,mBAAmB;QACpC,kBAAkB,EAAE,eAAe;QACnC,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,IAAI;QACpB,gBAAgB,EAAE,IAAI;QACtB,2BAA2B,EAAE,6BAA6B;KAC3D;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;QASX,KAAK,EAAE;KACV;KACF;CACoC,CAAC;AAExC,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE;QACJ,OAAO,EAAE,gBAAgB;KAC1B;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;mBACT,IAAI,CAAC,UAAU;sBACZ,IAAI,CAAC,aAAa;2BACb,IAAI,CAAC,gBAAgB;oBAC5B,IAAI,CAAC,WAAW;iBACnB,IAAI,CAAC,QAAQ;sBACR,IAAI,CAAC,YAAY;yBACd,IAAI,CAAC,cAAc;0CACF,IAAI,CAAC,2BAA2B,CAAC;;;;;;;;;GASxE;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE;QACJ,OAAO,EAAE,eAAe;KACzB;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;mBACT,IAAI,CAAC,UAAU;sBACZ,IAAI,CAAC,aAAa;2BACb,IAAI,CAAC,gBAAgB;oBAC5B,IAAI,CAAC,WAAW;iBACnB,IAAI,CAAC,QAAQ;sBACR,IAAI,CAAC,YAAY;yBACd,IAAI,CAAC,cAAc;0CACF,IAAI,CAAC,2BAA2B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HxE;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {type ZModal} from \".\";\nimport {CSSVarsArguments} from \"../../utils/storybook-utils\";\nimport \"../date-picker/z-date-picker/index\";\nimport \"../z-button/index\";\nimport \"../z-select/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZSearchbarStoriesArgs = ZModal & CSSVarsArguments<\"--z-modal-content-padding\">;\n\nconst StoryMeta = {\n title: \"ZModal\",\n component: \"z-modal\",\n args: {\n \"modalid\": \"my-modal\",\n \"modaltitle\": \"My modal title\",\n \"modalsubtitle\": \"My modal subtitle\",\n \"closeButtonLabel\": \"chiudi modale\",\n \"alertdialog\": false,\n \"closable\": true,\n \"scrollInside\": true,\n \"lockPageScroll\": true,\n \"--z-modal-content-padding\": \"calc(var(--space-unit) * 2)\",\n },\n decorators: [\n (Story) => html`\n <script>\n function openZModal() {\n document.querySelector(\"z-modal\").open();\n }\n function closeZModal() {\n document.querySelector(\"z-modal\").close();\n }\n </script>\n ${Story()}\n `,\n ],\n} satisfies Meta<ZSearchbarStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZModal>;\n\nexport const ShortText = {\n args: {\n modalid: \"my-modal-short\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n lock-page-scroll=${args.lockPageScroll}\n style=\"--z-modal-content-padding: ${args[\"--z-modal-content-padding\"]}\"\n >\n <div slot=\"modalContent\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n <br />\n <z-button onclick=\"closeZModal()\">close</z-button>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n\nexport const LongText = {\n args: {\n modalid: \"my-modal-long\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n lock-page-scroll=${args.lockPageScroll}\n style=\"--z-modal-content-padding: ${args[\"--z-modal-content-padding\"]}\"\n >\n <div slot=\"modalContent\">\n <z-date-picker\n date-picker-id=\"date-picker-1\"\n ariaLabel=\"stringaQualsiasi\"\n label=\"label\"\n ></z-date-picker>\n Provaaaaa Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne\n ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul,\n orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae\n volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete.\n Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec\n honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te\n enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset\n inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae\n superiori sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare\n sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio\n quem illum anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad\n animum, falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis\n ut et adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae,\n inquit Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil\n enim hoc differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem\n ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui\n dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita\n summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens,\n torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec\n vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem,\n inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae\n dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem\n aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam,\n inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori\n sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent\n tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum\n anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum,\n falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et\n adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit\n Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc\n differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor\n sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra.\n <z-select\n items='[{\"id\":\"item_1\",\"name\":\"first item\",\"selected\":false},{\"id\":\"item_2\",\"name\":\"second item\",\"selected\":true},{\"id\":\"item_3\",\"name\":\"disabled item\",\"selected\":false,\"disabled\":true},{\"id\":\"item_4\",\"name\":\"fourth item\",\"selected\":false}]'\n label=\"this is the label\"\n aria-label=\"\"\n placeholder=\"select placeholder\"\n name=\"\"\n status=\"-\"\n message=\"helper text\"\n autocomplete=\"false\"\n noresultslabel=\"Nessun risultato\"\n disabled=\"false\"\n readonly=\"false\"\n htmlid=\"\"\n htmltitle=\"\"\n reset-item=\"\"\n isfixed=\"false\"\n size=\"big\"\n ></z-select>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n"]}
@@ -2,7 +2,7 @@
2
2
  font-family: var(--font-family-sans);
3
3
  font-weight: var(--font-rg);
4
4
 
5
- --z-modal-content-padding: calc(var(--space-unit) * 2);
5
+ --z-modal-content-padding: ;
6
6
  }
7
7
 
8
8
  :host > dialog {
@@ -23,7 +23,7 @@
23
23
  display: none;
24
24
  }
25
25
 
26
- /* polyfill style */
26
+ /* polyfill style */
27
27
  :host > dialog + .backdrop {
28
28
  display: none;
29
29
  }
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  ::slotted([slot="modalContent"]) {
40
- padding: var(--z-modal-content-padding);
40
+ padding: var(--z-modal-content-padding, calc(var(--space-unit) * 2));
41
41
  }
42
42
 
43
43
  .modal-container {
@@ -55,8 +55,7 @@
55
55
  }
56
56
 
57
57
  .modal-container > header {
58
- padding: calc(var(--space-unit) * 1.75) calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.75)
59
- calc(var(--space-unit) * 2);
58
+ padding: calc(var(--space-unit) * 1.75) calc(var(--space-unit) * 2);
60
59
  background: var(--color-background);
61
60
  }
62
61
 
@@ -241,7 +240,7 @@
241
240
  }
242
241
 
243
242
  /* Desktop */
244
- @media only screen and (min-width: 1152px) {
243
+ @media (min-width: 1152px) {
245
244
  .modal-container > header {
246
245
  padding-top: calc(var(--space-unit) * 1.5);
247
246
  padding-bottom: calc(var(--space-unit) * 1.5);
@@ -208,10 +208,10 @@ export class ZNavigationTabs {
208
208
  (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
209
209
  }
210
210
  render() {
211
- return (h(Host, { key: '8f134ce69da30cd0a053700a95c39a4ec9d588ed', class: {
211
+ return (h(Host, { key: 'c65b79e41341bc577f654c7dee9c36fc431d7950', class: {
212
212
  "interactive-2": this.size === NavigationTabsSize.SMALL,
213
213
  "interactive-1": this.size !== NavigationTabsSize.SMALL,
214
- }, scrollable: this.canNavigate }, h("button", { key: '231f97991908054d424dbcc83fd7e65e6651e767', class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { key: '145b4e6220e14acfbe6c13d1da095128096064c1', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: '111d66f763a80c52fdd21a906028cb7aa4817ee7', role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", { key: 'ea3edcae8daaa4b5ad1124957d47d05f899f3bc2' })), h("button", { key: 'b5329374d042f246c785b868a87bcf5a39d2c712', class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { key: '373978c44182a33ca9d844eb3fa6c6991511d63f', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
214
+ }, scrollable: this.canNavigate }, h("button", { key: 'f18201689c6de86ab73ddd7f34a35e74745ea2d4', class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { key: '80bd7fbd07f454feb7f8a666c44e0cbc26ea79e4', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: '009f3c15170742b672a06a80ece4bbdd5e3faecc', role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", { key: '78d887e394b32fd4253e02b41034fd6c870f7773' })), h("button", { key: '78f41b5f5c1db763597f9829d99311e42fc17f24', class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { key: '09102f04028fc4cefdd17009cce7a23e6728529e', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
215
215
  }
216
216
  static get is() { return "z-navigation-tabs"; }
217
217
  static get originalStyleUrls() {
@@ -134,7 +134,7 @@ z-navigation-tabs > nav > a {
134
134
 
135
135
  z-navigation-tabs > nav > *:focus:focus-visible {
136
136
  z-index: 1;
137
- box-shadow: inset 0 0 4px 3px var(--blue800);
137
+ box-shadow: inset 0 0 2px 2px var(--blue800);
138
138
  }
139
139
 
140
140
  z-navigation-tabs > nav > :not([disabled]):hover {
@@ -25,7 +25,7 @@ export class ZNotification {
25
25
  }
26
26
  render() {
27
27
  var _a;
28
- return (h(Host, { key: 'a9024960c6f2dc0ece7aa520041ca72c8b57a480' }, this.contenticonname && (h("z-icon", { key: '8e03da23ac3ea16294466b45cf571003299e12ff', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: '65872d76a4f4be94181a60eede48ba8729be6fe4', class: "content-container" }, h("div", { key: '6f1abfbd2e8f86f4cfdf63f3ffaa87fb7d0abcd7', class: "content-text" }, h("slot", { key: '8537004a8679d3e1fb5eed9ca4fc36611b7355a3' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '8fff1a74d49404718d7b9e160a26fb659ded1855', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '1969d8f6609b65444366b5b757729a7930d91630', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: 'ebfb4631d790f2406c7475b8adc123872db7e145', name: "multiply-circle", width: 16, height: 16 })))));
28
+ return (h(Host, { key: 'c05802b9aecf9da3512b73266d5b800893fa9d40' }, this.contenticonname && (h("z-icon", { key: 'bf76405cb6dec6c4f5d57f8cffc62149944bfe61', class: "status-icon", name: this.contenticonname, width: 16, height: 16 })), h("div", { key: 'cf617ec86cb54ac8bb4be0ec26b1cff1cac96c26', class: "content-container" }, h("div", { key: '69dbb80be6f602c3bc24815585dd975861e5599d', class: "content-text" }, h("slot", { key: '2e680db659355749a4967cd740cf5a4f3a08d095' })), !!((_a = this.actiontext) === null || _a === void 0 ? void 0 : _a.trim()) && (h("button", { key: '9813707fe2ebf93736eb61b47390c30fd6cdb8a7', class: "action-button", type: "button", onClick: this.handleActionButtonClick }, this.actiontext))), this.showclose && (h("button", { key: '412de2b2d48013410cadbc01d69426d8619e953c', class: "close-button", type: "button", onClick: this.handleCloseButtonClick }, h("z-icon", { key: '2623ad3ee3fd6713fb9569369ae27e71c795e0d2', name: "multiply-circle", width: 16, height: 16 })))));
29
29
  }
30
30
  static get is() { return "z-notification"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -22,15 +22,15 @@
22
22
  }
23
23
 
24
24
  :host([type="success"]) {
25
- background: var(--color-success-inverse);
25
+ background: var(--color-inverse-success);
26
26
  }
27
27
 
28
28
  :host([type="warning"]) {
29
- background: var(--color-warning-inverse);
29
+ background: var(--color-inverse-warning);
30
30
  }
31
31
 
32
32
  :host([type="error"]) {
33
- background: var(--color-error-inverse);
33
+ background: var(--color-inverse-error);
34
34
  }
35
35
 
36
36
  .status-icon,
@@ -43,15 +43,15 @@
43
43
  }
44
44
 
45
45
  :host([type="success"]) .status-icon {
46
- fill: var(--color-success01);
46
+ fill: var(--color-default-success);
47
47
  }
48
48
 
49
49
  :host([type="warning"]) .status-icon {
50
- fill: var(--color-warning02);
50
+ fill: var(--color-default-warning);
51
51
  }
52
52
 
53
53
  :host([type="error"]) .status-icon {
54
- fill: var(--color-error01);
54
+ fill: var(--color-default-error);
55
55
  }
56
56
 
57
57
  :host > button,
@@ -66,7 +66,7 @@ export class ZOffcanvas {
66
66
  this.open = false;
67
67
  }
68
68
  render() {
69
- return (h(Host, { key: '6a28a6c1a23b7fae91b1ee322d673d80665c2a6c', "skip-animation": this.skipAnimation, "aria-hidden": !this.open ? "true" : null }, h("div", { key: '4d37b2f7a28fe88c7888a705222282cf014cd1d2', class: "canvas-container", role: "presentation", ref: (el) => (this.canvasContainer = el) }, h("div", { key: '036b98c0d90631b37cf5c426fe553197da275726', class: "canvas-content z-scrollbar", role: "presentation" }, h("slot", { key: '9adbd986895c18f769ebc896633bbe1d42427f77', name: "canvasContent" }))), (this.variant == OffCanvasVariant.OVERLAY || this.transitiondirection === TransitionDirection.UP) && (h("div", { key: '0d164029f870838c077c0381ba208aacee23141d', class: "canvas-background", onClick: () => (this.open = false) }))));
69
+ return (h(Host, { key: 'f889426238828e62470d8b53c6b3b22674d73f10', "skip-animation": this.skipAnimation, "aria-hidden": !this.open ? "true" : null }, h("div", { key: 'ed70f931bc4dfea3b4bc2ecb10b93e77dea4f472', class: "canvas-container", role: "presentation", ref: (el) => (this.canvasContainer = el) }, h("div", { key: '18c85e7580d55bffe7c305e4ba7cad479292a1ba', class: "canvas-content z-scrollbar", role: "presentation" }, h("slot", { key: '56fae4e49e00f58e9b9e49057402892bd829091c', name: "canvasContent" }))), (this.variant == OffCanvasVariant.OVERLAY || this.transitiondirection === TransitionDirection.UP) && (h("div", { key: '535fafa5a9de38e1eda00fa63c7c293d12e944e2', class: "canvas-background", onClick: () => (this.open = false) }))));
70
70
  }
71
71
  static get is() { return "z-offcanvas"; }
72
72
  static get encapsulation() { return "scoped"; }
@@ -45,7 +45,7 @@ z-pagination .pagination-bar button {
45
45
  justify-content: center;
46
46
  border: none;
47
47
  margin: 0;
48
- background-color: var(--color-surface02);
48
+ background-color: var(--color-background);
49
49
  color: var(--color-primary01);
50
50
  cursor: pointer;
51
51
  font-family: inherit;
@@ -16,12 +16,12 @@ export class ZPanelElem {
16
16
  }
17
17
  render() {
18
18
  const elemId = this.elemid ? this.elemid : "";
19
- return (h("div", { key: 'f7a46055c7c9c6b8c55f7eab312975c2469d92f3', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: '7371ab7dcd59e19ddc29e92cdcd7d53791736b2a', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '84b88cb9a9fe9fa95052cbfc200fa82b157fff19', src: this.imgurl, alt: this.imgalt }))), h("div", { key: 'f0e28a73c56a4d348c8b2b9c05fc6fa205136bac', class: "panel-elem-link" }, h("a", { key: 'cc34e31fa64a26eaf94941840d19af34623da9dd', class: {
19
+ return (h("div", { key: 'fb18918fe628718fa59c481f215c3b5ccd573ccb', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: '5e71dedc58519623c6f7b2e8dc5a0aca53043c3a', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '0949b25d3828e40b8a2398f909ed34de23d3b7d4', src: this.imgurl, alt: this.imgalt }))), h("div", { key: 'e4a33e09816b979e4432a3a11f4ed8b57efb5d5d', class: "panel-elem-link" }, h("a", { key: '9d0a91cd34417432795be51d1399afadabc1dd4c', class: {
20
20
  "z-link": true,
21
21
  "z-link-disabled": this.isdisabled,
22
22
  "z-link-icon": true,
23
23
  "z-link-blue": true,
24
- }, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '438e5e90d9754effc32825029f2198a3ea0d4be3', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '8ba6727d7d11fe869a3e973a1a065b70b42dfe43', class: "panel-elem-desc" }, h("slot", { key: '887ea4cfc7950c97226fe8566e3ef49b0ecbf87b', name: this.descrSlotName })))));
24
+ }, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '77f4dfadd60b71472f303aa9b28019f29fa0126d', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '58dbf6841ee7cacd87bdd684e34f121777cd2d56', class: "panel-elem-desc" }, h("slot", { key: '436a86e206b44930a87a11caa05b68c27ed878e1', name: this.descrSlotName })))));
25
25
  }
26
26
  static get is() { return "z-panel-elem"; }
27
27
  static get encapsulation() { return "scoped"; }
@@ -301,7 +301,7 @@ export class ZPopover {
301
301
  this.onOpen();
302
302
  }
303
303
  render() {
304
- return h("slot", { key: 'ea2b46de2cec89ebd692407e0ddb51e47d552e73' });
304
+ return h("slot", { key: '62910aea1c0986c47106fdb7cfc9ac4368c14b9d' });
305
305
  }
306
306
  static get is() { return "z-popover"; }
307
307
  static get encapsulation() { return "shadow"; }
@@ -30,7 +30,8 @@ const StoryMeta = {
30
30
  export default StoryMeta;
31
31
  export const ContextualMenuLike = {
32
32
  args: {
33
- position: PopoverPosition.RIGHT_BOTTOM,
33
+ "--z-popover-theme--surface": "transparent",
34
+ "position": PopoverPosition.RIGHT_BOTTOM,
34
35
  },
35
36
  render: (args) => html `
36
37
  <div class="popover-container">
@@ -1 +1 @@
1
- {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-popover/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAmB,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AACrF,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAE7B;;GAEG;AACH,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,UAAU;IACjB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE;QACR,UAAU,EAAE;YACV,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC;YACvC,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;aACf;SACF;QACD,4BAA4B,EAAE,sBAAsB,EAAE;QACtD,yBAAyB,EAAE,sBAAsB,EAAE;KACpD;IACD,IAAI,EAAE;QACJ,4BAA4B,EAAE,wBAAwB;QACtD,yBAAyB,EAAE,2BAA2B;KACvD;CACoG,CAAC;AAExG,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE;QACJ,QAAQ,EAAE,eAAe,CAAC,YAAY;KACvC;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;gBAGR,QAAQ,CAAC;QACf,4BAA4B,EAAE,IAAI,CAAC,4BAA4B,CAAC;QAChE,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC;KAC3D,CAAC;oBACU,IAAI,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;GAuB9B;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE;QACJ,QAAQ,EAAE,eAAe,CAAC,KAAK;KAChC;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;gBAGR,QAAQ,CAAC;QACf,4BAA4B,EAAE,IAAI,CAAC,4BAA4B,CAAC;QAChE,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC;KAC3D,CAAC;oBACU,IAAI,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;GAuB9B;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {styleMap} from \"lit/directives/style-map.js\";\nimport {type ZPopover} from \".\";\nimport {PopoverPosition} from \"../../beans\";\nimport {CSSVarsArguments, getColorTokenArgConfig} from \"../../utils/storybook-utils\";\nimport \"../z-button/index\";\nimport \"../z-icon/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\n/**\n * To be sure the AUTO algorithm finds the right container when calculating the position, set its container's position to `position: relative;`\n */\nconst StoryMeta = {\n title: \"ZPopover\",\n component: \"z-popover\",\n argTypes: {\n \"position\": {\n options: Object.values(PopoverPosition),\n control: {\n type: \"select\",\n },\n },\n \"--z-popover-theme--surface\": getColorTokenArgConfig(),\n \"--z-popover-theme--text\": getColorTokenArgConfig(),\n },\n args: {\n \"--z-popover-theme--surface\": \"var(--color-surface01)\",\n \"--z-popover-theme--text\": \"var(--color-default-text)\",\n },\n} satisfies Meta<ZPopover & CSSVarsArguments<\"--z-popover-theme--surface\" | \"--z-popover-theme--text\">>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZPopover>;\n\nexport const ContextualMenuLike = {\n args: {\n position: PopoverPosition.RIGHT_BOTTOM,\n },\n render: (args) => html`\n <div class=\"popover-container\">\n <z-popover\n style=${styleMap({\n \"--z-popover-theme--surface\": args[\"--z-popover-theme--surface\"],\n \"--z-popover-theme--text\": args[\"--z-popover-theme--text\"],\n })}\n .position=${args.position}\n bind-to=\"#trigger\"\n >\n <div class=\"container\">\n <z-button icon=\"gear\">Impostazioni</z-button>\n </div>\n </z-popover>\n <z-icon\n id=\"trigger\"\n name=\"plus-square-filled\"\n ></z-icon>\n </div>\n <script>\n var iconTrigger = document.querySelector(\"#trigger\");\n var popover = document.querySelector(\"z-popover\");\n iconTrigger.addEventListener(\"click\", () => {\n if (popover.open) {\n popover.open = false;\n } else {\n popover.open = true;\n }\n });\n </script>\n `,\n} satisfies Story;\n\nexport const TooltipLike = {\n args: {\n position: PopoverPosition.RIGHT,\n },\n render: (args) => html`\n <div class=\"popover-container popover-container-tooltip\">\n <z-popover\n style=${styleMap({\n \"--z-popover-theme--surface\": args[\"--z-popover-theme--surface\"],\n \"--z-popover-theme--text\": args[\"--z-popover-theme--text\"],\n })}\n .position=${args.position}\n center=\"true\"\n show-arrow=\"true\"\n bind-to=\"#trigger\"\n >\n <div class=\"container\">\n <z-button icon=\"gear\">Impostazioni</z-button>\n </div>\n </z-popover>\n <z-icon\n id=\"trigger\"\n name=\"plus-square-filled\"\n ></z-icon>\n </div>\n <script>\n document.querySelector(\"#trigger\").addEventListener(\"click\", () => {\n if (document.querySelector(\"z-popover\").open) {\n document.querySelector(\"z-popover\").open = false;\n } else {\n document.querySelector(\"z-popover\").open = true;\n }\n });\n </script>\n `,\n} satisfies Story;\n"]}
1
+ {"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-popover/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,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A;;;gBAGR,QAAQ,CAAC;QACf,4BAA4B,EAAE,IAAI,CAAC,4BAA4B,CAAC;QAChE,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC;KAC3D,CAAC;oBACU,IAAI,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;GAuB9B;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {styleMap} from \"lit/directives/style-map.js\";\nimport {type ZPopover} from \".\";\nimport {PopoverPosition} from \"../../beans\";\nimport {CSSVarsArguments, getColorTokenArgConfig} from \"../../utils/storybook-utils\";\nimport \"../z-button/index\";\nimport \"../z-icon/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZPopoverStoriesArgs = ZPopover & CSSVarsArguments<\"--z-popover-theme--surface\" | \"--z-popover-theme--text\">;\n\n/**\n * To be sure the AUTO algorithm finds the right container when calculating the position, set its container's position to `position: relative;`\n */\nconst StoryMeta = {\n title: \"ZPopover\",\n component: \"z-popover\",\n argTypes: {\n \"position\": {\n options: Object.values(PopoverPosition),\n control: {\n type: \"select\",\n },\n },\n \"--z-popover-theme--surface\": getColorTokenArgConfig(),\n \"--z-popover-theme--text\": getColorTokenArgConfig(),\n },\n args: {\n \"--z-popover-theme--surface\": \"var(--color-surface01)\",\n \"--z-popover-theme--text\": \"var(--color-default-text)\",\n },\n} satisfies Meta<ZPopoverStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZPopoverStoriesArgs>;\n\nexport const ContextualMenuLike = {\n args: {\n \"--z-popover-theme--surface\": \"transparent\",\n \"position\": PopoverPosition.RIGHT_BOTTOM,\n },\n render: (args) => html`\n <div class=\"popover-container\">\n <z-popover\n style=${styleMap({\n \"--z-popover-theme--surface\": args[\"--z-popover-theme--surface\"],\n \"--z-popover-theme--text\": args[\"--z-popover-theme--text\"],\n })}\n .position=${args.position}\n bind-to=\"#trigger\"\n >\n <div class=\"container\">\n <z-button icon=\"gear\">Impostazioni</z-button>\n </div>\n </z-popover>\n <z-icon\n id=\"trigger\"\n name=\"plus-square-filled\"\n ></z-icon>\n </div>\n <script>\n var iconTrigger = document.querySelector(\"#trigger\");\n var popover = document.querySelector(\"z-popover\");\n iconTrigger.addEventListener(\"click\", () => {\n if (popover.open) {\n popover.open = false;\n } else {\n popover.open = true;\n }\n });\n </script>\n `,\n} satisfies Story;\n\nexport const TooltipLike = {\n args: {\n position: PopoverPosition.RIGHT,\n },\n render: (args) => html`\n <div class=\"popover-container popover-container-tooltip\">\n <z-popover\n style=${styleMap({\n \"--z-popover-theme--surface\": args[\"--z-popover-theme--surface\"],\n \"--z-popover-theme--text\": args[\"--z-popover-theme--text\"],\n })}\n .position=${args.position}\n center=\"true\"\n show-arrow=\"true\"\n bind-to=\"#trigger\"\n >\n <div class=\"container\">\n <z-button icon=\"gear\">Impostazioni</z-button>\n </div>\n </z-popover>\n <z-icon\n id=\"trigger\"\n name=\"plus-square-filled\"\n ></z-icon>\n </div>\n <script>\n document.querySelector(\"#trigger\").addEventListener(\"click\", () => {\n if (document.querySelector(\"z-popover\").open) {\n document.querySelector(\"z-popover\").open = false;\n } else {\n document.querySelector(\"z-popover\").open = true;\n }\n });\n </script>\n `,\n} satisfies Story;\n"]}
@@ -286,7 +286,7 @@ export class ZSearchbar {
286
286
  return (h("z-list-element", { role: "option", tabindex: 0, clickable: true, id: `list-item-${this.htmlid}-show-all`, onClickItem: () => (this.currResultsCount = 0), color: "color-primary01" }, h("div", { class: "item-show-all" }, "Vedi tutti i risultati")));
287
287
  }
288
288
  render() {
289
- return (h(Host, { key: 'a11654e9aef41aaad341948caf9f91557dbd41b4', onFocus: () => (this.showResults = true), onClick: (e) => this.handleOutsideClick(e), class: { "has-submit": this.showSearchButton, "has-results": this.autocomplete } }, h("div", { key: '02519620881c7c709560c6817920f76460fab575', class: "input-container" }, this.renderInput(), this.renderResults()), this.renderButton()));
289
+ return (h(Host, { key: '1995f6d5694bd6cd0f485636e531113bfdc69aad', onFocus: () => (this.showResults = true), onClick: (e) => this.handleOutsideClick(e), class: { "has-submit": this.showSearchButton, "has-results": this.autocomplete } }, h("div", { key: '48929d88c0dfe3f84d9f24d4df7f0270f57099b1', class: "input-container" }, this.renderInput(), this.renderResults()), this.renderButton()));
290
290
  }
291
291
  static get is() { return "z-searchbar"; }
292
292
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class ZSectionTitle {
18
18
  this.hasSecondaryTitle = !!this.host.querySelector("[slot=secondary-title]");
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: 'cc1204e8c23b71671a14fbaedd761f748f277cfa' }, h("slot", { key: '8272a7661bda0190963225a5ffaa192e22601363', name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { key: '7eae53ac6122253f61d985c79549ff65b85e10ff', size: DividerSize.LARGE, color: "z-section-title--divider-color" })), h("slot", { key: '9b86031ca0776ac5faae2393e62ad8104d5e804e', name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (h("z-divider", { key: '6d3de14737fc2187f8a32d5e27aeae12ab9e83c5', size: DividerSize.LARGE, color: "z-section-title--divider-color" }))));
21
+ return (h(Host, { key: '43bfcc06c3dd11d5f18a88be623c7fa77320fbb0' }, h("slot", { key: '7f5704c9d41d6cc3c48318f29b5ea08e27b5b392', name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { key: '9dd55d30418040dc68dc1f045c8b2494cf8d9f28', size: DividerSize.LARGE, color: "z-section-title--divider-color" })), h("slot", { key: '233fac041a9fbc0b636c30ecb3c15240b8b59f15', name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.AFTER && (h("z-divider", { key: '4a3af32c430fcf607a97b71e1a9e2e927862b639', size: DividerSize.LARGE, color: "z-section-title--divider-color" }))));
22
22
  }
23
23
  static get is() { return "z-section-title"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -292,7 +292,7 @@ export class ZSelect {
292
292
  e.stopPropagation();
293
293
  return this.toggleSelectUl(true);
294
294
  }
295
- if (e instanceof KeyboardEvent && e.key !== KeyboardCode.TAB && e.key !== KeyboardCode.ENTER) {
295
+ if (e instanceof KeyboardEvent && (e.key === KeyboardCode.ENTER || e.key !== KeyboardCode.TAB)) {
296
296
  return;
297
297
  }
298
298
  if (!getElementTree(clickedElement).find((elem) => elem.nodeName.toLowerCase() === "z-input" && elem.id === `${this.htmlid}_input`)) {
@@ -459,7 +459,7 @@ export class ZSelect {
459
459
  return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status, class: this.size, disabled: this.disabled }));
460
460
  }
461
461
  render() {
462
- return (h("div", { key: '4ba65cb3eefca55842a6608c6c5c1530a2a3c0a6', class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
462
+ return (h("div", { key: '300f98b66565be56c58b7872fb81c0a9c33195d1', class: "select-wrapper" }, this.renderInput(), this.renderSelectUl(), this.renderMessage()));
463
463
  }
464
464
  static get is() { return "z-select"; }
465
465
  static get encapsulation() { return "scoped"; }