🚚(global) update paths and urls after ownership transfer
This repository has been recently transfered from openfun to lasuitenumerique. We need to fix some paths and urls especially to fix documentation and README
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
4220061bc0
commit
6097929593
@@ -3,7 +3,7 @@
|
||||
Want to contribute to Cunningham? We got you covered.
|
||||
|
||||
We try to raise our code quality standards and expect contributors to follow
|
||||
the recommandations from our [handbook](https://handbook.openfun.fr/).
|
||||
the recommandations from our [handbook](https://suitenumerique.gitbook.io/handbook).
|
||||
|
||||
## Development
|
||||
|
||||
@@ -36,7 +36,7 @@ make build
|
||||
|
||||
When submitting please follow those steps:
|
||||
|
||||
- Make sure you followed the commit conventions from the [handbook/git](https://handbook.openfun.fr/git).
|
||||
- Make sure you followed the commit conventions from the [handbook/git](https://suitenumerique.gitbook.io/handbook/git).
|
||||
- Make sure that you added tests covering your changes.
|
||||
- Run `make deploy` to tests, lint and build the project.
|
||||
- Create a [changeset](#adding-a-changeset) by running `yarn changeset` at the root of the repo. In any case, a bot will verify if your PR contains a changeset.
|
||||
|
||||
24
README.md
24
README.md
@@ -1,5 +1,5 @@
|
||||
<div align="center">
|
||||
<a href="https://openfun.github.io/cunningham/storybook"><img src="./resources/banner.png" alt="" /></a>
|
||||
<a href="https://suitenumerique.github.io/cunningham/storybook"><img src="./resources/banner.png" alt="" /></a>
|
||||
</div>
|
||||
|
||||
<div align="center">
|
||||
@@ -8,21 +8,21 @@
|
||||
|
||||
**A design system and a components library.**
|
||||
|
||||
<a href="https://openfun.github.io/cunningham/storybook"><b>📚 Documentation</b></a> •
|
||||
<a href="https://suitenumerique.github.io/cunningham/storybook"><b>📚 Documentation</b></a> •
|
||||
<a href="https://www.figma.com/file/JbPT1R6YUFW4oH8jHvH960/DS-Cunningham---PUBLIC?type=design"><b>🖌️ Figma</b></a> •
|
||||
<a href="https://openfun.github.io/cunningham/demo"><b>🕹️ Demo</b></a>
|
||||
<a href="https://suitenumerique.github.io/cunningham/demo"><b>🕹️ Demo</b></a>
|
||||
|
||||
</div>
|
||||
|
||||
- **Atomic**: We follow [atomic design principles](https://bradfrost.com/blog/post/atomic-web-design/).
|
||||
- **Modular and Reusable**: Each component is designed to be self-contained and reusable across different projects, promoting consistency and saving development time.
|
||||
- **Accessibility-focused**: Our components prioritize accessibility standards, making them usable and inclusive for all users.
|
||||
- **Design tokens based**: We use [design tokens](https://openfun.github.io/cunningham/storybook/?path=/docs/getting-started-customization--docs#what-are-design-tokens-) to ensure consistency between design and code and allow high customization.
|
||||
- **Design tokens based**: We use [design tokens](https://suitenumerique.github.io/cunningham/storybook/?path=/docs/getting-started-customization--docs#what-are-design-tokens-) to ensure consistency between design and code and allow high customization.
|
||||
- **React** based: at the moment we only support React, but we are open to other frameworks, feel free to [contribute](./CONTRIBUTING.md) !
|
||||
|
||||
<div align="center">
|
||||
|
||||
[](https://circleci.com/gh/openfun/cunningham/tree/main)
|
||||
[](https://circleci.com/gh/suitenumerique/cunningham/tree/main)
|
||||
[](https://discord.gg/TXPSCMeDzd)
|
||||
|
||||
</div>
|
||||
@@ -31,11 +31,11 @@
|
||||
|
||||
Here are some examples of real life usage of Cunningham components.
|
||||
|
||||
<a href="https://openfun.github.io/cunningham/storybook"><img src="./resources/examples.png" alt=""/></a>
|
||||
<a href="https://suitenumerique.github.io/cunningham/storybook"><img src="./resources/examples.png" alt=""/></a>
|
||||
|
||||
<div align="center">
|
||||
|
||||
See the [documentation](https://openfun.github.io/cunningham/storybook) 📚 to learn more about customization, typography, spacings and available components!
|
||||
See the [documentation](https://suitenumerique.github.io/cunningham/storybook) 📚 to learn more about customization, typography, spacings and available components!
|
||||
|
||||
</div>
|
||||
|
||||
@@ -74,18 +74,18 @@ It will generate a file named `cunningham-tokens.css`.
|
||||
@import "cunningham-tokens"; // Imports the file you just generated.
|
||||
```
|
||||
|
||||
> Please take a look at [customization documentation](https://openfun.github.io/cunningham/storybook/?path=/docs/getting-started-customization--docs) for more informations about the `cunningham` command line tool and to customize your local theme.
|
||||
> Please take a look at [customization documentation](https://suitenumerique.github.io/cunningham/storybook/?path=/docs/getting-started-customization--docs) for more informations about the `cunningham` command line tool and to customize your local theme.
|
||||
|
||||
We're done! 🎉
|
||||
|
||||
To ensure everything works well, let's test rendering a component, such as the [Button](https://openfun.github.io/cunningham/storybook/?path=/docs/components-button--docs) for example.
|
||||
To ensure everything works well, let's test rendering a component, such as the [Button](https://suitenumerique.github.io/cunningham/storybook/?path=/docs/components-button--docs) for example.
|
||||
|
||||
Now please see the [documentation](https://openfun.github.io/cunningham/storybook) 📚 to learn more about customization, typography, spacings and available components!
|
||||
Now please see the [documentation](https://suitenumerique.github.io/cunningham/storybook) 📚 to learn more about customization, typography, spacings and available components!
|
||||
|
||||
## Contributors
|
||||
|
||||
<a href="https://github.com/openfun/cunningham/graphs/contributors">
|
||||
<img src="https://contrib.rocks/image?repo=openfun/cunningham" />
|
||||
<a href="https://github.com/suitenumerique/cunningham/graphs/contributors">
|
||||
<img src="https://contrib.rocks/image?repo=suitenumerique/cunningham" />
|
||||
</a>
|
||||
|
||||
## Contributing
|
||||
|
||||
@@ -36,10 +36,10 @@
|
||||
|
||||
- 2a5acea: The CSS utility classes are no longer automatically included when using Cunningham bin.
|
||||
|
||||
[unreleased]: https://github.com/openfun/cunningham/compare/cunningham-demo@3.0.0...main
|
||||
[3.0.0]: https://github.com/openfun/cunningham/compare/cunningham-demo@2.0.0...cunningham-demo@3.0.0
|
||||
[2.0.0]: https://github.com/openfun/cunningham/compare/cunningham-demo@1.0.1...cunningham-demo@2.0.0
|
||||
[1.0.1]: https://github.com/openfun/cunningham/compare/cunningham-demo@1.0.0...cunningham-demo@1.0.1
|
||||
[1.0.0]: https://github.com/openfun/cunningham/compare/cunningham-demo@0.1.0...cunningham-demo@1.0.0
|
||||
[0.1.0]: https://github.com/openfun/cunningham/compare/cunningham-demo@0.0.1...cunningham-demo@0.1.0
|
||||
[0.0.1]: https://github.com/openfun/cunningham/compare/0b532742e7f9747c5d573b869daa8aca0d79e7f1...cunningham-demo@0.0.1
|
||||
[unreleased]: https://github.com/suitenumerique/cunningham/compare/cunningham-demo@3.0.0...main
|
||||
[3.0.0]: https://github.com/suitenumerique/cunningham/compare/cunningham-demo@2.0.0...cunningham-demo@3.0.0
|
||||
[2.0.0]: https://github.com/suitenumerique/cunningham/compare/cunningham-demo@1.0.1...cunningham-demo@2.0.0
|
||||
[1.0.1]: https://github.com/suitenumerique/cunningham/compare/cunningham-demo@1.0.0...cunningham-demo@1.0.1
|
||||
[1.0.0]: https://github.com/suitenumerique/cunningham/compare/cunningham-demo@0.1.0...cunningham-demo@1.0.0
|
||||
[0.1.0]: https://github.com/suitenumerique/cunningham/compare/cunningham-demo@0.0.1...cunningham-demo@0.1.0
|
||||
[0.0.1]: https://github.com/suitenumerique/cunningham/compare/0b532742e7f9747c5d573b869daa8aca0d79e7f1...cunningham-demo@0.0.1
|
||||
|
||||
@@ -197,7 +197,7 @@ export const Home = ({ modal }: { modal: PageProps }) => {
|
||||
color="neutral"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://github.com/openfun/cunningham"
|
||||
href="https://github.com/suitenumerique/cunningham"
|
||||
>
|
||||
Github
|
||||
</Button>
|
||||
@@ -209,7 +209,7 @@ export const Home = ({ modal }: { modal: PageProps }) => {
|
||||
color="neutral"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://openfun.github.io/cunningham/storybook"
|
||||
href="https://suitenumerique.github.io/cunningham/storybook"
|
||||
>
|
||||
Documentation
|
||||
</Button>
|
||||
|
||||
@@ -29,7 +29,7 @@ const Onboarding = () => {
|
||||
Let's go!
|
||||
</Button>
|
||||
<Button
|
||||
href="https://openfun.github.io/cunningham/storybook"
|
||||
href="https://suitenumerique.github.io/cunningham/storybook"
|
||||
color="brand"
|
||||
variant="tertiary"
|
||||
size="small"
|
||||
@@ -50,7 +50,7 @@ const Onboarding = () => {
|
||||
<p>
|
||||
👀 Through this demo, you will be able to discover{" "}
|
||||
<strong>a bunch of Cunningham components</strong>. Take a look at the{" "}
|
||||
<a href="https://openfun.github.io/cunningham/storybook">
|
||||
<a href="https://suitenumerique.github.io/cunningham/storybook">
|
||||
documentation
|
||||
</a>{" "}
|
||||
to see how to use them.
|
||||
|
||||
@@ -6,7 +6,7 @@ const buildTheme = (
|
||||
type: "default" | "dark" = "default"
|
||||
) => {
|
||||
return {
|
||||
brandUrl: "https://github.com/openfun/cunningham",
|
||||
brandUrl: "https://github.com/suitenumerique/cunningham",
|
||||
brandImage: "logo-cunningham.svg",
|
||||
brandTitle: "Cunningham",
|
||||
brandTarget: "_self",
|
||||
|
||||
@@ -481,49 +481,49 @@
|
||||
- 4ebbf16: Add package
|
||||
- 4ebbf16: Add component's tokens handling
|
||||
|
||||
[unreleased]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@4.0.0...main
|
||||
[4.0.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@3.2.3...@openfun/cunningham-react@4.0.0
|
||||
[3.2.3]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@3.2.2...@openfun/cunningham-react@3.2.3
|
||||
[3.2.2]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@3.2.1...@openfun/cunningham-react@3.2.2
|
||||
[3.2.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@3.2.0...@openfun/cunningham-react@3.2.1
|
||||
[3.2.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@3.1.0...@openfun/cunningham-react@3.2.0
|
||||
[3.1.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@3.0.0...@openfun/cunningham-react@3.1.0
|
||||
[3.0.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.9.3...@openfun/cunningham-react@3.0.0
|
||||
[2.9.3]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.9.2...@openfun/cunningham-react@2.9.3
|
||||
[2.9.2]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.9.1...@openfun/cunningham-react@2.9.2
|
||||
[2.9.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.9.0...@openfun/cunningham-react@2.9.1
|
||||
[2.9.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.8.0...@openfun/cunningham-react@2.9.0
|
||||
[2.8.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.7.0...@openfun/cunningham-react@2.8.0
|
||||
[2.7.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.6.0...@openfun/cunningham-react@2.7.0
|
||||
[2.6.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.5.0...@openfun/cunningham-react@2.6.0
|
||||
[2.5.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.4.0...@openfun/cunningham-react@2.5.0
|
||||
[2.4.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.3.0...@openfun/cunningham-react@2.4.0
|
||||
[2.3.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.2.0...@openfun/cunningham-react@2.3.0
|
||||
[2.2.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.1.0...@openfun/cunningham-react@2.2.0
|
||||
[2.1.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@2.0.0...@openfun/cunningham-react@2.1.0
|
||||
[2.0.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@1.3.1...@openfun/cunningham-react@2.0.0
|
||||
[1.3.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@1.3.0...@openfun/cunningham-react@1.3.1
|
||||
[1.3.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@1.2.0...@openfun/cunningham-react@1.3.0
|
||||
[1.2.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@1.1.0...@openfun/cunningham-react@1.2.0
|
||||
[1.1.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@1.0.2...@openfun/cunningham-react@1.1.0
|
||||
[1.0.2]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@1.0.1...@openfun/cunningham-react@1.0.2
|
||||
[1.0.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@1.0.0...@openfun/cunningham-react@1.0.1
|
||||
[1.0.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.11.1...@openfun/cunningham-react@1.0.0
|
||||
[0.11.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.11.0...@openfun/cunningham-react@0.11.1
|
||||
[0.11.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.10.0...@openfun/cunningham-react@0.11.0
|
||||
[0.10.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.9.0...@openfun/cunningham-react@0.10.0
|
||||
[0.9.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.8.2...@openfun/cunningham-react@0.9.0
|
||||
[0.8.2]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.8.1...@openfun/cunningham-react@0.8.2
|
||||
[0.8.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.8.0...@openfun/cunningham-react@0.8.1
|
||||
[0.8.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.7.0...@openfun/cunningham-react@0.8.0
|
||||
[0.7.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.6.2...@openfun/cunningham-react@0.7.0
|
||||
[0.6.2]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.6.1...@openfun/cunningham-react@0.6.2
|
||||
[0.6.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.6.0...@openfun/cunningham-react@0.6.1
|
||||
[0.6.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.5.0...@openfun/cunningham-react@0.6.0
|
||||
[0.5.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.4.0...@openfun/cunningham-react@0.5.0
|
||||
[0.4.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.3.0...@openfun/cunningham-react@0.4.0
|
||||
[0.3.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.2.0...@openfun/cunningham-react@0.3.0
|
||||
[0.2.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.1.1...@openfun/cunningham-react@0.2.0
|
||||
[0.1.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.1.0...@openfun/cunningham-react@0.1.1
|
||||
[0.1.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-react@0.0.0...@openfun/cunningham-react@0.1.0
|
||||
[0.0.0]: https://github.com/openfun/cunningham/compare/0b532742e7f9747c5d573b869daa8aca0d79e7f1...@openfun/cunningham-react@0.0.0
|
||||
[unreleased]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@4.0.0...main
|
||||
[4.0.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@3.2.3...@openfun/cunningham-react@4.0.0
|
||||
[3.2.3]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@3.2.2...@openfun/cunningham-react@3.2.3
|
||||
[3.2.2]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@3.2.1...@openfun/cunningham-react@3.2.2
|
||||
[3.2.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@3.2.0...@openfun/cunningham-react@3.2.1
|
||||
[3.2.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@3.1.0...@openfun/cunningham-react@3.2.0
|
||||
[3.1.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@3.0.0...@openfun/cunningham-react@3.1.0
|
||||
[3.0.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.9.3...@openfun/cunningham-react@3.0.0
|
||||
[2.9.3]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.9.2...@openfun/cunningham-react@2.9.3
|
||||
[2.9.2]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.9.1...@openfun/cunningham-react@2.9.2
|
||||
[2.9.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.9.0...@openfun/cunningham-react@2.9.1
|
||||
[2.9.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.8.0...@openfun/cunningham-react@2.9.0
|
||||
[2.8.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.7.0...@openfun/cunningham-react@2.8.0
|
||||
[2.7.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.6.0...@openfun/cunningham-react@2.7.0
|
||||
[2.6.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.5.0...@openfun/cunningham-react@2.6.0
|
||||
[2.5.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.4.0...@openfun/cunningham-react@2.5.0
|
||||
[2.4.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.3.0...@openfun/cunningham-react@2.4.0
|
||||
[2.3.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.2.0...@openfun/cunningham-react@2.3.0
|
||||
[2.2.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.1.0...@openfun/cunningham-react@2.2.0
|
||||
[2.1.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@2.0.0...@openfun/cunningham-react@2.1.0
|
||||
[2.0.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@1.3.1...@openfun/cunningham-react@2.0.0
|
||||
[1.3.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@1.3.0...@openfun/cunningham-react@1.3.1
|
||||
[1.3.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@1.2.0...@openfun/cunningham-react@1.3.0
|
||||
[1.2.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@1.1.0...@openfun/cunningham-react@1.2.0
|
||||
[1.1.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@1.0.2...@openfun/cunningham-react@1.1.0
|
||||
[1.0.2]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@1.0.1...@openfun/cunningham-react@1.0.2
|
||||
[1.0.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@1.0.0...@openfun/cunningham-react@1.0.1
|
||||
[1.0.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.11.1...@openfun/cunningham-react@1.0.0
|
||||
[0.11.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.11.0...@openfun/cunningham-react@0.11.1
|
||||
[0.11.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.10.0...@openfun/cunningham-react@0.11.0
|
||||
[0.10.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.9.0...@openfun/cunningham-react@0.10.0
|
||||
[0.9.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.8.2...@openfun/cunningham-react@0.9.0
|
||||
[0.8.2]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.8.1...@openfun/cunningham-react@0.8.2
|
||||
[0.8.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.8.0...@openfun/cunningham-react@0.8.1
|
||||
[0.8.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.7.0...@openfun/cunningham-react@0.8.0
|
||||
[0.7.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.6.2...@openfun/cunningham-react@0.7.0
|
||||
[0.6.2]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.6.1...@openfun/cunningham-react@0.6.2
|
||||
[0.6.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.6.0...@openfun/cunningham-react@0.6.1
|
||||
[0.6.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.5.0...@openfun/cunningham-react@0.6.0
|
||||
[0.5.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.4.0...@openfun/cunningham-react@0.5.0
|
||||
[0.4.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.3.0...@openfun/cunningham-react@0.4.0
|
||||
[0.3.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.2.0...@openfun/cunningham-react@0.3.0
|
||||
[0.2.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.1.1...@openfun/cunningham-react@0.2.0
|
||||
[0.1.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.1.0...@openfun/cunningham-react@0.1.1
|
||||
[0.1.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-react@0.0.0...@openfun/cunningham-react@0.1.0
|
||||
[0.0.0]: https://github.com/suitenumerique/cunningham/compare/0b532742e7f9747c5d573b869daa8aca0d79e7f1...@openfun/cunningham-react@0.0.0
|
||||
|
||||
@@ -138,7 +138,7 @@ describe("<Checkbox/>", () => {
|
||||
});
|
||||
|
||||
/**
|
||||
* From this issue: https://github.com/openfun/cunningham/issues/175
|
||||
* From this issue: https://github.com/suitenumerique/cunningham/issues/175
|
||||
* The bug was that when clicking on the checkmark (svg) it was firing two onClick event to
|
||||
* <section>.
|
||||
*/
|
||||
|
||||
@@ -53,6 +53,10 @@ const SportsBase = ({ values }: SportProps) => {
|
||||
methods.reset(values);
|
||||
}, [values]);
|
||||
|
||||
useEffect(() => {
|
||||
methods.setFocus("competition");
|
||||
}, [methods.setFocus]);
|
||||
|
||||
return (
|
||||
<FormProvider {...methods}>
|
||||
<form
|
||||
@@ -116,6 +120,7 @@ const SportsBase = ({ values }: SportProps) => {
|
||||
</div>
|
||||
|
||||
<RhfSelect
|
||||
{...methods.register("competition")}
|
||||
name="competition"
|
||||
label="Competition"
|
||||
options={[
|
||||
|
||||
@@ -68,7 +68,7 @@ module.exports = {
|
||||
};`}></Source>
|
||||
|
||||
In this configuration file you can overwrite all the default values of the design system.
|
||||
**You can find the default values [here](https://github.com/openfun/cunningham/blob/main/packages/tokens/src/bin/cunningham.ts).**
|
||||
**You can find the default values [here](https://github.com/suitenumerique/cunningham/blob/main/packages/tokens/src/bin/cunningham.ts).**
|
||||
|
||||
### Build
|
||||
|
||||
@@ -129,7 +129,7 @@ yarn build-theme
|
||||
|
||||
Build your app again, and you should see the changes applied! 💄
|
||||
|
||||
If you find out that the current design tokens are not enough for the customization you want to do, feel free to [open an issue](https://github.com/openfun/cunningham/issues/new) or to [contribute to the project](https://github.com/openfun/cunningham/blob/main/CONTRIBUTING.md) 🙏
|
||||
If you find out that the current design tokens are not enough for the customization you want to do, feel free to [open an issue](https://github.com/suitenumerique/cunningham/issues/new) or to [contribute to the project](https://github.com/suitenumerique/cunningham/blob/main/CONTRIBUTING.md) 🙏
|
||||
|
||||
## Use default design tokens
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Meta, Source } from '@storybook/addon-docs';
|
||||
|
||||
Now that you have completed the [Installation](?path=/docs/getting-started-installation--docs) it's time to render our first component!
|
||||
|
||||
> You can find a fully working example [here](https://github.com/openfun/cunningham/blob/main/apps/demo/src/App.tsx) in the demo app.
|
||||
> You can find a fully working example [here](https://github.com/suitenumerique/cunningham/blob/main/apps/demo/src/App.tsx) in the demo app.
|
||||
|
||||
Let's create an `App` component that will render a `Button`.
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ Then, add this script to your `package.json` file
|
||||
`}
|
||||
/>
|
||||
|
||||
> Please take a look at [tokens documentation](https://github.com/openfun/cunningham/tree/main/packages/tokens#configuration-file) for more informations about the `cunningham` command line tool and to customize your local theme.
|
||||
> Please take a look at [tokens documentation](https://github.com/suitenumerique/cunningham/tree/main/packages/tokens#configuration-file) for more informations about the `cunningham` command line tool and to customize your local theme.
|
||||
|
||||
Then, in order to generate the css file, run
|
||||
|
||||
@@ -62,7 +62,7 @@ Then, add these lines at the top of your main stylesheet file:
|
||||
|
||||
> If you are not using dart sass, you can use `@import`, please visit the [documentation](https://sass-lang.com/documentation/at-rules/import/).
|
||||
|
||||
> Please see [here](https://github.com/openfun/cunningham/tree/main/packages/tokens#use-the-design-tokens) to see how to use the design tokens in your source code.
|
||||
> Please see [here](https://github.com/suitenumerique/cunningham/tree/main/packages/tokens#use-the-design-tokens) to see how to use the design tokens in your source code.
|
||||
|
||||
We're done! 🎉
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ export const MyApp = () => {
|
||||
|
||||
`}></Source>
|
||||
|
||||
> You can find a fully working example [here](https://github.com/openfun/cunningham/blob/main/apps/demo/src/App.tsx) in the demo app.
|
||||
> You can find a fully working example [here](https://github.com/suitenumerique/cunningham/blob/main/apps/demo/src/App.tsx) in the demo app.
|
||||
|
||||
## What about CSS variables ?
|
||||
|
||||
|
||||
@@ -106,21 +106,21 @@
|
||||
- 4ebbf16: Add utility classes
|
||||
- 4ebbf16: Add official design tokens
|
||||
|
||||
[unreleased]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@3.0.0...main
|
||||
[3.0.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@2.2.0...@openfun/cunningham-tokens@3.0.0
|
||||
[2.2.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@2.1.1...@openfun/cunningham-tokens@2.2.0
|
||||
[2.1.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@2.1.0...@openfun/cunningham-tokens@2.1.1
|
||||
[2.1.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@2.0.0...@openfun/cunningham-tokens@2.1.0
|
||||
[2.0.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@1.0.1...@openfun/cunningham-tokens@2.0.0
|
||||
[1.0.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@1.0.0...@openfun/cunningham-tokens@1.0.1
|
||||
[1.0.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@0.7.1...@openfun/cunningham-tokens@1.0.0
|
||||
[0.7.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@0.7.0...@openfun/cunningham-tokens@0.7.1
|
||||
[0.7.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@0.6.0...@openfun/cunningham-tokens@0.7.0
|
||||
[0.6.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@0.5.0...@openfun/cunningham-tokens@0.6.0
|
||||
[0.5.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@0.4.0...@openfun/cunningham-tokens@0.5.0
|
||||
[0.4.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@0.3.0...@openfun/cunningham-tokens@0.4.0
|
||||
[0.3.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@0.2.0...@openfun/cunningham-tokens@0.3.0
|
||||
[0.2.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@0.1.1...@openfun/cunningham-tokens@0.2.0
|
||||
[0.1.1]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@0.1.0...@openfun/cunningham-tokens@0.1.1
|
||||
[0.1.0]: https://github.com/openfun/cunningham/compare/@openfun/cunningham-tokens@0.0.0...@openfun/cunningham-tokens@0.1.0
|
||||
[0.0.0]: https://github.com/openfun/cunningham/compare/0b532742e7f9747c5d573b869daa8aca0d79e7f1...@openfun/cunningham-tokens@0.0.0
|
||||
[unreleased]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@3.0.0...main
|
||||
[3.0.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@2.2.0...@openfun/cunningham-tokens@3.0.0
|
||||
[2.2.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@2.1.1...@openfun/cunningham-tokens@2.2.0
|
||||
[2.1.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@2.1.0...@openfun/cunningham-tokens@2.1.1
|
||||
[2.1.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@2.0.0...@openfun/cunningham-tokens@2.1.0
|
||||
[2.0.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@1.0.1...@openfun/cunningham-tokens@2.0.0
|
||||
[1.0.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@1.0.0...@openfun/cunningham-tokens@1.0.1
|
||||
[1.0.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@0.7.1...@openfun/cunningham-tokens@1.0.0
|
||||
[0.7.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@0.7.0...@openfun/cunningham-tokens@0.7.1
|
||||
[0.7.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@0.6.0...@openfun/cunningham-tokens@0.7.0
|
||||
[0.6.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@0.5.0...@openfun/cunningham-tokens@0.6.0
|
||||
[0.5.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@0.4.0...@openfun/cunningham-tokens@0.5.0
|
||||
[0.4.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@0.3.0...@openfun/cunningham-tokens@0.4.0
|
||||
[0.3.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@0.2.0...@openfun/cunningham-tokens@0.3.0
|
||||
[0.2.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@0.1.1...@openfun/cunningham-tokens@0.2.0
|
||||
[0.1.1]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@0.1.0...@openfun/cunningham-tokens@0.1.1
|
||||
[0.1.0]: https://github.com/suitenumerique/cunningham/compare/@openfun/cunningham-tokens@0.0.0...@openfun/cunningham-tokens@0.1.0
|
||||
[0.0.0]: https://github.com/suitenumerique/cunningham/compare/0b532742e7f9747c5d573b869daa8aca0d79e7f1...@openfun/cunningham-tokens@0.0.0
|
||||
|
||||
Reference in New Issue
Block a user