Commit Graph

4874 Commits

Author SHA1 Message Date
Adam Bradley
41a7e07651 refactor(transition): create transition controller 2016-09-13 15:12:14 -05:00
Dan Bucholtz
aaa09bb96e chore(karma): update karma scripts 2016-09-13 15:10:29 -05:00
Dan Bucholtz
12c9fd12bd chore(gulp): update gulp scripts 2016-09-13 15:09:39 -05:00
Dan Bucholtz
17fe72e4bc chore(e2e): update e2e scripts 2016-09-13 15:08:25 -05:00
Dan Bucholtz
4260940814 chore(demos): update demo scripts 2016-09-13 15:06:50 -05:00
Adam Bradley
1b65f2d040 chore(tooling): remove unused tooling scripts 2016-09-13 15:06:03 -05:00
Adam Bradley
871944b53e chore(snapshot): update snapshot scripts 2016-09-13 15:04:28 -05:00
Dan Bucholtz
2359437114 chore(generators): update generator scripts 2016-09-13 15:02:41 -05:00
Dan Bucholtz
35e4033343 chore(typings): remove typings directory 2016-09-13 14:59:46 -05:00
Josh Thomas
22034b8ac4 demos(ngmodule): update to ngmodule 2016-09-13 14:54:22 -05:00
ericb
25ff530dcf docs(loading): add returns statement 2016-09-13 11:38:46 -05:00
Brandy Carney
3154cc05f4 style(chip): fix linter errors 2016-09-01 14:52:07 -04:00
Adam Bradley
c1a52678d0 chore: remove guide.md 2016-08-25 23:10:21 -05:00
Justin Willis
96d630e42a chore(translate): add deprecation notice
Please use NG2-Translate instead: http://ionicframework.com/docs/v2/resources/ng2-translate/
2016-08-25 09:38:59 -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
Lee Nathan
0dece7252b feat(chips): finished Component 2016-08-24 17:26:03 -04:00
Lee Nathan
421f637f96 feat(chips): added Chip component 2016-08-24 17:24:32 -04:00
Lee Nathan
57eda7f602 style(chips): fix 'remove chip' styling 2016-08-24 17:23:02 -04:00
Brandy Carney
29758e6705 docs(nav/tabs): update links to use correct URLs
closes driftyco/ionic-site#768
2016-08-24 12:02:15 -04:00
Brandy Carney
2805e654f6 docs(select): fix the links to alert and action sheet API docs 2016-08-23 20:47:51 -04:00
Sergio Leal
66da98dc5f docs: update toolbar.ts (#7830)
Just a typo
2016-08-23 20:40:10 -04:00
Brandy Carney
3e7cf299e5 docs(select): update API docs to describe selectOptions
references #7764
2016-08-23 20:37:25 -04:00
Brandy Carney
b8285b7ba8 refactor(select): rename alertOptions to selectOptions, add ability to pass them for action-sheet
BREAKING CHANGES:

Select’s `alertOptions` input has been renamed to `selectOptions`. It
now allows you to pass options for either the alert or action-sheet
interface. Refer to their documentation for the options each of them
accept.

http://ionicframework.com/docs/v2/api/components/action-sheet/ActionShee
tController/#create
http://ionicframework.com/docs/v2/api/components/alert/AlertController/#
create

fixes #7764
2016-08-23 20:15:49 -04:00
Brandy Carney
8c1662d5e9 test(button): update karma and e2e tests for the new color input 2016-08-23 18:34:55 -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
Max Lynch
7b60e9c601 chore(components): export PickerColumn and options. Fixes #7783 2016-08-22 20:12:44 -05:00
Purusothaman Ramanujam
cc2359b2c8 docs: typo in the documentation (#7813) 2016-08-22 13:03:43 -04:00
Francis Clavette
8f270f4f44 docs(item): fix typo in sliding item docs
ionSiwpe -> ionSwipe
2016-08-20 21:31:38 -05:00
Manu Mtz.-Almeida
26441ecfe3 perf(reorder): reorder icon is display: none by default
references #7651
2016-08-20 15:53:02 +02:00
Manu Mtz.-Almeida
bac9b81e4c Merge remote-tracking branch 'origin/reorder-perf-fix'
# Conflicts:
#	src/components/item/item-reorder.scss
2016-08-20 15:47:40 +02:00
Manu Mtz.-Almeida
f3bb2dc51d fix(reorder): adjust reorder icon style for iOS and MD 2016-08-20 14:20:36 +02:00
Manu Mtz.-Almeida
02667d1644 Merge branch 'patch-1' of https://github.com/btroncone/ionic 2016-08-20 13:37:16 +02:00
Manu Mtz.-Almeida
824f6c8f10 Merge remote-tracking branch 'remotes/origin/feature/reorderAnimations' 2016-08-20 13:31:59 +02:00
TOMA Hadrien
bfd093628a docs(menuController): add param for menuId
Closes #7665
2016-08-19 15:42:03 -04:00
Alex Muramoto
97b57f1b53 Update docs and fix typos (#7776)
* docs(input): fix typo

* docs(scroll): add note about required CSS for scrollY

* docs(config): add swipeBackEnabled to config properties list

* docs(component generator): fix broken link in template comment

* docs(directive generator): fix broken link in template comment
2016-08-18 15:20:25 -04:00
Alex Muramoto
de12a4e905 refactor(virtual-scroll): add console.warn when approxItemHeight is unset 2016-08-18 12:57:27 -05:00
Justin Willis
6fb848cc4a fix(docs): get rid of reference to @Page 2016-08-18 09:26:44 -05:00
Brandy Carney
7ddebdd6a1 test(loading): add test to show setting dynamic content
references #6103
2016-08-17 14:07:43 -04:00
Brandy Carney
d66dda56ae Merge branch 'stonelasley-issue/6103-change-content-of-loading-component' 2016-08-17 13:48:33 -04:00
Brandy Carney
fa754f1110 Merge branch 'issue/6103-change-content-of-loading-component' of https://github.com/stonelasley/ionic into stonelasley-issue/6103-change-content-of-loading-component 2016-08-17 13:48:07 -04:00
Brandy Carney
fe3e9649c0 Merge branch 'jadsalhani-patch-3' 2016-08-17 13:40:51 -04:00
Brandy Carney
f807841431 chore: update changelog 2016-08-17 13:38:19 -04:00
Ramon Henrique Ornelas
1d33da9a56 style(): fix angular style import (#7722) 2016-08-17 13:19:08 -04:00
Thiery Laverdure
c11ae69b12 docs(popover): update instructions for presenting a popover 2016-08-17 09:22:09 -05:00
Justin Willis
82852fb353 fix(changelog): specify version of forms 2016-08-17 08:52:47 -05:00
Brandy Carney
a8dc613627 test(button): fix karma tests for the new button syntax 2016-08-16 18:29:33 -04:00
Brandy Carney
d30643c4a0 chore: fix linter errors 2016-08-16 18:22:27 -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
Ramon Ornelas
90929d0ef9 docs(gestures): fix dgeni tag
Closes #7721
2016-08-14 18:45:35 -05:00
Stone C. Lasley
c750847df1 feat(loading): add setContent function 2016-08-12 18:24:07 -06:00