@jskit-ai/auth-web 0.1.128 → 0.1.130

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/auth-web",
4
- "version": "0.1.128",
4
+ "version": "0.1.130",
5
5
  "kind": "runtime",
6
6
  "description": "Auth web module: Fastify auth routes plus web login/sign-out scaffolds.",
7
7
  "dependsOn": [
@@ -264,10 +264,10 @@ export default Object.freeze({
264
264
  "dependencies": {
265
265
  "runtime": {
266
266
  "@mdi/js": "^7.4.47",
267
- "@jskit-ai/auth-core": "0.1.125",
268
- "@jskit-ai/http-runtime": "0.1.126",
269
- "@jskit-ai/kernel": "0.1.128",
270
- "@jskit-ai/shell-web": "0.1.129"
267
+ "@jskit-ai/auth-core": "0.1.127",
268
+ "@jskit-ai/http-runtime": "0.1.128",
269
+ "@jskit-ai/kernel": "0.1.130",
270
+ "@jskit-ai/shell-web": "0.1.131"
271
271
  },
272
272
  "dev": {}
273
273
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/auth-web",
3
- "version": "0.1.128",
3
+ "version": "0.1.130",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -20,11 +20,11 @@
20
20
  "./test/playwright": "./src/test/playwright.js"
21
21
  },
22
22
  "dependencies": {
23
- "@jskit-ai/auth-core": "0.1.125",
23
+ "@jskit-ai/auth-core": "0.1.127",
24
24
  "@mdi/js": "^7.4.47",
25
- "@jskit-ai/kernel": "0.1.128",
26
- "@jskit-ai/shell-web": "0.1.129",
27
- "@jskit-ai/http-runtime": "0.1.126"
25
+ "@jskit-ai/kernel": "0.1.130",
26
+ "@jskit-ai/shell-web": "0.1.131",
27
+ "@jskit-ai/http-runtime": "0.1.128"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@tanstack/vue-query": "^5.90.5",
@@ -63,7 +63,7 @@ const placementContext = computed(() => {
63
63
  <template>
64
64
  <v-menu location="bottom end" offset="10">
65
65
  <template #activator="{ props }">
66
- <v-btn v-bind="props" variant="text" class="text-none pl-1 pr-2">
66
+ <v-btn v-bind="props" variant="text" class="auth-profile-widget__activator text-none pl-1 pr-2">
67
67
  <v-avatar size="32" color="primary" variant="tonal">
68
68
  <v-img v-if="avatarUrl" :src="avatarUrl" cover />
69
69
  <span v-else class="text-caption font-weight-medium">{{ initials }}</span>
@@ -80,3 +80,9 @@ const placementContext = computed(() => {
80
80
  </v-list>
81
81
  </v-menu>
82
82
  </template>
83
+
84
+ <style scoped>
85
+ .auth-profile-widget__activator {
86
+ min-height: 48px;
87
+ }
88
+ </style>
@@ -78,6 +78,14 @@ test("auth-web client provider registers a mobile auth callback completion token
78
78
  assert.match(providerSource, /completeOAuthCallbackFromUrl/);
79
79
  });
80
80
 
81
+ test("auth profile activator preserves the generated tap-target contract", () => {
82
+ const widgetPath = fileURLToPath(new URL("../src/client/views/AuthProfileWidget.vue", import.meta.url));
83
+ const widgetSource = readFileSync(widgetPath, "utf8");
84
+
85
+ assert.match(widgetSource, /class="auth-profile-widget__activator text-none pl-1 pr-2"/);
86
+ assert.match(widgetSource, /\.auth-profile-widget__activator\s*\{[\s\S]*min-height:\s*48px;/);
87
+ });
88
+
81
89
  test("default login view owns the viewport and becomes a full-screen mobile screen", () => {
82
90
  const viewPath = fileURLToPath(new URL("../src/client/views/DefaultLoginView.vue", import.meta.url));
83
91
  const viewSource = readFileSync(viewPath, "utf8");