pivotkit-react 0.4.0 → 0.6.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 (59) hide show
  1. package/CHANGELOG.md +267 -1
  2. package/README.md +5 -2
  3. package/dist/chunks/{chunk-YITKWZ4L.js → chunk-2RAVX4DO.js} +604 -505
  4. package/dist/chunks/{chunk-ZYEYZSYL.js → chunk-7LERNGUW.js} +36 -2
  5. package/dist/chunks/{chunk-EM23V5GH.js → chunk-E6M57YLL.js} +19 -8
  6. package/dist/chunks/{chunk-RWYHJRQO.js → chunk-JMRTIOX4.js} +17 -7
  7. package/dist/chunks/{chunk-XN55BQ4M.js → chunk-RIOSIYGC.js} +54 -7
  8. package/dist/chunks/{chunk-LEN5RPBM.js → chunk-TR2HROIK.js} +43 -7
  9. package/dist/chunks/chunk-W2KIPREL.js +36 -0
  10. package/dist/chunks/{chunk-6MDAL3IO.js → chunk-XN5HNKJ2.js} +88 -101
  11. package/dist/chunks/{chunk-WB4GKWFQ.js → chunk-YXLANLGL.js} +34 -6
  12. package/dist/chunks/report-run-BZBFOMPF.js +12 -0
  13. package/dist/chunks/{unused-texts-K3VFH65P.js → unused-texts-Y4R67XSN.js} +1 -1
  14. package/dist/chunks/{unused-texts-de-OW4TGIVX.js → unused-texts-de-6YVPTNVS.js} +1 -1
  15. package/dist/echarts.js +38 -156
  16. package/dist/import-ui.js +69 -168
  17. package/dist/index.js +160 -102
  18. package/dist/labels.js +6 -6
  19. package/dist/menu-texts-de.js +1 -1
  20. package/dist/menus.js +778 -277
  21. package/dist/styles.css +207 -93
  22. package/package.json +8 -4
  23. package/types/chart-decorate.d.ts +28 -4
  24. package/types/chart-types.d.ts +2 -4
  25. package/types/echarts.d.ts +1 -1
  26. package/types/export-run.d.ts +42 -4
  27. package/types/field-info.d.ts +3 -10
  28. package/types/filter.d.ts +1 -1
  29. package/types/icons.d.ts +1 -0
  30. package/types/import-host.d.ts +34 -8
  31. package/types/import-labels.d.ts +47 -0
  32. package/types/import-limits.d.ts +6 -0
  33. package/types/import-module.d.ts +1 -1
  34. package/types/import-steps.d.ts +8 -0
  35. package/types/import-ui.d.ts +18 -4
  36. package/types/index.d.ts +76 -17
  37. package/types/labels.d.ts +200 -24
  38. package/types/light-tokens.d.ts +16 -0
  39. package/types/menu-labels.d.ts +43 -14
  40. package/types/menu-ops.d.ts +166 -43
  41. package/types/menu-topics.d.ts +7 -4
  42. package/types/names.d.ts +47 -19
  43. package/types/place.d.ts +24 -0
  44. package/types/print-frame.d.ts +24 -0
  45. package/types/report-run.d.ts +14 -0
  46. package/types/share-actions.d.ts +17 -3
  47. package/types/share.d.ts +13 -17
  48. package/types/sheet-views.d.ts +60 -0
  49. package/types/templates.d.ts +21 -1
  50. package/types/theme.d.ts +2 -16
  51. package/types/tips.d.ts +5 -0
  52. package/types/toolbar-panels.d.ts +9 -6
  53. package/types/unused-texts.d.ts +13 -3
  54. package/types/use-export.d.ts +2 -2
  55. package/types/view-ops.d.ts +65 -6
  56. package/types/view-save.d.ts +10 -6
  57. package/types/view-store.d.ts +21 -11
  58. package/types/chart-layout.d.ts +0 -111
  59. package/types/import-source.d.ts +0 -32
package/dist/styles.css CHANGED
@@ -4,8 +4,29 @@
4
4
  --pk-small: max(14px, 0.93em);
5
5
  --pk-target: 24px;
6
6
  --pk-target-touch: 44px;
7
+ --pk-weight-normal: 400;
8
+ --pk-weight-medium: 500;
9
+ --pk-weight-strong: 600;
10
+ --pk-weight-bold: 700;
7
11
  --pk-radius: 10px;
8
12
  --pk-radius-sm: 7px;
13
+ --pk-radius-xs: calc(var(--pk-radius-sm) * 4 / 7);
14
+ --pk-radius-mark: calc(var(--pk-radius-sm) * 5 / 7);
15
+ --pk-radius-icon: calc(var(--pk-radius-sm) * 6 / 7);
16
+ --pk-radius-card: 8px;
17
+ --pk-radius-chart: var(--pk-radius-xs);
18
+ --pk-font-mono:
19
+ ui-monospace,
20
+ SFMono-Regular,
21
+ Menlo,
22
+ Consolas,
23
+ monospace;
24
+ --pk-chart-title-size: max(16px, var(--pk-font-size));
25
+ --pk-chart-text-size: var(--pk-small);
26
+ --pk-focus-width: 2px;
27
+ --pk-focus-offset: 2px;
28
+ --pk-glow-width: 3px;
29
+ --pk-ring-width: 2px;
9
30
  --pk-row-h: 2.45em;
