Douro-ui / design-system

Douro UI is a Design System for all Metyis projects and partners
MIT License
2 stars 0 forks source link

Remove emotion/styled and emotion/react from the peerDependencies #144

Open joaoprcosta opened 2 weeks ago

joaoprcosta commented 2 weeks ago

Is your feature request related to a problem? Please describe. When installing a component from any package, we have emotion as a peer dependency which enforces any project to install that dependency even when it's not the main CSS technology to use.

"peerDependencies": {
    "@emotion/react": "^11.11.4",
    "@emotion/styled": "^11.11.5",
    "react": "^18.2.0",
    "react-dom": "^18.2.0"
  },

Describe the solution you'd like When installing a package in a project, it should come bundled in Javascript, avoiding any installation and allowing the project to have its own CSS framework.