-
Notifications
You must be signed in to change notification settings - Fork 36
build(frontend): Bump gix-components to next #8780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(frontend): Bump gix-components to next #8780
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the gix-components library to use the next version that includes the migration of the Modal component to Svelte 5, adapting all Modal usages throughout the codebase to use the new API.
- Updates
gix-componentsto^8.0.0-next-2025-09-10in package.json - Migrates Modal component usage from Svelte 4 event handlers to Svelte 5 props
- Converts slot-based title patterns to Svelte 5 snippet syntax
Reviewed Changes
Copilot reviewed 20 out of 21 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updates gix-components version to next pre-release |
| Multiple Modal components | Converts on:nnsClose to onClose prop and slot="title" to {#snippet title()} |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Motivation
With PR dfinity/gix-components#708,
gix-componentshas migratedModalto Svelte 5. Since it is quite a breaking change and that component is used throughout the code, we adapt it here in a separate PR using the@nextversion.