10
31
  --pk-panel-w: 288px;
11
32
  --pk-rail-w: 40px;
@@ -14,9 +35,8 @@
14
35
  --pk-layer-z: 50;
15
36
  --pk-heat-low: #eaf1fb;
16
37
  --pk-heat-high: #2a78d6;
17
- --pk-scale-low: #f8696b;
18
- --pk-scale-mid: #ffeb84;
19
- --pk-scale-high: #63be7b;
38
+ --pk-scale-low: var(--pk-heat-low);
39
+ --pk-scale-high: var(--pk-heat-high);
20
40
  color-scheme: light;
21
41
  --pk-surface: #ffffff;
22
42
  --pk-surface-2: #f6f7f9;
@@ -28,12 +48,13 @@
28
48
  --pk-border-strong: #c3c9d2;
29
49
  --pk-input-border: #7d8592;
30
50
  --pk-drop-border: #868e9a;
51
+ --pk-rule: #868e9a;
31
52
  --pk-grid: #edf0f3;
32
53
  --pk-accent: #2b5fd9;
33
54
  --pk-accent-text: #ffffff;
34
55
  --pk-accent-soft: #e9effc;
35
56
  --pk-drop: #dfe8fd;
36
- --pk-total: #f4f6f9;
57
+ --pk-total: #eef1f5;
37
58
  --pk-total-strong: #e9edf3;
38
59
  --pk-danger: #b42318;
39
60
  --pk-danger-soft: #fdecea;
@@ -71,12 +92,13 @@
71
92
  --pk-border-strong: #454c58;
72
93
  --pk-input-border: #737b88;
73
94
  --pk-drop-border: #6f7785;
95
+ --pk-rule: #6f7785;
74
96
  --pk-grid: #23272e;
75
97
  --pk-accent: #84a3ff;
76
98
  --pk-accent-text: #0d1426;
77
99
  --pk-accent-soft: #232d48;
78
100
  --pk-drop: #263a6b;
79
- --pk-total: #1d2128;
101
+ --pk-total: #21252d;
80
102
  --pk-total-strong: #252a33;
81
103
  --pk-danger: #ff8b80;
82
104
  --pk-danger-soft: #3a1f1d;
@@ -94,9 +116,6 @@
94
116
  --pk-type-boolean: #f08cc6;
95
117
  --pk-heat-low: #1d2735;
96
118
  --pk-heat-high: #3987e5;
97
- --pk-scale-low: #c2413f;
98
- --pk-scale-mid: #b39a2e;
99
- --pk-scale-high: #3f9a5c;
100
119
  --pk-chart-1: #3987e5;
101
120
  --pk-chart-2: #d95926;
102
121
  --pk-chart-3: #199e70;
@@ -140,7 +159,7 @@
140
159
  .pk-root *::after {
141
160
  box-sizing: border-box;
142
161
  }
143
- .pk-root :is(button, input, select, textarea) {
162
+ .pk-root :where(button, input, select, textarea) {
144
163
  font: inherit;
145
164
  color: inherit;
146
165
  }
@@ -148,8 +167,8 @@
148
167
  margin: 0;
149
168
  }
150
169
  .pk-root :focus-visible {
151
- outline: 2px solid var(--pk-focus);
152
- outline-offset: 2px;
170
+ outline: var(--pk-focus-width) solid var(--pk-focus);
171
+ outline-offset: var(--pk-focus-offset);
153
172
  border-radius: var(--pk-radius-sm);
154
173
  }
155
174
  .pk-sr {
@@ -164,6 +183,16 @@
164
183
  white-space: nowrap;
165
184
  border: 0;
166
185
  }
186
+ .pk-print-frame {
187
+ position: fixed;
188
+ inset-inline-start: 0;
189
+ top: 0;
190
+ width: 1px;
191
+ height: 1px;
192
+ border: 0;
193
+ opacity: 0;
194
+ pointer-events: none;
195
+ }
167
196
  .pk-muted {
168
197
  color: var(--pk-muted);
169
198
  }
@@ -177,7 +206,7 @@
177
206
  border-radius: var(--pk-radius-sm);
178
207
  background: var(--pk-surface-raised);
179
208
  color: var(--pk-accent);
180
- font-weight: 600;
209
+ font-weight: var(--pk-weight-strong);
181
210
  cursor: pointer;
182
211
  }
183
212
  .pk-skip:not(:focus) {
@@ -231,7 +260,7 @@
231
260
  background: var(--pk-accent);
232
261
  border-color: var(--pk-accent);
233
262
  color: var(--pk-accent-text);
234
- font-weight: 600;
263
+ font-weight: var(--pk-weight-strong);
235
264
  }
