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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (884) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/cjs/{index-a6593d82.js → index-0cb5e57a.js} +2 -2
  3. package/dist/cjs/{index-a6593d82.js.map → index-0cb5e57a.js.map} +1 -1
  4. package/dist/cjs/{index-4e2d222e.js → index-1c3f7a64.js} +2 -2
  5. package/dist/cjs/{index-4e2d222e.js.map → index-1c3f7a64.js.map} +1 -1
  6. package/dist/cjs/{index-117cd3b0.js → index-24b23a97.js} +5 -5
  7. package/dist/cjs/{index-117cd3b0.js.map → index-24b23a97.js.map} +1 -1
  8. package/dist/cjs/{index-7191c0cc.js → index-41d3dc9e.js} +2 -2
  9. package/dist/cjs/{index-7191c0cc.js.map → index-41d3dc9e.js.map} +1 -1
  10. package/dist/cjs/{index-9b8b105e.js → index-48540995.js} +3 -3
  11. package/dist/cjs/{index-9b8b105e.js.map → index-48540995.js.map} +1 -1
  12. package/dist/cjs/{index-a465bca8.js → index-4f18c0e2.js} +1 -6
  13. package/{www/build/p-2b309f57.js.map → dist/cjs/index-4f18c0e2.js.map} +1 -1
  14. package/dist/cjs/{index-d6c4fda2.js → index-f9fe3768.js} +3 -3
  15. package/dist/cjs/{index-d6c4fda2.js.map → index-f9fe3768.js.map} +1 -1
  16. package/dist/cjs/index.cjs.js +2 -8
  17. package/dist/cjs/index.cjs.js.map +1 -1
  18. package/dist/cjs/loader.cjs.js +1 -1
  19. package/dist/cjs/{utils-873dd0ae.js → utils-67ea6e35.js} +2 -2
  20. package/dist/cjs/{utils-873dd0ae.js.map → utils-67ea6e35.js.map} +1 -1
  21. package/dist/cjs/{utils-ee8e5b38.js → utils-a6d8a0b7.js} +2 -2
  22. package/dist/cjs/{utils-ee8e5b38.js.map → utils-a6d8a0b7.js.map} +1 -1
  23. package/dist/cjs/web-components-library.cjs.js +1 -1
  24. package/dist/cjs/z-accordion.cjs.entry.js +3 -3
  25. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -1
  26. package/dist/cjs/z-alert.cjs.entry.js +2 -2
  27. package/dist/cjs/z-alert.cjs.entry.js.map +1 -1
  28. package/dist/cjs/z-anchor-navigation.cjs.entry.js +3 -3
  29. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -1
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
  31. package/dist/cjs/z-app-header_12.cjs.entry.js +19 -19
  32. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  33. package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
  34. package/dist/cjs/z-avatar.cjs.entry.js +3 -3
  35. package/dist/cjs/z-book-card-app.cjs.entry.js +2 -2
  36. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +3 -3
  37. package/dist/cjs/z-book-card.cjs.entry.js +44 -90
  38. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
  39. package/dist/cjs/z-breadcrumb.cjs.entry.js +5 -5
  40. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -1
  41. package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
  42. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -1
  43. package/dist/cjs/z-card.cjs.entry.js +2 -2
  44. package/dist/cjs/z-card.cjs.entry.js.map +1 -1
  45. package/dist/cjs/z-carousel.cjs.entry.js +3 -3
  46. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -1
  47. package/dist/cjs/z-chip.cjs.entry.js +4 -4
  48. package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
  49. package/dist/cjs/z-combobox.cjs.entry.js +6 -6
  50. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
  51. package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
  52. package/dist/cjs/z-date-picker.cjs.entry.js +3 -3
  53. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -8
  54. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
  55. package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
  56. package/dist/cjs/z-file.cjs.entry.js +2 -2
  57. package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
  58. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -1
  59. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  60. package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
  61. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  62. package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
  63. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
  64. package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
  65. package/dist/cjs/z-menu.cjs.entry.js +2 -2
  66. package/dist/cjs/z-myz-card-alert.cjs.entry.js +3 -3
  67. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
  68. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
  69. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  70. package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
  71. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  72. package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
  73. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
  74. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  75. package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
  76. package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
  77. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  78. package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
  79. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
  80. package/dist/cjs/z-notification.cjs.entry.js +2 -2
  81. package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
  82. package/dist/cjs/z-otp.cjs.entry.js +4 -4
  83. package/dist/cjs/z-otp.cjs.entry.js.map +1 -1
  84. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  85. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -1
  86. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  87. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  88. package/dist/cjs/z-range-picker.cjs.entry.js +5 -5
  89. package/dist/cjs/z-section-title.cjs.entry.js +2 -2
  90. package/dist/cjs/z-select.cjs.entry.js +4 -4
  91. package/dist/cjs/z-select.cjs.entry.js.map +1 -1
  92. package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
  93. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  94. package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
  95. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
  96. package/dist/cjs/z-stepper.cjs.entry.js +2 -2
  97. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
  98. package/dist/cjs/z-table.cjs.entry.js +9 -9
  99. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  100. package/dist/cjs/z-td.cjs.entry.js +2 -2
  101. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  102. package/dist/cjs/z-th.cjs.entry.js +2 -2
  103. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  104. package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
  105. package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
  106. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  107. package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
  108. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
  109. package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
  110. package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
  111. package/dist/cjs/z-tr.cjs.entry.js +5 -5
  112. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  113. package/dist/collection/beans/index.js +0 -5
  114. package/dist/collection/beans/index.js.map +1 -1
  115. package/dist/collection/collection-manifest.json +1 -1
  116. package/dist/collection/components/book-card/z-book-card/index.js +72 -267
  117. package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
  118. package/dist/collection/components/book-card/z-book-card/index.stories.js +100 -106
  119. package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -1
  120. package/dist/collection/components/book-card/z-book-card/styles.css +76 -140
  121. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
  122. package/dist/collection/components/css-components/z-scrollbar/index.stories.js +2 -2
  123. package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +1 -1
  124. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  125. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  126. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
  127. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -1
  128. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +1 -14
  129. package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -1
  130. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
  131. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
  132. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  133. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  134. package/dist/collection/components/list/z-list/index.js +1 -1
  135. package/dist/collection/components/list/z-list-element/index.js +1 -1
  136. package/dist/collection/components/list/z-list-element/styles.css +6 -5
  137. package/dist/collection/components/list/z-list-group/index.js +2 -2
  138. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  139. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  140. package/dist/collection/components/table/z-table/index.js +1 -1
  141. package/dist/collection/components/table/z-tbody/index.js +1 -1
  142. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  143. package/dist/collection/components/table/z-thead/index.js +1 -1
  144. package/dist/collection/components/table/z-tr/index.js +1 -1
  145. package/dist/collection/components/z-accordion/index.js +1 -1
  146. package/dist/collection/components/z-accordion/styles.css +1 -1
  147. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  148. package/dist/collection/components/z-anchor-navigation/styles.css +3 -2
  149. package/dist/collection/components/z-app-header/index.js +1 -1
  150. package/dist/collection/components/z-app-header/styles.css +1 -1
  151. package/dist/collection/components/z-aria-alert/index.js +1 -1
  152. package/dist/collection/components/z-avatar/index.js +2 -2
  153. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  154. package/dist/collection/components/z-breadcrumb/index.stories.js +1 -1
  155. package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -1
  156. package/dist/collection/components/z-breadcrumb/styles.css +2 -0
  157. package/dist/collection/components/z-button-sort/index.js +1 -1
  158. package/dist/collection/components/z-button-sort/styles.css +5 -5
  159. package/dist/collection/components/z-card/index.stories.js +2 -2
  160. package/dist/collection/components/z-card/index.stories.js.map +1 -1
  161. package/dist/collection/components/z-card/styles.css +1 -2
  162. package/dist/collection/components/z-carousel/index.js +2 -2
  163. package/dist/collection/components/z-carousel/index.js.map +1 -1
  164. package/dist/collection/components/z-chip/index.js +2 -2
  165. package/dist/collection/components/z-chip/styles.css +4 -8
  166. package/dist/collection/components/z-combobox/index.js +3 -3
  167. package/dist/collection/components/z-combobox/index.js.map +1 -1
  168. package/dist/collection/components/z-combobox/styles.css +35 -18
  169. package/dist/collection/components/z-cover-hero/index.js +2 -2
  170. package/dist/collection/components/z-divider/index.js +1 -1
  171. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  172. package/dist/collection/components/z-ghost-loading/styles.css +3 -3
  173. package/dist/collection/components/z-icon/index.js +1 -1
  174. package/dist/collection/components/z-info-box/index.js +1 -1
  175. package/dist/collection/components/z-info-reveal/index.js +1 -1
  176. package/dist/collection/components/z-input/index.js +1 -1
  177. package/dist/collection/components/z-input/styles.css +9 -6
  178. package/dist/collection/components/z-input-message/index.js +1 -1
  179. package/dist/collection/components/z-input-message/styles.css +1 -1
  180. package/dist/collection/components/z-logo/index.js +1 -1
  181. package/dist/collection/components/z-menu-section/index.js +1 -1
  182. package/dist/collection/components/z-modal/index.js +7 -7
  183. package/dist/collection/components/z-modal/index.js.map +1 -1
  184. package/dist/collection/components/z-modal/index.stories.js +1 -1
  185. package/dist/collection/components/z-modal/index.stories.js.map +1 -1
  186. package/dist/collection/components/z-modal/styles.css +5 -6
  187. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  188. package/dist/collection/components/z-navigation-tabs/styles.css +1 -1
  189. package/dist/collection/components/z-notification/index.js +1 -1
  190. package/dist/collection/components/z-notification/styles.css +6 -6
  191. package/dist/collection/components/z-offcanvas/index.js +1 -1
  192. package/dist/collection/components/z-pagination/styles.css +1 -1
  193. package/dist/collection/components/z-panel-elem/index.js +2 -2
  194. package/dist/collection/components/z-popover/index.js +1 -1
  195. package/dist/collection/components/z-popover/index.stories.js +2 -1
  196. package/dist/collection/components/z-popover/index.stories.js.map +1 -1
  197. package/dist/collection/components/z-searchbar/index.js +1 -1
  198. package/dist/collection/components/z-section-title/index.js +1 -1
  199. package/dist/collection/components/z-select/index.js +1 -1
  200. package/dist/collection/components/z-select/styles.css +14 -8
  201. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  202. package/dist/collection/components/z-stepper/index.js +1 -1
  203. package/dist/collection/components/z-stepper/index.stories.js +42 -12
  204. package/dist/collection/components/z-stepper/index.stories.js.map +1 -1
  205. package/dist/collection/components/z-stepper/styles.css +1 -1
  206. package/dist/collection/components/z-stepper-item/index.js +1 -1
  207. package/dist/collection/components/z-stepper-item/styles.css +6 -6
  208. package/dist/collection/components/z-tag/index.js +2 -2
  209. package/dist/collection/components/z-toast-notification/index.js +1 -1
  210. package/dist/collection/components/z-toast-notification/styles.css +5 -5
  211. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  212. package/dist/collection/components/z-toggle-button/index.js +2 -2
  213. package/dist/collection/components/z-toggle-button/styles.css +1 -1
  214. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  215. package/dist/collection/components/z-tooltip/index.js +1 -1
  216. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  217. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  218. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  219. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +2 -2
  220. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  221. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  222. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  223. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  224. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  225. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  226. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  227. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  228. package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +1 -1
  229. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  230. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  231. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  232. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  233. package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
  234. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  235. package/dist/collection/snowflakes/myz/z-otp/styles.css +2 -2
  236. package/dist/components/index.js +1 -1
  237. package/dist/components/index10.js +1 -1
  238. package/dist/components/index11.js +2 -2
  239. package/dist/components/index11.js.map +1 -1
  240. package/dist/components/index12.js +2 -2
  241. package/dist/components/index12.js.map +1 -1
  242. package/dist/components/index13.js +1 -1
  243. package/dist/components/index14.js +2 -2
  244. package/dist/components/index14.js.map +1 -1
  245. package/dist/components/index15.js +2 -2
  246. package/dist/components/index16.js +5 -5
  247. package/dist/components/index16.js.map +1 -1
  248. package/dist/components/index17.js +1 -1
  249. package/dist/components/index18.js +1 -1
  250. package/dist/components/index19.js +1 -1
  251. package/dist/components/index2.js +1 -6
  252. package/dist/components/index2.js.map +1 -1
  253. package/dist/components/index20.js +1 -1
  254. package/dist/components/index21.js +1 -1
  255. package/dist/components/index22.js +1 -1
  256. package/dist/components/index23.js +1 -1
  257. package/dist/components/index24.js +1 -1
  258. package/dist/components/index25.js +2 -2
  259. package/dist/components/index3.js +2 -2
  260. package/dist/components/index3.js.map +1 -1
  261. package/dist/components/index5.js +3 -3
  262. package/dist/components/index5.js.map +1 -1
  263. package/dist/components/index6.js +1 -1
  264. package/dist/components/index7.js +2 -2
  265. package/dist/components/index8.js +2 -2
  266. package/dist/components/index8.js.map +1 -1
  267. package/dist/components/index9.js +1 -1
  268. package/dist/components/z-accordion.js +3 -3
  269. package/dist/components/z-accordion.js.map +1 -1
  270. package/dist/components/z-anchor-navigation.js +2 -2
  271. package/dist/components/z-anchor-navigation.js.map +1 -1
  272. package/dist/components/z-app-header-deprecated.js +1 -1
  273. package/dist/components/z-app-header.js +2 -2
  274. package/dist/components/z-app-header.js.map +1 -1
  275. package/dist/components/z-aria-alert.js +1 -1
  276. package/dist/components/z-avatar.js +2 -2
  277. package/dist/components/z-book-card-app.js +1 -1
  278. package/dist/components/z-book-card-deprecated.js +1 -1
  279. package/dist/components/z-book-card.js +53 -117
  280. package/dist/components/z-book-card.js.map +1 -1
  281. package/dist/components/z-breadcrumb.js +3 -3
  282. package/dist/components/z-breadcrumb.js.map +1 -1
  283. package/dist/components/z-button-sort.js +2 -2
  284. package/dist/components/z-button-sort.js.map +1 -1
  285. package/dist/components/z-card.js +1 -1
  286. package/dist/components/z-card.js.map +1 -1
  287. package/dist/components/z-carousel.js +2 -2
  288. package/dist/components/z-carousel.js.map +1 -1
  289. package/dist/components/z-combobox.js +16 -22
  290. package/dist/components/z-combobox.js.map +1 -1
  291. package/dist/components/z-cover-hero.js +2 -2
  292. package/dist/components/z-date-picker.js +1 -1
  293. package/dist/components/z-file.js +1 -1
  294. package/dist/components/z-info-box.js +1 -1
  295. package/dist/components/z-logo.js +1 -1
  296. package/dist/components/z-menu-deprecated.js +1 -1
  297. package/dist/components/z-menu-section-deprecated.js +1 -1
  298. package/dist/components/z-menu-section.js +1 -1
  299. package/dist/components/z-myz-card-alert.js +2 -2
  300. package/dist/components/z-myz-card-alert.js.map +1 -1
  301. package/dist/components/z-myz-card-dictionary.js +1 -1
  302. package/dist/components/z-myz-card-footer-sections.js +1 -1
  303. package/dist/components/z-myz-card-footer.js +1 -1
  304. package/dist/components/z-myz-card-icon.js +1 -1
  305. package/dist/components/z-myz-card-info.js +2 -2
  306. package/dist/components/z-myz-card-info.js.map +1 -1
  307. package/dist/components/z-myz-card-list.js +1 -1
  308. package/dist/components/z-myz-list.js +1 -1
  309. package/dist/components/z-navigation-tabs.js +3 -3
  310. package/dist/components/z-navigation-tabs.js.map +1 -1
  311. package/dist/components/z-notification.js +2 -2
  312. package/dist/components/z-notification.js.map +1 -1
  313. package/dist/components/z-otp.js +3 -3
  314. package/dist/components/z-otp.js.map +1 -1
  315. package/dist/components/z-pagination.js +1 -1
  316. package/dist/components/z-pagination.js.map +1 -1
  317. package/dist/components/z-panel-elem.js +2 -2
  318. package/dist/components/z-range-picker.js +3 -3
  319. package/dist/components/z-section-title.js +1 -1
  320. package/dist/components/z-select.js +2 -2
  321. package/dist/components/z-select.js.map +1 -1
  322. package/dist/components/z-skip-to-content.js +1 -1
  323. package/dist/components/z-stepper-item.js +2 -2
  324. package/dist/components/z-stepper-item.js.map +1 -1
  325. package/dist/components/z-stepper.js +2 -2
  326. package/dist/components/z-stepper.js.map +1 -1
  327. package/dist/components/z-table.js +1 -1
  328. package/dist/components/z-tbody.js +1 -1
  329. package/dist/components/z-td.js +1 -1
  330. package/dist/components/z-tfoot.js +1 -1
  331. package/dist/components/z-th.js +1 -1
  332. package/dist/components/z-thead.js +1 -1
  333. package/dist/components/z-toast-notification-list.js +1 -1
  334. package/dist/components/z-toast-notification.js +2 -2
  335. package/dist/components/z-toast-notification.js.map +1 -1
  336. package/dist/components/z-toggle-button.js +3 -3
  337. package/dist/components/z-toggle-button.js.map +1 -1
  338. package/dist/components/z-toggle-switch.js +3 -3
  339. package/dist/components/z-tooltip.js +1 -1
  340. package/dist/components/z-tr.js +1 -1
  341. package/dist/components/z-visually-hidden.js +1 -1
  342. package/dist/docs/themes/index.stories.js +7 -15
  343. package/dist/docs/themes/index.stories.js.map +1 -1
  344. package/dist/esm/{index-5dff449e.js → index-0ebe53c2.js} +2 -2
  345. package/dist/esm/{index-5dff449e.js.map → index-0ebe53c2.js.map} +1 -1
  346. package/dist/esm/{index-678ea09c.js → index-7ff7476c.js} +5 -5
  347. package/dist/esm/{index-678ea09c.js.map → index-7ff7476c.js.map} +1 -1
  348. package/dist/esm/{index-04335eea.js → index-8965837f.js} +2 -2
  349. package/dist/esm/{index-04335eea.js.map → index-8965837f.js.map} +1 -1
  350. package/dist/esm/{index-9adfcd0d.js → index-dfd97928.js} +2 -2
  351. package/dist/esm/{index-9adfcd0d.js.map → index-dfd97928.js.map} +1 -1
  352. package/dist/esm/{index-dac83244.js → index-f75609c5.js} +3 -3
  353. package/dist/esm/{index-dac83244.js.map → index-f75609c5.js.map} +1 -1
  354. package/dist/esm/{index-5c567adb.js → index-f87879d9.js} +3 -3
  355. package/dist/esm/{index-5c567adb.js.map → index-f87879d9.js.map} +1 -1
  356. package/dist/esm/{index-c9fd4a10.js → index-fe87283d.js} +2 -7
  357. package/dist/esm/index-fe87283d.js.map +1 -0
  358. package/dist/esm/index.js +2 -2
  359. package/dist/esm/loader.js +1 -1
  360. package/dist/esm/{utils-1a6a53d2.js → utils-ae56fbe5.js} +2 -2
  361. package/dist/esm/{utils-1a6a53d2.js.map → utils-ae56fbe5.js.map} +1 -1
  362. package/dist/esm/{utils-cd97a95b.js → utils-c7062cf7.js} +2 -2
  363. package/dist/esm/{utils-cd97a95b.js.map → utils-c7062cf7.js.map} +1 -1
  364. package/dist/esm/web-components-library.js +1 -1
  365. package/dist/esm/z-accordion.entry.js +3 -3
  366. package/dist/esm/z-accordion.entry.js.map +1 -1
  367. package/dist/esm/z-alert.entry.js +2 -2
  368. package/dist/esm/z-alert.entry.js.map +1 -1
  369. package/dist/esm/z-anchor-navigation.entry.js +3 -3
  370. package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
  371. package/dist/esm/z-app-header-deprecated.entry.js +2 -2
  372. package/dist/esm/z-app-header_12.entry.js +19 -19
  373. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  374. package/dist/esm/z-aria-alert.entry.js +2 -2
  375. package/dist/esm/z-avatar.entry.js +3 -3
  376. package/dist/esm/z-book-card-app.entry.js +2 -2
  377. package/dist/esm/z-book-card-deprecated.entry.js +3 -3
  378. package/dist/esm/z-book-card.entry.js +45 -91
  379. package/dist/esm/z-book-card.entry.js.map +1 -1
  380. package/dist/esm/z-breadcrumb.entry.js +5 -5
  381. package/dist/esm/z-breadcrumb.entry.js.map +1 -1
  382. package/dist/esm/z-button-sort.entry.js +2 -2
  383. package/dist/esm/z-button-sort.entry.js.map +1 -1
  384. package/dist/esm/z-card.entry.js +2 -2
  385. package/dist/esm/z-card.entry.js.map +1 -1
  386. package/dist/esm/z-carousel.entry.js +3 -3
  387. package/dist/esm/z-carousel.entry.js.map +1 -1
  388. package/dist/esm/z-chip.entry.js +4 -4
  389. package/dist/esm/z-chip.entry.js.map +1 -1
  390. package/dist/esm/z-combobox.entry.js +6 -6
  391. package/dist/esm/z-combobox.entry.js.map +1 -1
  392. package/dist/esm/z-cover-hero.entry.js +3 -3
  393. package/dist/esm/z-date-picker.entry.js +3 -3
  394. package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
  395. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
  396. package/dist/esm/z-file-upload.entry.js +1 -1
  397. package/dist/esm/z-file.entry.js +2 -2
  398. package/dist/esm/z-ghost-loading.entry.js +2 -2
  399. package/dist/esm/z-ghost-loading.entry.js.map +1 -1
  400. package/dist/esm/z-info-box.entry.js +1 -1
  401. package/dist/esm/z-info-reveal.entry.js +2 -2
  402. package/dist/esm/z-logo.entry.js +1 -1
  403. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  404. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  405. package/dist/esm/z-menu-section.entry.js +2 -2
  406. package/dist/esm/z-menu.entry.js +2 -2
  407. package/dist/esm/z-myz-card-alert.entry.js +3 -3
  408. package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
  409. package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
  410. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  411. package/dist/esm/z-myz-card-footer.entry.js +2 -2
  412. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  413. package/dist/esm/z-myz-card-info.entry.js +4 -4
  414. package/dist/esm/z-myz-card-info.entry.js.map +1 -1
  415. package/dist/esm/z-myz-card-list.entry.js +1 -1
  416. package/dist/esm/z-myz-card_4.entry.js +5 -5
  417. package/dist/esm/z-myz-list-item.entry.js +3 -3
  418. package/dist/esm/z-myz-list.entry.js +1 -1
  419. package/dist/esm/z-navigation-tabs.entry.js +4 -4
  420. package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
  421. package/dist/esm/z-notification.entry.js +2 -2
  422. package/dist/esm/z-notification.entry.js.map +1 -1
  423. package/dist/esm/z-otp.entry.js +4 -4
  424. package/dist/esm/z-otp.entry.js.map +1 -1
  425. package/dist/esm/z-pagination.entry.js +2 -2
  426. package/dist/esm/z-pagination.entry.js.map +1 -1
  427. package/dist/esm/z-panel-elem.entry.js +2 -2
  428. package/dist/esm/z-popover.entry.js +2 -2
  429. package/dist/esm/z-range-picker.entry.js +5 -5
  430. package/dist/esm/z-section-title.entry.js +2 -2
  431. package/dist/esm/z-select.entry.js +4 -4
  432. package/dist/esm/z-select.entry.js.map +1 -1
  433. package/dist/esm/z-skip-to-content.entry.js +3 -3
  434. package/dist/esm/z-slideshow.entry.js +2 -2
  435. package/dist/esm/z-stepper-item.entry.js +2 -2
  436. package/dist/esm/z-stepper-item.entry.js.map +1 -1
  437. package/dist/esm/z-stepper.entry.js +2 -2
  438. package/dist/esm/z-stepper.entry.js.map +1 -1
  439. package/dist/esm/z-table.entry.js +9 -9
  440. package/dist/esm/z-tbody.entry.js +1 -1
  441. package/dist/esm/z-td.entry.js +2 -2
  442. package/dist/esm/z-tfoot.entry.js +1 -1
  443. package/dist/esm/z-th.entry.js +2 -2
  444. package/dist/esm/z-thead.entry.js +1 -1
  445. package/dist/esm/z-toast-notification-list.entry.js +2 -2
  446. package/dist/esm/z-toast-notification.entry.js +3 -3
  447. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  448. package/dist/esm/z-toggle-button.entry.js +3 -3
  449. package/dist/esm/z-toggle-button.entry.js.map +1 -1
  450. package/dist/esm/z-toggle-switch.entry.js +5 -5
  451. package/dist/esm/z-tooltip.entry.js +2 -2
  452. package/dist/esm/z-tr.entry.js +5 -5
  453. package/dist/esm/z-visually-hidden.entry.js +1 -1
  454. package/dist/types/beans/index.d.ts +0 -12
  455. package/dist/types/components/book-card/z-book-card/index.d.ts +28 -42
  456. package/dist/types/components/book-card/z-book-card/index.stories.d.ts +35 -32
  457. package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +1 -1
  458. package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +1 -10
  459. package/dist/types/components/z-breadcrumb/index.stories.d.ts +1 -1
  460. package/dist/types/components/z-card/index.stories.d.ts +1 -1
  461. package/dist/types/components/z-modal/index.d.ts +3 -3
  462. package/dist/types/components/z-popover/index.stories.d.ts +5 -2
  463. package/dist/types/components/z-stepper/index.stories.d.ts +3 -0
  464. package/dist/types/components.d.ts +57 -76
  465. package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +1 -12
  466. package/dist/web-components-library/index.esm.js +1 -1
  467. package/dist/web-components-library/index.esm.js.map +1 -1
  468. package/{www/build/p-b22d3c7d.js → dist/web-components-library/p-00e88046.js} +2 -2
  469. package/dist/web-components-library/{p-7ef2c4ce.entry.js → p-0bf8d989.entry.js} +2 -2
  470. package/dist/web-components-library/{p-7b375bca.js → p-0cb113f9.js} +2 -2
  471. package/{www/build/p-c3c99202.js → dist/web-components-library/p-0d9f1574.js} +2 -2
  472. package/dist/web-components-library/{p-fca17517.entry.js → p-121f2960.entry.js} +2 -2
  473. package/dist/web-components-library/p-1bbf185c.js +2 -0
  474. package/dist/web-components-library/{p-7f0cbe57.entry.js → p-1c51153b.entry.js} +2 -2
  475. package/{www/build/p-5b6dd467.entry.js → dist/web-components-library/p-1cbc1b08.entry.js} +2 -2
  476. package/dist/web-components-library/{p-c7f8b628.entry.js → p-1e25d225.entry.js} +2 -2
  477. package/dist/web-components-library/p-1ece11f1.entry.js +2 -0
  478. package/dist/web-components-library/p-1ece11f1.entry.js.map +1 -0
  479. package/dist/web-components-library/{p-2dde9b84.entry.js → p-2467913e.entry.js} +2 -2
  480. package/{www/build/p-2dde9b84.entry.js.map → dist/web-components-library/p-2467913e.entry.js.map} +1 -1
  481. package/dist/web-components-library/{p-ad74941b.entry.js → p-25be56d1.entry.js} +2 -2
  482. package/dist/web-components-library/p-28c972c6.entry.js +2 -0
  483. package/dist/web-components-library/p-301b56f1.entry.js +2 -0
  484. package/dist/web-components-library/p-301b56f1.entry.js.map +1 -0
  485. package/dist/web-components-library/p-30677b5c.entry.js +2 -0
  486. package/dist/web-components-library/p-30677b5c.entry.js.map +1 -0
  487. package/{www/build/p-31c5b39d.entry.js → dist/web-components-library/p-37a34984.entry.js} +2 -2
  488. package/dist/web-components-library/{p-195c19a5.entry.js → p-390bbfd4.entry.js} +2 -2
  489. package/dist/web-components-library/p-3a42612f.entry.js +2 -0
  490. package/dist/web-components-library/{p-4f33d4f4.entry.js → p-3d8cdd34.entry.js} +2 -2
  491. package/dist/web-components-library/p-431f5871.js +2 -0
  492. package/{www/build/p-6230c432.entry.js → dist/web-components-library/p-4de706ad.entry.js} +2 -2
  493. package/dist/web-components-library/{p-f49171aa.entry.js → p-53a2995c.entry.js} +2 -2
  494. package/dist/web-components-library/{p-22d56699.entry.js → p-55fad9b1.entry.js} +2 -2
  495. package/{www/build/p-c7df6a63.entry.js → dist/web-components-library/p-5a24e268.entry.js} +2 -2
  496. package/dist/web-components-library/{p-0a149188.entry.js → p-5d7bbd82.entry.js} +2 -2
  497. package/dist/web-components-library/{p-42559870.entry.js → p-5ed87dec.entry.js} +2 -2
  498. package/dist/web-components-library/p-61a83529.entry.js +2 -0
  499. package/dist/web-components-library/{p-9187ce36.entry.js → p-6655e19b.entry.js} +2 -2
  500. package/dist/web-components-library/p-6a573d57.entry.js +2 -0
  501. package/dist/web-components-library/p-6a573d57.entry.js.map +1 -0
  502. package/dist/web-components-library/{p-bbdb67db.entry.js → p-7314c74b.entry.js} +2 -2
  503. package/dist/web-components-library/p-7b13eeff.entry.js +2 -0
  504. package/dist/web-components-library/p-7b13eeff.entry.js.map +1 -0
  505. package/dist/web-components-library/p-7ce5ca87.entry.js +2 -0
  506. package/dist/web-components-library/{p-6f5f2d56.entry.js → p-7d2ecca2.entry.js} +2 -2
  507. package/dist/web-components-library/p-7df942c9.entry.js +2 -0
  508. package/dist/web-components-library/p-7df942c9.entry.js.map +1 -0
  509. package/{www/build/p-c2af9a71.entry.js → dist/web-components-library/p-816fd6dc.entry.js} +2 -2
  510. package/dist/web-components-library/p-838b298b.entry.js +2 -0
  511. package/dist/web-components-library/p-838b298b.entry.js.map +1 -0
  512. package/dist/web-components-library/{p-2dcf53b3.entry.js → p-8c5dcab3.entry.js} +2 -2
  513. package/dist/web-components-library/p-8d043fc0.entry.js +7 -0
  514. package/dist/web-components-library/{p-2c5f77f2.entry.js.map → p-8d043fc0.entry.js.map} +1 -1
  515. package/dist/web-components-library/p-8eb94125.entry.js +2 -0
  516. package/{www/build/p-8e544914.entry.js.map → dist/web-components-library/p-8eb94125.entry.js.map} +1 -1
  517. package/dist/web-components-library/{p-d29f9574.entry.js → p-8fa23b47.entry.js} +2 -2
  518. package/{www/build/p-d29f9574.entry.js.map → dist/web-components-library/p-8fa23b47.entry.js.map} +1 -1
  519. package/dist/web-components-library/p-8fdf9453.entry.js +2 -0
  520. package/dist/web-components-library/{p-3243015c.entry.js.map → p-8fdf9453.entry.js.map} +1 -1
  521. package/{www/build/p-29a297ed.entry.js → dist/web-components-library/p-996446e2.entry.js} +2 -2
  522. package/dist/web-components-library/p-996446e2.entry.js.map +1 -0
  523. package/{www/build/p-96be6eae.entry.js → dist/web-components-library/p-99a6c92f.entry.js} +2 -2
  524. package/dist/web-components-library/{p-cdc51108.entry.js → p-9b2e5033.entry.js} +3 -3
  525. package/dist/web-components-library/p-9bad1dbc.entry.js +2 -0
  526. package/dist/web-components-library/p-9bad1dbc.entry.js.map +1 -0
  527. package/dist/web-components-library/{p-6337614a.entry.js → p-9fcc8e5d.entry.js} +2 -2
  528. package/{www/build/p-6337614a.entry.js.map → dist/web-components-library/p-9fcc8e5d.entry.js.map} +1 -1
  529. package/dist/web-components-library/p-aaab7f44.entry.js +2 -0
  530. package/dist/web-components-library/p-abc08ea3.entry.js +2 -0
  531. package/{www/build/p-475a2ba2.entry.js → dist/web-components-library/p-abd3b914.entry.js} +2 -2
  532. package/dist/web-components-library/p-acee5500.entry.js +2 -0
  533. package/dist/web-components-library/{p-0d60cc5e.entry.js → p-adb5caab.entry.js} +2 -2
  534. package/{www/build/p-0d60cc5e.entry.js.map → dist/web-components-library/p-adb5caab.entry.js.map} +1 -1
  535. package/dist/web-components-library/{p-f9fb6005.entry.js → p-ae1b5e23.entry.js} +2 -2
  536. package/{www/build/p-cc775eee.entry.js → dist/web-components-library/p-b1cbb20d.entry.js} +2 -2
  537. package/dist/web-components-library/p-b4018dab.entry.js +2 -0
  538. package/dist/web-components-library/p-b4018dab.entry.js.map +1 -0
  539. package/dist/web-components-library/{p-7091a1fc.entry.js → p-b94e0513.entry.js} +2 -2
  540. package/dist/web-components-library/{p-a1b6184f.js → p-bc408f39.js} +2 -2
  541. package/dist/web-components-library/{p-b6de174b.entry.js → p-bc57b3c3.entry.js} +2 -2
  542. package/dist/web-components-library/p-bc71a934.entry.js +2 -0
  543. package/dist/web-components-library/p-bc71a934.entry.js.map +1 -0
  544. package/dist/web-components-library/p-cfbef2c3.entry.js +2 -0
  545. package/dist/web-components-library/p-d20df54b.entry.js +2 -0
  546. package/dist/web-components-library/p-d20df54b.entry.js.map +1 -0
  547. package/{www/build/p-bd5b0bce.entry.js → dist/web-components-library/p-d8d7db0e.entry.js} +2 -2
  548. package/dist/web-components-library/{p-30170218.entry.js → p-d9fdc804.entry.js} +2 -2
  549. package/{www/build/p-8e6760d9.entry.js → dist/web-components-library/p-df97df54.entry.js} +2 -2
  550. package/dist/web-components-library/p-df9f25a1.entry.js +2 -0
  551. package/dist/web-components-library/p-df9f25a1.entry.js.map +1 -0
  552. package/dist/web-components-library/p-dfcf9936.js +2 -0
  553. package/dist/web-components-library/p-dfcf9936.js.map +1 -0
  554. package/dist/web-components-library/p-e5ce98e0.entry.js +2 -0
  555. package/dist/web-components-library/p-e5ce98e0.entry.js.map +1 -0
  556. package/dist/web-components-library/p-e7eedf8b.entry.js +2 -0
  557. package/dist/web-components-library/p-e7eedf8b.entry.js.map +1 -0
  558. package/dist/web-components-library/p-ec8f8ac8.entry.js +2 -0
  559. package/dist/web-components-library/p-ec8f8ac8.entry.js.map +1 -0
  560. package/dist/web-components-library/{p-e087f05f.js → p-f3145212.js} +2 -2
  561. package/dist/web-components-library/p-f73d8a87.entry.js +2 -0
  562. package/dist/web-components-library/p-f73d8a87.entry.js.map +1 -0
  563. package/dist/web-components-library/{p-4c462e7f.js → p-f7f2beae.js} +2 -2
  564. package/dist/web-components-library/p-f8d49a59.entry.js +2 -0
  565. package/dist/web-components-library/p-f9f98130.entry.js +2 -0
  566. package/dist/web-components-library/p-f9f98130.entry.js.map +1 -0
  567. package/dist/web-components-library/p-fad6ea09.entry.js +2 -0
  568. package/dist/web-components-library/p-fad6ea09.entry.js.map +1 -0
  569. package/dist/web-components-library/web-components-library.css +142 -175
  570. package/dist/web-components-library/web-components-library.esm.js +1 -1
  571. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  572. package/package.json +2 -1
  573. package/www/build/index.esm.js +1 -1
  574. package/www/build/index.esm.js.map +1 -1
  575. package/{dist/web-components-library/p-b22d3c7d.js → www/build/p-00e88046.js} +2 -2
  576. package/www/build/{p-7ef2c4ce.entry.js → p-0bf8d989.entry.js} +2 -2
  577. package/www/build/{p-7b375bca.js → p-0cb113f9.js} +2 -2
  578. package/{dist/web-components-library/p-c3c99202.js → www/build/p-0d9f1574.js} +2 -2
  579. package/www/build/{p-fca17517.entry.js → p-121f2960.entry.js} +2 -2
  580. package/www/build/p-1bbf185c.js +2 -0
  581. package/www/build/{p-7f0cbe57.entry.js → p-1c51153b.entry.js} +2 -2
  582. package/{dist/web-components-library/p-5b6dd467.entry.js → www/build/p-1cbc1b08.entry.js} +2 -2
  583. package/www/build/{p-c7f8b628.entry.js → p-1e25d225.entry.js} +2 -2
  584. package/www/build/p-1ece11f1.entry.js +2 -0
  585. package/www/build/p-1ece11f1.entry.js.map +1 -0
  586. package/www/build/{p-2dde9b84.entry.js → p-2467913e.entry.js} +2 -2
  587. package/{dist/web-components-library/p-2dde9b84.entry.js.map → www/build/p-2467913e.entry.js.map} +1 -1
  588. package/www/build/{p-ad74941b.entry.js → p-25be56d1.entry.js} +2 -2
  589. package/www/build/p-28c972c6.entry.js +2 -0
  590. package/www/build/p-301b56f1.entry.js +2 -0
  591. package/www/build/p-301b56f1.entry.js.map +1 -0
  592. package/www/build/p-30677b5c.entry.js +2 -0
  593. package/www/build/p-30677b5c.entry.js.map +1 -0
  594. package/{dist/web-components-library/p-31c5b39d.entry.js → www/build/p-37a34984.entry.js} +2 -2
  595. package/www/build/{p-195c19a5.entry.js → p-390bbfd4.entry.js} +2 -2
  596. package/www/build/p-3a42612f.entry.js +2 -0
  597. package/www/build/{p-4f33d4f4.entry.js → p-3d8cdd34.entry.js} +2 -2
  598. package/www/build/p-431f5871.js +2 -0
  599. package/{dist/web-components-library/p-6230c432.entry.js → www/build/p-4de706ad.entry.js} +2 -2
  600. package/www/build/{p-f49171aa.entry.js → p-53a2995c.entry.js} +2 -2
  601. package/www/build/{p-22d56699.entry.js → p-55fad9b1.entry.js} +2 -2
  602. package/{dist/web-components-library/p-c7df6a63.entry.js → www/build/p-5a24e268.entry.js} +2 -2
  603. package/www/build/{p-0a149188.entry.js → p-5d7bbd82.entry.js} +2 -2
  604. package/www/build/{p-42559870.entry.js → p-5ed87dec.entry.js} +2 -2
  605. package/www/build/p-61a83529.entry.js +2 -0
  606. package/www/build/{p-9187ce36.entry.js → p-6655e19b.entry.js} +2 -2
  607. package/www/build/p-6a573d57.entry.js +2 -0
  608. package/www/build/p-6a573d57.entry.js.map +1 -0
  609. package/www/build/{p-bbdb67db.entry.js → p-7314c74b.entry.js} +2 -2
  610. package/www/build/p-7b13eeff.entry.js +2 -0
  611. package/www/build/p-7b13eeff.entry.js.map +1 -0
  612. package/www/build/p-7ce5ca87.entry.js +2 -0
  613. package/www/build/{p-6f5f2d56.entry.js → p-7d2ecca2.entry.js} +2 -2
  614. package/www/build/p-7df942c9.entry.js +2 -0
  615. package/www/build/p-7df942c9.entry.js.map +1 -0
  616. package/{dist/web-components-library/p-c2af9a71.entry.js → www/build/p-816fd6dc.entry.js} +2 -2
  617. package/www/build/p-838b298b.entry.js +2 -0
  618. package/www/build/p-838b298b.entry.js.map +1 -0
  619. package/www/build/{p-2dcf53b3.entry.js → p-8c5dcab3.entry.js} +2 -2
  620. package/www/build/p-8d043fc0.entry.js +7 -0
  621. package/www/build/{p-2c5f77f2.entry.js.map → p-8d043fc0.entry.js.map} +1 -1
  622. package/www/build/p-8eb94125.entry.js +2 -0
  623. package/{dist/web-components-library/p-8e544914.entry.js.map → www/build/p-8eb94125.entry.js.map} +1 -1
  624. package/www/build/{p-d29f9574.entry.js → p-8fa23b47.entry.js} +2 -2
  625. package/{dist/web-components-library/p-d29f9574.entry.js.map → www/build/p-8fa23b47.entry.js.map} +1 -1
  626. package/www/build/p-8fdf9453.entry.js +2 -0
  627. package/www/build/{p-3243015c.entry.js.map → p-8fdf9453.entry.js.map} +1 -1
  628. package/{dist/web-components-library/p-29a297ed.entry.js → www/build/p-996446e2.entry.js} +2 -2
  629. package/www/build/p-996446e2.entry.js.map +1 -0
  630. package/{dist/web-components-library/p-96be6eae.entry.js → www/build/p-99a6c92f.entry.js} +2 -2
  631. package/www/build/{p-cdc51108.entry.js → p-9b2e5033.entry.js} +3 -3
  632. package/www/build/p-9bad1dbc.entry.js +2 -0
  633. package/www/build/p-9bad1dbc.entry.js.map +1 -0
  634. package/www/build/{p-6337614a.entry.js → p-9fcc8e5d.entry.js} +2 -2
  635. package/{dist/web-components-library/p-6337614a.entry.js.map → www/build/p-9fcc8e5d.entry.js.map} +1 -1
  636. package/www/build/{p-5fcad73f.css → p-a69c66e4.css} +142 -175
  637. package/www/build/p-aaab7f44.entry.js +2 -0
  638. package/www/build/p-abc08ea3.entry.js +2 -0
  639. package/{dist/web-components-library/p-475a2ba2.entry.js → www/build/p-abd3b914.entry.js} +2 -2
  640. package/www/build/p-acee5500.entry.js +2 -0
  641. package/www/build/{p-0d60cc5e.entry.js → p-adb5caab.entry.js} +2 -2
  642. package/{dist/web-components-library/p-0d60cc5e.entry.js.map → www/build/p-adb5caab.entry.js.map} +1 -1
  643. package/www/build/{p-f9fb6005.entry.js → p-ae1b5e23.entry.js} +2 -2
  644. package/{dist/web-components-library/p-cc775eee.entry.js → www/build/p-b1cbb20d.entry.js} +2 -2
  645. package/www/build/p-b4018dab.entry.js +2 -0
  646. package/www/build/p-b4018dab.entry.js.map +1 -0
  647. package/www/build/{p-7091a1fc.entry.js → p-b94e0513.entry.js} +2 -2
  648. package/www/build/{p-a1b6184f.js → p-bc408f39.js} +2 -2
  649. package/www/build/{p-b6de174b.entry.js → p-bc57b3c3.entry.js} +2 -2
  650. package/www/build/p-bc71a934.entry.js +2 -0
  651. package/www/build/p-bc71a934.entry.js.map +1 -0
  652. package/www/build/p-cfbef2c3.entry.js +2 -0
  653. package/www/build/p-d20df54b.entry.js +2 -0
  654. package/www/build/p-d20df54b.entry.js.map +1 -0
  655. package/{dist/web-components-library/p-bd5b0bce.entry.js → www/build/p-d8d7db0e.entry.js} +2 -2
  656. package/www/build/{p-30170218.entry.js → p-d9fdc804.entry.js} +2 -2
  657. package/{dist/web-components-library/p-8e6760d9.entry.js → www/build/p-df97df54.entry.js} +2 -2
  658. package/www/build/p-df9f25a1.entry.js +2 -0
  659. package/www/build/p-df9f25a1.entry.js.map +1 -0
  660. package/www/build/p-dfcf9936.js +2 -0
  661. package/www/build/p-dfcf9936.js.map +1 -0
  662. package/www/build/p-e5ce98e0.entry.js +2 -0
  663. package/www/build/p-e5ce98e0.entry.js.map +1 -0
  664. package/www/build/p-e7eedf8b.entry.js +2 -0
  665. package/www/build/p-e7eedf8b.entry.js.map +1 -0
  666. package/www/build/p-e98541af.js +2 -0
  667. package/www/build/p-ec8f8ac8.entry.js +2 -0
  668. package/www/build/p-ec8f8ac8.entry.js.map +1 -0
  669. package/www/build/{p-e087f05f.js → p-f3145212.js} +2 -2
  670. package/www/build/p-f73d8a87.entry.js +2 -0
  671. package/www/build/p-f73d8a87.entry.js.map +1 -0
  672. package/www/build/{p-4c462e7f.js → p-f7f2beae.js} +2 -2
  673. package/www/build/p-f8d49a59.entry.js +2 -0
  674. package/www/build/p-f9f98130.entry.js +2 -0
  675. package/www/build/p-f9f98130.entry.js.map +1 -0
  676. package/www/build/p-fad6ea09.entry.js +2 -0
  677. package/www/build/p-fad6ea09.entry.js.map +1 -0
  678. package/www/build/web-components-library.css +142 -175
  679. package/www/build/web-components-library.esm.js +1 -1
  680. package/www/build/web-components-library.esm.js.map +1 -1
  681. package/www/index.html +1 -1
  682. package/www/pages/book-cards.html +251 -250
  683. package/dist/cjs/index-a465bca8.js.map +0 -1
  684. package/dist/esm/index-c9fd4a10.js.map +0 -1
  685. package/dist/web-components-library/p-011fa0c8.entry.js +0 -2
  686. package/dist/web-components-library/p-011fa0c8.entry.js.map +0 -1
  687. package/dist/web-components-library/p-035807e3.entry.js +0 -2
  688. package/dist/web-components-library/p-035807e3.entry.js.map +0 -1
  689. package/dist/web-components-library/p-08d8f935.entry.js +0 -2
  690. package/dist/web-components-library/p-0e3ec0b2.entry.js +0 -2
  691. package/dist/web-components-library/p-0e3ec0b2.entry.js.map +0 -1
  692. package/dist/web-components-library/p-0fce007b.entry.js +0 -2
  693. package/dist/web-components-library/p-20e4a601.entry.js +0 -2
  694. package/dist/web-components-library/p-20e4a601.entry.js.map +0 -1
  695. package/dist/web-components-library/p-29a297ed.entry.js.map +0 -1
  696. package/dist/web-components-library/p-2aeb2a94.entry.js +0 -2
  697. package/dist/web-components-library/p-2b309f57.js +0 -2
  698. package/dist/web-components-library/p-2b309f57.js.map +0 -1
  699. package/dist/web-components-library/p-2c5f77f2.entry.js +0 -7
  700. package/dist/web-components-library/p-3243015c.entry.js +0 -2
  701. package/dist/web-components-library/p-384baa02.entry.js +0 -2
  702. package/dist/web-components-library/p-384baa02.entry.js.map +0 -1
  703. package/dist/web-components-library/p-3a6f069c.entry.js +0 -2
  704. package/dist/web-components-library/p-3a6f069c.entry.js.map +0 -1
  705. package/dist/web-components-library/p-4df7de6b.entry.js +0 -2
  706. package/dist/web-components-library/p-4df7de6b.entry.js.map +0 -1
  707. package/dist/web-components-library/p-5f04d9eb.entry.js +0 -2
  708. package/dist/web-components-library/p-5f04d9eb.entry.js.map +0 -1
  709. package/dist/web-components-library/p-6e1ba2f0.entry.js +0 -2
  710. package/dist/web-components-library/p-7095262b.entry.js +0 -2
  711. package/dist/web-components-library/p-7095262b.entry.js.map +0 -1
  712. package/dist/web-components-library/p-7779ebce.entry.js +0 -2
  713. package/dist/web-components-library/p-78626225.entry.js +0 -2
  714. package/dist/web-components-library/p-78626225.entry.js.map +0 -1
  715. package/dist/web-components-library/p-898fcd66.entry.js +0 -2
  716. package/dist/web-components-library/p-898fcd66.entry.js.map +0 -1
  717. package/dist/web-components-library/p-8e544914.entry.js +0 -2
  718. package/dist/web-components-library/p-9ec778dc.entry.js +0 -2
  719. package/dist/web-components-library/p-9ec778dc.entry.js.map +0 -1
  720. package/dist/web-components-library/p-a4ddeb5f.entry.js +0 -2
  721. package/dist/web-components-library/p-b38be247.entry.js +0 -2
  722. package/dist/web-components-library/p-b539c9be.entry.js +0 -2
  723. package/dist/web-components-library/p-b659f139.entry.js +0 -2
  724. package/dist/web-components-library/p-b659f139.entry.js.map +0 -1
  725. package/dist/web-components-library/p-b7cf2442.entry.js +0 -2
  726. package/dist/web-components-library/p-b7cf2442.entry.js.map +0 -1
  727. package/dist/web-components-library/p-bbd492d3.entry.js +0 -2
  728. package/dist/web-components-library/p-bbd492d3.entry.js.map +0 -1
  729. package/dist/web-components-library/p-c13ef624.js +0 -2
  730. package/dist/web-components-library/p-cb8aec27.entry.js +0 -2
  731. package/dist/web-components-library/p-dbcc4906.entry.js +0 -2
  732. package/dist/web-components-library/p-dbcc4906.entry.js.map +0 -1
  733. package/dist/web-components-library/p-ea36d666.entry.js +0 -2
  734. package/dist/web-components-library/p-ea36d666.entry.js.map +0 -1
  735. package/dist/web-components-library/p-fb06a5d8.entry.js +0 -2
  736. package/dist/web-components-library/p-fb06a5d8.entry.js.map +0 -1
  737. package/dist/web-components-library/p-feb84d36.js +0 -2
  738. package/www/build/p-011fa0c8.entry.js +0 -2
  739. package/www/build/p-011fa0c8.entry.js.map +0 -1
  740. package/www/build/p-035807e3.entry.js +0 -2
  741. package/www/build/p-035807e3.entry.js.map +0 -1
  742. package/www/build/p-08d8f935.entry.js +0 -2
  743. package/www/build/p-0e3ec0b2.entry.js +0 -2
  744. package/www/build/p-0e3ec0b2.entry.js.map +0 -1
  745. package/www/build/p-0fce007b.entry.js +0 -2
  746. package/www/build/p-20e4a601.entry.js +0 -2
  747. package/www/build/p-20e4a601.entry.js.map +0 -1
  748. package/www/build/p-29a297ed.entry.js.map +0 -1
  749. package/www/build/p-2aeb2a94.entry.js +0 -2
  750. package/www/build/p-2b309f57.js +0 -2
  751. package/www/build/p-2c5f77f2.entry.js +0 -7
  752. package/www/build/p-3243015c.entry.js +0 -2
  753. package/www/build/p-384baa02.entry.js +0 -2
  754. package/www/build/p-384baa02.entry.js.map +0 -1
  755. package/www/build/p-3a6f069c.entry.js +0 -2
  756. package/www/build/p-3a6f069c.entry.js.map +0 -1
  757. package/www/build/p-4df7de6b.entry.js +0 -2
  758. package/www/build/p-4df7de6b.entry.js.map +0 -1
  759. package/www/build/p-5f04d9eb.entry.js +0 -2
  760. package/www/build/p-5f04d9eb.entry.js.map +0 -1
  761. package/www/build/p-6e1ba2f0.entry.js +0 -2
  762. package/www/build/p-7095262b.entry.js +0 -2
  763. package/www/build/p-7095262b.entry.js.map +0 -1
  764. package/www/build/p-7779ebce.entry.js +0 -2
  765. package/www/build/p-78626225.entry.js +0 -2
  766. package/www/build/p-78626225.entry.js.map +0 -1
  767. package/www/build/p-898fcd66.entry.js +0 -2
  768. package/www/build/p-898fcd66.entry.js.map +0 -1
  769. package/www/build/p-8e544914.entry.js +0 -2
  770. package/www/build/p-9ec778dc.entry.js +0 -2
  771. package/www/build/p-9ec778dc.entry.js.map +0 -1
  772. package/www/build/p-a0155994.js +0 -2
  773. package/www/build/p-a4ddeb5f.entry.js +0 -2
  774. package/www/build/p-b38be247.entry.js +0 -2
  775. package/www/build/p-b539c9be.entry.js +0 -2
  776. package/www/build/p-b659f139.entry.js +0 -2
  777. package/www/build/p-b659f139.entry.js.map +0 -1
  778. package/www/build/p-b7cf2442.entry.js +0 -2
  779. package/www/build/p-b7cf2442.entry.js.map +0 -1
  780. package/www/build/p-bbd492d3.entry.js +0 -2
  781. package/www/build/p-bbd492d3.entry.js.map +0 -1
  782. package/www/build/p-c13ef624.js +0 -2
  783. package/www/build/p-cb8aec27.entry.js +0 -2
  784. package/www/build/p-dbcc4906.entry.js +0 -2
  785. package/www/build/p-dbcc4906.entry.js.map +0 -1
  786. package/www/build/p-ea36d666.entry.js +0 -2
  787. package/www/build/p-ea36d666.entry.js.map +0 -1
  788. package/www/build/p-fb06a5d8.entry.js +0 -2
  789. package/www/build/p-fb06a5d8.entry.js.map +0 -1
  790. package/www/build/p-feb84d36.js +0 -2
  791. /package/dist/web-components-library/{p-b22d3c7d.js.map → p-00e88046.js.map} +0 -0
  792. /package/dist/web-components-library/{p-7ef2c4ce.entry.js.map → p-0bf8d989.entry.js.map} +0 -0
  793. /package/dist/web-components-library/{p-7b375bca.js.map → p-0cb113f9.js.map} +0 -0
  794. /package/dist/web-components-library/{p-c3c99202.js.map → p-0d9f1574.js.map} +0 -0
  795. /package/dist/web-components-library/{p-fca17517.entry.js.map → p-121f2960.entry.js.map} +0 -0
  796. /package/dist/web-components-library/{p-c13ef624.js.map → p-1bbf185c.js.map} +0 -0
  797. /package/dist/web-components-library/{p-7f0cbe57.entry.js.map → p-1c51153b.entry.js.map} +0 -0
  798. /package/dist/web-components-library/{p-5b6dd467.entry.js.map → p-1cbc1b08.entry.js.map} +0 -0
  799. /package/dist/web-components-library/{p-c7f8b628.entry.js.map → p-1e25d225.entry.js.map} +0 -0
  800. /package/dist/web-components-library/{p-ad74941b.entry.js.map → p-25be56d1.entry.js.map} +0 -0
  801. /package/dist/web-components-library/{p-7779ebce.entry.js.map → p-28c972c6.entry.js.map} +0 -0
  802. /package/dist/web-components-library/{p-31c5b39d.entry.js.map → p-37a34984.entry.js.map} +0 -0
  803. /package/dist/web-components-library/{p-195c19a5.entry.js.map → p-390bbfd4.entry.js.map} +0 -0
  804. /package/dist/web-components-library/{p-0fce007b.entry.js.map → p-3a42612f.entry.js.map} +0 -0
  805. /package/dist/web-components-library/{p-4f33d4f4.entry.js.map → p-3d8cdd34.entry.js.map} +0 -0
  806. /package/dist/web-components-library/{p-feb84d36.js.map → p-431f5871.js.map} +0 -0
  807. /package/dist/web-components-library/{p-6230c432.entry.js.map → p-4de706ad.entry.js.map} +0 -0
  808. /package/dist/web-components-library/{p-f49171aa.entry.js.map → p-53a2995c.entry.js.map} +0 -0
  809. /package/dist/web-components-library/{p-22d56699.entry.js.map → p-55fad9b1.entry.js.map} +0 -0
  810. /package/dist/web-components-library/{p-c7df6a63.entry.js.map → p-5a24e268.entry.js.map} +0 -0
  811. /package/dist/web-components-library/{p-0a149188.entry.js.map → p-5d7bbd82.entry.js.map} +0 -0
  812. /package/dist/web-components-library/{p-42559870.entry.js.map → p-5ed87dec.entry.js.map} +0 -0
  813. /package/dist/web-components-library/{p-2aeb2a94.entry.js.map → p-61a83529.entry.js.map} +0 -0
  814. /package/dist/web-components-library/{p-9187ce36.entry.js.map → p-6655e19b.entry.js.map} +0 -0
  815. /package/dist/web-components-library/{p-bbdb67db.entry.js.map → p-7314c74b.entry.js.map} +0 -0
  816. /package/dist/web-components-library/{p-cb8aec27.entry.js.map → p-7ce5ca87.entry.js.map} +0 -0
  817. /package/dist/web-components-library/{p-6f5f2d56.entry.js.map → p-7d2ecca2.entry.js.map} +0 -0
  818. /package/dist/web-components-library/{p-c2af9a71.entry.js.map → p-816fd6dc.entry.js.map} +0 -0
  819. /package/dist/web-components-library/{p-2dcf53b3.entry.js.map → p-8c5dcab3.entry.js.map} +0 -0
  820. /package/dist/web-components-library/{p-96be6eae.entry.js.map → p-99a6c92f.entry.js.map} +0 -0
  821. /package/dist/web-components-library/{p-cdc51108.entry.js.map → p-9b2e5033.entry.js.map} +0 -0
  822. /package/dist/web-components-library/{p-6e1ba2f0.entry.js.map → p-aaab7f44.entry.js.map} +0 -0
  823. /package/dist/web-components-library/{p-a4ddeb5f.entry.js.map → p-abc08ea3.entry.js.map} +0 -0
  824. /package/dist/web-components-library/{p-475a2ba2.entry.js.map → p-abd3b914.entry.js.map} +0 -0
  825. /package/dist/web-components-library/{p-08d8f935.entry.js.map → p-acee5500.entry.js.map} +0 -0
  826. /package/dist/web-components-library/{p-f9fb6005.entry.js.map → p-ae1b5e23.entry.js.map} +0 -0
  827. /package/dist/web-components-library/{p-cc775eee.entry.js.map → p-b1cbb20d.entry.js.map} +0 -0
  828. /package/dist/web-components-library/{p-7091a1fc.entry.js.map → p-b94e0513.entry.js.map} +0 -0
  829. /package/dist/web-components-library/{p-a1b6184f.js.map → p-bc408f39.js.map} +0 -0
  830. /package/dist/web-components-library/{p-b6de174b.entry.js.map → p-bc57b3c3.entry.js.map} +0 -0
  831. /package/dist/web-components-library/{p-b38be247.entry.js.map → p-cfbef2c3.entry.js.map} +0 -0
  832. /package/dist/web-components-library/{p-bd5b0bce.entry.js.map → p-d8d7db0e.entry.js.map} +0 -0
  833. /package/dist/web-components-library/{p-30170218.entry.js.map → p-d9fdc804.entry.js.map} +0 -0
  834. /package/dist/web-components-library/{p-8e6760d9.entry.js.map → p-df97df54.entry.js.map} +0 -0
  835. /package/dist/web-components-library/{p-e087f05f.js.map → p-f3145212.js.map} +0 -0
  836. /package/dist/web-components-library/{p-4c462e7f.js.map → p-f7f2beae.js.map} +0 -0
  837. /package/dist/web-components-library/{p-b539c9be.entry.js.map → p-f8d49a59.entry.js.map} +0 -0
  838. /package/www/build/{p-b22d3c7d.js.map → p-00e88046.js.map} +0 -0
  839. /package/www/build/{p-7ef2c4ce.entry.js.map → p-0bf8d989.entry.js.map} +0 -0
  840. /package/www/build/{p-7b375bca.js.map → p-0cb113f9.js.map} +0 -0
  841. /package/www/build/{p-c3c99202.js.map → p-0d9f1574.js.map} +0 -0
  842. /package/www/build/{p-fca17517.entry.js.map → p-121f2960.entry.js.map} +0 -0
  843. /package/www/build/{p-c13ef624.js.map → p-1bbf185c.js.map} +0 -0
  844. /package/www/build/{p-7f0cbe57.entry.js.map → p-1c51153b.entry.js.map} +0 -0
  845. /package/www/build/{p-5b6dd467.entry.js.map → p-1cbc1b08.entry.js.map} +0 -0
  846. /package/www/build/{p-c7f8b628.entry.js.map → p-1e25d225.entry.js.map} +0 -0
  847. /package/www/build/{p-ad74941b.entry.js.map → p-25be56d1.entry.js.map} +0 -0
  848. /package/www/build/{p-7779ebce.entry.js.map → p-28c972c6.entry.js.map} +0 -0
  849. /package/www/build/{p-31c5b39d.entry.js.map → p-37a34984.entry.js.map} +0 -0
  850. /package/www/build/{p-195c19a5.entry.js.map → p-390bbfd4.entry.js.map} +0 -0
  851. /package/www/build/{p-0fce007b.entry.js.map → p-3a42612f.entry.js.map} +0 -0
  852. /package/www/build/{p-4f33d4f4.entry.js.map → p-3d8cdd34.entry.js.map} +0 -0
  853. /package/www/build/{p-feb84d36.js.map → p-431f5871.js.map} +0 -0
  854. /package/www/build/{p-6230c432.entry.js.map → p-4de706ad.entry.js.map} +0 -0
  855. /package/www/build/{p-f49171aa.entry.js.map → p-53a2995c.entry.js.map} +0 -0
  856. /package/www/build/{p-22d56699.entry.js.map → p-55fad9b1.entry.js.map} +0 -0
  857. /package/www/build/{p-c7df6a63.entry.js.map → p-5a24e268.entry.js.map} +0 -0
  858. /package/www/build/{p-0a149188.entry.js.map → p-5d7bbd82.entry.js.map} +0 -0
  859. /package/www/build/{p-42559870.entry.js.map → p-5ed87dec.entry.js.map} +0 -0
  860. /package/www/build/{p-2aeb2a94.entry.js.map → p-61a83529.entry.js.map} +0 -0
  861. /package/www/build/{p-9187ce36.entry.js.map → p-6655e19b.entry.js.map} +0 -0
  862. /package/www/build/{p-bbdb67db.entry.js.map → p-7314c74b.entry.js.map} +0 -0
  863. /package/www/build/{p-cb8aec27.entry.js.map → p-7ce5ca87.entry.js.map} +0 -0
  864. /package/www/build/{p-6f5f2d56.entry.js.map → p-7d2ecca2.entry.js.map} +0 -0
  865. /package/www/build/{p-c2af9a71.entry.js.map → p-816fd6dc.entry.js.map} +0 -0
  866. /package/www/build/{p-2dcf53b3.entry.js.map → p-8c5dcab3.entry.js.map} +0 -0
  867. /package/www/build/{p-96be6eae.entry.js.map → p-99a6c92f.entry.js.map} +0 -0
  868. /package/www/build/{p-cdc51108.entry.js.map → p-9b2e5033.entry.js.map} +0 -0
  869. /package/www/build/{p-6e1ba2f0.entry.js.map → p-aaab7f44.entry.js.map} +0 -0
  870. /package/www/build/{p-a4ddeb5f.entry.js.map → p-abc08ea3.entry.js.map} +0 -0
  871. /package/www/build/{p-475a2ba2.entry.js.map → p-abd3b914.entry.js.map} +0 -0
  872. /package/www/build/{p-08d8f935.entry.js.map → p-acee5500.entry.js.map} +0 -0
  873. /package/www/build/{p-f9fb6005.entry.js.map → p-ae1b5e23.entry.js.map} +0 -0
  874. /package/www/build/{p-cc775eee.entry.js.map → p-b1cbb20d.entry.js.map} +0 -0
  875. /package/www/build/{p-7091a1fc.entry.js.map → p-b94e0513.entry.js.map} +0 -0
  876. /package/www/build/{p-a1b6184f.js.map → p-bc408f39.js.map} +0 -0
  877. /package/www/build/{p-b6de174b.entry.js.map → p-bc57b3c3.entry.js.map} +0 -0
  878. /package/www/build/{p-b38be247.entry.js.map → p-cfbef2c3.entry.js.map} +0 -0
  879. /package/www/build/{p-bd5b0bce.entry.js.map → p-d8d7db0e.entry.js.map} +0 -0
  880. /package/www/build/{p-30170218.entry.js.map → p-d9fdc804.entry.js.map} +0 -0
  881. /package/www/build/{p-8e6760d9.entry.js.map → p-df97df54.entry.js.map} +0 -0
  882. /package/www/build/{p-e087f05f.js.map → p-f3145212.js.map} +0 -0
  883. /package/www/build/{p-4c462e7f.js.map → p-f7f2beae.js.map} +0 -0
  884. /package/www/build/{p-b539c9be.entry.js.map → p-f8d49a59.entry.js.map} +0 -0
