@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.
- package/dist/bundle.js +19 -19
- package/dist/bundle.js.map +1 -1
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.js +2 -1
- package/dist/components/Alert/Alert.js.map +1 -1
- package/dist/components/DangerZone/DangerZone.d.ts +1 -1
- package/dist/components/DangerZone/DangerZone.js +2 -1
- package/dist/components/DangerZone/DangerZone.js.map +1 -1
- package/dist/components/DataTable/DataTable.d.ts +8 -3
- package/dist/components/DataTable/DataTable.js +159 -65
- package/dist/components/DataTable/DataTable.js.map +1 -1
- package/dist/components/DataTable/parts.js +4 -4
- package/dist/components/DataTable/parts.js.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +2 -2
- package/dist/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/Dialog.js +2 -1
- package/dist/components/Dialog/Dialog.js.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts +1 -0
- package/dist/components/Drawer/Drawer.js +2 -1
- package/dist/components/Drawer/Drawer.js.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +2 -2
- package/dist/components/EmptyState/EmptyState.js +3 -2
- package/dist/components/EmptyState/EmptyState.js.map +1 -1
- package/dist/components/ErrorPage/ErrorPage.d.ts +1 -0
- package/dist/components/ErrorPage/ErrorPage.js +2 -1
- package/dist/components/ErrorPage/ErrorPage.js.map +1 -1
- package/dist/components/EventTimeline/EventTimeline.d.ts +1 -1
- package/dist/components/EventTimeline/EventTimeline.js +2 -1
- package/dist/components/EventTimeline/EventTimeline.js.map +1 -1
- package/dist/components/FileUpload/FileUpload.d.ts +1 -1
- package/dist/components/FileUpload/FileUpload.js +2 -1
- package/dist/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/components/InlineCode/InlineCode.js +10 -6
- package/dist/components/InlineCode/InlineCode.js.map +1 -1
- package/dist/components/KpiCard/KpiCard.d.ts +2 -2
- package/dist/components/KpiCard/KpiCard.js +5 -4
- package/dist/components/KpiCard/KpiCard.js.map +1 -1
- package/dist/components/LayerGraph/LayerGraph.js +31 -17
- package/dist/components/LayerGraph/LayerGraph.js.map +1 -1
- package/dist/components/LineChart/LineChart.js +1 -1
- package/dist/components/LineChart/LineChart.js.map +1 -1
- package/dist/components/LoginCard/LoginCard.d.ts +1 -1
- package/dist/components/LoginCard/LoginCard.js.map +1 -1
- package/dist/components/Markdown/Markdown.js +23 -5
- package/dist/components/Markdown/Markdown.js.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/components/NotificationBell/NotificationBell.d.ts +1 -0
- package/dist/components/NotificationBell/NotificationBell.js +2 -1
- package/dist/components/NotificationBell/NotificationBell.js.map +1 -1
- package/dist/components/Section/Section.js +1 -1
- package/dist/components/Section/Section.js.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +4 -4
- package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.js.map +1 -1
- package/dist/components/SettingsLayout/SettingsLayout.d.ts +1 -1
- package/dist/components/SettingsLayout/SettingsLayout.js +2 -1
- package/dist/components/SettingsLayout/SettingsLayout.js.map +1 -1
- package/dist/components/SplitPane/SplitPane.js +6 -6
- package/dist/components/SplitPane/SplitPane.js.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +4 -1
- package/dist/components/Tabs/Tabs.js +10 -7
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/TextArea/TextArea.d.ts +2 -1
- package/dist/components/TextArea/TextArea.js +3 -2
- package/dist/components/TextArea/TextArea.js.map +1 -1
- package/dist/components/TextField/TextField.d.ts +2 -2
- package/dist/components/TextField/TextField.js.map +1 -1
- package/dist/components/Toast/Toast.d.ts +1 -1
- package/dist/components/Toast/Toast.js +2 -1
- package/dist/components/Toast/Toast.js.map +1 -1
- package/dist/components/Tour/Tour.js +3 -3
- package/dist/components/Tour/Tour.js.map +1 -1
- package/dist/components/Workbench/Workbench.js +7 -7
- package/dist/components/Workbench/Workbench.js.map +1 -1
- package/dist/css/Alert.css +1 -0
- package/dist/css/Button.css +1 -0
- package/dist/css/Checkbox.css +1 -0
- package/dist/css/CodeView.css +1 -1
- package/dist/css/DangerZone.css +1 -0
- package/dist/css/DataTable.css +177 -38
- package/dist/css/DatePicker.css +1 -0
- package/dist/css/DateRangePicker.css +1 -0
- package/dist/css/Drawer.css +1 -0
- package/dist/css/EmptyState.css +1 -0
- package/dist/css/ErrorPage.css +1 -0
- package/dist/css/EventTimeline.css +1 -0
- package/dist/css/FileUpload.css +1 -0
- package/dist/css/KpiCard.css +1 -0
- package/dist/css/LoginCard.css +1 -0
- package/dist/css/Markdown.css +29 -1
- package/dist/css/MultiSelect.css +1 -0
- package/dist/css/NotificationBell.css +1 -0
- package/dist/css/ProjectSwitcher.css +6 -1
- package/dist/css/Select.css +1 -0
- package/dist/css/SettingsLayout.css +1 -0
- package/dist/css/Suggestion.css +1 -1
- package/dist/css/Tabs.css +6 -6
- package/dist/css/Term.css +1 -1
- package/dist/css/TextArea.css +1 -0
- package/dist/css/TextField.css +1 -0
- package/dist/css/Toast.css +1 -0
- package/dist/css/Tour.css +1 -1
- package/dist/css/TreeList.css +1 -0
- package/dist/css/Workbench.css +12 -0
- package/dist/format.js +3 -1
- package/dist/format.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/internal/Field.js +3 -2
- package/dist/internal/Field.js.map +1 -1
- package/dist/internal/codeSpans.js +20 -0
- package/dist/internal/codeSpans.js.map +1 -0
- package/dist/internal/scrollHint.js +5 -5
- package/dist/internal/scrollHint.js.map +1 -1
- package/dist/internal/tableTools.js +1 -1
- package/dist/internal/tableTools.js.map +1 -1
- package/dist/internal/util.js +5 -1
- package/dist/internal/util.js.map +1 -1
- package/dist/styles.css +316 -133
- package/docs/Alert.md +1 -0
- package/docs/Card.md +3 -3
- package/docs/DangerZone.md +1 -0
- package/docs/DataTable.md +29 -19
- package/docs/DatePicker.md +1 -0
- package/docs/Dialog.md +1 -0
- package/docs/Drawer.md +1 -0
- package/docs/EmptyState.md +1 -0
- package/docs/ErrorPage.md +1 -0
- package/docs/EventTimeline.md +1 -0
- package/docs/FileUpload.md +1 -0
- package/docs/Format.md +1 -1
- package/docs/KpiCard.md +1 -0
- package/docs/LoginCard.md +1 -0
- package/docs/Markdown.md +3 -0
- package/docs/MultiSelect.md +1 -0
- package/docs/NotificationBell.md +1 -0
- package/docs/Select.md +1 -0
- package/docs/SettingsLayout.md +1 -0
- package/docs/Tabs.md +2 -2
- package/docs/Term.md +1 -0
- package/docs/TextArea.md +1 -0
- package/docs/TextField.md +1 -0
- package/docs/Toast.md +1 -0
- package/docs/data.md +4 -3
- package/docs/guidelines.md +4 -4
- package/docs/layout.md +1 -1
- package/package.json +4 -2
package/dist/css/Alert.css
CHANGED
package/dist/css/Button.css
CHANGED
package/dist/css/Checkbox.css
CHANGED
package/dist/css/CodeView.css
CHANGED
|
@@ -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. */
|
package/dist/css/DangerZone.css
CHANGED
package/dist/css/DataTable.css
CHANGED
|
@@ -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
|
-
|
|
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:
|
|
196
|
-
|
|
201
|
+
flex: none;
|
|
202
|
+
max-width: 100%;
|
|
203
|
+
margin-left: auto;
|
|
197
204
|
}
|
|
198
205
|
}
|
|
199
|
-
/* Under 480 px:
|
|
200
|
-
|
|
201
|
-
accessible names.
|
|
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
|
-
|
|
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
|
|
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
|
-
/*
|
|
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(--
|
|
344
|
+
background: var(--dt-row-bg);
|
|
282
345
|
}
|
|
283
346
|
.ui-dt-body .ui-dt-row.is-even {
|
|
284
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
.
|
|
477
|
-
|
|
478
|
-
|
|
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
|
-
|
|
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
|
|
492
|
-
|
|
493
|
-
|
|
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-
|
|
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
|
-
|
|
582
|
-
|
|
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
|
-
|
|
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-
|
|
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:
|
|
857
|
-
font-family: var(--font-
|
|
858
|
-
font-
|
|
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
|
|
1319
|
+
.ui-card.is-flush > .ui-dt > :not(.ui-dt-scroller) {
|
|
1184
1320
|
padding-inline: var(--space-4);
|
|
1185
1321
|
}
|
|
1186
|
-
/*
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
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;
|
package/dist/css/DatePicker.css
CHANGED
package/dist/css/Drawer.css
CHANGED
package/dist/css/EmptyState.css
CHANGED
package/dist/css/ErrorPage.css
CHANGED
package/dist/css/FileUpload.css
CHANGED
package/dist/css/KpiCard.css
CHANGED
package/dist/css/LoginCard.css
CHANGED
package/dist/css/Markdown.css
CHANGED
|
@@ -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;
|
package/dist/css/MultiSelect.css
CHANGED
|
@@ -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
|
}
|
package/dist/css/Select.css
CHANGED
package/dist/css/Suggestion.css
CHANGED
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-
|
|
85
|
-
font-
|
|
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
package/dist/css/TextArea.css
CHANGED
package/dist/css/TextField.css
CHANGED
package/dist/css/Toast.css
CHANGED
package/dist/css/Tour.css
CHANGED