Skip to content

Conversation

@damienguezou
Copy link
Collaborator

Implémentation of the password functional block : https://www.systeme-de-design.gouv.fr/elements-d-interface/modeles-et-blocs-fonctionnels/demande-de-mot-de-passe

Not sure about the typing of the props. I based them from the InputProps but not sure that was a good idea. Let met know if you think it's better to have an independent typing, I will do the change.

The pre-commit hook change the export on the package.json and not sure how it's works. I let the package.json on the pull request but let me know if I have to do something. It doesn't add the PasswordInput in the list but I think it's because I put it under a "blocks" folder. Same, let me know if I have to move the component or change something

@enguerranws
Copy link
Collaborator

enguerranws commented Mar 20, 2023

Not sure that we should implement functional blocks of the DSFR?

@garronej garronej merged commit c06e75b into main Mar 20, 2023
@garronej garronej deleted the feature/add-password-block branch March 20, 2023 19:49
@garronej
Copy link
Collaborator

@enguerranws Yes I think it does serve a purpose.

@damienguezou @enguerranws @gary-van-woerkens I've done this PR in video. (You can watch it in x2)
https://youtu.be/RI6jEPvgKJ4

@damienguezou
Copy link
Collaborator Author

@garronej Thanks for the review, I will takes notes for futur contribution

enguerranws pushed a commit that referenced this pull request Mar 28, 2023
* feat: Add password functional block

* #91

---------

Co-authored-by: GUEZOU Damien <dguezou@jouve.fr>
Co-authored-by: garronej <joseph.garrone@data.gouv.fr>
@garronej
Copy link
Collaborator

Screen.Recording.2023-04-21.at.02.27.13.mov

Maybe we should make so that the label is not positionned because when the info appear it push the content bellow

sbourdon13 pushed a commit to sbourdon13/react-dsfr that referenced this pull request Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants