@synopackageland/ui 0.18.0 → 0.18.2

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.
@@ -3,7 +3,7 @@
3
3
  "version": "2.10.5",
4
4
  "delivery": "bundled-patched-esm",
5
5
  "patchManifestSha256": "14f10159b60d48ac7a0686f58faf7a30e99898dc267b3c032cf2bdd6052dc52b",
6
- "bundleSha256": "a760238ae3939954c3e1b3e66e91f85966c5bcf8fde00ab39d24badaec83d230",
6
+ "bundleSha256": "03961493865a9bf0b2f696d02172c2ed7f05504fcdc1839d4b44035fe9ab4a50",
7
7
  "sourceHashes": {
8
8
  "shared/useBodyScrollLock.js": "657592f283cb6fd25454abd284a0024af21936cb56e05b762ff0d22b6a979d32",
9
9
  "DismissableLayer/DismissableLayer.js": "da05ca544d9822a8e2b71057e78c0e1ef59423aa3893534338fb58e1ecbd1a8d",
@@ -26,7 +26,8 @@ These rules keep pages built from `@synopackageland/ui` consistent. The componen
26
26
 
27
27
  ## Fields
28
28
 
29
- - Labels sit above their controls (`Form direction="vertical"`), except in short DSM-style dialogs.
29
+ - Labels sit above their controls (`Form direction="vertical"`), except in short DSM-style dialogs and in side sheets (drawers).
30
+ - In a dialog or a side `Sheet`, keep the default `direction="auto"`: as in DSM, the labels sit in a left column whenever the form is at least 400px wide (a 420–480px sheet) and stack above their controls only below that (a phone). Size the column with `Form label-width` (about 120px for short labels); a long label wraps inside it and stays level with its control's first line, whether that is a field, a select, a switch, a toggle group or a segment control.
30
31
  - Size a field by its content: number fields are 128px; text fields use `fieldWidth`. Put two short fields side by side rather than stretching one across the page.
31
32
  - A checkbox's text sits on the same line as its box. Do not apply `display: grid` to `label` in App CSS; `Checkbox` renders its own label.
32
33
  - For 2–4 mutually exclusive settings, use `RadioGroup` (vertical by default, `orientation="horizontal"` when labels fit). In a wizard step, `variant="card"` draws the options as choice cards with an optional `icon` each. A checkbox enables an independent option; a switch turns a feature on or off immediately. Keep the circular radio with a dot, square checkbox with a tick, and pill switch with a moving thumb.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/ui",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "description": "Shared Vue 3 UI component library with a DSM 7 inspired application theme",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -52,48 +52,6 @@
52
52
  "./themes/dsm7-embedded-reset.css": "./dist/themes/dsm7-embedded-reset.css",
53
53
  "./themes/dsm7-embedded-theme.css": "./dist/themes/dsm7-embedded-theme.css"
54
54
  },
