@newtone-dev/ui-react-web 0.44.0 → 0.46.1

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 (300) hide show
  1. package/README.md +5 -3
  2. package/dist/app-frame/app-frame.css +77 -25
  3. package/dist/app-frame/app-frame.d.ts +2 -1
  4. package/dist/app-frame/app-frame.d.ts.map +1 -1
  5. package/dist/app-frame/app-frame.js +2 -1
  6. package/dist/app-frame/app-frame.js.map +1 -1
  7. package/dist/app-frame/index.d.ts +1 -1
  8. package/dist/app-frame/index.d.ts.map +1 -1
  9. package/dist/app-frame/launcher/launcher.d.ts.map +1 -1
  10. package/dist/app-frame/launcher/launcher.js +5 -3
  11. package/dist/app-frame/launcher/launcher.js.map +1 -1
  12. package/dist/app-frame/main-menu/main-menu.js +5 -1
  13. package/dist/app-frame/main-menu/main-menu.js.map +1 -1
  14. package/dist/app-frame/parts.d.ts +26 -1
  15. package/dist/app-frame/parts.d.ts.map +1 -1
  16. package/dist/app-frame/parts.js +17 -3
  17. package/dist/app-frame/parts.js.map +1 -1
  18. package/dist/ask-button/ask-button.css +7 -1
  19. package/dist/beside/beside.css +4 -0
  20. package/dist/button/button.css +14 -4
  21. package/dist/button/button.d.ts +12 -1
  22. package/dist/button/button.d.ts.map +1 -1
  23. package/dist/button/button.js +49 -3
  24. package/dist/button/button.js.map +1 -1
  25. package/dist/canvas/canvas.css +20 -5
  26. package/dist/canvas/cells/cells.d.ts +12 -1
  27. package/dist/canvas/cells/cells.d.ts.map +1 -1
  28. package/dist/canvas/cells/cells.js +16 -2
  29. package/dist/canvas/cells/cells.js.map +1 -1
  30. package/dist/canvas/cells/grid.d.ts +8 -2
  31. package/dist/canvas/cells/grid.d.ts.map +1 -1
  32. package/dist/canvas/cells/grid.js +8 -5
  33. package/dist/canvas/cells/grid.js.map +1 -1
  34. package/dist/canvas/dock/dock.d.ts +2 -2
  35. package/dist/canvas/dock/dock.js +2 -2
  36. package/dist/canvas/dock/dock.js.map +1 -1
  37. package/dist/card-box/card-box.css +8 -2
  38. package/dist/card-box/card-box.d.ts.map +1 -1
  39. package/dist/card-box/card-box.js +1 -1
  40. package/dist/card-box/card-box.js.map +1 -1
  41. package/dist/color/index.d.ts +4 -4
  42. package/dist/color/index.d.ts.map +1 -1
  43. package/dist/color/index.js +17 -15
  44. package/dist/color/index.js.map +1 -1
  45. package/dist/color/oklch.d.ts +6 -27
  46. package/dist/color/oklch.d.ts.map +1 -1
  47. package/dist/color/oklch.js +23 -61
  48. package/dist/color/oklch.js.map +1 -1
  49. package/dist/color/scale.d.ts +3 -18
  50. package/dist/color/scale.d.ts.map +1 -1
  51. package/dist/color/scale.js +13 -70
  52. package/dist/color/scale.js.map +1 -1
  53. package/dist/color/seeds.d.ts +51 -11
  54. package/dist/color/seeds.d.ts.map +1 -1
  55. package/dist/color/seeds.js +127 -41
  56. package/dist/color/seeds.js.map +1 -1
  57. package/dist/curve-field/curve-field.css +280 -0
  58. package/dist/curve-field/curve-field.d.ts +105 -0
  59. package/dist/curve-field/curve-field.d.ts.map +1 -0
  60. package/dist/curve-field/curve-field.js +532 -0
  61. package/dist/curve-field/curve-field.js.map +1 -0
  62. package/dist/curve-field/index.d.ts +3 -0
  63. package/dist/curve-field/index.d.ts.map +1 -0
  64. package/dist/curve-field/index.js +2 -0
  65. package/dist/curve-field/index.js.map +1 -0
  66. package/dist/diagram/diagram.css +63 -0
  67. package/dist/diagram/diagram.d.ts +63 -0
  68. package/dist/diagram/diagram.d.ts.map +1 -0
  69. package/dist/diagram/diagram.js +73 -0
  70. package/dist/diagram/diagram.js.map +1 -0
  71. package/dist/diagram/geometry.d.ts +60 -0
  72. package/dist/diagram/geometry.d.ts.map +1 -0
  73. package/dist/diagram/geometry.js +93 -0
  74. package/dist/diagram/geometry.js.map +1 -0
  75. package/dist/diagram/index.d.ts +7 -0
  76. package/dist/diagram/index.d.ts.map +1 -0
  77. package/dist/diagram/index.js +4 -0
  78. package/dist/diagram/index.js.map +1 -0
  79. package/dist/diagram/layout.d.ts +41 -0
  80. package/dist/diagram/layout.d.ts.map +1 -0
  81. package/dist/diagram/layout.js +157 -0
  82. package/dist/diagram/layout.js.map +1 -0
  83. package/dist/document/document.d.ts +7 -2
  84. package/dist/document/document.d.ts.map +1 -1
  85. package/dist/document/document.js +22 -4
  86. package/dist/document/document.js.map +1 -1
  87. package/dist/dynamic-range/dynamic-range.css +100 -0
  88. package/dist/dynamic-range/dynamic-range.d.ts +27 -0
  89. package/dist/dynamic-range/dynamic-range.d.ts.map +1 -0
  90. package/dist/dynamic-range/dynamic-range.js +20 -0
  91. package/dist/dynamic-range/dynamic-range.js.map +1 -0
  92. package/dist/dynamic-range/index.d.ts +3 -0
  93. package/dist/dynamic-range/index.d.ts.map +1 -0
  94. package/dist/dynamic-range/index.js +2 -0
  95. package/dist/dynamic-range/index.js.map +1 -0
  96. package/dist/file-grid/file-grid.css +65 -0
  97. package/dist/file-grid/file-grid.d.ts +35 -2
  98. package/dist/file-grid/file-grid.d.ts.map +1 -1
  99. package/dist/file-grid/file-grid.js +64 -3
  100. package/dist/file-grid/file-grid.js.map +1 -1
  101. package/dist/file-grid/index.d.ts +2 -2
  102. package/dist/file-grid/index.d.ts.map +1 -1
  103. package/dist/file-grid/index.js +1 -1
  104. package/dist/file-grid/index.js.map +1 -1
  105. package/dist/floating-bar/floating-bar.css +122 -32
  106. package/dist/floating-bar/floating-bar.d.ts +21 -2
  107. package/dist/floating-bar/floating-bar.d.ts.map +1 -1
  108. package/dist/floating-bar/floating-bar.js +64 -20
  109. package/dist/floating-bar/floating-bar.js.map +1 -1
  110. package/dist/floating-bar/index.d.ts +1 -1
  111. package/dist/floating-bar/index.d.ts.map +1 -1
  112. package/dist/font-picker/font-picker.css +4 -2
  113. package/dist/font-picker/font-picker.d.ts +34 -4
  114. package/dist/font-picker/font-picker.d.ts.map +1 -1
  115. package/dist/font-picker/font-picker.js +45 -9
  116. package/dist/font-picker/font-picker.js.map +1 -1
  117. package/dist/font-picker/index.d.ts +2 -2
  118. package/dist/font-picker/index.d.ts.map +1 -1
  119. package/dist/font-picker/index.js +1 -1
  120. package/dist/font-picker/index.js.map +1 -1
  121. package/dist/hint/hint.css +2 -6
  122. package/dist/icon/glyphs.d.ts +18 -0
  123. package/dist/icon/glyphs.d.ts.map +1 -0
  124. package/dist/icon/glyphs.js +17 -0
  125. package/dist/icon/glyphs.js.map +1 -0
  126. package/dist/icon/index.d.ts +2 -0
  127. package/dist/icon/index.d.ts.map +1 -1
  128. package/dist/icon/index.js +1 -0
  129. package/dist/icon/index.js.map +1 -1
  130. package/dist/identity/identity.d.ts +11 -3
  131. package/dist/identity/identity.d.ts.map +1 -1
  132. package/dist/identity/identity.js +8 -4
  133. package/dist/identity/identity.js.map +1 -1
  134. package/dist/index.d.ts +33 -17
  135. package/dist/index.d.ts.map +1 -1
  136. package/dist/index.js +11 -3
  137. package/dist/index.js.map +1 -1
  138. package/dist/inspector/index.d.ts +1 -1
  139. package/dist/inspector/index.d.ts.map +1 -1
  140. package/dist/inspector/inspector.css +368 -7
  141. package/dist/inspector/inspector.d.ts +182 -5
  142. package/dist/inspector/inspector.d.ts.map +1 -1
  143. package/dist/inspector/inspector.js +85 -7
  144. package/dist/inspector/inspector.js.map +1 -1
  145. package/dist/look-picker/look-picker.css +62 -2
  146. package/dist/look-picker/look-picker.d.ts +34 -2
  147. package/dist/look-picker/look-picker.d.ts.map +1 -1
  148. package/dist/look-picker/look-picker.js +51 -42
  149. package/dist/look-picker/look-picker.js.map +1 -1
  150. package/dist/material/material.css +128 -57
  151. package/dist/number-field/number-field.css +34 -0
  152. package/dist/number-field/number-field.d.ts +29 -3
  153. package/dist/number-field/number-field.d.ts.map +1 -1
  154. package/dist/number-field/number-field.js +61 -10
  155. package/dist/number-field/number-field.js.map +1 -1
  156. package/dist/page-editor/page-editor.css +2 -6
  157. package/dist/picker/picker.css +42 -0
  158. package/dist/picker/picker.d.ts +10 -1
  159. package/dist/picker/picker.d.ts.map +1 -1
  160. package/dist/picker/picker.js +40 -5
  161. package/dist/picker/picker.js.map +1 -1
  162. package/dist/pop-menu/index.d.ts +7 -0
  163. package/dist/pop-menu/index.d.ts.map +1 -0
  164. package/dist/pop-menu/index.js +6 -0
  165. package/dist/pop-menu/index.js.map +1 -0
  166. package/dist/{floating-bar/menu.d.ts → pop-menu/pop-menu.d.ts} +10 -2
  167. package/dist/pop-menu/pop-menu.d.ts.map +1 -0
  168. package/dist/{floating-bar/menu.js → pop-menu/pop-menu.js} +35 -12
  169. package/dist/pop-menu/pop-menu.js.map +1 -0
  170. package/dist/prompt-field/prompt-field.css +3 -3
  171. package/dist/prompt-field/prompt-field.d.ts +3 -3
  172. package/dist/prompt-field/prompt-field.d.ts.map +1 -1
  173. package/dist/prompt-field/prompt-field.js +10 -4
  174. package/dist/prompt-field/prompt-field.js.map +1 -1
  175. package/dist/quick-action/quick-action.css +1 -1
  176. package/dist/seed-color-field/seed-color-field.css +8 -10
  177. package/dist/seed-color-field/seed-color-field.d.ts +9 -0
  178. package/dist/seed-color-field/seed-color-field.d.ts.map +1 -1
  179. package/dist/seed-color-field/seed-color-field.js +37 -10
  180. package/dist/seed-color-field/seed-color-field.js.map +1 -1
  181. package/dist/seed-contrast-field/index.d.ts +5 -0
  182. package/dist/seed-contrast-field/index.d.ts.map +1 -0
  183. package/dist/seed-contrast-field/index.js +3 -0
  184. package/dist/seed-contrast-field/index.js.map +1 -0
  185. package/dist/seed-contrast-field/seed-contrast-field.css +11 -0
  186. package/dist/seed-contrast-field/seed-contrast-field.d.ts +36 -0
  187. package/dist/seed-contrast-field/seed-contrast-field.d.ts.map +1 -0
  188. package/dist/seed-contrast-field/seed-contrast-field.js +18 -0
  189. package/dist/seed-contrast-field/seed-contrast-field.js.map +1 -0
  190. package/dist/seed-contrast-field/seed-contrast-slider.css +112 -0
  191. package/dist/seed-contrast-field/seed-contrast-slider.d.ts +22 -0
  192. package/dist/seed-contrast-field/seed-contrast-slider.d.ts.map +1 -0
  193. package/dist/seed-contrast-field/seed-contrast-slider.js +75 -0
  194. package/dist/seed-contrast-field/seed-contrast-slider.js.map +1 -0
  195. package/dist/seed-roundness-field/index.d.ts +3 -0
  196. package/dist/seed-roundness-field/index.d.ts.map +1 -0
  197. package/dist/seed-roundness-field/index.js +2 -0
  198. package/dist/seed-roundness-field/index.js.map +1 -0
  199. package/dist/seed-roundness-field/seed-roundness-field.css +23 -0
  200. package/dist/seed-roundness-field/seed-roundness-field.d.ts +39 -0
  201. package/dist/seed-roundness-field/seed-roundness-field.d.ts.map +1 -0
  202. package/dist/seed-roundness-field/seed-roundness-field.js +15 -0
  203. package/dist/seed-roundness-field/seed-roundness-field.js.map +1 -0
  204. package/dist/seed-steps/index.d.ts +8 -0
  205. package/dist/seed-steps/index.d.ts.map +1 -0
  206. package/dist/seed-steps/index.js +7 -0
  207. package/dist/seed-steps/index.js.map +1 -0
  208. package/dist/seed-steps/reset-focus.d.ts +16 -0
  209. package/dist/seed-steps/reset-focus.d.ts.map +1 -0
  210. package/dist/seed-steps/reset-focus.js +53 -0
  211. package/dist/seed-steps/reset-focus.js.map +1 -0
  212. package/dist/seed-steps/seed-steps.css +83 -0
  213. package/dist/seed-steps/seed-steps.d.ts +47 -0
  214. package/dist/seed-steps/seed-steps.d.ts.map +1 -0
  215. package/dist/seed-steps/seed-steps.js +95 -0
  216. package/dist/seed-steps/seed-steps.js.map +1 -0
  217. package/dist/shell/shell.css +31 -33
  218. package/dist/slide-list/slide-list.css +23 -2
  219. package/dist/slide-list/slide-list.d.ts +11 -2
  220. package/dist/slide-list/slide-list.d.ts.map +1 -1
  221. package/dist/slide-list/slide-list.js +6 -6
  222. package/dist/slide-list/slide-list.js.map +1 -1
  223. package/dist/split/split.css +11 -8
  224. package/dist/split/split.d.ts +2 -0
  225. package/dist/split/split.d.ts.map +1 -1
  226. package/dist/split/split.js +21 -3
  227. package/dist/split/split.js.map +1 -1
  228. package/dist/stage/stage.d.ts +11 -4
  229. package/dist/stage/stage.d.ts.map +1 -1
  230. package/dist/stage/stage.js +30 -9
  231. package/dist/stage/stage.js.map +1 -1
  232. package/dist/step-list/index.d.ts +3 -0
  233. package/dist/step-list/index.d.ts.map +1 -0
  234. package/dist/step-list/index.js +2 -0
  235. package/dist/step-list/index.js.map +1 -0
  236. package/dist/step-list/step-list.css +224 -0
  237. package/dist/step-list/step-list.d.ts +211 -0
  238. package/dist/step-list/step-list.d.ts.map +1 -0
  239. package/dist/step-list/step-list.js +242 -0
  240. package/dist/step-list/step-list.js.map +1 -0
  241. package/dist/step-strip/index.d.ts +3 -0
  242. package/dist/step-strip/index.d.ts.map +1 -0
  243. package/dist/step-strip/index.js +2 -0
  244. package/dist/step-strip/index.js.map +1 -0
  245. package/dist/step-strip/step-strip.css +118 -0
  246. package/dist/step-strip/step-strip.d.ts +52 -0
  247. package/dist/step-strip/step-strip.d.ts.map +1 -0
  248. package/dist/step-strip/step-strip.js +47 -0
  249. package/dist/step-strip/step-strip.js.map +1 -0
  250. package/dist/suggestion/index.d.ts +3 -0
  251. package/dist/suggestion/index.d.ts.map +1 -0
  252. package/dist/suggestion/index.js +2 -0
  253. package/dist/suggestion/index.js.map +1 -0
  254. package/dist/suggestion/suggestion.css +45 -0
  255. package/dist/suggestion/suggestion.d.ts +23 -0
  256. package/dist/suggestion/suggestion.d.ts.map +1 -0
  257. package/dist/suggestion/suggestion.js +45 -0
  258. package/dist/suggestion/suggestion.js.map +1 -0
  259. package/dist/surface/surface.css +112 -0
  260. package/dist/switch/switch.css +1 -6
  261. package/dist/text-field/text-field.css +11 -2
  262. package/dist/thread/thread.css +2 -10
  263. package/dist/thread/thread.js +1 -1
  264. package/dist/thread/thread.js.map +1 -1
  265. package/dist/tile-picker/index.d.ts +1 -1
  266. package/dist/tile-picker/index.d.ts.map +1 -1
  267. package/dist/tile-picker/tile-picker.css +56 -10
  268. package/dist/tile-picker/tile-picker.d.ts +64 -7
  269. package/dist/tile-picker/tile-picker.d.ts.map +1 -1
  270. package/dist/tile-picker/tile-picker.js +79 -47
  271. package/dist/tile-picker/tile-picker.js.map +1 -1
  272. package/dist/tile-search/index.d.ts +7 -0
  273. package/dist/tile-search/index.d.ts.map +1 -0
  274. package/dist/tile-search/index.js +7 -0
  275. package/dist/tile-search/index.js.map +1 -0
  276. package/dist/tile-search/narrow.d.ts +22 -0
  277. package/dist/tile-search/narrow.d.ts.map +1 -0
  278. package/dist/tile-search/narrow.js +62 -0
  279. package/dist/tile-search/narrow.js.map +1 -0
  280. package/dist/tile-search/search-box.d.ts +19 -0
  281. package/dist/tile-search/search-box.d.ts.map +1 -0
  282. package/dist/tile-search/search-box.js +47 -0
  283. package/dist/tile-search/search-box.js.map +1 -0
  284. package/dist/tooltip/tooltip.css +13 -20
  285. package/dist/tooltip/tooltip.d.ts +2 -2
  286. package/dist/tooltip/tooltip.d.ts.map +1 -1
  287. package/dist/tooltip/tooltip.js +15 -2
  288. package/dist/tooltip/tooltip.js.map +1 -1
  289. package/dist/workbench/workbench.css +128 -4
  290. package/dist/workbench/workbench.d.ts +28 -1
  291. package/dist/workbench/workbench.d.ts.map +1 -1
  292. package/dist/workbench/workbench.js +13 -4
  293. package/dist/workbench/workbench.js.map +1 -1
  294. package/package.json +43 -1
  295. package/dist/color/gamut.d.ts +0 -20
  296. package/dist/color/gamut.d.ts.map +0 -1
  297. package/dist/color/gamut.js +0 -72
  298. package/dist/color/gamut.js.map +0 -1
  299. package/dist/floating-bar/menu.d.ts.map +0 -1
  300. package/dist/floating-bar/menu.js.map +0 -1
