@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
@@ -0,0 +1,80 @@
1
+ import { LitElement } from "lit";
2
+ import { SlotController } from "../shared/controller.slot.js";
3
+ import "../../tokens/tokens.js";
4
+ import "./pricing-price.js";
5
+ import "./pricing-group.js";
6
+ import "./pricing-feature-group.js";
7
+ import "./pricing-feature.js";
8
+ import "../accordion/accordion-item.js";
9
+ import "../badge/badge.js";
10
+ import "../button/button.js";
11
+ import "../divider/divider.js";
12
+ import "../h/h.js";
13
+ import "../link/link.js";
14
+ import "../p/p.js";
15
+ type Part = "banner" | "title" | "badge" | "description" | "price" | "actions" | "";
16
+ /**
17
+ * A plan's pricing card: its name, the plan badge and a line on what it
18
+ * covers, the store's price, the Buy and Learn More buttons, and its features.
19
+ *
20
+ * <bd-product product-id="ps_i">
21
+ * <bd-option devices="5" subscription="1" data-layer-event="info">
22
+ * <bd-pricing-card highlight>
23
+ * <span slot="banner">Best value</span>
24
+ * <bd-h slot="title" as="h3">Bitdefender Premium Security</bd-h>
25
+ * <bd-badge slot="badge" variant="brand" appearance="fill">Individual</bd-badge>
26
+ * <span slot="description">1 account &amp; 5 devices</span>
27
+ * <bd-pricing-price slot="price">…</bd-pricing-price>
28
+ * <bd-button slot="actions" buy-link appearance="accent" full-width label="Buy Now, Bitdefender Premium Security">Buy Now</bd-button>
29
+ * <bd-button slot="actions" href="/premium-security" appearance="ghost" full-width label="Learn more about Bitdefender Premium Security">Learn More</bd-button>
30
+ * <bd-pricing-feature-group>…</bd-pricing-feature-group>
31
+ * </bd-pricing-card>
32
+ * </bd-option>
33
+ * </bd-product>
34
+ *
35
+ * It replaces 3.x's three cards: pricing-card and pricing-card-family, two
36
+ * copies of one card that differed in the plan badge, the line under it and
37
+ * `planType`'s default, and v2's new-pricing-card, an experiment that never
38
+ * shipped. The look is v1's, the card that did: white with an edge on the
39
+ * band bd-pricing-group draws, a green edge and the green banner over it
40
+ * when highlighted.
41
+ *
42
+ * THE STORE'S NODES ARE THE PAGE'S. v1 rendered its price zone and buttons
43
+ * into the light DOM, so the store and anything reading the page found
44
+ * them. The card's frame is a shadow root now, and everything the store
45
+ * fills is the page's own markup, slotted: the bd-pricing-price nodes with
46
+ * their data-store-* attributes and the bd-button buy-link, inside the
47
+ * bd-product and bd-option the page wraps the card in. Each node's request
48
+ * for the store's scope bubbles through the card's slot to that bd-option.
49
+ * Nothing store-bound renders in this shadow root, so the card has no
50
+ * `shadow` opt-in; nor `product-id`, `devices` or `subscription`, which are
51
+ * the page's bd-product's and bd-option's.
52
+ *
53
+ * Every part is slotted and drawn by the card: the title at 3.x's h4 size
54
+ * (heading-h4) at the level the page picks, the description at body-small,
55
+ * both in primary ink; nothing has a fallback. 3.x's English -- "Best
56
+ * value", "Individual", "1 account & 5 devices", "Buy Now", "Learn More",
57
+ * the feature lists -- is the page's, in the stories. The title is the
58
+ * page's words as written: 3.x parsed "Bitdefender" onto a line of its own
59
+ * and coloured "Plus". The buttons are named by their `label`, as 3.x
60
+ * composed it ("Buy Now, {title}", "Learn more about {title}"), and Learn
61
+ * More is a link wherever the page gives it an href.
62
+ *
63
+ * Each part's box is hidden while its slot is empty; the banner is drawn
64
+ * only with `highlight`, and the rule above the features only with features.
65
+ * A billing choice is page markup too: a bd-tab-group in `price`, one
66
+ * bd-pricing-price in each of its panels.
67
+ */
68
+ export declare class BdPricingCard extends LitElement {
69
+ static styles: import("lit").CSSResult[];
70
+ /** The highlighted plan: a green edge, and the `banner` drawn over the card's top edge. Reflected. */
71
+ highlight: boolean;
72
+ _slots: SlotController<Part>;
73
+ render(): import("lit-html").TemplateResult<1>;
74
+ }
75
+ declare global {
76
+ interface HTMLElementTagNameMap {
77
+ "bd-pricing-card": BdPricingCard;
78
+ }
79
+ }
80
+ export {};
@@ -0,0 +1,16 @@
1
+ import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../p/p.js";import{SlotController as n}from"../shared/controller.slot.js";import"../h/h.js";import"../link/link.js";import"../badge/badge.js";import"../accordion/accordion-item.js";import"../button/button.js";import"../divider/divider.js";import r from"./pricing-card.css.js";import"./pricing-price.js";import"./pricing-group.js";import"./pricing-feature.js";import"./pricing-feature-group.js";import{LitElement as i,html as a}from"lit";import{property as o}from"lit/decorators.js";var s=class extends i{constructor(...e){super(...e),this.highlight=!1,this._slots=new n(this,{slots:[`banner`,`title`,`badge`,`description`,`price`,`actions`,``]})}static{this.styles=[r]}render(){let e=e=>this._slots.has(e);return a`
2
+ <div class="card">
3
+ <div class="banner" ?hidden=${!this.highlight||!e(`banner`)}><slot name="banner"></slot></div>
4
+ <div class="header">
5
+ <div class="title" ?hidden=${!e(`title`)}><slot name="title"></slot></div>
6
+ <div class="badges" ?hidden=${!e(`badge`)}><slot name="badge"></slot></div>
7
+ <div class="description" ?hidden=${!e(`description`)}><slot name="description"></slot></div>
8
+ </div>
9
+ <bd-divider class="rule" orientation="horizontal" color="subtle" opacity="0.25"></bd-divider>
10
+ <div class="price" ?hidden=${!e(`price`)}><slot name="price"></slot></div>
11
+ <div class="actions" ?hidden=${!e(`actions`)}><slot name="actions"></slot></div>
12
+ <bd-divider class="rule" orientation="horizontal" color="subtle" opacity="0.25" ?hidden=${!e(``)}></bd-divider>
13
+ <div class="features" ?hidden=${!e(``)}><slot></slot></div>
14
+ </div>
15
+ `}};t([o({type:Boolean,reflect:!0,attribute:`highlight`})],s.prototype,`highlight`,void 0),s=t([e(`bd-pricing-card`)],s);export{s as BdPricingCard};
16
+ //# sourceMappingURL=pricing-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing-card.js","names":["pricingCardCSS","_decorate","__decorate","pricing_card_css_default","BdPricingCard","LitElement","_args","SlotController","has","part","property","defineElement"],"sources":["../../../../src/components/pricing-card/pricing-card.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\n/* ./pricing-card registers the family (N4): the card, its price zone, the\n row the cards sit in, and the feature groups and features. */\nimport \"./pricing-price.ts\";\nimport \"./pricing-group.ts\";\nimport \"./pricing-feature-group.ts\";\nimport \"./pricing-feature.ts\";\n/* The atoms the page writes into the card's slots: the title, the plan\n badge, the Buy and Learn More buttons, and the accordion item a list of\n further features goes in. 3.x's card registered bd-h, bd-badge, bd-button\n and bd-p, and a page importing only this module still gets what it\n writes. */\nimport \"#components/accordion/accordion-item.ts\";\nimport \"#components/badge/badge.ts\";\nimport \"#components/button/button.ts\";\nimport \"#components/divider/divider.ts\";\nimport \"#components/h/h.ts\";\nimport \"#components/link/link.ts\";\nimport \"#components/p/p.ts\";\nimport pricingCardCSS from \"./pricing-card.css.ts\";\n\ntype Part = \"banner\" | \"title\" | \"badge\" | \"description\" | \"price\" | \"actions\" | \"\";\n\n/**\n * A plan's pricing card: its name, the plan badge and a line on what it\n * covers, the store's price, the Buy and Learn More buttons, and its features.\n *\n * <bd-product product-id=\"ps_i\">\n * <bd-option devices=\"5\" subscription=\"1\" data-layer-event=\"info\">\n * <bd-pricing-card highlight>\n * <span slot=\"banner\">Best value</span>\n * <bd-h slot=\"title\" as=\"h3\">Bitdefender Premium Security</bd-h>\n * <bd-badge slot=\"badge\" variant=\"brand\" appearance=\"fill\">Individual</bd-badge>\n * <span slot=\"description\">1 account &amp; 5 devices</span>\n * <bd-pricing-price slot=\"price\">…</bd-pricing-price>\n * <bd-button slot=\"actions\" buy-link appearance=\"accent\" full-width label=\"Buy Now, Bitdefender Premium Security\">Buy Now</bd-button>\n * <bd-button slot=\"actions\" href=\"/premium-security\" appearance=\"ghost\" full-width label=\"Learn more about Bitdefender Premium Security\">Learn More</bd-button>\n * <bd-pricing-feature-group>…</bd-pricing-feature-group>\n * </bd-pricing-card>\n * </bd-option>\n * </bd-product>\n *\n * It replaces 3.x's three cards: pricing-card and pricing-card-family, two\n * copies of one card that differed in the plan badge, the line under it and\n * `planType`'s default, and v2's new-pricing-card, an experiment that never\n * shipped. The look is v1's, the card that did: white with an edge on the\n * band bd-pricing-group draws, a green edge and the green banner over it\n * when highlighted.\n *\n * THE STORE'S NODES ARE THE PAGE'S. v1 rendered its price zone and buttons\n * into the light DOM, so the store and anything reading the page found\n * them. The card's frame is a shadow root now, and everything the store\n * fills is the page's own markup, slotted: the bd-pricing-price nodes with\n * their data-store-* attributes and the bd-button buy-link, inside the\n * bd-product and bd-option the page wraps the card in. Each node's request\n * for the store's scope bubbles through the card's slot to that bd-option.\n * Nothing store-bound renders in this shadow root, so the card has no\n * `shadow` opt-in; nor `product-id`, `devices` or `subscription`, which are\n * the page's bd-product's and bd-option's.\n *\n * Every part is slotted and drawn by the card: the title at 3.x's h4 size\n * (heading-h4) at the level the page picks, the description at body-small,\n * both in primary ink; nothing has a fallback. 3.x's English -- \"Best\n * value\", \"Individual\", \"1 account & 5 devices\", \"Buy Now\", \"Learn More\",\n * the feature lists -- is the page's, in the stories. The title is the\n * page's words as written: 3.x parsed \"Bitdefender\" onto a line of its own\n * and coloured \"Plus\". The buttons are named by their `label`, as 3.x\n * composed it (\"Buy Now, {title}\", \"Learn more about {title}\"), and Learn\n * More is a link wherever the page gives it an href.\n *\n * Each part's box is hidden while its slot is empty; the banner is drawn\n * only with `highlight`, and the rule above the features only with features.\n * A billing choice is page markup too: a bd-tab-group in `price`, one\n * bd-pricing-price in each of its panels.\n */\n@defineElement(\"bd-pricing-card\")\nexport class BdPricingCard extends LitElement {\n static styles = [pricingCardCSS];\n\n /** The highlighted plan: a green edge, and the `banner` drawn over the card's top edge. Reflected. */\n @property({ type: Boolean, reflect: true, attribute: \"highlight\" })\n highlight = false;\n\n _slots = new SlotController<Part>(this, {\n slots: [\"banner\", \"title\", \"badge\", \"description\", \"price\", \"actions\", \"\"]\n });\n\n render() {\n const has = (part: Part) => this._slots.has(part);\n return html`\n <div class=\"card\">\n <div class=\"banner\" ?hidden=${!this.highlight || !has(\"banner\")}><slot name=\"banner\"></slot></div>\n <div class=\"header\">\n <div class=\"title\" ?hidden=${!has(\"title\")}><slot name=\"title\"></slot></div>\n <div class=\"badges\" ?hidden=${!has(\"badge\")}><slot name=\"badge\"></slot></div>\n <div class=\"description\" ?hidden=${!has(\"description\")}><slot name=\"description\"></slot></div>\n </div>\n <bd-divider class=\"rule\" orientation=\"horizontal\" color=\"subtle\" opacity=\"0.25\"></bd-divider>\n <div class=\"price\" ?hidden=${!has(\"price\")}><slot name=\"price\"></slot></div>\n <div class=\"actions\" ?hidden=${!has(\"actions\")}><slot name=\"actions\"></slot></div>\n <bd-divider class=\"rule\" orientation=\"horizontal\" color=\"subtle\" opacity=\"0.25\" ?hidden=${!has(\"\")}></bd-divider>\n <div class=\"features\" ?hidden=${!has(\"\")}><slot></slot></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-pricing-card\": BdPricingCard;\n }\n}\n"],"mappings":"A,6oBAiFO,IAAMI,EAAN,cAA4BC,CAAW,C,8BAKhC,KAAA,UAAA,GAEH,KAAA,OAAA,IAAIE,EAAqB,KAAM,CACtC,MAAO,CAAC,SAAU,QAAS,QAAS,cAAe,QAAS,UAAW,EAAE,CAC3E,CAAC,C,QARe,KAAA,OAAA,CAACP,CAAc,C,CAU/B,QAAS,CACP,IAAMQ,EAAO,GAAe,KAAK,OAAO,IAAIC,CAAI,EAChD,MAAO,EAAI;;sCAEuB,CAAC,KAAK,WAAa,CAACD,EAAI,QAAQ,EAAE;;uCAEjC,CAACA,EAAI,OAAO,EAAE;wCACb,CAACA,EAAI,OAAO,EAAE;6CACT,CAACA,EAAI,aAAa,EAAE;;;qCAG5B,CAACA,EAAI,OAAO,EAAE;uCACZ,CAACA,EAAI,SAAS,EAAE;kGAC2C,CAACA,EAAI,EAAE,EAAE;wCACnE,CAACA,EAAI,EAAE,EAAE;;KAG/C,CACF,EAzBGP,EAAA,CAAAS,EAAS,CAAE,KAAM,QAAS,QAAS,GAAM,UAAW,WAAY,CAAC,CAAA,EAAAN,EAAA,UAAA,YAAA,IAAA,EAAA,EALnE,EAAAH,EAAA,CAAAU,EAAc,iBAAiB,CAAA,EAAAP,CAAA,E"}
@@ -0,0 +1,2 @@
1
+ import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{display:block}:host([hidden]){display:none}.group{padding:var(--spacing-10)}.title[hidden]{display:none}.title{padding-bottom:var(--spacing-16);text-align:start}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h4-fontSize);--bd-heading-font-weight:var(--typography-heading-h4-fontWeight);--bd-heading-line-height:var(--typography-heading-h4-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h4-letterSpacing);--bd-heading-font-family:var(--typography-heading-h4-fontFamily);margin:0}.list{padding-top:var(--spacing-16);text-align:start}`;export{t as default};
2
+ //# sourceMappingURL=pricing-feature-group.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing-feature-group.css.js","names":["pricing_feature_group_css_default"],"sources":["../../../../src/components/pricing-card/pricing-feature-group.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { headingRole } from \"#shared/token-scales.ts\";\n\n/* bd-pricing-feature-group: 3.x v1's .features block, its heading and its\n list (pricing-card.css.ts), which each of the five feature lists drew in\n its own shadow root. */\nexport default css`\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n /* 3.x's .features inset. */\n .group {\n padding: var(--spacing-10);\n }\n\n .title[hidden] {\n display: none;\n }\n\n /* 3.x's .text-left: the heading start-aligned with 15 under it, 16 now,\n the step on the scale. */\n .title {\n padding-bottom: var(--spacing-16);\n text-align: start;\n }\n\n /* The heading: 3.x's h4, the heading-h4 role, at whatever level the page\n picks. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h4\"))}\n margin: 0;\n }\n\n /* 3.x's .features ul: 16 above the first row, no indent. */\n .list {\n padding-top: var(--spacing-16);\n text-align: start;\n }\n`;\n"],"mappings":"A,4DAMA,IAAAA,EAAe,CAAG,6mB"}
@@ -0,0 +1,50 @@
1
+ import { LitElement } from "lit";
2
+ import { SlotController } from "../shared/controller.slot.js";
3
+ import "../../tokens/tokens.js";
4
+ import "./pricing-feature.js";
5
+ import "../h/h.js";
6
+ type Part = "" | "title";
7
+ /**
8
+ * A titled list of a pricing card's features.
9
+ *
10
+ * <bd-pricing-feature-group>
11
+ * <bd-h slot="title" as="h5">Privacy</bd-h>
12
+ * <bd-pricing-feature>Password Manager <bd-badge slot="badge" …>1x</bd-badge> …</bd-pricing-feature>
13
+ * <bd-pricing-feature>…</bd-pricing-feature>
14
+ * </bd-pricing-feature-group>
15
+ *
16
+ * It replaces 3.x's five feature lists -- pricing-card-features, -privacy,
17
+ * -identity, -identity-extended and -parental-control -- which were one
18
+ * list drawn five times, each with its English heading and its items built
19
+ * in. The heading is the page's bd-h now, drawn at 3.x's h4 size (the
20
+ * heading-h4 role) at whatever level the page picks, and the items are
21
+ * bd-pricing-feature children. The 22 features and the five headings 3.x
22
+ * shipped are in the stories.
23
+ *
24
+ * 3.x's Privacy list was the one that looked different: it gave its heading
25
+ * no class, so the heading took the card's centred text and lost the 15px
26
+ * under it the other four had. Measured, that was a slip rather than a look
27
+ * -- one list of five, centred beside four start-aligned ones -- so every
28
+ * group draws the same heading now, and there is no attribute for it.
29
+ *
30
+ * ONE DESCRIPTION OPEN AT A TIME. A feature that opens its description sends
31
+ * bd-show; the group closes the others among its own features, as 3.x's
32
+ * FeatureTips kept one open per list.
33
+ *
34
+ * The features are a list, named by the title while there is one: the box
35
+ * around the slot is role="list" and each bd-pricing-feature a list item
36
+ * through ElementInternals, as 3.x's ul and li were.
37
+ */
38
+ export declare class BdPricingFeatureGroup extends LitElement {
39
+ static styles: import("lit").CSSResult[];
40
+ _slots: SlotController<Part>;
41
+ constructor();
42
+ private readonly _onShow;
43
+ render(): import("lit-html").TemplateResult<1>;
44
+ }
45
+ declare global {
46
+ interface HTMLElementTagNameMap {
47
+ "bd-pricing-feature-group": BdPricingFeatureGroup;
48
+ }
49
+ }
50
+ export {};
@@ -0,0 +1,7 @@
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{SlotController as n}from"../shared/controller.slot.js";import"../h/h.js";import"./pricing-feature.js";import r from"./pricing-feature-group.css.js";import{LitElement as i,html as a,nothing as o}from"lit";var s=class extends i{static{this.styles=[r]}constructor(){super(),this._slots=new n(this,{slots:[`title`,``]}),this._onShow=e=>{let t=e.target;if(t.localName===`bd-pricing-feature`&&t.parentElement===this)for(let e of this.children)e!==t&&e.localName===`bd-pricing-feature`&&e._close()},this.addEventListener(`bd-show`,this._onShow)}render(){let e=this._slots.has(`title`);return a`
2
+ <div class="group">
3
+ <div class="title" id="title" ?hidden=${!e}><slot name="title"></slot></div>
4
+ <div class="list" role="list" aria-labelledby=${e?`title`:o}><slot></slot></div>
5
+ </div>
6
+ `}};s=t([e(`bd-pricing-feature-group`)],s);export{s as BdPricingFeatureGroup};
7
+ //# sourceMappingURL=pricing-feature-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing-feature-group.js","names":["featureGroupCSS","_decorate","__decorate","pricing_feature_group_css_default","BdPricingFeatureGroup","LitElement","SlotController","opened","event","feature","hasTitle","nothing","defineElement"],"sources":["../../../../src/components/pricing-card/pricing-feature-group.ts"],"sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\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 \"./pricing-feature.ts\";\nimport type { BdPricingFeature } from \"./pricing-feature.ts\";\n/* The atom the page writes into the title slot. */\nimport \"#components/h/h.ts\";\nimport featureGroupCSS from \"./pricing-feature-group.css.ts\";\n\ntype Part = \"\" | \"title\";\n\n/**\n * A titled list of a pricing card's features.\n *\n * <bd-pricing-feature-group>\n * <bd-h slot=\"title\" as=\"h5\">Privacy</bd-h>\n * <bd-pricing-feature>Password Manager <bd-badge slot=\"badge\" …>1x</bd-badge> …</bd-pricing-feature>\n * <bd-pricing-feature>…</bd-pricing-feature>\n * </bd-pricing-feature-group>\n *\n * It replaces 3.x's five feature lists -- pricing-card-features, -privacy,\n * -identity, -identity-extended and -parental-control -- which were one\n * list drawn five times, each with its English heading and its items built\n * in. The heading is the page's bd-h now, drawn at 3.x's h4 size (the\n * heading-h4 role) at whatever level the page picks, and the items are\n * bd-pricing-feature children. The 22 features and the five headings 3.x\n * shipped are in the stories.\n *\n * 3.x's Privacy list was the one that looked different: it gave its heading\n * no class, so the heading took the card's centred text and lost the 15px\n * under it the other four had. Measured, that was a slip rather than a look\n * -- one list of five, centred beside four start-aligned ones -- so every\n * group draws the same heading now, and there is no attribute for it.\n *\n * ONE DESCRIPTION OPEN AT A TIME. A feature that opens its description sends\n * bd-show; the group closes the others among its own features, as 3.x's\n * FeatureTips kept one open per list.\n *\n * The features are a list, named by the title while there is one: the box\n * around the slot is role=\"list\" and each bd-pricing-feature a list item\n * through ElementInternals, as 3.x's ul and li were.\n */\n@defineElement(\"bd-pricing-feature-group\")\nexport class BdPricingFeatureGroup extends LitElement {\n static styles = [featureGroupCSS];\n\n _slots = new SlotController<Part>(this, { slots: [\"title\", \"\"] });\n\n constructor() {\n super();\n this.addEventListener(\"bd-show\", this._onShow);\n }\n\n /* One of this group's features opened its description: the others close. */\n private readonly _onShow = (event: Event) => {\n const opened = event.target as Element;\n if (opened.localName !== \"bd-pricing-feature\" || opened.parentElement !== this) return;\n for (const feature of this.children) {\n if (feature !== opened && feature.localName === \"bd-pricing-feature\") (feature as BdPricingFeature)._close();\n }\n };\n\n render() {\n const hasTitle = this._slots.has(\"title\");\n return html`\n <div class=\"group\">\n <div class=\"title\" id=\"title\" ?hidden=${!hasTitle}><slot name=\"title\"></slot></div>\n <div class=\"list\" role=\"list\" aria-labelledby=${hasTitle ? \"title\" : nothing}><slot></slot></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-pricing-feature-group\": BdPricingFeatureGroup;\n }\n}\n"],"mappings":"A,wXA6CO,IAAMI,EAAN,cAAoCC,CAAW,C,OACpC,KAAA,OAAA,CAACL,CAAe,C,CAIhC,aAAc,CACZ,MAAM,EAHC,KAAA,OAAA,IAAIM,EAAqB,KAAM,CAAE,MAAO,CAAC,QAAS,EAAE,CAAE,CAAC,EAQpC,KAAA,QAAA,GAAiB,CAC3C,IAAMC,EAASC,EAAM,OACrB,GAAID,EAAO,YAAc,sBAAwBA,EAAO,gBAAkB,KAC1E,IAAK,IAAME,KAAW,KAAK,SACrBA,IAAYF,GAAUE,EAAQ,YAAc,sBAAsBA,EAA8B,OAAO,CAE/G,EAVE,KAAK,iBAAiB,UAAW,KAAK,OAAO,CAC/C,CAWA,QAAS,CACP,IAAMC,EAAW,KAAK,OAAO,IAAI,OAAO,EACxC,MAAO,EAAI;;gDAEiC,CAACA,EAAS;wDACFA,EAAW,QAAUC,EAAQ;;KAGnF,CACF,EA7BC,EAAAV,EAAA,CAAAW,EAAc,0BAA0B,CAAA,EAAAR,CAAA,E"}
@@ -0,0 +1,2 @@
1
+ import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);display:block}:host([hidden]),[hidden]{display:none}.row{align-items:flex-start;gap:var(--spacing-8);margin-bottom:var(--spacing-10);display:flex;position:relative}.check{color:var(--status-success-accent);flex-shrink:0;margin-block-start:var(--spacing-4);margin-inline-end:var(--spacing-8)}.name{min-width:0;margin-bottom:var(--spacing-16);font-size:var(--typography-body-regular-fontSize);font-weight:var(--typography-body-regular-fontWeight);line-height:var(--typography-body-regular-lineHeight);letter-spacing:var(--typography-body-regular-letterSpacing);font-family:var(--typography-body-regular-fontFamily);color:var(--color-text-primary)}.badge{flex-shrink:0}.toggle{font:inherit;letter-spacing:inherit;color:inherit;text-align:inherit;cursor:pointer;border-radius:var(--focus-outline-radius);outline:var(--border-width-2) solid transparent;background:0 0;border:0;margin:0;padding:0}.toggle:focus-visible{outline-offset:var(--focus-outline-offset);box-shadow:var(--focus-outline-primary)}.toggle:after{content:"";position:absolute;inset:0}.description{bottom:calc(100% + var(--spacing-8));box-sizing:border-box;max-width:274px;padding:var(--spacing-8) var(--spacing-12);background-color:var(--color-surface-container);border:var(--border-width-1) solid var(--color-border-subtle);border-radius:var(--shape-radius-sm);box-shadow:var(--shadow-md);font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);font-family:var(--typography-body-small-fontFamily);color:var(--color-text-primary);z-index:var(--z-tooltip);display:none;position:absolute;inset-inline-start:0}.description:after{content:"";bottom:calc(-1 * var(--border-width-8));border-inline:var(--border-width-8) solid transparent;border-top:var(--border-width-8) solid var(--color-border-subtle);position:absolute;inset-inline-start:calc(20% - var(--border-width-8))}.description.open{display:block}@media (hover:hover){.row:hover .description:not([hidden]){display:block}}`;export{t as default};
2
+ //# sourceMappingURL=pricing-feature.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing-feature.css.js","names":["pricing_feature_css_default"],"sources":["../../../../src/components/pricing-card/pricing-feature.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/* bd-pricing-feature: 3.x v1's feature row (pricing-card.css.ts's\n .feature-item and .tooltip), which the five feature lists drew in their\n shadow roots. v2's pricing-feature-item drew a 12px row of its own; the\n v1 row is the one that shipped. */\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n }\n\n :host([hidden]) {\n display: none;\n }\n\n [hidden] {\n display: none;\n }\n\n /* The row: the check, the name and the badge on one line, 10 apart from\n the next row. The 16 under the name is the bottom margin 3.x's name\n paragraph carried inside the row (a bd-p in a flex row keeps its\n margin), so rows stand 26 apart as they did. Position relative: the\n description is drawn over the row above it. */\n .row {\n position: relative;\n display: flex;\n align-items: flex-start;\n gap: var(--spacing-8);\n margin-bottom: var(--spacing-10);\n }\n\n /* The check, centred on the name's first line: a 16 icon on a 24 line.\n 3.x centred its 16px PNG on the whole row, the name's 16 bottom margin\n included, which put it 8 below a one-line name's middle. The green is\n the success accent v2's check already took: a mark, green on white at\n 4.75:1. */\n .check {\n flex-shrink: 0;\n margin-block-start: var(--spacing-4);\n margin-inline-end: var(--spacing-8);\n color: var(--status-success-accent);\n }\n\n /* The name, at body-regular in primary ink, as 3.x's bd-p regular drew it. */\n .name {\n min-width: 0;\n margin-bottom: var(--spacing-16);\n font-size: var(--typography-body-regular-fontSize);\n font-weight: var(--typography-body-regular-fontWeight);\n line-height: var(--typography-body-regular-lineHeight);\n letter-spacing: var(--typography-body-regular-letterSpacing);\n font-family: var(--typography-body-regular-fontFamily);\n color: var(--color-text-primary);\n }\n\n .badge {\n flex-shrink: 0;\n }\n\n /* The name as the button that opens its description: it reads as the text\n it is, and draws the one focus ring. */\n .toggle {\n margin: 0;\n padding: 0;\n border: 0;\n background: none;\n font: inherit;\n letter-spacing: inherit;\n color: inherit;\n text-align: inherit;\n cursor: pointer;\n border-radius: var(--focus-outline-radius);\n outline: var(--border-width-2) solid transparent;\n }\n\n .toggle:focus-visible {\n /* the one focus ring -- see Design Tokens/Focus. Forced-colors mode does\n not paint box-shadow; it paints the transparent outline above, in a\n system colour, on the ring's outer band. */\n outline-offset: var(--focus-outline-offset);\n box-shadow: var(--focus-outline-primary);\n }\n\n /* The whole row is the button's target, as the whole row was the hover's. */\n .toggle::after {\n content: \"\";\n position: absolute;\n inset: 0;\n }\n\n /* The description, over the row above it, its arrow ending on the row's\n top edge. 3.x's tooltip: the container ground, a subtle hairline, the\n small radius, and the body-small role its bd-p drew in primary ink. */\n .description {\n display: none;\n position: absolute;\n bottom: calc(100% + var(--spacing-8));\n inset-inline-start: 0;\n box-sizing: border-box;\n /* no token: 3.x's tooltip measure (250 plus its inset), narrower than any\n width on the scale; the row caps it below that */\n max-width: 274px;\n padding: var(--spacing-8) var(--spacing-12);\n background-color: var(--color-surface-container);\n border: var(--border-width-1) solid var(--color-border-subtle);\n border-radius: var(--shape-radius-sm);\n box-shadow: var(--shadow-md);\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n font-family: var(--typography-body-small-fontFamily);\n color: var(--color-text-primary);\n /* A tooltip is the role, not a number: it clears the cards it overhangs,\n the highlight banner included. */\n z-index: var(--z-tooltip);\n }\n\n .description::after {\n content: \"\";\n position: absolute;\n bottom: calc(-1 * var(--border-width-8));\n /* centred on 20% from the start: half the arrow's width is one of the\n two borders that draw it, which a translate could not flip */\n inset-inline-start: calc(20% - var(--border-width-8));\n /* an 8px triangle drawn by three borders, 3.x's --spacing-8 spelled as\n the border widths they are */\n border-inline: var(--border-width-8) solid transparent;\n /* the arrow, the same role as the box: they are one shape */\n border-top: var(--border-width-8) solid var(--color-border-subtle);\n }\n\n /* Open from the button, and previewed on hover where there is a hover. A\n touch screen's emulated hover sticks after a tap, so without the query\n the tap that closes the description would leave it showing. */\n .description.open {\n display: block;\n }\n\n @media (hover: hover) {\n .row:hover .description:not([hidden]) {\n display: block;\n }\n }\n`;\n"],"mappings":"A,0BAMA,IAAAA,EAAe,CAAG,kmE"}
@@ -0,0 +1,64 @@
1
+ import { LitElement } from "lit";
2
+ import { SlotController } from "../shared/controller.slot.js";
3
+ import "../../tokens/tokens.js";
4
+ import "../shared/events.js";
5
+ import "../icons/check.js";
6
+ import "../badge/badge.js";
7
+ type Part = "" | "badge" | "description";
8
+ /**
9
+ * One feature of a pricing card: a check, the feature's name, an optional
10
+ * badge, and a description the name opens.
11
+ *
12
+ * <bd-pricing-feature>
13
+ * Password Manager
14
+ * <bd-badge slot="badge" variant="brand" appearance="fill">1x</bd-badge>
15
+ * <span slot="description">Ultra-secure, feature-rich password manager.</span>
16
+ * </bd-pricing-feature>
17
+ *
18
+ * It was 3.x's pricing-feature-item (v2's, which drew a name only) and each
19
+ * `{ name, description, badge }` entry of the five v1 feature lists, whose
20
+ * rows the lists drew themselves. The row is v1's: a 16px check, the name at
21
+ * body-regular in primary ink, the badge after it.
22
+ *
23
+ * THE NAME OPENS THE DESCRIPTION. With a description the name is a disclosure
24
+ * button -- aria-expanded, aria-controls the description's box -- and the
25
+ * description follows it in reading order while open, drawn over the row
26
+ * above as 3.x's tooltip was. It closes as 3.x's did: on Escape, after the
27
+ * page has had the key (the bubble phase, left alone if something handled it
28
+ * first, and never cancelled, so a dialog's own Escape still works while a
29
+ * description is open); on a press outside the row; when focus moves on out
30
+ * of the feature, not into a link in its description; and when the feature
31
+ * leaves the page. A mouse's hover previews
32
+ * it, where there is a hover. Without a description the name is text.
33
+ *
34
+ * Opening and closing send bd-show and bd-hide, then bd-after-show and
35
+ * bd-after-hide at once -- nothing animates (N8). bd-pricing-feature-group
36
+ * listens for bd-show to keep one description open per group, as 3.x's
37
+ * FeatureTips kept one per list.
38
+ *
39
+ * In a bd-pricing-feature-group it is a list item, through ElementInternals,
40
+ * so the role is the element's own; outside one it is no item of anything.
41
+ */
42
+ export declare class BdPricingFeature extends LitElement {
43
+ static styles: import("lit").CSSResult[];
44
+ private readonly _internals;
45
+ private _open;
46
+ _slots: SlotController<Part>;
47
+ private readonly _onKeydown;
48
+ private readonly _onPointerdown;
49
+ private readonly _onFocusout;
50
+ connectedCallback(): void;
51
+ disconnectedCallback(): void;
52
+ /** Closes the description. bd-pricing-feature-group calls it on the others when one opens. */
53
+ _close(): void;
54
+ private _toggle;
55
+ private _listen;
56
+ willUpdate(): void;
57
+ render(): import("lit-html").TemplateResult<1>;
58
+ }
59
+ declare global {
60
+ interface HTMLElementTagNameMap {
61
+ "bd-pricing-feature": BdPricingFeature;
62
+ }
63
+ }
64
+ export {};
@@ -0,0 +1,19 @@
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{SlotController as n}from"../shared/controller.slot.js";import"../badge/badge.js";import"../icons/check.js";import r from"./pricing-feature.css.js";import{LitElement as i,html as a}from"lit";import{state as o}from"lit/decorators.js";var s=class extends i{constructor(...e){super(...e),this._internals=this.attachInternals(),this._open=!1,this._slots=new n(this,{slots:[``,`badge`,`description`]}),this._onKeydown=e=>{e.key===`Escape`&&!e.defaultPrevented&&this._close()},this._onPointerdown=e=>{let t=this.renderRoot.querySelector(`.row`);t&&e.composedPath().includes(t)||this._close()},this._onFocusout=e=>{let t=e.relatedTarget;t&&!this.contains(t)&&!this.renderRoot.contains(t)&&this._close()}}static{this.styles=[r]}connectedCallback(){super.connectedCallback(),this._internals.role=this.parentElement?.localName===`bd-pricing-feature-group`?`listitem`:null}disconnectedCallback(){super.disconnectedCallback(),this._listen(!1),this._open=!1}_close(){this._open&&this._toggle()}_toggle(){let e=!this._open;this._open=e,this._listen(e),e?this.dispatchEvent(new CustomEvent(`bd-show`,{bubbles:!0,composed:!0})):this.dispatchEvent(new CustomEvent(`bd-hide`,{bubbles:!0,composed:!0})),this.updateComplete.then(()=>{e?this.dispatchEvent(new CustomEvent(`bd-after-show`,{bubbles:!0,composed:!0})):this.dispatchEvent(new CustomEvent(`bd-after-hide`,{bubbles:!0,composed:!0}))})}_listen(e){let t=e?`addEventListener`:`removeEventListener`;document[t](`keydown`,this._onKeydown),document[t](`pointerdown`,this._onPointerdown,!0)}willUpdate(){this._open&&!this._slots.has(`description`)&&(this._open=!1,this._listen(!1))}render(){let e=this._slots.has(`description`),t=e?a`<button
2
+ type="button"
3
+ class="toggle"
4
+ aria-expanded=${this._open?`true`:`false`}
5
+ aria-controls="description"
6
+ @click=${this._toggle}
7
+ ><slot></slot></button>`:a`<slot></slot>`;return a`
8
+ <div class="row" @focusout=${this._onFocusout}>
9
+ <bd-icon name="check" class="check"></bd-icon>
10
+ <span class="name">${t}</span>
11
+ <span class="badge" ?hidden=${!this._slots.has(`badge`)}><slot name="badge"></slot></span>
12
+ <div
13
+ id="description"
14
+ class="description ${this._open?`open`:``}"
15
+ ?hidden=${!e}
16
+ ><slot name="description"></slot></div>
17
+ </div>
18
+ `}};t([o()],s.prototype,`_open`,void 0),s=t([e(`bd-pricing-feature`)],s);export{s as BdPricingFeature};
19
+ //# sourceMappingURL=pricing-feature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing-feature.js","names":["featureCSS","_decorate","__decorate","pricing_feature_css_default","BdPricingFeature","LitElement","_args","SlotController","event","row","to","open","method","on","described","name","state","defineElement"],"sources":["../../../../src/components/pricing-card/pricing-feature.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { state } from \"lit/decorators.js\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\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 \"#shared/events.ts\";\nimport \"#components/icons/check.ts\";\n/* The atom the page writes into the badge slot (\"1x\"). */\nimport \"#components/badge/badge.ts\";\nimport featureCSS from \"./pricing-feature.css.ts\";\n\ntype Part = \"\" | \"badge\" | \"description\";\n\n/**\n * One feature of a pricing card: a check, the feature's name, an optional\n * badge, and a description the name opens.\n *\n * <bd-pricing-feature>\n * Password Manager\n * <bd-badge slot=\"badge\" variant=\"brand\" appearance=\"fill\">1x</bd-badge>\n * <span slot=\"description\">Ultra-secure, feature-rich password manager.</span>\n * </bd-pricing-feature>\n *\n * It was 3.x's pricing-feature-item (v2's, which drew a name only) and each\n * `{ name, description, badge }` entry of the five v1 feature lists, whose\n * rows the lists drew themselves. The row is v1's: a 16px check, the name at\n * body-regular in primary ink, the badge after it.\n *\n * THE NAME OPENS THE DESCRIPTION. With a description the name is a disclosure\n * button -- aria-expanded, aria-controls the description's box -- and the\n * description follows it in reading order while open, drawn over the row\n * above as 3.x's tooltip was. It closes as 3.x's did: on Escape, after the\n * page has had the key (the bubble phase, left alone if something handled it\n * first, and never cancelled, so a dialog's own Escape still works while a\n * description is open); on a press outside the row; when focus moves on out\n * of the feature, not into a link in its description; and when the feature\n * leaves the page. A mouse's hover previews\n * it, where there is a hover. Without a description the name is text.\n *\n * Opening and closing send bd-show and bd-hide, then bd-after-show and\n * bd-after-hide at once -- nothing animates (N8). bd-pricing-feature-group\n * listens for bd-show to keep one description open per group, as 3.x's\n * FeatureTips kept one per list.\n *\n * In a bd-pricing-feature-group it is a list item, through ElementInternals,\n * so the role is the element's own; outside one it is no item of anything.\n */\n@defineElement(\"bd-pricing-feature\")\nexport class BdPricingFeature extends LitElement {\n static styles = [featureCSS];\n\n private readonly _internals = this.attachInternals();\n\n @state()\n private _open = false;\n\n _slots = new SlotController<Part>(this, { slots: [\"\", \"badge\", \"description\"] });\n\n /* Escape closes, once the page has had the key: in the bubble phase and\n only if nothing handled it first. Never cancelled. */\n private readonly _onKeydown = (event: KeyboardEvent) => {\n if (event.key === \"Escape\" && !event.defaultPrevented) this._close();\n };\n\n /* A press anywhere but the row closes. In the capture phase, so a press\n that something else stops on its way down still counts. */\n private readonly _onPointerdown = (event: PointerEvent) => {\n const row = this.renderRoot.querySelector(\".row\");\n if (!row || !event.composedPath().includes(row)) this._close();\n };\n\n /* Only when focus moves on to something outside the feature: a press on\n the open description blurs the button with no relatedTarget, and should\n not close it; nor should Tab into a link in the description, which\n closing would hide under the focus. Heard on the row, so focus leaving\n that link closes it too. */\n private readonly _onFocusout = (event: FocusEvent) => {\n const to = event.relatedTarget as Node | null;\n if (to && !this.contains(to) && !this.renderRoot.contains(to)) this._close();\n };\n\n connectedCallback() {\n super.connectedCallback();\n this._internals.role = this.parentElement?.localName === \"bd-pricing-feature-group\" ? \"listitem\" : null;\n }\n\n /* Disconnected, the open description goes with the listeners that close\n it, so a feature put back on the page does not show one nothing can\n shut. Nothing is sent: the feature is no longer on the page. */\n disconnectedCallback() {\n super.disconnectedCallback();\n this._listen(false);\n this._open = false;\n }\n\n /** Closes the description. bd-pricing-feature-group calls it on the others when one opens. */\n _close() {\n if (this._open) this._toggle();\n }\n\n private _toggle() {\n const open = !this._open;\n this._open = open;\n this._listen(open);\n if (open) this.dispatchEvent(new CustomEvent(\"bd-show\", { bubbles: true, composed: true }));\n else this.dispatchEvent(new CustomEvent(\"bd-hide\", { bubbles: true, composed: true }));\n // nothing animates, so it has finished once it has rendered\n void this.updateComplete.then(() => {\n if (open) this.dispatchEvent(new CustomEvent(\"bd-after-show\", { bubbles: true, composed: true }));\n else this.dispatchEvent(new CustomEvent(\"bd-after-hide\", { bubbles: true, composed: true }));\n });\n }\n\n private _listen(on: boolean) {\n const method = on ? \"addEventListener\" : \"removeEventListener\";\n document[method](\"keydown\", this._onKeydown as EventListener);\n document[method](\"pointerdown\", this._onPointerdown as EventListener, true);\n }\n\n /* A description the page takes away closes, quietly: there is nothing\n left to show, and no listener is left behind for it. */\n willUpdate() {\n if (this._open && !this._slots.has(\"description\")) {\n this._open = false;\n this._listen(false);\n }\n }\n\n render() {\n const described = this._slots.has(\"description\");\n const name = described\n ? html`<button\n type=\"button\"\n class=\"toggle\"\n aria-expanded=${this._open ? \"true\" : \"false\"}\n aria-controls=\"description\"\n @click=${this._toggle}\n ><slot></slot></button>`\n : html`<slot></slot>`;\n return html`\n <div class=\"row\" @focusout=${this._onFocusout}>\n <bd-icon name=\"check\" class=\"check\"></bd-icon>\n <span class=\"name\">${name}</span>\n <span class=\"badge\" ?hidden=${!this._slots.has(\"badge\")}><slot name=\"badge\"></slot></span>\n <div\n id=\"description\"\n class=\"description ${this._open ? \"open\" : \"\"}\"\n ?hidden=${!described}\n ><slot name=\"description\"></slot></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-pricing-feature\": BdPricingFeature;\n }\n}\n"],"mappings":"A,oZAiDO,IAAMI,EAAN,cAA+BC,CAAW,C,8BAGjB,KAAA,WAAA,KAAK,gBAAgB,EAGnC,KAAA,MAAA,GAEP,KAAA,OAAA,IAAIE,EAAqB,KAAM,CAAE,MAAO,CAAC,GAAI,QAAS,aAAa,CAAE,CAAC,EAIhD,KAAA,WAAA,GAAyB,CAClDC,EAAM,MAAQ,UAAY,CAACA,EAAM,kBAAkB,KAAK,OAAO,CACrE,EAImC,KAAA,eAAA,GAAwB,CACzD,IAAMC,EAAM,KAAK,WAAW,cAAc,MAAM,EAC3CA,GAAQD,EAAM,aAAa,CAAC,CAAC,SAASC,CAAG,GAAG,KAAK,OAAO,CAC/D,EAOgC,KAAA,YAAA,GAAsB,CACpD,IAAMC,EAAKF,EAAM,cACbE,GAAM,CAAC,KAAK,SAASA,CAAE,GAAK,CAAC,KAAK,WAAW,SAASA,CAAE,GAAG,KAAK,OAAO,CAC7E,C,QA9BgB,KAAA,OAAA,CAACV,CAAU,C,CAgC3B,mBAAoB,CAClB,MAAM,kBAAkB,EACxB,KAAK,WAAW,KAAO,KAAK,eAAe,YAAc,2BAA6B,WAAa,IACrG,CAKA,sBAAuB,CACrB,MAAM,qBAAqB,EAC3B,KAAK,QAAQ,EAAK,EAClB,KAAK,MAAQ,EACf,CAGA,QAAS,CACH,KAAK,OAAO,KAAK,QAAQ,CAC/B,CAEA,SAAkB,CAChB,IAAMW,EAAO,CAAC,KAAK,MACnB,KAAK,MAAQA,EACb,KAAK,QAAQA,CAAI,EACbA,EAAM,KAAK,cAAc,IAAI,YAAY,UAAW,CAAE,QAAS,GAAM,SAAU,EAAK,CAAC,CAAC,EACrF,KAAK,cAAc,IAAI,YAAY,UAAW,CAAE,QAAS,GAAM,SAAU,EAAK,CAAC,CAAC,EAErF,KAAU,eAAe,SAAW,CAC9BA,EAAM,KAAK,cAAc,IAAI,YAAY,gBAAiB,CAAE,QAAS,GAAM,SAAU,EAAK,CAAC,CAAC,EAC3F,KAAK,cAAc,IAAI,YAAY,gBAAiB,CAAE,QAAS,GAAM,SAAU,EAAK,CAAC,CAAC,CAC7F,CAAC,CACH,CAEA,QAAgB,EAAa,CAC3B,IAAMC,EAASC,EAAK,mBAAqB,sBACzC,SAASD,EAAO,CAAC,UAAW,KAAK,UAA2B,EAC5D,SAASA,EAAO,CAAC,cAAe,KAAK,eAAiC,EAAI,CAC5E,CAIA,YAAa,CACP,KAAK,OAAS,CAAC,KAAK,OAAO,IAAI,aAAa,IAC9C,KAAK,MAAQ,GACb,KAAK,QAAQ,EAAK,EAEtB,CAEA,QAAS,CACP,IAAME,EAAY,KAAK,OAAO,IAAI,aAAa,EACzCC,EAAOD,EACT,CAAI;;;0BAGc,KAAK,MAAQ,OAAS,QAAQ;;mBAErC,KAAK,QAAQ;iCAExB,CAAI,gBACR,MAAO,EAAI;mCACoB,KAAK,YAAY;;6BAEvBC,EAAK;sCACI,CAAC,KAAK,OAAO,IAAI,OAAO,EAAE;;;+BAGjC,KAAK,MAAQ,OAAS,GAAG;oBACpC,CAACD,EAAU;;;KAI7B,CACF,EAnGGb,EAAA,CAAAe,EAAM,CAAA,EAAAZ,EAAA,UAAA,QAAA,IAAA,EAAA,EANR,EAAAH,EAAA,CAAAgB,EAAc,oBAAoB,CAAA,EAAAb,CAAA,E"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("lit").CSSResult;
2
+ export default _default;
3
+ export declare const storeWrapperCSS: import("lit").CSSResult;
@@ -0,0 +1,2 @@
1
+ import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{display:block}:host([hidden]){display:none}.band{justify-items:center;gap:var(--spacing-52) var(--spacing-24);box-sizing:border-box;padding:var(--spacing-64) var(--spacing-16) var(--spacing-48);background:var(--status-brand-surface);border-radius:var(--shape-radius-2xl);grid-template-columns:minmax(0,1fr);display:grid}@media (width>=576px){.band{padding-inline:var(--spacing-32)}}@media (width>=1200px){.band{row-gap:var(--spacing-24);grid-template-columns:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column}}`,n=e`:where(bd-pricing-group) :is(bd-context,bd-product,bd-option):has(bd-pricing-card):not(bd-pricing-card *){display:contents}`;export{t as default,n as storeWrapperCSS};
2
+ //# sourceMappingURL=pricing-group.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing-group.css.js","names":["pricing_group_css_default","storeWrapperCSS"],"sources":["../../../../src/components/pricing-card/pricing-group.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above } from \"#shared/token-scales.ts\";\n\n/* bd-pricing-group: the band bd-pricing-container drew behind v1's cards\n (pricing-card.css.ts's .pricing-cards), and the row in it. */\nexport default css`\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n /* The band the cards sit on: the brand wash, 3.x's 2xl corner, and an\n inset taller at the top for the highlighted card's banner, which\n overhangs its card. Three adjacent plans need telling apart from each\n other, not just from the page, so the cards are white with an edge on a\n tint, which separates them by hue (3.x's note on .pricing-cards).\n\n Below sm the band's sides are 16, not 32: the band sits in the page\n column now, whose own 16 gutter 3.x's band did not have, and 16 keeps a\n phone's card at the 311 it measured at 375.\n\n ONE COLUMN BELOW XL, centred, each card as wide as 3.x's (the card's own\n max-width), 52 apart, as v1's stacked below 1024. FROM XL ONE ROW of as\n many equal columns as there are cards, 24 apart, each as tall as the\n row: 3.x's count, which v2's container reflected to give two cards a\n half and three a third, as a grid's auto-flow. */\n .band {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: center;\n gap: var(--spacing-52) var(--spacing-24);\n box-sizing: border-box;\n padding: var(--spacing-64) var(--spacing-16) var(--spacing-48);\n background: var(--status-brand-surface);\n border-radius: var(--shape-radius-2xl);\n }\n\n @media ${unsafeCSS(above(\"sm\"))} {\n .band {\n padding-inline: var(--spacing-32);\n }\n }\n\n @media ${unsafeCSS(above(\"xl\"))} {\n .band {\n grid-template-columns: none;\n grid-auto-flow: column;\n grid-auto-columns: minmax(0, 1fr);\n row-gap: var(--spacing-24);\n }\n }\n`;\n\n/* Adopted into the tree the group sits in (adoptStyles, in connectedCallback):\n the store's elements between the group and a card draw no box, so the card\n is the row's item. bd-context, bd-product and bd-option set no display of\n their own; each is an inline box with a slot in it, and a card inside one\n was the block inside an inline -- never the row's item, never as tall as\n its row. Only the wrappers around a card, and none inside one. */\nexport const storeWrapperCSS = css`\n :where(bd-pricing-group) :is(bd-context, bd-product, bd-option):has(bd-pricing-card):not(bd-pricing-card *) {\n display: contents;\n }\n`;\n"],"mappings":"A,4DAKA,IAAAA,EAAe,CAAG,ghBAyDLC,EAAkB,CAAG,8H"}
@@ -0,0 +1,48 @@
1
+ import { LitElement } from "lit";
2
+ import "../../tokens/tokens.js";
3
+ /**
4
+ * A row of pricing cards on the brand band they are drawn for.
5
+ *
6
+ * <bd-pricing-group>
7
+ * <bd-product product-id="ts_i">
8
+ * <bd-option devices="5" subscription="1" data-layer-event="info">
9
+ * <bd-pricing-card>…</bd-pricing-card>
10
+ * </bd-option>
11
+ * </bd-product>
12
+ * <bd-pricing-card>…</bd-pricing-card>
13
+ * </bd-pricing-group>
14
+ *
15
+ * It was 3.x's pricing-cards-container (v2's row), and it draws the band
16
+ * bd-pricing-container drew behind v1's cards: the brand wash, the card
17
+ * corner and an inset that holds the highlighted card's banner. The cards'
18
+ * white ground and edge are drawn for that band (CLAUDE.md, A card's ground
19
+ * and its edge), so v2's cards, which sat on the page, sit on it too.
20
+ *
21
+ * Its cards are its children, bare or wrapped in the bd-context, bd-product
22
+ * and bd-option the store reads them through. Those set no display of their
23
+ * own -- each is an inline box with a slot in it -- so a wrapped card would
24
+ * be the block inside an inline, never the row's item, and never as tall as
25
+ * its row. The wrappers between this group and a card draw no box, then
26
+ * (storeWrapperCSS, adopted into the tree the group sits in, because no
27
+ * shadow-root rule reaches past a slotted element): the card is the row's
28
+ * item whichever way the page wrote it.
29
+ *
30
+ * 3.x's `count` -- the cards counted on every slotchange and reflected, so the
31
+ * stylesheet could give each a half, a third or a quarter -- is CSS now. The
32
+ * cards are one column below xl, each as wide as 3.x's card and centred, as
33
+ * v1's stacked below 1024; from xl they are one row of equal columns, as many
34
+ * as there are cards (a grid's auto-flow), which is what the count chose for
35
+ * two and three. 3.x's `padding: 0 240px` drew nothing -- the host was inline,
36
+ * so the padding never reached the row inside it -- and the row is the page
37
+ * column now (bd-ensemble), which collapses into a column it is already in.
38
+ */
39
+ export declare class BdPricingGroup extends LitElement {
40
+ static styles: import("lit").CSSResult[];
41
+ connectedCallback(): void;
42
+ render(): import("lit-html").TemplateResult<1>;
43
+ }
44
+ declare global {
45
+ interface HTMLElementTagNameMap {
46
+ "bd-pricing-group": BdPricingGroup;
47
+ }
48
+ }
@@ -0,0 +1,6 @@
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{ensembleCSS as n}from"../shared/ensemble.css.js";import{adoptStyles as r}from"../shared/adopt-styles.js";import i,{storeWrapperCSS as a}from"./pricing-group.css.js";import{LitElement as o,html as s}from"lit";var c=class extends o{static{this.styles=[n,i]}connectedCallback(){super.connectedCallback(),r(this,`bd-pricing-group`,a)}render(){return s`
2
+ <div class="bd-ensemble">
3
+ <div class="band"><slot></slot></div>
4
+ </div>
5
+ `}};c=t([e(`bd-pricing-group`)],c);export{c as BdPricingGroup};
6
+ //# sourceMappingURL=pricing-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing-group.js","names":["pricingGroupCSS","_decorate","__decorate","pricing_group_css_default","BdPricingGroup","LitElement","ensembleCSS","adoptStyles","storeWrapperCSS","defineElement"],"sources":["../../../../src/components/pricing-card/pricing-group.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { adoptStyles } from \"#shared/adopt-styles.ts\";\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 { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport pricingGroupCSS, { storeWrapperCSS } from \"./pricing-group.css.ts\";\n\n/**\n * A row of pricing cards on the brand band they are drawn for.\n *\n * <bd-pricing-group>\n * <bd-product product-id=\"ts_i\">\n * <bd-option devices=\"5\" subscription=\"1\" data-layer-event=\"info\">\n * <bd-pricing-card>…</bd-pricing-card>\n * </bd-option>\n * </bd-product>\n * <bd-pricing-card>…</bd-pricing-card>\n * </bd-pricing-group>\n *\n * It was 3.x's pricing-cards-container (v2's row), and it draws the band\n * bd-pricing-container drew behind v1's cards: the brand wash, the card\n * corner and an inset that holds the highlighted card's banner. The cards'\n * white ground and edge are drawn for that band (CLAUDE.md, A card's ground\n * and its edge), so v2's cards, which sat on the page, sit on it too.\n *\n * Its cards are its children, bare or wrapped in the bd-context, bd-product\n * and bd-option the store reads them through. Those set no display of their\n * own -- each is an inline box with a slot in it -- so a wrapped card would\n * be the block inside an inline, never the row's item, and never as tall as\n * its row. The wrappers between this group and a card draw no box, then\n * (storeWrapperCSS, adopted into the tree the group sits in, because no\n * shadow-root rule reaches past a slotted element): the card is the row's\n * item whichever way the page wrote it.\n *\n * 3.x's `count` -- the cards counted on every slotchange and reflected, so the\n * stylesheet could give each a half, a third or a quarter -- is CSS now. The\n * cards are one column below xl, each as wide as 3.x's card and centred, as\n * v1's stacked below 1024; from xl they are one row of equal columns, as many\n * as there are cards (a grid's auto-flow), which is what the count chose for\n * two and three. 3.x's `padding: 0 240px` drew nothing -- the host was inline,\n * so the padding never reached the row inside it -- and the row is the page\n * column now (bd-ensemble), which collapses into a column it is already in.\n */\n@defineElement(\"bd-pricing-group\")\nexport class BdPricingGroup extends LitElement {\n static styles = [ensembleCSS, pricingGroupCSS];\n\n connectedCallback() {\n super.connectedCallback();\n adoptStyles(this, \"bd-pricing-group\", storeWrapperCSS);\n }\n\n render() {\n return html`\n <div class=\"bd-ensemble\">\n <div class=\"band\"><slot></slot></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-pricing-group\": BdPricingGroup;\n }\n}\n"],"mappings":"A,4XA6CO,IAAMI,EAAN,cAA6BC,CAAW,C,OAC7B,KAAA,OAAA,CAACC,EAAaN,CAAe,C,CAE7C,mBAAoB,CAClB,MAAM,kBAAkB,EACxBO,EAAY,KAAM,mBAAoBC,CAAe,CACvD,CAEA,QAAS,CACP,MAAO,EAAI;;;;KAKb,CACF,EAhBC,EAAAP,EAAA,CAAAQ,EAAc,kBAAkB,CAAA,EAAAL,CAAA,E"}
@@ -0,0 +1,2 @@
1
+ import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);text-align:start;display:block}:host([hidden]){display:none}.zone{flex-direction:column;align-items:flex-start;display:flex}.reference{align-items:center;gap:var(--spacing-8);display:inline-flex}.full,.discount{display:contents}::slotted([slot=full]),::slotted([slot=discount]){margin-bottom:var(--spacing-16)}.full{font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);font-family:var(--typography-body-small-fontFamily);color:var(--color-text-primary)}.amount{font-size:var(--typography-heading-h3-fontSize);font-weight:var(--typography-heading-h3-fontWeight);line-height:var(--typography-heading-h3-lineHeight);letter-spacing:var(--typography-heading-h3-letterSpacing);font-family:var(--typography-heading-h3-fontFamily);color:var(--color-text-primary);margin:0}.caption{margin-top:var(--spacing-16);max-width:80%;font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);font-family:var(--typography-body-small-fontFamily);color:var(--color-text-primary)}.zone [hidden]{display:none}@media (width<768px){.reference{gap:var(--spacing-4);flex-direction:column}}`;export{t as default};
2
+ //# sourceMappingURL=pricing-price.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing-price.css.js","names":["pricing_price_css_default"],"sources":["../../../../src/components/pricing-card/pricing-price.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\n/* bd-pricing-price: 3.x v1's price zone (pricing-card.css.ts's .pricing,\n .pricing-info, .original-price, .price and .terms), at its type roles. */\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n text-align: start;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n .zone {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n\n /* The full price and the discount, side by side and centred on each other\n as 3.x's .pricing-info row was; stacked below md, 4 apart. The wrappers\n draw no box, so the page's nodes are the row's items: the store hides a\n node with display: none, and a row whose nodes are both hidden takes no\n room. */\n .reference {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-8);\n }\n\n .full,\n .discount {\n display: contents;\n }\n\n /* The 16 under the row was the bottom margin of the bd-p 3.x wrapped each\n node in; it is the nodes' own here, so it goes with them when the store\n hides them. */\n ::slotted([slot=\"full\"]),\n ::slotted([slot=\"discount\"]) {\n margin-bottom: var(--spacing-16);\n }\n\n /* The struck full price: 3.x's bd-p small, body-small in primary ink. The\n page's <s> draws the strike. */\n .full {\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n font-family: var(--typography-body-small-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* The price and its unit, one line in the heading-h3 role, as 3.x's\n .price paragraph read it. */\n .amount {\n margin: 0;\n font-size: var(--typography-heading-h3-fontSize);\n font-weight: var(--typography-heading-h3-fontWeight);\n line-height: var(--typography-heading-h3-lineHeight);\n letter-spacing: var(--typography-heading-h3-letterSpacing);\n font-family: var(--typography-heading-h3-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* The small print: 3.x's bd-p small, 15 under the price (16, the step on\n the scale) and four-fifths of the card wide. */\n .caption {\n margin-top: var(--spacing-16);\n max-width: 80%;\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n font-family: var(--typography-body-small-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* A part's box is hidden while its slot is empty; this outweighs the\n display each box sets above. */\n .zone [hidden] {\n display: none;\n }\n\n @media ${unsafeCSS(below(\"md\"))} {\n .reference {\n flex-direction: column;\n gap: var(--spacing-4);\n }\n }\n`;\n"],"mappings":"A,4DAKA,IAAAA,EAAe,CAAG,k5C"}
@@ -0,0 +1,56 @@
1
+ import { LitElement } from "lit";
2
+ import { SlotController } from "../shared/controller.slot.js";
3
+ import "../../tokens/tokens.js";
4
+ import "../badge/badge.js";
5
+ import "../link/link.js";
6
+ type Part = "" | "full" | "discount" | "period" | "caption";
7
+ /**
8
+ * A pricing card's price zone: the struck full price and the discount, the
9
+ * price itself with its billing unit, and the line under it.
10
+ *
11
+ * <bd-pricing-price slot="price">
12
+ * <s slot="full" data-store-render data-store-price="full" data-store-hide="!it.option.price.discounted"></s>
13
+ * <bd-badge slot="discount" variant="success" appearance="shade" data-store-hide="!it.option.price.discounted">
14
+ * Save <span data-store-render data-store-discount="percentage"></span>
15
+ * </bd-badge>
16
+ * <span data-store-render data-store-price="discounted||full"></span>
17
+ * <span slot="period">/year</span>
18
+ * <span slot="caption">First year price. Plus applicable sales tax. See <bd-link href="#terms" inline underline>terms of use</bd-link> below.</span>
19
+ * </bd-pricing-price>
20
+ *
21
+ * EVERY NODE THE STORE FILLS IS THE PAGE'S. 3.x's v1 card rendered this zone
22
+ * itself, into the light DOM so the store and anything reading the page
23
+ * found it, and v2's pricing-card-pricing did the same inside a
24
+ * bd-context/bd-product/bd-option of its own. Here the page writes each
25
+ * node, with its data-store-* attributes, inside the bd-product and
26
+ * bd-option it wraps the card in; @repobit/dex-store-elements finds them in
27
+ * the document, and each node's request for the store's scope bubbles from
28
+ * the page's node, through this element's slot and the card's, to that
29
+ * bd-option. Nothing store-bound is in a shadow root, so neither element
30
+ * needs the store's `shadow` opt-in.
31
+ *
32
+ * 3.x hid the full price and the discount together, on their row, with
33
+ * data-store-hide="!it.option.price.discounted"; the page writes it on both
34
+ * nodes now. The store hides a node with display: none, and the 16 under the
35
+ * row is the nodes' own margin, so a price with no discount closes the row
36
+ * up as 3.x's did.
37
+ *
38
+ * 3.x's type, at 3.x's roles: the full price at body-small, the price and
39
+ * its unit at heading-h3 (it is a figure the card states, not a heading of
40
+ * anything, so it is a paragraph), the caption at body-small in 80% of the
41
+ * card. The words -- "Save", "/year", "First year price…" -- are the
42
+ * page's. The monthly and yearly prices of a billing toggle are two of these,
43
+ * one in each panel of a bd-tab-group the page writes into the card's price
44
+ * slot.
45
+ */
46
+ export declare class BdPricingPrice extends LitElement {
47
+ static styles: import("lit").CSSResult[];
48
+ _slots: SlotController<Part>;
49
+ render(): import("lit-html").TemplateResult<1>;
50
+ }
51
+ declare global {
52
+ interface HTMLElementTagNameMap {
53
+ "bd-pricing-price": BdPricingPrice;
54
+ }
55
+ }
56
+ export {};
@@ -0,0 +1,11 @@
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{SlotController as n}from"../shared/controller.slot.js";import"../link/link.js";import"../badge/badge.js";import r from"./pricing-price.css.js";import{LitElement as i,html as a}from"lit";var o=class extends i{constructor(...e){super(...e),this._slots=new n(this,{slots:[`full`,`discount`,``,`period`,`caption`]})}static{this.styles=[r]}render(){let e=e=>this._slots.has(e);return a`
2
+ <div class="zone">
3
+ <div class="reference" ?hidden=${!e(`full`)&&!e(`discount`)}>
4
+ <span class="full" ?hidden=${!e(`full`)}><slot name="full"></slot></span>
5
+ <span class="discount" ?hidden=${!e(`discount`)}><slot name="discount"></slot></span>
6
+ </div>
7
+ <p class="amount" ?hidden=${!e(``)&&!e(`period`)}><slot></slot><span class="period"><slot name="period"></slot></span></p>
8
+ <div class="caption" ?hidden=${!e(`caption`)}><slot name="caption"></slot></div>
9
+ </div>
10
+ `}};o=t([e(`bd-pricing-price`)],o);export{o as BdPricingPrice};
11
+ //# sourceMappingURL=pricing-price.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pricing-price.js","names":["priceCSS","_decorate","__decorate","pricing_price_css_default","BdPricingPrice","LitElement","_args","SlotController","has","part","defineElement"],"sources":["../../../../src/components/pricing-card/pricing-price.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\n/* The atoms the page writes into the slots: the discount's bd-badge and the\n caption's terms bd-link. */\nimport \"#components/badge/badge.ts\";\nimport \"#components/link/link.ts\";\nimport priceCSS from \"./pricing-price.css.ts\";\n\ntype Part = \"\" | \"full\" | \"discount\" | \"period\" | \"caption\";\n\n/**\n * A pricing card's price zone: the struck full price and the discount, the\n * price itself with its billing unit, and the line under it.\n *\n * <bd-pricing-price slot=\"price\">\n * <s slot=\"full\" data-store-render data-store-price=\"full\" data-store-hide=\"!it.option.price.discounted\"></s>\n * <bd-badge slot=\"discount\" variant=\"success\" appearance=\"shade\" data-store-hide=\"!it.option.price.discounted\">\n * Save <span data-store-render data-store-discount=\"percentage\"></span>\n * </bd-badge>\n * <span data-store-render data-store-price=\"discounted||full\"></span>\n * <span slot=\"period\">/year</span>\n * <span slot=\"caption\">First year price. Plus applicable sales tax. See <bd-link href=\"#terms\" inline underline>terms of use</bd-link> below.</span>\n * </bd-pricing-price>\n *\n * EVERY NODE THE STORE FILLS IS THE PAGE'S. 3.x's v1 card rendered this zone\n * itself, into the light DOM so the store and anything reading the page\n * found it, and v2's pricing-card-pricing did the same inside a\n * bd-context/bd-product/bd-option of its own. Here the page writes each\n * node, with its data-store-* attributes, inside the bd-product and\n * bd-option it wraps the card in; @repobit/dex-store-elements finds them in\n * the document, and each node's request for the store's scope bubbles from\n * the page's node, through this element's slot and the card's, to that\n * bd-option. Nothing store-bound is in a shadow root, so neither element\n * needs the store's `shadow` opt-in.\n *\n * 3.x hid the full price and the discount together, on their row, with\n * data-store-hide=\"!it.option.price.discounted\"; the page writes it on both\n * nodes now. The store hides a node with display: none, and the 16 under the\n * row is the nodes' own margin, so a price with no discount closes the row\n * up as 3.x's did.\n *\n * 3.x's type, at 3.x's roles: the full price at body-small, the price and\n * its unit at heading-h3 (it is a figure the card states, not a heading of\n * anything, so it is a paragraph), the caption at body-small in 80% of the\n * card. The words -- \"Save\", \"/year\", \"First year price…\" -- are the\n * page's. The monthly and yearly prices of a billing toggle are two of these,\n * one in each panel of a bd-tab-group the page writes into the card's price\n * slot.\n */\n@defineElement(\"bd-pricing-price\")\nexport class BdPricingPrice extends LitElement {\n static styles = [priceCSS];\n\n _slots = new SlotController<Part>(this, { slots: [\"full\", \"discount\", \"\", \"period\", \"caption\"] });\n\n render() {\n const has = (part: Part) => this._slots.has(part);\n return html`\n <div class=\"zone\">\n <div class=\"reference\" ?hidden=${!has(\"full\") && !has(\"discount\")}>\n <span class=\"full\" ?hidden=${!has(\"full\")}><slot name=\"full\"></slot></span>\n <span class=\"discount\" ?hidden=${!has(\"discount\")}><slot name=\"discount\"></slot></span>\n </div>\n <p class=\"amount\" ?hidden=${!has(\"\") && !has(\"period\")}><slot></slot><span class=\"period\"><slot name=\"period\"></slot></span></p>\n <div class=\"caption\" ?hidden=${!has(\"caption\")}><slot name=\"caption\"></slot></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-pricing-price\": BdPricingPrice;\n }\n}\n"],"mappings":"A,sWAqDO,IAAMI,EAAN,cAA6BC,CAAW,C,8BAGpC,KAAA,OAAA,IAAIE,EAAqB,KAAM,CAAE,MAAO,CAAC,OAAQ,WAAY,GAAI,SAAU,SAAS,CAAE,CAAC,C,QAFhF,KAAA,OAAA,CAACP,CAAQ,C,CAIzB,QAAS,CACP,IAAMQ,EAAO,GAAe,KAAK,OAAO,IAAIC,CAAI,EAChD,MAAO,EAAI;;yCAE0B,CAACD,EAAI,MAAM,GAAK,CAACA,EAAI,UAAU,EAAE;uCACnC,CAACA,EAAI,MAAM,EAAE;2CACT,CAACA,EAAI,UAAU,EAAE;;oCAExB,CAACA,EAAI,EAAE,GAAK,CAACA,EAAI,QAAQ,EAAE;uCACxB,CAACA,EAAI,SAAS,EAAE;;KAGrD,CACF,EAnBC,EAAAP,EAAA,CAAAS,EAAc,kBAAkB,CAAA,EAAAN,CAAA,E"}
@@ -0,0 +1,2 @@
1
+ import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{border-top:var(--border-width-1) solid var(--color-border-container-inverse);padding-top:var(--spacing-24);font-family:var(--typography-fontFamily-sans);color-scheme:light;--bd-heading-color:var(--color-text-inverse);--bd-paragraph-color:var(--color-text-inverse);flex-direction:column;display:flex}:host([hidden]),.icon[hidden],.title[hidden],.description[hidden]{display:none}.icon{width:var(--dimension-40);height:var(--dimension-40);margin-bottom:var(--spacing-16);color:var(--color-text-inverse);justify-content:center;align-items:center;display:flex}::slotted(bd-icon[slot=icon]){--bd-icon-size:var(--dimension-40)}::slotted(bd-img[slot=icon]){width:100%}.title{margin:0 0 var(--spacing-8)}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h4-fontSize);--bd-heading-font-weight:var(--typography-heading-h4-fontWeight);--bd-heading-line-height:var(--typography-heading-h4-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h4-letterSpacing);--bd-heading-font-family:var(--typography-heading-h4-fontFamily)}::slotted([slot=description]){--bd-paragraph-color:var(--color-text-muted-inverse)}`;export{t as default};
2
+ //# sourceMappingURL=process-step.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process-step.css.js","names":["process_step_css_default"],"sources":["../../../../src/components/process-steps/process-step.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { headingRole, ink } from \"#shared/token-scales.ts\";\n\n/* The step bd-process-steps drew for each entry of its `steps` array, moved\n with its rules and measured against that render. */\nexport default css`\n /* The host is the section's grid item. A step only appears on the\n section's dark band, so it names the band's ink for what it holds: an\n inverse bd-h or bd-p slotted here reads on the band wherever the step is\n placed. The band is dark in every theme and draws in the light scheme\n (process-steps.css.ts), and so does a step, so its inverse ink is the\n band's white wherever it is placed, on a dark page too. */\n :host {\n display: flex;\n flex-direction: column;\n /* A boundary on an inverse ground. --color-border-container-inverse is\n color-mix(in srgb, var(--color-neutral-0) 12%, transparent) -- white at\n 12%, the system's only translucent colour role. 3.x drew it as a\n divider element with 24 under it; it is the step's own top edge now. */\n border-top: var(--border-width-1) solid var(--color-border-container-inverse);\n padding-top: var(--spacing-24);\n font-family: var(--typography-fontFamily-sans);\n color-scheme: light;\n ${unsafeCSS(ink(\"inverse\"))}\n }\n\n /* The native hidden attribute has to beat the display above, and each\n part's box is hidden while its slot is empty. */\n :host([hidden]),\n .icon[hidden],\n .title[hidden],\n .description[hidden] {\n display: none;\n }\n\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n /* an icon frame, not a control icon, so it keeps its 40 rather than being\n pushed onto the 32/48 icon steps -- but 40 is a dimension token, not a\n literal */\n width: var(--dimension-40);\n height: var(--dimension-40);\n margin-bottom: var(--spacing-16);\n /* The inverse ink. DECIDED, and this is a real colour change: the icon goes from\n blue to white. It sits on this module's dark band, where the only inks clearing\n 3:1 are blue-400 and white -- and the ink role for a dark ground is\n --color-text-inverse, which is what every other on-dark element here uses:\n bd-link collapses all five kinds to it under surface=\"dark\", and so do the\n header watermark and the footer's social icons. Contrast 3.97:1 at the band's\n light end -> 13.28:1. The alternative was a brand-inverse ink, which vocabulary\n question C established the system does not have and does not want. */\n color: var(--color-text-inverse);\n }\n\n /* A drawing fills its frame, as the 3.x icons did through width=\"40\" and\n height=\"40\". 40 is no step on the icon scale, so the frame sizes the icon\n rather than a size attribute: this rule comes from the step's shadow\n root, outside bd-icon's, so it beats the size sheet bd-icon adopts on its\n :host. It moved here from bd-process-steps with the frame. */\n ::slotted(bd-icon[slot=\"icon\"]) {\n --bd-icon-size: var(--dimension-40);\n }\n\n /* An image takes the frame's width and keeps its proportions, and the\n frame centres it, as 3.x's contained <img> was. bd-img's own <img> is\n out of reach, so the host is sized and the image follows it. */\n ::slotted(bd-img[slot=\"icon\"]) {\n width: 100%;\n }\n\n .title {\n margin: 0 0 var(--spacing-8);\n }\n\n /* The step's title: the h4 role 3.x rendered, at every level the page picks. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h4\"))}\n }\n\n /* The band's muted ink, a step under the title's: --color-text-muted-inverse\n is no role ink() names, so the paragraph's ink hook is set to it. */\n ::slotted([slot=\"description\"]) {\n --bd-paragraph-color: var(--color-text-muted-inverse);\n }\n`;\n"],"mappings":"A,4DAKA,IAAAA,EAAe,CAAG,ypC"}
@@ -0,0 +1,31 @@
1
+ import { LitElement } from "lit";
2
+ import { SlotController } from "../shared/controller.slot.js";
3
+ import "../../tokens/tokens.js";
4
+ /**
5
+ * One step of bd-process-steps: an icon in a 40px frame, a title and a
6
+ * description, under a hairline.
7
+ *
8
+ * <bd-process-step>
9
+ * <bd-icon slot="icon" name="guide"></bd-icon>
10
+ * <bd-h slot="title" as="h3">Set a policy baseline</bd-h>
11
+ * <bd-p slot="description">Define what agents are allowed to do …</bd-p>
12
+ * </bd-process-step>
13
+ *
14
+ * It replaces an entry of the section's `steps` array. A step sits on the
15
+ * section's dark band, so it names the band's ink, inverse, for everything
16
+ * slotted into it; the title takes the h4 role 3.x rendered, at whatever
17
+ * level the page picks, and the description the band's muted ink. A
18
+ * bd-icon in the icon slot is drawn at the frame's 40, which is no step of
19
+ * the icon scale; a bd-img fills the frame. Each part's box is hidden while
20
+ * its slot is empty.
21
+ */
22
+ export declare class BdProcessStep extends LitElement {
23
+ static styles: import("lit").CSSResult[];
24
+ _slots: SlotController<"title" | "description" | "icon">;
25
+ render(): import("lit-html").TemplateResult<1>;
26
+ }
27
+ declare global {
28
+ interface HTMLElementTagNameMap {
29
+ "bd-process-step": BdProcessStep;
30
+ }
31
+ }
@@ -0,0 +1,6 @@
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{SlotController as n}from"../shared/controller.slot.js";import r from"./process-step.css.js";import{LitElement as i,html as a}from"lit";var o=class extends i{constructor(...e){super(...e),this._slots=new n(this,{slots:[`icon`,`title`,`description`]})}static{this.styles=[r]}render(){return a`
2
+ <div class="icon" ?hidden=${!this._slots.has(`icon`)}><slot name="icon"></slot></div>
3
+ <div class="title" ?hidden=${!this._slots.has(`title`)}><slot name="title"></slot></div>
4
+ <div class="description" ?hidden=${!this._slots.has(`description`)}><slot name="description"></slot></div>
5
+ `}};o=t([e(`bd-process-step`)],o);export{o as BdProcessStep};
6
+ //# sourceMappingURL=process-step.js.map