Skip to content

Commit 5286026

Browse files
fix(codesandbox): scope deps to v10 (#11310)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 60f552b commit 5286026

5 files changed

Lines changed: 8 additions & 11 deletions

File tree

packages/react/examples/custom-data-table-state-manager/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"private": true,
55
"description": "Sample project for creating fully customized state management of carbon-components-react data table",
66
"dependencies": {
7-
"carbon-components": "latest",
8-
"carbon-components-react": "latest",
7+
"carbon-components": "10.x",
8+
"carbon-components-react": "7.x",
99
"carbon-icons": "latest",
1010
"lodash-es": "^4.17.0",
1111
"node-sass": "^4.14.1",

packages/react/examples/drag-and-drop-file-uploader/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"carbon-components": "latest",
7-
"carbon-components-react": "latest",
6+
"carbon-components": "10.x",
7+
"carbon-components-react": "7.x",
88
"carbon-icons": "latest",
99
"react": "16.10.2",
1010
"react-dom": "16.10.2",

packages/react/examples/drag-and-drop-file-uploader/public/index.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111
manifest.json provides metadata used when your web app is added to the
1212
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
1313
-->
14-
<link
15-
rel="stylesheet"
16-
href="https://unpkg.com/carbon-components/css/carbon-components.min.css"
17-
/>
14+
<link rel="stylesheet" href="https://unpkg.com/carbon-components@10/css/carbon-components.min.css">
1815
<!--
1916
Notice the use of %PUBLIC_URL% in the tags above.
2017
It will be replaced with the URL of the `public` folder during the build.

packages/react/examples/react-router/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"carbon-components": "latest",
7-
"carbon-components-react": "latest",
6+
"carbon-components": "v10",
7+
"carbon-components-react": "v7",
88
"carbon-icons": "latest",
99
"history": "^5.0.0",
1010
"node-sass": "^4.11.0",

packages/react/examples/react-router/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
work correctly both with client-side routing and a non-root public URL.
2323
Learn how to configure a non-root public URL by running `npm run build`.
2424
-->
25-
<link rel="stylesheet" href="https://unpkg.com/carbon-components/css/carbon-components.min.css">
25+
<link rel="stylesheet" href="https://unpkg.com/carbon-components@10/css/carbon-components.min.css">
2626
<title>React App</title>
2727
</head>
2828
<body>

0 commit comments

Comments
 (0)