@@ -0,0 +1,15 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { SeedSteps } from '../seed-steps/index.js';
4
+ /** The five steps' factors on `shape.radius`, in order: Square, Soft, Medium, Round, Rounder. */
5
+ export const ROUNDNESS_STEPS = [0, 0.5, 1, 2, 3];
6
+ /** What `shape.radius` is when absent, Newtone's own (Medium): what a null value with nothing `inherited` shows. */
7
+ export const ROUNDNESS_ABSENT = 1;
8
+ // The corner each step makes, drawn at this many CSS pixels of radius per unit of the factor (core radius.sm is 4 at
9
+ // 1; the picture is a little larger, so Soft and Square are told apart at a glance).
10
+ const PX_PER_FACTOR = 6;
11
+ /** Five named steps of roundness, each drawn as its corner. Blueprint components/seed-roundness-field.md. */
12
+ export function SeedRoundnessField({ labels, className, ...rest }) {
13
+ return (_jsx(SeedSteps, { ...rest, className: ['newtone-seed-roundness-field', className].filter(Boolean).join(' '), words: labels, absent: ROUNDNESS_ABSENT, steps: ROUNDNESS_STEPS, names: labels.steps, pictured: true, draw: (f) => (_jsx("span", { className: "newtone-seed-roundness-field-corner", "aria-hidden": "true", style: { ['--_corner']: `${f * PX_PER_FACTOR}px` } })) }));
14
+ }
15
+ //# sourceMappingURL=seed-roundness-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seed-roundness-field.js","sourceRoot":"","sources":["../../src/seed-roundness-field/seed-roundness-field.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAUZ,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAElD,iGAAiG;AACjG,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAU,CAAA;AAEzD,oHAAoH;AACpH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAA;AAqCjC,qHAAqH;AACrH,qFAAqF;AACrF,MAAM,aAAa,GAAG,CAAC,CAAA;AAEvB,6GAA6G;AAC7G,MAAM,UAAU,kBAAkB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAA2B;IACtF,OAAO,CACH,KAAC,SAAS,OACF,IAAI,EACR,SAAS,EAAE,CAAC,8BAA8B,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAChF,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,gBAAgB,EACxB,KAAK,EAAE,eAAe,EACtB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,QAAQ,QACR,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CACT,eACI,SAAS,EAAC,qCAAqC,iBACnC,MAAM,EAClB,KAAK,EAAE,EAAE,CAAC,WAAqB,CAAC,EAAE,GAAG,CAAC,GAAG,aAAa,IAAI,EAAE,GAC9D,CACL,GACH,CACL,CAAA;AACL,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The door of a private part: SeedRoundnessField's and SeedContrastField's row, and the press-back focus hook
3
+ * SeedColorField, FontPicker and StepList share. In neither src/index.ts nor package.json's exports.
4
+ */
5
+ export { SeedSteps } from './seed-steps.js';
6
+ export type { SeedStepsProps, SeedStepsWords } from './seed-steps.js';
7
+ export { useResetFocus } from './reset-focus.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/seed-steps/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The door of a private part: SeedRoundnessField's and SeedContrastField's row, and the press-back focus hook
3
+ * SeedColorField, FontPicker and StepList share. In neither src/index.ts nor package.json's exports.
4
+ */
5
+ export { SeedSteps } from './seed-steps.js';
6
+ export { useResetFocus } from './reset-focus.js';
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/seed-steps/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { type FocusEvent } from 'react';
2
+ /**
3
+ * `departs`: the row holds a departure, so its press is drawn. `stop`: the row's Tab stop, found as it is now.
4
+ * Returns `resetting`, what the press calls as it tells `onChange(null)`, and `press`, the focus handlers the press
5
+ * wears. Once a render after it shows no departure, the focus goes to `stop`, if the press was pressed or held the
6
+ * focus as it went (the focus is then on the page, or nowhere). A consumer that keeps the departure keeps the press,
7
+ * and the focus with it; one that clears it while the focus is elsewhere moves nothing.
8
+ */
9
+ export declare function useResetFocus(departs: boolean, stop: () => HTMLElement | null | undefined): {
10
+ resetting: () => void;
11
+ press: {
12
+ onFocus: () => void;
13
+ onBlur: (event: FocusEvent<HTMLElement>) => void;
14
+ };
15
+ };
16
+ //# sourceMappingURL=reset-focus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-focus.d.ts","sourceRoot":"","sources":["../../src/seed-steps/reset-focus.ts"],"names":[],"mappings":"AAQA,OAAO,EAA2B,KAAK,UAAU,EAAE,MAAM,OAAO,CAAA;AAEhE;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS;IAiBlF,SAAS;IAGT,KAAK;QACD,OAAO;QAGP,MAAM,UAAU,UAAU,CAAC,WAAW,CAAC;;EAQlD"}
@@ -0,0 +1,53 @@
1
+ 'use client';
2
+ // A style row's press that puts a departure back (SeedSteps', SeedColorField's, FontPicker's) goes as it is pressed:
3
+ // once the consumer takes the null, the value follows again and there is nothing to put back. A press that goes while
4
+ // it holds the focus would drop it to the page, so the focus goes to the row's own Tab stop, now showing what it
5
+ // follows (2026-11-13). The same holds where the departure is cleared from outside (an undo, a collaborator, the
6
+ // consumer's own reset) while the press holds the focus, and for StepList's Show older, which goes with `older`.
7
+ // Private: reached through seed-steps/index.ts, in neither src/index.ts nor package.json's exports.
8
+ import { useLayoutEffect, useRef } from 'react';
9
+ /**
10
+ * `departs`: the row holds a departure, so its press is drawn. `stop`: the row's Tab stop, found as it is now.
11
+ * Returns `resetting`, what the press calls as it tells `onChange(null)`, and `press`, the focus handlers the press
12
+ * wears. Once a render after it shows no departure, the focus goes to `stop`, if the press was pressed or held the
13
+ * focus as it went (the focus is then on the page, or nowhere). A consumer that keeps the departure keeps the press,
14
+ * and the focus with it; one that clears it while the focus is elsewhere moves nothing.
15
+ */
16
+ export function useResetFocus(departs, stop) {
17
+ const pressed = useRef(false);
18
+ // Whether the press holds the focus: set as it takes it, cleared as it gives it up while still on the page. A press
19
+ // taken off the page as it goes may say it blurred, so the clearing waits a microtask and asks whether it is still
20
+ // there; this commit's layout effect has run by then.
21
+ const held = useRef(false);
22
+ useLayoutEffect(() => {
23
+ if (departs)
24
+ return;
25
+ const was = pressed.current || held.current;
26
+ pressed.current = false;
27
+ held.current = false;
28
+ if (!was)
29
+ return;
30
+ const at = document.activeElement;
31
+ if (!at || at === document.body)
32
+ stop()?.focus();
33
+ // eslint-disable-next-line react-hooks/exhaustive-deps
34
+ }, [departs]);
35
+ return {
36
+ resetting: () => {
37
+ pressed.current = true;
38
+ },
39
+ press: {
40
+ onFocus: () => {
41
+ held.current = true;
42
+ },
43
+ onBlur: (event) => {
44
+ const press = event.currentTarget;
45
+ queueMicrotask(() => {
46
+ if (press.isConnected)
47
+ held.current = false;
48
+ });
49
+ },
50
+ },
51
+ };
52
+ }
53
+ //# sourceMappingURL=reset-focus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-focus.js","sourceRoot":"","sources":["../../src/seed-steps/reset-focus.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AACZ,qHAAqH;AACrH,sHAAsH;AACtH,iHAAiH;AACjH,iHAAiH;AACjH,iHAAiH;AACjH,oGAAoG;AAEpG,OAAO,EAAE,eAAe,EAAE,MAAM,EAAmB,MAAM,OAAO,CAAA;AAEhE;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,OAAgB,EAAE,IAA0C;IACtF,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;IAC7B,oHAAoH;IACpH,mHAAmH;IACnH,sDAAsD;IACtD,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;IAC1B,eAAe,CAAC,GAAG,EAAE;QACjB,IAAI,OAAO;YAAE,OAAM;QACnB,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAA;QAC3C,OAAO,CAAC,OAAO,GAAG,KAAK,CAAA;QACvB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,GAAG;YAAE,OAAM;QAChB,MAAM,EAAE,GAAG,QAAQ,CAAC,aAAa,CAAA;QACjC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,QAAQ,CAAC,IAAI;YAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAA;QAChD,uDAAuD;IAC3D,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IACb,OAAO;QACH,SAAS,EAAE,GAAG,EAAE;YACZ,OAAO,CAAC,OAAO,GAAG,IAAI,CAAA;QAC1B,CAAC;QACD,KAAK,EAAE;YACH,OAAO,EAAE,GAAG,EAAE;gBACV,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;YACvB,CAAC;YACD,MAAM,EAAE,CAAC,KAA8B,EAAE,EAAE;gBACvC,MAAM,KAAK,GAAG,KAAK,CAAC,aAAa,CAAA;gBACjC,cAAc,CAAC,GAAG,EAAE;oBAChB,IAAI,KAAK,CAAC,WAAW;wBAAE,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;gBAC/C,CAAC,CAAC,CAAA;YACN,CAAC;SACJ;KACJ,CAAA;AACL,CAAC"}
@@ -0,0 +1,83 @@
1
+ /* The steps a seed's value is set on (seed-steps.tsx, private): SeedRoundnessField's and SeedContrastField's row, each
2
+ * field's own sheet @imports it. The name and its words over a radio group of steps on SegmentedControl's track, by
3
+ * SegmentedControl's own tokens (gap, padding, corners, fills, inks), the chosen step on the chosen fill; a tertiary
4
+ * press after the track puts a departure back (Button: import button.css).
5
+ *
6
+ * LENGTHS IT DECIDES:
7
+ * 36px the track, the smallest rung of the ladder, as the NumberFields and segments beside it; each step fills it
8
+ * less the track's padding
9
+ * 12rem the least the track keeps before the press back wraps under it
10
+ * 2px the focus ring, as SegmentedControl's, on the step's own edge (0 offset: the track's gap holds it)
11
+ * 0.35 how faint a disabled track is, as Inspector.Segments'
12
+ * Following its style is said in ink, not opacity: the chosen step's ink is text.secondary, the rest's already are.
13
+ * Disabled is aria-disabled, never the native state (which blurs a focused control): the steps and the press back
14
+ * keep the focus, drawn as disabled, their presses ignored. The press back is Button's `disabledFocusable`
15
+ * (2026-11-13), drawn by button.css. */
16
+ .newtone-seed-steps {
17
+ display: flex;
18
+ flex-direction: column;
19
+ gap: var(--newtone-space-2);
20
+ min-inline-size: 0;
21
+ color: var(--newtone-role-text-primary);
22
+ }
23
+ .newtone-seed-steps-head {
24
+ display: flex;
25
+ flex-wrap: wrap;
26
+ align-items: baseline;
27
+ column-gap: var(--newtone-space-2);
28
+ min-inline-size: 0;
29
+ }
30
+ .newtone-seed-steps-row {
31
+ display: flex;
32
+ flex-wrap: wrap;
33
+ align-items: center;
34
+ gap: var(--newtone-space-2);
35
+ min-inline-size: 0;
36
+ }
37
+ .newtone-seed-steps-track {
38
+ display: flex;
39
+ flex: 1 1 12rem;
40
+ align-items: stretch;
41
+ gap: var(--newtone-segmented-control-gap);
42
+ padding: var(--newtone-segmented-control-padding);
43
+ box-sizing: border-box;
44
+ block-size: 36px;
45
+ min-inline-size: 0;
46
+ /* SegmentedControl's: the step's corner plus the padding, so the two curves nest. */
47
+ border-radius: calc(
48
+ var(--newtone-segmented-control-radius) + var(--newtone-segmented-control-padding)
49
+ );
50
+ background: var(--newtone-segmented-control-track-fill);
51
+ }
52
+ .newtone-seed-steps-step {
53
+ all: unset;
54
+ box-sizing: border-box;
55
+ display: grid;
56
+ flex: 1 1 0;
57
+ place-items: center;
58
+ min-inline-size: 0;
59
+ border-radius: var(--newtone-segmented-control-segment-radius);
60
+ color: var(--newtone-segmented-control-segment-rest-text);
61
+ cursor: pointer;
62
+ }
63
+ .newtone-seed-steps-step:where(:hover:not([aria-disabled='true'])) {
64
+ color: var(--newtone-segmented-control-segment-hover-text);
65
+ }
66
+ .newtone-seed-steps-step:where([aria-checked='true']) {
67
+ background: var(--newtone-segmented-control-segment-chosen-fill);
68
+ color: var(--newtone-segmented-control-segment-chosen-text);
69
+ }
70
+ .newtone-seed-steps-step:focus-visible {
71
+ outline: 2px solid var(--newtone-role-text-accent);
72
+ outline-offset: 0;
73
+ }
74
+ .newtone-seed-steps-step:where([aria-disabled='true']) {
75
+ cursor: default;
76
+ }
77
+ .newtone-seed-steps-track[aria-disabled='true'] {
78
+ opacity: 0.35;
79
+ }
80
+ /* Following its style: the chosen step in the secondary ink, the words said beside the name. A pick departs. */
81
+ .newtone-seed-steps[data-same] .newtone-seed-steps-step[aria-checked='true'] {
82
+ color: var(--newtone-role-text-secondary);
83
+ }
@@ -0,0 +1,47 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export interface SeedStepsWords {
3
+ /** Said where the value follows `inherited`, and on the press that makes it follow again: "Same as Sunset". */
4
+ same: string;
5
+ /** The press's words, where they differ from `same`: "Reset to Sunset's". */
6
+ reset?: string;
7
+ /** Said beside the name while the value departs from `inherited`: "Changed here". Not shown unless given. */
8
+ changed?: string;
9
+ /**
10
+ * Said where the value stands between two steps (a seed may hold one): given the two steps' names, the words
11
+ * that say so. Without it, the two names with a dash between.
12
+ */
13
+ between?: (lower: string, upper: string) => string;
14
+ }
15
+ export interface SeedStepsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children'> {
16
+ /** The root's own class: which field it is. */
17
+ className: string;
18
+ label: string;
19
+ value: number | null;
20
+ inherited?: number;
21
+ /**
22
+ * What a null value means where nothing is `inherited`: the seed key's own value when absent (Dark limit 0,
23
+ * Roundness 1). Shown as followed, in the secondary ink with the Tab stop on it, but with no `same` words and no
24
+ * press back, as there is nothing to name or return to.
25
+ */
26
+ absent?: number;
27
+ onChange: (value: number | null) => void;
28
+ words: SeedStepsWords;
29
+ /**
30
+ * Read-only: `aria-disabled`, every press and key ignored. The Tab stop stays, so the row is still found and its
31
+ * value read, and a row disabled while it holds the focus keeps it.
32
+ */
33
+ disabled?: boolean;
34
+ /** The steps' values, in order, least first. */
35
+ steps: readonly number[];
36
+ /** Each step's name, in `steps`' order: its radio's accessible name. */
37
+ names: readonly string[];
38
+ /** What each step draws. */
39
+ draw: (value: number, index: number) => ReactNode;
40
+ /**
41
+ * The steps are pictures, not words (Roundness's corners): each step's name is its tooltip, and the chosen step's
42
+ * name is said beside the field's name.
43
+ */
44
+ pictured?: boolean;
45
+ }
46
+ export declare function SeedSteps({ className, label, value, inherited, absent, onChange, words, disabled, steps, names, draw, pictured, ...rest }: SeedStepsProps): import("react").JSX.Element;
47
+ //# sourceMappingURL=seed-steps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seed-steps.d.ts","sourceRoot":"","sources":["../../src/seed-steps/seed-steps.tsx"],"names":[],"mappings":"AASA,OAAO,EAAiB,KAAK,cAAc,EAAsB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAK9F,MAAM,WAAW,cAAc;IAC3B,+GAA+G;IAC/G,IAAI,EAAE,MAAM,CAAA;IACZ,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6GAA6G;IAC7G,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;CACrD;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CACxC,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,UAAU,CAC1B;IACG,+CAA+C;IAC/C,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IACxC,KAAK,EAAE,cAAc,CAAA;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gDAAgD;IAChD,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;IACxB,wEAAwE;IACxE,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;IACxB,4BAA4B;IAC5B,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAA;IACjD;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB;AAcD,wBAAgB,SAAS,CAAC,EACtB,SAAS,EACT,KAAK,EACL,KAAK,EACL,SAAS,EACT,MAAM,EACN,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,KAAK,EACL,KAAK,EACL,IAAI,EACJ,QAAgB,EAChB,GAAG,IAAI,EACV,EAAE,cAAc,+BAwIhB"}
@@ -0,0 +1,95 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ // The row a seed's stepped value is set on (2026-11-13: SeedRoundnessField's five corners, SeedContrastField's five
4
+ // numbers): its name, the words saying whether it follows its style, a radio group of steps on the segmented control's
5
+ // track, and the press that puts a departure back. One Tab stop; the arrow keys move and choose; one tap picks.
6
+ // Nothing here drops the focus to the page (2026-11-13): the press back gives it to the Tab stop as it goes, and
7
+ // `disabled` is `aria-disabled` with presses and keys ignored, never the native state, which blurs a focused control.
8
+ // Private: its door, index.ts, is in neither src/index.ts nor package.json's exports. Its sheet is seed-steps.css,
9
+ // which each field's own sheet @imports.
10
+ import { useId, useRef } from 'react';
11
+ import { Button } from '../button/index.js';
12
+ import { Text } from '../text/index.js';
13
+ import { useResetFocus } from './reset-focus.js';
14
+ /** Where `v` stands among `steps`: its index, or the two it lies between (`lo` and `lo + 1`), or past an end. */
15
+ function place(steps, v) {
16
+ if (v === null)
17
+ return { at: -1, lo: -1 };
18
+ const at = steps.findIndex((s) => s === v);
19
+ if (at >= 0)
20
+ return { at, lo: at };
21
+ let lo = -1;
22
+ steps.forEach((s, i) => {
23
+ if (s < v)
24
+ lo = i;
25
+ });
26
+ return { at: -1, lo };
27
+ }
28
+ export function SeedSteps({ className, label, value, inherited, absent, onChange, words, disabled, steps, names, draw, pictured = false, ...rest }) {
29
+ const group = useRef(null);
30
+ const id = useId();
31
+ const stateId = `${id}state`;
32
+ const betweenId = `${id}between`;
33
+ // Following: what the null value is shown as, `inherited`, else the key's `absent` value. Only `inherited` is said.
34
+ const same = value === null && inherited !== undefined;
35
+ const departs = value !== null && inherited !== undefined;
36
+ const shown = value ?? inherited ?? absent ?? null;
37
+ const follows = value === null && shown !== null;
38
+ // The press back goes as it is pressed, or as the departure is cleared from outside: the focus it held goes to the
39
+ // Tab stop, now on the step followed.
40
+ const { resetting, press } = useResetFocus(departs, () => group.current?.querySelector('[role="radio"][tabindex="0"]'));
41
+ const { at, lo } = place(steps, shown);
42
+ const n = steps.length;
43
+ // A value between two steps chooses none; it is said in words, and the Tab stop is the step nearest it.
44
+ const between = shown !== null && at < 0 && lo >= 0 && lo < n - 1;
45
+ const nearest = shown === null
46
+ ? 0
47
+ : steps.reduce((best, s, i) => (Math.abs(s - shown) < Math.abs(steps[best] - shown) ? i : best), 0);
48
+ const stop = at >= 0 ? at : nearest;
49
+ const state = same ? words.same : departs && words.changed ? words.changed : null;
50
+ const betweenWords = between
51
+ ? (words.between?.(names[lo], names[lo + 1]) ?? `${names[lo]} – ${names[lo + 1]}`)
52
+ : null;
53
+ const pick = (i) => {
54
+ if (disabled)
55
+ return;
56
+ const v = steps[i];
57
+ // Already what it is, set here or followed: a press changes nothing, so it does not depart.
58
+ if (value === null ? shown === v : value === v)
59
+ return;
60
+ onChange(v);
61
+ };
62
+ // A radio group: one Tab stop, the arrow keys move and choose, wrapping, Home and End to the ends. From a value
63
+ // between two steps, an arrow goes to the nearer of those two in its direction.
64
+ const keys = (e) => {
65
+ // Read-only, the group's own keys are still kept from the page (as NumberField's are), and change nothing.
66
+ if (disabled) {
67
+ if (/^(Arrow(Left|Right|Up|Down)|Home|End)$/.test(e.key))
68
+ e.preventDefault();
69
+ return;
70
+ }
71
+ const ahead = e.key === 'ArrowRight' || e.key === 'ArrowDown';
72
+ const back = e.key === 'ArrowLeft' || e.key === 'ArrowUp';
73
+ let to = null;
74
+ if (ahead)
75
+ to = at >= 0 ? (at + 1) % n : between ? lo + 1 : lo < 0 ? 0 : n - 1;
76
+ else if (back)
77
+ to = at >= 0 ? (at - 1 + n) % n : between ? lo : lo < 0 ? 0 : n - 1;
78
+ else if (e.key === 'Home')
79
+ to = 0;
80
+ else if (e.key === 'End')
81
+ to = n - 1;
82
+ if (to === null)
83
+ return;
84
+ e.preventDefault();
85
+ pick(to);
86
+ group.current?.querySelectorAll('[role="radio"]')[to]?.focus();
87
+ };
88
+ return (_jsxs("div", { ...rest, className: ['newtone-seed-steps', className].filter(Boolean).join(' '), "data-same": follows ? '' : undefined, children: [_jsxs("div", { className: "newtone-seed-steps-head", children: [_jsx(Text, { as: "span", scale: "body-sm", weight: "medium", lines: 1, children: label }), pictured && at >= 0 ? (_jsx(Text, { as: "span", scale: "body-sm", tone: "secondary", lines: 1, "aria-hidden": "true", children: names[at] })) : null, betweenWords ? (_jsx(Text, { as: "span", scale: "body-sm", tone: "secondary", lines: 1, id: betweenId, children: betweenWords })) : null, state ? (_jsx(Text, { as: "span", scale: "caption", tone: "secondary", lines: 1, id: stateId, children: state })) : null] }), _jsxs("div", { className: "newtone-seed-steps-row", children: [_jsx("div", { ref: group, role: "radiogroup", "aria-label": label, "aria-describedby": [betweenWords ? betweenId : null, state ? stateId : null]
89
+ .filter(Boolean)
90
+ .join(' ') || undefined, "aria-disabled": disabled || undefined, className: "newtone-seed-steps-track", onKeyDown: keys, children: steps.map((v, i) => (_jsx("button", { type: "button", role: "radio", "aria-checked": i === at, "aria-label": names[i], title: pictured ? names[i] : undefined, tabIndex: i === stop ? 0 : -1, "aria-disabled": disabled || undefined, className: "newtone-seed-steps-step", onClick: () => pick(i), children: draw(v, i) }, v))) }), departs ? (_jsx(Button, { size: "sm", variant: "tertiary", className: "newtone-seed-steps-reset", disabledFocusable: disabled, "aria-label": `${words.reset ?? words.same}: ${label}`, ...press, onClick: () => {
91
+ resetting();
92
+ onChange(null);
93
+ }, children: words.reset ?? words.same })) : null] })] }));
94
+ }
95
+ //# sourceMappingURL=seed-steps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seed-steps.js","sourceRoot":"","sources":["../../src/seed-steps/seed-steps.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,oHAAoH;AACpH,uHAAuH;AACvH,gHAAgH;AAChH,iHAAiH;AACjH,sHAAsH;AACtH,mHAAmH;AACnH,yCAAyC;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,EAA2D,MAAM,OAAO,CAAA;AAC9F,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAmDhD,iHAAiH;AACjH,SAAS,KAAK,CAAC,KAAwB,EAAE,CAAgB;IACrD,IAAI,CAAC,KAAK,IAAI;QAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAA;IACzC,MAAM,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAA;IAC1C,IAAI,E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AC,CAAC,CACP,KAAC,MAAM,IACH,IAAI,EAAC,IAAI,EACT,OAAO,EAAC,UAAU,EAClB,SAAS,EAAC,0BAA0B,EACpC,iBAAiB,EAAE,QAAQ,gBACf,GAAG,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,KAAK,EAAE,KAChD,KAAK,EACT,OAAO,EAAE,GAAG,EAAE;4BACV,SAAS,EAAE,CAAA;4BACX,QAAQ,CAAC,IAAI,CAAC,CAAA;wBAClB,CAAC,YAEA,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,GACrB,CACZ,CAAC,CAAC,CAAC,IAAI,IACN,IACJ,CACT,CAAA;AACL,CAAC"}
@@ -110,9 +110,11 @@
110
110
  justify-content: center;
