@zoreal/oauth2-js 0.1.16 → 0.1.17
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/dist/index.cjs +15 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -60,7 +60,7 @@ function unsafeClaims(idToken) {
|
|
|
60
60
|
|
|
61
61
|
// src/wire.ts
|
|
62
62
|
var WIRE_VERSION = 1;
|
|
63
|
-
var SDK_VERSION = "0.1.
|
|
63
|
+
var SDK_VERSION = "0.1.17";
|
|
64
64
|
var SDK_NAME = "@zoreal/oauth2-js";
|
|
65
65
|
var DEFAULT_ISSUER = "https://id.zoreal.com";
|
|
66
66
|
var POLL_INTERVAL_MS = 2e3;
|
|
@@ -1441,10 +1441,15 @@ var CSS = `
|
|
|
1441
1441
|
sides and lights two edges at once near the ends. So here the light is a
|
|
1442
1442
|
dash on an SVG outline, which moves at one speed the whole way round
|
|
1443
1443
|
whatever the shape, drawn with the well's tokens: its colour and head
|
|
1444
|
-
tint, its line width, its halo, its four second lap.
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1444
|
+
tint, its line width, its halo, its four second lap. The outline's length
|
|
1445
|
+
is measured by the component and set as --zrl-ring-len, and every dash
|
|
1446
|
+
and offset is a fraction of it, because pathLength does not scale dash
|
|
1447
|
+
values given from CSS. A stroke cannot fade along its length, so the tail
|
|
1448
|
+
is a stack of dashes sharing one head, each shorter and more opaque than
|
|
1449
|
+
the one under it, with opacities chosen so the stack composes to a
|
|
1450
|
+
straight fade from the head to nothing three tenths of the way back; the
|
|
1451
|
+
component sets each layer's length, offset and opacity. Shown only while
|
|
1452
|
+
busy. */
|
|
1448
1453
|
.${PREFIX}-ring {
|
|
1449
1454
|
position: relative;
|
|
1450
1455
|
display: inline-flex;
|
|
@@ -1463,6 +1468,7 @@ var CSS = `
|
|
|
1463
1468
|
}
|
|
1464
1469
|
.${PREFIX}-ring[data-busy="true"] > .${PREFIX}-ring-svg { opacity: 1; }
|
|
1465
1470
|
.${PREFIX}-ring-svg rect {
|
|
1471
|
+
--zrl-l: var(--zrl-ring-len, 600px);
|
|
1466
1472
|
x: 2px;
|
|
1467
1473
|
y: 2px;
|
|
1468
1474
|
width: calc(100% - 4px);
|
|
@@ -1471,23 +1477,18 @@ var CSS = `
|
|
|
1471
1477
|
stroke: var(--zrl-beam);
|
|
1472
1478
|
stroke-width: var(--zrl-beam-line);
|
|
1473
1479
|
stroke-linecap: round;
|
|
1480
|
+
stroke-dashoffset: var(--zrl-s, 0px);
|
|
1474
1481
|
animation: ${PREFIX}-dash var(--zrl-beam-time) linear infinite;
|
|
1475
1482
|
}
|
|
1476
|
-
.${PREFIX}-ring-
|
|
1477
|
-
.${PREFIX}-ring-body { stroke-dasharray: 16 84; stroke-dashoffset: -14; opacity: 0.8; }
|
|
1478
|
-
.${PREFIX}-ring-head { stroke-dasharray: 5 95; stroke-dashoffset: -25; stroke: var(--zrl-beam-head); }
|
|
1483
|
+
.${PREFIX}-ring-head { stroke: var(--zrl-beam-head); }
|
|
1479
1484
|
.${PREFIX}-ring-halo {
|
|
1480
|
-
stroke-dasharray: 30 70;
|
|
1481
|
-
stroke-dashoffset: 0;
|
|
1482
1485
|
stroke-width: calc(var(--zrl-glow-core) * 2 + var(--zrl-beam-line));
|
|
1483
|
-
opacity: calc(var(--zrl-glow-opacity) * 0.5);
|
|
1484
1486
|
filter: blur(var(--zrl-glow-blur));
|
|
1485
1487
|
}
|
|
1486
1488
|
@keyframes ${PREFIX}-dash {
|
|
1487
|
-
|
|
1489
|
+
from { stroke-dashoffset: var(--zrl-s, 0px); }
|
|
1490
|
+
to { stroke-dashoffset: calc(var(--zrl-s, 0px) - var(--zrl-l)); }
|
|
1488
1491
|
}
|
|
1489
|
-
.${PREFIX}-ring-body { --zrl-dash-start: -14; }
|
|
1490
|
-
.${PREFIX}-ring-head { --zrl-dash-start: -25; }
|
|
1491
1492
|
@media (prefers-reduced-motion: reduce) {
|
|
1492
1493
|
.${PREFIX}-ring-svg rect { animation: none; stroke-dasharray: none; opacity: 0.45; }
|
|
1493
1494
|
.${PREFIX}-ring-halo, .${PREFIX}-ring-head { display: none; }
|