@synopackageland/ui 0.25.19 → 0.25.21
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 +32 -0
- package/dist/composables/elementWidth.d.ts +8 -1
- package/dist/index.js +8376 -8319
- package/dist/json-preview/preview.js +5547 -5491
- package/dist/reka-runtime.json +2 -2
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/docs/mobile-native.md +13 -2
- package/package.json +1 -99
package/docs/mobile-native.md
CHANGED
|
@@ -472,7 +472,9 @@ control opts in.
|
|
|
472
472
|
2.11.0). It has a 36×4 grabber in a 20px zone, a 48px header with the title
|
|
473
473
|
and a 44px close button, a body that scrolls with `overscroll-behavior:
|
|
474
474
|
contain`, a pinned footer and safe-area padding. The top corners use
|
|
475
|
-
`--ui-radius-sheet
|
|
475
|
+
`--ui-radius-sheet`, and it casts the bar's short upward shadow
|
|
476
|
+
(`--ui-shadow-bar`), not the dialog's: the scrim already sets it apart, and
|
|
477
|
+
the wide blur slowed its raster.
|
|
476
478
|
|
|
477
479
|
- `height`: `auto` (content, up to 92%), `large` (92%; the strip of page left
|
|
478
480
|
above it closes the sheet when tapped), `full` (the whole screen, below the
|
|
@@ -488,8 +490,17 @@ contain`, a pinned footer and safe-area padding. The top corners use
|
|
|
488
490
|
viewport. The viewport pads its bottom by it, so the sheet and its footer
|
|
489
491
|
sit above the keyboard and the heights shrink instead of the sheet moving
|
|
490
492
|
off the screen.
|
|
491
|
-
- In
|
|
493
|
+
- In 250ms on `--ui-motion-sheet-ease`, out 150ms, the scrim
|
|
492
494
|
(`--ui-drawer-backdrop`) fading with it. Reduced motion uses an 80ms fade.
|
|
495
|
+
The scrim starts fading in on the first frame. Before the slide, the sheet
|
|
496
|
+
draws in place at 1% opacity so the GPU rasters it first; the slide starts
|
|
497
|
+
once two frames in a row come within 40ms of each other, or after 150ms. A
|
|
498
|
+
fast device waits about two frames; a slow one waits for most of its raster
|
|
499
|
+
instead of stalling in the middle of the slide.
|
|
500
|
+
- Focus: with a mouse the first field takes it at once; on touch the panel
|
|
501
|
+
takes it when the slide ends (not the first field, which would raise the
|
|
502
|
+
keyboard), unless the user has focused something in it by then. After a
|
|
503
|
+
key press the panel takes it at once.
|
|
493
504
|
- `confirm-close` (set while a form is dirty) asks "Discard changes?" in a
|
|
494
505
|
nested sheet before a swipe, Back, Escape, an outside press or the close
|
|
495
506
|
button closes it. Nested sheets stack, and each closes only itself.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synopackageland/ui",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.21",
|
|
4
4
|
"description": "Shared Vue 3 UI component library with a DSM 7 inspired application theme",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -60,69 +60,6 @@
|
|
|
60
60
|
"./themes/dsm7-embedded-reset.css": "./dist/themes/dsm7-embedded-reset.css",
|
|
61
61
|
"./themes/dsm7-embedded-theme.css": "./dist/themes/dsm7-embedded-theme.css"
|
|
62
62
|
},
|
|
63
|
-
"scripts": {
|
|
64
|
-
"check:docs": "node --test scripts/check-doc-versions.test.mjs && node scripts/check-doc-versions.mjs",
|
|
65
|
-
"check:tokens": "node scripts/check-tokens.mjs",
|
|
66
|
-
"dev": "vite build --watch",
|
|
67
|
-
"build": "vite build && vite build --mode json && vite build --mode rich-text && vite build --mode grid && vite build --mode cli && vite build --mode preview && vite build --mode embedded && node scripts/postbuild.mjs",
|
|
68
|
-
"lint": "eslint .",
|
|
69
|
-
"typecheck": "vue-tsc --noEmit -p tsconfig.json",
|
|
70
|
-
"test": "vitest run",
|
|
71
|
-
"test:watch": "vitest",
|
|
72
|
-
"test:changed": "echo \"test:changed skips the tests the changes since ${SYNOPKGLAND_GATE_BASE:-origin/master} do not reach (vitest --changed); pnpm check runs them all\" && vitest run --changed ${SYNOPKGLAND_GATE_BASE:-origin/master}",
|
|
73
|
-
"story": "histoire dev",
|
|
74
|
-
"story:build": "histoire build",
|
|
75
|
-
"check:host": "node scripts/dsm-host-shots.mjs",
|
|
76
|
-
"check:switch": "node scripts/check-switch.mjs",
|
|
77
|
-
"check:tabs": "node scripts/check-tabs.mjs",
|
|
78
|
-
"check:mobile": "node scripts/check-mobile-overflow.mjs",
|
|
79
|
-
"check:ui-patch": "node scripts/check-ui-patch.mjs",
|
|
80
|
-
"check:narrow": "node scripts/check-narrow-controls.mjs",
|
|
81
|
-
"check:drawer-form": "node scripts/check-drawer-form.mjs",
|
|
82
|
-
"check:responsive": "node scripts/check-responsive.mjs",
|
|
83
|
-
"check:adaptive": "node scripts/check-adaptive.mjs",
|
|
84
|
-
"check:sidebar-focus": "node scripts/check-sidebar-focus.mjs",
|
|
85
|
-
"check:json-render": "node scripts/check-json-render.mjs",
|
|
86
|
-
"check:motion": "node scripts/check-motion.mjs",
|
|
87
|
-
"check:topology": "node scripts/check-topology.mjs",
|
|
88
|
-
"check:wizard": "node scripts/check-wizard.mjs",
|
|
89
|
-
"check:press": "node scripts/check-press.mjs",
|
|
90
|
-
"check:edges": "node scripts/check-edges.mjs",
|
|
91
|
-
"check:data-grid": "node scripts/check-data-grid.mjs",
|
|
92
|
-
"check:truncation": "node scripts/check-truncation.mjs",
|
|
93
|
-
"check:button-wrap": "node scripts/check-button-wrap.mjs",
|
|
94
|
-
"check:link": "node scripts/check-link.mjs",
|
|
95
|
-
"check:text-select": "node scripts/check-text-select.mjs",
|
|
96
|
-
"check:date-picker": "node scripts/check-date-picker.mjs",
|
|
97
|
-
"check:full-page": "node scripts/check-full-page.mjs",
|
|
98
|
-
"check:short-viewport": "node scripts/check-short-viewport.mjs",
|
|
99
|
-
"check:phone-layout": "node scripts/check-phone-layout.mjs",
|
|
100
|
-
"check:phone-bars": "node scripts/check-phone-bars.mjs",
|
|
101
|
-
"check:phone-fill": "node scripts/check-phone-fill.mjs",
|
|
102
|
-
"check:text-zoom": "node scripts/check-text-zoom.mjs",
|
|
103
|
-
"check:focus-restore": "node scripts/check-focus-restore.mjs",
|
|
104
|
-
"check:detail-surface": "node scripts/check-detail-surface.mjs",
|
|
105
|
-
"check:internal": "node --test scripts/check-internal-content.test.mjs scripts/check-npm-metadata.test.mjs && node scripts/check-internal-content.mjs --repo .",
|
|
106
|
-
"check:npm-metadata": "node scripts/check-npm-metadata.mjs",
|
|
107
|
-
"check:package": "node scripts/check-package-content.mjs",
|
|
108
|
-
"trace:restyle": "node scripts/trace-restyle.mjs",
|
|
109
|
-
"check:public-api-consumer": "node scripts/check-public-api-consumer.mjs",
|
|
110
|
-
"notices:update": "node scripts/third-party-notices.mjs --write",
|
|
111
|
-
"notices:check": "node scripts/third-party-notices.mjs --check",
|
|
112
|
-
"check": "bash scripts/docker-check.sh \"npm run gates\"",
|
|
113
|
-
"check:fast": "bash scripts/docker-check.sh \"npm run gates\"",
|
|
114
|
-
"check:local-browser": "node scripts/app-local-browser.mjs",
|
|
115
|
-
"check:infotip": "node scripts/check-infotip.mjs",
|
|
116
|
-
"release:stage": "node scripts/stage-release.mjs",
|
|
117
|
-
"check:polish": "bash scripts/docker-check.sh --build --out .polish-shots 'node scripts/check-polish.mjs'",
|
|
118
|
-
"check:acceptance": "node scripts/check-acceptance.mjs",
|
|
119
|
-
"check:palette": "node scripts/check-palette.mjs",
|
|
120
|
-
"gates": "node scripts/gates.mjs",
|
|
121
|
-
"gates:full": "node scripts/gates.mjs --full",
|
|
122
|
-
"check:layout": "node scripts/check-layout.mjs",
|
|
123
|
-
"release:smoke": "node scripts/release-smoke.mjs",
|
|
124
|
-
"check:browser-install": "playwright install chromium webkit"
|
|
125
|
-
},
|
|
126
63
|
"peerDependencies": {
|
|
127
64
|
"vue": "^3.5.0"
|
|
128
65
|
},
|
|
@@ -142,44 +79,9 @@
|
|
|
142
79
|
"@tiptap/vue-3": "3.32.1",
|
|
143
80
|
"zod": "^4.6.5"
|
|
144
81
|
},
|
|
145
|
-
"devDependencies": {
|
|
146
|
-
"@eslint/js": "10.0.1",
|
|
147
|
-
"@histoire/plugin-vue": "1.0.0-beta.1",
|
|
148
|
-
"@tailwindcss/vite": "4.3.3",
|
|
149
|
-
"@tanstack/vue-virtual": "3.13.39",
|
|
150
|
-
"@vitejs/plugin-vue": "6.0.9",
|
|
151
|
-
"@vue/test-utils": "2.5.1",
|
|
152
|
-
"@vueuse/core": "14.4.0",
|
|
153
|
-
"eslint": "10.11.0",
|
|
154
|
-
"eslint-plugin-vue": "10.11.1",
|
|
155
|
-
"flexsearch": "0.8.212",
|
|
156
|
-
"globals": "17.12.0",
|
|
157
|
-
"histoire": "1.0.0-beta.1",
|
|
158
|
-
"jsdom": "30.1.1",
|
|
159
|
-
"playwright": "1.58.2",
|
|
160
|
-
"reka-ui": "2.11.0",
|
|
161
|
-
"tailwindcss": "4.3.3",
|
|
162
|
-
"typescript": "5.9.3",
|
|
163
|
-
"typescript-eslint": "8.71.0",
|
|
164
|
-
"vite": "7.3.6",
|
|
165
|
-
"vite-plugin-dts": "5.1.1",
|
|
166
|
-
"vitest": "5.0.2",
|
|
167
|
-
"vscode-oniguruma": "2.0.1",
|
|
168
|
-
"vscode-textmate": "9.3.2",
|
|
169
|
-
"vue": "3.5.43",
|
|
170
|
-
"vue-eslint-parser": "10.4.1",
|
|
171
|
-
"vue-tsc": "3.3.11"
|
|
172
|
-
},
|
|
173
82
|
"engines": {
|
|
174
83
|
"node": ">=20"
|
|
175
84
|
},
|
|
176
|
-
"packageManager": "pnpm@10.33.2",
|
|
177
|
-
"pnpm": {
|
|
178
|
-
"onlyBuiltDependencies": [
|
|
179
|
-
"esbuild",
|
|
180
|
-
"vue-demi"
|
|
181
|
-
]
|
|
182
|
-
},
|
|
183
85
|
"config": {
|
|
184
86
|
"bundledRuntime": {
|
|
185
87
|
"@tanstack/vue-virtual": "3.13.39",
|