@@ -1,5 +1,7 @@
1
1
  :host {
2
2
  display: block;
3
+ color: var(--color-form-default-text);
4
+ fill: var(--color-form-default-icon);
3
5
  font-family: var(--font-family-sans);
4
6
  }
5
7
 
@@ -15,7 +17,7 @@
15
17
  align-items: center;
16
18
  justify-content: space-between;
17
19
  padding: 0 calc(var(--space-unit) * 1.5);
18
- border: var(--border-size-small) solid var(--color-surface04);
20
+ border: var(--border-size-small) solid var(--color-form-surface04);
19
21
  margin: 0;
20
22
  background-color: var(--color-form-background);
21
23
  border-radius: var(--border-radius-small);
@@ -37,7 +39,7 @@
37
39
  }
38
40
 
39
41
  :host > div > .header:hover {
40
- outline: var(--border-size-medium) solid var(--color-surface04);
42
+ outline: var(--border-size-medium) solid var(--color-form-surface04);
41
43
  outline-offset: -2px;
42
44
  }
43
45
 
@@ -50,7 +52,6 @@
50
52
  :host > div > .header > p.body-3 {
51
53
  padding: var(--space-unit) 0;
52
54
  margin: 0;
53
- color: var(--color-default-text);
54
55
  }
55
56
 
