196 Commits

Author SHA1 Message Date
ea3fdae2dd chore(): update deps (#18856) 2019-08-08 20:06:12 +02:00
713ea8adaa fix(router): fix partial gesture (#18977)
fixes #18462
2019-08-06 17:28:29 +02:00
f94300cbb3 refactor(angular): use arrow functions (#18910) 2019-08-06 14:18:08 +02:00
6bbdb80871 fix(accessor): ngModel conflits with nested inputs (#18976)
fixes #18248
2019-08-06 13:34:54 +02:00
962783bfba fix(router-outlet): change detection fires properly (#18896)
* fix(router-outlet): never detach() the entering view

fixes #18894

* add tests

* ci

* update package-lock

* circle sync runtime
2019-07-26 11:13:50 -04:00
00891119f7 feat(virtual-scroll): adds headerHeight and footerHeight (#18851)
Currently, if you have an ion-virtual-scroll with a list of items and a search bar for filtering them, when you change the list of items, the items disappear until rendered again, causing a flicker. This could be solved for the items using the itemHeight function to provide the exact height size and bypass some calculations and be more performant etc.

However, if you had a header or footer, they would still flicker. This commit adds two more optional functions named headerHeight and footerHeight that return the exact size of the header and footer respectively and resolve the flicker.
2019-07-24 18:29:16 +02:00
c52b3b4997 fix(hydrate): check for client runtime method (#18866) 2019-07-23 16:11:29 -05:00
a8455a90ff chore(ssr): fix document.body reference (#18863) 2019-07-23 14:11:09 -05:00
97fec92365 fix(router-outlet): attach entering view before first change detection (#18821) 2019-07-18 10:26:54 +02:00
53179c475c fix(inputs): apply ng form classes (#18820) 2019-07-17 17:46:22 +02:00
8beeff2c52 fix(virtual-scroll): remove runOutsideAngular error (#18752)
fixes #18746
2019-07-10 10:21:42 -04:00
ab20bf472d revert disconnecting page on leaving page 2019-07-09 10:32:46 +02:00
e059fc8048 perf(angular): skip zone 2019-07-06 19:33:34 +02:00
1add112be6 chore(): update stencil 2019-07-05 19:33:22 +02:00
b40f7d36d5 fix(): update to Stencil One 🎉🎊 2019-06-19 21:33:50 +02:00
eca4121dc6 feat(components): add missing button/a props to components that render them (#17883)
Adds the following properties to the components listed under them:

`rel`, `download`, `target`:
- anchor
- button
- card
- fab-button
- item-option
- item
- tab-button

`disabled`:
- back-button
- menu-button

`type`:
- back-button
- item-option
- menu-button
- segment-button

fixes #16848 closes #16889


Co-authored-by: bitflower <matthias.max@bitflower.net>
2019-06-12 14:06:29 -04:00
b8d4961483 fix(angular): ensure active page is not removed from change detection (#18299)
fixes #18293
2019-05-20 12:08:19 -04:00
bdd5109dbe fix(angular): preserve queryParams and fragment when going back (#18298)
fixes #16744
2019-05-20 11:56:02 -04:00
9030dcc111 feat(refresher): add pullFactor property to control speed (#16697)
closes #15425
2019-05-07 17:21:32 -04:00
cc8678ad58 feat(textarea): add option to expand textarea as value changes (#16916)
* feat(textarea): add autoGrow - set height to scrollHeight

* change 1px to inherit, remove additional 4px
2019-05-07 16:52:24 -04:00
669ec0da3d feat(card): add button functionality (#17997)
closes #17773
2019-05-07 15:12:28 -04:00
f912206af8 feat(item-sliding): add open method (#17964)
resolves #17899
2019-05-07 11:43:19 -04:00
38ffb98421 feat(img): add ionImgWillLoad event and emit ionImgDidLoad when image is loaded (#18159)
- Adds `ionImgWillLoad` event that emits when the img src is set
- Moves the `ionImgDidLoad` event emit so that it happens when the image actually finishes loading

fixes #17652 closes #18161
2019-05-01 16:03:16 -04:00
9c2cd31b1c Release 4.3.1 (#18152) (#18154)
* fix(angular): support replaceUrl with angular <7.2 (#18106)

* fix(angular): support replaceUrl with angular <7.2

* run linter

* fix(): sanitize components using innerHTML (#18146)

* 4.3.1 (#18150)
2019-04-26 15:52:30 -04:00
a5b9066fee feat(searchbar): add disabled property (#17935)
closes #17921
2019-04-22 11:37:58 -04:00
52e5a8d3e3 fix(angular): back button goes back to proper tab (#18005)
fixes #17278 
fixes #15216
2019-04-10 16:18:59 -04:00
06c3048828 fix(angular): route observables available earlier (#17914) 2019-04-01 09:21:14 -04:00
a710fdcb66 style(angular): fix linter 2019-03-29 10:07:47 -04:00
d9a7c635ee fix(angular): support relative router links
Closes #17888, closes #16534, closes #16736, closes #16954
2019-03-29 09:58:16 -04:00
f2c8db9a0b fix(angular): account for replaceUrl option (#17879)
fixes #15181
2019-03-29 09:40:57 -04:00
04f931f694 feat(img): add ionError event (#17134)
resolves #16947
2019-03-27 10:58:03 -04:00
016fa16d44 feat(range): add ticks attribute (#17718)
closes #17717
2019-03-26 14:33:16 -04:00
c641ae10ed feat(checkbox): implement indeterminate state (#16951)
This adds an `indeterminate` prop to the `ion-checkbox` component, which visually renders the checkbox with a dash to indicate an indeterminate state.

closes #16943
2019-03-04 11:16:41 -05:00
69ecebb159 feat(select): add compareWith property (#17358)
* feat(select): add compareWith property

* style(select): fix lint errors

* test(select): move tests from preview to basic

* refactor(select): improve parameter names in compareOptions method

* chore(): add react usage docs

* chore(): update var names, update examples

* rerun build

* add doc on compareWith
2019-03-01 14:46:42 -05:00
d66b12b8d4 feat(skeleton-text): adds animated prop and support for CSS styling (#17612)
* moves most of the CSS to the host element so that it's easier to customize the skeleton text
* adds auto inherit for border-radius
* moves height to 100% so it will naturally fill an avatar and thumbnail
* adds animated property defaulted to `false`
* removes mode specific styles as they're the same
* changes background to an rgba making it easier to customize
* still works outside of a container element
* adds usage examples for javascript and angular
* moves the width to the parent element making it easier to style
* adds the ability to style the width using CSS
* uses the global theme text color as the background if a custom background is not supplied before defaulting

closes ionic-team/ionic-docs#407
2019-02-27 17:27:34 -05:00
f44c17e03b fix(ssr): fix angular global window and document references 2019-02-25 16:43:41 -06:00
cf607329a3 chore(range): revert neutral point (#17550)
* Revert "fix(range): improved rtl support (#17479)"

This reverts commit f832de5f4ac1e7db5a2a1c48ca7b85ad7ef671b5.

revert range rtl support

* Revert "feat(range): add neutral point (#17400)"

This reverts commit 15acb4be37eef4d1c90229cf64fb836e249c225c.

revert neutral point
2019-02-20 15:57:28 -05:00
15acb4be37 feat(range): add neutral point (#17400)
* feat(Range): add neutral point

* feat(Range): generate proxies and api

* fix(): check positive case in neutralPointChanged

* fix(Range): neutralPoint to min if neutralPoint < min

* fix(Range): active bar style

* fix(Range): tick styling
2019-02-12 17:17:23 -05:00
78005089e4 docs(): rebuilding 2019-01-30 10:53:24 -05:00
d169ebdf6d docs(): rebuild docs 2019-01-30 10:41:21 -05:00
a7a2fc59bf docs(angular): adds docs to angular API (#17211) 2019-01-22 20:03:47 +01:00
d3b6e60adf fix(icon): update ionicons to flip for rtl (#17196)
- updates to latest ionicons 4.55 and adds rtl test
- includes e2e test for RTL icons

references #17012
2019-01-22 13:37:39 -05:00
835aea9c4a feat(slides): expose updateAutoHeight (#17208)
fixes #15079
2019-01-22 16:00:25 +01:00
a945b03144 fix(angular): race condition when fast navigation (#17197)
fixes #17194
fixes #16449
fixes #15413
2019-01-22 15:03:43 +01:00
a90084c077 feat(input): add getInputElement() (#17183)
expose internal <input> element

fixes #17174
2019-01-21 17:19:40 +01:00
766c79d2a1 feat(angular): add global pop() (#17182)
fixes #16340
2019-01-21 01:52:47 +01:00
2b4d7b7be9 fix(angular): apply validation classes properly
* fix(angular): add validation classes to ion-item

* fix(inputs): focus handling

fixes #17171
fixes #16052
fixes #15572
fixes #16452
fixes #17063
2019-01-19 22:56:00 +01:00
d513e8a952 feat(datetime): add readonly prop (#17139) 2019-01-18 17:24:58 +01:00
6929bb817c feat(angular): add tabs events (#17125)
* feat(angular): add tabs events

* lint
2019-01-15 22:07:53 +01:00
d3b866b290 refactor(all): remove ionChange in non-inputs (#17101)
fixes #17071
2019-01-14 21:43:24 +01:00