0.2.20 • Published 4 years ago

energygo-ds v0.2.20

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
4 years ago

EnergyGo Design System

EnergyGo DS

EnergyGo DS is the EnergyGo's design system made with Stencil

You can view the components and the story book here:

https://neon-ds.lucera.es/energygo

Getting Started

To start building a new web component, clone this repo to a new directory:

git clone git@gitlab.com:lucera/neon-ds.git neon-ds
cd neon-ds

and run:

npm install
npm run build

This will build the component library for production.

If you need help with stencil, check their docs here.

Global Settings

There are some global configuration variables defined on global.d.ts and declared on global.ts The neonDsConfig object has the global configuration that can be overwrited externally.

You can overwrite the global configuration object in the consumer app using the globalThis declaration:

globalThis.neonDsConfig = {
  iconsResolvePath: 'https://calculator-api.luceraenergy.es/ContractOptimizationApp/img/neon-ds/'
}

Storybook

Web documentation

https://lucera.gitlab.io/neon-ds/energygo

Usage storybook on local

npm install
npm run storybook:watch

Usage for development

npm install
npm run dev

This will launch a dev demo page (located on src/index.html) to test some components

Naming Components

When creating new component tags always prefix them with go (ex: <go-datepicker>)

0.2.20

4 years ago

0.2.19

4 years ago

0.2.18

4 years ago

0.2.16

4 years ago

0.2.17

4 years ago

0.2.15

4 years ago

0.2.14

4 years ago

0.2.13

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago