diff --git a/.changeset/eager-rivers-rescue.md b/.changeset/eager-rivers-rescue.md new file mode 100644 index 000000000000..2af4cd533a49 --- /dev/null +++ b/.changeset/eager-rivers-rescue.md @@ -0,0 +1,6 @@ +--- +"@gradio/upload": patch +"gradio": patch +--- + +feat:Upload tweak diff --git a/.github/actions/install-frontend-deps/action.yml b/.github/actions/install-frontend-deps/action.yml index 4a591530bc7d..ae9bc76535db 100644 --- a/.github/actions/install-frontend-deps/action.yml +++ b/.github/actions/install-frontend-deps/action.yml @@ -28,7 +28,7 @@ runs: if: steps.frontend-cache.outputs.cache-hit != 'true' || inputs.always-install-pnpm == 'true' uses: pnpm/action-setup@v2 with: - version: 8.9 + version: 8.15 - uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index cd8a273fb583..69c49a432e18 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -89,7 +89,7 @@ jobs: if: steps.frontend-cache.outputs.cache-hit != 'true' uses: pnpm/action-setup@v2 with: - version: 8 + version: 8.15 - uses: actions/setup-node@v4 if: steps.frontend-cache.outputs.cache-hit != 'true' with: @@ -185,7 +185,7 @@ jobs: if: steps.frontend-cache.outputs.cache-hit != 'true' uses: pnpm/action-setup@v2 with: - version: 8 + version: 8.15 - uses: actions/setup-node@v4 if: steps.frontend-cache.outputs.cache-hit != 'true' with: diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index ee853e1d6777..766572f58aef 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -25,7 +25,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2 with: - version: 8 + version: 8.15 - uses: actions/setup-node@v4 with: node-version: 18 diff --git a/js/upload/src/UploadProgress.svelte b/js/upload/src/UploadProgress.svelte index 703730f680b6..0328435f04b5 100644 --- a/js/upload/src/UploadProgress.svelte +++ b/js/upload/src/UploadProgress.svelte @@ -111,6 +111,7 @@ align-items: center; justify-content: center; min-height: var(--size-40); + width: var(--size-full); } .wrap::after { diff --git a/package.json b/package.json index c02def5a0aed..54cca6d85fef 100644 --- a/package.json +++ b/package.json @@ -105,5 +105,9 @@ "react-dom": "^18.2.0", "storybook": "^7.5.1", "wikidata-lang": "^4.1.2" + }, + "engines": { + "node": ">=18.0.0", + "pnpm": "~8.15.0" } }