Compare commits

..

96 Commits

Author SHA1 Message Date
ionitron
2fe32e9ce3 v6.7.2 2023-04-05 13:34:53 +00:00
Liam DeBeasi
78ab10f4bc chore(): update v6 release scripts to use v6-lts (#27121) 2023-04-05 09:25:49 -04:00
Brandy Carney
3ecfb9ce43 fix(picker-column-internal): hide empty picker items from screenreaders (#27114)
fixes #26809
2023-04-04 14:13:55 -04:00
Shawn Taylor
214e83529f fix(item-divider): set padding-end for md (#27070) 2023-03-31 17:00:22 -04:00
Liam DeBeasi
923dbac768 merge release-6.7.1
Release 6.7.1
2023-03-29 09:08:58 -04:00
ionitron
f5de56dd07 chore(): update package lock files 2023-03-29 12:47:17 +00:00
ionitron
661b5de825 v6.7.1 2023-03-29 12:47:04 +00:00
Liam DeBeasi
521063bf24 fix(item-sliding): open method works with items added async (#27035)
resolves #26991
2023-03-28 12:53:36 -04:00
Liam DeBeasi
c9e4cd002d chore(): update playwright (#27037) 2023-03-28 12:30:34 -04:00
Amanda Johnston
0a04310f11 test(popover): re-enable size test (#27033) 2023-03-28 09:20:28 -05:00
dependabot[bot]
9ba8f0a53f chore(deps-dev): bump @playwright/test from 1.32.0 to 1.32.1 in /core (#27036)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.32.0 to 1.32.1.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.32.0...v1.32.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 09:18:39 -04:00
Liam DeBeasi
f68644065c test(datetime): display tests wait for class (#27017) 2023-03-27 09:47:28 -04:00
Maria Hutt
a396e8857b refactor(alert): switch ev.code to ev.key (#27023) 2023-03-24 13:31:30 -07:00
Maria Hutt
1ea0893643 refactor(radio-group): switch ev.code to ev.key (#27021)
Co-authored-by: Sean Perkins <sean@ionic.io>
2023-03-24 12:43:04 -07:00
Maria Hutt
6cecdf4145 fix(item): use thumbnail's size when present (#27014)
resolves #22935

---------

Co-authored-by: ionitron <hi@ionicframework.com>
Co-authored-by: liamdebeasi <liamdebeasi@users.noreply.github.com>
2023-03-24 11:32:14 -07:00
Liam DeBeasi
3b99c31bab fix(radio-group): radios participate in form submission (#27018)
resolves #27016
2023-03-24 12:43:30 -04:00
Shawn Taylor
739f5706db test(datetime): add tests for parseDate (#27015) 2023-03-24 11:57:55 -04:00
Brandy Carney
19c1e25399 fix(select): inherit white-space in select-text to allow text wrapping (#26973)
fixes #19949

Co-authored-by: Shreyas <telishreyas10@gmail.com>
2023-03-24 10:53:25 -04:00
Brandy Carney
6e04562b3b chore(readme): update examples of conference app to include react conference app (#27013) 2023-03-23 14:46:57 -04:00
dependabot[bot]
53af005122 chore(deps-dev): bump @playwright/test from 1.31.2 to 1.32.0 in /core (#27003) 2023-03-23 12:44:59 -04:00
Liam DeBeasi
342d448767 merge feature-6.7
Feature 6.7
2023-03-23 11:30:41 -04:00
Liam DeBeasi
7b476d9189 merge release-6.7.0
Release 6.7.0
2023-03-23 11:07:51 -04:00
Liam DeBeasi
7fef2909e3 merge release-6.7.0
Release 6.7.0
2023-03-23 11:07:32 -04:00
ionitron
5f3ed2b3e8 chore(): update package lock files 2023-03-23 14:43:10 +00:00
Liam DeBeasi
e8aa3d92d0 merge release-6.6.3
Release 6.6.3
2023-03-22 10:01:27 -04:00
Liam DeBeasi
95cebe8004 merge release-6.6.2
Release 6.6.2
2023-03-15 09:53:09 -04:00
Liam DeBeasi
7d9bbdd681 merge release-6.6.0
Release 6.6.0
2023-03-01 10:05:47 -05:00
Liam DeBeasi
341f42d59c merge release-6.5.7
Release 6.5.7
2023-03-01 09:01:42 -05:00
Liam DeBeasi
c719b61962 merge release-6.5.6
Release 6.5.6
2023-02-22 09:45:12 -05:00
Liam DeBeasi
6f1cd267c3 merge release-6.5.5
Release 6.5.5
2023-02-20 11:45:19 -05:00
Liam DeBeasi
4bd47bac5c merge release-6.5.4
Release 6.5.4
2023-02-15 10:01:07 -05:00
Liam DeBeasi
8d169f0c17 merge release-6.5.3
Release 6.5.3
2023-02-08 09:33:13 -05:00
Liam DeBeasi
4816ed7eb2 merge release-6.5.2
Release 6.5.2
2023-02-01 09:18:24 -05:00
Liam DeBeasi
45e1204b73 merge release-6.5.1
Release 6.5.1
2023-01-25 09:47:16 -05:00
Liam DeBeasi
cc7ce35c56 merge release-6.5.0
Release 6.5.0
2023-01-18 11:33:38 -05:00
Liam DeBeasi
8e34ba0838 merge release-6.4.3
Release 6.4.3
2023-01-18 09:34:32 -05:00
Liam DeBeasi
be1a5af77e merge release-6.4.2
Release 6.4.2
2023-01-11 09:15:38 -05:00
Liam DeBeasi
e266e08597 merge release-6.4.1
Release 6.4.1
2022-12-14 12:38:05 -05:00
Liam DeBeasi
bf79814500 merge release-6.4.0
Release 6.4.0
2022-12-07 10:23:33 -05:00
Liam DeBeasi
deabaca35d merge release-6.3.10
Release 6.3.10
2022-12-07 09:25:04 -05:00
Liam DeBeasi
befd66010b merge release-6.3.9
Release 6.3.9
2022-11-30 09:44:24 -05:00
Liam DeBeasi
a94510bc00 merge release-6.3.8
Release 6.3.8
2022-11-22 10:44:15 -05:00
Liam DeBeasi
fa01664477 merge release-6.3.7
Release 6.3.7
2022-11-16 11:21:09 -05:00
Sean Perkins
5c23dc871f merge release-6.3.6
Release 6.3.6
2022-11-10 12:14:00 -05:00
Liam DeBeasi
712f77836d merge release-6.3.5
Release 6.3.5
2022-11-09 09:32:22 -05:00
Liam DeBeasi
469842c7c5 merge release-6.3.4
Release 6.3.4
2022-11-02 10:23:37 -04:00
Liam DeBeasi
ae861b5081 merge release-6.3.3
Release 6.3.3
2022-10-26 09:15:06 -05:00
Liam DeBeasi
0b55c51ce9 merge release-6.3.2
Release 6.3.2
2022-10-17 10:39:53 -05:00
Liam DeBeasi
d75c70518a merge release-6.3.1
Release 6.3.1
2022-10-12 10:06:50 -05:00
Liam DeBeasi
1a77a92832 merge release-6.3.0
Release 6.3.0
2022-10-05 12:08:56 -05:00
Liam DeBeasi
1ecc5b0bf5 merge release-6.2.9
Release 6.2.9
2022-09-28 09:15:22 -05:00
Liam DeBeasi
b507b13c60 merge release-6.2.8
Release 6.2.8
2022-09-21 09:08:20 -05:00
Liam DeBeasi
221aeffcf1 merge release-6.2.7
Release 6.2.7
2022-09-14 09:42:56 -05:00
Liam DeBeasi
60a88b667c merge release-6.2.6
Release 6.2.6
2022-09-07 11:20:03 -05:00
Liam DeBeasi
2a58a86d7c merge release-6.2.5
Release 6.2.5
2022-08-31 09:49:23 -05:00
Liam DeBeasi
39841019af merge release-6.2.4
Release 6.2.4
2022-08-24 08:53:47 -05:00
Liam DeBeasi
4232449215 merge release-6.2.3
Release 6.2.3
2022-08-17 13:06:09 -05:00
Liam DeBeasi
d21b6cd084 merge release-6.2.2
Release 6.2.2
2022-08-10 14:39:08 -05:00
Liam DeBeasi
e60e700ae0 merge release-6.2.1
Release 6.2.1
2022-08-03 10:04:37 -04:00
Liam DeBeasi
96d08cfc80 merge release-6.2.0
Release 6.2.0
2022-07-27 14:30:00 -04:00
Liam DeBeasi
8d9b0f9484 merge release-6.1.15
Release 6.1.15
2022-07-20 10:59:14 -04:00
Liam DeBeasi
9fac36ab47 merge release-6.1.14
Release 6.1.14
2022-07-13 09:54:54 -04:00
Liam DeBeasi
4e3726e9bb merge release-6.1.13
Release 6.1.13
2022-07-06 12:27:41 -04:00
Liam DeBeasi
244229a369 merge release-6.1.12
Release 6.1.12
2022-06-29 10:08:54 -04:00
Liam DeBeasi
9a611ae4d4 merge release-6.1.11
Release 6.1.11
2022-06-22 10:47:32 -04:00
Liam DeBeasi
9c8e36ceff merge release-6.1.10
Release 6.1.10
2022-06-15 10:28:08 -04:00
Liam DeBeasi
b7858ea993 merge release-6.1.9
Release 6.1.9
2022-06-08 09:59:01 -04:00
Liam DeBeasi
af5bd6e78b merge release-6.1.8
Release 6.1.8
2022-06-01 09:37:04 -04:00
Liam DeBeasi
4786abda3f merge release-6.1.7
Release 6.1.7
2022-05-26 17:18:03 -04:00
Liam DeBeasi
8515879bde merge release-6.1.6
Release 6.1.6
2022-05-18 09:18:21 -04:00
Liam DeBeasi
4a19eeaaf2 merge release-6.1.5
Release 6.1.5
2022-05-11 10:09:20 -04:00
Liam DeBeasi
ce65b0eaa0 merge release-6.1.4
Release 6.1.4
2022-05-04 12:27:20 -04:00
Liam DeBeasi
781a35dd56 merge release-6.1.3
Release 6.1.3
2022-04-27 20:27:38 +05:45
Liam DeBeasi
5c4724d5cb merge release-6.1.2
Release 6.1.2
2022-04-20 19:44:16 +05:45
Liam DeBeasi
4cd34e0a0e merge release-6.1.1
Release v6.1.1
2022-04-15 20:02:08 +05:45
Liam DeBeasi
6c4578c692 Merge branch '6.1.x' into release-6.1.1-conflict 2022-04-15 19:40:52 +05:45
Liam DeBeasi
36dda67872 merge release-6.1.0
Release 6.1.0
2022-04-13 10:23:47 -04:00
Liam DeBeasi
6f914e3b90 chore(): resolve merge conflicts 2022-04-13 10:02:38 -04:00
Liam DeBeasi
048ca440ae merge release-6.0.16
Release 6.0.16
2022-04-08 09:57:08 -04:00
github-actions
d0f7b8f443 v6.0.16 2022-04-08 13:25:35 +00:00
Liam DeBeasi
fb994fa9a7 fix(angular): button components now route correctly without reload (#25071) 2022-04-08 09:21:56 -04:00
Liam DeBeasi
a83fa402cf merge release-6.0.15
Release 6.0.15
2022-04-06 16:08:26 -04:00
github-actions
9532d04608 v6.0.15 2022-04-06 19:04:14 +00:00
Liam DeBeasi
bafd1871ce merge release-6.0.14
Release 6.0.14
2022-03-30 09:45:18 -04:00
Liam DeBeasi
7f3de340a7 merge release-6.0.13
Release 6.0.13
2022-03-23 09:39:28 -04:00
Liam DeBeasi
60dfe41741 merge release-6.0.12
Release 6.0.12
2022-03-16 09:37:12 -04:00
Liam DeBeasi
c983abeb3e merge release-6.0.11
Release 6.0.11
2022-03-10 08:54:21 -05:00
Liam DeBeasi
80022a36ae merge release-6.0.10
Release 6.0.10
2022-03-02 17:42:31 -05:00
Sean Perkins
d1602183a7 merge release-6.0.9
Release 6.0.9
2022-02-23 13:14:51 -05:00
Liam DeBeasi
59ed574685 merge release-6.0.8
Release 6.0.8
2022-02-15 16:49:10 -05:00
Liam DeBeasi
4fa8565788 merge release-6.0.7
Release 6.0.7
2022-02-09 11:45:31 -05:00
Liam DeBeasi
544c510ec8 merge release-6.0.6
Release 6.0.6
2022-02-09 10:43:21 -05:00
Liam DeBeasi
e6322ebcff merge release-6.0.5
Release 6.0.5
2022-02-02 10:02:56 -05:00
Liam DeBeasi
4025eafe3b merge release-6.0.4
Release 6.0.4
2022-01-26 15:36:18 -05:00
Liam DeBeasi
4785a7a929 merge release-6.0.3
Release 6.0.3
2022-01-19 10:21:21 -05:00
Liam DeBeasi
7d562e1e03 merge release-6.0.2
Release 6.0.2
2022-01-11 12:32:33 -05:00
160 changed files with 702 additions and 171 deletions

View File

@@ -16,9 +16,7 @@ on:
type: choice
description: Which npm tag should this be published to?
options:
- latest
- v5-lts
- v4-lts
- v6-lts
jobs:
release-ionic:

View File

@@ -3,6 +3,45 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [6.7.2](https://github.com/ionic-team/ionic-framework/compare/v6.7.1...v6.7.2) (2023-04-05)
### Bug Fixes
* **item-divider:** set padding-end for md ([#27070](https://github.com/ionic-team/ionic-framework/issues/27070)) ([214e835](https://github.com/ionic-team/ionic-framework/commit/214e83529f7115852c27a37869c8231330fdb8ac))
* **picker-column-internal:** hide empty picker items from screenreaders ([#27114](https://github.com/ionic-team/ionic-framework/issues/27114)) ([3ecfb9c](https://github.com/ionic-team/ionic-framework/commit/3ecfb9ce43d9d5cf93f1f2be26a0922a16894362)), closes [#26809](https://github.com/ionic-team/ionic-framework/issues/26809)
## [6.0.16](https://github.com/ionic-team/ionic-framework/compare/v6.0.15...v6.0.16) (2022-04-08)
### Bug Fixes
* **angular:** button components now route correctly without reload ([#25071](https://github.com/ionic-team/ionic-framework/issues/25071)) ([fb994fa](https://github.com/ionic-team/ionic-framework/commit/fb994fa9a7721a3575fb8d123be34aea4bf076a4))
## [6.0.15](https://github.com/ionic-team/ionic-framework/compare/v6.0.14...v6.0.15) (2022-04-06)
## [6.7.1](https://github.com/ionic-team/ionic-framework/compare/v6.7.0...v6.7.1) (2023-03-29)
### Bug Fixes
* **item-sliding:** open method works with items added async ([#27035](https://github.com/ionic-team/ionic-framework/issues/27035)) ([521063b](https://github.com/ionic-team/ionic-framework/commit/521063bf241dc2c55bcd02a92ed8a418cfec6b1e)), closes [#26991](https://github.com/ionic-team/ionic-framework/issues/26991)
* **item:** use thumbnail's size when present ([#27014](https://github.com/ionic-team/ionic-framework/issues/27014)) ([6cecdf4](https://github.com/ionic-team/ionic-framework/commit/6cecdf41451a5c7aa908494dfad9fab1496a0c6c)), closes [#22935](https://github.com/ionic-team/ionic-framework/issues/22935)
* **radio-group:** radios participate in form submission ([#27018](https://github.com/ionic-team/ionic-framework/issues/27018)) ([3b99c31](https://github.com/ionic-team/ionic-framework/commit/3b99c31bab41bf7fcec340ac7159d3e8fce126c1)), closes [#27016](https://github.com/ionic-team/ionic-framework/issues/27016)
* **select:** inherit white-space in select-text to allow text wrapping ([#26973](https://github.com/ionic-team/ionic-framework/issues/26973)) ([19c1e25](https://github.com/ionic-team/ionic-framework/commit/19c1e25399ca18c8e6a8dd39c0131979c0bb01e9)), closes [#19949](https://github.com/ionic-team/ionic-framework/issues/19949)
# [6.7.0](https://github.com/ionic-team/ionic-framework/compare/v6.6.3...v6.7.0) (2023-03-23)

View File

@@ -42,7 +42,7 @@
<span> · </span>
<a href="https://blog.ionicframework.com/">Blog</a>
<br />
Community:
Community:
<a href="https://ionic.link/discord">Discord</a>
<span> · </span>
<a href="https://forum.ionicframework.com/">Forums</a>
@@ -77,8 +77,12 @@ Already have an Ionic app? These guides will help you migrate to the latest vers
### Examples
The [Ionic Conference App](https://github.com/ionic-team/ionic-conference-app) is a full featured Ionic app.
It is the perfect starting point for learning and building your own app.
The Ionic Conference App is a full featured Ionic app. It is the perfect starting point for learning and building your own app.
- [Angular Ionic Conference App](https://github.com/ionic-team/ionic-conference-app)
- [React Ionic Conference App](https://github.com/ionic-team/ionic-react-conference-app)
<!-- TODO(FW-3811): add this when the vue conference app is updated -->
<!-- - [Vue Ionic Conference App](https://github.com/ionic-team/ionic-vue-conference-app) -->
### Contributing

View File

@@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [6.7.2](https://github.com/ionic-team/ionic/compare/v6.7.1...v6.7.2) (2023-04-05)
## [6.0.16](https://github.com/ionic-team/ionic/compare/v6.0.15...v6.0.16) (2022-04-08)
### Bug Fixes
* **angular:** button components now route correctly without reload ([#25071](https://github.com/ionic-team/ionic/issues/25071)) ([fb994fa](https://github.com/ionic-team/ionic/commit/fb994fa9a7721a3575fb8d123be34aea4bf076a4))
## [6.0.15](https://github.com/ionic-team/ionic/compare/v6.0.14...v6.0.15) (2022-04-06)
## [6.7.1](https://github.com/ionic-team/ionic/compare/v6.7.0...v6.7.1) (2023-03-29)
**Note:** Version bump only for package @ionic/angular
# [6.7.0](https://github.com/ionic-team/ionic/compare/v6.6.3...v6.7.0) (2023-03-23)
**Note:** Version bump only for package @ionic/angular
@@ -493,7 +520,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
# [6.1.0](https://github.com/ionic-team/ionic/compare/v6.0.14...v6.1.0) (2022-04-13)
# [6.1.0](https://github.com/ionic-team/ionic/compare/v6.0.16...v6.1.0) (2022-04-13)
### Bug Fixes

View File

@@ -1,15 +1,15 @@
{
"name": "@ionic/angular",
"version": "6.7.0",
"version": "6.7.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/angular",
"version": "6.7.0",
"version": "6.7.2",
"license": "MIT",
"dependencies": {
"@ionic/core": "^6.7.0",
"@ionic/core": "^6.7.2",
"ionicons": "^6.1.3",
"jsonc-parser": "^3.0.0",
"tslib": "^2.0.0"
@@ -1006,9 +1006,9 @@
"license": "BSD-3-Clause"
},
"node_modules/@ionic/core": {
"version": "6.6.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.6.3.tgz",
"integrity": "sha512-jkXxvsnn/aCCi5fBjjkkTL6gMjalAjF71+IGi01b+J29F4SCoqmmKykVM99tEJV8NR5ArBGObUTtCzHaax8NCw==",
"version": "6.7.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.7.1.tgz",
"integrity": "sha512-nUuSFV8gT+Ilb2w37gGlV34tVwpGloQMVbjnoNT/ItrQtckGVjKxEzwt27PFlJxKIT7f3OXIccKoW5l3A5NLMg==",
"dependencies": {
"@stencil/core": "^2.18.0",
"ionicons": "^6.1.3",
@@ -7335,9 +7335,9 @@
"dev": true
},
"@ionic/core": {
"version": "6.6.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.6.3.tgz",
"integrity": "sha512-jkXxvsnn/aCCi5fBjjkkTL6gMjalAjF71+IGi01b+J29F4SCoqmmKykVM99tEJV8NR5ArBGObUTtCzHaax8NCw==",
"version": "6.7.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.7.1.tgz",
"integrity": "sha512-nUuSFV8gT+Ilb2w37gGlV34tVwpGloQMVbjnoNT/ItrQtckGVjKxEzwt27PFlJxKIT7f3OXIccKoW5l3A5NLMg==",
"requires": {
"@stencil/core": "^2.18.0",
"ionicons": "^6.1.3",

View File

@@ -1,6 +1,6 @@
{
"name": "@ionic/angular",
"version": "6.7.0",
"version": "6.7.2",
"description": "Angular specific wrappers for @ionic/core",
"keywords": [
"ionic",
@@ -42,7 +42,7 @@
"validate": "npm i && npm run lint && npm run test && npm run build"
},
"dependencies": {
"@ionic/core": "^6.7.0",
"@ionic/core": "^6.7.2",
"ionicons": "^6.1.3",
"jsonc-parser": "^3.0.0",
"tslib": "^2.0.0"

View File

@@ -3,6 +3,40 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [6.7.2](https://github.com/ionic-team/ionic/compare/v6.7.1...v6.7.2) (2023-04-05)
### Bug Fixes
* **item-divider:** set padding-end for md ([#27070](https://github.com/ionic-team/ionic/issues/27070)) ([214e835](https://github.com/ionic-team/ionic/commit/214e83529f7115852c27a37869c8231330fdb8ac))
* **picker-column-internal:** hide empty picker items from screenreaders ([#27114](https://github.com/ionic-team/ionic/issues/27114)) ([3ecfb9c](https://github.com/ionic-team/ionic/commit/3ecfb9ce43d9d5cf93f1f2be26a0922a16894362)), closes [#26809](https://github.com/ionic-team/ionic/issues/26809)
## [6.0.16](https://github.com/ionic-team/ionic/compare/v6.0.15...v6.0.16) (2022-04-08)
## [6.0.15](https://github.com/ionic-team/ionic/compare/v6.0.14...v6.0.15) (2022-04-06)
## [6.7.1](https://github.com/ionic-team/ionic/compare/v6.7.0...v6.7.1) (2023-03-29)
### Bug Fixes
* **item-sliding:** open method works with items added async ([#27035](https://github.com/ionic-team/ionic/issues/27035)) ([521063b](https://github.com/ionic-team/ionic/commit/521063bf241dc2c55bcd02a92ed8a418cfec6b1e)), closes [#26991](https://github.com/ionic-team/ionic/issues/26991)
* **item:** use thumbnail's size when present ([#27014](https://github.com/ionic-team/ionic/issues/27014)) ([6cecdf4](https://github.com/ionic-team/ionic/commit/6cecdf41451a5c7aa908494dfad9fab1496a0c6c)), closes [#22935](https://github.com/ionic-team/ionic/issues/22935)
* **radio-group:** radios participate in form submission ([#27018](https://github.com/ionic-team/ionic/issues/27018)) ([3b99c31](https://github.com/ionic-team/ionic/commit/3b99c31bab41bf7fcec340ac7159d3e8fce126c1)), closes [#27016](https://github.com/ionic-team/ionic/issues/27016)
* **select:** inherit white-space in select-text to allow text wrapping ([#26973](https://github.com/ionic-team/ionic/issues/26973)) ([19c1e25](https://github.com/ionic-team/ionic/commit/19c1e25399ca18c8e6a8dd39c0131979c0bb01e9)), closes [#19949](https://github.com/ionic-team/ionic/issues/19949)
# [6.7.0](https://github.com/ionic-team/ionic/compare/v6.6.3...v6.7.0) (2023-03-23)
@@ -781,7 +815,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
# [6.1.0](https://github.com/ionic-team/ionic/compare/v6.0.14...v6.1.0) (2022-04-13)
# [6.1.0](https://github.com/ionic-team/ionic/compare/v6.0.16...v6.1.0) (2022-04-13)
### Bug Fixes

50
core/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@ionic/core",
"version": "6.7.0",
"version": "6.7.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/core",
"version": "6.7.0",
"version": "6.7.2",
"license": "MIT",
"dependencies": {
"@stencil/core": "^2.18.0",
@@ -18,7 +18,7 @@
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "^2.0.0",
"@jest/core": "^27.5.1",
"@playwright/test": "^1.31.1",
"@playwright/test": "^1.32.1",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-virtual": "^2.0.3",
"@stencil/angular-output-target": "^0.4.0",
@@ -1503,13 +1503,13 @@
}
},
"node_modules/@playwright/test": {
"version": "1.31.2",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.31.2.tgz",
"integrity": "sha512-BYVutxDI4JeZKV1+ups6dt5WiqKhjBtIYowyZIJ3kBDmJgsuPKsqqKNIMFbUePLSCmp2cZu+BDL427RcNKTRYw==",
"version": "1.32.1",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.32.1.tgz",
"integrity": "sha512-FTwjCuhlm1qHUGf4hWjfr64UMJD/z0hXYbk+O387Ioe6WdyZQ+0TBDAc6P+pHjx2xCv1VYNgrKbYrNixFWy4Dg==",
"dev": true,
"dependencies": {
"@types/node": "*",
"playwright-core": "1.31.2"
"playwright-core": "1.32.1"
},
"bin": {
"playwright": "cli.js"
@@ -8155,14 +8155,14 @@
}
},
"node_modules/playwright": {
"version": "1.31.2",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.31.2.tgz",
"integrity": "sha512-jpC47n2PKQNtzB7clmBuWh6ftBRS/Bt5EGLigJ9k2QAKcNeYXZkEaDH5gmvb6+AbcE0DO6GnXdbl9ogG6Eh+og==",
"version": "1.32.1",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.32.1.tgz",
"integrity": "sha512-GnEizysWMvoqHC3I9l8+4/ZxeLwLNdJJG76xdKGxzOcIZDcw5RSk/FKrFb5CuA+zcLpjIM2p9eR9Z4CuUDkWXg==",
"dev": true,
"hasInstallScript": true,
"peer": true,
"dependencies": {
"playwright-core": "1.31.2"
"playwright-core": "1.32.1"
},
"bin": {
"playwright": "cli.js"
@@ -8172,9 +8172,9 @@
}
},
"node_modules/playwright-core": {
"version": "1.31.2",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.31.2.tgz",
"integrity": "sha512-a1dFgCNQw4vCsG7bnojZjDnPewZcw7tZUNFN0ZkcLYKj+mPmXvg4MpaaKZ5SgqPsOmqIf2YsVRkgqiRDxD+fDQ==",
"version": "1.32.1",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.32.1.tgz",
"integrity": "sha512-KZYUQC10mXD2Am1rGlidaalNGYk3LU1vZqqNk0gT4XPty1jOqgup8KDP8l2CUlqoNKhXM5IfGjWgW37xvGllBA==",
"dev": true,
"bin": {
"playwright": "cli.js"
@@ -11427,14 +11427,14 @@
}
},
"@playwright/test": {
"version": "1.31.2",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.31.2.tgz",
"integrity": "sha512-BYVutxDI4JeZKV1+ups6dt5WiqKhjBtIYowyZIJ3kBDmJgsuPKsqqKNIMFbUePLSCmp2cZu+BDL427RcNKTRYw==",
"version": "1.32.1",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.32.1.tgz",
"integrity": "sha512-FTwjCuhlm1qHUGf4hWjfr64UMJD/z0hXYbk+O387Ioe6WdyZQ+0TBDAc6P+pHjx2xCv1VYNgrKbYrNixFWy4Dg==",
"dev": true,
"requires": {
"@types/node": "*",
"fsevents": "2.3.2",
"playwright-core": "1.31.2"
"playwright-core": "1.32.1"
}
},
"@rollup/plugin-node-resolve": {
@@ -16312,19 +16312,19 @@
}
},
"playwright": {
"version": "1.31.2",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.31.2.tgz",
"integrity": "sha512-jpC47n2PKQNtzB7clmBuWh6ftBRS/Bt5EGLigJ9k2QAKcNeYXZkEaDH5gmvb6+AbcE0DO6GnXdbl9ogG6Eh+og==",
"version": "1.32.1",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.32.1.tgz",
"integrity": "sha512-GnEizysWMvoqHC3I9l8+4/ZxeLwLNdJJG76xdKGxzOcIZDcw5RSk/FKrFb5CuA+zcLpjIM2p9eR9Z4CuUDkWXg==",
"dev": true,
"peer": true,
"requires": {
"playwright-core": "1.31.2"
"playwright-core": "1.32.1"
}
},
"playwright-core": {
"version": "1.31.2",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.31.2.tgz",
"integrity": "sha512-a1dFgCNQw4vCsG7bnojZjDnPewZcw7tZUNFN0ZkcLYKj+mPmXvg4MpaaKZ5SgqPsOmqIf2YsVRkgqiRDxD+fDQ==",
"version": "1.32.1",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.32.1.tgz",
"integrity": "sha512-KZYUQC10mXD2Am1rGlidaalNGYk3LU1vZqqNk0gT4XPty1jOqgup8KDP8l2CUlqoNKhXM5IfGjWgW37xvGllBA==",
"dev": true
},
"postcss": {

View File

@@ -1,6 +1,6 @@
{
"name": "@ionic/core",
"version": "6.7.0",
"version": "6.7.2",
"description": "Base components for Ionic",
"keywords": [
"ionic",
@@ -40,7 +40,7 @@
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "^2.0.0",
"@jest/core": "^27.5.1",
"@playwright/test": "^1.31.1",
"@playwright/test": "^1.32.1",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-virtual": "^2.0.3",
"@stencil/angular-output-target": "^0.4.0",

View File

@@ -185,13 +185,13 @@ export class Alert implements ComponentInterface, OverlayInterface {
// If hitting arrow down or arrow right, move to the next radio
// If we're on the last radio, move to the first radio
if (['ArrowDown', 'ArrowRight'].includes(ev.code)) {
if (['ArrowDown', 'ArrowRight'].includes(ev.key)) {
nextEl = index === radios.length - 1 ? radios[0] : radios[index + 1];
}
// If hitting arrow up or arrow left, move to the previous radio
// If we're on the first radio, move to the last radio
if (['ArrowUp', 'ArrowLeft'].includes(ev.code)) {
if (['ArrowUp', 'ArrowLeft'].includes(ev.key)) {
nextEl = index === 0 ? radios[radios.length - 1] : radios[index - 1];
}

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -8,6 +8,7 @@ test.describe('datetime: display', () => {
await page.setContent(`
<ion-datetime value="2022-02-22T16:30:00" presentation="date-time"></ion-datetime>
`);
await page.waitForSelector('.datetime-ready');
const datetime = page.locator('ion-datetime');
await expect(datetime).toHaveScreenshot(`datetime-display-date-time-${page.getSnapshotSettings()}.png`);
});
@@ -15,6 +16,7 @@ test.describe('datetime: display', () => {
await page.setContent(`
<ion-datetime value="2022-02-22T16:30:00" presentation="time-date"></ion-datetime>
`);
await page.waitForSelector('.datetime-ready');
const datetime = page.locator('ion-datetime');
await expect(datetime).toHaveScreenshot(`datetime-display-time-date-${page.getSnapshotSettings()}.png`);
});
@@ -22,6 +24,7 @@ test.describe('datetime: display', () => {
await page.setContent(`
<ion-datetime value="2022-02-22T16:30:00" presentation="time"></ion-datetime>
`);
await page.waitForSelector('.datetime-ready');
const datetime = page.locator('ion-datetime');
await expect(datetime).toHaveScreenshot(`datetime-display-time-${page.getSnapshotSettings()}.png`);
});
@@ -29,6 +32,7 @@ test.describe('datetime: display', () => {
await page.setContent(`
<ion-datetime value="2022-02-22T16:30:00" presentation="date"></ion-datetime>
`);
await page.waitForSelector('.datetime-ready');
const datetime = page.locator('ion-datetime');
await expect(datetime).toHaveScreenshot(`datetime-display-date-${page.getSnapshotSettings()}.png`);
});
@@ -46,6 +50,7 @@ test.describe('datetime: display', () => {
await page.setContent(`
<ion-datetime size="cover" value="2022-02-22T16:30:00" presentation="date-time"></ion-datetime>
`);
await page.waitForSelector('.datetime-ready');
const datetime = page.locator('ion-datetime');
await expect(datetime).toHaveScreenshot(`datetime-display-cover-date-time-${page.getSnapshotSettings()}.png`);
});
@@ -53,6 +58,7 @@ test.describe('datetime: display', () => {
await page.setContent(`
<ion-datetime size="cover" value="2022-02-22T16:30:00" presentation="time-date"></ion-datetime>
`);
await page.waitForSelector('.datetime-ready');
const datetime = page.locator('ion-datetime');
await expect(datetime).toHaveScreenshot(`datetime-display-cover-time-date-${page.getSnapshotSettings()}.png`);
});
@@ -60,6 +66,7 @@ test.describe('datetime: display', () => {
await page.setContent(`
<ion-datetime size="cover" value="2022-02-22T16:30:00" presentation="time"></ion-datetime>
`);
await page.waitForSelector('.datetime-ready');
const datetime = page.locator('ion-datetime');
await expect(datetime).toHaveScreenshot(`datetime-display-cover-time-${page.getSnapshotSettings()}.png`);
});
@@ -67,6 +74,7 @@ test.describe('datetime: display', () => {
await page.setContent(`
<ion-datetime size="cover" value="2022-02-22T16:30:00" presentation="date"></ion-datetime>
`);
await page.waitForSelector('.datetime-ready');
const datetime = page.locator('ion-datetime');
await expect(datetime).toHaveScreenshot(`datetime-display-cover-date-${page.getSnapshotSettings()}.png`);
});

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,4 +1,4 @@
import { clampDate, getPartsFromCalendarDay, parseAmPm, parseMinParts, parseMaxParts } from '../utils/parse';
import { clampDate, getPartsFromCalendarDay, parseAmPm, parseDate, parseMinParts, parseMaxParts } from '../utils/parse';
describe('getPartsFromCalendarDay()', () => {
it('should extract DatetimeParts from a calendar day element', () => {
@@ -17,7 +17,54 @@ describe('getPartsFromCalendarDay()', () => {
});
});
// TODO FW-2794: parseDate()
describe('parseDate()', () => {
it('should return undefined when passed undefined', () => {
expect(parseDate(undefined)).toStrictEqual(undefined);
});
it('should return undefined when passed null', () => {
expect(parseDate(null)).toStrictEqual(undefined);
});
it('should return the correct date object when passed a date', () => {
expect(parseDate('2022-12-15T13:47')).toEqual({
ampm: 'pm',
day: 15,
hour: 13,
minute: 47,
month: 12,
tzOffset: 0,
year: 2022,
});
});
it('should return the correct time zone offset', () => {
expect(parseDate('2022-12-15T13:47:30-02:00').tzOffset).toEqual(-120);
});
it('should parse an array of dates', () => {
expect(parseDate(['2022-12-15T13:47', '2023-03-23T20:19:33.517Z'])).toEqual([
{
ampm: 'pm',
day: 15,
hour: 13,
minute: 47,
month: 12,
tzOffset: 0,
year: 2022,
},
{
ampm: 'pm',
day: 23,
hour: 20,
minute: 19,
month: 3,
tzOffset: 0,
year: 2023,
},
]);
});
});
describe('clampDate()', () => {
const minParts = {

View File

@@ -96,13 +96,11 @@
height: $item-md-avatar-height;
}
// Material Design Item Divider Thumbnail
// --------------------------------------------------
::slotted(ion-thumbnail) {
width: $item-md-thumbnail-width;
height: $item-md-thumbnail-height;
--size: #{$item-md-thumbnail-size};
}
// Material Design Item Divider Avatar/Thumbnail

View File

@@ -23,4 +23,4 @@ $item-divider-md-border-bottom: 1px solid $item-md-border-color !default;
$item-divider-md-padding-start: $item-md-padding-start !default;
/// @prop - Padding end for the divider
$item-divider-md-padding-end: 0 !default;
$item-divider-md-padding-end: $item-md-padding-end !default;

View File

@@ -0,0 +1,39 @@
import { expect } from '@playwright/test';
import { test } from '@utils/test/playwright';
test.describe('item-divider: basic', () => {
test('should display an item divider with text', async ({ page }) => {
await page.setContent(`
<ion-item-divider>
<ion-label>Item Divider</ion-label>
</ion-item-divider>
`);
const divider = page.locator('ion-item-divider');
await expect(divider).toHaveScreenshot(`item-divider-text-${page.getSnapshotSettings()}.png`);
});
test('should display an item divider with a button in the end slot', async ({ page }) => {
await page.setContent(`
<ion-item-divider>
<ion-label>Item Divider</ion-label>
<ion-button slot="end">Button</ion-button>
</ion-item-divider>
`);
const divider = page.locator('ion-item-divider');
await expect(divider).toHaveScreenshot(`item-divider-button-end-${page.getSnapshotSettings()}.png`);
});
test('should display an item divider with an icon in the start slot', async ({ page }) => {
await page.setContent(`
<ion-item-divider>
<ion-icon slot="start" name="star"></ion-icon>
<ion-label>Item Divider</ion-label>
</ion-item-divider>
`);
const divider = page.locator('ion-item-divider');
await expect(divider).toHaveScreenshot(`item-divider-icon-start-${page.getSnapshotSettings()}.png`);
});
});

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -127,7 +127,16 @@ export class ItemSliding implements ComponentInterface {
*/
@Method()
async open(side: Side | undefined) {
if (this.item === null) {
/**
* It is possible for the item to be added to the DOM
* after the item-sliding component was created. As a result,
* if this.item is null, then we should attempt to
* query for the ion-item again.
* However, if the item is already defined then
* we do not query for it again.
*/
const item = (this.item = this.item ?? this.el.querySelector('ion-item'));
if (item === null) {
return;
}

View File

@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8" />
<title>Item Sliding - Async</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
/>
<link href="../../../../../css/ionic.bundle.css" rel="stylesheet" />
<link href="../../../../../scripts/testing/styles.css" rel="stylesheet" />
<script src="../../../../../scripts/testing/scripts.js"></script>
<script nomodule src="../../../../../dist/ionic/ionic.js"></script>
<script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
</head>
<body>
<ion-app>
<ion-header>
<ion-toolbar>
<ion-title>Item Sliding - Basic</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-list>
<ion-item-sliding>
<ion-item-options side="end">
<ion-item-option>Option</ion-item-option>
</ion-item-options>
</ion-item-sliding>
</ion-list>
<script>
const itemSliding = document.querySelector('ion-item-sliding');
setTimeout(() => {
const item = document.createElement('ion-item');
item.innerText = 'Item Sliding Option';
itemSliding.appendChild(item);
item.onclick = () => {
itemSliding.open('end');
};
}, 250);
</script>
</ion-content>
</ion-app>
</body>
</html>

View File

@@ -0,0 +1,23 @@
import { expect } from '@playwright/test';
import { test } from '@utils/test/playwright';
test.describe('item-sliding: async', () => {
test('should open even when item is added async', async ({ page, skip }) => {
skip.rtl();
skip.mode('md');
await page.goto(`/src/components/item-sliding/test/async`);
const itemEl = page.locator('ion-item');
const itemSlidingEl = page.locator('ion-item-sliding');
// Wait for item to be added to DOM
await page.waitForSelector('ion-item');
// Click item to open ion-item-sliding
await itemEl.click();
// This class is added when the item sliding component is fully open
await expect(itemSlidingEl).toHaveClass(/item-sliding-active-slide/);
});
});

View File

@@ -154,8 +154,7 @@
font-size: 13px;
}
// iOS Item Avatar & Thumbnail
// iOS Item Avatar
// --------------------------------------------------
::slotted(ion-avatar) {
@@ -163,11 +162,16 @@
height: $item-ios-avatar-height;
}
// iOS Item Thumbnail
// --------------------------------------------------
::slotted(ion-thumbnail) {
width: $item-ios-thumbnail-width;
height: $item-ios-thumbnail-height;
--size: #{$item-ios-thumbnail-size};
}
// iOS Item Avatar/Thumbnail
// --------------------------------------------------
::slotted(ion-avatar[slot="end"]),
::slotted(ion-thumbnail[slot="end"]) {
@include margin(($item-ios-padding-end * 0.5));

View File

@@ -33,11 +33,8 @@ $item-ios-avatar-width: 36px !default;
/// @prop - Height of the avatar in the item
$item-ios-avatar-height: $item-ios-avatar-width !default;
/// @prop - Width of the thumbnail in the item
$item-ios-thumbnail-width: 56px !default;
/// @prop - Height of the thumbnail in the item
$item-ios-thumbnail-height: $item-ios-thumbnail-width !default;
/// @prop - Size of the thumbnail in the item
$item-ios-thumbnail-size: 56px !default;
/// @prop - Color of the detail arrow icon
$item-ios-detail-icon-color: $item-ios-border-color !default;

View File

@@ -258,7 +258,6 @@
@include padding-horizontal($item-md-note-end-slot-padding-start, $item-md-note-end-slot-padding-end);
}
// Material Design Item Avatar
// --------------------------------------------------
@@ -267,13 +266,11 @@
height: $item-md-avatar-height;
}
// Material Design Item Thumbnail
// --------------------------------------------------
::slotted(ion-thumbnail) {
width: $item-md-thumbnail-width;
height: $item-md-thumbnail-height;
--size: #{$item-md-thumbnail-size};
}
// Material Design Item Avatar/Thumbnail

View File

@@ -18,11 +18,8 @@ $item-md-avatar-width: 40px !default;
/// @prop - Height of the avatar in the item
$item-md-avatar-height: $item-md-avatar-width !default;
/// @prop - Width of the thumbnail in the item
$item-md-thumbnail-width: 56px !default;
/// @prop - Height of the thumbnail in the item
$item-md-thumbnail-height: $item-md-thumbnail-width !default;
/// @prop - Size of the thumbnail in the item
$item-md-thumbnail-size: 56px !default;
/// @prop - Color of the detail arrow icon
$item-md-detail-icon-color: $item-md-border-color !default;

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Some files were not shown because too many files have changed in this diff Show More