@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,27 +1,28 @@
1
1
  /**
2
- * Barrel for the brand and award marks.
2
+ * Barrel for the brand and award marks: bd-mark and every drawing it can show.
3
+ *
4
+ * import "@repobit/dex-system-design/marks";
5
+ * <bd-mark name="pc-mag" height="56"></bd-mark>
3
6
  *
4
7
  * Separate from ./icons.ts because these are a different kind of thing and,
5
- * more practically, a different order of weight. They take width and height
6
- * only — no colour, because recolouring a third party's mark would
7
- * misrepresent it — and seven of the eight are raster: the artwork is a PNG
8
- * embedded in the SVG through a pattern fill, between 23KB and 106KB each,
9
- * 360KB for the set.
8
+ * more practically, a different order of weight. They take a pixel width and
9
+ * height rather than a step, and no colour, because recolouring a third
10
+ * party's mark would misrepresent it -- and seven of the eight are raster: the
11
+ * artwork is a PNG embedded in the svg through a pattern fill, between 23KB
12
+ * and 106KB each, 360KB for the set.
10
13
  *
11
- * That is why they are not in the icon barrel. Together they were 94% of it,
12
- * and the only component that uses them, bd-awards, imports the individual
13
- * files it needs rather than the barrel. A consumer importing ./icons for an
14
- * arrow was carrying all seven award badges.
14
+ * Each mark is its own module (marks/<name>.ts), which registers it and
15
+ * defines bd-mark, so a component imports the marks it renders rather than
16
+ * this barrel.
15
17
  *
16
- * Two of them are exceptions, and they are the two that are ours: bd-ai-icon,
17
- * the Bitdefender AI wordmark, 3KB of vector drawn in --color-blue-500, and
18
- * bd-brand-signature-icon, the signature the hero lays over its image, a
19
- * single path drawn in currentColor and sized from the icon scale like an
20
- * interface icon. Neither of the two reasons above reaches a mark of your
21
- * own -- choosing the ink is not misrepresentation, and a path has no PNG to
22
- * stop it scaling -- so brand-signature-icon.ts says that outright in its own
23
- * header rather than inheriting a rule that was written about somebody else's
24
- * marks. It is listed here because it is a brand mark; it behaves like an icon.
18
+ * The seven third-party marks sit on a plate, --color-surface-mark, a light
19
+ * ground in every theme, so they read on a dark page as on a white one
20
+ * (icons/mark.ts). One of the eight is ours: ai, the Bitdefender AI
21
+ * wordmark, 3KB of vector in one ink, drawn in currentColor so it follows the
22
+ * theme and takes no plate. The signature the hero lays over its image is
23
+ * ours too, and is NOT a mark: a single path drawn in currentColor and sized
24
+ * from the icon scale is an icon, so it is <bd-icon name="brand-signature">,
25
+ * in ./icons.ts.
25
26
  *
26
27
  * Being raster has consequences worth knowing before reaching for one: these
27
28
  * cannot be tinted, and they do not scale cleanly past the size their PNG was
@@ -29,12 +30,12 @@
29
30
  * they are third-party marks and redrawing is not a cleanup anyone should do
30
31
  * unilaterally.
31
32
  */
