uniplaces / ember-cli-uniq

Default components for Ember.js that implement the Uniplaces Design System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-cli-uniq

npm version dependencies devDependencies

This is an addon that contains the most used front-end components in the several Uniplaces' products.

A demo of the components can be found on uniplaces.github.io/ember-cli-uniq.

Installation

Install the ember-cli addon in your ember-cli project:

$ ember install ember-cli-uniq

Upgrading

From ember-cli-uniq@0.2.x to ember-cli-uniq@0.3.x:

  • In ember-cli-build.js add this if you need access to the flags:
// ember-cli-build.js

let app = new EmberApp(defaults, {
    // [...]
    svg: {
      // [...]
      paths: [
        // [...]
        'node_modules/ember-cli-uniq/public/assets/flags/'
      ]
    }

From ember-cli-uniq@0.3.x to ember-cli-uniq@0.4.x:

  • Replace bower import of uniq with npm import of uniplaces-uniq
  • Replace inline-svg with svg-jar and:
// ember-cli-build.js

let app = new EmberApp(defaults, {
    // [...]
    svg: {
      paths: [
        // [...]
      ]
    }

with

// ember-cli-build.js

let app = new EmberApp(defaults, {
    // [...]
    svgJar: {
      sourceDirs: [
        // [...]
      ]
    }

and replace every invocation of the {{inline-svg}} helper with {{svg-jar}}.

Contributing

Any contribution is welcome. Please read our guidelines. However, if your contribution involves adding a new feature, please open an issue before to share your plan and agree the details of the feature before starting implementing it.

About

Default components for Ember.js that implement the Uniplaces Design System

License:MIT License


Languages

Language:JavaScript 61.5%Language:Handlebars 23.0%Language:SCSS 14.8%Language:HTML 0.7%