@repobit/dex-system-design 3.1.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1048) hide show
  1. package/CHANGELOG.md +1074 -0
  2. package/README.md +31 -6
  3. package/dist/src/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
  4. package/dist/src/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
  5. package/dist/src/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
  6. package/dist/src/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
  7. package/dist/src/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
  8. package/dist/src/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
  9. package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
  10. package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
  11. package/dist/src/components/abstract/abstract.css.d.ts +7 -0
  12. package/dist/src/components/abstract/abstract.css.js +2 -0
  13. package/dist/src/components/abstract/abstract.css.js.map +1 -0
  14. package/dist/src/components/abstract/abstract.d.ts +31 -0
  15. package/dist/src/components/abstract/abstract.js +2 -0
  16. package/dist/src/components/abstract/abstract.js.map +1 -0
  17. package/dist/src/components/accordion/accordion-item.d.ts +93 -0
  18. package/dist/src/components/accordion/accordion-item.js +25 -0
  19. package/dist/src/components/accordion/accordion-item.js.map +1 -0
  20. package/dist/src/components/accordion/accordion-keyboard.d.ts +5 -5
  21. package/dist/src/components/accordion/accordion-keyboard.js +1 -1
  22. package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
  23. package/dist/src/components/accordion/accordion.css.d.ts +2 -2
  24. package/dist/src/components/accordion/accordion.css.js +1 -1
  25. package/dist/src/components/accordion/accordion.css.js.map +1 -1
  26. package/dist/src/components/accordion/accordion.d.ts +66 -31
  27. package/dist/src/components/accordion/accordion.js +8 -66
  28. package/dist/src/components/accordion/accordion.js.map +1 -1
  29. package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js +2 -0
  30. package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js.map +1 -0
  31. package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -1
  32. package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
  33. package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +38 -21
  34. package/dist/src/components/agent-endpoints/agent-endpoints.js +22 -41
  35. package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
  36. package/dist/src/components/anchor-nav/anchor-nav-item.css.d.ts +1 -0
  37. package/dist/src/components/anchor-nav/anchor-nav-item.css.js +2 -0
  38. package/dist/src/components/anchor-nav/anchor-nav-item.css.js.map +1 -0
  39. package/dist/src/components/anchor-nav/anchor-nav-item.d.ts +38 -0
  40. package/dist/src/components/anchor-nav/anchor-nav-item.js +2 -0
  41. package/dist/src/components/anchor-nav/anchor-nav-item.js.map +1 -0
  42. package/dist/src/components/anchor-nav/anchor-nav.css.js +2 -0
  43. package/dist/src/components/anchor-nav/anchor-nav.css.js.map +1 -0
  44. package/dist/src/components/{anchor → anchor-nav}/anchor-nav.d.ts +41 -23
  45. package/dist/src/components/anchor-nav/anchor-nav.js +43 -0
  46. package/dist/src/components/anchor-nav/anchor-nav.js.map +1 -0
  47. package/dist/src/components/annotation/annotation.css.js +1 -1
  48. package/dist/src/components/annotation/annotation.css.js.map +1 -1
  49. package/dist/src/components/annotation/annotation.js +2 -2
  50. package/dist/src/components/annotation/annotation.js.map +1 -1
  51. package/dist/src/components/article/article.css.d.ts +30 -0
  52. package/dist/src/components/article/article.css.js +2 -0
  53. package/dist/src/components/article/article.css.js.map +1 -0
  54. package/dist/src/components/article/article.d.ts +135 -0
  55. package/dist/src/components/article/article.js +39 -0
  56. package/dist/src/components/article/article.js.map +1 -0
  57. package/dist/src/components/audience-card/audience-card.css.js +1 -1
  58. package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
  59. package/dist/src/components/audience-card/audience-card.d.ts +30 -15
  60. package/dist/src/components/audience-card/audience-card.js +9 -11
  61. package/dist/src/components/audience-card/audience-card.js.map +1 -1
  62. package/dist/src/components/authors/authors.css.d.ts +7 -0
  63. package/dist/src/components/authors/authors.css.js +2 -0
  64. package/dist/src/components/authors/authors.css.js.map +1 -0
  65. package/dist/src/components/authors/authors.d.ts +29 -0
  66. package/dist/src/components/authors/authors.js +7 -0
  67. package/dist/src/components/authors/authors.js.map +1 -0
  68. package/dist/src/components/avatar/avatar.js +6 -6
  69. package/dist/src/components/avatar/avatar.js.map +1 -1
  70. package/dist/src/components/awards/award-marks.css.js +2 -0
  71. package/dist/src/components/awards/award-marks.css.js.map +1 -0
  72. package/dist/src/components/awards/award.css.js +2 -0
  73. package/dist/src/components/awards/award.css.js.map +1 -0
  74. package/dist/src/components/awards/award.d.ts +65 -0
  75. package/dist/src/components/awards/award.js +11 -0
  76. package/dist/src/components/awards/award.js.map +1 -0
  77. package/dist/src/components/awards/awards.css.d.ts +2 -1
  78. package/dist/src/components/awards/awards.css.js +1 -1
  79. package/dist/src/components/awards/awards.css.js.map +1 -1
  80. package/dist/src/components/awards/awards.d.ts +123 -71
  81. package/dist/src/components/awards/awards.js +46 -57
  82. package/dist/src/components/awards/awards.js.map +1 -1
  83. package/dist/src/components/awards/scroll-slides.d.ts +9 -8
  84. package/dist/src/components/awards/scroll-slides.js.map +1 -1
  85. package/dist/src/components/back/back.d.ts +12 -7
  86. package/dist/src/components/back/back.js +6 -6
  87. package/dist/src/components/back/back.js.map +1 -1
  88. package/dist/src/components/badge/badge.css.js +1 -1
  89. package/dist/src/components/badge/badge.css.js.map +1 -1
  90. package/dist/src/components/badge/badge.d.ts +11 -11
  91. package/dist/src/components/badge/badge.js +2 -2
  92. package/dist/src/components/badge/badge.js.map +1 -1
  93. package/dist/src/components/bar-chart/bar-chart.css.js +2 -0
  94. package/dist/src/components/bar-chart/bar-chart.css.js.map +1 -0
  95. package/dist/src/components/bar-chart/bar-chart.d.ts +147 -0
  96. package/dist/src/components/bar-chart/bar-chart.js +42 -0
  97. package/dist/src/components/bar-chart/bar-chart.js.map +1 -0
  98. package/dist/src/components/bento-grid/bento-grid.css.js +2 -2
  99. package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
  100. package/dist/src/components/bento-grid/bento-grid.d.ts +21 -9
  101. package/dist/src/components/bento-grid/bento-grid.js +10 -26
  102. package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
  103. package/dist/src/components/bento-grid/bento-item.css.js +1 -1
  104. package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
  105. package/dist/src/components/bento-grid/bento-item.d.ts +34 -13
  106. package/dist/src/components/bento-grid/bento-item.js +9 -26
  107. package/dist/src/components/bento-grid/bento-item.js.map +1 -1
  108. package/dist/src/components/blockquote/blockquote.css.js +1 -1
  109. package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
  110. package/dist/src/components/blockquote/blockquote.d.ts +27 -2
  111. package/dist/src/components/blockquote/blockquote.js +1 -1
  112. package/dist/src/components/blockquote/blockquote.js.map +1 -1
  113. package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -4
  114. package/dist/src/components/breadcrumb/breadcrumb.js +5 -5
  115. package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
  116. package/dist/src/components/button/button.css.js +1 -1
  117. package/dist/src/components/button/button.css.js.map +1 -1
  118. package/dist/src/components/button/button.d.ts +87 -96
  119. package/dist/src/components/button/button.js +20 -33
  120. package/dist/src/components/button/button.js.map +1 -1
  121. package/dist/src/components/{alert/alert.css.d.ts → callout/callout.css.d.ts} +9 -9
  122. package/dist/src/components/callout/callout.css.js +2 -0
  123. package/dist/src/components/callout/callout.css.js.map +1 -0
  124. package/dist/src/components/callout/callout.d.ts +56 -0
  125. package/dist/src/components/callout/callout.js +28 -0
  126. package/dist/src/components/callout/callout.js.map +1 -0
  127. package/dist/src/components/caption/caption.js +2 -2
  128. package/dist/src/components/caption/caption.js.map +1 -1
  129. package/dist/src/components/card/card-grid.css.js +2 -0
  130. package/dist/src/components/card/card-grid.css.js.map +1 -0
  131. package/dist/src/components/card/card-grid.d.ts +63 -0
  132. package/dist/src/components/card/card-grid.js +10 -0
  133. package/dist/src/components/card/card-grid.js.map +1 -0
  134. package/dist/src/components/card/card.css.js +2 -0
  135. package/dist/src/components/card/card.css.js.map +1 -0
  136. package/dist/src/components/card/card.d.ts +86 -0
  137. package/dist/src/components/card/card.js +15 -0
  138. package/dist/src/components/card/card.js.map +1 -0
  139. package/dist/src/components/carousel/carousel.css.js +1 -1
  140. package/dist/src/components/carousel/carousel.css.js.map +1 -1
  141. package/dist/src/components/carousel/carousel.d.ts +64 -37
  142. package/dist/src/components/carousel/carousel.js +24 -32
  143. package/dist/src/components/carousel/carousel.js.map +1 -1
  144. package/dist/src/components/checkbox/checkbox.d.ts +15 -1
  145. package/dist/src/components/checkbox/checkbox.js +6 -5
  146. package/dist/src/components/checkbox/checkbox.js.map +1 -1
  147. package/dist/src/components/code/code.css.d.ts +15 -0
  148. package/dist/src/components/code/code.css.js +1 -1
  149. package/dist/src/components/code/code.css.js.map +1 -1
  150. package/dist/src/components/code/code.d.ts +100 -4
  151. package/dist/src/components/code/code.js +17 -3
  152. package/dist/src/components/code/code.js.map +1 -1
  153. package/dist/src/components/code/prism-page.d.ts +2 -0
  154. package/dist/src/components/code/prism-page.js +2 -0
  155. package/dist/src/components/code/prism-page.js.map +1 -0
  156. package/dist/src/components/code/prism.d.ts +10 -0
  157. package/dist/src/components/code/prism.js +2 -0
  158. package/dist/src/components/code/prism.js.map +1 -0
  159. package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -1
  160. package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
  161. package/dist/src/components/comparison-panel/comparison-panel.d.ts +36 -15
  162. package/dist/src/components/comparison-panel/comparison-panel.js +25 -46
  163. package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
  164. package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +25 -0
  165. package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -1
  166. package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
  167. package/dist/src/components/compatibility-table/compatibility-table.d.ts +66 -42
  168. package/dist/src/components/compatibility-table/compatibility-table.js +5 -64
  169. package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
  170. package/dist/src/components/cta-banner/cta-banner.css.js +1 -1
  171. package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
  172. package/dist/src/components/cta-banner/cta-banner.d.ts +17 -8
  173. package/dist/src/components/cta-banner/cta-banner.js +8 -28
  174. package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
  175. package/dist/src/components/dialog/dialog.css.js +2 -0
  176. package/dist/src/components/dialog/dialog.css.js.map +1 -0
  177. package/dist/src/components/dialog/dialog.d.ts +76 -0
  178. package/dist/src/components/dialog/dialog.js +32 -0
  179. package/dist/src/components/dialog/dialog.js.map +1 -0
  180. package/dist/src/components/display/display.css.js +1 -1
  181. package/dist/src/components/display/display.css.js.map +1 -1
  182. package/dist/src/components/display/display.d.ts +30 -6
  183. package/dist/src/components/display/display.js +7 -5
  184. package/dist/src/components/display/display.js.map +1 -1
  185. package/dist/src/components/divider/divider.css.d.ts +2 -2
  186. package/dist/src/components/divider/divider.css.js +1 -1
  187. package/dist/src/components/divider/divider.css.js.map +1 -1
  188. package/dist/src/components/divider/divider.d.ts +36 -0
  189. package/dist/src/components/divider/divider.js +21 -0
  190. package/dist/src/components/divider/divider.js.map +1 -0
  191. package/dist/src/components/fact/fact.css.d.ts +1 -0
  192. package/dist/src/components/fact/fact.css.js +2 -0
  193. package/dist/src/components/fact/fact.css.js.map +1 -0
  194. package/dist/src/components/fact/fact.d.ts +37 -0
  195. package/dist/src/components/fact/fact.js +2 -0
  196. package/dist/src/components/fact/fact.js.map +1 -0
  197. package/dist/src/components/feature-columns/feature-columns.css.d.ts +2 -0
  198. package/dist/src/components/feature-columns/feature-columns.css.js +2 -0
  199. package/dist/src/components/feature-columns/feature-columns.css.js.map +1 -0
  200. package/dist/src/components/feature-columns/feature-columns.d.ts +61 -0
  201. package/dist/src/components/feature-columns/feature-columns.js +11 -0
  202. package/dist/src/components/feature-columns/feature-columns.js.map +1 -0
  203. package/dist/src/components/features-tab/features-tab.css.js +1 -1
  204. package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
  205. package/dist/src/components/features-tab/features-tab.d.ts +21 -6
  206. package/dist/src/components/features-tab/features-tab.js +9 -21
  207. package/dist/src/components/features-tab/features-tab.js.map +1 -1
  208. package/dist/src/components/fieldset/fieldset.d.ts +16 -1
  209. package/dist/src/components/fieldset/fieldset.js +3 -3
  210. package/dist/src/components/fieldset/fieldset.js.map +1 -1
  211. package/dist/src/components/footer/footer-group.css.js +2 -0
  212. package/dist/src/components/footer/footer-group.css.js.map +1 -0
  213. package/dist/src/components/footer/footer-group.d.ts +28 -0
  214. package/dist/src/components/footer/footer-group.js +5 -0
  215. package/dist/src/components/footer/footer-group.js.map +1 -0
  216. package/dist/src/components/footer/footer-locale.js +1 -1
  217. package/dist/src/components/footer/footer-locale.js.map +1 -1
  218. package/dist/src/components/footer/footer-nav.css.js +2 -0
  219. package/dist/src/components/footer/footer-nav.css.js.map +1 -0
  220. package/dist/src/components/footer/{footer-nav-menu.d.ts → footer-nav.d.ts} +2 -1
  221. package/dist/src/components/footer/footer-nav.js +6 -0
  222. package/dist/src/components/footer/footer-nav.js.map +1 -0
  223. package/dist/src/components/footer/footer.css.js +1 -1
  224. package/dist/src/components/footer/footer.css.js.map +1 -1
  225. package/dist/src/components/footer/footer.d.ts +38 -10
  226. package/dist/src/components/footer/footer.js +71 -93
  227. package/dist/src/components/footer/footer.js.map +1 -1
  228. package/dist/src/components/grid/grid.js +7 -7
  229. package/dist/src/components/h/h.css.js +2 -0
  230. package/dist/src/components/h/h.css.js.map +1 -0
  231. package/dist/src/components/{heading/heading.d.ts → h/h.d.ts} +14 -0
  232. package/dist/src/components/h/h.js +7 -0
  233. package/dist/src/components/h/h.js.map +1 -0
  234. package/dist/src/components/hero/hero.css.js +1 -1
  235. package/dist/src/components/hero/hero.css.js.map +1 -1
  236. package/dist/src/components/hero/hero.d.ts +42 -24
  237. package/dist/src/components/hero/hero.js +15 -19
  238. package/dist/src/components/hero/hero.js.map +1 -1
  239. package/dist/src/components/highlight/highlight.css.js +1 -1
  240. package/dist/src/components/highlight/highlight.css.js.map +1 -1
  241. package/dist/src/components/highlight/highlight.d.ts +21 -12
  242. package/dist/src/components/highlight/highlight.js +1 -4
  243. package/dist/src/components/highlight/highlight.js.map +1 -1
  244. package/dist/src/components/hint/hint.css.d.ts +3 -0
  245. package/dist/src/components/{help-text/help-text.css.js → hint/hint.css.js} +2 -2
  246. package/dist/src/components/hint/hint.css.js.map +1 -0
  247. package/dist/src/components/hint/hint.d.ts +33 -0
  248. package/dist/src/components/hint/hint.js +4 -0
  249. package/dist/src/components/hint/hint.js.map +1 -0
  250. package/dist/src/components/icons/analysis.d.ts +1 -0
  251. package/dist/src/components/icons/analysis.js +6 -0
  252. package/dist/src/components/icons/analysis.js.map +1 -0
  253. package/dist/src/components/icons/arrow-down.d.ts +1 -0
  254. package/dist/src/components/icons/arrow-down.js +6 -0
  255. package/dist/src/components/icons/arrow-down.js.map +1 -0
  256. package/dist/src/components/icons/arrow-right.d.ts +1 -0
  257. package/dist/src/components/icons/arrow-right.js +6 -0
  258. package/dist/src/components/icons/arrow-right.js.map +1 -0
  259. package/dist/src/components/icons/arrow-up.d.ts +1 -0
  260. package/dist/src/components/icons/arrow-up.js +6 -0
  261. package/dist/src/components/icons/arrow-up.js.map +1 -0
  262. package/dist/src/components/icons/arrow.d.ts +1 -0
  263. package/dist/src/components/icons/arrow.js +6 -0
  264. package/dist/src/components/icons/arrow.js.map +1 -0
  265. package/dist/src/components/icons/brand-signature.d.ts +1 -0
  266. package/dist/src/components/icons/brand-signature.js +6 -0
  267. package/dist/src/components/icons/brand-signature.js.map +1 -0
  268. package/dist/src/components/icons/check.d.ts +1 -0
  269. package/dist/src/components/icons/check.js +6 -0
  270. package/dist/src/components/icons/check.js.map +1 -0
  271. package/dist/src/components/icons/circle-info.d.ts +1 -0
  272. package/dist/src/components/icons/circle-info.js +8 -0
  273. package/dist/src/components/icons/circle-info.js.map +1 -0
  274. package/dist/src/components/icons/clipboard.d.ts +1 -0
  275. package/dist/src/components/icons/clipboard.js +7 -0
  276. package/dist/src/components/icons/clipboard.js.map +1 -0
  277. package/dist/src/components/icons/close.d.ts +1 -0
  278. package/dist/src/components/icons/close.js +6 -0
  279. package/dist/src/components/icons/close.js.map +1 -0
  280. package/dist/src/components/icons/enterprise.d.ts +1 -0
  281. package/dist/src/components/icons/enterprise.js +6 -0
  282. package/dist/src/components/icons/enterprise.js.map +1 -0
  283. package/dist/src/components/icons/envelope.d.ts +1 -0
  284. package/dist/src/components/icons/envelope.js +7 -0
  285. package/dist/src/components/icons/envelope.js.map +1 -0
  286. package/dist/src/components/icons/family.d.ts +1 -0
  287. package/dist/src/components/icons/family.js +8 -0
  288. package/dist/src/components/icons/family.js.map +1 -0
  289. package/dist/src/components/icons/globe.d.ts +1 -0
  290. package/dist/src/components/icons/globe.js +6 -0
  291. package/dist/src/components/icons/globe.js.map +1 -0
  292. package/dist/src/components/icons/guide.d.ts +1 -0
  293. package/dist/src/components/icons/guide.js +6 -0
  294. package/dist/src/components/icons/guide.js.map +1 -0
  295. package/dist/src/components/icons/home.d.ts +1 -0
  296. package/dist/src/components/icons/home.js +6 -0
  297. package/dist/src/components/icons/home.js.map +1 -0
  298. package/dist/src/components/icons/icon.d.ts +60 -0
  299. package/dist/src/components/icons/icon.js +2 -0
  300. package/dist/src/components/icons/icon.js.map +1 -0
  301. package/dist/src/components/icons/icons.d.ts +43 -36
  302. package/dist/src/components/icons/icons.js +1 -1
  303. package/dist/src/components/icons/individual.d.ts +1 -0
  304. package/dist/src/components/icons/individual.js +6 -0
  305. package/dist/src/components/icons/individual.js.map +1 -0
  306. package/dist/src/components/icons/laurel.d.ts +1 -0
  307. package/dist/src/components/icons/laurel.js +13 -0
  308. package/dist/src/components/icons/laurel.js.map +1 -0
  309. package/dist/src/components/icons/machine-learning.d.ts +1 -0
  310. package/dist/src/components/icons/machine-learning.js +6 -0
  311. package/dist/src/components/icons/machine-learning.js.map +1 -0
  312. package/dist/src/components/icons/mark.d.ts +66 -0
  313. package/dist/src/components/icons/mark.js +2 -0
  314. package/dist/src/components/icons/mark.js.map +1 -0
  315. package/dist/src/components/icons/marks/ai.d.ts +1 -0
  316. package/dist/src/components/icons/marks/ai.js +6 -0
  317. package/dist/src/components/icons/marks/ai.js.map +1 -0
  318. package/dist/src/components/icons/marks/av-comparatives.d.ts +1 -0
  319. package/dist/src/components/icons/marks/av-comparatives.js +12 -0
  320. package/dist/src/components/icons/marks/av-comparatives.js.map +1 -0
  321. package/dist/src/components/icons/marks/best-brands.d.ts +1 -0
  322. package/dist/src/components/icons/marks/best-brands.js +12 -0
  323. package/dist/src/components/icons/marks/best-brands.js.map +1 -0
  324. package/dist/src/components/icons/marks/pc-mag-2024.d.ts +1 -0
  325. package/dist/src/components/icons/marks/pc-mag-2024.js +11 -0
  326. package/dist/src/components/icons/marks/pc-mag-2024.js.map +1 -0
  327. package/dist/src/components/icons/marks/pc-mag-business.d.ts +1 -0
  328. package/dist/src/components/icons/marks/pc-mag-business.js +11 -0
  329. package/dist/src/components/icons/marks/pc-mag-business.js.map +1 -0
  330. package/dist/src/components/icons/marks/pc-mag-readers.d.ts +1 -0
  331. package/dist/src/components/icons/marks/pc-mag-readers.js +11 -0
  332. package/dist/src/components/icons/marks/pc-mag-readers.js.map +1 -0
  333. package/dist/src/components/icons/marks/pc-mag.d.ts +1 -0
  334. package/dist/src/components/icons/marks/pc-mag.js +11 -0
  335. package/dist/src/components/icons/marks/pc-mag.js.map +1 -0
  336. package/dist/src/components/icons/marks/top-product.d.ts +1 -0
  337. package/dist/src/components/icons/marks/top-product.js +11 -0
  338. package/dist/src/components/icons/marks/top-product.js.map +1 -0
  339. package/dist/src/components/icons/marks.d.ts +29 -28
  340. package/dist/src/components/icons/marks.js +1 -1
  341. package/dist/src/components/icons/minus.d.ts +1 -0
  342. package/dist/src/components/icons/minus.js +6 -0
  343. package/dist/src/components/icons/minus.js.map +1 -0
  344. package/dist/src/components/icons/pause.d.ts +1 -0
  345. package/dist/src/components/icons/pause.js +7 -0
  346. package/dist/src/components/icons/pause.js.map +1 -0
  347. package/dist/src/components/icons/play.d.ts +1 -0
  348. package/dist/src/components/icons/play.js +6 -0
  349. package/dist/src/components/icons/play.js.map +1 -0
  350. package/dist/src/components/icons/plus.d.ts +1 -0
  351. package/dist/src/components/icons/plus.js +6 -0
  352. package/dist/src/components/icons/plus.js.map +1 -0
  353. package/dist/src/components/icons/quote.d.ts +1 -0
  354. package/dist/src/components/icons/quote.js +6 -0
  355. package/dist/src/components/icons/quote.js.map +1 -0
  356. package/dist/src/components/icons/registry.d.ts +122 -0
  357. package/dist/src/components/icons/registry.js +4 -0
  358. package/dist/src/components/icons/registry.js.map +1 -0
  359. package/dist/src/components/icons/small-business.d.ts +1 -0
  360. package/dist/src/components/icons/small-business.js +6 -0
  361. package/dist/src/components/icons/small-business.js.map +1 -0
  362. package/dist/src/components/{image/image.css.js → img/img.css.js} +1 -1
  363. package/dist/src/components/img/img.css.js.map +1 -0
  364. package/dist/src/components/{image/image.d.ts → img/img.d.ts} +2 -2
  365. package/dist/src/components/img/img.js +17 -0
  366. package/dist/src/components/img/img.js.map +1 -0
  367. package/dist/src/components/input/input.css.d.ts +7 -5
  368. package/dist/src/components/input/input.css.js +1 -1
  369. package/dist/src/components/input/input.css.js.map +1 -1
  370. package/dist/src/components/input/input.d.ts +34 -12
  371. package/dist/src/components/input/input.js +30 -29
  372. package/dist/src/components/input/input.js.map +1 -1
  373. package/dist/src/components/install-options/install-option.css.js +2 -0
  374. package/dist/src/components/install-options/install-option.css.js.map +1 -0
  375. package/dist/src/components/install-options/install-option.d.ts +57 -0
  376. package/dist/src/components/install-options/install-option.js +29 -0
  377. package/dist/src/components/install-options/install-option.js.map +1 -0
  378. package/dist/src/components/install-options/install-options.css.js +1 -1
  379. package/dist/src/components/install-options/install-options.css.js.map +1 -1
  380. package/dist/src/components/install-options/install-options.d.ts +42 -31
  381. package/dist/src/components/install-options/install-options.js +42 -85
  382. package/dist/src/components/install-options/install-options.js.map +1 -1
  383. package/dist/src/components/key-takeaways/key-takeaways.css.d.ts +9 -0
  384. package/dist/src/components/key-takeaways/key-takeaways.css.js +2 -0
  385. package/dist/src/components/key-takeaways/key-takeaways.css.js.map +1 -0
  386. package/dist/src/components/key-takeaways/key-takeaways.d.ts +35 -0
  387. package/dist/src/components/key-takeaways/key-takeaways.js +10 -0
  388. package/dist/src/components/key-takeaways/key-takeaways.js.map +1 -0
  389. package/dist/src/components/label/label.js +3 -3
  390. package/dist/src/components/label/label.js.map +1 -1
  391. package/dist/src/components/link/link.css.js +1 -1
  392. package/dist/src/components/link/link.css.js.map +1 -1
  393. package/dist/src/components/link/link.d.ts +25 -16
  394. package/dist/src/components/link/link.js +3 -3
  395. package/dist/src/components/link/link.js.map +1 -1
  396. package/dist/src/components/list/list-item/list-item.css.js +1 -1
  397. package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
  398. package/dist/src/components/list/list-item/list-item.d.ts +9 -7
  399. package/dist/src/components/list/list-item/list-item.js +3 -3
  400. package/dist/src/components/list/list-item/list-item.js.map +1 -1
  401. package/dist/src/components/list/list.d.ts +3 -2
  402. package/dist/src/components/list/list.js +2 -2
  403. package/dist/src/components/list/list.js.map +1 -1
  404. package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -1
  405. package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
  406. package/dist/src/components/logo-marquee/logo-marquee.d.ts +2 -2
  407. package/dist/src/components/logo-marquee/logo-marquee.js +6 -8
  408. package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
  409. package/dist/src/components/meta/meta.css.d.ts +8 -0
  410. package/dist/src/components/meta/meta.css.js +2 -0
  411. package/dist/src/components/meta/meta.css.js.map +1 -0
  412. package/dist/src/components/meta/meta.d.ts +37 -0
  413. package/dist/src/components/meta/meta.js +2 -0
  414. package/dist/src/components/meta/meta.js.map +1 -0
  415. package/dist/src/components/motion-art/motion-art.d.ts +39 -2
  416. package/dist/src/components/motion-art/motion-art.js +1 -1
  417. package/dist/src/components/motion-art/motion-art.js.map +1 -1
  418. package/dist/src/components/newsletter-signup/newsletter-signup.css.js +2 -0
  419. package/dist/src/components/newsletter-signup/newsletter-signup.css.js.map +1 -0
  420. package/dist/src/components/newsletter-signup/newsletter-signup.d.ts +97 -0
  421. package/dist/src/components/newsletter-signup/newsletter-signup.js +37 -0
  422. package/dist/src/components/newsletter-signup/newsletter-signup.js.map +1 -0
  423. package/dist/src/components/overview/overview.css.js +1 -1
  424. package/dist/src/components/overview/overview.css.js.map +1 -1
  425. package/dist/src/components/overview/overview.d.ts +23 -12
  426. package/dist/src/components/overview/overview.js +9 -24
  427. package/dist/src/components/overview/overview.js.map +1 -1
  428. package/dist/src/components/p/p.css.js +2 -0
  429. package/dist/src/components/p/p.css.js.map +1 -0
  430. package/dist/src/components/{paragraph/paragraph.d.ts → p/p.d.ts} +3 -5
  431. package/dist/src/components/p/p.js +6 -0
  432. package/dist/src/components/p/p.js.map +1 -0
  433. package/dist/src/components/page-switcher/page-switcher.css.js +1 -1
  434. package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
  435. package/dist/src/components/page-switcher/page-switcher.d.ts +28 -28
  436. package/dist/src/components/page-switcher/page-switcher.js +5 -13
  437. package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
  438. package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -1
  439. package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
  440. package/dist/src/components/pagination-dots/pagination-dots.d.ts +4 -2
  441. package/dist/src/components/pagination-dots/pagination-dots.js +1 -1
  442. package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
  443. package/dist/src/components/partner-banner/partner-banner.css.js +1 -1
  444. package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
  445. package/dist/src/components/partner-banner/partner-banner.d.ts +44 -21
  446. package/dist/src/components/partner-banner/partner-banner.js +11 -11
  447. package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
  448. package/dist/src/components/paste-button/paste-button.css.d.ts +10 -0
  449. package/dist/src/components/paste-button/paste-button.css.js +2 -0
  450. package/dist/src/components/paste-button/paste-button.css.js.map +1 -0
  451. package/dist/src/components/paste-button/paste-button.d.ts +68 -0
  452. package/dist/src/components/paste-button/paste-button.js +17 -0
  453. package/dist/src/components/paste-button/paste-button.js.map +1 -0
  454. package/dist/src/components/picture/picture.js +3 -3
  455. package/dist/src/components/picture/picture.js.map +1 -1
  456. package/dist/src/components/post-card/post-card.css.js +1 -1
  457. package/dist/src/components/post-card/post-card.css.js.map +1 -1
  458. package/dist/src/components/post-card/post-card.d.ts +65 -24
  459. package/dist/src/components/post-card/post-card.js +13 -9
  460. package/dist/src/components/post-card/post-card.js.map +1 -1
  461. package/dist/src/components/pricing-card/pricing-card.css.js +2 -0
  462. package/dist/src/components/pricing-card/pricing-card.css.js.map +1 -0
  463. package/dist/src/components/pricing-card/pricing-card.d.ts +80 -0
  464. package/dist/src/components/pricing-card/pricing-card.js +16 -0
  465. package/dist/src/components/pricing-card/pricing-card.js.map +1 -0
  466. package/dist/src/components/pricing-card/pricing-feature-group.css.js +2 -0
  467. package/dist/src/components/pricing-card/pricing-feature-group.css.js.map +1 -0
  468. package/dist/src/components/pricing-card/pricing-feature-group.d.ts +50 -0
  469. package/dist/src/components/pricing-card/pricing-feature-group.js +7 -0
  470. package/dist/src/components/pricing-card/pricing-feature-group.js.map +1 -0
  471. package/dist/src/components/pricing-card/pricing-feature.css.js +2 -0
  472. package/dist/src/components/pricing-card/pricing-feature.css.js.map +1 -0
  473. package/dist/src/components/pricing-card/pricing-feature.d.ts +64 -0
  474. package/dist/src/components/pricing-card/pricing-feature.js +19 -0
  475. package/dist/src/components/pricing-card/pricing-feature.js.map +1 -0
  476. package/dist/src/components/pricing-card/pricing-group.css.d.ts +3 -0
  477. package/dist/src/components/pricing-card/pricing-group.css.js +2 -0
  478. package/dist/src/components/pricing-card/pricing-group.css.js.map +1 -0
  479. package/dist/src/components/pricing-card/pricing-group.d.ts +48 -0
  480. package/dist/src/components/pricing-card/pricing-group.js +6 -0
  481. package/dist/src/components/pricing-card/pricing-group.js.map +1 -0
  482. package/dist/src/components/pricing-card/pricing-price.css.js +2 -0
  483. package/dist/src/components/pricing-card/pricing-price.css.js.map +1 -0
  484. package/dist/src/components/pricing-card/pricing-price.d.ts +56 -0
  485. package/dist/src/components/pricing-card/pricing-price.js +11 -0
  486. package/dist/src/components/pricing-card/pricing-price.js.map +1 -0
  487. package/dist/src/components/process-steps/process-step.css.js +2 -0
  488. package/dist/src/components/process-steps/process-step.css.js.map +1 -0
  489. package/dist/src/components/process-steps/process-step.d.ts +31 -0
  490. package/dist/src/components/process-steps/process-step.js +6 -0
  491. package/dist/src/components/process-steps/process-step.js.map +1 -0
  492. package/dist/src/components/process-steps/process-steps.css.js +1 -1
  493. package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
  494. package/dist/src/components/process-steps/process-steps.d.ts +36 -19
  495. package/dist/src/components/process-steps/process-steps.js +5 -26
  496. package/dist/src/components/process-steps/process-steps.js.map +1 -1
  497. package/dist/src/components/product-hero/product-hero.css.js +2 -0
  498. package/dist/src/components/product-hero/product-hero.css.js.map +1 -0
  499. package/dist/src/components/product-hero/product-hero.d.ts +71 -0
  500. package/dist/src/components/product-hero/product-hero.js +123 -0
  501. package/dist/src/components/product-hero/product-hero.js.map +1 -0
  502. package/dist/src/components/product-upsell/product-upsell.css.js +2 -0
  503. package/dist/src/components/product-upsell/product-upsell.css.js.map +1 -0
  504. package/dist/src/components/product-upsell/product-upsell.d.ts +49 -0
  505. package/dist/src/components/product-upsell/product-upsell.js +14 -0
  506. package/dist/src/components/product-upsell/product-upsell.js.map +1 -0
  507. package/dist/src/components/progress-bar/progress-bar.css.d.ts +3 -0
  508. package/dist/src/components/progress-bar/progress-bar.css.js +2 -0
  509. package/dist/src/components/progress-bar/progress-bar.css.js.map +1 -0
  510. package/dist/src/components/progress-bar/progress-bar.d.ts +27 -0
  511. package/dist/src/components/progress-bar/progress-bar.js +15 -0
  512. package/dist/src/components/progress-bar/progress-bar.js.map +1 -0
  513. package/dist/src/components/quick-answer/quick-answer.css.js +1 -1
  514. package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
  515. package/dist/src/components/quick-answer/quick-answer.d.ts +25 -12
  516. package/dist/src/components/quick-answer/quick-answer.js +13 -29
  517. package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
  518. package/dist/src/components/radio/radio-group.css.js +1 -1
  519. package/dist/src/components/radio/radio-group.css.js.map +1 -1
  520. package/dist/src/components/radio/radio-group.d.ts +9 -5
  521. package/dist/src/components/radio/radio-group.js +5 -5
  522. package/dist/src/components/radio/radio-group.js.map +1 -1
  523. package/dist/src/components/radio/radio.css.d.ts +2 -1
  524. package/dist/src/components/radio/radio.css.js.map +1 -1
  525. package/dist/src/components/radio/radio.d.ts +8 -2
  526. package/dist/src/components/radio/radio.js +6 -5
  527. package/dist/src/components/radio/radio.js.map +1 -1
  528. package/dist/src/components/related-articles/related-articles.css.js +2 -0
  529. package/dist/src/components/related-articles/related-articles.css.js.map +1 -0
  530. package/dist/src/components/related-articles/related-articles.d.ts +52 -0
  531. package/dist/src/components/related-articles/related-articles.js +9 -0
  532. package/dist/src/components/related-articles/related-articles.js.map +1 -0
  533. package/dist/src/components/report-promo/report-promo.css.js +2 -0
  534. package/dist/src/components/report-promo/report-promo.css.js.map +1 -0
  535. package/dist/src/components/report-promo/report-promo.d.ts +70 -0
  536. package/dist/src/components/report-promo/report-promo.js +19 -0
  537. package/dist/src/components/report-promo/report-promo.js.map +1 -0
  538. package/dist/src/components/review/review-grid.css.js +1 -1
  539. package/dist/src/components/review/review-grid.css.js.map +1 -1
  540. package/dist/src/components/review/review-grid.d.ts +27 -6
  541. package/dist/src/components/review/review-grid.js +7 -7
  542. package/dist/src/components/review/review-grid.js.map +1 -1
  543. package/dist/src/components/review/review.css.js +1 -1
  544. package/dist/src/components/review/review.css.js.map +1 -1
  545. package/dist/src/components/review/review.d.ts +24 -17
  546. package/dist/src/components/review/review.js +7 -11
  547. package/dist/src/components/review/review.js.map +1 -1
  548. package/dist/src/components/section/section.css.js +1 -1
  549. package/dist/src/components/section/section.css.js.map +1 -1
  550. package/dist/src/components/section/section.d.ts +8 -6
  551. package/dist/src/components/section/section.js +1 -1
  552. package/dist/src/components/section/section.js.map +1 -1
  553. package/dist/src/components/section-header/section-header.css.js +1 -1
  554. package/dist/src/components/section-header/section-header.css.js.map +1 -1
  555. package/dist/src/components/section-header/section-header.d.ts +22 -23
  556. package/dist/src/components/section-header/section-header.js +6 -8
  557. package/dist/src/components/section-header/section-header.js.map +1 -1
  558. package/dist/src/components/select/select-option.d.ts +29 -0
  559. package/dist/src/components/select/select-option.js +2 -0
  560. package/dist/src/components/select/select-option.js.map +1 -0
  561. package/dist/src/components/{dropdown/dropdown.css.js → select/select.css.js} +1 -1
  562. package/dist/src/components/select/select.css.js.map +1 -0
  563. package/dist/src/components/select/select.d.ts +78 -0
  564. package/dist/src/components/select/select.js +35 -0
  565. package/dist/src/components/select/select.js.map +1 -0
  566. package/dist/src/components/shared/adopt-styles.d.ts +53 -0
  567. package/dist/src/components/shared/adopt-styles.js +2 -0
  568. package/dist/src/components/shared/adopt-styles.js.map +1 -0
  569. package/dist/src/components/shared/controller.slot.d.ts +65 -0
  570. package/dist/src/components/shared/controller.slot.js +2 -0
  571. package/dist/src/components/shared/controller.slot.js.map +1 -0
  572. package/dist/src/components/shared/events.d.ts +19 -23
  573. package/dist/src/components/shared/fill-width.css.js.map +1 -1
  574. package/dist/src/components/shared/flat-text.d.ts +15 -0
  575. package/dist/src/components/shared/flat-text.js +2 -0
  576. package/dist/src/components/shared/flat-text.js.map +1 -0
  577. package/dist/src/components/shared/form-control.d.ts +27 -3
  578. package/dist/src/components/shared/form-control.js +11 -1
  579. package/dist/src/components/shared/form-control.js.map +1 -1
  580. package/dist/src/components/shared/form-field.css.d.ts +5 -5
  581. package/dist/src/components/shared/form-field.css.js +1 -1
  582. package/dist/src/components/shared/form-field.css.js.map +1 -1
  583. package/dist/src/components/shared/hold.d.ts +14 -0
  584. package/dist/src/components/shared/hold.js +2 -0
  585. package/dist/src/components/shared/hold.js.map +1 -0
  586. package/dist/src/components/shared/prop-vocabulary.d.ts +81 -20
  587. package/dist/src/components/shared/prop-vocabulary.js +1 -1
  588. package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
  589. package/dist/src/components/shared/tablist.d.ts +31 -0
  590. package/dist/src/components/shared/tablist.js +2 -0
  591. package/dist/src/components/shared/tablist.js.map +1 -0
  592. package/dist/src/components/shared/token-scales.d.ts +30 -4
  593. package/dist/src/components/shared/token-scales.js +1 -1
  594. package/dist/src/components/shared/token-scales.js.map +1 -1
  595. package/dist/src/components/spinner/spinner.css.js.map +1 -1
  596. package/dist/src/components/spinner/spinner.js +2 -2
  597. package/dist/src/components/spinner/spinner.js.map +1 -1
  598. package/dist/src/components/spotlight/spotlight.css.js +2 -0
  599. package/dist/src/components/spotlight/spotlight.css.js.map +1 -0
  600. package/dist/src/components/spotlight/spotlight.d.ts +31 -0
  601. package/dist/src/components/spotlight/spotlight.js +18 -0
  602. package/dist/src/components/spotlight/spotlight.js.map +1 -0
  603. package/dist/src/components/stat/stat-highlight.d.ts +1 -1
  604. package/dist/src/components/stat/stat.css.d.ts +1 -1
  605. package/dist/src/components/stat/stat.css.js +1 -1
  606. package/dist/src/components/stat/stat.css.js.map +1 -1
  607. package/dist/src/components/stat/stat.d.ts +41 -1
  608. package/dist/src/components/stat/stat.js +12 -1
  609. package/dist/src/components/stat/stat.js.map +1 -0
  610. package/dist/src/components/switch/switch.css.js +1 -1
  611. package/dist/src/components/switch/switch.css.js.map +1 -1
  612. package/dist/src/components/switch/switch.d.ts +10 -2
  613. package/dist/src/components/switch/switch.js +5 -4
  614. package/dist/src/components/switch/switch.js.map +1 -1
  615. package/dist/src/components/tab-group/tab-group.css.js +2 -0
  616. package/dist/src/components/tab-group/tab-group.css.js.map +1 -0
  617. package/dist/src/components/tab-group/tab-group.d.ts +172 -0
  618. package/dist/src/components/tab-group/tab-group.js +16 -0
  619. package/dist/src/components/tab-group/tab-group.js.map +1 -0
  620. package/dist/src/components/tab-group/tab-panel.d.ts +30 -0
  621. package/dist/src/components/tab-group/tab-panel.js +2 -0
  622. package/dist/src/components/tab-group/tab-panel.js.map +1 -0
  623. package/dist/src/components/tab-group/tab.css.js +2 -0
  624. package/dist/src/components/tab-group/tab.css.js.map +1 -0
  625. package/dist/src/components/tab-group/tab.d.ts +53 -0
  626. package/dist/src/components/tab-group/tab.js +2 -0
  627. package/dist/src/components/tab-group/tab.js.map +1 -0
  628. package/dist/src/components/table-of-contents/reading-line.d.ts +24 -0
  629. package/dist/src/components/table-of-contents/reading-line.js +2 -0
  630. package/dist/src/components/table-of-contents/reading-line.js.map +1 -0
  631. package/dist/src/components/table-of-contents/table-of-contents-item.css.d.ts +7 -0
  632. package/dist/src/components/table-of-contents/table-of-contents-item.css.js +2 -0
  633. package/dist/src/components/table-of-contents/table-of-contents-item.css.js.map +1 -0
  634. package/dist/src/components/table-of-contents/table-of-contents-item.d.ts +40 -0
  635. package/dist/src/components/table-of-contents/table-of-contents-item.js +2 -0
  636. package/dist/src/components/table-of-contents/table-of-contents-item.js.map +1 -0
  637. package/dist/src/components/table-of-contents/table-of-contents.css.d.ts +10 -0
  638. package/dist/src/components/table-of-contents/table-of-contents.css.js +2 -0
  639. package/dist/src/components/table-of-contents/table-of-contents.css.js.map +1 -0
  640. package/dist/src/components/table-of-contents/table-of-contents.d.ts +116 -0
  641. package/dist/src/components/table-of-contents/table-of-contents.js +24 -0
  642. package/dist/src/components/table-of-contents/table-of-contents.js.map +1 -0
  643. package/dist/src/components/tag/tag.css.js +1 -1
  644. package/dist/src/components/tag/tag.css.js.map +1 -1
  645. package/dist/src/components/tag/tag.d.ts +31 -4
  646. package/dist/src/components/tag/tag.js +1 -3
  647. package/dist/src/components/tag/tag.js.map +1 -1
  648. package/dist/src/components/terminal/terminal-cursor.d.ts +2 -3
  649. package/dist/src/components/terminal/terminal-cursor.js +1 -1
  650. package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
  651. package/dist/src/components/terminal/terminal-line.css.d.ts +2 -0
  652. package/dist/src/components/terminal/terminal-line.css.js +2 -0
  653. package/dist/src/components/terminal/terminal-line.css.js.map +1 -0
  654. package/dist/src/components/terminal/terminal-line.d.ts +42 -0
  655. package/dist/src/components/terminal/terminal-line.js +8 -0
  656. package/dist/src/components/terminal/terminal-line.js.map +1 -0
  657. package/dist/src/components/terminal/terminal.css.d.ts +2 -0
  658. package/dist/src/components/terminal/terminal.css.js +2 -0
  659. package/dist/src/components/terminal/terminal.css.js.map +1 -0
  660. package/dist/src/components/terminal/terminal.d.ts +52 -0
  661. package/dist/src/components/terminal/terminal.js +19 -0
  662. package/dist/src/components/terminal/terminal.js.map +1 -0
  663. package/dist/src/components/terminal-hero/terminal-hero.css.d.ts +2 -0
  664. package/dist/src/components/terminal-hero/terminal-hero.css.js +2 -0
  665. package/dist/src/components/terminal-hero/terminal-hero.css.js.map +1 -0
  666. package/dist/src/components/terminal-hero/terminal-hero.d.ts +62 -0
  667. package/dist/src/components/terminal-hero/terminal-hero.js +48 -0
  668. package/dist/src/components/terminal-hero/terminal-hero.js.map +1 -0
  669. package/dist/src/components/terms/terms.css.d.ts +2 -0
  670. package/dist/src/components/terms/terms.css.js +2 -0
  671. package/dist/src/components/terms/terms.css.js.map +1 -0
  672. package/dist/src/components/terms/terms.d.ts +42 -0
  673. package/dist/src/components/terms/terms.js +9 -0
  674. package/dist/src/components/terms/terms.js.map +1 -0
  675. package/dist/src/components/textarea/textarea.css.d.ts +2 -2
  676. package/dist/src/components/textarea/textarea.css.js.map +1 -1
  677. package/dist/src/components/textarea/textarea.d.ts +15 -6
  678. package/dist/src/components/textarea/textarea.js +13 -17
  679. package/dist/src/components/textarea/textarea.js.map +1 -1
  680. package/dist/src/components/tooltip/tooltip.d.ts +25 -4
  681. package/dist/src/components/tooltip/tooltip.js +5 -8
  682. package/dist/src/components/tooltip/tooltip.js.map +1 -1
  683. package/dist/src/components/trust-panel/trust-card.css.d.ts +2 -0
  684. package/dist/src/components/trust-panel/trust-card.css.js +2 -0
  685. package/dist/src/components/trust-panel/trust-card.css.js.map +1 -0
  686. package/dist/src/components/trust-panel/trust-card.d.ts +31 -0
  687. package/dist/src/components/trust-panel/trust-card.js +10 -0
  688. package/dist/src/components/trust-panel/trust-card.js.map +1 -0
  689. package/dist/src/components/trust-panel/trust-panel.css.js +1 -1
  690. package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
  691. package/dist/src/components/trust-panel/trust-panel.d.ts +28 -25
  692. package/dist/src/components/trust-panel/trust-panel.js +10 -57
  693. package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
  694. package/dist/src/components/video/video.js +1 -1
  695. package/dist/src/components/video/video.js.map +1 -1
  696. package/dist/src/components/video-player/video-player.d.ts +25 -3
  697. package/dist/src/components/video-player/video-player.js +7 -7
  698. package/dist/src/components/video-player/video-player.js.map +1 -1
  699. package/dist/src/loader/create-loader.d.ts +13 -2
  700. package/dist/src/loader/create-loader.js +1 -1
  701. package/dist/src/loader/create-loader.js.map +1 -1
  702. package/dist/src/loader/loader.d.ts +7 -4
  703. package/dist/src/loader/loader.js.map +1 -1
  704. package/dist/src/loader/registry.js +1 -1
  705. package/dist/src/loader/registry.js.map +1 -1
  706. package/dist/src/tokens/fonts.css +1 -1
  707. package/dist/src/tokens/layout.css +1 -1
  708. package/dist/src/tokens/scheme-layer.d.ts +55 -0
  709. package/dist/src/tokens/scheme-layer.js +5 -0
  710. package/dist/src/tokens/scheme-layer.js.map +1 -0
  711. package/dist/src/tokens/themes/dark.d.ts +64 -0
  712. package/dist/src/tokens/themes/dark.js +2 -0
  713. package/dist/src/tokens/themes/dark.js.map +1 -0
  714. package/dist/src/tokens/tokens.css +1 -1
  715. package/dist/src/tokens/tokens.d.ts +4 -25
  716. package/dist/src/tokens/tokens.js +1 -1
  717. package/dist/src/tokens/tokens.js.map +1 -1
  718. package/dist/src/vendor/prism/LICENSE +21 -0
  719. package/dist/src/vendor/prism/README.md +65 -0
  720. package/dist/src/vendor/prism/prism.d.ts +7 -0
  721. package/dist/src/vendor/prism/prism.js +13 -0
  722. package/package.json +163 -105
  723. package/schemas/README.md +55 -1
  724. package/schemas/component-manifest.json +4546 -3215
  725. package/schemas/figma-component-map.json +3247 -0
  726. package/schemas/manifest-omissions.json +1 -26
  727. package/schemas/page-schema.json +28 -1
  728. package/dist/src/components/accordion/accordion-bg.css.js +0 -2
  729. package/dist/src/components/accordion/accordion-bg.css.js.map +0 -1
  730. package/dist/src/components/accordion/accordion-bg.d.ts +0 -52
  731. package/dist/src/components/accordion/accordion-bg.js +0 -76
  732. package/dist/src/components/accordion/accordion-bg.js.map +0 -1
  733. package/dist/src/components/alert/alert.css.js +0 -2
  734. package/dist/src/components/alert/alert.css.js.map +0 -1
  735. package/dist/src/components/alert/alert.d.ts +0 -55
  736. package/dist/src/components/alert/alert.js +0 -28
  737. package/dist/src/components/alert/alert.js.map +0 -1
  738. package/dist/src/components/anchor/anchor-nav.css.js +0 -2
  739. package/dist/src/components/anchor/anchor-nav.css.js.map +0 -1
  740. package/dist/src/components/anchor/anchor-nav.js +0 -67
  741. package/dist/src/components/anchor/anchor-nav.js.map +0 -1
  742. package/dist/src/components/awards/awards-flex.css.d.ts +0 -1
  743. package/dist/src/components/awards/awards-flex.css.js +0 -2
  744. package/dist/src/components/awards/awards-flex.css.js.map +0 -1
  745. package/dist/src/components/awards/awards-flex.d.ts +0 -65
  746. package/dist/src/components/awards/awards-flex.js +0 -68
  747. package/dist/src/components/awards/awards-flex.js.map +0 -1
  748. package/dist/src/components/awards/awards-spotlight.css.d.ts +0 -1
  749. package/dist/src/components/awards/awards-spotlight.css.js +0 -2
  750. package/dist/src/components/awards/awards-spotlight.css.js.map +0 -1
  751. package/dist/src/components/awards/awards-spotlight.d.ts +0 -60
  752. package/dist/src/components/awards/awards-spotlight.js +0 -51
  753. package/dist/src/components/awards/awards-spotlight.js.map +0 -1
  754. package/dist/src/components/card-features/card-features.css.js +0 -2
  755. package/dist/src/components/card-features/card-features.css.js.map +0 -1
  756. package/dist/src/components/card-features/card-features.d.ts +0 -43
  757. package/dist/src/components/card-features/card-features.js +0 -37
  758. package/dist/src/components/card-features/card-features.js.map +0 -1
  759. package/dist/src/components/cards/card.css.js +0 -2
  760. package/dist/src/components/cards/card.css.js.map +0 -1
  761. package/dist/src/components/cards/card.d.ts +0 -61
  762. package/dist/src/components/cards/card.js +0 -54
  763. package/dist/src/components/cards/card.js.map +0 -1
  764. package/dist/src/components/compare/compare.css.js +0 -2
  765. package/dist/src/components/compare/compare.css.js.map +0 -1
  766. package/dist/src/components/compare/compare.d.ts +0 -79
  767. package/dist/src/components/compare/compare.js +0 -122
  768. package/dist/src/components/compare/compare.js.map +0 -1
  769. package/dist/src/components/divider/divider-horizontal.d.ts +0 -15
  770. package/dist/src/components/divider/divider-horizontal.js +0 -11
  771. package/dist/src/components/divider/divider-horizontal.js.map +0 -1
  772. package/dist/src/components/divider/divider-vertical.d.ts +0 -16
  773. package/dist/src/components/divider/divider-vertical.js +0 -12
  774. package/dist/src/components/divider/divider-vertical.js.map +0 -1
  775. package/dist/src/components/dropdown/dropdown.css.js.map +0 -1
  776. package/dist/src/components/dropdown/dropdown.d.ts +0 -49
  777. package/dist/src/components/dropdown/dropdown.js +0 -36
  778. package/dist/src/components/dropdown/dropdown.js.map +0 -1
  779. package/dist/src/components/features/features.css.js +0 -2
  780. package/dist/src/components/features/features.css.js.map +0 -1
  781. package/dist/src/components/features/features.d.ts +0 -21
  782. package/dist/src/components/features/features.js +0 -28
  783. package/dist/src/components/features/features.js.map +0 -1
  784. package/dist/src/components/footer/footer-images.d.ts +0 -3
  785. package/dist/src/components/footer/footer-images.js +0 -9
  786. package/dist/src/components/footer/footer-images.js.map +0 -1
  787. package/dist/src/components/footer/footer-links-group.css.js +0 -2
  788. package/dist/src/components/footer/footer-links-group.css.js.map +0 -1
  789. package/dist/src/components/footer/footer-links-group.d.ts +0 -13
  790. package/dist/src/components/footer/footer-links-group.js +0 -5
  791. package/dist/src/components/footer/footer-links-group.js.map +0 -1
  792. package/dist/src/components/footer/footer-lp.d.ts +0 -26
  793. package/dist/src/components/footer/footer-lp.js +0 -45
  794. package/dist/src/components/footer/footer-lp.js.map +0 -1
  795. package/dist/src/components/footer/footer-nav-menu.css.js +0 -2
  796. package/dist/src/components/footer/footer-nav-menu.css.js.map +0 -1
  797. package/dist/src/components/footer/footer-nav-menu.js +0 -6
  798. package/dist/src/components/footer/footer-nav-menu.js.map +0 -1
  799. package/dist/src/components/header/header-code.css.js +0 -2
  800. package/dist/src/components/header/header-code.css.js.map +0 -1
  801. package/dist/src/components/header/header-code.d.ts +0 -50
  802. package/dist/src/components/header/header-code.js +0 -80
  803. package/dist/src/components/header/header-code.js.map +0 -1
  804. package/dist/src/components/header/header.css.js +0 -2
  805. package/dist/src/components/header/header.css.js.map +0 -1
  806. package/dist/src/components/header/header.d.ts +0 -32
  807. package/dist/src/components/header/header.js +0 -165
  808. package/dist/src/components/header/header.js.map +0 -1
  809. package/dist/src/components/heading/heading.css.js +0 -2
  810. package/dist/src/components/heading/heading.css.js.map +0 -1
  811. package/dist/src/components/heading/heading.js +0 -6
  812. package/dist/src/components/heading/heading.js.map +0 -1
  813. package/dist/src/components/help-text/help-text.css.d.ts +0 -3
  814. package/dist/src/components/help-text/help-text.css.js.map +0 -1
  815. package/dist/src/components/help-text/help-text.d.ts +0 -14
  816. package/dist/src/components/help-text/help-text.js +0 -4
  817. package/dist/src/components/help-text/help-text.js.map +0 -1
  818. package/dist/src/components/icons/analysis-icon.d.ts +0 -11
  819. package/dist/src/components/icons/analysis-icon.js +0 -6
  820. package/dist/src/components/icons/analysis-icon.js.map +0 -1
  821. package/dist/src/components/icons/arrow-down-icon.d.ts +0 -11
  822. package/dist/src/components/icons/arrow-down-icon.js +0 -6
  823. package/dist/src/components/icons/arrow-down-icon.js.map +0 -1
  824. package/dist/src/components/icons/arrow-icon.d.ts +0 -37
  825. package/dist/src/components/icons/arrow-icon.js +0 -6
  826. package/dist/src/components/icons/arrow-icon.js.map +0 -1
  827. package/dist/src/components/icons/arrow-right-icon.d.ts +0 -34
  828. package/dist/src/components/icons/arrow-right-icon.js +0 -6
  829. package/dist/src/components/icons/arrow-right-icon.js.map +0 -1
  830. package/dist/src/components/icons/arrow-up-icon.d.ts +0 -24
  831. package/dist/src/components/icons/arrow-up-icon.js +0 -6
  832. package/dist/src/components/icons/arrow-up-icon.js.map +0 -1
  833. package/dist/src/components/icons/av-comparatives-icon.d.ts +0 -13
  834. package/dist/src/components/icons/av-comparatives-icon.js +0 -13
  835. package/dist/src/components/icons/av-comparatives-icon.js.map +0 -1
  836. package/dist/src/components/icons/bd-ai-icon.d.ts +0 -13
  837. package/dist/src/components/icons/bd-ai-icon.js +0 -6
  838. package/dist/src/components/icons/bd-ai-icon.js.map +0 -1
  839. package/dist/src/components/icons/best-brands-icon.d.ts +0 -13
  840. package/dist/src/components/icons/best-brands-icon.js +0 -15
  841. package/dist/src/components/icons/best-brands-icon.js.map +0 -1
  842. package/dist/src/components/icons/brand-signature-icon.d.ts +0 -37
  843. package/dist/src/components/icons/brand-signature-icon.js +0 -6
  844. package/dist/src/components/icons/brand-signature-icon.js.map +0 -1
  845. package/dist/src/components/icons/check-icon.d.ts +0 -22
  846. package/dist/src/components/icons/check-icon.js +0 -6
  847. package/dist/src/components/icons/check-icon.js.map +0 -1
  848. package/dist/src/components/icons/circle-info-icon.d.ts +0 -26
  849. package/dist/src/components/icons/circle-info-icon.js +0 -8
  850. package/dist/src/components/icons/circle-info-icon.js.map +0 -1
  851. package/dist/src/components/icons/close-icon.d.ts +0 -11
  852. package/dist/src/components/icons/close-icon.js +0 -6
  853. package/dist/src/components/icons/close-icon.js.map +0 -1
  854. package/dist/src/components/icons/enterprise-icon.d.ts +0 -11
  855. package/dist/src/components/icons/enterprise-icon.js +0 -6
  856. package/dist/src/components/icons/enterprise-icon.js.map +0 -1
  857. package/dist/src/components/icons/family-icon.d.ts +0 -11
  858. package/dist/src/components/icons/family-icon.js +0 -8
  859. package/dist/src/components/icons/family-icon.js.map +0 -1
  860. package/dist/src/components/icons/globe-icon.d.ts +0 -11
  861. package/dist/src/components/icons/globe-icon.js +0 -6
  862. package/dist/src/components/icons/globe-icon.js.map +0 -1
  863. package/dist/src/components/icons/guide-icon.d.ts +0 -11
  864. package/dist/src/components/icons/guide-icon.js +0 -6
  865. package/dist/src/components/icons/guide-icon.js.map +0 -1
  866. package/dist/src/components/icons/home-icon.d.ts +0 -11
  867. package/dist/src/components/icons/home-icon.js +0 -6
  868. package/dist/src/components/icons/home-icon.js.map +0 -1
  869. package/dist/src/components/icons/icon-element.d.ts +0 -58
  870. package/dist/src/components/icons/icon-element.js +0 -2
  871. package/dist/src/components/icons/icon-element.js.map +0 -1
  872. package/dist/src/components/icons/individual-icon.d.ts +0 -11
  873. package/dist/src/components/icons/individual-icon.js +0 -6
  874. package/dist/src/components/icons/individual-icon.js.map +0 -1
  875. package/dist/src/components/icons/laurel-icon.d.ts +0 -11
  876. package/dist/src/components/icons/laurel-icon.js +0 -14
  877. package/dist/src/components/icons/laurel-icon.js.map +0 -1
  878. package/dist/src/components/icons/machine-learning-icon.d.ts +0 -11
  879. package/dist/src/components/icons/machine-learning-icon.js +0 -6
  880. package/dist/src/components/icons/machine-learning-icon.js.map +0 -1
  881. package/dist/src/components/icons/minus-icon.d.ts +0 -11
  882. package/dist/src/components/icons/minus-icon.js +0 -7
  883. package/dist/src/components/icons/minus-icon.js.map +0 -1
  884. package/dist/src/components/icons/missing-icon.d.ts +0 -41
  885. package/dist/src/components/icons/missing-icon.js +0 -8
  886. package/dist/src/components/icons/missing-icon.js.map +0 -1
  887. package/dist/src/components/icons/pause-icon.d.ts +0 -11
  888. package/dist/src/components/icons/pause-icon.js +0 -7
  889. package/dist/src/components/icons/pause-icon.js.map +0 -1
  890. package/dist/src/components/icons/pc-mag-2024-icon.d.ts +0 -13
  891. package/dist/src/components/icons/pc-mag-2024-icon.js +0 -14
  892. package/dist/src/components/icons/pc-mag-2024-icon.js.map +0 -1
  893. package/dist/src/components/icons/pc-mag-business-icon.d.ts +0 -13
  894. package/dist/src/components/icons/pc-mag-business-icon.js +0 -14
  895. package/dist/src/components/icons/pc-mag-business-icon.js.map +0 -1
  896. package/dist/src/components/icons/pc-mag-icon.d.ts +0 -13
  897. package/dist/src/components/icons/pc-mag-icon.js +0 -14
  898. package/dist/src/components/icons/pc-mag-icon.js.map +0 -1
  899. package/dist/src/components/icons/pc-mag-readers-icon.d.ts +0 -13
  900. package/dist/src/components/icons/pc-mag-readers-icon.js +0 -14
  901. package/dist/src/components/icons/pc-mag-readers-icon.js.map +0 -1
  902. package/dist/src/components/icons/play-icon.d.ts +0 -11
  903. package/dist/src/components/icons/play-icon.js +0 -6
  904. package/dist/src/components/icons/play-icon.js.map +0 -1
  905. package/dist/src/components/icons/plus-icon.d.ts +0 -11
  906. package/dist/src/components/icons/plus-icon.js +0 -6
  907. package/dist/src/components/icons/plus-icon.js.map +0 -1
  908. package/dist/src/components/icons/quote-icon.d.ts +0 -20
  909. package/dist/src/components/icons/quote-icon.js +0 -6
  910. package/dist/src/components/icons/quote-icon.js.map +0 -1
  911. package/dist/src/components/icons/small-business-icon.d.ts +0 -11
  912. package/dist/src/components/icons/small-business-icon.js +0 -6
  913. package/dist/src/components/icons/small-business-icon.js.map +0 -1
  914. package/dist/src/components/icons/top-product-icon.d.ts +0 -13
  915. package/dist/src/components/icons/top-product-icon.js +0 -14
  916. package/dist/src/components/icons/top-product-icon.js.map +0 -1
  917. package/dist/src/components/image/image.css.js.map +0 -1
  918. package/dist/src/components/image/image.js +0 -17
  919. package/dist/src/components/image/image.js.map +0 -1
  920. package/dist/src/components/input/input-clipboard.css.d.ts +0 -9
  921. package/dist/src/components/input/input-clipboard.css.js +0 -2
  922. package/dist/src/components/input/input-clipboard.css.js.map +0 -1
  923. package/dist/src/components/input/input-clipboard.d.ts +0 -52
  924. package/dist/src/components/input/input-clipboard.js +0 -62
  925. package/dist/src/components/input/input-clipboard.js.map +0 -1
  926. package/dist/src/components/light-carousel/light-carousel.css.js +0 -2
  927. package/dist/src/components/light-carousel/light-carousel.css.js.map +0 -1
  928. package/dist/src/components/light-carousel/light-carousel.d.ts +0 -74
  929. package/dist/src/components/light-carousel/light-carousel.js +0 -34
  930. package/dist/src/components/light-carousel/light-carousel.js.map +0 -1
  931. package/dist/src/components/modal/modal.css.js +0 -2
  932. package/dist/src/components/modal/modal.css.js.map +0 -1
  933. package/dist/src/components/modal/modal.d.ts +0 -52
  934. package/dist/src/components/modal/modal.js +0 -17
  935. package/dist/src/components/modal/modal.js.map +0 -1
  936. package/dist/src/components/paragraph/paragraph.css.js +0 -2
  937. package/dist/src/components/paragraph/paragraph.css.js.map +0 -1
  938. package/dist/src/components/paragraph/paragraph.js +0 -6
  939. package/dist/src/components/paragraph/paragraph.js.map +0 -1
  940. package/dist/src/components/pricing-cards/adopt-styles.d.ts +0 -10
  941. package/dist/src/components/pricing-cards/adopt-styles.js +0 -2
  942. package/dist/src/components/pricing-cards/adopt-styles.js.map +0 -1
  943. package/dist/src/components/pricing-cards/new-pricing-card.d.ts +0 -18
  944. package/dist/src/components/pricing-cards/new-pricing-card.js +0 -12
  945. package/dist/src/components/pricing-cards/new-pricing-card.js.map +0 -1
  946. package/dist/src/components/pricing-cards/new-pricing.css.js +0 -2
  947. package/dist/src/components/pricing-cards/new-pricing.css.js.map +0 -1
  948. package/dist/src/components/pricing-cards/pricing-card-actions.css.js +0 -2
  949. package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +0 -1
  950. package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +0 -19
  951. package/dist/src/components/pricing-cards/pricing-card-actions.js +0 -25
  952. package/dist/src/components/pricing-cards/pricing-card-actions.js.map +0 -1
  953. package/dist/src/components/pricing-cards/pricing-card-container.css.js +0 -2
  954. package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +0 -1
  955. package/dist/src/components/pricing-cards/pricing-card-container.d.ts +0 -14
  956. package/dist/src/components/pricing-cards/pricing-card-container.js +0 -6
  957. package/dist/src/components/pricing-cards/pricing-card-container.js.map +0 -1
  958. package/dist/src/components/pricing-cards/pricing-card-header.css.js +0 -2
  959. package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +0 -1
  960. package/dist/src/components/pricing-cards/pricing-card-header.d.ts +0 -22
  961. package/dist/src/components/pricing-cards/pricing-card-header.js +0 -18
  962. package/dist/src/components/pricing-cards/pricing-card-header.js.map +0 -1
  963. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +0 -2
  964. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +0 -1
  965. package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +0 -39
  966. package/dist/src/components/pricing-cards/pricing-card-pricing.js +0 -49
  967. package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +0 -1
  968. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +0 -2
  969. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +0 -1
  970. package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +0 -16
  971. package/dist/src/components/pricing-cards/pricing-card-show-more.js +0 -12
  972. package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +0 -1
  973. package/dist/src/components/pricing-cards/pricing-card.css.js +0 -2
  974. package/dist/src/components/pricing-cards/pricing-card.css.js.map +0 -1
  975. package/dist/src/components/pricing-cards/pricing-card.d.ts +0 -155
  976. package/dist/src/components/pricing-cards/pricing-card.js +0 -258
  977. package/dist/src/components/pricing-cards/pricing-card.js.map +0 -1
  978. package/dist/src/components/pricing-cards/pricing-feature-item.css.js +0 -2
  979. package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +0 -1
  980. package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +0 -13
  981. package/dist/src/components/pricing-cards/pricing-feature-item.js +0 -5
  982. package/dist/src/components/pricing-cards/pricing-feature-item.js.map +0 -1
  983. package/dist/src/components/progress/progress.css.d.ts +0 -3
  984. package/dist/src/components/progress/progress.css.js +0 -2
  985. package/dist/src/components/progress/progress.css.js.map +0 -1
  986. package/dist/src/components/progress/progress.d.ts +0 -19
  987. package/dist/src/components/progress/progress.js +0 -11
  988. package/dist/src/components/progress/progress.js.map +0 -1
  989. package/dist/src/components/radio/toggle-radio.d.ts +0 -28
  990. package/dist/src/components/radio/toggle-radio.js +0 -15
  991. package/dist/src/components/radio/toggle-radio.js.map +0 -1
  992. package/dist/src/components/spotlight-section/spotlight-section.css.js +0 -2
  993. package/dist/src/components/spotlight-section/spotlight-section.css.js.map +0 -1
  994. package/dist/src/components/spotlight-section/spotlight-section.d.ts +0 -22
  995. package/dist/src/components/spotlight-section/spotlight-section.js +0 -46
  996. package/dist/src/components/spotlight-section/spotlight-section.js.map +0 -1
  997. package/dist/src/components/stat/stat-tile.d.ts +0 -24
  998. package/dist/src/components/stat/stat-tile.js +0 -7
  999. package/dist/src/components/stat/stat-tile.js.map +0 -1
  1000. package/dist/src/components/tab-list/tab-list.css.d.ts +0 -16
  1001. package/dist/src/components/tab-list/tab-list.css.js +0 -2
  1002. package/dist/src/components/tab-list/tab-list.css.js.map +0 -1
  1003. package/dist/src/components/tab-list/tab-list.d.ts +0 -99
  1004. package/dist/src/components/tab-list/tab-list.js +0 -25
  1005. package/dist/src/components/tab-list/tab-list.js.map +0 -1
  1006. package/dist/src/components/tabs/tabs.css.js +0 -2
  1007. package/dist/src/components/tabs/tabs.css.js.map +0 -1
  1008. package/dist/src/components/tabs/tabs.d.ts +0 -69
  1009. package/dist/src/components/tabs/tabs.js +0 -29
  1010. package/dist/src/components/tabs/tabs.js.map +0 -1
  1011. package/dist/src/components/terminal/terminal-message.css.js +0 -2
  1012. package/dist/src/components/terminal/terminal-message.css.js.map +0 -1
  1013. package/dist/src/components/terminal/terminal-message.d.ts +0 -44
  1014. package/dist/src/components/terminal/terminal-message.js +0 -68
  1015. package/dist/src/components/terminal/terminal-message.js.map +0 -1
  1016. package/dist/src/components/termsOfUse/terms.css.js +0 -2
  1017. package/dist/src/components/termsOfUse/terms.css.js.map +0 -1
  1018. package/dist/src/components/termsOfUse/terms.d.ts +0 -22
  1019. package/dist/src/components/termsOfUse/terms.js +0 -78
  1020. package/dist/src/components/termsOfUse/terms.js.map +0 -1
  1021. /package/dist/src/components/{accordion/accordion-bg.css.d.ts → agent-endpoints/agent-endpoints-pills.css.d.ts} +0 -0
  1022. /package/dist/src/components/{anchor → anchor-nav}/anchor-nav.css.d.ts +0 -0
  1023. /package/dist/src/components/{card-features/card-features.css.d.ts → awards/award-marks.css.d.ts} +0 -0
  1024. /package/dist/src/components/{cards/card.css.d.ts → awards/award.css.d.ts} +0 -0
  1025. /package/dist/src/components/{compare/compare.css.d.ts → bar-chart/bar-chart.css.d.ts} +0 -0
  1026. /package/dist/src/components/{features/features.css.d.ts → card/card-grid.css.d.ts} +0 -0
  1027. /package/dist/src/components/{footer/footer-links-group.css.d.ts → card/card.css.d.ts} +0 -0
  1028. /package/dist/src/components/{footer/footer-nav-menu.css.d.ts → dialog/dialog.css.d.ts} +0 -0
  1029. /package/dist/src/components/{header/header-code.css.d.ts → footer/footer-group.css.d.ts} +0 -0
  1030. /package/dist/src/components/{header/header.css.d.ts → footer/footer-nav.css.d.ts} +0 -0
  1031. /package/dist/src/components/{heading/heading.css.d.ts → h/h.css.d.ts} +0 -0
  1032. /package/dist/src/components/{image/image.css.d.ts → img/img.css.d.ts} +0 -0
  1033. /package/dist/src/components/{light-carousel/light-carousel.css.d.ts → install-options/install-option.css.d.ts} +0 -0
  1034. /package/dist/src/components/{modal/modal.css.d.ts → newsletter-signup/newsletter-signup.css.d.ts} +0 -0
  1035. /package/dist/src/components/{paragraph/paragraph.css.d.ts → p/p.css.d.ts} +0 -0
  1036. /package/dist/src/components/{pricing-cards → pricing-card}/pricing-card.css.d.ts +0 -0
  1037. /package/dist/src/components/{pricing-cards/new-pricing.css.d.ts → pricing-card/pricing-feature-group.css.d.ts} +0 -0
  1038. /package/dist/src/components/{pricing-cards/pricing-card-actions.css.d.ts → pricing-card/pricing-feature.css.d.ts} +0 -0
  1039. /package/dist/src/components/{pricing-cards/pricing-card-container.css.d.ts → pricing-card/pricing-price.css.d.ts} +0 -0
  1040. /package/dist/src/components/{pricing-cards/pricing-card-header.css.d.ts → process-steps/process-step.css.d.ts} +0 -0
  1041. /package/dist/src/components/{pricing-cards/pricing-card-pricing.css.d.ts → product-hero/product-hero.css.d.ts} +0 -0
  1042. /package/dist/src/components/{pricing-cards/pricing-card-show-more.css.d.ts → product-upsell/product-upsell.css.d.ts} +0 -0
  1043. /package/dist/src/components/{pricing-cards/pricing-feature-item.css.d.ts → related-articles/related-articles.css.d.ts} +0 -0
  1044. /package/dist/src/components/{spotlight-section/spotlight-section.css.d.ts → report-promo/report-promo.css.d.ts} +0 -0
  1045. /package/dist/src/components/{dropdown/dropdown.css.d.ts → select/select.css.d.ts} +0 -0
  1046. /package/dist/src/components/{tabs/tabs.css.d.ts → spotlight/spotlight.css.d.ts} +0 -0
  1047. /package/dist/src/components/{terminal/terminal-message.css.d.ts → tab-group/tab-group.css.d.ts} +0 -0
  1048. /package/dist/src/components/{termsOfUse/terms.css.d.ts → tab-group/tab.css.d.ts} +0 -0
