@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
@@ -13,8 +13,8 @@ const doc = win.document || { head: {} };
13
13
  const plt = {
14
14
  $flags$: 0,
15
15
  $resourcesUrl$: '',
16
- jmp: h => h(),
17
- raf: h => requestAnimationFrame(h),
16
+ jmp: (h) => h(),
17
+ raf: (h) => requestAnimationFrame(h),
18
18
  ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
19
19
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
20
20
  ce: (eventName, opts) => new CustomEvent(eventName, opts),
@@ -23,7 +23,7 @@ const promiseResolve = (v) => Promise.resolve(v);
23
23
  const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
24
24
  try {
25
25
  new CSSStyleSheet();
26
- return typeof (new CSSStyleSheet()).replace === 'function';
26
+ return typeof new CSSStyleSheet().replace === 'function';
27
27
  }
28
28
  catch (e) { }
29
29
  return false;
@@ -117,6 +117,11 @@ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
117
117
  * Don't add values to these!!
118
118
  */
119
119
  const EMPTY_OBJ = {};
120
+ /**
121
+ * Namespaces
122
+ */
123
+ const SVG_NS = 'http://www.w3.org/2000/svg';
124
+ const HTML_NS = 'http://www.w3.org/1999/xhtml';
120
125
  const isDef = (v) => v != null;
121
126
  const isComplexType = (o) => {
122
127
  // https://jsperf.com/typeof-fn-object/5
@@ -136,6 +141,7 @@ const isComplexType = (o) => {
136
141
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
137
142
  const h = (nodeName, vnodeData, ...children) => {
138
143
  let child = null;
144
+ let key = null;
139
145
  let slotName = null;
140
146
  let simple = false;
141
147
  let lastSimple = false;
@@ -164,6 +170,10 @@ const h = (nodeName, vnodeData, ...children) => {
164
170
  };
165
171
  walk(children);
166
172
  if (vnodeData) {
173
+ // normalize class / classname attributes
174
+ if (vnodeData.key) {
175
+ key = vnodeData.key;
176
+ }
167
177
  if (vnodeData.name) {
168
178
  slotName = vnodeData.name;
169
179
  }
@@ -174,7 +184,7 @@ const h = (nodeName, vnodeData, ...children) => {
174
184
  typeof classData !== 'object'
175
185
  ? classData
176
186
  : Object.keys(classData)
177
- .filter(k => classData[k])
187
+ .filter((k) => classData[k])
178
188
  .join(' ');
179
189
  }
180
190
  }
@@ -184,6 +194,9 @@ const h = (nodeName, vnodeData, ...children) => {
184
194
  if (vNodeChildren.length > 0) {
185
195
  vnode.$children$ = vNodeChildren;
186
196
  }
197
+ {
198
+ vnode.$key$ = key;
199
+ }
187
200
  {
188
201
  vnode.$name$ = slotName;
189
202
  }
@@ -200,6 +213,9 @@ const newVNode = (tag, text) => {
200
213
  {
201
214
  vnode.$attrs$ = null;
202
215
  }
216
+ {
217
+ vnode.$key$ = null;
218
+ }
203
219
  {
204
220
  vnode.$name$ = null;
205
221
  }
@@ -218,13 +234,54 @@ const isHost = (node) => node && node.$tag$ === Host;
218
234
  const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
219
235
  if (oldValue !== newValue) {
220
236
  let isProp = isMemberInElement(elm, memberName);
221
- memberName.toLowerCase();
237
+ let ln = memberName.toLowerCase();
222
238
  if (memberName === 'class') {
223
239
  const classList = elm.classList;
224
240
  const oldClasses = parseClassList(oldValue);
225
241
  const newClasses = parseClassList(newValue);
226
- classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));
227
- classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));
242
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
243
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
244
+ }
245
+ else if (memberName === 'key')
246
+ ;
247
+ else if ((!isProp ) &&
248
+ memberName[0] === 'o' &&
249
+ memberName[1] === 'n') {
250
+ // Event Handlers
251
+ // so if the member name starts with "on" and the 3rd characters is
252
+ // a capital letter, and it's not already a member on the element,
253
+ // then we're assuming it's an event listener
254
+ if (memberName[2] === '-') {
255
+ // on- prefixed events
256
+ // allows to be explicit about the dom event to listen without any magic
257
+ // under the hood:
258
+ // <my-cmp on-click> // listens for "click"
259
+ // <my-cmp on-Click> // listens for "Click"
260
+ // <my-cmp on-ionChange> // listens for "ionChange"
261
+ // <my-cmp on-EVENTS> // listens for "EVENTS"
262
+ memberName = memberName.slice(3);
263
+ }
264
+ else if (isMemberInElement(win, ln)) {
265
+ // standard event
266
+ // the JSX attribute could have been "onMouseOver" and the
267
+ // member name "onmouseover" is on the window's prototype
268
+ // so let's add the listener "mouseover", which is all lowercased
269
+ memberName = ln.slice(2);
270
+ }
271
+ else {
272
+ // custom event
273
+ // the JSX attribute could have been "onMyCustomEvent"
274
+ // so let's trim off the "on" prefix and lowercase the first character
275
+ // and add the listener "myCustomEvent"
276
+ // except for the first character, we keep the event name case
277
+ memberName = ln[2] + memberName.slice(3);
278
+ }
279
+ if (oldValue) {
280
+ plt.rel(elm, memberName, oldValue, false);
281
+ }
282
+ if (newValue) {
283
+ plt.ael(elm, memberName, newValue, false);
284
+ }
228
285
  }
229
286
  else {
230
287
  // Set property if it exists and it's not a SVG
@@ -270,7 +327,9 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
270
327
  // if the element passed in is a shadow root, which is a document fragment
271
328
  // then we want to be adding attrs/props to the shadow root's "host" element
272
329
  // if it's not a shadow root, then we add attrs/props to the same element
273
- const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
330
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
331
+ ? newVnode.$elm$.host
332
+ : newVnode.$elm$;
274
333
  const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
275
334
  const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
276
335
  {
@@ -314,11 +373,21 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
314
373
  }
315
374
  else if (newVNode.$flags$ & 1 /* isSlotReference */) {
316
375
  // create a slot reference node
317
- elm = newVNode.$elm$ = doc.createTextNode('');
376
+ elm = newVNode.$elm$ =
377
+ doc.createTextNode('');
318
378
  }
319
379
  else {
380
+ if (!isSvgMode) {
381
+ isSvgMode = newVNode.$tag$ === 'svg';
382
+ }
320
383
  // create element
321
- elm = newVNode.$elm$ = (doc.createElement(newVNode.$flags$ & 2 /* isSlotFallback */ ? 'slot-fb' : newVNode.$tag$));
384
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
385
+ ? 'slot-fb'
386
+ : newVNode.$tag$)
387
+ );
388
+ if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
389
+ isSvgMode = false;
390
+ }
322
391
  // add css classes, attrs, props, listeners, etc.
323
392
  {
324
393
  updateElement(null, newVNode, isSvgMode);
@@ -339,6 +408,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
339
408
  }
340
409
  }
341
410
  }
