Giter Site home page Giter Site logo

alosada7 / edene Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 27.2 MB

Edene is a Design System with all you need to create efficient and eye catching user interfaces. It has been written entirely in Typescript

Home Page: https://edene.netlify.app

JavaScript 3.55% TypeScript 85.05% HTML 0.23% SCSS 0.24% Dockerfile 0.22% MDX 10.72%
animations components designsystem hooks react typescript

edene's Introduction

Edene

Storybook

Edene aims to give you everything you need to create and build top class products. It contains completely customizable and reusable React components, animations and hooks. It has been entirely written in Typescript.

Edene also comes with another library called foundations, a serie of guidelines and tokens, which give programmers all the necessary to create efficient and eye catching user interfaces, following design principles, and with a focus on user experience. It's a dependency, so you don't need to worry about installing it

Edene is not just a component library, it goes far beyond that.

Documentation index

Please familiarise yourself with our:

Getting started

We recommend usig edene with react applications

$ yarn add @edene/components

Edene also uses Emotion:

See Using Emotion for guidance on how to configure Babel to use Emotion's css prop.

We publish the library with components written in React and Emotion. You can use your favourite package manager.

Then, wrap your application with ThemeProvider, which comes from @edene/foudations. You can also override the theme using the theme prop. See more on Theme docs.

Finally, to use a components in your application, you just have to import and use it:

import { Accordion, AccordionRow } from '@edene/components';

For most of the components you also need to add support for Google Icons. Add to your HTML.

<link
    rel="stylesheet"
    type="text/css"
    href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined"
/>

Or optionally to your SCSS.

@import url('https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined');

Developer Guide

Use it anywhere

Following is a project application working in different modern environments

Environment App name Github repository Notes
create-react-app (Js) Todo-list Todo-list on Github
Next.js My personal webpage My personal webpage on Github Next.js v13+ components using Edene need to add 'use client' at the begging of the file
React app (Nx) food-delivery Food-delivery on Github

edene's People

Contributors

alosada7 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

edene's Issues

Results list page

  • Register new page in template. Also make routes more dynamic
  • Create mocks (2 results)
  • Component which renders a list with mocks data
  • No results template

Remove icon as string wherever is possible

We want to reduce the number of cases in which icon is passed as a string to a component. The reason to do this is be able to use both fixed & outlined icons.

For the cases a fixed size is necessary, the best solution would be override it

Incompatible API changes might occur. For that is the case,add the new behaviour, log a warning when a string is being passed as parameter, and mark this ticket with a label called v2

@edene/foundations & @emotion/react as dependencies

When building, Nx takes @edene/foundations & @emotion/react as peer-dependencies, which means that the consumer has to install them individually.

We can skip this step and make easy for the user start working with our library

Move edene-pro-labs pages to template

We are moving all template pages to Storybook, so we have more control on the responsiveness.

To do this, we will move it under a template folder following the same structure they already have. We will export them and make the library publishable (@edene/pro-labs)

We will import them into their actual component so we conserve laziness.

In Storybook, other folders will keep components, charts, forms, tricks, ... try to organise them as clear as possible

All that is not using edene components should be in the Laboratory folder. Remember to review that the same happens to edene components which still have not been published (in components)

Modal

Two stories that do the same
Update provider

SchemeColor

Possible values are

  • info
  • success
  • danger
  • warning
  • grey

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.