@repobit/dex-system-design 3.0.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/src/_bundled/oxc-project_runtime/helpers/esm/decorate.js +1 -0
  3. package/dist/src/components/accordion/accordion-bg.css.js +1 -288
  4. package/dist/src/components/accordion/accordion-bg.css.js.map +1 -1
  5. package/dist/src/components/accordion/accordion-bg.d.ts +5 -5
  6. package/dist/src/components/accordion/accordion-bg.js +15 -210
  7. package/dist/src/components/accordion/accordion-bg.js.map +1 -1
  8. package/dist/src/components/accordion/accordion-keyboard.js +1 -89
  9. package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
  10. package/dist/src/components/accordion/accordion-panel.js +1 -22
  11. package/dist/src/components/accordion/accordion-panel.js.map +1 -1
  12. package/dist/src/components/accordion/accordion.css.js +1 -380
  13. package/dist/src/components/accordion/accordion.css.js.map +1 -1
  14. package/dist/src/components/accordion/accordion.d.ts +7 -7
  15. package/dist/src/components/accordion/accordion.js +16 -138
  16. package/dist/src/components/accordion/accordion.js.map +1 -1
  17. package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -88
  18. package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
  19. package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +4 -4
  20. package/dist/src/components/agent-endpoints/agent-endpoints.js +17 -76
  21. package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
  22. package/dist/src/components/alert/alert.css.js +1 -217
  23. package/dist/src/components/alert/alert.css.js.map +1 -1
  24. package/dist/src/components/alert/alert.d.ts +4 -4
  25. package/dist/src/components/alert/alert.js +6 -110
  26. package/dist/src/components/alert/alert.js.map +1 -1
  27. package/dist/src/components/anchor/anchor-nav.css.js +1 -546
  28. package/dist/src/components/anchor/anchor-nav.css.js.map +1 -1
  29. package/dist/src/components/anchor/anchor-nav.d.ts +4 -4
  30. package/dist/src/components/anchor/anchor-nav.js +23 -567
  31. package/dist/src/components/anchor/anchor-nav.js.map +1 -1
  32. package/dist/src/components/annotation/annotation.css.js +1 -64
  33. package/dist/src/components/annotation/annotation.css.js.map +1 -1
  34. package/dist/src/components/annotation/annotation.d.ts +2 -2
  35. package/dist/src/components/annotation/annotation.js +7 -72
  36. package/dist/src/components/annotation/annotation.js.map +1 -1
  37. package/dist/src/components/audience-card/audience-card.css.js +1 -122
  38. package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
  39. package/dist/src/components/audience-card/audience-card.d.ts +2 -2
  40. package/dist/src/components/audience-card/audience-card.js +8 -83
  41. package/dist/src/components/audience-card/audience-card.js.map +1 -1
  42. package/dist/src/components/avatar/avatar.css.js +1 -65
  43. package/dist/src/components/avatar/avatar.css.js.map +1 -1
  44. package/dist/src/components/avatar/avatar.d.ts +3 -3
  45. package/dist/src/components/avatar/avatar.js +6 -76
  46. package/dist/src/components/avatar/avatar.js.map +1 -1
  47. package/dist/src/components/awards/awards-flex.css.js +1 -273
  48. package/dist/src/components/awards/awards-flex.css.js.map +1 -1
  49. package/dist/src/components/awards/awards-flex.d.ts +12 -12
  50. package/dist/src/components/awards/awards-flex.js +33 -264
  51. package/dist/src/components/awards/awards-flex.js.map +1 -1
  52. package/dist/src/components/awards/awards-spotlight.css.js +1 -161
  53. package/dist/src/components/awards/awards-spotlight.css.js.map +1 -1
  54. package/dist/src/components/awards/awards-spotlight.d.ts +4 -4
  55. package/dist/src/components/awards/awards-spotlight.js +24 -140
  56. package/dist/src/components/awards/awards-spotlight.js.map +1 -1
  57. package/dist/src/components/awards/awards.css.js +1 -401
  58. package/dist/src/components/awards/awards.css.js.map +1 -1
  59. package/dist/src/components/awards/awards.d.ts +13 -13
  60. package/dist/src/components/awards/awards.js +26 -179
  61. package/dist/src/components/awards/awards.js.map +1 -1
  62. package/dist/src/components/awards/scroll-slides.js +1 -131
  63. package/dist/src/components/awards/scroll-slides.js.map +1 -1
  64. package/dist/src/components/back/back.css.js +1 -91
  65. package/dist/src/components/back/back.css.js.map +1 -1
  66. package/dist/src/components/back/back.d.ts +1 -1
  67. package/dist/src/components/back/back.js +8 -71
  68. package/dist/src/components/back/back.js.map +1 -1
  69. package/dist/src/components/badge/badge.css.js +1 -204
  70. package/dist/src/components/badge/badge.css.js.map +1 -1
  71. package/dist/src/components/badge/badge.d.ts +4 -4
  72. package/dist/src/components/badge/badge.js +2 -117
  73. package/dist/src/components/badge/badge.js.map +1 -1
  74. package/dist/src/components/bento-grid/bento-grid.css.js +16 -150
  75. package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
  76. package/dist/src/components/bento-grid/bento-grid.d.ts +3 -3
  77. package/dist/src/components/bento-grid/bento-grid.js +10 -189
  78. package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
  79. package/dist/src/components/bento-grid/bento-item.css.js +1 -338
  80. package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
  81. package/dist/src/components/bento-grid/bento-item.d.ts +3 -3
  82. package/dist/src/components/bento-grid/bento-item.js +10 -94
  83. package/dist/src/components/bento-grid/bento-item.js.map +1 -1
  84. package/dist/src/components/blockquote/blockquote.css.js +1 -54
  85. package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
  86. package/dist/src/components/blockquote/blockquote.d.ts +2 -2
  87. package/dist/src/components/blockquote/blockquote.js +1 -44
  88. package/dist/src/components/blockquote/blockquote.js.map +1 -1
  89. package/dist/src/components/breadcrumb/breadcrumb.css.js +1 -168
  90. package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -1
  91. package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -5
  92. package/dist/src/components/breadcrumb/breadcrumb.js +9 -166
  93. package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
  94. package/dist/src/components/button/button.css.js +1 -843
  95. package/dist/src/components/button/button.css.js.map +1 -1
  96. package/dist/src/components/button/button.d.ts +5 -5
  97. package/dist/src/components/button/button.js +18 -420
  98. package/dist/src/components/button/button.js.map +1 -1
  99. package/dist/src/components/caption/caption.css.js +1 -29
  100. package/dist/src/components/caption/caption.css.js.map +1 -1
  101. package/dist/src/components/caption/caption.d.ts +3 -3
  102. package/dist/src/components/caption/caption.js +2 -36
  103. package/dist/src/components/caption/caption.js.map +1 -1
  104. package/dist/src/components/card-features/card-features.css.js +1 -120
  105. package/dist/src/components/card-features/card-features.css.js.map +1 -1
  106. package/dist/src/components/card-features/card-features.d.ts +3 -3
  107. package/dist/src/components/card-features/card-features.js +12 -145
  108. package/dist/src/components/card-features/card-features.js.map +1 -1
  109. package/dist/src/components/cards/card.css.js +1 -369
  110. package/dist/src/components/cards/card.css.js.map +1 -1
  111. package/dist/src/components/cards/card.d.ts +3 -3
  112. package/dist/src/components/cards/card.js +21 -312
  113. package/dist/src/components/cards/card.js.map +1 -1
  114. package/dist/src/components/carousel/carousel.css.js +1 -261
  115. package/dist/src/components/carousel/carousel.css.js.map +1 -1
  116. package/dist/src/components/carousel/carousel.d.ts +5 -5
  117. package/dist/src/components/carousel/carousel.js +13 -297
  118. package/dist/src/components/carousel/carousel.js.map +1 -1
  119. package/dist/src/components/checkbox/checkbox.css.js +1 -173
  120. package/dist/src/components/checkbox/checkbox.css.js.map +1 -1
  121. package/dist/src/components/checkbox/checkbox.d.ts +2 -2
  122. package/dist/src/components/checkbox/checkbox.js +5 -138
  123. package/dist/src/components/checkbox/checkbox.js.map +1 -1
  124. package/dist/src/components/code/code.css.js +1 -73
  125. package/dist/src/components/code/code.css.js.map +1 -1
  126. package/dist/src/components/code/code.d.ts +2 -2
  127. package/dist/src/components/code/code.js +4 -87
  128. package/dist/src/components/code/code.js.map +1 -1
  129. package/dist/src/components/compare/compare.css.js +1 -478
  130. package/dist/src/components/compare/compare.css.js.map +1 -1
  131. package/dist/src/components/compare/compare.d.ts +5 -5
  132. package/dist/src/components/compare/compare.js +23 -476
  133. package/dist/src/components/compare/compare.js.map +1 -1
  134. package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -141
  135. package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
  136. package/dist/src/components/comparison-panel/comparison-panel.d.ts +2 -2
  137. package/dist/src/components/comparison-panel/comparison-panel.js +18 -86
  138. package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
  139. package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -391
  140. package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
  141. package/dist/src/components/compatibility-table/compatibility-table.d.ts +2 -2
  142. package/dist/src/components/compatibility-table/compatibility-table.js +26 -136
  143. package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
  144. package/dist/src/components/cta-banner/cta-banner.css.js +1 -97
  145. package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
  146. package/dist/src/components/cta-banner/cta-banner.d.ts +2 -2
  147. package/dist/src/components/cta-banner/cta-banner.js +8 -51
  148. package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
  149. package/dist/src/components/display/display.css.js +1 -95
  150. package/dist/src/components/display/display.css.js.map +1 -1
  151. package/dist/src/components/display/display.d.ts +2 -2
  152. package/dist/src/components/display/display.js +3 -84
  153. package/dist/src/components/display/display.js.map +1 -1
  154. package/dist/src/components/divider/divider-horizontal.d.ts +2 -2
  155. package/dist/src/components/divider/divider-horizontal.js +4 -63
  156. package/dist/src/components/divider/divider-horizontal.js.map +1 -1
  157. package/dist/src/components/divider/divider-vertical.d.ts +2 -2
  158. package/dist/src/components/divider/divider-vertical.js +6 -61
  159. package/dist/src/components/divider/divider-vertical.js.map +1 -1
  160. package/dist/src/components/divider/divider.css.js +1 -20
  161. package/dist/src/components/divider/divider.css.js.map +1 -1
  162. package/dist/src/components/dropdown/dropdown.css.js +1 -121
  163. package/dist/src/components/dropdown/dropdown.css.js.map +1 -1
  164. package/dist/src/components/dropdown/dropdown.d.ts +5 -5
  165. package/dist/src/components/dropdown/dropdown.js +17 -283
  166. package/dist/src/components/dropdown/dropdown.js.map +1 -1
  167. package/dist/src/components/features/features.css.js +1 -123
  168. package/dist/src/components/features/features.css.js.map +1 -1
  169. package/dist/src/components/features/features.d.ts +5 -5
  170. package/dist/src/components/features/features.js +11 -71
  171. package/dist/src/components/features/features.js.map +1 -1
  172. package/dist/src/components/features-tab/features-tab.css.js +1 -100
  173. package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
  174. package/dist/src/components/features-tab/features-tab.d.ts +5 -5
  175. package/dist/src/components/features-tab/features-tab.js +9 -70
  176. package/dist/src/components/features-tab/features-tab.js.map +1 -1
  177. package/dist/src/components/fieldset/fieldset.css.js +1 -28
  178. package/dist/src/components/fieldset/fieldset.css.js.map +1 -1
  179. package/dist/src/components/fieldset/fieldset.d.ts +2 -2
  180. package/dist/src/components/fieldset/fieldset.js +3 -31
  181. package/dist/src/components/fieldset/fieldset.js.map +1 -1
  182. package/dist/src/components/footer/footer-images.js +5 -27
  183. package/dist/src/components/footer/footer-images.js.map +1 -1
  184. package/dist/src/components/footer/footer-links-group.css.js +1 -33
  185. package/dist/src/components/footer/footer-links-group.css.js.map +1 -1
  186. package/dist/src/components/footer/footer-links-group.d.ts +3 -3
  187. package/dist/src/components/footer/footer-links-group.js +3 -32
  188. package/dist/src/components/footer/footer-links-group.js.map +1 -1
  189. package/dist/src/components/footer/footer-locale.js +1 -45
  190. package/dist/src/components/footer/footer-locale.js.map +1 -1
  191. package/dist/src/components/footer/footer-lp.d.ts +7 -7
  192. package/dist/src/components/footer/footer-lp.js +8 -121
  193. package/dist/src/components/footer/footer-lp.js.map +1 -1
  194. package/dist/src/components/footer/footer-nav-menu.css.js +1 -61
  195. package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -1
  196. package/dist/src/components/footer/footer-nav-menu.d.ts +3 -3
  197. package/dist/src/components/footer/footer-nav-menu.js +3 -47
  198. package/dist/src/components/footer/footer-nav-menu.js.map +1 -1
  199. package/dist/src/components/footer/footer.css.js +1 -664
  200. package/dist/src/components/footer/footer.css.js.map +1 -1
  201. package/dist/src/components/footer/footer.d.ts +13 -13
  202. package/dist/src/components/footer/footer.js +20 -305
  203. package/dist/src/components/footer/footer.js.map +1 -1
  204. package/dist/src/components/footer/localeMap.js +1 -1
  205. package/dist/src/components/footer/localeMap.js.map +1 -1
  206. package/dist/src/components/grid/grid.css.js +1 -78
  207. package/dist/src/components/grid/grid.css.js.map +1 -1
  208. package/dist/src/components/grid/grid.d.ts +2 -2
  209. package/dist/src/components/grid/grid.js +9 -126
  210. package/dist/src/components/grid/grid.js.map +1 -1
  211. package/dist/src/components/header/header-code.css.js +1 -369
  212. package/dist/src/components/header/header-code.css.js.map +1 -1
  213. package/dist/src/components/header/header-code.d.ts +4 -4
  214. package/dist/src/components/header/header-code.js +15 -163
  215. package/dist/src/components/header/header-code.js.map +1 -1
  216. package/dist/src/components/header/header.css.js +1 -757
  217. package/dist/src/components/header/header.css.js.map +1 -1
  218. package/dist/src/components/header/header.d.ts +7 -7
  219. package/dist/src/components/header/header.js +4 -212
  220. package/dist/src/components/header/header.js.map +1 -1
  221. package/dist/src/components/heading/heading.css.js +1 -89
  222. package/dist/src/components/heading/heading.css.js.map +1 -1
  223. package/dist/src/components/heading/heading.d.ts +2 -2
  224. package/dist/src/components/heading/heading.js +1 -108
  225. package/dist/src/components/heading/heading.js.map +1 -1
  226. package/dist/src/components/help-text/help-text.css.js +1 -19
  227. package/dist/src/components/help-text/help-text.css.js.map +1 -1
  228. package/dist/src/components/help-text/help-text.d.ts +2 -2
  229. package/dist/src/components/help-text/help-text.js +3 -31
  230. package/dist/src/components/help-text/help-text.js.map +1 -1
  231. package/dist/src/components/hero/hero.css.js +1 -362
  232. package/dist/src/components/hero/hero.css.js.map +1 -1
  233. package/dist/src/components/hero/hero.d.ts +3 -3
  234. package/dist/src/components/hero/hero.js +12 -164
  235. package/dist/src/components/hero/hero.js.map +1 -1
  236. package/dist/src/components/highlight/highlight.css.js +1 -175
  237. package/dist/src/components/highlight/highlight.css.js.map +1 -1
  238. package/dist/src/components/highlight/highlight.d.ts +3 -3
  239. package/dist/src/components/highlight/highlight.js +4 -115
  240. package/dist/src/components/highlight/highlight.js.map +1 -1
  241. package/dist/src/components/icons/analysis-icon.d.ts +1 -1
  242. package/dist/src/components/icons/analysis-icon.js +2 -20
  243. package/dist/src/components/icons/analysis-icon.js.map +1 -1
  244. package/dist/src/components/icons/arrow-down-icon.d.ts +1 -1
  245. package/dist/src/components/icons/arrow-down-icon.js +2 -20
  246. package/dist/src/components/icons/arrow-down-icon.js.map +1 -1
  247. package/dist/src/components/icons/arrow-icon.d.ts +1 -1
  248. package/dist/src/components/icons/arrow-icon.js +2 -48
  249. package/dist/src/components/icons/arrow-icon.js.map +1 -1
  250. package/dist/src/components/icons/arrow-right-icon.d.ts +1 -1
  251. package/dist/src/components/icons/arrow-right-icon.js +2 -45
  252. package/dist/src/components/icons/arrow-right-icon.js.map +1 -1
  253. package/dist/src/components/icons/arrow-up-icon.d.ts +1 -1
  254. package/dist/src/components/icons/arrow-up-icon.js +2 -33
  255. package/dist/src/components/icons/arrow-up-icon.js.map +1 -1
  256. package/dist/src/components/icons/av-comparatives-icon.js +2 -31
  257. package/dist/src/components/icons/av-comparatives-icon.js.map +1 -1
  258. package/dist/src/components/icons/bd-ai-icon.js +2 -31
  259. package/dist/src/components/icons/bd-ai-icon.js.map +1 -1
  260. package/dist/src/components/icons/best-brands-icon.js +2 -31
  261. package/dist/src/components/icons/best-brands-icon.js.map +1 -1
  262. package/dist/src/components/icons/brand-signature-icon.d.ts +1 -1
  263. package/dist/src/components/icons/brand-signature-icon.js +2 -46
  264. package/dist/src/components/icons/brand-signature-icon.js.map +1 -1
  265. package/dist/src/components/icons/check-icon.d.ts +1 -1
  266. package/dist/src/components/icons/check-icon.js +2 -31
  267. package/dist/src/components/icons/check-icon.js.map +1 -1
  268. package/dist/src/components/icons/circle-info-icon.d.ts +1 -1
  269. package/dist/src/components/icons/circle-info-icon.js +2 -35
  270. package/dist/src/components/icons/circle-info-icon.js.map +1 -1
  271. package/dist/src/components/icons/close-icon.d.ts +1 -1
  272. package/dist/src/components/icons/close-icon.js +2 -20
  273. package/dist/src/components/icons/close-icon.js.map +1 -1
  274. package/dist/src/components/icons/enterprise-icon.d.ts +1 -1
  275. package/dist/src/components/icons/enterprise-icon.js +2 -22
  276. package/dist/src/components/icons/enterprise-icon.js.map +1 -1
  277. package/dist/src/components/icons/family-icon.d.ts +1 -1
  278. package/dist/src/components/icons/family-icon.js +2 -20
  279. package/dist/src/components/icons/family-icon.js.map +1 -1
  280. package/dist/src/components/icons/globe-icon.d.ts +1 -1
  281. package/dist/src/components/icons/globe-icon.js +2 -20
  282. package/dist/src/components/icons/globe-icon.js.map +1 -1
  283. package/dist/src/components/icons/guide-icon.d.ts +1 -1
  284. package/dist/src/components/icons/guide-icon.js +2 -20
  285. package/dist/src/components/icons/guide-icon.js.map +1 -1
  286. package/dist/src/components/icons/home-icon.d.ts +1 -1
  287. package/dist/src/components/icons/home-icon.js +2 -22
  288. package/dist/src/components/icons/home-icon.js.map +1 -1
  289. package/dist/src/components/icons/icon-element.js +1 -162
  290. package/dist/src/components/icons/icon-element.js.map +1 -1
  291. package/dist/src/components/icons/icons.d.ts +23 -23
  292. package/dist/src/components/icons/icons.js +1 -42
  293. package/dist/src/components/icons/individual-icon.d.ts +1 -1
  294. package/dist/src/components/icons/individual-icon.js +2 -20
  295. package/dist/src/components/icons/individual-icon.js.map +1 -1
  296. package/dist/src/components/icons/laurel-icon.d.ts +1 -1
  297. package/dist/src/components/icons/laurel-icon.js +2 -24
  298. package/dist/src/components/icons/laurel-icon.js.map +1 -1
  299. package/dist/src/components/icons/machine-learning-icon.d.ts +1 -1
  300. package/dist/src/components/icons/machine-learning-icon.js +2 -20
  301. package/dist/src/components/icons/machine-learning-icon.js.map +1 -1
  302. package/dist/src/components/icons/marks.d.ts +9 -9
  303. package/dist/src/components/icons/marks.js +1 -41
  304. package/dist/src/components/icons/minus-icon.d.ts +1 -1
  305. package/dist/src/components/icons/minus-icon.js +2 -19
  306. package/dist/src/components/icons/minus-icon.js.map +1 -1
  307. package/dist/src/components/icons/missing-icon.d.ts +1 -1
  308. package/dist/src/components/icons/missing-icon.js +3 -53
  309. package/dist/src/components/icons/missing-icon.js.map +1 -1
  310. package/dist/src/components/icons/pause-icon.d.ts +1 -1
  311. package/dist/src/components/icons/pause-icon.js +2 -22
  312. package/dist/src/components/icons/pause-icon.js.map +1 -1
  313. package/dist/src/components/icons/pc-mag-2024-icon.js +2 -31
  314. package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -1
  315. package/dist/src/components/icons/pc-mag-business-icon.js +2 -31
  316. package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -1
  317. package/dist/src/components/icons/pc-mag-icon.js +2 -31
  318. package/dist/src/components/icons/pc-mag-icon.js.map +1 -1
  319. package/dist/src/components/icons/pc-mag-readers-icon.js +2 -30
  320. package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -1
  321. package/dist/src/components/icons/play-icon.d.ts +1 -1
  322. package/dist/src/components/icons/play-icon.js +2 -22
  323. package/dist/src/components/icons/play-icon.js.map +1 -1
  324. package/dist/src/components/icons/plus-icon.d.ts +1 -1
  325. package/dist/src/components/icons/plus-icon.js +2 -19
  326. package/dist/src/components/icons/plus-icon.js.map +1 -1
  327. package/dist/src/components/icons/quote-icon.d.ts +1 -1
  328. package/dist/src/components/icons/quote-icon.js +2 -30
  329. package/dist/src/components/icons/quote-icon.js.map +1 -1
  330. package/dist/src/components/icons/small-business-icon.d.ts +1 -1
  331. package/dist/src/components/icons/small-business-icon.js +2 -22
  332. package/dist/src/components/icons/small-business-icon.js.map +1 -1
  333. package/dist/src/components/icons/top-product-icon.js +2 -31
  334. package/dist/src/components/icons/top-product-icon.js.map +1 -1
  335. package/dist/src/components/image/image.css.js +1 -106
  336. package/dist/src/components/image/image.css.js.map +1 -1
  337. package/dist/src/components/image/image.d.ts +2 -2
  338. package/dist/src/components/image/image.js +10 -115
  339. package/dist/src/components/image/image.js.map +1 -1
  340. package/dist/src/components/input/input-clipboard.css.js +1 -93
  341. package/dist/src/components/input/input-clipboard.css.js.map +1 -1
  342. package/dist/src/components/input/input-clipboard.d.ts +5 -5
  343. package/dist/src/components/input/input-clipboard.js +20 -257
  344. package/dist/src/components/input/input-clipboard.js.map +1 -1
  345. package/dist/src/components/input/input.css.js +1 -9
  346. package/dist/src/components/input/input.css.js.map +1 -1
  347. package/dist/src/components/input/input.d.ts +4 -4
  348. package/dist/src/components/input/input.js +19 -202
  349. package/dist/src/components/input/input.js.map +1 -1
  350. package/dist/src/components/install-options/install-options.css.js +1 -308
  351. package/dist/src/components/install-options/install-options.css.js.map +1 -1
  352. package/dist/src/components/install-options/install-options.d.ts +4 -4
  353. package/dist/src/components/install-options/install-options.js +28 -159
  354. package/dist/src/components/install-options/install-options.js.map +1 -1
  355. package/dist/src/components/label/label.css.js +1 -33
  356. package/dist/src/components/label/label.css.js.map +1 -1
  357. package/dist/src/components/label/label.d.ts +3 -3
  358. package/dist/src/components/label/label.js +3 -135
  359. package/dist/src/components/label/label.js.map +1 -1
  360. package/dist/src/components/light-carousel/light-carousel.css.js +1 -270
  361. package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -1
  362. package/dist/src/components/light-carousel/light-carousel.d.ts +3 -3
  363. package/dist/src/components/light-carousel/light-carousel.js +16 -181
  364. package/dist/src/components/light-carousel/light-carousel.js.map +1 -1
  365. package/dist/src/components/link/link.css.js +1 -288
  366. package/dist/src/components/link/link.css.js.map +1 -1
  367. package/dist/src/components/link/link.d.ts +3 -3
  368. package/dist/src/components/link/link.js +6 -233
  369. package/dist/src/components/link/link.js.map +1 -1
  370. package/dist/src/components/list/list-item/list-item.css.js +1 -167
  371. package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
  372. package/dist/src/components/list/list-item/list-item.d.ts +3 -3
  373. package/dist/src/components/list/list-item/list-item.js +3 -122
  374. package/dist/src/components/list/list-item/list-item.js.map +1 -1
  375. package/dist/src/components/list/list.css.js +1 -180
  376. package/dist/src/components/list/list.css.js.map +1 -1
  377. package/dist/src/components/list/list.d.ts +1 -1
  378. package/dist/src/components/list/list.js +5 -82
  379. package/dist/src/components/list/list.js.map +1 -1
  380. package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -93
  381. package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
  382. package/dist/src/components/logo-marquee/logo-marquee.d.ts +3 -3
  383. package/dist/src/components/logo-marquee/logo-marquee.js +6 -147
  384. package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
  385. package/dist/src/components/modal/modal.css.js +1 -203
  386. package/dist/src/components/modal/modal.css.js.map +1 -1
  387. package/dist/src/components/modal/modal.d.ts +3 -3
  388. package/dist/src/components/modal/modal.js +3 -131
  389. package/dist/src/components/modal/modal.js.map +1 -1
  390. package/dist/src/components/motion-art/motion-art.d.ts +1 -1
  391. package/dist/src/components/motion-art/motion-art.js +1 -114
  392. package/dist/src/components/motion-art/motion-art.js.map +1 -1
  393. package/dist/src/components/overview/overview.css.js +1 -125
  394. package/dist/src/components/overview/overview.css.js.map +1 -1
  395. package/dist/src/components/overview/overview.d.ts +2 -2
  396. package/dist/src/components/overview/overview.js +9 -50
  397. package/dist/src/components/overview/overview.js.map +1 -1
  398. package/dist/src/components/page-switcher/page-switcher.css.js +1 -174
  399. package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
  400. package/dist/src/components/page-switcher/page-switcher.d.ts +2 -2
  401. package/dist/src/components/page-switcher/page-switcher.js +6 -62
  402. package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
  403. package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -160
  404. package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
  405. package/dist/src/components/pagination-dots/pagination-dots.d.ts +2 -2
  406. package/dist/src/components/pagination-dots/pagination-dots.js +10 -210
  407. package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
  408. package/dist/src/components/paragraph/paragraph.css.js +1 -101
  409. package/dist/src/components/paragraph/paragraph.css.js.map +1 -1
  410. package/dist/src/components/paragraph/paragraph.d.ts +2 -2
  411. package/dist/src/components/paragraph/paragraph.js +3 -119
  412. package/dist/src/components/paragraph/paragraph.js.map +1 -1
  413. package/dist/src/components/partner-banner/partner-banner.css.js +1 -245
  414. package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
  415. package/dist/src/components/partner-banner/partner-banner.d.ts +1 -1
  416. package/dist/src/components/partner-banner/partner-banner.js +6 -81
  417. package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
  418. package/dist/src/components/picture/picture.css.js +1 -208
  419. package/dist/src/components/picture/picture.css.js.map +1 -1
  420. package/dist/src/components/picture/picture.d.ts +2 -2
  421. package/dist/src/components/picture/picture.js +14 -186
  422. package/dist/src/components/picture/picture.js.map +1 -1
  423. package/dist/src/components/post-card/post-card.css.js +1 -149
  424. package/dist/src/components/post-card/post-card.css.js.map +1 -1
  425. package/dist/src/components/post-card/post-card.d.ts +2 -2
  426. package/dist/src/components/post-card/post-card.js +5 -97
  427. package/dist/src/components/post-card/post-card.js.map +1 -1
  428. package/dist/src/components/pricing-cards/adopt-styles.js +1 -18
  429. package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -1
  430. package/dist/src/components/pricing-cards/new-pricing-card.d.ts +2 -2
  431. package/dist/src/components/pricing-cards/new-pricing-card.js +4 -49
  432. package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -1
  433. package/dist/src/components/pricing-cards/new-pricing.css.js +1 -74
  434. package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -1
  435. package/dist/src/components/pricing-cards/pricing-card-actions.css.js +1 -11
  436. package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -1
  437. package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +2 -2
  438. package/dist/src/components/pricing-cards/pricing-card-actions.js +2 -59
  439. package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -1
  440. package/dist/src/components/pricing-cards/pricing-card-container.css.js +1 -41
  441. package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -1
  442. package/dist/src/components/pricing-cards/pricing-card-container.d.ts +1 -1
  443. package/dist/src/components/pricing-cards/pricing-card-container.js +2 -40
  444. package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -1
  445. package/dist/src/components/pricing-cards/pricing-card-header.css.js +1 -82
  446. package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -1
  447. package/dist/src/components/pricing-cards/pricing-card-header.d.ts +5 -5
  448. package/dist/src/components/pricing-cards/pricing-card-header.js +7 -70
  449. package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -1
  450. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +1 -92
  451. package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -1
  452. package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +6 -6
  453. package/dist/src/components/pricing-cards/pricing-card-pricing.js +7 -87
  454. package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -1
  455. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +1 -29
  456. package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -1
  457. package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +4 -4
  458. package/dist/src/components/pricing-cards/pricing-card-show-more.js +5 -41
  459. package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -1
  460. package/dist/src/components/pricing-cards/pricing-card.css.js +1 -660
  461. package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -1
  462. package/dist/src/components/pricing-cards/pricing-card.d.ts +7 -7
  463. package/dist/src/components/pricing-cards/pricing-card.js +53 -639
  464. package/dist/src/components/pricing-cards/pricing-card.js.map +1 -1
  465. package/dist/src/components/pricing-cards/pricing-feature-item.css.js +1 -34
  466. package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -1
  467. package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +2 -2
  468. package/dist/src/components/pricing-cards/pricing-feature-item.js +2 -22
  469. package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -1
  470. package/dist/src/components/process-steps/process-steps.css.js +1 -106
  471. package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
  472. package/dist/src/components/process-steps/process-steps.d.ts +5 -5
  473. package/dist/src/components/process-steps/process-steps.js +10 -78
  474. package/dist/src/components/process-steps/process-steps.js.map +1 -1
  475. package/dist/src/components/progress/progress.css.js +1 -123
  476. package/dist/src/components/progress/progress.css.js.map +1 -1
  477. package/dist/src/components/progress/progress.d.ts +2 -2
  478. package/dist/src/components/progress/progress.js +6 -72
  479. package/dist/src/components/progress/progress.js.map +1 -1
  480. package/dist/src/components/quick-answer/quick-answer.css.js +1 -130
  481. package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
  482. package/dist/src/components/quick-answer/quick-answer.d.ts +2 -2
  483. package/dist/src/components/quick-answer/quick-answer.js +9 -49
  484. package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
  485. package/dist/src/components/radio/radio-group.css.js +1 -41
  486. package/dist/src/components/radio/radio-group.css.js.map +1 -1
  487. package/dist/src/components/radio/radio-group.d.ts +1 -1
  488. package/dist/src/components/radio/radio-group.js +5 -92
  489. package/dist/src/components/radio/radio-group.js.map +1 -1
  490. package/dist/src/components/radio/radio.css.js +1 -193
  491. package/dist/src/components/radio/radio.css.js.map +1 -1
  492. package/dist/src/components/radio/radio.d.ts +4 -4
  493. package/dist/src/components/radio/radio.js +6 -263
  494. package/dist/src/components/radio/radio.js.map +1 -1
  495. package/dist/src/components/radio/toggle-radio.d.ts +2 -2
  496. package/dist/src/components/radio/toggle-radio.js +3 -39
  497. package/dist/src/components/radio/toggle-radio.js.map +1 -1
  498. package/dist/src/components/review/review-grid.css.js +1 -46
  499. package/dist/src/components/review/review-grid.css.js.map +1 -1
  500. package/dist/src/components/review/review-grid.d.ts +2 -2
  501. package/dist/src/components/review/review-grid.js +4 -49
  502. package/dist/src/components/review/review-grid.js.map +1 -1
  503. package/dist/src/components/review/review.css.js +1 -54
  504. package/dist/src/components/review/review.css.js.map +1 -1
  505. package/dist/src/components/review/review.d.ts +2 -2
  506. package/dist/src/components/review/review.js +2 -59
  507. package/dist/src/components/review/review.js.map +1 -1
  508. package/dist/src/components/section/section.css.js +1 -37
  509. package/dist/src/components/section/section.css.js.map +1 -1
  510. package/dist/src/components/section/section.d.ts +1 -1
  511. package/dist/src/components/section/section.js +1 -50
  512. package/dist/src/components/section/section.js.map +1 -1
  513. package/dist/src/components/section-header/section-header.css.js +1 -99
  514. package/dist/src/components/section-header/section-header.css.js.map +1 -1
  515. package/dist/src/components/section-header/section-header.d.ts +2 -2
  516. package/dist/src/components/section-header/section-header.js +4 -85
  517. package/dist/src/components/section-header/section-header.js.map +1 -1
  518. package/dist/src/components/shared/announcer.d.ts +1 -1
  519. package/dist/src/components/shared/announcer.js +1 -34
  520. package/dist/src/components/shared/announcer.js.map +1 -1
  521. package/dist/src/components/shared/controller.media-query.d.ts +1 -1
  522. package/dist/src/components/shared/controller.media-query.js +1 -57
  523. package/dist/src/components/shared/controller.media-query.js.map +1 -1
  524. package/dist/src/components/shared/define-element.js +1 -16
  525. package/dist/src/components/shared/define-element.js.map +1 -1
  526. package/dist/src/components/shared/ensemble.css.js +1 -101
  527. package/dist/src/components/shared/ensemble.css.js.map +1 -1
  528. package/dist/src/components/shared/events.js +0 -13
  529. package/dist/src/components/shared/fill-width.css.js +2 -27
  530. package/dist/src/components/shared/fill-width.css.js.map +1 -1
  531. package/dist/src/components/shared/form-control.d.ts +1 -1
  532. package/dist/src/components/shared/form-control.js +1 -198
  533. package/dist/src/components/shared/form-control.js.map +1 -1
  534. package/dist/src/components/shared/form-field.css.js +1 -258
  535. package/dist/src/components/shared/form-field.css.js.map +1 -1
  536. package/dist/src/components/shared/prop-vocabulary.js +1 -49
  537. package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
  538. package/dist/src/components/shared/token-scales.js +1 -351
  539. package/dist/src/components/shared/token-scales.js.map +1 -1
  540. package/dist/src/components/skeleton/skeleton.css.js +1 -32
  541. package/dist/src/components/skeleton/skeleton.css.js.map +1 -1
  542. package/dist/src/components/skeleton/skeleton.d.ts +2 -2
  543. package/dist/src/components/skeleton/skeleton.js +4 -36
  544. package/dist/src/components/skeleton/skeleton.js.map +1 -1
  545. package/dist/src/components/spinner/spinner.css.js +1 -87
  546. package/dist/src/components/spinner/spinner.css.js.map +1 -1
  547. package/dist/src/components/spinner/spinner.d.ts +3 -3
  548. package/dist/src/components/spinner/spinner.js +3 -69
  549. package/dist/src/components/spinner/spinner.js.map +1 -1
  550. package/dist/src/components/spotlight-section/spotlight-section.css.js +1 -105
  551. package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -1
  552. package/dist/src/components/spotlight-section/spotlight-section.d.ts +2 -2
  553. package/dist/src/components/spotlight-section/spotlight-section.js +11 -72
  554. package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -1
  555. package/dist/src/components/stat/stat-highlight.js +6 -82
  556. package/dist/src/components/stat/stat-highlight.js.map +1 -1
  557. package/dist/src/components/stat/stat-tile.js +5 -52
  558. package/dist/src/components/stat/stat-tile.js.map +1 -1
  559. package/dist/src/components/stat/stat.css.js +1 -145
  560. package/dist/src/components/stat/stat.css.js.map +1 -1
  561. package/dist/src/components/stat/stat.d.ts +2 -2
  562. package/dist/src/components/stat/stat.js +1 -3
  563. package/dist/src/components/switch/switch.css.js +1 -175
  564. package/dist/src/components/switch/switch.css.js.map +1 -1
  565. package/dist/src/components/switch/switch.d.ts +4 -4
  566. package/dist/src/components/switch/switch.js +4 -99
  567. package/dist/src/components/switch/switch.js.map +1 -1
  568. package/dist/src/components/tab-list/tab-list.css.js +1 -289
  569. package/dist/src/components/tab-list/tab-list.css.js.map +1 -1
  570. package/dist/src/components/tab-list/tab-list.d.ts +1 -1
  571. package/dist/src/components/tab-list/tab-list.js +13 -191
  572. package/dist/src/components/tab-list/tab-list.js.map +1 -1
  573. package/dist/src/components/tabs/tabs.css.js +1 -77
  574. package/dist/src/components/tabs/tabs.css.js.map +1 -1
  575. package/dist/src/components/tabs/tabs.d.ts +6 -6
  576. package/dist/src/components/tabs/tabs.js +8 -220
  577. package/dist/src/components/tabs/tabs.js.map +1 -1
  578. package/dist/src/components/tag/tag.css.js +1 -52
  579. package/dist/src/components/tag/tag.css.js.map +1 -1
  580. package/dist/src/components/tag/tag.d.ts +2 -2
  581. package/dist/src/components/tag/tag.js +2 -37
  582. package/dist/src/components/tag/tag.js.map +1 -1
  583. package/dist/src/components/terminal/terminal-cursor.js +1 -65
  584. package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
  585. package/dist/src/components/terminal/terminal-message.css.js +1 -409
  586. package/dist/src/components/terminal/terminal-message.css.js.map +1 -1
  587. package/dist/src/components/terminal/terminal-message.d.ts +5 -5
  588. package/dist/src/components/terminal/terminal-message.js +28 -183
  589. package/dist/src/components/terminal/terminal-message.js.map +1 -1
  590. package/dist/src/components/termsOfUse/terms.css.js +1 -55
  591. package/dist/src/components/termsOfUse/terms.css.js.map +1 -1
  592. package/dist/src/components/termsOfUse/terms.d.ts +5 -5
  593. package/dist/src/components/termsOfUse/terms.js +9 -82
  594. package/dist/src/components/termsOfUse/terms.js.map +1 -1
  595. package/dist/src/components/textarea/textarea.css.js +1 -49
  596. package/dist/src/components/textarea/textarea.css.js.map +1 -1
  597. package/dist/src/components/textarea/textarea.d.ts +5 -5
  598. package/dist/src/components/textarea/textarea.js +15 -160
  599. package/dist/src/components/textarea/textarea.js.map +1 -1
  600. package/dist/src/components/tooltip/tooltip.css.js +1 -96
  601. package/dist/src/components/tooltip/tooltip.css.js.map +1 -1
  602. package/dist/src/components/tooltip/tooltip.d.ts +2 -2
  603. package/dist/src/components/tooltip/tooltip.js +5 -285
  604. package/dist/src/components/tooltip/tooltip.js.map +1 -1
  605. package/dist/src/components/trust-panel/trust-panel.css.js +1 -228
  606. package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
  607. package/dist/src/components/trust-panel/trust-panel.d.ts +4 -4
  608. package/dist/src/components/trust-panel/trust-panel.js +25 -104
  609. package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
  610. package/dist/src/components/video/video.css.js +1 -20
  611. package/dist/src/components/video/video.css.js.map +1 -1
  612. package/dist/src/components/video/video.d.ts +2 -2
  613. package/dist/src/components/video/video.js +5 -88
  614. package/dist/src/components/video/video.js.map +1 -1
  615. package/dist/src/components/video-player/video-player.css.js +1 -167
  616. package/dist/src/components/video-player/video-player.css.js.map +1 -1
  617. package/dist/src/components/video-player/video-player.d.ts +2 -2
  618. package/dist/src/components/video-player/video-player.js +15 -150
  619. package/dist/src/components/video-player/video-player.js.map +1 -1
  620. package/dist/src/components/visually-hidden/visually-hidden.css.js +1 -22
  621. package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -1
  622. package/dist/src/components/visually-hidden/visually-hidden.d.ts +2 -2
  623. package/dist/src/components/visually-hidden/visually-hidden.js +2 -22
  624. package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -1
  625. package/dist/src/tokens/brand-layer.js +8 -162
  626. package/dist/src/tokens/brand-layer.js.map +1 -1
  627. package/dist/src/tokens/dark-derivation.js +1 -325
  628. package/dist/src/tokens/dark-derivation.js.map +1 -1
  629. package/dist/src/tokens/dark-findings.d.ts +1 -1
  630. package/dist/src/tokens/dark-findings.js +1 -204
  631. package/dist/src/tokens/dark-findings.js.map +1 -1
  632. package/dist/src/tokens/fonts.css +1 -166
  633. package/dist/src/tokens/layout.css +1 -61
  634. package/dist/src/tokens/story-chrome.js +27 -221
  635. package/dist/src/tokens/story-chrome.js.map +1 -1
  636. package/dist/src/tokens/themes/bitdefender.js +1 -30
  637. package/dist/src/tokens/themes/bitdefender.js.map +1 -1
  638. package/dist/src/tokens/themes/contract.js +1 -7
  639. package/dist/src/tokens/themes/contract.js.map +1 -1
  640. package/dist/src/tokens/themes/index.js +1 -39
  641. package/dist/src/tokens/themes/index.js.map +1 -1
  642. package/dist/src/tokens/token-map.js +1 -236
  643. package/dist/src/tokens/token-map.js.map +1 -1
  644. package/dist/src/tokens/token-purposes.js +1 -259
  645. package/dist/src/tokens/token-purposes.js.map +1 -1
  646. package/dist/src/tokens/tokens.css +1 -1809
  647. package/dist/src/tokens/tokens.js +1 -1865
  648. package/dist/src/tokens/tokens.js.map +1 -1
  649. package/dist/src/tokens/type-ceiling-words.js +1 -293
  650. package/dist/src/tokens/type-ceiling-words.js.map +1 -1
  651. package/package.json +16 -5
  652. package/schemas/component-manifest.json +1 -1
  653. package/dist/src/components/icons/icons.js.map +0 -1
  654. package/dist/src/components/icons/marks.js.map +0 -1
  655. package/dist/src/components/shared/events.js.map +0 -1
  656. package/dist/src/components/stat/stat.js.map +0 -1
@@ -1,163 +1,2 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { LitElement, css } from "lit";
8
- import { property } from "lit/decorators.js";
9
- import { iconSize } from "../shared/token-scales.js";
10
- /* One sheet per distinct size and colour, shared by every icon that asks for
11
- the same pair: a page of forty check icons adopts one sheet, not forty. */
12
- const instanceSheets = new Map();
13
- /**
14
- * The mirror a forward-pointing icon opts into:
15
- *
16
- * static styles = [BdIconElement.styles, rtlMirror];
17
- *
18
- * An arrow or chevron that means "onward" -- a CTA's arrow, "Read more", a
19
- * next step -- points the way the line reads, so on a right-to-left page it
20
- * points left. It is opt-in because most icons are not directional, and some
21
- * that look it are not: a chevron that opens a panel points down whatever
22
- * the language. The svg mirrors rather than the host, so nothing the page
23
- * sets on the element -- a transform, a rotation -- is overwritten.
24
- */
25
- export const rtlMirror = css `
26
- :host(:dir(rtl)) svg {
27
- scale: -1 1;
28
- }
29
- `;
30
- const instanceSheet = (size, color) => {
31
- const key = `${size}|${color}`;
32
- let sheet = instanceSheets.get(key);
33
- if (!sheet) {
34
- sheet = new CSSStyleSheet();
35
- sheet.replaceSync(`:host { --bd-icon-size: ${size}; }` + (color ? ` svg { color: ${color}; }` : ""));
36
- instanceSheets.set(key, sheet);
37
- }
38
- return sheet;
39
- };
40
- /**
41
- * Base for the tintable interface icons.
42
- *
43
- * Every one of them used to take `width` and `height` as numbers and write them
44
- * straight into the SVG attributes, so a consumer could not pass
45
- * `var(--icon-md-size)` even if they wanted to — which is why twenty of the
46
- * twenty-three --icon-* tokens had no consumer. Defaults were 16, 18, 20, 32,
47
- * 48, 48x49 and 80, three of which are on no scale, and the colour default was
48
- * one of three different things including the literal string "white", so an
49
- * unstyled bd-close-icon was invisible on a white page.
50
- *
51
- * The pattern here is the one bd-arrow-icon already used: the host takes a
52
- * height from the icon scale and the SVG fills it, keeping its own aspect ratio
53
- * from the viewBox rather than being squared off. The artwork is drawn in
54
- * currentColor, so an icon follows the text it sits beside and needs no colour
55
- * of its own.
56
- *
57
- * <bd-plus-icon></bd-plus-icon> the size its artwork was drawn at
58
- * <bd-plus-icon size="lg"></bd-plus-icon> a step from the icon scale
59
- * <bd-plus-icon width="18"></bd-plus-icon> deprecated, still honoured
60
- *
61
- * `width` and `height` are kept because consumers pass them today. They are
62
- * deprecated: an off-scale pixel size is exactly what this replaced.
63
- */
64
- export class BdIconElement extends LitElement {
65
- constructor() {
66
- super(...arguments);
67
- this.size = "";
68
- this.color = "";
69
- /** @deprecated pass `size` instead. */
70
- this.width = null;
71
- /** @deprecated pass `size` instead. */
72
- this.height = null;
73
- }
74
- /**
75
- * The step this icon's artwork was drawn at. Overridden per icon.
76
- *
77
- * Normally a step name. It also accepts a raw CSS length, for the one icon
78
- * whose size is off the scale — see laurel-icon.ts, where that carries a
79
- * `no token:` reason rather than being silently inlined.
80
- */
81
- static { this.defaultSize = "md"; }
82
- static { this.styles = css `
83
- :host {
84
- display: inline-flex;
85
- /* --bd-icon-size is component-local and always set by the instance
86
- sheet below, so the fallback is only reached if a subclass forgets to
87
- call super. */
88
- height: var(--bd-icon-size, var(--icon-md-size));
89
- }
90
-
91
- /* Whether an icon shows at all is the platform's question, not a prop this
92
- element should invent: <bd-plus-icon hidden> is what a consumer will
93
- reach for. It did not work. The UA sheet's [hidden] { display: none } is
94
- an unlayered type rule on the element, and the :host rule above beats it,
95
- so every icon in this package ignored the attribute -- measured before
96
- this: a hidden bd-check-icon still computed inline-flex and still
97
- occupied 16x16.
98
- .
99
- One rule restores it for all of them, and nothing new has to be learned
100
- or documented: hidden is hidden. */
101
- :host([hidden]) {
102
- display: none;
103
- }
104
-
105
- svg {
106
- display: block;
107
- height: 100%;
108
- /* auto, not 100%: the viewBox carries the aspect ratio, so an icon drawn
109
- 48x49 stays 48x49 rather than being squashed square */
110
- width: auto;
111
- }
112
- `; }
113
- /* WHY NOT THE HOST'S STYLE ATTRIBUTE.
114
- This used to write --bd-icon-size and color into this.style on every
115
- update. The host's style attribute belongs to the page, and with no color
116
- prop the update removed the colour outright, so
117
- <bd-check-icon style="color: green"> rendered in the inherited text
118
- colour, and so did any icon a script coloured after its first render.
119
- The inline size meant no stylesheet could set --bd-icon-size either.
120
-
121
- Both now live in a sheet adopted into this shadow root, and the host's
122
- style attribute is never read or written:
123
-
124
- size a :host rule. The page's CSS on the element wins over it, as it
125
- already did for height -- header.css.ts sets one on
126
- .bd-header-signature -- and now does for --bd-icon-size too.
127
- colour a rule on the svg, so the color prop still beats the page's CSS
128
- on the host, as the inline colour did. Unset, nothing is
129
- written and the artwork's currentColor follows the host,
130
- wherever its colour came from. */
131
- willUpdate() {
132
- // An explicit pixel size wins, for the callers that still pass one.
133
- const px = this.height ?? this.width;
134
- const { defaultSize } = this.constructor;
135
- // a step first, then an off-scale default, then the caller's pixels
136
- const step = iconSize(this.size) || iconSize(defaultSize) || defaultSize;
137
- const size = Number.isFinite(px) ? `${px}px` : step;
138
- // No colour of its own by default: the artwork is currentColor, so it
139
- // follows whatever it sits in. A value CSS would not accept as a colour is
140
- // dropped, as an inline one was -- and it never reaches the sheet's text.
141
- const color = this.color && CSS.supports("color", this.color) ? this.color : "";
142
- const renderRoot = this.renderRoot;
143
- this._baseSheets ??= renderRoot.adoptedStyleSheets;
144
- const sheet = instanceSheet(size, color);
145
- if (this._instanceSheet !== sheet) {
146
- this._instanceSheet = sheet;
147
- renderRoot.adoptedStyleSheets = [...this._baseSheets, sheet];
148
- }
149
- }
150
- }
151
- __decorate([
152
- property({ type: String, reflect: true })
153
- ], BdIconElement.prototype, "size", void 0);
154
- __decorate([
155
- property({ type: String })
156
- ], BdIconElement.prototype, "color", void 0);
157
- __decorate([
158
- property({ type: Number })
159
- ], BdIconElement.prototype, "width", void 0);
160
- __decorate([
161
- property({ type: Number })
162
- ], BdIconElement.prototype, "height", void 0);
1
+ import{iconSize as e}from"../shared/token-scales.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{LitElement as n,css as r}from"lit";import{property as i}from"lit/decorators.js";var a=/* @__PURE__ */ new Map,o=r`:host(:dir(rtl)) svg{scale:-1 1}`,s=(e,t)=>{let n=`${e}|${t}`,r=a.get(n);return r||(r=new CSSStyleSheet,r.replaceSync(`:host { --bd-icon-size: ${e}; }`+(t?` svg { color: ${t}; }`:``)),a.set(n,r)),r},c=class extends n{constructor(...e){super(...e),this.size=``,this.color=``,this.width=null,this.height=null}static{this.defaultSize=`md`}static{this.styles=r`:host{height:var(--bd-icon-size,var(--icon-md-size));display:inline-flex}:host([hidden]){display:none}svg{width:auto;height:100%;display:block}`}willUpdate(){let t=this.height??this.width,{defaultSize:n}=this.constructor,r=e(this.size)||e(n)||n,i=Number.isFinite(t)?`${t}px`:r,a=this.color&&CSS.supports(`color`,this.color)?this.color:``,o=this.renderRoot;this._baseSheets??=o.adoptedStyleSheets;let c=s(i,a);this._instanceSheet!==c&&(this._instanceSheet=c,o.adoptedStyleSheets=[...this._baseSheets,c])}};t([i({type:String,reflect:!0})],c.prototype,`size`,void 0),t([i({type:String})],c.prototype,`color`,void 0),t([i({type:Number})],c.prototype,`width`,void 0),t([i({type:Number})],c.prototype,`height`,void 0);export{c as BdIconElement,o as rtlMirror};
163
2
  //# sourceMappingURL=icon-element.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon-element.js","sourceRoot":"","sources":["../../../../src/components/icons/icon-element.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,GAAG,EAAuB,MAAM,KAAK,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD;6EAC6E;AAC7E,MAAM,cAAc,GAAG,IAAI,GAAG,EAAyB,CAAC;AAExD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAA;;;;CAI3B,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAY,EAAE,KAAa,EAAE,EAAE;IACpD,MAAM,GAAG,GAAG,GAAG,IAAI,IAAI,KAAK,EAAE,CAAC;IAC/B,IAAI,KAAK,GAAG,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpC,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,KAAK,GAAG,IAAI,aAAa,EAAE,CAAC;QAC5B,KAAK,CAAC,WAAW,CACf,2BAA2B,IAAI,KAAK,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,KAAK,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAClF,CAAC;QACF,cAAc,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACjC,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,OAAO,aAAc,SAAQ,UAAU;IAA7C;;QAEE,SAAI,GAAG,EAAE,CAAC;QAEV,UAAK,GAAG,EAAE,CAAC;QACX,uCAAuC;QAEvC,UAAK,GAAkB,IAAI,CAAC;QAC5B,uCAAuC;QAEvC,WAAM,GAAkB,IAAI,CAAC;IAqF/B,CAAC;IAhFC;;;;;;OAMG;aACI,gBAAW,GAAG,IAAI,AAAP,CAAQ;aAEnB,WAAM,GAAmB,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BlC,AA9BY,CA8BX;IAEF;;;;;;;;;;;;;;;;;kDAiB8C;IAC9C,UAAU;QACR,oEAAoE;QACpE,MAAM,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,CAAC;QACrC,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,WAAmC,CAAC;QACjE,oEAAoE;QACpE,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,QAAQ,CAAC,WAAW,CAAC,IAAI,WAAW,CAAC;QACzE,MAAM,IAAI,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;QAEpD,sEAAsE;QACtE,2EAA2E;QAC3E,0EAA0E;QAC1E,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,GAAG,CAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QAEhF,MAAM,UAAU,GAAG,IAAI,CAAC,UAAwB,CAAC;QACjD,IAAI,CAAC,WAAW,KAAK,UAAU,CAAC,kBAAkB,CAAC;QACnD,MAAM,KAAK,GAAG,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACzC,IAAI,IAAI,CAAC,cAAc,KAAK,KAAK,EAAE,CAAC;YAClC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;YAC5B,UAAU,CAAC,kBAAkB,GAAG,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;;AA5FD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2CAChC;AAEV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAChB;AAGX;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CACC;AAG5B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CACE","sourcesContent":["import { LitElement, css, type CSSResultGroup } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { iconSize } from \"../shared/token-scales.ts\";\n\n/* One sheet per distinct size and colour, shared by every icon that asks for\n the same pair: a page of forty check icons adopts one sheet, not forty. */\nconst instanceSheets = new Map<string, CSSStyleSheet>();\n\n/**\n * The mirror a forward-pointing icon opts into:\n *\n * static styles = [BdIconElement.styles, rtlMirror];\n *\n * An arrow or chevron that means \"onward\" -- a CTA's arrow, \"Read more\", a\n * next step -- points the way the line reads, so on a right-to-left page it\n * points left. It is opt-in because most icons are not directional, and some\n * that look it are not: a chevron that opens a panel points down whatever\n * the language. The svg mirrors rather than the host, so nothing the page\n * sets on the element -- a transform, a rotation -- is overwritten.\n */\nexport const rtlMirror = css`\n :host(:dir(rtl)) svg {\n scale: -1 1;\n }\n`;\n\nconst instanceSheet = (size: string, color: string) => {\n const key = `${size}|${color}`;\n let sheet = instanceSheets.get(key);\n if (!sheet) {\n sheet = new CSSStyleSheet();\n sheet.replaceSync(\n `:host { --bd-icon-size: ${size}; }` + (color ? ` svg { color: ${color}; }` : \"\")\n );\n instanceSheets.set(key, sheet);\n }\n return sheet;\n};\n\n/**\n * Base for the tintable interface icons.\n *\n * Every one of them used to take `width` and `height` as numbers and write them\n * straight into the SVG attributes, so a consumer could not pass\n * `var(--icon-md-size)` even if they wanted to — which is why twenty of the\n * twenty-three --icon-* tokens had no consumer. Defaults were 16, 18, 20, 32,\n * 48, 48x49 and 80, three of which are on no scale, and the colour default was\n * one of three different things including the literal string \"white\", so an\n * unstyled bd-close-icon was invisible on a white page.\n *\n * The pattern here is the one bd-arrow-icon already used: the host takes a\n * height from the icon scale and the SVG fills it, keeping its own aspect ratio\n * from the viewBox rather than being squared off. The artwork is drawn in\n * currentColor, so an icon follows the text it sits beside and needs no colour\n * of its own.\n *\n * <bd-plus-icon></bd-plus-icon> the size its artwork was drawn at\n * <bd-plus-icon size=\"lg\"></bd-plus-icon> a step from the icon scale\n * <bd-plus-icon width=\"18\"></bd-plus-icon> deprecated, still honoured\n *\n * `width` and `height` are kept because consumers pass them today. They are\n * deprecated: an off-scale pixel size is exactly what this replaced.\n */\nexport class BdIconElement extends LitElement {\n @property({ type: String, reflect: true })\n size = \"\";\n @property({ type: String })\n color = \"\";\n /** @deprecated pass `size` instead. */\n @property({ type: Number })\n width: number | null = null;\n /** @deprecated pass `size` instead. */\n @property({ type: Number })\n height: number | null = null;\n\n private _baseSheets? : readonly CSSStyleSheet[];\n private _instanceSheet?: CSSStyleSheet;\n\n /**\n * The step this icon's artwork was drawn at. Overridden per icon.\n *\n * Normally a step name. It also accepts a raw CSS length, for the one icon\n * whose size is off the scale — see laurel-icon.ts, where that carries a\n * `no token:` reason rather than being silently inlined.\n */\n static defaultSize = \"md\";\n\n static styles: CSSResultGroup = css`\n :host {\n display: inline-flex;\n /* --bd-icon-size is component-local and always set by the instance\n sheet below, so the fallback is only reached if a subclass forgets to\n call super. */\n height: var(--bd-icon-size, var(--icon-md-size));\n }\n\n /* Whether an icon shows at all is the platform's question, not a prop this\n element should invent: <bd-plus-icon hidden> is what a consumer will\n reach for. It did not work. The UA sheet's [hidden] { display: none } is\n an unlayered type rule on the element, and the :host rule above beats it,\n so every icon in this package ignored the attribute -- measured before\n this: a hidden bd-check-icon still computed inline-flex and still\n occupied 16x16.\n .\n One rule restores it for all of them, and nothing new has to be learned\n or documented: hidden is hidden. */\n :host([hidden]) {\n display: none;\n }\n\n svg {\n display: block;\n height: 100%;\n /* auto, not 100%: the viewBox carries the aspect ratio, so an icon drawn\n 48x49 stays 48x49 rather than being squashed square */\n width: auto;\n }\n `;\n\n /* WHY NOT THE HOST'S STYLE ATTRIBUTE.\n This used to write --bd-icon-size and color into this.style on every\n update. The host's style attribute belongs to the page, and with no color\n prop the update removed the colour outright, so\n <bd-check-icon style=\"color: green\"> rendered in the inherited text\n colour, and so did any icon a script coloured after its first render.\n The inline size meant no stylesheet could set --bd-icon-size either.\n\n Both now live in a sheet adopted into this shadow root, and the host's\n style attribute is never read or written:\n\n size a :host rule. The page's CSS on the element wins over it, as it\n already did for height -- header.css.ts sets one on\n .bd-header-signature -- and now does for --bd-icon-size too.\n colour a rule on the svg, so the color prop still beats the page's CSS\n on the host, as the inline colour did. Unset, nothing is\n written and the artwork's currentColor follows the host,\n wherever its colour came from. */\n willUpdate() {\n // An explicit pixel size wins, for the callers that still pass one.\n const px = this.height ?? this.width;\n const { defaultSize } = this.constructor as typeof BdIconElement;\n // a step first, then an off-scale default, then the caller's pixels\n const step = iconSize(this.size) || iconSize(defaultSize) || defaultSize;\n const size = Number.isFinite(px) ? `${px}px` : step;\n\n // No colour of its own by default: the artwork is currentColor, so it\n // follows whatever it sits in. A value CSS would not accept as a colour is\n // dropped, as an inline one was -- and it never reaches the sheet's text.\n const color = this.color && CSS.supports(\"color\", this.color) ? this.color : \"\";\n\n const renderRoot = this.renderRoot as ShadowRoot;\n this._baseSheets ??= renderRoot.adoptedStyleSheets;\n const sheet = instanceSheet(size, color);\n if (this._instanceSheet !== sheet) {\n this._instanceSheet = sheet;\n renderRoot.adoptedStyleSheets = [...this._baseSheets, sheet];\n }\n }\n}\n"]}
