@content-blocks/js 0.7.7 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +111 -3
  3. package/THIRD-PARTY-NOTICES.md +21 -0
  4. package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -2
  5. package/dist/cjs/content-accordion.cjs.entry.js +87 -0
  6. package/dist/cjs/content-blocks.cjs.js +35 -11
  7. package/dist/cjs/content-button.cjs.entry.js +113 -0
  8. package/dist/cjs/content-carousel.cjs.entry.js +153 -47
  9. package/dist/cjs/content-grid-formatter.cjs.entry.js +102 -0
  10. package/dist/cjs/content-hero-block.cjs.entry.js +45 -0
  11. package/dist/cjs/content-image.cjs.entry.js +153 -0
  12. package/dist/cjs/content-line.cjs.entry.js +61 -0
  13. package/dist/cjs/content-navigation-block.cjs.entry.js +51 -34
  14. package/dist/cjs/content-overlay.cjs.entry.js +641 -0
  15. package/dist/cjs/content-spacer.cjs.entry.js +75 -0
  16. package/dist/cjs/content-split-block.cjs.entry.js +22 -19
  17. package/dist/cjs/content-tabs.cjs.entry.js +38 -21
  18. package/dist/cjs/content-text-block.cjs.entry.js +63 -0
  19. package/dist/cjs/content-tout-block.cjs.entry.js +34 -0
  20. package/dist/cjs/{content-accordion_11.cjs.entry.js → content-video.cjs.entry.js} +14541 -12905
  21. package/dist/cjs/{focus-trap.esm-7bc384a0.js → focus-trap.esm-ZwN-anf1.js} +484 -190
  22. package/dist/cjs/{index-2e0ce692.js → index-B1U6Gweq.js} +348 -246
  23. package/dist/cjs/index-ClnpH9XB.js +2170 -0
  24. package/dist/cjs/index-CyalvZJn.js +1719 -0
  25. package/dist/cjs/index-DUvWvBDN.js +290 -0
  26. package/dist/cjs/index-voGY4Tkl.js +4705 -0
  27. package/dist/cjs/index.cjs.js +2 -5
  28. package/dist/cjs/loader.cjs.js +3 -8
  29. package/dist/cjs/responsive-component-C5eJS82z.js +171 -0
  30. package/dist/cjs/responsive-component-DMdnQIPV.js +171 -0
  31. package/dist/cjs/swiper-KLYbvU1K.js +3931 -0
  32. package/dist/cjs/{swiper-8221f4e8.js → swiper-_Z8Y4IJI.js} +269 -236
  33. package/dist/cjs/utils-BCHaRGm_.js +462 -0
  34. package/dist/cjs/{utils-df044337.js → utils-C3gXIS2t.js} +51 -49
  35. package/dist/cjs/utils-DUvWvBDN.js +290 -0
  36. package/dist/collection/blocks/content-hero-block/content-hero-block.css +1 -1
  37. package/dist/collection/blocks/content-hero-block/content-hero-block.js +33 -48
  38. package/dist/collection/blocks/content-split-block/content-split-block.css +16 -5
  39. package/dist/collection/blocks/content-split-block/content-split-block.js +29 -48
  40. package/dist/collection/blocks/content-text-block/content-text-block.js +65 -59
  41. package/dist/collection/blocks/content-tout-block/content-tout-block.css +3 -0
  42. package/dist/collection/blocks/content-tout-block/content-tout-block.js +22 -47
  43. package/dist/collection/collection-manifest.json +8 -5
  44. package/dist/collection/components/content-accordion/content-accordion.css +20 -1
  45. package/dist/collection/components/content-accordion/content-accordion.js +67 -33
  46. package/dist/collection/components/content-accordion/libraries/w3_disclosure_button.js +0 -1
  47. package/dist/collection/components/content-carousel/content-carousel.css +60 -4
  48. package/dist/collection/components/content-carousel/content-carousel.js +294 -44
  49. package/dist/collection/components/content-navigation-block/content-navigation-block.css +15 -1
  50. package/dist/collection/components/content-navigation-block/content-navigation-block.js +86 -42
  51. package/dist/collection/components/content-overlay/content-overlay.css +36 -5
  52. package/dist/collection/components/content-overlay/content-overlay.js +181 -120
  53. package/dist/collection/components/content-overlay/libraries/aria-dialog.js +0 -1
  54. package/dist/collection/components/content-overlay/libraries/aria-utilities.js +0 -1
  55. package/dist/collection/components/content-tabs/content-tabs.js +7 -49
  56. package/dist/collection/components/content-tabs/libraries/w3_tabs.js +0 -1
  57. package/dist/collection/elements/content-button/content-button.css +8 -7
  58. package/dist/collection/elements/content-button/content-button.js +103 -84
  59. package/dist/collection/elements/content-image/content-image.css +3 -1
  60. package/dist/collection/elements/content-image/content-image.js +176 -95
  61. package/dist/collection/elements/content-line/content-line.js +63 -54
  62. package/dist/collection/elements/content-video/content-video.css +1 -1
  63. package/dist/collection/elements/content-video/content-video.js +123 -73
  64. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.css +8 -2
  65. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js +167 -89
  66. package/dist/collection/formatters/content-spacer/content-spacer.js +86 -209
  67. package/dist/collection/global/content-blocks-reset.css +77 -0
  68. package/dist/collection/index.js +1 -1
  69. package/dist/collection/sass/_mixins.scss +21 -5
  70. package/dist/collection/sass/_variables.scss +15 -15
  71. package/dist/collection/setupFiles.js +0 -1
  72. package/dist/collection/site/site.js +67 -0
  73. package/dist/collection/utils/breakpoints.js +162 -0
  74. package/dist/collection/utils/responsive-component.js +249 -0
  75. package/dist/collection/utils/utils.js +32 -42
  76. package/dist/components/content-accordion.js +65 -44
  77. package/dist/components/content-button.js +89 -43
  78. package/dist/components/content-carousel.js +172 -55
  79. package/dist/components/content-grid-formatter.js +127 -3
  80. package/dist/components/content-hero-block.js +33 -26
  81. package/dist/components/content-image.js +127 -71
  82. package/dist/components/content-line.js +56 -35
  83. package/dist/components/content-navigation-block.js +62 -39
  84. package/dist/components/content-overlay.js +128 -67
  85. package/dist/components/content-spacer.js +70 -54
  86. package/dist/components/content-split-block.js +33 -32
  87. package/dist/components/content-tabs.js +46 -25
  88. package/dist/components/content-text-block.js +55 -35
  89. package/dist/components/content-tout-block.js +29 -27
  90. package/dist/components/content-video.js +14605 -11951
  91. package/dist/{esm/focus-trap.esm-8fb54175.js → components/focus-trap.esm.js} +484 -190
  92. package/dist/components/index.d.ts +2 -0
  93. package/dist/components/index.js +3 -3
  94. package/dist/components/{p-5a91aa1b.js → index2.js} +348 -246
  95. package/dist/components/p-BWRCeMvO.js +1 -0
  96. package/dist/components/p-CYF5GU_q.js +1 -0
  97. package/dist/components/p-DXUoPIwl.js +10 -0
  98. package/dist/components/p-D_Ll4QNj.js +1 -0
  99. package/dist/components/p-DhIoW7H3.js +1 -0
  100. package/dist/components/responsive-component.js +168 -0
  101. package/dist/components/{p-e5dc4ea4.js → swiper.js} +268 -235
  102. package/dist/components/utils.js +4969 -0
  103. package/dist/{esm/utils-1c9f0ec1.js → components/utils2.js} +51 -50
  104. package/dist/content-blocks/content-accordion.entry.js +85 -0
  105. package/dist/content-blocks/content-blocks.esm.js +47 -2
  106. package/dist/content-blocks/content-button.entry.js +111 -0
  107. package/dist/content-blocks/content-carousel.entry.js +188 -0
  108. package/dist/content-blocks/content-grid-formatter.entry.js +100 -0
  109. package/dist/content-blocks/content-hero-block.entry.js +43 -0
  110. package/dist/content-blocks/content-image.entry.js +151 -0
  111. package/dist/content-blocks/content-line.entry.js +59 -0
  112. package/dist/content-blocks/content-navigation-block.entry.js +105 -0
  113. package/dist/content-blocks/content-overlay.entry.js +639 -0
  114. package/dist/content-blocks/content-spacer.entry.js +73 -0
  115. package/dist/content-blocks/content-split-block.entry.js +34 -0
  116. package/dist/content-blocks/content-tabs.entry.js +245 -0
  117. package/dist/content-blocks/content-text-block.entry.js +61 -0
  118. package/dist/content-blocks/content-tout-block.entry.js +32 -0
  119. package/dist/{esm/content-accordion_11.entry.js → content-blocks/content-video.entry.js} +14516 -12868
  120. package/dist/{components/p-a2fedf8a.js → content-blocks/focus-trap.esm-DXUoPIwl.js} +484 -190
  121. package/dist/content-blocks/global/content-blocks-reset.css +77 -0
  122. package/dist/content-blocks/index-BFDJMblF.js +4690 -0
  123. package/dist/{esm/index-f45a9c45.js → content-blocks/index-P1YnSd-O.js} +348 -246
  124. package/dist/content-blocks/index.esm.js +1 -2
  125. package/dist/content-blocks/p-008457f0.entry.js +1 -0
  126. package/dist/content-blocks/p-052692f1.entry.js +1 -0
  127. package/dist/content-blocks/p-0f71bd32.entry.js +1 -0
  128. package/dist/content-blocks/p-1f154617.entry.js +1 -0
  129. package/dist/content-blocks/p-2554ebd8.entry.js +1 -0
  130. package/dist/content-blocks/p-4afd6511.entry.js +1 -0
  131. package/dist/content-blocks/p-78d5de9f.entry.js +1 -0
  132. package/dist/content-blocks/p-7bcf7e7e.entry.js +1 -0
  133. package/dist/content-blocks/p-9058031c.entry.js +1 -0
  134. package/dist/content-blocks/p-9c41ac23.entry.js +17 -0
  135. package/dist/content-blocks/p-CLwOzPEO.js +3 -0
  136. package/dist/content-blocks/p-CYF5GU_q.js +1 -0
  137. package/dist/content-blocks/p-CjR_4mPu.js +1 -0
  138. package/dist/content-blocks/p-DQuL1Twl.js +1 -0
  139. package/dist/content-blocks/p-DXUoPIwl.js +10 -0
  140. package/dist/content-blocks/p-D_Ll4QNj.js +1 -0
  141. package/dist/content-blocks/p-DhIoW7H3.js +1 -0
  142. package/dist/content-blocks/p-DzYwy_62.js +1 -0
  143. package/dist/content-blocks/p-b2e6358a.entry.js +1 -0
  144. package/dist/content-blocks/p-c783bc68.entry.js +1 -0
  145. package/dist/content-blocks/p-e3d81e15.entry.js +1 -0
  146. package/dist/content-blocks/p-f23b4aae.entry.js +1 -0
  147. package/dist/content-blocks/p-f75c9094.entry.js +1 -0
  148. package/dist/content-blocks/responsive-component-BsLrcKbS.js +169 -0
  149. package/dist/content-blocks/sass/_mixins.scss +21 -5
  150. package/dist/content-blocks/sass/_variables.scss +15 -15
  151. package/dist/{esm/swiper-e9621adb.js → content-blocks/swiper-nBv069TB.js} +268 -235
  152. package/dist/{components/p-b85cfa86.js → content-blocks/utils--SDsQnWS.js} +51 -50
  153. package/dist/content-blocks/utils-Bak__24s.js +280 -0
  154. package/dist/docs.d.ts +480 -0
  155. package/dist/docs.json +5312 -0
  156. package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -2
  157. package/dist/esm/content-accordion.entry.js +85 -0
  158. package/dist/esm/content-blocks.js +33 -8
  159. package/dist/esm/content-button.entry.js +111 -0
  160. package/dist/esm/content-carousel.entry.js +153 -45
  161. package/dist/esm/content-grid-formatter.entry.js +100 -0
  162. package/dist/esm/content-hero-block.entry.js +43 -0
  163. package/dist/esm/content-image.entry.js +151 -0
  164. package/dist/esm/content-line.entry.js +59 -0
  165. package/dist/esm/content-navigation-block.entry.js +51 -32
  166. package/dist/esm/content-overlay.entry.js +639 -0
  167. package/dist/esm/content-spacer.entry.js +73 -0
  168. package/dist/esm/content-split-block.entry.js +22 -17
  169. package/dist/esm/content-tabs.entry.js +38 -19
  170. package/dist/esm/content-text-block.entry.js +61 -0
  171. package/dist/esm/content-tout-block.entry.js +32 -0
  172. package/dist/esm/content-video.entry.js +72033 -0
  173. package/dist/esm/focus-trap.esm-DXUoPIwl.js +1801 -0
  174. package/dist/esm/index-BASCLGuP.js +1713 -0
  175. package/dist/esm/index-BFDJMblF.js +4690 -0
  176. package/dist/esm/index-CLwOzPEO.js +2161 -0
  177. package/dist/esm/index-CjR_4mPu.js +280 -0
  178. package/dist/esm/index-P1YnSd-O.js +5397 -0
  179. package/dist/esm/index.js +1 -3
  180. package/dist/esm/loader.js +3 -6
  181. package/dist/esm/responsive-component-BsLrcKbS.js +169 -0
  182. package/dist/esm/responsive-component-D7dJHMp0.js +169 -0
  183. package/dist/esm/swiper-CtypHPwF.js +3928 -0
  184. package/dist/esm/swiper-nBv069TB.js +3941 -0
  185. package/dist/esm/utils--SDsQnWS.js +460 -0
  186. package/dist/esm/utils-Bak__24s.js +280 -0
  187. package/dist/esm/utils-CYF5GU_q.js +438 -0
  188. package/dist/node_modules/video.js/dist/video-js.min.css +1 -0
  189. package/dist/test/axe.js +60 -0
  190. package/dist/types/Users/shahrukceo/Developer/content-blocks/packages/js/.stencil/test/axe.d.ts +16 -0
  191. package/dist/types/blocks/content-hero-block/content-hero-block.d.ts +7 -11
  192. package/dist/types/blocks/content-split-block/content-split-block.d.ts +5 -9
  193. package/dist/types/blocks/content-text-block/content-text-block.d.ts +4 -9
  194. package/dist/types/blocks/content-tout-block/content-tout-block.d.ts +5 -10
  195. package/dist/types/components/content-accordion/content-accordion.d.ts +4 -3
  196. package/dist/types/components/content-accordion/libraries/w3_disclosure_button.d.ts +0 -1
  197. package/dist/types/components/content-carousel/content-carousel.d.ts +44 -7
  198. package/dist/types/components/content-navigation-block/content-navigation-block.d.ts +14 -8
  199. package/dist/types/components/content-overlay/content-overlay.d.ts +15 -16
  200. package/dist/types/components/content-overlay/libraries/aria-dialog.d.ts +0 -1
  201. package/dist/types/components/content-overlay/libraries/aria-utilities.d.ts +0 -1
  202. package/dist/types/components/content-tabs/content-tabs.d.ts +4 -10
  203. package/dist/types/components/content-tabs/libraries/w3_tabs.d.ts +0 -1
  204. package/dist/types/components.d.ts +892 -198
  205. package/dist/types/elements/content-button/content-button.d.ts +8 -13
  206. package/dist/types/elements/content-image/content-image.d.ts +15 -9
  207. package/dist/types/elements/content-line/content-line.d.ts +5 -12
  208. package/dist/types/elements/content-video/content-video.d.ts +6 -11
  209. package/dist/types/formatters/content-grid-formatter/content-grid-formatter.d.ts +14 -9
  210. package/dist/types/formatters/content-spacer/content-spacer.d.ts +4 -36
  211. package/dist/types/index.d.ts +3 -1
  212. package/dist/types/setupFiles.d.ts +0 -1
  213. package/dist/types/stencil-public-runtime.d.ts +265 -60
  214. package/dist/types/typings.d.ts +10 -0
  215. package/dist/types/utils/breakpoints.d.ts +57 -0
  216. package/dist/types/utils/responsive-component.d.ts +49 -0
  217. package/dist/types/utils/utils.d.ts +11 -8
  218. package/loader/cdn.js +1 -0
  219. package/loader/index.cjs.js +1 -0
  220. package/loader/index.d.ts +24 -0
  221. package/loader/index.es2017.js +1 -0
  222. package/loader/index.js +2 -0
  223. package/package.json +74 -64
  224. package/dist/cjs/BehaviorSubject-12116537.js +0 -655
  225. package/dist/cjs/BehaviorSubject-12116537.js.map +0 -1
  226. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  227. package/dist/cjs/content-accordion_11.cjs.entry.js.map +0 -1
  228. package/dist/cjs/content-blocks.cjs.js.map +0 -1
  229. package/dist/cjs/content-carousel.cjs.entry.js.map +0 -1
  230. package/dist/cjs/content-navigation-block.cjs.entry.js.map +0 -1
  231. package/dist/cjs/content-split-block.cjs.entry.js.map +0 -1
  232. package/dist/cjs/content-tabs.cjs.entry.js.map +0 -1
  233. package/dist/cjs/focus-trap.esm-7bc384a0.js.map +0 -1
  234. package/dist/cjs/index-2e0ce692.js.map +0 -1
  235. package/dist/cjs/index-8af2820a.js +0 -1650
  236. package/dist/cjs/index-8af2820a.js.map +0 -1
  237. package/dist/cjs/index.cjs.js.map +0 -1
  238. package/dist/cjs/loader.cjs.js.map +0 -1
  239. package/dist/cjs/swiper-8221f4e8.js.map +0 -1
  240. package/dist/cjs/utils-df044337.js.map +0 -1
  241. package/dist/cjs/utils-f8ccab0a.js +0 -126
  242. package/dist/cjs/utils-f8ccab0a.js.map +0 -1
  243. package/dist/cjs/window-resize-service-65a5a370.js +0 -37
  244. package/dist/cjs/window-resize-service-65a5a370.js.map +0 -1
  245. package/dist/collection/blocks/content-hero-block/content-hero-block.js.map +0 -1
  246. package/dist/collection/blocks/content-split-block/content-split-block.js.map +0 -1
  247. package/dist/collection/blocks/content-text-block/content-text-block.js.map +0 -1
  248. package/dist/collection/blocks/content-tout-block/content-tout-block.js.map +0 -1
  249. package/dist/collection/components/content-accordion/content-accordion.js.map +0 -1
  250. package/dist/collection/components/content-accordion/libraries/w3_disclosure_button.js.map +0 -1
  251. package/dist/collection/components/content-carousel/content-carousel.js.map +0 -1
  252. package/dist/collection/components/content-navigation-block/content-navigation-block.js.map +0 -1
  253. package/dist/collection/components/content-overlay/content-overlay.js.map +0 -1
  254. package/dist/collection/components/content-overlay/libraries/aria-dialog.js.map +0 -1
  255. package/dist/collection/components/content-overlay/libraries/aria-utilities.js.map +0 -1
  256. package/dist/collection/components/content-tabs/content-tabs.js.map +0 -1
  257. package/dist/collection/components/content-tabs/libraries/w3_tabs.js.map +0 -1
  258. package/dist/collection/elements/content-button/content-button.js.map +0 -1
  259. package/dist/collection/elements/content-image/content-image.js.map +0 -1
  260. package/dist/collection/elements/content-line/content-line.js.map +0 -1
  261. package/dist/collection/elements/content-video/content-video.js.map +0 -1
  262. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js.map +0 -1
  263. package/dist/collection/formatters/content-spacer/content-spacer.js.map +0 -1
  264. package/dist/collection/globalScript.js +0 -15
  265. package/dist/collection/globalScript.js.map +0 -1
  266. package/dist/collection/index.js.map +0 -1
  267. package/dist/collection/services/content-events-service.js +0 -23
  268. package/dist/collection/services/content-events-service.js.map +0 -1
  269. package/dist/collection/services/window-resize-service.js +0 -31
  270. package/dist/collection/services/window-resize-service.js.map +0 -1
  271. package/dist/collection/setupFiles.js.map +0 -1
  272. package/dist/collection/stories/ContentHeroBlock.stories.js +0 -51
  273. package/dist/collection/stories/ContentHeroBlock.stories.js.map +0 -1
  274. package/dist/collection/stories/ContentNavigationBlock.stories.js +0 -33
  275. package/dist/collection/stories/ContentNavigationBlock.stories.js.map +0 -1
  276. package/dist/collection/stories/ContentSpacer.stories.js +0 -20
  277. package/dist/collection/stories/ContentSpacer.stories.js.map +0 -1
  278. package/dist/collection/stories/ContentTextBlock.stories.js +0 -17
  279. package/dist/collection/stories/ContentTextBlock.stories.js.map +0 -1
  280. package/dist/collection/stories/ContentToutBlock.stories.js +0 -17
  281. package/dist/collection/stories/ContentToutBlock.stories.js.map +0 -1
  282. package/dist/collection/stories/FullPageExample.stories.js +0 -432
  283. package/dist/collection/stories/FullPageExample.stories.js.map +0 -1
  284. package/dist/collection/stories/assets/accessibility.svg +0 -5
  285. package/dist/collection/stories/assets/discord.svg +0 -15
  286. package/dist/collection/stories/assets/github.svg +0 -3
  287. package/dist/collection/stories/assets/tutorials.svg +0 -12
  288. package/dist/collection/stories/assets/youtube.svg +0 -4
  289. package/dist/collection/utils/utils.js.map +0 -1
  290. package/dist/components/content-accordion.js.map +0 -1
  291. package/dist/components/content-button.js.map +0 -1
  292. package/dist/components/content-carousel.js.map +0 -1
  293. package/dist/components/content-grid-formatter.js.map +0 -1
  294. package/dist/components/content-hero-block.js.map +0 -1
  295. package/dist/components/content-image.js.map +0 -1
  296. package/dist/components/content-line.js.map +0 -1
  297. package/dist/components/content-navigation-block.js.map +0 -1
  298. package/dist/components/content-overlay.js.map +0 -1
  299. package/dist/components/content-spacer.js.map +0 -1
  300. package/dist/components/content-split-block.js.map +0 -1
  301. package/dist/components/content-tabs.js.map +0 -1
  302. package/dist/components/content-text-block.js.map +0 -1
  303. package/dist/components/content-tout-block.js.map +0 -1
  304. package/dist/components/content-video.js.map +0 -1
  305. package/dist/components/index.js.map +0 -1
  306. package/dist/components/p-26483b46.js +0 -35
  307. package/dist/components/p-26483b46.js.map +0 -1
  308. package/dist/components/p-5a91aa1b.js.map +0 -1
  309. package/dist/components/p-74be971f.js +0 -652
  310. package/dist/components/p-74be971f.js.map +0 -1
  311. package/dist/components/p-7a436263.js +0 -122
  312. package/dist/components/p-7a436263.js.map +0 -1
  313. package/dist/components/p-a2fedf8a.js.map +0 -1
  314. package/dist/components/p-b85cfa86.js.map +0 -1
  315. package/dist/components/p-e28db040.js +0 -1452
  316. package/dist/components/p-e28db040.js.map +0 -1
  317. package/dist/components/p-e5dc4ea4.js.map +0 -1
  318. package/dist/components/p-e9bce2ab.js +0 -88
  319. package/dist/components/p-e9bce2ab.js.map +0 -1
  320. package/dist/content-blocks/content-blocks.esm.js.map +0 -1
  321. package/dist/content-blocks/index.esm.js.map +0 -1
  322. package/dist/content-blocks/p-13c3cc4f.js +0 -3
  323. package/dist/content-blocks/p-13c3cc4f.js.map +0 -1
  324. package/dist/content-blocks/p-398760b3.entry.js +0 -26
  325. package/dist/content-blocks/p-398760b3.entry.js.map +0 -1
  326. package/dist/content-blocks/p-5422c25b.entry.js +0 -2
  327. package/dist/content-blocks/p-5422c25b.entry.js.map +0 -1
  328. package/dist/content-blocks/p-5a91aa1b.js +0 -2
  329. package/dist/content-blocks/p-5a91aa1b.js.map +0 -1
  330. package/dist/content-blocks/p-650d1757.js +0 -2
  331. package/dist/content-blocks/p-650d1757.js.map +0 -1
  332. package/dist/content-blocks/p-74be971f.js +0 -2
  333. package/dist/content-blocks/p-74be971f.js.map +0 -1
  334. package/dist/content-blocks/p-a2fedf8a.js +0 -10
  335. package/dist/content-blocks/p-a2fedf8a.js.map +0 -1
  336. package/dist/content-blocks/p-b305392e.entry.js +0 -2
  337. package/dist/content-blocks/p-b305392e.entry.js.map +0 -1
  338. package/dist/content-blocks/p-b85cfa86.js +0 -2
  339. package/dist/content-blocks/p-b85cfa86.js.map +0 -1
  340. package/dist/content-blocks/p-cc7397cf.js +0 -2
  341. package/dist/content-blocks/p-cc7397cf.js.map +0 -1
  342. package/dist/content-blocks/p-d62775d7.entry.js +0 -2
  343. package/dist/content-blocks/p-d62775d7.entry.js.map +0 -1
  344. package/dist/content-blocks/p-e1255160.js +0 -2
  345. package/dist/content-blocks/p-e1255160.js.map +0 -1
  346. package/dist/content-blocks/p-e5dc4ea4.js +0 -2
  347. package/dist/content-blocks/p-e5dc4ea4.js.map +0 -1
  348. package/dist/content-blocks/p-f73f934a.entry.js +0 -2
  349. package/dist/content-blocks/p-f73f934a.entry.js.map +0 -1
  350. package/dist/esm/BehaviorSubject-f7a12fd8.js +0 -652
  351. package/dist/esm/BehaviorSubject-f7a12fd8.js.map +0 -1
  352. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  353. package/dist/esm/content-accordion_11.entry.js.map +0 -1
  354. package/dist/esm/content-blocks.js.map +0 -1
  355. package/dist/esm/content-carousel.entry.js.map +0 -1
  356. package/dist/esm/content-navigation-block.entry.js.map +0 -1
  357. package/dist/esm/content-split-block.entry.js.map +0 -1
  358. package/dist/esm/content-tabs.entry.js.map +0 -1
  359. package/dist/esm/focus-trap.esm-8fb54175.js.map +0 -1
  360. package/dist/esm/index-ec24af7a.js +0 -1621
  361. package/dist/esm/index-ec24af7a.js.map +0 -1
  362. package/dist/esm/index-f45a9c45.js.map +0 -1
  363. package/dist/esm/index.js.map +0 -1
  364. package/dist/esm/loader.js.map +0 -1
  365. package/dist/esm/swiper-e9621adb.js.map +0 -1
  366. package/dist/esm/utils-1c9f0ec1.js.map +0 -1
  367. package/dist/esm/utils-9a901aa9.js +0 -122
  368. package/dist/esm/utils-9a901aa9.js.map +0 -1
  369. package/dist/esm/window-resize-service-354f2ac5.js +0 -35
  370. package/dist/esm/window-resize-service-354f2ac5.js.map +0 -1
  371. package/dist/types/globalScript.d.ts +0 -1
  372. package/dist/types/old-components.d.ts +0 -1239
  373. package/dist/types/services/content-events-service.d.ts +0 -11
  374. package/dist/types/services/window-resize-service.d.ts +0 -11
  375. package/dist/types/stories/ContentHeroBlock.stories.d.ts +0 -11
  376. package/dist/types/stories/ContentNavigationBlock.stories.d.ts +0 -9
  377. package/dist/types/stories/ContentSpacer.stories.d.ts +0 -15
  378. package/dist/types/stories/ContentTextBlock.stories.d.ts +0 -9
  379. package/dist/types/stories/ContentToutBlock.stories.d.ts +0 -9
  380. package/dist/types/stories/FullPageExample.stories.d.ts +0 -10
