@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 +1 @@
1
- {"version":3,"file":"modal.js","sourceRoot":"","sources":["../../../../src/components/modal/modal.ts"],"names":[],"mappings":"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","sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"../shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"../../tokens/tokens.ts\";\nimport \"../heading/heading.ts\";\nimport modalCSS from \"../modal/modal.css.ts\";\nimport \"../paragraph/paragraph.ts\";\n\n/* <dialog closedby> is newer than the policy's Widely available target: where\n the browser has it, a click on the backdrop is a close request like Esc;\n where it does not, the click is recognised here. */\nconst CLOSEDBY = \"closedBy\" in HTMLDialogElement.prototype;\n\n/**\n * A dialog: a scrim, a centred panel, a title, a description and a close\n * control. The consuming page owns `open` and reacts to close-modal.\n *\n * It is a native <dialog> opened with showModal(), and that is what makes it\n * modal rather than a panel drawn over the page. The browser supplies what\n * this element used to approximate or leave out: the dialog role and modal\n * state, a page made inert behind it, focus moved in on open and returned to\n * whatever opened it on close, Esc, and the top layer, so no z-index decides\n * whether it is on top. Until it was a <dialog> it was a <div role=\"dialog\">\n * without aria-modal -- measured, one Tab reached the close button and the\n * next left the dialog entirely with seven controls still reachable behind\n * it -- and closing it had to blur the focus it left behind by hand.\n *\n * Every way out asks the page instead of closing: Esc and a backdrop click\n * arrive as `cancel`, which is prevented and turned into close-modal, and the\n * Close button dispatches close-modal directly. The dialog closes when the\n * page sets open back to false. A browser may refuse to let a second Esc be\n * cancelled; it then closes the dialog itself, and `close` still tells the\n * page.\n *\n * The icon is `alt=\"\"`. It was `alt=\"icon\"`, which a screen reader announced\n * as the word \"icon\" beside a title that already says what the dialog is.\n */\n@defineElement(\"bd-modal\")\nexport class BdModal extends LitElement {\n static styles = [modalCSS];\n\n @property({ type: Boolean, reflect: true })\n open?: boolean;\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n icon?: string;\n @property({ type: String })\n modalText?: string;\n\n get _dialog() {\n return this.renderRoot?.querySelector(\"dialog\");\n }\n\n _onClose() {\n this.dispatchEvent(new CustomEvent(\"close-modal\", { bubbles: true, composed: true }));\n }\n\n _onCancel(e: Event) {\n e.preventDefault();\n this._onClose();\n }\n\n /* Only a dialog that is actually closed counts. A `close` event can arrive\n after the page has already reopened the dialog -- measured in Chromium:\n closed from a backdrop click, the event was delivered on the next\n showModal(), and read as a close it asked the page to shut the dialog it\n had just opened. */\n _onDialogClose() {\n if (this.open && !this._dialog?.open) this._onClose();\n }\n\n /* The backdrop belongs to the dialog, so a click on it targets the dialog\n itself; a click on the panel's own padding does too, and is told apart by\n landing inside the dialog's box. */\n _onClick(e: MouseEvent) {\n if (CLOSEDBY || e.target !== this._dialog) return;\n const box = this._dialog!.getBoundingClientRect();\n const inside = e.clientX >= box.left && e.clientX <= box.right\n && e.clientY >= box.top && e.clientY <= box.bottom;\n if (!inside) this._onClose();\n }\n\n /* Reconnecting keeps the rendered dialog, but not as a modal: removing a\n dialog from the document takes it out of the top layer and drops its\n modal state while leaving its open attribute, so a modal moved while open\n comes back an ordinary open dialog -- in the flow, no backdrop, the page\n behind it live and no Esc. _sync() asks whether it is :modal, not only\n open, and shows it as one again. */\n connectedCallback() {\n super.connectedCallback();\n if (this.hasUpdated) this._sync();\n }\n\n updated() {\n this._sync();\n }\n\n _sync() {\n const dialog = this._dialog;\n if (!dialog?.isConnected) return;\n if (this.open && !dialog.matches(\":modal\")) {\n // showModal() throws on a dialog that is already open, modal or not\n if (dialog.open) dialog.close();\n dialog.showModal();\n } else if (!this.open && dialog.open) {\n dialog.close();\n }\n }\n\n render() {\n return html`\n <dialog\n class=\"bd-modal\"\n closedby=\"any\"\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-description\"\n @cancel=\"${this._onCancel}\"\n @close=\"${this._onDialogClose}\"\n @click=\"${this._onClick}\"\n >\n ${this.icon\n ? html`<img src=\"${this.icon}\" alt=\"\" class=\"bd-carousel-modal-icon\" />`\n : \"\"}\n <bd-h as=\"h2\" id=\"modal-title\" paddingBottom=\"16\">${this.title}</bd-h>\n <bd-p variant=\"regular\" id=\"modal-description\">${this.modalText}</bd-p>\n <button @click=\"${this._onClose}\" aria-label=\"Close modal\" autofocus>Close</button>\n </dialog>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-modal\": BdModal;\n }\n interface HTMLElementEventMap {\n \"close-modal\": CustomEvent<null>;\n }\n}\n"]}
1
+ {"version":3,"file":"modal.js","names":["modalCSS","_decorate","__decorate","modal_css_default","CLOSEDBY","BdModal","LitElement","_args","box","dialog","property","defineElement"],"sources":["../../../../src/components/modal/modal.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/heading/heading.ts\";\nimport modalCSS from \"#components/modal/modal.css.ts\";\nimport \"#components/paragraph/paragraph.ts\";\n\n/* <dialog closedby> is newer than the policy's Widely available target: where\n the browser has it, a click on the backdrop is a close request like Esc;\n where it does not, the click is recognised here. */\nconst CLOSEDBY = \"closedBy\" in HTMLDialogElement.prototype;\n\n/**\n * A dialog: a scrim, a centred panel, a title, a description and a close\n * control. The consuming page owns `open` and reacts to close-modal.\n *\n * It is a native <dialog> opened with showModal(), and that is what makes it\n * modal rather than a panel drawn over the page. The browser supplies what\n * this element used to approximate or leave out: the dialog role and modal\n * state, a page made inert behind it, focus moved in on open and returned to\n * whatever opened it on close, Esc, and the top layer, so no z-index decides\n * whether it is on top. Until it was a <dialog> it was a <div role=\"dialog\">\n * without aria-modal -- measured, one Tab reached the close button and the\n * next left the dialog entirely with seven controls still reachable behind\n * it -- and closing it had to blur the focus it left behind by hand.\n *\n * Every way out asks the page instead of closing: Esc and a backdrop click\n * arrive as `cancel`, which is prevented and turned into close-modal, and the\n * Close button dispatches close-modal directly. The dialog closes when the\n * page sets open back to false. A browser may refuse to let a second Esc be\n * cancelled; it then closes the dialog itself, and `close` still tells the\n * page.\n *\n * The icon is `alt=\"\"`. It was `alt=\"icon\"`, which a screen reader announced\n * as the word \"icon\" beside a title that already says what the dialog is.\n */\n@defineElement(\"bd-modal\")\nexport class BdModal extends LitElement {\n static styles = [modalCSS];\n\n @property({ type: Boolean, reflect: true })\n open?: boolean;\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n icon?: string;\n @property({ type: String })\n modalText?: string;\n\n get _dialog() {\n return this.renderRoot?.querySelector(\"dialog\");\n }\n\n _onClose() {\n this.dispatchEvent(new CustomEvent(\"close-modal\", { bubbles: true, composed: true }));\n }\n\n _onCancel(e: Event) {\n e.preventDefault();\n this._onClose();\n }\n\n /* Only a dialog that is actually closed counts. A `close` event can arrive\n after the page has already reopened the dialog -- measured in Chromium:\n closed from a backdrop click, the event was delivered on the next\n showModal(), and read as a close it asked the page to shut the dialog it\n had just opened. */\n _onDialogClose() {\n if (this.open && !this._dialog?.open) this._onClose();\n }\n\n /* The backdrop belongs to the dialog, so a click on it targets the dialog\n itself; a click on the panel's own padding does too, and is told apart by\n landing inside the dialog's box. */\n _onClick(e: MouseEvent) {\n if (CLOSEDBY || e.target !== this._dialog) return;\n const box = this._dialog!.getBoundingClientRect();\n const inside = e.clientX >= box.left && e.clientX <= box.right\n && e.clientY >= box.top && e.clientY <= box.bottom;\n if (!inside) this._onClose();\n }\n\n /* Reconnecting keeps the rendered dialog, but not as a modal: removing a\n dialog from the document takes it out of the top layer and drops its\n modal state while leaving its open attribute, so a modal moved while open\n comes back an ordinary open dialog -- in the flow, no backdrop, the page\n behind it live and no Esc. _sync() asks whether it is :modal, not only\n open, and shows it as one again. */\n connectedCallback() {\n super.connectedCallback();\n if (this.hasUpdated) this._sync();\n }\n\n updated() {\n this._sync();\n }\n\n _sync() {\n const dialog = this._dialog;\n if (!dialog?.isConnected) return;\n if (this.open && !dialog.matches(\":modal\")) {\n // showModal() throws on a dialog that is already open, modal or not\n if (dialog.open) dialog.close();\n dialog.showModal();\n } else if (!this.open && dialog.open) {\n dialog.close();\n }\n }\n\n render() {\n return html`\n <dialog\n class=\"bd-modal\"\n closedby=\"any\"\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-description\"\n @cancel=\"${this._onCancel}\"\n @close=\"${this._onDialogClose}\"\n @click=\"${this._onClick}\"\n >\n ${this.icon\n ? html`<img src=\"${this.icon}\" alt=\"\" class=\"bd-carousel-modal-icon\" />`\n : \"\"}\n <bd-h as=\"h2\" id=\"modal-title\" paddingBottom=\"16\">${this.title}</bd-h>\n <bd-p variant=\"regular\" id=\"modal-description\">${this.modalText}</bd-p>\n <button @click=\"${this._onClose}\" aria-label=\"Close modal\" autofocus>Close</button>\n </dialog>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-modal\": BdModal;\n }\n interface HTMLElementEventMap {\n \"close-modal\": CustomEvent<null>;\n }\n}\n"],"mappings":"A,2VAYA,IAAMI,EAAW,aAAc,kBAAkB,UA2BpCC,EAAN,cAAsBC,CAAW,C,8BAM9B,KAAA,MAAA,E,QALQ,KAAA,OAAA,CAACN,CAAQ,C,CAWzB,IAAI,SAAU,CACZ,OAAO,KAAK,YAAY,cAAc,QAAQ,CAChD,CAEA,UAAW,CACT,KAAK,cAAc,IAAI,YAAY,cAAe,CAAE,QAAS,GAAM,SAAU,EAAK,CAAC,CAAC,CACtF,CAEA,UAAU,EAAU,CAClB,EAAE,eAAe,EACjB,KAAK,SAAS,CAChB,CAOA,gBAAiB,CACX,KAAK,MAAQ,CAAC,KAAK,SAAS,MAAM,KAAK,SAAS,CACtD,CAKA,SAAS,EAAe,CACtB,GAAII,GAAY,EAAE,SAAW,KAAK,QAAS,OAC3C,IAAMI,EAAM,KAAK,QAAS,sBAAsB,EACjC,EAAE,SAAWA,EAAI,MAAQ,EAAE,SAAWA,EAAI,OACpD,EAAE,SAAWA,EAAI,KAAO,EAAE,SAAWA,EAAI,QACjC,KAAK,SAAS,CAC7B,CAQA,mBAAoB,CAClB,MAAM,kBAAkB,EACpB,KAAK,YAAY,KAAK,MAAM,CAClC,CAEA,SAAU,CACR,KAAK,MAAM,CACb,CAEA,OAAQ,CACN,IAAMC,EAAS,KAAK,QACfA,GAAQ,cACT,KAAK,MAAQ,CAACA,EAAO,QAAQ,QAAQ,GAEnCA,EAAO,MAAMA,EAAO,MAAM,EAC9BA,EAAO,UAAU,GACR,CAAC,KAAK,MAAQA,EAAO,MAC9BA,EAAO,MAAM,EAEjB,CAEA,QAAS,CACP,MAAO,EAAI;;;;;;mBAMI,KAAK,UAAU;kBAChB,KAAK,eAAe;kBACpB,KAAK,SAAS;;UAEtB,KAAK,KACH,CAAI,aAAa,KAAK,KAAK,4CAC3B,GAAG;4DAC6C,KAAK,MAAM;yDACd,KAAK,UAAU;0BAC9C,KAAK,SAAS;;KAGtC,CACF,EAzFGR,EAAA,CAAAS,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAL,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzCJ,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAL,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAL,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAL,EAAA,UAAA,YAAA,IAAA,EAAA,EAV3B,EAAAJ,EAAA,CAAAU,EAAc,UAAU,CAAA,EAAAN,CAAA,E"}
@@ -1,5 +1,5 @@
1
1
  import type { PropertyValues } from "lit";