32
- import "./bd-ai-icon.js";
33
- import "./brand-signature-icon.js";
34
- import "./av-comparatives-icon.js";
35
- import "./best-brands-icon.js";
36
- import "./pc-mag-2024-icon.js";
37
- import "./pc-mag-business-icon.js";
38
- import "./pc-mag-icon.js";
39
- import "./pc-mag-readers-icon.js";
40
- import "./top-product-icon.js";
33
+ import "./mark.js";
34
+ import "./marks/ai.js";
35
+ import "./marks/av-comparatives.js";
36
+ import "./marks/best-brands.js";
37
+ import "./marks/pc-mag.js";
38
+ import "./marks/pc-mag-2024.js";
39
+ import "./marks/pc-mag-business.js";
40
+ import "./marks/pc-mag-readers.js";
41
+ import "./marks/top-product.js";
@@ -1 +1 @@
1
- import"./av-comparatives-icon.js";import"./best-brands-icon.js";import"./pc-mag-2024-icon.js";import"./pc-mag-business-icon.js";import"./pc-mag-icon.js";import"./pc-mag-readers-icon.js";import"./top-product-icon.js";import"./brand-signature-icon.js";import"./bd-ai-icon.js";
1
+ import"./mark.js";import"./marks/av-comparatives.js";import"./marks/best-brands.js";import"./marks/pc-mag-2024.js";import"./marks/pc-mag-business.js";import"./marks/pc-mag-readers.js";import"./marks/pc-mag.js";import"./marks/top-product.js";import"./marks/ai.js";
@@ -0,0 +1 @@
1
+ import "./icon.js";
@@ -0,0 +1,6 @@
1
+ import{registerIcon as e}from"./registry.js";import"./icon.js";e(`minus`,`
2
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 7H13.75V9H2.25V7Z" fill="currentColor"/>
4
+ </svg>
5
+ `,{size:`sm`});
6
+ //# sourceMappingURL=minus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"minus.js","names":["registerIcon"],"sources":["../../../../src/components/icons/minus.ts"],"sourcesContent":["// icons/minus.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\nregisterIcon(\"minus\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.25 7H13.75V9H2.25V7Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'sm' });\n"],"mappings":"A,+DAIAA,EAAa,QAAS;;;;EAInB,CAAE,KAAM,IAAK,CAAC"}
@@ -0,0 +1 @@
1
+ import "./icon.js";
@@ -0,0 +1,7 @@
1
+ import{registerIcon as e}from"./registry.js";import"./icon.js";e(`pause`,`
2
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
3
+ <rect x="4" y="3" width="3" height="10" rx="1" fill="currentColor"/>
4
+ <rect x="9" y="3" width="3" height="10" rx="1" fill="currentColor"/>
5
+ </svg>
6
+ `,{size:`sm`});
7
+ //# sourceMappingURL=pause.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pause.js","names":["registerIcon"],"sources":["../../../../src/components/icons/pause.ts"],"sourcesContent":["// icons/pause.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/* Two bars: the control that stops something that moves on its own -- a\n marquee, a looping video. Drawn on a 16 grid, so it sits at sm. */\nregisterIcon(\"pause\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\">\n <rect x=\"4\" y=\"3\" width=\"3\" height=\"10\" rx=\"1\" fill=\"currentColor\"/>\n <rect x=\"9\" y=\"3\" width=\"3\" height=\"10\" rx=\"1\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'sm' });\n"],"mappings":"A,+DAMAA,EAAa,QAAS;;;;;EAKnB,CAAE,KAAM,IAAK,CAAC"}
@@ -0,0 +1 @@
1
+ import "./icon.js";
@@ -0,0 +1,6 @@
1
+ import{registerIcon as e}from"./registry.js";import"./icon.js";e(`play`,`
2
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
3
+ <path d="M5 3.2v9.6a.75.75 0 0 0 1.14.64l7.6-4.8a.75.75 0 0 0 0-1.28l-7.6-4.8A.75.75 0 0 0 5 3.2Z" fill="currentColor"/>
4
+ </svg>
5
+ `,{size:`sm`});
6
+ //# sourceMappingURL=play.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"play.js","names":["registerIcon"],"sources":["../../../../src/components/icons/play.ts"],"sourcesContent":["// icons/play.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/* A right-pointing triangle: the control that sets a paused marquee or video\n moving again. Drawn on a 16 grid, so it sits at sm. */\nregisterIcon(\"play\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M5 3.2v9.6a.75.75 0 0 0 1.14.64l7.6-4.8a.75.75 0 0 0 0-1.28l-7.6-4.8A.75.75 0 0 0 5 3.2Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'sm' });\n"],"mappings":"A,+DAMAA,EAAa,OAAQ;;;;EAIlB,CAAE,KAAM,IAAK,CAAC"}
@@ -0,0 +1 @@
1
+ import "./icon.js";
@@ -0,0 +1,6 @@
1
+ import{registerIcon as e}from"./registry.js";import"./icon.js";e(`plus`,`
2
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
3
+ <path d="M9 1H7V7H1V9H7V15H9V9H15V7H9V1Z" fill="currentColor"/>
4
+ </svg>
5
+ `,{size:`sm`});
6
+ //# sourceMappingURL=plus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plus.js","names":["registerIcon"],"sources":["../../../../src/components/icons/plus.ts"],"sourcesContent":["// icons/plus.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\nregisterIcon(\"plus\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M9 1H7V7H1V9H7V15H9V9H15V7H9V1Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'sm' });\n"],"mappings":"A,+DAIAA,EAAa,OAAQ;;;;EAIlB,CAAE,KAAM,IAAK,CAAC"}
@@ -0,0 +1 @@
1
+ import "./icon.js";
@@ -0,0 +1,6 @@
1
+ import{registerIcon as e}from"./registry.js";import"./icon.js";e(`quote`,`
2
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
3
+ <path d="M3 19.5V13c0-4.4 2.2-7.6 6.5-9.2l.9 1.9C7.9 6.9 6.8 8.7 6.6 11H10v8.5H3Zm11 0V13c0-4.4 2.2-7.6 6.5-9.2l.9 1.9c-2.5 1.2-3.6 3-3.8 5.3H21v8.5h-7Z" fill="currentColor"/>
4
+ </svg>
5
+ `,{size:`xl`});
6
+ //# sourceMappingURL=quote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote.js","names":["registerIcon"],"sources":["../../../../src/components/icons/quote.ts"],"sourcesContent":["// icons/quote.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/**\n * An opening quotation mark, drawn as a path.\n *\n * It used to be a \"“\" character in an SVG <text> element at Helvetica\n * 128px: type being asked to draw a picture, so its shape depended on which\n * Helvetica the platform had, and its colour was a hex of its own\n * (#2E6BF6) rather than the ink it sits in. Now it is a drawing like every\n * sibling -- sized from the icon scale, drawn in currentColor.\n */\nregisterIcon(\"quote\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path d=\"M3 19.5V13c0-4.4 2.2-7.6 6.5-9.2l.9 1.9C7.9 6.9 6.8 8.7 6.6 11H10v8.5H3Zm11 0V13c0-4.4 2.2-7.6 6.5-9.2l.9 1.9c-2.5 1.2-3.6 3-3.8 5.3H21v8.5h-7Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'xl' });\n"],"mappings":"A,+DAaAA,EAAa,QAAS;;;;EAInB,CAAE,KAAM,IAAK,CAAC"}
@@ -0,0 +1,122 @@
1
+ /**
2
+ * The drawings bd-icon and bd-mark render, by name.
3
+ *
4
+ * registerIcon('check', `<svg viewBox="0 0 16 16">…</svg>`, { size: 'sm' });
5
+ * <bd-icon name="check"></bd-icon>
6
+ *
7
+ * PAGE-WIDE STATE. Several projects load their own bundled copy of this
8
+ * package onto one page, and the tag is defined once, by whichever copy got
9
+ * there first (@defineElement). So the bd-icon on the page can be one copy's
10
+ * class drawing what another copy's modules registered, and the drawings have
11
+ * to live where every copy finds them: window.BD.state.icons for the icons and
12
+ * window.BD.state.marks for the marks, the dex-core rule for state that exists
13
+ * once per page. Each copy reuses a map it finds there and never replaces one,
14
+ * and a name already in it keeps the drawing that got there first, the same
15
+ * rule the tags follow. A copy registering the same name again is the normal
16
+ * case, not an error: two bundles both importing ./check.ts both call this.
17
+ *
18
+ * THE SHAPE IS A CONTRACT BETWEEN COPIES. A Map from name to { svg, size?,
19
+ * mirror? }, read by code that may be a different release of this package.
20
+ * Add an optional field if a drawing needs one; never rename or retype one.
21
+ *
22
+ * LATE DRAWINGS. Nothing orders a page's imports, so an element can connect
23
+ * before its drawing registers. Each registration is announced on window
24
+ * (bd-icon-register, bd-mark-register, detail { name }), which is the one
25
+ * target every copy shares, and an element showing the missing glyph for that
26
+ * name renders again: DrawingController below keeps one listener per set for
27
+ * this copy, and wakes only the elements waiting on the name registered.
28
+ *
29
+ * A drawing is trusted markup: the package's own artwork, parsed with the
30
+ * HTML parser and cloned into each element that shows it.
31
+ */
32
+ import type { ReactiveController, ReactiveControllerHost } from "lit";
33
+ /** One drawing, as the page-wide map holds it. */
34
+ export interface Drawing {
35
+ /** The whole `<svg>…</svg>`, with a viewBox. */
36
+ readonly svg: string;
37
+ /**
38
+ * The size it was drawn at: a step of the icon scale, or a CSS length for
39
+ * a drawing off the scale (laurel.ts says why it is). Icons only; a mark
40
+ * is drawn at its svg's own width and height.
41
+ */
42
+ readonly size?: string;
43
+ /** Points the way the line reads, so it mirrors on a right-to-left page. */
44
+ readonly mirror?: boolean;
45
+ }
46
+ export type DrawingOptions = Omit<Drawing, 'svg'>;
47
+ /** Which of the two page-wide maps a drawing is in. */
48
+ export type DrawingSet = 'icons' | 'marks';
49
+ /**
50
+ * Registers an interface icon, drawn in currentColor. False when the name
51
+ * already has a drawing, which it keeps.
52
+ */
53
+ export declare function registerIcon(name: string, svg: string, options?: DrawingOptions): boolean;
54
+ /**
55
+ * Registers a brand or award mark, which keeps its own colours. False when
56
+ * the name already has a drawing, which it keeps.
57
+ */
58
+ export declare function registerMark(name: string, svg: string, options?: DrawingOptions): boolean;
59
+ /** The icon registered under `name`, if any copy has registered one. */
60
+ export declare const lookupIcon: (name: string) => Drawing | undefined;
61
+ /** The mark registered under `name`, if any copy has registered one. */
62
+ export declare const lookupMark: (name: string) => Drawing | undefined;
63
+ /** Every icon name registered on the page, in registration order. */
64
+ export declare const iconNames: () => string[];
65
+ /** Every mark name registered on the page, in registration order. */
66
+ export declare const markNames: () => string[];
67
+ /**
68
+ * What an unknown name draws: a dashed square on the icon's own box, in
69
+ * currentColor, so it takes the ink of whatever it sits in. It was
70
+ * bd-missing-icon, the placeholder for an icon designed for and not drawn
71
+ * yet; it is now what any name without a drawing gets, so the layout keeps
72
+ * the box and a reviewer sees the gap, where an undefined tag used to render
73
+ * 0px wide. The name stays on the element's own `name` attribute, and
74
+ * check:icons lists the names in src/ that have no drawing.
75
+ *
76
+ * The dash does the work on its own. A first version also dimmed it to 0.55,
77
+ * which lint:tokens refused: a chosen dimness belongs in a token, and the
78
+ * dash already says provisional.
79
+ */
80
+ export declare const MISSING: Drawing;
81
+ /** A fresh `<svg>` element of the drawing; the missing glyph's when the markup holds none. */
82
+ export declare function svgOf(drawing: Drawing): SVGSVGElement;
83
+ /**
84
+ * Names the svg an element shows. With a label it is `role="img"` named by
85
+ * it, for a drawing that is the only thing saying what something is; without
86
+ * one it is `aria-hidden`, because a drawing beside words says nothing they do
87
+ * not, and a control around it must not hear it twice. bd-icon and bd-mark
88
+ * both follow this.
89
+ */
90
+ export declare function nameSvg(svg: SVGSVGElement, label: string): void;
91
+ /**
92
+ * What a bd-icon or a bd-mark asks for its drawing.
93
+ *
94
+ * private _drawings = new DrawingController(this, 'icons');
95
+ * willUpdate() { const drawing = this._drawings.drawing(this.name); ... }
96
+ *
97
+ * drawing() answers the drawing registered under the name, or the missing
98
+ * glyph -- and then the host waits for that name, and updates once a copy
99
+ * registers it. A host waits for one name at a time, and only while it is
100
+ * connected; one that comes back finds whatever registered while it was out.
101
+ */
102
+ export declare class DrawingController implements ReactiveController {
103
+ private readonly _host;
104
+ private readonly _set;
105
+ private _missing?;
106
+ constructor(host: ReactiveControllerHost, set: DrawingSet);
107
+ drawing(name: string): Drawing;
108
+ hostConnected(): void;
109
+ hostDisconnected(): void;
110
+ private _join;
111
+ private _leave;
112
+ }
113
+ declare global {
114
+ interface WindowEventMap {
115
+ 'bd-icon-register': CustomEvent<{
116
+ name: string;
117
+ }>;
118
+ 'bd-mark-register': CustomEvent<{
119
+ name: string;
120
+ }>;
121
+ }
122
+ }
@@ -0,0 +1,4 @@
1
+ var e={icons:/* @__PURE__ */ new Map,marks:/* @__PURE__ */ new Map};function t(t){let n=globalThis,r=n.BD??={},i=r.state??={},a=i[t];if(a instanceof Map)return a;if(a===void 0){let e=/* @__PURE__ */ new Map;return i[t]=e,e}return e[t]}function n(e,n,r,i){let a=t(e);return!a.has(n)&&(a.set(n,Object.freeze({...i,svg:r})),!0)}var r={icons:`bd-icon-register`,marks:`bd-mark-register`};function i(e,t,r={}){return n(`icons`,e,t,r)?(globalThis.dispatchEvent?.(new CustomEvent(`bd-icon-register`,{detail:{name:e}})),!0):!1}function a(e,t,r={}){return n(`marks`,e,t,r)?(globalThis.dispatchEvent?.(new CustomEvent(`bd-mark-register`,{detail:{name:e}})),!0):!1}var o=e=>t(`icons`).get(e),s=e=>t(`marks`).get(e),c=()=>[...t(`icons`).keys()],l=()=>[...t(`marks`).keys()],u=Object.freeze({svg:`<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="1" y="1" width="14" height="14" rx="2" stroke="currentColor" stroke-width="1.5" stroke-dasharray="3 2.5"/>
3
+ </svg>`,size:`sm`}),d=/* @__PURE__ */ new Map;function f(e){let t=d.get(e.svg);if(t===void 0){let n=document.createElement(`template`);n.innerHTML=e.svg.trim();let r=n.content.firstElementChild;t=r instanceof SVGSVGElement?r:null,d.set(e.svg,t)}return(t??f(u)).cloneNode(!0)}function p(e,t){t?(e.setAttribute(`role`,`img`),e.setAttribute(`aria-label`,t),e.removeAttribute(`aria-hidden`)):(e.removeAttribute(`role`),e.removeAttribute(`aria-label`),e.setAttribute(`aria-hidden`,`true`))}var m={icons:/* @__PURE__ */ new Map,marks:/* @__PURE__ */ new Map},h=/* @__PURE__ */ new Set;function g(e){h.has(e)||(h.add(e),globalThis.addEventListener?.(r[e],t=>{let n=t.detail?.name,r=n===void 0?void 0:m[e].get(n);if(r){m[e].delete(n);for(let e of r)e.requestUpdate()}}))}var _=class{constructor(e,t){this._host=e,this._set=t,e.addController(this)}drawing(e){let n=t(this._set).get(e);return this._leave(),n||(this._missing=e,this._join(),u)}hostConnected(){this._missing!==void 0&&(this._join(),t(this._set).has(this._missing)&&this._host.requestUpdate())}hostDisconnected(){let e=this._missing===void 0?void 0:m[this._set].get(this._missing);e?.delete(this._host),e&&!e.size&&m[this._set].delete(this._missing)}_join(){g(this._set);let e=this._missing,t=m[this._set].get(e);t||m[this._set].set(e,t=/* @__PURE__ */ new Set),t.add(this._host)}_leave(){if(this._missing===void 0)return;let e=m[this._set].get(this._missing);e?.delete(this._host),e&&!e.size&&m[this._set].delete(this._missing),this._missing=void 0}};export{_ as DrawingController,u as MISSING,c as iconNames,o as lookupIcon,s as lookupMark,l as markNames,p as nameSvg,i as registerIcon,a as registerMark,f as svgOf};
4
+ //# sourceMappingURL=registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.js","names":["own","drawings","page","BD","state","found","set","made","register","map","name","options","ANNOUNCED","registerIcon","svg","registerMark","lookupIcon","lookupMark","iconNames","markNames","MISSING","parsed","svgOf","drawing","template","first","nameSvg","label","waiting","listening","listen","event","hosts","host","DrawingController"],"sources":["../../../../src/components/icons/registry.ts"],"sourcesContent":["// icons/registry.ts\n/**\n * The drawings bd-icon and bd-mark render, by name.\n *\n * registerIcon('check', `<svg viewBox=\"0 0 16 16\">…</svg>`, { size: 'sm' });\n * <bd-icon name=\"check\"></bd-icon>\n *\n * PAGE-WIDE STATE. Several projects load their own bundled copy of this\n * package onto one page, and the tag is defined once, by whichever copy got\n * there first (@defineElement). So the bd-icon on the page can be one copy's\n * class drawing what another copy's modules registered, and the drawings have\n * to live where every copy finds them: window.BD.state.icons for the icons and\n * window.BD.state.marks for the marks, the dex-core rule for state that exists\n * once per page. Each copy reuses a map it finds there and never replaces one,\n * and a name already in it keeps the drawing that got there first, the same\n * rule the tags follow. A copy registering the same name again is the normal\n * case, not an error: two bundles both importing ./check.ts both call this.\n *\n * THE SHAPE IS A CONTRACT BETWEEN COPIES. A Map from name to { svg, size?,\n * mirror? }, read by code that may be a different release of this package.\n * Add an optional field if a drawing needs one; never rename or retype one.\n *\n * LATE DRAWINGS. Nothing orders a page's imports, so an element can connect\n * before its drawing registers. Each registration is announced on window\n * (bd-icon-register, bd-mark-register, detail { name }), which is the one\n * target every copy shares, and an element showing the missing glyph for that\n * name renders again: DrawingController below keeps one listener per set for\n * this copy, and wakes only the elements waiting on the name registered.\n *\n * A drawing is trusted markup: the package's own artwork, parsed with the\n * HTML parser and cloned into each element that shows it.\n */\n\nimport type { ReactiveController, ReactiveControllerHost } from 'lit';\n\n/** One drawing, as the page-wide map holds it. */\nexport interface Drawing {\n /** The whole `<svg>…</svg>`, with a viewBox. */\n readonly svg : string;\n /**\n * The size it was drawn at: a step of the icon scale, or a CSS length for\n * a drawing off the scale (laurel.ts says why it is). Icons only; a mark\n * is drawn at its svg's own width and height.\n */\n readonly size? : string;\n /** Points the way the line reads, so it mirrors on a right-to-left page. */\n readonly mirror?: boolean;\n}\n\nexport type DrawingOptions = Omit<Drawing, 'svg'>;\n\n/** Which of the two page-wide maps a drawing is in. */\nexport type DrawingSet = 'icons' | 'marks';\ntype Drawings = Map<string, Drawing>;\n\ninterface PageState { BD?: { state?: Record<string, unknown> } }\n\n/* A value under the name that is not a Map belongs to something else, and\n is left alone: this copy keeps its drawings to itself rather than replace\n it. */\nconst own: Record<DrawingSet, Drawings> = { icons: new Map(), marks: new Map() };\n\n/** The page's map for one set, made only when no copy has made it. */\nfunction drawings(set: DrawingSet): Drawings {\n const page = globalThis as typeof globalThis & PageState;\n const BD = (page.BD ??= {});\n const state = (BD.state ??= {});\n const found = state[set];\n if (found instanceof Map) return found as Drawings;\n if (found === undefined) {\n const made: Drawings = new Map();\n state[set] = made;\n return made;\n }\n return own[set];\n}\n\nfunction register(set: DrawingSet, name: string, svg: string, options: DrawingOptions): boolean {\n const map = drawings(set);\n if (map.has(name)) return false;\n map.set(name, Object.freeze({ ...options, svg }));\n return true;\n}\n\n/* The event a registration is announced by, per set: what DrawingController\n listens for. The dispatches below spell each name as a literal, which is\n what check:element-api reads. */\nconst ANNOUNCED: Record<DrawingSet, 'bd-icon-register' | 'bd-mark-register'> = {\n icons: 'bd-icon-register',\n marks: 'bd-mark-register'\n};\n\n/**\n * Registers an interface icon, drawn in currentColor. False when the name\n * already has a drawing, which it keeps.\n */\nexport function registerIcon(name: string, svg: string, options: DrawingOptions = {}): boolean {\n if (!register('icons', name, svg, options)) return false;\n globalThis.dispatchEvent?.(new CustomEvent('bd-icon-register', { detail: { name } }));\n return true;\n}\n\n/**\n * Registers a brand or award mark, which keeps its own colours. False when\n * the name already has a drawing, which it keeps.\n */\nexport function registerMark(name: string, svg: string, options: DrawingOptions = {}): boolean {\n if (!register('marks', name, svg, options)) return false;\n globalThis.dispatchEvent?.(new CustomEvent('bd-mark-register', { detail: { name } }));\n return true;\n}\n\n/** The icon registered under `name`, if any copy has registered one. */\nexport const lookupIcon = (name: string): Drawing | undefined => drawings('icons').get(name);\n\n/** The mark registered under `name`, if any copy has registered one. */\nexport const lookupMark = (name: string): Drawing | undefined => drawings('marks').get(name);\n\n/** Every icon name registered on the page, in registration order. */\nexport const iconNames = (): string[] => [...drawings('icons').keys()];\n\n/** Every mark name registered on the page, in registration order. */\nexport const markNames = (): string[] => [...drawings('marks').keys()];\n\n/**\n * What an unknown name draws: a dashed square on the icon's own box, in\n * currentColor, so it takes the ink of whatever it sits in. It was\n * bd-missing-icon, the placeholder for an icon designed for and not drawn\n * yet; it is now what any name without a drawing gets, so the layout keeps\n * the box and a reviewer sees the gap, where an undefined tag used to render\n * 0px wide. The name stays on the element's own `name` attribute, and\n * check:icons lists the names in src/ that have no drawing.\n *\n * The dash does the work on its own. A first version also dimmed it to 0.55,\n * which lint:tokens refused: a chosen dimness belongs in a token, and the\n * dash already says provisional.\n */\nexport const MISSING: Drawing = Object.freeze({\n svg: `<svg viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"1\" y=\"1\" width=\"14\" height=\"14\" rx=\"2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-dasharray=\"3 2.5\"/>\n </svg>`,\n size: 'sm'\n});\n\n/* Each drawing is parsed once, by the HTML parser as markup in a page is,\n and every element that shows it gets a clone. */\nconst parsed = new Map<string, SVGSVGElement | null>();\n\n/** A fresh `<svg>` element of the drawing; the missing glyph's when the markup holds none. */\nexport function svgOf(drawing: Drawing): SVGSVGElement {\n let svg = parsed.get(drawing.svg);\n if (svg === undefined) {\n const template = document.createElement('template');\n template.innerHTML = drawing.svg.trim();\n const first = template.content.firstElementChild;\n svg = first instanceof SVGSVGElement ? first : null;\n parsed.set(drawing.svg, svg);\n }\n return (svg ?? svgOf(MISSING)).cloneNode(true) as SVGSVGElement;\n}\n\n/**\n * Names the svg an element shows. With a label it is `role=\"img\"` named by\n * it, for a drawing that is the only thing saying what something is; without\n * one it is `aria-hidden`, because a drawing beside words says nothing they do\n * not, and a control around it must not hear it twice. bd-icon and bd-mark\n * both follow this.\n */\nexport function nameSvg(svg: SVGSVGElement, label: string) {\n if (label) {\n svg.setAttribute('role', 'img');\n svg.setAttribute('aria-label', label);\n svg.removeAttribute('aria-hidden');\n } else {\n svg.removeAttribute('role');\n svg.removeAttribute('aria-label');\n svg.setAttribute('aria-hidden', 'true');\n }\n}\n\n/* ---------- waiting for a drawing ----------\n The elements showing the missing glyph, by set and by the name each waits\n for. One listener on window per set, added the first time an element of\n this copy waits, hears every registration on the page -- this copy's or\n another's -- and wakes the elements waiting on that name and no others. A\n listener per element made a barrel of twenty-five drawings on a page of two\n hundred checks five thousand calls, nearly all of them for an element that\n already had its drawing. */\ninterface Waiter { requestUpdate(): void }\nconst waiting: Record<DrawingSet, Map<string, Set<Waiter>>> = { icons: new Map(), marks: new Map() };\nconst listening = new Set<DrawingSet>();\n\nfunction listen(set: DrawingSet) {\n if (listening.has(set)) return;\n listening.add(set);\n globalThis.addEventListener?.(ANNOUNCED[set], event => {\n const name = (event as CustomEvent<{ name?: string }>).detail?.name;\n const hosts = name === undefined ? undefined : waiting[set].get(name);\n if (!hosts) return;\n waiting[set].delete(name!);\n for (const host of hosts) host.requestUpdate();\n });\n}\n\n/**\n * What a bd-icon or a bd-mark asks for its drawing.\n *\n * private _drawings = new DrawingController(this, 'icons');\n * willUpdate() { const drawing = this._drawings.drawing(this.name); ... }\n *\n * drawing() answers the drawing registered under the name, or the missing\n * glyph -- and then the host waits for that name, and updates once a copy\n * registers it. A host waits for one name at a time, and only while it is\n * connected; one that comes back finds whatever registered while it was out.\n */\nexport class DrawingController implements ReactiveController {\n private readonly _host: ReactiveControllerHost;\n private readonly _set : DrawingSet;\n /* The name the host is waiting for, while it shows the missing glyph. */\n private _missing? : string;\n\n constructor(host: ReactiveControllerHost, set: DrawingSet) {\n this._host = host;\n this._set = set;\n host.addController(this);\n }\n\n drawing(name: string): Drawing {\n const found = drawings(this._set).get(name);\n this._leave();\n if (found) return found;\n this._missing = name;\n this._join();\n return MISSING;\n }\n\n hostConnected() {\n if (this._missing === undefined) return;\n this._join();\n // it may have registered while the host was out of the page\n if (drawings(this._set).has(this._missing)) this._host.requestUpdate();\n }\n\n hostDisconnected() {\n // stays _missing, so a reconnect waits again\n const hosts = this._missing === undefined ? undefined : waiting[this._set].get(this._missing);\n hosts?.delete(this._host);\n if (hosts && !hosts.size) waiting[this._set].delete(this._missing!);\n }\n\n private _join() {\n listen(this._set);\n const name = this._missing!;\n let hosts = waiting[this._set].get(name);\n if (!hosts) waiting[this._set].set(name, hosts = new Set());\n hosts.add(this._host);\n }\n\n private _leave() {\n if (this._missing === undefined) return;\n const hosts = waiting[this._set].get(this._missing);\n hosts?.delete(this._host);\n if (hosts && !hosts.size) waiting[this._set].delete(this._missing);\n this._missing = undefined;\n }\n}\n\ndeclare global {\n interface WindowEventMap {\n 'bd-icon-register': CustomEvent<{ name: string }>;\n 'bd-mark-register': CustomEvent<{ name: string }>;\n }\n}\n"],"mappings":"AA4DA,IAAMA,EAAoC,CAAE,sBAAO,IAAI,IAAO,sBAAO,IAAI,GAAM,EAG/E,SAASC,EAAS,EAA2B,CAC3C,IAAMC,EAAO,WACPC,EAAM,EAAK,KAAO,CAAC,EACnBC,EAAS,EAAG,QAAU,CAAC,EACvBC,EAAQD,EAAME,GACpB,GAAID,aAAiB,IAAK,OAAOA,EACjC,GAAIA,IAAU,IAAA,GAAW,CACvB,IAAME,kBAAiB,IAAI,IAE3B,MADA,GAAMD,GAAOC,EACNA,CACT,CACA,OAAOP,EAAIM,EACb,CAEA,SAASE,EAAS,EAAiB,EAAc,EAAa,EAAkC,CAC9F,IAAMC,EAAMR,EAASK,CAAG,EAGxB,MAFA,CAAIG,EAAI,IAAIC,CAAI,IAChBD,EAAI,IAAIC,EAAM,OAAO,OAAO,CAAE,GAAGC,EAAS,KAAI,CAAC,CAAC,EACzC,GACT,CAKA,IAAMC,EAAyE,CAC7E,MAAO,mBACP,MAAO,kBACT,EAMA,SAAgBC,EAAa,EAAc,EAAa,EAA0B,CAAC,EAAY,CAG7F,OAFKL,EAAS,QAASE,EAAMI,EAAKH,CAAO,GACzC,WAAW,gBAAgB,IAAI,YAAY,mBAAoB,CAAE,OAAQ,CAAE,MAAK,CAAE,CAAC,CAAC,EAC7E,IAF4C,EAGrD,CAMA,SAAgBI,EAAa,EAAc,EAAa,EAA0B,CAAC,EAAY,CAG7F,OAFKP,EAAS,QAASE,EAAMI,EAAKH,CAAO,GACzC,WAAW,gBAAgB,IAAI,YAAY,mBAAoB,CAAE,OAAQ,CAAE,MAAK,CAAE,CAAC,CAAC,EAC7E,IAF4C,EAGrD,CAGA,IAAaK,EAAc,GAAsCf,EAAS,OAAO,CAAC,CAAC,IAAIS,CAAI,EAG9EO,EAAc,GAAsChB,EAAS,OAAO,CAAC,CAAC,IAAIS,CAAI,EAG9EQ,MAA4B,CAAC,GAAGjB,EAAS,OAAO,CAAC,CAAC,KAAK,CAAC,EAGxDkB,MAA4B,CAAC,GAAGlB,EAAS,OAAO,CAAC,CAAC,KAAK,CAAC,EAexDmB,EAAmB,OAAO,OAAO,CAC5C,IAAK;;UAGL,KAAM,IACR,CAAC,EAIKC,kBAAS,IAAI,IAGnB,SAAgBC,EAAM,EAAiC,CACrD,IAAIR,EAAMO,EAAO,IAAIE,EAAQ,GAAG,EAChC,GAAIT,IAAQ,IAAA,GAAW,CACrB,IAAMU,EAAW,SAAS,cAAc,UAAU,EAClD,EAAS,UAAYD,EAAQ,IAAI,KAAK,EACtC,IAAME,EAAQD,EAAS,QAAQ,kBAC/B,EAAMC,aAAiB,cAAgBA,EAAQ,KAC/CJ,EAAO,IAAIE,EAAQ,IAAKT,CAAG,CAC7B,CACA,OAAQA,GAAOQ,EAAMF,CAAO,EAAA,CAAG,UAAU,EAAI,CAC/C,CASA,SAAgBM,EAAQ,EAAoB,EAAe,CACrDC,GACFb,EAAI,aAAa,OAAQ,KAAK,EAC9BA,EAAI,aAAa,aAAca,CAAK,EACpCb,EAAI,gBAAgB,aAAa,IAEjCA,EAAI,gBAAgB,MAAM,EAC1BA,EAAI,gBAAgB,YAAY,EAChCA,EAAI,aAAa,cAAe,MAAM,EAE1C,CAWA,IAAMc,EAAwD,CAAE,sBAAO,IAAI,IAAO,sBAAO,IAAI,GAAM,EAC7FC,kBAAY,IAAI,IAEtB,SAASC,EAAO,EAAiB,CAC3BD,EAAU,IAAIvB,CAAG,IACrBuB,EAAU,IAAIvB,CAAG,EACjB,WAAW,mBAAmBM,EAAUN,GAAM,GAAS,CACrD,IAAMI,EAAQqB,EAAyC,QAAQ,KACzDC,EAAQtB,IAAS,IAAA,GAAY,IAAA,GAAYkB,EAAQtB,EAAI,CAAC,IAAII,CAAI,EACpE,GAAKsB,EACL,GAAQ1B,EAAI,CAAC,OAAOI,CAAK,EACzB,IAAK,IAAMuB,KAAQD,EAAOC,EAAK,cAAc,CADpB,CAE3B,CAAC,EACH,CAaA,IAAaC,EAAb,KAA6D,CAM3D,YAAY,EAA8B,EAAiB,CACzD,KAAK,MAAQD,EACb,KAAK,KAAO3B,EACZ2B,EAAK,cAAc,IAAI,CACzB,CAEA,QAAQ,EAAuB,CAC7B,IAAM5B,EAAQJ,EAAS,KAAK,IAAI,CAAC,CAAC,IAAIS,CAAI,EAK1C,OAJA,KAAK,OAAO,EACRL,IACJ,KAAK,SAAWK,EAChB,KAAK,MAAM,EACJU,EACT,CAEA,eAAgB,CACV,KAAK,WAAa,IAAA,KACtB,KAAK,MAAM,EAEPnB,EAAS,KAAK,IAAI,CAAC,CAAC,IAAI,KAAK,QAAQ,GAAG,KAAK,MAAM,cAAc,EACvE,CAEA,kBAAmB,CAEjB,IAAM+B,EAAQ,KAAK,WAAa,IAAA,GAAY,IAAA,GAAYJ,EAAQ,KAAK,KAAK,CAAC,IAAI,KAAK,QAAQ,EAC5FI,GAAO,OAAO,KAAK,KAAK,EACpBA,GAAS,CAACA,EAAM,MAAMJ,EAAQ,KAAK,KAAK,CAAC,OAAO,KAAK,QAAS,CACpE,CAEA,OAAgB,CACdE,EAAO,KAAK,IAAI,EAChB,IAAMpB,EAAO,KAAK,SACdsB,EAAQJ,EAAQ,KAAK,KAAK,CAAC,IAAIlB,CAAI,EAClCsB,GAAOJ,EAAQ,KAAK,KAAK,CAAC,IAAIlB,EAAM,kBAAQ,IAAI,GAAK,EAC1DsB,EAAM,IAAI,KAAK,KAAK,CACtB,CAEA,QAAiB,CACf,GAAI,KAAK,WAAa,IAAA,GAAW,OACjC,IAAMA,EAAQJ,EAAQ,KAAK,KAAK,CAAC,IAAI,KAAK,QAAQ,EAClDI,GAAO,OAAO,KAAK,KAAK,EACpBA,GAAS,CAACA,EAAM,MAAMJ,EAAQ,KAAK,KAAK,CAAC,OAAO,KAAK,QAAQ,EACjE,KAAK,SAAW,IAAA,EAClB,CACF,E"}
@@ -0,0 +1 @@
1
+ import "./icon.js";
@@ -0,0 +1,6 @@
1
+ import{registerIcon as e}from"./registry.js";import"./icon.js";e(`small-business`,`
2
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
3
+ <path d="M22.725 5.1L20.925 2.25C20.625 1.8 20.1 1.5 19.575 1.5H4.425C3.9 1.5 3.375 1.8 3.075 2.25L1.275 5.1C0.675 6.075 0.6 7.2 1.05 8.25C1.5 9.225 2.325 9.825 3.375 9.975C4.275 10.05 5.175 9.825 5.85 9.375C6.225 9.6 6.6 9.825 6.975 9.9C7.125 9.9 7.2 9.9 7.35 9.975H7.425H7.5C8.4 9.975 9.225 9.825 9.825 9.375C9.825 9.375 9.975 9.45 10.05 9.525C10.2 9.6 10.35 9.675 10.5 9.75C10.65 9.75 10.8 9.9 11.025 9.9C11.625 10.05 12.15 10.05 12.825 9.9C12.825 9.9 12.9 9.9 12.975 9.9C13.275 9.825 13.575 9.6 13.875 9.45C14.475 9.9 15.15 10.125 15.975 10.125C16.8 10.125 16.2 10.125 16.35 10.125H16.5C16.575 10.125 16.725 10.125 16.725 10.05C16.8 10.05 16.95 10.05 17.025 9.975C17.4 9.825 17.7 9.675 17.925 9.525C18.525 9.975 19.2 10.2 19.95 10.2C20.7 10.2 20.25 10.2 20.4 10.2C21.45 10.05 22.275 9.375 22.725 8.475C23.175 7.425 23.1 6.3 22.5 5.325L22.725 5.1ZM21.6 7.575C21.375 8.1 20.925 8.4 20.4 8.475C19.875 8.475 19.35 8.475 18.9 8.1C18.825 8.025 18.675 7.95 18.6 7.8H17.475C17.4 7.875 17.325 8.025 17.175 8.1C17.025 8.25 16.875 8.325 16.65 8.4C16.65 8.4 16.65 8.4 16.5 8.4C16.5 8.4 16.425 8.4 16.35 8.4H16.275C16.275 8.4 16.125 8.4 16.05 8.4C15.6 8.4 15.225 8.25 14.85 8.025C14.85 8.025 14.775 7.95 14.7 7.875C14.7 7.875 14.625 7.8 14.55 7.725H13.425C13.425 7.725 13.35 7.8 13.275 7.875C13.275 7.875 13.125 7.95 13.125 8.025C12.975 8.175 12.825 8.25 12.675 8.325C12.675 8.325 12.6 8.325 12.525 8.325C12.15 8.4 11.775 8.4 11.475 8.325C11.4 8.325 11.25 8.325 11.175 8.25C11.1 8.25 10.95 8.175 10.875 8.1C10.875 8.1 10.8 8.1 10.725 8.025C10.725 8.025 10.65 8.025 10.65 7.95C10.65 7.875 10.65 7.875 10.575 7.8H9.45C9.375 7.875 9.225 7.95 9.15 8.025C8.85 8.25 8.4 8.4 7.95 8.4C7.5 8.4 7.8 8.4 7.725 8.4H7.5C7.275 8.325 7.05 8.175 6.825 8.025C6.75 7.95 6.6 7.875 6.525 7.8H5.4C5.25 7.875 5.175 8.025 5.1 8.1C4.8 8.325 4.35 8.475 3.9 8.475C3.45 8.475 3.675 8.475 3.6 8.475C3.075 8.475 2.625 8.1 2.4 7.575C2.175 7.05 2.175 6.375 2.475 5.925L4.275 3.075C4.275 3.075 4.275 3.075 4.425 3.075H19.575H19.65L21.45 5.925C21.75 6.45 21.825 7.05 21.525 7.575H21.6ZM21 20.25C21 20.7 20.7 21 20.25 21H3.75C3.3 21 3 20.7 3 20.25V11.25H1.5V20.25C1.5 21.525 2.475 22.5 3.75 22.5H20.25C21.525 22.5 22.5 21.525 22.5 20.25V11.25H21V20.25ZM6 16.5V18H18V16.5H6Z" fill="currentColor"/>
4
+ </svg>
5
+ `,{size:`lg`});
6
+ //# sourceMappingURL=small-business.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"small-business.js","names":["registerIcon"],"sources":["../../../../src/components/icons/small-business.ts"],"sourcesContent":["// icons/small-business.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/* The small-business audience icon from the homepage audience cards (Figma: Icon/small-business, 2026_splitter).\n Drawn filled on a 24 grid, so it sits at lg. */\nregisterIcon(\"small-business\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path d=\"M22.725 5.1L20.925 2.25C20.625 1.8 20.1 1.5 19.575 1.5H4.425C3.9 1.5 3.375 1.8 3.075 2.25L1.275 5.1C0.675 6.075 0.6 7.2 1.05 8.25C1.5 9.225 2.325 9.825 3.375 9.975C4.275 10.05 5.175 9.825 5.85 9.375C6.225 9.6 6.6 9.825 6.975 9.9C7.125 9.9 7.2 9.9 7.35 9.975H7.425H7.5C8.4 9.975 9.225 9.825 9.825 9.375C9.825 9.375 9.975 9.45 10.05 9.525C10.2 9.6 10.35 9.675 10.5 9.75C10.65 9.75 10.8 9.9 11.025 9.9C11.625 10.05 12.15 10.05 12.825 9.9C12.825 9.9 12.9 9.9 12.975 9.9C13.275 9.825 13.575 9.6 13.875 9.45C14.475 9.9 15.15 10.125 15.975 10.125C16.8 10.125 16.2 10.125 16.35 10.125H16.5C16.575 10.125 16.725 10.125 16.725 10.05C16.8 10.05 16.95 10.05 17.025 9.975C17.4 9.825 17.7 9.675 17.925 9.525C18.525 9.975 19.2 10.2 19.95 10.2C20.7 10.2 20.25 10.2 20.4 10.2C21.45 10.05 22.275 9.375 22.725 8.475C23.175 7.425 23.1 6.3 22.5 5.325L22.725 5.1ZM21.6 7.575C21.375 8.1 20.925 8.4 20.4 8.475C19.875 8.475 19.35 8.475 18.9 8.1C18.825 8.025 18.675 7.95 18.6 7.8H17.475C17.4 7.875 17.325 8.025 17.175 8.1C17.025 8.25 16.875 8.325 16.65 8.4C16.65 8.4 16.65 8.4 16.5 8.4C16.5 8.4 16.425 8.4 16.35 8.4H16.275C16.275 8.4 16.125 8.4 16.05 8.4C15.6 8.4 15.225 8.25 14.85 8.025C14.85 8.025 14.775 7.95 14.7 7.875C14.7 7.875 14.625 7.8 14.55 7.725H13.425C13.425 7.725 13.35 7.8 13.275 7.875C13.275 7.875 13.125 7.95 13.125 8.025C12.975 8.175 12.825 8.25 12.675 8.325C12.675 8.325 12.6 8.325 12.525 8.325C12.15 8.4 11.775 8.4 11.475 8.325C11.4 8.325 11.25 8.325 11.175 8.25C11.1 8.25 10.95 8.175 10.875 8.1C10.875 8.1 10.8 8.1 10.725 8.025C10.725 8.025 10.65 8.025 10.65 7.95C10.65 7.875 10.65 7.875 10.575 7.8H9.45C9.375 7.875 9.225 7.95 9.15 8.025C8.85 8.25 8.4 8.4 7.95 8.4C7.5 8.4 7.8 8.4 7.725 8.4H7.5C7.275 8.325 7.05 8.175 6.825 8.025C6.75 7.95 6.6 7.875 6.525 7.8H5.4C5.25 7.875 5.175 8.025 5.1 8.1C4.8 8.325 4.35 8.475 3.9 8.475C3.45 8.475 3.675 8.475 3.6 8.475C3.075 8.475 2.625 8.1 2.4 7.575C2.175 7.05 2.175 6.375 2.475 5.925L4.275 3.075C4.275 3.075 4.275 3.075 4.425 3.075H19.575H19.65L21.45 5.925C21.75 6.45 21.825 7.05 21.525 7.575H21.6ZM21 20.25C21 20.7 20.7 21 20.25 21H3.75C3.3 21 3 20.7 3 20.25V11.25H1.5V20.25C1.5 21.525 2.475 22.5 3.75 22.5H20.25C21.525 22.5 22.5 21.525 22.5 20.25V11.25H21V20.25ZM6 16.5V18H18V16.5H6Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'lg' });\n"],"mappings":"A,+DAMAA,EAAa,iBAAkB;;;;EAI5B,CAAE,KAAM,IAAK,CAAC"}
@@ -1,2 +1,2 @@
1
1
  import{css as e}from"lit";var t=e`@layer bd-components{.bd-img{max-width:100%;height:auto;display:block}.bd-img.cover{object-fit:cover}.bd-img.contain{object-fit:contain}.bd-img.fill{object-fit:fill}.bd-img.none{object-fit:none}.bd-img.scale-down{object-fit:scale-down}.bd-img.radius-none{border-radius:var(--radius-none)}.bd-img.radius-sm{border-radius:var(--shape-radius-sm)}.bd-img.radius-md{border-radius:var(--shape-radius-md)}.bd-img.radius-lg{border-radius:var(--shape-radius-lg)}.bd-img.radius-xl{border-radius:var(--shape-radius-xl)}.bd-img.radius-2xl{border-radius:var(--shape-radius-2xl)}.bd-img.radius-3xl{border-radius:var(--shape-radius-3xl)}.bd-img.radius-full{border-radius:var(--radius-full)}.bd-img.shadow-none{box-shadow:none}.bd-img.shadow-sm{box-shadow:var(--shadow-sm)}.bd-img.shadow-md{box-shadow:var(--shadow-md)}.bd-img.shadow-lg{box-shadow:var(--shadow-lg)}.bd-img.shadow-xl{box-shadow:var(--shadow-xl)}.bd-img{transition:border-radius var(--transition-duration-normal) var(--transition-easing-smooth), box-shadow var(--transition-duration-normal) var(--transition-easing-smooth)}@media (prefers-reduced-motion:reduce){.bd-img{transition:none}}}`;export{t as default};
