@kushki/ng-suka
<p align="center"> <h1 align="center">Suka Components Angular</h1> <p align="center"> An Angular implementation of the Suka Design System </p> </p>
Last updated 3 months ago by matimenich .
Original npm · Tarball · package.json
$ cnpm install @kushki/ng-suka 
SYNC missed versions from official npm registry.

Suka Components Angular

An Angular implementation of the Suka Design System

Getting started

Assuming we're starting with a new @angular/cli project:

$ npx @angular/cli new my-project --style=scss
$ cd my-project
$ npm i --save @kushki/ng-suka

Then we need to include suka components in src/styles.scss:

@import '~@kushki/ng-suka/scss/main';

That's it! Now we can run npm start and start building out our application!

Storybook

Edit Carbon Components Angular

Contributing

Quickstart

  • fork Kushki/ng-suka and clone it locally
  • run npm install to grab all the dependencies, then npm run storybook to start storybook
  • if you are adding a component:
    • add a folder with your component code, styles, tests and story under projects/suka/src
    • export your module from public-api.ts
  • if you are contributing a fix:
    • add your fix, update the documentation as needed
    • consider adding or modifying a test case to cover the fix
  • follow the Angular style guide
  • be sure to run npm test and npm run lint to make sure the tests and linter pass
  • submit a PR

npm commands

To keep our build dependencies local we use npm scripts to run our webpack, gulp, and general build tasks. You should never install webpack or gulp globally as that will likely conflict with our version. You should never need to modify the build process to add a component or story.

  • npm run storybook to run storybook (port 6006)
  • npm run build to generate the dist
  • npm run lint to run tslint
  • npm test to run tests

Philosophy

  • Components should be the smallest unit of computation
    • Think in terms of pages and applications composed from a multitude of components rather than pages or applications as a single unit of computation
  • Components should delegate to the consumer whenever possible
    • The individual applications should be the single source of truth, and be able to create any UI from our building blocks
  • Components should do one thing, and do it well
    • This does not mean they should be over specialized, but rather focus on providing a single, core experience
  • Components should NOT maintain more state than absolutely necessary
    • Likewise, stateless components should be favored whenever possible
  • Components should NOT necessarily implement the style guide point-for-point, the guide simply provides guidance on overarching functionality, components should enable that and product specific designs without baking in extra functionality

Current Tags

  • 0.8.3                                ...           latest (3 months ago)

88 Versions

  • 0.8.3                                ...           3 months ago
  • 0.8.2                                ...           4 months ago
  • 0.8.1                                ...           5 months ago
  • 0.8.0                                ...           5 months ago
  • 0.7.3                                ...           6 months ago
  • 0.7.2                                ...           6 months ago
  • 0.7.1                                ...           6 months ago
  • 0.7.0                                ...           7 months ago
  • 0.6.5                                ...           7 months ago
  • 0.6.4                                ...           7 months ago
  • 0.6.3                                ...           7 months ago
  • 0.6.2                                ...           7 months ago
  • 0.6.1                                ...           7 months ago
  • 0.6.0                                ...           8 months ago
  • 0.5.7                                ...           8 months ago
  • 0.5.6                                ...           8 months ago
  • 0.5.5                                ...           8 months ago
  • 0.5.4                                ...           8 months ago
  • 0.5.3                                ...           8 months ago
  • 0.5.2                                ...           8 months ago
  • 0.5.1                                ...           8 months ago
  • 0.5.0                                ...           9 months ago
  • 0.4.14                                ...           9 months ago
  • 0.4.13                                ...           9 months ago
  • 0.4.12                                ...           9 months ago
  • 0.4.11                                ...           9 months ago
  • 0.4.10                                ...           9 months ago
  • 0.4.9                                ...           9 months ago
  • 0.4.8                                ...           9 months ago
  • 0.4.7                                ...           9 months ago
  • 0.4.6                                ...           9 months ago
  • 0.4.5                                ...           9 months ago
  • 0.4.4                                ...           9 months ago
  • 0.4.3                                ...           9 months ago
  • 0.4.2                                ...           9 months ago
  • 0.4.1                                ...           9 months ago
  • 0.4.0                                ...           9 months ago
  • 0.3.8                                ...           9 months ago
  • 0.3.7                                ...           9 months ago
  • 0.3.6                                ...           9 months ago
  • 0.3.5                                ...           9 months ago
  • 0.3.4                                ...           9 months ago
  • 0.3.3                                ...           9 months ago
  • 0.3.2                                ...           9 months ago
  • 0.3.1                                ...           9 months ago
  • 0.3.0                                ...           9 months ago
  • 0.2.15                                ...           9 months ago
  • 0.2.14                                ...           9 months ago
  • 0.2.12                                ...           9 months ago
  • 0.2.11                                ...           9 months ago
  • 0.2.10                                ...           9 months ago
  • 0.2.9                                ...           9 months ago
  • 0.2.8                                ...           9 months ago
  • 0.2.7                                ...           9 months ago
  • 0.2.6                                ...           9 months ago
  • 0.2.5                                ...           9 months ago
  • 0.2.4                                ...           9 months ago
  • 0.2.3                                ...           9 months ago
  • 0.2.2                                ...           10 months ago
  • 0.2.1                                ...           10 months ago
  • 0.2.0                                ...           10 months ago
  • 0.1.1                                ...           10 months ago
  • 0.1.0                                ...           10 months ago
  • 0.0.25                                ...           10 months ago
  • 0.0.24                                ...           10 months ago
  • 0.0.23                                ...           10 months ago
  • 0.0.22                                ...           10 months ago
  • 0.0.21                                ...           10 months ago
  • 0.0.20                                ...           10 months ago
  • 0.0.19                                ...           10 months ago
  • 0.0.18                                ...           a year ago
  • 0.0.17                                ...           a year ago
  • 0.0.16                                ...           a year ago
  • 0.0.15                                ...           a year ago
  • 0.0.14                                ...           a year ago
  • 0.0.13                                ...           a year ago
  • 0.0.12                                ...           a year ago
  • 0.0.11                                ...           a year ago
  • 0.0.10                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago

Copyright 2014 - 2017 © taobao.org |