@kanunilabs/pivotgrid-react 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/styles.css CHANGED
@@ -1113,6 +1113,34 @@
1113
1113
  margin: 0 4px;
1114
1114
  }
1115
1115
 
1116
+ /* The quick-search box (`search` option). Root-qualified like the footer
1117
+ buttons, so the root's own input reset cannot win over it. */
1118
+ .kanuni-pivot-root .kanuni-pivot-search {
1119
+ width: 180px;
1120
+ min-width: 0;
1121
+ height: 26px;
1122
+ padding: 2px 8px;
1123
+ border: 1px solid var(--pivot-border);
1124
+ border-radius: var(--pivot-border-radius-sm);
1125
+ background-color: var(--pivot-surface);
1126
+ color: var(--pivot-text);
1127
+ font: inherit;
1128
+ font-size: 12px;
1129
+ }
1130
+ .kanuni-pivot-root .kanuni-pivot-search:focus-visible {
1131
+ outline: 2px solid var(--pivot-primary);
1132
+ outline-offset: 1px;
1133
+ }
1134
+
1135
+ /* Said above the body when `maxColumns` cut the column members. */
1136
+ .kanuni-pivot-notice {
1137
+ padding: 4px 8px;
1138
+ font-size: 12px;
1139
+ color: var(--pivot-text);
1140
+ background-color: color-mix(in srgb, var(--pivot-warning) 14%, var(--pivot-bg));
1141
+ border-bottom: 1px solid var(--pivot-border);
1142
+ }
1143
+
1116
1144
  /* ─────────────────────────────────────────────────────────────
1117
1145
  Area Strips & Field Chips Styles
1118
1146
  ───────────────────────────────────────────────────────────── */
@@ -1201,6 +1229,10 @@
1201
1229
  }
1202
1230
 
1203
1231
  .kanuni-pivot-chip-btn {
1232
+ /* A span since 2026-10-12 (see PivotAreaStrips): the box a button gave. */
1233
+ display: inline-flex;
1234
+ align-items: center;
1235
+ cursor: pointer;
1204
1236
  padding: 2px;
1205
1237
  border-radius: var(--pivot-border-radius-sm);
1206
1238
  transition: all 0.15s;
@@ -1577,6 +1609,24 @@
1577
1609
  .kanuni-pivot-chart-action-btn--success { color: var(--pivot-success); }
1578
1610
  .kanuni-pivot-chart-action-btn--success:hover { background-color: color-mix(in srgb, var(--pivot-success) 10%, transparent); }
1579
1611
 
1612
+ /* ── Forced colours (Windows high contrast) ─────────────────────
1613
+ System colours for what the theme draws with fills and shadows, which the
1614
+ browser drops in this mode (accessibility audit, 2026-10-12). */
1615
+ @media (forced-colors: active) {
1616
+ .kanuni-pivot-table .kanuni-pivot-cell-focused {
1617
+ outline: 2px solid Highlight;
1618
+ outline-offset: -2px;
1619
+ }
1620
+ .kanuni-pivot-table .kanuni-pivot-cell-selected {
1621
+ forced-color-adjust: none;
1622
+ background: Highlight !important;
1623
+ color: HighlightText !important;
1624
+ }
1625
+ .kanuni-pivot-root :focus-visible {
1626
+ outline: 2px solid Highlight;
1627
+ }
1628
+ }
1629
+
1580
1630
 
1581
1631
  /* ───── Tailwind utilities (compiled & scoped under .kanuni-pivot-root) ───── */
1582
1632
  /*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanunilabs/pivotgrid-react",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "High-performance React pivot table with a Web Worker engine — drag-and-drop pivoting, filtering, sorting, theming and export",
5
5
  "keywords": [
6
6
  "react",
@@ -65,11 +65,12 @@
65
65
  "access": "public"
66
66
  },
67
67
  "dependencies": {
68
- "@kanunilabs/pivotgrid-core": "1.9.0"
68
+ "@kanunilabs/pivotgrid-core": "1.10.0"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@tailwindcss/postcss": "^4.3.0",
72
72
  "@vitest/web-worker": "^4.1.11",
73
+ "axe-core": "4.10.2",
73
74
  "jsdom": "^30.0.1",
74
75
  "postcss": "^8.5.15",
75
76
  "postcss-prefixwrap": "^1.51.0",