cauthy-auth 0.35.0 → 0.35.2
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/README.md +1 -1
- package/dist/react.d.mts +0 -2
- package/dist/react.d.ts +0 -2
- package/dist/react.js +28 -11
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +29 -12
- package/dist/react.mjs.map +1 -1
- package/dist/styles.css +12 -6
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -185,8 +185,9 @@
|
|
|
185
185
|
|
|
186
186
|
/*
|
|
187
187
|
* Under way: the pressed button keeps its label with a spinner before it, in
|
|
188
|
-
* the button's own colour; a form still opening
|
|
189
|
-
*
|
|
188
|
+
* the button's own colour; a form still opening shows the spinner alone. An
|
|
189
|
+
* icon and never words: the application may be in any language. Without
|
|
190
|
+
* motion, the ring stays still and pulses nothing: it only shows.
|
|
190
191
|
*/
|
|
191
192
|
:where([data-cauthy] .cauthy-spinner) {
|
|
192
193
|
display: inline-block;
|
|
@@ -224,14 +225,18 @@
|
|
|
224
225
|
|
|
225
226
|
/* ── Words around the form ───────────────────────────────────────────────── */
|
|
226
227
|
|
|
228
|
+
/* Always underlined: an action the size of a sentence ("Forgot password?",
|
|
229
|
+
"Create an account") has to look like the link it is, not plain text. */
|
|
227
230
|
:where([data-cauthy] .cauthy-link) {
|
|
228
231
|
color: var(--cauthy-accent);
|
|
229
232
|
font-size: 13px;
|
|
230
|
-
|
|
233
|
+
font-weight: 500;
|
|
234
|
+
text-decoration: underline;
|
|
235
|
+
text-underline-offset: 3px;
|
|
231
236
|
}
|
|
232
237
|
|
|
233
238
|
:where([data-cauthy] .cauthy-link:hover) {
|
|
234
|
-
text-decoration:
|
|
239
|
+
text-decoration-thickness: 2px;
|
|
235
240
|
}
|
|
236
241
|
|
|
237
242
|
:where([data-cauthy] .cauthy-separator) {
|
|
@@ -256,12 +261,13 @@
|
|
|
256
261
|
color: var(--cauthy-text-muted);
|
|
257
262
|
}
|
|
258
263
|
|
|
259
|
-
/* A form still opening:
|
|
264
|
+
/* A form still opening: its spinner alone, in the middle. */
|
|
260
265
|
:where([data-cauthy] .cauthy-pending) {
|
|
261
266
|
display: flex;
|
|
262
267
|
align-items: center;
|
|
263
|
-
|
|
268
|
+
justify-content: center;
|
|
264
269
|
margin: 0;
|
|
270
|
+
padding: 16px 0;
|
|
265
271
|
color: var(--cauthy-text-muted);
|
|
266
272
|
}
|
|
267
273
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cauthy-auth",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.2",
|
|
4
4
|
"description": "Sign in with Cauthy: one route to mount, getSession on the server, useSession in the browser. No database, no screens to build.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.js",
|