@coldsmirk/ledger-mantine 0.11.0 → 0.11.1

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/README.md CHANGED
@@ -17,6 +17,8 @@ pnpm add @coldsmirk/ledger-mantine
17
17
 
18
18
  Peer dependencies: `@mantine/core`, `@mantine/dates`, and `@mantine/hooks` `^9.0.0`; `react` and `react-dom` `^19.2.0`; and `dayjs` as required by `@mantine/dates`. `@tanstack/react-table` and `@tanstack/react-virtual` are direct dependencies — everything a table needs is re-exported from the main entry.
19
19
 
20
+ **Browser support:** Chrome 111+, Edge 111+, Firefox 128+, and Safari / iOS Safari 16.4+.
21
+
20
22
  Import Mantine's styles and ledger's layered stylesheet once at the application entry point:
21
23
 
22
24
  ```tsx
package/dist/index.cjs CHANGED
@@ -4517,7 +4517,7 @@ function normalizeColumnPinning(value) {
4517
4517
  if (!isRecord(value) || !isStringArray(value.start) || !isStringArray(value.end)) return value;
4518
4518
  const start = new Set(value.start);
4519
4519
  return {
4520
- end: [...new Set(value.end).difference(start)],
4520
+ end: [...new Set(value.end)].filter((id) => !start.has(id)),
4521
4521
  start: [...start]
4522
4522
  };
4523
4523
  }