pivotkit-react 0.3.0 → 0.5.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 (73) hide show
  1. package/CHANGELOG.md +339 -1
  2. package/README.md +2 -2
  3. package/dist/chunks/{chunk-IOPAM4JD.js → chunk-2AT72SLA.js} +635 -980
  4. package/dist/chunks/chunk-3E4NB5RZ.js +215 -0
  5. package/dist/chunks/{chunk-32Z33U6S.js → chunk-3WUGQPWV.js} +106 -9
  6. package/dist/chunks/{chunk-7CC4JHDY.js → chunk-4RS72AAA.js} +27 -8
  7. package/dist/chunks/{chunk-EM23V5GH.js → chunk-E6M57YLL.js} +19 -8
  8. package/dist/chunks/{chunk-RWYHJRQO.js → chunk-JMRTIOX4.js} +17 -7
  9. package/dist/chunks/chunk-RIOSIYGC.js +665 -0
  10. package/dist/chunks/{chunk-APB4NW4O.js → chunk-U5Q5I2D5.js} +36 -10
  11. package/dist/chunks/report-run-BZBFOMPF.js +12 -0
  12. package/dist/chunks/{unused-texts-K3VFH65P.js → unused-texts-Y4R67XSN.js} +1 -1
  13. package/dist/chunks/{unused-texts-de-OW4TGIVX.js → unused-texts-de-6YVPTNVS.js} +1 -1
  14. package/dist/echarts.js +38 -156
  15. package/dist/import-ui.js +765 -0
  16. package/dist/import-worker.js +20 -0
  17. package/dist/index.js +683 -244
  18. package/dist/labels.js +14 -10
  19. package/dist/menu-texts-de.js +1 -1
  20. package/dist/menus.js +768 -299
  21. package/dist/styles.css +322 -100
  22. package/package.json +9 -4
  23. package/types/chart-decorate.d.ts +28 -4
  24. package/types/chart-types.d.ts +2 -4
  25. package/types/data-history.d.ts +85 -0
  26. package/types/data-keep.d.ts +51 -0
  27. package/types/data-menu.d.ts +11 -0
  28. package/types/dom.d.ts +40 -7
  29. package/types/echarts.d.ts +1 -1
  30. package/types/export-run.d.ts +37 -3
  31. package/types/field-info.d.ts +32 -0
  32. package/types/filter.d.ts +1 -1
  33. package/types/icons.d.ts +1 -0
  34. package/types/import-host.d.ts +53 -0
  35. package/types/import-labels.d.ts +401 -0
  36. package/types/import-limits.d.ts +6 -0
  37. package/types/import-module.d.ts +2 -0
  38. package/types/import-run.d.ts +73 -0
  39. package/types/import-source.d.ts +32 -0
  40. package/types/import-steps.d.ts +121 -0
  41. package/types/import-ui.d.ts +108 -0
  42. package/types/import-worker.d.ts +1 -0
  43. package/types/index.d.ts +81 -11
  44. package/types/labels.d.ts +224 -4
  45. package/types/lazy-import.d.ts +4 -0
  46. package/types/lazy-menus.d.ts +2 -2
  47. package/types/levels.d.ts +3 -2
  48. package/types/light-tokens.d.ts +16 -0
  49. package/types/menu-labels.d.ts +37 -17
  50. package/types/menu-ops.d.ts +161 -40
  51. package/types/menu-topics.d.ts +9 -8
  52. package/types/menus.d.ts +1 -0
  53. package/types/names.d.ts +47 -19
  54. package/types/overflow.d.ts +29 -17
  55. package/types/place.d.ts +24 -0
  56. package/types/popover.d.ts +47 -5
  57. package/types/print-frame.d.ts +24 -0
  58. package/types/report-run.d.ts +14 -0
  59. package/types/section.d.ts +2 -2
  60. package/types/share-actions.d.ts +3 -3
  61. package/types/share.d.ts +13 -17
  62. package/types/theme.d.ts +2 -16
  63. package/types/tips.d.ts +5 -0
  64. package/types/toasts.d.ts +1 -1
  65. package/types/toolbar-panels.d.ts +11 -9
  66. package/types/unused-keep.d.ts +20 -0
  67. package/types/unused-texts.d.ts +13 -3
  68. package/types/unused.d.ts +1 -0
  69. package/types/use-export.d.ts +2 -2
  70. package/types/use-view-history.d.ts +12 -4
  71. package/types/view-ops.d.ts +65 -6
  72. package/types/virtual.d.ts +15 -0
  73. package/types/chart-layout.d.ts +0 -111
package/dist/styles.css CHANGED
@@ -4,18 +4,39 @@
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
- --pk-panel-w: 268px;
31
+ --pk-panel-w: 288px;
11
32
  --pk-rail-w: 40px;
12
33
  --pk-duration: 180ms;
13
34
  --pk-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
35
+ --pk-layer-z: 50;
14
36
  --pk-heat-low: #eaf1fb;
15
37
  --pk-heat-high: #2a78d6;
16
- --pk-scale-low: #f8696b;
17
- --pk-scale-mid: #ffeb84;
18
- --pk-scale-high: #63be7b;
38
+ --pk-scale-low: var(--pk-heat-low);
39
+ --pk-scale-high: var(--pk-heat-high);
19
40
  color-scheme: light;
