@quillmark/svelte 0.35.1 → 0.37.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 (82) hide show
  1. package/README.md +30 -18
  2. package/THEMING.md +1 -1
  3. package/dist/core/address.d.ts +5 -0
  4. package/dist/core/address.js +14 -0
  5. package/dist/core/codec/decode.d.ts +4 -2
  6. package/dist/core/codec/decode.js +5 -2
  7. package/dist/core/codec/field.d.ts +42 -16
  8. package/dist/core/codec/field.js +97 -28
  9. package/dist/core/codec/index.d.ts +8 -5
  10. package/dist/core/codec/index.js +4 -5
  11. package/dist/core/codec/prose.css +25 -81
  12. package/dist/core/codec/review.d.ts +31 -26
  13. package/dist/core/codec/review.js +93 -169
  14. package/dist/core/codec/schema.d.ts +12 -2
  15. package/dist/core/codec/schema.js +27 -5
  16. package/dist/core/codec/shortcuts.d.ts +5 -4
  17. package/dist/core/codec/shortcuts.js +9 -8
  18. package/dist/core/codec/table-view.js +15 -3
  19. package/dist/core/codec/value-diff.d.ts +21 -0
  20. package/dist/core/codec/value-diff.js +83 -0
  21. package/dist/core/codec/value-plan.d.ts +29 -0
  22. package/dist/core/codec/value-plan.js +157 -0
  23. package/dist/core/theme.css +46 -15
  24. package/dist/core/tooltip.css +49 -0
  25. package/dist/core/tooltip.d.ts +6 -0
  26. package/dist/core/tooltip.js +176 -0
  27. package/dist/preview/Preview.svelte +22 -1
  28. package/dist/preview/controller.js +38 -0
  29. package/dist/preview/strings.d.ts +2 -0
  30. package/dist/preview/strings.js +1 -0
  31. package/dist/visual/ArrayField.svelte +374 -96
  32. package/dist/visual/Card.svelte +33 -12
  33. package/dist/visual/Card.svelte.d.ts +3 -0
  34. package/dist/visual/CardControls.svelte +3 -3
  35. package/dist/visual/DateField.svelte +47 -5
  36. package/dist/visual/DiagnosticList.svelte +3 -2
  37. package/dist/visual/EnumField.svelte +20 -5
  38. package/dist/visual/EnumField.svelte.d.ts +5 -0
  39. package/dist/visual/Field.svelte +56 -47
  40. package/dist/visual/FieldHint.svelte +20 -8
  41. package/dist/visual/FormatPopover.svelte +54 -20
  42. package/dist/visual/MatrixField.svelte +48 -6
  43. package/dist/visual/MatrixField.svelte.d.ts +5 -0
  44. package/dist/visual/NumberField.svelte +131 -6
  45. package/dist/visual/NumberField.svelte.d.ts +5 -0
  46. package/dist/visual/ObjectField.svelte +60 -18
  47. package/dist/visual/ProseField.svelte +21 -5
  48. package/dist/visual/ProseField.svelte.d.ts +5 -1
  49. package/dist/visual/ProseValue.svelte +49 -8
  50. package/dist/visual/ProseValue.svelte.d.ts +7 -1
  51. package/dist/visual/ReviewCard.svelte +400 -0
  52. package/dist/visual/ReviewCard.svelte.d.ts +20 -0
  53. package/dist/visual/ReviewProposal.svelte +98 -138
  54. package/dist/visual/ReviewProposal.svelte.d.ts +3 -6
  55. package/dist/visual/ReviewRows.svelte +6 -25
  56. package/dist/visual/ReviewRows.svelte.d.ts +1 -3
  57. package/dist/visual/SlashMenu.svelte +1 -0
  58. package/dist/visual/TipsCard.svelte +1 -1
  59. package/dist/visual/VariantField.svelte +45 -4
  60. package/dist/visual/VariantField.svelte.d.ts +5 -0
  61. package/dist/visual/VisualEditor.svelte +24 -9
  62. package/dist/visual/VisualEditor.svelte.d.ts +8 -1
  63. package/dist/visual/VisualEditorInner.svelte +917 -280
  64. package/dist/visual/VisualEditorInner.svelte.d.ts +8 -1
  65. package/dist/visual/controls.css +2 -2
  66. package/dist/visual/index.d.ts +2 -2
  67. package/dist/visual/proposals.d.ts +25 -24
  68. package/dist/visual/proposals.js +92 -32
  69. package/dist/visual/props.d.ts +18 -18
  70. package/dist/visual/review-order.d.ts +51 -0
  71. package/dist/visual/review-order.js +87 -0
  72. package/dist/visual/review.d.ts +94 -3
  73. package/dist/visual/review.js +37 -2
  74. package/dist/visual/review.svelte.d.ts +77 -20
  75. package/dist/visual/review.svelte.js +306 -49
  76. package/dist/visual/strings.d.ts +59 -25
  77. package/dist/visual/strings.js +90 -29
  78. package/dist/visual/structure.d.ts +17 -3
  79. package/dist/visual/structure.js +71 -5
  80. package/dist/visual/undo.svelte.d.ts +3 -1
  81. package/dist/visual/undo.svelte.js +7 -3
  82. package/package.json +2 -2
@@ -37,14 +37,14 @@
37
37
  container or a block prose cell.
38
38
 
39
39
  The row's controls are inside the element: a slab over the end of the element's own
40
- box, taking its two end-side corners: the remove. An `object` row's drag handle hangs
40
+ box, taking its two end-side corners: the remove. Every element's drag handle hangs
41
41
  off its start edge instead, as a table grip does. So a row's box is the element's box, and an array's rows end where
42
42
  every other field's control does. On an object element that box is the summary rather
43
43
  than the open row: a destructive control belongs to the line it sits on, not to
44
- everything that line has unfolded. A table's row carries the remove alone, in its last
45
- track and pinned to the end edge of the box the table scrolls in, so the one control
46
- the row draws never needs a scroll to reach. A table's row and a line carry no handle:
47
- their reorder is the key's alone.
44
+ everything that line has unfolded. A table's row carries the handle in its first track
45
+ and the remove in its last, each pinned to its edge of the box the table scrolls in, so
46
+ neither control the row draws ever needs a scroll to reach. The standing row is no
47
+ element and carries no handle.
48
48
 
49
49
  Keys carry the list without the mouse: Enter inserts a sibling below and takes the
50
50
  caret there, and short of a prose line's end splits the line there, as a bulleted list
