@incodetech/web 2.0.0-alpha.11 → 2.0.0-alpha.12
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/aligndevicelottie-DlQCRPfM.js +29 -0
- package/dist/backdevicelottie-B4NgyWmX.js +29 -0
- package/dist/base.css +572 -14
- package/dist/baseTutorial-Be85FuyO.js +383 -0
- package/dist/blurdevicelottie-_BZRug1c.js +29 -0
- package/dist/email/email.es.js +4 -4
- package/dist/flip-animation-COR596wy.js +29 -0
- package/dist/flow/flow.es.js +248 -263
- package/dist/flow/styles.css +2088 -8
- package/dist/frontdevicelottie-KhKxT5n9.js +29 -0
- package/dist/glaredevicelottie-DLuIStvb.js +29 -0
- package/dist/id/id.es.js +1496 -0
- package/dist/id/styles.css +1587 -0
- package/dist/id-laser-h-BBV3r3rz.js +29 -0
- package/dist/id-laser-v-BTHJaSfx.js +29 -0
- package/dist/id-tutorial-B-F5Q28m.js +29 -0
- package/dist/{incodeModule-Dv8Qllrv.js → incodeModule-DR92HDjR.js} +11 -8
- package/dist/index.es.js +2 -2
- package/dist/{otpInput-BtoZe0Wz.js → otpInput-Dm1LhnDm.js} +2 -2
- package/dist/page-CITAo3qf.js +189 -0
- package/dist/passport-tutorial-CaYBFTqt.js +29 -0
- package/dist/phone/phone.es.js +4 -4
- package/dist/selfie/selfie.es.js +245 -533
- package/dist/selfie/styles.css +43 -0
- package/dist/selfieTutorial-Dm_p0ke9.js +29 -0
- package/dist/{setup-wNL83jmW.js → setup-BhetRn4n.js} +2 -2
- package/dist/spinner-CQtj_FFo.js +65 -0
- package/dist/themes/dark.css +145 -0
- package/dist/themes/light.css +145 -0
- package/dist/types/id.d.ts +34 -0
- package/dist/{uiConfig-CQ1W9cUD.js → uiConfig-DEqynrWx.js} +1 -1
- package/dist/{vendor-preact-CK0WeTOR.js → vendor-preact-CjD4WiuC.js} +124 -115
- package/package.json +11 -2
- package/dist/page-Dh_Zw2ik.js +0 -234
- package/dist/selfieTutorial-C-u5GufD.js +0 -29
- package/dist/title-BfO5Dlzk.js +0 -25
package/dist/selfie/styles.css
CHANGED
|
@@ -45,6 +45,10 @@
|
|
|
45
45
|
@layer incode-theme;
|
|
46
46
|
|
|
47
47
|
@layer incode-utilities {
|
|
48
|
+
.visible {
|
|
49
|
+
visibility: visible;
|
|
50
|
+
}
|
|
51
|
+
|
|
48
52
|
.absolute {
|
|
49
53
|
position: absolute;
|
|
50
54
|
}
|
|
@@ -149,6 +153,16 @@
|
|
|
149
153
|
|
|
150
154
|
@layer incode-base, incode-components;
|
|
151
155
|
|
|
156
|
+
@keyframes slideUp {
|
|
157
|
+
from {
|
|
158
|
+
transform: translateY(100%);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
to {
|
|
162
|
+
transform: translateY(0);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
152
166
|
.IncodeCameraButton {
|
|
153
167
|
justify-content: center;
|
|
154
168
|
align-items: center;
|
|
@@ -246,6 +260,18 @@
|
|
|
246
260
|
fill: var(--color-spinner-surface-secondary, var(--spinner-surface-secondary));
|
|
247
261
|
}
|
|
248
262
|
|
|
263
|
+
@keyframes fadeInScale {
|
|
264
|
+
from {
|
|
265
|
+
opacity: 0;
|
|
266
|
+
transform: scale(.95);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
to {
|
|
270
|
+
opacity: 1;
|
|
271
|
+
transform: scale(1);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
249
275
|
.IncodeCaptureSuccessPage .IncodeCaptureSuccessContainer {
|
|
250
276
|
flex-direction: column;
|
|
251
277
|
flex: 1;
|
|
@@ -327,6 +353,11 @@
|
|
|
327
353
|
|
|
328
354
|
.IncodeErrorModalContent .IncodeErrorModalContentAttemptsText {
|
|
329
355
|
text-align: center;
|
|
356
|
+
font-family: var(--primitive-typography-family-dm-sans);
|
|
357
|
+
font-size: var(--typography-body-lg-size);
|
|
358
|
+
font-weight: var(--typography-body-lg-weight);
|
|
359
|
+
line-height: var(--typography-body-lg-line-height);
|
|
360
|
+
letter-spacing: var(--typography-body-lg-letter-spacing);
|
|
330
361
|
font-size: var(--text-lg, 1.125rem);
|
|
331
362
|
line-height: var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));
|
|
332
363
|
--tw-leading: 114%;
|
|
@@ -397,6 +428,18 @@
|
|
|
397
428
|
color: var(--color-text-body-primary, var(--text-body-primary));
|
|
398
429
|
}
|
|
399
430
|
|
|
431
|
+
.IncodeSelfieTutorial {
|
|
432
|
+
--brand-color: var(--surface-brand-500);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg linearGradient#__lottie_element_29 stop {
|
|
436
|
+
stop-color: var(--brand-color);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g:first-child > g > g > g:nth-child(2) > g:nth-child(3) > g > path, .IncodeSelfieTutorial .IncodeBaseTutorialAnimation svg > g > g > g:first-child > g:first-child > g > g > g:nth-child(2) > g:first-child > g > path {
|
|
440
|
+
fill: var(--brand-color);
|
|
441
|
+
}
|
|
442
|
+
|
|
400
443
|
@property --tw-rotate-x {
|
|
401
444
|
syntax: "*";
|
|
402
445
|
inherits: false
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const i = "5.7.5", x = 100, o = 0, r = 398, y = 296, p = 296, a = "Comp 1", e = 0, t = {}, s = /* @__PURE__ */ JSON.parse('[{"id":"0","layers":[{"ddd":0,"refId":"1","w":297,"h":296,"ind":1,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0},{"ddd":0,"refId":"2","w":296,"h":296,"ind":2,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0}]},{"id":"3","layers":[{"ddd":0,"refId":"4","w":296,"h":296,"ind":3,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0},{"ddd":0,"ind":4,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[297,296],"ix":2},"p":{"a":0,"k":[148.5,148],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0,0,0],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0}],"ip":0,"op":399,"st":0}]},{"id":"1","layers":[{"ddd":0,"refId":"5","w":296,"h":296,"ind":5,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"td":1},{"ddd":0,"refId":"3","w":297,"h":296,"ind":1,"ty":0,"sr":1,"ks":{"p":{"a":0,"k":[148.5,148],"ix":2},"a":{"a":0,"k":[148.5,148],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"tt":1}]},{"id":"4","layers":[{"ddd":0,"ind":6,"ty":4,"nm":"gradient-layer","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","nm":"gradient-group","it":[{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[148,287],[148,287],[148,287],[9,148],[148,9],[287,148],[148,287]],"i":[[0,0],[0,0],[0,0],[0,76.768],[-76.768,0],[0,-76.768],[76.768,0]],"o":[[0,0],[0,0],[-76.768,0],[0,-76.768],[76.768,0],[0,76.768],[0,0]]}}},{"ty":"tr","o":{"a":0,"k":100,"ix":2}}]},{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[148,296],[296,148],[148,0],[0,148],[148,296],[148,296],[148,296]],"i":[[0,0],[0,81.738],[81.738,0],[0,-81.738],[-81.738,0],[0,0],[0,0]],"o":[[81.738,0],[0,-81.738],[-81.738,0],[0,81.738],[0,0],[0,0],[0,0]]}}},{"ty":"tr","o":{"a":0,"k":100,"ix":2}}]},{"ty":"gf","nm":"brand-gradient","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":2,"k":{"a":0,"k":[0,0,0.48,1,1,0,0.48,1,0,1,1,0],"ix":2}},"s":{"a":0,"k":[24.52,30.76],"ix":2},"e":{"a":0,"k":[217.54,256.77],"ix":2},"t":1},{"ty":"tr","o":{"a":0,"k":100,"ix":2}}]},{"ty":"tr","p":{"a":0,"k":[148,148],"ix":2},"a":{"a":0,"k":[148,148],"ix":2},"r":{"a":1,"k":[{"t":0,"s":[0],"i":{"x":[0.75],"y":[0.75]},"o":{"x":[0.25],"y":[0.25]}},{"t":200,"s":[360],"i":{"x":[0.75],"y":[0.75]},"o":{"x":[0.25],"y":[0.25]}},{"t":400,"s":[720]}],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0}]},{"id":"5","layers":[{"ddd":0,"ind":7,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[0.01,0],[295.99,0],[296,0.01],[296,295.99],[295.99,296],[0.01,296],[0,295.99],[0,0.01],[0.01,0],[0.01,0],[0.01,0]],"i":[[0,0],[0,0],[0,-0.005],[0,0],[0.005,0],[0,0],[0,0.005],[0,0],[-0.005,0],[0,0],[0,0]],"o":[[0,0],[0.006,0],[0,0],[0,0.006],[0,0],[-0.006,0],[0,0],[0,-0.006],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,1,0],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148,148],"ix":2},"a":{"a":0,"k":[148,148],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0}]},{"id":"2","layers":[{"ddd":0,"ind":8,"ty":3,"sr":1,"ks":{"p":{"a":0,"k":[25,148],"ix":2},"a":{"a":0,"k":[1,124],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0},{"ddd":0,"ind":9,"ty":3,"sr":1,"ks":{"p":{"a":1,"k":[{"t":67,"s":[1,124],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":157,"s":[244,124],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":241,"s":[1,124]}],"ix":2},"a":{"a":0,"k":[20,20],"ix":2},"s":{"a":1,"k":[{"t":67,"s":[150,288],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":96,"s":[150,622],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":157,"s":[150,232],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":184,"s":[150,666],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":241,"s":[150,288]}],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"parent":8},{"ddd":0,"ind":10,"ty":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"parent":9},{"ddd":0,"ind":11,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"td":1,"ao":0,"parent":10,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[40,20],[20,40],[0,20],[20,0],[40,20],[40,20],[40,20]],"i":[[0,0],[11.046,0],[0,11.046],[-11.046,0],[0,-11.046],[0,0],[0,0]],"o":[[0,11.046],[-11.046,0],[0,-11.046],[11.046,0],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,0,0],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","o":{"a":1,"k":[{"t":67,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":96,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":157,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":184,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":241,"s":[0]}],"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"refId":"6","w":41,"h":40,"ind":12,"ty":0,"sr":1,"ks":{"p":{"a":0,"k":[0,0],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"parent":10,"tt":1},{"ddd":0,"refId":"7","w":297,"h":296,"ind":13,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0}]},{"id":"6","layers":[{"ddd":0,"ind":14,"ty":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0},{"ddd":0,"ind":15,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"parent":14,"shapes":[{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[81.6,81.6],"ix":2},"p":{"a":0,"k":[20,19.21],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"tr","o":{"a":0,"k":100,"ix":2}}]},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":6,"k":{"a":0,"k":[0,1,1,1,0.115,1,1,1,0.2094,1,1,1,0.7074,1,1,1,0.8664,1,1,1,1,1,1,1,0,1,0.115,1,0.2094,0.88,0.708,0.23,0.8664,0.08,1,0],"ix":2}},"s":{"a":0,"k":[20,19.21],"ix":2},"e":{"a":0,"k":[20,0.88],"ix":2},"t":2},{"ty":"tr","p":{"a":0,"k":[20,19.21],"ix":2},"a":{"a":0,"k":[20,19.21],"ix":2},"o":{"a":0,"k":100,"ix":2}}]},{"ty":"tr","o":{"a":1,"k":[{"t":67,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":96,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":157,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":184,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":241,"s":[0]}],"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":16,"ty":4,"sr":1,"ks":{"o":{"a":1,"k":[{"t":67,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":96,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":157,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":184,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":241,"s":[0]}],"ix":2}},"ao":0,"parent":14,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[41,40],"ix":2},"p":{"a":0,"k":[20.5,20],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":1,"k":{"a":0,"k":[0,1,1,1,0,0],"ix":2}},"s":{"a":0,"k":[0,0],"ix":2},"e":{"a":0,"k":[0,0],"ix":2},"t":2},{"ty":"tr","o":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":399,"st":0}]},{"id":"8","layers":[{"ddd":0,"refId":"9","w":296,"h":296,"ind":17,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0},{"ddd":0,"ind":18,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[297,296],"ix":2},"p":{"a":0,"k":[148.5,148],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0,0,0],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0}],"ip":0,"op":399,"st":0}]},{"id":"7","layers":[{"ddd":0,"refId":"a","w":296,"h":296,"ind":19,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"td":1},{"ddd":0,"refId":"8","w":297,"h":296,"ind":13,"ty":0,"sr":1,"ks":{"p":{"a":0,"k":[148.5,148],"ix":2},"a":{"a":0,"k":[148.5,148],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"tt":1}]},{"id":"9","layers":[{"ddd":0,"ind":20,"ty":4,"nm":"path-layer-1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","nm":"path-group-1","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[107.26,76.68],[53.63,152.01],[0,76.68],[53.63,0],[107.26,76.68],[107.26,76.68],[107.26,76.68]],"i":[[0,0],[23.508,0],[0,41.605],[-50.67,0],[0,-37.926],[0,0],[0,0]],"o":[[0,41.605],[-25.712,0],[0,-37.069],[50.67,0],[0,0],[0,0],[0,0]]}}},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":2,"k":{"a":0,"k":[0,0.88,0.88,0.88,1,1,1,1,0,1,1,1],"ix":2}},"s":{"a":0,"k":[6.59,75.3],"ix":2},"e":{"a":0,"k":[82.34,75.58],"ix":2},"t":1},{"ty":"tr","p":{"a":0,"k":[148.76,127.48],"ix":2},"a":{"a":0,"k":[53.63,76.01],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":21,"ty":4,"nm":"path-layer-2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","nm":"path-group-2","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[3.84,2.75],[14.35,5.1],[14.35,33.99],[8.44,37.86],[0.88,19.15],[3.84,2.75],[3.84,2.75],[3.84,2.75]],"i":[[0,0],[-1.643,-3.254],[0,0],[3.943,0],[0.657,5.076],[-5.587,7.419],[0,0],[0,0]],"o":[[4.469,-5.935],[0,0],[-0.329,2.473],[-4.929,0],[-0.657,-5.076],[0,0],[0,0],[0,0]]}}},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":3,"k":{"a":0,"k":[0.0417,0.71,0.71,0.71,0.3625,0.89,0.89,0.89,1,1,1,1,0.0417,1,0.363,1,1,1],"ix":2}},"s":{"a":0,"k":[12.9,18.51],"ix":2},"e":{"a":0,"k":[3.47,19.47],"ix":2},"t":1},{"ty":"tr","p":{"a":0,"k":[205.77,140.44],"ix":2},"a":{"a":0,"k":[7.18,18.93],"ix":2},"s":{"a":0,"k":[99.62,-100.33],"ix":2},"r":{"a":0,"k":174.07,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":-1.809999861760291,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":22,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[3.84,2.75],[14.35,5.1],[14.35,33.99],[8.44,37.86],[0.88,19.15],[3.84,2.75],[3.84,2.75],[3.84,2.75]],"i":[[0,0],[-1.643,-3.254],[0,0],[3.943,0],[0.657,5.076],[-5.587,7.419],[0,0],[0,0]],"o":[[4.469,-5.935],[0,0],[-0.329,2.473],[-4.929,0],[-0.657,-5.076],[0,0],[0,0],[0,0]]}}},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":3,"k":{"a":0,"k":[0.1719,0.742,0.742,0.742,0.6406,0.883,0.883,0.883,1,0.87,0.87,0.87,0.1719,1,0.641,1,1,1],"ix":2}},"s":{"a":0,"k":[12.9,18.51],"ix":2},"e":{"a":0,"k":[3.47,19.47],"ix":2},"t":1},{"ty":"tr","p":{"a":0,"k":[93.38,137.48],"ix":2},"a":{"a":0,"k":[7.18,18.93],"ix":2},"s":{"a":0,"k":[99.65,100.3],"ix":2},"r":{"a":0,"k":-5.38,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":1.809999894378744,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":23,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[176.96,14.26],[88.3,51.56],[0,14.61],[42.84,0.01],[86.68,22.29],[134.95,0],[176.96,14.26],[176.96,14.26],[176.96,14.26]],"i":[[0,0],[34.738,0],[22.487,22.808],[0,0],[-18.981,-0.465],[-6.567,12.387],[-21.056,-8.556],[0,0],[0,0]],"o":[[-22.512,23.016],[-34.56,0],[21.33,-8.748],[6.317,11.412],[20.597,0.505],[0,0],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,0.48,1],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148.17,246.22],"ix":2},"a":{"a":0,"k":[88.48,25.78],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":24,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[24.93,73.49],[24.93,73.95],[0,96.22],[59.61,122.2],[119.22,96.22],[94.3,73.92],[94.33,29.86],[94.33,29.62],[94.49,16.54],[24.82,30.92],[24.93,73.49],[24.93,73.49],[24.93,73.49]],"i":[[0,0],[0,0],[16.491,-4.974],[-19.87,0],[-19.87,14.434],[0.241,9.888],[-0.017,3.753],[1.084,0.301],[-0.074,16.894],[-1.039,-46.389],[-0.066,-5.357],[0,0],[0,0]],"o":[[0,0],[-0.129,9.871],[19.87,14.434],[19.87,0],[-16.379,-4.98],[0,-3.753],[1.185,0.167],[0.033,-12.362],[0.074,-16.894],[0.014,4.73],[0,0],[0,0],[0,0]]}}},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":2,"k":{"a":0,"k":[0,0.695,0.695,0.695,1,1,1,1,0,1,1,1],"ix":2}},"s":{"a":0,"k":[54.33,33.74],"ix":2},"e":{"a":0,"k":[54.33,91.15],"ix":2},"t":1},{"ty":"tr","p":{"a":0,"k":[148.61,191.41],"ix":2},"a":{"a":0,"k":[59.61,61.1],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":25,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[124,248],[248,124],[124,0],[0,124],[124,248],[124,248],[124,248]],"i":[[0,0],[0,68.483],[68.483,0],[0,-68.483],[-68.483,0],[0,0],[0,0]],"o":[[68.483,0],[0,-68.483],[-68.483,0],[0,68.483],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,0.48,1],"ix":2},"o":{"a":0,"k":7,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148,148],"ix":2},"a":{"a":0,"k":[124,124],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0}]},{"id":"a","layers":[{"ddd":0,"refId":"b","w":297,"h":296,"ind":26,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0}]},{"id":"c","layers":[{"ddd":0,"ind":27,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[0.01,0],[324.58,0],[324.59,0.01],[324.59,324.58],[324.58,324.59],[0.01,324.59],[0,324.58],[0,0.01],[0.01,0],[0.01,0],[0.01,0]],"i":[[0,0],[0,0],[0,-0.005],[0,0],[0.005,0],[0,0],[0,0.005],[0,0],[-0.005,0],[0,0],[0,0]],"o":[[0,0],[0.006,0],[0,0],[0,0.006],[0,0],[-0.006,0],[0,0],[0,-0.006],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,1,0],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148.61,161.61],"ix":2},"a":{"a":0,"k":[162.29,162.29],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":28,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[297,296],"ix":2},"p":{"a":0,"k":[148.5,148],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0,0,0],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0}],"ip":0,"op":399,"st":0}]},{"id":"b","layers":[{"ddd":0,"refId":"d","w":296,"h":296,"ind":29,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"td":1},{"ddd":0,"refId":"c","w":297,"h":296,"ind":26,"ty":0,"sr":1,"ks":{"p":{"a":0,"k":[148.5,148],"ix":2},"a":{"a":0,"k":[148.5,148],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"tt":1}]},{"id":"d","layers":[{"ddd":0,"refId":"e","w":297,"h":296,"ind":30,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0}]},{"id":"f","layers":[{"ddd":0,"ind":31,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[0.01,0],[295.99,0],[296,0.01],[296,295.99],[295.99,296],[0.01,296],[0,295.99],[0,0.01],[0.01,0],[0.01,0],[0.01,0]],"i":[[0,0],[0,0],[0,-0.005],[0,0],[0.005,0],[0,0],[0,0.005],[0,0],[-0.005,0],[0,0],[0,0]],"o":[[0,0],[0.006,0],[0,0],[0,0.006],[0,0],[-0.006,0],[0,0],[0,-0.006],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,1,0],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148,148],"ix":2},"a":{"a":0,"k":[148,148],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":32,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[297,296],"ix":2},"p":{"a":0,"k":[148.5,148],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0,0,0],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0}],"ip":0,"op":399,"st":0}]},{"id":"e","layers":[{"ddd":0,"refId":"g","w":296,"h":296,"ind":33,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"td":1},{"ddd":0,"refId":"f","w":297,"h":296,"ind":30,"ty":0,"sr":1,"ks":{"p":{"a":0,"k":[148.5,148],"ix":2},"a":{"a":0,"k":[148.5,148],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"tt":1}]},{"id":"g","layers":[{"ddd":0,"ind":34,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[0.01,0],[295.99,0],[296,0.01],[296,295.99],[295.99,296],[0.01,296],[0,295.99],[0,0.01],[0.01,0],[0.01,0],[0.01,0]],"i":[[0,0],[0,0],[0,-0.005],[0,0],[0.005,0],[0,0],[0,0.005],[0,0],[-0.005,0],[0,0],[0,0]],"o":[[0,0],[0.006,0],[0,0],[0,0.006],[0,0],[-0.006,0],[0,0],[0,-0.006],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,1,0],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148,148],"ix":2},"a":{"a":0,"k":[148,148],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0}]}]'), k = [{ ddd: 0, refId: "0", w: 296, h: 296, ind: 35, ty: 0, sr: 1, ks: { o: { a: 0, k: 100, ix: 2 } }, ao: 0, ip: 0, op: 399, st: 0 }], d = [], n = {
|
|
2
|
+
v: i,
|
|
3
|
+
fr: 100,
|
|
4
|
+
ip: 0,
|
|
5
|
+
op: 398,
|
|
6
|
+
w: 296,
|
|
7
|
+
h: 296,
|
|
8
|
+
nm: a,
|
|
9
|
+
ddd: 0,
|
|
10
|
+
metadata: t,
|
|
11
|
+
assets: s,
|
|
12
|
+
layers: k,
|
|
13
|
+
markers: d
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
s as assets,
|
|
17
|
+
e as ddd,
|
|
18
|
+
n as default,
|
|
19
|
+
x as fr,
|
|
20
|
+
p as h,
|
|
21
|
+
o as ip,
|
|
22
|
+
k as layers,
|
|
23
|
+
d as markers,
|
|
24
|
+
t as metadata,
|
|
25
|
+
a as nm,
|
|
26
|
+
r as op,
|
|
27
|
+
i as v,
|
|
28
|
+
y as w
|
|
29
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { setup as p } from "@incodetech/core";
|
|
2
2
|
import { c, s as m } from "./instance-B-q0ZREN.js";
|
|
3
|
-
import "./vendor-preact-
|
|
4
|
-
import { s as f } from "./uiConfig-
|
|
3
|
+
import "./vendor-preact-CjD4WiuC.js";
|
|
4
|
+
import { s as f } from "./uiConfig-DEqynrWx.js";
|
|
5
5
|
async function y({
|
|
6
6
|
apiURL: t,
|
|
7
7
|
token: a,
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { d as r, y as p, k as t } from "./vendor-preact-CjD4WiuC.js";
|
|
2
|
+
import { g as u } from "./instance-B-q0ZREN.js";
|
|
3
|
+
import { u as e, c as g, L as h, S as l } from "./incodeModule-DR92HDjR.js";
|
|
4
|
+
function T() {
|
|
5
|
+
const n = u(), [, a] = r(0), [s, o] = r(n.isInitialized);
|
|
6
|
+
return p(() => {
|
|
7
|
+
const i = () => {
|
|
8
|
+
a((d) => d + 1);
|
|
9
|
+
}, c = () => {
|
|
10
|
+
o(!0), a((d) => d + 1);
|
|
11
|
+
};
|
|
12
|
+
return n.on("languageChanged", i), n.on("initialized", c), n.on("loaded", i), () => {
|
|
13
|
+
n.off("languageChanged", i), n.off("initialized", c), n.off("loaded", i);
|
|
14
|
+
};
|
|
15
|
+
}, [n]), {
|
|
16
|
+
t: n.t.bind(n),
|
|
17
|
+
ready: s,
|
|
18
|
+
i18n: n
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
const I = ({ children: n, className: a }) => /* @__PURE__ */ e("h2", { class: `IncodeTitle ${a ?? ""}`, children: n }), S = {
|
|
22
|
+
small: 24,
|
|
23
|
+
medium: 48,
|
|
24
|
+
large: 64
|
|
25
|
+
}, C = ({
|
|
26
|
+
title: n,
|
|
27
|
+
subtitle: a,
|
|
28
|
+
size: s = "medium",
|
|
29
|
+
fullScreen: o = !0,
|
|
30
|
+
className: i
|
|
31
|
+
}) => {
|
|
32
|
+
const c = S[s], d = g(
|
|
33
|
+
"IncodeSpinner",
|
|
34
|
+
o && "IncodeSpinnerFullScreen",
|
|
35
|
+
i
|
|
36
|
+
);
|
|
37
|
+
return /* @__PURE__ */ e(
|
|
38
|
+
"div",
|
|
39
|
+
{
|
|
40
|
+
class: d,
|
|
41
|
+
"data-testid": "spinner",
|
|
42
|
+
"data-title": n,
|
|
43
|
+
"data-subtitle": a,
|
|
44
|
+
"data-size": s,
|
|
45
|
+
children: /* @__PURE__ */ e("div", { class: "IncodeSpinnerContent", children: [
|
|
46
|
+
/* @__PURE__ */ e(h, { size: c }),
|
|
47
|
+
(n || a) && /* @__PURE__ */ e(t, { children: [
|
|
48
|
+
/* @__PURE__ */ e(l, { size: 16 }),
|
|
49
|
+
/* @__PURE__ */ e("div", { class: "IncodeSpinnerText", children: [
|
|
50
|
+
n && /* @__PURE__ */ e(I, { className: "IncodeSpinnerTitle", children: n }),
|
|
51
|
+
a && /* @__PURE__ */ e(t, { children: [
|
|
52
|
+
n && /* @__PURE__ */ e(l, { size: 12 }),
|
|
53
|
+
/* @__PURE__ */ e("p", { class: "IncodeSpinnerSubtitle", children: a })
|
|
54
|
+
] })
|
|
55
|
+
] })
|
|
56
|
+
] })
|
|
57
|
+
] })
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
};
|
|
61
|
+
export {
|
|
62
|
+
C as S,
|
|
63
|
+
I as T,
|
|
64
|
+
T as u
|
|
65
|
+
};
|
package/dist/themes/dark.css
CHANGED
|
@@ -84,6 +84,13 @@
|
|
|
84
84
|
--primitive-typography-letter-spacing-minus-1: -1px;
|
|
85
85
|
--primitive-typography-letter-spacing-minus-1-5: -1.5px;
|
|
86
86
|
|
|
87
|
+
/* Typography / Line Height */
|
|
88
|
+
|
|
89
|
+
--primitive-typography-line-height-110: 1.1;
|
|
90
|
+
--primitive-typography-line-height-114: 1.14;
|
|
91
|
+
--primitive-typography-line-height-115: 1.15;
|
|
92
|
+
--primitive-typography-line-height-120: 1.2;
|
|
93
|
+
|
|
87
94
|
/* Border / Width */
|
|
88
95
|
|
|
89
96
|
--primitive-border-width-0: 0px;
|
|
@@ -112,6 +119,7 @@
|
|
|
112
119
|
--primitive-scale-16: 16px;
|
|
113
120
|
--primitive-scale-20: 20px;
|
|
114
121
|
--primitive-scale-24: 24px;
|
|
122
|
+
--primitive-scale-28: 28px;
|
|
115
123
|
--primitive-scale-32: 32px;
|
|
116
124
|
--primitive-scale-40: 40px;
|
|
117
125
|
--primitive-scale-48: 48px;
|
|
@@ -156,6 +164,7 @@
|
|
|
156
164
|
--spacing-16: var(--primitive-scale-16);
|
|
157
165
|
--spacing-20: var(--primitive-scale-20);
|
|
158
166
|
--spacing-24: var(--primitive-scale-24);
|
|
167
|
+
--spacing-28: var(--primitive-scale-28);
|
|
159
168
|
--spacing-32: var(--primitive-scale-32);
|
|
160
169
|
--spacing-40: var(--primitive-scale-40);
|
|
161
170
|
--spacing-48: var(--primitive-scale-48);
|
|
@@ -177,6 +186,128 @@
|
|
|
177
186
|
--icon-size-x-large: var(--primitive-scale-48);
|
|
178
187
|
--icon-size-xx-large: var(--primitive-scale-64);
|
|
179
188
|
--icon-size-xxx-large: var(--primitive-scale-80);
|
|
189
|
+
|
|
190
|
+
/* Typography */
|
|
191
|
+
|
|
192
|
+
--typography-display-d1-size: var(--primitive-typography-size-80);
|
|
193
|
+
--typography-display-d1-weight: var(--primitive-typography-weight-extrabold);
|
|
194
|
+
--typography-display-d1-line-height: var(
|
|
195
|
+
--primitive-typography-line-height-110
|
|
196
|
+
);
|
|
197
|
+
--typography-display-d1-letter-spacing: var(
|
|
198
|
+
--primitive-typography-letter-spacing-minus-1-5
|
|
199
|
+
);
|
|
200
|
+
|
|
201
|
+
--typography-display-d2-size: var(--primitive-typography-size-48);
|
|
202
|
+
--typography-display-d2-weight: var(--primitive-typography-weight-extrabold);
|
|
203
|
+
--typography-display-d2-line-height: var(
|
|
204
|
+
--primitive-typography-line-height-110
|
|
205
|
+
);
|
|
206
|
+
--typography-display-d2-letter-spacing: var(
|
|
207
|
+
--primitive-typography-letter-spacing-minus-1-5
|
|
208
|
+
);
|
|
209
|
+
|
|
210
|
+
--typography-headline-h1-size: var(--primitive-typography-size-32);
|
|
211
|
+
--typography-headline-h1-weight: var(--primitive-typography-weight-bold);
|
|
212
|
+
--typography-headline-h1-line-height: var(
|
|
213
|
+
--primitive-typography-line-height-115
|
|
214
|
+
);
|
|
215
|
+
--typography-headline-h1-letter-spacing: var(
|
|
216
|
+
--primitive-typography-letter-spacing-minus-1
|
|
217
|
+
);
|
|
218
|
+
|
|
219
|
+
--typography-headline-h2-size: var(--primitive-typography-size-24);
|
|
220
|
+
--typography-headline-h2-weight: var(--primitive-typography-weight-bold);
|
|
221
|
+
--typography-headline-h2-line-height: var(
|
|
222
|
+
--primitive-typography-line-height-115
|
|
223
|
+
);
|
|
224
|
+
--typography-headline-h2-letter-spacing: var(
|
|
225
|
+
--primitive-typography-letter-spacing-minus-1
|
|
226
|
+
);
|
|
227
|
+
|
|
228
|
+
--typography-headline-h3-size: var(--primitive-typography-size-20);
|
|
229
|
+
--typography-headline-h3-weight: var(--primitive-typography-weight-semibold);
|
|
230
|
+
--typography-headline-h3-line-height: var(
|
|
231
|
+
--primitive-typography-line-height-115
|
|
232
|
+
);
|
|
233
|
+
--typography-headline-h3-letter-spacing: var(
|
|
234
|
+
--primitive-typography-letter-spacing-minus-0-5
|
|
235
|
+
);
|
|
236
|
+
|
|
237
|
+
--typography-headline-h4-size: var(--primitive-typography-size-18);
|
|
238
|
+
--typography-headline-h4-weight: var(--primitive-typography-weight-medium);
|
|
239
|
+
--typography-headline-h4-line-height: var(
|
|
240
|
+
--primitive-typography-line-height-115
|
|
241
|
+
);
|
|
242
|
+
--typography-headline-h4-letter-spacing: var(
|
|
243
|
+
--primitive-typography-letter-spacing-minus-0-5
|
|
244
|
+
);
|
|
245
|
+
|
|
246
|
+
--typography-headline-h5-size: var(--primitive-typography-size-16);
|
|
247
|
+
--typography-headline-h5-weight: var(--primitive-typography-weight-medium);
|
|
248
|
+
--typography-headline-h5-line-height: var(
|
|
249
|
+
--primitive-typography-line-height-115
|
|
250
|
+
);
|
|
251
|
+
--typography-headline-h5-letter-spacing: var(
|
|
252
|
+
--primitive-typography-letter-spacing-minus-0-5
|
|
253
|
+
);
|
|
254
|
+
|
|
255
|
+
--typography-body-sm-size: var(--primitive-typography-size-12);
|
|
256
|
+
--typography-body-sm-weight: var(--primitive-typography-weight-regular);
|
|
257
|
+
--typography-body-sm-line-height: var(--primitive-typography-line-height-120);
|
|
258
|
+
--typography-body-sm-letter-spacing: var(
|
|
259
|
+
--primitive-typography-letter-spacing-0
|
|
260
|
+
);
|
|
261
|
+
|
|
262
|
+
--typography-body-regular-size: var(--primitive-typography-size-14);
|
|
263
|
+
--typography-body-regular-weight: var(--primitive-typography-weight-regular);
|
|
264
|
+
--typography-body-regular-line-height: var(
|
|
265
|
+
--primitive-typography-line-height-120
|
|
266
|
+
);
|
|
267
|
+
--typography-body-regular-letter-spacing: var(
|
|
268
|
+
--primitive-typography-letter-spacing-0
|
|
269
|
+
);
|
|
270
|
+
|
|
271
|
+
--typography-body-lg-size: var(--primitive-typography-size-16);
|
|
272
|
+
--typography-body-lg-weight: var(--primitive-typography-weight-regular);
|
|
273
|
+
--typography-body-lg-line-height: var(--primitive-typography-line-height-120);
|
|
274
|
+
--typography-body-lg-letter-spacing: var(
|
|
275
|
+
--primitive-typography-letter-spacing-0
|
|
276
|
+
);
|
|
277
|
+
|
|
278
|
+
--typography-body-sm-medium-size: var(--primitive-typography-size-12);
|
|
279
|
+
--typography-body-sm-medium-weight: var(--primitive-typography-weight-medium);
|
|
280
|
+
--typography-body-sm-medium-line-height: var(
|
|
281
|
+
--primitive-typography-line-height-120
|
|
282
|
+
);
|
|
283
|
+
--typography-body-sm-medium-letter-spacing: var(
|
|
284
|
+
--primitive-typography-letter-spacing-0
|
|
285
|
+
);
|
|
286
|
+
|
|
287
|
+
--typography-body-medium-size: var(--primitive-typography-size-14);
|
|
288
|
+
--typography-body-medium-weight: var(--primitive-typography-weight-medium);
|
|
289
|
+
--typography-body-medium-line-height: var(
|
|
290
|
+
--primitive-typography-line-height-120
|
|
291
|
+
);
|
|
292
|
+
--typography-body-medium-letter-spacing: var(
|
|
293
|
+
--primitive-typography-letter-spacing-0
|
|
294
|
+
);
|
|
295
|
+
|
|
296
|
+
--typography-body-lg-medium-size: var(--primitive-typography-size-16);
|
|
297
|
+
--typography-body-lg-medium-weight: var(--primitive-typography-weight-medium);
|
|
298
|
+
--typography-body-lg-medium-line-height: var(
|
|
299
|
+
--primitive-typography-line-height-120
|
|
300
|
+
);
|
|
301
|
+
--typography-body-lg-medium-letter-spacing: var(
|
|
302
|
+
--primitive-typography-letter-spacing-0
|
|
303
|
+
);
|
|
304
|
+
|
|
305
|
+
--typography-tooltip-size: var(--primitive-typography-size-16);
|
|
306
|
+
--typography-tooltip-weight: var(--primitive-typography-weight-medium);
|
|
307
|
+
--typography-tooltip-line-height: var(--primitive-typography-line-height-114);
|
|
308
|
+
--typography-tooltip-letter-spacing: var(
|
|
309
|
+
--primitive-typography-letter-spacing-minus-0-5
|
|
310
|
+
);
|
|
180
311
|
}
|
|
181
312
|
:root,
|
|
182
313
|
:host {
|
|
@@ -195,6 +326,7 @@
|
|
|
195
326
|
--surface-neutral-900-80: var(--primitive-color-gray-900-80);
|
|
196
327
|
--surface-neutral-900-static: var(--primitive-color-gray-900);
|
|
197
328
|
--surface-neutral-1000: var(--primitive-color-gray-1000);
|
|
329
|
+
--surface-neutral-dark: rgba(0, 0, 0, 0.9);
|
|
198
330
|
|
|
199
331
|
/* Surface / Brand */
|
|
200
332
|
|
|
@@ -209,12 +341,15 @@
|
|
|
209
341
|
/* Surface / Status */
|
|
210
342
|
|
|
211
343
|
--surface-status-negative-50: var(--primitive-color-negative-50);
|
|
344
|
+
--surface-status-negative-500: var(--primitive-color-negative-600);
|
|
212
345
|
--surface-status-negative-600: var(--primitive-color-negative-600);
|
|
346
|
+
--surface-error-500: var(--primitive-color-negative-600);
|
|
213
347
|
|
|
214
348
|
--surface-status-warning-50: var(--primitive-color-warning-50);
|
|
215
349
|
--surface-status-warning-500: var(--primitive-color-warning-500);
|
|
216
350
|
|
|
217
351
|
--surface-status-positive-50: var(--primitive-color-positive-50);
|
|
352
|
+
--surface-status-positive-500: var(--primitive-color-positive-600);
|
|
218
353
|
--surface-status-positive-600: var(--primitive-color-positive-600);
|
|
219
354
|
--surface-status-positive-600-static: var(--primitive-color-positive-600);
|
|
220
355
|
|
|
@@ -244,6 +379,7 @@
|
|
|
244
379
|
|
|
245
380
|
/* Border / Neutral */
|
|
246
381
|
|
|
382
|
+
--border-neutral-0: var(--primitive-color-gray-0);
|
|
247
383
|
--border-neutral-100: var(--primitive-color-gray-100);
|
|
248
384
|
--border-neutral-300: var(--primitive-color-gray-300);
|
|
249
385
|
--border-neutral-500: var(--primitive-color-gray-500);
|
|
@@ -260,6 +396,7 @@
|
|
|
260
396
|
--border-status-warning: var(--primitive-color-warning-500);
|
|
261
397
|
--border-status-positive: var(--primitive-color-positive-600);
|
|
262
398
|
--border-status-positive-static: var(--primitive-color-positive-600);
|
|
399
|
+
--border-status-focus: var(--primitive-color-brand-500);
|
|
263
400
|
|
|
264
401
|
/* Text / Body */
|
|
265
402
|
|
|
@@ -293,6 +430,10 @@
|
|
|
293
430
|
--text-status-warning: var(--primitive-color-warning-500);
|
|
294
431
|
--text-status-positive: var(--primitive-color-positive-600);
|
|
295
432
|
--text-status-positive-static: var(--primitive-color-positive-600);
|
|
433
|
+
|
|
434
|
+
/* Text / Tooltip */
|
|
435
|
+
|
|
436
|
+
--text-tooltip-neutral: var(--text-body-0-static);
|
|
296
437
|
}
|
|
297
438
|
[data-incode-theme='dark'] {
|
|
298
439
|
/* Surface / Neutral */
|
|
@@ -309,6 +450,7 @@
|
|
|
309
450
|
--surface-neutral-900: var(--primitive-color-gray-0);
|
|
310
451
|
--surface-neutral-900-80: var(--primitive-color-gray-0-80);
|
|
311
452
|
--surface-neutral-1000: var(--primitive-color-gray-0);
|
|
453
|
+
--surface-neutral-dark: rgba(0, 0, 0, 0.9);
|
|
312
454
|
|
|
313
455
|
/* Surface / Brand */
|
|
314
456
|
|
|
@@ -317,12 +459,15 @@
|
|
|
317
459
|
/* Surface / Status */
|
|
318
460
|
|
|
319
461
|
--surface-status-negative-50: var(--primitive-color-negative-950);
|
|
462
|
+
--surface-status-negative-500: var(--primitive-color-negative-500);
|
|
320
463
|
--surface-status-negative-600: var(--primitive-color-negative-500);
|
|
464
|
+
--surface-error-500: var(--primitive-color-negative-500);
|
|
321
465
|
|
|
322
466
|
--surface-status-warning-50: var(--primitive-color-warning-950);
|
|
323
467
|
--surface-status-warning-500: var(--primitive-color-warning-400);
|
|
324
468
|
|
|
325
469
|
--surface-status-positive-50: var(--primitive-color-positive-800);
|
|
470
|
+
--surface-status-positive-500: var(--primitive-color-positive-600);
|
|
326
471
|
|
|
327
472
|
/* Icon / Neutral */
|
|
328
473
|
|