@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,175 +1,2 @@
1
- import { css } from "lit";
2
- export const pageSwitcherStyles = css `
3
- :host {
4
- display: block;
5
- position: sticky;
6
- top: 0;
7
- z-index: var(--z-sticky);
8
- /* --color-surface-default, the role, not --color-neutral-0, the primitive
9
- it resolves to. Same value; the category is the point, and CLAUDE.md's
10
- "same primitive value is not same semantic meaning" section exists for
11
- exactly this. Found by check:color-coverage once the background shorthand came into
12
- its scope -- it had been invisible because the check counted
13
- background-color: and this package almost never writes that. */
14
- background: var(--color-surface-default);
15
- border-bottom: var(--border-width-1) solid var(--color-border-container);
16
- }
17
-
18
- .inner {
19
- padding-block: var(--spacing-16);
20
- box-sizing: border-box;
21
- display: flex;
22
- align-items: center;
23
- justify-content: space-between;
24
- /* The logo is a fixed 126px and the row could not give way, so on a 320px
25
- screen the nav simply carried on past the edge. Letting the row wrap puts
26
- the navigation under the brand when there is no room for both, and does
27
- nothing at any width where they fit -- which is why there is no media
28
- query here: the layout can tell when it has run out of room. */
29
- flex-wrap: wrap;
30
- gap: var(--spacing-16) var(--spacing-32);
31
- }
32
-
33
- .logo {
34
- /* no role: a wordmark, not running text. Picking a text role for it would
35
- assert a relationship to the type scale that a brand mark does not
36
- have. The nearest role by value is heading-h6, which is a heading. */
37
- font-size: var(--typography-fontSize-lg);
38
- /* no role: a wordmark, not running text. Picking a text role for it would
39
- assert a relationship to the type scale that a brand mark does not
40
- have. The nearest role by value is heading-h6, which is a heading. */
41
- font-weight: var(--typography-fontWeight-semibold);
42
- color: var(--color-text-primary);
43
- }
44
-
45
- /* No ".logo span" rule. .logo is the class this component puts on a
46
- bd-ai-icon, and that element renders a single svg in its own shadow root --
47
- there is no span for a descendant selector to reach, and it never matched
48
- in 4 shadow roots across 556 stories. The mark colours itself from the
49
- token in its own path fill. */
50
-
51
- nav {
52
- display: flex;
53
- align-items: center;
54
- /* This row gap was already declared for two lines of links and could never
55
- apply, because nothing was allowed to wrap. Now it can. */
56
- flex-wrap: wrap;
57
- gap: var(--spacing-16) var(--spacing-32);
58
- }
59
-
60
- /* .page-link is the class this component puts on a bd-link HOST, so it can
61
- style the host's box and nothing inside it. The ink is bd-link's, and the
62
- six colour declarations that used to stand here were all overridden by the
63
- atom's own variant rules on the anchor one level down. Measured at 1440,
64
- rest and hover, current and not, after the family review moved every item
65
- to variant="primary":
66
-
67
- not current, rest --color-text-brand rgb(0, 89, 214)
68
- not current, hover --color-action-primary-active rgb(0, 69, 173)
69
- current, rest --color-text-primary rgb(21, 23, 25), weight 700
70
- current, hover --color-text-primary rgb(21, 23, 25), weight 700
71
-
72
- The last row is the one that changed behaviour rather than value: the
73
- current item used to turn blue under the pointer, because
74
- .bd-link--primary:hover outweighed the atom's current class. bd-link now
75
- declares a current-and-hovered rule and it holds.
76
-
77
- None of those was what this sheet declared: the host went to
78
- --color-action-primary-hover on hover and no text ever read it, and the
79
- semibold on the current item lost to the atom's own current bold.
80
- What is left here is the box -- position, padding, the indicator -- and the
81
- ink is asked for through the atom's API, which is where it renders. */
82
- .page-link {
83
- position: relative;
84
- display: inline-block;
85
- font-size: var(--typography-body-regular-fontSize);
86
- font-family: var(--typography-body-regular-fontFamily);
87
- }
88
-
89
- /* The padding belongs to the PART, not to the host.
90
-
91
- A host's padding does not extend the anchor inside it, so this rule used
92
- to build a 44px-tall row around a 24px-tall target: measured 93x44 on the
93
- host with a 93x24 <a> inside it, and elementsFromPoint 4px below the top
94
- edge came back bd-page-switcher > bd-root (the former Storybook wrapper) > div with no <a> in the stack at
95
- all. The top and bottom 10px of every item were dead, 45% of the height a
96
- reader aims at.
97
-
98
- It is also why the focus ring wrapped the glyphs rather than the item: the
99
- ring is drawn on whatever element is focusable, and that was the 24px
100
- anchor. One boundary, two symptoms.
101
-
102
- bd-breadcrumb already fixed exactly this by moving its padding onto
103
- ::part(link) -- its comment records a 343x40 row whose focusable anchor
104
- was 43x24 -- and this is the same move. Layout is unchanged: the host has
105
- no padding now but wraps an anchor that does, so it still measures 44px
106
- and the indicator's offset still lands on the bar's bottom edge. */
107
- .page-link::part(link) {
108
- padding: var(--spacing-10) var(--spacing-0);
109
- }
110
-
111
- /* The selected-item underline, through the role that names it. This was the
112
- third spelling of the same line -- Components/Tab List and the anchor nav are
113
- the two the --indicator-* comment already names -- and it is the one the
114
- token comment says the role exists to end. Height, colour and duration
115
- resolve to the same values it declared by hand; the easing does not, and
116
- that drift is the reason the role was named.
117
-
118
- The offset is the inner's padding-bottom, so the indicator lands on the
119
- bar's bottom edge. This inner pads 16, and the 14 that stood here was
120
- close enough to look right -- the indicator sat 2px shy of the edge --
121
- which is how the number survived being copied into bd-anchor-nav, which
122
- pads 10, and put the indicator outside that bar entirely.
123
-
124
- Measured: link box bottom at 60, indicator was 71-74 against an inner
125
- bottom edge of 76; now 73-76. */
126
- .page-link::after {
127
- content: "";
128
- position: absolute;
129
- left: var(--spacing-0);
130
- bottom: calc(-1 * var(--spacing-16));
131
- /* Grown with scale from the inline start, not with width -- see
132
- bd-tab-list's underline, the same line. */
133
- width: 100%;
134
- scale: 0 1;
135
- transform-origin: left center;
136
- height: var(--indicator-underline-height);
137
- background-color: var(--indicator-color);
138
- transition: scale var(--indicator-underline-duration) var(--indicator-underline-easing);
139
- }
140
-
141
- .page-link:dir(rtl)::after {
142
- transform-origin: right center;
143
- }
144
-
145
- /* [current] is the bd-link attribute that becomes aria-current on its <a>,
146
- so the indicator and the announcement are one state. */
147
- .page-link[current]::after {
148
- scale: 1;
149
- }
150
-
151
- /* No .page-link:focus-visible rule. .page-link is the class this component
152
- puts on a bd-link HOST, and the focusable anchor lives inside bd-link's own
153
- shadow root -- measured: 2 .page-link elements, both bd-link, neither
154
- focusable, each with its own shadow root. The rule that stood here could
155
- never match, so the outline it declared, the misspelled
156
- --bd-accesibility-focus alias behind it and the two spacing steps it used
157
- as an outline width and offset never rendered at all. bd-link already
158
- carries the one focus ring, verified here by keyboard. */
159
-
160
- @media (prefers-reduced-motion: reduce) {
161
- .page-link::after {
162
- transition: none !important;
163
- }
164
- }
165
-
166
- /* The indicator is a background, which forced colours repaint as Canvas;
167
- it opts out and draws in Highlight, as bd-tab-list's does. */
168
- @media (forced-colors: active) {
169
- .page-link::after {
170
- forced-color-adjust: none;
171
- background-color: Highlight;
172
- }
173
- }
174
- `;
1
+ import{css as e}from"lit";var t=e`:host{z-index:var(--z-sticky);background:var(--color-surface-default);border-bottom:var(--border-width-1) solid var(--color-border-container);display:block;position:sticky;top:0}.inner{padding-block:var(--spacing-16);box-sizing:border-box;justify-content:space-between;align-items:center;gap:var(--spacing-16) var(--spacing-32);flex-wrap:wrap;display:flex}.logo{font-size:var(--typography-fontSize-lg);font-weight:var(--typography-fontWeight-semibold);color:var(--color-text-primary)}nav{align-items:center;gap:var(--spacing-16) var(--spacing-32);flex-wrap:wrap;display:flex}.page-link{font-size:var(--typography-body-regular-fontSize);font-family:var(--typography-body-regular-fontFamily);display:inline-block;position:relative}.page-link::part(link){padding:var(--spacing-10) var(--spacing-0)}.page-link:after{content:"";left:var(--spacing-0);bottom:calc(-1 * var(--spacing-16));transform-origin:0;width:100%;height:var(--indicator-underline-height);background-color:var(--indicator-color);transition:scale var(--indicator-underline-duration) var(--indicator-underline-easing);position:absolute;scale:0 1}.page-link:dir(rtl):after{transform-origin:100%}.page-link[current]:after{scale:1}@media (prefers-reduced-motion:reduce){.page-link:after{transition:none!important}}@media (forced-colors:active){.page-link:after{forced-color-adjust:none;background-color:highlight}}`;export{t as pageSwitcherStyles};
175
2
  //# sourceMappingURL=page-switcher.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"page-switcher.css.js","sourceRoot":"","sources":["../../../../src/components/page-switcher/page-switcher.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4KpC,CAAC","sourcesContent":["import { css } from \"lit\";\n\nexport const pageSwitcherStyles = css`\n :host {\n display: block;\n position: sticky;\n top: 0;\n z-index: var(--z-sticky);\n /* --color-surface-default, the role, not --color-neutral-0, the primitive\n it resolves to. Same value; the category is the point, and CLAUDE.md's\n \"same primitive value is not same semantic meaning\" section exists for\n exactly this. Found by check:color-coverage once the background shorthand came into\n its scope -- it had been invisible because the check counted\n background-color: and this package almost never writes that. */\n background: var(--color-surface-default);\n border-bottom: var(--border-width-1) solid var(--color-border-container);\n }\n\n .inner {\n padding-block: var(--spacing-16);\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n /* The logo is a fixed 126px and the row could not give way, so on a 320px\n screen the nav simply carried on past the edge. Letting the row wrap puts\n the navigation under the brand when there is no room for both, and does\n nothing at any width where they fit -- which is why there is no media\n query here: the layout can tell when it has run out of room. */\n flex-wrap: wrap;\n gap: var(--spacing-16) var(--spacing-32);\n }\n\n .logo {\n /* no role: a wordmark, not running text. Picking a text role for it would\n assert a relationship to the type scale that a brand mark does not\n have. The nearest role by value is heading-h6, which is a heading. */\n font-size: var(--typography-fontSize-lg);\n /* no role: a wordmark, not running text. Picking a text role for it would\n assert a relationship to the type scale that a brand mark does not\n have. The nearest role by value is heading-h6, which is a heading. */\n font-weight: var(--typography-fontWeight-semibold);\n color: var(--color-text-primary);\n }\n\n /* No \".logo span\" rule. .logo is the class this component puts on a\n bd-ai-icon, and that element renders a single svg in its own shadow root --\n there is no span for a descendant selector to reach, and it never matched\n in 4 shadow roots across 556 stories. The mark colours itself from the\n token in its own path fill. */\n\n nav {\n display: flex;\n align-items: center;\n /* This row gap was already declared for two lines of links and could never\n apply, because nothing was allowed to wrap. Now it can. */\n flex-wrap: wrap;\n gap: var(--spacing-16) var(--spacing-32);\n }\n\n /* .page-link is the class this component puts on a bd-link HOST, so it can\n style the host's box and nothing inside it. The ink is bd-link's, and the\n six colour declarations that used to stand here were all overridden by the\n atom's own variant rules on the anchor one level down. Measured at 1440,\n rest and hover, current and not, after the family review moved every item\n to variant=\"primary\":\n\n not current, rest --color-text-brand rgb(0, 89, 214)\n not current, hover --color-action-primary-active rgb(0, 69, 173)\n current, rest --color-text-primary rgb(21, 23, 25), weight 700\n current, hover --color-text-primary rgb(21, 23, 25), weight 700\n\n The last row is the one that changed behaviour rather than value: the\n current item used to turn blue under the pointer, because\n .bd-link--primary:hover outweighed the atom's current class. bd-link now\n declares a current-and-hovered rule and it holds.\n\n None of those was what this sheet declared: the host went to\n --color-action-primary-hover on hover and no text ever read it, and the\n semibold on the current item lost to the atom's own current bold.\n What is left here is the box -- position, padding, the indicator -- and the\n ink is asked for through the atom's API, which is where it renders. */\n .page-link {\n position: relative;\n display: inline-block;\n font-size: var(--typography-body-regular-fontSize);\n font-family: var(--typography-body-regular-fontFamily);\n }\n\n /* The padding belongs to the PART, not to the host.\n\n A host's padding does not extend the anchor inside it, so this rule used\n to build a 44px-tall row around a 24px-tall target: measured 93x44 on the\n host with a 93x24 <a> inside it, and elementsFromPoint 4px below the top\n edge came back bd-page-switcher > bd-root (the former Storybook wrapper) > div with no <a> in the stack at\n all. The top and bottom 10px of every item were dead, 45% of the height a\n reader aims at.\n\n It is also why the focus ring wrapped the glyphs rather than the item: the\n ring is drawn on whatever element is focusable, and that was the 24px\n anchor. One boundary, two symptoms.\n\n bd-breadcrumb already fixed exactly this by moving its padding onto\n ::part(link) -- its comment records a 343x40 row whose focusable anchor\n was 43x24 -- and this is the same move. Layout is unchanged: the host has\n no padding now but wraps an anchor that does, so it still measures 44px\n and the indicator's offset still lands on the bar's bottom edge. */\n .page-link::part(link) {\n padding: var(--spacing-10) var(--spacing-0);\n }\n\n /* The selected-item underline, through the role that names it. This was the\n third spelling of the same line -- Components/Tab List and the anchor nav are\n the two the --indicator-* comment already names -- and it is the one the\n token comment says the role exists to end. Height, colour and duration\n resolve to the same values it declared by hand; the easing does not, and\n that drift is the reason the role was named.\n\n The offset is the inner's padding-bottom, so the indicator lands on the\n bar's bottom edge. This inner pads 16, and the 14 that stood here was\n close enough to look right -- the indicator sat 2px shy of the edge --\n which is how the number survived being copied into bd-anchor-nav, which\n pads 10, and put the indicator outside that bar entirely.\n\n Measured: link box bottom at 60, indicator was 71-74 against an inner\n bottom edge of 76; now 73-76. */\n .page-link::after {\n content: \"\";\n position: absolute;\n left: var(--spacing-0);\n bottom: calc(-1 * var(--spacing-16));\n /* Grown with scale from the inline start, not with width -- see\n bd-tab-list's underline, the same line. */\n width: 100%;\n scale: 0 1;\n transform-origin: left center;\n height: var(--indicator-underline-height);\n background-color: var(--indicator-color);\n transition: scale var(--indicator-underline-duration) var(--indicator-underline-easing);\n }\n\n .page-link:dir(rtl)::after {\n transform-origin: right center;\n }\n\n /* [current] is the bd-link attribute that becomes aria-current on its <a>,\n so the indicator and the announcement are one state. */\n .page-link[current]::after {\n scale: 1;\n }\n\n /* No .page-link:focus-visible rule. .page-link is the class this component\n puts on a bd-link HOST, and the focusable anchor lives inside bd-link's own\n shadow root -- measured: 2 .page-link elements, both bd-link, neither\n focusable, each with its own shadow root. The rule that stood here could\n never match, so the outline it declared, the misspelled\n --bd-accesibility-focus alias behind it and the two spacing steps it used\n as an outline width and offset never rendered at all. bd-link already\n carries the one focus ring, verified here by keyboard. */\n\n @media (prefers-reduced-motion: reduce) {\n .page-link::after {\n transition: none !important;\n }\n }\n\n /* The indicator is a background, which forced colours repaint as Canvas;\n it opts out and draws in Highlight, as bd-tab-list's does. */\n @media (forced-colors: active) {\n .page-link::after {\n forced-color-adjust: none;\n background-color: Highlight;\n }\n }\n`;"]}