@@ -52,7 +52,7 @@
52
52
  prose line's start joins it onto the line above and Delete at its end joins the next
53
53
  onto it, each one commit; Backspace on an empty element removes it and hands focus back up the list, Alt+↑/↓
54
54
  anywhere in a row of the list moves it, the nearest row answering and never
55
- the record around a nested one, and on an `object` row is the twin of the handle's drag. A move is one splice of the ids
55
+ the record around a nested one: the twin of the handle's drag. A move is one splice of the ids
56
56
  and of the values together, the mechanism insert and remove use, so an element keeps
57
57
  its id for life and no prose leaf inside it remounts; the open row stays open across
58
58
  its own move, and `animate:reorder` holds the moving row as it holds a card.
@@ -89,7 +89,7 @@
89
89
  -->
90
90
  <script lang="ts">
91
91
  import { SvelteSet } from 'svelte/reactivity';
92
- import { wording } from './strings.js';
92
+ import { keycap, wording } from './strings.js';
93
93
  import { structuralUndo } from './undo.svelte.js';
94
94
 
95
95
  // The surface's words, ambient from the editor root; the package's English
@@ -113,7 +113,17 @@
113
113
  textCap,
114
114
  type ArrayLayout
115
115
  } from './structure.js';
116
- import { splitReview, type DeepReview } from './review.js';
116
+ import {
117
+ numberProposal,
118
+ textProposal,
119
+ type TextProposal,
120
+ splitReview,
121
+ valueIn,
122
+ type DeepReview,
123
+ type FieldProposal
124
+ } from './review.js';
125
+ import { review as reviewState } from './review.svelte.js';
126
+ import { asContent } from '../core/codec/index.js';
117
127
  import ReviewRows from './ReviewRows.svelte';
118
128
  import { splitDeep, unrouted, type DeepDiagnostic } from './diagnostics.js';
119
129
  import { propertyDomIds } from './domid.js';
@@ -211,6 +221,20 @@
211
221
  const control = $derived(items ? controlKind(items) : 'text');
212
222
  const table = $derived(layout === 'table' && control === 'object');
213
223
  const columns = $derived(Object.entries(items?.properties ?? {}));
224
+ /** A column's track. A cell that fills its width takes a share of what the field has
225
+ * spare, a control of one width (an enum, a date, a number) rests at its content,
226
+ * and a switch at its mark; every track's base is what its cells cannot shrink
227
+ * below, so a field too narrow for the floors scrolls sideways. */
228
+ const tracks = $derived(
229
+ columns
230
+ .map(([, sub]) => {
231
+ const kind = controlKind(sub);
232
+ if (kind === 'boolean') return 'auto';
233
+ if (kind === 'prose' || kind === 'text') return 'minmax(min-content, 1fr)';
234
+ return 'minmax(min-content, max-content)';
235
+ })
236
+ .join(' ')
237
+ );
214
238
  const defaulted = $derived(value == null && (fallback?.length ?? 0) > 0);
215
239
  // A bare value is the one-element list the render floor wraps it into (quillmark/INVARIANTS
216
240
  // §"Coercion is the type predicate"), and the reader answers no element of it.
@@ -239,18 +263,77 @@
239
263
  const rowReview = (k: number): DeepReview[] =>
240
264
  k < arr.length ? (reviewed.below.get(k) ?? []) : [];
241
265
  const ownReview = (k: number): DeepReview[] => rowReview(k).filter((e) => !e.steps.length);
266
+ /** A row's own removal: the proposal that takes the member out, drawn on the whole row. */
267
+ const removal = (k: number): FieldProposal | undefined =>
268
+ ownReview(k).find((e) => e.item.after === undefined)?.item;
269
+ /** A row's items its controls mark, less its removal, which the row draws. */
270
+ const rowKept = (k: number): DeepReview[] => {
271
+ const gone = removal(k);
272
+ return gone ? rowReview(k).filter((e) => e.item !== gone) : rowReview(k);
273
+ };
242
274
  const innerReview = (k: number): DeepReview[] => rowReview(k).filter((e) => e.steps.length);
275
+ /** A scalar row's own proposal, which the row draws in place: a line of text as a word diff
276
+ * over the row, any other value as the value it would hold. A removal stays a mark. */
277
+ const rowOwn = (k: number): FieldProposal | undefined =>
278
+ scalar || control === 'prose'
279
+ ? ownReview(k).find((e) => e.item.after !== undefined)?.item
280
+ : undefined;
281
+ const rowText = (k: number): TextProposal | undefined =>
282
+ control === 'prose' ? textProposal(rowOwn(k)) : undefined;
283
+ const rowNumber = (k: number): { id: string; after: string } | undefined =>
284
+ control === 'number' ? numberProposal(rowOwn(k)) : undefined;
285
+ const rowWorded = (k: number): { id: string } | undefined => rowText(k) ?? rowNumber(k);
286
+ const rowShown = (k: number): unknown => {
287
+ const own = rowWorded(k) ? undefined : rowOwn(k);
288
+ return own ? own.after : arr[k];
289
+ };
290
+ /** A commit on a row that shows one value answers the proposal on it: the proposed value
291
+ * accepts it, any other dismisses it. */
292
+ const commitRow = (k: number, v: unknown): void => {
293
+ const own = rowWorded(k) ? undefined : rowOwn(k);
294
+ if (own && reviewing.answerWith(own.id, v)) return;
295
+ commitElement(k, v);
296
+ };
297
+ /** A row's marks: its proposals less the one its control draws as words. */
298
+ const rowMarks = (k: number): DeepReview[] => {
299
+ const text = rowWorded(k);
300
+ return text ? rowKept(k).filter((e) => e.item.id !== text.id) : rowKept(k);
301
+ };
302
+ /** What a row taken out carries: its item's id and the current one lit, so the row is where
303
+ * the answer card stands. */
304
+ const removedRow = (k: number) => {
305
+ const gone = removal(k);
306
+ return gone
307
+ ? {
308
+ 'data-qm-review': gone.id,
309
+ 'data-qm-removed': '',
310
+ 'data-qm-removed-lit': reviewing.lit === gone.id ? '' : undefined
311
+ }
312
+ : {};
313
+ };
243
314
  /** What has no row to draw under: a member past the last, and a place no row holds. A
244
315
  * table's rows are cells alone, so a member's own item is drawn here too, by its number. */
