@kanunilabs/pivotgrid 1.6.0 → 1.6.2

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 (44) hide show
  1. package/dist/index.cjs +3 -3
  2. package/dist/index.d.cts +17 -1
  3. package/dist/index.d.ts +17 -1
  4. package/dist/index.js +3 -3
  5. package/dist/pivotgrid.umd.js +11 -11
  6. package/dist/styles.css +108 -17
  7. package/dist/themes/all.css +72 -0
  8. package/dist/themes/amber.css +2 -0
  9. package/dist/themes/aubergine.css +2 -0
  10. package/dist/themes/azure.css +2 -0
  11. package/dist/themes/burgundy.css +2 -0
  12. package/dist/themes/charcoal.css +2 -0
  13. package/dist/themes/contrast-dark.css +2 -0
  14. package/dist/themes/contrast-light.css +2 -0
  15. package/dist/themes/coral.css +2 -0
  16. package/dist/themes/corporate.css +2 -0
  17. package/dist/themes/deep-sea.css +2 -0
  18. package/dist/themes/editorial.css +2 -0
  19. package/dist/themes/ember.css +2 -0
  20. package/dist/themes/emerald.css +2 -0
  21. package/dist/themes/forest.css +2 -0
  22. package/dist/themes/glacier.css +2 -0
  23. package/dist/themes/graphite.css +2 -0
  24. package/dist/themes/indigo-night.css +2 -0
  25. package/dist/themes/indigo.css +2 -0
  26. package/dist/themes/ivory.css +2 -0
  27. package/dist/themes/lagoon.css +2 -0
  28. package/dist/themes/linen.css +2 -0
  29. package/dist/themes/midnight.css +2 -0
  30. package/dist/themes/mist.css +2 -0
  31. package/dist/themes/monochrome.css +2 -0
  32. package/dist/themes/onyx.css +2 -0
  33. package/dist/themes/orchid.css +2 -0
  34. package/dist/themes/porcelain.css +2 -0
  35. package/dist/themes/rose.css +2 -0
  36. package/dist/themes/sandstone.css +2 -0
  37. package/dist/themes/slate-night.css +2 -0
  38. package/dist/themes/slate.css +2 -0
  39. package/dist/themes/steel.css +2 -0
  40. package/dist/themes/stone.css +2 -0
  41. package/dist/themes/taupe.css +2 -0
  42. package/dist/themes/teal.css +2 -0
  43. package/dist/themes/terminal.css +2 -0
  44. package/package.json +3 -3
package/dist/styles.css CHANGED
@@ -6,7 +6,9 @@
6
6
  .kanuni-pivot-root {
7
7
  /* Base Resets for the container itself */
8
8
  box-sizing: border-box;
9
- font-family: inherit;
9
+ /* Inherited from the page unless --pivot-font-family names one; the portal
10
+ root below reads the same variable, so menus and dialogs match. */
11
+ font-family: var(--pivot-font-family, inherit);
10
12
  line-height: 1.5;
11
13
  -webkit-font-smoothing: antialiased;
12
14
  -moz-osx-font-smoothing: grayscale;
@@ -28,6 +30,9 @@
28
30
  --pivot-primary-hover: #0284c7; /* sky-600 */
29
31
 
30
32
  --pivot-success: #22c55e; /* green-500 */
33
+ /* A success FILL and the text on it (a "saved" mark, a badge). */
34
+ --pivot-success-bg: #15803d; /* green-700 — 5.0:1 under white */
35
+ --pivot-success-foreground: #ffffff;
31
36
  --pivot-danger: #ef4444; /* red-500 */
32
37
  --pivot-warning: #f59e0b; /* amber-500 */
33
38
  --pivot-info: #3b82f6; /* blue-500 */
@@ -113,6 +118,46 @@
113
118
  font-size: var(--pivot-text-base);
114
119
  }
115
120
 
