@repobit/dex-system-design 3.1.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1048) hide show
  1. package/CHANGELOG.md +1074 -0
  2. package/README.md +31 -6
  3. package/dist/src/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
  4. package/dist/src/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
  5. package/dist/src/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
  6. package/dist/src/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
  7. package/dist/src/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
  8. package/dist/src/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
  9. package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
  10. package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
  11. package/dist/src/components/abstract/abstract.css.d.ts +7 -0
  12. package/dist/src/components/abstract/abstract.css.js +2 -0
  13. package/dist/src/components/abstract/abstract.css.js.map +1 -0
  14. package/dist/src/components/abstract/abstract.d.ts +31 -0
  15. package/dist/src/components/abstract/abstract.js +2 -0
  16. package/dist/src/components/abstract/abstract.js.map +1 -0
  17. package/dist/src/components/accordion/accordion-item.d.ts +93 -0
  18. package/dist/src/components/accordion/accordion-item.js +25 -0
  19. package/dist/src/components/accordion/accordion-item.js.map +1 -0
  20. package/dist/src/components/accordion/accordion-keyboard.d.ts +5 -5
  21. package/dist/src/components/accordion/accordion-keyboard.js +1 -1
  22. package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
  23. package/dist/src/components/accordion/accordion.css.d.ts +2 -2
  24. package/dist/src/components/accordion/accordion.css.js +1 -1
  25. package/dist/src/components/accordion/accordion.css.js.map +1 -1
  26. package/dist/src/components/accordion/accordion.d.ts +66 -31
  27. package/dist/src/components/accordion/accordion.js +8 -66
  28. package/dist/src/components/accordion/accordion.js.map +1 -1
  29. package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js +2 -0
  30. package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js.map +1 -0
  31. package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -1
  32. package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
  33. package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +38 -21
  34. package/dist/src/components/agent-endpoints/agent-endpoints.js +22 -41
  35. package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
  36. package/dist/src/components/anchor-nav/anchor-nav-item.css.d.ts +1 -0
  37. package/dist/src/components/anchor-nav/anchor-nav-item.css.js +2 -0
  38. package/dist/src/components/anchor-nav/anchor-nav-item.css.js.map +1 -0
  39. package/dist/src/components/anchor-nav/anchor-nav-item.d.ts +38 -0
  40. package/dist/src/components/anchor-nav/anchor-nav-item.js +2 -0
  41. package/dist/src/components/anchor-nav/anchor-nav-item.js.map +1 -0
  42. package/dist/src/components/anchor-nav/anchor-nav.css.js +2 -0
  43. package/dist/src/components/anchor-nav/anchor-nav.css.js.map +1 -0
  44. package/dist/src/components/{anchor → anchor-nav}/anchor-nav.d.ts +41 -23
  45. package/dist/src/components/anchor-nav/anchor-nav.js +43 -0
  46. package/dist/src/components/anchor-nav/anchor-nav.js.map +1 -0
  47. package/dist/src/components/annotation/annotation.css.js +1 -1
  48. package/dist/src/components/annotation/annotation.css.js.map +1 -1
  49. package/dist/src/components/annotation/annotation.js +2 -2
  50. package/dist/src/components/annotation/annotation.js.map +1 -1
  51. package/dist/src/components/article/article.css.d.ts +30 -0
  52. package/dist/src/components/article/article.css.js +2 -0
  53. package/dist/src/components/article/article.css.js.map +1 -0
  54. package/dist/src/components/article/article.d.ts +135 -0
  55. package/dist/src/components/article/article.js +39 -0
  56. package/dist/src/components/article/article.js.map +1 -0
  57. package/dist/src/components/audience-card/audience-card.css.js +1 -1
  58. package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
  59. package/dist/src/components/audience-card/audience-card.d.ts +30 -15
  60. package/dist/src/components/audience-card/audience-card.js +9 -11
  61. package/dist/src/components/audience-card/audience-card.js.map +1 -1
  62. package/dist/src/components/authors/authors.css.d.ts +7 -0
  63. package/dist/src/components/authors/authors.css.js +2 -0
  64. package/dist/src/components/authors/authors.css.js.map +1 -0
  65. package/dist/src/components/authors/authors.d.ts +29 -0
  66. package/dist/src/components/authors/authors.js +7 -0
  67. package/dist/src/components/authors/authors.js.map +1 -0
  68. package/dist/src/components/avatar/avatar.js +6 -6
  69. package/dist/src/components/avatar/avatar.js.map +1 -1
  70. package/dist/src/components/awards/award-marks.css.js +2 -0
  71. package/dist/src/components/awards/award-marks.css.js.map +1 -0
  72. package/dist/src/components/awards/award.css.js +2 -0
  73. package/dist/src/components/awards/award.css.js.map +1 -0
  74. package/dist/src/components/awards/award.d.ts +65 -0
  75. package/dist/src/components/awards/award.js +11 -0
  76. package/dist/src/components/awards/award.js.map +1 -0
  77. package/dist/src/components/awards/awards.css.d.ts +2 -1
  78. package/dist/src/components/awards/awards.css.js +1 -1
  79. package/dist/src/components/awards/awards.css.js.map +1 -1
  80. package/dist/src/components/awards/awards.d.ts +123 -71
  81. package/dist/src/components/awards/awards.js +46 -57
  82. package/dist/src/components/awards/awards.js.map +1 -1
  83. package/dist/src/components/awards/scroll-slides.d.ts +9 -8
  84. package/dist/src/components/awards/scroll-slides.js.map +1 -1
  85. package/dist/src/components/back/back.d.ts +12 -7
  86. package/dist/src/components/back/back.js +6 -6
  87. package/dist/src/components/back/back.js.map +1 -1
  88. package/dist/src/components/badge/badge.css.js +1 -1
  89. package/dist/src/components/badge/badge.css.js.map +1 -1
  90. package/dist/src/components/badge/badge.d.ts +11 -11
  91. package/dist/src/components/badge/badge.js +2 -2
  92. package/dist/src/components/badge/badge.js.map +1 -1
  93. package/dist/src/components/bar-chart/bar-chart.css.js +2 -0
  94. package/dist/src/components/bar-chart/bar-chart.css.js.map +1 -0
  95. package/dist/src/components/bar-chart/bar-chart.d.ts +147 -0
  96. package/dist/src/components/bar-chart/bar-chart.js +42 -0
  97. package/dist/src/components/bar-chart/bar-chart.js.map +1 -0
  98. package/dist/src/components/bento-grid/bento-grid.css.js +2 -2
  99. package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
  100. package/dist/src/components/bento-grid/bento-grid.d.ts +21 -9
  101. package/dist/src/components/bento-grid/bento-grid.js +10 -26
  102. package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
  103. package/dist/src/components/bento-grid/bento-item.css.js +1 -1
  104. package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
  105. package/dist/src/components/bento-grid/bento-item.d.ts +34 -13
  106. package/dist/src/components/bento-grid/bento-item.js +9 -26
  107. package/dist/src/components/bento-grid/bento-item.js.map +1 -1
  108. package/dist/src/components/blockquote/blockquote.css.js +1 -1
  109. package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
  110. package/dist/src/components/blockquote/blockquote.d.ts +27 -2
  111. package/dist/src/components/blockquote/blockquote.js +1 -1
  112. package/dist/src/components/blockquote/blockquote.js.map +1 -1
  113. package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -4
  114. package/dist/src/components/breadcrumb/breadcrumb.js +5 -5
  115. package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
  116. package/dist/src/components/button/button.css.js +1 -1
  117. package/dist/src/components/button/button.css.js.map +1 -1
  118. package/dist/src/components/button/button.d.ts +87 -96
  119. package/dist/src/components/button/button.js +20 -33
  120. package/dist/src/components/button/button.js.map +1 -1
  121. package/dist/src/components/{alert/alert.css.d.ts → callout/callout.css.d.ts} +9 -9
  122. package/dist/src/components/callout/callout.css.js +2 -0
  123. package/dist/src/components/callout/callout.css.js.map +1 -0
  124. package/dist/src/components/callout/callout.d.ts +56 -0
  125. package/dist/src/components/callout/callout.js +28 -0
  126. package/dist/src/components/callout/callout.js.map +1 -0
  127. package/dist/src/components/caption/caption.js +2 -2
  128. package/dist/src/components/caption/caption.js.map +1 -1
  129. package/dist/src/components/card/card-grid.css.js +2 -0
  130. package/dist/src/components/card/card-grid.css.js.map +1 -0
  131. package/dist/src/components/card/card-grid.d.ts +63 -0
  132. package/dist/src/components/card/card-grid.js +10 -0
  133. package/dist/src/components/card/card-grid.js.map +1 -0
  134. package/dist/src/components/card/card.css.js +2 -0
  135. package/dist/src/components/card/card.css.js.map +1 -0
  136. package/dist/src/components/card/card.d.ts +86 -0
  137. package/dist/src/components/card/card.js +15 -0
  138. package/dist/src/components/card/card.js.map +1 -0
  139. package/dist/src/components/carousel/carousel.css.js +1 -1
  140. package/dist/src/components/carousel/carousel.css.js.map +1 -1
  141. package/dist/src/components/carousel/carousel.d.ts +64 -37
  142. package/dist/src/components/carousel/carousel.js +24 -32
  143. package/dist/src/components/carousel/carousel.js.map +1 -1
  144. package/dist/src/components/checkbox/checkbox.d.ts +15 -1
  145. package/dist/src/components/checkbox/checkbox.js +6 -5
  146. package/dist/src/components/checkbox/checkbox.js.map +1 -1
  147. package/dist/src/components/code/code.css.d.ts +15 -0
  148. package/dist/src/components/code/code.css.js +1 -1
  149. package/dist/src/components/code/code.css.js.map +1 -1
  150. package/dist/src/components/code/code.d.ts +100 -4
  151. package/dist/src/components/code/code.js +17 -3
  152. package/dist/src/components/code/code.js.map +1 -1
  153. package/dist/src/components/code/prism-page.d.ts +2 -0
  154. package/dist/src/components/code/prism-page.js +2 -0
  155. package/dist/src/components/code/prism-page.js.map +1 -0
  156. package/dist/src/components/code/prism.d.ts +10 -0
  157. package/dist/src/components/code/prism.js +2 -0
  158. package/dist/src/components/code/prism.js.map +1 -0
  159. package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -1
  160. package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
  161. package/dist/src/components/comparison-panel/comparison-panel.d.ts +36 -15
  162. package/dist/src/components/comparison-panel/comparison-panel.js +25 -46
  163. package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
  164. package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +25 -0
  165. package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -1
  166. package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
  167. package/dist/src/components/compatibility-table/compatibility-table.d.ts +66 -42
  168. package/dist/src/components/compatibility-table/compatibility-table.js +5 -64
  169. package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
  170. package/dist/src/components/cta-banner/cta-banner.css.js +1 -1
  171. package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
  172. package/dist/src/components/cta-banner/cta-banner.d.ts +17 -8
  173. package/dist/src/components/cta-banner/cta-banner.js +8 -28
  174. package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
  175. package/dist/src/components/dialog/dialog.css.js +2 -0
  176. package/dist/src/components/dialog/dialog.css.js.map +1 -0
  177. package/dist/src/components/dialog/dialog.d.ts +76 -0
  178. package/dist/src/components/dialog/dialog.js +32 -0
  179. package/dist/src/components/dialog/dialog.js.map +1 -0
  180. package/dist/src/components/display/display.css.js +1 -1
  181. package/dist/src/components/display/display.css.js.map +1 -1
  182. package/dist/src/components/display/display.d.ts +30 -6
  183. package/dist/src/components/display/display.js +7 -5
  184. package/dist/src/components/display/display.js.map +1 -1
  185. package/dist/src/components/divider/divider.css.d.ts +2 -2
  186. package/dist/src/components/divider/divider.css.js +1 -1
  187. package/dist/src/components/divider/divider.css.js.map +1 -1
  188. package/dist/src/components/divider/divider.d.ts +36 -0
  189. package/dist/src/components/divider/divider.js +21 -0
  190. package/dist/src/components/divider/divider.js.map +1 -0
  191. package/dist/src/components/fact/fact.css.d.ts +1 -0
  192. package/dist/src/components/fact/fact.css.js +2 -0
  193. package/dist/src/components/fact/fact.css.js.map +1 -0
  194. package/dist/src/components/fact/fact.d.ts +37 -0
  195. package/dist/src/components/fact/fact.js +2 -0
  196. package/dist/src/components/fact/fact.js.map +1 -0
  197. package/dist/src/components/feature-columns/feature-columns.css.d.ts +2 -0
  198. package/dist/src/components/feature-columns/feature-columns.css.js +2 -0
  199. package/dist/src/components/feature-columns/feature-columns.css.js.map +1 -0
  200. package/dist/src/components/feature-columns/feature-columns.d.ts +61 -0
  201. package/dist/src/components/feature-columns/feature-columns.js +11 -0
  202. package/dist/src/components/feature-columns/feature-columns.js.map +1 -0
  203. package/dist/src/components/features-tab/features-tab.css.js +1 -1
  204. package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
  205. package/dist/src/components/features-tab/features-tab.d.ts +21 -6
  206. package/dist/src/components/features-tab/features-tab.js +9 -21
  207. package/dist/src/components/features-tab/features-tab.js.map +1 -1
  208. package/dist/src/components/fieldset/fieldset.d.ts +16 -1
  209. package/dist/src/components/fieldset/fieldset.js +3 -3
  210. package/dist/src/components/fieldset/fieldset.js.map +1 -1
  211. package/dist/src/components/footer/footer-group.css.js +2 -0
  212. package/dist/src/components/footer/footer-group.css.js.map +1 -0
  213. package/dist/src/components/footer/footer-group.d.ts +28 -0
  214. package/dist/src/components/footer/footer-group.js +5 -0
  215. package/dist/src/components/footer/footer-group.js.map +1 -0
  216. package/dist/src/components/footer/footer-locale.js +1 -1
  217. package/dist/src/components/footer/footer-locale.js.map +1 -1
  218. package/dist/src/components/footer/footer-nav.css.js +2 -0
  219. package/dist/src/components/footer/footer-nav.css.js.map +1 -0
  220. package/dist/src/components/footer/{footer-nav-menu.d.ts → footer-nav.d.ts} +2 -1
  221. package/dist/src/components/footer/footer-nav.js +6 -0
  222. package/dist/src/components/footer/footer-nav.js.map +1 -0
  223. package/dist/src/components/footer/footer.css.js +1 -1
  224. package/dist/src/components/footer/footer.css.js.map +1 -1
  225. package/dist/src/components/footer/footer.d.ts +38 -10
  226. package/dist/src/components/footer/footer.js +71 -93
  227. package/dist/src/components/footer/footer.js.map +1 -1
  228. package/dist/src/components/grid/grid.js +7 -7
  229. package/dist/src/components/h/h.css.js +2 -0
  230. package/dist/src/components/h/h.css.js.map +1 -0
  231. package/dist/src/components/{heading/heading.d.ts → h/h.d.ts} +14 -0
  232. package/dist/src/components/h/h.js +7 -0
  233. package/dist/src/components/h/h.js.map +1 -0
  234. package/dist/src/components/hero/hero.css.js +1 -1
  235. package/dist/src/components/hero/hero.css.js.map +1 -1
  236. package/dist/src/components/hero/hero.d.ts +42 -24
  237. package/dist/src/components/hero/hero.js +15 -19
  238. package/dist/src/components/hero/hero.js.map +1 -1
  239. package/dist/src/components/highlight/highlight.css.js +1 -1
  240. package/dist/src/components/highlight/highlight.css.js.map +1 -1
  241. package/dist/src/components/highlight/highlight.d.ts +21 -12
  242. package/dist/src/components/highlight/highlight.js +1 -4
  243. package/dist/src/components/highlight/highlight.js.map +1 -1
  244. package/dist/src/components/hint/hint.css.d.ts +3 -0
  245. package/dist/src/components/{help-text/help-text.css.js → hint/hint.css.js} +2 -2
  246. package/dist/src/components/hint/hint.css.js.map +1 -0
  247. package/dist/src/components/hint/hint.d.ts +33 -0
  248. package/dist/src/components/hint/hint.js +4 -0
  249. package/dist/src/components/hint/hint.js.map +1 -0
  250. package/dist/src/components/icons/analysis.d.ts +1 -0
  251. package/dist/src/components/icons/analysis.js +6 -0
  252. package/dist/src/components/icons/analysis.js.map +1 -0
  253. package/dist/src/components/icons/arrow-down.d.ts +1 -0
  254. package/dist/src/components/icons/arrow-down.js +6 -0
  255. package/dist/src/components/icons/arrow-down.js.map +1 -0
  256. package/dist/src/components/icons/arrow-right.d.ts +1 -0
  257. package/dist/src/components/icons/arrow-right.js +6 -0
  258. package/dist/src/components/icons/arrow-right.js.map +1 -0
  259. package/dist/src/components/icons/arrow-up.d.ts +1 -0
  260. package/dist/src/components/icons/arrow-up.js +6 -0
  261. package/dist/src/components/icons/arrow-up.js.map +1 -0
  262. package/dist/src/components/icons/arrow.d.ts +1 -0
  263. package/dist/src/components/icons/arrow.js +6 -0
  264. package/dist/src/components/icons/arrow.js.map +1 -0
  265. package/dist/src/components/icons/brand-signature.d.ts +1 -0
  266. package/dist/src/components/icons/brand-signature.js +6 -0
  267. package/dist/src/components/icons/brand-signature.js.map +1 -0
  268. package/dist/src/components/icons/check.d.ts +1 -0
  269. package/dist/src/components/icons/check.js +6 -0
  270. package/dist/src/components/icons/check.js.map +1 -0
  271. package/dist/src/components/icons/circle-info.d.ts +1 -0
  272. package/dist/src/components/icons/circle-info.js +8 -0
  273. package/dist/src/components/icons/circle-info.js.map +1 -0
  274. package/dist/src/components/icons/clipboard.d.ts +1 -0
  275. package/dist/src/components/icons/clipboard.js +7 -0
  276. package/dist/src/components/icons/clipboard.js.map +1 -0
  277. package/dist/src/components/icons/close.d.ts +1 -0
  278. package/dist/src/components/icons/close.js +6 -0
  279. package/dist/src/components/icons/close.js.map +1 -0
  280. package/dist/src/components/icons/enterprise.d.ts +1 -0
  281. package/dist/src/components/icons/enterprise.js +6 -0
  282. package/dist/src/components/icons/enterprise.js.map +1 -0
  283. package/dist/src/components/icons/envelope.d.ts +1 -0
  284. package/dist/src/components/icons/envelope.js +7 -0
  285. package/dist/src/components/icons/envelope.js.map +1 -0
  286. package/dist/src/components/icons/family.d.ts +1 -0
  287. package/dist/src/components/icons/family.js +8 -0
  288. package/dist/src/components/icons/family.js.map +1 -0
  289. package/dist/src/components/icons/globe.d.ts +1 -0
  290. package/dist/src/components/icons/globe.js +6 -0
  291. package/dist/src/components/icons/globe.js.map +1 -0
  292. package/dist/src/components/icons/guide.d.ts +1 -0
  293. package/dist/src/components/icons/guide.js +6 -0
  294. package/dist/src/components/icons/guide.js.map +1 -0
  295. package/dist/src/components/icons/home.d.ts +1 -0
  296. package/dist/src/components/icons/home.js +6 -0
  297. package/dist/src/components/icons/home.js.map +1 -0
  298. package/dist/src/components/icons/icon.d.ts +60 -0
  299. package/dist/src/components/icons/icon.js +2 -0
  300. package/dist/src/components/icons/icon.js.map +1 -0
  301. package/dist/src/components/icons/icons.d.ts +43 -36
  302. package/dist/src/components/icons/icons.js +1 -1
  303. package/dist/src/components/icons/individual.d.ts +1 -0
  304. package/dist/src/components/icons/individual.js +6 -0
  305. package/dist/src/components/icons/individual.js.map +1 -0
  306. package/dist/src/components/icons/laurel.d.ts +1 -0
  307. package/dist/src/components/icons/laurel.js +13 -0
  308. package/dist/src/components/icons/laurel.js.map +1 -0
  309. package/dist/src/components/icons/machine-learning.d.ts +1 -0
  310. package/dist/src/components/icons/machine-learning.js +6 -0
  311. package/dist/src/components/icons/machine-learning.js.map +1 -0
  312. package/dist/src/components/icons/mark.d.ts +66 -0
  313. package/dist/src/components/icons/mark.js +2 -0
  314. package/dist/src/components/icons/mark.js.map +1 -0
  315. package/dist/src/components/icons/marks/ai.d.ts +1 -0
  316. package/dist/src/components/icons/marks/ai.js +6 -0
  317. package/dist/src/components/icons/marks/ai.js.map +1 -0
  318. package/dist/src/components/icons/marks/av-comparatives.d.ts +1 -0
  319. package/dist/src/components/icons/marks/av-comparatives.js +12 -0
  320. package/dist/src/components/icons/marks/av-comparatives.js.map +1 -0
  321. package/dist/src/components/icons/marks/best-brands.d.ts +1 -0
  322. package/dist/src/components/icons/marks/best-brands.js +12 -0
  323. package/dist/src/components/icons/marks/best-brands.js.map +1 -0
  324. package/dist/src/components/icons/marks/pc-mag-2024.d.ts +1 -0
  325. package/dist/src/components/icons/marks/pc-mag-2024.js +11 -0
  326. package/dist/src/components/icons/marks/pc-mag-2024.js.map +1 -0
  327. package/dist/src/components/icons/marks/pc-mag-business.d.ts +1 -0
  328. package/dist/src/components/icons/marks/pc-mag-business.js +11 -0
  329. package/dist/src/components/icons/marks/pc-mag-business.js.map +1 -0
  330. package/dist/src/components/icons/marks/pc-mag-readers.d.ts +1 -0
  331. package/dist/src/components/icons/marks/pc-mag-readers.js +11 -0
  332. package/dist/src/components/icons/marks/pc-mag-readers.js.map +1 -0
  333. package/dist/src/components/icons/marks/pc-mag.d.ts +1 -0
  334. package/dist/src/components/icons/marks/pc-mag.js +11 -0
  335. package/dist/src/components/icons/marks/pc-mag.js.map +1 -0
  336. package/dist/src/components/icons/marks/top-product.d.ts +1 -0
  337. package/dist/src/components/icons/marks/top-product.js +11 -0
  338. package/dist/src/components/icons/marks/top-product.js.map +1 -0
  339. package/dist/src/components/icons/marks.d.ts +29 -28
  340. package/dist/src/components/icons/marks.js +1 -1
  341. package/dist/src/components/icons/minus.d.ts +1 -0
  342. package/dist/src/components/icons/minus.js +6 -0
  343. package/dist/src/components/icons/minus.js.map +1 -0
  344. package/dist/src/components/icons/pause.d.ts +1 -0
  345. package/dist/src/components/icons/pause.js +7 -0
  346. package/dist/src/components/icons/pause.js.map +1 -0
  347. package/dist/src/components/icons/play.d.ts +1 -0
  348. package/dist/src/components/icons/play.js +6 -0
  349. package/dist/src/components/icons/play.js.map +1 -0
  350. package/dist/src/components/icons/plus.d.ts +1 -0
  351. package/dist/src/components/icons/plus.js +6 -0
  352. package/dist/src/components/icons/plus.js.map +1 -0
  353. package/dist/src/components/icons/quote.d.ts +1 -0
  354. package/dist/src/components/icons/quote.js +6 -0
  355. package/dist/src/components/icons/quote.js.map +1 -0
  356. package/dist/src/components/icons/registry.d.ts +122 -0
  357. package/dist/src/components/icons/registry.js +4 -0
  358. package/dist/src/components/icons/registry.js.map +1 -0
  359. package/dist/src/components/icons/small-business.d.ts +1 -0
  360. package/dist/src/components/icons/small-business.js +6 -0
  361. package/dist/src/components/icons/small-business.js.map +1 -0
  362. package/dist/src/components/{image/image.css.js → img/img.css.js} +1 -1
  363. package/dist/src/components/img/img.css.js.map +1 -0
  364. package/dist/src/components/{image/image.d.ts → img/img.d.ts} +2 -2
  365. package/dist/src/components/img/img.js +17 -0
  366. package/dist/src/components/img/img.js.map +1 -0
  367. package/dist/src/components/input/input.css.d.ts +7 -5
  368. package/dist/src/components/input/input.css.js +1 -1
  369. package/dist/src/components/input/input.css.js.map +1 -1
  370. package/dist/src/components/input/input.d.ts +34 -12
  371. package/dist/src/components/input/input.js +30 -29
  372. package/dist/src/components/input/input.js.map +1 -1
  373. package/dist/src/components/install-options/install-option.css.js +2 -0
  374. package/dist/src/components/install-options/install-option.css.js.map +1 -0
  375. package/dist/src/components/install-options/install-option.d.ts +57 -0
  376. package/dist/src/components/install-options/install-option.js +29 -0
  377. package/dist/src/components/install-options/install-option.js.map +1 -0
  378. package/dist/src/components/install-options/install-options.css.js +1 -1
  379. package/dist/src/components/install-options/install-options.css.js.map +1 -1
  380. package/dist/src/components/install-options/install-options.d.ts +42 -31
  381. package/dist/src/components/install-options/install-options.js +42 -85
  382. package/dist/src/components/install-options/install-options.js.map +1 -1
  383. package/dist/src/components/key-takeaways/key-takeaways.css.d.ts +9 -0
  384. package/dist/src/components/key-takeaways/key-takeaways.css.js +2 -0
  385. package/dist/src/components/key-takeaways/key-takeaways.css.js.map +1 -0
  386. package/dist/src/components/key-takeaways/key-takeaways.d.ts +35 -0
  387. package/dist/src/components/key-takeaways/key-takeaways.js +10 -0
  388. package/dist/src/components/key-takeaways/key-takeaways.js.map +1 -0
  389. package/dist/src/components/label/label.js +3 -3
  390. package/dist/src/components/label/label.js.map +1 -1
  391. package/dist/src/components/link/link.css.js +1 -1
  392. package/dist/src/components/link/link.css.js.map +1 -1
  393. package/dist/src/components/link/link.d.ts +25 -16
  394. package/dist/src/components/link/link.js +3 -3
  395. package/dist/src/components/link/link.js.map +1 -1
  396. package/dist/src/components/list/list-item/list-item.css.js +1 -1
  397. package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
  398. package/dist/src/components/list/list-item/list-item.d.ts +9 -7
  399. package/dist/src/components/list/list-item/list-item.js +3 -3
  400. package/dist/src/components/list/list-item/list-item.js.map +1 -1
  401. package/dist/src/components/list/list.d.ts +3 -2
  402. package/dist/src/components/list/list.js +2 -2
  403. package/dist/src/components/list/list.js.map +1 -1
  404. package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -1
  405. package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
  406. package/dist/src/components/logo-marquee/logo-marquee.d.ts +2 -2
  407. package/dist/src/components/logo-marquee/logo-marquee.js +6 -8
  408. package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
  409. package/dist/src/components/meta/meta.css.d.ts +8 -0
  410. package/dist/src/components/meta/meta.css.js +2 -0
  411. package/dist/src/components/meta/meta.css.js.map +1 -0
  412. package/dist/src/components/meta/meta.d.ts +37 -0
  413. package/dist/src/components/meta/meta.js +2 -0
  414. package/dist/src/components/meta/meta.js.map +1 -0
  415. package/dist/src/components/motion-art/motion-art.d.ts +39 -2
  416. package/dist/src/components/motion-art/motion-art.js +1 -1
  417. package/dist/src/components/motion-art/motion-art.js.map +1 -1
  418. package/dist/src/components/newsletter-signup/newsletter-signup.css.js +2 -0
  419. package/dist/src/components/newsletter-signup/newsletter-signup.css.js.map +1 -0
  420. package/dist/src/components/newsletter-signup/newsletter-signup.d.ts +97 -0
  421. package/dist/src/components/newsletter-signup/newsletter-signup.js +37 -0
  422. package/dist/src/components/newsletter-signup/newsletter-signup.js.map +1 -0
  423. package/dist/src/components/overview/overview.css.js +1 -1
  424. package/dist/src/components/overview/overview.css.js.map +1 -1
  425. package/dist/src/components/overview/overview.d.ts +23 -12
  426. package/dist/src/components/overview/overview.js +9 -24
  427. package/dist/src/components/overview/overview.js.map +1 -1
  428. package/dist/src/components/p/p.css.js +2 -0
  429. package/dist/src/components/p/p.css.js.map +1 -0
  430. package/dist/src/components/{paragraph/paragraph.d.ts → p/p.d.ts} +3 -5
  431. package/dist/src/components/p/p.js +6 -0
  432. package/dist/src/components/p/p.js.map +1 -0
  433. package/dist/src/components/page-switcher/page-switcher.css.js +1 -1
  434. package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
  435. package/dist/src/components/page-switcher/page-switcher.d.ts +28 -28
  436. package/dist/src/components/page-switcher/page-switcher.js +5 -13
  437. package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
  438. package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -1
  439. package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
  440. package/dist/src/components/pagination-dots/pagination-dots.d.ts +4 -2
  441. package/dist/src/components/pagination-dots/pagination-dots.js +1 -1
  442. package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
  443. package/dist/src/components/partner-banner/partner-banner.css.js +1 -1
  444. package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
  445. package/dist/src/components/partner-banner/partner-banner.d.ts +44 -21
  446. package/dist/src/components/partner-banner/partner-banner.js +11 -11
  447. package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
  448. package/dist/src/components/paste-button/paste-button.css.d.ts +10 -0
  449. package/dist/src/components/paste-button/paste-button.css.js +2 -0
  450. package/dist/src/components/paste-button/paste-button.css.js.map +1 -0
  451. package/dist/src/components/paste-button/paste-button.d.ts +68 -0
  452. package/dist/src/components/paste-button/paste-button.js +17 -0
  453. package/dist/src/components/paste-button/paste-button.js.map +1 -0
  454. package/dist/src/components/picture/picture.js +3 -3
  455. package/dist/src/components/picture/picture.js.map +1 -1
  456. package/dist/src/components/post-card/post-card.css.js +1 -1
  457. package/dist/src/components/post-card/post-card.css.js.map +1 -1
  458. package/dist/src/components/post-card/post-card.d.ts +65 -24
  459. package/dist/src/components/post-card/post-card.js +13 -9
  460. package/dist/src/components/post-card/post-card.js.map +1 -1
  461. package/dist/src/components/pricing-card/pricing-card.css.js +2 -0
  462. package/dist/src/components/pricing-card/pricing-card.css.js.map +1 -0
  463. package/dist/src/components/pricing-card/pricing-card.d.ts +80 -0
  464. package/dist/src/components/pricing-card/pricing-card.js +16 -0
  465. package/dist/src/components/pricing-card/pricing-card.js.map +1 -0
  466. package/dist/src/components/pricing-card/pricing-feature-group.css.js +2 -0
  467. package/dist/src/components/pricing-card/pricing-feature-group.css.js.map +1 -0
  468. package/dist/src/components/pricing-card/pricing-feature-group.d.ts +50 -0
  469. package/dist/src/components/pricing-card/pricing-feature-group.js +7 -0
  470. package/dist/src/components/pricing-card/pricing-feature-group.js.map +1 -0
  471. package/dist/src/components/pricing-card/pricing-feature.css.js +2 -0
  472. package/dist/src/components/pricing-card/pricing-feature.css.js.map +1 -0
  473. package/dist/src/components/pricing-card/pricing-feature.d.ts +64 -0
  474. package/dist/src/components/pricing-card/pricing-feature.js +19 -0
  475. package/dist/src/components/pricing-card/pricing-feature.js.map +1 -0
  476. package/dist/src/components/pricing-card/pricing-group.css.d.ts +3 -0
  477. package/dist/src/components/pricing-card/pricing-group.css.js +2 -0
  478. package/dist/src/components/pricing-card/pricing-group.css.js.map +1 -0
  479. package/dist/src/components/pricing-card/pricing-group.d.ts +48 -0
  480. package/dist/src/components/pricing-card/pricing-group.js +6 -0
  481. package/dist/src/components/pricing-card/pricing-group.js.map +1 -0
  482. package/dist/src/components/pricing-card/pricing-price.css.js +2 -0
  483. package/dist/src/components/pricing-card/pricing-price.css.js.map +1 -0
  484. package/dist/src/components/pricing-card/pricing-price.d.ts +56 -0
  485. package/dist/src/components/pricing-card/pricing-price.js +11 -0
  486. package/dist/src/components/pricing-card/pricing-price.js.map +1 -0
  487. package/dist/src/components/process-steps/process-step.css.js +2 -0
  488. package/dist/src/components/process-steps/process-step.css.js.map +1 -0
  489. package/dist/src/components/process-steps/process-step.d.ts +31 -0
  490. package/dist/src/components/process-steps/process-step.js +6 -0
  491. package/dist/src/components/process-steps/process-step.js.map +1 -0
  492. package/dist/src/components/process-steps/process-steps.css.js +1 -1
  493. package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
  494. package/dist/src/components/process-steps/process-steps.d.ts +36 -19
  495. package/dist/src/components/process-steps/process-steps.js +5 -26
  496. package/dist/src/components/process-steps/process-steps.js.map +1 -1
  497. package/dist/src/components/product-hero/product-hero.css.js +2 -0
  498. package/dist/src/components/product-hero/product-hero.css.js.map +1 -0
  499. package/dist/src/components/product-hero/product-hero.d.ts +71 -0
  500. package/dist/src/components/product-hero/product-hero.js +123 -0
  501. package/dist/src/components/product-hero/product-hero.js.map +1 -0
  502. package/dist/src/components/product-upsell/product-upsell.css.js +2 -0
  503. package/dist/src/components/product-upsell/product-upsell.css.js.map +1 -0
  504. package/dist/src/components/product-upsell/product-upsell.d.ts +49 -0
  505. package/dist/src/components/product-upsell/product-upsell.js +14 -0
  506. package/dist/src/components/product-upsell/product-upsell.js.map +1 -0
  507. package/dist/src/components/progress-bar/progress-bar.css.d.ts +3 -0
  508. package/dist/src/components/progress-bar/progress-bar.css.js +2 -0
  509. package/dist/src/components/progress-bar/progress-bar.css.js.map +1 -0
  510. package/dist/src/components/progress-bar/progress-bar.d.ts +27 -0
  511. package/dist/src/components/progress-bar/progress-bar.js +15 -0
  512. package/dist/src/components/progress-bar/progress-bar.js.map +1 -0
  513. package/dist/src/components/quick-answer/quick-answer.css.js +1 -1
  514. package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
  515. package/dist/src/components/quick-answer/quick-answer.d.ts +25 -12
  516. package/dist/src/components/quick-answer/quick-answer.js +13 -29
  517. package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
  518. package/dist/src/components/radio/radio-group.css.js +1 -1
  519. package/dist/src/components/radio/radio-group.css.js.map +1 -1
  520. package/dist/src/components/radio/radio-group.d.ts +9 -5
  521. package/dist/src/components/radio/radio-group.js +5 -5
  522. package/dist/src/components/radio/radio-group.js.map +1 -1
  523. package/dist/src/components/radio/radio.css.d.ts +2 -1
  524. package/dist/src/components/radio/radio.css.js.map +1 -1
  525. package/dist/src/components/radio/radio.d.ts +8 -2
  526. package/dist/src/components/radio/radio.js +6 -5
  527. package/dist/src/components/radio/radio.js.map +1 -1
  528. package/dist/src/components/related-articles/related-articles.css.js +2 -0
  529. package/dist/src/components/related-articles/related-articles.css.js.map +1 -0
  530. package/dist/src/components/related-articles/related-articles.d.ts +52 -0
  531. package/dist/src/components/related-articles/related-articles.js +9 -0
  532. package/dist/src/components/related-articles/related-articles.js.map +1 -0
  533. package/dist/src/components/report-promo/report-promo.css.js +2 -0
  534. package/dist/src/components/report-promo/report-promo.css.js.map +1 -0
  535. package/dist/src/components/report-promo/report-promo.d.ts +70 -0
  536. package/dist/src/components/report-promo/report-promo.js +19 -0
  537. package/dist/src/components/report-promo/report-promo.js.map +1 -0
  538. package/dist/src/components/review/review-grid.css.js +1 -1
  539. package/dist/src/components/review/review-grid.css.js.map +1 -1
  540. package/dist/src/components/review/review-grid.d.ts +27 -6
  541. package/dist/src/components/review/review-grid.js +7 -7
  542. package/dist/src/components/review/review-grid.js.map +1 -1
  543. package/dist/src/components/review/review.css.js +1 -1
  544. package/dist/src/components/review/review.css.js.map +1 -1
  545. package/dist/src/components/review/review.d.ts +24 -17
  546. package/dist/src/components/review/review.js +7 -11
  547. package/dist/src/components/review/review.js.map +1 -1
  548. package/dist/src/components/section/section.css.js +1 -1
  549. package/dist/src/components/section/section.css.js.map +1 -1
  550. package/dist/src/components/section/section.d.ts +8 -6
  551. package/dist/src/components/section/section.js +1 -1
  552. package/dist/src/components/section/section.js.map +1 -1
  553. package/dist/src/components/section-header/section-header.css.js +1 -1
  554. package/dist/src/components/section-header/section-header.css.js.map +1 -1
  555. package/dist/src/components/section-header/section-header.d.ts +22 -23
  556. package/dist/src/components/section-header/section-header.js +6 -8
  557. package/dist/src/components/section-header/section-header.js.map +1 -1
  558. package/dist/src/components/select/select-option.d.ts +29 -0
  559. package/dist/src/components/select/select-option.js +2 -0
  560. package/dist/src/components/select/select-option.js.map +1 -0
  561. package/dist/src/components/{dropdown/dropdown.css.js → select/select.css.js} +1 -1
  562. package/dist/src/components/select/select.css.js.map +1 -0
  563. package/dist/src/components/select/select.d.ts +78 -0
  564. package/dist/src/components/select/select.js +35 -0
  565. package/dist/src/components/select/select.js.map +1 -0
  566. package/dist/src/components/shared/adopt-styles.d.ts +53 -0
  567. package/dist/src/components/shared/adopt-styles.js +2 -0
  568. package/dist/src/components/shared/adopt-styles.js.map +1 -0
  569. package/dist/src/components/shared/controller.slot.d.ts +65 -0
  570. package/dist/src/components/shared/controller.slot.js +2 -0
  571. package/dist/src/components/shared/controller.slot.js.map +1 -0
  572. package/dist/src/components/shared/events.d.ts +19 -23
  573. package/dist/src/components/shared/fill-width.css.js.map +1 -1
  574. package/dist/src/components/shared/flat-text.d.ts +15 -0
  575. package/dist/src/components/shared/flat-text.js +2 -0
  576. package/dist/src/components/shared/flat-text.js.map +1 -0
  577. package/dist/src/components/shared/form-control.d.ts +27 -3
  578. package/dist/src/components/shared/form-control.js +11 -1
  579. package/dist/src/components/shared/form-control.js.map +1 -1
  580. package/dist/src/components/shared/form-field.css.d.ts +5 -5
  581. package/dist/src/components/shared/form-field.css.js +1 -1
  582. package/dist/src/components/shared/form-field.css.js.map +1 -1
  583. package/dist/src/components/shared/hold.d.ts +14 -0
  584. package/dist/src/components/shared/hold.js +2 -0
  585. package/dist/src/components/shared/hold.js.map +1 -0
  586. package/dist/src/components/shared/prop-vocabulary.d.ts +81 -20
  587. package/dist/src/components/shared/prop-vocabulary.js +1 -1
  588. package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
  589. package/dist/src/components/shared/tablist.d.ts +31 -0
  590. package/dist/src/components/shared/tablist.js +2 -0
  591. package/dist/src/components/shared/tablist.js.map +1 -0
  592. package/dist/src/components/shared/token-scales.d.ts +30 -4
  593. package/dist/src/components/shared/token-scales.js +1 -1
  594. package/dist/src/components/shared/token-scales.js.map +1 -1
  595. package/dist/src/components/spinner/spinner.css.js.map +1 -1
  596. package/dist/src/components/spinner/spinner.js +2 -2
  597. package/dist/src/components/spinner/spinner.js.map +1 -1
  598. package/dist/src/components/spotlight/spotlight.css.js +2 -0
  599. package/dist/src/components/spotlight/spotlight.css.js.map +1 -0
  600. package/dist/src/components/spotlight/spotlight.d.ts +31 -0
  601. package/dist/src/components/spotlight/spotlight.js +18 -0
  602. package/dist/src/components/spotlight/spotlight.js.map +1 -0
  603. package/dist/src/components/stat/stat-highlight.d.ts +1 -1
  604. package/dist/src/components/stat/stat.css.d.ts +1 -1
  605. package/dist/src/components/stat/stat.css.js +1 -1
  606. package/dist/src/components/stat/stat.css.js.map +1 -1
  607. package/dist/src/components/stat/stat.d.ts +41 -1
  608. package/dist/src/components/stat/stat.js +12 -1
  609. package/dist/src/components/stat/stat.js.map +1 -0
  610. package/dist/src/components/switch/switch.css.js +1 -1
  611. package/dist/src/components/switch/switch.css.js.map +1 -1
  612. package/dist/src/components/switch/switch.d.ts +10 -2
  613. package/dist/src/components/switch/switch.js +5 -4
  614. package/dist/src/components/switch/switch.js.map +1 -1
  615. package/dist/src/components/tab-group/tab-group.css.js +2 -0
  616. package/dist/src/components/tab-group/tab-group.css.js.map +1 -0
  617. package/dist/src/components/tab-group/tab-group.d.ts +172 -0
  618. package/dist/src/components/tab-group/tab-group.js +16 -0
  619. package/dist/src/components/tab-group/tab-group.js.map +1 -0
  620. package/dist/src/components/tab-group/tab-panel.d.ts +30 -0
  621. package/dist/src/components/tab-group/tab-panel.js +2 -0
  622. package/dist/src/components/tab-group/tab-panel.js.map +1 -0
  623. package/dist/src/components/tab-group/tab.css.js +2 -0
  624. package/dist/src/components/tab-group/tab.css.js.map +1 -0
  625. package/dist/src/components/tab-group/tab.d.ts +53 -0
  626. package/dist/src/components/tab-group/tab.js +2 -0
  627. package/dist/src/components/tab-group/tab.js.map +1 -0
  628. package/dist/src/components/table-of-contents/reading-line.d.ts +24 -0
  629. package/dist/src/components/table-of-contents/reading-line.js +2 -0
  630. package/dist/src/components/table-of-contents/reading-line.js.map +1 -0
  631. package/dist/src/components/table-of-contents/table-of-contents-item.css.d.ts +7 -0
  632. package/dist/src/components/table-of-contents/table-of-contents-item.css.js +2 -0
  633. package/dist/src/components/table-of-contents/table-of-contents-item.css.js.map +1 -0
  634. package/dist/src/components/table-of-contents/table-of-contents-item.d.ts +40 -0
  635. package/dist/src/components/table-of-contents/table-of-contents-item.js +2 -0
  636. package/dist/src/components/table-of-contents/table-of-contents-item.js.map +1 -0
  637. package/dist/src/components/table-of-contents/table-of-contents.css.d.ts +10 -0
  638. package/dist/src/components/table-of-contents/table-of-contents.css.js +2 -0
  639. package/dist/src/components/table-of-contents/table-of-contents.css.js.map +1 -0
  640. package/dist/src/components/table-of-contents/table-of-contents.d.ts +116 -0
  641. package/dist/src/components/table-of-contents/table-of-contents.js +24 -0
  642. package/dist/src/components/table-of-contents/table-of-contents.js.map +1 -0
  643. package/dist/src/components/tag/tag.css.js +1 -1
  644. package/dist/src/components/tag/tag.css.js.map +1 -1
  645. package/dist/src/components/tag/tag.d.ts +31 -4
  646. package/dist/src/components/tag/tag.js +1 -3
  647. package/dist/src/components/tag/tag.js.map +1 -1
  648. package/dist/src/components/terminal/terminal-cursor.d.ts +2 -3
  649. package/dist/src/components/terminal/terminal-cursor.js +1 -1
  650. package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
  651. package/dist/src/components/terminal/terminal-line.css.d.ts +2 -0
  652. package/dist/src/components/terminal/terminal-line.css.js +2 -0
  653. package/dist/src/components/terminal/terminal-line.css.js.map +1 -0
  654. package/dist/src/components/terminal/terminal-line.d.ts +42 -0
  655. package/dist/src/components/terminal/terminal-line.js +8 -0
  656. package/dist/src/components/terminal/terminal-line.js.map +1 -0
  657. package/dist/src/components/terminal/terminal.css.d.ts +2 -0
  658. package/dist/src/components/terminal/terminal.css.js +2 -0
  659. package/dist/src/components/terminal/terminal.css.js.map +1 -0
  660. package/dist/src/components/terminal/terminal.d.ts +52 -0
  661. package/dist/src/components/terminal/terminal.js +19 -0
  662. package/dist/src/components/terminal/terminal.js.map +1 -0
  663. package/dist/src/components/terminal-hero/terminal-hero.css.d.ts +2 -0
  664. package/dist/src/components/terminal-hero/terminal-hero.css.js +2 -0
  665. package/dist/src/components/terminal-hero/terminal-hero.css.js.map +1 -0
  666. package/dist/src/components/terminal-hero/terminal-hero.d.ts +62 -0
  667. package/dist/src/components/terminal-hero/terminal-hero.js +48 -0
  668. package/dist/src/components/terminal-hero/terminal-hero.js.map +1 -0
  669. package/dist/src/components/terms/terms.css.d.ts +2 -0
  670. package/dist/src/components/terms/terms.css.js +2 -0
  671. package/dist/src/components/terms/terms.css.js.map +1 -0
  672. package/dist/src/components/terms/terms.d.ts +42 -0
  673. package/dist/src/components/terms/terms.js +9 -0
  674. package/dist/src/components/terms/terms.js.map +1 -0
  675. package/dist/src/components/textarea/textarea.css.d.ts +2 -2
  676. package/dist/src/components/textarea/textarea.css.js.map +1 -1
  677. package/dist/src/components/textarea/textarea.d.ts +15 -6
  678. package/dist/src/components/textarea/textarea.js +13 -17
  679. package/dist/src/components/textarea/textarea.js.map +1 -1
  680. package/dist/src/components/tooltip/tooltip.d.ts +25 -4
  681. package/dist/src/components/tooltip/tooltip.js +5 -8
  682. package/dist/src/components/tooltip/tooltip.js.map +1 -1
  683. package/dist/src/components/trust-panel/trust-card.css.d.ts +2 -0
  684. package/dist/src/components/trust-panel/trust-card.css.js +2 -0
  685. package/dist/src/components/trust-panel/trust-card.css.js.map +1 -0
  686. package/dist/src/components/trust-panel/trust-card.d.ts +31 -0
  687. package/dist/src/components/trust-panel/trust-card.js +10 -0
  688. package/dist/src/components/trust-panel/trust-card.js.map +1 -0
  689. package/dist/src/components/trust-panel/trust-panel.css.js +1 -1
  690. package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
  691. package/dist/src/components/trust-panel/trust-panel.d.ts +28 -25
  692. package/dist/src/components/trust-panel/trust-panel.js +10 -57
  693. package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
  694. package/dist/src/components/video/video.js +1 -1
  695. package/dist/src/components/video/video.js.map +1 -1
  696. package/dist/src/components/video-player/video-player.d.ts +25 -3
  697. package/dist/src/components/video-player/video-player.js +7 -7
  698. package/dist/src/components/video-player/video-player.js.map +1 -1
  699. package/dist/src/loader/create-loader.d.ts +13 -2
  700. package/dist/src/loader/create-loader.js +1 -1
  701. package/dist/src/loader/create-loader.js.map +1 -1
  702. package/dist/src/loader/loader.d.ts +7 -4
  703. package/dist/src/loader/loader.js.map +1 -1
  704. package/dist/src/loader/registry.js +1 -1
  705. package/dist/src/loader/registry.js.map +1 -1
  706. package/dist/src/tokens/fonts.css +1 -1
  707. package/dist/src/tokens/layout.css +1 -1
  708. package/dist/src/tokens/scheme-layer.d.ts +55 -0
  709. package/dist/src/tokens/scheme-layer.js +5 -0
  710. package/dist/src/tokens/scheme-layer.js.map +1 -0
  711. package/dist/src/tokens/themes/dark.d.ts +64 -0
  712. package/dist/src/tokens/themes/dark.js +2 -0
  713. package/dist/src/tokens/themes/dark.js.map +1 -0
  714. package/dist/src/tokens/tokens.css +1 -1
  715. package/dist/src/tokens/tokens.d.ts +4 -25
  716. package/dist/src/tokens/tokens.js +1 -1
  717. package/dist/src/tokens/tokens.js.map +1 -1
  718. package/dist/src/vendor/prism/LICENSE +21 -0
  719. package/dist/src/vendor/prism/README.md +65 -0
  720. package/dist/src/vendor/prism/prism.d.ts +7 -0
  721. package/dist/src/vendor/prism/prism.js +13 -0
  722. package/package.json +163 -105
  723. package/schemas/README.md +55 -1
  724. package/schemas/component-manifest.json +4546 -3215
  725. package/schemas/figma-component-map.json +3247 -0
  726. package/schemas/manifest-omissions.json +1 -26
  727. package/schemas/page-schema.json +28 -1
  728. package/dist/src/components/accordion/accordion-bg.css.js +0 -2
  729. package/dist/src/components/accordion/accordion-bg.css.js.map +0 -1
  730. package/dist/src/components/accordion/accordion-bg.d.ts +0 -52
  731. package/dist/src/components/accordion/accordion-bg.js +0 -76
  732. package/dist/src/components/accordion/accordion-bg.js.map +0 -1
  733. package/dist/src/components/alert/alert.css.js +0 -2
  734. package/dist/src/components/alert/alert.css.js.map +0 -1
  735. package/dist/src/components/alert/alert.d.ts +0 -55
  736. package/dist/src/components/alert/alert.js +0 -28
  737. package/dist/src/components/alert/alert.js.map +0 -1
  738. package/dist/src/components/anchor/anchor-nav.css.js +0 -2
  739. package/dist/src/components/anchor/anchor-nav.css.js.map +0 -1
  740. package/dist/src/components/anchor/anchor-nav.js +0 -67
  741. package/dist/src/components/anchor/anchor-nav.js.map +0 -1
  742. package/dist/src/components/awards/awards-flex.css.d.ts +0 -1
  743. package/dist/src/components/awards/awards-flex.css.js +0 -2
  744. package/dist/src/components/awards/awards-flex.css.js.map +0 -1
  745. package/dist/src/components/awards/awards-flex.d.ts +0 -65
  746. package/dist/src/components/awards/awards-flex.js +0 -68
  747. package/dist/src/components/awards/awards-flex.js.map +0 -1
  748. package/dist/src/components/awards/awards-spotlight.css.d.ts +0 -1
  749. package/dist/src/components/awards/awards-spotlight.css.js +0 -2
  750. package/dist/src/components/awards/awards-spotlight.css.js.map +0 -1
  751. package/dist/src/components/awards/awards-spotlight.d.ts +0 -60
  752. package/dist/src/components/awards/awards-spotlight.js +0 -51
  753. package/dist/src/components/awards/awards-spotlight.js.map +0 -1
  754. package/dist/src/components/card-features/card-features.css.js +0 -2
  755. package/dist/src/components/card-features/card-features.css.js.map +0 -1
  756. package/dist/src/components/card-features/card-features.d.ts +0 -43
  757. package/dist/src/components/card-features/card-features.js +0 -37
  758. package/dist/src/components/card-features/card-features.js.map +0 -1
  759. package/dist/src/components/cards/card.css.js +0 -2
  760. package/dist/src/components/cards/card.css.js.map +0 -1
  761. package/dist/src/components/cards/card.d.ts +0 -61
  762. package/dist/src/components/cards/card.js +0 -54
  763. package/dist/src/components/cards/card.js.map +0 -1
  764. package/dist/src/components/compare/compare.css.js +0 -2
  765. package/dist/src/components/compare/compare.css.js.map +0 -1
  766. package/dist/src/components/compare/compare.d.ts +0 -79
  767. package/dist/src/components/compare/compare.js +0 -122
  768. package/dist/src/components/compare/compare.js.map +0 -1
  769. package/dist/src/components/divider/divider-horizontal.d.ts +0 -15
  770. package/dist/src/components/divider/divider-horizontal.js +0 -11
  771. package/dist/src/components/divider/divider-horizontal.js.map +0 -1
  772. package/dist/src/components/divider/divider-vertical.d.ts +0 -16
  773. package/dist/src/components/divider/divider-vertical.js +0 -12
  774. package/dist/src/components/divider/divider-vertical.js.map +0 -1
  775. package/dist/src/components/dropdown/dropdown.css.js.map +0 -1
  776. package/dist/src/components/dropdown/dropdown.d.ts +0 -49
  777. package/dist/src/components/dropdown/dropdown.js +0 -36
  778. package/dist/src/components/dropdown/dropdown.js.map +0 -1
  779. package/dist/src/components/features/features.css.js +0 -2
  780. package/dist/src/components/features/features.css.js.map +0 -1
  781. package/dist/src/components/features/features.d.ts +0 -21
  782. package/dist/src/components/features/features.js +0 -28
  783. package/dist/src/components/features/features.js.map +0 -1
  784. package/dist/src/components/footer/footer-images.d.ts +0 -3
  785. package/dist/src/components/footer/footer-images.js +0 -9
  786. package/dist/src/components/footer/footer-images.js.map +0 -1
  787. package/dist/src/components/footer/footer-links-group.css.js +0 -2
  788. package/dist/src/components/footer/footer-links-group.css.js.map +0 -1
  789. package/dist/src/components/footer/footer-links-group.d.ts +0 -13
  790. package/dist/src/components/footer/footer-links-group.js +0 -5
  791. package/dist/src/components/footer/footer-links-group.js.map +0 -1
  792. package/dist/src/components/footer/footer-lp.d.ts +0 -26
  793. package/dist/src/components/footer/footer-lp.js +0 -45
  794. package/dist/src/components/footer/footer-lp.js.map +0 -1
  795. package/dist/src/components/footer/footer-nav-menu.css.js +0 -2
  796. package/dist/src/components/footer/footer-nav-menu.css.js.map +0 -1
  797. package/dist/src/components/footer/footer-nav-menu.js +0 -6
  798. package/dist/src/components/footer/footer-nav-menu.js.map +0 -1
  799. package/dist/src/components/header/header-code.css.js +0 -2
  800. package/dist/src/components/header/header-code.css.js.map +0 -1
  801. package/dist/src/components/header/header-code.d.ts +0 -50
  802. package/dist/src/components/header/header-code.js +0 -80
  803. package/dist/src/components/header/header-code.js.map +0 -1
  804. package/dist/src/components/header/header.css.js +0 -2
  805. package/dist/src/components/header/header.css.js.map +0 -1
  806. package/dist/src/components/header/header.d.ts +0 -32
  807. package/dist/src/components/header/header.js +0 -165
  808. package/dist/src/components/header/header.js.map +0 -1
  809. package/dist/src/components/heading/heading.css.js +0 -2
  810. package/dist/src/components/heading/heading.css.js.map +0 -1
  811. package/dist/src/components/heading/heading.js +0 -6
  812. package/dist/src/components/heading/heading.js.map +0 -1
  813. package/dist/src/components/help-text/help-text.css.d.ts +0 -3
  814. package/dist/src/components/help-text/help-text.css.js.map +0 -1
  815. package/dist/src/components/help-text/help-text.d.ts +0 -14
  816. package/dist/src/components/help-text/help-text.js +0 -4
  817. package/dist/src/components/help-text/help-text.js.map +0 -1
  818. package/dist/src/components/icons/analysis-icon.d.ts +0 -11
  819. package/dist/src/components/icons/analysis-icon.js +0 -6
  820. package/dist/src/components/icons/analysis-icon.js.map +0 -1
  821. package/dist/src/components/icons/arrow-down-icon.d.ts +0 -11
  822. package/dist/src/components/icons/arrow-down-icon.js +0 -6
  823. package/dist/src/components/icons/arrow-down-icon.js.map +0 -1
  824. package/dist/src/components/icons/arrow-icon.d.ts +0 -37
  825. package/dist/src/components/icons/arrow-icon.js +0 -6
  826. package/dist/src/components/icons/arrow-icon.js.map +0 -1
  827. package/dist/src/components/icons/arrow-right-icon.d.ts +0 -34
  828. package/dist/src/components/icons/arrow-right-icon.js +0 -6
  829. package/dist/src/components/icons/arrow-right-icon.js.map +0 -1
  830. package/dist/src/components/icons/arrow-up-icon.d.ts +0 -24
  831. package/dist/src/components/icons/arrow-up-icon.js +0 -6
  832. package/dist/src/components/icons/arrow-up-icon.js.map +0 -1
  833. package/dist/src/components/icons/av-comparatives-icon.d.ts +0 -13
  834. package/dist/src/components/icons/av-comparatives-icon.js +0 -13
  835. package/dist/src/components/icons/av-comparatives-icon.js.map +0 -1
  836. package/dist/src/components/icons/bd-ai-icon.d.ts +0 -13
  837. package/dist/src/components/icons/bd-ai-icon.js +0 -6
  838. package/dist/src/components/icons/bd-ai-icon.js.map +0 -1
  839. package/dist/src/components/icons/best-brands-icon.d.ts +0 -13
  840. package/dist/src/components/icons/best-brands-icon.js +0 -15
  841. package/dist/src/components/icons/best-brands-icon.js.map +0 -1
  842. package/dist/src/components/icons/brand-signature-icon.d.ts +0 -37
  843. package/dist/src/components/icons/brand-signature-icon.js +0 -6
  844. package/dist/src/components/icons/brand-signature-icon.js.map +0 -1
  845. package/dist/src/components/icons/check-icon.d.ts +0 -22
  846. package/dist/src/components/icons/check-icon.js +0 -6
  847. package/dist/src/components/icons/check-icon.js.map +0 -1
  848. package/dist/src/components/icons/circle-info-icon.d.ts +0 -26
  849. package/dist/src/components/icons/circle-info-icon.js +0 -8
  850. package/dist/src/components/icons/circle-info-icon.js.map +0 -1
  851. package/dist/src/components/icons/close-icon.d.ts +0 -11
  852. package/dist/src/components/icons/close-icon.js +0 -6
  853. package/dist/src/components/icons/close-icon.js.map +0 -1
  854. package/dist/src/components/icons/enterprise-icon.d.ts +0 -11
  855. package/dist/src/components/icons/enterprise-icon.js +0 -6
  856. package/dist/src/components/icons/enterprise-icon.js.map +0 -1
  857. package/dist/src/components/icons/family-icon.d.ts +0 -11
  858. package/dist/src/components/icons/family-icon.js +0 -8
  859. package/dist/src/components/icons/family-icon.js.map +0 -1
  860. package/dist/src/components/icons/globe-icon.d.ts +0 -11
  861. package/dist/src/components/icons/globe-icon.js +0 -6
  862. package/dist/src/components/icons/globe-icon.js.map +0 -1
  863. package/dist/src/components/icons/guide-icon.d.ts +0 -11
  864. package/dist/src/components/icons/guide-icon.js +0 -6
  865. package/dist/src/components/icons/guide-icon.js.map +0 -1
  866. package/dist/src/components/icons/home-icon.d.ts +0 -11
  867. package/dist/src/components/icons/home-icon.js +0 -6
  868. package/dist/src/components/icons/home-icon.js.map +0 -1
  869. package/dist/src/components/icons/icon-element.d.ts +0 -58
  870. package/dist/src/components/icons/icon-element.js +0 -2
  871. package/dist/src/components/icons/icon-element.js.map +0 -1
  872. package/dist/src/components/icons/individual-icon.d.ts +0 -11
  873. package/dist/src/components/icons/individual-icon.js +0 -6
  874. package/dist/src/components/icons/individual-icon.js.map +0 -1
  875. package/dist/src/components/icons/laurel-icon.d.ts +0 -11
  876. package/dist/src/components/icons/laurel-icon.js +0 -14
  877. package/dist/src/components/icons/laurel-icon.js.map +0 -1
  878. package/dist/src/components/icons/machine-learning-icon.d.ts +0 -11
  879. package/dist/src/components/icons/machine-learning-icon.js +0 -6
  880. package/dist/src/components/icons/machine-learning-icon.js.map +0 -1
  881. package/dist/src/components/icons/minus-icon.d.ts +0 -11
  882. package/dist/src/components/icons/minus-icon.js +0 -7
  883. package/dist/src/components/icons/minus-icon.js.map +0 -1
  884. package/dist/src/components/icons/missing-icon.d.ts +0 -41
  885. package/dist/src/components/icons/missing-icon.js +0 -8
  886. package/dist/src/components/icons/missing-icon.js.map +0 -1
  887. package/dist/src/components/icons/pause-icon.d.ts +0 -11
  888. package/dist/src/components/icons/pause-icon.js +0 -7
  889. package/dist/src/components/icons/pause-icon.js.map +0 -1
  890. package/dist/src/components/icons/pc-mag-2024-icon.d.ts +0 -13
  891. package/dist/src/components/icons/pc-mag-2024-icon.js +0 -14
  892. package/dist/src/components/icons/pc-mag-2024-icon.js.map +0 -1
  893. package/dist/src/components/icons/pc-mag-business-icon.d.ts +0 -13
  894. package/dist/src/components/icons/pc-mag-business-icon.js +0 -14
  895. package/dist/src/components/icons/pc-mag-business-icon.js.map +0 -1
  896. package/dist/src/components/icons/pc-mag-icon.d.ts +0 -13
  897. package/dist/src/components/icons/pc-mag-icon.js +0 -14
  898. package/dist/src/components/icons/pc-mag-icon.js.map +0 -1
  899. package/dist/src/components/icons/pc-mag-readers-icon.d.ts +0 -13
  900. package/dist/src/components/icons/pc-mag-readers-icon.js +0 -14
  901. package/dist/src/components/icons/pc-mag-readers-icon.js.map +0 -1
  902. package/dist/src/components/icons/play-icon.d.ts +0 -11
  903. package/dist/src/components/icons/play-icon.js +0 -6
  904. package/dist/src/components/icons/play-icon.js.map +0 -1
  905. package/dist/src/components/icons/plus-icon.d.ts +0 -11
  906. package/dist/src/components/icons/plus-icon.js +0 -6
  907. package/dist/src/components/icons/plus-icon.js.map +0 -1
  908. package/dist/src/components/icons/quote-icon.d.ts +0 -20
  909. package/dist/src/components/icons/quote-icon.js +0 -6
  910. package/dist/src/components/icons/quote-icon.js.map +0 -1
  911. package/dist/src/components/icons/small-business-icon.d.ts +0 -11
  912. package/dist/src/components/icons/small-business-icon.js +0 -6
  913. package/dist/src/components/icons/small-business-icon.js.map +0 -1
  914. package/dist/src/components/icons/top-product-icon.d.ts +0 -13
  915. package/dist/src/components/icons/top-product-icon.js +0 -14
  916. package/dist/src/components/icons/top-product-icon.js.map +0 -1
  917. package/dist/src/components/image/image.css.js.map +0 -1
  918. package/dist/src/components/image/image.js +0 -17
  919. package/dist/src/components/image/image.js.map +0 -1
  920. package/dist/src/components/input/input-clipboard.css.d.ts +0 -9
  921. package/dist/src/components/input/input-clipboard.css.js +0 -2
  922. package/dist/src/components/input/input-clipboard.css.js.map +0 -1
  923. package/dist/src/components/input/input-clipboard.d.ts +0 -52
  924. package/dist/src/components/input/input-clipboard.js +0 -62
  925. package/dist/src/components/input/input-clipboard.js.map +0 -1
  926. package/dist/src/components/light-carousel/light-carousel.css.js +0 -2
  927. package/dist/src/components/light-carousel/light-carousel.css.js.map +0 -1
  928. package/dist/src/components/light-carousel/light-carousel.d.ts +0 -74
  929. package/dist/src/components/light-carousel/light-carousel.js +0 -34
  930. package/dist/src/components/light-carousel/light-carousel.js.map +0 -1
  931. package/dist/src/components/modal/modal.css.js +0 -2
  932. package/dist/src/components/modal/modal.css.js.map +0 -1
  933. package/dist/src/components/modal/modal.d.ts +0 -52
  934. package/dist/src/components/modal/modal.js +0 -17
  935. package/dist/src/components/modal/modal.js.map +0 -1
  936. package/dist/src/components/paragraph/paragraph.css.js +0 -2
  937. package/dist/src/components/paragraph/paragraph.css.js.map +0 -1
  938. package/dist/src/components/paragraph/paragraph.js +0 -6
  939. package/dist/src/components/paragraph/paragraph.js.map +0 -1
  940. package/dist/src/components/pricing-cards/adopt-styles.d.ts +0 -10
  941. package/dist/src/components/pricing-cards/adopt-styles.js +0 -2
  942. package/dist/src/components/pricing-cards/adopt-styles.js.map +0 -1
  943. package/dist/src/components/pricing-cards/new-pricing-card.d.ts +0 -18
  944. package/dist/src/components/pricing-cards/new-pricing-card.js +0 -12
  945. package/dist/src/components/pricing-cards/new-pricing-card.js.map +0 -1
  946. package/dist/src/components/pricing-cards/new-pricing.css.js +0 -2
  947. package/dist/src/components/pricing-cards/new-pricing.css.js.map +0 -1
  948. package/dist/src/components/pricing-cards/pricing-card-actions.css.js +0 -2
  949. package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +0 -1
  950. package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +0 -19
  951. package/dist/src/components/pricing-cards/pricing-card-actions.js +0 -25
  952. package/dist/src/components/pricing-cards/pricing-card-actions.js.map +0 -1
  953. package/dist/src/components/pricing-cards/pricing-card-container.css.js +0 -2
  954. package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +0 -1
  955. package/dist/src/components/pricing-cards/pricing-card-container.d.ts +0 -14
  956. package/dist/src/components/pricing-cards/pricing-card-container.js +0 -6
  957. package/dist/src/components/pricing-cards/pricing-card-container.js.map +0 -1
  958. package/dist/src/components/pricing-cards/pricing-card-header.css.js +0 -2
  959. package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +0 -1
  960. package/dist/src/components/pricing-cards/pricing-card-header.d.ts +0 -22
  961. package/dist/src/components/pricing-cards/pricing-card-header.js +0 -18
  962. package/dist/src/components/pricing-cards/pricing-card-header.js.map +0 -1
  963. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +0 -2
  964. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +0 -1
  965. package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +0 -39
  966. package/dist/src/components/pricing-cards/pricing-card-pricing.js +0 -49
  967. package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +0 -1
  968. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +0 -2
  969. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +0 -1
  970. package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +0 -16
  971. package/dist/src/components/pricing-cards/pricing-card-show-more.js +0 -12
  972. package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +0 -1
  973. package/dist/src/components/pricing-cards/pricing-card.css.js +0 -2
  974. package/dist/src/components/pricing-cards/pricing-card.css.js.map +0 -1
  975. package/dist/src/components/pricing-cards/pricing-card.d.ts +0 -155
  976. package/dist/src/components/pricing-cards/pricing-card.js +0 -258
  977. package/dist/src/components/pricing-cards/pricing-card.js.map +0 -1
  978. package/dist/src/components/pricing-cards/pricing-feature-item.css.js +0 -2
  979. package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +0 -1
  980. package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +0 -13
  981. package/dist/src/components/pricing-cards/pricing-feature-item.js +0 -5
  982. package/dist/src/components/pricing-cards/pricing-feature-item.js.map +0 -1
  983. package/dist/src/components/progress/progress.css.d.ts +0 -3
  984. package/dist/src/components/progress/progress.css.js +0 -2
  985. package/dist/src/components/progress/progress.css.js.map +0 -1
  986. package/dist/src/components/progress/progress.d.ts +0 -19
  987. package/dist/src/components/progress/progress.js +0 -11
  988. package/dist/src/components/progress/progress.js.map +0 -1
  989. package/dist/src/components/radio/toggle-radio.d.ts +0 -28
  990. package/dist/src/components/radio/toggle-radio.js +0 -15
  991. package/dist/src/components/radio/toggle-radio.js.map +0 -1
  992. package/dist/src/components/spotlight-section/spotlight-section.css.js +0 -2
  993. package/dist/src/components/spotlight-section/spotlight-section.css.js.map +0 -1
  994. package/dist/src/components/spotlight-section/spotlight-section.d.ts +0 -22
  995. package/dist/src/components/spotlight-section/spotlight-section.js +0 -46
  996. package/dist/src/components/spotlight-section/spotlight-section.js.map +0 -1
  997. package/dist/src/components/stat/stat-tile.d.ts +0 -24
  998. package/dist/src/components/stat/stat-tile.js +0 -7
  999. package/dist/src/components/stat/stat-tile.js.map +0 -1
  1000. package/dist/src/components/tab-list/tab-list.css.d.ts +0 -16
  1001. package/dist/src/components/tab-list/tab-list.css.js +0 -2
  1002. package/dist/src/components/tab-list/tab-list.css.js.map +0 -1
  1003. package/dist/src/components/tab-list/tab-list.d.ts +0 -99
  1004. package/dist/src/components/tab-list/tab-list.js +0 -25
  1005. package/dist/src/components/tab-list/tab-list.js.map +0 -1
  1006. package/dist/src/components/tabs/tabs.css.js +0 -2
  1007. package/dist/src/components/tabs/tabs.css.js.map +0 -1
  1008. package/dist/src/components/tabs/tabs.d.ts +0 -69
  1009. package/dist/src/components/tabs/tabs.js +0 -29
  1010. package/dist/src/components/tabs/tabs.js.map +0 -1
  1011. package/dist/src/components/terminal/terminal-message.css.js +0 -2
  1012. package/dist/src/components/terminal/terminal-message.css.js.map +0 -1
  1013. package/dist/src/components/terminal/terminal-message.d.ts +0 -44
  1014. package/dist/src/components/terminal/terminal-message.js +0 -68
  1015. package/dist/src/components/terminal/terminal-message.js.map +0 -1
  1016. package/dist/src/components/termsOfUse/terms.css.js +0 -2
  1017. package/dist/src/components/termsOfUse/terms.css.js.map +0 -1
  1018. package/dist/src/components/termsOfUse/terms.d.ts +0 -22
  1019. package/dist/src/components/termsOfUse/terms.js +0 -78
  1020. package/dist/src/components/termsOfUse/terms.js.map +0 -1
  1021. /package/dist/src/components/{accordion/accordion-bg.css.d.ts → agent-endpoints/agent-endpoints-pills.css.d.ts} +0 -0
  1022. /package/dist/src/components/{anchor → anchor-nav}/anchor-nav.css.d.ts +0 -0
  1023. /package/dist/src/components/{card-features/card-features.css.d.ts → awards/award-marks.css.d.ts} +0 -0
  1024. /package/dist/src/components/{cards/card.css.d.ts → awards/award.css.d.ts} +0 -0
  1025. /package/dist/src/components/{compare/compare.css.d.ts → bar-chart/bar-chart.css.d.ts} +0 -0
  1026. /package/dist/src/components/{features/features.css.d.ts → card/card-grid.css.d.ts} +0 -0
  1027. /package/dist/src/components/{footer/footer-links-group.css.d.ts → card/card.css.d.ts} +0 -0
  1028. /package/dist/src/components/{footer/footer-nav-menu.css.d.ts → dialog/dialog.css.d.ts} +0 -0
  1029. /package/dist/src/components/{header/header-code.css.d.ts → footer/footer-group.css.d.ts} +0 -0
  1030. /package/dist/src/components/{header/header.css.d.ts → footer/footer-nav.css.d.ts} +0 -0
  1031. /package/dist/src/components/{heading/heading.css.d.ts → h/h.css.d.ts} +0 -0
  1032. /package/dist/src/components/{image/image.css.d.ts → img/img.css.d.ts} +0 -0
  1033. /package/dist/src/components/{light-carousel/light-carousel.css.d.ts → install-options/install-option.css.d.ts} +0 -0
  1034. /package/dist/src/components/{modal/modal.css.d.ts → newsletter-signup/newsletter-signup.css.d.ts} +0 -0
  1035. /package/dist/src/components/{paragraph/paragraph.css.d.ts → p/p.css.d.ts} +0 -0
  1036. /package/dist/src/components/{pricing-cards → pricing-card}/pricing-card.css.d.ts +0 -0
  1037. /package/dist/src/components/{pricing-cards/new-pricing.css.d.ts → pricing-card/pricing-feature-group.css.d.ts} +0 -0
  1038. /package/dist/src/components/{pricing-cards/pricing-card-actions.css.d.ts → pricing-card/pricing-feature.css.d.ts} +0 -0
  1039. /package/dist/src/components/{pricing-cards/pricing-card-container.css.d.ts → pricing-card/pricing-price.css.d.ts} +0 -0
  1040. /package/dist/src/components/{pricing-cards/pricing-card-header.css.d.ts → process-steps/process-step.css.d.ts} +0 -0
  1041. /package/dist/src/components/{pricing-cards/pricing-card-pricing.css.d.ts → product-hero/product-hero.css.d.ts} +0 -0
  1042. /package/dist/src/components/{pricing-cards/pricing-card-show-more.css.d.ts → product-upsell/product-upsell.css.d.ts} +0 -0
  1043. /package/dist/src/components/{pricing-cards/pricing-feature-item.css.d.ts → related-articles/related-articles.css.d.ts} +0 -0
  1044. /package/dist/src/components/{spotlight-section/spotlight-section.css.d.ts → report-promo/report-promo.css.d.ts} +0 -0
  1045. /package/dist/src/components/{dropdown/dropdown.css.d.ts → select/select.css.d.ts} +0 -0
  1046. /package/dist/src/components/{tabs/tabs.css.d.ts → spotlight/spotlight.css.d.ts} +0 -0
  1047. /package/dist/src/components/{terminal/terminal-message.css.d.ts → tab-group/tab-group.css.d.ts} +0 -0
  1048. /package/dist/src/components/{termsOfUse/terms.css.d.ts → tab-group/tab.css.d.ts} +0 -0