245
- const reviewFoot = $derived([
316
+ const footAll = $derived([
246
317
  ...reviewed.here,
247
318
  ...[...reviewed.below].flatMap(([step, list]) => {
248
319
  const held = typeof step === 'number' && step >= 0 && step < arr.length;
249
320
  return list
250
- .filter((e) => !held || (table && !e.steps.length))
321
+ .filter((e) => !held || (table && !e.steps.length && e.item.after !== undefined))
251
322
  .map((e) => ({ steps: [step, ...e.steps], item: e.item }));
252
323
  })
253
324
  ]);
325
+ /** Members past the last, drawn as preview rows where they would stand. */
326
+ const added = $derived(
327
+ footAll.filter(
328
+ (e) =>
329
+ e.steps.length === 1 &&
330
+ typeof e.steps[0] === 'number' &&
331
+ e.steps[0] >= arr.length &&
332
+ e.item.after !== undefined
333
+ )
334
+ );
335
+ const reviewFoot = $derived(footAll.filter((e) => !added.includes(e)));
336
+ const reviewing = reviewState();
254
337
 
255
338
  // Parallel stable ids, one per element, kept in lockstep with the data below.
256
339
  // Seeded eagerly so a non-empty array renders its rows on the first pass:
@@ -270,7 +353,7 @@
270
353
  (max == null || max > 0)
271
354
  );
272
355
  /** Whether the standing row is drawn: a gesture lands on it, which holds no element yet. */
273
- const onStanding = $derived(standing && ids.length === 0);
356
+ const onStanding = $derived(standing && ids.length === 0 && !added.length);
274
357
  /** The add chip's standing row after a list of numbers (see the header). */
275
358
  let adding = $state(false);
276
359
  const pending = $derived(adding && control === 'number' && ids.length > 0 && !atCap);
@@ -850,26 +933,31 @@
850
933
  move: (k, to) => {
851
934
  const id = ids[k];
852
935
  move(k, to);
853
- // The row's summary takes the focus, so the keys that move it or take the move
854
- // back act on the row the pointer just moved.
936
+ // The row takes the focus, its summary or else its first control, so the keys
937
+ // that move it or take the move back act on the row the pointer just moved.
855
938
  void (async () => {
856
939
  if (!(await span.resumes(tick()))) return;
857
- const summary = rowEls[id]?.querySelector<HTMLElement>('.qm-element-summary');
858
- if (summary && !rowEls[id]?.contains(document.activeElement))
859
- summary.focus({ preventScroll: true });
940
+ const row = rowEls[id];
941
+ if (!row || row.contains(document.activeElement)) return;
942
+ const summary = row.querySelector<HTMLElement>('.qm-element-summary');
943
+ if (summary) summary.focus({ preventScroll: true });
944
+ else if (table) cellEls[id]?.focus();
945
+ else focusRow(id);
860
946
  })();
861
947
  }
862
948
  });
863
949
  onDestroy(drag.release);
864
950
 
865
951
  /** Whether cells stand past the table scroller's end edge, under the pinned remove,
866
- * which is what the fade before the remove draws on. */
952
+ * and past its start edge, under the pinned handle: what the fade beside each draws on. */
867
953
  let tableOverflow = $state(false);
954
+ let tableScrolled = $state(false);
868
955
  /** The head row spans every track, so its box is the content width a new row or a
869
956
  * longer cell changes. */
