@apliteni/apliteni-ui 0.178.0 → 0.179.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.
@@ -18,7 +18,7 @@
18
18
  font-family: var(--font-sans);
19
19
  /* The rail's width, and the one property the fold moves: the nav's own column
20
20
  plus the inset either side plus the rule, so the shell has no geometry of its
21
- own to drift from the rows inside it. why: docs/components.md#the-page-shell */
21
+ own to drift from the rows inside it. why: docs/components.md#page-shell */
22
22
  --ui-rail-rule: 1px;
23
23
  --ui-rail-w: calc(var(--ui-nav-col) + 2 * var(--space-4) + var(--ui-rail-rule));
24
24
  }
@@ -49,7 +49,7 @@
49
49
  width: var(--ui-rail-w);
50
50
  /* hidden across, auto down: the fold clips what leaves the screen rather than
51
51
  laying it out again. Two longhands, not the shorthand — the gates' CSS engine
52
- does not read the pair. why: docs/components.md#the-page-shell */
52
+ does not read the pair. why: docs/components.md#page-shell */
53
53
  overflow-x: hidden;
54
54
  overflow-y: auto;
55
55
  transition: width var(--dur-med) var(--ease);
@@ -58,7 +58,7 @@
58
58
  nav declares its own; these are the two that are not the nav. Scoped to the rail,
59
59
  because the topbar layout draws the reader's block in its band instead and a column
60
60
  the rail's width is no measurement for a box on a 52px line.
61
- why: docs/components.md#the-page-shell */
61
+ why: docs/components.md#page-shell */
62
62
  .ui-app__rail > .ui-app__head,
63
63
  .ui-app__rail > .ui-app__user { width: var(--ui-nav-col); flex: none; }
64
64
  /* The rail is itself --surface, so nav.css's plate has no step here: 1.000:1, with a
@@ -76,7 +76,7 @@
76
76
  text-decoration: none;
77
77
  /* The lockup leaves on the words' clock, `visibility` with it so the link leaves
78
78
  the tab order — `linear`, as every discrete property in the kit is.
79
- why: docs/components.md#the-page-shell */
79
+ why: docs/components.md#page-shell */
80
80
  transition: opacity var(--dur-fast) var(--ease), visibility var(--dur-fast) linear;
81
81
  /* display: brand — the rail's lockup is the same mark topbar.css sets, and the
82
82
  two have to be the same face or the shell reads as two products. */
@@ -92,7 +92,7 @@
92
92
 
