@jskit-ai/uploads-image-web 0.2.42 → 0.2.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- A managed image's default delete uses `appFetch` from `@jskit-ai/http-runtime` (a new peer dependency), so inside an app it sends the app's token.
|
|
5
6
|
- `createImageUploadRuntime` takes the phone's sources inside an app: `nativeSources` lists them and `pickFrom(source)` adds the chosen files to the same Uppy, so the field's checks, editor and upload are unchanged; `nativeSource` defaults to the page's.
|
|
6
7
|
- The image dialog (Uppy's dashboard and image editor) takes the app's Material 3 roles and typeface, in light and dark: its panel is `surface-container-high` with 28dp corners and no outline, text `on-surface`, "browse files" a `primary` link underlined only under the pointer, filled buttons primary and full-shape, all in the theme's `--v-font-body`, instead of Uppy's light grey panel, blue underlined link and system font in both schemes. `@jskit-ai/uploads-image-web/client/styles` loads it after Uppy's stylesheets.
|
|
7
8
|
- The image dialog is modal over the whole app: its `scrim` covers the top app bar, navigation and Vuetify's own overlays (Uppy's z-index 1001 sat under the app bar), and its close button sits inside the dialog in a 56dp header row, an `on-surface-variant` 48dp icon button, instead of above the container (hidden under the app bar at 390 and 768) or beside it (at 1280). At compact width (below 600dp) it is a full-screen dialog with the close button at the leading edge; at medium width it keeps 24dp from every edge. Its hint text is `on-surface-variant` (Uppy's #757575 on its grey panel was 4.2:1).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/uploads-image-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.43",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jskit test"
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"./locales/en.json": "./locales/en.json"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@jskit-ai/
|
|
19
|
-
"@jskit-ai/uploads-runtime": "0.2.41",
|
|
18
|
+
"@jskit-ai/uploads-runtime": "0.2.42",
|
|
20
19
|
"@uppy/compressor": "^3.1.0",
|
|
21
20
|
"@uppy/core": "^5.2.0",
|
|
22
21
|
"@uppy/dashboard": "^5.1.1",
|
|
@@ -24,7 +23,8 @@
|
|
|
24
23
|
"@uppy/xhr-upload": "^5.1.1"
|
|
25
24
|
},
|
|
26
25
|
"peerDependencies": {
|
|
27
|
-
"@jskit-ai/
|
|
26
|
+
"@jskit-ai/http-runtime": "0.2.44",
|
|
27
|
+
"@jskit-ai/kernel": "0.2.42",
|
|
28
28
|
"vue": "^3.5.13"
|
|
29
29
|
},
|
|
30
30
|
"description": "Reusable client-side image upload runtime with pre-upload image editing.",
|