Skip to content

Commit e7ae7a5

Browse files
committed
bump deps
1 parent 45f0ee7 commit e7ae7a5

File tree

8 files changed

+1532
-780
lines changed

8 files changed

+1532
-780
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG
22

3+
## 1.2.4
4+
5+
_2025-03-19_
6+
7+
### Features
8+
9+
- bumps dependencies
10+
- adds more class names, and makes the auto sizer fill to height 100%
11+
312
## 1.2.2
413

514
_2024-12-19_

example/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@
1313
"preview": "vite preview"
1414
},
1515
"dependencies": {
16-
"@fortawesome/fontawesome-svg-core": "^6.7.1",
17-
"@fortawesome/free-brands-svg-icons": "^6.7.1",
18-
"@fortawesome/free-regular-svg-icons": "^6.7.1",
19-
"@fortawesome/free-solid-svg-icons": "^6.7.1",
16+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
17+
"@fortawesome/free-brands-svg-icons": "^6.7.2",
18+
"@fortawesome/free-regular-svg-icons": "^6.7.2",
19+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
2020
"@fortawesome/react-fontawesome": "^0.2.2",
21-
"@ngneat/falso": "^7.2.0",
22-
"@radix-ui/react-accordion": "^1.2.1",
23-
"@radix-ui/react-checkbox": "^1.1.2",
24-
"@radix-ui/react-label": "^2.1.0",
25-
"@radix-ui/react-popover": "^1.1.2",
26-
"@radix-ui/react-radio-group": "^1.2.1",
27-
"@radix-ui/react-slot": "^1.1.0",
28-
"@radix-ui/react-switch": "^1.1.1",
21+
"@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",
2929
"class-variance-authority": "^0.7.1",
3030
"clsx": "^2.1.1",
31-
"country-flag-icons": "^1.5.13",
31+
"country-flag-icons": "^1.5.18",
3232
"lodash": "^4.17.21",
33-
"lucide-react": "^0.468.0",
33+
"lucide-react": "^0.483.0",
3434
"react": "^18.2.0",
3535
"react-dom": "^18.2.0",
3636
"react-fluid-table": "link:..",
@@ -48,15 +48,15 @@
4848
"@typescript-eslint/eslint-plugin": "^6.0.0",
4949
"@typescript-eslint/parser": "^6.0.0",
5050
"@vitejs/plugin-react": "^4.3.4",
51-
"autoprefixer": "^10.4.20",
51+
"autoprefixer": "^10.4.21",
5252
"eslint": "^8.57.0",
5353
"eslint-config-prettier": "^9.1.0",
54-
"postcss": "^8.4.49",
55-
"prettier": "^3.4.2",
54+
"postcss": "^8.5.3",
55+
"prettier": "^3.5.3",
5656
"prettier-plugin-tailwindcss": "^0.6.9",
5757
"tailwindcss": "^3.4.17",
58-
"typescript": "^5.4.5",
59-
"vite": "^6.0.4"
58+
"typescript": "^5.8.2",
59+
"vite": "^6.2.2"
6060
},
6161
"volta": {
6262
"node": "18.18.0",

example/yarn.lock

Lines changed: 546 additions & 508 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,27 @@
3939
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
4040
},
4141
"devDependencies": {
42-
"@babel/core": "^7.26.0",
43-
"@babel/eslint-parser": "^7.25.9",
42+
"@babel/core": "^7.26.10",
43+
"@babel/eslint-parser": "^7.26.10",
4444
"@babel/plugin-external-helpers": "^7.25.9",
4545
"@babel/plugin-proposal-decorators": "^7.25.9",
4646
"@babel/plugin-proposal-do-expressions": "^7.25.9",
4747
"@babel/plugin-proposal-export-default-from": "^7.25.9",
4848
"@babel/plugin-proposal-function-bind": "^7.25.9",
4949
"@babel/plugin-proposal-function-sent": "^7.25.9",
50-
"@babel/plugin-proposal-pipeline-operator": "^7.25.9",
50+
"@babel/plugin-proposal-pipeline-operator": "^7.26.7",
5151
"@babel/plugin-proposal-throw-expressions": "^7.25.9",
5252
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
5353
"@babel/plugin-syntax-import-meta": "^7.10.4",
5454
"@babel/plugin-transform-class-properties": "^7.25.9",
5555
"@babel/plugin-transform-export-namespace-from": "^7.25.9",
5656
"@babel/plugin-transform-json-strings": "^7.25.9",
5757
"@babel/plugin-transform-logical-assignment-operators": "^7.25.9",
58-
"@babel/plugin-transform-nullish-coalescing-operator": "^7.25.9",
58+
"@babel/plugin-transform-nullish-coalescing-operator": "^7.26.6",
5959
"@babel/plugin-transform-numeric-separator": "^7.25.9",
6060
"@babel/plugin-transform-optional-chaining": "^7.25.9",
61-
"@babel/preset-env": "^7.26.0",
62-
"@babel/preset-react": "^7.25.9",
61+
"@babel/preset-env": "^7.26.9",
62+
"@babel/preset-react": "^7.26.3",
6363
"@babel/preset-typescript": "^7.26.0",
6464
"@rollup/plugin-babel": "^6.0.4",
6565
"@rollup/plugin-commonjs": "^28.0.1",
@@ -76,24 +76,24 @@
7676
"eslint-plugin-flowtype": "^8.0.3",
7777
"eslint-plugin-import": "^2.31.0",
7878
"eslint-plugin-node": "^11.1.0",
79-
"eslint-plugin-prettier": "^5.2.1",
79+
"eslint-plugin-prettier": "^5.2.3",
8080
"eslint-plugin-promise": "^7.2.1",
81-
"eslint-plugin-react": "^7.37.2",
82-
"gh-pages": "^6.2.0",
83-
"postcss": "^8.4.49",
84-
"prettier": "^3.4.2",
81+
"eslint-plugin-react": "^7.37.4",
82+
"gh-pages": "^6.3.0",
83+
"postcss": "^8.5.3",
84+
"prettier": "^3.5.3",
8585
"react": "^18.2.0",
86-
"rollup": "^4.28.1",
86+
"rollup": "^4.36.0",
8787
"rollup-plugin-analyzer": "^4.0.0",
8888
"rollup-plugin-bundle-size": "^1.0.3",
8989
"rollup-plugin-peer-deps-external": "^2.2.4",
9090
"rollup-plugin-postcss": "^4.0.2",
91-
"rollup-plugin-visualizer": "^5.12.0",
92-
"typescript": "^5.4.5"
91+
"rollup-plugin-visualizer": "^5.14.0",
92+
"typescript": "^5.8.2"
9393
},
9494
"dependencies": {
95-
"@tanstack/react-virtual": "^3.11.1",
96-
"react-resize-detector": "^12.0.1"
95+
"@tanstack/react-virtual": "^3.13.4",
96+
"react-resize-detector": "^12.0.2"
9797
},
9898
"volta": {
9999
"node": "18.18.0",

src/AutoSizer.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,11 @@ const AutoSizer = ({
169169
// get actual width
170170
const width = positive(tableWidth) ? tableWidth : containerWidth || 0;
171171

172-
return <div ref={ref}>{height && width ? children({ height, width }) : null}</div>;
172+
return (
173+
<div className="rft-sizer" ref={ref}>
174+
{height && width ? children({ height, width }) : null}
175+
</div>
176+
);
173177
};
174178

175179
export default AutoSizer;

src/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function Header<T>({
117117
className={cx("rft-sticky-header", isScrollHorizontal && "scroll")}
118118
data-header-key={`${uuid}-header`}
119119
>
120-
<div className={cx(isScrollHorizontal && "rft-row-wrapper")}>
120+
<div className={cx("rft-header-wrapper", isScrollHorizontal && "rft-row-wrapper")}>
121121
<div className={cx("rft-header", className)} style={style}>
122122
{columns.map((c, i) => (
123123
<HeaderCell

src/styles/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
contain: strict;
44
}
55

6+
.rft-sizer {
7+
height: 100%;
8+
}
9+
610
.rft-outer-container {
711
position: relative;
812
width: 100%;

0 commit comments

Comments
 (0)