@@ -1,2 +1,2 @@
1
- import{css as e}from"lit";var t=e`:host{display:block}figure,blockquote{margin:0}.quote{border-inline-start:var(--border-width-4) solid var(--color-border-brand);font-family:var(--typography-body-large-fontFamily);font-size:var(--typography-body-large-fontSize);font-weight:var(--typography-body-large-fontWeight);line-height:var(--typography-body-large-lineHeight);color:var(--color-text-primary);padding-inline-start:var(--spacing-16)}figcaption{margin-top:var(--spacing-8);font-size:var(--typography-caption-default-fontSize);font-weight:var(--typography-fontWeight-medium);color:var(--color-text-muted)}`;export{t as blockquoteCSS,t as default};
1
+ import{css as e}from"lit";var t=e`:host{display:block}figure,blockquote{margin:0}.quote{border-inline-start:var(--border-width-4) solid var(--color-border-brand);font-family:var(--typography-body-large-fontFamily);font-size:var(--typography-body-large-fontSize);font-weight:var(--typography-body-large-fontWeight);line-height:var(--typography-body-large-lineHeight);color:var(--color-text-primary);padding-inline-start:var(--spacing-16)}figcaption{margin-top:var(--spacing-8);font-size:var(--typography-caption-default-fontSize);font-weight:var(--typography-fontWeight-medium);color:var(--color-text-muted)}:host([appearance=panel]) .quote{column-gap:var(--spacing-4);padding:var(--spacing-24);border-radius:var(--shape-radius-2xl);background:var(--status-brand-surface);font-family:var(--typography-body-lead-fontFamily);font-size:var(--typography-body-lead-fontSize);font-weight:var(--typography-body-lead-fontWeight);line-height:var(--typography-body-lead-lineHeight);letter-spacing:var(--typography-body-lead-letterSpacing);color:var(--color-text-primary);border:none;grid-template-columns:auto minmax(0,1fr);align-items:start;padding-inline-start:var(--spacing-16);font-style:italic;display:grid}:host([appearance=panel]) .mark{color:color-mix(in srgb, var(--color-text-brand) 40%, transparent);pointer-events:none;-webkit-user-select:none;user-select:none}:host([appearance=panel]) .body{min-width:0}:host([appearance=panel]) figure>.mark{grid-row:span 2}:host([appearance=panel]) figcaption{margin-top:var(--spacing-12);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-muted);grid-column:2;font-style:normal}`;export{t as blockquoteCSS,t as default};
2
2
  //# sourceMappingURL=blockquote.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.css.js","names":["blockquoteCSS"],"sources":["../../../../src/components/blockquote/blockquote.css.ts"],"sourcesContent":["import { css } from 'lit';\n\n/** Styled entirely from design tokens — see npm run lint:tokens. */\nexport const blockquoteCSS = css`\n :host { display: block; }\n\n /* .quote is the outer element: the <figure> when there is an attribution,\n the bare <blockquote> when there is not. The bar and the type live on it,\n so the caption inherits the quotation's family and leading the way the\n <footer> did when it sat inside the <blockquote> -- the rhythm the note\n below is about. */\n figure,\n blockquote {\n margin: 0;\n }\n\n .quote {\n padding-inline-start: var(--spacing-16);\n border-inline-start: var(--border-width-4) solid var(--color-border-brand);\n font-family: var(--typography-body-large-fontFamily);\n font-size: var(--typography-body-large-fontSize);\n font-weight: var(--typography-body-large-fontWeight);\n line-height: var(--typography-body-large-lineHeight);\n color: var(--color-text-primary);\n }\n\n figcaption {\n margin-top: var(--spacing-8);\n font-size: var(--typography-caption-default-fontSize);\n /* no role: two roles are each a near-miss, from opposite directions, and\n no declared role sits at the intersection of this size, this weight,\n this leading and this colour.\n .\n label-small matches this text's size and weight exactly -- but adopting\n it would add letterSpacing-wide, which has no job on mixed-case sentence\n text because nothing here crowds, and would replace the leading this\n inherits from the quote it attributes with 1.5. That inherited\n rhythm is the one thing in this rule that means something: the credit\n line sits on the same measure as the quotation it belongs to, where 1.5\n merely comes attached to the role.\n .\n caption-default matches this text's size and colour exactly -- the same\n --color-text-muted token, not just the same value, so this rule already\n half-resolves through it. But its weight is normal, and normal is what\n the quote itself renders. Adopting it would remove the attribution's\n only distinguishing signal and demote a credit line to what reads as a\n continuation of the quotation rather than a citation of it.\n .\n Neither disagreement is drift; both are the reason this rule exists as\n written. So the weight stays a primitive and says why. */\n font-weight: var(--typography-fontWeight-medium);\n color: var(--color-text-muted);\n }\n`;\n\nexport default blockquoteCSS;\n"],"mappings":"A,0BAGA,IAAaA,EAAgB,CAAG,gkB"}