121
+ /* ── Dark ────────────────────────────────────────────────────
122
+ `dark` on the grid (React prop, JavaScript config) names this built-in
123
+ scheme through the same `data-theme` attribute a colour scheme uses, so
124
+ every portalled popup follows without a second mechanism. The values are
125
+ the DataGrid's own dark palette mapped onto the pivot's tokens, so the two
126
+ components sit side by side in one look. A `palette` wins over it: a scheme
127
+ decides its own mode (2026-10-16). */
128
+ .kanuni-pivot-root[data-theme="kanuni-dark"] {
129
+ color-scheme: dark;
130
+ --pivot-bg: #0b1120;
131
+ --pivot-surface: #0f172a;
132
+ --pivot-surface-hover: #1e293b;
133
+ --pivot-surface-header: #16233c;
134
+ --pivot-header-bg: #16233c;
135
+ --pivot-header-text: #e2e8f0;
136
+ --pivot-border: #24344d;
137
+ --pivot-border-strong: #334155;
138
+ --pivot-text: #e2e8f0;
139
+ --pivot-text-muted: #94a3b8;
140
+ --pivot-text-header: #e2e8f0;
141
+ --pivot-primary: #38bdf8;
142
+ --pivot-primary-foreground: #082f49;
143
+ --pivot-primary-hover: #7dd3fc;
144
+ --pivot-success: #86efac;
145
+ --pivot-success-bg: #4ade80;
146
+ --pivot-success-foreground: #0d2817;
147
+ --pivot-danger: #fca5a5;
148
+ --pivot-warning: #fbbf24;
149
+ --pivot-info: #60a5fa;
150
+ --pivot-total-bg: #1f364d;
151
+ --pivot-stripe-bg: #101a2e;
152
+ --pivot-control-accent: #38bdf8;
153
+ --pivot-overlay-bg: rgba(2, 6, 23, 0.7);
154
+ --pivot-chooser-overlay-bg: rgba(2, 6, 23, 0.7);
155
+ --pivot-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.45);
156
+ --pivot-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.55);
157
+ --pivot-shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.65);
158
+ --pivot-shadow-menu: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
159
+ }
160
+
116
161
  /* ─────────────────────────────────────────────────────────────
117
162
  Strict Resets
118
163
  Prevents host application CSS from bleeding in
@@ -356,7 +401,7 @@
356
401
 
357
402
  position: relative;
358
403
  z-index: 9999;
359
- font-family: inherit;
404
+ font-family: var(--pivot-font-family, inherit);
360
405
  color: var(--pivot-text);
361
406
  font-size: 14px;
362
407
  }
@@ -416,6 +461,8 @@
416
461
  otherwise the left/right panes drift apart row by row. */
417
462
  padding: 0 var(--pivot-space-2);
418
463
  line-height: 27px;
464
+ /* Equal-width digits, so amounts line up column by column (2026-10-16). */
465
+ font-variant-numeric: tabular-nums;
419
466
  white-space: nowrap;
420
467
  overflow: hidden;
421
468
  text-overflow: ellipsis;
@@ -460,6 +507,15 @@
460
507
  .kanuni-pivot-density-comfortable .kanuni-pivot-table .kanuni-pivot-header-cell {
461
508
  line-height: 27px;
462
509
  }
510
+ /* `touch` (B.22): 45px rows and headers (pivotRowHeight) — every cell, header
511
+ +/- and funnel is a full 44px target inside the cell's 1px border. For a
512
+ touch screen; the app chooses it. */
513
+ .kanuni-pivot-density-touch .kanuni-pivot-table .kanuni-pivot-cell {
514
+ line-height: 44px;
515
+ }
516
+ .kanuni-pivot-density-touch .kanuni-pivot-table .kanuni-pivot-header-cell {
517
+ line-height: 36px;
518
+ }
463
519
  /* The field chips in the header corner inherit the header cell's line
464
520
  height, so the rules above would resize them — and, chips having
465
521
  `transition: all`, animate them for 0.2s after a switch. The pane-balancing
@@ -467,7 +523,8 @@
467
523
  panes ended 0.06-0.3px apart (tree layout, 2026-10-11; exact with this
468
524
  rule). The chips keep their normal metrics in every density. */
469
525
  .kanuni-pivot-density-compact .kanuni-pivot-table .kanuni-pivot-header-cell .kanuni-pivot-field-chip,
