64 Commits

Author SHA1 Message Date
99c91eff87 fix(react, vue): scroll is no longer interrupted on ios (#24791)
resolves #24435
2022-02-17 16:41:36 -05:00
d3311df967 fix(accordion): items inside of the content now correct display borders (#24618)
resolves #24613
2022-01-21 09:42:26 -05:00
0920797612 fix(accordion): improve functionality with nested accordions (#24302) 2021-12-06 10:28:10 -05:00
9cf7c89704 fix(input): date type in ion-input now aligns correctly on iOS 15 (#24213) 2021-11-12 14:35:12 -05:00
5d4f5af360 fix(modal): card modal shadow now shows up correctly on ipad (#24203) 2021-11-11 10:59:18 -05:00
2054690f54 chore(): sync with main 2021-11-11 10:19:05 -05:00
1f4f8eb6ca fix(modal): border radius is now correctly applied to card modals (#24204) 2021-11-11 10:01:53 -05:00
d0b61307c6 feat(slides): add support for Swiper 7 (#24190) 2021-11-09 12:50:56 -05:00
da339a8a74 fix(modal, popover): opening modal and popover now works even if overlay was added to ion-app directly (#24174)
resolves #23728
2021-11-08 10:19:23 -05:00
11fda41420 feat(slides): add IonicSlides module for Swiper migration, deprecate ion-slides (#23844)
backports #23447
2021-08-31 17:52:47 -04:00
12216d378d feat(modal): add bottom sheet functionality (#23828)
resolves #21039
2021-08-31 15:19:19 -04:00
dc48a9f1a2 feat(vue): add custom elements bundle (#23458) 2021-06-17 14:10:50 -04:00
bccb8ad5fb fix(modal): border radius is correctly set on card style modal (#23461) 2021-06-17 13:36:30 -04:00
623c84ab08 feat(slides): add IonicSwiper modules, deprecate ion-slides, and add link to migration (#23447) 2021-06-11 12:56:32 -04:00
3be1c3dcd7 feat(modal): modals can now be used inline (#23341)
resolves #20117, resolves #20263
2021-06-01 11:09:40 -04:00
a037b65aad fix(modal): add additional padding to toolbars in iOS modal (#23262)
Resolves #22778
2021-05-03 16:43:11 -04:00
03d5fcb6c8 chore(): revert #23181
Reverts #23181
2021-05-03 16:29:58 -04:00
d94739f39b fix(modal): add additional padding to toolbars in iOS modal (#23181)
resolves #22778
2021-05-03 10:44:41 -04:00
073883a098 feat(accordion): add accordion and accordion-group components (#22865)
resolves #17094
2021-03-24 09:17:54 -04:00
bd64509bae fix(modal): properly inherit border radius for modals on Safari (#20887)
fixes #20878
2020-03-30 11:56:46 -04:00
645578c66b fix(modal): properly apply border radius on card-style modal (#20852)
fixes #20851
2020-03-25 11:10:57 -04:00
7a4ddde5ce fix(modal): properly remove safe area padding on card-modal (#20853)
fixes #20799
2020-03-24 11:53:29 -04:00
3a2d82814b fix(modal): swipeable modal styles only apply to ios (#20571)
fixes #20569
2020-02-24 11:14:43 -05:00
1cabb53650 fix(modal): account for safe area on devices with a notch (#20072)
* fix card modal on notch phones

* only apply safe area for card modal

* fix styles, fix gesture race condition

* a few more tweaks
2019-12-16 12:09:34 -05:00
d521f65053 docs(css): update directive references to classes in css utils (#19941) 2019-11-18 18:08:40 -05:00
0d40d3f3b7 refactor(back-button): convert to shadow component (#19411)
references #18899
2019-11-14 14:39:35 -05:00
d80f45516d feat(split-pane): convert to shadow component, add width, max-width, and min-width vars (#19754)
resolves #17088


Co-authored-by: troyanskiy <roman.rosluk@utopix.ch>
2019-10-30 14:16:39 -04:00
08bb60dcbb refactor(card): convert card to shadow (#19395)
references #18899
2019-10-10 15:55:35 -04:00
5d6e077067 fix(css): update responsive display media queries (#18601)
BREAKING CHANGES

The responsive display classes found in the `display.css` file have had their media queries updated to better reflect how they should work. Instead of using the maximum value of that breakpoint (for `.ion-hide-{breakpoint}-down` classes) the maximum of the media query will be the minimum of that breakpoint. 

fixes #18600
2019-10-10 14:34:16 -04:00
e67f7e81f7 refactor(css): remove CSS util attributes (#18956)
BREAKING CHANGES

Removes all CSS utility attributes. Please use CSS classes instead. See the documentation for the correct class names: https://ionicframework.com/docs/layout/css-utilities
2019-10-10 14:34:16 -04:00
eab0865fba fix(menu): menus show proper drop shadows (#19454)
fixes #19387
2019-09-26 09:38:28 -04:00
c15ae7cbf5 chore(): fix css warnings (#19265) 2019-09-05 17:07:25 +02:00
b40f7d36d5 fix(): update to Stencil One 🎉🎊 2019-06-19 21:33:50 +02:00
cabbeb2c2f fix(display): update to correct css classes 2019-03-07 11:26:17 -05:00
6bea9d3248 feat(css): add CSS display utilities (#17359)
Adds classes to set display none on any element.

* add `.ion-hide` selector to hide content
* add `.ion-hide-{breakpoint}-{up|down}]` to selectively hide content

closes #10904
2019-02-22 13:39:18 -05:00
c49276c477 fix(css): add the missing css classes to flex and float utils (#17570)
fixes #17569
2019-02-22 11:54:46 -05:00
8b140306ef refactor(animation): remove ion-animation-controller (#16842) 2018-12-21 13:17:42 +01:00
0699884d10 fix(body): body background matches ion-content 2018-12-16 20:44:10 +01:00
4c4bdf256d fix(pwa): use 100% of the viewport
Fixes issue in Iphone X white bottom padding
2018-12-16 18:22:33 +01:00
2933f61e8d fix(react): add class based APIs (#16665)
fixes #16583
2018-12-11 01:08:00 +01:00
6776e65c9c fix(select): selection-option is hidden in edge (#16607)
fixes #16580
2018-12-06 01:52:50 +01:00
8029df344a fix(segment): set colors in the parent segment and remove the unused color property (#16590)
* style(theming): clean up sass TODOs

* fix(item): use proper padding on small buttons in an item

* refactor(components): remove color from unused components

* chore(components): update build files to remove color

* fix(tab-bar): remove unused layout prop

* test(segment): add custom test and update standalone

* docs(segment): update usage examples to remove layout

* test(segment): update tests to remove layout

* test(tab-bar): update tests to remove layout

* fix(segment): set the colors in the parent segment

but use them in the child segment button

This allows the user to customize all of the segment buttons from segment, while still allowing the `color` property to take precedence, and they can also edit the segment button colors directly if desired.

This actually fixes some bugs surrounding colors and allows customization for a segment inside of a toolbar.

references #14853

* style(sass): fix lint errors

* chore(build): build files

* fix(segment-button): use transparent background

* docs(segment-button): add color activated back

* why does the build hate me

* fix(segment): set initial css variables to avoid inheriting

* fix(segment): set initial color activated

also add new line to the nav readme because reasons

* test(segment): parent mode should match children
2018-12-06 00:12:14 +01:00
b2021fd9c4 fix(theming): update global css variable naming and default values (#16003)
Updates all of the global variables to make sure their naming is consistent, their default values are correct, they are used properly by the related components, and remove any that are not used.

- removes some of the non mode-specific global Sass variables
- updates the md and ios values so that the default is the css variable
with different fallbacks
- removes non-color related css variables from the global file
- fixes item so it uses the background color that is set by the global
file

# Breaking Changes

## Removed Global CSS Variables

The following global CSS variables have been removed for the reasons listed.

| Variable Name                     | Reason                                          |
| ----------------------------------| ------------------------------------------------|
| `--ion-toolbar-color-inactive`    | Unused                                          |
| `--ion-ripple-background-color`   | Unused / Ripple color is based on component     |
| `--ion-header-size`               | Removed in favor of using CSS for h1-h6         |
| `--ion-header-step`               | Removed in favor of using CSS for h1-h6         |

## Renamed Global CSS Variables

The following global CSS variables have been renamed for the reasons listed.

| Old Variable Name                        | New Variable Name                  | Reason                                                                        |
| -----------------------------------------| -----------------------------------| ------------------------------------------------------------------------------|
| `--ion-toolbar-text-color`               | `--ion-toolbar-color`              | Variable is not limited to text color                                         |
| `--ion-toolbar-color-active`             | `--ion-toolbar-color-activated`    | Consistency with our component variables                                      |
| `--ion-tabbar-text-color`                | `--ion-tab-bar-color`              | Variable is not limited to text color                                         |
| `--ion-tabbar-text-color-active`         | `--ion-tab-bar-color-activated`    | Consistency with our component variables                                      |
| `--ion-tabbar-background-color`          | `--ion-tab-bar-background`         | Applies to the background property                                            |
| `--ion-tabbar-background-color-focused`  | `--ion-tab-bar-background-focused` | Applies to the background property                                            |
| `--ion-item-background-color`            | `--ion-item-background`            | Applies to the background property                                            |
| `--ion-item-background-color-active`     | `--ion-item-background-activated`  | Applies to the background property / Consistency with our component variables |
| `--ion-item-text-color`                  | `--ion-item-color`                 | Variable is not limited to text color                                         |
| `--ion-placeholder-text-color`           | `--ion-placeholder-color`          | Consistency with other variables                                              |

Fixes #15989 
Fixes #15559
2018-10-23 12:37:04 -04:00
f87d4bf385 fix(css): avoid cleancss bug
fixes #15807
2018-10-08 15:46:34 -05:00
6b0d812d37 fix(css): remove selection color 2018-09-29 16:14:15 +02:00
a3c85ae301 fix(): add safe area cutouts (#15750)
* fix(): add safe area cutouts

* fix(): adjust safe-area padding

* fix(): safe area improvments

* fix(): safe-area-improvments for padding

* fix(): safe-area improvements for items

* fix(): safe-area fix for core css

* fix(): safe-area fix for list header

* fix(): safe-area fix for popover

* fix(): safe-area validates

* chore(): ci updates

* fix(): safe-area revert padding changes for now

* padding is being applied twice

* safe-area-left is applied to item
2018-09-26 13:01:54 -05:00
9badb085d8 revert(content): block scrolling in ion-content 2018-09-25 21:02:40 +02:00
633360fcba fix(all): gesture controller can block scrolling
fixes #15725
2018-09-25 17:46:58 +02:00
fcb45d12e2 style(components): don't self close tags 2018-09-12 11:38:20 -04:00
ba2230510e refactor(all): strict boolean conditions 2018-09-01 17:23:03 +02:00