55
- "scripts": {
56
- "dev": "vite build --watch",
57
- "build": "vite build && vite build --mode json && vite build --mode rich-text && vite build --mode cli && vite build --mode preview && vite build --mode embedded && node scripts/postbuild.mjs",
58
- "lint": "eslint .",
59
- "typecheck": "vue-tsc --noEmit -p tsconfig.json",
60
- "test": "vitest run",
61
- "test:watch": "vitest",
62
- "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}",
63
- "story": "histoire dev",
64
- "story:build": "histoire build",
65
- "check:host": "node scripts/dsm-host-shots.mjs",
66
- "check:switch": "node scripts/check-switch.mjs",
67
- "check:tabs": "node scripts/check-tabs.mjs",
68
- "check:narrow": "node scripts/check-narrow-controls.mjs",
69
- "check:responsive": "node scripts/check-responsive.mjs",
70
- "check:adaptive": "node scripts/check-adaptive.mjs",
71
- "check:sidebar-focus": "node scripts/check-sidebar-focus.mjs",
72
- "check:json-render": "node scripts/check-json-render.mjs",
73
- "check:motion": "node scripts/check-motion.mjs",
74
- "check:topology": "node scripts/check-topology.mjs",
75
- "check:wizard": "node scripts/check-wizard.mjs",
76
- "check:edges": "node scripts/check-edges.mjs",
77
- "check:data-grid": "node scripts/check-data-grid.mjs",
78
- "check:truncation": "node scripts/check-truncation.mjs",
79
- "check:link": "node scripts/check-link.mjs",
80
- "check:text-select": "node scripts/check-text-select.mjs",
81
- "check:date-picker": "node scripts/check-date-picker.mjs",
82
- "check:full-page": "node scripts/check-full-page.mjs",
83
- "check:internal": "node --test scripts/check-internal-content.test.mjs scripts/check-npm-metadata.test.mjs && node scripts/check-internal-content.mjs --repo .",
84
- "check:npm-metadata": "node scripts/check-npm-metadata.mjs",
85
- "check:package": "node scripts/check-package-content.mjs",
86
- "notices:update": "node scripts/third-party-notices.mjs --write",
87
- "notices:check": "node scripts/third-party-notices.mjs --check",
88
- "check": "bash scripts/docker-check.sh 'pnpm check:internal && pnpm build && node scripts/run-parallel.mjs lint typecheck test && pnpm check:package'",
89
- "check:fast": "bash scripts/docker-check.sh 'pnpm check:internal && pnpm build && node scripts/run-parallel.mjs lint typecheck test:changed && pnpm check:package'",
90
- "check:local-browser": "node scripts/app-local-browser.mjs",
91
- "check:infotip": "node scripts/check-infotip.mjs",
92
- "release:stage": "node scripts/stage-release.mjs",
93
- "check:polish": "bash scripts/docker-check.sh --build --out .polish-shots 'node scripts/check-polish.mjs'",
94
- "check:acceptance": "node scripts/check-acceptance.mjs",
95
- "check:palette": "node scripts/check-palette.mjs"
96
- },
97
55
  "peerDependencies": {
98
56
  "vue": "^3.5.0"
99
57
  },
@@ -113,42 +71,9 @@
113
71
  "@tiptap/vue-3": "3.32.1",
114
72
  "zod": "^4.6.5"
115
73
  },
116
- "devDependencies": {
117
- "@eslint/js": "10.0.1",
118
- "@histoire/plugin-vue": "1.0.0-beta.1",
119
- "@tailwindcss/vite": "4.3.3",
120
- "@vitejs/plugin-vue": "6.0.9",
121
- "@vue/test-utils": "2.5.1",
122
- "eslint": "10.11.0",
123
- "eslint-plugin-vue": "10.11.1",
124
- "flexsearch": "0.8.212",
125
- "globals": "17.12.0",
126
- "histoire": "1.0.0-beta.1",
127
- "jsdom": "30.1.1",
128
- "playwright": "1.58.2",
129
- "reka-ui": "2.10.5",
130
- "tailwindcss": "4.3.3",
131
- "typescript": "5.9.3",
132
- "typescript-eslint": "8.71.0",
133
- "vite": "7.3.6",
134
- "vite-plugin-dts": "5.1.1",
135
- "vitest": "5.0.2",
136
- "vscode-oniguruma": "2.0.1",
137
- "vscode-textmate": "9.3.2",
138
- "vue": "3.5.43",
139
- "vue-eslint-parser": "10.4.1",
140
- "vue-tsc": "3.3.11"
141
- },
142
74
  "engines": {
143
75
  "node": ">=20"
144
76
  },
145
- "packageManager": "pnpm@10.33.2",
146
- "pnpm": {
147
- "onlyBuiltDependencies": [
148
- "esbuild",
149
- "vue-demi"
150
- ]
151
- },
152
77
  "config": {
153
78
  "bundledRuntime": {
154
79
  "reka-ui": "2.10.5"