470
- .kanuni-pivot-density-comfortable .kanuni-pivot-table .kanuni-pivot-header-cell .kanuni-pivot-field-chip {
526
+ .kanuni-pivot-density-comfortable .kanuni-pivot-table .kanuni-pivot-header-cell .kanuni-pivot-field-chip,
527
+ .kanuni-pivot-density-touch .kanuni-pivot-table .kanuni-pivot-header-cell .kanuni-pivot-field-chip {
471
528
  line-height: 19px;
472
529
  }
473
530
 
@@ -1052,40 +1109,74 @@
1052
1109
  compact chrome, a tablet in landscape still gets targets a finger can hit.
1053
1110
  The footer has no fixed height, so it simply grows. */
1054
1111
  @media (pointer: coarse) {
1112
+ /* 44px (Tekax B.22, 2026-11-14): their acceptance rule for every screen; the
1113
+ first pass stopped at 40. */
1055
1114
  .kanuni-pivot-footer-btn {
1056
- min-width: 40px;
1057
- min-height: 40px;
1115
+ min-width: 44px;
1116
+ min-height: 44px;
1058
1117
  }
1059
1118
  .kanuni-pivot-dropdown-item {
1060
- min-height: 40px;
1119
+ min-height: 44px;
1061
1120
  }
1062
1121
  /* The saved-views button sits beside the footer icons and stayed 21px tall
1063
1122
  because its size comes from padding + font size, not from the icon rule. */
1064
1123
  .kanuni-pivot-report-btn {
1065
- min-height: 40px;
1124
+ min-height: 44px;
1066
1125
  }
1067
1126
  /* The field chips' own controls were the worst of the lot: 12x12 (an 8px
1068
1127
  icon in 2px padding), sixteen of them on the playground at 375px.
1069
1128
 
1070
- They are NOT blown up to 40x40 like the footer. The two controls sit side
1071
- by side inside one chip and one of them DELETES the field, so equal-sized
1072
- 40px targets would overlap and a mis-tap would be destructive. Instead the
1073
- visual target reaches the WCAG 2.5.8 AA minimum (24x24) and the hit area
1074
- is extended VERTICALLY only — 24x40, no horizontal bleed into the
1075
- neighbour (same ::after technique as the DataGrid filter button). */
1129
+ 44x44 real boxes (B.22). The first pass kept them 24x24 with a vertical
1130
+ ::after, because an ENLARGED HIT AREA on two side-by-side controls — one of
1131
+ which deletes the field — would overlap. Real boxes do not: each 44px
1132
+ control is its own 44px of chip, so the chip grows instead and a tap
1133
+ cannot land on the neighbour. */
1076
1134
  .kanuni-pivot-chip-btn {
1077
- min-width: 24px;
1078
- min-height: 24px;
1135
+ min-width: 44px;
1136
+ min-height: 44px;
1079
1137
  padding: 6px;
1080
1138
  display: inline-flex;
1081
1139
  align-items: center;
1082
1140
  justify-content: center;
1141
+ }
1142
+ /* The column header's own controls — the +/- box and the filter funnel —
1143
+ are 10-12px glyphs between the header's text: a 44px hit area centred on
1144
+ each, without changing the header's layout. The funnel is shown: there is
1145
+ no hover to reveal it on a touch screen. */
1146
+ .kanuni-pivot-table th .kanuni-pivot-expand-icon,
1147
+ .kanuni-pivot-head-filter {
1083
1148
  position: relative;
1149
+ z-index: 1; /* over the header text beside it */
1084
1150
  }
1085
- .kanuni-pivot-chip-btn::after {
1151
+ .kanuni-pivot-table th .kanuni-pivot-expand-icon::after,
1152
+ .kanuni-pivot-head-filter::after {
1086
1153
  content: '';
1087
1154
  position: absolute;
1088
- inset: -8px 0;
1155
+ left: 50%;
1156
+ top: 50%;
1157
+ width: 44px;
1158
+ height: 44px;
1159
+ transform: translate(-50%, -50%);
1160
+ }
1161
+ .kanuni-pivot-head-filter.opacity-0 {
1162
+ opacity: 0.7;
1163
+ }
1164
+ /* At the cell's end edge: beside a short label ("2025") its 44px area lay
1165
+ over the +/- box's, two targets under one finger. */
1166
+ .kanuni-pivot-head-filter {
1167
+ margin-inline-start: auto;
1168
+ }
1169
+ /* …and, at that edge, its area grows inward, not into the next cell. */
1170
+ .kanuni-pivot-head-filter::after {
1171
+ left: auto;
1172
+ inset-inline-end: -3px;
1173
+ transform: translateY(-50%);
1174
+ }
1175
+ /* The +/- box sits at its cell's start edge, so a centred area would hang
1176
+ into the previous cell and be clipped there: it grows to the right. */
1177
+ .kanuni-pivot-table th .kanuni-pivot-expand-icon::after {
1178
+ left: -4px;
1179
+ transform: translateY(-50%);
1089
1180
  }
1090
1181
 
1091
1182
  /* Touch drag needs the gesture, and the browser claims it first.
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #ffffff;
18
18
  --pivot-primary-hover: #2157cf;
19
19
  --pivot-success: #15803d;
20
+ --pivot-success-bg: #15803d;
21
+ --pivot-success-foreground: #ffffff;
20
22
  --pivot-danger: #d72525;
21
23
  --pivot-warning: #b45309;
22
24
  --pivot-info: #1d4ed8;
@@ -45,6 +47,8 @@
45
47
  --pivot-primary-foreground: #ffffff;
46
48
  --pivot-primary-hover: #794f10;
47
49
  --pivot-success: #15803d;
50
+ --pivot-success-bg: #15803d;
51
+ --pivot-success-foreground: #ffffff;
48
52
  --pivot-danger: #d72525;
49
53
  --pivot-warning: #b45309;
50
54
  --pivot-info: #1d4ed8;
@@ -73,6 +77,8 @@
73
77
  --pivot-primary-foreground: #ffffff;
74
78
  --pivot-primary-hover: #4d4945;
75
79
  --pivot-success: #15803d;
80
+ --pivot-success-bg: #15803d;
81
+ --pivot-success-foreground: #ffffff;
76
82
  --pivot-danger: #d12424;
77
83
  --pivot-warning: #b45309;
78
84
  --pivot-info: #1d4ed8;
@@ -101,6 +107,8 @@
101
107
  --pivot-primary-foreground: #ffffff;
102
108
  --pivot-primary-hover: #375479;
103
109
  --pivot-success: #15803d;
110
+ --pivot-success-bg: #15803d;
111
+ --pivot-success-foreground: #ffffff;
104
112
  --pivot-danger: #d72525;
105
113
  --pivot-warning: #b45309;
106
114
  --pivot-info: #1d4ed8;
@@ -129,6 +137,8 @@
129
137
  --pivot-primary-foreground: #ffffff;
130
138
  --pivot-primary-hover: #1a468f;
131
139
  --pivot-success: #15803d;
140
+ --pivot-success-bg: #15803d;
141
+ --pivot-success-foreground: #ffffff;
132
142
  --pivot-danger: #d12424;
133
143
  --pivot-warning: #b45309;
134
144
  --pivot-info: #1d4ed8;
@@ -157,6 +167,8 @@
157
167
  --pivot-primary-foreground: #ffffff;
158
168
  --pivot-primary-hover: #465283;
159
169
  --pivot-success: #147d3b;
170
+ --pivot-success-bg: #15803d;
171
+ --pivot-success-foreground: #ffffff;
160
172
  --pivot-danger: #cd2323;
161
173
  --pivot-warning: #b05109;
162
174
  --pivot-info: #1d4ed8;
@@ -185,6 +197,8 @@
185
197
  --pivot-primary-foreground: #ffffff;
186
198
  --pivot-primary-hover: #466233;
187
199
  --pivot-success: #15803d;
200
+ --pivot-success-bg: #15803d;
201
+ --pivot-success-foreground: #ffffff;
188
202
  --pivot-danger: #d72525;
189
203
  --pivot-warning: #b45309;
190
204
  --pivot-info: #1d4ed8;
@@ -213,6 +227,8 @@
213
227
  --pivot-primary-foreground: #ffffff;
214
228
  --pivot-primary-hover: #9e4925;
215
229
  --pivot-success: #15803d;
230
+ --pivot-success-bg: #15803d;
231
+ --pivot-success-foreground: #ffffff;
216
232
  --pivot-danger: #d22424;
217
233
  --pivot-warning: #b45309;
218
234
  --pivot-info: #1d4ed8;
@@ -241,6 +257,8 @@
241
257
  --pivot-primary-foreground: #ffffff;
242
258
  --pivot-primary-hover: #6b4f3f;
243
259
  --pivot-success: #15803d;
260
+ --pivot-success-bg: #15803d;
261
+ --pivot-success-foreground: #ffffff;
244
262
  --pivot-danger: #d22424;
245
263
  --pivot-warning: #b45309;
246
264
  --pivot-info: #1d4ed8;
@@ -269,6 +287,8 @@
269
287
  --pivot-primary-foreground: #ffffff;
270
288
  --pivot-primary-hover: #174cc1;
271
289
  --pivot-success: #15803d;
290
+ --pivot-success-bg: #15803d;
291
+ --pivot-success-foreground: #ffffff;
272
292
  --pivot-danger: #d72525;
273
293
  --pivot-warning: #b45309;
274
294
  --pivot-info: #1d4ed8;
@@ -297,6 +317,8 @@
297
317
  --pivot-primary-foreground: #ffffff;
298
318
  --pivot-primary-hover: #302a8f;
299
319
  --pivot-success: #15803d;
320
+ --pivot-success-bg: #15803d;
321
+ --pivot-success-foreground: #ffffff;
300
322
  --pivot-danger: #d72525;
301
323
  --pivot-warning: #b45309;
302
324
  --pivot-info: #1d4ed8;
@@ -325,6 +347,8 @@
325
347
  --pivot-primary-foreground: #ffffff;
326
348
  --pivot-primary-hover: #0d6861;
327
349
  --pivot-success: #15803d;
350
+ --pivot-success-bg: #15803d;
351
+ --pivot-success-foreground: #ffffff;
328
352
  --pivot-danger: #d72525;
329
353
  --pivot-warning: #b45309;
330
354
  --pivot-info: #1d4ed8;
@@ -353,6 +377,8 @@
353
377
  --pivot-primary-foreground: #ffffff;
354
378
  --pivot-primary-hover: #035c8e;
355
379
  --pivot-success: #15803d;
380
+ --pivot-success-bg: #15803d;
381
+ --pivot-success-foreground: #ffffff;
356
382
  --pivot-danger: #d72525;
357
383
  --pivot-warning: #b45309;
358
384
  --pivot-info: #1d4ed8;
@@ -381,6 +407,8 @@
381
407
  --pivot-primary-foreground: #ffffff;
382
408
  --pivot-primary-hover: #127136;
383
409
  --pivot-success: #15803d;
410
+ --pivot-success-bg: #15803d;
411
+ --pivot-success-foreground: #ffffff;
384
412
  --pivot-danger: #d72525;
385
413
  --pivot-warning: #b45309;
386
414
  --pivot-info: #1d4ed8;
@@ -409,6 +437,8 @@
409
437
  --pivot-primary-foreground: #ffffff;
410
438
  --pivot-primary-hover: #812dce;
411
439
  --pivot-success: #15803d;
440
+ --pivot-success-bg: #15803d;
441
+ --pivot-success-foreground: #ffffff;
412
442
  --pivot-danger: #d72525;
413
443
  --pivot-warning: #b45309;
414
444
  --pivot-info: #1d4ed8;
@@ -437,6 +467,8 @@
437
467
  --pivot-primary-foreground: #ffffff;
438
468
  --pivot-primary-hover: #a71035;
439
469
  --pivot-success: #15803d;
470
+ --pivot-success-bg: #15803d;
471
+ --pivot-success-foreground: #ffffff;
440
472
  --pivot-danger: #d72525;
441
473
  --pivot-warning: #b45309;
442
474
  --pivot-info: #1d4ed8;
@@ -465,6 +497,8 @@
465
497
  --pivot-primary-foreground: #ffffff;
466
498
  --pivot-primary-hover: #8e5606;
467
499
  --pivot-success: #15803d;
500
+ --pivot-success-bg: #15803d;
501
+ --pivot-success-foreground: #ffffff;
468
502
  --pivot-danger: #d72525;
469
503
  --pivot-warning: #b45309;
470
504
  --pivot-info: #1d4ed8;
@@ -493,6 +527,8 @@
493
527
  --pivot-primary-foreground: #ffffff;
494
528
  --pivot-primary-hover: #ab390b;
495
529
  --pivot-success: #15803d;
530
+ --pivot-success-bg: #15803d;
531
+ --pivot-success-foreground: #ffffff;
496
532
  --pivot-danger: #d72525;
497
533
  --pivot-warning: #b45309;
498
534
  --pivot-info: #1d4ed8;
@@ -521,6 +557,8 @@
521
557
  --pivot-primary-foreground: #0b0d12;
522
558
  --pivot-primary-hover: #3472d8;
523
559
  --pivot-success: #15803d;
560
+ --pivot-success-bg: #15803d;
561
+ --pivot-success-foreground: #ffffff;
524
562
  --pivot-danger: #d72525;
525
563
  --pivot-warning: #b45309;
526
564
  --pivot-info: #1d4ed8;
@@ -549,6 +587,8 @@
549
587
  --pivot-primary-foreground: #ffffff;
550
588
  --pivot-primary-hover: #8f1a1a;
551
589
  --pivot-success: #15803d;
590
+ --pivot-success-bg: #15803d;
591
+ --pivot-success-foreground: #ffffff;
552
592
  --pivot-danger: #d72525;
553
593
  --pivot-warning: #b45309;
554
594
  --pivot-info: #1d4ed8;
@@ -577,6 +617,8 @@
577
617
  --pivot-primary-foreground: #ffffff;
578
618
  --pivot-primary-hover: #212121;
579
619
  --pivot-success: #15803d;
620
+ --pivot-success-bg: #15803d;
621
+ --pivot-success-foreground: #ffffff;
580
622
  --pivot-danger: #d72525;
581
623
  --pivot-warning: #b45309;
582
624
  --pivot-info: #1d4ed8;
@@ -605,6 +647,8 @@
605
647
  --pivot-primary-foreground: #ffffff;
606
648
  --pivot-primary-hover: #002db4;
607
649
  --pivot-success: #005c1f;
650
+ --pivot-success-bg: #005c1f;
651
+ --pivot-success-foreground: #ffffff;
608
652
  --pivot-danger: #b00020;
609
653
  --pivot-warning: #7a4100;
610
654
  --pivot-info: #0033cc;
@@ -633,6 +677,8 @@
633
677
  --pivot-primary-foreground: #0b0d12;
634
678
  --pivot-primary-hover: #9abff9;
635
679
  --pivot-success: #4ade80;
680
+ --pivot-success-bg: #4ade80;
681
+ --pivot-success-foreground: #0b0d12;
636
682
  --pivot-danger: #f87171;
637
683
  --pivot-warning: #fbbf24;
638
684
  --pivot-info: #60a5fa;
@@ -665,6 +711,8 @@
665
711
  --pivot-primary-foreground: #0b0d12;
666
712
  --pivot-primary-hover: #abc2de;
667
713
  --pivot-success: #4ade80;
714
+ --pivot-success-bg: #4ade80;
715
+ --pivot-success-foreground: #0b0d12;
668
716
  --pivot-danger: #f87878;
669
717
  --pivot-warning: #fbbf24;
670
718
  --pivot-info: #60a5fa;
@@ -697,6 +745,8 @@
697
745
  --pivot-primary-foreground: #0b0d12;
698
746
  --pivot-primary-hover: #bfb2f6;
699
747
  --pivot-success: #4ade80;
748
+ --pivot-success-bg: #4ade80;
749
+ --pivot-success-foreground: #0b0d12;
700
750
  --pivot-danger: #f87171;
701
751
  --pivot-warning: #fbbf24;
702
752
  --pivot-info: #60a5fa;
@@ -729,6 +779,8 @@
729
779
  --pivot-primary-foreground: #0b0d12;
730
780
  --pivot-primary-hover: #54c6f9;
731
781
  --pivot-success: #4ade80;
782
+ --pivot-success-bg: #4ade80;
783
+ --pivot-success-foreground: #0b0d12;
732
784
  --pivot-danger: #f87171;
733
785
  --pivot-warning: #fbbf24;
734
786
  --pivot-info: #60a5fa;
@@ -761,6 +813,8 @@
761
813
  --pivot-primary-foreground: #0b0d12;
762
814
  --pivot-primary-hover: #91b2e4;
763
815
  --pivot-success: #4ade80;
816
+ --pivot-success-bg: #4ade80;
817
+ --pivot-success-foreground: #0b0d12;
764
818
  --pivot-danger: #f87575;
765
819
  --pivot-warning: #fbbf24;
766
820
  --pivot-info: #60a5fa;
@@ -793,6 +847,8 @@
793
847
  --pivot-primary-foreground: #0b0d12;
794
848
  --pivot-primary-hover: #76b2fb;
795
849
  --pivot-success: #4ade80;
850
+ --pivot-success-bg: #4ade80;
851
+ --pivot-success-foreground: #0b0d12;
796
852
  --pivot-danger: #f87171;
797
853
  --pivot-warning: #fbbf24;
798
854
  --pivot-info: #60a5fa;
@@ -825,6 +881,8 @@
825
881
  --pivot-primary-foreground: #0b0d12;
826
882
  --pivot-primary-hover: #b2bffc;
827
883
  --pivot-success: #4ade80;
884
+ --pivot-success-bg: #4ade80;
885
+ --pivot-success-foreground: #0b0d12;
828
886
  --pivot-danger: #f87171;
829
887
  --pivot-warning: #fbbf24;
830
888
  --pivot-info: #60a5fa;
@@ -857,6 +915,8 @@
857
915
  --pivot-primary-foreground: #0b0d12;
858
916
  --pivot-primary-hover: #50d9a7;
859
917
  --pivot-success: #4ade80;
918
+ --pivot-success-bg: #4ade80;
919
+ --pivot-success-foreground: #0b0d12;
860
920
  --pivot-danger: #f87171;
861
921
  --pivot-warning: #fbbf24;
862
922
  --pivot-info: #60a5fa;
@@ -889,6 +949,8 @@
889
949
  --pivot-primary-foreground: #0b0d12;
890
950
  --pivot-primary-hover: #4adac8;
891
951
  --pivot-success: #4ade80;
952
+ --pivot-success-bg: #4ade80;
953
+ --pivot-success-foreground: #0b0d12;
892
954
  --pivot-danger: #f87171;
893
955
  --pivot-warning: #fbbf24;
894
956
  --pivot-info: #60a5fa;
@@ -921,6 +983,8 @@
921
983
  --pivot-primary-foreground: #0b0d12;
922
984
  --pivot-primary-hover: #ecb2f6;
923
985
  --pivot-success: #4ade80;
986
+ --pivot-success-bg: #4ade80;
987
+ --pivot-success-foreground: #0b0d12;
924
988
  --pivot-danger: #f87171;
925
989
  --pivot-warning: #fbbf24;
926
990
  --pivot-info: #60a5fa;
@@ -953,6 +1017,8 @@
953
1017
  --pivot-primary-foreground: #0b0d12;
954
1018
  --pivot-primary-hover: #fc8596;
955
1019
  --pivot-success: #4ade80;
1020
+ --pivot-success-bg: #4ade80;
1021
+ --pivot-success-foreground: #0b0d12;
956
1022
  --pivot-danger: #f87171;
957
1023
  --pivot-warning: #fbbf24;
958
1024
  --pivot-info: #60a5fa;
@@ -985,6 +1051,8 @@
985
1051
  --pivot-primary-foreground: #0b0d12;
986
1052
  --pivot-primary-hover: #fcc843;
987
1053
  --pivot-success: #4ade80;
1054
+ --pivot-success-bg: #4ade80;
1055
+ --pivot-success-foreground: #0b0d12;
988
1056
  --pivot-danger: #f87171;
989
1057
  --pivot-warning: #fbbf24;
990
1058
  --pivot-info: #60a5fa;
@@ -1017,6 +1085,8 @@
1017
1085
  --pivot-primary-foreground: #0b0d12;
1018
1086
  --pivot-primary-hover: #ffdc2c;
1019
1087
  --pivot-success: #5dfc8d;
1088
+ --pivot-success-bg: #5dfc8d;
1089
+ --pivot-success-foreground: #0b0d12;
1020
1090
  --pivot-danger: #ff6b6b;
1021
1091
  --pivot-warning: #ffd60a;
1022
1092
  --pivot-info: #7cc4ff;
@@ -1049,6 +1119,8 @@
1049
1119
  --pivot-primary-foreground: #0b0d12;
1050
1120
  --pivot-primary-hover: #63e392;
1051
1121
  --pivot-success: #4ade80;
1122
+ --pivot-success-bg: #4ade80;
1123
+ --pivot-success-foreground: #0b0d12;
1052
1124
  --pivot-danger: #f87171;
1053
1125
  --pivot-warning: #fbbf24;
1054
1126
  --pivot-info: #60a5fa;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #ffffff;
18
18
  --pivot-primary-hover: #8e5606;
19
19
  --pivot-success: #15803d;
20
+ --pivot-success-bg: #15803d;
21
+ --pivot-success-foreground: #ffffff;
20
22
  --pivot-danger: #d72525;
21
23
  --pivot-warning: #b45309;
22
24
  --pivot-info: #1d4ed8;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #0b0d12;
18
18
  --pivot-primary-hover: #ecb2f6;
19
19
  --pivot-success: #4ade80;
20
+ --pivot-success-bg: #4ade80;
21
+ --pivot-success-foreground: #0b0d12;
20
22
  --pivot-danger: #f87171;
21
23
  --pivot-warning: #fbbf24;
22
24
  --pivot-info: #60a5fa;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #ffffff;
18
18
  --pivot-primary-hover: #174cc1;
19
19
  --pivot-success: #15803d;
20
+ --pivot-success-bg: #15803d;
21
+ --pivot-success-foreground: #ffffff;
20
22
  --pivot-danger: #d72525;
21
23
  --pivot-warning: #b45309;
22
24
  --pivot-info: #1d4ed8;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #0b0d12;
18
18
  --pivot-primary-hover: #fc8596;
19
19
  --pivot-success: #4ade80;
20
+ --pivot-success-bg: #4ade80;
21
+ --pivot-success-foreground: #0b0d12;
20
22
  --pivot-danger: #f87171;
21
23
  --pivot-warning: #fbbf24;
22
24
  --pivot-info: #60a5fa;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #0b0d12;
18
18
  --pivot-primary-hover: #9abff9;
19
19
  --pivot-success: #4ade80;
20
+ --pivot-success-bg: #4ade80;
21
+ --pivot-success-foreground: #0b0d12;
20
22
  --pivot-danger: #f87171;
21
23
  --pivot-warning: #fbbf24;
22
24
  --pivot-info: #60a5fa;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #0b0d12;
18
18
  --pivot-primary-hover: #ffdc2c;
19
19
  --pivot-success: #5dfc8d;
20
+ --pivot-success-bg: #5dfc8d;
21
+ --pivot-success-foreground: #0b0d12;
20
22
  --pivot-danger: #ff6b6b;
21
23
  --pivot-warning: #ffd60a;
22
24
  --pivot-info: #7cc4ff;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #ffffff;
18
18
  --pivot-primary-hover: #002db4;
19
19
  --pivot-success: #005c1f;
20
+ --pivot-success-bg: #005c1f;
21
+ --pivot-success-foreground: #ffffff;
20
22
  --pivot-danger: #b00020;
21
23
  --pivot-warning: #7a4100;
22
24
  --pivot-info: #0033cc;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #ffffff;
18
18
  --pivot-primary-hover: #ab390b;
19
19
  --pivot-success: #15803d;
20
+ --pivot-success-bg: #15803d;
21
+ --pivot-success-foreground: #ffffff;
20
22
  --pivot-danger: #d72525;
21
23
  --pivot-warning: #b45309;
22
24
  --pivot-info: #1d4ed8;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #0b0d12;
18
18
  --pivot-primary-hover: #3472d8;
19
19
  --pivot-success: #15803d;
20
+ --pivot-success-bg: #15803d;
21
+ --pivot-success-foreground: #ffffff;
20
22
  --pivot-danger: #d72525;
21
23
  --pivot-warning: #b45309;
22
24
  --pivot-info: #1d4ed8;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #0b0d12;
18
18
  --pivot-primary-hover: #4adac8;
19
19
  --pivot-success: #4ade80;
20
+ --pivot-success-bg: #4ade80;
21
+ --pivot-success-foreground: #0b0d12;
20
22
  --pivot-danger: #f87171;
21
23
  --pivot-warning: #fbbf24;
22
24
  --pivot-info: #60a5fa;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #ffffff;
18
18
  --pivot-primary-hover: #8f1a1a;
19
19
  --pivot-success: #15803d;
20
+ --pivot-success-bg: #15803d;
21
+ --pivot-success-foreground: #ffffff;
20
22
  --pivot-danger: #d72525;
21
23
  --pivot-warning: #b45309;
22
24
  --pivot-info: #1d4ed8;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #0b0d12;
18
18
  --pivot-primary-hover: #fcc843;
19
19
  --pivot-success: #4ade80;
20
+ --pivot-success-bg: #4ade80;
21
+ --pivot-success-foreground: #0b0d12;
20
22
  --pivot-danger: #f87171;
21
23
  --pivot-warning: #fbbf24;
22
24
  --pivot-info: #60a5fa;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #ffffff;
18
18
  --pivot-primary-hover: #127136;
19
19
  --pivot-success: #15803d;
20
+ --pivot-success-bg: #15803d;
21
+ --pivot-success-foreground: #ffffff;
20
22
  --pivot-danger: #d72525;
21
23
  --pivot-warning: #b45309;
22
24
  --pivot-info: #1d4ed8;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #0b0d12;
18
18
  --pivot-primary-hover: #50d9a7;
19
19
  --pivot-success: #4ade80;
20
+ --pivot-success-bg: #4ade80;
21
+ --pivot-success-foreground: #0b0d12;
20
22
  --pivot-danger: #f87171;
21
23
  --pivot-warning: #fbbf24;
22
24
  --pivot-info: #60a5fa;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #ffffff;
18
18
  --pivot-primary-hover: #1a468f;
19
19
  --pivot-success: #15803d;
20
+ --pivot-success-bg: #15803d;
21
+ --pivot-success-foreground: #ffffff;
20
22
  --pivot-danger: #d12424;
21
23
  --pivot-warning: #b45309;
22
24
  --pivot-info: #1d4ed8;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #0b0d12;
18
18
  --pivot-primary-hover: #abc2de;
19
19
  --pivot-success: #4ade80;
20
+ --pivot-success-bg: #4ade80;
21
+ --pivot-success-foreground: #0b0d12;
20
22
  --pivot-danger: #f87878;
21
23
  --pivot-warning: #fbbf24;
22
24
  --pivot-info: #60a5fa;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #0b0d12;
18
18
  --pivot-primary-hover: #b2bffc;
19
19
  --pivot-success: #4ade80;
20
+ --pivot-success-bg: #4ade80;
21
+ --pivot-success-foreground: #0b0d12;
20
22
  --pivot-danger: #f87171;
21
23
  --pivot-warning: #fbbf24;
22
24
  --pivot-info: #60a5fa;
@@ -17,6 +17,8 @@
17
17
  --pivot-primary-foreground: #ffffff;
18
18
  --pivot-primary-hover: #302a8f;
19
19
  --pivot-success: #15803d;
20
+ --pivot-success-bg: #15803d;
21
+ --pivot-success-foreground: #ffffff;
20
22
  --pivot-danger: #d72525;
21
23
  --pivot-warning: #b45309;
22
24
  --pivot-info: #1d4ed8;