@synopackageland/ui 0.14.7 → 0.14.8
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/components/app/page-content/PageContent.vue.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/json-preview/preview.js +3 -3
- 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 +12 -9
- package/docs/color-system.md +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.8 (2026-10-23)
|
|
4
|
+
|
|
5
|
+
Visual change: the page behind cards, corners and shadows. Props, slots and exports stay as they were.
|
|
6
|
+
|
|
7
|
+
- `--ui-bg` is a cool page grey (`#f0f2f5`, the hue of Storage Manager's Overview one step deeper) instead of white. A page of cards sits on it in every presentation: `PageContent surface="flat"`, and now `surface="auto"` when the page holds a `Card` or `Surface`; those top-level cards keep a 1px frame (`--ui-border`, the same grey as the web border) and take `--ui-shadow-card`. Pages without cards (lists, Control Panel style forms) and `surface="card"` stay white. The web canvas defaults to `--ui-bg`.
|
|
8
|
+
- Shadows are one soft, layered set: `--ui-shadow-card`, `--ui-shadow-menu` and `--ui-shadow-dialog` use a low-opacity blue-grey instead of 16% / 30% / 60% black. The web card shadow, the phone drawer and the `Slider` and `Switch` thumbs use these tokens instead of their own values.
|
|
9
|
+
- Corners stay within 2px of a card: a message box is 6px (was 8px). The web and phone presentations use 6px for cards and navigation rows (were 10px and 8px) and 8px for dialogs and bottom sheets (were 3px/8px and 12px). Literal 2px and 8px radii now use the radius tokens.
|
|
10
|
+
- `InfoMask` keeps DSM's white mask (it was drawn from `--ui-bg`).
|
|
11
|
+
- Workbench dark mode: three layers (page `#11161c`, card `#1f2832`, menu and dialog `#2b3541`), quieter card frames (`--ui-border-subtle`), a dark inset fill and a dark shadow set.
|
|
12
|
+
|
|
3
13
|
## 0.14.7 (2026-10-23)
|
|
4
14
|
|
|
5
15
|
Visual change: buttons in `SettingsSection` and `Card` footers and `Notification` actions change shape. Props, slots and exports stay as they were.
|
|
@@ -4,7 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
* `--ui-page-readable-width`; any other value is a CSS maximum width.
|
|
5
5
|
*/
|
|
6
6
|
width?: 'fill' | 'readable' | (string & {});
|
|
7
|
-
/**
|
|
7
|
+
/** card uses the white content area; flat uses the page grey; auto is white unless the page holds a card, then grey like flat. none adds no surface or horizontal gutters, for content that owns its layout at every width. */
|
|
8
8
|
surface?: 'auto' | 'flat' | 'card' | 'none';
|
|
9
9
|
/**
|
|
10
10
|
* `'fill'` takes the container's height and does not scroll: the header,
|
package/dist/index.js
CHANGED
|
@@ -18556,7 +18556,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
|
|
|
18556
18556
|
}, 8, ["class"]),
|
|
18557
18557
|
I(i(_b), ne(i(D)(), {
|
|
18558
18558
|
class: i(Oe)(
|
|
18559
|
-
"block size-4 rounded-full border border-[var(--ui-border-strong)] bg-[var(--ui-surface-raised)] shadow-
|
|
18559
|
+
"block size-4 rounded-full border border-[var(--ui-border-strong)] bg-[var(--ui-surface-raised)] shadow-[var(--ui-shadow-card)] outline-none focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)]",
|
|
18560
18560
|
i(n).disabled ? "cursor-default opacity-50" : "cursor-pointer hover:border-[var(--ui-control-border-hover)] hover:bg-[var(--ui-surface-hover)] active:bg-[var(--ui-control-bg-active)]"
|
|
18561
18561
|
),
|
|
18562
18562
|
onFocus: R[0] || (R[0] = (F) => p.value = !0),
|
|
@@ -18801,7 +18801,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
|
|
|
18801
18801
|
onClick: W
|
|
18802
18802
|
}), [
|
|
18803
18803
|
V("span", {
|
|
18804
|
-
class: "relative block size-4 shrink-0 overflow-hidden rounded-[
|
|
18804
|
+
class: "relative block size-4 shrink-0 overflow-hidden rounded-[var(--ui-radius-sm)] border border-[var(--ui-border)]",
|
|
18805
18805
|
style: ke(C.value < 1 ? { backgroundImage: _1, backgroundSize: "8px 8px" } : void 0),
|
|
18806
18806
|
"data-testid": "color-picker-preview"
|
|
18807
18807
|
}, [
|
|
@@ -18867,7 +18867,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
|
|
|
18867
18867
|
onClick: (de) => R(se.value)
|
|
18868
18868
|
}, [
|
|
18869
18869
|
V("span", {
|
|
18870
|
-
class: "block size-full rounded-[
|
|
18870
|
+
class: "block size-full rounded-[var(--ui-radius-sm)] border border-[var(--ui-border-strong)]",
|
|
18871
18871
|
style: ke({ backgroundColor: se.value })
|
|
18872
18872
|
}, null, 4)
|
|
18873
18873
|
], 42, g1))), 128))
|
|
@@ -19025,7 +19025,7 @@ const Z_ = ["disabled", "aria-label"], J_ = { class: "relative min-w-0 flex-1" }
|
|
|
19025
19025
|
})
|
|
19026
19026
|
}), {
|
|
19027
19027
|
default: _(() => [
|
|
19028
|
-
I(i(F0), { class: "block size-3.5 translate-x-[1px] rounded-full bg-white shadow-
|
|
19028
|
+
I(i(F0), { class: "block size-3.5 translate-x-[1px] rounded-full bg-white shadow-[var(--ui-shadow-card)] transition-transform duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] data-[state=checked]:translate-x-[15px]" })
|
|
19029
19029
|
]),
|
|
19030
19030
|
_: 1
|
|
19031
19031
|
}, 16, ["model-value", "disabled"]),
|
|
@@ -25122,7 +25122,7 @@ const Pc = "-ml-1 flex items-center justify-start gap-1", GE = ["data-ui-data-vi
|
|
|
25122
25122
|
"data-ui-cell-primary": "",
|
|
25123
25123
|
"data-ui-tooltip-hint": e.openLabel,
|
|
25124
25124
|
disabled: e.openDisabled,
|
|
25125
|
-
class: te([o.value, "m-0 -mx-0.5 min-w-0 max-w-full rounded-[
|
|
25125
|
+
class: te([o.value, "m-0 -mx-0.5 min-w-0 max-w-full rounded-[var(--ui-radius-sm)] border-0 bg-transparent px-0.5 py-0 text-left text-[length:inherit] leading-5 text-[var(--ui-primary)] outline-none hover:underline focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)] disabled:cursor-default disabled:opacity-50 disabled:hover:no-underline"]),
|
|
25126
25126
|
onClick: l[0] || (l[0] = (s) => r.$emit("open"))
|
|
25127
25127
|
}, [
|
|
25128
25128
|
S(r.$slots, "default", {}, () => [
|
|
@@ -25163,7 +25163,7 @@ const Pc = "-ml-1 flex items-center justify-start gap-1", GE = ["data-ui-data-vi
|
|
|
25163
25163
|
}, uT = {
|
|
25164
25164
|
"data-ui-cell-status-label": "",
|
|
25165
25165
|
tabindex: "0",
|
|
25166
|
-
class: "-mx-0.5 min-w-0 truncate rounded-[
|
|
25166
|
+
class: "-mx-0.5 min-w-0 truncate rounded-[var(--ui-radius-sm)] px-0.5 outline-none focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)]"
|
|
25167
25167
|
}, dT = {
|
|
25168
25168
|
key: 1,
|
|
25169
25169
|
"data-ui-cell-status-label": "",
|
|
@@ -28161,7 +28161,7 @@ const oP = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, r
|
|
|
28161
28161
|
onClick: (fe) => ue(Te)
|
|
28162
28162
|
}, [
|
|
28163
28163
|
V("span", {
|
|
28164
|
-
class: te(["size-3.5 shrink-0 rounded-[
|
|
28164
|
+
class: te(["size-3.5 shrink-0 rounded-[var(--ui-radius-sm)] border border-[var(--ui-border)]", L(String(Te.index))]),
|
|
28165
28165
|
style: ke(R(String(Te.index))),
|
|
28166
28166
|
"aria-hidden": "true"
|
|
28167
28167
|
}, null, 6),
|
|
@@ -28285,7 +28285,7 @@ const oP = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, r
|
|
|
28285
28285
|
}, kP = ["inert", "aria-hidden"], CP = {
|
|
28286
28286
|
key: 0,
|
|
28287
28287
|
class: "z-[1] flex [grid-area:1/1] items-center justify-center overflow-auto p-4",
|
|
28288
|
-
style: { background: "color-mix(in srgb, var(--ui-
|
|
28288
|
+
style: { background: "color-mix(in srgb, var(--ui-surface) 72%, transparent)" }
|
|
28289
28289
|
}, SP = ["aria-label"], II = /* @__PURE__ */ q({
|
|
28290
28290
|
__name: "InfoMask",
|
|
28291
28291
|
props: {
|
|
@@ -22255,7 +22255,7 @@ const dP = ["for"], fP = {
|
|
|
22255
22255
|
})
|
|
22256
22256
|
}), {
|
|
22257
22257
|
default: I(() => [
|
|
22258
|
-
W(p(eP), { class: "block size-3.5 translate-x-[1px] rounded-full bg-white shadow-
|
|
22258
|
+
W(p(eP), { class: "block size-3.5 translate-x-[1px] rounded-full bg-white shadow-[var(--ui-shadow-card)] transition-transform duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] data-[state=checked]:translate-x-[15px]" })
|
|
22259
22259
|
]),
|
|
22260
22260
|
_: 1
|
|
22261
22261
|
}, 16, ["model-value", "disabled"]),
|
|
@@ -24261,7 +24261,7 @@ const EI = "-ml-1 flex items-center justify-start gap-1", PI = ["data-ui-data-vi
|
|
|
24261
24261
|
"data-ui-cell-primary": "",
|
|
24262
24262
|
"data-ui-tooltip-hint": e.openLabel,
|
|
24263
24263
|
disabled: e.openDisabled,
|
|
24264
|
-
class: te([o.value, "m-0 -mx-0.5 min-w-0 max-w-full rounded-[
|
|
24264
|
+
class: te([o.value, "m-0 -mx-0.5 min-w-0 max-w-full rounded-[var(--ui-radius-sm)] border-0 bg-transparent px-0.5 py-0 text-left text-[length:inherit] leading-5 text-[var(--ui-primary)] outline-none hover:underline focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)] disabled:cursor-default disabled:opacity-50 disabled:hover:no-underline"]),
|
|
24265
24265
|
onClick: a[0] || (a[0] = (s) => i.$emit("open"))
|
|
24266
24266
|
}, [
|
|
24267
24267
|
R(i.$slots, "default", {}, () => [
|
|
@@ -24302,7 +24302,7 @@ const EI = "-ml-1 flex items-center justify-start gap-1", PI = ["data-ui-data-vi
|
|
|
24302
24302
|
}, KI = {
|
|
24303
24303
|
"data-ui-cell-status-label": "",
|
|
24304
24304
|
tabindex: "0",
|
|
24305
|
-
class: "-mx-0.5 min-w-0 truncate rounded-[
|
|
24305
|
+
class: "-mx-0.5 min-w-0 truncate rounded-[var(--ui-radius-sm)] px-0.5 outline-none focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)]"
|
|
24306
24306
|
}, ZI = {
|
|
24307
24307
|
key: 1,
|
|
24308
24308
|
"data-ui-cell-status-label": "",
|
package/dist/reka-runtime.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"version": "2.10.5",
|
|
4
4
|
"delivery": "bundled-patched-esm",
|
|
5
5
|
"patchManifestSha256": "14f10159b60d48ac7a0686f58faf7a30e99898dc267b3c032cf2bdd6052dc52b",
|
|
6
|
-
"bundleSha256": "
|
|
6
|
+
"bundleSha256": "23e15ec7ecb2c685dacfa3858c93db435493f29bf3cbcab1ac2a4e97e1260eb7",
|
|
7
7
|
"sourceHashes": {
|
|
8
8
|
"shared/useBodyScrollLock.js": "657592f283cb6fd25454abd284a0024af21936cb56e05b762ff0d22b6a979d32",
|
|
9
9
|
"DismissableLayer/DismissableLayer.js": "da05ca544d9822a8e2b71057e78c0e1ef59423aa3893534338fb58e1ecbd1a8d",
|