1
+ {"version":3,"file":"blockquote.css.js","names":["blockquoteCSS"],"sources":["../../../../src/components/blockquote/blockquote.css.ts"],"sourcesContent":["import { css } from 'lit';\n\n/** Styled entirely from design tokens — see npm run lint:tokens. */\nexport const blockquoteCSS = css`\n :host { display: block; }\n\n /* .quote is the outer element: the <figure> when the page slots a credit\n into caption, the bare <blockquote> when it does not. The bar and the type live on it,\n so the caption inherits the quotation's family and leading the way the\n <footer> did when it sat inside the <blockquote> -- the rhythm the note\n below is about. */\n figure,\n blockquote {\n margin: 0;\n }\n\n .quote {\n padding-inline-start: var(--spacing-16);\n border-inline-start: var(--border-width-4) solid var(--color-border-brand);\n font-family: var(--typography-body-large-fontFamily);\n font-size: var(--typography-body-large-fontSize);\n font-weight: var(--typography-body-large-fontWeight);\n line-height: var(--typography-body-large-lineHeight);\n color: var(--color-text-primary);\n }\n\n figcaption {\n margin-top: var(--spacing-8);\n font-size: var(--typography-caption-default-fontSize);\n /* no role: two roles are each a near-miss, from opposite directions, and\n no declared role sits at the intersection of this size, this weight,\n this leading and this colour.\n .\n label-small matches this text's size and weight exactly -- but adopting\n it would add letterSpacing-wide, which has no job on mixed-case sentence\n text because nothing here crowds, and would replace the leading this\n inherits from the quote it attributes with 1.5. That inherited\n rhythm is the one thing in this rule that means something: the credit\n line sits on the same measure as the quotation it belongs to, where 1.5\n merely comes attached to the role.\n .\n caption-default matches this text's size and colour exactly -- the same\n --color-text-muted token, not just the same value, so this rule already\n half-resolves through it. But its weight is normal, and normal is what\n the quote itself renders. Adopting it would remove the attribution's\n only distinguishing signal and demote a credit line to what reads as a\n continuation of the quotation rather than a citation of it.\n .\n Neither disagreement is drift; both are the reason this rule exists as\n written. So the weight stays a primitive and says why. */\n font-weight: var(--typography-fontWeight-medium);\n color: var(--color-text-muted);\n }\n\n /* === panel: the blog's body quote (www-blog-csg's .post-quote) ===\n Not drawn in the csg_blog Figma file, so it keeps the shipped blog's\n look, its measurements moved to roles: the brand's soft wash at the\n card corner and the card's compact inset, 24, and 16 at the start,\n where the 32px opening mark stands in its own column 4 from the words\n -- the quotation starts 52 in. The words are the lead body role in\n italic, in the primary ink: the blog's were 20px at the relaxed\n leading, 1.625, which no role carries; body-lead is the 20 at 1.4. The\n credit is the small body role in the muted ink, upright, 12 under the\n words. */\n :host([appearance='panel']) .quote {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr);\n column-gap: var(--spacing-4);\n align-items: start;\n /* its own inset, 24 (the card's compact one in value): a panel is no card */\n padding: var(--spacing-24);\n padding-inline-start: var(--spacing-16);\n border: none;\n /* a panel in the prose, not a card (scripts/card-shapes.json says so of\n panels): the shape ramp's 2xl, the card's 16 today */\n border-radius: var(--shape-radius-2xl);\n background: var(--status-brand-surface);\n font-family: var(--typography-body-lead-fontFamily);\n font-size: var(--typography-body-lead-fontSize);\n font-weight: var(--typography-body-lead-fontWeight);\n line-height: var(--typography-body-lead-lineHeight);\n letter-spacing: var(--typography-body-lead-letterSpacing);\n font-style: italic;\n color: var(--color-text-primary);\n }\n\n /* The opening mark: decoration, in the brand's text ink at 40%, as the\n shipped blog draws it. Its drawing is out of the accessibility tree. */\n :host([appearance='panel']) .mark {\n color: color-mix(in srgb, var(--color-text-brand) 40%, transparent);\n pointer-events: none;\n -webkit-user-select: none;\n user-select: none;\n }\n\n :host([appearance='panel']) .body {\n min-width: 0;\n }\n\n /* With a credit the figure's children are the grid's items: the mark\n spans both rows, so the credit sits 12 under the words however short\n they are, in the words' column. */\n :host([appearance='panel']) figure > .mark {\n grid-row: span 2;\n }\n\n :host([appearance='panel']) figcaption {\n grid-column: 2;\n margin-top: var(--spacing-12);\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 font-style: normal;\n color: var(--color-text-muted);\n }\n`;\n\nexport default blockquoteCSS;\n"],"mappings":"A,0BAGA,IAAaA,EAAgB,CAAG,4xD"}
@@ -1,9 +1,33 @@
1
- import { LitElement } from "lit";
1
+ import { LitElement, type PropertyValues } from "lit";
2
+ import { SlotController } from "../shared/controller.slot.js";
2
3
  import "../../tokens/tokens.js";
4
+ import "../icons/quote.js";
5
+ /** How it looks (N6): the brand bar beside the words, or the blog's panel. */
6
+ declare const APPEARANCES: readonly ["standard", "panel"];
7
+ type Appearance = typeof APPEARANCES[number];
8
+ /**
9
+ * A quotation set apart from the prose around it, with an optional credit.
10
+ *
11
+ * <bd-blockquote>Threats move faster than annual reviews.</bd-blockquote>
12
+ * <bd-blockquote appearance="panel">
13
+ * When the courier arrives, they show the victim the dollar bill …
14
+ * <span slot="caption">FBI IC3</span>
15
+ * </bd-blockquote>
16
+ *
17
+ * `standard` draws the brand's bar beside the words, and an em dash before
18
+ * the credit. `panel` is the blog's body quote (www-blog-csg's .post-quote,
19
+ * bd-blog-blockquote until the blog folded into the package): a soft brand
20
+ * panel at the card corner, the package's quote drawing as its opening mark,
21
+ * the quotation in italic and the credit under it, the page's words alone.
22
+ */
3
23
  export declare class BdBlockquote extends LitElement {
4
24
  static styles: import("lit").CSSResult[];
25
+ /** The source's URL, for <blockquote cite>. Never shown; the visible credit is the `caption` slot. */
5
26
  cite: string;
6
- attribution: string;
27
+ /** How it looks: standard (the bar) or panel (the blog's body quote). */
28
+ appearance: Appearance;
29
+ _slots: SlotController<"caption">;
30
+ willUpdate(changed: PropertyValues<this>): void;
7
31
  render(): import("lit-html").TemplateResult<1>;
8
32
  }
