@content-blocks/js 0.7.7 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +111 -3
  3. package/THIRD-PARTY-NOTICES.md +21 -0
  4. package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -2
  5. package/dist/cjs/content-accordion.cjs.entry.js +87 -0
  6. package/dist/cjs/content-blocks.cjs.js +35 -11
  7. package/dist/cjs/content-button.cjs.entry.js +113 -0
  8. package/dist/cjs/content-carousel.cjs.entry.js +153 -47
  9. package/dist/cjs/content-grid-formatter.cjs.entry.js +102 -0
  10. package/dist/cjs/content-hero-block.cjs.entry.js +45 -0
  11. package/dist/cjs/content-image.cjs.entry.js +153 -0
  12. package/dist/cjs/content-line.cjs.entry.js +61 -0
  13. package/dist/cjs/content-navigation-block.cjs.entry.js +51 -34
  14. package/dist/cjs/content-overlay.cjs.entry.js +641 -0
  15. package/dist/cjs/content-spacer.cjs.entry.js +75 -0
  16. package/dist/cjs/content-split-block.cjs.entry.js +22 -19
  17. package/dist/cjs/content-tabs.cjs.entry.js +38 -21
  18. package/dist/cjs/content-text-block.cjs.entry.js +63 -0
  19. package/dist/cjs/content-tout-block.cjs.entry.js +34 -0
  20. package/dist/cjs/{content-accordion_11.cjs.entry.js → content-video.cjs.entry.js} +14541 -12905
  21. package/dist/cjs/{focus-trap.esm-7bc384a0.js → focus-trap.esm-ZwN-anf1.js} +484 -190
  22. package/dist/cjs/{index-2e0ce692.js → index-B1U6Gweq.js} +348 -246
  23. package/dist/cjs/index-ClnpH9XB.js +2170 -0
  24. package/dist/cjs/index-CyalvZJn.js +1719 -0
  25. package/dist/cjs/index-DUvWvBDN.js +290 -0
  26. package/dist/cjs/index-voGY4Tkl.js +4705 -0
  27. package/dist/cjs/index.cjs.js +2 -5
  28. package/dist/cjs/loader.cjs.js +3 -8
  29. package/dist/cjs/responsive-component-C5eJS82z.js +171 -0
  30. package/dist/cjs/responsive-component-DMdnQIPV.js +171 -0
  31. package/dist/cjs/swiper-KLYbvU1K.js +3931 -0
  32. package/dist/cjs/{swiper-8221f4e8.js → swiper-_Z8Y4IJI.js} +269 -236
  33. package/dist/cjs/utils-BCHaRGm_.js +462 -0
  34. package/dist/cjs/{utils-df044337.js → utils-C3gXIS2t.js} +51 -49
  35. package/dist/cjs/utils-DUvWvBDN.js +290 -0
  36. package/dist/collection/blocks/content-hero-block/content-hero-block.css +1 -1
  37. package/dist/collection/blocks/content-hero-block/content-hero-block.js +33 -48
  38. package/dist/collection/blocks/content-split-block/content-split-block.css +16 -5
  39. package/dist/collection/blocks/content-split-block/content-split-block.js +29 -48
  40. package/dist/collection/blocks/content-text-block/content-text-block.js +65 -59
  41. package/dist/collection/blocks/content-tout-block/content-tout-block.css +3 -0
  42. package/dist/collection/blocks/content-tout-block/content-tout-block.js +22 -47
  43. package/dist/collection/collection-manifest.json +8 -5
  44. package/dist/collection/components/content-accordion/content-accordion.css +20 -1
  45. package/dist/collection/components/content-accordion/content-accordion.js +67 -33
  46. package/dist/collection/components/content-accordion/libraries/w3_disclosure_button.js +0 -1
  47. package/dist/collection/components/content-carousel/content-carousel.css +60 -4
  48. package/dist/collection/components/content-carousel/content-carousel.js +294 -44
  49. package/dist/collection/components/content-navigation-block/content-navigation-block.css +15 -1
  50. package/dist/collection/components/content-navigation-block/content-navigation-block.js +86 -42
  51. package/dist/collection/components/content-overlay/content-overlay.css +36 -5
  52. package/dist/collection/components/content-overlay/content-overlay.js +181 -120
  53. package/dist/collection/components/content-overlay/libraries/aria-dialog.js +0 -1
  54. package/dist/collection/components/content-overlay/libraries/aria-utilities.js +0 -1
  55. package/dist/collection/components/content-tabs/content-tabs.js +7 -49
  56. package/dist/collection/components/content-tabs/libraries/w3_tabs.js +0 -1
  57. package/dist/collection/elements/content-button/content-button.css +8 -7
  58. package/dist/collection/elements/content-button/content-button.js +103 -84
  59. package/dist/collection/elements/content-image/content-image.css +3 -1
  60. package/dist/collection/elements/content-image/content-image.js +176 -95
  61. package/dist/collection/elements/content-line/content-line.js +63 -54
  62. package/dist/collection/elements/content-video/content-video.css +1 -1
  63. package/dist/collection/elements/content-video/content-video.js +123 -73
  64. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.css +8 -2
  65. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js +167 -89
  66. package/dist/collection/formatters/content-spacer/content-spacer.js +86 -209
  67. package/dist/collection/global/content-blocks-reset.css +77 -0
  68. package/dist/collection/index.js +1 -1
  69. package/dist/collection/sass/_mixins.scss +21 -5
  70. package/dist/collection/sass/_variables.scss +15 -15
  71. package/dist/collection/setupFiles.js +0 -1
  72. package/dist/collection/site/site.js +67 -0
  73. package/dist/collection/utils/breakpoints.js +162 -0
  74. package/dist/collection/utils/responsive-component.js +249 -0
  75. package/dist/collection/utils/utils.js +32 -42
  76. package/dist/components/content-accordion.js +65 -44
  77. package/dist/components/content-button.js +89 -43
  78. package/dist/components/content-carousel.js +172 -55
  79. package/dist/components/content-grid-formatter.js +127 -3
  80. package/dist/components/content-hero-block.js +33 -26
  81. package/dist/components/content-image.js +127 -71
  82. package/dist/components/content-line.js +56 -35
  83. package/dist/components/content-navigation-block.js +62 -39
  84. package/dist/components/content-overlay.js +128 -67
  85. package/dist/components/content-spacer.js +70 -54
  86. package/dist/components/content-split-block.js +33 -32
  87. package/dist/components/content-tabs.js +46 -25
  88. package/dist/components/content-text-block.js +55 -35
  89. package/dist/components/content-tout-block.js +29 -27
  90. package/dist/components/content-video.js +14605 -11951
  91. package/dist/{esm/focus-trap.esm-8fb54175.js → components/focus-trap.esm.js} +484 -190
  92. package/dist/components/index.d.ts +2 -0
  93. package/dist/components/index.js +3 -3
  94. package/dist/components/{p-5a91aa1b.js → index2.js} +348 -246
  95. package/dist/components/p-BWRCeMvO.js +1 -0
  96. package/dist/components/p-CYF5GU_q.js +1 -0
  97. package/dist/components/p-DXUoPIwl.js +10 -0
  98. package/dist/components/p-D_Ll4QNj.js +1 -0
  99. package/dist/components/p-DhIoW7H3.js +1 -0
  100. package/dist/components/responsive-component.js +168 -0
  101. package/dist/components/{p-e5dc4ea4.js → swiper.js} +268 -235
  102. package/dist/components/utils.js +4969 -0
  103. package/dist/{esm/utils-1c9f0ec1.js → components/utils2.js} +51 -50
  104. package/dist/content-blocks/content-accordion.entry.js +85 -0
  105. package/dist/content-blocks/content-blocks.esm.js +47 -2
  106. package/dist/content-blocks/content-button.entry.js +111 -0
  107. package/dist/content-blocks/content-carousel.entry.js +188 -0
  108. package/dist/content-blocks/content-grid-formatter.entry.js +100 -0
  109. package/dist/content-blocks/content-hero-block.entry.js +43 -0
  110. package/dist/content-blocks/content-image.entry.js +151 -0
  111. package/dist/content-blocks/content-line.entry.js +59 -0
  112. package/dist/content-blocks/content-navigation-block.entry.js +105 -0
  113. package/dist/content-blocks/content-overlay.entry.js +639 -0
  114. package/dist/content-blocks/content-spacer.entry.js +73 -0
  115. package/dist/content-blocks/content-split-block.entry.js +34 -0
  116. package/dist/content-blocks/content-tabs.entry.js +245 -0
  117. package/dist/content-blocks/content-text-block.entry.js +61 -0
  118. package/dist/content-blocks/content-tout-block.entry.js +32 -0
  119. package/dist/{esm/content-accordion_11.entry.js → content-blocks/content-video.entry.js} +14516 -12868
  120. package/dist/{components/p-a2fedf8a.js → content-blocks/focus-trap.esm-DXUoPIwl.js} +484 -190
  121. package/dist/content-blocks/global/content-blocks-reset.css +77 -0
  122. package/dist/content-blocks/index-BFDJMblF.js +4690 -0
  123. package/dist/{esm/index-f45a9c45.js → content-blocks/index-P1YnSd-O.js} +348 -246
  124. package/dist/content-blocks/index.esm.js +1 -2
  125. package/dist/content-blocks/p-008457f0.entry.js +1 -0
  126. package/dist/content-blocks/p-052692f1.entry.js +1 -0
  127. package/dist/content-blocks/p-0f71bd32.entry.js +1 -0
  128. package/dist/content-blocks/p-1f154617.entry.js +1 -0
  129. package/dist/content-blocks/p-2554ebd8.entry.js +1 -0
  130. package/dist/content-blocks/p-4afd6511.entry.js +1 -0
  131. package/dist/content-blocks/p-78d5de9f.entry.js +1 -0
  132. package/dist/content-blocks/p-7bcf7e7e.entry.js +1 -0
  133. package/dist/content-blocks/p-9058031c.entry.js +1 -0
  134. package/dist/content-blocks/p-9c41ac23.entry.js +17 -0
  135. package/dist/content-blocks/p-CLwOzPEO.js +3 -0
  136. package/dist/content-blocks/p-CYF5GU_q.js +1 -0
  137. package/dist/content-blocks/p-CjR_4mPu.js +1 -0
  138. package/dist/content-blocks/p-DQuL1Twl.js +1 -0
  139. package/dist/content-blocks/p-DXUoPIwl.js +10 -0
  140. package/dist/content-blocks/p-D_Ll4QNj.js +1 -0
  141. package/dist/content-blocks/p-DhIoW7H3.js +1 -0
  142. package/dist/content-blocks/p-DzYwy_62.js +1 -0
  143. package/dist/content-blocks/p-b2e6358a.entry.js +1 -0
  144. package/dist/content-blocks/p-c783bc68.entry.js +1 -0
  145. package/dist/content-blocks/p-e3d81e15.entry.js +1 -0
  146. package/dist/content-blocks/p-f23b4aae.entry.js +1 -0
  147. package/dist/content-blocks/p-f75c9094.entry.js +1 -0
  148. package/dist/content-blocks/responsive-component-BsLrcKbS.js +169 -0
  149. package/dist/content-blocks/sass/_mixins.scss +21 -5
  150. package/dist/content-blocks/sass/_variables.scss +15 -15
  151. package/dist/{esm/swiper-e9621adb.js → content-blocks/swiper-nBv069TB.js} +268 -235
  152. package/dist/{components/p-b85cfa86.js → content-blocks/utils--SDsQnWS.js} +51 -50
  153. package/dist/content-blocks/utils-Bak__24s.js +280 -0
  154. package/dist/docs.d.ts +480 -0
  155. package/dist/docs.json +5312 -0
  156. package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -2
  157. package/dist/esm/content-accordion.entry.js +85 -0
  158. package/dist/esm/content-blocks.js +33 -8
  159. package/dist/esm/content-button.entry.js +111 -0
  160. package/dist/esm/content-carousel.entry.js +153 -45
  161. package/dist/esm/content-grid-formatter.entry.js +100 -0
  162. package/dist/esm/content-hero-block.entry.js +43 -0
  163. package/dist/esm/content-image.entry.js +151 -0
  164. package/dist/esm/content-line.entry.js +59 -0
  165. package/dist/esm/content-navigation-block.entry.js +51 -32
  166. package/dist/esm/content-overlay.entry.js +639 -0
  167. package/dist/esm/content-spacer.entry.js +73 -0
  168. package/dist/esm/content-split-block.entry.js +22 -17
  169. package/dist/esm/content-tabs.entry.js +38 -19
  170. package/dist/esm/content-text-block.entry.js +61 -0
  171. package/dist/esm/content-tout-block.entry.js +32 -0
  172. package/dist/esm/content-video.entry.js +72033 -0
  173. package/dist/esm/focus-trap.esm-DXUoPIwl.js +1801 -0
  174. package/dist/esm/index-BASCLGuP.js +1713 -0
  175. package/dist/esm/index-BFDJMblF.js +4690 -0
  176. package/dist/esm/index-CLwOzPEO.js +2161 -0
  177. package/dist/esm/index-CjR_4mPu.js +280 -0
  178. package/dist/esm/index-P1YnSd-O.js +5397 -0
  179. package/dist/esm/index.js +1 -3
  180. package/dist/esm/loader.js +3 -6
  181. package/dist/esm/responsive-component-BsLrcKbS.js +169 -0
  182. package/dist/esm/responsive-component-D7dJHMp0.js +169 -0
  183. package/dist/esm/swiper-CtypHPwF.js +3928 -0
  184. package/dist/esm/swiper-nBv069TB.js +3941 -0
  185. package/dist/esm/utils--SDsQnWS.js +460 -0
  186. package/dist/esm/utils-Bak__24s.js +280 -0
  187. package/dist/esm/utils-CYF5GU_q.js +438 -0
  188. package/dist/node_modules/video.js/dist/video-js.min.css +1 -0
  189. package/dist/test/axe.js +60 -0
  190. package/dist/types/Users/shahrukceo/Developer/content-blocks/packages/js/.stencil/test/axe.d.ts +16 -0
  191. package/dist/types/blocks/content-hero-block/content-hero-block.d.ts +7 -11
  192. package/dist/types/blocks/content-split-block/content-split-block.d.ts +5 -9
  193. package/dist/types/blocks/content-text-block/content-text-block.d.ts +4 -9
  194. package/dist/types/blocks/content-tout-block/content-tout-block.d.ts +5 -10
  195. package/dist/types/components/content-accordion/content-accordion.d.ts +4 -3
  196. package/dist/types/components/content-accordion/libraries/w3_disclosure_button.d.ts +0 -1
  197. package/dist/types/components/content-carousel/content-carousel.d.ts +44 -7
  198. package/dist/types/components/content-navigation-block/content-navigation-block.d.ts +14 -8
  199. package/dist/types/components/content-overlay/content-overlay.d.ts +15 -16
  200. package/dist/types/components/content-overlay/libraries/aria-dialog.d.ts +0 -1
  201. package/dist/types/components/content-overlay/libraries/aria-utilities.d.ts +0 -1
  202. package/dist/types/components/content-tabs/content-tabs.d.ts +4 -10
  203. package/dist/types/components/content-tabs/libraries/w3_tabs.d.ts +0 -1
  204. package/dist/types/components.d.ts +892 -198
  205. package/dist/types/elements/content-button/content-button.d.ts +8 -13
  206. package/dist/types/elements/content-image/content-image.d.ts +15 -9
  207. package/dist/types/elements/content-line/content-line.d.ts +5 -12
  208. package/dist/types/elements/content-video/content-video.d.ts +6 -11
  209. package/dist/types/formatters/content-grid-formatter/content-grid-formatter.d.ts +14 -9
  210. package/dist/types/formatters/content-spacer/content-spacer.d.ts +4 -36
  211. package/dist/types/index.d.ts +3 -1
  212. package/dist/types/setupFiles.d.ts +0 -1
  213. package/dist/types/stencil-public-runtime.d.ts +265 -60
  214. package/dist/types/typings.d.ts +10 -0
  215. package/dist/types/utils/breakpoints.d.ts +57 -0
  216. package/dist/types/utils/responsive-component.d.ts +49 -0
  217. package/dist/types/utils/utils.d.ts +11 -8
  218. package/loader/cdn.js +1 -0
  219. package/loader/index.cjs.js +1 -0
  220. package/loader/index.d.ts +24 -0
  221. package/loader/index.es2017.js +1 -0
  222. package/loader/index.js +2 -0
  223. package/package.json +74 -64
  224. package/dist/cjs/BehaviorSubject-12116537.js +0 -655
  225. package/dist/cjs/BehaviorSubject-12116537.js.map +0 -1
  226. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  227. package/dist/cjs/content-accordion_11.cjs.entry.js.map +0 -1
  228. package/dist/cjs/content-blocks.cjs.js.map +0 -1
  229. package/dist/cjs/content-carousel.cjs.entry.js.map +0 -1
  230. package/dist/cjs/content-navigation-block.cjs.entry.js.map +0 -1
  231. package/dist/cjs/content-split-block.cjs.entry.js.map +0 -1
  232. package/dist/cjs/content-tabs.cjs.entry.js.map +0 -1
  233. package/dist/cjs/focus-trap.esm-7bc384a0.js.map +0 -1
  234. package/dist/cjs/index-2e0ce692.js.map +0 -1
  235. package/dist/cjs/index-8af2820a.js +0 -1650
  236. package/dist/cjs/index-8af2820a.js.map +0 -1
  237. package/dist/cjs/index.cjs.js.map +0 -1
  238. package/dist/cjs/loader.cjs.js.map +0 -1
  239. package/dist/cjs/swiper-8221f4e8.js.map +0 -1
  240. package/dist/cjs/utils-df044337.js.map +0 -1
  241. package/dist/cjs/utils-f8ccab0a.js +0 -126
  242. package/dist/cjs/utils-f8ccab0a.js.map +0 -1
  243. package/dist/cjs/window-resize-service-65a5a370.js +0 -37
  244. package/dist/cjs/window-resize-service-65a5a370.js.map +0 -1
  245. package/dist/collection/blocks/content-hero-block/content-hero-block.js.map +0 -1
  246. package/dist/collection/blocks/content-split-block/content-split-block.js.map +0 -1
  247. package/dist/collection/blocks/content-text-block/content-text-block.js.map +0 -1
  248. package/dist/collection/blocks/content-tout-block/content-tout-block.js.map +0 -1
  249. package/dist/collection/components/content-accordion/content-accordion.js.map +0 -1
  250. package/dist/collection/components/content-accordion/libraries/w3_disclosure_button.js.map +0 -1
  251. package/dist/collection/components/content-carousel/content-carousel.js.map +0 -1
  252. package/dist/collection/components/content-navigation-block/content-navigation-block.js.map +0 -1
  253. package/dist/collection/components/content-overlay/content-overlay.js.map +0 -1
  254. package/dist/collection/components/content-overlay/libraries/aria-dialog.js.map +0 -1
  255. package/dist/collection/components/content-overlay/libraries/aria-utilities.js.map +0 -1
  256. package/dist/collection/components/content-tabs/content-tabs.js.map +0 -1
  257. package/dist/collection/components/content-tabs/libraries/w3_tabs.js.map +0 -1
  258. package/dist/collection/elements/content-button/content-button.js.map +0 -1
  259. package/dist/collection/elements/content-image/content-image.js.map +0 -1
  260. package/dist/collection/elements/content-line/content-line.js.map +0 -1
  261. package/dist/collection/elements/content-video/content-video.js.map +0 -1
  262. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js.map +0 -1
  263. package/dist/collection/formatters/content-spacer/content-spacer.js.map +0 -1
  264. package/dist/collection/globalScript.js +0 -15
  265. package/dist/collection/globalScript.js.map +0 -1
  266. package/dist/collection/index.js.map +0 -1
  267. package/dist/collection/services/content-events-service.js +0 -23
  268. package/dist/collection/services/content-events-service.js.map +0 -1
  269. package/dist/collection/services/window-resize-service.js +0 -31
  270. package/dist/collection/services/window-resize-service.js.map +0 -1
  271. package/dist/collection/setupFiles.js.map +0 -1
  272. package/dist/collection/stories/ContentHeroBlock.stories.js +0 -51
  273. package/dist/collection/stories/ContentHeroBlock.stories.js.map +0 -1
  274. package/dist/collection/stories/ContentNavigationBlock.stories.js +0 -33
  275. package/dist/collection/stories/ContentNavigationBlock.stories.js.map +0 -1
  276. package/dist/collection/stories/ContentSpacer.stories.js +0 -20
  277. package/dist/collection/stories/ContentSpacer.stories.js.map +0 -1
  278. package/dist/collection/stories/ContentTextBlock.stories.js +0 -17
  279. package/dist/collection/stories/ContentTextBlock.stories.js.map +0 -1
  280. package/dist/collection/stories/ContentToutBlock.stories.js +0 -17
  281. package/dist/collection/stories/ContentToutBlock.stories.js.map +0 -1
  282. package/dist/collection/stories/FullPageExample.stories.js +0 -432
  283. package/dist/collection/stories/FullPageExample.stories.js.map +0 -1
  284. package/dist/collection/stories/assets/accessibility.svg +0 -5
  285. package/dist/collection/stories/assets/discord.svg +0 -15
  286. package/dist/collection/stories/assets/github.svg +0 -3
  287. package/dist/collection/stories/assets/tutorials.svg +0 -12
  288. package/dist/collection/stories/assets/youtube.svg +0 -4
  289. package/dist/collection/utils/utils.js.map +0 -1
  290. package/dist/components/content-accordion.js.map +0 -1
  291. package/dist/components/content-button.js.map +0 -1
  292. package/dist/components/content-carousel.js.map +0 -1
  293. package/dist/components/content-grid-formatter.js.map +0 -1
  294. package/dist/components/content-hero-block.js.map +0 -1
  295. package/dist/components/content-image.js.map +0 -1
  296. package/dist/components/content-line.js.map +0 -1
  297. package/dist/components/content-navigation-block.js.map +0 -1
  298. package/dist/components/content-overlay.js.map +0 -1
  299. package/dist/components/content-spacer.js.map +0 -1
  300. package/dist/components/content-split-block.js.map +0 -1
  301. package/dist/components/content-tabs.js.map +0 -1
  302. package/dist/components/content-text-block.js.map +0 -1
  303. package/dist/components/content-tout-block.js.map +0 -1
  304. package/dist/components/content-video.js.map +0 -1
  305. package/dist/components/index.js.map +0 -1
  306. package/dist/components/p-26483b46.js +0 -35
  307. package/dist/components/p-26483b46.js.map +0 -1
  308. package/dist/components/p-5a91aa1b.js.map +0 -1
  309. package/dist/components/p-74be971f.js +0 -652
  310. package/dist/components/p-74be971f.js.map +0 -1
  311. package/dist/components/p-7a436263.js +0 -122
  312. package/dist/components/p-7a436263.js.map +0 -1
  313. package/dist/components/p-a2fedf8a.js.map +0 -1
  314. package/dist/components/p-b85cfa86.js.map +0 -1
  315. package/dist/components/p-e28db040.js +0 -1452
  316. package/dist/components/p-e28db040.js.map +0 -1
  317. package/dist/components/p-e5dc4ea4.js.map +0 -1
  318. package/dist/components/p-e9bce2ab.js +0 -88
  319. package/dist/components/p-e9bce2ab.js.map +0 -1
  320. package/dist/content-blocks/content-blocks.esm.js.map +0 -1
  321. package/dist/content-blocks/index.esm.js.map +0 -1
  322. package/dist/content-blocks/p-13c3cc4f.js +0 -3
  323. package/dist/content-blocks/p-13c3cc4f.js.map +0 -1
  324. package/dist/content-blocks/p-398760b3.entry.js +0 -26
  325. package/dist/content-blocks/p-398760b3.entry.js.map +0 -1
  326. package/dist/content-blocks/p-5422c25b.entry.js +0 -2
  327. package/dist/content-blocks/p-5422c25b.entry.js.map +0 -1
  328. package/dist/content-blocks/p-5a91aa1b.js +0 -2
  329. package/dist/content-blocks/p-5a91aa1b.js.map +0 -1
  330. package/dist/content-blocks/p-650d1757.js +0 -2
  331. package/dist/content-blocks/p-650d1757.js.map +0 -1
  332. package/dist/content-blocks/p-74be971f.js +0 -2
  333. package/dist/content-blocks/p-74be971f.js.map +0 -1
  334. package/dist/content-blocks/p-a2fedf8a.js +0 -10
  335. package/dist/content-blocks/p-a2fedf8a.js.map +0 -1
  336. package/dist/content-blocks/p-b305392e.entry.js +0 -2
  337. package/dist/content-blocks/p-b305392e.entry.js.map +0 -1
  338. package/dist/content-blocks/p-b85cfa86.js +0 -2
  339. package/dist/content-blocks/p-b85cfa86.js.map +0 -1
  340. package/dist/content-blocks/p-cc7397cf.js +0 -2
  341. package/dist/content-blocks/p-cc7397cf.js.map +0 -1
  342. package/dist/content-blocks/p-d62775d7.entry.js +0 -2
  343. package/dist/content-blocks/p-d62775d7.entry.js.map +0 -1
  344. package/dist/content-blocks/p-e1255160.js +0 -2
  345. package/dist/content-blocks/p-e1255160.js.map +0 -1
  346. package/dist/content-blocks/p-e5dc4ea4.js +0 -2
  347. package/dist/content-blocks/p-e5dc4ea4.js.map +0 -1
  348. package/dist/content-blocks/p-f73f934a.entry.js +0 -2
  349. package/dist/content-blocks/p-f73f934a.entry.js.map +0 -1
  350. package/dist/esm/BehaviorSubject-f7a12fd8.js +0 -652
  351. package/dist/esm/BehaviorSubject-f7a12fd8.js.map +0 -1
  352. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  353. package/dist/esm/content-accordion_11.entry.js.map +0 -1
  354. package/dist/esm/content-blocks.js.map +0 -1
  355. package/dist/esm/content-carousel.entry.js.map +0 -1
  356. package/dist/esm/content-navigation-block.entry.js.map +0 -1
  357. package/dist/esm/content-split-block.entry.js.map +0 -1
  358. package/dist/esm/content-tabs.entry.js.map +0 -1
  359. package/dist/esm/focus-trap.esm-8fb54175.js.map +0 -1
  360. package/dist/esm/index-ec24af7a.js +0 -1621
  361. package/dist/esm/index-ec24af7a.js.map +0 -1
  362. package/dist/esm/index-f45a9c45.js.map +0 -1
  363. package/dist/esm/index.js.map +0 -1
  364. package/dist/esm/loader.js.map +0 -1
  365. package/dist/esm/swiper-e9621adb.js.map +0 -1
  366. package/dist/esm/utils-1c9f0ec1.js.map +0 -1
  367. package/dist/esm/utils-9a901aa9.js +0 -122
  368. package/dist/esm/utils-9a901aa9.js.map +0 -1
  369. package/dist/esm/window-resize-service-354f2ac5.js +0 -35
  370. package/dist/esm/window-resize-service-354f2ac5.js.map +0 -1
  371. package/dist/types/globalScript.d.ts +0 -1
  372. package/dist/types/old-components.d.ts +0 -1239
  373. package/dist/types/services/content-events-service.d.ts +0 -11
  374. package/dist/types/services/window-resize-service.d.ts +0 -11
  375. package/dist/types/stories/ContentHeroBlock.stories.d.ts +0 -11
  376. package/dist/types/stories/ContentNavigationBlock.stories.d.ts +0 -9
  377. package/dist/types/stories/ContentSpacer.stories.d.ts +0 -15
  378. package/dist/types/stories/ContentTextBlock.stories.d.ts +0 -9
  379. package/dist/types/stories/ContentToutBlock.stories.d.ts +0 -9
  380. package/dist/types/stories/FullPageExample.stories.d.ts +0 -10
@@ -1,4 +1,6 @@
1
- declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
1
+ type CustomMethodDecorator<T> = (target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
2
+ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
3
+ type MixinInstance<F> = F extends (base: MixedInCtor) => MixedInCtor<infer I> ? I : never;
2
4
  export interface ComponentDecorator {
3
5
  (opts?: ComponentOptions): ClassDecorator;
4
6
  }
@@ -61,6 +63,12 @@ export interface ShadowRootOptions {
61
63
  * focusable part is given focus, and the shadow host is given any available `:focus` styling.
62
64
  */
63
65
  delegatesFocus?: boolean;
66
+ /**
67
+ * Sets the slot assignment mode for the shadow root. When set to `'manual'`, enables imperative
68
+ * slotting using the `HTMLSlotElement.assign()` method. Defaults to `'named'` for standard
69
+ * declarative slotting behavior.
70
+ */
71
+ slotAssignment?: 'manual' | 'named';
64
72
  }
65
73
  export interface ModeStyles {
66
74
  [modeName: string]: string | string[];
@@ -117,12 +125,34 @@ export interface EventOptions {
117
125
  */
118
126
  composed?: boolean;
119
127
  }
128
+ export interface AttachInternalsOptions {
129
+ /**
130
+ * Initial custom states to set on the ElementInternals.states CustomStateSet.
131
+ * Each key is the state name and the value is the initial boolean state.
132
+ *
133
+ * These states can be targeted with the CSS `:state()` pseudo-class.
134
+ *
135
+ * @example
136
+ * ```tsx
137
+ * @AttachInternals({ states: { open: true, active: false } })
138
+ * internals: ElementInternals;
139
+ * ```
140
+ *
141
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/CustomStateSet
142
+ */
143
+ states?: {
144
+ [stateName: string]: boolean;
145
+ };
146
+ }
120
147
  export interface AttachInternalsDecorator {
121
- (): PropertyDecorator;
148
+ (opts?: AttachInternalsOptions): PropertyDecorator;
122
149
  }
123
150
  export interface ListenDecorator {
124
151
  (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
125
152
  }
153
+ export interface ResolveVarFunction {
154
+ <T>(variable: T): string;
155
+ }
126
156
  export interface ListenOptions {
127
157
  /**
128
158
  * Handlers can also be registered for an event other than the host itself.
@@ -151,7 +181,15 @@ export interface StateDecorator {
151
181
  (): PropertyDecorator;
152
182
  }
153
183
  export interface WatchDecorator {
154
- (propName: string): CustomMethodDecorator<any>;
184
+ (propName: any, watchOptions?: {
185
+ immediate?: boolean;
186
+ }): CustomMethodDecorator<(newValue?: any, oldValue?: any, propName?: any, ...args: any[]) => any | void>;
187
+ }
188
+ export interface PropSerializeDecorator {
189
+ (propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => string | null>;
190
+ }
191
+ export interface AttrDeserializeDecorator {
192
+ (propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => any>;
155
193
  }
156
194
  export interface UserBuildConditionals {
157
195
  isDev: boolean;
@@ -200,6 +238,24 @@ export declare const AttachInternals: AttachInternalsDecorator;
200
238
  * https://stenciljs.com/docs/events#listen-decorator
201
239
  */
202
240
  export declare const Listen: ListenDecorator;
241
+ /**
242
+ * The `resolveVar()` function is a compile-time utility that resolves const variables
243
+ * and object properties to their string literal values. This allows variables to be
244
+ * used in `@Listen` and `@Event` decorators instead of hardcoded strings.
245
+ *
246
+ * @example
247
+ * ```ts
248
+ * const MY_EVENT = 'myEvent';
249
+ * @Listen(resolveVar(MY_EVENT))
250
+ * ```
251
+ *
252
+ * @example
253
+ * ```ts
254
+ * const EVENTS = { MY_EVENT: 'myEvent' } as const;
255
+ * @Event({ eventName: resolveVar(EVENTS.MY_EVENT) })
256
+ * ```
257
+ */
258
+ export declare const resolveVar: ResolveVarFunction;
203
259
  /**
204
260
  * The `@Method()` decorator is used to expose methods on the public API.
205
261
  * Class methods decorated with the @Method() decorator can be called directly
@@ -233,6 +289,14 @@ export declare const State: StateDecorator;
233
289
  * https://stenciljs.com/docs/reactive-data#watch-decorator
234
290
  */
235
291
  export declare const Watch: WatchDecorator;
292
+ /**
293
+ * Decorator to serialize a property to an attribute string.
294
+ */
295
+ export declare const PropSerialize: PropSerializeDecorator;
296
+ /**
297
+ * Decorator to deserialize an attribute string to a property.
298
+ */
299
+ export declare const AttrDeserialize: AttrDeserializeDecorator;
236
300
  export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
237
301
  export type ErrorHandler = (err: any, element?: HTMLElement) => void;
238
302
  /**
@@ -260,6 +324,25 @@ export declare function setPlatformHelpers(helpers: {
260
324
  * @returns the base path
261
325
  */
262
326
  export declare function getAssetPath(path: string): string;
327
+ /**
328
+ * Method to render a virtual DOM tree to a container element.
329
+ *
330
+ * @example
331
+ * ```tsx
332
+ * import { render } from '@stencil/core';
333
+ *
334
+ * const vnode = (
335
+ * <div>
336
+ * <h1>Hello, world!</h1>
337
+ * </div>
338
+ * );
339
+ * render(vnode, document.body);
340
+ * ```
341
+ *
342
+ * @param vnode - The virtual DOM tree to render
343
+ * @param container - The container element to render the virtual DOM tree to
344
+ */
345
+ export declare function render(vnode: VNode, container: Element): void;
263
346
  /**
264
347
  * Used to manually set the base path where assets can be found. For lazy-loaded
265
348
  * builds the asset path is automatically set and assets copied to the correct
@@ -330,6 +413,58 @@ export declare function readTask(task: RafCallback): void;
330
413
  * Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
331
414
  */
332
415
  export declare const setErrorHandler: (handler: ErrorHandler) => void;
416
+ export type TagTransformer = (tag: string) => string;
417
+ /**
418
+ * Sets a tag transformer to be used when rendering your custom elements.
419
+ * ```ts
420
+ * setTagTransformer((tag) => {
421
+ * if (tag.startsWith('my-')) return `new-${tag}`
422
+ * return tag;
423
+ * });
424
+ * ```
425
+ * Will mean all your components that start with `my-` are defined instead with `new-my-` prefix.
426
+ *
427
+ * @param transformer the transformer function to use which must return a string.
428
+ */
429
+ export declare function setTagTransformer(transformer: TagTransformer): void;
430
+ /**
431
+ * Transforms a tag name using a transformer set via `setTagTransformer`
432
+ *
433
+ * @param tag - the tag to transform e.g. `my-tag`
434
+ * @returns the transformed tag e.g. `new-my-tag`
435
+ */
436
+ export declare function transformTag(tag: string): string;
437
+ /**
438
+ * @deprecated - Use `MixedInCtor` instead:
439
+ * ```ts
440
+ * import { MixedInCtor } from '@stencil/core';
441
+ *
442
+ * const AFactoryFn = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
443
+ * ```
444
+ */
445
+ export type MixinFactory = (base: MixedInCtor) => MixedInCtor;
446
+ export type MixedInCtor<T = {}> = new (...args: any[]) => T;
447
+ /**
448
+ * Compose multiple mixin classes into a single constructor.
449
+ * The resulting class has the combined instance types of all mixed-in classes.
450
+ *
451
+ * Example:
452
+ * ```ts
453
+ * import { Mixin, MixedInCtor } from '@stencil/core';
454
+ *
455
+ * const AWrap = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
456
+ * const BWrap = <B extends MixedInCtor>(Base: B) => {class B extends Base { propB = B }; return B;}
457
+ * const CWrap = <B extends MixedInCtor>(Base: B) => {class C extends Base { propC = C }; return C;}
458
+ *
459
+ * class X extends Mixin(AWrap, BWrap, CWrap) {
460
+ * render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
461
+ * }
462
+ * ```
463
+ *
464
+ * @param mixinFactories mixin factory functions that return a class which extends from the provided class.
465
+ * @returns a class that is composed from extending each of the provided classes in the order they were provided.
466
+ */
467
+ export declare function Mixin<const TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<MixinInstance<TMixins[number]>>;
333
468
  /**
334
469
  * This file gets copied to all distributions of stencil component collections.
335
470
  * - no imports
@@ -502,7 +637,7 @@ export interface FunctionalUtilities {
502
637
  map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
503
638
  }
504
639
  export interface FunctionalComponent<T = {}> {
505
- (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
640
+ (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[] | null;
506
641
  }
507
642
  /**
508
643
  * A Child VDOM node
@@ -544,6 +679,7 @@ export declare namespace h {
544
679
  function h(sel: any, data: VNodeData | null, text: string): VNode;
545
680
  function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
546
681
  function h(sel: any, data: VNodeData | null, children: VNode): VNode;
682
+ function h(sel: any, data: VNodeData | null, ...children: (VNode | string | number)[]): VNode;
547
683
  namespace JSX {
548
684
  interface IntrinsicElements extends LocalJSX.IntrinsicElements, JSXBase.IntrinsicElements {
549
685
  [tagName: string]: any;
@@ -558,6 +694,36 @@ export declare function h(sel: any, children: Array<VNode | undefined | null>):
558
694
  export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
559
695
  export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
560
696
  export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
697
+ export declare function h(sel: any, data: VNodeData | null, ...children: (VNode | string | number)[]): VNode;
698
+ /**
699
+ * Automatic JSX runtime functions for TypeScript's react-jsx mode.
700
+ * These functions are called automatically by TypeScript when using "jsx": "react-jsx".
701
+ * @param type type of node
702
+ * @param props properties of node
703
+ * @param key optional key for the node
704
+ * @returns a jsx vnode
705
+ */
706
+ export declare function jsx(type: any, props: any, key?: string): VNode;
707
+ /**
708
+ * Automatic JSX runtime functions for TypeScript's react-jsxmode with multiple children.
709
+ * @param type type of node
710
+ * @param props properties of node
711
+ * @param key optional key for the node
712
+ * @returns a jsx vnode
713
+ */
714
+ export declare function jsxs(type: any, props: any, key?: string): VNode;
715
+ /**
716
+ * Automatic JSX runtime functions for TypeScript's react-jsxdev mode.
717
+ * These functions are called automatically by TypeScript when using "jsx": "react-jsxdev".
718
+ * @param type type of node
719
+ * @param props properties of node
720
+ * @param key optional key for the node
721
+ * @param isStaticChildren indicates if the children are static
722
+ * @param source source information
723
+ * @param self reference to the component instance
724
+ * @returns a jsx vnode
725
+ */
726
+ export declare function jsxDEV(type: any, props: any, key?: string | number, isStaticChildren?: boolean, source?: any, self?: any): VNode;
561
727
  /**
562
728
  * A virtual DOM node
563
729
  */
@@ -586,8 +752,8 @@ declare namespace LocalJSX {
586
752
  }
587
753
  export { LocalJSX as JSX };
588
754
  export declare namespace JSXBase {
589
- interface IntrinsicElements {
590
- slot: JSXBase.SlotAttributes;
755
+ export interface IntrinsicElements {
756
+ slot: JSXBase.SlotAttributes<HTMLSlotElement>;
591
757
  a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
592
758
  abbr: JSXBase.HTMLAttributes;
593
759
  address: JSXBase.HTMLAttributes;
@@ -757,12 +923,12 @@ export declare namespace JSXBase {
757
923
  use: JSXBase.SVGAttributes;
758
924
  view: JSXBase.SVGAttributes;
759
925
  }
760
- interface SlotAttributes extends JSXAttributes {
926
+ export interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
761
927
  name?: string;
762
928
  slot?: string;
763
929
  onSlotchange?: (event: Event) => void;
764
930
  }
765
- interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
931
+ export interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
766
932
  download?: any;
767
933
  href?: string;
768
934
  hrefLang?: string;
@@ -773,9 +939,9 @@ export declare namespace JSXBase {
773
939
  target?: string;
774
940
  referrerPolicy?: ReferrerPolicy;
775
941
  }
776
- interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
942
+ export interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
777
943
  }
778
- interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
944
+ export interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
779
945
  alt?: string;
780
946
  coords?: string;
781
947
  download?: any;
@@ -787,14 +953,14 @@ export declare namespace JSXBase {
787
953
  shape?: string;
788
954
  target?: string;
789
955
  }
790
- interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
956
+ export interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
791
957
  href?: string;
792
958
  target?: string;
793
959
  }
794
- interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
960
+ export interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
795
961
  cite?: string;
796
962
  }
797
- interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
963
+ export interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
798
964
  disabled?: boolean;
799
965
  form?: string;
800
966
  formAction?: string;
@@ -813,44 +979,49 @@ export declare namespace JSXBase {
813
979
  popoverTargetAction?: string;
814
980
  popoverTargetElement?: Element | null;
815
981
  popoverTarget?: string;
982
+ command?: string;
983
+ commandFor?: string;
984
+ commandfor?: string;
816
985
  }
817
- interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
986
+ export interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
818
987
  height?: number | string;
819
988
  width?: number | string;
820
989
  }
821
- interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
990
+ export interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
822
991
  span?: number;
823
992
  }
824
- interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
993
+ export interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
825
994
  span?: number;
826
995
  }
827
- interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
996
+ export interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
828
997
  open?: boolean;
829
- onToggle?: (event: Event) => void;
998
+ name?: string;
999
+ onToggle?: (event: ToggleEvent) => void;
830
1000
  }
