8000 wip · react-bootstrap/react-bootstrap@36fd3d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 36fd3d7

Browse files
committed
wip
1 parent 4826bfa commit 36fd3d7

File tree

9 files changed

+1020
-2396
lines changed

9 files changed

+1020
-2396
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-bootstrap",
3-
"version": "2.10.9",
3+
"version": "3.0.0-beta.0",
44
"description": "Bootstrap 5 components built with React",
55
"keywords": [
66
"bootstrap",
@@ -63,7 +63,7 @@
6363
"build:esm:types": "tsc --emitDeclarationOnly",
6464
"build:cjs:types": "tsc --emitDeclarationOnly --outDir cjs",
6565
"build-docs": "yarn --cwd www build",
66-
"check-types": "tsc --noEmit",
66+
"check-types": "tsc -p ./test/tsconfig.json --noEmit",
6767
"deploy-docs": "yarn --cwd www deploy",
6868
"lint": "eslint src test",
6969
"prepublishOnly": "npm run build",
@@ -83,7 +83,7 @@
8383
"dependencies": {
8484
"@babel/runtime": "^7.26.7",
8585
"@restart/hooks": "^0.6.2",
86-
"@restart/ui": "file:.yalc/@restart/ui",
86+
"@restart/ui": "^2.0.0-beta.2",
8787
"@types/prop-types": "^15.7.14",
8888
"@types/react-transition-group": "^4.4.12",
8989
"classnames": "^2.3.2",
@@ -92,7 +92,7 @@
9292
"prop-types": "^15.8.1",
9393
"prop-types-extra": "^1.1.0",
9494
"react-transition-group": "^4.4.5",
95-
"uncontrollable": "^7.2.1",
95+
"uncontrollable": "^9.0.0",
9696
"warning": "^4.0.3"
9797
},
9898
"devDependencies": {
@@ -101,7 +101,7 @@
101101
"@babel/core": "^7.26.8",
102102
"@babel/preset-typescript": "^7.26.0",
103103
"@babel/register": "^7.25.9",
104-
"@react-bootstrap/babel-preset": "^2.2.0",
104+
"@react-bootstrap/babel-preset": "^2.3.0",
105105
"@testing-library/dom": "^10.4.0",
106106
"@testing-library/react": "^16.2.0",
107107
"@types/invariant": "^2.2.37",
@@ -140,7 +140,7 @@
140140
}
141141
},
142142
"publishConfig": {
143-
"directory": "lib"
143+
"access": "public"
144144
},
145145
"release": {
146146
"conventionalCommits": true

src/Collapse.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,6 @@ const Collapse = React.forwardRef<Transition<any>, CollapseProps>(
254254
);
255255

256256
Collapse.displayName = 'Collapse';
257-
Collapse.propTypes = propTypes;
257+
Collapse.propTypes = propTypes as any;
258258

259259
export default Collapse;

src/OverlayTrigger.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,6 @@ const OverlayTrigger: React.FC<OverlayTriggerProps> = ({
319319
);
320320
};
321321

322-
OverlayTrigger.propTypes = propTypes;
322+
OverlayTrigger.propTypes = propTypes as any;
323323

324324
export default OverlayTrigger;

src/ProgressBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,6 @@ const ProgressBar = React.forwardRef<HTMLDivElement, ProgressBarProps>(
231231
);
232232

233233
ProgressBar.displayName = 'ProgressBar';
234-
ProgressBar.propTypes = propTypes;
234+
ProgressBar.propTypes = propTypes as any;
235235

236236
export default ProgressBar;

src/Tab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const Tab: React.FC<TabProps> = () => {
4343
);
4444
};
4545

46-
Tab.propTypes = propTypes;
46+
Tab.propTypes = propTypes as any;
4747

4848
export default Object.assign(Tab, {
4949
Container: TabContainer,

src/Tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const Tabs: React.FC<TabsProps> = (props) => {
178178
);
179179
};
180180

181-
Tabs.propTypes = propTypes;
181+
Tabs.propTypes = propTypes as any;
182182
Tabs.displayName = 'Tabs';
183183

184184
export default Tabs;

test/tsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "..",
3+
"compilerOptions": {
4+
"jsx": "react-jsx",
5+
"lib": ["DOM", "ESNext"],
6+
"rootDir": ".."
7+
},
8+
"include": ["../src", ".", "../tests"]
9+
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"noImplicitAny": false,
1717
"jsx": "react-jsx"
1818
},
19-
"include": ["src", "test"]
19+
"include": ["src"]
2020
}

0 commit comments

Comments
 (0)
0