111
111
  }
112
112
 
113
- /* THE RAIL: icons only. The label is hidden visually and stays the link's accessible name. */
113
+ /* THE RAIL: icons only. The label is hidden visually and stays the link's accessible name. Its labels go by the
114
+ state alone, which the width sets (2026-11-13, CHARTER non-negotiable 8): hidden in the rail, shown wherever the panel
115
+ is full, and in the rail opened by the focus, or by a hovering pointer below. */
114
116
  .newtone-shell[data-newtone-shell-state='rail']
115
- .newtone-shell-panel:not(:hover):not(:focus-within)
117
+ .newtone-shell-panel:not(:focus-within)
116
118
  .newtone-shell-link-label {
117
119
  position: absolute;
118
120
  inline-size: 1px;
@@ -122,18 +124,6 @@
122
124
  white-space: nowrap;
123
125
  }
124
126
 
125
- @media (hover: none) {
126
- .newtone-shell[data-newtone-shell-state='rail']
127
- .newtone-shell-panel:not(:focus-within)
128
- .newtone-shell-link-label {
129
- position: absolute;
130
- inline-size: 1px;
131
- block-size: 1px;
132
- overflow: hidden;
133
- clip-path: inset(50%);
134
- }
135
- }
136
-
137
127
  /* OVER <main>, NOT BESIDE IT. The overlay, and the rail opened by hover or focus, take the full
138
128
  width while the grid column stays the rail's -- so <main>'s inline size never changes. */