831
- interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
1001
+ export interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
832
1002
  cite?: string;
833
1003
  dateTime?: string;
834
1004
  datetime?: string;
835
1005
  }
836
- interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
1006
+ export interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
837
1007
  onCancel?: (event: Event) => void;
838
1008
  onClose?: (event: Event) => void;
839
1009
  open?: boolean;
840
1010
  returnValue?: string;
1011
+ closedby?: 'any' | 'closerequest' | 'none';
841
1012
  }
842
- interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
1013
+ export interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
843
1014
  height?: number | string;
844
1015
  src?: string;
845
1016
  type?: string;
846
1017
  width?: number | string;
847
1018
  }
848
- interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
1019
+ export interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
849
1020
  disabled?: boolean;
850
1021
  form?: string;
851
1022
  name?: string;
852
1023
  }
853
- interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
1024
+ export interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
854
1025
  acceptCharset?: string;
855
1026
  acceptcharset?: string;
856
1027
  action?: string;
@@ -864,10 +1035,10 @@ export declare namespace JSXBase {
864
1035
  novalidate?: boolean | string;
865
1036
  target?: string;
866
1037
  }
867
- interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
1038
+ export interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
868
1039
  manifest?: string;
869
1040
  }
870
- interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
1041
+ export interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
871
1042
  allow?: string;
