@xleddyl/443-components-vue 0.16.35 → 0.16.36
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/CATALOG.md +5 -3
- package/README.md +28 -15
- package/dist/components/layout/Breadcrumbs.vue +7 -2
- package/dist/components/layout/Breadcrumbs.vue.d.ts +4 -1
- package/dist/components/layout/types.d.ts +1 -0
- package/dist/components/templates/AuthLayout.vue +53 -40
- package/dist/components/templates/AuthLayout.vue.d.ts +20 -21
- package/dist/components/templates/AuthLogin.vue +220 -0
- package/dist/components/templates/AuthLogin.vue.d.ts +469 -0
- package/dist/components/templates/AuthLogout.vue +82 -0
- package/dist/components/templates/AuthLogout.vue.d.ts +456 -0
- package/dist/components/templates/auth.d.ts +4 -0
- package/dist/components/templates/auth.mjs +17 -0
- package/dist/components/templates/index.d.ts +3 -0
- package/dist/components/templates/index.mjs +3 -0
- package/dist/components/templates/types.d.ts +27 -2
- package/dist/locale/de.mjs +18 -1
- package/dist/locale/en.mjs +18 -1
- package/dist/locale/it.mjs +18 -1
- package/dist/locale/types.d.ts +17 -0
- package/dist/nuxt/runtime/layouts/auth.vue +0 -1
- package/dist/styles/layout/breadcrumbs.css +28 -0
- package/dist/styles/shared.css +1 -0
- package/dist/styles/templates/auth-layout.css +88 -40
- package/package.json +1 -1
package/dist/locale/types.d.ts
CHANGED
|
@@ -132,6 +132,23 @@ export interface KMessages {
|
|
|
132
132
|
};
|
|
133
133
|
auth: {
|
|
134
134
|
aside: string;
|
|
135
|
+
loginTitle: string;
|
|
136
|
+
email: string;
|
|
137
|
+
emailPlaceholder: string;
|
|
138
|
+
emailInvalid: string;
|
|
139
|
+
password: string;
|
|
140
|
+
continue: string;
|
|
141
|
+
signIn: string;
|
|
142
|
+
signedOutTitle: string;
|
|
143
|
+
signedOutTitleNamed: string;
|
|
144
|
+
signedOutDescription: string;
|
|
145
|
+
signedOutDescriptionEmail: string;
|
|
146
|
+
signInAgain: string;
|
|
147
|
+
otherAccount: string;
|
|
148
|
+
signingOut: string;
|
|
149
|
+
signOutFailed: string;
|
|
150
|
+
signOutFailedDescription: string;
|
|
151
|
+
backToSignIn: string;
|
|
135
152
|
};
|
|
136
153
|
avatar: {
|
|
137
154
|
label: string;
|
|
@@ -68,3 +68,31 @@
|
|
|
68
68
|
box-shadow: inset 0 0 0 1px var(--k-accent-line);
|
|
69
69
|
color: var(--k-accent-text);
|
|
70
70
|
}
|
|
71
|
+
|
|
72
|
+
.k-breadcrumbs-lg .k-breadcrumbs-list {
|
|
73
|
+
gap: 0.5rem;
|
|
74
|
+
font-size: 1.5rem;
|
|
75
|
+
font-weight: var(--k-font-weight-display, 650);
|
|
76
|
+
line-height: 1.2;
|
|
77
|
+
letter-spacing: -0.022em;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.k-breadcrumbs-lg .k-breadcrumbs-item {
|
|
81
|
+
--k-icon-size: 1.25rem;
|
|
82
|
+
gap: 0.5rem;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.k-breadcrumbs-lg .k-breadcrumbs-separator {
|
|
86
|
+
--k-icon-size: 1.25rem;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.k-breadcrumbs-lg .k-breadcrumbs-link {
|
|
90
|
+
margin-left: -0.375rem;
|
|
91
|
+
padding: 0.125rem 0.375rem;
|
|
92
|
+
border-radius: var(--k-radius-sm);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.k-breadcrumbs-lg .k-breadcrumbs-current {
|
|
96
|
+
font-weight: inherit;
|
|
97
|
+
overflow-wrap: anywhere;
|
|
98
|
+
}
|
package/dist/styles/shared.css
CHANGED
|
@@ -21,86 +21,83 @@
|
|
|
21
21
|
text-decoration: none;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
.k-auth-panel {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex: 1;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
min-width: 0;
|
|
29
|
+
min-height: var(--k-auth-height, 100dvh);
|
|
30
|
+
padding: 2rem 1.5rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.k-auth-top {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex: none;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
gap: 1rem;
|
|
39
|
+
min-height: 2.25rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
24
42
|
.k-auth-corner {
|
|
25
|
-
position: absolute;
|
|
26
|
-
top: 0.75rem;
|
|
27
|
-
right: 0.75rem;
|
|
28
|
-
z-index: 5;
|
|
29
43
|
display: flex;
|
|
30
44
|
align-items: center;
|
|
31
45
|
gap: 0.25rem;
|
|
46
|
+
margin-left: auto;
|
|
32
47
|
}
|
|
33
48
|
|
|
34
49
|
.k-auth-main {
|
|
35
50
|
display: flex;
|
|
36
51
|
flex: 1;
|
|
37
52
|
align-items: center;
|
|
38
|
-
justify-content: center;
|
|
39
53
|
min-width: 0;
|
|
40
|
-
padding:
|
|
54
|
+
padding-block: 2.5rem;
|
|
41
55
|
outline: none;
|
|
42
56
|
}
|
|
43
57
|
|
|
44
|
-
.k-auth-
|
|
58
|
+
.k-auth-content {
|
|
45
59
|
display: flex;
|
|
46
60
|
flex-direction: column;
|
|
47
|
-
gap:
|
|
61
|
+
gap: 2rem;
|
|
48
62
|
width: 100%;
|
|
49
|
-
max-width: var(--k-auth-width,
|
|
63
|
+
max-width: var(--k-auth-width, 24rem);
|
|
50
64
|
animation: k-rise var(--k-duration-xl) var(--k-ease-out) both;
|
|
51
65
|
}
|
|
52
66
|
|
|
53
67
|
.k-auth-header {
|
|
54
68
|
display: flex;
|
|
55
69
|
flex-direction: column;
|
|
56
|
-
align-items: center;
|
|
57
70
|
gap: 0.5rem;
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.k-auth-brand {
|
|
62
|
-
margin-bottom: 0.75rem;
|
|
71
|
+
min-width: 0;
|
|
63
72
|
}
|
|
64
73
|
|
|
65
74
|
.k-auth-title {
|
|
66
|
-
font-size: 1.
|
|
75
|
+
font-size: 1.5rem;
|
|
67
76
|
font-weight: var(--k-font-weight-display, 650);
|
|
68
77
|
line-height: 1.2;
|
|
69
78
|
letter-spacing: -0.022em;
|
|
79
|
+
overflow-wrap: anywhere;
|
|
70
80
|
color: var(--k-text);
|
|
71
81
|
}
|
|
72
82
|
|
|
73
|
-
.k-auth-title + .k-auth-description {
|
|
74
|
-
margin-top: -0.25rem;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
83
|
.k-auth-description {
|
|
78
|
-
|
|
79
|
-
|
|
84
|
+
font-size: 0.875rem;
|
|
85
|
+
overflow-wrap: anywhere;
|
|
80
86
|
color: var(--k-text-muted);
|
|
81
87
|
}
|
|
82
88
|
|
|
83
|
-
.k-auth-
|
|
89
|
+
.k-auth-body {
|
|
84
90
|
display: flex;
|
|
85
91
|
flex-direction: column;
|
|
86
92
|
gap: 1rem;
|
|
87
|
-
padding: 1.5rem;
|
|
88
|
-
border: 1px solid var(--k-line);
|
|
89
|
-
border-radius: var(--k-radius-xl);
|
|
90
|
-
background: var(--k-surface);
|
|
91
|
-
box-shadow:
|
|
92
|
-
var(--k-shadow-sm),
|
|
93
|
-
0 24px 48px -24px var(--k-shadow-tint-strong);
|
|
94
93
|
}
|
|
95
94
|
|
|
96
95
|
.k-auth-links {
|
|
97
96
|
display: flex;
|
|
98
97
|
flex-wrap: wrap;
|
|
99
|
-
justify-content: center;
|
|
100
98
|
gap: 0.25rem 0.375rem;
|
|
101
|
-
margin-top: -
|
|
99
|
+
margin-top: -1rem;
|
|
102
100
|
font-size: 0.8125rem;
|
|
103
|
-
text-align: center;
|
|
104
101
|
color: var(--k-text-muted);
|
|
105
102
|
}
|
|
106
103
|
|
|
@@ -116,16 +113,37 @@
|
|
|
116
113
|
}
|
|
117
114
|
|
|
118
115
|
.k-auth-footer {
|
|
116
|
+
flex: none;
|
|
119
117
|
font-size: 0.75rem;
|
|
120
|
-
text-align: center;
|
|
121
118
|
color: var(--k-text-muted);
|
|
122
119
|
}
|
|
123
120
|
|
|
121
|
+
.k-auth-step-enter-active {
|
|
122
|
+
transition:
|
|
123
|
+
opacity var(--k-duration-lg) var(--k-ease-out),
|
|
124
|
+
translate var(--k-duration-lg) var(--k-ease-out);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.k-auth-step-leave-active {
|
|
128
|
+
transition: opacity var(--k-duration) var(--k-ease);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.k-auth-step-enter-from {
|
|
132
|
+
opacity: 0;
|
|
133
|
+
translate: 0 0.25rem;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.k-auth-step-leave-to {
|
|
137
|
+
opacity: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
124
140
|
.k-auth-aside {
|
|
125
|
-
position:
|
|
141
|
+
position: sticky;
|
|
142
|
+
top: 0.5rem;
|
|
126
143
|
display: none;
|
|
127
144
|
flex: 1;
|
|
128
145
|
min-width: 0;
|
|
146
|
+
height: calc(var(--k-auth-height, 100dvh) - 1rem);
|
|
129
147
|
margin: 0.5rem 0.5rem 0.5rem 0;
|
|
130
148
|
overflow: hidden;
|
|
131
149
|
border-radius: var(--k-radius-xl);
|
|
@@ -214,16 +232,46 @@
|
|
|
214
232
|
color: color-mix(in oklab, var(--k-accent-contrast) 78%, transparent);
|
|
215
233
|
}
|
|
216
234
|
|
|
235
|
+
@container k-auth (min-width: 768px) {
|
|
236
|
+
.k-auth-panel {
|
|
237
|
+
padding: 2.5rem;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
217
241
|
@container k-auth (min-width: 960px) {
|
|
218
|
-
.k-auth-
|
|
219
|
-
flex: 0 0
|
|
242
|
+
.k-auth.has-aside .k-auth-panel {
|
|
243
|
+
flex: 0 0 45%;
|
|
220
244
|
}
|
|
221
245
|
|
|
222
|
-
.k-auth-
|
|
246
|
+
.k-auth-aside {
|
|
223
247
|
display: block;
|
|
224
248
|
}
|
|
249
|
+
}
|
|
225
250
|
|
|
226
|
-
|
|
227
|
-
|
|
251
|
+
@container k-auth (min-width: 1280px) {
|
|
252
|
+
.k-auth-panel {
|
|
253
|
+
padding-inline: 5rem;
|
|
228
254
|
}
|
|
229
255
|
}
|
|
256
|
+
|
|
257
|
+
.k-auth-login-form,
|
|
258
|
+
.k-auth-login-actions {
|
|
259
|
+
display: flex;
|
|
260
|
+
flex-direction: column;
|
|
261
|
+
gap: 1rem;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.k-auth-login-actions {
|
|
265
|
+
gap: 0.75rem;
|
|
266
|
+
transition: opacity var(--k-duration) var(--k-ease);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.k-auth-login-actions.is-pending {
|
|
270
|
+
opacity: 0;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.k-auth-logout-skeleton {
|
|
274
|
+
width: 100%;
|
|
275
|
+
height: 2.75rem;
|
|
276
|
+
border-radius: var(--k-radius-md);
|
|
277
|
+
}
|
package/package.json
CHANGED