Skip to content
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

feat: Add onChange + various feature parity additions/fixes #886

Merged
merged 111 commits into from
Sep 6, 2024

Conversation

markflorkowski
Copy link
Collaborator

@markflorkowski markflorkowski commented Jul 12, 2024

  • Unifies the API between components
  • Marks onDrop as deprecated.

Additional changes:

  • Fixes disabled styling (Discord)
  • Adds/fixes paste functionality on all current FE packages
  • Adds/fixes upload abort functionality on all current packages
  • Tested functionality is equivalent across all current FE packages

image

Copy link

changeset-bot bot commented Jul 12, 2024

🦋 Changeset detected

Latest commit: cf6337f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@uploadthing/react Minor
@uploadthing/solid Minor
@uploadthing/svelte Minor
@uploadthing/vue Minor
@uploadthing/expo Patch
@uploadthing/nuxt Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jul 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-uploadthing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2024 10:52pm

Copy link
Contributor

github-actions bot commented Jul 12, 2024

📦 Bundle size comparison

Bundle Size (gzip) Visualization
Main 39.85KB See Treemap 📊
PR (25f1a30) 39.85KB See Treemap 📊
Diff No change

Copy link

pkg-pr-new bot commented Jul 12, 2024

Open in Stackblitz

More templates

@uploadthing/dropzone

pnpm add https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/dropzone@886

@uploadthing/nuxt

pnpm add https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/nuxt@886

@uploadthing/react

pnpm add https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/react@886

@uploadthing/solid

pnpm add https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/solid@886

@uploadthing/svelte

pnpm add https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/svelte@886

uploadthing

pnpm add https://pkg.pr.new/pingdotgg/uploadthing@886

@uploadthing/vue

pnpm add https://pkg.pr.new/pingdotgg/uploadthing/@uploadthing/vue@886

commit: cf6337f

@markflorkowski markflorkowski changed the title feat: Add onSelect to <UploadButton/> feat: Add onChange to <UploadButton/> and <UploadDropzone/> Jul 13, 2024
Copy link
Contributor

github-actions bot commented Aug 6, 2024

A new canary is available for testing. You can install this latest build in your project with:

pnpm add @uploadthing/[email protected]
pnpm add @uploadthing/[email protected]
pnpm add @uploadthing/[email protected]
pnpm add @uploadthing/[email protected]
pnpm add @uploadthing/[email protected]
pnpm add @uploadthing/[email protected]
pnpm add @uploadthing/[email protected]
pnpm add @uploadthing/[email protected]
pnpm add [email protected]
pnpm add @uploadthing/[email protected]

@github-actions github-actions bot removed the release canary Trigger a canary release to npm label Aug 6, 2024
@markflorkowski markflorkowski changed the title feat: Add onChange to <UploadButton/> and <UploadDropzone/> feat: Add onChange + various feature parity additions/fixes Aug 26, 2024
Copy link
Collaborator

@juliusmarminge juliusmarminge Sep 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reminder for myself: copy these changes to new docs

packages/dropzone/src/svelte.ts Outdated Show resolved Hide resolved
packages/dropzone/src/svelte.ts Outdated Show resolved Hide resolved
packages/dropzone/src/svelte.ts Outdated Show resolved Hide resolved
packages/dropzone/src/svelte.ts Outdated Show resolved Hide resolved
packages/dropzone/src/svelte.ts Outdated Show resolved Hide resolved
packages/react/src/components/button.tsx Outdated Show resolved Hide resolved
packages/react/src/components/button.tsx Outdated Show resolved Hide resolved
Copy link
Member

@t3dotgg t3dotgg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, ty for the lift here

@markflorkowski markflorkowski merged commit 079b434 into main Sep 6, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants