@repobit/dex-system-design 3.1.2 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1048) hide show
  1. package/CHANGELOG.md +1075 -0
  2. package/README.md +31 -6
  3. package/dist/src/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
  4. package/dist/src/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
  5. package/dist/src/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
  6. package/dist/src/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
  7. package/dist/src/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
  8. package/dist/src/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
  9. package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
  10. package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
  11. package/dist/src/components/abstract/abstract.css.d.ts +7 -0
  12. package/dist/src/components/abstract/abstract.css.js +2 -0
  13. package/dist/src/components/abstract/abstract.css.js.map +1 -0
  14. package/dist/src/components/abstract/abstract.d.ts +31 -0
  15. package/dist/src/components/abstract/abstract.js +2 -0
  16. package/dist/src/components/abstract/abstract.js.map +1 -0
  17. package/dist/src/components/accordion/accordion-item.d.ts +93 -0
  18. package/dist/src/components/accordion/accordion-item.js +25 -0
  19. package/dist/src/components/accordion/accordion-item.js.map +1 -0
  20. package/dist/src/components/accordion/accordion-keyboard.d.ts +5 -5
  21. package/dist/src/components/accordion/accordion-keyboard.js +1 -1
  22. package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
  23. package/dist/src/components/accordion/accordion.css.d.ts +2 -2
  24. package/dist/src/components/accordion/accordion.css.js +1 -1
  25. package/dist/src/components/accordion/accordion.css.js.map +1 -1
  26. package/dist/src/components/accordion/accordion.d.ts +66 -31
  27. package/dist/src/components/accordion/accordion.js +8 -66
  28. package/dist/src/components/accordion/accordion.js.map +1 -1
  29. package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js +2 -0
  30. package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js.map +1 -0
  31. package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -1
  32. package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
  33. package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +38 -21
  34. package/dist/src/components/agent-endpoints/agent-endpoints.js +22 -41
  35. package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
  36. package/dist/src/components/anchor-nav/anchor-nav-item.css.d.ts +1 -0
  37. package/dist/src/components/anchor-nav/anchor-nav-item.css.js +2 -0
  38. package/dist/src/components/anchor-nav/anchor-nav-item.css.js.map +1 -0
  39. package/dist/src/components/anchor-nav/anchor-nav-item.d.ts +38 -0
  40. package/dist/src/components/anchor-nav/anchor-nav-item.js +2 -0
  41. package/dist/src/components/anchor-nav/anchor-nav-item.js.map +1 -0
  42. package/dist/src/components/anchor-nav/anchor-nav.css.js +2 -0
  43. package/dist/src/components/anchor-nav/anchor-nav.css.js.map +1 -0
  44. package/dist/src/components/{anchor → anchor-nav}/anchor-nav.d.ts +41 -23
  45. package/dist/src/components/anchor-nav/anchor-nav.js +43 -0
  46. package/dist/src/components/anchor-nav/anchor-nav.js.map +1 -0
  47. package/dist/src/components/annotation/annotation.css.js +1 -1
  48. package/dist/src/components/annotation/annotation.css.js.map +1 -1
  49. package/dist/src/components/annotation/annotation.js +2 -2
  50. package/dist/src/components/annotation/annotation.js.map +1 -1
  51. package/dist/src/components/article/article.css.d.ts +30 -0
  52. package/dist/src/components/article/article.css.js +2 -0
  53. package/dist/src/components/article/article.css.js.map +1 -0
  54. package/dist/src/components/article/article.d.ts +135 -0
  55. package/dist/src/components/article/article.js +39 -0
  56. package/dist/src/components/article/article.js.map +1 -0
  57. package/dist/src/components/audience-card/audience-card.css.js +1 -1
  58. package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
  59. package/dist/src/components/audience-card/audience-card.d.ts +30 -15
  60. package/dist/src/components/audience-card/audience-card.js +9 -11
  61. package/dist/src/components/audience-card/audience-card.js.map +1 -1
  62. package/dist/src/components/authors/authors.css.d.ts +7 -0
  63. package/dist/src/components/authors/authors.css.js +2 -0
  64. package/dist/src/components/authors/authors.css.js.map +1 -0
  65. package/dist/src/components/authors/authors.d.ts +29 -0
  66. package/dist/src/components/authors/authors.js +7 -0
  67. package/dist/src/components/authors/authors.js.map +1 -0
  68. package/dist/src/components/avatar/avatar.js +6 -6
  69. package/dist/src/components/avatar/avatar.js.map +1 -1
  70. package/dist/src/components/awards/award-marks.css.js +2 -0
  71. package/dist/src/components/awards/award-marks.css.js.map +1 -0
  72. package/dist/src/components/awards/award.css.js +2 -0
  73. package/dist/src/components/awards/award.css.js.map +1 -0
  74. package/dist/src/components/awards/award.d.ts +65 -0
  75. package/dist/src/components/awards/award.js +11 -0
  76. package/dist/src/components/awards/award.js.map +1 -0
  77. package/dist/src/components/awards/awards.css.d.ts +2 -1
  78. package/dist/src/components/awards/awards.css.js +1 -1
  79. package/dist/src/components/awards/awards.css.js.map +1 -1
  80. package/dist/src/components/awards/awards.d.ts +123 -71
  81. package/dist/src/components/awards/awards.js +46 -57
  82. package/dist/src/components/awards/awards.js.map +1 -1
  83. package/dist/src/components/awards/scroll-slides.d.ts +9 -8
  84. package/dist/src/components/awards/scroll-slides.js.map +1 -1
  85. package/dist/src/components/back/back.d.ts +12 -7
  86. package/dist/src/components/back/back.js +6 -6
  87. package/dist/src/components/back/back.js.map +1 -1
  88. package/dist/src/components/badge/badge.css.js +1 -1
  89. package/dist/src/components/badge/badge.css.js.map +1 -1
  90. package/dist/src/components/badge/badge.d.ts +11 -11
  91. package/dist/src/components/badge/badge.js +2 -2
  92. package/dist/src/components/badge/badge.js.map +1 -1
  93. package/dist/src/components/bar-chart/bar-chart.css.js +2 -0
  94. package/dist/src/components/bar-chart/bar-chart.css.js.map +1 -0
  95. package/dist/src/components/bar-chart/bar-chart.d.ts +147 -0
  96. package/dist/src/components/bar-chart/bar-chart.js +42 -0
  97. package/dist/src/components/bar-chart/bar-chart.js.map +1 -0
  98. package/dist/src/components/bento-grid/bento-grid.css.js +2 -2
  99. package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
  100. package/dist/src/components/bento-grid/bento-grid.d.ts +21 -9
  101. package/dist/src/components/bento-grid/bento-grid.js +10 -26
  102. package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
  103. package/dist/src/components/bento-grid/bento-item.css.js +1 -1
  104. package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
  105. package/dist/src/components/bento-grid/bento-item.d.ts +34 -13
  106. package/dist/src/components/bento-grid/bento-item.js +9 -26
  107. package/dist/src/components/bento-grid/bento-item.js.map +1 -1
  108. package/dist/src/components/blockquote/blockquote.css.js +1 -1
  109. package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
  110. package/dist/src/components/blockquote/blockquote.d.ts +27 -2
  111. package/dist/src/components/blockquote/blockquote.js +1 -1
  112. package/dist/src/components/blockquote/blockquote.js.map +1 -1
  113. package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -4
  114. package/dist/src/components/breadcrumb/breadcrumb.js +5 -5
  115. package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
  116. package/dist/src/components/button/button.css.js +1 -1
  117. package/dist/src/components/button/button.css.js.map +1 -1
  118. package/dist/src/components/button/button.d.ts +87 -96
  119. package/dist/src/components/button/button.js +20 -33
  120. package/dist/src/components/button/button.js.map +1 -1
  121. package/dist/src/components/{alert/alert.css.d.ts → callout/callout.css.d.ts} +9 -9
  122. package/dist/src/components/callout/callout.css.js +2 -0
  123. package/dist/src/components/callout/callout.css.js.map +1 -0
  124. package/dist/src/components/callout/callout.d.ts +56 -0
  125. package/dist/src/components/callout/callout.js +28 -0
  126. package/dist/src/components/callout/callout.js.map +1 -0
  127. package/dist/src/components/caption/caption.js +2 -2
  128. package/dist/src/components/caption/caption.js.map +1 -1
  129. package/dist/src/components/card/card-grid.css.js +2 -0
  130. package/dist/src/components/card/card-grid.css.js.map +1 -0
  131. package/dist/src/components/card/card-grid.d.ts +63 -0
  132. package/dist/src/components/card/card-grid.js +10 -0
  133. package/dist/src/components/card/card-grid.js.map +1 -0
  134. package/dist/src/components/card/card.css.js +2 -0
  135. package/dist/src/components/card/card.css.js.map +1 -0
  136. package/dist/src/components/card/card.d.ts +86 -0
  137. package/dist/src/components/card/card.js +15 -0
  138. package/dist/src/components/card/card.js.map +1 -0
  139. package/dist/src/components/carousel/carousel.css.js +1 -1
  140. package/dist/src/components/carousel/carousel.css.js.map +1 -1
  141. package/dist/src/components/carousel/carousel.d.ts +64 -37
  142. package/dist/src/components/carousel/carousel.js +24 -32
  143. package/dist/src/components/carousel/carousel.js.map +1 -1
  144. package/dist/src/components/checkbox/checkbox.d.ts +15 -1
  145. package/dist/src/components/checkbox/checkbox.js +6 -5
  146. package/dist/src/components/checkbox/checkbox.js.map +1 -1
  147. package/dist/src/components/code/code.css.d.ts +15 -0
  148. package/dist/src/components/code/code.css.js +1 -1
  149. package/dist/src/components/code/code.css.js.map +1 -1
  150. package/dist/src/components/code/code.d.ts +100 -4
  151. package/dist/src/components/code/code.js +17 -3
  152. package/dist/src/components/code/code.js.map +1 -1
  153. package/dist/src/components/code/prism-page.d.ts +2 -0
  154. package/dist/src/components/code/prism-page.js +2 -0
  155. package/dist/src/components/code/prism-page.js.map +1 -0
  156. package/dist/src/components/code/prism.d.ts +10 -0
  157. package/dist/src/components/code/prism.js +2 -0
  158. package/dist/src/components/code/prism.js.map +1 -0
  159. package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -1
  160. package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
  161. package/dist/src/components/comparison-panel/comparison-panel.d.ts +36 -15
  162. package/dist/src/components/comparison-panel/comparison-panel.js +25 -46
  163. package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
  164. package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +25 -0
  165. package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -1
  166. package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
  167. package/dist/src/components/compatibility-table/compatibility-table.d.ts +66 -42
  168. package/dist/src/components/compatibility-table/compatibility-table.js +5 -64
  169. package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
  170. package/dist/src/components/cta-banner/cta-banner.css.js +1 -1
  171. package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
  172. package/dist/src/components/cta-banner/cta-banner.d.ts +17 -8
  173. package/dist/src/components/cta-banner/cta-banner.js +8 -28
  174. package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
  175. package/dist/src/components/dialog/dialog.css.js +2 -0
  176. package/dist/src/components/dialog/dialog.css.js.map +1 -0
  177. package/dist/src/components/dialog/dialog.d.ts +76 -0
  178. package/dist/src/components/dialog/dialog.js +32 -0
  179. package/dist/src/components/dialog/dialog.js.map +1 -0
  180. package/dist/src/components/display/display.css.js +1 -1
  181. package/dist/src/components/display/display.css.js.map +1 -1
  182. package/dist/src/components/display/display.d.ts +30 -6
  183. package/dist/src/components/display/display.js +7 -5
  184. package/dist/src/components/display/display.js.map +1 -1
  185. package/dist/src/components/divider/divider.css.d.ts +2 -2
  186. package/dist/src/components/divider/divider.css.js +1 -1
  187. package/dist/src/components/divider/divider.css.js.map +1 -1
  188. package/dist/src/components/divider/divider.d.ts +36 -0
  189. package/dist/src/components/divider/divider.js +21 -0
  190. package/dist/src/components/divider/divider.js.map +1 -0
  191. package/dist/src/components/fact/fact.css.d.ts +1 -0
  192. package/dist/src/components/fact/fact.css.js +2 -0
  193. package/dist/src/components/fact/fact.css.js.map +1 -0
  194. package/dist/src/components/fact/fact.d.ts +37 -0
  195. package/dist/src/components/fact/fact.js +2 -0
  196. package/dist/src/components/fact/fact.js.map +1 -0
  197. package/dist/src/components/feature-columns/feature-columns.css.d.ts +2 -0
  198. package/dist/src/components/feature-columns/feature-columns.css.js +2 -0
  199. package/dist/src/components/feature-columns/feature-columns.css.js.map +1 -0
  200. package/dist/src/components/feature-columns/feature-columns.d.ts +61 -0
  201. package/dist/src/components/feature-columns/feature-columns.js +11 -0
  202. package/dist/src/components/feature-columns/feature-columns.js.map +1 -0
  203. package/dist/src/components/features-tab/features-tab.css.js +1 -1
  204. package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
  205. package/dist/src/components/features-tab/features-tab.d.ts +21 -6
  206. package/dist/src/components/features-tab/features-tab.js +9 -21
  207. package/dist/src/components/features-tab/features-tab.js.map +1 -1
  208. package/dist/src/components/fieldset/fieldset.d.ts +16 -1
  209. package/dist/src/components/fieldset/fieldset.js +3 -3
  210. package/dist/src/components/fieldset/fieldset.js.map +1 -1
  211. package/dist/src/components/footer/footer-group.css.js +2 -0
  212. package/dist/src/components/footer/footer-group.css.js.map +1 -0
  213. package/dist/src/components/footer/footer-group.d.ts +28 -0
  214. package/dist/src/components/footer/footer-group.js +5 -0
  215. package/dist/src/components/footer/footer-group.js.map +1 -0
  216. package/dist/src/components/footer/footer-locale.js +1 -1
  217. package/dist/src/components/footer/footer-locale.js.map +1 -1
  218. package/dist/src/components/footer/footer-nav.css.js +2 -0
  219. package/dist/src/components/footer/footer-nav.css.js.map +1 -0
  220. package/dist/src/components/footer/{footer-nav-menu.d.ts → footer-nav.d.ts} +2 -1
  221. package/dist/src/components/footer/footer-nav.js +6 -0
  222. package/dist/src/components/footer/footer-nav.js.map +1 -0
  223. package/dist/src/components/footer/footer.css.js +1 -1
  224. package/dist/src/components/footer/footer.css.js.map +1 -1
  225. package/dist/src/components/footer/footer.d.ts +38 -10
  226. package/dist/src/components/footer/footer.js +71 -93
  227. package/dist/src/components/footer/footer.js.map +1 -1
  228. package/dist/src/components/grid/grid.js +7 -7
  229. package/dist/src/components/h/h.css.js +2 -0
  230. package/dist/src/components/h/h.css.js.map +1 -0
  231. package/dist/src/components/{heading/heading.d.ts → h/h.d.ts} +14 -0
  232. package/dist/src/components/h/h.js +7 -0
  233. package/dist/src/components/h/h.js.map +1 -0
  234. package/dist/src/components/hero/hero.css.js +1 -1
  235. package/dist/src/components/hero/hero.css.js.map +1 -1
  236. package/dist/src/components/hero/hero.d.ts +42 -24
  237. package/dist/src/components/hero/hero.js +15 -19
  238. package/dist/src/components/hero/hero.js.map +1 -1
  239. package/dist/src/components/highlight/highlight.css.js +1 -1
  240. package/dist/src/components/highlight/highlight.css.js.map +1 -1
  241. package/dist/src/components/highlight/highlight.d.ts +21 -12
  242. package/dist/src/components/highlight/highlight.js +1 -4
  243. package/dist/src/components/highlight/highlight.js.map +1 -1
  244. package/dist/src/components/hint/hint.css.d.ts +3 -0
  245. package/dist/src/components/{help-text/help-text.css.js → hint/hint.css.js} +2 -2
  246. package/dist/src/components/hint/hint.css.js.map +1 -0
  247. package/dist/src/components/hint/hint.d.ts +33 -0
  248. package/dist/src/components/hint/hint.js +4 -0
  249. package/dist/src/components/hint/hint.js.map +1 -0
  250. package/dist/src/components/icons/analysis.d.ts +1 -0
  251. package/dist/src/components/icons/analysis.js +6 -0
  252. package/dist/src/components/icons/analysis.js.map +1 -0
  253. package/dist/src/components/icons/arrow-down.d.ts +1 -0
  254. package/dist/src/components/icons/arrow-down.js +6 -0
  255. package/dist/src/components/icons/arrow-down.js.map +1 -0
  256. package/dist/src/components/icons/arrow-right.d.ts +1 -0
  257. package/dist/src/components/icons/arrow-right.js +6 -0
  258. package/dist/src/components/icons/arrow-right.js.map +1 -0
  259. package/dist/src/components/icons/arrow-up.d.ts +1 -0
  260. package/dist/src/components/icons/arrow-up.js +6 -0
  261. package/dist/src/components/icons/arrow-up.js.map +1 -0
  262. package/dist/src/components/icons/arrow.d.ts +1 -0
  263. package/dist/src/components/icons/arrow.js +6 -0
  264. package/dist/src/components/icons/arrow.js.map +1 -0
  265. package/dist/src/components/icons/brand-signature.d.ts +1 -0
  266. package/dist/src/components/icons/brand-signature.js +6 -0
  267. package/dist/src/components/icons/brand-signature.js.map +1 -0
  268. package/dist/src/components/icons/check.d.ts +1 -0
  269. package/dist/src/components/icons/check.js +6 -0
  270. package/dist/src/components/icons/check.js.map +1 -0
  271. package/dist/src/components/icons/circle-info.d.ts +1 -0
  272. package/dist/src/components/icons/circle-info.js +8 -0
  273. package/dist/src/components/icons/circle-info.js.map +1 -0
  274. package/dist/src/components/icons/clipboard.d.ts +1 -0
  275. package/dist/src/components/icons/clipboard.js +7 -0
  276. package/dist/src/components/icons/clipboard.js.map +1 -0
  277. package/dist/src/components/icons/close.d.ts +1 -0
  278. package/dist/src/components/icons/close.js +6 -0
  279. package/dist/src/components/icons/close.js.map +1 -0
  280. package/dist/src/components/icons/enterprise.d.ts +1 -0
  281. package/dist/src/components/icons/enterprise.js +6 -0
  282. package/dist/src/components/icons/enterprise.js.map +1 -0
  283. package/dist/src/components/icons/envelope.d.ts +1 -0
  284. package/dist/src/components/icons/envelope.js +7 -0
  285. package/dist/src/components/icons/envelope.js.map +1 -0
  286. package/dist/src/components/icons/family.d.ts +1 -0
  287. package/dist/src/components/icons/family.js +8 -0
  288. package/dist/src/components/icons/family.js.map +1 -0
  289. package/dist/src/components/icons/globe.d.ts +1 -0
  290. package/dist/src/components/icons/globe.js +6 -0
  291. package/dist/src/components/icons/globe.js.map +1 -0
  292. package/dist/src/components/icons/guide.d.ts +1 -0
  293. package/dist/src/components/icons/guide.js +6 -0
  294. package/dist/src/components/icons/guide.js.map +1 -0
  295. package/dist/src/components/icons/home.d.ts +1 -0
  296. package/dist/src/components/icons/home.js +6 -0
  297. package/dist/src/components/icons/home.js.map +1 -0
  298. package/dist/src/components/icons/icon.d.ts +60 -0
  299. package/dist/src/components/icons/icon.js +2 -0
  300. package/dist/src/components/icons/icon.js.map +1 -0
  301. package/dist/src/components/icons/icons.d.ts +43 -36
  302. package/dist/src/components/icons/icons.js +1 -1
  303. package/dist/src/components/icons/individual.d.ts +1 -0
  304. package/dist/src/components/icons/individual.js +6 -0
  305. package/dist/src/components/icons/individual.js.map +1 -0
  306. package/dist/src/components/icons/laurel.d.ts +1 -0
  307. package/dist/src/components/icons/laurel.js +13 -0
  308. package/dist/src/components/icons/laurel.js.map +1 -0
  309. package/dist/src/components/icons/machine-learning.d.ts +1 -0
  310. package/dist/src/components/icons/machine-learning.js +6 -0
  311. package/dist/src/components/icons/machine-learning.js.map +1 -0
  312. package/dist/src/components/icons/mark.d.ts +66 -0
  313. package/dist/src/components/icons/mark.js +2 -0
  314. package/dist/src/components/icons/mark.js.map +1 -0
  315. package/dist/src/components/icons/marks/ai.d.ts +1 -0
  316. package/dist/src/components/icons/marks/ai.js +6 -0
  317. package/dist/src/components/icons/marks/ai.js.map +1 -0
  318. package/dist/src/components/icons/marks/av-comparatives.d.ts +1 -0
  319. package/dist/src/components/icons/marks/av-comparatives.js +12 -0
  320. package/dist/src/components/icons/marks/av-comparatives.js.map +1 -0
  321. package/dist/src/components/icons/marks/best-brands.d.ts +1 -0
  322. package/dist/src/components/icons/marks/best-brands.js +12 -0
  323. package/dist/src/components/icons/marks/best-brands.js.map +1 -0
  324. package/dist/src/components/icons/marks/pc-mag-2024.d.ts +1 -0
  325. package/dist/src/components/icons/marks/pc-mag-2024.js +11 -0
  326. package/dist/src/components/icons/marks/pc-mag-2024.js.map +1 -0
  327. package/dist/src/components/icons/marks/pc-mag-business.d.ts +1 -0
  328. package/dist/src/components/icons/marks/pc-mag-business.js +11 -0
  329. package/dist/src/components/icons/marks/pc-mag-business.js.map +1 -0
  330. package/dist/src/components/icons/marks/pc-mag-readers.d.ts +1 -0
  331. package/dist/src/components/icons/marks/pc-mag-readers.js +11 -0
  332. package/dist/src/components/icons/marks/pc-mag-readers.js.map +1 -0
  333. package/dist/src/components/icons/marks/pc-mag.d.ts +1 -0
  334. package/dist/src/components/icons/marks/pc-mag.js +11 -0
  335. package/dist/src/components/icons/marks/pc-mag.js.map +1 -0
  336. package/dist/src/components/icons/marks/top-product.d.ts +1 -0
  337. package/dist/src/components/icons/marks/top-product.js +11 -0
  338. package/dist/src/components/icons/marks/top-product.js.map +1 -0
  339. package/dist/src/components/icons/marks.d.ts +29 -28
  340. package/dist/src/components/icons/marks.js +1 -1
  341. package/dist/src/components/icons/minus.d.ts +1 -0
  342. package/dist/src/components/icons/minus.js +6 -0
  343. package/dist/src/components/icons/minus.js.map +1 -0
  344. package/dist/src/components/icons/pause.d.ts +1 -0
  345. package/dist/src/components/icons/pause.js +7 -0
  346. package/dist/src/components/icons/pause.js.map +1 -0
  347. package/dist/src/components/icons/play.d.ts +1 -0
  348. package/dist/src/components/icons/play.js +6 -0
  349. package/dist/src/components/icons/play.js.map +1 -0
  350. package/dist/src/components/icons/plus.d.ts +1 -0
  351. package/dist/src/components/icons/plus.js +6 -0
  352. package/dist/src/components/icons/plus.js.map +1 -0
  353. package/dist/src/components/icons/quote.d.ts +1 -0
  354. package/dist/src/components/icons/quote.js +6 -0
  355. package/dist/src/components/icons/quote.js.map +1 -0
  356. package/dist/src/components/icons/registry.d.ts +122 -0
  357. package/dist/src/components/icons/registry.js +4 -0
  358. package/dist/src/components/icons/registry.js.map +1 -0
  359. package/dist/src/components/icons/small-business.d.ts +1 -0
  360. package/dist/src/components/icons/small-business.js +6 -0
  361. package/dist/src/components/icons/small-business.js.map +1 -0
  362. package/dist/src/components/{image/image.css.js → img/img.css.js} +1 -1
  363. package/dist/src/components/img/img.css.js.map +1 -0
  364. package/dist/src/components/{image/image.d.ts → img/img.d.ts} +2 -2
  365. package/dist/src/components/img/img.js +17 -0
  366. package/dist/src/components/img/img.js.map +1 -0
  367. package/dist/src/components/input/input.css.d.ts +7 -5
  368. package/dist/src/components/input/input.css.js +1 -1
  369. package/dist/src/components/input/input.css.js.map +1 -1
  370. package/dist/src/components/input/input.d.ts +34 -12
  371. package/dist/src/components/input/input.js +30 -29
  372. package/dist/src/components/input/input.js.map +1 -1
  373. package/dist/src/components/install-options/install-option.css.js +2 -0
  374. package/dist/src/components/install-options/install-option.css.js.map +1 -0
  375. package/dist/src/components/install-options/install-option.d.ts +57 -0
  376. package/dist/src/components/install-options/install-option.js +29 -0
  377. package/dist/src/components/install-options/install-option.js.map +1 -0
  378. package/dist/src/components/install-options/install-options.css.js +1 -1
  379. package/dist/src/components/install-options/install-options.css.js.map +1 -1
  380. package/dist/src/components/install-options/install-options.d.ts +42 -31
  381. package/dist/src/components/install-options/install-options.js +42 -85
  382. package/dist/src/components/install-options/install-options.js.map +1 -1
  383. package/dist/src/components/key-takeaways/key-takeaways.css.d.ts +9 -0
  384. package/dist/src/components/key-takeaways/key-takeaways.css.js +2 -0
  385. package/dist/src/components/key-takeaways/key-takeaways.css.js.map +1 -0
  386. package/dist/src/components/key-takeaways/key-takeaways.d.ts +35 -0
  387. package/dist/src/components/key-takeaways/key-takeaways.js +10 -0
  388. package/dist/src/components/key-takeaways/key-takeaways.js.map +1 -0
  389. package/dist/src/components/label/label.js +3 -3
  390. package/dist/src/components/label/label.js.map +1 -1
  391. package/dist/src/components/link/link.css.js +1 -1
  392. package/dist/src/components/link/link.css.js.map +1 -1
  393. package/dist/src/components/link/link.d.ts +25 -16
  394. package/dist/src/components/link/link.js +3 -3
  395. package/dist/src/components/link/link.js.map +1 -1
  396. package/dist/src/components/list/list-item/list-item.css.js +1 -1
  397. package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
  398. package/dist/src/components/list/list-item/list-item.d.ts +9 -7
  399. package/dist/src/components/list/list-item/list-item.js +3 -3
  400. package/dist/src/components/list/list-item/list-item.js.map +1 -1
  401. package/dist/src/components/list/list.d.ts +3 -2
  402. package/dist/src/components/list/list.js +2 -2
  403. package/dist/src/components/list/list.js.map +1 -1
  404. package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -1
  405. package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
  406. package/dist/src/components/logo-marquee/logo-marquee.d.ts +16 -2
  407. package/dist/src/components/logo-marquee/logo-marquee.js +10 -12
  408. package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
  409. package/dist/src/components/meta/meta.css.d.ts +8 -0
  410. package/dist/src/components/meta/meta.css.js +2 -0
  411. package/dist/src/components/meta/meta.css.js.map +1 -0
  412. package/dist/src/components/meta/meta.d.ts +37 -0
  413. package/dist/src/components/meta/meta.js +2 -0
  414. package/dist/src/components/meta/meta.js.map +1 -0
  415. package/dist/src/components/motion-art/motion-art.d.ts +39 -2
  416. package/dist/src/components/motion-art/motion-art.js +1 -1
  417. package/dist/src/components/motion-art/motion-art.js.map +1 -1
  418. package/dist/src/components/newsletter-signup/newsletter-signup.css.js +2 -0
  419. package/dist/src/components/newsletter-signup/newsletter-signup.css.js.map +1 -0
  420. package/dist/src/components/newsletter-signup/newsletter-signup.d.ts +97 -0
  421. package/dist/src/components/newsletter-signup/newsletter-signup.js +37 -0
  422. package/dist/src/components/newsletter-signup/newsletter-signup.js.map +1 -0
  423. package/dist/src/components/overview/overview.css.js +1 -1
  424. package/dist/src/components/overview/overview.css.js.map +1 -1
  425. package/dist/src/components/overview/overview.d.ts +23 -12
  426. package/dist/src/components/overview/overview.js +9 -24
  427. package/dist/src/components/overview/overview.js.map +1 -1
  428. package/dist/src/components/p/p.css.js +2 -0
  429. package/dist/src/components/p/p.css.js.map +1 -0
  430. package/dist/src/components/{paragraph/paragraph.d.ts → p/p.d.ts} +3 -5
  431. package/dist/src/components/p/p.js +6 -0
  432. package/dist/src/components/p/p.js.map +1 -0
  433. package/dist/src/components/page-switcher/page-switcher.css.js +1 -1
  434. package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
  435. package/dist/src/components/page-switcher/page-switcher.d.ts +28 -28
  436. package/dist/src/components/page-switcher/page-switcher.js +5 -13
  437. package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
  438. package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -1
  439. package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
  440. package/dist/src/components/pagination-dots/pagination-dots.d.ts +4 -2
  441. package/dist/src/components/pagination-dots/pagination-dots.js +1 -1
  442. package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
  443. package/dist/src/components/partner-banner/partner-banner.css.js +1 -1
  444. package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
  445. package/dist/src/components/partner-banner/partner-banner.d.ts +44 -21
  446. package/dist/src/components/partner-banner/partner-banner.js +11 -11
  447. package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
  448. package/dist/src/components/paste-button/paste-button.css.d.ts +10 -0
  449. package/dist/src/components/paste-button/paste-button.css.js +2 -0
  450. package/dist/src/components/paste-button/paste-button.css.js.map +1 -0
  451. package/dist/src/components/paste-button/paste-button.d.ts +68 -0
  452. package/dist/src/components/paste-button/paste-button.js +17 -0
  453. package/dist/src/components/paste-button/paste-button.js.map +1 -0
  454. package/dist/src/components/picture/picture.js +3 -3
  455. package/dist/src/components/picture/picture.js.map +1 -1
  456. package/dist/src/components/post-card/post-card.css.js +1 -1
  457. package/dist/src/components/post-card/post-card.css.js.map +1 -1
  458. package/dist/src/components/post-card/post-card.d.ts +65 -24
  459. package/dist/src/components/post-card/post-card.js +13 -9
  460. package/dist/src/components/post-card/post-card.js.map +1 -1
  461. package/dist/src/components/pricing-card/pricing-card.css.js +2 -0
  462. package/dist/src/components/pricing-card/pricing-card.css.js.map +1 -0
  463. package/dist/src/components/pricing-card/pricing-card.d.ts +80 -0
  464. package/dist/src/components/pricing-card/pricing-card.js +16 -0
  465. package/dist/src/components/pricing-card/pricing-card.js.map +1 -0
  466. package/dist/src/components/pricing-card/pricing-feature-group.css.js +2 -0
  467. package/dist/src/components/pricing-card/pricing-feature-group.css.js.map +1 -0
  468. package/dist/src/components/pricing-card/pricing-feature-group.d.ts +50 -0
  469. package/dist/src/components/pricing-card/pricing-feature-group.js +7 -0
  470. package/dist/src/components/pricing-card/pricing-feature-group.js.map +1 -0
  471. package/dist/src/components/pricing-card/pricing-feature.css.js +2 -0
  472. package/dist/src/components/pricing-card/pricing-feature.css.js.map +1 -0
  473. package/dist/src/components/pricing-card/pricing-feature.d.ts +64 -0
  474. package/dist/src/components/pricing-card/pricing-feature.js +19 -0
  475. package/dist/src/components/pricing-card/pricing-feature.js.map +1 -0
  476. package/dist/src/components/pricing-card/pricing-group.css.d.ts +3 -0
  477. package/dist/src/components/pricing-card/pricing-group.css.js +2 -0
  478. package/dist/src/components/pricing-card/pricing-group.css.js.map +1 -0
  479. package/dist/src/components/pricing-card/pricing-group.d.ts +48 -0
  480. package/dist/src/components/pricing-card/pricing-group.js +6 -0
  481. package/dist/src/components/pricing-card/pricing-group.js.map +1 -0
  482. package/dist/src/components/pricing-card/pricing-price.css.js +2 -0
  483. package/dist/src/components/pricing-card/pricing-price.css.js.map +1 -0
  484. package/dist/src/components/pricing-card/pricing-price.d.ts +56 -0
  485. package/dist/src/components/pricing-card/pricing-price.js +11 -0
  486. package/dist/src/components/pricing-card/pricing-price.js.map +1 -0
  487. package/dist/src/components/process-steps/process-step.css.js +2 -0
  488. package/dist/src/components/process-steps/process-step.css.js.map +1 -0
  489. package/dist/src/components/process-steps/process-step.d.ts +31 -0
  490. package/dist/src/components/process-steps/process-step.js +6 -0
  491. package/dist/src/components/process-steps/process-step.js.map +1 -0
  492. package/dist/src/components/process-steps/process-steps.css.js +1 -1
  493. package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
  494. package/dist/src/components/process-steps/process-steps.d.ts +36 -19
  495. package/dist/src/components/process-steps/process-steps.js +5 -26
  496. package/dist/src/components/process-steps/process-steps.js.map +1 -1
  497. package/dist/src/components/product-hero/product-hero.css.js +2 -0
  498. package/dist/src/components/product-hero/product-hero.css.js.map +1 -0
  499. package/dist/src/components/product-hero/product-hero.d.ts +71 -0
  500. package/dist/src/components/product-hero/product-hero.js +123 -0
  501. package/dist/src/components/product-hero/product-hero.js.map +1 -0
  502. package/dist/src/components/product-upsell/product-upsell.css.js +2 -0
  503. package/dist/src/components/product-upsell/product-upsell.css.js.map +1 -0
  504. package/dist/src/components/product-upsell/product-upsell.d.ts +49 -0
  505. package/dist/src/components/product-upsell/product-upsell.js +14 -0
  506. package/dist/src/components/product-upsell/product-upsell.js.map +1 -0
  507. package/dist/src/components/progress-bar/progress-bar.css.d.ts +3 -0
  508. package/dist/src/components/progress-bar/progress-bar.css.js +2 -0
  509. package/dist/src/components/progress-bar/progress-bar.css.js.map +1 -0
  510. package/dist/src/components/progress-bar/progress-bar.d.ts +27 -0
  511. package/dist/src/components/progress-bar/progress-bar.js +15 -0
  512. package/dist/src/components/progress-bar/progress-bar.js.map +1 -0
  513. package/dist/src/components/quick-answer/quick-answer.css.js +1 -1
  514. package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
  515. package/dist/src/components/quick-answer/quick-answer.d.ts +25 -12
  516. package/dist/src/components/quick-answer/quick-answer.js +13 -29
  517. package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
  518. package/dist/src/components/radio/radio-group.css.js +1 -1
  519. package/dist/src/components/radio/radio-group.css.js.map +1 -1
  520. package/dist/src/components/radio/radio-group.d.ts +9 -5
  521. package/dist/src/components/radio/radio-group.js +5 -5
  522. package/dist/src/components/radio/radio-group.js.map +1 -1
  523. package/dist/src/components/radio/radio.css.d.ts +2 -1
  524. package/dist/src/components/radio/radio.css.js.map +1 -1
  525. package/dist/src/components/radio/radio.d.ts +8 -2
  526. package/dist/src/components/radio/radio.js +6 -5
  527. package/dist/src/components/radio/radio.js.map +1 -1
  528. package/dist/src/components/related-articles/related-articles.css.js +2 -0
  529. package/dist/src/components/related-articles/related-articles.css.js.map +1 -0
  530. package/dist/src/components/related-articles/related-articles.d.ts +52 -0
  531. package/dist/src/components/related-articles/related-articles.js +9 -0
  532. package/dist/src/components/related-articles/related-articles.js.map +1 -0
  533. package/dist/src/components/report-promo/report-promo.css.js +2 -0
  534. package/dist/src/components/report-promo/report-promo.css.js.map +1 -0
  535. package/dist/src/components/report-promo/report-promo.d.ts +70 -0
  536. package/dist/src/components/report-promo/report-promo.js +19 -0
  537. package/dist/src/components/report-promo/report-promo.js.map +1 -0
  538. package/dist/src/components/review/review-grid.css.js +1 -1
  539. package/dist/src/components/review/review-grid.css.js.map +1 -1
  540. package/dist/src/components/review/review-grid.d.ts +27 -6
  541. package/dist/src/components/review/review-grid.js +7 -7
  542. package/dist/src/components/review/review-grid.js.map +1 -1
  543. package/dist/src/components/review/review.css.js +1 -1
  544. package/dist/src/components/review/review.css.js.map +1 -1
  545. package/dist/src/components/review/review.d.ts +24 -17
  546. package/dist/src/components/review/review.js +7 -11
  547. package/dist/src/components/review/review.js.map +1 -1
  548. package/dist/src/components/section/section.css.js +1 -1
  549. package/dist/src/components/section/section.css.js.map +1 -1
  550. package/dist/src/components/section/section.d.ts +8 -6
  551. package/dist/src/components/section/section.js +1 -1
  552. package/dist/src/components/section/section.js.map +1 -1
  553. package/dist/src/components/section-header/section-header.css.js +1 -1
  554. package/dist/src/components/section-header/section-header.css.js.map +1 -1
  555. package/dist/src/components/section-header/section-header.d.ts +22 -23
  556. package/dist/src/components/section-header/section-header.js +6 -8
  557. package/dist/src/components/section-header/section-header.js.map +1 -1
  558. package/dist/src/components/select/select-option.d.ts +29 -0
  559. package/dist/src/components/select/select-option.js +2 -0
  560. package/dist/src/components/select/select-option.js.map +1 -0
  561. package/dist/src/components/{dropdown/dropdown.css.js → select/select.css.js} +1 -1
  562. package/dist/src/components/select/select.css.js.map +1 -0
  563. package/dist/src/components/select/select.d.ts +85 -0
  564. package/dist/src/components/select/select.js +36 -0
  565. package/dist/src/components/select/select.js.map +1 -0
  566. package/dist/src/components/shared/adopt-styles.d.ts +53 -0
  567. package/dist/src/components/shared/adopt-styles.js +2 -0
  568. package/dist/src/components/shared/adopt-styles.js.map +1 -0
  569. package/dist/src/components/shared/controller.slot.d.ts +65 -0
  570. package/dist/src/components/shared/controller.slot.js +2 -0
  571. package/dist/src/components/shared/controller.slot.js.map +1 -0
  572. package/dist/src/components/shared/events.d.ts +19 -23
  573. package/dist/src/components/shared/fill-width.css.js.map +1 -1
  574. package/dist/src/components/shared/flat-text.d.ts +15 -0
  575. package/dist/src/components/shared/flat-text.js +2 -0
  576. package/dist/src/components/shared/flat-text.js.map +1 -0
  577. package/dist/src/components/shared/form-control.d.ts +35 -3
  578. package/dist/src/components/shared/form-control.js +11 -1
  579. package/dist/src/components/shared/form-control.js.map +1 -1
  580. package/dist/src/components/shared/form-field.css.d.ts +5 -5
  581. package/dist/src/components/shared/form-field.css.js +1 -1
  582. package/dist/src/components/shared/form-field.css.js.map +1 -1
  583. package/dist/src/components/shared/hold.d.ts +14 -0
  584. package/dist/src/components/shared/hold.js +2 -0
  585. package/dist/src/components/shared/hold.js.map +1 -0
  586. package/dist/src/components/shared/prop-vocabulary.d.ts +81 -20
  587. package/dist/src/components/shared/prop-vocabulary.js +1 -1
  588. package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
  589. package/dist/src/components/shared/tablist.d.ts +31 -0
  590. package/dist/src/components/shared/tablist.js +2 -0
  591. package/dist/src/components/shared/tablist.js.map +1 -0
  592. package/dist/src/components/shared/token-scales.d.ts +30 -4
  593. package/dist/src/components/shared/token-scales.js +1 -1
  594. package/dist/src/components/shared/token-scales.js.map +1 -1
  595. package/dist/src/components/spinner/spinner.css.js.map +1 -1
  596. package/dist/src/components/spinner/spinner.js +2 -2
  597. package/dist/src/components/spinner/spinner.js.map +1 -1
  598. package/dist/src/components/spotlight/spotlight.css.js +2 -0
  599. package/dist/src/components/spotlight/spotlight.css.js.map +1 -0
  600. package/dist/src/components/spotlight/spotlight.d.ts +31 -0
  601. package/dist/src/components/spotlight/spotlight.js +18 -0
  602. package/dist/src/components/spotlight/spotlight.js.map +1 -0
  603. package/dist/src/components/stat/stat-highlight.d.ts +1 -1
  604. package/dist/src/components/stat/stat.css.d.ts +1 -1
  605. package/dist/src/components/stat/stat.css.js +1 -1
  606. package/dist/src/components/stat/stat.css.js.map +1 -1
  607. package/dist/src/components/stat/stat.d.ts +41 -1
  608. package/dist/src/components/stat/stat.js +12 -1
  609. package/dist/src/components/stat/stat.js.map +1 -0
  610. package/dist/src/components/switch/switch.css.js +1 -1
  611. package/dist/src/components/switch/switch.css.js.map +1 -1
  612. package/dist/src/components/switch/switch.d.ts +10 -2
  613. package/dist/src/components/switch/switch.js +5 -4
  614. package/dist/src/components/switch/switch.js.map +1 -1
  615. package/dist/src/components/tab-group/tab-group.css.js +2 -0
  616. package/dist/src/components/tab-group/tab-group.css.js.map +1 -0
  617. package/dist/src/components/tab-group/tab-group.d.ts +172 -0
  618. package/dist/src/components/tab-group/tab-group.js +16 -0
  619. package/dist/src/components/tab-group/tab-group.js.map +1 -0
  620. package/dist/src/components/tab-group/tab-panel.d.ts +30 -0
  621. package/dist/src/components/tab-group/tab-panel.js +2 -0
  622. package/dist/src/components/tab-group/tab-panel.js.map +1 -0
  623. package/dist/src/components/tab-group/tab.css.js +2 -0
  624. package/dist/src/components/tab-group/tab.css.js.map +1 -0
  625. package/dist/src/components/tab-group/tab.d.ts +53 -0
  626. package/dist/src/components/tab-group/tab.js +2 -0
  627. package/dist/src/components/tab-group/tab.js.map +1 -0
  628. package/dist/src/components/table-of-contents/reading-line.d.ts +24 -0
  629. package/dist/src/components/table-of-contents/reading-line.js +2 -0
  630. package/dist/src/components/table-of-contents/reading-line.js.map +1 -0
  631. package/dist/src/components/table-of-contents/table-of-contents-item.css.d.ts +7 -0
  632. package/dist/src/components/table-of-contents/table-of-contents-item.css.js +2 -0
  633. package/dist/src/components/table-of-contents/table-of-contents-item.css.js.map +1 -0
  634. package/dist/src/components/table-of-contents/table-of-contents-item.d.ts +40 -0
  635. package/dist/src/components/table-of-contents/table-of-contents-item.js +2 -0
  636. package/dist/src/components/table-of-contents/table-of-contents-item.js.map +1 -0
  637. package/dist/src/components/table-of-contents/table-of-contents.css.d.ts +10 -0
  638. package/dist/src/components/table-of-contents/table-of-contents.css.js +2 -0
  639. package/dist/src/components/table-of-contents/table-of-contents.css.js.map +1 -0
  640. package/dist/src/components/table-of-contents/table-of-contents.d.ts +116 -0
  641. package/dist/src/components/table-of-contents/table-of-contents.js +24 -0
  642. package/dist/src/components/table-of-contents/table-of-contents.js.map +1 -0
  643. package/dist/src/components/tag/tag.css.js +1 -1
  644. package/dist/src/components/tag/tag.css.js.map +1 -1
  645. package/dist/src/components/tag/tag.d.ts +31 -4
  646. package/dist/src/components/tag/tag.js +1 -3
  647. package/dist/src/components/tag/tag.js.map +1 -1
  648. package/dist/src/components/terminal/terminal-cursor.d.ts +2 -3
  649. package/dist/src/components/terminal/terminal-cursor.js +1 -1
  650. package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
  651. package/dist/src/components/terminal/terminal-line.css.d.ts +2 -0
  652. package/dist/src/components/terminal/terminal-line.css.js +2 -0
  653. package/dist/src/components/terminal/terminal-line.css.js.map +1 -0
  654. package/dist/src/components/terminal/terminal-line.d.ts +42 -0
  655. package/dist/src/components/terminal/terminal-line.js +8 -0
  656. package/dist/src/components/terminal/terminal-line.js.map +1 -0
  657. package/dist/src/components/terminal/terminal.css.d.ts +2 -0
  658. package/dist/src/components/terminal/terminal.css.js +2 -0
  659. package/dist/src/components/terminal/terminal.css.js.map +1 -0
  660. package/dist/src/components/terminal/terminal.d.ts +52 -0
  661. package/dist/src/components/terminal/terminal.js +19 -0
  662. package/dist/src/components/terminal/terminal.js.map +1 -0
  663. package/dist/src/components/terminal-hero/terminal-hero.css.d.ts +2 -0
  664. package/dist/src/components/terminal-hero/terminal-hero.css.js +2 -0
  665. package/dist/src/components/terminal-hero/terminal-hero.css.js.map +1 -0
  666. package/dist/src/components/terminal-hero/terminal-hero.d.ts +62 -0
  667. package/dist/src/components/terminal-hero/terminal-hero.js +48 -0
  668. package/dist/src/components/terminal-hero/terminal-hero.js.map +1 -0
  669. package/dist/src/components/terms/terms.css.d.ts +2 -0
  670. package/dist/src/components/terms/terms.css.js +2 -0
  671. package/dist/src/components/terms/terms.css.js.map +1 -0
  672. package/dist/src/components/terms/terms.d.ts +42 -0
  673. package/dist/src/components/terms/terms.js +9 -0
  674. package/dist/src/components/terms/terms.js.map +1 -0
  675. package/dist/src/components/textarea/textarea.css.d.ts +2 -2
  676. package/dist/src/components/textarea/textarea.css.js.map +1 -1
  677. package/dist/src/components/textarea/textarea.d.ts +15 -6
  678. package/dist/src/components/textarea/textarea.js +13 -17
  679. package/dist/src/components/textarea/textarea.js.map +1 -1
  680. package/dist/src/components/tooltip/tooltip.d.ts +25 -4
  681. package/dist/src/components/tooltip/tooltip.js +5 -8
  682. package/dist/src/components/tooltip/tooltip.js.map +1 -1
  683. package/dist/src/components/trust-panel/trust-card.css.d.ts +2 -0
  684. package/dist/src/components/trust-panel/trust-card.css.js +2 -0
  685. package/dist/src/components/trust-panel/trust-card.css.js.map +1 -0
  686. package/dist/src/components/trust-panel/trust-card.d.ts +31 -0
  687. package/dist/src/components/trust-panel/trust-card.js +10 -0
  688. package/dist/src/components/trust-panel/trust-card.js.map +1 -0
  689. package/dist/src/components/trust-panel/trust-panel.css.js +1 -1
  690. package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
  691. package/dist/src/components/trust-panel/trust-panel.d.ts +28 -25
  692. package/dist/src/components/trust-panel/trust-panel.js +10 -57
  693. package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
  694. package/dist/src/components/video/video.js +1 -1
  695. package/dist/src/components/video/video.js.map +1 -1
  696. package/dist/src/components/video-player/video-player.d.ts +25 -3
  697. package/dist/src/components/video-player/video-player.js +7 -7
  698. package/dist/src/components/video-player/video-player.js.map +1 -1
  699. package/dist/src/loader/create-loader.d.ts +13 -2
  700. package/dist/src/loader/create-loader.js +1 -1
  701. package/dist/src/loader/create-loader.js.map +1 -1
  702. package/dist/src/loader/loader.d.ts +7 -4
  703. package/dist/src/loader/loader.js.map +1 -1
  704. package/dist/src/loader/registry.js +1 -1
  705. package/dist/src/loader/registry.js.map +1 -1
  706. package/dist/src/tokens/fonts.css +1 -1
  707. package/dist/src/tokens/layout.css +1 -1
  708. package/dist/src/tokens/scheme-layer.d.ts +55 -0
  709. package/dist/src/tokens/scheme-layer.js +5 -0
  710. package/dist/src/tokens/scheme-layer.js.map +1 -0
  711. package/dist/src/tokens/themes/dark.d.ts +64 -0
  712. package/dist/src/tokens/themes/dark.js +2 -0
  713. package/dist/src/tokens/themes/dark.js.map +1 -0
  714. package/dist/src/tokens/tokens.css +1 -1
  715. package/dist/src/tokens/tokens.d.ts +4 -25
  716. package/dist/src/tokens/tokens.js +1 -1
  717. package/dist/src/tokens/tokens.js.map +1 -1
  718. package/dist/src/vendor/prism/LICENSE +21 -0
  719. package/dist/src/vendor/prism/README.md +65 -0
  720. package/dist/src/vendor/prism/prism.d.ts +7 -0
  721. package/dist/src/vendor/prism/prism.js +13 -0
  722. package/package.json +163 -105
  723. package/schemas/README.md +55 -1
  724. package/schemas/component-manifest.json +4110 -2766
  725. package/schemas/figma-component-map.json +3247 -0
  726. package/schemas/manifest-omissions.json +1 -26
  727. package/schemas/page-schema.json +28 -1
  728. package/dist/src/components/accordion/accordion-bg.css.js +0 -2
  729. package/dist/src/components/accordion/accordion-bg.css.js.map +0 -1
  730. package/dist/src/components/accordion/accordion-bg.d.ts +0 -52
  731. package/dist/src/components/accordion/accordion-bg.js +0 -76
  732. package/dist/src/components/accordion/accordion-bg.js.map +0 -1
  733. package/dist/src/components/alert/alert.css.js +0 -2
  734. package/dist/src/components/alert/alert.css.js.map +0 -1
  735. package/dist/src/components/alert/alert.d.ts +0 -55
  736. package/dist/src/components/alert/alert.js +0 -28
  737. package/dist/src/components/alert/alert.js.map +0 -1
  738. package/dist/src/components/anchor/anchor-nav.css.js +0 -2
  739. package/dist/src/components/anchor/anchor-nav.css.js.map +0 -1
  740. package/dist/src/components/anchor/anchor-nav.js +0 -67
  741. package/dist/src/components/anchor/anchor-nav.js.map +0 -1
  742. package/dist/src/components/awards/awards-flex.css.d.ts +0 -1
  743. package/dist/src/components/awards/awards-flex.css.js +0 -2
  744. package/dist/src/components/awards/awards-flex.css.js.map +0 -1
  745. package/dist/src/components/awards/awards-flex.d.ts +0 -65
  746. package/dist/src/components/awards/awards-flex.js +0 -68
  747. package/dist/src/components/awards/awards-flex.js.map +0 -1
  748. package/dist/src/components/awards/awards-spotlight.css.d.ts +0 -1
  749. package/dist/src/components/awards/awards-spotlight.css.js +0 -2
  750. package/dist/src/components/awards/awards-spotlight.css.js.map +0 -1
  751. package/dist/src/components/awards/awards-spotlight.d.ts +0 -60
  752. package/dist/src/components/awards/awards-spotlight.js +0 -51
  753. package/dist/src/components/awards/awards-spotlight.js.map +0 -1
  754. package/dist/src/components/card-features/card-features.css.js +0 -2
  755. package/dist/src/components/card-features/card-features.css.js.map +0 -1
  756. package/dist/src/components/card-features/card-features.d.ts +0 -43
  757. package/dist/src/components/card-features/card-features.js +0 -37
  758. package/dist/src/components/card-features/card-features.js.map +0 -1
  759. package/dist/src/components/cards/card.css.js +0 -2
  760. package/dist/src/components/cards/card.css.js.map +0 -1
  761. package/dist/src/components/cards/card.d.ts +0 -61
  762. package/dist/src/components/cards/card.js +0 -54
  763. package/dist/src/components/cards/card.js.map +0 -1
  764. package/dist/src/components/compare/compare.css.js +0 -2
  765. package/dist/src/components/compare/compare.css.js.map +0 -1
  766. package/dist/src/components/compare/compare.d.ts +0 -79
  767. package/dist/src/components/compare/compare.js +0 -122
  768. package/dist/src/components/compare/compare.js.map +0 -1
  769. package/dist/src/components/divider/divider-horizontal.d.ts +0 -15
  770. package/dist/src/components/divider/divider-horizontal.js +0 -11
  771. package/dist/src/components/divider/divider-horizontal.js.map +0 -1
  772. package/dist/src/components/divider/divider-vertical.d.ts +0 -16
  773. package/dist/src/components/divider/divider-vertical.js +0 -12
  774. package/dist/src/components/divider/divider-vertical.js.map +0 -1
  775. package/dist/src/components/dropdown/dropdown.css.js.map +0 -1
  776. package/dist/src/components/dropdown/dropdown.d.ts +0 -49
  777. package/dist/src/components/dropdown/dropdown.js +0 -36
  778. package/dist/src/components/dropdown/dropdown.js.map +0 -1
  779. package/dist/src/components/features/features.css.js +0 -2
  780. package/dist/src/components/features/features.css.js.map +0 -1
  781. package/dist/src/components/features/features.d.ts +0 -21
  782. package/dist/src/components/features/features.js +0 -28
  783. package/dist/src/components/features/features.js.map +0 -1
  784. package/dist/src/components/footer/footer-images.d.ts +0 -3
  785. package/dist/src/components/footer/footer-images.js +0 -9
  786. package/dist/src/components/footer/footer-images.js.map +0 -1
  787. package/dist/src/components/footer/footer-links-group.css.js +0 -2
  788. package/dist/src/components/footer/footer-links-group.css.js.map +0 -1
  789. package/dist/src/components/footer/footer-links-group.d.ts +0 -13
  790. package/dist/src/components/footer/footer-links-group.js +0 -5
  791. package/dist/src/components/footer/footer-links-group.js.map +0 -1
  792. package/dist/src/components/footer/footer-lp.d.ts +0 -26
  793. package/dist/src/components/footer/footer-lp.js +0 -45
  794. package/dist/src/components/footer/footer-lp.js.map +0 -1
  795. package/dist/src/components/footer/footer-nav-menu.css.js +0 -2
  796. package/dist/src/components/footer/footer-nav-menu.css.js.map +0 -1
  797. package/dist/src/components/footer/footer-nav-menu.js +0 -6
  798. package/dist/src/components/footer/footer-nav-menu.js.map +0 -1
  799. package/dist/src/components/header/header-code.css.js +0 -2
  800. package/dist/src/components/header/header-code.css.js.map +0 -1
  801. package/dist/src/components/header/header-code.d.ts +0 -50
  802. package/dist/src/components/header/header-code.js +0 -80
  803. package/dist/src/components/header/header-code.js.map +0 -1
  804. package/dist/src/components/header/header.css.js +0 -2
  805. package/dist/src/components/header/header.css.js.map +0 -1
  806. package/dist/src/components/header/header.d.ts +0 -32
  807. package/dist/src/components/header/header.js +0 -165
  808. package/dist/src/components/header/header.js.map +0 -1
  809. package/dist/src/components/heading/heading.css.js +0 -2
  810. package/dist/src/components/heading/heading.css.js.map +0 -1
  811. package/dist/src/components/heading/heading.js +0 -6
  812. package/dist/src/components/heading/heading.js.map +0 -1
  813. package/dist/src/components/help-text/help-text.css.d.ts +0 -3
  814. package/dist/src/components/help-text/help-text.css.js.map +0 -1
  815. package/dist/src/components/help-text/help-text.d.ts +0 -14
  816. package/dist/src/components/help-text/help-text.js +0 -4
  817. package/dist/src/components/help-text/help-text.js.map +0 -1
  818. package/dist/src/components/icons/analysis-icon.d.ts +0 -11
  819. package/dist/src/components/icons/analysis-icon.js +0 -6
  820. package/dist/src/components/icons/analysis-icon.js.map +0 -1
  821. package/dist/src/components/icons/arrow-down-icon.d.ts +0 -11
  822. package/dist/src/components/icons/arrow-down-icon.js +0 -6
  823. package/dist/src/components/icons/arrow-down-icon.js.map +0 -1
  824. package/dist/src/components/icons/arrow-icon.d.ts +0 -37
  825. package/dist/src/components/icons/arrow-icon.js +0 -6
  826. package/dist/src/components/icons/arrow-icon.js.map +0 -1
  827. package/dist/src/components/icons/arrow-right-icon.d.ts +0 -34
  828. package/dist/src/components/icons/arrow-right-icon.js +0 -6
  829. package/dist/src/components/icons/arrow-right-icon.js.map +0 -1
  830. package/dist/src/components/icons/arrow-up-icon.d.ts +0 -24
  831. package/dist/src/components/icons/arrow-up-icon.js +0 -6
  832. package/dist/src/components/icons/arrow-up-icon.js.map +0 -1
  833. package/dist/src/components/icons/av-comparatives-icon.d.ts +0 -13
  834. package/dist/src/components/icons/av-comparatives-icon.js +0 -13
  835. package/dist/src/components/icons/av-comparatives-icon.js.map +0 -1
  836. package/dist/src/components/icons/bd-ai-icon.d.ts +0 -13
  837. package/dist/src/components/icons/bd-ai-icon.js +0 -6
  838. package/dist/src/components/icons/bd-ai-icon.js.map +0 -1
  839. package/dist/src/components/icons/best-brands-icon.d.ts +0 -13
  840. package/dist/src/components/icons/best-brands-icon.js +0 -15
  841. package/dist/src/components/icons/best-brands-icon.js.map +0 -1
  842. package/dist/src/components/icons/brand-signature-icon.d.ts +0 -37
  843. package/dist/src/components/icons/brand-signature-icon.js +0 -6
  844. package/dist/src/components/icons/brand-signature-icon.js.map +0 -1
  845. package/dist/src/components/icons/check-icon.d.ts +0 -22
  846. package/dist/src/components/icons/check-icon.js +0 -6
  847. package/dist/src/components/icons/check-icon.js.map +0 -1
  848. package/dist/src/components/icons/circle-info-icon.d.ts +0 -26
  849. package/dist/src/components/icons/circle-info-icon.js +0 -8
  850. package/dist/src/components/icons/circle-info-icon.js.map +0 -1
  851. package/dist/src/components/icons/close-icon.d.ts +0 -11
  852. package/dist/src/components/icons/close-icon.js +0 -6
  853. package/dist/src/components/icons/close-icon.js.map +0 -1
  854. package/dist/src/components/icons/enterprise-icon.d.ts +0 -11
  855. package/dist/src/components/icons/enterprise-icon.js +0 -6
  856. package/dist/src/components/icons/enterprise-icon.js.map +0 -1
  857. package/dist/src/components/icons/family-icon.d.ts +0 -11
  858. package/dist/src/components/icons/family-icon.js +0 -8
  859. package/dist/src/components/icons/family-icon.js.map +0 -1
  860. package/dist/src/components/icons/globe-icon.d.ts +0 -11
  861. package/dist/src/components/icons/globe-icon.js +0 -6
  862. package/dist/src/components/icons/globe-icon.js.map +0 -1
  863. package/dist/src/components/icons/guide-icon.d.ts +0 -11
  864. package/dist/src/components/icons/guide-icon.js +0 -6
  865. package/dist/src/components/icons/guide-icon.js.map +0 -1
  866. package/dist/src/components/icons/home-icon.d.ts +0 -11
  867. package/dist/src/components/icons/home-icon.js +0 -6
  868. package/dist/src/components/icons/home-icon.js.map +0 -1
  869. package/dist/src/components/icons/icon-element.d.ts +0 -58
  870. package/dist/src/components/icons/icon-element.js +0 -2
  871. package/dist/src/components/icons/icon-element.js.map +0 -1
  872. package/dist/src/components/icons/individual-icon.d.ts +0 -11
  873. package/dist/src/components/icons/individual-icon.js +0 -6
  874. package/dist/src/components/icons/individual-icon.js.map +0 -1
  875. package/dist/src/components/icons/laurel-icon.d.ts +0 -11
  876. package/dist/src/components/icons/laurel-icon.js +0 -14
  877. package/dist/src/components/icons/laurel-icon.js.map +0 -1
  878. package/dist/src/components/icons/machine-learning-icon.d.ts +0 -11
  879. package/dist/src/components/icons/machine-learning-icon.js +0 -6
  880. package/dist/src/components/icons/machine-learning-icon.js.map +0 -1
  881. package/dist/src/components/icons/minus-icon.d.ts +0 -11
  882. package/dist/src/components/icons/minus-icon.js +0 -7
  883. package/dist/src/components/icons/minus-icon.js.map +0 -1
  884. package/dist/src/components/icons/missing-icon.d.ts +0 -41
  885. package/dist/src/components/icons/missing-icon.js +0 -8
  886. package/dist/src/components/icons/missing-icon.js.map +0 -1
  887. package/dist/src/components/icons/pause-icon.d.ts +0 -11
  888. package/dist/src/components/icons/pause-icon.js +0 -7
  889. package/dist/src/components/icons/pause-icon.js.map +0 -1
  890. package/dist/src/components/icons/pc-mag-2024-icon.d.ts +0 -13
  891. package/dist/src/components/icons/pc-mag-2024-icon.js +0 -14
  892. package/dist/src/components/icons/pc-mag-2024-icon.js.map +0 -1
  893. package/dist/src/components/icons/pc-mag-business-icon.d.ts +0 -13
  894. package/dist/src/components/icons/pc-mag-business-icon.js +0 -14
  895. package/dist/src/components/icons/pc-mag-business-icon.js.map +0 -1
  896. package/dist/src/components/icons/pc-mag-icon.d.ts +0 -13
  897. package/dist/src/components/icons/pc-mag-icon.js +0 -14
  898. package/dist/src/components/icons/pc-mag-icon.js.map +0 -1
  899. package/dist/src/components/icons/pc-mag-readers-icon.d.ts +0 -13
  900. package/dist/src/components/icons/pc-mag-readers-icon.js +0 -14
  901. package/dist/src/components/icons/pc-mag-readers-icon.js.map +0 -1
  902. package/dist/src/components/icons/play-icon.d.ts +0 -11
  903. package/dist/src/components/icons/play-icon.js +0 -6
  904. package/dist/src/components/icons/play-icon.js.map +0 -1
  905. package/dist/src/components/icons/plus-icon.d.ts +0 -11
  906. package/dist/src/components/icons/plus-icon.js +0 -6
  907. package/dist/src/components/icons/plus-icon.js.map +0 -1
  908. package/dist/src/components/icons/quote-icon.d.ts +0 -20
  909. package/dist/src/components/icons/quote-icon.js +0 -6
  910. package/dist/src/components/icons/quote-icon.js.map +0 -1
  911. package/dist/src/components/icons/small-business-icon.d.ts +0 -11
  912. package/dist/src/components/icons/small-business-icon.js +0 -6
  913. package/dist/src/components/icons/small-business-icon.js.map +0 -1
  914. package/dist/src/components/icons/top-product-icon.d.ts +0 -13
  915. package/dist/src/components/icons/top-product-icon.js +0 -14
  916. package/dist/src/components/icons/top-product-icon.js.map +0 -1
  917. package/dist/src/components/image/image.css.js.map +0 -1
  918. package/dist/src/components/image/image.js +0 -17
  919. package/dist/src/components/image/image.js.map +0 -1
  920. package/dist/src/components/input/input-clipboard.css.d.ts +0 -9
  921. package/dist/src/components/input/input-clipboard.css.js +0 -2
  922. package/dist/src/components/input/input-clipboard.css.js.map +0 -1
  923. package/dist/src/components/input/input-clipboard.d.ts +0 -52
  924. package/dist/src/components/input/input-clipboard.js +0 -62
  925. package/dist/src/components/input/input-clipboard.js.map +0 -1
  926. package/dist/src/components/light-carousel/light-carousel.css.js +0 -2
  927. package/dist/src/components/light-carousel/light-carousel.css.js.map +0 -1
  928. package/dist/src/components/light-carousel/light-carousel.d.ts +0 -74
  929. package/dist/src/components/light-carousel/light-carousel.js +0 -34
  930. package/dist/src/components/light-carousel/light-carousel.js.map +0 -1
  931. package/dist/src/components/modal/modal.css.js +0 -2
  932. package/dist/src/components/modal/modal.css.js.map +0 -1
  933. package/dist/src/components/modal/modal.d.ts +0 -52
  934. package/dist/src/components/modal/modal.js +0 -17
  935. package/dist/src/components/modal/modal.js.map +0 -1
  936. package/dist/src/components/paragraph/paragraph.css.js +0 -2
  937. package/dist/src/components/paragraph/paragraph.css.js.map +0 -1
  938. package/dist/src/components/paragraph/paragraph.js +0 -6
  939. package/dist/src/components/paragraph/paragraph.js.map +0 -1
  940. package/dist/src/components/pricing-cards/adopt-styles.d.ts +0 -10
  941. package/dist/src/components/pricing-cards/adopt-styles.js +0 -2
  942. package/dist/src/components/pricing-cards/adopt-styles.js.map +0 -1
  943. package/dist/src/components/pricing-cards/new-pricing-card.d.ts +0 -18
  944. package/dist/src/components/pricing-cards/new-pricing-card.js +0 -12
  945. package/dist/src/components/pricing-cards/new-pricing-card.js.map +0 -1
  946. package/dist/src/components/pricing-cards/new-pricing.css.js +0 -2
  947. package/dist/src/components/pricing-cards/new-pricing.css.js.map +0 -1
  948. package/dist/src/components/pricing-cards/pricing-card-actions.css.js +0 -2
  949. package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +0 -1
  950. package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +0 -19
  951. package/dist/src/components/pricing-cards/pricing-card-actions.js +0 -25
  952. package/dist/src/components/pricing-cards/pricing-card-actions.js.map +0 -1
  953. package/dist/src/components/pricing-cards/pricing-card-container.css.js +0 -2
  954. package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +0 -1
  955. package/dist/src/components/pricing-cards/pricing-card-container.d.ts +0 -14
  956. package/dist/src/components/pricing-cards/pricing-card-container.js +0 -6
  957. package/dist/src/components/pricing-cards/pricing-card-container.js.map +0 -1
  958. package/dist/src/components/pricing-cards/pricing-card-header.css.js +0 -2
  959. package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +0 -1
  960. package/dist/src/components/pricing-cards/pricing-card-header.d.ts +0 -22
  961. package/dist/src/components/pricing-cards/pricing-card-header.js +0 -18
  962. package/dist/src/components/pricing-cards/pricing-card-header.js.map +0 -1
  963. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +0 -2
  964. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +0 -1
  965. package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +0 -39
  966. package/dist/src/components/pricing-cards/pricing-card-pricing.js +0 -49
  967. package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +0 -1
  968. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +0 -2
  969. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +0 -1
  970. package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +0 -16
  971. package/dist/src/components/pricing-cards/pricing-card-show-more.js +0 -12
  972. package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +0 -1
  973. package/dist/src/components/pricing-cards/pricing-card.css.js +0 -2
  974. package/dist/src/components/pricing-cards/pricing-card.css.js.map +0 -1
  975. package/dist/src/components/pricing-cards/pricing-card.d.ts +0 -155
  976. package/dist/src/components/pricing-cards/pricing-card.js +0 -258
  977. package/dist/src/components/pricing-cards/pricing-card.js.map +0 -1
  978. package/dist/src/components/pricing-cards/pricing-feature-item.css.js +0 -2
  979. package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +0 -1
  980. package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +0 -13
  981. package/dist/src/components/pricing-cards/pricing-feature-item.js +0 -5
  982. package/dist/src/components/pricing-cards/pricing-feature-item.js.map +0 -1
  983. package/dist/src/components/progress/progress.css.d.ts +0 -3
  984. package/dist/src/components/progress/progress.css.js +0 -2
  985. package/dist/src/components/progress/progress.css.js.map +0 -1
  986. package/dist/src/components/progress/progress.d.ts +0 -19
  987. package/dist/src/components/progress/progress.js +0 -11
  988. package/dist/src/components/progress/progress.js.map +0 -1
  989. package/dist/src/components/radio/toggle-radio.d.ts +0 -28
  990. package/dist/src/components/radio/toggle-radio.js +0 -15
  991. package/dist/src/components/radio/toggle-radio.js.map +0 -1
  992. package/dist/src/components/spotlight-section/spotlight-section.css.js +0 -2
  993. package/dist/src/components/spotlight-section/spotlight-section.css.js.map +0 -1
  994. package/dist/src/components/spotlight-section/spotlight-section.d.ts +0 -22
  995. package/dist/src/components/spotlight-section/spotlight-section.js +0 -46
  996. package/dist/src/components/spotlight-section/spotlight-section.js.map +0 -1
  997. package/dist/src/components/stat/stat-tile.d.ts +0 -24
  998. package/dist/src/components/stat/stat-tile.js +0 -7
  999. package/dist/src/components/stat/stat-tile.js.map +0 -1
  1000. package/dist/src/components/tab-list/tab-list.css.d.ts +0 -16
  1001. package/dist/src/components/tab-list/tab-list.css.js +0 -2
  1002. package/dist/src/components/tab-list/tab-list.css.js.map +0 -1
  1003. package/dist/src/components/tab-list/tab-list.d.ts +0 -99
  1004. package/dist/src/components/tab-list/tab-list.js +0 -25
  1005. package/dist/src/components/tab-list/tab-list.js.map +0 -1
  1006. package/dist/src/components/tabs/tabs.css.js +0 -2
  1007. package/dist/src/components/tabs/tabs.css.js.map +0 -1
  1008. package/dist/src/components/tabs/tabs.d.ts +0 -69
  1009. package/dist/src/components/tabs/tabs.js +0 -29
  1010. package/dist/src/components/tabs/tabs.js.map +0 -1
  1011. package/dist/src/components/terminal/terminal-message.css.js +0 -2
  1012. package/dist/src/components/terminal/terminal-message.css.js.map +0 -1
  1013. package/dist/src/components/terminal/terminal-message.d.ts +0 -44
  1014. package/dist/src/components/terminal/terminal-message.js +0 -68
  1015. package/dist/src/components/terminal/terminal-message.js.map +0 -1
  1016. package/dist/src/components/termsOfUse/terms.css.js +0 -2
  1017. package/dist/src/components/termsOfUse/terms.css.js.map +0 -1
  1018. package/dist/src/components/termsOfUse/terms.d.ts +0 -22
  1019. package/dist/src/components/termsOfUse/terms.js +0 -78
  1020. package/dist/src/components/termsOfUse/terms.js.map +0 -1
  1021. /package/dist/src/components/{accordion/accordion-bg.css.d.ts → agent-endpoints/agent-endpoints-pills.css.d.ts} +0 -0
  1022. /package/dist/src/components/{anchor → anchor-nav}/anchor-nav.css.d.ts +0 -0
  1023. /package/dist/src/components/{card-features/card-features.css.d.ts → awards/award-marks.css.d.ts} +0 -0
  1024. /package/dist/src/components/{cards/card.css.d.ts → awards/award.css.d.ts} +0 -0
  1025. /package/dist/src/components/{compare/compare.css.d.ts → bar-chart/bar-chart.css.d.ts} +0 -0
  1026. /package/dist/src/components/{features/features.css.d.ts → card/card-grid.css.d.ts} +0 -0
  1027. /package/dist/src/components/{footer/footer-links-group.css.d.ts → card/card.css.d.ts} +0 -0
  1028. /package/dist/src/components/{footer/footer-nav-menu.css.d.ts → dialog/dialog.css.d.ts} +0 -0
  1029. /package/dist/src/components/{header/header-code.css.d.ts → footer/footer-group.css.d.ts} +0 -0
  1030. /package/dist/src/components/{header/header.css.d.ts → footer/footer-nav.css.d.ts} +0 -0
  1031. /package/dist/src/components/{heading/heading.css.d.ts → h/h.css.d.ts} +0 -0
  1032. /package/dist/src/components/{image/image.css.d.ts → img/img.css.d.ts} +0 -0
  1033. /package/dist/src/components/{light-carousel/light-carousel.css.d.ts → install-options/install-option.css.d.ts} +0 -0
  1034. /package/dist/src/components/{modal/modal.css.d.ts → newsletter-signup/newsletter-signup.css.d.ts} +0 -0
  1035. /package/dist/src/components/{paragraph/paragraph.css.d.ts → p/p.css.d.ts} +0 -0
  1036. /package/dist/src/components/{pricing-cards → pricing-card}/pricing-card.css.d.ts +0 -0
  1037. /package/dist/src/components/{pricing-cards/new-pricing.css.d.ts → pricing-card/pricing-feature-group.css.d.ts} +0 -0
  1038. /package/dist/src/components/{pricing-cards/pricing-card-actions.css.d.ts → pricing-card/pricing-feature.css.d.ts} +0 -0
  1039. /package/dist/src/components/{pricing-cards/pricing-card-container.css.d.ts → pricing-card/pricing-price.css.d.ts} +0 -0
  1040. /package/dist/src/components/{pricing-cards/pricing-card-header.css.d.ts → process-steps/process-step.css.d.ts} +0 -0
  1041. /package/dist/src/components/{pricing-cards/pricing-card-pricing.css.d.ts → product-hero/product-hero.css.d.ts} +0 -0
  1042. /package/dist/src/components/{pricing-cards/pricing-card-show-more.css.d.ts → product-upsell/product-upsell.css.d.ts} +0 -0
  1043. /package/dist/src/components/{pricing-cards/pricing-feature-item.css.d.ts → related-articles/related-articles.css.d.ts} +0 -0
  1044. /package/dist/src/components/{spotlight-section/spotlight-section.css.d.ts → report-promo/report-promo.css.d.ts} +0 -0
  1045. /package/dist/src/components/{dropdown/dropdown.css.d.ts → select/select.css.d.ts} +0 -0
  1046. /package/dist/src/components/{tabs/tabs.css.d.ts → spotlight/spotlight.css.d.ts} +0 -0
  1047. /package/dist/src/components/{terminal/terminal-message.css.d.ts → tab-group/tab-group.css.d.ts} +0 -0
  1048. /package/dist/src/components/{termsOfUse/terms.css.d.ts → tab-group/tab.css.d.ts} +0 -0