872
1043
  allowFullScreen?: boolean;
873
1044
  allowfullScreen?: string | boolean;
@@ -875,6 +1046,8 @@ export declare namespace JSXBase {
875
1046
  allowtransparency?: string | boolean;
876
1047
  frameBorder?: number | string;
877
1048
  frameborder?: number | string;
1049
+ fetchPriority?: 'high' | 'low' | 'auto';
1050
+ fetchpriority?: 'high' | 'low' | 'auto';
878
1051
  importance?: 'low' | 'auto' | 'high';
879
1052
  height?: number | string;
880
1053
  loading?: 'lazy' | 'auto' | 'eager';
@@ -892,14 +1065,17 @@ export declare namespace JSXBase {
892
1065
  srcdoc?: string;
893
1066
  width?: number | string;
894
1067
  }
895
- interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
1068
+ export interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
896
1069
  alt?: string;
897
1070
  crossOrigin?: string;
898
1071
  crossorigin?: string;
899
1072
  decoding?: 'async' | 'auto' | 'sync';
1073
+ fetchPriority?: 'high' | 'low' | 'auto';
1074
+ fetchpriority?: 'high' | 'low' | 'auto';
900
1075
  importance?: 'low' | 'auto' | 'high';
901
1076
  height?: number | string;
902
1077
  loading?: 'lazy' | 'auto' | 'eager';
1078
+ referrerPolicy?: ReferrerPolicy;
903
1079
  sizes?: string;
904
1080
  src?: string;
905
1081
  srcSet?: string;
@@ -908,12 +1084,12 @@ export declare namespace JSXBase {
908
1084
  usemap?: string;
909
1085
  width?: number | string;
910
1086
  }
911
- interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
1087
+ export interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
912
1088
  cite?: string;
913
1089
  dateTime?: string;
914
1090
  datetime?: string;
915
1091
  }
