57 Commits

Author SHA1 Message Date
79518468dd fix(overlays): move prepareOverlay to connectedCallback
For custom elements builds, overlays cannot use hasAttribute() in the constructor, so moving it to connectedCallback instead.
2020-07-21 13:07:54 -05:00
5bf83b80d7 feat(all): add optional generics typings for overlay component methods (#21393) 2020-06-03 09:08:27 -04:00
fc2be8d08b fix(overlays): focus overlay when presented (#20997)
fixes #19882, fixes #17126
2020-04-28 16:43:00 -04:00
4bd9134473 fix(modal): swipeToClose property is now reactive (#21073)
fixes #21072
2020-04-27 11:27:18 -04:00
ae7fe543fe fix(modal): respect card-style modal spec for iPadOS (#20750)
fixes #20700
2020-03-25 13:36:54 -04:00
976e68da5b refactor(): minor updates for next stencil version (#20787) 2020-03-24 11:59:07 -04:00
879b90c3c4 chore(): add show-modal in component not in animation (#20833)
resolves #20827
2020-03-20 12:23:09 -04:00
8d3ce8d29c fix(modal): allow swipe to close animation to be overridden (#20585)
fixes #20577
2020-02-24 11:22:07 -05:00
3a2d82814b fix(modal): swipeable modal styles only apply to ios (#20571)
fixes #20569
2020-02-24 11:14:43 -05:00
5b0400d5af fix(modal): prevent double dismiss via gesture and backdrop tap on card-style modal (#20203)
* fix double dismiss via backdrop tap

* add back deleted line

* fix whitespace
2020-01-14 12:08:32 -05:00
b3b3312711 feat(modal): add card-style presentation with swipe to close gesture (#19428)
resolves #18660
2019-12-10 16:02:41 -05:00
a65d897214 refactor(): deprecate web component controllers (#19109) 2019-08-27 14:00:45 +02:00
7cd68b59fc fix(): remove JSX array commas (#19006) 2019-08-06 13:28:30 +02:00
e82648bda2 refactor(all): update to one (part 3) (#18874) 2019-07-25 20:22:44 +02:00
34dfc3ce98 refactor(all): updating to newest stencil apis (#18578)
* chore(): update ionicons

* refactor(all): updating to newest stencil apis

* fix lint issues

* more changes

* moreee

* fix treeshaking

* fix config

* fix checkbox

* fix stuff

* chore(): update ionicons

* fix linting errors
2019-06-23 11:26:42 +02:00
b40f7d36d5 fix(): update to Stencil One 🎉🎊 2019-06-19 21:33:50 +02:00
464ec3b70a docs(components): update method and parameter descriptions (#18075) 2019-04-23 12:59:25 -04:00
e5c8c10029 fix(components): include mode classes on components for use in shadow (#17838)
- removes mode-less component classes from the internal CSS, use element instead
- adds mode specific classes `md` or `ios` for styling inside of shadow components
- adds e2e test that verifies mode classes exist on all ionic components, plus checks for specific classes that the components need for internal styling

fixes #17608
2019-04-16 17:28:21 -04:00
6364e4e2a1 fix(inputs): keyboard focus improvements (#16838)
fixes #16815
fixes #16872
fixes #13978
fixes #16610
2019-01-11 19:36:02 +01:00
302be5392c fix(overlays): make them hidden until presented (#16903)
fixes #16685
2018-12-29 01:31:33 +01:00
8b140306ef refactor(animation): remove ion-animation-controller (#16842) 2018-12-21 13:17:42 +01:00
235c6859d2 feat(modal): add css vars (#16605)
* feat(modal): add css vars

* add more css vars

* add docs

* add background

* fix e2e test
2018-12-06 15:36:09 +01:00
ecc2c55370 docs(all): possible values are extracted by stencil (#16190)
* docs(all): possible values are extracted by stencil

* add defaults

* remove all hardcoded defaults

* update stencil
2018-11-02 00:06:40 +01:00
a72fced6fe fix(all): docs for all missing props 2018-10-11 16:24:08 -05:00
19c449e815 fix(modal/popover): lifecycle events
fixes #15806
2018-10-08 14:28:22 -05:00
c49d896e08 refactor(all): using ComponentInterface 2018-09-14 18:47:00 +02:00
6e5c035b39 chore(tslint): disable 'no-floating-promises' 2018-09-14 00:50:44 +02:00
bf486e2c99 docs(overlay): onDidDismiss() and onWillDismiss() 2018-09-07 16:45:11 +02:00
ba2230510e refactor(all): strict boolean conditions 2018-09-01 17:23:03 +02:00
4c879900e5 style(core): fix misspellings 2018-08-30 17:06:17 -04:00
cc960c3d48 fix(overlays): expose mode, id, keyboardClose
fixes #15366
2018-08-29 16:19:51 +02:00
1d46973785 refactor(all): make all method return a promise 2018-08-28 22:20:10 +02:00
8b768fb73d fix(overlay): expose "animated" API
fixes #14775
2018-08-26 19:06:50 +02:00
2c8bc0433b fix(modal): make sure content is ready
fixes #14969
2018-08-25 16:53:32 +02:00
bd5a4a0294 refactor(overlays): enableBackdropDismiss => backdropDismiss 2018-08-13 18:32:24 +02:00
c1b61d0fee chore(): update to ionic-rules/strict 2018-07-29 23:10:38 +02:00
92e21a8cf3 fix(all): updated tslint rules to latest 2018-07-29 13:03:47 +02:00
a7f1f4daa7 refactor(components): update to use shadow DOM and work with css variables
- updates components to use shadow DOM or scoped if they require css variables
- moves global styles to an external stylesheet that needs to be imported
- adds support for additional colors and removes the Sass loops to generate colors for each component
- several property renames, bug fixes, and test updates

Co-authored-by: Manu Mtz.-Almeida <manu.mtza@gmail.com>
Co-authored-by: Adam Bradley <adambradley25@gmail.com>
Co-authored-by: Cam Wiegert <cam@camwiegert.com>
2018-07-09 12:57:21 -04:00
aaf3eee59d docs(): remove code blocks in docs 2018-05-31 16:13:53 -04:00
618f708bc4 fix(all): strong typing for color 2018-05-14 13:51:30 +02:00
bb809b63ed perf(all): dynamic import 2018-05-08 19:39:07 +02:00
8b1452c5c1 fix(lint): import order 2018-04-26 20:18:57 +02:00
053c375521 refactor(all): allow external imports 2018-04-24 16:12:02 +02:00
ae0541a465 chore(): update dependencies 2018-04-22 20:08:02 +02:00
4ea8881f33 refactor(all): enable strictPropertyInitialization 2018-04-19 18:48:38 +02:00
43d7538e66 fix(overlay): cssClasses applied to overlay 2018-04-17 18:58:28 +02:00
fd5c957787 refactor(all): enable ts strict 2018-04-10 02:43:48 +02:00
a36913e9db refactor(all): data -> componentProps 2018-03-29 18:41:56 +02:00
e20f76c3b1 refactor(all): async/await 2018-03-24 03:27:27 +01:00
ee27549c84 refactor(dom): attachComponent() 2018-03-21 16:22:59 +01:00