9
33
  declare global {
@@ -11,3 +35,4 @@ declare global {
11
35
  'bd-blockquote': BdBlockquote;
12
36
  }
13
37
  }
38
+ export {};
@@ -1,2 +1,2 @@
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{blockquoteCSS as n}from"./blockquote.css.js";import{LitElement as r,html as i,nothing as a}from"lit";import{property as o}from"lit/decorators.js";var s=class extends r{constructor(...e){super(...e),this.cite=``,this.attribution=``}static{this.styles=[n]}render(){let e=i`<blockquote class=${this.attribution?a:`quote`} cite=${this.cite||a}><slot></slot></blockquote>`;return this.attribution?i`<figure class="quote">${e}<figcaption>\u2014 ${this.attribution}</figcaption></figure>`:e}};t([o({type:String})],s.prototype,`cite`,void 0),t([o({type:String})],s.prototype,`attribution`,void 0),s=t([e(`bd-blockquote`)],s);export{s as BdBlockquote};
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{SlotController as r}from"../shared/controller.slot.js";import"../icons/quote.js";import{blockquoteCSS as i}from"./blockquote.css.js";import{LitElement as a,html as o,nothing as s}from"lit";import{property as c}from"lit/decorators.js";var l=[`standard`,`panel`],u=class extends a{constructor(...e){super(...e),this.cite=``,this.appearance=`standard`,this._slots=new r(this,{slots:[`caption`]})}static{this.styles=[i]}willUpdate(e){e.has(`appearance`)&&!t(l,this.appearance)&&(this.appearance=`standard`)}render(){let e=this._slots.has(`caption`),t=this.cite||s,n=o`<slot></slot>`;if(this.appearance!==`panel`)return e?o`<figure class="quote"><blockquote cite=${t}>${n}</blockquote><figcaption>— <slot name="caption"></slot></figcaption></figure>`:o`<blockquote class="quote" cite=${t}>${n}</blockquote><slot name="caption"></slot>`;let r=o`<bd-icon class="mark" name="quote" size="xl"></bd-icon>`;return e?o`<figure class="quote">${r}<blockquote class="body" cite=${t}>${n}</blockquote><figcaption><slot name="caption"></slot></figcaption></figure>`:o`<blockquote class="quote" cite=${t}>${r}<div class="body">${n}</div></blockquote><slot name="caption"></slot>`}};n([c({type:String,attribute:`cite`})],u.prototype,`cite`,void 0),n([c({type:String,reflect:!0})],u.prototype,`appearance`,void 0),u=n([e(`bd-blockquote`)],u);export{u as BdBlockquote};
2
2
  //# sourceMappingURL=blockquote.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.js","names":["_decorate","__decorate","BdBlockquote","LitElement","_args","blockquoteCSS","quote","nothing","property","defineElement"],"sources":["../../../../src/components/blockquote/blockquote.ts"],"sourcesContent":["import { LitElement, html, nothing } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { defineElement } from '#shared/define-element.ts';\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport '#tokens/tokens.ts';\nimport { blockquoteCSS } from './blockquote.css.ts';\n\n@defineElement('bd-blockquote')\nexport class BdBlockquote extends LitElement {\n static styles = [blockquoteCSS];\n\n @property({ type: String })\n cite = '';\n @property({ type: String })\n attribution = '';\n\n /* WHERE THE ATTRIBUTION GOES.\n It used to be a <footer> inside the <blockquote>, and everything inside a\n blockquote is the quotation, so the name of the person quoted was read as\n part of what they said. The HTML spec's pattern puts the credit outside\n the quote: a <figure> holding the <blockquote> and a <figcaption>. With\n no attribution there is no caption, so the bare <blockquote> renders, as\n before -- a figure with nothing to name it would only add an empty\n \"figure\" for a screen reader to step through. */\n render() {\n const quote = html`<blockquote class=${this.attribution ? nothing : 'quote'} cite=${this.cite || nothing}><slot></slot></blockquote>`;\n return this.attribution\n ? html`<figure class=\"quote\">${quote}<figcaption>\\u2014 ${this.attribution}</figcaption></figure>`\n : quote;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-blockquote': BdBlockquote;\n }\n}\n"],"mappings":"A,8TAQO,IAAME,EAAN,cAA2BC,CAAW,C,8BAIpC,KAAA,KAAA,GAEO,KAAA,YAAA,E,QALE,KAAA,OAAA,CAACE,CAAa,C,CAe9B,QAAS,CACP,IAAMC,EAAQ,CAAI,qBAAqB,KAAK,YAAcC,EAAU,QAAQ,QAAQ,KAAK,MAAQA,EAAQ,6BACzG,OAAO,KAAK,YACR,CAAI,yBAAyBD,EAAM,qBAAqB,KAAK,YAAY,wBACzEA,CACN,CACF,EAnBGN,EAAA,CAAAQ,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAN,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBF,EAAA,CAAAQ,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAN,EAAA,UAAA,cAAA,IAAA,EAAA,EAN3B,EAAAF,EAAA,CAAAS,EAAc,eAAe,CAAA,EAAAP,CAAA,E"}
1
+ {"version":3,"file":"blockquote.js","names":["_decorate","__decorate","APPEARANCES","BdBlockquote","LitElement","_args","SlotController","blockquoteCSS","changed","isOneOf","credited","cite","nothing","words","mark","property","defineElement"],"sources":["../../../../src/components/blockquote/blockquote.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { defineElement } from '#shared/define-element.ts';\nimport { SlotController } from '#shared/controller.slot.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 '#components/icons/quote.ts';\nimport { blockquoteCSS } from './blockquote.css.ts';\n\n/** How it looks (N6): the brand bar beside the words, or the blog's panel. */\nconst APPEARANCES = ['standard', 'panel'] as const;\ntype Appearance = typeof APPEARANCES[number];\n\n/**\n * A quotation set apart from the prose around it, with an optional credit.\n *\n * <bd-blockquote>Threats move faster than annual reviews.</bd-blockquote>\n * <bd-blockquote appearance=\"panel\">\n * When the courier arrives, they show the victim the dollar bill …\n * <span slot=\"caption\">FBI IC3</span>\n * </bd-blockquote>\n *\n * `standard` draws the brand's bar beside the words, and an em dash before\n * the credit. `panel` is the blog's body quote (www-blog-csg's .post-quote,\n * bd-blog-blockquote until the blog folded into the package): a soft brand\n * panel at the card corner, the package's quote drawing as its opening mark,\n * the quotation in italic and the credit under it, the page's words alone.\n */\n@defineElement('bd-blockquote')\nexport class BdBlockquote extends LitElement {\n static styles = [blockquoteCSS];\n\n /** The source's URL, for <blockquote cite>. Never shown; the visible credit is the `caption` slot. */\n @property({ type: String, attribute: 'cite' })\n cite = '';\n\n /** How it looks: standard (the bar) or panel (the blog's body quote). */\n @property({ type: String, reflect: true })\n appearance: Appearance = 'standard';\n\n _slots = new SlotController(this, { slots: ['caption'] });\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has('appearance') && !isOneOf(APPEARANCES, this.appearance)) this.appearance = 'standard';\n }\n\n /* WHERE THE ATTRIBUTION GOES.\n It used to be a <footer> inside the <blockquote>, and everything inside a\n blockquote is the quotation, so the name of the person quoted was read as\n part of what they said. The HTML spec's pattern puts the credit outside\n the quote: a <figure> holding the <blockquote> and a <figcaption>.\n\n The credit is the page's: <span slot=\"caption\">Ada Lovelace</span>. It\n was the `attribution` attribute until v4, which held no markup and\n rendered nowhere else. With nothing in the slot there is no caption, so\n the bare <blockquote> renders, as before -- a figure with nothing to name\n it would only add an empty \"figure\" for a screen reader to step through.\n The slot is rendered either way, so a caption the page adds later is\n assigned, and its slotchange brings the figure.\n\n THE PANEL. Its opening mark is the package's quote drawing,\n <bd-icon name=\"quote\">, at the icon scale's xl (32px, the shipped\n blog's mark column), out of the accessibility tree: the blog's was a\n \"“\" in a <span>, type asked to draw a picture, which read as text at\n 1.89:1 on the wash. The mark and the words are a grid's two columns,\n so the words and the credit line up beside it: the credit is the\n figure's last child, as a <figcaption> has to be to caption it, placed\n in the words' column under them. The panel draws no\n \"— \" before the credit, as the shipped blog's quote figure draws none:\n a character of the component's own in the page's words. */\n render() {\n const credited = this._slots.has('caption');\n const cite = this.cite || nothing;\n const words = html`<slot></slot>`;\n if (this.appearance !== 'panel') {\n return credited\n ? html`<figure class=\"quote\"><blockquote cite=${cite}>${words}</blockquote><figcaption>— <slot name=\"caption\"></slot></figcaption></figure>`\n : html`<blockquote class=\"quote\" cite=${cite}>${words}</blockquote><slot name=\"caption\"></slot>`;\n }\n const mark = html`<bd-icon class=\"mark\" name=\"quote\" size=\"xl\"></bd-icon>`;\n return credited\n ? html`<figure class=\"quote\">${mark}<blockquote class=\"body\" cite=${cite}>${words}</blockquote><figcaption><slot name=\"caption\"></slot></figcaption></figure>`\n : html`<blockquote class=\"quote\" cite=${cite}>${mark}<div class=\"body\">${words}</div></blockquote><slot name=\"caption\"></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-blockquote': BdBlockquote;\n }\n}\n"],"mappings":"A,6cAWA,IAAME,EAAc,CAAC,WAAY,OAAO,EAmB3BC,EAAN,cAA2BC,CAAW,C,8BAKpC,KAAA,KAAA,GAIkB,KAAA,WAAA,WAEhB,KAAA,OAAA,IAAIE,EAAe,KAAM,CAAE,MAAO,CAAC,SAAS,CAAE,CAAC,C,QAVxC,KAAA,OAAA,CAACC,CAAa,C,CAY9B,WAAW,EAA+B,CACpCC,EAAQ,IAAI,YAAY,GAAK,CAACC,EAAQP,EAAa,KAAK,UAAU,IAAG,KAAK,WAAa,WAC7F,CA0BA,QAAS,CACP,IAAMQ,EAAW,KAAK,OAAO,IAAI,SAAS,EACpCC,EAAO,KAAK,MAAQC,EACpBC,EAAQ,CAAI,gBAClB,GAAI,KAAK,aAAe,QACtB,OAAOH,EACH,CAAI,0CAA0CC,EAAK,GAAGE,EAAM,+EAC5D,CAAI,kCAAkCF,EAAK,GAAGE,EAAM,2CAE1D,IAAMC,EAAO,CAAI,0DACjB,OAAOJ,EACH,CAAI,yBAAyBI,EAAK,gCAAgCH,EAAK,GAAGE,EAAM,6EAChF,CAAI,kCAAkCF,EAAK,GAAGG,EAAK,oBAAoBD,EAAM,gDACnF,CACF,EAnDGb,EAAA,CAAAe,EAAS,CAAE,KAAM,OAAQ,UAAW,MAAO,CAAC,CAAA,EAAAZ,EAAA,UAAA,OAAA,IAAA,EAAA,EAI5CH,EAAA,CAAAe,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAZ,EAAA,UAAA,aAAA,IAAA,EAAA,EAT1C,EAAAH,EAAA,CAAAgB,EAAc,eAAe,CAAA,EAAAb,CAAA,E"}
@@ -2,10 +2,10 @@ import { LitElement, type PropertyValues } from "lit";
2
2
  import { MediaQueryController } from "../shared/controller.media-query.js";
3
3
  import "../../tokens/tokens.js";
4
4
  import "../link/link.js";
5
- import "../paragraph/paragraph.js";
5
+ import "../p/p.js";
6
6
  type Orientation = 'horizontal' | 'vertical';
