@repobit/dex-system-design 3.1.2 → 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 +1067 -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 +1 @@
1
- {"version":3,"file":"code.js","names":["_decorate","__decorate","BdCode","LitElement","_args","codeCSS","pre","scrollable","nothing","property","defineElement"],"sources":["../../../../src/components/code/code.ts"],"sourcesContent":["import { LitElement, html, nothing } 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 { codeCSS } from './code.css.ts';\n\n@defineElement('bd-code')\nexport class BdCode extends LitElement {\n static styles = [codeCSS];\n\n @property({ type: Boolean, reflect: true })\n block = false;\n @property({ type: String })\n label = '';\n\n _scrollable?: boolean;\n _resize? : ResizeObserver;\n _observed? : HTMLPreElement | null;\n _content? : MutationObserver;\n\n /* Whether the block is wider than its box. Only then is there anything to\n scroll, and only then does it need to be a tab stop. The box changes\n size with the page, and the content with the light DOM, so both are\n watched. */\n _measure() {\n const pre = this.shadowRoot?.querySelector('pre');\n const scrollable = !!pre && pre.scrollWidth > pre.clientWidth;\n if (scrollable !== this._scrollable) {\n this._scrollable = scrollable;\n this.requestUpdate();\n }\n }\n\n updated() {\n const pre = this.shadowRoot!.querySelector('pre');\n if (pre && pre !== this._observed) {\n this._resize?.disconnect();\n this._resize = new ResizeObserver(() => this._measure());\n this._resize.observe(pre);\n this._observed = pre;\n }\n if (!pre) { this._resize?.disconnect(); this._observed = null; }\n this._measure();\n }\n\n connectedCallback() {\n super.connectedCallback();\n this._content = new MutationObserver(() => this._measure());\n this._content.observe(this, { childList: true, characterData: true, subtree: true });\n }\n\n disconnectedCallback() {\n this._content?.disconnect();\n this._resize?.disconnect();\n this._observed = null;\n super.disconnectedCallback();\n }\n\n render() {\n // Block mode nests <code> inside <pre>: <pre> carries the preformatted\n // whitespace, <code> carries \"this is code\". A bare <pre> is only\n // preformatted text, so assistive tech got no signal it was code at all,\n // even though the inline variant gave one.\n //\n // A <pre> that scrolls horizontally has to be focusable, or it cannot be\n // scrolled from the keyboard (WCAG 2.1.1), and a focusable element needs\n // a name. It is a group, not a region: a named region is a landmark, so\n // every code block on a page joined the landmark list a screen reader\n // navigates by, beside header, main and footer. And it is a tab stop only\n // while it overflows; a snippet that fits has nothing to scroll and was a\n // stop that did nothing.\n return this.block\n ? html`<pre\n tabindex=\"${this._scrollable ? '0' : nothing}\"\n role=\"group\"\n aria-label=\"${this.label || 'Code'}\"\n ><code><slot></slot></code></pre>`\n : html`<code><slot></slot></code>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-code': BdCode;\n }\n}\n"],"mappings":"A,kTAQO,IAAME,EAAN,cAAqBC,CAAW,C,8BAI7B,KAAA,MAAA,GAEA,KAAA,MAAA,E,QALQ,KAAA,OAAA,CAACE,CAAO,C,CAgBxB,UAAW,CACT,IAAMC,EAAM,KAAK,YAAY,cAAc,KAAK,EAC1CC,EAAa,CAAC,CAACD,GAAOA,EAAI,YAAcA,EAAI,YAC9CC,IAAe,KAAK,cACtB,KAAK,YAAcA,EACnB,KAAK,cAAc,EAEvB,CAEA,SAAU,CACR,IAAMD,EAAM,KAAK,WAAY,cAAc,KAAK,EAC5CA,GAAOA,IAAQ,KAAK,YACtB,KAAK,SAAS,WAAW,EACzB,KAAK,QAAU,IAAI,mBAAqB,KAAK,SAAS,CAAC,EACvD,KAAK,QAAQ,QAAQA,CAAG,EACxB,KAAK,UAAYA,GAEdA,IAAO,KAAK,SAAS,WAAW,EAAG,KAAK,UAAY,MACzD,KAAK,SAAS,CAChB,CAEA,mBAAoB,CAClB,MAAM,kBAAkB,EACxB,KAAK,SAAW,IAAI,qBAAuB,KAAK,SAAS,CAAC,EAC1D,KAAK,SAAS,QAAQ,KAAM,CAAE,UAAW,GAAM,cAAe,GAAM,QAAS,EAAK,CAAC,CACrF,CAEA,sBAAuB,CACrB,KAAK,UAAU,WAAW,EAC1B,KAAK,SAAS,WAAW,EACzB,KAAK,UAAY,KACjB,MAAM,qBAAqB,CAC7B,CAEA,QAAS,CAaP,OAAO,KAAK,MACR,CAAI;sBACU,KAAK,YAAc,IAAME,EAAQ;;wBAE/B,KAAK,OAAS,OAAO;2CAErC,CAAI,4BACV,CACF,EArEGR,EAAA,CAAAS,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAP,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzCF,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,QAAA,IAAA,EAAA,EAN3B,EAAAF,EAAA,CAAAU,EAAc,SAAS,CAAA,EAAAR,CAAA,E"}
1
+ {"version":3,"file":"code.js","names":["_decorate","__decorate","EDITS","LANGUAGE_CLASS","COPIED_FOR","prism","loaded","loadPrism","module","error","setLanguage","element","language","languageOf","value","isCodeEdit","pre","record","node","BdCode","LitElement","_args","SlotController","Announcer","ObserverController","records","observer","codeCSS","scrollable","overflow","scrolls","adoptStyles","pageCodeCSS","changed","later","name","first","code","tabStop","text","said","copied","nothing","property","state","defineElement"],"sources":["../../../../src/components/code/code.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { defineElement } from '#shared/define-element.ts';\nimport { adoptStyles } from '#shared/adopt-styles.ts';\nimport { Announcer } from '#shared/announcer.ts';\nimport { ObserverController } from '#shared/controller.observer.ts';\nimport { SlotController } from '#shared/controller.slot.ts';\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport '#tokens/tokens.ts';\nimport '#components/caption/caption.ts';\nimport { codeCSS, pageCodeCSS } from './code.css.ts';\nimport type { PrismApi } from './prism.ts';\n\n/* What the page can change in its code: a word, a line, the whole <pre>. */\nconst EDITS: MutationObserverInit = { childList: true, subtree: true, characterData: true };\n\n/* Prism's own test for a language class, on an element or an ancestor. */\nconst LANGUAGE_CLASS = /(?:^|\\s)lang(?:uage)?-[\\w-]+(?=\\s|$)/gi;\n\n/* How long the button says `copied`, as bd-install-option's does. */\nconst COPIED_FOR = 1500;\n\n/* Prism, imported the first time a block has the page's code to highlight\n and a language, and then shared by every block. A failed import is\n forgotten, so the next block to need it tries again; meanwhile the code\n stays plain, which is how it reads without Prism anyway. */\nlet prism: Promise<PrismApi> | undefined;\nlet loaded: PrismApi | undefined;\nconst loadPrism = () => (prism ??= import('./prism.ts').then(\n module => (loaded = module.Prism),\n error => {\n prism = undefined;\n throw error;\n }\n));\n\n/* Writes `language-<language>` on an element in place of any language class it had, as Prism does. */\nfunction setLanguage(element: Element, language: string) {\n element.className = element.className.replace(LANGUAGE_CLASS, ' ').trim();\n element.classList.add(`language-${language}`);\n}\n\n/* The language a block highlights in: its `language` when that is an id,\n `none` otherwise. The attribute taken away leaves the property null --\n which a regex would read as the word \"null\" -- and a binding can leave it\n undefined, so a value that is no string is no language. */\nconst languageOf = (value: unknown) => typeof value === 'string' && /^[\\w-]+$/.test(value) ? value : 'none';\n\n/* Whether the code inside a node changed: a node in the page's <pre>, or a\n <pre> written into or taken out of the block. An edit to the caption or\n the button's words is neither. */\nconst isCodeEdit = (record: MutationRecord, pre: Element | null) => (pre?.contains(record.target) ?? false)\n || [...record.addedNodes, ...record.removedNodes].some(node => node.nodeName === 'PRE');\n\n/**\n * Code, inline in prose or as a block.\n *\n * INLINE (no `block`) is the page's words in a `<code>` with a tinted\n * ground. It never loads Prism.\n *\n * A BLOCK takes its code one of two ways, and draws both the same box:\n *\n * <bd-code block language=\"javascript\">\n * <pre><code>const a = 1;</code></pre>\n * <span slot=\"copy\">Copy code</span>\n * <span slot=\"copied\">Copied</span>\n * <span slot=\"caption\">What the snippet does</span>\n * </bd-code>\n *\n * <bd-code block label=\"Button styles\">.button { … }</bd-code>\n *\n * THE PAGE'S OWN <pre><code> is the v4 markup, the shipped blog's code block\n * (www-blog-csg blocks/csg/code) and the v4 blog's bd-blog-code-block: the page\n * writes the code, its `<`, `>` and `&` escaped, as any HTML page writes code.\n * Nothing of it is copied into the shadow root. With a `language` the block\n * highlights the <code> where it is, with the vendored Prism it imports the\n * first time a block needs it (prism.ts): it writes `language-<language>` on\n * the <code> in place of any language class it had, and Prism replaces the\n * code's children with its token <span>s and sets the same class on the <pre>.\n * A language the bundle has no grammar for leaves the code as the page\n * wrote it, its markup included, under the `language-<language>` Prism would\n * write; none is written `language-none` without loading Prism. The <pre>, the\n * <code> and the tokens are light DOM, which no rule in the shadow root\n * reaches past the slotted <pre>, so their styles are a sheet adopted into\n * the tree the block sits in (shared/adopt-styles.ts, `pageCodeCSS`).\n *\n * It highlights again when the page changes the code, the <pre> or the\n * `language`, and only then: the caption's or the button's words changing\n * re-tokenises nothing. Its own highlighting is a change too, so after highlighting it\n * takes the records that change queued off the observer, which is what keeps\n * it from highlighting for ever. A Lit page binds the code as the <code>'s\n * `.textContent`, not as a child part, which Prism's tokens take the place of.\n *\n * The code wraps, so the page's <pre> has nothing to scroll and is no tab\n * stop: the `tabindex` Prism writes on a <pre> that has none is taken back\n * straight after. The page's own rules win over this sheet, though, and one\n * that makes its <pre> scroll -- a Prism theme's `white-space: pre` and\n * `overflow: auto` -- makes it a tab stop while there is something to\n * scroll, as the block's own <pre> is. A `tabindex` the page wrote stays,\n * and so does naming its <pre>, which is the page's to do: `label` names\n * only the block's own <pre>.\n *\n * WORDS GIVEN AS TEXT are drawn in the block's own `<pre><code>`, as before\n * the page could write one: plain, since Prism would have to rewrite them\n * where they are, and a slot's text is the page's. This <pre> is a\n * `role=\"group\"` named by `label` (\"Code\" without one) -- a group rather than\n * a region, which is a landmark, and a page of code samples would fill the\n * landmark list -- and a tab stop only while something in it is wider than\n * its box, so a reader can scroll it from the keyboard.\n *\n * THE COPY BUTTON copies the code's text as written. It is the block's own,\n * pinned to the code's top-right corner outside the <pre>, so its words are\n * never part of what is copied; it shows on hover and focus, and always\n * where there is no hover. Its words are the page's, as bd-install-option's\n * are: `copy` names it, and after a copy it shows `copied` for 1.5s and\n * ignores presses meanwhile (it is not disabled, which would throw keyboard\n * focus to the top of the page). The block's own live region, in the page\n * before it speaks, says the `copied` words (shared/announcer.ts), since a\n * screen reader does not reliably read a focused button's new name. Without\n * `copy` words there is no button: it would have no name. Without `copied`\n * words it keeps its `copy` words after a copy and says nothing.\n *\n * `caption` is a line under the block, drawn by bd-caption.\n */\n@defineElement('bd-code')\nexport class BdCode extends LitElement {\n static styles = [codeCSS];\n\n @property({ type: Boolean, attribute: 'block', reflect: true })\n block = false;\n /* The block's own <pre>'s accessible name, and only that: it never renders\n (contract rule 6), so it stays an attribute rather than becoming a slot. */\n @property({ type: String, attribute: 'label' })\n label = '';\n /** Prism language id (javascript, bash, python, …) for the page's own <pre><code>; none leaves the code plain */\n @property({ type: String, attribute: 'language' })\n language = '';\n\n @state()\n private _copied = false;\n\n _slots = new SlotController(this, { slots: ['caption', 'copy', 'copied'] });\n\n _announcer = new Announcer(this);\n\n /* Presses are ignored from the one that starts a copy until the button\n shows `copy` again: set before the clipboard is awaited, as `_copied` is\n not, which says the copy worked only once it has. */\n private _busy = false;\n\n private _reset: ReturnType<typeof setTimeout> | 0 = 0;\n\n /* The highlight waiting for Prism to load, which getUpdateComplete() waits\n for: until it lands the block is not drawn as it will be. */\n private _highlighting?: Promise<void>;\n\n /* Whether the last render drew the page's <pre> rather than its own. */\n private _drewPage = false;\n\n /* The page's <code> elements Prism has replaced the words of. */\n private _tokenised = new WeakSet<Element>();\n\n /* The page's <pre> elements this block made a tab stop: their tabindex is\n the block's to take back. Any other tabindex on one is the page's. */\n private _tabStops = new WeakSet<Element>();\n\n /* Observes once rendered and again on every reconnect, when the size\n watch below starts again too: a move out of the page and back stops\n nothing. */\n _edits = new ObserverController(this,\n () => new MutationObserver(records => this._edited(records)),\n observer => {\n observer.observe(this, EDITS);\n this.highlight();\n this._watchSize();\n });\n\n _scrollable?: boolean;\n _resize? : ResizeObserver;\n _observed? : Element | null;\n\n /* The <pre> the page wrote, when it gave the code that way. */\n get _pagePre() {\n return this.block ? this.querySelector(':scope > pre') : null;\n }\n\n /* Whether the <pre> drawn is wider than its box. Only then is there\n anything to scroll, and only then does it need to be a tab stop. The box\n changes size with the page, and the content with the light DOM, so both\n are watched. */\n _measure() {\n const pre = this.shadowRoot?.querySelector('pre');\n const scrollable = !!pre && pre.scrollWidth > pre.clientWidth;\n if (scrollable !== this._scrollable) {\n this._scrollable = scrollable;\n this.requestUpdate();\n }\n this._measurePage();\n }\n\n /* The page's <pre> wraps, so it scrolls only where the page's own rules\n say so; then it is a tab stop while something in it is wider than its\n box, as the block's own <pre> is. A tabindex the page wrote is left\n alone. */\n private _measurePage() {\n const pre = this._pagePre;\n if (!pre || (pre.hasAttribute('tabindex') && !this._tabStops.has(pre))) return;\n const overflow = getComputedStyle(pre).overflowX;\n const scrolls = (overflow === 'auto' || overflow === 'scroll') && pre.scrollWidth > pre.clientWidth;\n if (scrolls && !this._tabStops.has(pre)) {\n pre.setAttribute('tabindex', '0');\n this._tabStops.add(pre);\n } else if (!scrolls && this._tabStops.has(pre)) {\n pre.removeAttribute('tabindex');\n this._tabStops.delete(pre);\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (this.block) adoptStyles(this, 'bd-code', pageCodeCSS);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._resize?.disconnect();\n this._observed = null;\n clearTimeout(this._reset);\n this._copied = false;\n this._busy = false;\n }\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has('block') && this.block && this.isConnected) adoptStyles(this, 'bd-code', pageCodeCSS);\n }\n\n /* Follows the size of the <pre> drawn: the page's, or the block's own the\n last render drew. */\n private _watchSize() {\n const pre = this._pagePre ?? this.shadowRoot?.querySelector('pre') ?? null;\n if (pre !== this._observed) {\n this._resize?.disconnect();\n this._observed = pre;\n if (pre) (this._resize ??= new ResizeObserver(() => this._measure())).observe(pre);\n }\n this._measure();\n }\n\n updated(changed: PropertyValues<this>) {\n this._watchSize();\n /* The first render's highlight is the observer's, once it observes. */\n const later = (name: 'language' | 'block') => changed.has(name) && changed.get(name) !== undefined;\n if (later('language') || later('block')) this.highlight();\n }\n\n async getUpdateComplete() {\n const first = await super.getUpdateComplete();\n await this._highlighting;\n return first;\n }\n\n /* The page changed what is in the block. A <pre> written or taken away\n switches which box is drawn; only a change to the code highlights it\n again. */\n private _edited(records: MutationRecord[]) {\n if (!!this._pagePre !== this._drewPage) this.requestUpdate();\n const pre = this._pagePre;\n if (records.some(record => isCodeEdit(record, pre))) this.highlight();\n this._watchSize();\n }\n\n /* The code as the page wrote it, under `language-<language>`: code this\n block highlighted goes back to its words, and markup the page wrote in a\n <code> it never highlighted stays. */\n private _plain(code: Element, language: string) {\n if (this._tokenised.has(code)) code.replaceChildren(code.textContent ?? '');\n this._tokenised.delete(code);\n setLanguage(code, language);\n setLanguage(code.parentElement!, language);\n }\n\n /** Highlights the page's `<pre><code>` in place, with the block's `language`. */\n highlight() {\n const code = this._pagePre?.querySelector(':scope > code');\n if (code) {\n const language = languageOf(this.language);\n const pre = code.parentElement!;\n if (language === 'none') {\n this._plain(code, 'none');\n } else if (loaded && typeof loaded.languages[language] !== 'object') {\n /* A language the bundle has no grammar for: Prism would write the\n code's text over the page's markup and draw no token. */\n this._plain(code, language);\n } else if (loaded) {\n const tabStop = pre.hasAttribute('tabindex');\n setLanguage(code, language);\n loaded.highlightElement(code);\n this._tokenised.add(code);\n if (!tabStop) pre.removeAttribute('tabindex');\n this._measurePage();\n } else {\n this._highlighting ??= loadPrism().then(\n () => {\n this._highlighting = undefined;\n this.highlight();\n },\n () => { this._highlighting = undefined; }\n );\n }\n }\n this._edits.observer?.takeRecords();\n }\n\n /* The code as the page wrote it: its <code>'s text, or the words it gave\n the block's own <pre>. */\n private _text() {\n const pre = this._pagePre;\n if (pre) return (pre.querySelector(':scope > code') ?? pre).textContent ?? '';\n const slot = this.renderRoot.querySelector<HTMLSlotElement>('pre slot:not([name])');\n return (slot?.assignedNodes({ flatten: true }) ?? []).map(node => node.textContent).join('');\n }\n\n /* The busy flag is set before the clipboard is awaited, so two presses in\n quick succession cannot both start a copy; the button says `copied` once\n the clipboard has the code, and a refused copy leaves it as it was. */\n private async _copy() {\n const text = this._text();\n if (!text || this._busy) return;\n this._busy = true;\n try {\n await navigator.clipboard.writeText(text);\n } catch {\n this._busy = false;\n return;\n }\n this._copied = true;\n const said = this._slots.text('copied');\n if (said) this._announcer.say(said);\n clearTimeout(this._reset);\n this._reset = setTimeout(() => {\n this._copied = false;\n this._busy = false;\n }, COPIED_FOR);\n }\n\n render() {\n this._drewPage = !!this._pagePre;\n if (!this.block) return html`<code><slot></slot></code>`;\n /* `copied` takes the place of `copy` only while it has words to show:\n without them the button keeps its `copy` words, and its name. */\n const copied = this._copied && this._slots.has('copied');\n // Its own <pre> nests a <code>: <pre> carries the preformatted\n // whitespace, <code> carries \"this is code\". No whitespace around the\n // slot inside it, which would render.\n const code = this._drewPage\n ? html`<slot></slot>`\n : html`<pre\n tabindex=\"${this._scrollable ? '0' : nothing}\"\n role=\"group\"\n aria-label=\"${this.label || 'Code'}\"\n ><code><slot></slot></code></pre>`;\n return html`\n <figure part=\"figure\">\n <div class=\"code\">\n ${code}\n <button type=\"button\" class=\"copy\" part=\"copy\" ?hidden=${!this._slots.has('copy')}\n ?data-copied=${copied} @click=${this._copy}\n ><span ?hidden=${copied}><slot name=\"copy\"></slot></span\n ><span ?hidden=${!copied}><slot name=\"copied\"></slot></span></button>\n </div>\n <bd-caption class=\"caption\" part=\"caption\" ?hidden=${!this._slots.has('caption')}\n ><slot name=\"caption\"></slot\n ></bd-caption>\n </figure>\n <span class=\"status\" role=\"status\">${this._announcer.status}</span>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-code': BdCode;\n }\n}\n"],"mappings":"A,2lBAcA,IAAME,EAA8B,CAAE,UAAW,GAAM,QAAS,GAAM,cAAe,EAAK,EAGpFC,EAAiB,yCAGjBC,EAAa,KAMfC,EACAC,EACEC,MAAmB,IAAU,OAAO,aAAa,CAAC,KACtD,GAAW,EAASC,EAAO,MAC3B,GAAS,CAEP,KADA,GAAQ,IAAA,GACFC,CACR,CACF,EAGA,SAASC,EAAY,EAAkB,EAAkB,CACvD,EAAQ,UAAYC,EAAQ,UAAU,QAAQR,EAAgB,GAAG,CAAC,CAAC,KAAK,EACxEQ,EAAQ,UAAU,IAAI,YAAYC,GAAU,CAC9C,CAMA,IAAMC,EAAc,GAAmB,OAAOC,GAAU,UAAY,WAAW,KAAKA,CAAK,EAAIA,EAAQ,OAK/FC,GAAc,EAAwB,KAAyBC,GAAK,SAASC,EAAO,MAAM,GAAK,KAChG,CAAC,GAAGA,EAAO,WAAY,GAAGA,EAAO,YAAY,CAAC,CAAC,KAAK,GAAQC,EAAK,WAAa,KAAK,EAyE3EC,EAAN,cAAqBC,CAAW,C,8BAI7B,KAAA,MAAA,GAIA,KAAA,MAAA,GAGG,KAAA,SAAA,GAGO,KAAA,QAAA,GAET,KAAA,OAAA,IAAIE,EAAe,KAAM,CAAE,MAAO,CAAC,UAAW,OAAQ,QAAQ,CAAE,CAAC,EAE7D,KAAA,WAAA,IAAIC,EAAU,IAAI,EAKf,KAAA,MAAA,GAEoC,KAAA,OAAA,EAOhC,KAAA,UAAA,GAGC,KAAA,2BAAA,IAAI,QAIL,KAAA,0BAAA,IAAI,QAKf,KAAA,OAAA,IAAIC,EAAmB,SACxB,IAAI,iBAAiB,GAAW,KAAK,QAAQC,CAAO,CAAC,EAC3D,GAAY,CACVC,EAAS,QAAQ,KAAMxB,CAAK,EAC5B,KAAK,UAAU,EACf,KAAK,WAAW,CAClB,CAAC,C,QAjDa,KAAA,OAAA,CAACyB,CAAO,C,CAwDxB,IAAI,UAAW,CACb,OAAO,KAAK,MAAQ,KAAK,cAAc,cAAc,EAAI,IAC3D,CAMA,UAAW,CACT,IAAMX,EAAM,KAAK,YAAY,cAAc,KAAK,EAC1CY,EAAa,CAAC,CAACZ,GAAOA,EAAI,YAAcA,EAAI,YAC9CY,IAAe,KAAK,cACtB,KAAK,YAAcA,EACnB,KAAK,cAAc,GAErB,KAAK,aAAa,CACpB,CAMA,cAAuB,CACrB,IAAMZ,EAAM,KAAK,SACjB,GAAI,CAACA,GAAQA,EAAI,aAAa,UAAU,GAAK,CAAC,KAAK,UAAU,IAAIA,CAAG,EAAI,OACxE,IAAMa,EAAW,iBAAiBb,CAAG,CAAC,CAAC,UACjCc,GAAWD,IAAa,QAAUA,IAAa,WAAab,EAAI,YAAcA,EAAI,YACpFc,GAAW,CAAC,KAAK,UAAU,IAAId,CAAG,GACpCA,EAAI,aAAa,WAAY,GAAG,EAChC,KAAK,UAAU,IAAIA,CAAG,GACb,CAACc,GAAW,KAAK,UAAU,IAAId,CAAG,IAC3CA,EAAI,gBAAgB,UAAU,EAC9B,KAAK,UAAU,OAAOA,CAAG,EAE7B,CAEA,mBAAoB,CAClB,MAAM,kBAAkB,EACpB,KAAK,OAAOe,EAAY,KAAM,UAAWC,CAAW,CAC1D,CAEA,sBAAuB,CACrB,MAAM,qBAAqB,EAC3B,KAAK,SAAS,WAAW,EACzB,KAAK,UAAY,KACjB,aAAa,KAAK,MAAM,EACxB,KAAK,QAAU,GACf,KAAK,MAAQ,EACf,CAEA,WAAW,EAA+B,CACpCC,EAAQ,IAAI,OAAO,GAAK,KAAK,OAAS,KAAK,aAAaF,EAAY,KAAM,UAAWC,CAAW,CACtG,CAIA,YAAqB,CACnB,IAAMhB,EAAM,KAAK,UAAY,KAAK,YAAY,cAAc,KAAK,GAAK,KAClEA,IAAQ,KAAK,YACf,KAAK,SAAS,WAAW,EACzB,KAAK,UAAYA,EACbA,IAAM,KAAK,UAAY,IAAI,mBAAqB,KAAK,SAAS,CAAC,EAAA,CAAG,QAAQA,CAAG,GAEnF,KAAK,SAAS,CAChB,CAEA,QAAQ,EAA+B,CACrC,KAAK,WAAW,EAEhB,IAAMkB,EAAS,GAA+BD,EAAQ,IAAIE,CAAI,GAAKF,EAAQ,IAAIE,CAAI,IAAM,IAAA,IACrFD,EAAM,UAAU,GAAKA,EAAM,OAAO,IAAG,KAAK,UAAU,CAC1D,CAEA,MAAM,mBAAoB,CACxB,IAAME,EAAQ,MAAM,MAAM,kBAAkB,EAE5C,OADA,MAAM,KAAK,cACJA,CACT,CAKA,QAAgB,EAA2B,CACrC,CAAC,CAAC,KAAK,WAAa,KAAK,WAAW,KAAK,cAAc,EAC3D,IAAMpB,EAAM,KAAK,SACbS,EAAQ,KAAK,GAAUV,EAAWE,EAAQD,CAAG,CAAC,GAAG,KAAK,UAAU,EACpE,KAAK,WAAW,CAClB,CAKA,OAAe,EAAe,EAAkB,CAC1C,KAAK,WAAW,IAAIqB,CAAI,GAAGA,EAAK,gBAAgBA,EAAK,aAAe,EAAE,EAC1E,KAAK,WAAW,OAAOA,CAAI,EAC3B3B,EAAY2B,EAAMzB,CAAQ,EAC1BF,EAAY2B,EAAK,cAAgBzB,CAAQ,CAC3C,CAGA,WAAY,CACV,IAAMyB,EAAO,KAAK,UAAU,cAAc,eAAe,EACzD,GAAIA,EAAM,CACR,IAAMzB,EAAWC,EAAW,KAAK,QAAQ,EACnCG,EAAMqB,EAAK,cACjB,GAAIzB,IAAa,OACf,KAAK,OAAOyB,EAAM,MAAM,OACnB,GAAI/B,GAAU,OAAOA,EAAO,UAAUM,IAAc,SAGzD,KAAK,OAAOyB,EAAMzB,CAAQ,OACrB,GAAIN,EAAQ,CACjB,IAAMgC,EAAUtB,EAAI,aAAa,UAAU,EAC3CN,EAAY2B,EAAMzB,CAAQ,EAC1BN,EAAO,iBAAiB+B,CAAI,EAC5B,KAAK,WAAW,IAAIA,CAAI,EACnBC,GAAStB,EAAI,gBAAgB,UAAU,EAC5C,KAAK,aAAa,CACpB,KACE,MAAK,gBAAkBT,EAAU,CAAC,CAAC,SAC3B,CACJ,KAAK,cAAgB,IAAA,GACrB,KAAK,UAAU,CACjB,MACM,CAAE,KAAK,cAAgB,IAAA,EAAW,CAC1C,CAEJ,CACA,KAAK,OAAO,UAAU,YAAY,CACpC,CAIA,OAAgB,CACd,IAAMS,EAAM,KAAK,SAGjB,OAFIA,GAAaA,EAAI,cAAc,eAAe,GAAKA,EAAA,CAAK,aAAe,IAC9D,KAAK,WAAW,cAA+B,sBACpD,CAAA,EAAM,cAAc,CAAE,QAAS,EAAK,CAAC,GAAK,CAAC,EAAA,CAAG,IAAI,GAAQE,EAAK,WAAW,CAAC,CAAC,KAAK,EAAE,CAC7F,CAKA,MAAc,OAAQ,CACpB,IAAMqB,EAAO,KAAK,MAAM,EACxB,GAAI,CAACA,GAAQ,KAAK,MAAO,OACzB,KAAK,MAAQ,GACb,GAAI,CACF,MAAM,UAAU,UAAU,UAAUA,CAAI,CAC1C,MAAQ,CACN,KAAK,MAAQ,GACb,MACF,CACA,KAAK,QAAU,GACf,IAAMC,EAAO,KAAK,OAAO,KAAK,QAAQ,EAClCA,GAAM,KAAK,WAAW,IAAIA,CAAI,EAClC,aAAa,KAAK,MAAM,EACxB,KAAK,OAAS,eAAiB,CAC7B,KAAK,QAAU,GACf,KAAK,MAAQ,EACf,EAAGpC,CAAU,CACf,CAEA,QAAS,CAEP,GADA,KAAK,UAAY,CAAC,CAAC,KAAK,SACpB,CAAC,KAAK,MAAO,MAAO,EAAI,6BAG5B,IAAMqC,EAAS,KAAK,SAAW,KAAK,OAAO,IAAI,QAAQ,EAIjDJ,EAAO,KAAK,UACd,CAAI,gBACJ,CAAI;sBACU,KAAK,YAAc,IAAMK,EAAQ;;wBAE/B,KAAK,OAAS,OAAO;2CAEzC,MAAO,EAAI;;;YAGHL,EAAK;mEACkD,CAAC,KAAK,OAAO,IAAI,MAAM,EAAE;2BACjEI,EAAO,UAAU,KAAK,MAAM;2BAC5BA,EAAO;2BACP,CAACA,EAAO;;6DAE0B,CAAC,KAAK,OAAO,IAAI,SAAS,EAAE;;;;2CAI9C,KAAK,WAAW,OAAO;KAEhE,CACF,EAzPGzC,EAAA,CAAA2C,EAAS,CAAE,KAAM,QAAS,UAAW,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAxB,EAAA,UAAA,QAAA,IAAA,EAAA,EAI7DnB,EAAA,CAAA2C,EAAS,CAAE,KAAM,OAAQ,UAAW,OAAQ,CAAC,CAAA,EAAAxB,EAAA,UAAA,QAAA,IAAA,EAAA,EAG7CnB,EAAA,CAAA2C,EAAS,CAAE,KAAM,OAAQ,UAAW,UAAW,CAAC,CAAA,EAAAxB,EAAA,UAAA,WAAA,IAAA,EAAA,EAGhDnB,EAAA,CAAA4C,EAAM,CAAA,EAAAzB,EAAA,UAAA,UAAA,IAAA,EAAA,EAdR,EAAAnB,EAAA,CAAA6C,EAAc,SAAS,CAAA,EAAA1B,CAAA,E"}
@@ -0,0 +1,2 @@
1
+ /** globalThis.Prism as the page had it, or undefined if it had none. */
2
+ export declare const pagePrism: PropertyDescriptor | undefined;
@@ -0,0 +1,2 @@
1
+ var e=globalThis,t=Object.getOwnPropertyDescriptor(e,`Prism`);e.Prism={manual:!0};export{t as pagePrism};
2
+ //# sourceMappingURL=prism-page.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prism-page.js","names":["scope","pagePrism"],"sources":["../../../../src/components/code/prism-page.ts"],"sourcesContent":["/**\n * What prism.ts needs done before the vendored bundle evaluates, in a module\n * of its own because a module's imports evaluate before its body: prism.ts\n * imports this first, then the bundle.\n *\n * The bundle installs itself as globalThis.Prism, and reads `manual` from\n * whatever globalThis.Prism held when it starts. So the page's own Prism, if\n * it has one, is set aside here, and globalThis.Prism holds only the manual\n * flag while the bundle reads it: the bundle never schedules its\n * whole-document highlight, and prism.ts puts the page's Prism back -- or\n * takes the global away -- once it has kept the bundle's.\n */\nconst scope = globalThis as { Prism?: unknown };\n\n/** globalThis.Prism as the page had it, or undefined if it had none. */\nexport const pagePrism = Object.getOwnPropertyDescriptor(scope, 'Prism');\n\nscope.Prism = { manual: true };\n"],"mappings":"AAYA,IAAMA,EAAQ,WAGDC,EAAY,OAAO,yBAAyBD,EAAO,OAAO,EAEvE,EAAM,MAAQ,CAAE,OAAQ,EAAK,E"}
@@ -0,0 +1,10 @@
1
+ import "../../vendor/prism/prism.js";
2
+ /** What bd-code uses of Prism. */
3
+ export interface PrismApi {
4
+ manual?: boolean;
5
+ /** The grammars the bundle holds, by language id and alias. */
6
+ languages: Record<string, unknown>;
7
+ /** Replaces the element's children with its code's tokens, and sets its language class (and its <pre>'s). */
8
+ highlightElement(element: Element): void;
9
+ }
10
+ export declare const Prism: PrismApi;
@@ -0,0 +1,2 @@
1
+ import{pagePrism as e}from"./prism-page.js";import"../../vendor/prism/prism.js";var t=globalThis,n=t.Prism;n.manual=!0,e?Object.defineProperty(t,"Prism",e):delete t.Prism;export{n as Prism};
2
+ //# sourceMappingURL=prism.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prism.js","names":["scope","Prism","pagePrism"],"sources":["../../../../src/components/code/prism.ts"],"sourcesContent":["/**\n * PrismJS, the vendored bundle in src/vendor/prism (its README says what it\n * holds and how to trim it again), as bd-code uses it.\n *\n * Nothing imports this module statically: bd-code imports it with import()\n * the first time a block has code of the page's to highlight and a\n * `language`, so inline code and a plain block never load Prism.\n *\n * The bundle is a classic script that installs itself as globalThis.Prism,\n * and it evaluates as a module unchanged. This module is evaluated straight\n * after it, in the same step, so the Prism read here is the one this copy of\n * the package installed, whatever another copy, or the page's own Prism,\n * puts on globalThis later.\n *\n * The global is the page's, not this package's. prism-page.ts, imported\n * first, sets the page's own Prism aside and hands the bundle the manual\n * flag -- what the script tag's data-manual would say, which a module has\n * no tag to carry -- so the bundle never highlights the whole document and\n * only ever highlights the elements it is handed. Once the bundle's Prism\n * is kept here, globalThis.Prism is put back as the page had it: the page's\n * own Prism, loaded before, keeps its grammars and plugins, and one loaded\n * after finds no manual flag of ours to inherit.\n */\nimport { pagePrism } from './prism-page.ts';\nimport '#vendor/prism/prism.js';\n\n/** What bd-code uses of Prism. */\nexport interface PrismApi {\n manual?: boolean;\n /** The grammars the bundle holds, by language id and alias. */\n languages: Record<string, unknown>;\n /** Replaces the element's children with its code's tokens, and sets its language class (and its <pre>'s). */\n highlightElement(element: Element): void;\n}\n\nconst scope = globalThis as unknown as { Prism?: PrismApi };\n\nexport const Prism = scope.Prism!;\nPrism.manual = true;\n\nif (pagePrism) Object.defineProperty(scope, 'Prism', pagePrism);\nelse delete scope.Prism;\n"],"mappings":"A,gFAmCA,IAAMA,EAAQ,WAEDC,EAAQD,EAAM,MAC3B,EAAM,OAAS,GAEXE,EAAW,OAAO,eAAeF,EAAO,QAASE,CAAS,EACzD,OAAOF,EAAM,M"}
@@ -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);background:var(--status-brand-surface);display:block}:host([variant=dark]){background:linear-gradient(160deg, var(--color-neutral-800) 0%, #0b1626 100%)}:host([variant=dark]) .bd-comparisonpanel-title{color:var(--color-text-inverse)}:host([variant=dark]) .bd-comparisonpanel-description{color:var(--color-text-muted-inverse)}:host([variant=dark]) .bd-comparisonpanel-column{background:color-mix(in srgb, var(--color-neutral-0) 3%, transparent);border-color:var(--color-border-container-inverse)}:host([variant=dark]) .bd-comparisonpanel-column-title{color:var(--color-text-muted-inverse);font-family:var(--typography-fontFamily-mono);text-transform:uppercase;letter-spacing:var(--typography-letterSpacing-widest);font-weight:var(--typography-fontWeight-bold);font-size:var(--typography-fontSize-xs)}:host([variant=dark]) .bd-comparisonpanel-text{color:var(--color-text-inverse)}.bd-comparisonpanel-wrapper{padding-block:var(--spacing-48);box-sizing:border-box}.bd-comparisonpanel-title{margin:0 0 var(--spacing-16)}.bd-comparisonpanel-description{margin:0 0 var(--spacing-48);color:var(--color-text-muted);max-width:var(--content-width-readable)}.bd-comparisonpanel-columns{gap:var(--spacing-24);grid-template-columns:1fr 1fr;display:grid}.bd-comparisonpanel-column{background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--card-radius);padding:var(--card-padding);box-sizing:border-box}.bd-comparisonpanel-column-title{margin:0 0 var(--spacing-16)}.bd-comparisonpanel-list{gap:var(--spacing-16);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.bd-comparisonpanel-item{align-items:flex-start;gap:var(--spacing-12);display:flex}.bd-comparisonpanel-icon{width:var(--spacing-20);height:var(--spacing-20);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;margin-top:1px;display:flex}.bd-comparisonpanel-icon--positive{background:var(--status-success-fill)}.bd-comparisonpanel-icon--negative{background:var(--status-error-fill)}.bd-comparisonpanel-text{color:var(--color-text-primary);margin:0}@media (width<768px){.bd-comparisonpanel-columns{grid-template-columns:1fr}.bd-comparisonpanel-wrapper{padding:var(--spacing-32) var(--spacing-24)}.bd-comparisonpanel-column{padding:var(--card-padding-compact)}}`;export{t as default};
1
+ import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);background:var(--status-brand-surface);display:block}:host([appearance=dark]){background:linear-gradient(160deg, var(--color-neutral-800) 0%, #0b1626 100%);color-scheme:light}.bd-comparisonpanel-wrapper{padding-block:var(--spacing-48);box-sizing:border-box}.bd-comparisonpanel-title{margin:0 0 var(--spacing-16)}.bd-comparisonpanel-title ::slotted([slot=title]){--bd-heading-font-size:var(--typography-heading-h2-fontSize);--bd-heading-font-weight:var(--typography-heading-h2-fontWeight);--bd-heading-line-height:var(--typography-heading-h2-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h2-letterSpacing);--bd-heading-font-family:var(--typography-heading-h2-fontFamily)}:host([appearance=dark]) .bd-comparisonpanel-title ::slotted([slot=title]){--bd-heading-color:var(--color-text-inverse);--bd-paragraph-color:var(--color-text-inverse)}.bd-comparisonpanel-description{margin:0 0 var(--spacing-48);max-width:var(--content-width-readable)}.bd-comparisonpanel-description ::slotted([slot=description]){--bd-heading-color:var(--color-text-muted);--bd-paragraph-color:var(--color-text-muted)}.bd-comparisonpanel-description ::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)}:host([appearance=dark]) .bd-comparisonpanel-description ::slotted([slot=description]){--bd-paragraph-color:var(--color-text-muted-inverse)}.bd-comparisonpanel-columns{gap:var(--spacing-24);grid-template-columns:1fr 1fr;display:grid}.bd-comparisonpanel-column{background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--card-radius);padding:var(--card-padding);box-sizing:border-box}:host([appearance=dark]) .bd-comparisonpanel-column{background:color-mix(in srgb, var(--color-neutral-0) 3%, transparent);border-color:var(--color-border-container-inverse)}.bd-comparisonpanel-column-title{margin:0 0 var(--spacing-16)}.bd-comparisonpanel-column-title ::slotted([slot=positive-title]),.bd-comparisonpanel-column-title ::slotted([slot=negative-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)}:host([appearance=dark]) .bd-comparisonpanel-column-title ::slotted([slot=positive-title]),:host([appearance=dark]) .bd-comparisonpanel-column-title ::slotted([slot=negative-title]){--bd-heading-color:var(--color-text-muted-inverse);--bd-heading-font-family:var(--typography-fontFamily-mono);--bd-heading-letter-spacing:var(--typography-letterSpacing-widest);--bd-heading-font-weight:var(--typography-fontWeight-bold);--bd-heading-font-size:var(--typography-fontSize-xs);text-transform:uppercase}.bd-comparisonpanel-list{gap:var(--spacing-16);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.bd-comparisonpanel-list[hidden]{display:none}.bd-comparisonpanel-list ::slotted(bd-li){--bd-li-margin-bottom:0}:host([appearance=dark]) .bd-comparisonpanel-list ::slotted(bd-li){--bd-heading-color:var(--color-text-inverse);--bd-paragraph-color:var(--color-text-inverse)}@media (width<768px){.bd-comparisonpanel-columns{grid-template-columns:1fr}.bd-comparisonpanel-wrapper{padding:var(--spacing-32) var(--spacing-24)}.bd-comparisonpanel-column{padding:var(--card-padding-compact)}}`;export{t as default};
2
2
  //# sourceMappingURL=comparison-panel.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"comparison-panel.css.js","names":["comparison_panel_css_default"],"sources":["../../../../src/components/comparison-panel/comparison-panel.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n background: var(--status-brand-surface);\n }\n\n /* === DARK VARIANT ===\n The same inverse band bd-process-steps draws, read through the same\n inverse roles, so the two dark sections agree. */\n :host([variant=\"dark\"]) {\n /* no token: the #0b1626 end stop is bd-process-steps' gradient, shared\n until the inverse band has a role of its own. */\n background: linear-gradient(160deg, var(--color-neutral-800) 0%, #0b1626 100%);\n }\n\n :host([variant=\"dark\"]) .bd-comparisonpanel-title {\n color: var(--color-text-inverse);\n }\n\n :host([variant=\"dark\"]) .bd-comparisonpanel-description {\n color: var(--color-text-muted-inverse);\n }\n\n :host([variant=\"dark\"]) .bd-comparisonpanel-column {\n /* no token: a 3% white lift on the inverse band; no surface role is\n translucent. */\n background: color-mix(in srgb, var(--color-neutral-0) 3%, transparent);\n border-color: var(--color-border-container-inverse);\n }\n\n :host([variant=\"dark\"]) .bd-comparisonpanel-column-title {\n color: var(--color-text-muted-inverse);\n font-family: var(--typography-fontFamily-mono);\n text-transform: uppercase;\n letter-spacing: var(--typography-letterSpacing-widest);\n /* no role: the mono column label, a marker rather than a text type --\n see header-code.css.ts's code badge. */\n font-weight: var(--typography-fontWeight-bold);\n /* no role: the size of the same marker. */\n font-size: var(--typography-fontSize-xs);\n }\n\n :host([variant=\"dark\"]) .bd-comparisonpanel-text {\n color: var(--color-text-inverse);\n }\n\n .bd-comparisonpanel-wrapper {\n padding-block: var(--spacing-48);\n box-sizing: border-box;\n }\n\n .bd-comparisonpanel-title {\n margin: 0 0 var(--spacing-16);\n }\n\n .bd-comparisonpanel-description {\n margin: 0 0 var(--spacing-48);\n color: var(--color-text-muted);\n max-width: var(--content-width-readable);\n }\n\n /* === COLUMNS === */\n .bd-comparisonpanel-columns {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: var(--spacing-24);\n }\n\n .bd-comparisonpanel-column {\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 box-sizing: border-box;\n }\n\n .bd-comparisonpanel-column-title {\n margin: 0 0 var(--spacing-16);\n }\n\n /* === LIST === */\n .bd-comparisonpanel-list {\n list-style: none;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-16);\n }\n\n .bd-comparisonpanel-item {\n display: flex;\n align-items: flex-start;\n gap: var(--spacing-12);\n }\n\n .bd-comparisonpanel-icon {\n flex-shrink: 0;\n width: var(--spacing-20);\n height: var(--spacing-20);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 1px;\n }\n\n .bd-comparisonpanel-icon--positive {\n background: var(--status-success-fill);\n }\n\n .bd-comparisonpanel-icon--negative {\n background: var(--status-error-fill);\n }\n\n .bd-comparisonpanel-text {\n margin: 0;\n /* Body copy. It sat on neutral-800, which is not the primitive\n behind any text role -- primary is neutral-900, secondary\n neutral-700 -- so it belonged to no tier. */\n color: var(--color-text-primary);\n }\n\n /* === RESPONSIVE === */\n @media ${unsafeCSS(below('md'))} {\n .bd-comparisonpanel-columns {\n grid-template-columns: 1fr;\n }\n\n .bd-comparisonpanel-wrapper {\n padding: var(--spacing-32) var(--spacing-24);\n }\n\n .bd-comparisonpanel-column {\n padding: var(--card-padding-compact);\n }\n }\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,g0E"}
1
+ {"version":3,"file":"comparison-panel.css.js","names":["comparison_panel_css_default"],"sources":["../../../../src/components/comparison-panel/comparison-panel.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below, bodyRole, headingRole, ink } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n background: var(--status-brand-surface);\n }\n\n /* === DARK APPEARANCE ===\n The same inverse band bd-process-steps draws, read through the same\n inverse roles, so the two dark sections agree. */\n :host([appearance=\"dark\"]) {\n /* no token: the #0b1626 end stop is bd-process-steps' gradient, shared\n until the inverse band has a role of its own. */\n background: linear-gradient(160deg, var(--color-neutral-800) 0%, #0b1626 100%);\n /* Dark in every theme, so drawn in the light scheme, as bd-process-steps'\n band is (its sheet says why): the inverse ink, the column's white lift\n and edge and what a page slots in keep the values light draws them in.\n Without it the title turned near-black on the band in a dark page,\n 1.46:1, a column's words 1.6. */\n color-scheme: light;\n }\n\n .bd-comparisonpanel-wrapper {\n padding-block: var(--spacing-48);\n box-sizing: border-box;\n }\n\n /* === TITLE AND DESCRIPTION ===\n The page picks the levels and writes the words; the panel sets their size\n and ink. 3.x set colours on its own bd-h, which paints its own ink, so\n the dark band's titles never turned light; the ink hooks reach the\n page's elements. */\n .bd-comparisonpanel-title {\n margin: 0 0 var(--spacing-16);\n }\n\n .bd-comparisonpanel-title ::slotted([slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h2\"))}\n }\n\n :host([appearance=\"dark\"]) .bd-comparisonpanel-title ::slotted([slot=\"title\"]) {\n ${unsafeCSS(ink(\"inverse\"))}\n }\n\n .bd-comparisonpanel-description {\n margin: 0 0 var(--spacing-48);\n max-width: var(--content-width-readable);\n }\n\n .bd-comparisonpanel-description ::slotted([slot=\"description\"]) {\n ${unsafeCSS(ink(\"muted\"))}\n }\n\n .bd-comparisonpanel-description ::slotted(bd-p[slot=\"description\"]) {\n ${unsafeCSS(bodyRole(\"body-large\"))}\n }\n\n /* muted-inverse is no COLOR_ROLES entry, so ink() cannot say it; the\n paragraph's ink hook can. */\n :host([appearance=\"dark\"]) .bd-comparisonpanel-description ::slotted([slot=\"description\"]) {\n --bd-paragraph-color: var(--color-text-muted-inverse);\n }\n\n /* === COLUMNS === */\n .bd-comparisonpanel-columns {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: var(--spacing-24);\n }\n\n .bd-comparisonpanel-column {\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 box-sizing: border-box;\n }\n\n :host([appearance=\"dark\"]) .bd-comparisonpanel-column {\n /* no token: a 3% white lift on the inverse band; no surface role is\n translucent. */\n background: color-mix(in srgb, var(--color-neutral-0) 3%, transparent);\n border-color: var(--color-border-container-inverse);\n }\n\n .bd-comparisonpanel-column-title {\n margin: 0 0 var(--spacing-16);\n }\n\n /* Each column's own heading: the card-title role 3.x's h4 had. */\n .bd-comparisonpanel-column-title ::slotted([slot=\"positive-title\"]),\n .bd-comparisonpanel-column-title ::slotted([slot=\"negative-title\"]) {\n ${unsafeCSS(headingRole(\"heading-h4\"))}\n }\n\n /* On the dark band the column heading is a mono uppercase marker. */\n :host([appearance=\"dark\"]) .bd-comparisonpanel-column-title ::slotted([slot=\"positive-title\"]),\n :host([appearance=\"dark\"]) .bd-comparisonpanel-column-title ::slotted([slot=\"negative-title\"]) {\n --bd-heading-color: var(--color-text-muted-inverse);\n --bd-heading-font-family: var(--typography-fontFamily-mono);\n --bd-heading-letter-spacing: var(--typography-letterSpacing-widest);\n /* no role: the mono column label, a marker rather than a text type --\n see header-code.css.ts's code badge. */\n --bd-heading-font-weight: var(--typography-fontWeight-bold);\n /* no role: the size of the same marker. */\n --bd-heading-font-size: var(--typography-fontSize-xs);\n text-transform: uppercase;\n }\n\n /* === LIST ===\n The page's bd-li, each drawing the marker the panel pushes onto it\n (comparison-panel.ts). The list's gap is the spacing between items, so\n an item's own flow margin is turned off. */\n .bd-comparisonpanel-list {\n list-style: none;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-16);\n }\n\n .bd-comparisonpanel-list[hidden] {\n display: none;\n }\n\n .bd-comparisonpanel-list ::slotted(bd-li) {\n --bd-li-margin-bottom: 0;\n }\n\n :host([appearance=\"dark\"]) .bd-comparisonpanel-list ::slotted(bd-li) {\n ${unsafeCSS(ink(\"inverse\"))}\n }\n\n /* === RESPONSIVE === */\n @media ${unsafeCSS(below('md'))} {\n .bd-comparisonpanel-columns {\n grid-template-columns: 1fr;\n }\n\n .bd-comparisonpanel-wrapper {\n padding: var(--spacing-32) var(--spacing-24);\n }\n\n .bd-comparisonpanel-column {\n padding: var(--card-padding-compact);\n }\n }\n`;\n"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,upH"}
@@ -1,24 +1,45 @@
1
- import { LitElement } from "lit";
1
+ import { LitElement, type PropertyValues } from "lit";
2
2
  import "../../tokens/tokens.js";
3
- import "../heading/heading.js";
4
- import "../paragraph/paragraph.js";
5
- type Variant = "light" | "dark";
6
- type ColumnKind = "positive" | "negative";
7
- declare class ComparisonPanel extends LitElement {
3
+ import "../h/h.js";
4
+ import "../list/list-item/list-item.js";
5
+ import "../p/p.js";
6
+ import { SlotController } from "../shared/controller.slot.js";
7
+ declare const APPEARANCES: readonly ["light", "dark"];
8
+ type Appearance = typeof APPEARANCES[number];
9
+ /**
10
+ * A title and a description over two cards side by side: what something is,
11
+ * each item ticked, and what it is not, each item crossed. The page writes
12
+ * every word, the items as bd-li:
13
+ *
14
+ * <bd-comparison-panel>
15
+ * <bd-h slot="title" as="h2">What it is, and what it isn't</bd-h>
16
+ * <bd-p slot="description">…</bd-p>
17
+ * <bd-h slot="positive-title" as="h3">AI Guardian is</bd-h>
18
+ * <bd-li slot="positive">A security layer for autonomous AI agents.</bd-li>
19
+ * <bd-h slot="negative-title" as="h3">AI Guardian is not</bd-h>
20
+ * <bd-li slot="negative">A traditional endpoint antivirus.</bd-li>
21
+ * </bd-comparison-panel>
22
+ *
23
+ * THE MARKER IS THE COLUMN'S. The panel writes `appearance` on each bd-li it
24
+ * is given -- check in the positive column, x in the negative -- as
25
+ * bd-card-grid pushes its cards' appearance: an attribute on the element the
26
+ * page wrote, which bd-li renders from and a page could write itself
27
+ * (CLAUDE.md, Parent to child). Unlike the card grid it does not leave an
28
+ * item's own marker alone: a crossed item in the "is" column says the
29
+ * opposite of its column, so the column decides.
30
+ */
31
+ export declare class BdComparisonPanel extends LitElement {
8
32
  static styles: import("lit").CSSResult[];
9
- title: string;
10
- description: string;
11
- positiveTitle: string;
12
- negativeTitle: string;
13
- positiveItems: string[];
14
- negativeItems: string[];
15
- variant: Variant;
16
- _renderColumn(kind: ColumnKind, colTitle: string, items: string[], slotName: string): import("lit-html").TemplateResult<1>;
33
+ /** The look: light (default) or dark. 3.x's `variant`. */
34
+ appearance: Appearance;
35
+ _slots: SlotController<"title" | "description" | "positive" | "negative" | "positive-title" | "negative-title">;
36
+ willUpdate(changed: PropertyValues<this>): void;
37
+ updated(): void;
17
38
  render(): import("lit-html").TemplateResult<1>;
18
39
  }
19
40
  declare global {
20
41
  interface HTMLElementTagNameMap {
21
- "bd-comparison-panel": ComparisonPanel;
42
+ "bd-comparison-panel": BdComparisonPanel;
22
43
  }
23
44
  }
24
45
  export {};
@@ -1,53 +1,32 @@
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 r from"./comparison-panel.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c=class extends i{constructor(...e){super(...e),this.title=``,this.description=``,this.positiveTitle=``,this.negativeTitle=``,this.positiveItems=[],this.negativeItems=[],this.variant=`light`}static{this.styles=[n,r]}_renderColumn(e,t,n,r){let i=e===`positive`;return a`
2
- <div class="bd-comparisonpanel-column">
3
- ${t?a`
4
- <bd-h as="h4" class="bd-comparisonpanel-column-title">
5
- <slot name="${r}-title">${t}</slot>
6
- </bd-h>
7
- `:o}
8
-
9
- <ul class="bd-comparisonpanel-list">
10
- ${n.map(e=>a`
11
- <li class="bd-comparisonpanel-item">
12
- <span
13
- class="bd-comparisonpanel-icon ${i?`bd-comparisonpanel-icon--positive`:`bd-comparisonpanel-icon--negative`}"
14
- aria-hidden="true"
15
- >
16
- ${i?a`
17
- <svg width="14" height="14" viewBox="0 0 14 14" fill="none">
18
- <path d="M3 7.2l2.6 2.6L11 4.4" stroke="white" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
19
- </svg>
20
- `:a`
21
- <svg width="14" height="14" viewBox="0 0 14 14" fill="none">
22
- <path d="M3.5 3.5l7 7M10.5 3.5l-7 7" stroke="white" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
23
- </svg>
24
- `}
25
- </span>
26
- <bd-p variant="regular" class="bd-comparisonpanel-text">${e}</bd-p>
27
- </li>
28
- `)}
29
- </ul>
30
-
31
- <slot name="${r}"></slot>
32
- </div>
33
- `}render(){return a`
1
+ import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{isOneOf as t}from"../shared/prop-vocabulary.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../p/p.js";import{SlotController as r}from"../shared/controller.slot.js";import"../h/h.js";import{ensembleCSS as i}from"../shared/ensemble.css.js";import"../list/list-item/list-item.js";import a from"./comparison-panel.css.js";import{LitElement as o,html as s}from"lit";import{property as c}from"lit/decorators.js";var l=[`light`,`dark`],u={positive:`check`,negative:`x`},d=[`title`,`description`,`positive-title`,`positive`,`negative-title`,`negative`],f=class extends o{constructor(...e){super(...e),this.appearance=`light`,this._slots=new r(this,{slots:d})}static{this.styles=[i,a]}willUpdate(e){e.has(`appearance`)&&!t(l,this.appearance)&&(this.appearance=`light`)}updated(){for(let e of Object.keys(u))for(let t of this._slots.elements(e))t.localName===`bd-li`&&t.getAttribute(`appearance`)!==u[e]&&t.setAttribute(`appearance`,u[e])}render(){let e=e=>this._slots.has(e);return s`
34
2
  <div class="bd-ensemble bd-comparisonpanel-wrapper">
35
- ${this.title?a`
36
- <bd-h as="h2" class="bd-comparisonpanel-title">
37
- <slot name="title">${this.title}</slot>
38
- </bd-h>
39
- `:o}
3
+ <div class="bd-comparisonpanel-title" ?hidden=${!e(`title`)}>
4
+ <slot name="title"></slot>
5
+ </div>
40
6
 
41
- ${this.description?a`
42
- <bd-p variant="large" class="bd-comparisonpanel-description">
43
- <slot name="description">${this.description}</slot>
44
- </bd-p>
45
- `:o}
7
+ <div class="bd-comparisonpanel-description" ?hidden=${!e(`description`)}>
8
+ <slot name="description"></slot>
9
+ </div>
46
10
 
47
11
  <div class="bd-comparisonpanel-columns">
48
- ${this._renderColumn(`positive`,this.positiveTitle,this.positiveItems,`positive`)}
49
- ${this._renderColumn(`negative`,this.negativeTitle,this.negativeItems,`negative`)}
12
+ <div class="bd-comparisonpanel-column bd-comparisonpanel-column--positive">
13
+ <div class="bd-comparisonpanel-column-title" ?hidden=${!e(`positive-title`)}>
14
+ <slot name="positive-title"></slot>
15
+ </div>
16
+ <ul class="bd-comparisonpanel-list" ?hidden=${!e(`positive`)}>
17
+ <slot name="positive"></slot>
18
+ </ul>
19
+ </div>
20
+
21
+ <div class="bd-comparisonpanel-column bd-comparisonpanel-column--negative">
22
+ <div class="bd-comparisonpanel-column-title" ?hidden=${!e(`negative-title`)}>
23
+ <slot name="negative-title"></slot>
24
+ </div>
25
+ <ul class="bd-comparisonpanel-list" ?hidden=${!e(`negative`)}>
26
+ <slot name="negative"></slot>
27
+ </ul>
28
+ </div>
50
29
  </div>
51
30
  </div>
52
- `}};t([s({type:String})],c.prototype,`title`,void 0),t([s({type:String})],c.prototype,`description`,void 0),t([s({type:String,attribute:`positive-title`})],c.prototype,`positiveTitle`,void 0),t([s({type:String,attribute:`negative-title`})],c.prototype,`negativeTitle`,void 0),t([s({type:Array})],c.prototype,`positiveItems`,void 0),t([s({type:Array})],c.prototype,`negativeItems`,void 0),t([s({type:String,reflect:!0})],c.prototype,`variant`,void 0),c=t([e(`bd-comparison-panel`)],c);
31
+ `}};n([c({type:String,reflect:!0})],f.prototype,`appearance`,void 0),f=n([e(`bd-comparison-panel`)],f);export{f as BdComparisonPanel};
53
32
  //# sourceMappingURL=comparison-panel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"comparison-panel.js","names":["comparisonPanelCSS","_decorate","__decorate","comparison_panel_css_default","ComparisonPanel","LitElement","_args","ensembleCSS","isPositive","kind","colTitle","slotName","nothing","items","item","property","defineElement"],"sources":["../../../../src/components/comparison-panel/comparison-panel.ts"],"sourcesContent":["import { LitElement, html, nothing } 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/heading/heading.ts\";\nimport \"#components/paragraph/paragraph.ts\";\nimport comparisonPanelCSS from \"./comparison-panel.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\ntype Variant = \"light\" | \"dark\";\ntype ColumnKind = \"positive\" | \"negative\";\n\n@defineElement(\"bd-comparison-panel\")\nclass ComparisonPanel extends LitElement {\n static styles = [ensembleCSS, comparisonPanelCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n description = \"\";\n @property({ type: String, attribute: \"positive-title\" })\n positiveTitle = \"\";\n @property({ type: String, attribute: \"negative-title\" })\n negativeTitle = \"\";\n @property({ type: Array })\n positiveItems: string[] = []; // [String]\n @property({ type: Array })\n negativeItems: string[] = []; // [String]\n // \"light\" (default) — white section, bordered white cards, sans-serif\n // column titles. \"dark\" — near-black gradient section, dark bordered\n // cards, mono uppercase column titles (e.g. \"VPN FOR AI AGENTS IS\").\n @property({ type: String, reflect: true })\n variant: Variant = \"light\";\n\n _renderColumn(kind: ColumnKind, colTitle: string, items: string[], slotName: string) {\n const isPositive = kind === \"positive\";\n return html`\n <div class=\"bd-comparisonpanel-column\">\n ${colTitle\n ? html`\n <bd-h as=\"h4\" class=\"bd-comparisonpanel-column-title\">\n <slot name=\"${slotName}-title\">${colTitle}</slot>\n </bd-h>\n `\n : nothing}\n\n <ul class=\"bd-comparisonpanel-list\">\n ${items.map(\n (item) => html`\n <li class=\"bd-comparisonpanel-item\">\n <span\n class=\"bd-comparisonpanel-icon ${isPositive ? \"bd-comparisonpanel-icon--positive\" : \"bd-comparisonpanel-icon--negative\"}\"\n aria-hidden=\"true\"\n >\n ${isPositive\n ? html`\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\">\n <path d=\"M3 7.2l2.6 2.6L11 4.4\" stroke=\"white\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n `\n : html`\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\">\n <path d=\"M3.5 3.5l7 7M10.5 3.5l-7 7\" stroke=\"white\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n `}\n </span>\n <bd-p variant=\"regular\" class=\"bd-comparisonpanel-text\">${item}</bd-p>\n </li>\n `\n )}\n </ul>\n\n <slot name=\"${slotName}\"></slot>\n </div>\n `;\n }\n\n render() {\n return html`\n <div class=\"bd-ensemble bd-comparisonpanel-wrapper\">\n ${this.title\n ? html`\n <bd-h as=\"h2\" class=\"bd-comparisonpanel-title\">\n <slot name=\"title\">${this.title}</slot>\n </bd-h>\n `\n : nothing}\n\n ${this.description\n ? html`\n <bd-p variant=\"large\" class=\"bd-comparisonpanel-description\">\n <slot name=\"description\">${this.description}</slot>\n </bd-p>\n `\n : nothing}\n\n <div class=\"bd-comparisonpanel-columns\">\n ${this._renderColumn(\"positive\", this.positiveTitle, this.positiveItems, \"positive\")}\n ${this._renderColumn(\"negative\", this.negativeTitle, this.negativeItems, \"negative\")}\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-comparison-panel\": ComparisonPanel;\n }\n}"],"mappings":"A,2aAaA,IACMI,EADN,cAC8BC,CAAW,C,8BAI/B,KAAA,MAAA,GAEM,KAAA,YAAA,GAEE,KAAA,cAAA,GAEA,KAAA,cAAA,GAEU,KAAA,cAAA,CAAC,EAED,KAAA,cAAA,CAAC,EAKR,KAAA,QAAA,O,QAlBH,KAAA,OAAA,CAACE,EAAaP,CAAkB,C,CAoBhD,cAAc,EAAkB,EAAkB,EAAiB,EAAkB,CACnF,IAAMQ,EAAaC,IAAS,WAC5B,MAAO,EAAI;;UAELC,EACE,CAAI;;8BAEcC,EAAS,UAAUD,EAAS;;cAG9CE,EAAQ;;;YAGRC,EAAM,IACL,GAAS,CAAI;;;mDAGyBL,EAAa,oCAAsC,oCAAoC;;;oBAGtHA,EACE,CAAI;;;;wBAKJ,CAAI;;;;wBAIF;;0EAEkDM,EAAK;;aAGrE,EAAE;;;sBAGUH,EAAS;;KAG7B,CAEA,QAAS,CACP,MAAO,EAAI;;UAEL,KAAK,MACH,CAAI;;qCAEqB,KAAK,MAAM;;cAGpCC,EAAQ;;UAEV,KAAK,YACH,CAAI;;2CAE2B,KAAK,YAAY;;cAGhDA,EAAQ;;;YAGR,KAAK,cAAc,WAAY,KAAK,cAAe,KAAK,cAAe,UAAU,EAAE;YACnF,KAAK,cAAc,WAAY,KAAK,cAAe,KAAK,cAAe,UAAU,EAAE;;;KAI7F,CACF,EAvFGX,EAAA,CAAAc,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAX,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAc,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAX,EAAA,UAAA,cAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,UAAW,gBAAiB,CAAC,CAAA,EAAAX,EAAA,UAAA,gBAAA,IAAA,EAAA,EAEtDH,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,UAAW,gBAAiB,CAAC,CAAA,EAAAX,EAAA,UAAA,gBAAA,IAAA,EAAA,EAEtDH,EAAA,CAAAc,EAAS,CAAE,KAAM,KAAM,CAAC,CAAA,EAAAX,EAAA,UAAA,gBAAA,IAAA,EAAA,EAExBH,EAAA,CAAAc,EAAS,CAAE,KAAM,KAAM,CAAC,CAAA,EAAAX,EAAA,UAAA,gBAAA,IAAA,EAAA,EAKxBH,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAX,EAAA,UAAA,UAAA,IAAA,EAAA,EAnB1C,EAAAH,EAAA,CAAAe,EAAc,qBAAqB,CAAA,EAAAZ,CAAA"}
1
+ {"version":3,"file":"comparison-panel.js","names":["comparisonPanelCSS","_decorate","__decorate","comparison_panel_css_default","APPEARANCES","MARKERS","SLOTS","BdComparisonPanel","LitElement","_args","SlotController","ensembleCSS","changed","isOneOf","column","item","has","name","property","defineElement"],"sources":["../../../../src/components/comparison-panel/comparison-panel.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\n/* The atoms the page writes into the panel's slots. It renders none of them\n now, but 3.x's module registered the heading and the paragraph, and a\n page importing only this module still gets them, with the bd-li its\n columns' items became. */\nimport \"#components/h/h.ts\";\nimport \"#components/list/list-item/list-item.ts\";\nimport \"#components/p/p.ts\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport comparisonPanelCSS from \"./comparison-panel.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\n/* \"light\" -- the brand tint, white bordered cards, sans column titles.\n \"dark\" -- the near-black gradient band, dark bordered cards, mono\n uppercase column titles (e.g. \"VPN FOR AI AGENTS IS\"). */\nconst APPEARANCES = [\"light\", \"dark\"] as const;\ntype Appearance = typeof APPEARANCES[number];\n\n/* The marker each column's items draw: what something is, and what it is not. */\nconst MARKERS = { positive: \"check\", negative: \"x\" } as const;\ntype Column = keyof typeof MARKERS;\n\nconst SLOTS = [\"title\", \"description\", \"positive-title\", \"positive\", \"negative-title\", \"negative\"] as const;\n\n/**\n * A title and a description over two cards side by side: what something is,\n * each item ticked, and what it is not, each item crossed. The page writes\n * every word, the items as bd-li:\n *\n * <bd-comparison-panel>\n * <bd-h slot=\"title\" as=\"h2\">What it is, and what it isn't</bd-h>\n * <bd-p slot=\"description\">…</bd-p>\n * <bd-h slot=\"positive-title\" as=\"h3\">AI Guardian is</bd-h>\n * <bd-li slot=\"positive\">A security layer for autonomous AI agents.</bd-li>\n * <bd-h slot=\"negative-title\" as=\"h3\">AI Guardian is not</bd-h>\n * <bd-li slot=\"negative\">A traditional endpoint antivirus.</bd-li>\n * </bd-comparison-panel>\n *\n * THE MARKER IS THE COLUMN'S. The panel writes `appearance` on each bd-li it\n * is given -- check in the positive column, x in the negative -- as\n * bd-card-grid pushes its cards' appearance: an attribute on the element the\n * page wrote, which bd-li renders from and a page could write itself\n * (CLAUDE.md, Parent to child). Unlike the card grid it does not leave an\n * item's own marker alone: a crossed item in the \"is\" column says the\n * opposite of its column, so the column decides.\n */\n@defineElement(\"bd-comparison-panel\")\nexport class BdComparisonPanel extends LitElement {\n static styles = [ensembleCSS, comparisonPanelCSS];\n\n /** The look: light (default) or dark. 3.x's `variant`. */\n @property({ type: String, reflect: true })\n appearance: Appearance = \"light\";\n\n _slots = new SlotController(this, { slots: SLOTS });\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"appearance\") && !isOneOf(APPEARANCES, this.appearance)) this.appearance = \"light\";\n }\n\n /* After every render, which a slotchange that moved the items requests:\n every bd-li in a column draws that column's marker. */\n updated() {\n for (const column of Object.keys(MARKERS) as Column[]) {\n for (const item of this._slots.elements(column)) {\n if (item.localName === \"bd-li\" && item.getAttribute(\"appearance\") !== MARKERS[column]) {\n item.setAttribute(\"appearance\", MARKERS[column]);\n }\n }\n }\n }\n\n render() {\n const has = (name: typeof SLOTS[number]) => this._slots.has(name);\n return html`\n <div class=\"bd-ensemble bd-comparisonpanel-wrapper\">\n <div class=\"bd-comparisonpanel-title\" ?hidden=${!has(\"title\")}>\n <slot name=\"title\"></slot>\n </div>\n\n <div class=\"bd-comparisonpanel-description\" ?hidden=${!has(\"description\")}>\n <slot name=\"description\"></slot>\n </div>\n\n <div class=\"bd-comparisonpanel-columns\">\n <div class=\"bd-comparisonpanel-column bd-comparisonpanel-column--positive\">\n <div class=\"bd-comparisonpanel-column-title\" ?hidden=${!has(\"positive-title\")}>\n <slot name=\"positive-title\"></slot>\n </div>\n <ul class=\"bd-comparisonpanel-list\" ?hidden=${!has(\"positive\")}>\n <slot name=\"positive\"></slot>\n </ul>\n </div>\n\n <div class=\"bd-comparisonpanel-column bd-comparisonpanel-column--negative\">\n <div class=\"bd-comparisonpanel-column-title\" ?hidden=${!has(\"negative-title\")}>\n <slot name=\"negative-title\"></slot>\n </div>\n <ul class=\"bd-comparisonpanel-list\" ?hidden=${!has(\"negative\")}>\n <slot name=\"negative\"></slot>\n </ul>\n </div>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-comparison-panel\": BdComparisonPanel;\n }\n}\n"],"mappings":"A,8hBAoBA,IAAMI,EAAc,CAAC,QAAS,MAAM,EAI9BC,EAAU,CAAE,SAAU,QAAS,SAAU,GAAI,EAG7CC,EAAQ,CAAC,QAAS,cAAe,iBAAkB,WAAY,iBAAkB,UAAU,EAyBpFC,EAAN,cAAgCC,CAAW,C,8BAKvB,KAAA,WAAA,QAEhB,KAAA,OAAA,IAAIE,EAAe,KAAM,CAAE,MAAOJ,CAAM,CAAC,C,QANlC,KAAA,OAAA,CAACK,EAAaX,CAAkB,C,CAQhD,WAAW,EAA+B,CACpCY,EAAQ,IAAI,YAAY,GAAK,CAACC,EAAQT,EAAa,KAAK,UAAU,IAAG,KAAK,WAAa,QAC7F,CAIA,SAAU,CACR,IAAK,IAAMU,KAAU,OAAO,KAAKT,CAAO,EACtC,IAAK,IAAMU,KAAQ,KAAK,OAAO,SAASD,CAAM,EACxCC,EAAK,YAAc,SAAWA,EAAK,aAAa,YAAY,IAAMV,EAAQS,IAC5EC,EAAK,aAAa,aAAcV,EAAQS,EAAO,CAIvD,CAEA,QAAS,CACP,IAAME,EAAO,GAA+B,KAAK,OAAO,IAAIC,CAAI,EAChE,MAAO,EAAI;;wDAEyC,CAACD,EAAI,OAAO,EAAE;;;;8DAIR,CAACA,EAAI,aAAa,EAAE;;;;;;mEAMf,CAACA,EAAI,gBAAgB,EAAE;;;0DAGhC,CAACA,EAAI,UAAU,EAAE;;;;;;mEAMR,CAACA,EAAI,gBAAgB,EAAE;;;0DAGhC,CAACA,EAAI,UAAU,EAAE;;;;;;KAOzE,CACF,EAvDGf,EAAA,CAAAiB,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAX,EAAA,UAAA,aAAA,IAAA,EAAA,EAL1C,EAAAN,EAAA,CAAAkB,EAAc,qBAAqB,CAAA,EAAAZ,CAAA,E"}
@@ -1,2 +1,27 @@
1
1
  declare const _default: import("lit").CSSResult;
2
2
  export default _default;
3
+ /**
4
+ * The page's <table>, styled in the tree it sits in.
5
+ *
6
+ * The table is the page's light DOM, slotted whole into the card above, and
7
+ * ::slotted() stops at the table: no rule in the shadow root reaches a <td>.
8
+ * So these rules are adopted into the component's root node -- the document,
9
+ * or the shadow root of a component that renders this one -- by
10
+ * adoptStyles() (shared/adopt-styles.ts), once per root however many tables
11
+ * it holds. Every selector starts at `:where(bd-compatibility-table) > table`:
12
+ * the tag keeps the rules to this component's own table, and :where() keeps
13
+ * the tag's weight out, so a page's class on its cells outweighs them while a
14
+ * bare `td {}` reset does not.
15
+ *
16
+ * check:host-selectors reads every stylesheet a component imports and fails
17
+ * a rule whose first compound names the host, because in the host's own
18
+ * shadow root such a rule is dead. This sheet is never in that shadow root,
19
+ * and here the tag is what keeps it to the component, as in a light-DOM
20
+ * element's sheet; the gate passes it because its first compound is
21
+ * :where(...), not the tag.
22
+ *
23
+ * Cells are addressed by column, since the page's cells carry no class: the
24
+ * row's first cell is its <th scope="row"> and each td's column is its place
25
+ * in the row. Columns are those of a table without colspan.
26
+ */
27
+ export declare const tableCSS: import("lit").CSSResult;
@@ -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);display:block}:host([background=blue]){background:var(--status-brand-surface)}:host([variant=light][background=bordered]){border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--shape-radius-xl);padding:var(--spacing-24);box-sizing:border-box;transition:transform var(--transition-duration-normal) var(--transition-easing-ease), box-shadow var(--transition-duration-normal) var(--transition-easing-ease), border-color var(--transition-duration-normal) var(--transition-easing-ease);display:block}:host([variant=light][background=bordered]:hover){transform:translateY(calc(-1 * var(--spacing-4)));box-shadow:var(--shadow-lg);border-color:var(--color-border-subtle)}@media (prefers-reduced-motion:reduce){:host([variant=light][background=bordered]){transition:none}}:host([variant=light][background=bordered]) .bd-compattable-wrapper{padding:var(--spacing-0)}.bd-compattable-wrapper{padding-block:var(--spacing-48) var(--spacing-0);box-sizing:border-box}.bd-compattable-title{margin:0 0 var(--spacing-12);display:block}.bd-compattable-description{margin:0 0 var(--spacing-32);color:var(--color-text-muted);max-width:var(--content-width-readable);display:block}.bd-compattable-table-container{background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--shape-radius-xl);box-sizing:border-box;width:100%;overflow:hidden}.bd-compattable-table{border-collapse:collapse;table-layout:fixed;width:100%}.bd-compattable-table col:first-child{width:28%}.bd-compattable-table col:nth-child(2){width:24%}.bd-compattable-table col:nth-child(3){width:48%}:host([variant=outcome]) .bd-compattable-table col:first-child{width:27.2727%}:host([variant=outcome]) .bd-compattable-table col:nth-child(2),:host([variant=outcome]) .bd-compattable-table col:nth-child(3){width:36.3636%}:host([variant=risk]) .bd-compattable-table col:first-child{width:38.4615%}:host([variant=risk]) .bd-compattable-table col:nth-child(2){width:61.5385%}.bd-compattable-header{background:var(--color-surface-subtle);border-bottom:var(--border-width-1) solid var(--color-border-subtle)}th{text-align:start}.bd-compattable-header-cell{padding:var(--spacing-16) var(--spacing-24);color:var(--color-text-secondary);font-family:var(--typography-fontFamily-mono);font-size:var(--typography-fontSize-sm);line-height:var(--typography-lineHeight-tight);text-transform:uppercase;letter-spacing:.06em;font-weight:var(--typography-fontWeight-semibold)}:host([variant=outcome]) .bd-compattable-header-cell,:host([variant=risk]) .bd-compattable-header-cell{font-size:var(--typography-fontSize-xs);line-height:var(--typography-lineHeight-tight);color:var(--color-text-muted)}.bd-compattable-row{border-bottom:var(--border-width-1) solid var(--color-neutral-50)}.bd-compattable-row:last-child{border-bottom:none}.bd-compattable-cell{padding:var(--spacing-20) var(--spacing-24);vertical-align:middle;color:var(--color-text-secondary);font-size:var(--typography-fontSize-base);line-height:var(--typography-lineHeight-tight)}.bd-compattable-cell--environment{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold)}.bd-compattable-cell--notes{color:var(--color-text-secondary);gap:var(--spacing-8)}.bd-compattable-notes{align-items:center;gap:var(--spacing-8);display:flex}.bd-compattable-cell--event{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold)}.bd-compattable-cell--without{color:var(--status-error-text)}.bd-compattable-cell--with{color:var(--status-success-text)}.bd-compattable-cell--category{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold)}.bd-compattable-cell--riskcoverage{color:var(--color-brand-700)}.bd-compattable-lightgrid{width:100%;display:block}.bd-compattable-lightbody{grid-template-columns:repeat(var(--bd-compattable-light-columns,2), 1fr);column-gap:var(--spacing-48);row-gap:0;display:grid}.bd-compattable-lightrow:last-of-type{border-bottom:none}.bd-compattable-lightrow{justify-content:space-between;align-items:baseline;gap:var(--spacing-16);padding:var(--spacing-16) 0;border-bottom:var(--border-width-1) solid var(--color-border-container);display:flex}.bd-compattable-lightlabel,.bd-compattable-lightvalue{padding:0}.bd-compattable-lightlabel{color:var(--color-text-subtle);font-weight:inherit;font-size:var(--typography-fontSize-base);line-height:var(--typography-lineHeight-tight);flex-shrink:0}:host([background=blue]) .bd-compattable-lightlabel{color:var(--color-text-muted)}.bd-compattable-lightvalue{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold);line-height:var(--typography-lineHeight-tight);text-align:right}@media (width<768px){.bd-compattable-header{display:none}.bd-compattable-table,.bd-compattable-body{display:block}.bd-compattable-row{padding:var(--spacing-16) var(--spacing-20);gap:var(--spacing-4);grid-template-columns:1fr;display:grid}.bd-compattable-cell{padding:var(--spacing-4) 0;align-items:center;display:flex}.bd-compattable-cell--coverage:before,.bd-compattable-cell--notes:before,.bd-compattable-cell--without:before,.bd-compattable-cell--with:before,.bd-compattable-cell--riskcoverage:before{content:var(--bd-cell-label,"");color:var(--color-text-subtle);font-size:var(--typography-fontSize-xs);line-height:var(--typography-lineHeight-tight);text-transform:uppercase}.bd-compattable-lightbody{grid-template-columns:1fr}.bd-compattable-lightrow{align-items:flex-start;gap:var(--spacing-4);flex-direction:column}.bd-compattable-lightvalue{text-align:left}.bd-compattable-wrapper{padding:var(--spacing-32) var(--spacing-24)}}`;export{t as default};
1
+ import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);display:block}:host([background=tint]){background:var(--status-brand-surface)}:host([appearance=light][with-border]){border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--shape-radius-xl);padding:var(--spacing-24);box-sizing:border-box;transition:transform var(--transition-duration-normal) var(--transition-easing-ease), box-shadow var(--transition-duration-normal) var(--transition-easing-ease), border-color var(--transition-duration-normal) var(--transition-easing-ease);display:block}:host([appearance=light][with-border]:hover){transform:translateY(calc(-1 * var(--spacing-4)));box-shadow:var(--shadow-lg);border-color:var(--color-border-subtle)}@media (prefers-reduced-motion:reduce){:host([appearance=light][with-border]){transition:none}}:host([appearance=light][with-border]) .bd-compattable-wrapper{padding:var(--spacing-0)}.bd-compattable-wrapper{padding-block:var(--spacing-48) var(--spacing-0);box-sizing:border-box}.bd-compattable-wrapper [hidden]{display:none}.bd-compattable-title{margin:0 0 var(--spacing-12)}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h2-fontSize);--bd-heading-font-weight:var(--typography-heading-h2-fontWeight);--bd-heading-line-height:var(--typography-heading-h2-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h2-letterSpacing);--bd-heading-font-family:var(--typography-heading-h2-fontFamily)}.bd-compattable-description{margin:0 0 var(--spacing-32);max-width:var(--content-width-readable)}::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)}:host(:not([appearance=light])) .bd-compattable-table-container{background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--shape-radius-xl);box-sizing:border-box;width:100%;overflow:hidden}@media (width<768px){.bd-compattable-wrapper{padding:var(--spacing-32) var(--spacing-24)}}`,n=e`:where(bd-compatibility-table:not([appearance=light]))>table{border-collapse:collapse;table-layout:fixed;width:100%}:where(bd-compatibility-table)>table th{text-align:start}@media (width>=768px){:where(bd-compatibility-table:not([appearance=light]))>table>:is(thead,tbody)>tr:first-child>*{box-sizing:border-box}:where(bd-compatibility-table[appearance=standard])>table>:is(thead,tbody)>tr:first-child>:first-child{width:28%}:where(bd-compatibility-table[appearance=standard])>table>:is(thead,tbody)>tr:first-child>:nth-child(2){width:24%}:where(bd-compatibility-table[appearance=standard])>table>:is(thead,tbody)>tr:first-child>:nth-child(3){width:48%}:where(bd-compatibility-table[appearance=outcome])>table>:is(thead,tbody)>tr:first-child>:first-child{width:27.2727%}:where(bd-compatibility-table[appearance=outcome])>table>:is(thead,tbody)>tr:first-child>:nth-child(2),:where(bd-compatibility-table[appearance=outcome])>table>:is(thead,tbody)>tr:first-child>:nth-child(3){width:36.3636%}:where(bd-compatibility-table[appearance=risk])>table>:is(thead,tbody)>tr:first-child>:first-child{width:38.4615%}:where(bd-compatibility-table[appearance=risk])>table>:is(thead,tbody)>tr:first-child>:nth-child(2){width:61.5385%}}:where(bd-compatibility-table:not([appearance=light]))>table>thead{background:var(--color-surface-subtle);border-bottom:var(--border-width-1) solid var(--color-border-subtle)}:where(bd-compatibility-table:not([appearance=light]))>table>thead>tr>th{padding:var(--spacing-16) var(--spacing-24);color:var(--color-text-secondary);font-family:var(--typography-fontFamily-mono);font-size:var(--typography-fontSize-sm);line-height:var(--typography-lineHeight-tight);text-transform:uppercase;letter-spacing:.06em;font-weight:var(--typography-fontWeight-semibold)}:where(bd-compatibility-table:is([appearance=outcome],[appearance=risk]))>table>thead>tr>th{font-size:var(--typography-fontSize-xs);line-height:var(--typography-lineHeight-tight);color:var(--color-text-muted)}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr{border-bottom:var(--border-width-1) solid var(--color-border-container)}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr:last-child{border-bottom:none}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>:is(th,td){padding:var(--spacing-20) var(--spacing-24);vertical-align:middle;color:var(--color-text-secondary);font-size:var(--typography-fontSize-base);line-height:var(--typography-lineHeight-tight)}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>th{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold)}:where(bd-compatibility-table[appearance=outcome])>table>tbody>tr>td:nth-child(2){color:var(--status-error-text)}:where(bd-compatibility-table[appearance=outcome])>table>tbody>tr>td:nth-child(3){color:var(--status-success-text)}:where(bd-compatibility-table[appearance=risk])>table>tbody>tr>td:nth-child(2){color:var(--color-text-brand)}:where(bd-compatibility-table[appearance=light])>table{width:100%;display:block}:where(bd-compatibility-table[appearance=light])>table>tbody{grid-template-columns:repeat(var(--bd-compattable-light-columns,2), 1fr);column-gap:var(--spacing-48);row-gap:0;display:grid}:where(bd-compatibility-table[appearance=light])>table>tbody>tr{justify-content:space-between;align-items:baseline;gap:var(--spacing-16);padding:var(--spacing-16) 0;border-bottom:var(--border-width-1) solid var(--color-border-container);display:flex}:where(bd-compatibility-table[appearance=light])>table>tbody>tr:last-of-type{border-bottom:none}:where(bd-compatibility-table[appearance=light])>table>tbody>tr>:is(th,td){padding:0}:where(bd-compatibility-table[appearance=light])>table>tbody>tr>th{color:var(--color-text-subtle);font-weight:inherit;font-size:var(--typography-fontSize-base);line-height:var(--typography-lineHeight-tight);flex-shrink:0}:where(bd-compatibility-table[appearance=light][background=tint])>table>tbody>tr>th{color:var(--color-text-muted)}:where(bd-compatibility-table[appearance=light])>table>tbody>tr>td{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold);line-height:var(--typography-lineHeight-tight);text-align:right}@media (width<768px){:where(bd-compatibility-table:not([appearance=light]))>table>thead{display:none}:where(bd-compatibility-table:not([appearance=light]))>table,:where(bd-compatibility-table:not([appearance=light]))>table>tbody{display:block}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr{padding:var(--spacing-16) var(--spacing-20);gap:var(--spacing-4);grid-template-columns:1fr;display:grid}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>:is(th,td){padding:var(--spacing-4) 0;align-items:center;display:flex}:where(bd-compatibility-table[appearance=standard])>table>tbody>tr>td:nth-child(3){gap:var(--spacing-8)}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>:is(th,td):has(>*){display:block}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>td:has(>*):before{display:inline-block}:where(bd-compatibility-table[appearance=standard])>table>tbody>tr>td:nth-child(3):has(>*):before{margin-inline-end:var(--spacing-8)}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>td:before{color:var(--color-text-subtle);font-size:var(--typography-fontSize-xs);line-height:var(--typography-lineHeight-tight);text-transform:uppercase}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>td:first-child:before{content:var(--bd-col-1-label) ": "}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>td:nth-child(2):before{content:var(--bd-col-2-label) ": "}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>td:nth-child(3):before{content:var(--bd-col-3-label) ": "}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>td:nth-child(4):before{content:var(--bd-col-4-label) ": "}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>td:nth-child(5):before{content:var(--bd-col-5-label) ": "}:where(bd-compatibility-table:not([appearance=light]))>table>tbody>tr>td:nth-child(6):before{content:var(--bd-col-6-label) ": "}:where(bd-compatibility-table[appearance=light])>table>tbody{grid-template-columns:1fr}:where(bd-compatibility-table[appearance=light])>table>tbody>tr{align-items:flex-start;gap:var(--spacing-4);flex-direction:column}:where(bd-compatibility-table[appearance=light])>table>tbody>tr>td{text-align:left}}`;export{t as default,n as tableCSS};
2
2
  //# sourceMappingURL=compatibility-table.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"compatibility-table.css.js","names":["compatibility_table_css_default"],"sources":["../../../../src/components/compatibility-table/compatibility-table.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n }\n\n :host([background=\"blue\"]) {\n background: var(--status-brand-surface);\n }\n /* variant=\"light\" + background=\"bordered\": renders its own card border\n and hover lift, so callers don't need a manual wrapper <div> just to\n get the bordered-card look (e.g. side-by-side requirement cards). */\n :host([variant=\"light\"][background=\"bordered\"]) {\n display: block;\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--shape-radius-xl);\n padding: var(--spacing-24);\n box-sizing: border-box;\n transition:\n transform var(--transition-duration-normal) var(--transition-easing-ease),\n box-shadow var(--transition-duration-normal) var(--transition-easing-ease),\n border-color var(--transition-duration-normal) var(--transition-easing-ease);\n }\n\n :host([variant=\"light\"][background=\"bordered\"]:hover) {\n transform: translateY(calc(-1 * var(--spacing-4)));\n box-shadow: var(--shadow-lg);\n border-color: var(--color-border-subtle);\n }\n\n @media (prefers-reduced-motion: reduce) {\n :host([variant=\"light\"][background=\"bordered\"]) {\n transition: none;\n }\n }\n\n :host([variant=\"light\"][background=\"bordered\"]) .bd-compattable-wrapper {\n padding: var(--spacing-0);\n }\n\n .bd-compattable-wrapper {\n padding-block: var(--spacing-48) var(--spacing-0);\n box-sizing: border-box;\n }\n\n .bd-compattable-title {\n display: block;\n margin: 0 0 var(--spacing-12);\n }\n\n .bd-compattable-description {\n display: block;\n margin: 0 0 var(--spacing-32);\n color: var(--color-text-muted);\n max-width: var(--content-width-readable);\n }\n\n /* The card. The table inside collapses its borders, which a table's own\n radius does not survive, so the edge, the corners and the clip stay on\n this wrapper. */\n .bd-compattable-table-container {\n width: 100%;\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--shape-radius-xl);\n overflow: hidden;\n box-sizing: border-box;\n }\n\n /* Collapsed, so a row's border draws; fixed, so the columns keep the\n proportions the grid rows used to spell, here as shares of the width. */\n .bd-compattable-table {\n width: 100%;\n border-collapse: collapse;\n table-layout: fixed;\n }\n\n /* 1.4fr 1.2fr 2.4fr */\n .bd-compattable-table col:nth-child(1) { width: calc(100% * 1.4 / 5); }\n .bd-compattable-table col:nth-child(2) { width: calc(100% * 1.2 / 5); }\n .bd-compattable-table col:nth-child(3) { width: calc(100% * 2.4 / 5); }\n\n /* 1.2fr 1.6fr 1.6fr */\n :host([variant=\"outcome\"]) .bd-compattable-table col:nth-child(1) { width: calc(100% * 1.2 / 4.4); }\n :host([variant=\"outcome\"]) .bd-compattable-table col:nth-child(2),\n :host([variant=\"outcome\"]) .bd-compattable-table col:nth-child(3) { width: calc(100% * 1.6 / 4.4); }\n\n /* 1fr 1.6fr */\n :host([variant=\"risk\"]) .bd-compattable-table col:nth-child(1) { width: calc(100% * 1 / 2.6); }\n :host([variant=\"risk\"]) .bd-compattable-table col:nth-child(2) { width: calc(100% * 1.6 / 2.6); }\n\n .bd-compattable-header {\n background: var(--color-surface-subtle);\n border-bottom: var(--border-width-1) solid var(--color-border-subtle);\n }\n\n /* A <th> centres and bolds by default; every cell here starts at the\n inline start, and each sets its own weight. */\n th {\n text-align: start;\n }\n\n .bd-compattable-header-cell {\n padding: var(--spacing-16) var(--spacing-24);\n color: var(--color-text-secondary);\n font-family: var(--typography-fontFamily-mono);\n /* no role: the size is part of the same decision as the leading below --\n mono, semibold and tracked at 14px is a table header, and no role in the\n vocabulary carries that combination. */\n font-size: var(--typography-fontSize-sm);\n /* The leading these five text sites were all missing. Measured before, every\n one of them computed line-height: normal -- the font's own metric rather\n than a decision, which CLAUDE.md rule 2 says is never a typography\n contract. 34 elements across the built stories rendered that way.\n\n --typography-lineHeight-tight, because it is what the metric already\n resolved to: the 16px cells measured a 20px line box (1.25 exactly) and\n the 12px header 15px (1.25 exactly). Naming it makes today's appearance a\n choice that survives a font fallback instead of an accident that does\n not. The 14px mono header is the one that moves -- IBM Plex Mono's normal\n is 1.286 there, so its line box goes 18px to 17.5px inside 16px of\n padding.\n\n no role: nothing in the role vocabulary matches this table. The headers\n are mono, semibold and tracked, and the cells are semibold at 16px where\n body-regular is 400 -- adopting a role would restyle the table rather\n than give it the leading it was missing. */\n line-height: var(--typography-lineHeight-tight);\n text-transform: uppercase;\n letter-spacing: .06em;\n /* no role: the weight completes the combination the leading comment above\n describes. body-regular is 400 and label-default is 500; a header cell at\n 600 belongs to no declared role. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n :host([variant=\"outcome\"]) .bd-compattable-header-cell,\n :host([variant=\"risk\"]) .bd-compattable-header-cell {\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-small, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-xs);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n color: var(--color-text-muted);\n }\n\n .bd-compattable-row {\n /* no role: a boundary, and no border role sits at neutral-50 -- the family\n starts at container (neutral-100) and gets darker. The decision of\n 2026-09-14 was that a boundary like this is DECORATIVE, so it is exempt\n from the 3:1 non-text bar (it measures 1.12:1 against white) and does not\n need to move up the family to earn one. The lighter row is deliberately\n lighter than .bd-compattable-lightrow below, which takes\n --color-border-container. */\n border-bottom: var(--border-width-1) solid var(--color-neutral-50);\n }\n\n .bd-compattable-row:last-child {\n border-bottom: none;\n }\n\n .bd-compattable-cell {\n padding: var(--spacing-20) var(--spacing-24);\n vertical-align: middle;\n /* Cell data, one step back from the row label beside it, which\n is text-primary. Secondary keeps that hierarchy; primary\n would have flattened the two together. */\n color: var(--color-text-secondary);\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-large, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-base);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n }\n\n .bd-compattable-cell--environment {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n .bd-compattable-cell--notes {\n /* Supporting notes. */\n color: var(--color-text-secondary);\n gap: var(--spacing-8);\n }\n\n /* the notes' own items, spaced as the cell spaced them when it was a flex row */\n .bd-compattable-notes {\n display: flex;\n align-items: center;\n gap: var(--spacing-8);\n }\n\n .bd-compattable-cell--event {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n /* These two cells say whether a product has a feature, which is the success\n and error responsibility rather than \"a green\" and \"a red\". The status\n roles were already the right answer and also the legible one: green-600\n measures 3.20:1 on white and --status-success-text 6.77, red-600 5.44 and\n --status-error-text 7.56. The green was a genuine failure; the red was only\n the wrong family. */\n .bd-compattable-cell--without {\n color: var(--status-error-text);\n }\n\n .bd-compattable-cell--with {\n color: var(--status-success-text);\n }\n\n .bd-compattable-cell--category {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n .bd-compattable-cell--riskcoverage {\n /* no role: the risk-coverage cell's ink. This is the one genuine non-interactive\n brand-ink site in the package -- everything else at blue-700 is a :hover, an\n active state, a glyph on a tinted disc, or dead. ONE SITE DOES NOT NAME A ROLE:\n phase-1-eyebrow-investigation settled that precedent when \"eyebrow\" turned out to\n be one question asked four times and took a marker rather than a role, and the\n plan's single-consumer-semantic-token item exists because Phase 3's job is to\n FIND AND DELETE exactly the shape a --color-text-brand-strong invented here would\n create.\n .\n The size-dependent-ink hypothesis was tested package-wide and rejected; see\n plans/reports/phase-2-size-dependent-ink-check.md. Note separately that this cell\n is role=\"cell\" with no href and renders as blue running prose, so it reads as a\n link without being one -- a UX question, not a token one. */\n color: var(--color-brand-700);\n }\n\n /* === LIGHT VARIANT ===\n A table of label / value rows that flows into light-columns columns, so\n the grid is on the body and the table itself is only its box. */\n .bd-compattable-lightgrid {\n display: block;\n width: 100%;\n }\n\n .bd-compattable-lightbody {\n display: grid;\n grid-template-columns: repeat(var(--bd-compattable-light-columns, 2), 1fr);\n column-gap: var(--spacing-48);\n row-gap: 0;\n }\n\n .bd-compattable-lightrow:last-of-type {\n border-bottom: none;\n }\n\n .bd-compattable-lightrow {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: var(--spacing-16);\n padding: var(--spacing-16) 0;\n /* A boundary, not a divider: the line belongs to the row it closes, so it\n is a border and takes a border role. --color-border-container is\n neutral-100 exactly, so nothing moves. Decided 2026-09-14 -- see\n plans/reports/phase-2-vocab-e-has-role-pass.md question E3. */\n border-bottom: var(--border-width-1) solid var(--color-border-container);\n }\n\n .bd-compattable-lightlabel,\n .bd-compattable-lightvalue {\n padding: 0;\n }\n\n .bd-compattable-lightlabel {\n color: var(--color-text-subtle);\n /* the label read at the page's weight, as the span it was did */\n font-weight: inherit;\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-large, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-base);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n flex-shrink: 0;\n }\n\n /* On the blue band the label leaves subtle for muted: subtle sits on the\n page or a card, and on --status-brand-surface it measured 4.46:1. Muted\n reads 6.10 there. Dark mode decision 17. */\n :host([background=\"blue\"]) .bd-compattable-lightlabel {\n color: var(--color-text-muted);\n }\n\n .bd-compattable-lightvalue {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n /* no role: the leading the other five text sites took, and the one this\n cell was still missing -- a value that wraps read line-height: normal,\n found once the light variant had a story of its own. */\n line-height: var(--typography-lineHeight-tight);\n text-align: right;\n }\n\n /* === RESPONSIVE === */\n @media ${unsafeCSS(below('md'))} {\n /* Stacked: each row becomes a card of its cells, and the column names\n move into the cells (below). The header goes, as the guide for a\n responsive table has it -- the ::before labels say the same thing. */\n .bd-compattable-header {\n display: none;\n }\n\n .bd-compattable-table,\n .bd-compattable-body {\n display: block;\n }\n\n /* One rule for every variant: the desktop columns are the table's <col>s\n now, not per-variant row templates that outranked a bare class here --\n which once left outcome three columns wide and 113px off the page. */\n .bd-compattable-row {\n display: grid;\n grid-template-columns: 1fr;\n padding: var(--spacing-16) var(--spacing-20);\n gap: var(--spacing-4);\n }\n\n .bd-compattable-cell {\n display: flex;\n align-items: center;\n padding: var(--spacing-4) 0;\n }\n\n /* One rule, and the name comes from --bd-cell-label, which\n compatibility-table.ts sets per cell out of the columns prop. Five rules\n stood here with the column names written into content as English\n strings -- \"Without AI Guardian: \" and the rest -- so below md, where\n the header is display: none, the only column labelling on screen was\n text the consumer could neither change nor translate. Measured at 375\n with Romanian columns: header \"Fara AI Guardian\", cell label\n \"Without AI Guardian\". The empty fallback means a cell with no column\n name shows nothing rather than the literal text of a broken var(). */\n .bd-compattable-cell--coverage::before,\n .bd-compattable-cell--notes::before,\n .bd-compattable-cell--without::before,\n .bd-compattable-cell--with::before,\n .bd-compattable-cell--riskcoverage::before {\n content: var(--bd-cell-label, \"\");\n color: var(--color-text-subtle);\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-small, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-xs);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n text-transform: uppercase;\n }\n\n .bd-compattable-lightbody {\n grid-template-columns: 1fr;\n }\n\n .bd-compattable-lightrow {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-4);\n }\n\n .bd-compattable-lightvalue {\n text-align: left;\n }\n\n .bd-compattable-wrapper {\n padding: var(--spacing-32) var(--spacing-24);\n }\n }\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,kkL"}
