@repobit/dex-system-design 3.1.1 → 4.0.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 (1048) hide show
  1. package/CHANGELOG.md +1074 -0
  2. package/README.md +31 -6
  3. package/dist/src/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
  4. package/dist/src/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
  5. package/dist/src/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
  6. package/dist/src/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
  7. package/dist/src/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
  8. package/dist/src/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
  9. package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
  10. package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
  11. package/dist/src/components/abstract/abstract.css.d.ts +7 -0
  12. package/dist/src/components/abstract/abstract.css.js +2 -0
  13. package/dist/src/components/abstract/abstract.css.js.map +1 -0
  14. package/dist/src/components/abstract/abstract.d.ts +31 -0
  15. package/dist/src/components/abstract/abstract.js +2 -0
  16. package/dist/src/components/abstract/abstract.js.map +1 -0
  17. package/dist/src/components/accordion/accordion-item.d.ts +93 -0
  18. package/dist/src/components/accordion/accordion-item.js +25 -0
  19. package/dist/src/components/accordion/accordion-item.js.map +1 -0
  20. package/dist/src/components/accordion/accordion-keyboard.d.ts +5 -5
  21. package/dist/src/components/accordion/accordion-keyboard.js +1 -1
  22. package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
  23. package/dist/src/components/accordion/accordion.css.d.ts +2 -2
  24. package/dist/src/components/accordion/accordion.css.js +1 -1
  25. package/dist/src/components/accordion/accordion.css.js.map +1 -1
  26. package/dist/src/components/accordion/accordion.d.ts +66 -31
  27. package/dist/src/components/accordion/accordion.js +8 -66
  28. package/dist/src/components/accordion/accordion.js.map +1 -1
  29. package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js +2 -0
  30. package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js.map +1 -0
  31. package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -1
  32. package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
  33. package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +38 -21
  34. package/dist/src/components/agent-endpoints/agent-endpoints.js +22 -41
  35. package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
  36. package/dist/src/components/anchor-nav/anchor-nav-item.css.d.ts +1 -0
  37. package/dist/src/components/anchor-nav/anchor-nav-item.css.js +2 -0
  38. package/dist/src/components/anchor-nav/anchor-nav-item.css.js.map +1 -0
  39. package/dist/src/components/anchor-nav/anchor-nav-item.d.ts +38 -0
  40. package/dist/src/components/anchor-nav/anchor-nav-item.js +2 -0
  41. package/dist/src/components/anchor-nav/anchor-nav-item.js.map +1 -0
  42. package/dist/src/components/anchor-nav/anchor-nav.css.js +2 -0
  43. package/dist/src/components/anchor-nav/anchor-nav.css.js.map +1 -0
  44. package/dist/src/components/{anchor → anchor-nav}/anchor-nav.d.ts +41 -23
  45. package/dist/src/components/anchor-nav/anchor-nav.js +43 -0
  46. package/dist/src/components/anchor-nav/anchor-nav.js.map +1 -0
  47. package/dist/src/components/annotation/annotation.css.js +1 -1
  48. package/dist/src/components/annotation/annotation.css.js.map +1 -1
  49. package/dist/src/components/annotation/annotation.js +2 -2
  50. package/dist/src/components/annotation/annotation.js.map +1 -1
  51. package/dist/src/components/article/article.css.d.ts +30 -0
  52. package/dist/src/components/article/article.css.js +2 -0
  53. package/dist/src/components/article/article.css.js.map +1 -0
  54. package/dist/src/components/article/article.d.ts +135 -0
  55. package/dist/src/components/article/article.js +39 -0
  56. package/dist/src/components/article/article.js.map +1 -0
  57. package/dist/src/components/audience-card/audience-card.css.js +1 -1
  58. package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
  59. package/dist/src/components/audience-card/audience-card.d.ts +30 -15
  60. package/dist/src/components/audience-card/audience-card.js +9 -11
  61. package/dist/src/components/audience-card/audience-card.js.map +1 -1
  62. package/dist/src/components/authors/authors.css.d.ts +7 -0
  63. package/dist/src/components/authors/authors.css.js +2 -0
  64. package/dist/src/components/authors/authors.css.js.map +1 -0
  65. package/dist/src/components/authors/authors.d.ts +29 -0
  66. package/dist/src/components/authors/authors.js +7 -0
  67. package/dist/src/components/authors/authors.js.map +1 -0
  68. package/dist/src/components/avatar/avatar.js +6 -6
  69. package/dist/src/components/avatar/avatar.js.map +1 -1
  70. package/dist/src/components/awards/award-marks.css.js +2 -0
  71. package/dist/src/components/awards/award-marks.css.js.map +1 -0
  72. package/dist/src/components/awards/award.css.js +2 -0
  73. package/dist/src/components/awards/award.css.js.map +1 -0
  74. package/dist/src/components/awards/award.d.ts +65 -0
  75. package/dist/src/components/awards/award.js +11 -0
  76. package/dist/src/components/awards/award.js.map +1 -0
  77. package/dist/src/components/awards/awards.css.d.ts +2 -1
  78. package/dist/src/components/awards/awards.css.js +1 -1
  79. package/dist/src/components/awards/awards.css.js.map +1 -1
  80. package/dist/src/components/awards/awards.d.ts +123 -71
  81. package/dist/src/components/awards/awards.js +46 -57
  82. package/dist/src/components/awards/awards.js.map +1 -1
  83. package/dist/src/components/awards/scroll-slides.d.ts +9 -8
  84. package/dist/src/components/awards/scroll-slides.js.map +1 -1
  85. package/dist/src/components/back/back.d.ts +12 -7
  86. package/dist/src/components/back/back.js +6 -6
  87. package/dist/src/components/back/back.js.map +1 -1
  88. package/dist/src/components/badge/badge.css.js +1 -1
  89. package/dist/src/components/badge/badge.css.js.map +1 -1
  90. package/dist/src/components/badge/badge.d.ts +11 -11
  91. package/dist/src/components/badge/badge.js +2 -2
  92. package/dist/src/components/badge/badge.js.map +1 -1
  93. package/dist/src/components/bar-chart/bar-chart.css.js +2 -0
  94. package/dist/src/components/bar-chart/bar-chart.css.js.map +1 -0
  95. package/dist/src/components/bar-chart/bar-chart.d.ts +147 -0
  96. package/dist/src/components/bar-chart/bar-chart.js +42 -0
  97. package/dist/src/components/bar-chart/bar-chart.js.map +1 -0
  98. package/dist/src/components/bento-grid/bento-grid.css.js +2 -2
  99. package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
  100. package/dist/src/components/bento-grid/bento-grid.d.ts +21 -9
  101. package/dist/src/components/bento-grid/bento-grid.js +10 -26
  102. package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
  103. package/dist/src/components/bento-grid/bento-item.css.js +1 -1
  104. package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
  105. package/dist/src/components/bento-grid/bento-item.d.ts +34 -13
  106. package/dist/src/components/bento-grid/bento-item.js +9 -26
  107. package/dist/src/components/bento-grid/bento-item.js.map +1 -1
  108. package/dist/src/components/blockquote/blockquote.css.js +1 -1
  109. package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
  110. package/dist/src/components/blockquote/blockquote.d.ts +27 -2
  111. package/dist/src/components/blockquote/blockquote.js +1 -1
  112. package/dist/src/components/blockquote/blockquote.js.map +1 -1
  113. package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -4
  114. package/dist/src/components/breadcrumb/breadcrumb.js +5 -5
  115. package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
  116. package/dist/src/components/button/button.css.js +1 -1
  117. package/dist/src/components/button/button.css.js.map +1 -1
  118. package/dist/src/components/button/button.d.ts +87 -96
  119. package/dist/src/components/button/button.js +20 -33
  120. package/dist/src/components/button/button.js.map +1 -1
  121. package/dist/src/components/{alert/alert.css.d.ts → callout/callout.css.d.ts} +9 -9
  122. package/dist/src/components/callout/callout.css.js +2 -0
  123. package/dist/src/components/callout/callout.css.js.map +1 -0
  124. package/dist/src/components/callout/callout.d.ts +56 -0
  125. package/dist/src/components/callout/callout.js +28 -0
  126. package/dist/src/components/callout/callout.js.map +1 -0
  127. package/dist/src/components/caption/caption.js +2 -2
  128. package/dist/src/components/caption/caption.js.map +1 -1
  129. package/dist/src/components/card/card-grid.css.js +2 -0
  130. package/dist/src/components/card/card-grid.css.js.map +1 -0
  131. package/dist/src/components/card/card-grid.d.ts +63 -0
  132. package/dist/src/components/card/card-grid.js +10 -0
  133. package/dist/src/components/card/card-grid.js.map +1 -0
  134. package/dist/src/components/card/card.css.js +2 -0
  135. package/dist/src/components/card/card.css.js.map +1 -0
  136. package/dist/src/components/card/card.d.ts +86 -0
  137. package/dist/src/components/card/card.js +15 -0
  138. package/dist/src/components/card/card.js.map +1 -0
  139. package/dist/src/components/carousel/carousel.css.js +1 -1
  140. package/dist/src/components/carousel/carousel.css.js.map +1 -1
  141. package/dist/src/components/carousel/carousel.d.ts +64 -37
  142. package/dist/src/components/carousel/carousel.js +24 -32
  143. package/dist/src/components/carousel/carousel.js.map +1 -1
  144. package/dist/src/components/checkbox/checkbox.d.ts +15 -1
  145. package/dist/src/components/checkbox/checkbox.js +6 -5
  146. package/dist/src/components/checkbox/checkbox.js.map +1 -1
  147. package/dist/src/components/code/code.css.d.ts +15 -0
  148. package/dist/src/components/code/code.css.js +1 -1
  149. package/dist/src/components/code/code.css.js.map +1 -1
  150. package/dist/src/components/code/code.d.ts +100 -4
  151. package/dist/src/components/code/code.js +17 -3
  152. package/dist/src/components/code/code.js.map +1 -1
  153. package/dist/src/components/code/prism-page.d.ts +2 -0
  154. package/dist/src/components/code/prism-page.js +2 -0
  155. package/dist/src/components/code/prism-page.js.map +1 -0
  156. package/dist/src/components/code/prism.d.ts +10 -0
  157. package/dist/src/components/code/prism.js +2 -0
  158. package/dist/src/components/code/prism.js.map +1 -0
  159. package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -1
  160. package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
  161. package/dist/src/components/comparison-panel/comparison-panel.d.ts +36 -15
  162. package/dist/src/components/comparison-panel/comparison-panel.js +25 -46
  163. package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
  164. package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +25 -0
  165. package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -1
  166. package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
  167. package/dist/src/components/compatibility-table/compatibility-table.d.ts +66 -42
  168. package/dist/src/components/compatibility-table/compatibility-table.js +5 -64
  169. package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
  170. package/dist/src/components/cta-banner/cta-banner.css.js +1 -1
  171. package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
  172. package/dist/src/components/cta-banner/cta-banner.d.ts +17 -8
  173. package/dist/src/components/cta-banner/cta-banner.js +8 -28
  174. package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
  175. package/dist/src/components/dialog/dialog.css.js +2 -0
  176. package/dist/src/components/dialog/dialog.css.js.map +1 -0
  177. package/dist/src/components/dialog/dialog.d.ts +76 -0
  178. package/dist/src/components/dialog/dialog.js +32 -0
  179. package/dist/src/components/dialog/dialog.js.map +1 -0
  180. package/dist/src/components/display/display.css.js +1 -1
  181. package/dist/src/components/display/display.css.js.map +1 -1
  182. package/dist/src/components/display/display.d.ts +30 -6
  183. package/dist/src/components/display/display.js +7 -5
  184. package/dist/src/components/display/display.js.map +1 -1
  185. package/dist/src/components/divider/divider.css.d.ts +2 -2
  186. package/dist/src/components/divider/divider.css.js +1 -1
  187. package/dist/src/components/divider/divider.css.js.map +1 -1
  188. package/dist/src/components/divider/divider.d.ts +36 -0
  189. package/dist/src/components/divider/divider.js +21 -0
  190. package/dist/src/components/divider/divider.js.map +1 -0
  191. package/dist/src/components/fact/fact.css.d.ts +1 -0
  192. package/dist/src/components/fact/fact.css.js +2 -0
  193. package/dist/src/components/fact/fact.css.js.map +1 -0
  194. package/dist/src/components/fact/fact.d.ts +37 -0
  195. package/dist/src/components/fact/fact.js +2 -0
  196. package/dist/src/components/fact/fact.js.map +1 -0
  197. package/dist/src/components/feature-columns/feature-columns.css.d.ts +2 -0
  198. package/dist/src/components/feature-columns/feature-columns.css.js +2 -0
  199. package/dist/src/components/feature-columns/feature-columns.css.js.map +1 -0
  200. package/dist/src/components/feature-columns/feature-columns.d.ts +61 -0
  201. package/dist/src/components/feature-columns/feature-columns.js +11 -0
  202. package/dist/src/components/feature-columns/feature-columns.js.map +1 -0
  203. package/dist/src/components/features-tab/features-tab.css.js +1 -1
  204. package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
  205. package/dist/src/components/features-tab/features-tab.d.ts +21 -6
  206. package/dist/src/components/features-tab/features-tab.js +9 -21
  207. package/dist/src/components/features-tab/features-tab.js.map +1 -1
  208. package/dist/src/components/fieldset/fieldset.d.ts +16 -1
  209. package/dist/src/components/fieldset/fieldset.js +3 -3
  210. package/dist/src/components/fieldset/fieldset.js.map +1 -1
  211. package/dist/src/components/footer/footer-group.css.js +2 -0
  212. package/dist/src/components/footer/footer-group.css.js.map +1 -0
  213. package/dist/src/components/footer/footer-group.d.ts +28 -0
  214. package/dist/src/components/footer/footer-group.js +5 -0
  215. package/dist/src/components/footer/footer-group.js.map +1 -0
  216. package/dist/src/components/footer/footer-locale.js +1 -1
  217. package/dist/src/components/footer/footer-locale.js.map +1 -1
  218. package/dist/src/components/footer/footer-nav.css.js +2 -0
  219. package/dist/src/components/footer/footer-nav.css.js.map +1 -0
  220. package/dist/src/components/footer/{footer-nav-menu.d.ts → footer-nav.d.ts} +2 -1
  221. package/dist/src/components/footer/footer-nav.js +6 -0
  222. package/dist/src/components/footer/footer-nav.js.map +1 -0
  223. package/dist/src/components/footer/footer.css.js +1 -1
  224. package/dist/src/components/footer/footer.css.js.map +1 -1
  225. package/dist/src/components/footer/footer.d.ts +38 -10
  226. package/dist/src/components/footer/footer.js +71 -93
  227. package/dist/src/components/footer/footer.js.map +1 -1
  228. package/dist/src/components/grid/grid.js +7 -7
  229. package/dist/src/components/h/h.css.js +2 -0
  230. package/dist/src/components/h/h.css.js.map +1 -0
  231. package/dist/src/components/{heading/heading.d.ts → h/h.d.ts} +14 -0
  232. package/dist/src/components/h/h.js +7 -0
  233. package/dist/src/components/h/h.js.map +1 -0
  234. package/dist/src/components/hero/hero.css.js +1 -1
  235. package/dist/src/components/hero/hero.css.js.map +1 -1
  236. package/dist/src/components/hero/hero.d.ts +42 -24
  237. package/dist/src/components/hero/hero.js +15 -19
  238. package/dist/src/components/hero/hero.js.map +1 -1
  239. package/dist/src/components/highlight/highlight.css.js +1 -1
  240. package/dist/src/components/highlight/highlight.css.js.map +1 -1
  241. package/dist/src/components/highlight/highlight.d.ts +21 -12
  242. package/dist/src/components/highlight/highlight.js +1 -4
  243. package/dist/src/components/highlight/highlight.js.map +1 -1
  244. package/dist/src/components/hint/hint.css.d.ts +3 -0
  245. package/dist/src/components/{help-text/help-text.css.js → hint/hint.css.js} +2 -2
  246. package/dist/src/components/hint/hint.css.js.map +1 -0
  247. package/dist/src/components/hint/hint.d.ts +33 -0
  248. package/dist/src/components/hint/hint.js +4 -0
  249. package/dist/src/components/hint/hint.js.map +1 -0
  250. package/dist/src/components/icons/analysis.d.ts +1 -0
  251. package/dist/src/components/icons/analysis.js +6 -0
  252. package/dist/src/components/icons/analysis.js.map +1 -0
  253. package/dist/src/components/icons/arrow-down.d.ts +1 -0
  254. package/dist/src/components/icons/arrow-down.js +6 -0
  255. package/dist/src/components/icons/arrow-down.js.map +1 -0
  256. package/dist/src/components/icons/arrow-right.d.ts +1 -0
  257. package/dist/src/components/icons/arrow-right.js +6 -0
  258. package/dist/src/components/icons/arrow-right.js.map +1 -0
  259. package/dist/src/components/icons/arrow-up.d.ts +1 -0
  260. package/dist/src/components/icons/arrow-up.js +6 -0
  261. package/dist/src/components/icons/arrow-up.js.map +1 -0
  262. package/dist/src/components/icons/arrow.d.ts +1 -0
  263. package/dist/src/components/icons/arrow.js +6 -0
  264. package/dist/src/components/icons/arrow.js.map +1 -0
  265. package/dist/src/components/icons/brand-signature.d.ts +1 -0
  266. package/dist/src/components/icons/brand-signature.js +6 -0
  267. package/dist/src/components/icons/brand-signature.js.map +1 -0
  268. package/dist/src/components/icons/check.d.ts +1 -0
  269. package/dist/src/components/icons/check.js +6 -0
  270. package/dist/src/components/icons/check.js.map +1 -0
  271. package/dist/src/components/icons/circle-info.d.ts +1 -0
  272. package/dist/src/components/icons/circle-info.js +8 -0
  273. package/dist/src/components/icons/circle-info.js.map +1 -0
  274. package/dist/src/components/icons/clipboard.d.ts +1 -0
  275. package/dist/src/components/icons/clipboard.js +7 -0
  276. package/dist/src/components/icons/clipboard.js.map +1 -0
  277. package/dist/src/components/icons/close.d.ts +1 -0
  278. package/dist/src/components/icons/close.js +6 -0
  279. package/dist/src/components/icons/close.js.map +1 -0
  280. package/dist/src/components/icons/enterprise.d.ts +1 -0
  281. package/dist/src/components/icons/enterprise.js +6 -0
  282. package/dist/src/components/icons/enterprise.js.map +1 -0
  283. package/dist/src/components/icons/envelope.d.ts +1 -0
  284. package/dist/src/components/icons/envelope.js +7 -0
  285. package/dist/src/components/icons/envelope.js.map +1 -0
  286. package/dist/src/components/icons/family.d.ts +1 -0
  287. package/dist/src/components/icons/family.js +8 -0
  288. package/dist/src/components/icons/family.js.map +1 -0
  289. package/dist/src/components/icons/globe.d.ts +1 -0
  290. package/dist/src/components/icons/globe.js +6 -0
  291. package/dist/src/components/icons/globe.js.map +1 -0
  292. package/dist/src/components/icons/guide.d.ts +1 -0
  293. package/dist/src/components/icons/guide.js +6 -0
  294. package/dist/src/components/icons/guide.js.map +1 -0
  295. package/dist/src/components/icons/home.d.ts +1 -0
  296. package/dist/src/components/icons/home.js +6 -0
  297. package/dist/src/components/icons/home.js.map +1 -0
  298. package/dist/src/components/icons/icon.d.ts +60 -0
  299. package/dist/src/components/icons/icon.js +2 -0
  300. package/dist/src/components/icons/icon.js.map +1 -0
  301. package/dist/src/components/icons/icons.d.ts +43 -36
  302. package/dist/src/components/icons/icons.js +1 -1
  303. package/dist/src/components/icons/individual.d.ts +1 -0
  304. package/dist/src/components/icons/individual.js +6 -0
  305. package/dist/src/components/icons/individual.js.map +1 -0
  306. package/dist/src/components/icons/laurel.d.ts +1 -0
  307. package/dist/src/components/icons/laurel.js +13 -0
  308. package/dist/src/components/icons/laurel.js.map +1 -0
  309. package/dist/src/components/icons/machine-learning.d.ts +1 -0
  310. package/dist/src/components/icons/machine-learning.js +6 -0
  311. package/dist/src/components/icons/machine-learning.js.map +1 -0
  312. package/dist/src/components/icons/mark.d.ts +66 -0
  313. package/dist/src/components/icons/mark.js +2 -0
  314. package/dist/src/components/icons/mark.js.map +1 -0
  315. package/dist/src/components/icons/marks/ai.d.ts +1 -0
  316. package/dist/src/components/icons/marks/ai.js +6 -0
  317. package/dist/src/components/icons/marks/ai.js.map +1 -0
  318. package/dist/src/components/icons/marks/av-comparatives.d.ts +1 -0
  319. package/dist/src/components/icons/marks/av-comparatives.js +12 -0
  320. package/dist/src/components/icons/marks/av-comparatives.js.map +1 -0
  321. package/dist/src/components/icons/marks/best-brands.d.ts +1 -0
  322. package/dist/src/components/icons/marks/best-brands.js +12 -0
  323. package/dist/src/components/icons/marks/best-brands.js.map +1 -0
  324. package/dist/src/components/icons/marks/pc-mag-2024.d.ts +1 -0
  325. package/dist/src/components/icons/marks/pc-mag-2024.js +11 -0
  326. package/dist/src/components/icons/marks/pc-mag-2024.js.map +1 -0
  327. package/dist/src/components/icons/marks/pc-mag-business.d.ts +1 -0
  328. package/dist/src/components/icons/marks/pc-mag-business.js +11 -0
  329. package/dist/src/components/icons/marks/pc-mag-business.js.map +1 -0
  330. package/dist/src/components/icons/marks/pc-mag-readers.d.ts +1 -0
  331. package/dist/src/components/icons/marks/pc-mag-readers.js +11 -0
  332. package/dist/src/components/icons/marks/pc-mag-readers.js.map +1 -0
  333. package/dist/src/components/icons/marks/pc-mag.d.ts +1 -0
  334. package/dist/src/components/icons/marks/pc-mag.js +11 -0
  335. package/dist/src/components/icons/marks/pc-mag.js.map +1 -0
  336. package/dist/src/components/icons/marks/top-product.d.ts +1 -0
  337. package/dist/src/components/icons/marks/top-product.js +11 -0
  338. package/dist/src/components/icons/marks/top-product.js.map +1 -0
  339. package/dist/src/components/icons/marks.d.ts +29 -28
  340. package/dist/src/components/icons/marks.js +1 -1
  341. package/dist/src/components/icons/minus.d.ts +1 -0
  342. package/dist/src/components/icons/minus.js +6 -0
  343. package/dist/src/components/icons/minus.js.map +1 -0
  344. package/dist/src/components/icons/pause.d.ts +1 -0
  345. package/dist/src/components/icons/pause.js +7 -0
  346. package/dist/src/components/icons/pause.js.map +1 -0
  347. package/dist/src/components/icons/play.d.ts +1 -0
  348. package/dist/src/components/icons/play.js +6 -0
  349. package/dist/src/components/icons/play.js.map +1 -0
  350. package/dist/src/components/icons/plus.d.ts +1 -0
  351. package/dist/src/components/icons/plus.js +6 -0
  352. package/dist/src/components/icons/plus.js.map +1 -0
  353. package/dist/src/components/icons/quote.d.ts +1 -0
  354. package/dist/src/components/icons/quote.js +6 -0
  355. package/dist/src/components/icons/quote.js.map +1 -0
  356. package/dist/src/components/icons/registry.d.ts +122 -0
  357. package/dist/src/components/icons/registry.js +4 -0
  358. package/dist/src/components/icons/registry.js.map +1 -0
  359. package/dist/src/components/icons/small-business.d.ts +1 -0
  360. package/dist/src/components/icons/small-business.js +6 -0
  361. package/dist/src/components/icons/small-business.js.map +1 -0
  362. package/dist/src/components/{image/image.css.js → img/img.css.js} +1 -1
  363. package/dist/src/components/img/img.css.js.map +1 -0
  364. package/dist/src/components/{image/image.d.ts → img/img.d.ts} +2 -2
  365. package/dist/src/components/img/img.js +17 -0
  366. package/dist/src/components/img/img.js.map +1 -0
  367. package/dist/src/components/input/input.css.d.ts +7 -5
  368. package/dist/src/components/input/input.css.js +1 -1
  369. package/dist/src/components/input/input.css.js.map +1 -1
  370. package/dist/src/components/input/input.d.ts +34 -12
  371. package/dist/src/components/input/input.js +30 -29
  372. package/dist/src/components/input/input.js.map +1 -1
  373. package/dist/src/components/install-options/install-option.css.js +2 -0
  374. package/dist/src/components/install-options/install-option.css.js.map +1 -0
  375. package/dist/src/components/install-options/install-option.d.ts +57 -0
  376. package/dist/src/components/install-options/install-option.js +29 -0
  377. package/dist/src/components/install-options/install-option.js.map +1 -0
  378. package/dist/src/components/install-options/install-options.css.js +1 -1
  379. package/dist/src/components/install-options/install-options.css.js.map +1 -1
  380. package/dist/src/components/install-options/install-options.d.ts +42 -31
  381. package/dist/src/components/install-options/install-options.js +42 -85
  382. package/dist/src/components/install-options/install-options.js.map +1 -1
  383. package/dist/src/components/key-takeaways/key-takeaways.css.d.ts +9 -0
  384. package/dist/src/components/key-takeaways/key-takeaways.css.js +2 -0
  385. package/dist/src/components/key-takeaways/key-takeaways.css.js.map +1 -0
  386. package/dist/src/components/key-takeaways/key-takeaways.d.ts +35 -0
  387. package/dist/src/components/key-takeaways/key-takeaways.js +10 -0
  388. package/dist/src/components/key-takeaways/key-takeaways.js.map +1 -0
  389. package/dist/src/components/label/label.js +3 -3
  390. package/dist/src/components/label/label.js.map +1 -1
  391. package/dist/src/components/link/link.css.js +1 -1
  392. package/dist/src/components/link/link.css.js.map +1 -1
  393. package/dist/src/components/link/link.d.ts +25 -16
  394. package/dist/src/components/link/link.js +3 -3
  395. package/dist/src/components/link/link.js.map +1 -1
  396. package/dist/src/components/list/list-item/list-item.css.js +1 -1
  397. package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
  398. package/dist/src/components/list/list-item/list-item.d.ts +9 -7
  399. package/dist/src/components/list/list-item/list-item.js +3 -3
  400. package/dist/src/components/list/list-item/list-item.js.map +1 -1
  401. package/dist/src/components/list/list.d.ts +3 -2
  402. package/dist/src/components/list/list.js +2 -2
  403. package/dist/src/components/list/list.js.map +1 -1
  404. package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -1
  405. package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
  406. package/dist/src/components/logo-marquee/logo-marquee.d.ts +2 -2
  407. package/dist/src/components/logo-marquee/logo-marquee.js +6 -8
  408. package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
  409. package/dist/src/components/meta/meta.css.d.ts +8 -0
  410. package/dist/src/components/meta/meta.css.js +2 -0
  411. package/dist/src/components/meta/meta.css.js.map +1 -0
  412. package/dist/src/components/meta/meta.d.ts +37 -0
  413. package/dist/src/components/meta/meta.js +2 -0
  414. package/dist/src/components/meta/meta.js.map +1 -0
  415. package/dist/src/components/motion-art/motion-art.d.ts +39 -2
  416. package/dist/src/components/motion-art/motion-art.js +1 -1
  417. package/dist/src/components/motion-art/motion-art.js.map +1 -1
  418. package/dist/src/components/newsletter-signup/newsletter-signup.css.js +2 -0
  419. package/dist/src/components/newsletter-signup/newsletter-signup.css.js.map +1 -0
  420. package/dist/src/components/newsletter-signup/newsletter-signup.d.ts +97 -0
  421. package/dist/src/components/newsletter-signup/newsletter-signup.js +37 -0
  422. package/dist/src/components/newsletter-signup/newsletter-signup.js.map +1 -0
  423. package/dist/src/components/overview/overview.css.js +1 -1
  424. package/dist/src/components/overview/overview.css.js.map +1 -1
  425. package/dist/src/components/overview/overview.d.ts +23 -12
  426. package/dist/src/components/overview/overview.js +9 -24
  427. package/dist/src/components/overview/overview.js.map +1 -1
  428. package/dist/src/components/p/p.css.js +2 -0
  429. package/dist/src/components/p/p.css.js.map +1 -0
  430. package/dist/src/components/{paragraph/paragraph.d.ts → p/p.d.ts} +3 -5
  431. package/dist/src/components/p/p.js +6 -0
  432. package/dist/src/components/p/p.js.map +1 -0
  433. package/dist/src/components/page-switcher/page-switcher.css.js +1 -1
  434. package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
  435. package/dist/src/components/page-switcher/page-switcher.d.ts +28 -28
  436. package/dist/src/components/page-switcher/page-switcher.js +5 -13
  437. package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
  438. package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -1
  439. package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
  440. package/dist/src/components/pagination-dots/pagination-dots.d.ts +4 -2
  441. package/dist/src/components/pagination-dots/pagination-dots.js +1 -1
  442. package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
  443. package/dist/src/components/partner-banner/partner-banner.css.js +1 -1
  444. package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
  445. package/dist/src/components/partner-banner/partner-banner.d.ts +44 -21
  446. package/dist/src/components/partner-banner/partner-banner.js +11 -11
  447. package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
  448. package/dist/src/components/paste-button/paste-button.css.d.ts +10 -0
  449. package/dist/src/components/paste-button/paste-button.css.js +2 -0
  450. package/dist/src/components/paste-button/paste-button.css.js.map +1 -0
  451. package/dist/src/components/paste-button/paste-button.d.ts +68 -0
  452. package/dist/src/components/paste-button/paste-button.js +17 -0
  453. package/dist/src/components/paste-button/paste-button.js.map +1 -0
  454. package/dist/src/components/picture/picture.js +3 -3
  455. package/dist/src/components/picture/picture.js.map +1 -1
  456. package/dist/src/components/post-card/post-card.css.js +1 -1
  457. package/dist/src/components/post-card/post-card.css.js.map +1 -1
  458. package/dist/src/components/post-card/post-card.d.ts +65 -24
  459. package/dist/src/components/post-card/post-card.js +13 -9
  460. package/dist/src/components/post-card/post-card.js.map +1 -1
  461. package/dist/src/components/pricing-card/pricing-card.css.js +2 -0
  462. package/dist/src/components/pricing-card/pricing-card.css.js.map +1 -0
  463. package/dist/src/components/pricing-card/pricing-card.d.ts +80 -0
  464. package/dist/src/components/pricing-card/pricing-card.js +16 -0
  465. package/dist/src/components/pricing-card/pricing-card.js.map +1 -0
  466. package/dist/src/components/pricing-card/pricing-feature-group.css.js +2 -0
  467. package/dist/src/components/pricing-card/pricing-feature-group.css.js.map +1 -0
  468. package/dist/src/components/pricing-card/pricing-feature-group.d.ts +50 -0
  469. package/dist/src/components/pricing-card/pricing-feature-group.js +7 -0
  470. package/dist/src/components/pricing-card/pricing-feature-group.js.map +1 -0
  471. package/dist/src/components/pricing-card/pricing-feature.css.js +2 -0
  472. package/dist/src/components/pricing-card/pricing-feature.css.js.map +1 -0
  473. package/dist/src/components/pricing-card/pricing-feature.d.ts +64 -0
  474. package/dist/src/components/pricing-card/pricing-feature.js +19 -0
  475. package/dist/src/components/pricing-card/pricing-feature.js.map +1 -0
  476. package/dist/src/components/pricing-card/pricing-group.css.d.ts +3 -0
  477. package/dist/src/components/pricing-card/pricing-group.css.js +2 -0
  478. package/dist/src/components/pricing-card/pricing-group.css.js.map +1 -0
  479. package/dist/src/components/pricing-card/pricing-group.d.ts +48 -0
  480. package/dist/src/components/pricing-card/pricing-group.js +6 -0
  481. package/dist/src/components/pricing-card/pricing-group.js.map +1 -0
  482. package/dist/src/components/pricing-card/pricing-price.css.js +2 -0
  483. package/dist/src/components/pricing-card/pricing-price.css.js.map +1 -0
  484. package/dist/src/components/pricing-card/pricing-price.d.ts +56 -0
  485. package/dist/src/components/pricing-card/pricing-price.js +11 -0
  486. package/dist/src/components/pricing-card/pricing-price.js.map +1 -0
  487. package/dist/src/components/process-steps/process-step.css.js +2 -0
  488. package/dist/src/components/process-steps/process-step.css.js.map +1 -0
  489. package/dist/src/components/process-steps/process-step.d.ts +31 -0
  490. package/dist/src/components/process-steps/process-step.js +6 -0
  491. package/dist/src/components/process-steps/process-step.js.map +1 -0
  492. package/dist/src/components/process-steps/process-steps.css.js +1 -1
  493. package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
  494. package/dist/src/components/process-steps/process-steps.d.ts +36 -19
  495. package/dist/src/components/process-steps/process-steps.js +5 -26
  496. package/dist/src/components/process-steps/process-steps.js.map +1 -1
  497. package/dist/src/components/product-hero/product-hero.css.js +2 -0
  498. package/dist/src/components/product-hero/product-hero.css.js.map +1 -0
  499. package/dist/src/components/product-hero/product-hero.d.ts +71 -0
  500. package/dist/src/components/product-hero/product-hero.js +123 -0
  501. package/dist/src/components/product-hero/product-hero.js.map +1 -0
  502. package/dist/src/components/product-upsell/product-upsell.css.js +2 -0
  503. package/dist/src/components/product-upsell/product-upsell.css.js.map +1 -0
  504. package/dist/src/components/product-upsell/product-upsell.d.ts +49 -0
  505. package/dist/src/components/product-upsell/product-upsell.js +14 -0
  506. package/dist/src/components/product-upsell/product-upsell.js.map +1 -0
  507. package/dist/src/components/progress-bar/progress-bar.css.d.ts +3 -0
  508. package/dist/src/components/progress-bar/progress-bar.css.js +2 -0
  509. package/dist/src/components/progress-bar/progress-bar.css.js.map +1 -0
  510. package/dist/src/components/progress-bar/progress-bar.d.ts +27 -0
  511. package/dist/src/components/progress-bar/progress-bar.js +15 -0
  512. package/dist/src/components/progress-bar/progress-bar.js.map +1 -0
  513. package/dist/src/components/quick-answer/quick-answer.css.js +1 -1
  514. package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
  515. package/dist/src/components/quick-answer/quick-answer.d.ts +25 -12
  516. package/dist/src/components/quick-answer/quick-answer.js +13 -29
  517. package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
  518. package/dist/src/components/radio/radio-group.css.js +1 -1
  519. package/dist/src/components/radio/radio-group.css.js.map +1 -1
  520. package/dist/src/components/radio/radio-group.d.ts +9 -5
  521. package/dist/src/components/radio/radio-group.js +5 -5
  522. package/dist/src/components/radio/radio-group.js.map +1 -1
  523. package/dist/src/components/radio/radio.css.d.ts +2 -1
  524. package/dist/src/components/radio/radio.css.js.map +1 -1
  525. package/dist/src/components/radio/radio.d.ts +8 -2
  526. package/dist/src/components/radio/radio.js +6 -5
  527. package/dist/src/components/radio/radio.js.map +1 -1
  528. package/dist/src/components/related-articles/related-articles.css.js +2 -0
  529. package/dist/src/components/related-articles/related-articles.css.js.map +1 -0
  530. package/dist/src/components/related-articles/related-articles.d.ts +52 -0
  531. package/dist/src/components/related-articles/related-articles.js +9 -0
  532. package/dist/src/components/related-articles/related-articles.js.map +1 -0
  533. package/dist/src/components/report-promo/report-promo.css.js +2 -0
  534. package/dist/src/components/report-promo/report-promo.css.js.map +1 -0
  535. package/dist/src/components/report-promo/report-promo.d.ts +70 -0
  536. package/dist/src/components/report-promo/report-promo.js +19 -0
  537. package/dist/src/components/report-promo/report-promo.js.map +1 -0
  538. package/dist/src/components/review/review-grid.css.js +1 -1
  539. package/dist/src/components/review/review-grid.css.js.map +1 -1
  540. package/dist/src/components/review/review-grid.d.ts +27 -6
  541. package/dist/src/components/review/review-grid.js +7 -7
  542. package/dist/src/components/review/review-grid.js.map +1 -1
  543. package/dist/src/components/review/review.css.js +1 -1
  544. package/dist/src/components/review/review.css.js.map +1 -1
  545. package/dist/src/components/review/review.d.ts +24 -17
  546. package/dist/src/components/review/review.js +7 -11
  547. package/dist/src/components/review/review.js.map +1 -1
  548. package/dist/src/components/section/section.css.js +1 -1
  549. package/dist/src/components/section/section.css.js.map +1 -1
  550. package/dist/src/components/section/section.d.ts +8 -6
  551. package/dist/src/components/section/section.js +1 -1
  552. package/dist/src/components/section/section.js.map +1 -1
  553. package/dist/src/components/section-header/section-header.css.js +1 -1
  554. package/dist/src/components/section-header/section-header.css.js.map +1 -1
  555. package/dist/src/components/section-header/section-header.d.ts +22 -23
  556. package/dist/src/components/section-header/section-header.js +6 -8
  557. package/dist/src/components/section-header/section-header.js.map +1 -1
  558. package/dist/src/components/select/select-option.d.ts +29 -0
  559. package/dist/src/components/select/select-option.js +2 -0
  560. package/dist/src/components/select/select-option.js.map +1 -0
  561. package/dist/src/components/{dropdown/dropdown.css.js → select/select.css.js} +1 -1
  562. package/dist/src/components/select/select.css.js.map +1 -0
  563. package/dist/src/components/select/select.d.ts +78 -0
  564. package/dist/src/components/select/select.js +35 -0
  565. package/dist/src/components/select/select.js.map +1 -0
  566. package/dist/src/components/shared/adopt-styles.d.ts +53 -0
  567. package/dist/src/components/shared/adopt-styles.js +2 -0
  568. package/dist/src/components/shared/adopt-styles.js.map +1 -0
  569. package/dist/src/components/shared/controller.slot.d.ts +65 -0
  570. package/dist/src/components/shared/controller.slot.js +2 -0
  571. package/dist/src/components/shared/controller.slot.js.map +1 -0
  572. package/dist/src/components/shared/events.d.ts +19 -23
  573. package/dist/src/components/shared/fill-width.css.js.map +1 -1
  574. package/dist/src/components/shared/flat-text.d.ts +15 -0
  575. package/dist/src/components/shared/flat-text.js +2 -0
  576. package/dist/src/components/shared/flat-text.js.map +1 -0
  577. package/dist/src/components/shared/form-control.d.ts +27 -3
  578. package/dist/src/components/shared/form-control.js +11 -1
  579. package/dist/src/components/shared/form-control.js.map +1 -1
  580. package/dist/src/components/shared/form-field.css.d.ts +5 -5
  581. package/dist/src/components/shared/form-field.css.js +1 -1
  582. package/dist/src/components/shared/form-field.css.js.map +1 -1
  583. package/dist/src/components/shared/hold.d.ts +14 -0
  584. package/dist/src/components/shared/hold.js +2 -0
  585. package/dist/src/components/shared/hold.js.map +1 -0
  586. package/dist/src/components/shared/prop-vocabulary.d.ts +81 -20
  587. package/dist/src/components/shared/prop-vocabulary.js +1 -1
  588. package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
  589. package/dist/src/components/shared/tablist.d.ts +31 -0
  590. package/dist/src/components/shared/tablist.js +2 -0
  591. package/dist/src/components/shared/tablist.js.map +1 -0
  592. package/dist/src/components/shared/token-scales.d.ts +30 -4
  593. package/dist/src/components/shared/token-scales.js +1 -1
  594. package/dist/src/components/shared/token-scales.js.map +1 -1
  595. package/dist/src/components/spinner/spinner.css.js.map +1 -1
  596. package/dist/src/components/spinner/spinner.js +2 -2
  597. package/dist/src/components/spinner/spinner.js.map +1 -1
  598. package/dist/src/components/spotlight/spotlight.css.js +2 -0
  599. package/dist/src/components/spotlight/spotlight.css.js.map +1 -0
  600. package/dist/src/components/spotlight/spotlight.d.ts +31 -0
  601. package/dist/src/components/spotlight/spotlight.js +18 -0
  602. package/dist/src/components/spotlight/spotlight.js.map +1 -0
  603. package/dist/src/components/stat/stat-highlight.d.ts +1 -1
  604. package/dist/src/components/stat/stat.css.d.ts +1 -1
  605. package/dist/src/components/stat/stat.css.js +1 -1
  606. package/dist/src/components/stat/stat.css.js.map +1 -1
  607. package/dist/src/components/stat/stat.d.ts +41 -1
  608. package/dist/src/components/stat/stat.js +12 -1
  609. package/dist/src/components/stat/stat.js.map +1 -0
  610. package/dist/src/components/switch/switch.css.js +1 -1
  611. package/dist/src/components/switch/switch.css.js.map +1 -1
  612. package/dist/src/components/switch/switch.d.ts +10 -2
  613. package/dist/src/components/switch/switch.js +5 -4
  614. package/dist/src/components/switch/switch.js.map +1 -1
  615. package/dist/src/components/tab-group/tab-group.css.js +2 -0
  616. package/dist/src/components/tab-group/tab-group.css.js.map +1 -0
  617. package/dist/src/components/tab-group/tab-group.d.ts +172 -0
  618. package/dist/src/components/tab-group/tab-group.js +16 -0
  619. package/dist/src/components/tab-group/tab-group.js.map +1 -0
  620. package/dist/src/components/tab-group/tab-panel.d.ts +30 -0
  621. package/dist/src/components/tab-group/tab-panel.js +2 -0
  622. package/dist/src/components/tab-group/tab-panel.js.map +1 -0
  623. package/dist/src/components/tab-group/tab.css.js +2 -0
  624. package/dist/src/components/tab-group/tab.css.js.map +1 -0
  625. package/dist/src/components/tab-group/tab.d.ts +53 -0
  626. package/dist/src/components/tab-group/tab.js +2 -0
  627. package/dist/src/components/tab-group/tab.js.map +1 -0
  628. package/dist/src/components/table-of-contents/reading-line.d.ts +24 -0
  629. package/dist/src/components/table-of-contents/reading-line.js +2 -0
  630. package/dist/src/components/table-of-contents/reading-line.js.map +1 -0
  631. package/dist/src/components/table-of-contents/table-of-contents-item.css.d.ts +7 -0
  632. package/dist/src/components/table-of-contents/table-of-contents-item.css.js +2 -0
  633. package/dist/src/components/table-of-contents/table-of-contents-item.css.js.map +1 -0
  634. package/dist/src/components/table-of-contents/table-of-contents-item.d.ts +40 -0
  635. package/dist/src/components/table-of-contents/table-of-contents-item.js +2 -0
  636. package/dist/src/components/table-of-contents/table-of-contents-item.js.map +1 -0
  637. package/dist/src/components/table-of-contents/table-of-contents.css.d.ts +10 -0
  638. package/dist/src/components/table-of-contents/table-of-contents.css.js +2 -0
  639. package/dist/src/components/table-of-contents/table-of-contents.css.js.map +1 -0
  640. package/dist/src/components/table-of-contents/table-of-contents.d.ts +116 -0
  641. package/dist/src/components/table-of-contents/table-of-contents.js +24 -0
  642. package/dist/src/components/table-of-contents/table-of-contents.js.map +1 -0
  643. package/dist/src/components/tag/tag.css.js +1 -1
  644. package/dist/src/components/tag/tag.css.js.map +1 -1
  645. package/dist/src/components/tag/tag.d.ts +31 -4
  646. package/dist/src/components/tag/tag.js +1 -3
  647. package/dist/src/components/tag/tag.js.map +1 -1
  648. package/dist/src/components/terminal/terminal-cursor.d.ts +2 -3
  649. package/dist/src/components/terminal/terminal-cursor.js +1 -1
  650. package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
  651. package/dist/src/components/terminal/terminal-line.css.d.ts +2 -0
  652. package/dist/src/components/terminal/terminal-line.css.js +2 -0
  653. package/dist/src/components/terminal/terminal-line.css.js.map +1 -0
  654. package/dist/src/components/terminal/terminal-line.d.ts +42 -0
  655. package/dist/src/components/terminal/terminal-line.js +8 -0
  656. package/dist/src/components/terminal/terminal-line.js.map +1 -0
  657. package/dist/src/components/terminal/terminal.css.d.ts +2 -0
  658. package/dist/src/components/terminal/terminal.css.js +2 -0
  659. package/dist/src/components/terminal/terminal.css.js.map +1 -0
  660. package/dist/src/components/terminal/terminal.d.ts +52 -0
  661. package/dist/src/components/terminal/terminal.js +19 -0
  662. package/dist/src/components/terminal/terminal.js.map +1 -0
  663. package/dist/src/components/terminal-hero/terminal-hero.css.d.ts +2 -0
  664. package/dist/src/components/terminal-hero/terminal-hero.css.js +2 -0
  665. package/dist/src/components/terminal-hero/terminal-hero.css.js.map +1 -0
  666. package/dist/src/components/terminal-hero/terminal-hero.d.ts +62 -0
  667. package/dist/src/components/terminal-hero/terminal-hero.js +48 -0
  668. package/dist/src/components/terminal-hero/terminal-hero.js.map +1 -0
  669. package/dist/src/components/terms/terms.css.d.ts +2 -0
  670. package/dist/src/components/terms/terms.css.js +2 -0
  671. package/dist/src/components/terms/terms.css.js.map +1 -0
  672. package/dist/src/components/terms/terms.d.ts +42 -0
  673. package/dist/src/components/terms/terms.js +9 -0
  674. package/dist/src/components/terms/terms.js.map +1 -0
  675. package/dist/src/components/textarea/textarea.css.d.ts +2 -2
  676. package/dist/src/components/textarea/textarea.css.js.map +1 -1
  677. package/dist/src/components/textarea/textarea.d.ts +15 -6
  678. package/dist/src/components/textarea/textarea.js +13 -17
  679. package/dist/src/components/textarea/textarea.js.map +1 -1
  680. package/dist/src/components/tooltip/tooltip.d.ts +25 -4
  681. package/dist/src/components/tooltip/tooltip.js +5 -8
  682. package/dist/src/components/tooltip/tooltip.js.map +1 -1
  683. package/dist/src/components/trust-panel/trust-card.css.d.ts +2 -0
  684. package/dist/src/components/trust-panel/trust-card.css.js +2 -0
  685. package/dist/src/components/trust-panel/trust-card.css.js.map +1 -0
  686. package/dist/src/components/trust-panel/trust-card.d.ts +31 -0
  687. package/dist/src/components/trust-panel/trust-card.js +10 -0
  688. package/dist/src/components/trust-panel/trust-card.js.map +1 -0
  689. package/dist/src/components/trust-panel/trust-panel.css.js +1 -1
  690. package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
  691. package/dist/src/components/trust-panel/trust-panel.d.ts +28 -25
  692. package/dist/src/components/trust-panel/trust-panel.js +10 -57
  693. package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
  694. package/dist/src/components/video/video.js +1 -1
  695. package/dist/src/components/video/video.js.map +1 -1
  696. package/dist/src/components/video-player/video-player.d.ts +25 -3
  697. package/dist/src/components/video-player/video-player.js +7 -7
  698. package/dist/src/components/video-player/video-player.js.map +1 -1
  699. package/dist/src/loader/create-loader.d.ts +13 -2
  700. package/dist/src/loader/create-loader.js +1 -1
  701. package/dist/src/loader/create-loader.js.map +1 -1
  702. package/dist/src/loader/loader.d.ts +7 -4
  703. package/dist/src/loader/loader.js.map +1 -1
  704. package/dist/src/loader/registry.js +1 -1
  705. package/dist/src/loader/registry.js.map +1 -1
  706. package/dist/src/tokens/fonts.css +1 -1
  707. package/dist/src/tokens/layout.css +1 -1
  708. package/dist/src/tokens/scheme-layer.d.ts +55 -0
  709. package/dist/src/tokens/scheme-layer.js +5 -0
  710. package/dist/src/tokens/scheme-layer.js.map +1 -0
  711. package/dist/src/tokens/themes/dark.d.ts +64 -0
  712. package/dist/src/tokens/themes/dark.js +2 -0
  713. package/dist/src/tokens/themes/dark.js.map +1 -0
  714. package/dist/src/tokens/tokens.css +1 -1
  715. package/dist/src/tokens/tokens.d.ts +4 -25
  716. package/dist/src/tokens/tokens.js +1 -1
  717. package/dist/src/tokens/tokens.js.map +1 -1
  718. package/dist/src/vendor/prism/LICENSE +21 -0
  719. package/dist/src/vendor/prism/README.md +65 -0
  720. package/dist/src/vendor/prism/prism.d.ts +7 -0
  721. package/dist/src/vendor/prism/prism.js +13 -0
  722. package/package.json +163 -105
  723. package/schemas/README.md +55 -1
  724. package/schemas/component-manifest.json +4546 -3215
  725. package/schemas/figma-component-map.json +3247 -0
  726. package/schemas/manifest-omissions.json +1 -26
  727. package/schemas/page-schema.json +28 -1
  728. package/dist/src/components/accordion/accordion-bg.css.js +0 -2
  729. package/dist/src/components/accordion/accordion-bg.css.js.map +0 -1
  730. package/dist/src/components/accordion/accordion-bg.d.ts +0 -52
  731. package/dist/src/components/accordion/accordion-bg.js +0 -76
  732. package/dist/src/components/accordion/accordion-bg.js.map +0 -1
  733. package/dist/src/components/alert/alert.css.js +0 -2
  734. package/dist/src/components/alert/alert.css.js.map +0 -1
  735. package/dist/src/components/alert/alert.d.ts +0 -55
  736. package/dist/src/components/alert/alert.js +0 -28
  737. package/dist/src/components/alert/alert.js.map +0 -1
  738. package/dist/src/components/anchor/anchor-nav.css.js +0 -2
  739. package/dist/src/components/anchor/anchor-nav.css.js.map +0 -1
  740. package/dist/src/components/anchor/anchor-nav.js +0 -67
  741. package/dist/src/components/anchor/anchor-nav.js.map +0 -1
  742. package/dist/src/components/awards/awards-flex.css.d.ts +0 -1
  743. package/dist/src/components/awards/awards-flex.css.js +0 -2
  744. package/dist/src/components/awards/awards-flex.css.js.map +0 -1
  745. package/dist/src/components/awards/awards-flex.d.ts +0 -65
  746. package/dist/src/components/awards/awards-flex.js +0 -68
  747. package/dist/src/components/awards/awards-flex.js.map +0 -1
  748. package/dist/src/components/awards/awards-spotlight.css.d.ts +0 -1
  749. package/dist/src/components/awards/awards-spotlight.css.js +0 -2
  750. package/dist/src/components/awards/awards-spotlight.css.js.map +0 -1
  751. package/dist/src/components/awards/awards-spotlight.d.ts +0 -60
  752. package/dist/src/components/awards/awards-spotlight.js +0 -51
  753. package/dist/src/components/awards/awards-spotlight.js.map +0 -1
  754. package/dist/src/components/card-features/card-features.css.js +0 -2
  755. package/dist/src/components/card-features/card-features.css.js.map +0 -1
  756. package/dist/src/components/card-features/card-features.d.ts +0 -43
  757. package/dist/src/components/card-features/card-features.js +0 -37
  758. package/dist/src/components/card-features/card-features.js.map +0 -1
  759. package/dist/src/components/cards/card.css.js +0 -2
  760. package/dist/src/components/cards/card.css.js.map +0 -1
  761. package/dist/src/components/cards/card.d.ts +0 -61
  762. package/dist/src/components/cards/card.js +0 -54
  763. package/dist/src/components/cards/card.js.map +0 -1
  764. package/dist/src/components/compare/compare.css.js +0 -2
  765. package/dist/src/components/compare/compare.css.js.map +0 -1
  766. package/dist/src/components/compare/compare.d.ts +0 -79
  767. package/dist/src/components/compare/compare.js +0 -122
  768. package/dist/src/components/compare/compare.js.map +0 -1
  769. package/dist/src/components/divider/divider-horizontal.d.ts +0 -15
  770. package/dist/src/components/divider/divider-horizontal.js +0 -11
  771. package/dist/src/components/divider/divider-horizontal.js.map +0 -1
  772. package/dist/src/components/divider/divider-vertical.d.ts +0 -16
  773. package/dist/src/components/divider/divider-vertical.js +0 -12
  774. package/dist/src/components/divider/divider-vertical.js.map +0 -1
  775. package/dist/src/components/dropdown/dropdown.css.js.map +0 -1
  776. package/dist/src/components/dropdown/dropdown.d.ts +0 -49
  777. package/dist/src/components/dropdown/dropdown.js +0 -36
  778. package/dist/src/components/dropdown/dropdown.js.map +0 -1
  779. package/dist/src/components/features/features.css.js +0 -2
  780. package/dist/src/components/features/features.css.js.map +0 -1
  781. package/dist/src/components/features/features.d.ts +0 -21
  782. package/dist/src/components/features/features.js +0 -28
  783. package/dist/src/components/features/features.js.map +0 -1
  784. package/dist/src/components/footer/footer-images.d.ts +0 -3
  785. package/dist/src/components/footer/footer-images.js +0 -9
  786. package/dist/src/components/footer/footer-images.js.map +0 -1
  787. package/dist/src/components/footer/footer-links-group.css.js +0 -2
  788. package/dist/src/components/footer/footer-links-group.css.js.map +0 -1
  789. package/dist/src/components/footer/footer-links-group.d.ts +0 -13
  790. package/dist/src/components/footer/footer-links-group.js +0 -5
  791. package/dist/src/components/footer/footer-links-group.js.map +0 -1
  792. package/dist/src/components/footer/footer-lp.d.ts +0 -26
  793. package/dist/src/components/footer/footer-lp.js +0 -45
  794. package/dist/src/components/footer/footer-lp.js.map +0 -1
  795. package/dist/src/components/footer/footer-nav-menu.css.js +0 -2
  796. package/dist/src/components/footer/footer-nav-menu.css.js.map +0 -1
  797. package/dist/src/components/footer/footer-nav-menu.js +0 -6
  798. package/dist/src/components/footer/footer-nav-menu.js.map +0 -1
  799. package/dist/src/components/header/header-code.css.js +0 -2
  800. package/dist/src/components/header/header-code.css.js.map +0 -1
  801. package/dist/src/components/header/header-code.d.ts +0 -50
  802. package/dist/src/components/header/header-code.js +0 -80
  803. package/dist/src/components/header/header-code.js.map +0 -1
  804. package/dist/src/components/header/header.css.js +0 -2
  805. package/dist/src/components/header/header.css.js.map +0 -1
  806. package/dist/src/components/header/header.d.ts +0 -32
  807. package/dist/src/components/header/header.js +0 -165
  808. package/dist/src/components/header/header.js.map +0 -1
  809. package/dist/src/components/heading/heading.css.js +0 -2
  810. package/dist/src/components/heading/heading.css.js.map +0 -1
  811. package/dist/src/components/heading/heading.js +0 -6
  812. package/dist/src/components/heading/heading.js.map +0 -1
  813. package/dist/src/components/help-text/help-text.css.d.ts +0 -3
  814. package/dist/src/components/help-text/help-text.css.js.map +0 -1
  815. package/dist/src/components/help-text/help-text.d.ts +0 -14
  816. package/dist/src/components/help-text/help-text.js +0 -4
  817. package/dist/src/components/help-text/help-text.js.map +0 -1
  818. package/dist/src/components/icons/analysis-icon.d.ts +0 -11
  819. package/dist/src/components/icons/analysis-icon.js +0 -6
  820. package/dist/src/components/icons/analysis-icon.js.map +0 -1
  821. package/dist/src/components/icons/arrow-down-icon.d.ts +0 -11
  822. package/dist/src/components/icons/arrow-down-icon.js +0 -6
  823. package/dist/src/components/icons/arrow-down-icon.js.map +0 -1
  824. package/dist/src/components/icons/arrow-icon.d.ts +0 -37
  825. package/dist/src/components/icons/arrow-icon.js +0 -6
  826. package/dist/src/components/icons/arrow-icon.js.map +0 -1
  827. package/dist/src/components/icons/arrow-right-icon.d.ts +0 -34
  828. package/dist/src/components/icons/arrow-right-icon.js +0 -6
  829. package/dist/src/components/icons/arrow-right-icon.js.map +0 -1
  830. package/dist/src/components/icons/arrow-up-icon.d.ts +0 -24
  831. package/dist/src/components/icons/arrow-up-icon.js +0 -6
  832. package/dist/src/components/icons/arrow-up-icon.js.map +0 -1
  833. package/dist/src/components/icons/av-comparatives-icon.d.ts +0 -13
  834. package/dist/src/components/icons/av-comparatives-icon.js +0 -13
  835. package/dist/src/components/icons/av-comparatives-icon.js.map +0 -1
  836. package/dist/src/components/icons/bd-ai-icon.d.ts +0 -13
  837. package/dist/src/components/icons/bd-ai-icon.js +0 -6
  838. package/dist/src/components/icons/bd-ai-icon.js.map +0 -1
  839. package/dist/src/components/icons/best-brands-icon.d.ts +0 -13
  840. package/dist/src/components/icons/best-brands-icon.js +0 -15
  841. package/dist/src/components/icons/best-brands-icon.js.map +0 -1
  842. package/dist/src/components/icons/brand-signature-icon.d.ts +0 -37
  843. package/dist/src/components/icons/brand-signature-icon.js +0 -6
  844. package/dist/src/components/icons/brand-signature-icon.js.map +0 -1
  845. package/dist/src/components/icons/check-icon.d.ts +0 -22
  846. package/dist/src/components/icons/check-icon.js +0 -6
  847. package/dist/src/components/icons/check-icon.js.map +0 -1
  848. package/dist/src/components/icons/circle-info-icon.d.ts +0 -26
  849. package/dist/src/components/icons/circle-info-icon.js +0 -8
  850. package/dist/src/components/icons/circle-info-icon.js.map +0 -1
  851. package/dist/src/components/icons/close-icon.d.ts +0 -11
  852. package/dist/src/components/icons/close-icon.js +0 -6
  853. package/dist/src/components/icons/close-icon.js.map +0 -1
  854. package/dist/src/components/icons/enterprise-icon.d.ts +0 -11
  855. package/dist/src/components/icons/enterprise-icon.js +0 -6
  856. package/dist/src/components/icons/enterprise-icon.js.map +0 -1
  857. package/dist/src/components/icons/family-icon.d.ts +0 -11
  858. package/dist/src/components/icons/family-icon.js +0 -8
  859. package/dist/src/components/icons/family-icon.js.map +0 -1
  860. package/dist/src/components/icons/globe-icon.d.ts +0 -11
  861. package/dist/src/components/icons/globe-icon.js +0 -6
  862. package/dist/src/components/icons/globe-icon.js.map +0 -1
  863. package/dist/src/components/icons/guide-icon.d.ts +0 -11
  864. package/dist/src/components/icons/guide-icon.js +0 -6
  865. package/dist/src/components/icons/guide-icon.js.map +0 -1
  866. package/dist/src/components/icons/home-icon.d.ts +0 -11
  867. package/dist/src/components/icons/home-icon.js +0 -6
  868. package/dist/src/components/icons/home-icon.js.map +0 -1
  869. package/dist/src/components/icons/icon-element.d.ts +0 -58
  870. package/dist/src/components/icons/icon-element.js +0 -2
  871. package/dist/src/components/icons/icon-element.js.map +0 -1
  872. package/dist/src/components/icons/individual-icon.d.ts +0 -11
  873. package/dist/src/components/icons/individual-icon.js +0 -6
  874. package/dist/src/components/icons/individual-icon.js.map +0 -1
  875. package/dist/src/components/icons/laurel-icon.d.ts +0 -11
  876. package/dist/src/components/icons/laurel-icon.js +0 -14
  877. package/dist/src/components/icons/laurel-icon.js.map +0 -1
  878. package/dist/src/components/icons/machine-learning-icon.d.ts +0 -11
  879. package/dist/src/components/icons/machine-learning-icon.js +0 -6
  880. package/dist/src/components/icons/machine-learning-icon.js.map +0 -1
  881. package/dist/src/components/icons/minus-icon.d.ts +0 -11
  882. package/dist/src/components/icons/minus-icon.js +0 -7
  883. package/dist/src/components/icons/minus-icon.js.map +0 -1
  884. package/dist/src/components/icons/missing-icon.d.ts +0 -41
  885. package/dist/src/components/icons/missing-icon.js +0 -8
  886. package/dist/src/components/icons/missing-icon.js.map +0 -1
  887. package/dist/src/components/icons/pause-icon.d.ts +0 -11
  888. package/dist/src/components/icons/pause-icon.js +0 -7
  889. package/dist/src/components/icons/pause-icon.js.map +0 -1
  890. package/dist/src/components/icons/pc-mag-2024-icon.d.ts +0 -13
  891. package/dist/src/components/icons/pc-mag-2024-icon.js +0 -14
  892. package/dist/src/components/icons/pc-mag-2024-icon.js.map +0 -1
  893. package/dist/src/components/icons/pc-mag-business-icon.d.ts +0 -13
  894. package/dist/src/components/icons/pc-mag-business-icon.js +0 -14
  895. package/dist/src/components/icons/pc-mag-business-icon.js.map +0 -1
  896. package/dist/src/components/icons/pc-mag-icon.d.ts +0 -13
  897. package/dist/src/components/icons/pc-mag-icon.js +0 -14
  898. package/dist/src/components/icons/pc-mag-icon.js.map +0 -1
  899. package/dist/src/components/icons/pc-mag-readers-icon.d.ts +0 -13
  900. package/dist/src/components/icons/pc-mag-readers-icon.js +0 -14
  901. package/dist/src/components/icons/pc-mag-readers-icon.js.map +0 -1
  902. package/dist/src/components/icons/play-icon.d.ts +0 -11
  903. package/dist/src/components/icons/play-icon.js +0 -6
  904. package/dist/src/components/icons/play-icon.js.map +0 -1
  905. package/dist/src/components/icons/plus-icon.d.ts +0 -11
  906. package/dist/src/components/icons/plus-icon.js +0 -6
  907. package/dist/src/components/icons/plus-icon.js.map +0 -1
  908. package/dist/src/components/icons/quote-icon.d.ts +0 -20
  909. package/dist/src/components/icons/quote-icon.js +0 -6
  910. package/dist/src/components/icons/quote-icon.js.map +0 -1
  911. package/dist/src/components/icons/small-business-icon.d.ts +0 -11
  912. package/dist/src/components/icons/small-business-icon.js +0 -6
  913. package/dist/src/components/icons/small-business-icon.js.map +0 -1
  914. package/dist/src/components/icons/top-product-icon.d.ts +0 -13
  915. package/dist/src/components/icons/top-product-icon.js +0 -14
  916. package/dist/src/components/icons/top-product-icon.js.map +0 -1
  917. package/dist/src/components/image/image.css.js.map +0 -1
  918. package/dist/src/components/image/image.js +0 -17
  919. package/dist/src/components/image/image.js.map +0 -1
  920. package/dist/src/components/input/input-clipboard.css.d.ts +0 -9
  921. package/dist/src/components/input/input-clipboard.css.js +0 -2
  922. package/dist/src/components/input/input-clipboard.css.js.map +0 -1
  923. package/dist/src/components/input/input-clipboard.d.ts +0 -52
  924. package/dist/src/components/input/input-clipboard.js +0 -62
  925. package/dist/src/components/input/input-clipboard.js.map +0 -1
  926. package/dist/src/components/light-carousel/light-carousel.css.js +0 -2
  927. package/dist/src/components/light-carousel/light-carousel.css.js.map +0 -1
  928. package/dist/src/components/light-carousel/light-carousel.d.ts +0 -74
  929. package/dist/src/components/light-carousel/light-carousel.js +0 -34
  930. package/dist/src/components/light-carousel/light-carousel.js.map +0 -1
  931. package/dist/src/components/modal/modal.css.js +0 -2
  932. package/dist/src/components/modal/modal.css.js.map +0 -1
  933. package/dist/src/components/modal/modal.d.ts +0 -52
  934. package/dist/src/components/modal/modal.js +0 -17
  935. package/dist/src/components/modal/modal.js.map +0 -1
  936. package/dist/src/components/paragraph/paragraph.css.js +0 -2
  937. package/dist/src/components/paragraph/paragraph.css.js.map +0 -1
  938. package/dist/src/components/paragraph/paragraph.js +0 -6
  939. package/dist/src/components/paragraph/paragraph.js.map +0 -1
  940. package/dist/src/components/pricing-cards/adopt-styles.d.ts +0 -10
  941. package/dist/src/components/pricing-cards/adopt-styles.js +0 -2
  942. package/dist/src/components/pricing-cards/adopt-styles.js.map +0 -1
  943. package/dist/src/components/pricing-cards/new-pricing-card.d.ts +0 -18
  944. package/dist/src/components/pricing-cards/new-pricing-card.js +0 -12
  945. package/dist/src/components/pricing-cards/new-pricing-card.js.map +0 -1
  946. package/dist/src/components/pricing-cards/new-pricing.css.js +0 -2
  947. package/dist/src/components/pricing-cards/new-pricing.css.js.map +0 -1
  948. package/dist/src/components/pricing-cards/pricing-card-actions.css.js +0 -2
  949. package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +0 -1
  950. package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +0 -19
  951. package/dist/src/components/pricing-cards/pricing-card-actions.js +0 -25
  952. package/dist/src/components/pricing-cards/pricing-card-actions.js.map +0 -1
  953. package/dist/src/components/pricing-cards/pricing-card-container.css.js +0 -2
  954. package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +0 -1
  955. package/dist/src/components/pricing-cards/pricing-card-container.d.ts +0 -14
  956. package/dist/src/components/pricing-cards/pricing-card-container.js +0 -6
  957. package/dist/src/components/pricing-cards/pricing-card-container.js.map +0 -1
  958. package/dist/src/components/pricing-cards/pricing-card-header.css.js +0 -2
  959. package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +0 -1
  960. package/dist/src/components/pricing-cards/pricing-card-header.d.ts +0 -22
  961. package/dist/src/components/pricing-cards/pricing-card-header.js +0 -18
  962. package/dist/src/components/pricing-cards/pricing-card-header.js.map +0 -1
  963. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +0 -2
  964. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +0 -1
  965. package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +0 -39
  966. package/dist/src/components/pricing-cards/pricing-card-pricing.js +0 -49
  967. package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +0 -1
  968. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +0 -2
  969. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +0 -1
  970. package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +0 -16
  971. package/dist/src/components/pricing-cards/pricing-card-show-more.js +0 -12
  972. package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +0 -1
  973. package/dist/src/components/pricing-cards/pricing-card.css.js +0 -2
  974. package/dist/src/components/pricing-cards/pricing-card.css.js.map +0 -1
  975. package/dist/src/components/pricing-cards/pricing-card.d.ts +0 -155
  976. package/dist/src/components/pricing-cards/pricing-card.js +0 -258
  977. package/dist/src/components/pricing-cards/pricing-card.js.map +0 -1
  978. package/dist/src/components/pricing-cards/pricing-feature-item.css.js +0 -2
  979. package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +0 -1
  980. package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +0 -13
  981. package/dist/src/components/pricing-cards/pricing-feature-item.js +0 -5
  982. package/dist/src/components/pricing-cards/pricing-feature-item.js.map +0 -1
  983. package/dist/src/components/progress/progress.css.d.ts +0 -3
  984. package/dist/src/components/progress/progress.css.js +0 -2
  985. package/dist/src/components/progress/progress.css.js.map +0 -1
  986. package/dist/src/components/progress/progress.d.ts +0 -19
  987. package/dist/src/components/progress/progress.js +0 -11
  988. package/dist/src/components/progress/progress.js.map +0 -1
  989. package/dist/src/components/radio/toggle-radio.d.ts +0 -28
  990. package/dist/src/components/radio/toggle-radio.js +0 -15
  991. package/dist/src/components/radio/toggle-radio.js.map +0 -1
  992. package/dist/src/components/spotlight-section/spotlight-section.css.js +0 -2
  993. package/dist/src/components/spotlight-section/spotlight-section.css.js.map +0 -1
  994. package/dist/src/components/spotlight-section/spotlight-section.d.ts +0 -22
  995. package/dist/src/components/spotlight-section/spotlight-section.js +0 -46
  996. package/dist/src/components/spotlight-section/spotlight-section.js.map +0 -1
  997. package/dist/src/components/stat/stat-tile.d.ts +0 -24
  998. package/dist/src/components/stat/stat-tile.js +0 -7
  999. package/dist/src/components/stat/stat-tile.js.map +0 -1
  1000. package/dist/src/components/tab-list/tab-list.css.d.ts +0 -16
  1001. package/dist/src/components/tab-list/tab-list.css.js +0 -2
  1002. package/dist/src/components/tab-list/tab-list.css.js.map +0 -1
  1003. package/dist/src/components/tab-list/tab-list.d.ts +0 -99
  1004. package/dist/src/components/tab-list/tab-list.js +0 -25
  1005. package/dist/src/components/tab-list/tab-list.js.map +0 -1
  1006. package/dist/src/components/tabs/tabs.css.js +0 -2
  1007. package/dist/src/components/tabs/tabs.css.js.map +0 -1
  1008. package/dist/src/components/tabs/tabs.d.ts +0 -69
  1009. package/dist/src/components/tabs/tabs.js +0 -29
  1010. package/dist/src/components/tabs/tabs.js.map +0 -1
  1011. package/dist/src/components/terminal/terminal-message.css.js +0 -2
  1012. package/dist/src/components/terminal/terminal-message.css.js.map +0 -1
  1013. package/dist/src/components/terminal/terminal-message.d.ts +0 -44
  1014. package/dist/src/components/terminal/terminal-message.js +0 -68
  1015. package/dist/src/components/terminal/terminal-message.js.map +0 -1
  1016. package/dist/src/components/termsOfUse/terms.css.js +0 -2
  1017. package/dist/src/components/termsOfUse/terms.css.js.map +0 -1
  1018. package/dist/src/components/termsOfUse/terms.d.ts +0 -22
  1019. package/dist/src/components/termsOfUse/terms.js +0 -78
  1020. package/dist/src/components/termsOfUse/terms.js.map +0 -1
  1021. /package/dist/src/components/{accordion/accordion-bg.css.d.ts → agent-endpoints/agent-endpoints-pills.css.d.ts} +0 -0
  1022. /package/dist/src/components/{anchor → anchor-nav}/anchor-nav.css.d.ts +0 -0
  1023. /package/dist/src/components/{card-features/card-features.css.d.ts → awards/award-marks.css.d.ts} +0 -0
  1024. /package/dist/src/components/{cards/card.css.d.ts → awards/award.css.d.ts} +0 -0
  1025. /package/dist/src/components/{compare/compare.css.d.ts → bar-chart/bar-chart.css.d.ts} +0 -0
  1026. /package/dist/src/components/{features/features.css.d.ts → card/card-grid.css.d.ts} +0 -0
  1027. /package/dist/src/components/{footer/footer-links-group.css.d.ts → card/card.css.d.ts} +0 -0
  1028. /package/dist/src/components/{footer/footer-nav-menu.css.d.ts → dialog/dialog.css.d.ts} +0 -0
  1029. /package/dist/src/components/{header/header-code.css.d.ts → footer/footer-group.css.d.ts} +0 -0
  1030. /package/dist/src/components/{header/header.css.d.ts → footer/footer-nav.css.d.ts} +0 -0
  1031. /package/dist/src/components/{heading/heading.css.d.ts → h/h.css.d.ts} +0 -0
  1032. /package/dist/src/components/{image/image.css.d.ts → img/img.css.d.ts} +0 -0
  1033. /package/dist/src/components/{light-carousel/light-carousel.css.d.ts → install-options/install-option.css.d.ts} +0 -0
  1034. /package/dist/src/components/{modal/modal.css.d.ts → newsletter-signup/newsletter-signup.css.d.ts} +0 -0
  1035. /package/dist/src/components/{paragraph/paragraph.css.d.ts → p/p.css.d.ts} +0 -0
  1036. /package/dist/src/components/{pricing-cards → pricing-card}/pricing-card.css.d.ts +0 -0
  1037. /package/dist/src/components/{pricing-cards/new-pricing.css.d.ts → pricing-card/pricing-feature-group.css.d.ts} +0 -0
  1038. /package/dist/src/components/{pricing-cards/pricing-card-actions.css.d.ts → pricing-card/pricing-feature.css.d.ts} +0 -0
  1039. /package/dist/src/components/{pricing-cards/pricing-card-container.css.d.ts → pricing-card/pricing-price.css.d.ts} +0 -0
  1040. /package/dist/src/components/{pricing-cards/pricing-card-header.css.d.ts → process-steps/process-step.css.d.ts} +0 -0
  1041. /package/dist/src/components/{pricing-cards/pricing-card-pricing.css.d.ts → product-hero/product-hero.css.d.ts} +0 -0
  1042. /package/dist/src/components/{pricing-cards/pricing-card-show-more.css.d.ts → product-upsell/product-upsell.css.d.ts} +0 -0
  1043. /package/dist/src/components/{pricing-cards/pricing-feature-item.css.d.ts → related-articles/related-articles.css.d.ts} +0 -0
  1044. /package/dist/src/components/{spotlight-section/spotlight-section.css.d.ts → report-promo/report-promo.css.d.ts} +0 -0
  1045. /package/dist/src/components/{dropdown/dropdown.css.d.ts → select/select.css.d.ts} +0 -0
  1046. /package/dist/src/components/{tabs/tabs.css.d.ts → spotlight/spotlight.css.d.ts} +0 -0
  1047. /package/dist/src/components/{terminal/terminal-message.css.d.ts → tab-group/tab-group.css.d.ts} +0 -0
  1048. /package/dist/src/components/{termsOfUse/terms.css.d.ts → tab-group/tab.css.d.ts} +0 -0
