@newtone-dev/ui-react-web 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +83 -0
  3. package/dist/accordion/accordion.css +239 -0
  4. package/dist/accordion/accordion.d.ts +106 -0
  5. package/dist/accordion/accordion.d.ts.map +1 -0
  6. package/dist/accordion/accordion.js +15 -0
  7. package/dist/accordion/accordion.js.map +1 -0
  8. package/dist/accordion/index.d.ts +4 -0
  9. package/dist/accordion/index.d.ts.map +1 -0
  10. package/dist/accordion/index.js +3 -0
  11. package/dist/accordion/index.js.map +1 -0
  12. package/dist/action/action.css +86 -0
  13. package/dist/action/action.d.ts +62 -0
  14. package/dist/action/action.d.ts.map +1 -0
  15. package/dist/action/action.js +59 -0
  16. package/dist/action/action.js.map +1 -0
  17. package/dist/action/index.d.ts +4 -0
  18. package/dist/action/index.d.ts.map +1 -0
  19. package/dist/action/index.js +3 -0
  20. package/dist/action/index.js.map +1 -0
  21. package/dist/avatar/avatar.css +39 -0
  22. package/dist/avatar/avatar.d.ts +43 -0
  23. package/dist/avatar/avatar.d.ts.map +1 -0
  24. package/dist/avatar/avatar.js +38 -0
  25. package/dist/avatar/avatar.js.map +1 -0
  26. package/dist/avatar/index.d.ts +4 -0
  27. package/dist/avatar/index.d.ts.map +1 -0
  28. package/dist/avatar/index.js +3 -0
  29. package/dist/avatar/index.js.map +1 -0
  30. package/dist/button/button.css +112 -0
  31. package/dist/button/button.d.ts +36 -0
  32. package/dist/button/button.d.ts.map +1 -0
  33. package/dist/button/button.js +24 -0
  34. package/dist/button/button.js.map +1 -0
  35. package/dist/button/index.d.ts +3 -0
  36. package/dist/button/index.d.ts.map +1 -0
  37. package/dist/button/index.js +2 -0
  38. package/dist/button/index.js.map +1 -0
  39. package/dist/card-box/card-box.css +75 -0
  40. package/dist/card-box/card-box.d.ts +114 -0
  41. package/dist/card-box/card-box.d.ts.map +1 -0
  42. package/dist/card-box/card-box.js +9 -0
  43. package/dist/card-box/card-box.js.map +1 -0
  44. package/dist/card-box/index.d.ts +4 -0
  45. package/dist/card-box/index.d.ts.map +1 -0
  46. package/dist/card-box/index.js +3 -0
  47. package/dist/card-box/index.js.map +1 -0
  48. package/dist/card-grid/card-grid.css +97 -0
  49. package/dist/card-grid/card-grid.d.ts +63 -0
  50. package/dist/card-grid/card-grid.d.ts.map +1 -0
  51. package/dist/card-grid/card-grid.js +27 -0
  52. package/dist/card-grid/card-grid.js.map +1 -0
  53. package/dist/card-grid/index.d.ts +4 -0
  54. package/dist/card-grid/index.d.ts.map +1 -0
  55. package/dist/card-grid/index.js +3 -0
  56. package/dist/card-grid/index.js.map +1 -0
  57. package/dist/color/gamut.d.ts +20 -0
  58. package/dist/color/gamut.d.ts.map +1 -0
  59. package/dist/color/gamut.js +72 -0
  60. package/dist/color/gamut.js.map +1 -0
  61. package/dist/color/index.d.ts +8 -0
  62. package/dist/color/index.d.ts.map +1 -0
  63. package/dist/color/index.js +21 -0
  64. package/dist/color/index.js.map +1 -0
  65. package/dist/color/oklch.d.ts +35 -0
  66. package/dist/color/oklch.d.ts.map +1 -0
  67. package/dist/color/oklch.js +103 -0
  68. package/dist/color/oklch.js.map +1 -0
  69. package/dist/color/scale.d.ts +20 -0
  70. package/dist/color/scale.d.ts.map +1 -0
  71. package/dist/color/scale.js +75 -0
  72. package/dist/color/scale.js.map +1 -0
  73. package/dist/color/seeds.d.ts +33 -0
  74. package/dist/color/seeds.d.ts.map +1 -0
  75. package/dist/color/seeds.js +148 -0
  76. package/dist/color/seeds.js.map +1 -0
  77. package/dist/control/control.css +203 -0
  78. package/dist/control/control.d.ts +112 -0
  79. package/dist/control/control.d.ts.map +1 -0
  80. package/dist/control/control.js +107 -0
  81. package/dist/control/control.js.map +1 -0
  82. package/dist/control/index.d.ts +4 -0
  83. package/dist/control/index.d.ts.map +1 -0
  84. package/dist/control/index.js +3 -0
  85. package/dist/control/index.js.map +1 -0
  86. package/dist/data-list/data-list.css +52 -0
  87. package/dist/data-list/data-list.d.ts +55 -0
  88. package/dist/data-list/data-list.d.ts.map +1 -0
  89. package/dist/data-list/data-list.js +51 -0
  90. package/dist/data-list/data-list.js.map +1 -0
  91. package/dist/data-list/index.d.ts +5 -0
  92. package/dist/data-list/index.d.ts.map +1 -0
  93. package/dist/data-list/index.js +3 -0
  94. package/dist/data-list/index.js.map +1 -0
  95. package/dist/data-list/row/row.d.ts +16 -0
  96. package/dist/data-list/row/row.d.ts.map +1 -0
  97. package/dist/data-list/row/row.js +15 -0
  98. package/dist/data-list/row/row.js.map +1 -0
  99. package/dist/feature-card/feature-card.css +93 -0
  100. package/dist/feature-card/feature-card.d.ts +68 -0
  101. package/dist/feature-card/feature-card.d.ts.map +1 -0
  102. package/dist/feature-card/feature-card.js +11 -0
  103. package/dist/feature-card/feature-card.js.map +1 -0
  104. package/dist/feature-card/index.d.ts +4 -0
  105. package/dist/feature-card/index.d.ts.map +1 -0
  106. package/dist/feature-card/index.js +3 -0
  107. package/dist/feature-card/index.js.map +1 -0
  108. package/dist/framed-icon/framed-icon.css +77 -0
  109. package/dist/framed-icon/framed-icon.d.ts +61 -0
  110. package/dist/framed-icon/framed-icon.d.ts.map +1 -0
  111. package/dist/framed-icon/framed-icon.js +14 -0
  112. package/dist/framed-icon/framed-icon.js.map +1 -0
  113. package/dist/framed-icon/index.d.ts +4 -0
  114. package/dist/framed-icon/index.d.ts.map +1 -0
  115. package/dist/framed-icon/index.js +3 -0
  116. package/dist/framed-icon/index.js.map +1 -0
  117. package/dist/gallery/gallery.css +165 -0
  118. package/dist/gallery/gallery.d.ts +85 -0
  119. package/dist/gallery/gallery.d.ts.map +1 -0
  120. package/dist/gallery/gallery.js +75 -0
  121. package/dist/gallery/gallery.js.map +1 -0
  122. package/dist/gallery/index.d.ts +4 -0
  123. package/dist/gallery/index.d.ts.map +1 -0
  124. package/dist/gallery/index.js +3 -0
  125. package/dist/gallery/index.js.map +1 -0
  126. package/dist/icon/icon.css +83 -0
  127. package/dist/icon/icon.d.ts +69 -0
  128. package/dist/icon/icon.d.ts.map +1 -0
  129. package/dist/icon/icon.js +18 -0
  130. package/dist/icon/icon.js.map +1 -0
  131. package/dist/icon/index.d.ts +4 -0
  132. package/dist/icon/index.d.ts.map +1 -0
  133. package/dist/icon/index.js +3 -0
  134. package/dist/icon/index.js.map +1 -0
  135. package/dist/icon-link/icon-link.css +57 -0
  136. package/dist/icon-link/icon-link.d.ts +47 -0
  137. package/dist/icon-link/icon-link.d.ts.map +1 -0
  138. package/dist/icon-link/icon-link.js +35 -0
  139. package/dist/icon-link/icon-link.js.map +1 -0
  140. package/dist/icon-link/index.d.ts +4 -0
  141. package/dist/icon-link/index.d.ts.map +1 -0
  142. package/dist/icon-link/index.js +3 -0
  143. package/dist/icon-link/index.js.map +1 -0
  144. package/dist/identity/identity.d.ts +25 -0
  145. package/dist/identity/identity.d.ts.map +1 -0
  146. package/dist/identity/identity.js +25 -0
  147. package/dist/identity/identity.js.map +1 -0
  148. package/dist/identity/index.d.ts +3 -0
  149. package/dist/identity/index.d.ts.map +1 -0
  150. package/dist/identity/index.js +2 -0
  151. package/dist/identity/index.js.map +1 -0
  152. package/dist/index.d.ts +57 -0
  153. package/dist/index.d.ts.map +1 -0
  154. package/dist/index.js +29 -0
  155. package/dist/index.js.map +1 -0
  156. package/dist/link/index.d.ts +3 -0
  157. package/dist/link/index.d.ts.map +1 -0
  158. package/dist/link/index.js +2 -0
  159. package/dist/link/index.js.map +1 -0
  160. package/dist/link/link.css +65 -0
  161. package/dist/link/link.d.ts +38 -0
  162. package/dist/link/link.d.ts.map +1 -0
  163. package/dist/link/link.js +22 -0
  164. package/dist/link/link.js.map +1 -0
  165. package/dist/logo-marquee/index.d.ts +4 -0
  166. package/dist/logo-marquee/index.d.ts.map +1 -0
  167. package/dist/logo-marquee/index.js +3 -0
  168. package/dist/logo-marquee/index.js.map +1 -0
  169. package/dist/logo-marquee/logo-marquee.css +227 -0
  170. package/dist/logo-marquee/logo-marquee.d.ts +69 -0
  171. package/dist/logo-marquee/logo-marquee.d.ts.map +1 -0
  172. package/dist/logo-marquee/logo-marquee.js +11 -0
  173. package/dist/logo-marquee/logo-marquee.js.map +1 -0
  174. package/dist/media-plate/index.d.ts +4 -0
  175. package/dist/media-plate/index.d.ts.map +1 -0
  176. package/dist/media-plate/index.js +3 -0
  177. package/dist/media-plate/index.js.map +1 -0
  178. package/dist/media-plate/media-plate.css +41 -0
  179. package/dist/media-plate/media-plate.d.ts +45 -0
  180. package/dist/media-plate/media-plate.d.ts.map +1 -0
  181. package/dist/media-plate/media-plate.js +5 -0
  182. package/dist/media-plate/media-plate.js.map +1 -0
  183. package/dist/media-window/media-window.css +82 -0
  184. package/dist/navbar/actions/actions.d.ts +14 -0
  185. package/dist/navbar/actions/actions.d.ts.map +1 -0
  186. package/dist/navbar/actions/actions.js +12 -0
  187. package/dist/navbar/actions/actions.js.map +1 -0
  188. package/dist/navbar/brand/brand.d.ts +12 -0
  189. package/dist/navbar/brand/brand.d.ts.map +1 -0
  190. package/dist/navbar/brand/brand.js +10 -0
  191. package/dist/navbar/brand/brand.js.map +1 -0
  192. package/dist/navbar/context.d.ts +12 -0
  193. package/dist/navbar/context.d.ts.map +1 -0
  194. package/dist/navbar/context.js +13 -0
  195. package/dist/navbar/context.js.map +1 -0
  196. package/dist/navbar/index.d.ts +8 -0
  197. package/dist/navbar/index.d.ts.map +1 -0
  198. package/dist/navbar/index.js +8 -0
  199. package/dist/navbar/index.js.map +1 -0
  200. package/dist/navbar/link/drawer/drawer.css +50 -0
  201. package/dist/navbar/link/drawer/drawer.d.ts +20 -0
  202. package/dist/navbar/link/drawer/drawer.d.ts.map +1 -0
  203. package/dist/navbar/link/drawer/drawer.js +44 -0
  204. package/dist/navbar/link/drawer/drawer.js.map +1 -0
  205. package/dist/navbar/link/link.css +54 -0
  206. package/dist/navbar/link/link.d.ts +30 -0
  207. package/dist/navbar/link/link.d.ts.map +1 -0
  208. package/dist/navbar/link/link.js +29 -0
  209. package/dist/navbar/link/link.js.map +1 -0
  210. package/dist/navbar/links/links.d.ts +14 -0
  211. package/dist/navbar/links/links.d.ts.map +1 -0
  212. package/dist/navbar/links/links.js +14 -0
  213. package/dist/navbar/links/links.js.map +1 -0
  214. package/dist/navbar/menu-button/menu-button.css +20 -0
  215. package/dist/navbar/menu-button/menu-button.d.ts +13 -0
  216. package/dist/navbar/menu-button/menu-button.d.ts.map +1 -0
  217. package/dist/navbar/menu-button/menu-button.js +20 -0
  218. package/dist/navbar/menu-button/menu-button.js.map +1 -0
  219. package/dist/navbar/navbar.css +179 -0
  220. package/dist/navbar/navbar.d.ts +58 -0
  221. package/dist/navbar/navbar.d.ts.map +1 -0
  222. package/dist/navbar/navbar.js +96 -0
  223. package/dist/navbar/navbar.js.map +1 -0
  224. package/dist/numbered-list/index.d.ts +4 -0
  225. package/dist/numbered-list/index.d.ts.map +1 -0
  226. package/dist/numbered-list/index.js +3 -0
  227. package/dist/numbered-list/index.js.map +1 -0
  228. package/dist/numbered-list/numbered-list.css +46 -0
  229. package/dist/numbered-list/numbered-list.d.ts +31 -0
  230. package/dist/numbered-list/numbered-list.d.ts.map +1 -0
  231. package/dist/numbered-list/numbered-list.js +26 -0
  232. package/dist/numbered-list/numbered-list.js.map +1 -0
  233. package/dist/on-media/on-media.css +198 -0
  234. package/dist/quick-action/index.d.ts +4 -0
  235. package/dist/quick-action/index.d.ts.map +1 -0
  236. package/dist/quick-action/index.js +3 -0
  237. package/dist/quick-action/index.js.map +1 -0
  238. package/dist/quick-action/quick-action.css +70 -0
  239. package/dist/quick-action/quick-action.d.ts +68 -0
  240. package/dist/quick-action/quick-action.d.ts.map +1 -0
  241. package/dist/quick-action/quick-action.js +54 -0
  242. package/dist/quick-action/quick-action.js.map +1 -0
  243. package/dist/segmented-control/index.d.ts +4 -0
  244. package/dist/segmented-control/index.d.ts.map +1 -0
  245. package/dist/segmented-control/index.js +3 -0
  246. package/dist/segmented-control/index.js.map +1 -0
  247. package/dist/segmented-control/segmented-control.css +206 -0
  248. package/dist/segmented-control/segmented-control.d.ts +91 -0
  249. package/dist/segmented-control/segmented-control.d.ts.map +1 -0
  250. package/dist/segmented-control/segmented-control.js +9 -0
  251. package/dist/segmented-control/segmented-control.js.map +1 -0
  252. package/dist/stat-card/index.d.ts +4 -0
  253. package/dist/stat-card/index.d.ts.map +1 -0
  254. package/dist/stat-card/index.js +3 -0
  255. package/dist/stat-card/index.js.map +1 -0
  256. package/dist/stat-card/stat-card.css +56 -0
  257. package/dist/stat-card/stat-card.d.ts +48 -0
  258. package/dist/stat-card/stat-card.d.ts.map +1 -0
  259. package/dist/stat-card/stat-card.js +11 -0
  260. package/dist/stat-card/stat-card.js.map +1 -0
  261. package/dist/surface/index.d.ts +3 -0
  262. package/dist/surface/index.d.ts.map +1 -0
  263. package/dist/surface/index.js +2 -0
  264. package/dist/surface/index.js.map +1 -0
  265. package/dist/surface/surface.d.ts +40 -0
  266. package/dist/surface/surface.d.ts.map +1 -0
  267. package/dist/surface/surface.js +22 -0
  268. package/dist/surface/surface.js.map +1 -0
  269. package/dist/tag/index.d.ts +4 -0
  270. package/dist/tag/index.d.ts.map +1 -0
  271. package/dist/tag/index.js +3 -0
  272. package/dist/tag/index.js.map +1 -0
  273. package/dist/tag/tag.css +77 -0
  274. package/dist/tag/tag.d.ts +80 -0
  275. package/dist/tag/tag.d.ts.map +1 -0
  276. package/dist/tag/tag.js +16 -0
  277. package/dist/tag/tag.js.map +1 -0
  278. package/dist/text/index.d.ts +3 -0
  279. package/dist/text/index.d.ts.map +1 -0
  280. package/dist/text/index.js +2 -0
  281. package/dist/text/index.js.map +1 -0
  282. package/dist/text/text.css +232 -0
  283. package/dist/text/text.d.ts +64 -0
  284. package/dist/text/text.d.ts.map +1 -0
  285. package/dist/text/text.js +37 -0
  286. package/dist/text/text.js.map +1 -0
  287. package/dist/video-lightbox/index.d.ts +4 -0
  288. package/dist/video-lightbox/index.d.ts.map +1 -0
  289. package/dist/video-lightbox/index.js +3 -0
  290. package/dist/video-lightbox/index.js.map +1 -0
  291. package/dist/video-lightbox/video-lightbox.css +167 -0
  292. package/dist/video-lightbox/video-lightbox.d.ts +92 -0
  293. package/dist/video-lightbox/video-lightbox.d.ts.map +1 -0
  294. package/dist/video-lightbox/video-lightbox.js +31 -0
  295. package/dist/video-lightbox/video-lightbox.js.map +1 -0
  296. package/dist/wrapper/index.d.ts +3 -0
  297. package/dist/wrapper/index.d.ts.map +1 -0
  298. package/dist/wrapper/index.js +2 -0
  299. package/dist/wrapper/index.js.map +1 -0
  300. package/dist/wrapper/wrapper.d.ts +113 -0
  301. package/dist/wrapper/wrapper.d.ts.map +1 -0
  302. package/dist/wrapper/wrapper.js +83 -0
  303. package/dist/wrapper/wrapper.js.map +1 -0
  304. package/package.json +184 -0
