Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
This PR introduces Svelte support to Amplify UI, adding a new
@aws-amplify/ui-svelte
package with a complete implementation of the Authenticator component.Key additions:
@xstate/svelte
to leverage existing state machinesNote: Due to local environment build complexities, some npm scripts (
build
,test
,lint
) are temporarily mocked to allow PR review. These will be restored and properly executed in the CI environment after merge.Issue #, if available
Related to discussions about framework expansion. Will create formal issue if requested.
Description of how you validated changes
Component Implementation
Testing
Manual Testing
packages/svelte/standalone-demo.html
)packages/svelte/test-app/
)examples/svelte/
)CI/CD Integration
.github/workflows/reusable-unit.yml
to include Svelte.github/workflows/reusable-e2e.yml
to include SvelteChecklist
yarn test
passes and tests are updated/added (Tests written but temporarily mocked due to build environment - will be enabled in CI).changeset/svelte-authenticator.md
)By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.