@jskit-ai/shell-web 0.1.95 → 0.1.97

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.
@@ -1,7 +1,7 @@
1
1
  export default Object.freeze({
2
2
  packageVersion: 1,
3
3
  packageId: "@jskit-ai/shell-web",
4
- version: "0.1.95",
4
+ version: "0.1.97",
5
5
  kind: "runtime",
6
6
  description: "Web shell layout runtime with outlet-based placement contributions.",
7
7
  dependsOn: [],
@@ -28,6 +28,13 @@ export default Object.freeze({
28
28
  }
29
29
  },
30
30
  metadata: {
31
+ client: {
32
+ optimizeDeps: {
33
+ exclude: [
34
+ "@jskit-ai/shell-web/client"
35
+ ]
36
+ }
37
+ },
31
38
  apiSummary: {
32
39
  surfaces: [
33
40
  {
@@ -300,7 +307,7 @@ export default Object.freeze({
300
307
  dependencies: {
301
308
  runtime: {
302
309
  "@mdi/js": "^7.4.47",
303
- "@jskit-ai/kernel": "0.1.96"
310
+ "@jskit-ai/kernel": "0.1.98"
304
311
  },
305
312
  dev: {}
306
313
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/shell-web",
3
- "version": "0.1.95",
3
+ "version": "0.1.97",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@mdi/js": "^7.4.47",
31
- "@jskit-ai/kernel": "0.1.96"
31
+ "@jskit-ai/kernel": "0.1.98"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "pinia": "^3.0.4",
@@ -61,6 +61,7 @@ const resolvedIcon = computed(() =>
61
61
  <template>
62
62
  <v-list-item
63
63
  v-if="resolvedTarget.href"
64
+ class="shell-menu-link-item"
64
65
  :title="props.label"
65
66
  :to="resolvedTarget.sameOrigin ? resolvedTarget.href : undefined"
66
67
  :href="resolvedTarget.sameOrigin ? undefined : resolvedTarget.href"
@@ -69,3 +70,9 @@ const resolvedIcon = computed(() =>
69
70
  :exact="props.exact"
70
71
  />
71
72
  </template>
73
+
74
+ <style scoped>
75
+ .shell-menu-link-item {
76
+ min-height: 48px;
77
+ }
78
+ </style>
@@ -106,6 +106,7 @@ const resolvedIcon = computed(() =>
106
106
  <template>
107
107
  <v-list-item
108
108
  v-if="resolvedTarget.href"
109
+ class="shell-menu-link-item"
109
110
  :title="props.label"
110
111
  :to="resolvedTarget.sameOrigin ? resolvedTarget.href : undefined"
111
112
  :href="resolvedTarget.sameOrigin ? undefined : resolvedTarget.href"
@@ -114,3 +115,9 @@ const resolvedIcon = computed(() =>
114
115
  :exact="props.exact"
115
116
  />
116
117
  </template>
118
+
119
+ <style scoped>
120
+ .shell-menu-link-item {
121
+ min-height: 48px;
122
+ }
123
+ </style>
@@ -151,8 +151,12 @@ test("shell-web generic link items support the expected shared route and icon be
151
151
 
152
152
  assert.match(shellMenuSource, /exact:\s*\{/);
153
153
  assert.match(shellMenuSource, /:exact="props\.exact"/);
154
+ assert.match(shellMenuSource, /class="shell-menu-link-item"/);
155
+ assert.match(shellMenuSource, /min-height:\s*48px/);
154
156
  assert.match(shellSurfaceAwareSource, /exact:\s*\{/);
155
157
  assert.match(shellSurfaceAwareSource, /:exact="props\.exact"/);
158
+ assert.match(shellSurfaceAwareSource, /class="shell-menu-link-item"/);
159
+ assert.match(shellSurfaceAwareSource, /min-height:\s*48px/);
156
160
  assert.match(shellTabSource, /icon:\s*\{/);
157
161
  assert.match(shellTabSource, /resolveMenuLinkIcon/);
158
162
  assert.match(shellTabSource, /<v-btn/);
@@ -316,6 +316,10 @@ test("shell-web placement topology seeds global actions as a semantic shell plac
316
316
  });
317
317
 
318
318
  test("shell-web descriptor metadata advertises adaptive shell outlets, default links, and installs the scaffold page", () => {
319
+ assert.deepEqual(descriptor?.metadata?.client?.optimizeDeps?.exclude, [
320
+ "@jskit-ai/shell-web/client"
321
+ ]);
322
+
319
323
  assert.deepEqual(readClientContainerTokens(), [
320
324
  "runtime.web-placement.client",
321
325
  "runtime.web-bootstrap.client",