@repobit/dex-system-design 3.0.1 → 3.0.2

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 (656) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/src/_bundled/oxc-project_runtime/helpers/esm/decorate.js +1 -0
  3. package/dist/src/components/accordion/accordion-bg.css.js +1 -288
  4. package/dist/src/components/accordion/accordion-bg.css.js.map +1 -1
  5. package/dist/src/components/accordion/accordion-bg.d.ts +5 -5
  6. package/dist/src/components/accordion/accordion-bg.js +15 -210
  7. package/dist/src/components/accordion/accordion-bg.js.map +1 -1
  8. package/dist/src/components/accordion/accordion-keyboard.js +1 -89
  9. package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
  10. package/dist/src/components/accordion/accordion-panel.js +1 -22
  11. package/dist/src/components/accordion/accordion-panel.js.map +1 -1
  12. package/dist/src/components/accordion/accordion.css.js +1 -380
  13. package/dist/src/components/accordion/accordion.css.js.map +1 -1
  14. package/dist/src/components/accordion/accordion.d.ts +7 -7
  15. package/dist/src/components/accordion/accordion.js +16 -138
  16. package/dist/src/components/accordion/accordion.js.map +1 -1
  17. package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -88
  18. package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
  19. package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +4 -4
  20. package/dist/src/components/agent-endpoints/agent-endpoints.js +17 -76
  21. package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
  22. package/dist/src/components/alert/alert.css.js +1 -217
  23. package/dist/src/components/alert/alert.css.js.map +1 -1
  24. package/dist/src/components/alert/alert.d.ts +4 -4
  25. package/dist/src/components/alert/alert.js +6 -110
  26. package/dist/src/components/alert/alert.js.map +1 -1
  27. package/dist/src/components/anchor/anchor-nav.css.js +1 -546
  28. package/dist/src/components/anchor/anchor-nav.css.js.map +1 -1
  29. package/dist/src/components/anchor/anchor-nav.d.ts +4 -4
  30. package/dist/src/components/anchor/anchor-nav.js +23 -567
  31. package/dist/src/components/anchor/anchor-nav.js.map +1 -1
  32. package/dist/src/components/annotation/annotation.css.js +1 -64
  33. package/dist/src/components/annotation/annotation.css.js.map +1 -1
  34. package/dist/src/components/annotation/annotation.d.ts +2 -2
  35. package/dist/src/components/annotation/annotation.js +7 -72
  36. package/dist/src/components/annotation/annotation.js.map +1 -1
  37. package/dist/src/components/audience-card/audience-card.css.js +1 -122
  38. package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
  39. package/dist/src/components/audience-card/audience-card.d.ts +2 -2
  40. package/dist/src/components/audience-card/audience-card.js +8 -83
  41. package/dist/src/components/audience-card/audience-card.js.map +1 -1
  42. package/dist/src/components/avatar/avatar.css.js +1 -65
  43. package/dist/src/components/avatar/avatar.css.js.map +1 -1
  44. package/dist/src/components/avatar/avatar.d.ts +3 -3
  45. package/dist/src/components/avatar/avatar.js +6 -76
  46. package/dist/src/components/avatar/avatar.js.map +1 -1
  47. package/dist/src/components/awards/awards-flex.css.js +1 -273
  48. package/dist/src/components/awards/awards-flex.css.js.map +1 -1
  49. package/dist/src/components/awards/awards-flex.d.ts +12 -12
  50. package/dist/src/components/awards/awards-flex.js +33 -264
  51. package/dist/src/components/awards/awards-flex.js.map +1 -1
  52. package/dist/src/components/awards/awards-spotlight.css.js +1 -161
  53. package/dist/src/components/awards/awards-spotlight.css.js.map +1 -1
  54. package/dist/src/components/awards/awards-spotlight.d.ts +4 -4
  55. package/dist/src/components/awards/awards-spotlight.js +24 -140
  56. package/dist/src/components/awards/awards-spotlight.js.map +1 -1
  57. package/dist/src/components/awards/awards.css.js +1 -401
  58. package/dist/src/components/awards/awards.css.js.map +1 -1
  59. package/dist/src/components/awards/awards.d.ts +13 -13
  60. package/dist/src/components/awards/awards.js +26 -179
  61. package/dist/src/components/awards/awards.js.map +1 -1
  62. package/dist/src/components/awards/scroll-slides.js +1 -131
  63. package/dist/src/components/awards/scroll-slides.js.map +1 -1
  64. package/dist/src/components/back/back.css.js +1 -91
  65. package/dist/src/components/back/back.css.js.map +1 -1
  66. package/dist/src/components/back/back.d.ts +1 -1
  67. package/dist/src/components/back/back.js +8 -71
  68. package/dist/src/components/back/back.js.map +1 -1
  69. package/dist/src/components/badge/badge.css.js +1 -204
  70. package/dist/src/components/badge/badge.css.js.map +1 -1
  71. package/dist/src/components/badge/badge.d.ts +4 -4
  72. package/dist/src/components/badge/badge.js +2 -117
  73. package/dist/src/components/badge/badge.js.map +1 -1
  74. package/dist/src/components/bento-grid/bento-grid.css.js +16 -150
  75. package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
  76. package/dist/src/components/bento-grid/bento-grid.d.ts +3 -3
  77. package/dist/src/components/bento-grid/bento-grid.js +10 -189
  78. package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
  79. package/dist/src/components/bento-grid/bento-item.css.js +1 -338
  80. package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
  81. package/dist/src/components/bento-grid/bento-item.d.ts +3 -3
  82. package/dist/src/components/bento-grid/bento-item.js +10 -94
  83. package/dist/src/components/bento-grid/bento-item.js.map +1 -1
  84. package/dist/src/components/blockquote/blockquote.css.js +1 -54
  85. package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
  86. package/dist/src/components/blockquote/blockquote.d.ts +2 -2
  87. package/dist/src/components/blockquote/blockquote.js +1 -44
  88. package/dist/src/components/blockquote/blockquote.js.map +1 -1
  89. package/dist/src/components/breadcrumb/breadcrumb.css.js +1 -168
  90. package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -1
  91. package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -5
  92. package/dist/src/components/breadcrumb/breadcrumb.js +9 -166
  93. package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
  94. package/dist/src/components/button/button.css.js +1 -843
  95. package/dist/src/components/button/button.css.js.map +1 -1
  96. package/dist/src/components/button/button.d.ts +5 -5
  97. package/dist/src/components/button/button.js +18 -420
  98. package/dist/src/components/button/button.js.map +1 -1
  99. package/dist/src/components/caption/caption.css.js +1 -29
  100. package/dist/src/components/caption/caption.css.js.map +1 -1
  101. package/dist/src/components/caption/caption.d.ts +3 -3
  102. package/dist/src/components/caption/caption.js +2 -36
  103. package/dist/src/components/caption/caption.js.map +1 -1
  104. package/dist/src/components/card-features/card-features.css.js +1 -120
  105. package/dist/src/components/card-features/card-features.css.js.map +1 -1
  106. package/dist/src/components/card-features/card-features.d.ts +3 -3
  107. package/dist/src/components/card-features/card-features.js +12 -145
  108. package/dist/src/components/card-features/card-features.js.map +1 -1
  109. package/dist/src/components/cards/card.css.js +1 -369
  110. package/dist/src/components/cards/card.css.js.map +1 -1
  111. package/dist/src/components/cards/card.d.ts +3 -3
  112. package/dist/src/components/cards/card.js +21 -312
  113. package/dist/src/components/cards/card.js.map +1 -1
  114. package/dist/src/components/carousel/carousel.css.js +1 -261
  115. package/dist/src/components/carousel/carousel.css.js.map +1 -1
  116. package/dist/src/components/carousel/carousel.d.ts +5 -5
  117. package/dist/src/components/carousel/carousel.js +13 -297
  118. package/dist/src/components/carousel/carousel.js.map +1 -1
  119. package/dist/src/components/checkbox/checkbox.css.js +1 -173
  120. package/dist/src/components/checkbox/checkbox.css.js.map +1 -1
  121. package/dist/src/components/checkbox/checkbox.d.ts +2 -2
  122. package/dist/src/components/checkbox/checkbox.js +5 -138
  123. package/dist/src/components/checkbox/checkbox.js.map +1 -1
  124. package/dist/src/components/code/code.css.js +1 -73
  125. package/dist/src/components/code/code.css.js.map +1 -1
  126. package/dist/src/components/code/code.d.ts +2 -2
  127. package/dist/src/components/code/code.js +4 -87
  128. package/dist/src/components/code/code.js.map +1 -1
  129. package/dist/src/components/compare/compare.css.js +1 -478
  130. package/dist/src/components/compare/compare.css.js.map +1 -1
  131. package/dist/src/components/compare/compare.d.ts +5 -5
  132. package/dist/src/components/compare/compare.js +23 -476
  133. package/dist/src/components/compare/compare.js.map +1 -1
  134. package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -141
  135. package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
  136. package/dist/src/components/comparison-panel/comparison-panel.d.ts +2 -2
  137. package/dist/src/components/comparison-panel/comparison-panel.js +18 -86
  138. package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
  139. package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -391
  140. package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
  141. package/dist/src/components/compatibility-table/compatibility-table.d.ts +2 -2
  142. package/dist/src/components/compatibility-table/compatibility-table.js +26 -136
  143. package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
  144. package/dist/src/components/cta-banner/cta-banner.css.js +1 -97
  145. package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
  146. package/dist/src/components/cta-banner/cta-banner.d.ts +2 -2
  147. package/dist/src/components/cta-banner/cta-banner.js +8 -51
  148. package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
  149. package/dist/src/components/display/display.css.js +1 -95
  150. package/dist/src/components/display/display.css.js.map +1 -1
  151. package/dist/src/components/display/display.d.ts +2 -2
  152. package/dist/src/components/display/display.js +3 -84
  153. package/dist/src/components/display/display.js.map +1 -1
  154. package/dist/src/components/divider/divider-horizontal.d.ts +2 -2
  155. package/dist/src/components/divider/divider-horizontal.js +4 -63
  156. package/dist/src/components/divider/divider-horizontal.js.map +1 -1
  157. package/dist/src/components/divider/divider-vertical.d.ts +2 -2
  158. package/dist/src/components/divider/divider-vertical.js +6 -61
  159. package/dist/src/components/divider/divider-vertical.js.map +1 -1
  160. package/dist/src/components/divider/divider.css.js +1 -20
  161. package/dist/src/components/divider/divider.css.js.map +1 -1
  162. package/dist/src/components/dropdown/dropdown.css.js +1 -121
  163. package/dist/src/components/dropdown/dropdown.css.js.map +1 -1
  164. package/dist/src/components/dropdown/dropdown.d.ts +5 -5
  165. package/dist/src/components/dropdown/dropdown.js +17 -283
  166. package/dist/src/components/dropdown/dropdown.js.map +1 -1
  167. package/dist/src/components/features/features.css.js +1 -123
  168. package/dist/src/components/features/features.css.js.map +1 -1
  169. package/dist/src/components/features/features.d.ts +5 -5
  170. package/dist/src/components/features/features.js +11 -71
  171. package/dist/src/components/features/features.js.map +1 -1
  172. package/dist/src/components/features-tab/features-tab.css.js +1 -100
  173. package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
  174. package/dist/src/components/features-tab/features-tab.d.ts +5 -5
  175. package/dist/src/components/features-tab/features-tab.js +9 -70
  176. package/dist/src/components/features-tab/features-tab.js.map +1 -1
  177. package/dist/src/components/fieldset/fieldset.css.js +1 -28
  178. package/dist/src/components/fieldset/fieldset.css.js.map +1 -1
  179. package/dist/src/components/fieldset/fieldset.d.ts +2 -2
  180. package/dist/src/components/fieldset/fieldset.js +3 -31
  181. package/dist/src/components/fieldset/fieldset.js.map +1 -1
  182. package/dist/src/components/footer/footer-images.js +5 -27
  183. package/dist/src/components/footer/footer-images.js.map +1 -1
  184. package/dist/src/components/footer/footer-links-group.css.js +1 -33
  185. package/dist/src/components/footer/footer-links-group.css.js.map +1 -1
  186. package/dist/src/components/footer/footer-links-group.d.ts +3 -3
  187. package/dist/src/components/footer/footer-links-group.js +3 -32
  188. package/dist/src/components/footer/footer-links-group.js.map +1 -1
  189. package/dist/src/components/footer/footer-locale.js +1 -45
  190. package/dist/src/components/footer/footer-locale.js.map +1 -1
  191. package/dist/src/components/footer/footer-lp.d.ts +7 -7
  192. package/dist/src/components/footer/footer-lp.js +8 -121
  193. package/dist/src/components/footer/footer-lp.js.map +1 -1
  194. package/dist/src/components/footer/footer-nav-menu.css.js +1 -61
  195. package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -1
  196. package/dist/src/components/footer/footer-nav-menu.d.ts +3 -3
  197. package/dist/src/components/footer/footer-nav-menu.js +3 -47
  198. package/dist/src/components/footer/footer-nav-menu.js.map +1 -1
  199. package/dist/src/components/footer/footer.css.js +1 -664
  200. package/dist/src/components/footer/footer.css.js.map +1 -1
  201. package/dist/src/components/footer/footer.d.ts +13 -13
  202. package/dist/src/components/footer/footer.js +20 -305
  203. package/dist/src/components/footer/footer.js.map +1 -1
  204. package/dist/src/components/footer/localeMap.js +1 -1
  205. package/dist/src/components/footer/localeMap.js.map +1 -1
  206. package/dist/src/components/grid/grid.css.js +1 -78
  207. package/dist/src/components/grid/grid.css.js.map +1 -1
  208. package/dist/src/components/grid/grid.d.ts +2 -2
  209. package/dist/src/components/grid/grid.js +9 -126
  210. package/dist/src/components/grid/grid.js.map +1 -1
  211. package/dist/src/components/header/header-code.css.js +1 -369
  212. package/dist/src/components/header/header-code.css.js.map +1 -1
  213. package/dist/src/components/header/header-code.d.ts +4 -4
  214. package/dist/src/components/header/header-code.js +15 -163
  215. package/dist/src/components/header/header-code.js.map +1 -1
  216. package/dist/src/components/header/header.css.js +1 -757
  217. package/dist/src/components/header/header.css.js.map +1 -1
  218. package/dist/src/components/header/header.d.ts +7 -7
  219. package/dist/src/components/header/header.js +4 -212
  220. package/dist/src/components/header/header.js.map +1 -1
  221. package/dist/src/components/heading/heading.css.js +1 -89
  222. package/dist/src/components/heading/heading.css.js.map +1 -1
  223. package/dist/src/components/heading/heading.d.ts +2 -2
  224. package/dist/src/components/heading/heading.js +1 -108
  225. package/dist/src/components/heading/heading.js.map +1 -1
  226. package/dist/src/components/help-text/help-text.css.js +1 -19
  227. package/dist/src/components/help-text/help-text.css.js.map +1 -1
  228. package/dist/src/components/help-text/help-text.d.ts +2 -2
  229. package/dist/src/components/help-text/help-text.js +3 -31
  230. package/dist/src/components/help-text/help-text.js.map +1 -1
  231. package/dist/src/components/hero/hero.css.js +1 -362
  232. package/dist/src/components/hero/hero.css.js.map +1 -1
  233. package/dist/src/components/hero/hero.d.ts +3 -3
  234. package/dist/src/components/hero/hero.js +12 -164
  235. package/dist/src/components/hero/hero.js.map +1 -1
  236. package/dist/src/components/highlight/highlight.css.js +1 -175
  237. package/dist/src/components/highlight/highlight.css.js.map +1 -1
  238. package/dist/src/components/highlight/highlight.d.ts +3 -3
  239. package/dist/src/components/highlight/highlight.js +4 -115
  240. package/dist/src/components/highlight/highlight.js.map +1 -1
  241. package/dist/src/components/icons/analysis-icon.d.ts +1 -1
  242. package/dist/src/components/icons/analysis-icon.js +2 -20
  243. package/dist/src/components/icons/analysis-icon.js.map +1 -1
  244. package/dist/src/components/icons/arrow-down-icon.d.ts +1 -1
  245. package/dist/src/components/icons/arrow-down-icon.js +2 -20
  246. package/dist/src/components/icons/arrow-down-icon.js.map +1 -1
  247. package/dist/src/components/icons/arrow-icon.d.ts +1 -1
  248. package/dist/src/components/icons/arrow-icon.js +2 -48
  249. package/dist/src/components/icons/arrow-icon.js.map +1 -1
  250. package/dist/src/components/icons/arrow-right-icon.d.ts +1 -1
  251. package/dist/src/components/icons/arrow-right-icon.js +2 -45
  252. package/dist/src/components/icons/arrow-right-icon.js.map +1 -1
  253. package/dist/src/components/icons/arrow-up-icon.d.ts +1 -1
  254. package/dist/src/components/icons/arrow-up-icon.js +2 -33
  255. package/dist/src/components/icons/arrow-up-icon.js.map +1 -1
  256. package/dist/src/components/icons/av-comparatives-icon.js +2 -31
  257. package/dist/src/components/icons/av-comparatives-icon.js.map +1 -1
  258. package/dist/src/components/icons/bd-ai-icon.js +2 -31
  259. package/dist/src/components/icons/bd-ai-icon.js.map +1 -1
  260. package/dist/src/components/icons/best-brands-icon.js +2 -31
  261. package/dist/src/components/icons/best-brands-icon.js.map +1 -1
  262. package/dist/src/components/icons/brand-signature-icon.d.ts +1 -1
  263. package/dist/src/components/icons/brand-signature-icon.js +2 -46
  264. package/dist/src/components/icons/brand-signature-icon.js.map +1 -1
  265. package/dist/src/components/icons/check-icon.d.ts +1 -1
  266. package/dist/src/components/icons/check-icon.js +2 -31
  267. package/dist/src/components/icons/check-icon.js.map +1 -1
  268. package/dist/src/components/icons/circle-info-icon.d.ts +1 -1
  269. package/dist/src/components/icons/circle-info-icon.js +2 -35
  270. package/dist/src/components/icons/circle-info-icon.js.map +1 -1
  271. package/dist/src/components/icons/close-icon.d.ts +1 -1
  272. package/dist/src/components/icons/close-icon.js +2 -20
  273. package/dist/src/components/icons/close-icon.js.map +1 -1
  274. package/dist/src/components/icons/enterprise-icon.d.ts +1 -1
  275. package/dist/src/components/icons/enterprise-icon.js +2 -22
  276. package/dist/src/components/icons/enterprise-icon.js.map +1 -1
  277. package/dist/src/components/icons/family-icon.d.ts +1 -1
  278. package/dist/src/components/icons/family-icon.js +2 -20
  279. package/dist/src/components/icons/family-icon.js.map +1 -1
  280. package/dist/src/components/icons/globe-icon.d.ts +1 -1
  281. package/dist/src/components/icons/globe-icon.js +2 -20
  282. package/dist/src/components/icons/globe-icon.js.map +1 -1
  283. package/dist/src/components/icons/guide-icon.d.ts +1 -1
  284. package/dist/src/components/icons/guide-icon.js +2 -20
  285. package/dist/src/components/icons/guide-icon.js.map +1 -1
  286. package/dist/src/components/icons/home-icon.d.ts +1 -1
  287. package/dist/src/components/icons/home-icon.js +2 -22
  288. package/dist/src/components/icons/home-icon.js.map +1 -1
  289. package/dist/src/components/icons/icon-element.js +1 -162
  290. package/dist/src/components/icons/icon-element.js.map +1 -1
  291. package/dist/src/components/icons/icons.d.ts +23 -23
  292. package/dist/src/components/icons/icons.js +1 -42
  293. package/dist/src/components/icons/individual-icon.d.ts +1 -1
  294. package/dist/src/components/icons/individual-icon.js +2 -20
  295. package/dist/src/components/icons/individual-icon.js.map +1 -1
  296. package/dist/src/components/icons/laurel-icon.d.ts +1 -1
  297. package/dist/src/components/icons/laurel-icon.js +2 -24
  298. package/dist/src/components/icons/laurel-icon.js.map +1 -1
  299. package/dist/src/components/icons/machine-learning-icon.d.ts +1 -1
  300. package/dist/src/components/icons/machine-learning-icon.js +2 -20
  301. package/dist/src/components/icons/machine-learning-icon.js.map +1 -1
  302. package/dist/src/components/icons/marks.d.ts +9 -9
  303. package/dist/src/components/icons/marks.js +1 -41
  304. package/dist/src/components/icons/minus-icon.d.ts +1 -1
  305. package/dist/src/components/icons/minus-icon.js +2 -19
  306. package/dist/src/components/icons/minus-icon.js.map +1 -1
  307. package/dist/src/components/icons/missing-icon.d.ts +1 -1
  308. package/dist/src/components/icons/missing-icon.js +3 -53
  309. package/dist/src/components/icons/missing-icon.js.map +1 -1
  310. package/dist/src/components/icons/pause-icon.d.ts +1 -1
  311. package/dist/src/components/icons/pause-icon.js +2 -22
  312. package/dist/src/components/icons/pause-icon.js.map +1 -1
  313. package/dist/src/components/icons/pc-mag-2024-icon.js +2 -31
  314. package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -1
  315. package/dist/src/components/icons/pc-mag-business-icon.js +2 -31
  316. package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -1
  317. package/dist/src/components/icons/pc-mag-icon.js +2 -31
  318. package/dist/src/components/icons/pc-mag-icon.js.map +1 -1
  319. package/dist/src/components/icons/pc-mag-readers-icon.js +2 -30
  320. package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -1
  321. package/dist/src/components/icons/play-icon.d.ts +1 -1
  322. package/dist/src/components/icons/play-icon.js +2 -22
  323. package/dist/src/components/icons/play-icon.js.map +1 -1
  324. package/dist/src/components/icons/plus-icon.d.ts +1 -1
  325. package/dist/src/components/icons/plus-icon.js +2 -19
  326. package/dist/src/components/icons/plus-icon.js.map +1 -1
  327. package/dist/src/components/icons/quote-icon.d.ts +1 -1
  328. package/dist/src/components/icons/quote-icon.js +2 -30
  329. package/dist/src/components/icons/quote-icon.js.map +1 -1
  330. package/dist/src/components/icons/small-business-icon.d.ts +1 -1
  331. package/dist/src/components/icons/small-business-icon.js +2 -22
  332. package/dist/src/components/icons/small-business-icon.js.map +1 -1
  333. package/dist/src/components/icons/top-product-icon.js +2 -31
  334. package/dist/src/components/icons/top-product-icon.js.map +1 -1
  335. package/dist/src/components/image/image.css.js +1 -106
  336. package/dist/src/components/image/image.css.js.map +1 -1
  337. package/dist/src/components/image/image.d.ts +2 -2
  338. package/dist/src/components/image/image.js +10 -115
  339. package/dist/src/components/image/image.js.map +1 -1
  340. package/dist/src/components/input/input-clipboard.css.js +1 -93
  341. package/dist/src/components/input/input-clipboard.css.js.map +1 -1
  342. package/dist/src/components/input/input-clipboard.d.ts +5 -5
  343. package/dist/src/components/input/input-clipboard.js +20 -257
  344. package/dist/src/components/input/input-clipboard.js.map +1 -1
  345. package/dist/src/components/input/input.css.js +1 -9
  346. package/dist/src/components/input/input.css.js.map +1 -1
  347. package/dist/src/components/input/input.d.ts +4 -4
  348. package/dist/src/components/input/input.js +19 -202
  349. package/dist/src/components/input/input.js.map +1 -1
  350. package/dist/src/components/install-options/install-options.css.js +1 -308
  351. package/dist/src/components/install-options/install-options.css.js.map +1 -1
  352. package/dist/src/components/install-options/install-options.d.ts +4 -4
  353. package/dist/src/components/install-options/install-options.js +28 -159
  354. package/dist/src/components/install-options/install-options.js.map +1 -1
  355. package/dist/src/components/label/label.css.js +1 -33
  356. package/dist/src/components/label/label.css.js.map +1 -1
  357. package/dist/src/components/label/label.d.ts +3 -3
  358. package/dist/src/components/label/label.js +3 -135
  359. package/dist/src/components/label/label.js.map +1 -1
  360. package/dist/src/components/light-carousel/light-carousel.css.js +1 -270
  361. package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -1
  362. package/dist/src/components/light-carousel/light-carousel.d.ts +3 -3
  363. package/dist/src/components/light-carousel/light-carousel.js +16 -181
  364. package/dist/src/components/light-carousel/light-carousel.js.map +1 -1
  365. package/dist/src/components/link/link.css.js +1 -288
  366. package/dist/src/components/link/link.css.js.map +1 -1
  367. package/dist/src/components/link/link.d.ts +3 -3
  368. package/dist/src/components/link/link.js +6 -233
  369. package/dist/src/components/link/link.js.map +1 -1
  370. package/dist/src/components/list/list-item/list-item.css.js +1 -167
  371. package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
  372. package/dist/src/components/list/list-item/list-item.d.ts +3 -3
  373. package/dist/src/components/list/list-item/list-item.js +3 -122
  374. package/dist/src/components/list/list-item/list-item.js.map +1 -1
  375. package/dist/src/components/list/list.css.js +1 -180
  376. package/dist/src/components/list/list.css.js.map +1 -1
  377. package/dist/src/components/list/list.d.ts +1 -1
  378. package/dist/src/components/list/list.js +5 -82
  379. package/dist/src/components/list/list.js.map +1 -1
  380. package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -93
  381. package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
  382. package/dist/src/components/logo-marquee/logo-marquee.d.ts +3 -3
  383. package/dist/src/components/logo-marquee/logo-marquee.js +6 -147
  384. package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
  385. package/dist/src/components/modal/modal.css.js +1 -203
  386. package/dist/src/components/modal/modal.css.js.map +1 -1
  387. package/dist/src/components/modal/modal.d.ts +3 -3
  388. package/dist/src/components/modal/modal.js +3 -131
  389. package/dist/src/components/modal/modal.js.map +1 -1
  390. package/dist/src/components/motion-art/motion-art.d.ts +1 -1
  391. package/dist/src/components/motion-art/motion-art.js +1 -114
  392. package/dist/src/components/motion-art/motion-art.js.map +1 -1
  393. package/dist/src/components/overview/overview.css.js +1 -125
  394. package/dist/src/components/overview/overview.css.js.map +1 -1
  395. package/dist/src/components/overview/overview.d.ts +2 -2
  396. package/dist/src/components/overview/overview.js +9 -50
  397. package/dist/src/components/overview/overview.js.map +1 -1
  398. package/dist/src/components/page-switcher/page-switcher.css.js +1 -174
  399. package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
  400. package/dist/src/components/page-switcher/page-switcher.d.ts +2 -2
  401. package/dist/src/components/page-switcher/page-switcher.js +6 -62
  402. package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
  403. package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -160
  404. package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
  405. package/dist/src/components/pagination-dots/pagination-dots.d.ts +2 -2
  406. package/dist/src/components/pagination-dots/pagination-dots.js +10 -210
  407. package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
  408. package/dist/src/components/paragraph/paragraph.css.js +1 -101
  409. package/dist/src/components/paragraph/paragraph.css.js.map +1 -1
  410. package/dist/src/components/paragraph/paragraph.d.ts +2 -2
  411. package/dist/src/components/paragraph/paragraph.js +3 -119
  412. package/dist/src/components/paragraph/paragraph.js.map +1 -1
  413. package/dist/src/components/partner-banner/partner-banner.css.js +1 -245
  414. package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
  415. package/dist/src/components/partner-banner/partner-banner.d.ts +1 -1
  416. package/dist/src/components/partner-banner/partner-banner.js +6 -81
  417. package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
  418. package/dist/src/components/picture/picture.css.js +1 -208
  419. package/dist/src/components/picture/picture.css.js.map +1 -1
  420. package/dist/src/components/picture/picture.d.ts +2 -2
  421. package/dist/src/components/picture/picture.js +14 -186
  422. package/dist/src/components/picture/picture.js.map +1 -1
  423. package/dist/src/components/post-card/post-card.css.js +1 -149
  424. package/dist/src/components/post-card/post-card.css.js.map +1 -1
  425. package/dist/src/components/post-card/post-card.d.ts +2 -2
  426. package/dist/src/components/post-card/post-card.js +5 -97
  427. package/dist/src/components/post-card/post-card.js.map +1 -1
  428. package/dist/src/components/pricing-cards/adopt-styles.js +1 -18
  429. package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -1
  430. package/dist/src/components/pricing-cards/new-pricing-card.d.ts +2 -2
  431. package/dist/src/components/pricing-cards/new-pricing-card.js +4 -49
  432. package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -1
  433. package/dist/src/components/pricing-cards/new-pricing.css.js +1 -74
  434. package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -1
  435. package/dist/src/components/pricing-cards/pricing-card-actions.css.js +1 -11
  436. package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -1
  437. package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +2 -2
  438. package/dist/src/components/pricing-cards/pricing-card-actions.js +2 -59
  439. package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -1
  440. package/dist/src/components/pricing-cards/pricing-card-container.css.js +1 -41
  441. package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -1
  442. package/dist/src/components/pricing-cards/pricing-card-container.d.ts +1 -1
  443. package/dist/src/components/pricing-cards/pricing-card-container.js +2 -40
  444. package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -1
  445. package/dist/src/components/pricing-cards/pricing-card-header.css.js +1 -82
  446. package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -1
  447. package/dist/src/components/pricing-cards/pricing-card-header.d.ts +5 -5
  448. package/dist/src/components/pricing-cards/pricing-card-header.js +7 -70
  449. package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -1
  450. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +1 -92
  451. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -1
  452. package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +6 -6
  453. package/dist/src/components/pricing-cards/pricing-card-pricing.js +7 -87
  454. package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -1
  455. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +1 -29
  456. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -1
  457. package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +4 -4
  458. package/dist/src/components/pricing-cards/pricing-card-show-more.js +5 -41
  459. package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -1
  460. package/dist/src/components/pricing-cards/pricing-card.css.js +1 -660
  461. package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -1
  462. package/dist/src/components/pricing-cards/pricing-card.d.ts +7 -7
  463. package/dist/src/components/pricing-cards/pricing-card.js +53 -639
  464. package/dist/src/components/pricing-cards/pricing-card.js.map +1 -1
  465. package/dist/src/components/pricing-cards/pricing-feature-item.css.js +1 -34
  466. package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -1
  467. package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +2 -2
  468. package/dist/src/components/pricing-cards/pricing-feature-item.js +2 -22
  469. package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -1
  470. package/dist/src/components/process-steps/process-steps.css.js +1 -106
  471. package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
  472. package/dist/src/components/process-steps/process-steps.d.ts +5 -5
  473. package/dist/src/components/process-steps/process-steps.js +10 -78
  474. package/dist/src/components/process-steps/process-steps.js.map +1 -1
  475. package/dist/src/components/progress/progress.css.js +1 -123
  476. package/dist/src/components/progress/progress.css.js.map +1 -1
  477. package/dist/src/components/progress/progress.d.ts +2 -2
  478. package/dist/src/components/progress/progress.js +6 -72
  479. package/dist/src/components/progress/progress.js.map +1 -1
  480. package/dist/src/components/quick-answer/quick-answer.css.js +1 -130
  481. package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
  482. package/dist/src/components/quick-answer/quick-answer.d.ts +2 -2
  483. package/dist/src/components/quick-answer/quick-answer.js +9 -49
  484. package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
  485. package/dist/src/components/radio/radio-group.css.js +1 -41
  486. package/dist/src/components/radio/radio-group.css.js.map +1 -1
  487. package/dist/src/components/radio/radio-group.d.ts +1 -1
  488. package/dist/src/components/radio/radio-group.js +5 -92
  489. package/dist/src/components/radio/radio-group.js.map +1 -1
  490. package/dist/src/components/radio/radio.css.js +1 -193
  491. package/dist/src/components/radio/radio.css.js.map +1 -1
  492. package/dist/src/components/radio/radio.d.ts +4 -4
  493. package/dist/src/components/radio/radio.js +6 -263
  494. package/dist/src/components/radio/radio.js.map +1 -1
  495. package/dist/src/components/radio/toggle-radio.d.ts +2 -2
  496. package/dist/src/components/radio/toggle-radio.js +3 -39
  497. package/dist/src/components/radio/toggle-radio.js.map +1 -1
  498. package/dist/src/components/review/review-grid.css.js +1 -46
  499. package/dist/src/components/review/review-grid.css.js.map +1 -1
  500. package/dist/src/components/review/review-grid.d.ts +2 -2
  501. package/dist/src/components/review/review-grid.js +4 -49
  502. package/dist/src/components/review/review-grid.js.map +1 -1
  503. package/dist/src/components/review/review.css.js +1 -54
  504. package/dist/src/components/review/review.css.js.map +1 -1
  505. package/dist/src/components/review/review.d.ts +2 -2
  506. package/dist/src/components/review/review.js +2 -59
  507. package/dist/src/components/review/review.js.map +1 -1
  508. package/dist/src/components/section/section.css.js +1 -37
  509. package/dist/src/components/section/section.css.js.map +1 -1
  510. package/dist/src/components/section/section.d.ts +1 -1
  511. package/dist/src/components/section/section.js +1 -50
  512. package/dist/src/components/section/section.js.map +1 -1
  513. package/dist/src/components/section-header/section-header.css.js +1 -99
  514. package/dist/src/components/section-header/section-header.css.js.map +1 -1
  515. package/dist/src/components/section-header/section-header.d.ts +2 -2
  516. package/dist/src/components/section-header/section-header.js +4 -85
  517. package/dist/src/components/section-header/section-header.js.map +1 -1
  518. package/dist/src/components/shared/announcer.d.ts +1 -1
  519. package/dist/src/components/shared/announcer.js +1 -34
  520. package/dist/src/components/shared/announcer.js.map +1 -1
  521. package/dist/src/components/shared/controller.media-query.d.ts +1 -1
  522. package/dist/src/components/shared/controller.media-query.js +1 -57
  523. package/dist/src/components/shared/controller.media-query.js.map +1 -1
  524. package/dist/src/components/shared/define-element.js +1 -16
  525. package/dist/src/components/shared/define-element.js.map +1 -1
  526. package/dist/src/components/shared/ensemble.css.js +1 -101
  527. package/dist/src/components/shared/ensemble.css.js.map +1 -1
  528. package/dist/src/components/shared/events.js +0 -13
  529. package/dist/src/components/shared/fill-width.css.js +2 -27
  530. package/dist/src/components/shared/fill-width.css.js.map +1 -1
  531. package/dist/src/components/shared/form-control.d.ts +1 -1
  532. package/dist/src/components/shared/form-control.js +1 -198
  533. package/dist/src/components/shared/form-control.js.map +1 -1
  534. package/dist/src/components/shared/form-field.css.js +1 -258
  535. package/dist/src/components/shared/form-field.css.js.map +1 -1
  536. package/dist/src/components/shared/prop-vocabulary.js +1 -49
  537. package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
  538. package/dist/src/components/shared/token-scales.js +1 -351
  539. package/dist/src/components/shared/token-scales.js.map +1 -1
  540. package/dist/src/components/skeleton/skeleton.css.js +1 -32
  541. package/dist/src/components/skeleton/skeleton.css.js.map +1 -1
  542. package/dist/src/components/skeleton/skeleton.d.ts +2 -2
  543. package/dist/src/components/skeleton/skeleton.js +4 -36
  544. package/dist/src/components/skeleton/skeleton.js.map +1 -1
  545. package/dist/src/components/spinner/spinner.css.js +1 -87
  546. package/dist/src/components/spinner/spinner.css.js.map +1 -1
  547. package/dist/src/components/spinner/spinner.d.ts +3 -3
  548. package/dist/src/components/spinner/spinner.js +3 -69
  549. package/dist/src/components/spinner/spinner.js.map +1 -1
  550. package/dist/src/components/spotlight-section/spotlight-section.css.js +1 -105
  551. package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -1
  552. package/dist/src/components/spotlight-section/spotlight-section.d.ts +2 -2
  553. package/dist/src/components/spotlight-section/spotlight-section.js +11 -72
  554. package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -1
  555. package/dist/src/components/stat/stat-highlight.js +6 -82
  556. package/dist/src/components/stat/stat-highlight.js.map +1 -1
  557. package/dist/src/components/stat/stat-tile.js +5 -52
  558. package/dist/src/components/stat/stat-tile.js.map +1 -1
  559. package/dist/src/components/stat/stat.css.js +1 -145
  560. package/dist/src/components/stat/stat.css.js.map +1 -1
  561. package/dist/src/components/stat/stat.d.ts +2 -2
  562. package/dist/src/components/stat/stat.js +1 -3
  563. package/dist/src/components/switch/switch.css.js +1 -175
  564. package/dist/src/components/switch/switch.css.js.map +1 -1
  565. package/dist/src/components/switch/switch.d.ts +4 -4
  566. package/dist/src/components/switch/switch.js +4 -99
  567. package/dist/src/components/switch/switch.js.map +1 -1
  568. package/dist/src/components/tab-list/tab-list.css.js +1 -289
  569. package/dist/src/components/tab-list/tab-list.css.js.map +1 -1
  570. package/dist/src/components/tab-list/tab-list.d.ts +1 -1
  571. package/dist/src/components/tab-list/tab-list.js +13 -191
  572. package/dist/src/components/tab-list/tab-list.js.map +1 -1
  573. package/dist/src/components/tabs/tabs.css.js +1 -77
  574. package/dist/src/components/tabs/tabs.css.js.map +1 -1
  575. package/dist/src/components/tabs/tabs.d.ts +6 -6
  576. package/dist/src/components/tabs/tabs.js +8 -220
  577. package/dist/src/components/tabs/tabs.js.map +1 -1
  578. package/dist/src/components/tag/tag.css.js +1 -52
  579. package/dist/src/components/tag/tag.css.js.map +1 -1
  580. package/dist/src/components/tag/tag.d.ts +2 -2
  581. package/dist/src/components/tag/tag.js +2 -37
  582. package/dist/src/components/tag/tag.js.map +1 -1
  583. package/dist/src/components/terminal/terminal-cursor.js +1 -65
  584. package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
  585. package/dist/src/components/terminal/terminal-message.css.js +1 -409
  586. package/dist/src/components/terminal/terminal-message.css.js.map +1 -1
  587. package/dist/src/components/terminal/terminal-message.d.ts +5 -5
  588. package/dist/src/components/terminal/terminal-message.js +28 -183
  589. package/dist/src/components/terminal/terminal-message.js.map +1 -1
  590. package/dist/src/components/termsOfUse/terms.css.js +1 -55
  591. package/dist/src/components/termsOfUse/terms.css.js.map +1 -1
  592. package/dist/src/components/termsOfUse/terms.d.ts +5 -5
  593. package/dist/src/components/termsOfUse/terms.js +9 -82
  594. package/dist/src/components/termsOfUse/terms.js.map +1 -1
  595. package/dist/src/components/textarea/textarea.css.js +1 -49
  596. package/dist/src/components/textarea/textarea.css.js.map +1 -1
  597. package/dist/src/components/textarea/textarea.d.ts +5 -5
  598. package/dist/src/components/textarea/textarea.js +15 -160
  599. package/dist/src/components/textarea/textarea.js.map +1 -1
  600. package/dist/src/components/tooltip/tooltip.css.js +1 -96
  601. package/dist/src/components/tooltip/tooltip.css.js.map +1 -1
  602. package/dist/src/components/tooltip/tooltip.d.ts +2 -2
  603. package/dist/src/components/tooltip/tooltip.js +5 -285
  604. package/dist/src/components/tooltip/tooltip.js.map +1 -1
  605. package/dist/src/components/trust-panel/trust-panel.css.js +1 -228
  606. package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
  607. package/dist/src/components/trust-panel/trust-panel.d.ts +4 -4
  608. package/dist/src/components/trust-panel/trust-panel.js +25 -104
  609. package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
  610. package/dist/src/components/video/video.css.js +1 -20
  611. package/dist/src/components/video/video.css.js.map +1 -1
  612. package/dist/src/components/video/video.d.ts +2 -2
  613. package/dist/src/components/video/video.js +5 -88
  614. package/dist/src/components/video/video.js.map +1 -1
  615. package/dist/src/components/video-player/video-player.css.js +1 -167
  616. package/dist/src/components/video-player/video-player.css.js.map +1 -1
  617. package/dist/src/components/video-player/video-player.d.ts +2 -2
  618. package/dist/src/components/video-player/video-player.js +15 -150
  619. package/dist/src/components/video-player/video-player.js.map +1 -1
  620. package/dist/src/components/visually-hidden/visually-hidden.css.js +1 -22
  621. package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -1
  622. package/dist/src/components/visually-hidden/visually-hidden.d.ts +2 -2
  623. package/dist/src/components/visually-hidden/visually-hidden.js +2 -22
  624. package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -1
  625. package/dist/src/tokens/brand-layer.js +8 -162
  626. package/dist/src/tokens/brand-layer.js.map +1 -1
  627. package/dist/src/tokens/dark-derivation.js +1 -325
  628. package/dist/src/tokens/dark-derivation.js.map +1 -1
  629. package/dist/src/tokens/dark-findings.d.ts +1 -1
  630. package/dist/src/tokens/dark-findings.js +1 -204
  631. package/dist/src/tokens/dark-findings.js.map +1 -1
  632. package/dist/src/tokens/fonts.css +1 -166
  633. package/dist/src/tokens/layout.css +1 -61
  634. package/dist/src/tokens/story-chrome.js +27 -221
  635. package/dist/src/tokens/story-chrome.js.map +1 -1
  636. package/dist/src/tokens/themes/bitdefender.js +1 -30
  637. package/dist/src/tokens/themes/bitdefender.js.map +1 -1
  638. package/dist/src/tokens/themes/contract.js +1 -7
  639. package/dist/src/tokens/themes/contract.js.map +1 -1
  640. package/dist/src/tokens/themes/index.js +1 -39
  641. package/dist/src/tokens/themes/index.js.map +1 -1
  642. package/dist/src/tokens/token-map.js +1 -236
  643. package/dist/src/tokens/token-map.js.map +1 -1
  644. package/dist/src/tokens/token-purposes.js +1 -259
  645. package/dist/src/tokens/token-purposes.js.map +1 -1
  646. package/dist/src/tokens/tokens.css +1 -1809
  647. package/dist/src/tokens/tokens.js +1 -1865
  648. package/dist/src/tokens/tokens.js.map +1 -1
  649. package/dist/src/tokens/type-ceiling-words.js +1 -293
  650. package/dist/src/tokens/type-ceiling-words.js.map +1 -1
  651. package/package.json +14 -3
  652. package/schemas/component-manifest.json +1 -1
  653. package/dist/src/components/icons/icons.js.map +0 -1
  654. package/dist/src/components/icons/marks.js.map +0 -1
  655. package/dist/src/components/shared/events.js.map +0 -1
  656. package/dist/src/components/stat/stat.js.map +0 -1
