@utrecht/web-component-library-stencil 1.0.0-alpha.9 → 1.0.0-alpha.93

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 (418) hide show
  1. package/README.md +28 -0
  2. package/dist/article/stencil.d.ts +3 -0
  3. package/dist/article/stencil.js +1 -1
  4. package/dist/badge-counter/stencil.d.ts +6 -0
  5. package/dist/badge-counter/stencil.js +1 -1
  6. package/dist/badge-data/stencil.d.ts +3 -0
  7. package/dist/badge-data/stencil.js +1 -1
  8. package/dist/badge-status/stencil.d.ts +4 -0
  9. package/dist/badge-status/stencil.js +1 -1
  10. package/dist/breadcrumb/stencil.d.ts +5 -0
  11. package/dist/breadcrumb/stencil.js +38 -0
  12. package/dist/button/stencil.d.ts +10 -0
  13. package/dist/button/stencil.js +40 -3
  14. package/dist/checkbox/stencil.d.ts +16 -0
  15. package/dist/checkbox/stencil.js +59 -0
  16. package/dist/cjs/{index-04d7da5a.js → index-b96d9af7.js} +213 -25
  17. package/dist/cjs/loader.cjs.js +3 -3
  18. package/dist/cjs/utrecht-article.cjs.entry.js +3 -3
  19. package/dist/cjs/utrecht-badge-counter.cjs.entry.js +3 -3
  20. package/dist/cjs/utrecht-badge-data.cjs.entry.js +3 -3
  21. package/dist/cjs/utrecht-badge-status.cjs.entry.js +3 -3
  22. package/dist/cjs/utrecht-breadcrumb.cjs.entry.js +23 -0
  23. package/dist/cjs/utrecht-button_2.cjs.entry.js +58 -0
  24. package/dist/cjs/utrecht-checkbox.cjs.entry.js +32 -0
  25. package/dist/cjs/utrecht-contact-card-template.cjs.entry.js +19 -0
  26. package/dist/cjs/utrecht-digid-button.cjs.entry.js +19 -0
  27. package/dist/cjs/utrecht-document.cjs.entry.js +3 -3
  28. package/dist/cjs/utrecht-eherkenning-logo.cjs.entry.js +19 -0
  29. package/dist/cjs/utrecht-eidas-logo.cjs.entry.js +19 -0
  30. package/dist/cjs/utrecht-form-field-checkbox.cjs.entry.js +34 -0
  31. package/dist/cjs/utrecht-form-field-description.cjs.entry.js +22 -0
  32. package/dist/cjs/utrecht-form-field-textarea.cjs.entry.js +34 -0
  33. package/dist/cjs/utrecht-form-field-textbox.cjs.entry.js +39 -0
  34. package/dist/cjs/utrecht-form-toggle.cjs.entry.js +49 -0
  35. package/dist/cjs/utrecht-heading-1.cjs.entry.js +19 -0
  36. package/dist/cjs/utrecht-heading-2_3.cjs.entry.js +46 -0
  37. package/dist/cjs/utrecht-heading-4.cjs.entry.js +19 -0
  38. package/dist/cjs/utrecht-heading-5.cjs.entry.js +19 -0
  39. package/dist/cjs/utrecht-heading-6.cjs.entry.js +19 -0
  40. package/dist/cjs/utrecht-heading.cjs.entry.js +3 -3
  41. package/dist/cjs/utrecht-html-content.cjs.entry.js +3 -3
  42. package/dist/cjs/utrecht-icon-arrow.cjs.entry.js +19 -0
  43. package/dist/cjs/utrecht-icon-cross.cjs.entry.js +19 -0
  44. package/dist/cjs/utrecht-icon-facebook.cjs.entry.js +19 -0
  45. package/dist/cjs/utrecht-icon-filter.cjs.entry.js +19 -0
  46. package/dist/cjs/utrecht-icon-instagram.cjs.entry.js +19 -0
  47. package/dist/cjs/utrecht-icon-linkedin.cjs.entry.js +19 -0
  48. package/dist/cjs/utrecht-icon-list.cjs.entry.js +19 -0
  49. package/dist/cjs/utrecht-icon-loupe.cjs.entry.js +19 -0
  50. package/dist/cjs/utrecht-icon-twitter.cjs.entry.js +19 -0
  51. package/dist/cjs/utrecht-icon-whatsapp.cjs.entry.js +19 -0
  52. package/dist/cjs/utrecht-icon-zoomin.cjs.entry.js +19 -0
  53. package/dist/cjs/utrecht-icon-zoomout.cjs.entry.js +19 -0
  54. package/dist/cjs/utrecht-logo-button.cjs.entry.js +19 -0
  55. package/dist/cjs/utrecht-logo.cjs.entry.js +19 -0
  56. package/dist/cjs/utrecht-page-footer.cjs.entry.js +3 -3
  57. package/dist/cjs/utrecht-pagination.cjs.entry.js +38 -0
  58. package/dist/cjs/utrecht-separator.cjs.entry.js +3 -3
  59. package/dist/cjs/utrecht-sidenav.cjs.entry.js +21 -0
  60. package/dist/cjs/utrecht-textbox.cjs.entry.js +39 -0
  61. package/dist/cjs/utrecht.cjs.js +3 -3
  62. package/dist/collection/alternate-lang-link/bem.js +21 -0
  63. package/dist/collection/alternate-lang-nav/bem.js +12 -0
  64. package/dist/collection/article/bem.js +6 -0
  65. package/dist/collection/article/{bem.css → stencil.css} +12 -1
  66. package/dist/collection/article/stencil.js +2 -2
  67. package/dist/collection/badge-counter/bem.js +7 -0
  68. package/dist/collection/badge-counter/{bem.css → stencil.css} +13 -0
  69. package/dist/collection/badge-counter/stencil.js +2 -2
  70. package/dist/collection/badge-data/bem.js +6 -0
  71. package/dist/collection/badge-data/{bem.css → stencil.css} +13 -0
  72. package/dist/collection/badge-data/stencil.js +2 -2
  73. package/dist/collection/badge-status/bem.js +7 -0
  74. package/dist/collection/badge-status/{bem.css → stencil.css} +18 -0
  75. package/dist/collection/badge-status/stencil.js +2 -2
  76. package/dist/collection/blockquote/bem.js +24 -0
  77. package/dist/collection/breadcrumb/bem.js +34 -0
  78. package/dist/collection/breadcrumb/stencil.css +148 -0
  79. package/dist/collection/breadcrumb/stencil.js +62 -0
  80. package/dist/collection/button/bem.js +34 -0
  81. package/dist/collection/button/html.js +16 -0
  82. package/dist/collection/button/{bem.css → stencil.css} +56 -19
  83. package/dist/collection/button/stencil.js +92 -4
  84. package/dist/collection/checkbox/bem.js +18 -0
  85. package/dist/collection/checkbox/stencil.css +27 -0
  86. package/dist/collection/checkbox/stencil.js +164 -0
  87. package/dist/collection/collection-manifest.json +37 -2
  88. package/dist/collection/digid-button/bem.js +16 -0
  89. package/dist/collection/digid-button/stencil.css +31 -0
  90. package/dist/collection/digid-button/stencil.js +41 -0
  91. package/dist/collection/digid-logo/stencil.css +18 -0
  92. package/dist/collection/digid-logo/stencil.js +23 -0
  93. package/dist/collection/document/{bem.css → stencil.css} +12 -1
  94. package/dist/collection/document/stencil.js +2 -2
  95. package/dist/collection/eherkenning-logo/stencil.css +18 -0
  96. package/dist/collection/eherkenning-logo/stencil.js +26 -0
  97. package/dist/collection/eidas-logo/stencil.css +18 -0
  98. package/dist/collection/eidas-logo/stencil.js +28 -0
  99. package/dist/collection/emphasis/bem.js +19 -0
  100. package/dist/collection/form-field-checkbox/bem.js +10 -0
  101. package/dist/collection/form-field-checkbox/stencil.css +76 -0
  102. package/dist/collection/form-field-checkbox/stencil.js +190 -0
  103. package/dist/collection/form-field-checkbox-group/bem.js +33 -0
  104. package/dist/collection/form-field-description/bem.js +14 -0
  105. package/dist/collection/form-field-description/stencil.css +33 -0
  106. package/dist/collection/form-field-description/stencil.js +44 -0
  107. package/dist/collection/form-field-radio/bem.js +10 -0
  108. package/dist/collection/form-field-radio-group/bem.js +20 -0
  109. package/dist/collection/form-field-textarea/stencil.css +112 -0
  110. package/dist/collection/form-field-textarea/stencil.js +205 -0
  111. package/dist/collection/form-field-textbox/stencil.css +106 -0
  112. package/dist/collection/form-field-textbox/stencil.js +300 -0
  113. package/dist/collection/form-fieldset/bem.js +10 -0
  114. package/dist/collection/form-label/bem.js +22 -0
  115. package/dist/collection/form-toggle/bem.js +47 -0
  116. package/dist/collection/form-toggle/stencil.css +115 -0
  117. package/dist/collection/form-toggle/stencil.js +149 -0
  118. package/dist/collection/heading/{bem.css → stencil.css} +72 -37
  119. package/dist/collection/heading/stencil.js +2 -2
  120. package/dist/collection/heading-1/bem.js +11 -0
  121. package/dist/collection/heading-1/stencil.css +34 -0
  122. package/dist/collection/heading-1/stencil.js +15 -0
  123. package/dist/collection/heading-2/bem.js +11 -0
  124. package/dist/collection/heading-2/stencil.css +34 -0
  125. package/dist/collection/heading-2/stencil.js +15 -0
  126. package/dist/collection/heading-3/bem.js +11 -0
  127. package/dist/collection/heading-3/stencil.css +34 -0
  128. package/dist/collection/heading-3/stencil.js +15 -0
  129. package/dist/collection/heading-4/bem.js +11 -0
  130. package/dist/collection/heading-4/stencil.css +34 -0
  131. package/dist/collection/heading-4/stencil.js +15 -0
  132. package/dist/collection/heading-5/bem.js +11 -0
  133. package/dist/collection/heading-5/stencil.css +34 -0
  134. package/dist/collection/heading-5/stencil.js +15 -0
  135. package/dist/collection/heading-6/bem.js +11 -0
  136. package/dist/collection/heading-6/stencil.css +34 -0
  137. package/dist/collection/heading-6/stencil.js +15 -0
  138. package/dist/collection/html-content/{html.css → stencil.css} +406 -140
  139. package/dist/collection/html-content/stencil.js +2 -2
  140. package/dist/collection/icon/arrow.stencil.js +17 -0
  141. package/dist/collection/icon/cross.stencil.js +17 -0
  142. package/dist/collection/icon/facebook.stencil.js +17 -0
  143. package/dist/collection/icon/filter.stencil.js +18 -0
  144. package/dist/collection/icon/instagram.stencil.js +19 -0
  145. package/dist/collection/icon/linkedin.stencil.js +18 -0
  146. package/dist/collection/icon/list.stencil.js +21 -0
  147. package/dist/collection/icon/loupe.stencil.js +17 -0
  148. package/dist/collection/icon/stencil.css +20 -0
  149. package/dist/collection/icon/twitter.stencil.js +17 -0
  150. package/dist/collection/icon/whatsapp.stencil.js +17 -0
  151. package/dist/collection/icon/zoomin.stencil.js +18 -0
  152. package/dist/collection/icon/zoomout.stencil.js +17 -0
  153. package/dist/collection/link/bem.js +38 -0
  154. package/dist/collection/link-list/bem.js +10 -0
  155. package/dist/collection/link-social/bem.js +20 -0
  156. package/dist/collection/logo/bem.js +33 -0
  157. package/dist/collection/logo/stencil.css +28 -0
  158. package/dist/collection/logo/stencil.js +26 -0
  159. package/dist/collection/logo-button/bem.js +17 -0
  160. package/dist/collection/logo-button/stencil.css +31 -0
  161. package/dist/collection/logo-button/stencil.js +41 -0
  162. package/dist/collection/mapcontrolbutton/bem.js +25 -0
  163. package/dist/collection/menulijst/bem.js +18 -0
  164. package/dist/collection/nav-top/bem.js +23 -0
  165. package/dist/collection/navigatie sidenav/bem.css +240 -0
  166. package/dist/collection/navigatie sidenav/bem.js +43 -0
  167. package/dist/collection/navigatie sidenav/stencil.js +40 -0
  168. package/dist/collection/navigatie topnav/bem.js +25 -0
  169. package/dist/collection/ordered-list/bem.js +11 -0
  170. package/dist/collection/page-footer/bem.js +7 -0
  171. package/dist/collection/page-footer/{bem.css → stencil.css} +22 -12
  172. package/dist/collection/page-footer/stencil.js +2 -2
  173. package/dist/collection/pagination/bem.js +54 -0
  174. package/dist/collection/pagination/stencil.css +118 -0
  175. package/dist/collection/pagination/stencil.js +110 -0
  176. package/dist/collection/paragraph/bem.js +17 -0
  177. package/dist/collection/paragraph/{bem.css → stencil.css} +17 -2
  178. package/dist/collection/paragraph/stencil.js +2 -2
  179. package/dist/collection/pre-heading/bem.js +15 -0
  180. package/dist/collection/radio-button/bem.js +18 -0
  181. package/dist/collection/search-bar/bem.js +15 -0
  182. package/dist/collection/select/bem.js +38 -0
  183. package/dist/collection/separator/bem.js +16 -0
  184. package/dist/collection/separator/{bem.css → stencil.css} +18 -4
  185. package/dist/collection/separator/stencil.js +2 -2
  186. package/dist/collection/templates/contact-card-template/stencil.css +88 -0
  187. package/dist/collection/templates/contact-card-template/stencil.js +25 -0
  188. package/dist/collection/textarea/bem.js +32 -0
  189. package/dist/collection/textarea/html.js +22 -0
  190. package/dist/collection/textbox/bem.js +34 -0
  191. package/dist/collection/textbox/stencil.css +70 -0
  192. package/dist/collection/textbox/stencil.js +297 -0
  193. package/dist/collection/unordered-list/bem.js +28 -0
  194. package/dist/custom-elements/index.d.ts +210 -0
  195. package/dist/custom-elements/index.js +742 -26
  196. package/dist/digid-button/stencil.d.ts +9 -0
  197. package/dist/digid-button/stencil.js +31 -0
  198. package/dist/digid-logo/stencil.d.ts +8 -0
  199. package/dist/digid-logo/stencil.js +29 -0
  200. package/dist/document/stencil.d.ts +3 -0
  201. package/dist/document/stencil.js +1 -1
  202. package/dist/eherkenning-logo/stencil.d.ts +8 -0
  203. package/dist/eherkenning-logo/stencil.js +32 -0
  204. package/dist/eidas-logo/stencil.d.ts +8 -0
  205. package/dist/eidas-logo/stencil.js +34 -0
  206. package/dist/esm/{index-7fbac151.js → index-26eb3bc0.js} +212 -26
  207. package/dist/esm/loader.js +3 -3
  208. package/dist/esm/utrecht-article.entry.js +3 -3
  209. package/dist/esm/utrecht-badge-counter.entry.js +3 -3
  210. package/dist/esm/utrecht-badge-data.entry.js +3 -3
  211. package/dist/esm/utrecht-badge-status.entry.js +3 -3
  212. package/dist/esm/utrecht-breadcrumb.entry.js +19 -0
  213. package/dist/esm/utrecht-button_2.entry.js +53 -0
  214. package/dist/esm/utrecht-checkbox.entry.js +28 -0
  215. package/dist/esm/utrecht-contact-card-template.entry.js +15 -0
  216. package/dist/esm/utrecht-digid-button.entry.js +15 -0
  217. package/dist/esm/utrecht-document.entry.js +3 -3
  218. package/dist/esm/utrecht-eherkenning-logo.entry.js +15 -0
  219. package/dist/esm/utrecht-eidas-logo.entry.js +15 -0
  220. package/dist/esm/utrecht-form-field-checkbox.entry.js +30 -0
  221. package/dist/esm/utrecht-form-field-description.entry.js +18 -0
  222. package/dist/esm/utrecht-form-field-textarea.entry.js +30 -0
  223. package/dist/esm/utrecht-form-field-textbox.entry.js +35 -0
  224. package/dist/esm/utrecht-form-toggle.entry.js +45 -0
  225. package/dist/esm/utrecht-heading-1.entry.js +15 -0
  226. package/dist/esm/utrecht-heading-2_3.entry.js +40 -0
  227. package/dist/esm/utrecht-heading-4.entry.js +15 -0
  228. package/dist/esm/utrecht-heading-5.entry.js +15 -0
  229. package/dist/esm/utrecht-heading-6.entry.js +15 -0
  230. package/dist/esm/utrecht-heading.entry.js +3 -3
  231. package/dist/esm/utrecht-html-content.entry.js +3 -3
  232. package/dist/esm/utrecht-icon-arrow.entry.js +15 -0
  233. package/dist/esm/utrecht-icon-cross.entry.js +15 -0
  234. package/dist/esm/utrecht-icon-facebook.entry.js +15 -0
  235. package/dist/esm/utrecht-icon-filter.entry.js +15 -0
  236. package/dist/esm/utrecht-icon-instagram.entry.js +15 -0
  237. package/dist/esm/utrecht-icon-linkedin.entry.js +15 -0
  238. package/dist/esm/utrecht-icon-list.entry.js +15 -0
  239. package/dist/esm/utrecht-icon-loupe.entry.js +15 -0
  240. package/dist/esm/utrecht-icon-twitter.entry.js +15 -0
  241. package/dist/esm/utrecht-icon-whatsapp.entry.js +15 -0
  242. package/dist/esm/utrecht-icon-zoomin.entry.js +15 -0
  243. package/dist/esm/utrecht-icon-zoomout.entry.js +15 -0
  244. package/dist/esm/utrecht-logo-button.entry.js +15 -0
  245. package/dist/esm/utrecht-logo.entry.js +15 -0
  246. package/dist/esm/utrecht-page-footer.entry.js +3 -3
  247. package/dist/esm/utrecht-pagination.entry.js +34 -0
  248. package/dist/esm/utrecht-separator.entry.js +3 -3
  249. package/dist/esm/utrecht-sidenav.entry.js +17 -0
  250. package/dist/esm/utrecht-textbox.entry.js +35 -0
  251. package/dist/esm/utrecht.js +3 -3
  252. package/dist/form-field-checkbox/stencil.d.ts +18 -0
  253. package/dist/form-field-checkbox/stencil.js +70 -0
  254. package/dist/form-field-description/stencil.d.ts +8 -0
  255. package/dist/form-field-description/stencil.js +33 -0
  256. package/dist/form-field-textarea/stencil.d.ts +18 -0
  257. package/dist/form-field-textarea/stencil.js +70 -0
  258. package/dist/form-field-textbox/stencil.d.ts +23 -0
  259. package/dist/form-field-textbox/stencil.js +90 -0
  260. package/dist/form-toggle/stencil.d.ts +14 -0
  261. package/dist/form-toggle/stencil.js +74 -0
  262. package/dist/heading/stencil.d.ts +7 -0
  263. package/dist/heading/stencil.js +1 -1
  264. package/dist/heading-1/stencil.d.ts +3 -0
  265. package/dist/heading-1/stencil.js +21 -0
  266. package/dist/heading-2/stencil.d.ts +3 -0
  267. package/dist/heading-2/stencil.js +21 -0
  268. package/dist/heading-3/stencil.d.ts +3 -0
  269. package/dist/heading-3/stencil.js +21 -0
  270. package/dist/heading-4/stencil.d.ts +3 -0
  271. package/dist/heading-4/stencil.js +21 -0
  272. package/dist/heading-5/stencil.d.ts +3 -0
  273. package/dist/heading-5/stencil.js +21 -0
  274. package/dist/heading-6/stencil.d.ts +3 -0
  275. package/dist/heading-6/stencil.js +21 -0
  276. package/dist/html-content/stencil.d.ts +3 -0
  277. package/dist/html-content/stencil.js +1 -1
  278. package/dist/icon/arrow.stencil.d.ts +3 -0
  279. package/dist/icon/arrow.stencil.js +23 -0
  280. package/dist/icon/cross.stencil.d.ts +3 -0
  281. package/dist/icon/cross.stencil.js +23 -0
  282. package/dist/icon/facebook.stencil.d.ts +3 -0
  283. package/dist/icon/facebook.stencil.js +23 -0
  284. package/dist/icon/filter.stencil.d.ts +3 -0
  285. package/dist/icon/filter.stencil.js +24 -0
  286. package/dist/icon/instagram.stencil.d.ts +3 -0
  287. package/dist/icon/instagram.stencil.js +25 -0
  288. package/dist/icon/linkedin.stencil.d.ts +3 -0
  289. package/dist/icon/linkedin.stencil.js +24 -0
  290. package/dist/icon/list.stencil.d.ts +3 -0
  291. package/dist/icon/list.stencil.js +27 -0
  292. package/dist/icon/loupe.stencil.d.ts +3 -0
  293. package/dist/icon/loupe.stencil.js +23 -0
  294. package/dist/icon/twitter.stencil.d.ts +3 -0
  295. package/dist/icon/twitter.stencil.js +23 -0
  296. package/dist/icon/whatsapp.stencil.d.ts +3 -0
  297. package/dist/icon/whatsapp.stencil.js +23 -0
  298. package/dist/icon/zoomin.stencil.d.ts +3 -0
  299. package/dist/icon/zoomin.stencil.js +24 -0
  300. package/dist/icon/zoomout.stencil.d.ts +3 -0
  301. package/dist/icon/zoomout.stencil.js +23 -0
  302. package/dist/logo/stencil.d.ts +7 -0
  303. package/dist/logo/stencil.js +32 -0
  304. package/dist/logo-button/stencil.d.ts +9 -0
  305. package/dist/logo-button/stencil.js +31 -0
  306. package/dist/navigatie sidenav/stencil.d.ts +4 -0
  307. package/dist/navigatie sidenav/stencil.js +30 -0
  308. package/dist/page-footer/stencil.d.ts +7 -0
  309. package/dist/page-footer/stencil.js +1 -1
  310. package/dist/pagination/stencil.d.ts +11 -0
  311. package/dist/pagination/stencil.js +58 -0
  312. package/dist/paragraph/stencil.d.ts +7 -0
  313. package/dist/paragraph/stencil.js +1 -1
  314. package/dist/separator/stencil.d.ts +3 -0
  315. package/dist/separator/stencil.js +1 -1
  316. package/dist/templates/contact-card-template/stencil.d.ts +3 -0
  317. package/dist/templates/contact-card-template/stencil.js +31 -0
  318. package/dist/textbox/stencil.d.ts +23 -0
  319. package/dist/textbox/stencil.js +87 -0
  320. package/dist/types/breadcrumb/stencil.d.ts +5 -0
  321. package/dist/types/button/stencil.d.ts +6 -0
  322. package/dist/types/checkbox/stencil.d.ts +16 -0
  323. package/dist/types/components.d.ts +583 -0
  324. package/dist/types/digid-button/stencil.d.ts +9 -0
  325. package/dist/types/digid-logo/stencil.d.ts +8 -0
  326. package/dist/types/eherkenning-logo/stencil.d.ts +8 -0
  327. package/dist/types/eidas-logo/stencil.d.ts +8 -0
  328. package/dist/types/form-field-checkbox/stencil.d.ts +18 -0
  329. package/dist/types/form-field-description/stencil.d.ts +8 -0
  330. package/dist/types/form-field-textarea/stencil.d.ts +18 -0
  331. package/dist/types/form-field-textbox/stencil.d.ts +23 -0
  332. package/dist/types/form-toggle/stencil.d.ts +14 -0
  333. package/dist/types/heading-1/stencil.d.ts +3 -0
  334. package/dist/types/heading-2/stencil.d.ts +3 -0
  335. package/dist/types/heading-3/stencil.d.ts +3 -0
  336. package/dist/types/heading-4/stencil.d.ts +3 -0
  337. package/dist/types/heading-5/stencil.d.ts +3 -0
  338. package/dist/types/heading-6/stencil.d.ts +3 -0
  339. package/dist/types/icon/arrow.stencil.d.ts +3 -0
  340. package/dist/types/icon/cross.stencil.d.ts +3 -0
  341. package/dist/types/icon/facebook.stencil.d.ts +3 -0
  342. package/dist/types/icon/filter.stencil.d.ts +3 -0
  343. package/dist/types/icon/instagram.stencil.d.ts +3 -0
  344. package/dist/types/icon/linkedin.stencil.d.ts +3 -0
  345. package/dist/types/icon/list.stencil.d.ts +3 -0
  346. package/dist/types/icon/loupe.stencil.d.ts +3 -0
  347. package/dist/types/icon/twitter.stencil.d.ts +3 -0
  348. package/dist/types/icon/whatsapp.stencil.d.ts +3 -0
  349. package/dist/types/icon/zoomin.stencil.d.ts +3 -0
  350. package/dist/types/icon/zoomout.stencil.d.ts +3 -0
  351. package/dist/types/logo/stencil.d.ts +7 -0
  352. package/dist/types/logo-button/stencil.d.ts +9 -0
  353. package/dist/types/navigatie sidenav/stencil.d.ts +4 -0
  354. package/dist/types/pagination/stencil.d.ts +11 -0
  355. package/dist/types/stencil-public-runtime.d.ts +183 -182
  356. package/dist/types/templates/contact-card-template/stencil.d.ts +3 -0
  357. package/dist/types/textbox/stencil.d.ts +23 -0
  358. package/dist/utrecht/p-023706f2.entry.js +1 -0
  359. package/dist/utrecht/p-03fb5385.entry.js +1 -0
  360. package/dist/utrecht/p-0b5df266.entry.js +1 -0
  361. package/dist/utrecht/p-13e4e5e9.entry.js +1 -0
  362. package/dist/utrecht/p-17bfa2b7.js +1 -0
  363. package/dist/utrecht/p-201a5ed5.entry.js +1 -0
  364. package/dist/utrecht/p-22ccf8ac.entry.js +1 -0
  365. package/dist/utrecht/p-307b38ed.entry.js +1 -0
  366. package/dist/utrecht/p-3ba93737.entry.js +1 -0
  367. package/dist/utrecht/p-3f4d1a2b.entry.js +1 -0
  368. package/dist/utrecht/p-48e2e522.entry.js +1 -0
  369. package/dist/utrecht/p-56879b89.entry.js +1 -0
  370. package/dist/utrecht/p-5a8cd573.entry.js +1 -0
  371. package/dist/utrecht/p-5b773973.entry.js +1 -0
  372. package/dist/utrecht/p-6a91f1ce.entry.js +1 -0
  373. package/dist/utrecht/p-7155ba3f.entry.js +1 -0
  374. package/dist/utrecht/p-75a89b75.entry.js +1 -0
  375. package/dist/utrecht/p-75f9997b.entry.js +1 -0
  376. package/dist/utrecht/p-7d114163.entry.js +1 -0
  377. package/dist/utrecht/p-837a6fdf.entry.js +1 -0
  378. package/dist/utrecht/p-8b7d7a03.entry.js +1 -0
  379. package/dist/utrecht/p-929780fe.entry.js +1 -0
  380. package/dist/utrecht/p-946a03ad.entry.js +1 -0
  381. package/dist/utrecht/p-979138fb.entry.js +1 -0
  382. package/dist/utrecht/p-a7272f16.entry.js +1 -0
  383. package/dist/utrecht/p-a8f492ae.entry.js +1 -0
  384. package/dist/utrecht/p-b1425686.entry.js +1 -0
  385. package/dist/utrecht/p-b4185f2c.entry.js +1 -0
  386. package/dist/utrecht/p-bb7ee7c6.entry.js +1 -0
  387. package/dist/utrecht/p-c2699171.entry.js +1 -0
  388. package/dist/utrecht/p-c3c6dd79.entry.js +1 -0
  389. package/dist/utrecht/p-c69cf3b0.entry.js +1 -0
  390. package/dist/utrecht/p-ca5a1b8b.entry.js +1 -0
  391. package/dist/utrecht/p-d0a14420.entry.js +1 -0
  392. package/dist/utrecht/p-d27583eb.entry.js +1 -0
  393. package/dist/utrecht/p-d2a8967c.entry.js +1 -0
  394. package/dist/utrecht/p-d8528c00.entry.js +1 -0
  395. package/dist/utrecht/p-d9794f59.entry.js +1 -0
  396. package/dist/utrecht/p-df90175a.entry.js +1 -0
  397. package/dist/utrecht/{p-059d8057.entry.js → p-e9ed28bc.entry.js} +1 -1
  398. package/dist/utrecht/p-ea287a6a.entry.js +1 -0
  399. package/dist/utrecht/p-eac56ee3.entry.js +1 -0
  400. package/dist/utrecht/p-f71978aa.entry.js +1 -0
  401. package/dist/utrecht/p-f8291871.entry.js +1 -0
  402. package/dist/utrecht/utrecht.esm.js +1 -1
  403. package/package.json +15 -7
  404. package/dist/cjs/utrecht-button.cjs.entry.js +0 -20
  405. package/dist/cjs/utrecht-paragraph.cjs.entry.js +0 -20
  406. package/dist/esm/utrecht-button.entry.js +0 -16
  407. package/dist/esm/utrecht-paragraph.entry.js +0 -16
  408. package/dist/utrecht/p-031700e7.entry.js +0 -1
  409. package/dist/utrecht/p-031d1e42.entry.js +0 -1
  410. package/dist/utrecht/p-26a456e1.entry.js +0 -1
  411. package/dist/utrecht/p-487bef55.entry.js +0 -1
  412. package/dist/utrecht/p-5eab253d.entry.js +0 -1
  413. package/dist/utrecht/p-6202d2cd.entry.js +0 -1
  414. package/dist/utrecht/p-634c1974.js +0 -1
  415. package/dist/utrecht/p-79c79abf.entry.js +0 -1
  416. package/dist/utrecht/p-d80edc6f.entry.js +0 -1
  417. package/dist/utrecht/p-dbb6d147.entry.js +0 -1
  418. package/dist/utrecht/p-dd661d2b.entry.js +0 -1
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-04d7da5a.js');
5
+ const index = require('./index-b96d9af7.js');
6
6
 