20
41
  --pk-surface: #ffffff;
21
42
  --pk-surface-2: #f6f7f9;
@@ -27,12 +48,13 @@
27
48
  --pk-border-strong: #c3c9d2;
28
49
  --pk-input-border: #7d8592;
29
50
  --pk-drop-border: #868e9a;
51
+ --pk-rule: #868e9a;
30
52
  --pk-grid: #edf0f3;
31
53
  --pk-accent: #2b5fd9;
32
54
  --pk-accent-text: #ffffff;
33
55
  --pk-accent-soft: #e9effc;
34
56
  --pk-drop: #dfe8fd;
35
- --pk-total: #f4f6f9;
57
+ --pk-total: #eef1f5;
36
58
  --pk-total-strong: #e9edf3;
37
59
  --pk-danger: #b42318;
38
60
  --pk-danger-soft: #fdecea;
@@ -70,12 +92,13 @@
70
92
  --pk-border-strong: #454c58;
71
93
  --pk-input-border: #737b88;
72
94
  --pk-drop-border: #6f7785;
95
+ --pk-rule: #6f7785;
73
96
  --pk-grid: #23272e;
74
97
  --pk-accent: #84a3ff;
75
98
  --pk-accent-text: #0d1426;
76
99
  --pk-accent-soft: #232d48;
77
100
  --pk-drop: #263a6b;
78
- --pk-total: #1d2128;
101
+ --pk-total: #21252d;
79
102
  --pk-total-strong: #252a33;
80
103
  --pk-danger: #ff8b80;
81
104
  --pk-danger-soft: #3a1f1d;
@@ -93,9 +116,6 @@
93
116
  --pk-type-boolean: #f08cc6;
94
117
  --pk-heat-low: #1d2735;
95
118
  --pk-heat-high: #3987e5;
96
- --pk-scale-low: #c2413f;
97
- --pk-scale-mid: #b39a2e;
98
- --pk-scale-high: #3f9a5c;
99
119
  --pk-chart-1: #3987e5;
100
120
  --pk-chart-2: #d95926;
101
121
  --pk-chart-3: #199e70;
@@ -139,7 +159,7 @@
139
159
  .pk-root *::after {
140
160
  box-sizing: border-box;
141
161
  }
142
- .pk-root :is(button, input, select, textarea) {
162
+ .pk-root :where(button, input, select, textarea) {
143
163
  font: inherit;
144
164
  color: inherit;
145
165
  }
@@ -147,8 +167,8 @@
147
167
  margin: 0;
148
168
  }
149
169
  .pk-root :focus-visible {
150
- outline: 2px solid var(--pk-focus);
151
- outline-offset: 2px;
170
+ outline: var(--pk-focus-width) solid var(--pk-focus);
171
+ outline-offset: var(--pk-focus-offset);
152
172
  border-radius: var(--pk-radius-sm);
153
173
  }
154
174
  .pk-sr {
@@ -159,9 +179,20 @@
159
179
  margin: -1px;
160
180
  overflow: hidden;
161
181
  clip: rect(0, 0, 0, 0);
182
+ clip-path: inset(50%);
162
183
  white-space: nowrap;
163
184
  border: 0;
164
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
+ }
165
196
  .pk-muted {
166
197
  color: var(--pk-muted);
167
198
  }
@@ -175,7 +206,7 @@
175
206
  border-radius: var(--pk-radius-sm);
176
207
  background: var(--pk-surface-raised);
177
208
  color: var(--pk-accent);
178
- font-weight: 600;
209
+ font-weight: var(--pk-weight-strong);
179
210
  cursor: pointer;
180
211
  }
181
212
  .pk-skip:not(:focus) {
@@ -207,14 +238,15 @@
207
238
  box-shadow var(--pk-duration),
208
239
  transform var(--pk-duration);
209
240
  }