7
7
  export declare class Breadcrumb extends LitElement {
8
- noTrailingSlash: boolean;
8
+ withoutTrailingSlash: boolean;
9
9
  mobileBreakpoint: number;
10
10
  _isMobile: boolean;
11
11
  _viewport: MediaQueryController;
@@ -22,7 +22,8 @@ export declare class Breadcrumb extends LitElement {
22
22
  export declare class BreadcrumbItem extends LitElement {
23
23
  href: string;
24
24
  current: boolean;
25
- noTrailingSlash: boolean;
25
+ /** Pushed by the parent bd-breadcrumb's `without-trailing-slash`. */
26
+ withoutTrailingSlash: boolean;
26
27
  /**
27
28
  * Set by the parent bd-breadcrumb, reflected so the item's own stylesheet
28
29
  * can read it. The item does not work this out for itself: the breakpoint
@@ -31,7 +32,7 @@ export declare class BreadcrumbItem extends LitElement {
31
32
  */
32
33
  orientation: Orientation;
33
34
  constructor();
34
- updateNoTrailingSlash(value: boolean): void;
35
+ updateWithoutTrailingSlash(value: boolean): void;
35
36
  render(): import("lit-html").TemplateResult<1>;
36
37
  static styles: import("lit").CSSResult[];
37
38
  }
@@ -1,20 +1,20 @@
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"../paragraph/paragraph.js";import"../link/link.js";import{MediaQueryController as n}from"../shared/controller.media-query.js";import r from"./breadcrumb.css.js";import{LitElement as i,html as a}from"lit";import{property as o,state as s}from"lit/decorators.js";var c=class extends i{constructor(){super(),this.noTrailingSlash=!1,this.mobileBreakpoint=768,this._isMobile=!1,this._viewport=new n(this,this._viewportQuery(),e=>{this._isMobile=e})}willUpdate(e){e.has(`mobileBreakpoint`)&&(this._viewport.query=this._viewportQuery())}firstUpdated(){this._updateChildItems(),this.shadowRoot?.querySelector(`slot`)?.addEventListener(`slotchange`,()=>this._updateChildItems())}updated(e){(e.has(`noTrailingSlash`)||e.has(`_isMobile`))&&this._updateChildItems()}get _orientation(){return this._isMobile?`vertical`:`horizontal`}_updateChildItems(){let e=this.shadowRoot?.querySelector(`slot`);e&&e.assignedElements({flatten:!0}).forEach(e=>{e.updateNoTrailingSlash&&e.updateNoTrailingSlash(this.noTrailingSlash),`orientation`in e&&(e.orientation=this._orientation)})}_viewportQuery(){return`(width < ${this.mobileBreakpoint}px)`}render(){let e=this._orientation;return a`
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"../p/p.js";import"../link/link.js";import{MediaQueryController as n}from"../shared/controller.media-query.js";import r from"./breadcrumb.css.js";import{LitElement as i,html as a}from"lit";import{property as o,state as s}from"lit/decorators.js";var c=class extends i{constructor(){super(),this.withoutTrailingSlash=!1,this.mobileBreakpoint=768,this._isMobile=!1,this._viewport=new n(this,this._viewportQuery(),e=>{this._isMobile=e})}willUpdate(e){e.has(`mobileBreakpoint`)&&(this._viewport.query=this._viewportQuery())}firstUpdated(){this._updateChildItems(),this.shadowRoot?.querySelector(`slot`)?.addEventListener(`slotchange`,()=>this._updateChildItems())}updated(e){(e.has(`withoutTrailingSlash`)||e.has(`_isMobile`))&&this._updateChildItems()}get _orientation(){return this._isMobile?`vertical`:`horizontal`}_updateChildItems(){let e=this.shadowRoot?.querySelector(`slot`);e&&e.assignedElements({flatten:!0}).forEach(e=>{e.updateWithoutTrailingSlash&&e.updateWithoutTrailingSlash(this.withoutTrailingSlash),`orientation`in e&&(e.orientation=this._orientation)})}_viewportQuery(){return`(width < ${this.mobileBreakpoint}px)`}render(){let e=this._orientation;return a`
2
2
  <nav class="bd-breadcrumb bd-breadcrumb--${e}"
3
3
  aria-label="Breadcrumb">
4
4
  <ol class="bd-breadcrumb__items">
5
5
  <slot></slot>
6
6
  </ol>
7
7
  </nav>
8
- `}static{this.styles=[r]}};t([o({type:Boolean,attribute:`no-trailing-slash`})],c.prototype,`noTrailingSlash`,void 0),t([o({type:Number,attribute:`mobile-breakpoint`})],c.prototype,`mobileBreakpoint`,void 0),t([s()],c.prototype,`_isMobile`,void 0),c=t([e(`bd-breadcrumb`)],c);var l=class extends i{constructor(){super(),this.href=``,this.current=!1,this.noTrailingSlash=!1,this.orientation=`horizontal`,this.attachInternals().role=`listitem`}updateNoTrailingSlash(e){this.noTrailingSlash=e,this.requestUpdate()}render(){let e=!this.current&&!this.noTrailingSlash,t=this.current?a`<span class="bd-breadcrumb__item bd-breadcrumb__item--current" aria-current="page">
9
- <bd-p variant="small" font-weight="medium"><slot></slot></bd-p>
8
+ `}static{this.styles=[r]}};t([o({type:Boolean,attribute:`without-trailing-slash`})],c.prototype,`withoutTrailingSlash`,void 0),t([o({type:Number,attribute:`mobile-breakpoint`})],c.prototype,`mobileBreakpoint`,void 0),t([s()],c.prototype,`_isMobile`,void 0),c=t([e(`bd-breadcrumb`)],c);var l=class extends i{constructor(){super(),this.href=``,this.current=!1,this.withoutTrailingSlash=!1,this.orientation=`horizontal`,this.attachInternals().role=`listitem`}updateWithoutTrailingSlash(e){this.withoutTrailingSlash=e,this.requestUpdate()}render(){let e=!this.current&&!this.withoutTrailingSlash,t=this.current?a`<span class="bd-breadcrumb__item bd-breadcrumb__item--current" aria-current="page">
9
+ <bd-p appearance="small" font-weight="medium"><slot></slot></bd-p>
10
10
  </span>`:this.href?a`<bd-link href="${this.href}" font-size="sm" class="bd-breadcrumb__item">
11
11
  <slot></slot>
12
12
  </bd-link>`:a`<span class="bd-breadcrumb__item">
13
- <bd-p variant="small"><slot></slot></bd-p>
13
+ <bd-p appearance="small"><slot></slot></bd-p>
14
14
  </span>`;return a`
15
15
  <div class="bd-breadcrumb-item">
16
16
  ${t}
17
17
  ${e?a`<span class="bd-breadcrumb__divider" aria-hidden="true">/</span>`:``}
18
18
  </div>
19
- `}static{this.styles=[r]}};t([o({type:String})],l.prototype,`href`,void 0),t([o({type:Boolean,reflect:!0})],l.prototype,`current`,void 0),t([o({type:Boolean})],l.prototype,`noTrailingSlash`,void 0),t([o({type:String,reflect:!0})],l.prototype,`orientation`,void 0),l=t([e(`bd-breadcrumb-item`)],l);export{c as Breadcrumb,l as BreadcrumbItem};
19
+ `}static{this.styles=[r]}};t([o({type:String})],l.prototype,`href`,void 0),t([o({type:Boolean,reflect:!0})],l.prototype,`current`,void 0),t([o({type:Boolean,attribute:`without-trailing-slash`})],l.prototype,`withoutTrailingSlash`,void 0),t([o({type:String,reflect:!0})],l.prototype,`orientation`,void 0),l=t([e(`bd-breadcrumb-item`)],l);export{c as Breadcrumb,l as BreadcrumbItem};
20
20
  //# sourceMappingURL=breadcrumb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.js","names":["breadcrumbCSS","_decorate","__decorate","breadcrumb_css_default","Breadcrumb","LitElement","MediaQueryController","mobile","changedProperties","slot","item","orientation","property","state","defineElement","BreadcrumbItem","value","showDivider","content"],"sources":["../../../../src/components/breadcrumb/breadcrumb.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { defineElement } from '#shared/define-element.ts';\nimport { MediaQueryController } from '#shared/controller.media-query.ts';\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport '#components/link/link.ts';\nimport '#components/paragraph/paragraph.ts';\nimport breadcrumbCSS from './breadcrumb.css.ts';\n\ntype Orientation = 'horizontal' | 'vertical';\n\n@defineElement('bd-breadcrumb')\nexport class Breadcrumb extends LitElement {\n @property({ type: Boolean, attribute: 'no-trailing-slash' })\n noTrailingSlash = false;\n @property({ type: Number, attribute: 'mobile-breakpoint' })\n mobileBreakpoint = 768;\n @state()\n _isMobile = false;\n\n _viewport: MediaQueryController;\n\n constructor() {\n super();\n this._viewport = new MediaQueryController(this, this._viewportQuery(), mobile => { this._isMobile = mobile; });\n }\n\n willUpdate(changedProperties: PropertyValues<this>) {\n if (changedProperties.has('mobileBreakpoint')) this._viewport.query = this._viewportQuery();\n }\n\n firstUpdated() {\n this._updateChildItems();\n /* Items slotted later still have to be told, or they render with the\n constructor default. */\n this.shadowRoot?.querySelector('slot')\n ?.addEventListener('slotchange', () => this._updateChildItems());\n }\n\n updated(changedProperties: PropertyValues<this>) {\n /* _isMobile is the orientation, so a change to it has to reach the items\n as well as the nav; without this the class on the nav flipped and the\n items kept the styling of the layout they had left. */\n if (changedProperties.has('noTrailingSlash') || changedProperties.has('_isMobile')) {\n this._updateChildItems();\n }\n }\n\n get _orientation(): Orientation {\n return this._isMobile ? 'vertical' : 'horizontal';\n }\n\n _updateChildItems() {\n const slot = this.shadowRoot?.querySelector('slot');\n if (!slot) return;\n\n const items: (Element & { updateNoTrailingSlash?: (value: boolean) => void })[] = slot.assignedElements({ flatten: true });\n items.forEach(item => {\n if (item.updateNoTrailingSlash) {\n item.updateNoTrailingSlash(this.noTrailingSlash);\n }\n /* The state path across the boundary. Setting the property rather than\n the attribute keeps Lit's reflection in charge of the DOM. */\n if ('orientation' in item) {\n item.orientation = this._orientation;\n }\n });\n }\n\n /* Vertical below mobileBreakpoint, as a media query the browser evaluates:\n it says when the width crosses the breakpoint, so nothing reads the\n window's width on every resize. It was window.innerWidth on a debounced\n resize listener. The breakpoint is an attribute, so the query is built\n from it, and rebuilt when it changes.\n\n Strictly narrower, which is what the rest of the package means by a\n breakpoint: shared/token-scales.ts derives below('md') as max-width\n 767.98px so that exactly 768px is the wider layout. With <= this element\n was the one component that read 768 as mobile, so at that one width a\n page could show a vertical breadcrumb above a desktop anchor nav. */\n _viewportQuery() {\n return `(width < ${this.mobileBreakpoint}px)`;\n }\n\n render() {\n const orientation = this._orientation;\n\n return html`\n <nav class=\"bd-breadcrumb bd-breadcrumb--${orientation}\"\n aria-label=\"Breadcrumb\">\n <ol class=\"bd-breadcrumb__items\">\n <slot></slot>\n </ol>\n </nav>\n `;\n }\n\n static styles = [breadcrumbCSS];\n}\n\n@defineElement('bd-breadcrumb-item')\nexport class BreadcrumbItem extends LitElement {\n @property({ type: String })\n href = '';\n @property({ type: Boolean, reflect: true })\n current = false;\n @property({ type: Boolean })\n noTrailingSlash = false;\n /**\n * Set by the parent bd-breadcrumb, reflected so the item's own stylesheet\n * can read it. The item does not work this out for itself: the breakpoint\n * belongs to the breadcrumb, and two elements detecting the same viewport\n * separately is how they drift apart.\n */\n @property({ type: String, reflect: true })\n orientation: Orientation = 'horizontal';\n\n constructor() {\n super();\n /* Each item is an <li> of the breadcrumb's <ol> in the flattened tree, so\n a screen reader says \"list, 3 items\" and where the reader is in it. The\n role is the element's own, through ElementInternals, so no attribute is\n written on markup the page owns. */\n this.attachInternals().role = 'listitem';\n }\n\n updateNoTrailingSlash(value: boolean) {\n this.noTrailingSlash = value;\n this.requestUpdate();\n }\n\n render() {\n const showDivider = !this.current && !this.noTrailingSlash;\n\n /* Three shapes, one type size.\n\n The links used to be written `size=\"small\"`. bd-link has no `size`\n property -- its type step is `font-size`, resolved through the closed set\n in shared/token-scales.ts -- so the attribute sat in the DOM doing\n nothing and the links rendered at 16px beside a 14px current item.\n Measured: 43x24 and 64x24 link boxes against an 86x37 current one, in a\n row that is meant to read as one line of text.\n\n The current item's weight is on bd-p rather than on the span around it,\n for the same reason: --typography-fontWeight-medium was declared on the\n host and the text is inside bd-p's own paragraph, which sets its own\n weight and won. So the one cue that was not colour did not render, and\n the current location was smaller and no heavier than its ancestors. */\n const content = this.current\n ? html`<span class=\"bd-breadcrumb__item bd-breadcrumb__item--current\" aria-current=\"page\">\n <bd-p variant=\"small\" font-weight=\"medium\"><slot></slot></bd-p>\n </span>`\n : this.href\n ? html`<bd-link href=\"${this.href}\" font-size=\"sm\" class=\"bd-breadcrumb__item\">\n <slot></slot>\n </bd-link>`\n : html`<span class=\"bd-breadcrumb__item\">\n <bd-p variant=\"small\"><slot></slot></bd-p>\n </span>`;\n\n return html`\n <div class=\"bd-breadcrumb-item\">\n ${content}\n ${showDivider ? html`<span class=\"bd-breadcrumb__divider\" aria-hidden=\"true\">/</span>` : ''}\n </div>\n `;\n }\n\n static styles = [breadcrumbCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-breadcrumb' : Breadcrumb;\n 'bd-breadcrumb-item': BreadcrumbItem;\n }\n}\n"],"mappings":"A,gbAaO,IAAMI,EAAN,cAAyBC,CAAW,CAUzC,aAAc,CACZ,MAAM,EATU,KAAA,gBAAA,GAEC,KAAA,iBAAA,IAEP,KAAA,UAAA,GAMV,KAAK,UAAY,IAAIC,EAAqB,KAAM,KAAK,eAAe,EAAG,GAAU,CAAE,KAAK,UAAYC,CAAQ,CAAC,CAC/G,CAEA,WAAW,EAAyC,CAC9CC,EAAkB,IAAI,kBAAkB,IAAG,KAAK,UAAU,MAAQ,KAAK,eAAe,EAC5F,CAEA,cAAe,CACb,KAAK,kBAAkB,EAGvB,KAAK,YAAY,cAAc,MAAM,CAAC,EAClC,iBAAiB,iBAAoB,KAAK,kBAAkB,CAAC,CACnE,CAEA,QAAQ,EAAyC,EAI3CA,EAAkB,IAAI,iBAAiB,GAAKA,EAAkB,IAAI,WAAW,IAC/E,KAAK,kBAAkB,CAE3B,CAEA,IAAI,cAA4B,CAC9B,OAAO,KAAK,UAAY,WAAa,YACvC,CAEA,mBAAoB,CAClB,IAAMC,EAAO,KAAK,YAAY,cAAc,MAAM,EAC7CA,GAGLA,EADuF,iBAAiB,CAAE,QAAS,EAAK,CACxH,CAAA,CAAM,QAAQ,GAAQ,CAChBC,EAAK,uBACPA,EAAK,sBAAsB,KAAK,eAAe,EAI7C,gBAAiBA,IACnB,EAAK,YAAc,KAAK,aAE5B,CAAC,CACH,CAaA,gBAAiB,CACf,MAAO,YAAY,KAAK,iBAAiB,IAC3C,CAEA,QAAS,CACP,IAAMC,EAAc,KAAK,aAEzB,MAAO,EAAI;iDACkCA,EAAY;;;;;;KAO3D,C,OAEgB,KAAA,OAAA,CAACX,CAAa,C,CAChC,EArFGC,EAAA,CAAAW,EAAS,CAAE,KAAM,QAAS,UAAW,mBAAoB,CAAC,CAAA,EAAAR,EAAA,UAAA,kBAAA,IAAA,EAAA,EAE1DH,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,UAAW,mBAAoB,CAAC,CAAA,EAAAR,EAAA,UAAA,mBAAA,IAAA,EAAA,EAEzDH,EAAA,CAAAY,EAAM,CAAA,EAAAT,EAAA,UAAA,YAAA,IAAA,EAAA,EANR,EAAAH,EAAA,CAAAa,EAAc,eAAe,CAAA,EAAAV,CAAA,EA0FvB,IAAMW,EAAN,cAA6BV,CAAW,CAgB7C,aAAc,CACZ,MAAM,EAfD,KAAA,KAAA,GAEG,KAAA,QAAA,GAEQ,KAAA,gBAAA,GAQS,KAAA,YAAA,aAQzB,KAAK,gBAAgB,CAAC,CAAC,KAAO,UAChC,CAEA,sBAAsB,EAAgB,CACpC,KAAK,gBAAkBW,EACvB,KAAK,cAAc,CACrB,CAEA,QAAS,CACP,IAAMC,EAAc,CAAC,KAAK,SAAW,CAAC,KAAK,gBAgBrCC,EAAU,KAAK,QACjB,CAAI;;iBAGJ,KAAK,KACH,CAAI,kBAAkB,KAAK,KAAK;;sBAGhC,CAAI;;mBAIV,MAAO,EAAI;;UAELA,EAAQ;UACRD,EAAc,CAAI,mEAAqE,GAAG;;KAGlG,C,OAEgB,KAAA,OAAA,CAACjB,CAAa,C,CAChC,EAnEGC,EAAA,CAAAW,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAG,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBd,EAAA,CAAAW,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAG,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzCd,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,CAAC,CAAA,EAAAG,EAAA,UAAA,kBAAA,IAAA,EAAA,EAQ1Bd,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAG,EAAA,UAAA,cAAA,IAAA,EAAA,EAd1C,EAAAd,EAAA,CAAAa,EAAc,oBAAoB,CAAA,EAAAC,CAAA,E"}
1
+ {"version":3,"file":"breadcrumb.js","names":["breadcrumbCSS","_decorate","__decorate","breadcrumb_css_default","Breadcrumb","LitElement","MediaQueryController","mobile","changedProperties","slot","item","orientation","property","state","defineElement","BreadcrumbItem","value","showDivider","content"],"sources":["../../../../src/components/breadcrumb/breadcrumb.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { defineElement } from '#shared/define-element.ts';\nimport { MediaQueryController } from '#shared/controller.media-query.ts';\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport '#components/link/link.ts';\nimport '#components/p/p.ts';\nimport breadcrumbCSS from './breadcrumb.css.ts';\n\ntype Orientation = 'horizontal' | 'vertical';\n\n@defineElement('bd-breadcrumb')\nexport class Breadcrumb extends LitElement {\n @property({ type: Boolean, attribute: 'without-trailing-slash' })\n withoutTrailingSlash = false;\n @property({ type: Number, attribute: 'mobile-breakpoint' })\n mobileBreakpoint = 768;\n @state()\n _isMobile = false;\n\n _viewport: MediaQueryController;\n\n constructor() {\n super();\n this._viewport = new MediaQueryController(this, this._viewportQuery(), mobile => { this._isMobile = mobile; });\n }\n\n willUpdate(changedProperties: PropertyValues<this>) {\n if (changedProperties.has('mobileBreakpoint')) this._viewport.query = this._viewportQuery();\n }\n\n firstUpdated() {\n this._updateChildItems();\n /* Items slotted later still have to be told, or they render with the\n constructor default. */\n this.shadowRoot?.querySelector('slot')\n ?.addEventListener('slotchange', () => this._updateChildItems());\n }\n\n updated(changedProperties: PropertyValues<this>) {\n /* _isMobile is the orientation, so a change to it has to reach the items\n as well as the nav; without this the class on the nav flipped and the\n items kept the styling of the layout they had left. */\n if (changedProperties.has('withoutTrailingSlash') || changedProperties.has('_isMobile')) {\n this._updateChildItems();\n }\n }\n\n get _orientation(): Orientation {\n return this._isMobile ? 'vertical' : 'horizontal';\n }\n\n _updateChildItems() {\n const slot = this.shadowRoot?.querySelector('slot');\n if (!slot) return;\n\n const items: (Element & { updateWithoutTrailingSlash?: (value: boolean) => void })[] = slot.assignedElements({ flatten: true });\n items.forEach(item => {\n if (item.updateWithoutTrailingSlash) {\n item.updateWithoutTrailingSlash(this.withoutTrailingSlash);\n }\n /* The state path across the boundary. Setting the property rather than\n the attribute keeps Lit's reflection in charge of the DOM. */\n if ('orientation' in item) {\n item.orientation = this._orientation;\n }\n });\n }\n\n /* Vertical below mobileBreakpoint, as a media query the browser evaluates:\n it says when the width crosses the breakpoint, so nothing reads the\n window's width on every resize. It was window.innerWidth on a debounced\n resize listener. The breakpoint is an attribute, so the query is built\n from it, and rebuilt when it changes.\n\n Strictly narrower, which is what the rest of the package means by a\n breakpoint: shared/token-scales.ts derives below('md') as max-width\n 767.98px so that exactly 768px is the wider layout. With <= this element\n was the one component that read 768 as mobile, so at that one width a\n page could show a vertical breadcrumb above a desktop anchor nav. */\n _viewportQuery() {\n return `(width < ${this.mobileBreakpoint}px)`;\n }\n\n render() {\n const orientation = this._orientation;\n\n return html`\n <nav class=\"bd-breadcrumb bd-breadcrumb--${orientation}\"\n aria-label=\"Breadcrumb\">\n <ol class=\"bd-breadcrumb__items\">\n <slot></slot>\n </ol>\n </nav>\n `;\n }\n\n static styles = [breadcrumbCSS];\n}\n\n@defineElement('bd-breadcrumb-item')\nexport class BreadcrumbItem extends LitElement {\n @property({ type: String })\n href = '';\n @property({ type: Boolean, reflect: true })\n current = false;\n /** Pushed by the parent bd-breadcrumb's `without-trailing-slash`. */\n @property({ type: Boolean, attribute: 'without-trailing-slash' })\n withoutTrailingSlash = false;\n /**\n * Set by the parent bd-breadcrumb, reflected so the item's own stylesheet\n * can read it. The item does not work this out for itself: the breakpoint\n * belongs to the breadcrumb, and two elements detecting the same viewport\n * separately is how they drift apart.\n */\n @property({ type: String, reflect: true })\n orientation: Orientation = 'horizontal';\n\n constructor() {\n super();\n /* Each item is an <li> of the breadcrumb's <ol> in the flattened tree, so\n a screen reader says \"list, 3 items\" and where the reader is in it. The\n role is the element's own, through ElementInternals, so no attribute is\n written on markup the page owns. */\n this.attachInternals().role = 'listitem';\n }\n\n updateWithoutTrailingSlash(value: boolean) {\n this.withoutTrailingSlash = value;\n this.requestUpdate();\n }\n\n render() {\n const showDivider = !this.current && !this.withoutTrailingSlash;\n\n /* Three shapes, one type size.\n\n The links used to be written `size=\"small\"`. bd-link has no `size`\n property -- its type step is `font-size`, resolved through the closed set\n in shared/token-scales.ts -- so the attribute sat in the DOM doing\n nothing and the links rendered at 16px beside a 14px current item.\n Measured: 43x24 and 64x24 link boxes against an 86x37 current one, in a\n row that is meant to read as one line of text.\n\n The current item's weight is on bd-p rather than on the span around it,\n for the same reason: --typography-fontWeight-medium was declared on the\n host and the text is inside bd-p's own paragraph, which sets its own\n weight and won. So the one cue that was not colour did not render, and\n the current location was smaller and no heavier than its ancestors. */\n const content = this.current\n ? html`<span class=\"bd-breadcrumb__item bd-breadcrumb__item--current\" aria-current=\"page\">\n <bd-p appearance=\"small\" font-weight=\"medium\"><slot></slot></bd-p>\n </span>`\n : this.href\n ? html`<bd-link href=\"${this.href}\" font-size=\"sm\" class=\"bd-breadcrumb__item\">\n <slot></slot>\n </bd-link>`\n : html`<span class=\"bd-breadcrumb__item\">\n <bd-p appearance=\"small\"><slot></slot></bd-p>\n </span>`;\n\n return html`\n <div class=\"bd-breadcrumb-item\">\n ${content}\n ${showDivider ? html`<span class=\"bd-breadcrumb__divider\" aria-hidden=\"true\">/</span>` : ''}\n </div>\n `;\n }\n\n static styles = [breadcrumbCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-breadcrumb' : Breadcrumb;\n 'bd-breadcrumb-item': BreadcrumbItem;\n }\n}\n"],"mappings":"A,gaAaO,IAAMI,EAAN,cAAyBC,CAAW,CAUzC,aAAc,CACZ,MAAM,EATe,KAAA,qBAAA,GAEJ,KAAA,iBAAA,IAEP,KAAA,UAAA,GAMV,KAAK,UAAY,IAAIC,EAAqB,KAAM,KAAK,eAAe,EAAG,GAAU,CAAE,KAAK,UAAYC,CAAQ,CAAC,CAC/G,CAEA,WAAW,EAAyC,CAC9CC,EAAkB,IAAI,kBAAkB,IAAG,KAAK,UAAU,MAAQ,KAAK,eAAe,EAC5F,CAEA,cAAe,CACb,KAAK,kBAAkB,EAGvB,KAAK,YAAY,cAAc,MAAM,CAAC,EAClC,iBAAiB,iBAAoB,KAAK,kBAAkB,CAAC,CACnE,CAEA,QAAQ,EAAyC,EAI3CA,EAAkB,IAAI,sBAAsB,GAAKA,EAAkB,IAAI,WAAW,IACpF,KAAK,kBAAkB,CAE3B,CAEA,IAAI,cAA4B,CAC9B,OAAO,KAAK,UAAY,WAAa,YACvC,CAEA,mBAAoB,CAClB,IAAMC,EAAO,KAAK,YAAY,cAAc,MAAM,EAC7CA,GAGLA,EAD4F,iBAAiB,CAAE,QAAS,EAAK,CAC7H,CAAA,CAAM,QAAQ,GAAQ,CAChBC,EAAK,4BACPA,EAAK,2BAA2B,KAAK,oBAAoB,EAIvD,gBAAiBA,IACnB,EAAK,YAAc,KAAK,aAE5B,CAAC,CACH,CAaA,gBAAiB,CACf,MAAO,YAAY,KAAK,iBAAiB,IAC3C,CAEA,QAAS,CACP,IAAMC,EAAc,KAAK,aAEzB,MAAO,EAAI;iDACkCA,EAAY;;;;;;KAO3D,C,OAEgB,KAAA,OAAA,CAACX,CAAa,C,CAChC,EArFGC,EAAA,CAAAW,EAAS,CAAE,KAAM,QAAS,UAAW,wBAAyB,CAAC,CAAA,EAAAR,EAAA,UAAA,uBAAA,IAAA,EAAA,EAE/DH,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,UAAW,mBAAoB,CAAC,CAAA,EAAAR,EAAA,UAAA,mBAAA,IAAA,EAAA,EAEzDH,EAAA,CAAAY,EAAM,CAAA,EAAAT,EAAA,UAAA,YAAA,IAAA,EAAA,EANR,EAAAH,EAAA,CAAAa,EAAc,eAAe,CAAA,EAAAV,CAAA,EA0FvB,IAAMW,EAAN,cAA6BV,CAAW,CAiB7C,aAAc,CACZ,MAAM,EAhBD,KAAA,KAAA,GAEG,KAAA,QAAA,GAGa,KAAA,qBAAA,GAQI,KAAA,YAAA,aAQzB,KAAK,gBAAgB,CAAC,CAAC,KAAO,UAChC,CAEA,2BAA2B,EAAgB,CACzC,KAAK,qBAAuBW,EAC5B,KAAK,cAAc,CACrB,CAEA,QAAS,CACP,IAAMC,EAAc,CAAC,KAAK,SAAW,CAAC,KAAK,qBAgBrCC,EAAU,KAAK,QACjB,CAAI;;iBAGJ,KAAK,KACH,CAAI,kBAAkB,KAAK,KAAK;;sBAGhC,CAAI;;mBAIV,MAAO,EAAI;;UAELA,EAAQ;UACRD,EAAc,CAAI,mEAAqE,GAAG;;KAGlG,C,OAEgB,KAAA,OAAA,CAACjB,CAAa,C,CAChC,EApEGC,EAAA,CAAAW,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAG,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBd,EAAA,CAAAW,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAG,EAAA,UAAA,UAAA,IAAA,EAAA,EAGzCd,EAAA,CAAAW,EAAS,CAAE,KAAM,QAAS,UAAW,wBAAyB,CAAC,CAAA,EAAAG,EAAA,UAAA,uBAAA,IAAA,EAAA,EAQ/Dd,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAG,EAAA,UAAA,cAAA,IAAA,EAAA,EAf1C,EAAAd,EAAA,CAAAa,EAAc,oBAAoB,CAAA,EAAAC,CAAA,E"}
@@ -1,2 +1,2 @@
1
- import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{--bd-button-primary-bg:var(--button-primary-background-default);--bd-button-primary-bg-hover:var(--button-primary-background-hover);--bd-button-primary-bg-active:var(--button-primary-background-active);--bd-button-primary-text:var(--button-primary-text-default);--bd-button-secondary-bg:var(--button-secondary-background-default);--bd-button-secondary-bg-hover:var(--button-secondary-background-hover);--bd-button-secondary-bg-active:var(--button-secondary-background-active);--bd-button-secondary-text:var(--button-secondary-text-default);--bd-button-tertiary-text:var(--button-tertiary-text-default);--bd-button-tertiary-border:var(--button-tertiary-border-default);--bd-button-tertiary-bg-hover:var(--button-tertiary-background-hover);--bd-button-tertiary-text-hover:var(--button-tertiary-text-hover);--bd-button-tertiary-border-hover:var(--button-tertiary-border-hover);--bd-button-tertiary-bg-active:var(--button-tertiary-background-active);--bd-button-tertiary-text-active:var(--button-tertiary-text-active);--bd-button-ghost-text:var(--button-ghost-text-default);--bd-button-ghost-border:var(--button-ghost-border-default);--bd-button-ghost-bg-hover:var(--button-ghost-background-hover);--bd-button-ghost-text-hover:var(--button-ghost-text-hover);--bd-button-ghost-bg-active:var(--button-ghost-background-active);--bd-button-ghost-text-active:var(--button-ghost-text-active);--bd-button-accent-bg:var(--button-accent-background-default);--bd-button-accent-bg-hover:var(--button-accent-background-hover);--bd-button-accent-bg-active:var(--button-accent-background-active);--bd-button-accent-text:var(--button-accent-text-default);--bd-button-white-bg:var(--button-white-background-default);--bd-button-white-bg-hover:var(--button-white-background-hover);--bd-button-white-bg-active:var(--button-white-background-active);--bd-button-white-text:var(--button-white-text-default);--bd-button-outline-white-text:var(--button-outline-white-text-default);--bd-button-outline-white-border:var(--button-outline-white-border-default);--bd-button-outline-white-bg-hover:var(--button-outline-white-background-hover);--bd-button-outline-white-bg-active:var(--button-outline-white-background-active);--bd-button-disabled-bg:var(--button-disabled-backgroundColor);--bd-button-disabled-text:var(--button-disabled-color);--bd-button-disabled-border:var(--button-disabled-borderColor);--bd-button-accent-ring:var(--button-accent-ring-default);--bd-button-focus-ring:var(--button-shared-focus-outline);--bd-button-border-width:var(--border-width-2);display:inline-flex}:host(:not([icon-only])),:where(.button:not(.button--icon-only)){width:var(--bd-button-width,auto)}:host([align=center]){justify-content:center;width:100%;display:flex}:host([align=right]){justify-content:flex-end;width:100%;display:flex}:host([align=left]){justify-content:flex-start;display:inline-flex}:host([fullwidth]){width:100%;display:block}:host([align=center][fullwidth]) .button,:host([align=right][fullwidth]) .button{width:100%}.max--width{width:100%;display:flex}.button:focus-visible{outline:var(--bd-button-focus-ring);outline-offset:var(--button-shared-focus-outlineOffset)}.button--white:focus-visible,.button--outline-white:focus-visible{outline:var(--focus-outline-traditional-inverse)}a.button{text-decoration:none}.button,.bd-contact-btn{text-align:center;cursor:pointer;font-family:var(--typography-fontFamily-sans);font-weight:var(--typography-control-label-large-fontWeight);line-height:var(--typography-control-label-large-lineHeight);vertical-align:middle;box-sizing:border-box;--bd-button-edge:0 0 0 0 transparent;box-shadow:var(--bd-button-edge);transition:background-color var(--transition-duration-normal) var(--transition-easing-smooth), box-shadow var(--transition-duration-normal) var(--transition-easing-smooth), color var(--transition-duration-normal) var(--transition-easing-smooth);border:none;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.button.bd-contact-btn{color:var(--color-text-brand);gap:var(--spacing-8);padding:var(--spacing-12) var(--spacing-16);border-radius:var(--button-medium-borderRadius);background-color:#0000}.button--small{padding:var(--button-small-padding);font-size:var(--button-small-fontSize);border-radius:var(--button-small-borderRadius);gap:var(--button-small-gap)}.button--medium{padding:var(--button-medium-padding);font-size:var(--button-medium-fontSize);border-radius:var(--button-medium-borderRadius);gap:var(--button-medium-gap)}.button--large{padding:var(--button-large-padding);font-size:var(--button-large-fontSize);border-radius:var(--button-large-borderRadius);gap:var(--button-large-gap)}.button--responsive{padding:var(--button-medium-padding);font-size:var(--button-medium-fontSize);border-radius:var(--button-medium-borderRadius);gap:var(--button-medium-gap)}@media (width>=992px){.button--responsive{padding:var(--button-large-padding);font-size:var(--button-large-fontSize);border-radius:var(--button-large-borderRadius);gap:var(--button-large-gap)}}.button--bold{font-weight:var(--typography-fontWeight-semibold)}.button--rounded{border-radius:var(--shape-radius-3xl)}.button__label{display:inline-block}.button--with-arrow{--_dir:1;position:relative;overflow:hidden}:host(:dir(rtl)) .button--with-arrow{--_dir:-1}.button--with-arrow .button__label{transition:transform var(--transition-duration-normal) var(--transition-easing-smooth)}.button--with-arrow .button__arrow{top:50%;opacity:0;transform:translate(calc(-1 * var(--_dir) * var(--spacing-8)), -50%);transition:opacity var(--transition-duration-normal) var(--transition-easing-smooth), transform var(--transition-duration-normal) var(--transition-easing-smooth);pointer-events:none;position:absolute;inset-inline-end:var(--spacing-12)}.button--with-arrow:focus-visible .button__label{transform:translateX(calc(-1 * var(--_dir) * var(--spacing-12)))}.button--with-arrow:focus-visible .button__arrow{opacity:1;transform:translate(var(--spacing-0), -50%)}@media (hover:hover){.button--with-arrow:hover .button__label{transform:translateX(calc(-1 * var(--_dir) * var(--spacing-12)))}.button--with-arrow:hover .button__arrow{opacity:1;transform:translate(var(--spacing-0), -50%)}}.button--icon-only{line-height:var(--typography-lineHeight-none)}.button--icon-only.button--small{--bd-button-icon-size:var(--icon-sm-size);padding:var(--spacing-8);border-radius:var(--radius-full)}.button--icon-only.button--medium{--bd-button-icon-size:var(--icon-md-size);padding:var(--spacing-12);border-radius:var(--radius-full)}.button--icon-only.button--large{--bd-button-icon-size:var(--icon-lg-size);padding:var(--spacing-16);border-radius:var(--radius-full)}.button--icon-only.button--responsive{--bd-button-icon-size:var(--icon-md-size);padding:var(--spacing-12);border-radius:var(--radius-full)}@media (width>=992px){.button--icon-only.button--responsive{--bd-button-icon-size:var(--icon-lg-size);padding:var(--spacing-16)}}.button__icon{--bd-icon-size:var(--bd-button-icon-size)}.button--icon-only>::slotted(*){height:var(--bd-button-icon-size)}.button--icon-only .spinner{width:var(--bd-button-icon-size);height:var(--bd-button-icon-size)}.button--primary{background-color:var(--bd-button-primary-bg);color:var(--bd-button-primary-text)}.button--primary:hover{background-color:var(--bd-button-primary-bg-hover)}.button--primary:active{background-color:var(--bd-button-primary-bg-active)}.button--secondary{background-color:var(--bd-button-secondary-bg);color:var(--bd-button-secondary-text)}.button--secondary:hover{background-color:var(--bd-button-secondary-bg-hover)}.button--secondary:active{background-color:var(--bd-button-secondary-bg-active)}.button--tertiary{--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-border);color:var(--bd-button-tertiary-text);background-color:#0000}.button--tertiary:hover{background-color:var(--bd-button-tertiary-bg-hover);--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-border-hover);color:var(--bd-button-tertiary-text-hover)}.button--tertiary:active{background-color:var(--bd-button-tertiary-bg-active);--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-bg-active);color:var(--bd-button-tertiary-text-active)}.button--ghost{--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-ghost-border);color:var(--bd-button-ghost-text);background-color:#0000}.button--ghost:hover{background-color:var(--bd-button-ghost-bg-hover);color:var(--bd-button-ghost-text-hover)}.button--ghost:active{background-color:var(--bd-button-ghost-bg-active);--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-ghost-bg-active);color:var(--bd-button-ghost-text-active)}.button--accent{background-color:var(--bd-button-accent-bg);color:var(--bd-button-accent-text);--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-accent-ring)}.button--accent:hover{background-color:var(--bd-button-accent-bg-hover)}.button--accent:active{background-color:var(--bd-button-accent-bg-active)}:host([surface=dark]){--bd-button-primary-bg:var(--color-neutral-0);--bd-button-primary-bg-hover:var(--color-neutral-50);--bd-button-primary-bg-active:var(--color-neutral-100);--bd-button-primary-text:var(--color-text-brand);--bd-button-secondary-bg:var(--color-neutral-100);--bd-button-secondary-bg-hover:var(--color-neutral-50);--bd-button-secondary-bg-active:var(--color-neutral-0);--bd-button-secondary-text:var(--color-text-primary);--bd-button-tertiary-text:var(--color-text-inverse);--bd-button-tertiary-border:var(--color-neutral-0);--bd-button-tertiary-bg-hover:var(--color-neutral-0);--bd-button-tertiary-text-hover:var(--color-text-brand);--bd-button-tertiary-border-hover:var(--color-neutral-0);--bd-button-tertiary-bg-active:var(--color-neutral-50);--bd-button-tertiary-text-active:var(--color-text-brand);--bd-button-ghost-text:var(--color-text-inverse);--bd-button-ghost-border:transparent;--bd-button-ghost-bg-hover:var(--color-neutral-0);--bd-button-ghost-text-hover:var(--color-text-primary);--bd-button-ghost-bg-active:var(--color-neutral-50);--bd-button-ghost-text-active:var(--color-text-primary);--bd-button-accent-ring:var(--color-neutral-0);--bd-button-focus-ring:var(--focus-outline-traditional-inverse);--bd-button-disabled-bg:var(--color-neutral-700);--bd-button-disabled-text:var(--color-text-disabled);--bd-button-disabled-border:var(--color-neutral-600)}:host([surface=brand]){--bd-button-primary-bg:var(--color-brand-on-fill);--bd-button-primary-text:var(--color-action-primary);--bd-button-tertiary-text:var(--color-brand-on-fill);--bd-button-tertiary-border:var(--color-brand-on-fill);--bd-button-tertiary-bg-hover:var(--color-brand-on-fill);--bd-button-tertiary-text-hover:var(--color-action-primary);--bd-button-tertiary-border-hover:var(--color-brand-on-fill);--bd-button-tertiary-bg-active:var(--color-brand-on-fill);--bd-button-tertiary-text-active:var(--color-action-primary);--bd-button-ghost-text:var(--color-brand-on-fill);--bd-button-ghost-border:transparent;--bd-button-ghost-bg-hover:var(--color-brand-on-fill);--bd-button-ghost-text-hover:var(--color-action-primary);--bd-button-ghost-bg-active:var(--color-brand-on-fill);--bd-button-ghost-text-active:var(--color-action-primary);--bd-button-accent-ring:var(--color-brand-on-fill);--bd-button-focus-ring:var(--focus-outline-traditional-on-brand);--bd-button-disabled-bg:color-mix(in srgb, var(--color-brand-on-fill) 20%, transparent);--bd-button-disabled-text:color-mix(in srgb, var(--color-brand-on-fill) 55%, transparent);--bd-button-disabled-border:color-mix(in srgb, var(--color-brand-on-fill) 40%, transparent)}:host([surface=brand]) .button--primary:hover,:host([surface=brand]) .button--primary:active{--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--color-brand-on-fill);color:var(--color-brand-on-fill);background-color:#0000}:host([surface=brand]) .button--secondary:not(:disabled,[aria-disabled=true]){--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--color-brand-on-fill)}.button:disabled,.button[aria-disabled=true]{cursor:not-allowed;pointer-events:none;background-color:var(--bd-button-disabled-bg);--bd-button-edge:0 0 0 0 transparent;color:var(--bd-button-disabled-text)}.button--tertiary:disabled,.button--ghost:disabled,.button--tertiary[aria-disabled=true],.button--ghost[aria-disabled=true]{--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-disabled-border);color:var(--bd-button-disabled-text);background-color:#0000}.button--loading{cursor:progress;pointer-events:none}.spinner{box-sizing:border-box;border:var(--border-width-2) solid currentColor;border-radius:var(--radius-full);width:1em;height:1em;animation:bd-button-spin var(--transition-duration-slower) var(--transition-easing-linear) infinite;border-top-color:#0000;flex:none}@keyframes bd-button-spin{to{transform:rotate(360deg)}}.button__label>::slotted(*){text-align:center;display:inline-block}@media (forced-colors:active){.button--tertiary,.button--ghost{border:var(--bd-button-border-width) solid currentColor}}@media (prefers-reduced-motion:reduce){.button,.bd-contact-btn,.button__label,.button__arrow{transition:none!important}.spinner{animation:bd-button-pulse var(--transition-duration-slower) var(--transition-easing-smooth) infinite alternate;border-top-color:currentColor}@keyframes bd-button-pulse{to{opacity:var(--opacity-pulse)}}}.button--white{background-color:var(--bd-button-white-bg);color:var(--bd-button-white-text)}.button--white:hover{background-color:var(--bd-button-white-bg-hover)}.button--white:active{background-color:var(--bd-button-white-bg-active)}.button--outline-white{--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-outline-white-border);color:var(--bd-button-outline-white-text);background-color:#0000}.button--outline-white:hover{background-color:var(--bd-button-outline-white-bg-hover)}.button--outline-white:active{background-color:var(--bd-button-outline-white-bg-active)}`;export{t as default};
1
+ import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{--bd-button-primary-bg:var(--button-primary-background-default);--bd-button-primary-bg-hover:var(--button-primary-background-hover);--bd-button-primary-bg-active:var(--button-primary-background-active);--bd-button-primary-text:var(--button-primary-text-default);--bd-button-secondary-bg:var(--button-secondary-background-default);--bd-button-secondary-bg-hover:var(--button-secondary-background-hover);--bd-button-secondary-bg-active:var(--button-secondary-background-active);--bd-button-secondary-text:var(--button-secondary-text-default);--bd-button-tertiary-text:var(--button-tertiary-text-default);--bd-button-tertiary-border:var(--button-tertiary-border-default);--bd-button-tertiary-bg-hover:var(--button-tertiary-background-hover);--bd-button-tertiary-text-hover:var(--button-tertiary-text-hover);--bd-button-tertiary-border-hover:var(--button-tertiary-border-hover);--bd-button-tertiary-bg-active:var(--button-tertiary-background-active);--bd-button-tertiary-text-active:var(--button-tertiary-text-active);--bd-button-ghost-text:var(--button-ghost-text-default);--bd-button-ghost-border:var(--button-ghost-border-default);--bd-button-ghost-bg-hover:var(--button-ghost-background-hover);--bd-button-ghost-text-hover:var(--button-ghost-text-hover);--bd-button-ghost-bg-active:var(--button-ghost-background-active);--bd-button-ghost-text-active:var(--button-ghost-text-active);--bd-button-plain-text:var(--color-text-brand);--bd-button-plain-bg-hover:var(--color-surface-muted);--bd-button-plain-text-hover:var(--color-text-brand-hover);--bd-button-plain-bg-active:var(--color-surface-pressed);--bd-button-plain-text-active:var(--color-text-brand-hover);--bd-button-accent-bg:var(--button-accent-background-default);--bd-button-accent-bg-hover:var(--button-accent-background-hover);--bd-button-accent-bg-active:var(--button-accent-background-active);--bd-button-accent-text:var(--button-accent-text-default);--bd-button-white-bg:var(--button-white-background-default);--bd-button-white-bg-hover:var(--button-white-background-hover);--bd-button-white-bg-active:var(--button-white-background-active);--bd-button-white-text:var(--button-white-text-default);--bd-button-outline-white-text:var(--button-outline-white-text-default);--bd-button-outline-white-border:var(--button-outline-white-border-default);--bd-button-outline-white-bg-hover:var(--button-outline-white-background-hover);--bd-button-outline-white-bg-active:var(--button-outline-white-background-active);--bd-button-disabled-bg:var(--button-disabled-backgroundColor);--bd-button-disabled-text:var(--button-disabled-color);--bd-button-disabled-border:var(--button-disabled-borderColor);--bd-button-accent-ring:var(--button-accent-ring-default);--bd-button-focus-ring:var(--button-shared-focus-outline);--bd-button-border-width:var(--border-width-2);width:var(--bd-button-width,auto);display:inline-flex}:where(.button:not(.button--icon-only)){width:var(--bd-button-width,auto)}:host([align=center]){justify-content:center;width:100%;display:flex}:host([align=right]){justify-content:flex-end;width:100%;display:flex}:host([align=left]){justify-content:flex-start;display:inline-flex}:host([full-width]){width:100%;display:block}:host([align=center][full-width]) .button,:host([align=right][full-width]) .button{width:100%}.max--width{width:100%;display:flex}.button:focus-visible{outline:var(--bd-button-focus-ring);outline-offset:var(--button-shared-focus-outlineOffset)}.button--white:focus-visible,.button--outline-white:focus-visible{outline:var(--focus-outline-traditional-inverse)}a.button{text-decoration:none}.button{text-align:center;cursor:pointer;font-family:var(--typography-fontFamily-sans);font-weight:var(--typography-control-label-large-fontWeight);line-height:var(--typography-control-label-large-lineHeight);vertical-align:middle;box-sizing:border-box;--bd-button-edge:0 0 0 0 transparent;box-shadow:var(--bd-button-edge);transition:background-color var(--transition-duration-normal) var(--transition-easing-smooth), box-shadow var(--transition-duration-normal) var(--transition-easing-smooth), color var(--transition-duration-normal) var(--transition-easing-smooth);border:none;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.button--small{--bd-button-icon-size:var(--icon-sm-size);padding:var(--button-small-padding);font-size:var(--button-small-fontSize);border-radius:var(--button-small-borderRadius);gap:var(--button-small-gap)}.button--medium{--bd-button-icon-size:var(--icon-md-size);padding:var(--button-medium-padding);font-size:var(--button-medium-fontSize);border-radius:var(--button-medium-borderRadius);gap:var(--button-medium-gap)}.button--large{--bd-button-icon-size:var(--icon-lg-size);padding:var(--button-large-padding);font-size:var(--button-large-fontSize);border-radius:var(--button-large-borderRadius);gap:var(--button-large-gap)}.button--responsive{--bd-button-icon-size:var(--icon-md-size);padding:var(--button-medium-padding);font-size:var(--button-medium-fontSize);border-radius:var(--button-medium-borderRadius);gap:var(--button-medium-gap)}@media (width>=992px){.button--responsive{--bd-button-icon-size:var(--icon-lg-size);padding:var(--button-large-padding);font-size:var(--button-large-fontSize);border-radius:var(--button-large-borderRadius);gap:var(--button-large-gap)}}slot[name=start]::slotted(*),slot[name=end]::slotted(*){--bd-icon-size:var(--bd-button-icon-size);flex:none}.button__label[hidden]{display:none}.button--bold{font-weight:var(--typography-fontWeight-semibold)}.button--rounded{border-radius:var(--shape-radius-3xl)}.button__label{display:inline-block}.button--with-arrow{--_dir:1;position:relative;overflow:hidden}:host(:dir(rtl)) .button--with-arrow{--_dir:-1}.button--with-arrow .button__label{transition:transform var(--transition-duration-normal) var(--transition-easing-smooth)}.button--with-arrow .button__arrow{top:50%;opacity:0;transform:translate(calc(-1 * var(--_dir) * var(--spacing-8)), -50%);transition:opacity var(--transition-duration-normal) var(--transition-easing-smooth), transform var(--transition-duration-normal) var(--transition-easing-smooth);pointer-events:none;position:absolute;inset-inline-end:var(--spacing-12)}.button--with-arrow:focus-visible .button__label{transform:translateX(calc(-1 * var(--_dir) * var(--spacing-12)))}.button--with-arrow:focus-visible .button__arrow{opacity:1;transform:translate(var(--spacing-0), -50%)}@media (hover:hover){.button--with-arrow:hover .button__label{transform:translateX(calc(-1 * var(--_dir) * var(--spacing-12)))}.button--with-arrow:hover .button__arrow{opacity:1;transform:translate(var(--spacing-0), -50%)}}.button--icon-only{line-height:var(--typography-lineHeight-none)}.button--icon-only.button--small{padding:var(--spacing-8);border-radius:var(--radius-full)}.button--icon-only.button--medium{padding:var(--spacing-12);border-radius:var(--radius-full)}.button--icon-only.button--large{padding:var(--spacing-16);border-radius:var(--radius-full)}.button--icon-only.button--responsive{padding:var(--spacing-12);border-radius:var(--radius-full)}@media (width>=992px){.button--icon-only.button--responsive{padding:var(--spacing-16)}}.button--icon-only .button__label{display:contents}.button--icon-only.button--loading .button__label{display:none}.button--icon-only .button__label>::slotted(*){--bd-icon-size:var(--bd-button-icon-size);height:var(--bd-button-icon-size)}.button--icon-only .spinner{width:var(--bd-button-icon-size);height:var(--bd-button-icon-size)}.button--primary{background-color:var(--bd-button-primary-bg);color:var(--bd-button-primary-text)}.button--primary:hover{background-color:var(--bd-button-primary-bg-hover)}.button--primary:active{background-color:var(--bd-button-primary-bg-active)}.button--secondary{background-color:var(--bd-button-secondary-bg);color:var(--bd-button-secondary-text)}.button--secondary:hover{background-color:var(--bd-button-secondary-bg-hover)}.button--secondary:active{background-color:var(--bd-button-secondary-bg-active)}.button--tertiary{--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-border);color:var(--bd-button-tertiary-text);background-color:#0000}.button--tertiary:hover{background-color:var(--bd-button-tertiary-bg-hover);--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-border-hover);color:var(--bd-button-tertiary-text-hover)}.button--tertiary:active{background-color:var(--bd-button-tertiary-bg-active);--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-bg-active);color:var(--bd-button-tertiary-text-active)}.button--ghost{--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-ghost-border);color:var(--bd-button-ghost-text);background-color:#0000}.button--ghost:hover{background-color:var(--bd-button-ghost-bg-hover);color:var(--bd-button-ghost-text-hover)}.button--ghost:active{background-color:var(--bd-button-ghost-bg-active);--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-ghost-bg-active);color:var(--bd-button-ghost-text-active)}.button--plain{color:var(--bd-button-plain-text);gap:var(--spacing-8);padding:var(--spacing-12) var(--spacing-16);background-color:#0000}.button--plain:where(:not(.button--rounded,.button--icon-only)){border-radius:var(--button-medium-borderRadius)}.button--plain.button--responsive:not(.button--icon-only){--bd-button-icon-size:var(--icon-sm-size);font-size:var(--button-medium-fontSize)}.button--plain:hover{background-color:var(--bd-button-plain-bg-hover);color:var(--bd-button-plain-text-hover)}.button--plain:active{background-color:var(--bd-button-plain-bg-active);color:var(--bd-button-plain-text-active)}.button--accent{background-color:var(--bd-button-accent-bg);color:var(--bd-button-accent-text);--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-accent-ring)}.button--accent:hover{background-color:var(--bd-button-accent-bg-hover)}.button--accent:active{background-color:var(--bd-button-accent-bg-active)}:host([surface=dark]){color-scheme:light;--bd-button-primary-bg:var(--color-neutral-0);--bd-button-primary-bg-hover:var(--color-neutral-50);--bd-button-primary-bg-active:var(--color-neutral-100);--bd-button-primary-text:var(--color-text-brand);--bd-button-secondary-bg:var(--color-neutral-100);--bd-button-secondary-bg-hover:var(--color-neutral-50);--bd-button-secondary-bg-active:var(--color-neutral-0);--bd-button-secondary-text:var(--color-text-primary);--bd-button-tertiary-text:var(--color-text-inverse);--bd-button-tertiary-border:var(--color-neutral-0);--bd-button-tertiary-bg-hover:var(--color-neutral-0);--bd-button-tertiary-text-hover:var(--color-text-brand);--bd-button-tertiary-border-hover:var(--color-neutral-0);--bd-button-tertiary-bg-active:var(--color-neutral-50);--bd-button-tertiary-text-active:var(--color-text-brand);--bd-button-ghost-text:var(--color-text-inverse);--bd-button-ghost-border:transparent;--bd-button-ghost-bg-hover:var(--color-neutral-0);--bd-button-ghost-text-hover:var(--color-text-primary);--bd-button-ghost-bg-active:var(--color-neutral-50);--bd-button-ghost-text-active:var(--color-text-primary);--bd-button-plain-text:var(--color-text-inverse);--bd-button-plain-bg-hover:var(--color-neutral-0);--bd-button-plain-text-hover:var(--color-text-brand);--bd-button-plain-bg-active:var(--color-neutral-50);--bd-button-plain-text-active:var(--color-text-brand);--bd-button-accent-ring:var(--color-neutral-0);--bd-button-focus-ring:var(--focus-outline-traditional-inverse);--bd-button-disabled-bg:var(--color-neutral-700);--bd-button-disabled-text:var(--color-text-disabled);--bd-button-disabled-border:var(--color-neutral-600)}:host([surface=brand]){--bd-button-primary-bg:var(--color-brand-on-fill);--bd-button-primary-text:var(--color-action-primary);--bd-button-tertiary-text:var(--color-brand-on-fill);--bd-button-tertiary-border:var(--color-brand-on-fill);--bd-button-tertiary-bg-hover:var(--color-brand-on-fill);--bd-button-tertiary-text-hover:var(--color-action-primary);--bd-button-tertiary-border-hover:var(--color-brand-on-fill);--bd-button-tertiary-bg-active:var(--color-brand-on-fill);--bd-button-tertiary-text-active:var(--color-action-primary);--bd-button-ghost-text:var(--color-brand-on-fill);--bd-button-ghost-border:transparent;--bd-button-ghost-bg-hover:var(--color-brand-on-fill);--bd-button-ghost-text-hover:var(--color-action-primary);--bd-button-ghost-bg-active:var(--color-brand-on-fill);--bd-button-ghost-text-active:var(--color-action-primary);--bd-button-plain-text:var(--color-brand-on-fill);--bd-button-plain-bg-hover:var(--color-brand-on-fill);--bd-button-plain-text-hover:var(--color-action-primary);--bd-button-plain-bg-active:var(--color-brand-on-fill);--bd-button-plain-text-active:var(--color-action-primary);--bd-button-accent-ring:var(--color-brand-on-fill);--bd-button-focus-ring:var(--focus-outline-traditional-on-brand);--bd-button-disabled-bg:color-mix(in srgb, var(--color-brand-on-fill) 20%, transparent);--bd-button-disabled-text:color-mix(in srgb, var(--color-brand-on-fill) 55%, transparent);--bd-button-disabled-border:color-mix(in srgb, var(--color-brand-on-fill) 40%, transparent)}:host([surface=brand]) .button--primary:hover,:host([surface=brand]) .button--primary:active{--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--color-brand-on-fill);color:var(--color-brand-on-fill);background-color:#0000}:host([surface=brand]) .button--secondary:not(:disabled,[aria-disabled=true]){--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--color-brand-on-fill)}.button:disabled,.button[aria-disabled=true]{cursor:not-allowed;pointer-events:none;background-color:var(--bd-button-disabled-bg);--bd-button-edge:0 0 0 0 transparent;color:var(--bd-button-disabled-text)}.button--tertiary:disabled,.button--ghost:disabled,.button--tertiary[aria-disabled=true],.button--ghost[aria-disabled=true]{--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-disabled-border);color:var(--bd-button-disabled-text);background-color:#0000}.button--plain:disabled,.button--plain[aria-disabled=true]{color:var(--bd-button-disabled-text);background-color:#0000}.button--loading{cursor:progress;pointer-events:none}.spinner{box-sizing:border-box;border:var(--border-width-2) solid currentColor;border-radius:var(--radius-full);width:1em;height:1em;animation:bd-button-spin var(--transition-duration-slower) var(--transition-easing-linear) infinite;border-top-color:#0000;flex:none}@keyframes bd-button-spin{to{transform:rotate(360deg)}}.button:not(.button--icon-only) .button__label>::slotted(*){text-align:center;display:inline-block}@media (forced-colors:active){.button--tertiary,.button--ghost{border:var(--bd-button-border-width) solid currentColor}}@media (prefers-reduced-motion:reduce){.button,.button__label,.button__arrow{transition:none!important}.spinner{animation:bd-button-pulse var(--transition-duration-slower) var(--transition-easing-smooth) infinite alternate;border-top-color:currentColor}@keyframes bd-button-pulse{to{opacity:var(--opacity-pulse)}}}.button--white,.button--outline-white{color-scheme:light}.button--white{background-color:var(--bd-button-white-bg);color:var(--bd-button-white-text)}.button--white:hover{background-color:var(--bd-button-white-bg-hover)}.button--white:active{background-color:var(--bd-button-white-bg-active)}.button--outline-white{--bd-button-edge:inset 0 0 0 var(--bd-button-border-width) var(--bd-button-outline-white-border);color:var(--bd-button-outline-white-text);background-color:#0000}.button--outline-white:hover{background-color:var(--bd-button-outline-white-bg-hover)}.button--outline-white:active{background-color:var(--bd-button-outline-white-bg-active)}`;export{t as default};
2
2
  //# sourceMappingURL=button.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.css.js","names":["button_css_default"],"sources":["../../../../src/components/button/button.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above } from \"#shared/token-scales.ts\";\n\n/**\n * Styled entirely from src/tokens/tokens.ts — see CLAUDE.md, \"The foundation\n * rule\". Every measurement was matched to the token that already carries the\n * ds-button value; nothing was copied across as a literal.\n *\n * The --button-* properties below are component-local semantic aliases, not\n * design tokens. Declaring them on :host is deliberate: outer-tree rules beat\n * :host, so a page can still theme a button with\n * `bd-button { --bd-button-primary-bg: … }`.\n */\nexport default css`\n :host {\n display: inline-flex;\n\n /* Component-local aliases, not design tokens. Each defaults to the\n --button-* token that carries the system-wide answer, so there are two\n places to change a button and they do different jobs: set the token on\n :root to move every button in the document, or set the alias on the\n bd-button element to move one.\n\n The alias is also what surface=\"dark\" switches further down, which is\n why it stays even now that the tokens behind it are live. */\n\n /* ---- primary: blue fill ------------------------------------------- */\n --bd-button-primary-bg: var(--button-primary-background-default);\n --bd-button-primary-bg-hover: var(--button-primary-background-hover);\n --bd-button-primary-bg-active: var(--button-primary-background-active);\n --bd-button-primary-text: var(--button-primary-text-default);\n\n /* ---- secondary: near-black fill ----------------------------------- */\n --bd-button-secondary-bg: var(--button-secondary-background-default);\n --bd-button-secondary-bg-hover: var(--button-secondary-background-hover);\n --bd-button-secondary-bg-active: var(--button-secondary-background-active);\n --bd-button-secondary-text: var(--button-secondary-text-default);\n\n /* ---- tertiary: blue outline --------------------------------------- */\n --bd-button-tertiary-text: var(--button-tertiary-text-default);\n --bd-button-tertiary-border: var(--button-tertiary-border-default);\n --bd-button-tertiary-bg-hover: var(--button-tertiary-background-hover);\n --bd-button-tertiary-text-hover: var(--button-tertiary-text-hover);\n --bd-button-tertiary-border-hover: var(--button-tertiary-border-hover);\n --bd-button-tertiary-bg-active: var(--button-tertiary-background-active);\n --bd-button-tertiary-text-active: var(--button-tertiary-text-active);\n\n /* ---- ghost: dark outline ------------------------------------------ */\n --bd-button-ghost-text: var(--button-ghost-text-default);\n --bd-button-ghost-border: var(--button-ghost-border-default);\n --bd-button-ghost-bg-hover: var(--button-ghost-background-hover);\n --bd-button-ghost-text-hover: var(--button-ghost-text-hover);\n --bd-button-ghost-bg-active: var(--button-ghost-background-active);\n --bd-button-ghost-text-active: var(--button-ghost-text-active);\n\n /* ---- accent: red fill --------------------------------------------- */\n --bd-button-accent-bg: var(--button-accent-background-default);\n --bd-button-accent-bg-hover: var(--button-accent-background-hover);\n --bd-button-accent-bg-active: var(--button-accent-background-active);\n --bd-button-accent-text: var(--button-accent-text-default);\n\n /* ---- white and outline-white: fixed presets for a coloured banner --\n They ignore surface on purpose; see the note on VARIANTS in button.ts. */\n --bd-button-white-bg: var(--button-white-background-default);\n --bd-button-white-bg-hover: var(--button-white-background-hover);\n --bd-button-white-bg-active: var(--button-white-background-active);\n --bd-button-white-text: var(--button-white-text-default);\n\n --bd-button-outline-white-text: var(--button-outline-white-text-default);\n --bd-button-outline-white-border: var(--button-outline-white-border-default);\n --bd-button-outline-white-bg-hover: var(--button-outline-white-background-hover);\n --bd-button-outline-white-bg-active: var(--button-outline-white-background-active);\n\n /* ---- disabled, shared across every variant ----------------------- */\n --bd-button-disabled-bg: var(--button-disabled-backgroundColor);\n --bd-button-disabled-text: var(--button-disabled-color);\n --bd-button-disabled-border: var(--button-disabled-borderColor);\n\n /* accent carries no ring on a light page; on a dark one it needs a\n boundary, so the value is switched rather than the rule */\n --bd-button-accent-ring: var(--button-accent-ring-default);\n\n /* the focus ring is switched the same way: surface=\"dark\" swaps the blue\n outline for a white one. white and outline-white do not read this; see\n FOCUS. */\n --bd-button-focus-ring: var(--button-shared-focus-outline);\n\n --bd-button-border-width: var(--border-width-2);\n }\n\n /* ============================================\n WIDTH\n --bd-button-width is how wide the button is, and it is the container's\n to set: on the element, or from a ::slotted() rule, which is the one\n thing a component holding a slotted button can reach. bd-anchor-nav and\n bd-bento-item run their CTA full width on a phone this way, where they\n used to listen to the window and write fullwidth on the page's own\n element. Unset, the button hugs its label as before. fullwidth and align\n still win -- :where() gives the inner rule no weight -- and an icon-only\n circle ignores it, as it ignores fullwidth.\n ============================================ */\n :host(:not([icon-only])) {\n width: var(--bd-button-width, auto);\n }\n\n :where(.button:not(.button--icon-only)) {\n width: var(--bd-button-width, auto);\n }\n\n /* ============================================\n ALIGNMENT\n ============================================ */\n :host([align=\"center\"]) {\n display: flex;\n justify-content: center;\n width: 100%;\n }\n\n :host([align=\"right\"]) {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n }\n\n :host([align=\"left\"]) {\n display: inline-flex;\n justify-content: flex-start;\n }\n\n :host([fullwidth]) {\n display: block;\n width: 100%;\n }\n\n :host([align=\"center\"][fullwidth]) .button,\n :host([align=\"right\"][fullwidth]) .button {\n width: 100%;\n }\n\n .max--width {\n width: 100%;\n display: flex;\n }\n\n /* ============================================\n FOCUS\n The design specifies no focus state, but 2.4.7 requires one.\n\n The ring is an outline held 2px off the control, and the 2px between is\n left transparent, so it is whatever surface the button sits on. That is\n the one thing code can do here that Figma cannot, and it is why the two\n differ. Figma builds a ring from spread shadows, every band of which is a\n painted colour, so its library paints the gap and keeps one ring per\n surface: focus/ring-primary on light, focus/ring-inverse on dark and\n brand. Painted in code, that gap is what went wrong twice: a white band\n merged into a white fill on surface=\"dark\", and the neutral-900 band\n that replaced it drew a black outline round every button on a brand\n hero. A transparent gap cannot do either, on any surface.\n\n So only the colour switches: blue on light, white under surface=\"dark\",\n which covers a brand hero and a neutral one alike; the numbers are on\n --focus-outline-traditional. Every variant takes the same ring, ghost\n included. An outline is also kept in forced-colors mode, where a\n box-shadow ring is not drawn at all.\n\n The rule leaves box-shadow alone, so an outlined variant's own boundary\n in --bd-button-edge stays put while focused.\n\n This used to be driven from JavaScript: two requestAnimationFrame hops\n checked :focus-visible and set a data attribute the CSS then styled.\n :focus-visible does that natively. There is no :focus { outline: none }\n beside it: the browser's own ring is a :focus-visible ring too, so a\n pointer focus never drew one, and the rule below replaces it.\n ============================================ */\n .button:focus-visible {\n outline: var(--bd-button-focus-ring);\n outline-offset: var(--button-shared-focus-outlineOffset);\n }\n\n /* white and outline-white are presets for a coloured banner and ignore\n surface, so they take the white ring on their own: 4.53:1 on blue-500,\n 7.95:1 at the light end of the banner gradient. A blue ring there was\n 2.38:1, and 1.75:1 at that end. */\n .button--white:focus-visible,\n .button--outline-white:focus-visible {\n outline: var(--focus-outline-traditional-inverse);\n }\n\n a.button {\n text-decoration: none;\n }\n\n /* ============================================\n SHARED\n ============================================ */\n .button,\n .bd-contact-btn {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n text-decoration: none;\n border: none;\n cursor: pointer;\n font-family: var(--typography-fontFamily-sans);\n font-weight: var(--typography-control-label-large-fontWeight);\n line-height: var(--typography-control-label-large-lineHeight);\n vertical-align: middle;\n box-sizing: border-box;\n\n /* The variant's own boundary, held in a custom property so each state can\n switch it. It was introduced while the focus ring was a box-shadow, so\n the ring could COMPOSE with it: box-shadow is a single list, not\n additive, and .button:focus-visible (0,2,0) outranks .button--ghost\n (0,1,0) -- so a focus rule that declared box-shadow directly erased the\n border of every outlined variant, and a focused ghost button read as a\n tertiary one. The ring is an outline now and does not touch box-shadow;\n a focus rule that goes back to declaring it brings that defect back. */\n --bd-button-edge: 0 0 0 0 transparent;\n box-shadow: var(--bd-button-edge);\n\n transition: background-color var(--transition-duration-normal) var(--transition-easing-smooth),\n box-shadow var(--transition-duration-normal) var(--transition-easing-smooth),\n color var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n /* bd-contact-button has no variant, so it would inherit no colour at all */\n .button.bd-contact-btn {\n background-color: transparent;\n color: var(--color-text-brand);\n gap: var(--spacing-8);\n\n /* Same inset bd-back carries, and for the same reason. Without it this\n control was a bare line box measuring 159x20 -- a 20px tall target\n against the 24x24 WCAG 2.5.8 asks of anything that is not inline in a\n sentence, so 4px short, and a standalone CTA has no exception to claim.\n It also left the focus ring sitting on the glyphs' ascenders.\n\n bd-back is the same shape of control -- text, a trailing mark, no fill --\n and already answers this with 12px 16px, which takes a 16px line to about\n 44px: the same height bd-button reaches through its own padding. Reading\n the inset off the sibling rather than picking a number is what keeps the\n two text CTAs in step. */\n padding: var(--spacing-12) var(--spacing-16);\n\n /* This control takes no size class -- it is a text CTA with a trailing\n arrow, not a filled button -- so it arrived with no radius at all, and\n the shared ring drew SQUARE corners around a bare line box while every\n other button's ring followed a curve.\n\n --button-medium-borderRadius, not --focus-outline-radius. The focus\n token is the documented default for an element with NO radius, and that\n is what this rule used first -- but with the inset above the control is\n now a 44px box standing next to bd-button at the same height, and the\n focus token is --radius-sm where medium buttons are --radius-md. Four\n pixels against six is small, and it is visible when they sit in a row.\n Matching the size band this control actually occupies is the better\n answer than matching the rule for controls that occupy none.\n\n Declared unconditionally rather than under :focus-visible because the\n control draws no background and no border at rest, so the radius is\n invisible until the ring needs it. */\n border-radius: var(--button-medium-borderRadius);\n }\n\n /* ============================================\n SIZE\n Height is left to padding and line-height rather than pinned with a\n min-height, which lands within half a pixel of the design: 33.5 / 44 /\n 54.5 against 34 / 45 / 55. The previous rules also carried hardcoded\n min-widths (115px, 150px) that the design does not ask for at all.\n\n The radius comes from --button-*-borderRadius rather than --radius-*\n directly. Same values, so nothing moves here — but a button and a field\n of the same size sit in the same form row, and reading both from their\n own size-matched alias is what keeps them in step. Spelled as raw scale\n steps on one side and aliases on the other, they had drifted a step apart\n at sm and md without either side looking wrong on its own.\n ============================================ */\n .button--small {\n padding: var(--button-small-padding);\n font-size: var(--button-small-fontSize);\n border-radius: var(--button-small-borderRadius);\n gap: var(--button-small-gap);\n }\n\n .button--medium {\n padding: var(--button-medium-padding);\n font-size: var(--button-medium-fontSize);\n border-radius: var(--button-medium-borderRadius);\n gap: var(--button-medium-gap);\n }\n\n .button--large {\n padding: var(--button-large-padding);\n font-size: var(--button-large-fontSize);\n border-radius: var(--button-large-borderRadius);\n gap: var(--button-large-gap);\n }\n\n /* No size attribute: md on phone and tablet, lg on desktop. The same\n declarations as the two bands above, switched at lg so it lands on the\n grid's own desktop step rather than a width of its own. */\n .button--responsive {\n padding: var(--button-medium-padding);\n font-size: var(--button-medium-fontSize);\n border-radius: var(--button-medium-borderRadius);\n gap: var(--button-medium-gap);\n }\n @media ${unsafeCSS(above(\"lg\"))} {\n .button--responsive {\n padding: var(--button-large-padding);\n font-size: var(--button-large-fontSize);\n border-radius: var(--button-large-borderRadius);\n gap: var(--button-large-gap);\n }\n }\n\n .button--bold {\n /* no role: the class is the semantic. .button--bold says what this\n declaration does, so a role naming it would only restate the class --\n there is no text-content type here for a role to describe, just an\n emphasis the caller asked for by name. The same holds for a weight\n driven by an active or selected state: that is a UI state, the category\n CLAUDE.md keeps apart from type when it says a focus ring is never\n expressed by swapping a border colour. This is the argument for every\n \"no role: state or modifier\" marker in the package -- the others point\n here rather than restating it. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n /* shape=\"rounded\". After the size rules on purpose: same specificity, so\n source order is what lets the shape replace the size band's corner. */\n .button--rounded {\n border-radius: var(--shape-radius-3xl);\n }\n\n /* ============================================\n HOVER ARROW — accent, unless no-arrow\n The button keeps its width: the label slides toward the inline start\n and the arrow, absolutely positioned at the end, fades in where the\n label was. --_dir turns both slides round on a right-to-left page, the\n multiplier bd-pagination-dots uses; the arrow itself mirrors there (see\n icon-element.ts), so it still points the way the label moved from.\n ============================================ */\n .button__label {\n display: inline-block;\n }\n\n .button--with-arrow {\n --_dir: 1;\n position: relative;\n overflow: hidden;\n }\n\n :host(:dir(rtl)) .button--with-arrow {\n --_dir: -1;\n }\n\n .button--with-arrow .button__label {\n transition: transform var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n .button--with-arrow .button__arrow {\n position: absolute;\n top: 50%;\n inset-inline-end: var(--spacing-12);\n opacity: 0;\n transform: translate(calc(-1 * var(--_dir) * var(--spacing-8)), -50%);\n transition:\n opacity var(--transition-duration-normal) var(--transition-easing-smooth),\n transform var(--transition-duration-normal) var(--transition-easing-smooth);\n pointer-events: none;\n }\n\n .button--with-arrow:focus-visible .button__label {\n transform: translateX(calc(-1 * var(--_dir) * var(--spacing-12)));\n }\n\n .button--with-arrow:focus-visible .button__arrow {\n opacity: 1;\n transform: translate(var(--spacing-0), -50%);\n }\n\n /* Only where a pointer can hover. A touch screen has no real hover, and a\n tap left the arrow stuck out; this was a (hover: none) block undoing the\n hover rules after the fact, and asking first is the same thing said once. */\n @media (hover: hover) {\n .button--with-arrow:hover .button__label {\n transform: translateX(calc(-1 * var(--_dir) * var(--spacing-12)));\n }\n\n .button--with-arrow:hover .button__arrow {\n opacity: 1;\n transform: translate(var(--spacing-0), -50%);\n }\n }\n\n /* ============================================\n SHAPE — icon-only\n A circle around one icon. The diameter is not pinned, for the same reason\n the labelled height is not: equal padding on every side plus the icon step\n gives 8+16+8 = 32, 12+20+12 = 44 and 16+24+16 = 56. Only md sits level\n with a labelled button beside it: the labelled heights are 33.5, 44 and\n 54.5, so sm is 1.5px shorter and lg 1.5px taller. Both differences come\n from the label's line box, which an icon does not have, and closing them\n would need an off-scale padding. sm is below the 44px target, exactly as\n the labelled sm is.\n\n The padding stays on the spacing scale, which is rem, while the icon is on\n the icon scale, which is px. So when a reader enlarges their text the\n circle grows and the glyph does not -- the target gets bigger for the\n reader a bigger target helps, and the shape stays round because the\n padding is equal on both axes.\n\n The compound selectors outrank the size classes whatever the source\n order, and they carry the radius too, so a size class can never put\n its own corner back. The slotted rule sizes a caller's icon to the step\n even if it was given a size of its own: a 20px glyph in a 56px circle\n reads as the wrong control, not as a choice.\n ============================================ */\n .button--icon-only {\n line-height: var(--typography-lineHeight-none);\n }\n .button--icon-only.button--small {\n --bd-button-icon-size: var(--icon-sm-size);\n padding: var(--spacing-8);\n border-radius: var(--radius-full);\n }\n .button--icon-only.button--medium {\n --bd-button-icon-size: var(--icon-md-size);\n padding: var(--spacing-12);\n border-radius: var(--radius-full);\n }\n .button--icon-only.button--large {\n --bd-button-icon-size: var(--icon-lg-size);\n padding: var(--spacing-16);\n border-radius: var(--radius-full);\n }\n .button--icon-only.button--responsive {\n --bd-button-icon-size: var(--icon-md-size);\n padding: var(--spacing-12);\n border-radius: var(--radius-full);\n }\n @media ${unsafeCSS(above(\"lg\"))} {\n .button--icon-only.button--responsive {\n --bd-button-icon-size: var(--icon-lg-size);\n padding: var(--spacing-16);\n }\n }\n /* the default arrow is fallback content, not slotted, so ::slotted below\n never reaches it; it takes the step through bd-icon's own property */\n .button__icon {\n --bd-icon-size: var(--bd-button-icon-size);\n }\n .button--icon-only > ::slotted(*) {\n height: var(--bd-button-icon-size);\n }\n /* loading swaps the icon for the spinner, so the spinner takes the icon's\n box rather than its em size, and the circle does not shrink while busy */\n .button--icon-only .spinner {\n width: var(--bd-button-icon-size);\n height: var(--bd-button-icon-size);\n }\n\n /* ============================================\n VARIANT — primary\n ============================================ */\n .button--primary {\n background-color: var(--bd-button-primary-bg);\n color: var(--bd-button-primary-text);\n }\n .button--primary:hover {\n background-color: var(--bd-button-primary-bg-hover);\n }\n .button--primary:active {\n background-color: var(--bd-button-primary-bg-active);\n }\n\n /* ============================================\n VARIANT — secondary\n ============================================ */\n .button--secondary {\n background-color: var(--bd-button-secondary-bg);\n color: var(--bd-button-secondary-text);\n }\n .button--secondary:hover {\n background-color: var(--bd-button-secondary-bg-hover);\n }\n .button--secondary:active {\n background-color: var(--bd-button-secondary-bg-active);\n }\n\n /* ============================================\n VARIANT — tertiary (blue outline)\n ============================================ */\n .button--tertiary {\n background-color: transparent;\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-border);\n color: var(--bd-button-tertiary-text);\n }\n .button--tertiary:hover {\n background-color: var(--bd-button-tertiary-bg-hover);\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-border-hover);\n color: var(--bd-button-tertiary-text-hover);\n }\n .button--tertiary:active {\n background-color: var(--bd-button-tertiary-bg-active);\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-bg-active);\n color: var(--bd-button-tertiary-text-active);\n }\n\n /* ============================================\n VARIANT — ghost (dark outline)\n ============================================ */\n .button--ghost {\n background-color: transparent;\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-ghost-border);\n color: var(--bd-button-ghost-text);\n }\n .button--ghost:hover {\n background-color: var(--bd-button-ghost-bg-hover);\n color: var(--bd-button-ghost-text-hover);\n }\n .button--ghost:active {\n background-color: var(--bd-button-ghost-bg-active);\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-ghost-bg-active);\n color: var(--bd-button-ghost-text-active);\n }\n\n /* ============================================\n VARIANT — accent\n ============================================ */\n .button--accent {\n background-color: var(--bd-button-accent-bg);\n color: var(--bd-button-accent-text);\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-accent-ring);\n }\n .button--accent:hover {\n background-color: var(--bd-button-accent-bg-hover);\n }\n .button--accent:active {\n background-color: var(--bd-button-accent-bg-active);\n }\n\n /* ============================================\n SURFACE — dark\n\n For a hero or any panel with a full background colour. On a light page\n every variant passes; on a coloured one 21 of 25 variant/surface pairings\n failed, because tertiary and ghost put their ink straight onto the page\n and primary is literally the same colour as a blue-500 hero (1.00:1).\n\n The design carries no on-dark set — its axes are Size, Variant and State\n only — so these values are derived from our own palette rather than read\n off a spec, and every one is measured against blue-500, blue-600,\n blue-700, neutral-900 and neutral-950. They need a designer's sign-off.\n\n Two notes on what changed shape rather than just colour: ghost drops its\n ring here, because a white ring would make it identical to tertiary, and\n dropping it is what \"ghost\" conventionally means anyway. accent keeps its\n red so the conversion signal survives, and gains a white ring to give it\n a boundary against blue.\n\n WHY THE INK IS A ROLE AND THE GROUNDS ARE NOT, which is what the inline\n no role: markers below point at. check:color-coverage gained sight of\n these declarations on 2026-09-15 and classified twenty-three of them; a\n role of the right CATEGORY exists at the value for nineteen, and exactly\n nine survive the second question, which is whether the role's JOB is this\n declaration's job.\n\n The nine that do are all ink, and each one matches a role's own words.\n tertiary and ghost put their label straight onto the hero, and\n --color-text-inverse is defined as the high-emphasis ink on an inverse\n ground. Once a variant inverts and the label sits on the button's own\n light fill, it is ordinary ink again -- --color-text-primary -- or brand\n ink, --color-text-brand. disabled's label is a control the user cannot\n operate, which is --color-text-disabled's whole definition rather than a\n step on the hierarchy. Every one is value-identical, so nothing here\n renders differently.\n\n The grounds and hairlines have no role, and the reason is not scarcity.\n --color-surface-default carries this exact white, and its own theme\n clause in Foundations/Surfaces reads \"On dark it is the dark ground, not\n white\" -- so adopting it here would assert the opposite of what the\n declaration means. surface-subtle is a wash behind a group, not a press\n fill. surface-muted is a state surface and would fit primary's pressed\n step on value and nearly on job, but these three values are one ramp\n measured against the hero rather than three independent choices, and\n binding its last step to a role that can move on its own would break the\n relationship the measurement established. At neutral-700 and neutral-600\n there is no surface or border role at all, and there is no solid white\n border role anywhere: --color-border-container-inverse is white at 12%.\n\n So the missing vocabulary is nameable, and it is two entries: a control\n fill on an inverse ground, and a solid hairline on an inverse ground.\n Adding either is a vocabulary decision for the same designer pass this\n block is already waiting on, and token-scales.ts is explicit that one\n consumer is not enough to name a role. Recorded, not taken.\n ============================================ */\n :host([surface='dark']) {\n /* white fill, brand label — the strongest thing on a coloured hero */\n --bd-button-primary-bg: var(--color-neutral-0); /* no role: on-dark ground; see the block note */\n --bd-button-primary-bg-hover: var(--color-neutral-50); /* no role: on-dark ground; see the block note */\n --bd-button-primary-bg-active: var(--color-neutral-100); /* no role: on-dark ground; see the block note */\n --bd-button-primary-text: var(--color-text-brand);\n\n /* neutral-100 rather than a lighter step: it is the lightest fill that\n still clears 3:1 against a blue-500 hero while staying distinguishable\n from primary's pure white */\n --bd-button-secondary-bg: var(--color-neutral-100); /* no role: on-dark ground; see the block note */\n --bd-button-secondary-bg-hover: var(--color-neutral-50); /* no role: on-dark ground; see the block note */\n --bd-button-secondary-bg-active: var(--color-neutral-0); /* no role: on-dark ground; see the block note */\n --bd-button-secondary-text: var(--color-text-primary);\n\n /* the outlined one: white ring, white label, inverting on hover */\n --bd-button-tertiary-text: var(--color-text-inverse);\n --bd-button-tertiary-border: var(--color-neutral-0); /* no role: on-dark hairline; see the block note */\n --bd-button-tertiary-bg-hover: var(--color-neutral-0); /* no role: on-dark ground; see the block note */\n --bd-button-tertiary-text-hover: var(--color-text-brand);\n --bd-button-tertiary-border-hover: var(--color-neutral-0); /* no role: on-dark hairline; see the block note */\n --bd-button-tertiary-bg-active: var(--color-neutral-50); /* no role: on-dark ground; see the block note */\n --bd-button-tertiary-text-active: var(--color-text-brand);\n\n /* no ring at all, so it stays distinct from tertiary */\n --bd-button-ghost-text: var(--color-text-inverse);\n --bd-button-ghost-border: transparent;\n --bd-button-ghost-bg-hover: var(--color-neutral-0); /* no role: on-dark ground; see the block note */\n --bd-button-ghost-text-hover: var(--color-text-primary);\n --bd-button-ghost-bg-active: var(--color-neutral-50); /* no role: on-dark ground; see the block note */\n --bd-button-ghost-text-active: var(--color-text-primary);\n\n /* unchanged red, plus a boundary against the hero */\n --bd-button-accent-ring: var(--color-neutral-0);\n\n /* a white ring, the one colour that clears 3:1 on a brand hero and a\n neutral one alike, which this surface has to cover without knowing\n which it is on. The gap inside it is the hero itself; see FOCUS. */\n --bd-button-focus-ring: var(--focus-outline-traditional-inverse);\n\n /* muted downward instead of upward: a neutral-100 fill would read as an\n active control on a dark hero. Exempt from contrast under WCAG 1.4.3. */\n --bd-button-disabled-bg: var(--color-neutral-700); /* no role: on-dark ground; see the block note */\n --bd-button-disabled-text: var(--color-text-disabled);\n --bd-button-disabled-border: var(--color-neutral-600); /* no role: on-dark hairline; see the block note */\n\n }\n\n /* ============================================\n SURFACE — brand\n\n For a band filled with the brand itself, --color-surface-brand. On\n Bitdefender that band is blue and surface=\"dark\" already reads; on a\n partner whose brand is light, dark's white fills and white rings are\n exactly what cannot be seen.\n\n So this surface is built from one pair only: the brand's ink,\n --color-brand-on-fill, and the brand fill, --color-action-primary. A theme\n must clear 4.5:1 between those two (verify-brands' ink floor), so every\n label and every boundary below inherits that floor whichever way the\n brand runs -- white ink on a dark brand, dark ink on a light one. Nothing\n here may mix the two into a third colour: a tint moves toward one of them\n and loses contrast against it, and which one depends on the brand.\n\n That is also why the states swap the pair rather than tint it. primary\n is the ink fill with the brand as its label, and on hover and press it\n becomes the ink outline; tertiary is the ink outline and inverts to the\n ink fill. ghost has no ring and inverts the same way. secondary and\n accent keep their own fills, whose labels are not the brand's to move,\n and gain a ring in the ink so their edge against the band is the same\n floor. Disabled is exempt from contrast (WCAG 1.4.3) and is the ink at\n reduced strength.\n\n On Bitdefender this differs from surface=\"dark\" on purpose in two places:\n primary's label is the band's blue-500 (4.53:1 on white) rather than\n brand text, and its hover is the outline rather than a neutral-50 fill.\n Both are what a theme-independent surface can promise; dark's choices\n only hold while the brand is dark.\n ============================================ */\n :host([surface='brand']) {\n --bd-button-primary-bg: var(--color-brand-on-fill);\n --bd-button-primary-text: var(--color-action-primary);\n\n --bd-button-tertiary-text: var(--color-brand-on-fill);\n --bd-button-tertiary-border: var(--color-brand-on-fill);\n --bd-button-tertiary-bg-hover: var(--color-brand-on-fill);\n --bd-button-tertiary-text-hover: var(--color-action-primary);\n --bd-button-tertiary-border-hover: var(--color-brand-on-fill);\n --bd-button-tertiary-bg-active: var(--color-brand-on-fill);\n --bd-button-tertiary-text-active: var(--color-action-primary);\n\n --bd-button-ghost-text: var(--color-brand-on-fill);\n --bd-button-ghost-border: transparent;\n --bd-button-ghost-bg-hover: var(--color-brand-on-fill);\n --bd-button-ghost-text-hover: var(--color-action-primary);\n --bd-button-ghost-bg-active: var(--color-brand-on-fill);\n --bd-button-ghost-text-active: var(--color-action-primary);\n\n --bd-button-accent-ring: var(--color-brand-on-fill);\n\n --bd-button-focus-ring: var(--focus-outline-traditional-on-brand);\n\n --bd-button-disabled-bg: color-mix(in srgb, var(--color-brand-on-fill) 20%, transparent);\n --bd-button-disabled-text: color-mix(in srgb, var(--color-brand-on-fill) 55%, transparent);\n --bd-button-disabled-border: color-mix(in srgb, var(--color-brand-on-fill) 40%, transparent);\n }\n\n :host([surface='brand']) .button--primary:hover,\n :host([surface='brand']) .button--primary:active {\n background-color: transparent;\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--color-brand-on-fill);\n color: var(--color-brand-on-fill);\n }\n\n /* not when disabled: the state rule clears the edge, and this is heavier */\n :host([surface='brand']) .button--secondary:not(:disabled, [aria-disabled=\"true\"]) {\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--color-brand-on-fill);\n }\n\n /* ============================================\n STATE — disabled\n Filled variants go grey; outlined ones keep a transparent fill and take\n the subtle border. Contrast is exempt here under WCAG 1.4.3.\n ============================================ */\n .button:disabled,\n .button[aria-disabled=\"true\"] {\n cursor: not-allowed;\n pointer-events: none;\n background-color: var(--bd-button-disabled-bg);\n --bd-button-edge: 0 0 0 0 transparent;\n color: var(--bd-button-disabled-text);\n }\n\n .button--tertiary:disabled,\n .button--ghost:disabled,\n .button--tertiary[aria-disabled=\"true\"],\n .button--ghost[aria-disabled=\"true\"] {\n background-color: transparent;\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-disabled-border);\n color: var(--bd-button-disabled-text);\n }\n\n /* ============================================\n STATE — loading\n The variant keeps its own colours, so the spinner is drawn in\n currentColor and sized in em to track the type scale — which is what the\n design's loading widths imply (they exceed the default by exactly one\n font-size plus the gap).\n ============================================ */\n .button--loading {\n cursor: progress;\n pointer-events: none;\n }\n\n .spinner {\n width: 1em;\n height: 1em;\n flex: none;\n box-sizing: border-box;\n border: var(--border-width-2) solid currentColor;\n border-top-color: transparent;\n border-radius: var(--radius-full);\n animation: bd-button-spin var(--transition-duration-slower)\n var(--transition-easing-linear) infinite;\n }\n\n @keyframes bd-button-spin {\n to { transform: rotate(360deg); }\n }\n\n /* The slot sits inside .button__label now, not directly in .button. */\n .button__label > ::slotted(*) {\n display: inline-block;\n text-align: center;\n }\n\n /* box-shadow is not rendered in forced-colors mode, which would leave the\n outlined variants with no visible boundary at all, so a real border comes\n back there. It costs 4px of height, which does not matter when the user\n agent is repainting everything anyway. */\n @media (forced-colors: active) {\n .button--tertiary,\n .button--ghost {\n border: var(--bd-button-border-width) solid currentColor;\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .button,\n .bd-contact-btn,\n .button__label,\n .button__arrow {\n transition: none !important;\n }\n\n /* a spinner that cannot spin should still read as busy, so it pulses\n rather than freezing into a static broken ring */\n .spinner {\n animation: bd-button-pulse var(--transition-duration-slower)\n var(--transition-easing-smooth) infinite alternate;\n border-top-color: currentColor;\n }\n\n @keyframes bd-button-pulse {\n to { opacity: var(--opacity-pulse); }\n }\n }\n /* ============================================\n VARIANT — white and outline-white\n\n Fixed presets for a solid-colour banner, where even a surface=\"dark\"\n primary would sit too close in tone. They ignore surface on purpose —\n see the note on VARIANTS in button.ts.\n\n These two were appended below the stylesheet's last rule and unindented,\n and they hardcoded their colours instead of going through the aliases\n every other variant uses: 1.5px against the 2px border width the docs\n describe, #ffffff8c, and two rgba() whites. None of it could be rethemed\n and none of it was visible to the lint, which does not read 8-digit hex\n or rgba().\n ============================================ */\n .button--white {\n background-color: var(--bd-button-white-bg);\n color: var(--bd-button-white-text);\n }\n .button--white:hover {\n background-color: var(--bd-button-white-bg-hover);\n }\n .button--white:active {\n background-color: var(--bd-button-white-bg-active);\n }\n\n .button--outline-white {\n background-color: transparent;\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-outline-white-border);\n color: var(--bd-button-outline-white-text);\n }\n .button--outline-white:hover {\n background-color: var(--bd-button-outline-white-bg-hover);\n }\n .button--outline-white:active {\n background-color: var(--bd-button-outline-white-bg-active);\n }\n`;\n"],"mappings":"A,4DAaA,IAAAA,EAAe,CAAG,kvb"}
1
+ {"version":3,"file":"button.css.js","names":["button_css_default"],"sources":["../../../../src/components/button/button.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above } from \"#shared/token-scales.ts\";\n\n/**\n * Styled entirely from src/tokens/tokens.ts — see CLAUDE.md, \"The foundation\n * rule\". Every measurement was matched to the token that already carries the\n * ds-button value; nothing was copied across as a literal.\n *\n * The --button-* properties below are component-local semantic aliases, not\n * design tokens. Declaring them on :host is deliberate: outer-tree rules beat\n * :host, so a page can still theme a button with\n * `bd-button { --bd-button-primary-bg: … }`.\n */\nexport default css`\n :host {\n display: inline-flex;\n\n /* Component-local aliases, not design tokens. Each defaults to the\n --button-* token that carries the system-wide answer, so there are two\n places to change a button and they do different jobs: set the token on\n :root to move every button in the document, or set the alias on the\n bd-button element to move one.\n\n The alias is also what surface=\"dark\" switches further down, which is\n why it stays even now that the tokens behind it are live. */\n\n /* ---- primary: blue fill ------------------------------------------- */\n --bd-button-primary-bg: var(--button-primary-background-default);\n --bd-button-primary-bg-hover: var(--button-primary-background-hover);\n --bd-button-primary-bg-active: var(--button-primary-background-active);\n --bd-button-primary-text: var(--button-primary-text-default);\n\n /* ---- secondary: near-black fill ----------------------------------- */\n --bd-button-secondary-bg: var(--button-secondary-background-default);\n --bd-button-secondary-bg-hover: var(--button-secondary-background-hover);\n --bd-button-secondary-bg-active: var(--button-secondary-background-active);\n --bd-button-secondary-text: var(--button-secondary-text-default);\n\n /* ---- tertiary: blue outline --------------------------------------- */\n --bd-button-tertiary-text: var(--button-tertiary-text-default);\n --bd-button-tertiary-border: var(--button-tertiary-border-default);\n --bd-button-tertiary-bg-hover: var(--button-tertiary-background-hover);\n --bd-button-tertiary-text-hover: var(--button-tertiary-text-hover);\n --bd-button-tertiary-border-hover: var(--button-tertiary-border-hover);\n --bd-button-tertiary-bg-active: var(--button-tertiary-background-active);\n --bd-button-tertiary-text-active: var(--button-tertiary-text-active);\n\n /* ---- ghost: dark outline ------------------------------------------ */\n --bd-button-ghost-text: var(--button-ghost-text-default);\n --bd-button-ghost-border: var(--button-ghost-border-default);\n --bd-button-ghost-bg-hover: var(--button-ghost-background-hover);\n --bd-button-ghost-text-hover: var(--button-ghost-text-hover);\n --bd-button-ghost-bg-active: var(--button-ghost-background-active);\n --bd-button-ghost-text-active: var(--button-ghost-text-active);\n\n /* ---- plain: a text CTA, brand ink and no fill ------------------------\n No --button-plain-* tokens exist, so these default to the roles\n themselves: the brand's text ink, bd-back's hover and press fills (the\n same shape of control), and over them the brand's hover ink, as on\n bd-link (see APPEARANCE — plain). */\n --bd-button-plain-text: var(--color-text-brand);\n --bd-button-plain-bg-hover: var(--color-surface-muted);\n --bd-button-plain-text-hover: var(--color-text-brand-hover);\n --bd-button-plain-bg-active: var(--color-surface-pressed);\n --bd-button-plain-text-active: var(--color-text-brand-hover);\n\n /* ---- accent: red fill --------------------------------------------- */\n --bd-button-accent-bg: var(--button-accent-background-default);\n --bd-button-accent-bg-hover: var(--button-accent-background-hover);\n --bd-button-accent-bg-active: var(--button-accent-background-active);\n --bd-button-accent-text: var(--button-accent-text-default);\n\n /* ---- white and outline-white: fixed presets for a coloured banner --\n They ignore surface on purpose; see the note on APPEARANCES in button.ts. */\n --bd-button-white-bg: var(--button-white-background-default);\n --bd-button-white-bg-hover: var(--button-white-background-hover);\n --bd-button-white-bg-active: var(--button-white-background-active);\n --bd-button-white-text: var(--button-white-text-default);\n\n --bd-button-outline-white-text: var(--button-outline-white-text-default);\n --bd-button-outline-white-border: var(--button-outline-white-border-default);\n --bd-button-outline-white-bg-hover: var(--button-outline-white-background-hover);\n --bd-button-outline-white-bg-active: var(--button-outline-white-background-active);\n\n /* ---- disabled, shared across every variant ----------------------- */\n --bd-button-disabled-bg: var(--button-disabled-backgroundColor);\n --bd-button-disabled-text: var(--button-disabled-color);\n --bd-button-disabled-border: var(--button-disabled-borderColor);\n\n /* accent carries no ring on a light page; on a dark one it needs a\n boundary, so the value is switched rather than the rule */\n --bd-button-accent-ring: var(--button-accent-ring-default);\n\n /* the focus ring is switched the same way: surface=\"dark\" swaps the blue\n outline for a white one. white and outline-white do not read this; see\n FOCUS. */\n --bd-button-focus-ring: var(--button-shared-focus-outline);\n\n --bd-button-border-width: var(--border-width-2);\n }\n\n /* ============================================\n WIDTH\n --bd-button-width is how wide the button is, and it is the container's\n to set: on the element, or from a ::slotted() rule, which is the one\n thing a component holding a slotted button can reach. bd-anchor-nav and\n bd-bento-item run their CTA full width on a phone this way, where they\n used to listen to the window and write fullwidth on the page's own\n element. Unset, the button hugs its label as before. full-width and align\n still win -- :where() gives the inner rule no weight -- and an icon-only\n circle ignores it, as it ignores full-width. The host cannot tell it is a\n circle -- that is read from its content, and a component does not write\n its own host's attributes -- so a set width widens the host around a\n circle that keeps its size.\n ============================================ */\n :host {\n width: var(--bd-button-width, auto);\n }\n\n :where(.button:not(.button--icon-only)) {\n width: var(--bd-button-width, auto);\n }\n\n /* ============================================\n ALIGNMENT\n ============================================ */\n :host([align=\"center\"]) {\n display: flex;\n justify-content: center;\n width: 100%;\n }\n\n :host([align=\"right\"]) {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n }\n\n :host([align=\"left\"]) {\n display: inline-flex;\n justify-content: flex-start;\n }\n\n :host([full-width]) {\n display: block;\n width: 100%;\n }\n\n :host([align=\"center\"][full-width]) .button,\n :host([align=\"right\"][full-width]) .button {\n width: 100%;\n }\n\n .max--width {\n width: 100%;\n display: flex;\n }\n\n /* ============================================\n FOCUS\n The design specifies no focus state, but 2.4.7 requires one.\n\n The ring is an outline held 2px off the control, and the 2px between is\n left transparent, so it is whatever surface the button sits on. That is\n the one thing code can do here that Figma cannot, and it is why the two\n differ. Figma builds a ring from spread shadows, every band of which is a\n painted colour, so its library paints the gap and keeps one ring per\n surface: focus/ring-primary on light, focus/ring-inverse on dark and\n brand. Painted in code, that gap is what went wrong twice: a white band\n merged into a white fill on surface=\"dark\", and the neutral-900 band\n that replaced it drew a black outline round every button on a brand\n hero. A transparent gap cannot do either, on any surface.\n\n So only the colour switches: blue on light, white under surface=\"dark\",\n which covers a brand hero and a neutral one alike; the numbers are on\n --focus-outline-traditional. Every variant takes the same ring, ghost\n included. An outline is also kept in forced-colors mode, where a\n box-shadow ring is not drawn at all.\n\n The rule leaves box-shadow alone, so an outlined variant's own boundary\n in --bd-button-edge stays put while focused.\n\n This used to be driven from JavaScript: two requestAnimationFrame hops\n checked :focus-visible and set a data attribute the CSS then styled.\n :focus-visible does that natively. There is no :focus { outline: none }\n beside it: the browser's own ring is a :focus-visible ring too, so a\n pointer focus never drew one, and the rule below replaces it.\n ============================================ */\n .button:focus-visible {\n outline: var(--bd-button-focus-ring);\n outline-offset: var(--button-shared-focus-outlineOffset);\n }\n\n /* white and outline-white are presets for a coloured banner and ignore\n surface, so they take the white ring on their own: 4.53:1 on blue-500,\n 7.95:1 at the light end of the banner gradient. A blue ring there was\n 2.38:1, and 1.75:1 at that end. */\n .button--white:focus-visible,\n .button--outline-white:focus-visible {\n outline: var(--focus-outline-traditional-inverse);\n }\n\n a.button {\n text-decoration: none;\n }\n\n /* ============================================\n SHARED\n ============================================ */\n .button {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n text-decoration: none;\n border: none;\n cursor: pointer;\n font-family: var(--typography-fontFamily-sans);\n font-weight: var(--typography-control-label-large-fontWeight);\n line-height: var(--typography-control-label-large-lineHeight);\n vertical-align: middle;\n box-sizing: border-box;\n\n /* The variant's own boundary, held in a custom property so each state can\n switch it. It was introduced while the focus ring was a box-shadow, so\n the ring could COMPOSE with it: box-shadow is a single list, not\n additive, and .button:focus-visible (0,2,0) outranks .button--ghost\n (0,1,0) -- so a focus rule that declared box-shadow directly erased the\n border of every outlined variant, and a focused ghost button read as a\n tertiary one. The ring is an outline now and does not touch box-shadow;\n a focus rule that goes back to declaring it brings that defect back. */\n --bd-button-edge: 0 0 0 0 transparent;\n box-shadow: var(--bd-button-edge);\n\n transition: background-color var(--transition-duration-normal) var(--transition-easing-smooth),\n box-shadow var(--transition-duration-normal) var(--transition-easing-smooth),\n color var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n /* ============================================\n SIZE\n Height is left to padding and line-height rather than pinned with a\n min-height, which lands within half a pixel of the design: 33.5 / 44 /\n 54.5 against 34 / 45 / 55. The previous rules also carried hardcoded\n min-widths (115px, 150px) that the design does not ask for at all.\n\n The radius comes from --button-*-borderRadius rather than --radius-*\n directly. Same values, so nothing moves here — but a button and a field\n of the same size sit in the same form row, and reading both from their\n own size-matched alias is what keeps them in step. Spelled as raw scale\n steps on one side and aliases on the other, they had drifted a step apart\n at sm and md without either side looking wrong on its own.\n\n Each band also names its icon step, --bd-button-icon-size: the button and\n icon scales share step names, so sm takes a 16px icon, md 20 and lg 24.\n The decorations in start and end and the icon-only glyph all read it.\n ============================================ */\n .button--small {\n --bd-button-icon-size: var(--icon-sm-size);\n padding: var(--button-small-padding);\n font-size: var(--button-small-fontSize);\n border-radius: var(--button-small-borderRadius);\n gap: var(--button-small-gap);\n }\n\n .button--medium {\n --bd-button-icon-size: var(--icon-md-size);\n padding: var(--button-medium-padding);\n font-size: var(--button-medium-fontSize);\n border-radius: var(--button-medium-borderRadius);\n gap: var(--button-medium-gap);\n }\n\n .button--large {\n --bd-button-icon-size: var(--icon-lg-size);\n padding: var(--button-large-padding);\n font-size: var(--button-large-fontSize);\n border-radius: var(--button-large-borderRadius);\n gap: var(--button-large-gap);\n }\n\n /* No size attribute: md on phone and tablet, lg on desktop. The same\n declarations as the two bands above, switched at lg so it lands on the\n grid's own desktop step rather than a width of its own. */\n .button--responsive {\n --bd-button-icon-size: var(--icon-md-size);\n padding: var(--button-medium-padding);\n font-size: var(--button-medium-fontSize);\n border-radius: var(--button-medium-borderRadius);\n gap: var(--button-medium-gap);\n }\n @media ${unsafeCSS(above(\"lg\"))} {\n .button--responsive {\n --bd-button-icon-size: var(--icon-lg-size);\n padding: var(--button-large-padding);\n font-size: var(--button-large-fontSize);\n border-radius: var(--button-large-borderRadius);\n gap: var(--button-large-gap);\n }\n }\n\n /* ============================================\n START AND END\n Decorations either side of the label, as flex items of the control: the\n slots are display: contents, so an empty one draws no box and takes no\n gap. An icon there is sized to the band's step through --bd-icon-size,\n the property every icon reads its height from; the rule comes from\n outside the icon's own shadow root, so it wins over a size the icon was\n given, as the icon-only glyph does -- a 24px icon beside a 16px label\n reads as the wrong control, not as a choice. Anything else in these\n slots ignores the property.\n\n The label's box is hidden while the default slot is empty, so a button\n holding only a decoration has no empty item and no stray gap. The rule is\n needed because .button__label sets a display of its own, which outranks\n the user agent's [hidden].\n ============================================ */\n slot[name=\"start\"]::slotted(*),\n slot[name=\"end\"]::slotted(*) {\n --bd-icon-size: var(--bd-button-icon-size);\n flex: none;\n }\n\n .button__label[hidden] {\n display: none;\n }\n\n .button--bold {\n /* no role: the class is the semantic. .button--bold says what this\n declaration does, so a role naming it would only restate the class --\n there is no text-content type here for a role to describe, just an\n emphasis the caller asked for by name. The same holds for a weight\n driven by an active or selected state: that is a UI state, the category\n CLAUDE.md keeps apart from type when it says a focus ring is never\n expressed by swapping a border colour. This is the argument for every\n \"no role: state or modifier\" marker in the package -- the others point\n here rather than restating it. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n /* shape=\"rounded\". After the size rules on purpose: same specificity, so\n source order is what lets the shape replace the size band's corner. */\n .button--rounded {\n border-radius: var(--shape-radius-3xl);\n }\n\n /* ============================================\n HOVER ARROW — accent, unless without-arrow\n The button keeps its width: the label slides toward the inline start\n and the arrow, absolutely positioned at the end, fades in where the\n label was. --_dir turns both slides round on a right-to-left page, the\n multiplier bd-pagination-dots uses; the arrow itself mirrors there (see\n icon-element.ts), so it still points the way the label moved from.\n ============================================ */\n .button__label {\n display: inline-block;\n }\n\n .button--with-arrow {\n --_dir: 1;\n position: relative;\n overflow: hidden;\n }\n\n :host(:dir(rtl)) .button--with-arrow {\n --_dir: -1;\n }\n\n .button--with-arrow .button__label {\n transition: transform var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n .button--with-arrow .button__arrow {\n position: absolute;\n top: 50%;\n inset-inline-end: var(--spacing-12);\n opacity: 0;\n transform: translate(calc(-1 * var(--_dir) * var(--spacing-8)), -50%);\n transition:\n opacity var(--transition-duration-normal) var(--transition-easing-smooth),\n transform var(--transition-duration-normal) var(--transition-easing-smooth);\n pointer-events: none;\n }\n\n .button--with-arrow:focus-visible .button__label {\n transform: translateX(calc(-1 * var(--_dir) * var(--spacing-12)));\n }\n\n .button--with-arrow:focus-visible .button__arrow {\n opacity: 1;\n transform: translate(var(--spacing-0), -50%);\n }\n\n /* Only where a pointer can hover. A touch screen has no real hover, and a\n tap left the arrow stuck out; this was a (hover: none) block undoing the\n hover rules after the fact, and asking first is the same thing said once. */\n @media (hover: hover) {\n .button--with-arrow:hover .button__label {\n transform: translateX(calc(-1 * var(--_dir) * var(--spacing-12)));\n }\n\n .button--with-arrow:hover .button__arrow {\n opacity: 1;\n transform: translate(var(--spacing-0), -50%);\n }\n }\n\n /* ============================================\n SHAPE — icon-only\n A circle around one icon. The diameter is not pinned, for the same reason\n the labelled height is not: equal padding on every side plus the icon step\n gives 8+16+8 = 32, 12+20+12 = 44 and 16+24+16 = 56. Only md sits level\n with a labelled button beside it: the labelled heights are 33.5, 44 and\n 54.5, so sm is 1.5px shorter and lg 1.5px taller. Both differences come\n from the label's line box, which an icon does not have, and closing them\n would need an off-scale padding. sm is below the 44px target, exactly as\n the labelled sm is.\n\n The padding stays on the spacing scale, which is rem, while the icon is on\n the icon scale, which is px. So when a reader enlarges their text the\n circle grows and the glyph does not -- the target gets bigger for the\n reader a bigger target helps, and the shape stays round because the\n padding is equal on both axes.\n\n The compound selectors outrank the size classes whatever the source\n order, and they carry the radius too, so a size class can never put\n its own corner back. The slotted rule sizes a caller's icon to the step\n even if it was given a size of its own: a 20px glyph in a 56px circle\n reads as the wrong control, not as a choice.\n\n It is the content that makes the circle, not an attribute: one labelled\n bd-icon and nothing else (button.ts, _iconLabel). The label's box steps\n out of the way -- display: contents, so the icon is the circle's one flex\n item -- and while the button is loading the spinner takes the icon's\n place rather than joining it.\n ============================================ */\n .button--icon-only {\n line-height: var(--typography-lineHeight-none);\n }\n .button--icon-only.button--small {\n padding: var(--spacing-8);\n border-radius: var(--radius-full);\n }\n .button--icon-only.button--medium {\n padding: var(--spacing-12);\n border-radius: var(--radius-full);\n }\n .button--icon-only.button--large {\n padding: var(--spacing-16);\n border-radius: var(--radius-full);\n }\n .button--icon-only.button--responsive {\n padding: var(--spacing-12);\n border-radius: var(--radius-full);\n }\n @media ${unsafeCSS(above(\"lg\"))} {\n .button--icon-only.button--responsive {\n padding: var(--spacing-16);\n }\n }\n .button--icon-only .button__label {\n display: contents;\n }\n .button--icon-only.button--loading .button__label {\n display: none;\n }\n .button--icon-only .button__label > ::slotted(*) {\n --bd-icon-size: var(--bd-button-icon-size);\n height: var(--bd-button-icon-size);\n }\n /* loading swaps the icon for the spinner, so the spinner takes the icon's\n box rather than its em size, and the circle does not shrink while busy */\n .button--icon-only .spinner {\n width: var(--bd-button-icon-size);\n height: var(--bd-button-icon-size);\n }\n\n /* ============================================\n VARIANT — primary\n ============================================ */\n .button--primary {\n background-color: var(--bd-button-primary-bg);\n color: var(--bd-button-primary-text);\n }\n .button--primary:hover {\n background-color: var(--bd-button-primary-bg-hover);\n }\n .button--primary:active {\n background-color: var(--bd-button-primary-bg-active);\n }\n\n /* ============================================\n VARIANT — secondary\n ============================================ */\n .button--secondary {\n background-color: var(--bd-button-secondary-bg);\n color: var(--bd-button-secondary-text);\n }\n .button--secondary:hover {\n background-color: var(--bd-button-secondary-bg-hover);\n }\n .button--secondary:active {\n background-color: var(--bd-button-secondary-bg-active);\n }\n\n /* ============================================\n VARIANT — tertiary (blue outline)\n ============================================ */\n .button--tertiary {\n background-color: transparent;\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-border);\n color: var(--bd-button-tertiary-text);\n }\n .button--tertiary:hover {\n background-color: var(--bd-button-tertiary-bg-hover);\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-border-hover);\n color: var(--bd-button-tertiary-text-hover);\n }\n .button--tertiary:active {\n background-color: var(--bd-button-tertiary-bg-active);\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-bg-active);\n color: var(--bd-button-tertiary-text-active);\n }\n\n /* ============================================\n VARIANT — ghost (dark outline)\n ============================================ */\n .button--ghost {\n background-color: transparent;\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-ghost-border);\n color: var(--bd-button-ghost-text);\n }\n .button--ghost:hover {\n background-color: var(--bd-button-ghost-bg-hover);\n color: var(--bd-button-ghost-text-hover);\n }\n .button--ghost:active {\n background-color: var(--bd-button-ghost-bg-active);\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-ghost-bg-active);\n color: var(--bd-button-ghost-text-active);\n }\n\n /* ============================================\n APPEARANCE — plain (a text CTA)\n What bd-contact-button was, as an appearance (Web Awesome's name for it):\n the label in brand ink with no fill and no ring, and the arrow, when there\n is one, a decoration the page writes into end. It is v3's\n .button.bd-contact-btn, rule for rule:\n\n - the inset bd-back carries, 12px 16px, and for the same reason. Without\n it the contact CTA was a bare line box measuring 159x20 -- a 20px tall\n target against the 24x24 WCAG 2.5.8 asks of anything that is not inline\n in a sentence, and a standalone CTA has no exception to claim. bd-back\n is the same shape of control -- text, a trailing mark, no fill -- and\n 12px 16px takes a 16px line to about 44px, the height bd-button reaches\n through its own padding. Reading the inset off the sibling rather than\n picking a number is what keeps the two text CTAs in step.\n - the medium band's radius, so the focus ring follows a curve beside the\n buttons it stands next to rather than drawing square corners round a\n line box. Declared at rest: there is no fill or ring for it to show\n until focus.\n - an 8px gap before the arrow.\n - with no size given, the medium band's type and the sm icon step at\n every width, which is what the contact CTA measured (it took no size\n class and its arrow was bd-arrow-icon's own sm). A size, when one is\n given, sets the type and the icon as on any button; the inset stays.\n\n Its hover and press take bd-back's neutral fills, --color-surface-muted\n then --color-surface-pressed, neutral so they read under every brand,\n and the ink steps to --color-text-brand-hover over them, as a bd-link's\n does. The ink cannot hold, as bd-back's does: bd-back's is the primary\n text, and the brand's own text ink measured 3.71:1 on the pressed fill.\n The hover ink clears 6.65 and 5.14 on Bitdefender. On a dark or brand\n surface the aliases are switched with the rest (SURFACE — dark,\n SURFACE — brand).\n\n :where() keeps the radius rule at one class, so shape=\"rounded\" and the\n icon-only circle, both declared earlier at that weight or above, keep\n their own corner.\n ============================================ */\n .button--plain {\n background-color: transparent;\n color: var(--bd-button-plain-text);\n gap: var(--spacing-8);\n padding: var(--spacing-12) var(--spacing-16);\n }\n .button--plain:where(:not(.button--rounded, .button--icon-only)) {\n border-radius: var(--button-medium-borderRadius);\n }\n .button--plain.button--responsive:not(.button--icon-only) {\n --bd-button-icon-size: var(--icon-sm-size);\n font-size: var(--button-medium-fontSize);\n }\n .button--plain:hover {\n background-color: var(--bd-button-plain-bg-hover);\n color: var(--bd-button-plain-text-hover);\n }\n .button--plain:active {\n background-color: var(--bd-button-plain-bg-active);\n color: var(--bd-button-plain-text-active);\n }\n\n /* ============================================\n VARIANT — accent\n ============================================ */\n .button--accent {\n background-color: var(--bd-button-accent-bg);\n color: var(--bd-button-accent-text);\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-accent-ring);\n }\n .button--accent:hover {\n background-color: var(--bd-button-accent-bg-hover);\n }\n .button--accent:active {\n background-color: var(--bd-button-accent-bg-active);\n }\n\n /* ============================================\n SURFACE — dark\n\n For a hero or any panel with a full background colour. On a light page\n every variant passes; on a coloured one 21 of 25 variant/surface pairings\n failed, because tertiary and ghost put their ink straight onto the page\n and primary is literally the same colour as a blue-500 hero (1.00:1).\n\n The design carries no on-dark set — its axes are Size, Variant and State\n only — so these values are derived from our own palette rather than read\n off a spec, and every one is measured against blue-500, blue-600,\n blue-700, neutral-900 and neutral-950. They need a designer's sign-off.\n\n Two notes on what changed shape rather than just colour: ghost drops its\n ring here, because a white ring would make it identical to tertiary, and\n dropping it is what \"ghost\" conventionally means anyway. accent keeps its\n red so the conversion signal survives, and gains a white ring to give it\n a boundary against blue.\n\n WHY THE INK IS A ROLE AND THE GROUNDS ARE NOT, which is what the inline\n no role: markers below point at. check:color-coverage gained sight of\n these declarations on 2026-09-15 and classified twenty-three of them; a\n role of the right CATEGORY exists at the value for nineteen, and exactly\n nine survive the second question, which is whether the role's JOB is this\n declaration's job.\n\n The nine that do are all ink, and each one matches a role's own words.\n tertiary and ghost put their label straight onto the hero, and\n --color-text-inverse is defined as the high-emphasis ink on an inverse\n ground. Once a variant inverts and the label sits on the button's own\n light fill, it is ordinary ink again -- --color-text-primary -- or brand\n ink, --color-text-brand. disabled's label is a control the user cannot\n operate, which is --color-text-disabled's whole definition rather than a\n step on the hierarchy. Every one is value-identical, so nothing here\n renders differently.\n\n The grounds and hairlines have no role, and the reason is not scarcity.\n --color-surface-default carries this exact white, and its own theme\n clause in Foundations/Surfaces reads \"On dark it is the dark ground, not\n white\" -- so adopting it here would assert the opposite of what the\n declaration means. surface-subtle is a wash behind a group, not a press\n fill. surface-muted is a state surface and would fit primary's pressed\n step on value and nearly on job, but these three values are one ramp\n measured against the hero rather than three independent choices, and\n binding its last step to a role that can move on its own would break the\n relationship the measurement established. At neutral-700 and neutral-600\n there is no surface or border role at all, and there is no solid white\n border role anywhere: --color-border-container-inverse is white at 12%.\n\n So the missing vocabulary is nameable, and it is two entries: a control\n fill on an inverse ground, and a solid hairline on an inverse ground.\n Adding either is a vocabulary decision for the same designer pass this\n block is already waiting on, and token-scales.ts is explicit that one\n consumer is not enough to name a role. Recorded, not taken.\n\n IN A DARK PAGE the hero is still the hero: a blue band or a dark frame\n is dark in every theme, so nothing drawn on it may follow the page into\n its dark values. The ink roles above would -- --color-text-inverse turns\n near-black there, and the brand label on the white fill turns brand-400,\n 3.35:1 -- so the surface draws in the light scheme, the one every\n number in this note was measured in. light-dark() resolves by the\n element's own color-scheme, so this one declaration pins every role the\n surface reads, the focus ring's included, and the button looks the same\n on its hero whatever the page around the hero does.\n ============================================ */\n :host([surface='dark']) {\n color-scheme: light;\n\n /* white fill, brand label — the strongest thing on a coloured hero */\n --bd-button-primary-bg: var(--color-neutral-0); /* no role: on-dark ground; see the block note */\n --bd-button-primary-bg-hover: var(--color-neutral-50); /* no role: on-dark ground; see the block note */\n --bd-button-primary-bg-active: var(--color-neutral-100); /* no role: on-dark ground; see the block note */\n --bd-button-primary-text: var(--color-text-brand);\n\n /* neutral-100 rather than a lighter step: it is the lightest fill that\n still clears 3:1 against a blue-500 hero while staying distinguishable\n from primary's pure white */\n --bd-button-secondary-bg: var(--color-neutral-100); /* no role: on-dark ground; see the block note */\n --bd-button-secondary-bg-hover: var(--color-neutral-50); /* no role: on-dark ground; see the block note */\n --bd-button-secondary-bg-active: var(--color-neutral-0); /* no role: on-dark ground; see the block note */\n --bd-button-secondary-text: var(--color-text-primary);\n\n /* the outlined one: white ring, white label, inverting on hover */\n --bd-button-tertiary-text: var(--color-text-inverse);\n --bd-button-tertiary-border: var(--color-neutral-0); /* no role: on-dark hairline; see the block note */\n --bd-button-tertiary-bg-hover: var(--color-neutral-0); /* no role: on-dark ground; see the block note */\n --bd-button-tertiary-text-hover: var(--color-text-brand);\n --bd-button-tertiary-border-hover: var(--color-neutral-0); /* no role: on-dark hairline; see the block note */\n --bd-button-tertiary-bg-active: var(--color-neutral-50); /* no role: on-dark ground; see the block note */\n --bd-button-tertiary-text-active: var(--color-text-brand);\n\n /* no ring at all, so it stays distinct from tertiary */\n --bd-button-ghost-text: var(--color-text-inverse);\n --bd-button-ghost-border: transparent;\n --bd-button-ghost-bg-hover: var(--color-neutral-0); /* no role: on-dark ground; see the block note */\n --bd-button-ghost-text-hover: var(--color-text-primary);\n --bd-button-ghost-bg-active: var(--color-neutral-50); /* no role: on-dark ground; see the block note */\n --bd-button-ghost-text-active: var(--color-text-primary);\n\n /* plain: white ink on the hero, inverting to a white fill under the\n brand label on hover -- tertiary's on-dark states without the ring */\n --bd-button-plain-text: var(--color-text-inverse);\n --bd-button-plain-bg-hover: var(--color-neutral-0); /* no role: on-dark ground; see the block note */\n --bd-button-plain-text-hover: var(--color-text-brand);\n --bd-button-plain-bg-active: var(--color-neutral-50); /* no role: on-dark ground; see the block note */\n --bd-button-plain-text-active: var(--color-text-brand);\n\n /* unchanged red, plus a boundary against the hero.\n no role: on-dark ring, white in both themes; see the block note */\n --bd-button-accent-ring: var(--color-neutral-0);\n\n /* a white ring, the one colour that clears 3:1 on a brand hero and a\n neutral one alike, which this surface has to cover without knowing\n which it is on. The gap inside it is the hero itself; see FOCUS. */\n --bd-button-focus-ring: var(--focus-outline-traditional-inverse);\n\n /* muted downward instead of upward: a neutral-100 fill would read as an\n active control on a dark hero. Exempt from contrast under WCAG 1.4.3. */\n --bd-button-disabled-bg: var(--color-neutral-700); /* no role: on-dark ground; see the block note */\n --bd-button-disabled-text: var(--color-text-disabled);\n --bd-button-disabled-border: var(--color-neutral-600); /* no role: on-dark hairline; see the block note */\n\n }\n\n /* ============================================\n SURFACE — brand\n\n For a band filled with the brand itself, --color-surface-brand. On\n Bitdefender that band is blue and surface=\"dark\" already reads; on a\n partner whose brand is light, dark's white fills and white rings are\n exactly what cannot be seen.\n\n So this surface is built from one pair only: the brand's ink,\n --color-brand-on-fill, and the brand fill, --color-action-primary. A theme\n must clear 4.5:1 between those two (verify-brands' ink floor), so every\n label and every boundary below inherits that floor whichever way the\n brand runs -- white ink on a dark brand, dark ink on a light one. Nothing\n here may mix the two into a third colour: a tint moves toward one of them\n and loses contrast against it, and which one depends on the brand.\n\n That is also why the states swap the pair rather than tint it. primary\n is the ink fill with the brand as its label, and on hover and press it\n becomes the ink outline; tertiary is the ink outline and inverts to the\n ink fill. ghost has no ring and inverts the same way. secondary and\n accent keep their own fills, whose labels are not the brand's to move,\n and gain a ring in the ink so their edge against the band is the same\n floor. Disabled is exempt from contrast (WCAG 1.4.3) and is the ink at\n reduced strength.\n\n On Bitdefender this differs from surface=\"dark\" on purpose in two places:\n primary's label is the band's blue-500 (4.53:1 on white) rather than\n brand text, and its hover is the outline rather than a neutral-50 fill.\n Both are what a theme-independent surface can promise; dark's choices\n only hold while the brand is dark.\n ============================================ */\n :host([surface='brand']) {\n --bd-button-primary-bg: var(--color-brand-on-fill);\n --bd-button-primary-text: var(--color-action-primary);\n\n --bd-button-tertiary-text: var(--color-brand-on-fill);\n --bd-button-tertiary-border: var(--color-brand-on-fill);\n --bd-button-tertiary-bg-hover: var(--color-brand-on-fill);\n --bd-button-tertiary-text-hover: var(--color-action-primary);\n --bd-button-tertiary-border-hover: var(--color-brand-on-fill);\n --bd-button-tertiary-bg-active: var(--color-brand-on-fill);\n --bd-button-tertiary-text-active: var(--color-action-primary);\n\n --bd-button-ghost-text: var(--color-brand-on-fill);\n --bd-button-ghost-border: transparent;\n --bd-button-ghost-bg-hover: var(--color-brand-on-fill);\n --bd-button-ghost-text-hover: var(--color-action-primary);\n --bd-button-ghost-bg-active: var(--color-brand-on-fill);\n --bd-button-ghost-text-active: var(--color-action-primary);\n\n --bd-button-plain-text: var(--color-brand-on-fill);\n --bd-button-plain-bg-hover: var(--color-brand-on-fill);\n --bd-button-plain-text-hover: var(--color-action-primary);\n --bd-button-plain-bg-active: var(--color-brand-on-fill);\n --bd-button-plain-text-active: var(--color-action-primary);\n\n --bd-button-accent-ring: var(--color-brand-on-fill);\n\n --bd-button-focus-ring: var(--focus-outline-traditional-on-brand);\n\n --bd-button-disabled-bg: color-mix(in srgb, var(--color-brand-on-fill) 20%, transparent);\n --bd-button-disabled-text: color-mix(in srgb, var(--color-brand-on-fill) 55%, transparent);\n --bd-button-disabled-border: color-mix(in srgb, var(--color-brand-on-fill) 40%, transparent);\n }\n\n :host([surface='brand']) .button--primary:hover,\n :host([surface='brand']) .button--primary:active {\n background-color: transparent;\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--color-brand-on-fill);\n color: var(--color-brand-on-fill);\n }\n\n /* not when disabled: the state rule clears the edge, and this is heavier */\n :host([surface='brand']) .button--secondary:not(:disabled, [aria-disabled=\"true\"]) {\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--color-brand-on-fill);\n }\n\n /* ============================================\n STATE — disabled\n Filled variants go grey; outlined ones keep a transparent fill and take\n the subtle border. Contrast is exempt here under WCAG 1.4.3.\n ============================================ */\n .button:disabled,\n .button[aria-disabled=\"true\"] {\n cursor: not-allowed;\n pointer-events: none;\n background-color: var(--bd-button-disabled-bg);\n --bd-button-edge: 0 0 0 0 transparent;\n color: var(--bd-button-disabled-text);\n }\n\n .button--tertiary:disabled,\n .button--ghost:disabled,\n .button--tertiary[aria-disabled=\"true\"],\n .button--ghost[aria-disabled=\"true\"] {\n background-color: transparent;\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-disabled-border);\n color: var(--bd-button-disabled-text);\n }\n\n /* plain has no boundary at rest, so it takes none when disabled either:\n only its ink goes to the disabled one */\n .button--plain:disabled,\n .button--plain[aria-disabled=\"true\"] {\n background-color: transparent;\n color: var(--bd-button-disabled-text);\n }\n\n /* ============================================\n STATE — loading\n The variant keeps its own colours, so the spinner is drawn in\n currentColor and sized in em to track the type scale — which is what the\n design's loading widths imply (they exceed the default by exactly one\n font-size plus the gap).\n ============================================ */\n .button--loading {\n cursor: progress;\n pointer-events: none;\n }\n\n .spinner {\n width: 1em;\n height: 1em;\n flex: none;\n box-sizing: border-box;\n border: var(--border-width-2) solid currentColor;\n border-top-color: transparent;\n border-radius: var(--radius-full);\n animation: bd-button-spin var(--transition-duration-slower)\n var(--transition-easing-linear) infinite;\n }\n\n @keyframes bd-button-spin {\n to { transform: rotate(360deg); }\n }\n\n /* The slot sits inside .button__label, not directly in .button. Not on the\n circle, whose one icon keeps its own display. */\n .button:not(.button--icon-only) .button__label > ::slotted(*) {\n display: inline-block;\n text-align: center;\n }\n\n /* box-shadow is not rendered in forced-colors mode, which would leave the\n outlined variants with no visible boundary at all, so a real border comes\n back there. It costs 4px of height, which does not matter when the user\n agent is repainting everything anyway. */\n @media (forced-colors: active) {\n .button--tertiary,\n .button--ghost {\n border: var(--bd-button-border-width) solid currentColor;\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .button,\n .button__label,\n .button__arrow {\n transition: none !important;\n }\n\n /* a spinner that cannot spin should still read as busy, so it pulses\n rather than freezing into a static broken ring */\n .spinner {\n animation: bd-button-pulse var(--transition-duration-slower)\n var(--transition-easing-smooth) infinite alternate;\n border-top-color: currentColor;\n }\n\n @keyframes bd-button-pulse {\n to { opacity: var(--opacity-pulse); }\n }\n }\n /* ============================================\n VARIANT — white and outline-white\n\n Fixed presets for a solid-colour banner, where even a surface=\"dark\"\n primary would sit too close in tone. They ignore surface on purpose —\n see the note on APPEARANCES in button.ts.\n\n These two were appended below the stylesheet's last rule and unindented,\n and they hardcoded their colours instead of going through the aliases\n every other variant uses: 1.5px against the 2px border width the docs\n describe, #ffffff8c, and two rgba() whites. None of it could be rethemed\n and none of it was visible to the lint, which does not read 8-digit hex\n or rgba().\n\n A preset for a banner is a preset in a dark page too: the banner keeps\n its colour, so the button is drawn in the light scheme, as surface=\"dark\"\n is -- its focus ring, the inverse ink, stays white on the banner.\n ============================================ */\n .button--white,\n .button--outline-white {\n color-scheme: light;\n }\n .button--white {\n background-color: var(--bd-button-white-bg);\n color: var(--bd-button-white-text);\n }\n .button--white:hover {\n background-color: var(--bd-button-white-bg-hover);\n }\n .button--white:active {\n background-color: var(--bd-button-white-bg-active);\n }\n\n .button--outline-white {\n background-color: transparent;\n --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-outline-white-border);\n color: var(--bd-button-outline-white-text);\n }\n .button--outline-white:hover {\n background-color: var(--bd-button-outline-white-bg-hover);\n }\n .button--outline-white:active {\n background-color: var(--bd-button-outline-white-bg-active);\n }\n`;\n"],"mappings":"A,4DAaA,IAAAA,EAAe,CAAG,o5e"}