916
- interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
1092
+ export interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
917
1093
  accept?: string;
918
1094
  allowdirs?: boolean;
919
1095
  alt?: string;
@@ -976,7 +1152,7 @@ export declare namespace JSXBase {
976
1152
  popoverTargetElement?: Element | null;
977
1153
  popoverTarget?: string;
978
1154
  }
979
- interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
1155
+ export interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
980
1156
  challenge?: string;
981
1157
  disabled?: boolean;
982
1158
  form?: string;
@@ -986,15 +1162,17 @@ export declare namespace JSXBase {
986
1162
  keyparams?: string;
987
1163
  name?: string;
988
1164
  }
989
- interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
1165
+ export interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
990
1166
  form?: string;
991
1167
  htmlFor?: string;
992
1168
  }
993
- interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
1169
+ export interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
994
1170
  value?: string | string[] | number;
995
1171
  }
996
- interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
1172
+ export interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
997
1173
  as?: string;
1174
+ fetchPriority?: 'high' | 'low' | 'auto';
1175
+ fetchpriority?: 'high' | 'low' | 'auto';
998
1176
  href?: string;
999
1177
  hrefLang?: string;
1000
1178
  hreflang?: string;
@@ -1005,16 +1183,18 @@ export declare namespace JSXBase {
1005
1183
  sizes?: string;
1006
1184
  type?: string;
1007
1185
  }