210
- .pk-btn:hover:not(:disabled) {
241
+ .pk-btn:hover:not(:disabled, .pk-off) {
211
242
  background: var(--pk-surface-3);
212
243
  border-color: var(--pk-border-strong);
213
244
  }
214
- .pk-btn:active:not(:disabled) {
245
+ .pk-btn:active:not(:disabled, .pk-off) {
215
246
  transform: translateY(1px);
216
247
  }
217
- .pk-btn:disabled {
248
+ .pk-btn:disabled,
249
+ .pk-btn.pk-off {
218
250
  opacity: 0.45;
219
251
  cursor: default;
220
252
  }
@@ -228,7 +260,7 @@
228
260
  background: var(--pk-accent);
229
261
  border-color: var(--pk-accent);
230
262
  color: var(--pk-accent-text);
231
- font-weight: 600;
263
+ font-weight: var(--pk-weight-strong);
232
264
  }
233
265
  .pk-btn.pk-primary:hover:not(:disabled) {
234
266
  background: color-mix(in srgb, var(--pk-accent) 88%, var(--pk-text));
@@ -250,7 +282,8 @@
250
282
  cursor: pointer;
251
283
  transition: background var(--pk-duration), color var(--pk-duration);
252
284
  }
253
- .pk-icon-btn:hover {
285
+ .pk-icon-btn:hover,
286
+ .pk-icon-btn[aria-haspopup][aria-expanded=true] {
254
287
  background: var(--pk-surface-3);
255
288
  color: var(--pk-text);
256
289
  }
@@ -260,9 +293,9 @@
260
293
  border: 0;
261
294
  background: none;
262
295
  color: var(--pk-accent);
263
- font-weight: 600;
296
+ font-weight: var(--pk-weight-strong);
264
297
  cursor: pointer;
265
- border-radius: 4px;
298
+ border-radius: var(--pk-radius-xs);
266
299
  }
267
300
  .pk-link:hover {
268
301
  text-decoration: underline;
@@ -286,7 +319,7 @@
286
319
  background: transparent;
287
320
  color: var(--pk-muted);
288
321
  cursor: pointer;
289
- font-weight: 500;
322
+ font-weight: var(--pk-weight-medium);
290
323
  transition:
291
324
  background var(--pk-duration),
292
325
  color var(--pk-duration),
@@ -319,7 +352,7 @@
319
352
  min-height: 0;
320
353
  }
321
354
  .pk-root[data-pk-size=medium] .pk-layout {
322
- grid-template-columns: min(var(--pk-panel-w), 244px) minmax(0, 1fr);
355
+ grid-template-columns: min(var(--pk-panel-w), 284px) minmax(0, 1fr);
323
356
  }
324
357
  .pk-root[data-pk-fields] .pk-layout {
325
358
  grid-template-columns: var(--pk-rail-w) minmax(0, 1fr);
@@ -339,7 +372,7 @@
339
372
  background: none;
340
373
  color: var(--pk-text);
341
374
  font: inherit;
342
- font-weight: 650;
375
+ font-weight: var(--pk-weight-strong);
343
376
  cursor: pointer;
344
377
  }
345
378
  .pk-rail-open:hover {
@@ -382,7 +415,7 @@
382
415
  }
383
416
  .pk-panel-title {
384
417
  font-size: 1.07em;
385
- font-weight: 650;
418
+ font-weight: var(--pk-weight-strong);
386
419
  }
387
420
  .pk-panel > .pk-hint {
388
421
  padding-right: 4px;
@@ -401,7 +434,7 @@
401
434
  }
402
435
  .pk-search:focus-within {
403
436
  border-color: var(--pk-accent);
404
- box-shadow: 0 0 0 3px var(--pk-accent-soft);
437
+ box-shadow: 0 0 0 var(--pk-glow-width) var(--pk-accent-soft);
405
438
  }
406
439
  .pk-search input {
407
440
  flex: 1;
@@ -455,7 +488,7 @@
455
488
  color: var(--pk-muted);
456
489
  opacity: 0.8;
457
490
  cursor: grab;
458
- border-radius: 5px;
491
+ border-radius: var(--pk-radius-mark);
459
492
  touch-action: none;
460
493
  }
461
494
  .pk-field:hover .pk-handle,
@@ -469,7 +502,7 @@
469
502
  width: 1.55em;
470
503
  height: 1.55em;
471
504
  flex: none;
472
- border-radius: 6px;
505
+ border-radius: var(--pk-radius-icon);
473
506
  background: color-mix(in srgb, currentColor 13%, transparent);
474
507
  }
475
508
  .pk-type-string,
@@ -502,12 +535,19 @@
502
535
  line-clamp: 2;
503
536
  width: 100%;
504
537
  overflow: hidden;
505
- overflow-wrap: anywhere;
506
538
  white-space: normal;
507
539
  line-height: 1.3;
508
540
  }
541
+ .pk-field-title .pk-word {
542
+ display: inline-block;
543
+ max-width: 100%;
544
+ overflow: hidden;
545
+ text-overflow: ellipsis;
546
+ white-space: nowrap;
547
+ vertical-align: top;
548
+ }
509
549
  .pk-placed .pk-field-name {
510
- font-weight: 600;
550
+ font-weight: var(--pk-weight-strong);
511
551
  }
512
552
  .pk-badges {
513
553
  display: inline-flex;
@@ -518,24 +558,22 @@
518
558
  place-items: center;
519
559
  width: 1.45em;
520
560
  height: 1.45em;
521
- border-radius: 5px;
561
+ border-radius: var(--pk-radius-mark);
522
562
  background: var(--pk-accent-soft);
523
563
  color: var(--pk-accent);
524
564
  }
525
565
  .pk-field-menu {
526
- opacity: 0.6;
566
+ width: var(--pk-target);
527
567
  }
528
- .pk-field:hover .pk-field-menu,
529
- .pk-field-menu:focus-visible,
530
- .pk-field-menu[aria-expanded=true] {
531
- opacity: 1;
568
+ .pk-field:hover .pk-field-menu {
569
+ color: var(--pk-text);
532
570
  }
533
571
  .pk-panel.pk-removing {
534
572
  background: color-mix(in srgb, var(--pk-danger) 5%, var(--pk-surface-2));
535
573
  }
536
574
  .pk-panel.pk-over {
537
575
  background: color-mix(in srgb, var(--pk-danger) 12%, var(--pk-surface-2));
538
- 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);
539
577
  }
