Skip to content

Commit 57b02c7

Browse files
committed
use css grid to handle horizontal scroll
1 parent 7555d0f commit 57b02c7

File tree

9 files changed

+752
-757
lines changed

9 files changed

+752
-757
lines changed

example/package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,52 +19,52 @@
1919
"@fortawesome/free-solid-svg-icons": "^6.7.2",
2020
"@fortawesome/react-fontawesome": "^0.2.2",
2121
"@ngneat/falso": "^7.3.0",
22-
"@radix-ui/react-accordion": "^1.2.3",
23-
"@radix-ui/react-checkbox": "^1.1.4",
24-
"@radix-ui/react-label": "^2.1.2",
25-
"@radix-ui/react-popover": "^1.1.6",
26-
"@radix-ui/react-radio-group": "^1.2.3",
27-
"@radix-ui/react-slot": "^1.1.2",
28-
"@radix-ui/react-switch": "^1.1.3",
22+
"@radix-ui/react-accordion": "^1.2.7",
23+
"@radix-ui/react-checkbox": "^1.2.2",
24+
"@radix-ui/react-label": "^2.1.4",
25+
"@radix-ui/react-popover": "^1.1.10",
26+
"@radix-ui/react-radio-group": "^1.3.2",
27+
"@radix-ui/react-slot": "^1.2.0",
28+
"@radix-ui/react-switch": "^1.2.2",
2929
"class-variance-authority": "^0.7.1",
3030
"clsx": "^2.1.1",
3131
"country-flag-icons": "^1.5.18",
3232
"lodash": "^4.17.21",
33-
"lucide-react": "^0.486.0",
33+
"lucide-react": "^0.501.0",
3434
"react": "^19.1.0",
3535
"react-dom": "^19.1.0",
3636
"react-fluid-table": "link:..",
37-
"react-router-dom": "^7.4.1",
37+
"react-router-dom": "^7.5.1",
3838
"react-syntax-highlighter": "^15.6.1",
3939
"tailwind-merge": "^2.5.5",
4040
"tailwindcss-animate": "^1.0.7"
4141
},
4242
"devDependencies": {
43-
"@eslint/compat": "^1.2.7",
43+
"@eslint/compat": "^1.2.8",
4444
"@eslint/eslintrc": "^3.3.1",
45-
"@eslint/js": "^9.23.0",
46-
"@types/lodash": "^4.17.13",
47-
"@types/node": "^20.14.2",
48-
"@types/react": "^19.0.12",
49-
"@types/react-dom": "^19.0.4",
45+
"@eslint/js": "^9.25.0",
46+
"@types/lodash": "^4.17.16",
47+
"@types/node": "^20",
48+
"@types/react": "^19",
49+
"@types/react-dom": "^19",
5050
"@types/react-syntax-highlighter": "^15.5.13",
51-
"@typescript-eslint/eslint-plugin": "^8.29.0",
52-
"@typescript-eslint/parser": "^8.29.0",
53-
"@vitejs/plugin-react": "^4.3.4",
51+
"@typescript-eslint/eslint-plugin": "^8.30.1",
52+
"@typescript-eslint/parser": "^8.30.1",
53+
"@vitejs/plugin-react": "^4.4.0",
5454
"autoprefixer": "^10.4.21",
55-
"eslint": "9.23.0",
56-
"eslint-config-prettier": "^10.1.1",
57-
"eslint-plugin-prettier": "^5.2.5",
55+
"eslint": "9.24.0",
56+
"eslint-config-prettier": "^10.1.2",
57+
"eslint-plugin-prettier": "^5.2.6",
5858
"eslint-plugin-react-hooks": "^5.2.0",
5959
"eslint-plugin-react-refresh": "^0.4.19",
6060
"globals": "^16.0.0",
6161
"postcss": "^8.5.3",
6262
"prettier": "^3.5.3",
63-
"prettier-plugin-tailwindcss": "^0.6.9",
63+
"prettier-plugin-tailwindcss": "^0.6.11",
6464
"tailwindcss": "^3.4.17",
65-
"typescript": "^5.8.2",
66-
"typescript-eslint": "^8.29.0",
67-
"vite": "^6.2.4"
65+
"typescript": "^5.8.3",
66+
"typescript-eslint": "^8.30.1",
67+
"vite": "^6.3.2"
6868
},
6969
"volta": {
7070
"node": "20.12.1",

example/src/examples/08-header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import { faChevronUp, faChevronDown } from "@fortawesome/free-solid-svg-icons";
77
import { cn } from "@/lib/utils";
88
import { useSource, useTitle } from "@/hooks/useTitle";
99

10-
interface HeaderCellProps extends HeaderProps {
10+
type HeaderCellProps = HeaderProps & {
1111
name?: string;
12-
}
12+
};
1313

1414
const HeaderCell = ({ name, sortDirection, style, onClick }: HeaderCellProps) => {
1515
const icon = !sortDirection ? null : (

0 commit comments

Comments
 (0)