@utrecht/web-component-library-stencil 1.0.0-alpha.21 → 1.0.0-alpha.212

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 (770) hide show
  1. package/README.md +51 -0
  2. package/dist/cjs/{index-4628fffe.js → index-8c6952a4.js} +266 -74
  3. package/dist/cjs/loader.cjs.js +3 -3
  4. package/dist/cjs/utrecht-article.cjs.entry.js +3 -3
  5. package/dist/cjs/utrecht-backdrop.cjs.entry.js +21 -0
  6. package/dist/cjs/utrecht-badge-counter.cjs.entry.js +5 -5
  7. package/dist/cjs/utrecht-badge-data.cjs.entry.js +3 -3
  8. package/dist/cjs/utrecht-badge-status.cjs.entry.js +4 -4
  9. package/dist/cjs/utrecht-breadcrumb.cjs.entry.js +23 -0
  10. package/dist/cjs/utrecht-button_2.cjs.entry.js +58 -0
  11. package/dist/cjs/utrecht-checkbox.cjs.entry.js +32 -0
  12. package/dist/cjs/utrecht-contact-card-template.cjs.entry.js +19 -0
  13. package/dist/cjs/utrecht-custom-checkbox.cjs.entry.js +52 -0
  14. package/dist/cjs/utrecht-digid-button.cjs.entry.js +19 -0
  15. package/dist/cjs/utrecht-document.cjs.entry.js +3 -3
  16. package/dist/cjs/utrecht-eherkenning-logo.cjs.entry.js +19 -0
  17. package/dist/cjs/utrecht-eidas-logo.cjs.entry.js +19 -0
  18. package/dist/cjs/utrecht-form-field-checkbox.cjs.entry.js +34 -0
  19. package/dist/cjs/utrecht-form-field-description.cjs.entry.js +22 -0
  20. package/dist/cjs/utrecht-form-field-textarea.cjs.entry.js +34 -0
  21. package/dist/cjs/utrecht-form-field-textbox.cjs.entry.js +39 -0
  22. package/dist/cjs/utrecht-form-toggle.cjs.entry.js +48 -0
  23. package/dist/cjs/utrecht-heading-1.cjs.entry.js +19 -0
  24. package/dist/cjs/utrecht-heading-2_3.cjs.entry.js +46 -0
  25. package/dist/cjs/utrecht-heading-4.cjs.entry.js +19 -0
  26. package/dist/cjs/utrecht-heading-5.cjs.entry.js +19 -0
  27. package/dist/cjs/utrecht-heading-6.cjs.entry.js +19 -0
  28. package/dist/cjs/utrecht-heading.cjs.entry.js +3 -3
  29. package/dist/cjs/utrecht-html-content.cjs.entry.js +3 -3
  30. package/dist/cjs/utrecht-icon-afval.cjs.entry.js +19 -0
  31. package/dist/cjs/utrecht-icon-arrow.cjs.entry.js +19 -0
  32. package/dist/cjs/utrecht-icon-checkmark.cjs.entry.js +19 -0
  33. package/dist/cjs/utrecht-icon-cross.cjs.entry.js +19 -0
  34. package/dist/cjs/utrecht-icon-error.cjs.entry.js +19 -0
  35. package/dist/cjs/utrecht-icon-facebook.cjs.entry.js +19 -0
  36. package/dist/cjs/utrecht-icon-filter.cjs.entry.js +19 -0
  37. package/dist/cjs/utrecht-icon-information.cjs.entry.js +19 -0
  38. package/dist/cjs/utrecht-icon-instagram.cjs.entry.js +19 -0
  39. package/dist/cjs/utrecht-icon-linkedin.cjs.entry.js +19 -0
  40. package/dist/cjs/utrecht-icon-list.cjs.entry.js +19 -0
  41. package/dist/cjs/utrecht-icon-loupe.cjs.entry.js +19 -0
  42. package/dist/cjs/utrecht-icon-melding.cjs.entry.js +19 -0
  43. package/dist/cjs/utrecht-icon-paspoort.cjs.entry.js +19 -0
  44. package/dist/cjs/utrecht-icon-rijbewijs.cjs.entry.js +19 -0
  45. package/dist/cjs/utrecht-icon-toeslag.cjs.entry.js +19 -0
  46. package/dist/cjs/utrecht-icon-trouwen.cjs.entry.js +19 -0
  47. package/dist/cjs/utrecht-icon-twitter.cjs.entry.js +19 -0
  48. package/dist/cjs/utrecht-icon-verhuizen.cjs.entry.js +19 -0
  49. package/dist/cjs/utrecht-icon-warning.cjs.entry.js +19 -0
  50. package/dist/cjs/utrecht-icon-whatsapp.cjs.entry.js +19 -0
  51. package/dist/cjs/utrecht-icon-zoomin.cjs.entry.js +19 -0
  52. package/dist/cjs/utrecht-icon-zoomout.cjs.entry.js +19 -0
  53. package/dist/cjs/utrecht-logo-button.cjs.entry.js +19 -0
  54. package/dist/cjs/utrecht-logo.cjs.entry.js +19 -0
  55. package/dist/cjs/utrecht-page-content.cjs.entry.js +19 -0
  56. package/dist/cjs/utrecht-page-footer.cjs.entry.js +3 -3
  57. package/dist/cjs/utrecht-page-header.cjs.entry.js +19 -0
  58. package/dist/cjs/utrecht-page.cjs.entry.js +19 -0
  59. package/dist/cjs/utrecht-pagination.cjs.entry.js +38 -0
  60. package/dist/cjs/utrecht-separator.cjs.entry.js +3 -3
  61. package/dist/cjs/utrecht-sidenav.cjs.entry.js +4 -4
  62. package/dist/cjs/utrecht-textbox.cjs.entry.js +39 -0
  63. package/dist/cjs/utrecht.cjs.js +3 -3
  64. package/dist/collection/alternate-lang-nav/css/template.js +12 -0
  65. package/dist/collection/article/css/template.js +6 -0
  66. package/dist/collection/article/html/template.js +5 -0
  67. package/dist/collection/article/{bem.css → web-component/index.css} +12 -1
  68. package/dist/collection/article/{stencil.js → web-component/index.stencil.js} +3 -3
  69. package/dist/collection/article/web-component/template.js +1 -0
  70. package/dist/collection/backdrop/css/template.js +28 -0
  71. package/dist/collection/backdrop/web-component/index.css +33 -0
  72. package/dist/collection/backdrop/web-component/index.stencil.js +40 -0
  73. package/dist/collection/backdrop/web-component/template.js +17 -0
  74. package/dist/collection/badge-counter/css/template.js +7 -0
  75. package/dist/collection/badge-counter/{bem.css → web-component/index.css} +16 -2
  76. package/dist/collection/badge-counter/{stencil.js → web-component/index.stencil.js} +5 -5
  77. package/dist/collection/badge-counter/web-component/template.js +4 -0
  78. package/dist/collection/badge-data/css/template.js +6 -0
  79. package/dist/collection/badge-data/{bem.css → web-component/index.css} +15 -1
  80. package/dist/collection/badge-data/{stencil.js → web-component/index.stencil.js} +3 -3
  81. package/dist/collection/badge-data/web-component/template.js +1 -0
  82. package/dist/collection/badge-status/css/template.js +7 -0
  83. package/dist/collection/badge-status/{bem.css → web-component/index.css} +20 -1
  84. package/dist/collection/badge-status/{stencil.js → web-component/index.stencil.js} +4 -4
  85. package/dist/collection/badge-status/web-component/template.js +4 -0
  86. package/dist/collection/blockquote/css/template.js +24 -0
  87. package/dist/collection/blockquote/html/template.js +6 -0
  88. package/dist/collection/breadcrumb/css/template.js +41 -0
  89. package/dist/collection/breadcrumb/web-component/index.css +242 -0
  90. package/dist/collection/breadcrumb/web-component/index.stencil.js +62 -0
  91. package/dist/collection/breadcrumb/web-component/template.js +4 -0
  92. package/dist/collection/button/bem.js +37 -0
  93. package/dist/collection/button/html.js +17 -0
  94. package/dist/collection/button/stencil.css +106 -0
  95. package/dist/collection/button/stencil.js +93 -5
  96. package/dist/collection/button-group/css/template.js +13 -0
  97. package/dist/collection/button-link/css/template.js +25 -0
  98. package/dist/collection/checkbox/css/template.js +19 -0
  99. package/dist/collection/checkbox/html/template.js +14 -0
  100. package/dist/collection/checkbox/web-component/index.css +55 -0
  101. package/dist/collection/checkbox/web-component/index.stencil.js +164 -0
  102. package/dist/collection/checkbox/web-component/template.js +8 -0
  103. package/dist/collection/collection-manifest.json +62 -12
  104. package/dist/collection/custom-checkbox/css/template.js +46 -0
  105. package/dist/collection/custom-checkbox/web-component/index.css +184 -0
  106. package/dist/collection/custom-checkbox/web-component/index.stencil.js +205 -0
  107. package/dist/collection/custom-checkbox/web-component/template.js +22 -0
  108. package/dist/collection/digid-button/css/template.js +16 -0
  109. package/dist/collection/digid-button/web-component/index.css +32 -0
  110. package/dist/collection/digid-button/web-component/index.stencil.js +41 -0
  111. package/dist/collection/digid-button/web-component/template.js +1 -0
  112. package/dist/collection/digid-logo/web-component/index.css +18 -0
  113. package/dist/collection/digid-logo/web-component/index.stencil.js +23 -0
  114. package/dist/collection/digid-logo/web-component/template.js +1 -0
  115. package/dist/collection/document/web-component/index.css +33 -0
  116. package/dist/collection/document/{stencil.js → web-component/index.stencil.js} +3 -3
  117. package/dist/collection/document/web-component/template.js +1 -0
  118. package/dist/collection/eherkenning-logo/web-component/index.css +18 -0
  119. package/dist/collection/eherkenning-logo/web-component/index.stencil.js +26 -0
  120. package/dist/collection/eherkenning-logo/web-component/template.js +1 -0
  121. package/dist/collection/eidas-logo/web-component/index.css +18 -0
  122. package/dist/collection/eidas-logo/web-component/index.stencil.js +28 -0
  123. package/dist/collection/eidas-logo/web-component/template.js +1 -0
  124. package/dist/collection/emphasis/css/template.js +19 -0
  125. package/dist/collection/emphasis/html/template.js +20 -0
  126. package/dist/collection/favicon/html/template.js +1 -0
  127. package/dist/collection/form-field-checkbox/css/template.js +10 -0
  128. package/dist/collection/form-field-checkbox/web-component/index.css +106 -0
  129. package/dist/collection/form-field-checkbox/web-component/index.stencil.js +190 -0
  130. package/dist/collection/form-field-checkbox/web-component/template.js +18 -0
  131. package/dist/collection/form-field-checkbox-group/css/template.js +33 -0
  132. package/dist/collection/form-field-description/css/template.js +15 -0
  133. package/dist/collection/form-field-description/web-component/index.css +39 -0
  134. package/dist/collection/form-field-description/web-component/index.stencil.js +44 -0
  135. package/dist/collection/form-field-description/web-component/template.js +4 -0
  136. package/dist/collection/form-field-radio/css/template.js +10 -0
  137. package/dist/collection/form-field-radio-group/css/template.js +20 -0
  138. package/dist/collection/form-field-textarea/web-component/index.css +128 -0
  139. package/dist/collection/form-field-textarea/web-component/index.stencil.js +205 -0
  140. package/dist/collection/form-field-textarea/web-component/template.js +14 -0
  141. package/dist/collection/form-field-textbox/web-component/index.css +135 -0
  142. package/dist/collection/form-field-textbox/web-component/index.stencil.js +300 -0
  143. package/dist/collection/form-field-textbox/web-component/template.js +21 -0
  144. package/dist/collection/form-fieldset/css/template.js +10 -0
  145. package/dist/collection/form-fieldset/html/template.js +12 -0
  146. package/dist/collection/form-label/css/template.js +22 -0
  147. package/dist/collection/form-label/html/template.js +5 -0
  148. package/dist/collection/form-toggle/css/template.js +47 -0
  149. package/dist/collection/form-toggle/web-component/index.css +115 -0
  150. package/dist/collection/form-toggle/web-component/index.stencil.js +148 -0
  151. package/dist/collection/form-toggle/web-component/template.js +7 -0
  152. package/dist/collection/heading/{bem.css → web-component/index.css} +72 -37
  153. package/dist/collection/heading/{stencil.js → web-component/index.stencil.js} +3 -3
  154. package/dist/collection/heading/web-component/template.js +4 -0
  155. package/dist/collection/heading-1/css/template.js +11 -0
  156. package/dist/collection/heading-1/html/template.js +4 -0
  157. package/dist/collection/heading-1/web-component/index.css +34 -0
  158. package/dist/collection/heading-1/web-component/index.stencil.js +15 -0
  159. package/dist/collection/heading-1/web-component/template.js +4 -0
  160. package/dist/collection/heading-2/css/template.js +11 -0
  161. package/dist/collection/heading-2/html/template.js +4 -0
  162. package/dist/collection/heading-2/web-component/index.css +34 -0
  163. package/dist/collection/heading-2/web-component/index.stencil.js +15 -0
  164. package/dist/collection/heading-2/web-component/template.js +4 -0
  165. package/dist/collection/heading-3/css/template.js +11 -0
  166. package/dist/collection/heading-3/html/template.js +4 -0
  167. package/dist/collection/heading-3/web-component/index.css +34 -0
  168. package/dist/collection/heading-3/web-component/index.stencil.js +15 -0
  169. package/dist/collection/heading-3/web-component/template.js +4 -0
  170. package/dist/collection/heading-4/css/template.js +11 -0
  171. package/dist/collection/heading-4/html/template.js +4 -0
  172. package/dist/collection/heading-4/web-component/index.css +34 -0
  173. package/dist/collection/heading-4/web-component/index.stencil.js +15 -0
  174. package/dist/collection/heading-4/web-component/template.js +4 -0
  175. package/dist/collection/heading-5/css/template.js +11 -0
  176. package/dist/collection/heading-5/html/template.js +4 -0
  177. package/dist/collection/heading-5/web-component/index.css +34 -0
  178. package/dist/collection/heading-5/web-component/index.stencil.js +15 -0
  179. package/dist/collection/heading-5/web-component/template.js +4 -0
  180. package/dist/collection/heading-6/css/template.js +11 -0
  181. package/dist/collection/heading-6/html/template.js +4 -0
  182. package/dist/collection/heading-6/web-component/index.css +34 -0
  183. package/dist/collection/heading-6/web-component/index.stencil.js +15 -0
  184. package/dist/collection/heading-6/web-component/template.js +4 -0
  185. package/dist/collection/html-content/stencil.css +1209 -0
  186. package/dist/collection/html-content/stencil.js +3 -3
  187. package/dist/collection/icon/dist/afval.svg +1 -0
  188. package/dist/collection/icon/dist/arrow.svg +1 -0
  189. package/dist/collection/icon/dist/checkmark.svg +1 -0
  190. package/dist/collection/icon/dist/cross.svg +1 -0
  191. package/dist/collection/icon/dist/error.svg +1 -0
  192. package/dist/collection/icon/dist/facebook.svg +1 -0
  193. package/dist/collection/icon/dist/filter.svg +1 -0
  194. package/dist/collection/icon/dist/information.svg +1 -0
  195. package/dist/collection/icon/dist/instagram.svg +1 -0
  196. package/dist/collection/icon/dist/linkedin.svg +1 -0
  197. package/dist/collection/icon/dist/list.svg +1 -0
  198. package/dist/collection/icon/dist/loupe.svg +1 -0
  199. package/dist/collection/icon/dist/melding.svg +1 -0
  200. package/dist/collection/icon/dist/paspoort.svg +1 -0
  201. package/dist/collection/icon/dist/rijbewijs.svg +1 -0
  202. package/dist/collection/icon/dist/toeslag.svg +1 -0
  203. package/dist/collection/icon/dist/trouwen.svg +1 -0
  204. package/dist/collection/icon/dist/twitter.svg +1 -0
  205. package/dist/collection/icon/dist/verhuizen.svg +1 -0
  206. package/dist/collection/icon/dist/warning.svg +1 -0
  207. package/dist/collection/icon/dist/whatsapp.svg +1 -0
  208. package/dist/collection/icon/dist/zoomin.svg +1 -0
  209. package/dist/collection/icon/dist/zoomout.svg +1 -0
  210. package/dist/collection/icon/svg/afval.svg +7 -0
  211. package/dist/collection/icon/svg/arrow.svg +9 -0
  212. package/dist/collection/icon/svg/checkmark.svg +9 -0
  213. package/dist/collection/icon/svg/cross.svg +9 -0
  214. package/dist/collection/icon/svg/error.svg +15 -0
  215. package/dist/collection/icon/svg/facebook.svg +9 -0
  216. package/dist/collection/icon/svg/filter.svg +6 -0
  217. package/dist/collection/icon/svg/information.svg +14 -0
  218. package/dist/collection/icon/svg/instagram.svg +16 -0
  219. package/dist/collection/icon/svg/linkedin.svg +14 -0
  220. package/dist/collection/icon/svg/list.svg +9 -0
  221. package/dist/collection/icon/svg/loupe.svg +11 -0
  222. package/dist/collection/icon/svg/melding.svg +5 -0
  223. package/dist/collection/icon/svg/paspoort.svg +5 -0
  224. package/dist/collection/icon/svg/rijbewijs.svg +8 -0
  225. package/dist/collection/icon/svg/toeslag.svg +5 -0
  226. package/dist/collection/icon/svg/trouwen.svg +4 -0
  227. package/dist/collection/icon/svg/twitter.svg +9 -0
  228. package/dist/collection/icon/svg/verhuizen.svg +9 -0
  229. package/dist/collection/icon/svg/warning.svg +19 -0
  230. package/dist/collection/icon/svg/whatsapp.svg +9 -0
  231. package/dist/collection/icon/svg/zoomin.svg +13 -0
  232. package/dist/collection/icon/svg/zoomout.svg +9 -0
  233. package/dist/collection/icon/web-component/afval.stencil.js +19 -0
  234. package/dist/collection/icon/web-component/arrow.stencil.js +17 -0
  235. package/dist/collection/icon/web-component/checkmark.stencil.js +16 -0
  236. package/dist/collection/icon/web-component/cross.stencil.js +17 -0
  237. package/dist/collection/icon/web-component/error.stencil.js +18 -0
  238. package/dist/collection/icon/web-component/facebook.stencil.js +17 -0
  239. package/dist/collection/icon/web-component/filter.stencil.js +18 -0
  240. package/dist/collection/icon/web-component/index.css +20 -0
  241. package/dist/collection/icon/web-component/information.stencil.js +19 -0
  242. package/dist/collection/icon/web-component/instagram.stencil.js +19 -0
  243. package/dist/collection/icon/web-component/linkedin.stencil.js +18 -0
  244. package/dist/collection/icon/web-component/list.stencil.js +21 -0
  245. package/dist/collection/icon/web-component/loupe.stencil.js +17 -0
  246. package/dist/collection/icon/web-component/melding.stencil.js +17 -0
  247. package/dist/collection/icon/web-component/paspoort.stencil.js +17 -0
  248. package/dist/collection/icon/web-component/rijbewijs.stencil.js +20 -0
  249. package/dist/collection/icon/web-component/template.js +7 -0
  250. package/dist/collection/icon/web-component/toeslag.stencil.js +17 -0
  251. package/dist/collection/icon/web-component/trouwen.stencil.js +16 -0
  252. package/dist/collection/icon/web-component/twitter.stencil.js +17 -0
  253. package/dist/collection/icon/web-component/verhuizen.stencil.js +21 -0
  254. package/dist/collection/icon/web-component/warning.stencil.js +19 -0
  255. package/dist/collection/icon/web-component/whatsapp.stencil.js +17 -0
  256. package/dist/collection/icon/web-component/zoomin.stencil.js +18 -0
  257. package/dist/collection/icon/web-component/zoomout.stencil.js +17 -0
  258. package/dist/collection/link/css/template.js +57 -0
  259. package/dist/collection/link/html/template.js +11 -0
  260. package/dist/collection/link-button/css/template.js +42 -0
  261. package/dist/collection/link-list/css/template.js +10 -0
  262. package/dist/collection/link-social/css/template.js +20 -0
  263. package/dist/collection/logo/css/template.js +33 -0
  264. package/dist/collection/logo/web-component/index.css +33 -0
  265. package/dist/collection/logo/web-component/index.stencil.js +26 -0
  266. package/dist/collection/logo/web-component/template.js +1 -0
  267. package/dist/collection/logo-button/css/template.js +17 -0
  268. package/dist/collection/logo-button/web-component/index.css +31 -0
  269. package/dist/collection/logo-button/web-component/index.stencil.js +41 -0
  270. package/dist/collection/logo-button/web-component/template.js +1 -0
  271. package/dist/collection/mapcontrolbutton/css/template.js +34 -0
  272. package/dist/collection/menulijst/css/template.js +18 -0
  273. package/dist/collection/navigatie sidenav/css/template.js +69 -0
  274. package/dist/collection/navigatie sidenav/web-component/index.css +189 -0
  275. package/dist/collection/navigatie sidenav/web-component/index.stencil.js +45 -0
  276. package/dist/collection/navigatie sidenav/web-component/template.js +1 -0
  277. package/dist/collection/navigatie topnav/css/template.js +26 -0
  278. package/dist/collection/node_modules/@trysound/sax/lib/sax.js +1413 -0
  279. package/dist/collection/node_modules/commander/index.js +2217 -0
  280. package/dist/collection/node_modules/css-tree/data/index.js +103 -0
  281. package/dist/collection/node_modules/css-tree/dist/csstree.js +12606 -0
  282. package/dist/collection/node_modules/css-tree/dist/csstree.min.js +1 -0
  283. package/dist/collection/node_modules/css-tree/lib/common/List.js +576 -0
  284. package/dist/collection/node_modules/css-tree/lib/common/OffsetToLocation.js +91 -0
  285. package/dist/collection/node_modules/css-tree/lib/common/SyntaxError.js +82 -0
  286. package/dist/collection/node_modules/css-tree/lib/common/TokenStream.js +219 -0
  287. package/dist/collection/node_modules/css-tree/lib/common/adopt-buffer.js +10 -0
  288. package/dist/collection/node_modules/css-tree/lib/convertor/create.js +28 -0
  289. package/dist/collection/node_modules/css-tree/lib/convertor/index.js +3 -0
  290. package/dist/collection/node_modules/css-tree/lib/definition-syntax/SyntaxError.js +14 -0
  291. package/dist/collection/node_modules/css-tree/lib/definition-syntax/generate.js +129 -0
  292. package/dist/collection/node_modules/css-tree/lib/definition-syntax/index.js +6 -0
  293. package/dist/collection/node_modules/css-tree/lib/definition-syntax/parse.js +568 -0
  294. package/dist/collection/node_modules/css-tree/lib/definition-syntax/tokenizer.js +55 -0
  295. package/dist/collection/node_modules/css-tree/lib/definition-syntax/walk.js +52 -0
  296. package/dist/collection/node_modules/css-tree/lib/generator/create.js +66 -0
  297. package/dist/collection/node_modules/css-tree/lib/generator/index.js +4 -0
  298. package/dist/collection/node_modules/css-tree/lib/generator/sourceMap.js +95 -0
  299. package/dist/collection/node_modules/css-tree/lib/index.js +1 -0
  300. package/dist/collection/node_modules/css-tree/lib/lexer/Lexer.js +466 -0
  301. package/dist/collection/node_modules/css-tree/lib/lexer/error.js +127 -0
  302. package/dist/collection/node_modules/css-tree/lib/lexer/generic-an-plus-b.js +236 -0
  303. package/dist/collection/node_modules/css-tree/lib/lexer/generic-urange.js +159 -0
  304. package/dist/collection/node_modules/css-tree/lib/lexer/generic.js +585 -0
  305. package/dist/collection/node_modules/css-tree/lib/lexer/index.js +3 -0
  306. package/dist/collection/node_modules/css-tree/lib/lexer/match-graph.js +455 -0
  307. package/dist/collection/node_modules/css-tree/lib/lexer/match.js +639 -0
  308. package/dist/collection/node_modules/css-tree/lib/lexer/prepare-tokens.js +73 -0
  309. package/dist/collection/node_modules/css-tree/lib/lexer/search.js +65 -0
  310. package/dist/collection/node_modules/css-tree/lib/lexer/structure.js +163 -0
  311. package/dist/collection/node_modules/css-tree/lib/lexer/trace.js +79 -0
  312. package/dist/collection/node_modules/css-tree/lib/parser/create.js +304 -0
  313. package/dist/collection/node_modules/css-tree/lib/parser/index.js +4 -0
  314. package/dist/collection/node_modules/css-tree/lib/parser/sequence.js +54 -0
  315. package/dist/collection/node_modules/css-tree/lib/syntax/atrule/font-face.js +8 -0
  316. package/dist/collection/node_modules/css-tree/lib/syntax/atrule/import.js +40 -0
  317. package/dist/collection/node_modules/css-tree/lib/syntax/atrule/index.js +7 -0
  318. package/dist/collection/node_modules/css-tree/lib/syntax/atrule/media.js +12 -0
  319. package/dist/collection/node_modules/css-tree/lib/syntax/atrule/page.js +12 -0
  320. package/dist/collection/node_modules/css-tree/lib/syntax/atrule/supports.js +89 -0
  321. package/dist/collection/node_modules/css-tree/lib/syntax/config/lexer.js +9 -0
  322. package/dist/collection/node_modules/css-tree/lib/syntax/config/mix.js +140 -0
  323. package/dist/collection/node_modules/css-tree/lib/syntax/config/parser.js +25 -0
  324. package/dist/collection/node_modules/css-tree/lib/syntax/config/walker.js +3 -0
  325. package/dist/collection/node_modules/css-tree/lib/syntax/create.js +77 -0
  326. package/dist/collection/node_modules/css-tree/lib/syntax/function/expression.js +7 -0
  327. package/dist/collection/node_modules/css-tree/lib/syntax/function/var.js +43 -0
  328. package/dist/collection/node_modules/css-tree/lib/syntax/index.js +21 -0
  329. package/dist/collection/node_modules/css-tree/lib/syntax/node/AnPlusB.js +297 -0
  330. package/dist/collection/node_modules/css-tree/lib/syntax/node/Atrule.js +107 -0
  331. package/dist/collection/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js +51 -0
  332. package/dist/collection/node_modules/css-tree/lib/syntax/node/AttributeSelector.js +165 -0
  333. package/dist/collection/node_modules/css-tree/lib/syntax/node/Block.js +91 -0
  334. package/dist/collection/node_modules/css-tree/lib/syntax/node/Brackets.js +34 -0
  335. package/dist/collection/node_modules/css-tree/lib/syntax/node/CDC.js +19 -0
  336. package/dist/collection/node_modules/css-tree/lib/syntax/node/CDO.js +19 -0
  337. package/dist/collection/node_modules/css-tree/lib/syntax/node/ClassSelector.js +29 -0
  338. package/dist/collection/node_modules/css-tree/lib/syntax/node/Combinator.js +55 -0
  339. package/dist/collection/node_modules/css-tree/lib/syntax/node/Comment.js +36 -0
  340. package/dist/collection/node_modules/css-tree/lib/syntax/node/Declaration.js +169 -0
  341. package/dist/collection/node_modules/css-tree/lib/syntax/node/DeclarationList.js +49 -0
  342. package/dist/collection/node_modules/css-tree/lib/syntax/node/Dimension.js +29 -0
  343. package/dist/collection/node_modules/css-tree/lib/syntax/node/Function.js +40 -0
  344. package/dist/collection/node_modules/css-tree/lib/syntax/node/Hash.js +26 -0
  345. package/dist/collection/node_modules/css-tree/lib/syntax/node/IdSelector.js +27 -0
  346. package/dist/collection/node_modules/css-tree/lib/syntax/node/Identifier.js +20 -0
  347. package/dist/collection/node_modules/css-tree/lib/syntax/node/MediaFeature.js +76 -0
  348. package/dist/collection/node_modules/css-tree/lib/syntax/node/MediaQuery.js +68 -0
  349. package/dist/collection/node_modules/css-tree/lib/syntax/node/MediaQueryList.js +36 -0
  350. package/dist/collection/node_modules/css-tree/lib/syntax/node/Nth.js +51 -0
  351. package/dist/collection/node_modules/css-tree/lib/syntax/node/Number.js +18 -0
  352. package/dist/collection/node_modules/css-tree/lib/syntax/node/Operator.js +21 -0
  353. package/dist/collection/node_modules/css-tree/lib/syntax/node/Parentheses.js +34 -0
  354. package/dist/collection/node_modules/css-tree/lib/syntax/node/Percentage.js +27 -0
  355. package/dist/collection/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js +61 -0
  356. package/dist/collection/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js +62 -0
  357. package/dist/collection/node_modules/css-tree/lib/syntax/node/Ratio.js +66 -0
  358. package/dist/collection/node_modules/css-tree/lib/syntax/node/Raw.js +87 -0
  359. package/dist/collection/node_modules/css-tree/lib/syntax/node/Rule.js +54 -0
  360. package/dist/collection/node_modules/css-tree/lib/syntax/node/Selector.js +32 -0
  361. package/dist/collection/node_modules/css-tree/lib/syntax/node/SelectorList.js +39 -0
  362. package/dist/collection/node_modules/css-tree/lib/syntax/node/String.js +18 -0
  363. package/dist/collection/node_modules/css-tree/lib/syntax/node/StyleSheet.js +81 -0
  364. package/dist/collection/node_modules/css-tree/lib/syntax/node/TypeSelector.js +53 -0
  365. package/dist/collection/node_modules/css-tree/lib/syntax/node/UnicodeRange.js +173 -0
  366. package/dist/collection/node_modules/css-tree/lib/syntax/node/Url.js +69 -0
  367. package/dist/collection/node_modules/css-tree/lib/syntax/node/Value.js +19 -0
  368. package/dist/collection/node_modules/css-tree/lib/syntax/node/WhiteSpace.js +26 -0
  369. package/dist/collection/node_modules/css-tree/lib/syntax/node/index.js +42 -0
  370. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/common/nth.js +9 -0
  371. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js +9 -0
  372. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js +7 -0
  373. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/dir.js +7 -0
  374. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/has.js +7 -0
  375. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/index.js +12 -0
  376. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/lang.js +7 -0
  377. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/matches.js +1 -0
  378. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/not.js +1 -0
  379. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/nth-child.js +1 -0
  380. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js +1 -0
  381. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js +1 -0
  382. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js +1 -0
  383. package/dist/collection/node_modules/css-tree/lib/syntax/pseudo/slotted.js +7 -0
  384. package/dist/collection/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js +3 -0
  385. package/dist/collection/node_modules/css-tree/lib/syntax/scope/default.js +87 -0
  386. package/dist/collection/node_modules/css-tree/lib/syntax/scope/index.js +5 -0
  387. package/dist/collection/node_modules/css-tree/lib/syntax/scope/selector.js +80 -0
  388. package/dist/collection/node_modules/css-tree/lib/syntax/scope/value.js +5 -0
  389. package/dist/collection/node_modules/css-tree/lib/tokenizer/char-code-definitions.js +249 -0
  390. package/dist/collection/node_modules/css-tree/lib/tokenizer/const.js +40 -0
  391. package/dist/collection/node_modules/css-tree/lib/tokenizer/index.js +591 -0
  392. package/dist/collection/node_modules/css-tree/lib/tokenizer/utils.js +243 -0
  393. package/dist/collection/node_modules/css-tree/lib/utils/clone.js +21 -0
  394. package/dist/collection/node_modules/css-tree/lib/utils/createCustomError.js +17 -0
  395. package/dist/collection/node_modules/css-tree/lib/utils/names.js +104 -0
  396. package/dist/collection/node_modules/css-tree/lib/walker/create.js +284 -0
  397. package/dist/collection/node_modules/css-tree/lib/walker/index.js +4 -0
  398. package/dist/collection/node_modules/mdn-data/api/index.js +3 -0
  399. package/dist/collection/node_modules/mdn-data/css/index.js +8 -0
  400. package/dist/collection/node_modules/mdn-data/index.js +5 -0
  401. package/dist/collection/node_modules/mdn-data/l10n/index.js +3 -0
  402. package/dist/collection/node_modules/source-map/dist/source-map.debug.js +3234 -0
  403. package/dist/collection/node_modules/source-map/dist/source-map.js +3233 -0
  404. package/dist/collection/node_modules/source-map/dist/source-map.min.js +2 -0
  405. package/dist/collection/node_modules/source-map/lib/array-set.js +121 -0
  406. package/dist/collection/node_modules/source-map/lib/base64-vlq.js +140 -0
  407. package/dist/collection/node_modules/source-map/lib/base64.js +67 -0
  408. package/dist/collection/node_modules/source-map/lib/binary-search.js +111 -0
  409. package/dist/collection/node_modules/source-map/lib/mapping-list.js +79 -0
  410. package/dist/collection/node_modules/source-map/lib/quick-sort.js +114 -0
  411. package/dist/collection/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  412. package/dist/collection/node_modules/source-map/lib/source-map-generator.js +425 -0
  413. package/dist/collection/node_modules/source-map/lib/source-node.js +413 -0
  414. package/dist/collection/node_modules/source-map/lib/util.js +488 -0
  415. package/dist/collection/node_modules/source-map/source-map.js +8 -0
  416. package/dist/collection/node_modules/svgo/dist/svgo.browser.js +1 -0
  417. package/dist/collection/node_modules/svgo/lib/css-tools.js +239 -0
  418. package/dist/collection/node_modules/svgo/lib/parser.js +259 -0
  419. package/dist/collection/node_modules/svgo/lib/path.js +347 -0
  420. package/dist/collection/node_modules/svgo/lib/stringifier.js +326 -0
  421. package/dist/collection/node_modules/svgo/lib/style.js +283 -0
  422. package/dist/collection/node_modules/svgo/lib/svgo/coa.js +517 -0
  423. package/dist/collection/node_modules/svgo/lib/svgo/config.js +138 -0
  424. package/dist/collection/node_modules/svgo/lib/svgo/css-class-list.js +72 -0
  425. package/dist/collection/node_modules/svgo/lib/svgo/css-select-adapter.js +120 -0
  426. package/dist/collection/node_modules/svgo/lib/svgo/css-style-declaration.js +232 -0
  427. package/dist/collection/node_modules/svgo/lib/svgo/jsAPI.js +443 -0
  428. package/dist/collection/node_modules/svgo/lib/svgo/plugins.js +109 -0
  429. package/dist/collection/node_modules/svgo/lib/svgo/tools.js +137 -0
  430. package/dist/collection/node_modules/svgo/lib/svgo-node.js +106 -0
  431. package/dist/collection/node_modules/svgo/lib/svgo.js +83 -0
  432. package/dist/collection/node_modules/svgo/lib/xast.js +102 -0
  433. package/dist/collection/node_modules/svgo/plugins/_applyTransforms.js +335 -0
  434. package/dist/collection/node_modules/svgo/plugins/_collections.js +2168 -0
  435. package/dist/collection/node_modules/svgo/plugins/_path.js +816 -0
  436. package/dist/collection/node_modules/svgo/plugins/_transforms.js +379 -0
  437. package/dist/collection/node_modules/svgo/plugins/addAttributesToSVGElement.js +87 -0
  438. package/dist/collection/node_modules/svgo/plugins/addClassesToSVGElement.js +87 -0
  439. package/dist/collection/node_modules/svgo/plugins/cleanupAttrs.js +55 -0
  440. package/dist/collection/node_modules/svgo/plugins/cleanupEnableBackground.js +75 -0
  441. package/dist/collection/node_modules/svgo/plugins/cleanupIDs.js +297 -0
  442. package/dist/collection/node_modules/svgo/plugins/cleanupListOfValues.js +154 -0
  443. package/dist/collection/node_modules/svgo/plugins/cleanupNumericValues.js +113 -0
  444. package/dist/collection/node_modules/svgo/plugins/collapseGroups.js +135 -0
  445. package/dist/collection/node_modules/svgo/plugins/convertColors.js +152 -0
  446. package/dist/collection/node_modules/svgo/plugins/convertEllipseToCircle.js +39 -0
  447. package/dist/collection/node_modules/svgo/plugins/convertPathData.js +1023 -0
  448. package/dist/collection/node_modules/svgo/plugins/convertShapeToPath.js +175 -0
  449. package/dist/collection/node_modules/svgo/plugins/convertStyleToAttrs.js +132 -0
  450. package/dist/collection/node_modules/svgo/plugins/convertTransform.js +432 -0
  451. package/dist/collection/node_modules/svgo/plugins/inlineStyles.js +379 -0
  452. package/dist/collection/node_modules/svgo/plugins/mergePaths.js +104 -0
  453. package/dist/collection/node_modules/svgo/plugins/mergeStyles.js +93 -0
  454. package/dist/collection/node_modules/svgo/plugins/minifyStyles.js +148 -0
  455. package/dist/collection/node_modules/svgo/plugins/moveElemsAttrsToGroup.js +130 -0
  456. package/dist/collection/node_modules/svgo/plugins/moveGroupAttrsToElems.js +62 -0
  457. package/dist/collection/node_modules/svgo/plugins/plugins.js +56 -0
  458. package/dist/collection/node_modules/svgo/plugins/prefixIds.js +241 -0
  459. package/dist/collection/node_modules/svgo/plugins/preset-default.js +80 -0
  460. package/dist/collection/node_modules/svgo/plugins/removeAttributesBySelector.js +99 -0
  461. package/dist/collection/node_modules/svgo/plugins/removeAttrs.js +159 -0
  462. package/dist/collection/node_modules/svgo/plugins/removeComments.js +31 -0
  463. package/dist/collection/node_modules/svgo/plugins/removeDesc.js +41 -0
  464. package/dist/collection/node_modules/svgo/plugins/removeDimensions.js +43 -0
  465. package/dist/collection/node_modules/svgo/plugins/removeDoctype.js +42 -0
  466. package/dist/collection/node_modules/svgo/plugins/removeEditorsNSData.js +68 -0
  467. package/dist/collection/node_modules/svgo/plugins/removeElementsByAttr.js +78 -0
  468. package/dist/collection/node_modules/svgo/plugins/removeEmptyAttrs.js +33 -0
  469. package/dist/collection/node_modules/svgo/plugins/removeEmptyContainers.js +58 -0
  470. package/dist/collection/node_modules/svgo/plugins/removeEmptyText.js +57 -0
  471. package/dist/collection/node_modules/svgo/plugins/removeHiddenElems.js +318 -0
  472. package/dist/collection/node_modules/svgo/plugins/removeMetadata.js +29 -0
  473. package/dist/collection/node_modules/svgo/plugins/removeNonInheritableGroupAttrs.js +38 -0
  474. package/dist/collection/node_modules/svgo/plugins/removeOffCanvasPaths.js +138 -0
  475. package/dist/collection/node_modules/svgo/plugins/removeRasterImages.js +33 -0
  476. package/dist/collection/node_modules/svgo/plugins/removeScriptElement.js +29 -0
  477. package/dist/collection/node_modules/svgo/plugins/removeStyleElement.js +29 -0
  478. package/dist/collection/node_modules/svgo/plugins/removeTitle.js +29 -0
  479. package/dist/collection/node_modules/svgo/plugins/removeUnknownsAndDefaults.js +218 -0
  480. package/dist/collection/node_modules/svgo/plugins/removeUnusedNS.js +61 -0
  481. package/dist/collection/node_modules/svgo/plugins/removeUselessDefs.js +65 -0
  482. package/dist/collection/node_modules/svgo/plugins/removeUselessStrokeAndFill.js +144 -0
  483. package/dist/collection/node_modules/svgo/plugins/removeViewBox.js +51 -0
  484. package/dist/collection/node_modules/svgo/plugins/removeXMLNS.js +30 -0
  485. package/dist/collection/node_modules/svgo/plugins/removeXMLProcInst.js +30 -0
  486. package/dist/collection/node_modules/svgo/plugins/reusePaths.js +113 -0
  487. package/dist/collection/node_modules/svgo/plugins/sortAttrs.js +113 -0
  488. package/dist/collection/node_modules/svgo/plugins/sortDefsChildren.js +60 -0
  489. package/dist/collection/ordered-list/css/template.js +11 -0
  490. package/dist/collection/ordered-list/html/template.js +17 -0
  491. package/dist/collection/page/css/template.js +6 -0
  492. package/dist/collection/page/web-component/index.css +30 -0
  493. package/dist/collection/page/web-component/index.stencil.js +20 -0
  494. package/dist/collection/page/web-component/template.js +5 -0
  495. package/dist/collection/page-content/css/template.js +10 -0
  496. package/dist/collection/page-content/web-component/index.css +31 -0
  497. package/dist/collection/page-content/web-component/index.stencil.js +20 -0
  498. package/dist/collection/page-content/web-component/template.js +1 -0
  499. package/dist/collection/page-footer/css/template.js +7 -0
  500. package/dist/collection/page-footer/{bem.css → web-component/index.css} +30 -12
  501. package/dist/collection/page-footer/{stencil.js → web-component/index.stencil.js} +3 -3
  502. package/dist/collection/page-footer/web-component/template.js +1 -0
  503. package/dist/collection/page-header/css/template.js +6 -0
  504. package/dist/collection/page-header/web-component/index.css +30 -0
  505. package/dist/collection/page-header/web-component/stencil.js +20 -0
  506. package/dist/collection/page-header/web-component/template.js +1 -0
  507. package/dist/collection/pagination/css/template.js +54 -0
  508. package/dist/collection/pagination/web-component/index.css +118 -0
  509. package/dist/collection/pagination/web-component/index.stencil.js +110 -0
  510. package/dist/collection/pagination/web-component/template.js +7 -0
  511. package/dist/collection/paragraph/css/template.js +22 -0
  512. package/dist/collection/paragraph/html/template.js +11 -0
  513. package/dist/collection/paragraph/{bem.css → web-component/index.css} +18 -3
  514. package/dist/collection/paragraph/{stencil.js → web-component/index.stencil.js} +5 -5
  515. package/dist/collection/paragraph/web-component/template.js +12 -0
  516. package/dist/collection/pre-heading/css/template.js +15 -0
  517. package/dist/collection/radio-button/css/template.js +19 -0
  518. package/dist/collection/radio-button/html/template.js +19 -0
  519. package/dist/collection/search-bar/css/template.js +15 -0
  520. package/dist/collection/select/css/template.js +39 -0
  521. package/dist/collection/select/html/template.js +26 -0
  522. package/dist/collection/separator/css/template.js +16 -0
  523. package/dist/collection/separator/html/template.js +4 -0
  524. package/dist/collection/separator/{bem.css → web-component/index.css} +18 -4
  525. package/dist/collection/separator/{stencil.js → web-component/index.stencil.js} +3 -3
  526. package/dist/collection/separator/web-component/template.js +1 -0
  527. package/dist/collection/surface/css/template.js +8 -0
  528. package/dist/collection/table/html/template.js +41 -0
  529. package/dist/collection/templates/contact-card-template/css/template.js +30 -0
  530. package/dist/collection/templates/contact-card-template/web-component/index.css +178 -0
  531. package/dist/collection/templates/contact-card-template/web-component/index.stencil.js +25 -0
  532. package/dist/collection/templates/contact-card-template/web-component/template.js +1 -0
  533. package/dist/collection/textarea/css/template.js +35 -0
  534. package/dist/collection/textarea/html/template.js +20 -0
  535. package/dist/collection/textbox/css/template.js +37 -0
  536. package/dist/collection/textbox/html/template.js +36 -0
  537. package/dist/collection/textbox/web-component/index.css +98 -0
  538. package/dist/collection/textbox/web-component/index.stencil.js +297 -0
  539. package/dist/collection/textbox/web-component/template.js +20 -0
  540. package/dist/collection/toptask-link/css/template.js +33 -0
  541. package/dist/collection/toptask-nav/css/template.js +50 -0
  542. package/dist/collection/unordered-list/css/template.js +28 -0
  543. package/dist/collection/unordered-list/html/template.js +22 -0
  544. package/dist/collection/url/css/template.js +14 -0
  545. package/dist/custom-elements/index.d.ts +300 -0
  546. package/dist/custom-elements/index.js +1075 -88
  547. package/dist/esm/{index-73546a7d.js → index-86b2856e.js} +265 -75
  548. package/dist/esm/loader.js +3 -3
  549. package/dist/esm/polyfills/css-shim.js +1 -1
  550. package/dist/esm/utrecht-article.entry.js +3 -3
  551. package/dist/esm/utrecht-backdrop.entry.js +17 -0
  552. package/dist/esm/utrecht-badge-counter.entry.js +5 -5
  553. package/dist/esm/utrecht-badge-data.entry.js +3 -3
  554. package/dist/esm/utrecht-badge-status.entry.js +4 -4
  555. package/dist/esm/utrecht-breadcrumb.entry.js +19 -0
  556. package/dist/esm/utrecht-button_2.entry.js +53 -0
  557. package/dist/esm/utrecht-checkbox.entry.js +28 -0
  558. package/dist/esm/utrecht-contact-card-template.entry.js +15 -0
  559. package/dist/esm/utrecht-custom-checkbox.entry.js +48 -0
  560. package/dist/esm/utrecht-digid-button.entry.js +15 -0
  561. package/dist/esm/utrecht-document.entry.js +3 -3
  562. package/dist/esm/utrecht-eherkenning-logo.entry.js +15 -0
  563. package/dist/esm/utrecht-eidas-logo.entry.js +15 -0
  564. package/dist/esm/utrecht-form-field-checkbox.entry.js +30 -0
  565. package/dist/esm/utrecht-form-field-description.entry.js +18 -0
  566. package/dist/esm/utrecht-form-field-textarea.entry.js +30 -0
  567. package/dist/esm/utrecht-form-field-textbox.entry.js +35 -0
  568. package/dist/esm/utrecht-form-toggle.entry.js +44 -0
  569. package/dist/esm/utrecht-heading-1.entry.js +15 -0
  570. package/dist/esm/utrecht-heading-2_3.entry.js +40 -0
  571. package/dist/esm/utrecht-heading-4.entry.js +15 -0
  572. package/dist/esm/utrecht-heading-5.entry.js +15 -0
  573. package/dist/esm/utrecht-heading-6.entry.js +15 -0
  574. package/dist/esm/utrecht-heading.entry.js +3 -3
  575. package/dist/esm/utrecht-html-content.entry.js +3 -3
  576. package/dist/esm/utrecht-icon-afval.entry.js +15 -0
  577. package/dist/esm/utrecht-icon-arrow.entry.js +15 -0
  578. package/dist/esm/utrecht-icon-checkmark.entry.js +15 -0
  579. package/dist/esm/utrecht-icon-cross.entry.js +15 -0
  580. package/dist/esm/utrecht-icon-error.entry.js +15 -0
  581. package/dist/esm/utrecht-icon-facebook.entry.js +15 -0
  582. package/dist/esm/utrecht-icon-filter.entry.js +15 -0
  583. package/dist/esm/utrecht-icon-information.entry.js +15 -0
  584. package/dist/esm/utrecht-icon-instagram.entry.js +15 -0
  585. package/dist/esm/utrecht-icon-linkedin.entry.js +15 -0
  586. package/dist/esm/utrecht-icon-list.entry.js +15 -0
  587. package/dist/esm/utrecht-icon-loupe.entry.js +15 -0
  588. package/dist/esm/utrecht-icon-melding.entry.js +15 -0
  589. package/dist/esm/utrecht-icon-paspoort.entry.js +15 -0
  590. package/dist/esm/utrecht-icon-rijbewijs.entry.js +15 -0
  591. package/dist/esm/utrecht-icon-toeslag.entry.js +15 -0
  592. package/dist/esm/utrecht-icon-trouwen.entry.js +15 -0
  593. package/dist/esm/utrecht-icon-twitter.entry.js +15 -0
  594. package/dist/esm/utrecht-icon-verhuizen.entry.js +15 -0
  595. package/dist/esm/utrecht-icon-warning.entry.js +15 -0
  596. package/dist/esm/utrecht-icon-whatsapp.entry.js +15 -0
  597. package/dist/esm/utrecht-icon-zoomin.entry.js +15 -0
  598. package/dist/esm/utrecht-icon-zoomout.entry.js +15 -0
  599. package/dist/esm/utrecht-logo-button.entry.js +15 -0
  600. package/dist/esm/utrecht-logo.entry.js +15 -0
  601. package/dist/esm/utrecht-page-content.entry.js +15 -0
  602. package/dist/esm/utrecht-page-footer.entry.js +3 -3
  603. package/dist/esm/utrecht-page-header.entry.js +15 -0
  604. package/dist/esm/utrecht-page.entry.js +15 -0
  605. package/dist/esm/utrecht-pagination.entry.js +34 -0
  606. package/dist/esm/utrecht-separator.entry.js +3 -3
  607. package/dist/esm/utrecht-sidenav.entry.js +4 -4
  608. package/dist/esm/utrecht-textbox.entry.js +35 -0
  609. package/dist/esm/utrecht.js +3 -3
  610. package/dist/types/article/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
  611. package/dist/types/backdrop/web-component/index.stencil.d.ts +4 -0
  612. package/dist/types/badge-counter/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
  613. package/dist/types/badge-data/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
  614. package/dist/types/badge-status/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
  615. package/dist/types/breadcrumb/web-component/index.stencil.d.ts +5 -0
  616. package/dist/types/button/stencil.d.ts +6 -0
  617. package/dist/types/checkbox/web-component/index.stencil.d.ts +16 -0
  618. package/dist/types/components.d.ts +792 -0
  619. package/dist/types/custom-checkbox/web-component/index.stencil.d.ts +17 -0
  620. package/dist/types/digid-button/web-component/index.stencil.d.ts +9 -0
  621. package/dist/types/digid-logo/web-component/index.stencil.d.ts +8 -0
  622. package/dist/types/document/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
  623. package/dist/types/eherkenning-logo/web-component/index.stencil.d.ts +8 -0
  624. package/dist/types/eidas-logo/web-component/index.stencil.d.ts +8 -0
  625. package/dist/types/form-field-checkbox/web-component/index.stencil.d.ts +18 -0
  626. package/dist/types/form-field-description/web-component/index.stencil.d.ts +8 -0
  627. package/dist/types/form-field-textarea/web-component/index.stencil.d.ts +18 -0
  628. package/dist/types/form-field-textbox/web-component/index.stencil.d.ts +23 -0
  629. package/dist/types/form-toggle/web-component/index.stencil.d.ts +14 -0
  630. package/dist/types/heading/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
  631. package/dist/types/heading-1/web-component/index.stencil.d.ts +3 -0
  632. package/dist/types/heading-2/web-component/index.stencil.d.ts +3 -0
  633. package/dist/types/heading-3/web-component/index.stencil.d.ts +3 -0
  634. package/dist/types/heading-4/web-component/index.stencil.d.ts +3 -0
  635. package/dist/types/heading-5/web-component/index.stencil.d.ts +3 -0
  636. package/dist/types/heading-6/web-component/index.stencil.d.ts +3 -0
  637. package/dist/types/icon/web-component/afval.stencil.d.ts +3 -0
  638. package/dist/types/icon/web-component/arrow.stencil.d.ts +3 -0
  639. package/dist/types/icon/web-component/checkmark.stencil.d.ts +3 -0
  640. package/dist/types/icon/web-component/cross.stencil.d.ts +3 -0
  641. package/dist/types/icon/web-component/error.stencil.d.ts +3 -0
  642. package/dist/types/icon/web-component/facebook.stencil.d.ts +3 -0
  643. package/dist/types/icon/web-component/filter.stencil.d.ts +3 -0
  644. package/dist/types/icon/web-component/information.stencil.d.ts +3 -0
  645. package/dist/types/icon/web-component/instagram.stencil.d.ts +3 -0
  646. package/dist/types/icon/web-component/linkedin.stencil.d.ts +3 -0
  647. package/dist/types/icon/web-component/list.stencil.d.ts +3 -0
  648. package/dist/types/icon/web-component/loupe.stencil.d.ts +3 -0
  649. package/dist/types/icon/web-component/melding.stencil.d.ts +3 -0
  650. package/dist/types/icon/web-component/paspoort.stencil.d.ts +3 -0
  651. package/dist/types/icon/web-component/rijbewijs.stencil.d.ts +3 -0
  652. package/dist/types/icon/web-component/toeslag.stencil.d.ts +3 -0
  653. package/dist/types/icon/web-component/trouwen.stencil.d.ts +3 -0
  654. package/dist/types/icon/web-component/twitter.stencil.d.ts +3 -0
  655. package/dist/types/icon/web-component/verhuizen.stencil.d.ts +3 -0
  656. package/dist/types/icon/web-component/warning.stencil.d.ts +3 -0
  657. package/dist/types/icon/web-component/whatsapp.stencil.d.ts +3 -0
  658. package/dist/types/icon/web-component/zoomin.stencil.d.ts +3 -0
  659. package/dist/types/icon/web-component/zoomout.stencil.d.ts +3 -0
  660. package/dist/types/logo/web-component/index.stencil.d.ts +7 -0
  661. package/dist/types/logo-button/web-component/index.stencil.d.ts +9 -0
  662. package/dist/types/navigatie sidenav/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
  663. package/dist/types/page/web-component/index.stencil.d.ts +7 -0
  664. package/dist/types/page-content/web-component/index.stencil.d.ts +7 -0
  665. package/dist/types/page-footer/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
  666. package/dist/types/page-header/web-component/stencil.d.ts +7 -0
  667. package/dist/types/pagination/web-component/index.stencil.d.ts +11 -0
  668. package/dist/types/paragraph/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
  669. package/dist/types/separator/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
  670. package/dist/types/stencil-public-runtime.d.ts +189 -186
  671. package/dist/types/templates/contact-card-template/web-component/index.stencil.d.ts +3 -0
  672. package/dist/types/textbox/web-component/index.stencil.d.ts +23 -0
  673. package/dist/utrecht/p-02a37490.entry.js +1 -0
  674. package/dist/utrecht/p-06370f11.entry.js +1 -0
  675. package/dist/utrecht/p-0babe0e1.entry.js +1 -0
  676. package/dist/utrecht/p-0bd956aa.entry.js +1 -0
  677. package/dist/utrecht/p-0de41080.entry.js +1 -0
  678. package/dist/utrecht/p-0dff1f3a.entry.js +1 -0
  679. package/dist/utrecht/p-10ed9dbc.entry.js +1 -0
  680. package/dist/utrecht/p-1d6f6429.entry.js +1 -0
  681. package/dist/utrecht/p-1e2310d5.entry.js +1 -0
  682. package/dist/utrecht/p-20ed6fc5.entry.js +1 -0
  683. package/dist/utrecht/p-22b0b0ab.entry.js +1 -0
  684. package/dist/utrecht/p-24f6df95.entry.js +1 -0
  685. package/dist/utrecht/p-28d9ca01.entry.js +1 -0
  686. package/dist/utrecht/p-33460a3c.entry.js +1 -0
  687. package/dist/utrecht/p-3d9f0a68.entry.js +1 -0
  688. package/dist/utrecht/p-450b6c65.entry.js +1 -0
  689. package/dist/utrecht/p-45462b1b.entry.js +1 -0
  690. package/dist/utrecht/p-494a2de2.entry.js +1 -0
  691. package/dist/utrecht/p-4992cc17.entry.js +1 -0
  692. package/dist/utrecht/p-52b840b4.entry.js +1 -0
  693. package/dist/utrecht/p-5a1ae611.entry.js +1 -0
  694. package/dist/utrecht/p-64b8a7bd.entry.js +1 -0
  695. package/dist/utrecht/p-6c34702d.entry.js +1 -0
  696. package/dist/utrecht/p-706f3a46.entry.js +1 -0
  697. package/dist/utrecht/p-78c8320a.entry.js +1 -0
  698. package/dist/utrecht/p-7a694b68.entry.js +1 -0
  699. package/dist/utrecht/p-7bb345f1.entry.js +1 -0
  700. package/dist/utrecht/p-7e3395e4.entry.js +1 -0
  701. package/dist/utrecht/p-8410a51f.entry.js +1 -0
  702. package/dist/utrecht/p-844a51cd.entry.js +1 -0
  703. package/dist/utrecht/p-847f24f7.entry.js +1 -0
  704. package/dist/utrecht/p-8ca6b8b1.js +1 -0
  705. package/dist/utrecht/p-8d742d31.entry.js +1 -0
  706. package/dist/utrecht/p-9f71d7ad.entry.js +1 -0
  707. package/dist/utrecht/p-a3ba8266.entry.js +1 -0
  708. package/dist/utrecht/p-a6e74d71.entry.js +1 -0
  709. package/dist/utrecht/p-a9446486.entry.js +1 -0
  710. package/dist/utrecht/p-aa3e8f73.entry.js +1 -0
  711. package/dist/utrecht/p-aa7f0306.entry.js +1 -0
  712. package/dist/utrecht/p-afd9a538.entry.js +1 -0
  713. package/dist/utrecht/p-b34cf79e.entry.js +1 -0
  714. package/dist/utrecht/p-b51a7258.entry.js +1 -0
  715. package/dist/utrecht/p-b7635555.entry.js +1 -0
  716. package/dist/utrecht/p-b97f0d95.entry.js +1 -0
  717. package/dist/utrecht/p-c0b17517.entry.js +1 -0
  718. package/dist/utrecht/p-c7c1b303.entry.js +1 -0
  719. package/dist/utrecht/p-ce352a8d.entry.js +1 -0
  720. package/dist/utrecht/p-cf06abf1.entry.js +1 -0
  721. package/dist/utrecht/p-d503851f.entry.js +1 -0
  722. package/dist/utrecht/p-d7c2ff02.entry.js +1 -0
  723. package/dist/utrecht/p-dad5dcf5.entry.js +1 -0
  724. package/dist/utrecht/p-dbfb3e72.entry.js +1 -0
  725. package/dist/utrecht/p-e24992e2.entry.js +1 -0
  726. package/dist/utrecht/p-e94ddc39.entry.js +1 -0
  727. package/dist/utrecht/p-ea583d80.entry.js +1 -0
  728. package/dist/utrecht/p-edcc904a.entry.js +1 -0
  729. package/dist/utrecht/p-f430397a.entry.js +1 -0
  730. package/dist/utrecht/p-f5aec0d3.entry.js +1 -0
  731. package/dist/utrecht/p-f6477f7f.entry.js +1 -0
  732. package/dist/utrecht/p-fa00a874.entry.js +1 -0
  733. package/dist/utrecht/utrecht.esm.js +1 -1
  734. package/loader/index.d.ts +0 -1
  735. package/package.json +17 -9
  736. package/dist/article/stencil.js +0 -21
  737. package/dist/badge-counter/stencil.js +0 -37
  738. package/dist/badge-data/stencil.js +0 -25
  739. package/dist/badge-status/stencil.js +0 -28
  740. package/dist/button/stencil.js +0 -25
  741. package/dist/cjs/utrecht-button.cjs.entry.js +0 -20
  742. package/dist/cjs/utrecht-paragraph.cjs.entry.js +0 -20
  743. package/dist/collection/button/bem.css +0 -48
  744. package/dist/collection/document/bem.css +0 -12
  745. package/dist/collection/html-content/html.css +0 -633
  746. package/dist/collection/menulijst/pijltje.svg +0 -1
  747. package/dist/collection/navigatie sidenav/bem.css +0 -248
  748. package/dist/collection/navigatie sidenav/stencil.js +0 -40
  749. package/dist/document/stencil.js +0 -21
  750. package/dist/esm/utrecht-button.entry.js +0 -16
  751. package/dist/esm/utrecht-paragraph.entry.js +0 -16
  752. package/dist/heading/stencil.js +0 -50
  753. package/dist/html-content/stencil.js +0 -25
  754. package/dist/navigatie sidenav/stencil.js +0 -30
  755. package/dist/page-footer/stencil.js +0 -25
  756. package/dist/paragraph/stencil.js +0 -25
  757. package/dist/separator/stencil.js +0 -20
  758. package/dist/utrecht/p-3a69515b.entry.js +0 -1
  759. package/dist/utrecht/p-6f35490c.entry.js +0 -1
  760. package/dist/utrecht/p-7157cce8.entry.js +0 -1
  761. package/dist/utrecht/p-7603f427.entry.js +0 -1
  762. package/dist/utrecht/p-7bb755d1.entry.js +0 -1
  763. package/dist/utrecht/p-7e18e0f8.entry.js +0 -1
  764. package/dist/utrecht/p-9e84c97e.js +0 -1
  765. package/dist/utrecht/p-b5095fed.entry.js +0 -1
  766. package/dist/utrecht/p-b5aa001b.entry.js +0 -1
  767. package/dist/utrecht/p-e1d48327.entry.js +0 -1
  768. package/dist/utrecht/p-e2fb0e03.entry.js +0 -1
  769. package/dist/utrecht/p-f8adb4e0.entry.js +0 -1
  770. package/dist/utrecht/p-fc20c5e2.entry.js +0 -1