139
129
  .newtone-shell[data-newtone-shell-state='overlay'] .newtone-shell-panel,
@@ -144,31 +134,39 @@
144
134
  inline-size: var(--_shell-full);
145
135
  }
146
136
 
137
+ .newtone-shell[data-newtone-shell-state='overlay'] .newtone-shell-panel,
138
+ .newtone-shell[data-newtone-shell-state='drawer'] .newtone-shell-panel,
139
+ .newtone-shell[data-newtone-shell-state='rail'] .newtone-shell-panel:focus-within {
140
+ box-shadow: var(--_shadow-medium);
141
+ }
142
+
143
+ /* A pointer that hovers opens the rail as the focus does: how a gesture is recognized, which CHARTER non-negotiable 8
144
+ lets adapt ("no hover", 2026-11-13). A touch screen keeps a hover after a tap, so there it would leave the rail open
145
+ over <main> after the page changed, and a hover that reveals could make a link need two taps; a touch opens it by
146
+ the focus. What is seen at rest, and what can be done, are the same at each width. */
147
147
  @media (hover: hover) {
148
148
  .newtone-shell[data-newtone-shell-state='rail'] .newtone-shell-panel:hover {
149
149
  position: absolute;
150
150
  inset-block: 0;
151
151
  inset-inline-start: 0;
152
152
  inline-size: var(--_shell-full);
153
+ box-shadow: var(--_shadow-medium);
154
+ }
155
+ .newtone-shell[data-newtone-shell-state='rail']
156
+ .newtone-shell-panel:hover:not(:focus-within)
157
+ .newtone-shell-link-label {
158
+ position: static;
159
+ inline-size: auto;
160
+ block-size: auto;
161
+ overflow: visible;
162
+ clip-path: none;
163
+ }
164
+ [data-newtone-shell-state='rail']
165
+ .newtone-shell-panel:hover:not(:focus-within)
166
+ .newtone-shell-brand[data-newtone-rail='hide']
167
+ > * {
168
+ visibility: visible;
153
169
  }
154
- }
155
-
156
- .newtone-shell[data-newtone-shell-state='overlay'] .newtone-shell-panel,
157
- .newtone-shell[data-newtone-shell-state='drawer'] .newtone-shell-panel,
158
- .newtone-shell[data-newtone-shell-state='rail'] .newtone-shell-panel:is(:hover, :focus-within) {
159
- box-shadow:
160
- 0 var(--newtone-shadow-raised-contact-y) var(--newtone-shadow-raised-contact-blur)
161
- color-mix(
162
- in oklab,
163
- var(--_shell-ink) var(--newtone-shadow-raised-strength-contact),
164
- transparent
165
- ),
166
- 0 var(--newtone-shadow-raised-ambient-y) var(--newtone-shadow-raised-ambient-blur)
167
- color-mix(
168
- in oklab,
169
- var(--_shell-ink) var(--newtone-shadow-raised-strength-ambient),
170
- transparent
171
- );
172
170
  }
