d86785c376
fix(range): update the UI when min/max change ( #11720 )
...
fixes #11719
2017-05-19 13:19:12 -04:00
239b559e6e
fix(base-input): initialize on ngAfterContentInit
2017-04-27 23:44:12 +02:00
ee6c48102d
fix(range): aot (wrong reference)
2017-04-27 12:56:25 +02:00
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
94a33a74d2
Merge branch 'refactor-inputs'
2017-04-05 20:07:28 +02:00
41e34fc4ce
chore(docs): moving docs from /docs/v2 to /docs
2017-03-29 11:00:52 -05:00
6360d41f6a
Misc changes 2
2017-03-28 21:37:11 +02:00
3d569eb88a
test(select/segment): adds unit test for select and segment
2017-03-28 17:57:49 +02:00
9a4d81b329
refactor(all): consistent inputs
...
fixes #8578
2017-03-28 17:57:49 +02:00
7272b5a42a
refactor(all): color/mode inputs are not longer needed
2017-03-23 23:32:47 +01:00
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
1efc4aea0f
style(range): removes trailing white spaces
2017-03-15 16:56:27 +01:00
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
396f891f33
chore(docs): updating dgeni typescript package
2017-03-14 14:50:31 -05:00
d538245178
fix(range): knob B can only be actived if range is dual
2017-03-08 23:44:15 +01:00
b541832749
fix(range): bar width works as expected
...
fixes #10150
2017-03-08 23:44:15 +01: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
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
8e64a28ed3
fix(range): set disabled state from FormControl
2017-01-12 17:02:47 -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
a79678625f
fix(all): boolean inputs
...
fixes #9391
2016-11-29 17:29:30 +01:00
d2ebac3d27
perf(range): generates inefficient JS
2016-11-28 01:40:51 +01:00
025c5cc646
fix(components): add a mode agnostic css class ( #9133 )
...
Fixes #8545
2016-11-14 13:50:01 -05:00
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
9895b86015
fix(range): fixes when step size is bigger than range
...
fixes #8830
fixes #8802
2016-10-21 17:21:23 +02:00
713e2a1a33
feat(haptic): add haptic/taptic support to toggle/range/picker
2016-10-05 20:49:55 -05: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
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
7a2ad99029
fix(range): set ticks to an empty array to prevent errors
2016-08-03 17:42:52 -04:00
4f52135c13
Revert "Revert "Merge branch 'master' of https://github.com/driftyco/ionic ""
...
This reverts commit 4a6086c1f8e756b86460697f685af0c8f81e3019.
2016-07-18 19:40:03 -05:00
4a6086c1f8
Revert "Merge branch 'master' of https://github.com/driftyco/ionic "
...
This reverts commit 8945bf906d68d469e4653a9db2f564bc588eb0d6, reversing
changes made to f4fac225fa3a9151565a1e3c3ccb334405b6a57f.
2016-07-18 19:24:56 -05:00
9f19023cb9
feat(gesture): Introducing new gesture controller
2016-07-13 22:11:38 +02:00
d6f62bcb60
fix(sliding): much better UX + performance
...
- sliding should behave exactly like a native one
- much better performance
references #7049
references #7116
closes #6913
closes #6958
2016-07-12 15:30:19 +02:00
01c7c1ada7
docs(range): fix debounce input
...
closes #7168
2016-07-02 14:27:09 +02:00
656426672c
chore(templates): import required directives for ionic templates
2016-07-01 00:59:37 -05:00
4d56219a4c
refactor(forms): upgrade to @angular/forms
2016-06-30 21:54:48 -05:00
c7fa9490bf
style(imports): add spaces in imports
2016-06-22 14:29:27 -05:00
1cef5a7084
refactor(range): uses new UIEventManager
2016-06-20 20:32:55 +02:00
55eccb3493
feat(range): add debounce input for ionChange event
...
Closes #6894
2016-06-16 12:34:46 -05:00
9b2e934a2f
fix(range): stop sliding after releasing mouse outside the window
...
Closes #6802
2016-06-08 20:30:32 -05:00
ccd926b8ae
feat(range): range can be disabled
2016-06-08 08:46:31 -05:00
057b526612
chore(range): add range-knob-min/max css class
2016-06-01 20:27:00 -05:00
7e4b13daaf
fix(range): prevent change detection exception
2016-06-01 16:11:47 -05:00
11448dcd0c
chore(tslint): fix noImplicitAny errors
2016-05-31 21:07:17 -05:00
fc819dd9c4
feat(range): add ability to add labels to the left/right of range
...
using `range-left` and `range-right` inside of `ion-range` will place
the element to the left or right of the range.
references #5422
2016-05-31 20:11:09 -04:00
b59e5afe22
chore(range): emit ionChange on range
2016-05-31 16:24:13 -05:00
f7cf378042
docs(range): add API docs for range
...
references #5422
2016-05-31 17:09:07 -04:00
061af93b3c
fix(range): update the styling for all modes
...
references #5422
2016-05-31 16:11:47 -04:00
d24b080cb7
fix(range): fix styling on range, add demo
...
references #5422
2016-05-31 14:37:43 -04:00