@jskit-ai/console-web 0.1.145 → 0.1.147
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/package.json +4 -4
- package/patterns/console-surface/PATTERN.md +1 -0
- package/patterns/console-surface/example/src/pages/console/index.vue +5 -24
- package/patterns/console-surface/example/src/pages/console/settings/index.vue +0 -1
- package/patterns/console-surface/example/src/pages/console/settings.vue +0 -14
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/console-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.147",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node --test"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@jskit-ai/console-core": "0.1.
|
|
9
|
+
"@jskit-ai/console-core": "0.1.142"
|
|
10
10
|
},
|
|
11
11
|
"description": "Authenticated console surface scaffold and surface policy wiring.",
|
|
12
12
|
"jskit": {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|
|
111
|
-
"@jskit-ai/auth-web": "0.1.
|
|
112
|
-
"@jskit-ai/shell-web": "0.1.
|
|
111
|
+
"@jskit-ai/auth-web": "0.1.179",
|
|
112
|
+
"@jskit-ai/shell-web": "0.1.183"
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -31,6 +31,7 @@ placement, and topology APIs for application composition.
|
|
|
31
31
|
## Invariants
|
|
32
32
|
|
|
33
33
|
- Server policy enforces console access before application actions run.
|
|
34
|
+
- Route pages do not add a page header or standalone heading by default.
|
|
34
35
|
- The surface definition and route pages use the same surface id.
|
|
35
36
|
- The profile switch is visible only to authorized authenticated users.
|
|
36
37
|
- Settings navigation uses semantic placements and responsive topology.
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<section class="console-home-screen d-flex flex-column ga-4">
|
|
3
|
-
<
|
|
4
|
-
<div>
|
|
5
|
-
<p class="text-overline text-medium-emphasis mb-1">Console</p>
|
|
6
|
-
<h1 class="console-home-screen__title">Operations Console</h1>
|
|
7
|
-
<p class="text-body-2 text-medium-emphasis mb-0">Operator tools, scripts, and diagnostics.</p>
|
|
8
|
-
</div>
|
|
3
|
+
<div class="console-home-screen__actions">
|
|
9
4
|
<v-btn color="primary" variant="flat" to="/home">Back to home</v-btn>
|
|
10
|
-
</
|
|
5
|
+
</div>
|
|
11
6
|
|
|
12
7
|
<v-sheet rounded="lg" border class="console-home-screen__panel">
|
|
13
8
|
<div class="console-home-screen__status-row">
|
|
@@ -22,19 +17,9 @@
|
|
|
22
17
|
</template>
|
|
23
18
|
|
|
24
19
|
<style scoped>
|
|
25
|
-
.console-home-
|
|
26
|
-
align-items: flex-start;
|
|
20
|
+
.console-home-screen__actions {
|
|
27
21
|
display: flex;
|
|
28
|
-
|
|
29
|
-
justify-content: space-between;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.console-home-screen__title {
|
|
33
|
-
font-size: clamp(1.5rem, 2.5vw, 2.25rem);
|
|
34
|
-
font-weight: 700;
|
|
35
|
-
letter-spacing: -0.03em;
|
|
36
|
-
line-height: 1.1;
|
|
37
|
-
margin: 0 0 0.4rem;
|
|
22
|
+
justify-content: flex-end;
|
|
38
23
|
}
|
|
39
24
|
|
|
40
25
|
.console-home-screen__panel {
|
|
@@ -50,11 +35,7 @@
|
|
|
50
35
|
}
|
|
51
36
|
|
|
52
37
|
@media (max-width: 640px) {
|
|
53
|
-
.console-home-
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.console-home-screen__header :deep(.v-btn) {
|
|
38
|
+
.console-home-screen__actions :deep(.v-btn) {
|
|
58
39
|
min-height: 48px;
|
|
59
40
|
width: 100%;
|
|
60
41
|
}
|
|
@@ -5,12 +5,6 @@ import { RouterView } from "vue-router";
|
|
|
5
5
|
|
|
6
6
|
<template>
|
|
7
7
|
<section class="settings-shell d-flex flex-column ga-4">
|
|
8
|
-
<header>
|
|
9
|
-
<p class="text-overline text-medium-emphasis mb-1">Console</p>
|
|
10
|
-
<h1 class="settings-shell__title">Console settings</h1>
|
|
11
|
-
<p class="text-body-2 text-medium-emphasis mb-0">Global configuration and reference data for the whole app.</p>
|
|
12
|
-
</header>
|
|
13
|
-
|
|
14
8
|
<v-sheet rounded="lg" border class="settings-shell__panel">
|
|
15
9
|
<nav class="settings-shell__nav" aria-label="Console settings sections">
|
|
16
10
|
<v-list nav density="compact" class="settings-shell__nav-list">
|
|
@@ -25,14 +19,6 @@ import { RouterView } from "vue-router";
|
|
|
25
19
|
</template>
|
|
26
20
|
|
|
27
21
|
<style scoped>
|
|
28
|
-
.settings-shell__title {
|
|
29
|
-
font-size: clamp(1.35rem, 2vw, 1.85rem);
|
|
30
|
-
font-weight: 650;
|
|
31
|
-
letter-spacing: -0.02em;
|
|
32
|
-
line-height: 1.15;
|
|
33
|
-
margin: 0 0 0.35rem;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
22
|
.settings-shell__panel {
|
|
37
23
|
display: grid;
|
|
38
24
|
gap: 1rem;
|