What's Changed
Features
- modal: add
formIdprop to enable native form submission by @metonym (2a5c274, #2383), closes #310 - portal: add
Portalcomponent by @metonym (4982e26, #2388), closes #2280
Bug Fixes
- number-input: only show invalid state when
invalidandinvalidTextare set by @metonym (e06340c, #2384), closes #1180 - tabs: avoid infinite update loop in Svelte 5 by @metonym (65316af, #2394), closes #2366
New Portal component
Portal component outside of the direct parent to avoid parent overflow constraints and z-index issues. See Documentation.
<script>
import { Portal } from "carbon-components-svelte";
</script>
<div>
<div>This is rendered inside the div</div>
<Portal>This is rendered outside of the div</Portal>
</div>Full Changelog: v0.94.0...v0.95.0