93
93
  /* The head band: the product's mark, and the rail's own control at the far end of
94
94
  the same line. `min-width: 0` so a long word shrinks the lockup rather than pushing
95
- the control off the band. why: docs/components.md#the-page-shell */
95
+ the control off the band. why: docs/components.md#page-shell */
96
96
  .ui-app__head {
97
97
  display: flex;
98
98
  align-items: center;
@@ -142,7 +142,7 @@
142
142
  /* The avatar is the reader block's own glyph, so half the difference between the
143
143
  glyph column and itself is the inset that centres it on the line every glyph above
144
144
  it stands on. The arithmetic and not the 5.5 it comes to: both numbers are declared
145
- elsewhere. why: docs/components.md#the-page-shell */
145
+ elsewhere. why: docs/components.md#page-shell */
146
146
  .ui-app { --ui-app-av: 30px; }
147
147
  .ui-app__av {
148
148
  width: var(--ui-app-av); height: var(--ui-app-av); flex: none;
@@ -160,7 +160,7 @@
160
160
  /* -- the reader's menu ---------------------------------------------------- */
161
161
  /* The account block is a dropdown() trigger, so it takes the rail's own row skin
162
162
  rather than the dropdown's pill — in place it is the last row of the rail. The
163
- dropdown's own ring is left standing. why: docs/components.md#the-page-shell */
163
+ dropdown's own ring is left standing. why: docs/components.md#page-shell */
164
164
  .ui-app__user .ui-dropdown { width: 100%; }
165
165
  .ui-app .ui-app__user-trigger {
166
166
  width: 100%;
@@ -183,7 +183,7 @@
183
183
  .ui-app__user-trigger .ui-app__who { flex: 1 1 auto; text-align: left; }
184
184
  /* The panel is portalled onto <body>, so nothing here may hang off .ui-app: by the
185
185
  time it is open it is no longer inside the rail that drew it.
186
- why: docs/components.md#the-dropdown-panel */
186
+ why: docs/components.md#dropdown */
187
187
  .ui-app__user-panel .ui-dropdown__head { display: flex; flex-direction: column; gap: 2px; }
188
188
  .ui-app__user-panel .ui-dropdown__head b { display: block; color: var(--strong); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
189
189
  /* The address wraps rather than truncating: nothing bounds this line, so
@@ -195,7 +195,7 @@
195
195
  /* The toggle's cell, at the far end of the brand row: the auto margin puts it there
196
196
  with or without a wordmark beside it, and the offset below rides it back onto the
197
197
  glyph column as the rail closes. `position: relative` and not a transform, because
198
- the chip inside is `position: fixed`. why: docs/components.md#the-page-shell */
198
+ the chip inside is `position: fixed`. why: docs/components.md#page-shell */
199
199
  .ui-app__fold-row {
200
200
  flex: none;
201
201
  margin-inline-start: auto;
@@ -206,12 +206,12 @@
206
206
  /* One box on the glyph column at both widths — --ui-nav-strip, the width nav.css
207
207
  derives the closed rail from. `gap: 0` leaves that column the whole of the
208
208
  content box, so the label below is squeezed to nothing until the chip rule lifts
209
- it out. why: docs/components.md#the-page-shell */
209
+ it out. why: docs/components.md#page-shell */
210
210
  .ui-app__fold { width: var(--ui-nav-strip); gap: 0; }
211
211
  /* The chip rule lifts the name out of the flow, and a 17px glyph is shorter than
212
212
  the line the name occupied — so the button lost 0.39px on hover and moved every
213
213
  row under it. The glyph box carries the line instead, in both states.
214
- why: docs/components.md#the-page-shell */
214
+ why: docs/components.md#page-shell */
215
215
  .ui-app__fold .ui-nav__ic { height: 1lh; }
216
216
  .ui-app .ui-app__fold { color: var(--text); }
217
217
  .ui-app .ui-app__fold:hover,
@@ -230,7 +230,7 @@
230
230
 
231
231
  The width's own clock, not the words', so the mark and the closing edge arrive
232
232
  together; no `!important`, so the reduced-motion net still takes it.
233
- why: docs/components.md#the-page-shell */
233
+ why: docs/components.md#page-shell */
234
234
  .ui-app__fold .ui-app__fold-arrow {
235
235
  transform-box: view-box;
236
236
  transform-origin: 15px 12px;
@@ -239,7 +239,7 @@
239
239
  .ui-app.is-collapsed .ui-app__fold .ui-app__fold-arrow { transform: scaleX(-1); }
240
240
 
241
241
  /* -- The collapsed rail --------------------------------------------------- */
242
- /* The reader's own fold, at the widths that have a rail. why: docs/components.md#the-page-shell */
242
+ /* The reader's own fold, at the widths that have a rail. why: docs/components.md#page-shell */
243
243
  .ui-app.is-collapsed { --ui-rail-w: calc(var(--ui-nav-strip) + 2 * var(--space-4) + var(--ui-rail-rule)); }
244
244
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-nav__cap,
245
245
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-nav__label,
@@ -250,21 +250,21 @@
250
250
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-app__brand span { opacity: 0; pointer-events: none; }
251
251
  /* The toggle rides onto the glyph column — the two widths' own difference — and the
252
252
  lockup goes whole, since that column is where its mark stood. Below 720px there is
253
- no rail, so none of this is drawn. why: docs/components.md#the-page-shell */
253
+ no rail, so none of this is drawn. why: docs/components.md#page-shell */
254
254
  :where(.ui-app.is-collapsed) .ui-app__head > .ui-app__fold-row { inset-inline-start: calc(var(--ui-nav-strip) - var(--ui-nav-col)); }
255
255
  /* Both layouts put the toggle in the head (#732), so it lands where the mark stood.
256
- why: docs/components.md#the-page-shell */
256
+ why: docs/components.md#page-shell */
257
257
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-app__brand { opacity: 0; visibility: hidden; pointer-events: none; }
258
258
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-nav__sub { margin-inline-start: 0; padding-inline-start: 0; border-inline-start-width: 0; }
259
259
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-nav__item:not(:has(.ui-nav__ic))::after { opacity: 0.62; }
260
260
  /* The current row's plate on the glyph column, and beside it the one thing a bare rail
261
261
  does not do: an ordinary row drops its wash here, answered by the floating name below.
262
- nav.css's folded rules, a rung further. why: docs/components.md#the-page-shell */
262
+ nav.css's folded rules, a rung further. why: docs/components.md#page-shell */
263
263
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-nav__item.is-active { isolation: isolate; background: none; }
264
264
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-nav__item.is-active::before { content: ""; position: absolute; left: 0; top: 50%; width: var(--ui-nav-strip); height: 100%; border-radius: 10px; transform: translateY(-50%); /* motion: still — a mark on the current row, whose own highlight already transitions; this centres it, it does not travel */ background: var(--surface-3); /* code-bg: inherit — The plate contains no focus target. */ z-index: -1; }
265
265
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-nav__item:not(.is-danger):not(.is-active):hover { background: none; }
266
266
  /* A row closes to the glyph column, so the rail's clip does not cut the right side of its
267
- focus ring. why: docs/components.md#the-page-shell */
267
+ focus ring. why: docs/components.md#page-shell */
268
268
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-nav__item,
269
269
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-app__user-trigger { width: var(--ui-nav-strip); }
270
270
  /* The label IS the chip. `fixed` is the fallback placement, out of the rail's own
@@ -275,7 +275,7 @@
275
275
  It floats by role — a readout placed over the page for as long as a pointer
276
276
  rests on a row — so it takes the floating treatment the hover readout takes,
277
277
  which is the same shape on the same step: the two-step edge and the drops.
278
- why: docs/components.md#the-page-shell
278
+ why: docs/components.md#page-shell
279
279
  why: docs/foundations.md#elevation */
280
280
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-nav__item:is(:hover, :focus-visible) > .ui-nav__label,
281
281
  :where(.ui-app.is-collapsed) .ui-app__rail .ui-app__user-trigger:is(:hover, :focus-visible) > .ui-app__who,
@@ -318,7 +318,7 @@
318
318
  arrangement where the rail's head band and the band close at the same height — what
319
319
  the three heights below are for. Level, not one continuous stroke: the rail insets
320
320
  its own rule, and in light that half is 1.009:1 on the rail's ground.
321
- why: docs/components.md#the-second-layout */
321
+ why: docs/components.md#page-shell */
322
322
  .ui-app--topbar { --ui-app-band: 52px; }
323
323
  .ui-app__well { display: flex; flex-direction: column; min-width: 0; }
324
324
  .ui-app__bar {
@@ -347,7 +347,7 @@
347
347
  like is the point. The STEP is not, and that is the one thing this control does
348
348
  differently from every other field in the kit: the reason is on the declaration
349
349
  below. It gives way before anything else on the band.
350
- why: docs/components.md#the-page-shell */
350
+ why: docs/components.md#page-shell */
351
351
  .ui-app__search {
352
352
  display: flex;
353
353
  align-items: center;
@@ -387,7 +387,7 @@
387
387
  .ui-app__search kbd { flex: none; }
388
388
  /* The mark alone — no room for two lines on a 52px row. No rule over it, since the
389
389
  band's hairline is under the whole of it, and no column, since this is not the rail.
390
- why: docs/components.md#the-page-shell */
390
+ why: docs/components.md#page-shell */
391
391
  .ui-app__user--bar { flex: none; padding-top: 0; border-top: 0; }
392
392
  /* The switch is a 34px square and stays one: the trigger above is the thing on this
393
393
  band that gives way, and a flex item with the default shrink does not wait its
@@ -398,9 +398,19 @@
398
398
  moves a 5.53px shortfall onto the account block's trailing gutter instead, because
399
399
  nothing before it in that row has width to spare. topbar.css's --space-2 comment
400
400
  names that choice and the gutter it leaves.
401
- why: docs/components.md#the-page-shell */
401
+ why: docs/components.md#page-shell */
402
402
  .ui-app__bar .toggle, .topbar__in .toggle { flex: none; }
403
403
  .ui-app__user--bar .ui-app__av { margin-inline-start: 0; }
404
+ /* In the band the trigger holds the 30px mark and no words, so it is a wordless button: a
405
+ 40px circle. The ring stands outside it, 5px clear of the mark. #834
406
+ why: docs/foundations.md#control-corners */
407
+ .ui-app__bar .ui-app__user-trigger {
408
+ width: var(--space-10);
409
+ height: var(--space-10);
410
+ padding: 0;
411
+ justify-content: center;
412
+ border-radius: var(--radius-pill);
413
+ }
404
414
  .ui-app__main h1 {
405
415
  color: var(--strong);
406
416
  /* rank: page-title */
@@ -461,7 +471,7 @@
461
471
  .ui-toolbar--split > :last-child { margin-inline-start: auto; }
462
472
  /* At one column the 6rem basis stops being a floor and becomes the field's size:
463
473
  a row with two narrow chips beside it keeps all three on the line and cuts the
464
- field's own placeholder off. why: docs/components.md#a-toolbar-at-one-column */
474
+ field's own placeholder off. why: docs/components.md#toolbar */
465
475
  @media (max-width: 560px) {
466
476
  .ui-toolbar > .ui-input,
467
477
  .ui-toolbar > .ui-input-group { flex-basis: 100%; }
@@ -494,7 +504,7 @@
494
504
  control and the brand's mark, the control opens the same rail in the kit's left
495
505
  drawer, and the reading column takes the whole width. The band, the control and the
496
506
  drawer exist at every width and are not drawn above it, so the rail's rows above
497
- 720px are the rows they were. why: docs/components.md#the-page-shell */
507
+ 720px are the rows they were. why: docs/components.md#page-shell */
498
508
  .ui-app__bar--phone { display: none; }
499
509
  .ui-btn.ui-app__menu { display: none; }
500
510
  .ui-app__brand--band { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; /* a finger's box around a 24px mark */ }
@@ -502,7 +512,7 @@
502
512
  /* The drawer panel is --bg-elevated, which --surface matches exactly in light, so nav.css's
503
513
  plate measures 1.00:1 there. The current row and the hover wash take the rung the rail
504
514
  takes (--surface-3), and the count keeps its --surface pill on that plate. Dark already
505
- has a step and keeps it. why: docs/components.md#the-page-shell */
515
+ has a step and keeps it. why: docs/components.md#page-shell */
506
516
  :where(:root[data-theme="light"]) .ui-app__drawer .ui-nav__item:not(.is-danger):not(.is-active):hover { background: color-mix(in srgb, var(--surface-3) 50%, transparent); /* code-bg: inherit — The wash keeps the containing ground. */ }
507
517
  :where(:root[data-theme="light"]) .ui-app__drawer .ui-nav__item.is-active { background: var(--surface-3); /* code-bg: inherit — The control keeps the containing ground. */ }
508
518
  @media (max-width: 720px) {
@@ -530,7 +540,7 @@
530
540
  .ui-app__drawer .ui-drawer__footer { justify-content: flex-start; }
531
541
  .ui-app__drawer .ui-app__user { width: 100%; }
532
542
  /* A finger is the only pointer this width has, so a row and the account block are
533
- held to 44px. why: docs/components.md#the-page-shell */
543
+ held to 44px. why: docs/components.md#page-shell */
534
544
  .ui-app__drawer .ui-nav__item,
535
545
  .ui-app__drawer .ui-app__user-trigger { min-height: 44px; }
536
546
  .ui-app__main { padding: 28px var(--space-4) 56px; }
@@ -589,7 +599,7 @@
589
599
  /* A small search field stops at the width of a small panel, and the free width goes
590
600
  before the last control. A full-size field still takes the free width. At one column
591
601
  each search field takes the line again. rev_f1d664c42a55/d2, #822
592
- why: docs/components.md#a-toolbar-at-one-column */
602
+ why: docs/components.md#toolbar */
593
603
  @media not (pointer: coarse) {
594
604
  .ui-toolbar > .ui-input-group:has(> .ui-input--sm) { max-width: var(--panel-sm); }
595
605
  }
@@ -603,7 +613,7 @@
603
613
  its place (#729). Neither the sentence nor the cap is `display: none`: both are inside
604
614
  the button's accessible name — the cap by Artur's call on #308 — so they are
605
615
  clipped the way `.ui-sr` in loading.css clips, and the name holds at every width.
606
- why: docs/components.md#the-page-shell */
616
+ why: docs/components.md#page-shell */
607
617
  @media (max-width: 560px) {
608
618
  .ui-app__search-txt,
609
619
  .ui-app__search kbd {
@@ -9,7 +9,7 @@
9
9
  * own red made it read as a fault the reader had committed. The lock says which
10
10
  * of the two it is.
11
11
  *
12
- * why: docs/components.md#pending-and-denied-states */
12
+ * why: docs/components.md#loading-and-denied-states */
13
13
 
14
14
  /* Visually hidden, still read aloud. The kit had no such utility, and the live
15
15
  region needs one: its message is for assistive tech only — the sighted
@@ -43,7 +43,7 @@
43
43
  .ui-nav__cap {
44
44
  /* rank: label */
45
45
  /* Words, never a control, at BOTH widths — as __label, __badge and __caret below.
46
- why: docs/components.md#a-folded-rail-takes-the-pointer-only-where-it-draws */
46
+ why: docs/components.md#page-shell */
47
47
  pointer-events: none;
48
48
  font-size: var(--text-sm);
49
49
  font-weight: var(--weight-medium);
@@ -74,7 +74,7 @@
74
74
  font-family: inherit;
75
75
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
76
76
  }
77
- .ui-nav .ui-nav__item { color: var(--text); } /* (0,2,0): a host sheet's a:link is (0,1,1) — why: docs/components.md#the-page-shell */
77
+ .ui-nav .ui-nav__item { color: var(--text); } /* (0,2,0): a host sheet's a:link is (0,1,1) — why: docs/components.md#page-shell */
78
78
  .ui-nav__item:hover { background: color-mix(in srgb, var(--surface) 50%, transparent); /* code-bg: inherit — The wash keeps the containing ground. */ color: var(--strong); }
79
79
  .ui-nav__item.is-active {
80
80
  background: var(--surface); /* code-bg: inherit — control paint; the containing surface is the ground, for a chip and for a band alike. */
@@ -84,7 +84,7 @@
84
84
  /* The current row's one mark is a plate, and nothing closes it: on a rail row an
85
85
  outline means focus and only focus. The plate is the quiet fill a rung off the
86
86
  ground the rail stands on, so layout.css takes it the next rung where the rail
87
- is itself --surface. #475 r33/r34. why: docs/components.md#the-page-shell */
87
+ is itself --surface. #475 r33/r34. why: docs/components.md#page-shell */
88
88
 
89
89
  /* Drawn inward: rows stand 2px apart, so an outward band crossed into the next row.
90
90
  why: docs/foundations.md#the-focus-ring */
@@ -229,7 +229,7 @@
229
229
  /* Every box in the rail closes with it, whether it paints or not. A block that keeps
230
230
  the open column paints nothing and still takes the pointer off 175px of the page
231
231
  beside a positioned rail (#588); clipping it instead cut the rows' ring (#575).
232
- why: docs/components.md#a-folded-rail-takes-the-pointer-only-where-it-draws */
232
+ why: docs/components.md#page-shell */
233
233
  .ui-nav--side.is-collapsed > * { width: var(--ui-nav-strip); }
234
234
  .ui-nav--side.is-collapsed .ui-nav__item { width: var(--ui-nav-strip); }
235
235
  /* The heading is the one box that keeps the open column: its line breaks are the rail's
@@ -110,7 +110,7 @@
110
110
  min-height: var(--space-8);
111
111
  padding: var(--space-1) var(--space-2);
112
112
  font-size: var(--text-sm);
113
- border-radius: var(--radius-pill);
113
+ border-radius: var(--radius-md); /* The field corner, as .ui-input. #836 */
114
114
  text-align: center;
115
115
  }
116
116
 
@@ -96,7 +96,7 @@
96
96
  * 2px stroke, in --signal-contrast — the circle wears the accent's dark ramp in
97
97
  * both themes, so its ink is the one for a fill, not the --accent-contrast that
98
98
  * pairs with --accent-strong. Held by stories/accent-mark.test.js.
99
- * why: docs/components.md#page-furniture, and #472 for the ring that was rejected. */
99
+ * why: docs/components.md#choose-a-component, and #472 for the ring that was rejected. */
100
100
  .ui-accent-picker button.is-active::after {
101
101
  content: "";
102
102
  position: absolute;
@@ -113,7 +113,7 @@
113
113
 
114
114
  /* Underline tabs wrap for the reason the pills above do — #435 — and draw no
115
115
  rule of their own: the chosen tab carries the selection. #527, #545
116
- why: docs/components.md#the-chosen-tab-in-an-underline-strip */
116
+ why: docs/components.md#segmented */
117
117
  .ui-seg--underline { flex-wrap: wrap; overflow: visible; row-gap: var(--space-1); align-self: stretch; justify-self: stretch; background: transparent; border-radius: 0; padding: var(--space-1); max-width: 100%; }
118
118
  /* `anywhere` is the half `break-word` cannot do: it lowers the tab's min-content
119
119
  width, so one unbreakable word narrows rather than widening the page. The
@@ -121,16 +121,16 @@
121
121
  draws 44 whatever line box its font hands it: the off-scale `--space-3 + 1px`
122
122
  this replaces drew 44 with the webfont loaded and 41 without, which is under
123
123
  the floor it claimed. The radius is left for the focus ring; the tab paints no
124
- box. #527
124
+ box. A two-letter tab, such as EN, is as wide as the floor too. #834
125
125
  why: guidelines/layout-and-density.md, the spacing scale */
126
- .ui-seg--underline button { position: relative; border-radius: var(--radius-sm); padding: var(--space-3); min-height: var(--tap-min, 44px); white-space: normal; overflow-wrap: anywhere; font-weight: var(--weight-medium); }
126
+ .ui-seg--underline button { position: relative; border-radius: var(--radius-sm); padding: var(--space-3); min-height: var(--tap-min, 44px); min-width: var(--tap-min, 44px); white-space: normal; overflow-wrap: anywhere; font-weight: var(--weight-medium); }
127
127
  .ui-seg--underline.ui-seg--sm button { padding: var(--space-3); min-height: var(--tap-min, 44px); }
128
128
  /* The chosen tab is its label and one bar under it: no plate, no hairline, no
129
129
  upright rail — those read as a list-row grip. #527 r31. The `outline: 0` that
130
130
  stood here cancelled the accent outline the pill rule gave every chosen button;
131
131
  #578 round r34 took that outline off, so there is nothing left to cancel — and
132
132
  nothing outranking the kit's focus rule, which is why the restatement under the
133
- bar is gone with it. why: docs/components.md#the-chosen-tab-in-an-underline-strip */
133
+ bar is gone with it. why: docs/components.md#segmented */
134
134
  .ui-seg--underline button.is-active,
135
135
  .ui-seg--underline button[aria-pressed="true"] {
136
136
  background: none;
@@ -187,7 +187,7 @@
187
187
  The mark is the consumer's because a selector counts elements and not words: `:only-child`
188
188
  reads `<td>Invoice <a>1162</a></td>` as a lone link too. The link is named rather than
189
189
  denied — a denylist of the anchors that own their box went stale twice (#510).
190
- why: docs/components.md#dense-financial-tables, #500
190
+ why: docs/components.md#data-table, #500
191
191
  held by: src/styles/table-focus.test.js */
192
192
  .ui-table td.ui-table__linked:has(> :is(a:not([class]), a.ui-identity):only-child) { padding: 0; height: 1px; }
193
193
  .ui-table td.ui-table__linked > :is(a:not([class]), a.ui-identity):only-child {
@@ -433,7 +433,7 @@ a.ui-identity:hover { text-decoration: underline; }
433
433
  retunes. The cut takes NO margin — the cell is sticky and the next column scrolls
434
434
  under it, so whatever the cut lets out is painted over that column. A child's ring
435
435
  needs 3px and the cell's padding is 12px, so the room comes from the padding.
436
- why: docs/components.md#dense-financial-tables, #500, #513 */
436
+ why: docs/components.md#data-table, #500, #513 */
437
437
  /* A percentage can stretch an intrinsic table beyond its content. */
438
438
  .ui-card--fit .ui-table--pinned .ui-table__identity { width: 1px; }
439
439
  .ui-table--pinned .ui-table__identity {
@@ -633,7 +633,7 @@ a.ui-identity:hover { text-decoration: underline; }
633
633
  heading is, semibold in strong ink on the same hairline, so the two read as one kind of
634
634
  line. Its rows are held apart by space, as the drawer's pairs are, with no line between.
635
635
  A hover table keeps its own row floor, because its rows are targets.
636
- why: docs/components.md#the-drawer */
636
+ why: docs/components.md#drawer */
637
637
  .ui-drawer .ui-drawer__section .ui-table thead th {
638
638
  padding-bottom: var(--space-2);
639
639
  font-weight: var(--weight-semibold);
@@ -57,6 +57,7 @@
57
57
  .ui-snippet__copy,
58
58
  .ui-footer__social,
59
59
  .ui-app__search,
60
+ .ui-back,
60
61
  .toggle,
61
62
  /* Already relative in react/src/DatePicker.css — restated because this
62
63
  gate reads the kit's own sheets and cannot see that one, and a carrier
@@ -79,6 +80,7 @@
79
80
  .ui-switch,
80
81
  .ui-datepicker__opt,
81
82
  .ui-app__search,
83
+ .ui-back,
82
84
  .toggle
83
85
  )::after {
84
86
  content: "";
@@ -279,6 +281,11 @@
279
281
  20 claims 10px a side and the trigger has 7.4. The clamp would still stop
280
282
  at 44 today and be a number that is not true, which is what the browser
281
283
  half fails a container for. */
284
+ /* A back link draws 32px and owns 6px above and below it: the layer stops 6px into
285
+ the room the shell leaves above the link and the room the page leaves below it.
286
+ Across, it keeps the width it draws. #834 */
287
+ .ui-back { --tap-clear-y: var(--space-3, 12px); }
288
+
282
289
  .ui-app__bar,
283
290
  .topbar__in { --tap-clear-x: var(--space-3, 12px); --tap-clear-y: var(--space-3, 12px); }
284
291
  }
@@ -7,7 +7,7 @@
7
7
  * host, so showing it, filling it and moving it change the size of nothing.
8
8
  * The React readout is a manual popover: open, it sits in the top layer and is
9
9
  * fixed to the view, so no ancestor cuts it and no sticky cell covers it.
10
- * why: docs/components.md#the-hover-readout
10
+ * why: docs/components.md#tooltip
11
11
  * ========================================================================== */
12
12
 
13
13
  .ui-tip-host { position: relative; }
@@ -149,7 +149,7 @@
149
149
  /* The same cap `.ui-dropdown__panel` writes itself, in bespoke clothes: this
150
150
  menu is `wireDropdown()` too, so wireDropdown() measures it the same way and
151
151
  writes the same two properties. #489
152
- why: docs/components.md#the-dropdown-panel */
152
+ why: docs/components.md#dropdown */
153
153
  max-height: min(var(--ui-dropdown-cap, 100dvh), var(--ui-dropdown-avail, calc(100dvh - 16px)));
154
154
  overflow-y: auto;
155
155
  overscroll-behavior: contain;
@@ -157,7 +157,7 @@
157
157
  visibility: hidden;
158
158
  /* Drawn for the whole of the fade out, so the rows do not vanish mid-fade — and a box
159
159
  that is drawn is a box that is hit. The open rule takes this back.
160
- why: docs/components.md#the-dropdown-panel */
160
+ why: docs/components.md#dropdown */
161
161
  pointer-events: none;
162
162
  transform: translateY(-6px);
163
163
  /* Named properties, not the bare shorthand: `transition: 0.18s` is `all`, and `all`
@@ -182,7 +182,7 @@
182
182
  open transition, because the frame the open class lands is the frame the wiring moves
183
183
  focus onto a row in and a browser will not focus inside a hidden box; and
184
184
  `pointer-events` back on, because the closed rule turned it off.
185
- why: docs/components.md#the-dropdown-panel */
185
+ why: docs/components.md#dropdown */
186
186
  .vsw.open .vsw__menu {
187
187
  opacity: 1;
188
188
  visibility: visible;
@@ -335,7 +335,7 @@
335
335
  the ring cross the edge. #489's cap takes that choice away — `overflow-y: auto` clips
336
336
  again, because a menu that scrolls has to stop its content at its own edge — so this
337
337
  reserves the room instead, the same 6px `.vsw__menu` and `.ui-dropdown__panel` already
338
- keep rather than a new figure. why: docs/components.md#a-menu-panel-does-not-cut-off-its-rows-ring */
338
+ keep rather than a new figure. why: docs/components.md#dropdown */
339
339
  padding: 6px;
340
340
  /* The same cap `.ui-dropdown__panel` writes itself — see .vsw__menu above. #489 */
341
341
  max-height: min(var(--ui-dropdown-cap, 100dvh), var(--ui-dropdown-avail, calc(100dvh - 16px)));
@@ -346,7 +346,7 @@
346
346
  reserves that room while the menu stands still; this keeps it reserved once
347
347
  scrolling the menu — reaching the first row this PR made it do — puts a
348
348
  focused row at either end. #641's danger 2.
349
- why: docs/components.md#a-menu-panel-does-not-cut-off-its-rows-ring */
349
+ why: docs/components.md#dropdown */
350
350
  scroll-padding-block: 3px;
351
351
  opacity: 0;
352
352
  visibility: hidden;
@@ -377,7 +377,7 @@
377
377
  the border-bottom hairline reaches the panel's edge instead of stopping a
378
378
  notch short of it. #641's warning. The 5px below is the kit head's own gap, so the first
379
379
  row's fill and ring stand clear of the hairline. #824
380
- why: docs/components.md#the-dropdown-panel */
380
+ why: docs/components.md#dropdown */
381
381
  .amenu .ahead {
382
382
  padding: 13px 15px;
383
383
  margin: -6px -6px 5px;
@@ -394,7 +394,7 @@
394
394
  above: Chromium's own focus-follow scroll honoured the padding scrolling
395
395
  toward the end of the list and not the start, so the row carries its own
396
396
  reserve too rather than leaving the start of the list short. #641's danger 2.
397
- why: docs/components.md#a-menu-panel-does-not-cut-off-its-rows-ring */
397
+ why: docs/components.md#dropdown */
398
398
  .amenu a { display: flex; align-items: center; gap: 11px; padding: 10px 15px; color: var(--text); text-decoration: none; font-family: var(--font-sans); font-size: var(--text-sm); cursor: pointer; scroll-margin-block: 3px; }
399
399
  /* The row is a `.ui-dropdown__item`, so the kit's menu row draws its hover fill, its corner
400
400
  and its inward ring. A pointer draws no edge on a row. #824 */
@@ -340,7 +340,7 @@
340
340
 
341
341
  /* Chart series tones (#740, the "Soft fade" palette), the same under every accent. A tone is the bar's data
342
342
  end and clears 3:1 on the card and the page; its -fade is the bar's base, a tint
343
- of the tone that does not clear 3:1 on the card by design. why: docs/components.md#react-charts */
343
+ of the tone that does not clear 3:1 on the card by design. why: docs/components.md#chart */
344
344
  --chart-accent: #347bcd;
345
345
  --chart-accent-fade: #2b5185;
346
346
  --chart-accent-soft: #26a7a9;