1008
- interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
1186
+ export interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
1009
1187
  name?: string;
1010
1188
  }
1011
- interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
1189
+ export interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
1012
1190
  type?: string;
1013
1191
  }
1014
- interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
1192
+ export interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
1015
1193
  autoPlay?: boolean;
1016
1194
  autoplay?: boolean | string;
1017
1195
  controls?: boolean;
1196
+ controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1197
+ controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1018
1198
  crossOrigin?: string;
1019
1199
  crossorigin?: string;
1020
1200
  loop?: boolean;
@@ -1049,7 +1229,7 @@ export declare namespace JSXBase {
1049
1229
  onVolumeChange?: (event: Event) => void;
1050
1230
  onWaiting?: (event: Event) => void;
1051
1231
  }
1052
- interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
1232
+ export interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
1053
1233
  charSet?: string;
1054
1234
  charset?: string;
1055
1235
  content?: string;
@@ -1057,7 +1237,7 @@ export declare namespace JSXBase {
1057
1237
  httpequiv?: string;
1058
1238
  name?: string;
1059
1239
  }
1060
- interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
1240
+ export interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
1061
1241
  form?: string;
1062
1242
  high?: number;
1063
1243
  low?: number;
@@ -1066,10 +1246,10 @@ export declare namespace JSXBase {
1066
1246
  optimum?: number;
1067
1247
  value?: string | string[] | number;
1068
1248
  }
