@zanichelli/albe-web-components 2.47.3 → 3.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 (274) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/cjs/{index-d326c919.js → index-b1289f95.js} +19 -8
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{utils-cd6b9038.js → utils-33df2456.js} +2 -3
  6. package/dist/cjs/web-components-library.cjs.js +1 -1
  7. package/dist/cjs/{z-app-switcher_11.cjs.entry.js → z-app-switcher_12.cjs.entry.js} +43 -7
  8. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/z-button-filter_5.cjs.entry.js +2 -2
  11. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  12. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  13. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  14. package/dist/cjs/z-cookiebar.cjs.entry.js +4 -4
  15. package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
  16. package/dist/cjs/z-file-upload.cjs.entry.js +16 -13
  17. package/dist/cjs/z-file.cjs.entry.js +1 -1
  18. package/dist/cjs/z-footer.cjs.entry.js +13 -8
  19. package/dist/cjs/z-list_3.cjs.entry.js +1 -1
  20. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
  21. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  22. package/dist/cjs/z-modal-login.cjs.entry.js +6 -5
  23. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  24. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
  25. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  26. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  27. package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
  28. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  29. package/dist/cjs/z-myz-topbar.cjs.entry.js +3 -3
  30. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +13 -12
  31. package/dist/cjs/z-navigation-tab.cjs.entry.js +13 -12
  32. package/dist/cjs/z-navigation-tabs.cjs.entry.js +6 -9
  33. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  34. package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
  35. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  36. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  37. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  38. package/dist/cjs/z-skip-to-content.cjs.entry.js +68 -0
  39. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  40. package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
  41. package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
  42. package/dist/cjs/z-table-header.cjs.entry.js +3 -3
  43. package/dist/cjs/z-table-row.cjs.entry.js +1 -1
  44. package/dist/cjs/z-table.cjs.entry.js +3 -3
  45. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  46. package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
  47. package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
  48. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  49. package/dist/collection/beans/index.js +19 -8
  50. package/dist/collection/collection-manifest.json +2 -0
  51. package/dist/collection/components/buttons/z-button/index.js +72 -52
  52. package/dist/collection/components/buttons/z-button/styles.css +32 -111
  53. package/dist/collection/components/file-upload/z-file-upload/index.js +13 -10
  54. package/dist/collection/components/file-upload/z-file-upload/styles.css +2 -2
  55. package/dist/collection/components/footer/z-footer/index.js +19 -14
  56. package/dist/collection/components/footer/z-footer/styles.css +2 -2
  57. package/dist/collection/components/modal/z-modal-login/index.js +5 -4
  58. package/dist/collection/components/modal/z-modal-login/styles.css +8 -8
  59. package/dist/collection/components/navigation/tabs/navigation-tab.css +49 -31
  60. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +14 -21
  61. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +14 -21
  62. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +4 -7
  63. package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +6 -20
  64. package/dist/collection/components/notification/z-cookiebar/index.js +2 -2
  65. package/dist/collection/components/notification/z-cookiebar/styles.css +3 -3
  66. package/dist/collection/components/notification/z-toast-notification/styles.css +4 -2
  67. package/dist/collection/components/z-skip-to-content/index.js +131 -0
  68. package/dist/collection/components/z-skip-to-content/styles.css +84 -0
  69. package/dist/collection/components/z-table/z-table/index.js +4 -4
  70. package/dist/collection/components/z-table/z-table-cell/index.js +1 -1
  71. package/dist/collection/components/z-table/z-table-header/index.js +1 -1
  72. package/dist/collection/deprecated/z-button-deprecated/index.js +218 -0
  73. package/dist/collection/deprecated/z-button-deprecated/styles.css +231 -0
  74. package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +5 -1
  75. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  76. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +5 -1
  77. package/dist/collection/snowflakes/myz/topbar/index.js +1 -1
  78. package/dist/collection/snowflakes/myz/topbar/styles.css +8 -8
  79. package/dist/collection/utils/utils.js +2 -3
  80. package/dist/esm/{index-96aade4f.js → index-7424c64c.js} +20 -9
  81. package/dist/esm/index.js +2 -2
  82. package/dist/esm/loader.js +1 -1
  83. package/dist/esm/{utils-d06fbb4a.js → utils-93d2b922.js} +3 -4
  84. package/dist/esm/web-components-library.js +1 -1
  85. package/dist/esm/{z-app-switcher_11.entry.js → z-app-switcher_12.entry.js} +43 -8
  86. package/dist/esm/z-aria-alert.entry.js +1 -1
  87. package/dist/esm/z-avatar.entry.js +1 -1
  88. package/dist/esm/z-button-filter_5.entry.js +2 -2
  89. package/dist/esm/z-chip.entry.js +2 -2
  90. package/dist/esm/z-combobox.entry.js +2 -2
  91. package/dist/esm/z-contextual-menu.entry.js +1 -1
  92. package/dist/esm/z-cookiebar.entry.js +4 -4
  93. package/dist/esm/z-date-picker.entry.js +1 -1
  94. package/dist/esm/z-file-upload.entry.js +16 -13
  95. package/dist/esm/z-file.entry.js +1 -1
  96. package/dist/esm/z-footer.entry.js +13 -8
  97. package/dist/esm/z-list_3.entry.js +1 -1
  98. package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
  99. package/dist/esm/z-messages-pocket.entry.js +1 -1
  100. package/dist/esm/z-modal-login.entry.js +6 -5
  101. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  102. package/dist/esm/z-myz-card-dictionary.entry.js +3 -3
  103. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  104. package/dist/esm/z-myz-card-info.entry.js +2 -2
  105. package/dist/esm/z-myz-card_4.entry.js +2 -2
  106. package/dist/esm/z-myz-list-item.entry.js +2 -2
  107. package/dist/esm/z-myz-topbar.entry.js +3 -3
  108. package/dist/esm/z-navigation-tab-link.entry.js +14 -13
  109. package/dist/esm/z-navigation-tab.entry.js +14 -13
  110. package/dist/esm/z-navigation-tabs.entry.js +6 -9
  111. package/dist/esm/z-otp.entry.js +1 -1
  112. package/dist/esm/z-pagination-bar.entry.js +2 -2
  113. package/dist/esm/z-pocket_3.entry.js +2 -2
  114. package/dist/esm/z-popover.entry.js +2 -2
  115. package/dist/esm/z-section-title.entry.js +1 -1
  116. package/dist/esm/z-skip-to-content.entry.js +64 -0
  117. package/dist/esm/z-slideshow.entry.js +2 -2
  118. package/dist/esm/z-status-tag.entry.js +1 -1
  119. package/dist/esm/z-table-cell.entry.js +2 -2
  120. package/dist/esm/z-table-header.entry.js +3 -3
  121. package/dist/esm/z-table-row.entry.js +1 -1
  122. package/dist/esm/z-table.entry.js +3 -3
  123. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  124. package/dist/esm/z-toast-notification.entry.js +2 -2
  125. package/dist/esm/z-toggle-switch.entry.js +2 -2
  126. package/dist/esm/z-tooltip.entry.js +1 -1
  127. package/dist/types/beans/index.d.ts +23 -8
  128. package/dist/types/components/buttons/z-button/index.d.ts +13 -7
  129. package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +8 -5
  130. package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +8 -5
  131. package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +2 -0
  132. package/dist/types/components/z-skip-to-content/index.d.ts +22 -0
  133. package/dist/types/components.d.ts +129 -7
  134. package/dist/types/deprecated/z-button-deprecated/index.d.ts +28 -0
  135. package/dist/web-components-library/index.esm.js +1 -1
  136. package/dist/web-components-library/{p-a184c4a4.entry.js → p-0398165f.entry.js} +1 -1
  137. package/dist/web-components-library/{p-aaee84f0.entry.js → p-03de95f1.entry.js} +1 -1
  138. package/dist/web-components-library/p-0b590426.entry.js +1 -0
  139. package/dist/web-components-library/{p-c7f70e76.entry.js → p-1b973c72.entry.js} +1 -1
  140. package/dist/web-components-library/{p-51870c65.entry.js → p-1eef76bb.entry.js} +1 -1
  141. package/dist/web-components-library/p-21b9a94f.entry.js +1 -0
  142. package/dist/web-components-library/{p-4434207b.entry.js → p-223bec2f.entry.js} +1 -1
  143. package/dist/web-components-library/p-2711bc32.entry.js +1 -0
  144. package/dist/web-components-library/p-2b8975b1.entry.js +1 -0
  145. package/dist/web-components-library/{p-059fc87d.entry.js → p-2c823f4c.entry.js} +1 -1
  146. package/dist/web-components-library/p-2e510e79.entry.js +1 -0
  147. package/dist/web-components-library/p-2ff952a3.entry.js +1 -0
  148. package/dist/web-components-library/{p-c9722a45.entry.js → p-3184d969.entry.js} +1 -1
  149. package/dist/web-components-library/p-393c31c0.entry.js +1 -0
  150. package/dist/web-components-library/{p-e559f4d3.entry.js → p-3dba3a83.entry.js} +1 -1
  151. package/dist/web-components-library/p-459dab30.entry.js +1 -0
  152. package/dist/web-components-library/{p-62a79ada.entry.js → p-4c282f06.entry.js} +1 -1
  153. package/dist/web-components-library/{p-67e56d43.entry.js → p-542b3702.entry.js} +1 -1
  154. package/dist/web-components-library/{p-e8df0a5e.entry.js → p-57270965.entry.js} +1 -1
  155. package/{www/build/p-5ad5d409.entry.js → dist/web-components-library/p-66fbe5b8.entry.js} +1 -1
  156. package/dist/web-components-library/p-709ab23c.entry.js +1 -0
  157. package/dist/web-components-library/p-70be81b6.entry.js +1 -0
  158. package/{www/build/p-f87cd1c6.entry.js → dist/web-components-library/p-7e71d9b0.entry.js} +1 -1
  159. package/dist/web-components-library/p-80369bb8.entry.js +1 -0
  160. package/dist/web-components-library/p-80a3e18a.js +1 -0
  161. package/dist/web-components-library/{p-dd928b6f.entry.js → p-895f636e.entry.js} +1 -1
  162. package/dist/web-components-library/p-8b62bd85.entry.js +1 -0
  163. package/dist/web-components-library/{p-66a027c2.entry.js → p-9721e132.entry.js} +1 -1
  164. package/dist/web-components-library/{p-211c8001.entry.js → p-9935973a.entry.js} +1 -1
  165. package/dist/web-components-library/p-a391566a.entry.js +1 -0
  166. package/dist/web-components-library/{p-9045dc92.entry.js → p-aae632ef.entry.js} +1 -1
  167. package/{www/build/p-b3059f74.entry.js → dist/web-components-library/p-adad78fc.entry.js} +1 -1
  168. package/dist/web-components-library/{p-62a7b6cb.entry.js → p-b0ea8c0e.entry.js} +1 -1
  169. package/dist/web-components-library/{p-c806d6e4.entry.js → p-c787ea21.entry.js} +1 -1
  170. package/dist/web-components-library/p-cadcf677.entry.js +1 -0
  171. package/dist/web-components-library/p-cce20009.entry.js +1 -0
  172. package/dist/web-components-library/p-cd2ca92b.entry.js +1 -0
  173. package/dist/web-components-library/p-da7760a3.entry.js +1 -0
  174. package/dist/web-components-library/p-dcf4d1b6.entry.js +1 -0
  175. package/dist/web-components-library/{p-4fa3a1f5.entry.js → p-dfc18671.entry.js} +1 -1
  176. package/{www/build/p-edc05acf.entry.js → dist/web-components-library/p-e4b4b2e4.entry.js} +1 -1
  177. package/dist/web-components-library/{p-9baa6b96.entry.js → p-e7aadd3d.entry.js} +1 -1
  178. package/dist/web-components-library/{p-422d2691.entry.js → p-e9b90127.entry.js} +1 -1
  179. package/dist/web-components-library/p-fea5b98f.js +1 -0
  180. package/dist/web-components-library/web-components-library.esm.js +1 -1
  181. package/package.json +1 -1
  182. package/react/components.d.ts +2 -0
  183. package/react/components.js +5 -2
  184. package/react/components.js.map +1 -1
  185. package/www/build/index.esm.js +1 -1
  186. package/www/build/{p-a184c4a4.entry.js → p-0398165f.entry.js} +1 -1
  187. package/www/build/{p-aaee84f0.entry.js → p-03de95f1.entry.js} +1 -1
  188. package/www/build/p-0b590426.entry.js +1 -0
  189. package/www/build/{p-c7f70e76.entry.js → p-1b973c72.entry.js} +1 -1
  190. package/www/build/{p-51870c65.entry.js → p-1eef76bb.entry.js} +1 -1
  191. package/www/build/p-21b9a94f.entry.js +1 -0
  192. package/www/build/{p-4434207b.entry.js → p-223bec2f.entry.js} +1 -1
  193. package/www/build/p-2711bc32.entry.js +1 -0
  194. package/www/build/p-2b8975b1.entry.js +1 -0
  195. package/www/build/{p-059fc87d.entry.js → p-2c823f4c.entry.js} +1 -1
  196. package/www/build/p-2e24f261.js +129 -0
  197. package/www/build/p-2e510e79.entry.js +1 -0
  198. package/www/build/p-2ff952a3.entry.js +1 -0
  199. package/www/build/{p-c9722a45.entry.js → p-3184d969.entry.js} +1 -1
  200. package/www/build/p-393c31c0.entry.js +1 -0
  201. package/www/build/{p-e559f4d3.entry.js → p-3dba3a83.entry.js} +1 -1
  202. package/www/build/p-459dab30.entry.js +1 -0
  203. package/www/build/{p-62a79ada.entry.js → p-4c282f06.entry.js} +1 -1
  204. package/www/build/{p-67e56d43.entry.js → p-542b3702.entry.js} +1 -1
  205. package/www/build/{p-e8df0a5e.entry.js → p-57270965.entry.js} +1 -1
  206. package/{dist/web-components-library/p-5ad5d409.entry.js → www/build/p-66fbe5b8.entry.js} +1 -1
  207. package/www/build/p-709ab23c.entry.js +1 -0
  208. package/www/build/p-70be81b6.entry.js +1 -0
  209. package/{dist/web-components-library/p-f87cd1c6.entry.js → www/build/p-7e71d9b0.entry.js} +1 -1
  210. package/www/build/p-80369bb8.entry.js +1 -0
  211. package/www/build/p-80a3e18a.js +1 -0
  212. package/www/build/{p-dd928b6f.entry.js → p-895f636e.entry.js} +1 -1
  213. package/www/build/p-8b62bd85.entry.js +1 -0
  214. package/www/build/{p-66a027c2.entry.js → p-9721e132.entry.js} +1 -1
  215. package/www/build/{p-211c8001.entry.js → p-9935973a.entry.js} +1 -1
  216. package/www/build/p-a391566a.entry.js +1 -0
  217. package/www/build/{p-9045dc92.entry.js → p-aae632ef.entry.js} +1 -1
  218. package/{dist/web-components-library/p-b3059f74.entry.js → www/build/p-adad78fc.entry.js} +1 -1
  219. package/www/build/{p-62a7b6cb.entry.js → p-b0ea8c0e.entry.js} +1 -1
  220. package/www/build/{p-c806d6e4.entry.js → p-c787ea21.entry.js} +1 -1
  221. package/www/build/p-cadcf677.entry.js +1 -0
  222. package/www/build/p-cce20009.entry.js +1 -0
  223. package/www/build/p-cd2ca92b.entry.js +1 -0
  224. package/www/build/p-da7760a3.entry.js +1 -0
  225. package/www/build/p-dcf4d1b6.entry.js +1 -0
  226. package/www/build/{p-4fa3a1f5.entry.js → p-dfc18671.entry.js} +1 -1
  227. package/{dist/web-components-library/p-edc05acf.entry.js → www/build/p-e4b4b2e4.entry.js} +1 -1
  228. package/www/build/{p-9baa6b96.entry.js → p-e7aadd3d.entry.js} +1 -1
  229. package/www/build/{p-422d2691.entry.js → p-e9b90127.entry.js} +1 -1
  230. package/www/build/p-fcff1237.css +812 -0
  231. package/www/build/p-fea5b98f.js +1 -0
  232. package/www/build/web-components-library.esm.js +1 -1
  233. package/www/index.html +49 -49
  234. package/www/pages/notification.html +10 -7
  235. package/dist/web-components-library/p-01b13704.entry.js +0 -1
  236. package/dist/web-components-library/p-05fd034c.entry.js +0 -1
  237. package/dist/web-components-library/p-12ae4164.entry.js +0 -1
  238. package/dist/web-components-library/p-142dc712.entry.js +0 -1
  239. package/dist/web-components-library/p-2182f383.entry.js +0 -1
  240. package/dist/web-components-library/p-2f9c9ed9.entry.js +0 -1
  241. package/dist/web-components-library/p-3ecebf0c.entry.js +0 -1
  242. package/dist/web-components-library/p-42c37977.js +0 -1
  243. package/dist/web-components-library/p-61b6ab7e.entry.js +0 -1
  244. package/dist/web-components-library/p-77d2db66.entry.js +0 -1
  245. package/dist/web-components-library/p-8fb44da3.entry.js +0 -1
  246. package/dist/web-components-library/p-981f5b41.entry.js +0 -1
  247. package/dist/web-components-library/p-a4049c7f.js +0 -1
  248. package/dist/web-components-library/p-b3cab405.entry.js +0 -1
  249. package/dist/web-components-library/p-c8578954.entry.js +0 -1
  250. package/dist/web-components-library/p-d0c956ff.entry.js +0 -1
  251. package/dist/web-components-library/p-e3d1b621.entry.js +0 -1
  252. package/dist/web-components-library/p-eedd3f14.entry.js +0 -1
  253. package/dist/web-components-library/p-f85e38d3.entry.js +0 -1
  254. package/www/build/p-01b13704.entry.js +0 -1
  255. package/www/build/p-05fd034c.entry.js +0 -1
  256. package/www/build/p-12ae4164.entry.js +0 -1
  257. package/www/build/p-142dc712.entry.js +0 -1
  258. package/www/build/p-2182f383.entry.js +0 -1
  259. package/www/build/p-2f9c9ed9.entry.js +0 -1
  260. package/www/build/p-3ecebf0c.entry.js +0 -1
  261. package/www/build/p-42c37977.js +0 -1
  262. package/www/build/p-61b6ab7e.entry.js +0 -1
  263. package/www/build/p-7210d846.js +0 -1
  264. package/www/build/p-77d2db66.entry.js +0 -1
  265. package/www/build/p-88b56b6e.css +0 -1
  266. package/www/build/p-8fb44da3.entry.js +0 -1
  267. package/www/build/p-981f5b41.entry.js +0 -1
  268. package/www/build/p-a4049c7f.js +0 -1
  269. package/www/build/p-b3cab405.entry.js +0 -1
  270. package/www/build/p-c8578954.entry.js +0 -1
  271. package/www/build/p-d0c956ff.entry.js +0 -1
  272. package/www/build/p-e3d1b621.entry.js +0 -1
  273. package/www/build/p-eedd3f14.entry.js +0 -1
  274. package/www/build/p-f85e38d3.entry.js +0 -1
