@kolkrabbi/kol-component 0.379.0 → 0.380.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 (65) hide show
  1. package/package.json +4 -4
  2. package/src/atoms/Badge.jsx +1 -5
  3. package/src/atoms/Button.jsx +4 -11
  4. package/src/atoms/Input.jsx +2 -6
  5. package/src/atoms/Pill.jsx +1 -3
  6. package/src/atoms/ProgressBar.jsx +3 -6
  7. package/src/atoms/SectionLabel.jsx +0 -22
  8. package/src/atoms/Tag.jsx +4 -7
  9. package/src/atoms/Textarea.jsx +1 -5
  10. package/src/atoms/ToggleCheckbox.jsx +3 -5
  11. package/src/atoms/ToggleSwitch.jsx +2 -7
  12. package/src/atoms/ViewToggle.jsx +0 -27
  13. package/src/index.js +0 -1
  14. package/src/molecules/AccountMenu.jsx +2 -2
  15. package/src/molecules/ButtonGroup.jsx +5 -14
  16. package/src/molecules/ButtonSplit.jsx +12 -26
  17. package/src/molecules/ContentRow.jsx +1 -29
  18. package/src/molecules/ContextMenu.jsx +0 -1
  19. package/src/molecules/DocsToc.jsx +1 -16
  20. package/src/molecules/Dropdown.jsx +4 -17
  21. package/src/molecules/EmptyState.jsx +1 -15
  22. package/src/molecules/FieldPair.jsx +1 -1
  23. package/src/molecules/Header.jsx +4 -4
  24. package/src/molecules/IndexRow.jsx +1 -1
  25. package/src/molecules/InlineAddRow.jsx +2 -2
  26. package/src/molecules/LabeledControl.jsx +5 -11
  27. package/src/molecules/LayerRow.jsx +1 -1
  28. package/src/molecules/LinkAddRow.jsx +5 -7
  29. package/src/molecules/Menu.jsx +11 -30
  30. package/src/molecules/MenuFloat.jsx +6 -12
  31. package/src/molecules/MenuList.jsx +5 -11
  32. package/src/molecules/Modal.jsx +16 -48
  33. package/src/molecules/ModalHeader.jsx +12 -20
  34. package/src/molecules/ModalShell.jsx +4 -7
  35. package/src/molecules/NoticeBanner.jsx +1 -1
  36. package/src/molecules/PanelsMenu.jsx +2 -2
  37. package/src/molecules/PasswordInput.jsx +1 -1
  38. package/src/molecules/QuantityInput.jsx +2 -18
  39. package/src/molecules/QuickLookFrame.jsx +2 -31
  40. package/src/molecules/RailHeader.jsx +11 -20
  41. package/src/molecules/ReadingActions.jsx +2 -2
  42. package/src/molecules/ReadingNotes.jsx +3 -3
  43. package/src/molecules/ReadingSettings.jsx +8 -8
  44. package/src/molecules/SearchInput.jsx +4 -5
  45. package/src/molecules/SectionText.jsx +2 -9
  46. package/src/molecules/SettingsControls.jsx +23 -23
  47. package/src/molecules/Slider.jsx +3 -54
  48. package/src/molecules/SpecList.jsx +1 -21
  49. package/src/molecules/TabsRow.jsx +6 -50
  50. package/src/molecules/TaskRow.jsx +2 -2
  51. package/src/molecules/TocRow.jsx +1 -1
  52. package/src/molecules/WorkspaceSwitcher.jsx +3 -6
  53. package/src/organisms/CommandOverlay.jsx +16 -116
  54. package/src/organisms/ContentFilters.jsx +4 -12
  55. package/src/organisms/MediaLibrary.jsx +0 -55
  56. package/src/organisms/NavRail.jsx +1 -4
  57. package/src/organisms/ReadingContents.jsx +2 -2
  58. package/src/organisms/ReadingOverview.jsx +5 -5
  59. package/src/organisms/ReadingPanel.jsx +1 -1
  60. package/src/organisms/SettingsPanel.jsx +19 -40
  61. package/src/organisms/Table.jsx +1 -49
  62. package/src/utilities/Popover.jsx +2 -4
  63. package/src/utilities/SelectionOverlay.jsx +1 -45
  64. package/src/molecules/FloatModuleHeader.jsx +0 -11
  65. package/src/organisms/NavRailFloat.jsx +0 -139
@@ -4,7 +4,6 @@ import { IconLoader } from '@kolkrabbi/kol-icons'
4
4
  import Button from '../atoms/Button.jsx'
5
5
  import Input from '../atoms/Input.jsx'
6
6
  import ToggleCheckbox from '../atoms/ToggleCheckbox.jsx'
7
- import ButtonGroup from './ButtonGroup.jsx'
8
7
  import Header from './Header.jsx'
9
8
  import ModalShell from './ModalShell.jsx'
10
9
  import { KolboxShell, PopoverLayer } from '../utilities/Popover.jsx'
@@ -63,17 +62,6 @@ import { KolboxShell, PopoverLayer } from '../utilities/Popover.jsx'
63
62
  * `values` comes back on cancel too (the toggles as left), so a consumer can remember them either
64
63
  * way. Without `options`, confirm still resolves a plain boolean — existing callers untouched.
65
64
  *
66
- * THE FLOAT (`variant: 'float'` on any call or on the provider, float-everything W6 rows 84 · 85 · 89 · 90, 2026-11-04 —
67
- * kol-float--style 46:2795): the window on `kol-float-solid` at `--kol-float-window-r`, 24 in, 18 between its parts.
68
- * A `header` (with its `icon`) draws `Header variant="modal"` over the title; the title is the heading
69
- * (`kol-float-section`… at 20: Inter 500), `body` a line under it in the hint ink; fields are float Inputs, toggles float
70
- * ToggleCheckboxes; the actions sit apart — the quiet cancel at the left (`tone="ghost"`), the next step at the right
71
- * (`inverted`, or `danger` when `tone: 'danger'` — the destructive confirm). Still a blocking task, so the scrim
72
- * stays: the scrim rule is "only when blocking", and a prompt always blocks.
73
- *
74
- * await confirm('Delete “Orbit field”?', { variant: 'float', header: 'Delete layer', icon: 'alert-triangle',
75
- * body: 'This removes the layer and its 4 keyframes from Scene 01.', tone: 'danger', okLabel: 'Delete layer', cancelLabel: 'Keep layer' })
76
- *
77
65
  * Mounted once at the app root (BrandLayout). Renders into `document.body`
78
66
  * via portal, so it floats above any rail / scroll-context.
79
67
  *
@@ -90,9 +78,9 @@ import { KolboxShell, PopoverLayer } from '../utilities/Popover.jsx'
90
78
  const ModalCtx = (globalThis[Symbol.for('@kolkrabbi/kol-component/ModalCtx')] ??= createContext(null))
