@kanunilabs/pivotgrid 1.2.2 → 1.4.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 (45) hide show
  1. package/README.md +2 -2
  2. package/dist/index.cjs +3 -3
  3. package/dist/index.d.cts +20 -2
  4. package/dist/index.d.ts +20 -2
  5. package/dist/index.js +3 -3
  6. package/dist/pivotgrid.umd.js +11 -11
  7. package/dist/styles.css +199 -15
  8. package/dist/themes/all.css +1064 -0
  9. package/dist/themes/amber.css +28 -0
  10. package/dist/themes/aubergine.css +32 -0
  11. package/dist/themes/azure.css +28 -0
  12. package/dist/themes/burgundy.css +32 -0
  13. package/dist/themes/charcoal.css +32 -0
  14. package/dist/themes/contrast-dark.css +32 -0
  15. package/dist/themes/contrast-light.css +28 -0
  16. package/dist/themes/coral.css +28 -0
  17. package/dist/themes/corporate.css +28 -0
  18. package/dist/themes/deep-sea.css +32 -0
  19. package/dist/themes/editorial.css +28 -0
  20. package/dist/themes/ember.css +32 -0
  21. package/dist/themes/emerald.css +28 -0
  22. package/dist/themes/forest.css +32 -0
  23. package/dist/themes/glacier.css +28 -0
  24. package/dist/themes/graphite.css +32 -0
  25. package/dist/themes/indigo-night.css +32 -0
  26. package/dist/themes/indigo.css +28 -0
  27. package/dist/themes/ivory.css +28 -0
  28. package/dist/themes/lagoon.css +28 -0
  29. package/dist/themes/linen.css +28 -0
  30. package/dist/themes/midnight.css +32 -0
  31. package/dist/themes/mist.css +28 -0
  32. package/dist/themes/monochrome.css +28 -0
  33. package/dist/themes/onyx.css +32 -0
  34. package/dist/themes/orchid.css +28 -0
  35. package/dist/themes/porcelain.css +28 -0
  36. package/dist/themes/rose.css +28 -0
  37. package/dist/themes/sandstone.css +28 -0
  38. package/dist/themes/slate-night.css +32 -0
  39. package/dist/themes/slate.css +28 -0
  40. package/dist/themes/steel.css +32 -0
  41. package/dist/themes/stone.css +28 -0
  42. package/dist/themes/taupe.css +28 -0
  43. package/dist/themes/teal.css +28 -0
  44. package/dist/themes/terminal.css +32 -0
  45. package/package.json +6 -4
