Default components for Ember.js that implement the Uniplaces Design System
Clone or download
Latest commit b8b4629 Nov 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addon Improve eslint config Nov 13, 2018
app [RFC][NI] Add our own interpolate helper (#264) Sep 10, 2018
config Fix eslint Nov 4, 2018
public/assets [RFC][UN-13768] Move ember-cli-uniq flag folder one level up (#254) Jul 19, 2018
tests Improve test syntax Nov 13, 2018
vendor Initial Commit from Ember CLI v2.3.0 Oct 20, 2016
.editorconfig Initial Commit from Ember CLI v2.3.0 Oct 20, 2016
.ember-cli [RFC][UN-14262 & UN-13756] Remove uniq bower dependency and update em… Sep 14, 2018
.eslintignore Update ember-cli to 3.5 Nov 4, 2018
.eslintrc.js Improve eslint config Nov 13, 2018
.gitignore Update ember-cli to 3.3 Nov 4, 2018
.npmignore Update ember-cli to 3.5 Nov 4, 2018
.template-lintrc.js Remove hbs triple-curlies Nov 4, 2018
.travis.yml Update ember-cli to 3.5 Nov 4, 2018
.watchmanconfig Initial Commit from Ember CLI v2.3.0 Oct 20, 2016
CONTRIBUTING.md [RFC][UN-14262 & UN-13756] Remove uniq bower dependency and update em… Sep 14, 2018
LICENSE.md [RFC][UN-14216] Remove deprecation warnings from ember-cli-uniq (#261) Aug 28, 2018
README.md Update ember-cli to 3.0 Nov 4, 2018
ember-cli-build.js [RFC][UN-13839] Swap inline-svg with svg-jar (#270) Sep 14, 2018
index.js [RFC][UN-14262 & UN-13756] Remove uniq bower dependency and update em… Sep 14, 2018
package-lock.json Fix vulnerabilities Nov 7, 2018
package.json Fix vulnerabilities Nov 7, 2018
testem.js Update ember-cli to 3.3 Nov 4, 2018

README.md

ember-cli-uniq

npm version Build Status 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.