7
- const bemCss = ".utrecht-page-footer{font-family:var(--utrecht-document-font-family);font-size:var(--utrecht-document-font-size);background-color:var(--utrecht-page-footer-background-color);background-image:var(--utrecht-page-footer-background-image);color:var(--utrecht-page-footer-color);padding-block-start:var(--utrecht-page-footer-padding-block-start);padding-inline-end:var(--utrecht-page-footer-padding-inline-end);padding-block-end:var(--utrecht-page-footer-padding-block-end);padding-inline-start:var(--utrecht-page-footer-padding-inline-start);--utrecht-document-color:currentColor;--utrecht-heading-color:currentColor;--utrecht-link-color:currentColor;--utrecht-link-focus-color:currentColor;--utrecht-link-hover-color:currentColor;--utrecht-link-active-color:currentColor;--utrecht-link-visited-color:currentColor}.utrecht-page-footer__address--reset-address{font-style:inherit;margin-block-start:0;margin-block-end:0}";
7
+ const stencilCss = ".utrecht-page-footer{--utrecht-document-color:currentColor;--utrecht-heading-color:currentColor;--utrecht-link-color:currentColor;--utrecht-link-focus-color:currentColor;--utrecht-link-hover-color:currentColor;--utrecht-link-active-color:currentColor;--utrecht-link-visited-color:currentColor;background-color:var(--utrecht-page-footer-background-color);background-image:var(--utrecht-page-footer-background-image);color:var(--utrecht-page-footer-color);font-family:var(--utrecht-document-font-family);font-size:var(--utrecht-document-font-size);padding-block-end:var(--utrecht-page-footer-padding-block-end);padding-block-start:var(--utrecht-page-footer-padding-block-start);padding-inline-end:var(--utrecht-page-footer-padding-inline-end);padding-inline-start:var(--utrecht-page-footer-padding-inline-start)}.utrecht-page-footer__address--reset-address{font-style:inherit;margin-block-end:0;margin-block-start:0}:host{display:block}:host([hidden]){display:none !important}";
8
8
 