1
+ {"version":3,"file":"icon-element.js","names":["_decorate","__decorate","instanceSheets","rtlMirror","instanceSheet","key","size","color","sheet","BdIconElement","LitElement","_args","px","step","iconSize","defaultSize","renderRoot","property"],"sources":["../../../../src/components/icons/icon-element.ts"],"sourcesContent":["import { LitElement, css, type CSSResultGroup } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { iconSize } from \"#shared/token-scales.ts\";\n\n/* One sheet per distinct size and colour, shared by every icon that asks for\n the same pair: a page of forty check icons adopts one sheet, not forty. */\nconst instanceSheets = new Map<string, CSSStyleSheet>();\n\n/**\n * The mirror a forward-pointing icon opts into:\n *\n * static styles = [BdIconElement.styles, rtlMirror];\n *\n * An arrow or chevron that means \"onward\" -- a CTA's arrow, \"Read more\", a\n * next step -- points the way the line reads, so on a right-to-left page it\n * points left. It is opt-in because most icons are not directional, and some\n * that look it are not: a chevron that opens a panel points down whatever\n * the language. The svg mirrors rather than the host, so nothing the page\n * sets on the element -- a transform, a rotation -- is overwritten.\n */\nexport const rtlMirror = css`\n :host(:dir(rtl)) svg {\n scale: -1 1;\n }\n`;\n\nconst instanceSheet = (size: string, color: string) => {\n const key = `${size}|${color}`;\n let sheet = instanceSheets.get(key);\n if (!sheet) {\n sheet = new CSSStyleSheet();\n sheet.replaceSync(\n `:host { --bd-icon-size: ${size}; }` + (color ? ` svg { color: ${color}; }` : \"\")\n );\n instanceSheets.set(key, sheet);\n }\n return sheet;\n};\n\n/**\n * Base for the tintable interface icons.\n *\n * Every one of them used to take `width` and `height` as numbers and write them\n * straight into the SVG attributes, so a consumer could not pass\n * `var(--icon-md-size)` even if they wanted to — which is why twenty of the\n * twenty-three --icon-* tokens had no consumer. Defaults were 16, 18, 20, 32,\n * 48, 48x49 and 80, three of which are on no scale, and the colour default was\n * one of three different things including the literal string \"white\", so an\n * unstyled bd-close-icon was invisible on a white page.\n *\n * The pattern here is the one bd-arrow-icon already used: the host takes a\n * height from the icon scale and the SVG fills it, keeping its own aspect ratio\n * from the viewBox rather than being squared off. The artwork is drawn in\n * currentColor, so an icon follows the text it sits beside and needs no colour\n * of its own.\n *\n * <bd-plus-icon></bd-plus-icon> the size its artwork was drawn at\n * <bd-plus-icon size=\"lg\"></bd-plus-icon> a step from the icon scale\n * <bd-plus-icon width=\"18\"></bd-plus-icon> deprecated, still honoured\n *\n * `width` and `height` are kept because consumers pass them today. They are\n * deprecated: an off-scale pixel size is exactly what this replaced.\n */\nexport class BdIconElement extends LitElement {\n @property({ type: String, reflect: true })\n size = \"\";\n @property({ type: String })\n color = \"\";\n /** @deprecated pass `size` instead. */\n @property({ type: Number })\n width: number | null = null;\n /** @deprecated pass `size` instead. */\n @property({ type: Number })\n height: number | null = null;\n\n private _baseSheets? : readonly CSSStyleSheet[];\n private _instanceSheet?: CSSStyleSheet;\n\n /**\n * The step this icon's artwork was drawn at. Overridden per icon.\n *\n * Normally a step name. It also accepts a raw CSS length, for the one icon\n * whose size is off the scale — see laurel-icon.ts, where that carries a\n * `no token:` reason rather than being silently inlined.\n */\n static defaultSize = \"md\";\n\n static styles: CSSResultGroup = css`\n :host {\n display: inline-flex;\n /* --bd-icon-size is component-local and always set by the instance\n sheet below, so the fallback is only reached if a subclass forgets to\n call super. */\n height: var(--bd-icon-size, var(--icon-md-size));\n }\n\n /* Whether an icon shows at all is the platform's question, not a prop this\n element should invent: <bd-plus-icon hidden> is what a consumer will\n reach for. It did not work. The UA sheet's [hidden] { display: none } is\n an unlayered type rule on the element, and the :host rule above beats it,\n so every icon in this package ignored the attribute -- measured before\n this: a hidden bd-check-icon still computed inline-flex and still\n occupied 16x16.\n .\n One rule restores it for all of them, and nothing new has to be learned\n or documented: hidden is hidden. */\n :host([hidden]) {\n display: none;\n }\n\n svg {\n display: block;\n height: 100%;\n /* auto, not 100%: the viewBox carries the aspect ratio, so an icon drawn\n 48x49 stays 48x49 rather than being squashed square */\n width: auto;\n }\n `;\n\n /* WHY NOT THE HOST'S STYLE ATTRIBUTE.\n This used to write --bd-icon-size and color into this.style on every\n update. The host's style attribute belongs to the page, and with no color\n prop the update removed the colour outright, so\n <bd-check-icon style=\"color: green\"> rendered in the inherited text\n colour, and so did any icon a script coloured after its first render.\n The inline size meant no stylesheet could set --bd-icon-size either.\n\n Both now live in a sheet adopted into this shadow root, and the host's\n style attribute is never read or written:\n\n size a :host rule. The page's CSS on the element wins over it, as it\n already did for height -- header.css.ts sets one on\n .bd-header-signature -- and now does for --bd-icon-size too.\n colour a rule on the svg, so the color prop still beats the page's CSS\n on the host, as the inline colour did. Unset, nothing is\n written and the artwork's currentColor follows the host,\n wherever its colour came from. */\n willUpdate() {\n // An explicit pixel size wins, for the callers that still pass one.\n const px = this.height ?? this.width;\n const { defaultSize } = this.constructor as typeof BdIconElement;\n // a step first, then an off-scale default, then the caller's pixels\n const step = iconSize(this.size) || iconSize(defaultSize) || defaultSize;\n const size = Number.isFinite(px) ? `${px}px` : step;\n\n // No colour of its own by default: the artwork is currentColor, so it\n // follows whatever it sits in. A value CSS would not accept as a colour is\n // dropped, as an inline one was -- and it never reaches the sheet's text.\n const color = this.color && CSS.supports(\"color\", this.color) ? this.color : \"\";\n\n const renderRoot = this.renderRoot as ShadowRoot;\n this._baseSheets ??= renderRoot.adoptedStyleSheets;\n const sheet = instanceSheet(size, color);\n if (this._instanceSheet !== sheet) {\n this._instanceSheet = sheet;\n renderRoot.adoptedStyleSheets = [...this._baseSheets, sheet];\n }\n }\n}\n"],"mappings":"A,sNAMA,IAAME,kBAAiB,IAAI,IAcdC,EAAY,CAAG,mCAMtBC,GAAiB,EAAc,IAAkB,CACrD,IAAMC,EAAM,GAAGC,EAAK,GAAGC,IACnBC,EAAQN,EAAe,IAAIG,CAAG,EAQlC,OAPKG,IACH,EAAQ,IAAI,cACZA,EAAM,YACJ,2BAA2BF,EAAK,MAAQC,EAAQ,iBAAiBA,EAAM,KAAO,GAChF,EACAL,EAAe,IAAIG,EAAKG,CAAK,GAExBA,CACT,EA0BaC,EAAb,cAAmCC,CAAW,C,8BAErC,KAAA,KAAA,GAEC,KAAA,MAAA,GAGe,KAAA,MAAA,KAGC,KAAA,OAAA,I,QAYH,KAAA,YAAA,I,QAEW,KAAA,OAAA,CAAG,iJ,CAkDnC,YAAa,CAEX,IAAME,EAAK,KAAK,QAAU,KAAK,MACzB,CAAE,eAAgB,KAAK,YAEvBC,EAAOC,EAAS,KAAK,IAAI,GAAKA,EAASC,CAAW,GAAKA,EACvDT,EAAO,OAAO,SAASM,CAAE,EAAI,GAAGA,EAAG,IAAMC,EAKzCN,EAAQ,KAAK,OAAS,IAAI,SAAS,QAAS,KAAK,KAAK,EAAI,KAAK,MAAQ,GAEvES,EAAa,KAAK,WACxB,KAAK,cAAgBA,EAAW,mBAChC,IAAMR,EAAQJ,EAAcE,EAAMC,CAAK,EACnC,KAAK,iBAAmBC,IAC1B,KAAK,eAAiBA,EACtB,EAAW,mBAAqB,CAAC,GAAG,KAAK,YAAaA,CAAK,EAE/D,CACF,EA9FGR,EAAA,CAAAiB,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAR,EAAA,UAAA,OAAA,IAAA,EAAA,EAExCT,EAAA,CAAAiB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAR,EAAA,UAAA,QAAA,IAAA,EAAA,EAGzBT,EAAA,CAAAiB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAR,EAAA,UAAA,QAAA,IAAA,EAAA,EAGzBT,EAAA,CAAAiB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAR,EAAA,UAAA,SAAA,IAAA,EAAA,E"}
@@ -15,26 +15,26 @@
15
15
  * directly anyway. Anyone reaching for a plus icon was paying for seven award