870
957
  function trackOverflow(el: HTMLElement): () => void {
871
958
  const measure = () => {
872
959
  tableOverflow = el.scrollWidth - el.clientWidth - Math.abs(el.scrollLeft) > 1;
960
+ tableScrolled = Math.abs(el.scrollLeft) > 1;
873
961
  };
874
962
  measure();
875
963
  el.addEventListener('scroll', measure, { passive: true });
@@ -908,9 +996,10 @@
908
996
  type="button"
909
997
  class="qm-add-el qm-chip qm-focus-ring qm-tap-floor"
910
998
  bind:this={addEl}
999
+ aria-label={t.strings.arrayAdd}
911
1000
  aria-describedby={max != null ? countId : undefined}
912
1001
  disabled={atCap}
913
- onclick={add}>{t.strings.arrayAdd}</button
1002
+ onclick={add}>{`+ ${t.strings.arrayAdd}`}</button
914
1003
  >
915
1004
  </span>
916
1005
  </div>
@@ -925,7 +1014,9 @@
925
1014
  <div
926
1015
  class="qm-array-table-scroller"
927
1016
  data-overflow={tableOverflow ? '' : undefined}
1017
+ data-scrolled={tableScrolled ? '' : undefined}
928
1018
  style:--table-cols={columns.length}
1019
+ style:--table-tracks={tracks}
929
1020
  {@attach trackOverflow}
930
1021
  >
931
1022
  <!-- The header names the columns, so a cell carries no label of its own: its
@@ -933,6 +1024,7 @@
933
1024
  guidance affordance rides the header, being the column's rather than any
934
1025
  one cell's. -->
935
1026
  <div class="qm-array-table-head">
1027
+ <span class="qm-array-table-head-start"></span>
936
1028
  {#each columns as [key, sub] (key)}
937
1029
  <div
938
1030
  class={[
@@ -953,11 +1045,14 @@
953
1045
  {#each ids as id, k (id)}
954
1046
  <!-- svelte-ignore a11y_no_static_element_interactions -->
955
1047
  <div
956
- class="qm-array-row qm-array-table-row qm-wash"
1048
+ class={['qm-array-row qm-array-table-row qm-wash', { lifted: drag.lifted(k) }]}
1049
+ data-drop={drag.dropSide(k)}
957
1050
  data-qm-index={k}
958
1051
  bind:this={rowEls[id]}
959
1052
  onkeydown={(e) => onRowKey(e, k)}
1053
+ {...removedRow(k)}
960
1054
  >
1055
+ {@render handle(k)}
961
1056
  <ObjectField
962
1057
  bare
963
1058
  bind:this={cellEls[id]}
@@ -974,6 +1069,7 @@
974
1069
  {@render removeButton(k, true)}
975
1070
  </div>
976
1071
  {/each}
1072
+ {#each added as { item }, n (item.id)}{@render addedRow(item, arr.length + n)}{/each}
977
1073
  </div>
978
1074
  </div>
979
1075
  {:else if control === 'object'}
@@ -996,6 +1092,7 @@
996
1092
  bind:this={rowEls[id]}
997
1093
  animate:reorder={arm.armed}
998
1094
  onkeydown={(e) => onRowKey(e, k)}
1095
+ {...removedRow(k)}
999
1096
  >
1000
1097
  <!-- The head is the row in collapsed form, and it is a box: the element IS
1001
1098
  a value, the way the enum trigger is, and the slab's grammar (the box's
@@ -1020,6 +1117,9 @@
1020
1117
  {#if !open.has(id) && preview(k)}
1021
1118
  <span class="qm-element-preview">{preview(k)}</span>
1022
1119
  {/if}
1120
+ {#if removal(k)}
1121
+ <span class="qm-review-tag">{t.strings.reviewRemoveCard}</span>
1122
+ {/if}
1023
1123
  </button>
1024
1124
  <div class="qm-row-actions">
1025
1125
  {@render removeButton(k)}
@@ -1037,35 +1137,40 @@
1037
1137
  diagnostics={routed.below.get(k)}
1038
1138
  review={innerReview(k)}
1039
1139
  />
1040
- <ReviewRows entries={ownReview(k)} value={arr[k]} member />
1140
+ <ReviewRows entries={ownReview(k).filter((e) => e.item !== removal(k))} member />
1041
1141
  {:else}
1042
1142
  <!-- A collapsed row draws no cell, so what its cells would have said is said
1043
1143
  under the head, where the row can be seen: the message names the leaf. -->
1044
1144
  <DiagnosticList diagnostics={routed.below.get(k)?.map((d) => d.diagnostic)} />
1045
- <ReviewRows entries={rowReview(k)} value={arr[k]} member />
1145
+ <ReviewRows entries={rowKept(k)} member />
1046
1146
  {/if}
1047
1147
  </div>
1048
1148
  {/each}
1149
+ {#each added as { item }, n (item.id)}{@render addedRow(item, arr.length + n)}{/each}
1049
1150
  </div>
1050
1151
  {:else}
1051
1152
  <div
1052
- class={['qm-array-rows qm-wash', { empty: rowIds.length === 0 }]}
1153
+ class={['qm-array-rows qm-wash', { empty: rowIds.length === 0 && !added.length }]}
1053
1154
  data-default={defaulted ? '' : undefined}
1054
1155
  bind:this={rowsEl}
1055
1156
  >
1056
1157
  {#each rowIds as id, k (id)}
1057
1158
  <!-- svelte-ignore a11y_no_static_element_interactions -->
1058
1159
  <div
1059
- class={['qm-array-row qm-wash', { standing: id === standingId }]}
1160
+ class={['qm-array-row qm-wash', { standing: id === standingId, lifted: drag.lifted(k) }]}
1161
+ data-drop={drag.dropSide(k)}
1060
1162
  data-qm-index={k}
1163
+ {...removedRow(k)}
1061
1164
  bind:this={rowEls[id]}
1062
1165
  onkeydown={(e) => onRowKey(e, k)}
1063
1166
  >
1167
+ {#if id !== standingId}{@render handle(k)}{/if}
1064
1168
  {#if control === 'prose'}
1065
1169
  <ProseValue
1066
1170
  bind:this={els[id]}
1067
1171
  content={() => readAt([k])}
1068
1172
  value={arr[k]}
1173
+ proposed={rowText(k)}
1069
1174
  plaintext={items != null && literalText(items)}
1070
1175
  cap={textCap(items)}
1071
1176
  label={rowName(k)}
@@ -1080,7 +1185,8 @@
1080
1185
  />
1081
1186
  {:else if control === 'number'}
1082
1187
  <NumberField
1083
- value={arr[k] as number | undefined}
1188
+ value={rowShown(k) as number | undefined}
1189
+ proposed={rowNumber(k)}
1084
1190
  integer={items != null && baseType(items) === 'integer'}
1085
1191
  placeholder={id === standingId ? t.strings.arrayStanding : undefined}
1086
1192
  label={rowName(k)}
@@ -1090,30 +1196,31 @@
1090
1196
  {:else if control === 'enum'}
1091
1197
  <!-- The blank is an element's empty answer, drawn as an unanswered one. -->
1092
1198
  <EnumField
1093
- value={(arr[k] as string | undefined) || undefined}
1199
+ value={(rowShown(k) as string | undefined) || undefined}
1094
1200
  values={items?.values ?? []}
1095
1201
  blankTitle={items?.ui?.blank_title}
1096
1202
  label={rowName(k)}
1097
- onCommit={(v) => commitElement(k, v)}
1203
+ onCommit={(v) => commitRow(k, v)}
1204
+ proposing={!!rowOwn(k)}
1098
1205
  />
1099
1206
  {:else if control === 'boolean'}
1100
1207
  <BooleanField
1101
- value={renderedBoolean(arr[k])}
1208
+ value={renderedBoolean(rowShown(k))}
1102
1209
  label={rowName(k)}
1103
- onCommit={(v) => commitElement(k, v)}
1210
+ onCommit={(v) => commitRow(k, v)}
1104
1211
  />
1105
1212
  {:else if control === 'date'}
1106
1213
  <DateField
1107
1214
  bind:this={els[id]}
1108
- value={(arr[k] as string | undefined) || undefined}
1215
+ value={(rowShown(k) as string | undefined) || undefined}
1109
1216
  datetime={items != null && baseType(items) === 'datetime'}
1110
1217
  label={rowName(k)}
1111
- onCommit={(v) => commitElement(k, v)}
1218
+ onCommit={(v) => commitRow(k, v)}
1112
1219
  />
1113
1220
  {:else}
1114
1221
  <TextField
1115
1222
  bind:this={els[id]}
1116
- value={String(arr[k] ?? '')}
1223
+ value={String(rowShown(k) ?? '')}
1117
1224
  placeholder={id === standingId ? t.strings.arrayStanding : undefined}
1118
1225
  label={rowName(k)}
1119
1226
  onCommit={(v) => commitElement(k, v)}
@@ -1126,15 +1233,98 @@
1126
1233
  </div>
1127
1234
  {/if}
1128
1235
  <DiagnosticList diagnostics={routed.below.get(k)?.map((d) => d.diagnostic)} />
1129
- <ReviewRows entries={rowReview(k)} value={arr[k]} member />
1236
+ <ReviewRows entries={rowMarks(k)} member />
1130
1237
  </div>
1131
1238
  {/each}
1239
+ {#each added as { item }, n (item.id)}{@render addedRow(item, arr.length + n)}{/each}
1132
1240
  </div>
1133
1241
  {/if}
1134
1242
  <DiagnosticList diagnostics={foot} />
1135
- <ReviewRows entries={reviewFoot} value={arr} member />
1243
+ <ReviewRows entries={reviewFoot} member />
1136
1244
  </div>
1137
1245
 
1246
+ <!-- A member the review would add, drawn where it would stand as the row's own control holding
1247
+ the value, tinted and inert: a table's as a row of its cells under the same headers, a record
1248
+ list's collapsed to its summary. The row, not the control, hears the pointer and carries the
1249
+ item, so a press on it names the item and the answer card stands on it. -->
1250
+ {#snippet addedRow(item: FieldProposal, k: number)}
1251
+ {@const after = item.after}
1252
+ <!-- svelte-ignore a11y_no_static_element_interactions -->
1253
+ <div
1254
+ class={[
1255
+ 'qm-array-row qm-review-added',
1256
+ {
1257
+ 'qm-array-table-row': table,
1258
+ 'qm-element': control === 'object' && !table,
1259
+ 'qm-review-lit': reviewing.lit === item.id
1260
+ }
1261
+ ]}
1262
+ data-qm-review={item.id}
1263
+ role="group"
1264
+ aria-label={t.strings.reviewNewItem}
1265
+ >
1266
+ <div class="qm-review-added-box" inert>
1267
+ {#if table}
1268
+ <ObjectField
1269
+ bare
1270
+ value={(after ?? {}) as Record<string, unknown>}
1271
+ properties={items?.properties}
1272
+ label={rowName(k)}
1273
+ contentAt={(path) => asContent(valueIn(after, path))}
1274
+ onCommit={() => {}}
1275
+ />
1276
+ {:else if control === 'object'}
1277
+ <div class="qm-element-head">
1278
+ <span class="qm-row-handle" aria-hidden="true"></span>
1279
+ <span class="qm-control-box qm-element-summary">
1280
+ <Icon name="chevron-right" class="qm-el-chevron" size={CHEVRON} />
1281
+ <span class="qm-element-title">{t.strings.elementItem(k + 1)}</span>
1282
+ {#if firstShortText(items?.properties, (after ?? {}) as Record<string, unknown>)}
1283
+ <span class="qm-element-preview"
1284
+ >{firstShortText(items?.properties, (after ?? {}) as Record<string, unknown>)}</span
1285
+ >
1286
+ {/if}
1287
+ </span>
1288
+ </div>
1289
+ {:else if control === 'prose'}
1290
+ <ProseValue
1291
+ content={() => asContent(after)}
1292
+ value={after}
1293
+ plaintext={items != null && literalText(items)}
1294
+ label={rowName(k)}
1295
+ onChange={() => {}}
1296
+ />
1297
+ {:else if control === 'number'}
1298
+ <NumberField
1299
+ value={after as number | undefined}
1300
+ integer={items != null && baseType(items) === 'integer'}
1301
+ label={rowName(k)}
1302
+ onCommit={() => {}}
1303
+ />
1304
+ {:else if control === 'enum'}
1305
+ <EnumField
1306
+ value={(after as string | undefined) || undefined}
1307
+ values={items?.values ?? []}
1308
+ blankTitle={items?.ui?.blank_title}
1309
+ label={rowName(k)}
1310
+ onCommit={() => {}}
1311
+ />
1312
+ {:else if control === 'boolean'}
1313
+ <BooleanField value={renderedBoolean(after)} label={rowName(k)} onCommit={() => {}} />
1314
+ {:else if control === 'date'}
1315
+ <DateField
1316
+ value={(after as string | undefined) || undefined}
1317
+ datetime={items != null && baseType(items) === 'datetime'}
1318
+ label={rowName(k)}
1319
+ onCommit={() => {}}
1320
+ />
1321
+ {:else}
1322
+ <TextField value={String(after ?? '')} label={rowName(k)} onCommit={() => {}} />
1323
+ {/if}
1324
+ </div>
1325
+ </div>
1326
+ {/snippet}
1327
+
1138
1328
  <!-- The remove, one button wherever a row ends: a scalar row's slab, a record row's
1139
1329
  slab after its reorder pair, a table row's last track. Out of the tab order where the
1140
1330
  row has a key that removes it: Backspace on an emptied line, ⌘/Ctrl+Backspace on a
@@ -1144,7 +1334,7 @@
1144
1334
  <button
1145
1335
  type="button"
1146
1336
  class="qm-icon-btn qm-row-btn qm-remove qm-focus-ring"
1147
- title={t.strings.arrayRemove}
1337
+ data-qm-tip={t.strings.arrayRemove}
1148
1338
  aria-label={rowAction(t.strings.arrayRemove, k)}
1149
1339
  aria-keyshortcuts={control === 'object' && !table ? undefined : 'Alt+ArrowUp Alt+ArrowDown'}
1150
1340
  tabindex={stop ? undefined : -1}
@@ -1152,16 +1342,17 @@
1152
1342
  >
1153
1343
  {/snippet}
1154
1344
 
1155
- <!-- An `object` row's drag handle, a table grip's twin hung off the row's start edge.
1156
- Pointer-only and out of the accessibility tree: a press on it does nothing, so a
1157
- button there would be one a screen reader activates to no effect. Its twin is
1158
- Alt+↑/↓ from anywhere in the row, which the summary announces, as a table's or a
1159
- line's remove does for its own row. -->
1345
+ <!-- An element's drag handle, a table grip's twin hung off the row's start edge, or in a
1346
+ table's row its first track. Pointer-only and out of the accessibility tree: a press
1347
+ on it does nothing, so a button there would be one a screen reader activates to no
1348
+ effect. Its twin is Alt+↑/↓ from anywhere in the row, which a record's summary
1349
+ announces, as a table's or a line's remove does for its own row. -->
1160
1350
  {#snippet handle(k: number)}
1161
1351
  <span
1162
1352
  class="qm-row-handle"
1163
1353
  aria-hidden="true"
1164
- title={t.strings.arrayDrag}
1354
+ data-qm-tip={t.strings.arrayDrag}
1355
+ data-qm-tip-keys={keycap('Alt-↑/↓')}
1165
1356
  onpointerdown={(e) => drag.down(e, k)}
1166
1357
  onpointermove={drag.move}
1167
1358
  onpointerup={drag.up}
@@ -1318,11 +1509,12 @@
1318
1509
  }
1319
1510
  /* The handle is a table grip's twin (prose.css §"One grip per line"): a pill carrying
1320
1511
  the grip's marks, hung off the row's start edge in the `--_qm-nest` every row stands
1321
- in from the stroke outside it, which a group's panel clips at. It rests
1512
+ in from the stroke outside it, which a group's panel clips at. The pill rests
1322
1513
  at nothing, where the remove rests faint, and comes up with the row the pointer is
1323
1514
  on, staying up through the drag it carries; a band flush with the row keeps the
1324
1515
  pointer on the row all the way to it. The pointer owns the gesture, not the page's
1325
- scroll. */
1516
+ scroll. A record's pill centres on its summary; a line's and a table row's stand on
1517
+ the first line, which a wrapping cell grows away from. */
1326
1518
  .qm-row-handle {
1327
1519
  position: absolute;
1328
1520
  inset-block: 0;
@@ -1334,8 +1526,6 @@
1334
1526
  color: var(--_qm-ink-label);
1335
1527
  cursor: grab;
1336
1528
  touch-action: none;
1337
- opacity: 0;
1338
- transition: opacity var(--_qm-duration-fast) var(--_qm-ease-reverse);
1339
1529
  }
1340
1530
  .qm-row-handle-bar {
1341
1531
  display: flex;
@@ -1345,25 +1535,37 @@
1345
1535
  height: var(--_qm-tap-min);
1346
1536
  border-radius: var(--_qm-radius-pill);
1347
1537
  background: var(--_qm-surface-band);
1538
+ opacity: 0;
1539
+ transition: opacity var(--_qm-duration-fast) var(--_qm-ease-reverse);
1540
+ }
1541
+ .qm-array-row > .qm-row-handle {
1542
+ align-items: start;
1543
+ }
1544
+ .qm-array-row > .qm-row-handle > .qm-row-handle-bar {
1545
+ margin-block-start: calc((var(--_qm-box-line) - var(--_qm-tap-min)) / 2);
1348
1546
  }
1349
1547
  .qm-row-handle-bar :global(svg) {
1350
1548
  width: var(--_qm-space-3);
1351
1549
  height: var(--_qm-space-3);
1352
1550
  }
1353
- .qm-array-row:hover > .qm-element-head > .qm-row-handle,
1354
- .qm-element.lifted > .qm-element-head > .qm-row-handle {
1551
+ .qm-array-row:hover > .qm-row-handle > .qm-row-handle-bar,
1552
+ .qm-array-row:hover > .qm-element-head > .qm-row-handle > .qm-row-handle-bar,
1553
+ .qm-array-row.lifted > .qm-row-handle > .qm-row-handle-bar,
1554
+ .qm-element.lifted > .qm-element-head > .qm-row-handle > .qm-row-handle-bar {
1355
1555
  opacity: 1;
1356
1556
  }
1557
+ .qm-array-row.lifted > .qm-row-handle,
1357
1558
  .qm-element.lifted > .qm-element-head > .qm-row-handle {
1358
1559
  cursor: grabbing;
1359
1560
  }
1360
1561
  /* The lifted row is a tone, and the drop is one rule on the edge it would land
1361
1562
  against, drawn out of flow so nothing reflows under the drag: the table island's
1362
1563
  own pair. */
1363
- .qm-element.lifted > .qm-element-head > .qm-element-summary {
1564
+ .qm-element.lifted > .qm-element-head > .qm-element-summary,
1565
+ .qm-array-row.lifted:not(.qm-element) > :global(:not(.qm-row-handle, .qm-remove)) {
1364
1566
  opacity: var(--_qm-opacity-muted);
1365
1567
  }
1366
- .qm-element[data-drop]::before {
1568
+ .qm-array-row[data-drop]::before {
1367
1569
  content: '';
1368
1570
  position: absolute;
1369
1571
  inset-inline: 0;
@@ -1372,10 +1574,10 @@
1372
1574
  border-radius: var(--_qm-radius-pill);
1373
1575
  pointer-events: none;
1374
1576
  }
1375
- .qm-element[data-drop='before']::before {
1577
+ .qm-array-row[data-drop='before']::before {
1376
1578
  top: calc(-0.5 * (var(--_qm-space) + var(--_qm-ring-width)));
1377
1579
  }
1378
- .qm-element[data-drop='after']::before {
1580
+ .qm-array-row[data-drop='after']::before {
1379
1581
  bottom: calc(-0.5 * (var(--_qm-space) + var(--_qm-ring-width)));
1380
1582
  }
1381
1583
  /* ── An object element ──────────────────────────────────────────────────────
@@ -1463,6 +1665,13 @@
1463
1665
  }
1464
1666
  /* What the closed record holds, after its name and a rung under it: the label ink,
1465
1667
  on the line's remainder, and the first to give way where the line runs short. */
1668
+ .qm-review-tag {
1669
+ flex: none;
1670
+ margin-inline-start: auto;
1671
+ font-size: var(--_qm-text-label);
1672
+ font-weight: var(--_qm-weight-mid);
1673
+ color: var(--_qm-ink-label);
1674
+ }
1466
1675
  .qm-element-preview {
1467
1676
  flex: 1 1 0;
1468
1677
  min-width: 0;
@@ -1483,45 +1692,59 @@
1483
1692
  over boxes are the figure a row of compact fields draws. A corner reads square at a
1484
1693
  stroke, so the wash takes none here.
1485
1694
 
1486
- The grid is a box inside the stroke, and the one that scrolls: the stroke and the
1487
- inset hold still while the columns move, and the clip is the inset's edge rather than
1488
- the stroke's. One grid over the header and every row: a column per property, then a
1489
- track for the row's remove. The header and each row subgrid onto it, so a
1490
- cell's edge is its column's whatever the row above it holds. The row packs at the
1491
- start rather than sharing the field's leftover width between the columns: a table
1492
- carries its own rhythm, and stretching four short cells across a field sets them
1493
- apart by the width the card happens to have.
1695
+ The grid is a box inside the stroke, and the one that scrolls: the stroke holds still
1696
+ while the columns move, and the clip is the grid's edge rather than the stroke's.
1697
+ The stroke is drawn over the grid, whose pad reaches back across it, so the plane
1698
+ the pinned handle stands on never paints it out. One
1699
+ grid over the header and every row: a track for the row's handle, a column per
1700
+ property, then a track for the row's remove. The header and each row subgrid onto
1701
+ it, so a cell's edge is its column's whatever the row above it holds. The handle's
1702
+ track is the nest the stroke keeps from the cells less the gutter after it, so the
1703
+ cells stand a nest in from the stroke as an open row's do.
1494
1704
 
1495
- A track rests at what its cells cannot shrink below and grows no further than its
1496
- widest, so a field too narrow for them all overflows the grid's box and scrolls
1497
- sideways. A fixed floor as the track's base would instead hand each column a share of
1498
- the width and leave a control that does not shrink — a date's segments — painting
1499
- over the column beside it; the floor rides the header cell, which every column has.
1705
+ A column's track is the component's (`tracks`): a cell that fills its width shares
1706
+ what the field has spare with every other such column, so a table of text fills the
1707
+ field as one text field does, while a control of one width rests at its content and
1708
+ a short cell never stands a field's width from its neighbour. Every track's base is
1709
+ what its cells cannot shrink below, so a field too narrow for them all overflows the
1710
+ grid's box and scrolls sideways. A fixed floor as the track's base would instead hand
1711
+ each column a share of the width and leave a control that does not shrink — a date's
1712
+ segments — painting over the column beside it; the floor rides the header cell, which
1713
+ every column has.
1500
1714
 
1501
1715
  The pad is the clip box's, the ring on a cell at that box's own edge reaching past
1502
- its content; the margin takes the same distance back, so the tracks stand a nest in
1503
- from the label row above them and the caps keep their rung. The box keeps the
1504
- remove's track clear of the scrolls it makes itself, so a cell scrolled into view
1505
- lands beside the pinned button rather than under it.
1716
+ its content; the margin takes the same distance back. The box keeps the pinned
1717
+ tracks clear of the scrolls it makes itself, so a cell scrolled into view lands
1718
+ beside a pinned button rather than under it. The box is a container, so a header
1719
+ cell can state its floor as a share of the width the columns have.
1506
1720
 
1507
1721
  The names are the array's own: `.qm-table` is the codec's island (`prose.css`), an
1508
1722
  unscoped stylesheet in this package, and a box wearing that name takes the island's
1509
1723
  hairline whatever this block says. */
1510
1724
  .qm-array-rows.qm-array-table {
1511
- border-inline-start: var(--_qm-vertical-width) solid var(--_qm-border);
1512
- padding-inline-start: var(--_qm-nest);
1725
+ padding-inline-start: var(--_qm-vertical-width);
1513
1726
  padding-block: var(--_qm-space);
1514
1727
  border-radius: 0;
1515
1728
  }
1729
+ .qm-array-rows.qm-array-table::before {
1730
+ content: '';
1731
+ position: absolute;
1732
+ inset-block: 0;
1733
+ inset-inline-start: 0;
1734
+ width: var(--_qm-vertical-width);
1735
+ background: var(--_qm-border);
1736
+ z-index: 2;
1737
+ }
1516
1738
  .qm-array-table-scroller {
1739
+ --_grip-track: calc(var(--_qm-nest) - var(--_qm-space));
1517
1740
  display: grid;
1518
- grid-template-columns:
1519
- repeat(var(--table-cols), minmax(min-content, max-content))
1520
- auto;
1741
+ grid-template-columns: var(--_grip-track) var(--table-tracks) auto;
1521
1742
  justify-content: start;
1522
1743
  gap: var(--_qm-space);
1523
1744
  overflow-x: auto;
1524
- scroll-padding-inline-end: calc(var(--_qm-tap-min) + var(--_qm-space));
1745
+ container-type: inline-size;
1746
+ scroll-padding-inline: calc(var(--_qm-nest) + var(--_qm-ring-reach))
1747
+ calc(var(--_qm-tap-min) + var(--_qm-space));
1525
1748
  padding: var(--_qm-ring-reach);
1526
1749
  margin: calc(-1 * var(--_qm-ring-reach));
1527
1750
  }
@@ -1545,7 +1768,11 @@
1545
1768
  sooner. Without it the column rests at its header's own width, its cells still
1546
1769
  clearing the mark, which no track can shrink below. It is the table's to state
1547
1770
  because the table is where a column is a width of its own; in a section's grid and
1548
- in a subform's, a boolean stands in a track its neighbours share. */
1771
+ in a subform's, a boolean stands in a track its neighbours share.
1772
+
1773
+ A prose column's floor is its share of the width the columns have, between the two
1774
+ floors: the wide one while the field holds every column at it, so a cell wraps no
1775
+ sooner than it must, then down to the narrow one before the table scrolls. */
1549
1776
  .qm-array-table-col {
1550
1777
  min-width: var(--_qm-track-min);
1551
1778
  }
@@ -1553,50 +1780,92 @@
1553
1780
  min-width: 0;
1554
1781
  }
1555
1782
  .qm-array-table-col.prose {
1556
- min-width: var(--_qm-track-prose);
1557
- }
1558
- /* The remove is the row's last track, pinned to the end edge of the box the table
1559
- scrolls in: sticky, so it rests in its track while the table fits and rides over
1560
- the cells once the box scrolls, on the card's plane so what passes under it is
1561
- hidden rather than overprinted, and stretched to the row so no cell shows above or
1562
- below it. Always drawn: a table's rows are many and the eye finds the control by
1563
- its column. The header's end cell pins with it, or the labels would scroll under
1564
- nothing while the cells scroll under a plane.
1783
+ min-width: clamp(
1784
+ var(--_qm-track-min),
1785
+ (100cqi - var(--_qm-nest) - var(--_qm-tap-min)) / var(--table-cols) - var(--_qm-space),
1786
+ var(--_qm-track-prose)
1787
+ );
1788
+ }
1789
+ /* The handle is the row's first track and the remove its last, each pinned to its
1790
+ edge of the box the table scrolls in: sticky, so it rests in its track while the
1791
+ table fits and rides over the cells once the box scrolls, on the card's plane so what
1792
+ passes under it is hidden rather than overprinted, and stretched to the row so no cell
1793
+ shows above or below it. The remove is always drawn: a table's rows are many and the
1794
+ eye finds the control by its column. The header's end cells pin with them, or the
1795
+ labels would scroll under nothing while the cells scroll under a plane.
1565
1796
 
1566
1797
  The inset is the content box's, so the ring's reach fits inside the clip; the plane
1567
1798
  spread over that same reach hides the sliver of cell the pad would show past the
1568
- button, and the ring paints over it.
1799
+ button, and the ring paints over it. The handle's pill reaches over the gutter after
1800
+ its track, where the plane stops short of the cell beside it.
1569
1801
 
1570
1802
  The slab's grammar goes with the slab: a button on the row's own plane takes the
1571
1803
  icon family's radius at all four corners, where one cut into a box takes that box's
1572
1804
  end-side pair and squares the rest. */
1573
1805
  .qm-array-table-row > .qm-remove,
1574
- .qm-array-table-head-end {
1806
+ .qm-array-table-head-end,
1807
+ .qm-array-table-row > .qm-row-handle,
1808
+ .qm-array-table-head-start {
1575
1809
  position: sticky;
1576
- inset-inline-end: 0;
1810
+ z-index: 1;
1577
1811
  background: var(--_qm-surface);
1578
1812
  box-shadow: 0 0 0 var(--_qm-ring-reach) var(--_qm-surface);
1579
1813
  }
1580
- /* While cells stand past the end edge, the slab fades them in over a step before it
1581
- rather than cutting them at its edge: the column the cut hides is still there. */
1814
+ .qm-array-table-row > .qm-remove,
1815
+ .qm-array-table-head-end {
1816
+ inset-inline-end: 0;
1817
+ }
1818
+ .qm-array-table-row > .qm-row-handle,
1819
+ .qm-array-table-head-start {
1820
+ inset-inline-start: 0;
1821
+ }
1822
+ .qm-array-table-row > .qm-row-handle {
1823
+ inset-block: auto;
1824
+ inset-inline-end: auto;
1825
+ width: auto;
1826
+ align-self: stretch;
1827
+ justify-content: start;
1828
+ }
1829
+ .qm-array-table-row > .qm-row-handle > .qm-row-handle-bar {
1830
+ flex: none;
1831
+ width: var(--_qm-nest);
1832
+ }
1833
+ /* While cells stand past an edge, the slab beside it fades them in over a step rather
1834
+ than cutting them at its edge: the column the cut hides is still there. */
1582
1835
  .qm-array-table-row > .qm-remove::before,
1583
- .qm-array-table-head-end::before {
1836
+ .qm-array-table-head-end::before,
1837
+ .qm-array-table-row > .qm-row-handle::before,
1838
+ .qm-array-table-head-start::before {
1584
1839
  content: '';
1585
1840
  position: absolute;
1586
1841
  inset-block: calc(-1 * var(--_qm-ring-reach));
1587
- inset-inline-end: calc(100% + var(--_qm-ring-reach));
1588
1842
  width: var(--_qm-space-3);
1589
- background: linear-gradient(to right, transparent, var(--_qm-surface));
1590
1843
  pointer-events: none;
1591
1844
  opacity: 0;
1592
1845
  transition: opacity var(--_qm-duration-fast) var(--_qm-ease-reverse);
1593
1846
  }
1847
+ .qm-array-table-row > .qm-remove::before,
1848
+ .qm-array-table-head-end::before {
1849
+ inset-inline-end: calc(100% + var(--_qm-ring-reach));
1850
+ background: linear-gradient(to right, transparent, var(--_qm-surface));
1851
+ }
1852
+ .qm-array-table-row > .qm-row-handle::before,
1853
+ .qm-array-table-head-start::before {
1854
+ inset-inline-start: calc(100% + var(--_qm-ring-reach));
1855
+ background: linear-gradient(to left, transparent, var(--_qm-surface));
1856
+ }
1594
1857
  .qm-array-table-row > .qm-remove:dir(rtl)::before,
1595
1858
  .qm-array-table-head-end:dir(rtl)::before {
1596
1859
  background: linear-gradient(to left, transparent, var(--_qm-surface));
1597
1860
  }
1861
+ .qm-array-table-row > .qm-row-handle:dir(rtl)::before,
1862
+ .qm-array-table-head-start:dir(rtl)::before {
1863
+ background: linear-gradient(to right, transparent, var(--_qm-surface));
1864
+ }
1598
1865
  .qm-array-table-scroller[data-overflow] > .qm-array-table-row > .qm-remove::before,
1599
- .qm-array-table-scroller[data-overflow] .qm-array-table-head-end::before {
1866
+ .qm-array-table-scroller[data-overflow] .qm-array-table-head-end::before,
1867
+ .qm-array-table-scroller[data-scrolled] > .qm-array-table-row > .qm-row-handle::before,
1868
+ .qm-array-table-scroller[data-scrolled] .qm-array-table-head-start::before {
1600
1869
  opacity: 1;
1601
1870
  }
1602
1871
  /* The glyph stands on the row's first line with the cells, however far the slab
@@ -1609,17 +1878,26 @@
1609
1878
  border-radius: var(--_qm-radius-inner);
1610
1879
  color: var(--_qm-ink-label);
1611
1880
  }
1612
- /* The pad past the slab, flat: the plane's spread above rounds with the slab's
1881
+ /* The pad past each slab, flat: the plane's spread above rounds with the slab's
1613
1882
  corners, and a cell scrolled under them shows through at the clip. */
1614
1883
  .qm-array-table-row > .qm-remove::after,
1615
- .qm-array-table-head-end::after {
1884
+ .qm-array-table-head-end::after,
1885
+ .qm-array-table-row > .qm-row-handle::after,
1886
+ .qm-array-table-head-start::after {
1616
1887
  content: '';
1617
1888
  position: absolute;
1618
1889
  inset-block: calc(-1 * var(--_qm-ring-reach));
1619
- inset-inline-start: 100%;
1620
1890
  width: var(--_qm-ring-reach);
1621
1891
  background: var(--_qm-surface);
1622
1892
  }
1893
+ .qm-array-table-row > .qm-remove::after,
1894
+ .qm-array-table-head-end::after {
1895
+ inset-inline-start: 100%;
1896
+ }
1897
+ .qm-array-table-row > .qm-row-handle::after,
1898
+ .qm-array-table-head-start::after {
1899
+ inset-inline-end: 100%;
1900
+ }
1623
1901
  /* The label line's own type: size, weight and leading are `.qm-field-label`'s, so
1624
1902
  the two read as one register. Inner radius: the chip family is the card's, and this
1625
1903
  box is a line of type. The chip's tap floor is given back (`.qm-tap-floor`),
@@ -1643,7 +1921,7 @@
1643
1921
  }
1644
1922
  /* No hover to come up on: the handle stands with the controls, already at rest. */
1645
1923
  @media (hover: none) {
1646
- .qm-row-handle {
1924
+ .qm-row-handle-bar {
1647
1925
  opacity: 1;
1648
1926
  }
1649
1927
  }