2
- //# sourceMappingURL=image.css.js.map
2
+ //# sourceMappingURL=img.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"img.css.js","names":["img_css_default"],"sources":["../../../../src/components/img/img.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n @layer bd-components {\n .bd-img {\n display: block;\n max-width: 100%;\n height: auto;\n }\n\n /* Object Fit Variants */\n .bd-img.cover {\n object-fit: cover;\n }\n\n .bd-img.contain {\n object-fit: contain;\n }\n\n .bd-img.fill {\n object-fit: fill;\n }\n\n .bd-img.none {\n object-fit: none;\n }\n\n .bd-img.scale-down {\n object-fit: scale-down;\n }\n\n /* Radius Variants - Updated to match radius prop */\n .bd-img.radius-none {\n border-radius: var(--radius-none);\n }\n\n .bd-img.radius-sm {\n border-radius: var(--shape-radius-sm);\n }\n\n .bd-img.radius-md {\n border-radius: var(--shape-radius-md);\n }\n\n .bd-img.radius-lg {\n border-radius: var(--shape-radius-lg);\n }\n\n .bd-img.radius-xl {\n border-radius: var(--shape-radius-xl);\n }\n\n .bd-img.radius-2xl {\n border-radius: var(--shape-radius-2xl);\n }\n\n .bd-img.radius-3xl {\n border-radius: var(--shape-radius-3xl);\n }\n\n .bd-img.radius-full {\n border-radius: var(--radius-full);\n }\n\n /* Shadow Variants - Updated to match shadow prop */\n .bd-img.shadow-none {\n box-shadow: none;\n }\n\n .bd-img.shadow-sm {\n box-shadow: var(--shadow-sm);\n }\n\n .bd-img.shadow-md {\n box-shadow: var(--shadow-md);\n }\n\n .bd-img.shadow-lg {\n box-shadow: var(--shadow-lg);\n }\n\n /* Shadow XL - Additional variant */\n .bd-img.shadow-xl {\n box-shadow: var(--shadow-xl);\n }\n\n /* Gone from here, because nothing could reach them: bordered,\n bordered-primary and bordered-thick, responsive, aspect-16-9 / 4-3 /\n 1-1, hover-zoom and hover-shadow had no prop, and the only way to set\n one was to pass its name as fit, which now accepts only the five values\n above. :focus-visible styled an <img>, which never takes focus. And the\n :not([src]) loading placeholder could not appear: the template always\n writes a src attribute, and an <img> renders no ::before even without\n one. bd-picture keeps its own placeholder, which does work. */\n\n /* Smooth transitions for radius and shadow changes */\n .bd-img {\n transition: border-radius var(--transition-duration-normal) var(--transition-easing-smooth), box-shadow var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .bd-img {\n transition: none;\n }\n }\n }\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,onC"}
@@ -28,8 +28,8 @@ declare global {
28
28
  "bd-img": BdImg;
29
29
  }