1069
- interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
1249
+ export interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
1070
1250
  cite?: string;
1071
1251
  }
1072
- interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
1252
+ export interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
1073
1253
  classID?: string;
1074
1254
  classid?: string;
1075
1255
  data?: string;
@@ -1082,47 +1262,49 @@ export declare namespace JSXBase {
1082
1262
  width?: number | string;
1083
1263
  wmode?: string;
1084
1264
  }
1085
- interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
1265
+ export interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
1086
1266
  reversed?: boolean;
1087
1267
  start?: number;
1088
1268
  }
1089
- interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1269
+ export interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1090
1270
  disabled?: boolean;
1091
1271
  label?: string;
1092
1272
  }
1093
- interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1273
+ export interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1094
1274
  disabled?: boolean;
1095
1275
  label?: string;
1096
1276
  selected?: boolean;
1097
1277
  value?: string | string[] | number;
1098
1278
  }
1099
- interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1279
+ export interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1100
1280
  form?: string;
1101
1281
  htmlFor?: string;
1102
1282
  name?: string;
1103
1283
  }
1104
- interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
1284
+ export interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
1105
1285
  name?: string;
1106
1286
  value?: string | string[] | number;
1107
1287
  }
1108
- interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
1288
+ export interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
1109
1289
  max?: number | string;
1110
1290
  value?: string | string[] | number;
1111
1291
  }
1112
- interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
1292
+ export interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
1113
1293
  async?: boolean;
1114
1294
  charSet?: string;
1115
1295
  charset?: string;
1116
1296
  crossOrigin?: string;
1117
1297
  crossorigin?: string;
1118
1298
  defer?: boolean;
1299
+ fetchPriority?: 'high' | 'low' | 'auto';
1300
+ fetchpriority?: 'high' | 'low' | 'auto';
1119
1301
  importance?: 'low' | 'auto' | 'high';
1120
1302
  integrity?: string;
1121
1303
  nonce?: string;
1122
1304
  src?: string;
1123
1305
  type?: string;
1124
1306
  }
1125
- interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1307
+ export interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1126
1308
  disabled?: boolean;