1
+ {"version":3,"file":"page-switcher.css.js","names":["pageSwitcherStyles"],"sources":["../../../../src/components/page-switcher/page-switcher.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport const pageSwitcherStyles = css`\n :host {\n display: block;\n position: sticky;\n top: 0;\n z-index: var(--z-sticky);\n /* --color-surface-default, the role, not --color-neutral-0, the primitive\n it resolves to. Same value; the category is the point, and CLAUDE.md's\n \"same primitive value is not same semantic meaning\" section exists for\n exactly this. Found by check:color-coverage once the background shorthand came into\n its scope -- it had been invisible because the check counted\n background-color: and this package almost never writes that. */\n background: var(--color-surface-default);\n border-bottom: var(--border-width-1) solid var(--color-border-container);\n }\n\n .inner {\n padding-block: var(--spacing-16);\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n /* The logo is a fixed 126px and the row could not give way, so on a 320px\n screen the nav simply carried on past the edge. Letting the row wrap puts\n the navigation under the brand when there is no room for both, and does\n nothing at any width where they fit -- which is why there is no media\n query here: the layout can tell when it has run out of room. */\n flex-wrap: wrap;\n gap: var(--spacing-16) var(--spacing-32);\n }\n\n .logo {\n /* no role: a wordmark, not running text. Picking a text role for it would\n assert a relationship to the type scale that a brand mark does not\n have. The nearest role by value is heading-h6, which is a heading. */\n font-size: var(--typography-fontSize-lg);\n /* no role: a wordmark, not running text. Picking a text role for it would\n assert a relationship to the type scale that a brand mark does not\n have. The nearest role by value is heading-h6, which is a heading. */\n font-weight: var(--typography-fontWeight-semibold);\n color: var(--color-text-primary);\n }\n\n /* No \".logo span\" rule. .logo is the class this component puts on a\n bd-ai-icon, and that element renders a single svg in its own shadow root --\n there is no span for a descendant selector to reach, and it never matched\n in 4 shadow roots across 556 stories. The mark colours itself from the\n token in its own path fill. */\n\n nav {\n display: flex;\n align-items: center;\n /* This row gap was already declared for two lines of links and could never\n apply, because nothing was allowed to wrap. Now it can. */\n flex-wrap: wrap;\n gap: var(--spacing-16) var(--spacing-32);\n }\n\n /* .page-link is the class this component puts on a bd-link HOST, so it can\n style the host's box and nothing inside it. The ink is bd-link's, and the\n six colour declarations that used to stand here were all overridden by the\n atom's own variant rules on the anchor one level down. Measured at 1440,\n rest and hover, current and not, after the family review moved every item\n to variant=\"primary\":\n\n not current, rest --color-text-brand rgb(0, 89, 214)\n not current, hover --color-action-primary-active rgb(0, 69, 173)\n current, rest --color-text-primary rgb(21, 23, 25), weight 700\n current, hover --color-text-primary rgb(21, 23, 25), weight 700\n\n The last row is the one that changed behaviour rather than value: the\n current item used to turn blue under the pointer, because\n .bd-link--primary:hover outweighed the atom's current class. bd-link now\n declares a current-and-hovered rule and it holds.\n\n None of those was what this sheet declared: the host went to\n --color-action-primary-hover on hover and no text ever read it, and the\n semibold on the current item lost to the atom's own current bold.\n What is left here is the box -- position, padding, the indicator -- and the\n ink is asked for through the atom's API, which is where it renders. */\n .page-link {\n position: relative;\n display: inline-block;\n font-size: var(--typography-body-regular-fontSize);\n font-family: var(--typography-body-regular-fontFamily);\n }\n\n /* The padding belongs to the PART, not to the host.\n\n A host's padding does not extend the anchor inside it, so this rule used\n to build a 44px-tall row around a 24px-tall target: measured 93x44 on the\n host with a 93x24 <a> inside it, and elementsFromPoint 4px below the top\n edge came back bd-page-switcher > bd-root (the former Storybook wrapper) > div with no <a> in the stack at\n all. The top and bottom 10px of every item were dead, 45% of the height a\n reader aims at.\n\n It is also why the focus ring wrapped the glyphs rather than the item: the\n ring is drawn on whatever element is focusable, and that was the 24px\n anchor. One boundary, two symptoms.\n\n bd-breadcrumb already fixed exactly this by moving its padding onto\n ::part(link) -- its comment records a 343x40 row whose focusable anchor\n was 43x24 -- and this is the same move. Layout is unchanged: the host has\n no padding now but wraps an anchor that does, so it still measures 44px\n and the indicator's offset still lands on the bar's bottom edge. */\n .page-link::part(link) {\n padding: var(--spacing-10) var(--spacing-0);\n }\n\n /* The selected-item underline, through the role that names it. This was the\n third spelling of the same line -- Components/Tab List and the anchor nav are\n the two the --indicator-* comment already names -- and it is the one the\n token comment says the role exists to end. Height, colour and duration\n resolve to the same values it declared by hand; the easing does not, and\n that drift is the reason the role was named.\n\n The offset is the inner's padding-bottom, so the indicator lands on the\n bar's bottom edge. This inner pads 16, and the 14 that stood here was\n close enough to look right -- the indicator sat 2px shy of the edge --\n which is how the number survived being copied into bd-anchor-nav, which\n pads 10, and put the indicator outside that bar entirely.\n\n Measured: link box bottom at 60, indicator was 71-74 against an inner\n bottom edge of 76; now 73-76. */\n .page-link::after {\n content: \"\";\n position: absolute;\n left: var(--spacing-0);\n bottom: calc(-1 * var(--spacing-16));\n /* Grown with scale from the inline start, not with width -- see\n bd-tab-list's underline, the same line. */\n width: 100%;\n scale: 0 1;\n transform-origin: left center;\n height: var(--indicator-underline-height);\n background-color: var(--indicator-color);\n transition: scale var(--indicator-underline-duration) var(--indicator-underline-easing);\n }\n\n .page-link:dir(rtl)::after {\n transform-origin: right center;\n }\n\n /* [current] is the bd-link attribute that becomes aria-current on its <a>,\n so the indicator and the announcement are one state. */\n .page-link[current]::after {\n scale: 1;\n }\n\n /* No .page-link:focus-visible rule. .page-link is the class this component\n puts on a bd-link HOST, and the focusable anchor lives inside bd-link's own\n shadow root -- measured: 2 .page-link elements, both bd-link, neither\n focusable, each with its own shadow root. The rule that stood here could\n never match, so the outline it declared, the misspelled\n --bd-accesibility-focus alias behind it and the two spacing steps it used\n as an outline width and offset never rendered at all. bd-link already\n carries the one focus ring, verified here by keyboard. */\n\n @media (prefers-reduced-motion: reduce) {\n .page-link::after {\n transition: none !important;\n }\n }\n\n /* The indicator is a background, which forced colours repaint as Canvas;\n it opts out and draws in Highlight, as bd-tab-list's does. */\n @media (forced-colors: active) {\n .page-link::after {\n forced-color-adjust: none;\n background-color: Highlight;\n }\n }\n`;"],"mappings":"A,0BAEA,IAAaA,EAAqB,CAAG,+1C"}
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
- import "../icons/bd-ai-icon.ts";
3
- import "../link/link.ts";
2
+ import "../icons/bd-ai-icon.js";
3
+ import "../link/link.js";
4
4
  interface PageSwitcherItem {
5
5
  title?: string;
6
6
  href: string;
@@ -1,74 +1,18 @@
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 "../icons/bd-ai-icon.js";
12
- import "../link/link.js";
13
- import { pageSwitcherStyles } from "./page-switcher.css.js";
14
- import { ensembleCSS } from "../shared/ensemble.css.js";
15
- /**
16
- * The product-level page navigation: a brand mark and one link per page, with
17
- * the page you are on marked.
18
- *
19
- * Two notes on the markup below, both measured rather than assumed.
20
- *
21
- * The ink is Position 2 of the wayfinding family review: colour means
22
- * AVAILABLE and neutral means current. Every item is variant="primary", so a
23
- * resting item is --color-text-brand and hovers to --color-action-primary-active;
24
- * the current one carries `current`, which drops it to --color-text-primary at
25
- * weight 700 and takes the 3px indicator. bd-link's current-and-hovered rule
26
- * keeps it there under the pointer.
27
- *
28
- * The variant is no longer switched per item. It used to be primary for the
29
- * current one and secondary for the rest, which made the current item the only
30
- * blue one -- the inverse of what the indicator says -- and left the resting
31
- * items on the muted ramp. One variant plus `current` is the same information
32
- * with one fewer thing to keep in step.
33
- *
34
- * `current` is `page`, not the generic `true`. These items are pages; the
35
- * anchor nav's items are positions inside one page and say `location`. Both are
36
- * current-location markers and they are not the same claim. bd-link puts it on
37
- * its <a> as aria-current; written here as aria-current, on the bd-link
38
- * element, it was never announced -- the <a> is in bd-link's shadow root. The
39
- * look, the indicator below included, keys on the same attribute, so the item
40
- * cannot be drawn current without being announced so.
41
- */
42
- let BdPageSwitcher = class BdPageSwitcher extends LitElement {
43
- constructor() {
44
- super(...arguments);
45
- this.items = []; // [{ title, href, active }]
46
- }
47
- static { this.styles = [tokens, ensembleCSS, pageSwitcherStyles]; }
48
- render() {
49
- 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{ensembleCSS as r}from"../shared/ensemble.css.js";import"../link/link.js";import"../icons/bd-ai-icon.js";import{pageSwitcherStyles as i}from"./page-switcher.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.items=[]}static{this.styles=[t,r,i]}render(){return o`
50
2
  <div class="bd-ensemble inner">
51
3
  <bd-ai-icon class="logo" width="200" height="24"></bd-ai-icon>
52
4
 
53
5
  <nav aria-label="Product navigation">
54
- ${this.items.map(({ title, href, active }) => html `
6
+ ${this.items.map(({title:e,href:t,active:n})=>o`
55
7
  <bd-link
56
- href=${href}
8
+ href=${t}
57
9
  variant="primary"
58
10
  no-underline
59
- current=${active ? "page" : nothing}
11
+ current=${n?`page`:s}
60
12
  class="page-link"
61
- >${title || nothing}</bd-link>
13
+ >${e||s}</bd-link>
62
14
  `)}
63
15
  </nav>
64
16
  </div>
65
- `;
66
- }
67
- };
68
- __decorate([
69
- property({ type: Array })
70
- ], BdPageSwitcher.prototype, "items", void 0);
71
- BdPageSwitcher = __decorate([
72
- defineElement("bd-page-switcher")
73
- ], BdPageSwitcher);
17
+ `}};n([c({type:Array})],l.prototype,`items`,void 0),l=n([e(`bd-page-switcher`)],l);
74
18
  //# sourceMappingURL=page-switcher.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"page-switcher.js","sourceRoot":"","sources":["../../../../src/components/page-switcher/page-switcher.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,wBAAwB,CAAC;AAChC,OAAO,iBAAiB,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAQxD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAAvC;;QAIE,UAAK,GAAuB,EAAE,CAAC,CAAC,4BAA4B;IAqB9D,CAAC;aAxBQ,WAAM,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,kBAAkB,CAAC,AAA5C,CAA6C;IAK1D,MAAM;QACJ,OAAO,IAAI,CAAA;;;;;YAKH,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,IAAI,CAAA;;qBAEvC,IAAI;;;wBAGD,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;;eAElC,KAAK,IAAI,OAAO;WACpB,CAAC;;;KAGP,CAAC;IACJ,CAAC;;AApBD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;6CACK;AAJ3B,cAAc;IADnB,aAAa,CAAC,kBAAkB,CAAC;GAC5B,cAAc,CAyBnB","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 \"../icons/bd-ai-icon.ts\";\nimport \"../link/link.ts\";\nimport { pageSwitcherStyles } from \"./page-switcher.css.ts\";\nimport { ensembleCSS } from \"../shared/ensemble.css.ts\";\n\ninterface PageSwitcherItem {\n title? : string;\n href : string;\n active?: boolean;\n}\n\n/**\n * The product-level page navigation: a brand mark and one link per page, with\n * the page you are on marked.\n *\n * Two notes on the markup below, both measured rather than assumed.\n *\n * The ink is Position 2 of the wayfinding family review: colour means\n * AVAILABLE and neutral means current. Every item is variant=\"primary\", so a\n * resting item is --color-text-brand and hovers to --color-action-primary-active;\n * the current one carries `current`, which drops it to --color-text-primary at\n * weight 700 and takes the 3px indicator. bd-link's current-and-hovered rule\n * keeps it there under the pointer.\n *\n * The variant is no longer switched per item. It used to be primary for the\n * current one and secondary for the rest, which made the current item the only\n * blue one -- the inverse of what the indicator says -- and left the resting\n * items on the muted ramp. One variant plus `current` is the same information\n * with one fewer thing to keep in step.\n *\n * `current` is `page`, not the generic `true`. These items are pages; the\n * anchor nav's items are positions inside one page and say `location`. Both are\n * current-location markers and they are not the same claim. bd-link puts it on\n * its <a> as aria-current; written here as aria-current, on the bd-link\n * element, it was never announced -- the <a> is in bd-link's shadow root. The\n * look, the indicator below included, keys on the same attribute, so the item\n * cannot be drawn current without being announced so.\n */\n@defineElement(\"bd-page-switcher\")\nclass BdPageSwitcher extends LitElement {\n static styles = [tokens, ensembleCSS, pageSwitcherStyles];\n\n @property({ type: Array })\n items: PageSwitcherItem[] = []; // [{ title, href, active }]\n\n render() {\n return html`\n <div class=\"bd-ensemble inner\">\n <bd-ai-icon class=\"logo\" width=\"200\" height=\"24\"></bd-ai-icon>\n\n <nav aria-label=\"Product navigation\">\n ${this.items.map(({ title, href, active }) => html`\n <bd-link\n href=${href}\n variant=\"primary\"\n no-underline\n current=${active ? \"page\" : nothing}\n class=\"page-link\"\n >${title || nothing}</bd-link>\n `)}\n </nav>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-page-switcher\": BdPageSwitcher;\n }\n}"]}
1
+ {"version":3,"file":"page-switcher.js","names":["_decorate","__decorate","BdPageSwitcher","LitElement","_args","tokens","ensembleCSS","pageSwitcherStyles","href","active","nothing","title","property","defineElement"],"sources":["../../../../src/components/page-switcher/page-switcher.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/icons/bd-ai-icon.ts\";\nimport \"#components/link/link.ts\";\nimport { pageSwitcherStyles } from \"./page-switcher.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\ninterface PageSwitcherItem {\n title? : string;\n href : string;\n active?: boolean;\n}\n\n/**\n * The product-level page navigation: a brand mark and one link per page, with\n * the page you are on marked.\n *\n * Two notes on the markup below, both measured rather than assumed.\n *\n * The ink is Position 2 of the wayfinding family review: colour means\n * AVAILABLE and neutral means current. Every item is variant=\"primary\", so a\n * resting item is --color-text-brand and hovers to --color-action-primary-active;\n * the current one carries `current`, which drops it to --color-text-primary at\n * weight 700 and takes the 3px indicator. bd-link's current-and-hovered rule\n * keeps it there under the pointer.\n *\n * The variant is no longer switched per item. It used to be primary for the\n * current one and secondary for the rest, which made the current item the only\n * blue one -- the inverse of what the indicator says -- and left the resting\n * items on the muted ramp. One variant plus `current` is the same information\n * with one fewer thing to keep in step.\n *\n * `current` is `page`, not the generic `true`. These items are pages; the\n * anchor nav's items are positions inside one page and say `location`. Both are\n * current-location markers and they are not the same claim. bd-link puts it on\n * its <a> as aria-current; written here as aria-current, on the bd-link\n * element, it was never announced -- the <a> is in bd-link's shadow root. The\n * look, the indicator below included, keys on the same attribute, so the item\n * cannot be drawn current without being announced so.\n */\n@defineElement(\"bd-page-switcher\")\nclass BdPageSwitcher extends LitElement {\n static styles = [tokens, ensembleCSS, pageSwitcherStyles];\n\n @property({ type: Array })\n items: PageSwitcherItem[] = []; // [{ title, href, active }]\n\n render() {\n return html`\n <div class=\"bd-ensemble inner\">\n <bd-ai-icon class=\"logo\" width=\"200\" height=\"24\"></bd-ai-icon>\n\n <nav aria-label=\"Product navigation\">\n ${this.items.map(({ title, href, active }) => html`\n <bd-link\n href=${href}\n variant=\"primary\"\n no-underline\n current=${active ? \"page\" : nothing}\n class=\"page-link\"\n >${title || nothing}</bd-link>\n `)}\n </nav>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-page-switcher\": BdPageSwitcher;\n }\n}"],"mappings":"A,scA0CA,IACME,EADN,cAC6BC,CAAW,C,8BAIV,KAAA,MAAA,CAAC,C,QAHb,KAAA,OAAA,CAACE,EAAQC,EAAaC,CAAkB,C,CAKxD,QAAS,CACP,MAAO,EAAI;;;;;YAKH,KAAK,MAAM,KAAK,CAAE,QAAO,OAAM,YAAa,CAAI;;qBAEvCC,EAAK;;;wBAGFC,EAAS,OAASC,EAAQ;;eAEnCC,GAASD,EAAQ;WACrB,EAAE;;;KAIX,CACF,EAtBGV,EAAA,CAAAY,EAAS,CAAE,KAAM,KAAM,CAAC,CAAA,EAAAV,EAAA,UAAA,QAAA,IAAA,EAAA,EAJ1B,EAAAF,EAAA,CAAAa,EAAc,kBAAkB,CAAA,EAAAX,CAAA"}
@@ -1,161 +1,2 @@
1
- import { css } from "lit";
2
- /**
3
- * Styled entirely from src/tokens/tokens.ts -- see CLAUDE.md, "The foundation
4
- * rule".
5
- *
6
- * The geometry is dimension, not spacing, on purpose: a dot is a fixed mark
7
- * and should not grow when a reader enlarges their text. The gap around each
8
- * dot is spacing, because it is padding, and padding is allowed to grow. So a
9
- * larger root font makes the targets wider and leaves the dots as drawn.
10
- */
11
- export default css `
12
- :host {
13
- display: inline-flex;
14
- }
15
-
16
- .dots {
17
- display: flex;
18
- align-items: center;
19
- /* Each button carries its own target, so the space between two dots comes
20
- from the boxes. A gap on top would push them apart without making
21
- either easier to hit. */
22
- }
23
-
24
- /* ---- dots ---------------------------------------------------------------
25
- The target. 24px tall for WCAG 2.5.8, and the dot plus 8px either side
26
- wide: 24 for a resting dot, 56 for the current pill. The dot is drawn
27
- inside it rather than being it. */
28
- .dot {
29
- display: grid;
30
- place-items: center;
31
- height: var(--dimension-24);
32
- margin: 0;
33
- padding: 0 var(--spacing-8);
34
- border: none;
35
- background: transparent;
36
- cursor: pointer;
37
- }
38
-
39
- /* The mark is a real element rather than a ::before, because the current
40
- one holds the progress fill and a Web Animation needs an element to run
41
- on. */
42
- .mark {
43
- position: relative;
44
- display: block;
45
- overflow: hidden;
46
- width: var(--dimension-8);
47
- height: var(--dimension-8);
48
- border-radius: var(--radius-full);
49
- /* no role: a resting slide mark. No semantic role names an inactive
50
- indicator, and it has to clear the 3:1 WCAG 1.4.11 asks of a control's
51
- only visual: neutral-500 measures 4.81 on the page and 4.46 on the
52
- blue-50 info tint the homepage puts it on. The design's 30% neutral-900
53
- measures 1.94 there; neutral-300, which bd-awards-flex used to draw,
54
- 2.10; and neutral-450 would clear it but exists for the dark theme only. */
55
- background: var(--color-neutral-500);
56
- transition: width var(--transition-duration-normal) var(--transition-easing-ease),
57
- background var(--transition-duration-normal) var(--transition-easing-ease);
58
- }
59
-
60
- .dot:hover .mark {
61
- /* no role: the same mark under the pointer, one step darker */
62
- background: var(--color-neutral-600);
63
- }
64
-
65
- /* The progress. Scaled rather than sized, so the fill is drawn by the
66
- compositor and never re-lays the row out. Without autoplay the current
67
- fill is whole, which is the pill as it always was; with it, the atom's
68
- Web Animation runs this from 0 to 1 over the delay and the end of the
69
- animation is the change of slide. */
70
- .fill {
71
- position: absolute;
72
- inset: 0;
73
- background: var(--indicator-color);
74
- transform: scaleX(0);
75
- transform-origin: left center;
76
- }
77
-
78
- :host(:dir(rtl)) .fill {
79
- transform-origin: right center;
80
- }
81
-
82
- /* The current slide. The pill is the design's shape. The colour is the
83
- indicator role, the one every current-item mark in the package shares --
84
- the tab and nav underlines -- so they cannot drift apart. The design draws
85
- it neutral-900 as an unbound value; using that would make this the one
86
- current mark in the system that is not the indicator. */
87
- .dot[aria-current="true"] {
88
- cursor: default;
89
- }
90
-
91
- /* The current pill is also the autoplay track: the indicator colour at a
92
- fifth, laid over whatever surface the dots sit on, inside an indicator
93
- edge. Translucent rather than a colour of its own, so it belongs to every
94
- ground -- a white track read as a hole on the awards tint and on a band.
95
- It was the resting grey before that, and the blue fill could not be seen
96
- on it: blue-500 on neutral-500 is 1.06:1.
97
- .
98
- The edge is 2px, drawn as an outline pulled inside the box rather than as
99
- a border. At 1px it was faint at 1x density, and that is the moment it
100
- matters most: the start of each slide, when nothing has filled yet and
101
- the edge alone marks the pill. A 2px border would have taken the 2px out
102
- of the box and left the fill a 4px sliver; an outline takes no room, and
103
- it paints above the fill in the fill's own colour, so the fill keeps the
104
- full 8px and the two merge where they meet. Under a forced palette the
105
- outline is repainted in a system colour and still draws.
106
- .
107
- Measured: the fill against the track is 3.10:1 or better on the page,
108
- the container, the subtle band and the awards tint; the edge against the
109
- ground 4.05:1 or better. When the fill is whole the edge and fill are one
110
- colour, which is the solid pill a dots row without autoplay shows. */
111
- .dot[aria-current="true"] .mark {
112
- width: var(--dimension-40);
113
- background: color-mix(in srgb, var(--indicator-color) 20%, transparent);
114
- outline: var(--border-width-2) solid var(--indicator-color);
115
- outline-offset: calc(-1 * var(--border-width-2));
116
- }
117
-
118
- .dot[aria-current="true"] .fill {
119
- transform: scaleX(1);
120
- }
121
-
122
- /* ---- focus ------------------------------------------------------------
123
- the one focus ring -- see Foundations/Focus. It follows the target, not
124
- the mark, so keyboard focus shows the size the button really is. */
125
- .dot:focus {
126
- outline: none;
127
- }
128
-
129
- .dot:focus-visible {
130
- box-shadow: var(--focus-outline-primary);
131
- /* forced-colors mode does not paint box-shadow, so the ring
132
- vanishes there; it does paint an outline, in a system colour. This one
133
- is transparent everywhere else, and the offset lands it on the ring's
134
- outer band. */
135
- outline: var(--border-width-2) solid transparent;
136
- outline-offset: var(--focus-outline-offset);
137
- border-radius: var(--radius-full);
138
- }
139
-
140
- @media (prefers-reduced-motion: reduce) {
141
- .mark {
142
- transition: none;
143
- }
144
- }
145
-
146
- /* A forced palette repaints backgrounds, which would erase every dot.
147
- Borders survive it, so a resting dot is drawn as a ring, and the fill is
148
- kept out of the repaint and drawn in the highlight colour -- so the
149
- current pill still shows, and so does the time it has left. */
150
- @media (forced-colors: active) {
151
- .mark {
152
- box-sizing: border-box;
153
- border: var(--border-width-1) solid currentColor;
154
- }
155
- .fill {
156
- forced-color-adjust: none;
157
- background: Highlight;
158
- }
159
- }
160
- `;
1
+ import{css as e}from"lit";var t=e`:host{display:inline-flex}.dots{align-items:center;display:flex}.dot{height:var(--dimension-24);padding:0 var(--spacing-8);cursor:pointer;background:0 0;border:none;place-items:center;margin:0;display:grid}.mark{width:var(--dimension-8);height:var(--dimension-8);border-radius:var(--radius-full);background:var(--color-neutral-500);transition:width var(--transition-duration-normal) var(--transition-easing-ease), background var(--transition-duration-normal) var(--transition-easing-ease);display:block;position:relative;overflow:hidden}.dot:hover .mark{background:var(--color-neutral-600)}.fill{background:var(--indicator-color);transform-origin:0;position:absolute;inset:0;transform:scaleX(0)}:host(:dir(rtl)) .fill{transform-origin:100%}.dot[aria-current=true]{cursor:default}.dot[aria-current=true] .mark{width:var(--dimension-40);background:color-mix(in srgb, var(--indicator-color) 20%, transparent);outline:var(--border-width-2) solid var(--indicator-color);outline-offset:calc(-1 * var(--border-width-2))}.dot[aria-current=true] .fill{transform:scaleX(1)}.dot:focus{outline:none}.dot:focus-visible{box-shadow:var(--focus-outline-primary);outline:var(--border-width-2) solid transparent;outline-offset:var(--focus-outline-offset);border-radius:var(--radius-full)}@media (prefers-reduced-motion:reduce){.mark{transition:none}}@media (forced-colors:active){.mark{box-sizing:border-box;border:var(--border-width-1) solid currentColor}.fill{forced-color-adjust:none;background:highlight}}`;export{t as default};
161
2
  //# sourceMappingURL=pagination-dots.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination-dots.css.js","sourceRoot":"","sources":["../../../../src/components/pagination-dots/pagination-dots.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B;;;;;;;;GAQG;AACH,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqJjB,CAAC","sourcesContent":["import { css } from \"lit\";\n\n/**\n * Styled entirely from src/tokens/tokens.ts -- see CLAUDE.md, \"The foundation\n * rule\".\n *\n * The geometry is dimension, not spacing, on purpose: a dot is a fixed mark\n * and should not grow when a reader enlarges their text. The gap around each\n * dot is spacing, because it is padding, and padding is allowed to grow. So a\n * larger root font makes the targets wider and leaves the dots as drawn.\n */\nexport default css`\n :host {\n display: inline-flex;\n }\n\n .dots {\n display: flex;\n align-items: center;\n /* Each button carries its own target, so the space between two dots comes\n from the boxes. A gap on top would push them apart without making\n either easier to hit. */\n }\n\n /* ---- dots ---------------------------------------------------------------\n The target. 24px tall for WCAG 2.5.8, and the dot plus 8px either side\n wide: 24 for a resting dot, 56 for the current pill. The dot is drawn\n inside it rather than being it. */\n .dot {\n display: grid;\n place-items: center;\n height: var(--dimension-24);\n margin: 0;\n padding: 0 var(--spacing-8);\n border: none;\n background: transparent;\n cursor: pointer;\n }\n\n /* The mark is a real element rather than a ::before, because the current\n one holds the progress fill and a Web Animation needs an element to run\n on. */\n .mark {\n position: relative;\n display: block;\n overflow: hidden;\n width: var(--dimension-8);\n height: var(--dimension-8);\n border-radius: var(--radius-full);\n /* no role: a resting slide mark. No semantic role names an inactive\n indicator, and it has to clear the 3:1 WCAG 1.4.11 asks of a control's\n only visual: neutral-500 measures 4.81 on the page and 4.46 on the\n blue-50 info tint the homepage puts it on. The design's 30% neutral-900\n measures 1.94 there; neutral-300, which bd-awards-flex used to draw,\n 2.10; and neutral-450 would clear it but exists for the dark theme only. */\n background: var(--color-neutral-500);\n transition: width var(--transition-duration-normal) var(--transition-easing-ease),\n background var(--transition-duration-normal) var(--transition-easing-ease);\n }\n\n .dot:hover .mark {\n /* no role: the same mark under the pointer, one step darker */\n background: var(--color-neutral-600);\n }\n\n /* The progress. Scaled rather than sized, so the fill is drawn by the\n compositor and never re-lays the row out. Without autoplay the current\n fill is whole, which is the pill as it always was; with it, the atom's\n Web Animation runs this from 0 to 1 over the delay and the end of the\n animation is the change of slide. */\n .fill {\n position: absolute;\n inset: 0;\n background: var(--indicator-color);\n transform: scaleX(0);\n transform-origin: left center;\n }\n\n :host(:dir(rtl)) .fill {\n transform-origin: right center;\n }\n\n /* The current slide. The pill is the design's shape. The colour is the\n indicator role, the one every current-item mark in the package shares --\n the tab and nav underlines -- so they cannot drift apart. The design draws\n it neutral-900 as an unbound value; using that would make this the one\n current mark in the system that is not the indicator. */\n .dot[aria-current=\"true\"] {\n cursor: default;\n }\n\n /* The current pill is also the autoplay track: the indicator colour at a\n fifth, laid over whatever surface the dots sit on, inside an indicator\n edge. Translucent rather than a colour of its own, so it belongs to every\n ground -- a white track read as a hole on the awards tint and on a band.\n It was the resting grey before that, and the blue fill could not be seen\n on it: blue-500 on neutral-500 is 1.06:1.\n .\n The edge is 2px, drawn as an outline pulled inside the box rather than as\n a border. At 1px it was faint at 1x density, and that is the moment it\n matters most: the start of each slide, when nothing has filled yet and\n the edge alone marks the pill. A 2px border would have taken the 2px out\n of the box and left the fill a 4px sliver; an outline takes no room, and\n it paints above the fill in the fill's own colour, so the fill keeps the\n full 8px and the two merge where they meet. Under a forced palette the\n outline is repainted in a system colour and still draws.\n .\n Measured: the fill against the track is 3.10:1 or better on the page,\n the container, the subtle band and the awards tint; the edge against the\n ground 4.05:1 or better. When the fill is whole the edge and fill are one\n colour, which is the solid pill a dots row without autoplay shows. */\n .dot[aria-current=\"true\"] .mark {\n width: var(--dimension-40);\n background: color-mix(in srgb, var(--indicator-color) 20%, transparent);\n outline: var(--border-width-2) solid var(--indicator-color);\n outline-offset: calc(-1 * var(--border-width-2));\n }\n\n .dot[aria-current=\"true\"] .fill {\n transform: scaleX(1);\n }\n\n /* ---- focus ------------------------------------------------------------\n the one focus ring -- see Foundations/Focus. It follows the target, not\n the mark, so keyboard focus shows the size the button really is. */\n .dot:focus {\n outline: none;\n }\n\n .dot:focus-visible {\n box-shadow: var(--focus-outline-primary);\n /* forced-colors mode does not paint box-shadow, so the ring\n vanishes there; it does paint an outline, in a system colour. This one\n is transparent everywhere else, and the offset lands it on the ring's\n outer band. */\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n border-radius: var(--radius-full);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .mark {\n transition: none;\n }\n }\n\n /* A forced palette repaints backgrounds, which would erase every dot.\n Borders survive it, so a resting dot is drawn as a ring, and the fill is\n kept out of the repaint and drawn in the highlight colour -- so the\n current pill still shows, and so does the time it has left. */\n @media (forced-colors: active) {\n .mark {\n box-sizing: border-box;\n border: var(--border-width-1) solid currentColor;\n }\n .fill {\n forced-color-adjust: none;\n background: Highlight;\n }\n }\n`;\n"]}
1
+ {"version":3,"file":"pagination-dots.css.js","names":["pagination_dots_css_default"],"sources":["../../../../src/components/pagination-dots/pagination-dots.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/**\n * Styled entirely from src/tokens/tokens.ts -- see CLAUDE.md, \"The foundation\n * rule\".\n *\n * The geometry is dimension, not spacing, on purpose: a dot is a fixed mark\n * and should not grow when a reader enlarges their text. The gap around each\n * dot is spacing, because it is padding, and padding is allowed to grow. So a\n * larger root font makes the targets wider and leaves the dots as drawn.\n */\nexport default css`\n :host {\n display: inline-flex;\n }\n\n .dots {\n display: flex;\n align-items: center;\n /* Each button carries its own target, so the space between two dots comes\n from the boxes. A gap on top would push them apart without making\n either easier to hit. */\n }\n\n /* ---- dots ---------------------------------------------------------------\n The target. 24px tall for WCAG 2.5.8, and the dot plus 8px either side\n wide: 24 for a resting dot, 56 for the current pill. The dot is drawn\n inside it rather than being it. */\n .dot {\n display: grid;\n place-items: center;\n height: var(--dimension-24);\n margin: 0;\n padding: 0 var(--spacing-8);\n border: none;\n background: transparent;\n cursor: pointer;\n }\n\n /* The mark is a real element rather than a ::before, because the current\n one holds the progress fill and a Web Animation needs an element to run\n on. */\n .mark {\n position: relative;\n display: block;\n overflow: hidden;\n width: var(--dimension-8);\n height: var(--dimension-8);\n border-radius: var(--radius-full);\n /* no role: a resting slide mark. No semantic role names an inactive\n indicator, and it has to clear the 3:1 WCAG 1.4.11 asks of a control's\n only visual: neutral-500 measures 4.81 on the page and 4.46 on the\n blue-50 info tint the homepage puts it on. The design's 30% neutral-900\n measures 1.94 there; neutral-300, which bd-awards-flex used to draw,\n 2.10; and neutral-450 would clear it but exists for the dark theme only. */\n background: var(--color-neutral-500);\n transition: width var(--transition-duration-normal) var(--transition-easing-ease),\n background var(--transition-duration-normal) var(--transition-easing-ease);\n }\n\n .dot:hover .mark {\n /* no role: the same mark under the pointer, one step darker */\n background: var(--color-neutral-600);\n }\n\n /* The progress. Scaled rather than sized, so the fill is drawn by the\n compositor and never re-lays the row out. Without autoplay the current\n fill is whole, which is the pill as it always was; with it, the atom's\n Web Animation runs this from 0 to 1 over the delay and the end of the\n animation is the change of slide. */\n .fill {\n position: absolute;\n inset: 0;\n background: var(--indicator-color);\n transform: scaleX(0);\n transform-origin: left center;\n }\n\n :host(:dir(rtl)) .fill {\n transform-origin: right center;\n }\n\n /* The current slide. The pill is the design's shape. The colour is the\n indicator role, the one every current-item mark in the package shares --\n the tab and nav underlines -- so they cannot drift apart. The design draws\n it neutral-900 as an unbound value; using that would make this the one\n current mark in the system that is not the indicator. */\n .dot[aria-current=\"true\"] {\n cursor: default;\n }\n\n /* The current pill is also the autoplay track: the indicator colour at a\n fifth, laid over whatever surface the dots sit on, inside an indicator\n edge. Translucent rather than a colour of its own, so it belongs to every\n ground -- a white track read as a hole on the awards tint and on a band.\n It was the resting grey before that, and the blue fill could not be seen\n on it: blue-500 on neutral-500 is 1.06:1.\n .\n The edge is 2px, drawn as an outline pulled inside the box rather than as\n a border. At 1px it was faint at 1x density, and that is the moment it\n matters most: the start of each slide, when nothing has filled yet and\n the edge alone marks the pill. A 2px border would have taken the 2px out\n of the box and left the fill a 4px sliver; an outline takes no room, and\n it paints above the fill in the fill's own colour, so the fill keeps the\n full 8px and the two merge where they meet. Under a forced palette the\n outline is repainted in a system colour and still draws.\n .\n Measured: the fill against the track is 3.10:1 or better on the page,\n the container, the subtle band and the awards tint; the edge against the\n ground 4.05:1 or better. When the fill is whole the edge and fill are one\n colour, which is the solid pill a dots row without autoplay shows. */\n .dot[aria-current=\"true\"] .mark {\n width: var(--dimension-40);\n background: color-mix(in srgb, var(--indicator-color) 20%, transparent);\n outline: var(--border-width-2) solid var(--indicator-color);\n outline-offset: calc(-1 * var(--border-width-2));\n }\n\n .dot[aria-current=\"true\"] .fill {\n transform: scaleX(1);\n }\n\n /* ---- focus ------------------------------------------------------------\n the one focus ring -- see Foundations/Focus. It follows the target, not\n the mark, so keyboard focus shows the size the button really is. */\n .dot:focus {\n outline: none;\n }\n\n .dot:focus-visible {\n box-shadow: var(--focus-outline-primary);\n /* forced-colors mode does not paint box-shadow, so the ring\n vanishes there; it does paint an outline, in a system colour. This one\n is transparent everywhere else, and the offset lands it on the ring's\n outer band. */\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n border-radius: var(--radius-full);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .mark {\n transition: none;\n }\n }\n\n /* A forced palette repaints backgrounds, which would erase every dot.\n Borders survive it, so a resting dot is drawn as a ring, and the fill is\n kept out of the repaint and drawn in the highlight colour -- so the\n current pill still shows, and so does the time it has left. */\n @media (forced-colors: active) {\n .mark {\n box-sizing: border-box;\n border: var(--border-width-1) solid currentColor;\n }\n .fill {\n forced-color-adjust: none;\n background: Highlight;\n }\n }\n`;\n"],"mappings":"A,0BAWA,IAAAA,EAAe,CAAG,s9C"}
@@ -1,6 +1,6 @@
1
1
  import { LitElement, nothing, type PropertyValues } from "lit";
2
- import "../shared/events.ts";
3
- import "../../tokens/tokens.ts";
2
+ import "../shared/events.js";
3
+ import "../../tokens/tokens.js";
4
4
  declare class BdPaginationDots extends LitElement {
5
5
  static styles: import("lit").CSSResult[];
6
6
  count: number;