@jskit-ai/users-web 0.1.195 → 0.1.197
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 +8 -8
- package/patterns/account-settings/PATTERN.md +2 -0
- package/patterns/account-settings/example/src/components/account/settings/AccountSettingsNotificationsSection.vue +0 -14
- package/patterns/account-settings/example/src/components/account/settings/AccountSettingsPreferencesSection.vue +0 -14
- package/patterns/account-settings/example/src/components/account/settings/AccountSettingsProfileSection.vue +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/users-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.197",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node --test"
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"./client/account-settings/sections": "./src/client/account-settings/sections.js"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@jskit-ai/uploads-image-web": "0.1.
|
|
16
|
-
"@jskit-ai/users-core": "0.1.
|
|
15
|
+
"@jskit-ai/uploads-image-web": "0.1.154",
|
|
16
|
+
"@jskit-ai/users-core": "0.1.192"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@jskit-ai/auth-web": "0.1.
|
|
20
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
21
|
-
"@jskit-ai/http-web": "0.1.
|
|
22
|
-
"@jskit-ai/kernel": "0.1.
|
|
23
|
-
"@jskit-ai/shell-web": "0.1.
|
|
19
|
+
"@jskit-ai/auth-web": "0.1.179",
|
|
20
|
+
"@jskit-ai/http-runtime": "0.1.177",
|
|
21
|
+
"@jskit-ai/http-web": "0.1.24",
|
|
22
|
+
"@jskit-ai/kernel": "0.1.179",
|
|
23
|
+
"@jskit-ai/shell-web": "0.1.183",
|
|
24
24
|
"@tanstack/vue-query": "^5.90.5",
|
|
25
25
|
"vue": "^3.5.13",
|
|
26
26
|
"vue-router": "^5.0.4",
|
|
@@ -31,6 +31,8 @@ ordinary `useCommand()` mutation behavior, and JSKIT shell placements.
|
|
|
31
31
|
## Invariants
|
|
32
32
|
|
|
33
33
|
- Sections use JSKIT account settings APIs rather than direct HTTP helpers.
|
|
34
|
+
- Settings pages and sections do not add headers or standalone headings by
|
|
35
|
+
default.
|
|
34
36
|
- Cached resource data hydrates local writable fields immediately.
|
|
35
37
|
- Mutation errors use the standard toast and do not push the form down.
|
|
36
38
|
- Loading uses layout-stable skeletons, never an indeterminate spinner.
|
|
@@ -11,9 +11,6 @@ const notifications = props.runtime.notifications;
|
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
13
|
<v-sheet rounded="lg" border class="account-settings-section">
|
|
14
|
-
<header class="account-settings-section__header">
|
|
15
|
-
<h2 class="account-settings-section__title">Notifications</h2>
|
|
16
|
-
</header>
|
|
17
14
|
<div class="account-settings-section__body">
|
|
18
15
|
<v-form @submit.prevent="notifications.submit" novalidate>
|
|
19
16
|
<v-switch
|
|
@@ -58,17 +55,6 @@ const notifications = props.runtime.notifications;
|
|
|
58
55
|
overflow: hidden;
|
|
59
56
|
}
|
|
60
57
|
|
|
61
|
-
.account-settings-section__header {
|
|
62
|
-
padding: 1rem 1rem 0;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.account-settings-section__title {
|
|
66
|
-
font-size: 1rem;
|
|
67
|
-
font-weight: 650;
|
|
68
|
-
line-height: 1.2;
|
|
69
|
-
margin: 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
58
|
.account-settings-section__body {
|
|
73
59
|
padding: 1rem;
|
|
74
60
|
}
|
|
@@ -11,9 +11,6 @@ const preferences = props.runtime.preferences;
|
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
13
|
<v-sheet rounded="lg" border class="account-settings-section">
|
|
14
|
-
<header class="account-settings-section__header">
|
|
15
|
-
<h2 class="account-settings-section__title">Preferences</h2>
|
|
16
|
-
</header>
|
|
17
14
|
<div class="account-settings-section__body">
|
|
18
15
|
<v-form @submit.prevent="preferences.submit" novalidate>
|
|
19
16
|
<v-row>
|
|
@@ -128,17 +125,6 @@ const preferences = props.runtime.preferences;
|
|
|
128
125
|
overflow: hidden;
|
|
129
126
|
}
|
|
130
127
|
|
|
131
|
-
.account-settings-section__header {
|
|
132
|
-
padding: 1rem 1rem 0;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.account-settings-section__title {
|
|
136
|
-
font-size: 1rem;
|
|
137
|
-
font-weight: 650;
|
|
138
|
-
line-height: 1.2;
|
|
139
|
-
margin: 0;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
128
|
.account-settings-section__body {
|
|
143
129
|
padding: 1rem;
|
|
144
130
|
}
|
|
@@ -11,9 +11,6 @@ const profile = props.runtime.profile;
|
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
13
|
<v-sheet rounded="lg" border class="account-settings-section">
|
|
14
|
-
<header class="account-settings-section__header">
|
|
15
|
-
<h2 class="account-settings-section__title">Profile</h2>
|
|
16
|
-
</header>
|
|
17
14
|
<div class="account-settings-section__body">
|
|
18
15
|
<v-form @submit.prevent="profile.submit" novalidate>
|
|
19
16
|
<v-row class="mb-2">
|
|
@@ -97,17 +94,6 @@ const profile = props.runtime.profile;
|
|
|
97
94
|
overflow: hidden;
|
|
98
95
|
}
|
|
99
96
|
|
|
100
|
-
.account-settings-section__header {
|
|
101
|
-
padding: 1rem 1rem 0;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.account-settings-section__title {
|
|
105
|
-
font-size: 1rem;
|
|
106
|
-
font-weight: 650;
|
|
107
|
-
line-height: 1.2;
|
|
108
|
-
margin: 0;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
97
|
.account-settings-section__body {
|
|
112
98
|
padding: 1rem;
|
|
113
99
|
}
|