@seanyeh77/ui 0.43.0 → 0.44.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 (149) hide show
  1. package/dist/bundle.js +19 -19
  2. package/dist/bundle.js.map +1 -1
  3. package/dist/components/Alert/Alert.d.ts +1 -1
  4. package/dist/components/Alert/Alert.js +2 -1
  5. package/dist/components/Alert/Alert.js.map +1 -1
  6. package/dist/components/DangerZone/DangerZone.d.ts +1 -1
  7. package/dist/components/DangerZone/DangerZone.js +2 -1
  8. package/dist/components/DangerZone/DangerZone.js.map +1 -1
  9. package/dist/components/DataTable/DataTable.d.ts +8 -3
  10. package/dist/components/DataTable/DataTable.js +159 -65
  11. package/dist/components/DataTable/DataTable.js.map +1 -1
  12. package/dist/components/DataTable/parts.js +4 -4
  13. package/dist/components/DataTable/parts.js.map +1 -1
  14. package/dist/components/DatePicker/DatePicker.d.ts +2 -2
  15. package/dist/components/DatePicker/DatePicker.js.map +1 -1
  16. package/dist/components/Dialog/Dialog.d.ts +1 -1
  17. package/dist/components/Dialog/Dialog.js +2 -1
  18. package/dist/components/Dialog/Dialog.js.map +1 -1
  19. package/dist/components/Drawer/Drawer.d.ts +1 -0
  20. package/dist/components/Drawer/Drawer.js +2 -1
  21. package/dist/components/Drawer/Drawer.js.map +1 -1
  22. package/dist/components/EmptyState/EmptyState.d.ts +2 -2
  23. package/dist/components/EmptyState/EmptyState.js +3 -2
  24. package/dist/components/EmptyState/EmptyState.js.map +1 -1
  25. package/dist/components/ErrorPage/ErrorPage.d.ts +1 -0
  26. package/dist/components/ErrorPage/ErrorPage.js +2 -1
  27. package/dist/components/ErrorPage/ErrorPage.js.map +1 -1
  28. package/dist/components/EventTimeline/EventTimeline.d.ts +1 -1
  29. package/dist/components/EventTimeline/EventTimeline.js +2 -1
  30. package/dist/components/EventTimeline/EventTimeline.js.map +1 -1
  31. package/dist/components/FileUpload/FileUpload.d.ts +1 -1
  32. package/dist/components/FileUpload/FileUpload.js +2 -1
  33. package/dist/components/FileUpload/FileUpload.js.map +1 -1
  34. package/dist/components/InlineCode/InlineCode.js +10 -6
  35. package/dist/components/InlineCode/InlineCode.js.map +1 -1
  36. package/dist/components/KpiCard/KpiCard.d.ts +2 -2
  37. package/dist/components/KpiCard/KpiCard.js +5 -4
  38. package/dist/components/KpiCard/KpiCard.js.map +1 -1
  39. package/dist/components/LayerGraph/LayerGraph.js +31 -17
  40. package/dist/components/LayerGraph/LayerGraph.js.map +1 -1
  41. package/dist/components/LineChart/LineChart.js +1 -1
  42. package/dist/components/LineChart/LineChart.js.map +1 -1
  43. package/dist/components/LoginCard/LoginCard.d.ts +1 -1
  44. package/dist/components/LoginCard/LoginCard.js.map +1 -1
  45. package/dist/components/Markdown/Markdown.js +23 -5
  46. package/dist/components/Markdown/Markdown.js.map +1 -1
  47. package/dist/components/MultiSelect/MultiSelect.d.ts +1 -1
  48. package/dist/components/MultiSelect/MultiSelect.js.map +1 -1
  49. package/dist/components/NotificationBell/NotificationBell.d.ts +1 -0
  50. package/dist/components/NotificationBell/NotificationBell.js +2 -1
  51. package/dist/components/NotificationBell/NotificationBell.js.map +1 -1
  52. package/dist/components/Section/Section.js +1 -1
  53. package/dist/components/Section/Section.js.map +1 -1
  54. package/dist/components/SegmentedControl/SegmentedControl.js +4 -4
  55. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -1
  56. package/dist/components/Select/Select.d.ts +1 -1
  57. package/dist/components/Select/Select.js.map +1 -1
  58. package/dist/components/SettingsLayout/SettingsLayout.d.ts +1 -1
  59. package/dist/components/SettingsLayout/SettingsLayout.js +2 -1
  60. package/dist/components/SettingsLayout/SettingsLayout.js.map +1 -1
  61. package/dist/components/SplitPane/SplitPane.js +6 -6
  62. package/dist/components/SplitPane/SplitPane.js.map +1 -1
  63. package/dist/components/Tabs/Tabs.d.ts +4 -1
  64. package/dist/components/Tabs/Tabs.js +10 -7
  65. package/dist/components/Tabs/Tabs.js.map +1 -1
  66. package/dist/components/TextArea/TextArea.d.ts +2 -1
  67. package/dist/components/TextArea/TextArea.js +3 -2
  68. package/dist/components/TextArea/TextArea.js.map +1 -1
  69. package/dist/components/TextField/TextField.d.ts +2 -2
  70. package/dist/components/TextField/TextField.js.map +1 -1
  71. package/dist/components/Toast/Toast.d.ts +1 -1
  72. package/dist/components/Toast/Toast.js +2 -1
  73. package/dist/components/Toast/Toast.js.map +1 -1
  74. package/dist/components/Tour/Tour.js +3 -3
  75. package/dist/components/Tour/Tour.js.map +1 -1
  76. package/dist/components/Workbench/Workbench.js +7 -7
  77. package/dist/components/Workbench/Workbench.js.map +1 -1
  78. package/dist/css/Alert.css +1 -0
  79. package/dist/css/Button.css +1 -0
  80. package/dist/css/Checkbox.css +1 -0
  81. package/dist/css/CodeView.css +1 -1
  82. package/dist/css/DangerZone.css +1 -0
  83. package/dist/css/DataTable.css +177 -38
  84. package/dist/css/DatePicker.css +1 -0
  85. package/dist/css/DateRangePicker.css +1 -0
  86. package/dist/css/Drawer.css +1 -0
  87. package/dist/css/EmptyState.css +1 -0
  88. package/dist/css/ErrorPage.css +1 -0
  89. package/dist/css/EventTimeline.css +1 -0
  90. package/dist/css/FileUpload.css +1 -0
  91. package/dist/css/KpiCard.css +1 -0
  92. package/dist/css/LoginCard.css +1 -0
  93. package/dist/css/Markdown.css +29 -1
  94. package/dist/css/MultiSelect.css +1 -0
  95. package/dist/css/NotificationBell.css +1 -0
  96. package/dist/css/ProjectSwitcher.css +6 -1
  97. package/dist/css/Select.css +1 -0
  98. package/dist/css/SettingsLayout.css +1 -0
  99. package/dist/css/Suggestion.css +1 -1
  100. package/dist/css/Tabs.css +6 -6
  101. package/dist/css/Term.css +1 -1
  102. package/dist/css/TextArea.css +1 -0
  103. package/dist/css/TextField.css +1 -0
  104. package/dist/css/Toast.css +1 -0
  105. package/dist/css/Tour.css +1 -1
  106. package/dist/css/TreeList.css +1 -0
  107. package/dist/css/Workbench.css +12 -0
  108. package/dist/format.js +3 -1
  109. package/dist/format.js.map +1 -1
  110. package/dist/index.js +2 -2
  111. package/dist/internal/Field.js +3 -2
  112. package/dist/internal/Field.js.map +1 -1
  113. package/dist/internal/codeSpans.js +20 -0
  114. package/dist/internal/codeSpans.js.map +1 -0
  115. package/dist/internal/scrollHint.js +5 -5
  116. package/dist/internal/scrollHint.js.map +1 -1
  117. package/dist/internal/tableTools.js +1 -1
  118. package/dist/internal/tableTools.js.map +1 -1
  119. package/dist/internal/util.js +5 -1
  120. package/dist/internal/util.js.map +1 -1
  121. package/dist/styles.css +316 -133
  122. package/docs/Alert.md +1 -0
  123. package/docs/Card.md +3 -3
  124. package/docs/DangerZone.md +1 -0
  125. package/docs/DataTable.md +29 -19
  126. package/docs/DatePicker.md +1 -0
  127. package/docs/Dialog.md +1 -0
  128. package/docs/Drawer.md +1 -0
  129. package/docs/EmptyState.md +1 -0
  130. package/docs/ErrorPage.md +1 -0
  131. package/docs/EventTimeline.md +1 -0
  132. package/docs/FileUpload.md +1 -0
  133. package/docs/Format.md +1 -1
  134. package/docs/KpiCard.md +1 -0
  135. package/docs/LoginCard.md +1 -0
  136. package/docs/Markdown.md +3 -0
  137. package/docs/MultiSelect.md +1 -0
  138. package/docs/NotificationBell.md +1 -0
  139. package/docs/Select.md +1 -0
  140. package/docs/SettingsLayout.md +1 -0
  141. package/docs/Tabs.md +2 -2
  142. package/docs/Term.md +1 -0
  143. package/docs/TextArea.md +1 -0
  144. package/docs/TextField.md +1 -0
  145. package/docs/Toast.md +1 -0
  146. package/docs/data.md +4 -3
  147. package/docs/guidelines.md +4 -4
  148. package/docs/layout.md +1 -1
  149. package/package.json +4 -2
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Button.css';
4
5
  @layer ui.components {
5
6
  .ui-alert {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @layer ui.components {
4
5
  .ui-btn {
5
6
  display: inline-flex;
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @layer ui.components {
4
5
  .ui-check-box {
5
6
  flex: 0 0 22px;
@@ -1,8 +1,8 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './IconButton.css';
4
5
  @import './Popover.css';
5
- @import './InlineCode.css';
6
6
  @import './Term.css';
7
7
  @layer ui.components {
8
8
  /* CodeView: the keys that move inside the code, shown while it has focus. */
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Button.css';
4
5
  @layer ui.components {
5
6
  .ui-danger {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Button.css';
4
5
  @import './Dialog.css';
5
6
  @import './Tabs.css';
@@ -190,15 +191,21 @@
190
191
  .ui-dt-tools {
191
192
  flex-wrap: wrap;
192
193
  }
193
- .ui-dt-tools > .ui-dt-search,
194
+ /* The search field takes the room the buttons leave; when both do not fit, the buttons go to the next row,
195
+ right-aligned, and the field fills its row. */
196
+ .ui-dt-tools > .ui-dt-search {
197
+ flex: 1 1 240px;
198
+ min-width: 200px;
199
+ }
194
200
  .ui-dt-tools > .ui-dt-search + .ui-dt-actions {
195
- flex: 1 1 100%;
196
- min-width: 0;
201
+ flex: none;
202
+ max-width: 100%;
203
+ margin-left: auto;
197
204
  }
198
205
  }
199
- /* Under 480 px: 「排序」 and the number of levels instead of the whole sort. With copy, columns and zoom as well (not
200
- on phones, which hide them), 「篩選」「排序」「欄位」 keep only their icons and counts; the words stay in the
201
- accessible names. The buttons wrap only when even that does not fit. */
206
+ /* Under 480 px: the search field and the buttons back on one row, the field taking the room left. 「排序」 and the
207
+ number of levels instead of the whole sort; 「篩選」「排序」 keep only their icons and counts, the words stay in the
208
+ accessible names. */
202
209
  @container ui-dt (max-width: 479px) {
203
210
  .ui-dt-sortbtn-text {
204
211
  display: none;
@@ -209,7 +216,23 @@
209
216
  .ui-dt-actions > .ui-dt-sortbtn {
210
217
  min-width: 0;
211
218
  }
212
- .ui-dt-actions:has(> .ui-dt-menubtn) .ui-dt-btntext {
219
+ /* One row: the search field takes the room left, the buttons keep to their icons. */
220
+ .ui-dt-tools {
221
+ flex-wrap: nowrap;
222
+ }
223
+ .ui-dt-tools > .ui-dt-search {
224
+ flex: 1 1 0;
225
+ min-width: 100px;
226
+ }
227
+ /* The summary tabs keep a row of their own above. */
228
+ .ui-dt-tools.has-summary {
229
+ flex-wrap: wrap;
230
+ }
231
+ .ui-dt-tools > .ui-dt-search + .ui-dt-actions {
232
+ flex: none;
233
+ flex-wrap: nowrap;
234
+ }
235
+ .ui-dt-actions .ui-dt-btntext {
213
236
  position: absolute;
214
237
  width: 1px;
215
238
  height: 1px;
@@ -217,18 +240,56 @@
217
240
  clip: rect(0 0 0 0);
218
241
  white-space: nowrap;
219
242
  }
220
- .ui-dt-actions:has(> .ui-dt-menubtn) :is(.ui-dt-filterbtn, .ui-dt-sortbtn) {
243
+ .ui-dt-actions :is(.ui-dt-filterbtn, .ui-dt-sortbtn) {
221
244
  padding-inline: 10px;
222
245
  }
223
246
  .ui-dt-actions {
224
247
  flex-wrap: wrap;
225
248
  }
226
249
  }
227
- /* Phones, also for tools that moved into a Card title row (outside the table, so not reached by the container). */
250
+ /* With summary tabs: the tabs first. A row of their own (scrolling sideways when they are wider) unless the tabs, the
251
+ search field at 240 px and the buttons all fit on one row (DataTable measures it: is-onerow). Every part is 40 px. */
252
+ .ui-dt-tools.has-summary {
253
+ flex-wrap: wrap;
254
+ row-gap: var(--space-3);
255
+ }
256
+ .ui-dt-sumwrap {
257
+ flex: 1 1 100%;
258
+ min-width: 0;
259
+ display: flex;
260
+ }
261
+ .ui-dt-tools.is-onerow {
262
+ flex-wrap: nowrap;
263
+ }
264
+ .ui-dt-tools.is-onerow > .ui-dt-sumwrap {
265
+ /* Measured to fit: the tabs keep their width, the search field gives way down to 240 px. */
266
+ flex: none;
267
+ margin-right: var(--space-2);
268
+ }
269
+ .ui-dt-tools.is-onerow > .ui-dt-search {
270
+ flex: 1 1 320px;
271
+ min-width: 240px;
272
+ max-width: 400px;
273
+ margin-left: auto;
274
+ }
275
+ .ui-dt-tools.is-onerow > .ui-dt-actions {
276
+ flex: none;
277
+ }
278
+ .ui-dt-summary .ui-tab {
279
+ min-width: 0;
280
+ height: 32px;
281
+ padding: 0 var(--space-3);
282
+ }
283
+ /* Phones, also for tools that moved into a Card title row (outside the table, so not reached by the container). The
284
+ buttons are as tall as the 48 px search field beside them. */
228
285
  @media (max-width: 599px) {
229
286
  .ui-dt-sortbtn-text {
230
287
  display: none;
231
288
  }
289
+ .ui-dt-tools:has(> .ui-dt-search) > .ui-dt-actions > :is(.ui-dt-filterbtn, .ui-dt-sortbtn),
290
+ .ui-dt-tools:has(> .ui-dt-search) > .ui-dt-actions > .ui-dt-primary > * {
291
+ height: var(--touch-target);
292
+ }
232
293
  .ui-dt-sortbtn-short {
233
294
  display: inline-flex;
234
295
  }
@@ -274,14 +335,16 @@
274
335
  min-width: min-content;
275
336
  }
276
337
  .ui-dt-row {
338
+ /* The row's ground in one variable, so the row actions drawn over its end (.ui-dt-acts) take the same color. */
339
+ --dt-row-bg: var(--surface);
277
340
  display: grid;
278
341
  align-items: center;
279
342
  min-height: 48px;
280
343
  border-bottom: 1px solid var(--line);
281
- background: var(--surface);
344
+ background: var(--dt-row-bg);
282
345
  }
283
346
  .ui-dt-body .ui-dt-row.is-even {
284
- background: var(--dt-zebra);
347
+ --dt-row-bg: var(--dt-zebra);
285
348
  }
286
349
  .ui-dt-body {
287
350
  position: relative;
@@ -290,7 +353,7 @@
290
353
  transition: background-color 0.12s ease;
291
354
  }
292
355
  .ui-dt-body .ui-dt-row:hover {
293
- background: var(--dt-hover);
356
+ --dt-row-bg: var(--dt-hover);
294
357
  }
295
358
  /* EC: rows with details or a page (rowHref) are clickable as a whole; the hover above already shows it. */
296
359
  .ui-dt-body .ui-dt-row:is(.has-exp, .has-href) {
@@ -307,7 +370,7 @@
307
370
  .ui-dt-body .ui-dt-row.is-selected,
308
371
  .ui-dt-body .ui-dt-row.is-selected:hover {
309
372
  --dt-mark: inset 3px 0 0 var(--accent);
310
- background: var(--accent-soft);
373
+ --dt-row-bg: var(--accent-soft);
311
374
  }
312
375
  .ui-dt-body .ui-dt-row > .ui-dt-cell:first-child {
313
376
  box-shadow: var(--dt-mark);
@@ -386,9 +449,14 @@
386
449
  border-right: 1px solid var(--line);
387
450
  overflow: hidden;
388
451
  }
389
- .ui-dt-cell:last-child {
452
+ .ui-dt-cell:last-child,
453
+ .ui-dt-cell.is-lastcol {
390
454
  border-right: 0;
391
455
  }
456
+ /* An empty cell's 「—」: muted, so it does not read as content. */
457
+ .ui-dt-none {
458
+ color: var(--ink-muted);
459
+ }
392
460
  .ui-dt-cell.is-num {
393
461
  justify-content: flex-end;
394
462
  text-align: right;
@@ -473,36 +541,73 @@
473
541
  padding: 0;
474
542
  cursor: pointer;
475
543
  }
476
- .ui-dt-sel > *,
477
- .ui-dt-acts > * {
478
- transition: opacity 0.12s ease;
544
+ /* The checkbox column: 40 px, no border of its own (it belongs to the row, like the caret). The header's checkbox is
545
+ always shown, so the column reads as a column of checkboxes; a row's shows when the row is hovered or has keyboard
546
+ focus, and on every row once one is selected. */
547
+ .ui-dt-cell.ui-dt-sel,
548
+ .ui-dt-cell.ui-dt-exp {
549
+ padding: 0;
550
+ justify-content: center;
551
+ border-right: 0;
479
552
  }
480
- .ui-dt-sel > * {
553
+ .ui-dt-body .ui-dt-sel > * {
481
554
  opacity: 0;
555
+ transition: opacity 0.12s ease;
482
556
  }
483
557
  .ui-dt-row:hover .ui-dt-sel > *,
484
558
  .ui-dt-row:focus-within .ui-dt-sel > *,
485
559
  .ui-dt.has-sel .ui-dt-sel > * {
486
560
  opacity: 1;
487
561
  }
488
- .ui-dt-acts {
562
+ /* Row actions take no column: they are drawn over the row's right end while the row is hovered or has keyboard focus,
563
+ on the row's own ground (zebra, hover, selected) with a short fade, so the text under them is covered cleanly. */
564
+ .ui-dt-row.has-acts {
565
+ position: relative;
566
+ }
567
+ .ui-dt-body .ui-dt-cell.ui-dt-acts {
568
+ position: absolute;
569
+ top: 0;
570
+ right: 0;
571
+ bottom: 0;
489
572
  justify-content: flex-end;
490
573
  gap: 2px;
491
- padding: 0 8px;
492
- }
493
- .ui-dt-acts > * {
574
+ padding: 0 var(--space-2) 0 var(--space-6);
575
+ border-right: 0;
576
+ background: linear-gradient(to right, transparent, var(--dt-row-bg) var(--space-6));
494
577
  opacity: 0;
578
+ transition: opacity 0.12s ease;
495
579
  }
496
- .ui-dt-row:hover .ui-dt-acts > *,
497
- .ui-dt-row:focus-within .ui-dt-acts > * {
580
+ .ui-dt-row:hover > .ui-dt-acts,
581
+ .ui-dt-row:focus-within > .ui-dt-acts {
498
582
  opacity: 1;
499
583
  }
584
+ /* IconButtons in a row are quiet whatever their variant: 32 px, no border, ink-muted until hovered. */
585
+ .ui-dt-acts .ui-iconbtn {
586
+ width: 32px;
587
+ height: 32px;
588
+ border: 0;
589
+ border-radius: var(--radius-sm);
590
+ color: var(--ink-muted);
591
+ }
592
+ .ui-dt-acts .ui-iconbtn:hover {
593
+ color: var(--ink);
594
+ background: color-mix(in srgb, var(--dt-row-bg), var(--ink) 8%);
595
+ }
596
+ /* Touch screens have no hover: the actions always show, and every row keeps their width free at its end. */
500
597
  @media (hover: none) {
501
598
  .ui-dt-sel > *,
502
- .ui-dt-acts > *,
599
+ .ui-dt-body .ui-dt-sel > *,
503
600
  .ui-dt-arrow {
504
601
  opacity: 1;
505
602
  }
603
+ .ui-dt-body .ui-dt-cell.ui-dt-acts {
604
+ opacity: 1;
605
+ }
606
+ }
607
+ /* The last cell keeps the row actions' width (--dt-acts-w, measured) free at its end, in the header, the rows and the
608
+ totals alike: the actions never cover a date or a number, and no empty column is drawn for them. */
609
+ .ui-dt.has-acts .ui-dt-row > .ui-dt-cell.is-lastcol {
610
+ padding-right: calc(12px + var(--dt-acts-w, 72px));
506
611
  }
507
612
  .ui-dt-bulk {
508
613
  display: flex;
@@ -577,9 +682,22 @@
577
682
  cursor: default;
578
683
  }
579
684
 
685
+ /* The summary tabs and the page's primary action (action) on one row, the action at its right end. */
686
+ .ui-dt-top {
687
+ display: flex;
688
+ align-items: center;
689
+ gap: var(--space-3);
690
+ min-width: 0;
691
+ }
692
+ .ui-dt-primary {
693
+ flex: none;
694
+ margin-left: auto;
695
+ display: flex;
696
+ align-items: center;
697
+ }
580
698
  .ui-dt-summary {
581
- margin-bottom: var(--space-3);
582
- align-self: flex-start;
699
+ flex: 0 1 auto;
700
+ min-width: 0;
583
701
  /* Wider than the table (phones): the row scrolls sideways, the edge with more tabs fades (Tabs), and it comes to rest
584
702
  on a whole tab rather than in the middle of a word. */
585
703
  scroll-snap-type: x mandatory;
@@ -677,6 +795,14 @@
677
795
  width: auto;
678
796
  min-width: 0;
679
797
  }
798
+ /* In a Card the cards' box is the Card itself: no second shadow, a line between the toolbar and the first row. */
799
+ .ui-card .ui-dt-scroll {
800
+ box-shadow: none;
801
+ border-radius: 0;
802
+ }
803
+ .ui-card.is-flush > .ui-dt > .ui-dt-scroller > .ui-dt-scroll {
804
+ border-top: 1px solid var(--line);
805
+ }
680
806
  .ui-dt-head:not(.ui-dt-bulk) {
681
807
  display: none;
682
808
  }
@@ -763,17 +889,27 @@
763
889
  .ui-dt-body .ui-dt-cell.is-m-hide {
764
890
  display: none;
765
891
  }
892
+ /* Phone cards: the actions at the title row's end, always shown; the 32 px quiet buttons (48 px touch area) pull
893
+ into the card's padding so they do not make the title row taller. */
766
894
  .ui-dt-body .ui-dt-cell.ui-dt-acts {
895
+ position: static;
767
896
  grid-column: 4;
768
897
  grid-row: 1;
769
898
  display: flex;
770
899
  justify-content: flex-end;
771
900
  align-items: center;
772
901
  gap: 4px;
773
- margin: 0 0 0 var(--space-2);
902
+ width: auto;
903
+ margin: -6px -8px -6px var(--space-1);
904
+ padding: 0;
905
+ background: none;
906
+ opacity: 1;
907
+ }
908
+ .ui-dt.has-acts .ui-dt-row > .ui-dt-cell.is-lastcol {
909
+ padding-right: 0;
774
910
  }
775
911
  .ui-dt-sel > *,
776
- .ui-dt-acts > * {
912
+ .ui-dt-body .ui-dt-sel > * {
777
913
  opacity: 1;
778
914
  }
779
915
  .ui-dt-body .ui-dt-cell.is-long > .ui-dt-long {
@@ -783,9 +919,9 @@
783
919
  /* Equal widths while every tab fits; else each keeps its text whole and the row scrolls. */
784
920
  .ui-dt-summary {
785
921
  display: grid;
922
+ flex: 1 1 auto;
786
923
  grid-auto-flow: column;
787
924
  grid-auto-columns: minmax(max-content, 1fr);
788
- align-self: stretch;
789
925
  }
790
926
  }
791
927
  @media (max-width: 599px) {
@@ -853,9 +989,9 @@
853
989
  background: var(--accent);
854
990
  }
855
991
  .ui-dt-view-n {
856
- margin-left: 6px;
857
- font-family: var(--font-mono);
858
- font-size: var(--text-mini);
992
+ margin-left: 2px;
993
+ font-family: var(--font-sans);
994
+ font-variant-numeric: tabular-nums;
859
995
  color: var(--ink-muted);
860
996
  font-weight: 400;
861
997
  }
@@ -1180,13 +1316,16 @@
1180
1316
  .ui-card.is-flush > .ui-dt:first-child {
1181
1317
  padding-top: var(--space-4);
1182
1318
  }
1183
- .ui-card.is-flush > .ui-dt > :not(.ui-dt-scroller, .ui-dt-summary) {
1319
+ .ui-card.is-flush > .ui-dt > :not(.ui-dt-scroller) {
1184
1320
  padding-inline: var(--space-4);
1185
1321
  }
1186
- /* The summary tabs draw their own track: kept off the card's edges by a margin, not padded inside the track. */
1187
- .ui-card.is-flush > .ui-dt > .ui-dt-summary {
1188
- margin-inline: var(--space-4);
1189
- max-width: calc(100% - 2 * var(--space-4));
1322
+ /* Nothing under the table (no page numbers, no scroll hint): the last row ends at the card's edge, without an empty
1323
+ band and a second line under it. */
1324
+ .ui-card.is-flush > .ui-dt:not(:has(> .ui-dt-foot, > .ui-scroll-hint)) {
1325
+ padding-bottom: 0;
1326
+ }
1327
+ .ui-card.is-flush > .ui-dt:not(:has(> .ui-dt-foot, > .ui-scroll-hint)) > .ui-dt-scroller > .ui-dt-scroll {
1328
+ border-bottom: 0;
1190
1329
  }
1191
1330
  .ui-card.is-flush > .ui-dt .ui-dt-scroll {
1192
1331
  border-inline: 0;
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Calendar.css';
4
5
  @layer ui.components {
5
6
  .ui-datefield {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Calendar.css';
4
5
  @import './DatePicker.css';
5
6
  @layer ui.components {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Dialog.css';
4
5
  @layer ui.components {
5
6
  .ui-drawer-backdrop {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @layer ui.components {
4
5
  .ui-empty {
5
6
  display: flex;
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Button.css';
4
5
  @layer ui.components {
5
6
  .ui-errorpage {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @layer ui.components {
4
5
  /* EventTimeline: newest first; time, kind icon (no fill), what happened. */
5
6
  .ui-events {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Dialog.css';
4
5
  @import './ProgressBar.css';
5
6
  @layer ui.components {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @layer ui.components {
4
5
  .ui-kpi {
5
6
  display: flex;
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Button.css';
4
5
  @layer ui.components {
5
6
  .ui-link {
@@ -1,9 +1,9 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Dialog.css';
4
5
  @import './Alert.css';
5
6
  @import './IconButton.css';
6
- @import './InlineCode.css';
7
7
  @import './AiMark.css';
8
8
  @import './Term.css';
9
9
  @import './CodeView.css';
@@ -87,6 +87,34 @@
87
87
  text-underline-offset: 2px;
88
88
  cursor: pointer;
89
89
  }
90
+ /* A list item that is one link (a reference list): the link fills the row, so the whole row is clickable, with the
91
+ hover ground of other rows. 32 px with a mouse, 48 px on touch screens. The marker stays outside the row, where the
92
+ other items' markers are; the text starts where theirs does and the ground reaches 6 px to its left. */
93
+ .ui-md li.ui-md-rowitem + li.ui-md-rowitem {
94
+ margin-top: 2px;
95
+ }
96
+ .ui-md-link.is-row {
97
+ display: flex;
98
+ align-items: center;
99
+ box-sizing: border-box;
100
+ min-height: 32px;
101
+ margin-left: -6px;
102
+ padding: 3px 8px 3px 6px;
103
+ border-radius: var(--radius-sm);
104
+ text-align: left;
105
+ transition: background-color var(--dur-hover) ease;
106
+ }
107
+ .ui-md-link.is-row:hover {
108
+ background: var(--surface-sub);
109
+ }
110
+ button.ui-md-link.is-row {
111
+ width: calc(100% + 6px);
112
+ }
113
+ @media (pointer: coarse) {
114
+ .ui-md-link.is-row {
115
+ min-height: var(--touch-target);
116
+ }
117
+ }
90
118
  .ui-md-table-wrap {
91
119
  max-width: 100%;
92
120
  overflow-x: auto;
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Checkbox.css';
4
5
  @import './Select.css';
5
6
  @layer ui.components {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './IconButton.css';
4
5
  @layer ui.components {
5
6
  .ui-bell {
@@ -57,16 +57,21 @@
57
57
  min-width: 0;
58
58
  white-space: nowrap;
59
59
  }
60
- /* The name keeps its room; the status gives way first, then the name is cut with 「…」. */
60
+ /* The name keeps its room; the status gives way first, then the name is cut with 「…」, never below 3em. A name shorter
61
+ than 3em keeps its own width: a 3em box would leave a gap before 「·」 (「web · production」). Browsers without
62
+ calc-size() keep the 3em box. */
61
63
  .ui-projsw-name {
62
64
  flex: 0 1 auto;
63
65
  min-width: 3em;
66
+ min-width: calc-size(max-content, min(size, 3em));
64
67
  overflow: hidden;
65
68
  text-overflow: ellipsis;
66
69
  }
70
+ /* pre: the status starts with 「 · 」, and a flex item drops its leading space otherwise (「web· production」). */
67
71
  .ui-projsw-status {
68
72
  flex: 0 1000 auto;
69
73
  min-width: 0;
74
+ white-space: pre;
70
75
  overflow: hidden;
71
76
  text-overflow: ellipsis;
72
77
  }
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @layer ui.components {
4
5
  .ui-select {
5
6
  position: relative;
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Toast.css';
4
5
  @layer ui.components {
5
6
  .ui-settings {
@@ -1,7 +1,7 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
- @import './IconButton.css';
4
3
  @import './InlineCode.css';
4
+ @import './IconButton.css';
5
5
  @layer ui.components {
6
6
  /* Suggestion */
7
7
  .ui-sug {
package/dist/css/Tabs.css CHANGED
@@ -79,13 +79,13 @@
79
79
  }
80
80
  }
81
81
  .ui-tab-count {
82
- /* With the space before it: about 6 px from the name. */
82
+ /* With the space before it: about 6 px from the name. A quiet number: the text font with figures of one width,
83
+ muted and regular weight on every tab, so the names lead and the counts line up. */
83
84
  margin-left: 2px;
84
- font-family: var(--font-mono);
85
- font-size: var(--text-small);
85
+ font-family: var(--font-sans);
86
+ font-variant-numeric: tabular-nums;
87
+ font-size: var(--text-compact);
88
+ font-weight: 400;
86
89
  color: var(--ink-muted);
87
90
  }
88
- .ui-tab.is-selected .ui-tab-count {
89
- color: var(--ink);
90
- }
91
91
  }
package/dist/css/Term.css CHANGED
@@ -1,7 +1,7 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
- @import './Dialog.css';
4
3
  @import './InlineCode.css';
4
+ @import './Dialog.css';
5
5
  @layer ui.components {
6
6
  /* Term */
7
7
  .ui-term {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @layer ui.components {
4
5
  .ui-field-box > .ui-textarea ~ .ui-field-icon {
5
6
  top: 12px;
@@ -1,2 +1,3 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @layer ui.components {
4
5
  @keyframes ui-toast-in {
5
6
  from {
package/dist/css/Tour.css CHANGED
@@ -1,7 +1,7 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
- @import './Button.css';
4
3
  @import './InlineCode.css';
4
+ @import './Button.css';
5
5
  @layer ui.components {
6
6
  /* Tour */
7
7
  .ui-tour-layer {
@@ -1,5 +1,6 @@
1
1
  @layer theme, base, ui, components, utilities;
2
2
  @layer ui.tokens, ui.components;
3
+ @import './InlineCode.css';
3
4
  @import './Button.css';
4
5
  @import './Skeleton.css';
5
6
  @import './Checkbox.css';