@exxatdesignux/ui 0.5.6 → 0.5.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.7
4
+
5
+ ### Patch Changes
6
+
7
+ - **`tokens:check` ignores purely-metadata fields** — the `--check` diff in `scripts/build-tokens-index.mjs` now strips `version` (in addition to `generatedAt`) before comparing. A `package.json` version bump no longer reports `tokens/hooks-index.json` as stale on its own; only real token content drift (`tokens`, `namespaces`, `themeKeys`, `tokenCount`, `source`) fails CI. Prevents the failure mode that blocked the `0.5.6` release on its first tag push.
8
+ - **`DataTable` lint cleanup** — `scrollRef` added to the `useLayoutEffect` deps list so the `react-hooks/exhaustive-deps` annotation stops appearing on every CI run. The ref identity is stable, so this is behaviourally a no-op.
9
+
3
10
  ## 0.5.6
4
11
 
5
12
  ### Patch Changes
@@ -2357,7 +2357,7 @@ function DataTableInner({
2357
2357
  const table = el.querySelector("table");
2358
2358
  if (table) ro.observe(table);
2359
2359
  return () => ro.disconnect();
2360
- }, [totalWidth, displayCols.length, checkOverflow]);
2360
+ }, [totalWidth, displayCols.length, checkOverflow, scrollRef]);
2361
2361
  const columnMenuPendingActionRef = React9.useRef(null);
2362
2362
  const pinnedScrollHintDoneRef = React9.useRef(false);
2363
2363
  React9.useEffect(() => {