@@ -0,0 +1,4 @@
1
+ /** The door. See the repo blueprint, section 3. */
2
+ export { LogoMarquee } from './logo-marquee.js';
3
+ export type { LogoMarqueeProps } from './logo-marquee.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/logo-marquee/index.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** The door. See the repo blueprint, section 3. */
2
+ export { LogoMarquee } from './logo-marquee.js';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/logo-marquee/index.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,227 @@
1
+ /* The strip's sheet: the clip, the fade, the loop, the seam and the marks. All of it invariant --
2
+ * there is no variant and no state here, so the whole component is this file plus three elements
3
+ * and a counted custom property. See the repo blueprint, sections 4.1.9 and 4.2.
4
+ *
5
+ * ---- it does not bleed, and that is the decision rather than the omission ---
6
+ *
7
+ * The original cancels the page gutter with a negative margin and fades its mask exactly that far,
8
+ * so the strip runs to the glass and dissolves into the margin. **That requires a component to know
9
+ * how much padding its ancestor spent** -- which cannot be asked in CSS, so that library publishes
10
+ * the gutter as a channel and documents a standing hazard instead: the strip belongs in one
11
+ * specific page slot, and dropped in a padded box the negative margin drags the row out of its
12
+ * container and gives the whole page a sideways scrollbar.
13
+ *
14
+ * **This site has no page-slot vocabulary to make that exact**, so ours is the CONTAINED case --
15
+ * which is not a lesser shape invented here but the one that library already falls back to where
16
+ * its own aside column publishes a bleed of zero. The fade is a floor rather than a derived length,
17
+ * there is no negative margin, and the strip dissolves inside its own column.
18
+ *
19
+ * What is given up is the band reading as continuing past the page. What is kept is the reason the
20
+ * fade exists at all: a loop cut square at its box makes marks pop in and out at the boundary, which
21
+ * reads as frames being dropped. Section 8 carries the row, with one trigger -- the contained fade
22
+ * is looked at in a browser and reads as the strip stopping short.
23
+ *
24
+ * ---- the fade ---------------------------------------------------------------
25
+ *
26
+ * `3rem` is 48px, the floor the original spends on a contained strip, and it is a length rather
27
+ * than a spacing token for framed-icon.css's reason: a mark's air and the page's spacing scale have
28
+ * no reason to move together, and a length that happens to equal a token is a coincidence.
29
+ *
30
+ * **The gradient is named once and used twice.** Written out per property it would be two copies of
31
+ * one expression and two places for a retune to miss one; a custom property substitutes as plain
32
+ * tokens, so both properties parse the same gradient.
33
+ *
34
+ * `#000` here is a MASK ALPHA and not paint -- in a mask the channel that matters is opacity and
35
+ * black is simply *fully opaque*. No colour is being named, so the repo blueprint's section 5 row
36
+ * about a hex in a component does not reach this, and nothing here changes when the surface does.
37
+ *
38
+ * **It is the one hex in this library and the row names it rather than being widened for it**, which
39
+ * is `governance/evidence/an-exception-is-a-claim-about-what-else-exists.md`: the claim is that every other
40
+ * hex would be paint. **The consuming site's own guard could not have seen it either way** -- its
41
+ * needle matches a `property:` and a literal on one line, and this one sits inside a multi-line
42
+ * gradient with no property on its line. That is worth knowing about the needle rather than about
43
+ * this file.
44
+ *
45
+ * The `-webkit-` property is carried on purpose: unprefixed `mask-image` is Safari 15.4 and later,
46
+ * and without the prefixed form every older Safari gets a hard cut at both ends -- which is exactly
47
+ * the popping the mask exists to prevent, on the one engine where it would go unnoticed here.
48
+ *
49
+ * ---- the track ---------------------------------------------------------------
50
+ *
51
+ * `width: max-content` is what lets the track be as wide as its contents rather than as wide as the
52
+ * clipping box. **The overflow is the thing that travels.**
53
+ *
54
+ * **The rate is per item and it is the one raw time in this repo.** A continuous decorative loop has
55
+ * no step to land on: Newtone has no motion scale at all, and the original's own tops out at 300ms
56
+ * for micro-interactions, so coupling a multi-second cycle to it would make retuning a hover retune
57
+ * this. Three seconds per mark, times the count -- so the SPEED is the constant and the lap length
58
+ * follows the list. `--newtone-logo-marquee-count` arrives inline from the component with **no fallback in the
59
+ * `var()` on purpose**: a count that failed to resolve gives an invalid duration and a visibly
60
+ * static strip rather than a plausible wrong speed.
61
+ *
62
+ * `linear` and not an eased curve: a loop that accelerates and decelerates announces its own seam,
63
+ * because a reader can feel where the cycle begins.
64
+ *
65
+ * ---- the pause ----------------------------------------------------------------
66
+ *
67
+ * Intrinsic rather than a prop: a band that will not hold still for somebody trying to read a mark
68
+ * on it is the one failure a logo strip has. It is on the strip and not the track so the whole
69
+ * clipped area is the target -- hovering the gap between two marks is still hovering the strip.
70
+ *
71
+ * ---- the seam, which was two declarations that must agree and is now one token -----
72
+ *
73
+ * A group's width is `items + inner gaps + one trailing gap`, so the spacing across the loop's join
74
+ * equals the spacing everywhere else **only while `gap` and `padding-inline-end` are identical**.
75
+
76
+ * **They read one token as of 2026-09-07 and cannot come apart.** They were two identical reads of
77
+ * `space.12` in the repo this arrived from, with this paragraph as the only thing holding them
78
+ * together; `--newtone-logo-marquee-gap` is the same value said once, which is `framed-icon.css`'s
79
+ * *declared once* argument reaching a length. **Nothing about the rendering changed** -- this is a
80
+ * drift that was documented and is now impossible.
81
+ * They are the same token for that reason, and changing one alone is the way to break this -- which
82
+ * is why section 5 asserts that the token appears exactly twice in this file. The failure is a
83
+ * stutter once per lap, which no build could report.
84
+ *
85
+ * `flex: none` on a group so it is its natural width. Allowed to shrink, the two copies would divide
86
+ * the clipping box between them, the track would be exactly as wide as the window, and -50% would
87
+ * translate by half a viewport rather than by one group -- the loop would still run and would tear
88
+ * at every restart.
89
+ *
90
+ * ---- the marks ------------------------------------------------------------------
91
+ *
92
+ * **The authored axis is height**, which is the whole difference from a picture: marks of different
93
+ * proportions read as one row only when their caps are the same size, so the height is what the row
94
+ * shares and the width is whatever each mark's own artwork says.
95
+ *
96
+ * **The cap is not tidiness and the original measured what happens without one.** Supplied logo
97
+ * files do not agree about themselves -- padded 2:1 artwork rendered at about 64px beside
98
+ * tight-cropped wordmarks at 170px, one row with marks nearly 3x apart, a disagreement no shared
99
+ * height can reconcile because it is inside the file. So a mark gets a BOX: the authored height, at
100
+ * most five of it wide, with `object-fit` letterboxing anything wider down into it. **The cap is
101
+ * written as that multiple on purpose** -- retune the height and the window keeps its shape, and
102
+ * this file adds one hand-written length rather than two.
103
+ *
104
+ * `min-width: 0` so a mark may shrink in a host narrower than the cap instead of pushing out;
105
+ * `object-fit` keeps the artwork honest at any box.
106
+ *
107
+ * The dimming is two channel operations and names no colour, so section 4.2's line does not reach
108
+ * it either. `0.55` is the original's and there is no step it could land on -- Newtone ships no
109
+ * opacity scale, and a dimming ratio is neither a length nor a colour.
110
+ *
111
+ * ---- the guard, which is not a nicety, and which measuring changed --------------
112
+ *
113
+ * A reader who has asked their machine for less movement gets **a complete, readable row**: every
114
+ * mark visible, nothing dimmed, nothing to interact with.
115
+ *
116
+ * **Stopping the animation is not enough, and that was found by looking rather than by reasoning.**
117
+ * The obvious guard -- and the original's -- is `animation: none`, on the argument that the track
118
+ * then holds at its start and shows the first group in full. **It does not show it in full unless
119
+ * the strip is at least one group wide.** Measured in a headless browser on 2026-09-05, at a 1280
120
+ * window with this site's 64px gutters: the strip is 1152px and one group of eight marks is 1182px,
121
+ * so the eighth logo is cut in half -- **and with the motion stopped there is nothing that will
122
+ * ever bring it round.** A marquee has no scrollbar and no controls; that is what a marquee is.
123
+ * Narrower viewports lose more. So the honest reading of the original's *degrades to a static row*
124
+ * is that it degrades to a static row WITH ITS TAIL CUT OFF, which is a thing a reader can neither
125
+ * see nor reach.
126
+ *
127
+ * **So the reduced branch is a different arrangement rather than the same one held still.** The
128
+ * tiling copy is removed -- it exists only to make a loop seamless and there is no loop -- the
129
+ * remaining group wraps, and the marks stack onto as many lines as they need.
130
+ *
131
+ * The mask goes with it, for the reason the mask exists: it dissolves marks that would otherwise
132
+ * pop in and out at the boundary, and nothing here enters or leaves. Left on, it would simply dim
133
+ * the first and last mark of every line for no reason.
134
+ *
135
+ * **The trailing gap goes too.** It is the seam term -- a group's width has to be
136
+ * `items + inner gaps + one trailing gap` for the join to space evenly -- and with one group and no
137
+ * join it is 48px of trailing air inside a box that is now sized to its contents.
138
+ *
139
+ * `row-gap` is the only value the still branch introduces, and `space-6` (24px) is what keeps two
140
+ * lines of marks from reading as one crowded block. **Section 5 asserts that this whole block is
141
+ * here**, because a hand-written guard with no library behind it is one deletion away from being
142
+ * gone, and its absence looks like nothing at all to everybody except the reader it was for. */
143
+
144
+ .newtone-logo-marquee {
145
+ overflow: hidden;
146
+
147
+ --newtone-logo-marquee-fade: 3rem;
148
+ --newtone-logo-marquee-mask: linear-gradient(
149
+ to right,
150
+ transparent,
151
+ #000 var(--newtone-logo-marquee-fade),
152
+ #000 calc(100% - var(--newtone-logo-marquee-fade)),
153
+ transparent
154
+ );
155
+ -webkit-mask-image: var(--newtone-logo-marquee-mask);
156
+ mask-image: var(--newtone-logo-marquee-mask);
157
+ }
158
+
159
+ .newtone-logo-marquee-track {
160
+ display: flex;
161
+ width: max-content;
162
+
163
+ --newtone-logo-marquee-seconds-per-item: 3s;
164
+ animation: newtone-logo-marquee-scroll
165
+ calc(var(--newtone-logo-marquee-count) * var(--newtone-logo-marquee-seconds-per-item))
166
+ linear infinite;
167
+ }
168
+
169
+ .newtone-logo-marquee:hover .newtone-logo-marquee-track {
170
+ animation-play-state: paused;
171
+ }
172
+
173
+ .newtone-logo-marquee-group {
174
+ display: flex;
175
+ align-items: center;
176
+ flex: none;
177
+ gap: var(--newtone-logo-marquee-gap);
178
+ padding-inline-end: var(--newtone-logo-marquee-gap);
179
+ }
180
+
181
+ .newtone-logo-marquee-logo {
182
+ display: block;
183
+ flex: none;
184
+ height: 1.5rem;
185
+ width: auto;
186
+ max-width: calc(5 * 1.5rem);
187
+ min-width: 0;
188
+ object-fit: contain;
189
+ filter: grayscale(1);
190
+ opacity: 0.55;
191
+ }
192
+
193
+ @keyframes newtone-logo-marquee-scroll {
194
+ to {
195
+ transform: translateX(-50%);
196
+ }
197
+ }
198
+
199
+ @media (prefers-reduced-motion: reduce) {
200
+ .newtone-logo-marquee {
201
+ -webkit-mask-image: none;
202
+ mask-image: none;
203
+ }
204
+
205
+ .newtone-logo-marquee-track {
206
+ animation: none;
207
+ /* Not `max-content`: the track has to be as wide as the strip for the group inside it to
208
+ have anything to wrap against. */
209
+ width: 100%;
210
+ }
211
+
212
+ /* The tiling copy makes a loop seamless and there is no loop. */
213
+ .newtone-logo-marquee-group[aria-hidden] {
214
+ display: none;
215
+ }
216
+
217
+ .newtone-logo-marquee-group {
218
+ flex-wrap: wrap;
219
+ /* `flex: none` above is what stops a group being squeezed by its twin while the loop runs,
220
+ and it is exactly wrong here: a group that will not shrink to the track cannot wrap, so
221
+ it overflows the clip and the tail is cut off again, one cause further along. Measured
222
+ at 700px before this line existed: four of eight marks whole. */
223
+ flex: 1 1 100%;
224
+ row-gap: var(--newtone-logo-marquee-row-gap);
225
+ padding-inline-end: 0;
226
+ }
227
+ }
@@ -0,0 +1,69 @@
1
+ import type { HTMLAttributes } from 'react';
2
+ /**
3
+ * Eight company logos travelling sideways on a loop, and the first thing on this site that moves.
4
+ *
5
+ * ---- Newtone has no motion vocabulary at all -------------------------------
6
+ *
7
+ * Not a reduced one -- none: no duration, no easing, no named transition, and nothing that answers
8
+ * a reader who has asked their machine for less movement. So everything about how this moves is
9
+ * written by hand in logo-marquee.css, and **it stays here rather than being offered upward**:
10
+ * `newtone_ui_react-web`'s section 8 takes nothing until a real screen has DUPLICATED it, and one
11
+ * animation is one call site. The repo blueprint's section 8 defers the vocabulary there with the
12
+ * trigger *a second thing on this site moves*.
13
+ *
14
+ * ---- the mechanism, which is why eight logos are thirty-two elements --------
15
+ *
16
+ * Two identical groups side by side inside a track that is `max-content` wide, translated by
17
+ * exactly -50%. **A -50% shift is exactly one group**, so at the end of a cycle the second copy sits
18
+ * where the first began and the loop restarts with nothing to see. The seam is invisible for a
19
+ * second reason, in the sheet: each group carries a trailing gap equal to its inner gap, so the
20
+ * spacing across the join matches the spacing everywhere else.
21
+ *
22
+ * **The tiling copy is `aria-hidden` and the strip carries one group label.** It is the same eight
23
+ * nodes; a reader hearing every partner twice would reasonably conclude the list is sixteen long.
24
+ * It is not `inert`, because there is nothing focusable in it -- a caller putting a link in one
25
+ * would need that, and would be building a different component.
26
+ *
27
+ * ---- the rate is per item, and that is what removes a `speed` prop ----------
28
+ *
29
+ * The duration is the item count times a fixed rate, so **the strip's speed does not change when
30
+ * the list does** -- hand it a ninth mark and the lap gets longer rather than the marks getting
31
+ * faster. The count arrives as one inline custom property; the sheet reads it with **no fallback on
32
+ * purpose**, so a count that failed to resolve produces an invalid duration and a visibly static
33
+ * strip rather than a plausible wrong speed.
34
+ *
35
+ * ---- what it does not take --------------------------------------------------
36
+ *
37
+ * **No `bleed`.** The original cancels the page gutter so the strip runs to the glass, which needs
38
+ * a component to know what its ancestor spent -- a hazard that library documents and cannot guard,
39
+ * and this site has no page-slot vocabulary to make it exact. Ours is the contained case, which
40
+ * that library also supports. Blueprint section 8 carries the row and its trigger.
41
+ *
42
+ * **No `Logo` component.** Eight `<img>` in one strip is not a second folder's worth of decisions:
43
+ * the treatment is invariant, there is one renderer, and `governance/code/one-folder-per-thing.md` gives
44
+ * a folder a door that nothing would open. `framed-icon/` became a folder when a SECOND thing
45
+ * rendered the mark; nothing else here renders a logo.
46
+ *
47
+ * **An empty list renders nothing.** A labelled region sliding nothing sideways forever is not a
48
+ * marquee, and a zero-item duration is a zero-second infinite animation -- which browsers handle by
49
+ * recomputing one frame endlessly. It is guarded rather than documented because the guard is a
50
+ * line.
51
+ */
52
+ export interface MarqueeLogo {
53
+ /** The vendored mark -- `/logos/codeforces.svg`. */
54
+ src: string;
55
+ /** The company's name. It is the mark's accessible name and it is not decorative. */
56
+ alt: string;
57
+ /** The artwork's own intrinsic width, so the box has a ratio before the file is parsed. */
58
+ width: number;
59
+ /** The artwork's own intrinsic height. */
60
+ height: number;
61
+ }
62
+ export interface LogoMarqueeProps extends HTMLAttributes<HTMLElement> {
63
+ /** What the strip is a group of -- `Partners`. Content, and it arrives with the band. */
64
+ label: string;
65
+ /** The marks, in the order the live page runs them. */
66
+ logos: readonly MarqueeLogo[];
67
+ }
68
+ export declare function LogoMarquee({ label, logos, className, ...rest }: LogoMarqueeProps): import("react").JSX.Element | null;
69
+ //# sourceMappingURL=logo-marquee.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logo-marquee.d.ts","sourceRoot":"","sources":["../../src/logo-marquee/logo-marquee.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,MAAM,OAAO,CAAA;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAEH,MAAM,WAAW,WAAW;IACxB,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAA;IACX,qFAAqF;IACrF,GAAG,EAAE,MAAM,CAAA;IACX,2FAA2F;IAC3F,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACjE,yFAAyF;IACzF,KAAK,EAAE,MAAM,CAAA;IACb,uDAAuD;IACvD,KAAK,EAAE,SAAS,WAAW,EAAE,CAAA;CAChC;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,sCAwCjF"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ export function LogoMarquee({ label, logos, className, ...rest }) {
3
+ if (logos.length === 0)
4
+ return null;
5
+ const group = logos.map(({ src, alt, width, height }) => (_jsx("img", { className: "newtone-logo-marquee-logo", src: src, alt: alt, width: width, height: height, loading: "lazy" }, src)));
6
+ return (_jsx("div", { className: ['newtone-logo-marquee', className].filter(Boolean).join(' '), role: "group", "aria-label": label, ...rest, children: _jsxs("div", { className: "newtone-logo-marquee-track",
7
+ // Not a `--newtone-*` property: this repo reads Newtone's vocabulary and declares
8
+ // none of it (section 5). `icon/` passes its own the same way.
9
+ style: { '--newtone-logo-marquee-count': logos.length }, children: [_jsx("div", { className: "newtone-logo-marquee-group", children: group }), _jsx("div", { className: "newtone-logo-marquee-group", "aria-hidden": true, children: group })] }) }));
10
+ }
11
+ //# sourceMappingURL=logo-marquee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logo-marquee.js","sourceRoot":"","sources":["../../src/logo-marquee/logo-marquee.tsx"],"names":[],"mappings":";AAuEA,MAAM,UAAU,WAAW,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,EAAoB;IAC9E,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAA;IAEnC,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAKrD,cAEI,SAAS,EAAC,2BAA2B,EACrC,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,MAAM,IANT,GAAG,CAOV,CACL,CAAC,CAAA;IAEF,OAAO,CACH,cACI,SAAS,EAAE,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACxE,IAAI,EAAC,OAAO,gBACA,KAAK,KACb,IAAI,YAER,eACI,SAAS,EAAC,4BAA4B;YACtC,kFAAkF;YAClF,+DAA+D;YAC/D,KAAK,EAAE,EAAE,8BAA8B,EAAE,KAAK,CAAC,MAAM,EAAmB,aAExE,cAAK,SAAS,EAAC,4BAA4B,YAAE,KAAK,GAAO,EAEzD,cAAK,SAAS,EAAC,4BAA4B,iCACtC,KAAK,GACJ,IACJ,GACJ,CACT,CAAA;AACL,CAAC"}
@@ -0,0 +1,4 @@
1
+ /** The door. See the repo blueprint, section 4.1. */
2
+ export { MediaPlate } from './media-plate.js';
3
+ export type { MediaPlateProps } from './media-plate.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/media-plate/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** The door. See the repo blueprint, section 4.1. */
2
+ export { MediaPlate } from './media-plate.js';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/media-plate/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA"}
@@ -0,0 +1,41 @@
1
+ /* The mount's sheet: one ground, and it is the only colour in this library that is not relative.
2
+ *
3
+ * ---- chrome reads a role, a mount reads a fixed step --------------------
4
+ *
5
+ * A role is RELATIVE: it resolves against the surface the box is sitting on, so anything painted
6
+ * from one recedes when the page does, which is what every piece of chrome wants. **A mount is not
7
+ * chrome.** It stands in for a picture, and a picture does not change when the theme does. The day
8
+ * a drawing lands in this slot it will carry its own ink, and ink resolved against the SURFACE over
9
+ * a ground that is fixed is ink resolved against the wrong thing -- a dark theme's accent text is a
10
+ * light colour, and a light colour on a light mount is invisible. The mount and what it carries
11
+ * have to come from one place.
12
+ *
13
+ * ---- what that cost the token vocabulary --------------------------------
14
+ *
15
+ * **Nothing above the core layer could say it, and this component is why the fifth value rule
16
+ * exists.** `newtone_ui_tokens` gained `fixed(palette, step)` on 2026-09-08 --
17
+ * `src/semantic/media-plate.json` is one line -- and both routes out were probed through the build
18
+ * before it was written. A clamp names a contrast DISTANCE, so `color(accent, 2, 2)` returns six
19
+ * different steps across the 25 contexts; and the reply that sounds right -- use the grey, it has
20
+ * no key step -- is half of a true sentence, because the mode reverses the step axis and the
21
+ * elevation offsets it by +/-2 whatever the palette. Measured, `role.divider` gives 25 answers
22
+ * across 25 contexts. **There was no fixed colour in the system to find.**
23
+ *
24
+ * ---- the step travels, the colour does not ------------------------------
25
+ *
26
+ * `fixed(accent, 2)` names a place on the ramp, and the ramp is derived from whatever seeds the
27
+ * consumer supplies. So two sites render two different colours here and neither is wrong: the plate
28
+ * is two steps off white **in that site's own accent**, which is what a stand-in for a picture on
29
+ * that site should be. A hex would have travelled as one colour and been wrong on the second site.
30
+ *
31
+ * ---- the shape is the window's, not this element's ----------------------
32
+ *
33
+ * No ratio, no corner, no margin here. Whatever holds this owns all three, so one card can never
34
+ * break the shape of the row it sits in -- which is the guarantee that lets a window be a slot at
35
+ * all. This fills what it is given. */
36
+
37
+ .newtone-media-plate {
38
+ width: 100%;
39
+ height: 100%;
40
+ background: var(--newtone-media-plate-fill);
41
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * The mount a window shows while the picture that belongs in it does not exist.
3
+ *
4
+ * ---- it is a described absence, not a placeholder ------------------------
5
+ *
6
+ * `governance/voice/an-omission-costs-nothing-a-placeholder-makes-a-claim.md` forbids a stand-in that
7
+ * claims content nobody has written. **This claims nothing.** It is a flat rectangle with an
8
+ * accessible name saying what the picture would have shown, and the name is the only thing that
9
+ * differs between two of them. There is no filler copy, no sample image, and nothing that could
10
+ * be mistaken for finished work.
11
+ *
12
+ * **It exists because a site being rebuilt can have a slot whose content has not been drawn**, and
13
+ * the honest render of that slot is the one the site itself ships rather than an invented picture.
14
+ * The first consumer's own knowledge entry carries the measurement that settled it -- how many
15
+ * pictures each of its bands ships against the one that ships none.
16
+ *
17
+ * ---- why it is a folder and not markup inside the card ------------------
18
+ *
19
+ * A window is a SLOT, so what goes in it is written at the call site. **Two call sites naming the
20
+ * same markup is the second copy** -- `governance/documents/staleness/a-second-copy-is-a-thing-that-drifts.md`. A door
21
+ * is what makes it one thing. At one call site this would be markup.
22
+ *
23
+ * ---- why it is a div and not an svg -------------------------------------
24
+ *
25
+ * The obvious spelling is `<svg viewBox="0 0 3 2" role="img" aria-label="…"><rect fill="…"/></svg>`,
26
+ * and it is what the site this came from emits. **An svg is the mechanism for holding a drawing and
27
+ * there is no drawing**, and its `viewBox` would be a second statement of a ratio the window around
28
+ * it already owns. A `role="img"` element with an accessible name gives a reader the identical
29
+ * rectangle under the identical name, and the day a drawing lands it replaces this at the call site
30
+ * rather than growing inside it.
31
+ *
32
+ * ---- its ground is the one fixed colour in the library -------------------
33
+ *
34
+ * `--newtone-media-plate-fill` is a `fixed()` -- an absolute step on the palette rather than a
35
+ * distance from the surface -- and media-plate.css carries the argument. It is the reason this
36
+ * component crossed a day after the twelve it was sorted with: there was no way to say it.
37
+ */
38
+ import type { HTMLAttributes } from 'react';
39
+ export interface MediaPlateProps extends HTMLAttributes<HTMLElement> {
40
+ /** What the picture would have shown, for a reader who cannot see it. Content, and it arrives
41
+ * with whatever supplies the rest of the band's copy. */
42
+ label: string;
43
+ }
44
+ export declare function MediaPlate({ label, className, ...rest }: MediaPlateProps): import("react").JSX.Element;
45
+ //# sourceMappingURL=media-plate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media-plate.d.ts","sourceRoot":"","sources":["../../src/media-plate/media-plate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,WAAW,CAAC;IAChE;8DAC0D;IAC1D,KAAK,EAAE,MAAM,CAAA;CAChB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,eAAe,+BASxE"}
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ export function MediaPlate({ label, className, ...rest }) {
3
+ return (_jsx("div", { className: ['newtone-media-plate', className].filter(Boolean).join(' '), role: "img", "aria-label": label, ...rest }));
4
+ }
5
+ //# sourceMappingURL=media-plate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media-plate.js","sourceRoot":"","sources":["../../src/media-plate/media-plate.tsx"],"names":[],"mappings":";AA6CA,MAAM,UAAU,UAAU,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,EAAmB;IACrE,OAAO,CACH,cACI,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACvE,IAAI,EAAC,KAAK,gBACE,KAAK,KACb,IAAI,GACV,CACL,CAAA;AACL,CAAC"}
@@ -0,0 +1,82 @@
1
+ /* The window a card cuts for a picture. See the repo blueprint, sections 3, 4.1 and 5.
2
+ *
3
+ * ---- a folder with no component in it, and the second one here -------------
4
+ *
5
+ * `on-media/` is the other. This one holds one shape and two class names, and it has no `index.ts`,
6
+ * no `.tsx` and no line in the barrel -- because **the thing it publishes is deliberately not a
7
+ * component**, and the argument for that is older than its arrival here.
8
+ *
9
+ * **A `<MediaWindow ratio side>` would put two settings at a call site that has only ever had one
10
+ * value for each.** Every writer states its crop once, for the life of that writer, and states it in
11
+ * its own sheet: 3 / 2 at a feature card's foot, 16 / 9 at a mode card's head, 16 / 10 above the
12
+ * phone width in a gallery and 3 / 2 below it. `governance/evidence/size-an-api-from-call-sites-not-from-the-type.md`,
13
+ * and `governance/code/one-folder-per-thing.md` for the door it would open onto a `<span>`.
14
+ *
15
+ * **The reference DID build the component** -- `MediaFrame`, extracted from five hand-written copies
16
+ * that had already drifted three ways -- and what crosses is that argument and not its threshold:
17
+ * `governance/documents/copy-the-argument-not-the-rule.md`.
18
+ *
19
+ * ---- a plate is a mount and a window is a hole ----------------------------
20
+ *
21
+ * The distinction is worth holding on to. A mount stands IN for a picture that does not exist; this
22
+ * is the shape of the opening a picture is shown THROUGH.
23
+ *
24
+ * ---- where it came from ---------------------------------------------------
25
+ *
26
+ * A consuming site's shared-shapes sheet, 2026-09-07, under
27
+ * `issues/open/051-the-media-and-control-components.md`. It had five writers there and two of them
28
+ * were sorted into this library, so it crossed for `on-media/`'s reason exactly: **a component
29
+ * cannot travel to a repository that does not hold the class its own markup names.** The other three
30
+ * writers are still that site's and import this sheet by subpath.
31
+ *
32
+ * **This is the row `MediaFrame` has been deferred on**, in the repo blueprint's section 8, and what
33
+ * arrived is not the component that row refuses. Which site brought it is deliberately not named
34
+ * here -- the charter's split says an agnostic component leaves its origin behind entirely.
35
+ *
36
+ * ---- the ratio arrives as a custom property with NO fallback ---------------
37
+ *
38
+ * Deliberate, and it is the one thing here that would look like an omission. An unresolved `var()`
39
+ * makes `aspect-ratio` compute to `auto` and the window shrink-wraps its content, which is obviously
40
+ * broken; **a fallback would give a window that looks placed and is the wrong shape.** The consumer
41
+ * declares `--newtone-media-window-ratio` on an element it already owns and this reads it, which is
42
+ * `--newtone-card-grid-min`'s arrangement with the fallback deliberately withheld.
43
+ *
44
+ * ---- the corner is a token because the component decides it ---------------
45
+ *
46
+ * `--newtone-media-window-radius` references `radius.md`. Nobody chooses a window's corner, so it is
47
+ * a semantic token that references core rather than a core step read at a call site -- section 5's
48
+ * distinction, unchanged. */
49
+
50
+ .newtone-media-window {
51
+ display: block;
52
+ /* The window does not absorb the row's squeeze -- the copy beside it is what gives. A window
53
+ that shrank would change its ratio's rendered size without changing the ratio, which is the
54
+ one thing the shape promises whatever is in it. */
55
+ flex: none;
56
+ aspect-ratio: var(--newtone-media-window-ratio);
57
+ border-radius: var(--newtone-media-window-radius);
58
+ /* What makes the corner clip what lands inside it rather than rounding an empty box. */
59
+ overflow: hidden;
60
+ }
61
+
62
+ /* **What makes the shape safe for a replaced element.** Nothing needed this while the only thing in
63
+ * a window sized itself to 100% / 100%; an `<img>` with intrinsic dimensions does. Without it a
64
+ * 1080px photograph renders at 1080px and `overflow: hidden` shows a crop of the top-left corner.
65
+ *
66
+ * **A writer whose slot child is not a picture reverses one of these declarations**, and the import
67
+ * order is what makes that safe: a gallery sets `display: flex` back on its track, because a track
68
+ * is a row of slides where every other slot child is one thing filling the window. Same specificity,
69
+ * and this sheet loads above every component sheet that overrides it.
70
+ *
71
+ * **A slot child that can size itself is not made wrong by a frame that would also size it**, so a
72
+ * mount keeping its own two declarations is not a redundancy to trim.
73
+ *
74
+ * `object-fit` applies only to replaced elements, so it is inert on a div and no second rule is
75
+ * needed. `border-radius: inherit` picks up the corner above rather than fighting it. */
76
+ .newtone-media-window > * {
77
+ display: block;
78
+ width: 100%;
79
+ height: 100%;
80
+ object-fit: cover;
81
+ border-radius: inherit;
82
+ }
@@ -0,0 +1,14 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface NavbarActionsProps {
3
+ className?: string;
4
+ children?: ReactNode;
5
+ }
6
+ /**
7
+ * Calls to action, in the order written.
8
+ *
9
+ * **No props at all.** Any number of children. That is what makes "a primary and a secondary
10
+ * call to action" free, and it is why no `primaryCta`/`secondaryCta` pair exists here to
11
+ * disagree with each other about which one is which.
12
+ */
13
+ export declare function NavbarActions({ className, children }: NavbarActionsProps): import("react").JSX.Element;
14
+ //# sourceMappingURL=actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/navbar/actions/actions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,kBAAkB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACvB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,kBAAkB,+BAMxE"}
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ * Calls to action, in the order written.
4
+ *
5
+ * **No props at all.** Any number of children. That is what makes "a primary and a secondary
6
+ * call to action" free, and it is why no `primaryCta`/`secondaryCta` pair exists here to
7
+ * disagree with each other about which one is which.
8
+ */
9
+ export function NavbarActions({ className, children }) {
10
+ return (_jsx("div", { className: ['newtone-navbar-actions', className].filter(Boolean).join(' '), children: children }));
11
+ }
12
+ //# sourceMappingURL=actions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/navbar/actions/actions.tsx"],"names":[],"mappings":";AAOA;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAsB;IACrE,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,YAC1E,QAAQ,GACP,CACT,CAAA;AACL,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { AnchorHTMLAttributes, ReactNode } from 'react';
2
+ export interface NavbarBrandProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
3
+ href: string;
4
+ children?: ReactNode;
5
+ }
6
+ /**
7
+ * One clickable area holding both marks, which is the thing a site actually needs. Passing a
8
+ * logotype and a monogram as two props would make this component responsible for arranging
9
+ * them, and arranging them is the decision it has no information to make.
10
+ */
11
+ export declare function NavbarBrand({ href, className, children, ...rest }: NavbarBrandProps): import("react").JSX.Element;
12
+ //# sourceMappingURL=brand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand.d.ts","sourceRoot":"","sources":["../../../src/navbar/brand/brand.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE5D,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC7E,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAA;CACvB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,+BAUnF"}
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ * One clickable area holding both marks, which is the thing a site actually needs. Passing a
4
+ * logotype and a monogram as two props would make this component responsible for arranging
5
+ * them, and arranging them is the decision it has no information to make.
6
+ */
7
+ export function NavbarBrand({ href, className, children, ...rest }) {
8
+ return (_jsx("a", { href: href, className: ['newtone-navbar-brand', className].filter(Boolean).join(' '), ...rest, children: children }));
9
+ }
10
+ //# sourceMappingURL=brand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand.js","sourceRoot":"","sources":["../../../src/navbar/brand/brand.tsx"],"names":[],"mappings":";AAOA;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAoB;IAChF,OAAO,CACH,YACI,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,KACpE,IAAI,YAEP,QAAQ,GACT,CACP,CAAA;AACL,CAAC"}
@@ -0,0 +1,12 @@
1
+ export interface NavbarContextValue {
2
+ open: boolean;
3
+ setOpen: (open: boolean) => void;
4
+ panelId: string;
5
+ triggerRef: {
6
+ readonly current: HTMLButtonElement | null;
7
+ };
8
+ registerTrigger: (present: boolean) => void;
9
+ }
10
+ export declare const NavbarContext: import("react").Context<NavbarContextValue | null>;
11
+ export declare function useNavbar(part: string): NavbarContextValue;
12
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/navbar/context.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAChC,OAAO,EAAE,MAAM,CAAA;IAaf,UAAU,EAAE;QAAE,QAAQ,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAAA;KAAE,CAAA;IAC1D,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CAC9C;AAED,eAAO,MAAM,aAAa,oDAAiD,CAAA;AAE3E,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAI1D"}