Skip to content

Commit 39140e5

Browse files
committed
Update storybook url
1 parent 982335e commit 39140e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+55
-55
lines changed

.storybook/manager-head.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
<meta property="og:type" content="website">
1616
<meta property="og:title" content="react-dsfr components">
1717
<meta property="og:description" content="@codegouvfr/react-dsfr components playground and showcase">
18-
<meta property="og:image" content="https://components.react-dsfr.fr/repo-card.png">
18+
<meta property="og:image" content="https://components.react-dsfr.codegouv.studio/repo-card.png">
1919

2020
<!-- Twitter Meta Tags -->
2121
<meta name="twitter:card" content="summary_large_image">
2222
<meta name="twitter:title" content="react-dsfr components">
2323
<meta name="twitter:description" content="@codegouvfr/react-dsfr components playground and showcase">
24-
<meta name="twitter:image" content="https://components.react-dsfr.fr/repo-card.png">
24+
<meta name="twitter:image" content="https://components.react-dsfr.codegouv.studio/repo-card.png">
2525

2626
<style>
2727
.sidebar-item[data-nodetype="document"] svg {

.storybook/static/CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
components.react-dsfr.fr
1+
components.react-dsfr.codegouv.studio

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Would you help us implement [the components](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/accordeon)?
44
Thank you so much to anyone that would!
55

6-
To get you started you can check out [the `<Alert />` component](https://components.react-dsfr.fr/?path=/docs/components-alert--default).
6+
To get you started you can check out [the `<Alert />` component](https://components.react-dsfr.codegouv.studio/?path=/docs/components-alert--default).
77

88
- Here is it's definition from the SIG: [systeme-de-design.gouv.fr/elements-d-interface/composants/alerte](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/alerte) (Pro tip: the real source of truth for DSFR component is [here](https://main--ds-gouv.netlify.app/example/component/))
99
- Here is its implementation [src/Alert.tsx](https://github.com/codegouvfr/react-dsfr/blob/main/src/Alert.tsx)
@@ -19,7 +19,7 @@ A few things:
1919
- 📣 Let everyone know what component you are working on by [oppening an issue](https://github.com/codegouvfr/react-dsfr/issues).
2020
- 📚 You can draw inspiration from [`dataesr/react-dsfr`](https://github.com/dataesr/react-dsfr/tree/master/src/components/interface) and the implementation of [france connect](https://github.com/france-connect/sources/tree/main/front/libs/dsfr).
2121
- 🔗 Use the component returned by `getLink()` instead of `<a />`. [Example in the `<Header />` component](https://github.com/codegouvfr/react-dsfr/blob/bbaf4a81d78de08d6fdcb059a9f4cb8a78ce4d5a/src/Header.tsx#L84-L87). We want to [play nice with all routing libraries](https://guides.react-dsfr.fr/integration-with-routing-libraries).
22-
- 🕹️ When it's relevant, try to enable components to be used either in controlled or uncontrolled mode. [Example with <Tabs />](https://components.react-dsfr.fr/?path=/docs/components-tabs--default).
22+
- 🕹️ When it's relevant, try to enable components to be used either in controlled or uncontrolled mode. [Example with <Tabs />](https://components.react-dsfr.codegouv.studio/?path=/docs/components-tabs--default).
2323
- 🌎 Avoid hard coding text in JSX, use [the i18n mechanism](https://guides.react-dsfr.fr/i18n) instead. [Here is an example](https://github.com/codegouvfr/react-dsfr/blob/bbaf4a81d78de08d6fdcb059a9f4cb8a78ce4d5a/src/DarkModeSwitch.tsx#L162-L199). (Don't worry about providing translations other than French.)
2424
- 🍳 If you have to arbitrate between ease of use and customisability I'd encourage you to favor ease of use. People that would need a greater level of customizability can always fall back to making their own wrapper from the reference documentation using [`fr.cx()`](https://guides.react-dsfr.fr/cx).
2525

README.fr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</a>
2020
</p>
2121
<p align="center">
22-
<a href="https://components.react-dsfr.fr">Documentation des composants</a>
22+
<a href="https://components.react-dsfr.codegouv.studio">Documentation des composants</a>
2323
-
2424
<a href="https://react-dsfr.codegouv.studio">guides</a>
2525
-
@@ -48,7 +48,7 @@ DSFR en pur JavaScript/CSS.
4848
- [x] la plupart des composants peuvent être rendus directement sur le serveur (voir [RSC](https://reactjs.org/blog/2020/12/21/data-fetching-with-react-server-components.html)). Les autres sont étiquetés `"use client";`.
4949
- [x] [Intégration clef en main pour les différents frameworks de développement: vite, Next.js, y compris la version beta de Next 13 (configuration AppDir) et Create React App](https://guides.react-dsfr.fr/) si votre
5050
framework n'est pas supporté, il suffit de demander notre **il manque un mot là** , nous avons pour but de couvrir tous les cas d'usage effectifs.
51-
- [x] (Presque) tout [les composants de référence](https://www.systeme-de-design.gouv.fr/elements-d-interface) sont [implémenté](https://components.react-dsfr.fr/).
51+
- [x] (Presque) tout [les composants de référence](https://www.systeme-de-design.gouv.fr/elements-d-interface) sont [implémenté](https://components.react-dsfr.codegouv.studio/).
5252
- [x] seulement le code des composants que vous utilisez effectivement sera inclus dans votre projet final.
5353
- [x] Intégration facultative avec [MUI](https://mui.com/). Si vous utilisez des composants MUI ils seront automatiquement adaptés pour ressembler à des composants DSFR.
5454
Voir la [documentation](https://guides.react-dsfr.fr/mui-integration).

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</a>
2020
</p>
2121
<p align="center">
22-
<a href="https://components.react-dsfr.fr">Components documentation</a>
22+
<a href="https://components.react-dsfr.codegouv.studio">Components documentation</a>
2323
-
2424
<a href="https://react-dsfr.codegouv.studio">Guides</a>
2525
-
@@ -46,7 +46,7 @@ This module is an advanced toolkit that leverages [@gouvfr/dsfr](https://github.
4646
- [x] No [white flash when reloading in SSR setup](https://github.com/codegouvfr/@codegouvfr/react-dsfr/issues/2#issuecomment-1257263480).
4747
- [x] Most components are server component ready. The others are labeled with `"use client";`
4848
- [x] [Perfect integration with all major React framework: Next.js (PagesDir and AppDir), Create React App, Vue](https://guides.react-dsfr.fr/).
49-
- [x] (Almost) All [the components](https://www.systeme-de-design.gouv.fr/elements-d-interface) are [implemented](https://components.react-dsfr.fr/)
49+
- [x] (Almost) All [the components](https://www.systeme-de-design.gouv.fr/elements-d-interface) are [implemented](https://components.react-dsfr.codegouv.studio/)
5050
- [x] Three shakable distribution, cherry pick the components you import. (It's not all in a big .js bundle)
5151
- [x] Optional integration with [MUI](https://mui.com/). If you use MUI components they will
5252
be automatically adapted to look like [DSFR components](https://www.systeme-de-design.gouv.fr/elements-d-interface). See [documentation](https://guides.react-dsfr.fr/mui-integration).

publiccode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
publiccodeYmlVersion: '0.2'
66
name: '@codegouvfr/react-dsfr'
77
url: 'https://github.com/codegouvfr/react-dsfr'
8-
landingURL: 'https://components.react-dsfr.fr/'
8+
landingURL: 'https://components.react-dsfr.codegouv.studio/'
99
releaseDate: '2022-10-05'
1010
developmentStatus: beta
1111
softwareVersion: 0.21.4

src/Accordion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export namespace AccordionProps {
4141
};
4242
}
4343

44-
/** @see <https://components.react-dsfr.fr/?path=/docs/components-accordion> */
44+
/** @see <https://components.react-dsfr.codegouv.studio/?path=/docs/components-accordion> */
4545
export const Accordion = memo(
4646
forwardRef<HTMLDivElement, AccordionProps>((props, ref) => {
4747
const {

src/AgentConnectButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export namespace AgentConnectButtonProps {
2626
};
2727
}
2828

29-
/** @see <https://components.react-dsfr.fr/?path=/docs/components-franceconnectbutton> */
29+
/** @see <https://components.react-dsfr.codegouv.studio/?path=/docs/components-franceconnectbutton> */
3030
export const AgentConnectButton = memo(
3131
forwardRef<HTMLDivElement, AgentConnectButtonProps>((props, ref) => {
3232
const { className, url: href, style, onClick, id: id_props, ...rest } = props;

src/Alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export namespace AlertProps {
7676
export type Severity = ExtractSeverity<FrClassName>;
7777
}
7878

79-
/** @see <https://components.react-dsfr.fr/?path=/docs/components-alert> */
79+
/** @see <https://components.react-dsfr.codegouv.studio/?path=/docs/components-alert> */
8080
export const Alert = memo(
8181
forwardRef<HTMLDivElement, AlertProps>((props, ref) => {
8282
const {

src/Badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export type BadgeProps = {
1717
children: NonNullable<ReactNode>;
1818
};
1919

20-
/** @see <https://components.react-dsfr.fr/?path=/docs/components-badge> */
20+
/** @see <https://components.react-dsfr.codegouv.studio/?path=/docs/components-badge> */
2121
export const Badge = memo(
2222
forwardRef<HTMLDivElement, BadgeProps>((props, ref) => {
2323
const {

0 commit comments

Comments
 (0)