2
- import "../../tokens/tokens.ts";
2
+ import "../../tokens/tokens.js";
3
3
  import { BdHero as MotionArtElement } from "../../vendor/motion-art/motion-art-element.js";
4
4
  /**
5
5
  * The homepage's animated illustrations, one canvas each, square:
@@ -1,115 +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 { defineElement } from "../shared/define-element.js";
8
- // Installs the design tokens into document scope; see src/tokens/tokens.ts
9
- import "../../tokens/tokens.js";
10
- import { BdHero as MotionArtElement } from "../../vendor/motion-art/motion-art-element.js";
11
- const BRAND_GROUND = "var(--color-surface-brand)";
12
- /* Each palette made once per ground and then reused: the generated element
13
- restarts its clock whenever its palette is a different object. */
14
- const grounded = new WeakMap();
15
- function onGround(palette, ground) {
16
- let byGround = grounded.get(palette);
17
- if (!byGround)
18
- grounded.set(palette, byGround = new Map());
19
- if (!byGround.has(ground))
20
- byGround.set(ground, { ...palette, substrate: ground });
21
- return byGround.get(ground);
22
- }
23
- /**
24
- * The homepage's animated illustrations, one canvas each, square:
25
- * brand-surface the B on a glass sphere of network (bd-hero, media slot)
26
- * mesh-globe a turning globe with three badges (consumer AI card)
27
- * layer-stack four platform layers with captions (enterprise AI card)
28
- * geo-core a geodesic cage round a core (Labs AI card)
29
- *
30
- * The element is generated outside this package and vendored as is; see
31
- * src/vendor/motion-art/README.md. The generated class is still called BdHero;
32
- * this module imports it as MotionArtElement and registers it under the
33
- * package's own name, because bd-hero is the homepage band.
34
- *
35
- * Three things differ from the generated element:
36
- * - no substrate: it draws on a transparent canvas, so the ground is the
37
- * component's own --color-surface-brand and a partner brand shows through;
38
- * - the brand tones' ground colour is that token too, where the generated
39
- * element paints its own blue -- see willUpdate();
40
- * - the pill and badge type is the foundation's sans, read from the token.
41
- *
42
- * It draws only while on screen, holds a still frame under
43
- * prefers-reduced-motion, and stops on `paused`. It draws no control of its
44
- * own, and the hero and the brand bento card that hold it add none.
45
- */
46
- let MotionArt = class MotionArt extends MotionArtElement {
47
- constructor() {
48
- super();
49
- this.substrate = false;
50
- // The generated element starts on its brand tone, so this is the blue it is drawn on.
51
- this._generatedGround = this.palette.substrate;
52
- }
53
- connectedCallback() {
54
- super.connectedCallback();
55
- if (!this.labelFont) {
56
- const sans = getComputedStyle(this).getPropertyValue("--typography-fontFamily-sans")
57
- .trim();
58
- if (sans)
59
- this.labelFont = sans;
60
- }
61
- /* The art takes its size from its first ResizeObserver delivery, and until
62
- then has no tile and draws nothing. That delivery comes a frame after
63
- connect, after the generated element's own observer, which it follows
64
- because observers deliver in the order they were created. */
65
- this._sized = new Promise(resolve => {
66
- this._resolveSized = resolve;
67
- const first = new ResizeObserver(() => { first.disconnect(); resolve(); });
68
- first.observe(this);
69
- });
70
- }
71
- disconnectedCallback() {
72
- // Removed before its first delivery: nothing is coming, so nobody waits.
73
- this._resolveSized?.();
74
- super.disconnectedCallback();
75
- }
76
- /* The brand and solid tones were drawn on that blue and paint with it
77
- wherever the ground should show through: the caption and badge type,
78
- knocked out of a white pill, and the faces the canvas hides behind
79
- others. Here the ground is --color-surface-brand, so they take that,
80
- through the custom property itself so the type follows the brand. */
81
- willUpdate(changed) {
82
- super.willUpdate(changed);
83
- if (this.palette?.substrate === this._generatedGround)
84
- this.palette = onGround(this.palette, BRAND_GROUND);
85
- }
86
- /* A canvas takes no var(): the clock gets the colour the property resolves
87
- to when it starts, and keeps it until the next update starts another. */
88
- runClock() {
89
- const palette = this.palette;
90
- if (palette?.substrate === BRAND_GROUND) {
91
- const ground = getComputedStyle(this).getPropertyValue("--color-surface-brand")
92
- .trim();
93
- this.palette = onGround(palette, ground || this._generatedGround);
94
- }
95
- try {
96
- super.runClock();
97
- }
98
- finally {
99
- this.palette = palette;
100
- }
101
- }
102
- /* updateComplete covers the sizing, so `await el.updateComplete` means the
103
- art is drawn at its size -- the delivery sets the tile, which is one more
104
- update. */
105
- async getUpdateComplete() {
106
- const first = await super.getUpdateComplete();
107
- await this._sized;
108
- return (await super.getUpdateComplete()) && first;
109
- }
110
- };
111
- MotionArt = __decorate([
112
- defineElement("bd-motion-art")
113
- ], MotionArt);
114
- export { MotionArt };
1
+ import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{BdHero as n}from"/home/runner/work/dex-core/dex-core/packages/dex-system-design/src/vendor/motion-art/motion-art-element.js";var r=`var(--color-surface-brand)`,i=/* @__PURE__ */ new WeakMap;function a(e,t){let n=i.get(e);return n||i.set(e,n=/* @__PURE__ */ new Map),n.has(t)||n.set(t,{...e,substrate:t}),n.get(t)}var o=class extends n{constructor(){super(),this.substrate=!1,this._generatedGround=this.palette.substrate}connectedCallback(){if(super.connectedCallback(),!this.labelFont){let e=getComputedStyle(this).getPropertyValue(`--typography-fontFamily-sans`).trim();e&&(this.labelFont=e)}this._sized=new Promise(e=>{this._resolveSized=e;let t=new ResizeObserver(()=>{t.disconnect(),e()});t.observe(this)})}disconnectedCallback(){this._resolveSized?.(),super.disconnectedCallback()}willUpdate(e){super.willUpdate(e),this.palette?.substrate===this._generatedGround&&(this.palette=a(this.palette,r))}runClock(){let e=this.palette;if(e?.substrate===r){let t=getComputedStyle(this).getPropertyValue(`--color-surface-brand`).trim();this.palette=a(e,t||this._generatedGround)}try{super.runClock()}finally{this.palette=e}}async getUpdateComplete(){let e=await super.getUpdateComplete();return await this._sized,await super.getUpdateComplete()&&e}};o=t([e(`bd-motion-art`)],o);export{o as MotionArt};
115
2
  //# sourceMappingURL=motion-art.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"motion-art.js","sourceRoot":"","sources":["../../../../src/components/motion-art/motion-art.ts"],"names":[],"mappings":";;;;;;AACA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,2EAA2E;AAC3E,OAAO,wBAAwB,CAAC;AAChC,OAAO,EAAE,MAAM,IAAI,gBAAgB,EAAyB,MAAM,+CAA+C,CAAC;AAElH,MAAM,YAAY,GAAG,4BAA4B,CAAC;AAElD;oEACoE;AACpE,MAAM,QAAQ,GAAG,IAAI,OAAO,EAA+D,CAAC;AAC5F,SAAS,QAAQ,CAAC,OAAyB,EAAE,MAA0B;IACrE,IAAI,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACrC,IAAI,CAAC,QAAQ;QAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,EAAE,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC,CAAC;IAC3D,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC;QAAE,QAAQ,CAAC,GAAG,CAAC,MAAM,EAAE,EAAE,GAAG,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC;IACnF,OAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAE,CAAC;AAC/B,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEI,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,gBAAgB;IAK7C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACvB,sFAAsF;QACtF,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;IACjD,CAAC;IAED,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YACpB,MAAM,IAAI,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC,gBAAgB,CAAC,8BAA8B,CAAC;iBACjF,IAAI,EAAE,CAAC;YACV,IAAI,IAAI;gBAAE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QAClC,CAAC;QACD;;;uEAG+D;QAC/D,IAAI,CAAC,MAAM,GAAG,IAAI,OAAO,CAAO,OAAO,CAAC,EAAE;YACxC,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC;YAC7B,MAAM,KAAK,GAAG,IAAI,cAAc,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3E,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACtB,CAAC,CAAC,CAAC;IACL,CAAC;IAED,oBAAoB;QAClB,yEAAyE;QACzE,IAAI,CAAC,aAAa,EAAE,EAAE,CAAC;QACvB,KAAK,CAAC,oBAAoB,EAAE,CAAC;IAC/B,CAAC;IAED;;;;2EAIuE;IACvE,UAAU,CAAC,OAA6B;QACtC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAC1B,IAAI,IAAI,CAAC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC,gBAAgB;YAAE,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IAC7G,CAAC;IAED;+EAC2E;IAC3E,QAAQ;QACN,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,IAAI,OAAO,EAAE,SAAS,KAAK,YAAY,EAAE,CAAC;YACxC,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC,gBAAgB,CAAC,uBAAuB,CAAC;iBAC5E,IAAI,EAAE,CAAC;YACV,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACpE,CAAC;QACD,IAAI,CAAC;YACH,KAAK,CAAC,QAAQ,EAAE,CAAC;QACnB,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACzB,CAAC;IACH,CAAC;IAED;;iBAEa;IACb,KAAK,CAAC,iBAAiB;QACrB,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC9C,MAAM,IAAI,CAAC,MAAM,CAAC;QAClB,OAAO,CAAC,MAAM,KAAK,CAAC,iBAAiB,EAAE,CAAC,IAAI,KAAK,CAAC;IACpD,CAAC;CACF,CAAA;AAtEY,SAAS;IADrB,aAAa,CAAC,eAAe,CAAC;GAClB,SAAS,CAsErB","sourcesContent":["import type { PropertyValues } from \"lit\";\nimport { defineElement } from \"../shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"../../tokens/tokens.ts\";\nimport { BdHero as MotionArtElement, type MotionArtPalette } from \"../../vendor/motion-art/motion-art-element.js\";\n\nconst BRAND_GROUND = \"var(--color-surface-brand)\";\n\n/* Each palette made once per ground and then reused: the generated element\n restarts its clock whenever its palette is a different object. */\nconst grounded = new WeakMap<MotionArtPalette, Map<string | undefined, MotionArtPalette>>();\nfunction onGround(palette: MotionArtPalette, ground: string | undefined) {\n let byGround = grounded.get(palette);\n if (!byGround) grounded.set(palette, byGround = new Map());\n if (!byGround.has(ground)) byGround.set(ground, { ...palette, substrate: ground });\n return byGround.get(ground)!;\n}\n\n/**\n * The homepage's animated illustrations, one canvas each, square:\n * brand-surface the B on a glass sphere of network (bd-hero, media slot)\n * mesh-globe a turning globe with three badges (consumer AI card)\n * layer-stack four platform layers with captions (enterprise AI card)\n * geo-core a geodesic cage round a core (Labs AI card)\n *\n * The element is generated outside this package and vendored as is; see\n * src/vendor/motion-art/README.md. The generated class is still called BdHero;\n * this module imports it as MotionArtElement and registers it under the\n * package's own name, because bd-hero is the homepage band.\n *\n * Three things differ from the generated element:\n * - no substrate: it draws on a transparent canvas, so the ground is the\n * component's own --color-surface-brand and a partner brand shows through;\n * - the brand tones' ground colour is that token too, where the generated\n * element paints its own blue -- see willUpdate();\n * - the pill and badge type is the foundation's sans, read from the token.\n *\n * It draws only while on screen, holds a still frame under\n * prefers-reduced-motion, and stops on `paused`. It draws no control of its\n * own, and the hero and the brand bento card that hold it add none.\n */\n@defineElement(\"bd-motion-art\")\nexport class MotionArt extends MotionArtElement {\n _generatedGround: string | undefined;\n _sized? : Promise<void>;\n _resolveSized? : () => void;\n\n constructor() {\n super();\n this.substrate = false;\n // The generated element starts on its brand tone, so this is the blue it is drawn on.\n this._generatedGround = this.palette.substrate;\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (!this.labelFont) {\n const sans = getComputedStyle(this).getPropertyValue(\"--typography-fontFamily-sans\")\n .trim();\n if (sans) this.labelFont = sans;\n }\n /* The art takes its size from its first ResizeObserver delivery, and until\n then has no tile and draws nothing. That delivery comes a frame after\n connect, after the generated element's own observer, which it follows\n because observers deliver in the order they were created. */\n this._sized = new Promise<void>(resolve => {\n this._resolveSized = resolve;\n const first = new ResizeObserver(() => { first.disconnect(); resolve(); });\n first.observe(this);\n });\n }\n\n disconnectedCallback() {\n // Removed before its first delivery: nothing is coming, so nobody waits.\n this._resolveSized?.();\n super.disconnectedCallback();\n }\n\n /* The brand and solid tones were drawn on that blue and paint with it\n wherever the ground should show through: the caption and badge type,\n knocked out of a white pill, and the faces the canvas hides behind\n others. Here the ground is --color-surface-brand, so they take that,\n through the custom property itself so the type follows the brand. */\n willUpdate(changed: PropertyValues<this>) {\n super.willUpdate(changed);\n if (this.palette?.substrate === this._generatedGround) this.palette = onGround(this.palette, BRAND_GROUND);\n }\n\n /* A canvas takes no var(): the clock gets the colour the property resolves\n to when it starts, and keeps it until the next update starts another. */\n runClock() {\n const palette = this.palette;\n if (palette?.substrate === BRAND_GROUND) {\n const ground = getComputedStyle(this).getPropertyValue(\"--color-surface-brand\")\n .trim();\n this.palette = onGround(palette, ground || this._generatedGround);\n }\n try {\n super.runClock();\n } finally {\n this.palette = palette;\n }\n }\n\n /* updateComplete covers the sizing, so `await el.updateComplete` means the\n art is drawn at its size -- the delivery sets the tile, which is one more\n update. */\n async getUpdateComplete() {\n const first = await super.getUpdateComplete();\n await this._sized;\n return (await super.getUpdateComplete()) && first;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-motion-art\": MotionArt;\n }\n}\n"]}