@@ -1,1239 +0,0 @@
1
- /* eslint-disable */
2
- /* tslint:disable */
3
- /**
4
- * This is an autogenerated file created by the Stencil compiler.
5
- * It contains typing information for all components that exist in this project.
6
- */
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";
18
- export namespace Components {
19
- interface ContentAccordion {
20
- /**
21
- * The ending animation class in case you want to control content styling.
22
- * @type String
23
- */
24
- "animationEnd": string;
25
- /**
26
- * The starting animation class in case you want to control content styling.
27
- * @type String
28
- */
29
- "animationStart": string;
30
- /**
31
- * The amount of time in milliseconds to run the closing animation, before the class is removed
32
- * @type Number
33
- */
34
- "animationTime": number;
35
- /**
36
- * @type Boolean
37
- * @responsive
38
- */
39
- "open": ResponsiveBoolean;
40
- /**
41
- * The class to be applied to the trigger button element.
42
- * @type String
43
- */
44
- "triggerClass": string;
45
- }
46
- interface ContentButton {
47
- /**
48
- * The classes for the button.
49
- * @type String
50
- * @responsive
51
- */
52
- "classes": string;
53
- /**
54
- * @type Boolean
55
- */
56
- "clickableBlock": boolean;
57
- /**
58
- * /** Aria-controls value
59
- * @type Target
60
- */
61
- "controls": string;
62
- /**
63
- * @type Boolean
64
- */
65
- "expanded": string;
66
- /**
67
- * @type URL
68
- */
69
- "href": string;
70
- /**
71
- * @type String
72
- * @responsive
73
- */
74
- "linkClass": ResponsiveString;
75
- /**
76
- * @type String
77
- * @responsive
78
- */
79
- "linkLabel": ResponsiveString;
80
- /**
81
- * @type String
82
- */
83
- "target": string;
84
- }
85
- interface ContentCarousel {
86
- /**
87
- * @type Select
88
- * @options load
89
- * @options init
90
- */
91
- "initMethod": InitMethodType;
92
- /**
93
- * @type JSON
94
- * @schema Swiper Options
95
- */
96
- "swiperOptions": string;
97
- }
98
- interface ContentGridFormatter {
99
- /**
100
- * @type String
101
- * @responsive
102
- */
103
- "classes": ResponsiveString;
104
- /**
105
- * @type Number
106
- * @responsive
107
- */
108
- "columnGap": ResponsiveNumber;
109
- /**
110
- * @type Number
111
- * @responsive
112
- */
113
- "columns": ResponsiveNumber;
114
- /**
115
- * 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
- * @type Boolean
117
- * @responsive
118
- */
119
- "flexGrow": ResponsiveBoolean;
120
- /**
121
- * 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
- * @type Boolean
123
- * @responsive
124
- */
125
- "flexShrink": ResponsiveBoolean;
126
- /**
127
- * Horizontal axis alignment
128
- * @type Select
129
- * @options flex-start
130
- * @options space-between
131
- * @options center
132
- * @options space-evenly
133
- * @responsive
134
- */
135
- "horizontal": FLEX_JUSTIFY_OPTIONS;
136
- /**
137
- * @type Number
138
- * @responsive
139
- */
140
- "rowGap": ResponsiveNumber;
141
- /**
142
- * Flex or grid
143
- * @type Select
144
- * @options none
145
- * @options flex
146
- * @options grid
147
- * @responsive
148
- */
149
- "type": GRID_TYPES | ResponsiveString;
150
- /**
151
- * Vertical axis alignment
152
- * @type Select
153
- * @options flex-start
154
- * @options space-between
155
- * @options center
156
- * @options space-evenly
157
- * @responsive
158
- */
159
- "vertical": FLEX_JUSTIFY_OPTIONS;
160
- }
161
- interface ContentHeroBlock {
162
- /**
163
- * @type String
164
- * @responsive
165
- */
166
- "classes": ResponsiveString;
167
- /**
168
- * Pipe separated HeroContentPlacementOptions that will determine whether the content sits below the media slot or overlapped above.
169
- * @type Select
170
- * @options below
171
- * @options above
172
- * @responsive
173
- */
174
- "contentPosition": ResponsiveString | HeroContentPlacementOptions;
175
- }
176
- interface ContentImage {
177
- /**
178
- * @type String
179
- * @responsive
180
- */
181
- "alt": ResponsiveString;
182
- /**
183
- * @type String
184
- * @responsive
185
- */
186
- "aspectRatio": ResponsiveString;
187
- /**
188
- * @type String
189
- * @responsive
190
- */
191
- "classes": ResponsiveString;
192
- /**
193
- * @type Number
194
- * @responsive
195
- */
196
- "height": ResponsiveNumber;
197
- /**
198
- * @type Boolean
199
- */
200
- "lazyLoad": boolean;
201
- /**
202
- * If true, the content in the mediaContent slot will be visible.
203
- * @type Boolean
204
- * @responsive
205
- */
206
- "showContent": ResponsiveBoolean;
207
- /**
208
- * @type Media
209
- * @responsive
210
- */
211
- "src": ResponsiveString;
212
- /**
213
- * @type Select
214
- * @options image
215
- * @options video
216
- */
217
- "type"?: 'image' | 'video';
218
- /**
219
- * @type Select
220
- * @options video/mp4
221
- */
222
- "videoType"?: string;
223
- /**
224
- * @type Number
225
- * @responsive
226
- */
227
- "width": ResponsiveNumber;
228
- }
229
- interface ContentLine {
230
- /**
231
- * The font class for the line.
232
- * @type String
233
- * @responsive
234
- */
235
- "classes": any;
236
- /**
237
- * 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
- * @type String
239
- * @responsive
240
- */
241
- "maxWidth": ResponsiveNumber;
242
- /**
243
- * The element tag to use.
244
- * @type Select
245
- * @options div
246
- * @options p
247
- * @options h1
248
- * @options h2
249
- * @options h3
250
- * @options h4
251
- * @options h5
252
- * @options h6
253
- * @options span
254
- * @options section
255
- * @options article
256
- */
257
- "tag": ContentLineTagOptions;
258
- /**
259
- * Pipe separated list of ContentLineTextAlignOptions for text alignment.
260
- * @type Select
261
- * @options default
262
- * @options left
263
- * @options center
264
- * @options right
265
- * @responsive
266
- */
267
- "textAlign": ContentLineTextAlignOptions;
268
- }
269
- interface ContentNavigationBlock {
270
- /**
271
- * @type String
272
- * @responsive
273
- */
274
- "classes": ResponsiveString;
275
- /**
276
- * @type Select
277
- * @responsive
278
- * @options fixed
279
- * @options absolute
280
- * @options sticky
281
- * @options static
282
- * @options none
283
- */
284
- "hamburger": ResponsiveString;
285
- }
286
- interface ContentOverlay {
287
- /**
288
- * @type String
289
- * @responsive
290
- */
291
- "classes": ResponsiveString;
292
- "closeOverlay": () => Promise<void>;
293
- /**
294
- * Title attribute value for the close button.
295
- * @type String
296
- */
297
- "closeTitle": string;
298
- /**
299
- * @type Boolean
300
- * @responsive
301
- */
302
- "fullScreen": ResponsiveBoolean;
303
- /**
304
- * A pipe delimited setting for horizontal alignment. This only applies when fullscreen mode is activated.
305
- * @type Select
306
- * @options default
307
- * @options left
308
- * @options center
309
- * @options right
310
- * @responsive
311
- */
312
- "horizontal": ContentLineTextAlignOptions1;
313
- /**
314
- * @type Boolean
315
- * @responsive
316
- */
317
- "open": ResponsiveBoolean;
318
- "openOverlay": () => Promise<void>;
319
- /**
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
- /**
329
- * @type String
330
- * @responsive
331
- */
332
- "target": string;
333
- /**
334
- * A pipe delimited setting for vertical alignment. This only applies when fullscreen mode is activated.
335
- * @type Select
336
- * @options top
337
- * @options center
338
- * @options bottom
339
- */
340
- "vertical": ContentVerticalAlignments;
341
- }
342
- interface ContentSpacer {
343
- /**
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
- /**
351
- * @type String
352
- * @responsive
353
- */
354
- "classes": ResponsiveString;
355
- /**
356
- * 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
- * @type Boolean
358
- * @responsive
359
- */
360
- "fullHeight": ResponsiveBoolean;
361
- /**
362
- * Pipe separated list of ContentLineTextAlignOptions for where to place text box when a max width is specified.
363
- * @type Select
364
- * @options default
365
- * @options left
366
- * @options center
367
- * @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
376
- */
377
- "leftOffset": ResponsiveNumber;
378
- /**
379
- * Pipe separated list of max width numbers. You can also use units such as "px" and "vw".
380
- * @type String
381
- * @responsive
382
- */
383
- "maxWidth": ResponsiveNumber;
384
- /**
385
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
386
- * @type Number
387
- * @string
388
- * @responsive
389
- */
390
- "rightOffset": ResponsiveNumber;
391
- /**
392
- * Pipe separated list of ContentLineTextAlignOptions for text alignment.
393
- * @type Select
394
- * @options default
395
- * @options left
396
- * @options center
397
- * @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
406
- */
407
- "topOffset": ResponsiveNumber;
408
- /**
409
- * Pipe separated list of ContentVerticalAlignments for text box placement.
410
- * @type Select
411
- * @options top
412
- * @options center
413
- * @options bottom
414
- * @options default
415
- * @responsive
416
- */
417
- "vertical": ResponsiveString | ContentVerticalAlignments;
418
- }
419
- interface ContentSplitBlock {
420
- /**
421
- * @type String
422
- * @responsive
423
- */
424
- "classes": ResponsiveString;
425
- /**
426
- * @type Number
427
- * @responsive
428
- */
429
- "columns": string;
430
- /**
431
- * @type Boolean
432
- * @responsive
433
- */
434
- "reverse": ResponsiveBoolean | boolean;
435
- }
436
- interface ContentTabs {
437
- /**
438
- * @type String
439
- * @responsive
440
- */
441
- "classes": ResponsiveString;
442
- }
443
- interface ContentTextBlock {
444
- /**
445
- * This is a pipe separated string representing the style class.
446
- * @type String
447
- * @responsive
448
- */
449
- "classes": ResponsiveString;
450
- /**
451
- * @type Boolean
452
- * @responsive
453
- */
454
- "fullHeight": ResponsiveString;
455
- /**
456
- * This is a pipe separated string representing the minimum height. Units without values default to pixels.
457
- * @type String
458
- * @responsive
459
- */
460
- "minHeight": ResponsiveString;
461
- /**
462
- * Pipe separated list of ContentLineTextAlignOptions for text alignment.
463
- * @type Select
464
- * @options default
465
- * @options left
466
- * @options center
467
- * @options right
468
- * @responsive
469
- */
470
- "textAlign": ContentLineTextAlignOptions1;
471
- /**
472
- * Pipe separated list of ContentVerticalAlignments for text box placement.
473
- * @type Select
474
- * @options top
475
- * @options center
476
- * @options bottom
477
- * @responsive
478
- */
479
- "vertical": ContentVerticalAlignments;
480
- }
481
- interface ContentToutBlock {
482
- /**
483
- * @type String
484
- * @responsive
485
- */
486
- "classes": ResponsiveString;
487
- /**
488
- * If true, the media content will show only on hover
489
- * @type Boolean
490
- * @responsive
491
- */
492
- "hover": ResponsiveBoolean;
493
- }
494
- interface ContentVideo {
495
- /**
496
- * If you're using this inside a content-overlay for example, you may want the video to play immediately on launch.
497
- * @type Boolean
498
- */
499
- "autoplay": boolean;
500
- /**
501
- * @type String
502
- * @responsive
503
- */
504
- "classes": ResponsiveString;
505
- /**
506
- * @type Boolean
507
- */
508
- "controls": boolean;
509
- /**
510
- * 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.
511
- * @responsive
512
- * @type String
513
- */
514
- "fitContainer": ResponsiveString;
515
- /**
516
- * @type Number
517
- */
518
- "height": number;
519
- /**
520
- * @type Select
521
- * @options youtube
522
- * @options html5
523
- */
524
- "method": SupportedVideoMethods;
525
- /**
526
- * @type String
527
- */
528
- "playButtonAriaLabel": string;
529
- /**
530
- * @type String
531
- */
532
- "preload": string;
533
- /**
534
- * Supports YouTube and self hosted URLs.
535
- * @type String
536
- */
537
- "src": string;
538
- /**
539
- * @type String
540
- */
541
- "type": string;
542
- /**
543
- * @type Number
544
- */
545
- "width": number;
546
- }
547
- }
548
- export interface ContentOverlayCustomEvent<T> extends CustomEvent<T> {
549
- detail: T;
550
- target: HTMLContentOverlayElement;
551
- }
552
- declare global {
553
- interface HTMLContentAccordionElement extends Components.ContentAccordion, HTMLStencilElement {
554
- }
555
- var HTMLContentAccordionElement: {
556
- prototype: HTMLContentAccordionElement;
557
- new (): HTMLContentAccordionElement;
558
- };
559
- interface HTMLContentButtonElement extends Components.ContentButton, HTMLStencilElement {
560
- }
561
- var HTMLContentButtonElement: {
562
- prototype: HTMLContentButtonElement;
563
- new (): HTMLContentButtonElement;
564
- };
565
- interface HTMLContentCarouselElement extends Components.ContentCarousel, HTMLStencilElement {
566
- }
567
- var HTMLContentCarouselElement: {
568
- prototype: HTMLContentCarouselElement;
569
- new (): HTMLContentCarouselElement;
570
- };
571
- interface HTMLContentGridFormatterElement extends Components.ContentGridFormatter, HTMLStencilElement {
572
- }
573
- var HTMLContentGridFormatterElement: {
574
- prototype: HTMLContentGridFormatterElement;
575
- new (): HTMLContentGridFormatterElement;
576
- };
577
- interface HTMLContentHeroBlockElement extends Components.ContentHeroBlock, HTMLStencilElement {
578
- }
579
- var HTMLContentHeroBlockElement: {
580
- prototype: HTMLContentHeroBlockElement;
581
- new (): HTMLContentHeroBlockElement;
582
- };
583
- interface HTMLContentImageElement extends Components.ContentImage, HTMLStencilElement {
584
- }
585
- var HTMLContentImageElement: {
586
- prototype: HTMLContentImageElement;
587
- new (): HTMLContentImageElement;
588
- };
589
- interface HTMLContentLineElement extends Components.ContentLine, HTMLStencilElement {
590
- }
591
- var HTMLContentLineElement: {
592
- prototype: HTMLContentLineElement;
593
- new (): HTMLContentLineElement;
594
- };
595
- interface HTMLContentNavigationBlockElement extends Components.ContentNavigationBlock, HTMLStencilElement {
596
- }
597
- var HTMLContentNavigationBlockElement: {
598
- prototype: HTMLContentNavigationBlockElement;
599
- new (): HTMLContentNavigationBlockElement;
600
- };
601
- interface HTMLContentOverlayElementEventMap {
602
- "contentOverlayActivated": HTMLElement;
603
- }
604
- interface HTMLContentOverlayElement extends Components.ContentOverlay, HTMLStencilElement {
605
- addEventListener<K extends keyof HTMLContentOverlayElementEventMap>(type: K, listener: (this: HTMLContentOverlayElement, ev: ContentOverlayCustomEvent<HTMLContentOverlayElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
606
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
607
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
608
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
609
- removeEventListener<K extends keyof HTMLContentOverlayElementEventMap>(type: K, listener: (this: HTMLContentOverlayElement, ev: ContentOverlayCustomEvent<HTMLContentOverlayElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
610
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
611
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
612
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
613
- }
614
- var HTMLContentOverlayElement: {
615
- prototype: HTMLContentOverlayElement;
616
- new (): HTMLContentOverlayElement;
617
- };
618
- interface HTMLContentSpacerElement extends Components.ContentSpacer, HTMLStencilElement {
619
- }
620
- var HTMLContentSpacerElement: {
621
- prototype: HTMLContentSpacerElement;
622
- new (): HTMLContentSpacerElement;
623
- };
624
- interface HTMLContentSplitBlockElement extends Components.ContentSplitBlock, HTMLStencilElement {
625
- }
626
- var HTMLContentSplitBlockElement: {
627
- prototype: HTMLContentSplitBlockElement;
628
- new (): HTMLContentSplitBlockElement;
629
- };
630
- interface HTMLContentTabsElement extends Components.ContentTabs, HTMLStencilElement {
631
- }
632
- var HTMLContentTabsElement: {
633
- prototype: HTMLContentTabsElement;
634
- new (): HTMLContentTabsElement;
635
- };
636
- interface HTMLContentTextBlockElement extends Components.ContentTextBlock, HTMLStencilElement {
637
- }
638
- var HTMLContentTextBlockElement: {
639
- prototype: HTMLContentTextBlockElement;
640
- new (): HTMLContentTextBlockElement;
641
- };
642
- interface HTMLContentToutBlockElement extends Components.ContentToutBlock, HTMLStencilElement {
643
- }
644
- var HTMLContentToutBlockElement: {
645
- prototype: HTMLContentToutBlockElement;
646
- new (): HTMLContentToutBlockElement;
647
- };
648
- interface HTMLContentVideoElement extends Components.ContentVideo, HTMLStencilElement {
649
- }
650
- var HTMLContentVideoElement: {
651
- prototype: HTMLContentVideoElement;
652
- new (): HTMLContentVideoElement;
653
- };
654
- interface HTMLElementTagNameMap {
655
- "content-accordion": HTMLContentAccordionElement;
656
- "content-button": HTMLContentButtonElement;
657
- "content-carousel": HTMLContentCarouselElement;
658
- "content-grid-formatter": HTMLContentGridFormatterElement;
659
- "content-hero-block": HTMLContentHeroBlockElement;
660
- "content-image": HTMLContentImageElement;
661
- "content-line": HTMLContentLineElement;
662
- "content-navigation-block": HTMLContentNavigationBlockElement;
663
- "content-overlay": HTMLContentOverlayElement;
664
- "content-spacer": HTMLContentSpacerElement;
665
- "content-split-block": HTMLContentSplitBlockElement;
666
- "content-tabs": HTMLContentTabsElement;
667
- "content-text-block": HTMLContentTextBlockElement;
668
- "content-tout-block": HTMLContentToutBlockElement;
669
- "content-video": HTMLContentVideoElement;
670
- }
671
- }
672
- declare namespace LocalJSX {
673
- interface ContentAccordion {
674
- /**
675
- * The ending animation class in case you want to control content styling.
676
- * @type String
677
- */
678
- "animationEnd"?: string;
679
- /**
680
- * The starting animation class in case you want to control content styling.
681
- * @type String
682
- */
683
- "animationStart"?: string;
684
- /**
685
- * The amount of time in milliseconds to run the closing animation, before the class is removed
686
- * @type Number
687
- */
688
- "animationTime"?: number;
689
- /**
690
- * @type Boolean
691
- * @responsive
692
- */
693
- "open"?: ResponsiveBoolean;
694
- /**
695
- * The class to be applied to the trigger button element.
696
- * @type String
697
- */
698
- "triggerClass"?: string;
699
- }
700
- interface ContentButton {
701
- /**
702
- * The classes for the button.
703
- * @type String
704
- * @responsive
705
- */
706
- "classes"?: string;
707
- /**
708
- * @type Boolean
709
- */
710
- "clickableBlock"?: boolean;
711
- /**
712
- * /** Aria-controls value
713
- * @type Target
714
- */
715
- "controls"?: string;
716
- /**
717
- * @type Boolean
718
- */
719
- "expanded"?: string;
720
- /**
721
- * @type URL
722
- */
723
- "href"?: string;
724
- /**
725
- * @type String
726
- * @responsive
727
- */
728
- "linkClass"?: ResponsiveString;
729
- /**
730
- * @type String
731
- * @responsive
732
- */
733
- "linkLabel"?: ResponsiveString;
734
- /**
735
- * @type String
736
- */
737
- "target"?: string;
738
- }
739
- interface ContentCarousel {
740
- /**
741
- * @type Select
742
- * @options load
743
- * @options init
744
- */
745
- "initMethod"?: InitMethodType;
746
- /**
747
- * @type JSON
748
- * @schema Swiper Options
749
- */
750
- "swiperOptions"?: string;
751
- }
752
- interface ContentGridFormatter {
753
- /**
754
- * @type String
755
- * @responsive
756
- */
757
- "classes"?: ResponsiveString;
758
- /**
759
- * @type Number
760
- * @responsive
761
- */
762
- "columnGap"?: ResponsiveNumber;
763
- /**
764
- * @type Number
765
- * @responsive
766
- */
767
- "columns"?: ResponsiveNumber;
768
- /**
769
- * 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.
770
- * @type Boolean
771
- * @responsive
772
- */
773
- "flexGrow"?: ResponsiveBoolean;
774
- /**
775
- * 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.
776
- * @type Boolean
777
- * @responsive
778
- */
779
- "flexShrink"?: ResponsiveBoolean;
780
- /**
781
- * Horizontal axis alignment
782
- * @type Select
783
- * @options flex-start
784
- * @options space-between
785
- * @options center
786
- * @options space-evenly
787
- * @responsive
788
- */
789
- "horizontal"?: FLEX_JUSTIFY_OPTIONS;
790
- /**
791
- * @type Number
792
- * @responsive
793
- */
794
- "rowGap"?: ResponsiveNumber;
795
- /**
796
- * Flex or grid
797
- * @type Select
798
- * @options none
799
- * @options flex
800
- * @options grid
801
- * @responsive
802
- */
803
- "type"?: GRID_TYPES | ResponsiveString;
804
- /**
805
- * Vertical axis alignment
806
- * @type Select
807
- * @options flex-start
808
- * @options space-between
809
- * @options center
810
- * @options space-evenly
811
- * @responsive
812
- */
813
- "vertical"?: FLEX_JUSTIFY_OPTIONS;
814
- }
815
- interface ContentHeroBlock {
816
- /**
817
- * @type String
818
- * @responsive
819
- */
820
- "classes"?: ResponsiveString;
821
- /**
822
- * Pipe separated HeroContentPlacementOptions that will determine whether the content sits below the media slot or overlapped above.
823
- * @type Select
824
- * @options below
825
- * @options above
826
- * @responsive
827
- */
828
- "contentPosition"?: ResponsiveString | HeroContentPlacementOptions;
829
- }
830
- interface ContentImage {
831
- /**
832
- * @type String
833
- * @responsive
834
- */
835
- "alt"?: ResponsiveString;
836
- /**
837
- * @type String
838
- * @responsive
839
- */
840
- "aspectRatio"?: ResponsiveString;
841
- /**
842
- * @type String
843
- * @responsive
844
- */
845
- "classes"?: ResponsiveString;
846
- /**
847
- * @type Number
848
- * @responsive
849
- */
850
- "height"?: ResponsiveNumber;
851
- /**
852
- * @type Boolean
853
- */
854
- "lazyLoad"?: boolean;
855
- /**
856
- * If true, the content in the mediaContent slot will be visible.
857
- * @type Boolean
858
- * @responsive
859
- */
860
- "showContent"?: ResponsiveBoolean;
861
- /**
862
- * @type Media
863
- * @responsive
864
- */
865
- "src": ResponsiveString;
866
- /**
867
- * @type Select
868
- * @options image
869
- * @options video
870
- */
871
- "type"?: 'image' | 'video';
872
- /**
873
- * @type Select
874
- * @options video/mp4
875
- */
876
- "videoType"?: string;
877
- /**
878
- * @type Number
879
- * @responsive
880
- */
881
- "width"?: ResponsiveNumber;
882
- }
883
- interface ContentLine {
884
- /**
885
- * The font class for the line.
886
- * @type String
887
- * @responsive
888
- */
889
- "classes"?: any;
890
- /**
891
- * 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.
892
- * @type String
893
- * @responsive
894
- */
895
- "maxWidth"?: ResponsiveNumber;
896
- /**
897
- * The element tag to use.
898
- * @type Select
899
- * @options div
900
- * @options p
901
- * @options h1
902
- * @options h2
903
- * @options h3
904
- * @options h4
905
- * @options h5
906
- * @options h6
907
- * @options span
908
- * @options section
909
- * @options article
910
- */
911
- "tag"?: ContentLineTagOptions;
912
- /**
913
- * Pipe separated list of ContentLineTextAlignOptions for text alignment.
914
- * @type Select
915
- * @options default
916
- * @options left
917
- * @options center
918
- * @options right
919
- * @responsive
920
- */
921
- "textAlign"?: ContentLineTextAlignOptions;
922
- }
923
- interface ContentNavigationBlock {
924
- /**
925
- * @type String
926
- * @responsive
927
- */
928
- "classes"?: ResponsiveString;
929
- /**
930
- * @type Select
931
- * @responsive
932
- * @options fixed
933
- * @options absolute
934
- * @options sticky
935
- * @options static
936
- * @options none
937
- */
938
- "hamburger"?: ResponsiveString;
939
- }
940
- interface ContentOverlay {
941
- /**
942
- * @type String
943
- * @responsive
944
- */
945
- "classes"?: ResponsiveString;
946
- /**
947
- * Title attribute value for the close button.
948
- * @type String
949
- */
950
- "closeTitle"?: string;
951
- /**
952
- * @type Boolean
953
- * @responsive
954
- */
955
- "fullScreen"?: ResponsiveBoolean;
956
- /**
957
- * A pipe delimited setting for horizontal alignment. This only applies when fullscreen mode is activated.
958
- * @type Select
959
- * @options default
960
- * @options left
961
- * @options center
962
- * @options right
963
- * @responsive
964
- */
965
- "horizontal"?: ContentLineTextAlignOptions1;
966
- "onContentOverlayActivated"?: (event: ContentOverlayCustomEvent<HTMLElement>) => void;
967
- /**
968
- * @type Boolean
969
- * @responsive
970
- */
971
- "open"?: ResponsiveBoolean;
972
- /**
973
- * Position of the overlay.
974
- * @type Select
975
- * @options absolute
976
- * @options fixed
977
- * @options static
978
- * @options sticky
979
- */
980
- "position"?: ResponsiveString;
981
- /**
982
- * @type String
983
- * @responsive
984
- */
985
- "target"?: string;
986
- /**
987
- * A pipe delimited setting for vertical alignment. This only applies when fullscreen mode is activated.
988
- * @type Select
989
- * @options top
990
- * @options center
991
- * @options bottom
992
- */
993
- "vertical"?: ContentVerticalAlignments;
994
- }
995
- interface ContentSpacer {
996
- /**
997
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
998
- * @type Number
999
- * @string
1000
- * @responsive
1001
- */
1002
- "bottomOffset"?: ResponsiveNumber;
1003
- /**
1004
- * @type String
1005
- * @responsive
1006
- */
1007
- "classes"?: ResponsiveString;
1008
- /**
1009
- * 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.
1010
- * @type Boolean
1011
- * @responsive
1012
- */
1013
- "fullHeight"?: ResponsiveBoolean;
1014
- /**
1015
- * Pipe separated list of ContentLineTextAlignOptions for where to place text box when a max width is specified.
1016
- * @type Select
1017
- * @options default
1018
- * @options left
1019
- * @options center
1020
- * @options right
1021
- * @responsive
1022
- */
1023
- "horizontal"?: ContentLineTextAlignOptions1;
1024
- /**
1025
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
1026
- * @type Number
1027
- * @string
1028
- * @responsive
1029
- */
1030
- "leftOffset"?: ResponsiveNumber;
1031
- /**
1032
- * Pipe separated list of max width numbers. You can also use units such as "px" and "vw".
1033
- * @type String
1034
- * @responsive
1035
- */
1036
- "maxWidth"?: ResponsiveNumber;
1037
- /**
1038
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
1039
- * @type Number
1040
- * @string
1041
- * @responsive
1042
- */
1043
- "rightOffset"?: ResponsiveNumber;
1044
- /**
1045
- * Pipe separated list of ContentLineTextAlignOptions for text alignment.
1046
- * @type Select
1047
- * @options default
1048
- * @options left
1049
- * @options center
1050
- * @options right
1051
- * @responsive
1052
- */
1053
- "textAlign"?: ContentLineTextAlignOptions1;
1054
- /**
1055
- * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.
1056
- * @type Number
1057
- * @string
1058
- * @responsive
1059
- */
1060
- "topOffset"?: ResponsiveNumber;
1061
- /**
1062
- * Pipe separated list of ContentVerticalAlignments for text box placement.
1063
- * @type Select
1064
- * @options top
1065
- * @options center
1066
- * @options bottom
1067
- * @options default
1068
- * @responsive
1069
- */
1070
- "vertical"?: ResponsiveString | ContentVerticalAlignments;
1071
- }
1072
- interface ContentSplitBlock {
1073
- /**
1074
- * @type String
1075
- * @responsive
1076
- */
1077
- "classes"?: ResponsiveString;
1078
- /**
1079
- * @type Number
1080
- * @responsive
1081
- */
1082
- "columns"?: string;
1083
- /**
1084
- * @type Boolean
1085
- * @responsive
1086
- */
1087
- "reverse"?: ResponsiveBoolean | boolean;
1088
- }
1089
- interface ContentTabs {
1090
- /**
1091
- * @type String
1092
- * @responsive
1093
- */
1094
- "classes"?: ResponsiveString;
1095
- }
1096
- interface ContentTextBlock {
1097
- /**
1098
- * This is a pipe separated string representing the style class.
1099
- * @type String
1100
- * @responsive
1101
- */
1102
- "classes"?: ResponsiveString;
1103
- /**
1104
- * @type Boolean
1105
- * @responsive
1106
- */
1107
- "fullHeight"?: ResponsiveString;
1108
- /**
1109
- * This is a pipe separated string representing the minimum height. Units without values default to pixels.
1110
- * @type String
1111
- * @responsive
1112
- */
1113
- "minHeight"?: ResponsiveString;
1114
- /**
1115
- * Pipe separated list of ContentLineTextAlignOptions for text alignment.
1116
- * @type Select
1117
- * @options default
1118
- * @options left
1119
- * @options center
1120
- * @options right
1121
- * @responsive
1122
- */
1123
- "textAlign"?: ContentLineTextAlignOptions1;
1124
- /**
1125
- * Pipe separated list of ContentVerticalAlignments for text box placement.
1126
- * @type Select
1127
- * @options top
1128
- * @options center
1129
- * @options bottom
1130
- * @responsive
1131
- */
1132
- "vertical"?: ContentVerticalAlignments;
1133
- }
1134
- interface ContentToutBlock {
1135
- /**
1136
- * @type String
1137
- * @responsive
1138
- */
1139
- "classes"?: ResponsiveString;
1140
- /**
1141
- * If true, the media content will show only on hover
1142
- * @type Boolean
1143
- * @responsive
1144
- */
1145
- "hover"?: ResponsiveBoolean;
1146
- }
1147
- interface ContentVideo {
1148
- /**
1149
- * If you're using this inside a content-overlay for example, you may want the video to play immediately on launch.
1150
- * @type Boolean
1151
- */
1152
- "autoplay"?: boolean;
1153
- /**
1154
- * @type String
1155
- * @responsive
1156
- */
1157
- "classes"?: ResponsiveString;
1158
- /**
1159
- * @type Boolean
1160
- */
1161
- "controls"?: boolean;
1162
- /**
1163
- * 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.
1164
- * @responsive
1165
- * @type String
1166
- */
1167
- "fitContainer"?: ResponsiveString;
1168
- /**
1169
- * @type Number
1170
- */
1171
- "height"?: number;
1172
- /**
1173
- * @type Select
1174
- * @options youtube
1175
- * @options html5
1176
- */
1177
- "method"?: SupportedVideoMethods;
1178
- /**
1179
- * @type String
1180
- */
1181
- "playButtonAriaLabel"?: string;
1182
- /**
1183
- * @type String
1184
- */
1185
- "preload"?: string;
1186
- /**
1187
- * Supports YouTube and self hosted URLs.
1188
- * @type String
1189
- */
1190
- "src"?: string;
1191
- /**
1192
- * @type String
1193
- */
1194
- "type"?: string;
1195
- /**
1196
- * @type Number
1197
- */
1198
- "width"?: number;
1199
- }
1200
- interface IntrinsicElements {
1201
- "content-accordion": ContentAccordion;
1202
- "content-button": ContentButton;
1203
- "content-carousel": ContentCarousel;
1204
- "content-grid-formatter": ContentGridFormatter;
1205
- "content-hero-block": ContentHeroBlock;
1206
- "content-image": ContentImage;
1207
- "content-line": ContentLine;
1208
- "content-navigation-block": ContentNavigationBlock;
1209
- "content-overlay": ContentOverlay;
1210
- "content-spacer": ContentSpacer;
1211
- "content-split-block": ContentSplitBlock;
1212
- "content-tabs": ContentTabs;
1213
- "content-text-block": ContentTextBlock;
1214
- "content-tout-block": ContentToutBlock;
1215
- "content-video": ContentVideo;
1216
- }
1217
- }
1218
- export { LocalJSX as JSX };
1219
- declare module "@stencil/core" {
1220
- export namespace JSX {
1221
- interface IntrinsicElements {
1222
- "content-accordion": LocalJSX.ContentAccordion & JSXBase.HTMLAttributes<HTMLContentAccordionElement>;
1223
- "content-button": LocalJSX.ContentButton & JSXBase.HTMLAttributes<HTMLContentButtonElement>;
1224
- "content-carousel": LocalJSX.ContentCarousel & JSXBase.HTMLAttributes<HTMLContentCarouselElement>;
1225
- "content-grid-formatter": LocalJSX.ContentGridFormatter & JSXBase.HTMLAttributes<HTMLContentGridFormatterElement>;
1226
- "content-hero-block": LocalJSX.ContentHeroBlock & JSXBase.HTMLAttributes<HTMLContentHeroBlockElement>;
1227
- "content-image": LocalJSX.ContentImage & JSXBase.HTMLAttributes<HTMLContentImageElement>;
1228
- "content-line": LocalJSX.ContentLine & JSXBase.HTMLAttributes<HTMLContentLineElement>;
1229
- "content-navigation-block": LocalJSX.ContentNavigationBlock & JSXBase.HTMLAttributes<HTMLContentNavigationBlockElement>;
1230
- "content-overlay": LocalJSX.ContentOverlay & JSXBase.HTMLAttributes<HTMLContentOverlayElement>;
1231
- "content-spacer": LocalJSX.ContentSpacer & JSXBase.HTMLAttributes<HTMLContentSpacerElement>;
1232
- "content-split-block": LocalJSX.ContentSplitBlock & JSXBase.HTMLAttributes<HTMLContentSplitBlockElement>;
1233
- "content-tabs": LocalJSX.ContentTabs & JSXBase.HTMLAttributes<HTMLContentTabsElement>;
1234
- "content-text-block": LocalJSX.ContentTextBlock & JSXBase.HTMLAttributes<HTMLContentTextBlockElement>;
1235
- "content-tout-block": LocalJSX.ContentToutBlock & JSXBase.HTMLAttributes<HTMLContentToutBlockElement>;
1236
- "content-video": LocalJSX.ContentVideo & JSXBase.HTMLAttributes<HTMLContentVideoElement>;
1237
- }
1238
- }
1239
- }