@@ -1,26 +1 @@
1
- [
2
- "bd-accordion-bg-item: component declares \"variant\" but the manifest omits it",
3
- "bd-accordion-bg: component declares \"guideHref\" but the manifest omits it",
4
- "bd-accordion-bg: component declares \"guideIcon\" but the manifest omits it",
5
- "bd-accordion-bg: component declares \"guideLabel\" but the manifest omits it",
6
- "bd-accordion-bg: component declares \"variant\" but the manifest omits it",
7
- "bd-accordion-section: component declares \"noContainer\" but the manifest omits it",
8
- "bd-anchor-nav: component declares \"ctaHref\" but the manifest omits it",
9
- "bd-anchor-nav: component declares \"ctaLabel\" but the manifest omits it",
10
- "bd-anchor-nav: component declares \"items\" but the manifest omits it",
11
- "bd-anchor-nav: component declares \"maxWidth\" but the manifest omits it",
12
- "bd-card-item is registered by ./cards but absent from the manifest",
13
- "bd-card-section is registered by ./cards but absent from the manifest",
14
- "bd-feature-col is registered by ./features but absent from the manifest",
15
- "bd-features is registered by ./features but absent from the manifest",
16
- "bd-features-tab is registered by ./features-tab but absent from the manifest",
17
- "bd-highlight: component declares \"as\" but the manifest omits it",
18
- "bd-link: component declares \"active\" but the manifest omits it",
19
- "bd-link: component declares \"noUnderline\" but the manifest omits it",
20
- "bd-review is registered by ./review but absent from the manifest",
21
- "bd-review-grid is registered by ./review-grid but absent from the manifest",
22
- "bd-tab-panel is registered by ./tabs but absent from the manifest",
23
- "bd-tabs is registered by ./tabs but absent from the manifest",
24
- "bd-toggle-radio: component declares \"indeterminate\" but the manifest omits it",
25
- "compare-card: component declares \"layout\" but the manifest omits it"
26
- ]
1
+ []
@@ -76,7 +76,8 @@
76
76
  }
