From fd5b7d19982f1df15f6ea4ff09bcb004306fcc74 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Mon, 10 Aug 2026 11:18:47 +0900 Subject: [PATCH] fix: pin data table to TanStack Table v8 --- .agent/consumer.md | 1 + AGENTS.md | 1 + README.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- registry/components/registry.json | 2 +- 6 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.agent/consumer.md b/.agent/consumer.md index bae0f0c..2a01668 100644 --- a/.agent/consumer.md +++ b/.agent/consumer.md @@ -12,6 +12,7 @@ When implementing or changing frontend UI, use this order: ### Installation and Ownership - Inspect the registry item and its dependencies before installation. Use the shadcn CLI with the approved registry endpoint under `https://ui-registry.kric.com/r/` instead of copying files from `dist/r` manually. +- `kri-data-table` uses the TanStack Table v8 API. Keep `@tanstack/react-table` within the supported `^8.21.3` range and do not upgrade it to v9 until KriUiRegistry provides an explicitly migrated component contract. - Respect the consumer project's component aliases, target paths, package manager, styling system, React version, and existing design tokens. - The shadcn workflow copies component source into the consumer repository. After installation, treat that copy as project-owned code; do not assume registry updates propagate automatically. - Do not overwrite an existing project component without reviewing the diff and confirming that local behavior and accessibility are preserved. diff --git a/AGENTS.md b/AGENTS.md index 2bea008..b15e6f9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -234,6 +234,7 @@ When implementing or changing frontend UI, use this order: ### Installation and Ownership - Inspect the registry item and its dependencies before installation. Use the shadcn CLI with the approved registry endpoint under `https://ui-registry.kric.com/r/` instead of copying files from `dist/r` manually. +- `kri-data-table` uses the TanStack Table v8 API. Keep `@tanstack/react-table` within the supported `^8.21.3` range and do not upgrade it to v9 until KriUiRegistry provides an explicitly migrated component contract. - Respect the consumer project's component aliases, target paths, package manager, styling system, React version, and existing design tokens. - The shadcn workflow copies component source into the consumer repository. After installation, treat that copy as project-owned code; do not assume registry updates propagate automatically. - Do not overwrite an existing project component without reviewing the diff and confirming that local behavior and accessibility are preserved. diff --git a/README.md b/README.md index 5d9b4ba..6142fc6 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ kri-layout kri-dialog ``` +`kri-data-table`은 TanStack Table v8 API를 사용하며 `@tanstack/react-table@^8.21.3` 범위를 지원합니다. KriUiRegistry에서 별도의 마이그레이션 버전을 제공하기 전에는 v9으로 올리지 않습니다. + 개별 설치 예시: ```powershell diff --git a/package-lock.json b/package-lock.json index 2752c90..59128e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "kri-ui-registry", - "version": "0.10.0", + "version": "0.11.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "kri-ui-registry", - "version": "0.10.0", + "version": "0.11.5", "devDependencies": { "@tanstack/react-table": "^8.21.3", "@tiptap/extension-color": "^3.27.1", diff --git a/package.json b/package.json index c1ae541..15392fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kri-ui-registry", - "version": "0.11.4", + "version": "0.11.5", "private": true, "description": "KRI internal shadcn UI registry", "scripts": { diff --git a/registry/components/registry.json b/registry/components/registry.json index 655036b..7f74e95 100644 --- a/registry/components/registry.json +++ b/registry/components/registry.json @@ -266,7 +266,7 @@ "table" ], "dependencies": [ - "@tanstack/react-table", + "@tanstack/react-table@^8.21.3", "lucide-react" ], "files": [