173
171
 
174
172
  /* THE DRAWER, below `compact`: no rail, no icons; the panel slides in from the left over a scrim. */
@@ -257,7 +255,7 @@
257
255
 
258
256
  /* `brandInRail="hide"`, from 2026-10-30: in the rail the brand's row waits for the full panel. */
259
257
  [data-newtone-shell-state='rail']
260
- .newtone-shell-panel:not(:hover):not(:focus-within)
258
+ .newtone-shell-panel:not(:focus-within)
261
259
  .newtone-shell-brand[data-newtone-rail='hide']
262
260
  > * {
263
261
  visibility: hidden;
@@ -152,7 +152,7 @@
152
152
  }
153
153
  .newtone-slide-list-thumb {
154
154
  display: block;
155
- aspect-ratio: 16 / 9;
155
+ aspect-ratio: var(--newtone-slide-list-ratio, 16 / 9);
156
156
  overflow: hidden;
157
157
  background: var(--newtone-role-surface-primary);
158
158
  border: 1px solid var(--newtone-role-divider-secondary);
@@ -453,7 +453,7 @@
453
453
  }
454
454
  .newtone-slide-list-ghost[data-what='slide'] {
455
455
  inline-size: 6rem;
456
- aspect-ratio: 16 / 9;
456
+ aspect-ratio: var(--newtone-slide-list-ratio, 16 / 9);
457
457
  border-radius: var(--newtone-radius-sm);
458
458
  background: var(--newtone-role-surface-primary);
459
459
  /* Its accent ring and its shadow (close + far): material.css, the only sheet that names the shadows (Joshua 2026-11-11). */
@@ -475,3 +475,24 @@
475
475
  transition: none;
476
476
  }