@@ -0,0 +1,297 @@
1
+ var cmpChar = require('../../tokenizer').cmpChar;
2
+ var isDigit = require('../../tokenizer').isDigit;
3
+ var TYPE = require('../../tokenizer').TYPE;
4
+
5
+ var WHITESPACE = TYPE.WhiteSpace;
6
+ var COMMENT = TYPE.Comment;
7
+ var IDENT = TYPE.Ident;
8
+ var NUMBER = TYPE.Number;
9
+ var DIMENSION = TYPE.Dimension;
10
+ var PLUSSIGN = 0x002B; // U+002B PLUS SIGN (+)
11
+ var HYPHENMINUS = 0x002D; // U+002D HYPHEN-MINUS (-)
12
+ var N = 0x006E; // U+006E LATIN SMALL LETTER N (n)
13
+ var DISALLOW_SIGN = true;
14
+ var ALLOW_SIGN = false;
15
+
16
+ function checkInteger(offset, disallowSign) {
17
+ var pos = this.scanner.tokenStart + offset;
18
+ var code = this.scanner.source.charCodeAt(pos);
19
+
20
+ if (code === PLUSSIGN || code === HYPHENMINUS) {
21
+ if (disallowSign) {
22
+ this.error('Number sign is not allowed');
23
+ }
24
+ pos++;
25
+ }
26
+
27
+ for (; pos < this.scanner.tokenEnd; pos++) {
28
+ if (!isDigit(this.scanner.source.charCodeAt(pos))) {
29
+ this.error('Integer is expected', pos);
30
+ }
31
+ }
32
+ }
33
+
34
+ function checkTokenIsInteger(disallowSign) {
35
+ return checkInteger.call(this, 0, disallowSign);
36
+ }
37
+
38
+ function expectCharCode(offset, code) {
39
+ if (!cmpChar(this.scanner.source, this.scanner.tokenStart + offset, code)) {
40
+ var msg = '';
41
+
42
+ switch (code) {
43
+ case N:
44
+ msg = 'N is expected';
45
+ break;
46
+ case HYPHENMINUS:
47
+ msg = 'HyphenMinus is expected';
48
+ break;
49
+ }
50
+
51
+ this.error(msg, this.scanner.tokenStart + offset);
52
+ }
53
+ }
54
+
55
+ // ... <signed-integer>
56
+ // ... ['+' | '-'] <signless-integer>
57
+ function consumeB() {
58
+ var offset = 0;
59
+ var sign = 0;
60
+ var type = this.scanner.tokenType;
61
+
62
+ while (type === WHITESPACE || type === COMMENT) {
63
+ type = this.scanner.lookupType(++offset);
64
+ }
65
+
66
+ if (type !== NUMBER) {
67
+ if (this.scanner.isDelim(PLUSSIGN, offset) ||
68
+ this.scanner.isDelim(HYPHENMINUS, offset)) {
69
+ sign = this.scanner.isDelim(PLUSSIGN, offset) ? PLUSSIGN : HYPHENMINUS;
70
+
71
+ do {
72
+ type = this.scanner.lookupType(++offset);
73
+ } while (type === WHITESPACE || type === COMMENT);
74
+
75
+ if (type !== NUMBER) {
76
+ this.scanner.skip(offset);
77
+ checkTokenIsInteger.call(this, DISALLOW_SIGN);
78
+ }
79
+ } else {
80
+ return null;
81
+ }
82
+ }
83
+
84
+ if (offset > 0) {
85
+ this.scanner.skip(offset);
86
+ }
87
+
88
+ if (sign === 0) {
89
+ type = this.scanner.source.charCodeAt(this.scanner.tokenStart);
90
+ if (type !== PLUSSIGN && type !== HYPHENMINUS) {
91
+ this.error('Number sign is expected');
92
+ }
93
+ }
94
+
95
+ checkTokenIsInteger.call(this, sign !== 0);
96
+ return sign === HYPHENMINUS ? '-' + this.consume(NUMBER) : this.consume(NUMBER);
97
+ }
98
+
99
+ // An+B microsyntax https://www.w3.org/TR/css-syntax-3/#anb
100
+ module.exports = {
101
+ name: 'AnPlusB',
102
+ structure: {
103
+ a: [String, null],
104
+ b: [String, null]
105
+ },
106
+ parse: function() {
107
+ /* eslint-disable brace-style*/
108
+ var start = this.scanner.tokenStart;
109
+ var a = null;
110
+ var b = null;
111
+
112
+ // <integer>
113
+ if (this.scanner.tokenType === NUMBER) {
114
+ checkTokenIsInteger.call(this, ALLOW_SIGN);
115
+ b = this.consume(NUMBER);
116
+ }
117
+
118
+ // -n
119
+ // -n <signed-integer>
120
+ // -n ['+' | '-'] <signless-integer>
121
+ // -n- <signless-integer>
122
+ // <dashndashdigit-ident>
123
+ else if (this.scanner.tokenType === IDENT && cmpChar(this.scanner.source, this.scanner.tokenStart, HYPHENMINUS)) {
124
+ a = '-1';
125
+
126
+ expectCharCode.call(this, 1, N);
127
+
128
+ switch (this.scanner.getTokenLength()) {
129
+ // -n
130
+ // -n <signed-integer>
131
+ // -n ['+' | '-'] <signless-integer>
132
+ case 2:
133
+ this.scanner.next();
134
+ b = consumeB.call(this);
135
+ break;
136
+
137
+ // -n- <signless-integer>
138
+ case 3:
139
+ expectCharCode.call(this, 2, HYPHENMINUS);
140
+
141
+ this.scanner.next();
142
+ this.scanner.skipSC();
143
+
144
+ checkTokenIsInteger.call(this, DISALLOW_SIGN);
145
+
146
+ b = '-' + this.consume(NUMBER);
147
+ break;
148
+
149
+ // <dashndashdigit-ident>
150
+ default:
151
+ expectCharCode.call(this, 2, HYPHENMINUS);
152
+ checkInteger.call(this, 3, DISALLOW_SIGN);
153
+ this.scanner.next();
154
+
155
+ b = this.scanner.substrToCursor(start + 2);
156
+ }
157
+ }
158
+
159
+ // '+'? n
160
+ // '+'? n <signed-integer>
161
+ // '+'? n ['+' | '-'] <signless-integer>
162
+ // '+'? n- <signless-integer>
163
+ // '+'? <ndashdigit-ident>
164
+ else if (this.scanner.tokenType === IDENT || (this.scanner.isDelim(PLUSSIGN) && this.scanner.lookupType(1) === IDENT)) {
165
+ var sign = 0;
166
+ a = '1';
167
+
168
+ // just ignore a plus
169
+ if (this.scanner.isDelim(PLUSSIGN)) {
170
+ sign = 1;
171
+ this.scanner.next();
172
+ }
173
+
174
+ expectCharCode.call(this, 0, N);
175
+
176
+ switch (this.scanner.getTokenLength()) {
177
+ // '+'? n
178
+ // '+'? n <signed-integer>
179
+ // '+'? n ['+' | '-'] <signless-integer>
180
+ case 1:
181
+ this.scanner.next();
182
+ b = consumeB.call(this);
183
+ break;
184
+
185
+ // '+'? n- <signless-integer>
186
+ case 2:
187
+ expectCharCode.call(this, 1, HYPHENMINUS);
188
+
189
+ this.scanner.next();
190
+ this.scanner.skipSC();
191
+
192
+ checkTokenIsInteger.call(this, DISALLOW_SIGN);
193
+
194
+ b = '-' + this.consume(NUMBER);
195
+ break;
196
+
197
+ // '+'? <ndashdigit-ident>
198
+ default:
199
+ expectCharCode.call(this, 1, HYPHENMINUS);
200
+ checkInteger.call(this, 2, DISALLOW_SIGN);
201
+ this.scanner.next();
202
+
203
+ b = this.scanner.substrToCursor(start + sign + 1);
204
+ }
205
+ }
206
+
207
+ // <ndashdigit-dimension>
208
+ // <ndash-dimension> <signless-integer>
209
+ // <n-dimension>
210
+ // <n-dimension> <signed-integer>
211
+ // <n-dimension> ['+' | '-'] <signless-integer>
212
+ else if (this.scanner.tokenType === DIMENSION) {
213
+ var code = this.scanner.source.charCodeAt(this.scanner.tokenStart);
214
+ var sign = code === PLUSSIGN || code === HYPHENMINUS;
215
+
216
+ for (var i = this.scanner.tokenStart + sign; i < this.scanner.tokenEnd; i++) {
217
+ if (!isDigit(this.scanner.source.charCodeAt(i))) {
218
+ break;
219
+ }
220
+ }
221
+
222
+ if (i === this.scanner.tokenStart + sign) {
223
+ this.error('Integer is expected', this.scanner.tokenStart + sign);
224
+ }
225
+
226
+ expectCharCode.call(this, i - this.scanner.tokenStart, N);
227
+ a = this.scanner.source.substring(start, i);
228
+
229
+ // <n-dimension>
230
+ // <n-dimension> <signed-integer>
231
+ // <n-dimension> ['+' | '-'] <signless-integer>
232
+ if (i + 1 === this.scanner.tokenEnd) {
233
+ this.scanner.next();
234
+ b = consumeB.call(this);
235
+ } else {
236
+ expectCharCode.call(this, i - this.scanner.tokenStart + 1, HYPHENMINUS);
237
+
238
+ // <ndash-dimension> <signless-integer>
239
+ if (i + 2 === this.scanner.tokenEnd) {
240
+ this.scanner.next();
241
+ this.scanner.skipSC();
242
+ checkTokenIsInteger.call(this, DISALLOW_SIGN);
243
+ b = '-' + this.consume(NUMBER);
244
+ }
245
+ // <ndashdigit-dimension>
246
+ else {
247
+ checkInteger.call(this, i - this.scanner.tokenStart + 2, DISALLOW_SIGN);
248
+ this.scanner.next();
249
+ b = this.scanner.substrToCursor(i + 1);
250
+ }
251
+ }
252
+ } else {
253
+ this.error();
254
+ }
255
+
256
+ if (a !== null && a.charCodeAt(0) === PLUSSIGN) {
257
+ a = a.substr(1);
258
+ }
259
+
260
+ if (b !== null && b.charCodeAt(0) === PLUSSIGN) {
261
+ b = b.substr(1);
262
+ }
263
+
264
+ return {
265
+ type: 'AnPlusB',
266
+ loc: this.getLocation(start, this.scanner.tokenStart),
267
+ a: a,
268
+ b: b
269
+ };
270
+ },
271
+ generate: function(node) {
272
+ var a = node.a !== null && node.a !== undefined;
273
+ var b = node.b !== null && node.b !== undefined;
274
+
275
+ if (a) {
276
+ this.chunk(
277
+ node.a === '+1' ? '+n' : // eslint-disable-line operator-linebreak, indent
278
+ node.a === '1' ? 'n' : // eslint-disable-line operator-linebreak, indent
279
+ node.a === '-1' ? '-n' : // eslint-disable-line operator-linebreak, indent
280
+ node.a + 'n' // eslint-disable-line operator-linebreak, indent
281
+ );
282
+
283
+ if (b) {
284
+ b = String(node.b);
285
+ if (b.charAt(0) === '-' || b.charAt(0) === '+') {
286
+ this.chunk(b.charAt(0));
287
+ this.chunk(b.substr(1));
288
+ } else {
289
+ this.chunk('+');
290
+ this.chunk(b);
291
+ }
292
+ }
293
+ } else {
294
+ this.chunk(String(node.b));
295
+ }
296
+ }
297
+ };
@@ -0,0 +1,107 @@
1
+ var TYPE = require('../../tokenizer').TYPE;
2
+ var rawMode = require('./Raw').mode;
3
+
4
+ var ATKEYWORD = TYPE.AtKeyword;
5
+ var SEMICOLON = TYPE.Semicolon;
6
+ var LEFTCURLYBRACKET = TYPE.LeftCurlyBracket;
7
+ var RIGHTCURLYBRACKET = TYPE.RightCurlyBracket;
8
+
9
+ function consumeRaw(startToken) {
10
+ return this.Raw(startToken, rawMode.leftCurlyBracketOrSemicolon, true);
11
+ }
12
+
13
+ function isDeclarationBlockAtrule() {
14
+ for (var offset = 1, type; type = this.scanner.lookupType(offset); offset++) {
15
+ if (type === RIGHTCURLYBRACKET) {
16
+ return true;
17
+ }
18
+
19
+ if (type === LEFTCURLYBRACKET ||
20
+ type === ATKEYWORD) {
21
+ return false;
22
+ }
23
+ }
24
+
25
+ return false;
26
+ }
27
+
28
+ module.exports = {
29
+ name: 'Atrule',
30
+ structure: {
31
+ name: String,
32
+ prelude: ['AtrulePrelude', 'Raw', null],
33
+ block: ['Block', null]
34
+ },
35
+ parse: function() {
36
+ var start = this.scanner.tokenStart;
37
+ var name;
38
+ var nameLowerCase;
39
+ var prelude = null;
40
+ var block = null;
41
+
42
+ this.eat(ATKEYWORD);
43
+
44
+ name = this.scanner.substrToCursor(start + 1);
45
+ nameLowerCase = name.toLowerCase();
46
+ this.scanner.skipSC();
47
+
48
+ // parse prelude
49
+ if (this.scanner.eof === false &&
50
+ this.scanner.tokenType !== LEFTCURLYBRACKET &&
51
+ this.scanner.tokenType !== SEMICOLON) {
52
+ if (this.parseAtrulePrelude) {
53
+ prelude = this.parseWithFallback(this.AtrulePrelude.bind(this, name), consumeRaw);
54
+
55
+ // turn empty AtrulePrelude into null
56
+ if (prelude.type === 'AtrulePrelude' && prelude.children.head === null) {
57
+ prelude = null;
58
+ }
59
+ } else {
60
+ prelude = consumeRaw.call(this, this.scanner.tokenIndex);
61
+ }
62
+
63
+ this.scanner.skipSC();
64
+ }
65
+
66
+ switch (this.scanner.tokenType) {
67
+ case SEMICOLON:
68
+ this.scanner.next();
69
+ break;
70
+
71
+ case LEFTCURLYBRACKET:
72
+ if (this.atrule.hasOwnProperty(nameLowerCase) &&
73
+ typeof this.atrule[nameLowerCase].block === 'function') {
74
+ block = this.atrule[nameLowerCase].block.call(this);
75
+ } else {
76
+ // TODO: should consume block content as Raw?
77
+ block = this.Block(isDeclarationBlockAtrule.call(this));
78
+ }
79
+
80
+ break;
81
+ }
82
+
83
+ return {
84
+ type: 'Atrule',
85
+ loc: this.getLocation(start, this.scanner.tokenStart),
86
+ name: name,
87
+ prelude: prelude,
88
+ block: block
89
+ };
90
+ },
91
+ generate: function(node) {
92
+ this.chunk('@');
93
+ this.chunk(node.name);
94
+
95
+ if (node.prelude !== null) {
96
+ this.chunk(' ');
97
+ this.node(node.prelude);
98
+ }
99
+
100
+ if (node.block) {
101
+ this.node(node.block);
102
+ } else {
103
+ this.chunk(';');
104
+ }
105
+ },
106
+ walkContext: 'atrule'
107
+ };
@@ -0,0 +1,51 @@
1
+ var TYPE = require('../../tokenizer').TYPE;
2
+
3
+ var SEMICOLON = TYPE.Semicolon;
4
+ var LEFTCURLYBRACKET = TYPE.LeftCurlyBracket;
5
+
6
+ module.exports = {
7
+ name: 'AtrulePrelude',
8
+ structure: {
9
+ children: [[]]
10
+ },
11
+ parse: function(name) {
12
+ var children = null;
13
+
14
+ if (name !== null) {
15
+ name = name.toLowerCase();
16
+ }
17
+
18
+ this.scanner.skipSC();
19
+
20
+ if (this.atrule.hasOwnProperty(name) &&
21
+ typeof this.atrule[name].prelude === 'function') {
22
+ // custom consumer
23
+ children = this.atrule[name].prelude.call(this);
24
+ } else {
25
+ // default consumer
26
+ children = this.readSequence(this.scope.AtrulePrelude);
27
+ }
28
+
29
+ this.scanner.skipSC();
30
+
31
+ if (this.scanner.eof !== true &&
32
+ this.scanner.tokenType !== LEFTCURLYBRACKET &&
33
+ this.scanner.tokenType !== SEMICOLON) {
34
+ this.error('Semicolon or block is expected');
35
+ }
36
+
37
+ if (children === null) {
38
+ children = this.createList();
39
+ }
40
+
41
+ return {
42
+ type: 'AtrulePrelude',
43
+ loc: this.getLocationFromList(children),
44
+ children: children
45
+ };
46
+ },
47
+ generate: function(node) {
48
+ this.children(node);
49
+ },
50
+ walkContext: 'atrulePrelude'
51
+ };
@@ -0,0 +1,165 @@
1
+ var TYPE = require('../../tokenizer').TYPE;
2
+
3
+ var IDENT = TYPE.Ident;
4
+ var STRING = TYPE.String;
5
+ var COLON = TYPE.Colon;
6
+ var LEFTSQUAREBRACKET = TYPE.LeftSquareBracket;
7
+ var RIGHTSQUAREBRACKET = TYPE.RightSquareBracket;
8
+ var DOLLARSIGN = 0x0024; // U+0024 DOLLAR SIGN ($)
9
+ var ASTERISK = 0x002A; // U+002A ASTERISK (*)
10
+ var EQUALSSIGN = 0x003D; // U+003D EQUALS SIGN (=)
11
+ var CIRCUMFLEXACCENT = 0x005E; // U+005E (^)
12
+ var VERTICALLINE = 0x007C; // U+007C VERTICAL LINE (|)
13
+ var TILDE = 0x007E; // U+007E TILDE (~)
14
+
15
+ function getAttributeName() {
16
+ if (this.scanner.eof) {
17
+ this.error('Unexpected end of input');
18
+ }
19
+
20
+ var start = this.scanner.tokenStart;
21
+ var expectIdent = false;
22
+ var checkColon = true;
23
+
24
+ if (this.scanner.isDelim(ASTERISK)) {
25
+ expectIdent = true;
26
+ checkColon = false;
27
+ this.scanner.next();
28
+ } else if (!this.scanner.isDelim(VERTICALLINE)) {
29
+ this.eat(IDENT);
30
+ }
31
+
32
+ if (this.scanner.isDelim(VERTICALLINE)) {
33
+ if (this.scanner.source.charCodeAt(this.scanner.tokenStart + 1) !== EQUALSSIGN) {
34
+ this.scanner.next();
35
+ this.eat(IDENT);
36
+ } else if (expectIdent) {
37
+ this.error('Identifier is expected', this.scanner.tokenEnd);
38
+ }
39
+ } else if (expectIdent) {
40
+ this.error('Vertical line is expected');
41
+ }
42
+
43
+ if (checkColon && this.scanner.tokenType === COLON) {
44
+ this.scanner.next();
45
+ this.eat(IDENT);
46
+ }
47
+
48
+ return {
49
+ type: 'Identifier',
50
+ loc: this.getLocation(start, this.scanner.tokenStart),
51
+ name: this.scanner.substrToCursor(start)
52
+ };
53
+ }
54
+
55
+ function getOperator() {
56
+ var start = this.scanner.tokenStart;
57
+ var code = this.scanner.source.charCodeAt(start);
58
+
59
+ if (code !== EQUALSSIGN && // =
60
+ code !== TILDE && // ~=
61
+ code !== CIRCUMFLEXACCENT && // ^=
62
+ code !== DOLLARSIGN && // $=
63
+ code !== ASTERISK && // *=
64
+ code !== VERTICALLINE // |=
65
+ ) {
66
+ this.error('Attribute selector (=, ~=, ^=, $=, *=, |=) is expected');
67
+ }
68
+
69
+ this.scanner.next();
70
+
71
+ if (code !== EQUALSSIGN) {
72
+ if (!this.scanner.isDelim(EQUALSSIGN)) {
73
+ this.error('Equal sign is expected');
74
+ }
75
+
76
+ this.scanner.next();
77
+ }
78
+
79
+ return this.scanner.substrToCursor(start);
80
+ }
81
+
82
+ // '[' <wq-name> ']'
83
+ // '[' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? ']'
84
+ module.exports = {
85
+ name: 'AttributeSelector',
86
+ structure: {
87
+ name: 'Identifier',
88
+ matcher: [String, null],
89
+ value: ['String', 'Identifier', null],
90
+ flags: [String, null]
91
+ },
92
+ parse: function() {
93
+ var start = this.scanner.tokenStart;
94
+ var name;
95
+ var matcher = null;
96
+ var value = null;
97
+ var flags = null;
98
+
99
+ this.eat(LEFTSQUAREBRACKET);
100
+ this.scanner.skipSC();
101
+
102
+ name = getAttributeName.call(this);
103
+ this.scanner.skipSC();
104
+
105
+ if (this.scanner.tokenType !== RIGHTSQUAREBRACKET) {
106
+ // avoid case `[name i]`
107
+ if (this.scanner.tokenType !== IDENT) {
108
+ matcher = getOperator.call(this);
109
+
110
+ this.scanner.skipSC();
111
+
112
+ value = this.scanner.tokenType === STRING
113
+ ? this.String()
114
+ : this.Identifier();
115
+
116
+ this.scanner.skipSC();
117
+ }
118
+
119
+ // attribute flags
120
+ if (this.scanner.tokenType === IDENT) {
121
+ flags = this.scanner.getTokenValue();
122
+ this.scanner.next();
123
+
124
+ this.scanner.skipSC();
125
+ }
126
+ }
127
+
128
+ this.eat(RIGHTSQUAREBRACKET);
129
+
130
+ return {
131
+ type: 'AttributeSelector',
132
+ loc: this.getLocation(start, this.scanner.tokenStart),
133
+ name: name,
134
+ matcher: matcher,
135
+ value: value,
136
+ flags: flags
137
+ };
138
+ },
139
+ generate: function(node) {
140
+ var flagsPrefix = ' ';
141
+
142
+ this.chunk('[');
143
+ this.node(node.name);
144
+
145
+ if (node.matcher !== null) {
146
+ this.chunk(node.matcher);
147
+
148
+ if (node.value !== null) {
149
+ this.node(node.value);
150
+
151
+ // space between string and flags is not required
152
+ if (node.value.type === 'String') {
153
+ flagsPrefix = '';
154
+ }
155
+ }
156
+ }
157
+
158
+ if (node.flags !== null) {
159
+ this.chunk(flagsPrefix);
160
+ this.chunk(node.flags);
161
+ }
162
+
163
+ this.chunk(']');
164
+ }
165
+ };
@@ -0,0 +1,91 @@
1
+ var TYPE = require('../../tokenizer').TYPE;
2
+ var rawMode = require('./Raw').mode;
3
+
4
+ var WHITESPACE = TYPE.WhiteSpace;
5
+ var COMMENT = TYPE.Comment;
6
+ var SEMICOLON = TYPE.Semicolon;
7
+ var ATKEYWORD = TYPE.AtKeyword;
8
+ var LEFTCURLYBRACKET = TYPE.LeftCurlyBracket;
9
+ var RIGHTCURLYBRACKET = TYPE.RightCurlyBracket;
10
+
11
+ function consumeRaw(startToken) {
12
+ return this.Raw(startToken, null, true);
13
+ }
14
+ function consumeRule() {
15
+ return this.parseWithFallback(this.Rule, consumeRaw);
16
+ }
17
+ function consumeRawDeclaration(startToken) {
18
+ return this.Raw(startToken, rawMode.semicolonIncluded, true);
19
+ }
20
+ function consumeDeclaration() {
21
+ if (this.scanner.tokenType === SEMICOLON) {
22
+ return consumeRawDeclaration.call(this, this.scanner.tokenIndex);
23
+ }
24
+
25
+ var node = this.parseWithFallback(this.Declaration, consumeRawDeclaration);
26
+
27
+ if (this.scanner.tokenType === SEMICOLON) {
28
+ this.scanner.next();
29
+ }
30
+
31
+ return node;
32
+ }
33
+
34
+ module.exports = {
35
+ name: 'Block',
36
+ structure: {
37
+ children: [[
38
+ 'Atrule',
39
+ 'Rule',
40
+ 'Declaration'
41
+ ]]
42
+ },
43
+ parse: function(isDeclaration) {
44
+ var consumer = isDeclaration ? consumeDeclaration : consumeRule;
45
+
46
+ var start = this.scanner.tokenStart;
47
+ var children = this.createList();
48
+
49
+ this.eat(LEFTCURLYBRACKET);
50
+
51
+ scan:
52
+ while (!this.scanner.eof) {
53
+ switch (this.scanner.tokenType) {
54
+ case RIGHTCURLYBRACKET:
55
+ break scan;
56
+
57
+ case WHITESPACE:
58
+ case COMMENT:
59
+ this.scanner.next();
60
+ break;
61
+
62
+ case ATKEYWORD:
63
+ children.push(this.parseWithFallback(this.Atrule, consumeRaw));
64
+ break;
65
+
66
+ default:
67
+ children.push(consumer.call(this));
68
+ }
69
+ }
70
+
71
+ if (!this.scanner.eof) {
72
+ this.eat(RIGHTCURLYBRACKET);
73
+ }
74
+
75
+ return {
76
+ type: 'Block',
77
+ loc: this.getLocation(start, this.scanner.tokenStart),
78
+ children: children
79
+ };
80
+ },
81
+ generate: function(node) {
82
+ this.chunk('{');
83
+ this.children(node, function(prev) {
84
+ if (prev.type === 'Declaration') {
85
+ this.chunk(';');
86
+ }
87
+ });
88
+ this.chunk('}');
89
+ },
90
+ walkContext: 'block'
91
+ };