540
578
  .pk-remove-hint {
541
579
  position: absolute;
@@ -549,7 +587,7 @@
549
587
  border-radius: var(--pk-radius-sm);
550
588
  background: var(--pk-surface);
551
589
  color: var(--pk-danger);
552
- font-weight: 600;
590
+ font-weight: var(--pk-weight-strong);
553
591
  animation: pk-rise var(--pk-duration) var(--pk-ease);
554
592
  }
555
593
  .pk-toolbar {
@@ -663,7 +701,7 @@
663
701
  }
664
702
  .pk-zones-summary-zone {
665
703
  color: var(--pk-muted);
666
- font-weight: 650;
704
+ font-weight: var(--pk-weight-strong);
667
705
  }
668
706
  .pk-zone {
669
707
  position: relative;
@@ -687,7 +725,7 @@
687
725
  border-style: solid;
688
726
  border-color: var(--pk-accent);
689
727
  background: var(--pk-drop);
690
- box-shadow: 0 0 0 3px var(--pk-accent-soft);
728
+ box-shadow: 0 0 0 var(--pk-glow-width) var(--pk-accent-soft);
691
729
  }
692
730
  .pk-zone.pk-flash {
693
731
  animation: pk-flash 600ms var(--pk-ease);
@@ -734,7 +772,7 @@
734
772
  gap: 0.4em;
735
773
  color: var(--pk-muted);
736
774
  font-size: var(--pk-small);
737
- font-weight: 650;
775
+ font-weight: var(--pk-weight-strong);
738
776
  letter-spacing: 0.02em;
739
777
  text-transform: uppercase;
740
778
  }
@@ -800,7 +838,7 @@
800
838
  border-radius: 999px;
801
839
  background: transparent;
802
840
  cursor: pointer;
803
- font-weight: 550;
841
+ font-weight: var(--pk-weight-strong);
804
842
  white-space: nowrap;
805
843
  }
806
844
  .pk-chip-label:hover,
@@ -862,18 +900,23 @@
862
900
  box-shadow: var(--pk-shadow-lg);
863
901
  cursor: grabbing;
864
902
  transform: rotate(-2deg);
865
- font-weight: 600;
903
+ font-weight: var(--pk-weight-strong);
866
904
  animation: none;
867
905
  }
868
906
  .pk-layer {
869
907
  position: absolute;
870
908
  inset: 0;
871
909
  pointer-events: none;
872
- z-index: 50;
910
+ z-index: var(--pk-layer-z);
873
911
  }
874
912
  .pk-layer > * {
875
913
  pointer-events: auto;
876
914
  }
915
+ .pk-layer > [popover] {
916
+ inset: auto;
917
+ margin: 0;
918
+ height: auto;
919
+ }
877
920
  .pk-layer > .pk-origin {
878
921
  position: fixed;
879
922
  top: 0;
@@ -932,7 +975,7 @@
932
975
  background: var(--pk-accent-soft);
933
976
  color: var(--pk-accent);
934
977
  font-size: var(--pk-small);
935
- font-weight: 600;
978
+ font-weight: var(--pk-weight-strong);
936
979
  }
937
980
  .pk-filter-popover {
938
981
  width: 340px;
@@ -958,6 +1001,11 @@
958
1001
  }
959
1002
  .pk-layer > .pk-scrim {
960
1003
  position: fixed;
1004
+ inset: 0;
1005
+ width: auto;
1006
+ height: auto;
1007
+ padding: 0;
1008
+ border: 0;
961
1009
  }
962
1010
  .pk-section {
963
1011
  display: flex;
@@ -965,11 +1013,21 @@
965
1013
  gap: 1px;
966
1014
  padding: 4px 0;
967
1015
  }
