@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/docs/adaptive-layout.md
CHANGED
|
@@ -127,12 +127,15 @@ import {
|
|
|
127
127
|
a full-page Portal to enable the full-page layout at 1200px or wider.
|
|
128
128
|
- `AppLayout` defaults to `responsive=true`. Set `:responsive="false"`
|
|
129
129
|
only if the host application intentionally implements its own complete responsive shell.
|
|
130
|
-
- `PageContent surface="auto"` puts the page straight on
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
the
|
|
135
|
-
|
|
130
|
+
- `PageContent surface="auto"` puts the page straight on the content area: flush
|
|
131
|
+
beside the sidebar and under the toolbar, at the DSM window's page padding,
|
|
132
|
+
with no card, border or outer margin around it. The area is white, unless the
|
|
133
|
+
page holds a card (`Card`, `Surface`): then it is the page grey
|
|
134
|
+
(`--ui-bg`, the web canvas) and the cards lift off it with a 1px frame and
|
|
135
|
+
`--ui-shadow-card`, as on DSM's own card pages. `surface="card"` always stays
|
|
136
|
+
white. `surface="flat"` always takes the grey canvas, for multi-card
|
|
137
|
+
dashboards. All three behave the same in the web, DSM-window and mobile
|
|
138
|
+
presentations.
|
|
136
139
|
`surface="none"` adds no page surface and removes the horizontal page gutters
|
|
137
140
|
in **all** presentations, for editors or standalone content that owns its
|
|
138
141
|
layout. It preserves width limits, fill height and section gaps; it does not
|
|
@@ -221,10 +224,10 @@ any ancestor. Light defaults and the dark values the workbench uses:
|
|
|
221
224
|
|
|
222
225
|
| Token | Light (default) | Dark |
|
|
223
226
|
| --- | --- | --- |
|
|
224
|
-
| `--ui-app-web-canvas` | `var(--ui-
|
|
225
|
-
| `--ui-app-web-surface` | `var(--ui-surface)` | `#
|
|
227
|
+
| `--ui-app-web-canvas` | `var(--ui-bg)` (`#f0f2f5`) | `var(--ui-bg)` (`#11161c`) |
|
|
228
|
+
| `--ui-app-web-surface` | `var(--ui-surface)` | `var(--ui-surface)` (`#1f2832`) |
|
|
226
229
|
| `--ui-app-web-border` | `var(--ui-gray-a6)` | `#34404d` |
|
|
227
|
-
| `--ui-app-web-shadow` | `
|
|
230
|
+
| `--ui-app-web-shadow` | `var(--ui-shadow-card)` | `var(--ui-shadow-card)` |
|
|
228
231
|
| `--ui-web-sidebar-collapsed-width` | `64px` | same |
|
|
229
232
|
|
|
230
233
|
`AppLayout navigation="top"` puts the navigation in a bar above the page in the
|
package/docs/color-system.md
CHANGED
|
@@ -39,7 +39,8 @@ at 7:1 or more (`tests/css/palette.test.ts`).
|
|
|
39
39
|
|
|
40
40
|
| Role | Step | DSM 7 |
|
|
41
41
|
| --- | --- | --- |
|
|
42
|
-
| `--ui-bg
|
|
42
|
+
| `--ui-bg` | `#f0f2f5` (between `gray-2` and `gray-3`) | the page behind cards: the cool grey of Storage Manager's Overview (`rgb(244 248 250)`), one step deeper |
|
|
43
|
+
| `--ui-surface`, `--ui-surface-raised` | `gray-1` | white window, cards and panels; menus and dialogs add a shadow |
|
|
43
44
|
| `--ui-surface-subtle`, `--ui-surface-inset` | `gray-a2` | grey block, 18% of `#c6d4e0` |
|
|
44
45
|
| `--ui-surface-hover` | `accent-a2` | list row hover, 4% blue |
|
|
45
46
|
| `--ui-surface-selected`, `--ui-primary-soft` | `accent-a3` | selected row and nav item, 10% blue |
|