Commit Graph

37 Commits

Author SHA1 Message Date
Brandy Carney
acba3c0538 fix(datetime): enable custom day values (#9708)
* fix(datetime): dayValues attribute

fixes #7190

* fix(datetime): default to the first year if the current year doesn't exist

When the current year does not exist in yearValues, it was disabling
months when it shouldn’t - this commit fixes that so all of the months
are enabled.

Closes #7190

* fix(datetime): only set the year to the first option if yearCol exists
2016-12-19 14:19:17 -05:00
Manu Mtz.-Almeida
448e020c05 fix(picker): making touchable fill all the available space 2016-11-20 19:05:23 -06:00
Adam Bradley
a7042e37c2 style: js is hard 2016-11-15 13:58:10 -06:00
Adam Bradley
c72b67d376 fix(datetime): fix min/max displayFormat and pickerFormat
Closes #8729
2016-11-15 13:52:32 -06:00
Alan
025c5cc646 fix(components): add a mode agnostic css class (#9133)
Fixes #8545
2016-11-14 13:50:01 -05:00
Hugo Aguirre
2076f2ac50 docs(datetime): add sass variable descriptions 2016-10-28 19:14:48 -05:00
Manu Mtz.-Almeida
13b32896fa refactor(nav): adds some asserts and small changes 2016-10-18 19:09:38 +02:00
Dan Bucholtz
83d973b1a8 chore(demos): change dgeni path for demos
change dgeni path for demos
2016-09-20 15:20:04 -05:00
Brandy Carney
bc7d328bc0 refactor(components): add color/mode properties 2016-09-13 17:11:38 -05:00
Brandy Carney
16df3a4aab refactor(css): update theme imports 2016-09-13 16:57:32 -05:00
Brandy Carney
750cde38e2 refactor(css): scope component css to mode 2016-09-13 16:52:47 -05:00
Adam Bradley
d7be8a80c0 test(ngmodule): update to ngmodule 2016-09-13 15:44:02 -05: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
Manu Mtz.-Almeida
ac8e4dce06 style(all): tslinter warnings 2016-07-19 13:31:46 -07:00
perry
4f52135c13 Revert "Revert "Merge branch 'master' of https://github.com/driftyco/ionic""
This reverts commit 4a6086c1f8.
2016-07-18 19:40:03 -05:00
perry
4a6086c1f8 Revert "Merge branch 'master' of https://github.com/driftyco/ionic"
This reverts commit 8945bf906d, reversing
changes made to f4fac225fa.
2016-07-18 19:24:56 -05:00
Adam Bradley
0386476879 test(nav): clean up NavController tests 2016-07-15 15:55:49 -05:00
Adam Bradley
656426672c chore(templates): import required directives for ionic templates 2016-07-01 00:59:37 -05:00
Adam Bradley
4d56219a4c refactor(forms): upgrade to @angular/forms 2016-06-30 21:54:48 -05:00
Manu Mtz.-Almeida
ec99bfd019 feat(viewcontroller): add onWillDismiss callback
Fixed #6702
2016-06-30 08:06:19 -05:00
Adam Bradley
4fff262684 fix(datetime): format seconds token
Closes #6951
2016-06-28 16:40:42 -05:00
Adam Bradley
215c6d846c refactor(overlays): inject overlay providers
BREAKING CHANGES:

- Overlay components, such as Alert or Modals, should now be created
using its injected provider.
- Overlays now have the `present()` method on the overlay’s instance,
rather than using `nav.present(overlayInstance)`.
- All overlays now present on top of all app content, to include menus.
- Below is an example of the change to `Alert`, but the pattern is the
same for all overlays: ActionSheet, Loading, Modal, Picker, Popover,
Toast

WAS:

```
import { NavController, Alert } from ‘ionic-angular’;

constructor(private nav: NavController) {
}

doAlert() {
  let alert = Alert.create({
    title: 'Alert',
  });
  this.nav.present(alert);
}
```

NOW:

```
import { AlertController } from ‘ionic-angular’;

constructor(private alertCtrl: AlertController) {
}

doAlert() {
  let alert = this.alertCtrl.create({
    title: 'Alert'
  });
  alert.present();
}
```
2016-06-28 15:18:09 -05:00
Adam Bradley
1a8f6d745d test(header): update header markup 2016-06-17 11:43:30 -05:00
Brandy Carney
22331d79b3 style: fix linter errors 2016-06-09 15:58:08 -04:00
Brandy Carney
adcd2fc239 fix(datetime): add styling for datetime with different labels
fixes #6764
2016-06-09 15:58:08 -04:00
Adam Bradley
272daf2993 fix(datetime): fix ISO format when w/out timezone data
Closes #6608
2016-06-01 09:40:45 -05:00
Adam Bradley
c1ad804be8 fix(datetime): clear out existing datetime data
Closes #6614
2016-06-01 08:56:04 -05:00
Adam Bradley
03f4511635 chore(tslint): fix noImplicitAny errors 2016-05-31 18:40:29 -05:00
Adam Bradley
8a920a24a5 Merge branch 'bootstrap-refactor' into 2.0 2016-05-31 15:50:21 -05:00
Adam Bradley
6e9087534d test(bootstrap): update to use ionicBootstrap 2016-05-31 15:49:12 -05:00
Adam Bradley
94e938d6b3 docs(bootstrap): update to use ionicBootstrap 2016-05-31 15:47:16 -05:00
Brandy Carney
d563aa65a3 refactor(events): rename all Ionic events to start with ion
BREAKING CHANGES:

Renamed all Ionic events to start with `ion`. The following events were
renamed:

- **Checkbox**
  - `change` -> `ionChange`
- **DateTime**
  - `change` -> `ionChange`
  - `cancel` -> `ionCancel`
- **InfiniteScroll**
  - `infinite` -> `ionInfinite`
- **Menu**
  - `opening` -> `ionDrag`
  - `opened` -> `ionOpen`
  - `closed` -> `ionClose`
- **Option**
  - `select` -> `ionSelect`
- **Picker**
  - `change` -> `ionChange`
- **RadioButton**
  - `select` -> `ionSelect`
- **RadioGroup**
  - `change` -> `ionChange`
- **Refresher**
  - `refresh` -> `ionRefresh`
  - `pulling` -> `ionPull`
  - `start` -> `ionStart`
- **Searchbar**
  - `input` -> `ionInput`
  - `blur` -> `ionBlur`
  - `focus` -> `ionFocus`
  - `cancel` -> `ionCancel`
  - `clear` -> `ionClear`
- **Segment**
  - `change` -> `ionChange`
  - `select` -> `ionSelect`
- **Select**
  - `change` -> `ionChange`
  - `cancel` -> `ionCancel`
- **Slides**
  - `willChange` -> `ionWillChange`
  - `didChange` -> `ionDidChange`
  - `move` -> `ionDrag`
- **TabButton**
  - `select` -> `ionSelect`
- **Tab**
  - `select` -> `ionSelect`
- **Tabs**
  - `change` -> `ionChange`
- **Toggle**
  - `change` -> `ionChange`

Closes #6568
2016-05-31 12:01:46 -04:00
Brandy Carney
6d9a2a0f03 Merge pull request #6607 from keithdmoore/patch-1
[docs] Correct sentence related to the ngModel sets the value
2016-05-25 17:26:42 -04:00
Adam Bradley
ae4d7a2f1d docs(datetime): fix hourValues description 2016-05-24 09:00:59 -05:00
Keith D. Moore
dc0a8f2f30 Correct sentence related to the ngModel sets the value 2016-05-21 17:05:53 -05:00
Josh Thomas
2b836a930f chore(tests): correct components to use src path instead of ionic to ensure karma tests pass. 2016-05-19 16:58:08 -05:00
Josh Thomas
c8f760f080 chore(build): rename ionic directory to src and update all references in the build process. 2016-05-19 13:22:40 -05:00