9
9
  const PageFooter = class {
10
10
  constructor(hostRef) {
@@ -14,6 +14,6 @@ const PageFooter = class {
14
14
  return (index.h("footer", { class: "utrecht-page-footer" }, index.h("slot", null)));
15
15
  }
16
16
  };
17
- PageFooter.style = bemCss;
17
+ PageFooter.style = stencilCss;
18
18
 
19
19
  exports.utrecht_page_footer = PageFooter;
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-b96d9af7.js');
6
+ const clsx_m = require('./clsx.m-b00fa5e1.js');
7
+
8
+ const stencilCss = ".utrecht-pagination{font-family:var(--utrecht-pagination-font-family, var(--utrecht-document-font-family));font-size:var(--utrecht-pagination-font-size, var(--utrecht-document-font-family))}.utrecht-pagination--distanced{margin-block-end:var(--utrecht-pagination-margin-block-end);margin-block-start:var(--utrecht-pagination-margin-block-start)}.utrecht-pagination__relative-link{background-color:var(--utrecht-pagination-relative-link-background-color);border-color:var(--utrecht-pagination-relative-link-border-color);border-radius:var(--utrecht-pagination-relative-link-border-radius);border-style:solid;border-width:var(--utrecht-pagination-relative-link-border-width, 0);color:var(--utrecht-pagination-relative-link-color);display:inline-block;font-weight:var(--utrecht-pagination-relative-link-font-weight);padding-block-end:var(--utrecht-pagination-relative-link-padding-block-end);padding-block-start:var(--utrecht-pagination-relative-link-padding-block-start);padding-inline-end:var(--utrecht-pagination-relative-link-padding-inline-end);padding-inline-start:var(--utrecht-pagination-relative-link-padding-inline-start);text-decoration:var(--utrecht-pagination-relative-link-text-decoration);text-transform:var(--utrecht-pagination-relative-link-text-transform)}.utrecht-pagination__relative-link--next{margin-inline-start:var(--utrecht-pagination-relative-link-distanced-margin-inline-start)}.utrecht-pagination__relative-link--prev{margin-inline-end:var(--utrecht-pagination-relative-link-distanced-margin-inline-end)}.utrecht-pagination__relative-link--disabled{background-color:var(--utrecht-pagination-relative-link-disabled-background-color, var(--utrecht-pagination-relative-link-background-color));color:var(--utrecht-pagination-relative-link-disabled-color, var(--utrecht-pagination-relative-link-color))}.utrecht-pagination__relative-link--focus,.utrecht-pagination__relative-link:focus{background-color:var(--utrecht-focus-background-color);box-shadow:0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);color:var(--utrecht-focus-color, inherit);outline-color:var(--utrecht-focus-outline-color, transparent);outline-offset:0;outline-style:var(--utrecht-focus-outline-style, solid);outline-width:var(--utrecht-focus-outline-width, 0)}.utrecht-pagination__relative-link--hover,.utrecht-pagination__relative-link:hover{background-color:var(--utrecht-pagination-relative-link-hover-background-color, var(--utrecht-pagination-relative-link-background-color));border-color:var(--utrecht-pagination-relative-link-hover-border-color, var(--utrecht-pagination-relative-link-border-color));color:var(--utrecht-pagination-relative-link-hover-color, var(--utrecht-pagination-relative-link-color))}.utrecht-pagination__page-link{background-color:var(--utrecht-pagination-page-link-background-color);border-color:var(--utrecht-pagination-page-link-border-color, 0);border-radius:var(--utrecht-pagination-page-link-border-radius);border-style:solid;border-width:var(--utrecht-pagination-page-link-border-width);color:var(--utrecht-pagination-page-link-color);display:inline-block;font-weight:var(--utrecht-pagination-page-link-font-weight);padding-block-end:var(--utrecht-pagination-page-link-padding-block-end);padding-block-start:var(--utrecht-pagination-page-link-padding-block-start);padding-inline-end:var(--utrecht-pagination-page-link-padding-inline-end);padding-inline-start:var(--utrecht-pagination-page-link-padding-inline-start);text-decoration:var(--utrecht-pagination-page-link-text-decoration)}.utrecht-pagination__page-link--current{background-color:var(--utrecht-pagination-page-link-current-background-color);border-color:var(--utrecht-pagination-page-link-current-border-color);color:var(--utrecht-pagination-page-link-current-color)}.utrecht-pagination__page-link--distanced,.utrecht-pagination__page-link~.utrecht-pagination__page-link{margin-inline-start:var(--utrecht-pagination-page-link-distanced-margin-inline-start)}.utrecht-pagination__page-link--hover,.utrecht-pagination__page-link:hover{background-color:var(--utrecht-pagination-page-link-hover-background-color, var(--utrecht-pagination-page-link-background-color));border-color:var(--utrecht-pagination-page-link-hover-border-color, var(--utrecht-pagination-page-link-border-color));color:var(--utrecht-pagination-page-link-hover-color, var(--utrecht-pagination-page-link-color))}.utrecht-pagination__page-link--focus,.utrecht-pagination__page-link:focus{background-color:var(--utrecht-focus-background-color);box-shadow:0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);color:var(--utrecht-focus-color, inherit);outline-color:var(--utrecht-focus-outline-color, transparent);outline-offset:0;outline-style:var(--utrecht-focus-outline-style, solid);outline-width:var(--utrecht-focus-outline-width, 0)}:host{display:block}:host([hidden]){display:none !important}";
9
+
10
+ const Pagination = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ }
14
+ render() {
15
+ const { currentIndex } = this;
16
+ const links = typeof this.links === "string" ? JSON.parse(this.links) : null;
17
+ const next = typeof this.next === "string" ? JSON.parse(this.next) : null;
18
+ const prev = typeof this.prev === "string" ? JSON.parse(this.next) : null;
19
+ const RelativeLink = ({ disabled = false, href = "", rel = null, textContent = "", title = "" }) => disabled ? (index.h("span", { class: clsx_m.clsx("utrecht-pagination__relative-link", disabled && "utrecht-pagination__relative-link--disabled", rel === "next" && "utrecht-pagination__relative-link--next", rel === "prev" && "utrecht-pagination__relative-link--prev"), "aria-label": title || null }, textContent)) : (index.h("a", { href: href, class: clsx_m.clsx("utrecht-pagination__relative-link", disabled && "utrecht-pagination__relative-link--disabled", rel === "next" && "utrecht-pagination__relative-link--next", rel === "prev" && "utrecht-pagination__relative-link--prev"), rel: rel, "aria-label": title || null }, textContent));
20
+ const PageLink = ({ current = false, href = "", rel = null, textContent = "" }) => (index.h("a", { class: clsx_m.clsx("utrecht-pagination__page-link", current && "utrecht-pagination__page-link--current"), href: href, "aria-current": current ? "true" : null, rel: rel }, textContent));
21
+ return (index.h("nav", { class: "utrecht-pagination" }, index.h("span", { class: "utrecht-pagination__before" }, prev ? RelativeLink(Object.assign(Object.assign({}, prev), { rel: "prev", textContent: "Vorige" })) : ""), index.h("span", { role: "group", class: "utrecht-pagination__pages" }, links
22
+ .sort((a, b) => (a.index === b.index ? 0 : a.index > b.index ? 1 : -1))
23
+ .map((link, arrayIndex) => {
24
+ const index = typeof link.index === "number" ? link.index : arrayIndex;
25
+ return Object.assign({ index, current: typeof currentIndex === "number" && index === currentIndex, rel: typeof currentIndex === "number"
26
+ ? index === currentIndex + 1
27
+ ? "next"
28
+ : index === currentIndex - 1
29
+ ? "prev"
30
+ : null
31
+ : null, textContent: link.index || index }, link);
32
+ })
33
+ .map((link) => PageLink(link))), index.h("span", { class: "utrecht-pagination__before" }, next ? RelativeLink(Object.assign(Object.assign({}, next), { rel: "next", textContent: "Volgende" })) : "")));
34
+ }
35
+ };
36
+ Pagination.style = stencilCss;
37
+
38
+ exports.utrecht_pagination = Pagination;
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-04d7da5a.js');
5
+ const index = require('./index-b96d9af7.js');
6
6
 
7
- const bemCss = ".utrecht-separator{border-style:solid;border-color:var(--utrecht-separator-color);border-width:0 0 var(--utrecht-separator-width) 0;margin-block-start:var(--utrecht-separator-margin-block-start);margin-block-end:var(--utrecht-separator-margin-block-end)}";
7
+ const stencilCss = ".utrecht-separator{border-color:var(--utrecht-separator-color);border-style:solid;border-width:0 0 var(--utrecht-separator-block-size) 0}.utrecht-separator--distanced{margin-block-end:var(--utrecht-separator-margin-block-end);margin-block-start:var(--utrecht-separator-margin-block-start)}:host{display:block}:host([hidden]){display:none !important}";
8
8
 
9
9
  const Separator = class {
10
10
  constructor(hostRef) {
@@ -14,6 +14,6 @@ const Separator = class {
14
14
  return index.h("hr", { class: "utrecht-separator" });
15
15
  }
16
16
  };
17
- Separator.style = bemCss;
17
+ Separator.style = stencilCss;
18
18
 
19
19
  exports.utrecht_separator = Separator;
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-b96d9af7.js');
6
+ const clsx_m = require('./clsx.m-b00fa5e1.js');
7
+
8
+ const bemCss = ".utrecht-navhtml{font-family:var(--utrecht-font-family-sans-serif)}.utrecht-sidenav{border-block-end:1px solid var(--utrecht-color-grey-80);border-block-start:1px solid var(--utrecht-color-grey-80);margin-block-end:0;margin-block-start:0;padding-block-end:0;padding-block-start:0;width:13rem}.utrecht-sidenav__list{margin-block-end:0;margin-block-start:0.2rem;padding-block-end:0;padding-block-start:0;padding-inline-start:0}.utrecht-sidenav__list ul{margin-block-end:0;padding-block-end:0;padding-block-start:0;padding-inline-start:1.2rem}.utrecht-sidenav__item,.utrecht-sidenav__sibling__item{list-style:none;margin-inline-start:0;position:relative}.utrecht-sidenav__item:last-child{border-block-end:none}.utrecht-sidenav__item span:not(.utrecht-sidenav__item:last-child span,.utrecht-sidenav__item--has-children span:first-of-type){border-block-end:1px solid var(--utrecht-color-grey-80);display:block;margin-inline-start:var(--utrecht-space-inline-sm)}.utrecht-sidenav__item .utrecht-sidenav__link--has-children{padding-block-end:0}.utrecht-sidenav__child__item{list-style:none}.utrecht-sidenav__link,.utrecht-sidenav__link--sibling{color:var(--utrecht-sidenav-link-color, var(--utrecht-link-color, blue));display:block;margin-inline-start:0;padding-block-end:var(--utrecht-space-block-xs);padding-block-start:var(--utrecht-space-block-xs);padding-inline-end:var(--utrecht-space-inline-3xs);padding-inline-start:var(--utrecht-space-inline-lg);text-decoration:none}.utrecht-sidenav__link--child,.utrecht-sidenav__link--child--current{color:var(--utrecht-sidenav-link-color, var(--utrecht-link-color, blue));display:block;margin-block-end:0;margin-block-start:0;padding-block-end:var(--utrecht-space-block-2xs);padding-block-start:var(--utrecht-space-block-2xs);padding-inline-end:var(--utrecht-space-inline-3xs);padding-inline-start:var(--utrecht-space-inline-lg);text-decoration:none}.utrecht-sidenav__link::before,.utrecht-sidenav__link--sibling::before{background-color:var(--utrecht-sidenav-item-marker-color);left:26px}.utrecht-sidenav__link--current::before{background-color:var(--utrecht-sidenav-link-hover-color);left:27px}.utrecht-sidenav__link::before,.utrecht-sidenav__link--sibling::before,.utrecht-sidenav__item:last-child .utrecht-sidenav__link--current::before{border-radius:100%;box-shadow:0 0 2px 2px #fff;content:\"\";height:8px;overflow:hidden;position:absolute;top:20px;transform:translateY(-50%) translateX(-2.5ch);width:8px;z-index:10}.utrecht-sidenav__link:hover::before,.utrecht-sidenav__link--sibling:hover::before{background-color:var(--utrecht-sidenav-link-hover-color)}.utrecht-sidenav__item a:hover{color:var(--utrecht-sidenav-link-hover-color, var(--utrecht-link-hover-color, red));text-decoration:underline}.utrecht-sidenav__item--current{color:var(--utrecht-sidenav-item-hover-color, var(--utrecht-link-hover-color, red))}.utrecht-sidenav__link::after,.utrecht-sidenav__item:last-child .utrecht-sidenav__link::after{background:var(--utrecht-sidenav-item-marker-color);bottom:0;content:\"\";display:block;left:3px;overflow:hidden;position:absolute;top:-22px;width:3px;z-index:5}.utrecht-sidenav__item:last-child .utrecht-sidenav__link::after,.utrecht-sidenav__link--current::after,.utrecht-sidenav__item--has-children a::after{height:calc(38px + 2px);min-height:38px}.utrecht-sidenav__item:first-child .utrecht-sidenav__link::after{content:\"\";display:none}.utrecht-sidenav__link--current,.utrecht-sidenav__link--child--current{font-weight:var(--utrecht-typography-weight-scale-bold-font-weight)}.utrecht-sidenav__list--child{margin-block-end:0;margin-block-start:0;padding-block-end:0;padding-block-start:0;padding-inline-end:0;padding-inline-start:1.4rem}.utrecht-sidenav__item--child{border:none;list-style:none;position:relative}.utrecht-sidenav__item--child:last-child{border:none}.utrecht-sidenav__link--child::before,.utrecht-sidenav__link--child--current::before{background-color:transparent;border:2px solid var(--utrecht-sidenav-link-color);border-radius:100%;content:\"\";height:4px;left:1.2rem;overflow:hidden;position:absolute;top:16px;transform:translateY(-50%) translateX(-19.5px);width:4px;z-index:10}.utrecht-sidenav__link--child--current::before{background-color:var(--utrecht-sidenav-link-hover-color)}.utrecht-sidenav__link--child:hover::before{background-color:var(--utrecht-sidenav-link-hover-color);border:2px solid var(--utrecht-sidenav-link-hover-color)}.utrecht-sidenav__item--child:first-child .utrecht-sidenav__link--child--current::after,.utrecht-sidenav__link--child::after,.utrecht-sidenav__item .utrecht-sidenav__item--child .utrecht-sidenav__link--child::after,.utrecht-sidenav__item .utrecht-sidenav__link--sibling::after,.utrecht-sidenav__item--sibling:last-child .utrecht-sidenav__link--sibling::after{display:none}.utrecht-sidenav__link:focus,.utrecht-sidenav__link--focus{background-color:var(--utrecht-focus-background-color);box-shadow:0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);color:var(--utrecht-focus-color, inherit);outline-color:var(--utrecht-focus-outline-color, transparent);outline-offset:0;outline-style:var(--utrecht-focus-outline-style, solid);outline-width:var(--utrecht-focus-outline-width, 0)}";
9
+
10
+ const Sidenav = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ }
14
+ render() {
15
+ const items = JSON.parse(this.json);
16
+ return (index.h("nav", { class: "utrecht-sidenav" }, index.h("ul", { class: "utrecht-sidenav__list" }, items.map(({ href, title, current, focus, children, sibling, haschildren }) => (index.h("li", { key: href, class: clsx_m.clsx("utrecht-sidenav__item", sibling && "utrecht-sidenav__item--sibling", haschildren && "utrecht-sidenav__item--has-children") }, index.h("a", { class: clsx_m.clsx("utrecht-sidenav__link", current && "utrecht-sidenav__link--current", focus && "utrecht-sidenav__link--focus", sibling && "utrecht-sidenav__link--sibling", haschildren && "utrecht-sidenav__link--has-children"), href: href }, title), index.h("span", null), children ? (index.h("ul", { class: "utrecht-sidenav__list utrecht-sidenav__list--child" }, children.map(({ href, title, current, focus }) => (index.h("li", { key: href, class: "utrecht-sidenav__item utrecht-sidenav__item--child" }, index.h("a", { class: clsx_m.clsx("utrecht-sidenav__link utrecht-sidenav__link--child", current && "utrecht-sidenav__link--current utrecht-sidenav__link--child--current", focus && "utrecht-sidenav__link--focus"), href: href }, title)))))) : ("")))))));
17
+ }
18
+ };
19
+ Sidenav.style = bemCss;
20
+
21
+ exports.utrecht_sidenav = Sidenav;
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-b96d9af7.js');
6
+ const clsx_m = require('./clsx.m-b00fa5e1.js');
7
+
8
+ const stencilCss = ".utrecht-textbox{background-color:var(--utrecht-textbox-background-color, var(--utrecht-form-input-background-color));border-width:var(--utrecht-textbox-border-width, var(--utrecht-form-input-border-width));border-bottom-width:var(--utrecht-textbox-border-bottom-width, var(--utrecht-textbox-border-width, var(--utrecht-form-input-border-width)));border-color:var(--utrecht-textbox-border-color, var(--utrecht-form-input-border-color));border-radius:var(--utrecht-textbox-border-radius, var(--utrecht-form-input-border-radius, 0));border-style:solid;box-sizing:border-box;color:var(--utrecht-textbox-color, var(--utrecht-form-input-color));font-family:var(--utrecht-textbox-font-family, var(--utrecht-form-input-font-family));font-size:var(--utrecht-textbox-font-size, var(--utrecht-form-input-font-size, 1em));max-inline-size:var(--utrecht-textbox-max-inline-size, var(--utrecht-form-input-max-inline-size));padding-block-end:var(--utrecht-textbox-padding-block-end, var(--utrecht-form-input-padding-block-end));padding-block-start:var(--utrecht-textbox-padding-block-start, var(--utrecht-form-input-padding-block-start));padding-inline-end:var(--utrecht-textbox-padding-inline-end, var(--utrecht-form-input-padding-inline-end));padding-inline-start:var(--utrecht-textbox-padding-inline-start, var(--utrecht-form-input-padding-inline-start));width:100%}.utrecht-textbox--invalid,.utrecht-textbox--html-input:invalid,.utrecht-textbox--html-input[aria-invalid=true]{background-color:var(--utrecht-textbox-invalid-background-color, var(--utrecht-form-input-invalid-background-color, var(--utrecht-textbox-background-color, var(--utrecht-form-input-background-color))));border-color:var(--utrecht-textbox-invalid-border-color, var(--utrecht-form-input-invalid-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-input-border-color))));border-width:var(--utrecht-textbox-invalid-border-width, var(--utrecht-form-input-invalid-border-width, var(--utrecht-textbox-border-width, var(--utrecht-form-input-border-width))))}.utrecht-textbox--disabled,.utrecht-textbox--html-input:disabled{background-color:var(--utrecht-textbox-disabled-background-color, var(--utrecht-form-input-disabled-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-input-background-color))));border-color:var(--utrecht-textbox-disabled-border-color, var(--utrecht-form-input-disabled-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-input-border-color))));color:var(--utrecht-textbox-disabled-color, var(--utrecht-form-input-disabled-color, var(--utrecht-textarea-color, var(--utrecht-form-input-color))));cursor:var(--utrecht-action-disabled-cursor)}.utrecht-textbox--focus,.utrecht-textbox--html-input:focus{background-color:var(--utrecht-focus-background-color);box-shadow:0 0 0 var(--utrecht-focus-box-shadow-spread-radius, 0) var(--utrecht-focus-box-shadow-color, transparent);color:var(--utrecht-focus-color, inherit);outline-color:var(--utrecht-focus-outline-color, transparent);outline-offset:0;outline-style:var(--utrecht-focus-outline-style, solid);outline-width:var(--utrecht-focus-outline-width, 0);background-color:var(--utrecht-textbox-focus-background-color, var(--utrecht-form-input-focus-background-color, var(--utrecht-textarea-background-color, var(--utrecht-form-input-background-color))));border-color:var(--utrecht-textbox-focus-border-color, var(--utrecht-form-input-focus-border-color, var(--utrecht-textarea-border-color, var(--utrecht-form-input-border-color))));color:var(--utrecht-textbox-focus-color, var(--utrecht-form-input-focus-color, var(--utrecht-textarea-color, var(--utrecht-form-input-color))))}.utrecht-textbox--read-only,.utrecht-textbox--html-input:read-only{border-color:var(--utrecht-textbox-read-only-border-color, var(--utrecht-form-input-read-only-border-color, var(--utrecht-textbox-border-color, var(--utrecht-form-input-border-color))));color:var(--utrecht-textbox-read-only-color, var(--utrecht-form-input-read-only-color, var(--utrecht-textbox-color, var(--utrecht-form-input-color))))}.utrecht-textbox__placeholder,.utrecht-textbox--html-input::placeholder{color:var(--utrecht-textbox-placeholder-color, var(--utrecht-form-input-placeholder-color, var(--utrecht-textbox-color, var(--utrecht-form-input-color))));opacity:100%}:host{display:block}:host([hidden]){display:none !important}";
9
+
10
+ const Textbox = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.utrechtBlur = index.createEvent(this, "utrechtBlur", 7);
14
+ this.utrechtChange = index.createEvent(this, "utrechtChange", 7);
15
+ this.utrechtFocus = index.createEvent(this, "utrechtFocus", 7);
16
+ this.utrechtInput = index.createEvent(this, "utrechtInput", 7);
17
+ this.autoComplete = "";
18
+ this.disabled = false;
19
+ this.invalid = false;
20
+ this.min = "";
21
+ this.max = "";
22
+ this.pattern = "";
23
+ this.placeholder = "";
24
+ this.readOnly = false;
25
+ this.required = false;
26
+ this.type = "";
27
+ this.value = "";
28
+ }
29
+ render() {
30
+ const { autoComplete, disabled, invalid, min, max, pattern, placeholder, readOnly, required, type, value } = this;
31
+ return (index.h("input", { class: clsx_m.clsx("utrecht-textbox", "utrecht-textbox--html-input", disabled && "utrecht-textbox--disabled", invalid && "utrecht-textbox--invalid", readOnly && "utrecht-textbox--readonly"), type: type || "text", autoComplete: autoComplete ? autoComplete : null, disabled: disabled, min: min ? min : null, max: max ? max : null, pattern: pattern ? pattern : null, placeholder: placeholder || null, readonly: readOnly, required: required, value: value, onBlur: (evt) => this.utrechtBlur.emit(evt), onChange: (evt) => this.utrechtChange.emit(evt), onFocus: (evt) => this.utrechtFocus.emit(evt), onInput: (evt) => {
32
+ this.value = evt.target.value;
33
+ this.utrechtInput.emit(evt);
34
+ } }));
35
+ }
36
+ };
37
+ Textbox.style = stencilCss;
38
+
39
+ exports.utrecht_textbox = Textbox;
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-04d7da5a.js');
3
+ const index = require('./index-b96d9af7.js');
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v2.6.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v2.8.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('utrecht.cjs.js', document.baseURI).href));
@@ -15,5 +15,5 @@ const patchBrowser = () => {
15
15
  };
