Commit Graph

491 Commits

Author SHA1 Message Date
Manu Mtz.-Almeida
d988367e3a chore(): using correct angular version in demos 2016-11-03 19:19:29 +01:00
Manu Mtz.-Almeida
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
mhartington
ec8a395d61 chore(): fix tabs demo 2016-10-11 13:30:52 -04:00
Dan Bucholtz
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
ramonornela
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
Dan Bucholtz
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
Dan Bucholtz
a9ee835130 chore(demos): added entryComponents
added entryComponents
2016-09-27 16:03:39 -05:00
Dan Bucholtz
93e72e0ce1 chore(demo): popover entryPoint missing
popover entryPoint missing
2016-09-27 15:44:01 -05:00
Dan Bucholtz
f36b6e2d56 chore(demos): add a demo for FAB 2016-09-27 13:26:28 -05:00
mhartington
390522c0e6 chore(demos): remove protractor typings 2016-09-26 12:36:45 -04:00
Dan Bucholtz
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05:00
Dan Bucholtz
0b914ae654 chore(demos): generating polyfills at build time
generating polyfills at build time
2016-09-20 11:25:16 -05:00
Dan Bucholtz
bd6350f43e chore(demos): scrollbar fixs 2016-09-19 16:23:19 -05:00
Manu Mtz.-Almeida
50e445ef5c refactor(): rename some setCssClass to setElementClass 2016-09-18 18:52:12 +02:00
Dan Bucholtz
d9c3b19768 chore(build): add main.html files
add main.html files
2016-09-16 17:39:25 -05:00
Dan Bucholtz
3d3a95f164 chore(build): demos build via gulp
demos build via gulp
2016-09-16 13:59:04 -05:00
Dan Bucholtz
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
Dan Bucholtz
7ac1434fba chore(demos): ngc compile 2016-09-16 10:58:35 -05:00
Dan Bucholtz
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
Dan Bucholtz
c7ce93d9fe chore(demos): convert to aot structure
convert to aot structure
2016-09-16 10:58:35 -05:00
Dan Bucholtz
7a660af187 chore(build): fix demo compile errors, tslint errors
fix demo compile errors, tslint errors
2016-09-16 10:58:35 -05:00
Josh Thomas
22034b8ac4 demos(ngmodule): update to ngmodule 2016-09-13 14:54:22 -05:00
Brandy Carney
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
Brandy Carney
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
Brandy Carney
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
Adam Bradley
3c493652b2 test(): update to public navCtrl convention 2016-08-04 13:50:15 -05:00
Brandy Carney
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
Brandy Carney
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
Brandy Carney
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
Manu Mtz.-Almeida
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
Brandy Carney
41064bf2be refactor(tabs): rename tab input/config options to be more clear/consistent
BREAKING CHANGES:

Tab input/config options have been renamed. The following options were
renamed:

- `tabbarHighlight` -> `tabsHighlight`
- `tabbarLayout` -> `tabsLayout`
- `tabSubPages` -> `tabsHideOnSubPages`
- `tabbarPlacement` -> `tabsPlacement`

The previous names have been deprecated. They will still work in the
current release but will be removed in the future so please update to
the new names.

references #7143
2016-07-07 13:09:00 -04:00
Manu Mtz.-Almeida
ec99bfd019 feat(viewcontroller): add onWillDismiss callback
Fixed #6702
2016-06-30 08:06:19 -05:00
Manu Mtz.-Almeida
d993a1bfd8 fix(reorder): reorder can be used with any element 2016-06-30 01:14:21 +02:00
Brandy Carney
5119b57496 docs(segment): clean up docs on segment, update demo
the demo has been changed to show multiple segments in use, instead of
a lot of segments thrown on the page.

fixes driftyco/ionic-site#658
2016-06-29 17:16:02 -04:00
Brandy Carney
aad8f966a5 docs(demos): change the dot in item-reorder 2016-06-29 14:50:24 -04:00
Brandy Carney
1cad300622 docs(demo): update item reorder demo to use a playlist 2016-06-29 14:35:42 -04:00
Brandy Carney
2fc83c40d3 refactor(item): rename indices to indexes 2016-06-29 14:02:52 -04:00
Manu Mtz.-Almeida
08f22fb82b docs(reorder): adds docs and demo for reorder directive 2016-06-29 17:35:33 +02:00
Adam Bradley
3fb58d95c3 demo(overlay): use injectable overlay controllers 2016-06-28 20:46:43 -05:00
Adam Bradley
3cd31c3d17 fix(menu): fix content going under header
Closes #7084
2016-06-28 16:22:39 -05:00
Edd Hannay
721b2bc4f0 demos(loading): update demo to beta10 2016-06-28 09:42:05 -05:00
Manu Mtz.-Almeida
bfdc898945 feat(item): sliding items work with list reorder 2016-06-24 17:57:21 +02:00
Brandy Carney
bd82c4d56f docs(demos): fix tabs demo 2016-06-22 15:18:48 -04:00
Brandy Carney
05c7b8f0d7 docs(demos): update API demos so they all have ion-navs
- add spacing between imports
- alphabetize imports
- removed app.html files in favor of an inline ion-nav
- cleaned up config demo so it uses proper syntax
- use file name main.html for the first page for the demo
- name the app ApiDemoApp and first page ApiDemoPage
- replace the ion-toolbars with ion-navbars

closes #7019
closes driftyco/ionic-site#647
2016-06-22 14:45:49 -04:00
Brandy Carney
712ff81fb5 feat(list): add list headers and item dividers as items
- `ion-list-header` and `ion-item-divider` now take advantage of the
same content projection as the `ion-item`
- they are still styled as list headers and item dividers
- added docs and demos on this addition

closes #5561
2016-06-22 13:01:55 -04:00
Brandy Carney
927edfffcd refactor(tabs): remove all uses of ion-navbar-section 2016-06-17 13:51:30 -04:00
Adam Bradley
33672aef62 demos(header): update header markup 2016-06-17 11:39:59 -05:00
Manu Mtz.-Almeida
db9fa7ead3 fix(item): improve open/close logic, update demos 2016-06-11 20:07:08 -05:00
Dan Bucholtz
82adf6f3d3 Feature/toast position (#6804)
* refactor(toast): refactored toast to support positions and clean up transitions a bit

refactored toast to support positions and clean up transitions a bit

* test(toast): added additional test

added additional tests
2016-06-08 11:54:31 -04:00