236
265
  .pk-btn.pk-primary:hover:not(:disabled) {
237
266
  background: color-mix(in srgb, var(--pk-accent) 88%, var(--pk-text));
@@ -253,7 +282,8 @@
253
282
  cursor: pointer;
254
283
  transition: background var(--pk-duration), color var(--pk-duration);
255
284
  }
256
- .pk-icon-btn:hover {
285
+ .pk-icon-btn:hover,
286
+ .pk-icon-btn[aria-haspopup][aria-expanded=true] {
257
287
  background: var(--pk-surface-3);
258
288
  color: var(--pk-text);
259
289
  }
@@ -263,9 +293,9 @@
263
293
  border: 0;
264
294
  background: none;
265
295
  color: var(--pk-accent);
266
- font-weight: 600;
296
+ font-weight: var(--pk-weight-strong);
267
297
  cursor: pointer;
268
- border-radius: 4px;
298
+ border-radius: var(--pk-radius-xs);
269
299
  }
270
300
  .pk-link:hover {
271
301
  text-decoration: underline;
@@ -289,7 +319,7 @@
289
319
  background: transparent;
290
320
  color: var(--pk-muted);
291
321
  cursor: pointer;
292
- font-weight: 500;
322
+ font-weight: var(--pk-weight-medium);
293
323
  transition:
294
324
  background var(--pk-duration),
295
325
  color var(--pk-duration),
@@ -342,7 +372,7 @@
342
372
  background: none;
343
373
  color: var(--pk-text);
344
374
  font: inherit;
345
- font-weight: 650;
375
+ font-weight: var(--pk-weight-strong);
346
376
  cursor: pointer;
347
377
  }
348
378
  .pk-rail-open:hover {
@@ -385,7 +415,7 @@
385
415
  }
386
416
  .pk-panel-title {
387
417
  font-size: 1.07em;
388
- font-weight: 650;
418
+ font-weight: var(--pk-weight-strong);
389
419
  }
390
420
  .pk-panel > .pk-hint {
391
421
  padding-right: 4px;
@@ -404,7 +434,7 @@
404
434
  }
405
435
  .pk-search:focus-within {
406
436
  border-color: var(--pk-accent);
407
- box-shadow: 0 0 0 3px var(--pk-accent-soft);
437
+ box-shadow: 0 0 0 var(--pk-glow-width) var(--pk-accent-soft);
408
438
  }
409
439
  .pk-search input {
410
440
  flex: 1;
@@ -458,7 +488,7 @@
458
488
  color: var(--pk-muted);
459
489
  opacity: 0.8;
460
490
  cursor: grab;
461
- border-radius: 5px;
491
+ border-radius: var(--pk-radius-mark);
462
492
  touch-action: none;
463
493
  }
464
494
  .pk-field:hover .pk-handle,
@@ -472,7 +502,7 @@
472
502
  width: 1.55em;
473
503
  height: 1.55em;
474
504
  flex: none;
475
- border-radius: 6px;
505
+ border-radius: var(--pk-radius-icon);
476
506
  background: color-mix(in srgb, currentColor 13%, transparent);
477
507
  }
478
508
  .pk-type-string,
@@ -517,7 +547,7 @@
517
547
  vertical-align: top;
518
548
  }
519
549
  .pk-placed .pk-field-name {
520
- font-weight: 600;
550
+ font-weight: var(--pk-weight-strong);
521
551
  }
522
552
  .pk-badges {
523
553
  display: inline-flex;
@@ -528,25 +558,22 @@
528
558
  place-items: center;
529
559
  width: 1.45em;
530
560
  height: 1.45em;
531
- border-radius: 5px;
561
+ border-radius: var(--pk-radius-mark);
532
562
  background: var(--pk-accent-soft);
533
563
  color: var(--pk-accent);
534
564
  }
535
565
  .pk-field-menu {
536
566
  width: var(--pk-target);
537
- opacity: 0.6;
538
567
  }
539
- .pk-field:hover .pk-field-menu,
540
- .pk-field-menu:focus-visible,
541
- .pk-field-menu[aria-expanded=true] {
542
- opacity: 1;
568
+ .pk-field:hover .pk-field-menu {
569
+ color: var(--pk-text);
543
570
  }
544
571
  .pk-panel.pk-removing {
545
572
  background: color-mix(in srgb, var(--pk-danger) 5%, var(--pk-surface-2));
546
573
  }
547
574
  .pk-panel.pk-over {
548
575
  background: color-mix(in srgb, var(--pk-danger) 12%, var(--pk-surface-2));
549
- box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pk-danger) 50%, transparent);
576
+ box-shadow: inset 0 0 0 var(--pk-ring-width) color-mix(in srgb, var(--pk-danger) 50%, transparent);
550
577
  }
