Skip to content

chore(deps): bump @stencil/core to 4.43.5#31181

Open
gnbm wants to merge 1 commit into
mainfrom
FW-7298
Open

chore(deps): bump @stencil/core to 4.43.5#31181
gnbm wants to merge 1 commit into
mainfrom
FW-7298

Conversation

@gnbm
Copy link
Copy Markdown
Contributor

@gnbm gnbm commented May 29, 2026

Issue number: resolves stenciljs/core#6727

What is the current behavior?

When a component property's default value is set to a JavaScript variable (e.g. QUERY['lg'] on ion-split-pane's when prop), Stencil emits the raw variable expression into the generated documentation files (api.txt, components.d.ts, and dist/docs.json). This causes the component API docs to display QUERY['lg'] instead of the resolved value '(min-width: 992px)'.

What is the new behavior?

Stencil 4.43.5 (via stenciljs/core#6728) resolves variable references at doc-generation time. After bumping and rebuilding:

  • core/api.txtion-split-pane's when default is now '(min-width: 992px)'
  • core/src/components.d.ts@default JSDoc tag reflects the resolved value
  • dist/docs.json (published as @ionic/docs) — will also carry the resolved value once released, enabling ionic-docs to remove the hardcoded fallbacks for the gallery component

Does this introduce a breaking change?

  • Yes
  • No

Other information

Upgrades @stencil/core from 4.43.0 to 4.43.5. This release includes a fix
for property default values that reference variables — Stencil now resolves
the variable at doc-generation time instead of emitting the raw variable name.

The split-pane `when` prop default is now correctly emitted as
`'(min-width: 992px)'` instead of `QUERY['lg']` in api.txt and components.d.ts.

Fixes stenciljs/core#6727
@gnbm gnbm requested a review from a team as a code owner May 29, 2026 22:28
@gnbm gnbm requested a review from ShaneK May 29, 2026 22:28
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview, Comment May 29, 2026 10:33pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: generatedproperty documentation does not resolve variables set as the default value

1 participant