30
30
  interface HTMLElementEventMap {
31
- "image-loaded": CustomEvent<null>;
32
- "image-error": CustomEvent<null>;
31
+ "bd-load": CustomEvent<null>;
32
+ "bd-error": CustomEvent<null>;
33
33
  }
34
34
  }
35
35
  export {};
@@ -0,0 +1,17 @@
1
+ import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{isOneOf as t}from"../shared/prop-vocabulary.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import r from"./img.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c=[`none`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`full`],l=[`cover`,`contain`,`fill`,`none`,`scale-down`],u=[`none`,`sm`,`md`,`lg`,`xl`],d=class extends i{constructor(...e){super(...e),this.src=``,this.srcset=``,this.sizes=``,this.alt=``,this.width=null,this.height=null,this.loading=`lazy`,this.fetchPriority=``,this.decoding=``,this.fit=`cover`,this.radius=`none`,this.shadow=`none`}render(){let e=`bd-img ${t(l,this.fit)?this.fit:`cover`} ${`radius-${t(c,this.radius)?this.radius:`none`}`} ${`shadow-${t(u,this.shadow)?this.shadow:`none`}`}`,n=this.fetchPriority===`high`;return a`
2
+ <img
3
+ src="${this.src}"
4
+ srcset="${this.srcset||o}"
5
+ sizes="${this.sizes||o}"
6
+ alt="${this.alt}"
7
+ width="${this.width??o}"
8
+ height="${this.height??o}"
9
+ loading="${n?o:this.loading}"
10
+ fetchpriority="${this.fetchPriority||o}"
11
+ decoding="${this.decoding||o}"
12
+ class="${e}"
13
+ @load="${this._handleLoad}"
14
+ @error="${this._handleError}"
15
+ />
16
+ `}_handleLoad(){this.dispatchEvent(new CustomEvent(`bd-load`,{bubbles:!0,composed:!0}))}_handleError(){this.dispatchEvent(new CustomEvent(`bd-error`,{bubbles:!0,composed:!0}))}static{this.styles=[r]}};n([s({type:String,attribute:`src`})],d.prototype,`src`,void 0),n([s({type:String,attribute:`srcset`})],d.prototype,`srcset`,void 0),n([s({type:String,attribute:`sizes`})],d.prototype,`sizes`,void 0),n([s({type:String,attribute:`alt`})],d.prototype,`alt`,void 0),n([s({type:Number,attribute:`width`})],d.prototype,`width`,void 0),n([s({type:Number,attribute:`height`})],d.prototype,`height`,void 0),n([s({type:String,attribute:`loading`})],d.prototype,`loading`,void 0),n([s({type:String,attribute:`fetchpriority`})],d.prototype,`fetchPriority`,void 0),n([s({type:String,attribute:`decoding`})],d.prototype,`decoding`,void 0),n([s({type:String,attribute:`fit`})],d.prototype,`fit`,void 0),n([s({type:String,attribute:`radius`})],d.prototype,`radius`,void 0),n([s({type:String,attribute:`shadow`})],d.prototype,`shadow`,void 0),d=n([e(`bd-img`)],d);export{d as BdImg};
17
+ //# sourceMappingURL=img.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"img.js","names":["imgCSS","_decorate","__decorate","img_css_default","RADIUS_STEPS","FITS","SHADOWS","BdImg","LitElement","_args","finalClass","isOneOf","lcp","nothing","property","defineElement"],"sources":["../../../../src/components/img/img.ts"],"sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\nimport type { RadiusStep } from \"#shared/token-scales.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport imgCSS from \"./img.css.ts\";\n\n// the radius steps img.css.ts implements — the full --radius-* scale\nconst RADIUS_STEPS = ['none', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', 'full'] as const;\n/* fit and shadow become class names, so an unknown value used to become a\n class too -- fit=\"bordered\" reached a rule nothing documented. Only the\n values img.css.ts implements get through; anything else is the default. */\nconst FITS = ['cover', 'contain', 'fill', 'none', 'scale-down'] as const;\nconst SHADOWS = ['none', 'sm', 'md', 'lg', 'xl'] as const;\n\ntype Fit = typeof FITS[number];\ntype Shadow = typeof SHADOWS[number];\n\n@defineElement(\"bd-img\")\nexport class BdImg extends LitElement {\n @property({ type: String, attribute: \"src\" })\n src = \"\";\n @property({ type: String, attribute: \"srcset\" })\n srcset = \"\";\n @property({ type: String, attribute: \"sizes\" })\n sizes = \"\";\n @property({ type: String, attribute: \"alt\" })\n alt = \"\";\n @property({ type: Number, attribute: \"width\" })\n width: number | null = null;\n @property({ type: Number, attribute: \"height\" })\n height: number | null = null;\n @property({ type: String, attribute: \"loading\" })\n loading = \"lazy\";\n /* `fetchpriority`, the native <img> attribute it is passed to, so it keeps\n the platform's spelling rather than becoming fetch-priority. */\n @property({ type: String, attribute: \"fetchpriority\" })\n fetchPriority = \"\";\n @property({ type: String, attribute: \"decoding\" })\n decoding = \"\";\n @property({ type: String, attribute: \"fit\" })\n fit: Fit = \"cover\";\n @property({ type: String, attribute: \"radius\" })\n radius: RadiusStep = \"none\";\n @property({ type: String, attribute: \"shadow\" })\n shadow: Shadow = \"none\";\n\n render() {\n const baseClass = 'bd-img';\n const fitClass = isOneOf(FITS, this.fit) ? this.fit : 'cover';\n const radius = isOneOf(RADIUS_STEPS, this.radius) ? this.radius : 'none';\n const radiusClass = `radius-${radius}`;\n const shadowClass = `shadow-${isOneOf(SHADOWS, this.shadow) ? this.shadow : 'none'}`;\n\n const finalClass = `${baseClass} ${fitClass} ${radiusClass} ${shadowClass}`;\n\n /* fetchpriority=\"high\" marks the image the page is waiting for -- its\n Largest Contentful Paint -- so it is never lazy as well: a lazy image is\n held back until layout puts it near the viewport, which is the very\n delay the priority is there to remove. lazy stays the default for every\n other image. No guard: fetchpriority and decoding are hints, and a\n browser that does not know them loads the image as it always has. */\n const lcp = this.fetchPriority === 'high';\n\n return html`\n <img\n src=\"${this.src}\"\n srcset=\"${this.srcset || nothing}\"\n sizes=\"${this.sizes || nothing}\"\n alt=\"${this.alt}\"\n width=\"${this.width ?? nothing}\"\n height=\"${this.height ?? nothing}\"\n loading=\"${lcp ? nothing : this.loading}\"\n fetchpriority=\"${this.fetchPriority || nothing}\"\n decoding=\"${this.decoding || nothing}\"\n class=\"${finalClass}\"\n @load=\"${this._handleLoad}\"\n @error=\"${this._handleError}\"\n />\n `;\n }\n\n /* bd-load and bd-error (N8): an event is bd- plus a verb. They were\n image-loaded and image-error in 3.x, and a listener on either never\n fires now. */\n _handleLoad() {\n this.dispatchEvent(new CustomEvent('bd-load', {\n bubbles : true,\n composed: true\n }));\n }\n\n _handleError() {\n this.dispatchEvent(new CustomEvent('bd-error', {\n bubbles : true,\n composed: true\n }));\n }\n\n static styles = [imgCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-img\": BdImg;\n }\n interface HTMLElementEventMap {\n \"bd-load\" : CustomEvent<null>;\n \"bd-error\": CustomEvent<null>;\n }\n}\n"],"mappings":"A,6VAUA,IAAMI,EAAe,CAAC,OAAQ,KAAM,KAAM,KAAM,KAAM,MAAO,MAAO,MAAM,EAIpEC,EAAO,CAAC,QAAS,UAAW,OAAQ,OAAQ,YAAY,EACxDC,EAAU,CAAC,OAAQ,KAAM,KAAM,KAAM,IAAI,EAMlCC,EAAN,cAAoBC,CAAW,C,8BAE9B,KAAA,IAAA,GAEG,KAAA,OAAA,GAED,KAAA,MAAA,GAEF,KAAA,IAAA,GAEiB,KAAA,MAAA,KAEC,KAAA,OAAA,KAEd,KAAA,QAAA,OAIM,KAAA,cAAA,GAEL,KAAA,SAAA,GAEA,KAAA,IAAA,QAEU,KAAA,OAAA,OAEJ,KAAA,OAAA,M,CAEjB,QAAS,CAOP,IAAME,EAAa,UALFC,EAAQN,EAAM,KAAK,GAAG,EAAI,KAAK,IAAM,QAKV,GAAG,UAJhCM,EAAQP,EAAc,KAAK,MAAM,EAAI,KAAK,OAAS,SAIP,GAAG,UAFhCO,EAAQL,EAAS,KAAK,MAAM,EAAI,KAAK,OAAS,WAUtEM,EAAM,KAAK,gBAAkB,OAEnC,MAAO,EAAI;;eAEA,KAAK,IAAI;kBACN,KAAK,QAAUC,EAAQ;iBACxB,KAAK,OAASA,EAAQ;eACxB,KAAK,IAAI;iBACP,KAAK,OAASA,EAAQ;kBACrB,KAAK,QAAUA,EAAQ;mBACtBD,EAAMC,EAAU,KAAK,QAAQ;yBACvB,KAAK,eAAiBA,EAAQ;oBACnC,KAAK,UAAYA,EAAQ;iBAC5BH,EAAW;iBACX,KAAK,YAAY;kBAChB,KAAK,aAAa;;KAGlC,CAKA,aAAc,CACZ,KAAK,cAAc,IAAI,YAAY,UAAW,CAC5C,QAAU,GACV,SAAU,EACZ,CAAC,CAAC,CACJ,CAEA,cAAe,CACb,KAAK,cAAc,IAAI,YAAY,WAAY,CAC7C,QAAU,GACV,SAAU,EACZ,CAAC,CAAC,CACJ,C,OAEgB,KAAA,OAAA,CAACV,CAAM,C,CACzB,EAhFGC,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,KAAM,CAAC,CAAA,EAAAP,EAAA,UAAA,MAAA,IAAA,EAAA,EAE3CN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,QAAS,CAAC,CAAA,EAAAP,EAAA,UAAA,SAAA,IAAA,EAAA,EAE9CN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,OAAQ,CAAC,CAAA,EAAAP,EAAA,UAAA,QAAA,IAAA,EAAA,EAE7CN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,KAAM,CAAC,CAAA,EAAAP,EAAA,UAAA,MAAA,IAAA,EAAA,EAE3CN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,OAAQ,CAAC,CAAA,EAAAP,EAAA,UAAA,QAAA,IAAA,EAAA,EAE7CN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,QAAS,CAAC,CAAA,EAAAP,EAAA,UAAA,SAAA,IAAA,EAAA,EAE9CN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,SAAU,CAAC,CAAA,EAAAP,EAAA,UAAA,UAAA,IAAA,EAAA,EAI/CN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,eAAgB,CAAC,CAAA,EAAAP,EAAA,UAAA,gBAAA,IAAA,EAAA,EAErDN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,UAAW,CAAC,CAAA,EAAAP,EAAA,UAAA,WAAA,IAAA,EAAA,EAEhDN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,KAAM,CAAC,CAAA,EAAAP,EAAA,UAAA,MAAA,IAAA,EAAA,EAE3CN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,QAAS,CAAC,CAAA,EAAAP,EAAA,UAAA,SAAA,IAAA,EAAA,EAE9CN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,QAAS,CAAC,CAAA,EAAAP,EAAA,UAAA,SAAA,IAAA,EAAA,EA1BhD,EAAAN,EAAA,CAAAc,EAAc,QAAQ,CAAA,EAAAR,CAAA,E"}
@@ -1,9 +1,11 @@
1
1
  /**
2
- * bd-custom-input adds nothing to the shared field chrome — a text input is
3
- * the plain case that shared/form-field.css.ts was written around. The file
4
- * stays so the component's `static styles` reads the same as its two
5
- * siblings', and so there is somewhere obvious to put an input-only rule if
6
- * one is ever needed.
2
+ * What bd-input adds to the shared field chrome (shared/form-field.css.ts):
3
+ * the `end` slot, sitting over the trailing edge of the input.
4
+ *
5
+ * It is 3.x's clipboard field's arrangement, kept because a field and the
6
+ * button that acts on it read as one control: the slot is positioned over
7
+ * the input rather than beside it, and the input keeps clear of it only
8
+ * while the slot holds something, so a plain field is exactly as it was.
7
9
  */