16
16
  * badges.
17
17
  */
18
- import './analysis-icon.ts';
19
- import './check-icon.ts';
20
- import './arrow-icon.ts';
21
- import './arrow-down-icon.ts';
22
- import './arrow-right-icon.ts';
23
- import './arrow-up-icon.ts';
24
- import './circle-info-icon.ts';
25
- import './close-icon.ts';
26
- import './enterprise-icon.ts';
27
- import './family-icon.ts';
28
- import './globe-icon.ts';
29
- import './guide-icon.ts';
30
- import './home-icon.ts';
31
- import './individual-icon.ts';
32
- import './laurel-icon.ts';
33
- import './machine-learning-icon.ts';
34
- import './minus-icon.ts';
35
- import './pause-icon.ts';
36
- import './play-icon.ts';
37
- import './missing-icon.ts';
38
- import './plus-icon.ts';
39
- import './quote-icon.ts';
40
- import './small-business-icon.ts';
18
+ import "./analysis-icon.js";
19
+ import "./check-icon.js";
20
+ import "./arrow-icon.js";
21
+ import "./arrow-down-icon.js";
22
+ import "./arrow-right-icon.js";
23
+ import "./arrow-up-icon.js";
24
+ import "./circle-info-icon.js";
25
+ import "./close-icon.js";
26
+ import "./enterprise-icon.js";
27
+ import "./family-icon.js";
28
+ import "./globe-icon.js";
29
+ import "./guide-icon.js";
30
+ import "./home-icon.js";
31
+ import "./individual-icon.js";
32
+ import "./laurel-icon.js";
33
+ import "./machine-learning-icon.js";
34
+ import "./minus-icon.js";
35
+ import "./pause-icon.js";
36
+ import "./play-icon.js";
37
+ import "./missing-icon.js";
38
+ import "./plus-icon.js";
39
+ import "./quote-icon.js";
40
+ import "./small-business-icon.js";
@@ -1,42 +1 @@
1
- /**
2
- * Barrel for the interface icons, so the set can be imported as one module the
3
- * way bd-annotation's four elements are.
4
- *
5
- * The interface icons below are tintable: the artwork is drawn in currentColor
6
- * and the host
7
- * takes a height from the icon scale, so an icon follows the text it sits
8
- * beside and needs no colour of its own.
9
- *
10
- * The brand and award marks are NOT here — they are in ./marks.ts, and the
11
- * split is a size decision rather than a taxonomy one. Each of those marks
12
- * embeds a PNG inside its SVG through a pattern fill, and together they came
13
- * to 360KB against 22KB for everything below: 94% of this module's weight,
14
- * for artwork that only bd-awards uses and that imports the files it needs
15
- * directly anyway. Anyone reaching for a plus icon was paying for seven award
16
- * badges.
17
- */
18
- // interface icons — tintable
19
- import "./analysis-icon.js";
20
- import "./check-icon.js";
21
- import "./arrow-icon.js";
22
- import "./arrow-down-icon.js";
23
- import "./arrow-right-icon.js";
24
- import "./arrow-up-icon.js";
25
- import "./circle-info-icon.js";
26
- import "./close-icon.js";
27
- import "./enterprise-icon.js";
28
- import "./family-icon.js";
29
- import "./globe-icon.js";
30
- import "./guide-icon.js";
31
- import "./home-icon.js";
32
- import "./individual-icon.js";
33
- import "./laurel-icon.js";
34
- import "./machine-learning-icon.js";
35
- import "./minus-icon.js";
36
- import "./pause-icon.js";
37
- import "./play-icon.js";
38
- import "./missing-icon.js";
39
- import "./plus-icon.js";
40
- import "./quote-icon.js";
41
- import "./small-business-icon.js";
42
- //# sourceMappingURL=icons.js.map
1
+ import"./minus-icon.js";import"./plus-icon.js";import"./arrow-down-icon.js";import"./arrow-up-icon.js";import"./arrow-icon.js";import"./arrow-right-icon.js";import"./circle-info-icon.js";import"./close-icon.js";import"./laurel-icon.js";import"./analysis-icon.js";import"./machine-learning-icon.js";import"./family-icon.js";import"./individual-icon.js";import"./globe-icon.js";import"./check-icon.js";import"./pause-icon.js";import"./play-icon.js";import"./enterprise-icon.js";import"./guide-icon.js";import"./home-icon.js";import"./missing-icon.js";import"./quote-icon.js";import"./small-business-icon.js";
@@ -1,4 +1,4 @@
1
- import { BdIconElement } from "./icon-element.ts";
1
+ import { BdIconElement } from "./icon-element.js";
2
2
  declare class IndividualIcon extends BdIconElement {
3
3
  static defaultSize: string;
4
4
  render(): import("lit-html").TemplateResult<1>;
@@ -1,24 +1,6 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- // icons/individual-icon.ts
8
- import { html } from "lit";
9
- import { defineElement } from "../shared/define-element.js";
10
- import { BdIconElement } from "./icon-element.js";
11
- let IndividualIcon = class IndividualIcon extends BdIconElement {
12
- static { this.defaultSize = "xl"; }
13
- render() {
14
- return html `
1
+ import{defineElement as e}from"../shared/define-element.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{BdIconElement as n}from"./icon-element.js";import{html as r}from"lit";var i=class extends n{static{this.defaultSize=`xl`}render(){return r`
15
2
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none" aria-hidden="true">
16
3
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12.1154 5.42846C11.0158 6.39902 10.1576 7.97293 10.1576 10.4303C10.1576 14.2122 11.2398 16.6474 13.1651 18.0413C13.7542 18.4678 14.5777 18.842 15.9997 18.842C17.4157 18.842 18.2942 18.4324 18.8344 18.0413C20.7597 16.6474 21.8419 14.2122 21.8419 10.4303C21.8419 7.97293 20.9837 6.39902 19.8841 5.42846C18.7585 4.43503 17.2951 3.99994 15.9997 3.99994C14.7044 3.99994 13.241 4.43503 12.1154 5.42846ZM10.792 3.929C12.3375 2.56485 14.2951 1.99994 15.9997 1.99994C17.7044 1.99994 19.662 2.56485 21.2075 3.929C22.779 5.31602 23.8419 7.45729 23.8419 10.4303C23.8419 14.3066 22.793 17.3385 20.4997 19.276V20.3089C20.4997 20.7959 20.8184 21.2255 21.2845 21.3667L22.9476 21.8707C25.2447 22.5667 26.8155 24.6841 26.8155 27.0843V30.0526H24.8155V27.0843C24.8155 25.5653 23.8214 24.2252 22.3676 23.7847L20.7045 23.2807C19.4382 22.897 18.5591 21.7556 18.5026 20.4434C17.8123 20.6859 16.9853 20.842 15.9997 20.842C15.005 20.842 14.1865 20.6944 13.4965 20.4513C13.4369 21.7602 12.5587 22.8978 11.295 23.2807L9.63186 23.7847C8.17811 24.2252 7.18396 25.5653 7.18396 27.0843V30.0526H5.18396V27.0843C5.18396 24.6841 6.75481 22.5667 9.05185 21.8707L10.715 21.3667C11.1811 21.2255 11.4997 20.7959 11.4997 20.3089V19.276C9.2065 17.3385 8.15764 14.3066 8.15764 10.4303C8.15764 7.45729 9.22051 5.31602 10.792 3.929Z" fill="currentColor"/>
17
4
  </svg>
18
- `;
19
- }
20
- };
21
- IndividualIcon = __decorate([
22
- defineElement("bd-individual-icon")
23
- ], IndividualIcon);
5
+ `}};i=t([e(`bd-individual-icon`)],i);
24
6
  //# sourceMappingURL=individual-icon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"individual-icon.js","sourceRoot":"","sources":["../../../../src/components/icons/individual-icon.ts"],"names":[],"mappings":";;;;;;AAAA,2BAA2B;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,aAAa;aACjC,gBAAW,GAAG,IAAI,AAAP,CAAQ;IAE1B,MAAM;QACJ,OAAO,IAAI,CAAA;;;;KAIV,CAAC;IACJ,CAAC;;AATG,cAAc;IADnB,aAAa,CAAC,oBAAoB,CAAC;GAC9B,cAAc,CAUnB","sourcesContent":["// icons/individual-icon.ts\nimport { html } from \"lit\";\nimport { defineElement } from \"../shared/define-element.ts\";\nimport { BdIconElement } from \"./icon-element.ts\";\n\n@defineElement(\"bd-individual-icon\")\nclass IndividualIcon extends BdIconElement {\n static defaultSize = \"xl\";\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" fill=\"none\" aria-hidden=\"true\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.1154 5.42846C11.0158 6.39902 10.1576 7.97293 10.1576 10.4303C10.1576 14.2122 11.2398 16.6474 13.1651 18.0413C13.7542 18.4678 14.5777 18.842 15.9997 18.842C17.4157 18.842 18.2942 18.4324 18.8344 18.0413C20.7597 16.6474 21.8419 14.2122 21.8419 10.4303C21.8419 7.97293 20.9837 6.39902 19.8841 5.42846C18.7585 4.43503 17.2951 3.99994 15.9997 3.99994C14.7044 3.99994 13.241 4.43503 12.1154 5.42846ZM10.792 3.929C12.3375 2.56485 14.2951 1.99994 15.9997 1.99994C17.7044 1.99994 19.662 2.56485 21.2075 3.929C22.779 5.31602 23.8419 7.45729 23.8419 10.4303C23.8419 14.3066 22.793 17.3385 20.4997 19.276V20.3089C20.4997 20.7959 20.8184 21.2255 21.2845 21.3667L22.9476 21.8707C25.2447 22.5667 26.8155 24.6841 26.8155 27.0843V30.0526H24.8155V27.0843C24.8155 25.5653 23.8214 24.2252 22.3676 23.7847L20.7045 23.2807C19.4382 22.897 18.5591 21.7556 18.5026 20.4434C17.8123 20.6859 16.9853 20.842 15.9997 20.842C15.005 20.842 14.1865 20.6944 13.4965 20.4513C13.4369 21.7602 12.5587 22.8978 11.295 23.2807L9.63186 23.7847C8.17811 24.2252 7.18396 25.5653 7.18396 27.0843V30.0526H5.18396V27.0843C5.18396 24.6841 6.75481 22.5667 9.05185 21.8707L10.715 21.3667C11.1811 21.2255 11.4997 20.7959 11.4997 20.3089V19.276C9.2065 17.3385 8.15764 14.3066 8.15764 10.4303C8.15764 7.45729 9.22051 5.31602 10.792 3.929Z\" fill=\"currentColor\"/>\n </svg>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-individual-icon\": IndividualIcon;\n }\n}\n"]}
1
+ {"version":3,"file":"individual-icon.js","names":["_decorate","__decorate","IndividualIcon","BdIconElement","defineElement"],"sources":["../../../../src/components/icons/individual-icon.ts"],"sourcesContent":["// icons/individual-icon.ts\nimport { html } from \"lit\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { BdIconElement } from \"./icon-element.ts\";\n\n@defineElement(\"bd-individual-icon\")\nclass IndividualIcon extends BdIconElement {\n static defaultSize = \"xl\";\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" fill=\"none\" aria-hidden=\"true\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.1154 5.42846C11.0158 6.39902 10.1576 7.97293 10.1576 10.4303C10.1576 14.2122 11.2398 16.6474 13.1651 18.0413C13.7542 18.4678 14.5777 18.842 15.9997 18.842C17.4157 18.842 18.2942 18.4324 18.8344 18.0413C20.7597 16.6474 21.8419 14.2122 21.8419 10.4303C21.8419 7.97293 20.9837 6.39902 19.8841 5.42846C18.7585 4.43503 17.2951 3.99994 15.9997 3.99994C14.7044 3.99994 13.241 4.43503 12.1154 5.42846ZM10.792 3.929C12.3375 2.56485 14.2951 1.99994 15.9997 1.99994C17.7044 1.99994 19.662 2.56485 21.2075 3.929C22.779 5.31602 23.8419 7.45729 23.8419 10.4303C23.8419 14.3066 22.793 17.3385 20.4997 19.276V20.3089C20.4997 20.7959 20.8184 21.2255 21.2845 21.3667L22.9476 21.8707C25.2447 22.5667 26.8155 24.6841 26.8155 27.0843V30.0526H24.8155V27.0843C24.8155 25.5653 23.8214 24.2252 22.3676 23.7847L20.7045 23.2807C19.4382 22.897 18.5591 21.7556 18.5026 20.4434C17.8123 20.6859 16.9853 20.842 15.9997 20.842C15.005 20.842 14.1865 20.6944 13.4965 20.4513C13.4369 21.7602 12.5587 22.8978 11.295 23.2807L9.63186 23.7847C8.17811 24.2252 7.18396 25.5653 7.18396 27.0843V30.0526H5.18396V27.0843C5.18396 24.6841 6.75481 22.5667 9.05185 21.8707L10.715 21.3667C11.1811 21.2255 11.4997 20.7959 11.4997 20.3089V19.276C9.2065 17.3385 8.15764 14.3066 8.15764 10.4303C8.15764 7.45729 9.22051 5.31602 10.792 3.929Z\" fill=\"currentColor\"/>\n </svg>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-individual-icon\": IndividualIcon;\n }\n}\n"],"mappings":"A,mNAKA,IACME,EADN,cAC6BC,CAAc,C,OACpB,KAAA,YAAA,I,CAErB,QAAS,CACP,MAAO,EAAI;;;;KAKb,CACF,EAXC,EAAAH,EAAA,CAAAI,EAAc,oBAAoB,CAAA,EAAAF,CAAA"}
@@ -1,4 +1,4 @@
1
- import { BdIconElement } from "./icon-element.ts";
1
+ import { BdIconElement } from "./icon-element.js";
2
2
  declare class LaurelIcon extends BdIconElement {
3
3
  static defaultSize: string;
4
4
  render(): import("lit-html").TemplateResult<1>;
@@ -1,21 +1,4 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- // icons/laurel-icon.ts
8
- import { html } from "lit";
9
- import { defineElement } from "../shared/define-element.js";
10
- import { BdIconElement } from "./icon-element.js";
11
- let LaurelIcon = class LaurelIcon extends BdIconElement {
12
- /* no token: the icon scale stops at 3xl (64px) and the laurel is drawn at 80.
13
- Dropping it to 64 shrinks the wreath in the awards section by a fifth,
14
- which is a design decision rather than a cleanup, so the size stays off
15
- the scale until someone makes it. A caller can still pass a step. */
16
- static { this.defaultSize = "80px"; }
17
- render() {
18
- return html `
1
+ import{defineElement as e}from"../shared/define-element.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{BdIconElement as n}from"./icon-element.js";import{html as r}from"lit";var i=class extends n{static{this.defaultSize=`80px`}render(){return r`
19
2
  <svg
20
3
  viewBox="0 0 80 80"
21
4
  fill="none"
@@ -27,10 +10,5 @@ let LaurelIcon = class LaurelIcon extends BdIconElement {
27
10
  fill="currentColor"
28
11
  />
29
12
  </svg>
30
- `;
31
- }
32
- };
33
- LaurelIcon = __decorate([
34
- defineElement("bd-laurel-icon")
35
- ], LaurelIcon);
13
+ `}};i=t([e(`bd-laurel-icon`)],i);
36
14
  //# sourceMappingURL=laurel-icon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"laurel-icon.js","sourceRoot":"","sources":["../../../../src/components/icons/laurel-icon.ts"],"names":[],"mappings":";;;;;;AAAA,uBAAuB;AACvB,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,aAAa;IACpC;;;2EAGuE;aAChE,gBAAW,GAAG,MAAM,AAAT,CAAU;IAE5B,MAAM;QACJ,OAAO,IAAI,CAAA;;;;;;;;;;;;KAYV,CAAC;IACJ,CAAC;;AArBG,UAAU;IADf,aAAa,CAAC,gBAAgB,CAAC;GAC1B,UAAU,CAsBf","sourcesContent":["// icons/laurel-icon.ts\nimport { html } from \"lit\";\nimport { defineElement } from \"../shared/define-element.ts\";\nimport { BdIconElement } from \"./icon-element.ts\";\n\n@defineElement(\"bd-laurel-icon\")\nclass LaurelIcon extends BdIconElement {\n /* no token: the icon scale stops at 3xl (64px) and the laurel is drawn at 80.\n Dropping it to 64 shrinks the wreath in the awards section by a fifth,\n which is a design decision rather than a cleanup, so the size stays off\n the scale until someone makes it. A caller can still pass a step. */\n static defaultSize = \"80px\";\n\n render() {\n return html`\n <svg\n viewBox=\"0 0 80 80\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M48.0751 11.994C48.0751 17.6107 52.457 21.9791 58.0908 21.9791C58.0908 16.4873 53.5837 11.994 48.0751 11.994ZM61.8466 19.7325C62.9734 16.737 65.1017 13.9911 68.1064 12.2437C68.9828 11.7444 70.1096 12.1189 70.6103 12.8677L72.7387 16.6121C75.3678 21.1054 75.493 26.3476 73.615 30.8409C74.9922 30.3417 76.6197 29.9672 78.2473 29.9672C79.2488 29.9672 80 30.8409 80 31.8394V35.9583C80 41.2005 77.4961 45.8186 73.615 48.8141C75.2426 49.0637 76.7449 49.563 78.1221 50.4367C78.9984 50.9359 79.2488 52.0592 78.8732 52.8081L76.7449 56.5525C73.2394 62.5436 66.4789 65.4143 60.0939 64.291L59.4679 64.0414C57.9656 63.2925 56.4632 62.6684 54.9609 62.0443C53.8341 61.6699 52.7074 61.2955 51.4554 61.0458C58.9671 57.0518 64.1002 49.0637 64.1002 39.9523C64.1002 34.835 62.2222 29.9672 59.0923 25.9732H58.0908C50.3286 25.9732 44.0689 19.7325 44.0689 11.994V9.99702C44.0689 8.99851 44.9452 8 46.072 8H48.0751C54.9609 8 60.8451 13.1174 61.8466 19.7325ZM39.9374 67.9106V68.0354H37.5587C32.9264 68.0354 28.2942 69.0339 24.1628 71.1558L22.9108 71.7798C21.9092 72.2791 20.6573 71.9046 20.1565 70.9061C19.6557 69.9076 20.1565 68.6595 21.0329 68.1602L22.2848 67.5362C24.1628 66.6625 26.0407 65.9136 28.0438 65.2895C26.6667 64.6654 25.2895 63.9166 24.0376 63.0429C23.1612 63.4173 22.2848 63.6669 21.5336 63.9166C14.6479 65.7888 7.01095 62.918 3.25509 56.5525L1.25196 52.8081C0.751174 52.0592 1.00156 50.9359 1.87793 50.4367C3.25509 49.563 4.75743 49.0637 6.38498 48.8141C2.50391 45.8186 0 41.2005 0 35.9583V31.8394C0 30.8409 0.751174 29.9672 1.75274 29.9672C3.38028 29.9672 5.00782 30.3417 6.38498 30.8409C4.50704 26.3476 4.75743 21.1054 7.26135 16.6121L9.38967 12.8677C9.89045 12.1189 11.0172 11.7444 11.8936 12.2437C14.8983 13.9911 17.0266 16.737 18.1534 19.7325C19.2801 13.1174 25.0391 8 32.0501 8H34.0532C35.0548 8 36.0563 8.99851 36.0563 9.99702V11.994C36.0563 19.7325 29.6714 25.9732 22.0344 25.9732H20.9077C17.7778 29.9672 16.025 34.835 16.025 39.9523C16.025 53.1826 26.7919 63.9166 40.0626 63.9166H42.4413C47.6995 63.9166 52.9577 65.1647 57.7152 67.5362L58.9671 68.1602C59.9687 68.6595 60.3443 69.9076 59.8435 70.9061C59.3427 71.7798 58.0908 72.2791 57.0892 71.7798L55.8372 71.1558C51.7058 69.0339 47.0736 67.9106 42.4413 67.9106H40.0626H39.9374ZM22.0344 21.9791C27.543 21.9791 32.0501 17.6107 32.0501 11.994C29.1706 11.994 26.6667 13.2422 24.7887 15.1144C23.036 16.8618 22.0344 19.3581 22.0344 21.9791ZM12.0188 44.196C12.0188 39.3282 8.5133 35.2094 4.00626 34.2109V35.9583C4.00626 41.2005 7.26135 45.6937 12.0188 47.3163V44.196ZM68.1064 47.3163C72.7387 45.6937 76.1189 41.2005 76.1189 35.9583V34.2109C71.4867 35.3342 68.1064 39.3282 68.1064 44.196V47.3163ZM17.7778 57.6759C15.3991 53.4322 10.3912 51.56 5.88419 53.0578L6.76056 54.5555C9.38967 59.0488 14.5227 61.1707 19.4053 60.297L17.7778 57.6759ZM12.0188 32.3387L13.6463 29.7176C16.025 25.4739 15.1487 20.2317 11.6432 17.1114L10.7668 18.6092C8.13772 23.1025 8.88889 28.5943 12.0188 32.3387ZM66.3537 29.7176L67.9812 32.3387C71.1111 28.5943 71.8623 23.1025 69.2332 18.6092L68.3568 17.1114C64.8513 20.2317 63.975 25.4739 66.3537 29.7176ZM62.2222 57.6759L60.5947 60.297C65.4773 61.1707 70.6103 59.0488 73.2394 54.5555L74.1158 53.0578C69.6088 51.56 64.6009 53.4322 62.2222 57.6759Z\"\n fill=\"currentColor\"\n />\n </svg>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-laurel-icon\": LaurelIcon;\n }\n}\n"]}
1
+ {"version":3,"file":"laurel-icon.js","names":["_decorate","__decorate","LaurelIcon","BdIconElement","defineElement"],"sources":["../../../../src/components/icons/laurel-icon.ts"],"sourcesContent":["// icons/laurel-icon.ts\nimport { html } from \"lit\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { BdIconElement } from \"./icon-element.ts\";\n\n@defineElement(\"bd-laurel-icon\")\nclass LaurelIcon extends BdIconElement {\n /* no token: the icon scale stops at 3xl (64px) and the laurel is drawn at 80.\n Dropping it to 64 shrinks the wreath in the awards section by a fifth,\n which is a design decision rather than a cleanup, so the size stays off\n the scale until someone makes it. A caller can still pass a step. */\n static defaultSize = \"80px\";\n\n render() {\n return html`\n <svg\n viewBox=\"0 0 80 80\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M48.0751 11.994C48.0751 17.6107 52.457 21.9791 58.0908 21.9791C58.0908 16.4873 53.5837 11.994 48.0751 11.994ZM61.8466 19.7325C62.9734 16.737 65.1017 13.9911 68.1064 12.2437C68.9828 11.7444 70.1096 12.1189 70.6103 12.8677L72.7387 16.6121C75.3678 21.1054 75.493 26.3476 73.615 30.8409C74.9922 30.3417 76.6197 29.9672 78.2473 29.9672C79.2488 29.9672 80 30.8409 80 31.8394V35.9583C80 41.2005 77.4961 45.8186 73.615 48.8141C75.2426 49.0637 76.7449 49.563 78.1221 50.4367C78.9984 50.9359 79.2488 52.0592 78.8732 52.8081L76.7449 56.5525C73.2394 62.5436 66.4789 65.4143 60.0939 64.291L59.4679 64.0414C57.9656 63.2925 56.4632 62.6684 54.9609 62.0443C53.8341 61.6699 52.7074 61.2955 51.4554 61.0458C58.9671 57.0518 64.1002 49.0637 64.1002 39.9523C64.1002 34.835 62.2222 29.9672 59.0923 25.9732H58.0908C50.3286 25.9732 44.0689 19.7325 44.0689 11.994V9.99702C44.0689 8.99851 44.9452 8 46.072 8H48.0751C54.9609 8 60.8451 13.1174 61.8466 19.7325ZM39.9374 67.9106V68.0354H37.5587C32.9264 68.0354 28.2942 69.0339 24.1628 71.1558L22.9108 71.7798C21.9092 72.2791 20.6573 71.9046 20.1565 70.9061C19.6557 69.9076 20.1565 68.6595 21.0329 68.1602L22.2848 67.5362C24.1628 66.6625 26.0407 65.9136 28.0438 65.2895C26.6667 64.6654 25.2895 63.9166 24.0376 63.0429C23.1612 63.4173 22.2848 63.6669 21.5336 63.9166C14.6479 65.7888 7.01095 62.918 3.25509 56.5525L1.25196 52.8081C0.751174 52.0592 1.00156 50.9359 1.87793 50.4367C3.25509 49.563 4.75743 49.0637 6.38498 48.8141C2.50391 45.8186 0 41.2005 0 35.9583V31.8394C0 30.8409 0.751174 29.9672 1.75274 29.9672C3.38028 29.9672 5.00782 30.3417 6.38498 30.8409C4.50704 26.3476 4.75743 21.1054 7.26135 16.6121L9.38967 12.8677C9.89045 12.1189 11.0172 11.7444 11.8936 12.2437C14.8983 13.9911 17.0266 16.737 18.1534 19.7325C19.2801 13.1174 25.0391 8 32.0501 8H34.0532C35.0548 8 36.0563 8.99851 36.0563 9.99702V11.994C36.0563 19.7325 29.6714 25.9732 22.0344 25.9732H20.9077C17.7778 29.9672 16.025 34.835 16.025 39.9523C16.025 53.1826 26.7919 63.9166 40.0626 63.9166H42.4413C47.6995 63.9166 52.9577 65.1647 57.7152 67.5362L58.9671 68.1602C59.9687 68.6595 60.3443 69.9076 59.8435 70.9061C59.3427 71.7798 58.0908 72.2791 57.0892 71.7798L55.8372 71.1558C51.7058 69.0339 47.0736 67.9106 42.4413 67.9106H40.0626H39.9374ZM22.0344 21.9791C27.543 21.9791 32.0501 17.6107 32.0501 11.994C29.1706 11.994 26.6667 13.2422 24.7887 15.1144C23.036 16.8618 22.0344 19.3581 22.0344 21.9791ZM12.0188 44.196C12.0188 39.3282 8.5133 35.2094 4.00626 34.2109V35.9583C4.00626 41.2005 7.26135 45.6937 12.0188 47.3163V44.196ZM68.1064 47.3163C72.7387 45.6937 76.1189 41.2005 76.1189 35.9583V34.2109C71.4867 35.3342 68.1064 39.3282 68.1064 44.196V47.3163ZM17.7778 57.6759C15.3991 53.4322 10.3912 51.56 5.88419 53.0578L6.76056 54.5555C9.38967 59.0488 14.5227 61.1707 19.4053 60.297L17.7778 57.6759ZM12.0188 32.3387L13.6463 29.7176C16.025 25.4739 15.1487 20.2317 11.6432 17.1114L10.7668 18.6092C8.13772 23.1025 8.88889 28.5943 12.0188 32.3387ZM66.3537 29.7176L67.9812 32.3387C71.1111 28.5943 71.8623 23.1025 69.2332 18.6092L68.3568 17.1114C64.8513 20.2317 63.975 25.4739 66.3537 29.7176ZM62.2222 57.6759L60.5947 60.297C65.4773 61.1707 70.6103 59.0488 73.2394 54.5555L74.1158 53.0578C69.6088 51.56 64.6009 53.4322 62.2222 57.6759Z\"\n fill=\"currentColor\"\n />\n </svg>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-laurel-icon\": LaurelIcon;\n }\n}\n"],"mappings":"A,mNAKA,IACME,EADN,cACyBC,CAAc,C,OAKhB,KAAA,YAAA,M,CAErB,QAAS,CACP,MAAO,EAAI;;;;;;;;;;;;KAab,CACF,EAvBC,EAAAH,EAAA,CAAAI,EAAc,gBAAgB,CAAA,EAAAF,CAAA"}
@@ -1,4 +1,4 @@
1
- import { BdIconElement } from "./icon-element.ts";
1
+ import { BdIconElement } from "./icon-element.js";
2
2
  declare class MachineLearningIcon extends BdIconElement {
3
3
  static defaultSize: string;
4
4
  render(): import("lit-html").TemplateResult<1>;
@@ -1,24 +1,6 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- // icons/machine-learning-icon.ts
8
- import { html } from "lit";
9
- import { defineElement } from "../shared/define-element.js";
10
- import { BdIconElement } from "./icon-element.js";
11
- let MachineLearningIcon = class MachineLearningIcon extends BdIconElement {
12
- static { this.defaultSize = "2xl"; }
13
- render() {
14
- return html `
1
+ import{defineElement as e}from"../shared/define-element.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{BdIconElement as n}from"./icon-element.js";import{html as r}from"lit";var i=class extends n{static{this.defaultSize=`2xl`}render(){return r`
15
2
  <svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
16
3
  <path d="M18 3C15.6562 3 13.6875 4.875 13.5 7.125C13.4062 7.6875 12.9375 8.25 12.375 8.4375C10.4062 8.90625 8.90625 10.6875 8.90625 12.75C8.90625 13.0312 9 13.3125 9 13.5938C9.1875 14.3438 8.8125 15.0938 8.0625 15.2812C6.375 15.9375 5.15625 17.625 5.15625 19.5C5.15625 20.0625 5.25 20.5312 5.4375 20.9062C5.625 21.4688 5.4375 22.125 4.96875 22.5C3.75 23.625 3 25.2188 3 27C3 29.1562 4.125 31.0312 5.8125 32.1562C6.375 32.5312 6.65625 33.2812 6.375 34.0312C6.09375 34.5938 6 35.3438 6 36C6 38.9062 8.34375 41.25 11.25 41.25C11.5312 41.25 11.8125 41.25 12.0938 41.25C12.8438 41.0625 13.5 41.5312 13.7812 42.1875C14.4375 43.875 16.0312 45 18 45C20.4375 45 22.5 43.0312 22.5 40.5V28.5H18C17.25 28.5 16.6875 28.9688 16.5 29.625C17.8125 30.1875 18.75 31.5 18.75 33C18.75 35.1562 17.0625 36.75 15 36.75C12.8438 36.75 11.25 35.1562 11.25 33C11.25 31.5 12.1875 30.1875 13.5 29.625C13.6875 27.2812 15.6562 25.5 18 25.5H22.5V15H19.875C19.3125 16.4062 18 17.25 16.5 17.25C14.3438 17.25 12.75 15.6562 12.75 13.5C12.75 11.4375 14.3438 9.75 16.5 9.75C18 9.75 19.3125 10.6875 19.875 12H22.5V7.5C22.5 5.0625 20.4375 3 18 3ZM25.5 15V33H31.0312C31.5938 31.6875 32.9062 30.75 34.5 30.75C36.5625 30.75 38.25 32.4375 38.25 34.5C38.25 36.6562 36.5625 38.25 34.5 38.25C32.9062 38.25 31.5938 37.4062 31.0312 36H25.5V40.5C25.5 43.0312 27.4688 45 30 45C31.875 45 33.4688 43.875 34.125 42.1875C34.4062 41.4375 35.0625 41.0625 35.8125 41.25C36.0938 41.25 36.375 41.25 36.6562 41.25C39.5625 41.25 41.9062 38.9062 41.9062 36C41.9062 35.3438 41.8125 34.5938 41.5312 34.0312C41.25 33.2812 41.5312 32.5312 42.0938 32.1562C43.875 31.0312 45 29.1562 45 27C45 25.2188 44.1562 23.625 42.9375 22.5C42.4688 22.125 42.2812 21.5625 42.4688 20.9062C42.6562 20.5312 42.75 20.0625 42.75 19.5C42.75 17.625 41.5312 15.9375 39.8438 15.375C39.0938 15.0938 38.7188 14.3438 38.9062 13.6875C38.9062 13.4062 39 13.125 39 12.75C39 10.6875 37.5 8.90625 35.5312 8.4375C34.9688 8.25 34.5 7.78125 34.4062 7.125C34.2188 4.875 32.3438 3 30 3C27.4688 3 25.5 5.0625 25.5 7.5V12H30C32.4375 12 34.5 14.0625 34.5 16.5V17.625C35.8125 18.1875 36.75 19.5 36.75 21C36.75 23.1562 35.0625 24.75 33 24.75C30.8438 24.75 29.25 23.1562 29.25 21C29.25 19.5 30.0938 18.1875 31.5 17.625V16.5C31.5 15.75 30.75 15 30 15H25.5ZM18 48C15.1875 48 12.75 46.5 11.4375 44.25C11.3438 44.25 11.25 44.25 11.25 44.25C6.65625 44.25 3 40.5938 3 36C3 35.3438 3.09375 34.5938 3.1875 33.9375C1.21875 32.3438 0 29.8125 0 27C0 24.6562 0.84375 22.5 2.34375 20.9062C2.25 20.5312 2.25 20.0625 2.25 19.5C2.25 16.7812 3.75 14.3438 6 13.0312C6 12.9375 6 12.8438 6 12.75C6 9.65625 7.875 6.9375 10.6875 5.8125C11.4375 2.53125 14.4375 0 18 0C20.4375 0 22.5938 1.21875 24 3C25.3125 1.21875 27.4688 0 30 0C33.4688 0 36.4688 2.53125 37.2188 5.8125C40.0312 6.9375 42 9.65625 42 12.75C42 12.8438 42 12.9375 42 13.0312C44.1562 14.3438 45.75 16.7812 45.75 19.5C45.75 20.0625 45.6562 20.5312 45.5625 20.9062C47.0625 22.5 48 24.6562 48 27C48 29.8125 46.6875 32.3438 44.7188 33.9375C44.9062 34.5938 45 35.3438 45 36C45 40.5938 41.25 44.25 36.75 44.25C36.6562 44.25 36.5625 44.25 36.4688 44.25C35.1562 46.5 32.7188 48 30 48C27.4688 48 25.3125 46.875 24 45C22.5938 46.875 20.4375 48 18 48ZM16.5 12C15.6562 12 15 12.75 15 13.5C15 14.3438 15.6562 15 16.5 15C17.25 15 18 14.3438 18 13.5C18 12.75 17.25 12 16.5 12ZM15 31.5C14.1562 31.5 13.5 32.25 13.5 33C13.5 33.8438 14.1562 34.5 15 34.5C15.75 34.5 16.5 33.8438 16.5 33C16.5 32.25 15.75 31.5 15 31.5ZM31.5 21C31.5 21.8438 32.1562 22.5 33 22.5C33.75 22.5 34.5 21.8438 34.5 21C34.5 20.25 33.75 19.5 33 19.5C32.1562 19.5 31.5 20.25 31.5 21ZM34.5 33C33.6562 33 33 33.75 33 34.5C33 35.3438 33.6562 36 34.5 36C35.25 36 36 35.3438 36 34.5C36 33.75 35.25 33 34.5 33Z" fill="currentColor"/>
17
4
  </svg>
18
- `;
19
- }
20
- };
21
- MachineLearningIcon = __decorate([
22
- defineElement("bd-machine-learning-icon")
23
- ], MachineLearningIcon);
5
+ `}};i=t([e(`bd-machine-learning-icon`)],i);
24
6
  //# sourceMappingURL=machine-learning-icon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"machine-learning-icon.js","sourceRoot":"","sources":["../../../../src/components/icons/machine-learning-icon.ts"],"names":[],"mappings":";;;;;;AAAA,iCAAiC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,aAAa;aACtC,gBAAW,GAAG,KAAK,AAAR,CAAS;IAE3B,MAAM;QACJ,OAAO,IAAI,CAAA;;;;KAIV,CAAC;IACJ,CAAC;;AATG,mBAAmB;IADxB,aAAa,CAAC,0BAA0B,CAAC;GACpC,mBAAmB,CAUxB","sourcesContent":["// icons/machine-learning-icon.ts\nimport { html } from \"lit\";\nimport { defineElement } from \"../shared/define-element.ts\";\nimport { BdIconElement } from \"./icon-element.ts\";\n@defineElement(\"bd-machine-learning-icon\")\nclass MachineLearningIcon extends BdIconElement {\n static defaultSize = \"2xl\";\n\n render() {\n return html`\n <svg viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\">\n <path d=\"M18 3C15.6562 3 13.6875 4.875 13.5 7.125C13.4062 7.6875 12.9375 8.25 12.375 8.4375C10.4062 8.90625 8.90625 10.6875 8.90625 12.75C8.90625 13.0312 9 13.3125 9 13.5938C9.1875 14.3438 8.8125 15.0938 8.0625 15.2812C6.375 15.9375 5.15625 17.625 5.15625 19.5C5.15625 20.0625 5.25 20.5312 5.4375 20.9062C5.625 21.4688 5.4375 22.125 4.96875 22.5C3.75 23.625 3 25.2188 3 27C3 29.1562 4.125 31.0312 5.8125 32.1562C6.375 32.5312 6.65625 33.2812 6.375 34.0312C6.09375 34.5938 6 35.3438 6 36C6 38.9062 8.34375 41.25 11.25 41.25C11.5312 41.25 11.8125 41.25 12.0938 41.25C12.8438 41.0625 13.5 41.5312 13.7812 42.1875C14.4375 43.875 16.0312 45 18 45C20.4375 45 22.5 43.0312 22.5 40.5V28.5H18C17.25 28.5 16.6875 28.9688 16.5 29.625C17.8125 30.1875 18.75 31.5 18.75 33C18.75 35.1562 17.0625 36.75 15 36.75C12.8438 36.75 11.25 35.1562 11.25 33C11.25 31.5 12.1875 30.1875 13.5 29.625C13.6875 27.2812 15.6562 25.5 18 25.5H22.5V15H19.875C19.3125 16.4062 18 17.25 16.5 17.25C14.3438 17.25 12.75 15.6562 12.75 13.5C12.75 11.4375 14.3438 9.75 16.5 9.75C18 9.75 19.3125 10.6875 19.875 12H22.5V7.5C22.5 5.0625 20.4375 3 18 3ZM25.5 15V33H31.0312C31.5938 31.6875 32.9062 30.75 34.5 30.75C36.5625 30.75 38.25 32.4375 38.25 34.5C38.25 36.6562 36.5625 38.25 34.5 38.25C32.9062 38.25 31.5938 37.4062 31.0312 36H25.5V40.5C25.5 43.0312 27.4688 45 30 45C31.875 45 33.4688 43.875 34.125 42.1875C34.4062 41.4375 35.0625 41.0625 35.8125 41.25C36.0938 41.25 36.375 41.25 36.6562 41.25C39.5625 41.25 41.9062 38.9062 41.9062 36C41.9062 35.3438 41.8125 34.5938 41.5312 34.0312C41.25 33.2812 41.5312 32.5312 42.0938 32.1562C43.875 31.0312 45 29.1562 45 27C45 25.2188 44.1562 23.625 42.9375 22.5C42.4688 22.125 42.2812 21.5625 42.4688 20.9062C42.6562 20.5312 42.75 20.0625 42.75 19.5C42.75 17.625 41.5312 15.9375 39.8438 15.375C39.0938 15.0938 38.7188 14.3438 38.9062 13.6875C38.9062 13.4062 39 13.125 39 12.75C39 10.6875 37.5 8.90625 35.5312 8.4375C34.9688 8.25 34.5 7.78125 34.4062 7.125C34.2188 4.875 32.3438 3 30 3C27.4688 3 25.5 5.0625 25.5 7.5V12H30C32.4375 12 34.5 14.0625 34.5 16.5V17.625C35.8125 18.1875 36.75 19.5 36.75 21C36.75 23.1562 35.0625 24.75 33 24.75C30.8438 24.75 29.25 23.1562 29.25 21C29.25 19.5 30.0938 18.1875 31.5 17.625V16.5C31.5 15.75 30.75 15 30 15H25.5ZM18 48C15.1875 48 12.75 46.5 11.4375 44.25C11.3438 44.25 11.25 44.25 11.25 44.25C6.65625 44.25 3 40.5938 3 36C3 35.3438 3.09375 34.5938 3.1875 33.9375C1.21875 32.3438 0 29.8125 0 27C0 24.6562 0.84375 22.5 2.34375 20.9062C2.25 20.5312 2.25 20.0625 2.25 19.5C2.25 16.7812 3.75 14.3438 6 13.0312C6 12.9375 6 12.8438 6 12.75C6 9.65625 7.875 6.9375 10.6875 5.8125C11.4375 2.53125 14.4375 0 18 0C20.4375 0 22.5938 1.21875 24 3C25.3125 1.21875 27.4688 0 30 0C33.4688 0 36.4688 2.53125 37.2188 5.8125C40.0312 6.9375 42 9.65625 42 12.75C42 12.8438 42 12.9375 42 13.0312C44.1562 14.3438 45.75 16.7812 45.75 19.5C45.75 20.0625 45.6562 20.5312 45.5625 20.9062C47.0625 22.5 48 24.6562 48 27C48 29.8125 46.6875 32.3438 44.7188 33.9375C44.9062 34.5938 45 35.3438 45 36C45 40.5938 41.25 44.25 36.75 44.25C36.6562 44.25 36.5625 44.25 36.4688 44.25C35.1562 46.5 32.7188 48 30 48C27.4688 48 25.3125 46.875 24 45C22.5938 46.875 20.4375 48 18 48ZM16.5 12C15.6562 12 15 12.75 15 13.5C15 14.3438 15.6562 15 16.5 15C17.25 15 18 14.3438 18 13.5C18 12.75 17.25 12 16.5 12ZM15 31.5C14.1562 31.5 13.5 32.25 13.5 33C13.5 33.8438 14.1562 34.5 15 34.5C15.75 34.5 16.5 33.8438 16.5 33C16.5 32.25 15.75 31.5 15 31.5ZM31.5 21C31.5 21.8438 32.1562 22.5 33 22.5C33.75 22.5 34.5 21.8438 34.5 21C34.5 20.25 33.75 19.5 33 19.5C32.1562 19.5 31.5 20.25 31.5 21ZM34.5 33C33.6562 33 33 33.75 33 34.5C33 35.3438 33.6562 36 34.5 36C35.25 36 36 35.3438 36 34.5C36 33.75 35.25 33 34.5 33Z\" fill=\"currentColor\"/>\n </svg>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-machine-learning-icon\": MachineLearningIcon;\n }\n}\n"]}
1
+ {"version":3,"file":"machine-learning-icon.js","names":["_decorate","__decorate","MachineLearningIcon","BdIconElement","defineElement"],"sources":["../../../../src/components/icons/machine-learning-icon.ts"],"sourcesContent":["// icons/machine-learning-icon.ts\nimport { html } from \"lit\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { BdIconElement } from \"./icon-element.ts\";\n@defineElement(\"bd-machine-learning-icon\")\nclass MachineLearningIcon extends BdIconElement {\n static defaultSize = \"2xl\";\n\n render() {\n return html`\n <svg viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\">\n <path d=\"M18 3C15.6562 3 13.6875 4.875 13.5 7.125C13.4062 7.6875 12.9375 8.25 12.375 8.4375C10.4062 8.90625 8.90625 10.6875 8.90625 12.75C8.90625 13.0312 9 13.3125 9 13.5938C9.1875 14.3438 8.8125 15.0938 8.0625 15.2812C6.375 15.9375 5.15625 17.625 5.15625 19.5C5.15625 20.0625 5.25 20.5312 5.4375 20.9062C5.625 21.4688 5.4375 22.125 4.96875 22.5C3.75 23.625 3 25.2188 3 27C3 29.1562 4.125 31.0312 5.8125 32.1562C6.375 32.5312 6.65625 33.2812 6.375 34.0312C6.09375 34.5938 6 35.3438 6 36C6 38.9062 8.34375 41.25 11.25 41.25C11.5312 41.25 11.8125 41.25 12.0938 41.25C12.8438 41.0625 13.5 41.5312 13.7812 42.1875C14.4375 43.875 16.0312 45 18 45C20.4375 45 22.5 43.0312 22.5 40.5V28.5H18C17.25 28.5 16.6875 28.9688 16.5 29.625C17.8125 30.1875 18.75 31.5 18.75 33C18.75 35.1562 17.0625 36.75 15 36.75C12.8438 36.75 11.25 35.1562 11.25 33C11.25 31.5 12.1875 30.1875 13.5 29.625C13.6875 27.2812 15.6562 25.5 18 25.5H22.5V15H19.875C19.3125 16.4062 18 17.25 16.5 17.25C14.3438 17.25 12.75 15.6562 12.75 13.5C12.75 11.4375 14.3438 9.75 16.5 9.75C18 9.75 19.3125 10.6875 19.875 12H22.5V7.5C22.5 5.0625 20.4375 3 18 3ZM25.5 15V33H31.0312C31.5938 31.6875 32.9062 30.75 34.5 30.75C36.5625 30.75 38.25 32.4375 38.25 34.5C38.25 36.6562 36.5625 38.25 34.5 38.25C32.9062 38.25 31.5938 37.4062 31.0312 36H25.5V40.5C25.5 43.0312 27.4688 45 30 45C31.875 45 33.4688 43.875 34.125 42.1875C34.4062 41.4375 35.0625 41.0625 35.8125 41.25C36.0938 41.25 36.375 41.25 36.6562 41.25C39.5625 41.25 41.9062 38.9062 41.9062 36C41.9062 35.3438 41.8125 34.5938 41.5312 34.0312C41.25 33.2812 41.5312 32.5312 42.0938 32.1562C43.875 31.0312 45 29.1562 45 27C45 25.2188 44.1562 23.625 42.9375 22.5C42.4688 22.125 42.2812 21.5625 42.4688 20.9062C42.6562 20.5312 42.75 20.0625 42.75 19.5C42.75 17.625 41.5312 15.9375 39.8438 15.375C39.0938 15.0938 38.7188 14.3438 38.9062 13.6875C38.9062 13.4062 39 13.125 39 12.75C39 10.6875 37.5 8.90625 35.5312 8.4375C34.9688 8.25 34.5 7.78125 34.4062 7.125C34.2188 4.875 32.3438 3 30 3C27.4688 3 25.5 5.0625 25.5 7.5V12H30C32.4375 12 34.5 14.0625 34.5 16.5V17.625C35.8125 18.1875 36.75 19.5 36.75 21C36.75 23.1562 35.0625 24.75 33 24.75C30.8438 24.75 29.25 23.1562 29.25 21C29.25 19.5 30.0938 18.1875 31.5 17.625V16.5C31.5 15.75 30.75 15 30 15H25.5ZM18 48C15.1875 48 12.75 46.5 11.4375 44.25C11.3438 44.25 11.25 44.25 11.25 44.25C6.65625 44.25 3 40.5938 3 36C3 35.3438 3.09375 34.5938 3.1875 33.9375C1.21875 32.3438 0 29.8125 0 27C0 24.6562 0.84375 22.5 2.34375 20.9062C2.25 20.5312 2.25 20.0625 2.25 19.5C2.25 16.7812 3.75 14.3438 6 13.0312C6 12.9375 6 12.8438 6 12.75C6 9.65625 7.875 6.9375 10.6875 5.8125C11.4375 2.53125 14.4375 0 18 0C20.4375 0 22.5938 1.21875 24 3C25.3125 1.21875 27.4688 0 30 0C33.4688 0 36.4688 2.53125 37.2188 5.8125C40.0312 6.9375 42 9.65625 42 12.75C42 12.8438 42 12.9375 42 13.0312C44.1562 14.3438 45.75 16.7812 45.75 19.5C45.75 20.0625 45.6562 20.5312 45.5625 20.9062C47.0625 22.5 48 24.6562 48 27C48 29.8125 46.6875 32.3438 44.7188 33.9375C44.9062 34.5938 45 35.3438 45 36C45 40.5938 41.25 44.25 36.75 44.25C36.6562 44.25 36.5625 44.25 36.4688 44.25C35.1562 46.5 32.7188 48 30 48C27.4688 48 25.3125 46.875 24 45C22.5938 46.875 20.4375 48 18 48ZM16.5 12C15.6562 12 15 12.75 15 13.5C15 14.3438 15.6562 15 16.5 15C17.25 15 18 14.3438 18 13.5C18 12.75 17.25 12 16.5 12ZM15 31.5C14.1562 31.5 13.5 32.25 13.5 33C13.5 33.8438 14.1562 34.5 15 34.5C15.75 34.5 16.5 33.8438 16.5 33C16.5 32.25 15.75 31.5 15 31.5ZM31.5 21C31.5 21.8438 32.1562 22.5 33 22.5C33.75 22.5 34.5 21.8438 34.5 21C34.5 20.25 33.75 19.5 33 19.5C32.1562 19.5 31.5 20.25 31.5 21ZM34.5 33C33.6562 33 33 33.75 33 34.5C33 35.3438 33.6562 36 34.5 36C35.25 36 36 35.3438 36 34.5C36 33.75 35.25 33 34.5 33Z\" fill=\"currentColor\"/>\n </svg>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-machine-learning-icon\": MachineLearningIcon;\n }\n}\n"],"mappings":"A,mNAIA,IACME,EADN,cACkCC,CAAc,C,OACzB,KAAA,YAAA,K,CAErB,QAAS,CACP,MAAO,EAAI;;;;KAKb,CACF,EAXC,EAAAH,EAAA,CAAAI,EAAc,0BAA0B,CAAA,EAAAF,CAAA"}
@@ -29,12 +29,12 @@
29
29
  * they are third-party marks and redrawing is not a cleanup anyone should do
30
30
  * unilaterally.
31
31
  */
32
- import './bd-ai-icon.ts';
33
- import './brand-signature-icon.ts';
34
- import './av-comparatives-icon.ts';
35
- import './best-brands-icon.ts';
36
- import './pc-mag-2024-icon.ts';
37
- import './pc-mag-business-icon.ts';
38
- import './pc-mag-icon.ts';
39
- import './pc-mag-readers-icon.ts';
40
- import './top-product-icon.ts';
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";
@@ -1,41 +1 @@
1
- /**
2
- * Barrel for the brand and award marks.
3
- *
4
- * 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.
10
- *
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.
15
- *
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.
25
- *
26
- * Being raster has consequences worth knowing before reaching for one: these
27
- * cannot be tinted, and they do not scale cleanly past the size their PNG was
28
- * made at. Redrawing them as vectors would fix both and remove the 360KB, but
29
- * they are third-party marks and redrawing is not a cleanup anyone should do
30
- * unilaterally.
31
- */
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";
41
- //# sourceMappingURL=marks.js.map
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,4 +1,4 @@
1
- import { BdIconElement } from "./icon-element.ts";
1
+ import { BdIconElement } from "./icon-element.js";
2
2
  declare class MinusIcon extends BdIconElement {
3
3
  static defaultSize: string;
4
4
  render(): import("lit-html").TemplateResult<1>;
@@ -1,24 +1,7 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { html } from "lit";
8
- import { defineElement } from "../shared/define-element.js";
9
- import { BdIconElement } from "./icon-element.js";
10
- let MinusIcon = class MinusIcon extends BdIconElement {
11
- static { this.defaultSize = "sm"; }
12
- render() {
13
- return html `
1
+ import{defineElement as e}from"../shared/define-element.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{BdIconElement as n}from"./icon-element.js";import{html as r}from"lit";var i=class extends n{static{this.defaultSize=`sm`}render(){return r`
14
2
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" aria-hidden="true">
15
3
  <path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 7H13.75V9H2.25V7Z" fill="currentColor"/>
16
4
  </svg>
17
5
 
18
- `;
19
- }
20
- };
21
- MinusIcon = __decorate([
22
- defineElement("bd-minus-icon")
23
- ], MinusIcon);
6
+ `}};i=t([e(`bd-minus-icon`)],i);
24
7
  //# sourceMappingURL=minus-icon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"minus-icon.js","sourceRoot":"","sources":["../../../../src/components/icons/minus-icon.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,aAAa;aAC5B,gBAAW,GAAG,IAAI,AAAP,CAAQ;IAE1B,MAAM;QACJ,OAAO,IAAI,CAAA;;;;;KAKV,CAAC;IACJ,CAAC;;AAVG,SAAS;IADd,aAAa,CAAC,eAAe,CAAC;GACzB,SAAS,CAWd","sourcesContent":["import { html } from \"lit\";\nimport { defineElement } from \"../shared/define-element.ts\";\nimport { BdIconElement } from \"./icon-element.ts\";\n\n@defineElement(\"bd-minus-icon\")\nclass MinusIcon extends BdIconElement {\n static defaultSize = \"sm\";\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.25 7H13.75V9H2.25V7Z\" fill=\"currentColor\"/>\n </svg>\n\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-minus-icon\": MinusIcon;\n }\n}\n"]}
1
+ {"version":3,"file":"minus-icon.js","names":["_decorate","__decorate","MinusIcon","BdIconElement","defineElement"],"sources":["../../../../src/components/icons/minus-icon.ts"],"sourcesContent":["import { html } from \"lit\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { BdIconElement } from \"./icon-element.ts\";\n\n@defineElement(\"bd-minus-icon\")\nclass MinusIcon extends BdIconElement {\n static defaultSize = \"sm\";\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.25 7H13.75V9H2.25V7Z\" fill=\"currentColor\"/>\n </svg>\n\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-minus-icon\": MinusIcon;\n }\n}\n"],"mappings":"A,mNAIA,IACME,EADN,cACwBC,CAAc,C,OACf,KAAA,YAAA,I,CAErB,QAAS,CACP,MAAO,EAAI;;;;;KAMb,CACF,EAZC,EAAAH,EAAA,CAAAI,EAAc,eAAe,CAAA,EAAAF,CAAA"}
@@ -1,4 +1,4 @@
1
- import { BdIconElement } from "./icon-element.ts";
1
+ import { BdIconElement } from "./icon-element.js";
2
2
  /**
3
3
  * A deliberate placeholder for an icon that has been designed for but not drawn
4
4
  * yet. Temporary by construction: `check:icons` lists every one of these with