1127
1309
  form?: string;
1128
1310
  multiple?: boolean;
@@ -1132,7 +1314,7 @@ export declare namespace JSXBase {
1132
1314
  autoComplete?: string;
1133
1315
  autocomplete?: string;
1134
1316
  }
1135
- interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1317
+ export interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1136
1318
  height?: number;
1137
1319
  media?: string;
1138
1320
  sizes?: string;
@@ -1141,20 +1323,20 @@ export declare namespace JSXBase {
1141
1323
  type?: string;
1142
1324
  width?: number;
1143
1325
  }
1144
- interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1326
+ export interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1145
1327
  media?: string;
1146
1328
  nonce?: string;
1147
1329
  scoped?: boolean;
1148
1330
  type?: string;
1149
1331
  }
1150
- interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
1332
+ export interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
1151
1333
  cellPadding?: number | string;
1152
1334
  cellpadding?: number | string;
1153
1335
  cellSpacing?: number | string;
1154
1336
  cellspacing?: number | string;
1155
1337
  summary?: string;
1156
1338
  }
1157
- interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1339
+ export interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1158
1340
  autoComplete?: string;
1159
1341
  autocomplete?: string;
1160
1342
  cols?: number;
@@ -1175,12 +1357,12 @@ export declare namespace JSXBase {
1175
1357
  value?: string | string[] | number;
1176
1358
  wrap?: string;
1177
1359
  }
1178
- interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
1360
+ export interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
1179
1361
  colSpan?: number;
1180
1362
  headers?: string;
1181
1363
  rowSpan?: number;
1182
1364
  }
1183
- interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1365
+ export interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1184
1366
  abbr?: string;
1185
1367
  colSpan?: number;
1186
1368
  headers?: string;
@@ -1188,10 +1370,10 @@ export declare namespace JSXBase {
1188
1370
  rowspan?: number | string;
1189
1371
  scope?: string;
1190
1372
  }
1191
- interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
1373
+ export interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
1192
1374
  dateTime?: string;
1193
1375
  }
1194
- interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
1376
+ export interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
1195
1377
  default?: boolean;
1196
1378
  kind?: string;
1197
1379
  label?: string;
@@ -1199,14 +1381,14 @@ export declare namespace JSXBase {
1199
1381
  srcLang?: string;
1200
1382
  srclang?: string;
1201
1383
  }
1202
- interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
1384
+ export interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
1203
1385
  height?: number | string;
1204
1386
  playsInline?: boolean;
1205
1387
  playsinline?: boolean | string;
1206
1388
  poster?: string;
1207
1389
  width?: number | string;
1208
1390
  }
1209
- interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1391
+ export interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1210
1392
  innerHTML?: string;
1211
1393
  accessKey?: string;
1212
1394
  autoFocus?: boolean;
@@ -1231,7 +1413,10 @@ export declare namespace JSXBase {
1231
1413
  tabIndex?: number;
1232
1414
  tabindex?: number | string;
1233
1415
  title?: string;
1416
+ translate?: 'yes' | 'no' | (string & {});
1234
1417
  popover?: string | null;
1418
+ focusgroup?: string;
1419
+ focusgroupstart?: boolean;
1235
1420
  inputMode?: string;
1236
1421
  inputmode?: string;
1237
1422
  enterKeyHint?: string;
@@ -1269,7 +1454,7 @@ export declare namespace JSXBase {
1269
1454
  security?: string;
1270
1455
  unselectable?: boolean;
1271
1456
  }
1272
- interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
1457
+ export interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
1273
1458
  class?: string | {
1274
1459
  [className: string]: boolean;
1275
1460
  };
@@ -1530,7 +1715,20 @@ export declare namespace JSXBase {
1530
1715
  z?: number | string;
1531
1716
  zoomAndPan?: string;
1532
1717
  }
1533
- interface DOMAttributes<T> extends JSXAttributes<T> {
1718
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
1719
+ export interface ToggleEvent extends Event {
1720
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
1721
+ readonly newState: string;
1722
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
1723
+ readonly oldState: string;
1724
+ }
1725
+ type AriaIDLPropertyName = {
1726
+ [K in keyof ARIAMixin]: ARIAMixin[K] extends string | null ? K : never;
1727
+ }[keyof ARIAMixin];
1728
+ type JSXAriaProperties = {
1729
+ [K in AriaIDLPropertyName]?: string | boolean | undefined;
1730
+ };
1731
+ export interface DOMAttributes<T> extends JSXAttributes<T>, JSXAriaProperties {
1534
1732
  slot?: string;
1535
1733
  part?: string;
1536
1734
  exportparts?: string;
@@ -1546,6 +1744,10 @@ export declare namespace JSXBase {
1546
1744
  onCompositionstartCapture?: (event: CompositionEvent) => void;
1547
1745
  onCompositionupdate?: (event: CompositionEvent) => void;
1548
1746
  onCompositionupdateCapture?: (event: CompositionEvent) => void;
1747
+ onBeforeToggle?: (event: ToggleEvent) => void;
1748
+ onBeforeToggleCapture?: (event: ToggleEvent) => void;
1749
+ onToggle?: (event: ToggleEvent) => void;
1750
+ onToggleCapture?: (event: ToggleEvent) => void;
1549
1751
  onFocus?: (event: FocusEvent) => void;
1550
1752
  onFocusCapture?: (event: FocusEvent) => void;
1551
1753
  onFocusin?: (event: FocusEvent) => void;
@@ -1575,7 +1777,7 @@ export declare namespace JSXBase {
1575
1777
  onKeyUp?: (event: KeyboardEvent) => void;
1576
1778
  onKeyUpCapture?: (event: KeyboardEvent) => void;
1577
1779
  onAuxClick?: (event: MouseEvent) => void;
1578
- onClick?: (event: MouseEvent) => void;
1780
+ onClick?: (event: PointerEvent) => void;
1579
1781
  onClickCapture?: (event: MouseEvent) => void;
1580
1782
  onContextMenu?: (event: MouseEvent) => void;
1581
1783
  onContextMenuCapture?: (event: MouseEvent) => void;
@@ -1655,7 +1857,9 @@ export declare namespace JSXBase {
1655
1857
  onTransitionRunCapture?: (event: TransitionEvent) => void;
1656
1858
  onTransitionStart?: (event: TransitionEvent) => void;
1657
1859
  onTransitionStartCapture?: (event: TransitionEvent) => void;
1860
+ [key: `aria-${string}`]: string | boolean | undefined;
1658
1861
  }
1862
+ export {};
1659
1863
  }
1660
1864
  export interface JSXAttributes<T = Element> {
1661
1865
  key?: string | number;
@@ -1665,6 +1869,7 @@ export interface CustomElementsDefineOptions {
1665
1869
  exclude?: string[];
1666
1870
  resourcesUrl?: string;
1667
1871
  syncQueue?: boolean;
1872
+ /** @deprecated in-favour of `setTagTransformer` and `transformTag` */
1668
1873
  transformTagName?: (tagName: string) => string;
1669
1874
  jmp?: (c: Function) => any;
1670
1875
  raf?: (c: FrameRequestCallback) => number;