@repobit/dex-system-design 3.1.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1048) hide show
  1. package/CHANGELOG.md +1074 -0
  2. package/README.md +31 -6
  3. package/dist/src/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
  4. package/dist/src/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
  5. package/dist/src/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
  6. package/dist/src/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
  7. package/dist/src/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
  8. package/dist/src/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
  9. package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
  10. package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
  11. package/dist/src/components/abstract/abstract.css.d.ts +7 -0
  12. package/dist/src/components/abstract/abstract.css.js +2 -0
  13. package/dist/src/components/abstract/abstract.css.js.map +1 -0
  14. package/dist/src/components/abstract/abstract.d.ts +31 -0
  15. package/dist/src/components/abstract/abstract.js +2 -0
  16. package/dist/src/components/abstract/abstract.js.map +1 -0
  17. package/dist/src/components/accordion/accordion-item.d.ts +93 -0
  18. package/dist/src/components/accordion/accordion-item.js +25 -0
  19. package/dist/src/components/accordion/accordion-item.js.map +1 -0
  20. package/dist/src/components/accordion/accordion-keyboard.d.ts +5 -5
  21. package/dist/src/components/accordion/accordion-keyboard.js +1 -1
  22. package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
  23. package/dist/src/components/accordion/accordion.css.d.ts +2 -2
  24. package/dist/src/components/accordion/accordion.css.js +1 -1
  25. package/dist/src/components/accordion/accordion.css.js.map +1 -1
  26. package/dist/src/components/accordion/accordion.d.ts +66 -31
  27. package/dist/src/components/accordion/accordion.js +8 -66
  28. package/dist/src/components/accordion/accordion.js.map +1 -1
  29. package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js +2 -0
  30. package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js.map +1 -0
  31. package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -1
  32. package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
  33. package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +38 -21
  34. package/dist/src/components/agent-endpoints/agent-endpoints.js +22 -41
  35. package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
  36. package/dist/src/components/anchor-nav/anchor-nav-item.css.d.ts +1 -0
  37. package/dist/src/components/anchor-nav/anchor-nav-item.css.js +2 -0
  38. package/dist/src/components/anchor-nav/anchor-nav-item.css.js.map +1 -0
  39. package/dist/src/components/anchor-nav/anchor-nav-item.d.ts +38 -0
  40. package/dist/src/components/anchor-nav/anchor-nav-item.js +2 -0
  41. package/dist/src/components/anchor-nav/anchor-nav-item.js.map +1 -0
  42. package/dist/src/components/anchor-nav/anchor-nav.css.js +2 -0
  43. package/dist/src/components/anchor-nav/anchor-nav.css.js.map +1 -0
  44. package/dist/src/components/{anchor → anchor-nav}/anchor-nav.d.ts +41 -23
  45. package/dist/src/components/anchor-nav/anchor-nav.js +43 -0
  46. package/dist/src/components/anchor-nav/anchor-nav.js.map +1 -0
  47. package/dist/src/components/annotation/annotation.css.js +1 -1
  48. package/dist/src/components/annotation/annotation.css.js.map +1 -1
  49. package/dist/src/components/annotation/annotation.js +2 -2
  50. package/dist/src/components/annotation/annotation.js.map +1 -1
  51. package/dist/src/components/article/article.css.d.ts +30 -0
  52. package/dist/src/components/article/article.css.js +2 -0
  53. package/dist/src/components/article/article.css.js.map +1 -0
  54. package/dist/src/components/article/article.d.ts +135 -0
  55. package/dist/src/components/article/article.js +39 -0
  56. package/dist/src/components/article/article.js.map +1 -0
  57. package/dist/src/components/audience-card/audience-card.css.js +1 -1
  58. package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
  59. package/dist/src/components/audience-card/audience-card.d.ts +30 -15
  60. package/dist/src/components/audience-card/audience-card.js +9 -11
  61. package/dist/src/components/audience-card/audience-card.js.map +1 -1
  62. package/dist/src/components/authors/authors.css.d.ts +7 -0
  63. package/dist/src/components/authors/authors.css.js +2 -0
  64. package/dist/src/components/authors/authors.css.js.map +1 -0
  65. package/dist/src/components/authors/authors.d.ts +29 -0
  66. package/dist/src/components/authors/authors.js +7 -0
  67. package/dist/src/components/authors/authors.js.map +1 -0
  68. package/dist/src/components/avatar/avatar.js +6 -6
  69. package/dist/src/components/avatar/avatar.js.map +1 -1
  70. package/dist/src/components/awards/award-marks.css.js +2 -0
  71. package/dist/src/components/awards/award-marks.css.js.map +1 -0
  72. package/dist/src/components/awards/award.css.js +2 -0
  73. package/dist/src/components/awards/award.css.js.map +1 -0
  74. package/dist/src/components/awards/award.d.ts +65 -0
  75. package/dist/src/components/awards/award.js +11 -0
  76. package/dist/src/components/awards/award.js.map +1 -0
  77. package/dist/src/components/awards/awards.css.d.ts +2 -1
  78. package/dist/src/components/awards/awards.css.js +1 -1
  79. package/dist/src/components/awards/awards.css.js.map +1 -1
  80. package/dist/src/components/awards/awards.d.ts +123 -71
  81. package/dist/src/components/awards/awards.js +46 -57
  82. package/dist/src/components/awards/awards.js.map +1 -1
  83. package/dist/src/components/awards/scroll-slides.d.ts +9 -8
  84. package/dist/src/components/awards/scroll-slides.js.map +1 -1
  85. package/dist/src/components/back/back.d.ts +12 -7
  86. package/dist/src/components/back/back.js +6 -6
  87. package/dist/src/components/back/back.js.map +1 -1
  88. package/dist/src/components/badge/badge.css.js +1 -1
  89. package/dist/src/components/badge/badge.css.js.map +1 -1
  90. package/dist/src/components/badge/badge.d.ts +11 -11
  91. package/dist/src/components/badge/badge.js +2 -2
  92. package/dist/src/components/badge/badge.js.map +1 -1
  93. package/dist/src/components/bar-chart/bar-chart.css.js +2 -0
  94. package/dist/src/components/bar-chart/bar-chart.css.js.map +1 -0
  95. package/dist/src/components/bar-chart/bar-chart.d.ts +147 -0
  96. package/dist/src/components/bar-chart/bar-chart.js +42 -0
  97. package/dist/src/components/bar-chart/bar-chart.js.map +1 -0
  98. package/dist/src/components/bento-grid/bento-grid.css.js +2 -2
  99. package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
  100. package/dist/src/components/bento-grid/bento-grid.d.ts +21 -9
  101. package/dist/src/components/bento-grid/bento-grid.js +10 -26
  102. package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
  103. package/dist/src/components/bento-grid/bento-item.css.js +1 -1
  104. package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
  105. package/dist/src/components/bento-grid/bento-item.d.ts +34 -13
  106. package/dist/src/components/bento-grid/bento-item.js +9 -26
  107. package/dist/src/components/bento-grid/bento-item.js.map +1 -1
  108. package/dist/src/components/blockquote/blockquote.css.js +1 -1
  109. package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
  110. package/dist/src/components/blockquote/blockquote.d.ts +27 -2
  111. package/dist/src/components/blockquote/blockquote.js +1 -1
  112. package/dist/src/components/blockquote/blockquote.js.map +1 -1
  113. package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -4
  114. package/dist/src/components/breadcrumb/breadcrumb.js +5 -5
  115. package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
  116. package/dist/src/components/button/button.css.js +1 -1
  117. package/dist/src/components/button/button.css.js.map +1 -1
  118. package/dist/src/components/button/button.d.ts +87 -96
  119. package/dist/src/components/button/button.js +20 -33
  120. package/dist/src/components/button/button.js.map +1 -1
  121. package/dist/src/components/{alert/alert.css.d.ts → callout/callout.css.d.ts} +9 -9
  122. package/dist/src/components/callout/callout.css.js +2 -0
  123. package/dist/src/components/callout/callout.css.js.map +1 -0
  124. package/dist/src/components/callout/callout.d.ts +56 -0
  125. package/dist/src/components/callout/callout.js +28 -0
  126. package/dist/src/components/callout/callout.js.map +1 -0
  127. package/dist/src/components/caption/caption.js +2 -2
  128. package/dist/src/components/caption/caption.js.map +1 -1
  129. package/dist/src/components/card/card-grid.css.js +2 -0
  130. package/dist/src/components/card/card-grid.css.js.map +1 -0
  131. package/dist/src/components/card/card-grid.d.ts +63 -0
  132. package/dist/src/components/card/card-grid.js +10 -0
  133. package/dist/src/components/card/card-grid.js.map +1 -0
  134. package/dist/src/components/card/card.css.js +2 -0
  135. package/dist/src/components/card/card.css.js.map +1 -0
  136. package/dist/src/components/card/card.d.ts +86 -0
  137. package/dist/src/components/card/card.js +15 -0
  138. package/dist/src/components/card/card.js.map +1 -0
  139. package/dist/src/components/carousel/carousel.css.js +1 -1
  140. package/dist/src/components/carousel/carousel.css.js.map +1 -1
  141. package/dist/src/components/carousel/carousel.d.ts +64 -37
  142. package/dist/src/components/carousel/carousel.js +24 -32
  143. package/dist/src/components/carousel/carousel.js.map +1 -1
  144. package/dist/src/components/checkbox/checkbox.d.ts +15 -1
  145. package/dist/src/components/checkbox/checkbox.js +6 -5
  146. package/dist/src/components/checkbox/checkbox.js.map +1 -1
  147. package/dist/src/components/code/code.css.d.ts +15 -0
  148. package/dist/src/components/code/code.css.js +1 -1
  149. package/dist/src/components/code/code.css.js.map +1 -1
  150. package/dist/src/components/code/code.d.ts +100 -4
  151. package/dist/src/components/code/code.js +17 -3
  152. package/dist/src/components/code/code.js.map +1 -1
  153. package/dist/src/components/code/prism-page.d.ts +2 -0
  154. package/dist/src/components/code/prism-page.js +2 -0
  155. package/dist/src/components/code/prism-page.js.map +1 -0
  156. package/dist/src/components/code/prism.d.ts +10 -0
  157. package/dist/src/components/code/prism.js +2 -0
  158. package/dist/src/components/code/prism.js.map +1 -0
  159. package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -1
  160. package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
  161. package/dist/src/components/comparison-panel/comparison-panel.d.ts +36 -15
  162. package/dist/src/components/comparison-panel/comparison-panel.js +25 -46
  163. package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
  164. package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +25 -0
  165. package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -1
  166. package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
  167. package/dist/src/components/compatibility-table/compatibility-table.d.ts +66 -42
  168. package/dist/src/components/compatibility-table/compatibility-table.js +5 -64
  169. package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
  170. package/dist/src/components/cta-banner/cta-banner.css.js +1 -1
  171. package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
  172. package/dist/src/components/cta-banner/cta-banner.d.ts +17 -8
  173. package/dist/src/components/cta-banner/cta-banner.js +8 -28
  174. package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
  175. package/dist/src/components/dialog/dialog.css.js +2 -0
  176. package/dist/src/components/dialog/dialog.css.js.map +1 -0
  177. package/dist/src/components/dialog/dialog.d.ts +76 -0
  178. package/dist/src/components/dialog/dialog.js +32 -0
  179. package/dist/src/components/dialog/dialog.js.map +1 -0
  180. package/dist/src/components/display/display.css.js +1 -1
  181. package/dist/src/components/display/display.css.js.map +1 -1
  182. package/dist/src/components/display/display.d.ts +30 -6
  183. package/dist/src/components/display/display.js +7 -5
  184. package/dist/src/components/display/display.js.map +1 -1
  185. package/dist/src/components/divider/divider.css.d.ts +2 -2
  186. package/dist/src/components/divider/divider.css.js +1 -1
  187. package/dist/src/components/divider/divider.css.js.map +1 -1
  188. package/dist/src/components/divider/divider.d.ts +36 -0
  189. package/dist/src/components/divider/divider.js +21 -0
  190. package/dist/src/components/divider/divider.js.map +1 -0
  191. package/dist/src/components/fact/fact.css.d.ts +1 -0
  192. package/dist/src/components/fact/fact.css.js +2 -0
  193. package/dist/src/components/fact/fact.css.js.map +1 -0
  194. package/dist/src/components/fact/fact.d.ts +37 -0
  195. package/dist/src/components/fact/fact.js +2 -0
  196. package/dist/src/components/fact/fact.js.map +1 -0
  197. package/dist/src/components/feature-columns/feature-columns.css.d.ts +2 -0
  198. package/dist/src/components/feature-columns/feature-columns.css.js +2 -0
  199. package/dist/src/components/feature-columns/feature-columns.css.js.map +1 -0
  200. package/dist/src/components/feature-columns/feature-columns.d.ts +61 -0
  201. package/dist/src/components/feature-columns/feature-columns.js +11 -0
  202. package/dist/src/components/feature-columns/feature-columns.js.map +1 -0
  203. package/dist/src/components/features-tab/features-tab.css.js +1 -1
  204. package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
  205. package/dist/src/components/features-tab/features-tab.d.ts +21 -6
  206. package/dist/src/components/features-tab/features-tab.js +9 -21
  207. package/dist/src/components/features-tab/features-tab.js.map +1 -1
  208. package/dist/src/components/fieldset/fieldset.d.ts +16 -1
  209. package/dist/src/components/fieldset/fieldset.js +3 -3
  210. package/dist/src/components/fieldset/fieldset.js.map +1 -1
  211. package/dist/src/components/footer/footer-group.css.js +2 -0
  212. package/dist/src/components/footer/footer-group.css.js.map +1 -0
  213. package/dist/src/components/footer/footer-group.d.ts +28 -0
  214. package/dist/src/components/footer/footer-group.js +5 -0
  215. package/dist/src/components/footer/footer-group.js.map +1 -0
  216. package/dist/src/components/footer/footer-locale.js +1 -1
  217. package/dist/src/components/footer/footer-locale.js.map +1 -1
  218. package/dist/src/components/footer/footer-nav.css.js +2 -0
  219. package/dist/src/components/footer/footer-nav.css.js.map +1 -0
  220. package/dist/src/components/footer/{footer-nav-menu.d.ts → footer-nav.d.ts} +2 -1
  221. package/dist/src/components/footer/footer-nav.js +6 -0
  222. package/dist/src/components/footer/footer-nav.js.map +1 -0
  223. package/dist/src/components/footer/footer.css.js +1 -1
  224. package/dist/src/components/footer/footer.css.js.map +1 -1
  225. package/dist/src/components/footer/footer.d.ts +38 -10
  226. package/dist/src/components/footer/footer.js +71 -93
  227. package/dist/src/components/footer/footer.js.map +1 -1
  228. package/dist/src/components/grid/grid.js +7 -7
  229. package/dist/src/components/h/h.css.js +2 -0
  230. package/dist/src/components/h/h.css.js.map +1 -0
  231. package/dist/src/components/{heading/heading.d.ts → h/h.d.ts} +14 -0
  232. package/dist/src/components/h/h.js +7 -0
  233. package/dist/src/components/h/h.js.map +1 -0
  234. package/dist/src/components/hero/hero.css.js +1 -1
  235. package/dist/src/components/hero/hero.css.js.map +1 -1
  236. package/dist/src/components/hero/hero.d.ts +42 -24
  237. package/dist/src/components/hero/hero.js +15 -19
  238. package/dist/src/components/hero/hero.js.map +1 -1
  239. package/dist/src/components/highlight/highlight.css.js +1 -1
  240. package/dist/src/components/highlight/highlight.css.js.map +1 -1
  241. package/dist/src/components/highlight/highlight.d.ts +21 -12
  242. package/dist/src/components/highlight/highlight.js +1 -4
  243. package/dist/src/components/highlight/highlight.js.map +1 -1
  244. package/dist/src/components/hint/hint.css.d.ts +3 -0
  245. package/dist/src/components/{help-text/help-text.css.js → hint/hint.css.js} +2 -2
  246. package/dist/src/components/hint/hint.css.js.map +1 -0
  247. package/dist/src/components/hint/hint.d.ts +33 -0
  248. package/dist/src/components/hint/hint.js +4 -0
  249. package/dist/src/components/hint/hint.js.map +1 -0
  250. package/dist/src/components/icons/analysis.d.ts +1 -0
  251. package/dist/src/components/icons/analysis.js +6 -0
  252. package/dist/src/components/icons/analysis.js.map +1 -0
  253. package/dist/src/components/icons/arrow-down.d.ts +1 -0
  254. package/dist/src/components/icons/arrow-down.js +6 -0
  255. package/dist/src/components/icons/arrow-down.js.map +1 -0
  256. package/dist/src/components/icons/arrow-right.d.ts +1 -0
  257. package/dist/src/components/icons/arrow-right.js +6 -0
  258. package/dist/src/components/icons/arrow-right.js.map +1 -0
  259. package/dist/src/components/icons/arrow-up.d.ts +1 -0
  260. package/dist/src/components/icons/arrow-up.js +6 -0
  261. package/dist/src/components/icons/arrow-up.js.map +1 -0
  262. package/dist/src/components/icons/arrow.d.ts +1 -0
  263. package/dist/src/components/icons/arrow.js +6 -0
  264. package/dist/src/components/icons/arrow.js.map +1 -0
  265. package/dist/src/components/icons/brand-signature.d.ts +1 -0
  266. package/dist/src/components/icons/brand-signature.js +6 -0
  267. package/dist/src/components/icons/brand-signature.js.map +1 -0
  268. package/dist/src/components/icons/check.d.ts +1 -0
  269. package/dist/src/components/icons/check.js +6 -0
  270. package/dist/src/components/icons/check.js.map +1 -0
  271. package/dist/src/components/icons/circle-info.d.ts +1 -0
  272. package/dist/src/components/icons/circle-info.js +8 -0
  273. package/dist/src/components/icons/circle-info.js.map +1 -0
  274. package/dist/src/components/icons/clipboard.d.ts +1 -0
  275. package/dist/src/components/icons/clipboard.js +7 -0
  276. package/dist/src/components/icons/clipboard.js.map +1 -0
  277. package/dist/src/components/icons/close.d.ts +1 -0
  278. package/dist/src/components/icons/close.js +6 -0
  279. package/dist/src/components/icons/close.js.map +1 -0
  280. package/dist/src/components/icons/enterprise.d.ts +1 -0
  281. package/dist/src/components/icons/enterprise.js +6 -0
  282. package/dist/src/components/icons/enterprise.js.map +1 -0
  283. package/dist/src/components/icons/envelope.d.ts +1 -0
  284. package/dist/src/components/icons/envelope.js +7 -0
  285. package/dist/src/components/icons/envelope.js.map +1 -0
  286. package/dist/src/components/icons/family.d.ts +1 -0
  287. package/dist/src/components/icons/family.js +8 -0
  288. package/dist/src/components/icons/family.js.map +1 -0
  289. package/dist/src/components/icons/globe.d.ts +1 -0
  290. package/dist/src/components/icons/globe.js +6 -0
  291. package/dist/src/components/icons/globe.js.map +1 -0
  292. package/dist/src/components/icons/guide.d.ts +1 -0
  293. package/dist/src/components/icons/guide.js +6 -0
  294. package/dist/src/components/icons/guide.js.map +1 -0
  295. package/dist/src/components/icons/home.d.ts +1 -0
  296. package/dist/src/components/icons/home.js +6 -0
  297. package/dist/src/components/icons/home.js.map +1 -0
  298. package/dist/src/components/icons/icon.d.ts +60 -0
  299. package/dist/src/components/icons/icon.js +2 -0
  300. package/dist/src/components/icons/icon.js.map +1 -0
  301. package/dist/src/components/icons/icons.d.ts +43 -36
  302. package/dist/src/components/icons/icons.js +1 -1
  303. package/dist/src/components/icons/individual.d.ts +1 -0
  304. package/dist/src/components/icons/individual.js +6 -0
  305. package/dist/src/components/icons/individual.js.map +1 -0
  306. package/dist/src/components/icons/laurel.d.ts +1 -0
  307. package/dist/src/components/icons/laurel.js +13 -0
  308. package/dist/src/components/icons/laurel.js.map +1 -0
  309. package/dist/src/components/icons/machine-learning.d.ts +1 -0
  310. package/dist/src/components/icons/machine-learning.js +6 -0
  311. package/dist/src/components/icons/machine-learning.js.map +1 -0
  312. package/dist/src/components/icons/mark.d.ts +66 -0
  313. package/dist/src/components/icons/mark.js +2 -0
  314. package/dist/src/components/icons/mark.js.map +1 -0
  315. package/dist/src/components/icons/marks/ai.d.ts +1 -0
  316. package/dist/src/components/icons/marks/ai.js +6 -0
  317. package/dist/src/components/icons/marks/ai.js.map +1 -0
  318. package/dist/src/components/icons/marks/av-comparatives.d.ts +1 -0
  319. package/dist/src/components/icons/marks/av-comparatives.js +12 -0
  320. package/dist/src/components/icons/marks/av-comparatives.js.map +1 -0
  321. package/dist/src/components/icons/marks/best-brands.d.ts +1 -0
  322. package/dist/src/components/icons/marks/best-brands.js +12 -0
  323. package/dist/src/components/icons/marks/best-brands.js.map +1 -0
  324. package/dist/src/components/icons/marks/pc-mag-2024.d.ts +1 -0
  325. package/dist/src/components/icons/marks/pc-mag-2024.js +11 -0
  326. package/dist/src/components/icons/marks/pc-mag-2024.js.map +1 -0
  327. package/dist/src/components/icons/marks/pc-mag-business.d.ts +1 -0
  328. package/dist/src/components/icons/marks/pc-mag-business.js +11 -0
  329. package/dist/src/components/icons/marks/pc-mag-business.js.map +1 -0
  330. package/dist/src/components/icons/marks/pc-mag-readers.d.ts +1 -0
  331. package/dist/src/components/icons/marks/pc-mag-readers.js +11 -0
  332. package/dist/src/components/icons/marks/pc-mag-readers.js.map +1 -0
  333. package/dist/src/components/icons/marks/pc-mag.d.ts +1 -0
  334. package/dist/src/components/icons/marks/pc-mag.js +11 -0
  335. package/dist/src/components/icons/marks/pc-mag.js.map +1 -0
  336. package/dist/src/components/icons/marks/top-product.d.ts +1 -0
  337. package/dist/src/components/icons/marks/top-product.js +11 -0
  338. package/dist/src/components/icons/marks/top-product.js.map +1 -0
  339. package/dist/src/components/icons/marks.d.ts +29 -28
  340. package/dist/src/components/icons/marks.js +1 -1
  341. package/dist/src/components/icons/minus.d.ts +1 -0
  342. package/dist/src/components/icons/minus.js +6 -0
  343. package/dist/src/components/icons/minus.js.map +1 -0
  344. package/dist/src/components/icons/pause.d.ts +1 -0
  345. package/dist/src/components/icons/pause.js +7 -0
  346. package/dist/src/components/icons/pause.js.map +1 -0
  347. package/dist/src/components/icons/play.d.ts +1 -0
  348. package/dist/src/components/icons/play.js +6 -0
  349. package/dist/src/components/icons/play.js.map +1 -0
  350. package/dist/src/components/icons/plus.d.ts +1 -0
  351. package/dist/src/components/icons/plus.js +6 -0
  352. package/dist/src/components/icons/plus.js.map +1 -0
  353. package/dist/src/components/icons/quote.d.ts +1 -0
  354. package/dist/src/components/icons/quote.js +6 -0
  355. package/dist/src/components/icons/quote.js.map +1 -0
  356. package/dist/src/components/icons/registry.d.ts +122 -0
  357. package/dist/src/components/icons/registry.js +4 -0
  358. package/dist/src/components/icons/registry.js.map +1 -0
  359. package/dist/src/components/icons/small-business.d.ts +1 -0
  360. package/dist/src/components/icons/small-business.js +6 -0
  361. package/dist/src/components/icons/small-business.js.map +1 -0
  362. package/dist/src/components/{image/image.css.js → img/img.css.js} +1 -1
  363. package/dist/src/components/img/img.css.js.map +1 -0
  364. package/dist/src/components/{image/image.d.ts → img/img.d.ts} +2 -2
  365. package/dist/src/components/img/img.js +17 -0
  366. package/dist/src/components/img/img.js.map +1 -0
  367. package/dist/src/components/input/input.css.d.ts +7 -5
  368. package/dist/src/components/input/input.css.js +1 -1
  369. package/dist/src/components/input/input.css.js.map +1 -1
  370. package/dist/src/components/input/input.d.ts +34 -12
  371. package/dist/src/components/input/input.js +30 -29
  372. package/dist/src/components/input/input.js.map +1 -1
  373. package/dist/src/components/install-options/install-option.css.js +2 -0
  374. package/dist/src/components/install-options/install-option.css.js.map +1 -0
  375. package/dist/src/components/install-options/install-option.d.ts +57 -0
  376. package/dist/src/components/install-options/install-option.js +29 -0
  377. package/dist/src/components/install-options/install-option.js.map +1 -0
  378. package/dist/src/components/install-options/install-options.css.js +1 -1
  379. package/dist/src/components/install-options/install-options.css.js.map +1 -1
  380. package/dist/src/components/install-options/install-options.d.ts +42 -31
  381. package/dist/src/components/install-options/install-options.js +42 -85
  382. package/dist/src/components/install-options/install-options.js.map +1 -1
  383. package/dist/src/components/key-takeaways/key-takeaways.css.d.ts +9 -0
  384. package/dist/src/components/key-takeaways/key-takeaways.css.js +2 -0
  385. package/dist/src/components/key-takeaways/key-takeaways.css.js.map +1 -0
  386. package/dist/src/components/key-takeaways/key-takeaways.d.ts +35 -0
  387. package/dist/src/components/key-takeaways/key-takeaways.js +10 -0
  388. package/dist/src/components/key-takeaways/key-takeaways.js.map +1 -0
  389. package/dist/src/components/label/label.js +3 -3
  390. package/dist/src/components/label/label.js.map +1 -1
  391. package/dist/src/components/link/link.css.js +1 -1
  392. package/dist/src/components/link/link.css.js.map +1 -1
  393. package/dist/src/components/link/link.d.ts +25 -16
  394. package/dist/src/components/link/link.js +3 -3
  395. package/dist/src/components/link/link.js.map +1 -1
  396. package/dist/src/components/list/list-item/list-item.css.js +1 -1
  397. package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
  398. package/dist/src/components/list/list-item/list-item.d.ts +9 -7
  399. package/dist/src/components/list/list-item/list-item.js +3 -3
  400. package/dist/src/components/list/list-item/list-item.js.map +1 -1
  401. package/dist/src/components/list/list.d.ts +3 -2
  402. package/dist/src/components/list/list.js +2 -2
  403. package/dist/src/components/list/list.js.map +1 -1
  404. package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -1
  405. package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
  406. package/dist/src/components/logo-marquee/logo-marquee.d.ts +2 -2
  407. package/dist/src/components/logo-marquee/logo-marquee.js +6 -8
  408. package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
  409. package/dist/src/components/meta/meta.css.d.ts +8 -0
  410. package/dist/src/components/meta/meta.css.js +2 -0
  411. package/dist/src/components/meta/meta.css.js.map +1 -0
  412. package/dist/src/components/meta/meta.d.ts +37 -0
  413. package/dist/src/components/meta/meta.js +2 -0
  414. package/dist/src/components/meta/meta.js.map +1 -0
  415. package/dist/src/components/motion-art/motion-art.d.ts +39 -2
  416. package/dist/src/components/motion-art/motion-art.js +1 -1
  417. package/dist/src/components/motion-art/motion-art.js.map +1 -1
  418. package/dist/src/components/newsletter-signup/newsletter-signup.css.js +2 -0
  419. package/dist/src/components/newsletter-signup/newsletter-signup.css.js.map +1 -0
  420. package/dist/src/components/newsletter-signup/newsletter-signup.d.ts +97 -0
  421. package/dist/src/components/newsletter-signup/newsletter-signup.js +37 -0
  422. package/dist/src/components/newsletter-signup/newsletter-signup.js.map +1 -0
  423. package/dist/src/components/overview/overview.css.js +1 -1
  424. package/dist/src/components/overview/overview.css.js.map +1 -1
  425. package/dist/src/components/overview/overview.d.ts +23 -12
  426. package/dist/src/components/overview/overview.js +9 -24
  427. package/dist/src/components/overview/overview.js.map +1 -1
  428. package/dist/src/components/p/p.css.js +2 -0
  429. package/dist/src/components/p/p.css.js.map +1 -0
  430. package/dist/src/components/{paragraph/paragraph.d.ts → p/p.d.ts} +3 -5
  431. package/dist/src/components/p/p.js +6 -0
  432. package/dist/src/components/p/p.js.map +1 -0
  433. package/dist/src/components/page-switcher/page-switcher.css.js +1 -1
  434. package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
  435. package/dist/src/components/page-switcher/page-switcher.d.ts +28 -28
  436. package/dist/src/components/page-switcher/page-switcher.js +5 -13
  437. package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
  438. package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -1
  439. package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
  440. package/dist/src/components/pagination-dots/pagination-dots.d.ts +4 -2
  441. package/dist/src/components/pagination-dots/pagination-dots.js +1 -1
  442. package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
  443. package/dist/src/components/partner-banner/partner-banner.css.js +1 -1
  444. package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
  445. package/dist/src/components/partner-banner/partner-banner.d.ts +44 -21
  446. package/dist/src/components/partner-banner/partner-banner.js +11 -11
  447. package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
  448. package/dist/src/components/paste-button/paste-button.css.d.ts +10 -0
  449. package/dist/src/components/paste-button/paste-button.css.js +2 -0
  450. package/dist/src/components/paste-button/paste-button.css.js.map +1 -0
  451. package/dist/src/components/paste-button/paste-button.d.ts +68 -0
  452. package/dist/src/components/paste-button/paste-button.js +17 -0
  453. package/dist/src/components/paste-button/paste-button.js.map +1 -0
  454. package/dist/src/components/picture/picture.js +3 -3
  455. package/dist/src/components/picture/picture.js.map +1 -1
  456. package/dist/src/components/post-card/post-card.css.js +1 -1
  457. package/dist/src/components/post-card/post-card.css.js.map +1 -1
  458. package/dist/src/components/post-card/post-card.d.ts +65 -24
  459. package/dist/src/components/post-card/post-card.js +13 -9
  460. package/dist/src/components/post-card/post-card.js.map +1 -1
  461. package/dist/src/components/pricing-card/pricing-card.css.js +2 -0
  462. package/dist/src/components/pricing-card/pricing-card.css.js.map +1 -0
  463. package/dist/src/components/pricing-card/pricing-card.d.ts +80 -0
  464. package/dist/src/components/pricing-card/pricing-card.js +16 -0
  465. package/dist/src/components/pricing-card/pricing-card.js.map +1 -0
  466. package/dist/src/components/pricing-card/pricing-feature-group.css.js +2 -0
  467. package/dist/src/components/pricing-card/pricing-feature-group.css.js.map +1 -0
  468. package/dist/src/components/pricing-card/pricing-feature-group.d.ts +50 -0
  469. package/dist/src/components/pricing-card/pricing-feature-group.js +7 -0
  470. package/dist/src/components/pricing-card/pricing-feature-group.js.map +1 -0
  471. package/dist/src/components/pricing-card/pricing-feature.css.js +2 -0
  472. package/dist/src/components/pricing-card/pricing-feature.css.js.map +1 -0
  473. package/dist/src/components/pricing-card/pricing-feature.d.ts +64 -0
  474. package/dist/src/components/pricing-card/pricing-feature.js +19 -0
  475. package/dist/src/components/pricing-card/pricing-feature.js.map +1 -0
  476. package/dist/src/components/pricing-card/pricing-group.css.d.ts +3 -0
  477. package/dist/src/components/pricing-card/pricing-group.css.js +2 -0
  478. package/dist/src/components/pricing-card/pricing-group.css.js.map +1 -0
  479. package/dist/src/components/pricing-card/pricing-group.d.ts +48 -0
  480. package/dist/src/components/pricing-card/pricing-group.js +6 -0
  481. package/dist/src/components/pricing-card/pricing-group.js.map +1 -0
  482. package/dist/src/components/pricing-card/pricing-price.css.js +2 -0
  483. package/dist/src/components/pricing-card/pricing-price.css.js.map +1 -0
  484. package/dist/src/components/pricing-card/pricing-price.d.ts +56 -0
  485. package/dist/src/components/pricing-card/pricing-price.js +11 -0
  486. package/dist/src/components/pricing-card/pricing-price.js.map +1 -0
  487. package/dist/src/components/process-steps/process-step.css.js +2 -0
  488. package/dist/src/components/process-steps/process-step.css.js.map +1 -0
  489. package/dist/src/components/process-steps/process-step.d.ts +31 -0
  490. package/dist/src/components/process-steps/process-step.js +6 -0
  491. package/dist/src/components/process-steps/process-step.js.map +1 -0
  492. package/dist/src/components/process-steps/process-steps.css.js +1 -1
  493. package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
  494. package/dist/src/components/process-steps/process-steps.d.ts +36 -19
  495. package/dist/src/components/process-steps/process-steps.js +5 -26
  496. package/dist/src/components/process-steps/process-steps.js.map +1 -1
  497. package/dist/src/components/product-hero/product-hero.css.js +2 -0
  498. package/dist/src/components/product-hero/product-hero.css.js.map +1 -0
  499. package/dist/src/components/product-hero/product-hero.d.ts +71 -0
  500. package/dist/src/components/product-hero/product-hero.js +123 -0
  501. package/dist/src/components/product-hero/product-hero.js.map +1 -0
  502. package/dist/src/components/product-upsell/product-upsell.css.js +2 -0
  503. package/dist/src/components/product-upsell/product-upsell.css.js.map +1 -0
  504. package/dist/src/components/product-upsell/product-upsell.d.ts +49 -0
  505. package/dist/src/components/product-upsell/product-upsell.js +14 -0
  506. package/dist/src/components/product-upsell/product-upsell.js.map +1 -0
  507. package/dist/src/components/progress-bar/progress-bar.css.d.ts +3 -0
  508. package/dist/src/components/progress-bar/progress-bar.css.js +2 -0
  509. package/dist/src/components/progress-bar/progress-bar.css.js.map +1 -0
  510. package/dist/src/components/progress-bar/progress-bar.d.ts +27 -0
  511. package/dist/src/components/progress-bar/progress-bar.js +15 -0
  512. package/dist/src/components/progress-bar/progress-bar.js.map +1 -0
  513. package/dist/src/components/quick-answer/quick-answer.css.js +1 -1
  514. package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
  515. package/dist/src/components/quick-answer/quick-answer.d.ts +25 -12
  516. package/dist/src/components/quick-answer/quick-answer.js +13 -29
  517. package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
  518. package/dist/src/components/radio/radio-group.css.js +1 -1
  519. package/dist/src/components/radio/radio-group.css.js.map +1 -1
  520. package/dist/src/components/radio/radio-group.d.ts +9 -5
  521. package/dist/src/components/radio/radio-group.js +5 -5
  522. package/dist/src/components/radio/radio-group.js.map +1 -1
  523. package/dist/src/components/radio/radio.css.d.ts +2 -1
  524. package/dist/src/components/radio/radio.css.js.map +1 -1
  525. package/dist/src/components/radio/radio.d.ts +8 -2
  526. package/dist/src/components/radio/radio.js +6 -5
  527. package/dist/src/components/radio/radio.js.map +1 -1
  528. package/dist/src/components/related-articles/related-articles.css.js +2 -0
  529. package/dist/src/components/related-articles/related-articles.css.js.map +1 -0
  530. package/dist/src/components/related-articles/related-articles.d.ts +52 -0
  531. package/dist/src/components/related-articles/related-articles.js +9 -0
  532. package/dist/src/components/related-articles/related-articles.js.map +1 -0
  533. package/dist/src/components/report-promo/report-promo.css.js +2 -0
  534. package/dist/src/components/report-promo/report-promo.css.js.map +1 -0
  535. package/dist/src/components/report-promo/report-promo.d.ts +70 -0
  536. package/dist/src/components/report-promo/report-promo.js +19 -0
  537. package/dist/src/components/report-promo/report-promo.js.map +1 -0
  538. package/dist/src/components/review/review-grid.css.js +1 -1
  539. package/dist/src/components/review/review-grid.css.js.map +1 -1
  540. package/dist/src/components/review/review-grid.d.ts +27 -6
  541. package/dist/src/components/review/review-grid.js +7 -7
  542. package/dist/src/components/review/review-grid.js.map +1 -1
  543. package/dist/src/components/review/review.css.js +1 -1
  544. package/dist/src/components/review/review.css.js.map +1 -1
  545. package/dist/src/components/review/review.d.ts +24 -17
  546. package/dist/src/components/review/review.js +7 -11
  547. package/dist/src/components/review/review.js.map +1 -1
  548. package/dist/src/components/section/section.css.js +1 -1
  549. package/dist/src/components/section/section.css.js.map +1 -1
  550. package/dist/src/components/section/section.d.ts +8 -6
  551. package/dist/src/components/section/section.js +1 -1
  552. package/dist/src/components/section/section.js.map +1 -1
  553. package/dist/src/components/section-header/section-header.css.js +1 -1
  554. package/dist/src/components/section-header/section-header.css.js.map +1 -1
  555. package/dist/src/components/section-header/section-header.d.ts +22 -23
  556. package/dist/src/components/section-header/section-header.js +6 -8
  557. package/dist/src/components/section-header/section-header.js.map +1 -1
  558. package/dist/src/components/select/select-option.d.ts +29 -0
  559. package/dist/src/components/select/select-option.js +2 -0
  560. package/dist/src/components/select/select-option.js.map +1 -0
  561. package/dist/src/components/{dropdown/dropdown.css.js → select/select.css.js} +1 -1
  562. package/dist/src/components/select/select.css.js.map +1 -0
  563. package/dist/src/components/select/select.d.ts +78 -0
  564. package/dist/src/components/select/select.js +35 -0
  565. package/dist/src/components/select/select.js.map +1 -0
  566. package/dist/src/components/shared/adopt-styles.d.ts +53 -0
  567. package/dist/src/components/shared/adopt-styles.js +2 -0
  568. package/dist/src/components/shared/adopt-styles.js.map +1 -0
  569. package/dist/src/components/shared/controller.slot.d.ts +65 -0
  570. package/dist/src/components/shared/controller.slot.js +2 -0
  571. package/dist/src/components/shared/controller.slot.js.map +1 -0
  572. package/dist/src/components/shared/events.d.ts +19 -23
  573. package/dist/src/components/shared/fill-width.css.js.map +1 -1
  574. package/dist/src/components/shared/flat-text.d.ts +15 -0
  575. package/dist/src/components/shared/flat-text.js +2 -0
  576. package/dist/src/components/shared/flat-text.js.map +1 -0
  577. package/dist/src/components/shared/form-control.d.ts +27 -3
  578. package/dist/src/components/shared/form-control.js +11 -1
  579. package/dist/src/components/shared/form-control.js.map +1 -1
  580. package/dist/src/components/shared/form-field.css.d.ts +5 -5
  581. package/dist/src/components/shared/form-field.css.js +1 -1
  582. package/dist/src/components/shared/form-field.css.js.map +1 -1
  583. package/dist/src/components/shared/hold.d.ts +14 -0
  584. package/dist/src/components/shared/hold.js +2 -0
  585. package/dist/src/components/shared/hold.js.map +1 -0
  586. package/dist/src/components/shared/prop-vocabulary.d.ts +81 -20
  587. package/dist/src/components/shared/prop-vocabulary.js +1 -1
  588. package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
  589. package/dist/src/components/shared/tablist.d.ts +31 -0
  590. package/dist/src/components/shared/tablist.js +2 -0
  591. package/dist/src/components/shared/tablist.js.map +1 -0
  592. package/dist/src/components/shared/token-scales.d.ts +30 -4
  593. package/dist/src/components/shared/token-scales.js +1 -1
  594. package/dist/src/components/shared/token-scales.js.map +1 -1
  595. package/dist/src/components/spinner/spinner.css.js.map +1 -1
  596. package/dist/src/components/spinner/spinner.js +2 -2
  597. package/dist/src/components/spinner/spinner.js.map +1 -1
  598. package/dist/src/components/spotlight/spotlight.css.js +2 -0
  599. package/dist/src/components/spotlight/spotlight.css.js.map +1 -0
  600. package/dist/src/components/spotlight/spotlight.d.ts +31 -0
  601. package/dist/src/components/spotlight/spotlight.js +18 -0
  602. package/dist/src/components/spotlight/spotlight.js.map +1 -0
  603. package/dist/src/components/stat/stat-highlight.d.ts +1 -1
  604. package/dist/src/components/stat/stat.css.d.ts +1 -1
  605. package/dist/src/components/stat/stat.css.js +1 -1
  606. package/dist/src/components/stat/stat.css.js.map +1 -1
  607. package/dist/src/components/stat/stat.d.ts +41 -1
  608. package/dist/src/components/stat/stat.js +12 -1
  609. package/dist/src/components/stat/stat.js.map +1 -0
  610. package/dist/src/components/switch/switch.css.js +1 -1
  611. package/dist/src/components/switch/switch.css.js.map +1 -1
  612. package/dist/src/components/switch/switch.d.ts +10 -2
  613. package/dist/src/components/switch/switch.js +5 -4
  614. package/dist/src/components/switch/switch.js.map +1 -1
  615. package/dist/src/components/tab-group/tab-group.css.js +2 -0
  616. package/dist/src/components/tab-group/tab-group.css.js.map +1 -0
  617. package/dist/src/components/tab-group/tab-group.d.ts +172 -0
  618. package/dist/src/components/tab-group/tab-group.js +16 -0
  619. package/dist/src/components/tab-group/tab-group.js.map +1 -0
  620. package/dist/src/components/tab-group/tab-panel.d.ts +30 -0
  621. package/dist/src/components/tab-group/tab-panel.js +2 -0
  622. package/dist/src/components/tab-group/tab-panel.js.map +1 -0
  623. package/dist/src/components/tab-group/tab.css.js +2 -0
  624. package/dist/src/components/tab-group/tab.css.js.map +1 -0
  625. package/dist/src/components/tab-group/tab.d.ts +53 -0
  626. package/dist/src/components/tab-group/tab.js +2 -0
  627. package/dist/src/components/tab-group/tab.js.map +1 -0
  628. package/dist/src/components/table-of-contents/reading-line.d.ts +24 -0
  629. package/dist/src/components/table-of-contents/reading-line.js +2 -0
  630. package/dist/src/components/table-of-contents/reading-line.js.map +1 -0
  631. package/dist/src/components/table-of-contents/table-of-contents-item.css.d.ts +7 -0
  632. package/dist/src/components/table-of-contents/table-of-contents-item.css.js +2 -0
  633. package/dist/src/components/table-of-contents/table-of-contents-item.css.js.map +1 -0
  634. package/dist/src/components/table-of-contents/table-of-contents-item.d.ts +40 -0
  635. package/dist/src/components/table-of-contents/table-of-contents-item.js +2 -0
  636. package/dist/src/components/table-of-contents/table-of-contents-item.js.map +1 -0
  637. package/dist/src/components/table-of-contents/table-of-contents.css.d.ts +10 -0
  638. package/dist/src/components/table-of-contents/table-of-contents.css.js +2 -0
  639. package/dist/src/components/table-of-contents/table-of-contents.css.js.map +1 -0
  640. package/dist/src/components/table-of-contents/table-of-contents.d.ts +116 -0
  641. package/dist/src/components/table-of-contents/table-of-contents.js +24 -0
  642. package/dist/src/components/table-of-contents/table-of-contents.js.map +1 -0
  643. package/dist/src/components/tag/tag.css.js +1 -1
  644. package/dist/src/components/tag/tag.css.js.map +1 -1
  645. package/dist/src/components/tag/tag.d.ts +31 -4
  646. package/dist/src/components/tag/tag.js +1 -3
  647. package/dist/src/components/tag/tag.js.map +1 -1
  648. package/dist/src/components/terminal/terminal-cursor.d.ts +2 -3
  649. package/dist/src/components/terminal/terminal-cursor.js +1 -1
  650. package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
  651. package/dist/src/components/terminal/terminal-line.css.d.ts +2 -0
  652. package/dist/src/components/terminal/terminal-line.css.js +2 -0
  653. package/dist/src/components/terminal/terminal-line.css.js.map +1 -0
  654. package/dist/src/components/terminal/terminal-line.d.ts +42 -0
  655. package/dist/src/components/terminal/terminal-line.js +8 -0
  656. package/dist/src/components/terminal/terminal-line.js.map +1 -0
  657. package/dist/src/components/terminal/terminal.css.d.ts +2 -0
  658. package/dist/src/components/terminal/terminal.css.js +2 -0
  659. package/dist/src/components/terminal/terminal.css.js.map +1 -0
  660. package/dist/src/components/terminal/terminal.d.ts +52 -0
  661. package/dist/src/components/terminal/terminal.js +19 -0
  662. package/dist/src/components/terminal/terminal.js.map +1 -0
  663. package/dist/src/components/terminal-hero/terminal-hero.css.d.ts +2 -0
  664. package/dist/src/components/terminal-hero/terminal-hero.css.js +2 -0
  665. package/dist/src/components/terminal-hero/terminal-hero.css.js.map +1 -0
  666. package/dist/src/components/terminal-hero/terminal-hero.d.ts +62 -0
  667. package/dist/src/components/terminal-hero/terminal-hero.js +48 -0
  668. package/dist/src/components/terminal-hero/terminal-hero.js.map +1 -0
  669. package/dist/src/components/terms/terms.css.d.ts +2 -0
  670. package/dist/src/components/terms/terms.css.js +2 -0
  671. package/dist/src/components/terms/terms.css.js.map +1 -0
  672. package/dist/src/components/terms/terms.d.ts +42 -0
  673. package/dist/src/components/terms/terms.js +9 -0
  674. package/dist/src/components/terms/terms.js.map +1 -0
  675. package/dist/src/components/textarea/textarea.css.d.ts +2 -2
  676. package/dist/src/components/textarea/textarea.css.js.map +1 -1
  677. package/dist/src/components/textarea/textarea.d.ts +15 -6
  678. package/dist/src/components/textarea/textarea.js +13 -17
  679. package/dist/src/components/textarea/textarea.js.map +1 -1
  680. package/dist/src/components/tooltip/tooltip.d.ts +25 -4
  681. package/dist/src/components/tooltip/tooltip.js +5 -8
  682. package/dist/src/components/tooltip/tooltip.js.map +1 -1
  683. package/dist/src/components/trust-panel/trust-card.css.d.ts +2 -0
  684. package/dist/src/components/trust-panel/trust-card.css.js +2 -0
  685. package/dist/src/components/trust-panel/trust-card.css.js.map +1 -0
  686. package/dist/src/components/trust-panel/trust-card.d.ts +31 -0
  687. package/dist/src/components/trust-panel/trust-card.js +10 -0
  688. package/dist/src/components/trust-panel/trust-card.js.map +1 -0
  689. package/dist/src/components/trust-panel/trust-panel.css.js +1 -1
  690. package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
  691. package/dist/src/components/trust-panel/trust-panel.d.ts +28 -25
  692. package/dist/src/components/trust-panel/trust-panel.js +10 -57
  693. package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
  694. package/dist/src/components/video/video.js +1 -1
  695. package/dist/src/components/video/video.js.map +1 -1
  696. package/dist/src/components/video-player/video-player.d.ts +25 -3
  697. package/dist/src/components/video-player/video-player.js +7 -7
  698. package/dist/src/components/video-player/video-player.js.map +1 -1
  699. package/dist/src/loader/create-loader.d.ts +13 -2
  700. package/dist/src/loader/create-loader.js +1 -1
  701. package/dist/src/loader/create-loader.js.map +1 -1
  702. package/dist/src/loader/loader.d.ts +7 -4
  703. package/dist/src/loader/loader.js.map +1 -1
  704. package/dist/src/loader/registry.js +1 -1
  705. package/dist/src/loader/registry.js.map +1 -1
  706. package/dist/src/tokens/fonts.css +1 -1
  707. package/dist/src/tokens/layout.css +1 -1
  708. package/dist/src/tokens/scheme-layer.d.ts +55 -0
  709. package/dist/src/tokens/scheme-layer.js +5 -0
  710. package/dist/src/tokens/scheme-layer.js.map +1 -0
  711. package/dist/src/tokens/themes/dark.d.ts +64 -0
  712. package/dist/src/tokens/themes/dark.js +2 -0
  713. package/dist/src/tokens/themes/dark.js.map +1 -0
  714. package/dist/src/tokens/tokens.css +1 -1
  715. package/dist/src/tokens/tokens.d.ts +4 -25
  716. package/dist/src/tokens/tokens.js +1 -1
  717. package/dist/src/tokens/tokens.js.map +1 -1
  718. package/dist/src/vendor/prism/LICENSE +21 -0
  719. package/dist/src/vendor/prism/README.md +65 -0
  720. package/dist/src/vendor/prism/prism.d.ts +7 -0
  721. package/dist/src/vendor/prism/prism.js +13 -0
  722. package/package.json +163 -105
  723. package/schemas/README.md +55 -1
  724. package/schemas/component-manifest.json +4546 -3215
  725. package/schemas/figma-component-map.json +3247 -0
  726. package/schemas/manifest-omissions.json +1 -26
  727. package/schemas/page-schema.json +28 -1
  728. package/dist/src/components/accordion/accordion-bg.css.js +0 -2
  729. package/dist/src/components/accordion/accordion-bg.css.js.map +0 -1
  730. package/dist/src/components/accordion/accordion-bg.d.ts +0 -52
  731. package/dist/src/components/accordion/accordion-bg.js +0 -76
  732. package/dist/src/components/accordion/accordion-bg.js.map +0 -1
  733. package/dist/src/components/alert/alert.css.js +0 -2
  734. package/dist/src/components/alert/alert.css.js.map +0 -1
  735. package/dist/src/components/alert/alert.d.ts +0 -55
  736. package/dist/src/components/alert/alert.js +0 -28
  737. package/dist/src/components/alert/alert.js.map +0 -1
  738. package/dist/src/components/anchor/anchor-nav.css.js +0 -2
  739. package/dist/src/components/anchor/anchor-nav.css.js.map +0 -1
  740. package/dist/src/components/anchor/anchor-nav.js +0 -67
  741. package/dist/src/components/anchor/anchor-nav.js.map +0 -1
  742. package/dist/src/components/awards/awards-flex.css.d.ts +0 -1
  743. package/dist/src/components/awards/awards-flex.css.js +0 -2
  744. package/dist/src/components/awards/awards-flex.css.js.map +0 -1
  745. package/dist/src/components/awards/awards-flex.d.ts +0 -65
  746. package/dist/src/components/awards/awards-flex.js +0 -68
  747. package/dist/src/components/awards/awards-flex.js.map +0 -1
  748. package/dist/src/components/awards/awards-spotlight.css.d.ts +0 -1
  749. package/dist/src/components/awards/awards-spotlight.css.js +0 -2
  750. package/dist/src/components/awards/awards-spotlight.css.js.map +0 -1
  751. package/dist/src/components/awards/awards-spotlight.d.ts +0 -60
  752. package/dist/src/components/awards/awards-spotlight.js +0 -51
  753. package/dist/src/components/awards/awards-spotlight.js.map +0 -1
  754. package/dist/src/components/card-features/card-features.css.js +0 -2
  755. package/dist/src/components/card-features/card-features.css.js.map +0 -1
  756. package/dist/src/components/card-features/card-features.d.ts +0 -43
  757. package/dist/src/components/card-features/card-features.js +0 -37
  758. package/dist/src/components/card-features/card-features.js.map +0 -1
  759. package/dist/src/components/cards/card.css.js +0 -2
  760. package/dist/src/components/cards/card.css.js.map +0 -1
  761. package/dist/src/components/cards/card.d.ts +0 -61
  762. package/dist/src/components/cards/card.js +0 -54
  763. package/dist/src/components/cards/card.js.map +0 -1
  764. package/dist/src/components/compare/compare.css.js +0 -2
  765. package/dist/src/components/compare/compare.css.js.map +0 -1
  766. package/dist/src/components/compare/compare.d.ts +0 -79
  767. package/dist/src/components/compare/compare.js +0 -122
  768. package/dist/src/components/compare/compare.js.map +0 -1
  769. package/dist/src/components/divider/divider-horizontal.d.ts +0 -15
  770. package/dist/src/components/divider/divider-horizontal.js +0 -11
  771. package/dist/src/components/divider/divider-horizontal.js.map +0 -1
  772. package/dist/src/components/divider/divider-vertical.d.ts +0 -16
  773. package/dist/src/components/divider/divider-vertical.js +0 -12
  774. package/dist/src/components/divider/divider-vertical.js.map +0 -1
  775. package/dist/src/components/dropdown/dropdown.css.js.map +0 -1
  776. package/dist/src/components/dropdown/dropdown.d.ts +0 -49
  777. package/dist/src/components/dropdown/dropdown.js +0 -36
  778. package/dist/src/components/dropdown/dropdown.js.map +0 -1
  779. package/dist/src/components/features/features.css.js +0 -2
  780. package/dist/src/components/features/features.css.js.map +0 -1
  781. package/dist/src/components/features/features.d.ts +0 -21
  782. package/dist/src/components/features/features.js +0 -28
  783. package/dist/src/components/features/features.js.map +0 -1
  784. package/dist/src/components/footer/footer-images.d.ts +0 -3
  785. package/dist/src/components/footer/footer-images.js +0 -9
  786. package/dist/src/components/footer/footer-images.js.map +0 -1
  787. package/dist/src/components/footer/footer-links-group.css.js +0 -2
  788. package/dist/src/components/footer/footer-links-group.css.js.map +0 -1
  789. package/dist/src/components/footer/footer-links-group.d.ts +0 -13
  790. package/dist/src/components/footer/footer-links-group.js +0 -5
  791. package/dist/src/components/footer/footer-links-group.js.map +0 -1
  792. package/dist/src/components/footer/footer-lp.d.ts +0 -26
  793. package/dist/src/components/footer/footer-lp.js +0 -45
  794. package/dist/src/components/footer/footer-lp.js.map +0 -1
  795. package/dist/src/components/footer/footer-nav-menu.css.js +0 -2
  796. package/dist/src/components/footer/footer-nav-menu.css.js.map +0 -1
  797. package/dist/src/components/footer/footer-nav-menu.js +0 -6
  798. package/dist/src/components/footer/footer-nav-menu.js.map +0 -1
  799. package/dist/src/components/header/header-code.css.js +0 -2
  800. package/dist/src/components/header/header-code.css.js.map +0 -1
  801. package/dist/src/components/header/header-code.d.ts +0 -50
  802. package/dist/src/components/header/header-code.js +0 -80
  803. package/dist/src/components/header/header-code.js.map +0 -1
  804. package/dist/src/components/header/header.css.js +0 -2
  805. package/dist/src/components/header/header.css.js.map +0 -1
  806. package/dist/src/components/header/header.d.ts +0 -32
  807. package/dist/src/components/header/header.js +0 -165
  808. package/dist/src/components/header/header.js.map +0 -1
  809. package/dist/src/components/heading/heading.css.js +0 -2
  810. package/dist/src/components/heading/heading.css.js.map +0 -1
  811. package/dist/src/components/heading/heading.js +0 -6
  812. package/dist/src/components/heading/heading.js.map +0 -1
  813. package/dist/src/components/help-text/help-text.css.d.ts +0 -3
  814. package/dist/src/components/help-text/help-text.css.js.map +0 -1
  815. package/dist/src/components/help-text/help-text.d.ts +0 -14
  816. package/dist/src/components/help-text/help-text.js +0 -4
  817. package/dist/src/components/help-text/help-text.js.map +0 -1
  818. package/dist/src/components/icons/analysis-icon.d.ts +0 -11
  819. package/dist/src/components/icons/analysis-icon.js +0 -6
  820. package/dist/src/components/icons/analysis-icon.js.map +0 -1
  821. package/dist/src/components/icons/arrow-down-icon.d.ts +0 -11
  822. package/dist/src/components/icons/arrow-down-icon.js +0 -6
  823. package/dist/src/components/icons/arrow-down-icon.js.map +0 -1
  824. package/dist/src/components/icons/arrow-icon.d.ts +0 -37
  825. package/dist/src/components/icons/arrow-icon.js +0 -6
  826. package/dist/src/components/icons/arrow-icon.js.map +0 -1
  827. package/dist/src/components/icons/arrow-right-icon.d.ts +0 -34
  828. package/dist/src/components/icons/arrow-right-icon.js +0 -6
  829. package/dist/src/components/icons/arrow-right-icon.js.map +0 -1
  830. package/dist/src/components/icons/arrow-up-icon.d.ts +0 -24
  831. package/dist/src/components/icons/arrow-up-icon.js +0 -6
  832. package/dist/src/components/icons/arrow-up-icon.js.map +0 -1
  833. package/dist/src/components/icons/av-comparatives-icon.d.ts +0 -13
  834. package/dist/src/components/icons/av-comparatives-icon.js +0 -13
  835. package/dist/src/components/icons/av-comparatives-icon.js.map +0 -1
  836. package/dist/src/components/icons/bd-ai-icon.d.ts +0 -13
  837. package/dist/src/components/icons/bd-ai-icon.js +0 -6
  838. package/dist/src/components/icons/bd-ai-icon.js.map +0 -1
  839. package/dist/src/components/icons/best-brands-icon.d.ts +0 -13
  840. package/dist/src/components/icons/best-brands-icon.js +0 -15
  841. package/dist/src/components/icons/best-brands-icon.js.map +0 -1
  842. package/dist/src/components/icons/brand-signature-icon.d.ts +0 -37
  843. package/dist/src/components/icons/brand-signature-icon.js +0 -6
  844. package/dist/src/components/icons/brand-signature-icon.js.map +0 -1
  845. package/dist/src/components/icons/check-icon.d.ts +0 -22
  846. package/dist/src/components/icons/check-icon.js +0 -6
  847. package/dist/src/components/icons/check-icon.js.map +0 -1
  848. package/dist/src/components/icons/circle-info-icon.d.ts +0 -26
  849. package/dist/src/components/icons/circle-info-icon.js +0 -8
  850. package/dist/src/components/icons/circle-info-icon.js.map +0 -1
  851. package/dist/src/components/icons/close-icon.d.ts +0 -11
  852. package/dist/src/components/icons/close-icon.js +0 -6
  853. package/dist/src/components/icons/close-icon.js.map +0 -1
  854. package/dist/src/components/icons/enterprise-icon.d.ts +0 -11
  855. package/dist/src/components/icons/enterprise-icon.js +0 -6
  856. package/dist/src/components/icons/enterprise-icon.js.map +0 -1
  857. package/dist/src/components/icons/family-icon.d.ts +0 -11
  858. package/dist/src/components/icons/family-icon.js +0 -8
  859. package/dist/src/components/icons/family-icon.js.map +0 -1
  860. package/dist/src/components/icons/globe-icon.d.ts +0 -11
  861. package/dist/src/components/icons/globe-icon.js +0 -6
  862. package/dist/src/components/icons/globe-icon.js.map +0 -1
  863. package/dist/src/components/icons/guide-icon.d.ts +0 -11
  864. package/dist/src/components/icons/guide-icon.js +0 -6
  865. package/dist/src/components/icons/guide-icon.js.map +0 -1
  866. package/dist/src/components/icons/home-icon.d.ts +0 -11
  867. package/dist/src/components/icons/home-icon.js +0 -6
  868. package/dist/src/components/icons/home-icon.js.map +0 -1
  869. package/dist/src/components/icons/icon-element.d.ts +0 -58
  870. package/dist/src/components/icons/icon-element.js +0 -2
  871. package/dist/src/components/icons/icon-element.js.map +0 -1
  872. package/dist/src/components/icons/individual-icon.d.ts +0 -11
  873. package/dist/src/components/icons/individual-icon.js +0 -6
  874. package/dist/src/components/icons/individual-icon.js.map +0 -1
  875. package/dist/src/components/icons/laurel-icon.d.ts +0 -11
  876. package/dist/src/components/icons/laurel-icon.js +0 -14
  877. package/dist/src/components/icons/laurel-icon.js.map +0 -1
  878. package/dist/src/components/icons/machine-learning-icon.d.ts +0 -11
  879. package/dist/src/components/icons/machine-learning-icon.js +0 -6
  880. package/dist/src/components/icons/machine-learning-icon.js.map +0 -1
  881. package/dist/src/components/icons/minus-icon.d.ts +0 -11
  882. package/dist/src/components/icons/minus-icon.js +0 -7
  883. package/dist/src/components/icons/minus-icon.js.map +0 -1
  884. package/dist/src/components/icons/missing-icon.d.ts +0 -41
  885. package/dist/src/components/icons/missing-icon.js +0 -8
  886. package/dist/src/components/icons/missing-icon.js.map +0 -1
  887. package/dist/src/components/icons/pause-icon.d.ts +0 -11
  888. package/dist/src/components/icons/pause-icon.js +0 -7
  889. package/dist/src/components/icons/pause-icon.js.map +0 -1
  890. package/dist/src/components/icons/pc-mag-2024-icon.d.ts +0 -13
  891. package/dist/src/components/icons/pc-mag-2024-icon.js +0 -14
  892. package/dist/src/components/icons/pc-mag-2024-icon.js.map +0 -1
  893. package/dist/src/components/icons/pc-mag-business-icon.d.ts +0 -13
  894. package/dist/src/components/icons/pc-mag-business-icon.js +0 -14
  895. package/dist/src/components/icons/pc-mag-business-icon.js.map +0 -1
  896. package/dist/src/components/icons/pc-mag-icon.d.ts +0 -13
  897. package/dist/src/components/icons/pc-mag-icon.js +0 -14
  898. package/dist/src/components/icons/pc-mag-icon.js.map +0 -1
  899. package/dist/src/components/icons/pc-mag-readers-icon.d.ts +0 -13
  900. package/dist/src/components/icons/pc-mag-readers-icon.js +0 -14
  901. package/dist/src/components/icons/pc-mag-readers-icon.js.map +0 -1
  902. package/dist/src/components/icons/play-icon.d.ts +0 -11
  903. package/dist/src/components/icons/play-icon.js +0 -6
  904. package/dist/src/components/icons/play-icon.js.map +0 -1
  905. package/dist/src/components/icons/plus-icon.d.ts +0 -11
  906. package/dist/src/components/icons/plus-icon.js +0 -6
  907. package/dist/src/components/icons/plus-icon.js.map +0 -1
  908. package/dist/src/components/icons/quote-icon.d.ts +0 -20
  909. package/dist/src/components/icons/quote-icon.js +0 -6
  910. package/dist/src/components/icons/quote-icon.js.map +0 -1
  911. package/dist/src/components/icons/small-business-icon.d.ts +0 -11
  912. package/dist/src/components/icons/small-business-icon.js +0 -6
  913. package/dist/src/components/icons/small-business-icon.js.map +0 -1
  914. package/dist/src/components/icons/top-product-icon.d.ts +0 -13
  915. package/dist/src/components/icons/top-product-icon.js +0 -14
  916. package/dist/src/components/icons/top-product-icon.js.map +0 -1
  917. package/dist/src/components/image/image.css.js.map +0 -1
  918. package/dist/src/components/image/image.js +0 -17
  919. package/dist/src/components/image/image.js.map +0 -1
  920. package/dist/src/components/input/input-clipboard.css.d.ts +0 -9
  921. package/dist/src/components/input/input-clipboard.css.js +0 -2
  922. package/dist/src/components/input/input-clipboard.css.js.map +0 -1
  923. package/dist/src/components/input/input-clipboard.d.ts +0 -52
  924. package/dist/src/components/input/input-clipboard.js +0 -62
  925. package/dist/src/components/input/input-clipboard.js.map +0 -1
  926. package/dist/src/components/light-carousel/light-carousel.css.js +0 -2
  927. package/dist/src/components/light-carousel/light-carousel.css.js.map +0 -1
  928. package/dist/src/components/light-carousel/light-carousel.d.ts +0 -74
  929. package/dist/src/components/light-carousel/light-carousel.js +0 -34
  930. package/dist/src/components/light-carousel/light-carousel.js.map +0 -1
  931. package/dist/src/components/modal/modal.css.js +0 -2
  932. package/dist/src/components/modal/modal.css.js.map +0 -1
  933. package/dist/src/components/modal/modal.d.ts +0 -52
  934. package/dist/src/components/modal/modal.js +0 -17
  935. package/dist/src/components/modal/modal.js.map +0 -1
  936. package/dist/src/components/paragraph/paragraph.css.js +0 -2
  937. package/dist/src/components/paragraph/paragraph.css.js.map +0 -1
  938. package/dist/src/components/paragraph/paragraph.js +0 -6
  939. package/dist/src/components/paragraph/paragraph.js.map +0 -1
  940. package/dist/src/components/pricing-cards/adopt-styles.d.ts +0 -10
  941. package/dist/src/components/pricing-cards/adopt-styles.js +0 -2
  942. package/dist/src/components/pricing-cards/adopt-styles.js.map +0 -1
  943. package/dist/src/components/pricing-cards/new-pricing-card.d.ts +0 -18
  944. package/dist/src/components/pricing-cards/new-pricing-card.js +0 -12
  945. package/dist/src/components/pricing-cards/new-pricing-card.js.map +0 -1
  946. package/dist/src/components/pricing-cards/new-pricing.css.js +0 -2
  947. package/dist/src/components/pricing-cards/new-pricing.css.js.map +0 -1
  948. package/dist/src/components/pricing-cards/pricing-card-actions.css.js +0 -2
  949. package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +0 -1
  950. package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +0 -19
  951. package/dist/src/components/pricing-cards/pricing-card-actions.js +0 -25
  952. package/dist/src/components/pricing-cards/pricing-card-actions.js.map +0 -1
  953. package/dist/src/components/pricing-cards/pricing-card-container.css.js +0 -2
  954. package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +0 -1
  955. package/dist/src/components/pricing-cards/pricing-card-container.d.ts +0 -14
  956. package/dist/src/components/pricing-cards/pricing-card-container.js +0 -6
  957. package/dist/src/components/pricing-cards/pricing-card-container.js.map +0 -1
  958. package/dist/src/components/pricing-cards/pricing-card-header.css.js +0 -2
  959. package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +0 -1
  960. package/dist/src/components/pricing-cards/pricing-card-header.d.ts +0 -22
  961. package/dist/src/components/pricing-cards/pricing-card-header.js +0 -18
  962. package/dist/src/components/pricing-cards/pricing-card-header.js.map +0 -1
  963. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +0 -2
  964. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +0 -1
  965. package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +0 -39
  966. package/dist/src/components/pricing-cards/pricing-card-pricing.js +0 -49
  967. package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +0 -1
  968. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +0 -2
  969. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +0 -1
  970. package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +0 -16
  971. package/dist/src/components/pricing-cards/pricing-card-show-more.js +0 -12
  972. package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +0 -1
  973. package/dist/src/components/pricing-cards/pricing-card.css.js +0 -2
  974. package/dist/src/components/pricing-cards/pricing-card.css.js.map +0 -1
  975. package/dist/src/components/pricing-cards/pricing-card.d.ts +0 -155
  976. package/dist/src/components/pricing-cards/pricing-card.js +0 -258
  977. package/dist/src/components/pricing-cards/pricing-card.js.map +0 -1
  978. package/dist/src/components/pricing-cards/pricing-feature-item.css.js +0 -2
  979. package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +0 -1
  980. package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +0 -13
  981. package/dist/src/components/pricing-cards/pricing-feature-item.js +0 -5
  982. package/dist/src/components/pricing-cards/pricing-feature-item.js.map +0 -1
  983. package/dist/src/components/progress/progress.css.d.ts +0 -3
  984. package/dist/src/components/progress/progress.css.js +0 -2
  985. package/dist/src/components/progress/progress.css.js.map +0 -1
  986. package/dist/src/components/progress/progress.d.ts +0 -19
  987. package/dist/src/components/progress/progress.js +0 -11
  988. package/dist/src/components/progress/progress.js.map +0 -1
  989. package/dist/src/components/radio/toggle-radio.d.ts +0 -28
  990. package/dist/src/components/radio/toggle-radio.js +0 -15
  991. package/dist/src/components/radio/toggle-radio.js.map +0 -1
  992. package/dist/src/components/spotlight-section/spotlight-section.css.js +0 -2
  993. package/dist/src/components/spotlight-section/spotlight-section.css.js.map +0 -1
  994. package/dist/src/components/spotlight-section/spotlight-section.d.ts +0 -22
  995. package/dist/src/components/spotlight-section/spotlight-section.js +0 -46
  996. package/dist/src/components/spotlight-section/spotlight-section.js.map +0 -1
  997. package/dist/src/components/stat/stat-tile.d.ts +0 -24
  998. package/dist/src/components/stat/stat-tile.js +0 -7
  999. package/dist/src/components/stat/stat-tile.js.map +0 -1
  1000. package/dist/src/components/tab-list/tab-list.css.d.ts +0 -16
  1001. package/dist/src/components/tab-list/tab-list.css.js +0 -2
  1002. package/dist/src/components/tab-list/tab-list.css.js.map +0 -1
  1003. package/dist/src/components/tab-list/tab-list.d.ts +0 -99
  1004. package/dist/src/components/tab-list/tab-list.js +0 -25
  1005. package/dist/src/components/tab-list/tab-list.js.map +0 -1
  1006. package/dist/src/components/tabs/tabs.css.js +0 -2
  1007. package/dist/src/components/tabs/tabs.css.js.map +0 -1
  1008. package/dist/src/components/tabs/tabs.d.ts +0 -69
  1009. package/dist/src/components/tabs/tabs.js +0 -29
  1010. package/dist/src/components/tabs/tabs.js.map +0 -1
  1011. package/dist/src/components/terminal/terminal-message.css.js +0 -2
  1012. package/dist/src/components/terminal/terminal-message.css.js.map +0 -1
  1013. package/dist/src/components/terminal/terminal-message.d.ts +0 -44
  1014. package/dist/src/components/terminal/terminal-message.js +0 -68
  1015. package/dist/src/components/terminal/terminal-message.js.map +0 -1
  1016. package/dist/src/components/termsOfUse/terms.css.js +0 -2
  1017. package/dist/src/components/termsOfUse/terms.css.js.map +0 -1
  1018. package/dist/src/components/termsOfUse/terms.d.ts +0 -22
  1019. package/dist/src/components/termsOfUse/terms.js +0 -78
  1020. package/dist/src/components/termsOfUse/terms.js.map +0 -1
  1021. /package/dist/src/components/{accordion/accordion-bg.css.d.ts → agent-endpoints/agent-endpoints-pills.css.d.ts} +0 -0
  1022. /package/dist/src/components/{anchor → anchor-nav}/anchor-nav.css.d.ts +0 -0
  1023. /package/dist/src/components/{card-features/card-features.css.d.ts → awards/award-marks.css.d.ts} +0 -0
  1024. /package/dist/src/components/{cards/card.css.d.ts → awards/award.css.d.ts} +0 -0
  1025. /package/dist/src/components/{compare/compare.css.d.ts → bar-chart/bar-chart.css.d.ts} +0 -0
  1026. /package/dist/src/components/{features/features.css.d.ts → card/card-grid.css.d.ts} +0 -0
  1027. /package/dist/src/components/{footer/footer-links-group.css.d.ts → card/card.css.d.ts} +0 -0
  1028. /package/dist/src/components/{footer/footer-nav-menu.css.d.ts → dialog/dialog.css.d.ts} +0 -0
  1029. /package/dist/src/components/{header/header-code.css.d.ts → footer/footer-group.css.d.ts} +0 -0
  1030. /package/dist/src/components/{header/header.css.d.ts → footer/footer-nav.css.d.ts} +0 -0
  1031. /package/dist/src/components/{heading/heading.css.d.ts → h/h.css.d.ts} +0 -0
  1032. /package/dist/src/components/{image/image.css.d.ts → img/img.css.d.ts} +0 -0
  1033. /package/dist/src/components/{light-carousel/light-carousel.css.d.ts → install-options/install-option.css.d.ts} +0 -0
  1034. /package/dist/src/components/{modal/modal.css.d.ts → newsletter-signup/newsletter-signup.css.d.ts} +0 -0
  1035. /package/dist/src/components/{paragraph/paragraph.css.d.ts → p/p.css.d.ts} +0 -0
  1036. /package/dist/src/components/{pricing-cards → pricing-card}/pricing-card.css.d.ts +0 -0
  1037. /package/dist/src/components/{pricing-cards/new-pricing.css.d.ts → pricing-card/pricing-feature-group.css.d.ts} +0 -0
  1038. /package/dist/src/components/{pricing-cards/pricing-card-actions.css.d.ts → pricing-card/pricing-feature.css.d.ts} +0 -0
  1039. /package/dist/src/components/{pricing-cards/pricing-card-container.css.d.ts → pricing-card/pricing-price.css.d.ts} +0 -0
  1040. /package/dist/src/components/{pricing-cards/pricing-card-header.css.d.ts → process-steps/process-step.css.d.ts} +0 -0
  1041. /package/dist/src/components/{pricing-cards/pricing-card-pricing.css.d.ts → product-hero/product-hero.css.d.ts} +0 -0
  1042. /package/dist/src/components/{pricing-cards/pricing-card-show-more.css.d.ts → product-upsell/product-upsell.css.d.ts} +0 -0
  1043. /package/dist/src/components/{pricing-cards/pricing-feature-item.css.d.ts → related-articles/related-articles.css.d.ts} +0 -0
  1044. /package/dist/src/components/{spotlight-section/spotlight-section.css.d.ts → report-promo/report-promo.css.d.ts} +0 -0
  1045. /package/dist/src/components/{dropdown/dropdown.css.d.ts → select/select.css.d.ts} +0 -0
  1046. /package/dist/src/components/{tabs/tabs.css.d.ts → spotlight/spotlight.css.d.ts} +0 -0
  1047. /package/dist/src/components/{terminal/terminal-message.css.d.ts → tab-group/tab-group.css.d.ts} +0 -0
  1048. /package/dist/src/components/{termsOfUse/terms.css.d.ts → tab-group/tab.css.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"link.js","names":["linkCSS","_decorate","__decorate","link_css_default","LEGACY_KINDS","VARIANTS","BdLink","LitElement","_args","changed","isOneOf","nothing","fontSize","color","v","prop","property","value","defineElement"],"sources":["../../../../src/components/link/link.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport linkCSS from \"./link.css.ts\";\n// the trailing mark when arrow is set; an atom, the same one bd-button uses\nimport \"#components/icons/arrow-icon.ts\";\nimport { fontSize, color, type FontSizeStep, type ColorRole } from \"#shared/token-scales.ts\";\n\n/**\n * The anchor -- or, when disabled, the span -- is exposed as `part=\"link\"`.\n *\n * It is the element that carries the ink, the padding and the focus ring, and\n * until now nothing outside this shadow root could reach it. That is not a\n * theoretical gap: bd-breadcrumb's mobile layout put a full-width padded pill\n * on the bd-link HOST, and the anchor inside stayed the width of its own text,\n * so a 343x40 row offered a 43x24 target -- 7.5% of what it looked like. A\n * part is the seam for the cases where the box a consumer needs to style and\n * the box the browser makes focusable have to be the same box.\n *\n * It is a seam, not a licence to restyle the atom: reach for a variant first.\n */\n\n/**\n * kind values that described something else, mapped onto what they meant so\n * existing markup keeps working. `light` said \"on a dark surface\", which is\n * what the surface attribute says now.\n */\nconst LEGACY_KINDS: Record<string, Variant> = { light: \"primary\" };\nconst VARIANTS = [\"primary\", \"secondary\", \"subtle\", \"bold\", \"danger\"] as const;\n\ntype Variant = typeof VARIANTS[number];\ntype Surface = \"light\" | \"dark\" | \"brand\";\ntype Current = \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\";\n\n@defineElement(\"bd-link\")\nclass BdLink extends LitElement {\n /* No destination unless one is given. This was \"#\", so a bd-link written\n without an href was still a real link -- focusable, announced as a\n link, and on activation a jump to the top of the page. Now it renders\n an <a> with no href, which is not a link at all, and the missing\n destination shows instead of hiding. */\n @property({ type: String })\n href = \"\";\n @property({ type: String })\n target = \"_self\";\n @property({ type: String, reflect: true })\n variant: Variant | \"light\" = \"primary\";\n /** @deprecated pass `variant`. */\n @property({ type: String })\n kind: Variant | \"light\" | \"\" = \"\";\n @property({ type: Boolean, reflect: true })\n underline = false;\n @property({ type: Boolean, attribute: \"no-underline\" })\n noUnderline = false;\n @property({ type: Boolean, reflect: true })\n disabled = false;\n @property({ type: String, attribute: \"font-size\" })\n fontSize: FontSizeStep | \"\" = \"\";\n /* The link is a run of text in a sentence and takes its type from that\n sentence. Off by default: 62 of the 66 bd-link usages in this package\n rely on the standalone role's 1rem, so inheriting cannot be the default\n without repositioning all of them. */\n @property({ type: Boolean, reflect: true })\n inline = false;\n @property({ type: String })\n color: ColorRole | \"\" = \"\";\n /* The link is the current one in its set: page, step, location, date,\n time, or true -- the aria-current token, which lands on the <a>.\n aria-current written on this element never reached the <a> in its\n shadow root, which is where a screen reader looks: bd-anchor-nav and\n bd-page-switcher both wrote it there and announced nothing. It\n reflects, so the element that holds the link can style its own box --\n an indicator, say -- from the same state. */\n @property({ type: String, reflect: true, converter: { toAttribute: value => value || null } })\n current: Current | \"\" = \"\";\n /** @deprecated pass `current`. It drew the current state without\n announcing it; it now means current=\"true\". */\n @property({ type: Boolean, reflect: true })\n active = false;\n /* The surface the link sits on, the same attribute bd-button uses. It\n replaces kind=\"light\", which described the surface rather than the link\n and so could not be combined with any of the real kinds. */\n @property({ type: String, reflect: true })\n surface: Surface = \"light\";\n /* A trailing arrow after the label: \"Read more ->\" on the homepage's post\n cards and the four solution-splitter links. Drawn in the foundation\n Figma file as Link arrow and Link arrow / dark; until now three\n components hand-rolled it, each with a 12px chevron where the design\n has the 16px shafted arrow. A modifier like underline rather than a\n sixth variant, because every variant, state and surface takes it. */\n @property({ type: Boolean, reflect: true })\n arrow = false;\n /* Extra text a screen reader reads after the link's name, through\n aria-describedby on the inner <a>, as on bd-button: the <a> is in this\n shadow root, so a description from outside never reaches it. bd-tooltip\n sets it on a bd-link trigger; a page can set it directly. */\n @property({ type: String })\n description = \"\";\n\n willUpdate(changed: PropertyValues<this>) {\n if (!changed.has(\"kind\") && !changed.has(\"variant\")) return;\n if (changed.has(\"kind\") && this.kind) this.variant = this.kind;\n // light meant \"this link is on a dark surface\", which the surface\n // attribute says now\n if (this.variant === \"light\") this.surface = \"dark\";\n if (LEGACY_KINDS[this.variant]) this.variant = LEGACY_KINDS[this.variant];\n if (!isOneOf(VARIANTS, this.variant)) this.variant = \"primary\";\n }\n\n static styles = [linkCSS];\n\n get _classes() {\n return [\n \"bd-link\",\n `bd-link--${this.variant}`,\n this.underline ? \"bd-link--underline\" : \"\",\n this.noUnderline ? \"bd-link--no-underline\" : \"\",\n this.disabled ? \"bd-link--disabled\" : \"\",\n this.arrow ? \"bd-link--arrow\" : \"\"\n ].filter(Boolean).join(\" \");\n }\n\n /**\n * The arrow is decorative: the label already says where the link goes, so\n * the icon is hidden rather than named. It sits in a named slot so a page\n * can swap the glyph, the way the Figma set swaps its icon property, and it\n * is drawn in currentColor, so it takes the link's ink in every variant,\n * state and surface without a rule of its own.\n */\n get _arrow() {\n return this.arrow\n ? html`<slot name=\"icon\"><bd-arrow-icon size=\"sm\" aria-hidden=\"true\"></bd-arrow-icon></slot>`\n : nothing;\n }\n\n /**\n * font-size is a type-scale step and color is a semantic role; both are\n * resolved to token references by shared/token-scales.ts, and anything off\n * the scale is dropped.\n *\n * `color` is emitted as --bd-link-color rather than as `color`, and that is\n * the whole of the fix. A style attribute beats every rule in this\n * stylesheet, so a link with a colour prop had NO hover, NO active and NO\n * disabled appearance -- the resting ink won in all four states. Measured on\n * bd-anchor-nav, which passes color=\"strong\": rest, hover and mouse-down all\n * reported neutral-900 at weight 400, so the links were inert under the\n * pointer. Four sites pass the prop today and all four were affected.\n *\n * As a custom property it is the *resting* colour instead: the kind rules\n * below read it through a var() fallback, and the :hover, --active and\n * --disabled rules keep plain `color` declarations, so they win the way they\n * were always meant to.\n *\n * font-size is not emitted at all when inline is set, because the two ask\n * contradictory questions: inline means the sentence decides the size. It is\n * dropped here rather than left to lose a specificity argument in the\n * stylesheet -- this is a style attribute, so it would beat\n * :host([inline]) and pull the link back out of the line box that mode\n * exists to keep it in.\n */\n get _inlineStyle() {\n return [\n [\"font-size\", this.inline ? \"\" : fontSize(this.fontSize)],\n [\"--bd-link-color\", color(this.color)]\n ].filter(([, v]) => v).map(([prop, v]) => `${prop}: ${v}`)\n .join(\"; \");\n }\n\n /** The aria-current token, which is also what the current look keys on. */\n get _current() {\n return this.current || (this.active ? \"true\" : \"\");\n }\n\n /* No whitespace anywhere in these templates: not between the tags and the\n slot, and not around the element either. The default flex row never\n rendered it, but inline drops the row, and there each newline became a\n real space inside the host -- measured at 3.5-4.5px past the text on\n every inline link, so a link before a comma read \"countries ,\". */\n render() {\n if (this.disabled) {\n return html`<span part=\"link\" class=\"${this._classes}\" style=\"${this._inlineStyle}\"><slot></slot>${this._arrow}</span>`;\n }\n\n return html`<a\n part=\"link\"\n class=\"${this._classes}\"\n style=\"${this._inlineStyle}\"\n href=\"${this.href || nothing}\"\n target=\"${this.href ? this.target : nothing}\"\n aria-current=\"${this._current || nothing}\"\n aria-describedby=\"${this.description ? \"description\" : nothing}\"\n @click=\"${this._handleClick}\"\n ><slot></slot>${this._arrow}</a>${this.description\n ? html`<span id=\"description\" hidden>${this.description}</span>`\n : nothing}`;\n }\n\n _handleClick(e: Event) {\n if (this.disabled) {\n e.preventDefault();\n e.stopImmediatePropagation();\n }\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-link\": BdLink;\n }\n}"],"mappings":"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"}
