diff --git a/.npmignore b/.npmignore index 49996f5a3..d522ca2b7 100644 --- a/.npmignore +++ b/.npmignore @@ -10,5 +10,6 @@ dist/ .npmignore **/.gitkeep bower.json +ember-cli-build.js Brocfile.js testem.json diff --git a/.watchmanconfig b/.watchmanconfig new file mode 100644 index 000000000..5e9462c20 --- /dev/null +++ b/.watchmanconfig @@ -0,0 +1,3 @@ +{ + "ignore_dirs": ["tmp"] +} diff --git a/Brocfile.js b/Brocfile.js deleted file mode 100644 index 8c39c9939..000000000 --- a/Brocfile.js +++ /dev/null @@ -1,24 +0,0 @@ -/* jshint node: true */ -/* global require, module */ - -var EmberAddon = require('ember-cli/lib/broccoli/ember-addon'); - -var app = new EmberAddon(); - -// Use `app.import` to add additional libraries to the generated -// output files. -// -// If you need to use different assets in different -// environments, specify an object as the first parameter. That -// object's keys should be the environment name and the values -// should be the asset to use in that environment. -// -// If the library that you are including contains AMD or ES6 -// modules that you would like to import into your application -// please specify an object with the list of modules as keys -// along with the exports of each module as its value. - -app.import('bower_components/semantic-ui/dist/semantic.css'); -app.import('bower_components/semantic-ui/dist/semantic.js'); - -module.exports = app.toTree(); diff --git a/README.md b/README.md index f74efb876..047d22fe2 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,12 @@ # Semantic-UI-Ember -We have ported our internal Ember Semantic-UI components for an official Semantic-UI integration. The code was original built for [CrowdOx](http://crowdox.com) and later [SpruceMail](http://sprucemail.com). This is officially in Alpha. We would appreciate any feedback that you might have. +This is the official Ember library for the Semantic-UI modules. The code was original built for [CrowdOx](http://crowdox.com) and other projects that we were building for clients. We would appreciate any feedback that you have. ## Project Philosophy -We feel that the Semantic-UI-Ember project should be an extension of Semantic-UI and not a complete rewrite. With that in mind, we will only be creating components to extend Semantic-UI modules, all other uses of Semantic-UI in your project should [follow the official documentation](http://semantic-ui.com/). +We feel that the Semantic-UI-Ember project should be an extension of Semantic-UI and not a complete rewrite. With that in mind, we will always be a very lightweight layer on top to make the integration a first-class Ember experience. Please [follow the official documentation](http://semantic-ui.com/) for futher information. -## Release Schedule - -As mentioned our goal is to let Semantic do most of the work and we will simply maintain small bits of code to make it native for Ember. We will release when there are new components or incompatibilities but otherwise the same version should continue to work. # Installation @@ -149,125 +146,126 @@ There isn't a corresponding Ember component for this since it isn't rendered to ## Dropdown * **Documentation**: [Official Documentation](http://semantic-ui.com/modules/dropdown.html) - * **Ember.Select**: [Follows Ember.Select Style](http://emberjs.com/api/classes/Ember.Select.html#sts=Ember.Select Class packages/ember-handlebars/lib/controls/select.js:93) * **Class**: `ui dropdown` * **Component**: `ui-dropdown` * **Parameters** - * **content**: List of data that you want displayed. _Required_ * **value**: Bound value that is set to `optionValuePath` - * **prompt**: Text to display before an option has been chosen - * **icon**: Icon you want to use. _Default is `dropdown`_ - * **optionLabelPath**: Path to the label that is displayed for each item. _Default is`content`_ - * **optionValuePath**: Path to the value that is used when an item is selected. _Default is `content`_ - -Replace `