91
79
 
92
80
  /* THE MODAL VARIANTS (user 2026-10-31: *"do we not use variants for different styles?"*) live on ModalShell (W2.1,
93
- * 2026-11-08) — the one panel: `lift`, `bordered`, `float`. Each modal keeps its own default (prompts bordered, Dialog
81
+ * 2026-11-08) — the one panel: `lift`, `bordered`. Each modal keeps its own default (prompts bordered, Dialog
94
82
  * lift) until he picks one; an unknown name falls back to that default. */
95
- const KNOWN = new Set(['lift', 'bordered', 'float'])
83
+ const KNOWN = new Set(['lift', 'bordered'])
96
84
  const modalVariant = (v, fallback) => (KNOWN.has(v) ? v : fallback)
97
85
 
98
86
  export function ModalProvider({ children, variant = 'bordered', container }) {
@@ -134,7 +122,6 @@ export function ModalProvider({ children, variant = 'bordered', container }) {
134
122
 
135
123
  function ModalView({ state, closeWith, variant, contained }) {
136
124
  const look = modalVariant(variant, 'bordered')
137
- const float = look === 'float'
138
125
  const [val, setVal] = useState(state.defaultValue ?? '')
139
126
  const [values, setValues] = useState(() => Object.fromEntries((state.options ?? []).map((o) => [o.id, !!o.defaultValue])))
140
127
  const [fieldVals, setFieldVals] = useState(() => Object.fromEntries((state.fields ?? []).map((f) => [f.id, f.defaultValue ?? ''])))
@@ -220,41 +207,32 @@ function ModalView({ state, closeWith, variant, contained }) {
220
207
  aria-modal="true"
221
208
  aria-labelledby="kol-modal-title"
222
209
  onMouseDown={(e) => e.stopPropagation()}
223
- className={float ? 'gap-[18px] p-6' : 'gap-4 p-5'}
210
+ className="gap-4 p-5"
224
211
  style={{
225
212
  minWidth: 320,
226
213
  maxWidth: contained ? '90%' : '90vw',
227
- ...(float ? { width: 'var(--kol-float-window-w)' } : {}),
228
214
  }}
229
- header={float && state.header && <Header variant="modal" icon={state.icon} title={state.header} onClose={cancel} />}
230
- footer={float ? (
231
- /* the float's actions sit apart: recovery quiet at the left, the next step at the right — one ButtonGroup (LAW 17) */
232
- <ButtonGroup align="between">
233
- {state.kind !== 'alert' ? <Button variant="float" tone="ghost" size="md" onClick={cancel}>{state.cancelLabel ?? 'Cancel'}</Button> : <span />}
234
- <Button variant="float" tone={state.tone === 'danger' ? 'danger' : 'inverted'} size="md" onClick={submit} data-modal-ok>{state.okLabel ?? 'OK'}</Button>
235
- </ButtonGroup>
236
- ) : (
215
+ footer={
237
216
  <div className="flex gap-2 justify-end">
238
217
  {state.kind !== 'alert' && <Button size="sm" onClick={cancel}>{state.cancelLabel ?? 'Cancel'}</Button>}
239
218
  {/* inverted, not primary: since tone-is-the-ground-axis (2026-09-03) primary is the
240
219
  * dark ground, so OK drew the same as Cancel and nothing showed what Enter does */}
241
220
  <Button tone="inverted" size="sm" onClick={submit} data-modal-ok>{state.okLabel ?? 'OK'}</Button>
242
221
  </div>
243
- )}
222
+ }
244
223
  >
245
224
  {/* kol-mono-12, not helper: dialog copy WRAPS, and helper's
246
225
  * line-height 1 is single-line chrome only (type protocol). */}
247
226
  {/* pre-line: an alert can carry a failure list, one per line */}
248
- <p id="kol-modal-title" className={float ? 'font-[family-name:var(--kol-font-family-float)] text-[20px] font-medium leading-[28px] text-fg-emphasis whitespace-pre-line' : 'kol-mono-12 text-emphasis whitespace-pre-line'}>{state.title}</p>
249
- {float && state.body && <p className="kol-float-body text-fg-64 whitespace-pre-line">{state.body}</p>}
227
+ <p id="kol-modal-title" className="kol-mono-12 text-emphasis whitespace-pre-line">{state.title}</p>
250
228
  {state.kind === 'prompt' && (
251
229
  <Input
252
230
  ref={inputRef}
253
231
  type={state.type}
254
232
  autoComplete={state.type === 'password' ? 'current-password' : undefined}
255
233
  placeholder={state.placeholder}
256
- variant={float ? 'float' : 'outline'}
257
- size={float ? 'md' : 'sm'}
234
+ variant="outline"
235
+ size="sm"
258
236
  value={val}
259
237
  onChange={(e) => setVal(e.target.value)}
260
238
  className="w-full"
@@ -268,8 +246,8 @@ function ModalView({ state, closeWith, variant, contained }) {
268
246
  autoComplete={f.autoComplete}
269
247
  placeholder={f.placeholder}
270
248
  aria-label={f.placeholder ?? f.id}
271
- variant={float ? 'float' : 'outline'}
272
- size={float ? 'md' : 'sm'}
249
+ variant="outline"
250
+ size="sm"
273
251
  value={fieldVals[f.id]}
274
252
  onChange={(e) => setFieldVals((v) => ({ ...v, [f.id]: e.target.value }))}
275
253
  className="w-full"
@@ -282,7 +260,6 @@ function ModalView({ state, closeWith, variant, contained }) {
282
260
  key={o.id}
283
261
  label={o.label}
284
262
  hint={o.hint}
285
- variant={float ? 'float' : undefined}
286
263
  checked={values[o.id]}
287
264
  onChange={(next) => setValues((v) => ({ ...v, [o.id]: next }))}
288
265
  />
@@ -412,16 +389,10 @@ export function useModal() {
412
389
  *
413
390
  * <ModalDialog open={open} onClose={() => setOpen(false)} title="Filter by page" width={560}>…</ModalDialog>
414
391
  *
415
- * `variant="float"` (float-everything W6 rows 83 · 84 · 89, 2026-11-04 — kol-float--style 46:2655): the float window —
416
- * `kol-float-solid` on `--kol-float-window-r`, `--kol-float-window-w` wide unless `width` says otherwise (plan-2026-11-12-one-header
417
- * W6.1), 24 in, 18 between its parts, the title drawn as `Header
418
- * variant="modal"` (`icon` · title · − when `onMinimise` · ×) over the children. `blocking` (default true) keeps the
419
- * scrim: a blocking task dims the scene, a utility window does not (row 89) — `blocking={false}` drops the scrim and the
420
- * press-outside close and leaves the scene live (QuickLookFrame float is the utility window proper).
421
- * @param {'lift'|'bordered'|'float'|'kolbox'|'folio'} [variant='lift'] `kolbox` (W31.2 batch 4): kolbox's Modal, see `ModalDialogKolbox`;
392
+ * `blocking` (default true) keeps the scrim: a blocking task dims the scene, a utility window does not —
393
+ * `blocking={false}` drops the scrim and the press-outside close and leaves the scene live.
394
+ * @param {'lift'|'bordered'|'kolbox'|'folio'} [variant='lift'] `kolbox` (W31.2 batch 4): kolbox's Modal, see `ModalDialogKolbox`;
422
395
  * `folio` (Folio migration batch B): Folio's dialog, `title`, `width` (720), `children`, see `ModalDialogFolio`
423
- * @param {string} [icon] float: the header's glyph
424
- * @param {Function} [onMinimise] float: the − control
425
396
  * @param {boolean} [blocking=true]
426
397
  * @param {Element} [container] the portal target instead of `<body>` (float-operational W2, 2026-11-04): the layer turns
427
398
  * `absolute` and fills it — a specimen box (`position: relative`, a height) shows the window open in place. Unset, unchanged.
@@ -563,11 +534,10 @@ export function ModalDialog(props) {
563
534
  return <ModalDialogOn {...props} />
564
535
  }
565
536
 
566
- function ModalDialogOn({ open, onClose, title, width, variant = 'lift', icon, onMinimise, blocking = true, container, kind, headerEnd, sections, section, onSection, aside, footer, height = 656, movable, sectionsLabel = 'Settings', children }) {
537
+ function ModalDialogOn({ open, onClose, title, width, variant = 'lift', blocking = true, container, kind, headerEnd, sections, section, onSection, aside, footer, height = 656, movable, sectionsLabel = 'Settings', children }) {
567
538
  const look = variant === 'settings' ? 'settings' : modalVariant(variant, 'lift')
568
539
  const shellRef = useRef(null)
569
540
  const mv = useMovable(variant === 'settings' && !container ? movable : undefined, shellRef)
570
- const float = look === 'float'
571
541
  useEffect(() => {
572
542
  if (!open) return undefined
573
543
  const onKey = (e) => { if (e.key === 'Escape' && !document.querySelector('.kol-popover-float, [data-state="open"].kol-dd-trigger')) onClose() }
@@ -640,10 +610,8 @@ function ModalDialogOn({ open, onClose, title, width, variant = 'lift', icon, on
640
610
  /* THE OVERLAY PANEL (MetricRebuild, 2026-10-31 — user: the filter dialog read as "a borderless box floating
641
611
  * mid-page"): it painted the page's own surface behind an fg-08 hairline, so on a dark page it was the page.
642
612
  * `.kol-overlay-panel` is the lift every KOL overlay wears (oq-04, no border — the scrim is the edge). */
643
- className={float ? `pointer-events-auto gap-[18px] p-6 ${container ? 'max-h-[85%]' : 'max-h-[85vh]'} overflow-auto` : `${container ? 'max-h-[85%]' : 'max-h-[85vh]'}${blocking ? '' : ' pointer-events-auto'}`}
644
- /* the float window's width is the token (P8: *"why doesnt it use width?"*); `width` (px) still overrides */
645
- style={{ width: `min(${width != null ? `${width}px` : float ? 'var(--kol-float-window-w)' : '560px'}, calc(${container ? '100%' : '100vw'} - 32px))` }}
646
- header={float && title && <Header variant="modal" icon={icon} title={title} onMinimise={onMinimise} onClose={onClose} />}
613
+ className={`${container ? 'max-h-[85%]' : 'max-h-[85vh]'}${blocking ? '' : ' pointer-events-auto'}`}
614
+ style={{ width: `min(${width != null ? `${width}px` : '560px'}, calc(${container ? '100%' : '100vw'} - 32px))` }}
647
615
  >
648
616
  {children}
649
617
  </ModalShell>
@@ -1,13 +1,12 @@
1
1
  import Button from '../atoms/Button.jsx'
2
2
  import Avatar from '../atoms/Avatar.jsx'
3
3
  import CloseButton from './CloseButton.jsx'
4
- import Header from './Header.jsx'
5
4
  import { IconLoader } from '@kolkrabbi/kol-icons'
6
5
 
7
- /* taxonomy-ok: molecule — Avatar (atom) or kol-icons's IconLoader, a title and trailing actions on Button's nav row; the window row nests Button (atom) + CloseButton (molecule); the float window row is Header variant="modal" */
6
+ /* taxonomy-ok: molecule — Avatar (atom) or kol-icons's IconLoader, a title and trailing actions on Button's nav row; the window row nests Button (atom) + CloseButton (molecule) */
8
7
 
9
- /* class-for-class MenuFloatRows' avatar row (menu-system W4.1, 2026-11-07): the nav Button's lg row, `kol-btn-float` on the float */
10
- const ROW = { float: 'w-full justify-start kol-btn-float', default: 'w-full justify-start h-11 gap-3' }
8
+ /* class-for-class MenuFloatRows' avatar row (menu-system W4.1, 2026-11-07): the nav Button's lg row */
9
+ const ROW = 'w-full justify-start h-11 gap-3'
11
10
  /* the classes Button emits for `variant="nav" size="lg"` — the static header draws the same row without the press */
12
11
  const NAV_LG = 'kol-btn kol-btn-nav kol-btn-lg kol-mono-16'
13
12
  const isSrc = (a) => /[/.:]/.test(a)
@@ -15,38 +14,31 @@ const isSrc = (a) => /[/.:]/.test(a)
15
14
  const WINDOW = ['meta', 'nav', 'onMinimise', 'onClose']
16
15
 
17
16
  /**
18
- * ModalHeader — The top row of every float sheet and modal: one header, two looks (`default` · `float`), two rows.
19
- * User 2026-11-07: *"why not just modalheader?"*; 2026-11-08: *"are you both accounting for default and float?"* — the
17
+ * ModalHeader — The top row of every sheet and modal: two rows.
18
+ * User 2026-11-07: *"why not just modalheader?"*; 2026-11-08 — the
20
19
  * window row that was QuickLookHeader folded in, class for class (QuickLookHeader is its deprecated alias).
21
20
  *
22
21
  * THE MENU ROW (MenuFloatRows' account row, PanelsMenu's title) — an avatar or a glyph, the title, trailing `actions`. With
23
22
  * `onClick` the row is the pressable nav Button; without, the same row as a heading that takes no press. Drawn when
24
23
  * `avatar` or `onClick` is set, or when no window control is passed.
25
24
  *
26
- * THE WINDOW ROW (Dialog float, the useModal float prompts, QuickLookFrame) — drawn when `meta`, `nav`, `onMinimise` or
27
- * `onClose` is passed. Float, it IS `Header variant="modal"` (plan-2026-11-12-one-header W1.1 — deprecated here, use Header).
28
- * Default: ‹ › n / N · the file's name · its facts · the actions · the close, on
29
- * `.kol-quicklook-header`. Float (kol-float--style 46:2500): the window's glyph (16, oq-64) · its title in
30
- * `kol-float-panel` (Inter 13/500) · − minimise · × close, 12 apart, the controls quiet on oq-64 and bright under the
31
- * pointer. No rule under it — the no-borders law holds on float.
25
+ * THE WINDOW ROW (QuickLookFrame) — drawn when `meta`, `nav`, `onMinimise` or
26
+ * `onClose` is passed: ‹ › n / N · the file's name · its facts · the actions · the close, on `.kol-quicklook-header`.
32
27
  *
33
28
  * @param {ReactNode} title
34
- * @param {'float'|'default'} [variant='default']
35
29
  * @param {string|ReactNode} [avatar] menu row: a picture url, initials, or a node drawn as is
36
- * @param {string} [icon] a kol-icons name — the menu row's lead when there is no avatar; the float window's glyph
30
+ * @param {string} [icon] a kol-icons name — the menu row's lead when there is no avatar
37
31
  * @param {ReactNode} [actions] trailing controls (before the close on the window row)
38
32
  * @param {Function} [onClick] menu row: makes the row a press (the account row)
39
33
  * @param {ReactNode} [meta] window, default look: the facts after the name
40
34
  * @param {Object} [nav] window, default look: `{ index, total, onPrev, onNext }`
41
- * @param {Function} [onMinimise] window, float: shows the − control
35
+ * @param {Function} [onMinimise] window: shows the − control
42
36
  * @param {Function} [onClose] window: shows the × control
43
37
  * @param {string} [className]
44
38
  */
45
39
  export default function ModalHeader(props) {
46
- const { title, avatar, icon, actions, variant = 'default', onClick, meta, nav, onMinimise, onClose, className = '' } = props
47
- const float = variant === 'float'
40
+ const { title, avatar, icon, actions, onClick, meta, nav, onMinimise, onClose, className = '' } = props
48
41
  if (avatar == null && !onClick && WINDOW.some((k) => k in props)) {
49
- if (float) return <Header variant="modal" icon={icon} title={title} end={actions} onMinimise={onMinimise} onClose={onClose} className={className} />
50
42
  return (
51
43
  <div className={`kol-quicklook-header ${className}`.trim()}>
52
44
  {nav?.total > 1 && (
@@ -69,10 +61,10 @@ export default function ModalHeader(props) {
69
61
  </div>
70
62
  )
71
63
  }
72
- const cls = `${ROW[float ? 'float' : 'default']} ${className}`.trim()
64
+ const cls = `${ROW} ${className}`.trim()
73
65
  const lead = avatar != null
74
66
  ? (typeof avatar === 'string' ? <Avatar {...(isSrc(avatar) ? { src: avatar } : { initial: avatar })} alt="" size="xs" /> : avatar)
75
- : icon && <IconLoader name={icon} size={float ? 'var(--kol-float-ic)' : 22} />
67
+ : icon && <IconLoader name={icon} size={22} />
76
68
  const body = <>{lead}{actions ? <span className="flex-1 text-left">{title}</span> : title}{actions && <span className="ml-auto flex shrink-0 items-center pointer-events-auto">{actions}</span>}</>
77
69
  if (onClick) return <Button variant="nav" size="lg" className={cls} onClick={onClick}>{body}</Button>
78
70
  return <div role="heading" aria-level={2} className={`${NAV_LG} ${cls} cursor-default pointer-events-none`}>{body}</div>
@@ -14,14 +14,12 @@ import { KolboxShell } from '../utilities/Popover.jsx'
14
14
  * …body
15
15
  * </ModalShell>
16
16
  *
17
- * ONE RADIUS: `--kol-radius-4` (4px) — the radius Modal's prompts and Dialog wore. The float style's windows keep the
18
- * float window radius (`float`, 28) and the generator settings window its 20 (`settings`, no outer border — his mock 143:35343, plan-2026-11-12-one-header W8.1); both are the float style's
19
- * own, drawn in its Figma.
17
+ * ONE RADIUS: `--kol-radius-4` (4px) — the radius Modal's prompts and Dialog wore. The generator settings window keeps
18
+ * its 20 (`settings`, no outer border — his mock 143:35343, plan-2026-11-12-one-header W8.1).
20
19
  *
21
- * @param {'lift'|'bordered'|'float'|'settings'|'kolbox'|'folio'} [variant='lift']
20
+ * @param {'lift'|'bordered'|'settings'|'kolbox'|'folio'} [variant='lift']
22
21
  * `lift` — the overlay panel every KOL overlay wears (`.kol-overlay-panel`: oq-04, no border, the scrim is the edge);
23
- * `bordered` — the page surface behind an fg-08 hairline (Modal's prompts); `float` — the float window
24
- * (`kol-float-solid`); `settings` — the generator settings window (the secondary surface, radius 20, the float shadow, no border).
22
+ * `bordered` — the page surface behind an fg-08 hairline (Modal's prompts); `settings` — the generator settings window (the secondary surface, radius 20, the float shadow, no border).
25
23
  * `kolbox` (plan-2026-11-18-kolbox-system W31.2 batch 4, 2026-11-18) — kolbox's panel shell (its PopoverShell, carried
26
24
  * line for line): radius 16, the secondary surface on the one floating surface, 240 wide (`--kol-kolbox-popover-w`)
27
25
  * unless `width` says; it draws its own header from `leading`, `title`, `actions` and the close (`onClose`), the body,
@@ -37,7 +35,6 @@ import { KolboxShell } from '../utilities/Popover.jsx'
37
35
  const VARIANTS = {
38
36
  lift: { className: 'kol-overlay-panel rounded-[var(--kol-radius-4)]', style: {} },
39
37
  bordered: { className: 'border border-fg-08 rounded-[var(--kol-radius-4)]', style: { background: 'var(--kol-surface-primary)', color: 'var(--kol-surface-on-primary)' } },
40
- float: { className: 'kol-float-solid !rounded-[var(--kol-float-window-r)] text-fg-emphasis', style: {} },
41
38
  folio: { className: 'kol-modal--folio border rounded-[var(--kol-radius-4)]', style: {} },
42
39
  settings: { className: 'rounded-[20px] bg-surface-secondary text-fg-96 font-(family-name:--kol-font-family-float) shadow-[var(--kol-shadow-float)]', style: {} },
43
40
  }
@@ -22,7 +22,7 @@ export default function NoticeBanner({ title, body, action, onAction, className
22
22
  <span className="kol-float-hint truncate text-fg-emphasis">{title}</span>
23
23
  {body && <span className="kol-float-label truncate text-fg-64">{body}</span>}
24
24
  </span>
25
- {action && <Button variant="float" tone="secondary" size="md" className="shrink-0" onClick={onAction}>{action}</Button>}
25
+ {action && <Button tone="secondary" size="md" className="shrink-0" onClick={onAction}>{action}</Button>}
26
26
  </div>
27
27
  )
28
28
  }
@@ -17,7 +17,7 @@ import ModalHeader from './ModalHeader.jsx'
17
17
  export default function PanelsMenu({ title = 'Workspace panels', panels = [], onAction, className = '' }) {
18
18
  return (
19
19
  <div className={`flex w-full max-w-md flex-col gap-3 rounded-[var(--kol-float-menu-r)] bg-surface-secondary p-4 ${className}`.trim()}>
20
- <ModalHeader variant="float" title={title} />
20
+ <ModalHeader title={title} />
21
21
  <ul className="flex flex-col gap-2">
22
22
  {panels.map((p) => (
23
23
  <li key={p.id ?? p.name} className="flex items-center gap-4 rounded-[var(--kol-float-list-r)] bg-[var(--kol-float-well)] py-2 pl-4 pr-2">
@@ -26,7 +26,7 @@ export default function PanelsMenu({ title = 'Workspace panels', panels = [], on
26
26
  {p.meta && <span className="kol-float-label truncate text-fg-64">{p.meta}</span>}
27
27
  </span>
28
28
  {p.state && <span className="kol-float-label shrink-0 text-fg-64">{p.state}</span>}
29
- <Button variant="float" size="md" tone={p.primary ? 'inverted' : 'secondary'} className="shrink-0 min-w-20" onClick={() => { p.onAction?.(p); onAction?.(p) }}>{p.action}</Button>
29
+ <Button size="md" tone={p.primary ? 'inverted' : 'secondary'} className="shrink-0 min-w-20" onClick={() => { p.onAction?.(p); onAction?.(p) }}>{p.action}</Button>
30
30
  </li>
31
31
  ))}
32
32
  </ul>
@@ -6,7 +6,7 @@ import Input from '../atoms/Input.jsx'
6
6
  * PasswordInput — A password field with its reveal. `•••••••••••• 👁` (float-everything W3 row 39, 2026-11-04 — the
7
7
  * exploration's password field). An `Input type="password"` with the eye at its trailing edge (`eye-on` masked,
8
8
  * `eye-off` revealed; 16, oq-64 to oq-96): a press flips the type, the field keeps focus. Every Input prop passes
9
- * through — `variant="float"` is the capsule, `error` the message under it.
9
+ * through — `error` is the message under it.
10
10
  *
11
11
  * @param {boolean} [revealed] controlled reveal; omit for internal state
12
12
  * @param {Function} [onRevealChange] `(revealed) => void`
@@ -19,10 +19,8 @@ import { useEffect, useState } from 'react'
19
19
  * @param {number} max upper bound (default 99)
20
20
  * @param {string} controls 'chevron' (default) | 'split'
21
21
  * @param {string} size 'sm' | 'md' | 'lg' — pins the responsive size
22
- * @param {'float'} variant the float stepper (float-everything W2 row 24, 2026-11-04): a 36 capsule on the float
23
- * well, − value + in Inter 500 (the glyphs oq, 40% at a bound), the float heights by `size`
24
- * @param {string} unit FLOAT: a word after the value (`22 px` — the reader's text size, W11 row 151, 2026-11-04)
25
- * @param {string} ariaLabel FLOAT: what the value is; the − + read `Decrease <it>` / `Increase <it>` (default quantity)
22
+ * @param {string} unit a word after the value (`22 px`)
23
+ * @param {string} ariaLabel what the value is; the − + read `Decrease <it>` / `Increase <it>` (default quantity)
26
24
  * @param {'folio'} variant also `folio` (Folio migration batch A, 2026-11-22): Folio's stepper, two 32 squares at radius
27
25
  * 4 with the rule line round the value (JetBrains Mono 12 / 16), the step glyphs 12 / 500;
28
26
  * 8 apart, the root as wide as its row; a bound dims its square to 40%
@@ -40,10 +38,8 @@ import { useEffect, useState } from 'react'
40
38
  * `Decrease <ariaLabel>`, `Increase <ariaLabel>`); `down`, `up` are not drawn (the set's glyphs are)
41
39
  * @param {string} className extra classes on the root
42
40
  */
43
- import { IconLoader } from '@kolkrabbi/kol-icons'
44
41
  import Input from '../atoms/Input.jsx'
45
42
  import Button from '../atoms/Button.jsx'
46
- const FLOAT_H = { sm: 'h-[var(--kol-float-h-sm)]', md: 'h-[var(--kol-float-h-md)]', lg: 'h-[var(--kol-float-h-lg)]' }
47
43
 
48
44
  const SIZE_MAP = {
49
45
  sm: { fontSize: 11, paddingY: 12, paddingX: 24, radius: 20, icon: 10 },
@@ -100,18 +96,6 @@ const QuantityInput = ({
100
96
  const increment = () => { if (value < max) onChange?.(value + 1) }
101
97
  const decrement = () => { if (value > min) onChange?.(value - 1) }
102
98
 
103
- /* the float stepper: one capsule, the glyphs at each end, the value between */
104
- if (variant === 'float') {
105
- const btn = 'inline-flex h-full w-8 shrink-0 items-center justify-center rounded-full text-oq-64 hover:text-oq-96 disabled:opacity-40 disabled:hover:text-oq-64 cursor-pointer disabled:cursor-not-allowed outline-none focus-visible:[box-shadow:var(--kol-float-focus)] transition-colors'
106
- return (
107
- <div className={`inline-flex items-center rounded-full bg-[var(--kol-float-well)] px-1 kol-float-panel text-fg-emphasis ${FLOAT_H[size] ?? FLOAT_H.md} ${className}`.trim()}>
108
- <button type="button" onClick={decrement} disabled={value <= min} className={btn} aria-label={`Decrease ${ariaLabel}`}><IconLoader name="minus" size={14} /></button>
109
- <span className="min-w-6 flex-1 text-center tabular-nums">{value}{unit ? ` ${unit}` : ''}</span>
110
- <button type="button" onClick={increment} disabled={value >= max} className={btn} aria-label={`Increase ${ariaLabel}`}><IconLoader name="plus" size={14} /></button>
111
- </div>
112
- )
113
- }
114
-
115
99
  /* folio (Folio migration batch A, 2026-11-22): Folio's Stepper carried class for class (apps/folio Chrome.jsx), two 32
116
100
  * squares round the value, stepping by `step`; the chrome in kol-theme `.kol-quantity-input--folio` */
117
101
  if (variant === 'folio') {
@@ -1,10 +1,9 @@
1
1
  import { useRef, useState } from 'react'
2
2
  import { IconLoader } from '@kolkrabbi/kol-icons'
3
3
  import ModalHeader from './ModalHeader.jsx'
4
- import Header from './Header.jsx'
5
4
  import ModalShell from './ModalShell.jsx'
6
5
 
7
- /* taxonomy-ok: molecule — Header · ModalHeader (molecules) on ModalShell (molecule) + kol-icons's IconLoader. */
6
+ /* taxonomy-ok: molecule — ModalHeader (molecule) on ModalShell (molecule) + kol-icons's IconLoader. */
8
7
 
9
8
  /**
10
9
  * QuickLookFrame — The preview window. the Finder Quick Look window (user 2026-09-23: *"put them in a container LIKE
@@ -32,18 +31,8 @@ import ModalShell from './ModalShell.jsx'
32
31
  * @param {Function} onResize ({ w, h }) => void while the corner is dragged
33
32
  * @param {ReactNode} footer the transport row
34
33
  * @param {ReactNode} children the body
35
- *
36
- * THE UTILITY WINDOW (`variant="float"`, float-everything W6 rows 86 · 88, 2026-11-04 — kol-float--style 46:2840): a
37
- * non-modal float window — no scrim, the scene stays live under it. `kol-float-solid` on `--kol-float-window-r`, 20 in,
38
- * 18 between its parts; the header is `Header variant="modal"` (`icon` · title · `onMinimise` · `onClose`); the
39
- * body is the caller's (chip tabs, float fields); `status` is the footer line (`Changes saved automatically`, the
40
- * `kol-float-label` role on fg-64) with the resize corner as its glyph at the right — the same drag as the default grip.
41
- * @param {'float'} [variant]
42
- * @param {string} [icon] float: the window's glyph
43
- * @param {Function} [onMinimise] float: the − control
44
- * @param {ReactNode} [status] float: the footer line
45
34
  */
46
- export default function QuickLookFrame({ variant, icon, onMinimise, status, title, meta, actions, onClose, nav, size: sizeProp, onResize, footer, className = '', children }) {
35
+ export default function QuickLookFrame({ title, meta, actions, onClose, nav, size: sizeProp, onResize, footer, className = '', children }) {
47
36
  const [own, setOwn] = useState(null)
48
37
  const size = sizeProp !== undefined ? sizeProp : own
49
38
  const setSize = onResize ?? setOwn
@@ -68,24 +57,6 @@ export default function QuickLookFrame({ variant, icon, onMinimise, status, titl
68
57
  const onPointerUp = () => { drag.current = null }
69
58
 
70
59
  const grip = { role: 'separator', 'aria-label': 'Resize', onPointerDown, onPointerMove, onPointerUp, onPointerCancel: onPointerUp }
71
- if (variant === 'float') {
72
- return (
73
- <ModalShell ref={ref} variant="float" style={size ? { width: size.w, height: size.h } : undefined}
74
- className={`w-full max-w-[562px] gap-[18px] p-5 ${className}`.trim()}
75
- header={header && <Header variant="modal" icon={icon} title={title} end={actions} onMinimise={onMinimise} onClose={onClose} />}
76
- footer={(
77
- <>
78
- {footer}
79
- <div className="flex items-center gap-3">
80
- <span className="kol-float-label min-w-0 flex-1 truncate text-fg-64">{status}</span>
81
- <span {...grip} className="inline-flex size-4 cursor-nwse-resize touch-none items-center justify-center text-oq-64 hover:text-oq-96"><IconLoader name="expand" size={13} /></span>
82
- </div>
83
- </>
84
- )}>
85
- <div className="flex min-h-0 flex-1 flex-col gap-[18px]">{children}</div>
86
- </ModalShell>
87
- )
88
- }
89
60
  /* THE PANEL IS ModalShell's (W2.2, 2026-11-08): the lift surface and the one modal radius; the oq-12 hairline the
90
61
  * window wore went with its own panel style — the scrim is the edge, as on every other KOL overlay */
91
62
  const style = size ? { width: size.w, height: size.h, '--kol-ql-frame-h': `${size.h}px`, '--kol-ql-max-w': `${size.w}px` } : undefined
@@ -1,21 +1,15 @@
1
- import Header from './Header.jsx'
2
-
3
- /* taxonomy-ok: molecule — the rail kit's title line; `variant="float"` is Header variant="property" */
1
+ /* taxonomy-ok: molecule — the rail kit's title line */
4
2
 
5
3
  /**
6
4
  * RailHeader — the rail kit's title line (RailKit 2026-10-24): title (helper-14 uppercase), a subtitle, the header's
7
5
  * actions before the × (which Rail draws). The node Rail's `header` slot takes it; SettingsPanel wears it.
8
6
  *
9
- * `variant="float"` is `Header variant="property"` (plan-2026-11-12-one-header W1.1) — deprecated under this name, on the
10
- * retirement ledger: `actions` → `end`, `collapsedV` / `onCollapseV` (the old `folded` / `onFold` still accepted).
11
- * The default line stays here: it is not one of Header's four variants.
12
- *
13
7
  * `variant="kolbox"` (W31.2 batch 5): kolbox's rail header, with `leading` and `size` md · sm (below).
14
8
  *
15
- * @param {'default'|'float'|'kolbox'} [variant='default']
9
+ * @param {'default'|'kolbox'} [variant='default']
16
10
  * @param {ReactNode} [title] · {ReactNode} [subtitle] · {ReactNode} [actions] · {string} [className]
17
11
  */
18
- export default function RailHeader({ variant = 'default', title, subtitle, actions, leading, size = 'md', collapsedV, onCollapseV, folded, onFold, className = '' }) {
12
+ export default function RailHeader({ variant = 'default', title, subtitle, actions, leading, size = 'md', className = '' }) {
19
13
  /* kolbox (plan-2026-11-18-kolbox-system W31.2 batch 5, 2026-11-18): kolbox's RailHeader, carried from
20
14
  * apps/kolbox/src/ui/RailHeader.jsx: a `leading` slot, the title, the `subtitle` as a quiet meta line at the right,
21
15
  * the actions; inset 16. `size` md the plain header (48 high), sm the document header (the file's RailHeader 61:11315:
@@ -44,16 +38,13 @@ export default function RailHeader({ variant = 'default', title, subtitle, actio
44
38
  </div>
45
39
  )
46
40
  }
47
- if (variant !== 'float') {
48
- return (
49
- <div className={`flex min-w-0 items-center gap-2 ${className}`.trim()}>
50
- <div className="flex min-w-0 flex-1 flex-col">
51
- {title && <span className="kol-helper-14 uppercase text-emphasis">{title}</span>}
52
- {subtitle && <span className="kol-mono-12 text-meta">{subtitle}</span>}
53
- </div>
54
- {actions}
41
+ return (
42
+ <div className={`flex min-w-0 items-center gap-2 ${className}`.trim()}>
43
+ <div className="flex min-w-0 flex-1 flex-col">
44
+ {title && <span className="kol-helper-14 uppercase text-emphasis">{title}</span>}
45
+ {subtitle && <span className="kol-mono-12 text-meta">{subtitle}</span>}
55
46
  </div>
56
- )
57
- }
58
- return <Header variant="property" title={title} end={actions} collapsedV={collapsedV ?? folded ?? false} onCollapseV={onCollapseV ?? onFold} className={className} />
47
+ {actions}
48
+ </div>
49
+ )
59
50
  }
@@ -23,9 +23,9 @@ export default function ReadingActions({ actions = DEFAULT_ACTIONS, onAction, on
23
23
  return (
24
24
  <div role="toolbar" aria-label="Passage" className={`inline-flex h-10 items-center gap-1 rounded-full bg-surface-secondary px-1.5 ${className}`.trim()}>
25
25
  {actions.map((a) => (
26
- <Button key={a.id} variant="float" tone="ghost" size="sm" iconLeft={a.icon} onClick={() => { a.onClick?.(); onAction?.(a.id) }}>{a.label}</Button>
26
+ <Button key={a.id} tone="ghost" size="sm" iconLeft={a.icon} onClick={() => { a.onClick?.(); onAction?.(a.id) }}>{a.label}</Button>
27
27
  ))}
28
- {onMore && <Button variant="float" tone="ghost" size="sm" iconOnly="more" aria-label="More" onClick={onMore} className="ml-auto" />}
28
+ {onMore && <Button tone="ghost" size="sm" iconOnly="more" aria-label="More" onClick={onMore} className="ml-auto" />}
29
29
  </div>
30
30
  )
31
31
  }
@@ -29,10 +29,10 @@ export default function ReadingNotes({ quote, location, note = '', onNoteChange,
29
29
  <blockquote className="mt-3 rounded-[14px] bg-[var(--kol-float-well)] p-3.5 text-[16px] leading-[1.5] text-fg-emphasis" style={{ fontFamily: font }}>{quote}</blockquote>
30
30
  {location && <span className="kol-float-label mt-5 flex h-8 items-center rounded-full bg-[var(--kol-float-well)] px-4 text-fg-64">{location}</span>}
31
31
  <span className="kol-float-ruler mt-8 uppercase text-fg-64">{noteLabel}</span>
32
- <Textarea variant="float" rows={5} value={note} onChange={(e) => onNoteChange?.(e.target.value)} aria-label={noteLabel} className="mt-3" />
32
+ <Textarea rows={5} value={note} onChange={(e) => onNoteChange?.(e.target.value)} aria-label={noteLabel} className="mt-3" />
33
33
  {status && <span className="kol-float-label mt-5 text-fg-64">{status}</span>}
34
- {onView && <Button variant="float" tone="inverted" size="lg" iconRight="external-link" onClick={onView} className="mt-6 w-full justify-center">{viewLabel}</Button>}
35
- {onRemove && <Button variant="float" tone="ghost" size="sm" onClick={onRemove} className="-ml-3 mt-4 self-start">{removeLabel}</Button>}
34
+ {onView && <Button size="lg" iconRight="external-link" onClick={onView} className="mt-6 w-full justify-center">{viewLabel}</Button>}
35
+ {onRemove && <Button tone="ghost" size="sm" onClick={onRemove} className="-ml-3 mt-4 self-start">{removeLabel}</Button>}
36
36
  {footer && <span className="kol-float-ruler mt-5 uppercase text-fg-64">{footer}</span>}
37
37
  </div>
38
38
  )
@@ -10,7 +10,7 @@ const TRACK = 'w-full rounded-full bg-[var(--kol-float-well)] p-1 [&>button]:fle
10
10
 
11
11
  /**
12
12
  * ReadingSettings — How the text is set: the Reading side of `ReadingPanel` (float-everything W11 row 151, 2026-11-04 —
13
- * kol-float--style W2.9 `Contextual reading panel · Reading`). Each setting is a `LabeledControl variant="float"` (the
13
+ * kol-float--style W2.9 `Contextual reading panel · Reading`). Each setting is a `LabeledControl` (the
14
14
  * float label, as written, 8 over the control — plan-2026-11-12-float-rails-figma W12.1; it drew its own uppercase
15
15
  * `kol-float-ruler` label until then), 24 between: the theme pick (`themes` — a row of kol-styleguide `ThemeTile`s; kol-component cannot import
16
16
  * it), the face as a float Dropdown, the size as the float QuantityInput (`22 px`), leading and width as float
@@ -34,13 +34,13 @@ export default function ReadingSettings({ themes, font, fonts = [], onFont, size
34
34
  const L = { ...LABELS, ...l }
35
35
  return (
36
36
  <div className={`flex flex-col gap-6 ${className}`.trim()}>
37
- {themes && <LabeledControl variant="float" label={L.theme}><div className="flex gap-2">{themes}</div></LabeledControl>}
38
- {fonts.length > 0 && <LabeledControl variant="float" label={L.font}><Dropdown variant="float" size="md" options={fonts} value={font} onChange={onFont} className="w-full" /></LabeledControl>}
39
- <LabeledControl variant="float" label={L.size}><QuantityInput variant="float" unit="px" ariaLabel="text size" value={size} onChange={onSize} min={minSize} max={maxSize} className="w-full" /></LabeledControl>
40
- {leadings.length > 0 && <LabeledControl variant="float" label={L.leading}><Dropdown variant="float" size="md" options={leadings} value={leading} onChange={onLeading} className="w-full" /></LabeledControl>}
41
- {widths.length > 0 && <LabeledControl variant="float" label={L.width}><Dropdown variant="float" size="md" options={widths} value={width} onChange={onWidth} className="w-full" /></LabeledControl>}
42
- <LabeledControl variant="float" label={L.flow}><TabsRow variant="float" size="xs" overflow="wrap" tabs={flows} value={flow} onChange={onFlow} ariaLabel={L.flow} className={TRACK} /></LabeledControl>
43
- {onReset && <Button variant="float" tone="secondary" size="lg" onClick={onReset} className="mt-4 w-full justify-center">{resetLabel}</Button>}
37
+ {themes && <LabeledControl label={L.theme}><div className="flex gap-2">{themes}</div></LabeledControl>}
38
+ {fonts.length > 0 && <LabeledControl label={L.font}><Dropdown size="md" options={fonts} value={font} onChange={onFont} className="w-full" /></LabeledControl>}
39
+ <LabeledControl label={L.size}><QuantityInput unit="px" ariaLabel="text size" value={size} onChange={onSize} min={minSize} max={maxSize} className="w-full" /></LabeledControl>
40
+ {leadings.length > 0 && <LabeledControl label={L.leading}><Dropdown size="md" options={leadings} value={leading} onChange={onLeading} className="w-full" /></LabeledControl>}
41
+ {widths.length > 0 && <LabeledControl label={L.width}><Dropdown size="md" options={widths} value={width} onChange={onWidth} className="w-full" /></LabeledControl>}
42
+ <LabeledControl label={L.flow}><TabsRow size="xs" overflow="wrap" tabs={flows} value={flow} onChange={onFlow} ariaLabel={L.flow} className={TRACK} /></LabeledControl>
43
+ {onReset && <Button tone="secondary" size="lg" onClick={onReset} className="mt-4 w-full justify-center">{resetLabel}</Button>}
44
44
  </div>
45
45
  )
46
46
  }
@@ -35,7 +35,7 @@ import Kbd from '../atoms/Kbd.jsx'
35
35
  * @param {string} shortcutHint caller-authored kbd chip (e.g. "⌘K"); shown while the value is empty
36
36
  * @param {Function} onFocus (event) => void — input focus
37
37
  * @param {string} size 'xs' | 'sm' | 'md' — kol-control size + matched mono type class (xs = the panel rung, 2026-09-01)
38
- * @param {string} variant 'filled' | 'ghost' | 'outline' — kol-control variant, same chrome as Input (ignored when bare/expanding) · `float` (float-everything W3 row 40, 2026-11-04): the capsule on the float well, Inter 500, the glyph 18, the ⌘K cap drawn (`shortcutHint="⌘K"`); the float heights by `size`
38
+ * @param {string} variant 'filled' | 'ghost' | 'outline' — kol-control variant, same chrome as Input (ignored when bare/expanding)
39
39
  * @param {string} tone 'default' | 'inverse' — the dark chip for a washed plane (ControlToneInverse, 2026-08-27); on the expanding pill it is the OPEN fill
40
40
  * @param {boolean} bare borderless inline field for overlay panels (full width, no shell chrome; keeps icon/clear/chip slots)
41
41
  * @param {boolean} expanding round icon-button pill that animates open into an inline field
@@ -215,8 +215,7 @@ export default function SearchInput({
215
215
  ? `kol-control--bare kol-control-${size} flex w-full border border-transparent gap-2`
216
216
  : `kol-control${variant ? ` kol-control--${variant}` : ''} kol-control-${size} gap-2${toneClass(tone) ? ` ${toneClass(tone)}` : ''}`,
217
217
  'items-center cursor-text',
218
- /* the float capsule types itself (Inter 500 at the float size, the theme's `.kol-control--float`) */
219
- variant !== 'float' && SIZE_TYPE[size],
218
+ SIZE_TYPE[size],
220
219
  className,
221
220
  ].filter(Boolean).join(' ')
222
221
 
@@ -251,8 +250,8 @@ export default function SearchInput({
251
250
  aria-hidden="true"
252
251
  className={`flex items-center shrink-0 ${bare ? 'text-oq-48' : 'text-auto opacity-50'}`}
253
252
  >
254
- {/* ADJACENT — this glyph sits in the field's line box beside the query; a float glyph is the float's 18 */}
255
- <IconLoader name="search" size={iconSize ?? (variant === 'float' ? 'var(--kol-float-ic)' : glyphSize(size))} />
253
+ {/* ADJACENT — this glyph sits in the field's line box beside the query */}
254
+ <IconLoader name="search" size={iconSize ?? glyphSize(size)} />
256
255
  </span>
257
256
  )}
258
257
  <input
@@ -50,9 +50,7 @@ import KolboxGlyph from '../utilities/kolboxGlyph.jsx'
50
50
  * to `--kol-page-header-mb` (40px; content 16px). Unset = the section family as before.
51
51
  * @param {ReactNode} media a mark above the eyebrow (a logo, an SVG) — with a `level` only
52
52
  * @param {ReactNode} meta a fact at the far end of the HEADLINE's row (float-everything W9 row 140, 2026-11-04 —
53
- * `Website traffic · kolkrabbi.io · Umami`): the source or scope, in mono on fg-64 (`kol-float-timecode`
54
- * under `variant="float"`, else `kol-mono-12 text-meta`), baseline-aligned with the title. Unset, nothing
55
- * `variant="float"` — the float page header (see SECTION_TEXT_LEVELS.float).
53
+ * `Website traffic · kolkrabbi.io · Umami`): the source or scope, in mono on fg-64 (`kol-mono-12 text-meta`), baseline-aligned with the title. Unset, nothing
56
54
  */
57
55
  export const HEADLINE_ROLE = {
58
56
  pull: 'kol-section-text-pull',
@@ -79,11 +77,6 @@ export const SECTION_TEXT_LEVELS = {
79
77
  /* document (DocumentIndexFigma, kol-atlas 2026-10-31) — the Research page header, the workspace sheet's: 36/1.2 bold
80
78
  * display face at −0.005em, 12 under it; the lede 15/1.6 in the body face to a 724 edge */
81
79
  document: { title: 'font-[family-name:var(--kol-font-family-sans)] text-[36px] font-bold leading-[1.2] tracking-[-0.005em]', lede: 'm-0 font-[family-name:var(--kol-font-family-sans-neutral)] text-[15px] leading-[1.6] text-fg-96', measure: '724px' },
82
- /* float (float-everything W9 row 135, 2026-11-04 — kol-float--style 48:4542): the float page header — the eyebrow in
83
- * mono (`kol-float-ruler`, fg-64, `STUDIO / WORKSPACE`), the title in `kol-float-sheet` (Inter 38/500), the subtitle
84
- * in `kol-float-body` on fg-64; 8 between, 24 under. A section heading on the float is this with
85
- * `headlineClass="kol-float-window"` and a `meta` (row 140). */
86
- float: { title: 'kol-float-sheet', lede: 'kol-float-body text-fg-64', eyebrow: 'kol-float-ruler text-fg-64', gap: 'gap-2', mb: '24px' },
87
80
  }
88
81
 
89
82
  function SectionTextDefault({
@@ -167,7 +160,7 @@ function SectionTextDefault({
167
160
  const titleNode = headline && <Headline className={cls(`kol-section-text-headline ${headlineClass ?? (HEADLINE_ROLE[headlineSize] ?? HEADLINE_ROLE['heading-02'])}${headlineCase === 'upper' ? ' kol-section-text-caps' : ''}`, 'headline')} style={slotStyle.headline}>{headline}</Headline>
168
161
  /* `meta` rides the headline's row, at its far end */
169
162
  const headlineNode = titleNode && meta
170
- ? <div className="flex self-stretch items-baseline justify-between gap-6">{titleNode}<span className={`${variant === 'float' ? 'kol-float-timecode text-fg-64' : 'kol-mono-12 text-meta'} shrink-0`}>{meta}</span></div>
163
+ ? <div className="flex self-stretch items-baseline justify-between gap-6">{titleNode}<span className={`kol-mono-12 text-meta shrink-0`}>{meta}</span></div>
171
164
  : titleNode
172
165
  const bodyNode = body && (typeof body === 'string'
173
166
  ? <p className={cls(bodyClass, 'body')} style={slotStyle.body}>{body}</p>