1
+ {"version":3,"file":"motion-art.js","names":["MotionArtElement","_decorate","__decorate","BRAND_GROUND","grounded","onGround","byGround","palette","ground","MotionArt","BdHero","sans","resolve","first","changed","defineElement"],"sources":["../../../../src/components/motion-art/motion-art.ts"],"sourcesContent":["import type { PropertyValues } from \"lit\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport { BdHero as MotionArtElement, type MotionArtPalette } from \"#vendor/motion-art/motion-art-element.js\";\n\nconst BRAND_GROUND = \"var(--color-surface-brand)\";\n\n/* Each palette made once per ground and then reused: the generated element\n restarts its clock whenever its palette is a different object. */\nconst grounded = new WeakMap<MotionArtPalette, Map<string | undefined, MotionArtPalette>>();\nfunction onGround(palette: MotionArtPalette, ground: string | undefined) {\n let byGround = grounded.get(palette);\n if (!byGround) grounded.set(palette, byGround = new Map());\n if (!byGround.has(ground)) byGround.set(ground, { ...palette, substrate: ground });\n return byGround.get(ground)!;\n}\n\n/**\n * The homepage's animated illustrations, one canvas each, square:\n * brand-surface the B on a glass sphere of network (bd-hero, media slot)\n * mesh-globe a turning globe with three badges (consumer AI card)\n * layer-stack four platform layers with captions (enterprise AI card)\n * geo-core a geodesic cage round a core (Labs AI card)\n *\n * The element is generated outside this package and vendored as is; see\n * src/vendor/motion-art/README.md. The generated class is still called BdHero;\n * this module imports it as MotionArtElement and registers it under the\n * package's own name, because bd-hero is the homepage band.\n *\n * Three things differ from the generated element:\n * - no substrate: it draws on a transparent canvas, so the ground is the\n * component's own --color-surface-brand and a partner brand shows through;\n * - the brand tones' ground colour is that token too, where the generated\n * element paints its own blue -- see willUpdate();\n * - the pill and badge type is the foundation's sans, read from the token.\n *\n * It draws only while on screen, holds a still frame under\n * prefers-reduced-motion, and stops on `paused`. It draws no control of its\n * own, and the hero and the brand bento card that hold it add none.\n */\n@defineElement(\"bd-motion-art\")\nexport class MotionArt extends MotionArtElement {\n _generatedGround: string | undefined;\n _sized? : Promise<void>;\n _resolveSized? : () => void;\n\n constructor() {\n super();\n this.substrate = false;\n // The generated element starts on its brand tone, so this is the blue it is drawn on.\n this._generatedGround = this.palette.substrate;\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (!this.labelFont) {\n const sans = getComputedStyle(this).getPropertyValue(\"--typography-fontFamily-sans\")\n .trim();\n if (sans) this.labelFont = sans;\n }\n /* The art takes its size from its first ResizeObserver delivery, and until\n then has no tile and draws nothing. That delivery comes a frame after\n connect, after the generated element's own observer, which it follows\n because observers deliver in the order they were created. */\n this._sized = new Promise<void>(resolve => {\n this._resolveSized = resolve;\n const first = new ResizeObserver(() => { first.disconnect(); resolve(); });\n first.observe(this);\n });\n }\n\n disconnectedCallback() {\n // Removed before its first delivery: nothing is coming, so nobody waits.\n this._resolveSized?.();\n super.disconnectedCallback();\n }\n\n /* The brand and solid tones were drawn on that blue and paint with it\n wherever the ground should show through: the caption and badge type,\n knocked out of a white pill, and the faces the canvas hides behind\n others. Here the ground is --color-surface-brand, so they take that,\n through the custom property itself so the type follows the brand. */\n willUpdate(changed: PropertyValues<this>) {\n super.willUpdate(changed);\n if (this.palette?.substrate === this._generatedGround) this.palette = onGround(this.palette, BRAND_GROUND);\n }\n\n /* A canvas takes no var(): the clock gets the colour the property resolves\n to when it starts, and keeps it until the next update starts another. */\n runClock() {\n const palette = this.palette;\n if (palette?.substrate === BRAND_GROUND) {\n const ground = getComputedStyle(this).getPropertyValue(\"--color-surface-brand\")\n .trim();\n this.palette = onGround(palette, ground || this._generatedGround);\n }\n try {\n super.runClock();\n } finally {\n this.palette = palette;\n }\n }\n\n /* updateComplete covers the sizing, so `await el.updateComplete` means the\n art is drawn at its size -- the delivery sets the tile, which is one more\n update. */\n async getUpdateComplete() {\n const first = await super.getUpdateComplete();\n await this._sized;\n return (await super.getUpdateComplete()) && first;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-motion-art\": MotionArt;\n }\n}\n"],"mappings":"A,ySAMA,IAAMG,EAAe,6BAIfC,kBAAW,IAAI,QACrB,SAASC,EAAS,EAA2B,EAA4B,CACvE,IAAIC,EAAWF,EAAS,IAAIG,CAAO,EAGnC,OAFKD,GAAUF,EAAS,IAAIG,EAAS,kBAAW,IAAI,GAAK,EACpDD,EAAS,IAAIE,CAAM,GAAGF,EAAS,IAAIE,EAAQ,CAAE,GAAGD,EAAS,UAAWC,CAAO,CAAC,EAC1EF,EAAS,IAAIE,CAAM,CAC5B,CA0BO,IAAMC,EAAN,cAAwBT,CAAiB,CAK9C,aAAc,CACZ,MAAM,EACN,KAAK,UAAY,GAEjB,KAAK,iBAAmB,KAAK,QAAQ,SACvC,CAEA,mBAAoB,CAElB,GADA,MAAM,kBAAkB,EACpB,CAAC,KAAK,UAAW,CACnB,IAAMW,EAAO,iBAAiB,IAAI,CAAC,CAAC,iBAAiB,8BAA8B,CAAC,CACjF,KAAK,EACJA,IAAM,KAAK,UAAYA,EAC7B,CAKA,KAAK,OAAS,IAAI,QAAc,GAAW,CACzC,KAAK,cAAgBC,EACrB,IAAMC,EAAQ,IAAI,mBAAqB,CAAEA,EAAM,WAAW,EAAGD,EAAQ,CAAG,CAAC,EACzEC,EAAM,QAAQ,IAAI,CACpB,CAAC,CACH,CAEA,sBAAuB,CAErB,KAAK,gBAAgB,EACrB,MAAM,qBAAqB,CAC7B,CAOA,WAAW,EAA+B,CACxC,MAAM,WAAWC,CAAO,EACpB,KAAK,SAAS,YAAc,KAAK,mBAAkB,KAAK,QAAUT,EAAS,KAAK,QAASF,CAAY,EAC3G,CAIA,UAAW,CACT,IAAMI,EAAU,KAAK,QACrB,GAAIA,GAAS,YAAcJ,EAAc,CACvC,IAAMK,EAAS,iBAAiB,IAAI,CAAC,CAAC,iBAAiB,uBAAuB,CAAC,CAC5E,KAAK,EACR,KAAK,QAAUH,EAASE,EAASC,GAAU,KAAK,gBAAgB,CAClE,CACA,GAAI,CACF,MAAM,SAAS,CACjB,QAAU,CACR,KAAK,QAAUD,CACjB,CACF,CAKA,MAAM,mBAAoB,CACxB,IAAMM,EAAQ,MAAM,MAAM,kBAAkB,EAE5C,OADA,MAAM,KAAK,OACH,MAAM,MAAM,kBAAkB,GAAMA,CAC9C,CACF,EAvEC,EAAAZ,EAAA,CAAAc,EAAc,eAAe,CAAA,EAAAN,CAAA,E"}
@@ -1,126 +1,2 @@
1
- import { css } from "lit";
2
- export default css `
3
- :host {
4
- display: block;
5
- font-family: var(--typography-fontFamily-sans);
6
- }
7
-
8
- .bd-infopanel-container {
9
- display: grid;
10
- grid-template-columns: 1fr 1fr;
11
- grid-template-rows: auto auto;
12
- column-gap: var(--spacing-48);
13
- row-gap: 0;
14
- padding-block: var(--spacing-48);
15
- box-sizing: border-box;
16
- }
17
-
18
- /* Title spans both columns on its own row */
19
- .bd-infopanel-title {
20
- grid-column: 1 / -1;
21
- grid-row: 1;
22
- margin: 0;
23
- margin-bottom: var(--spacing-48);
24
- }
25
-
26
- /* === LEFT COLUMN (description) === */
27
- .bd-infopanel-left {
28
- grid-column: 1;
29
- grid-row: 2;
30
- display: flex;
31
- flex-direction: column;
32
- gap: var(--spacing-16);
33
- }
34
-
35
- .bd-infopanel-description {
36
- margin: 0;
37
- color: var(--color-text-primary);
38
- max-width: 46ch;
39
- /* Keep: the max-width above is in ch, and ch resolves against THIS
40
- element's font. Stating the family here is what pins the measure;
41
- removing it would leave 46ch depending on whatever is inherited. */
42
- font-family: var(--typography-fontFamily-sans);
43
- }
44
-
45
- /* === RIGHT COLUMN (facts) === */
46
- .bd-infopanel-right {
47
- grid-column: 2;
48
- grid-row: 2;
49
- display: flex;
50
- flex-direction: column;
51
- }
52
-
53
- .bd-infopanel-row {
54
- display: flex;
55
- flex-direction: column;
56
- gap: var(--spacing-4);
57
- padding-top: var(--spacing-16);
58
- padding-bottom: var(--spacing-24);
59
- }
60
-
61
- .bd-infopanel-row:first-of-type {
62
- padding-top: 0;
63
- }
64
-
65
- .bd-infopanel-row:last-of-type {
66
- padding-bottom: 0;
67
- }
68
-
69
- /* --border-width-2, not a 2px literal. The 2px rule itself is deliberate --
70
- it is the blue brand rule that separates each label/value pair, and
71
- bd-trust-panel uses the same visual language for its statistics -- so this
72
- is a token-category fix, not a design change. --border-width-2 is 2px, so
73
- nothing moves. Removes the one baselined finding recorded against this
74
- file, border-width-literal|overview.css.ts|border-top: 2px. */
75
- .bd-infopanel-divider {
76
- border-top: var(--border-width-2) solid var(--color-border-brand);
77
- margin-bottom: var(--spacing-16);
78
- }
79
-
80
- .bd-infopanel-label {
81
- margin: 0;
82
- color: var(--color-text-muted);
83
- /* Load-bearing, despite sitting on a bd-p host where the type axes are
84
- inert. Those axes are dead because bd-p sets them on its own inner p;
85
- text-transform it never sets, so this value inherits down to the
86
- rendered text like any inherited property would. Deleting it
87
- un-uppercases the label. See scripts/atom-inert-properties.json. */
88
- text-transform: uppercase;
89
- }
90
-
91
- .bd-infopanel-value {
92
- margin: 0;
93
- color: var(--color-text-primary);
94
- }
95
-
96
- /* === RESPONSIVE === */
97
- @media (max-width: 899px) {
98
- .bd-infopanel-container {
99
- grid-template-columns: 1fr;
100
- grid-template-rows: auto auto auto;
101
- gap: var(--spacing-32);
102
- padding: var(--spacing-32) var(--spacing-24);
103
- }
104
-
105
- .bd-infopanel-title {
106
- grid-column: 1;
107
- grid-row: 1;
108
- margin-bottom: var(--spacing-16);
109
- }
110
-
111
- .bd-infopanel-left {
112
- grid-column: 1;
113
- grid-row: 2;
114
- }
115
-
116
- .bd-infopanel-right {
117
- grid-column: 1;
118
- grid-row: 3;
119
- }
120
-
121
- .bd-infopanel-description {
122
- max-width: none;
123
- }
124
- }
125
- `;
1
+ import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);display:block}.bd-infopanel-container{column-gap:var(--spacing-48);padding-block:var(--spacing-48);box-sizing:border-box;grid-template-rows:auto auto;grid-template-columns:1fr 1fr;row-gap:0;display:grid}.bd-infopanel-title{margin:0;margin-bottom:var(--spacing-48);grid-area:1/1/auto/-1}.bd-infopanel-left{gap:var(--spacing-16);flex-direction:column;grid-area:2/1;display:flex}.bd-infopanel-description{color:var(--color-text-primary);max-width:46ch;font-family:var(--typography-fontFamily-sans);margin:0}.bd-infopanel-right{flex-direction:column;grid-area:2/2;display:flex}.bd-infopanel-row{gap:var(--spacing-4);padding-top:var(--spacing-16);padding-bottom:var(--spacing-24);flex-direction:column;display:flex}.bd-infopanel-row:first-of-type{padding-top:0}.bd-infopanel-row:last-of-type{padding-bottom:0}.bd-infopanel-divider{border-top:var(--border-width-2) solid var(--color-border-brand);margin-bottom:var(--spacing-16)}.bd-infopanel-label{color:var(--color-text-muted);text-transform:uppercase;margin:0}.bd-infopanel-value{color:var(--color-text-primary);margin:0}@media (width<=899px){.bd-infopanel-container{gap:var(--spacing-32);padding:var(--spacing-32) var(--spacing-24);grid-template-rows:auto auto auto;grid-template-columns:1fr}.bd-infopanel-title{margin-bottom:var(--spacing-16);grid-area:1/1}.bd-infopanel-left{grid-area:2/1}.bd-infopanel-right{grid-area:3/1}.bd-infopanel-description{max-width:none}}`;export{t as default};
126
2
  //# sourceMappingURL=overview.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"overview.css.js","sourceRoot":"","sources":["../../../../src/components/overview/overview.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2HjB,CAAC","sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n }\n\n .bd-infopanel-container {\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-template-rows: auto auto;\n column-gap: var(--spacing-48);\n row-gap: 0;\n padding-block: var(--spacing-48);\n box-sizing: border-box;\n }\n\n /* Title spans both columns on its own row */\n .bd-infopanel-title {\n grid-column: 1 / -1;\n grid-row: 1;\n margin: 0;\n margin-bottom: var(--spacing-48);\n }\n\n /* === LEFT COLUMN (description) === */\n .bd-infopanel-left {\n grid-column: 1;\n grid-row: 2;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-16);\n }\n\n .bd-infopanel-description {\n margin: 0;\n color: var(--color-text-primary);\n max-width: 46ch;\n /* Keep: the max-width above is in ch, and ch resolves against THIS\n element's font. Stating the family here is what pins the measure;\n removing it would leave 46ch depending on whatever is inherited. */\n font-family: var(--typography-fontFamily-sans);\n }\n\n /* === RIGHT COLUMN (facts) === */\n .bd-infopanel-right {\n grid-column: 2;\n grid-row: 2;\n display: flex;\n flex-direction: column;\n }\n\n .bd-infopanel-row {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-4);\n padding-top: var(--spacing-16);\n padding-bottom: var(--spacing-24);\n }\n\n .bd-infopanel-row:first-of-type {\n padding-top: 0;\n }\n\n .bd-infopanel-row:last-of-type {\n padding-bottom: 0;\n }\n\n /* --border-width-2, not a 2px literal. The 2px rule itself is deliberate --\n it is the blue brand rule that separates each label/value pair, and\n bd-trust-panel uses the same visual language for its statistics -- so this\n is a token-category fix, not a design change. --border-width-2 is 2px, so\n nothing moves. Removes the one baselined finding recorded against this\n file, border-width-literal|overview.css.ts|border-top: 2px. */\n .bd-infopanel-divider {\n border-top: var(--border-width-2) solid var(--color-border-brand);\n margin-bottom: var(--spacing-16);\n }\n\n .bd-infopanel-label {\n margin: 0;\n color: var(--color-text-muted);\n /* Load-bearing, despite sitting on a bd-p host where the type axes are\n inert. Those axes are dead because bd-p sets them on its own inner p;\n text-transform it never sets, so this value inherits down to the\n rendered text like any inherited property would. Deleting it\n un-uppercases the label. See scripts/atom-inert-properties.json. */\n text-transform: uppercase;\n }\n\n .bd-infopanel-value {\n margin: 0;\n color: var(--color-text-primary);\n }\n\n /* === RESPONSIVE === */\n @media (max-width: 899px) {\n .bd-infopanel-container {\n grid-template-columns: 1fr;\n grid-template-rows: auto auto auto;\n gap: var(--spacing-32);\n padding: var(--spacing-32) var(--spacing-24);\n }\n\n .bd-infopanel-title {\n grid-column: 1;\n grid-row: 1;\n margin-bottom: var(--spacing-16);\n }\n\n .bd-infopanel-left {\n grid-column: 1;\n grid-row: 2;\n }\n\n .bd-infopanel-right {\n grid-column: 1;\n grid-row: 3;\n }\n\n .bd-infopanel-description {\n max-width: none;\n }\n }\n`;"]}
