• Stars
    star
    147
  • Rank 251,347 (Top 5 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created almost 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[outdated] Design System of @juntossomosmais

Venice Design System

Build Documentation Maintained with Lerna Venice is released under the Apache-2.0 license Contributors

React Version | Vue Version

Design System of @juntossomosmais

Venice is a Design System built with React and Vue.

It's using a CSS Variables to make easy to share variables across the projects, regardless of whether project are using Sass, Styled Components, Stylus, Emotion or whatever.

!important, as it's an internal design system, we don't accept suggestions to change or add new components.

Stack

This project uses Lerna, Yarn Workspaces, TypeScript, Storybook, Sass, CSS Modules, React and Vue.

Maybe you want to read about them:

This project also uses Husky to prevent commit and push messy and wrong code.

You also can check our frontend-guideline with some Front-end patterns that we use on our projects 😁

Usage

React

import styles from '@venice/styles/components/Button.module.scss';

<button className={styles.button}>
  Hello
</button>

Vue

<script lang="ts">
  import { IButton } from '@juntossomosmais/venice-types'
</script>

<style lang="scss" scoped>
  @import '~@venice/styles/components/Button.module.scss';
</style>

<template>
  <button :class="button">
  Hello
  </button>
</template>

Commands

Install

yarn install

Usage

yarn start

Build library

yarn build

Publish library

yarn publish

Deploy Storybook on GH Pages

yarn deploy:storybook

Run tests

yarn test

Overview

This project has the following folders:

packages/core

It contains internal configs of Venice. If you need to share something between project, it needs to stay here.

packages/venice-icons

It contains all the icons used in Venice. Venice uses fontello to generate the config.json file with icons.

packages/venice-types

It contains types and interfaces used across Venice. Types related to an specific property of Vue/React should go to their package.

packages/styles

That contains shareable styles of components. The CSS of components always need to stay here, using Sass. So, you can import the file inside your component in each DS.

packages/react-ds

The UI Components using React.

All logical of React components, Storybook's presentation and build configs need to stay here.

packages/vue-ds

The UI Components using Vue.

All logical of Vue components, Storybook's presentation and build configs need to stay here.

Author

πŸ‘€ @juntossomosmais

🀝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

πŸ“ License

Copyright Β© 2020 @juntossomosmais


This README was generated with ❀️ by readme-md-generator

More Repositories

1

frontend-guideline

πŸ“ Front-end Guideline by Juntos Somos Mais
1,132
star
2

frontend-challenge

πŸš€ Our hiring challenge to Front-end Developers
477
star
3

atomium

Atomium is an internal design system for 'Juntos Somos Mais' using Web Components
TypeScript
156
star
4

code-challenge

Conheça nosso desafio para trabalhar conosco como engenheiro de software
46
star
5

django-outbox-pattern

A django application to make it easier to use the transactional outbox pattern
Python
46
star
6

time-out-market

Time Out Market is a market of shared JavaScript libraries to help you save time and effort
JavaScript
45
star
7

django-stomp

πŸ”ƒ A simple implementation of STOMP with Django
Python
37
star
8

regex4ocr

Plug regular expression models into OCR string results of document pictures to extract structured data!
Python
23
star
9

frontend-dojo

Coding Dojo - Frontend
JavaScript
20
star
10

jsm-component-generator

VSCode Extension to generate code
TypeScript
13
star
11

gitflow

A repository with the gitflows used by JS+ teams
12
star
12

python-fluentd-testing

Test your fluentd configuration leaving manual approach aside
Python
11
star
13

react-native-responsys

Use Oracle Responsys SDK in your React Native project
Objective-C
11
star
14

request-id-django-log

πŸ”– A simple way to implement request_id in Django
Python
10
star
15

JSM.FluentValidation.AspNet.AsyncFilter

ASP.NET filter that performs async validation using FluentValidation
C#
9
star
16

opentelemetry-instrumentation-django-stomp

This library will help you to use opentelemetry traces and metrics on Django STOMP usage library.
Python
7
star
17

JsTalks-testesFrontend

JavaScript
6
star
18

poc-couchdb

C#
6
star
19

auth0-samples

Having trouble integrating with Auth0? Just look at this repository and understand this process once and for all.
Python
5
star
20

serilog-enrichers-request-user-id

Enrich Serilog log events with the request's user Id from ClaimsPrincipal
C#
5
star
21

code-challenge-qa

Conheça nosso desafio para trabalhar conosco como profissional de QA
4
star
22

django-stomp-debug-callback

App to help us to understand database calls on consumer used on django-stomp
Python
3
star
23

http-utils

A simple requests session wrapper.
Python
3
star
24

terraform-development-image

Use it to play with Terraform using AZ CLI, AWS CLI, and other tools.
3
star
25

JSM.Swashbuckle.AspNetCore

Add new functionality to Swashbuckle.AspNetCore
C#
2
star
26

drf-link-navigation-pagination

Yet another pagination class for DRF to set host address by header
Python
2
star
27

jedi-academy

JS+ playbook
JavaScript
2
star