26 Commits

Author SHA1 Message Date
41e34fc4ce chore(docs): moving docs from /docs/v2 to /docs 2017-03-29 11:00:52 -05:00
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
cc21f93b87 docs(API): update descriptions to be more clear
also update descriptions for the same properties to be more consistent,
and reword all events to start and end the same.

closes #10248 closes driftyco/ionic-site#613 closes
driftyco/ionic-site#899
2017-01-31 17:47:52 -05:00
7000b1b173 refactor: improve tree shaking abilities
Internal refactor completed in order to improve tree shaking and dead
code removal. The public API, with an exception to ion-slides, has
stayed the same. However, internally many changes were required so
bundlers could better exclude modules which should not be bundled.
Ultimately most changes resorted to removing references to `window` or
`document`, or a module that referenced one of those.

BREAKING CHANGES

ion-slides was refactored to remove the external dependencies, and
rewritten in TypeScript/ES6 modules to again improve tree shaking
abilities.
2017-01-09 09:51:39 -06:00
534e47be7c docs(button): add note for click handlers 2016-12-12 10:30:05 -05:00
fa0579fe46 feat(button): strong decorator 2016-11-29 10:13:01 -06:00
624cb356df fix(menu-toggle): move logic for css class to the menu toggle
fixes #8943
2016-11-23 11:00:34 -06:00
898ac3e863 fix(button) remove outline color class, then add back standard color class (#9114)
fixes #9031 fixes #8845
2016-11-10 20:39:27 -05:00
5f3aedc0f7 docs(button): add advanced usage with property binding, update description of color 2016-10-21 18:27:10 -04:00
Job
221c1c456d docs(button): correct input types (#8772) 2016-10-18 11:19:36 -04:00
da62b63253 docs(): minor doc updates 2016-10-10 09:13:04 -04:00
6b33ed0c8e docs(button): removes old fab documentation and test 2016-10-03 23:41:03 +02:00
e2529e5f1e docs(button): mode 2016-10-01 13:30:17 +02:00
4baa5b1e0c docs(): update docs 2016-09-26 14:28:11 -04:00
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05:00
bc7d328bc0 refactor(components): add color/mode properties 2016-09-13 17:11:38 -05:00
8c1662d5e9 test(button): update karma and e2e tests for the new color input 2016-08-23 18:34:55 -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
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
816a6486b0 fix(button): apply css for buttons w/ ngIf
Closes #5927
2016-07-04 21:26:58 -05:00
656426672c chore(templates): import required directives for ionic templates 2016-07-01 00:59:37 -05:00
f7b2ea277d fix(button): check for icon and add css after content checked
fixes #6662
2016-06-07 13:20:39 -04:00
03f4511635 chore(tslint): fix noImplicitAny errors 2016-05-31 18:40:29 -05:00
a51fbc5b0f chore(fab): document fab-fixed attribute 2016-05-25 10:29:43 -05:00
c8f760f080 chore(build): rename ionic directory to src and update all references in the build process. 2016-05-19 13:22:40 -05:00