@@ -1,2 +1,2 @@
1
- import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);box-sizing:border-box;background:var(--layout-awards-section-background);padding:var(--spacing-32);display:block}.bd-awards-root{align-items:center;gap:var(--spacing-48);padding-block:var(--spacing-48);box-sizing:border-box;flex-direction:column;max-width:100%;display:flex}.bd-awards-trust-banner{align-items:center;gap:var(--spacing-24);width:100%;max-width:var(--layout-awards-cluster-max-width);text-align:center;box-sizing:border-box;flex-direction:column;margin:0 auto;display:flex}.bd-awards-tagline{color:var(--color-text-brand)}.bd-awards-section-title,.bd-awards-feature-title{margin:var(--spacing-0) var(--spacing-0) var(--spacing-14)}.bd-awards-trust-intro{align-items:center;gap:var(--spacing-16);width:100%;max-width:var(--layout-awards-intro-max-width);box-sizing:border-box;flex-direction:column;display:flex}.bd-awards-laurel-icon{color:var(--color-brand-500);width:var(--spacing-80);height:var(--spacing-80);flex-shrink:0;justify-content:center;align-items:center;display:flex}.bd-awards-trust-intro .bd-awards-subtext{width:100%;max-width:100%;padding:0 var(--spacing-8);box-sizing:border-box}@media (width>=576px){.bd-awards-trust-intro .bd-awards-subtext{padding:0 var(--spacing-16)}}.bd-awards-secret-section .bd-awards-section-title{margin:0 0 var(--spacing-16);display:block}.bd-awards-bar{justify-content:center;align-items:center;gap:var(--spacing-32);box-sizing:border-box;flex-wrap:wrap;width:100%;display:flex}.bd-awards-badge{box-sizing:border-box;padding:var(--spacing-0);background:0 0;justify-content:center;align-items:center;display:flex}.bd-awards-row{display:contents}.bd-awards-row--mobile-only{display:none}.bd-awards-lower{align-items:stretch;gap:var(--spacing-32);width:100%;max-width:940px;padding:0 var(--spacing-24);box-sizing:border-box;flex-direction:column;margin:0 auto;display:flex}.bd-awards-secret-section{text-align:center;padding:0 var(--spacing-16) var(--spacing-16);box-sizing:border-box;width:100%}@media (width>=576px){.bd-awards-secret-section{padding:var(--spacing-8) var(--spacing-20) var(--spacing-16)}}@media (width>=768px){.bd-awards-secret-section{padding:var(--spacing-8) var(--spacing-24) var(--spacing-16)}}.bd-awards-features-grid{gap:var(--spacing-32);box-sizing:border-box;grid-template-columns:1fr;width:100%;margin:0;padding:0;display:grid}@media (width>=768px){.bd-awards-features-grid{gap:var(--spacing-32);grid-template-columns:1fr 1fr}}.bd-awards-feature-card{background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--card-radius);padding:var(--card-padding);gap:var(--spacing-8);box-sizing:border-box;text-align:left;flex-direction:column;height:100%;display:flex}.bd-awards-feature-text{gap:var(--spacing-8);flex-direction:column;align-self:stretch;display:flex}.bd-awards-feature-icon{width:var(--icon-2xl-size);height:var(--icon-2xl-size);flex-shrink:0;justify-content:center;align-items:center;display:flex}.bd-awards-feature-card .bd-awards-feature-title{margin:0;display:block}@media (width<576px){.bd-awards-root{padding-block:var(--spacing-24);gap:var(--spacing-24)}.bd-awards-trust-banner{align-items:stretch;max-width:100%}.bd-awards-trust-intro{gap:var(--spacing-8);max-width:none;padding:0 var(--spacing-24);box-sizing:border-box}.bd-awards-laurel-icon{width:var(--spacing-40);height:var(--spacing-40)}.bd-awards-laurel-icon bd-laurel-icon{height:var(--spacing-40)}.bd-awards-trust-intro .bd-awards-subtext{padding:0}.bd-awards-bar{align-items:center}.bd-awards-row--desktop-only{display:none}.bd-awards-row--mobile-only{justify-content:center;align-items:center;gap:var(--spacing-16);flex-wrap:wrap;width:100%;display:flex}.bd-awards-badge svg{height:var(--spacing-32);width:auto}.bd-awards-lower{gap:var(--spacing-16);padding:0 var(--spacing-8)}.bd-awards-secret-section .bd-awards-section-title{margin-bottom:var(--spacing-8)}.bd-awards-secret-section{padding:0 var(--spacing-24) var(--spacing-16)}.bd-awards-features-grid{gap:var(--spacing-32);padding:0}.bd-awards-tagline{--typography-body-large-fontSize:var(--typography-body-small-fontSize);--typography-body-large-fontWeight:var(--typography-body-small-fontWeight);--typography-body-large-lineHeight:var(--typography-body-small-lineHeight);--typography-body-large-letterSpacing:var(--typography-body-small-letterSpacing)}.bd-awards-headline,.bd-awards-section-title{--typography-heading-h3-fontSize:var(--typography-heading-h4-fontSize);--typography-heading-h3-fontWeight:var(--typography-heading-h4-fontWeight);--typography-heading-h3-lineHeight:var(--typography-heading-h4-lineHeight);--typography-heading-h3-letterSpacing:var(--typography-heading-h4-letterSpacing);--typography-heading-h3-fontFamily:var(--typography-heading-h4-fontFamily)}.bd-awards-subtext,.bd-awards-section-subtext{--typography-body-regular-fontSize:var(--typography-body-small-fontSize);--typography-body-regular-fontWeight:var(--typography-body-small-fontWeight);--typography-body-regular-lineHeight:var(--typography-body-small-lineHeight);--typography-body-regular-letterSpacing:var(--typography-body-small-letterSpacing)}}@media (width<768px){.bd-awards-feature-title{--typography-heading-h4-fontSize:var(--typography-heading-h6-fontSize);--typography-heading-h4-fontWeight:var(--typography-heading-h6-fontWeight);--typography-heading-h4-lineHeight:var(--typography-heading-h6-lineHeight);--typography-heading-h4-letterSpacing:var(--typography-heading-h6-letterSpacing);--typography-heading-h4-fontFamily:var(--typography-heading-h6-fontFamily)}.bd-awards-feature-desc{--typography-body-regular-fontSize:var(--typography-body-small-fontSize);--typography-body-regular-fontWeight:var(--typography-body-small-fontWeight);--typography-body-regular-lineHeight:var(--typography-body-small-lineHeight);--typography-body-regular-letterSpacing:var(--typography-body-small-letterSpacing)}}`;export{t as awardsCSS};
1
+ import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);box-sizing:border-box;display:block}:host([hidden]){display:none}:host([background=tint]){background:var(--status-brand-surface)}.root{box-sizing:border-box}.header{box-sizing:border-box;text-align:center;flex-direction:column;align-items:center;width:100%;display:flex}.icon{color:var(--color-brand-500);justify-content:center;align-items:center;display:flex}.eyebrow{color:var(--color-text-brand);font-family:var(--typography-body-large-fontFamily);font-size:var(--typography-body-large-fontSize);font-weight:var(--typography-body-large-fontWeight);line-height:var(--typography-body-large-lineHeight);letter-spacing:var(--typography-body-large-letterSpacing)}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h3-fontSize);--bd-heading-font-weight:var(--typography-heading-h3-fontWeight);--bd-heading-line-height:var(--typography-heading-h3-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h3-letterSpacing);--bd-heading-font-family:var(--typography-heading-h3-fontFamily)}:host([layout=bar]){padding:var(--spacing-32)}.bar.root{align-items:center;gap:var(--spacing-24);padding-block:var(--spacing-48);flex-direction:column;display:flex}.bar .header{gap:var(--spacing-16);max-width:var(--layout-awards-intro-max-width)}.bar .icon{width:var(--spacing-80);height:var(--spacing-80);flex-shrink:0}.bar .eyebrow{margin-bottom:var(--spacing-16)}.bar .description{box-sizing:border-box;width:100%}::slotted(bd-p[slot=description]){--bd-paragraph-font-size:var(--typography-body-regular-fontSize);--bd-paragraph-font-weight:var(--typography-body-regular-fontWeight);--bd-paragraph-line-height:var(--typography-body-regular-lineHeight);--bd-paragraph-letter-spacing:var(--typography-body-regular-letterSpacing)}.bar .items{justify-content:center;align-items:center;gap:var(--spacing-32);width:100%;max-width:var(--layout-awards-cluster-max-width);flex-wrap:wrap;display:flex}@media (width>=576px){.bar .description{padding-inline:var(--spacing-16)}}@media (width<576px){.bar.root{padding-block:var(--spacing-24)}.bar .header{align-self:stretch;gap:var(--spacing-8);max-width:none;padding-inline:var(--spacing-24)}.bar .icon{width:var(--spacing-40);height:var(--spacing-40)}.bar ::slotted(bd-icon[slot=icon]){--bd-icon-size:var(--spacing-40)}.bar .eyebrow{font-family:var(--typography-body-small-fontFamily);font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing)}.bar ::slotted(bd-h[slot=title]),.bar ::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h4-fontSize);--bd-heading-font-weight:var(--typography-heading-h4-fontWeight);--bd-heading-line-height:var(--typography-heading-h4-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h4-letterSpacing);--bd-heading-font-family:var(--typography-heading-h4-fontFamily)}.bar ::slotted(bd-p[slot=description]){--bd-paragraph-font-size:var(--typography-body-small-fontSize);--bd-paragraph-font-weight:var(--typography-body-small-fontWeight);--bd-paragraph-line-height:var(--typography-body-small-lineHeight);--bd-paragraph-letter-spacing:var(--typography-body-small-letterSpacing)}}.panel.root{align-items:center;gap:var(--spacing-8);padding-block:var(--spacing-32);border-radius:var(--shape-radius-2xl);text-align:center;min-height:var(--bd-awards-min-height,320px);flex-direction:column;display:flex}:host(:not([background=tint])) .panel.root{background:var(--color-surface-default);border:var(--border-width-2) solid var(--color-border-container);padding-block:var(--spacing-64)}.panel .header,.spotlight .header{gap:var(--spacing-8)}.panel .icon,.spotlight .icon{margin-bottom:var(--spacing-8)}.panel .header:has(>.eyebrow:not([hidden]),>.title:not([hidden]),>.description:not([hidden])),.spotlight .header:has(>.eyebrow:not([hidden]),>.title:not([hidden]),>.description:not([hidden])){margin-bottom:var(--spacing-32)}.panel ::slotted(bd-icon[slot=icon]),.spotlight ::slotted(bd-icon[slot=icon]){--bd-icon-size:var(--icon-3xl-size)}.panel .description,.spotlight .description{max-width:640px}.panel ::slotted(bd-p[slot=description]),.spotlight ::slotted(bd-p[slot=description]){--bd-paragraph-font-size:var(--typography-body-large-fontSize);--bd-paragraph-font-weight:var(--typography-body-large-fontWeight);--bd-paragraph-line-height:var(--typography-body-large-lineHeight);--bd-paragraph-letter-spacing:var(--typography-body-large-letterSpacing);--bd-heading-color:var(--color-text-muted);--bd-paragraph-color:var(--color-text-muted)}.compact .items,.grid .items{justify-content:center;align-items:center;gap:var(--spacing-24);flex-wrap:wrap;min-height:64px;display:flex}.quotes .items{justify-content:center;gap:var(--spacing-32);flex-wrap:wrap;width:100%;display:flex}.quotes ::slotted(bd-award){box-sizing:border-box;flex:200px;max-width:220px;min-height:160px}.viewport{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;scroll-behavior:smooth;width:100%;overflow:auto hidden}.viewport::-webkit-scrollbar{display:none}.track{display:flex}.slide{scroll-snap-align:start;scroll-snap-stop:always;box-sizing:border-box;flex:0 0 100%;min-width:0}.quotes .frame{display:contents}.quotes .slide{justify-content:center;gap:var(--spacing-32);display:flex}.quotes bd-pagination-dots{margin-top:var(--spacing-8)}.spotlight .frame{--_inset:var(--spacing-24);align-items:center;gap:var(--spacing-24);padding:var(--_inset);background:var(--color-surface-info);border-radius:var(--shape-radius-3xl);flex-direction:column;display:flex}.spotlight .viewport{width:calc(100% + 2 * var(--_inset));margin-inline:calc(-1 * var(--_inset));mask-image:linear-gradient(to right, transparent, black var(--_inset), black calc(100% - var(--_inset)), transparent)}.spotlight .slide{padding-inline:var(--_inset)}@media (width>=576px){.spotlight .frame{--_inset:var(--spacing-32);gap:var(--spacing-32)}}@media (width>=992px){.spotlight .frame{--_inset:var(--spacing-64);gap:var(--spacing-48)}}@media (prefers-reduced-motion:reduce){.viewport{scroll-behavior:auto}}@media (width<576px){.panel.root,:host(:not([background=tint])) .panel.root{padding-block:var(--spacing-24);min-height:var(--bd-awards-min-height-mobile,280px)}.quotes .items{flex-direction:column;align-items:center}.quotes ::slotted(bd-award){max-width:none}.quotes .items ::slotted(bd-award){flex:none;width:100%;min-height:0}}.root [hidden]{display:none}`;export{t as default};
2
2
  //# sourceMappingURL=awards.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"awards.css.js","names":["awardsCSS"],"sources":["../../../../src/components/awards/awards.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below, readAs } from \"#shared/token-scales.ts\";\n\nexport const awardsCSS = css`\n\n /* :host, not \"bd-awards-section\". This rule was written as a bare type\n selector inside a stylesheet Lit adopts into the shadow root, where it can\n never match the element that owns it -- only :host can. Measured before:\n the rule was present in the shadow sheet and matched 0 elements, and the\n host computed display inline, background transparent, padding 0,\n content-box, and font-family Times. Every declaration was dead.\n .\n THREE OF THE FIVE ARE CARRIED OVER AND TWO ARE NOT, because they are not\n the same kind of change. display, box-sizing and font-family are latent\n defects: a custom element defaults to display inline, so this section's\n host has never been a block box; and its font-family fell through to Times,\n which reaches any text that does not set its own -- today nothing does, so\n it is a trap rather than a visible fault. Turning those three on changes\n nothing a reader sees: the two children measure 409.781 and 520.789 before\n and after, and the host now measures 930.570 -- exactly their sum, which is\n what a block box wrapping its content should be. As an inline box its rect\n was computed from line boxes instead and rounded a pixel lower. The\n screenshots are indistinguishable.\n .\n background and padding were held back one commit and are now carried over\n too, on an explicit call after seeing them rendered. They are the visible\n half: the section gains its blue-50 band and a 32px inset it had never\n rendered, and grows 930px to 995px. The band is what the token\n --layout-awards-section-background was always for -- the blog subsystem\n has been resolving it all along, and only this consumer was spelling it in\n a selector that could not match.\n .\n The band does not arrive alone. It turns every card inside this section\n into a card on a tinted ground, which is the second clause of \"a card's\n ground and its edge\" -- see .bd-awards-feature-card below, which moved with\n it. Measured on the preview before deciding: the feature card's\n surface/container ground read 1.034:1 against the band, and worse than that\n number suggests, because the step is across hues rather than lightness. */\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n box-sizing: border-box;\n background: var(--layout-awards-section-background);\n padding: var(--spacing-32);\n }\n\n .bd-awards-root {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-48);\n padding-block: var(--spacing-48);\n box-sizing: border-box;\n max-width: 100%;\n }\n\n /* Frame 12 — trust cluster 793px, gap 24px intro → badges */\n .bd-awards-trust-banner {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-24);\n width: 100%;\n max-width: var(--layout-awards-cluster-max-width);\n margin: 0 auto;\n text-align: center;\n box-sizing: border-box;\n }\n\n .bd-awards-tagline {\n /* The brand text role, not the brand primitive. This darkens the ink: the\n role is blue-600, so contrast on white goes 4.53:1 -> 6.18:1. It is not a\n like-for-like swap, and it cannot be -- no text role exists at blue-500's\n value. The roles sitting there are surface, border, action, two status\n fills, an accent and the tab indicator, and blue-500 is the step\n CLAUDE.md says is not for text. */\n color: var(--color-text-brand);\n }\n\n .bd-awards-section-title {\n margin: var(--spacing-0) var(--spacing-0) var(--spacing-14);\n }\n\n .bd-awards-feature-title {\n margin: var(--spacing-0) var(--spacing-0) var(--spacing-14);\n }\n\n /* Frame 1 — laurel + copy, gap 16px, max 631px */\n .bd-awards-trust-intro {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-16);\n width: 100%;\n max-width: var(--layout-awards-intro-max-width);\n box-sizing: border-box;\n }\n\n .bd-awards-laurel-icon {\n /* no role: the laurel wreath. ORNAMENT, not a mark and not a glyph in a\n text flow -- the same decision highlight.css.ts records for its deco bar\n and ellipses, and for the same reason: every icon-role candidate in this\n package is an INK role, and ink is the wrong family for an ornament. The\n span wraps an aria-hidden SVG painted with currentColor, so nothing here\n is exposed to assistive technology and the adjacent headline carries the\n meaning.\n .\n --color-blue-500 is the brand blue. It is a primitive because the system\n has no brand ink at that step and deliberately does not want one: every\n blue-500 role is a surface, a border, an action, an indicator or a status\n fill, so adopting one would say this wreath is an action. Naming a new\n role for two sites in one component family would be the mistake the\n \"deliberately not a token\" section exists to prevent.\n .\n Contrast, against the blue-50 this file always intended and now actually\n paints. The :host rule at the top declared\n background: var(--layout-awards-section-background) as a bare type\n selector that could never match, so for the whole life of this rule the\n wreath sat on white; the selector is fixed and the band is on, so the\n ground is blue-50.\n .\n Measured on that ground: 5.72:1 -> 4.20:1. It was 6.18:1 -> 4.53:1 while\n the band was dead. Every one of those clears the 3:1 non-text minimum, and\n a decorative graphic has no minimum at all, so the wreath was safe before\n the band and is safe after it -- which is why this choice did not have to\n wait on that decision. */\n color: var(--color-brand-500);\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--spacing-80);\n height: var(--spacing-80);\n flex-shrink: 0;\n }\n\n\n /* A \".bd-awards-laurel-icon svg\" rule stood here and could never match. The\n span holds <bd-laurel-icon>, whose svg lives in that atom's own shadow\n root, and a descendant selector from this stylesheet does not cross that\n boundary. The atom sizes itself -- see its defaultSize -- so the sizing\n this rule tried to impose was already handled a layer down. */\n\n .bd-awards-trust-intro .bd-awards-subtext {\n width: 100%;\n max-width: 100%;\n padding: 0 var(--spacing-8);\n box-sizing: border-box;\n }\n\n @media (min-width: 576px) {\n .bd-awards-trust-intro .bd-awards-subtext {\n padding: 0 var(--spacing-16);\n }\n }\n\n .bd-awards-secret-section .bd-awards-section-title {\n display: block;\n margin: 0 0 var(--spacing-16);\n }\n\n /* Single badge strip */\n .bd-awards-bar {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-32);\n width: 100%;\n box-sizing: border-box;\n }\n\n .bd-awards-badge {\n display: flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n box-sizing: border-box;\n padding: var(--spacing-0);\n }\n\n /* Desktop: rows are invisible wrappers */\n .bd-awards-row {\n display: contents;\n }\n\n /* Mobile rows hidden on desktop */\n .bd-awards-row--mobile-only {\n display: none;\n }\n\n /* All badges: uniform height, width from each mark's natural aspect ratio.\n The award elements draw at that height intrinsically, so nothing is set\n here — this used to size the local bd-icon wrapper that has been removed. */\n\n /* ── Lower block ── */\n\n .bd-awards-lower {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n gap: var(--spacing-32);\n width: 100%;\n max-width: 940px;\n margin: 0 auto;\n padding: 0 var(--spacing-24);\n box-sizing: border-box;\n }\n\n .bd-awards-secret-section {\n text-align: center;\n padding: 0 var(--spacing-16) var(--spacing-16);\n width: 100%;\n box-sizing: border-box;\n }\n\n @media (min-width: 576px) {\n .bd-awards-secret-section {\n padding: var(--spacing-8) var(--spacing-20) var(--spacing-16);\n }\n }\n\n @media (min-width: 768px) {\n .bd-awards-secret-section {\n padding: var(--spacing-8) var(--spacing-24) var(--spacing-16);\n }\n }\n\n /* ── Feature cards grid ── */\n\n .bd-awards-features-grid {\n display: grid;\n grid-template-columns: 1fr;\n gap: var(--spacing-32);\n width: 100%;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n\n @media (min-width: 768px) {\n .bd-awards-features-grid {\n grid-template-columns: 1fr 1fr;\n gap: var(--spacing-32);\n }\n }\n\n /* ── Feature card ── */\n\n /* A content card by every measure that was compared: the same 32px padding,\n no resting shadow, exactly like the card box and the card-features card.\n The corner was the only thing it did differently, and the card role settled\n that.\n .\n THE GROUND AND THE EDGE MOVED WHEN THE BAND ARRIVED. This card used to sit\n on the page, where surface/container's tonal step is the separation and an\n edge is redundant -- the first clause of the rule. Its section now paints a\n blue-50 band, so it is a card on a tint, and the second clause applies:\n surface/default with a border-width-1 border/container edge, because no\n tonal step is available across a hue change. Measured before the move: the\n container ground read 1.034:1 against the band, which is not a step so much\n as a smudge. The Trust Panel card and the Comparison Panel column already\n draw exactly this, for exactly this reason. */\n .bd-awards-feature-card {\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--card-radius);\n padding: var(--card-padding);\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n }\n\n .bd-awards-feature-text {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n align-self: stretch;\n }\n\n .bd-awards-feature-icon {\n flex-shrink: 0;\n width: var(--icon-2xl-size);\n height: var(--icon-2xl-size);\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n\n .bd-awards-feature-card .bd-awards-feature-title {\n display: block;\n margin: 0;\n }\n\n /* A \".bd-awards-badge img\" rule stood here and could never match: the badge\n renders icon atoms through iconFn(), not an <img>, so there is no image\n element in this shadow root to size. A leftover from before the award\n marks became atoms. */\n\n /* ── Mobile (≤ 599px) ── */\n\n @media ${unsafeCSS(below('sm'))} {\n .bd-awards-root {\n padding-block: var(--spacing-24);\n gap: var(--spacing-24);\n }\n\n .bd-awards-trust-banner {\n align-items: stretch;\n max-width: 100%;\n }\n\n .bd-awards-trust-intro {\n gap: var(--spacing-8);\n max-width: none;\n padding: 0 var(--spacing-24);\n box-sizing: border-box;\n }\n\n .bd-awards-laurel-icon {\n width: var(--spacing-40);\n height: var(--spacing-40);\n }\n\n /* The icon's own default is 80px; the box here is 40. Setting height on the\n element beats its :host rule, and its svg follows at width auto. */\n .bd-awards-laurel-icon bd-laurel-icon {\n height: var(--spacing-40);\n }\n\n .bd-awards-trust-intro .bd-awards-subtext {\n padding: 0;\n }\n\n .bd-awards-bar {\n align-items: center;\n }\n\n /* Hide desktop rows (3+3+1), show mobile rows (3+4) */\n .bd-awards-row--desktop-only {\n display: none;\n }\n\n .bd-awards-row--mobile-only {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-16);\n width: 100%;\n }\n\n /* Mobile badge height — half of desktop. The award elements render into\n light DOM, so their svg is reachable from here; height + width auto\n keeps each mark's aspect ratio. Replaces a rule that sized the local\n bd-icon wrapper. */\n .bd-awards-badge svg {\n height: var(--spacing-32);\n width: auto;\n }\n\n .bd-awards-lower {\n gap: var(--spacing-16);\n padding: 0 var(--spacing-8);\n }\n\n .bd-awards-secret-section .bd-awards-section-title {\n margin-bottom: var(--spacing-8);\n }\n\n .bd-awards-secret-section {\n padding: 0 var(--spacing-24) var(--spacing-16);\n }\n\n .bd-awards-features-grid {\n gap: var(--spacing-32);\n padding: 0;\n }\n\n /* The banner and the secret section a step down the type scale: the\n tagline large to small, the headline and the section title h3 to the\n h4 size, the two paragraphs regular to small. The levels stay h3; see\n readAs() in token-scales.ts. awards.ts used to re-render these with\n other variants and visual levels from a matchMedia listener. */\n .bd-awards-tagline { ${unsafeCSS(readAs('body-large', 'body-small'))} }\n .bd-awards-headline,\n .bd-awards-section-title { ${unsafeCSS(readAs('heading-h3', 'heading-h4'))} }\n .bd-awards-subtext,\n .bd-awards-section-subtext { ${unsafeCSS(readAs('body-regular', 'body-small'))} }\n }\n\n /* The feature cards step down a breakpoint later: the title from the h4\n size to h6 (still bold, which it sets itself), the description regular to\n small. */\n @media ${unsafeCSS(below('md'))} {\n .bd-awards-feature-title { ${unsafeCSS(readAs('heading-h4', 'heading-h6'))} }\n .bd-awards-feature-desc { ${unsafeCSS(readAs('body-regular', 'body-small'))} }\n }\n`;"],"mappings":"A,4DAGA,IAAaA,EAAY,CAAG,uyL"}
