511 Commits

Author SHA1 Message Date
a40b872975 fix(rtl): add icon-start and icon-end attributes (#11737)
* feat(icon): add start/end

* fix(icon): add all relevant deprecations

* fix(deprecation): add deprecation to missing selector

* revert(tests): revert icon-start/end from tests
2017-06-02 14:00:18 -04:00
e354f21936 docs(github): rename driftyco references to ionic-team 2017-05-30 10:51:53 -04:00
8bc827a531 docs(slides): update slides demo to use correct img path
closes driftyco/ionic-site#11652
2017-05-15 11:16:53 -04:00
26c653e43e feat(item): deprecate item-left / item-right attributes for item-start / item-end (#11125)
item-start and item-end make more sense for RTL

* refactor(item): replaced item-left with item-start
replaced item-right with item-end

* style(item): fix spacing

* fix(item): add backwards support for left/right in ng-content

* fix(item): deprecated old variables, not breaking change

* fix(scss): fix variable name

* fix(item): old attributes deprecated support
2017-05-05 11:53:32 -04:00
2357bb4749 docs(demos): update path to images in slides demo 2017-04-24 16:45:20 -04:00
745d808728 feat(select): add popover interface as an option 2017-04-17 16:41:50 -04:00
94a33a74d2 Merge branch 'refactor-inputs' 2017-04-05 20:07:28 +02:00
b4c6cea760 docs(demos): remove custom css from label demo 2017-04-05 12:21:13 -04:00
c9851442c6 Misc 3 2017-03-29 14:11:19 +02:00
3d569eb88a test(select/segment): adds unit test for select and segment 2017-03-28 17:57:49 +02:00
b10ec68087 refactor(deep-linking): rename to
rename  to
2017-03-20 10:42:00 -05:00
0fdff89b67 docs(demos): update api demos to modular structure
update api demos to modular structure
2017-03-02 14:26:30 -06:00
034967d9e2 docs(demos): update datetime demo to include year 2017-01-24 16:26:37 -05:00
f06398215c docs(config): update demo for config, add more logs for app-scripts
closes #9413
2017-01-19 13:17:11 -05:00
4f7de63b9a docs(config): fix demo for config page not updating. #9413 (#9418) 2017-01-19 11:24:27 -05:00
2f074b408c docs(hide-when): add hide-when demo back 2017-01-11 11:16:58 -05:00
3f1e59408e docs(fab): fix fab demo
closes driftyco/ionic-site#947
2017-01-03 17:51:19 -05:00
b69eed5220 chore(demos): update demos build task to use app-scripts (#9830)
* chore(build): WIP getting ionic working with app-scripts

the tsconfig file change is just for testing, this will need to be
undone

* chore(demos): update tsconfig and gitignore for demos

update tsconfig and gitinogre for demos

* chore(build): WIP check in progress with building with app-scripts

this only works with demos/action-sheet currently

* refactor(demos): add custom copy config

add custom copy config

* chore(tsconfig): revert root tsconfig

* chore(demos): change import paths

* chore(demos): move sass config, add new tsconfig, update template

* chore(scripts): update demos tasks to use app scripts with folder name

tweak the createTempTsConfig function to include a path to read from,
move getFolderInfo into util to share

at this point you should be able to run `gulp demos.prod` with a folder
e.g. `--f=alert` and open the index of that test to see it. Doesn’t
work yet with all of the tests at once. Need to have ran `gulp
release.prepareReleasePackage` first.

* chore(build): WIP working on getting all of the demos building

* chore(demos): update demos task for app-scripts build

* chore(demos): fix tslint errors thrown by app-scripts

* chore(demos): get the demos working with fonts and variable file

* chore(demos): add watch task to the new prod task

* chore(demos): remove old demos.prod file and rename new one to it

* chore(npm): remove build npm script

* chore(demos): only log component name in url if one was passed
2017-01-03 10:23:14 -06:00
1f83cde78b chore(demos): update demos to work
* chore(demos): WIP refactor gulp demos task to use SystemJS

move build files into dist/demos and comment out the AoT demos task for
right now. This makes both `gulp demos` and `gulp demos.watch`work
again.

references #8411

* docs(demos): fix infinite scroll demo

* chore(demos): move old demos task to demos.prod

update the demos file with shared tasks, include the shared css

* docs(demos): fix API demos to use correct styles

* chore(demos): remove the main.ts files from each demo

* chore(demos): add prod template and constant

* chore(demos): remove tsconfig and package from demos

* chore(demos): update app.module path to ionic

* chore(demos): update app.module path to ionic

* chore(demos): update prod task for demos to work with AoT

also puts the demo build files into dist/ instead of the src directory

* docs(demos): update deploy and docs tasks for new build

* docs(scripts): update demos README

* chore(demos): fix path for prod build
2016-12-13 12:56:22 -06:00
218ce766b4 demos(angular): update to angular 2.2.1 2016-11-18 10:49:47 -06:00
d988367e3a chore(): using correct angular version in demos 2016-11-03 19:19:29 +01:00
06e2418107 Merge pull request #8457 from ramonornela/delete_demos_fab
chore(demos): delete examples Fab(old form) in component Button
2016-10-12 22:58:23 +02:00
ec8a395d61 chore(): fix tabs demo 2016-10-11 13:30:52 -04:00
9c6bd0c9e7 chore(demos): update package.json to reflect change to peerDeps
update package.json to reflect change to peerDeps
2016-10-10 15:07:30 -05:00
7a1f7c6596 chore(demos): delete examples Fab(old form) in component Button 2016-10-03 20:56:29 -03:00
job
424b9e0fbf fix(demos): double quote in script tag 2016-10-03 11:32:50 +02:00
248d0c1a9c chore(e2e): add css back to e2e tests where it was missing
add css back to e2e tests where it was missing
2016-09-27 16:48:27 -05:00
a9ee835130 chore(demos): added entryComponents
added entryComponents
2016-09-27 16:03:39 -05:00
93e72e0ce1 chore(demo): popover entryPoint missing
popover entryPoint missing
2016-09-27 15:44:01 -05:00
f36b6e2d56 chore(demos): add a demo for FAB 2016-09-27 13:26:28 -05:00
390522c0e6 chore(demos): remove protractor typings 2016-09-26 12:36:45 -04:00
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05:00
0b914ae654 chore(demos): generating polyfills at build time
generating polyfills at build time
2016-09-20 11:25:16 -05:00
bd6350f43e chore(demos): scrollbar fixs 2016-09-19 16:23:19 -05:00
50e445ef5c refactor(): rename some setCssClass to setElementClass 2016-09-18 18:52:12 +02:00
d9c3b19768 chore(build): add main.html files
add main.html files
2016-09-16 17:39:25 -05:00
3d3a95f164 chore(build): demos build via gulp
demos build via gulp
2016-09-16 13:59:04 -05:00
1158a96288 chore(build): all demos build in ngc w/ 2.0.0
all demos build in ngc w/ 2.0.0
2016-09-16 11:09:09 -05:00
7ac1434fba chore(demos): ngc compile 2016-09-16 10:58:35 -05:00
0d161ac51c chore(demos): update gitignore, clean up app.module.ts build errors
update gitignore, clean up app.module.ts build errors
2016-09-16 10:58:35 -05:00
c7ce93d9fe chore(demos): convert to aot structure
convert to aot structure
2016-09-16 10:58:35 -05:00
7a660af187 chore(build): fix demo compile errors, tslint errors
fix demo compile errors, tslint errors
2016-09-16 10:58:35 -05:00
22034b8ac4 demos(ngmodule): update to ngmodule 2016-09-13 14:54:22 -05:00
144ffe3b03 refactor(chip): add color input, remove some styling, move styles to mode files
references #5386
closes #7717
closes #7467
2016-08-24 17:26:14 -04:00
55a0257dbc refactor(colors): color should be added as an input instead of directly adding the color to the component
BREAKING CHANGES:

Colors should be passed in the `color` input on components, not added
individually as an attribute on the component.

For example:

```
<ion-tabs primary>
```

Becomes

```
<ion-tabs color=”primary”>
```

Or to bind an expression to color:

```
<ion-navbar [color]="barColor">
   ...
</ion-navbar>
```

```ts
@Component({
  templateUrl: 'build/pages/about/about.html'
})
export class AboutPage {
  barColor: string;

  constructor(private nav: NavController, platform: Platform) {
    this.barColor = platform.is('android') ? 'primary' : 'light';
  }
}
```

Reason for this change:
It was difficult to dynamically add colors to components, especially if
the name of the color attribute was unknown in the template.
This change keeps the css flat since we aren’t chaining color
attributes on components and instead we assign a class to the component
which includes the color’s name.
This allows you to easily toggle a component between multiple colors.
Speeds up performance because we are no longer reading through all of
the attributes to grab the color ones.

references #7467
closes #7087 closes #7401 closes #7523
2016-08-23 17:16:55 -04:00
938864e8d0 refactor(button): add ion-button attribute and icon attributes to style buttons
BREAKING CHANGES:

- `<button>` becomes `<button ion-button>`
- `<a button>` becomes `<a ion-button>`
- `<button ion-item>` does not get the `ion-button` attribute
- Buttons inside of `<ion-item-options>` do get the `ion-button`
attribute
- Removed the `category` attribute, this should be passed in
`ion-button` instead.
- Button attributes added for icons in buttons: `icon-only`,
`icon-left`, and `icon-right`

closes #7466
2016-08-16 17:11:02 -04:00
3c493652b2 test(): update to public navCtrl convention 2016-08-04 13:50:15 -05:00
dfb8ba4b98 docs(demo): update the item sliding demo so the archive does something
also hide pointer events on img

fixes #7547
2016-08-04 13:41:12 -04:00
108f821e99 docs(demos): clean up item sliding demo to simplify it
removed the toolbar styling and the reorder so it is just sliding.

references #7547
2016-08-04 13:16:21 -04:00
b5b804725f refactor(select): rename the checked attribute to selected on option
BREAKING CHANGES:

The Option component’s `checked` attribute has been renamed to
`selected` in order to select an option. This is to the follow the MDN
spec for a select option:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option

If a `ngModel` is added to the Select component the value of the
`ngModel` will take precedence over the `selected` attribute.

references #7334
2016-08-03 11:38:41 -04:00