411
+ {
412
+ if (newVNode.$tag$ === 'svg') {
413
+ // Only reset the SVG context when we're exiting <svg> element
414
+ isSvgMode = false;
415
+ }
416
+ else if (elm.tagName === 'foreignObject') {
417
+ // Reenter SVG context when we're exiting <foreignObject> element
418
+ isSvgMode = true;
419
+ }
420
+ }
342
421
  }
343
422
  {
344
423
  elm['s-hn'] = hostTagName;
@@ -426,6 +505,8 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
426
505
  const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
427
506
  let oldStartIdx = 0;
428
507
  let newStartIdx = 0;
508
+ let idxInOld = 0;
509
+ let i = 0;
429
510
  let oldEndIdx = oldCh.length - 1;
430
511
  let oldStartVnode = oldCh[0];
431
512
  let oldEndVnode = oldCh[oldEndIdx];
@@ -433,6 +514,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
433
514
  let newStartVnode = newCh[0];
434
515
  let newEndVnode = newCh[newEndIdx];
435
516
  let node;
517
+ let elmToMove;
436
518
  while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
437
519
  if (oldStartVnode == null) {
438
520
  // Vnode might have been moved left
@@ -478,7 +560,29 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
478
560
  newStartVnode = newCh[++newStartIdx];
479
561
  }
480
562
  else {
563
+ // createKeyToOldIdx
564
+ idxInOld = -1;
481
565
  {
566
+ for (i = oldStartIdx; i <= oldEndIdx; ++i) {
567
+ if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
568
+ idxInOld = i;
569
+ break;
570
+ }
571
+ }
572
+ }
573
+ if (idxInOld >= 0) {
574
+ elmToMove = oldCh[idxInOld];
575
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
576
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
577
+ }
578
+ else {
579
+ patch(elmToMove, newStartVnode);
580
+ oldCh[idxInOld] = undefined;
581
+ node = elmToMove.$elm$;
582
+ }
583
+ newStartVnode = newCh[++newStartIdx];
584
+ }
585
+ else {
482
586
  // new element
483
587
  node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
484
588
  newStartVnode = newCh[++newStartIdx];
@@ -504,7 +608,9 @@ const isSameVnode = (vnode1, vnode2) => {
504
608
  if (vnode1.$tag$ === 'slot') {
505
609
  return vnode1.$name$ === vnode2.$name$;
506
610
  }
507
- return true;
611
+ {
612
+ return vnode1.$key$ === vnode2.$key$;
613
+ }
508
614
  }
509
615
  return false;
510
616
  };