56
57
  :host > div > .header > p.body-3 > span {
@@ -58,7 +59,7 @@
58
59
  }
59
60
 
60
61
  :host > div > .header > z-icon {
61
- fill: var(--color-default-icon);
62
+ fill: var(--color-form-default-icon);
62
63
  transform: rotate(360deg);
63
64
  transition: all 200ms linear;
64
65
  }
@@ -70,7 +71,7 @@
70
71
  }
71
72
 
72
73
  :host > div.open > .header {
73
- border: var(--border-size-small) solid var(--color-primary01);
74
+ border: var(--border-size-small) solid var(--color-form-active-primary);
74
75
  border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
75
76
  }
76
77
 
@@ -79,20 +80,20 @@
79
80
  }
80
81
 
81
82
  :host > div.disabled .header {
82
- border-color: var(--color-disabled01);
83
- fill: var(--color-disabled01);
83
+ border-color: var(--color-form-disabled03);
84
+ fill: var(--color-form-disabled01-icon);
84
85
  }
85
86
 
86
87
  :host > div.disabled .header > p.body-3 {
87
- color: var(--color-disabled03);
88
+ color: var(--color-form-disabled03);
88
89
  }
89
90
 
90
91
  :host > div.disabled .header > z-icon:last-child {
91
- fill: var(--color-disabled01);
92
+ fill: var(--color-form-disabled01-icon);
92
93
  }
