@synopackageland/ui 0.20.14 → 0.20.16
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 +10 -0
- package/dist/composables/openerFocus.d.ts +24 -0
- package/dist/index.js +8808 -8760
- package/dist/json-preview/preview.js +7709 -7664
- package/dist/reka-runtime.json +1 -1
- 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/adaptive-layout.md +13 -0
- package/docs/release-checks.md +1 -1
- package/package.json +91 -1
package/docs/adaptive-layout.md
CHANGED
|
@@ -170,6 +170,19 @@ components below it. Every App gets it; there is nothing to set.
|
|
|
170
170
|
Other pages, such as a DataGrid that scrolls itself, keep their layout.
|
|
171
171
|
- **The header does not stick.** A `PageHeader` scrolls with the page, in a
|
|
172
172
|
tight row (8px above and below).
|
|
173
|
+
- **The bars are compact on touch.** Under a coarse pointer the `SectionTabs`
|
|
174
|
+
strip is drawn 36px tall and a `SettingsPage` footer 48px (its buttons
|
|
175
|
+
36px), not the 44px strip and 64px footer of a taller touch layout. The 44px
|
|
176
|
+
tap boxes come from the hit slop (`data-ui-hit`, docs/mobile-native.md): a
|
|
177
|
+
tab's box reaches 8px down, into the strip's unpainted bottom padding,
|
|
178
|
+
which hangs over the top of the page (the strip sticks at the top of the
|
|
179
|
+
window, with nothing above it to reach into); a footer button's box reaches
|
|
180
|
+
4px up and down inside the footer. At 753×239 (a 279px landscape window
|
|
181
|
+
under DSM's 40px header) that leaves the rows 147px from the strip's box,
|
|
182
|
+
155px from what is drawn. This follows the media query, not
|
|
183
|
+
`data-ui-layout-short`, so an App without `AppLayout` gets it too. A taller
|
|
184
|
+
touch layout keeps the drawn 44px: there the slop would only hide a strip
|
|
185
|
+
of the page under the bar, for no room the page needs.
|
|
173
186
|
|
|
174
187
|
At any height, a `SectionTabs fill` strip (and a pushed section's Back header on a phone) sticks below a sticky `PageHeader`
|
|
175
188
|
in the same `PageContent` (`--ui-page-sticky-top`, the header's height)
|
package/docs/release-checks.md
CHANGED
|
@@ -8,7 +8,7 @@ checks through the optional build-isolation wrapper.
|
|
|
8
8
|
|
|
9
9
|
| Entry point | Default | Explicit full |
|
|
10
10
|
| --- | --- | --- |
|
|
11
|
-
| `npm run gates`, `scripts/gates.mjs` | Internal-content checks, build, lint, typecheck, unit tests, notices, isolated pack and tarball content audit | Adds Chromium installation, responsive/adaptive/date-picker/JSON/host/switch/layout/InfoTip/motion browser checks, Histoire build, exact-tarball registry consumer smoke |
|
|
11
|
+
| `npm run gates`, `scripts/gates.mjs` | Internal-content checks, build, lint, typecheck, unit tests, notices, isolated pack and tarball content audit | Adds Chromium installation, responsive/adaptive/date-picker/JSON/host/switch/layout/InfoTip/motion/focus-restore browser checks, Histoire build, exact-tarball registry consumer smoke |
|
|
12
12
|
| `pnpm check`, `check:fast` | Basic, with optional Docker host build isolation | `SPL_FULL_GATE=1` selects the same full plan |
|
|
13
13
|
| `fast-ci.yml`, composite verify action | Basic | No automatic extended checks |
|
|
14
14
|
| Disabled CI/release workflow templates | Basic, version/tag/ancestry checks, stage, pack and actual archive audit | No implicit browser or registry consumer smoke |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synopackageland/ui",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.16",
|
|
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,6 +60,61 @@
|
|
|
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
|
+
"dev": "vite build --watch",
|
|
66
|
+
"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",
|
|
67
|
+
"lint": "eslint .",
|
|
68
|
+
"typecheck": "vue-tsc --noEmit -p tsconfig.json",
|
|
69
|
+
"test": "vitest run",
|
|
70
|
+
"test:watch": "vitest",
|
|
71
|
+
"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}",
|
|
72
|
+
"story": "histoire dev",
|
|
73
|
+
"story:build": "histoire build",
|
|
74
|
+
"check:host": "node scripts/dsm-host-shots.mjs",
|
|
75
|
+
"check:switch": "node scripts/check-switch.mjs",
|
|
76
|
+
"check:tabs": "node scripts/check-tabs.mjs",
|
|
77
|
+
"check:mobile": "node scripts/check-mobile-overflow.mjs",
|
|
78
|
+
"check:ui-patch": "node scripts/check-ui-patch.mjs",
|
|
79
|
+
"check:narrow": "node scripts/check-narrow-controls.mjs",
|
|
80
|
+
"check:drawer-form": "node scripts/check-drawer-form.mjs",
|
|
81
|
+
"check:responsive": "node scripts/check-responsive.mjs",
|
|
82
|
+
"check:adaptive": "node scripts/check-adaptive.mjs",
|
|
83
|
+
"check:sidebar-focus": "node scripts/check-sidebar-focus.mjs",
|
|
84
|
+
"check:json-render": "node scripts/check-json-render.mjs",
|
|
85
|
+
"check:motion": "node scripts/check-motion.mjs",
|
|
86
|
+
"check:topology": "node scripts/check-topology.mjs",
|
|
87
|
+
"check:wizard": "node scripts/check-wizard.mjs",
|
|
88
|
+
"check:edges": "node scripts/check-edges.mjs",
|
|
89
|
+
"check:data-grid": "node scripts/check-data-grid.mjs",
|
|
90
|
+
"check:truncation": "node scripts/check-truncation.mjs",
|
|
91
|
+
"check:link": "node scripts/check-link.mjs",
|
|
92
|
+
"check:text-select": "node scripts/check-text-select.mjs",
|
|
93
|
+
"check:date-picker": "node scripts/check-date-picker.mjs",
|
|
94
|
+
"check:full-page": "node scripts/check-full-page.mjs",
|
|
95
|
+
"check:short-viewport": "node scripts/check-short-viewport.mjs",
|
|
96
|
+
"check:focus-restore": "node scripts/check-focus-restore.mjs",
|
|
97
|
+
"check:detail-surface": "node scripts/check-detail-surface.mjs",
|
|
98
|
+
"check:internal": "node --test scripts/check-internal-content.test.mjs scripts/check-npm-metadata.test.mjs && node scripts/check-internal-content.mjs --repo .",
|
|
99
|
+
"check:npm-metadata": "node scripts/check-npm-metadata.mjs",
|
|
100
|
+
"check:package": "node scripts/check-package-content.mjs",
|
|
101
|
+
"check:public-api-consumer": "node scripts/check-public-api-consumer.mjs",
|
|
102
|
+
"notices:update": "node scripts/third-party-notices.mjs --write",
|
|
103
|
+
"notices:check": "node scripts/third-party-notices.mjs --check",
|
|
104
|
+
"check": "bash scripts/docker-check.sh \"npm run gates\"",
|
|
105
|
+
"check:fast": "bash scripts/docker-check.sh \"npm run gates\"",
|
|
106
|
+
"check:local-browser": "node scripts/app-local-browser.mjs",
|
|
107
|
+
"check:infotip": "node scripts/check-infotip.mjs",
|
|
108
|
+
"release:stage": "node scripts/stage-release.mjs",
|
|
109
|
+
"check:polish": "bash scripts/docker-check.sh --build --out .polish-shots 'node scripts/check-polish.mjs'",
|
|
110
|
+
"check:acceptance": "node scripts/check-acceptance.mjs",
|
|
111
|
+
"check:palette": "node scripts/check-palette.mjs",
|
|
112
|
+
"gates": "node scripts/gates.mjs",
|
|
113
|
+
"gates:full": "node scripts/gates.mjs --full",
|
|
114
|
+
"check:layout": "node scripts/check-layout.mjs",
|
|
115
|
+
"release:smoke": "node scripts/release-smoke.mjs",
|
|
116
|
+
"check:browser-install": "playwright install chromium"
|
|
117
|
+
},
|
|
63
118
|
"peerDependencies": {
|
|
64
119
|
"vue": "^3.5.0"
|
|
65
120
|
},
|
|
@@ -79,9 +134,44 @@
|
|
|
79
134
|
"@tiptap/vue-3": "3.32.1",
|
|
80
135
|
"zod": "^4.6.5"
|
|
81
136
|
},
|
|
137
|
+
"devDependencies": {
|
|
138
|
+
"@eslint/js": "10.0.1",
|
|
139
|
+
"@histoire/plugin-vue": "1.0.0-beta.1",
|
|
140
|
+
"@tailwindcss/vite": "4.3.3",
|
|
141
|
+
"@tanstack/vue-virtual": "3.13.39",
|
|
142
|
+
"@vitejs/plugin-vue": "6.0.9",
|
|
143
|
+
"@vue/test-utils": "2.5.1",
|
|
144
|
+
"@vueuse/core": "14.4.0",
|
|
145
|
+
"eslint": "10.11.0",
|
|
146
|
+
"eslint-plugin-vue": "10.11.1",
|
|
147
|
+
"flexsearch": "0.8.212",
|
|
148
|
+
"globals": "17.12.0",
|
|
149
|
+
"histoire": "1.0.0-beta.1",
|
|
150
|
+
"jsdom": "30.1.1",
|
|
151
|
+
"playwright": "1.58.2",
|
|
152
|
+
"reka-ui": "2.11.0",
|
|
153
|
+
"tailwindcss": "4.3.3",
|
|
154
|
+
"typescript": "5.9.3",
|
|
155
|
+
"typescript-eslint": "8.71.0",
|
|
156
|
+
"vite": "7.3.6",
|
|
157
|
+
"vite-plugin-dts": "5.1.1",
|
|
158
|
+
"vitest": "5.0.2",
|
|
159
|
+
"vscode-oniguruma": "2.0.1",
|
|
160
|
+
"vscode-textmate": "9.3.2",
|
|
161
|
+
"vue": "3.5.43",
|
|
162
|
+
"vue-eslint-parser": "10.4.1",
|
|
163
|
+
"vue-tsc": "3.3.11"
|
|
164
|
+
},
|
|
82
165
|
"engines": {
|
|
83
166
|
"node": ">=20"
|
|
84
167
|
},
|
|
168
|
+
"packageManager": "pnpm@10.33.2",
|
|
169
|
+
"pnpm": {
|
|
170
|
+
"onlyBuiltDependencies": [
|
|
171
|
+
"esbuild",
|
|
172
|
+
"vue-demi"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
85
175
|
"config": {
|
|
86
176
|
"bundledRuntime": {
|
|
87
177
|
"@tanstack/vue-virtual": "3.13.39",
|