@@ -1,74 +0,0 @@
1
- import { LitElement } from "lit";
2
- import "../../tokens/tokens.js";
3
- import "../badge/badge.js";
4
- import "../heading/heading.js";
5
- type Variant = "standard" | "simple";
6
- declare class CustomLightCarousel extends LitElement {
7
- static styles: import("lit").CSSResult[];
8
- title: string;
9
- headingLevel: number;
10
- /**
11
- * Which value set the stylesheet uses: "standard" or "simple". Reflected,
12
- * because light-carousel.css.ts selects the set with an attribute selector.
13
- *
14
- * These were two public element pairs until P6E.1 --
15
- * bd-light-carousel-simple-section and -item. They were never a different
16
- * component: one stylesheet already served both and differed on eight
17
- * custom properties. The names are the ones this component's own stories
18
- * and docs table have always used, Standard and Simple, rather than new
19
- * ones invented at consolidation time.
20
- */
21
- variant: Variant;
22
- _scrollable: boolean;
23
- _track?: HTMLElement;
24
- _overflow?: ResizeObserver;
25
- /**
26
- * The heading element this section renders. Level is the document-outline
27
- * question and belongs to whoever composes the page; the type scale is this
28
- * component's own and does not move with it. Defaults to h2, because a
29
- * reusable section cannot know it is the only thing on the page, and two of
30
- * these used to put two h1s on one.
31
- */
32
- get _headingTag(): string;
33
- _renderTitle(className: string): import("lit-html").TemplateResult<1>;
34
- firstUpdated(): void;
35
- connectedCallback(): void;
36
- disconnectedCallback(): void;
37
- _syncScrollable(): void;
38
- render(): import("lit-html").TemplateResult<1>;
39
- }
40
- declare class LightCarouselItem extends LitElement {
41
- static styles: import("lit").CSSResult[];
42
- title: string;
43
- badge: string;
44
- icon: string;
45
- headingLevel: number;
46
- /** See the note on the section. Reflected for the same reason. */
47
- variant: Variant;
48
- /**
49
- * One level below the section default, so a section and the items inside it
50
- * read as a hierarchy rather than a jump. The two variants render the same
51
- * role at different sizes, which is a type decision and stays on
52
- * visual-level; before this they said h6 and h4, which was a document-outline
53
- * difference nobody chose.
54
- */
55
- get _headingTag(): string;
56
- /**
57
- * The title, at whichever type the variant renders it.
58
- *
59
- * Standard draws it at h5, bold, with 10px of vertical padding; simple draws
60
- * it at h4 with neither. That is a real difference, and it is the reason
61
- * omitting `badge` could not have reproduced the simple item on its own --
62
- * the two treatments disagree about the type of the title as well as about
63
- * the eight layout values in the stylesheet.
64
- */
65
- _renderItemTitle(): import("lit-html").TemplateResult<1>;
66
- render(): import("lit-html").TemplateResult<1>;
67
- }
68
- declare global {
69
- interface HTMLElementTagNameMap {
70
- "bd-light-carousel-section": CustomLightCarousel;
71
- "bd-light-carousel-item": LightCarouselItem;
72
- }
73
- }
74
- export {};
@@ -1,34 +0,0 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../heading/heading.js";import{ensembleCSS as n}from"../shared/ensemble.css.js";import"../badge/badge.js";import r from"./light-carousel.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s,state as c}from"lit/decorators.js";var l=class extends i{constructor(...e){super(...e),this.title=``,this.headingLevel=2,this.variant=`standard`,this._scrollable=!1}static{this.styles=[n,r]}get _headingTag(){let e=Number(this.headingLevel);return Number.isInteger(e)&&e>=1&&e<=6?`h${e}`:`h2`}_renderTitle(e){return a`<bd-h as=${this._headingTag} visual-level="h3" class=${e}
2
- >${this.title}</bd-h
3
- >`}firstUpdated(){this._track=this.renderRoot.querySelector(`.bd-light-carousel-track`),this._overflow=new ResizeObserver(()=>this._syncScrollable()),this._overflow.observe(this._track)}connectedCallback(){super.connectedCallback(),this._track&&this._overflow.observe(this._track)}disconnectedCallback(){super.disconnectedCallback(),this._overflow?.disconnect()}_syncScrollable(){let e=this._track;this._scrollable=!!e&&e.scrollWidth>e.clientWidth+1}render(){let e=this._scrollable;return a`
4
- <section class="bd-ensemble bd-light-carousel">
5
- ${this.title?a`
6
- <div class="bd-header-light-carousel">
7
- ${this._renderTitle(`bd-section-title`)}
8
- </div>
9
- `:null}
10
- <div
11
- class="bd-light-carousel-track"
12
- tabindex=${e?`0`:o}
13
- role=${e?`region`:o}
14
- aria-label=${e?this.title||`Cards`:o}
15
- >
16
- <slot @slotchange=${()=>this._syncScrollable()}></slot>
17
- </div>
18
- </section>
19
- `}};t([s({type:String})],l.prototype,`title`,void 0),t([s({type:Number,attribute:`heading-level`})],l.prototype,`headingLevel`,void 0),t([s({type:String,reflect:!0})],l.prototype,`variant`,void 0),t([c()],l.prototype,`_scrollable`,void 0),l=t([e(`bd-light-carousel-section`)],l);var u=class extends i{constructor(...e){super(...e),this.title=``,this.badge=``,this.icon=``,this.headingLevel=3,this.variant=`standard`}static{this.styles=[r]}get _headingTag(){let e=Number(this.headingLevel);return Number.isInteger(e)&&e>=1&&e<=6?`h${e}`:`h3`}_renderItemTitle(){return this.variant===`simple`?a`<bd-h as="${this._headingTag}" visual-level="h4">${this.title}</bd-h>`:a`<bd-h as="${this._headingTag}" visual-level="h5" padding="10 0" fontWeight="bold">${this.title}</bd-h>`}render(){return a`
20
- <div class="bd-light-box">
21
- <div class="bd-light-box-header">
22
- ${this.icon?a`<img src="${this.icon}" alt="" class="bd-light-icon" />`:``}
23
-
24
- ${this.title||this.badge?a`
25
- <div class="bd-light-title-badge-wrapper">
26
- ${this.title?this._renderItemTitle():``}
27
- ${this.badge?a`<bd-badge tone="primary" variant="fill">${this.badge}</bd-badge>`:``}
28
- </div>
29
- `:``}
30
- </div>
31
- <slot></slot>
32
- </div>
33
- `}};t([s({type:String})],u.prototype,`title`,void 0),t([s({type:String})],u.prototype,`badge`,void 0),t([s({type:String})],u.prototype,`icon`,void 0),t([s({type:Number,attribute:`heading-level`})],u.prototype,`headingLevel`,void 0),t([s({type:String,reflect:!0})],u.prototype,`variant`,void 0),u=t([e(`bd-light-carousel-item`)],u);
34
- //# sourceMappingURL=light-carousel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"light-carousel.js","names":["carouselCSS","_decorate","__decorate","light_carousel_css_default","CustomLightCarousel","LitElement","_args","ensembleCSS","n","className","track","scrollable","nothing","property","state","defineElement","LightCarouselItem","_args2"],"sources":["../../../../src/components/light-carousel/light-carousel.ts"],"sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { property, state } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/badge/badge.ts\";\nimport \"#components/heading/heading.ts\";\nimport carouselCSS from \"#components/light-carousel/light-carousel.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\ntype Variant = \"standard\" | \"simple\";\n\n@defineElement(\"bd-light-carousel-section\")\nclass CustomLightCarousel extends LitElement {\n static styles = [ensembleCSS, carouselCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: Number, attribute: \"heading-level\" })\n headingLevel = 2;\n /**\n * Which value set the stylesheet uses: \"standard\" or \"simple\". Reflected,\n * because light-carousel.css.ts selects the set with an attribute selector.\n *\n * These were two public element pairs until P6E.1 --\n * bd-light-carousel-simple-section and -item. They were never a different\n * component: one stylesheet already served both and differed on eight\n * custom properties. The names are the ones this component's own stories\n * and docs table have always used, Standard and Simple, rather than new\n * ones invented at consolidation time.\n */\n @property({ type: String, reflect: true })\n variant: Variant = \"standard\";\n @state()\n _scrollable = false;\n\n _track? : HTMLElement;\n _overflow?: ResizeObserver;\n\n /**\n * The heading element this section renders. Level is the document-outline\n * question and belongs to whoever composes the page; the type scale is this\n * component's own and does not move with it. Defaults to h2, because a\n * reusable section cannot know it is the only thing on the page, and two of\n * these used to put two h1s on one.\n */\n get _headingTag() {\n const n = Number(this.headingLevel);\n return Number.isInteger(n) && n >= 1 && n <= 6 ? `h${n}` : \"h2\";\n }\n\n /* bd-h already builds the dynamic tag, and it keeps the two questions apart\n the way this component needs: as= is the outline level the page composes,\n visual-level= is the type role, which is ours. Building the element here\n meant re-implementing bd-h and then hand-writing the type on top of it. */\n _renderTitle(className: string) {\n return html`<bd-h as=${this._headingTag} visual-level=\"h3\" class=${className}\n >${this.title}</bd-h\n >`;\n }\n\n /* The track scrolls sideways when its cards do not fit (between md and\n 1024 two cards of 380 rarely do), and a scroller the keyboard cannot\n reach cannot be scrolled from the keyboard: it is a tab stop then, named\n after the section's title, as a region. Only then -- a track whose cards\n fit has nothing to scroll, and a tab stop that does nothing is noise. */\n firstUpdated() {\n this._track = this.renderRoot.querySelector<HTMLElement>(\".bd-light-carousel-track\")!;\n this._overflow = new ResizeObserver(() => this._syncScrollable());\n this._overflow.observe(this._track);\n }\n\n /* Put back on the page, the track is watched again: disconnecting stops\n the observer, and firstUpdated does not run twice, so a moved carousel\n kept the answer it had and never gained or lost its tab stop again. An\n observer's first delivery comes on observe(), so the answer is current. */\n connectedCallback() {\n super.connectedCallback();\n if (this._track) this._overflow!.observe(this._track);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._overflow?.disconnect();\n }\n\n _syncScrollable() {\n const track = this._track;\n this._scrollable = !!track && track.scrollWidth > track.clientWidth + 1;\n }\n\n render() {\n const scrollable = this._scrollable;\n return html`\n <section class=\"bd-ensemble bd-light-carousel\">\n ${this.title\n ? html`\n <div class=\"bd-header-light-carousel\">\n ${this._renderTitle(\"bd-section-title\")}\n </div>\n `\n : null}\n <div\n class=\"bd-light-carousel-track\"\n tabindex=${scrollable ? \"0\" : nothing}\n role=${scrollable ? \"region\" : nothing}\n aria-label=${scrollable ? this.title || \"Cards\" : nothing}\n >\n <slot @slotchange=${() => this._syncScrollable()}></slot>\n </div>\n </section>\n `;\n }\n}\n@defineElement(\"bd-light-carousel-item\")\nclass LightCarouselItem extends LitElement {\n static styles = [carouselCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n badge = \"\";\n @property({ type: String })\n icon = \"\";\n @property({ type: Number, attribute: \"heading-level\" })\n headingLevel = 3;\n /** See the note on the section. Reflected for the same reason. */\n @property({ type: String, reflect: true })\n variant: Variant = \"standard\";\n\n /**\n * One level below the section default, so a section and the items inside it\n * read as a hierarchy rather than a jump. The two variants render the same\n * role at different sizes, which is a type decision and stays on\n * visual-level; before this they said h6 and h4, which was a document-outline\n * difference nobody chose.\n */\n get _headingTag() {\n const n = Number(this.headingLevel);\n return Number.isInteger(n) && n >= 1 && n <= 6 ? `h${n}` : \"h3\";\n }\n\n /**\n * The title, at whichever type the variant renders it.\n *\n * Standard draws it at h5, bold, with 10px of vertical padding; simple draws\n * it at h4 with neither. That is a real difference, and it is the reason\n * omitting `badge` could not have reproduced the simple item on its own --\n * the two treatments disagree about the type of the title as well as about\n * the eight layout values in the stylesheet.\n */\n _renderItemTitle() {\n return this.variant === \"simple\"\n ? html`<bd-h as=\"${this._headingTag}\" visual-level=\"h4\">${this.title}</bd-h>`\n : html`<bd-h as=\"${this._headingTag}\" visual-level=\"h5\" padding=\"10 0\" fontWeight=\"bold\">${this.title}</bd-h>`;\n }\n\n render() {\n return html`\n <div class=\"bd-light-box\">\n <div class=\"bd-light-box-header\">\n ${this.icon\n ? html`<img src=\"${this.icon}\" alt=\"\" class=\"bd-light-icon\" />`\n : \"\"}\n\n ${this.title || this.badge\n ? html`\n <div class=\"bd-light-title-badge-wrapper\">\n ${this.title ? this._renderItemTitle() : \"\"}\n ${this.badge\n ? html`<bd-badge tone=\"primary\" variant=\"fill\">${this.badge}</bd-badge>`\n : \"\"}\n </div>\n `\n : \"\"}\n </div>\n <slot></slot>\n </div>\n `;\n }\n}\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-light-carousel-section\": CustomLightCarousel;\n \"bd-light-carousel-item\" : LightCarouselItem;\n }\n}\n"],"mappings":"A,4aAYA,IACMI,EADN,cACkCC,CAAW,C,8BAInC,KAAA,MAAA,GAEO,KAAA,aAAA,EAaI,KAAA,QAAA,WAEL,KAAA,YAAA,E,QApBE,KAAA,OAAA,CAACE,EAAaP,CAAW,C,CAgCzC,IAAI,aAAc,CAChB,IAAMQ,EAAI,OAAO,KAAK,YAAY,EAClC,OAAO,OAAO,UAAUA,CAAC,GAAKA,GAAK,GAAKA,GAAK,EAAI,IAAIA,IAAM,IAC7D,CAMA,aAAa,EAAmB,CAC9B,MAAO,EAAI,YAAY,KAAK,YAAY,2BAA2BC,EAAU;SACxE,KAAK,MAAM;MAElB,CAOA,cAAe,CACb,KAAK,OAAS,KAAK,WAAW,cAA2B,0BAA0B,EACnF,KAAK,UAAY,IAAI,mBAAqB,KAAK,gBAAgB,CAAC,EAChE,KAAK,UAAU,QAAQ,KAAK,MAAM,CACpC,CAMA,mBAAoB,CAClB,MAAM,kBAAkB,EACpB,KAAK,QAAQ,KAAK,UAAW,QAAQ,KAAK,MAAM,CACtD,CAEA,sBAAuB,CACrB,MAAM,qBAAqB,EAC3B,KAAK,WAAW,WAAW,CAC7B,CAEA,iBAAkB,CAChB,IAAMC,EAAQ,KAAK,OACnB,KAAK,YAAc,CAAC,CAACA,GAASA,EAAM,YAAcA,EAAM,YAAc,CACxE,CAEA,QAAS,CACP,IAAMC,EAAa,KAAK,YACxB,MAAO,EAAI;;QAEP,KAAK,MACH,CAAI;;gBAEE,KAAK,aAAa,kBAAkB,EAAE;;YAG5C,KAAK;;;mBAGIA,EAAa,IAAMC,EAAQ;eAC/BD,EAAa,SAAWC,EAAQ;qBAC1BD,EAAa,KAAK,OAAS,QAAUC,EAAQ;;gCAEhC,KAAK,gBAAgB,EAAE;;;GAIvD,CACF,EAjGGX,EAAA,CAAAY,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAY,EAAS,CAAE,KAAM,OAAQ,UAAW,eAAgB,CAAC,CAAA,EAAAT,EAAA,UAAA,eAAA,IAAA,EAAA,EAarDH,EAAA,CAAAY,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAT,EAAA,UAAA,UAAA,IAAA,EAAA,EAExCH,EAAA,CAAAa,EAAM,CAAA,EAAAV,EAAA,UAAA,cAAA,IAAA,EAAA,EArBR,EAAAH,EAAA,CAAAc,EAAc,2BAA2B,CAAA,EAAAX,CAAA,EAsG1C,IACMY,EADN,cACgCX,CAAW,C,8BAIjC,KAAA,MAAA,GAEA,KAAA,MAAA,GAED,KAAA,KAAA,GAEQ,KAAA,aAAA,EAGI,KAAA,QAAA,U,QAZH,KAAA,OAAA,CAACL,CAAW,C,CAqB5B,IAAI,aAAc,CAChB,IAAMQ,EAAI,OAAO,KAAK,YAAY,EAClC,OAAO,OAAO,UAAUA,CAAC,GAAKA,GAAK,GAAKA,GAAK,EAAI,IAAIA,IAAM,IAC7D,CAWA,kBAAmB,CACjB,OAAO,KAAK,UAAY,SACpB,CAAI,aAAa,KAAK,YAAY,sBAAsB,KAAK,MAAM,SACnE,CAAI,aAAa,KAAK,YAAY,uDAAuD,KAAK,MAAM,QAC1G,CAEA,QAAS,CACP,MAAO,EAAI;;;UAGL,KAAK,KACH,CAAI,aAAa,KAAK,KAAK,mCAC3B,GAAG;;UAEL,KAAK,OAAS,KAAK,MACjB,CAAI;;kBAEE,KAAK,MAAQ,KAAK,iBAAiB,EAAI,GAAG;kBAC1C,KAAK,MACH,CAAI,2CAA2C,KAAK,MAAM,aAC1D,GAAG;;cAGX,GAAG;;;;GAKb,CACF,EA9DGP,EAAA,CAAAY,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAG,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBf,EAAA,CAAAY,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAG,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBf,EAAA,CAAAY,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAG,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBf,EAAA,CAAAY,EAAS,CAAE,KAAM,OAAQ,UAAW,eAAgB,CAAC,CAAA,EAAAG,EAAA,UAAA,eAAA,IAAA,EAAA,EAGrDf,EAAA,CAAAY,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAG,EAAA,UAAA,UAAA,IAAA,EAAA,EAb1C,EAAAf,EAAA,CAAAc,EAAc,wBAAwB,CAAA,EAAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- import"../shared/token-scales.js";import{css as e}from"lit";var t=e`.bd-modal{color:inherit;border:none}.bd-modal::backdrop{background:color-mix(in srgb, var(--color-neutral-1000) 50%, transparent);-webkit-backdrop-filter:blur(var(--spacing-12));backdrop-filter:blur(var(--spacing-12));overscroll-behavior:contain;overflow:hidden}.bd-modal:modal{overscroll-behavior:contain}@supports (transition-behavior:allow-discrete){.bd-modal,.bd-modal::backdrop{opacity:0;transition-property:opacity,transform,display,overlay;transition-duration:var(--transition-duration-slow);transition-timing-function:var(--transition-easing-ease);transition-behavior:allow-discrete}.bd-modal{transform:scale(.9)}.bd-modal[open],.bd-modal[open]::backdrop{opacity:1}.bd-modal[open]{transform:scale(1)}@starting-style{.bd-modal[open],.bd-modal[open]::backdrop{opacity:0}.bd-modal[open]{transform:scale(.9)}}}.bd-modal{background:var(--color-surface-default);border-radius:var(--shape-radius-xl);max-width:500px;max-height:calc(100dvh - var(--spacing-128));text-align:start;box-shadow:var(--shadow-md);font-family:var(--typography-fontFamily-sans);padding:2em;overflow-y:auto}.bd-modal button{margin-top:var(--spacing-16);padding:var(--spacing-8) var(--spacing-16);background:var(--color-surface-brand);color:var(--color-brand-on-fill);border-radius:var(--shape-radius-sm);cursor:pointer;font-family:var(--typography-fontFamily-sans);border:none}.bd-modal button:focus-visible{outline:var(--border-width-2) solid transparent;outline-offset:var(--focus-outline-offset);box-shadow:var(--focus-outline-primary)}@media (prefers-reduced-motion:reduce){.bd-modal,.bd-modal::backdrop{transition:none;transform:none}}@media (width<768px){.bd-modal{max-width:90%;padding:1.5em}}@media (width<=480px){.bd-modal{padding:2em}}`;export{t as default};
2
- //# sourceMappingURL=modal.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal.css.js","names":["modal_css_default"],"sources":["../../../../src/components/modal/modal.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n /* The panel is the <dialog> itself. Its user-agent border and colour are\n reset so the tokens below are all there is; the browser still centres it\n and puts it in the top layer, which is why there is no z-index here. */\n .bd-modal {\n border: none;\n color: inherit;\n }\n\n /* The scrim. ::backdrop reads the tokens because it inherits from its\n dialog. */\n .bd-modal::backdrop {\n /* Expressed as a mix over the palette rather than a raw rgba, which is the\n house pattern -- --color-border-container-inverse and spinner's two\n private aliases are written the same way. A raw rgba(0,0,0,0.5) is a\n black no theme can reach; this one follows --color-neutral-1000.\n Verified pixel-identical to the rgba it replaces.\n .\n no role: a page scrim has no role, and with one consumer it should not\n have one yet. If a second component ever needs to darken the page behind\n itself, that is the point to name it. */\n background: color-mix(in srgb, var(--color-neutral-1000) 50%, transparent);\n /* Safari before 18 knows the blur only by its prefixed name */\n -webkit-backdrop-filter: blur(var(--spacing-12));\n backdrop-filter: blur(var(--spacing-12));\n /* Scrolling over the scrim, or past the end of a tall panel, no longer\n scrolls the page behind it. overscroll-behavior is Widely available;\n holding back a scroll that is not a scroll container's is newer, and\n where it is missing the page scrolls behind, as it always has. */\n overflow: hidden;\n overscroll-behavior: contain;\n }\n\n .bd-modal:modal {\n overscroll-behavior: contain;\n }\n\n /* The panel scales and fades in and the scrim fades. Animating into and out\n of the top layer -- @starting-style, and display and overlay transitioned\n with allow-discrete -- is newer than the Widely available target, so it\n is an enhancement: without it the dialog simply appears and goes. */\n @supports (transition-behavior: allow-discrete) {\n .bd-modal,\n .bd-modal::backdrop {\n opacity: 0;\n transition-property: opacity, transform, display, overlay;\n transition-duration: var(--transition-duration-slow);\n transition-timing-function: var(--transition-easing-ease);\n transition-behavior: allow-discrete;\n }\n\n .bd-modal {\n transform: scale(0.9);\n }\n\n .bd-modal[open],\n .bd-modal[open]::backdrop {\n opacity: 1;\n }\n\n .bd-modal[open] {\n transform: scale(1);\n }\n\n @starting-style {\n .bd-modal[open],\n .bd-modal[open]::backdrop {\n opacity: 0;\n }\n\n .bd-modal[open] {\n transform: scale(0.9);\n }\n }\n }\n\n /* max-height and overflow, because without them the bottom of a tall dialog\n is simply gone. Measured on Components/Modal \"Long Modal Text\": the panel\n is 506px tall at every viewport height, so at 500px and at 360px its\n bottom edge -- and the Close button on it -- sat past the viewport with\n nothing scrollable anywhere. The panel could not scroll (overflow\n visible, no max-height) and neither could the page (the scrim is\n position: fixed at 100% height, so the document never grows), which left\n the only control in the dialog unreachable by any means.\n\n --spacing-128 rather than --spacing-64, and the arithmetic is the reason.\n This box is content-box, so the cap applies to the content and the 2em\n padding is added outside it: subtracting 64 produced a panel of exactly\n the viewport height at every constrained height -- 436 + 64 = 500 at a\n 500px viewport, 296 + 64 = 360 at 360 -- with no scrim band at all.\n 128 is that 64 of padding plus the 64 of scrim the band wants, which\n lands the panel 32px from the top and bottom edges.\n\n box-sizing: border-box would express the same thing more directly and is\n deliberately not used here: it also makes max-width mean the border box,\n which took the panel from 564px wide to 500 and rewrapped its text a line\n taller. That is a visible change to an axis this fix has no business\n touching, so the arithmetic goes in the calc instead. */\n .bd-modal {\n /* --color-surface-default, the role, not --color-neutral-0, the primitive\n it resolves to. Same value; the category is the point, and CLAUDE.md's\n \"same primitive value is not same semantic meaning\" section exists for\n exactly this. Found by check:color-coverage once the background shorthand came into\n its scope -- it had been invisible because the check counted\n background-color: and this package almost never writes that. */\n background: var(--color-surface-default);\n padding: 2em;\n border-radius: var(--shape-radius-xl);\n max-width: 500px;\n max-height: calc(100dvh - var(--spacing-128));\n overflow-y: auto;\n text-align: start;\n /* --shadow-md, the role this package already uses for a floating overlay\n surface: bd-tooltip's bubble and bd-anchor-nav's dropdown panel both name\n it, and this panel is the third of the same kind.\n\n The shadow was built out of --spacing-0/2/8, which is a spacing scale\n doing a depth role's job -- and spacing is rem, so it grew with the\n reader. Measured at a 24px root: this panel's shadow went from\n 0 2px 8px to 0 3px 12px while the tooltip's --shadow-md held exactly\n still. A drop shadow is a fixed optical depth, not a distance that\n should scale with text.\n\n Visible, and intended: the shadow becomes the two-layer --shadow-md\n rather than a single 8px blur at 0.2 alpha. The panel's separation from\n the page is carried by the scrim above it -- 0.5 alpha and a 12px\n backdrop blur -- so the shadow is doing detail work here, not the\n heavy lifting. */\n box-shadow: var(--shadow-md);\n font-family: var(--typography-fontFamily-sans);\n }\n\n /* The title's spacing is set through bd-h's own paddingBottom prop, in\n modal.ts. A \".bd-modal-content h2\" rule stood here and could never match:\n the h2 is inside bd-h's shadow root, so a descendant selector from this\n stylesheet does not reach it. The declared 1em resolved to 0 in all 80\n measured story x viewport combinations, which is why the title sat flush\n on its description. */\n /* This is a <button> the component renders itself rather than a slotted\n bd-button, and that is not going to change here: the element owns the\n close behaviour and there is nothing for a page to pass in. What it can\n stop doing is disagreeing with the atom about the shape of a button.\n\n Measured against Atoms/Button, variant=primary size=md: the fill is the\n same step, and every other axis was different. The padding was em\n literals -- 0.5em/1em -- which is the spacing scale spelled in a unit that\n is not on it, and the radius was --radius-lg against the atom's\n --radius-sm, so the same fill came out with 8px corners here and 4px two\n components over. The margin-top was a third em literal.\n\n The values now match the atom's md size (8/16 at --radius-sm) and are\n spelled with the tokens it uses. Visible: corners tighten from 8px to\n 4px. */\n .bd-modal button {\n margin-top: var(--spacing-16);\n padding: var(--spacing-8) var(--spacing-16);\n background: var(--color-surface-brand);\n color: var(--color-brand-on-fill); /* ink on the brand fill beside it */\n border: none;\n border-radius: var(--shape-radius-sm);\n cursor: pointer;\n font-family: var(--typography-fontFamily-sans);\n }\n\n .bd-modal button:focus-visible {\n /* the one focus ring — see Foundations/Focus */\n /* forced-colors mode does not paint box-shadow, so the ring\n vanishes there; it does paint an outline, in a system colour. This one\n is transparent everywhere else, and the offset lands it on the ring's\n outer band. */\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n box-shadow: var(--focus-outline-primary);\n }\n\n /* The panel scales and fades in. Measured before this: with\n prefers-reduced-motion: reduce the transition still reported\n 0.3s on opacity and transform, so a reader who asked for less motion got\n the panel zooming in anyway. Every other animated component in this\n package honours the query -- see the tooltip two files over. */\n @media (prefers-reduced-motion: reduce) {\n .bd-modal,\n .bd-modal::backdrop {\n transition: none;\n transform: none;\n }\n }\n\n @media ${unsafeCSS(below('md'))} {\n .bd-modal {\n max-width: 90%;\n padding: 1.5em;\n }\n }\n\n @media (max-width: 480px) {\n .bd-modal {\n padding: 2em;\n }\n }\n`;\n"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,0rD"}
@@ -1,52 +0,0 @@
1
- import { LitElement } from "lit";
2
- import "../../tokens/tokens.js";
3
- import "../heading/heading.js";
4
- import "../paragraph/paragraph.js";
5
- /**
6
- * A dialog: a scrim, a centred panel, a title, a description and a close
7
- * control. The consuming page owns `open` and reacts to close-modal.
8
- *
9
- * It is a native <dialog> opened with showModal(), and that is what makes it
10
- * modal rather than a panel drawn over the page. The browser supplies what
11
- * this element used to approximate or leave out: the dialog role and modal
12
- * state, a page made inert behind it, focus moved in on open and returned to
13
- * whatever opened it on close, Esc, and the top layer, so no z-index decides
14
- * whether it is on top. Until it was a <dialog> it was a <div role="dialog">
15
- * without aria-modal -- measured, one Tab reached the close button and the
16
- * next left the dialog entirely with seven controls still reachable behind
17
- * it -- and closing it had to blur the focus it left behind by hand.
18
- *
19
- * Every way out asks the page instead of closing: Esc and a backdrop click
20
- * arrive as `cancel`, which is prevented and turned into close-modal, and the
21
- * Close button dispatches close-modal directly. The dialog closes when the
22
- * page sets open back to false. A browser may refuse to let a second Esc be
23
- * cancelled; it then closes the dialog itself, and `close` still tells the
24
- * page.
25
- *
26
- * The icon is `alt=""`. It was `alt="icon"`, which a screen reader announced
27
- * as the word "icon" beside a title that already says what the dialog is.
28
- */
29
- export declare class BdModal extends LitElement {
30
- static styles: import("lit").CSSResult[];
31
- open?: boolean;
32
- title: string;
33
- icon?: string;
34
- modalText?: string;
35
- get _dialog(): HTMLDialogElement | null;
36
- _onClose(): void;
37
- _onCancel(e: Event): void;
38
- _onDialogClose(): void;
39
- _onClick(e: MouseEvent): void;
40
- connectedCallback(): void;
41
- updated(): void;
42
- _sync(): void;
43
- render(): import("lit-html").TemplateResult<1>;
44
- }
45
- declare global {
46
- interface HTMLElementTagNameMap {
47
- "bd-modal": BdModal;
48
- }
49
- interface HTMLElementEventMap {
50
- "close-modal": CustomEvent<null>;
51
- }
52
- }
@@ -1,17 +0,0 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../heading/heading.js";import"../paragraph/paragraph.js";import n from"./modal.css.js";import{LitElement as r,html as i}from"lit";import{property as a}from"lit/decorators.js";var o=`closedBy`in HTMLDialogElement.prototype,s=class extends r{constructor(...e){super(...e),this.title=``}static{this.styles=[n]}get _dialog(){return this.renderRoot?.querySelector(`dialog`)}_onClose(){this.dispatchEvent(new CustomEvent(`close-modal`,{bubbles:!0,composed:!0}))}_onCancel(e){e.preventDefault(),this._onClose()}_onDialogClose(){this.open&&!this._dialog?.open&&this._onClose()}_onClick(e){if(o||e.target!==this._dialog)return;let t=this._dialog.getBoundingClientRect();e.clientX>=t.left&&e.clientX<=t.right&&e.clientY>=t.top&&e.clientY<=t.bottom||this._onClose()}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this._sync()}updated(){this._sync()}_sync(){let e=this._dialog;e?.isConnected&&(this.open&&!e.matches(`:modal`)?(e.open&&e.close(),e.showModal()):!this.open&&e.open&&e.close())}render(){return i`
2
- <dialog
3
- class="bd-modal"
4
- closedby="any"
5
- aria-labelledby="modal-title"
6
- aria-describedby="modal-description"
7
- @cancel="${this._onCancel}"
8
- @close="${this._onDialogClose}"
9
- @click="${this._onClick}"
10
- >
11
- ${this.icon?i`<img src="${this.icon}" alt="" class="bd-carousel-modal-icon" />`:``}
12
- <bd-h as="h2" id="modal-title" paddingBottom="16">${this.title}</bd-h>
13
- <bd-p variant="regular" id="modal-description">${this.modalText}</bd-p>
14
- <button @click="${this._onClose}" aria-label="Close modal" autofocus>Close</button>
15
- </dialog>
16
- `}};t([a({type:Boolean,reflect:!0})],s.prototype,`open`,void 0),t([a({type:String})],s.prototype,`title`,void 0),t([a({type:String})],s.prototype,`icon`,void 0),t([a({type:String})],s.prototype,`modalText`,void 0),s=t([e(`bd-modal`)],s);export{s as BdModal};
17
- //# sourceMappingURL=modal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal.js","names":["modalCSS","_decorate","__decorate","modal_css_default","CLOSEDBY","BdModal","LitElement","_args","box","dialog","property","defineElement"],"sources":["../../../../src/components/modal/modal.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/heading/heading.ts\";\nimport modalCSS from \"#components/modal/modal.css.ts\";\nimport \"#components/paragraph/paragraph.ts\";\n\n/* <dialog closedby> is newer than the policy's Widely available target: where\n the browser has it, a click on the backdrop is a close request like Esc;\n where it does not, the click is recognised here. */\nconst CLOSEDBY = \"closedBy\" in HTMLDialogElement.prototype;\n\n/**\n * A dialog: a scrim, a centred panel, a title, a description and a close\n * control. The consuming page owns `open` and reacts to close-modal.\n *\n * It is a native <dialog> opened with showModal(), and that is what makes it\n * modal rather than a panel drawn over the page. The browser supplies what\n * this element used to approximate or leave out: the dialog role and modal\n * state, a page made inert behind it, focus moved in on open and returned to\n * whatever opened it on close, Esc, and the top layer, so no z-index decides\n * whether it is on top. Until it was a <dialog> it was a <div role=\"dialog\">\n * without aria-modal -- measured, one Tab reached the close button and the\n * next left the dialog entirely with seven controls still reachable behind\n * it -- and closing it had to blur the focus it left behind by hand.\n *\n * Every way out asks the page instead of closing: Esc and a backdrop click\n * arrive as `cancel`, which is prevented and turned into close-modal, and the\n * Close button dispatches close-modal directly. The dialog closes when the\n * page sets open back to false. A browser may refuse to let a second Esc be\n * cancelled; it then closes the dialog itself, and `close` still tells the\n * page.\n *\n * The icon is `alt=\"\"`. It was `alt=\"icon\"`, which a screen reader announced\n * as the word \"icon\" beside a title that already says what the dialog is.\n */\n@defineElement(\"bd-modal\")\nexport class BdModal extends LitElement {\n static styles = [modalCSS];\n\n @property({ type: Boolean, reflect: true })\n open?: boolean;\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n icon?: string;\n @property({ type: String })\n modalText?: string;\n\n get _dialog() {\n return this.renderRoot?.querySelector(\"dialog\");\n }\n\n _onClose() {\n this.dispatchEvent(new CustomEvent(\"close-modal\", { bubbles: true, composed: true }));\n }\n\n _onCancel(e: Event) {\n e.preventDefault();\n this._onClose();\n }\n\n /* Only a dialog that is actually closed counts. A `close` event can arrive\n after the page has already reopened the dialog -- measured in Chromium:\n closed from a backdrop click, the event was delivered on the next\n showModal(), and read as a close it asked the page to shut the dialog it\n had just opened. */\n _onDialogClose() {\n if (this.open && !this._dialog?.open) this._onClose();\n }\n\n /* The backdrop belongs to the dialog, so a click on it targets the dialog\n itself; a click on the panel's own padding does too, and is told apart by\n landing inside the dialog's box. */\n _onClick(e: MouseEvent) {\n if (CLOSEDBY || e.target !== this._dialog) return;\n const box = this._dialog!.getBoundingClientRect();\n const inside = e.clientX >= box.left && e.clientX <= box.right\n && e.clientY >= box.top && e.clientY <= box.bottom;\n if (!inside) this._onClose();\n }\n\n /* Reconnecting keeps the rendered dialog, but not as a modal: removing a\n dialog from the document takes it out of the top layer and drops its\n modal state while leaving its open attribute, so a modal moved while open\n comes back an ordinary open dialog -- in the flow, no backdrop, the page\n behind it live and no Esc. _sync() asks whether it is :modal, not only\n open, and shows it as one again. */\n connectedCallback() {\n super.connectedCallback();\n if (this.hasUpdated) this._sync();\n }\n\n updated() {\n this._sync();\n }\n\n _sync() {\n const dialog = this._dialog;\n if (!dialog?.isConnected) return;\n if (this.open && !dialog.matches(\":modal\")) {\n // showModal() throws on a dialog that is already open, modal or not\n if (dialog.open) dialog.close();\n dialog.showModal();\n } else if (!this.open && dialog.open) {\n dialog.close();\n }\n }\n\n render() {\n return html`\n <dialog\n class=\"bd-modal\"\n closedby=\"any\"\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-description\"\n @cancel=\"${this._onCancel}\"\n @close=\"${this._onDialogClose}\"\n @click=\"${this._onClick}\"\n >\n ${this.icon\n ? html`<img src=\"${this.icon}\" alt=\"\" class=\"bd-carousel-modal-icon\" />`\n : \"\"}\n <bd-h as=\"h2\" id=\"modal-title\" paddingBottom=\"16\">${this.title}</bd-h>\n <bd-p variant=\"regular\" id=\"modal-description\">${this.modalText}</bd-p>\n <button @click=\"${this._onClose}\" aria-label=\"Close modal\" autofocus>Close</button>\n </dialog>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-modal\": BdModal;\n }\n interface HTMLElementEventMap {\n \"close-modal\": CustomEvent<null>;\n }\n}\n"],"mappings":"A,2VAYA,IAAMI,EAAW,aAAc,kBAAkB,UA2BpCC,EAAN,cAAsBC,CAAW,C,8BAM9B,KAAA,MAAA,E,QALQ,KAAA,OAAA,CAACN,CAAQ,C,CAWzB,IAAI,SAAU,CACZ,OAAO,KAAK,YAAY,cAAc,QAAQ,CAChD,CAEA,UAAW,CACT,KAAK,cAAc,IAAI,YAAY,cAAe,CAAE,QAAS,GAAM,SAAU,EAAK,CAAC,CAAC,CACtF,CAEA,UAAU,EAAU,CAClB,EAAE,eAAe,EACjB,KAAK,SAAS,CAChB,CAOA,gBAAiB,CACX,KAAK,MAAQ,CAAC,KAAK,SAAS,MAAM,KAAK,SAAS,CACtD,CAKA,SAAS,EAAe,CACtB,GAAII,GAAY,EAAE,SAAW,KAAK,QAAS,OAC3C,IAAMI,EAAM,KAAK,QAAS,sBAAsB,EACjC,EAAE,SAAWA,EAAI,MAAQ,EAAE,SAAWA,EAAI,OACpD,EAAE,SAAWA,EAAI,KAAO,EAAE,SAAWA,EAAI,QACjC,KAAK,SAAS,CAC7B,CAQA,mBAAoB,CAClB,MAAM,kBAAkB,EACpB,KAAK,YAAY,KAAK,MAAM,CAClC,CAEA,SAAU,CACR,KAAK,MAAM,CACb,CAEA,OAAQ,CACN,IAAMC,EAAS,KAAK,QACfA,GAAQ,cACT,KAAK,MAAQ,CAACA,EAAO,QAAQ,QAAQ,GAEnCA,EAAO,MAAMA,EAAO,MAAM,EAC9BA,EAAO,UAAU,GACR,CAAC,KAAK,MAAQA,EAAO,MAC9BA,EAAO,MAAM,EAEjB,CAEA,QAAS,CACP,MAAO,EAAI;;;;;;mBAMI,KAAK,UAAU;kBAChB,KAAK,eAAe;kBACpB,KAAK,SAAS;;UAEtB,KAAK,KACH,CAAI,aAAa,KAAK,KAAK,4CAC3B,GAAG;4DAC6C,KAAK,MAAM;yDACd,KAAK,UAAU;0BAC9C,KAAK,SAAS;;KAGtC,CACF,EAzFGR,EAAA,CAAAS,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAL,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzCJ,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAL,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAL,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAL,EAAA,UAAA,YAAA,IAAA,EAAA,EAV3B,EAAAJ,EAAA,CAAAU,EAAc,UAAU,CAAA,EAAAN,CAAA,E"}
@@ -1,2 +0,0 @@
1
- import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{color:var(--bd-paragraph-color,var(--color-text-primary));display:block}p{all:unset;font-family:var(--typography-body-regular-fontFamily);margin-bottom:var(--bd-paragraph-margin-bottom,var(--spacing-16));display:block}:host([variant=large]) p{font-size:var(--typography-body-large-fontSize);font-weight:var(--typography-body-large-fontWeight);line-height:var(--typography-body-large-lineHeight);letter-spacing:var(--typography-body-large-letterSpacing)}:host([variant=regular]) p{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)}:host([variant=small]) p{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)}:host([variant=xsmall]) p{font-size:var(--typography-body-xsmall-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing)}:host([variant=lead]) p{font-size:var(--typography-body-lead-fontSize);font-weight:var(--typography-body-lead-fontWeight);line-height:var(--typography-body-lead-lineHeight);letter-spacing:var(--typography-body-lead-letterSpacing)}:host([variant=eyebrow]) p{font-size:var(--typography-label-large-fontSize);font-weight:var(--typography-label-large-fontWeight);line-height:var(--typography-label-large-lineHeight);letter-spacing:var(--typography-label-large-letterSpacing);font-family:var(--typography-label-large-fontFamily);color:var(--color-text-brand)}@media (width<992px){:host([variant=eyebrow]) p{font-size:var(--typography-label-default-fontSize);font-weight:var(--typography-label-default-fontWeight);line-height:var(--typography-label-default-lineHeight);letter-spacing:var(--typography-label-default-letterSpacing)}}`;export{t as default};
2
- //# sourceMappingURL=paragraph.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"paragraph.css.js","names":["paragraph_css_default"],"sources":["../../../../src/components/paragraph/paragraph.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n /* --color-text-primary, not --color-neutral-1000. Body copy was set in pure\n black while bd-display used neutral-900 and bd-li neutral-700, so a\n heading, its paragraph and its list rendered in three different inks. The\n line below the font-family used to carry the intended value as\n a // prefix, which CSS does not treat as a comment — the parser dropped\n it, and the pure black above won by default. */\n :host {\n display: block;\n color: var(--bd-paragraph-color, var(--color-text-primary));\n }\n\n p {\n all: unset;\n display: block;\n font-family: var(--typography-body-regular-fontFamily);\n /* The flow margin between consecutive paragraphs, and the switch to turn\n it off: --bd-paragraph-margin-bottom: 0 on the host or any ancestor.\n It inherits into this shadow root, which the margin itself never did --\n the <p> is unreachable from outside, so a paragraph that ends a card or\n a column carried 16px nobody could remove, and the header cancelled it\n three times with a negative margin.\n\n It was a no-op until 0.26.0: it read --spacing-md, which no longer\n existed, so every page built on 0.25 was laid out with zero here. The\n rename to --spacing-16 made it live, which is how the step cards on\n security-for-creators gained 16px under each description. */\n margin-bottom: var(--bd-paragraph-margin-bottom, var(--spacing-16));\n }\n\n /* === Font Size Variants === */\n :host([variant=\"large\"]) p {\n font-size: var(--typography-body-large-fontSize);\n font-weight: var(--typography-body-large-fontWeight);\n line-height: var(--typography-body-large-lineHeight);\n letter-spacing: var(--typography-body-large-letterSpacing);\n }\n\n :host([variant=\"regular\"]) p {\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 }\n\n :host([variant=\"small\"]) p {\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 }\n :host([variant=\"xsmall\"]) p {\n font-size: var(--typography-body-xsmall-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 }\n :host([variant=\"lead\"]) p {\n font-size: var(--typography-body-lead-fontSize);\n font-weight: var(--typography-body-lead-fontWeight);\n line-height: var(--typography-body-lead-lineHeight);\n letter-spacing: var(--typography-body-lead-letterSpacing);\n }\n\n /* The eyebrow: a short label above a section title. It takes the\n label-large role -- the role whose job is a short label rather than\n running text -- which is 16px at 1.5 like body-regular and Medium 500\n where body-regular is 400. Brand ink is part of the pattern: all five\n eyebrows in the package and every one on the homepage are text-brand.\n A color attribute still wins, for an eyebrow on a dark band. */\n :host([variant=\"eyebrow\"]) p {\n font-size: var(--typography-label-large-fontSize);\n font-weight: var(--typography-label-large-fontWeight);\n line-height: var(--typography-label-large-lineHeight);\n letter-spacing: var(--typography-label-large-letterSpacing);\n font-family: var(--typography-label-large-fontFamily);\n color: var(--color-text-brand);\n }\n\n /* Below lg the eyebrow steps down to label-default: 14px, the same Medium\n 500 at 1.5. The homepage draws it 14 on the 390 and 768 frames and 16 on\n desktop, so the step sits at lg, which is also where every fluid role in\n the system stops growing. A step between two declared roles rather than a\n fluid size, because the label family has no fluid role, and one for a\n single variant would be a new token where two existing roles already\n answer both ends exactly. */\n @media ${unsafeCSS(below(\"lg\"))} {\n :host([variant=\"eyebrow\"]) p {\n font-size: var(--typography-label-default-fontSize);\n font-weight: var(--typography-label-default-fontWeight);\n line-height: var(--typography-label-default-lineHeight);\n letter-spacing: var(--typography-label-default-letterSpacing);\n }\n }\n\n\n \n\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,o9D"}
@@ -1,6 +0,0 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{color as t,fontFamily as n,fontSize as r,fontWeight as i,letterSpacing as a,spacing as o,spacingShorthand as s}from"../shared/token-scales.js";import c from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{isOneOf as l}from"../shared/prop-vocabulary.js";import u from"./paragraph.css.js";import{LitElement as d,html as f}from"lit";import{property as p}from"lit/decorators.js";var m=[`xsmall`,`small`,`regular`,`large`,`lead`,`eyebrow`],h=class extends d{constructor(...e){super(...e),this.variant=`regular`,this.kind=``,this.padding=``,this.paddingBottom=``,this.paddingTop=``,this.fontFamily=``,this.fontWeight=``,this.fontSize=``,this.letterSpacing=``,this.color=``}willUpdate(e){e.has(`kind`)&&this.kind&&(this.variant=this.kind),(e.has(`variant`)||e.has(`kind`))&&(l(m,this.variant)||(this.variant=`regular`))}render(){let e=[[`padding`,s(this.padding)],[`padding-bottom`,o(this.paddingBottom)],[`padding-top`,o(this.paddingTop)],[`font-family`,n(this.fontFamily)],[`font-weight`,i(this.fontWeight)],[`font-size`,r(this.fontSize)],[`letter-spacing`,a(this.letterSpacing)],[`color`,t(this.color)]].filter(([,e])=>e).map(([e,t])=>`${e}: ${t};`);return f`
2
- <p class="bd-paragraph" style="${e.join(` `)}">
3
- <slot></slot>
4
- </p>
5
- `}static{this.styles=[u]}};c([p({type:String,reflect:!0})],h.prototype,`variant`,void 0),c([p({type:String})],h.prototype,`kind`,void 0),c([p({type:String})],h.prototype,`padding`,void 0),c([p({type:String})],h.prototype,`paddingBottom`,void 0),c([p({type:String})],h.prototype,`paddingTop`,void 0),c([p({type:String,attribute:`font-family`})],h.prototype,`fontFamily`,void 0),c([p({type:String,attribute:`font-weight`})],h.prototype,`fontWeight`,void 0),c([p({type:String,attribute:`font-size`})],h.prototype,`fontSize`,void 0),c([p({type:String,attribute:`letter-spacing`})],h.prototype,`letterSpacing`,void 0),c([p({type:String})],h.prototype,`color`,void 0),h=c([e(`bd-p`)],h);export{h as BdP};
6
- //# sourceMappingURL=paragraph.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"paragraph.js","names":["paragraphCSS","_decorate","__decorate","paragraph_css_default","VARIANTS","BdP","LitElement","_args","changed","isOneOf","styles","spacingShorthand","spacing","fontFamily","fontWeight","fontSize","letterSpacing","color","v","prop","property","defineElement"],"sources":["../../../../src/components/paragraph/paragraph.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport {\n spacing, spacingShorthand, fontFamily, fontWeight, fontSize, letterSpacing, color,\n type SpacingStep, type FontFamilyStep, type FontWeightStep, type FontSizeStep,\n type LetterSpacingStep, type ColorRole\n} from \"#shared/token-scales.ts\";\nimport paragraphCSS from \"./paragraph.css.ts\";\n\n/**\n * The five body roles the stylesheet carries, and the eyebrow.\n *\n * eyebrow is the short brand-ink label above a section title. It reads the\n * label-large role -- 16px, Medium 500, 1.5 -- from lg up, and label-default\n * (14px, the same weight and leading) below lg, rather than a role of its\n * own, so it adds no token. It exists because five components drew the pattern\n * and disagreed on weight: bento-grid and header-code at the body role's 400,\n * trust-panel twice and agent-endpoints at a semibold 600 passed through\n * font-weight, and the homepage design at 500. The phase-1 eyebrow\n * investigation found no role was needed while every eyebrow resolved\n * through body-regular; once three of them reached past it for a weight, one\n * spelling became the thing that keeps them together.\n */\nconst VARIANTS = [\"xsmall\", \"small\", \"regular\", \"large\", \"lead\", \"eyebrow\"] as const;\ntype Variant = typeof VARIANTS[number];\n\n@defineElement(\"bd-p\")\nexport class BdP extends LitElement {\n @property({ type: String, reflect: true })\n variant: Variant = \"regular\";\n /** @deprecated pass `variant`. */\n @property({ type: String })\n kind: Variant | \"\" = \"\";\n @property({ type: String })\n padding = \"\";\n @property({ type: String })\n paddingBottom: SpacingStep | \"\" = \"\";\n @property({ type: String })\n paddingTop: SpacingStep | \"\" = \"\";\n @property({ type: String, attribute: \"font-family\" })\n fontFamily: FontFamilyStep | \"\" = \"\";\n @property({ type: String, attribute: \"font-weight\" })\n fontWeight: FontWeightStep | \"\" = \"\";\n @property({ type: String, attribute: \"font-size\" })\n fontSize: FontSizeStep | \"\" = \"\";\n @property({ type: String, attribute: \"letter-spacing\" })\n letterSpacing: LetterSpacingStep | \"\" = \"\";\n /* A semantic role, the same closed set bd-h and bd-display take. Without\n it a paragraph's ink could only come from the composing component's\n CSS, so a page could not say an eyebrow is brand-blue or a lead on a\n brand band is white. */\n @property({ type: String })\n color: ColorRole | \"\" = \"\";\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"kind\") && this.kind) this.variant = this.kind;\n if (changed.has(\"variant\") || changed.has(\"kind\")) {\n if (!isOneOf(VARIANTS, this.variant)) this.variant = \"regular\";\n }\n }\n\n render() {\n // Step names, resolved to token references by shared/token-scales.ts. The\n // three spacing props took raw CSS lengths before, which is the one thing\n // the foundation rule forbids.\n //\n // fontFamily and fontWeight were declared here and in the manifest and\n // then never applied — every value passed to them was silently dropped,\n // so bd-terminal-message asked four paragraphs for mono and got sans.\n // They resolve through the same closed sets as everything else, so\n // font-family takes \"sans\" or \"mono\" rather than a CSS font stack.\n //\n // fontSize, letterSpacing and color arrived from main as raw CSS; they take\n // a font-size step, a letter-spacing step and a COLOR_ROLES name.\n const styles = [\n [\"padding\", spacingShorthand(this.padding)],\n [\"padding-bottom\", spacing(this.paddingBottom)],\n [\"padding-top\", spacing(this.paddingTop)],\n [\"font-family\", fontFamily(this.fontFamily)],\n [\"font-weight\", fontWeight(this.fontWeight)],\n [\"font-size\", fontSize(this.fontSize)],\n [\"letter-spacing\", letterSpacing(this.letterSpacing)],\n [\"color\", color(this.color)]\n ].filter(([, v]) => v).map(([prop, v]) => `${prop}: ${v};`);\n\n return html`\n <p class=\"bd-paragraph\" style=\"${styles.join(' ')}\">\n <slot></slot>\n </p>\n `;\n }\n\n static styles = [paragraphCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-p\": BdP;\n }\n}"],"mappings":"A,4eA2BA,IAAMI,EAAW,CAAC,SAAU,QAAS,UAAW,QAAS,OAAQ,SAAS,EAI7DC,EAAN,cAAkBC,CAAW,C,8BAEf,KAAA,QAAA,UAGE,KAAA,KAAA,GAEX,KAAA,QAAA,GAEwB,KAAA,cAAA,GAEH,KAAA,WAAA,GAEG,KAAA,WAAA,GAEA,KAAA,WAAA,GAEJ,KAAA,SAAA,GAEU,KAAA,cAAA,GAMhB,KAAA,MAAA,E,CAExB,WAAW,EAA+B,CACpCE,EAAQ,IAAI,MAAM,GAAK,KAAK,OAAM,KAAK,QAAU,KAAK,OACtDA,EAAQ,IAAI,SAAS,GAAKA,EAAQ,IAAI,MAAM,KACzCC,EAAQL,EAAU,KAAK,OAAO,IAAG,KAAK,QAAU,WAEzD,CAEA,QAAS,CAaP,IAAMM,EAAS,CACb,CAAC,UAAkBC,EAAiB,KAAK,OAAO,CAAC,EACjD,CAAC,iBAAkBC,EAAQ,KAAK,aAAa,CAAC,EAC9C,CAAC,cAAkBA,EAAQ,KAAK,UAAU,CAAC,EAC3C,CAAC,cAAkBC,EAAW,KAAK,UAAU,CAAC,EAC9C,CAAC,cAAkBC,EAAW,KAAK,UAAU,CAAC,EAC9C,CAAC,YAAkBC,EAAS,KAAK,QAAQ,CAAC,EAC1C,CAAC,iBAAkBC,EAAc,KAAK,aAAa,CAAC,EACpD,CAAC,QAAkBC,EAAM,KAAK,KAAK,CAAC,CACtC,CAAC,CAAC,QAAQ,EAAGC,KAAOA,CAAC,CAAC,CAAC,KAAK,CAACC,EAAMD,KAAO,GAAGC,EAAK,IAAID,EAAE,EAAE,EAE1D,MAAO,EAAI;uCACwBR,EAAO,KAAK,GAAG,EAAE;;;KAItD,C,OAEgB,KAAA,OAAA,CAACV,CAAY,C,CAC/B,EAjEGC,EAAA,CAAAmB,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAf,EAAA,UAAA,UAAA,IAAA,EAAA,EAGxCJ,EAAA,CAAAmB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAf,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAmB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAf,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAmB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAf,EAAA,UAAA,gBAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAmB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAf,EAAA,UAAA,aAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAmB,EAAS,CAAE,KAAM,OAAQ,UAAW,aAAc,CAAC,CAAA,EAAAf,EAAA,UAAA,aAAA,IAAA,EAAA,EAEnDJ,EAAA,CAAAmB,EAAS,CAAE,KAAM,OAAQ,UAAW,aAAc,CAAC,CAAA,EAAAf,EAAA,UAAA,aAAA,IAAA,EAAA,EAEnDJ,EAAA,CAAAmB,EAAS,CAAE,KAAM,OAAQ,UAAW,WAAY,CAAC,CAAA,EAAAf,EAAA,UAAA,WAAA,IAAA,EAAA,EAEjDJ,EAAA,CAAAmB,EAAS,CAAE,KAAM,OAAQ,UAAW,gBAAiB,CAAC,CAAA,EAAAf,EAAA,UAAA,gBAAA,IAAA,EAAA,EAMtDJ,EAAA,CAAAmB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAf,EAAA,UAAA,QAAA,IAAA,EAAA,EAzB3B,EAAAJ,EAAA,CAAAoB,EAAc,MAAM,CAAA,EAAAhB,CAAA,E"}
@@ -1,10 +0,0 @@
1
- import type { CSSResult } from "lit";
2
- /**
3
- * The pricing elements that render into light DOM -- so a crawler reading the
4
- * page, and the store filling it, find the prices in the document -- used to
5
- * put a <style> copy of their stylesheet inside every card they rendered. The
6
- * sheet now goes to the tree the element sits in once, adopted by its root:
7
- * the document, or the shadow root of the section that renders the card. A
8
- * card inside bd-pricing-container finds the sheet already there.
9
- */
10
- export declare function adoptStyles(host: Node, ...sheets: CSSResult[]): void;
@@ -1,2 +0,0 @@
1
- function e(e,...t){let n=e.getRootNode();if(!(`adoptedStyleSheets`in n))return;let r=t.map(e=>e.styleSheet).filter(e=>!!e&&!n.adoptedStyleSheets.includes(e));r.length&&(n.adoptedStyleSheets=[...n.adoptedStyleSheets,...r])}export{e as adoptStyles};
2
- //# sourceMappingURL=adopt-styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"adopt-styles.js","names":["adoptStyles","sheets","root","host","missing","sheet"],"sources":["../../../../src/components/pricing-cards/adopt-styles.ts"],"sourcesContent":["import type { CSSResult } from \"lit\";\n\n/**\n * The pricing elements that render into light DOM -- so a crawler reading the\n * page, and the store filling it, find the prices in the document -- used to\n * put a <style> copy of their stylesheet inside every card they rendered. The\n * sheet now goes to the tree the element sits in once, adopted by its root:\n * the document, or the shadow root of the section that renders the card. A\n * card inside bd-pricing-container finds the sheet already there.\n */\nexport function adoptStyles(host: Node, ...sheets: CSSResult[]) {\n const root = host.getRootNode() as Node | DocumentOrShadowRoot;\n if (!(\"adoptedStyleSheets\" in root)) return;\n const missing = sheets\n .map(sheet => sheet.styleSheet)\n .filter((sheet): sheet is CSSStyleSheet => !!sheet && !root.adoptedStyleSheets.includes(sheet));\n if (missing.length) root.adoptedStyleSheets = [...root.adoptedStyleSheets, ...missing];\n}\n"],"mappings":"AAUA,SAAgBA,EAAY,EAAY,GAAGC,EAAqB,CAC9D,IAAMC,EAAOC,EAAK,YAAY,EAC9B,GAAI,EAAE,uBAAwBD,GAAO,OACrC,IAAME,EAAUH,EACb,IAAI,GAASI,EAAM,UAAU,CAAC,CAC9B,OAAQ,GAAkC,CAAC,CAACA,GAAS,CAACH,EAAK,mBAAmB,SAASG,CAAK,CAAC,EAC5FD,EAAQ,SAAQ,EAAK,mBAAqB,CAAC,GAAGF,EAAK,mBAAoB,GAAGE,CAAO,EACvF,C"}
@@ -1,18 +0,0 @@
1
- import { LitElement } from "lit";
2
- import "../../tokens/tokens.js";
3
- import "../badge/badge.js";
4
- declare class PricingCard extends LitElement {
5
- highlight?: boolean;
6
- productId: string;
7
- devices: string;
8
- subscription: string;
9
- shadow: boolean;
10
- static styles: import("lit").CSSResult[];
11
- render(): import("lit-html").TemplateResult<1>;
12
- }
13
- declare global {
14
- interface HTMLElementTagNameMap {
15
- "new-pricing-card": PricingCard;
16
- }
17
- }
18
- export {};
@@ -1,12 +0,0 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../badge/badge.js";import n from"./new-pricing.css.js";import{LitElement as r,html as i}from"lit";import{property as a}from"lit/decorators.js";var o=class extends r{constructor(...e){super(...e),this.productId=`vsb`,this.devices=`5`,this.subscription=`1`,this.shadow=!0}static{this.styles=[n]}render(){return i`
2
- <div class="card-wrapper">
3
- ${this.highlight?i`<div class="highlight-banner">Best Value</div>`:``}
4
- <div class="card ${this.highlight?`highlight`:``}">
5
- <slot name="header"></slot>
6
- <slot name="pricing"></slot>
7
- <slot name="actions"></slot>
8
- <slot name="features"></slot>
9
- </div>
10
- </div>
11
- `}};t([a({type:Boolean})],o.prototype,`highlight`,void 0),t([a({type:String})],o.prototype,`productId`,void 0),t([a({type:String})],o.prototype,`devices`,void 0),t([a({type:String})],o.prototype,`subscription`,void 0),t([a({type:Boolean,reflect:!0})],o.prototype,`shadow`,void 0),o=t([e(`new-pricing-card`)],o);
12
- //# sourceMappingURL=new-pricing-card.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"new-pricing-card.js","names":["newPricingCSS","_decorate","__decorate","new_pricing_css_default","PricingCard","LitElement","_args","property","defineElement"],"sources":["../../../../src/components/pricing-cards/new-pricing-card.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/badge/badge.ts\";\nimport newPricingCSS from \"#components/pricing-cards/new-pricing.css.ts\";\n\n@defineElement(\"new-pricing-card\")\nclass PricingCard extends LitElement {\n @property({ type: Boolean })\n highlight?: boolean;\n @property({ type: String })\n productId = \"vsb\";\n @property({ type: String })\n devices = \"5\";\n @property({ type: String })\n subscription = \"1\";\n @property({ type: Boolean, reflect: true })\n shadow = true;\n\n static styles = [newPricingCSS];\n\n render() {\n return html`\n <div class=\"card-wrapper\">\n ${this.highlight\n ? html`<div class=\"highlight-banner\">Best Value</div>`\n : \"\"}\n <div class=\"card ${this.highlight ? \"highlight\" : \"\"}\">\n <slot name=\"header\"></slot>\n <slot name=\"pricing\"></slot>\n <slot name=\"actions\"></slot>\n <slot name=\"features\"></slot>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"new-pricing-card\": PricingCard;\n }\n}\n"],"mappings":"A,2TAQA,IACMI,EADN,cAC0BC,CAAW,C,8BAIvB,KAAA,UAAA,MAEF,KAAA,QAAA,IAEK,KAAA,aAAA,IAEN,KAAA,OAAA,E,QAEO,KAAA,OAAA,CAACL,CAAa,C,CAE9B,QAAS,CACP,MAAO,EAAI;;UAEL,KAAK,UACH,CAAI,iDACJ,GAAG;2BACY,KAAK,UAAY,YAAc,GAAG;;;;;;;KAQ3D,CACF,EA5BGC,EAAA,CAAAM,EAAS,CAAE,KAAM,OAAQ,CAAC,CAAA,EAAAH,EAAA,UAAA,YAAA,IAAA,EAAA,EAE1BH,EAAA,CAAAM,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAH,EAAA,UAAA,YAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAM,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAH,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAM,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAH,EAAA,UAAA,eAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAM,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAH,EAAA,UAAA,SAAA,IAAA,EAAA,EAV3C,EAAAH,EAAA,CAAAO,EAAc,kBAAkB,CAAA,EAAAJ,CAAA"}
@@ -1,2 +0,0 @@
1
- import{css as e}from"lit";var t=e`.card{border-radius:var(--card-radius);padding:var(--card-padding);background:var(--color-surface-container);border:var(--border-width-1) solid var(--color-border-container)}.highlight{border:2px solid var(--color-green-700)}.highlight-wrapper{position:relative}.card-wrapper{max-width:400px;margin:0 auto;padding-top:2.5rem;position:relative}.highlight-banner{background-color:var(--status-success-fill);color:var(--color-text-inverse);font-weight:700;font-size:var(--typography-body-regular-fontSize);text-align:center;border-radius:var(--shape-radius-2xl) var(--shape-radius-2xl) 0 0;z-index:var(--z-raised);width:85%;min-width:200px;max-width:360px;height:48px;font-family:var(--typography-fontFamily-sans);box-sizing:border-box;justify-content:center;align-items:center;display:flex;position:absolute;top:1rem;left:50%;transform:translate(-50%,-50%)}.actions{flex-direction:column;gap:.5rem;margin-top:1rem;display:flex}.hr-line{border:none;border-top:1px solid var(--color-border-subtle);margin:1.5rem 0}`;export{t as default};
2
- //# sourceMappingURL=new-pricing.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"new-pricing.css.js","names":["new_pricing_css_default"],"sources":["../../../../src/components/pricing-cards/new-pricing.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n\n .card {\n border-radius: var(--card-radius);\n padding: var(--card-padding);\n /* The white above this was dead: the grey overrode it in the same rule. */\n background: var(--color-surface-container);\n /* border/container, not the private --border-card-grey alias, which\n pointed at --color-neutral-50 and measured 1.07:1 against this card's\n own ground. 1px was a literal too.\n\n This card keeps surface/container rather than inverting like\n pricing-card.css.ts: new-pricing-card has no wrapper of its own to\n carry a band -- its container is pricing-card-container -- so going\n white here without one would put a white card on a white page. The\n edge is the half that is safe on its own, and it triples the delta to\n 1.233:1. */\n border: var(--border-width-1) solid var(--color-border-container);\n }\n\n .highlight {\n /* no role: no BORDER role carries green-700 -- --status-success-border is\n green-200, four steps lighter. The fill and accent steps do carry it,\n and both are the wrong category for an edge. */\n border: 2px solid var(--color-green-700);\n }\n\n .highlight-wrapper {\n position: relative;\n }\n\n .card-wrapper {\n position: relative;\n padding-top: 2.5rem;\n max-width: 400px;\n margin: 0 auto;\n}\n\n.highlight-banner {\n position: absolute;\n top: 1rem;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: var(--status-success-fill);\n color: var(--color-text-inverse);\n font-weight: bold;\n font-size: var(--typography-body-regular-fontSize);\n text-align: center;\n border-radius: var(--shape-radius-2xl) var(--shape-radius-2xl) 0 0;\n z-index: var(--z-raised);\n height: 48px;\n width: 85%;\n max-width: 360px;\n min-width: 200px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: var(--typography-fontFamily-sans);\n box-sizing: border-box;\n}\n .actions {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n margin-top: 1rem;\n }\n\n .hr-line {\n border: none;\n border-top: 1px solid var(--color-border-subtle);\n margin: 1.5rem 0;\n }\n`;\n"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,q/B"}
@@ -1,2 +0,0 @@
1
- import{css as e}from"lit";var t=e`pricing-card-actions .actions{flex-direction:column;gap:.5rem;margin-top:1rem;display:flex}`;export{t as default};
2
- //# sourceMappingURL=pricing-card-actions.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pricing-card-actions.css.js","names":["pricing_card_actions_css_default"],"sources":["../../../../src/components/pricing-cards/pricing-card-actions.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/* Adopted by the document (or the shadow root the card sits in), so each\n selector starts at the element; see pricing-card-pricing.css.ts. */\nexport default css`\n pricing-card-actions .actions {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n margin-top: 1rem;\n }\n`;\n"],"mappings":"A,0BAIA,IAAAA,EAAe,CAAG,8F"}
@@ -1,19 +0,0 @@
1
- import { LitElement, nothing } from "lit";
2
- import "../../tokens/tokens.js";
3
- import "../button/button.js";
4
- declare class PricingCardActions extends LitElement {
5
- productId: string;
6
- devices: string;
7
- subscription: string;
8
- dataLayerEvent: string;
9
- createRenderRoot(): this;
10
- connectedCallback(): void;
11
- get _label(): string | typeof nothing;
12
- render(): import("lit-html").TemplateResult<1>;
13
- }
14
- declare global {
15
- interface HTMLElementTagNameMap {
16
- "pricing-card-actions": PricingCardActions;
17
- }
18
- }
19
- export {};
@@ -1,25 +0,0 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../button/button.js";import{adoptStyles as n}from"./adopt-styles.js";import r from"./pricing-card-actions.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c=class extends i{constructor(...e){super(...e),this.productId=`vsb`,this.devices=`5`,this.subscription=`1`,this.dataLayerEvent=`info`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),n(this,r)}get _label(){let e=this.closest(`new-pricing-card`)?.querySelector(`pricing-card-header`)?.getAttribute(`title`);return e?`Buy Now, ${e}`:o}render(){return a`
2
- <bd-context ignore-events-parent>
3
- <!-- AICI TREBUIE product-id CU CRATIMĂ! -->
4
- <bd-product product-id="${this.productId}">
5
- <bd-option
6
- devices="${this.devices}"
7
- subscription="${this.subscription}"
8
- data-layer-event="${this.dataLayerEvent}">
9
-
10
- <div class="actions">
11
- <bd-button-link
12
- label=${this._label}
13
- variant="accent"
14
- fullwidth
15
- buyLink
16
- >
17
- Buy Now
18
- </bd-button-link>
19
- </div>
20
-
21
- </bd-option>
22
- </bd-product>
23
- </bd-context>
24
- `}};t([s({type:String,attribute:`product-id`})],c.prototype,`productId`,void 0),t([s({type:String})],c.prototype,`devices`,void 0),t([s({type:String})],c.prototype,`subscription`,void 0),t([s({type:String})],c.prototype,`dataLayerEvent`,void 0),c=t([e(`pricing-card-actions`)],c);
25
- //# sourceMappingURL=pricing-card-actions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pricing-card-actions.js","names":["newPricingActionsCSS","_decorate","__decorate","pricing_card_actions_css_default","PricingCardActions","LitElement","_args","adoptStyles","title","nothing","property","defineElement"],"sources":["../../../../src/components/pricing-cards/pricing-card-actions.ts"],"sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/button/button.ts\";\nimport newPricingActionsCSS from \"#components/pricing-cards/pricing-card-actions.css.ts\";\nimport { adoptStyles } from \"./adopt-styles.ts\";\n\n@defineElement(\"pricing-card-actions\")\nclass PricingCardActions extends LitElement {\n @property({ type: String, attribute: \"product-id\" })\n productId = \"vsb\"; // <- aici e corect\n @property({ type: String })\n devices = \"5\";\n @property({ type: String })\n subscription = \"1\";\n @property({ type: String })\n dataLayerEvent = \"info\";\n\n createRenderRoot() {\n return this;\n }\n\n connectedCallback() {\n super.connectedCallback();\n adoptStyles(this, newPricingActionsCSS);\n }\n\n /* Every card's button reads \"Buy Now\", so a page's list of links held one\n name three times. The card's product follows the visible words in the\n accessible name, which keeps those words first (WCAG 2.5.3). The title is\n the header's, read from the card this sits in. */\n get _label() {\n const title = this.closest(\"new-pricing-card\")\n ?.querySelector(\"pricing-card-header\")\n ?.getAttribute(\"title\");\n return title ? `Buy Now, ${title}` : nothing;\n }\n\n render() {\n return html`\n <bd-context ignore-events-parent>\n <!-- AICI TREBUIE product-id CU CRATIMĂ! -->\n <bd-product product-id=\"${this.productId}\">\n <bd-option\n devices=\"${this.devices}\"\n subscription=\"${this.subscription}\"\n data-layer-event=\"${this.dataLayerEvent}\">\n\n <div class=\"actions\">\n <bd-button-link\n label=${this._label}\n variant=\"accent\"\n fullwidth\n buyLink\n >\n Buy Now\n </bd-button-link>\n </div>\n\n </bd-option>\n </bd-product>\n </bd-context>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"pricing-card-actions\": PricingCardActions;\n }\n}\n"],"mappings":"A,mYASA,IACMI,EADN,cACiCC,CAAW,C,8BAE9B,KAAA,UAAA,MAEF,KAAA,QAAA,IAEK,KAAA,aAAA,IAEE,KAAA,eAAA,M,CAEjB,kBAAmB,CACjB,OAAO,IACT,CAEA,mBAAoB,CAClB,MAAM,kBAAkB,EACxBE,EAAY,KAAMP,CAAoB,CACxC,CAMA,IAAI,QAAS,CACX,IAAMQ,EAAQ,KAAK,QAAQ,kBAAkB,CAAC,EAC1C,cAAc,qBAAqB,CAAC,EACpC,aAAa,OAAO,EACxB,OAAOA,EAAQ,YAAYA,IAAUC,CACvC,CAEA,QAAS,CACP,MAAO,EAAI;;;kCAGmB,KAAK,UAAU;;uBAE1B,KAAK,QAAQ;4BACR,KAAK,aAAa;gCACd,KAAK,eAAe;;;;wBAI5B,KAAK,OAAO;;;;;;;;;;;;KAalC,CACF,EAvDGR,EAAA,CAAAS,EAAS,CAAE,KAAM,OAAQ,UAAW,YAAa,CAAC,CAAA,EAAAN,EAAA,UAAA,YAAA,IAAA,EAAA,EAElDH,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAN,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAN,EAAA,UAAA,eAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAN,EAAA,UAAA,iBAAA,IAAA,EAAA,EAR3B,EAAAH,EAAA,CAAAU,EAAc,sBAAsB,CAAA,EAAAP,CAAA"}
@@ -1,2 +0,0 @@
1
- import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{padding:0 240px}.cards-row{flex-wrap:wrap;gap:1rem;display:flex}::slotted(new-pricing-card){flex:100%}:host([count="2"]) ::slotted(new-pricing-card){flex:calc(50% - 1rem)}:host([count="3"]) ::slotted(new-pricing-card){flex:calc(33.333% - 1rem)}:host([count="4"]) ::slotted(new-pricing-card),:host([count="5"]) ::slotted(new-pricing-card),:host([count="6"]) ::slotted(new-pricing-card){flex:calc(25% - 1rem)}@media (width<768px){::slotted(new-pricing-card){flex:100%}}`;export{t as default};
2
- //# sourceMappingURL=pricing-card-container.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pricing-card-container.css.js","names":["pricing_card_container_css_default"],"sources":["../../../../src/components/pricing-cards/pricing-card-container.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n padding: 0px 240px;\n }\n\n .cards-row {\n display: flex;\n flex-wrap: wrap;\n gap: 1rem;\n }\n\n ::slotted(new-pricing-card) {\n flex: 1 1 100%;\n }\n\n /* 2 cards */\n :host([count=\"2\"]) ::slotted(new-pricing-card) {\n flex: 1 1 calc(50% - 1rem);\n }\n\n /* 3 cards */\n :host([count=\"3\"]) ::slotted(new-pricing-card) {\n flex: 1 1 calc(33.333% - 1rem);\n }\n\n /* 4+ cards. Each selector needs its own ::slotted: the first two used to\n style the container itself, so four or five cards never got a quarter. */\n :host([count=\"4\"]) ::slotted(new-pricing-card),\n :host([count=\"5\"]) ::slotted(new-pricing-card),\n :host([count=\"6\"]) ::slotted(new-pricing-card) {\n flex: 1 1 calc(25% - 1rem);\n }\n\n @media ${unsafeCSS(below('md'))} {\n ::slotted(new-pricing-card) {\n flex: 1 1 100%;\n }\n }\n`;\n"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,4d"}
@@ -1,14 +0,0 @@
1
- import { LitElement } from "lit";
2
- import "../../tokens/tokens.js";
3
- export declare class PricingCardsContainer extends LitElement {
4
- static styles: import("lit").CSSResult[];
5
- count: number;
6
- willUpdate(): void;
7
- _countCards(): void;
8
- render(): import("lit-html").TemplateResult<1>;
9
- }
10
- declare global {
11
- interface HTMLElementTagNameMap {
12
- "pricing-cards-container": PricingCardsContainer;
13
- }
14
- }
@@ -1,6 +0,0 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import n from"./pricing-card-container.css.js";import{LitElement as r,html as i}from"lit";import{property as a}from"lit/decorators.js";var o=class extends r{constructor(...e){super(...e),this.count=0}static{this.styles=[n]}willUpdate(){this.hasUpdated||this._countCards()}_countCards(){this.count=this.querySelectorAll(`new-pricing-card`).length}render(){return i`
2
- <div class="cards-row">
3
- <slot @slotchange=${this._countCards}></slot>
4
- </div>
5
- `}};t([a({type:Number,reflect:!0})],o.prototype,`count`,void 0),o=t([e(`pricing-cards-container`)],o);export{o as PricingCardsContainer};
6
- //# sourceMappingURL=pricing-card-container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pricing-card-container.js","names":["newCardsContainerPricingCSS","_decorate","__decorate","pricing_card_container_css_default","PricingCardsContainer","LitElement","_args","property","defineElement"],"sources":["../../../../src/components/pricing-cards/pricing-card-container.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport newCardsContainerPricingCSS from \"#components/pricing-cards/pricing-card-container.css.ts\";\n\n@defineElement(\"pricing-cards-container\")\nexport class PricingCardsContainer extends LitElement {\n static styles = [newCardsContainerPricingCSS];\n\n @property({ type: Number, reflect: true })\n count = 0;\n\n /* Counted before the first render, and again whenever the cards change.\n Counting in firstUpdated set the reflected count after the render it\n styles, which is a second render -- Lit's change-in-update warning. */\n willUpdate() {\n if (!this.hasUpdated) this._countCards();\n }\n\n _countCards() {\n this.count = this.querySelectorAll(\"new-pricing-card\").length;\n }\n\n render() {\n return html`\n <div class=\"cards-row\">\n <slot @slotchange=${this._countCards}></slot>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"pricing-cards-container\": PricingCardsContainer;\n }\n}\n"],"mappings":"A,4SAQO,IAAMI,EAAN,cAAoCC,CAAW,C,8BAI5C,KAAA,MAAA,C,QAHQ,KAAA,OAAA,CAACL,CAA2B,C,CAQ5C,YAAa,CACN,KAAK,YAAY,KAAK,YAAY,CACzC,CAEA,aAAc,CACZ,KAAK,MAAQ,KAAK,iBAAiB,kBAAkB,CAAC,CAAC,MACzD,CAEA,QAAS,CACP,MAAO,EAAI;;4BAEa,KAAK,YAAY;;KAG3C,CACF,EArBGC,EAAA,CAAAM,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAH,EAAA,UAAA,QAAA,IAAA,EAAA,EAJ1C,EAAAH,EAAA,CAAAO,EAAc,yBAAyB,CAAA,EAAAJ,CAAA,E"}
@@ -1,2 +0,0 @@
1
- import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans)}.card-header{text-align:center}.card-title{font-size:var(--typography-heading-h4-fontSize);font-family:var(--typography-fontFamily-sans);text-align:start;color:var(--color-text-primary);margin:0}.card-title-brand{font-family:var(--typography-fontFamily-sans);font-weight:var(--typography-fontWeight-bold);color:var(--color-text-primary);display:block}.plus-text{color:var(--color-text-brand);font-weight:var(--typography-fontWeight-bold);font-family:var(--typography-fontFamily-sans)}.badge{background:var(--status-brand-surface);border-radius:var(--shape-radius-sm);align-items:center;gap:.25rem;margin:.5rem 0;padding:.25rem .5rem;font-size:.875rem;font-weight:700;display:inline-flex}.badge-icon{height:1rem}.badge-subtitle{font-size:var(--typography-body-regular-fontSize);text-align:start;font-family:var(--typography-fontFamily-sans);color:var(--color-text-primary);margin:0;margin-bottom:var(--spacing-16);margin-top:-8px}.hr-line{border:none;border-top:1px solid var(--color-border-subtle);margin:1rem 0}.badge-wrapper{text-align:start;margin-top:var(--spacing-8);margin-bottom:var(--spacing-8)}.badge-wrapper.multiple{gap:var(--spacing-8);margin-top:var(--spacing-8);margin-bottom:var(--spacing-8);flex-wrap:wrap;display:flex}`;export{t as default};
2
- //# sourceMappingURL=pricing-card-header.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pricing-card-header.css.js","names":["pricing_card_header_css_default"],"sources":["../../../../src/components/pricing-cards/pricing-card-header.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n font-family: var(--typography-fontFamily-sans);\n }\n\n .card-header {\n text-align: center;\n }\n\n .card-title {\n font-size: var(--typography-heading-h4-fontSize);\n font-family: var(--typography-fontFamily-sans);\n margin: 0;\n text-align: start;\n color: var(--color-text-primary);\n }\n\n /* its own line, as when it was a heading of its own */\n .card-title-brand {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n font-weight: var(--typography-fontWeight-bold);\n color: var(--color-text-primary);\n }\n\n /* Stil pentru cuvântul \"Plus\" evidențiat */\n .plus-text {\n color: var(--color-text-brand);\n font-weight: var(--typography-fontWeight-bold);\n font-family: var(--typography-fontFamily-sans);\n }\n\n .badge {\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n font-weight: bold;\n /* The brand tint as a badge ground. bd-badge's brand variant is this exact\n pair (badge.css.ts:71-72) and tokens.ts names the step for the job:\n -surface is the light tint. Value-identical at #f0f7ff. */\n background: var(--status-brand-surface);\n padding: 0.25rem 0.5rem;\n border-radius: var(--shape-radius-sm);\n margin: 0.5rem 0;\n font-size: 0.875rem;\n }\n\n .badge-icon {\n height: 1rem;\n }\n\n .badge-subtitle {\n font-size: var(--typography-body-regular-fontSize);\n text-align: start;\n font-family: var(--typography-fontFamily-sans);\n color: var(--color-text-primary);\n margin: 0;\n margin-bottom: var(--spacing-16);\n margin-top: -8px;\n }\n\n .hr-line {\n border: none;\n border-top: 1px solid var(--color-border-subtle);\n margin: 1rem 0;\n }\n\n .badge-wrapper {\n text-align: start;\n margin-top: var(--spacing-8);\n margin-bottom: var(--spacing-8);\n }\n\n .badge-wrapper.multiple {\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-8);\n margin-top: var(--spacing-8);\n margin-bottom: var(--spacing-8);\n }\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,0wC"}
@@ -1,22 +0,0 @@
1
- import { LitElement } from "lit";
2
- import "../../tokens/tokens.js";
3
- import "../badge/badge.js";
4
- import "../divider/divider-horizontal.js";
5
- import "../heading/heading.js";
6
- import "../paragraph/paragraph.js";
7
- declare class PricingCardHeader extends LitElement {
8
- static styles: import("lit").CSSResult[];
9
- title: string;
10
- subtitle?: string;
11
- badges?: string;
12
- plus?: boolean;
13
- get parsedBadges(): string[];
14
- renderTitle(): "" | import("lit-html").TemplateResult<1>;
15
- render(): import("lit-html").TemplateResult<1>;
16
- }
17
- declare global {
18
- interface HTMLElementTagNameMap {
19
- "pricing-card-header": PricingCardHeader;
20
- }
21
- }
22
- export {};
@@ -1,18 +0,0 @@
1
- import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../heading/heading.js";import"../paragraph/paragraph.js";import"../badge/badge.js";import"../divider/divider-horizontal.js";import n from"./pricing-card-header.css.js";import{LitElement as r,html as i}from"lit";import{property as a}from"lit/decorators.js";var o=class extends r{constructor(...e){super(...e),this.title=``}static{this.styles=[n]}get parsedBadges(){return this.badges?this.badges.split(`|`).map(e=>e.trim()):[]}renderTitle(){if(!this.title)return``;let e=this.title.match(/^(Bitdefender)\s+(.*)$/i),t=e?e[1]:``,n=(e?e[2]:this.title).split(/\b(plus)\b/i).map((e,t)=>t%2?i`<span class="plus-text">${e}</span>`:e);return i`
2
- <bd-h as="h4" class="card-title">
3
- ${t?i`<span class="card-title-brand">${t}</span>`:``}${n}
4
- </bd-h>
5
- `}render(){return i`
6
- <div class="card-header">
7
- ${this.renderTitle()}
8
-
9
- ${this.parsedBadges.length?i`
10
- <div class="badge-wrapper multiple">
11
- ${this.parsedBadges.map(e=>i`<bd-badge tone="primary" variant="fill">${e}</bd-badge>`)}
12
- </div>
13
- `:``}
14
- <bd-p variant="small" class="badge-subtitle">${this.subtitle}</bd-p>
15
- <bd-divider-horizontal></bd-divider-horizontal>
16
- </div>
17
- `}};t([a({type:String})],o.prototype,`title`,void 0),t([a({type:String})],o.prototype,`subtitle`,void 0),t([a({type:String})],o.prototype,`badges`,void 0),t([a({type:Boolean})],o.prototype,`plus`,void 0),o=t([e(`pricing-card-header`)],o);
18
- //# sourceMappingURL=pricing-card-header.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pricing-card-header.js","names":["newHeaderPricingCSS","_decorate","__decorate","pricing_card_header_css_default","PricingCardHeader","LitElement","_args","b","match","brand","highlighted","i","part","property","defineElement"],"sources":["../../../../src/components/pricing-cards/pricing-card-header.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/badge/badge.ts\";\nimport \"#components/divider/divider-horizontal.ts\";\nimport \"#components/heading/heading.ts\";\nimport \"#components/paragraph/paragraph.ts\";\nimport newHeaderPricingCSS from \"#components/pricing-cards/pricing-card-header.css.ts\";\n\n@defineElement(\"pricing-card-header\")\nclass PricingCardHeader extends LitElement {\n static styles = [newHeaderPricingCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n subtitle?: string;\n @property({ type: String })\n badges?: string;\n @property({ type: Boolean })\n plus?: boolean;\n\n get parsedBadges() {\n return this.badges ? this.badges.split(\"|\").map((b) => b.trim()) : [];\n }\n\n /* The title, as one heading: \"Bitdefender\" on a line of its own when the\n title starts with it, and the word \"Plus\" in the brand colour.\n\n A title without \"Plus\" used to render the words \"Internet Security\"\n whatever it said -- every card but Antivirus Plus named the wrong product\n -- inside a <template shadowrootmode> that never attaches when Lit clones\n a template, so it sat in the heading as an inert element. A title with\n \"Plus\" was split across two <h4>s, which a screen reader announced as two\n headings. */\n renderTitle() {\n if (!this.title) return \"\";\n\n const match = this.title.match(/^(Bitdefender)\\s+(.*)$/i);\n const brand = match ? match[1] : \"\";\n const rest = match ? match[2] : this.title;\n const highlighted = rest.split(/\\b(plus)\\b/i).map((part, i) =>\n i % 2 ? html`<span class=\"plus-text\">${part}</span>` : part);\n\n return html`\n <bd-h as=\"h4\" class=\"card-title\">\n ${brand ? html`<span class=\"card-title-brand\">${brand}</span>` : \"\"}${highlighted}\n </bd-h>\n `;\n }\n\n render() {\n return html`\n <div class=\"card-header\">\n ${this.renderTitle()}\n\n ${this.parsedBadges.length\n ? html`\n <div class=\"badge-wrapper multiple\">\n ${this.parsedBadges.map((b) => html`<bd-badge tone=\"primary\" variant=\"fill\">${b}</bd-badge>`)}\n </div>\n `\n : \"\"}\n <bd-p variant=\"small\" class=\"badge-subtitle\">${this.subtitle}</bd-p>\n <bd-divider-horizontal></bd-divider-horizontal>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"pricing-card-header\": PricingCardHeader;\n }\n}\n"],"mappings":"A,4aAWA,IACMI,EADN,cACgCC,CAAW,C,8BAIjC,KAAA,MAAA,E,QAHQ,KAAA,OAAA,CAACL,CAAmB,C,CAWpC,IAAI,cAAe,CACjB,OAAO,KAAK,OAAS,KAAK,OAAO,MAAM,GAAG,CAAC,CAAC,IAAK,GAAMO,EAAE,KAAK,CAAC,EAAI,CAAC,CACtE,CAWA,aAAc,CACZ,GAAI,CAAC,KAAK,MAAO,MAAO,GAExB,IAAMC,EAAQ,KAAK,MAAM,MAAM,yBAAyB,EAClDC,EAAQD,EAAQA,EAAM,GAAK,GAE3BE,GADOF,EAAQA,EAAM,GAAK,KAAK,MAAA,CACZ,MAAM,aAAa,CAAC,CAAC,KAAK,EAAM,IACvDG,EAAI,EAAI,CAAI,2BAA2BC,EAAK,SAAWA,CAAI,EAE7D,MAAO,EAAI;;UAELH,EAAQ,CAAI,kCAAkCA,EAAM,SAAW,KAAKC,EAAY;;KAGxF,CAEA,QAAS,CACP,MAAO,EAAI;;UAEL,KAAK,YAAY,EAAE;;UAEnB,KAAK,aAAa,OAChB,CAAI;;kBAEE,KAAK,aAAa,IAAK,GAAM,CAAI,2CAA2CH,EAAE,YAAY,EAAE;;cAGlG,GAAG;uDACwC,KAAK,SAAS;;;KAInE,CACF,EAvDGN,EAAA,CAAAY,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAY,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,WAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAY,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,SAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAY,EAAS,CAAE,KAAM,OAAQ,CAAC,CAAA,EAAAT,EAAA,UAAA,OAAA,IAAA,EAAA,EAV5B,EAAAH,EAAA,CAAAa,EAAc,qBAAqB,CAAA,EAAAV,CAAA"}
@@ -1,2 +0,0 @@
1
- import{css as e}from"lit";var t=e`pricing-card-pricing .pricing{text-align:start;margin-top:var(--spacing-16)}pricing-card-pricing .pricing-info{gap:var(--spacing-8);margin-top:var(--spacing-16);align-items:baseline;display:flex}pricing-card-pricing .original-price{font-family:var(--typography-fontFamily-sans);color:var(--color-text-primary);font-size:var(--typography-body-regular-fontSize);margin:0;text-decoration:line-through}pricing-card-pricing .discount{color:var(--color-text-success);background:var(--status-success-surface-strong);font-weight:700;font-size:var(--typography-body-regular-fontSize);border-radius:var(--radius-full);font-family:var(--typography-fontFamily-sans);margin:0;padding:5px}pricing-card-pricing .price{text-align:start;font-family:var(--typography-heading-h3-fontFamily);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);color:var(--color-text-primary);margin:0}pricing-card-pricing .terms{font-family:var(--typography-fontFamily-sans);font-size:var(--typography-label-small-fontSize);color:var(--color-text-primary);text-align:start;margin:0;margin-top:var(--spacing-8);margin-bottom:var(--spacing-16)}pricing-card-pricing .terms a{font-family:var(--typography-fontFamily-sans);font-size:var(--typography-label-small-fontSize);color:var(--color-text-primary);text-decoration:underline}pricing-card-pricing .billing::part(options){gap:var(--spacing-16);flex-direction:row}pricing-card-pricing .billing::part(label){clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}`;export{t as default};
2
- //# sourceMappingURL=pricing-card-pricing.css.js.map