477
477
  }
478
+
479
+ /* A slide arriving (`arriving`, 2026-11-11): dropped in from above, as if let go over the list. It falls from 24px up,
480
+ * a little small and faint, settling with the reveal easing; the rows under it open its room as it is drawn. */
481
+ @keyframes newtone-slide-list-drop {
482
+ from {
483
+ transform: translateY(-24px) scale(0.92);
484
+ opacity: 0;
485
+ }
486
+ to {
487
+ transform: none;
488
+ opacity: 1;
489
+ }
490
+ }
491
+ .newtone-slide-list-slide[data-arriving] {
492
+ animation: newtone-slide-list-drop calc(var(--newtone-motion-duration-reveal) / 2) var(--newtone-motion-easing-reveal) both;
493
+ }
494
+ @media (prefers-reduced-motion: reduce) {
495
+ .newtone-slide-list-slide[data-arriving] {
496
+ animation: none;
497
+ }
498
+ }
@@ -72,6 +72,8 @@ export interface SlideListProps extends Omit<HTMLAttributes<HTMLDivElement>, 'ch
72
72
  label: string;
73
73
  labels: SlideListLabels;
74
74
  items: SlideListItem[];
75
+ /** The slides' proportions, width over height (2026-11-11): each thumbnail's box. 16:9 unless given. */
76
+ ratio?: number;
75
77
  /** The slides chosen. */