1
+ {"version":3,"file":"overview.css.js","names":["overview_css_default"],"sources":["../../../../src/components/overview/overview.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n }\n\n .bd-infopanel-container {\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-template-rows: auto auto;\n column-gap: var(--spacing-48);\n row-gap: 0;\n padding-block: var(--spacing-48);\n box-sizing: border-box;\n }\n\n /* Title spans both columns on its own row */\n .bd-infopanel-title {\n grid-column: 1 / -1;\n grid-row: 1;\n margin: 0;\n margin-bottom: var(--spacing-48);\n }\n\n /* === LEFT COLUMN (description) === */\n .bd-infopanel-left {\n grid-column: 1;\n grid-row: 2;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-16);\n }\n\n .bd-infopanel-description {\n margin: 0;\n color: var(--color-text-primary);\n max-width: 46ch;\n /* Keep: the max-width above is in ch, and ch resolves against THIS\n element's font. Stating the family here is what pins the measure;\n removing it would leave 46ch depending on whatever is inherited. */\n font-family: var(--typography-fontFamily-sans);\n }\n\n /* === RIGHT COLUMN (facts) === */\n .bd-infopanel-right {\n grid-column: 2;\n grid-row: 2;\n display: flex;\n flex-direction: column;\n }\n\n .bd-infopanel-row {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-4);\n padding-top: var(--spacing-16);\n padding-bottom: var(--spacing-24);\n }\n\n .bd-infopanel-row:first-of-type {\n padding-top: 0;\n }\n\n .bd-infopanel-row:last-of-type {\n padding-bottom: 0;\n }\n\n /* --border-width-2, not a 2px literal. The 2px rule itself is deliberate --\n it is the blue brand rule that separates each label/value pair, and\n bd-trust-panel uses the same visual language for its statistics -- so this\n is a token-category fix, not a design change. --border-width-2 is 2px, so\n nothing moves. Removes the one baselined finding recorded against this\n file, border-width-literal|overview.css.ts|border-top: 2px. */\n .bd-infopanel-divider {\n border-top: var(--border-width-2) solid var(--color-border-brand);\n margin-bottom: var(--spacing-16);\n }\n\n .bd-infopanel-label {\n margin: 0;\n color: var(--color-text-muted);\n /* Load-bearing, despite sitting on a bd-p host where the type axes are\n inert. Those axes are dead because bd-p sets them on its own inner p;\n text-transform it never sets, so this value inherits down to the\n rendered text like any inherited property would. Deleting it\n un-uppercases the label. See scripts/atom-inert-properties.json. */\n text-transform: uppercase;\n }\n\n .bd-infopanel-value {\n margin: 0;\n color: var(--color-text-primary);\n }\n\n /* === RESPONSIVE === */\n @media (max-width: 899px) {\n .bd-infopanel-container {\n grid-template-columns: 1fr;\n grid-template-rows: auto auto auto;\n gap: var(--spacing-32);\n padding: var(--spacing-32) var(--spacing-24);\n }\n\n .bd-infopanel-title {\n grid-column: 1;\n grid-row: 1;\n margin-bottom: var(--spacing-16);\n }\n\n .bd-infopanel-left {\n grid-column: 1;\n grid-row: 2;\n }\n\n .bd-infopanel-right {\n grid-column: 1;\n grid-row: 3;\n }\n\n .bd-infopanel-description {\n max-width: none;\n }\n }\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,87C"}
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
- import "../heading/heading.ts";
3
- import "../paragraph/paragraph.ts";
2
+ import "../heading/heading.js";
3
+ import "../paragraph/paragraph.js";
4
4
  interface OverviewFact {
5
5
  label: string;
6
6
  value: string;
@@ -1,72 +1,31 @@
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, html, nothing } from "lit";
8
- import { property } from "lit/decorators.js";
9
- import { defineElement } from "../shared/define-element.js";
10
- import { tokens } from "../../tokens/tokens.js";
11
- import "../heading/heading.js";
12
- import "../paragraph/paragraph.js";
13
- import infoPanelCSS from "./overview.css.js";
14
- import { ensembleCSS } from "../shared/ensemble.css.js";
15
- let Overview = class Overview extends LitElement {
16
- constructor() {
17
- super(...arguments);
18
- this.title = "";
19
- this.description = "";
20
- this.facts = []; // [{ label: String, value: String }]
21
- }
22
- static { this.styles = [tokens, ensembleCSS, infoPanelCSS]; }
23
- render() {
24
- return html `
1
+ import{defineElement as e}from"../shared/define-element.js";import{tokens as t}from"../../tokens/tokens.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../heading/heading.js";import"../paragraph/paragraph.js";import{ensembleCSS as r}from"../shared/ensemble.css.js";import i from"./overview.css.js";import{LitElement as a,html as o,nothing as s}from"lit";import{property as c}from"lit/decorators.js";var l=class extends a{constructor(...e){super(...e),this.title=``,this.description=``,this.facts=[]}static{this.styles=[t,r,i]}render(){return o`
25
2
  <div class="bd-ensemble bd-infopanel-container">
26
- ${this.title
27
- ? html `
3
+ ${this.title?o`
28
4
  <bd-h as="h2" class="bd-infopanel-title">
29
5
  <slot name="title">${this.title}</slot>
30
6
  </bd-h>
31
- `
32
- : nothing}
7
+ `:s}
33
8
 
34
9
  <div class="bd-infopanel-left">
35
- ${this.description
36
- ? html `
10
+ ${this.description?o`
37
11
  <bd-p variant="large" class="bd-infopanel-description">
38
12
  <slot name="description">${this.description}</slot>
39
13
  </bd-p>
40
- `
41
- : nothing}
14
+ `:s}
42
15
 
43
16
  <slot></slot>
44
17
  </div>
45
18
 
46
19
  <div class="bd-infopanel-right">
47
- ${this.facts.map((fact) => html `
20
+ ${this.facts.map(e=>o`
48
21
  <div class="bd-infopanel-row">
49
22
  <div class="bd-infopanel-divider"></div>
50
- <bd-p variant="xsmall" class="bd-infopanel-label">${fact.label}</bd-p>
51
- <bd-p variant="regular" class="bd-infopanel-value">${fact.value}</bd-p>
23
+ <bd-p variant="xsmall" class="bd-infopanel-label">${e.label}</bd-p>
24
+ <bd-p variant="regular" class="bd-infopanel-value">${e.value}</bd-p>
52
25
  </div>
53
26
  `)}
54
27
  <slot name="facts"></slot>
55
28
  </div>
56
29
  </div>
57
- `;
58
- }
59
- };
60
- __decorate([
61
- property({ type: String })
62
- ], Overview.prototype, "title", void 0);
63
- __decorate([
64
- property({ type: String })
65
- ], Overview.prototype, "description", void 0);
66
- __decorate([
67
- property({ type: Array })
68
- ], Overview.prototype, "facts", void 0);
69
- Overview = __decorate([
70
- defineElement("bd-overview")
71
- ], Overview);
30
+ `}};n([c({type:String})],l.prototype,`title`,void 0),n([c({type:String})],l.prototype,`description`,void 0),n([c({type:Array})],l.prototype,`facts`,void 0),l=n([e(`bd-overview`)],l);
72
31
  //# sourceMappingURL=overview.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"overview.js","sourceRoot":"","sources":["../../../../src/components/overview/overview.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,uBAAuB,CAAC;AAC/B,OAAO,2BAA2B,CAAC;AACnC,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAQxD,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,UAAU;IAAjC;;QAIE,UAAK,GAAG,EAAE,CAAC;QAEX,gBAAW,GAAG,EAAE,CAAC;QAEjB,UAAK,GAAmB,EAAE,CAAC,CAAC,qCAAqC;IAwCnE,CAAC;aA/CQ,WAAM,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,YAAY,CAAC,AAAtC,CAAuC;IASpD,MAAM;QACJ,OAAO,IAAI,CAAA;;UAEL,IAAI,CAAC,KAAK;YACV,CAAC,CAAC,IAAI,CAAA;;qCAEqB,IAAI,CAAC,KAAK;;aAElC;YACH,CAAC,CAAC,OAAO;;;YAGP,IAAI,CAAC,WAAW;YAChB,CAAC,CAAC,IAAI,CAAA;;6CAE2B,IAAI,CAAC,WAAW;;eAE9C;YACH,CAAC,CAAC,OAAO;;;;;;YAMT,IAAI,CAAC,KAAK,CAAC,GAAG,CACd,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;oEAG0C,IAAI,CAAC,KAAK;qEACT,IAAI,CAAC,KAAK;;aAElE,CACF;;;;KAIN,CAAC;IACJ,CAAC;;AA3CD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCAChB;AAEX;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CACV;AAEjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;uCACC;AARvB,QAAQ;IADb,aAAa,CAAC,aAAa,CAAC;GACvB,QAAQ,CAgDb","sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"../shared/define-element.ts\";\nimport { tokens } from \"../../tokens/tokens.ts\";\nimport \"../heading/heading.ts\";\nimport \"../paragraph/paragraph.ts\";\nimport infoPanelCSS from \"./overview.css.ts\";\nimport { ensembleCSS } from \"../shared/ensemble.css.ts\";\n\ninterface OverviewFact {\n label: string;\n value: string;\n}\n\n@defineElement(\"bd-overview\")\nclass Overview extends LitElement {\n static styles = [tokens, ensembleCSS, infoPanelCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n description = \"\";\n @property({ type: Array })\n facts: OverviewFact[] = []; // [{ label: String, value: String }]\n\n render() {\n return html`\n <div class=\"bd-ensemble bd-infopanel-container\">\n ${this.title\n ? html`\n <bd-h as=\"h2\" class=\"bd-infopanel-title\">\n <slot name=\"title\">${this.title}</slot>\n </bd-h>\n `\n : nothing}\n\n <div class=\"bd-infopanel-left\">\n ${this.description\n ? html`\n <bd-p variant=\"large\" class=\"bd-infopanel-description\">\n <slot name=\"description\">${this.description}</slot>\n </bd-p>\n `\n : nothing}\n\n <slot></slot>\n </div>\n\n <div class=\"bd-infopanel-right\">\n ${this.facts.map(\n (fact) => html`\n <div class=\"bd-infopanel-row\">\n <div class=\"bd-infopanel-divider\"></div>\n <bd-p variant=\"xsmall\" class=\"bd-infopanel-label\">${fact.label}</bd-p>\n <bd-p variant=\"regular\" class=\"bd-infopanel-value\">${fact.value}</bd-p>\n </div>\n `\n )}\n <slot name=\"facts\"></slot>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-overview\": Overview;\n }\n}"]}
1
+ {"version":3,"file":"overview.js","names":["infoPanelCSS","_decorate","__decorate","overview_css_default","Overview","LitElement","_args","tokens","ensembleCSS","nothing","fact","property","defineElement"],"sources":["../../../../src/components/overview/overview.ts"],"sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { tokens } from \"#tokens/tokens.ts\";\nimport \"#components/heading/heading.ts\";\nimport \"#components/paragraph/paragraph.ts\";\nimport infoPanelCSS from \"./overview.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\ninterface OverviewFact {\n label: string;\n value: string;\n}\n\n@defineElement(\"bd-overview\")\nclass Overview extends LitElement {\n static styles = [tokens, ensembleCSS, infoPanelCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n description = \"\";\n @property({ type: Array })\n facts: OverviewFact[] = []; // [{ label: String, value: String }]\n\n render() {\n return html`\n <div class=\"bd-ensemble bd-infopanel-container\">\n ${this.title\n ? html`\n <bd-h as=\"h2\" class=\"bd-infopanel-title\">\n <slot name=\"title\">${this.title}</slot>\n </bd-h>\n `\n : nothing}\n\n <div class=\"bd-infopanel-left\">\n ${this.description\n ? html`\n <bd-p variant=\"large\" class=\"bd-infopanel-description\">\n <slot name=\"description\">${this.description}</slot>\n </bd-p>\n `\n : nothing}\n\n <slot></slot>\n </div>\n\n <div class=\"bd-infopanel-right\">\n ${this.facts.map(\n (fact) => html`\n <div class=\"bd-infopanel-row\">\n <div class=\"bd-infopanel-divider\"></div>\n <bd-p variant=\"xsmall\" class=\"bd-infopanel-label\">${fact.label}</bd-p>\n <bd-p variant=\"regular\" class=\"bd-infopanel-value\">${fact.value}</bd-p>\n </div>\n `\n )}\n <slot name=\"facts\"></slot>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-overview\": Overview;\n }\n}"],"mappings":"A,obAcA,IACMI,EADN,cACuBC,CAAW,C,8BAIxB,KAAA,MAAA,GAEM,KAAA,YAAA,GAEU,KAAA,MAAA,CAAC,C,QAPT,KAAA,OAAA,CAACE,EAAQC,EAAaR,CAAY,C,CASlD,QAAS,CACP,MAAO,EAAI;;UAEL,KAAK,MACH,CAAI;;qCAEqB,KAAK,MAAM;;cAGpCS,EAAQ;;;YAGR,KAAK,YACH,CAAI;;6CAE2B,KAAK,YAAY;;gBAGhDA,EAAQ;;;;;;YAMV,KAAK,MAAM,IACV,GAAS,CAAI;;;oEAG0CC,EAAK,MAAM;qEACVA,EAAK,MAAM;;aAGtE,EAAE;;;;KAKV,CACF,EA7CGT,EAAA,CAAAU,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAU,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,cAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAU,EAAS,CAAE,KAAM,KAAM,CAAC,CAAA,EAAAP,EAAA,UAAA,QAAA,IAAA,EAAA,EAR1B,EAAAH,EAAA,CAAAW,EAAc,aAAa,CAAA,EAAAR,CAAA"}