cozy / cozy-ui

React components and CSS styles for Cozy apps
https://cozy.github.io/cozy-ui/react/
MIT License
48 stars 37 forks source link

evolution : arborescence cozy-ui #2363

Open zatteo opened 1 year ago

zatteo commented 1 year ago

Constats

Nous avons différents niveaux de composants dans cozy-ui :

Objectifs

Séparer les fichiers afin de les ordonner. Pourquoi ?

Arborescences cozy-ui

Côté NPM et import dans les applications

On aurait donc par exemple import Component from 'cozy-ui/transpiled/react/Component qui deviendrait import Component from cozy-ui/core/Component

Tasks

Dans le repo

Dans le package NPM

JF-Cozy commented 1 year ago

Travail collaboratif en atelier avec @zatteo et @cballevre à la dernière réunion d'équipe. @Crash-- Qu'en penses-tu ?

JF-Cozy commented 1 year ago

Première PR afin de trier les composants dans la doc : https://github.com/cozy/cozy-ui/pull/2461

JF-Cozy commented 1 year ago

PR qui déplace les composants dépréciés dans /deprecated https://github.com/cozy/cozy-ui/pull/2464 PR qui consiste à déplacer les composants du dossier MuiCozyTheme https://github.com/cozy/cozy-ui/pull/2465 PR de déplacement des providers dans un dossier providers https://github.com/cozy/cozy-ui/pull/2501