@repobit/dex-system-design 3.1.2 → 4.1.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 +1075 -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 +16 -2
  407. package/dist/src/components/logo-marquee/logo-marquee.js +10 -12
  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 +85 -0
  564. package/dist/src/components/select/select.js +36 -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 +35 -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 +4110 -2766
  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,46 +0,0 @@
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"./spotlight-section.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s,state as c}from"lit/decorators.js";var l=class extends i{constructor(...e){super(...e),this.title=``,this.description=``,this._hasLeftIcon=!1,this._hasLeftButtons=!1,this._hasRightIcon=!1,this._hasRightButtons=!1}static{this.styles=[n,r]}_onSlotChange(e,t){let n=t.target.assignedNodes({flatten:!0}).length>0;this[e]!==n&&(this[e]=n)}render(){let e=this._hasLeftIcon;return a`
2
- <div class="bd-ensemble">
3
- <div class="bd-spotlightsection-container">
4
- <div class="bd-spotlightsection-left">
5
- <div class="bd-spotlightsection-icon" ?hidden=${!this._hasLeftIcon}>
6
- <slot name="left-icon" @slotchange=${e=>this._onSlotChange(`_hasLeftIcon`,e)}></slot>
7
- </div>
8
-
9
- ${e?a`
10
- <bd-p variant="large" color="on-brand" class="bd-spotlightsection-title bd-spotlightsection-title--small">
11
- <slot name="title">${this.title}</slot>
12
- </bd-p>
13
- `:a`
14
- <bd-h as="h2" fontWeight="normal" class="bd-spotlightsection-title">
15
- <slot name="title">${this.title}</slot>
16
- </bd-h>
17
- `}
18
-
19
- <div class="bd-spotlightsection-buttons" ?hidden=${!this._hasLeftButtons}>
20
- <slot name="left-buttons" @slotchange=${e=>this._onSlotChange(`_hasLeftButtons`,e)}></slot>
21
- </div>
22
- </div>
23
-
24
- <div class="bd-spotlightsection-side">
25
- <div class="bd-spotlightsection-icon" ?hidden=${!this._hasRightIcon}>
26
- <slot name="icon" @slotchange=${e=>this._onSlotChange(`_hasRightIcon`,e)}></slot>
27
- </div>
28
-
29
- ${this.description?e?a`
30
- <bd-h as="h2" fontWeight="normal" color="on-brand" class="bd-spotlightsection-description bd-spotlightsection-description--large">
31
- <slot name="description">${this.description}</slot>
32
- </bd-h>
33
- `:a`
34
- <bd-p variant="large" color="on-brand" class="bd-spotlightsection-description">
35
- <slot name="description">${this.description}</slot>
36
- </bd-p>
37
- `:o}
38
-
39
- <div class="bd-spotlightsection-buttons" ?hidden=${!this._hasRightButtons}>
40
- <slot name="right-buttons" @slotchange=${e=>this._onSlotChange(`_hasRightButtons`,e)}></slot>
41
- </div>
42
- </div>
43
- </div>
44
- </div>
45
- `}};t([s({type:String})],l.prototype,`title`,void 0),t([s({type:String})],l.prototype,`description`,void 0),t([c()],l.prototype,`_hasLeftIcon`,void 0),t([c()],l.prototype,`_hasLeftButtons`,void 0),t([c()],l.prototype,`_hasRightIcon`,void 0),t([c()],l.prototype,`_hasRightButtons`,void 0),l=t([e(`bd-spotlight-section`)],l);
46
- //# sourceMappingURL=spotlight-section.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spotlight-section.js","names":["spotlightSectionCSS","_decorate","__decorate","spotlight_section_css_default","BdSpotlightSection","LitElement","_args","ensembleCSS","hasContent","event","stateKey","flipped","nothing","property","state","defineElement"],"sources":["../../../../src/components/spotlight-section/spotlight-section.ts"],"sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { property, state } 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 spotlightSectionCSS from \"./spotlight-section.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\n\ntype SlotState = \"_hasLeftIcon\" | \"_hasLeftButtons\" | \"_hasRightIcon\" | \"_hasRightButtons\";\n\n@defineElement(\"bd-spotlight-section\")\nclass BdSpotlightSection extends LitElement {\n static styles = [ensembleCSS, spotlightSectionCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n description = \"\";\n @state()\n _hasLeftIcon = false;\n @state()\n _hasLeftButtons = false;\n @state()\n _hasRightIcon = false;\n @state()\n _hasRightButtons = false;\n\n\n _onSlotChange(stateKey: SlotState, event: Event) {\n const hasContent = (event.target as HTMLSlotElement).assignedNodes({ flatten: true }).length > 0;\n if (this[stateKey] !== hasContent) this[stateKey] = hasContent;\n }\n\n render() {\n\n const flipped = this._hasLeftIcon;\n\n return html`\n <div class=\"bd-ensemble\">\n <div class=\"bd-spotlightsection-container\">\n <div class=\"bd-spotlightsection-left\">\n <div class=\"bd-spotlightsection-icon\" ?hidden=${!this._hasLeftIcon}>\n <slot name=\"left-icon\" @slotchange=${(e: Event) => this._onSlotChange(\"_hasLeftIcon\", e)}></slot>\n </div>\n\n ${flipped\n ? html`\n <bd-p variant=\"large\" color=\"on-brand\" class=\"bd-spotlightsection-title bd-spotlightsection-title--small\">\n <slot name=\"title\">${this.title}</slot>\n </bd-p>\n `\n : html`\n <bd-h as=\"h2\" fontWeight=\"normal\" class=\"bd-spotlightsection-title\">\n <slot name=\"title\">${this.title}</slot>\n </bd-h>\n `}\n\n <div class=\"bd-spotlightsection-buttons\" ?hidden=${!this._hasLeftButtons}>\n <slot name=\"left-buttons\" @slotchange=${(e: Event) => this._onSlotChange(\"_hasLeftButtons\", e)}></slot>\n </div>\n </div>\n\n <div class=\"bd-spotlightsection-side\">\n <div class=\"bd-spotlightsection-icon\" ?hidden=${!this._hasRightIcon}>\n <slot name=\"icon\" @slotchange=${(e: Event) => this._onSlotChange(\"_hasRightIcon\", e)}></slot>\n </div>\n\n ${this.description\n ? flipped\n ? html`\n <bd-h as=\"h2\" fontWeight=\"normal\" color=\"on-brand\" class=\"bd-spotlightsection-description bd-spotlightsection-description--large\">\n <slot name=\"description\">${this.description}</slot>\n </bd-h>\n `\n : html`\n <bd-p variant=\"large\" color=\"on-brand\" class=\"bd-spotlightsection-description\">\n <slot name=\"description\">${this.description}</slot>\n </bd-p>\n `\n : nothing}\n\n <div class=\"bd-spotlightsection-buttons\" ?hidden=${!this._hasRightButtons}>\n <slot name=\"right-buttons\" @slotchange=${(e: Event) => this._onSlotChange(\"_hasRightButtons\", e)}></slot>\n </div>\n </div>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-spotlight-section\": BdSpotlightSection;\n }\n}"],"mappings":"A,ubAaA,IACMI,EADN,cACiCC,CAAW,C,8BAIlC,KAAA,MAAA,GAEM,KAAA,YAAA,GAEC,KAAA,aAAA,GAEG,KAAA,gBAAA,GAEF,KAAA,cAAA,GAEG,KAAA,iBAAA,E,QAbH,KAAA,OAAA,CAACE,EAAaP,CAAmB,C,CAgBjD,cAAc,EAAqB,EAAc,CAC/C,IAAMQ,EAAcC,EAAM,OAA2B,cAAc,CAAE,QAAS,EAAK,CAAC,CAAC,CAAC,OAAS,EAC3F,KAAKC,KAAcF,IAAY,KAAKE,GAAYF,EACtD,CAEA,QAAS,CAEP,IAAMG,EAAU,KAAK,aAErB,MAAO,EAAI;;;;4DAI6C,CAAC,KAAK,aAAa;mDAC3B,GAAa,KAAK,cAAc,eAAgB,CAAC,EAAE;;;cAGzFA,EACE,CAAI;;yCAEqB,KAAK,MAAM;;kBAGpC,CAAI;;yCAEqB,KAAK,MAAM;;kBAElC;;+DAE6C,CAAC,KAAK,gBAAgB;sDAC9B,GAAa,KAAK,cAAc,kBAAmB,CAAC,EAAE;;;;;4DAKjD,CAAC,KAAK,cAAc;8CACjC,GAAa,KAAK,cAAc,gBAAiB,CAAC,EAAE;;;cAGrF,KAAK,YACHA,EACE,CAAI;;iDAE2B,KAAK,YAAY;;oBAGhD,CAAI;;iDAE2B,KAAK,YAAY;;oBAGlDC,EAAQ;;+DAEuC,CAAC,KAAK,iBAAiB;uDAC9B,GAAa,KAAK,cAAc,mBAAoB,CAAC,EAAE;;;;;KAM7G,CACF,EA3EGX,EAAA,CAAAY,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAY,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,cAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAa,EAAM,CAAA,EAAAV,EAAA,UAAA,eAAA,IAAA,EAAA,EAENH,EAAA,CAAAa,EAAM,CAAA,EAAAV,EAAA,UAAA,kBAAA,IAAA,EAAA,EAENH,EAAA,CAAAa,EAAM,CAAA,EAAAV,EAAA,UAAA,gBAAA,IAAA,EAAA,EAENH,EAAA,CAAAa,EAAM,CAAA,EAAAV,EAAA,UAAA,mBAAA,IAAA,EAAA,EAdR,EAAAH,EAAA,CAAAc,EAAc,sBAAsB,CAAA,EAAAX,CAAA"}
@@ -1,24 +0,0 @@
1
- import { LitElement } from "lit";
2
- import "../../tokens/tokens.js";
3
- /**
4
- * One figure from the Why-trust stat grid: a display value over a short
5
- * caption, on surface/info. The caption is pinned to the tile's foot so a row
6
- * of tiles lines its captions up, whatever each value's length. Drawn in the
7
- * foundation Figma file as Stat tile.
8
- *
9
- * The value and caption are read as one statement -- "580+ patents filed" --
10
- * so the tile is a group named by both, and `label` can spell the value out
11
- * where its short form reads badly aloud ("50 billion plus").
12
- */
13
- export declare class StatTile extends LitElement {
14
- value: string;
15
- caption: string;
16
- label: string;
17
- static styles: import("lit").CSSResult[];
18
- render(): import("lit-html").TemplateResult<1>;
19
- }
20
- declare global {
21
- interface HTMLElementTagNameMap {
22
- "bd-stat-tile": StatTile;
23
- }
24
- }
@@ -1,7 +0,0 @@
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{statTileCSS as n}from"./stat.css.js";import{LitElement as r,html as i,nothing as a}from"lit";import{property as o}from"lit/decorators.js";var s=class extends r{constructor(...e){super(...e),this.value=``,this.caption=``,this.label=``}static{this.styles=[n]}render(){return i`
2
- <div class="tile" role="group" aria-label="${this.label?`${this.label} ${this.caption}`.trim():a}">
3
- <p class="value" aria-hidden="${this.label?`true`:a}">${this.value}</p>
4
- ${this.caption?i`<p class="caption" aria-hidden="${this.label?`true`:a}">${this.caption}</p>`:a}
5
- </div>
6
- `}};t([o({type:String})],s.prototype,`value`,void 0),t([o({type:String})],s.prototype,`caption`,void 0),t([o({type:String})],s.prototype,`label`,void 0),s=t([e(`bd-stat-tile`)],s);export{s as StatTile};
7
- //# sourceMappingURL=stat-tile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stat-tile.js","names":["_decorate","__decorate","StatTile","LitElement","_args","statTileCSS","nothing","property","defineElement"],"sources":["../../../../src/components/stat/stat-tile.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 { statTileCSS } from \"./stat.css.ts\";\n\n/**\n * One figure from the Why-trust stat grid: a display value over a short\n * caption, on surface/info. The caption is pinned to the tile's foot so a row\n * of tiles lines its captions up, whatever each value's length. Drawn in the\n * foundation Figma file as Stat tile.\n *\n * The value and caption are read as one statement -- \"580+ patents filed\" --\n * so the tile is a group named by both, and `label` can spell the value out\n * where its short form reads badly aloud (\"50 billion plus\").\n */\n@defineElement(\"bd-stat-tile\")\nexport class StatTile extends LitElement {\n @property({ type: String })\n value = \"\";\n @property({ type: String })\n caption = \"\";\n @property({ type: String })\n label = \"\";\n\n static styles = [statTileCSS];\n\n render() {\n return html`\n <div class=\"tile\" role=\"group\" aria-label=\"${this.label ? `${this.label} ${this.caption}`.trim() : nothing}\">\n <p class=\"value\" aria-hidden=\"${this.label ? \"true\" : nothing}\">${this.value}</p>\n ${this.caption\n ? html`<p class=\"caption\" aria-hidden=\"${this.label ? \"true\" : nothing}\">${this.caption}</p>`\n : nothing}\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-stat-tile\": StatTile;\n }\n}\n"],"mappings":"A,sTAkBO,IAAME,EAAN,cAAuBC,CAAW,C,8BAE/B,KAAA,MAAA,GAEE,KAAA,QAAA,GAEF,KAAA,MAAA,E,QAEQ,KAAA,OAAA,CAACE,CAAW,C,CAE5B,QAAS,CACP,MAAO,EAAI;mDACoC,KAAK,MAAQ,GAAG,KAAK,MAAM,GAAG,KAAK,UAAU,KAAK,EAAIC,EAAQ;wCACzE,KAAK,MAAQ,OAASA,EAAQ,IAAI,KAAK,MAAM;UAC3E,KAAK,QACH,CAAI,mCAAmC,KAAK,MAAQ,OAASA,EAAQ,IAAI,KAAK,QAAQ,MACtFA,EAAQ;;KAGlB,CACF,EAnBGN,EAAA,CAAAO,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAL,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBF,EAAA,CAAAO,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAL,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBF,EAAA,CAAAO,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAL,EAAA,UAAA,QAAA,IAAA,EAAA,EAN3B,EAAAF,EAAA,CAAAQ,EAAc,cAAc,CAAA,EAAAN,CAAA,E"}
@@ -1,16 +0,0 @@
1
- /**
2
- * Base styling for <bd-tab-list>.
3
- *
4
- * The element renders into light DOM (see tab-list.ts), so this sheet is not
5
- * applied automatically — a consumer adds it to its own `static styles` ahead
6
- * of its overrides:
7
- *
8
- * static styles = [tabListCSS, myComponentCSS];
9
- *
10
- * Everything that varies between the sections that use a tab strip is a custom
11
- * property, so an override is a token change rather than a re-declaration of
12
- * the whole button.
13
- */
14
- export declare const tabListCSS: import("lit").CSSResult;
15
- export declare const contentSwitcherCSS: import("lit").CSSResult;
16
- export default tabListCSS;
@@ -1,2 +0,0 @@
1
- import"../shared/token-scales.js";import{css as e}from"lit";var t=e`bd-tab-list{display:contents}.bd-tabs-container{border-bottom:var(--border-width-1) solid var(--bd-tab-border-color,var(--color-border-container));flex-wrap:wrap;justify-content:center;display:inline-flex}.bd-tab-button{justify-content:center;align-items:center;gap:var(--bd-tab-gap,var(--spacing-8));padding:var(--bd-tab-padding,var(--spacing-10) var(--spacing-16));cursor:pointer;color:var(--bd-tab-color,var(--color-text-brand));font-family:var(--typography-fontFamily-sans);font-size:var(--bd-tab-font-size,var(--typography-body-regular-fontSize));line-height:var(--bd-tab-line-height,var(--typography-body-regular-lineHeight));font-weight:var(--bd-tab-font-weight,var(--typography-body-regular-fontWeight));transition:color var(--transition-duration-fast) var(--transition-easing-smooth);background:0 0;border:none;display:inline-flex;position:relative}.bd-tab-button:after{content:"";height:var(--bd-tab-underline-height,var(--indicator-underline-height));background:var(--bd-tab-underline-color,var(--indicator-color));transform-origin:0;width:100%;transition:scale var(--bd-tab-underline-duration,var(--indicator-underline-duration)) var(--indicator-underline-easing);position:absolute;bottom:0;left:0;scale:0 1}.bd-tab-button:dir(rtl):after{transform-origin:100%}.bd-tab-button:hover:not([aria-selected=true]){color:var(--color-action-primary-active)}.bd-tab-button[aria-selected=true]:after{scale:1}.bd-tab-button[aria-selected=true]{color:var(--bd-tab-color-selected,var(--color-text-primary));font-weight:var(--bd-tab-font-weight-selected,var(--typography-fontWeight-bold))}.bd-tab-button:focus-visible{outline:var(--border-width-2) solid transparent;outline-offset:var(--focus-outline-offset);box-shadow:var(--focus-outline-primary);border-radius:var(--focus-outline-radius)}.bd-tab-label{pointer-events:none}@media (prefers-reduced-motion:reduce){.bd-tab-button,.bd-tab-button:after{transition:none}}@media (forced-colors:active){.bd-tab-button:after{forced-color-adjust:none;background:highlight}}@media (width<576px){.bd-tabs-container{gap:var(--spacing-4)}.bd-tab-button{padding:var(--bd-tab-padding-mobile,var(--spacing-8) var(--spacing-12))}}`,n=e`.bd-tabs-container--switcher{grid-auto-flow:column;grid-auto-columns:var(--bd-switcher-option-width,max-content);gap:var(--spacing-4);padding:var(--spacing-4);border-radius:var(--radius-full);background:var(--color-action-primary);border-bottom:none;display:inline-grid}.bd-tabs-container--switcher .bd-tab-button{--bd-tab-font-weight:var(--typography-control-label-large-fontWeight);--bd-tab-font-weight-selected:var(--typography-control-label-large-fontWeight);--bd-tab-color:var(--color-brand-on-fill);--bd-tab-color-selected:var(--color-text-primary);--bd-tab-padding:var(--spacing-12) var(--spacing-24);--bd-tab-padding-mobile:var(--spacing-12) var(--spacing-24);border-radius:var(--radius-full);white-space:nowrap;transition:color var(--transition-duration-fast) var(--transition-easing-smooth), background-color var(--transition-duration-fast) var(--transition-easing-smooth)}.bd-tabs-container--switcher .bd-tab-button[aria-selected=true]{background:var(--color-surface-default)}.bd-tabs-container--switcher .bd-tab-button:after{display:none}.bd-tabs-container--switcher .bd-tab-button:hover:not([aria-selected=true]){color:var(--color-brand-on-fill);background:var(--color-border-container-inverse)}@media (prefers-reduced-motion:reduce){.bd-tabs-container--switcher .bd-tab-button{transition:none}}@media (forced-colors:active){.bd-tabs-container--switcher .bd-tab-button[aria-selected=true]{forced-color-adjust:none;color:highlighttext;background:highlight}}`;export{n as contentSwitcherCSS,t as default,t as tabListCSS};
2
- //# sourceMappingURL=tab-list.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tab-list.css.js","names":["tabListCSS","contentSwitcherCSS"],"sources":["../../../../src/components/tab-list/tab-list.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\n/* unsafeCSS is how a Lit css`` template accepts a computed string. The\n value is not arbitrary: below() resolves a name from the closed\n breakpoint set and throws on anything else, so the only strings that\n reach here are the ones the scale produced. */\nimport { below } from \"#shared/token-scales.ts\";\n\n/**\n * Base styling for <bd-tab-list>.\n *\n * The element renders into light DOM (see tab-list.ts), so this sheet is not\n * applied automatically — a consumer adds it to its own `static styles` ahead\n * of its overrides:\n *\n * static styles = [tabListCSS, myComponentCSS];\n *\n * Everything that varies between the sections that use a tab strip is a custom\n * property, so an override is a token change rather than a re-declaration of\n * the whole button.\n */\nexport const tabListCSS = css`\n /* The element is a pass-through wrapper: the strip itself stays the flex/grid\n item it was before the extraction, so surrounding layout is unaffected. */\n bd-tab-list {\n display: contents;\n }\n\n .bd-tabs-container {\n display: inline-flex;\n justify-content: center;\n flex-wrap: wrap;\n border-bottom: var(--border-width-1) solid var(--bd-tab-border-color, var(--color-border-container));\n }\n\n .bd-tab-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: var(--bd-tab-gap, var(--spacing-8));\n background: none;\n border: none;\n padding: var(--bd-tab-padding, var(--spacing-10) var(--spacing-16));\n cursor: pointer;\n position: relative;\n color: var(--bd-tab-color, var(--color-text-brand));\n font-family: var(--typography-fontFamily-sans);\n /* body-regular, the same role bd-anchor-nav's and bd-page-switcher's items\n resolve through.\n\n This was body-large at semibold -- 18px/600 -- with no leading declared\n at all, on the argument that a tab's type is a control's rather than a\n text role's. The wayfinding family review settled it the other way: all\n three of these components are labels with an action attached, they mark\n the current one the same way, and there was no reason for one of them to\n be a size and a weight apart. At 16/1.5 the tab box is 10 + 24 + 10, so\n all three now measure 44px.\n\n The leading is declared either way, and that part was a defect on its\n own. An 18px label sat on IBM Plex Sans's own metric while the nav bars\n beside it sat on a declared 24px -- and a leading nobody declares is the\n blind spot neither gate can see: lint:tokens needs a DECLARED value to\n report, and typography coverage only fails on multi-line text, which a\n single-line tab label never is. */\n font-size: var(--bd-tab-font-size, var(--typography-body-regular-fontSize));\n line-height: var(--bd-tab-line-height, var(--typography-body-regular-lineHeight));\n font-weight: var(--bd-tab-font-weight, var(--typography-body-regular-fontWeight));\n transition: color var(--transition-duration-fast) var(--transition-easing-smooth);\n }\n\n .bd-tab-button::after {\n content: \"\";\n height: var(--bd-tab-underline-height, var(--indicator-underline-height));\n background: var(--bd-tab-underline-color, var(--indicator-color));\n position: absolute;\n left: 0;\n bottom: 0;\n /* Full width, scaled to nothing at rest and grown with scale, as\n bd-pagination-dots grows its fill: the compositor draws it, where the\n width transition that stood here re-laid the line out every frame. It\n grows from the inline start. :dir() on the button rather than :host(),\n because the stories use this sheet at document scope, where :host()\n matches nothing. */\n width: 100%;\n scale: 0 1;\n transform-origin: left center;\n transition: scale var(--bd-tab-underline-duration, var(--indicator-underline-duration))\n var(--indicator-underline-easing);\n }\n\n .bd-tab-button:dir(rtl)::after {\n transform-origin: right center;\n }\n\n /* The transition two rules up had nothing to animate on pointer: this sheet\n declared a colour transition and then no :hover rule anywhere, so a tab\n was the one control in the package that gave no feedback under the\n cursor.\n\n action/primary-active is the step this system already uses for an\n interactive element under the pointer -- bd-link's :hover and the anchor\n nav's engaged dropdown option both resolve to it -- and it is a step\n darker than the resting --color-text-brand, so the change is visible\n without becoming the selected ink. Excluding the selected tab keeps its\n text/primary from moving under the cursor.\n\n Selected is read off aria-selected, the attribute the tab already\n carries for a screen reader, rather than a class kept in step with it:\n what is drawn and what is announced cannot disagree. */\n .bd-tab-button:hover:not([aria-selected=\"true\"]) {\n color: var(--color-action-primary-active);\n }\n\n .bd-tab-button[aria-selected=\"true\"]::after {\n scale: 1;\n }\n\n .bd-tab-button[aria-selected=\"true\"] {\n color: var(--bd-tab-color-selected, var(--color-text-primary));\n /* no role: the weight that marks the current item -- a state or modifier\n weight, not a text-content type. See button.css.ts's .button--bold for\n the argument, and bd-link's current link, which is the same 700 on\n the same job in the other two components of this family. The tab used to\n carry semibold at rest AND selected, so its weight said nothing about\n which item you were on -- colour and the indicator carried it alone. */\n font-weight: var(--bd-tab-font-weight-selected, var(--typography-fontWeight-bold));\n }\n\n .bd-tab-button:focus-visible {\n /* the one focus ring — see Foundations/Focus */\n /* forced-colors mode does not paint box-shadow, so the ring\n vanishes there; it does paint an outline, in a system colour. This one\n is transparent everywhere else, and the offset lands it on the ring's\n outer band. */\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n box-shadow: var(--focus-outline-primary);\n border-radius: var(--focus-outline-radius);\n }\n\n /* Icon sizing is deliberately not defaulted here: the two sections that use\n icons size them differently and neither value has a dimension token, so\n each keeps its own rule rather than this atom inventing a size. */\n\n .bd-tab-label {\n pointer-events: none;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .bd-tab-button,\n .bd-tab-button::after {\n transition: none;\n }\n }\n\n /* The underline is a background, and forced colours repaint every\n background as Canvas, so the selected tab lost its line and kept only\n its weight. It opts out and draws in Highlight, the system colour for a\n selected thing. */\n @media (forced-colors: active) {\n .bd-tab-button::after {\n forced-color-adjust: none;\n background: Highlight;\n }\n }\n\n /* Narrower than sm. A media condition cannot read a custom property, so\n below() interpolates the value; 600px was on no scale at all, and the\n 576px that replaced it still matched at exactly 576px, where sm begins. */\n @media ${unsafeCSS(below('sm'))} {\n .bd-tabs-container {\n gap: var(--spacing-4);\n }\n\n .bd-tab-button {\n padding: var(--bd-tab-padding-mobile, var(--spacing-8) var(--spacing-12));\n }\n }\n`;\n\n\n/* ---- appearance=\"switcher\": the Content Switcher --------------------------\n Figma: Content switcher, node 311:931. Every value below is the one the\n component carries there, and the geometry reconciles: label 24 tall + 12/24\n padding = a 48px option, + 4px track padding top and bottom = 56, which is\n the frame height. \"Individual\" at 16/500 measures 75, + 24 + 24 = the 123px\n option, and 4 + 123 + 4 + 123 + 4 = the 258px track.\n\n THE EQUAL-WIDTH RULE IS THE POINT, and CSS expresses it where Figma cannot.\n The design asks for both options to be as wide as the LONGER label so a\n translation cannot make one tab bigger than the other. In the file one\n option HUGs and the other is FIXED at the same width, which is equal at this\n text and stops being equal the moment a label changes length. An auto-sized\n inline grid whose columns are 1fr sizes every column to the widest column's\n max-content, so the track still hugs its content AND the two options stay\n identical -- which is the stated intent rather than a snapshot of it.\n\n The selected option is marked by the white pill alone. The base sheet moves\n the selected tab to bold, and that is right for an underlined strip where\n weight and the indicator carry the state together; here the fill carries it,\n so both weights stay at the action-label step and the label does not reflow\n when you switch. That is also why every override here goes through the\n --bd-tab-* custom properties the base sheet exposes rather than\n re-declaring the button. */\nexport const contentSwitcherCSS = css`\n .bd-tabs-container--switcher {\n display: inline-grid;\n grid-auto-flow: column;\n /* minmax(max-content, 1fr), NOT 1fr. Measured on the Unequal labels story:\n a bare 1fr gave 127.21px and 141.79px -- two unequal columns, both\n narrower than their content, so the labels wrapped to four lines. An fr\n track under a shrink-to-fit container does not equalise to the widest\n sibling, which is the assumption that was wrong.\n .\n minmax(max-content, 1fr) was the next attempt and gave 78.35 and 248.77\n -- each column at its own max-content, still unequal. Once the width IS\n definite an fr track splits it evenly instead, which is a different\n wrong answer. There is no grid declaration that gives all three of hug,\n equal, and equal-to-the-widest.\n .\n So the width arrives measured: _sizeSwitcherOptions in tab-list.ts\n publishes the widest option's width and this reads it. max-content is\n the fallback for the frame before the first measurement, which is also\n what keeps the geometry right if the property is ever absent -- and it\n is a component-local property, the one place CLAUDE.md allows a\n fallback. */\n grid-auto-columns: var(--bd-switcher-option-width, max-content);\n gap: var(--spacing-4);\n padding: var(--spacing-4);\n border-bottom: none;\n border-radius: var(--radius-full);\n background: var(--color-action-primary);\n }\n\n .bd-tabs-container--switcher .bd-tab-button {\n /* the action-label step, which is what a button's label carries */\n --bd-tab-font-weight: var(--typography-control-label-large-fontWeight);\n --bd-tab-font-weight-selected: var(--typography-control-label-large-fontWeight);\n --bd-tab-color: var(--color-brand-on-fill); /* on the brand track */\n --bd-tab-color-selected: var(--color-text-primary);\n --bd-tab-padding: var(--spacing-12) var(--spacing-24);\n /* held at the same padding below sm: the base sheet drops to 8/12 there,\n which would take the pill off the 48px option the design specifies, and\n two 123px options plus the track padding still fit a 375px viewport. */\n --bd-tab-padding-mobile: var(--spacing-12) var(--spacing-24);\n border-radius: var(--radius-full);\n /* An option is a control label, so it is one line by definition. The base\n sheet lets a tab wrap, which is right for a strip that reflows; here a\n wrap would break the pill geometry the design specifies. */\n white-space: nowrap;\n transition: color var(--transition-duration-fast) var(--transition-easing-smooth),\n background-color var(--transition-duration-fast) var(--transition-easing-smooth);\n }\n\n .bd-tabs-container--switcher .bd-tab-button[aria-selected=\"true\"] {\n background: var(--color-surface-default);\n }\n\n /* The underline belongs to the other appearance. Left as display:none rather\n than content:none so the base rule's scale transition has nothing to\n animate either. */\n .bd-tabs-container--switcher .bd-tab-button::after {\n display: none;\n }\n\n /* The base hover goes to action/primary-active, a darker blue, which on this\n blue track would be close to invisible and is the wrong direction anyway.\n The unselected option is already white, so the pointer affordance is the\n pill appearing under it -- white at 12%, which reads on blue-500 without\n competing with the selected option's solid white. */\n .bd-tabs-container--switcher .bd-tab-button:hover:not([aria-selected=\"true\"]) {\n color: var(--color-brand-on-fill);\n background: var(--color-border-container-inverse);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .bd-tabs-container--switcher .bd-tab-button {\n transition: none;\n }\n }\n\n /* The pill is the whole of the selected state here, and forced colours\n repaint it -- and the track under it -- as Canvas: every option read the\n same. The selected one opts out into the system's selected pair. */\n @media (forced-colors: active) {\n .bd-tabs-container--switcher .bd-tab-button[aria-selected=\"true\"] {\n forced-color-adjust: none;\n background: Highlight;\n color: HighlightText;\n }\n }\n`;\n\nexport default tabListCSS;\n"],"mappings":"A,4DAoBA,IAAaA,EAAa,CAAG,onEAuLhBC,EAAqB,CAAG,g8C"}
@@ -1,99 +0,0 @@
1
- import { LitElement, type PropertyValues, type TemplateResult } from "lit";
2
- import "../../tokens/tokens.js";
3
- interface Tab {
4
- label?: string | null;
5
- content?: string | TemplateResult;
6
- icon?: string;
7
- iconAlt?: string;
8
- }
9
- /**
10
- * The tab strip on its own — the row of buttons, the selected underline, and
11
- * the WAI-ARIA tabs keyboard pattern. It owns no panel and no layout; the
12
- * section that uses it decides what a panel is and how the page around it is
13
- * arranged.
14
- *
15
- * ## Light DOM, on purpose
16
- *
17
- * `aria-controls` and `aria-labelledby` are IDREFs, and an IDREF does not
18
- * resolve across a shadow boundary. A tab inside this element's shadow root
19
- * therefore could not point at a panel living in the consumer's shadow root.
20
- * Rendering into light DOM keeps the buttons in the same node tree as the
21
- * panel, so the wiring is real rather than decorative.
22
- *
23
- * The consequence is that `static styles` would never apply. Import
24
- * `tabListCSS` from ./tab-list.css.ts and add it to the consuming component's
25
- * own `static styles` instead.
26
- *
27
- * ## Two appearances, one control
28
- *
29
- * `appearance="switcher"` draws the Content Switcher: a pill track with the
30
- * selected option on a white pill. It is a skin rather than its own element
31
- * because everything below it -- role="tablist", role="tab", aria-selected,
32
- * the roving tabindex and the Arrow/Home/End pattern with automatic
33
- * activation -- is identical, and the light-DOM decision above is the whole
34
- * reason this element exists. A separate <bd-content-switcher> would have had
35
- * to re-solve the IDREF problem and keep a second copy of the keyboard
36
- * pattern in step with this one.
37
- *
38
- * Storybook lists it as Components/Content Switcher so it is findable by the
39
- * name it was designed under.
40
- */
41
- export declare class BdTabList extends LitElement {
42
- tabs: Tab[];
43
- selected: number;
44
- label: string;
45
- panelId: string;
46
- idPrefix: string;
47
- /**
48
- * The skin. Omitted gives the underlined strip this element has always
49
- * drawn; "switcher" gives the pill-track content switcher. It is an
50
- * appearance and not a second element on purpose -- see the note above
51
- * the class for why.
52
- */
53
- appearance?: "switcher";
54
- createRenderRoot(): this;
55
- tabId(index: number): string;
56
- _select(index: number, { focus }?: {
57
- focus?: boolean | undefined;
58
- }): void;
59
- /**
60
- * The switcher's equal-width rule, which CSS alone cannot express.
61
- *
62
- * The design asks for every option to be as wide as the LONGEST label, so a
63
- * translation cannot make one option wider than another. That needs three
64
- * things at once -- the track hugs its content, the columns are equal, and
65
- * the equal width is the widest option's -- and no grid declaration gives
66
- * all three. Measured on the Unequal labels story: `1fr` produced 127.21 and
67
- * 141.79 and wrapped both labels, and `minmax(max-content, 1fr)` produced
68
- * 78.35 and 248.77. Both are correct CSS; an `fr` track needs definite free
69
- * space to equalise, and a shrink-to-fit container has none -- and once the
70
- * width IS definite, `fr` splits it evenly rather than matching the widest.
71
- *
72
- * So the widest option is measured and published as a custom property the
73
- * grid reads. The property is cleared first: without that, a re-render after
74
- * the labels get SHORTER would measure the widths this rule had already
75
- * equalised and the track could never shrink again.
76
- */
77
- _sizeSwitcherOptions(): void;
78
- updated(changed: PropertyValues<this>): void;
79
- firstUpdated(): void;
80
- _focusSelected(): void;
81
- /**
82
- * Arrow keys move and activate in one step (automatic activation), which is
83
- * the WAI-ARIA recommendation when revealing a panel is cheap — it is here,
84
- * the panels are already in the DOM.
85
- */
86
- _onKeydown(event: KeyboardEvent): void;
87
- render(): TemplateResult<1>;
88
- }
89
- declare global {
90
- interface HTMLElementTagNameMap {
91
- "bd-tab-list": BdTabList;
92
- }
93
- interface HTMLElementEventMap {
94
- "bd-tab-select": CustomEvent<{
95
- index: number;
96
- }>;
97
- }
98
- }
99
- export {};
@@ -1,25 +0,0 @@
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{LitElement as n,html as r,nothing as i}from"lit";import{property as a}from"lit/decorators.js";var o=class extends n{constructor(...e){super(...e),this.tabs=[],this.selected=0,this.label=``,this.panelId=``,this.idPrefix=`bd-tab`}createRenderRoot(){return this}tabId(e){return`${this.idPrefix}-${e}`}_select(e,{focus:t=!1}={}){e!==this.selected&&(this.selected=e,this.dispatchEvent(new CustomEvent(`bd-tab-select`,{detail:{index:e},bubbles:!0,composed:!0})),t&&this.updateComplete.then(()=>this._focusSelected()))}_sizeSwitcherOptions(){if(this.appearance!==`switcher`)return;let e=this.querySelector(`.bd-tabs-container`),t=[...this.querySelectorAll(`.bd-tab-button`)];if(!e||!t.length)return;e.style.removeProperty(`--bd-switcher-option-width`);let n=Math.max(...t.map(e=>e.getBoundingClientRect().width));n>0&&e.style.setProperty(`--bd-switcher-option-width`,`${n}px`)}updated(e){super.updated(e),this._sizeSwitcherOptions()}firstUpdated(){document.fonts?.ready.then(()=>this._sizeSwitcherOptions())}_focusSelected(){this.querySelector(`#${CSS.escape(this.tabId(this.selected))}`)?.focus()}_onKeydown(e){let t=this.tabs.length-1;if(t<0)return;let n=this.matches(`:dir(rtl)`)?{ArrowRight:`ArrowLeft`,ArrowLeft:`ArrowRight`}[e.key]??e.key:e.key,r;switch(n){case`ArrowRight`:r=this.selected===t?0:this.selected+1;break;case`ArrowLeft`:r=this.selected===0?t:this.selected-1;break;case`Home`:r=0;break;case`End`:r=t;break;default:return}e.preventDefault(),this._select(r,{focus:!0})}render(){return r`
2
- <div
3
- class="bd-tabs-container ${this.appearance===`switcher`?`bd-tabs-container--switcher`:``}"
4
- role="tablist"
5
- aria-label=${this.label||i}
6
- @keydown=${this._onKeydown}
7
- >
8
- ${this.tabs.map((e,t)=>{let n=this.selected===t;return r`
9
- <button
10
- type="button"
11
- role="tab"
12
- id=${this.tabId(t)}
13
- aria-selected=${n?`true`:`false`}
14
- aria-controls=${this.panelId||i}
15
- tabindex=${n?`0`:`-1`}
16
- class="bd-tab-button"
17
- @click=${()=>this._select(t)}
18
- >
19
- ${e.icon?r`<img src=${e.icon} alt=${e.iconAlt||``} class="bd-tab-icon" />`:``}
20
- <span class="bd-tab-label">${e.content??e.label}</span>
21
- </button>
22
- `})}
23
- </div>
24
- `}};t([a({type:Array})],o.prototype,`tabs`,void 0),t([a({type:Number,reflect:!0})],o.prototype,`selected`,void 0),t([a({type:String})],o.prototype,`label`,void 0),t([a({type:String,attribute:`panel-id`})],o.prototype,`panelId`,void 0),t([a({type:String,attribute:`id-prefix`})],o.prototype,`idPrefix`,void 0),t([a({type:String,reflect:!0})],o.prototype,`appearance`,void 0),o=t([e(`bd-tab-list`)],o);export{o as BdTabList};
25
- //# sourceMappingURL=tab-list.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tab-list.js","names":["_decorate","__decorate","BdTabList","LitElement","_args","index","focus","track","options","widest","o","changed","last","key","event","next","nothing","isSelected","tab","property","defineElement"],"sources":["../../../../src/components/tab-list/tab-list.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues, type TemplateResult } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\n\ninterface Tab {\n label? : string | null;\n content?: string | TemplateResult;\n icon? : string;\n iconAlt?: string;\n}\n\n/**\n * The tab strip on its own — the row of buttons, the selected underline, and\n * the WAI-ARIA tabs keyboard pattern. It owns no panel and no layout; the\n * section that uses it decides what a panel is and how the page around it is\n * arranged.\n *\n * ## Light DOM, on purpose\n *\n * `aria-controls` and `aria-labelledby` are IDREFs, and an IDREF does not\n * resolve across a shadow boundary. A tab inside this element's shadow root\n * therefore could not point at a panel living in the consumer's shadow root.\n * Rendering into light DOM keeps the buttons in the same node tree as the\n * panel, so the wiring is real rather than decorative.\n *\n * The consequence is that `static styles` would never apply. Import\n * `tabListCSS` from ./tab-list.css.ts and add it to the consuming component's\n * own `static styles` instead.\n *\n * ## Two appearances, one control\n *\n * `appearance=\"switcher\"` draws the Content Switcher: a pill track with the\n * selected option on a white pill. It is a skin rather than its own element\n * because everything below it -- role=\"tablist\", role=\"tab\", aria-selected,\n * the roving tabindex and the Arrow/Home/End pattern with automatic\n * activation -- is identical, and the light-DOM decision above is the whole\n * reason this element exists. A separate <bd-content-switcher> would have had\n * to re-solve the IDREF problem and keep a second copy of the keyboard\n * pattern in step with this one.\n *\n * Storybook lists it as Components/Content Switcher so it is findable by the\n * name it was designed under.\n */\n@defineElement(\"bd-tab-list\")\nexport class BdTabList extends LitElement {\n @property({ type: Array })\n tabs: Tab[] = [];\n @property({ type: Number, reflect: true })\n selected = 0;\n @property({ type: String })\n label = \"\";\n @property({ type: String, attribute: \"panel-id\" })\n panelId = \"\";\n @property({ type: String, attribute: \"id-prefix\" })\n idPrefix = \"bd-tab\";\n /**\n * The skin. Omitted gives the underlined strip this element has always\n * drawn; \"switcher\" gives the pill-track content switcher. It is an\n * appearance and not a second element on purpose -- see the note above\n * the class for why.\n */\n @property({ type: String, reflect: true })\n appearance?: \"switcher\";\n\n // See the note above: light DOM is what makes the ARIA wiring work.\n createRenderRoot() {\n return this;\n }\n\n tabId(index: number) {\n return `${this.idPrefix}-${index}`;\n }\n\n _select(index: number, { focus = false } = {}) {\n if (index === this.selected) return;\n this.selected = index;\n this.dispatchEvent(new CustomEvent(\"bd-tab-select\", {\n detail : { index },\n bubbles : true,\n composed: true\n }));\n if (focus) this.updateComplete.then(() => this._focusSelected());\n }\n\n /**\n * The switcher's equal-width rule, which CSS alone cannot express.\n *\n * The design asks for every option to be as wide as the LONGEST label, so a\n * translation cannot make one option wider than another. That needs three\n * things at once -- the track hugs its content, the columns are equal, and\n * the equal width is the widest option's -- and no grid declaration gives\n * all three. Measured on the Unequal labels story: `1fr` produced 127.21 and\n * 141.79 and wrapped both labels, and `minmax(max-content, 1fr)` produced\n * 78.35 and 248.77. Both are correct CSS; an `fr` track needs definite free\n * space to equalise, and a shrink-to-fit container has none -- and once the\n * width IS definite, `fr` splits it evenly rather than matching the widest.\n *\n * So the widest option is measured and published as a custom property the\n * grid reads. The property is cleared first: without that, a re-render after\n * the labels get SHORTER would measure the widths this rule had already\n * equalised and the track could never shrink again.\n */\n _sizeSwitcherOptions() {\n if (this.appearance !== \"switcher\") return;\n const track = this.querySelector<HTMLElement>(\".bd-tabs-container\");\n const options = [...this.querySelectorAll(\".bd-tab-button\")];\n if (!track || !options.length) return;\n\n track.style.removeProperty(\"--bd-switcher-option-width\");\n const widest = Math.max(...options.map(o => o.getBoundingClientRect().width));\n if (widest > 0) track.style.setProperty(\"--bd-switcher-option-width\", `${widest}px`);\n }\n\n updated(changed: PropertyValues<this>) {\n super.updated(changed);\n this._sizeSwitcherOptions();\n }\n\n firstUpdated() {\n /* The measurement is only as good as the font that was loaded when it ran.\n IBM Plex arrives after first paint, and a fallback face has different\n advance widths -- so a switcher measured on the fallback keeps a width\n that no longer matches its own text. One re-measure once the faces are\n in is enough; fonts.ready settles once per document. */\n document.fonts?.ready.then(() => this._sizeSwitcherOptions());\n }\n\n _focusSelected() {\n this.querySelector<HTMLElement>(`#${CSS.escape(this.tabId(this.selected))}`)?.focus();\n }\n\n /**\n * Arrow keys move and activate in one step (automatic activation), which is\n * the WAI-ARIA recommendation when revealing a panel is cheap — it is here,\n * the panels are already in the DOM.\n */\n _onKeydown(event: KeyboardEvent) {\n const last = this.tabs.length - 1;\n if (last < 0) return;\n\n /* The arrows follow the strip as it is drawn: on a right-to-left page the\n next tab is to the left, so ArrowLeft moves to it. */\n const rtl = this.matches(\":dir(rtl)\");\n const key = rtl ? ({ ArrowRight: \"ArrowLeft\", ArrowLeft: \"ArrowRight\" } as Record<string, string>)[event.key] ?? event.key : event.key;\n\n let next: number;\n switch (key) {\n case \"ArrowRight\": next = this.selected === last ? 0 : this.selected + 1; break;\n case \"ArrowLeft\": next = this.selected === 0 ? last : this.selected - 1; break;\n case \"Home\": next = 0; break;\n case \"End\": next = last; break;\n default: return;\n }\n\n event.preventDefault();\n this._select(next, { focus: true });\n }\n\n render() {\n return html`\n <div\n class=\"bd-tabs-container ${this.appearance === \"switcher\" ? \"bd-tabs-container--switcher\" : \"\"}\"\n role=\"tablist\"\n aria-label=${this.label || nothing}\n @keydown=${this._onKeydown}\n >\n ${this.tabs.map((tab, index) => {\n const isSelected = this.selected === index;\n return html`\n <button\n type=\"button\"\n role=\"tab\"\n id=${this.tabId(index)}\n aria-selected=${isSelected ? \"true\" : \"false\"}\n aria-controls=${this.panelId || nothing}\n tabindex=${isSelected ? \"0\" : \"-1\"}\n class=\"bd-tab-button\"\n @click=${() => this._select(index)}\n >\n ${tab.icon\n ? html`<img src=${tab.icon} alt=${tab.iconAlt || \"\"} class=\"bd-tab-icon\" />`\n : \"\"}\n <span class=\"bd-tab-label\">${tab.content ?? tab.label}</span>\n </button>\n `;\n })}\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-tab-list\": BdTabList;\n }\n interface HTMLElementEventMap {\n \"bd-tab-select\": CustomEvent<{ index: number }>;\n }\n}\n"],"mappings":"A,0QA8CO,IAAME,EAAN,cAAwBC,CAAW,C,8BAE1B,KAAA,KAAA,CAAC,EAEJ,KAAA,SAAA,EAEH,KAAA,MAAA,GAEE,KAAA,QAAA,GAEC,KAAA,SAAA,Q,CAWX,kBAAmB,CACjB,OAAO,IACT,CAEA,MAAM,EAAe,CACnB,MAAO,GAAG,KAAK,SAAS,GAAGE,GAC7B,CAEA,QAAQ,EAAe,CAAE,QAAQ,IAAU,CAAC,EAAG,CACzCA,IAAU,KAAK,WACnB,KAAK,SAAWA,EAChB,KAAK,cAAc,IAAI,YAAY,gBAAiB,CAClD,OAAU,CAAE,OAAM,EAClB,QAAU,GACV,SAAU,EACZ,CAAC,CAAC,EACEC,GAAO,KAAK,eAAe,SAAW,KAAK,eAAe,CAAC,EACjE,CAoBA,sBAAuB,CACrB,GAAI,KAAK,aAAe,WAAY,OACpC,IAAMC,EAAQ,KAAK,cAA2B,oBAAoB,EAC5DC,EAAU,CAAC,GAAG,KAAK,iBAAiB,gBAAgB,CAAC,EAC3D,GAAI,CAACD,GAAS,CAACC,EAAQ,OAAQ,OAE/BD,EAAM,MAAM,eAAe,4BAA4B,EACvD,IAAME,EAAS,KAAK,IAAI,GAAGD,EAAQ,IAAI,GAAKE,EAAE,sBAAsB,CAAC,CAAC,KAAK,CAAC,EACxED,EAAS,GAAGF,EAAM,MAAM,YAAY,6BAA8B,GAAGE,EAAO,GAAG,CACrF,CAEA,QAAQ,EAA+B,CACrC,MAAM,QAAQE,CAAO,EACrB,KAAK,qBAAqB,CAC5B,CAEA,cAAe,CAMb,SAAS,OAAO,MAAM,SAAW,KAAK,qBAAqB,CAAC,CAC9D,CAEA,gBAAiB,CACf,KAAK,cAA2B,IAAI,IAAI,OAAO,KAAK,MAAM,KAAK,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CACtF,CAOA,WAAW,EAAsB,CAC/B,IAAMC,EAAO,KAAK,KAAK,OAAS,EAChC,GAAIA,EAAO,EAAG,OAKd,IAAMC,EADM,KAAK,QAAQ,WACb,EAAO,CAAE,WAAY,YAAa,UAAW,YAAa,EAA6BC,EAAM,MAAQA,EAAM,IAAMA,EAAM,IAE/HC,EACJ,OAAQF,EAAR,CACE,IAAK,aAAc,EAAO,KAAK,WAAaD,EAAO,EAAI,KAAK,SAAW,EAAG,MAC1E,IAAK,YAAa,EAAO,KAAK,WAAa,EAAIA,EAAO,KAAK,SAAW,EAAG,MACzE,IAAK,OAAQ,EAAO,EAAG,MACvB,IAAK,MAAO,EAAOA,EAAM,MACzB,QAAS,MACX,CAEAE,EAAM,eAAe,EACrB,KAAK,QAAQC,EAAM,CAAE,MAAO,EAAK,CAAC,CACpC,CAEA,QAAS,CACP,MAAO,EAAI;;mCAEoB,KAAK,aAAe,WAAa,8BAAgC,GAAG;;qBAElF,KAAK,OAASC,EAAQ;mBACxB,KAAK,WAAW;;UAEzB,KAAK,KAAK,KAAK,EAAK,IAAU,CAC9B,IAAMC,EAAa,KAAK,WAAaZ,EACrC,MAAO,EAAI;;;;mBAIF,KAAK,MAAMA,CAAK,EAAE;8BACPY,EAAa,OAAS,QAAQ;8BAC9B,KAAK,SAAWD,EAAQ;yBAC7BC,EAAa,IAAM,KAAK;;2BAEpB,KAAK,QAAQZ,CAAK,EAAE;;gBAEjCa,EAAI,KACF,CAAI,YAAYA,EAAI,KAAK,OAAOA,EAAI,SAAW,GAAG,yBAClD,GAAG;2CACsBA,EAAI,SAAWA,EAAI,MAAM;;WAG5D,CAAC,EAAE;;KAGT,CACF,EAhJGlB,EAAA,CAAAmB,EAAS,CAAE,KAAM,KAAM,CAAC,CAAA,EAAAjB,EAAA,UAAA,OAAA,IAAA,EAAA,EAExBF,EAAA,CAAAmB,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAjB,EAAA,UAAA,WAAA,IAAA,EAAA,EAExCF,EAAA,CAAAmB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAjB,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBF,EAAA,CAAAmB,EAAS,CAAE,KAAM,OAAQ,UAAW,UAAW,CAAC,CAAA,EAAAjB,EAAA,UAAA,UAAA,IAAA,EAAA,EAEhDF,EAAA,CAAAmB,EAAS,CAAE,KAAM,OAAQ,UAAW,WAAY,CAAC,CAAA,EAAAjB,EAAA,UAAA,WAAA,IAAA,EAAA,EAQjDF,EAAA,CAAAmB,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAjB,EAAA,UAAA,aAAA,IAAA,EAAA,EAlB1C,EAAAF,EAAA,CAAAoB,EAAc,aAAa,CAAA,EAAAlB,CAAA,E"}
@@ -1,2 +0,0 @@
1
- import{css as e}from"lit";var t=e`:host{font-size:100%;font-family:var(--typography-fontFamily-sans);--bd-features-padding-bottom:0;display:block}:host([bg-blue]){background:var(--color-brand-50);--bd-features-padding-bottom:var(--spacing-32)}.bd-tabs-component{box-sizing:border-box;flex-direction:column;align-items:center;display:flex}bd-highlight,.bd-tabs-subtitle,.bd-tabs-container{margin:var(--spacing-24);box-sizing:border-box}.bd-tabs-subtitle{font-size:var(--typography-body-regular-fontSize);text-align:center;max-width:780px;font-family:var(--typography-fontFamily-sans);margin-top:var(--spacing-32);margin-bottom:var(--spacing-32)}.bd-panel-wrapper{box-sizing:border-box;grid-template-columns:minmax(0,1fr);width:100%;display:grid}.bd-panel{grid-area:1/1}.bd-panel[inert]{visibility:hidden}`;export{t as default};
2
- //# sourceMappingURL=tabs.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tabs.css.js","names":["tabs_css_default"],"sources":["../../../../src/components/tabs/tabs.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n font-size: 100%;\n display: block;\n font-family: var(--typography-fontFamily-sans);\n --bd-features-padding-bottom: 0;\n }\n\n :host([bg-blue]) {\n background: var(--color-brand-50);\n --bd-features-padding-bottom: var(--spacing-32);\n }\n\n .bd-tabs-component {\n display: flex;\n flex-direction: column;\n align-items: center;\n box-sizing: border-box;\n }\n\n bd-highlight,\n .bd-tabs-subtitle,\n .bd-tabs-container {\n margin: var(--spacing-24);\n box-sizing: border-box;\n }\n\n .bd-tabs-subtitle {\n font-size: var(--typography-body-regular-fontSize);\n max-width: 780px;\n text-align: center;\n font-family: var(--typography-fontFamily-sans);\n margin-top: var(--spacing-32);\n margin-bottom: var(--spacing-32);\n }\n\n /* The tab strip itself lives in Components/Tab List (tabListCSS, included in\n static styles above). Only this section's own layout stays here. */\n\n /* Panel — full width, fara padding inline. Every panel is rendered into the\n one cell, so the row is the tallest panel's height and a tab switch moves\n nothing below the section (see _cloneOf in tabs.ts). minmax(0, 1fr) keeps\n the track at the wrapper's width: an auto track would grow to the widest\n panel's min-content and lay the visible panel out wider than the column. */\n .bd-panel-wrapper {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n width: 100%;\n box-sizing: border-box;\n }\n\n .bd-panel {\n grid-area: 1 / 1;\n }\n\n /* Out of sight, still in layout -- display: none would take the inactive\n panels out of the height they are here to hold. inert keeps them out of\n the tab order and the accessibility tree. */\n .bd-panel[inert] {\n visibility: hidden;\n }\n\n /* No column rules. A tab panel's columns are bd-features' -- every panel in\n every story wraps its content in <bd-features>, which renders .bd-col,\n .col-icon-wrapper, .col-title-wrapper, .col-title and .col-description\n into its own shadow root and styles them from features.css.ts. A copy of\n six of those selectors stood here and could not reach across that\n boundary: measured 0 matches for every one of them across 9 bd-tabs shadow\n roots in 604 built stories.\n\n Two recorded findings went with them, and neither was a question about\n tabs. The 24px/1.5 column title in scripts/typography-pairings.json was\n this file's .col-title, so the pairing it recorded rendered nowhere; and\n the two responsive widths were this file's entries in the lg and 600\n column groups, where bd-features carries the live ones. */\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,owB"}
@@ -1,69 +0,0 @@
1
- import { LitElement, type PropertyValues } from "lit";
2
- import "../../tokens/tokens.js";
3
- import "../features/features.js";
4
- import "../heading/heading.js";
5
- import "../highlight/highlight.js";
6
- import "../paragraph/paragraph.js";
7
- import "../tab-list/tab-list.js";
8
- declare class BdTabPanel extends LitElement {
9
- static styles: never[];
10
- render(): import("lit-html").TemplateResult<1>;
11
- }
12
- declare class BdTabs extends LitElement {
13
- title: string;
14
- subtitle: string;
15
- highlightText: string;
16
- selectedTab: number;
17
- bgBlue: boolean;
18
- static styles: import("lit").CSSResult[];
19
- _clones: WeakMap<Element, {
20
- live: boolean;
21
- node: Element;
22
- }>;
23
- _sizers: Element[];
24
- _panelObserver?: MutationObserver;
25
- constructor();
26
- _getPanels(): Element[];
27
- selectTab(index: number): void;
28
- connectedCallback(): void;
29
- disconnectedCallback(): void;
30
- willUpdate(changed: PropertyValues<this>): void;
31
- _recopy(): void;
32
- /**
33
- * Every panel is rendered, all of them in one grid cell, so the wrapper is
34
- * as tall as the tallest panel and switching tabs moves nothing below it.
35
- * The inactive ones are `inert` and hidden (tabs.css.ts), which keeps them
36
- * out of the tab order and the accessibility tree while they still take
37
- * part in layout.
38
- *
39
- * This replaces measuring. The component used to select every tab in turn
40
- * on load, read each panel's height two frames later and pin the tallest as
41
- * a min-height: the strip visibly cycled through its tabs as the page
42
- * opened, and the number was never taken again, so a font arriving or a
43
- * resize that rewrapped a panel left it wrong. The grid answers the same
44
- * question at every layout.
45
- *
46
- * A panel is a copy of its bd-tab-panel child, and a hidden one is only
47
- * there for its height: a sizer, never shown. It is held still (quiet()),
48
- * because hidden is not stopped -- a video in it would play from the moment
49
- * the page opened, and an intro that waits to be on screen would run where
50
- * nobody sees it and be over by the time the tab was opened. Opening a tab
51
- * swaps its sizer for a fresh copy, so what it holds starts then, as on a
52
- * page; leaving it swaps the copy back for a sizer, so its accordions return
53
- * to their authored state and its video stops, which is what leaving did
54
- * when only the active panel was in the DOM. A copy is kept while its panel
55
- * stays as it is, so a re-render does not rebuild the panel being read;
56
- * when the panel changes, every copy is taken again (connectedCallback).
57
- */
58
- _cloneOf(panel: Element, live: boolean): Element;
59
- _sizer(panel: Element): HTMLDivElement;
60
- updated(): void;
61
- render(): import("lit-html").TemplateResult<1>;
62
- }
63
- declare global {
64
- interface HTMLElementTagNameMap {
65
- "bd-tab-panel": BdTabPanel;
66
- "bd-tabs": BdTabs;
67
- }
68
- }
69
- export {};
@@ -1,29 +0,0 @@
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"../features/features.js";import"../highlight/highlight.js";import"../tab-list/tab-list.js";import r from"../tab-list/tab-list.css.js";import i from"./tabs.css.js";import{LitElement as a,html as o}from"lit";import{property as s,state as c}from"lit/decorators.js";var l=class extends a{static{this.styles=[]}render(){return o`<slot></slot>`}};l=t([e(`bd-tab-panel`)],l);function*u(e){for(let t of[e,e.shadowRoot].filter(e=>e!=null))for(let e of t.querySelectorAll(`*`))yield e,e.shadowRoot&&(yield*u(e.shadowRoot))}function d(e){e instanceof HTMLMediaElement?(e.autoplay=!1,e.pause()):e instanceof HTMLIFrameElement?(e.removeAttribute(`srcdoc`),e.getAttribute(`src`)!==`about:blank`&&(e.src=`about:blank`)):e.localName.includes(`-`)&&`paused`in e&&(e.paused=!0)}async function f(e){for(let t=0;t<3;t++){let t=[...u(e)];t.forEach(d);let n=t.filter(e=>!!e.isUpdatePending);if(!n.length)return;await Promise.all(n.map(e=>e.updateComplete.catch(()=>{})))}}var p=class extends a{static{this.styles=[n,r,i]}constructor(){super(),this.title=``,this.subtitle=``,this.highlightText=``,this.selectedTab=0,this.bgBlue=!1,this._clones=/* @__PURE__ */ new WeakMap,this._sizers=[]}_getPanels(){return Array.from(this.querySelectorAll(`:scope > bd-tab-panel`))}selectTab(e){this.selectedTab=e}connectedCallback(){super.connectedCallback(),this._panelObserver??=new MutationObserver(()=>this._recopy()),this._panelObserver.observe(this,{childList:!0,subtree:!0,characterData:!0})}disconnectedCallback(){super.disconnectedCallback(),this._panelObserver?.disconnect()}willUpdate(e){e.size||(this._clones=/* @__PURE__ */ new WeakMap)}_recopy(){this._clones=/* @__PURE__ */ new WeakMap,this.requestUpdate()}_cloneOf(e,t){let n=this._clones.get(e);return n?.live!==t&&(n={live:t,node:t?e.cloneNode(!0):this._sizer(e)},this._clones.set(e,n),t||this._sizers.push(n.node)),n.node}_sizer(e){let t=document.createElement(`div`),n=e.cloneNode(!0);return[n,...n.querySelectorAll(`*`)].forEach(d),t.attachShadow({mode:`open`}).append(n),t}updated(){for(let e of this._sizers.splice(0))f(e)}render(){let e=this._getPanels();return o`
2
- <div class="bd-ensemble bd-tabs-component">
3
-
4
- ${this.title?o`<bd-highlight highlight-text="${this.highlightText}">${this.title}</bd-highlight>`:``}
5
-
6
- ${this.subtitle?o`<bd-p variant="large" class="bd-tabs-subtitle">${this.subtitle}</bd-p>`:``}
7
-
8
- <bd-tab-list
9
- .tabs=${e.map(e=>({label:e.getAttribute(`title`)}))}
10
- .selected=${this.selectedTab}
11
- id-prefix="tab-btn"
12
- panel-id="tab-panel"
13
- @bd-tab-select=${e=>this.selectTab(e.detail.index)}
14
- ></bd-tab-list>
15
-
16
- <div
17
- id="tab-panel"
18
- role="tabpanel"
19
- aria-labelledby="tab-btn-${this.selectedTab}"
20
- class="bd-panel-wrapper"
21
- >
22
- ${e.map((e,t)=>o`
23
- <div class="bd-panel" ?inert=${t!==this.selectedTab}>${this._cloneOf(e,t===this.selectedTab)}</div>
24
- `)}
25
- </div>
26
-
27
- </div>
28
- `}};t([s({type:String})],p.prototype,`title`,void 0),t([s({type:String})],p.prototype,`subtitle`,void 0),t([s({type:String,attribute:`highlight-text`})],p.prototype,`highlightText`,void 0),t([c()],p.prototype,`selectedTab`,void 0),t([s({type:Boolean,reflect:!0,attribute:`bg-blue`})],p.prototype,`bgBlue`,void 0),p=t([e(`bd-tabs`)],p);
29
- //# sourceMappingURL=tabs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tabs.js","names":["_decorate","tabsCSS","__decorate","tabListCSS","tabs_css_default","BdTabPanel","LitElement","defineElement","composedTree","root","node","r","el","hold","quiet","round","all","panel","pending","BdTabs","ensembleCSS","index","changed","copy","live","sizer","panels","property","state"],"sources":["../../../../src/components/tabs/tabs.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues, type ReactiveElement } from \"lit\";\nimport { property, state } 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/features/features.ts\";\nimport \"#components/heading/heading.ts\";\nimport \"#components/highlight/highlight.ts\";\nimport \"#components/paragraph/paragraph.ts\";\nimport \"#components/tab-list/tab-list.ts\";\nimport { tabListCSS } from \"#components/tab-list/tab-list.css.ts\";\nimport tabsCSS from \"./tabs.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\n@defineElement(\"bd-tab-panel\")\nclass BdTabPanel extends LitElement {\n static styles = [];\n\n render() {\n return html`<slot></slot>`;\n }\n}\n\n/** Every element under `node`, through every shadow root. */\nfunction* composedTree(node: ParentNode & { shadowRoot?: ShadowRoot | null }): Generator<Element> {\n for (const root of [node, node.shadowRoot].filter(r => r != null)) {\n for (const el of root.querySelectorAll(\"*\")) {\n yield el;\n if (el.shadowRoot) yield* composedTree(el.shadowRoot);\n }\n }\n}\n\n/* Holds a hidden panel still: its media paused and kept from autoplaying, and\n every component that moves on its own -- this package spells that `paused`:\n bd-hero, bd-logo-marquee, bd-motion-art, bd-pagination-dots -- paused.\n Components render after they upgrade, so what they render is reached a\n round later.\n\n An embed is unloaded instead: it is a page from another origin, which no\n script here can pause, so a bd-video-player whose YouTube URL asks for\n autoplay played in a tab nobody had opened. A sizer is never shown, and a\n frame's box is its own CSS, not its document's, so the panel's height\n holds without it. Images and video stay: their size is their file's. */\nfunction hold(el: Element) {\n if (el instanceof HTMLMediaElement) {\n el.autoplay = false;\n el.pause();\n } else if (el instanceof HTMLIFrameElement) {\n // srcdoc outranks src, so it goes first\n el.removeAttribute(\"srcdoc\");\n if (el.getAttribute(\"src\") !== \"about:blank\") el.src = \"about:blank\";\n } else if (el.localName.includes(\"-\") && \"paused\" in el) {\n el.paused = true;\n }\n}\n\nasync function quiet(panel: Element) {\n for (let round = 0; round < 3; round++) {\n const all = [...composedTree(panel)];\n all.forEach(hold);\n const pending = all.filter((el): el is ReactiveElement => Boolean((el as Partial<ReactiveElement>).isUpdatePending));\n if (!pending.length) return;\n await Promise.all(pending.map(el => el.updateComplete.catch(() => {})));\n }\n}\n\n@defineElement(\"bd-tabs\")\nclass BdTabs extends LitElement {\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n subtitle = \"\";\n @property({ type: String, attribute: \"highlight-text\" })\n highlightText = \"\";\n @state()\n selectedTab = 0;\n @property({ type: Boolean, reflect: true, attribute: \"bg-blue\" })\n bgBlue = false;\n\n static styles = [ensembleCSS, tabListCSS, tabsCSS];\n\n _clones: WeakMap<Element, { live: boolean; node: Element }>;\n _sizers: Element[];\n _panelObserver?: MutationObserver;\n\n constructor() {\n super();\n this._clones = new WeakMap();\n this._sizers = [];\n }\n\n _getPanels() {\n return Array.from(this.querySelectorAll(\":scope > bd-tab-panel\"));\n }\n\n selectTab(index: number) {\n this.selectedTab = index;\n }\n\n /* A copy is of its panel as it was when it was taken, and a page often\n finishes a panel after bd-tabs is on it: the site's tabs block appends\n the panels, then decorates the blocks inside them -- a features block\n becomes bd-features -- and asks for an update. A copy used to be taken\n on every render, so that update read the finished panels; once copies\n were kept (_cloneOf), the open tab went on showing the raw block rows,\n and the hidden ones sized the section from them -- 3822px for a panel\n that is 735.\n\n So the copies follow the panels. A change to what a panel holds, its\n children or its text, has every copy taken again; so does an update\n nobody named a property for -- a bare requestUpdate() -- which is how a\n page says it changed something else, an attribute. Attributes are not\n watched: the components inside a panel reflect their own, and a copy\n taken again restarts what the open tab holds. */\n connectedCallback() {\n super.connectedCallback();\n this._panelObserver ??= new MutationObserver(() => this._recopy());\n this._panelObserver.observe(this, { childList: true, subtree: true, characterData: true });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._panelObserver?.disconnect();\n }\n\n willUpdate(changed: PropertyValues<this>) {\n if (!changed.size) this._clones = new WeakMap();\n }\n\n _recopy() {\n this._clones = new WeakMap();\n this.requestUpdate();\n }\n\n /**\n * Every panel is rendered, all of them in one grid cell, so the wrapper is\n * as tall as the tallest panel and switching tabs moves nothing below it.\n * The inactive ones are `inert` and hidden (tabs.css.ts), which keeps them\n * out of the tab order and the accessibility tree while they still take\n * part in layout.\n *\n * This replaces measuring. The component used to select every tab in turn\n * on load, read each panel's height two frames later and pin the tallest as\n * a min-height: the strip visibly cycled through its tabs as the page\n * opened, and the number was never taken again, so a font arriving or a\n * resize that rewrapped a panel left it wrong. The grid answers the same\n * question at every layout.\n *\n * A panel is a copy of its bd-tab-panel child, and a hidden one is only\n * there for its height: a sizer, never shown. It is held still (quiet()),\n * because hidden is not stopped -- a video in it would play from the moment\n * the page opened, and an intro that waits to be on screen would run where\n * nobody sees it and be over by the time the tab was opened. Opening a tab\n * swaps its sizer for a fresh copy, so what it holds starts then, as on a\n * page; leaving it swaps the copy back for a sizer, so its accordions return\n * to their authored state and its video stops, which is what leaving did\n * when only the active panel was in the DOM. A copy is kept while its panel\n * stays as it is, so a re-render does not rebuild the panel being read;\n * when the panel changes, every copy is taken again (connectedCallback).\n */\n _cloneOf(panel: Element, live: boolean) {\n let copy = this._clones.get(panel);\n if (copy?.live !== live) {\n copy = { live, node: live ? panel.cloneNode(true) as Element : this._sizer(panel) };\n this._clones.set(panel, copy);\n if (!live) this._sizers.push(copy.node);\n }\n return copy.node;\n }\n\n /* A sizer is a tree of its own: the copy goes into a shadow root on a plain\n div. Beside the live panel in this root it was part of one tree with it,\n and whatever a tree groups was grouped across panels -- an ungrouped\n bd-radio finds its group by name in its root, so a panel's radios joined\n the same-name radios of every hidden one: the visible set lost its tab\n stop to a checked radio nobody could see, the arrow keys selected radios\n in inert panels, and a choice in one panel cleared another's default.\n Nothing in this root styles a panel's content (tabs.css.ts), and what the\n content inherits -- the type, the ensemble's neutralisers -- crosses a\n shadow boundary, so a sizer is laid out as its panel is.\n\n The copy is held still before it is ever connected: connected first, its\n frames started loading and its videos fetching for a tab nobody opened,\n and only then did quiet() blank them. quiet() still follows, for what the\n copy's components render once they are on the page. */\n _sizer(panel: Element) {\n const sizer = document.createElement(\"div\");\n const copy = panel.cloneNode(true) as Element;\n [copy, ...copy.querySelectorAll(\"*\")].forEach(hold);\n sizer.attachShadow({ mode: \"open\" }).append(copy);\n return sizer;\n }\n\n updated() {\n for (const sizer of this._sizers.splice(0)) quiet(sizer);\n }\n\n render() {\n const panels = this._getPanels();\n\n return html`\n <div class=\"bd-ensemble bd-tabs-component\">\n\n ${this.title\n ? html`<bd-highlight highlight-text=\"${this.highlightText}\">${this.title}</bd-highlight>`\n : \"\"}\n\n ${this.subtitle\n ? html`<bd-p variant=\"large\" class=\"bd-tabs-subtitle\">${this.subtitle}</bd-p>`\n : \"\"}\n\n <bd-tab-list\n .tabs=${panels.map(panel => ({ label: panel.getAttribute(\"title\") }))}\n .selected=${this.selectedTab}\n id-prefix=\"tab-btn\"\n panel-id=\"tab-panel\"\n @bd-tab-select=${(e: CustomEvent<{ index: number }>) => this.selectTab(e.detail.index)}\n ></bd-tab-list>\n\n <div\n id=\"tab-panel\"\n role=\"tabpanel\"\n aria-labelledby=\"tab-btn-${this.selectedTab}\"\n class=\"bd-panel-wrapper\"\n >\n ${panels.map((panel, index) => html`\n <div class=\"bd-panel\" ?inert=${index !== this.selectedTab}>${this._cloneOf(panel, index === this.selectedTab)}</div>\n `)}\n </div>\n\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-tab-panel\": BdTabPanel;\n \"bd-tabs\" : BdTabs;\n }\n}\n"],"mappings":"A,0iBAcA,IACMK,EADN,cACyBC,CAAW,C,OAClB,KAAA,OAAA,CAAC,C,CAEjB,QAAS,CACP,MAAO,EAAI,eACb,CACF,EAPC,EAAAN,EAAA,CAAAO,EAAc,cAAc,CAAA,EAAAF,CAAA,EAU7B,SAAUG,EAAa,EAA2E,CAChG,IAAK,IAAMC,IAAQ,CAACC,EAAMA,EAAK,UAAU,CAAC,CAAC,OAAO,GAAKC,GAAK,IAAI,EAC9D,IAAK,IAAMC,KAAMH,EAAK,iBAAiB,GAAG,EACxC,MAAMG,EACFA,EAAG,aAAY,MAAOJ,EAAaI,EAAG,UAAU,EAG1D,CAaA,SAASC,EAAK,EAAa,CACrBD,aAAc,kBAChB,EAAG,SAAW,GACdA,EAAG,MAAM,GACAA,aAAc,mBAEvBA,EAAG,gBAAgB,QAAQ,EACvBA,EAAG,aAAa,KAAK,IAAM,gBAAe,EAAG,IAAM,gBAC9CA,EAAG,UAAU,SAAS,GAAG,GAAK,WAAYA,IACnD,EAAG,OAAS,GAEhB,CAEA,eAAeE,EAAM,EAAgB,CACnC,IAAK,IAAIC,EAAQ,EAAGA,EAAQ,EAAG,IAAS,CACtC,IAAMC,EAAM,CAAC,GAAGR,EAAaS,CAAK,CAAC,EACnCD,EAAI,QAAQH,CAAI,EAChB,IAAMK,EAAUF,EAAI,OAAQ,GAA8B,EAASJ,EAAgC,eAAgB,EACnH,GAAI,CAACM,EAAQ,OAAQ,OACrB,MAAM,QAAQ,IAAIA,EAAQ,IAAI,GAAMN,EAAG,eAAe,UAAY,CAAC,CAAC,CAAC,CAAC,CACxE,CACF,CAEA,IACMO,EADN,cACqBb,CAAW,C,OAYd,KAAA,OAAA,CAACc,EAAajB,EAAYF,CAAO,C,CAMjD,aAAc,CACZ,MAAM,EAjBA,KAAA,MAAA,GAEG,KAAA,SAAA,GAEK,KAAA,cAAA,GAEF,KAAA,YAAA,EAEL,KAAA,OAAA,GAUP,KAAK,wBAAgB,IAAI,QACzB,KAAK,QAAgB,CAAC,CACxB,CAEA,YAAa,CACX,OAAO,MAAM,KAAK,KAAK,iBAAiB,uBAAuB,CAAC,CAClE,CAEA,UAAU,EAAe,CACvB,KAAK,YAAcoB,CACrB,CAiBA,mBAAoB,CAClB,MAAM,kBAAkB,EACxB,KAAK,iBAAmB,IAAI,qBAAuB,KAAK,QAAQ,CAAC,EACjE,KAAK,eAAe,QAAQ,KAAM,CAAE,UAAW,GAAM,QAAS,GAAM,cAAe,EAAK,CAAC,CAC3F,CAEA,sBAAuB,CACrB,MAAM,qBAAqB,EAC3B,KAAK,gBAAgB,WAAW,CAClC,CAEA,WAAW,EAA+B,CACnCC,EAAQ,OAAM,KAAK,wBAAU,IAAI,QACxC,CAEA,SAAU,CACR,KAAK,wBAAU,IAAI,QACnB,KAAK,cAAc,CACrB,CA4BA,SAAS,EAAgB,EAAe,CACtC,IAAIC,EAAO,KAAK,QAAQ,IAAIN,CAAK,EAMjC,OALIM,GAAM,OAASC,IACjB,EAAO,CAAE,OAAM,KAAMA,EAAOP,EAAM,UAAU,EAAI,EAAe,KAAK,OAAOA,CAAK,CAAE,EAClF,KAAK,QAAQ,IAAIA,EAAOM,CAAI,EACvBC,GAAM,KAAK,QAAQ,KAAKD,EAAK,IAAI,GAEjCA,EAAK,IACd,CAiBA,OAAO,EAAgB,CACrB,IAAME,EAAQ,SAAS,cAAc,KAAK,EACpCF,EAAON,EAAM,UAAU,EAAI,EAGjC,MAFA,CAACM,EAAM,GAAGA,EAAK,iBAAiB,GAAG,CAAC,CAAC,CAAC,QAAQV,CAAI,EAClDY,EAAM,aAAa,CAAE,KAAM,MAAO,CAAC,CAAC,CAAC,OAAOF,CAAI,EACzCE,CACT,CAEA,SAAU,CACR,IAAK,IAAMA,KAAS,KAAK,QAAQ,OAAO,CAAC,EAAGX,EAAMW,CAAK,CACzD,CAEA,QAAS,CACP,IAAMC,EAAS,KAAK,WAAW,EAE/B,MAAO,EAAI;;;UAGL,KAAK,MACH,CAAI,iCAAiC,KAAK,cAAc,IAAI,KAAK,MAAM,iBACvE,GAAG;;UAEL,KAAK,SACH,CAAI,kDAAkD,KAAK,SAAS,SACpE,GAAG;;;kBAGGA,EAAO,IAAI,IAAU,CAAE,MAAOT,EAAM,aAAa,OAAO,CAAE,EAAE,EAAE;sBAC1D,KAAK,YAAY;;;2BAGX,GAAsC,KAAK,UAAU,EAAE,OAAO,KAAK,EAAE;;;;;;qCAM5D,KAAK,YAAY;;;YAG1CS,EAAO,KAAK,EAAO,IAAU,CAAI;2CACFL,IAAU,KAAK,YAAY,GAAG,KAAK,SAASJ,EAAOI,IAAU,KAAK,WAAW,EAAE;WAC/G,EAAE;;;;KAKX,CACF,EArKGrB,EAAA,CAAA2B,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAR,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBnB,EAAA,CAAA2B,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAR,EAAA,UAAA,WAAA,IAAA,EAAA,EAEzBnB,EAAA,CAAA2B,EAAS,CAAE,KAAM,OAAQ,UAAW,gBAAiB,CAAC,CAAA,EAAAR,EAAA,UAAA,gBAAA,IAAA,EAAA,EAEtDnB,EAAA,CAAA4B,EAAM,CAAA,EAAAT,EAAA,UAAA,cAAA,IAAA,EAAA,EAENnB,EAAA,CAAA2B,EAAS,CAAE,KAAM,QAAS,QAAS,GAAM,UAAW,SAAU,CAAC,CAAA,EAAAR,EAAA,UAAA,SAAA,IAAA,EAAA,EAVjE,EAAAnB,EAAA,CAAAO,EAAc,SAAS,CAAA,EAAAY,CAAA"}
@@ -1,2 +0,0 @@
1
- import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-mono);color:var(--color-text-on-media);--bd-terminalmsg-subdued:var(--color-text-on-media-muted);--bd-terminalmsg-ask:var(--color-brand-400);--bd-terminalmsg-cmd:var(--color-text-on-media);--bd-terminalmsg-ok:#27c93f;--bd-terminalmsg-info:var(--color-brand-300);--bd-terminalmsg-warn:var(--color-yellow-400);background:var(--color-surface-media);border-radius:var(--shape-radius-xl);padding:var(--spacing-14) var(--spacing-16) var(--spacing-32);box-sizing:border-box;direction:ltr;display:block}:host([variant=flush]){padding:var(--spacing-18) var(--spacing-20)}.bd-terminalmsg-titlebar{align-items:center;gap:var(--spacing-8);padding-bottom:var(--spacing-16);display:flex}.bd-terminalmsg-dot{width:var(--spacing-8);height:var(--spacing-8);border-radius:50%;flex-shrink:0;display:inline-block}.bd-terminalmsg-dot--red{background:#ff5f56}.bd-terminalmsg-dot--yellow{background:#ffbd2e}.bd-terminalmsg-dot--green{background:#27c93f}.bd-terminalmsg-panel{border:var(--border-width-1) solid var(--color-border-container-inverse);border-radius:var(--shape-radius-lg);padding:var(--spacing-20) var(--spacing-20) calc(var(--spacing-20) + var(--spacing-8));position:relative}:host([variant=flush]) .bd-terminalmsg-panel{border:none;padding:0}.bd-terminalmsg-panel-label{top:0;left:var(--spacing-16);background:var(--color-surface-media);padding:0 var(--spacing-8);color:var(--bd-terminalmsg-subdued);font-family:var(--typography-fontFamily-mono);font-size:var(--typography-fontSize-xs);position:absolute;transform:translateY(-50%)}.bd-terminalmsg-body{font-size:var(--typography-body-small-fontSize);line-height:var(--typography-body-small-lineHeight)}.bd-terminalmsg-greeting-text{color:var(--bd-terminalmsg-ask);font-weight:var(--typography-fontWeight-bold)}.bd-terminalmsg-dim{color:var(--bd-terminalmsg-subdued)}.bd-terminalmsg-greeting,.bd-terminalmsg-intro{color:var(--color-text-on-media)}.bd-terminalmsg-list{padding-left:var(--spacing-16);margin:0 0 var(--spacing-12);display:block}.bd-terminalmsg-footer{color:var(--color-text-on-media);margin:0}.bd-terminalmsg-hint{bottom:0;left:var(--spacing-16);background:var(--color-surface-media);padding:0 var(--spacing-8);color:var(--bd-terminalmsg-subdued);font-family:var(--typography-fontFamily-mono);font-size:var(--typography-fontSize-xs);max-width:calc(100% - var(--spacing-32));position:absolute;transform:translateY(50%)}.bd-terminalmsg-hint-key{color:var(--color-text-on-media);font-weight:var(--typography-fontWeight-bold)}.bd-terminalmsg-caption{color:var(--bd-terminalmsg-subdued);font-size:var(--typography-body-xsmall-fontSize);margin-top:var(--spacing-16);padding-top:var(--spacing-12);border-top:var(--border-width-1) solid var(--color-border-container-inverse)}.bd-terminalmsg-lines{display:block;container:bd-terminalmsg-lines/inline-size}.bd-terminalmsg-l-cmd{color:var(--bd-terminalmsg-cmd);font-weight:var(--typography-fontWeight-bold)}.bd-terminalmsg-l-ok{color:var(--bd-terminalmsg-ok);padding-bottom:var(--spacing-12)}.bd-terminalmsg-l-ask{color:var(--bd-terminalmsg-ask);padding:var(--spacing-12) 0}.bd-terminalmsg-l-strong{color:var(--color-text-on-media);font-weight:var(--typography-fontWeight-bold);padding-top:var(--spacing-12)}.bd-terminalmsg-l-dim{color:var(--bd-terminalmsg-subdued)}.bd-terminalmsg-l-space{height:var(--spacing-12)}.bd-terminalmsg-l-sep{border:none;border-top:var(--border-width-1) solid var(--color-border-container-inverse);margin:var(--spacing-8) 0}.bd-terminalmsg-l-title{justify-content:space-between;align-items:center;gap:var(--spacing-12);color:var(--color-text-on-media);font-weight:var(--typography-fontWeight-bold);padding-bottom:var(--spacing-16);display:flex}.bd-terminalmsg-live{align-items:center;gap:var(--spacing-4);color:var(--bd-terminalmsg-ok);font-size:var(--typography-fontSize-xs);font-weight:var(--typography-fontWeight-bold);letter-spacing:var(--typography-letterSpacing-wider);flex-shrink:0;display:inline-flex}.bd-terminalmsg-live-dot{width:var(--spacing-6);height:var(--spacing-6);border-radius:var(--radius-full);background:var(--bd-terminalmsg-ok)}.bd-terminalmsg-l-row{align-items:start;column-gap:var(--spacing-12);padding:var(--spacing-8) 0;grid-template-columns:72px 1fr auto;display:grid}:host([variant=flush]) .bd-terminalmsg-l-row{border-top:var(--border-width-1) solid var(--color-border-container-inverse)}.bd-terminalmsg-l-row-label{color:var(--bd-terminalmsg-subdued);text-transform:uppercase;font-size:var(--typography-body-xsmall-fontSize);letter-spacing:var(--typography-letterSpacing-wider);padding-top:var(--spacing-2)}.bd-terminalmsg-l-row-text{color:var(--color-text-on-media);overflow-wrap:anywhere}.bd-terminalmsg-badge{padding:var(--spacing-2) var(--spacing-12);border-radius:var(--radius-full);font-size:var(--typography-fontSize-xs);font-weight:var(--typography-fontWeight-bold);white-space:nowrap;align-items:center;margin-top:1px;display:inline-flex}.bd-terminalmsg-badge--green{background:color-mix(in srgb, var(--bd-terminalmsg-ok) 15%, transparent);color:var(--bd-terminalmsg-ok)}.bd-terminalmsg-badge--blue{background:color-mix(in srgb, var(--bd-terminalmsg-info) 15%, transparent);color:var(--bd-terminalmsg-info)}.bd-terminalmsg-badge--amber{background:color-mix(in srgb, var(--bd-terminalmsg-warn) 15%, transparent);color:var(--bd-terminalmsg-warn)}.bd-terminalmsg-badge--neutral{background:color-mix(in srgb, var(--bd-terminalmsg-subdued) 15%, transparent);color:var(--bd-terminalmsg-subdued)}@container bd-terminalmsg-lines (width<=360px){.bd-terminalmsg-l-row{row-gap:var(--spacing-4);grid-template-columns:1fr}.bd-terminalmsg-l-row-label{padding-top:0}.bd-terminalmsg-badge{justify-self:start}}`;export{t as default};
2
- //# sourceMappingURL=terminal-message.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"terminal-message.css.js","names":["terminal_message_css_default"],"sources":["../../../../src/components/terminal/terminal-message.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n display: block;\n /* A terminal transcript reads left to right on any page: it is code, and\n its prompt, gutter and cursor are drawn for that direction. */\n direction: ltr;\n font-family: var(--typography-fontFamily-mono);\n color: var(--color-text-on-media);\n\n /* The panel's quieter lines: the subordinate ink on the media frame,\n fixed with it, 7.92:1 in either theme. */\n --bd-terminalmsg-subdued: var(--color-text-on-media-muted);\n\n /* The rest of the transcript's line-kind palette, on one mechanism.\n\n This panel tells its line kinds apart by COLOUR -- see the marker on\n .bd-terminalmsg-greeting-text -- so these are the component's own\n vocabulary, not applications of a brand ink. That distinction is why\n vocabulary question C closed without a global role: blue on a dark surface\n here means \"the assistant is speaking\", not \"brand\". See\n plans/reports/phase-2-vocab-c-inverse-ink.md.\n\n The five kinds used four different mechanisms before this -- two semantic\n roles, one component token, one raw primitive and one literal. Naming them\n locally puts the palette in one place to read and to change. */\n --bd-terminalmsg-ask: var(--color-brand-400);\n --bd-terminalmsg-cmd: var(--color-text-on-media);\n /* no token: the transcript's success green is the macOS traffic-light green,\n matched to the dots this panel already draws, and the palette has no step at\n it -- the nearest is --color-green-500 at a perceptual distance of 10.5,\n which is a different colour rather than a rounding. Moving it here makes it\n one declaration instead of one scattered, but it is NOT retired: nothing in\n the scale carries this value. */\n --bd-terminalmsg-ok: #27c93f;\n /* The status badges' two other kinds, on the same mechanism. info is\n blue-300 rather than the ask line's blue-400: a badge is a label, not the\n assistant speaking. 7.61 and 12.17:1 on the media frame. */\n --bd-terminalmsg-info: var(--color-brand-300);\n --bd-terminalmsg-warn: var(--color-yellow-400);\n /* The media frame, --color-surface-media. A terminal is dark in every theme, and this\n panel's line palette (blue-400, the traffic-light green) is legible only\n on a dark ground -- 2.98 and 1.97:1 once an inverse ground turns light.\n It read --color-surface-inverse until dark mode decision 15. */\n background: var(--color-surface-media);\n border-radius: var(--shape-radius-xl);\n padding: var(--spacing-14) var(--spacing-16) var(--spacing-32);\n box-sizing: border-box;\n }\n\n /* Tighter host padding for the \"flush\" variant, used where the terminal\n sits over decorative rings/a 3D scene (e.g. the VPN hero). */\n :host([variant=\"flush\"]) {\n padding: var(--spacing-18) var(--spacing-20);\n }\n\n /* === TITLEBAR (traffic-light dots only, no label) === */\n .bd-terminalmsg-titlebar {\n display: flex;\n align-items: center;\n gap: var(--spacing-8);\n padding-bottom: var(--spacing-16);\n }\n\n .bd-terminalmsg-dot {\n width: var(--spacing-8);\n height: var(--spacing-8);\n border-radius: 50%;\n display: inline-block;\n flex-shrink: 0;\n }\n\n .bd-terminalmsg-dot--red {\n background: #ff5f56;\n }\n\n .bd-terminalmsg-dot--yellow {\n background: #ffbd2e;\n }\n\n .bd-terminalmsg-dot--green {\n background: #27c93f;\n }\n\n /* === PANEL === */\n .bd-terminalmsg-panel {\n position: relative;\n border: var(--border-width-1) solid var(--color-border-container-inverse);\n border-radius: var(--shape-radius-lg);\n padding: var(--spacing-20) var(--spacing-20) calc(var(--spacing-20) + var(--spacing-8));\n }\n\n /* \"flush\" variant: the host's own box already reads as the terminal's\n edge (no titlebar dots above it to visually separate an inner panel),\n so the inner panel's own border is redundant — drop it and let the\n panel's padding still apply. */\n :host([variant=\"flush\"]) .bd-terminalmsg-panel {\n border: none;\n padding: 0;\n }\n\n /* Top \"legend\": text sitting on the top border line, background matching the\n panel's own bg color masks the border behind the text. */\n .bd-terminalmsg-panel-label {\n position: absolute;\n top: 0;\n left: var(--spacing-16);\n transform: translateY(-50%);\n /* the media ground again; see the note above */\n background: var(--color-surface-media);\n padding: 0 var(--spacing-8);\n color: var(--bd-terminalmsg-subdued);\n font-family: var(--typography-fontFamily-mono);\n /* no role: the panel label sitting on the top border, in mono -- see awards-flex.css.ts's\n .bd-awardsflex-quote-source for the argument. */\n font-size: var(--typography-fontSize-xs);\n }\n\n .bd-terminalmsg-body {\n /* body-small's size and leading only. NOT its family: this panel is a\n transcript and the mono face comes from .bd-terminalmsg-panel above, so\n importing body-small's fontFamily-sans here would break it. */\n font-size: var(--typography-body-small-fontSize);\n line-height: var(--typography-body-small-lineHeight);\n }\n\n .bd-terminalmsg-greeting-text {\n color: var(--bd-terminalmsg-ask);\n /* no role: this panel is a transcript, and its line kinds are told apart by\n TWO channels -- colour always, weight on some -- over type that is\n deliberately constant. Measured: l-cmd and l-strong are 700 white,\n l-ok is 400 green, l-dim is 400 grey, and all four are 14px/21px mono,\n because the metrics belong to the panel and not to the line. That makes\n the weight a highlighting channel, the way a syntax highlighter uses\n one, and a role cannot express it: a role carries a size and a leading\n with it, so adopting one here would import metrics that break the shared\n grid the transcript is read on.\n .\n The type itself is owned elsewhere and correctly -- this span sits inside\n <bd-p variant=\"regular\">, a valid semantic text owner, which is the case\n CLAUDE.md rule 10 sanctions an inline descendant inheriting from. Only\n the emphasis is declared here.\n .\n This is the argument for the other two bold classes in this file.\n (The separator dots keep this one comment block contiguous: the marker\n scan stops at any blank line, even one inside a single comment, so a\n paragraph break would leave the \"no role:\" above out of reach.) */\n font-weight: var(--typography-fontWeight-bold);\n }\n\n /* bd-p paints itself with --color-text-primary, and on this panel that is the\n background colour exactly, so a bd-p in here is invisible unless the panel\n says otherwise. The class existed and the rule did not, which is how\n dim-text rendered at 1:1. The greeting needs it too: its blue span covers\n the greeting text but not the icon sitting beside it, so a non-emoji prefix\n inherited the same invisible colour. */\n .bd-terminalmsg-dim {\n color: var(--bd-terminalmsg-subdued);\n }\n\n .bd-terminalmsg-greeting {\n color: var(--color-text-on-media);\n }\n\n .bd-terminalmsg-intro {\n color: var(--color-text-on-media);\n }\n\n .bd-terminalmsg-list {\n display: block;\n padding-left: var(--spacing-16);\n margin: 0 0 var(--spacing-12);\n }\n\n .bd-terminalmsg-footer {\n color: var(--color-text-on-media);\n margin: 0;\n }\n\n /* === HINT (\"legend\" sitting on the bottom border line, mirrors panel-label) === */\n .bd-terminalmsg-hint {\n position: absolute;\n bottom: 0;\n left: var(--spacing-16);\n transform: translateY(50%);\n /* the media ground again; see the note above */\n background: var(--color-surface-media);\n padding: 0 var(--spacing-8);\n color: var(--bd-terminalmsg-subdued);\n font-family: var(--typography-fontFamily-mono);\n /* no role: the hint legend on the bottom border, in mono -- see awards-flex.css.ts's\n .bd-awardsflex-quote-source for the argument. */\n font-size: var(--typography-fontSize-xs);\n /* The legend is taken out of flow, so nothing stops it growing past the\n panel: any hint longer than the panel is wide ran off the page at every\n viewport, not only on a small phone. Bound it to the panel less its two\n gutters and let it wrap when it has to. It still sits on one line at\n every width where it fits, which is the normal case. */\n max-width: calc(100% - var(--spacing-32));\n }\n\n /* Bracketed key labels inside the hint (e.g. \"[Enter]\", \"[esc]\") — bold + white,\n standing out from the rest of the dimmer hint text. */\n .bd-terminalmsg-hint-key {\n color: var(--color-text-on-media);\n /* no role: the colour-plus-weight highlighting channel described on\n .bd-terminalmsg-greeting-text above -- a bracketed key against dimmer\n hint text. */\n font-weight: var(--typography-fontWeight-bold);\n }\n\n /* === CAPTION — small dim note inside the panel, below everything else\n (lines/greeting/footer), e.g. \"// illustrative — every connection\n closes when the prompt ends\". Sits inside the black box, unlike\n bd-header-code's terminal-caption which renders below the whole card. */\n .bd-terminalmsg-caption {\n /* The subdued ink, not white at 35%: that measured 3.22:1 on the frame\n and failed 1.4.3; this is 7.92:1. */\n color: var(--bd-terminalmsg-subdued);\n font-size: var(--typography-body-xsmall-fontSize);\n margin-top: var(--spacing-16);\n padding-top: var(--spacing-12);\n border-top: var(--border-width-1) solid var(--color-border-container-inverse);\n }\n\n /* === TYPED-LINE API (bd-terminal-message .lines=...) === */\n .bd-terminalmsg-lines {\n display: block;\n /* Container query context: the row layout below reacts to the\n terminal's own rendered width, not the viewport's. This matters\n because the terminal is often much narrower than the screen (e.g.\n inside the VPN hero's tilted 3D scene) — a viewport-based media\n query never fires there, even though the row is visually cramped,\n which was squeezing the text column to near-zero width and\n breaking it character by character. */\n container-type: inline-size;\n container-name: bd-terminalmsg-lines;\n }\n\n .bd-terminalmsg-l-cmd {\n color: var(--bd-terminalmsg-cmd);\n /* no role: the colour-plus-weight highlighting channel described on\n .bd-terminalmsg-greeting-text above -- the command line of the\n transcript, taking its 14px/21px mono from .bd-terminalmsg-body. */\n font-weight: var(--typography-fontWeight-bold);\n }\n\n .bd-terminalmsg-l-ok {\n color: var(--bd-terminalmsg-ok);\n padding-bottom: var(--spacing-12);\n }\n\n .bd-terminalmsg-l-ask {\n color: var(--bd-terminalmsg-ask);\n padding: var(--spacing-12) 0;\n }\n\n .bd-terminalmsg-l-strong {\n color: var(--color-text-on-media);\n /* no role: the strong run inside a terminal line -- a state or modifier weight, not a text-content\n type. See button.css.ts's .button--bold for the argument. */\n font-weight: var(--typography-fontWeight-bold);\n padding-top: var(--spacing-12);\n }\n\n .bd-terminalmsg-l-dim {\n color: var(--bd-terminalmsg-subdued);\n }\n\n .bd-terminalmsg-l-space {\n height: var(--spacing-12);\n }\n\n .bd-terminalmsg-l-sep {\n border: none;\n /* A boundary on the dark media ground, the same value and the same role as\n process-steps' divider: --color-border-container-inverse is white at 12%\n exactly. Nothing moves. */\n border-top: var(--border-width-1) solid var(--color-border-container-inverse);\n margin: var(--spacing-8) 0;\n }\n\n /* === \"title\" line — bold header row with an optional \"● LIVE\" indicator,\n e.g. \"VPN for AI Agents · connection log\" === */\n .bd-terminalmsg-l-title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--spacing-12);\n color: var(--color-text-on-media);\n /* no role: the colour-plus-weight highlighting channel described on\n .bd-terminalmsg-greeting-text above -- the transcript's title line. */\n font-weight: var(--typography-fontWeight-bold);\n padding-bottom: var(--spacing-16);\n }\n\n .bd-terminalmsg-live {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-4);\n color: var(--bd-terminalmsg-ok);\n /* no role: a status marker in a mono transcript, not a text-content type.\n label-small is the nearest role and would set it in sans at medium. */\n font-size: var(--typography-fontSize-xs);\n /* no role: the weight of the same marker. */\n font-weight: var(--typography-fontWeight-bold);\n letter-spacing: var(--typography-letterSpacing-wider);\n flex-shrink: 0;\n }\n\n .bd-terminalmsg-live-dot {\n width: var(--spacing-6);\n height: var(--spacing-6);\n border-radius: var(--radius-full);\n background: var(--bd-terminalmsg-ok);\n }\n\n /* === \"row\" line — label / text / colored badge, 3-column layout.\n Text wraps onto further lines while label and badge stay pinned. === */\n .bd-terminalmsg-l-row {\n display: grid;\n grid-template-columns: 72px 1fr auto;\n align-items: start;\n column-gap: var(--spacing-12);\n padding: var(--spacing-8) 0;\n }\n\n /* \"flush\" variant: each row gets its own hairline top border, standing\n in for the panel border removed above and separating rows from each\n other. The first row would otherwise show this border flush against\n the host's own top padding, which reads fine here — no exception\n needed. */\n :host([variant=\"flush\"]) .bd-terminalmsg-l-row {\n border-top: var(--border-width-1) solid var(--color-border-container-inverse);\n }\n\n .bd-terminalmsg-l-row-label {\n color: var(--bd-terminalmsg-subdued);\n text-transform: uppercase;\n font-size: var(--typography-body-xsmall-fontSize);\n letter-spacing: var(--typography-letterSpacing-wider);\n padding-top: var(--spacing-2);\n }\n\n .bd-terminalmsg-l-row-text {\n color: var(--color-text-on-media);\n /* the standard spelling of word-break's deprecated break-word value:\n break a long token anywhere rather than overflow the row */\n overflow-wrap: anywhere;\n }\n\n .bd-terminalmsg-badge {\n display: inline-flex;\n align-items: center;\n padding: var(--spacing-2) var(--spacing-12);\n border-radius: var(--radius-full);\n /* no role: the status chip, as .bd-terminalmsg-live above. */\n font-size: var(--typography-fontSize-xs);\n /* no role: the weight of the same marker. */\n font-weight: var(--typography-fontWeight-bold);\n white-space: nowrap;\n margin-top: 1px;\n }\n\n /* Each badge is its ink on a tint of the same ink, so a kind is one\n declaration to change. */\n .bd-terminalmsg-badge--green {\n background: color-mix(in srgb, var(--bd-terminalmsg-ok) 15%, transparent);\n color: var(--bd-terminalmsg-ok);\n }\n\n .bd-terminalmsg-badge--blue {\n background: color-mix(in srgb, var(--bd-terminalmsg-info) 15%, transparent);\n color: var(--bd-terminalmsg-info);\n }\n\n .bd-terminalmsg-badge--amber {\n background: color-mix(in srgb, var(--bd-terminalmsg-warn) 15%, transparent);\n color: var(--bd-terminalmsg-warn);\n }\n\n .bd-terminalmsg-badge--neutral {\n background: color-mix(in srgb, var(--bd-terminalmsg-subdued) 15%, transparent);\n color: var(--bd-terminalmsg-subdued);\n }\n\n /* Below ~360px of the terminal's OWN width (not the viewport's), stack\n label / text / badge vertically instead of forcing three columns into\n too little space. Uses a container query, keyed to .bd-terminalmsg-lines\n above, so this triggers based on the terminal's real rendered size,\n which is what a viewport-based @media query could not do here — the\n terminal is often much narrower than the screen (e.g. tilted inside\n the VPN hero's 3D scene), so @media never fired even though the row\n was visually cramped. */\n @container bd-terminalmsg-lines (max-width: 360px) {\n .bd-terminalmsg-l-row {\n grid-template-columns: 1fr;\n row-gap: var(--spacing-4);\n }\n\n .bd-terminalmsg-l-row-label {\n padding-top: 0;\n }\n\n .bd-terminalmsg-badge {\n justify-self: start;\n }\n }\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,ukL"}
@@ -1,44 +0,0 @@
1
- import { LitElement, nothing } from "lit";
2
- import "../../tokens/tokens.js";
3
- import "../heading/heading.js";
4
- import "../list/list-item/list-item.js";
5
- import "../list/list.js";
6
- import "../paragraph/paragraph.js";
7
- import "./terminal-cursor.js";
8
- type Variant = "default" | "flush";
9
- type LineType = "sep" | "space" | "cmd" | "ok" | "ask" | "strong" | "dim" | "title" | "row";
10
- interface TerminalLine {
11
- type?: LineType;
12
- text?: string;
13
- label?: string;
14
- badge?: string;
15
- badgeColor?: string;
16
- live?: boolean;
17
- }
18
- declare class TerminalMessage extends LitElement {
19
- static styles: import("lit").CSSResult[];
20
- showTitlebar: boolean;
21
- panelLabel: string;
22
- dimText: string;
23
- greeting: string;
24
- icon: string;
25
- intro: string;
26
- items: string[];
27
- footer: string;
28
- footerBold: string;
29
- showCursor: boolean;
30
- hint: string;
31
- lines: TerminalLine[];
32
- caption: string;
33
- variant: Variant;
34
- _renderTitlebar(): typeof nothing | import("lit-html").TemplateResult<1>;
35
- _renderHint(): typeof nothing | import("lit-html").TemplateResult<1>;
36
- _renderLines(): typeof nothing | import("lit-html").TemplateResult<1>;
37
- render(): import("lit-html").TemplateResult<1>;
38
- }
39
- declare global {
40
- interface HTMLElementTagNameMap {
41
- "bd-terminal-message": TerminalMessage;
42
- }
43
- }
44
- export {};