@@ -0,0 +1,32 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Midnight (dark) — Navy depth with a bright blue accent. */
3
+ .kanuni-pivot-root[data-theme="midnight"] {
4
+ color-scheme: dark;
5
+ --pivot-bg: #0a1122;
6
+ --pivot-surface: #0f1830;
7
+ --pivot-surface-hover: #1f283f;
8
+ --pivot-surface-header: #16223f;
9
+ --pivot-header-bg: #16223f;
10
+ --pivot-header-text: #e2e8f6;
11
+ --pivot-border: #313950;
12
+ --pivot-border-strong: #4e566b;
13
+ --pivot-text: #e2e8f6;
14
+ --pivot-text-muted: #a2a8b8;
15
+ --pivot-text-header: #e2e8f6;
16
+ --pivot-primary: #60a5fa;
17
+ --pivot-primary-foreground: #0b0d12;
18
+ --pivot-primary-hover: #76b2fb;
19
+ --pivot-success: #4ade80;
20
+ --pivot-danger: #f87171;
21
+ --pivot-warning: #fbbf24;
22
+ --pivot-info: #60a5fa;
23
+ --pivot-total-bg: #243353;
24
+ --pivot-stripe-bg: #151e36;
25
+ --pivot-control-accent: #60a5fa;
26
+ --pivot-overlay-bg: rgba(0, 0, 0, 0.7);
27
+ --pivot-chooser-overlay-bg: rgba(0, 0, 0, 0.7);
28
+ --pivot-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.45);
29
+ --pivot-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.55);
30
+ --pivot-shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.65);
31
+ --pivot-shadow-menu: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
32
+ }
@@ -0,0 +1,28 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Mist (light) — Cool grey surfaces and a steel-blue accent for analytical work. */
3
+ .kanuni-pivot-root[data-theme="mist"] {
4
+ color-scheme: light;
5
+ --pivot-bg: #eef1f5;
6
+ --pivot-surface: #ffffff;
7
+ --pivot-surface-hover: #f4f5f5;
8
+ --pivot-surface-header: #e8edf3;
9
+ --pivot-header-bg: #e8edf3;
10
+ --pivot-header-text: #0f172a;
11
+ --pivot-border: #e2e3e5;
12
+ --pivot-border-strong: #c5c7cc;
13
+ --pivot-text: #0f172a;
14
+ --pivot-text-muted: #656975;
15
+ --pivot-text-header: #0f172a;
16
+ --pivot-primary: #3e5f8a;
17
+ --pivot-primary-foreground: #ffffff;
18
+ --pivot-primary-hover: #375479;
19
+ --pivot-success: #15803d;
20
+ --pivot-danger: #d72525;
21
+ --pivot-warning: #b45309;
22
+ --pivot-info: #1d4ed8;
23
+ --pivot-total-bg: #e8ebee;
24
+ --pivot-stripe-bg: #fbfbfb;
25
+ --pivot-control-accent: #3e5f8a;
26
+ --pivot-overlay-bg: rgba(15, 23, 42, 0.5);
27
+ --pivot-chooser-overlay-bg: rgba(15, 23, 42, 0.5);
28
+ }
@@ -0,0 +1,28 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Monochrome (light) — Pure greyscale: no hue anywhere, the accent is ink. */
3
+ .kanuni-pivot-root[data-theme="monochrome"] {
4
+ color-scheme: light;
5
+ --pivot-bg: #f2f2f2;
6
+ --pivot-surface: #ffffff;
7
+ --pivot-surface-hover: #f4f4f4;
8
+ --pivot-surface-header: #efefef;
9
+ --pivot-header-bg: #efefef;
10
+ --pivot-header-text: #111111;
11
+ --pivot-border: #e2e2e2;
12
+ --pivot-border-strong: #c6c6c6;
13
+ --pivot-text: #111111;
14
+ --pivot-text-muted: #636363;
15
+ --pivot-text-header: #111111;
16
+ --pivot-primary: #262626;
17
+ --pivot-primary-foreground: #ffffff;
18
+ --pivot-primary-hover: #212121;
19
+ --pivot-success: #15803d;
20
+ --pivot-danger: #d72525;
21
+ --pivot-warning: #b45309;
22
+ --pivot-info: #1d4ed8;
23
+ --pivot-total-bg: #e7e7e7;
24
+ --pivot-stripe-bg: #fbfbfb;
25
+ --pivot-control-accent: #262626;
26
+ --pivot-overlay-bg: rgba(15, 23, 42, 0.5);
27
+ --pivot-chooser-overlay-bg: rgba(15, 23, 42, 0.5);
28
+ }
@@ -0,0 +1,32 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Onyx (dark) — Soft black for OLED screens, with a lilac accent. */
3
+ .kanuni-pivot-root[data-theme="onyx"] {
4
+ color-scheme: dark;
5
+ --pivot-bg: #0d0d0f;
6
+ --pivot-surface: #141416;
7
+ --pivot-surface-hover: #242426;
8
+ --pivot-surface-header: #1b1b1f;
9
+ --pivot-header-bg: #1b1b1f;
10
+ --pivot-header-text: #ececef;
11
+ --pivot-border: #373739;
12
+ --pivot-border-strong: #555557;
13
+ --pivot-text: #ececef;
14
+ --pivot-text-muted: #a7a7a9;
15
+ --pivot-text-header: #ececef;
16
+ --pivot-primary: #b4a5f5;
17
+ --pivot-primary-foreground: #0b0d12;
18
+ --pivot-primary-hover: #bfb2f6;
19
+ --pivot-success: #4ade80;
20
+ --pivot-danger: #f87171;
21
+ --pivot-warning: #fbbf24;
22
+ --pivot-info: #60a5fa;
23
+ --pivot-total-bg: #33313c;
24
+ --pivot-stripe-bg: #1a1a1d;
25
+ --pivot-control-accent: #b4a5f5;
26
+ --pivot-overlay-bg: rgba(0, 0, 0, 0.7);
27
+ --pivot-chooser-overlay-bg: rgba(0, 0, 0, 0.7);
28
+ --pivot-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.45);
29
+ --pivot-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.55);
30
+ --pivot-shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.65);
31
+ --pivot-shadow-menu: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
32
+ }
@@ -0,0 +1,28 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Orchid (light) — Soft violet band and a vivid violet accent. */
3
+ .kanuni-pivot-root[data-theme="orchid"] {
4
+ color-scheme: light;
5
+ --pivot-bg: #f8eefc;
6
+ --pivot-surface: #ffffff;
7
+ --pivot-surface-hover: #f5f4f6;
8
+ --pivot-surface-header: #f4e4fc;
9
+ --pivot-header-bg: #f4e4fc;
10
+ --pivot-header-text: #24122f;
11
+ --pivot-border: #e5e3e6;
12
+ --pivot-border-strong: #cac6cd;
13
+ --pivot-text: #24122f;
14
+ --pivot-text-muted: #6e6475;
15
+ --pivot-text-header: #24122f;
16
+ --pivot-primary: #9333ea;
17
+ --pivot-primary-foreground: #ffffff;
18
+ --pivot-primary-hover: #812dce;
19
+ --pivot-success: #15803d;
20
+ --pivot-danger: #d72525;
21
+ --pivot-warning: #b45309;
22
+ --pivot-info: #1d4ed8;
23
+ --pivot-total-bg: #efe8f6;
24
+ --pivot-stripe-bg: #fbfbfb;
25
+ --pivot-control-accent: #9333ea;
26
+ --pivot-overlay-bg: rgba(15, 23, 42, 0.5);
27
+ --pivot-chooser-overlay-bg: rgba(15, 23, 42, 0.5);
28
+ }
@@ -0,0 +1,28 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Porcelain (light) — Crisp white, cool ink and a clear blue — the everyday default. */
3
+ .kanuni-pivot-root[data-theme="porcelain"] {
4
+ color-scheme: light;
5
+ --pivot-bg: #f5f6f8;
6
+ --pivot-surface: #ffffff;
7
+ --pivot-surface-hover: #f4f5f5;
8
+ --pivot-surface-header: #f3f4f6;
9
+ --pivot-header-bg: #f3f4f6;
10
+ --pivot-header-text: #111827;
11
+ --pivot-border: #e2e3e5;
12
+ --pivot-border-strong: #c6c8cb;
13
+ --pivot-text: #111827;
14
+ --pivot-text-muted: #666a73;
15
+ --pivot-text-header: #111827;
16
+ --pivot-primary: #2563eb;
17
+ --pivot-primary-foreground: #ffffff;
18
+ --pivot-primary-hover: #2157cf;
19
+ --pivot-success: #15803d;
20
+ --pivot-danger: #d72525;
21
+ --pivot-warning: #b45309;
22
+ --pivot-info: #1d4ed8;
23
+ --pivot-total-bg: #e6ecf5;
24
+ --pivot-stripe-bg: #fbfbfb;
25
+ --pivot-control-accent: #2563eb;
26
+ --pivot-overlay-bg: rgba(15, 23, 42, 0.5);
27
+ --pivot-chooser-overlay-bg: rgba(15, 23, 42, 0.5);
28
+ }
@@ -0,0 +1,28 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Rose (light) — A blush band and a muted crimson accent. */
3
+ .kanuni-pivot-root[data-theme="rose"] {
4
+ color-scheme: light;
5
+ --pivot-bg: #fbf0f2;
6
+ --pivot-surface: #ffffff;
7
+ --pivot-surface-hover: #f5f4f5;
8
+ --pivot-surface-header: #f9e7eb;
9
+ --pivot-header-bg: #f9e7eb;
10
+ --pivot-header-text: #2a1218;
11
+ --pivot-border: #e5e3e3;
12
+ --pivot-border-strong: #ccc6c8;
13
+ --pivot-text: #2a1218;
14
+ --pivot-text-muted: #6f6165;
15
+ --pivot-text-header: #2a1218;
16
+ --pivot-primary: #be123c;
17
+ --pivot-primary-foreground: #ffffff;
18
+ --pivot-primary-hover: #a71035;
19
+ --pivot-success: #15803d;
20
+ --pivot-danger: #d72525;
21
+ --pivot-warning: #b45309;
22
+ --pivot-info: #1d4ed8;
23
+ --pivot-total-bg: #f2e6e9;
24
+ --pivot-stripe-bg: #fbfbfb;
25
+ --pivot-control-accent: #be123c;
26
+ --pivot-overlay-bg: rgba(15, 23, 42, 0.5);
27
+ --pivot-chooser-overlay-bg: rgba(15, 23, 42, 0.5);
28
+ }
@@ -0,0 +1,28 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Sandstone (light) — Sand and beige with a terracotta accent. */
3
+ .kanuni-pivot-root[data-theme="sandstone"] {
4
+ color-scheme: light;
5
+ --pivot-bg: #f1e8da;
6
+ --pivot-surface: #fdf9f3;
7
+ --pivot-surface-hover: #f4f0ea;
8
+ --pivot-surface-header: #efe2cf;
9
+ --pivot-header-bg: #efe2cf;
10
+ --pivot-header-text: #3a2d22;
11
+ --pivot-border: #e6e1da;
12
+ --pivot-border-strong: #cec8c1;
13
+ --pivot-text: #3a2d22;
14
+ --pivot-text-muted: #6b645c;
15
+ --pivot-text-header: #3a2d22;
16
+ --pivot-primary: #b4532a;
17
+ --pivot-primary-foreground: #ffffff;
18
+ --pivot-primary-hover: #9e4925;
19
+ --pivot-success: #15803d;
20
+ --pivot-danger: #d22424;
21
+ --pivot-warning: #b45309;
22
+ --pivot-info: #1d4ed8;
23
+ --pivot-total-bg: #f0e6dd;
24
+ --pivot-stripe-bg: #f9f5ef;
25
+ --pivot-control-accent: #b4532a;
26
+ --pivot-overlay-bg: rgba(15, 23, 42, 0.5);
27
+ --pivot-chooser-overlay-bg: rgba(15, 23, 42, 0.5);
28
+ }
@@ -0,0 +1,32 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Slate night (dark) — Deep slate and a sky accent — technical and cool. */
3
+ .kanuni-pivot-root[data-theme="slate-night"] {
4
+ color-scheme: dark;
5
+ --pivot-bg: #0f172a;
6
+ --pivot-surface: #162033;
7
+ --pivot-surface-hover: #252f41;
8
+ --pivot-surface-header: #1e2a40;
9
+ --pivot-header-bg: #1e2a40;
10
+ --pivot-header-text: #e2e8f0;
11
+ --pivot-border: #374051;
12
+ --pivot-border-strong: #535c6c;
13
+ --pivot-text: #e2e8f0;
14
+ --pivot-text-muted: #afb5be;
15
+ --pivot-text-header: #e2e8f0;
16
+ --pivot-primary: #38bdf8;
17
+ --pivot-primary-foreground: #0b0d12;
18
+ --pivot-primary-hover: #54c6f9;
19
+ --pivot-success: #4ade80;
20
+ --pivot-danger: #f87171;
21
+ --pivot-warning: #fbbf24;
22
+ --pivot-info: #60a5fa;
23
+ --pivot-total-bg: #253d54;
24
+ --pivot-stripe-bg: #1c2639;
25
+ --pivot-control-accent: #38bdf8;
26
+ --pivot-overlay-bg: rgba(0, 0, 0, 0.7);
27
+ --pivot-chooser-overlay-bg: rgba(0, 0, 0, 0.7);
28
+ --pivot-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.45);
29
+ --pivot-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.55);
30
+ --pivot-shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.65);
31
+ --pivot-shadow-menu: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
32
+ }
@@ -0,0 +1,28 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Slate (light) — Light slate surfaces with an indigo-slate accent; technical and calm. */
3
+ .kanuni-pivot-root[data-theme="slate"] {
4
+ color-scheme: light;
5
+ --pivot-bg: #d6dde6;
6
+ --pivot-surface: #f1f5f9;
7
+ --pivot-surface-hover: #e7ebf0;
8
+ --pivot-surface-header: #d9e1ea;
9
+ --pivot-header-bg: #d9e1ea;
10
+ --pivot-header-text: #0f172a;
11
+ --pivot-border: #cbd4df;
12
+ --pivot-border-strong: #bbc0c7;
13
+ --pivot-text: #0f172a;
14
+ --pivot-text-muted: #5d6370;
15
+ --pivot-text-header: #0f172a;
16
+ --pivot-primary: #4f5d95;
17
+ --pivot-primary-foreground: #ffffff;
18
+ --pivot-primary-hover: #465283;
19
+ --pivot-success: #147d3b;
20
+ --pivot-danger: #cd2323;
21
+ --pivot-warning: #b05109;
22
+ --pivot-info: #1d4ed8;
23
+ --pivot-total-bg: #dde2eb;
24
+ --pivot-stripe-bg: #edf1f5;
25
+ --pivot-control-accent: #4f5d95;
26
+ --pivot-overlay-bg: rgba(15, 23, 42, 0.5);
27
+ --pivot-chooser-overlay-bg: rgba(15, 23, 42, 0.5);
28
+ }
@@ -0,0 +1,32 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Steel (dark) — Blue-grey steel surfaces and a cornflower accent. */
3
+ .kanuni-pivot-root[data-theme="steel"] {
4
+ color-scheme: dark;
5
+ --pivot-bg: #1a2029;
6
+ --pivot-surface: #212833;
7
+ --pivot-surface-hover: #303641;
8
+ --pivot-surface-header: #2a3340;
9
+ --pivot-header-bg: #2a3340;
10
+ --pivot-header-text: #e3e8ef;
11
+ --pivot-border: #404751;
12
+ --pivot-border-strong: #5b626b;
13
+ --pivot-text: #e3e8ef;
14
+ --pivot-text-muted: #b3b7be;
15
+ --pivot-text-header: #e3e8ef;
16
+ --pivot-primary: #7fa6e0;
17
+ --pivot-primary-foreground: #0b0d12;
18
+ --pivot-primary-hover: #91b2e4;
19
+ --pivot-success: #4ade80;
20
+ --pivot-danger: #f87575;
21
+ --pivot-warning: #fbbf24;
22
+ --pivot-info: #60a5fa;
23
+ --pivot-total-bg: #374251;
24
+ --pivot-stripe-bg: #272e39;
25
+ --pivot-control-accent: #7fa6e0;
26
+ --pivot-overlay-bg: rgba(0, 0, 0, 0.7);
27
+ --pivot-chooser-overlay-bg: rgba(0, 0, 0, 0.7);
28
+ --pivot-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.45);
29
+ --pivot-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.55);
30
+ --pivot-shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.65);
31
+ --pivot-shadow-menu: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
32
+ }
@@ -0,0 +1,28 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Stone (light) — Warm greys and a graphite accent — low noise, high polish. */
3
+ .kanuni-pivot-root[data-theme="stone"] {
4
+ color-scheme: light;
5
+ --pivot-bg: #efeeeb;
6
+ --pivot-surface: #fbfbfa;
7
+ --pivot-surface-hover: #f1f1f0;
8
+ --pivot-surface-header: #ecebe8;
9
+ --pivot-header-bg: #ecebe8;
10
+ --pivot-header-text: #1c1917;
11
+ --pivot-border: #e0e0df;
12
+ --pivot-border-strong: #c5c5c4;
13
+ --pivot-text: #1c1917;
14
+ --pivot-text-muted: #666462;
15
+ --pivot-text-header: #1c1917;
16
+ --pivot-primary: #57534e;
17
+ --pivot-primary-foreground: #ffffff;
18
+ --pivot-primary-hover: #4d4945;
19
+ --pivot-success: #15803d;
20
+ --pivot-danger: #d12424;
21
+ --pivot-warning: #b45309;
22
+ --pivot-info: #1d4ed8;
23
+ --pivot-total-bg: #e7e7e6;
24
+ --pivot-stripe-bg: #f7f7f6;
25
+ --pivot-control-accent: #57534e;
26
+ --pivot-overlay-bg: rgba(15, 23, 42, 0.5);
27
+ --pivot-chooser-overlay-bg: rgba(15, 23, 42, 0.5);
28
+ }
@@ -0,0 +1,28 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Taupe (light) — Soft grey-brown neutrals and a cocoa accent; understated. */
3
+ .kanuni-pivot-root[data-theme="taupe"] {
4
+ color-scheme: light;
5
+ --pivot-bg: #eee9e4;
6
+ --pivot-surface: #faf8f6;
7
+ --pivot-surface-hover: #f1efed;
8
+ --pivot-surface-header: #e9e2db;
9
+ --pivot-header-bg: #e9e2db;
10
+ --pivot-header-text: #2e2925;
11
+ --pivot-border: #e2dfdd;
12
+ --pivot-border-strong: #c9c6c4;
13
+ --pivot-text: #2e2925;
14
+ --pivot-text-muted: #686460;
15
+ --pivot-text-header: #2e2925;
16
+ --pivot-primary: #7a5a48;
17
+ --pivot-primary-foreground: #ffffff;
18
+ --pivot-primary-hover: #6b4f3f;
19
+ --pivot-success: #15803d;
20
+ --pivot-danger: #d22424;
21
+ --pivot-warning: #b45309;
22
+ --pivot-info: #1d4ed8;
23
+ --pivot-total-bg: #eae6e2;
24
+ --pivot-stripe-bg: #f6f4f2;
25
+ --pivot-control-accent: #7a5a48;
26
+ --pivot-overlay-bg: rgba(15, 23, 42, 0.5);
27
+ --pivot-chooser-overlay-bg: rgba(15, 23, 42, 0.5);
28
+ }
@@ -0,0 +1,28 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Teal (light) — Fresh mint band and a deep teal accent. */
3
+ .kanuni-pivot-root[data-theme="teal"] {
4
+ color-scheme: light;
5
+ --pivot-bg: #e3f4f1;
6
+ --pivot-surface: #ffffff;
7
+ --pivot-surface-hover: #f4f5f5;
8
+ --pivot-surface-header: #d3eee9;
9
+ --pivot-header-bg: #d3eee9;
10
+ --pivot-header-text: #0f2725;
11
+ --pivot-border: #e2e5e5;
12
+ --pivot-border-strong: #c5cbcb;
13
+ --pivot-text: #0f2725;
14
+ --pivot-text-muted: #5d6a69;
15
+ --pivot-text-header: #0f2725;
16
+ --pivot-primary: #0f766e;
17
+ --pivot-primary-foreground: #ffffff;
18
+ --pivot-primary-hover: #0d6861;
19
+ --pivot-success: #15803d;
20
+ --pivot-danger: #d72525;
21
+ --pivot-warning: #b45309;
22
+ --pivot-info: #1d4ed8;
23
+ --pivot-total-bg: #e5edec;
24
+ --pivot-stripe-bg: #fbfbfb;
25
+ --pivot-control-accent: #0f766e;
26
+ --pivot-overlay-bg: rgba(15, 23, 42, 0.5);
27
+ --pivot-chooser-overlay-bg: rgba(15, 23, 42, 0.5);
28
+ }
@@ -0,0 +1,32 @@
1
+ /* KanuniLabs PivotGrid colour scheme — generated from the shared scheme source; edit the scheme, not this file. */
2
+ /* Terminal (dark) — Green-on-black for dense, data-heavy monitoring screens. */
3
+ .kanuni-pivot-root[data-theme="terminal"] {
4
+ color-scheme: dark;
5
+ --pivot-bg: #050805;
6
+ --pivot-surface: #0a0f0a;
7
+ --pivot-surface-hover: #192019;
8
+ --pivot-surface-header: #111a11;
9
+ --pivot-header-bg: #111a11;
10
+ --pivot-header-text: #d7f5d7;
11
+ --pivot-border: #2b342b;
12
+ --pivot-border-strong: #485448;
13
+ --pivot-text: #d7f5d7;
14
+ --pivot-text-muted: #9bad9b;
15
+ --pivot-text-header: #d7f5d7;
16
+ --pivot-primary: #4ade80;
17
+ --pivot-primary-foreground: #0b0d12;
18
+ --pivot-primary-hover: #63e392;
19
+ --pivot-success: #4ade80;
20
+ --pivot-danger: #f87171;
21
+ --pivot-warning: #fbbf24;
22
+ --pivot-info: #60a5fa;
23
+ --pivot-total-bg: #1c3423;
24
+ --pivot-stripe-bg: #101610;
25
+ --pivot-control-accent: #4ade80;
26
+ --pivot-overlay-bg: rgba(0, 0, 0, 0.7);
27
+ --pivot-chooser-overlay-bg: rgba(0, 0, 0, 0.7);
28
+ --pivot-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.45);
29
+ --pivot-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.55);
30
+ --pivot-shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.65);
31
+ --pivot-shadow-menu: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanunilabs/pivotgrid",
3
- "version": "1.2.2",
3
+ "version": "1.4.0",
4
4
  "description": "High-performance pivot table for vanilla JavaScript — no framework required. Drag-and-drop pivoting, a Web Worker aggregation engine, filtering, totals and theming, with a UMD build for script-tag use.",