551
578
  .pk-remove-hint {
552
579
  position: absolute;
@@ -560,7 +587,7 @@
560
587
  border-radius: var(--pk-radius-sm);
561
588
  background: var(--pk-surface);
562
589
  color: var(--pk-danger);
563
- font-weight: 600;
590
+ font-weight: var(--pk-weight-strong);
564
591
  animation: pk-rise var(--pk-duration) var(--pk-ease);
565
592
  }
566
593
  .pk-toolbar {
@@ -674,7 +701,7 @@
674
701
  }
675
702
  .pk-zones-summary-zone {
676
703
  color: var(--pk-muted);
677
- font-weight: 650;
704
+ font-weight: var(--pk-weight-strong);
678
705
  }
679
706
  .pk-zone {
680
707
  position: relative;
@@ -698,7 +725,7 @@
698
725
  border-style: solid;
699
726
  border-color: var(--pk-accent);
700
727
  background: var(--pk-drop);
701
- box-shadow: 0 0 0 3px var(--pk-accent-soft);
728
+ box-shadow: 0 0 0 var(--pk-glow-width) var(--pk-accent-soft);
702
729
  }
703
730
  .pk-zone.pk-flash {
704
731
  animation: pk-flash 600ms var(--pk-ease);
@@ -745,7 +772,7 @@
745
772
  gap: 0.4em;
746
773
  color: var(--pk-muted);
747
774
  font-size: var(--pk-small);
748
- font-weight: 650;
775
+ font-weight: var(--pk-weight-strong);
749
776
  letter-spacing: 0.02em;
750
777
  text-transform: uppercase;
751
778
  }
@@ -811,7 +838,7 @@
811
838
  border-radius: 999px;
812
839
  background: transparent;
813
840
  cursor: pointer;
814
- font-weight: 550;
841
+ font-weight: var(--pk-weight-strong);
815
842
  white-space: nowrap;
816
843
  }
817
844
  .pk-chip-label:hover,
@@ -873,7 +900,7 @@
873
900
  box-shadow: var(--pk-shadow-lg);
874
901
  cursor: grabbing;
875
902
  transform: rotate(-2deg);
876
- font-weight: 600;
903
+ font-weight: var(--pk-weight-strong);
877
904
  animation: none;
878
905
  }
879
906
  .pk-layer {
@@ -948,7 +975,7 @@
948
975
  background: var(--pk-accent-soft);
949
976
  color: var(--pk-accent);
950
977
  font-size: var(--pk-small);
951
- font-weight: 600;
978
+ font-weight: var(--pk-weight-strong);
952
979
  }
953
980
  .pk-filter-popover {
954
981
  width: 340px;
@@ -987,7 +1014,7 @@
987
1014
  padding: 4px 0;
988
1015
  }
989
1016
  .pk-section:not(:first-child) {
990
- border-top: 1px solid var(--pk-border);
1017
+ border-top: 1px solid var(--pk-rule);
991
1018
  margin-top: 2px;
992
1019
  padding-top: 6px;
993
1020
  }
@@ -1010,7 +1037,7 @@
1010
1037
  padding: 2px 8px 4px;
1011
1038
  color: var(--pk-muted);
1012
1039
  font-size: var(--pk-small);
1013
- font-weight: 650;
1040
+ font-weight: var(--pk-weight-strong);
1014
1041
  }