93
94
 
94
95
  :host > div.open > .header > z-icon {
95
- fill: var(--color-default-icon);
96
+ fill: var(--color-form-default-icon);
96
97
  transform: rotate(180deg);
97
98
  transition: all 200ms linear;
98
99
  }
@@ -101,10 +102,15 @@
101
102
  position: relative;
102
103
  z-index: 12;
103
104
  padding: var(--space-unit) calc(var(--space-unit) * 2);
104
- border: var(--border-size-small) solid var(--gray200);
105
+ border: var(--border-size-small) solid var(--color-form-surface03);
105
106
  border-top: 0;
106
107
  background-color: var(--color-form-background);
107
108
  border-radius: 0;
109
+ box-shadow: var(--shadow-2);
110
+ }
111
+
112
+ :host .open .open-combo-data z-input .input-label {
113
+ color: var(--color-form-default-text);
108
114
  }
109
115
 
110
116
  :host > div.open > div.open-combo-data > div > div {
@@ -124,6 +130,12 @@
124
130
  margin: 0;
125
131
  }
126
132
 
133
+ :host .open-combo-data z-list-element {
134
+ --background-color-list-element: var(--color-form-background);
135
+ --background-hover-color-list-element: var(--color-form-surface03);
136
+ --background-active-color-list-element: var(--color-form-surface03);
137
+ }
138
+
127
139
  ::-webkit-scrollbar {
128
140
  width: 6px;
129
141
  background: linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px);