77
77
  },
78
78
  "slot": {
79
- "type": "string"
79
+ "type": "string",
80
+ "description": "The named slot of the parent component this node fills: one of the parent's `slots` in component-manifest.json. Omit it for the default slot."
80
81
  },
81
82
  "if": {
82
83
  "type": "string",
@@ -123,6 +124,32 @@
123
124
  "children": ["Buy now"]
124
125
  }
125
126
  ]
127
+ },
128
+ {
129
+ "version": 1,
130
+ "imports": ["./bento-grid", "./heading"],
131
+ "components": [
132
+ {
133
+ "type": "bd-bento-grid",
134
+ "children": [
135
+ {
136
+ "type": "bd-h",
137
+ "slot": "title",
138
+ "props": {
139
+ "as": "h2"
140
+ },
141
+ "children": ["One subscription, every device"]
142
+ },
143
+ {
144
+ "type": "bd-bento-item",
145
+ "props": {
146
+ "title": "Antivirus",
147
+ "body": "Real-time protection that stays out of your way."
148
+ }
149
+ }
150
+ ]
151
+ }
152
+ ]
126
153
  }
127
154
  ]
128
155
  }
@@ -1,2 +0,0 @@
1
- import{css as e}from"lit";var t=e`:host{display:block}:host(bd-accordion-bg-item[data-variant=terms-of-use]){border-radius:var(--radius-none);background-color:#0000!important}:host(bd-accordion-bg-item){margin-bottom:var(--spacing-16);box-sizing:border-box;background-color:var(--status-brand-surface);border-radius:var(--shape-radius-lg);display:block;overflow:visible}:host(bd-accordion-bg-item[data-variant=terms-of-use]) .disclosure:has(>.header:focus-visible),:host(bd-accordion-bg-item[no-bg]) .disclosure:has(>.bd-accordion-bg-question:focus-visible){border-radius:var(--focus-outline-radius)}.disclosure.bd-accordion-bg-item{padding-inline:var(--spacing-16)}:host(bd-accordion-bg-item[no-bg]) .disclosure{padding-inline:0}:host(bd-accordion-bg-item[no-bg]){margin-bottom:var(--spacing-16);border-radius:var(--radius-none);background-color:#0000;overflow:visible}:host(bd-accordion-bg-item[no-bg]:last-of-type){margin-bottom:0}::slotted(bd-p){padding-bottom:0}::slotted(bd-list){--bd-li-margin-bottom:var(--spacing-16);margin-bottom:var(--spacing-16);display:block}::slotted(bd-list:last-child){margin-bottom:0}::slotted([slot=footer]){padding-top:var(--spacing-16);font-style:italic;display:block}.bd-accordion-bg-item{background-color:#0000;margin-bottom:0;overflow:visible}.bd-accordion-bg-question{cursor:pointer;justify-content:flex-start;align-items:flex-start;gap:var(--spacing-12);width:100%;padding:var(--spacing-16) 0;font:inherit;text-align:start;font-family:var(--typography-control-label-xl-fontFamily);font-size:var(--typography-control-label-xl-fontSize);font-weight:var(--typography-control-label-xl-fontWeight);line-height:var(--typography-control-label-xl-lineHeight);color:var(--color-text-primary);transition:color var(--transition-duration-normal) var(--transition-easing-smooth);background-color:#0000;border:none;margin:0;display:flex}.bd-accordion-bg-question[aria-expanded=true]{color:var(--color-text-brand)}.bd-accordion-bg-question[aria-expanded=false]{color:var(--color-text-primary)}.bd-accordion-bg-question:hover{color:var(--color-text-brand)}.bd-accordion-bg-question:hover .bd-accordion-bg-question-text{text-decoration-line:none}.bd-accordion-bg-question:focus-visible{outline:none}.bd-accordion-bg-header{margin-bottom:var(--spacing-32)}.bd-accordion-bg-question-text{font-family:inherit;font-weight:inherit;font-size:inherit}.bd-accordion-bg-title{text-align:center;margin-inline:auto}.bd-accordion-bg-icon{width:var(--icon-sm-size);height:var(--icon-sm-size);min-width:var(--icon-sm-size);line-height:var(--typography-lineHeight-none);-webkit-user-select:none;user-select:none;margin-top:calc((var(--typography-control-label-xl-lineHeight) * 1em - var(--icon-sm-size)) / 2);flex-shrink:0;justify-content:center;align-items:center;display:flex}.bd-accordion-bg-answer{padding-block:var(--spacing-0);padding-inline:calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0);font-family:var(--typography-fontFamily-sans);font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);color:var(--color-text-primary);background-color:#0000;overflow:hidden}.bd-accordion-bg-answer[hidden]:not([hidden=until-found i]){display:none!important}.bd-accordion-bg-item.open .bd-accordion-bg-answer{padding-block:var(--spacing-0) var(--spacing-16);padding-inline:calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0)}::slotted(p){margin:var(--spacing-0)}.bd-accordion-bg-container{padding-top:var(--spacing-64);padding-bottom:var(--spacing-64);margin:auto}.bd-accordion-bg-container.no-bg{background:0 0}.bd-accordion-bg-container.no-padding{padding-top:0;padding-bottom:0}.bd-accordion-bg-inner{box-sizing:border-box}.bd-accordion-bg-item.no-bg{background-color:#0000;border:none}.bd-accordion-bg-item.no-bg .bd-accordion-bg-question{background-color:#0000}.bd-accordion-bg-item.no-bg .bd-accordion-bg-answer{padding:0 var(--spacing-40);background-color:#0000}.bd-accordion-bg-item.no-bg.open .bd-accordion-bg-answer{padding:var(--spacing-16) var(--spacing-40)}.bd-accordion-bg-item.no-bg:hover{background-color:#0000}.bd-accordion-bg-item.no-bg .bd-accordion-bg-question:hover .bd-accordion-bg-question-text{text-decoration-line:none}@media (prefers-reduced-motion:reduce){.bd-accordion-bg-question{transition:none}}`;export{t as default};
2
- //# sourceMappingURL=accordion-bg.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accordion-bg.css.js","names":["accordion_bg_css_default"],"sources":["../../../../src/components/accordion/accordion-bg.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n display: block;\n }\n\n :host(bd-accordion-bg-item[data-variant=\"terms-of-use\"]) {\n background-color: transparent !important;\n border-radius: var(--radius-none);\n }\n\n /* The inline padding is on the item's .disclosure, not here: the focus\n ring is drawn on .disclosure (accordion.css.ts), and it has to go round\n the whole tinted card, not 16px inside it. */\n :host(bd-accordion-bg-item) {\n display: block;\n margin-bottom: var(--spacing-16);\n box-sizing: border-box;\n background-color: var(--status-brand-surface);\n border-radius: var(--shape-radius-lg);\n overflow: visible;\n }\n\n /* The ring is accordion.css.ts's .disclosure rule, which this element\n adopts, so there is one ring rule for the whole family and nothing here\n that could give one variant a different colour -- the divergence P5G\n found and P5G.1 closed stays closed by construction.\n\n What this sheet adds is shape, not colour. The ring follows the item's own\n corner: --radius-lg on the tinted FAQ item, which is right. The terms-of-use\n and no-bg items are transparent boxes with --radius-none, so their ring\n would be a hard rectangle, which Foundations/Focus says the ring should\n not be on an element with no shape of its own. They take the focus radius\n while focused. That changes no resting pixel -- these hosts paint no\n background and no border -- and it is the same radius the trigger used to\n take for the same reason. */\n :host(bd-accordion-bg-item[data-variant=\"terms-of-use\"]) .disclosure:has(> .header:focus-visible),\n :host(bd-accordion-bg-item[no-bg]) .disclosure:has(> .bd-accordion-bg-question:focus-visible) {\n border-radius: var(--focus-outline-radius);\n }\n\n /* The tinted card's inset, which the host carried until the ring moved to\n this element. The two transparent variants have none. */\n .disclosure.bd-accordion-bg-item {\n padding-inline: var(--spacing-16);\n }\n\n :host(bd-accordion-bg-item[no-bg]) .disclosure {\n padding-inline: 0;\n }\n\n :host(bd-accordion-bg-item[no-bg]) {\n margin-bottom: var(--spacing-16);\n background-color: transparent;\n border-radius: var(--radius-none);\n overflow: visible;\n }\n\n :host(bd-accordion-bg-item[no-bg]:last-of-type) {\n margin-bottom: 0;\n }\n\n /* bd-p in bd-accordion-bg — fara padding bottom */\n ::slotted(bd-p) {\n padding-bottom: 0;\n }\n\n ::slotted(bd-list) {\n --bd-li-margin-bottom: var(--spacing-16);\n display: block;\n margin-bottom: var(--spacing-16);\n }\n\n ::slotted(bd-list:last-child) {\n margin-bottom: 0;\n }\n\n ::slotted([slot=\"footer\"]) {\n display: block;\n padding-top: var(--spacing-16);\n font-style: italic;\n }\n /* No radius and no box-shadow transition of its own: this is the item's\n .disclosure, and it takes the host's corner so the focus ring does, and\n draws that ring at once, as the host did. */\n .bd-accordion-bg-item {\n margin-bottom: 0;\n background-color: transparent;\n overflow: visible;\n }\n\n .bd-accordion-bg-question {\n cursor: pointer;\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n gap: var(--spacing-12);\n width: 100%;\n padding: var(--spacing-16) 0;\n margin: 0;\n border: none;\n font: inherit;\n text-align: start;\n font-family: var(--typography-control-label-xl-fontFamily);\n font-size: var(--typography-control-label-xl-fontSize);\n font-weight: var(--typography-control-label-xl-fontWeight);\n line-height: var(--typography-control-label-xl-lineHeight);\n background-color: transparent;\n color: var(--color-text-primary);\n transition: color var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n .bd-accordion-bg-question[aria-expanded=\"true\"] {\n /* 18px/600 on the blue-50 item ground — below WCAG large (18.66px bold),\n so it needs 4.5:1. blue-500 measured 4.20:1. */\n color: var(--color-text-brand);\n }\n\n .bd-accordion-bg-question[aria-expanded=\"false\"] {\n color: var(--color-text-primary);\n }\n\n .bd-accordion-bg-question:hover {\n color: var(--color-text-brand);\n }\n\n .bd-accordion-bg-question:hover .bd-accordion-bg-question-text {\n text-decoration-line: none;\n }\n\n /* No ring on the trigger; see the note on .header:focus-visible in\n accordion.css.ts. The item draws it. */\n .bd-accordion-bg-question:focus-visible {\n outline: none;\n }\n\n .bd-accordion-bg-header {\n margin-bottom: var(--spacing-32);\n }\n\n .bd-accordion-bg-question-text {\n font-family: inherit;\n font-weight: inherit;\n font-size: inherit;\n }\n\n .bd-accordion-bg-title {\n margin-inline: auto;\n text-align: center;\n }\n\n .bd-accordion-bg-icon {\n width: var(--icon-sm-size);\n height: var(--icon-sm-size);\n min-width: var(--icon-sm-size);\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n /* the box holds an icon, not text; none collapses the leading to the\n glyph rather than reserving a text line around it */\n line-height: var(--typography-lineHeight-none);\n /* Safari reads only the prefixed property */\n -webkit-user-select: none;\n user-select: none;\n /* Derived, like accordion.css.ts's .toggle: half the difference between\n the first line box and the glyph. The 1.3 that stood here was a literal\n and it did not match this question's own leading -- the text is set at\n control-label-xl, whose line-height is tight (1.25) -- so the glyph sat\n below the optical centre of the type it is meant to align with. */\n margin-top: calc(\n (var(--typography-control-label-xl-lineHeight) * 1em - var(--icon-sm-size)) / 2\n );\n }\n\n /* A \".bd-accordion-bg-icon img\" rule stood here and could never match, for\n the same reason as accordion.css.ts's \".toggle img\": the icon is\n <bd-plus-icon> or <bd-minus-icon> with size and color as props, not an\n <img> this stylesheet can reach. Those props carry --color-text-brand for\n the reason accordion.css.ts records at the same rule. */\n\n /* A closed answer is [hidden]. The max-height: 0 / opacity: 0 that also\n hid it, and the 5000px / 1 that undid them when open, were a collapse\n animation transition: none had already switched off. */\n /* Indented past the icon, on the inline start where the icon is: these\n were four-value shorthands with the indent on the left, so on a\n right-to-left page the answer sat under nothing, a toggle's width away\n from the edge its question starts at. */\n .bd-accordion-bg-answer {\n overflow: hidden;\n padding-block: var(--spacing-0);\n padding-inline: calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0);\n background-color: transparent;\n font-family: var(--typography-fontFamily-sans);\n /* body-small: sm / normal / 1.5, which is what this already rendered on all\n three axes. Only the axes this rule declares are adopted -- the role also\n carries a family and a tracking, and importing those would change text\n the rule never spoke for. */\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n /* -primary, the default ink. This said -secondary from the day it was\n written, and nothing ever argued for it: it arrived as a raw\n --color-neutral-700 and the token migration only renamed the step to\n whichever role carries that value. -secondary is for supporting copy\n UNDER a title; an answer is the payload of the disclosure, which is body\n copy, and every accordion panel already resolves to -primary. */\n color: var(--color-text-primary);\n }\n\n /* plain hidden only; see the note at .content[hidden] in accordion.css.ts */\n .bd-accordion-bg-answer[hidden]:not([hidden=\"until-found\" i]) {\n display: none !important;\n }\n\n .bd-accordion-bg-item.open .bd-accordion-bg-answer {\n padding-block: var(--spacing-0) var(--spacing-16);\n padding-inline: calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0);\n }\n\n ::slotted(p) {\n margin: var(--spacing-0);\n }\n\n /* A \".bd-accordion-bg-answer > div { overflow: hidden }\" rule stood here and\n could never match, and its reason differs from the icon rules above. The\n answer region contains a single <slot>, so its children in the SHADOW tree\n are the slot, not the consumer's markup -- a child combinator never reaches\n slotted content. ::slotted(div) would, and is deliberately not substituted:\n nothing has been clipping here, so turning the clip on now is a behaviour\n change to every accordion body, not a repair. */\n\n /* FAQ container — padding 64px top/bottom */\n .bd-accordion-bg-container {\n margin: auto;\n padding-top: var(--spacing-64);\n padding-bottom: var(--spacing-64);\n }\n\n .bd-accordion-bg-container.no-bg {\n background: none;\n }\n\n .bd-accordion-bg-container.no-padding {\n padding-top: 0;\n padding-bottom: 0;\n }\n\n /* Inner — the page column, centred */\n .bd-accordion-bg-inner {\n box-sizing: border-box;\n }\n\n .bd-accordion-bg-item.no-bg {\n background-color: transparent;\n border: none;\n }\n\n .bd-accordion-bg-item.no-bg .bd-accordion-bg-question {\n background-color: transparent;\n }\n\n .bd-accordion-bg-item.no-bg .bd-accordion-bg-answer {\n background-color: transparent;\n padding: 0 var(--spacing-40);\n }\n\n .bd-accordion-bg-item.no-bg.open .bd-accordion-bg-answer {\n padding: var(--spacing-16) var(--spacing-40);\n }\n\n .bd-accordion-bg-item.no-bg:hover {\n background-color: transparent;\n }\n\n .bd-accordion-bg-item.no-bg .bd-accordion-bg-question:hover .bd-accordion-bg-question-text {\n text-decoration-line: none;\n }\n\n /* A reader who asked for less motion was still getting the question colour. Twenty-three\n of the thirty animated directories in this package honour the query; this\n one did not. */\n @media (prefers-reduced-motion: reduce) {\n .bd-accordion-bg-question {\n transition: none;\n }\n }\n`;\n"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,iuI"}
@@ -1,52 +0,0 @@
1
- import { LitElement } from "lit";
2
- import "../../tokens/tokens.js";
3
- import "../heading/heading.js";
4
- import "../icons/minus-icon.js";
5
- import "../icons/plus-icon.js";
6
- import "../paragraph/paragraph.js";
7
- type Variant = "default" | "faq" | "terms-of-use";
8
- declare class BdAccordionBg extends LitElement {
9
- title: string;
10
- noBg: boolean;
11
- noPadding: boolean;
12
- guideIcon: string;
13
- guideLabel: string;
14
- guideHref: string;
15
- _variant: Variant;
16
- variant: Variant;
17
- static styles: import("lit").CSSResult[];
18
- connectedCallback(): void;
19
- _detectVariant(): void;
20
- _propagateVariant(variant: Variant): void;
21
- _renderFaq(): import("lit-html").TemplateResult<1>;
22
- _renderTerms(): import("lit-html").TemplateResult<1>;
23
- render(): import("lit-html").TemplateResult<1>;
24
- }
25
- declare class BdAccordionBgItem extends LitElement {
26
- title: string;
27
- open: boolean;
28
- noBg: boolean;
29
- _variant: Variant;
30
- variant: Variant;
31
- _headerId: string;
32
- _panelId: string;
33
- constructor();
34
- static styles: import("lit").CSSResult[];
35
- connectedCallback(): void;
36
- _detectVariant(): void;
37
- toggleItem(): void;
38
- _onBeforeMatch(): void;
39
- _onTriggerKeydown(e: KeyboardEvent): void;
40
- /** Move keyboard focus to this item's disclosure trigger. */
41
- focusTrigger(): void;
42
- _renderTerms(): import("lit-html").TemplateResult<1>;
43
- _renderDefault(): import("lit-html").TemplateResult<1>;
44
- render(): import("lit-html").TemplateResult<1>;
45
- }
46
- declare global {
47
- interface HTMLElementTagNameMap {
48
- "bd-accordion-bg": BdAccordionBg;
49
- "bd-accordion-bg-item": BdAccordionBgItem;
50
- }
51
- }
52
- export {};
@@ -1,76 +0,0 @@
1
- import e from"./accordion-bg.css.js";import{defineElement as t}from"../shared/define-element.js";import"../../tokens/tokens.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../heading/heading.js";import"../icons/minus-icon.js";import"../icons/plus-icon.js";import"../paragraph/paragraph.js";import{ensembleCSS as r}from"../shared/ensemble.css.js";import{accordionItem as i,accordionSection as a}from"./accordion.css.js";import{onTriggerKeydown as o}from"./accordion-keyboard.js";import{panelHidden as s}from"./accordion-panel.js";import{LitElement as c,html as l}from"lit";import{property as u,state as d}from"lit/decorators.js";var f=class extends c{constructor(...e){super(...e),this.title=``,this.noBg=!1,this.noPadding=!1,this.guideIcon=``,this.guideLabel=``,this.guideHref=`#`,this._variant=`default`,this.variant=`default`}static{this.styles=[r,e,a]}connectedCallback(){super.connectedCallback(),Promise.resolve().then(()=>this._detectVariant())}_detectVariant(){let e=this.parentElement;for(;e;){if(e.classList.contains(`faq`)){this._variant=`faq`,this.variant=`faq`,this._propagateVariant(`faq`);return}if(e.classList.contains(`terms-of-use`)||e.classList.contains(`system-requirements`)){this._variant=`terms-of-use`,this.variant=`terms-of-use`,this._propagateVariant(`terms-of-use`);return}e=e.parentElement}this._variant=`default`,this.variant=`default`,this._propagateVariant(`default`)}_propagateVariant(e){this.querySelectorAll(`bd-accordion-bg-item`).forEach(t=>{t.setAttribute(`data-variant`,e)})}_renderFaq(){return l`
2
- <div class="bd-accordion-bg-container ${this.noBg?`no-bg`:``} ${this.noPadding?`no-padding`:``}">
3
- <div class="bd-ensemble bd-accordion-bg-inner">
4
- <div class="bd-accordion-bg-header">
5
- <bd-h as="h2" class="bd-accordion-bg-title">${this.title}</bd-h>
6
- </div>
7
- <slot></slot>
8
- <slot name="footer"></slot>
9
- </div>
10
- </div>
11
- `}_renderTerms(){return l`
12
- <div class="bd-accordion-section-container">
13
- <div class="bd-ensemble bd-accordion-section-inner">
14
- ${this.title?l`<bd-h as="h6" paddingBottom="32" fontWeight="bold" class="section-title">${this.title}</bd-h>`:``}
15
- <slot></slot>
16
- <slot name="footer"></slot>
17
- ${this.guideLabel?l`
18
- <p class="user-guide-link">
19
- <a href=${this.guideHref}>
20
- ${this.guideIcon?l`<bd-plus-icon size="16" color="var(--color-text-brand)"></bd-plus-icon>`:``}
21
- ${this.guideLabel}
22
- </a>
23
- </p>`:``}
24
- </div>
25
- </div>
26
- `}render(){return this._variant===`terms-of-use`?this._renderTerms():this._renderFaq()}};n([u({type:String})],f.prototype,`title`,void 0),n([u({type:Boolean,reflect:!0,attribute:`no-bg`})],f.prototype,`noBg`,void 0),n([u({type:Boolean,reflect:!0,attribute:`no-padding`})],f.prototype,`noPadding`,void 0),n([u({type:String,reflect:!0,attribute:`guide-icon`})],f.prototype,`guideIcon`,void 0),n([u({type:String,reflect:!0,attribute:`guide-label`})],f.prototype,`guideLabel`,void 0),n([u({type:String,reflect:!0,attribute:`guide-href`})],f.prototype,`guideHref`,void 0),n([d()],f.prototype,`_variant`,void 0),n([u({type:String,reflect:!0,attribute:`data-variant`})],f.prototype,`variant`,void 0),f=n([t(`bd-accordion-bg`)],f);var p=class extends c{constructor(){super(),this.title=``,this.open=!1,this.noBg=!1,this._variant=`default`,this.variant=`default`;let e=Math.random().toString(36).slice(2,11);this._headerId=`acc-bg-h-${e}`,this._panelId=`acc-bg-p-${e}`}static{this.styles=[e,i]}connectedCallback(){super.connectedCallback(),Promise.resolve().then(()=>this._detectVariant())}_detectVariant(){let e=this.parentElement;for(;e;){if(e.classList.contains(`faq`)){this._variant=`faq`,this.variant=`faq`;return}if(e.classList.contains(`terms-of-use`)||e.classList.contains(`system-requirements`)){this._variant=`terms-of-use`,this.variant=`terms-of-use`;return}e=e.parentElement}this._variant=`default`,this.variant=`default`}toggleItem(){this.open=!this.open}_onBeforeMatch(){this.open=!0}_onTriggerKeydown(e){o(this,e)}focusTrigger(){this.renderRoot?.querySelector(`.bd-accordion-bg-question, .header`)?.focus()}_renderTerms(){return l`<div class="disclosure">
27
- <button
28
- type="button"
29
- class="header"
30
- aria-expanded="${this.open}"
31
- aria-controls="${this._panelId}"
32
- @click=${this.toggleItem}
33
- @keydown=${this._onTriggerKeydown}
34
- >
35
- <span class="toggle" aria-hidden="true">
36
- ${this.open?l`<bd-minus-icon size="16" color="var(--color-text-brand)"></bd-minus-icon>`:l`<bd-plus-icon size="16" color="var(--color-text-brand)"></bd-plus-icon>`}
37
- </span>
38
- <span class="title">${this.title}</span>
39
- </button>
40
- <div
41
- id="${this._panelId}"
42
- class="content"
43
- hidden=${s(this.open)}
44
- @beforematch=${this._onBeforeMatch}
45
- >
46
- <slot></slot>
47
- </div>
48
- </div>`}_renderDefault(){return l`
49
- <div class="disclosure bd-accordion-bg-item ${this.open?`open`:``} ${this.noBg?`no-bg`:``}">
50
- <button
51
- type="button"
52
- id="${this._headerId}"
53
- class="bd-accordion-bg-question"
54
- aria-expanded="${this.open}"
55
- aria-controls="${this._panelId}"
56
- @click=${this.toggleItem}
57
- @keydown=${this._onTriggerKeydown}
58
- >
59
- <span class="bd-accordion-bg-icon" aria-hidden="true">
60
- ${this.open?l`<bd-minus-icon size="16" color="var(--color-text-brand)"></bd-minus-icon>`:l`<bd-plus-icon size="16" color="var(--color-text-brand)"></bd-plus-icon>`}
61
- </span>
62
- <span class="bd-accordion-bg-question-text">${this.title}</span>
63
- </button>
64
- <div
65
- id="${this._panelId}"
66
- class="bd-accordion-bg-answer"
67
- role="region"
68
- aria-labelledby="${this._headerId}"
69
- hidden=${s(this.open)}
70
- @beforematch=${this._onBeforeMatch}
71
- >
72
- <slot></slot>
73
- </div>
74
- </div>
75
- `}render(){return this._variant===`terms-of-use`?this._renderTerms():this._renderDefault()}};n([u({type:String})],p.prototype,`title`,void 0),n([u({type:Boolean,reflect:!0})],p.prototype,`open`,void 0),n([u({type:Boolean,reflect:!0,attribute:`no-bg`})],p.prototype,`noBg`,void 0),n([d()],p.prototype,`_variant`,void 0),n([u({type:String,reflect:!0,attribute:`data-variant`})],p.prototype,`variant`,void 0),p=n([t(`bd-accordion-bg-item`)],p);
76
- //# sourceMappingURL=accordion-bg.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accordion-bg.js","names":["accordionCSS","_decorate","accordion_bg_css_default","__decorate","BdAccordionBg","LitElement","_args","ensembleCSS","accordionSection","el","item","variant","property","state","defineElement","BdAccordionBgItem","id","accordionItem","onTriggerKeydown","panelHidden"],"sources":["../../../../src/components/accordion/accordion-bg.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property, state } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/heading/heading.ts\";\nimport \"#components/icons/minus-icon.ts\";\nimport \"#components/icons/plus-icon.ts\";\nimport \"#components/paragraph/paragraph.ts\";\nimport accordionCSS from \"./accordion-bg.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport { accordionItem, accordionSection } from \"./accordion.css.ts\";\nimport { onTriggerKeydown } from \"./accordion-keyboard.ts\";\nimport { panelHidden } from \"./accordion-panel.ts\";\n\ntype Variant = \"default\" | \"faq\" | \"terms-of-use\";\n\n@defineElement(\"bd-accordion-bg\")\nclass BdAccordionBg extends LitElement {\n @property({ type: String })\n title = \"\";\n @property({ type: Boolean, reflect: true, attribute: \"no-bg\" })\n noBg = false;\n @property({ type: Boolean, reflect: true, attribute: \"no-padding\" })\n noPadding = false;\n @property({ type: String, reflect: true, attribute: \"guide-icon\" })\n guideIcon = \"\";\n @property({ type: String, reflect: true, attribute: \"guide-label\" })\n guideLabel = \"\";\n @property({ type: String, reflect: true, attribute: \"guide-href\" })\n guideHref = \"#\";\n @state()\n _variant: Variant = \"default\";\n @property({ type: String, reflect: true, attribute: \"data-variant\" })\n variant: Variant = \"default\";\n\n static styles = [ensembleCSS, accordionCSS, accordionSection];\n\n connectedCallback() {\n super.connectedCallback();\n Promise.resolve().then(() => this._detectVariant());\n }\n\n _detectVariant() {\n let el = this.parentElement;\n while (el) {\n if (el.classList.contains(\"faq\")) {\n this._variant = \"faq\";\n this.variant = \"faq\";\n this._propagateVariant(\"faq\");\n return;\n }\n if (\n el.classList.contains(\"terms-of-use\") ||\n el.classList.contains(\"system-requirements\")\n ) {\n this._variant = \"terms-of-use\";\n this.variant = \"terms-of-use\";\n this._propagateVariant(\"terms-of-use\");\n return;\n }\n el = el.parentElement;\n }\n this._variant = \"default\";\n this.variant = \"default\";\n this._propagateVariant(\"default\");\n }\n\n _propagateVariant(variant: Variant) {\n this.querySelectorAll(\"bd-accordion-bg-item\").forEach(item => {\n item.setAttribute(\"data-variant\", variant);\n });\n }\n\n _renderFaq() {\n return html`\n <div class=\"bd-accordion-bg-container ${this.noBg ? \"no-bg\" : \"\"} ${this.noPadding ? \"no-padding\" : \"\"}\">\n <div class=\"bd-ensemble bd-accordion-bg-inner\">\n <div class=\"bd-accordion-bg-header\">\n <bd-h as=\"h2\" class=\"bd-accordion-bg-title\">${this.title}</bd-h>\n </div>\n <slot></slot>\n <slot name=\"footer\"></slot>\n </div>\n </div>\n `;\n }\n\n _renderTerms() {\n return html`\n <div class=\"bd-accordion-section-container\">\n <div class=\"bd-ensemble bd-accordion-section-inner\">\n ${this.title\n ? html`<bd-h as=\"h6\" paddingBottom=\"32\" fontWeight=\"bold\" class=\"section-title\">${this.title}</bd-h>`\n : \"\"}\n <slot></slot>\n <slot name=\"footer\"></slot>\n ${this.guideLabel\n ? html`\n <p class=\"user-guide-link\">\n <a href=${this.guideHref}>\n ${this.guideIcon\n ? html`<bd-plus-icon size=\"16\" color=\"var(--color-text-brand)\"></bd-plus-icon>`\n : \"\"}\n ${this.guideLabel}\n </a>\n </p>`\n : \"\"}\n </div>\n </div>\n `;\n }\n\n render() {\n return this._variant === \"terms-of-use\"\n ? this._renderTerms()\n : this._renderFaq();\n }\n}\n\n@defineElement(\"bd-accordion-bg-item\")\nclass BdAccordionBgItem extends LitElement {\n @property({ type: String })\n title = \"\";\n @property({ type: Boolean, reflect: true })\n open = false;\n @property({ type: Boolean, reflect: true, attribute: \"no-bg\" })\n noBg = false;\n @state()\n _variant: Variant = \"default\";\n @property({ type: String, reflect: true, attribute: \"data-variant\" })\n variant: Variant = \"default\";\n\n _headerId: string;\n _panelId : string;\n\n constructor() {\n super();\n const id = Math.random().toString(36)\n .slice(2, 11);\n this._headerId = `acc-bg-h-${id}`;\n this._panelId = `acc-bg-p-${id}`;\n }\n\n static styles = [accordionCSS, accordionItem];\n\n connectedCallback() {\n super.connectedCallback();\n Promise.resolve().then(() => this._detectVariant());\n }\n\n _detectVariant() {\n let el = this.parentElement;\n while (el) {\n if (el.classList.contains(\"faq\")) {\n this._variant = \"faq\";\n this.variant = \"faq\";\n return;\n }\n if (\n el.classList.contains(\"terms-of-use\") ||\n el.classList.contains(\"system-requirements\")\n ) {\n this._variant = \"terms-of-use\";\n this.variant = \"terms-of-use\";\n return;\n }\n el = el.parentElement;\n }\n this._variant = \"default\";\n this.variant = \"default\";\n }\n\n toggleItem() {\n this.open = !this.open;\n }\n\n /* Find in page matched text in the closed panel; see accordion-panel.ts. */\n _onBeforeMatch() {\n this.open = true;\n }\n\n _onTriggerKeydown(e: KeyboardEvent) {\n onTriggerKeydown(this, e);\n }\n\n /** Move keyboard focus to this item's disclosure trigger. */\n focusTrigger() {\n this.renderRoot?.querySelector<HTMLElement>(\".bd-accordion-bg-question, .header\")?.focus();\n }\n\n /* As in accordion.ts, the trigger and its panel sit in one .disclosure,\n the box the focus ring goes round. The default layout's item div is it. */\n _renderTerms() {\n return html`<div class=\"disclosure\">\n <button\n type=\"button\"\n class=\"header\"\n aria-expanded=\"${this.open}\"\n aria-controls=\"${this._panelId}\"\n @click=${this.toggleItem}\n @keydown=${this._onTriggerKeydown}\n >\n <span class=\"toggle\" aria-hidden=\"true\">\n ${this.open\n ? html`<bd-minus-icon size=\"16\" color=\"var(--color-text-brand)\"></bd-minus-icon>`\n : html`<bd-plus-icon size=\"16\" color=\"var(--color-text-brand)\"></bd-plus-icon>`}\n </span>\n <span class=\"title\">${this.title}</span>\n </button>\n <div\n id=\"${this._panelId}\"\n class=\"content\"\n hidden=${panelHidden(this.open)}\n @beforematch=${this._onBeforeMatch}\n >\n <slot></slot>\n </div>\n </div>`;\n }\n\n _renderDefault() {\n return html`\n <div class=\"disclosure bd-accordion-bg-item ${this.open ? \"open\" : \"\"} ${this.noBg ? \"no-bg\" : \"\"}\">\n <button\n type=\"button\"\n id=\"${this._headerId}\"\n class=\"bd-accordion-bg-question\"\n aria-expanded=\"${this.open}\"\n aria-controls=\"${this._panelId}\"\n @click=${this.toggleItem}\n @keydown=${this._onTriggerKeydown}\n >\n <span class=\"bd-accordion-bg-icon\" aria-hidden=\"true\">\n ${this.open\n ? html`<bd-minus-icon size=\"16\" color=\"var(--color-text-brand)\"></bd-minus-icon>`\n : html`<bd-plus-icon size=\"16\" color=\"var(--color-text-brand)\"></bd-plus-icon>`}\n </span>\n <span class=\"bd-accordion-bg-question-text\">${this.title}</span>\n </button>\n <div\n id=\"${this._panelId}\"\n class=\"bd-accordion-bg-answer\"\n role=\"region\"\n aria-labelledby=\"${this._headerId}\"\n hidden=${panelHidden(this.open)}\n @beforematch=${this._onBeforeMatch}\n >\n <slot></slot>\n </div>\n </div>\n `;\n }\n\n render() {\n return this._variant === \"terms-of-use\"\n ? this._renderTerms()\n : this._renderDefault();\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-accordion-bg\" : BdAccordionBg;\n \"bd-accordion-bg-item\": BdAccordionBgItem;\n }\n}\n"],"mappings":"A,ypBAiBA,IACMI,EADN,cAC4BC,CAAW,C,8BAE7B,KAAA,MAAA,GAED,KAAA,KAAA,GAEK,KAAA,UAAA,GAEA,KAAA,UAAA,GAEC,KAAA,WAAA,GAED,KAAA,UAAA,IAEQ,KAAA,SAAA,UAED,KAAA,QAAA,S,QAEH,KAAA,OAAA,CAACE,EAAaP,EAAcQ,CAAgB,C,CAE5D,mBAAoB,CAClB,MAAM,kBAAkB,EACxB,QAAQ,QAAQ,CAAC,CAAC,SAAW,KAAK,eAAe,CAAC,CACpD,CAEA,gBAAiB,CACf,IAAIC,EAAK,KAAK,cACd,KAAOA,GAAI,CACT,GAAIA,EAAG,UAAU,SAAS,KAAK,EAAG,CAChC,KAAK,SAAW,MAChB,KAAK,QAAW,MAChB,KAAK,kBAAkB,KAAK,EAC5B,MACF,CACA,GACEA,EAAG,UAAU,SAAS,cAAc,GACpCA,EAAG,UAAU,SAAS,qBAAqB,EAC3C,CACA,KAAK,SAAW,eAChB,KAAK,QAAW,eAChB,KAAK,kBAAkB,cAAc,EACrC,MACF,CACA,EAAKA,EAAG,aACV,CACA,KAAK,SAAW,UAChB,KAAK,QAAW,UAChB,KAAK,kBAAkB,SAAS,CAClC,CAEA,kBAAkB,EAAkB,CAClC,KAAK,iBAAiB,sBAAsB,CAAC,CAAC,QAAQ,GAAQ,CAC5DC,EAAK,aAAa,eAAgBC,CAAO,CAC3C,CAAC,CACH,CAEA,YAAa,CACX,MAAO,EAAI;4CAC6B,KAAK,KAAO,QAAU,GAAG,GAAG,KAAK,UAAY,aAAe,GAAG;;;wDAGnD,KAAK,MAAM;;;;;;GAOjE,CAEA,cAAe,CACb,MAAO,EAAI;;;UAGL,KAAK,MACH,CAAI,4EAA4E,KAAK,MAAM,SAC3F,GAAG;;;UAGL,KAAK,WACH,CAAI;;0BAEU,KAAK,UAAU;oBACrB,KAAK,UACH,CAAI,2EACJ,GAAG;oBACL,KAAK,WAAW;;oBAGxB,GAAG;;;GAIb,CAEA,QAAS,CACP,OAAO,KAAK,WAAa,eACrB,KAAK,aAAa,EAClB,KAAK,WAAW,CACtB,CACF,EAnGGV,EAAA,CAAAW,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAR,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAW,EAAS,CAAE,KAAM,QAAS,QAAS,GAAM,UAAW,OAAQ,CAAC,CAAA,EAAAR,EAAA,UAAA,OAAA,IAAA,EAAA,EAE7DH,EAAA,CAAAW,EAAS,CAAE,KAAM,QAAS,QAAS,GAAM,UAAW,YAAa,CAAC,CAAA,EAAAR,EAAA,UAAA,YAAA,IAAA,EAAA,EAElEH,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,QAAS,GAAM,UAAW,YAAa,CAAC,CAAA,EAAAR,EAAA,UAAA,YAAA,IAAA,EAAA,EAEjEH,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,QAAS,GAAM,UAAW,aAAc,CAAC,CAAA,EAAAR,EAAA,UAAA,aAAA,IAAA,EAAA,EAElEH,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,QAAS,GAAM,UAAW,YAAa,CAAC,CAAA,EAAAR,EAAA,UAAA,YAAA,IAAA,EAAA,EAEjEH,EAAA,CAAAY,EAAM,CAAA,EAAAT,EAAA,UAAA,WAAA,IAAA,EAAA,EAENH,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,QAAS,GAAM,UAAW,cAAe,CAAC,CAAA,EAAAR,EAAA,UAAA,UAAA,IAAA,EAAA,EAhBrE,EAAAH,EAAA,CAAAa,EAAc,iBAAiB,CAAA,EAAAV,CAAA,EAuGhC,IACMW,EADN,cACgCV,CAAW,CAezC,aAAc,CACZ,MAAM,EAdA,KAAA,MAAA,GAED,KAAA,KAAA,GAEA,KAAA,KAAA,GAEa,KAAA,SAAA,UAED,KAAA,QAAA,UAOjB,IAAMW,EAAW,KAAK,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC,CACxC,MAAM,EAAG,EAAE,EACd,KAAK,UAAY,YAAYA,IAC7B,KAAK,SAAY,YAAYA,GAC/B,C,OAEgB,KAAA,OAAA,CAAChB,EAAciB,CAAa,C,CAE5C,mBAAoB,CAClB,MAAM,kBAAkB,EACxB,QAAQ,QAAQ,CAAC,CAAC,SAAW,KAAK,eAAe,CAAC,CACpD,CAEA,gBAAiB,CACf,IAAIR,EAAK,KAAK,cACd,KAAOA,GAAI,CACT,GAAIA,EAAG,UAAU,SAAS,KAAK,EAAG,CAChC,KAAK,SAAW,MAChB,KAAK,QAAW,MAChB,MACF,CACA,GACEA,EAAG,UAAU,SAAS,cAAc,GACpCA,EAAG,UAAU,SAAS,qBAAqB,EAC3C,CACA,KAAK,SAAW,eAChB,KAAK,QAAW,eAChB,MACF,CACA,EAAKA,EAAG,aACV,CACA,KAAK,SAAW,UAChB,KAAK,QAAW,SAClB,CAEA,YAAa,CACX,KAAK,KAAO,CAAC,KAAK,IACpB,CAGA,gBAAiB,CACf,KAAK,KAAO,EACd,CAEA,kBAAkB,EAAkB,CAClCS,EAAiB,KAAM,CAAC,CAC1B,CAGA,cAAe,CACb,KAAK,YAAY,cAA2B,oCAAoC,CAAC,EAAE,MAAM,CAC3F,CAIA,cAAe,CACb,MAAO,EAAI;;;;yBAIU,KAAK,KAAK;yBACV,KAAK,SAAS;iBACtB,KAAK,WAAW;mBACd,KAAK,kBAAkB;;;YAG9B,KAAK,KACH,CAAI,4EACJ,CAAI,2EAA2E;;8BAE/D,KAAK,MAAM;;;cAG3B,KAAK,SAAS;;iBAEXC,EAAY,KAAK,IAAI,EAAE;uBACjB,KAAK,eAAe;;;;WAKzC,CAEA,gBAAiB,CACf,MAAO,EAAI;oDACqC,KAAK,KAAO,OAAS,GAAG,GAAG,KAAK,KAAO,QAAU,GAAG;;;gBAGxF,KAAK,UAAU;;2BAEJ,KAAK,KAAK;2BACV,KAAK,SAAS;mBACtB,KAAK,WAAW;qBACd,KAAK,kBAAkB;;;cAG9B,KAAK,KACH,CAAI,4EACJ,CAAI,2EAA2E;;wDAEvC,KAAK,MAAM;;;gBAGnD,KAAK,SAAS;;;6BAGD,KAAK,UAAU;mBACzBA,EAAY,KAAK,IAAI,EAAE;yBACjB,KAAK,eAAe;;;;;KAM3C,CAEA,QAAS,CACP,OAAO,KAAK,WAAa,eACrB,KAAK,aAAa,EAClB,KAAK,eAAe,CAC1B,CACF,EAzIGlB,EAAA,CAAAW,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAG,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBd,EAAA,CAAAW,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAG,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzCd,EAAA,CAAAW,EAAS,CAAE,KAAM,QAAS,QAAS,GAAM,UAAW,OAAQ,CAAC,CAAA,EAAAG,EAAA,UAAA,OAAA,IAAA,EAAA,EAE7Dd,EAAA,CAAAY,EAAM,CAAA,EAAAE,EAAA,UAAA,WAAA,IAAA,EAAA,EAENd,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,QAAS,GAAM,UAAW,cAAe,CAAC,CAAA,EAAAG,EAAA,UAAA,UAAA,IAAA,EAAA,EAVrE,EAAAd,EAAA,CAAAa,EAAc,sBAAsB,CAAA,EAAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- import{css as e}from"lit";var t=e`:host{display:block}:host([hidden]){display:none}.alert{align-items:flex-start;gap:var(--spacing-12);padding:var(--spacing-16);border-radius:var(--shape-radius-lg);font-family:var(--typography-fontFamily-sans);font-size:var(--typography-body-small-fontSize);line-height:var(--typography-body-small-lineHeight);color:var(--color-text-primary);background:var(--status-info-surface);display:flex}.icon{color:var(--status-info-accent);flex:none;display:flex}:host([tone=success]) .alert{background:var(--status-success-surface)}:host([tone=success]) .icon{color:var(--status-success-accent)}:host([tone=warning]) .alert{background:var(--status-warning-surface)}:host([tone=warning]) .icon{color:var(--status-warning-accent)}:host([tone=error]) .alert{background:var(--status-error-surface)}:host([tone=error]) .icon{color:var(--status-error-accent)}:host([tone=neutral]) .alert{background:var(--status-neutral-surface)}:host([tone=neutral]) .icon{color:var(--status-neutral-accent)}:host([variant=outline]) .alert{background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-border-container)}.content{gap:var(--spacing-8);overflow-wrap:break-word;flex-direction:column;flex:auto;min-width:0;display:flex}.title{font-weight:var(--typography-fontWeight-semibold)}.body{min-height:var(--icon-lg-size)}.actions{align-items:center;gap:var(--spacing-12);color:var(--color-text-brand);flex-wrap:wrap;display:flex}.actions[hidden]{display:none}.dismiss{padding:var(--spacing-0);color:var(--color-text-muted);border-radius:var(--focus-outline-radius);cursor:pointer;background:0 0;border:none;flex:none;display:flex;position:relative}.dismiss:before{content:"";inset:calc(-1 * var(--spacing-4));position:absolute}.dismiss:focus-visible{outline:var(--border-width-2) solid transparent;outline-offset:var(--focus-outline-offset);box-shadow:var(--focus-outline-primary)}`;export{t as alertCSS,t as default};
2
- //# sourceMappingURL=alert.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"alert.css.js","names":["alertCSS"],"sources":["../../../../src/components/alert/alert.css.ts"],"sourcesContent":["import { css } from 'lit';\n\n/**\n * Styled entirely from design tokens -- see npm run lint:tokens.\n *\n * Reshaped 2026-09-14 to the Eclipse Alert banner (Figma yzCimjlQG7RzokkgVpjfnZ\n * node 5021:11630), using this package's roles rather than that file's\n * variables. The two systems turn out to share ancestry: three of the five\n * tints matched byte-for-byte (blue f0f7ff, green edfdf1, red fff0f0), the type\n * size matched at 14px, and the radius, gaps and padding all landed on our\n * existing scales -- radius/small 8px IS --radius-lg, and 16/12/8 are\n * --spacing-16/12/8.\n *\n * Two places the design and this package disagree, both resolved our way\n * because our tokens are the brief:\n *\n * warning tint the design is fff6f0, an orange; --status-warning-surface is\n * fffbf0, a yellow. Ours. Worth knowing that warning is the\n * tightest of the six: its accent reads 3.49:1 on its own\n * tint where every other tone clears 4.2, so a future change\n * to either half has least room here.\n * actions ink the design is 0045ad; --color-text-brand is blue-600\n * 0059d6. Ours, and blue-600 is the documented choice for ink\n * on a tint -- CLAUDE.md records blue-500 as failing there.\n *\n * THE LEFT ACCENT RULE IS GONE. This atom carried a 4px border-left in the\n * tone's accent colour; the design is tint-only, with a full border on the\n * outline variant instead. That is a visible change to a shipped atom and it\n * was asked for. The invariant the old rule existed to keep -- that an alert\n * and a bd-badge of the same tone are the same colour by construction, because\n * both read --status-<tone>-accent -- survives, because the icon now carries\n * it.\n *\n * EVERY COMBINATION WAS MEASURED, not assumed: title and description\n * (--color-text-primary) run 16.03 to 17.97:1 across the six grounds, the\n * actions ink 5.51 to 6.18, and the tone accents 3.49 to 8.39 against the 3:1\n * non-text bar. No pair needed a compromise.\n */\nexport const alertCSS = css`\n :host {\n display: block;\n }\n\n /* The native hidden attribute has to beat the display above, or a consumer\n writing <bd-alert hidden> gets a visible alert. Same fix as\n icons/icon-element.ts. */\n :host([hidden]) {\n display: none;\n }\n\n .alert {\n display: flex;\n align-items: flex-start;\n gap: var(--spacing-12);\n padding: var(--spacing-16);\n border-radius: var(--shape-radius-lg);\n font-family: var(--typography-fontFamily-sans);\n /* Set ONCE, here. The title differs from the description by weight only,\n which is what the design does too -- Body/medium/semibold over\n Body/medium/regular, both 14px -- so nothing below re-declares a size.\n .\n THE LEADING IS DELIBERATELY NOT THE DESIGN'S. The design specifies 20px;\n this resolves to 1.45, which computes to 20.3px at 14px. Confirmed 2026-09-14\n to stay as it is: a unitless ratio is the first rule of this package's\n typography contract, because an absolute 20px stops scaling when a reader\n enlarges their text, which is the defect the rule exists to prevent. The\n 0.3px is the price of keeping it. 1.45 also clears the Plex leading floor\n that Romanian diacritics need, so there is no clipping risk in dropping\n toward the design's figure -- but there is no reason to. */\n font-size: var(--typography-body-small-fontSize);\n line-height: var(--typography-body-small-lineHeight);\n color: var(--color-text-primary);\n background: var(--status-info-surface);\n }\n\n /* The tone sets the ground and the icon's ink in one place, so the two cannot\n drift apart. The icon reads currentColor from .icon, which is the rule the\n icon atoms already follow. */\n .icon {\n flex: none;\n display: flex;\n color: var(--status-info-accent);\n }\n\n :host([tone='success']) .alert {\n background: var(--status-success-surface);\n }\n\n :host([tone='success']) .icon {\n color: var(--status-success-accent);\n }\n\n :host([tone='warning']) .alert {\n background: var(--status-warning-surface);\n }\n\n :host([tone='warning']) .icon {\n color: var(--status-warning-accent);\n }\n\n :host([tone='error']) .alert {\n background: var(--status-error-surface);\n }\n\n :host([tone='error']) .icon {\n color: var(--status-error-accent);\n }\n\n :host([tone='neutral']) .alert {\n background: var(--status-neutral-surface);\n }\n\n :host([tone='neutral']) .icon {\n color: var(--status-neutral-accent);\n }\n\n /* The outline variant is a SURFACE treatment, not a tone: it keeps whichever\n tone's icon is set and drops the tint for the page ground plus an edge.\n That is why it is its own attribute rather than a sixth tone -- the design\n models both axes in one enum, and folding a surface choice into the status\n vocabulary is the category error CLAUDE.md names.\n .\n The edge takes --color-border-container, the role for a self-contained\n object's boundary, which is what this is. The design spells it\n rgba(0,0,0,0.1); the role is neutral-100 and within a shade of it. */\n :host([variant='outline']) .alert {\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-border-container);\n }\n\n .content {\n flex: 1 1 auto;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n overflow-wrap: break-word;\n }\n\n /* no role: the title's weight. Semibold at 14px is not a role this package\n has -- body-small is 400, label-default and control-label-default are 500 --\n and the element is doing the work a role would name. It stays a strong so\n the emphasis is in the markup rather than in a class, which is the same\n argument button.css.ts's .button--bold makes.\n .\n The value is deliberate and not the UA default: strong renders at bolder\n (700), and semibold keeps an alert title from shouting inside a status\n strip. The design agrees -- Body/medium/semibold. */\n .title { font-weight: var(--typography-fontWeight-semibold); }\n\n /* The design gives the description a 24px floor so a one-line alert has the\n same height as the icon beside it and the row does not look top-heavy. */\n .body {\n min-height: var(--icon-lg-size);\n }\n\n /* Each action is its own flex item, so the gap needs each one slotted\n separately -- wrapping several in one span makes them a single item and\n they run together with no space. The stories show the right shape.\n .\n The colour here is a DEFAULT, not the source of the action ink: bd-link\n and bd-button both set their own, so in normal use this never paints. It\n is kept so a bare anchor or a run of text slotted here gets brand ink\n rather than the UA's blue, which is the only case it applies to. Do not go\n looking here for why an action is the colour it is -- look at the atom. */\n .actions {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--spacing-12);\n color: var(--color-text-brand);\n }\n\n /* Rendered only when something is slotted in, so an alert without actions\n does not carry an empty row and the gap above it. */\n .actions[hidden] {\n display: none;\n }\n\n /* A 24px target around the 16px icon. The button was the icon and\n nothing else, 16x16, under the 24px WCAG 2.5.8 asks of a pointer target\n -- and an alert's close button is the one control on it a reader is\n trying to hit. The ::before below is that target: it reaches\n --spacing-4 past the button on each side, and a click on it is a click\n on the button -- 24x24 at the default text size, and larger, never\n smaller, for a reader who enlarges their text, since the reach is rem.\n The button's own box is unchanged, so the icon sits exactly where it did\n and the alert is no taller. */\n .dismiss {\n position: relative;\n flex: none;\n display: flex;\n padding: var(--spacing-0);\n border: none;\n background: none;\n color: var(--color-text-muted);\n border-radius: var(--focus-outline-radius);\n cursor: pointer;\n }\n\n .dismiss::before {\n content: \"\";\n position: absolute;\n inset: calc(-1 * var(--spacing-4));\n }\n\n /* One token, one painter -- the same invariant accordion.css.ts records. */\n .dismiss:focus-visible {\n /* forced-colors mode does not paint box-shadow, so the ring\n vanishes there; it does paint an outline, in a system colour. This one\n is transparent everywhere else, and the offset lands it on the ring's\n outer band. */\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n box-shadow: var(--focus-outline-primary);\n }\n`;\n\nexport default alertCSS;\n"],"mappings":"A,0BAsCA,IAAaA,EAAW,CAAG,41D"}
@@ -1,55 +0,0 @@
1
- import { LitElement, type PropertyValues } from "lit";
2
- import "../../tokens/tokens.js";
3
- import "../icons/circle-info-icon.js";
4
- import "../icons/close-icon.js";
5
- declare const TONES: readonly ["info", "success", "warning", "error", "neutral"];
6
- type Tone = typeof TONES[number];
7
- declare const VARIANTS: readonly ["tint", "outline"];
8
- type Variant = typeof VARIANTS[number];
9
- /**
10
- * A status banner: an icon, a title, a description, optional actions, and an
11
- * optional dismiss.
12
- *
13
- * Shaped to the Eclipse Alert banner (Figma yzCimjlQG7RzokkgVpjfnZ node
14
- * 5021:11630) with this package's roles. See alert.css.ts for what the two
15
- * systems agreed on and the two places they did not.
16
- *
17
- * TWO AXES, NOT ONE. The design models six values of a single `type` enum:
18
- * Information, Success, Danger, Warning, Neutral and Outline. Five of those are
19
- * statuses and one is a surface treatment, so this element keeps them apart --
20
- * `tone` for the status, `variant` for the treatment. An outline alert still
21
- * has a tone, and folding the two into one attribute would mean
22
- * tone="outline", which says nothing about what the alert is telling you.
23
- *
24
- * THE LEADING ICON. bd-circle-info-icon, the glyph the design asked for. It
25
- * was a bd-missing-icon placeholder from the day this component was built --
26
- * a visible dashed box that check:icons reported as owed -- which is the
27
- * recorded process for an icon we need and have not drawn: no font glyph, no
28
- * inline path, no silent omission. The artwork arrived from Eclipse and the
29
- * placeholder is gone. Pass your own through the icon slot to override it.
30
- */
31
- export declare class BdAlert extends LitElement {
32
- static styles: import("lit").CSSResult[];
33
- /** info | success | warning | error | neutral */
34
- tone: Tone;
35
- /** tint (default) | outline */
36
- variant: Variant;
37
- heading: string;
38
- dismissible: boolean;
39
- /** The dismiss button's accessible name, overridable per context. */
40
- dismisslabel: string;
41
- _hasActions: boolean;
42
- willUpdate(changed: PropertyValues<this>): void;
43
- _onActionsSlotChange(event: Event): void;
44
- _onDismiss(): void;
45
- render(): import("lit-html").TemplateResult<1>;
46
- }
47
- declare global {
48
- interface HTMLElementTagNameMap {
49
- 'bd-alert': BdAlert;
50
- }
51
- interface HTMLElementEventMap {
52
- 'bd-dismiss': CustomEvent<null>;
53
- }
54
- }
55
- export {};
@@ -1,28 +0,0 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{isOneOf as n}from"../shared/prop-vocabulary.js";import{alertCSS as r}from"./alert.css.js";import"../icons/circle-info-icon.js";import"../icons/close-icon.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s,state as c}from"lit/decorators.js";var l=[`info`,`success`,`warning`,`error`,`neutral`],u=[`tint`,`outline`],d=class extends i{constructor(...e){super(...e),this.tone=`info`,this.variant=`tint`,this.heading=``,this.dismissible=!1,this.dismisslabel=`Dismiss alert`,this._hasActions=!1}static{this.styles=[r]}willUpdate(e){e.has(`tone`)&&!n(l,this.tone)&&(this.tone=`info`),e.has(`variant`)&&!n(u,this.variant)&&(this.variant=`tint`)}_onActionsSlotChange(e){this._hasActions=e.target.assignedNodes({flatten:!0}).some(e=>e.nodeType===Node.ELEMENT_NODE||e.textContent.trim())}_onDismiss(){this.dispatchEvent(new CustomEvent(`bd-dismiss`,{bubbles:!0,composed:!0}))}render(){return a`
2
- <div class="alert" role=${this.tone===`error`?`alert`:`status`}>
3
- <span class="icon">
4
- <slot name="icon">
5
- <bd-circle-info-icon size="lg"></bd-circle-info-icon>
6
- </slot>
7
- </span>
8
-
9
- <div class="content">
10
- ${this.heading?a`<strong class="title">${this.heading}</strong>`:o}
11
- <div class="body"><slot></slot></div>
12
- <div class="actions" ?hidden=${!this._hasActions}>
13
- <slot name="actions" @slotchange=${this._onActionsSlotChange}></slot>
14
- </div>
15
- </div>
16
-
17
- ${this.dismissible?a`
18
- <button
19
- class="dismiss"
20
- type="button"
21
- aria-label=${this.dismisslabel}
22
- @click=${this._onDismiss}
23
- >
24
- <bd-close-icon size="sm"></bd-close-icon>
25
- </button>`:o}
26
- </div>
27
- `}};t([s({type:String,reflect:!0})],d.prototype,`tone`,void 0),t([s({type:String,reflect:!0})],d.prototype,`variant`,void 0),t([s({type:String})],d.prototype,`heading`,void 0),t([s({type:Boolean,reflect:!0})],d.prototype,`dismissible`,void 0),t([s({type:String})],d.prototype,`dismisslabel`,void 0),t([c()],d.prototype,`_hasActions`,void 0),d=t([e(`bd-alert`)],d);export{d as BdAlert};
28
- //# sourceMappingURL=alert.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"alert.js","names":["_decorate","__decorate","TONES","VARIANTS","BdAlert","LitElement","_args","alertCSS","changed","isOneOf","event","n","nothing","property","state","defineElement"],"sources":["../../../../src/components/alert/alert.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { defineElement } from '#shared/define-element.ts';\nimport { isOneOf } from '#shared/prop-vocabulary.ts';\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport '#tokens/tokens.ts';\nimport '#components/icons/circle-info-icon.ts';\nimport '#components/icons/close-icon.ts';\nimport { alertCSS } from './alert.css.ts';\n\n/* Five of the six tones bd-badge and bd-tag take: no brand. The design has\n no brand alert, and under the default brand one would be info's tint with\n a blue-600 icon in place of blue-500 -- an info alert by another name. */\nconst TONES = ['info', 'success', 'warning', 'error', 'neutral'] as const;\ntype Tone = typeof TONES[number];\nconst VARIANTS = ['tint', 'outline'] as const;\ntype Variant = typeof VARIANTS[number];\n\n/**\n * A status banner: an icon, a title, a description, optional actions, and an\n * optional dismiss.\n *\n * Shaped to the Eclipse Alert banner (Figma yzCimjlQG7RzokkgVpjfnZ node\n * 5021:11630) with this package's roles. See alert.css.ts for what the two\n * systems agreed on and the two places they did not.\n *\n * TWO AXES, NOT ONE. The design models six values of a single `type` enum:\n * Information, Success, Danger, Warning, Neutral and Outline. Five of those are\n * statuses and one is a surface treatment, so this element keeps them apart --\n * `tone` for the status, `variant` for the treatment. An outline alert still\n * has a tone, and folding the two into one attribute would mean\n * tone=\"outline\", which says nothing about what the alert is telling you.\n *\n * THE LEADING ICON. bd-circle-info-icon, the glyph the design asked for. It\n * was a bd-missing-icon placeholder from the day this component was built --\n * a visible dashed box that check:icons reported as owed -- which is the\n * recorded process for an icon we need and have not drawn: no font glyph, no\n * inline path, no silent omission. The artwork arrived from Eclipse and the\n * placeholder is gone. Pass your own through the icon slot to override it.\n */\n@defineElement('bd-alert')\nexport class BdAlert extends LitElement {\n static styles = [alertCSS];\n\n /** info | success | warning | error | neutral */\n @property({ type: String, reflect: true })\n tone: Tone = 'info';\n /** tint (default) | outline */\n @property({ type: String, reflect: true })\n variant: Variant = 'tint';\n @property({ type: String })\n heading = '';\n @property({ type: Boolean, reflect: true })\n dismissible = false;\n /** The dismiss button's accessible name, overridable per context. */\n @property({ type: String })\n dismisslabel = 'Dismiss alert';\n @state()\n _hasActions = false;\n\n /* The actions row is only rendered when something is slotted into it, so an\n alert without actions does not carry an empty row and the gap above it.\n Read from the slot rather than from a querySelector at render time, so it\n stays right when a consumer adds or removes actions later. */\n /* A tone outside the five -- brand, or a typo -- drew info's tint while the\n host still said otherwise; it is info now, and says so. */\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has('tone') && !isOneOf(TONES, this.tone)) this.tone = 'info';\n if (changed.has('variant') && !isOneOf(VARIANTS, this.variant)) this.variant = 'tint';\n }\n\n _onActionsSlotChange(event: Event) {\n this._hasActions = (event.target as HTMLSlotElement).assignedNodes({ flatten: true })\n .some(n => n.nodeType === Node.ELEMENT_NODE || n.textContent!.trim());\n }\n\n _onDismiss() {\n /* The element does not remove itself: what should happen to the space it\n occupied is the page's decision, not the atom's. */\n this.dispatchEvent(new CustomEvent('bd-dismiss', { bubbles: true, composed: true }));\n }\n\n render() {\n return html`\n <div class=\"alert\" role=${this.tone === 'error' ? 'alert' : 'status'}>\n <span class=\"icon\">\n <slot name=\"icon\">\n <bd-circle-info-icon size=\"lg\"></bd-circle-info-icon>\n </slot>\n </span>\n\n <div class=\"content\">\n ${this.heading ? html`<strong class=\"title\">${this.heading}</strong>` : nothing}\n <div class=\"body\"><slot></slot></div>\n <div class=\"actions\" ?hidden=${!this._hasActions}>\n <slot name=\"actions\" @slotchange=${this._onActionsSlotChange}></slot>\n </div>\n </div>\n\n ${this.dismissible\n ? html`\n <button\n class=\"dismiss\"\n type=\"button\"\n aria-label=${this.dismisslabel}\n @click=${this._onDismiss}\n >\n <bd-close-icon size=\"sm\"></bd-close-icon>\n </button>`\n : nothing}\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-alert': BdAlert;\n }\n interface HTMLElementEventMap {\n 'bd-dismiss': CustomEvent<null>;\n }\n}\n"],"mappings":"A,0bAaA,IAAME,EAAQ,CAAC,OAAQ,UAAW,UAAW,QAAS,SAAS,EAEzDC,EAAW,CAAC,OAAQ,SAAS,EA0BtBC,EAAN,cAAsBC,CAAW,C,8BAKzB,KAAA,KAAA,OAGM,KAAA,QAAA,OAET,KAAA,QAAA,GAEI,KAAA,YAAA,GAGC,KAAA,aAAA,gBAED,KAAA,YAAA,E,QAhBE,KAAA,OAAA,CAACE,CAAQ,C,CAwBzB,WAAW,EAA+B,CACpCC,EAAQ,IAAI,MAAM,GAAK,CAACC,EAAQP,EAAO,KAAK,IAAI,IAAG,KAAK,KAAO,QAC/DM,EAAQ,IAAI,SAAS,GAAK,CAACC,EAAQN,EAAU,KAAK,OAAO,IAAG,KAAK,QAAU,OACjF,CAEA,qBAAqB,EAAc,CACjC,KAAK,YAAeO,EAAM,OAA2B,cAAc,CAAE,QAAS,EAAK,CAAC,CAAC,CAClF,KAAK,GAAKC,EAAE,WAAa,KAAK,cAAgBA,EAAE,YAAa,KAAK,CAAC,CACxE,CAEA,YAAa,CAGX,KAAK,cAAc,IAAI,YAAY,aAAc,CAAE,QAAS,GAAM,SAAU,EAAK,CAAC,CAAC,CACrF,CAEA,QAAS,CACP,MAAO,EAAI;gCACiB,KAAK,OAAS,QAAU,QAAU,SAAS;;;;;;;;YAQ/D,KAAK,QAAU,CAAI,yBAAyB,KAAK,QAAQ,WAAaC,EAAQ;;yCAEjD,CAAC,KAAK,YAAY;+CACZ,KAAK,qBAAqB;;;;UAI/D,KAAK,YACH,CAAI;;;;2BAIW,KAAK,aAAa;uBACtB,KAAK,WAAW;;;uBAI3BA,EAAQ;;KAGlB,CACF,EApEGZ,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAT,EAAA,UAAA,OAAA,IAAA,EAAA,EAGxCJ,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAT,EAAA,UAAA,UAAA,IAAA,EAAA,EAExCJ,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAa,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAT,EAAA,UAAA,cAAA,IAAA,EAAA,EAGzCJ,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,eAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAc,EAAM,CAAA,EAAAV,EAAA,UAAA,cAAA,IAAA,EAAA,EAjBR,EAAAJ,EAAA,CAAAe,EAAc,UAAU,CAAA,EAAAX,CAAA,E"}
@@ -1,2 +0,0 @@
1
- import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{background:var(--color-surface-default);width:100%;top:var(--sticky-top,0);z-index:var(--z-sticky);display:block;position:sticky}@supports (container-type:scroll-state){:host{container:anchor-nav/scroll-state}@container anchor-nav scroll-state(stuck:top){nav{box-shadow:var(--shadow-sm)}}}:host(.is-sticky) nav{box-shadow:var(--shadow-sm)}nav{margin:var(--spacing-0);padding:var(--spacing-0);box-sizing:border-box;border-top:var(--border-width-1) solid var(--color-border-container);border-bottom:var(--border-width-1) solid var(--color-border-container);width:100%;display:block}.bd-anchor-nav__inner{justify-content:space-between;align-items:center;gap:var(--spacing-32);width:100%;padding-block:var(--spacing-10);box-sizing:border-box;flex-wrap:wrap;display:flex}.bd-anchor-nav__dropdown-toggle:focus-visible,.bd-anchor-nav__dropdown-option:focus-visible{outline:var(--border-width-2) solid transparent;outline-offset:var(--focus-outline-offset);box-shadow:var(--focus-outline-primary)}.anchor-links{align-items:center;column-gap:var(--spacing-32);row-gap:var(--spacing-8);flex-wrap:wrap;flex:auto;min-width:0;display:flex;position:relative}.anchor-links--desktop{display:flex}.anchor-link{color:var(--color-text-primary);font-size:var(--typography-body-regular-fontSize);font-family:var(--typography-body-regular-fontFamily);transition:color var(--transition-duration-fast) var(--transition-easing-smooth);text-decoration:none;display:inline-block;position:relative}.anchor-link::part(link){padding:var(--spacing-10) var(--spacing-0)}.anchor-link[current]{font-weight:var(--typography-fontWeight-semibold);color:var(--color-text-primary)}.anchor-indicator{left:var(--spacing-0);top:var(--spacing-0);width:100%;height:var(--indicator-underline-height);background-color:var(--indicator-color);transform-origin:0 0;transition:translate var(--indicator-underline-duration) var(--indicator-underline-easing), scale var(--indicator-underline-duration) var(--indicator-underline-easing);pointer-events:none;position:absolute;scale:0 1}.bd-anchor-nav__dropdown{flex:auto;width:100%;min-width:0;display:none;position:relative}.bd-anchor-nav__dropdown-toggle{justify-content:space-between;align-items:center;gap:var(--spacing-12);width:100%;min-height:var(--dimension-48);padding-block:var(--spacing-10);padding-inline:var(--spacing-16);box-sizing:border-box;font-family:var(--typography-fontFamily-sans);font-size:var(--typography-body-regular-fontSize);line-height:var(--typography-body-regular-lineHeight);font-weight:var(--typography-fontWeight-semibold);color:var(--color-text-primary);background:var(--color-neutral-25);border:var(--border-width-1) solid var(--color-border-default);border-radius:var(--shape-radius-lg);cursor:pointer;text-align:start;transition:background var(--transition-duration-fast) var(--transition-easing-smooth), border-color var(--transition-duration-fast) var(--transition-easing-smooth), border-radius var(--transition-duration-fast) var(--transition-easing-smooth);display:flex}.bd-anchor-nav__dropdown-toggle:hover{background:var(--color-surface-subtle);border-color:var(--color-action-primary-hover)}.bd-anchor-nav__dropdown-toggle[aria-expanded=true]{background:var(--color-surface-subtle);border-color:var(--color-brand-200)}.bd-anchor-nav__dropdown-label{text-overflow:ellipsis;white-space:nowrap;transform-origin:0;flex:auto;min-width:0;overflow:hidden}.bd-anchor-nav__dropdown-chevron{color:var(--color-text-muted);transition:transform var(--transition-duration-normal) var(--transition-easing-smooth);flex:none;display:flex}.bd-anchor-nav__dropdown-toggle[aria-expanded=true] .bd-anchor-nav__dropdown-chevron{color:var(--color-text-brand);transform:rotate(180deg)}.bd-anchor-nav__dropdown-panel{left:var(--spacing-0);right:var(--spacing-0);z-index:var(--z-overlay);background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-brand-200);border-radius:var(--radius-none) var(--radius-none) var(--shape-radius-lg) var(--shape-radius-lg);max-height:min(50dvh,20rem);box-shadow:var(--shadow-md);border-top:none;position:absolute;top:100%;overflow-y:auto}@supports (anchor-name:--a){.bd-anchor-nav__dropdown-toggle{anchor-name:--bd-anchor-nav-toggle}.bd-anchor-nav__dropdown-panel[popover]{position-anchor:--bd-anchor-nav-toggle;inset:auto;top:anchor(bottom);left:anchor(left);width:anchor-size(width);box-sizing:border-box;margin:var(--spacing-0);padding:var(--spacing-0);color:inherit}}.bd-anchor-nav__dropdown-list{margin:var(--spacing-0);padding:var(--spacing-8);gap:var(--spacing-2);flex-direction:column;list-style:none;display:flex}.bd-anchor-nav__dropdown-option{width:100%;min-height:var(--dimension-48);padding-block:var(--spacing-12);padding-inline:var(--spacing-16);box-sizing:border-box;font-family:var(--typography-fontFamily-sans);font-size:var(--typography-body-regular-fontSize);line-height:var(--typography-body-regular-lineHeight);color:var(--color-text-brand);border-radius:var(--shape-radius-md);cursor:pointer;text-align:start;transition:color var(--transition-duration-fast) var(--transition-easing-smooth), background var(--transition-duration-fast) var(--transition-easing-smooth);background:0 0;border:none;align-items:center;text-decoration:none;display:flex}.bd-anchor-nav__dropdown-option:hover:not([aria-current]){color:var(--color-action-primary-active);background:var(--color-neutral-25)}.bd-anchor-nav__dropdown-option[aria-current]{font-weight:var(--typography-fontWeight-bold);background:var(--color-brand-50);color:var(--color-text-primary)}.bd-anchor-nav__dropdown-option[aria-current]:hover{color:var(--color-text-primary);background:var(--color-brand-50)}::slotted([slot=cta]){flex-shrink:0}.bd-anchor-nav__dropdown-option:after{display:none}@media (forced-colors:active){.anchor-indicator{forced-color-adjust:none;background-color:highlight}.bd-anchor-nav__dropdown-option[aria-current],.bd-anchor-nav__dropdown-option[aria-current]:hover{forced-color-adjust:none;color:highlighttext;background:highlight}}@keyframes bd-anchor-nav-dropdown-label-swap{0%{opacity:.35;transform:translateY(var(--spacing-4))}to{opacity:1;transform:translateY(var(--spacing-0))}}@media (prefers-reduced-motion:reduce){.anchor-indicator,.bd-anchor-nav__dropdown-chevron,.bd-cta,.bd-anchor-nav__dropdown-label--swap{transition:none!important;animation:none!important}.anchor-link,.bd-anchor-nav__dropdown-chevron,.bd-anchor-nav__dropdown-option{transition:none!important}}@media (width<768px){.bd-anchor-nav__inner{align-items:stretch;gap:var(--spacing-16);flex-direction:column}.anchor-links--desktop{display:none!important}.bd-anchor-nav__dropdown{display:block}.bd-anchor-nav__dropdown-label.bd-anchor-nav__dropdown-label--swap{animation:bd-anchor-nav-dropdown-label-swap var(--transition-duration-normal) var(--transition-easing-smooth)}.bd-cta{opacity:0;visibility:hidden;transform:translateY(calc(-1 * var(--spacing-8)));pointer-events:none;margin-top:calc(-1 * var(--spacing-16));transition:grid-template-rows var(--transition-duration-slow) var(--transition-easing-ease-out), opacity var(--transition-duration-normal) var(--transition-easing-smooth), transform var(--transition-duration-normal) var(--transition-easing-smooth), margin-top var(--transition-duration-normal) var(--transition-easing-smooth), visibility var(--transition-duration-slow);grid-template-rows:0fr;align-self:stretch;display:grid}.bd-cta__inner{min-height:0;padding:var(--spacing-4);margin:calc(-1 * var(--spacing-4));overflow:hidden}.bd-anchor-nav__inner[data-mobile-cta-visible] .bd-cta{opacity:1;visibility:visible;transform:translateY(var(--spacing-0));pointer-events:auto;margin-top:var(--spacing-0);grid-template-rows:1fr}::slotted([slot=cta]){--bd-button-width:100%}}`;export{t as anchorNavStyles};
2
- //# sourceMappingURL=anchor-nav.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"anchor-nav.css.js","names":["anchorNavStyles"],"sources":["../../../../src/components/anchor/anchor-nav.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport const anchorNavStyles = css`\n :host {\n display: block;\n width: 100%;\n background: var(--color-surface-default);\n position: sticky;\n top: var(--sticky-top, 0);\n z-index: var(--z-sticky);\n }\n\n /* The shadow the bar casts while stuck. A scroll-state container query\n reads the stuck state where the browser has one; elsewhere anchor-nav.ts\n sets .is-sticky. */\n @supports (container-type: scroll-state) {\n :host {\n container: anchor-nav / scroll-state;\n }\n\n @container anchor-nav scroll-state(stuck: top) {\n nav {\n box-shadow: var(--shadow-sm);\n }\n }\n }\n\n :host(.is-sticky) nav {\n box-shadow: var(--shadow-sm);\n }\n\n nav {\n display: block;\n margin: var(--spacing-0);\n padding: var(--spacing-0);\n width: 100%;\n box-sizing: border-box;\n border-top: var(--border-width-1) solid var(--color-border-container);\n border-bottom: var(--border-width-1) solid var(--color-border-container);\n }\n\n .bd-anchor-nav__inner {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n align-items: center;\n gap: var(--spacing-32);\n width: 100%;\n padding-block: var(--spacing-10);\n box-sizing: border-box;\n }\n\n /* No .anchor-link:focus-visible. .anchor-link is the class this component\n puts on a bd-link HOST, and the focusable anchor lives inside bd-link's own\n shadow root -- a host without delegatesFocus matches :focus and\n :focus-within when focus is inside it, and never :focus-visible. Measured\n with a real keyboard Tab at 1440: 4 .anchor-link hosts, 1 matching :focus,\n 0 matching :focus-visible, box-shadow none on all four. bd-link carries the\n one ring and the links get it; the two selectors left here are a real\n button and a real anchor in this shadow root. */\n .bd-anchor-nav__dropdown-toggle:focus-visible,\n .bd-anchor-nav__dropdown-option:focus-visible {\n /* the one focus ring — see Foundations/Focus */\n /* forced-colors mode does not paint box-shadow, so the ring\n vanishes there; it does paint an outline, in a system colour. This one\n is transparent everywhere else, and the offset lands it on the ring's\n outer band. */\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n box-shadow: var(--focus-outline-primary);\n /* No border-radius here, for the reason back.css.ts records: the ring is a\n box-shadow and already follows the shape of what it sits on, and both of\n these have a radius of their own -- --radius-lg on the toggle,\n --radius-md on the option. Setting --focus-outline-radius as well pulled\n the toggle's corners from 8px to 4px, and the option's from 6px to 4px,\n for as long as either was focused. That token is the default for an\n element with NO radius, which is what Foundations/Focus says. */\n }\n\n .anchor-links {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n /* Column gap and row gap say different things here, so they are spelled\n apart. The shorthand carried a --spacing-16 row gap that the next\n declaration overrode on the following line: measured row-gap 8px, so the\n 16 was never a value anyone could read off the screen. */\n column-gap: var(--spacing-32);\n row-gap: var(--spacing-8);\n flex: 1 1 auto;\n min-width: 0;\n }\n\n .anchor-links--desktop { display: flex; }\n\n .anchor-link {\n position: relative;\n text-decoration: none;\n color: var(--color-text-primary);\n /* No font-weight: body-regular, whose size this rule already asks for, is\n normal -- and the inherited weight here is 400 too, measured, so the\n declaration said nothing. .anchor-link[current] still sets its own. */\n display: inline-block;\n font-size: var(--typography-body-regular-fontSize);\n font-family: var(--typography-body-regular-fontFamily);\n transition: color var(--transition-duration-fast) var(--transition-easing-smooth);\n }\n\n /* The padding belongs to the PART, not to the host.\n\n A host's padding does not extend the anchor inside it, so this rule used\n to build a 44px-tall row around a 24px-tall target: measured 63x44 on the\n host with a 63x24 <a> inside it, and elementsFromPoint 4px below the top\n edge came back bd-anchor-nav > bd-root (the former Storybook wrapper) > div with no <a> in the stack at\n all. The top and bottom 10px of every item were dead, 45% of the height a\n reader aims at.\n\n It is also why the focus ring wrapped the glyphs rather than the item: the\n ring is drawn on whatever element is focusable, and that was the 24px\n anchor. One boundary, two symptoms.\n\n bd-breadcrumb already fixed exactly this by moving its padding onto\n ::part(link) -- its comment records a 343x40 row whose focusable anchor\n was 43x24 -- and this is the same move. Layout is unchanged: the host has\n no padding now but wraps an anchor that does, so it still measures 44px\n and the indicator's offset still lands on the bar's bottom edge. */\n .anchor-link::part(link) {\n padding: var(--spacing-10) var(--spacing-0);\n }\n\n /* [current] is the bd-link attribute that becomes aria-current on its <a>,\n so the item is drawn current exactly when it is announced so. */\n .anchor-link[current] {\n /* no role: the active item in the anchor nav -- a state or modifier weight, not a text-content\n type. See button.css.ts's .button--bold for the argument. */\n font-weight: var(--typography-fontWeight-semibold);\n color: var(--color-text-primary);\n }\n\n /* No underline or hover rules here. Three !important ones stood here --\n text-decoration: none on every .anchor-link, hovered or not, and\n text-primary on the hovered active one -- and all three landed on the\n bd-link host, which draws no text: the underline and the colour belong to\n the <a> in its shadow root. The no-underline attribute already keeps that\n <a> undecorated, and bd-link's current-and-hovered rule keeps the\n current item text-primary. Measured on all four Default items, at rest and hovered:\n the same colour, decoration and weight with the rules and without. */\n\n /* The offset has to equal the inner's padding-bottom, and it did not.\n\n The indicator is absolute inside the link box, and what it is aiming for\n is the bar's bottom edge -- so the distance it has to travel is exactly\n the padding the inner adds below the link. This rule said 14, which is\n bd-page-switcher's number and not this component's: the inner here pads\n 10, so the indicator overshot by 4 and rendered BELOW the nav's bottom\n border, detached from the bar it belongs to.\n\n Measured before, at 1440 with the nav 66px tall including its borders:\n link box bottom at 55, indicator occupying 66-69, nav bottom edge at 66.\n After: 62-65, sitting directly on the border.\n\n The indicator is now one element that slides between items rather than\n an ::after per link, so the offset lives in _updateIndicator(), which\n reads the inner's padding-bottom instead of a number -- the two move\n together.\n\n It spans the whole row and is placed with translate and sized with\n scale from its top-left corner, so a slide is drawn on the compositor;\n it animated top and width, which re-laid it out every frame. Scaled to\n nothing until the first placement. The anchor is the physical left\n because the offsets it is given are physical. */\n .anchor-indicator {\n position: absolute;\n left: var(--spacing-0);\n top: var(--spacing-0);\n width: 100%;\n height: var(--indicator-underline-height);\n background-color: var(--indicator-color);\n transform-origin: left top;\n scale: 0 1;\n transition:\n translate var(--indicator-underline-duration) var(--indicator-underline-easing),\n scale var(--indicator-underline-duration) var(--indicator-underline-easing);\n pointer-events: none;\n }\n\n .bd-anchor-nav__dropdown {\n display: none;\n position: relative;\n flex: 1 1 auto;\n min-width: 0;\n width: 100%;\n }\n\n .bd-anchor-nav__dropdown-toggle {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--spacing-12);\n width: 100%;\n min-height: var(--dimension-48);\n padding-block: var(--spacing-10);\n padding-inline: var(--spacing-16);\n box-sizing: border-box;\n font-family: var(--typography-fontFamily-sans);\n font-size: var(--typography-body-regular-fontSize);\n /* The leading that belongs to the size above. It was absent, so the label\n and the ellipsised text inside it were laid out on IBM Plex Sans's own\n \"normal\" metric -- a leading nobody chose, and one that stops being 1.25\n the moment the font falls back. */\n line-height: var(--typography-body-regular-lineHeight);\n /* no role: the weight of a control, not a text-content type -- see\n button.css.ts's .button--bold. Nothing in the vocabulary carries semibold\n at a body size anyway: all ten heavy-weight roles are headings or display\n steps at 2xl and up. */\n font-weight: var(--typography-fontWeight-semibold);\n color: var(--color-text-primary);\n /* no role: --color-surface-container is neutral-25 exactly, and it is the\n wrong role -- it means \"the ground of a self-contained object, a card, a\n tile, a panel\", and this is a control somebody operates. The control\n families cannot say it either: --form-input-default-backgroundColor is\n white, and this toggle deliberately sits one step off it. A ground for a\n bordered control at rest has no role, and this is its one consumer. */\n background: var(--color-neutral-25);\n /* A control edge, so it takes the role the form-field atom uses for one.\n neutral-200 is border-subtle's value, which is documented as the wrong\n role for the edge of something a person operates. */\n border: var(--border-width-1) solid var(--color-border-default);\n border-radius: var(--shape-radius-lg);\n cursor: pointer;\n text-align: start;\n transition:\n background var(--transition-duration-fast) var(--transition-easing-smooth),\n border-color var(--transition-duration-fast) var(--transition-easing-smooth),\n border-radius var(--transition-duration-fast) var(--transition-easing-smooth);\n }\n\n .bd-anchor-nav__dropdown-toggle:hover {\n background: var(--color-surface-subtle);\n /* The edge of a bordered control under the pointer, and this package\n already had an answer for it: radio.css.ts and checkbox.css.ts both take\n --color-action-primary-hover for exactly this job, four declarations\n across two atoms. This rule was the only one on a primitive.\n .\n Measured against this toggle's own hover ground (--color-surface-subtle):\n neutral-500 was 4.17:1 and blue-600 is 5.51:1, so the adoption improves\n the edge rather than trading contrast for consistency. The visible change\n is that the hover edge goes from grey to blue, which is what radio and\n checkbox already do.\n .\n Note the token is an ACTION role rather than a --color-border-* one. That\n is deliberate and is how the two atoms use it too: an interaction state\n is the job, and the border roles describe permanence -- default, subtle,\n strong -- not what a control does under a pointer. */\n border-color: var(--color-action-primary-hover);\n }\n\n .bd-anchor-nav__dropdown-toggle[aria-expanded=\"true\"] {\n background: var(--color-surface-subtle);\n /* no role: the edge while the panel is open. No border role sits at\n blue-200 -- only --status-brand-border and --status-info-border, and an\n open disclosure is neither a brand nor an information STATUS. The nearest\n control token is --form-input-focus-borderColor, which is blue-500 and\n means focused rather than expanded; the two states are independent here,\n since the toggle can be focused and closed. Expanded has no vocabulary\n in either control family. */\n border-color: var(--color-brand-200);\n }\n\n .bd-anchor-nav__dropdown-label {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n transform-origin: left center;\n }\n\n /* The mark inside is bd-arrow-down-icon, the same atom bd-custom-dropdown's\n caret and the accordion's toggle use. It was an inline stroked svg written\n into the template -- stroke-width 2 with round caps, so a visibly different\n chevron from the filled one the rest of the package draws, and invisible to\n check:icons. This span keeps the colour and the rotation; the icon reads\n currentColor from it, which is what every icon site here does. */\n .bd-anchor-nav__dropdown-chevron {\n flex: 0 0 auto;\n display: flex;\n color: var(--color-text-muted);\n transition: transform var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n .bd-anchor-nav__dropdown-toggle[aria-expanded=\"true\"] .bd-anchor-nav__dropdown-chevron {\n transform: rotate(180deg);\n /* The brand ink, matching the resting state three rules up, which already reads\n --color-text-muted. A chevron is a currentColor glyph, so it takes the ink role\n of its context -- the answer ten other icon sites in this package already give.\n Visible: 4.05:1 -> 5.51:1 on the toggle's grey tint. */\n color: var(--color-text-brand);\n }\n\n .bd-anchor-nav__dropdown-panel {\n position: absolute;\n left: var(--spacing-0);\n right: var(--spacing-0);\n top: 100%;\n z-index: var(--z-overlay);\n max-height: min(50dvh, 20rem);\n overflow-y: auto;\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-brand-200);\n border-top: none;\n border-radius: var(--radius-none) var(--radius-none) var(--shape-radius-lg) var(--shape-radius-lg);\n box-shadow: var(--shadow-md);\n }\n\n /* Where popover and anchor positioning both exist, anchor-nav.ts makes the\n panel a popover: the top layer replaces the z-index above, and light\n dismiss replaces the document listeners. In the top layer the panel is\n no longer inside the dropdown's box, so it is tied to the toggle instead,\n at the place the absolute rule above puts it: under the toggle, as wide\n as it. The rest undoes the popover's UA styles -- centred, fit-content,\n padded, CanvasText. */\n @supports (anchor-name: --a) {\n .bd-anchor-nav__dropdown-toggle {\n anchor-name: --bd-anchor-nav-toggle;\n }\n\n .bd-anchor-nav__dropdown-panel[popover] {\n position-anchor: --bd-anchor-nav-toggle;\n inset: auto;\n top: anchor(bottom);\n left: anchor(left);\n width: anchor-size(width);\n box-sizing: border-box;\n margin: var(--spacing-0);\n padding: var(--spacing-0);\n color: inherit;\n }\n }\n\n .bd-anchor-nav__dropdown-list {\n list-style: none;\n margin: var(--spacing-0);\n padding: var(--spacing-8);\n display: flex;\n flex-direction: column;\n gap: var(--spacing-2);\n }\n\n .bd-anchor-nav__dropdown-option {\n display: flex;\n align-items: center;\n width: 100%;\n text-decoration: none;\n min-height: var(--dimension-48);\n padding-block: var(--spacing-12);\n padding-inline: var(--spacing-16);\n box-sizing: border-box;\n font-family: var(--typography-fontFamily-sans);\n font-size: var(--typography-body-regular-fontSize);\n /* As the toggle above: the size named its role and the leading did not\n follow it. This one can wrap -- a long section title in a narrow\n dropdown -- and CLAUDE.md asks for at least 1.25 on anything that can. */\n line-height: var(--typography-body-regular-lineHeight);\n /* No font-weight: as .anchor-link above -- body-regular is normal and so is\n the inherited value. The current option sets its own. */\n /* text/brand, the same resting ink the desktop items take. This is the\n same component below md showing the same items, so it expresses the same\n meaning: colour is AVAILABLE and neutral is current. It read\n text/primary here, which made the current option the only blue one --\n the inverse of the family, and the arrangement the desktop bar was just\n moved off. */\n color: var(--color-text-brand);\n background: transparent;\n border: none;\n border-radius: var(--shape-radius-md);\n cursor: pointer;\n text-align: start;\n transition:\n color var(--transition-duration-fast) var(--transition-easing-smooth),\n background var(--transition-duration-fast) var(--transition-easing-smooth);\n }\n\n /* Hover on a dropdown option is the action responsibility, and it is now the\n same step the desktop items hover to -- action/primary-active rather than\n -hover, so brand darkens the same way in both presentations. blue-700 on\n the --color-neutral-25 this hover sets measures 8.19:1; the blue-500 that\n stood here before either role measured 4.34 and failed. The background is\n the dropdown's own affordance and is not part of the ink contract. */\n .bd-anchor-nav__dropdown-option:hover:not([aria-current]) {\n color: var(--color-action-primary-active);\n background: var(--color-neutral-25);\n }\n\n /* The current option, in the family's terms: neutral ink at the weight the\n other two use for the same job, and the blue-50 fill is this presentation's\n indicator -- a dropdown row has no bottom edge to underline, so the fill\n carries what the 3px line carries on the bars.\n\n It used to be action/primary-active, which was defensible on its own\n terms -- an option with aria-current, a click handler and a tinted fill is\n an interactive element in an engaged state -- but it made the current item\n the bluest thing in the list while every other item was neutral. Under one\n contract for the whole family that reading is inverted: colour marks what\n you can go to, neutral marks where you are.\n\n Read off the option's aria-current, not a class kept beside it, so the\n look and the announcement are one attribute. */\n .bd-anchor-nav__dropdown-option[aria-current] {\n /* no role: the weight that marks the current option -- a state or modifier\n weight, not a text-content type. 700, the same as bd-link's current\n link and bd-tab-list's selected tab. */\n font-weight: var(--typography-fontWeight-bold);\n background: var(--color-brand-50);\n color: var(--color-text-primary);\n }\n\n /* The current option does not move under the pointer, as on the bars. */\n .bd-anchor-nav__dropdown-option[aria-current]:hover {\n color: var(--color-text-primary);\n background: var(--color-brand-50);\n }\n\n ::slotted([slot=\"cta\"]) {\n flex-shrink: 0;\n }\n\n /* The .bd-anchor-nav__cta rules stood here: a base rule, hover, active,\n focus-visible, an ::after reset and a full-width rule below md. The class\n appears nowhere but this stylesheet -- not in anchor-nav.ts, not in a story\n -- because the CTA became a slot, and ::slotted([slot=\"cta\"]) one rule up\n is what styles it now. Measured across 556 stories: 0 matches in 14 shadow\n roots. */\n .bd-anchor-nav__dropdown-option::after {\n display: none;\n }\n\n /* Forced colours repaint backgrounds as Canvas, which took the sliding\n indicator and the current option's fill with them. Both opt out into\n Highlight, as bd-tab-list's and bd-page-switcher's indicators do; the\n option takes HighlightText on it. */\n @media (forced-colors: active) {\n .anchor-indicator {\n forced-color-adjust: none;\n background-color: Highlight;\n }\n\n .bd-anchor-nav__dropdown-option[aria-current],\n .bd-anchor-nav__dropdown-option[aria-current]:hover {\n forced-color-adjust: none;\n background: Highlight;\n color: HighlightText;\n }\n }\n\n @keyframes bd-anchor-nav-dropdown-label-swap {\n from { opacity: 0.35; transform: translateY(var(--spacing-4)); }\n to { opacity: 1; transform: translateY(var(--spacing-0)); }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .anchor-indicator,\n .bd-anchor-nav__dropdown-chevron,\n .bd-cta,\n .bd-anchor-nav__dropdown-label--swap {\n transition: none !important;\n animation: none !important;\n }\n\n /* The underline grows via a transition, not an animation, so the rule\n above never reached it. Same for the chevron and the option hover. */\n .anchor-link,\n .bd-anchor-nav__dropdown-chevron,\n .bd-anchor-nav__dropdown-option {\n transition: none !important;\n }\n }\n\n @media ${unsafeCSS(below('md'))} {\n .bd-anchor-nav__inner {\n flex-direction: column;\n align-items: stretch;\n gap: var(--spacing-16);\n }\n\n .anchor-links--desktop { display: none !important; }\n\n .bd-anchor-nav__dropdown { display: block; }\n\n .bd-anchor-nav__dropdown-label.bd-anchor-nav__dropdown-label--swap {\n animation: bd-anchor-nav-dropdown-label-swap var(--transition-duration-normal)\n var(--transition-easing-smooth);\n }\n\n /* The CTA opens below the dropdown once the first section is behind the\n reader. Its row grows from 0fr to 1fr: a grid track interpolates to the\n content's own height, where the max-height that stood here had to\n guess one -- 128px, which clipped a CTA whose label wraps at a large\n text size. visibility follows, so a closed CTA is out of the tab order\n as well as out of sight. */\n .bd-cta {\n align-self: stretch;\n display: grid;\n grid-template-rows: 0fr;\n opacity: 0;\n visibility: hidden;\n transform: translateY(calc(-1 * var(--spacing-8)));\n pointer-events: none;\n margin-top: calc(-1 * var(--spacing-16));\n transition:\n grid-template-rows var(--transition-duration-slow) var(--transition-easing-ease-out),\n opacity var(--transition-duration-normal) var(--transition-easing-smooth),\n transform var(--transition-duration-normal) var(--transition-easing-smooth),\n margin-top var(--transition-duration-normal) var(--transition-easing-smooth),\n visibility var(--transition-duration-slow);\n }\n\n /* The clip the row needs while it grows, held off the CTA by the width of\n its focus ring -- an outline 2px out at a 2px offset -- so the ring is\n not cut off: the old clip sat on the CTA's own edge and cut it on all\n four sides. Padding and margin cancel, so nothing moves. */\n .bd-cta__inner {\n min-height: 0;\n overflow: hidden;\n padding: var(--spacing-4);\n margin: calc(-1 * var(--spacing-4));\n }\n\n .bd-anchor-nav__inner[data-mobile-cta-visible] .bd-cta {\n grid-template-rows: 1fr;\n opacity: 1;\n visibility: visible;\n transform: translateY(var(--spacing-0));\n pointer-events: auto;\n margin-top: var(--spacing-0);\n }\n\n /* Full width on a phone, through bd-button's width hook. This was a\n resize listener writing fullwidth on the page's own element. */\n ::slotted([slot=\"cta\"]) {\n --bd-button-width: 100%;\n }\n\n }\n`;"],"mappings":"A,4DAGA,IAAaA,EAAkB,CAAG,6jP"}
@@ -1,67 +0,0 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{matchesBelow as t}from"../shared/token-scales.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{ensembleCSS as r}from"../shared/ensemble.css.js";import"../icons/arrow-down-icon.js";import"../button/button.js";import{anchorNavStyles as i}from"./anchor-nav.css.js";import{ObserverController as a}from"../shared/controller.observer.js";import"../link/link.js";import{LitElement as o,html as s,nothing as c}from"lit";import{property as l,state as u}from"lit/decorators.js";function d(e){let t=(e||``).trim();if(!t)return 0;if(t.endsWith(`px`))return parseFloat(t);if(t.endsWith(`rem`)){let e=parseFloat(getComputedStyle(document.documentElement).fontSize)||16;return parseFloat(t)*e}return parseFloat(t)||0}var f=(e,t)=>(e||``).replace(/^#/,``)||`anchor-${t}-section`,p=`10000%`,m=`popover`in HTMLElement.prototype&&CSS.supports(`anchor-name: --a`),h=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`})}connectedCallback(){this.render()}render(){this.shadowRoot.innerHTML=`<slot></slot>`}};h=n([e(`bd-anchor-nav-item`)],h);var g=class extends o{static{this.styles=[r,i]}constructor(){super(),this.activeId=``,this.navLabel=`Section navigation`,this._dropdownOpen=!1,this._mobileCtaRevealed=!1,this.ctaLabel=`Buy now`,this.ctaHref=``,this.items=null,this.maxWidth=``,this.stickyTop=`0px`,this._indicatorSize=new a(this,()=>new ResizeObserver(()=>this._updateIndicator(`ResizeObserver`)),e=>{let t=this.renderRoot.querySelector(`.anchor-links--desktop`);t&&(e.observe(t),e.observe(this))}),this._panelId=`bd-anchor-nav-panel-${Math.random().toString(36).slice(2,11)}`,this._onDocumentPointerDown=this._onDocumentPointerDown.bind(this),this._onKeydown=this._onKeydown.bind(this),this._onSectionsCrossLine=this._onSectionsCrossLine.bind(this),this._onFirstSectionCross=this._onFirstSectionCross.bind(this),this._scheduleSpy=this._scheduleSpy.bind(this),this._spyFrame=0,this._spyObserver=null,this._ctaObserver=null,this._layoutObserver=null,this._sections=[],this._spyLine=0,this._spyViewport=0,this._passed=/* @__PURE__ */ new Map,this._firstSectionBehind=!1,this._programmaticScrollTargetId=null,this._unlockScrollSpyTimer=null,this._scrollEndUnlockHandler=null,this._onStickyScroll=null,this._restoreScrollBehavior=null,this._handleResize=this._handleResize.bind(this),this._indicatorReady=!1}connectedCallback(){super.connectedCallback(),window.addEventListener(`resize`,this._handleResize),m||(document.addEventListener(`pointerdown`,this._onDocumentPointerDown,!0),document.addEventListener(`keydown`,this._onKeydown,!0)),this._initSticky(),this._layoutObserver=new ResizeObserver(this._scheduleSpy),this._layoutObserver.observe(this),this._layoutObserver.observe(document.documentElement)}disconnectedCallback(){super.disconnectedCallback(),this._cancelScrollSpyUnlock(),this._restoreScrollBehavior?.(),window.removeEventListener(`resize`,this._handleResize),document.removeEventListener(`pointerdown`,this._onDocumentPointerDown,!0),document.removeEventListener(`keydown`,this._onKeydown,!0),this._destroySticky(),this._unobserveSections()}willUpdate(e){super.willUpdate(e),!this.hasUpdated&&!this.activeId&&this._resolvedItems().length&&(this.activeId=`anchor-1`)}updated(e){if(super.updated(e),e.has(`stickyTop`)&&this.style.setProperty(`--sticky-top`,this.stickyTop||`0px`),(e.has(`stickyTop`)||e.has(`items`))&&this._scheduleSpy(),(e.has(`activeId`)||e.has(`items`))&&requestAnimationFrame(()=>this._updateIndicator(`updated`)),!e.has(`activeId`))return;let t=e.get(`activeId`);t!==void 0&&t!==``&&t!==this.activeId&&queueMicrotask(()=>this._playMobileDropdownLabelSwap())}firstUpdated(){requestAnimationFrame(()=>this._updateIndicator(`firstUpdated`))}_updateIndicator(e){let t=this.renderRoot?.querySelector(`.anchor-indicator`),n=this.renderRoot?.querySelector(`.anchor-links--desktop .anchor-link[current]`);if(!t||!n)return;let r=t.offsetWidth,i=r?n.offsetWidth/r:0,a=this.renderRoot.querySelector(`.bd-anchor-nav__inner`),o=a&&parseFloat(getComputedStyle(a).paddingBottom)||0,s=n.offsetTop+n.offsetHeight+o,c=()=>{t.style.translate=`${n.offsetLeft}px ${s}px`,t.style.scale=`${i} 1`};this._indicatorReady?c():(t.style.transition=`none`,c(),t.offsetWidth,t.style.transition=``,this._indicatorReady=!0)}_handleResize(){this._updateIndicator(`windowResize`),this._scheduleSpy()}_initSticky(){this.style.setProperty(`--sticky-top`,this.stickyTop||`0px`),!CSS.supports(`container-type: scroll-state`)&&(this._onStickyScroll=()=>{let e=parseFloat(getComputedStyle(this).top)||0,t=Math.abs(this.getBoundingClientRect().top-e)<1;this.classList.toggle(`is-sticky`,t&&window.scrollY>0)},window.addEventListener(`scroll`,this._onStickyScroll,{passive:!0}),window.addEventListener(`resize`,this._onStickyScroll,{passive:!0}),requestAnimationFrame(()=>this._onStickyScroll?.()))}_destroySticky(){this._onStickyScroll&&=(window.removeEventListener(`scroll`,this._onStickyScroll),window.removeEventListener(`resize`,this._onStickyScroll),null),this.classList.remove(`is-sticky`)}_cancelScrollSpyUnlock(){this._unlockScrollSpyTimer!=null&&(clearTimeout(this._unlockScrollSpyTimer),this._unlockScrollSpyTimer=null),this._scrollEndUnlockHandler&&=(window.removeEventListener(`scrollend`,this._scrollEndUnlockHandler),null)}_scheduleScrollSpyUnlock(){this._cancelScrollSpyUnlock();let e=()=>{this._cancelScrollSpyUnlock(),this._restoreScrollBehavior?.(),this._programmaticScrollTargetId=null,this._runScrollSpy()};this._scrollEndUnlockHandler=e,window.addEventListener(`scrollend`,e,{passive:!0});let t=window.scrollY,n=()=>{if(window.scrollY===t)return e();t=window.scrollY,this._unlockScrollSpyTimer=window.setTimeout(n,250)};this._unlockScrollSpyTimer=window.setTimeout(n,250)}_onKeydown(e){e.key===`Escape`&&this._dropdownOpen&&(this._dropdownOpen=!1,this.requestUpdate(),this.updateComplete.then(()=>this.renderRoot?.querySelector(`.bd-anchor-nav__dropdown-toggle`)?.focus()))}_onDocumentPointerDown(e){this._dropdownOpen&&(e.composedPath().includes(this)||(this._dropdownOpen=!1,this.requestUpdate()))}_scheduleSpy(){this._spyFrame||=requestAnimationFrame(()=>{this._spyFrame=0,this._observeSections()})}_observeSections(){let e=this._resolvedItems().map(({href:e},t)=>document.getElementById(f(e,t+1))),t=this._stickyOffsetPx(),n=t+2,r=document.documentElement.clientHeight;if(n===this._spyLine&&r===this._spyViewport&&e.length===this._sections.length&&e.every((e,t)=>e===this._sections[t]))return;for(let t of this._sections)t&&!e.includes(t)&&t.style.removeProperty(`scroll-margin-top`);for(let n of e)n?.style.setProperty(`scroll-margin-top`,`${t}px`);this._spyObserver?.disconnect(),this._ctaObserver?.disconnect(),this._spyObserver=this._ctaObserver=null,e[0]!==this._sections[0]&&(this._firstSectionBehind=!1),this._passed=new Map(e.filter(e=>this._passed.has(e)).map(e=>[e,this._passed.get(e)])),this._sections=e,this._spyLine=n,this._spyViewport=r;let i=e.filter(Boolean);i.length&&(this._spyObserver=new IntersectionObserver(this._onSectionsCrossLine,{root:document,rootMargin:`${p} 0px ${n-r}px 0px`}),i.forEach(e=>this._spyObserver.observe(e))),e[0]&&(this._ctaObserver=new IntersectionObserver(this._onFirstSectionCross,{root:document,rootMargin:`0px 0px ${p} 0px`}),this._ctaObserver.observe(e[0])),this._runScrollSpy()}_unobserveSections(){cancelAnimationFrame(this._spyFrame),this._spyFrame=0,this._layoutObserver?.disconnect(),this._spyObserver?.disconnect(),this._ctaObserver?.disconnect(),this._layoutObserver=this._spyObserver=this._ctaObserver=null;for(let e of this._sections)e?.style.removeProperty(`scroll-margin-top`);this._sections=[],this._passed=/* @__PURE__ */ new Map}_onSectionsCrossLine(e){for(let{target:t,isIntersecting:n,boundingClientRect:r,rootBounds:i}of e)this._passed.set(t,n||r.bottom<i.top);this._runScrollSpy()}_onFirstSectionCross(e){let{boundingClientRect:t,rootBounds:n}=e[e.length-1];this._firstSectionBehind=t.bottom<=n.top,this._runScrollSpy()}_resolvedItems(){return this.items&&this.items.length?this.items.map((e,t)=>({title:e.title,href:e.href||`#anchor-${t+1}-section`,id:`anchor-${t+1}`})):Array.from(this.children).filter(e=>e.tagName===`BD-ANCHOR-NAV-ITEM`).map((e,t)=>({title:e.getAttribute(`title`),href:e.getAttribute(`href`)||`#anchor-${t+1}-section`,id:`anchor-${t+1}`}))}_runScrollSpy(){let e=this.activeId;this._sections.length&&!this._programmaticScrollTargetId&&(e=`anchor-1`,this._sections.forEach((t,n)=>{t&&this._passed.get(t)&&(e=`anchor-${n+1}`)})),this.activeId=e,this._mobileCtaRevealed=!this._sections[0]||this._firstSectionBehind}_playMobileDropdownLabelSwap(){if(typeof window>`u`||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches||!t(`md`))return;let e=this.renderRoot?.querySelector(`.bd-anchor-nav__dropdown-label`);e&&(e.classList.remove(`bd-anchor-nav__dropdown-label--swap`),e.offsetWidth,e.classList.add(`bd-anchor-nav__dropdown-label--swap`),e.addEventListener(`animationend`,()=>e.classList.remove(`bd-anchor-nav__dropdown-label--swap`),{once:!0}))}_stickyOffsetPx(){let e=this.offsetHeight,t=parseFloat(getComputedStyle(this).top)||0,n=d(getComputedStyle(this).getPropertyValue(`--spacing-8`).trim())||8;return e>0?e+n+t:d(getComputedStyle(this).getPropertyValue(`--spacing-128`).trim())||128}handleClick(e,t,n){if(e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;this._cancelScrollSpyUnlock(),this._programmaticScrollTargetId=null,this.activeId=t;let r=f(n,t.replace(/^anchor-/,``));document.getElementById(r)&&(this._programmaticScrollTargetId=t,this._smoothFragmentScroll(),this._scheduleScrollSpyUnlock())}_smoothFragmentScroll(){if(this._restoreScrollBehavior||!window.matchMedia(`(prefers-reduced-motion: no-preference)`).matches)return;let e=document.documentElement,t=e.style.scrollBehavior;e.style.scrollBehavior=`smooth`,this._restoreScrollBehavior=()=>{e.style.scrollBehavior=t,this._restoreScrollBehavior=null}}_toggleDropdown(e){m||(e.preventDefault(),e.stopPropagation(),this._dropdownOpen=!this._dropdownOpen)}_onPanelToggle(e){this._dropdownOpen=e.newState===`open`}_selectFromDropdown(e,t,n){if(m){let e=this.renderRoot.querySelector(`.bd-anchor-nav__dropdown-panel`);e?.matches(`:popover-open`)&&e.hidePopover()}else this._dropdownOpen=!1;this.handleClick(e,t,n)}_activeLabel(e){let t=/^anchor-(\d+)$/.exec(this.activeId||``),n=t?parseInt(t[1],10):1;return e[Math.min(Math.max(n-1,0),Math.max(0,e.length-1))]?.title||e[0]?.title||`Section`}render(){let e=this._resolvedItems(),t=this._activeLabel(e),n=t=>s`
2
- <div class="${t}">
3
- ${e.map(({id:e,title:t,href:n})=>{let r=this.activeId===e;return s`
4
- <bd-link
5
- href="${n}"
6
- variant="primary"
7
- no-underline
8
- class="anchor-link"
9
- current=${r?`location`:c}
10
- @click=${t=>this.handleClick(t,e,n)}
11
- >${t}</bd-link>
12
- `})}
13
- <span class="anchor-indicator" aria-hidden="true"></span>
14
- </div>
15
- `,r=this.maxWidth?`max-width: ${this.maxWidth};`:``;return s`
16
- <nav aria-label=${this.navLabel}>
17
- <div
18
- class="bd-ensemble bd-anchor-nav__inner"
19
- part="inner"
20
- style="${r}"
21
- ?data-mobile-cta-visible=${this._mobileCtaRevealed}
22
- >
23
- ${n(`anchor-links anchor-links--desktop`)}
24
-
25
- <div class="bd-anchor-nav__dropdown" part="dropdown">
26
- <button
27
- type="button"
28
- class="bd-anchor-nav__dropdown-toggle"
29
- aria-expanded=${this._dropdownOpen?`true`:`false`}
30
- aria-controls=${this._panelId}
31
- popovertarget=${m?this._panelId:c}
32
- @click=${this._toggleDropdown}
33
- >
34
- <span class="bd-anchor-nav__dropdown-label">${t}</span>
35
- <span class="bd-anchor-nav__dropdown-chevron" aria-hidden="true">
36
- <bd-arrow-down-icon size="md"></bd-arrow-down-icon>
37
- </span>
38
- </button>
39
- <div
40
- class="bd-anchor-nav__dropdown-panel"
41
- id=${this._panelId}
42
- popover=${m?`auto`:c}
43
- ?hidden=${!m&&!this._dropdownOpen}
44
- @toggle=${this._onPanelToggle}
45
- >
46
- <ul class="bd-anchor-nav__dropdown-list">
47
- ${e.map(({id:e,title:t,href:n})=>{let r=this.activeId===e;return s`
48
- <li>
49
- <a
50
- href="${n}"
51
- class="bd-anchor-nav__dropdown-option"
52
- aria-current=${r?`location`:c}
53
- @click=${t=>this._selectFromDropdown(t,e,n)}
54
- >${t}</a>
55
- </li>
56
- `})}
57
- </ul>
58
- </div>
59
- </div>
60
-
61
- <div class="bd-cta">
62
- <div class="bd-cta__inner"><slot name="cta"></slot></div>
63
- </div>
64
- </div>
65
- </nav>
66
- `}};n([u()],g.prototype,`activeId`,void 0),n([l({type:String,attribute:`aria-label`})],g.prototype,`navLabel`,void 0),n([u()],g.prototype,`_dropdownOpen`,void 0),n([u()],g.prototype,`_mobileCtaRevealed`,void 0),n([l({type:String,attribute:`cta-label`})],g.prototype,`ctaLabel`,void 0),n([l({type:String,attribute:`cta-href`})],g.prototype,`ctaHref`,void 0),n([l({type:Array})],g.prototype,`items`,void 0),n([l({type:String,attribute:`max-width`})],g.prototype,`maxWidth`,void 0),n([l({type:String,attribute:`sticky-top`})],g.prototype,`stickyTop`,void 0),g=n([e(`bd-anchor-nav`)],g);
67
- //# sourceMappingURL=anchor-nav.js.map