1
+ {"version":3,"file":"awards.css.js","names":["awards_css_default"],"sources":["../../../../src/components/awards/awards.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above, below, bodyRole, headingRole, ink } from \"#shared/token-scales.ts\";\n\n/* bd-awards in its five layouts. Each is the look of the 3.x tag it replaces,\n moved with its rules and measured against it:\n\n bar bd-awards-section's trust banner and award bar, as its\n `content=\"summary\"` drew them (awards.css.ts)\n compact,\n grid,\n quotes bd-awards-flex (awards-flex.css.ts)\n spotlight bd-awards-spotlight (awards-spotlight.css.ts)\n\n The header -- the icon, the eyebrow, the title and the description -- is\n one set of boxes for every layout, spaced per layout below. Each award's\n own look is award.css.ts's; this sheet places the awards. */\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n box-sizing: border-box;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n /* The brand wash, behind the whole width: the band runs full-bleed on the\n host and the column sits inside it. bd-awards-section painted the same\n step as --layout-awards-section-background, bd-awards-flex's tint as\n this role. */\n :host([background=\"tint\"]) {\n background: var(--status-brand-surface);\n }\n\n .root {\n box-sizing: border-box;\n }\n\n /* === THE HEADER === */\n\n .header {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n box-sizing: border-box;\n text-align: center;\n }\n\n .icon {\n /* no role: the laurel wreath. ORNAMENT, not a mark and not a glyph in a\n text flow -- the decision highlight.css.ts records for its deco bar and\n ellipses, and for the same reason: every icon-role candidate in this\n package is an INK role, and ink is the wrong family for an ornament.\n The box is a currentColor carrier for the page's aria-hidden bd-icon,\n so nothing here is exposed to assistive technology and the title beside\n it carries the meaning. The brand's step 500 because no role at that\n step means ink: they are surfaces, borders, actions, the indicator, or\n status fills. Measured in 3.x on both grounds: 4.53:1 on white and\n 4.20:1 on the brand-50 band, over the 3:1 non-text minimum, which a\n decoration does not even owe. */\n color: var(--color-brand-500);\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n /* The eyebrow is text, so it takes its role from here: body-large in brand\n ink, the bd-p appearance=\"large\" 3.x drew the section's tagline in. */\n .eyebrow {\n color: var(--color-text-brand);\n font-family: var(--typography-body-large-fontFamily);\n font-size: var(--typography-body-large-fontSize);\n font-weight: var(--typography-body-large-fontWeight);\n line-height: var(--typography-body-large-lineHeight);\n letter-spacing: var(--typography-body-large-letterSpacing);\n }\n\n /* The title: the component-section h3 at every level the page picks. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h3\"))}\n }\n\n /* === BAR ===\n bd-awards-section's trust banner and its award bar. The band's inset is\n the host's 32, the column pads 48 above and below, and the bar sits 24\n under the copy. The copy holds a 631 measure and the bar the 793 the\n seven marks fill at 64 tall with 32 between them. */\n :host([layout=\"bar\"]) {\n padding: var(--spacing-32);\n }\n\n .bar.root {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-24);\n padding-block: var(--spacing-48);\n }\n\n .bar .header {\n gap: var(--spacing-16);\n max-width: var(--layout-awards-intro-max-width);\n }\n\n .bar .icon {\n width: var(--spacing-80);\n height: var(--spacing-80);\n flex-shrink: 0;\n }\n\n /* 16 under the eyebrow, besides the gap: the flow margin of the bd-p 3.x\n drew it in, which a span does not have. */\n .bar .eyebrow {\n margin-bottom: var(--spacing-16);\n }\n\n .bar .description {\n width: 100%;\n box-sizing: border-box;\n }\n\n ::slotted(bd-p[slot=\"description\"]) {\n ${unsafeCSS(bodyRole(\"body-regular\"))}\n }\n\n .bar .items {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-32);\n width: 100%;\n max-width: var(--layout-awards-cluster-max-width);\n }\n\n @media ${unsafeCSS(above(\"sm\"))} {\n .bar .description {\n padding-inline: var(--spacing-16);\n }\n }\n\n /* A step down below sm: the eyebrow and the description to body-small, the\n title to the h4 role, the laurel to 40, and the copy across the column\n with 24 either side. */\n @media ${unsafeCSS(below(\"sm\"))} {\n .bar.root {\n padding-block: var(--spacing-24);\n }\n\n .bar .header {\n align-self: stretch;\n gap: var(--spacing-8);\n max-width: none;\n padding-inline: var(--spacing-24);\n }\n\n .bar .icon {\n width: var(--spacing-40);\n height: var(--spacing-40);\n }\n\n .bar ::slotted(bd-icon[slot=\"icon\"]) {\n --bd-icon-size: var(--spacing-40);\n }\n\n .bar .eyebrow {\n font-family: var(--typography-body-small-fontFamily);\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n }\n\n .bar ::slotted(bd-h[slot=\"title\"]),\n .bar ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h4\"))}\n }\n\n .bar ::slotted(bd-p[slot=\"description\"]) {\n ${unsafeCSS(bodyRole(\"body-small\"))}\n }\n }\n\n /* === COMPACT, GRID, QUOTES ===\n bd-awards-flex's panel: the header and the awards in one centred column\n 8 apart. Without a ground it is a white panel with an edge, 64 above and\n below; on the tint the host carries the wash and the panel pads 32. */\n .panel.root {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-8);\n padding-block: var(--spacing-32);\n border-radius: var(--shape-radius-2xl);\n text-align: center;\n /* no token: the panel's floor, which a page can move; 3.x named it\n after bd-awards-flex */\n min-height: var(--bd-awards-min-height, 320px);\n }\n\n :host(:not([background=\"tint\"])) .panel.root {\n background: var(--color-surface-default);\n /* --border-width-2, a fixed optical weight, and the container edge role:\n measured in 3.x at 1.287:1 on the page, where the blue-50 it replaced\n read 1.080:1 and showed no blue. */\n border: var(--border-width-2) solid var(--color-border-container);\n padding-block: var(--spacing-64);\n }\n\n /* The header of a panel and of a spotlight: the icon 16 over the title\n (its 8 and the gap's), the title 8 over the description, and 40 from\n the copy to the awards (32 and the panel's gap). */\n .panel .header,\n .spotlight .header {\n gap: var(--spacing-8);\n }\n\n .panel .icon,\n .spotlight .icon {\n margin-bottom: var(--spacing-8);\n }\n\n .panel .header:has(> .eyebrow:not([hidden]), > .title:not([hidden]), > .description:not([hidden])),\n .spotlight .header:has(> .eyebrow:not([hidden]), > .title:not([hidden]), > .description:not([hidden])) {\n margin-bottom: var(--spacing-32);\n }\n\n /* The laurel at 64, the icon scale's top step; 3.x drew it size=\"3xl\". */\n .panel ::slotted(bd-icon[slot=\"icon\"]),\n .spotlight ::slotted(bd-icon[slot=\"icon\"]) {\n --bd-icon-size: var(--icon-3xl-size);\n }\n\n /* The description is the lead under the title: body-large in muted ink,\n on a 640 measure. */\n .panel .description,\n .spotlight .description {\n /* no token: the lead's measure, narrower than the page on purpose; the\n dimension scale stops at 64 */\n max-width: 640px;\n }\n\n .panel ::slotted(bd-p[slot=\"description\"]),\n .spotlight ::slotted(bd-p[slot=\"description\"]) {\n ${unsafeCSS(bodyRole(\"body-large\"))}\n ${unsafeCSS(ink(\"muted\"))}\n }\n\n /* The badge row: compact and grid. */\n .compact .items,\n .grid .items {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-24);\n /* no token: the row holds the height of one grid mark while it is empty */\n min-height: 64px;\n }\n\n /* The quotes laid side by side, and each quote card's box. */\n .quotes .items {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: var(--spacing-32);\n width: 100%;\n }\n\n .quotes ::slotted(bd-award) {\n box-sizing: border-box;\n flex: 1 1 200px;\n /* no token: a quote card's measure, three lines of quote */\n max-width: 220px;\n /* no token: the card's floor, so a row of cards stands one height and a\n carousel does not jump from slide to slide */\n min-height: 160px;\n }\n\n /* === THE CAROUSEL: QUOTES AND SPOTLIGHT ===\n A scroller the browser drives: a swipe, a trackpad and a wheel all move\n it, and the snap settles each of them on a whole slide; the dots follow\n (scroll-slides.ts). */\n .viewport {\n width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n scroll-snap-type: x mandatory;\n /* a sideways swipe that reaches either end stops here, rather than\n carrying on into the browser's back and forward gesture */\n overscroll-behavior-x: contain;\n /* No scrollbar: the dots say where the slides are. */\n scrollbar-width: none;\n /* a dot's jump glides; see the reduced-motion block for who it does not */\n scroll-behavior: smooth;\n }\n\n .viewport::-webkit-scrollbar {\n display: none;\n }\n\n .track {\n display: flex;\n }\n\n /* One stop a slide, and a swipe moves one slide however hard it is flung. */\n .slide {\n scroll-snap-align: start;\n scroll-snap-stop: always;\n flex: 0 0 100%;\n box-sizing: border-box;\n min-width: 0;\n }\n\n /* Quotes: the viewport and the dots are the panel's own items, and a slide\n is its cards side by side, 32 apart. */\n .quotes .frame {\n display: contents;\n }\n\n .quotes .slide {\n display: flex;\n justify-content: center;\n gap: var(--spacing-32);\n }\n\n .quotes bd-pagination-dots {\n margin-top: var(--spacing-8);\n }\n\n /* Spotlight: one award a slide, on a card with the dots inside it. Mobile\n first, in the three steps the Figma set draws: 24 inside the card on a\n phone, 32 from sm, 64 from lg. */\n .spotlight .frame {\n /* the card's inside edge, at each step: the padding, and the width of\n the band the slides fade across */\n --_inset: var(--spacing-24);\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-24);\n padding: var(--_inset);\n /* surface/info, the role the design binds: a tint that marks the card\n off from the page without an edge. On it the title is text-brand,\n blue-600 on blue-50 at 5.72:1, and the body text-primary at 16.65:1. */\n background: var(--color-surface-info);\n border-radius: var(--shape-radius-3xl);\n }\n\n /* The window the slides move through runs to the card's own edges, and\n fades out across the padding. A slide at rest starts where the fade\n ends, so it is untouched; a slide on the move dissolves into the card's\n edge instead of being cut on a hard line inside it. */\n .spotlight .viewport {\n width: calc(100% + 2 * var(--_inset));\n margin-inline: calc(-1 * var(--_inset));\n /* no token: a mask is read for its alpha only, so the colour is a\n placeholder for \"opaque\" and carries no ink */\n mask-image: linear-gradient(\n to right,\n transparent,\n black var(--_inset),\n black calc(100% - var(--_inset)),\n transparent\n );\n }\n\n .spotlight .slide {\n padding-inline: var(--_inset);\n }\n\n @media ${unsafeCSS(above(\"sm\"))} {\n .spotlight .frame {\n --_inset: var(--spacing-32);\n gap: var(--spacing-32);\n }\n }\n\n @media ${unsafeCSS(above(\"lg\"))} {\n .spotlight .frame {\n --_inset: var(--spacing-64);\n gap: var(--spacing-48);\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .viewport {\n scroll-behavior: auto;\n }\n }\n\n @media ${unsafeCSS(below(\"sm\"))} {\n .panel.root,\n :host(:not([background=\"tint\"])) .panel.root {\n padding-block: var(--spacing-24);\n /* no token: the panel's floor on a phone; 3.x named it after\n bd-awards-flex too */\n min-height: var(--bd-awards-min-height-mobile, 280px);\n }\n\n /* The static row stacks, and a stacked card is as tall as what it holds\n and as wide as the column. The carousel slide does not stack: below sm\n it holds one card, which keeps its floor so the section does not jump\n from slide to slide. */\n .quotes .items {\n flex-direction: column;\n align-items: center;\n }\n\n .quotes ::slotted(bd-award) {\n max-width: none;\n }\n\n .quotes .items ::slotted(bd-award) {\n flex: none;\n width: 100%;\n min-height: 0;\n }\n }\n\n /* Each part's box is hidden while its slot is empty, and the card while\n there is nothing to slide. Last, so it outweighs every display above. */\n .root [hidden] {\n display: none;\n }\n`;\n"],"mappings":"A,4DAgBA,IAAAA,EAAe,CAAG,m8M"}
@@ -1,79 +1,131 @@
1
- import { LitElement, nothing, type TemplateResult } from "lit";
1
+ import { LitElement, type PropertyValues } from "lit";
2
+ import { ObserverController } from "../shared/controller.observer.js";
3
+ import { SlotController } from "../shared/controller.slot.js";
2
4
  import "../../tokens/tokens.js";
