diff --git a/.yarn/cache/@carbon-feature-flags-npm-0.7.0-7f192756d6-1c311913a2.zip b/.yarn/cache/@carbon-feature-flags-npm-0.7.0-7f192756d6-1c311913a2.zip deleted file mode 100644 index 88942f051ff3..000000000000 Binary files a/.yarn/cache/@carbon-feature-flags-npm-0.7.0-7f192756d6-1c311913a2.zip and /dev/null differ diff --git a/.yarn/cache/@carbon-icons-react-npm-10.49.0-38655169d3-d2bd3d4a4c.zip b/.yarn/cache/@carbon-icons-react-npm-10.49.0-38655169d3-d2bd3d4a4c.zip deleted file mode 100644 index fe3fd9f48c89..000000000000 Binary files a/.yarn/cache/@carbon-icons-react-npm-10.49.0-38655169d3-d2bd3d4a4c.zip and /dev/null differ diff --git a/.yarn/cache/@carbon-layout-npm-10.37.1-eeb184f33f-361dbbde61.zip b/.yarn/cache/@carbon-layout-npm-10.37.1-eeb184f33f-361dbbde61.zip deleted file mode 100644 index 69abce1df6ed..000000000000 Binary files a/.yarn/cache/@carbon-layout-npm-10.37.1-eeb184f33f-361dbbde61.zip and /dev/null differ diff --git a/.yarn/cache/@carbon-telemetry-npm-0.1.0-dda5a14121-4a803573ab.zip b/.yarn/cache/@carbon-telemetry-npm-0.1.0-dda5a14121-4a803573ab.zip deleted file mode 100644 index 64a0e9fb3c9f..000000000000 Binary files a/.yarn/cache/@carbon-telemetry-npm-0.1.0-dda5a14121-4a803573ab.zip and /dev/null differ diff --git a/.yarn/cache/carbon-components-npm-10.58.0-a89302e587-9fc9c7015f.zip b/.yarn/cache/carbon-components-npm-10.58.0-a89302e587-9fc9c7015f.zip deleted file mode 100644 index 5753494155c2..000000000000 Binary files a/.yarn/cache/carbon-components-npm-10.58.0-a89302e587-9fc9c7015f.zip and /dev/null differ diff --git a/.yarn/cache/carbon-components-react-npm-7.59.0-3db1ba9c08-39dcad7afe.zip b/.yarn/cache/carbon-components-react-npm-7.59.0-3db1ba9c08-39dcad7afe.zip deleted file mode 100644 index 768f4da5e662..000000000000 Binary files a/.yarn/cache/carbon-components-react-npm-7.59.0-3db1ba9c08-39dcad7afe.zip and /dev/null differ diff --git a/.yarn/cache/carbon-icons-npm-7.0.7-a0d95b025d-eb9726c74e.zip b/.yarn/cache/carbon-icons-npm-7.0.7-a0d95b025d-eb9726c74e.zip deleted file mode 100644 index 9913610c463e..000000000000 Binary files a/.yarn/cache/carbon-icons-npm-7.0.7-a0d95b025d-eb9726c74e.zip and /dev/null differ diff --git a/.yarn/cache/classnames-npm-2.3.1-f2ae0a8d3c-28fec94a81.zip b/.yarn/cache/classnames-npm-2.3.1-f2ae0a8d3c-28fec94a81.zip deleted file mode 100644 index 72c97a4bcb58..000000000000 Binary files a/.yarn/cache/classnames-npm-2.3.1-f2ae0a8d3c-28fec94a81.zip and /dev/null differ diff --git a/.yarn/cache/compute-scroll-into-view-npm-1.0.17-708f0ecc3d-9c7b730442.zip b/.yarn/cache/compute-scroll-into-view-npm-1.0.17-708f0ecc3d-9c7b730442.zip deleted file mode 100644 index ae86cbb9c773..000000000000 Binary files a/.yarn/cache/compute-scroll-into-view-npm-1.0.17-708f0ecc3d-9c7b730442.zip and /dev/null differ diff --git a/.yarn/cache/downshift-npm-5.2.1-21b424890b-5ea8784bed.zip b/.yarn/cache/downshift-npm-5.2.1-21b424890b-5ea8784bed.zip deleted file mode 100644 index d67e323ea1a0..000000000000 Binary files a/.yarn/cache/downshift-npm-5.2.1-21b424890b-5ea8784bed.zip and /dev/null differ diff --git a/.yarn/cache/flatpickr-npm-4.6.1-c1e46c3700-0178772a10.zip b/.yarn/cache/flatpickr-npm-4.6.1-c1e46c3700-0178772a10.zip deleted file mode 100644 index 6c4758a64e4e..000000000000 Binary files a/.yarn/cache/flatpickr-npm-4.6.1-c1e46c3700-0178772a10.zip and /dev/null differ diff --git a/.yarn/cache/flatpickr-npm-4.6.9-9928816e33-0845ef213b.zip b/.yarn/cache/flatpickr-npm-4.6.9-9928816e33-0845ef213b.zip deleted file mode 100644 index 29edd2b140fa..000000000000 Binary files a/.yarn/cache/flatpickr-npm-4.6.9-9928816e33-0845ef213b.zip and /dev/null differ diff --git a/.yarn/cache/warning-npm-3.0.0-125973e5cc-c9f99a1280.zip b/.yarn/cache/warning-npm-3.0.0-125973e5cc-c9f99a1280.zip deleted file mode 100644 index d978759093c4..000000000000 Binary files a/.yarn/cache/warning-npm-3.0.0-125973e5cc-c9f99a1280.zip and /dev/null differ diff --git a/examples/incremental-migration-vite/.gitignore b/examples/incremental-migration-vite/.gitignore deleted file mode 100644 index a547bf36d8d1..000000000000 --- a/examples/incremental-migration-vite/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* - -node_modules -dist -dist-ssr -*.local - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -.DS_Store -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/examples/incremental-migration-vite/README.md b/examples/incremental-migration-vite/README.md index 0f3f81fa4250..d656603750f3 100644 --- a/examples/incremental-migration-vite/README.md +++ b/examples/incremental-migration-vite/README.md @@ -1,51 +1,4 @@ ## Incremental migration -We have recently released a new version, v11, of our component library and a -common question we receive is if users can adopt v11 incrementally and the -answer is yes! If the burden of migrating to v11 is too big to take on all at -once, but there are features of our latest release you want to take advantage -of, it is likely that you can pull in just the parts you are wanting to use -while keeping the rest of your Carbon usage the same. - -This example illustrates how v11 and v10 work together. - -## Getting Started - -First, run `yarn build` in the root of the `carbon` repository. - -```sh -yarn install && yarn build -``` - -Now, all you need to do is `cd` into the directory and run: - -```sh -yarn install -# or -npm install - - -yarn dev -# or -npm run dev -``` - -This example only takes a little bit of time to start, once it's up and running, -it's very fast. - -Open [http://localhost:5173](http://localhost:5173) with your browser to see the -result. - -## Sass - -First and foremost, if you want to use v11 styles in any capacity, you'll have -to migrate to use `dart-sass`. `node-sass` has been deprecated and we migrated -to `dart-sass` in v11. For more information about migrating, visit our docs -[here](https://github.com/carbon-design-system/carbon/blob/main/docs/migration/v11.md#changing-from-node-sass-to-sass). - -## V10 and V11 - -This example is mainly v10, but it takes advantage of the new Stack component -from v11 and uses v11's StructuredList component 🎉. StructuredList had a major -accessibilty revamp in v11 that you might want to use and this examples shows -you how. +This example has moved to: +https://stackblitz.com/edit/github-gng7o6?file=README.md diff --git a/examples/incremental-migration-vite/index.html b/examples/incremental-migration-vite/index.html deleted file mode 100644 index b46ab83364e3..000000000000 --- a/examples/incremental-migration-vite/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite App - - -
- - - diff --git a/examples/incremental-migration-vite/package.json b/examples/incremental-migration-vite/package.json deleted file mode 100644 index bde33c6cacc3..000000000000 --- a/examples/incremental-migration-vite/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "incremental-migration-vite", - "private": true, - "version": "0.25.0", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview" - }, - "installConfig": { - "hoistingLimits": "workspaces" - }, - "dependencies": { - "@carbon/icons-react": "^10.49.0", - "@carbon/react": "^1.60.0", - "carbon-components": "^10.57.0", - "carbon-components-react": "^7.57.0", - "carbon-icons": "^7.0.7", - "react": "18.2.0", - "react-dom": "18.2.0" - }, - "devDependencies": { - "@vitejs/plugin-react": "4.0.0", - "sass": "^1.51.0", - "vite": "^4.3.8" - } -} diff --git a/examples/incremental-migration-vite/src/App.jsx b/examples/incremental-migration-vite/src/App.jsx deleted file mode 100644 index 53b373b867a7..000000000000 --- a/examples/incremental-migration-vite/src/App.jsx +++ /dev/null @@ -1,186 +0,0 @@ -import React from 'react'; -import { - Button, - Content, - Header, - SkipToContent, - HeaderName, - Toggle, - NumberInput, - RadioButtonGroup, - RadioButton, - Search, - Select, - SelectItem, - TextInput, - TextArea, -} from 'carbon-components-react'; -import { - StructuredListBody, - StructuredListWrapper, - StructuredListHead, - StructuredListRow, - StructuredListCell, - Stack, -} from '@carbon/react'; -import Head from 'next/head'; -import styles from './scss/App.module.css'; - -export default function App() { - const numberInputProps = { - className: 'some-class', - id: 'number-input-1', - label: 'Number Input', - min: 0, - max: 100, - value: 50, - step: 10, - }; - - const toggleProps = { - className: 'some-class', - }; - - const radioProps = { - className: 'some-class', - }; - - const searchProps = { - className: 'some-class', - }; - - const selectProps = { - className: 'some-class', - }; - - const TextInputProps = { - className: 'some-class', - id: 'test2', - labelText: 'Text Input label', - placeholder: 'Placeholder text', - }; - - const textareaProps = { - labelText: 'Text Area label', - className: 'some-class', - placeholder: 'Placeholder text', - id: 'test5', - cols: 50, - rows: 4, - }; - - const buttonEvents = { - className: 'some-class', - }; - - return ( -
- - Create Next App - - - - -
- - - [Platform] - -
- - - - - {}} - name="radio-button-group" - defaultSelected="default-selected"> - - - - - - - - - ColumnA - ColumnB - ColumnC - - - - - Row 1 - Row 1 - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc - dui magna, finibus id tortor sed, aliquet bibendum augue. - Aenean posuere sem vel euismod dignissim. Nulla ut cursus - dolor. Pellentesque vulputate nisl a porttitor interdum. - - - - Row 2 - Row 2 - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc - dui magna, finibus id tortor sed, aliquet bibendum augue. - Aenean posuere sem vel euismod dignissim. Nulla ut cursus - dolor. Pellentesque vulputate nisl a porttitor interdum. - - - - - - - -