@@ -524,6 +630,11 @@ const patch = (oldVNode, newVNode) => {
524
630
  const text = newVNode.$text$;
525
631
  let defaultHolder;
526
632
  if (text === null) {
633
+ {
634
+ // test if we're rendering an svg element, or still rendering nodes inside of one
635
+ // only add this to the when the compiler sees we're using an svg somewhere
636
+ isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
637
+ }
527
638
  // element node
528
639
  {
529
640
  if (tag === 'slot')
@@ -552,6 +663,9 @@ const patch = (oldVNode, newVNode) => {
552
663
  // no new child vnodes, but there are old child vnodes to remove
553
664
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
554
665
  }
666
+ if (isSvgMode && tag === 'svg') {
667
+ isSvgMode = false;
668
+ }
555
669
  }
556
670
  else if ((defaultHolder = elm['s-cr'])) {
557
671
  // this element has slotted content
@@ -635,7 +749,7 @@ const relocateSlotContent = (elm) => {
635
749
  // that is suppose to always represent the original content location
636
750
  if (isNodeLocatedInSlot(node, slotNameAttr)) {
637
751
  // it's possible we've already decided to relocate this node
638
- relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
752
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
639
753
  // made some changes to slots
640
754
  // let's make sure we also double check
641
755
  // fallbacks are correctly hidden or shown
@@ -654,9 +768,9 @@ const relocateSlotContent = (elm) => {
654
768
  });
655
769
  }
656
770
  if (node['s-sr']) {
657
- relocateNodes.map(relocateNode => {
771
+ relocateNodes.map((relocateNode) => {
658
772
  if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
659
- relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
773
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
660
774
  if (relocateNodeData && !relocateNode.$slotRefNode$) {
661
775
  relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
662
776
  }
@@ -664,7 +778,7 @@ const relocateSlotContent = (elm) => {
664
778
  });
665
779
  }
666
780
  }
667
- else if (!relocateNodes.some(r => r.$nodeToRelocate$ === node)) {
781
+ else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
668
782
  // so far this element does not have a slot home, not setting slotRefNode on purpose
669
783
  // if we never find a home for this element then we'll need to hide it
670
784
  relocateNodes.push({
@@ -700,6 +814,10 @@ const renderVdom = (hostRef, renderFnResults) => {
700
814
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
701
815
  const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
702
816
  hostTagName = hostElm.tagName;
817
+ if (cmpMeta.$attrsToReflect$) {
818
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
819
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
820
+ }
703
821
  rootVnode.$tag$ = null;
704
822
  rootVnode.$flags$ |= 4 /* isHost */;
705
823
  hostRef.$vnode$ = rootVnode;
@@ -734,7 +852,8 @@ const renderVdom = (hostRef, renderFnResults) => {
734
852
  if (!nodeToRelocate['s-ol']) {
735
853
  // add a reference node marking this node's original location
736
854
  // keep a reference to this node for later lookups
737
- orgLocationNode = doc.createTextNode('');
855
+ orgLocationNode =
856
+ doc.createTextNode('');
738
857
  orgLocationNode['s-nr'] = nodeToRelocate;
739
858
  nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
740
859
  }
@@ -758,7 +877,8 @@ const renderVdom = (hostRef, renderFnResults) => {
758
877
  }
759
878
  }
760
879
  }
761
- if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) || nodeToRelocate.nextSibling !== insertBeforeNode) {
880
+ if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
881
+ nodeToRelocate.nextSibling !== insertBeforeNode) {
762
882
  // we've checked that it's worth while to relocate
763
883
  // since that the node to relocate
764
884
  // has a different next sibling or parent relocated
@@ -790,6 +910,27 @@ const renderVdom = (hostRef, renderFnResults) => {
790
910
  relocateNodes.length = 0;
791
911
  }
792
912
  };
913
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
914
+ const createEvent = (ref, name, flags) => {
915
+ const elm = getElement(ref);
916
+ return {
917
+ emit: (detail) => {
918
+ return emitEvent(elm, name, {
919
+ bubbles: !!(flags & 4 /* Bubbles */),
920
+ composed: !!(flags & 2 /* Composed */),
921
+ cancelable: !!(flags & 1 /* Cancellable */),
922
+ detail,
923
+ });
924
+ },
925
+ };
926
+ };
927
+ /**
928
+ * Helper function to create & dispatch a custom Event on a provided target
929
+ * @param elm the target of the Event
930
+ * @param name the name to give the custom Event
931
+ * @param opts options for configuring a custom Event
932
+ * @returns the custom Event
933
+ */
793
934
  const emitEvent = (elm, name, opts) => {
794
935
  const ev = plt.ce(name, opts);
795
936
  elm.dispatchEvent(ev);
@@ -797,7 +938,7 @@ const emitEvent = (elm, name, opts) => {
797
938
  };
798
939
  const attachToAncestor = (hostRef, ancestorComponent) => {
799
940
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
800
- ancestorComponent['s-p'].push(new Promise(r => (hostRef.$onRenderResolve$ = r)));
941
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
801
942
  }
802
943
  };
803
944
  const scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -839,7 +980,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
839
980
  // ok, so turns out there are some child host elements
840
981
  // waiting on this parent element to load
841
982
  // let's fire off all update callbacks waiting
842
- rc.map(cb => cb());
983
+ rc.map((cb) => cb());
843
984
  elm['s-rc'] = undefined;
844
985
  }
845
986
  endRender();
@@ -931,7 +1072,8 @@ const appDidLoad = (who) => {
931
1072
  const then = (promise, thenFn) => {
932
1073
  return promise && promise.then ? promise.then(thenFn) : thenFn();
933
1074
  };
934
- const addHydratedFlag = (elm) => (elm.classList.add('hydrated') );
1075
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1076
+ ;
935
1077
  const parsePropertyValue = (propValue, propType) => {
936
1078
  // ensure this value is of the correct prop type
937
1079
  if (propValue != null && !isComplexType(propValue)) {
@@ -985,7 +1127,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
985
1127
  const members = Object.entries(cmpMeta.$members$);
986
1128
  const prototype = Cstr.prototype;
987
1129
  members.map(([memberName, [memberFlags]]) => {
988
- if ((memberFlags & 31 /* Prop */ || ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1130
+ if ((memberFlags & 31 /* Prop */ ||
1131
+ ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
989
1132
  // proxyComponent - prop
990
1133
  Object.defineProperty(prototype, memberName, {
991
1134
  get() {
@@ -1006,6 +1149,43 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1006
1149
  prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1007
1150
  plt.jmp(() => {
1008
1151
  const propName = attrNameToPropName.get(attrName);
1152
+ // In a webcomponent lifecyle the attributeChangedCallback runs prior to connectedCallback
1153
+ // in the case where an attribute was set inline.
1154
+ // ```html
1155
+ // <my-component some-attribute="some-value"></my-component>
1156
+ // ```
1157
+ //
1158
+ // There is an edge case where a developer sets the attribute inline on a custom element and then programatically
1159
+ // changes it before it has been upgraded as shown below:
1160
+ //
1161
+ // ```html
1162
+ // <!-- this component has _not_ been upgraded yet -->
1163
+ // <my-component id="test" some-attribute="some-value"></my-component>
1164
+ // <script>
1165
+ // // grab non-upgraded component
1166
+ // el = document.querySelector("#test");
1167
+ // el.someAttribute = "another-value";
1168
+ // // upgrade component
1169
+ // cutsomElements.define('my-component', MyComponent);
1170
+ // </script>
1171
+ // ```
1172
+ // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1173
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1174
+ // to the value that was set inline i.e. "some-value" from above example. When
1175
+ // the connectedCallback attempts to unshadow it will use "some-value" as the intial value rather than "another-value"
1176
+ //
1177
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1178
+ // by connectedCallback as this attributeChangedCallback will not fire.
1179
+ //
1180
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1181
+ //
1182
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1183
+ // properties here given that this goes against best practices outlined here
1184
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1185
+ if (this.hasOwnProperty(propName)) {
1186
+ newValue = this[propName];
1187
+ delete this[propName];
1188
+ }
1009
1189
  this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1010
1190
  });
1011
1191
  };
@@ -1016,6 +1196,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1016
1196
  .map(([propName, m]) => {
1017
1197
  const attrName = m[1] || propName;
1018
1198
  attrNameToPropName.set(attrName, propName);
1199
+ if (m[0] & 512 /* ReflectAttr */) {
1200
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1201
+ }
1019
1202
  return attrName;
1020
1203
  });
1021
1204
  }
@@ -1170,7 +1353,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1170
1353
  let isBootstrapping = true;
1171
1354
  Object.assign(plt, options);
1172
1355
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1173
- lazyBundles.map(lazyBundle => lazyBundle[1].map(compactMeta => {
1356
+ lazyBundles.map((lazyBundle) => lazyBundle[1].map((compactMeta) => {
1174
1357
  const cmpMeta = {
1175
1358
  $flags$: compactMeta[0],
1176
1359
  $tagName$: compactMeta[1],
@@ -1180,6 +1363,9 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1180
1363
  {
1181
1364
  cmpMeta.$members$ = compactMeta[2];
1182
1365
  }
1366
+ {
1367
+ cmpMeta.$attrsToReflect$ = [];
1368
+ }
1183
1369
  const tagName = cmpMeta.$tagName$;
1184
1370
  const HostElement = class extends HTMLElement {
1185
1371
  // StencilLazyHost
@@ -1234,7 +1420,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1234
1420
  // Process deferred connectedCallbacks now all components have been registered
1235
1421
  isBootstrapping = false;
1236
1422
  if (deferredConnectedCallbacks.length) {
1237
- deferredConnectedCallbacks.map(host => host.connectedCallback());
1423
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1238
1424
  }
1239
1425
  else {
1240
1426
  {
@@ -1255,7 +1441,7 @@ const registerHost = (elm, cmpMeta) => {
1255
1441
  $instanceValues$: new Map(),
1256
1442
  };
1257
1443
  {
1258
- hostRef.$onReadyPromise$ = new Promise(r => (hostRef.$onReadyResolve$ = r));
1444
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1259
1445
  elm['s-p'] = [];
1260
1446
  elm['s-rc'] = [];
1261
1447
  }
@@ -1276,7 +1462,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1276
1462
  /* webpackInclude: /\.entry\.js$/ */
1277
1463
  /* webpackExclude: /\.system\.entry\.js$/ */
1278
1464
  /* webpackMode: "lazy" */
1279
- `./${bundleId}.entry.js${''}`).then(importedModule => {
1465
+ `./${bundleId}.entry.js${''}`).then((importedModule) => {
1280
1466
  {
1281
1467
  cmpModules.set(bundleId, importedModule);
1282
1468
  }
@@ -1327,4 +1513,4 @@ const flush = () => {
1327
1513
  const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1328
1514
  const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1329
1515
 
1330
- export { bootstrapLazy as b, h, promiseResolve as p, registerInstance as r };
1516
+ export { bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r };
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-7fbac151.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-26eb3bc0.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Esm v2.6.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Esm v2.8.1 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchEsm = () => {
7
7
  return promiseResolve();
@@ -10,7 +10,7 @@ const patchEsm = () => {
10
10
  const defineCustomElements = (win, options) => {
11
11
  if (typeof window === 'undefined') return Promise.resolve();
12
12
  return patchEsm().then(() => {
13
- return bootstrapLazy([["utrecht-article",[[1,"utrecht-article"]]],["utrecht-badge-counter",[[1,"utrecht-badge-counter",{"value":[2],"max":[2],"locale":[1]}]]],["utrecht-badge-data",[[1,"utrecht-badge-data"]]],["utrecht-badge-status",[[1,"utrecht-badge-status",{"status":[1]}]]],["utrecht-button",[[1,"utrecht-button",{"disabled":[4]}]]],["utrecht-document",[[1,"utrecht-document"]]],["utrecht-heading",[[1,"utrecht-heading",{"level":[2]}]]],["utrecht-html-content",[[4,"utrecht-html-content"]]],["utrecht-page-footer",[[1,"utrecht-page-footer"]]],["utrecht-paragraph",[[1,"utrecht-paragraph",{"lead":[4]}]]],["utrecht-separator",[[1,"utrecht-separator"]]]], options);
13
+ return bootstrapLazy([["utrecht-contact-card-template",[[1,"utrecht-contact-card-template"]]],["utrecht-digid-button",[[1,"utrecht-digid-button",{"type":[1]}]]],["utrecht-logo-button",[[1,"utrecht-logo-button",{"type":[1]}]]],["utrecht-article",[[1,"utrecht-article"]]],["utrecht-badge-counter",[[1,"utrecht-badge-counter",{"value":[2],"max":[2],"locale":[1]}]]],["utrecht-badge-data",[[1,"utrecht-badge-data"]]],["utrecht-badge-status",[[1,"utrecht-badge-status",{"status":[1]}]]],["utrecht-breadcrumb",[[1,"utrecht-breadcrumb",{"json":[1],"variant":[1]}]]],["utrecht-checkbox",[[1,"utrecht-checkbox",{"disabled":[516],"readOnly":[516,"readonly"],"checked":[4],"value":[1]}]]],["utrecht-document",[[1,"utrecht-document"]]],["utrecht-eherkenning-logo",[[1,"utrecht-eherkenning-logo"]]],["utrecht-eidas-logo",[[1,"utrecht-eidas-logo"]]],["utrecht-form-field-checkbox",[[1,"utrecht-form-field-checkbox",{"label":[4],"disabled":[516],"checked":[516],"invalid":[516],"required":[516],"value":[32]}]]],["utrecht-form-field-description",[[1,"utrecht-form-field-description",{"status":[513]}]]],["utrecht-form-field-textarea",[[1,"utrecht-form-field-textarea",{"disabled":[516],"invalid":[516],"readOnly":[516,"readonly"],"placeholder":[1],"required":[516],"value":[1]}]]],["utrecht-form-field-textbox",[[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",[[1,"utrecht-form-toggle",{"disabled":[516],"checked":[516]}]]],["utrecht-heading",[[1,"utrecht-heading",{"level":[2]}]]],["utrecht-heading-1",[[1,"utrecht-heading-1"]]],["utrecht-heading-4",[[1,"utrecht-heading-4"]]],["utrecht-heading-5",[[1,"utrecht-heading-5"]]],["utrecht-heading-6",[[1,"utrecht-heading-6"]]],["utrecht-html-content",[[4,"utrecht-html-content"]]],["utrecht-icon-arrow",[[1,"utrecht-icon-arrow"]]],["utrecht-icon-cross",[[1,"utrecht-icon-cross"]]],["utrecht-icon-facebook",[[1,"utrecht-icon-facebook"]]],["utrecht-icon-filter",[[1,"utrecht-icon-filter"]]],["utrecht-icon-instagram",[[1,"utrecht-icon-instagram"]]],["utrecht-icon-linkedin",[[1,"utrecht-icon-linkedin"]]],["utrecht-icon-list",[[1,"utrecht-icon-list"]]],["utrecht-icon-loupe",[[1,"utrecht-icon-loupe"]]],["utrecht-icon-twitter",[[1,"utrecht-icon-twitter"]]],["utrecht-icon-whatsapp",[[1,"utrecht-icon-whatsapp"]]],["utrecht-icon-zoomin",[[1,"utrecht-icon-zoomin"]]],["utrecht-icon-zoomout",[[1,"utrecht-icon-zoomout"]]],["utrecht-logo",[[1,"utrecht-logo"]]],["utrecht-page-footer",[[1,"utrecht-page-footer"]]],["utrecht-pagination",[[1,"utrecht-pagination",{"links":[1],"next":[1],"prev":[1],"currentIndex":[2,"current-index"]}]]],["utrecht-separator",[[1,"utrecht-separator"]]],["utrecht-sidenav",[[1,"utrecht-sidenav",{"json":[1]}]]],["utrecht-textbox",[[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",[[1,"utrecht-heading-2"],[1,"utrecht-heading-3"],[1,"utrecht-paragraph",{"lead":[4]}]]],["utrecht-button_2",[[1,"utrecht-button",{"busy":[4],"disabled":[4],"type":[1]}],[1,"utrecht-digid-logo"]]]], options);
14
14
  });
15
15
  };
16
16
 
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h } from './index-7fbac151.js';
1
+ import { r as registerInstance, h } from './index-26eb3bc0.js';
2
2
 
3
- const bemCss = ".utrecht-article{max-inline-size:var(--utrecht-article-max-inline-size)}";
3
+ const stencilCss = ".utrecht-article{max-inline-size:var(--utrecht-article-max-inline-size)}:host{display:block}:host([hidden]){display:none !important}";
4
4
 
5
5
  const Article = class {
6
6
  constructor(hostRef) {
@@ -10,6 +10,6 @@ const Article = class {
10
10
  return (h("article", { class: "utrecht-article" }, h("slot", null)));
11
11
  }
12
12
  };
13
- Article.style = bemCss;
13
+ Article.style = stencilCss;
14
14
 
15
15
  export { Article as utrecht_article };
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h } from './index-7fbac151.js';
1
+ import { r as registerInstance, h } from './index-26eb3bc0.js';
2
2
 
3
- const bemCss = ".utrecht-badge{background-color:var(--utrecht-badge-background-color, black);border-radius:var(--utrecht-badge-border-radius, 0.5ch);color:var(--utrecht-badge-color, white);display:inline-block;font-family:var(--utrecht-document-font-family, sans-serif);font-style:normal;font-weight:var(--utrecht-badge-font-weight, bold);padding-block-end:var(--utrecht-badge-padding-block, 0.5ex);padding-block-start:var(--utrecht-badge-padding-block, 0.5ex);padding-inline-end:var(--utrecht-badge-padding-inline, 0.5ch);padding-inline-start:var(--utrecht-badge-padding-inline, 0.5ch);text-decoration:none;}.utrecht-badge-counter{background-color:var(--utrecht-badge-counter-background-color, var(--utrecht-badge-background-color, black));border-radius:var(--utrecht-badge-counter-border-radius, var(--utrecht-badge-border-radius, 0.5ch));color:var(--utrecht-badge-counter-color, var(--utrecht-badge-color, white));display:inline-block;font-family:var(--utrecht-document-font-family, sans-serif);font-style:normal;font-weight:var(--utrecht-badge-counter-font-weight, var(--utrecht-badge-font-weight, bold));padding-block-end:var(--utrecht-badge-counter-padding-block, var(--utrecht-badge-padding-block, 0.5ex));padding-block-start:var(--utrecht-badge-counter-padding-block, var(--utrecht-badge-padding-block, 0.5ex));padding-inline-end:var(--utrecht-badge-counter-padding-inline, var(--utrecht-badge-padding-inline, 0.5ch));padding-inline-start:var(--utrecht-badge-counter-padding-inline, var(--utrecht-badge-padding-inline, 0.5ch));text-decoration:none;}";
3
+ const stencilCss = ".utrecht-badge{background-color:var(--utrecht-badge-background-color, black);border-radius:var(--utrecht-badge-border-radius, 0.5ch);color:var(--utrecht-badge-color, white);display:inline-block;font-family:var(--utrecht-document-font-family, sans-serif);font-size:var(--utrecht-badge-font-size, inherit);font-style:normal;font-weight:var(--utrecht-badge-font-weight, bold);padding-block-end:var(--utrecht-badge-padding-block, 0.5ex);padding-block-start:var(--utrecht-badge-padding-block, 0.5ex);padding-inline-end:var(--utrecht-badge-padding-inline, 0.5ch);padding-inline-start:var(--utrecht-badge-padding-inline, 0.5ch);text-decoration:none;}.utrecht-badge-counter{background-color:var(--utrecht-badge-counter-background-color, var(--utrecht-badge-background-color, black));border-radius:var(--utrecht-badge-counter-border-radius, var(--utrecht-badge-border-radius, 0.5ch));color:var(--utrecht-badge-counter-color, var(--utrecht-badge-color, white));display:inline-block;font-family:var(--utrecht-document-font-family, sans-serif);font-style:normal;font-weight:var(--utrecht-badge-counter-font-weight, var(--utrecht-badge-font-weight, bold));padding-block-end:var(--utrecht-badge-counter-padding-block, var(--utrecht-badge-padding-block, 0.5ex));padding-block-start:var(--utrecht-badge-counter-padding-block, var(--utrecht-badge-padding-block, 0.5ex));padding-inline-end:var(--utrecht-badge-counter-padding-inline, var(--utrecht-badge-padding-inline, 0.5ch));padding-inline-start:var(--utrecht-badge-counter-padding-inline, var(--utrecht-badge-padding-inline, 0.5ch));text-decoration:none;}:host{display:inline-block}:host([hidden]){display:none !important}";
4
4
 
5
5
  const BadgeCounter = class {
6
6
  constructor(hostRef) {
@@ -14,6 +14,6 @@ const BadgeCounter = class {
14
14
  return h("div", { class: "utrecht-badge-counter" }, textContent ? textContent : h("slot", null));
15
15
  }
16
16
  };
17
- BadgeCounter.style = bemCss;
17
+ BadgeCounter.style = stencilCss;
18
18
 
19
19
  export { BadgeCounter as utrecht_badge_counter };
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h } from './index-7fbac151.js';
1
+ import { r as registerInstance, h } from './index-26eb3bc0.js';
2
2
 
3
- const bemCss = ".utrecht-badge,.utrecht-badge-data{background-color:var(--utrecht-badge-background-color, black);border-radius:var(--utrecht-badge-border-radius, 0.5ch);color:var(--utrecht-badge-color, white);display:inline-block;font-family:var(--utrecht-document-font-family, sans-serif);font-style:normal;font-weight:var(--utrecht-badge-font-weight, bold);padding-block-end:var(--utrecht-badge-padding-block, 0.5ex);padding-block-start:var(--utrecht-badge-padding-block, 0.5ex);padding-inline-end:var(--utrecht-badge-padding-inline, 0.5ch);padding-inline-start:var(--utrecht-badge-padding-inline, 0.5ch);text-decoration:none;}.utrecht-badge-data{letter-spacing:var(--utrecht-badge-data-letter-spacing, inherit);text-transform:var(--utrecht-badge-data-text-transform, inherit)}";
3
+ const stencilCss = ".utrecht-badge,.utrecht-badge-data{background-color:var(--utrecht-badge-background-color, black);border-radius:var(--utrecht-badge-border-radius, 0.5ch);color:var(--utrecht-badge-color, white);display:inline-block;font-family:var(--utrecht-document-font-family, sans-serif);font-size:var(--utrecht-badge-font-size, inherit);font-style:normal;font-weight:var(--utrecht-badge-font-weight, bold);padding-block-end:var(--utrecht-badge-padding-block, 0.5ex);padding-block-start:var(--utrecht-badge-padding-block, 0.5ex);padding-inline-end:var(--utrecht-badge-padding-inline, 0.5ch);padding-inline-start:var(--utrecht-badge-padding-inline, 0.5ch);text-decoration:none;}.utrecht-badge-data{letter-spacing:var(--utrecht-badge-data-letter-spacing, inherit);text-transform:var(--utrecht-badge-data-text-transform, inherit)}:host{display:inline-block}:host([hidden]){display:none !important}";
4
4
 
5
5
  const BadgeData = class {
6
6
  constructor(hostRef) {
@@ -10,6 +10,6 @@ const BadgeData = class {
10
10
  return (h("div", { class: "utrecht-badge-data" }, h("slot", null)));
11
11
  }
12
12
  };
13
- BadgeData.style = bemCss;
13
+ BadgeData.style = stencilCss;
14
14
 
15
15
  export { BadgeData as utrecht_badge_data };
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h } from './index-7fbac151.js';
1
+ import { r as registerInstance, h } from './index-26eb3bc0.js';
2
2
 
3
- const bemCss = ".utrecht-badge,.utrecht-badge-status{background-color:var(--utrecht-badge-background-color, black);border-radius:var(--utrecht-badge-border-radius, 0.5ch);color:var(--utrecht-badge-color, white);display:inline-block;font-family:var(--utrecht-document-font-family, sans-serif);font-style:normal;font-weight:var(--utrecht-badge-font-weight, bold);padding-block-end:var(--utrecht-badge-padding-block, 0.5ex);padding-block-start:var(--utrecht-badge-padding-block, 0.5ex);padding-inline-end:var(--utrecht-badge-padding-inline, 0.5ch);padding-inline-start:var(--utrecht-badge-padding-inline, 0.5ch);text-decoration:none;}.utrecht-badge-status{letter-spacing:var(--utrecht-badge-status-letter-spacing, inherit);text-transform:var(--utrecht-badge-status-text-transform, inherit)}.utrecht-badge-status--danger{background-color:var(--utrecht-feedback-danger-fill-background-color, red);color:var(--utrecht-feedback-danger-fill-color, white)}.utrecht-badge-status--warning{background-color:var(--utrecht-feedback-warning-fill-background-color, #ffa600);color:var(--utrecht-feedback-warning-fill-color, white)}.utrecht-badge-status--safe{background-color:var(--utrecht-feedback-safe-fill-background-color, green);color:var(--utrecht-feedback-safe-fill-color, white)}.utrecht-badge-status--valid{background-color:var(--utrecht-feedback-valid-fill-background-color, var(--utrecht-feedback-safe-fill-background-color, red));color:var(--utrecht-feedback-valid-fill-color, var(--utrecht-feedback-safe-fill-color, white))}.utrecht-badge-status--invalid{background-color:var(--utrecht-feedback-invalid-fill-background-color, var(--utrecht-feedback-danger-fill-background-color, #ffa600));color:var(--utrecht-feedback-invalid-fill-color, var(--utrecht-feedback-danger-fill-color, white))}.utrecht-badge-status--error{background-color:var(--utrecht-feedback-error-fill-background-color, var(--utrecht-feedback-danger-fill-background-color, #ffa600));color:var(--utrecht-feedback-error-fill-color, var(--utrecht-feedback-danger-fill-color, white))}.utrecht-badge-status--success{background-color:var(--utrecht-feedback-success-fill-background-color, var(--utrecht-feedback-safe-fill-background-color, #ffa600));color:var(--utrecht-feedback-success-fill-color, var(--utrecht-feedback-safe-fill-color, white))}.utrecht-badge-status--active{background-color:var(--utrecht-feedback-active-fill-background-color, var(--utrecht-feedback-safe-fill-background-color, #ffa600));color:var(--utrecht-feedback-active-fill-color, var(--utrecht-feedback-safe-fill-color, white))}.utrecht-badge-status--inactive{background-color:var(--utrecht-feedback-inactive-fill-background-color, var(--utrecht-feedback-danger-fill-background-color, #ffa600));color:var(--utrecht-feedback-inactive-fill-color, var(--utrecht-feedback-danger-fill-color, white))}";
3
+ const stencilCss = ".utrecht-badge,.utrecht-badge-status{background-color:var(--utrecht-badge-background-color, black);border-radius:var(--utrecht-badge-border-radius, 0.5ch);color:var(--utrecht-badge-color, white);display:inline-block;font-family:var(--utrecht-document-font-family, sans-serif);font-size:var(--utrecht-badge-font-size, inherit);font-style:normal;font-weight:var(--utrecht-badge-font-weight, bold);padding-block-end:var(--utrecht-badge-padding-block, 0.5ex);padding-block-start:var(--utrecht-badge-padding-block, 0.5ex);padding-inline-end:var(--utrecht-badge-padding-inline, 0.5ch);padding-inline-start:var(--utrecht-badge-padding-inline, 0.5ch);text-decoration:none;}.utrecht-badge-status{letter-spacing:var(--utrecht-badge-status-letter-spacing, inherit);text-transform:var(--utrecht-badge-status-text-transform, inherit)}.utrecht-badge-status--danger{background-color:var(--utrecht-feedback-danger-fill-background-color, red);color:var(--utrecht-feedback-danger-fill-color, white)}.utrecht-badge-status--warning{background-color:var(--utrecht-feedback-warning-fill-background-color, #ffa600);color:var(--utrecht-feedback-warning-fill-color, white)}.utrecht-badge-status--safe{background-color:var(--utrecht-feedback-safe-fill-background-color, green);color:var(--utrecht-feedback-safe-fill-color, white)}.utrecht-badge-status--neutral{background-color:var(--utrecht-feedback-neutral-fill-background-color, black);color:var(--utrecht-feedback-neutral-fill-color, white)}.utrecht-badge-status--valid{background-color:var(--utrecht-feedback-valid-fill-background-color, var(--utrecht-feedback-safe-fill-background-color, red));color:var(--utrecht-feedback-valid-fill-color, var(--utrecht-feedback-safe-fill-color, white))}.utrecht-badge-status--invalid{background-color:var(--utrecht-feedback-invalid-fill-background-color, var(--utrecht-feedback-danger-fill-background-color, #ffa600));color:var(--utrecht-feedback-invalid-fill-color, var(--utrecht-feedback-danger-fill-color, white))}.utrecht-badge-status--error{background-color:var(--utrecht-feedback-error-fill-background-color, var(--utrecht-feedback-danger-fill-background-color, #ffa600));color:var(--utrecht-feedback-error-fill-color, var(--utrecht-feedback-danger-fill-color, white))}.utrecht-badge-status--success{background-color:var(--utrecht-feedback-success-fill-background-color, var(--utrecht-feedback-safe-fill-background-color, #ffa600));color:var(--utrecht-feedback-success-fill-color, var(--utrecht-feedback-safe-fill-color, white))}.utrecht-badge-status--active{background-color:var(--utrecht-feedback-active-fill-background-color, var(--utrecht-feedback-safe-fill-background-color, #ffa600));color:var(--utrecht-feedback-active-fill-color, var(--utrecht-feedback-safe-fill-color, white))}.utrecht-badge-status--inactive{background-color:var(--utrecht-feedback-inactive-fill-background-color, var(--utrecht-feedback-danger-fill-background-color, #ffa600));color:var(--utrecht-feedback-inactive-fill-color, var(--utrecht-feedback-danger-fill-color, white))}:host{display:inline-block}:host([hidden]){display:none !important}";
4
4
 
5
5
  const BadgeStatus = class {
6
6
  constructor(hostRef) {
@@ -10,6 +10,6 @@ const BadgeStatus = class {
10
10
  return (h("div", { class: `utrecht-badge-status utrecht-badge-status--${this.status}` }, h("slot", null)));
11
11
  }
12
12
  };
13
- BadgeStatus.style = bemCss;
13
+ BadgeStatus.style = stencilCss;
14
14
 
15
15
  export { BadgeStatus as utrecht_badge_status };
@@ -0,0 +1,19 @@
1
+ import { r as registerInstance, h } from './index-26eb3bc0.js';
2
+ import { c as clsx } from './clsx.m-071989db.js';
3
+
4
+ const stencilCss = ".utrecht-breadcrumb{--utrecht-focus-background-color:var(--utrecht-breadcrumb-link-focus-background-color);--utrecht-link-background-color:var(--utrecht-breadcrumb-link-background-color);--utrecht-link-color:var(--utrecht-breadcrumb-link-color);--utrecht-link-focus-color:var(--utrecht-breadcrumb-link-focus-color, var(--utrecht-breadcrumb-link-color));--utrecht-link-focus-text-decoration:var(--utrecht-link-text-decoration);--utrecht-link-hover-color:var(--utrecht-breadcrumb-link-color);--utrecht-link-hover-text-decoration:var(--utrecht-link-text-decoration);--utrecht-link-visited-color:var(--utrecht-breadcrumb-link-color);--utrecht-link-visited-text-decoration:var(--utrecht-link-text-decoration);font-family:var(--utrecht-document-font-family, inherit);font-size:var(--utrecht-breadcrumb-font-size);text-transform:var(--utrecht-document-text-transform, inherit)}.utrecht-breadcrumb__list{block-size:var(--utrecht-breadcrumb-block-size);display:flex}ol.utrecht-breadcrumb__list{list-style:none;margin-block-end:0;margin-block-start:0;padding-inline-start:0}.utrecht-breadcrumb__item{block-size:100%}.utrecht-breadcrumb__link{background-color:var(--utrecht-breadcrumb-link-background-color);display:block;padding-block-end:var(--utrecht-breadcrumb-item-padding-block-end, 8px);padding-block-start:var(--utrecht-breadcrumb-item-padding-block-start, 8px);padding-inline-end:var(--utrecht-breadcrumb-item-padding-inline-end, 8px);padding-inline-start:var(--utrecht-breadcrumb-item-padding-inline-start, 8px)}.utrecht-breadcrumb--arrows{--utrecht-breadcrumb-arrow-size:24px;overflow:hidden}.utrecht-breadcrumb--arrows .utrecht-breadcrumb__link{padding-inline-end:0;position:relative}.utrecht-breadcrumb--arrows .utrecht-breadcrumb__link::after,.utrecht-breadcrumb--arrows .utrecht-breadcrumb__link::before{border-block-end-width:var(--utrecht-breadcrumb-block-size);border-block-start-width:var(--utrecht-breadcrumb-block-size);border-color:transparent;border-style:solid;content:\" \";display:block;height:0;left:100%;margin-block-start:calc(-1 * var(--utrecht-breadcrumb-block-size));position:absolute;top:50%;width:0}.utrecht-breadcrumb--arrows .utrecht-breadcrumb__link::after{border-inline-start-color:var(--utrecht-breadcrumb-link-background-color);border-inline-start-width:var(--utrecht-breadcrumb-arrow-size);z-index:2}.utrecht-breadcrumb--arrows .utrecht-breadcrumb__link::before{border-inline-start-color:var(--utrecht-document-background-color);border-inline-start-width:var(--utrecht-breadcrumb-arrow-size);margin-block-start:calc(-1 * var(--utrecht-breadcrumb-block-size));margin-inline-start:1px;z-index:1}.utrecht-breadcrumb--arrows .utrecht-breadcrumb__link--focus::after,.utrecht-breadcrumb--arrows .utrecht-breadcrumb__link:focus::after{border-inline-start-color:var(--utrecht-breadcrumb-link-focus-background-color)}.utrecht-breadcrumb--arrows .utrecht-breadcrumb__item~.utrecht-breadcrumb__item .utrecht-breadcrumb__link{padding-inline-start:calc( var(--utrecht-breadcrumb-item-padding-inline-start) + var(--utrecht-breadcrumb-arrow-size) )}.utrecht-breadcrumb__item~.utrecht-breadcrumb__item{margin-inline-start:var(--utrecht-breadcrumb-item-divider-inline-size)}.utrecht-link{color:var(--utrecht-link-color, blue);text-decoration:var(--utrecht-link-text-decoration, underline)}.utrecht-link:visited,.utrecht-link--visited{color:var(--utrecht-link-visited-color, var(--utrecht-link-color))}.utrecht-link:hover,.utrecht-link--hover{color:var(--utrecht-link-hover-color, var(--utrecht-link-color));text-decoration:var(--utrecht-link-hover-text-decoration, var(--utrecht-link-text-decoration, underline))}.utrecht-link:active,.utrecht-link--active{color:var(--utrecht-link-active-color, var(--utrecht-link-color))}.utrecht-link:focus,.utrecht-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);color:var(--utrecht-link-focus-color, var(--utrecht-link-color));text-decoration:var(--utrecht-link-focus-text-decoration, var(--utrecht-link-text-decoration, underline))}.utrecht-link--telephone{white-space:nowrap}:host{display:block}:host([hidden]){display:none !important}";
5
+
6
+ const Breadcrumb = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ }
10
+ render() {
11
+ const { json, variant } = this;
12
+ console.log(json);
13
+ const items = json ? JSON.parse(json) : [];
14
+ return (h("nav", { class: clsx("utrecht-breadcrumb", variant === "arrows" && "utrecht-breadcrumb--arrows") }, h("ol", { class: "utrecht-breadcrumb__list", itemscope: true, itemtype: "https://schema.org/BreadcrumbList" }, items.map(({ href, title, current }, index) => (h("li", { key: href, class: "utrecht-breadcrumb__item", itemscope: true, itemtype: "https://schema.org/ListItem", itemprop: "itemListElement" }, h("a", { class: clsx("utrecht-breadcrumb__link", "utrecht-link", current && "utrecht-link--current"), href: href, "aria-current": current ? "location" : null, itemprop: "item" }, h("span", { class: "utrecht-breadcrumb__text", itemprop: "name" }, title), h("meta", { itemprop: "position", content: index + 1 }))))))));
15
+ }
16
+ };
17
+ Breadcrumb.style = stencilCss;
18
+
19
+ export { Breadcrumb as utrecht_breadcrumb };