Compare commits

..

1 Commits

Author SHA1 Message Date
ionitron
1c72954839 v8.1.2 2024-05-15 15:58:37 +00:00
55 changed files with 655 additions and 1296 deletions

View File

@@ -11,7 +11,7 @@ jobs:
issues: write
steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@c5bca5027e680b9e8411b826d16947afd8c76b32 # v2.0.0
uses: pozil/auto-assign-issue@65947009a243e6b3993edeef4e64df3ca85d760c # v1.14.0
with:
assignees: brandyscarney, thetaPC
numOfAssignee: 1

View File

@@ -3,35 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [8.2.0](https://github.com/ionic-team/ionic-framework/compare/v8.1.3...v8.2.0) (2024-05-22)
### Features
* **angular:** setting props on a signal works ([#29453](https://github.com/ionic-team/ionic-framework/issues/29453)) ([4640e04](https://github.com/ionic-team/ionic-framework/commit/4640e046ebbd35bf92737368c6262f79a8803a59)), closes [#28876](https://github.com/ionic-team/ionic-framework/issues/28876)
## [8.1.3](https://github.com/ionic-team/ionic-framework/compare/v8.1.2...v8.1.3) (2024-05-22)
### Bug Fixes
* **core:** malformed URIs will not throw exception ([#29486](https://github.com/ionic-team/ionic-framework/issues/29486)) ([4a41983](https://github.com/ionic-team/ionic-framework/commit/4a41983098fe9bf83fdf05ce7ab28c79f414e11b)), closes [#29479](https://github.com/ionic-team/ionic-framework/issues/29479)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.1...v8.1.2) (2024-05-15)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.0...v8.1.2) (2024-05-15)
### Bug Fixes
* **angular:** add formatOptions property to standalone datetime ([#29468](https://github.com/ionic-team/ionic-framework/issues/29468)) ([bb1db52](https://github.com/ionic-team/ionic-framework/commit/bb1db52567e0884a896f9ccd76c27540b52f5e48)), closes [#29464](https://github.com/ionic-team/ionic-framework/issues/29464)
* **angular:** persist select disabled state in item ([#29448](https://github.com/ionic-team/ionic-framework/issues/29448)) ([dfb72d7](https://github.com/ionic-team/ionic-framework/commit/dfb72d7ea06e28d76069b23eb90c3426181b7c4c)), closes [#29234](https://github.com/ionic-team/ionic-framework/issues/29234)
* **angular:** set active segment button when dynamically changing items ([#29418](https://github.com/ionic-team/ionic-framework/issues/29418)) ([ee83388](https://github.com/ionic-team/ionic-framework/commit/ee833881da3ecaa0a9153397f0c7e62c1923f19c)), closes [#29414](https://github.com/ionic-team/ionic-framework/issues/29414)
* **many:** do not grow slotted checkboxes, radios, selects and toggles ([#29501](https://github.com/ionic-team/ionic-framework/issues/29501)) ([c63d07b](https://github.com/ionic-team/ionic-framework/commit/c63d07bdd0c4d9939474c52b03a3f2535511933f)), closes [#29423](https://github.com/ionic-team/ionic-framework/issues/29423)
* **picker:** update keyboard navigation ([#29497](https://github.com/ionic-team/ionic-framework/issues/29497)) ([32bc681](https://github.com/ionic-team/ionic-framework/commit/32bc681192b1833f1c897e692d2d36ba90c6af53))
* **radio:** persist checked state when items are updated in radio-group ([#29457](https://github.com/ionic-team/ionic-framework/issues/29457)) ([7ea14ae](https://github.com/ionic-team/ionic-framework/commit/7ea14ae41eb27f2a58952bd27d91ef4c77bb6a0c)), closes [#29442](https://github.com/ionic-team/ionic-framework/issues/29442)

View File

@@ -20,7 +20,7 @@
<a href="https://github.com/ionic-team/ionic-framework/blob/main/LICENSE">
<img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="Ionic Framework is released under the MIT license." />
</a>
<a href="https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md">
<a href="https://github.com/ionic-team/ionic/blob/main/docs/CONTRIBUTING.md">
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs welcome!" />
</a>
<a href="https://twitter.com/Ionicframework">
@@ -38,7 +38,7 @@
Documentation
</a>
<span> · </span>
<a href="https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md">Contribute</a>
<a href="https://github.com/ionic-team/ionic/blob/main/docs/CONTRIBUTING.md">Contribute</a>
<span> · </span>
<a href="https://blog.ionicframework.com/">Blog</a>
<br />
@@ -63,15 +63,14 @@ Looking for the `ionic-angular` package? Ionic 3 has been moved to the [`ionic-v
### Getting Started
Start a new project by following our [documentation](https://ionicframework.com/docs/).
Start a new project by following our quick [Getting Started guide](https://ionicframework.com/getting-started/).
We would love to hear from you! If you have any feedback or run into issues using our framework, please file
an [issue](https://github.com/ionic-team/ionic-framework/issues/new) on this repository.
an [issue](https://github.com/ionic-team/ionic/issues/new) on this repository.
### Migration Guides
Already have an Ionic app? These guides will help you migrate to the latest versions.
* [Migrate from v7 to v8](https://ionicframework.com/docs/updating/8-0)
* [Migrate from v6 to v7](https://ionicframework.com/docs/updating/7-0)
* [Migrate from v5 to v6](https://ionicframework.com/docs/updating/6-0)
* [Migrate from v4 to v5](https://ionicframework.com/docs/updating/5-0)
@@ -83,16 +82,21 @@ The Ionic Conference App is a full featured Ionic app. It is the perfect startin
- [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)
- [Vue Ionic Conference App](https://github.com/ionic-team/ionic-vue-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
Thanks for your interest in contributing! Read up on our guidelines for
[contributing](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md)
and then look through our issues with a [help wanted](https://github.com/ionic-team/ionic-framework/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)
[contributing](https://github.com/ionic-team/ionic/blob/main/docs/CONTRIBUTING.md)
and then look through our issues with a [help wanted](https://github.com/ionic-team/ionic/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)
label.
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/ionic-team/ionic-framework/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/ionic-team/ionic/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
### Future Goals
As Ionic Framework components migrate to the web component standard, a goal of ours is to have Ionic Framework easily work within all of the popular frameworks.
### Earlier Versions

View File

@@ -3,32 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [8.2.0](https://github.com/ionic-team/ionic-framework/compare/v8.1.3...v8.2.0) (2024-05-22)
**Note:** Version bump only for package @ionic/core
## [8.1.3](https://github.com/ionic-team/ionic-framework/compare/v8.1.2...v8.1.3) (2024-05-22)
### Bug Fixes
* **core:** malformed URIs will not throw exception ([#29486](https://github.com/ionic-team/ionic-framework/issues/29486)) ([4a41983](https://github.com/ionic-team/ionic-framework/commit/4a41983098fe9bf83fdf05ce7ab28c79f414e11b)), closes [#29479](https://github.com/ionic-team/ionic-framework/issues/29479)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.1...v8.1.2) (2024-05-15)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.0...v8.1.2) (2024-05-15)
### Bug Fixes
* **angular:** persist select disabled state in item ([#29448](https://github.com/ionic-team/ionic-framework/issues/29448)) ([dfb72d7](https://github.com/ionic-team/ionic-framework/commit/dfb72d7ea06e28d76069b23eb90c3426181b7c4c)), closes [#29234](https://github.com/ionic-team/ionic-framework/issues/29234)
* **angular:** set active segment button when dynamically changing items ([#29418](https://github.com/ionic-team/ionic-framework/issues/29418)) ([ee83388](https://github.com/ionic-team/ionic-framework/commit/ee833881da3ecaa0a9153397f0c7e62c1923f19c)), closes [#29414](https://github.com/ionic-team/ionic-framework/issues/29414)
* **many:** do not grow slotted checkboxes, radios, selects and toggles ([#29501](https://github.com/ionic-team/ionic-framework/issues/29501)) ([c63d07b](https://github.com/ionic-team/ionic-framework/commit/c63d07bdd0c4d9939474c52b03a3f2535511933f)), closes [#29423](https://github.com/ionic-team/ionic-framework/issues/29423)
* **picker:** update keyboard navigation ([#29497](https://github.com/ionic-team/ionic-framework/issues/29497)) ([32bc681](https://github.com/ionic-team/ionic-framework/commit/32bc681192b1833f1c897e692d2d36ba90c6af53))
* **radio:** persist checked state when items are updated in radio-group ([#29457](https://github.com/ionic-team/ionic-framework/issues/29457)) ([7ea14ae](https://github.com/ionic-team/ionic-framework/commit/7ea14ae41eb27f2a58952bd27d91ef4c77bb6a0c)), closes [#29442](https://github.com/ionic-team/ionic-framework/issues/29442)

View File

@@ -1,5 +1,5 @@
# Get Playwright
FROM mcr.microsoft.com/playwright:v1.44.0
FROM mcr.microsoft.com/playwright:v1.43.1
# Set the working directory
WORKDIR /ionic

View File

File diff suppressed because it is too large Load Diff

60
core/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@ionic/core",
"version": "8.2.0",
"version": "8.1.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/core",
"version": "8.2.0",
"version": "8.1.2",
"license": "MIT",
"dependencies": {
"@stencil/core": "^4.17.2",
@@ -1691,12 +1691,12 @@
}
},
"node_modules/@playwright/test": {
"version": "1.44.0",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.44.0.tgz",
"integrity": "sha512-rNX5lbNidamSUorBhB4XZ9SQTjAqfe5M+p37Z8ic0jPFBMo5iCtQz1kRWkEMg+rYOKSlVycpQmpqjSFq7LXOfg==",
"version": "1.43.1",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.43.1.tgz",
"integrity": "sha512-HgtQzFgNEEo4TE22K/X7sYTYNqEMMTZmFS8kTq6m8hXj+m1D8TgwgIbumHddJa9h4yl4GkKb8/bgAl2+g7eDgA==",
"dev": true,
"dependencies": {
"playwright": "1.44.0"
"playwright": "1.43.1"
},
"bin": {
"playwright": "cli.js"
@@ -1786,9 +1786,9 @@
}
},
"node_modules/@stencil/core": {
"version": "4.18.1",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.18.1.tgz",
"integrity": "sha512-WoRctLuXqoiLquS4EEvMoyLsbQ5+xuk8wp0+n4mYjoAoXy8NppXmMqKrMlFyYXL/zUI5ODS7U7IcLCpZ3IcKZQ==",
"version": "4.17.2",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.17.2.tgz",
"integrity": "sha512-MX7yaLmpTU9iZvCire9nhecTcE0qBlV0vPWrLMeIXewYN7/hb8B3NjnhQyBKC93FDPI8NBRmt6KIugLw9zcRZg==",
"bin": {
"stencil": "bin/stencil"
},
@@ -8222,12 +8222,12 @@
}
},
"node_modules/playwright": {
"version": "1.44.0",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.44.0.tgz",
"integrity": "sha512-F9b3GUCLQ3Nffrfb6dunPOkE5Mh68tR7zN32L4jCk4FjQamgesGay7/dAAe1WaMEGV04DkdJfcJzjoCKygUaRQ==",
"version": "1.43.1",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.43.1.tgz",
"integrity": "sha512-V7SoH0ai2kNt1Md9E3Gwas5B9m8KR2GVvwZnAI6Pg0m3sh7UvgiYhRrhsziCmqMJNouPckiOhk8T+9bSAK0VIA==",
"dev": true,
"dependencies": {
"playwright-core": "1.44.0"
"playwright-core": "1.43.1"
},
"bin": {
"playwright": "cli.js"
@@ -8240,9 +8240,9 @@
}
},
"node_modules/playwright-core": {
"version": "1.44.0",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.44.0.tgz",
"integrity": "sha512-ZTbkNpFfYcGWohvTTl+xewITm7EOuqIqex0c7dNZ+aXsbrLj0qI8XlGKfPpipjm0Wny/4Lt4CJsWJk1stVS5qQ==",
"version": "1.43.1",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.43.1.tgz",
"integrity": "sha512-EI36Mto2Vrx6VF7rm708qSnesVQKbxEWvPrfA1IPY6HgczBplDx7ENtx+K2n4kJ41sLLkuGfmb0ZLSSXlDhqPg==",
"dev": true,
"bin": {
"playwright-core": "cli.js"
@@ -11443,12 +11443,12 @@
}
},
"@playwright/test": {
"version": "1.44.0",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.44.0.tgz",
"integrity": "sha512-rNX5lbNidamSUorBhB4XZ9SQTjAqfe5M+p37Z8ic0jPFBMo5iCtQz1kRWkEMg+rYOKSlVycpQmpqjSFq7LXOfg==",
"version": "1.43.1",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.43.1.tgz",
"integrity": "sha512-HgtQzFgNEEo4TE22K/X7sYTYNqEMMTZmFS8kTq6m8hXj+m1D8TgwgIbumHddJa9h4yl4GkKb8/bgAl2+g7eDgA==",
"dev": true,
"requires": {
"playwright": "1.44.0"
"playwright": "1.43.1"
}
},
"@rollup/plugin-node-resolve": {
@@ -11516,9 +11516,9 @@
"requires": {}
},
"@stencil/core": {
"version": "4.18.1",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.18.1.tgz",
"integrity": "sha512-WoRctLuXqoiLquS4EEvMoyLsbQ5+xuk8wp0+n4mYjoAoXy8NppXmMqKrMlFyYXL/zUI5ODS7U7IcLCpZ3IcKZQ=="
"version": "4.17.2",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.17.2.tgz",
"integrity": "sha512-MX7yaLmpTU9iZvCire9nhecTcE0qBlV0vPWrLMeIXewYN7/hb8B3NjnhQyBKC93FDPI8NBRmt6KIugLw9zcRZg=="
},
"@stencil/react-output-target": {
"version": "0.5.3",
@@ -16167,19 +16167,19 @@
}
},
"playwright": {
"version": "1.44.0",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.44.0.tgz",
"integrity": "sha512-F9b3GUCLQ3Nffrfb6dunPOkE5Mh68tR7zN32L4jCk4FjQamgesGay7/dAAe1WaMEGV04DkdJfcJzjoCKygUaRQ==",
"version": "1.43.1",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.43.1.tgz",
"integrity": "sha512-V7SoH0ai2kNt1Md9E3Gwas5B9m8KR2GVvwZnAI6Pg0m3sh7UvgiYhRrhsziCmqMJNouPckiOhk8T+9bSAK0VIA==",
"dev": true,
"requires": {
"fsevents": "2.3.2",
"playwright-core": "1.44.0"
"playwright-core": "1.43.1"
}
},
"playwright-core": {
"version": "1.44.0",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.44.0.tgz",
"integrity": "sha512-ZTbkNpFfYcGWohvTTl+xewITm7EOuqIqex0c7dNZ+aXsbrLj0qI8XlGKfPpipjm0Wny/4Lt4CJsWJk1stVS5qQ==",
"version": "1.43.1",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.43.1.tgz",
"integrity": "sha512-EI36Mto2Vrx6VF7rm708qSnesVQKbxEWvPrfA1IPY6HgczBplDx7ENtx+K2n4kJ41sLLkuGfmb0ZLSSXlDhqPg==",
"dev": true
},
"postcss": {

View File

@@ -1,6 +1,6 @@
{
"name": "@ionic/core",
"version": "8.2.0",
"version": "8.1.2",
"description": "Base components for Ionic",
"keywords": [
"ionic",
@@ -108,7 +108,7 @@
"url": "git+https://github.com/ionic-team/ionic-framework.git"
},
"bugs": {
"url": "https://github.com/ionic-team/ionic-framework/issues"
"url": "https://github.com/ionic-team/ionic/issues"
},
"homepage": "https://ionicframework.com/",
"jest": {

View File

@@ -33,7 +33,7 @@ function generateComponent(component, content) {
content.push(`${component.tag},event,${prop.event},${prop.detail},${prop.bubbles}`);
});
component.styles.forEach(prop => {
content.push(`${component.tag},css-prop,${prop.name}${prop.mode ? ',' + prop.mode : ''}`);
content.push(`${component.tag},css-prop,${prop.name}`);
});
component.parts.forEach(part => {
content.push(`${component.tag},part,${part.name}`);

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -363,7 +363,7 @@ export class Searchbar implements ComponentInterface {
this.ionClear.emit();
return new Promise<void>((resolve) => {
// setTimeout() fixes https://github.com/ionic-team/ionic-framework/issues/7527
// setTimeout() fixes https://github.com/ionic-team/ionic/issues/7527
// wait for 4 frames
setTimeout(() => {
const value = this.getValue();

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -46,7 +46,7 @@
.toggle-icon {
// Needed to prevent visual glitch in safari/iOS
// See https://github.com/ionic-team/ionic-framework/issues/14626
// See https://github.com/ionic-team/ionic/issues/14626
transform: translate3d(0, 0, 0);
transition: background-color $toggle-ios-transition-duration;

View File

@@ -60,13 +60,7 @@ export const configFromURL = (win: Window) => {
.slice(1)
.split('&')
.map((entry) => entry.split('='))
.map(([key, value]) => {
try {
return [decodeURIComponent(key), decodeURIComponent(value)];
} catch (e) {
return ['', ''];
}
})
.map(([key, value]) => [decodeURIComponent(key), decodeURIComponent(value)])
.filter(([key]) => startsWith(key, IONIC_PREFIX))
.map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])
.forEach(([key, value]) => {

View File

@@ -1,5 +1,5 @@
import type { IonicConfig } from '../../interface';
import { Config, configFromURL } from '../config';
import { Config } from '../config';
describe('Config', () => {
it('should get a value from the config', () => {
@@ -82,16 +82,4 @@ describe('Config', () => {
config.set('text0' as any, 'hola');
expect(config.get('text0' as any, 'HEY')).toEqual('hola');
});
it('should not throw an exception with a malformed URI', () => {
// https://github.com/ionic-team/ionic-framework/issues/29479
expect(
configFromURL({
location: {
search: '?test=%',
},
} as unknown as Window)
).toEqual({});
});
});

View File

@@ -213,7 +213,7 @@ export const config: Config = {
{
type: 'docs-vscode',
file: 'dist/html.html-data.json',
sourceCodeBaseUrl: 'https://github.com/ionic-team/ionic-framework/tree/main/core/',
sourceCodeBaseUrl: 'https://github.com/ionic-team/ionic/tree/main/core/',
},
{
type: 'dist',

View File

@@ -384,9 +384,9 @@ ion-ripple-effect {
### Example Components
- [ion-button](https://github.com/ionic-team/ionic-framework/tree/main/core/src/components/button)
- [ion-back-button](https://github.com/ionic-team/ionic-framework/tree/main/core/src/components/back-button)
- [ion-menu-button](https://github.com/ionic-team/ionic-framework/tree/main/core/src/components/menu-button)
- [ion-button](https://github.com/ionic-team/ionic/tree/main/core/src/components/button)
- [ion-back-button](https://github.com/ionic-team/ionic/tree/main/core/src/components/back-button)
- [ion-menu-button](https://github.com/ionic-team/ionic/tree/main/core/src/components/menu-button)
### References
@@ -400,7 +400,7 @@ ion-ripple-effect {
#### Example Components
- [ion-checkbox](https://github.com/ionic-team/ionic-framework/tree/main/core/src/components/checkbox)
- [ion-checkbox](https://github.com/ionic-team/ionic/tree/main/core/src/components/checkbox)
#### VoiceOver
@@ -479,7 +479,7 @@ render() {
<Host>
<label>
{this.labelText}
<input type="checkbox" {...this.inheritedAttributes} />
<input type="checkbox" {...this.inheritedAttributes} />
</label>
</Host>
)
@@ -511,7 +511,7 @@ This is a compromise we have to make in order for it to work with the other scre
#### Example Components
- [ion-toggle](https://github.com/ionic-team/ionic-framework/tree/main/core/src/components/toggle)
- [ion-toggle](https://github.com/ionic-team/ionic/tree/main/core/src/components/toggle)
#### Voiceover
@@ -592,7 +592,7 @@ render() {
<Host>
<label>
{this.labelText}
<input type="checkbox" role="switch" {...this.inheritedAttributes} />
<input type="checkbox" role="switch" {...this.inheritedAttributes} />
</label>
</Host>
)
@@ -624,8 +624,8 @@ There is a WebKit bug open for this: https://bugs.webkit.org/show_bug.cgi?id=196
#### Example Components
- [ion-accordion](https://github.com/ionic-team/ionic-framework/tree/master/core/src/components/accordion)
- [ion-accordion-group](https://github.com/ionic-team/ionic-framework/tree/master/core/src/components/accordion-group)
- [ion-accordion](https://github.com/ionic-team/ionic/tree/master/core/src/components/accordion)
- [ion-accordion-group](https://github.com/ionic-team/ionic/tree/master/core/src/components/accordion-group)
#### NVDA
@@ -640,11 +640,11 @@ Certain components can render an `<a>` or a `<button>` depending on the presence
### Example Components
- [ion-button](https://github.com/ionic-team/ionic-framework/tree/main/core/src/components/button)
- [ion-card](https://github.com/ionic-team/ionic-framework/tree/main/core/src/components/card)
- [ion-fab-button](https://github.com/ionic-team/ionic-framework/tree/main/core/src/components/fab-button)
- [ion-item-option](https://github.com/ionic-team/ionic-framework/tree/main/core/src/components/item-option)
- [ion-item](https://github.com/ionic-team/ionic-framework/tree/main/core/src/components/item)
- [ion-button](https://github.com/ionic-team/ionic/tree/main/core/src/components/button)
- [ion-card](https://github.com/ionic-team/ionic/tree/main/core/src/components/card)
- [ion-fab-button](https://github.com/ionic-team/ionic/tree/main/core/src/components/fab-button)
- [ion-item-option](https://github.com/ionic-team/ionic/tree/main/core/src/components/item-option)
- [ion-item](https://github.com/ionic-team/ionic/tree/main/core/src/components/item)
### Component Structure

View File

@@ -3,5 +3,5 @@
"core",
"packages/*"
],
"version": "8.2.0"
"version": "8.1.2"
}

View File

@@ -3,23 +3,7 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [8.2.0](https://github.com/ionic-team/ionic-framework/compare/v8.1.3...v8.2.0) (2024-05-22)
**Note:** Version bump only for package @ionic/angular-server
## [8.1.3](https://github.com/ionic-team/ionic-framework/compare/v8.1.2...v8.1.3) (2024-05-22)
**Note:** Version bump only for package @ionic/angular-server
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.1...v8.1.2) (2024-05-15)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.0...v8.1.2) (2024-05-15)
**Note:** Version bump only for package @ionic/angular-server

View File

@@ -1,15 +1,15 @@
{
"name": "@ionic/angular-server",
"version": "8.2.0",
"version": "8.1.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/angular-server",
"version": "8.2.0",
"version": "8.1.2",
"license": "MIT",
"dependencies": {
"@ionic/core": "^8.2.0"
"@ionic/core": "^8.1.2"
},
"devDependencies": {
"@angular-eslint/eslint-plugin": "^16.0.0",
@@ -1119,9 +1119,9 @@
"dev": true
},
"node_modules/@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"dependencies": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",
@@ -7011,9 +7011,9 @@
"dev": true
},
"@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"requires": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@ionic/angular-server",
"version": "8.2.0",
"version": "8.1.2",
"description": "Angular SSR Module for Ionic",
"keywords": [
"ionic",
@@ -17,7 +17,7 @@
"url": "git+https://github.com/ionic-team/ionic-framework.git"
},
"bugs": {
"url": "https://github.com/ionic-team/ionic-framework/issues"
"url": "https://github.com/ionic-team/ionic/issues"
},
"publishConfig": {
"directory": "dist"
@@ -62,6 +62,6 @@
},
"prettier": "@ionic/prettier-config",
"dependencies": {
"@ionic/core": "^8.2.0"
"@ionic/core": "^8.1.2"
}
}

View File

@@ -3,29 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [8.2.0](https://github.com/ionic-team/ionic-framework/compare/v8.1.3...v8.2.0) (2024-05-22)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.0...v8.1.2) (2024-05-15)
### Features
* **angular:** setting props on a signal works ([#29453](https://github.com/ionic-team/ionic-framework/issues/29453)) ([4640e04](https://github.com/ionic-team/ionic-framework/commit/4640e046ebbd35bf92737368c6262f79a8803a59)), closes [#28876](https://github.com/ionic-team/ionic-framework/issues/28876)
## [8.1.3](https://github.com/ionic-team/ionic-framework/compare/v8.1.2...v8.1.3) (2024-05-22)
**Note:** Version bump only for package @ionic/angular
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.1...v8.1.2) (2024-05-15)
**Note:** Version bump only for package @ionic/angular
### Bug Fixes
* **angular:** add formatOptions property to standalone datetime ([#29468](https://github.com/ionic-team/ionic-framework/issues/29468)) ([bb1db52](https://github.com/ionic-team/ionic-framework/commit/bb1db52567e0884a896f9ccd76c27540b52f5e48)), closes [#29464](https://github.com/ionic-team/ionic-framework/issues/29464)

View File

@@ -19,11 +19,7 @@
* ```
*/
export class NavParams {
constructor(public data: { [key: string]: any } = {}) {
console.warn(
`[Ionic Warning]: NavParams has been deprecated in favor of using Angular's input API. Developers should migrate to either the @Input decorator or the Signals-based input API.`
);
}
constructor(public data: { [key: string]: any } = {}) {}
/**
* Get the value of a nav-parameter for the current view

View File

@@ -20,15 +20,12 @@ import {
import { NavParams } from '../directives/navigation/nav-params';
import { ConfigToken } from './config';
// TODO(FW-2827): types
@Injectable()
export class AngularDelegate {
private zone = inject(NgZone);
private applicationRef = inject(ApplicationRef);
private config = inject(ConfigToken);
create(
environmentInjector: EnvironmentInjector,
@@ -40,8 +37,7 @@ export class AngularDelegate {
injector,
this.applicationRef,
this.zone,
elementReferenceKey,
this.config.useSetInputAPI ?? false
elementReferenceKey
);
}
}
@@ -55,8 +51,7 @@ export class AngularFrameworkDelegate implements FrameworkDelegate {
private injector: Injector,
private applicationRef: ApplicationRef,
private zone: NgZone,
private elementReferenceKey?: string,
private enableSignalsSupport?: boolean
private elementReferenceKey?: string
) {}
attachViewToDom(container: any, component: any, params?: any, cssClasses?: string[]): Promise<any> {
@@ -89,8 +84,7 @@ export class AngularFrameworkDelegate implements FrameworkDelegate {
component,
componentProps,
cssClasses,
this.elementReferenceKey,
this.enableSignalsSupport
this.elementReferenceKey
);
resolve(el);
});
@@ -127,8 +121,7 @@ export const attachView = (
component: any,
params: any,
cssClasses: string[] | undefined,
elementReferenceKey: string | undefined,
enableSignalsSupport: boolean | undefined
elementReferenceKey: string | undefined
): any => {
/**
* Wraps the injector with a custom injector that
@@ -171,38 +164,7 @@ export const attachView = (
);
}
/**
* Angular 14.1 added support for setInput
* so we need to fall back to Object.assign
* for Angular 14.0.
*/
if (enableSignalsSupport === true && componentRef.setInput !== undefined) {
const { modal, popover, ...otherParams } = params;
/**
* Any key/value pairs set in componentProps
* must be set as inputs on the component instance.
*/
for (const key in otherParams) {
componentRef.setInput(key, otherParams[key]);
}
/**
* Using setInput will cause an error when
* setting modal/popover on a component that
* does not define them as an input. For backwards
* compatibility purposes we fall back to using
* Object.assign for these properties.
*/
if (modal !== undefined) {
Object.assign(instance, { modal });
}
if (popover !== undefined) {
Object.assign(instance, { popover });
}
} else {
Object.assign(instance, params);
}
Object.assign(instance, params);
}
if (cssClasses) {
for (const cssClass of cssClasses) {

View File

@@ -1,15 +1,15 @@
{
"name": "@ionic/angular",
"version": "8.2.0",
"version": "8.1.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/angular",
"version": "8.2.0",
"version": "8.1.2",
"license": "MIT",
"dependencies": {
"@ionic/core": "^8.2.0",
"@ionic/core": "^8.1.2",
"ionicons": "^7.0.0",
"jsonc-parser": "^3.0.0",
"tslib": "^2.3.0"
@@ -1398,9 +1398,9 @@
"dev": true
},
"node_modules/@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"dependencies": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",
@@ -9820,9 +9820,9 @@
"dev": true
},
"@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"requires": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@ionic/angular",
"version": "8.2.0",
"version": "8.1.2",
"description": "Angular specific wrappers for @ionic/core",
"keywords": [
"ionic",
@@ -20,7 +20,7 @@
"url": "git+https://github.com/ionic-team/ionic-framework.git"
},
"bugs": {
"url": "https://github.com/ionic-team/ionic-framework/issues"
"url": "https://github.com/ionic-team/ionic/issues"
},
"homepage": "https://ionicframework.com/",
"scripts": {
@@ -47,7 +47,7 @@
}
},
"dependencies": {
"@ionic/core": "^8.2.0",
"@ionic/core": "^8.1.2",
"ionicons": "^7.0.0",
"jsonc-parser": "^3.0.0",
"tslib": "^2.3.0"

View File

@@ -52,18 +52,14 @@ const DECLARATIONS = [
IonMaxValidator,
];
type OptInAngularFeatures = {
useSetInputAPI?: boolean;
};
@NgModule({
declarations: DECLARATIONS,
exports: DECLARATIONS,
providers: [ModalController, PopoverController],
providers: [AngularDelegate, ModalController, PopoverController],
imports: [CommonModule],
})
export class IonicModule {
static forRoot(config: IonicConfig & OptInAngularFeatures = {}): ModuleWithProviders<IonicModule> {
static forRoot(config?: IonicConfig): ModuleWithProviders<IonicModule> {
return {
ngModule: IonicModule,
providers: [
@@ -77,7 +73,6 @@ export class IonicModule {
multi: true,
deps: [ConfigToken, DOCUMENT, NgZone],
},
AngularDelegate,
provideComponentInputBinding(),
],
};

View File

@@ -8,11 +8,7 @@ import type { IonicConfig } from '@ionic/core/components';
import { ModalController } from './modal-controller';
import { PopoverController } from './popover-controller';
type OptInAngularFeatures = {
useSetInputAPI?: boolean;
};
export const provideIonicAngular = (config: IonicConfig & OptInAngularFeatures = {}): EnvironmentProviders => {
export const provideIonicAngular = (config?: IonicConfig): EnvironmentProviders => {
return makeEnvironmentProviders([
{
provide: ConfigToken,

View File

@@ -1,5 +1,5 @@
import { JsonPipe } from "@angular/common";
import { Component, Input } from "@angular/core";
import { Component } from "@angular/core";
import { IonicModule } from "@ionic/angular";
@@ -23,7 +23,7 @@ let rootParamsException = false;
})
export class NavRootComponent {
@Input() params: any = {};
params: any;
ngOnInit() {
if (this.params === undefined) {

View File

@@ -1,5 +1,5 @@
import { JsonPipe } from "@angular/common";
import { Component, Input } from "@angular/core";
import { Component } from "@angular/core";
import { IonicModule } from "@ionic/angular";
@@ -23,7 +23,7 @@ let rootParamsException = false;
})
export class NavRootComponent {
@Input() params: any;
params: any;
ngOnInit() {
if (this.params === undefined) {

View File

@@ -1,5 +1,6 @@
import { Component, NgZone } from '@angular/core';
import { AlertController } from '@ionic/angular';
import { NavComponent } from '../nav/nav.component';
@Component({
selector: 'app-alert',

View File

@@ -11,7 +11,7 @@
<ion-content class="ion-padding">
<h1>Value</h1>
<h2>{{value}}</h2>
<h3>{{prop}}</h3>
<h3>{{valueFromParams}}</h3>
<p>modal is defined: <span id="modalInstance">{{ !!modal }}</span></p>
<p>ngOnInit: <span id="ngOnInit">{{onInit}}</span></p>
<p>ionViewWillEnter: <span id="ionViewWillEnter">{{willEnter}}</span></p>

View File

@@ -1,6 +1,6 @@
import { Component, Input, NgZone, OnInit, Optional } from '@angular/core';
import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';
import { ModalController, IonNav, ViewWillLeave, ViewDidEnter, ViewDidLeave } from '@ionic/angular';
import { ModalController, NavParams, IonNav, ViewWillLeave, ViewDidEnter, ViewDidLeave } from '@ionic/angular';
@Component({
selector: 'app-modal-example',
@@ -9,12 +9,12 @@ import { ModalController, IonNav, ViewWillLeave, ViewDidEnter, ViewDidLeave } fr
export class ModalExampleComponent implements OnInit, ViewWillLeave, ViewDidEnter, ViewWillLeave, ViewDidLeave {
@Input() value?: string;
@Input() prop?: string;
form = new UntypedFormGroup({
select: new UntypedFormControl([])
});
valueFromParams: string;
onInit = 0;
willEnter = 0;
didEnter = 0;
@@ -25,8 +25,11 @@ export class ModalExampleComponent implements OnInit, ViewWillLeave, ViewDidEnte
constructor(
private modalCtrl: ModalController,
@Optional() public nav: IonNav
) {}
@Optional() public nav: IonNav,
navParams: NavParams
) {
this.valueFromParams = navParams.get('prop');
}
ngOnInit() {
NgZone.assertInAngularZone();

View File

@@ -1,5 +1,6 @@
import { Component, Input } from '@angular/core';
import { Component } from '@angular/core';
import { ModalExampleComponent } from '../modal-example/modal-example.component';
import { NavParams } from '@ionic/angular';
@Component({
selector: 'app-nav',
@@ -9,13 +10,11 @@ export class NavComponent {
rootPage = ModalExampleComponent;
rootParams: any;
@Input() value?: string;
@Input() prop?: string;
ngOnInit() {
constructor(
params: NavParams
) {
this.rootParams = {
value: this.value,
prop: this.prop
...params.data
};
}
}

View File

@@ -3,23 +3,7 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [8.2.0](https://github.com/ionic-team/ionic-framework/compare/v8.1.3...v8.2.0) (2024-05-22)
**Note:** Version bump only for package @ionic/docs
## [8.1.3](https://github.com/ionic-team/ionic-framework/compare/v8.1.2...v8.1.3) (2024-05-22)
**Note:** Version bump only for package @ionic/docs
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.1...v8.1.2) (2024-05-15)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.0...v8.1.2) (2024-05-15)
**Note:** Version bump only for package @ionic/docs

View File

@@ -1,12 +1,12 @@
{
"name": "@ionic/docs",
"version": "8.2.0",
"version": "8.1.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/docs",
"version": "8.2.0",
"version": "8.1.2",
"license": "MIT"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@ionic/docs",
"version": "8.2.0",
"version": "8.1.2",
"description": "Pre-packaged API documentation for the Ionic docs.",
"main": "core.json",
"types": "core.d.ts",

View File

@@ -3,23 +3,7 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [8.2.0](https://github.com/ionic-team/ionic-framework/compare/v8.1.3...v8.2.0) (2024-05-22)
**Note:** Version bump only for package @ionic/react-router
## [8.1.3](https://github.com/ionic-team/ionic-framework/compare/v8.1.2...v8.1.3) (2024-05-22)
**Note:** Version bump only for package @ionic/react-router
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.1...v8.1.2) (2024-05-15)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.0...v8.1.2) (2024-05-15)
**Note:** Version bump only for package @ionic/react-router

View File

@@ -1,15 +1,15 @@
{
"name": "@ionic/react-router",
"version": "8.2.0",
"version": "8.1.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/react-router",
"version": "8.2.0",
"version": "8.1.2",
"license": "MIT",
"dependencies": {
"@ionic/react": "^8.2.0",
"@ionic/react": "^8.1.2",
"tslib": "*"
},
"devDependencies": {
@@ -238,9 +238,9 @@
"dev": true
},
"node_modules/@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"dependencies": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",
@@ -414,11 +414,11 @@
}
},
"node_modules/@ionic/react": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/react/-/react-8.1.3.tgz",
"integrity": "sha512-LXRQMZ0XWdtBboVN5Hkuu0+wlN7BcUd1wz7yLZg/Avajh4XcIzxCK1cBv0TWHHKVFHErX8GOoGTImCjiSxn6gA==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/react/-/react-8.1.1.tgz",
"integrity": "sha512-l2h7WXAnZ2HrCzpdCQ35wvvL2buRXVXI5Gv/8KYdFCCEfao8WCssBhQt77mD8VTApVOiblVDtkGd1jtgQ1kR4Q==",
"dependencies": {
"@ionic/core": "8.1.3",
"@ionic/core": "8.1.1",
"ionicons": "^7.0.0",
"tslib": "*"
},
@@ -667,9 +667,9 @@
]
},
"node_modules/@stencil/core": {
"version": "4.18.2",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.18.2.tgz",
"integrity": "sha512-GLYbzv3Bq/oUbQk3CH09zkjISANccyE5/A1C7+1JZhdnWUx1MRuWQR9/2uzSPR7kF0sdppwzXvArl7VqYCxLOQ==",
"version": "4.18.0",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.18.0.tgz",
"integrity": "sha512-cN+nvjy0L8KyYq7N1bmswN/AcBustFlsAxfyPQ+fd3m98lPo53jNKIxKve1ZQ4ZmzSzYO7alDhZvjIesM0rl7w==",
"bin": {
"stencil": "bin/stencil"
},
@@ -4057,9 +4057,9 @@
"dev": true
},
"@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"requires": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",
@@ -4163,11 +4163,11 @@
"requires": {}
},
"@ionic/react": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/react/-/react-8.1.3.tgz",
"integrity": "sha512-LXRQMZ0XWdtBboVN5Hkuu0+wlN7BcUd1wz7yLZg/Avajh4XcIzxCK1cBv0TWHHKVFHErX8GOoGTImCjiSxn6gA==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/react/-/react-8.1.1.tgz",
"integrity": "sha512-l2h7WXAnZ2HrCzpdCQ35wvvL2buRXVXI5Gv/8KYdFCCEfao8WCssBhQt77mD8VTApVOiblVDtkGd1jtgQ1kR4Q==",
"requires": {
"@ionic/core": "8.1.3",
"@ionic/core": "8.1.1",
"ionicons": "^7.0.0",
"tslib": "*"
}
@@ -4304,9 +4304,9 @@
"optional": true
},
"@stencil/core": {
"version": "4.18.2",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.18.2.tgz",
"integrity": "sha512-GLYbzv3Bq/oUbQk3CH09zkjISANccyE5/A1C7+1JZhdnWUx1MRuWQR9/2uzSPR7kF0sdppwzXvArl7VqYCxLOQ=="
"version": "4.18.0",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.18.0.tgz",
"integrity": "sha512-cN+nvjy0L8KyYq7N1bmswN/AcBustFlsAxfyPQ+fd3m98lPo53jNKIxKve1ZQ4ZmzSzYO7alDhZvjIesM0rl7w=="
},
"@types/estree": {
"version": "1.0.4",

View File

@@ -1,6 +1,6 @@
{
"name": "@ionic/react-router",
"version": "8.2.0",
"version": "8.1.2",
"description": "React Router wrapper for @ionic/react",
"keywords": [
"ionic",
@@ -36,7 +36,7 @@
"dist/"
],
"dependencies": {
"@ionic/react": "^8.2.0",
"@ionic/react": "^8.1.2",
"tslib": "*"
},
"peerDependencies": {

View File

@@ -1,7 +1,7 @@
const port = 3000;
/*
This spec covers that routes can be added and navigated to at runtime.
Fixes bug reported in https://github.com/ionic-team/ionic-framework/issues/21329
Fixes bug reported in https://github.com/ionic-team/ionic/issues/21329
*/
describe('Dynamic Routes', () => {

View File

@@ -3,7 +3,7 @@ const port = 3000;
describe('Dynamic Tabs', () => {
/*
This spec tests being able to add a tab at runtime and to be able to go to it
Fixes bug https://github.com/ionic-team/ionic-framework/issues/21112
Fixes bug https://github.com/ionic-team/ionic/issues/21112
*/
it('/dynamic-tabs > Tab 1 should be visible', () => {

View File

@@ -3,7 +3,7 @@ const port = 3000;
describe('Multiple Tabs', () => {
/*
This spec tests that switching between tabs via a menu works
Fixes bug https://github.com/ionic-team/ionic-framework/issues/21336
Fixes bug https://github.com/ionic-team/ionic/issues/21336
*/
it('/multiple-tabs > PageA should be visible', () => {

View File

@@ -6,7 +6,7 @@ describe('Nested Outlets', () => {
and to be able to transition to/from one nested outlet.
Utilizes `ionPage` prop on `IonRouterOutlet` to make the router outlet
a target of the transition.
Fixes bug https://github.com/ionic-team/ionic-framework/issues/20597
Fixes bug https://github.com/ionic-team/ionic/issues/20597
*/
it('/nested-outlet > First Page should be visible', () => {
@@ -59,7 +59,7 @@ describe('Nested Outlets 2', () => {
outlet is transition from and to itself, therefore it can't animate.
I think the same issue exists when going from a item page back to the list page.
This should be fixable through configuring a less complicated route structure in the app.
Fixes bug https://github.com/ionic-team/ionic-framework/issues/20219
Fixes bug https://github.com/ionic-team/ionic/issues/20219
*/
it('/nested-outlet2 > First Page should be visible', () => {

View File

@@ -228,7 +228,7 @@ describe('Routing Tests', () => {
});
it('/ > Details 1 on settings > Back > Settings Tab, should be on setting home', () => {
// For bug https://github.com/ionic-team/ionic-framework/issues/21031
// For bug https://github.com/ionic-team/ionic/issues/21031
cy.visit(`http://localhost:${port}/routing/`);
cy.ionNav('ion-item', 'Details 1 on settings');
cy.ionPageVisible('settings-details-page-1');

View File

@@ -3,23 +3,7 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [8.2.0](https://github.com/ionic-team/ionic-framework/compare/v8.1.3...v8.2.0) (2024-05-22)
**Note:** Version bump only for package @ionic/react
## [8.1.3](https://github.com/ionic-team/ionic-framework/compare/v8.1.2...v8.1.3) (2024-05-22)
**Note:** Version bump only for package @ionic/react
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.1...v8.1.2) (2024-05-15)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.0...v8.1.2) (2024-05-15)
**Note:** Version bump only for package @ionic/react

View File

@@ -1,15 +1,15 @@
{
"name": "@ionic/react",
"version": "8.2.0",
"version": "8.1.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/react",
"version": "8.2.0",
"version": "8.1.2",
"license": "MIT",
"dependencies": {
"@ionic/core": "^8.2.0",
"@ionic/core": "^8.1.2",
"ionicons": "^7.0.0",
"tslib": "*"
},
@@ -798,9 +798,9 @@
"dev": true
},
"node_modules/@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"dependencies": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",
@@ -13035,9 +13035,9 @@
"dev": true
},
"@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"requires": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@ionic/react",
"version": "8.2.0",
"version": "8.1.2",
"description": "React specific wrapper for @ionic/core",
"keywords": [
"ionic",
@@ -39,7 +39,7 @@
"css/"
],
"dependencies": {
"@ionic/core": "^8.2.0",
"@ionic/core": "^8.1.2",
"ionicons": "^7.0.0",
"tslib": "*"
},

View File

@@ -3,23 +3,7 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [8.2.0](https://github.com/ionic-team/ionic-framework/compare/v8.1.3...v8.2.0) (2024-05-22)
**Note:** Version bump only for package @ionic/vue-router
## [8.1.3](https://github.com/ionic-team/ionic-framework/compare/v8.1.2...v8.1.3) (2024-05-22)
**Note:** Version bump only for package @ionic/vue-router
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.1...v8.1.2) (2024-05-15)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.0...v8.1.2) (2024-05-15)
**Note:** Version bump only for package @ionic/vue-router

View File

@@ -1,15 +1,15 @@
{
"name": "@ionic/vue-router",
"version": "8.2.0",
"version": "8.1.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/vue-router",
"version": "8.2.0",
"version": "8.1.2",
"license": "MIT",
"dependencies": {
"@ionic/vue": "^8.2.0"
"@ionic/vue": "^8.1.2"
},
"devDependencies": {
"@ionic/eslint-config": "^0.3.0",
@@ -661,9 +661,9 @@
"dev": true
},
"node_modules/@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"dependencies": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",
@@ -852,11 +852,11 @@
}
},
"node_modules/@ionic/vue": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-8.1.3.tgz",
"integrity": "sha512-4Ed9tTybdBjlFZDoCb2Bbu4Lt+5VHrlqLKePrbiggKEysPHkOb4fXM7kAGLrHjptB3mcMtz47wG3fK77fDQLxg==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-8.1.1.tgz",
"integrity": "sha512-Bs4xcgJjJvAqzKfpEe9rYmLAWJrSWoDC+4JsJrIHMwuwjd02sX9JMuEKKZ/F5WM/WC9gcXYHRFvaav234oXVHA==",
"dependencies": {
"@ionic/core": "8.1.3",
"@ionic/core": "8.1.1",
"ionicons": "^7.0.0"
}
},
@@ -1508,9 +1508,9 @@
}
},
"node_modules/@stencil/core": {
"version": "4.18.2",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.18.2.tgz",
"integrity": "sha512-GLYbzv3Bq/oUbQk3CH09zkjISANccyE5/A1C7+1JZhdnWUx1MRuWQR9/2uzSPR7kF0sdppwzXvArl7VqYCxLOQ==",
"version": "4.18.0",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.18.0.tgz",
"integrity": "sha512-cN+nvjy0L8KyYq7N1bmswN/AcBustFlsAxfyPQ+fd3m98lPo53jNKIxKve1ZQ4ZmzSzYO7alDhZvjIesM0rl7w==",
"bin": {
"stencil": "bin/stencil"
},
@@ -7878,9 +7878,9 @@
"dev": true
},
"@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"requires": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",
@@ -7993,11 +7993,11 @@
"requires": {}
},
"@ionic/vue": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-8.1.3.tgz",
"integrity": "sha512-4Ed9tTybdBjlFZDoCb2Bbu4Lt+5VHrlqLKePrbiggKEysPHkOb4fXM7kAGLrHjptB3mcMtz47wG3fK77fDQLxg==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-8.1.1.tgz",
"integrity": "sha512-Bs4xcgJjJvAqzKfpEe9rYmLAWJrSWoDC+4JsJrIHMwuwjd02sX9JMuEKKZ/F5WM/WC9gcXYHRFvaav234oXVHA==",
"requires": {
"@ionic/core": "8.1.3",
"@ionic/core": "8.1.1",
"ionicons": "^7.0.0"
}
},
@@ -8461,9 +8461,9 @@
}
},
"@stencil/core": {
"version": "4.18.2",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.18.2.tgz",
"integrity": "sha512-GLYbzv3Bq/oUbQk3CH09zkjISANccyE5/A1C7+1JZhdnWUx1MRuWQR9/2uzSPR7kF0sdppwzXvArl7VqYCxLOQ=="
"version": "4.18.0",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.18.0.tgz",
"integrity": "sha512-cN+nvjy0L8KyYq7N1bmswN/AcBustFlsAxfyPQ+fd3m98lPo53jNKIxKve1ZQ4ZmzSzYO7alDhZvjIesM0rl7w=="
},
"@tootallnate/once": {
"version": "2.0.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@ionic/vue-router",
"version": "8.2.0",
"version": "8.1.2",
"description": "Vue Router integration for @ionic/vue",
"scripts": {
"test.spec": "jest",
@@ -40,11 +40,11 @@
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/ionic-team/ionic-framework/issues"
"url": "https://github.com/ionic-team/ionic/issues"
},
"homepage": "https://github.com/ionic-team/ionic-framework#readme",
"homepage": "https://github.com/ionic-team/ionic#readme",
"dependencies": {
"@ionic/vue": "^8.2.0"
"@ionic/vue": "^8.1.2"
},
"devDependencies": {
"@ionic/eslint-config": "^0.3.0",

View File

@@ -3,23 +3,7 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [8.2.0](https://github.com/ionic-team/ionic-framework/compare/v8.1.3...v8.2.0) (2024-05-22)
**Note:** Version bump only for package @ionic/vue
## [8.1.3](https://github.com/ionic-team/ionic-framework/compare/v8.1.2...v8.1.3) (2024-05-22)
**Note:** Version bump only for package @ionic/vue
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.1...v8.1.2) (2024-05-15)
## [8.1.2](https://github.com/ionic-team/ionic-framework/compare/v8.1.0...v8.1.2) (2024-05-15)
**Note:** Version bump only for package @ionic/vue

View File

@@ -1,15 +1,15 @@
{
"name": "@ionic/vue",
"version": "8.2.0",
"version": "8.1.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/vue",
"version": "8.2.0",
"version": "8.1.2",
"license": "MIT",
"dependencies": {
"@ionic/core": "^8.2.0",
"@ionic/core": "^8.1.2",
"ionicons": "^7.0.0"
},
"devDependencies": {
@@ -208,9 +208,9 @@
"dev": true
},
"node_modules/@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"dependencies": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",
@@ -3959,9 +3959,9 @@
"dev": true
},
"@ionic/core": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.3.tgz",
"integrity": "sha512-X+Wa9QhmLh3RqAoRLug9f1MPfrUZfvnx/xxyTrsNKjmDN/mckcxwsiewoXIXAHkqDLITCmQElhCck6X1ArjTzQ==",
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-8.1.1.tgz",
"integrity": "sha512-ooB8gZtBuLeoHlE1wUvrXI0nyt26f46rPuyNh2Q062QniR4Ur5kqBXqWjUtdVUZqZvaElCbZJk3up+MQavoIMA==",
"requires": {
"@stencil/core": "^4.17.2",
"ionicons": "^7.2.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@ionic/vue",
"version": "8.2.0",
"version": "8.1.2",
"description": "Vue specific wrapper for @ionic/core",
"scripts": {
"eslint": "eslint src",
@@ -45,9 +45,9 @@
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/ionic-team/ionic-framework/issues"
"url": "https://github.com/ionic-team/ionic/issues"
},
"homepage": "https://github.com/ionic-team/ionic-framework#readme",
"homepage": "https://github.com/ionic-team/ionic#readme",
"devDependencies": {
"@babel/types": "^7.18.4",
"@ionic/eslint-config": "^0.3.0",
@@ -66,7 +66,7 @@
"vue-router": "^4.0.16"
},
"dependencies": {
"@ionic/core": "^8.2.0",
"@ionic/core": "^8.1.2",
"ionicons": "^7.0.0"
},
"vetur": {