1
+ {"version":3,"file":"compatibility-table.css.js","names":["compatibility_table_css_default","tableCSS"],"sources":["../../../../src/components/compatibility-table/compatibility-table.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above, below, bodyRole, headingRole, ink } from \"#shared/token-scales.ts\";\n\n/* The component's own shadow root: the band, the column, the title and\n description boxes, and the card the page's table sits in. The table's own\n rules are tableCSS below, because they have to reach its cells. */\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n }\n\n :host([background=\"tint\"]) {\n background: var(--status-brand-surface);\n }\n\n /* appearance=\"light\" with-border: the light table draws its own card --\n border, corners, inset and the hover lift -- so callers need no wrapper\n <div> for the bordered-card look (the system-requirements pair). It was\n 3.x's background=\"bordered\", which a ground enum cannot carry next to a\n ground; like 3.x's, it draws nothing on the other appearances, which sit\n in a card of their own already. */\n :host([appearance=\"light\"][with-border]) {\n display: block;\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--shape-radius-xl);\n padding: var(--spacing-24);\n box-sizing: border-box;\n transition:\n transform var(--transition-duration-normal) var(--transition-easing-ease),\n box-shadow var(--transition-duration-normal) var(--transition-easing-ease),\n border-color var(--transition-duration-normal) var(--transition-easing-ease);\n }\n\n :host([appearance=\"light\"][with-border]:hover) {\n transform: translateY(calc(-1 * var(--spacing-4)));\n box-shadow: var(--shadow-lg);\n border-color: var(--color-border-subtle);\n }\n\n @media (prefers-reduced-motion: reduce) {\n :host([appearance=\"light\"][with-border]) {\n transition: none;\n }\n }\n\n :host([appearance=\"light\"][with-border]) .bd-compattable-wrapper {\n padding: var(--spacing-0);\n }\n\n .bd-compattable-wrapper {\n padding-block: var(--spacing-48) var(--spacing-0);\n box-sizing: border-box;\n }\n\n /* Each part's box is hidden while its slot is empty; the attribute's\n selector outweighs the display a box sets below. */\n .bd-compattable-wrapper [hidden] {\n display: none;\n }\n\n .bd-compattable-title {\n margin: 0 0 var(--spacing-12);\n }\n\n /* The page section's title: the h2 role at whatever level the page picks,\n as 3.x's own bd-h as=\"h2\" drew it. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h2\"))}\n }\n\n /* 32 under the description: bd-p's own 16 flow margin collapses into it,\n as it collapsed into the 32 on 3.x's own bd-p. The measure is the box's,\n at the host's 16px, which is where 3.x's 70ch resolved too. */\n .bd-compattable-description {\n margin: 0 0 var(--spacing-32);\n max-width: var(--content-width-readable);\n }\n\n /* 3.x's <bd-p appearance=\"large\" color=\"muted\">. */\n ::slotted(bd-p[slot=\"description\"]) {\n ${unsafeCSS(bodyRole(\"body-large\"))}\n ${unsafeCSS(ink(\"muted\"))}\n }\n\n /* The card. The table inside collapses its borders, which a table's own\n radius does not survive, so the edge, the corners and the clip stay on\n this box around the slot. The light table has none. */\n :host(:not([appearance=\"light\"])) .bd-compattable-table-container {\n width: 100%;\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--shape-radius-xl);\n overflow: hidden;\n box-sizing: border-box;\n }\n\n @media ${unsafeCSS(below(\"md\"))} {\n .bd-compattable-wrapper {\n padding: var(--spacing-32) var(--spacing-24);\n }\n }\n`;\n\n/**\n * The page's <table>, styled in the tree it sits in.\n *\n * The table is the page's light DOM, slotted whole into the card above, and\n * ::slotted() stops at the table: no rule in the shadow root reaches a <td>.\n * So these rules are adopted into the component's root node -- the document,\n * or the shadow root of a component that renders this one -- by\n * adoptStyles() (shared/adopt-styles.ts), once per root however many tables\n * it holds. Every selector starts at `:where(bd-compatibility-table) > table`:\n * the tag keeps the rules to this component's own table, and :where() keeps\n * the tag's weight out, so a page's class on its cells outweighs them while a\n * bare `td {}` reset does not.\n *\n * check:host-selectors reads every stylesheet a component imports and fails\n * a rule whose first compound names the host, because in the host's own\n * shadow root such a rule is dead. This sheet is never in that shadow root,\n * and here the tag is what keeps it to the component, as in a light-DOM\n * element's sheet; the gate passes it because its first compound is\n * :where(...), not the tag.\n *\n * Cells are addressed by column, since the page's cells carry no class: the\n * row's first cell is its <th scope=\"row\"> and each td's column is its place\n * in the row. Columns are those of a table without colspan.\n */\nexport const tableCSS = css`\n /* === THE CARD TABLES: standard, outcome, risk === */\n\n /* Collapsed, so a row's border draws; fixed, so the columns keep the\n proportions below as shares of the width, whatever the cells hold. */\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table {\n width: 100%;\n border-collapse: collapse;\n table-layout: fixed;\n }\n\n /* A <th> centres and bolds by default; every cell here starts at the\n inline start, and each sets its own weight. */\n :where(bd-compatibility-table) > table th {\n text-align: start;\n }\n\n /* The column shares, on the first row's cells, which a fixed table sizes\n its columns by: 3.x's <col> widths, now the page writes the table. A\n <col> the page writes with a width of its own wins. A share is the\n column's whole width, as a <col>'s is, so it includes the cell's 24 and\n 24 of padding; content-box would add them on and move each column edge\n by 4 to 19px. Only where the table is one, since a stacked cell would\n take a share of its row. */\n @media ${unsafeCSS(above(\"md\"))} {\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > :is(thead, tbody) > tr:first-child > * {\n box-sizing: border-box;\n }\n\n /* 1.4fr 1.2fr 2.4fr */\n :where(bd-compatibility-table[appearance=\"standard\"]) > table > :is(thead, tbody) > tr:first-child > :nth-child(1) { width: calc(100% * 1.4 / 5); }\n :where(bd-compatibility-table[appearance=\"standard\"]) > table > :is(thead, tbody) > tr:first-child > :nth-child(2) { width: calc(100% * 1.2 / 5); }\n :where(bd-compatibility-table[appearance=\"standard\"]) > table > :is(thead, tbody) > tr:first-child > :nth-child(3) { width: calc(100% * 2.4 / 5); }\n\n /* 1.2fr 1.6fr 1.6fr */\n :where(bd-compatibility-table[appearance=\"outcome\"]) > table > :is(thead, tbody) > tr:first-child > :nth-child(1) { width: calc(100% * 1.2 / 4.4); }\n :where(bd-compatibility-table[appearance=\"outcome\"]) > table > :is(thead, tbody) > tr:first-child > :nth-child(2),\n :where(bd-compatibility-table[appearance=\"outcome\"]) > table > :is(thead, tbody) > tr:first-child > :nth-child(3) { width: calc(100% * 1.6 / 4.4); }\n\n /* 1fr 1.6fr */\n :where(bd-compatibility-table[appearance=\"risk\"]) > table > :is(thead, tbody) > tr:first-child > :nth-child(1) { width: calc(100% * 1 / 2.6); }\n :where(bd-compatibility-table[appearance=\"risk\"]) > table > :is(thead, tbody) > tr:first-child > :nth-child(2) { width: calc(100% * 1.6 / 2.6); }\n }\n\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > thead {\n background: var(--color-surface-subtle);\n border-bottom: var(--border-width-1) solid var(--color-border-subtle);\n }\n\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > thead > tr > th {\n padding: var(--spacing-16) var(--spacing-24);\n color: var(--color-text-secondary);\n font-family: var(--typography-fontFamily-mono);\n /* no role: the size is part of the same decision as the leading below --\n mono, semibold and tracked at 14px is a table header, and no role in the\n vocabulary carries that combination. */\n font-size: var(--typography-fontSize-sm);\n /* The leading these five text sites were all missing. Measured before, every\n one of them computed line-height: normal -- the font's own metric rather\n than a decision, which CLAUDE.md rule 2 says is never a typography\n contract. 34 elements across the built stories rendered that way.\n\n --typography-lineHeight-tight, because it is what the metric already\n resolved to: the 16px cells measured a 20px line box (1.25 exactly) and\n the 12px header 15px (1.25 exactly). Naming it makes today's appearance a\n choice that survives a font fallback instead of an accident that does\n not. The 14px mono header is the one that moves -- IBM Plex Mono's normal\n is 1.286 there, so its line box goes 18px to 17.5px inside 16px of\n padding.\n\n no role: nothing in the role vocabulary matches this table. The headers\n are mono, semibold and tracked, and the cells are semibold at 16px where\n body-regular is 400 -- adopting a role would restyle the table rather\n than give it the leading it was missing. */\n line-height: var(--typography-lineHeight-tight);\n text-transform: uppercase;\n letter-spacing: .06em;\n /* no role: the weight completes the combination the leading comment above\n describes. body-regular is 400 and label-default is 500; a header cell at\n 600 belongs to no declared role. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n :where(bd-compatibility-table:is([appearance=\"outcome\"], [appearance=\"risk\"])) > table > thead > tr > th {\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-small, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-xs);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n color: var(--color-text-muted);\n }\n\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr {\n /* The row's boundary, the container edge role, as the light table's row\n below draws it. It read --color-neutral-50, one step lighter, because no\n border role sits there -- and a primitive cannot turn, so on a dark page\n it drew a near-white rule between dark rows. The decision of 2026-09-14\n stands: a boundary like this is DECORATIVE and exempt from the 3:1\n non-text bar. Light moves one step, 1.12:1 to 1.29:1 against white; dark\n is neutral-850 on neutral-950, 1.12:1, the faint rule light had. */\n border-bottom: var(--border-width-1) solid var(--color-border-container);\n }\n\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr:last-child {\n border-bottom: none;\n }\n\n /* Every body cell, the row's own header among them. */\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > :is(th, td) {\n padding: var(--spacing-20) var(--spacing-24);\n vertical-align: middle;\n /* Cell data, one step back from the row label beside it, which\n is text-primary. Secondary keeps that hierarchy; primary\n would have flattened the two together. */\n color: var(--color-text-secondary);\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-large, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-base);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n }\n\n /* The row's header: the environment, the agent event, the risk category. */\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > th {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n /* Outcome's two columns say whether a product has a feature, which is the\n success and error responsibility rather than \"a green\" and \"a red\". The\n status roles were already the right answer and also the legible one:\n green-600 measures 3.20:1 on white and --status-success-text 6.77, red-600\n 5.44 and --status-error-text 7.56. The green was a genuine failure; the\n red was only the wrong family. */\n :where(bd-compatibility-table[appearance=\"outcome\"]) > table > tbody > tr > td:nth-child(2) {\n color: var(--status-error-text);\n }\n\n :where(bd-compatibility-table[appearance=\"outcome\"]) > table > tbody > tr > td:nth-child(3) {\n color: var(--status-success-text);\n }\n\n :where(bd-compatibility-table[appearance=\"risk\"]) > table > tbody > tr > td:nth-child(2) {\n /* The risk-coverage cell's ink: brand-coloured text, which is\n --color-text-brand's job. It read --color-brand-700, one step darker,\n because one site does not name a role (a --color-text-brand-strong\n invented here would be exactly the single-consumer token Phase 3 deletes)\n -- but a primitive cannot turn, and on a dark page blue-700 read 2.27:1.\n The role is brand-600 in light, 6.18:1 on the white card where 700 read\n 8.56, and brand-400 in dark, 5.82:1.\n\n The size-dependent-ink hypothesis was tested package-wide and rejected; see\n plans/reports/phase-2-size-dependent-ink-check.md. Note separately that this cell\n is a plain cell with no href and renders as blue running prose, so it reads as a\n link without being one -- a UX question, not a token one. */\n color: var(--color-text-brand);\n }\n\n /* === THE LIGHT TABLE ===\n Label / value rows that flow into light-columns columns, so the grid is\n on the body and the table itself is only its box. The count is on the\n host as --bd-compattable-light-columns, written from light-columns. */\n :where(bd-compatibility-table[appearance=\"light\"]) > table {\n display: block;\n width: 100%;\n }\n\n :where(bd-compatibility-table[appearance=\"light\"]) > table > tbody {\n display: grid;\n grid-template-columns: repeat(var(--bd-compattable-light-columns, 2), 1fr);\n column-gap: var(--spacing-48);\n row-gap: 0;\n }\n\n :where(bd-compatibility-table[appearance=\"light\"]) > table > tbody > tr {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: var(--spacing-16);\n padding: var(--spacing-16) 0;\n /* A boundary, not a divider: the line belongs to the row it closes, so it\n is a border and takes a border role. --color-border-container is\n neutral-100 exactly, so nothing moves. Decided 2026-09-14 -- see\n plans/reports/phase-2-vocab-e-has-role-pass.md question E3. */\n border-bottom: var(--border-width-1) solid var(--color-border-container);\n }\n\n :where(bd-compatibility-table[appearance=\"light\"]) > table > tbody > tr:last-of-type {\n border-bottom: none;\n }\n\n :where(bd-compatibility-table[appearance=\"light\"]) > table > tbody > tr > :is(th, td) {\n padding: 0;\n }\n\n :where(bd-compatibility-table[appearance=\"light\"]) > table > tbody > tr > th {\n color: var(--color-text-subtle);\n /* the label read at the page's weight, as the span it was did */\n font-weight: inherit;\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-large, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-base);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n flex-shrink: 0;\n }\n\n /* On the tint the label leaves subtle for muted: subtle sits on the page\n or a card, and on --status-brand-surface it measured 4.46:1. Muted reads\n 6.10 there. Dark mode decision 17. */\n :where(bd-compatibility-table[appearance=\"light\"][background=\"tint\"]) > table > tbody > tr > th {\n color: var(--color-text-muted);\n }\n\n :where(bd-compatibility-table[appearance=\"light\"]) > table > tbody > tr > td {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n /* no role: the leading the other five text sites took, and the one this\n cell was still missing -- a value that wraps read line-height: normal,\n found once the light variant had a story of its own. */\n line-height: var(--typography-lineHeight-tight);\n text-align: right;\n }\n\n /* === STACKED, below md ===\n @media, not @container: the table is a page-level module, and its column\n is the viewport's (CLAUDE.md, Breakpoint exceptions). Each row becomes a\n card of its cells, the header row goes, and each cell shows its column's\n name in front of its value, as the responsive-table guide has it. */\n @media ${unsafeCSS(below(\"md\"))} {\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > thead {\n display: none;\n }\n\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table,\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody {\n display: block;\n }\n\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr {\n display: grid;\n grid-template-columns: 1fr;\n padding: var(--spacing-16) var(--spacing-20);\n gap: var(--spacing-4);\n }\n\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > :is(th, td) {\n display: flex;\n align-items: center;\n padding: var(--spacing-4) 0;\n }\n\n /* The notes keep 8 between their label and their words, which 3.x's notes\n cell carried as its flex gap and no other column did. */\n :where(bd-compatibility-table[appearance=\"standard\"]) > table > tbody > tr > td:nth-child(3) {\n gap: var(--spacing-8);\n }\n\n /* A cell holding the page's own markup -- a link, a <strong> -- is a line\n of text, not a flex row: as a row, each element and each run of words\n between them was an item of its own, and the spaces at their edges went\n with it, so \"Flagged <strong>or</strong> blocked\" drew\n \"Flaggedorblocked\". Its label is a box of its own on that line, so it\n ends where a words-only cell's does, and the notes' 8 is its margin. */\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > :is(th, td):has(> *) {\n display: block;\n }\n\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > td:has(> *)::before {\n display: inline-block;\n }\n\n :where(bd-compatibility-table[appearance=\"standard\"]) > table > tbody > tr > td:nth-child(3):has(> *)::before {\n margin-inline-end: var(--spacing-8);\n }\n\n /* The column's name, from --bd-col-N-label, which the component copies\n onto its host from the table's own <th scope=\"col\"> -- so the label is\n the header's words, in the page's language, and follows an edit. A\n column with no header has no property, so its content is invalid and\n draws nothing rather than a bare \": \". The row's header cell gets no\n label: it is the row's name. It stays generated content, read once in\n the cell's text, since the header row it stands in for is gone. */\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > td::before {\n color: var(--color-text-subtle);\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-small, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-xs);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n text-transform: uppercase;\n }\n\n /* One line per column, the first six: a seventh draws no label until a\n line is added here. */\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > td:nth-child(1)::before { content: var(--bd-col-1-label) \": \"; }\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > td:nth-child(2)::before { content: var(--bd-col-2-label) \": \"; }\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > td:nth-child(3)::before { content: var(--bd-col-3-label) \": \"; }\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > td:nth-child(4)::before { content: var(--bd-col-4-label) \": \"; }\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > td:nth-child(5)::before { content: var(--bd-col-5-label) \": \"; }\n :where(bd-compatibility-table:not([appearance=\"light\"])) > table > tbody > tr > td:nth-child(6)::before { content: var(--bd-col-6-label) \": \"; }\n\n :where(bd-compatibility-table[appearance=\"light\"]) > table > tbody {\n grid-template-columns: 1fr;\n }\n\n :where(bd-compatibility-table[appearance=\"light\"]) > table > tbody > tr {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-4);\n }\n\n :where(bd-compatibility-table[appearance=\"light\"]) > table > tbody > tr > td {\n text-align: left;\n }\n }\n`;\n"],"mappings":"A,4DAMA,IAAAA,EAAe,CAAG,gyEA2HLC,EAAW,CAAG,s4M"}