Skip to content

Commit

Permalink
fix: invalid resolution of icon-helpers (#16823)
Browse files Browse the repository at this point in the history
* fix: invalid resolution of icon-helpers

* fix: relocate the incremental-migration-vite example
  • Loading branch information
tay1orjones authored Jun 19, 2024
1 parent 14d1896 commit 250923e
Show file tree
Hide file tree
Showing 23 changed files with 4 additions and 498 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
24 changes: 0 additions & 24 deletions examples/incremental-migration-vite/.gitignore

This file was deleted.

51 changes: 2 additions & 49 deletions examples/incremental-migration-vite/README.md
Original file line number Diff line number Diff line change
@@ -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
13 changes: 0 additions & 13 deletions examples/incremental-migration-vite/index.html

This file was deleted.

27 changes: 0 additions & 27 deletions examples/incremental-migration-vite/package.json

This file was deleted.

186 changes: 0 additions & 186 deletions examples/incremental-migration-vite/src/App.jsx

This file was deleted.

7 changes: 0 additions & 7 deletions examples/incremental-migration-vite/src/index.scss

This file was deleted.

13 changes: 0 additions & 13 deletions examples/incremental-migration-vite/src/main.jsx

This file was deleted.

14 changes: 0 additions & 14 deletions examples/incremental-migration-vite/src/scss/App.module.css

This file was deleted.

7 changes: 0 additions & 7 deletions examples/incremental-migration-vite/vite.config.js

This file was deleted.

Loading

0 comments on commit 250923e

Please sign in to comment.