@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
@@ -5,55 +5,66 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { ContentLineTextAlignOptions as ContentLineTextAlignOptions1, ContentVerticalAlignments, FLEX_JUSTIFY_OPTIONS, GRID_TYPES, ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from "./typings";
9
- import { InitMethodType } from "./components/content-carousel/content-carousel";
10
- import { HeroContentPlacementOptions } from "./blocks/content-hero-block/content-hero-block";
11
- import { ContentLineTagOptions, ContentLineTextAlignOptions } from "./elements/content-line/content-line";
12
- import { SupportedVideoMethods } from "./elements/content-video/content-video";
13
- export { ContentLineTextAlignOptions as ContentLineTextAlignOptions1, ContentVerticalAlignments, FLEX_JUSTIFY_OPTIONS, GRID_TYPES, ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from "./typings";
14
- export { InitMethodType } from "./components/content-carousel/content-carousel";
15
- export { HeroContentPlacementOptions } from "./blocks/content-hero-block/content-hero-block";
16
- export { ContentLineTagOptions, ContentLineTextAlignOptions } from "./elements/content-line/content-line";
17
- export { SupportedVideoMethods } from "./elements/content-video/content-video";
8
+ import { ContentLineTagOptions, ContentLineTextAlignOptions, ContentVerticalAlignments, FLEX_JUSTIFY_OPTIONS, GRID_TYPES, HeroContentPlacementOptions, InitMethodType, ResponsiveBoolean, ResponsiveNumber, ResponsiveString, SupportedVideoMethods } from "./typings";
9
+ export { ContentLineTagOptions, ContentLineTextAlignOptions, ContentVerticalAlignments, FLEX_JUSTIFY_OPTIONS, GRID_TYPES, HeroContentPlacementOptions, InitMethodType, ResponsiveBoolean, ResponsiveNumber, ResponsiveString, SupportedVideoMethods } from "./typings";
18
10
  export namespace Components {
11
+ /**
12
+ * A button that shows and hides the content below it, such as an answer in a list of questions.
13
+ */
19
14
  interface ContentAccordion {
20
15
  /**
21
16
  * The ending animation class in case you want to control content styling.
22
17
  * @type String
18
+ * @default 'animation-end'
23
19
  */
24
20
  "animationEnd": string;
25
21
  /**
26
22
  * The starting animation class in case you want to control content styling.
27
23
  * @type String
24
+ * @default 'animation-start'
28
25
  */
29
26
  "animationStart": string;
30
27
  /**
31
28
  * The amount of time in milliseconds to run the closing animation, before the class is removed
32
29
  * @type Number
30
+ * @default 0
33
31
  */
34
32
  "animationTime": number;
35
33
  /**
36
- * @type Boolean
34
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
35
+ * @type String
37
36
  * @responsive
38
37
  */
38
+ "classes": ResponsiveString;
39
+ /**
40
+ * @type Boolean
41
+ * @responsive
42
+ * @default 'false'
43
+ */
39
44
  "open": ResponsiveBoolean;
45
+ /**
46
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
47
+ * @type String
48
+ * @responsive
49
+ */
50
+ "padding": ResponsiveString;
40
51
  /**
41
52
  * The class to be applied to the trigger button element.
42
53
  * @type String
54
+ * @default ''
43
55
  */
44
56
  "triggerClass": string;
45
57
  }
58
+ /**
59
+ * A link or button. Wrapped around block content, such as a card, it makes the whole area clickable, and opens a content-overlay when its href points at one.
60
+ */
46
61
  interface ContentButton {
47
62
  /**
48
- * The classes for the button.
63
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
49
64
  * @type String
50
65
  * @responsive
51
66
  */
52
- "classes": string;
53
- /**
54
- * @type Boolean
55
- */
56
- "clickableBlock": boolean;
67
+ "classes": ResponsiveString;
57
68
  /**
58
69
  * /** Aria-controls value
59
70
  * @type Target
@@ -77,50 +88,120 @@ export namespace Components {
77
88
  * @responsive
78
89
  */
79
90
  "linkLabel": ResponsiveString;
91
+ /**
92
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
93
+ * @type String
94
+ * @responsive
95
+ */
96
+ "padding": ResponsiveString;
80
97
  /**
81
98
  * @type String
82
99
  */
83
100
  "target": string;
84
101
  }
102
+ /**
103
+ * Slides that move sideways, built on Swiper, with labelled controls and a pause button when they move on their own.
104
+ */
85
105
  interface ContentCarousel {
106
+ /**
107
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
108
+ * @type String
109
+ * @responsive
110
+ */
111
+ "classes": ResponsiveString;
86
112
  /**
87
113
  * @type Select
88
114
  * @options load
89
115
  * @options init
116
+ * @default 'load'
90
117
  */
91
118
  "initMethod": InitMethodType;
119
+ /**
120
+ * The accessible name of the carousel, read by screen readers when they reach it.
121
+ * @type String
122
+ * @default 'Carousel'
123
+ */
124
+ "label": string;
125
+ /**
126
+ * The accessible name of the next slide button.
127
+ * @type String
128
+ * @default 'Next slide'
129
+ */
130
+ "nextLabel": string;
131
+ /**
132
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
133
+ * @type String
134
+ * @responsive
135
+ */
136
+ "padding": ResponsiveString;
137
+ /**
138
+ * The accessible name of the button that stops slides that move on their own.
139
+ * @type String
140
+ * @default 'Pause the slides'
141
+ */
142
+ "pauseLabel": string;
143
+ /**
144
+ * The accessible name of the button that starts the slides moving again.
145
+ * @type String
146
+ * @default 'Play the slides'
147
+ */
148
+ "playLabel": string;
149
+ /**
150
+ * The accessible name of the previous slide button.
151
+ * @type String
152
+ * @default 'Previous slide'
153
+ */
154
+ "prevLabel": string;
92
155
  /**
93
156
  * @type JSON
94
157
  * @schema Swiper Options
158
+ * @default '{"slidesPerView": 1, "slidesPerGroup": 1, "autoplay": true, "loop": false}'
95
159
  */
96
160
  "swiperOptions": string;
97
161
  }
162
+ /**
163
+ * Lays its children out in a grid or a row, with the number of columns, gaps and alignment set per breakpoint.
164
+ */
98
165
  interface ContentGridFormatter {
99
166
  /**
167
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
100
168
  * @type String
101
169
  * @responsive
102
170
  */
103
171
  "classes": ResponsiveString;
104
172
  /**
105
173
  * @type Number
106
- * @responsive
174
+ * @responsive
175
+ * @default '0'
107
176
  */
108
177
  "columnGap": ResponsiveNumber;
109
178
  /**
110
179
  * @type Number
111
- * @responsive
180
+ * @responsive
181
+ * @default '1'
112
182
  */
113
183
  "columns": ResponsiveNumber;
184
+ /**
185
+ * For type flex: lay the children out in a row or a column. With columns="auto", children in a column keep their own width, so a list of links stacks on phones and sits in a row on larger screens.
186
+ * @type Select
187
+ * @options row
188
+ * @options column
189
+ * @responsive
190
+ * @default 'row'
191
+ */
192
+ "direction": ResponsiveString;
114
193
  /**
115
194
  * Setting this true to will grow all children. Alternatively, add the attribute [flex-grow="true"] to a specific grid child and that child will grow.
116
195
  * @type Boolean
117
- * @responsive
196
+ * @responsive
197
+ * @default 'false'
118
198
  */
119
199
  "flexGrow": ResponsiveBoolean;
120
200
  /**
121
201
  * Setting this true to will shrink all children. Alternatively, add the attribute [flex-shrink="true"] to a specific grid child and that child will shrink.
122
202
  * @type Boolean
123
- * @responsive
203
+ * @responsive
204
+ * @default 'false'
124
205
  */
125
206
  "flexShrink": ResponsiveBoolean;
126
207
  /**
@@ -130,13 +211,21 @@ export namespace Components {
130
211
  * @options space-between
131
212
  * @options center
132
213
  * @options space-evenly
133
- * @responsive
214
+ * @responsive
215
+ * @default 'space-between'
134
216
  */
135
217
  "horizontal": FLEX_JUSTIFY_OPTIONS;
136
218
  /**
137
- * @type Number
219
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
220
+ * @type String
138
221
  * @responsive
139
222
  */
223
+ "padding": ResponsiveString;
224
+ /**
225
+ * @type Number
226
+ * @responsive
227
+ * @default '0'
228
+ */
140
229
  "rowGap": ResponsiveNumber;
141
230
  /**
142
231
  * Flex or grid
@@ -144,7 +233,8 @@ export namespace Components {
144
233
  * @options none
145
234
  * @options flex
146
235
  * @options grid
147
- * @responsive
236
+ * @responsive
237
+ * @default 'flex'
148
238
  */
149
239
  "type": GRID_TYPES | ResponsiveString;
150
240
  /**
@@ -154,25 +244,40 @@ export namespace Components {
154
244
  * @options space-between
155
245
  * @options center
156
246
  * @options space-evenly
157
- * @responsive
247
+ * @responsive
248
+ * @default 'space-between'
158
249
  */
159
250
  "vertical": FLEX_JUSTIFY_OPTIONS;
160
251
  }
252
+ /**
253
+ * A full width section with an image or video behind, or above, its text. Usually the first block on a page.
254
+ */
161
255
  interface ContentHeroBlock {
162
256
  /**
257
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
163
258
  * @type String
164
259
  * @responsive
165
260
  */
166
261
  "classes": ResponsiveString;
167
262
  /**
168
- * Pipe separated HeroContentPlacementOptions that will determine whether the content sits below the media slot or overlapped above.
263
+ * Where the content sits: above, over the media, or below it. Over the media by default. Use pipes to change it per breakpoint, such as below|above for the text below the media on phones and over it from tablets.
169
264
  * @type Select
170
265
  * @options below
171
266
  * @options above
172
- * @responsive
267
+ * @responsive
268
+ * @default 'above'
173
269
  */
174
270
  "contentPosition": ResponsiveString | HeroContentPlacementOptions;
271
+ /**
272
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
273
+ * @type String
274
+ * @responsive
275
+ */
276
+ "padding": ResponsiveString;
175
277
  }
278
+ /**
279
+ * A responsive image or muted looping video per breakpoint with native lazy loading.
280
+ */
176
281
  interface ContentImage {
177
282
  /**
178
283
  * @type String
@@ -185,23 +290,42 @@ export namespace Components {
185
290
  */
186
291
  "aspectRatio": ResponsiveString;
187
292
  /**
293
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
188
294
  * @type String
189
295
  * @responsive
190
296
  */
191
297
  "classes": ResponsiveString;
298
+ /**
299
+ * How soon the browser should download the image compared with other files. Use "high" for the main image of the page.
300
+ * @type Select
301
+ * @options auto
302
+ * @options high
303
+ * @options low
304
+ */
305
+ "fetchPriority"?: 'high' | 'low' | 'auto';
192
306
  /**
193
307
  * @type Number
194
- * @responsive
308
+ * @responsive
309
+ * @default '9'
195
310
  */
196
311
  "height": ResponsiveNumber;
197
312
  /**
313
+ * Images use the browser's native lazy loading. Set to false for images that are visible when the page opens, such as a hero, so they download straight away.
198
314
  * @type Boolean
315
+ * @default true
199
316
  */
200
317
  "lazyLoad": boolean;
318
+ /**
319
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
320
+ * @type String
321
+ * @responsive
322
+ */
323
+ "padding": ResponsiveString;
201
324
  /**
202
325
  * If true, the content in the mediaContent slot will be visible.
203
326
  * @type Boolean
204
- * @responsive
327
+ * @responsive
328
+ * @default 'false|true'
205
329
  */
206
330
  "showContent": ResponsiveBoolean;
207
331
  /**
@@ -213,32 +337,45 @@ export namespace Components {
213
337
  * @type Select
214
338
  * @options image
215
339
  * @options video
340
+ * @default 'image'
216
341
  */
217
342
  "type"?: 'image' | 'video';
218
343
  /**
219
344
  * @type Select
220
345
  * @options video/mp4
346
+ * @default 'video/mp4'
221
347
  */
222
348
  "videoType"?: string;
223
349
  /**
224
350
  * @type Number
225
- * @responsive
351
+ * @responsive
352
+ * @default '16'
226
353
  */
227
354
  "width": ResponsiveNumber;
228
355
  }
356
+ /**
357
+ * One line of text, such as a heading or a paragraph, with its tag, alignment and maximum width set per breakpoint.
358
+ */
229
359
  interface ContentLine {
230
360
  /**
231
- * The font class for the line.
361
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
232
362
  * @type String
233
363
  * @responsive
234
364
  */
235
- "classes": any;
365
+ "classes": ResponsiveString;
236
366
  /**
237
367
  * Pipe separated list of max width numbers. You can also use units such as "px" and "vw". If no unit is provided, defaults to percentage.
238
368
  * @type String
239
- * @responsive
369
+ * @responsive
370
+ * @default '100%'
240
371
  */
241
372
  "maxWidth": ResponsiveNumber;
373
+ /**
374
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
375
+ * @type String
376
+ * @responsive
377
+ */
378
+ "padding": ResponsiveString;
242
379
  /**
243
380
  * The element tag to use.
244
381
  * @type Select
@@ -253,6 +390,7 @@ export namespace Components {
253
390
  * @options span
254
391
  * @options section
255
392
  * @options article
393
+ * @default 'div'
256
394
  */
257
395
  "tag": ContentLineTagOptions;
258
396
  /**
@@ -262,16 +400,27 @@ export namespace Components {
262
400
  * @options left
263
401
  * @options center
264
402
  * @options right
265
- * @responsive
403
+ * @responsive
404
+ * @default 'default'
266
405
  */
267
406
  "textAlign": ContentLineTextAlignOptions;
268
407
  }
408
+ /**
409
+ * Site navigation that collapses into a menu button on the breakpoints you choose, with a skip link for keyboard users.
410
+ */
269
411
  interface ContentNavigationBlock {
270
412
  /**
413
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
271
414
  * @type String
272
415
  * @responsive
273
416
  */
274
417
  "classes": ResponsiveString;
418
+ /**
419
+ * The accessible name of the default close button.
420
+ * @type String
421
+ * @default 'Close menu'
422
+ */
423
+ "closeLabel": string;
275
424
  /**
276
425
  * @type Select
277
426
  * @responsive
@@ -280,11 +429,28 @@ export namespace Components {
280
429
  * @options sticky
281
430
  * @options static
282
431
  * @options none
432
+ * @default 'fixed|none'
283
433
  */
284
434
  "hamburger": ResponsiveString;
435
+ /**
436
+ * The accessible name of the default menu button.
437
+ * @type String
438
+ * @default 'Open menu'
439
+ */
440
+ "openLabel": string;
441
+ /**
442
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
443
+ * @type String
444
+ * @responsive
445
+ */
446
+ "padding": ResponsiveString;
285
447
  }
448
+ /**
449
+ * A dialog that opens over the page, or inside another element, and keeps keyboard focus inside it while open.
450
+ */
286
451
  interface ContentOverlay {
287
452
  /**
453
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
288
454
  * @type String
289
455
  * @responsive
290
456
  */
@@ -293,11 +459,20 @@ export namespace Components {
293
459
  /**
294
460
  * Title attribute value for the close button.
295
461
  * @type String
462
+ * @default 'Close Overlay'
296
463
  */
297
464
  "closeTitle": string;
465
+ /**
466
+ * What the overlay covers. "body", the default, covers the whole screen. A CSS selector, such as "#hero", covers that element instead: the overlay moves into it when it opens. Use pipes to cover the screen on phones and an element on wider screens: fill="body|#hero".
467
+ * @type String
468
+ * @responsive
469
+ * @default 'body'
470
+ */
471
+ "fill": ResponsiveString;
298
472
  /**
299
473
  * @type Boolean
300
- * @responsive
474
+ * @responsive
475
+ * @default 'true'
301
476
  */
302
477
  "fullScreen": ResponsiveBoolean;
303
478
  /**
@@ -307,47 +482,44 @@ export namespace Components {
307
482
  * @options left
308
483
  * @options center
309
484
  * @options right
310
- * @responsive
485
+ * @responsive
486
+ * @default 'center'
487
+ */
488
+ "horizontal": ContentLineTextAlignOptions;
489
+ /**
490
+ * The accessible name of the dialog. Only needed when there is no header slot, which names it otherwise.
491
+ * @type String
311
492
  */
312
- "horizontal": ContentLineTextAlignOptions1;
493
+ "label": string;
313
494
  /**
314
495
  * @type Boolean
315
- * @responsive
496
+ * @responsive
497
+ * @default 'false'
316
498
  */
317
499
  "open": ResponsiveBoolean;
318
500
  "openOverlay": () => Promise<void>;
319
501
  /**
320
- * Position of the overlay.
321
- * @type Select
322
- * @options absolute
323
- * @options fixed
324
- * @options static
325
- * @options sticky
326
- */
327
- "position": ResponsiveString;
328
- /**
502
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
329
503
  * @type String
330
504
  * @responsive
331
505
  */
332
- "target": string;
506
+ "padding": ResponsiveString;
333
507
  /**
334
508
  * A pipe delimited setting for vertical alignment. This only applies when fullscreen mode is activated.
335
509
  * @type Select
336
510
  * @options top
337
511
  * @options center
338
512
  * @options bottom
513
+ * @default 'center'
339
514
  */
340
515
  "vertical": ContentVerticalAlignments;
341
516
  }
517
+ /**
518
+ * Adds space around its content and limits its width, with its padding and maximum width set per breakpoint.
519
+ */
342
520
  interface ContentSpacer {
343
521
  /**
344
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
345
- * @type Number
346
- * @string
347
- * @responsive
348
- */
349
- "bottomOffset": ResponsiveNumber;
350
- /**
522
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
351
523
  * @type String
352
524
  * @responsive
353
525
  */
@@ -355,7 +527,8 @@ export namespace Components {
355
527
  /**
356
528
  * Pipe separated boolean values for full height. Typically, this is used if you have a hero block and you want a footer that aligns with the text layer. This is a niche case, but a valid one.
357
529
  * @type Boolean
358
- * @responsive
530
+ * @responsive
531
+ * @default 'false'
359
532
  */
360
533
  "fullHeight": ResponsiveBoolean;
361
534
  /**
@@ -365,29 +538,23 @@ export namespace Components {
365
538
  * @options left
366
539
  * @options center
367
540
  * @options right
368
- * @responsive
369
- */
370
- "horizontal": ContentLineTextAlignOptions1;
371
- /**
372
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
373
- * @type Number
374
- * @string
375
- * @responsive
541
+ * @responsive
542
+ * @default 'default'
376
543
  */
377
- "leftOffset": ResponsiveNumber;
544
+ "horizontal": ContentLineTextAlignOptions;
378
545
  /**
379
546
  * Pipe separated list of max width numbers. You can also use units such as "px" and "vw".
380
547
  * @type String
381
- * @responsive
548
+ * @responsive
549
+ * @default '100'
382
550
  */
383
551
  "maxWidth": ResponsiveNumber;
384
552
  /**
385
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
386
- * @type Number
387
- * @string
553
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
554
+ * @type String
388
555
  * @responsive
389
556
  */
390
- "rightOffset": ResponsiveNumber;
557
+ "padding": ResponsiveString;
391
558
  /**
392
559
  * Pipe separated list of ContentLineTextAlignOptions for text alignment.
393
560
  * @type Select
@@ -395,16 +562,10 @@ export namespace Components {
395
562
  * @options left
396
563
  * @options center
397
564
  * @options right
398
- * @responsive
399
- */
400
- "textAlign": ContentLineTextAlignOptions1;
401
- /**
402
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
403
- * @type Number
404
- * @string
405
- * @responsive
565
+ * @responsive
566
+ * @default 'default'
406
567
  */
407
- "topOffset": ResponsiveNumber;
568
+ "textAlign": ContentLineTextAlignOptions;
408
569
  /**
409
570
  * Pipe separated list of ContentVerticalAlignments for text box placement.
410
571
  * @type Select
@@ -412,44 +573,71 @@ export namespace Components {
412
573
  * @options center
413
574
  * @options bottom
414
575
  * @options default
415
- * @responsive
576
+ * @responsive
577
+ * @default ''
416
578
  */
417
579
  "vertical": ResponsiveString | ContentVerticalAlignments;
418
580
  }
581
+ /**
582
+ * Two columns side by side, such as an image next to text, that stack on smaller screens.
583
+ */
419
584
  interface ContentSplitBlock {
420
585
  /**
586
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
421
587
  * @type String
422
588
  * @responsive
423
589
  */
424
590
  "classes": ResponsiveString;
425
591
  /**
426
592
  * @type Number
427
- * @responsive
593
+ * @responsive
594
+ * @default '1|2'
428
595
  */
429
596
  "columns": string;
430
597
  /**
431
- * @type Boolean
598
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
599
+ * @type String
432
600
  * @responsive
433
601
  */
602
+ "padding": ResponsiveString;
603
+ /**
604
+ * @type Boolean
605
+ * @responsive
606
+ * @default false
607
+ */
434
608
  "reverse": ResponsiveBoolean | boolean;
435
609
  }
610
+ /**
611
+ * Accessible tabs: a tablist of buttons and the panels they show, with arrow key support.
612
+ */
436
613
  interface ContentTabs {
437
614
  /**
615
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
438
616
  * @type String
439
617
  * @responsive
440
618
  */
441
619
  "classes": ResponsiveString;
620
+ /**
621
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
622
+ * @type String
623
+ * @responsive
624
+ */
625
+ "padding": ResponsiveString;
442
626
  }
627
+ /**
628
+ * A block of text with its alignment, vertical position and minimum height set per breakpoint.
629
+ */
443
630
  interface ContentTextBlock {
444
631
  /**
445
- * This is a pipe separated string representing the style class.
632
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
446
633
  * @type String
447
634
  * @responsive
448
635
  */
449
636
  "classes": ResponsiveString;
450
637
  /**
451
638
  * @type Boolean
452
- * @responsive
639
+ * @responsive
640
+ * @default 'false'
453
641
  */
454
642
  "fullHeight": ResponsiveString;
455
643
  /**
@@ -458,6 +646,12 @@ export namespace Components {
458
646
  * @responsive
459
647
  */
460
648
  "minHeight": ResponsiveString;
649
+ /**
650
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
651
+ * @type String
652
+ * @responsive
653
+ */
654
+ "padding": ResponsiveString;
461
655
  /**
462
656
  * Pipe separated list of ContentLineTextAlignOptions for text alignment.
463
657
  * @type Select
@@ -465,21 +659,27 @@ export namespace Components {
465
659
  * @options left
466
660
  * @options center
467
661
  * @options right
468
- * @responsive
662
+ * @responsive
663
+ * @default 'default'
469
664
  */
470
- "textAlign": ContentLineTextAlignOptions1;
665
+ "textAlign": ContentLineTextAlignOptions;
471
666
  /**
472
667
  * Pipe separated list of ContentVerticalAlignments for text box placement.
473
668
  * @type Select
474
669
  * @options top
475
670
  * @options center
476
671
  * @options bottom
477
- * @responsive
672
+ * @responsive
673
+ * @default 'top'
478
674
  */
479
675
  "vertical": ContentVerticalAlignments;
480
676
  }
677
+ /**
678
+ * A card that promotes something: an image or video with text below it, and an optional layer over the media that can show on hover.
679
+ */
481
680
  interface ContentToutBlock {
482
681
  /**
682
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
483
683
  * @type String
484
684
  * @responsive
485
685
  */
@@ -487,65 +687,93 @@ export namespace Components {
487
687
  /**
488
688
  * If true, the media content will show only on hover
489
689
  * @type Boolean
490
- * @responsive
690
+ * @responsive
691
+ * @default 'false|true'
491
692
  */
492
693
  "hover": ResponsiveBoolean;
694
+ /**
695
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
696
+ * @type String
697
+ * @responsive
698
+ */
699
+ "padding": ResponsiveString;
493
700
  }
701
+ /**
702
+ * A video player for YouTube or self hosted files, built on Video.js.
703
+ */
494
704
  interface ContentVideo {
495
705
  /**
496
706
  * If you're using this inside a content-overlay for example, you may want the video to play immediately on launch.
497
707
  * @type Boolean
708
+ * @default false
498
709
  */
499
710
  "autoplay": boolean;
500
711
  /**
501
- * Sets whether or not an autoplaying video should be muted. By default autoplay videos will be muted.
712
+ * Sets whether or not an autoplaying video should be muted. By default autoplay videos will be muted.
502
713
  * @type Boolean
714
+ * @default true
503
715
  */
504
716
  "autoplayMute": boolean;
505
717
  /**
718
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
506
719
  * @type String
507
720
  * @responsive
508
721
  */
509
722
  "classes": ResponsiveString;
510
723
  /**
511
724
  * @type Boolean
725
+ * @default true
512
726
  */
513
727
  "controls": boolean;
514
728
  /**
515
729
  * Fit the container this video is placed in. When the video is used in an overlay or another place where the video will takeover the existing height, it is recommended to enable this option.
516
730
  * @responsive
517
731
  * @type String
732
+ * @default 'false'
518
733
  */
519
734
  "fitContainer": ResponsiveString;
520
735
  /**
521
736
  * @type Number
737
+ * @default 9
522
738
  */
523
739
  "height": number;
524
740
  /**
525
741
  * @type Select
526
742
  * @options youtube
527
743
  * @options html5
744
+ * @default 'youtube'
528
745
  */
529
746
  "method": SupportedVideoMethods;
530
747
  /**
748
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
531
749
  * @type String
750
+ * @responsive
751
+ */
752
+ "padding": ResponsiveString;
753
+ /**
754
+ * @type String
755
+ * @default 'Play'
532
756
  */
533
757
  "playButtonAriaLabel": string;
534
758
  /**
535
759
  * @type String
760
+ * @default 'metadata'
536
761
  */
537
762
  "preload": string;
538
763
  /**
539
764
  * Supports YouTube and self hosted URLs.
540
765
  * @type String
766
+ * @default ''
541
767
  */
542
768
  "src": string;
543
769
  /**
544
770
  * @type String
771
+ * @default 'video/mp4'
545
772
  */
546
773
  "type": string;
547
774
  /**
548
775
  * @type Number
776
+ * @default 16
549
777
  */
550
778
  "width": number;
551
779
  }
@@ -555,48 +783,72 @@ export interface ContentOverlayCustomEvent<T> extends CustomEvent<T> {
555
783
  target: HTMLContentOverlayElement;
556
784
  }
557
785
  declare global {
786
+ /**
787
+ * A button that shows and hides the content below it, such as an answer in a list of questions.
788
+ */
558
789
  interface HTMLContentAccordionElement extends Components.ContentAccordion, HTMLStencilElement {
559
790
  }
560
791
  var HTMLContentAccordionElement: {
561
792
  prototype: HTMLContentAccordionElement;
562
793
  new (): HTMLContentAccordionElement;
563
794
  };
795
+ /**
796
+ * A link or button. Wrapped around block content, such as a card, it makes the whole area clickable, and opens a content-overlay when its href points at one.
797
+ */
564
798
  interface HTMLContentButtonElement extends Components.ContentButton, HTMLStencilElement {
565
799
  }
566
800
  var HTMLContentButtonElement: {
567
801
  prototype: HTMLContentButtonElement;
568
802
  new (): HTMLContentButtonElement;
569
803
  };
804
+ /**
805
+ * Slides that move sideways, built on Swiper, with labelled controls and a pause button when they move on their own.
806
+ */
570
807
  interface HTMLContentCarouselElement extends Components.ContentCarousel, HTMLStencilElement {
571
808
  }
572
809
  var HTMLContentCarouselElement: {
573
810
  prototype: HTMLContentCarouselElement;
574
811
  new (): HTMLContentCarouselElement;
575
812
  };
813
+ /**
814
+ * Lays its children out in a grid or a row, with the number of columns, gaps and alignment set per breakpoint.
815
+ */
576
816
  interface HTMLContentGridFormatterElement extends Components.ContentGridFormatter, HTMLStencilElement {
577
817
  }
578
818
  var HTMLContentGridFormatterElement: {
579
819
  prototype: HTMLContentGridFormatterElement;
580
820
  new (): HTMLContentGridFormatterElement;
581
821
  };
822
+ /**
823
+ * A full width section with an image or video behind, or above, its text. Usually the first block on a page.
824
+ */
582
825
  interface HTMLContentHeroBlockElement extends Components.ContentHeroBlock, HTMLStencilElement {
583
826
  }
584
827
  var HTMLContentHeroBlockElement: {
585
828
  prototype: HTMLContentHeroBlockElement;
586
829
  new (): HTMLContentHeroBlockElement;
587
830
  };
831
+ /**
832
+ * A responsive image or muted looping video per breakpoint with native lazy loading.
833
+ */
588
834
  interface HTMLContentImageElement extends Components.ContentImage, HTMLStencilElement {
589
835
  }
590
836
  var HTMLContentImageElement: {
591
837
  prototype: HTMLContentImageElement;
592
838
  new (): HTMLContentImageElement;
593
839
  };
840
+ /**
841
+ * One line of text, such as a heading or a paragraph, with its tag, alignment and maximum width set per breakpoint.
842
+ */
594
843
  interface HTMLContentLineElement extends Components.ContentLine, HTMLStencilElement {
595
844
  }
596
845
  var HTMLContentLineElement: {
597
846
  prototype: HTMLContentLineElement;
598
847
  new (): HTMLContentLineElement;
599
848
  };
849
+ /**
850
+ * Site navigation that collapses into a menu button on the breakpoints you choose, with a skip link for keyboard users.
851
+ */
600
852
  interface HTMLContentNavigationBlockElement extends Components.ContentNavigationBlock, HTMLStencilElement {
601
853
  }
602
854
  var HTMLContentNavigationBlockElement: {
@@ -605,7 +857,11 @@ declare global {
605
857
  };
606
858
  interface HTMLContentOverlayElementEventMap {
607
859
  "contentOverlayActivated": HTMLElement;
860
+ "contentOverlayDeactivated": HTMLElement;
608
861
  }
862
+ /**
863
+ * A dialog that opens over the page, or inside another element, and keeps keyboard focus inside it while open.
864
+ */
609
865
  interface HTMLContentOverlayElement extends Components.ContentOverlay, HTMLStencilElement {
610
866
  addEventListener<K extends keyof HTMLContentOverlayElementEventMap>(type: K, listener: (this: HTMLContentOverlayElement, ev: ContentOverlayCustomEvent<HTMLContentOverlayElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
611
867
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -620,36 +876,54 @@ declare global {
620
876
  prototype: HTMLContentOverlayElement;
621
877
  new (): HTMLContentOverlayElement;
622
878
  };
879
+ /**
880
+ * Adds space around its content and limits its width, with its padding and maximum width set per breakpoint.
881
+ */
623
882
  interface HTMLContentSpacerElement extends Components.ContentSpacer, HTMLStencilElement {
624
883
  }
625
884
  var HTMLContentSpacerElement: {
626
885
  prototype: HTMLContentSpacerElement;
627
886
  new (): HTMLContentSpacerElement;
628
887
  };
888
+ /**
889
+ * Two columns side by side, such as an image next to text, that stack on smaller screens.
890
+ */
629
891
  interface HTMLContentSplitBlockElement extends Components.ContentSplitBlock, HTMLStencilElement {
630
892
  }
631
893
  var HTMLContentSplitBlockElement: {
632
894
  prototype: HTMLContentSplitBlockElement;
633
895
  new (): HTMLContentSplitBlockElement;
634
896
  };
897
+ /**
898
+ * Accessible tabs: a tablist of buttons and the panels they show, with arrow key support.
899
+ */
635
900
  interface HTMLContentTabsElement extends Components.ContentTabs, HTMLStencilElement {
636
901
  }
637
902
  var HTMLContentTabsElement: {
638
903
  prototype: HTMLContentTabsElement;
639
904
  new (): HTMLContentTabsElement;
640
905
  };
906
+ /**
907
+ * A block of text with its alignment, vertical position and minimum height set per breakpoint.
908
+ */
641
909
  interface HTMLContentTextBlockElement extends Components.ContentTextBlock, HTMLStencilElement {
642
910
  }
643
911
  var HTMLContentTextBlockElement: {
644
912
  prototype: HTMLContentTextBlockElement;
645
913
  new (): HTMLContentTextBlockElement;
646
914
  };
915
+ /**
916
+ * A card that promotes something: an image or video with text below it, and an optional layer over the media that can show on hover.
917
+ */
647
918
  interface HTMLContentToutBlockElement extends Components.ContentToutBlock, HTMLStencilElement {
648
919
  }
649
920
  var HTMLContentToutBlockElement: {
650
921
  prototype: HTMLContentToutBlockElement;
651
922
  new (): HTMLContentToutBlockElement;
652
923
  };
924
+ /**
925
+ * A video player for YouTube or self hosted files, built on Video.js.
926
+ */
653
927
  interface HTMLContentVideoElement extends Components.ContentVideo, HTMLStencilElement {
654
928
  }
655
929
  var HTMLContentVideoElement: {
@@ -675,44 +949,65 @@ declare global {
675
949
  }
676
950
  }
677
951
  declare namespace LocalJSX {
952
+ type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K]?: never };
953
+
954
+ /**
955
+ * A button that shows and hides the content below it, such as an answer in a list of questions.
956
+ */
678
957
  interface ContentAccordion {
679
958
  /**
680
959
  * The ending animation class in case you want to control content styling.
681
960
  * @type String
961
+ * @default 'animation-end'
682
962
  */
683
963
  "animationEnd"?: string;
684
964
  /**
685
965
  * The starting animation class in case you want to control content styling.
686
966
  * @type String
967
+ * @default 'animation-start'
687
968
  */
688
969
  "animationStart"?: string;
689
970
  /**
690
971
  * The amount of time in milliseconds to run the closing animation, before the class is removed
691
972
  * @type Number
973
+ * @default 0
692
974
  */
693
975
  "animationTime"?: number;
694
976
  /**
695
- * @type Boolean
977
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
978
+ * @type String
696
979
  * @responsive
697
980
  */
981
+ "classes"?: ResponsiveString;
982
+ /**
983
+ * @type Boolean
984
+ * @responsive
985
+ * @default 'false'
986
+ */
698
987
  "open"?: ResponsiveBoolean;
988
+ /**
989
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
990
+ * @type String
991
+ * @responsive
992
+ */
993
+ "padding"?: ResponsiveString;
699
994
  /**
700
995
  * The class to be applied to the trigger button element.
701
996
  * @type String
997
+ * @default ''
702
998
  */
703
999
  "triggerClass"?: string;
704
1000
  }
1001
+ /**
1002
+ * A link or button. Wrapped around block content, such as a card, it makes the whole area clickable, and opens a content-overlay when its href points at one.
1003
+ */
705
1004
  interface ContentButton {
706
1005
  /**
707
- * The classes for the button.
1006
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
708
1007
  * @type String
709
1008
  * @responsive
710
1009
  */
711
- "classes"?: string;
712
- /**
713
- * @type Boolean
714
- */
715
- "clickableBlock"?: boolean;
1010
+ "classes"?: ResponsiveString;
716
1011
  /**
717
1012
  * /** Aria-controls value
718
1013
  * @type Target
@@ -736,50 +1031,120 @@ declare namespace LocalJSX {
736
1031
  * @responsive
737
1032
  */
738
1033
  "linkLabel"?: ResponsiveString;
1034
+ /**
1035
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1036
+ * @type String
1037
+ * @responsive
1038
+ */
1039
+ "padding"?: ResponsiveString;
739
1040
  /**
740
1041
  * @type String
741
1042
  */
742
1043
  "target"?: string;
743
1044
  }
1045
+ /**
1046
+ * Slides that move sideways, built on Swiper, with labelled controls and a pause button when they move on their own.
1047
+ */
744
1048
  interface ContentCarousel {
1049
+ /**
1050
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
1051
+ * @type String
1052
+ * @responsive
1053
+ */
1054
+ "classes"?: ResponsiveString;
745
1055
  /**
746
1056
  * @type Select
747
1057
  * @options load
748
1058
  * @options init
1059
+ * @default 'load'
749
1060
  */
750
1061
  "initMethod"?: InitMethodType;
1062
+ /**
1063
+ * The accessible name of the carousel, read by screen readers when they reach it.
1064
+ * @type String
1065
+ * @default 'Carousel'
1066
+ */
1067
+ "label"?: string;
1068
+ /**
1069
+ * The accessible name of the next slide button.
1070
+ * @type String
1071
+ * @default 'Next slide'
1072
+ */
1073
+ "nextLabel"?: string;
1074
+ /**
1075
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1076
+ * @type String
1077
+ * @responsive
1078
+ */
1079
+ "padding"?: ResponsiveString;
1080
+ /**
1081
+ * The accessible name of the button that stops slides that move on their own.
1082
+ * @type String
1083
+ * @default 'Pause the slides'
1084
+ */
1085
+ "pauseLabel"?: string;
1086
+ /**
1087
+ * The accessible name of the button that starts the slides moving again.
1088
+ * @type String
1089
+ * @default 'Play the slides'
1090
+ */
1091
+ "playLabel"?: string;
1092
+ /**
1093
+ * The accessible name of the previous slide button.
1094
+ * @type String
1095
+ * @default 'Previous slide'
1096
+ */
1097
+ "prevLabel"?: string;
751
1098
  /**
752
1099
  * @type JSON
753
1100
  * @schema Swiper Options
1101
+ * @default '{"slidesPerView": 1, "slidesPerGroup": 1, "autoplay": true, "loop": false}'
754
1102
  */
755
1103
  "swiperOptions"?: string;
756
1104
  }
1105
+ /**
1106
+ * Lays its children out in a grid or a row, with the number of columns, gaps and alignment set per breakpoint.
1107
+ */
757
1108
  interface ContentGridFormatter {
758
1109
  /**
1110
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
759
1111
  * @type String
760
1112
  * @responsive
761
1113
  */
762
1114
  "classes"?: ResponsiveString;
763
1115
  /**
764
1116
  * @type Number
765
- * @responsive
1117
+ * @responsive
1118
+ * @default '0'
766
1119
  */
767
1120
  "columnGap"?: ResponsiveNumber;
768
1121
  /**
769
1122
  * @type Number
770
- * @responsive
1123
+ * @responsive
1124
+ * @default '1'
771
1125
  */
772
1126
  "columns"?: ResponsiveNumber;
1127
+ /**
1128
+ * For type flex: lay the children out in a row or a column. With columns="auto", children in a column keep their own width, so a list of links stacks on phones and sits in a row on larger screens.
1129
+ * @type Select
1130
+ * @options row
1131
+ * @options column
1132
+ * @responsive
1133
+ * @default 'row'
1134
+ */
1135
+ "direction"?: ResponsiveString;
773
1136
  /**
774
1137
  * Setting this true to will grow all children. Alternatively, add the attribute [flex-grow="true"] to a specific grid child and that child will grow.
775
1138
  * @type Boolean
776
- * @responsive
1139
+ * @responsive
1140
+ * @default 'false'
777
1141
  */
778
1142
  "flexGrow"?: ResponsiveBoolean;
779
1143
  /**
780
1144
  * Setting this true to will shrink all children. Alternatively, add the attribute [flex-shrink="true"] to a specific grid child and that child will shrink.
781
1145
  * @type Boolean
782
- * @responsive
1146
+ * @responsive
1147
+ * @default 'false'
783
1148
  */
784
1149
  "flexShrink"?: ResponsiveBoolean;
785
1150
  /**
@@ -789,13 +1154,21 @@ declare namespace LocalJSX {
789
1154
  * @options space-between
790
1155
  * @options center
791
1156
  * @options space-evenly
792
- * @responsive
1157
+ * @responsive
1158
+ * @default 'space-between'
793
1159
  */
794
1160
  "horizontal"?: FLEX_JUSTIFY_OPTIONS;
795
1161
  /**
796
- * @type Number
1162
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1163
+ * @type String
797
1164
  * @responsive
798
1165
  */
1166
+ "padding"?: ResponsiveString;
1167
+ /**
1168
+ * @type Number
1169
+ * @responsive
1170
+ * @default '0'
1171
+ */
799
1172
  "rowGap"?: ResponsiveNumber;
800
1173
  /**
801
1174
  * Flex or grid
@@ -803,7 +1176,8 @@ declare namespace LocalJSX {
803
1176
  * @options none
804
1177
  * @options flex
805
1178
  * @options grid
806
- * @responsive
1179
+ * @responsive
1180
+ * @default 'flex'
807
1181
  */
808
1182
  "type"?: GRID_TYPES | ResponsiveString;
809
1183
  /**
@@ -813,25 +1187,40 @@ declare namespace LocalJSX {
813
1187
  * @options space-between
814
1188
  * @options center
815
1189
  * @options space-evenly
816
- * @responsive
1190
+ * @responsive
1191
+ * @default 'space-between'
817
1192
  */
818
1193
  "vertical"?: FLEX_JUSTIFY_OPTIONS;
819
1194
  }
1195
+ /**
1196
+ * A full width section with an image or video behind, or above, its text. Usually the first block on a page.
1197
+ */
820
1198
  interface ContentHeroBlock {
821
1199
  /**
1200
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
822
1201
  * @type String
823
1202
  * @responsive
824
1203
  */
825
1204
  "classes"?: ResponsiveString;
826
1205
  /**
827
- * Pipe separated HeroContentPlacementOptions that will determine whether the content sits below the media slot or overlapped above.
1206
+ * Where the content sits: above, over the media, or below it. Over the media by default. Use pipes to change it per breakpoint, such as below|above for the text below the media on phones and over it from tablets.
828
1207
  * @type Select
829
1208
  * @options below
830
1209
  * @options above
831
- * @responsive
1210
+ * @responsive
1211
+ * @default 'above'
832
1212
  */
833
1213
  "contentPosition"?: ResponsiveString | HeroContentPlacementOptions;
1214
+ /**
1215
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1216
+ * @type String
1217
+ * @responsive
1218
+ */
1219
+ "padding"?: ResponsiveString;
834
1220
  }
1221
+ /**
1222
+ * A responsive image or muted looping video per breakpoint with native lazy loading.
1223
+ */
835
1224
  interface ContentImage {
836
1225
  /**
837
1226
  * @type String
@@ -844,23 +1233,42 @@ declare namespace LocalJSX {
844
1233
  */
845
1234
  "aspectRatio"?: ResponsiveString;
846
1235
  /**
1236
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
847
1237
  * @type String
848
1238
  * @responsive
849
1239
  */
850
1240
  "classes"?: ResponsiveString;
1241
+ /**
1242
+ * How soon the browser should download the image compared with other files. Use "high" for the main image of the page.
1243
+ * @type Select
1244
+ * @options auto
1245
+ * @options high
1246
+ * @options low
1247
+ */
1248
+ "fetchPriority"?: 'high' | 'low' | 'auto';
851
1249
  /**
852
1250
  * @type Number
853
- * @responsive
1251
+ * @responsive
1252
+ * @default '9'
854
1253
  */
855
1254
  "height"?: ResponsiveNumber;
856
1255
  /**
1256
+ * Images use the browser's native lazy loading. Set to false for images that are visible when the page opens, such as a hero, so they download straight away.
857
1257
  * @type Boolean
1258
+ * @default true
858
1259
  */
859
1260
  "lazyLoad"?: boolean;
1261
+ /**
1262
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1263
+ * @type String
1264
+ * @responsive
1265
+ */
1266
+ "padding"?: ResponsiveString;
860
1267
  /**
861
1268
  * If true, the content in the mediaContent slot will be visible.
862
1269
  * @type Boolean
863
- * @responsive
1270
+ * @responsive
1271
+ * @default 'false|true'
864
1272
  */
865
1273
  "showContent"?: ResponsiveBoolean;
866
1274
  /**
@@ -872,32 +1280,45 @@ declare namespace LocalJSX {
872
1280
  * @type Select
873
1281
  * @options image
874
1282
  * @options video
1283
+ * @default 'image'
875
1284
  */
876
1285
  "type"?: 'image' | 'video';
877
1286
  /**
878
1287
  * @type Select
879
1288
  * @options video/mp4
1289
+ * @default 'video/mp4'
880
1290
  */
881
1291
  "videoType"?: string;
882
1292
  /**
883
1293
  * @type Number
884
- * @responsive
1294
+ * @responsive
1295
+ * @default '16'
885
1296
  */
886
1297
  "width"?: ResponsiveNumber;
887
1298
  }
1299
+ /**
1300
+ * One line of text, such as a heading or a paragraph, with its tag, alignment and maximum width set per breakpoint.
1301
+ */
888
1302
  interface ContentLine {
889
1303
  /**
890
- * The font class for the line.
1304
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
891
1305
  * @type String
892
1306
  * @responsive
893
1307
  */
894
- "classes"?: any;
1308
+ "classes"?: ResponsiveString;
895
1309
  /**
896
1310
  * Pipe separated list of max width numbers. You can also use units such as "px" and "vw". If no unit is provided, defaults to percentage.
897
1311
  * @type String
898
- * @responsive
1312
+ * @responsive
1313
+ * @default '100%'
899
1314
  */
900
1315
  "maxWidth"?: ResponsiveNumber;
1316
+ /**
1317
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1318
+ * @type String
1319
+ * @responsive
1320
+ */
1321
+ "padding"?: ResponsiveString;
901
1322
  /**
902
1323
  * The element tag to use.
903
1324
  * @type Select
@@ -912,6 +1333,7 @@ declare namespace LocalJSX {
912
1333
  * @options span
913
1334
  * @options section
914
1335
  * @options article
1336
+ * @default 'div'
915
1337
  */
916
1338
  "tag"?: ContentLineTagOptions;
917
1339
  /**
@@ -921,16 +1343,27 @@ declare namespace LocalJSX {
921
1343
  * @options left
922
1344
  * @options center
923
1345
  * @options right
924
- * @responsive
1346
+ * @responsive
1347
+ * @default 'default'
925
1348
  */
926
1349
  "textAlign"?: ContentLineTextAlignOptions;
927
1350
  }
1351
+ /**
1352
+ * Site navigation that collapses into a menu button on the breakpoints you choose, with a skip link for keyboard users.
1353
+ */
928
1354
  interface ContentNavigationBlock {
929
1355
  /**
1356
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
930
1357
  * @type String
931
1358
  * @responsive
932
1359
  */
933
1360
  "classes"?: ResponsiveString;
1361
+ /**
1362
+ * The accessible name of the default close button.
1363
+ * @type String
1364
+ * @default 'Close menu'
1365
+ */
1366
+ "closeLabel"?: string;
934
1367
  /**
935
1368
  * @type Select
936
1369
  * @responsive
@@ -939,11 +1372,28 @@ declare namespace LocalJSX {
939
1372
  * @options sticky
940
1373
  * @options static
941
1374
  * @options none
1375
+ * @default 'fixed|none'
942
1376
  */
943
1377
  "hamburger"?: ResponsiveString;
1378
+ /**
1379
+ * The accessible name of the default menu button.
1380
+ * @type String
1381
+ * @default 'Open menu'
1382
+ */
1383
+ "openLabel"?: string;
1384
+ /**
1385
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1386
+ * @type String
1387
+ * @responsive
1388
+ */
1389
+ "padding"?: ResponsiveString;
944
1390
  }
1391
+ /**
1392
+ * A dialog that opens over the page, or inside another element, and keeps keyboard focus inside it while open.
1393
+ */
945
1394
  interface ContentOverlay {
946
1395
  /**
1396
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
947
1397
  * @type String
948
1398
  * @responsive
949
1399
  */
@@ -951,11 +1401,20 @@ declare namespace LocalJSX {
951
1401
  /**
952
1402
  * Title attribute value for the close button.
953
1403
  * @type String
1404
+ * @default 'Close Overlay'
954
1405
  */
955
1406
  "closeTitle"?: string;
1407
+ /**
1408
+ * What the overlay covers. "body", the default, covers the whole screen. A CSS selector, such as "#hero", covers that element instead: the overlay moves into it when it opens. Use pipes to cover the screen on phones and an element on wider screens: fill="body|#hero".
1409
+ * @type String
1410
+ * @responsive
1411
+ * @default 'body'
1412
+ */
1413
+ "fill"?: ResponsiveString;
956
1414
  /**
957
1415
  * @type Boolean
958
- * @responsive
1416
+ * @responsive
1417
+ * @default 'true'
959
1418
  */
960
1419
  "fullScreen"?: ResponsiveBoolean;
961
1420
  /**
@@ -965,47 +1424,45 @@ declare namespace LocalJSX {
965
1424
  * @options left
966
1425
  * @options center
967
1426
  * @options right
968
- * @responsive
1427
+ * @responsive
1428
+ * @default 'center'
1429
+ */
1430
+ "horizontal"?: ContentLineTextAlignOptions;
1431
+ /**
1432
+ * The accessible name of the dialog. Only needed when there is no header slot, which names it otherwise.
1433
+ * @type String
969
1434
  */
970
- "horizontal"?: ContentLineTextAlignOptions1;
1435
+ "label"?: string;
971
1436
  "onContentOverlayActivated"?: (event: ContentOverlayCustomEvent<HTMLElement>) => void;
1437
+ "onContentOverlayDeactivated"?: (event: ContentOverlayCustomEvent<HTMLElement>) => void;
972
1438
  /**
973
1439
  * @type Boolean
974
- * @responsive
1440
+ * @responsive
1441
+ * @default 'false'
975
1442
  */
976
1443
  "open"?: ResponsiveBoolean;
977
1444
  /**
978
- * Position of the overlay.
979
- * @type Select
980
- * @options absolute
981
- * @options fixed
982
- * @options static
983
- * @options sticky
984
- */
985
- "position"?: ResponsiveString;
986
- /**
1445
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
987
1446
  * @type String
988
1447
  * @responsive
989
1448
  */
990
- "target"?: string;
1449
+ "padding"?: ResponsiveString;
991
1450
  /**
992
1451
  * A pipe delimited setting for vertical alignment. This only applies when fullscreen mode is activated.
993
1452
  * @type Select
994
1453
  * @options top
995
1454
  * @options center
996
1455
  * @options bottom
1456
+ * @default 'center'
997
1457
  */
998
1458
  "vertical"?: ContentVerticalAlignments;
999
1459
  }
1460
+ /**
1461
+ * Adds space around its content and limits its width, with its padding and maximum width set per breakpoint.
1462
+ */
1000
1463
  interface ContentSpacer {
1001
1464
  /**
1002
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
1003
- * @type Number
1004
- * @string
1005
- * @responsive
1006
- */
1007
- "bottomOffset"?: ResponsiveNumber;
1008
- /**
1465
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
1009
1466
  * @type String
1010
1467
  * @responsive
1011
1468
  */
@@ -1013,7 +1470,8 @@ declare namespace LocalJSX {
1013
1470
  /**
1014
1471
  * Pipe separated boolean values for full height. Typically, this is used if you have a hero block and you want a footer that aligns with the text layer. This is a niche case, but a valid one.
1015
1472
  * @type Boolean
1016
- * @responsive
1473
+ * @responsive
1474
+ * @default 'false'
1017
1475
  */
1018
1476
  "fullHeight"?: ResponsiveBoolean;
1019
1477
  /**
@@ -1023,29 +1481,23 @@ declare namespace LocalJSX {
1023
1481
  * @options left
1024
1482
  * @options center
1025
1483
  * @options right
1026
- * @responsive
1027
- */
1028
- "horizontal"?: ContentLineTextAlignOptions1;
1029
- /**
1030
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
1031
- * @type Number
1032
- * @string
1033
- * @responsive
1484
+ * @responsive
1485
+ * @default 'default'
1034
1486
  */
1035
- "leftOffset"?: ResponsiveNumber;
1487
+ "horizontal"?: ContentLineTextAlignOptions;
1036
1488
  /**
1037
1489
  * Pipe separated list of max width numbers. You can also use units such as "px" and "vw".
1038
1490
  * @type String
1039
- * @responsive
1491
+ * @responsive
1492
+ * @default '100'
1040
1493
  */
1041
1494
  "maxWidth"?: ResponsiveNumber;
1042
1495
  /**
1043
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
1044
- * @type Number
1045
- * @string
1496
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1497
+ * @type String
1046
1498
  * @responsive
1047
1499
  */
1048
- "rightOffset"?: ResponsiveNumber;
1500
+ "padding"?: ResponsiveString;
1049
1501
  /**
1050
1502
  * Pipe separated list of ContentLineTextAlignOptions for text alignment.
1051
1503
  * @type Select
@@ -1053,16 +1505,10 @@ declare namespace LocalJSX {
1053
1505
  * @options left
1054
1506
  * @options center
1055
1507
  * @options right
1056
- * @responsive
1057
- */
1058
- "textAlign"?: ContentLineTextAlignOptions1;
1059
- /**
1060
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
1061
- * @type Number
1062
- * @string
1063
- * @responsive
1508
+ * @responsive
1509
+ * @default 'default'
1064
1510
  */
1065
- "topOffset"?: ResponsiveNumber;
1511
+ "textAlign"?: ContentLineTextAlignOptions;
1066
1512
  /**
1067
1513
  * Pipe separated list of ContentVerticalAlignments for text box placement.
1068
1514
  * @type Select
@@ -1070,44 +1516,71 @@ declare namespace LocalJSX {
1070
1516
  * @options center
1071
1517
  * @options bottom
1072
1518
  * @options default
1073
- * @responsive
1519
+ * @responsive
1520
+ * @default ''
1074
1521
  */
1075
1522
  "vertical"?: ResponsiveString | ContentVerticalAlignments;
1076
1523
  }
1524
+ /**
1525
+ * Two columns side by side, such as an image next to text, that stack on smaller screens.
1526
+ */
1077
1527
  interface ContentSplitBlock {
1078
1528
  /**
1529
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
1079
1530
  * @type String
1080
1531
  * @responsive
1081
1532
  */
1082
1533
  "classes"?: ResponsiveString;
1083
1534
  /**
1084
1535
  * @type Number
1085
- * @responsive
1536
+ * @responsive
1537
+ * @default '1|2'
1086
1538
  */
1087
1539
  "columns"?: string;
1088
1540
  /**
1089
- * @type Boolean
1541
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1542
+ * @type String
1090
1543
  * @responsive
1091
1544
  */
1545
+ "padding"?: ResponsiveString;
1546
+ /**
1547
+ * @type Boolean
1548
+ * @responsive
1549
+ * @default false
1550
+ */
1092
1551
  "reverse"?: ResponsiveBoolean | boolean;
1093
1552
  }
1553
+ /**
1554
+ * Accessible tabs: a tablist of buttons and the panels they show, with arrow key support.
1555
+ */
1094
1556
  interface ContentTabs {
1095
1557
  /**
1558
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
1096
1559
  * @type String
1097
1560
  * @responsive
1098
1561
  */
1099
1562
  "classes"?: ResponsiveString;
1563
+ /**
1564
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1565
+ * @type String
1566
+ * @responsive
1567
+ */
1568
+ "padding"?: ResponsiveString;
1100
1569
  }
1570
+ /**
1571
+ * A block of text with its alignment, vertical position and minimum height set per breakpoint.
1572
+ */
1101
1573
  interface ContentTextBlock {
1102
1574
  /**
1103
- * This is a pipe separated string representing the style class.
1575
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
1104
1576
  * @type String
1105
1577
  * @responsive
1106
1578
  */
1107
1579
  "classes"?: ResponsiveString;
1108
1580
  /**
1109
1581
  * @type Boolean
1110
- * @responsive
1582
+ * @responsive
1583
+ * @default 'false'
1111
1584
  */
1112
1585
  "fullHeight"?: ResponsiveString;
1113
1586
  /**
@@ -1116,6 +1589,12 @@ declare namespace LocalJSX {
1116
1589
  * @responsive
1117
1590
  */
1118
1591
  "minHeight"?: ResponsiveString;
1592
+ /**
1593
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1594
+ * @type String
1595
+ * @responsive
1596
+ */
1597
+ "padding"?: ResponsiveString;
1119
1598
  /**
1120
1599
  * Pipe separated list of ContentLineTextAlignOptions for text alignment.
1121
1600
  * @type Select
@@ -1123,21 +1602,27 @@ declare namespace LocalJSX {
1123
1602
  * @options left
1124
1603
  * @options center
1125
1604
  * @options right
1126
- * @responsive
1605
+ * @responsive
1606
+ * @default 'default'
1127
1607
  */
1128
- "textAlign"?: ContentLineTextAlignOptions1;
1608
+ "textAlign"?: ContentLineTextAlignOptions;
1129
1609
  /**
1130
1610
  * Pipe separated list of ContentVerticalAlignments for text box placement.
1131
1611
  * @type Select
1132
1612
  * @options top
1133
1613
  * @options center
1134
1614
  * @options bottom
1135
- * @responsive
1615
+ * @responsive
1616
+ * @default 'top'
1136
1617
  */
1137
1618
  "vertical"?: ContentVerticalAlignments;
1138
1619
  }
1620
+ /**
1621
+ * A card that promotes something: an image or video with text below it, and an optional layer over the media that can show on hover.
1622
+ */
1139
1623
  interface ContentToutBlock {
1140
1624
  /**
1625
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
1141
1626
  * @type String
1142
1627
  * @responsive
1143
1628
  */
@@ -1145,105 +1630,314 @@ declare namespace LocalJSX {
1145
1630
  /**
1146
1631
  * If true, the media content will show only on hover
1147
1632
  * @type Boolean
1148
- * @responsive
1633
+ * @responsive
1634
+ * @default 'false|true'
1149
1635
  */
1150
1636
  "hover"?: ResponsiveBoolean;
1637
+ /**
1638
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1639
+ * @type String
1640
+ * @responsive
1641
+ */
1642
+ "padding"?: ResponsiveString;
1151
1643
  }
1644
+ /**
1645
+ * A video player for YouTube or self hosted files, built on Video.js.
1646
+ */
1152
1647
  interface ContentVideo {
1153
1648
  /**
1154
1649
  * If you're using this inside a content-overlay for example, you may want the video to play immediately on launch.
1155
1650
  * @type Boolean
1651
+ * @default false
1156
1652
  */
1157
1653
  "autoplay"?: boolean;
1158
1654
  /**
1159
- * Sets whether or not an autoplaying video should be muted. By default autoplay videos will be muted.
1655
+ * Sets whether or not an autoplaying video should be muted. By default autoplay videos will be muted.
1160
1656
  * @type Boolean
1657
+ * @default true
1161
1658
  */
1162
1659
  "autoplayMute"?: boolean;
1163
1660
  /**
1661
+ * Classes to add to the component. Use pipes for different classes per breakpoint, by name or in order: classes="stacked|laptop=side-by-side".
1164
1662
  * @type String
1165
1663
  * @responsive
1166
1664
  */
1167
1665
  "classes"?: ResponsiveString;
1168
1666
  /**
1169
1667
  * @type Boolean
1668
+ * @default true
1170
1669
  */
1171
1670
  "controls"?: boolean;
1172
1671
  /**
1173
1672
  * Fit the container this video is placed in. When the video is used in an overlay or another place where the video will takeover the existing height, it is recommended to enable this option.
1174
1673
  * @responsive
1175
1674
  * @type String
1675
+ * @default 'false'
1176
1676
  */
1177
1677
  "fitContainer"?: ResponsiveString;
1178
1678
  /**
1179
1679
  * @type Number
1680
+ * @default 9
1180
1681
  */
1181
1682
  "height"?: number;
1182
1683
  /**
1183
1684
  * @type Select
1184
1685
  * @options youtube
1185
1686
  * @options html5
1687
+ * @default 'youtube'
1186
1688
  */
1187
1689
  "method"?: SupportedVideoMethods;
1188
1690
  /**
1691
+ * Padding around the component, written as CSS padding. Use pipes for different padding per breakpoint, by name or in order: padding="1rem|tablet=2rem 4rem" or padding="1rem|2rem 4rem|3rem 5rem 4rem".
1189
1692
  * @type String
1693
+ * @responsive
1694
+ */
1695
+ "padding"?: ResponsiveString;
1696
+ /**
1697
+ * @type String
1698
+ * @default 'Play'
1190
1699
  */
1191
1700
  "playButtonAriaLabel"?: string;
1192
1701
  /**
1193
1702
  * @type String
1703
+ * @default 'metadata'
1194
1704
  */
1195
1705
  "preload"?: string;
1196
1706
  /**
1197
1707
  * Supports YouTube and self hosted URLs.
1198
1708
  * @type String
1709
+ * @default ''
1199
1710
  */
1200
1711
  "src"?: string;
1201
1712
  /**
1202
1713
  * @type String
1714
+ * @default 'video/mp4'
1203
1715
  */
1204
1716
  "type"?: string;
1205
1717
  /**
1206
1718
  * @type Number
1719
+ * @default 16
1207
1720
  */
1208
1721
  "width"?: number;
1209
1722
  }
1723
+
1724
+ interface ContentAccordionAttributes {
1725
+ "classes": ResponsiveString;
1726
+ "padding": ResponsiveString;
1727
+ "open": ResponsiveBoolean;
1728
+ "animationStart": string;
1729
+ "animationEnd": string;
1730
+ "triggerClass": string;
1731
+ "animationTime": number;
1732
+ }
1733
+ interface ContentButtonAttributes {
1734
+ "classes": ResponsiveString;
1735
+ "padding": ResponsiveString;
1736
+ "href": string;
1737
+ "target": string;
1738
+ "expanded": string;
1739
+ "controls": string;
1740
+ "linkLabel": ResponsiveString;
1741
+ "linkClass": ResponsiveString;
1742
+ }
1743
+ interface ContentCarouselAttributes {
1744
+ "classes": ResponsiveString;
1745
+ "padding": ResponsiveString;
1746
+ "initMethod": InitMethodType;
1747
+ "swiperOptions": string;
1748
+ "label": string;
1749
+ "prevLabel": string;
1750
+ "nextLabel": string;
1751
+ "pauseLabel": string;
1752
+ "playLabel": string;
1753
+ }
1754
+ interface ContentGridFormatterAttributes {
1755
+ "classes": ResponsiveString;
1756
+ "padding": ResponsiveString;
1757
+ "type": GRID_TYPES | ResponsiveString;
1758
+ "flexGrow": ResponsiveBoolean;
1759
+ "flexShrink": ResponsiveBoolean;
1760
+ "vertical": FLEX_JUSTIFY_OPTIONS;
1761
+ "horizontal": FLEX_JUSTIFY_OPTIONS;
1762
+ "columns": ResponsiveNumber;
1763
+ "direction": ResponsiveString;
1764
+ "columnGap": ResponsiveNumber;
1765
+ "rowGap": ResponsiveNumber;
1766
+ }
1767
+ interface ContentHeroBlockAttributes {
1768
+ "classes": ResponsiveString;
1769
+ "padding": ResponsiveString;
1770
+ "contentPosition": ResponsiveString | HeroContentPlacementOptions;
1771
+ }
1772
+ interface ContentImageAttributes {
1773
+ "classes": ResponsiveString;
1774
+ "padding": ResponsiveString;
1775
+ "lazyLoad": boolean;
1776
+ "fetchPriority": 'high' | 'low' | 'auto';
1777
+ "src": ResponsiveString;
1778
+ "alt": ResponsiveString;
1779
+ "width": ResponsiveNumber;
1780
+ "height": ResponsiveNumber;
1781
+ "aspectRatio": ResponsiveString;
1782
+ "type": 'image' | 'video';
1783
+ "videoType": string;
1784
+ "showContent": ResponsiveBoolean;
1785
+ }
1786
+ interface ContentLineAttributes {
1787
+ "classes": ResponsiveString;
1788
+ "padding": ResponsiveString;
1789
+ "tag": ContentLineTagOptions;
1790
+ "textAlign": ContentLineTextAlignOptions;
1791
+ "maxWidth": ResponsiveNumber;
1792
+ }
1793
+ interface ContentNavigationBlockAttributes {
1794
+ "classes": ResponsiveString;
1795
+ "padding": ResponsiveString;
1796
+ "hamburger": ResponsiveString;
1797
+ "openLabel": string;
1798
+ "closeLabel": string;
1799
+ }
1800
+ interface ContentOverlayAttributes {
1801
+ "classes": ResponsiveString;
1802
+ "padding": ResponsiveString;
1803
+ "fill": ResponsiveString;
1804
+ "open": ResponsiveBoolean;
1805
+ "fullScreen": ResponsiveBoolean;
1806
+ "horizontal": ContentLineTextAlignOptions;
1807
+ "vertical": ContentVerticalAlignments;
1808
+ "closeTitle": string;
1809
+ "label": string;
1810
+ }
1811
+ interface ContentSpacerAttributes {
1812
+ "classes": ResponsiveString;
1813
+ "padding": ResponsiveString;
1814
+ "maxWidth": ResponsiveNumber;
1815
+ "fullHeight": ResponsiveBoolean;
1816
+ "textAlign": ContentLineTextAlignOptions;
1817
+ "horizontal": ContentLineTextAlignOptions;
1818
+ "vertical": ResponsiveString | ContentVerticalAlignments;
1819
+ }
1820
+ interface ContentSplitBlockAttributes {
1821
+ "classes": ResponsiveString;
1822
+ "padding": ResponsiveString;
1823
+ "reverse": string;
1824
+ "columns": string;
1825
+ }
1826
+ interface ContentTabsAttributes {
1827
+ "classes": ResponsiveString;
1828
+ "padding": ResponsiveString;
1829
+ }
1830
+ interface ContentTextBlockAttributes {
1831
+ "classes": ResponsiveString;
1832
+ "padding": ResponsiveString;
1833
+ "minHeight": ResponsiveString;
1834
+ "vertical": ContentVerticalAlignments;
1835
+ "fullHeight": ResponsiveString;
1836
+ "textAlign": ContentLineTextAlignOptions;
1837
+ }
1838
+ interface ContentToutBlockAttributes {
1839
+ "classes": ResponsiveString;
1840
+ "padding": ResponsiveString;
1841
+ "hover": ResponsiveBoolean;
1842
+ }
1843
+ interface ContentVideoAttributes {
1844
+ "classes": ResponsiveString;
1845
+ "padding": ResponsiveString;
1846
+ "method": SupportedVideoMethods;
1847
+ "autoplay": boolean;
1848
+ "autoplayMute": boolean;
1849
+ "src": string;
1850
+ "width": number;
1851
+ "height": number;
1852
+ "type": string;
1853
+ "playButtonAriaLabel": string;
1854
+ "controls": boolean;
1855
+ "preload": string;
1856
+ "fitContainer": ResponsiveString;
1857
+ }
1858
+
1210
1859
  interface IntrinsicElements {
1211
- "content-accordion": ContentAccordion;
1212
- "content-button": ContentButton;
1213
- "content-carousel": ContentCarousel;
1214
- "content-grid-formatter": ContentGridFormatter;
1215
- "content-hero-block": ContentHeroBlock;
1216
- "content-image": ContentImage;
1217
- "content-line": ContentLine;
1218
- "content-navigation-block": ContentNavigationBlock;
1219
- "content-overlay": ContentOverlay;
1220
- "content-spacer": ContentSpacer;
1221
- "content-split-block": ContentSplitBlock;
1222
- "content-tabs": ContentTabs;
1223
- "content-text-block": ContentTextBlock;
1224
- "content-tout-block": ContentToutBlock;
1225
- "content-video": ContentVideo;
1860
+ "content-accordion": Omit<ContentAccordion, keyof ContentAccordionAttributes> & { [K in keyof ContentAccordion & keyof ContentAccordionAttributes]?: ContentAccordion[K] } & { [K in keyof ContentAccordion & keyof ContentAccordionAttributes as `attr:${K}`]?: ContentAccordionAttributes[K] } & { [K in keyof ContentAccordion & keyof ContentAccordionAttributes as `prop:${K}`]?: ContentAccordion[K] };
1861
+ "content-button": Omit<ContentButton, keyof ContentButtonAttributes> & { [K in keyof ContentButton & keyof ContentButtonAttributes]?: ContentButton[K] } & { [K in keyof ContentButton & keyof ContentButtonAttributes as `attr:${K}`]?: ContentButtonAttributes[K] } & { [K in keyof ContentButton & keyof ContentButtonAttributes as `prop:${K}`]?: ContentButton[K] };
1862
+ "content-carousel": Omit<ContentCarousel, keyof ContentCarouselAttributes> & { [K in keyof ContentCarousel & keyof ContentCarouselAttributes]?: ContentCarousel[K] } & { [K in keyof ContentCarousel & keyof ContentCarouselAttributes as `attr:${K}`]?: ContentCarouselAttributes[K] } & { [K in keyof ContentCarousel & keyof ContentCarouselAttributes as `prop:${K}`]?: ContentCarousel[K] };
1863
+ "content-grid-formatter": Omit<ContentGridFormatter, keyof ContentGridFormatterAttributes> & { [K in keyof ContentGridFormatter & keyof ContentGridFormatterAttributes]?: ContentGridFormatter[K] } & { [K in keyof ContentGridFormatter & keyof ContentGridFormatterAttributes as `attr:${K}`]?: ContentGridFormatterAttributes[K] } & { [K in keyof ContentGridFormatter & keyof ContentGridFormatterAttributes as `prop:${K}`]?: ContentGridFormatter[K] };
1864
+ "content-hero-block": Omit<ContentHeroBlock, keyof ContentHeroBlockAttributes> & { [K in keyof ContentHeroBlock & keyof ContentHeroBlockAttributes]?: ContentHeroBlock[K] } & { [K in keyof ContentHeroBlock & keyof ContentHeroBlockAttributes as `attr:${K}`]?: ContentHeroBlockAttributes[K] } & { [K in keyof ContentHeroBlock & keyof ContentHeroBlockAttributes as `prop:${K}`]?: ContentHeroBlock[K] };
1865
+ "content-image": Omit<ContentImage, keyof ContentImageAttributes> & { [K in keyof ContentImage & keyof ContentImageAttributes]?: ContentImage[K] } & { [K in keyof ContentImage & keyof ContentImageAttributes as `attr:${K}`]?: ContentImageAttributes[K] } & { [K in keyof ContentImage & keyof ContentImageAttributes as `prop:${K}`]?: ContentImage[K] } & OneOf<"src", ContentImage["src"], ContentImageAttributes["src"]>;
1866
+ "content-line": Omit<ContentLine, keyof ContentLineAttributes> & { [K in keyof ContentLine & keyof ContentLineAttributes]?: ContentLine[K] } & { [K in keyof ContentLine & keyof ContentLineAttributes as `attr:${K}`]?: ContentLineAttributes[K] } & { [K in keyof ContentLine & keyof ContentLineAttributes as `prop:${K}`]?: ContentLine[K] };
1867
+ "content-navigation-block": Omit<ContentNavigationBlock, keyof ContentNavigationBlockAttributes> & { [K in keyof ContentNavigationBlock & keyof ContentNavigationBlockAttributes]?: ContentNavigationBlock[K] } & { [K in keyof ContentNavigationBlock & keyof ContentNavigationBlockAttributes as `attr:${K}`]?: ContentNavigationBlockAttributes[K] } & { [K in keyof ContentNavigationBlock & keyof ContentNavigationBlockAttributes as `prop:${K}`]?: ContentNavigationBlock[K] };
1868
+ "content-overlay": Omit<ContentOverlay, keyof ContentOverlayAttributes> & { [K in keyof ContentOverlay & keyof ContentOverlayAttributes]?: ContentOverlay[K] } & { [K in keyof ContentOverlay & keyof ContentOverlayAttributes as `attr:${K}`]?: ContentOverlayAttributes[K] } & { [K in keyof ContentOverlay & keyof ContentOverlayAttributes as `prop:${K}`]?: ContentOverlay[K] };
1869
+ "content-spacer": Omit<ContentSpacer, keyof ContentSpacerAttributes> & { [K in keyof ContentSpacer & keyof ContentSpacerAttributes]?: ContentSpacer[K] } & { [K in keyof ContentSpacer & keyof ContentSpacerAttributes as `attr:${K}`]?: ContentSpacerAttributes[K] } & { [K in keyof ContentSpacer & keyof ContentSpacerAttributes as `prop:${K}`]?: ContentSpacer[K] };
1870
+ "content-split-block": Omit<ContentSplitBlock, keyof ContentSplitBlockAttributes> & { [K in keyof ContentSplitBlock & keyof ContentSplitBlockAttributes]?: ContentSplitBlock[K] } & { [K in keyof ContentSplitBlock & keyof ContentSplitBlockAttributes as `attr:${K}`]?: ContentSplitBlockAttributes[K] } & { [K in keyof ContentSplitBlock & keyof ContentSplitBlockAttributes as `prop:${K}`]?: ContentSplitBlock[K] };
1871
+ "content-tabs": Omit<ContentTabs, keyof ContentTabsAttributes> & { [K in keyof ContentTabs & keyof ContentTabsAttributes]?: ContentTabs[K] } & { [K in keyof ContentTabs & keyof ContentTabsAttributes as `attr:${K}`]?: ContentTabsAttributes[K] } & { [K in keyof ContentTabs & keyof ContentTabsAttributes as `prop:${K}`]?: ContentTabs[K] };
1872
+ "content-text-block": Omit<ContentTextBlock, keyof ContentTextBlockAttributes> & { [K in keyof ContentTextBlock & keyof ContentTextBlockAttributes]?: ContentTextBlock[K] } & { [K in keyof ContentTextBlock & keyof ContentTextBlockAttributes as `attr:${K}`]?: ContentTextBlockAttributes[K] } & { [K in keyof ContentTextBlock & keyof ContentTextBlockAttributes as `prop:${K}`]?: ContentTextBlock[K] };
1873
+ "content-tout-block": Omit<ContentToutBlock, keyof ContentToutBlockAttributes> & { [K in keyof ContentToutBlock & keyof ContentToutBlockAttributes]?: ContentToutBlock[K] } & { [K in keyof ContentToutBlock & keyof ContentToutBlockAttributes as `attr:${K}`]?: ContentToutBlockAttributes[K] } & { [K in keyof ContentToutBlock & keyof ContentToutBlockAttributes as `prop:${K}`]?: ContentToutBlock[K] };
1874
+ "content-video": Omit<ContentVideo, keyof ContentVideoAttributes> & { [K in keyof ContentVideo & keyof ContentVideoAttributes]?: ContentVideo[K] } & { [K in keyof ContentVideo & keyof ContentVideoAttributes as `attr:${K}`]?: ContentVideoAttributes[K] } & { [K in keyof ContentVideo & keyof ContentVideoAttributes as `prop:${K}`]?: ContentVideo[K] };
1226
1875
  }
1227
1876
  }
1228
1877
  export { LocalJSX as JSX };
1229
1878
  declare module "@stencil/core" {
1230
1879
  export namespace JSX {
1231
1880
  interface IntrinsicElements {
1232
- "content-accordion": LocalJSX.ContentAccordion & JSXBase.HTMLAttributes<HTMLContentAccordionElement>;
1233
- "content-button": LocalJSX.ContentButton & JSXBase.HTMLAttributes<HTMLContentButtonElement>;
1234
- "content-carousel": LocalJSX.ContentCarousel & JSXBase.HTMLAttributes<HTMLContentCarouselElement>;
1235
- "content-grid-formatter": LocalJSX.ContentGridFormatter & JSXBase.HTMLAttributes<HTMLContentGridFormatterElement>;
1236
- "content-hero-block": LocalJSX.ContentHeroBlock & JSXBase.HTMLAttributes<HTMLContentHeroBlockElement>;
1237
- "content-image": LocalJSX.ContentImage & JSXBase.HTMLAttributes<HTMLContentImageElement>;
1238
- "content-line": LocalJSX.ContentLine & JSXBase.HTMLAttributes<HTMLContentLineElement>;
1239
- "content-navigation-block": LocalJSX.ContentNavigationBlock & JSXBase.HTMLAttributes<HTMLContentNavigationBlockElement>;
1240
- "content-overlay": LocalJSX.ContentOverlay & JSXBase.HTMLAttributes<HTMLContentOverlayElement>;
1241
- "content-spacer": LocalJSX.ContentSpacer & JSXBase.HTMLAttributes<HTMLContentSpacerElement>;
1242
- "content-split-block": LocalJSX.ContentSplitBlock & JSXBase.HTMLAttributes<HTMLContentSplitBlockElement>;
1243
- "content-tabs": LocalJSX.ContentTabs & JSXBase.HTMLAttributes<HTMLContentTabsElement>;
1244
- "content-text-block": LocalJSX.ContentTextBlock & JSXBase.HTMLAttributes<HTMLContentTextBlockElement>;
1245
- "content-tout-block": LocalJSX.ContentToutBlock & JSXBase.HTMLAttributes<HTMLContentToutBlockElement>;
1246
- "content-video": LocalJSX.ContentVideo & JSXBase.HTMLAttributes<HTMLContentVideoElement>;
1881
+ /**
1882
+ * A button that shows and hides the content below it, such as an answer in a list of questions.
1883
+ */
1884
+ "content-accordion": LocalJSX.IntrinsicElements["content-accordion"] & JSXBase.HTMLAttributes<HTMLContentAccordionElement>;
1885
+ /**
1886
+ * A link or button. Wrapped around block content, such as a card, it makes the whole area clickable, and opens a content-overlay when its href points at one.
1887
+ */
1888
+ "content-button": LocalJSX.IntrinsicElements["content-button"] & JSXBase.HTMLAttributes<HTMLContentButtonElement>;
1889
+ /**
1890
+ * Slides that move sideways, built on Swiper, with labelled controls and a pause button when they move on their own.
1891
+ */
1892
+ "content-carousel": LocalJSX.IntrinsicElements["content-carousel"] & JSXBase.HTMLAttributes<HTMLContentCarouselElement>;
1893
+ /**
1894
+ * Lays its children out in a grid or a row, with the number of columns, gaps and alignment set per breakpoint.
1895
+ */
1896
+ "content-grid-formatter": LocalJSX.IntrinsicElements["content-grid-formatter"] & JSXBase.HTMLAttributes<HTMLContentGridFormatterElement>;
1897
+ /**
1898
+ * A full width section with an image or video behind, or above, its text. Usually the first block on a page.
1899
+ */
1900
+ "content-hero-block": LocalJSX.IntrinsicElements["content-hero-block"] & JSXBase.HTMLAttributes<HTMLContentHeroBlockElement>;
1901
+ /**
1902
+ * A responsive image or muted looping video per breakpoint with native lazy loading.
1903
+ */
1904
+ "content-image": LocalJSX.IntrinsicElements["content-image"] & JSXBase.HTMLAttributes<HTMLContentImageElement>;
1905
+ /**
1906
+ * One line of text, such as a heading or a paragraph, with its tag, alignment and maximum width set per breakpoint.
1907
+ */
1908
+ "content-line": LocalJSX.IntrinsicElements["content-line"] & JSXBase.HTMLAttributes<HTMLContentLineElement>;
1909
+ /**
1910
+ * Site navigation that collapses into a menu button on the breakpoints you choose, with a skip link for keyboard users.
1911
+ */
1912
+ "content-navigation-block": LocalJSX.IntrinsicElements["content-navigation-block"] & JSXBase.HTMLAttributes<HTMLContentNavigationBlockElement>;
1913
+ /**
1914
+ * A dialog that opens over the page, or inside another element, and keeps keyboard focus inside it while open.
1915
+ */
1916
+ "content-overlay": LocalJSX.IntrinsicElements["content-overlay"] & JSXBase.HTMLAttributes<HTMLContentOverlayElement>;
1917
+ /**
1918
+ * Adds space around its content and limits its width, with its padding and maximum width set per breakpoint.
1919
+ */
1920
+ "content-spacer": LocalJSX.IntrinsicElements["content-spacer"] & JSXBase.HTMLAttributes<HTMLContentSpacerElement>;
1921
+ /**
1922
+ * Two columns side by side, such as an image next to text, that stack on smaller screens.
1923
+ */
1924
+ "content-split-block": LocalJSX.IntrinsicElements["content-split-block"] & JSXBase.HTMLAttributes<HTMLContentSplitBlockElement>;
1925
+ /**
1926
+ * Accessible tabs: a tablist of buttons and the panels they show, with arrow key support.
1927
+ */
1928
+ "content-tabs": LocalJSX.IntrinsicElements["content-tabs"] & JSXBase.HTMLAttributes<HTMLContentTabsElement>;
1929
+ /**
1930
+ * A block of text with its alignment, vertical position and minimum height set per breakpoint.
1931
+ */
1932
+ "content-text-block": LocalJSX.IntrinsicElements["content-text-block"] & JSXBase.HTMLAttributes<HTMLContentTextBlockElement>;
1933
+ /**
1934
+ * A card that promotes something: an image or video with text below it, and an optional layer over the media that can show on hover.
1935
+ */
1936
+ "content-tout-block": LocalJSX.IntrinsicElements["content-tout-block"] & JSXBase.HTMLAttributes<HTMLContentToutBlockElement>;
1937
+ /**
1938
+ * A video player for YouTube or self hosted files, built on Video.js.
1939
+ */
1940
+ "content-video": LocalJSX.IntrinsicElements["content-video"] & JSXBase.HTMLAttributes<HTMLContentVideoElement>;
1247
1941
  }
1248
1942
  }
1249
1943
  }