uppy/examples
Merlijn Vos da754b7fa4
@uppy/svelte: fix props reactivity (#5991)
The fix in #5872 was not enough

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Fix props reactivity in Svelte components by updating plugin options
reactively and add example + tests validating Dashboard/StatusBar prop
changes.
> 
> - **Svelte components (@uppy/svelte)**:
> - **Reactivity fix**: In `components/Dashboard.svelte`,
`DashboardModal.svelte`, and `StatusBar.svelte`, switch reactive updates
from `uppy.setOptions(...)` to `plugin?.setOptions(...)` to ensure
`props` changes are applied.
> - **Examples/Tests**:
> - Add `examples/sveltekit/src/components/test/props-reactivity.svelte`
demonstrating toggling `props` for `Dashboard` and `StatusBar`.
> - Extend `examples/sveltekit/test/index.test.ts` with tests verifying
Dashboard `ariaDisabled` toggles and StatusBar `hideUploadButton`
reactivity.
> - **Changeset**:
>   - Patch release for `"@uppy/svelte"` noting props reactivity fix.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
5a9c4ef00f. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2025-10-01 16:16:47 +02:00
..
angular @uppy/examples: Add new examples (#5942) 2025-09-10 21:46:19 +05:30
aws-companion build(deps-dev): bump vite from 7.0.6 to 7.0.7 (#5962) 2025-09-10 15:30:59 +02:00
aws-nodejs Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
aws-php Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
cdn Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
companion fix broken companion example (#5909) 2025-08-18 13:20:59 +02:00
companion-custom-provider build(deps-dev): bump vite from 7.0.6 to 7.0.7 (#5962) 2025-09-10 15:30:59 +02:00
companion-digitalocean-spaces build(deps-dev): bump vite from 7.0.6 to 7.0.7 (#5962) 2025-09-10 15:30:59 +02:00
nextjs @uppy/examples: Add new examples (#5942) 2025-09-10 21:46:19 +05:30
react add typescript as a dev dep in stackblitz env (#5976) 2025-09-17 14:37:34 +05:30
reactrouter build(deps-dev): bump vite from 6.3.5 to 6.3.6 (#5972) 2025-09-22 14:46:30 +02:00
sveltekit @uppy/svelte: fix props reactivity (#5991) 2025-10-01 16:16:47 +02:00
transloadit build(deps-dev): bump vite from 7.0.6 to 7.0.7 (#5962) 2025-09-10 15:30:59 +02:00
vue add typescript as a dev dep in stackblitz env (#5976) 2025-09-17 14:37:34 +05:30
xhr-bundle build(deps-dev): bump vite from 7.0.6 to 7.0.7 (#5962) 2025-09-10 15:30:59 +02:00
xhr-node build(deps-dev): bump vite from 7.0.6 to 7.0.7 (#5962) 2025-09-10 15:30:59 +02:00
xhr-php build(deps-dev): bump vite from 7.0.6 to 7.0.7 (#5962) 2025-09-10 15:30:59 +02:00
xhr-python build(deps-dev): bump vite from 7.0.6 to 7.0.7 (#5962) 2025-09-10 15:30:59 +02:00