mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
chore(deps): update dependency @stencil/core to v4.36.1 (#30524)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@stencil/core](https://stenciljs.com/) ([source](https://redirect.github.com/stenciljs/core)) | [`4.33.1` -> `4.36.0`](https://renovatebot.com/diffs/npm/@stencil%2fcore/4.33.1/4.36.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>stenciljs/core (@​stencil/core)</summary> ### [`v4.36.0`](https://redirect.github.com/stenciljs/core/blob/HEAD/CHANGELOG.md#-4360-2025-07-15) [Compare Source](https://redirect.github.com/stenciljs/core/compare/v4.36.0...58bc2b5403312dd227b0c5d6f1de167559f2b015) ##### Bug Fixes * contructable stylesheets with older immutable spec (chrome <99) ([#6332](https://github.com/stenciljs/core/issues/6332)) ([2f363dd](2f363dd130
)), closes [#6326](https://github.com/stenciljs/core/issues/6326) * **runtime:** check shadow root nodes before appending them ([#6342](https://github.com/stenciljs/core/issues/6342)) ([c63f25d](c63f25d0b4
)) * **runtime:** do not remove first comment - can break frameworks ([#6343](https://github.com/stenciljs/core/issues/6343)) ([188e7db](188e7dbfd7
)) * **runtime:** double check hostRef value ([#6341](https://github.com/stenciljs/core/issues/6341)) ([051522f](051522f598
)) * **runtime:** fix blur handling of non-scoped elements ([#6314](https://github.com/stenciljs/core/issues/6314)) ([bfbd683](bfbd683efd
)) * **runtime:** fix prettier ([d84f9e7](d84f9e7e5f
)) * **ssr:** `scoped: true` components forwarded slots ([#6340](https://github.com/stenciljs/core/issues/6340)) ([fd4b892](fd4b892a73
)), closes [#6337](https://github.com/stenciljs/core/issues/6337), closes [#6339](https://github.com/stenciljs/core/issues/6339) ##### Features * **moc-doc:** serialize `delegatesFocus` shadow DOM property ([#6333](https://github.com/stenciljs/core/issues/6333)) ([56fe6e3](56fe6e35a3
)), closes [#6265](https://github.com/stenciljs/core/issues/6265) * **runtime:** skip initial task queue to improve first time rendering ([#6331](https://github.com/stenciljs/core/issues/6331)) ([6106c70](6106c70aa3
)), closes [#6317](https://github.com/stenciljs/core/issues/6317) ### [`v4.35.3`](https://redirect.github.com/stenciljs/core/blob/HEAD/CHANGELOG.md#-4353-2025-07-02) [Compare Source](https://redirect.github.com/stenciljs/core/compare/v4.35.2...58bc2b5403312dd227b0c5d6f1de167559f2b015) ##### Bug Fixes - **declarations:** add ToggleEvent type ([ac92210](ac9221076c
)) ### [`v4.35.2`](https://redirect.github.com/stenciljs/core/blob/HEAD/CHANGELOG.md#-4352-2025-07-02) [Compare Source](https://redirect.github.com/stenciljs/core/compare/v4.35.1...v4.35.2) ##### Bug Fixes - **ci:** hardening security of GH actions ([#​6305](https://redirect.github.com/stenciljs/core/issues/6305)) ([3f80413](3f80413171
)) - **compiler:** fix attachInternals should be usable without formAssoc… ([#​6286](https://redirect.github.com/stenciljs/core/issues/6286)) ([7132259](7132259c40
)), closes [#​6285](https://redirect.github.com/stenciljs/core/issues/6285) - **declarations:** update toggle event handler types ([#​6323](https://redirect.github.com/stenciljs/core/issues/6323)) ([5925974](5925974d85
)), closes [#​6322](https://redirect.github.com/stenciljs/core/issues/6322) - **mock-doc:** prevent infinite recursion in blur event handlers ([#​6310](https://redirect.github.com/stenciljs/core/issues/6310)) ([092cacd](092cacda99
)), closes [#​6307](https://redirect.github.com/stenciljs/core/issues/6307) - **security:** update email for outreach ([9da2c90](9da2c907af
)) - **ssr:** fixes for `scoped: true` components during SSR ([#​6311](https://redirect.github.com/stenciljs/core/issues/6311)) ([b07dda6](b07dda6c94
)), closes [#​6313](https://redirect.github.com/stenciljs/core/issues/6313) - **ssr:** slow property hydration, incorrect rendering ([#​6325](https://redirect.github.com/stenciljs/core/issues/6325)) ([f018c73](f018c7349c
)), closes [#​6324](https://redirect.github.com/stenciljs/core/issues/6324) - **utils:** single global stylesheet instance for performance ([#​6320](https://redirect.github.com/stenciljs/core/issues/6320)) ([fe5d130](fe5d130127
)) - **testing:** support browser executable path detection via environm… ([#​6308](https://redirect.github.com/stenciljs/core/issues/6308)) ([b7e2b50](b7e2b50120
)), closes [#​6213](https://redirect.github.com/stenciljs/core/issues/6213) ### [`v4.35.1`](https://redirect.github.com/stenciljs/core/blob/HEAD/CHANGELOG.md#-4351-2025-06-17) [Compare Source](https://redirect.github.com/stenciljs/core/compare/v4.35.0...v4.35.1) ##### Bug Fixes - **mock-doc:** ensure event bubbling follows shadow DOM boundaries ([#​6301](https://redirect.github.com/stenciljs/core/issues/6301)) ([1304ffc](1304ffcbfe
)), closes [#​5676](https://redirect.github.com/stenciljs/core/issues/5676) - **ssr:** expand `::part` css selectors for ssr `scoped` components ([#​6298](https://redirect.github.com/stenciljs/core/issues/6298)) ([da24af6](da24af6f5c
)), closes [#​6297](https://redirect.github.com/stenciljs/core/issues/6297) - **ssr:** named slot dom order with `serializeShadowRoot: 'scoped'` components ([#​6300](https://redirect.github.com/stenciljs/core/issues/6300)) ([96c0f13](96c0f13b06
)), closes [#​6299](https://redirect.github.com/stenciljs/core/issues/6299) ### [`v4.35.0`](https://redirect.github.com/stenciljs/core/blob/HEAD/CHANGELOG.md#-4350-2025-06-13) [Compare Source](https://redirect.github.com/stenciljs/core/compare/v4.34.0...v4.35.0) ##### Bug Fixes - **ssr:** retain slotted node order in serializeShadowRoot: `scoped` ([#​6294](https://redirect.github.com/stenciljs/core/issues/6294)) ([c1e032d](c1e032d562
)), closes [#​6293](https://redirect.github.com/stenciljs/core/issues/6293) ##### Features - **global-styles:** add new `addGlobalStyleToComponents` extras config option to "opt-out" of new globalStyle behaviour ([#​6292](https://redirect.github.com/stenciljs/core/issues/6292)) ([cd9778a](cd9778a2ac
)) ### [`v4.34.0`](https://redirect.github.com/stenciljs/core/blob/HEAD/CHANGELOG.md#-4340-2025-06-11) [Compare Source](https://redirect.github.com/stenciljs/core/compare/v4.33.1...v4.34.0) ##### Bug Fixes - **compiler:** Prevent `extTransformsPlugin` from outputting collection dependency css ([#​3306](https://redirect.github.com/stenciljs/core/issues/3306)) ([28e2a06](28e2a062f6
)), closes [#​3305](https://redirect.github.com/stenciljs/core/issues/3305) - **declarations:** update PluginTransformResults after Rollup update ([#​6232](https://redirect.github.com/stenciljs/core/issues/6232)) ([6ff8075](6ff8075a85
)), closes [#​6231](https://redirect.github.com/stenciljs/core/issues/6231) - **mock-doc:** move slot event listener support from runtime to MockDoc ([#​6287](https://redirect.github.com/stenciljs/core/issues/6287)) ([f2dd25d](f2dd25d7e0
)) - resolve TypeScript interface conflicts between component methods and HTMLElement ([#​6282](https://redirect.github.com/stenciljs/core/issues/6282)) ([614d305](614d305b1d
)), closes [#​4467](https://redirect.github.com/stenciljs/core/issues/4467) - **runtime:** add addEventListener support for slot elements in scope components ([#​6281](https://redirect.github.com/stenciljs/core/issues/6281)) ([32f66bd](32f66bd1cf
)), closes [#​6269](https://redirect.github.com/stenciljs/core/issues/6269) - **runtime:** correct boolean attribute handling for form-associated components ([#​6280](https://redirect.github.com/stenciljs/core/issues/6280)) ([7fe6372](7fe6372c2a
)), closes [#​5461](https://redirect.github.com/stenciljs/core/issues/5461) - **ssr:** mixed ssr methods styles ([#​6289](https://redirect.github.com/stenciljs/core/issues/6289)) ([e253ceb](e253cebf54
)), closes [#​6288](https://redirect.github.com/stenciljs/core/issues/6288) - update `CHANGELOG.md` location ([#​6283](https://redirect.github.com/stenciljs/core/issues/6283)) ([36fca61](36fca61886
)) ##### Features - **compiler:** improve file watching architecture and add external d… ([#​6279](https://redirect.github.com/stenciljs/core/issues/6279)) ([0844538](0844538a04
)), closes [#​3151](https://redirect.github.com/stenciljs/core/issues/3151) #### 🥃 [4.33.1](https://redirect.github.com/stenciljs/core/compare/v4.33.0...v4.33.1) (2025-06-03) ##### Bug Fixes - **runtime:** conditionally apply global styles using `supportsConstructableStylesheets` flag ([f4f815f](f4f815f462
)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekday before 11am" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/ionic-team/ionic-framework). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDEuMTcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian Bromann <git@bromann.dev> Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
This commit is contained in:
14
core/package-lock.json
generated
14
core/package-lock.json
generated
@ -9,7 +9,7 @@
|
||||
"version": "8.6.5",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@stencil/core": "4.33.1",
|
||||
"@stencil/core": "4.36.1",
|
||||
"ionicons": "^7.2.2",
|
||||
"tslib": "^2.1.0"
|
||||
},
|
||||
@ -1914,9 +1914,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@stencil/core": {
|
||||
"version": "4.33.1",
|
||||
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.33.1.tgz",
|
||||
"integrity": "sha512-12k9xhAJBkpg598it+NRmaYIdEe6TSnsL/v6/KRXDcUyTK11VYwZQej2eHnMWtqot+znJ+GNTqb5YbiXi+5Low==",
|
||||
"version": "4.36.1",
|
||||
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.36.1.tgz",
|
||||
"integrity": "sha512-LRZN1c4X+9/7kR+zG74SrcZ6XxKlilDTkDXajw3ioeDdVlJEvW5wU8Wn3BcAAnk7fjrgLZVN7ickgeuG7u0AKg==",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"stencil": "bin/stencil"
|
||||
@ -11983,9 +11983,9 @@
|
||||
"requires": {}
|
||||
},
|
||||
"@stencil/core": {
|
||||
"version": "4.33.1",
|
||||
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.33.1.tgz",
|
||||
"integrity": "sha512-12k9xhAJBkpg598it+NRmaYIdEe6TSnsL/v6/KRXDcUyTK11VYwZQej2eHnMWtqot+znJ+GNTqb5YbiXi+5Low==",
|
||||
"version": "4.36.1",
|
||||
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.36.1.tgz",
|
||||
"integrity": "sha512-LRZN1c4X+9/7kR+zG74SrcZ6XxKlilDTkDXajw3ioeDdVlJEvW5wU8Wn3BcAAnk7fjrgLZVN7ickgeuG7u0AKg==",
|
||||
"requires": {
|
||||
"@rollup/rollup-darwin-arm64": "4.34.9",
|
||||
"@rollup/rollup-darwin-x64": "4.34.9",
|
||||
|
@ -31,7 +31,7 @@
|
||||
"loader/"
|
||||
],
|
||||
"dependencies": {
|
||||
"@stencil/core": "4.33.1",
|
||||
"@stencil/core": "4.36.1",
|
||||
"ionicons": "^7.2.2",
|
||||
"tslib": "^2.1.0"
|
||||
},
|
||||
|
@ -2,7 +2,7 @@
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Infinite Scroll - Basic</title>
|
||||
<title>Infinite Scroll - Top</title>
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||
@ -18,7 +18,7 @@
|
||||
<ion-app>
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>Infinite Scroll - Basic</ion-title>
|
||||
<ion-title>Infinite Scroll - Top</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
@ -28,9 +28,9 @@
|
||||
</ion-infinite-scroll-content>
|
||||
</ion-infinite-scroll>
|
||||
|
||||
<button onclick="toggleInfiniteScroll()" class="expand">Toggle InfiniteScroll</button>
|
||||
<div id="list"></div>
|
||||
|
||||
<ion-list id="list"></ion-list>
|
||||
<button onclick="toggleInfiniteScroll()" class="expand">Toggle InfiniteScroll</button>
|
||||
</ion-content>
|
||||
</ion-app>
|
||||
|
||||
@ -46,17 +46,26 @@
|
||||
console.log('Loading data...');
|
||||
await wait(500);
|
||||
infiniteScroll.complete();
|
||||
appendItems();
|
||||
appendItems(true);
|
||||
// Custom event consumed in the e2e tests
|
||||
window.dispatchEvent(new CustomEvent('ionInfiniteComplete'));
|
||||
|
||||
console.log('Done');
|
||||
});
|
||||
|
||||
function appendItems() {
|
||||
function appendItems(newItems = false) {
|
||||
const randomColor =
|
||||
'#' +
|
||||
Math.floor(Math.random() * 16777215)
|
||||
.toString(16)
|
||||
.padStart(6, '0');
|
||||
|
||||
for (var i = 0; i < 30; i++) {
|
||||
const el = document.createElement('ion-item');
|
||||
el.textContent = `${1 + i}`;
|
||||
el.textContent = `Item ${1 + i}`;
|
||||
if (newItems) {
|
||||
el.style.borderLeft = `4px solid ${randomColor}`;
|
||||
}
|
||||
list.prepend(el);
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,13 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
|
||||
const heading = page.locator('ion-menu h1');
|
||||
await expect(heading).toHaveText('Open Menu');
|
||||
|
||||
const results = await new AxeBuilder({ page }).analyze();
|
||||
/**
|
||||
* Disable the 'scrollable-region-focusable' rule because this test
|
||||
* is missing the required `ion-app` wrapper component. The `ion-app`
|
||||
* wrapper provides the necessary focus management that allows the
|
||||
* menu content to be focusable.
|
||||
*/
|
||||
const results = await new AxeBuilder({ page }).disableRules('scrollable-region-focusable').analyze();
|
||||
expect(results.violations).toEqual([]);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user