76
78
  chosen: string[];
77
79
  /** `alone`: a press; `add`: with Command or Ctrl; `range`: with Shift, every slide from the last chosen to this one. */
@@ -127,6 +129,11 @@ export interface SlideListProps extends Omit<HTMLAttributes<HTMLDivElement>, 'ch
127
129
  */
128
130
  placeOutside?: (el: Element) => boolean;
129
131
  onPlaceOutside?: (what: 'slide' | 'section') => void;
132
+ /**
133
+ * A slide just put here from elsewhere (2026-11-11, Show: a layout published to a library): it drops in from above,
134
+ * once, as it is drawn; still for those who ask for less motion. The consumer clears it after.
135
+ */
136
+ arriving?: string | null;
130
137
  }
131
138
  /** Where something placed was dropped (`onPlace`). */
132
139
  export interface SlideListPlace {
@@ -142,7 +149,7 @@ export interface SlideListPlace {
142
149
  * (slides between sections, sections with their slides), folded, hidden, renamed, added and removed. The consumer
143
150
  * keeps the deck and is told each change. Blueprint components/slide-list.md.
144
151
  */
145
- export declare function SlideList({ label, labels, items, chosen, onChoose, onMove, onToggle, onFold, onRename, naming, onAdd, menuAdds, caption, onInsert, adds, onRemove, placing, onPlace, onPlaceCancel, placeOutside, onPlaceOutside, className, ...rest }: SlideListProps): import("react").JSX.Element;
152
+ export declare function SlideList({ label, labels, items, chosen, onChoose, onMove, onToggle, onFold, onRename, naming, onAdd, menuAdds, caption, onInsert, adds, onRemove, placing, onPlace, onPlaceCancel, placeOutside, onPlaceOutside, arriving, ratio, className, style, ...rest }: SlideListProps): import("react").JSX.Element;
146
153
  export declare namespace SlideList {
147
154
  export { SlideListLoading as Loading };
148
155
  }
@@ -151,11 +158,13 @@ export interface SlideListLoadingProps {
151
158
  label: string;
152
159
  /** How many slides to draw: the deck's count when known, else a few. */
153
160
  count?: number;
161
+ /** The slides' proportions, width over height: each skeleton's box, as the list's `ratio`. */
162
+ ratio?: number;
154
163
  }
155
164
  /**
156
165
  * The list while its deck arrives (components/skeleton.md): numbered rows whose thumbnails are skeletons, where the
157
166
  * slides will be, so nothing moves when they come.
158
167
  */
159
- declare function SlideListLoading({ label, count }: SlideListLoadingProps): import("react").JSX.Element;
168
+ declare function SlideListLoading({ label, count, ratio }: SlideListLoadingProps): import("react").JSX.Element;
160
169
  export {};
161
170
  //# sourceMappingURL=slide-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slide-list.d.ts","sourceRoot":"","sources":["../../src/slide-list/slide-list.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAMH,KAAK,cAAc,EAInB,KAAK,SAAS,EACjB,MAAM,OAAO,CAAA;AAOd,8EAA8E;AAC9E,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6GAA6G;IAC7G,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qHAAqH;IACrH,MAAM,CAAC,EAAE,WAAW,EAAE,CAAA;CACzB;AAED,mDAAmD;AACnD,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,cAAc,EAAE,CAAA;IACxB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB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