968
- .pk-section + .pk-section {
969
- border-top: 1px solid var(--pk-border);
1016
+ .pk-section:not(:first-child) {
1017
+ border-top: 1px solid var(--pk-rule);
970
1018
  margin-top: 2px;
971
1019
  padding-top: 6px;
972
1020
  }
1021
+ .pk-subsection {
1022
+ display: flex;
1023
+ flex-direction: column;
1024
+ gap: 1px;
1025
+ }
1026
+ .pk-subsection + .pk-subsection {
1027
+ border-top: 1px dashed var(--pk-border);
1028
+ margin-top: 4px;
1029
+ padding-top: 4px;
1030
+ }
973
1031
  .pk-section-head {
974
1032
  display: flex;
975
1033
  align-items: center;
@@ -979,7 +1037,7 @@
979
1037
  padding: 2px 8px 4px;
980
1038
  color: var(--pk-muted);
981
1039
  font-size: var(--pk-small);
982
- font-weight: 650;
1040
+ font-weight: var(--pk-weight-strong);
983
1041
  }
984
1042
  .pk-section-mark {
985
1043
  color: var(--pk-accent);
@@ -1021,7 +1079,7 @@
1021
1079
  .pk-option:hover:not(:disabled),
1022
1080
  .pk-option:focus-visible {
1023
1081
  background: var(--pk-surface-3);
1024
- outline-offset: -2px;
1082
+ outline-offset: calc(-1 * var(--pk-focus-width));
1025
1083
  }
1026
1084
  .pk-option:disabled {
1027
1085
  opacity: 0.45;
@@ -1035,7 +1093,7 @@
1035
1093
  color: var(--pk-muted);
1036
1094
  }
1037
1095
  .pk-option.pk-checked {
1038
- font-weight: 600;
1096
+ font-weight: var(--pk-weight-strong);
1039
1097
  }
1040
1098
  .pk-option.pk-checked .pk-option-icon {
1041
1099
  color: var(--pk-accent);
@@ -1054,7 +1112,7 @@
1054
1112
  .pk-option-hint {
1055
1113
  color: var(--pk-muted);
1056
1114
  font-size: var(--pk-small);
1057
- font-weight: 400;
1115
+ font-weight: var(--pk-weight-normal);
1058
1116
  }
1059
1117
  .pk-inline-form {
1060
1118
  display: flex;
@@ -1067,6 +1125,7 @@
1067
1125
  .pk-inline-form input[type=number],
1068
1126
  .pk-inline-form select,
1069
1127
  .pk-condition select,
1128
+ .pk-import select,
1070
1129
  .pk-condition input {
1071
1130
  flex: 1;
1072
1131
  min-width: 6em;
@@ -1081,7 +1140,7 @@
1081
1140
  .pk-condition :is(select, input):focus {
1082
1141
  outline: none;
1083
1142
  border-color: var(--pk-accent);
1084
- box-shadow: 0 0 0 3px var(--pk-accent-soft);
1143
+ box-shadow: 0 0 0 var(--pk-glow-width) var(--pk-accent-soft);
1085
1144
  }
1086
1145
  .pk-field-label {
1087
1146
  display: flex;
@@ -1146,7 +1205,7 @@
1146
1205
  margin: 0;
1147
1206
  overflow-wrap: anywhere;
1148
1207
  font-size: 1em;
1149
- font-weight: 650;
1208
+ font-weight: var(--pk-weight-strong);
1150
1209
  }
1151
1210
  .pk-level-head {
1152
1211
  padding-left: 0;
@@ -1191,7 +1250,7 @@
1191
1250
  gap: 0.3em;
1192
1251
  min-width: 0;
1193
1252
  color: var(--pk-muted);
1194
- font-weight: 400;
1253
+ font-weight: var(--pk-weight-normal);
1195
1254
  }
1196
1255
  .pk-topic-chevron {
1197
1256
  flex: none;
@@ -1212,15 +1271,15 @@
1212
1271
  gap: 0.55em;
1213
1272
  }
1214
1273
  .pk-topic-seg .pk-segmented > button:focus-visible {
1215
- outline: 2px solid var(--pk-focus);
1216
- outline-offset: -2px;
1274
+ outline: var(--pk-focus-width) solid var(--pk-focus);
1275
+ outline-offset: calc(-1 * var(--pk-focus-width));
1217
1276
  }
1218
1277
  .pk-item-hint {
1219
1278
  margin-left: auto;
1220
1279
  padding-left: 1em;
1221
1280
  color: var(--pk-muted);
1222
1281
  font-size: var(--pk-small);
1223
- font-weight: 400;
1282
+ font-weight: var(--pk-weight-normal);
1224
1283
  white-space: nowrap;
1225
1284
  }
1226
1285
  .pk-option.pk-disabled {
@@ -1257,7 +1316,7 @@
1257
1316
  }
1258
1317
  .pk-summary-head {
1259
1318
  grid-column: 1;
1260
- font-weight: 700;
1319
+ font-weight: var(--pk-weight-bold);
1261
1320
  }
1262
1321
  .pk-summary-why {
1263
1322
  grid-column: 1;
@@ -1307,7 +1366,7 @@
1307
1366
  background: var(--pk-surface-3);
1308
1367
  }
1309
1368
  .pk-fsection-title {
1310
- font-weight: 600;
1369
+ font-weight: var(--pk-weight-strong);
1311
1370
  }
1312
1371
  .pk-fsection-state {
1313
1372
  flex: 1;
@@ -1382,11 +1441,11 @@
1382
1441
  .pk-rule-body > .pk-by,
1383
1442
  .pk-rule-body > .pk-by-pick {
1384
1443
  flex-basis: 100%;
1385
- font-weight: 600;
1444
+ font-weight: var(--pk-weight-strong);
1386
1445
  }
1387
1446
  .pk-rule-body > .pk-rule-lead {
1388
1447
  color: var(--pk-muted);
1389
- font-weight: 400;
1448
+ font-weight: var(--pk-weight-normal);
1390
1449
  }
1391
1450
  .pk-rule-body .pk-narrow-input {
1392
1451
  flex: 1 1 6em;
@@ -1432,6 +1491,89 @@
1432
1491
  .pk-quick-hidden {
1433
1492
  margin: 0;
1434
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
+ }
1435
1577
  .pk-years-hint {
1436
1578
  margin: 0;
1437
1579
  }
@@ -1571,11 +1713,11 @@
1571
1713
  min-height: 2em;
1572
1714
  padding: 0 0.5em;
1573
1715
  align-items: center;
1574
- border-radius: 4px;
1716
+ border-radius: var(--pk-radius-xs);
1575
1717
  cursor: pointer;
1576
1718
  }
1577
1719
  .pk-picker-option[aria-selected=true] {
1578
- font-weight: 600;
1720
+ font-weight: var(--pk-weight-strong);
1579
1721
  }
1580
1722
  .pk-picker-active {
1581
1723
  background: var(--pk-accent-soft);
@@ -1594,7 +1736,7 @@
1594
1736
  background: transparent;
1595
1737
  color: var(--pk-accent);
1596
1738
  font-size: var(--pk-small);
1597
- font-weight: 600;
1739
+ font-weight: var(--pk-weight-strong);
1598
1740
  cursor: pointer;
1599
1741
  transition: background var(--pk-duration), color var(--pk-duration);
1600
1742
  }
@@ -1686,8 +1828,8 @@
1686
1828
  transform: translateX(0.9em);
1687
1829
  }
1688
1830
  .pk-switch input:focus-visible + .pk-switch-track {
1689
- outline: 2px solid var(--pk-focus);
1690
- outline-offset: 2px;
1831
+ outline: var(--pk-focus-width) solid var(--pk-focus);
1832
+ outline-offset: var(--pk-focus-offset);
1691
1833
  }
1692
1834
  .pk-filter {
1693
1835
  display: flex;
@@ -1699,7 +1841,7 @@
1699
1841
  }
1700
1842
  .pk-filter > * {
1701
1843
  flex: none;
1702
- margin-inline: 4px;
1844
+ margin-inline: calc(var(--pk-focus-width) + var(--pk-focus-offset));
1703
1845
  }
1704
1846
  .pk-filter > .pk-filter-body {
1705
1847
  display: flex;
@@ -1708,7 +1850,7 @@
1708
1850
  gap: 8px;
1709
1851
  min-height: 0;
1710
1852
  margin-inline: 0;
1711
- padding: 4px;
1853
+ padding: calc(var(--pk-focus-width) + var(--pk-focus-offset));
1712
1854
  overflow-y: auto;
1713
1855
  overscroll-behavior: contain;
1714
1856
  }
@@ -1727,7 +1869,7 @@
1727
1869
  }
1728
1870
  .pk-popover-head h3 {
1729
1871
  font-size: 1em;
1730
- font-weight: 650;
1872
+ font-weight: var(--pk-weight-strong);
1731
1873
  }
1732
1874
  .pk-filter-actions {
1733
1875
  display: flex;
@@ -1746,7 +1888,7 @@
1746
1888
  .pk-value {
1747
1889
  display: flex;
1748
1890
  align-items: center;
1749
- border-radius: 5px;
1891
+ border-radius: var(--pk-radius-mark);
1750
1892
  }
1751
1893
  .pk-value:hover {
1752
1894
  background: var(--pk-surface-3);
@@ -1801,7 +1943,7 @@
1801
1943
  margin-bottom: 4px;
1802
1944
  color: var(--pk-muted);
1803
1945
  font-size: var(--pk-small);
1804
- font-weight: 650;
1946
+ font-weight: var(--pk-weight-strong);
1805
1947
  }
1806
1948
  .pk-popover-foot {
1807
1949
  display: flex;
@@ -1823,7 +1965,7 @@
1823
1965
  }
1824
1966
  .pk-issues summary {
1825
1967
  padding: 0.15em 0;
1826
- font-weight: 600;
1968
+ font-weight: var(--pk-weight-strong);
1827
1969
  cursor: pointer;
1828
1970
  }
1829
1971
  .pk-issues ul {
@@ -1912,6 +2054,7 @@
1912
2054
  color: var(--pk-danger);
1913
2055
  }
1914
2056
  .pk-table-wrap {
2057
+ position: relative;
1915
2058
  flex: 1;
1916
2059
  min-width: 0;
1917
2060
  overflow: auto;
@@ -1934,7 +2077,7 @@
1934
2077
  border-bottom: 1px solid var(--pk-grid);
1935
2078
  white-space: nowrap;
1936
2079
  text-align: left;
1937
- font-weight: 400;
2080
+ font-weight: var(--pk-weight-normal);
1938
2081
  }
1939
2082
  .pk-table thead th {
1940
2083
  position: sticky;
@@ -1943,7 +2086,7 @@
1943
2086
  border-bottom-color: var(--pk-border);
1944
2087
  color: var(--pk-muted);
1945
2088
  font-size: var(--pk-small);
1946
- font-weight: 650;
2089
+ font-weight: var(--pk-weight-strong);
1947
2090
  }
1948
2091
  .pk-table thead th.pk-colHeader {
1949
2092
  text-align: right;
@@ -1963,7 +2106,7 @@
1963
2106
  .pk-table tbody th {
1964
2107
  z-index: 1;
1965
2108
  background: var(--pk-surface);
1966
- font-weight: 500;
2109
+ font-weight: var(--pk-weight-medium);
1967
2110
  vertical-align: middle;
1968
2111
  border-right: 1px solid var(--pk-grid);
1969
2112
  }
@@ -1984,7 +2127,10 @@
1984
2127
  }
1985
2128
  .pk-table :is(tbody th.pk-rowHeader, thead th.pk-corner) .pk-th-content {
1986
2129
  width: max-content;
1987
- 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;
1988
2134
  }
1989
2135
  .pk-table thead tr:last-child th.pk-colHeader .pk-th-content {
1990
2136
  width: max-content;
@@ -2036,7 +2182,7 @@
2036
2182
  min-height: var(--pk-target);
2037
2183
  padding: 0;
2038
2184
  border: 0;
2039
- border-radius: 4px;
2185
+ border-radius: var(--pk-radius-xs);
2040
2186
  background: transparent;
2041
2187
  color: inherit;
2042
2188
  font: inherit;
@@ -2078,20 +2224,23 @@
2078
2224
  background: color-mix(in srgb, var(--pk-accent) 5%, var(--pk-surface));
2079
2225
  }
2080
2226
  .pk-clickable:hover {
2081
- 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);
2082
2228
  }
2083
2229
  .pk-clickable:focus-visible {
2084
- outline: 2px solid var(--pk-focus);
2085
- outline-offset: -2px;
2230
+ outline: var(--pk-focus-width) solid var(--pk-focus);
2231
+ outline-offset: calc(-1 * var(--pk-focus-width));
2086
2232
  border-radius: 0;
2087
2233
  }
2088
2234
  .pk-table :is(td, th).pk-sub {
2089
2235
  background: var(--pk-total);
2090
- 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);
2091
2240
  }
2092
2241
  .pk-table :is(td, th).pk-grand {
2093
2242
  background: var(--pk-total-strong);
2094
- font-weight: 700;
2243
+ font-weight: var(--pk-weight-bold);
2095
2244
  }
2096
2245
  .pk-table tbody tr.pk-grand > :is(td, th) {
2097
2246
  border-top: 1px solid var(--pk-border-strong);
@@ -2121,7 +2270,7 @@
2121
2270
  margin-left: -0.45em;
2122
2271
  padding: 0;
2123
2272
  border: 0;
2124
- border-radius: 5px;
2273
+ border-radius: var(--pk-radius-mark);
2125
2274
  background: transparent;
2126
2275
  color: var(--pk-muted);
2127
2276
  cursor: pointer;
@@ -2184,7 +2333,7 @@
2184
2333
  }
2185
2334
  .pk-empty h2 {
2186
2335
  font-size: 1.25em;
2187
- font-weight: 650;
2336
+ font-weight: var(--pk-weight-strong);
2188
2337
  }
2189
2338
  .pk-empty-art {
2190
2339
  position: relative;
@@ -2243,7 +2392,7 @@
2243
2392
  background: var(--pk-accent);
2244
2393
  color: var(--pk-accent-text);
2245
2394
  font-size: var(--pk-small);
2246
- font-weight: 700;
2395
+ font-weight: var(--pk-weight-bold);
2247
2396
  }
2248
2397
  .pk-empty-actions {
2249
2398
  display: flex;
@@ -2296,11 +2445,11 @@
2296
2445
  }
2297
2446
  .pk-drill-head h2 {
2298
2447
  font-size: 1.07em;
2299
- font-weight: 650;
2448
+ font-weight: var(--pk-weight-strong);
2300
2449
  }
2301
2450
  .pk-drill-path {
2302
2451
  margin-top: 2px !important;
2303
- font-weight: 550;
2452
+ font-weight: var(--pk-weight-strong);
2304
2453
  }
2305
2454
  .pk-drill-body {
2306
2455
  flex: 1;
@@ -2326,7 +2475,7 @@
2326
2475
  top: 0;
2327
2476
  background: var(--pk-surface-2);
2328
2477
  color: var(--pk-muted);
2329
- font-weight: 650;
2478
+ font-weight: var(--pk-weight-strong);
2330
2479
  }
2331
2480
  .pk-drill-table .pk-num {
2332
2481
  text-align: right;
@@ -2457,6 +2606,9 @@
2457
2606
  max-width: min(320px, calc(100vw - 16px));
2458
2607
  padding: 8px 10px;
2459
2608
  }
2609
+ .pk-popover.pk-sheet.pk-info-pop {
2610
+ max-width: none;
2611
+ }
2460
2612
  .pk-field-desc {
2461
2613
  margin: 0;
2462
2614
  font-size: var(--pk-small);
@@ -2465,7 +2617,7 @@
2465
2617
  }
2466
2618
  .pk-learn-more {
2467
2619
  color: var(--pk-accent);
2468
- font-weight: 600;
2620
+ font-weight: var(--pk-weight-strong);
2469
2621
  }
2470
2622
  .pk-shortcuts {
2471
2623
  display: grid;
@@ -2485,7 +2637,7 @@
2485
2637
  .pk-shortcut kbd {
2486
2638
  padding: 0 0.35em;
2487
2639
  border: 1px solid var(--pk-border);
2488
- border-radius: 4px;
2640
+ border-radius: var(--pk-radius-xs);
2489
2641
  background: var(--pk-surface-2);
2490
2642
  font: inherit;
2491
2643
  }
@@ -2514,11 +2666,11 @@
2514
2666
  .pk-btn.pk-danger-btn {
2515
2667
  border-color: var(--pk-danger);
2516
2668
  color: var(--pk-danger);
2517
- font-weight: 600;
2669
+ font-weight: var(--pk-weight-strong);
2518
2670
  }
2519
2671
  .pk-confirm-text {
2520
2672
  flex: 1 1 100%;
2521
- font-weight: 600;
2673
+ font-weight: var(--pk-weight-strong);
2522
2674
  }
2523
2675
  .pk-save-confirm {
2524
2676
  display: flex;
@@ -2622,19 +2774,14 @@
2622
2774
  background: var(--pk-surface);
2623
2775
  color: var(--pk-text);
2624
2776
  font: inherit;
2625
- font-family:
2626
- ui-monospace,
2627
- SFMono-Regular,
2628
- Menlo,
2629
- Consolas,
2630
- monospace;
2777
+ font-family: var(--pk-font-mono);
2631
2778
  font-size: var(--pk-small);
2632
2779
  resize: vertical;
2633
2780
  }
2634
2781
  .pk-clear-input > textarea:focus {
2635
2782
  outline: none;
2636
2783
  border-color: var(--pk-accent);
2637
- box-shadow: 0 0 0 3px var(--pk-accent-soft);
2784
+ box-shadow: 0 0 0 var(--pk-glow-width) var(--pk-accent-soft);
2638
2785
  }
2639
2786
  .pk-clear-input > input[type=search]::-webkit-search-cancel-button {
2640
2787
  display: none;
@@ -2671,7 +2818,7 @@
2671
2818
  .pk-option.pk-accent,
2672
2819
  .pk-option.pk-accent .pk-option-icon {
2673
2820
  color: var(--pk-accent);
2674
- font-weight: 600;
2821
+ font-weight: var(--pk-weight-strong);
2675
2822
  }
2676
2823
  .pk-menu-hint {
2677
2824
  margin: 0;
@@ -2893,7 +3040,7 @@
2893
3040
  display: flex;
2894
3041
  align-items: center;
2895
3042
  gap: 0.4em;
2896
- font-weight: 600;
3043
+ font-weight: var(--pk-weight-strong);
2897
3044
  }
2898
3045
  .pk-load-check-title .pk-icon {
2899
3046
  color: var(--pk-accent);
@@ -2967,3 +3114,78 @@
2967
3114
  right: calc(50% - var(--pk-target-touch) / 2);
2968
3115
  }
2969
3116
  }
3117
+ .pk-layer > .pk-drop {
3118
+ position: fixed;
3119
+ display: grid;
3120
+ place-items: center;
3121
+ border: 0;
3122
+ border-radius: var(--pk-radius);
3123
+ background: var(--pk-scrim);
3124
+ box-shadow: inset 0 0 0 calc(var(--pk-ring-width) * 1.5) var(--pk-accent);
3125
+ pointer-events: none;
3126
+ }
3127
+ .pk-drop > div,
3128
+ .pk-drop-zone {
3129
+ display: flex;
3130
+ flex-direction: column;
3131
+ align-items: center;
3132
+ gap: 6px;
3133
+ padding: 16px 24px;
3134
+ border: 2px dashed var(--pk-accent);
3135
+ border-radius: var(--pk-radius);
3136
+ background: var(--pk-surface-raised);
3137
+ }
3138
+ .pk-layer > .pk-import {
3139
+ position: fixed;
3140
+ inset: 0;
3141
+ display: flex;
3142
+ flex-direction: column;
3143
+ width: min(900px, calc(100vw - 24px));
3144
+ height: fit-content;
3145
+ max-height: calc(100dvh - 24px);
3146
+ margin: auto;
3147
+ padding: 0;
3148
+ overflow: hidden;
3149
+ border: 1px solid var(--pk-border);
3150
+ border-radius: var(--pk-radius);
3151
+ background: var(--pk-surface-raised);
3152
+ color: var(--pk-text);
3153
+ box-shadow: var(--pk-shadow-lg);
3154
+ }
3155
+ .pk-import-body {
3156
+ display: flex;
3157
+ flex-direction: column;
3158
+ gap: 12px;
3159
+ min-height: 0;
3160
+ padding: 12px 16px;
3161
+ overflow: auto;
3162
+ }
3163
+ .pk-import-body > * {
3164
+ flex: none;
3165
+ }
3166
+ .pk-import progress {
3167
+ width: 100%;
3168
+ accent-color: var(--pk-accent);
3169
+ }
3170
+ .pk-import th select {
3171
+ display: block;
3172
+ width: 100%;
3173
+ min-width: 7.5em;
3174
+ margin-top: 4px;
3175
+ }
3176
+ .pk-import > .pk-popover-foot {
3177
+ padding: 12px 16px;
3178
+ border-top: 1px solid var(--pk-border);
3179
+ }
3180
+ .pk-source {
3181
+ display: inline-flex;
3182
+ align-items: center;
3183
+ gap: 0.4em;
3184
+ }
3185
+ .pk-data-menu p {
3186
+ padding: 0 8px;
3187
+ overflow-wrap: anywhere;
3188
+ }
3189
+ .pk-level-form > .pk-top-shown {
3190
+ padding-left: calc(1.7em + 0.6em);
3191
+ }