1
+ {"version":3,"file":"link.js","names":["linkCSS","_decorate","__decorate","link_css_default","APPEARANCES","SURFACES","BdLink","LitElement","_args","changed","isOneOf","nothing","fontSize","color","v","prop","property","value","defineElement"],"sources":["../../../../src/components/link/link.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport linkCSS from \"./link.css.ts\";\n// the trailing mark when arrow is set; an atom, the same one bd-button uses\nimport \"#components/icons/arrow.ts\";\nimport { fontSize, color, type FontSizeStep, type ColorRole } from \"#shared/token-scales.ts\";\n\n/**\n * The anchor -- or, when disabled, the span -- is exposed as `part=\"link\"`.\n *\n * It is the element that carries the ink, the padding and the focus ring, and\n * until now nothing outside this shadow root could reach it. That is not a\n * theoretical gap: bd-breadcrumb's mobile layout put a full-width padded pill\n * on the bd-link HOST, and the anchor inside stayed the width of its own text,\n * so a 343x40 row offered a 43x24 target -- 7.5% of what it looked like. A\n * part is the seam for the cases where the box a consumer needs to style and\n * the box the browser makes focusable have to be the same box.\n *\n * It is a seam, not a licence to restyle the atom: reach for an appearance\n * first.\n */\n\n/* The look. The legacy spellings ended at 4.0 (N6): `kind`, which meant the\n look here and three other things elsewhere, and the `light` value, which\n described the surface rather than the link and is surface=\"dark\" now. */\nconst APPEARANCES = [\"primary\", \"secondary\", \"subtle\", \"bold\", \"danger\"] as const;\nconst SURFACES = [\"light\", \"dark\", \"brand\"] as const;\n\ntype Appearance = typeof APPEARANCES[number];\ntype Surface = typeof SURFACES[number];\ntype Current = \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\";\n\n@defineElement(\"bd-link\")\nclass BdLink extends LitElement {\n /* No destination unless one is given. This was \"#\", so a bd-link written\n without an href was still a real link -- focusable, announced as a\n link, and on activation a jump to the top of the page. Now it renders\n an <a> with no href, which is not a link at all, and the missing\n destination shows instead of hiding. */\n @property({ type: String })\n href = \"\";\n @property({ type: String })\n target = \"_self\";\n @property({ type: String, reflect: true })\n appearance: Appearance = \"primary\";\n @property({ type: Boolean, reflect: true })\n underline = false;\n /** Removes the underline an appearance draws by default, at rest or on hover. */\n @property({ type: Boolean, attribute: \"without-underline\" })\n withoutUnderline = false;\n @property({ type: Boolean, reflect: true })\n disabled = false;\n @property({ type: String, attribute: \"font-size\" })\n fontSize: FontSizeStep | \"\" = \"\";\n /* The link is a run of text in a sentence and takes its type from that\n sentence. Off by default: 62 of the 66 bd-link usages in this package\n rely on the standalone role's 1rem, so inheriting cannot be the default\n without repositioning all of them. */\n @property({ type: Boolean, reflect: true })\n inline = false;\n @property({ type: String })\n color: ColorRole | \"\" = \"\";\n /* The link is the current one in its set: page, step, location, date,\n time, or true -- the aria-current token, which lands on the <a>.\n aria-current written on this element never reached the <a> in its\n shadow root, which is where a screen reader looks: bd-anchor-nav and\n bd-page-switcher both wrote it there and announced nothing. It\n reflects, so the element that holds the link can style its own box --\n an indicator, say -- from the same state. */\n @property({ type: String, reflect: true, converter: { toAttribute: value => value || null } })\n current: Current | \"\" = \"\";\n /* The surface the link sits on, the same attribute bd-button uses. It\n replaced kind=\"light\", which described the surface rather than the link\n and so could not be combined with any of the real looks. */\n @property({ type: String, reflect: true })\n surface: Surface = \"light\";\n /* A trailing arrow after the label: \"Read more ->\" on the homepage's post\n cards and the four solution-splitter links. Drawn in the foundation\n Figma file as Link arrow and Link arrow / dark; until now three\n components hand-rolled it, each with a 12px chevron where the design\n has the 16px shafted arrow. A modifier like underline rather than a\n sixth appearance, because every appearance, state and surface takes it. */\n @property({ type: Boolean, reflect: true })\n arrow = false;\n /* Extra text a screen reader reads after the link's name, through\n aria-describedby on the inner <a>, as on bd-button: the <a> is in this\n shadow root, so a description from outside never reaches it. bd-tooltip\n sets it on a bd-link trigger; a page can set it directly. */\n @property({ type: String })\n description = \"\";\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"appearance\") && !isOneOf(APPEARANCES, this.appearance)) this.appearance = \"primary\";\n if (changed.has(\"surface\") && !isOneOf(SURFACES, this.surface)) this.surface = \"light\";\n }\n\n static styles = [linkCSS];\n\n get _classes() {\n return [\n \"bd-link\",\n `bd-link--${this.appearance}`,\n this.underline ? \"bd-link--underline\" : \"\",\n this.withoutUnderline ? \"bd-link--without-underline\" : \"\",\n this.disabled ? \"bd-link--disabled\" : \"\",\n this.arrow ? \"bd-link--arrow\" : \"\"\n ].filter(Boolean).join(\" \");\n }\n\n /**\n * The arrow is decorative: the label already says where the link goes, so\n * the icon is hidden rather than named. It sits in a named slot so a page\n * can swap the glyph, the way the Figma set swaps its icon property, and it\n * is drawn in currentColor, so it takes the link's ink in every appearance,\n * state and surface without a rule of its own.\n */\n get _arrow() {\n return this.arrow\n ? html`<slot name=\"icon\"><bd-icon name=\"arrow\" size=\"sm\" aria-hidden=\"true\"></bd-icon></slot>`\n : nothing;\n }\n\n /**\n * font-size is a type-scale step and color is a semantic role; both are\n * resolved to token references by shared/token-scales.ts, and anything off\n * the scale is dropped.\n *\n * `color` is emitted as --bd-link-color rather than as `color`, and that is\n * the whole of the fix. A style attribute beats every rule in this\n * stylesheet, so a link with a colour prop had NO hover, NO active and NO\n * disabled appearance -- the resting ink won in all four states. Measured on\n * bd-anchor-nav, which passes color=\"strong\": rest, hover and mouse-down all\n * reported neutral-900 at weight 400, so the links were inert under the\n * pointer. Four sites pass the prop today and all four were affected.\n *\n * As a custom property it is the *resting* colour instead: the appearance rules\n * below read it through a var() fallback, and the :hover, --active and\n * --disabled rules keep plain `color` declarations, so they win the way they\n * were always meant to.\n *\n * font-size is not emitted at all when inline is set, because the two ask\n * contradictory questions: inline means the sentence decides the size. It is\n * dropped here rather than left to lose a specificity argument in the\n * stylesheet -- this is a style attribute, so it would beat\n * :host([inline]) and pull the link back out of the line box that mode\n * exists to keep it in.\n */\n get _inlineStyle() {\n return [\n [\"font-size\", this.inline ? \"\" : fontSize(this.fontSize)],\n [\"--bd-link-color\", color(this.color)]\n ].filter(([, v]) => v).map(([prop, v]) => `${prop}: ${v}`)\n .join(\"; \");\n }\n\n\n /* No whitespace anywhere in these templates: not between the tags and the\n slot, and not around the element either. The default flex row never\n rendered it, but inline drops the row, and there each newline became a\n real space inside the host -- measured at 3.5-4.5px past the text on\n every inline link, so a link before a comma read \"countries ,\". */\n render() {\n if (this.disabled) {\n return html`<span part=\"link\" class=\"${this._classes}\" style=\"${this._inlineStyle}\"><slot name=\"start\"></slot><slot></slot>${this._arrow}</span>`;\n }\n\n return html`<a\n part=\"link\"\n class=\"${this._classes}\"\n style=\"${this._inlineStyle}\"\n href=\"${this.href || nothing}\"\n target=\"${this.href ? this.target : nothing}\"\n aria-current=\"${this.current || nothing}\"\n aria-describedby=\"${this.description ? \"description\" : nothing}\"\n @click=\"${this._handleClick}\"\n ><slot name=\"start\"></slot><slot></slot>${this._arrow}</a>${this.description\n ? html`<span id=\"description\" hidden>${this.description}</span>`\n : nothing}`;\n }\n\n _handleClick(e: Event) {\n if (this.disabled) {\n e.preventDefault();\n e.stopImmediatePropagation();\n }\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-link\": BdLink;\n }\n}"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- import{css as e}from"lit";var t=e`@layer bd-components{.bd-list-item{align-items:flex-start;gap:var(--spacing-8);color:var(--color-text-primary);font-family:var(--typography-fontFamily-sans);margin:0;padding:0;list-style:none;display:flex}.bd-list-item.sm{--bd-li-line-height:var(--typography-body-small-lineHeight);font-size:var(--typography-body-small-fontSize);line-height:var(--bd-li-line-height);margin-bottom:var(--spacing-4)}.bd-list-item.md{--bd-li-line-height:var(--typography-body-regular-lineHeight);font-size:var(--typography-body-regular-fontSize);line-height:var(--bd-li-line-height);margin-bottom:var(--bd-li-margin-bottom,var(--spacing-6))}.bd-list-item.lg{--bd-li-line-height:var(--typography-body-large-lineHeight);font-size:var(--typography-body-large-fontSize);line-height:var(--bd-li-line-height);margin-bottom:var(--spacing-8)}.bd-list-item-marker{margin-top:calc((1em * var(--bd-li-line-height,var(--typography-body-regular-lineHeight)) - var(--bd-li-marker-size,var(--spacing-6))) / 2);flex-shrink:0;align-self:flex-start}.bd-list-item.bullet .bd-list-item-marker{--bd-li-marker-size:var(--spacing-6);width:var(--bd-li-marker-size);height:var(--bd-li-marker-size);background-color:var(--bd-li-marker-color,var(--color-text-primary));border-radius:var(--radius-full)}.bd-list-item.number .bd-list-item-marker{margin-top:0}.bd-list-item.number .bd-list-item-marker:before{content:attr(data-number);font-weight:var(--typography-fontWeight-semibold);color:var(--bd-li-marker-color,var(--color-text-primary))}.bd-list-item.check .bd-list-item-marker{--bd-li-marker-size:var(--spacing-16);width:var(--bd-li-marker-size);height:var(--bd-li-marker-size);background-color:var(--status-success-fill);border-radius:var(--radius-full);color:var(--status-success-on-fill);justify-content:center;align-items:center;display:flex;position:relative}.bd-list-item-custom-icon{--bd-li-marker-size:var(--spacing-16);width:var(--bd-li-marker-size);height:var(--bd-li-marker-size);margin-top:calc((1em * var(--bd-li-line-height,var(--typography-body-regular-lineHeight)) - var(--bd-li-marker-size)) / 2);flex-shrink:0}.bd-list-item.none{gap:0}.bd-list-item.none .bd-list-item-marker{display:none}.bd-list-item-content{flex:1}:host(:last-of-type) .bd-list-item{margin-bottom:0}}`;export{t as default};
1
+ import{css as e}from"lit";var t=e`@layer bd-components{.bd-list-item{align-items:flex-start;gap:var(--spacing-8);color:var(--bd-paragraph-color,var(--color-text-primary));font-family:var(--typography-fontFamily-sans);margin:0;padding:0;list-style:none;display:flex}.bd-list-item.sm{--bd-li-line-height:var(--typography-body-small-lineHeight);font-size:var(--typography-body-small-fontSize);line-height:var(--bd-li-line-height);margin-bottom:var(--spacing-4)}.bd-list-item.md{--bd-li-line-height:var(--typography-body-regular-lineHeight);font-size:var(--typography-body-regular-fontSize);line-height:var(--bd-li-line-height);margin-bottom:var(--bd-li-margin-bottom,var(--spacing-6))}.bd-list-item.lg{--bd-li-line-height:var(--typography-body-large-lineHeight);font-size:var(--typography-body-large-fontSize);line-height:var(--bd-li-line-height);margin-bottom:var(--spacing-8)}.bd-list-item-marker{margin-top:calc((1em * var(--bd-li-line-height,var(--typography-body-regular-lineHeight)) - var(--bd-li-marker-size,var(--spacing-6))) / 2);flex-shrink:0;align-self:flex-start}.bd-list-item.bullet .bd-list-item-marker{--bd-li-marker-size:var(--spacing-6);width:var(--bd-li-marker-size);height:var(--bd-li-marker-size);background-color:var(--bd-li-marker-color,var(--bd-paragraph-color,var(--color-text-primary)));border-radius:var(--radius-full)}.bd-list-item.number .bd-list-item-marker{margin-top:0}.bd-list-item.number .bd-list-item-marker:before{content:attr(data-number);font-weight:var(--typography-fontWeight-semibold);color:var(--bd-li-marker-color,var(--bd-paragraph-color,var(--color-text-primary)))}.bd-list-item.check .bd-list-item-marker,.bd-list-item.x .bd-list-item-marker{--bd-li-marker-size:var(--spacing-16);width:var(--bd-li-marker-size);height:var(--bd-li-marker-size);border-radius:var(--radius-full);position:relative}.bd-list-item.check .bd-list-item-marker{background-color:var(--status-success-fill)}.bd-list-item.check .bd-list-item-marker,.bd-list-item.x .bd-list-item-marker{justify-content:center;align-items:center;display:flex}.bd-list-item.check .bd-list-item-marker{color:var(--status-success-on-fill)}.bd-list-item.x .bd-list-item-marker{background-color:var(--status-error-fill);color:var(--status-error-on-fill)}.bd-list-item-custom-icon{--bd-li-marker-size:var(--spacing-16);width:var(--bd-li-marker-size);height:var(--bd-li-marker-size);margin-top:calc((1em * var(--bd-li-line-height,var(--typography-body-regular-lineHeight)) - var(--bd-li-marker-size)) / 2);flex-shrink:0}.bd-list-item.none{gap:0}.bd-list-item.none .bd-list-item-marker{display:none}.bd-list-item-content{flex:1}:host(:last-of-type) .bd-list-item{margin-bottom:0}}`;export{t as default};
2
2
  //# sourceMappingURL=list-item.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-item.css.js","names":["list_item_css_default"],"sources":["../../../../../src/components/list/list-item/list-item.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n@layer bd-components {\n /* Sans, and the same ink as bd-p. This was set in --font-family-mono, so a\n bulleted list rendered in monospace while the paragraph above it was in\n sans — the only text atom in the system that was not. That token was also\n a duplicate of --typography-fontFamily-mono carrying a shorter fallback\n stack, so the two spellings of \"mono\" degraded differently; it has been\n retired.\n\n The ink was neutral-700 against bd-p's neutral-1000 and bd-display's\n neutral-900. A list and the paragraph beside it are the same running text\n and now take the same role. */\n .bd-list-item {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n align-items: flex-start;\n gap: var(--spacing-8);\n color: var(--color-text-primary);\n font-family: var(--typography-fontFamily-sans);\n }\n\n /* === SIZE VARIANTS === */\n\n /* The size ladder is body-small / body-regular / body-large: a list item is\n running prose, which is what the body-* family is for. The leading used to\n sit once on the base rule as lineHeight-normal for all three rungs; it now\n comes from each rung's own role, which is what makes the ladder a role\n ladder rather than three sizes over one shared number. */\n .bd-list-item.sm {\n --bd-li-line-height: var(--typography-body-small-lineHeight);\n font-size: var(--typography-body-small-fontSize);\n line-height: var(--bd-li-line-height);\n margin-bottom: var(--spacing-4);\n }\n\n .bd-list-item.md {\n --bd-li-line-height: var(--typography-body-regular-lineHeight);\n font-size: var(--typography-body-regular-fontSize);\n line-height: var(--bd-li-line-height);\n margin-bottom: var(--bd-li-margin-bottom, var(--spacing-6));\n }\n\n .bd-list-item.lg {\n --bd-li-line-height: var(--typography-body-large-lineHeight);\n font-size: var(--typography-body-large-fontSize);\n line-height: var(--bd-li-line-height);\n margin-bottom: var(--spacing-8);\n }\n\n /* === MARKER STYLES === */\n\n .bd-list-item-marker {\n flex-shrink: 0;\n align-self: flex-start;\n /* centrează markerul pe înălțimea unei linii de text,\n calculat din line-height-ul itemului, indiferent de size.\n Se aplică doar markerelor \"forme\" (bullet, check) — nu textului (number).\n\n Reads the rung's own leading, not a fixed 1.5. The three rungs used to\n share one leading on the base rule, so hard-coding it here was\n equivalent; body-large is 1.625, so it no longer is, and a fixed ratio\n would leave the bullet 1.125px above the line's centre at lg. */\n margin-top: calc((1em * var(--bd-li-line-height, var(--typography-body-regular-lineHeight)) - var(--bd-li-marker-size, var(--spacing-6))) / 2);\n }\n\n /* Bullet List */\n .bd-list-item.bullet .bd-list-item-marker {\n --bd-li-marker-size: var(--spacing-6);\n width: var(--bd-li-marker-size);\n height: var(--bd-li-marker-size);\n background-color: var(--bd-li-marker-color, var(--color-text-primary));\n border-radius: var(--radius-full);\n }\n\n /* Number List. The number comes from list-item.ts, on the marker's\n data-number: a CSS counter cannot count across shadow roots, so each\n item's counter only ever reached 1. */\n .bd-list-item.number .bd-list-item-marker {\n margin-top: 0; /* text — se aliniază natural pe linia de bază, nu geometric */\n }\n\n .bd-list-item.number .bd-list-item-marker::before {\n content: attr(data-number);\n /* no role: a marker glyph, not running prose. The number or bullet in\n front of a list item is a symbol sized and weighted to sit against the\n text beside it, the same category typography rule 7 already covers for\n an icon-only line box's leading. A role describes text a reader reads\n as a sentence; it has nothing to say about a glyph. This is the\n argument for every \"no role: glyph/marker/placeholder\" marker in the\n package -- the others point here rather than restating it. */\n font-weight: var(--typography-fontWeight-semibold);\n color: var(--bd-li-marker-color, var(--color-text-primary));\n }\n\n /* Check List */\n /* green-700, not green-500: the tick is white on this disc, and on\n green-500 that measures 2.39:1 — it fails 1.4.3 as text and 1.4.11 as a\n graphic. green-700 gives 4.75 and is the step bd-badge already picked for\n white-on-green, for the same reason and with the same measurement.\n .\n So the disc and the tick are the badge's fill pair, and read it by name:\n --status-success-fill and --status-success-on-fill. They used to read\n -accent and --color-text-inverse, which resolve to the same two colours\n here and are not the same two roles -- a dark theme moves the accent\n and flips the inverse ink, and the pair it was borrowing from would come\n apart. */\n .bd-list-item.check .bd-list-item-marker {\n --bd-li-marker-size: var(--spacing-16);\n width: var(--bd-li-marker-size);\n height: var(--bd-li-marker-size);\n background-color: var(--status-success-fill);\n border-radius: var(--radius-full);\n position: relative;\n }\n\n /* The tick is bd-check-icon now, not a \"✓\" in a ::after. A character here was\n type doing an icon's job -- it changed shape with the font and drew\n differently on macOS and Windows, on a mark whose whole purpose is to be\n recognised at 16px. The atom is drawn at the same 2-unit weight as\n bd-plus-icon and bd-minus-icon, so the three read as one family.\n .\n The absolute centring went with it: the marker is a flex box now, which\n also means no ::after and no transform to keep in step with the disc. The\n icon inherits the white through currentColor from the colour set here, so\n the contrast argument above still holds and is still measured on the disc\n rather than on the glyph. */\n .bd-list-item.check .bd-list-item-marker {\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--status-success-on-fill);\n }\n\n /* Custom Icon */\n .bd-list-item-custom-icon {\n --bd-li-marker-size: var(--spacing-16);\n width: var(--bd-li-marker-size);\n height: var(--bd-li-marker-size);\n flex-shrink: 0;\n /* the rung's own leading -- see .bd-list-item-marker above. */\n margin-top: calc((1em * var(--bd-li-line-height, var(--typography-body-regular-lineHeight)) - var(--bd-li-marker-size)) / 2);\n }\n\n /* No Marker */\n .bd-list-item.none {\n gap: 0;\n }\n\n .bd-list-item.none .bd-list-item-marker {\n display: none;\n }\n\n /* === CONTENT STYLING === */\n\n .bd-list-item-content {\n flex: 1;\n }\n\n /* Last Item */\n :host(:last-of-type) .bd-list-item {\n margin-bottom: 0;\n }\n}\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,wsE"}
1
+ {"version":3,"file":"list-item.css.js","names":["list_item_css_default"],"sources":["../../../../../src/components/list/list-item/list-item.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n@layer bd-components {\n /* Sans, and the same ink as bd-p. This was set in --font-family-mono, so a\n bulleted list rendered in monospace while the paragraph above it was in\n sans — the only text atom in the system that was not. That token was also\n a duplicate of --typography-fontFamily-mono carrying a shorter fallback\n stack, so the two spellings of \"mono\" degraded differently; it has been\n retired.\n\n The ink was neutral-700 against bd-p's neutral-1000 and bd-display's\n neutral-900. A list and the paragraph beside it are the same running text\n and now take the same role.\n\n And the same ink hook: a container names its band's ink with ink()\n (shared/token-scales.ts), which bd-p reads as --bd-paragraph-color, and an\n item on that band reads it too. The colour was set here outright, so a\n list on a dark band -- bd-comparison-panel's dark appearance -- kept dark\n ink that nothing outside could reach. The color attribute is an inline\n style on this element, so it still wins. */\n .bd-list-item {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n align-items: flex-start;\n gap: var(--spacing-8);\n color: var(--bd-paragraph-color, var(--color-text-primary));\n font-family: var(--typography-fontFamily-sans);\n }\n\n /* === SIZE VARIANTS === */\n\n /* The size ladder is body-small / body-regular / body-large: a list item is\n running prose, which is what the body-* family is for. The leading used to\n sit once on the base rule as lineHeight-normal for all three rungs; it now\n comes from each rung's own role, which is what makes the ladder a role\n ladder rather than three sizes over one shared number. */\n .bd-list-item.sm {\n --bd-li-line-height: var(--typography-body-small-lineHeight);\n font-size: var(--typography-body-small-fontSize);\n line-height: var(--bd-li-line-height);\n margin-bottom: var(--spacing-4);\n }\n\n .bd-list-item.md {\n --bd-li-line-height: var(--typography-body-regular-lineHeight);\n font-size: var(--typography-body-regular-fontSize);\n line-height: var(--bd-li-line-height);\n margin-bottom: var(--bd-li-margin-bottom, var(--spacing-6));\n }\n\n .bd-list-item.lg {\n --bd-li-line-height: var(--typography-body-large-lineHeight);\n font-size: var(--typography-body-large-fontSize);\n line-height: var(--bd-li-line-height);\n margin-bottom: var(--spacing-8);\n }\n\n /* === MARKER STYLES === */\n\n .bd-list-item-marker {\n flex-shrink: 0;\n align-self: flex-start;\n /* centrează markerul pe înălțimea unei linii de text,\n calculat din line-height-ul itemului, indiferent de size.\n Se aplică doar markerelor \"forme\" (bullet, check) — nu textului (number).\n\n Reads the rung's own leading, not a fixed 1.5. The three rungs used to\n share one leading on the base rule, so hard-coding it here was\n equivalent; body-large is 1.625, so it no longer is, and a fixed ratio\n would leave the bullet 1.125px above the line's centre at lg. */\n margin-top: calc((1em * var(--bd-li-line-height, var(--typography-body-regular-lineHeight)) - var(--bd-li-marker-size, var(--spacing-6))) / 2);\n }\n\n /* Bullet List */\n .bd-list-item.bullet .bd-list-item-marker {\n --bd-li-marker-size: var(--spacing-6);\n width: var(--bd-li-marker-size);\n height: var(--bd-li-marker-size);\n background-color: var(--bd-li-marker-color, var(--bd-paragraph-color, var(--color-text-primary)));\n border-radius: var(--radius-full);\n }\n\n /* Number List. The number comes from list-item.ts, on the marker's\n data-number: a CSS counter cannot count across shadow roots, so each\n item's counter only ever reached 1. */\n .bd-list-item.number .bd-list-item-marker {\n margin-top: 0; /* text — se aliniază natural pe linia de bază, nu geometric */\n }\n\n .bd-list-item.number .bd-list-item-marker::before {\n content: attr(data-number);\n /* no role: a marker glyph, not running prose. The number or bullet in\n front of a list item is a symbol sized and weighted to sit against the\n text beside it, the same category typography rule 7 already covers for\n an icon-only line box's leading. A role describes text a reader reads\n as a sentence; it has nothing to say about a glyph. This is the\n argument for every \"no role: glyph/marker/placeholder\" marker in the\n package -- the others point here rather than restating it. */\n font-weight: var(--typography-fontWeight-semibold);\n color: var(--bd-li-marker-color, var(--bd-paragraph-color, var(--color-text-primary)));\n }\n\n /* Check List */\n /* green-700, not green-500: the tick is white on this disc, and on\n green-500 that measures 2.39:1 — it fails 1.4.3 as text and 1.4.11 as a\n graphic. green-700 gives 4.75 and is the step bd-badge already picked for\n white-on-green, for the same reason and with the same measurement.\n .\n So the disc and the tick are the badge's fill pair, and read it by name:\n --status-success-fill and --status-success-on-fill. They used to read\n -accent and --color-text-inverse, which resolve to the same two colours\n here and are not the same two roles -- a dark theme moves the accent\n and flips the inverse ink, and the pair it was borrowing from would come\n apart. */\n .bd-list-item.check .bd-list-item-marker,\n .bd-list-item.x .bd-list-item-marker {\n --bd-li-marker-size: var(--spacing-16);\n width: var(--bd-li-marker-size);\n height: var(--bd-li-marker-size);\n border-radius: var(--radius-full);\n position: relative;\n }\n\n .bd-list-item.check .bd-list-item-marker {\n background-color: var(--status-success-fill);\n }\n\n /* The tick is bd-check-icon now, not a \"✓\" in a ::after. A character here was\n type doing an icon's job -- it changed shape with the font and drew\n differently on macOS and Windows, on a mark whose whole purpose is to be\n recognised at 16px. The atom is drawn at the same 2-unit weight as\n bd-plus-icon and bd-minus-icon, so the three read as one family.\n .\n The absolute centring went with it: the marker is a flex box now, which\n also means no ::after and no transform to keep in step with the disc. The\n icon inherits the white through currentColor from the colour set here, so\n the contrast argument above still holds and is still measured on the disc\n rather than on the glyph. */\n .bd-list-item.check .bd-list-item-marker,\n .bd-list-item.x .bd-list-item-marker {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .bd-list-item.check .bd-list-item-marker {\n color: var(--status-success-on-fill);\n }\n\n /* X List. The check's counterpart: what something is not, on the error\n fill pair, as the check is on success's. bd-comparison-panel draws its\n second column with it. White on red-600 measures 5.44:1, over 3:1 as a\n graphic and over 4.5:1 read as text. */\n .bd-list-item.x .bd-list-item-marker {\n background-color: var(--status-error-fill);\n color: var(--status-error-on-fill);\n }\n\n /* Custom Icon */\n .bd-list-item-custom-icon {\n --bd-li-marker-size: var(--spacing-16);\n width: var(--bd-li-marker-size);\n height: var(--bd-li-marker-size);\n flex-shrink: 0;\n /* the rung's own leading -- see .bd-list-item-marker above. */\n margin-top: calc((1em * var(--bd-li-line-height, var(--typography-body-regular-lineHeight)) - var(--bd-li-marker-size)) / 2);\n }\n\n /* No Marker */\n .bd-list-item.none {\n gap: 0;\n }\n\n .bd-list-item.none .bd-list-item-marker {\n display: none;\n }\n\n /* === CONTENT STYLING === */\n\n .bd-list-item-content {\n flex: 1;\n }\n\n /* Last Item */\n :host(:last-of-type) .bd-list-item {\n margin-bottom: 0;\n }\n}\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,4kF"}
@@ -1,16 +1,17 @@
1
1
  import { LitElement, nothing, type PropertyValues } from "lit";
2
2
  import "../../../tokens/tokens.js";
3
3
  import { type ColorRole } from "../../shared/token-scales.js";
4
- import "../../icons/check-icon.js";
4
+ import "../../icons/check.js";
5
+ import "../../icons/close.js";
5
6
  declare const SIZE_STEPS: readonly ["sm", "md", "lg"];
6
- /** The markers this item can draw. */
7
- declare const MARKERS: readonly ["bullet", "number", "check", "none"];
7
+ /** The markers this item can draw. `check` and `x` are the pair a
8
+ comparison draws -- what something is and what it is not -- and
9
+ bd-comparison-panel pushes them onto the items of its two columns. */
10
+ declare const MARKERS: readonly ["bullet", "number", "check", "x", "none"];
8
11
  type Size = typeof SIZE_STEPS[number];
9
12
  type Marker = typeof MARKERS[number];
10
13
  export declare class BdListItem extends LitElement {
11
- variant: Marker;
12
- /** @deprecated pass `variant`. */
13
- kind: Marker | "";
14
+ appearance: Marker;
14
15
  size: Size;
15
16
  icon: string;
16
17
  color: ColorRole | "";
@@ -22,7 +23,8 @@ export declare class BdListItem extends LitElement {
22
23
  disconnectedCallback(): void;
23
24
  updated(changed: PropertyValues<this>): void;
24
25
  render(): import("lit-html").TemplateResult<1>;
25
- _renderMarker(): typeof nothing | import("lit-html").TemplateResult<1>;
26
+ _renderMarker(): import("lit-html").TemplateResult<1> | typeof nothing;
27
+ _renderGlyph(): import("lit-html").TemplateResult<1> | typeof nothing;
26
28
  static styles: import("lit").CSSResult[];
27
29
  }
28
30
  declare global {
@@ -1,9 +1,9 @@
1
- import{defineElement as e}from"../../shared/define-element.js";import"../../../tokens/tokens.js";import{color as t}from"../../shared/token-scales.js";import n from"../../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{isOneOf as r}from"../../shared/prop-vocabulary.js";import i from"./list-item.css.js";import"../../icons/check-icon.js";import{LitElement as a,html as o,nothing as s}from"lit";import{property as c}from"lit/decorators.js";var l=[`sm`,`md`,`lg`],u=[`bullet`,`number`,`check`,`none`],d=e=>e.localName===`bd-li`&&(e.variant||e.getAttribute(`variant`)||e.getAttribute(`kind`))===`number`,f=class extends a{constructor(...e){super(...e),this.variant=`bullet`,this.kind=``,this.size=`md`,this.icon=``,this.color=``}willUpdate(e){e.has(`kind`)&&this.kind&&(this.variant=this.kind),(e.has(`variant`)||e.has(`kind`))&&(r(u,this.variant)||(this.variant=`bullet`))}get _number(){let e=this.parentElement;return e?(e.localName===`bd-list`&&Number.isFinite(e.start)?e.start:1)+[...e.children].filter(d).indexOf(this):1}_renumberPeers(e=this.parentElement){if(e)for(let t of e.children)t!==this&&t.localName===`bd-li`&&t.requestUpdate?.()}connectedCallback(){super.connectedCallback(),this._parent=this.parentElement,this._renumberPeers()}disconnectedCallback(){super.disconnectedCallback(),this._renumberPeers(this._parent),this._parent=null}updated(e){e.has(`variant`)&&this._renumberPeers()}render(){let e=t(this.color),n=e?`color: ${e}; --bd-li-marker-color: ${e};`:``;return o`
2
- <li class="bd-list-item ${this.variant} ${r(l,this.size)?this.size:`md`}" style="${n}">
1
+ import{color as e}from"../../shared/token-scales.js";import{defineElement as t}from"../../shared/define-element.js";import"../../../tokens/tokens.js";import{isOneOf as n}from"../../shared/prop-vocabulary.js";import r from"../../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import i from"./list-item.css.js";import"../../icons/check.js";import"../../icons/close.js";import{LitElement as a,html as o,nothing as s}from"lit";import{property as c}from"lit/decorators.js";var l=[`sm`,`md`,`lg`],u=[`bullet`,`number`,`check`,`x`,`none`],d=e=>e.localName===`bd-li`&&(e.appearance||e.getAttribute(`appearance`))===`number`,f=class extends a{constructor(...e){super(...e),this.appearance=`bullet`,this.size=`md`,this.icon=``,this.color=``}willUpdate(e){e.has(`appearance`)&&!n(u,this.appearance)&&(this.appearance=`bullet`)}get _number(){let e=this.parentElement;return e?(e.localName===`bd-list`&&Number.isFinite(e.start)?e.start:1)+[...e.children].filter(d).indexOf(this):1}_renumberPeers(e=this.parentElement){if(e)for(let t of e.children)t!==this&&t.localName===`bd-li`&&t.requestUpdate?.()}connectedCallback(){super.connectedCallback(),this._parent=this.parentElement,this._renumberPeers()}disconnectedCallback(){super.disconnectedCallback(),this._renumberPeers(this._parent),this._parent=null}updated(e){e.has(`appearance`)&&this._renumberPeers()}render(){let t=e(this.color),r=t?`color: ${t}; --bd-li-marker-color: ${t};`:``;return o`
2
+ <li class="bd-list-item ${this.appearance} ${n(l,this.size)?this.size:`md`}" style="${r}">
3
3
  ${this._renderMarker()}
4
4
  <span class="bd-list-item-content">
5
5
  <slot></slot>
6
6
  </span>
7
7
  </li>
8
- `}_renderMarker(){return this.variant===`none`?s:this.icon?o`<img src="${this.icon}" alt="" class="bd-list-item-custom-icon" />`:o`<span class="bd-list-item-marker" data-number="${this.variant===`number`?`${this._number}.`:s}">${this.variant===`check`?o`<bd-check-icon size="xs" aria-hidden="true"></bd-check-icon>`:s}</span>`}static{this.styles=[i]}};n([c({type:String,reflect:!0})],f.prototype,`variant`,void 0),n([c({type:String})],f.prototype,`kind`,void 0),n([c({type:String})],f.prototype,`size`,void 0),n([c({type:String})],f.prototype,`icon`,void 0),n([c({type:String})],f.prototype,`color`,void 0),f=n([e(`bd-li`)],f);export{f as BdListItem};
8
+ `}_renderMarker(){return this.appearance===`none`?s:this.icon?o`<img src="${this.icon}" alt="" class="bd-list-item-custom-icon" />`:o`<span class="bd-list-item-marker" data-number="${this.appearance===`number`?`${this._number}.`:s}">${this._renderGlyph()}</span>`}_renderGlyph(){return this.appearance===`check`?o`<bd-icon name="check" size="xs" aria-hidden="true"></bd-icon>`:this.appearance===`x`?o`<bd-icon name="close" size="xs" aria-hidden="true"></bd-icon>`:s}static{this.styles=[i]}};r([c({type:String,attribute:`appearance`,reflect:!0})],f.prototype,`appearance`,void 0),r([c({type:String,attribute:`size`})],f.prototype,`size`,void 0),r([c({type:String,attribute:`icon`})],f.prototype,`icon`,void 0),r([c({type:String,attribute:`color`})],f.prototype,`color`,void 0),f=r([t(`bd-li`)],f);export{f as BdListItem};
9
9
  //# sourceMappingURL=list-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-item.js","names":["listItemCSS","_decorate","__decorate","list_item_css_default","SIZE_STEPS","MARKERS","isNumbered","el","BdListItem","LitElement","_args","changed","isOneOf","parent","ink","color","style","nothing","property","defineElement"],"sources":["../../../../../src/components/list/list-item/list-item.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues, type ReactiveElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport listItemCSS from \"./list-item.css.ts\";\nimport { color, type ColorRole } from \"#shared/token-scales.ts\";\nimport \"#components/icons/check-icon.ts\";\n\n// the size steps list-item.css.ts actually implements\nconst SIZE_STEPS = ['sm', 'md', 'lg'] as const;\n\n/** The markers this item can draw. */\nconst MARKERS = ['bullet', 'number', 'check', 'none'] as const;\n\ntype Size = typeof SIZE_STEPS[number];\ntype Marker = typeof MARKERS[number];\n\n/* Whether a sibling is a numbered item, read so it also answers for one\n that has not upgraded yet: its variant is still only an attribute. */\nconst isNumbered = (el: Element & { variant?: string }) => el.localName === 'bd-li'\n && (el.variant || el.getAttribute('variant') || el.getAttribute('kind')) === 'number';\n\n@defineElement(\"bd-li\")\nexport class BdListItem extends LitElement {\n @property({ type: String, reflect: true })\n variant: Marker = \"bullet\";\n /** @deprecated pass `variant`. */\n @property({ type: String })\n kind: Marker | \"\" = \"\";\n @property({ type: String })\n size: Size = \"md\"; // sm, md, lg\n @property({ type: String })\n icon = \"\"; // custom icon URL\n @property({ type: String })\n color: ColorRole | \"\" = \"\"; // a text role -- see token-scales.ts COLOR_ROLES\n\n _parent?: HTMLElement | null;\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"kind\") && this.kind) this.variant = this.kind;\n if (changed.has(\"variant\") || changed.has(\"kind\")) {\n if (!isOneOf(MARKERS, this.variant)) this.variant = \"bullet\";\n }\n }\n\n /* WHY THE NUMBER IS WORKED OUT HERE.\n The number used to be a CSS counter, incremented on the <li> inside this\n element's shadow root. Every shadow root starts its own counter, so each\n item counted only itself and every numbered list read 1. 1. 1. Now each\n item counts the numbered bd-li before it among its siblings, starting at\n the enclosing bd-list's start.\n\n The count depends on the siblings, so an item joining, leaving or\n changing variant asks the others to recount, and bd-list asks its items\n when start changes. */\n get _number() {\n const parent: (HTMLElement & { start?: number }) | null = this.parentElement;\n if (!parent) return 1;\n const start = parent.localName === 'bd-list' && Number.isFinite(parent.start) ? parent.start! : 1;\n return start + [...parent.children].filter(isNumbered).indexOf(this);\n }\n\n _renumberPeers(parent: Element | null = this.parentElement) {\n if (!parent) return;\n for (const el of parent.children) if (el !== this && el.localName === 'bd-li') (el as Partial<ReactiveElement>).requestUpdate?.();\n }\n\n connectedCallback() {\n super.connectedCallback();\n this._parent = this.parentElement;\n this._renumberPeers();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._renumberPeers(this._parent);\n this._parent = null;\n }\n\n updated(changed: PropertyValues<this>) {\n if (changed.has(\"variant\")) this._renumberPeers();\n }\n\n render() {\n /* color is a text role, resolved the way bd-h resolves it. It used to be\n written into the style attribute as given, so any string at all -- a\n hex, a raw palette var(), a value with a semicolon in it -- reached the\n inline style unchecked, past every token rule. A name that is not a\n role writes nothing, and the item keeps its own colours. */\n const ink = color(this.color);\n const style = ink ? `color: ${ink}; --bd-li-marker-color: ${ink};` : \"\";\n\n return html`\n <li class=\"bd-list-item ${this.variant} ${isOneOf(SIZE_STEPS, this.size) ? this.size : 'md'}\" style=\"${style}\">\n ${this._renderMarker()}\n <span class=\"bd-list-item-content\">\n <slot></slot>\n </span>\n </li>\n `;\n }\n\n _renderMarker() {\n if (this.variant === \"none\") return nothing;\n\n if (this.icon) {\n return html`<img src=\"${this.icon}\" alt=\"\" class=\"bd-list-item-custom-icon\" />`;\n }\n\n return html`<span class=\"bd-list-item-marker\" data-number=\"${this.variant === \"number\" ? `${this._number}.` : nothing}\">${\n this.variant === \"check\"\n ? html`<bd-check-icon size=\"xs\" aria-hidden=\"true\"></bd-check-icon>`\n : nothing\n }</span>`;\n }\n\n static styles = [listItemCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-li\": BdListItem;\n }\n}\n"],"mappings":"A,scAWA,IAAMI,EAAa,CAAC,KAAM,KAAM,IAAI,EAG9BC,EAAU,CAAC,SAAU,SAAU,QAAS,MAAM,EAO9CC,EAAc,GAAuCC,EAAG,YAAc,UACtEA,EAAG,SAAWA,EAAG,aAAa,SAAS,GAAKA,EAAG,aAAa,MAAM,KAAO,SAGlEC,EAAN,cAAyBC,CAAW,C,8BAEvB,KAAA,QAAA,SAGE,KAAA,KAAA,GAEP,KAAA,KAAA,KAEN,KAAA,KAAA,GAEiB,KAAA,MAAA,E,CAIxB,WAAW,EAA+B,CACpCE,EAAQ,IAAI,MAAM,GAAK,KAAK,OAAM,KAAK,QAAU,KAAK,OACtDA,EAAQ,IAAI,SAAS,GAAKA,EAAQ,IAAI,MAAM,KACzCC,EAAQP,EAAS,KAAK,OAAO,IAAG,KAAK,QAAU,UAExD,CAYA,IAAI,SAAU,CACZ,IAAMQ,EAAoD,KAAK,cAG/D,OAFKA,GACSA,EAAO,YAAc,WAAa,OAAO,SAASA,EAAO,KAAK,EAAIA,EAAO,MAAS,GACjF,CAAC,GAAGA,EAAO,QAAQ,CAAC,CAAC,OAAOP,CAAU,CAAC,CAAC,QAAQ,IAAI,EAF/C,CAGtB,CAEA,eAAe,EAAyB,KAAK,cAAe,CAC1D,GAAKO,EACL,IAAK,IAAMN,KAAMM,EAAO,SAAcN,IAAO,MAAQA,EAAG,YAAc,SAASA,EAAiC,gBAAgB,CAClI,CAEA,mBAAoB,CAClB,MAAM,kBAAkB,EACxB,KAAK,QAAU,KAAK,cACpB,KAAK,eAAe,CACtB,CAEA,sBAAuB,CACrB,MAAM,qBAAqB,EAC3B,KAAK,eAAe,KAAK,OAAO,EAChC,KAAK,QAAU,IACjB,CAEA,QAAQ,EAA+B,CACjCI,EAAQ,IAAI,SAAS,GAAG,KAAK,eAAe,CAClD,CAEA,QAAS,CAMP,IAAMG,EAAMC,EAAM,KAAK,KAAK,EACtBC,EAAQF,EAAM,UAAUA,EAAI,0BAA0BA,EAAI,GAAK,GAErE,MAAO,EAAI;gCACiB,KAAK,QAAQ,GAAGF,EAAQR,EAAY,KAAK,IAAI,EAAI,KAAK,KAAO,KAAK,WAAWY,EAAM;UACzG,KAAK,cAAc,EAAE;;;;;KAM7B,CAEA,eAAgB,CAOd,OANI,KAAK,UAAY,OAAeC,EAEhC,KAAK,KACA,CAAI,aAAa,KAAK,KAAK,8CAG7B,CAAI,kDAAkD,KAAK,UAAY,SAAW,GAAG,KAAK,QAAQ,GAAKA,EAAQ,IACpH,KAAK,UAAY,QACb,CAAI,+DACJA,EACL,QACH,C,OAEgB,KAAA,OAAA,CAACjB,CAAW,C,CAC9B,EA7FGC,EAAA,CAAAiB,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,UAAA,IAAA,EAAA,EAGxCP,EAAA,CAAAiB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBP,EAAA,CAAAiB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBP,EAAA,CAAAiB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBP,EAAA,CAAAiB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,QAAA,IAAA,EAAA,EAX3B,EAAAP,EAAA,CAAAkB,EAAc,OAAO,CAAA,EAAAX,CAAA,E"}
1
+ {"version":3,"file":"list-item.js","names":["listItemCSS","_decorate","__decorate","list_item_css_default","SIZE_STEPS","MARKERS","isNumbered","el","BdListItem","LitElement","_args","changed","isOneOf","parent","ink","color","style","nothing","property","defineElement"],"sources":["../../../../../src/components/list/list-item/list-item.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues, type ReactiveElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport listItemCSS from \"./list-item.css.ts\";\nimport { color, type ColorRole } from \"#shared/token-scales.ts\";\nimport \"#components/icons/check.ts\";\nimport \"#components/icons/close.ts\";\n\n// the size steps list-item.css.ts actually implements\nconst SIZE_STEPS = ['sm', 'md', 'lg'] as const;\n\n/** The markers this item can draw. `check` and `x` are the pair a\n comparison draws -- what something is and what it is not -- and\n bd-comparison-panel pushes them onto the items of its two columns. */\nconst MARKERS = ['bullet', 'number', 'check', 'x', 'none'] as const;\n\ntype Size = typeof SIZE_STEPS[number];\ntype Marker = typeof MARKERS[number];\n\n/* Whether a sibling is a numbered item, read so it also answers for one\n that has not upgraded yet: its appearance is still only an attribute. */\nconst isNumbered = (el: Element & { appearance?: string }) => el.localName === 'bd-li'\n && (el.appearance || el.getAttribute('appearance')) === 'number';\n\n@defineElement(\"bd-li\")\nexport class BdListItem extends LitElement {\n /* The marker, a look (N6): 3.x called it `variant`, and before that\n `kind`, which no longer resolves. */\n @property({ type: String, attribute: \"appearance\", reflect: true })\n appearance: Marker = \"bullet\";\n @property({ type: String, attribute: \"size\" })\n size: Size = \"md\"; // sm, md, lg\n @property({ type: String, attribute: \"icon\" })\n icon = \"\"; // custom icon URL\n @property({ type: String, attribute: \"color\" })\n color: ColorRole | \"\" = \"\"; // a text role -- see token-scales.ts COLOR_ROLES\n\n _parent?: HTMLElement | null;\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"appearance\") && !isOneOf(MARKERS, this.appearance)) this.appearance = \"bullet\";\n }\n\n /* WHY THE NUMBER IS WORKED OUT HERE.\n The number used to be a CSS counter, incremented on the <li> inside this\n element's shadow root. Every shadow root starts its own counter, so each\n item counted only itself and every numbered list read 1. 1. 1. Now each\n item counts the numbered bd-li before it among its siblings, starting at\n the enclosing bd-list's start.\n\n The count depends on the siblings, so an item joining, leaving or\n changing appearance asks the others to recount, and bd-list asks its items\n when start changes. */\n get _number() {\n const parent: (HTMLElement & { start?: number }) | null = this.parentElement;\n if (!parent) return 1;\n const start = parent.localName === 'bd-list' && Number.isFinite(parent.start) ? parent.start! : 1;\n return start + [...parent.children].filter(isNumbered).indexOf(this);\n }\n\n _renumberPeers(parent: Element | null = this.parentElement) {\n if (!parent) return;\n for (const el of parent.children) if (el !== this && el.localName === 'bd-li') (el as Partial<ReactiveElement>).requestUpdate?.();\n }\n\n connectedCallback() {\n super.connectedCallback();\n this._parent = this.parentElement;\n this._renumberPeers();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._renumberPeers(this._parent);\n this._parent = null;\n }\n\n updated(changed: PropertyValues<this>) {\n if (changed.has(\"appearance\")) this._renumberPeers();\n }\n\n render() {\n /* color is a text role, resolved the way bd-h resolves it. It used to be\n written into the style attribute as given, so any string at all -- a\n hex, a raw palette var(), a value with a semicolon in it -- reached the\n inline style unchecked, past every token rule. A name that is not a\n role writes nothing, and the item keeps its own colours. */\n const ink = color(this.color);\n const style = ink ? `color: ${ink}; --bd-li-marker-color: ${ink};` : \"\";\n\n return html`\n <li class=\"bd-list-item ${this.appearance} ${isOneOf(SIZE_STEPS, this.size) ? this.size : 'md'}\" style=\"${style}\">\n ${this._renderMarker()}\n <span class=\"bd-list-item-content\">\n <slot></slot>\n </span>\n </li>\n `;\n }\n\n _renderMarker() {\n if (this.appearance === \"none\") return nothing;\n\n if (this.icon) {\n return html`<img src=\"${this.icon}\" alt=\"\" class=\"bd-list-item-custom-icon\" />`;\n }\n\n return html`<span class=\"bd-list-item-marker\" data-number=\"${this.appearance === \"number\" ? `${this._number}.` : nothing}\">${this._renderGlyph()}</span>`;\n }\n\n /* The two markers drawn as an icon on a disc. */\n _renderGlyph() {\n if (this.appearance === \"check\") return html`<bd-icon name=\"check\" size=\"xs\" aria-hidden=\"true\"></bd-icon>`;\n if (this.appearance === \"x\") return html`<bd-icon name=\"close\" size=\"xs\" aria-hidden=\"true\"></bd-icon>`;\n return nothing;\n }\n\n static styles = [listItemCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-li\": BdListItem;\n }\n}\n"],"mappings":"A,8dAYA,IAAMI,EAAa,CAAC,KAAM,KAAM,IAAI,EAK9BC,EAAU,CAAC,SAAU,SAAU,QAAS,IAAK,MAAM,EAOnDC,EAAc,GAA0CC,EAAG,YAAc,UACzEA,EAAG,YAAcA,EAAG,aAAa,YAAY,KAAO,SAG7CC,EAAN,cAAyBC,CAAW,C,8BAIpB,KAAA,WAAA,SAER,KAAA,KAAA,KAEN,KAAA,KAAA,GAEiB,KAAA,MAAA,E,CAIxB,WAAW,EAA+B,CACpCE,EAAQ,IAAI,YAAY,GAAK,CAACC,EAAQP,EAAS,KAAK,UAAU,IAAG,KAAK,WAAa,SACzF,CAYA,IAAI,SAAU,CACZ,IAAMQ,EAAoD,KAAK,cAG/D,OAFKA,GACSA,EAAO,YAAc,WAAa,OAAO,SAASA,EAAO,KAAK,EAAIA,EAAO,MAAS,GACjF,CAAC,GAAGA,EAAO,QAAQ,CAAC,CAAC,OAAOP,CAAU,CAAC,CAAC,QAAQ,IAAI,EAF/C,CAGtB,CAEA,eAAe,EAAyB,KAAK,cAAe,CAC1D,GAAKO,EACL,IAAK,IAAMN,KAAMM,EAAO,SAAcN,IAAO,MAAQA,EAAG,YAAc,SAASA,EAAiC,gBAAgB,CAClI,CAEA,mBAAoB,CAClB,MAAM,kBAAkB,EACxB,KAAK,QAAU,KAAK,cACpB,KAAK,eAAe,CACtB,CAEA,sBAAuB,CACrB,MAAM,qBAAqB,EAC3B,KAAK,eAAe,KAAK,OAAO,EAChC,KAAK,QAAU,IACjB,CAEA,QAAQ,EAA+B,CACjCI,EAAQ,IAAI,YAAY,GAAG,KAAK,eAAe,CACrD,CAEA,QAAS,CAMP,IAAMG,EAAMC,EAAM,KAAK,KAAK,EACtBC,EAAQF,EAAM,UAAUA,EAAI,0BAA0BA,EAAI,GAAK,GAErE,MAAO,EAAI;gCACiB,KAAK,WAAW,GAAGF,EAAQR,EAAY,KAAK,IAAI,EAAI,KAAK,KAAO,KAAK,WAAWY,EAAM;UAC5G,KAAK,cAAc,EAAE;;;;;KAM7B,CAEA,eAAgB,CAOd,OANI,KAAK,aAAe,OAAeC,EAEnC,KAAK,KACA,CAAI,aAAa,KAAK,KAAK,8CAG7B,CAAI,kDAAkD,KAAK,aAAe,SAAW,GAAG,KAAK,QAAQ,GAAKA,EAAQ,IAAI,KAAK,aAAa,EAAE,QACnJ,CAGA,cAAe,CAGb,OAFI,KAAK,aAAe,QAAgB,CAAI,gEACxC,KAAK,aAAe,IAAY,CAAI,gEACjCA,CACT,C,OAEgB,KAAA,OAAA,CAACjB,CAAW,C,CAC9B,EA1FGC,EAAA,CAAAiB,EAAS,CAAE,KAAM,OAAQ,UAAW,aAAc,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,aAAA,IAAA,EAAA,EAEjEP,EAAA,CAAAiB,EAAS,CAAE,KAAM,OAAQ,UAAW,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,OAAA,IAAA,EAAA,EAE5CP,EAAA,CAAAiB,EAAS,CAAE,KAAM,OAAQ,UAAW,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,OAAA,IAAA,EAAA,EAE5CP,EAAA,CAAAiB,EAAS,CAAE,KAAM,OAAQ,UAAW,OAAQ,CAAC,CAAA,EAAAV,EAAA,UAAA,QAAA,IAAA,EAAA,EAV/C,EAAAP,EAAA,CAAAkB,EAAc,OAAO,CAAA,EAAAX,CAAA,E"}
@@ -1,9 +1,10 @@
1
1
  import { LitElement, type PropertyValues } from "lit";
2
2
  import "../../tokens/tokens.js";
3
+ import "./list-item/list-item.js";
3
4
  declare const ALLOWED: {
4
5
  readonly type: readonly [readonly ["ordered", "unordered"], "unordered"];
5
6
  readonly spacing: readonly [readonly ["sm", "md", "lg"], "md"];
6
- readonly variant: readonly [readonly ["default", "compact", "spacious"], "default"];
7
+ readonly appearance: readonly [readonly ["default", "compact", "spacious"], "default"];
7
8
  readonly orientation: readonly [readonly ["vertical", "horizontal"], "vertical"];
8
9
  };
9
10
  type Allowed = {
@@ -12,7 +13,7 @@ type Allowed = {
12
13
  export declare class BdList extends LitElement {
13
14
  type: Allowed["type"];
14
15
  spacing: Allowed["spacing"];
15
- variant: Allowed["variant"];
16
+ appearance: Allowed["appearance"];
16
17
  start: number;
17
18
  orientation: Allowed["orientation"];
18
19
  willUpdate(changed: PropertyValues<this>): void;
@@ -1,4 +1,4 @@
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{isOneOf as n}from"../shared/prop-vocabulary.js";import r from"./list.css.js";import{LitElement as i,html as a}from"lit";import{property as o}from"lit/decorators.js";var s={type:[[`ordered`,`unordered`],`unordered`],spacing:[[`sm`,`md`,`lg`],`md`],variant:[[`default`,`compact`,`spacious`],`default`],orientation:[[`vertical`,`horizontal`],`vertical`]},c=class extends i{constructor(...e){super(...e),this.type=`unordered`,this.spacing=`md`,this.variant=`default`,this.start=1,this.orientation=`vertical`}willUpdate(e){for(let[t,[r,i]]of Object.entries(s))e.has(t)&&!n(r,this[t])&&(this[t]=i);e.has(`start`)&&!Number.isFinite(this.start)&&(this.start=1)}updated(e){if(e.has(`start`))for(let e of this.children)e.localName===`bd-li`&&e.requestUpdate?.()}render(){let e=`bd-list ${this.spacing} ${this.variant} ${this.orientation}`;return this.type===`ordered`?a`
1
+ import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{isOneOf as t}from"../shared/prop-vocabulary.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"./list-item/list-item.js";import r from"./list.css.js";import{LitElement as i,html as a}from"lit";import{property as o}from"lit/decorators.js";var s={type:[[`ordered`,`unordered`],`unordered`],spacing:[[`sm`,`md`,`lg`],`md`],appearance:[[`default`,`compact`,`spacious`],`default`],orientation:[[`vertical`,`horizontal`],`vertical`]},c=class extends i{constructor(...e){super(...e),this.type=`unordered`,this.spacing=`md`,this.appearance=`default`,this.start=1,this.orientation=`vertical`}willUpdate(e){for(let[n,[r,i]]of Object.entries(s))e.has(n)&&!t(r,this[n])&&(this[n]=i);e.has(`start`)&&!Number.isFinite(this.start)&&(this.start=1)}updated(e){if(e.has(`start`))for(let e of this.children)e.localName===`bd-li`&&e.requestUpdate?.()}render(){let e=`bd-list ${this.spacing} ${this.appearance} ${this.orientation}`;return this.type===`ordered`?a`
2
2
  <ol class="${e}" start="${this.start}">
3
3
  <slot></slot>
4
4
  </ol>
@@ -6,5 +6,5 @@ import{defineElement as e}from"../shared/define-element.js";import"../../tokens/
6
6
  <ul class="${e}">
7
7
  <slot></slot>
8
8
  </ul>
9
- `}static{this.styles=[r]}};t([o({type:String,reflect:!0})],c.prototype,`type`,void 0),t([o({type:String,reflect:!0})],c.prototype,`spacing`,void 0),t([o({type:String,reflect:!0})],c.prototype,`variant`,void 0),t([o({type:Number,reflect:!0})],c.prototype,`start`,void 0),t([o({type:String,reflect:!0})],c.prototype,`orientation`,void 0),c=t([e(`bd-list`)],c);export{c as BdList};
9
+ `}static{this.styles=[r]}};n([o({type:String,attribute:`type`,reflect:!0})],c.prototype,`type`,void 0),n([o({type:String,attribute:`spacing`,reflect:!0})],c.prototype,`spacing`,void 0),n([o({type:String,attribute:`appearance`,reflect:!0})],c.prototype,`appearance`,void 0),n([o({type:Number,attribute:`start`,reflect:!0})],c.prototype,`start`,void 0),n([o({type:String,attribute:`orientation`,reflect:!0})],c.prototype,`orientation`,void 0),c=n([e(`bd-list`)],c);export{c as BdList};
10
10
  //# sourceMappingURL=list.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.js","names":["listCSS","_decorate","__decorate","list_css_default","ALLOWED","BdList","LitElement","_args","prop","values","fallback","changed","isOneOf","el","classes","property","defineElement"],"sources":["../../../../src/components/list/list.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues, type ReactiveElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport listCSS from \"./list.css.ts\";\n\n/* The values list.css.ts styles, each with the default it falls back to. */\nconst ALLOWED = {\n type : [['ordered', 'unordered'], 'unordered'],\n spacing : [['sm', 'md', 'lg'], 'md'],\n variant : [['default', 'compact', 'spacious'], 'default'],\n orientation: [['vertical', 'horizontal'], 'vertical']\n} as const;\n\ntype Allowed = { [P in keyof typeof ALLOWED]: typeof ALLOWED[P][0][number] };\n\n@defineElement(\"bd-list\")\nexport class BdList extends LitElement {\n @property({ type: String, reflect: true })\n type: Allowed[\"type\"] = \"unordered\"; // 'ordered', 'unordered'\n @property({ type: String, reflect: true })\n spacing: Allowed[\"spacing\"] = \"md\"; // sm, md, lg\n @property({ type: String, reflect: true })\n variant: Allowed[\"variant\"] = \"default\"; // default, compact, spacious\n @property({ type: Number, reflect: true })\n start = 1; // start number for ordered list\n @property({ type: String, reflect: true })\n orientation: Allowed[\"orientation\"] = \"vertical\"; // horizontal, vertical\n\n /* Each of these becomes a class and reflects, so an unknown value used to\n land on the element and in the class list as a name nothing styles --\n orientation=\"row\" laid the list out as nothing in particular, and still\n said \"row\". It now falls back to the default, and the attribute shows\n what is applied. start that is not a number goes back to 1. */\n willUpdate(changed: PropertyValues<this>) {\n for (const [prop, [values, fallback]] of Object.entries(ALLOWED) as [keyof Allowed, readonly [readonly string[], string]][]) {\n if (changed.has(prop) && !isOneOf(values, this[prop])) (this as Record<keyof Allowed, string>)[prop] = fallback;\n }\n if (changed.has('start') && !Number.isFinite(this.start)) this.start = 1;\n }\n\n /* A numbered bd-li counts from start, so it has to recount when start does. */\n updated(changed: PropertyValues<this>) {\n if (changed.has(\"start\")) {\n for (const el of this.children) if (el.localName === \"bd-li\") (el as Partial<ReactiveElement>).requestUpdate?.();\n }\n }\n\n render() {\n const classes = `bd-list ${this.spacing} ${this.variant} ${this.orientation}`;\n\n if (this.type === \"ordered\") {\n return html`\n <ol class=\"${classes}\" start=\"${this.start}\">\n <slot></slot>\n </ol>\n `;\n }\n\n return html`\n <ul class=\"${classes}\">\n <slot></slot>\n </ul>\n `;\n }\n\n static styles = [listCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-list\": BdList;\n }\n}\n"],"mappings":"A,iVASA,IAAMI,EAAU,CACd,KAAa,CAAC,CAAC,UAAW,WAAW,EAAG,WAAW,EACnD,QAAa,CAAC,CAAC,KAAM,KAAM,IAAI,EAAG,IAAI,EACtC,QAAa,CAAC,CAAC,UAAW,UAAW,UAAU,EAAG,SAAS,EAC3D,YAAa,CAAC,CAAC,WAAY,YAAY,EAAG,UAAU,CACtD,EAKaC,EAAN,cAAqBC,CAAW,C,8BAEb,KAAA,KAAA,YAEM,KAAA,QAAA,KAEA,KAAA,QAAA,UAEtB,KAAA,MAAA,EAE8B,KAAA,YAAA,U,CAOtC,WAAW,EAA+B,CACxC,IAAK,GAAM,CAACE,EAAM,CAACC,EAAQC,MAAc,OAAO,QAAQN,CAAO,EACzDO,EAAQ,IAAIH,CAAI,GAAK,CAACI,EAAQH,EAAQ,KAAKD,EAAK,IAAG,KAAwCA,GAAQE,GAErGC,EAAQ,IAAI,OAAO,GAAK,CAAC,OAAO,SAAS,KAAK,KAAK,IAAG,KAAK,MAAQ,EACzE,CAGA,QAAQ,EAA+B,CACrC,GAAIA,EAAQ,IAAI,OAAO,EAChB,IAAA,IAAME,KAAM,KAAK,SAAcA,EAAG,YAAc,SAASA,EAAiC,gBAAgB,CAEnH,CAEA,QAAS,CACP,IAAMC,EAAU,WAAW,KAAK,QAAQ,GAAG,KAAK,QAAQ,GAAG,KAAK,cAUhE,OARI,KAAK,OAAS,UACT,CAAI;qBACIA,EAAQ,WAAW,KAAK,MAAM;;;QAMxC,CAAI;mBACIA,EAAQ;;;KAIzB,C,OAEgB,KAAA,OAAA,CAACd,CAAO,C,CAC1B,EAjDGC,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,OAAA,IAAA,EAAA,EAExCJ,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,UAAA,IAAA,EAAA,EAExCJ,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,UAAA,IAAA,EAAA,EAExCJ,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,QAAA,IAAA,EAAA,EAExCJ,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,cAAA,IAAA,EAAA,EAV1C,EAAAJ,EAAA,CAAAe,EAAc,SAAS,CAAA,EAAAX,CAAA,E"}
1
+ {"version":3,"file":"list.js","names":["listCSS","_decorate","__decorate","list_css_default","ALLOWED","BdList","LitElement","_args","prop","values","fallback","changed","isOneOf","el","classes","property","defineElement"],"sources":["../../../../src/components/list/list.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues, type ReactiveElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport listCSS from \"./list.css.ts\";\n/* One export per family (N4): ./list registers bd-li with bd-list, so a page\n importing the list has its items. */\nimport \"#components/list/list-item/list-item.ts\";\n\n/* The values list.css.ts styles, each with the default it falls back to. */\nconst ALLOWED = {\n type : [['ordered', 'unordered'], 'unordered'],\n spacing : [['sm', 'md', 'lg'], 'md'],\n appearance : [['default', 'compact', 'spacious'], 'default'],\n orientation: [['vertical', 'horizontal'], 'vertical']\n} as const;\n\ntype Allowed = { [P in keyof typeof ALLOWED]: typeof ALLOWED[P][0][number] };\n\n@defineElement(\"bd-list\")\nexport class BdList extends LitElement {\n @property({ type: String, attribute: \"type\", reflect: true })\n type: Allowed[\"type\"] = \"unordered\"; // 'ordered', 'unordered'\n @property({ type: String, attribute: \"spacing\", reflect: true })\n spacing: Allowed[\"spacing\"] = \"md\"; // sm, md, lg\n /* The look (N6); 3.x called it `variant`. */\n @property({ type: String, attribute: \"appearance\", reflect: true })\n appearance: Allowed[\"appearance\"] = \"default\"; // default, compact, spacious\n @property({ type: Number, attribute: \"start\", reflect: true })\n start = 1; // start number for ordered list\n @property({ type: String, attribute: \"orientation\", reflect: true })\n orientation: Allowed[\"orientation\"] = \"vertical\"; // horizontal, vertical\n\n /* Each of these becomes a class and reflects, so an unknown value used to\n land on the element and in the class list as a name nothing styles --\n orientation=\"row\" laid the list out as nothing in particular, and still\n said \"row\". It now falls back to the default, and the attribute shows\n what is applied. start that is not a number goes back to 1. */\n willUpdate(changed: PropertyValues<this>) {\n for (const [prop, [values, fallback]] of Object.entries(ALLOWED) as [keyof Allowed, readonly [readonly string[], string]][]) {\n if (changed.has(prop) && !isOneOf(values, this[prop])) (this as Record<keyof Allowed, string>)[prop] = fallback;\n }\n if (changed.has('start') && !Number.isFinite(this.start)) this.start = 1;\n }\n\n /* A numbered bd-li counts from start, so it has to recount when start does. */\n updated(changed: PropertyValues<this>) {\n if (changed.has(\"start\")) {\n for (const el of this.children) if (el.localName === \"bd-li\") (el as Partial<ReactiveElement>).requestUpdate?.();\n }\n }\n\n render() {\n const classes = `bd-list ${this.spacing} ${this.appearance} ${this.orientation}`;\n\n if (this.type === \"ordered\") {\n return html`\n <ol class=\"${classes}\" start=\"${this.start}\">\n <slot></slot>\n </ol>\n `;\n }\n\n return html`\n <ul class=\"${classes}\">\n <slot></slot>\n </ul>\n `;\n }\n\n static styles = [listCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-list\": BdList;\n }\n}\n"],"mappings":"A,kXAYA,IAAMI,EAAU,CACd,KAAa,CAAC,CAAC,UAAW,WAAW,EAAG,WAAW,EACnD,QAAa,CAAC,CAAC,KAAM,KAAM,IAAI,EAAG,IAAI,EACtC,WAAa,CAAC,CAAC,UAAW,UAAW,UAAU,EAAG,SAAS,EAC3D,YAAa,CAAC,CAAC,WAAY,YAAY,EAAG,UAAU,CACtD,EAKaC,EAAN,cAAqBC,CAAW,C,8BAEb,KAAA,KAAA,YAEM,KAAA,QAAA,KAGM,KAAA,WAAA,UAE5B,KAAA,MAAA,EAE8B,KAAA,YAAA,U,CAOtC,WAAW,EAA+B,CACxC,IAAK,GAAM,CAACE,EAAM,CAACC,EAAQC,MAAc,OAAO,QAAQN,CAAO,EACzDO,EAAQ,IAAIH,CAAI,GAAK,CAACI,EAAQH,EAAQ,KAAKD,EAAK,IAAG,KAAwCA,GAAQE,GAErGC,EAAQ,IAAI,OAAO,GAAK,CAAC,OAAO,SAAS,KAAK,KAAK,IAAG,KAAK,MAAQ,EACzE,CAGA,QAAQ,EAA+B,CACrC,GAAIA,EAAQ,IAAI,OAAO,EAChB,IAAA,IAAME,KAAM,KAAK,SAAcA,EAAG,YAAc,SAASA,EAAiC,gBAAgB,CAEnH,CAEA,QAAS,CACP,IAAMC,EAAU,WAAW,KAAK,QAAQ,GAAG,KAAK,WAAW,GAAG,KAAK,cAUnE,OARI,KAAK,OAAS,UACT,CAAI;qBACIA,EAAQ,WAAW,KAAK,MAAM;;;QAMxC,CAAI;mBACIA,EAAQ;;;KAIzB,C,OAEgB,KAAA,OAAA,CAACd,CAAO,C,CAC1B,EAlDGC,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,UAAW,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,OAAA,IAAA,EAAA,EAE3DJ,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,UAAW,UAAW,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,UAAA,IAAA,EAAA,EAG9DJ,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,UAAW,aAAc,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,aAAA,IAAA,EAAA,EAEjEJ,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,UAAW,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,QAAA,IAAA,EAAA,EAE5DJ,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,UAAW,cAAe,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,cAAA,IAAA,EAAA,EAXpE,EAAAJ,EAAA,CAAAe,EAAc,SAAS,CAAA,EAAAX,CAAA,E"}
@@ -1,2 +1,2 @@
1
- import{css as e}from"lit";var t=e`:host{display:block}.root{align-items:center;gap:var(--spacing-16);display:flex}.viewport{flex:auto;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,#0000,#000 12% 88%,#0000)}.track{width:max-content;animation:bd-logo-marquee var(--bd-logo-marquee-duration) var(--transition-easing-linear) infinite;display:flex}@keyframes bd-logo-marquee{to{transform:translateX(calc(-100% / var(--bd-logo-marquee-copies)))}}.viewport:hover .track,.viewport:focus-within .track,:host([paused]) .track{animation-play-state:paused}.group{align-items:center;gap:var(--bd-logo-marquee-gap);flex:none;padding-inline-end:var(--bd-logo-marquee-gap);display:flex}::slotted(*),.copy>*,.toggle{flex:none}@media (prefers-reduced-motion:reduce){.viewport{mask-image:none}.track{width:100%;animation:none}.group{flex-wrap:wrap;flex:auto;justify-content:center;padding-inline-end:0}.copy,.toggle{display:none}}`;export{t as logoMarqueeCSS};
1
+ import{css as e}from"lit";var t=e`:host{display:block}.root{align-items:center;gap:var(--spacing-16);display:flex}.viewport{flex:auto;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,#0000,#000 12% 88%,#0000)}.track{width:max-content;animation:bd-logo-marquee var(--bd-logo-marquee-duration) var(--transition-easing-linear) infinite;display:flex}@keyframes bd-logo-marquee{to{transform:translateX(calc(-100% / var(--bd-logo-marquee-copies)))}}.viewport:hover .track,.viewport:focus-within .track,:host([paused]) .track{animation-play-state:paused}.group{align-items:center;gap:var(--bd-logo-marquee-gap);flex:none;padding-inline-end:var(--bd-logo-marquee-gap);display:flex}::slotted(*),.copy>*{flex:none}::slotted(:is(img,picture,bd-img,bd-picture)),.copy>:is(img,picture,bd-img,bd-picture){background-color:var(--color-surface-mark)}.toggle{flex:none}@media (prefers-reduced-motion:reduce){.viewport{mask-image:none}.track{width:100%;animation:none}.group{flex-wrap:wrap;flex:auto;justify-content:center;padding-inline-end:0}.copy,.toggle{display:none}}`;export{t as logoMarqueeCSS};
2
2
  //# sourceMappingURL=logo-marquee.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"logo-marquee.css.js","names":["logoMarqueeCSS"],"sources":["../../../../src/components/logo-marquee/logo-marquee.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/* The track holds the slotted set and its copies side by side and moves left\n by exactly one of them -- 100% of the track divided by how many there are --\n then starts again. Each set carries the gap after its last logo as padding,\n so the space across the seam is the same as the space inside a set. */\nexport const logoMarqueeCSS = css`\n :host {\n display: block;\n }\n\n .root {\n display: flex;\n align-items: center;\n gap: var(--spacing-16);\n }\n\n .viewport {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n /* no token: a mask is read for its alpha only, so the colour is a\n placeholder for \"opaque\" and carries no ink. Solid from 12% to 88%, the\n fade the Figma Logo marquee draws. */\n mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);\n }\n\n .track {\n display: flex;\n width: max-content;\n animation: bd-logo-marquee var(--bd-logo-marquee-duration) var(--transition-easing-linear) infinite;\n }\n\n @keyframes bd-logo-marquee {\n to {\n transform: translateX(calc(-100% / var(--bd-logo-marquee-copies)));\n }\n }\n\n /* Held while the pointer or focus is on the row, and stopped by the paused\n attribute, which the button sets. */\n .viewport:hover .track,\n .viewport:focus-within .track,\n :host([paused]) .track {\n animation-play-state: paused;\n }\n\n .group {\n display: flex;\n flex: none;\n align-items: center;\n gap: var(--bd-logo-marquee-gap);\n padding-inline-end: var(--bd-logo-marquee-gap);\n }\n\n ::slotted(*),\n .copy > * {\n flex: none;\n }\n\n /* the pause button, at the row's inline end, outside the fade */\n .toggle {\n flex: none;\n }\n\n /* Still, and nothing hidden: the set wraps in place, and the copies and\n the fade go. */\n @media (prefers-reduced-motion: reduce) {\n .viewport {\n mask-image: none;\n }\n\n .track {\n width: 100%;\n animation: none;\n }\n\n .group {\n flex: 1 1 auto;\n flex-wrap: wrap;\n justify-content: center;\n padding-inline-end: 0;\n }\n\n .copy {\n display: none;\n }\n\n /* nothing moves, so there is nothing to pause */\n .toggle {\n display: none;\n }\n }\n`;\n"],"mappings":"A,0BAMA,IAAaA,EAAiB,CAAG,+3B"}
1
+ {"version":3,"file":"logo-marquee.css.js","names":["logoMarqueeCSS"],"sources":["../../../../src/components/logo-marquee/logo-marquee.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/* The track holds the slotted set and its copies side by side and moves left\n by exactly one of them -- 100% of the track divided by how many there are --\n then starts again. Each set carries the gap after its last logo as padding,\n so the space across the seam is the same as the space inside a set. */\nexport const logoMarqueeCSS = css`\n :host {\n display: block;\n }\n\n .root {\n display: flex;\n align-items: center;\n gap: var(--spacing-16);\n }\n\n .viewport {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n /* no token: a mask is read for its alpha only, so the colour is a\n placeholder for \"opaque\" and carries no ink. Solid from 12% to 88%, the\n fade the Figma Logo marquee draws. */\n mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);\n }\n\n .track {\n display: flex;\n width: max-content;\n animation: bd-logo-marquee var(--bd-logo-marquee-duration) var(--transition-easing-linear) infinite;\n }\n\n @keyframes bd-logo-marquee {\n to {\n transform: translateX(calc(-100% / var(--bd-logo-marquee-copies)));\n }\n }\n\n /* Held while the pointer or focus is on the row, and stopped by the paused\n attribute, which the button sets. */\n .viewport:hover .track,\n .viewport:focus-within .track,\n :host([paused]) .track {\n animation-play-state: paused;\n }\n\n .group {\n display: flex;\n flex: none;\n align-items: center;\n gap: var(--bd-logo-marquee-gap);\n padding-inline-end: var(--bd-logo-marquee-gap);\n }\n\n ::slotted(*),\n .copy > * {\n flex: none;\n }\n\n /* A logo is an image in its owner's colours, drawn for a white page -- the\n partners' wordmarks are near-black, an award badge has dark type on a\n transparent ground -- so on a dark page it would sink into the ground.\n Each sits on the mark plate, --color-surface-mark, a light ground in\n every theme, on its own box: on a white page that is the page, so light\n does not move. Words the page sets beside the logos (the trusted line's\n \"#1 most awarded\") are type, follow the theme, and take no plate; nor\n does a bd-mark, which paints its own (icons/mark.ts). */\n ::slotted(:is(img, picture, bd-img, bd-picture)),\n .copy > :is(img, picture, bd-img, bd-picture) {\n background-color: var(--color-surface-mark);\n }\n\n /* the pause button, at the row's inline end, outside the fade */\n .toggle {\n flex: none;\n }\n\n /* Still, and nothing hidden: the set wraps in place, and the copies and\n the fade go. */\n @media (prefers-reduced-motion: reduce) {\n .viewport {\n mask-image: none;\n }\n\n .track {\n width: 100%;\n animation: none;\n }\n\n .group {\n flex: 1 1 auto;\n flex-wrap: wrap;\n justify-content: center;\n padding-inline-end: 0;\n }\n\n .copy {\n display: none;\n }\n\n /* nothing moves, so there is nothing to pause */\n .toggle {\n display: none;\n }\n }\n`;\n"],"mappings":"A,0BAMA,IAAaA,EAAiB,CAAG,2gC"}
@@ -1,8 +1,8 @@
1
1
  import { LitElement, type PropertyValues } from "lit";
2
2
  import "../../tokens/tokens.js";
3
3
  import "../button/button.js";
4
- import "../icons/pause-icon.js";
5
- import "../icons/play-icon.js";
4
+ import "../icons/pause.js";
5
+ import "../icons/play.js";
6
6
  /**
7
7
  * A row of logos sliding sideways behind an edge fade: the homepage's trusted
8
8
  * line ("#1 most awarded" and the partner marks) and the award strip under
@@ -1,23 +1,21 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{spacing as t}from"../shared/token-scales.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{ensembleCSS as r}from"../shared/ensemble.css.js";import"../button/button.js";import"../icons/pause-icon.js";import"../icons/play-icon.js";import{logoMarqueeCSS as i}from"./logo-marquee.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=[r,i]}constructor(){super(),this.label=``,this.duration=35,this.gap=`48`,this.paused=!1,this.pauseLabel=`Pause the moving logos`,this.playLabel=`Play the moving logos`,this._copies=1,this._frame=0,this._resize=new ResizeObserver(()=>{cancelAnimationFrame(this._frame),this._frame=requestAnimationFrame(()=>this._measure())})}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this._observe()}disconnectedCallback(){super.disconnectedCallback(),this._resize.disconnect(),cancelAnimationFrame(this._frame)}firstUpdated(){this._observe()}_observe(){this._resize.observe(this.renderRoot.querySelector(`.viewport`)),this._resize.observe(this.renderRoot.querySelector(`.group`))}_measure(){let e=this.renderRoot.querySelector(`.viewport`),t=this.renderRoot.querySelector(`.group`);if(!e||!t||!t.offsetWidth)return;let n=Math.max(1,Math.ceil(e.offsetWidth/t.offsetWidth));n!==this._copies&&(this._copies=n)}_onSlotChange(){this._fillCopies(),this._measure()}_fillCopies(){let e=this.renderRoot.querySelector(`slot`);if(!e)return;let t=e.assignedElements({flatten:!0});for(let e of this.renderRoot.querySelectorAll(`.copy`))e.replaceChildren(...t.map(e=>e.cloneNode(!0)))}updated(e){e.has(`_copies`)&&this._fillCopies()}_toggle(){this.paused=!this.paused}render(){let e=Array.from({length:this._copies});return o`
1
+ import{spacing as e}from"../shared/token-scales.js";import{defineElement as t}from"../shared/define-element.js";import"../../tokens/tokens.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{ensembleCSS as r}from"../shared/ensemble.css.js";import"../button/button.js";import"../icons/pause.js";import"../icons/play.js";import{logoMarqueeCSS as i}from"./logo-marquee.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=[r,i]}constructor(){super(),this.label=``,this.duration=35,this.gap=`48`,this.paused=!1,this.pauseLabel=`Pause the moving logos`,this.playLabel=`Play the moving logos`,this._copies=1,this._frame=0,this._resize=new ResizeObserver(()=>{cancelAnimationFrame(this._frame),this._frame=requestAnimationFrame(()=>this._measure())})}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this._observe()}disconnectedCallback(){super.disconnectedCallback(),this._resize.disconnect(),cancelAnimationFrame(this._frame)}firstUpdated(){this._observe()}_observe(){this._resize.observe(this.renderRoot.querySelector(`.viewport`)),this._resize.observe(this.renderRoot.querySelector(`.group`))}_measure(){let e=this.renderRoot.querySelector(`.viewport`),t=this.renderRoot.querySelector(`.group`);if(!e||!t||!t.offsetWidth)return;let n=Math.max(1,Math.ceil(e.offsetWidth/t.offsetWidth));n!==this._copies&&(this._copies=n)}_onSlotChange(){this._fillCopies(),this._measure()}_fillCopies(){let e=this.renderRoot.querySelector(`slot`);if(!e)return;let t=e.assignedElements({flatten:!0});for(let e of this.renderRoot.querySelectorAll(`.copy`))e.replaceChildren(...t.map(e=>e.cloneNode(!0)))}updated(e){e.has(`_copies`)&&this._fillCopies()}_toggle(){this.paused=!this.paused}render(){let t=Array.from({length:this._copies});return o`
2
2
  <section
3
3
  class="bd-ensemble root"
4
4
  aria-label="${this.label}"
5
- style="--bd-logo-marquee-gap: ${t(this.gap)||`var(--spacing-48)`}; --bd-logo-marquee-duration: ${this.duration}s; --bd-logo-marquee-copies: ${this._copies+1};"
5
+ style="--bd-logo-marquee-gap: ${e(this.gap)||`var(--spacing-48)`}; --bd-logo-marquee-duration: ${this.duration}s; --bd-logo-marquee-copies: ${this._copies+1};"
6
6
  >
7
7
  <div class="viewport">
8
8
  <div class="track">
9
9
  <div class="group"><slot @slotchange=${this._onSlotChange}></slot></div>
10
- ${e.map(()=>o`<div class="group copy" aria-hidden="true" inert></div>`)}
10
+ ${t.map(()=>o`<div class="group copy" aria-hidden="true" inert></div>`)}
11
11
  </div>
12
12
  </div>
13
13
  <bd-button
14
14
  class="toggle"
15
- variant="ghost"
15
+ appearance="ghost"
16
16
  size="sm"
17
- icon-only
18
- label="${this.paused?this.playLabel:this.pauseLabel}"
19
17
  @click=${this._toggle}
20
- >${this.paused?o`<bd-play-icon size="sm"></bd-play-icon>`:o`<bd-pause-icon size="sm"></bd-pause-icon>`}</bd-button>
18
+ >${this.paused?o`<bd-icon name="play" size="sm" label="${this.playLabel}"></bd-icon>`:o`<bd-icon name="pause" size="sm" label="${this.pauseLabel}"></bd-icon>`}</bd-button>
21
19
  </section>
22
- `}};n([s({type:String})],l.prototype,`label`,void 0),n([s({type:Number})],l.prototype,`duration`,void 0),n([s({type:String})],l.prototype,`gap`,void 0),n([s({type:Boolean,reflect:!0})],l.prototype,`paused`,void 0),n([s({type:String,attribute:`pause-label`})],l.prototype,`pauseLabel`,void 0),n([s({type:String,attribute:`play-label`})],l.prototype,`playLabel`,void 0),n([c()],l.prototype,`_copies`,void 0),l=n([e(`bd-logo-marquee`)],l);export{l as LogoMarquee};
20
+ `}};n([s({type:String})],l.prototype,`label`,void 0),n([s({type:Number})],l.prototype,`duration`,void 0),n([s({type:String})],l.prototype,`gap`,void 0),n([s({type:Boolean,reflect:!0})],l.prototype,`paused`,void 0),n([s({type:String,attribute:`pause-label`})],l.prototype,`pauseLabel`,void 0),n([s({type:String,attribute:`play-label`})],l.prototype,`playLabel`,void 0),n([c()],l.prototype,`_copies`,void 0),l=n([t(`bd-logo-marquee`)],l);export{l as LogoMarquee};
23
21
  //# sourceMappingURL=logo-marquee.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"logo-marquee.js","names":["_decorate","__decorate","LogoMarquee","LitElement","ensembleCSS","logoMarqueeCSS","viewport","group","copies","slot","items","copy","item","changed","spacing","property","state","defineElement"],"sources":["../../../../src/components/logo-marquee/logo-marquee.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues } 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/button/button.ts\";\nimport \"#components/icons/pause-icon.ts\";\nimport \"#components/icons/play-icon.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport { spacing } from \"#shared/token-scales.ts\";\nimport { logoMarqueeCSS } from \"./logo-marquee.css.ts\";\n\n/**\n * A row of logos sliding sideways behind an edge fade: the homepage's trusted\n * line (\"#1 most awarded\" and the partner marks) and the award strip under\n * Proven. Drawn in the foundation Figma file as Logo marquee.\n *\n * The logos are the page's: slot them as they are (an <img> with its width\n * and height, an icon, a label). To loop without a seam the row has to be\n * longer than the window, so this element clones the slotted set into its\n * own shadow root as many times as the width needs and moves the whole track\n * by one copy -- the jump back is then exactly one repeat, and invisible. The\n * copies are aria-hidden and inert: a screen reader reads the set once.\n *\n * It moves on its own for longer than five seconds, so it has a pause button\n * (WCAG 2.2.2): holding it on hover or focus was not enough, because the\n * logos are usually images and nothing in the row takes focus. The button\n * sets `paused`, which a page can also set. The pointer or focus on the row\n * still holds it. Under prefers-reduced-motion it never moves -- the set\n * wraps in place instead, so nothing is hidden behind the fade -- and the\n * button goes with the motion.\n */\n@defineElement(\"bd-logo-marquee\")\nexport class LogoMarquee extends LitElement {\n @property({ type: String })\n label = \"\";\n // seconds for one copy to pass: 35 for the partners and the awards alike\n @property({ type: Number })\n duration = 35;\n // a step on the spacing scale, between two logos\n @property({ type: String })\n gap = \"48\";\n @property({ type: Boolean, reflect: true })\n paused = false;\n @property({ type: String, attribute: \"pause-label\" })\n pauseLabel = \"Pause the moving logos\";\n @property({ type: String, attribute: \"play-label\" })\n playLabel = \"Play the moving logos\";\n // copies of the set after the original; at least one, or there is no loop\n @state()\n _copies = 1;\n\n _resize: ResizeObserver;\n _frame = 0;\n\n static styles = [ensembleCSS, logoMarqueeCSS];\n\n /* A resize is measured on the next frame, not inside the observer's\n delivery. A new copy count re-renders the track, and in WebKit that\n resizes a box this observer watches while the delivery is still running:\n Safari reported \"ResizeObserver loop completed with undelivered\n notifications\" on every homepage load. Measured a frame later, the new\n size is an ordinary delivery of its own. */\n constructor() {\n super();\n this._resize = new ResizeObserver(() => {\n cancelAnimationFrame(this._frame);\n this._frame = requestAnimationFrame(() => this._measure());\n });\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (this.hasUpdated) this._observe();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._resize.disconnect();\n cancelAnimationFrame(this._frame);\n }\n\n firstUpdated() {\n this._observe();\n }\n\n _observe() {\n this._resize.observe(this.renderRoot.querySelector(\".viewport\")!);\n this._resize.observe(this.renderRoot.querySelector(\".group\")!);\n }\n\n /* One copy must cover the window on its own while the original slides out,\n so a set narrower than the window takes more than one. */\n _measure() {\n const viewport = this.renderRoot.querySelector<HTMLElement>(\".viewport\");\n const group = this.renderRoot.querySelector<HTMLElement>(\".group\");\n if (!viewport || !group || !group.offsetWidth) return;\n const copies = Math.max(1, Math.ceil(viewport.offsetWidth / group.offsetWidth));\n if (copies !== this._copies) this._copies = copies;\n }\n\n _onSlotChange() {\n this._fillCopies();\n this._measure();\n }\n\n _fillCopies() {\n const slot = this.renderRoot.querySelector(\"slot\");\n if (!slot) return;\n const items = slot.assignedElements({ flatten: true });\n for (const copy of this.renderRoot.querySelectorAll(\".copy\")) {\n copy.replaceChildren(...items.map(item => item.cloneNode(true)));\n }\n }\n\n updated(changed: PropertyValues<this>) {\n if (changed.has(\"_copies\")) this._fillCopies();\n }\n\n _toggle() {\n this.paused = !this.paused;\n }\n\n render() {\n const copies = Array.from({ length: this._copies });\n return html`\n <section\n class=\"bd-ensemble root\"\n aria-label=\"${this.label}\"\n style=\"--bd-logo-marquee-gap: ${spacing(this.gap) || \"var(--spacing-48)\"}; --bd-logo-marquee-duration: ${this.duration}s; --bd-logo-marquee-copies: ${this._copies + 1};\"\n >\n <div class=\"viewport\">\n <div class=\"track\">\n <div class=\"group\"><slot @slotchange=${this._onSlotChange}></slot></div>\n ${copies.map(() => html`<div class=\"group copy\" aria-hidden=\"true\" inert></div>`)}\n </div>\n </div>\n <bd-button\n class=\"toggle\"\n variant=\"ghost\"\n size=\"sm\"\n icon-only\n label=\"${this.paused ? this.playLabel : this.pauseLabel}\"\n @click=${this._toggle}\n >${this.paused\n ? html`<bd-play-icon size=\"sm\"></bd-play-icon>`\n : html`<bd-pause-icon size=\"sm\"></bd-pause-icon>`}</bd-button>\n </section>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-logo-marquee\": LogoMarquee;\n }\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"logo-marquee.js","names":["_decorate","__decorate","LogoMarquee","LitElement","ensembleCSS","logoMarqueeCSS","viewport","group","copies","slot","items","copy","item","changed","spacing","property","state","defineElement"],"sources":["../../../../src/components/logo-marquee/logo-marquee.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues } 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/button/button.ts\";\nimport \"#components/icons/pause.ts\";\nimport \"#components/icons/play.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport { spacing } from \"#shared/token-scales.ts\";\nimport { logoMarqueeCSS } from \"./logo-marquee.css.ts\";\n\n/**\n * A row of logos sliding sideways behind an edge fade: the homepage's trusted\n * line (\"#1 most awarded\" and the partner marks) and the award strip under\n * Proven. Drawn in the foundation Figma file as Logo marquee.\n *\n * The logos are the page's: slot them as they are (an <img> with its width\n * and height, an icon, a label). To loop without a seam the row has to be\n * longer than the window, so this element clones the slotted set into its\n * own shadow root as many times as the width needs and moves the whole track\n * by one copy -- the jump back is then exactly one repeat, and invisible. The\n * copies are aria-hidden and inert: a screen reader reads the set once.\n *\n * It moves on its own for longer than five seconds, so it has a pause button\n * (WCAG 2.2.2): holding it on hover or focus was not enough, because the\n * logos are usually images and nothing in the row takes focus. The button\n * sets `paused`, which a page can also set. The pointer or focus on the row\n * still holds it. Under prefers-reduced-motion it never moves -- the set\n * wraps in place instead, so nothing is hidden behind the fade -- and the\n * button goes with the motion.\n */\n@defineElement(\"bd-logo-marquee\")\nexport class LogoMarquee extends LitElement {\n @property({ type: String })\n label = \"\";\n // seconds for one copy to pass: 35 for the partners and the awards alike\n @property({ type: Number })\n duration = 35;\n // a step on the spacing scale, between two logos\n @property({ type: String })\n gap = \"48\";\n @property({ type: Boolean, reflect: true })\n paused = false;\n @property({ type: String, attribute: \"pause-label\" })\n pauseLabel = \"Pause the moving logos\";\n @property({ type: String, attribute: \"play-label\" })\n playLabel = \"Play the moving logos\";\n // copies of the set after the original; at least one, or there is no loop\n @state()\n _copies = 1;\n\n _resize: ResizeObserver;\n _frame = 0;\n\n static styles = [ensembleCSS, logoMarqueeCSS];\n\n /* A resize is measured on the next frame, not inside the observer's\n delivery. A new copy count re-renders the track, and in WebKit that\n resizes a box this observer watches while the delivery is still running:\n Safari reported \"ResizeObserver loop completed with undelivered\n notifications\" on every homepage load. Measured a frame later, the new\n size is an ordinary delivery of its own. */\n constructor() {\n super();\n this._resize = new ResizeObserver(() => {\n cancelAnimationFrame(this._frame);\n this._frame = requestAnimationFrame(() => this._measure());\n });\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (this.hasUpdated) this._observe();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._resize.disconnect();\n cancelAnimationFrame(this._frame);\n }\n\n firstUpdated() {\n this._observe();\n }\n\n _observe() {\n this._resize.observe(this.renderRoot.querySelector(\".viewport\")!);\n this._resize.observe(this.renderRoot.querySelector(\".group\")!);\n }\n\n /* One copy must cover the window on its own while the original slides out,\n so a set narrower than the window takes more than one. */\n _measure() {\n const viewport = this.renderRoot.querySelector<HTMLElement>(\".viewport\");\n const group = this.renderRoot.querySelector<HTMLElement>(\".group\");\n if (!viewport || !group || !group.offsetWidth) return;\n const copies = Math.max(1, Math.ceil(viewport.offsetWidth / group.offsetWidth));\n if (copies !== this._copies) this._copies = copies;\n }\n\n _onSlotChange() {\n this._fillCopies();\n this._measure();\n }\n\n _fillCopies() {\n const slot = this.renderRoot.querySelector(\"slot\");\n if (!slot) return;\n const items = slot.assignedElements({ flatten: true });\n for (const copy of this.renderRoot.querySelectorAll(\".copy\")) {\n copy.replaceChildren(...items.map(item => item.cloneNode(true)));\n }\n }\n\n updated(changed: PropertyValues<this>) {\n if (changed.has(\"_copies\")) this._fillCopies();\n }\n\n _toggle() {\n this.paused = !this.paused;\n }\n\n render() {\n const copies = Array.from({ length: this._copies });\n return html`\n <section\n class=\"bd-ensemble root\"\n aria-label=\"${this.label}\"\n style=\"--bd-logo-marquee-gap: ${spacing(this.gap) || \"var(--spacing-48)\"}; --bd-logo-marquee-duration: ${this.duration}s; --bd-logo-marquee-copies: ${this._copies + 1};\"\n >\n <div class=\"viewport\">\n <div class=\"track\">\n <div class=\"group\"><slot @slotchange=${this._onSlotChange}></slot></div>\n ${copies.map(() => html`<div class=\"group copy\" aria-hidden=\"true\" inert></div>`)}\n </div>\n </div>\n <bd-button\n class=\"toggle\"\n appearance=\"ghost\"\n size=\"sm\"\n @click=${this._toggle}\n >${this.paused\n ? html`<bd-icon name=\"play\" size=\"sm\" label=\"${this.playLabel}\"></bd-icon>`\n : html`<bd-icon name=\"pause\" size=\"sm\" label=\"${this.pauseLabel}\"></bd-icon>`}</bd-button>\n </section>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-logo-marquee\": LogoMarquee;\n }\n}\n"],"mappings":"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"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * bd-meta: one item of a byline row -- csg_blog's meta line, frame 296:457
3
+ * node 296:472 (69:847 at 14px). Every item is the body-small role in the
4
+ * primary ink, 12px below lg, and the separator between two is a 4px dot
5
+ * in the same ink, not a "·": a glyph changes shape with the face and the
6
+ * platform, and Figma draws an ellipse.
7
+ */
8
+ export declare const metaCSS: import("lit").CSSResult;
@@ -0,0 +1,2 @@
1
+ import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{display:inline}.meta{font-family:var(--typography-body-small-fontFamily);font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);color:var(--color-text-primary)}:host([type=author]) .meta{font-weight:var(--typography-fontWeight-medium)}:host([type=separator]){vertical-align:middle;align-self:center;align-items:center;display:inline-flex}.dot{width:var(--dimension-4);height:var(--dimension-4);border-radius:var(--radius-full);color:var(--color-text-primary);background:currentColor;display:block}@media (width<992px){.meta{font-size:var(--typography-body-xsmall-fontSize)}}`;export{t as metaCSS};
2
+ //# sourceMappingURL=meta.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.css.js","names":["metaCSS"],"sources":["../../../../src/components/meta/meta.css.ts"],"sourcesContent":["import { css, unsafeCSS } from 'lit';\nimport { below } from '#shared/token-scales.ts';\n\n/**\n * bd-meta: one item of a byline row -- csg_blog's meta line, frame 296:457\n * node 296:472 (69:847 at 14px). Every item is the body-small role in the\n * primary ink, 12px below lg, and the separator between two is a 4px dot\n * in the same ink, not a \"·\": a glyph changes shape with the face and the\n * platform, and Figma draws an ellipse.\n */\nexport const metaCSS = css`\n :host {\n display: inline;\n }\n\n .meta {\n font-family: var(--typography-body-small-fontFamily);\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n color: var(--color-text-primary);\n }\n\n /* Not drawn in Figma: an author's name keeps the weight it had. */\n :host([type='author']) .meta {\n /* no role: the weight that sets a name apart in a byline -- a modifier\n weight on the body-small line, not a text-content type */\n font-weight: var(--typography-fontWeight-medium);\n }\n\n /* A dot in a sentence, so it keeps its size when the reader's text grows\n no more than the glyph it replaces did: 4px, Figma's ellipse. Its ink is\n the line's, through currentColor. */\n :host([type='separator']) {\n display: inline-flex;\n align-items: center;\n align-self: center;\n vertical-align: middle;\n }\n\n .dot {\n display: block;\n width: var(--dimension-4);\n height: var(--dimension-4);\n border-radius: var(--radius-full);\n background: currentColor;\n color: var(--color-text-primary);\n }\n\n /* 12px below lg, as the 440 frame draws it (296:473); the leading is the\n role's own ratio. */\n @media ${unsafeCSS(below('lg'))} {\n .meta {\n font-size: var(--typography-body-xsmall-fontSize);\n }\n }\n`;\n"],"mappings":"A,4DAUA,IAAaA,EAAU,CAAG,kuB"}
@@ -0,0 +1,37 @@
1
+ import { LitElement, type PropertyValues } from "lit";
2
+ import "../../tokens/tokens.js";
3
+ declare const TYPES: readonly ["author", "date", "reading-time", "separator"];
4
+ type MetaType = typeof TYPES[number];
5
+ /**
6
+ * One item of a byline row: an author, a date, a reading time, or the
7
+ * separator between two of them.
8
+ *
9
+ * <bd-meta type="date" datetime="2026-06-17">17 June 2026</bd-meta>
10
+ * <bd-meta type="separator"></bd-meta>
11
+ * <bd-meta type="reading-time">7 min read</bd-meta>
12
+ *
13
+ * The words are the page's. A date is a <time>, its `datetime` the machine
14
+ * reading; an "Updated" date is a date whose words say so. The separator
15
+ * holds no words: it draws a 4px dot, hidden from a screen reader, which
16
+ * hears the items one after another.
17
+ *
18
+ * bd-blog-meta until the blog folded into the package's components
19
+ * (DEX-29414). Its separator drew a "·" in the muted ink, and its date and
20
+ * reading time were muted; csg_blog draws the whole line in the primary
21
+ * ink, the separator an ellipse.
22
+ */
23
+ export declare class BdMeta extends LitElement {
24
+ static styles: import("lit").CSSResult[];
25
+ /** What the item is: author, date, reading-time or separator. Anything else is author. */
26
+ type: MetaType;
27
+ /** The machine-readable date of a `date`, for <time datetime>. */
28
+ datetime: string;
29
+ willUpdate(changed: PropertyValues<this>): void;
30
+ render(): import("lit-html").TemplateResult<1>;
31
+ }
32
+ declare global {
33
+ interface HTMLElementTagNameMap {
34
+ 'bd-meta': BdMeta;
35
+ }
36
+ }
37
+ export {};
@@ -0,0 +1,2 @@
1
+ import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{isOneOf as t}from"../shared/prop-vocabulary.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{metaCSS as r}from"./meta.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c=[`author`,`date`,`reading-time`,`separator`],l=class extends i{constructor(...e){super(...e),this.type=`author`,this.datetime=``}static{this.styles=[r]}willUpdate(e){e.has(`type`)&&!t(c,this.type)&&(this.type=`author`)}render(){return this.type===`separator`?a`<span class="dot" aria-hidden="true"></span>`:this.type===`date`?a`<time class="meta" datetime=${this.datetime||o}><slot></slot></time>`:a`<span class="meta"><slot></slot></span>`}};n([s({type:String,attribute:`type`,reflect:!0})],l.prototype,`type`,void 0),n([s({type:String,attribute:`datetime`})],l.prototype,`datetime`,void 0),l=n([e(`bd-meta`)],l);export{l as BdMeta};
2
+ //# sourceMappingURL=meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.js","names":["_decorate","__decorate","TYPES","BdMeta","LitElement","_args","metaCSS","changed","isOneOf","nothing","property","defineElement"],"sources":["../../../../src/components/meta/meta.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { defineElement } from '#shared/define-element.ts';\nimport { isOneOf } from '#shared/prop-vocabulary.ts';\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport '#tokens/tokens.ts';\nimport { metaCSS } from './meta.css.ts';\n\nconst TYPES = ['author', 'date', 'reading-time', 'separator'] as const;\ntype MetaType = typeof TYPES[number];\n\n/**\n * One item of a byline row: an author, a date, a reading time, or the\n * separator between two of them.\n *\n * <bd-meta type=\"date\" datetime=\"2026-06-17\">17 June 2026</bd-meta>\n * <bd-meta type=\"separator\"></bd-meta>\n * <bd-meta type=\"reading-time\">7 min read</bd-meta>\n *\n * The words are the page's. A date is a <time>, its `datetime` the machine\n * reading; an \"Updated\" date is a date whose words say so. The separator\n * holds no words: it draws a 4px dot, hidden from a screen reader, which\n * hears the items one after another.\n *\n * bd-blog-meta until the blog folded into the package's components\n * (DEX-29414). Its separator drew a \"·\" in the muted ink, and its date and\n * reading time were muted; csg_blog draws the whole line in the primary\n * ink, the separator an ellipse.\n */\n@defineElement('bd-meta')\nexport class BdMeta extends LitElement {\n static styles = [metaCSS];\n\n /** What the item is: author, date, reading-time or separator. Anything else is author. */\n @property({ type: String, attribute: 'type', reflect: true })\n type: MetaType = 'author';\n\n /** The machine-readable date of a `date`, for <time datetime>. */\n @property({ type: String, attribute: 'datetime' })\n datetime = '';\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has('type') && !isOneOf(TYPES, this.type)) this.type = 'author';\n }\n\n render() {\n if (this.type === 'separator') return html`<span class=\"dot\" aria-hidden=\"true\"></span>`;\n if (this.type === 'date') return html`<time class=\"meta\" datetime=${this.datetime || nothing}><slot></slot></time>`;\n return html`<span class=\"meta\"><slot></slot></span>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-meta': BdMeta;\n }\n}\n"],"mappings":"A,yWAQA,IAAME,EAAQ,CAAC,SAAU,OAAQ,eAAgB,WAAW,EAsB/CC,EAAN,cAAqBC,CAAW,C,8BAKpB,KAAA,KAAA,SAIN,KAAA,SAAA,E,QARK,KAAA,OAAA,CAACE,CAAO,C,CAUxB,WAAW,EAA+B,CACpCC,EAAQ,IAAI,MAAM,GAAK,CAACC,EAAQN,EAAO,KAAK,IAAI,IAAG,KAAK,KAAO,SACrE,CAEA,QAAS,CAGP,OAFI,KAAK,OAAS,YAAoB,CAAI,+CACtC,KAAK,OAAS,OAAe,CAAI,+BAA+B,KAAK,UAAYO,EAAQ,uBACtF,CAAI,yCACb,CACF,EAhBGT,EAAA,CAAAU,EAAS,CAAE,KAAM,OAAQ,UAAW,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAP,EAAA,UAAA,OAAA,IAAA,EAAA,EAI3DH,EAAA,CAAAU,EAAS,CAAE,KAAM,OAAQ,UAAW,UAAW,CAAC,CAAA,EAAAP,EAAA,UAAA,WAAA,IAAA,EAAA,EATlD,EAAAH,EAAA,CAAAW,EAAc,SAAS,CAAA,EAAAR,CAAA,E"}
@@ -1,6 +1,9 @@
1
1
  import type { PropertyValues } from "lit";
2
2
  import "../../tokens/tokens.js";
3
3
  import { BdHero as MotionArtElement } from "../../vendor/motion-art/motion-art-element.js";
4
+ /** The generated element's palettes: the ground and ink it paints its own substrate in. */
5
+ declare const BACKGROUNDS: readonly ["solid", "brand", "night", "paper"];
6
+ type Background = typeof BACKGROUNDS[number];
4
7
  /**
5
8
  * The homepage's animated illustrations, one canvas each, square:
6
9
  * brand-surface the B on a glass sphere of network (bd-hero, media slot)
@@ -13,22 +16,55 @@ import { BdHero as MotionArtElement } from "../../vendor/motion-art/motion-art-e
13
16
  * this module imports it as MotionArtElement and registers it under the
14
17
  * package's own name, because bd-hero is the homepage band.
15
18
  *
16
- * Three things differ from the generated element:
19
+ * Five things differ from the generated element:
17
20
  * - no substrate: it draws on a transparent canvas, so the ground is the
18
21
  * component's own --color-surface-brand and a partner brand shows through;
19
22
  * - the brand tones' ground colour is that token too, where the generated
20
23
  * element paints its own blue -- see willUpdate();
21
- * - the pill and badge type is the foundation's sans, read from the token.
24
+ * - the pill and badge type is the foundation's sans, read from the token;
25
+ * - its palette is `background` (N5: a ground is a `background` enum), which
26
+ * this element hands to the generated element's `tone`. `tone` is internal
27
+ * here, so a `tone` written on the element is not observed. Unset, the
28
+ * generated element picks one on a light page, and on a dark page -- a
29
+ * dark color-scheme where the art sits -- the art takes `night`;
30
+ * - geo-core's ring text is the element's own text, not a `label` attribute
31
+ * (ADR 0003), which this element hands to the generated element's `label`.
32
+ *
33
+ * The pills' and badges' `labels` and `badges` stay attributes: the
34
+ * generated element splits them on `|` and pins each to the shape it
35
+ * animates, as bd-stat-highlight's rolled value is one.
22
36
  *
23
37
  * It draws only while on screen, holds a still frame under
24
38
  * prefers-reduced-motion, and stops on `paused`. It draws no control of its
25
39
  * own, and the hero and the brand bento card that hold it add none.
26
40
  */
27
41
  export declare class MotionArt extends MotionArtElement {
42
+ /**
43
+ * The palette the illustration paints its own substrate in: solid, brand,
44
+ * night or paper. Unset, the generated element picks one -- solid for
45
+ * brand-surface, brand for the others. In this package the substrate is
46
+ * off, so it shows where the art paints with its ground: the caption and
47
+ * badge type, and the faces the canvas hides.
48
+ */
49
+ background: Background | "";
50
+ tone: string;
51
+ label: string;
28
52
  _generatedGround: string | undefined;
29
53
  _sized?: Promise<void>;
30
54
  _resolveSized?: () => void;
55
+ _probe?: HTMLSpanElement;
31
56
  constructor();
57
+ /**
58
+ * A colour token as the art sees it, resolved: the computed colour of a
59
+ * probe in its own shadow root, which inherits the scheme and the brand
60
+ * where the art sits. A canvas takes no var(), and a role paired for dark
61
+ * reads as light-dark(...) text, which a canvas cannot take either.
62
+ */
63
+ _resolve(token: string): string;
64
+ /** Whether the art sits in a dark scheme: its page's ground, resolved here, darker than its ink. */
65
+ _isDark(): boolean;
66
+ /** The element's own words, as one line, for the ring; none leaves it unset. */
67
+ _readLabel(): void;
32
68
  connectedCallback(): void;
33
69
  disconnectedCallback(): void;
34
70
  willUpdate(changed: PropertyValues<this>): void;
@@ -40,3 +76,4 @@ declare global {
40
76
  "bd-motion-art": MotionArt;
41
77
  }
42
78
  }
79
+ export {};