16
16
 
17
17
  patchBrowser().then(options => {
18
- return index.bootstrapLazy([["utrecht-article.cjs",[[1,"utrecht-article"]]],["utrecht-badge-counter.cjs",[[1,"utrecht-badge-counter",{"value":[2],"max":[2],"locale":[1]}]]],["utrecht-badge-data.cjs",[[1,"utrecht-badge-data"]]],["utrecht-badge-status.cjs",[[1,"utrecht-badge-status",{"status":[1]}]]],["utrecht-button.cjs",[[1,"utrecht-button",{"disabled":[4]}]]],["utrecht-document.cjs",[[1,"utrecht-document"]]],["utrecht-heading.cjs",[[1,"utrecht-heading",{"level":[2]}]]],["utrecht-html-content.cjs",[[4,"utrecht-html-content"]]],["utrecht-page-footer.cjs",[[1,"utrecht-page-footer"]]],["utrecht-paragraph.cjs",[[1,"utrecht-paragraph",{"lead":[4]}]]],["utrecht-separator.cjs",[[1,"utrecht-separator"]]]], options);
18
+ return index.bootstrapLazy([["utrecht-contact-card-template.cjs",[[1,"utrecht-contact-card-template"]]],["utrecht-digid-button.cjs",[[1,"utrecht-digid-button",{"type":[1]}]]],["utrecht-logo-button.cjs",[[1,"utrecht-logo-button",{"type":[1]}]]],["utrecht-article.cjs",[[1,"utrecht-article"]]],["utrecht-badge-counter.cjs",[[1,"utrecht-badge-counter",{"value":[2],"max":[2],"locale":[1]}]]],["utrecht-badge-data.cjs",[[1,"utrecht-badge-data"]]],["utrecht-badge-status.cjs",[[1,"utrecht-badge-status",{"status":[1]}]]],["utrecht-breadcrumb.cjs",[[1,"utrecht-breadcrumb",{"json":[1],"variant":[1]}]]],["utrecht-checkbox.cjs",[[1,"utrecht-checkbox",{"disabled":[516],"readOnly":[516,"readonly"],"checked":[4],"value":[1]}]]],["utrecht-document.cjs",[[1,"utrecht-document"]]],["utrecht-eherkenning-logo.cjs",[[1,"utrecht-eherkenning-logo"]]],["utrecht-eidas-logo.cjs",[[1,"utrecht-eidas-logo"]]],["utrecht-form-field-checkbox.cjs",[[1,"utrecht-form-field-checkbox",{"label":[4],"disabled":[516],"checked":[516],"invalid":[516],"required":[516],"value":[32]}]]],["utrecht-form-field-description.cjs",[[1,"utrecht-form-field-description",{"status":[513]}]]],["utrecht-form-field-textarea.cjs",[[1,"utrecht-form-field-textarea",{"disabled":[516],"invalid":[516],"readOnly":[516,"readonly"],"placeholder":[1],"required":[516],"value":[1]}]]],["utrecht-form-field-textbox.cjs",[[1,"utrecht-form-field-textbox",{"autoComplete":[513,"autocomplete"],"disabled":[516],"invalid":[516],"min":[1],"max":[1],"pattern":[1],"placeholder":[1],"readOnly":[516,"readonly"],"required":[516],"type":[513],"value":[1]}]]],["utrecht-form-toggle.cjs",[[1,"utrecht-form-toggle",{"disabled":[516],"checked":[516]}]]],["utrecht-heading.cjs",[[1,"utrecht-heading",{"level":[2]}]]],["utrecht-heading-1.cjs",[[1,"utrecht-heading-1"]]],["utrecht-heading-4.cjs",[[1,"utrecht-heading-4"]]],["utrecht-heading-5.cjs",[[1,"utrecht-heading-5"]]],["utrecht-heading-6.cjs",[[1,"utrecht-heading-6"]]],["utrecht-html-content.cjs",[[4,"utrecht-html-content"]]],["utrecht-icon-arrow.cjs",[[1,"utrecht-icon-arrow"]]],["utrecht-icon-cross.cjs",[[1,"utrecht-icon-cross"]]],["utrecht-icon-facebook.cjs",[[1,"utrecht-icon-facebook"]]],["utrecht-icon-filter.cjs",[[1,"utrecht-icon-filter"]]],["utrecht-icon-instagram.cjs",[[1,"utrecht-icon-instagram"]]],["utrecht-icon-linkedin.cjs",[[1,"utrecht-icon-linkedin"]]],["utrecht-icon-list.cjs",[[1,"utrecht-icon-list"]]],["utrecht-icon-loupe.cjs",[[1,"utrecht-icon-loupe"]]],["utrecht-icon-twitter.cjs",[[1,"utrecht-icon-twitter"]]],["utrecht-icon-whatsapp.cjs",[[1,"utrecht-icon-whatsapp"]]],["utrecht-icon-zoomin.cjs",[[1,"utrecht-icon-zoomin"]]],["utrecht-icon-zoomout.cjs",[[1,"utrecht-icon-zoomout"]]],["utrecht-logo.cjs",[[1,"utrecht-logo"]]],["utrecht-page-footer.cjs",[[1,"utrecht-page-footer"]]],["utrecht-pagination.cjs",[[1,"utrecht-pagination",{"links":[1],"next":[1],"prev":[1],"currentIndex":[2,"current-index"]}]]],["utrecht-separator.cjs",[[1,"utrecht-separator"]]],["utrecht-sidenav.cjs",[[1,"utrecht-sidenav",{"json":[1]}]]],["utrecht-textbox.cjs",[[1,"utrecht-textbox",{"autoComplete":[513,"autocomplete"],"disabled":[516],"invalid":[516],"min":[1],"max":[1],"pattern":[1],"placeholder":[1],"readOnly":[516,"readonly"],"required":[516],"type":[513],"value":[1]}]]],["utrecht-heading-2_3.cjs",[[1,"utrecht-heading-2"],[1,"utrecht-heading-3"],[1,"utrecht-paragraph",{"lead":[4]}]]],["utrecht-button_2.cjs",[[1,"utrecht-button",{"busy":[4],"disabled":[4],"type":[1]}],[1,"utrecht-digid-logo"]]]], options);
19
19
  });
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+
6
+ import clsx from 'clsx';
7
+
8
+ export const defaultArgs = {
9
+ current: false,
10
+ hreflang: '',
11
+ lang: '',
12
+ textContent: '',
13
+ title: '',
14
+ };
15
+
16
+ export const AlternateLangLink = ({ textContent = '', title = '', current = false, lang = '', hreflang = '' }) =>
17
+ `<a href="https://example.com/${lang}/" class="${clsx('utrecht-link', 'utrecht-link--alternate-lang', {
18
+ 'utrecht-link--current-lang': current,
19
+ })}"${current ? ' aria-current="page"' : ''}${title ? ` title="${title}"` : ''}${
20
+ hreflang ? ` hreflang="${hreflang}"` : ''
21
+ }${lang ? ` lang="${lang}"` : ''}${!current ? ' rel="alternate"' : ''}>${textContent}</a>`;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Gemeente Utrecht
4
+ * Copyright (c) 2021 Robbert Broersma
5
+ */
6
+
7
+ import { AlternateLangLink } from '../alternate-lang-link/bem';
8
+
9
+ export const AlternateLangNav = ({ languages }) =>
10
+ `<div class="utrecht-alternate-lang-nav">
11
+ ${languages.map(AlternateLangLink).join('\n<span aria-hidden="true"> | </span>\n')}
12
+ </div>`;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+
6
+ export const Article = ({ content }) => `<div class="utrecht-article">${content}</div>`;
@@ -2,7 +2,18 @@
2
2
  * @license EUPL-1.2
