Commit Graph

86 Commits

Author SHA1 Message Date
Manuel Mtz-Almeida
239b559e6e fix(base-input): initialize on ngAfterContentInit 2017-04-27 23:44:12 +02:00
Manuel Mtz-Almeida
ee6c48102d fix(range): aot (wrong reference) 2017-04-27 12:56:25 +02:00
Dan Bucholtz
59eb9a328d refactor(): restructure components to loosen coupling, move overlay-portal, click-block, menu-controller and other app-level functionality to app directory. The motivation for this change is logical grouping, decoupling components from each other, and improving the ability to drop more unused components from bundle 2017-04-20 23:21:25 -05:00
Manuel Mtz-Almeida
94a33a74d2 Merge branch 'refactor-inputs' 2017-04-05 20:07:28 +02:00
perry
41e34fc4ce chore(docs): moving docs from /docs/v2 to /docs 2017-03-29 11:00:52 -05:00
Manuel Mtz-Almeida
6360d41f6a Misc changes 2 2017-03-28 21:37:11 +02:00
Manuel Mtz-Almeida
3d569eb88a test(select/segment): adds unit test for select and segment 2017-03-28 17:57:49 +02:00
Manu Mtz.-Almeida
9a4d81b329 refactor(all): consistent inputs
fixes #8578
2017-03-28 17:57:49 +02:00
Manu Mtz.-Almeida
7272b5a42a refactor(all): color/mode inputs are not longer needed 2017-03-23 23:32:47 +01:00
Dan Bucholtz
e0b09615bd test(range): fix range/basic test 2017-03-21 21:19:03 -05:00
Dan Bucholtz
945cd8ff52 test(e2e): restructure e2e to tests to import modules
restructure e2e to tests to import modules
2017-03-21 10:49:11 -05:00
Brandy Carney
042f698555 Merge branch 'master' into 3.0
# Conflicts:
#	src/components/action-sheet/test/basic/pages/page-one/page-one.ts
#	src/components/alert/alert.ts
#	src/components/content/content.ts
#	src/components/datetime/datetime.ts
#	src/components/datetime/test/datetime.spec.ts
#	src/components/loading/loading.ts
#	src/components/modal/test/basic/app.module.ts
#	src/components/picker/picker-component.ts
#	src/components/toast/toast.ts
#	src/components/toolbar/toolbar.ios.scss
#	src/components/toolbar/toolbar.md.scss
#	src/components/toolbar/toolbar.wp.scss
#	src/components/virtual-scroll/test/basic/app.module.ts
#	src/util/util.ts
2017-03-20 18:07:38 -04:00
Dan Bucholtz
af16846568 chore(e2e): rename to to standardize on format
rename  to  to standardize on format
2017-03-20 11:57:26 -05:00
mhartington
546003037e docs(): hide modules from docs 2017-03-16 11:49:46 -04:00
Brandy Carney
ddcd3cf1c5 refactor(components): convert components to separate modules 2017-03-15 16:07:06 -04:00
Manu Mtz.-Almeida
1efc4aea0f style(range): removes trailing white spaces 2017-03-15 16:56:27 +01:00
Amit Moryossef
8f310eba4a feat(range): add ionFocus and ionBlur events (#10761)
* Added ionLeave output event to be emitted on leave

* Changed `ionLeave` to `ionDragEnd`

* Changed ionDragEnd to ionBlur. Added ionFocus
2017-03-15 16:54:35 +01:00
perry
396f891f33 chore(docs): updating dgeni typescript package 2017-03-14 14:50:31 -05:00
Manu Mtz.-Almeida
d538245178 fix(range): knob B can only be actived if range is dual 2017-03-08 23:44:15 +01:00
Manu Mtz.-Almeida
b541832749 fix(range): bar width works as expected
fixes  #10150
2017-03-08 23:44:15 +01:00
jgw96
90f9650d7a style(lint): fix linter errors 2017-03-03 16:02:24 -06:00
jgw96
040981f585 test(e2e): update range, searchbar, toast 2017-03-03 15:57:28 -06:00
Dan Bucholtz
07ffddca9a refactor(range): move to constants from enum
move to constants from enum
2017-03-02 14:58:09 -06:00
Dan Bucholtz
be79382386 test(e2e): refactor e2e tests to modular structure and utilize lazy loading where possible
refactor e2e tests to modular structure and utilize lazy loading where possible
2017-03-02 14:37:01 -06:00
Brandy Carney
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
jaapjanfrans
ed8b6b57bb docs(range): correct input types
Closes #10184
corrected type of two input properties,  'snaps' and  'pin'. were marked as number but they're boolean.
2017-01-26 15:09:33 -05:00
Brandy Carney
c8c90572bc chore(scripts): update e2e prod build to work with ionic-app-scripts (#10083)
* chore(e2e): WIP to add files needed for app-scripts

* chore(e2e): WIP one e2e test building but with errors

* chore(e2e): move e2e.prod to working with app-scripts

move shared functions into util, add support for debug flag when
running e2e.prod / demos.prod which gets passed to app-scripts

* chore(build): fix app-scripts build for all e2e and demos

* chore(e2e): update ionic-angular import path

* chore(build): update dev paths to work with prod

* chore(e2e): get watch working with e2e prod

* docs(scripts): update README for running e2e and demos

closes #8411
closes #10023
2017-01-19 11:09:57 -05:00
Brandy Carney
d252fa49e5 chore(e2e): rename app-module.ts to app.module.ts for consistency
references #10023
2017-01-13 15:16:24 -05:00
Brandy Carney
8e64a28ed3 fix(range): set disabled state from FormControl 2017-01-12 17:02:47 -05:00
Adam Bradley
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
Brandy Carney
660d53101f docs(sass): add documentation for the remaining sass variables
closes #8785
2016-12-05 10:16:40 -05:00
Manu Mtz.-Almeida
a79678625f fix(all): boolean inputs
fixes #9391
2016-11-29 17:29:30 +01:00
Manu Mtz.-Almeida
d2ebac3d27 perf(range): generates inefficient JS 2016-11-28 01:40:51 +01:00
Alan
025c5cc646 fix(components): add a mode agnostic css class (#9133)
Fixes #8545
2016-11-14 13:50:01 -05:00
Manu Mtz.-Almeida
f1f44ebdd4 fix(range): range with long label renders correctly 2016-11-01 23:50:57 +01:00
Manu Mtz.-Almeida
04d61ee47a fix(nav): swipe to go back gesture
- smoother by debouncing touch events (reduces bank)
- dynamic animation duration
- intelligent behavior based in the position, speed and direccion of the swipe (sharing logic with sliding item)

fixes #8919
fixes #8958
fixes #7934
2016-11-01 13:38:27 -05:00
Manu Mtz.-Almeida
4be5d8329e fix(tabs): $tabs-md-tab-font-size is taken into account
fixes #8820
2016-10-21 17:58:27 +02:00
Manu Mtz.-Almeida
9895b86015 fix(range): fixes when step size is bigger than range
fixes #8830
fixes #8802
2016-10-21 17:21:23 +02:00
Max Lynch
713e2a1a33 feat(haptic): add haptic/taptic support to toggle/range/picker 2016-10-05 20:49:55 -05: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
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
Brandy Carney
7a2ad99029 fix(range): set ticks to an empty array to prevent errors 2016-08-03 17:42:52 -04: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
Manu Mtz.-Almeida
9f19023cb9 feat(gesture): Introducing new gesture controller 2016-07-13 22:11:38 +02:00