5
5
  "keywords": [
6
6
  "pivot",
@@ -46,7 +46,8 @@
46
46
  }
47
47
  },
48
48
  "./styles.css": "./dist/styles.css",
49
- "./umd": "./dist/pivotgrid.umd.js"
49
+ "./umd": "./dist/pivotgrid.umd.js",
50
+ "./themes/*": "./dist/themes/*"
50
51
  },
51
52
  "main": "./dist/index.cjs",
52
53
  "module": "./dist/index.js",
@@ -62,7 +63,7 @@
62
63
  "access": "public"
63
64
  },
64
65
  "dependencies": {
65
- "@kanunilabs/pivotgrid-core": "1.7.2"
66
+ "@kanunilabs/pivotgrid-core": "1.9.0"
66
67
  },
67
68
  "devDependencies": {
68
69
  "@dnd-kit/core": "^6.3.1",
@@ -80,7 +81,8 @@
80
81
  "tailwindcss": "^4.3.0",
81
82
  "xlsx": "^0.18.5",
82
83
  "zustand": "^5.0.14",
83
- "@kanunilabs/pivotgrid-react": "1.4.2"
84
+ "@kanunilabs/pivotgrid-react": "1.6.0",
85
+ "@kanunilabs/foundation": "1.0.4"
84
86
  },
85
87
  "scripts": {
86
88
  "build": "tsup && node scripts/build-css.mjs && node scripts/build-umd.mjs && node ../../scripts/check-esm-load.mjs",