Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uniplaces/ember-cli-uniq
Default components for Ember.js that implement the Uniplaces Design System
https://github.com/uniplaces/ember-cli-uniq
ember ember-addon emberjs
Last synced: 24 days ago
JSON representation
Default components for Ember.js that implement the Uniplaces Design System
- Host: GitHub
- URL: https://github.com/uniplaces/ember-cli-uniq
- Owner: uniplaces
- License: mit
- Created: 2016-10-20T23:55:41.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-31T14:57:50.000Z (over 1 year ago)
- Last Synced: 2024-12-01T07:39:59.114Z (26 days ago)
- Topics: ember, ember-addon, emberjs
- Language: JavaScript
- Homepage:
- Size: 7.06 MB
- Stars: 3
- Watchers: 28
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-cli-uniq
[![npm version](https://badge.fury.io/js/ember-cli-uniq.svg)](https://badge.fury.io/js/ember-cli-uniq)
[![dependencies](https://david-dm.org/uniplaces/ember-cli-uniq.svg)](https://david-dm.org/uniplaces/ember-cli-uniq)
[![devDependencies](https://david-dm.org/uniplaces/ember-cli-uniq/dev-status.svg)](https://david-dm.org/uniplaces/ember-cli-uniq?type=dev)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](https://uniplaces.github.io/ember-cli-uniq/).
Installation
------------------------------------------------------------------------------Install the ember-cli addon in your ember-cli project:
```bash
$ ember install ember-cli-uniq
```## Upgrading
From `[email protected]` to `[email protected]`:
* In `ember-cli-build.js` add this if you need access to the flags:
```javascript
// ember-cli-build.jslet app = new EmberApp(defaults, {
// [...]
svg: {
// [...]
paths: [
// [...]
'node_modules/ember-cli-uniq/public/assets/flags/'
]
}
```From `[email protected]` to `[email protected]`:
* Replace bower import of `uniq` with npm import of `uniplaces-uniq`
* Replace `inline-svg` with `svg-jar` and:
```javascript
// ember-cli-build.jslet app = new EmberApp(defaults, {
// [...]
svg: {
paths: [
// [...]
]
}
```
with
```javascript
// ember-cli-build.jslet 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](CONTRIBUTING.md).
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.