8
10
  declare const _default: import("lit").CSSResult;
9
11
  export default _default;
@@ -1,2 +1,2 @@
1
- import{css as e}from"lit";var t=e``;export{t as default};
1
+ import{css as e}from"lit";var t=e`.control-row{align-items:center;display:flex;position:relative}input.form-input--with-end{flex:1;padding-inline-end:var(--spacing-40)}.end{align-items:center;display:inline-flex;position:absolute;inset-inline-end:var(--spacing-8)}.end[hidden]{display:none}`;export{t as default};
2
2
  //# sourceMappingURL=input.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.css.js","names":["input_css_default"],"sources":["../../../../src/components/input/input.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/**\n * bd-custom-input adds nothing to the shared field chrome — a text input is\n * the plain case that shared/form-field.css.ts was written around. The file\n * stays so the component's `static styles` reads the same as its two\n * siblings', and so there is somewhere obvious to put an input-only rule if\n * one is ever needed.\n */\nexport default css``;\n"],"mappings":"A,0BASA,IAAAA,EAAe,CAAG,G"}
1
+ {"version":3,"file":"input.css.js","names":["input_css_default"],"sources":["../../../../src/components/input/input.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/**\n * What bd-input adds to the shared field chrome (shared/form-field.css.ts):\n * the `end` slot, sitting over the trailing edge of the input.\n *\n * It is 3.x's clipboard field's arrangement, kept because a field and the\n * button that acts on it read as one control: the slot is positioned over\n * the input rather than beside it, and the input keeps clear of it only\n * while the slot holds something, so a plain field is exactly as it was.\n */\nexport default css`\n .control-row {\n position: relative;\n display: flex;\n align-items: center;\n }\n\n /* Clearance for what the end slot holds: an icon button's 24px box and\n the 8px it sits in from the edge, plus the same again as air. Typed so it\n outranks the .input-* size classes, which set the padding shorthand. */\n input.form-input--with-end {\n flex: 1;\n padding-inline-end: var(--spacing-40);\n }\n\n .end {\n position: absolute;\n inset-inline-end: var(--spacing-8);\n display: inline-flex;\n align-items: center;\n }\n\n .end[hidden] {\n display: none;\n }\n`;\n"],"mappings":"A,0BAWA,IAAAA,EAAe,CAAG,mQ"}
@@ -1,19 +1,36 @@
1
1
  import { LitElement, type PropertyValues } from "lit";
2
- import "../shared/events.js";
3
2
  import "../../tokens/tokens.js";
4
3
  import { type Size } from "../shared/prop-vocabulary.js";
5
- declare const CustomInput_base: (new (...args: any[]) => import("../shared/form-control.js").ValueControlInterface) & (new (...args: any[]) => import("../shared/form-control.js").FormControlInterface) & typeof LitElement;
6
- declare class CustomInput extends CustomInput_base {
4
+ import { SlotController } from "../shared/controller.slot.js";
5
+ declare const BdInput_base: (new (...args: any[]) => import("../shared/form-control.js").ValueControlInterface) & (new (...args: any[]) => import("../shared/form-control.js").FormControlInterface) & typeof LitElement;
6
+ /**
7
+ * A one-line text field.
8
+ *
9
+ * <bd-input name="key" spellcheck="false" required>
10
+ * <span slot="label">Licence key</span>
11
+ * <span slot="hint">It is in the email we sent you.</span>
12
+ * <bd-paste-button slot="end" label="Paste from clipboard"></bd-paste-button>
13
+ * </bd-input>
14
+ *
15
+ * The label and the hint are the page's, in the `label` and `hint` slots, and
16
+ * name and describe the native <input> through references that stay inside
17
+ * this shadow root (shared/form-control.ts). The `end` slot sits over the
18
+ * field's trailing edge, which is where 3.x's clipboard field drew its paste
19
+ * button: that field is this one now, with a bd-paste-button the page writes
20
+ * there.
21
+ *
22
+ * Form-associated (shared/form-control.ts): a <form> around it submits
23
+ * name=value, resets it to its value attribute, holds an empty `required` one
24
+ * and leaves it out under a <fieldset disabled>. It sends the native `input`
25
+ * and `change`, with no detail; a listener reads event.target.value.
26
+ */
27
+ export declare class BdInput extends BdInput_base {
7
28
  static styles: import("lit").CSSResult[];
8
- label: string;
9
29
  type: string;
10
30
  size: Size;
11
- /** @deprecated pass `size`. It named the size, not the kind. */
12
- kind: string;
13
31
  placeholder: string;
14
32
  required: boolean;
15
33
  focused: boolean;
16
- tooltip: string;
17
34
  invalid: boolean;
18
35
  validated: boolean;
19
36
  disabled: boolean;
@@ -22,12 +39,17 @@ declare class CustomInput extends CustomInput_base {
22
39
  inputmode: string;
23
40
  autocomplete: string;
24
41
  enterkeyhint: string;
42
+ fieldSpellcheck: string | null;
43
+ fieldLabel: string;
44
+ protected _slots: SlotController<"end" | "label" | "hint">;
25
45
  protected get _control(): HTMLInputElement | null;
46
+ get _accessibleName(): string;
26
47
  /**
27
- * The value used to be unreachable. The native input event escapes the
28
- * shadow root, but it retargets to the host, and the host had no value
29
- * property — so `e.target.value` was undefined and the only way to read what
30
- * someone typed was to reach through the shadow root.
48
+ * The value follows the <input> before anything hears of it. The native
49
+ * input event is composed: it leaves the shadow root on its own, retargeted
50
+ * to this element, and its listeners on the page run after this one, which
51
+ * runs on the <input> itself -- so event.target.value is what was just
52
+ * typed. It is not sent again; change is (shared/form-control.ts).
31
53
  */
32
54
  _onInput(e: Event & {
33
55
  target: HTMLInputElement;
@@ -42,7 +64,7 @@ declare class CustomInput extends CustomInput_base {
42
64
  }
43
65
  declare global {
44
66
  interface HTMLElementTagNameMap {
45
- "bd-custom-input": CustomInput;
67
+ "bd-input": BdInput;
46
68
  }
47
69
  }
48
70
  export {};