@@ -1,844 +1,2 @@
1
- import { css, unsafeCSS } from "lit";
2
- import { above } from "../shared/token-scales.js";
3
- /**
4
- * Styled entirely from src/tokens/tokens.ts — see CLAUDE.md, "The foundation
5
- * rule". Every measurement was matched to the token that already carries the
6
- * ds-button value; nothing was copied across as a literal.
7
- *
8
- * The --button-* properties below are component-local semantic aliases, not
9
- * design tokens. Declaring them on :host is deliberate: outer-tree rules beat
10
- * :host, so a page can still theme a button with
11
- * `bd-button { --bd-button-primary-bg: … }`.
12
- */
13
- export default css `
14
- :host {
15
- display: inline-flex;
16
-
17
- /* Component-local aliases, not design tokens. Each defaults to the
18
- --button-* token that carries the system-wide answer, so there are two
19
- places to change a button and they do different jobs: set the token on
20
- :root to move every button in the document, or set the alias on the
21
- bd-button element to move one.
22
-
23
- The alias is also what surface="dark" switches further down, which is
24
- why it stays even now that the tokens behind it are live. */
25
-
26
- /* ---- primary: blue fill ------------------------------------------- */
27
- --bd-button-primary-bg: var(--button-primary-background-default);
28
- --bd-button-primary-bg-hover: var(--button-primary-background-hover);
29
- --bd-button-primary-bg-active: var(--button-primary-background-active);
30
- --bd-button-primary-text: var(--button-primary-text-default);
31
-
32
- /* ---- secondary: near-black fill ----------------------------------- */
33
- --bd-button-secondary-bg: var(--button-secondary-background-default);
34
- --bd-button-secondary-bg-hover: var(--button-secondary-background-hover);
35
- --bd-button-secondary-bg-active: var(--button-secondary-background-active);
36
- --bd-button-secondary-text: var(--button-secondary-text-default);
37
-
38
- /* ---- tertiary: blue outline --------------------------------------- */
39
- --bd-button-tertiary-text: var(--button-tertiary-text-default);
40
- --bd-button-tertiary-border: var(--button-tertiary-border-default);
41
- --bd-button-tertiary-bg-hover: var(--button-tertiary-background-hover);
42
- --bd-button-tertiary-text-hover: var(--button-tertiary-text-hover);
43
- --bd-button-tertiary-border-hover: var(--button-tertiary-border-hover);
44
- --bd-button-tertiary-bg-active: var(--button-tertiary-background-active);
45
- --bd-button-tertiary-text-active: var(--button-tertiary-text-active);
46
-
47
- /* ---- ghost: dark outline ------------------------------------------ */
48
- --bd-button-ghost-text: var(--button-ghost-text-default);
49
- --bd-button-ghost-border: var(--button-ghost-border-default);
50
- --bd-button-ghost-bg-hover: var(--button-ghost-background-hover);
51
- --bd-button-ghost-text-hover: var(--button-ghost-text-hover);
52
- --bd-button-ghost-bg-active: var(--button-ghost-background-active);
53
- --bd-button-ghost-text-active: var(--button-ghost-text-active);
54
-
55
- /* ---- accent: red fill --------------------------------------------- */
56
- --bd-button-accent-bg: var(--button-accent-background-default);
57
- --bd-button-accent-bg-hover: var(--button-accent-background-hover);
58
- --bd-button-accent-bg-active: var(--button-accent-background-active);
59
- --bd-button-accent-text: var(--button-accent-text-default);
60
-
61
- /* ---- white and outline-white: fixed presets for a coloured banner --
62
- They ignore surface on purpose; see the note on VARIANTS in button.ts. */
63
- --bd-button-white-bg: var(--button-white-background-default);
64
- --bd-button-white-bg-hover: var(--button-white-background-hover);
65
- --bd-button-white-bg-active: var(--button-white-background-active);
66
- --bd-button-white-text: var(--button-white-text-default);
67
-
68
- --bd-button-outline-white-text: var(--button-outline-white-text-default);
69
- --bd-button-outline-white-border: var(--button-outline-white-border-default);
70
- --bd-button-outline-white-bg-hover: var(--button-outline-white-background-hover);
71
- --bd-button-outline-white-bg-active: var(--button-outline-white-background-active);
72
-
73
- /* ---- disabled, shared across every variant ----------------------- */
74
- --bd-button-disabled-bg: var(--button-disabled-backgroundColor);
75
- --bd-button-disabled-text: var(--button-disabled-color);
76
- --bd-button-disabled-border: var(--button-disabled-borderColor);
77
-
78
- /* accent carries no ring on a light page; on a dark one it needs a
79
- boundary, so the value is switched rather than the rule */
80
- --bd-button-accent-ring: var(--button-accent-ring-default);
81
-
82
- /* the focus ring is switched the same way: surface="dark" swaps the blue
83
- outline for a white one. white and outline-white do not read this; see
84
- FOCUS. */
85
- --bd-button-focus-ring: var(--button-shared-focus-outline);
86
-
87
- --bd-button-border-width: var(--border-width-2);
88
- }
89
-
90
- /* ============================================
91
- WIDTH
92
- --bd-button-width is how wide the button is, and it is the container's
93
- to set: on the element, or from a ::slotted() rule, which is the one
94
- thing a component holding a slotted button can reach. bd-anchor-nav and
95
- bd-bento-item run their CTA full width on a phone this way, where they
96
- used to listen to the window and write fullwidth on the page's own
97
- element. Unset, the button hugs its label as before. fullwidth and align
98
- still win -- :where() gives the inner rule no weight -- and an icon-only
99
- circle ignores it, as it ignores fullwidth.
100
- ============================================ */
101
- :host(:not([icon-only])) {
102
- width: var(--bd-button-width, auto);
103
- }
104
-
105
- :where(.button:not(.button--icon-only)) {
106
- width: var(--bd-button-width, auto);
107
- }
108
-
109
- /* ============================================
110
- ALIGNMENT
111
- ============================================ */
112
- :host([align="center"]) {
113
- display: flex;
114
- justify-content: center;
115
- width: 100%;
116
- }
117
-
118
- :host([align="right"]) {
119
- display: flex;
120
- justify-content: flex-end;
121
- width: 100%;
122
- }
123
-
124
- :host([align="left"]) {
125
- display: inline-flex;
126
- justify-content: flex-start;
127
- }
128
-
129
- :host([fullwidth]) {
130
- display: block;
131
- width: 100%;
132
- }
133
-
134
- :host([align="center"][fullwidth]) .button,
135
- :host([align="right"][fullwidth]) .button {
136
- width: 100%;
137
- }
138
-
139
- .max--width {
140
- width: 100%;
141
- display: flex;
142
- }
143
-
144
- /* ============================================
145
- FOCUS
146
- The design specifies no focus state, but 2.4.7 requires one.
147
-
148
- The ring is an outline held 2px off the control, and the 2px between is
149
- left transparent, so it is whatever surface the button sits on. That is
150
- the one thing code can do here that Figma cannot, and it is why the two
151
- differ. Figma builds a ring from spread shadows, every band of which is a
152
- painted colour, so its library paints the gap and keeps one ring per
153
- surface: focus/ring-primary on light, focus/ring-inverse on dark and
154
- brand. Painted in code, that gap is what went wrong twice: a white band
155
- merged into a white fill on surface="dark", and the neutral-900 band
156
- that replaced it drew a black outline round every button on a brand
157
- hero. A transparent gap cannot do either, on any surface.
158
-
159
- So only the colour switches: blue on light, white under surface="dark",
160
- which covers a brand hero and a neutral one alike; the numbers are on
161
- --focus-outline-traditional. Every variant takes the same ring, ghost
162
- included. An outline is also kept in forced-colors mode, where a
163
- box-shadow ring is not drawn at all.
164
-
165
- The rule leaves box-shadow alone, so an outlined variant's own boundary
166
- in --bd-button-edge stays put while focused.
167
-
168
- This used to be driven from JavaScript: two requestAnimationFrame hops
169
- checked :focus-visible and set a data attribute the CSS then styled.
170
- :focus-visible does that natively. There is no :focus { outline: none }
171
- beside it: the browser's own ring is a :focus-visible ring too, so a
172
- pointer focus never drew one, and the rule below replaces it.
173
- ============================================ */
174
- .button:focus-visible {
175
- outline: var(--bd-button-focus-ring);
176
- outline-offset: var(--button-shared-focus-outlineOffset);
177
- }
178
-
179
- /* white and outline-white are presets for a coloured banner and ignore
180
- surface, so they take the white ring on their own: 4.53:1 on blue-500,
181
- 7.95:1 at the light end of the banner gradient. A blue ring there was
182
- 2.38:1, and 1.75:1 at that end. */
183
- .button--white:focus-visible,
184
- .button--outline-white:focus-visible {
185
- outline: var(--focus-outline-traditional-inverse);
186
- }
187
-
188
- a.button {
189
- text-decoration: none;
190
- }
191
-
192
- /* ============================================
193
- SHARED
194
- ============================================ */
195
- .button,
196
- .bd-contact-btn {
197
- display: inline-flex;
198
- justify-content: center;
199
- align-items: center;
200
- text-align: center;
201
- text-decoration: none;
202
- border: none;
203
- cursor: pointer;
204
- font-family: var(--typography-fontFamily-sans);
205
- font-weight: var(--typography-control-label-large-fontWeight);
206
- line-height: var(--typography-control-label-large-lineHeight);
207
- vertical-align: middle;
208
- box-sizing: border-box;
209
-
210
- /* The variant's own boundary, held in a custom property so each state can
211
- switch it. It was introduced while the focus ring was a box-shadow, so
212
- the ring could COMPOSE with it: box-shadow is a single list, not
213
- additive, and .button:focus-visible (0,2,0) outranks .button--ghost
214
- (0,1,0) -- so a focus rule that declared box-shadow directly erased the
215
- border of every outlined variant, and a focused ghost button read as a
216
- tertiary one. The ring is an outline now and does not touch box-shadow;
217
- a focus rule that goes back to declaring it brings that defect back. */
218
- --bd-button-edge: 0 0 0 0 transparent;
219
- box-shadow: var(--bd-button-edge);
220
-
221
- transition: background-color var(--transition-duration-normal) var(--transition-easing-smooth),
222
- box-shadow var(--transition-duration-normal) var(--transition-easing-smooth),
223
- color var(--transition-duration-normal) var(--transition-easing-smooth);
224
- }
225
-
226
- /* bd-contact-button has no variant, so it would inherit no colour at all */
227
- .button.bd-contact-btn {
228
- background-color: transparent;
229
- color: var(--color-text-brand);
230
- gap: var(--spacing-8);
231
-
232
- /* Same inset bd-back carries, and for the same reason. Without it this
233
- control was a bare line box measuring 159x20 -- a 20px tall target
234
- against the 24x24 WCAG 2.5.8 asks of anything that is not inline in a
235
- sentence, so 4px short, and a standalone CTA has no exception to claim.
236
- It also left the focus ring sitting on the glyphs' ascenders.
237
-
238
- bd-back is the same shape of control -- text, a trailing mark, no fill --
239
- and already answers this with 12px 16px, which takes a 16px line to about
240
- 44px: the same height bd-button reaches through its own padding. Reading
241
- the inset off the sibling rather than picking a number is what keeps the
242
- two text CTAs in step. */
243
- padding: var(--spacing-12) var(--spacing-16);
244
-
245
- /* This control takes no size class -- it is a text CTA with a trailing
246
- arrow, not a filled button -- so it arrived with no radius at all, and
247
- the shared ring drew SQUARE corners around a bare line box while every
248
- other button's ring followed a curve.
249
-
250
- --button-medium-borderRadius, not --focus-outline-radius. The focus
251
- token is the documented default for an element with NO radius, and that
252
- is what this rule used first -- but with the inset above the control is
253
- now a 44px box standing next to bd-button at the same height, and the
254
- focus token is --radius-sm where medium buttons are --radius-md. Four
255
- pixels against six is small, and it is visible when they sit in a row.
256
- Matching the size band this control actually occupies is the better
257
- answer than matching the rule for controls that occupy none.
258
-
259
- Declared unconditionally rather than under :focus-visible because the
260
- control draws no background and no border at rest, so the radius is
261
- invisible until the ring needs it. */
262
- border-radius: var(--button-medium-borderRadius);
263
- }
264
-
265
- /* ============================================
266
- SIZE
267
- Height is left to padding and line-height rather than pinned with a
268
- min-height, which lands within half a pixel of the design: 33.5 / 44 /
269
- 54.5 against 34 / 45 / 55. The previous rules also carried hardcoded
270
- min-widths (115px, 150px) that the design does not ask for at all.
271
-
272
- The radius comes from --button-*-borderRadius rather than --radius-*
273
- directly. Same values, so nothing moves here — but a button and a field
274
- of the same size sit in the same form row, and reading both from their
275
- own size-matched alias is what keeps them in step. Spelled as raw scale
276
- steps on one side and aliases on the other, they had drifted a step apart
277
- at sm and md without either side looking wrong on its own.
278
- ============================================ */
279
- .button--small {
280
- padding: var(--button-small-padding);
281
- font-size: var(--button-small-fontSize);
282
- border-radius: var(--button-small-borderRadius);
283
- gap: var(--button-small-gap);
284
- }
285
-
286
- .button--medium {
287
- padding: var(--button-medium-padding);
288
- font-size: var(--button-medium-fontSize);
289
- border-radius: var(--button-medium-borderRadius);
290
- gap: var(--button-medium-gap);
291
- }
292
-
293
- .button--large {
294
- padding: var(--button-large-padding);
295
- font-size: var(--button-large-fontSize);
296
- border-radius: var(--button-large-borderRadius);
297
- gap: var(--button-large-gap);
298
- }
299
-
300
- /* No size attribute: md on phone and tablet, lg on desktop. The same
301
- declarations as the two bands above, switched at lg so it lands on the
302
- grid's own desktop step rather than a width of its own. */
303
- .button--responsive {
304
- padding: var(--button-medium-padding);
305
- font-size: var(--button-medium-fontSize);
306
- border-radius: var(--button-medium-borderRadius);
307
- gap: var(--button-medium-gap);
308
- }
309
- @media ${unsafeCSS(above("lg"))} {
310
- .button--responsive {
311
- padding: var(--button-large-padding);
312
- font-size: var(--button-large-fontSize);
313
- border-radius: var(--button-large-borderRadius);
314
- gap: var(--button-large-gap);
315
- }
316
- }
317
-
318
- .button--bold {
319
- /* no role: the class is the semantic. .button--bold says what this
320
- declaration does, so a role naming it would only restate the class --
321
- there is no text-content type here for a role to describe, just an
322
- emphasis the caller asked for by name. The same holds for a weight
323
- driven by an active or selected state: that is a UI state, the category
324
- CLAUDE.md keeps apart from type when it says a focus ring is never
325
- expressed by swapping a border colour. This is the argument for every
326
- "no role: state or modifier" marker in the package -- the others point
327
- here rather than restating it. */
328
- font-weight: var(--typography-fontWeight-semibold);
329
- }
330
-
331
- /* shape="rounded". After the size rules on purpose: same specificity, so
332
- source order is what lets the shape replace the size band's corner. */
333
- .button--rounded {
334
- border-radius: var(--shape-radius-3xl);
335
- }
336
-
337
- /* ============================================
338
- HOVER ARROW — accent, unless no-arrow
339
- The button keeps its width: the label slides toward the inline start
340
- and the arrow, absolutely positioned at the end, fades in where the
341
- label was. --_dir turns both slides round on a right-to-left page, the
342
- multiplier bd-pagination-dots uses; the arrow itself mirrors there (see
343
- icon-element.ts), so it still points the way the label moved from.
344
- ============================================ */
345
- .button__label {
346
- display: inline-block;
347
- }
348
-
349
- .button--with-arrow {
350
- --_dir: 1;
351
- position: relative;
352
- overflow: hidden;
353
- }
354
-
355
- :host(:dir(rtl)) .button--with-arrow {
356
- --_dir: -1;
357
- }
358
-
359
- .button--with-arrow .button__label {
360
- transition: transform var(--transition-duration-normal) var(--transition-easing-smooth);
361
- }
362
-
363
- .button--with-arrow .button__arrow {
364
- position: absolute;
365
- top: 50%;
366
- inset-inline-end: var(--spacing-12);
367
- opacity: 0;
368
- transform: translate(calc(-1 * var(--_dir) * var(--spacing-8)), -50%);
369
- transition:
370
- opacity var(--transition-duration-normal) var(--transition-easing-smooth),
371
- transform var(--transition-duration-normal) var(--transition-easing-smooth);
372
- pointer-events: none;
373
- }
374
-
375
- .button--with-arrow:focus-visible .button__label {
376
- transform: translateX(calc(-1 * var(--_dir) * var(--spacing-12)));
377
- }
378
-
379
- .button--with-arrow:focus-visible .button__arrow {
380
- opacity: 1;
381
- transform: translate(var(--spacing-0), -50%);
382
- }
383
-
384
- /* Only where a pointer can hover. A touch screen has no real hover, and a
385
- tap left the arrow stuck out; this was a (hover: none) block undoing the
386
- hover rules after the fact, and asking first is the same thing said once. */
387
- @media (hover: hover) {
388
- .button--with-arrow:hover .button__label {
389
- transform: translateX(calc(-1 * var(--_dir) * var(--spacing-12)));
390
- }
391
-
392
- .button--with-arrow:hover .button__arrow {
393
- opacity: 1;
394
- transform: translate(var(--spacing-0), -50%);
395
- }
396
- }
397
-
398
- /* ============================================
399
- SHAPE — icon-only
400
- A circle around one icon. The diameter is not pinned, for the same reason
401
- the labelled height is not: equal padding on every side plus the icon step
402
- gives 8+16+8 = 32, 12+20+12 = 44 and 16+24+16 = 56. Only md sits level
403
- with a labelled button beside it: the labelled heights are 33.5, 44 and
404
- 54.5, so sm is 1.5px shorter and lg 1.5px taller. Both differences come
405
- from the label's line box, which an icon does not have, and closing them
406
- would need an off-scale padding. sm is below the 44px target, exactly as
407
- the labelled sm is.
408
-
409
- The padding stays on the spacing scale, which is rem, while the icon is on
410
- the icon scale, which is px. So when a reader enlarges their text the
411
- circle grows and the glyph does not -- the target gets bigger for the
412
- reader a bigger target helps, and the shape stays round because the
413
- padding is equal on both axes.
414
-
415
- The compound selectors outrank the size classes whatever the source
416
- order, and they carry the radius too, so a size class can never put
417
- its own corner back. The slotted rule sizes a caller's icon to the step
418
- even if it was given a size of its own: a 20px glyph in a 56px circle
419
- reads as the wrong control, not as a choice.
420
- ============================================ */
421
- .button--icon-only {
422
- line-height: var(--typography-lineHeight-none);
423
- }
424
- .button--icon-only.button--small {
425
- --bd-button-icon-size: var(--icon-sm-size);
426
- padding: var(--spacing-8);
427
- border-radius: var(--radius-full);
428
- }
429
- .button--icon-only.button--medium {
430
- --bd-button-icon-size: var(--icon-md-size);
431
- padding: var(--spacing-12);
432
- border-radius: var(--radius-full);
433
- }
434
- .button--icon-only.button--large {
435
- --bd-button-icon-size: var(--icon-lg-size);
436
- padding: var(--spacing-16);
437
- border-radius: var(--radius-full);
438
- }
439
- .button--icon-only.button--responsive {
440
- --bd-button-icon-size: var(--icon-md-size);
441
- padding: var(--spacing-12);
442
- border-radius: var(--radius-full);
443
- }
444
- @media ${unsafeCSS(above("lg"))} {
445
- .button--icon-only.button--responsive {
446
- --bd-button-icon-size: var(--icon-lg-size);
447
- padding: var(--spacing-16);
448
- }
449
- }
450
- /* the default arrow is fallback content, not slotted, so ::slotted below
451
- never reaches it; it takes the step through bd-icon's own property */
452
- .button__icon {
453
- --bd-icon-size: var(--bd-button-icon-size);
454
- }
455
- .button--icon-only > ::slotted(*) {
456
- height: var(--bd-button-icon-size);
457
- }
458
- /* loading swaps the icon for the spinner, so the spinner takes the icon's
459
- box rather than its em size, and the circle does not shrink while busy */
460
- .button--icon-only .spinner {
461
- width: var(--bd-button-icon-size);
462
- height: var(--bd-button-icon-size);
463
- }
464
-
465
- /* ============================================
466
- VARIANT — primary
467
- ============================================ */
468
- .button--primary {
469
- background-color: var(--bd-button-primary-bg);
470
- color: var(--bd-button-primary-text);
471
- }
472
- .button--primary:hover {
473
- background-color: var(--bd-button-primary-bg-hover);
474
- }
475
- .button--primary:active {
476
- background-color: var(--bd-button-primary-bg-active);
477
- }
478
-
479
- /* ============================================
480
- VARIANT — secondary
481
- ============================================ */
482
- .button--secondary {
483
- background-color: var(--bd-button-secondary-bg);
484
- color: var(--bd-button-secondary-text);
485
- }
486
- .button--secondary:hover {
487
- background-color: var(--bd-button-secondary-bg-hover);
488
- }
489
- .button--secondary:active {
490
- background-color: var(--bd-button-secondary-bg-active);
491
- }
492
-
493
- /* ============================================
494
- VARIANT — tertiary (blue outline)
495
- ============================================ */
496
- .button--tertiary {
497
- background-color: transparent;
498
- --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-border);
499
- color: var(--bd-button-tertiary-text);
500
- }
501
- .button--tertiary:hover {
502
- background-color: var(--bd-button-tertiary-bg-hover);
503
- --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-border-hover);
504
- color: var(--bd-button-tertiary-text-hover);
505
- }
506
- .button--tertiary:active {
507
- background-color: var(--bd-button-tertiary-bg-active);
508
- --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-tertiary-bg-active);
509
- color: var(--bd-button-tertiary-text-active);
510
- }
511
-
512
- /* ============================================
513
- VARIANT — ghost (dark outline)
514
- ============================================ */
515
- .button--ghost {
516
- background-color: transparent;
517
- --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-ghost-border);
518
- color: var(--bd-button-ghost-text);
519
- }
520
- .button--ghost:hover {
521
- background-color: var(--bd-button-ghost-bg-hover);
522
- color: var(--bd-button-ghost-text-hover);
523
- }
524
- .button--ghost:active {
525
- background-color: var(--bd-button-ghost-bg-active);
526
- --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-ghost-bg-active);
527
- color: var(--bd-button-ghost-text-active);
528
- }
529
-
530
- /* ============================================
531
- VARIANT — accent
532
- ============================================ */
533
- .button--accent {
534
- background-color: var(--bd-button-accent-bg);
535
- color: var(--bd-button-accent-text);
536
- --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-accent-ring);
537
- }
538
- .button--accent:hover {
539
- background-color: var(--bd-button-accent-bg-hover);
540
- }
541
- .button--accent:active {
542
- background-color: var(--bd-button-accent-bg-active);
543
- }
544
-
545
- /* ============================================
546
- SURFACE — dark
547
-
548
- For a hero or any panel with a full background colour. On a light page
549
- every variant passes; on a coloured one 21 of 25 variant/surface pairings
550
- failed, because tertiary and ghost put their ink straight onto the page
551
- and primary is literally the same colour as a blue-500 hero (1.00:1).
552
-
553
- The design carries no on-dark set — its axes are Size, Variant and State
554
- only — so these values are derived from our own palette rather than read
555
- off a spec, and every one is measured against blue-500, blue-600,
556
- blue-700, neutral-900 and neutral-950. They need a designer's sign-off.
557
-
558
- Two notes on what changed shape rather than just colour: ghost drops its
559
- ring here, because a white ring would make it identical to tertiary, and
560
- dropping it is what "ghost" conventionally means anyway. accent keeps its
561
- red so the conversion signal survives, and gains a white ring to give it
562
- a boundary against blue.
563
-
564
- WHY THE INK IS A ROLE AND THE GROUNDS ARE NOT, which is what the inline
565
- no role: markers below point at. check:color-coverage gained sight of
566
- these declarations on 2026-09-15 and classified twenty-three of them; a
567
- role of the right CATEGORY exists at the value for nineteen, and exactly
568
- nine survive the second question, which is whether the role's JOB is this
569
- declaration's job.
570
-
571
- The nine that do are all ink, and each one matches a role's own words.
572
- tertiary and ghost put their label straight onto the hero, and
573
- --color-text-inverse is defined as the high-emphasis ink on an inverse
574
- ground. Once a variant inverts and the label sits on the button's own
575
- light fill, it is ordinary ink again -- --color-text-primary -- or brand
576
- ink, --color-text-brand. disabled's label is a control the user cannot
577
- operate, which is --color-text-disabled's whole definition rather than a
578
- step on the hierarchy. Every one is value-identical, so nothing here
579
- renders differently.
580
-
581
- The grounds and hairlines have no role, and the reason is not scarcity.
582
- --color-surface-default carries this exact white, and its own theme
583
- clause in Foundations/Surfaces reads "On dark it is the dark ground, not
584
- white" -- so adopting it here would assert the opposite of what the
585
- declaration means. surface-subtle is a wash behind a group, not a press
586
- fill. surface-muted is a state surface and would fit primary's pressed
587
- step on value and nearly on job, but these three values are one ramp
588
- measured against the hero rather than three independent choices, and
589
- binding its last step to a role that can move on its own would break the
590
- relationship the measurement established. At neutral-700 and neutral-600
591
- there is no surface or border role at all, and there is no solid white
592
- border role anywhere: --color-border-container-inverse is white at 12%.
593
-
594
- So the missing vocabulary is nameable, and it is two entries: a control
595
- fill on an inverse ground, and a solid hairline on an inverse ground.
596
- Adding either is a vocabulary decision for the same designer pass this
597
- block is already waiting on, and token-scales.ts is explicit that one
598
- consumer is not enough to name a role. Recorded, not taken.
599
- ============================================ */
600
- :host([surface='dark']) {
601
- /* white fill, brand label — the strongest thing on a coloured hero */
602
- --bd-button-primary-bg: var(--color-neutral-0); /* no role: on-dark ground; see the block note */
603
- --bd-button-primary-bg-hover: var(--color-neutral-50); /* no role: on-dark ground; see the block note */
604
- --bd-button-primary-bg-active: var(--color-neutral-100); /* no role: on-dark ground; see the block note */
605
- --bd-button-primary-text: var(--color-text-brand);
606
-
607
- /* neutral-100 rather than a lighter step: it is the lightest fill that
608
- still clears 3:1 against a blue-500 hero while staying distinguishable
609
- from primary's pure white */
610
- --bd-button-secondary-bg: var(--color-neutral-100); /* no role: on-dark ground; see the block note */
611
- --bd-button-secondary-bg-hover: var(--color-neutral-50); /* no role: on-dark ground; see the block note */
612
- --bd-button-secondary-bg-active: var(--color-neutral-0); /* no role: on-dark ground; see the block note */
613
- --bd-button-secondary-text: var(--color-text-primary);
614
-
615
- /* the outlined one: white ring, white label, inverting on hover */
616
- --bd-button-tertiary-text: var(--color-text-inverse);
617
- --bd-button-tertiary-border: var(--color-neutral-0); /* no role: on-dark hairline; see the block note */
618
- --bd-button-tertiary-bg-hover: var(--color-neutral-0); /* no role: on-dark ground; see the block note */
619
- --bd-button-tertiary-text-hover: var(--color-text-brand);
620
- --bd-button-tertiary-border-hover: var(--color-neutral-0); /* no role: on-dark hairline; see the block note */
621
- --bd-button-tertiary-bg-active: var(--color-neutral-50); /* no role: on-dark ground; see the block note */
622
- --bd-button-tertiary-text-active: var(--color-text-brand);
623
-
624
- /* no ring at all, so it stays distinct from tertiary */
625
- --bd-button-ghost-text: var(--color-text-inverse);
626
- --bd-button-ghost-border: transparent;
627
- --bd-button-ghost-bg-hover: var(--color-neutral-0); /* no role: on-dark ground; see the block note */
628
- --bd-button-ghost-text-hover: var(--color-text-primary);
629
- --bd-button-ghost-bg-active: var(--color-neutral-50); /* no role: on-dark ground; see the block note */
630
- --bd-button-ghost-text-active: var(--color-text-primary);
631
-
632
- /* unchanged red, plus a boundary against the hero */
633
- --bd-button-accent-ring: var(--color-neutral-0);
634
-
635
- /* a white ring, the one colour that clears 3:1 on a brand hero and a
636
- neutral one alike, which this surface has to cover without knowing
637
- which it is on. The gap inside it is the hero itself; see FOCUS. */
638
- --bd-button-focus-ring: var(--focus-outline-traditional-inverse);
639
-
640
- /* muted downward instead of upward: a neutral-100 fill would read as an
641
- active control on a dark hero. Exempt from contrast under WCAG 1.4.3. */
642
- --bd-button-disabled-bg: var(--color-neutral-700); /* no role: on-dark ground; see the block note */
643
- --bd-button-disabled-text: var(--color-text-disabled);
644
- --bd-button-disabled-border: var(--color-neutral-600); /* no role: on-dark hairline; see the block note */
645
-
646
- }
647
-
648
- /* ============================================
649
- SURFACE — brand
650
-
651
- For a band filled with the brand itself, --color-surface-brand. On
652
- Bitdefender that band is blue and surface="dark" already reads; on a
653
- partner whose brand is light, dark's white fills and white rings are
654
- exactly what cannot be seen.
655
-
656
- So this surface is built from one pair only: the brand's ink,
657
- --color-brand-on-fill, and the brand fill, --color-action-primary. A theme
658
- must clear 4.5:1 between those two (verify-brands' ink floor), so every
659
- label and every boundary below inherits that floor whichever way the
660
- brand runs -- white ink on a dark brand, dark ink on a light one. Nothing
661
- here may mix the two into a third colour: a tint moves toward one of them
662
- and loses contrast against it, and which one depends on the brand.
663
-
664
- That is also why the states swap the pair rather than tint it. primary
665
- is the ink fill with the brand as its label, and on hover and press it
666
- becomes the ink outline; tertiary is the ink outline and inverts to the
667
- ink fill. ghost has no ring and inverts the same way. secondary and
668
- accent keep their own fills, whose labels are not the brand's to move,
669
- and gain a ring in the ink so their edge against the band is the same
670
- floor. Disabled is exempt from contrast (WCAG 1.4.3) and is the ink at
671
- reduced strength.
672
-
673
- On Bitdefender this differs from surface="dark" on purpose in two places:
674
- primary's label is the band's blue-500 (4.53:1 on white) rather than
675
- brand text, and its hover is the outline rather than a neutral-50 fill.
676
- Both are what a theme-independent surface can promise; dark's choices
677
- only hold while the brand is dark.
678
- ============================================ */
679
- :host([surface='brand']) {
680
- --bd-button-primary-bg: var(--color-brand-on-fill);
681
- --bd-button-primary-text: var(--color-action-primary);
682
-
683
- --bd-button-tertiary-text: var(--color-brand-on-fill);
684
- --bd-button-tertiary-border: var(--color-brand-on-fill);
685
- --bd-button-tertiary-bg-hover: var(--color-brand-on-fill);
686
- --bd-button-tertiary-text-hover: var(--color-action-primary);
687
- --bd-button-tertiary-border-hover: var(--color-brand-on-fill);
688
- --bd-button-tertiary-bg-active: var(--color-brand-on-fill);
689
- --bd-button-tertiary-text-active: var(--color-action-primary);
690
-
691
- --bd-button-ghost-text: var(--color-brand-on-fill);
692
- --bd-button-ghost-border: transparent;
693
- --bd-button-ghost-bg-hover: var(--color-brand-on-fill);
694
- --bd-button-ghost-text-hover: var(--color-action-primary);
695
- --bd-button-ghost-bg-active: var(--color-brand-on-fill);
696
- --bd-button-ghost-text-active: var(--color-action-primary);
697
-
698
- --bd-button-accent-ring: var(--color-brand-on-fill);
699
-
700
- --bd-button-focus-ring: var(--focus-outline-traditional-on-brand);
701
-
702
- --bd-button-disabled-bg: color-mix(in srgb, var(--color-brand-on-fill) 20%, transparent);
703
- --bd-button-disabled-text: color-mix(in srgb, var(--color-brand-on-fill) 55%, transparent);
704
- --bd-button-disabled-border: color-mix(in srgb, var(--color-brand-on-fill) 40%, transparent);
705
- }
706
-
707
- :host([surface='brand']) .button--primary:hover,
708
- :host([surface='brand']) .button--primary:active {
709
- background-color: transparent;
710
- --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--color-brand-on-fill);
711
- color: var(--color-brand-on-fill);
712
- }
713
-
714
- /* not when disabled: the state rule clears the edge, and this is heavier */
715
- :host([surface='brand']) .button--secondary:not(:disabled, [aria-disabled="true"]) {
716
- --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--color-brand-on-fill);
717
- }
718
-
719
- /* ============================================
720
- STATE — disabled
721
- Filled variants go grey; outlined ones keep a transparent fill and take
722
- the subtle border. Contrast is exempt here under WCAG 1.4.3.
723
- ============================================ */
724
- .button:disabled,
725
- .button[aria-disabled="true"] {
726
- cursor: not-allowed;
727
- pointer-events: none;
728
- background-color: var(--bd-button-disabled-bg);
729
- --bd-button-edge: 0 0 0 0 transparent;
730
- color: var(--bd-button-disabled-text);
731
- }
732
-
733
- .button--tertiary:disabled,
734
- .button--ghost:disabled,
735
- .button--tertiary[aria-disabled="true"],
736
- .button--ghost[aria-disabled="true"] {
737
- background-color: transparent;
738
- --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-disabled-border);
739
- color: var(--bd-button-disabled-text);
740
- }
741
-
742
- /* ============================================
743
- STATE — loading
744
- The variant keeps its own colours, so the spinner is drawn in
745
- currentColor and sized in em to track the type scale — which is what the
746
- design's loading widths imply (they exceed the default by exactly one
747
- font-size plus the gap).
748
- ============================================ */
749
- .button--loading {
750
- cursor: progress;
751
- pointer-events: none;
752
- }
753
-
754
- .spinner {
755
- width: 1em;
756
- height: 1em;
757
- flex: none;
758
- box-sizing: border-box;
759
- border: var(--border-width-2) solid currentColor;
760
- border-top-color: transparent;
761
- border-radius: var(--radius-full);
762
- animation: bd-button-spin var(--transition-duration-slower)
763
- var(--transition-easing-linear) infinite;
764
- }
765
-
766
- @keyframes bd-button-spin {
767
- to { transform: rotate(360deg); }
768
- }
769
-
770
- /* The slot sits inside .button__label now, not directly in .button. */
771
- .button__label > ::slotted(*) {
772
- display: inline-block;
773
- text-align: center;
774
- }
775
-
776
- /* box-shadow is not rendered in forced-colors mode, which would leave the
777
- outlined variants with no visible boundary at all, so a real border comes
778
- back there. It costs 4px of height, which does not matter when the user
779
- agent is repainting everything anyway. */
780
- @media (forced-colors: active) {
781
- .button--tertiary,
782
- .button--ghost {
783
- border: var(--bd-button-border-width) solid currentColor;
784
- }
785
- }
786
-
787
- @media (prefers-reduced-motion: reduce) {
788
- .button,
789
- .bd-contact-btn,
790
- .button__label,
791
- .button__arrow {
792
- transition: none !important;
793
- }
794
-
795
- /* a spinner that cannot spin should still read as busy, so it pulses
796
- rather than freezing into a static broken ring */
797
- .spinner {
798
- animation: bd-button-pulse var(--transition-duration-slower)
799
- var(--transition-easing-smooth) infinite alternate;
800
- border-top-color: currentColor;
801
- }
802
-
803
- @keyframes bd-button-pulse {
804
- to { opacity: var(--opacity-pulse); }
805
- }
806
- }
807
- /* ============================================
808
- VARIANT — white and outline-white
809
-
810
- Fixed presets for a solid-colour banner, where even a surface="dark"
811
- primary would sit too close in tone. They ignore surface on purpose —
812
- see the note on VARIANTS in button.ts.
813
-
814
- These two were appended below the stylesheet's last rule and unindented,
815
- and they hardcoded their colours instead of going through the aliases
816
- every other variant uses: 1.5px against the 2px border width the docs
817
- describe, #ffffff8c, and two rgba() whites. None of it could be rethemed
818
- and none of it was visible to the lint, which does not read 8-digit hex
819
- or rgba().
820
- ============================================ */
821
- .button--white {
822
- background-color: var(--bd-button-white-bg);
823
- color: var(--bd-button-white-text);
824
- }
825
- .button--white:hover {
826
- background-color: var(--bd-button-white-bg-hover);
827
- }
828
- .button--white:active {
829
- background-color: var(--bd-button-white-bg-active);
830
- }
831
-
832
- .button--outline-white {
833
- background-color: transparent;
834
- --bd-button-edge: inset 0 0 0 var(--bd-button-border-width) var(--bd-button-outline-white-border);
835
- color: var(--bd-button-outline-white-text);
836
- }
837
- .button--outline-white:hover {
838
- background-color: var(--bd-button-outline-white-bg-hover);
839
- }
840
- .button--outline-white:active {
841
- background-color: var(--bd-button-outline-white-bg-active);
842
- }
843
- `;
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};
844
2
  //# sourceMappingURL=button.css.js.map