3
3
  * Copyright (c) 2021 Robbert Broersma
4
4
  */
5
-
5
+ /**
6
+ * @license EUPL-1.2
7
+ * Copyright (c) 2021 Robbert Broersma
8
+ */
6
9
  .utrecht-article {
7
10
  max-inline-size: var(--utrecht-article-max-inline-size);
8
11
  }
12
+
13
+ :host {
14
+ display: block;
15
+ }
16
+
17
+ :host([hidden]) {
18
+ display: none !important;
19
+ }
@@ -7,9 +7,9 @@ export class Article {
7
7
  static get is() { return "utrecht-article"; }
8
8
  static get encapsulation() { return "shadow"; }
9
9
  static get originalStyleUrls() { return {
10
- "$": ["bem.css"]
10
+ "$": ["stencil.scss"]
11
11
  }; }
12
12
  static get styleUrls() { return {
13
- "$": ["bem.css"]
13
+ "$": ["stencil.css"]
14
14
  }; }
15
15
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+
6
+ export const BadgeCounter = ({ textContent = '' }) =>
7
+ `<span class="utrecht-badge-counter"><span class="utrecht-badge-counter__text">${textContent}</span></span>`;
@@ -6,12 +6,17 @@
6
6
  * @license EUPL-1.2
7
7
  * Copyright (c) 2021 Robbert Broersma
8
8
  */
9
+ /**
10
+ * @license EUPL-1.2
11
+ * Copyright (c) 2021 Robbert Broersma
12
+ */
9
13
  .utrecht-badge {
10
14
  background-color: var(--utrecht-badge-background-color, black);
11
15
  border-radius: var(--utrecht-badge-border-radius, 0.5ch);
12
16
  color: var(--utrecht-badge-color, white);
13
17
  display: inline-block;
14
18
  font-family: var(--utrecht-document-font-family, sans-serif);
19
+ font-size: var(--utrecht-badge-font-size, inherit);
15
20
  font-style: normal;
16
21
  /* no inheritance */
17
22
  font-weight: var(--utrecht-badge-font-weight, bold);
@@ -40,4 +45,12 @@
40
45
  padding-inline-start: var(--utrecht-badge-counter-padding-inline, var(--utrecht-badge-padding-inline, 0.5ch));
41
46
  text-decoration: none;
42
47
  /* no inheritance */
48
+ }
49
+
50
+ :host {
51
+ display: inline-block;
52
+ }
53
+
54
+ :host([hidden]) {
55
+ display: none !important;
43
56
  }
@@ -14,10 +14,10 @@ export class BadgeCounter {
14
14
  static get is() { return "utrecht-badge-counter"; }
15
15
  static get encapsulation() { return "shadow"; }
16
16
  static get originalStyleUrls() { return {
17
- "$": ["bem.scss"]
17
+ "$": ["stencil.scss"]
18
18
  }; }
19
19
  static get styleUrls() { return {
20
- "$": ["bem.css"]
20
+ "$": ["stencil.css"]
21
21
  }; }
22
22
  static get properties() { return {
23
23
  "value": {
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+
6
+ export const BadgeData = ({ textContent = '' }) => `<div class="utrecht-badge-data">${textContent}</div>`;
@@ -6,12 +6,17 @@
6
6
  * @license EUPL-1.2
7
7
  * Copyright (c) 2021 Robbert Broersma
8
8
  */
9
+ /**
10
+ * @license EUPL-1.2
11
+ * Copyright (c) 2021 Robbert Broersma
12
+ */
9
13
  .utrecht-badge, .utrecht-badge-data {
10
14
  background-color: var(--utrecht-badge-background-color, black);
11
15
  border-radius: var(--utrecht-badge-border-radius, 0.5ch);
12
16
  color: var(--utrecht-badge-color, white);
13
17
  display: inline-block;
14
18
  font-family: var(--utrecht-document-font-family, sans-serif);
19
+ font-size: var(--utrecht-badge-font-size, inherit);
15
20
  font-style: normal;
16
21
  /* no inheritance */
17
22
  font-weight: var(--utrecht-badge-font-weight, bold);
@@ -27,4 +32,12 @@
27
32
  .utrecht-badge-data {
28
33
  letter-spacing: var(--utrecht-badge-data-letter-spacing, inherit);
29
34
  text-transform: var(--utrecht-badge-data-text-transform, inherit);
35
+ }
36
+
37
+ :host {
38
+ display: inline-block;
39
+ }
40
+
41
+ :host([hidden]) {
42
+ display: none !important;
30
43
  }
@@ -11,9 +11,9 @@ export class BadgeData {
11
11
  static get is() { return "utrecht-badge-data"; }
12
12
  static get encapsulation() { return "shadow"; }
13
13
  static get originalStyleUrls() { return {
14
- "$": ["bem.scss"]
14
+ "$": ["stencil.scss"]
15
15
  }; }
16
16
  static get styleUrls() { return {
17
- "$": ["bem.css"]
17
+ "$": ["stencil.css"]
18
18
  }; }
19
19
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+
6
+ export const BadgeStatus = ({ status = '', textContent = '' }) =>
7
+ `<div class="utrecht-badge-status utrecht-badge-status--${status ? status : 'neutral'}">${textContent}</div>`;
@@ -6,12 +6,17 @@
6
6
  * @license EUPL-1.2
7
7
  * Copyright (c) 2021 Robbert Broersma
8
8
  */
9
+ /**
10
+ * @license EUPL-1.2
11
+ * Copyright (c) 2021 Robbert Broersma
12
+ */
9
13
  .utrecht-badge, .utrecht-badge-status {
10
14
  background-color: var(--utrecht-badge-background-color, black);
11
15
  border-radius: var(--utrecht-badge-border-radius, 0.5ch);
12
16
  color: var(--utrecht-badge-color, white);
13
17
  display: inline-block;
14
18
  font-family: var(--utrecht-document-font-family, sans-serif);
19
+ font-size: var(--utrecht-badge-font-size, inherit);
15
20
  font-style: normal;
16
21
  /* no inheritance */
17
22
  font-weight: var(--utrecht-badge-font-weight, bold);
@@ -44,6 +49,11 @@
44
49
  color: var(--utrecht-feedback-safe-fill-color, white);
45
50
  }
46
51
 
52
+ .utrecht-badge-status--neutral {
53
+ background-color: var(--utrecht-feedback-neutral-fill-background-color, black);
54
+ color: var(--utrecht-feedback-neutral-fill-color, white);
55
+ }
56
+
47
57
  .utrecht-badge-status--valid {
48
58
  background-color: var(--utrecht-feedback-valid-fill-background-color, var(--utrecht-feedback-safe-fill-background-color, red));
49
59
  color: var(--utrecht-feedback-valid-fill-color, var(--utrecht-feedback-safe-fill-color, white));
@@ -72,4 +82,12 @@
72
82
  .utrecht-badge-status--inactive {
73
83
  background-color: var(--utrecht-feedback-inactive-fill-background-color, var(--utrecht-feedback-danger-fill-background-color, #ffa600));
74
84
  color: var(--utrecht-feedback-inactive-fill-color, var(--utrecht-feedback-danger-fill-color, white));
85
+ }
86
+
87
+ :host {
88
+ display: inline-block;
89
+ }
90
+
91
+ :host([hidden]) {
92
+ display: none !important;
75
93
  }
@@ -11,10 +11,10 @@ export class BadgeStatus {
11
11
  static get is() { return "utrecht-badge-status"; }
12
12
  static get encapsulation() { return "shadow"; }
13
13
  static get originalStyleUrls() { return {
14
- "$": ["bem.scss"]
14
+ "$": ["stencil.scss"]
15
15
  }; }
16
16
  static get styleUrls() { return {
17
- "$": ["bem.css"]
17
+ "$": ["stencil.css"]
18
18
  }; }
19
19
  static get properties() { return {
20
20
  "status": {
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+
6
+ import clsx from 'clsx';
7
+
8
+ export const defaultArgs = {
9
+ textContent: '',
10
+ attribution: null,
11
+ distanced: false,
12
+ };
13
+
14
+ export const Blockquote = ({ textContent = '', attribution = null, distanced = false }) =>
15
+ `<blockquote class="${clsx('utrecht-blockquote', { 'utrecht-blockquote--distanced': distanced })}">
16
+ <div class="utrecht-blockquote__content">
17
+ <p>${textContent}</p>${
18
+ attribution
19
+ ? `
20
+ <div class="utrecht-blockquote__attribution">${attribution}</div>`
21
+ : ''
22
+ }
23
+ </div>
24
+ </blockquote>`;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+
6
+ import clsx from 'clsx';
7
+
8
+ export const Breadcrumb = ({ items, microdata, variant }) => `<nav class="${clsx(
9
+ 'utrecht-breadcrumb',
10
+ variant === 'arrows' && 'utrecht-breadcrumb--arrows',
11
+ )}">
12
+ <ol class="utrecht-breadcrumb__list"${
13
+ microdata ? ' itemscope itemtype="https://schema.org/BreadcrumbList"' : ''
14
+ }>${items
15
+ .map(
16
+ ({ href, title, current, focus }, index) => `
17
+ <li class="utrecht-breadcrumb__item"${
18
+ microdata ? ' itemscope itemtype="https://schema.org/ListItem" itemprop="itemListElement"' : ''
19
+ }>
20
+ <a class="${clsx(
21
+ 'utrecht-breadcrumb__link',
22
+ focus && 'utrecht-breadcrumb__link--focus',
23
+ 'utrecht-link',
24
+ current && 'utrecht-link--current',
25
+ focus && 'utrecht-link--focus',
26
+ )}" href="${href}"${current ? ' aria-current="location"' : ''}${microdata ? ' itemprop="item"' : ''}>
27
+ <span class="utrecht-breadcrumb__text"${microdata ? ' itemprop="name"' : ''}>${title}</span>
28
+ ${microdata ? `<meta itemprop="position" content="${index + 1}" />` : ''}
29
+ </a>
30
+ </li>`,
31
+ )
32
+ .join('\n')}
33
+ </ol>
34
+ </nav>`;