@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 +7 -0
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/data-table/index.js.map +1 -1
- package/dist/components/data-table/pagination.js +1 -1
- package/dist/components/data-table/pagination.js.map +1 -1
- package/dist/components/data-views/hub-table.js +1 -1
- package/dist/components/data-views/hub-table.js.map +1 -1
- package/dist/components/data-views/index.js +1 -1
- package/dist/components/data-views/index.js.map +1 -1
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/banner.d.ts +3 -3
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/tabs.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/data-table/index.tsx +1 -1
- package/tokens/hooks-index.json +2 -2
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(() => {
|