From f2658acace03b8a0687cdef85de23cd9b122d676 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Tue, 8 Dec 2020 08:27:55 -0800 Subject: [PATCH] docs: add links to Svelte implementation (#7408) * docs: add links to Svelte implementation * chore: run prettier Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- README.md | 27 ++++++++++++------------ packages/icons/README.md | 1 + packages/icons/examples/preview/index.js | 3 +++ 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 3e0b537ac908..5204930ef77e 100644 --- a/README.md +++ b/README.md @@ -40,23 +40,24 @@ We also have community-contributed components for the following technologies: - [Angular](https://github.com/IBM/carbon-components-angular) - [Vue](https://github.com/carbon-design-system/carbon-components-vue) +- [Svelte](https://github.com/IBM/carbon-components-svelte) If you're trying to find something specific, here's a full list of packages that we support! -| Package name | Description | -| --------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [`carbon-components`](./packages/components) | Component styles and Vanilla JavaScript | -| [`carbon-components-react`](./packages/react) | React components | -| [`@carbon/elements`](./packages/elements) | IBM Design Language elements like colors, type, iconography, and more | -| [`@carbon/colors`](./packages/colors) | Work with IBM Design Language colors | -| [`@carbon/grid`](./packages/grid) | Build layouts using the new 16 column grid system | -| [`@carbon/icons`](./packages/icons) | Iconography assets. We also offer support in: [React](./packages/icons-react), [Angular](https://github.com/carbon-design-system/carbon-icons-angular), and [Vue](./packages/icons-vue) | -| [`@carbon/pictograms`](./packages/pictograms) | Pictogram assets. We also offer support in: [React](./packages/pictograms-react) | -| [`@carbon/layout`](./packages/layout) | Layout-based units and spacing scale | -| [`@carbon/motion`](./packages/motion) | Productive and expressive motion curves | -| [`@carbon/themes`](./packages/themes) | Color tokens available in the Carbon Design System, like `$interactive-01` | -| [`@carbon/type`](./packages/type) | New type tokens used alongside IBM Plex | +| Package name | Description | +| --------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [`carbon-components`](./packages/components) | Component styles and Vanilla JavaScript | +| [`carbon-components-react`](./packages/react) | React components | +| [`@carbon/elements`](./packages/elements) | IBM Design Language elements like colors, type, iconography, and more | +| [`@carbon/colors`](./packages/colors) | Work with IBM Design Language colors | +| [`@carbon/grid`](./packages/grid) | Build layouts using the new 16 column grid system | +| [`@carbon/icons`](./packages/icons) | Iconography assets. We also offer support in: [React](./packages/icons-react), [Angular](https://github.com/carbon-design-system/carbon-icons-angular), [Vue](./packages/icons-vue), and [Svelte](https://github.com/IBM/carbon-icons-svelte) | +| [`@carbon/pictograms`](./packages/pictograms) | Pictogram assets. We also offer support in: [React](./packages/pictograms-react) and [Svelte](https://github.com/IBM/carbon-pictograms-svelte) | +| [`@carbon/layout`](./packages/layout) | Layout-based units and spacing scale | +| [`@carbon/motion`](./packages/motion) | Productive and expressive motion curves | +| [`@carbon/themes`](./packages/themes) | Color tokens available in the Carbon Design System, like `$interactive-01` | +| [`@carbon/type`](./packages/type) | New type tokens used alongside IBM Plex | ## :books: Documentation diff --git a/packages/icons/README.md b/packages/icons/README.md index 5f2472dc6214..cfbc60ac3eef 100644 --- a/packages/icons/README.md +++ b/packages/icons/README.md @@ -27,6 +27,7 @@ for various frameworks: - [Angular](https://github.com/carbon-design-system/carbon-icons-angular) - [React](../icons-react) - [Vue](../icons-vue) +- [Svelte](https://github.com/IBM/carbon-icons-svelte) We also support using icons in Vanilla JavaScript. diff --git a/packages/icons/examples/preview/index.js b/packages/icons/examples/preview/index.js index cab79530a160..c730eb1aa406 100644 --- a/packages/icons/examples/preview/index.js +++ b/packages/icons/examples/preview/index.js @@ -42,6 +42,9 @@ function App({ metadata }) {
  • Vue
  • +
  • + Svelte +
  • In order to use icons in alongside these packages, you will need a