@@ -149,14 +161,13 @@
149
161
  z-index: 1;
150
162
  width: 238px;
151
163
  margin: 0 calc(var(--space-unit) * 2);
152
- color: var(--color-primary01);
164
+ color: var(--color-form-active-primary);
153
165
  }
154
166
 
155
167
  :host > div.open > div.open-combo-data > div > div.search {
156
168
  overflow: hidden;
157
- max-height: auto;
169
+ max-height: none;
158
170
  margin-top: 0;
159
- box-shadow: 1px 1px 4px 2px rgb(217 222 227 / 50%);
160
171
  }
161
172
 
162
173
  :host > div.open > div.open-combo-data > div > div.search > ul {
@@ -165,15 +176,21 @@
165
176
  padding: var(--space-unit) calc(var(--space-unit) * 2);
166
177
  }
167
178
 
168
- :host > div.open > div.open-combo-data > div > div.search > div {
179
+ :host .open .open-combo-data .search .no-results {
180
+ display: flex;
181
+ align-items: center;
182
+ column-gap: var(--space-unit);
183
+ }
184
+
185
+ :host > .open > .open-combo-data .search .close-search {
169
186
  display: flex;
170
187
  justify-content: center;
171
188
  }
172
189
 
173
- :host > div.open > div.open-combo-data > div > div.search > div > a {
190
+ :host > div.open > div.open-combo-data > div > div.search .close-search > a {
174
191
  display: inline-block;
175
192
  height: 44px;
176
- color: var(--color-primary01);
193
+ color: var(--color-form-active-primary);
177
194
  cursor: pointer;
178
195
  font-size: 14px;
179
196
  font-weight: var(--font-sb);
@@ -182,7 +199,7 @@
182
199
  text-transform: uppercase;
183
200
  }
184
201
 
185
- :host > div.open > div.open-combo-data > div > div.search > div > a:focus:focus-visible {
202
+ :host > div.open > div.open-combo-data > div > div.search .close-search > a:focus:focus-visible {
186
203
  box-shadow: var(--shadow-focus-primary);
187
204
  outline: none;
188
205
  }
@@ -35,9 +35,9 @@ export class ZCoverHero {
35
35
  return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: '15c2c9a401700c3503e74f74637c2cbf3b474805' }, this.variant === CoverHeroVariant.STACKED &&
38
+ return (h(Host, { key: '11ffb259d4b5a22dae6b1a801ca6c89a72c4cc6d' }, this.variant === CoverHeroVariant.STACKED &&
39
39
  this.contentPosition === CoverHeroContentPosition.TOP &&
40
- this.renderContent(), h("div", { key: '269c88ee41679ea7730c202f4ca927a1868c5506', class: "main-container" }, h("div", { key: '67b039d0ba87fdb8a3520035104d9c6263ca5dc1', class: "cover-container" }, h("slot", { key: '3c330cafa143f57e9b4d6615d966c4d62cedd9c8', name: "cover" })), h("slot", { key: 'c092503e4d24f52535182e570edb67428d7a8aa9', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
40
+ this.renderContent(), h("div", { key: 'b2e67125f868a827f09169ded6a0389de343f81a', class: "main-container" }, h("div", { key: '95d9a59c065594d013bf50da27ae9925af56cc58', class: "cover-container" }, h("slot", { key: 'eb9e31c65be9bc2f7b74a5c526d1fb606de2fd49', name: "cover" })), h("slot", { key: '58e2b737f877c61bd86c26b28e1e5f03ddea0d17', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
41
41
  this.contentPosition === CoverHeroContentPosition.BOTTOM &&
42
42
  this.renderContent()));
43
43
  }
@@ -7,7 +7,7 @@ export class ZDivider {
7
7
  this.orientation = DividerOrientation.HORIZONTAL;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '78cfa2818529a8e9b9895a0a3d98df31850534dd', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
10
+ return (h(Host, { key: '436edbe3dc08f9a9b103838920c4bd0186fd48b7', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
11
11
  }
12
12
  static get is() { return "z-divider"; }
13
13
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class ZGhostLoading {
3
3
  render() {
4
- return h(Host, { key: '8824327c1d3ba1c9b13dfdfd605c58dd7cd71b55' });
4
+ return h(Host, { key: '3bb2943f271b8c4ba5ac15a19c49d25ff1431611' });
5
5
  }
6
6
  static get is() { return "z-ghost-loading"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -3,7 +3,7 @@
3
3
  overflow: hidden;
4
4
  width: 100%;
5
5
  height: 100%;
6
- background: var(--color-background);
6
+ background: var(--color-surface02);
7
7
  border-radius: var(--border-radius);
8
8
  transform: translate3d(0, 0, 0);
9
9
  }
@@ -15,9 +15,9 @@
15
15
  animation: progress 1.6s ease-in-out infinite;
16
16
  background-image: linear-gradient(
17
17
  90deg,
18
- var(--color-background) 0%,
18
+ var(--color-surface02) 0%,
19
19
  var(--color-surface03) 95%,
20
- var(--color-background) 100%
20
+ var(--color-surface02) 100%
21
21
  );
22
22
  content: "";
23
23
  filter: blur(6px);
@@ -15,7 +15,7 @@ export class ZIcon {
15
15
  return h("polygon", { points: ICONS[this.name] });
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'a87a4f2ec632fbdbb7a6b4bfacee294f53eb0991', "aria-hidden": "true" }, h("svg", { key: '2c0453105f9f3493a86f49e8425d2e885d2f3d09', viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(ICONS[this.name]))));
18
+ return (h(Host, { key: 'fdf876a0af1632805ab24af1c593ef5bff78271a', "aria-hidden": "true" }, h("svg", { key: 'fc339ba7c96345b920c370f8476be850332c3eed', viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(ICONS[this.name]))));
19
19
  }
20
20
  static get is() { return "z-icon"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ export class ZInfoBox {
11
11
  this.infoBoxClose.emit({ boxid: this.boxid });
12
12
  }
13
13
  render() {
14
- return (h("div", { key: 'bff4d7fdd01fae2697f23b03515d9cb93a53127d', id: this.boxid }, h("slot", { key: 'a2d80c39c0cc7c115974a4d5da52c2189ab830c9', name: "content" }), this.isclosable && (h("z-icon", { key: '555579d0bf7c1e654055fe4c552c4e89af0fb513', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
14
+ return (h("div", { key: '7a806511823b922e582c3483a3dc65390be55ae5', id: this.boxid }, h("slot", { key: '28e118a66bccb3ed840144b8c79d8fe438ab9674', name: "content" }), this.isclosable && (h("z-icon", { key: '6b679334c2bd8ed64a3227129d44e2ea75170fe6', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
15
15
  }
16
16
  static get is() { return "z-info-box"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -47,7 +47,7 @@ export class ZInfoReveal {
47
47
  }
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: '7098ea723139c78a7ecca1bbc924d5e17925bdc5', open: this.open }, h("button", { key: '8f798611b1069939b18ab3bdc9c197bec5fc6d20', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && h("z-icon", { key: '2db6409fe7db09738f83135e58300c235ce988db', name: this.icon }), this.label && h("span", { key: '71ca110cd12256dcfe5e7b37026537fb5ea324b8', class: "z-info-reveal-label" }, this.label)), h("div", { key: '1385b98d28160c1e5578d47f63ba37f26e63eeb8', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, h("slot", { key: 'dbbcff160f1dceaa336362f5a43436d57f357e01' }), h("button", { key: 'e6f4778d55de1de95fa3d509ed01c3b555ff225b', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, h("z-icon", { key: '51b13036bb93efce68db3f0cbf5d9f718ddcb266', name: "multiply" })))));
50
+ return (h(Host, { key: '8e5a375431679fcf9219cbde4270e9fcab1df7c8', open: this.open }, h("button", { key: '97d2fd4aac009ea0616f720dca6ad728620f7186', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && h("z-icon", { key: 'fbd4e69149dd005940be5349fc1d2041c661638f', name: this.icon }), this.label && h("span", { key: 'df8beb235d6828aeb4ab79536f448d7c40f3932f', class: "z-info-reveal-label" }, this.label)), h("div", { key: '6f62c1a2ca907b29db9e0ac378c81683ae6be0d6', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, h("slot", { key: 'fc2924de0815a8d99f21b009a9aae2ae714494cc' }), h("button", { key: '04f599f951cae4d1f94d510b5233a58e9719846b', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, h("z-icon", { key: 'bd9890b640631d7d0dfa64b0bdc84a06dbdb21d6', name: "multiply" })))));
51
51
  }
52
52
  static get is() { return "z-info-reveal"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -259,7 +259,7 @@ export class ZInput {
259
259
  default:
260
260
  input = this.renderInputText(this.type);
261
261
  }
262
- return h(Host, { key: 'ce90d7c19683895511fdaede4e4d6e49505b30a5' }, input);
262
+ return h(Host, { key: 'c12976593b469cc583a73265519866c8a75c7a03' }, input);
263
263
  }
264
264
  static get is() { return "z-input"; }
265
265
  static get encapsulation() { return "scoped"; }
@@ -267,6 +267,9 @@ label.input-label {
267
267
  width: 100%;
268
268
  height: 100%;
269
269
  padding: calc(var(--space-unit) * 1.5);
270
+ }
271
+
272
+ .textarea-wrapper:not(.input-error, .input-success, .input-warning) {
270
273
  background-color: var(--color-form-background);
271
274
  }
272
275
 
@@ -286,15 +289,15 @@ textarea {
286
289
  display: inline-flex;
287
290
  flex-direction: row;
288
291
  align-items: center;
289
- color: var(--color-form-default-text);
290
- fill: var(--color-form-active-primary);
292
+ color: var(--color-default-text);
293
+ fill: var(--color-primary01);
291
294
  font-family: var(--font-family-sans);
292
295
  }
293
296
 
294
297
  .radio-wrapper:hover,
295
298
  .checkbox-wrapper:hover {
296
- color: var(--color-form-hover-primary);
297
- fill: currentcolor;
299
+ color: var(--color-hover-primary);
300
+ fill: var(--color-hover-primary-icon);
298
301
  }
299
302
 
300
303
  .radio-wrapper > input,
@@ -402,12 +405,12 @@ textarea {
402
405
  /* disabled */
403
406
  .radio-wrapper > input:disabled + .radio-label,
404
407
  .checkbox-wrapper > input:disabled + .checkbox-label {
405
- color: var(--color-form-disabled-text);
408
+ color: var(--color-disabled03);
406
409
  }
407
410
 
408
411
  .radio-wrapper > input:disabled + .radio-label > z-icon,
409
412
  .checkbox-wrapper > input:disabled + .checkbox-label > z-icon {
410
413
  cursor: default;
411
- fill: var(--color-form-disabled01-icon);
414
+ fill: var(--color-disabled01);
412
415
  }
413
416
 
@@ -18,7 +18,7 @@ export class ZInputMessage {
18
18
  this.onMessageChange();
19
19
  }
20
20
  render() {
21
- return (h(Host, Object.assign({ key: 'f7d15c2c744fbc9f7822a57245d552980e7f36b2' }, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { key: '1124a2604c6def360993c6a83ce90d5a950e9f7c', name: this.statusIcons[this.status] }), h("span", { key: 'a5186a1bf672e27ef9d85fd47b7f73b71e8f0998', innerHTML: this.message })));
21
+ return (h(Host, Object.assign({ key: 'f9b9c27362dadbbb1641b659e5f1e5cb5877dcbd' }, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { key: 'ca06d2a52de026b1828860b3ef4718c10a9752cd', name: this.statusIcons[this.status] }), h("span", { key: '53a1e7e17e09b55e0d7a881ba33961140eb92db2', innerHTML: this.message })));
22
22
  }
23
23
  static get is() { return "z-input-message"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  :host([status="success"]) {
20
- color: var(--color-success01);
20
+ color: var(--color-hover-success);
21
21
  }
22
22
 
23
23
  :host([status="error"]) {
@@ -16,7 +16,7 @@ export class ZLogo {
16
16
  if (this.height) {
17
17
  style["height"] = style["max-height"] = `${this.height}px`;
18
18
  }
19
- return (h(Host, { key: '43def5f659303a7fa03bdf8a48bf03dacc379dde', style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt }))) : (h("img", { alt: this.imageAlt }))));
19
+ return (h(Host, { key: '9aed92865ad9a66ad0b2996afe6ca52c61df37c1', style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt }))) : (h("img", { alt: this.imageAlt }))));
20
20
  }
21
21
  static get is() { return "z-logo"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -171,7 +171,7 @@ export class ZMenuSection {
171
171
  this.onItemsChange();
172
172
  }
173
173
  render() {
174
- return (h(Host, { key: 'ca61d9daac35484cf3fa3a7ab4d6b5700dade8b0', open: this.open }, h("button", { key: 'd2750e008a22b0de43075ed947d1b9e0f6917bd5', ref: (el) => (this.label = el), class: "label", "aria-haspopup": `${!!this.hasItems}`, "aria-expanded": `${!!this.open}`, role: "menuitem", tabindex: this.htmlTabindex, onClick: this.onLabelClick, onKeyDown: this.onLabelKeydown }, h("slot", { key: 'be5dad19dd6fece321bb68ff89e17372f4353539', onSlotchange: this.onLabelSlotChange }), this.hasItems && h("z-icon", { key: '7c6fecfd96a4391394b17f3eea38aa7f29786a18', name: this.open ? "chevron-up" : "chevron-down" })), h("div", { key: '87512635c2b4377a6c304cc0bb1345131997e5f4', class: "items", role: "menu", hidden: !this.open }, h("slot", { key: 'b2dfb0d5a94adb555fb08c7592d5c58feb3c6c5f', name: "section", onSlotchange: this.onItemsChange }))));
174
+ return (h(Host, { key: 'afebd732b174678d4768c47d64f353e1642ca893', open: this.open }, h("button", { key: '9dbc8821467edff6d455f1858e117f1f63e8bf78', ref: (el) => (this.label = el), class: "label", "aria-haspopup": `${!!this.hasItems}`, "aria-expanded": `${!!this.open}`, role: "menuitem", tabindex: this.htmlTabindex, onClick: this.onLabelClick, onKeyDown: this.onLabelKeydown }, h("slot", { key: '18de192f07c716364daef6837e616a674cd62d84', onSlotchange: this.onLabelSlotChange }), this.hasItems && h("z-icon", { key: '157b9e12cdfca3695c297b3a9a94eb908fb7edb9', name: this.open ? "chevron-up" : "chevron-down" })), h("div", { key: '1f48178a296e0e85e5b288d7c205bbe4bf16e1d9', class: "items", role: "menu", hidden: !this.open }, h("slot", { key: 'e3807411b3f9fd40ec627b93a09b8237aa1e89e7', name: "section", onSlotchange: this.onItemsChange }))));
175
175
  }
176
176
  static get is() { return "z-menu-section"; }
177
177
  static get encapsulation() { return "shadow"; }
@@ -3,9 +3,9 @@ import dialogPolyfill from "dialog-polyfill";
3
3
  import { KeyboardCode } from "../../beans";
4
4
  const FOCUSABLE_ELEMENTS_SELECTOR = ':is(button, input, select, textarea, [contenteditable=""], [contenteditable="true"], a[href], [tabindex], summary):not([disabled], [disabled=""], [tabindex="-1"], [aria-hidden="true"], [hidden])';
5
5
  /**
6
- * @slot modalCloseButton - accept custom close button
7
- * @slot modalContent - set the content of the modal
8
- * @cssprop --z-modal-content-padding - set a default padding for the modal content slot to 16px
6
+ * @slot modalCloseButton - slot for custom close button
7
+ * @slot modalContent - slot for the content of the modal
8
+ * @cssprop --z-modal-content-padding - padding of the modal's content. The default is 16px (--space-unit * 2)
9
9
  */
10
10
  export class ZModal {
11
11
  constructor() {
@@ -123,16 +123,16 @@ export class ZModal {
123
123
  e.preventDefault();
124
124
  }
125
125
  render() {
126
- return (h("dialog", { key: '6d39a869df5f764f69a60725dd89b61e1b1b8361', class: {
126
+ return (h("dialog", { key: '891584aa046910f9a46a48c4798b4b9d8b108a8a', class: {
127
127
  "modal-dialog": !this.scrollInside,
128
- }, "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose(), onCancel: (e) => this.handleEscape(e) }, h("div", { key: '9a0929dde5e50c1772999f37b76b070b4f1b24cb', class: {
128
+ }, "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose(), onCancel: (e) => this.handleEscape(e) }, h("div", { key: 'cef8896c3e959b3b1e9b7569c402d004f8d31179', class: {
129
129
  "modal-container": true,
130
130
  "modal-container-scroll-inside": this.scrollInside,
131
131
  "modal-container-scroll-outside": !this.scrollInside,
132
- }, id: this.modalid }, h("header", { key: '197801b3e4f5db9098a2dc1e33779471967b8754', onClick: this.emitModalHeaderActive.bind(this) }, h("div", { key: '1a1e5064c7f2d405d985c3bb5006a6b71c6072eb' }, this.modaltitle && h("h1", { key: 'b12b4744ec323e97b895363d0cfb157caf9a756f', id: "modal-title" }, this.modaltitle), this.closeButtonSlot()), this.modalsubtitle && (h("div", { key: '84819710234b67a134ac05a5530afcaee69a0b5d', class: "subtitle", id: "modal-subtitle" }, this.modalsubtitle))), h("div", { key: 'bf183060038a660d33c604eaf424fbf61a6e4da0', class: {
132
+ }, id: this.modalid }, h("header", { key: '7029c9cc01133c42aab53cd22d6f2d55fec0385c', onClick: this.emitModalHeaderActive.bind(this) }, h("div", { key: '526364617b04825b22a237e8d3610f86861fb060' }, this.modaltitle && h("h1", { key: 'dd5b71fe7592198edad53af5af35da0b38d0e031', id: "modal-title" }, this.modaltitle), this.closeButtonSlot()), this.modalsubtitle && (h("div", { key: '62dbd9bd2d2b9fed310a27d9afaac145d83214de', class: "subtitle", id: "modal-subtitle" }, this.modalsubtitle))), h("div", { key: 'd75082bdc2272154551ad37bf6b83604e0935ec0', class: {
133
133
  "modal-content-scroll-inside": this.scrollInside,
134
134
  "modal-content-scroll-outside": !this.scrollInside,
135
- }, id: "modal-content" }, h("slot", { key: 'f97b64d1237225818d8092ad052964b93a265230', name: "modalContent" }))), h("div", { key: '485ef00695e5789c25c91c557dd77a567b219f36', class: {
135
+ }, id: "modal-content" }, h("slot", { key: 'ffcb2de26ee419117b3e97fc8d7d7a88b404aa05', name: "modalContent" }))), h("div", { key: '5ad1f027a8b96c297db7293be3235a456e4bd70a', class: {
136
136
  "modal-background": true,
137
137
  "modal-background-scroll-outside": !this.scrollInside,
138
138
  }, "data-action": "modalBackground", "data-modal": this.modalid, onClick: () => {
@@ -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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AAI,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 - 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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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;AA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AAC,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;QACp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/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 {