3
- import "../icons/analysis-icon.js";
4
- import "../icons/av-comparatives-icon.js";
5
- import "../icons/best-brands-icon.js";
6
- import "../icons/laurel-icon.js";
7
- import "../icons/machine-learning-icon.js";
8
- import "../icons/pc-mag-2024-icon.js";
9
- import "../icons/pc-mag-business-icon.js";
10
- import "../icons/pc-mag-icon.js";
11
- import "../icons/pc-mag-readers-icon.js";
12
- import "../icons/top-product-icon.js";
13
- import "../heading/heading.js";
14
- import "../paragraph/paragraph.js";
15
- type Content = "full" | "summary";
16
- interface AwardBadge {
17
- label: string;
18
- type: string;
19
- tag: string;
20
- id: string;
21
- }
22
- interface AwardFeature {
23
- tag: string;
24
- title: string;
25
- description: string;
26
- }
27
- export declare class AwardsSection extends LitElement {
5
+ import { type AwardsContext, type AwardsLayout } from "./award.js";
6
+ import "../pagination-dots/pagination-dots.js";
7
+ import "../h/h.js";
8
+ import "../icons/laurel.js";
9
+ import "../icons/marks/av-comparatives.js";
10
+ import "../icons/marks/best-brands.js";
11
+ import "../icons/marks/pc-mag-2024.js";
12
+ import "../icons/marks/pc-mag-business.js";
13
+ import "../icons/marks/pc-mag-readers.js";
14
+ import "../icons/marks/pc-mag.js";
15
+ import "../icons/marks/top-product.js";
16
+ import "../img/img.js";
17
+ import "../p/p.js";
18
+ import { ScrollSlides } from "./scroll-slides.js";
19
+ declare const BACKGROUNDS: readonly ["none", "tint"];
20
+ type Background = typeof BACKGROUNDS[number];
21
+ type Live = "off" | "polite";
22
+ /**
23
+ * Industry awards, in one of five layouts: a bar of marks under a trust
24
+ * banner, a row of marks, a row of quotes, or a carousel of either quotes or
25
+ * spotlighted awards.
26
+ *
27
+ * <bd-awards layout="bar" background="tint" label="Industry awards">
28
+ * <bd-icon slot="icon" name="laurel"></bd-icon>
29
+ * <span slot="eyebrow">You're Making A Great Choice</span>
30
+ * <bd-h slot="title" as="h3">World-class security software you can trust. Always.</bd-h>
31
+ * <bd-p slot="description">We've added 25 new accolades …</bd-p>
32
+ * <bd-award><bd-mark slot="media" name="pc-mag" label="PC Mag Editors' Choice"></bd-mark></bd-award>
33
+ * …
34
+ * </bd-awards>
35
+ *
36
+ * It merges three 3.x tags, which `layout` now names:
37
+ *
38
+ * bar bd-awards-section: the laurel, eyebrow, title and description
39
+ * over a bar of marks drawn 64 tall (32 below sm). Its lower
40
+ * half -- the secret section and the feature cards -- is a
41
+ * heading over a grid, which the page writes after it as a
42
+ * bd-section-header and a bd-card-grid of bd-card
43
+ * appearance="feature" (N10).
44
+ * compact,
45
+ * grid bd-awards-flex's rows of marks, 56 and 64 tall
46
+ * quotes bd-awards-flex's quote cards, side by side, or with
47
+ * `carousel` three a slide (one below sm)
48
+ * spotlight bd-awards-spotlight: one award a slide on an info card, the
49
+ * logo beside its title and paragraph from lg
50
+ *
51
+ * The page writes every part (ADR 0003): the icon (the laurel is a
52
+ * <bd-icon name="laurel"> the page writes; nothing is drawn by default), the
53
+ * eyebrow, the title -- the page picks its level, the awards draw it at the
54
+ * h3 role, h4 below sm in the bar -- the description, and a bd-award per
55
+ * award. Each part's box is hidden while its slot is empty. The awards are
56
+ * routed into the shadow root by hand (slotAssignment: "manual", Baseline
57
+ * Widely available since 2025-09-27, as bd-tab-group's are), because the
58
+ * carousels put them into one slot per slide; the parts are routed by their
59
+ * `slot`, as a named slot would, and a child added, removed or renamed later
60
+ * is routed again.
61
+ *
62
+ * NAMES. A list layout -- bar, compact, grid, quotes side by side -- is a
63
+ * list of its awards, each bd-award a list item through ElementInternals; a
64
+ * carousel is a region with aria-roledescription="carousel", each slide a
65
+ * group with aria-roledescription="slide", named by its awards' titles where
66
+ * they have them. The list, or the region, is named by the slotted title
67
+ * through aria-labelledby on the box around the title slot, or by `label`
68
+ * without one; the dots' group takes the same name, and `item-label` starts
69
+ * each dot's. None of them has a default: 3.x's "Industry awards", "Awards
70
+ * and recognition", "Go to slide", "Go to award" and its slides' "N of M"
71
+ * were English in the component.
72
+ *
73
+ * THE CAROUSEL. One implementation for quotes and spotlight, as 3.x's two
74
+ * tags already shared one (scroll-slides.ts): a scroll-snap scroller the
75
+ * browser drives, and the package's slide dots, which run the autoplay clock.
76
+ * The pointer or focus on the slides holds it, a visitor picking a dot or
77
+ * swiping to another slide stops it for good, and under
78
+ * prefers-reduced-motion it never starts; hold() (shared/hold.ts), from a
79
+ * bd-tab-group's hidden panel, pauses the dots like any `paused` component.
80
+ * The slides that are not showing are inert, and the track is a polite live
81
+ * region while the slides are still and silent while they move on their own.
82
+ */
83
+ export declare class BdAwards extends LitElement {
84
+ static shadowRootOptions: ShadowRootInit;
28
85
  static styles: import("lit").CSSResult[];
29
- /**
30
- * Which content this section renders.
31
- *
32
- * full the trust banner, the award bar, the secret section and the
33
- * feature cards
34
- * summary the trust banner and the award bar only
35
- *
36
- * It answers what is rendered, not what the thing used to be called. This
37
- * was a second element, bd-awards-section-light, until P6E.1B: a fork of
38
- * this component that stopped after the award bar. Its own Storybook page
39
- * described it that way -- "renders only the trust banner and award badges
40
- * -- without the secret section or feature cards" -- so the difference was
41
- * always content scope, and is now said in one word instead of in a second
42
- * custom element.
43
- *
44
- * The 48px of block padding that comes with `summary` is not a separate
45
- * visual treatment and does not get its own axis. Measured on the fork:
46
- * the banner sat 48px from the top and the bar 48px from the bottom,
47
- * because nothing followed the bar to give the section its rhythm. With
48
- * the lower content present that padding would be wrong, which is exactly
49
- * what makes it a consequence of the scope rather than a theme.
50
- */
51
- content: Content;
52
- tagline: string;
53
- headline: string;
54
- subtext: string;
55
- secretTitle: string;
56
- secretSubtext: string;
57
- desktopAwards: AwardBadge[];
58
- features: AwardFeature[];
59
- _renderBadge(award: AwardBadge): TemplateResult<1>;
60
- _renderFeature(f: AwardFeature): TemplateResult<1>;
61
- render(): TemplateResult<1>;
62
- _renderUpper(): TemplateResult<1>;
63
- /**
64
- * The secret section and the feature cards, or nothing at all.
65
- *
66
- * Nothing at all means no element, not an empty one. The fork rendered an
67
- * empty `.bd-awards-lower`, which stayed a flex child of its wrapper and so
68
- * still took the wrapper's 48px gap -- and that is why the fork also carried
69
- * a `gap: 0` override. Omitting the element removes both the phantom gap and
70
- * the reason for the override.
71
- */
72
- _renderLower(): typeof nothing | TemplateResult<1>;
86
+ /** bar, compact (default), grid, quotes or spotlight. Reflected, for the stylesheet. */
87
+ layout: AwardsLayout;
88
+ /** The ground: none, or tint, the brand wash behind the whole width. */
89
+ background: Background;
90
+ /** quotes only: the quote cards as a carousel, three a slide and one below sm. */
91
+ carousel: boolean;
92
+ /** The carousel advances on its own. */
93
+ autoplay: boolean;
94
+ /** Milliseconds a slide shows under autoplay. */
95
+ autoplayDelay: number;
96
+ /** The accessible name of the list, or of the carousel and its dots, while no title is slotted. No default. */
97
+ label: string;
98
+ /** The accessible name each pagination dot starts with, passed to bd-pagination-dots. No default. */
99
+ itemLabel: string;
100
+ _slide: number;
101
+ _narrow: boolean;
102
+ _hovered: boolean;
103
+ _focusWithin: boolean;
104
+ _live: Live;
105
+ _slots: SlotController<"eyebrow" | "title" | "description" | "icon">;
106
+ _slides: ScrollSlides;
107
+ _children: ObserverController<MutationObserver>;
108
+ constructor();
109
+ connectedCallback(): void;
110
+ /** What each bd-award reads from its parent: the layout, and whether it is an item of a list. */
111
+ get _awardContext(): AwardsContext;
112
+ get _isCarousel(): boolean;
113
+ get _perSlide(): 1 | 3;
114
+ _items(): Element[];
115
+ _chunks(items?: Element[]): Element[][];
116
+ _setNarrow(narrow: boolean): void;
117
+ willUpdate(changed: PropertyValues<this>): void;
118
+ updated(changed: PropertyValues<this>): void;
119
+ private _route;
120
+ private _matters;
121
+ private _onMutations;
122
+ _onScrolled(index: number): void;
123
+ _renderCarousel(name: string): import("lit-html").TemplateResult<1>;
124
+ render(): import("lit-html").TemplateResult<1>;
73
125
  }
74
126
  declare global {
75
127
  interface HTMLElementTagNameMap {
76
- "bd-awards-section": AwardsSection;
128
+ "bd-awards": BdAwards;
77
129
  }
78
130
  }
79
131
  export {};
@@ -1,62 +1,51 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../heading/heading.js";import"../paragraph/paragraph.js";import{ensembleCSS as n}from"../shared/ensemble.css.js";import"../icons/av-comparatives-icon.js";import"../icons/best-brands-icon.js";import"../icons/laurel-icon.js";import"../icons/pc-mag-2024-icon.js";import"../icons/pc-mag-business-icon.js";import"../icons/pc-mag-icon.js";import"../icons/pc-mag-readers-icon.js";import"../icons/top-product-icon.js";import{awardsCSS as r}from"./awards.css.js";import"../icons/analysis-icon.js";import"../icons/machine-learning-icon.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c={"bd-pc-mag-icon":()=>a`<bd-pc-mag-icon></bd-pc-mag-icon>`,"bd-av-comparatives-icon":()=>a`<bd-av-comparatives-icon></bd-av-comparatives-icon>`,"bd-best-brands-icon":()=>a`<bd-best-brands-icon></bd-best-brands-icon>`,"bd-pc-mag-2024-icon":()=>a`<bd-pc-mag-2024-icon></bd-pc-mag-2024-icon>`,"bd-pc-mag-readers-icon":()=>a`<bd-pc-mag-readers-icon height="64" width="37"></bd-pc-mag-readers-icon>`,"bd-pc-mag-business-icon":()=>a`<bd-pc-mag-business-icon></bd-pc-mag-business-icon>`,"bd-top-product-icon":()=>a`<bd-top-product-icon></bd-top-product-icon>`,"bd-machine-learning-icon":()=>a`<bd-machine-learning-icon></bd-machine-learning-icon>`,"bd-analysis-icon":()=>a`<bd-analysis-icon></bd-analysis-icon>`},l=class extends i{constructor(...e){super(...e),this.content=`full`,this.tagline=`You're Making A Great Choice`,this.headline=`World-class security software you can trust. Always.`,this.subtext=`We've added 25 new accolades in the past two years to the hundreds we have won since we started in 2001 - so you know you are in good hands.`,this.secretTitle=`What's our secret`,this.secretSubtext=`At the heart of Bitdefender lies a powerhouse of proprietary technology, setting it miles apart from the competition.`,this.desktopAwards=[{label:`PC MAG
2
- EDITORS' CHOICE`,type:`red`,tag:`bd-pc-mag-icon`,id:`pc-mag`},{label:`AV
3
- comparatives`,type:`dark`,tag:`bd-av-comparatives-icon`,id:`av-comparatives`},{label:`Best
4
- Brands
5
- 2024`,type:`dark`,tag:`bd-best-brands-icon`,id:`best-brands`},{label:`PC
6
- Choice
7
- 2024`,type:`red`,tag:`bd-pc-mag-2024-icon`,id:`pc-mag-2024`},{label:`PC MAG
8
- READERS'
9
- CHOICE`,type:`red`,tag:`bd-pc-mag-readers-icon`,id:`pc-mag-readers`},{label:`PC
10
- Business
11
- Choice`,type:`red`,tag:`bd-pc-mag-business-icon`,id:`pc-mag-business`},{label:`AV
12
- TEST
13
- TOP
14
- PRODUCT`,type:`red`,tag:`bd-top-product-icon`,id:`top-product`}],this.features=[{tag:`bd-machine-learning-icon`,title:`Machine Learning`,description:`Imagine Bitdefender as a super-smart detective, constantly learning and getting better at spotting bad guys. Just like how you learn from your experiences, Bitdefender learns from millions of cyber threats it encounters every day. It studies their patterns, figures out their tricks, and uses that knowledge to protect your devices from future attacks.`},{tag:`bd-analysis-icon`,title:`Behavioral Analysis`,description:`Bitdefender keeps an eye on how you and your devices normally behave. So, when something unusual happens, like a strange file trying to sneak into your computer or a suspicious website trying to steal your info, Bitdefender sounds the alarm. It's like having a loyal sidekick that never sleeps, always on the lookout for trouble and ready to jump into action to keep you safe.`}]}static{this.styles=[n,r]}_renderBadge(e){let t=c[e.tag],n=e.label.replace(/\n/g,` `),r=`bd-awards-badge ${e.type===`dark`?`bd-awards-badge--dark`:``}`;return a`
15
- <div class="${r}" data-award-id="${e.id}" role="listitem" aria-label="${n}">
16
- ${t?t():``}
17
- </div>
18
- `}_renderFeature(e){let t=c[e.tag];return a`
19
- <article class="bd-awards-feature-card">
20
- <div class="bd-awards-feature-icon" aria-hidden="true">
21
- ${t?t():``}
22
- </div>
23
- <div class="bd-awards-feature-text">
24
- <bd-h as="h4" fontWeight="bold" class="bd-awards-feature-title">${e.title}</bd-h>
25
- <bd-p variant="regular" class="bd-awards-feature-desc">${e.description}</bd-p>
26
- </div>
27
- </article>
28
- `}render(){return this.content===`summary`?a`<div class="bd-ensemble bd-awards-root">${this._renderUpper()}</div>`:a`${this._renderUpper()}${this._renderLower()}`}_renderUpper(){return a`
29
- <div class="bd-awards-trust-banner">
30
- <div class="bd-awards-trust-intro">
31
- <span class="bd-awards-laurel-icon" aria-hidden="true">
32
- <bd-laurel-icon></bd-laurel-icon>
33
- </span>
34
-
35
- <bd-p variant="large" class="bd-awards-tagline">${this.tagline}</bd-p>
36
- <bd-h as="h3" class="bd-awards-headline">${this.headline}</bd-h>
37
- <bd-p variant="regular" class="bd-awards-subtext">${this.subtext}</bd-p>
38
- </div>
39
-
40
- <div class="bd-awards-bar" role="list" aria-label="Industry awards">
41
- <div class="bd-awards-row" role="presentation">
42
- ${this.desktopAwards.slice(0,3).map(e=>this._renderBadge(e))}
43
- </div>
44
- <div class="bd-awards-row" role="presentation">
45
- ${this.desktopAwards.slice(3).map(e=>this._renderBadge(e))}
1
+ import{below as e}from"../shared/token-scales.js";import{defineElement as t}from"../shared/define-element.js";import"../../tokens/tokens.js";import{isOneOf as n}from"../shared/prop-vocabulary.js";import r from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../p/p.js";import{ObserverController as i}from"../shared/controller.observer.js";import{flatText as a}from"../shared/flat-text.js";import{SlotController as o}from"../shared/controller.slot.js";import"../h/h.js";import{ensembleCSS as s}from"../shared/ensemble.css.js";import"../img/img.js";import{MediaQueryController as c}from"../shared/controller.media-query.js";import{AWARDS_LAYOUTS as l}from"./award.js";import u from"./awards.css.js";import"../pagination-dots/pagination-dots.js";import"../icons/laurel.js";import"../icons/marks/av-comparatives.js";import"../icons/marks/best-brands.js";import"../icons/marks/pc-mag-2024.js";import"../icons/marks/pc-mag-business.js";import"../icons/marks/pc-mag-readers.js";import"../icons/marks/pc-mag.js";import"../icons/marks/top-product.js";import{ScrollSlides as d}from"./scroll-slides.js";import{LitElement as f,html as p,nothing as m}from"lit";import{property as h,state as g}from"lit/decorators.js";var _=[`none`,`tint`],v=[`icon`,`eyebrow`,`title`,`description`],y=[`compact`,`grid`,`quotes`],b=3,x=1,S=e=>a(...[...e.children].filter(e=>e.slot===`title`)),C=class extends f{static{this.shadowRootOptions={...f.shadowRootOptions,slotAssignment:`manual`}}static{this.styles=[s,u]}constructor(){super(),this.layout=`compact`,this.background=`none`,this.carousel=!1,this.autoplay=!1,this.autoplayDelay=4e3,this.label=``,this.itemLabel=``,this._slide=0,this._narrow=!1,this._hovered=!1,this._focusWithin=!1,this._live=`polite`,this._slots=new o(this,{slots:[`icon`,`eyebrow`,`description`],text:[`title`]}),this._slides=new d(this,{scroller:`.viewport`,onSlide:e=>this._onScrolled(e)}),this._children=new i(this,()=>new MutationObserver(e=>this._onMutations(e)),e=>e.observe(this,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:[`slot`]})),new c(this,e(`sm`),e=>this._setNarrow(e))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.requestUpdate()}get _awardContext(){return{layout:n(l,this.layout)?this.layout:`compact`,list:!this._isCarousel}}get _isCarousel(){return this.layout===`spotlight`||this.layout===`quotes`&&this.carousel}get _perSlide(){return this.layout===`quotes`?this._narrow?x:b:1}_items(){return[...this.children].filter(e=>!e.slot)}_chunks(e=this._items()){let t=this._perSlide,n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}_setNarrow(e){if(e===this._narrow)return;let t=this._perSlide;this._narrow=e;let n=this._perSlide;n!==t&&(this._slide=Math.floor(this._slide*t/n))}willUpdate(e){e.has(`layout`)&&!n(l,this.layout)&&(this.layout=`compact`),e.has(`background`)&&!n(_,this.background)&&(this.background=`none`);let t=this._isCarousel?this._chunks().length:0;this._slide>=t&&this._slide!==0&&(this._slide=0)}updated(e){this._route();for(let e of this._items())e._fromParent?.();(e.has(`_slide`)||e.has(`_narrow`)||e.has(`layout`)||e.has(`carousel`))&&this._slides.go(this._slide)}_route(){let e=this.renderRoot,t=[...this.children];for(let n of v)e.querySelector(`slot[name="${n}"]`)?.assign(...t.filter(e=>e.slot===n));if(this._isCarousel){let t=this._chunks();e.querySelectorAll(`slot.slide-items`).forEach((e,n)=>e.assign(...t[n]??[]))}else e.querySelector(`slot.items`)?.assign(...this._items())}_matters(e){let t=e.target;if(t===this||t.parentNode===this)return!0;for(let n=t;n&&n!==this;n=n.parentNode)if(n.parentNode?.parentNode===this)return n.slot===`title`||e.type===`attributes`&&n===t;return!1}_onMutations(e){e.some(e=>this._matters(e))&&this.requestUpdate()}_onScrolled(e){if(e===this._slide)return;this._slide=e;let t=this.renderRoot.querySelector(`bd-pagination-dots`);t?.autoplay&&(t.paused=!0)}_renderCarousel(e){let t=this._chunks(),n=t.length;return p`
2
+ <div class="frame" ?hidden=${!n}>
3
+ <div
4
+ class="viewport"
5
+ @mouseenter=${()=>{this._hovered=!0}}
6
+ @mouseleave=${()=>{this._hovered=!1}}
7
+ @focusin=${()=>{this._focusWithin=!0}}
8
+ @focusout=${e=>{this._focusWithin=e.currentTarget.contains(e.relatedTarget)}}
9
+ >
10
+ <div class="track" aria-live=${this._live}>
11
+ ${t.map((e,t)=>{let n=e.map(S).filter(Boolean).join(`, `);return p`
12
+ <div class="slide" role="group" aria-roledescription="slide" aria-label=${n||m} ?inert=${t!==this._slide}>
13
+ <slot class="slide-items"></slot>
14
+ </div>
15
+ `})}
46
16
  </div>
47
17
  </div>
18
+ <bd-pagination-dots
19
+ ?hidden=${n<2}
20
+ count=${n}
21
+ current=${this._slide+1}
22
+ label=${e||m}
23
+ item-label=${this.itemLabel||m}
24
+ ?autoplay=${this.autoplay&&n>1}
25
+ delay=${this.autoplayDelay}
26
+ ?held=${this._hovered||this._focusWithin}
27
+ @bd-slide-change=${e=>{this._slide=e.detail.current-1}}
28
+ @bd-toggle=${e=>{this._live=e.detail.moving?`off`:`polite`}}
29
+ ></bd-pagination-dots>
48
30
  </div>
49
-
50
- `}_renderLower(){return this.content===`summary`?o:a`
51
- <div class="bd-awards-lower">
52
- <section class="bd-awards-secret-section">
53
- <bd-h as="h3" class="bd-awards-section-title">${this.secretTitle}</bd-h>
54
- <bd-p variant="regular" class="bd-awards-section-subtext">${this.secretSubtext}</bd-p>
55
- </section>
56
-
57
- <div class="bd-awards-features-grid">
58
- ${this.features.map(e=>this._renderFeature(e))}
31
+ `}render(){let e=e=>this._slots.has(e),t=e(`title`),n=this._isCarousel,r=t?`title`:m,i=!t&&this.label?this.label:m,a=y.includes(this.layout)?`panel`:``;return p`
32
+ <section
33
+ class="bd-ensemble root ${this.layout} ${a}"
34
+ aria-roledescription=${n?`carousel`:m}
35
+ aria-labelledby=${n?r:m}
36
+ aria-label=${n?i:m}
37
+ >
38
+ <div class="header" ?hidden=${!v.some(e)}>
39
+ <div class="icon" ?hidden=${!e(`icon`)}><slot name="icon"></slot></div>
40
+ <div class="eyebrow" ?hidden=${!e(`eyebrow`)}><slot name="eyebrow"></slot></div>
41
+ <div class="title" id="title" ?hidden=${!t}><slot name="title"></slot></div>
42
+ <div class="description" ?hidden=${!e(`description`)}><slot name="description"></slot></div>
59
43
  </div>
60
- </div>
61
- `}};t([s({type:String,reflect:!0})],l.prototype,`content`,void 0),t([s({type:String})],l.prototype,`tagline`,void 0),t([s({type:String})],l.prototype,`headline`,void 0),t([s({type:String})],l.prototype,`subtext`,void 0),t([s({type:String})],l.prototype,`secretTitle`,void 0),t([s({type:String})],l.prototype,`secretSubtext`,void 0),t([s({type:Array})],l.prototype,`desktopAwards`,void 0),t([s({type:Array})],l.prototype,`features`,void 0),l=t([e(`bd-awards-section`)],l);export{l as AwardsSection};
44
+ ${n?this._renderCarousel(this._slots.text(`title`)||this.label):p`
45
+ <div class="items" role="list" aria-labelledby=${r} aria-label=${i} ?hidden=${!this._items().length}>
46
+ <slot class="items"></slot>
47
+ </div>
48
+ `}
49
+ </section>
50
+ `}};r([h({type:String,reflect:!0,attribute:`layout`})],C.prototype,`layout`,void 0),r([h({type:String,reflect:!0,attribute:`background`})],C.prototype,`background`,void 0),r([h({type:Boolean,attribute:`carousel`})],C.prototype,`carousel`,void 0),r([h({type:Boolean,attribute:`autoplay`})],C.prototype,`autoplay`,void 0),r([h({type:Number,attribute:`autoplay-delay`})],C.prototype,`autoplayDelay`,void 0),r([h({type:String,attribute:`label`})],C.prototype,`label`,void 0),r([h({type:String,attribute:`item-label`})],C.prototype,`itemLabel`,void 0),r([g()],C.prototype,`_slide`,void 0),r([g()],C.prototype,`_narrow`,void 0),r([g()],C.prototype,`_hovered`,void 0),r([g()],C.prototype,`_focusWithin`,void 0),r([g()],C.prototype,`_live`,void 0),C=r([t(`bd-awards`)],C);export{C as BdAwards};
62
51
  //# sourceMappingURL=awards.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"awards.js","names":["_decorate","__decorate","ICON_RENDERERS","AwardsSection","LitElement","_args","ensembleCSS","awardsCSS","iconFn","award","ariaLabel","classes","f","a","nothing","property","defineElement"],"sources":["../../../../src/components/awards/awards.ts"],"sourcesContent":["// awards.ts - varianta cu Shadow DOM (ca la celelalte componente)\nimport { LitElement, html, nothing, type TemplateResult } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/icons/analysis-icon.ts\";\nimport \"#components/icons/av-comparatives-icon.ts\";\nimport \"#components/icons/best-brands-icon.ts\";\nimport \"#components/icons/laurel-icon.ts\";\nimport \"#components/icons/machine-learning-icon.ts\";\nimport \"#components/icons/pc-mag-2024-icon.ts\";\nimport \"#components/icons/pc-mag-business-icon.ts\";\nimport \"#components/icons/pc-mag-icon.ts\";\nimport \"#components/icons/pc-mag-readers-icon.ts\";\nimport \"#components/icons/top-product-icon.ts\";\nimport \"#components/heading/heading.ts\";\nimport \"#components/paragraph/paragraph.ts\";\nimport { awardsCSS } from \"./awards.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\nconst ICON_RENDERERS: Record<string, () => TemplateResult> = {\n \"bd-pc-mag-icon\" : () => html`<bd-pc-mag-icon></bd-pc-mag-icon>`,\n \"bd-av-comparatives-icon\" : () => html`<bd-av-comparatives-icon></bd-av-comparatives-icon>`,\n \"bd-best-brands-icon\" : () => html`<bd-best-brands-icon></bd-best-brands-icon>`,\n \"bd-pc-mag-2024-icon\" : () => html`<bd-pc-mag-2024-icon></bd-pc-mag-2024-icon>`,\n \"bd-pc-mag-readers-icon\" : () => html`<bd-pc-mag-readers-icon height=\"64\" width=\"37\"></bd-pc-mag-readers-icon>`,\n \"bd-pc-mag-business-icon\" : () => html`<bd-pc-mag-business-icon></bd-pc-mag-business-icon>`,\n \"bd-top-product-icon\" : () => html`<bd-top-product-icon></bd-top-product-icon>`,\n \"bd-machine-learning-icon\": () => html`<bd-machine-learning-icon></bd-machine-learning-icon>`,\n \"bd-analysis-icon\" : () => html`<bd-analysis-icon></bd-analysis-icon>`\n};\n\ntype Content = \"full\" | \"summary\";\n\ninterface AwardBadge {\n label: string;\n type : string;\n tag : string;\n id : string;\n}\n\ninterface AwardFeature {\n tag : string;\n title : string;\n description: string;\n}\n\n@defineElement(\"bd-awards-section\")\nexport class AwardsSection extends LitElement {\n static styles = [ensembleCSS, awardsCSS];\n\n /**\n * Which content this section renders.\n *\n * full the trust banner, the award bar, the secret section and the\n * feature cards\n * summary the trust banner and the award bar only\n *\n * It answers what is rendered, not what the thing used to be called. This\n * was a second element, bd-awards-section-light, until P6E.1B: a fork of\n * this component that stopped after the award bar. Its own Storybook page\n * described it that way -- \"renders only the trust banner and award badges\n * -- without the secret section or feature cards\" -- so the difference was\n * always content scope, and is now said in one word instead of in a second\n * custom element.\n *\n * The 48px of block padding that comes with `summary` is not a separate\n * visual treatment and does not get its own axis. Measured on the fork:\n * the banner sat 48px from the top and the bar 48px from the bottom,\n * because nothing followed the bar to give the section its rhythm. With\n * the lower content present that padding would be wrong, which is exactly\n * what makes it a consequence of the scope rather than a theme.\n */\n @property({ type: String, reflect: true })\n content: Content = \"full\";\n @property({ type: String })\n tagline = \"You're Making A Great Choice\";\n @property({ type: String })\n headline = \"World-class security software you can trust. Always.\";\n @property({ type: String })\n subtext = \"We've added 25 new accolades in the past two years to the hundreds we have won since we started in 2001 - so you know you are in good hands.\";\n @property({ type: String })\n secretTitle = \"What's our secret\";\n @property({ type: String })\n secretSubtext = \"At the heart of Bitdefender lies a powerhouse of proprietary technology, setting it miles apart from the competition.\";\n @property({ type: Array })\n desktopAwards: AwardBadge[] = [\n { label: \"PC MAG\\nEDITORS' CHOICE\", type: \"red\", tag: \"bd-pc-mag-icon\", id: \"pc-mag\" },\n { label: \"AV\\ncomparatives\", type: \"dark\", tag: \"bd-av-comparatives-icon\", id: \"av-comparatives\" },\n { label: \"Best\\nBrands\\n2024\", type: \"dark\", tag: \"bd-best-brands-icon\", id: \"best-brands\" },\n { label: \"PC\\nChoice\\n2024\", type: \"red\", tag: \"bd-pc-mag-2024-icon\", id: \"pc-mag-2024\" },\n { label: \"PC MAG\\nREADERS'\\nCHOICE\", type: \"red\", tag: \"bd-pc-mag-readers-icon\", id: \"pc-mag-readers\" },\n { label: \"PC\\nBusiness\\nChoice\", type: \"red\", tag: \"bd-pc-mag-business-icon\", id: \"pc-mag-business\" },\n { label: \"AV\\nTEST\\nTOP\\nPRODUCT\", type: \"red\", tag: \"bd-top-product-icon\", id: \"top-product\" }\n ];\n @property({ type: Array })\n features: AwardFeature[] = [\n {\n tag : \"bd-machine-learning-icon\",\n title : \"Machine Learning\",\n description: \"Imagine Bitdefender as a super-smart detective, constantly learning and getting better at spotting bad guys. Just like how you learn from your experiences, Bitdefender learns from millions of cyber threats it encounters every day. It studies their patterns, figures out their tricks, and uses that knowledge to protect your devices from future attacks.\"\n },\n {\n tag : \"bd-analysis-icon\",\n title : \"Behavioral Analysis\",\n description: \"Bitdefender keeps an eye on how you and your devices normally behave. So, when something unusual happens, like a strange file trying to sneak into your computer or a suspicious website trying to steal your info, Bitdefender sounds the alarm. It's like having a loyal sidekick that never sleeps, always on the lookout for trouble and ready to jump into action to keep you safe.\"\n }\n ];\n\n /* The type steps down below sm (the banner and the secret section) and\n below md (the feature cards) in awards.css.ts. It used to be two\n matchMedia listeners here re-rendering every heading and paragraph with\n another level or variant -- the levels moved with the size -- and, below\n sm, swapping the headline for three hard-coded lines, so a page that set\n its own headline lost it on a phone. */\n\n _renderBadge(award: AwardBadge) {\n const iconFn = ICON_RENDERERS[award.tag];\n const ariaLabel = award.label.replace(/\\n/g, \" \");\n const classes = `bd-awards-badge ${award.type === \"dark\" ? \"bd-awards-badge--dark\" : \"\"}`;\n return html`\n <div class=\"${classes}\" data-award-id=\"${award.id}\" role=\"listitem\" aria-label=\"${ariaLabel}\">\n ${iconFn ? iconFn() : \"\"}\n </div>\n `;\n }\n\n /* The outline holds at every width: h3 for the headline and the\n secret-section title, h4 for feature titles. It used to depend on the\n viewport -- measured on Modules/Awards Section, h6/h4 at 375 and 576 and\n h4/h3 from 768 up, skipping h5 under an h4 -- which moved to visual-level\n and now to awards.css.ts, where only the size steps down. */\n _renderFeature(f: AwardFeature) {\n const iconFn = ICON_RENDERERS[f.tag];\n return html`\n <article class=\"bd-awards-feature-card\">\n <div class=\"bd-awards-feature-icon\" aria-hidden=\"true\">\n ${iconFn ? iconFn() : \"\"}\n </div>\n <div class=\"bd-awards-feature-text\">\n <bd-h as=\"h4\" fontWeight=\"bold\" class=\"bd-awards-feature-title\">${f.title}</bd-h>\n <bd-p variant=\"regular\" class=\"bd-awards-feature-desc\">${f.description}</bd-p>\n </div>\n </article>\n `;\n }\n\n render() {\n /* `summary` needs the section to carry its own block padding, because\n nothing follows the award bar. `full` must not get that wrapper: its\n rhythm comes from the lower content, and adding padding there would move\n a component this phase is not allowed to move. */\n return this.content === \"summary\"\n ? html`<div class=\"bd-ensemble bd-awards-root\">${this._renderUpper()}</div>`\n : html`${this._renderUpper()}${this._renderLower()}`;\n }\n\n _renderUpper() {\n return html`\n <div class=\"bd-awards-trust-banner\">\n <div class=\"bd-awards-trust-intro\">\n <span class=\"bd-awards-laurel-icon\" aria-hidden=\"true\">\n <bd-laurel-icon></bd-laurel-icon>\n </span>\n\n <bd-p variant=\"large\" class=\"bd-awards-tagline\">${this.tagline}</bd-p>\n <bd-h as=\"h3\" class=\"bd-awards-headline\">${this.headline}</bd-h>\n <bd-p variant=\"regular\" class=\"bd-awards-subtext\">${this.subtext}</bd-p>\n </div>\n\n <div class=\"bd-awards-bar\" role=\"list\" aria-label=\"Industry awards\">\n <div class=\"bd-awards-row\" role=\"presentation\">\n ${this.desktopAwards.slice(0, 3).map((a) => this._renderBadge(a))}\n </div>\n <div class=\"bd-awards-row\" role=\"presentation\">\n ${this.desktopAwards.slice(3).map((a) => this._renderBadge(a))}\n </div>\n </div>\n </div>\n\n `;\n }\n\n /**\n * The secret section and the feature cards, or nothing at all.\n *\n * Nothing at all means no element, not an empty one. The fork rendered an\n * empty `.bd-awards-lower`, which stayed a flex child of its wrapper and so\n * still took the wrapper's 48px gap -- and that is why the fork also carried\n * a `gap: 0` override. Omitting the element removes both the phantom gap and\n * the reason for the override.\n */\n _renderLower() {\n if (this.content === \"summary\") return nothing;\n return html`\n <div class=\"bd-awards-lower\">\n <section class=\"bd-awards-secret-section\">\n <bd-h as=\"h3\" class=\"bd-awards-section-title\">${this.secretTitle}</bd-h>\n <bd-p variant=\"regular\" class=\"bd-awards-section-subtext\">${this.secretSubtext}</bd-p>\n </section>\n\n <div class=\"bd-awards-features-grid\">\n ${this.features.map((f) => this._renderFeature(f))}\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-awards-section\": AwardsSection;\n }\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"awards.js","names":["awardsCSS","_decorate","__decorate","awards_css_default","BACKGROUNDS","PARTS","PANELS","QUOTES_PER_SLIDE","QUOTES_PER_SLIDE_NARROW","titleOf","flatText","award","el","BdAwards","LitElement","ensembleCSS","SlotController","ScrollSlides","i","ObserverController","records","observer","MediaQueryController","below","narrow","isOneOf","AWARDS_LAYOUTS","size","chunks","items","before","after","changed","count","item","root","children","part","slot","target","record","node","index","dots","label","chunk","nothing","name","has","titled","carousel","labelledby","look","property","state","defineElement"],"sources":["../../../../src/components/awards/awards.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from \"lit\";\nimport { property, state } from \"lit/decorators.js\";\nimport { MediaQueryController } from \"#shared/controller.media-query.ts\";\nimport { ObserverController } from \"#shared/controller.observer.ts\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { flatText } from \"#shared/flat-text.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\nimport { below } from \"#shared/token-scales.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\n// ./awards registers the family (N4): the awards, and each award in them\nimport { AWARDS_LAYOUTS, type AwardsContext, type AwardsLayout, type BdAward } from \"./award.ts\";\nimport \"#components/pagination-dots/pagination-dots.ts\";\n/* The atoms the page writes into the awards' and each award's slots. Neither\n renders them now, but 3.x's three awards modules registered them between\n them -- the laurel, the seven award marks, bd-h, bd-p and bd-img -- and a\n page importing only this module still gets what it writes. */\nimport \"#components/h/h.ts\";\nimport \"#components/icons/laurel.ts\";\nimport \"#components/icons/marks/av-comparatives.ts\";\nimport \"#components/icons/marks/best-brands.ts\";\nimport \"#components/icons/marks/pc-mag-2024.ts\";\nimport \"#components/icons/marks/pc-mag-business.ts\";\nimport \"#components/icons/marks/pc-mag-readers.ts\";\nimport \"#components/icons/marks/pc-mag.ts\";\nimport \"#components/icons/marks/top-product.ts\";\nimport \"#components/img/img.ts\";\nimport \"#components/p/p.ts\";\nimport awardsCSS from \"./awards.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport { ScrollSlides } from \"./scroll-slides.ts\";\n\nconst BACKGROUNDS = [\"none\", \"tint\"] as const;\ntype Background = typeof BACKGROUNDS[number];\n\n/* The parts a child names itself into; every other child is an award. */\nconst PARTS = [\"icon\", \"eyebrow\", \"title\", \"description\"] as const;\ntype Part = typeof PARTS[number];\n\n/* The panel's layouts, bd-awards-flex's three. */\nconst PANELS: readonly AwardsLayout[] = [\"compact\", \"grid\", \"quotes\"];\n\n/* How many quote cards one carousel slide holds: three side by side, and one\n below sm. Three used to stack in a column on a phone, so a slide was about\n 1065px tall with every card on screen at once, and the dots paged between\n two such stacks. One card a slide gives the phone a carousel again -- six\n awards are six slides and six dots -- at about half the height. Drawn in the\n foundation Figma file as Awards carousel, breakpoint=mobile. A spotlight\n slide is always one award. */\nconst QUOTES_PER_SLIDE = 3;\nconst QUOTES_PER_SLIDE_NARROW = 1;\n\ntype Live = \"off\" | \"polite\";\n\n/* The words of an award's own title, which name its slide. */\nconst titleOf = (award: Element) => flatText(...[...award.children].filter(el => el.slot === \"title\"));\n\n/**\n * Industry awards, in one of five layouts: a bar of marks under a trust\n * banner, a row of marks, a row of quotes, or a carousel of either quotes or\n * spotlighted awards.\n *\n * <bd-awards layout=\"bar\" background=\"tint\" label=\"Industry awards\">\n * <bd-icon slot=\"icon\" name=\"laurel\"></bd-icon>\n * <span slot=\"eyebrow\">You're Making A Great Choice</span>\n * <bd-h slot=\"title\" as=\"h3\">World-class security software you can trust. Always.</bd-h>\n * <bd-p slot=\"description\">We've added 25 new accolades …</bd-p>\n * <bd-award><bd-mark slot=\"media\" name=\"pc-mag\" label=\"PC Mag Editors' Choice\"></bd-mark></bd-award>\n * …\n * </bd-awards>\n *\n * It merges three 3.x tags, which `layout` now names:\n *\n * bar bd-awards-section: the laurel, eyebrow, title and description\n * over a bar of marks drawn 64 tall (32 below sm). Its lower\n * half -- the secret section and the feature cards -- is a\n * heading over a grid, which the page writes after it as a\n * bd-section-header and a bd-card-grid of bd-card\n * appearance=\"feature\" (N10).\n * compact,\n * grid bd-awards-flex's rows of marks, 56 and 64 tall\n * quotes bd-awards-flex's quote cards, side by side, or with\n * `carousel` three a slide (one below sm)\n * spotlight bd-awards-spotlight: one award a slide on an info card, the\n * logo beside its title and paragraph from lg\n *\n * The page writes every part (ADR 0003): the icon (the laurel is a\n * <bd-icon name=\"laurel\"> the page writes; nothing is drawn by default), the\n * eyebrow, the title -- the page picks its level, the awards draw it at the\n * h3 role, h4 below sm in the bar -- the description, and a bd-award per\n * award. Each part's box is hidden while its slot is empty. The awards are\n * routed into the shadow root by hand (slotAssignment: \"manual\", Baseline\n * Widely available since 2025-09-27, as bd-tab-group's are), because the\n * carousels put them into one slot per slide; the parts are routed by their\n * `slot`, as a named slot would, and a child added, removed or renamed later\n * is routed again.\n *\n * NAMES. A list layout -- bar, compact, grid, quotes side by side -- is a\n * list of its awards, each bd-award a list item through ElementInternals; a\n * carousel is a region with aria-roledescription=\"carousel\", each slide a\n * group with aria-roledescription=\"slide\", named by its awards' titles where\n * they have them. The list, or the region, is named by the slotted title\n * through aria-labelledby on the box around the title slot, or by `label`\n * without one; the dots' group takes the same name, and `item-label` starts\n * each dot's. None of them has a default: 3.x's \"Industry awards\", \"Awards\n * and recognition\", \"Go to slide\", \"Go to award\" and its slides' \"N of M\"\n * were English in the component.\n *\n * THE CAROUSEL. One implementation for quotes and spotlight, as 3.x's two\n * tags already shared one (scroll-slides.ts): a scroll-snap scroller the\n * browser drives, and the package's slide dots, which run the autoplay clock.\n * The pointer or focus on the slides holds it, a visitor picking a dot or\n * swiping to another slide stops it for good, and under\n * prefers-reduced-motion it never starts; hold() (shared/hold.ts), from a\n * bd-tab-group's hidden panel, pauses the dots like any `paused` component.\n * The slides that are not showing are inert, and the track is a polite live\n * region while the slides are still and silent while they move on their own.\n */\n@defineElement(\"bd-awards\")\nexport class BdAwards extends LitElement {\n static shadowRootOptions: ShadowRootInit = { ...LitElement.shadowRootOptions, slotAssignment: \"manual\" };\n static styles = [ensembleCSS, awardsCSS];\n\n /** bar, compact (default), grid, quotes or spotlight. Reflected, for the stylesheet. */\n @property({ type: String, reflect: true, attribute: \"layout\" })\n layout: AwardsLayout = \"compact\";\n\n /** The ground: none, or tint, the brand wash behind the whole width. */\n @property({ type: String, reflect: true, attribute: \"background\" })\n background: Background = \"none\";\n\n /** quotes only: the quote cards as a carousel, three a slide and one below sm. */\n @property({ type: Boolean, attribute: \"carousel\" })\n carousel = false;\n\n /** The carousel advances on its own. */\n @property({ type: Boolean, attribute: \"autoplay\" })\n autoplay = false;\n\n /** Milliseconds a slide shows under autoplay. */\n @property({ type: Number, attribute: \"autoplay-delay\" })\n autoplayDelay = 4000;\n\n /** The accessible name of the list, or of the carousel and its dots, while no title is slotted. No default. */\n @property({ type: String, attribute: \"label\" })\n label = \"\";\n\n /** The accessible name each pagination dot starts with, passed to bd-pagination-dots. No default. */\n @property({ type: String, attribute: \"item-label\" })\n itemLabel = \"\";\n\n @state()\n _slide = 0;\n @state()\n _narrow = false;\n /* The pointer or focus on the slides holds the autoplay -- a hold, which\n lifts by itself. Stopping it for good is the dots': a visitor who picks\n a dot has chosen a slide, and it stays. */\n @state()\n _hovered = false;\n @state()\n _focusWithin = false;\n /* The slides' live region. Off while they change on their own, so a\n screen reader is not read a new set of quotes every few seconds; polite\n once they are still, so a change the visitor asks for is announced.\n bd-pagination-dots says which, through bd-toggle. */\n @state()\n _live: Live = \"polite\";\n\n /* The header's parts, and the title's words for the names. The awards are\n this element's own children, counted from there (_items). */\n _slots = new SlotController<Part>(this, { slots: [\"icon\", \"eyebrow\", \"description\"], text: [\"title\"] });\n\n _slides = new ScrollSlides(this, { scroller: \".viewport\", onSlide: i => this._onScrolled(i) });\n\n /* A child added or removed, renamed into or out of a part, or an award's\n title edited: what is routed where, and what the slides are named, can\n have moved. Observed for as long as the awards are connected. */\n _children = new ObserverController(this,\n () => new MutationObserver(records => this._onMutations(records)),\n observer => observer.observe(this, { childList: true, subtree: true, characterData: true, attributes: true, attributeFilter: [\"slot\"] }));\n\n constructor() {\n super();\n /* Watched rather than read once: a slide is a layout, and a phone turned\n sideways crosses the breakpoint. */\n new MediaQueryController(this, below(\"sm\"), narrow => this._setNarrow(narrow));\n }\n\n connectedCallback() {\n super.connectedCallback();\n // nothing reports what changed among the children while the awards were out of the page\n if (this.hasUpdated) this.requestUpdate();\n }\n\n /** What each bd-award reads from its parent: the layout, and whether it is an item of a list. */\n get _awardContext(): AwardsContext {\n const layout = isOneOf(AWARDS_LAYOUTS, this.layout) ? this.layout : \"compact\";\n return { layout, list: !this._isCarousel };\n }\n\n get _isCarousel() {\n return this.layout === \"spotlight\" || (this.layout === \"quotes\" && this.carousel);\n }\n\n get _perSlide() {\n if (this.layout !== \"quotes\") return 1;\n return this._narrow ? QUOTES_PER_SLIDE_NARROW : QUOTES_PER_SLIDE;\n }\n\n /* The awards: every child that names no part. */\n _items() {\n return [...this.children].filter(el => !el.slot);\n }\n\n _chunks(items = this._items()) {\n const size = this._perSlide;\n const chunks: Element[][] = [];\n for (let i = 0; i < items.length; i += size) chunks.push(items.slice(i, i + size));\n return chunks;\n }\n\n /* Changing the slide size keeps the visitor on the slide that holds the card\n they were looking at: its first card, re-paged. */\n _setNarrow(narrow: boolean) {\n if (narrow === this._narrow) return;\n const before = this._perSlide;\n this._narrow = narrow;\n const after = this._perSlide;\n if (after !== before) this._slide = Math.floor((this._slide * before) / after);\n }\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"layout\") && !isOneOf(AWARDS_LAYOUTS, this.layout)) this.layout = \"compact\";\n if (changed.has(\"background\") && !isOneOf(BACKGROUNDS, this.background)) this.background = \"none\";\n // a shorter list, or bigger slides, must not leave the carousel on a slide that is gone\n const count = this._isCarousel ? this._chunks().length : 0;\n if (this._slide >= count && this._slide !== 0) this._slide = 0;\n }\n\n updated(changed: PropertyValues<this>) {\n this._route();\n // each award draws the layout it is in, and is a list item only in a list\n for (const item of this._items()) (item as BdAward)._fromParent?.();\n // a dot, the clock or a re-paging chose a slide: bring it in\n if (changed.has(\"_slide\") || changed.has(\"_narrow\") || changed.has(\"layout\") || changed.has(\"carousel\")) this._slides.go(this._slide);\n }\n\n /* Each child into its slot: a part by its `slot`, and the awards into the\n list, or a slide's worth into each slide. Nothing is rendered before the\n first update, so there is nothing to assign to until then. */\n private _route() {\n const root = this.renderRoot;\n const children = [...this.children];\n for (const part of PARTS) {\n root.querySelector<HTMLSlotElement>(`slot[name=\"${part}\"]`)?.assign(...children.filter(el => el.slot === part));\n }\n if (this._isCarousel) {\n const chunks = this._chunks();\n root.querySelectorAll<HTMLSlotElement>(\"slot.slide-items\").forEach((slot, i) => slot.assign(...(chunks[i] ?? [])));\n } else {\n root.querySelector<HTMLSlotElement>(\"slot.items\")?.assign(...this._items());\n }\n }\n\n /* Whether a mutation can move what is routed or how a slide is named: a\n child added or removed, a child's `slot` or an award's child's, or\n anything inside an award's title. Not a mark drawing its svg into its\n own light DOM, which is a mutation inside an award as well. */\n private _matters(record: MutationRecord) {\n const target = record.target;\n if (target === this || target.parentNode === this) return true;\n for (let node: Node | null = target; node && node !== this; node = node.parentNode) {\n if (node.parentNode?.parentNode !== this) continue;\n return (node as Element).slot === \"title\" || (record.type === \"attributes\" && node === target);\n }\n return false;\n }\n\n private _onMutations(records: MutationRecord[]) {\n if (records.some(record => this._matters(record))) this.requestUpdate();\n }\n\n /* A visitor scrolled to another slide. That is a choice of slide, as a dot\n is, so it stops autoplay for good the way a dot does. */\n _onScrolled(index: number) {\n if (index === this._slide) return;\n this._slide = index;\n const dots = this.renderRoot.querySelector(\"bd-pagination-dots\");\n if (dots?.autoplay) dots.paused = true;\n }\n\n /* One slide has nowhere to go: the dots draw nothing then, and are left\n out, so the card keeps no gap for them. 3.x's quotes left them out; its\n spotlight kept the gap. */\n _renderCarousel(name: string) {\n const chunks = this._chunks();\n const count = chunks.length;\n return html`\n <div class=\"frame\" ?hidden=${!count}>\n <div\n class=\"viewport\"\n @mouseenter=${() => { this._hovered = true; }}\n @mouseleave=${() => { this._hovered = false; }}\n @focusin=${() => { this._focusWithin = true; }}\n @focusout=${(e: FocusEvent) => { this._focusWithin = (e.currentTarget as HTMLElement).contains(e.relatedTarget as Node | null); }}\n >\n <div class=\"track\" aria-live=${this._live}>\n ${chunks.map((chunk, i) => {\n const label = chunk.map(titleOf).filter(Boolean).join(\", \");\n return html`\n <div class=\"slide\" role=\"group\" aria-roledescription=\"slide\" aria-label=${label || nothing} ?inert=${i !== this._slide}>\n <slot class=\"slide-items\"></slot>\n </div>\n `;\n })}\n </div>\n </div>\n <bd-pagination-dots\n ?hidden=${count < 2}\n count=${count}\n current=${this._slide + 1}\n label=${name || nothing}\n item-label=${this.itemLabel || nothing}\n ?autoplay=${this.autoplay && count > 1}\n delay=${this.autoplayDelay}\n ?held=${this._hovered || this._focusWithin}\n @bd-slide-change=${(e: CustomEvent<{ current: number }>) => { this._slide = e.detail.current - 1; }}\n @bd-toggle=${(e: CustomEvent<{ moving: boolean }>) => { this._live = e.detail.moving ? \"off\" : \"polite\"; }}\n ></bd-pagination-dots>\n </div>\n `;\n }\n\n render() {\n const has = (part: Part) => this._slots.has(part);\n const titled = has(\"title\");\n const carousel = this._isCarousel;\n const labelledby = titled ? \"title\" : nothing;\n const label = !titled && this.label ? this.label : nothing;\n const look = PANELS.includes(this.layout) ? \"panel\" : \"\";\n return html`\n <section\n class=\"bd-ensemble root ${this.layout} ${look}\"\n aria-roledescription=${carousel ? \"carousel\" : nothing}\n aria-labelledby=${carousel ? labelledby : nothing}\n aria-label=${carousel ? label : nothing}\n >\n <div class=\"header\" ?hidden=${!PARTS.some(has)}>\n <div class=\"icon\" ?hidden=${!has(\"icon\")}><slot name=\"icon\"></slot></div>\n <div class=\"eyebrow\" ?hidden=${!has(\"eyebrow\")}><slot name=\"eyebrow\"></slot></div>\n <div class=\"title\" id=\"title\" ?hidden=${!titled}><slot name=\"title\"></slot></div>\n <div class=\"description\" ?hidden=${!has(\"description\")}><slot name=\"description\"></slot></div>\n </div>\n ${carousel\n ? this._renderCarousel(this._slots.text(\"title\") || this.label)\n : html`\n <div class=\"items\" role=\"list\" aria-labelledby=${labelledby} aria-label=${label} ?hidden=${!this._items().length}>\n <slot class=\"items\"></slot>\n </div>\n `}\n </section>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-awards\": BdAwards;\n }\n}\n"],"mappings":"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"}
@@ -4,15 +4,16 @@ interface ScrollSlidesOptions {
4
4
  onSlide: (index: number) => void;
5
5
  }
6
6
  /**
7
- * Whole-width slides in a scroll-snap scroller: the two awards carousels.
7
+ * Whole-width slides in a scroll-snap scroller: bd-awards' carousel, which
8
+ * its quotes and spotlight layouts share.
8
9
  *
9
- * bd-awards-spotlight and bd-awards-flex used to move their slides with an
10
- * inline translateX on a track inside an overflow: hidden window, so only the
11
- * dots could move them: a phone could not swipe, a trackpad could not scroll,
12
- * and in a right-to-left page the slides ran the wrong way. The window is a
13
- * scroller now (overflow-x, scroll-snap-type, one stop a slide) and the
14
- * browser moves it for every input it has, the way bd-carousel-section's
15
- * track already works.
10
+ * Its two 3.x tags, bd-awards-spotlight and bd-awards-flex, used to move
11
+ * their slides with an inline translateX on a track inside an overflow:
12
+ * hidden window, so only the dots could move them: a phone could not swipe,
13
+ * a trackpad could not scroll, and in a right-to-left page the slides ran the
14
+ * wrong way. The window is a scroller now (overflow-x, scroll-snap-type, one
15
+ * stop a slide) and the browser moves it for every input it has, the way
16
+ * bd-carousel's track already works.
16
17
  *
17
18
  * What is left for script is the two-way link with the dots:
18
19
  * - the scroller settles on a slide -> the host is told which (onSlide)