@@ -1,5 +1,5 @@
1
- :host > button,
2
- :host > a {
1
+ z-navigation-tab > button,
2
+ z-navigation-tab-link > a {
3
3
  position: relative;
4
4
  z-index: 0;
5
5
  display: inline-flex;
@@ -23,38 +23,53 @@
23
23
  cursor: pointer;
24
24
  }
25
25
 
26
- :host > a {
26
+ z-navigation-tab-link > a {
27
27
  text-decoration: none;
28
28
  }
29
29
 
30
- :host *::before,
31
- :host *::after {
30
+ z-navigation-tab *,
31
+ z-navigation-tab-link *,
32
+ z-navigation-tab *::before,
33
+ z-navigation-tab *::after,
34
+ z-navigation-tab-link *::before,
35
+ z-navigation-tab-link *::after {
32
36
  box-sizing: border-box;
33
37
  }
34
38
 
35
- :host(:not([disabled]):hover) > *,
36
- :host([selected]) > * {
39
+ z-navigation-tab > *:focus:focus-visible,
40
+ z-navigation-tab-link > *:focus:focus-visible {
41
+ box-shadow: inset var(--shadow-focus-primary);
42
+ }
43
+
44
+ z-navigation-tab:not([disabled]):hover > *,
45
+ z-navigation-tab[selected] > *,
46
+ z-navigation-tab-link:not([disabled]):hover > *,
47
+ z-navigation-tab-link[selected] > * {
37
48
  color: var(--color-hover-secondary);
38
49
  fill: currentColor;
39
50
  }
40
51
 
41
- :host(:not([disabled]):hover) > *::after,
42
- :host([selected]) > *::after {
43
- content: '';
52
+ z-navigation-tab:not([disabled]):hover > *::after,
53
+ z-navigation-tab[selected] > *::after,
54
+ z-navigation-tab-link:not([disabled]):hover > *::after,
55
+ z-navigation-tab-link[selected] > *::after {
56
+ content: "";
44
57
  position: absolute;
45
58
  background-color: var(--color-hover-secondary);
46
59
  }
47
60
 
48
- :host([orientation='horizontal']:not([disabled]):hover) > *::after,
49
- :host([orientation='horizontal'][selected]) > *::after {
61
+ z-navigation-tab[orientation="horizontal"]:not([disabled]):hover > *::after,
62
+ z-navigation-tab[orientation="horizontal"][selected] > *::after,
63
+ z-navigation-tab-link[orientation="horizontal"]:not([disabled]):hover > *::after,
64
+ z-navigation-tab-link[orientation="horizontal"][selected] > *::after {
50
65
  bottom: 0;
51
66
  left: 0;
52
67
  width: 100%;
53
68
  height: var(--border-size-large);
54
69
  }
55
70
 
56
- slot[name="icon"] z-icon,
57
- ::slotted([slot="icon"]) {
71
+ z-navigation-tab z-icon,
72
+ z-navigation-tab-link z-icon {
58
73
  --z-icon-width: calc(var(--space-unit) * 2);
59
74
  --z-icon-height: calc(var(--space-unit) * 2);
60
75
 
@@ -62,20 +77,16 @@ slot[name="icon"] z-icon,
62
77
  margin: 0;
63
78
  }
64
79
 
65
- :host([orientation='horizontal']) slot[name="icon"] z-icon,
66
- :host([orientation='horizontal']) ::slotted([slot="icon"]) {
80
+ z-navigation-tab[orientation="horizontal"] z-icon,
81
+ z-navigation-tab-link[orientation="horizontal"] z-icon {
67
82
  margin-right: var(--space-unit);
68
83
  }
69
84
 
70
- :host(:not([disabled]):hover) > * {
85
+ z-navigation-tab:not([disabled]):hover > * {
71
86
  background-color: var(--color-background);
72
87
  }
73
88
 
74
- :host > *:focus:focus-visible {
75
- box-shadow: var(--shadow-focus-primary);
76
- }
77
-
78
- :host([disabled]) > * {
89
+ z-navigation-tab[disabled] > * {
79
90
  pointer-events: all;
80
91
  cursor: not-allowed;
81
92
  color: var(--gray500);
@@ -83,34 +94,41 @@ slot[name="icon"] z-icon,
83
94
  }
84
95
 
85
96
  /* Size small (only available for horizontal) */
86
- :host([size='small']) > * {
97
+ z-navigation-tab[size="small"] > *,
98
+ z-navigation-tab-link[size="small"] > * {
87
99
  font-size: var(--font-size-2);
88
100
  line-height: 1.4;
89
101
  letter-spacing: 0.16px;
90
102
  }
91
103
 
92
- :host([size='small'][orientation='horizontal']) > * {
104
+ z-navigation-tab[size="small"][orientation="horizontal"] > *,
105
+ z-navigation-tab-link[size="small"][orientation="horizontal"] > * {
93
106
  padding: var(--space-unit) calc(var(--space-unit) * 2);
94
107
  }
95
108
 
96
- :host([size='small'][orientation='horizontal']:not([disabled]):hover) > *::after,
97
- :host([size='small'][orientation='horizontal'][selected]) > *::after {
109
+ z-navigation-tab[size="small"][orientation="horizontal"]:not([disabled]):hover > *::after,
110
+ z-navigation-tab[size="small"][orientation="horizontal"][selected] > *::after,
111
+ z-navigation-tab-link[size="small"][orientation="horizontal"]:hover > *::after,
112
+ z-navigation-tab-link[size="small"][orientation="horizontal"][selected] > *::after {
98
113
  height: var(--border-size-medium);
99
114
  }
100
115
 
101
- :host([size='small']:not([orientation='vertical'])) slot[name="icon"] z-icon,
102
- :host([size='small']:not([orientation='vertical'])) ::slotted([slot="icon"]) {
116
+ z-navigation-tab[size="small"]:not([orientation="vertical"]) z-icon,
117
+ z-navigation-tab-link[size="small"]:not([orientation="vertical"]) z-icon {
103
118
  --z-icon-width: 14px;
104
119
  --z-icon-height: 14px;
105
120
  }
106
121
 
107
122
  /* Orientation Vertical */
108
- :host([orientation='vertical']) > * {
123
+ z-navigation-tab[orientation="vertical"] > *,
124
+ z-navigation-tab-link[orientation="vertical"] > * {
109
125
  padding: calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);
110
126
  }
111
127
 
112
- :host([orientation='vertical']:hover:not([disabled])) > *::after,
113
- :host([orientation='vertical'][selected]) > *::after {
128
+ z-navigation-tab[orientation="vertical"]:hover:not([disabled]) > *::after,
129
+ z-navigation-tab[orientation="vertical"][selected] > *::after,
130
+ z-navigation-tab-link[orientation="vertical"]:hover > *::after,
131
+ z-navigation-tab-link[orientation="vertical"][selected] > *::after {
114
132
  width: var(--border-size-large);
115
133
  height: 100%;
116
134
  top: 0;
@@ -1,9 +1,8 @@
1
- import { Component, Prop, h, Element, Listen, Event, Watch } from "@stencil/core";
1
+ import { Component, Prop, h, Listen, Event, Watch } from "@stencil/core";
2
2
  import { NavigationTabsOrientations, NavigationTabsSizes } from "../../../../beans";
3
3
  import { icons } from "../../../icons/icons";
4
4
  /**
5
5
  * Single tab component to use inside `z-navigation-tabs`. It renders a button.
6
- * @slot icon - Tab icon. If no extra customization is needed, use the `icon` prop passing the icon's name.
7
6
  */
8
7
  export class ZNavigationTab {
9
8
  constructor() {
@@ -24,12 +23,14 @@ export class ZNavigationTab {
24
23
  */
25
24
  this.size = NavigationTabsSizes.big;
26
25
  }
27
- onFocus() {
28
- this.host.scrollIntoView({
29
- behavior: "smooth",
30
- block: "nearest",
31
- inline: "nearest",
32
- });
26
+ /**
27
+ * Scroll into view to center the tab.
28
+ */
29
+ scrollToTab({ target: button }) {
30
+ const scrollOptions = this.orientation === NavigationTabsOrientations.horizontal ?
31
+ { block: "nearest", inline: "center" } :
32
+ { block: "center", inline: "nearest" };
33
+ button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
33
34
  }
34
35
  onClick() {
35
36
  if (!this.disabled) {
@@ -38,7 +39,7 @@ export class ZNavigationTab {
38
39
  }
39
40
  onSelected() {
40
41
  if (this.selected) {
41
- this.emitSelected.emit();
42
+ this.selectedEvent.emit();
42
43
  }
43
44
  }
44
45
  /**
@@ -55,12 +56,11 @@ export class ZNavigationTab {
55
56
  return h("z-icon", { name: icon });
56
57
  }
57
58
  render() {
58
- return (h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle },
59
- h("slot", { name: "icon" }, this.icon && this.renderIcon()),
59
+ return (h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this) },
60
+ this.icon && this.renderIcon(),
60
61
  this.orientation === "horizontal" && this.label));
61
62
  }
62
63
  static get is() { return "z-navigation-tab"; }
63
- static get encapsulation() { return "shadow"; }
64
64
  static get originalStyleUrls() { return {
65
65
  "$": ["../navigation-tab.css"]
66
66
  }; }
@@ -162,7 +162,7 @@ export class ZNavigationTab {
162
162
  "optional": false,
163
163
  "docs": {
164
164
  "tags": [],
165
- "text": "Name of the icon to use. Use the slot `icon` for extra customization.\nThe `filled` version will be automatically used (if found) when the tab is `selected`."
165
+ "text": "Name of the icon to use.\nThe `filled` version will be automatically used (if found) when the tab is `selected`."
166
166
  },
167
167
  "attribute": "icon",
168
168
  "reflect": false
@@ -203,7 +203,7 @@ export class ZNavigationTab {
203
203
  }
204
204
  }; }
205
205
  static get events() { return [{
206
- "method": "emitSelected",
206
+ "method": "selectedEvent",
207
207
  "name": "selected",
208
208
  "bubbles": true,
209
209
  "cancelable": true,
@@ -218,18 +218,11 @@ export class ZNavigationTab {
218
218
  "references": {}
219
219
  }
220
220
  }]; }
221
- static get elementRef() { return "host"; }
222
221
  static get watchers() { return [{
223
222
  "propName": "selected",
224
223
  "methodName": "onSelected"
225
224
  }]; }
226
225
  static get listeners() { return [{
227
- "name": "focus",
228
- "method": "onFocus",
229
- "target": undefined,
230
- "capture": false,
231
- "passive": false
232
- }, {
233
226
  "name": "click",
234
227
  "method": "onClick",
235
228
  "target": undefined,
@@ -1,9 +1,8 @@
1
- import { Component, Prop, h, Element, Listen, Event, Watch, } from "@stencil/core";
1
+ import { Component, Prop, h, Listen, Event, Watch, } from "@stencil/core";
2
2
  import { NavigationTabsOrientations, NavigationTabsSizes, } from "../../../../beans";
3
3
  import { icons } from "../../../icons/icons";
4
4
  /**
5
5
  * Single tab component to use inside `z-navigation-tabs`. It renders an anchor element.
6
- * @slot icon - Tab icon. If no extra customization is needed, use the `icon` prop passing the icon's name.
7
6
  */
8
7
  export class ZNavigationTabLink {
9
8
  constructor() {
@@ -24,19 +23,21 @@ export class ZNavigationTabLink {
24
23
  */
25
24
  this.size = NavigationTabsSizes.big;
26
25
  }
27
- onFocus() {
28
- this.host.scrollIntoView({
29
- behavior: "smooth",
30
- block: "nearest",
31
- inline: "nearest",
32
- });
26
+ /**
27
+ * Scroll into view to center the tab.
28
+ */
29
+ scrollToTab({ target: button }) {
30
+ const scrollOptions = this.orientation === NavigationTabsOrientations.horizontal ?
31
+ { block: "nearest", inline: "center" } :
32
+ { block: "center", inline: "nearest" };
33
+ button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
33
34
  }
34
35
  onClick() {
35
36
  this.selected = true;
36
37
  }
37
38
  onSelected() {
38
39
  if (this.selected) {
39
- this.emitSelected.emit();
40
+ this.selectedEvent.emit();
40
41
  }
41
42
  }
42
43
  /**
@@ -53,12 +54,11 @@ export class ZNavigationTabLink {
53
54
  return h("z-icon", { name: icon });
54
55
  }
55
56
  render() {
56
- return (h("a", { role: "tab", href: !this.disabled && this.href, title: this.htmlTitle, target: this.target },
57
- h("slot", { name: "icon" }, this.icon && this.renderIcon()),
57
+ return (h("a", { role: "tab", href: !this.disabled && this.href, title: this.htmlTitle, target: this.target, onFocus: this.scrollToTab.bind(this) },
58
+ this.icon && this.renderIcon(),
58
59
  this.orientation === "horizontal" && this.label));
59
60
  }
60
61
  static get is() { return "z-navigation-tab-link"; }
61
- static get encapsulation() { return "shadow"; }
62
62
  static get originalStyleUrls() { return {
63
63
  "$": ["../navigation-tab.css"]
64
64
  }; }
@@ -211,7 +211,7 @@ export class ZNavigationTabLink {
211
211
  "optional": false,
212
212
  "docs": {
213
213
  "tags": [],
214
- "text": "Name of the icon to use. Use the slot `icon` for extra customization.\nThe `filled` version will be automatically used (if found) when the tab is `selected`."
214
+ "text": "Name of the icon to use.\nThe `filled` version will be automatically used (if found) when the tab is `selected`."
215
215
  },
216
216
  "attribute": "icon",
217
217
  "reflect": false
@@ -235,7 +235,7 @@ export class ZNavigationTabLink {
235
235
  }
236
236
  }; }
237
237
  static get events() { return [{
238
- "method": "emitSelected",
238
+ "method": "selectedEvent",
239
239
  "name": "selected",
240
240
  "bubbles": true,
241
241
  "cancelable": true,
@@ -250,18 +250,11 @@ export class ZNavigationTabLink {
250
250
  "references": {}
251
251
  }
252
252
  }]; }
253
- static get elementRef() { return "host"; }
254
253
  static get watchers() { return [{
255
254
  "propName": "selected",
256
255
  "methodName": "onSelected"
257
256
  }]; }
258
257
  static get listeners() { return [{
259
- "name": "focus",
260
- "method": "onFocus",
261
- "target": undefined,
262
- "capture": false,
263
- "passive": false
264
- }, {
265
258
  "name": "click",
266
259
  "method": "onClick",
267
260
  "target": undefined,
@@ -67,6 +67,8 @@ export class ZNavigationTabs {
67
67
  }
68
68
  /**
69
69
  * Listen for child tab selection.
70
+ * Deselect all other previously selected tabs,
71
+ * then scroll to the new selected tab and center it.
70
72
  * @param {CustomEvent} event `selected` event triggered by a child tab
71
73
  */
72
74
  onTabSelected(event) {
@@ -82,11 +84,8 @@ export class ZNavigationTabs {
82
84
  * Scroll the navigation bar half of its size backward.
83
85
  */
84
86
  navigateBackwards() {
85
- const safeScrollAreaSize = parseFloat(getComputedStyle(this.host).getPropertyValue('--safe-scroll-area'));
86
87
  this.tabsNav.scrollBy({
87
- [this.direction.toLowerCase()]: 0 -
88
- (this.tabsNav[`client${this.dimension}`] / 2) -
89
- safeScrollAreaSize,
88
+ [this.direction.toLowerCase()]: 0 - (this.tabsNav[`client${this.dimension}`] / 2),
90
89
  behavior: 'smooth',
91
90
  });
92
91
  }
@@ -94,11 +93,9 @@ export class ZNavigationTabs {
94
93
  * Scroll the navigation bar half of its size forward.
95
94
  */
96
95
  navigateForward() {
97
- const safeScrollAreaSize = parseFloat(getComputedStyle(this.host).getPropertyValue('--safe-scroll-area'));
98
96
  this.tabsNav.scrollBy({
99
97
  [this.direction.toLowerCase()]: this.tabsNav[`scroll${this.direction}`] +
100
- (this.tabsNav[`client${this.dimension}`] / 2) +
101
- safeScrollAreaSize,
98
+ (this.tabsNav[`client${this.dimension}`] / 2),
102
99
  behavior: 'smooth',
103
100
  });
104
101
  }
@@ -1,13 +1,8 @@
1
1
  :host {
2
- --safe-scroll-area: 4px;
3
- --negative-safe-scroll-area: calc(-1 * var(--safe-scroll-area));
4
-
5
2
  position: relative;
6
3
  display: flex;
7
4
  flex-direction: row;
8
5
  z-index: 0;
9
- margin: var(--negative-safe-scroll-area);
10
- padding: var(--safe-scroll-area);
11
6
  font-family: var(--font-family-sans);
12
7
  font-weight: var(--font-rg);
13
8
  overflow: hidden;
@@ -37,11 +32,12 @@
37
32
  border-radius: var(--border-no-radius);
38
33
  cursor: pointer;
39
34
  z-index: 1;
35
+ box-shadow: 0px 0px 4px 1px rgb(66, 69, 72, 0.40);
40
36
  }
41
37
 
42
- .navigation-button:focus {
38
+ .navigation-button:focus:focus-visible {
43
39
  fill: var(--color-primary01);
44
- box-shadow: var(--shadow-focus-primary);
40
+ box-shadow: inset var(--shadow-focus-primary);
45
41
  }
46
42
 
47
43
  .navigation-button:disabled {
@@ -53,9 +49,7 @@ nav {
53
49
  align-items: center;
54
50
  justify-content: flex-start;
55
51
  overflow: auto;
56
- margin: var(--negative-safe-scroll-area);
57
- padding: var(--safe-scroll-area);
58
- scroll-padding: var(--safe-scroll-area);
52
+ scroll-behavior: smooth;
59
53
 
60
54
  /* hide scrollbar in Firefox */
61
55
  scrollbar-width: none;
@@ -68,19 +62,15 @@ nav {
68
62
  :host([orientation='horizontal']) .navigation-button {
69
63
  top: 0;
70
64
  height: 100%;
71
- width: calc((var(--space-unit) * 4) + var(--safe-scroll-area));
65
+ width: calc(var(--space-unit) * 4);
72
66
  }
73
67
 
74
68
  :host([orientation='horizontal']) .navigation-button:first-child {
75
69
  left: 0;
76
- padding-left: var(--safe-scroll-area);
77
- box-shadow: 5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40);
78
70
  }
79
71
 
80
72
  :host([orientation='horizontal']) .navigation-button:last-child {
81
73
  right: 0;
82
- padding-right: 4px;
83
- box-shadow: -5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40);
84
74
  }
85
75
 
86
76
  /* Orientation vertical */
@@ -98,19 +88,15 @@ nav {
98
88
  :host([orientation='vertical']) .navigation-button {
99
89
  left: 0;
100
90
  width: 100%;
101
- height: calc((var(--space-unit) * 4) + var(--safe-scroll-area));
91
+ height: calc(var(--space-unit) * 4);
102
92
  }
103
93
 
104
94
  :host([orientation='vertical']) .navigation-button:first-child {
105
95
  top: 0;
106
- padding-top: var(--safe-scroll-area);
107
- box-shadow: 0px 5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40);
108
96
  }
109
97
 
110
98
  :host([orientation='vertical']) .navigation-button:last-child {
111
99
  bottom: 0;
112
- padding-bottom: var(--safe-scroll-area);
113
- box-shadow: 0px -5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40);
114
100
  }
115
101
 
116
102
  :host([size='small'][orientation='vertical']) .navigation-button {
@@ -28,10 +28,10 @@ export class ZCookiebar {
28
28
  "Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai \u00A0",
29
29
  h("a", { href: this.cookiepolicyurl, target: "_blank" }, "cookie"),
30
30
  "."))),
31
- h("z-button", { variant: ButtonVariantEnum.primary, onClick: (ev) => this.handleOkButtonClick(ev), onKeyUp: (ev) => this.handleOkButtonKeyUp(ev) }, "ACCETTA")));
31
+ h("z-button-deprecated", { variant: ButtonVariantEnum.primary, onClick: (ev) => this.handleOkButtonClick(ev), onKeyUp: (ev) => this.handleOkButtonKeyUp(ev) }, "ACCETTA")));
32
32
  }
33
33
  render() {
34
- return h("z-candybar", { class: `${this.hide ? "hidden" : ""}` }, this.renderContentSlot());
34
+ return (h("z-candybar", { class: `${this.hide ? "hidden" : ""}` }, this.renderContentSlot()));
35
35
  }
36
36
  static get is() { return "z-cookiebar"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ z-candybar.hidden {
15
15
  align-items: stretch;
16
16
  align-content: space-between;
17
17
  color: var(--text-grey-800);
18
- border-radius: calc(var(--space-unit) * .5);
18
+ border-radius: calc(var(--space-unit) * 0.5);
19
19
  font-size: 16px;
20
20
  letter-spacing: 0px;
21
21
  line-height: 24px;
@@ -58,7 +58,7 @@ z-candybar.hidden {
58
58
  z-index: 1000;
59
59
  }
60
60
 
61
- .content > z-button {
61
+ .content > z-button-deprecated {
62
62
  margin: 0;
63
63
  width: 100%;
64
64
  }
@@ -87,7 +87,7 @@ z-candybar.hidden {
87
87
  padding: 0;
88
88
  }
89
89
 
90
- .content > z-button {
90
+ .content > z-button-deprecated {
91
91
  margin: 0;
92
92
  width: initial;
93
93
  }
@@ -172,7 +172,10 @@
172
172
  font-weight: 600;
173
173
  }
174
174
 
175
- :host > #external-container.mobile-wrapped #button ::slotted(z-button) {
175
+ :host
176
+ > #external-container.mobile-wrapped
177
+ #button
178
+ ::slotted(z-button-deprecated) {
176
179
  margin-top: calc(var(--space-unit) * 2);
177
180
  }
178
181
 
@@ -219,7 +222,6 @@
219
222
 
220
223
  /* Tablet breakpoint */
221
224
  @media only screen and (min-width: 768px) {
222
-
223
225
  :host {
224
226
  width: unset;
225
227
  max-width: 50vw;
@@ -0,0 +1,131 @@
1
+ import { Component, h, Host, Element, Listen, Prop, State, } from "@stencil/core";
2
+ import { getElementTree, handleKeyboardSubmit } from "../../utils/utils";
3
+ import { ThemeVariant } from "../../beans";
4
+ /**
5
+ * Component short description.
6
+ */
7
+ export class ZSkipToContent {
8
+ constructor() {
9
+ /** Array to fill link into skip-content */
10
+ this.links = [];
11
+ this.visible = false;
12
+ this.visibleLink = "";
13
+ }
14
+ handleFocusOutSkipToContent(e) {
15
+ if (this.isInSkipToContent(e.target))
16
+ this.visible = false;
17
+ }
18
+ handleFocusSkipToContent(e) {
19
+ if (this.isInSkipToContent(e.target))
20
+ this.visible = true;
21
+ }
22
+ componentDidLoad() {
23
+ this.showFirstChild();
24
+ }
25
+ componentWillRender() {
26
+ if (this.links) {
27
+ this.links =
28
+ typeof this.links === "string" ? JSON.parse(this.links) : this.links;
29
+ }
30
+ }
31
+ isInSkipToContent(elem) {
32
+ const tree = getElementTree(elem);
33
+ const menuParent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-skip-to-content");
34
+ if (menuParent)
35
+ return true;
36
+ return false;
37
+ }
38
+ getFirstChild() {
39
+ const children = this.hostElement.children;
40
+ if (children.length)
41
+ return children[0];
42
+ return false;
43
+ }
44
+ showFirstChild() {
45
+ const firstChild = this.getFirstChild();
46
+ if (firstChild)
47
+ this.visibleLink = firstChild.id;
48
+ }
49
+ handleLinkClick() {
50
+ this.visible = false;
51
+ }
52
+ render() {
53
+ return (h(Host, { class: `${this.variant} ${this.visible && "skip-to-content-visible"} `, ref: (el) => el }, this.links.map((link, i) => {
54
+ const id = `skip-to-content-${i}`;
55
+ return (h("z-link", { id: id, underline: true, "aria-label": link.ariaLabel || link.label, class: `t-weight-sb ${id == this.visibleLink ? "link-visible" : "link-invisible"}`, href: link.href, textcolor: this.variant === ThemeVariant.dark ? "white" : "black", onFocus: () => (this.visibleLink = id), onClick: () => this.handleLinkClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.handleLinkClick.bind(this)) }, link.label));
56
+ })));
57
+ }
58
+ static get is() { return "z-skip-to-content"; }
59
+ static get encapsulation() { return "scoped"; }
60
+ static get originalStyleUrls() { return {
61
+ "$": ["styles.css"]
62
+ }; }
63
+ static get styleUrls() { return {
64
+ "$": ["styles.css"]
65
+ }; }
66
+ static get properties() { return {
67
+ "variant": {
68
+ "type": "string",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "ThemeVariant",
72
+ "resolved": "ThemeVariant.dark | ThemeVariant.light",
73
+ "references": {
74
+ "ThemeVariant": {
75
+ "location": "import",
76
+ "path": "../../beans"
77
+ }
78
+ }
79
+ },
80
+ "required": false,
81
+ "optional": true,
82
+ "docs": {
83
+ "tags": [],
84
+ "text": "Graphical variant: `dark`, `light`."
85
+ },
86
+ "attribute": "variant",
87
+ "reflect": true
88
+ },
89
+ "links": {
90
+ "type": "string",
91
+ "mutable": true,
92
+ "complexType": {
93
+ "original": "string | SkipToContentLink[]",
94
+ "resolved": "SkipToContentLink[] | string",
95
+ "references": {
96
+ "SkipToContentLink": {
97
+ "location": "import",
98
+ "path": "../../beans"
99
+ }
100
+ }
101
+ },
102
+ "required": false,
103
+ "optional": false,
104
+ "docs": {
105
+ "tags": [],
106
+ "text": "Array to fill link into skip-content"
107
+ },
108
+ "attribute": "links",
109
+ "reflect": false,
110
+ "defaultValue": "[]"
111
+ }
112
+ }; }
113
+ static get states() { return {
114
+ "visible": {},
115
+ "visibleLink": {}
116
+ }; }
117
+ static get elementRef() { return "hostElement"; }
118
+ static get listeners() { return [{
119
+ "name": "focusout",
120
+ "method": "handleFocusOutSkipToContent",
121
+ "target": "document",
122
+ "capture": false,
123
+ "passive": false
124
+ }, {
125
+ "name": "focusin",
126
+ "method": "handleFocusSkipToContent",
127
+ "target": "document",
128
+ "capture": false,
129
+ "passive": false
130
+ }]; }
131
+ }