1015
1042
  .pk-section-mark {
1016
1043
  color: var(--pk-accent);
@@ -1052,7 +1079,7 @@
1052
1079
  .pk-option:hover:not(:disabled),
1053
1080
  .pk-option:focus-visible {
1054
1081
  background: var(--pk-surface-3);
1055
- outline-offset: -2px;
1082
+ outline-offset: calc(-1 * var(--pk-focus-width));
1056
1083
  }
1057
1084
  .pk-option:disabled {
1058
1085
  opacity: 0.45;
@@ -1066,7 +1093,7 @@
1066
1093
  color: var(--pk-muted);
1067
1094
  }
1068
1095
  .pk-option.pk-checked {
1069
- font-weight: 600;
1096
+ font-weight: var(--pk-weight-strong);
1070
1097
  }
1071
1098
  .pk-option.pk-checked .pk-option-icon {
1072
1099
  color: var(--pk-accent);
@@ -1085,7 +1112,7 @@
1085
1112
  .pk-option-hint {
1086
1113
  color: var(--pk-muted);
1087
1114
  font-size: var(--pk-small);
1088
- font-weight: 400;
1115
+ font-weight: var(--pk-weight-normal);
1089
1116
  }
1090
1117
  .pk-inline-form {
1091
1118
  display: flex;
@@ -1113,7 +1140,7 @@
1113
1140
  .pk-condition :is(select, input):focus {
1114
1141
  outline: none;
1115
1142
  border-color: var(--pk-accent);
1116
- box-shadow: 0 0 0 3px var(--pk-accent-soft);
1143
+ box-shadow: 0 0 0 var(--pk-glow-width) var(--pk-accent-soft);
1117
1144
  }
1118
1145
  .pk-field-label {
1119
1146
  display: flex;
@@ -1178,7 +1205,7 @@
1178
1205
  margin: 0;
1179
1206
  overflow-wrap: anywhere;
1180
1207
  font-size: 1em;
1181
- font-weight: 650;
1208
+ font-weight: var(--pk-weight-strong);
1182
1209
  }
1183
1210
  .pk-level-head {
1184
1211
  padding-left: 0;
@@ -1223,7 +1250,7 @@
1223
1250
  gap: 0.3em;
1224
1251
  min-width: 0;
1225
1252
  color: var(--pk-muted);
1226
- font-weight: 400;
1253
+ font-weight: var(--pk-weight-normal);
1227
1254
  }
1228
1255
  .pk-topic-chevron {
1229
1256
  flex: none;
@@ -1244,15 +1271,15 @@
1244
1271
  gap: 0.55em;
1245
1272
  }
1246
1273
  .pk-topic-seg .pk-segmented > button:focus-visible {
1247
- outline: 2px solid var(--pk-focus);
1248
- outline-offset: -2px;
1274
+ outline: var(--pk-focus-width) solid var(--pk-focus);
1275
+ outline-offset: calc(-1 * var(--pk-focus-width));
1249
1276
  }
1250
1277
  .pk-item-hint {
1251
1278
  margin-left: auto;
1252
1279
  padding-left: 1em;
1253
1280
  color: var(--pk-muted);
1254
1281
  font-size: var(--pk-small);
1255
- font-weight: 400;
1282
+ font-weight: var(--pk-weight-normal);
1256
1283
  white-space: nowrap;
1257
1284
  }
1258
1285
  .pk-option.pk-disabled {
@@ -1289,7 +1316,7 @@
1289
1316
  }
1290
1317
  .pk-summary-head {
1291
1318
  grid-column: 1;
1292
- font-weight: 700;
1319
+ font-weight: var(--pk-weight-bold);
1293
1320
  }
1294
1321
  .pk-summary-why {
1295
1322
  grid-column: 1;
@@ -1339,7 +1366,7 @@
1339
1366
  background: var(--pk-surface-3);
1340
1367
  }
1341
1368
  .pk-fsection-title {
1342
- font-weight: 600;
1369
+ font-weight: var(--pk-weight-strong);
1343
1370
  }
1344
1371
  .pk-fsection-state {
1345
1372
  flex: 1;
@@ -1414,11 +1441,11 @@
1414
1441
  .pk-rule-body > .pk-by,
1415
1442
  .pk-rule-body > .pk-by-pick {
1416
1443
  flex-basis: 100%;
1417
- font-weight: 600;
1444
+ font-weight: var(--pk-weight-strong);
1418
1445
  }
1419
1446
  .pk-rule-body > .pk-rule-lead {
1420
1447
  color: var(--pk-muted);
1421
- font-weight: 400;
1448
+ font-weight: var(--pk-weight-normal);
1422
1449
  }
1423
1450
  .pk-rule-body .pk-narrow-input {
1424
1451
  flex: 1 1 6em;
@@ -1464,6 +1491,89 @@
1464
1491
  .pk-quick-hidden {
1465
1492
  margin: 0;
1466
1493
  }
1494
+ .pk-check {
1495
+ display: flex;
1496
+ align-items: center;
1497
+ gap: 0.6em;
1498
+ min-height: var(--pk-target);
1499
+ padding: 0 0.6em;
1500
+ border-radius: var(--pk-radius-sm);
1501
+ cursor: pointer;
1502
+ }
1503
+ .pk-check:hover {
1504
+ background: var(--pk-surface-3);
1505
+ }
1506
+ .pk-check > input[type=checkbox] {
1507
+ flex: none;
1508
+ width: 1.1em;
1509
+ min-width: 0;
1510
+ height: 1.1em;
1511
+ margin: 0;
1512
+ padding: 0;
1513
+ accent-color: var(--pk-accent);
1514
+ }
1515
+ .pk-quick-row > .pk-check {
1516
+ flex-basis: 100%;
1517
+ margin-left: 1.7em;
1518
+ }
1519
+ .pk-quick-more-toggle {
1520
+ display: flex;
1521
+ align-items: center;
1522
+ align-self: flex-start;
1523
+ gap: 0.35em;
1524
+ min-height: var(--pk-target);
1525
+ padding: 2px 6px;
1526
+ border: 0;
1527
+ border-radius: var(--pk-radius-sm);
1528
+ background: transparent;
1529
+ color: var(--pk-muted);
1530
+ font-size: var(--pk-small);
1531
+ cursor: pointer;
1532
+ }
1533
+ .pk-quick-more-toggle:hover {
1534
+ background: var(--pk-surface-3);
1535
+ color: var(--pk-text);
1536
+ }
1537
+ .pk-quick-more {
1538
+ display: flex;
1539
+ flex-direction: column;
1540
+ gap: 6px;
1541
+ margin-left: 0.6em;
1542
+ padding-left: 0.6em;
1543
+ border-left: 2px solid var(--pk-border);
1544
+ }
1545
+ .pk-quick-row select,
1546
+ .pk-quick-anchor select,
1547
+ .pk-quick-anchor input[type=date] {
1548
+ min-height: var(--pk-target);
1549
+ height: 2em;
1550
+ padding: 0 0.4em;
1551
+ border: 1px solid var(--pk-input-border);
1552
+ border-radius: var(--pk-radius-sm);
1553
+ background: var(--pk-surface);
1554
+ color: var(--pk-text);
1555
+ }
1556
+ .pk-quick-anchor > .pk-hint {
1557
+ flex-basis: 100%;
1558
+ }
1559
+ .pk-quick-row > .pk-quick-fix {
1560
+ flex-basis: 100%;
1561
+ min-width: 0;
1562
+ margin-left: 1.7em;
1563
+ }
1564
+ .pk-quick-fix > .pk-btn.pk-small-btn {
1565
+ align-items: flex-start;
1566
+ height: auto;
1567
+ min-height: max(2em, var(--pk-target));
1568
+ max-width: 100%;
1569
+ padding-block: 0.25em;
1570
+ text-align: start;
1571
+ white-space: normal;
1572
+ }
1573
+ .pk-quick-fix > .pk-btn.pk-small-btn > .pk-icon {
1574
+ flex: none;
1575
+ margin-top: 0.2em;
1576
+ }
1467
1577
  .pk-years-hint {
1468
1578
  margin: 0;
1469
1579
  }
@@ -1603,11 +1713,11 @@
1603
1713
  min-height: 2em;
1604
1714
  padding: 0 0.5em;
1605
1715
  align-items: center;
1606
- border-radius: 4px;
1716
+ border-radius: var(--pk-radius-xs);
1607
1717
  cursor: pointer;
1608
1718
  }
1609
1719
  .pk-picker-option[aria-selected=true] {
1610
- font-weight: 600;
1720
+ font-weight: var(--pk-weight-strong);
1611
1721
  }
1612
1722
  .pk-picker-active {
1613
1723
  background: var(--pk-accent-soft);
@@ -1626,7 +1736,7 @@
1626
1736
  background: transparent;
1627
1737
  color: var(--pk-accent);
1628
1738
  font-size: var(--pk-small);
1629
- font-weight: 600;
1739
+ font-weight: var(--pk-weight-strong);
1630
1740
  cursor: pointer;
1631
1741
  transition: background var(--pk-duration), color var(--pk-duration);
1632
1742
  }
@@ -1718,8 +1828,8 @@
1718
1828
  transform: translateX(0.9em);
1719
1829
  }
1720
1830
  .pk-switch input:focus-visible + .pk-switch-track {
1721
- outline: 2px solid var(--pk-focus);
1722
- outline-offset: 2px;
1831
+ outline: var(--pk-focus-width) solid var(--pk-focus);
1832
+ outline-offset: var(--pk-focus-offset);
1723
1833
  }
1724
1834
  .pk-filter {
1725
1835
  display: flex;
@@ -1731,7 +1841,7 @@
1731
1841
  }
1732
1842
  .pk-filter > * {
1733
1843
  flex: none;
1734
- margin-inline: 4px;
1844
+ margin-inline: calc(var(--pk-focus-width) + var(--pk-focus-offset));
1735
1845
  }
1736
1846
  .pk-filter > .pk-filter-body {
1737
1847
  display: flex;
@@ -1740,7 +1850,7 @@
1740
1850
  gap: 8px;
1741
1851
  min-height: 0;
1742
1852
  margin-inline: 0;
1743
- padding: 4px;
1853
+ padding: calc(var(--pk-focus-width) + var(--pk-focus-offset));
1744
1854
  overflow-y: auto;
1745
1855
  overscroll-behavior: contain;
1746
1856
  }
@@ -1759,7 +1869,7 @@
1759
1869
  }
1760
1870
  .pk-popover-head h3 {
1761
1871
  font-size: 1em;
1762
- font-weight: 650;
1872
+ font-weight: var(--pk-weight-strong);
1763
1873
  }
1764
1874
  .pk-filter-actions {
1765
1875
  display: flex;
@@ -1778,7 +1888,7 @@
1778
1888
  .pk-value {
1779
1889
  display: flex;
1780
1890
  align-items: center;
1781
- border-radius: 5px;
1891
+ border-radius: var(--pk-radius-mark);
1782
1892
  }
1783
1893
  .pk-value:hover {
1784
1894
  background: var(--pk-surface-3);
@@ -1833,7 +1943,7 @@
1833
1943
  margin-bottom: 4px;
1834
1944
  color: var(--pk-muted);
1835
1945
  font-size: var(--pk-small);
1836
- font-weight: 650;
1946
+ font-weight: var(--pk-weight-strong);
1837
1947
  }
1838
1948
  .pk-popover-foot {
1839
1949
  display: flex;
@@ -1855,7 +1965,7 @@
1855
1965
  }
1856
1966
  .pk-issues summary {
1857
1967
  padding: 0.15em 0;
1858
- font-weight: 600;
1968
+ font-weight: var(--pk-weight-strong);
1859
1969
  cursor: pointer;
1860
1970
  }
1861
1971
  .pk-issues ul {
@@ -1967,7 +2077,7 @@
1967
2077
  border-bottom: 1px solid var(--pk-grid);
1968
2078
  white-space: nowrap;
1969
2079
  text-align: left;
1970
- font-weight: 400;
2080
+ font-weight: var(--pk-weight-normal);
1971
2081
  }
1972
2082
  .pk-table thead th {
1973
2083
  position: sticky;
@@ -1976,7 +2086,7 @@
1976
2086
  border-bottom-color: var(--pk-border);
1977
2087
  color: var(--pk-muted);
1978
2088
  font-size: var(--pk-small);
1979
- font-weight: 650;
2089
+ font-weight: var(--pk-weight-strong);
1980
2090
  }
1981
2091
  .pk-table thead th.pk-colHeader {
1982
2092
  text-align: right;
@@ -1996,7 +2106,7 @@
1996
2106
  .pk-table tbody th {
1997
2107
  z-index: 1;
1998
2108
  background: var(--pk-surface);
1999
- font-weight: 500;
2109
+ font-weight: var(--pk-weight-medium);
2000
2110
  vertical-align: middle;
2001
2111
  border-right: 1px solid var(--pk-grid);
2002
2112
  }
@@ -2017,7 +2127,10 @@
2017
2127
  }
2018
2128
  .pk-table :is(tbody th.pk-rowHeader, thead th.pk-corner) .pk-th-content {
2019
2129
  width: max-content;
2020
- max-width: max(5.5em, calc(40cqi / var(--pk-row-cols, 1)));
2130
+ max-width: max(5.5em, calc(var(--pk-row-share, 40cqi) / var(--pk-row-cols, 1)));
2131
+ }
2132
+ .pk-table.pk-labels-only {
2133
+ --pk-row-share: 85cqi;
2021
2134
  }
2022
2135
  .pk-table thead tr:last-child th.pk-colHeader .pk-th-content {
2023
2136
  width: max-content;
@@ -2069,7 +2182,7 @@
2069
2182
  min-height: var(--pk-target);
2070
2183
  padding: 0;
2071
2184
  border: 0;
2072
- border-radius: 4px;
2185
+ border-radius: var(--pk-radius-xs);
2073
2186
  background: transparent;
2074
2187
  color: inherit;
2075
2188
  font: inherit;
@@ -2111,20 +2224,23 @@
2111
2224
  background: color-mix(in srgb, var(--pk-accent) 5%, var(--pk-surface));
2112
2225
  }
2113
2226
  .pk-clickable:hover {
2114
- box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pk-accent) 60%, transparent);
2227
+ box-shadow: inset 0 0 0 calc(var(--pk-ring-width) * 0.75) color-mix(in srgb, var(--pk-accent) 60%, transparent);
2115
2228
  }
2116
2229
  .pk-clickable:focus-visible {
2117
- outline: 2px solid var(--pk-focus);
2118
- outline-offset: -2px;
2230
+ outline: var(--pk-focus-width) solid var(--pk-focus);
2231
+ outline-offset: calc(-1 * var(--pk-focus-width));
2119
2232
  border-radius: 0;
2120
2233
  }
2121
2234
  .pk-table :is(td, th).pk-sub {
2122
2235
  background: var(--pk-total);
2123
- font-weight: 600;
2236
+ font-weight: var(--pk-weight-strong);
2237
+ }
2238
+ .pk-table :is(td, th).pk-sub-start {
2239
+ border-left: 1px solid var(--pk-border-strong);
2124
2240
  }
2125
2241
  .pk-table :is(td, th).pk-grand {
2126
2242
  background: var(--pk-total-strong);
2127
- font-weight: 700;
2243
+ font-weight: var(--pk-weight-bold);
2128
2244
  }
2129
2245
  .pk-table tbody tr.pk-grand > :is(td, th) {
2130
2246
  border-top: 1px solid var(--pk-border-strong);
@@ -2154,7 +2270,7 @@
2154
2270
  margin-left: -0.45em;
2155
2271
  padding: 0;
2156
2272
  border: 0;
2157
- border-radius: 5px;
2273
+ border-radius: var(--pk-radius-mark);
2158
2274
  background: transparent;
2159
2275
  color: var(--pk-muted);
2160
2276
  cursor: pointer;
@@ -2217,7 +2333,7 @@
2217
2333
  }
2218
2334
  .pk-empty h2 {
2219
2335
  font-size: 1.25em;
2220
- font-weight: 650;
2336
+ font-weight: var(--pk-weight-strong);
2221
2337
  }
2222
2338
  .pk-empty-art {
2223
2339
  position: relative;
@@ -2276,7 +2392,7 @@
2276
2392
  background: var(--pk-accent);
2277
2393
  color: var(--pk-accent-text);
2278
2394
  font-size: var(--pk-small);
2279
- font-weight: 700;
2395
+ font-weight: var(--pk-weight-bold);
2280
2396
  }
2281
2397
  .pk-empty-actions {
2282
2398
  display: flex;
@@ -2329,11 +2445,11 @@
2329
2445
  }
2330
2446
  .pk-drill-head h2 {
2331
2447
  font-size: 1.07em;
2332
- font-weight: 650;
2448
+ font-weight: var(--pk-weight-strong);
2333
2449
  }
2334
2450
  .pk-drill-path {
2335
2451
  margin-top: 2px !important;
2336
- font-weight: 550;
2452
+ font-weight: var(--pk-weight-strong);
2337
2453
  }
2338
2454
  .pk-drill-body {
2339
2455
  flex: 1;
@@ -2359,7 +2475,7 @@
2359
2475
  top: 0;
2360
2476
  background: var(--pk-surface-2);
2361
2477
  color: var(--pk-muted);
2362
- font-weight: 650;
2478
+ font-weight: var(--pk-weight-strong);
2363
2479
  }
2364
2480
  .pk-drill-table .pk-num {
2365
2481
  text-align: right;
@@ -2501,7 +2617,7 @@
2501
2617
  }
2502
2618
  .pk-learn-more {
2503
2619
  color: var(--pk-accent);
2504
- font-weight: 600;
2620
+ font-weight: var(--pk-weight-strong);
2505
2621
  }
2506
2622
  .pk-shortcuts {
2507
2623
  display: grid;
@@ -2521,7 +2637,7 @@
2521
2637
  .pk-shortcut kbd {
2522
2638
  padding: 0 0.35em;
2523
2639
  border: 1px solid var(--pk-border);
2524
- border-radius: 4px;
2640
+ border-radius: var(--pk-radius-xs);
2525
2641
  background: var(--pk-surface-2);
2526
2642
  font: inherit;
2527
2643
  }
@@ -2550,11 +2666,11 @@
2550
2666
  .pk-btn.pk-danger-btn {
2551
2667
  border-color: var(--pk-danger);
2552
2668
  color: var(--pk-danger);
2553
- font-weight: 600;
2669
+ font-weight: var(--pk-weight-strong);
2554
2670
  }
2555
2671
  .pk-confirm-text {
2556
2672
  flex: 1 1 100%;
2557
- font-weight: 600;
2673
+ font-weight: var(--pk-weight-strong);
2558
2674
  }
2559
2675
  .pk-save-confirm {
2560
2676
  display: flex;
@@ -2658,19 +2774,14 @@
2658
2774
  background: var(--pk-surface);
2659
2775
  color: var(--pk-text);
2660
2776
  font: inherit;
2661
- font-family:
2662
- ui-monospace,
2663
- SFMono-Regular,
2664
- Menlo,
2665
- Consolas,
2666
- monospace;
2777
+ font-family: var(--pk-font-mono);
2667
2778
  font-size: var(--pk-small);
2668
2779
  resize: vertical;
2669
2780
  }
2670
2781
  .pk-clear-input > textarea:focus {
2671
2782
  outline: none;
2672
2783
  border-color: var(--pk-accent);
2673
- box-shadow: 0 0 0 3px var(--pk-accent-soft);
2784
+ box-shadow: 0 0 0 var(--pk-glow-width) var(--pk-accent-soft);
2674
2785
  }
2675
2786
  .pk-clear-input > input[type=search]::-webkit-search-cancel-button {
2676
2787
  display: none;
@@ -2707,7 +2818,7 @@
2707
2818
  .pk-option.pk-accent,
2708
2819
  .pk-option.pk-accent .pk-option-icon {
2709
2820
  color: var(--pk-accent);
2710
- font-weight: 600;
2821
+ font-weight: var(--pk-weight-strong);
2711
2822
  }
2712
2823
  .pk-menu-hint {
2713
2824
  margin: 0;
@@ -2929,7 +3040,7 @@
2929
3040
  display: flex;
2930
3041
  align-items: center;
2931
3042
  gap: 0.4em;
2932
- font-weight: 600;
3043
+ font-weight: var(--pk-weight-strong);
2933
3044
  }
2934
3045
  .pk-load-check-title .pk-icon {
2935
3046
  color: var(--pk-accent);
@@ -3010,7 +3121,7 @@
3010
3121
  border: 0;
3011
3122
  border-radius: var(--pk-radius);
3012
3123
  background: var(--pk-scrim);
3013
- box-shadow: inset 0 0 0 3px var(--pk-accent);
3124
+ box-shadow: inset 0 0 0 calc(var(--pk-ring-width) * 1.5) var(--pk-accent);
3014
3125
  pointer-events: none;
3015
3126
  }
3016
3127
  .pk-drop > div,
@@ -3075,3 +3186,6 @@
3075
3186
  padding: 0 8px;
3076
3187
  overflow-wrap: anywhere;
3077
3188
  }
3189
+ .pk-level-form > .pk-top-shown {
3190
+ padding-left: calc(1.7em + 0.6em);
3191
+ }