146 Commits

Author SHA1 Message Date
9d52e70361 feat(checkbox): component can be used outside ion-item (#26518) 2023-01-05 13:49:04 -06:00
96147ec1b0 fix(item): ios mode has correct padding (#26511) 2023-01-04 16:54:43 -05:00
bd4027b0fa refactor(config): remove stencil extras (#26461)
BREAKING CHANGE:

The supported version of Firefox for Ionic v7 has changed to Firefox v70+
2022-12-15 17:27:28 -05:00
6c82435025 fix(input, searchbar, select, textarea): placeholder has improved contrast (#26486)
BREAKING CHANGE:

The default value for the `--placeholder-opacity` CSS Variable on `ion-input`, `ion-searchbar`, `ion-select`, and `ion-textarea` has been updated to `0.6`.
2022-12-15 13:55:49 -05:00
0823c09d9c fix(select): chevron icon is now an ionicon (#26484)
BREAKING CHANGE:

The `icon` CSS Shadow Part for `ion-select` now targets an `ion-icon` component.
2022-12-14 14:26:16 -05:00
eea91bbbe1 fix(item): align iOS font size to spec (#26445) 2022-12-08 16:24:02 -05:00
1a840c43e9 fix(back-button): update style for ios spec (#26395)
resolves #26393
2022-12-02 09:21:32 -05:00
8eec1974da fix(datetime): haptics are enabled only on ios (#26370)
resolves #25508

BREAKING CHANGE:

The haptics when swiping the wheel picker are now enabled only on iOS.
2022-11-29 14:23:25 -05:00
c74901c973 feat(toggle): component can be used outside of ion-item (#26357)
resolves #25570, resolves #23213

BREAKING CHANGE:

The `--background` and `--background-checked` variables have been renamed to `--track-background` and `--track-background-checked`, respectively.
2022-11-29 12:54:31 -05:00
ce2e37b1a1 fix(angular): null values are not converted to falsy value (#26341)
BREAKING CHANGE:

Datetime:

Passing the empty string to the `value` property will now error as it is not a valid ISO-8601 value.

Angular:

`null` values on form components will no longer be converted to the empty string (`''`) or `false`. This impacts `ion-checkbox`, `ion-datetime`, `ion-input`, `ion-radio`, `ion-radio-group`, ion-range`, `ion-searchbar`, `ion-segment`, `ion-select`, `ion-textarea`, and `ion-toggle`.
2022-11-23 13:03:13 -05:00
1e855e7699 fix(action-sheet): container animates in correctly (#26347)
resolves #25368
2022-11-23 12:12:48 -05:00
0fbcc5b9a9 refactor(picker): remove refresh key (#26340)
BREAKING CHANGE:

The `refresh` key has been removed from the `PickerColumn` interface. Developers should use the `columns` property to refresh the `ion-picker` view.
2022-11-22 13:43:50 -05:00
c45d05476b feat(input, textarea): change default debounce to undefined (#26073)
Co-authored-by: Sean Perkins <sean@ionic.io>
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2022-11-09 13:55:20 -06:00
c299d3666a feat(radio-group): ionChange will only emit from user committed changes (#26223) 2022-11-07 18:03:08 -05:00
eea6ba996c feat(input, textarea): ionInput and ionChange pass event and value (#26176)
BREAKING CHANGE:

The `detail` payload for the `ionInput` event on `ion-input` and `ion-textarea` now contains an object with the current `value` as well as the native event that triggered `ionInput`.
2022-11-01 12:30:58 -04:00
3fb4caf21f fix(datetime): do not report timezone in ionChange (#26183)
resolves #25577

BREAKING CHANGE:

Datetime no longer incorrectly reports the time zone when `value` is updated. Datetime does not manage time zones, so any time zone information provided is ignored.
2022-10-31 15:03:14 -04:00
322a1dbcd0 refactor(types): remove overlay attribute interfaces (#26181)
BREAKING CHANGE:

`ActionSheetAttributes`, `AlertAttributes`, `AlertTextareaAttributes`, `AlertInputAttributes`, `LoadingAttributes`, `ModalAttributes`, `PickerAttributes`, `PopoverAttributes`, and `ToastAttributes` have been removed. Developers should use `{ [key: string]: any }` instead.
2022-10-28 16:12:28 -04:00
d1fb7b039b feat(range): ionChange will only emit from user committed changes (#26089) 2022-10-24 16:13:48 -04:00
2080890c11 fix(card-header): reverse order of title and subtitle on ios (#26084)
BREAKING CHANGE:

- The card header has ben changed to a flex container with direction set to `column` (top to bottom). In `ios` mode the direction is set to `column-reverse` which results in the subtitle displaying on top of the title.
2022-10-19 17:33:28 -04:00
cc2af202a9 feat(datetime): ionChange will only emit from user committed changes (#26083)
resolves #20873 resolves #24452

BREAKING CHANGE

- `ionChange` is no longer emitted when the `value` property of `ion-datetime` is modified externally. `ionChange` is only emitted from user committed changes, such as clicking or tapping a date.

- Datetime no longer automatically adjusts the `value` property when passed an array and `multiple="false"`. Developers should update their apps to ensure they are using the API correctly.
2022-10-11 17:17:52 -04:00
85d3bd99be feat(toggle): ionChange will only emit from user committed changes (#26078)
Co-authored-by: Sean Perkins <sean@ionic.io>
2022-10-10 09:55:58 -05:00
e2cbeeb8ac fix(accordion-group): do not adjust incorrect values (#26086)
BREAKING CHANGE:

Accordion Group no longer automatically adjusts the `value` property when passed an array and `multiple="false"`. Developers should update their apps to ensure they are using the API correctly.
2022-10-10 10:20:52 -04:00
34c4137868 feat(select): ionChange will only emit from user committed changes (#26066)
BREAKING CHANGE:

`ionChange` is no longer emitted when the `value` of `ion-select` is modified externally. `ionChange` is only emitted from user committed changes, such as confirming a selected option in the select's overlay.
2022-10-10 09:36:51 -04:00
b052d3b262 feat(searchbar): ionChange will only emit from user committed changes (#26026) 2022-10-03 15:08:43 -05:00
c946af29d3 refactor(react): only ship es modules (#26044)
BREAKING CHANGE:

`@ionic/react` and `@ionic/react-router` no longer ship a CommonJS entry point. Instead, only an ES Module entry point is provided for improved compatibility with Vite.
2022-09-30 12:01:48 -04:00
86bbed07fc refactor(vue): only ship es modules (#26054)
resolves #25104

BREAKING CHANGE:

`@ionic/vue` and `@ionic/vue-router` no longer ship a CommonJS entry point. Instead, only an ES Module entry point is provided for improved compatibility with Vite.
2022-09-30 11:43:50 -04:00
1f3ddf2370 refactor(modal): remove swipeToClose in favor of canDismiss (#26050)
BREAKING CHANGE:

- The `swipeToClose` property has been removed in favor of `canDismiss`.
- The `canDismiss` property now defaults to `true` and can no longer be set to `undefined`.
2022-09-29 17:19:53 -04:00
68bae80a51 feat(textarea): ionChange will only emit from user committed changes (#25953) 2022-09-23 13:26:21 -04:00
a03c8afb3d feat(segment): ionChange will only emit from user committed changes (#25934) 2022-09-21 10:33:58 -04:00
35041b2f3c feat(input): debounce controls the timing to delay the ionInput event (#25969) 2022-09-20 13:10:50 -04:00
a6b2629ede feat(checkbox): ionChange fires on user interaction (#25923)
BREAKING CHANGE:

`ionChange` is no longer emitted when the `checked` property of `ion-checkbox` is modified externally. `ionChange` is only emitted from user committed changes, such as clicking or tapping the checkbox.
2022-09-13 16:27:34 -04:00
4eea9fa5c0 feat(accordion): ionChange will only emit from user committed changes (#25922)
BREAKING CHANGE:

`ionChange` is no longer emitted when the `value` of `ion-accordion-group` is modified externally. `ionChange` is only emitted from user committed changes, such as clicking or tapping the accordion header.
2022-09-13 14:33:49 -04:00
8732b7bdb7 feat(input): ionChange will only emit from user committed changes (#25858)
Resolves #20106, #20061
2022-09-12 15:35:43 -04:00
da05ffe462 fix(range): range matches iOS design specification (#25873)
Resolves #25872
2022-09-09 12:25:06 -04:00
d478e03914 feat(slides): remove ion-slide, ion-slides, and IonicSwiper module (#25868) 2022-09-01 14:36:17 -05:00
f5a6b5a4c4 refactor(core): remove global hidden attribute (#25829)
resolves #17583

BREAKING CHANGE: 

The `[hidden]` attribute has been removed from Ionic's global stylesheet. The `[hidden]` attribute can continue to be used, but developers will get the [native `hidden` implementation](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden) instead. The main difference is that the native implementation is easier to override using `display` than Ionic's implementation.

Developers can add the following CSS to their global stylesheet if they need the old behavior:

```css
[hidden] {
  display: none !important;
}
```
2022-08-26 09:34:41 -04:00
9e611f5c03 docs(breaking): add note on platform support for v7 (#25823) 2022-08-25 16:45:36 -04:00
1eb6fd04d7 feat(virtual-scroll): remove virtual scroll component (#25808) 2022-08-24 15:42:12 -04:00
a1ec9aabd8 fix(overlays): dismiss on keydown to avoid chrome for windows and firefox bug (#25811)
resolves #25802

BREAKING CHANGE:

Ionic now listens on the `keydown` event instead of the `keyup` event when determining when to dismiss overlays via the "Escape" key. Any applications that were listening on `keyup` to suppress this behavior should listen on `keydown` instead.
2022-08-23 17:14:56 -04:00
55db38ddc5 feat(react): add setupIonicReact function (#24254)
resolves #24139
2021-11-22 15:29:47 -05:00
118c606703 fix(icon): update to ionicons 6 to resolve typescript 4.4 errors (#24185) 2021-11-08 16:59:30 -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
5bd905d5e9 docs(angular): fix breaking change version typo (#24159) 2021-11-03 15:28:42 -04:00
8708095111 feat(all): add CustomEvents types to components that emit events (#23956)
resolves #22925

BREAKING CHANGE: The `RadioChangeEventDetail` interface has been removed in favor of `RadioGroupChangeEventDetail`.
2021-09-24 16:28:49 -04:00
fc9e1b4b36 feat(vue): extend useIonRouter hook for programmatic navigation with animation control (#23499)
resolves #23450
2021-06-28 10:33:32 -04:00
f3ae4319bb fix(input, select, textarea): change type of placeholder prop to string only (#23500)
resolves #22976

BREAKING CHANGE: Updated the `placeholder` property on `ion-input`, `ion-textarea`, and `ion-select` to have a type of `string | undefined`.
2021-06-24 10:23:19 -04:00
6dfbd89cf8 refactor(vue): remove auto-generated router outlet inside of ion-tabs (#23479) 2021-06-21 18:22:57 -04:00
80f181d484 fix(searchbar): showClearButton now defaults to 'always' for improved usability with screen readers (#23475)
BREAKING CHANGE: The `showClearButton` property on `ion-searchbar` now defaults to `'always'`.
2021-06-21 13:12:02 -04:00
932d3ca62f feat(datetime): add calendar picker (#23416)
resolves #19423

BREAKING CHANGE: The `ion-datetime` component has been revamped to use a new calendar style. As a result, some APIs have been removed. See https://github.com/ionic-team/ionic-framework/blob/master/BREAKING.md for more details.
2021-06-16 15:54:15 -04:00
c842dd88c9 refactor(all): update required browser, framework, and mobile platform versions for v6 (#23443)
BREAKING CHANGE: Browser, JS Framework, and mobile platform minimum required versions have been updated.
2021-06-14 09:12:43 -04:00