@incodetech/web 2.0.0-alpha.1 → 2.0.0-alpha.11

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.
Files changed (209) hide show
  1. package/dist/base.css +1071 -0
  2. package/dist/browser-ponyfill-B6W6hHVY.js +344 -0
  3. package/dist/email/email.es.js +145 -0
  4. package/dist/email/styles.css +123 -0
  5. package/dist/flow/flow.es.js +555 -0
  6. package/dist/flow/styles.css +1119 -0
  7. package/dist/incodeModule-Dv8Qllrv.js +254 -0
  8. package/dist/index.es.js +6 -0
  9. package/dist/instance-B-q0ZREN.js +2140 -0
  10. package/dist/otpInput-BtoZe0Wz.js +151 -0
  11. package/dist/page-Dh_Zw2ik.js +234 -0
  12. package/dist/phone/phone.es.js +3441 -0
  13. package/dist/phone/styles.css +305 -0
  14. package/dist/selfie/selfie.es.js +893 -0
  15. package/dist/selfie/styles.css +590 -0
  16. package/dist/selfieTutorial-C-u5GufD.js +29 -0
  17. package/dist/setup-wNL83jmW.js +20 -0
  18. package/dist/themes/dark.css +652 -0
  19. package/dist/themes/light.css +543 -0
  20. package/dist/title-BfO5Dlzk.js +25 -0
  21. package/dist/types/base.d.ts +1 -0
  22. package/dist/types/dark.d.ts +1 -0
  23. package/dist/types/email.d.ts +57 -0
  24. package/dist/types/flow.d.ts +69 -0
  25. package/dist/types/index.d.ts +38 -0
  26. package/dist/types/light.d.ts +1 -0
  27. package/dist/types/phone.d.ts +58 -0
  28. package/dist/types/selfie.d.ts +31 -0
  29. package/dist/types/styles.d.ts +1 -0
  30. package/dist/types/themes/dark.d.ts +1 -0
  31. package/dist/types/themes/light.d.ts +1 -0
  32. package/dist/uiConfig-CQ1W9cUD.js +23 -0
  33. package/dist/vendor-preact-CK0WeTOR.js +584 -0
  34. package/package.json +32 -26
  35. package/dev/README.md +0 -163
  36. package/dev/getToken.ts +0 -36
  37. package/dev/headless.html +0 -875
  38. package/dev/index.html +0 -366
  39. package/dev/main-headless.tsx +0 -1332
  40. package/dev/main-orchestrated-flow.tsx +0 -1158
  41. package/dev/main-preact.tsx +0 -323
  42. package/dev/main-simplified.tsx +0 -123
  43. package/dev/main-web-component.tsx +0 -256
  44. package/dev/main.tsx +0 -332
  45. package/dev/manual.html +0 -27
  46. package/dev/orchestrated-flow.html +0 -64
  47. package/dev/simplified.html +0 -64
  48. package/dev/tiktok-logo.svg +0 -7
  49. package/src/defineCustomElement.tsx +0 -30
  50. package/src/email/email.test.tsx +0 -368
  51. package/src/email/email.tsx +0 -255
  52. package/src/email/emailInput.test.tsx +0 -264
  53. package/src/email/emailInput.tsx +0 -85
  54. package/src/email/styles.css +0 -59
  55. package/src/flow/flow.test.tsx +0 -796
  56. package/src/flow/flow.tsx +0 -292
  57. package/src/flow/flowCompleted.css +0 -30
  58. package/src/flow/flowCompleted.test.tsx +0 -331
  59. package/src/flow/flowCompleted.tsx +0 -121
  60. package/src/flow/flowInit.test.ts +0 -264
  61. package/src/flow/flowInit.ts +0 -94
  62. package/src/flow/flowStart.css +0 -58
  63. package/src/flow/flowStart.test.tsx +0 -49
  64. package/src/flow/flowStart.tsx +0 -41
  65. package/src/flow/incode-logo.svg +0 -8
  66. package/src/flow/index.ts +0 -7
  67. package/src/flow/preloadFlow.test.ts +0 -421
  68. package/src/flow/preloadFlow.ts +0 -171
  69. package/src/flow/styles.css +0 -9
  70. package/src/flow/unsupportedModule.css +0 -21
  71. package/src/flow/unsupportedModule.tsx +0 -39
  72. package/src/flow/useFlowInitialization.test.tsx +0 -292
  73. package/src/flow/useFlowInitialization.ts +0 -128
  74. package/src/flow/useModuleLoader.test.tsx +0 -212
  75. package/src/flow/useModuleLoader.ts +0 -92
  76. package/src/hooks/index.ts +0 -1
  77. package/src/hooks/useManager.test.ts +0 -91
  78. package/src/hooks/useManager.ts +0 -40
  79. package/src/i18n/index.ts +0 -3
  80. package/src/i18n/instance.ts +0 -16
  81. package/src/i18n/setup.ts +0 -184
  82. package/src/i18n/useTranslation.ts +0 -42
  83. package/src/index.ts +0 -27
  84. package/src/permissions/assets/android-dots-icon.svg +0 -7
  85. package/src/permissions/assets/android-settings-icon.svg +0 -16
  86. package/src/permissions/assets/android-toggle-icon.svg +0 -20
  87. package/src/permissions/assets/bank-card-icon.svg +0 -14
  88. package/src/permissions/assets/camera-icon.svg +0 -12
  89. package/src/permissions/assets/camera-ios.svg +0 -53
  90. package/src/permissions/assets/check-icon.svg +0 -8
  91. package/src/permissions/assets/chrome-icon.svg +0 -43
  92. package/src/permissions/assets/password-icon.svg +0 -11
  93. package/src/permissions/assets/permissions-img.svg +0 -51
  94. package/src/permissions/assets/safari-icon.svg +0 -37
  95. package/src/permissions/assets/settings-icon.svg +0 -33
  96. package/src/permissions/assets/toggle-icon.svg +0 -19
  97. package/src/permissions/assets/warning-icon.svg +0 -6
  98. package/src/permissions/boldWithArrow.css +0 -9
  99. package/src/permissions/boldWithArrow.tsx +0 -41
  100. package/src/permissions/denied.css +0 -37
  101. package/src/permissions/denied.tsx +0 -29
  102. package/src/permissions/deniedAndroid.tsx +0 -56
  103. package/src/permissions/deniedDesktop.css +0 -9
  104. package/src/permissions/deniedDesktop.tsx +0 -64
  105. package/src/permissions/deniedIOS.tsx +0 -73
  106. package/src/permissions/deniedInstructions.tsx +0 -19
  107. package/src/permissions/iconWrapper.css +0 -9
  108. package/src/permissions/iconWrapper.tsx +0 -15
  109. package/src/permissions/learnMore.css +0 -37
  110. package/src/permissions/learnMore.tsx +0 -85
  111. package/src/permissions/numberedStep.css +0 -13
  112. package/src/permissions/numberedStep.tsx +0 -14
  113. package/src/permissions/permissions.css +0 -13
  114. package/src/permissions/permissions.tsx +0 -68
  115. package/src/phone/phone.tsx +0 -246
  116. package/src/phone/phoneInput.test.tsx +0 -275
  117. package/src/phone/phoneInput.tsx +0 -249
  118. package/src/phone/styles.css +0 -158
  119. package/src/selfie/cameraButton.css +0 -13
  120. package/src/selfie/cameraButton.tsx +0 -35
  121. package/src/selfie/capture.css +0 -57
  122. package/src/selfie/capture.tsx +0 -232
  123. package/src/selfie/errorModal.tsx +0 -218
  124. package/src/selfie/errorModalContent.css +0 -33
  125. package/src/selfie/errorModalContent.tsx +0 -44
  126. package/src/selfie/faceOutline.css +0 -5
  127. package/src/selfie/faceOutline.tsx +0 -22
  128. package/src/selfie/loadingBorder.css +0 -12
  129. package/src/selfie/loadingBorder.tsx +0 -77
  130. package/src/selfie/manualCaptureButton.css +0 -13
  131. package/src/selfie/manualCaptureButton.tsx +0 -35
  132. package/src/selfie/noMoreAttemptsModal.tsx +0 -44
  133. package/src/selfie/notification.css +0 -9
  134. package/src/selfie/notification.tsx +0 -36
  135. package/src/selfie/retryErrorModal.tsx +0 -56
  136. package/src/selfie/selfie.test.tsx +0 -458
  137. package/src/selfie/selfie.tsx +0 -83
  138. package/src/selfie/selfieTutorial.json +0 -2626
  139. package/src/selfie/styles.css +0 -1
  140. package/src/selfie/tutorial.test.tsx +0 -200
  141. package/src/selfie/tutorial.tsx +0 -43
  142. package/src/setup.ts +0 -33
  143. package/src/shared/baseTutorial/baseTutorial.css +0 -21
  144. package/src/shared/baseTutorial/baseTutorial.test.tsx +0 -184
  145. package/src/shared/baseTutorial/baseTutorial.tsx +0 -55
  146. package/src/shared/baseTutorial/replaceBaseTutorial.test.ts +0 -267
  147. package/src/shared/baseTutorial/replaceBaseTutorial.ts +0 -68
  148. package/src/shared/button/button.css +0 -55
  149. package/src/shared/button/button.test.tsx +0 -101
  150. package/src/shared/button/button.tsx +0 -47
  151. package/src/shared/componentRoot/incodeComponent.tsx +0 -12
  152. package/src/shared/countries/countries.test.ts +0 -75
  153. package/src/shared/countries/countries.ts +0 -139
  154. package/src/shared/countries/index.ts +0 -6
  155. package/src/shared/icons/chevronDown.tsx +0 -22
  156. package/src/shared/icons/index.ts +0 -2
  157. package/src/shared/icons/successIcon.css +0 -5
  158. package/src/shared/icons/successIcon.test.tsx +0 -40
  159. package/src/shared/icons/successIcon.tsx +0 -26
  160. package/src/shared/loader/loadingIcon.css +0 -28
  161. package/src/shared/loader/loadingIcon.tsx +0 -67
  162. package/src/shared/lottie/lottie.tsx +0 -108
  163. package/src/shared/otpInput/otpInput.css +0 -85
  164. package/src/shared/otpInput/otpInput.test.tsx +0 -356
  165. package/src/shared/otpInput/otpInput.tsx +0 -241
  166. package/src/shared/page/incode-logo.svg +0 -3
  167. package/src/shared/page/page.css +0 -47
  168. package/src/shared/page/page.test.tsx +0 -97
  169. package/src/shared/page/page.tsx +0 -91
  170. package/src/shared/page/pageUiConfig.test.ts +0 -112
  171. package/src/shared/page/pageUiConfig.ts +0 -64
  172. package/src/shared/page/verifiedByIncode.css +0 -5
  173. package/src/shared/page/verifiedByIncode.tsx +0 -75
  174. package/src/shared/spacer/spacer.css +0 -149
  175. package/src/shared/spacer/spacer.test.tsx +0 -143
  176. package/src/shared/spacer/spacer.tsx +0 -88
  177. package/src/shared/spinner/index.ts +0 -2
  178. package/src/shared/spinner/spinner.css +0 -28
  179. package/src/shared/spinner/spinner.test.tsx +0 -82
  180. package/src/shared/spinner/spinner.tsx +0 -65
  181. package/src/shared/title/title.css +0 -7
  182. package/src/shared/title/title.tsx +0 -12
  183. package/src/shared/uiConfig/uiConfig.ts +0 -36
  184. package/src/shared/webComponent/incodeModule.ts +0 -29
  185. package/src/shared/webComponent/registerIncodeElement.ts +0 -15
  186. package/src/styles/__mocks__/fetchTheme.ts +0 -19
  187. package/src/styles/applyTheme.ts +0 -37
  188. package/src/styles/cn.test.tsx +0 -57
  189. package/src/styles/cn.tsx +0 -21
  190. package/src/styles/core.css +0 -12
  191. package/src/styles/fetchTheme.test.ts +0 -390
  192. package/src/styles/fetchTheme.ts +0 -88
  193. package/src/styles/generatePalette.ts +0 -111
  194. package/src/styles/reset.css +0 -65
  195. package/src/styles/resolveCssVariableToHex.ts +0 -28
  196. package/src/styles/tailwind.css +0 -291
  197. package/src/styles/themeTypes.ts +0 -18
  198. package/src/styles/tokens/colors.css +0 -190
  199. package/src/styles/tokens/components.css +0 -174
  200. package/src/styles/tokens/index.css +0 -4
  201. package/src/styles/tokens/primitives.css +0 -129
  202. package/src/styles/tokens/semantic.css +0 -51
  203. package/src/svg.d.ts +0 -4
  204. package/src/types/assets.d.ts +0 -1
  205. package/src/types/custom-elements.d.ts +0 -104
  206. package/tsconfig.json +0 -22
  207. package/vite.config.ts +0 -260
  208. package/vitest.config.ts +0 -40
  209. package/vitest.setup.ts +0 -16
@@ -0,0 +1,590 @@
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
+ @layer properties {
3
+ @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
+ *, :before, :after, ::backdrop {
5
+ --tw-rotate-x: initial;
6
+ --tw-rotate-y: initial;
7
+ --tw-rotate-z: initial;
8
+ --tw-skew-x: initial;
9
+ --tw-skew-y: initial;
10
+ --tw-border-style: solid;
11
+ --tw-outline-style: solid;
12
+ --tw-blur: initial;
13
+ --tw-brightness: initial;
14
+ --tw-contrast: initial;
15
+ --tw-grayscale: initial;
16
+ --tw-hue-rotate: initial;
17
+ --tw-invert: initial;
18
+ --tw-opacity: initial;
19
+ --tw-saturate: initial;
20
+ --tw-sepia: initial;
21
+ --tw-drop-shadow: initial;
22
+ --tw-drop-shadow-color: initial;
23
+ --tw-drop-shadow-alpha: 100%;
24
+ --tw-drop-shadow-size: initial;
25
+ --tw-backdrop-blur: initial;
26
+ --tw-backdrop-brightness: initial;
27
+ --tw-backdrop-contrast: initial;
28
+ --tw-backdrop-grayscale: initial;
29
+ --tw-backdrop-hue-rotate: initial;
30
+ --tw-backdrop-invert: initial;
31
+ --tw-backdrop-opacity: initial;
32
+ --tw-backdrop-saturate: initial;
33
+ --tw-backdrop-sepia: initial;
34
+ --tw-ease: initial;
35
+ --tw-translate-x: 0;
36
+ --tw-translate-y: 0;
37
+ --tw-translate-z: 0;
38
+ --tw-leading: initial;
39
+ --tw-font-weight: initial;
40
+ --tw-tracking: initial;
41
+ }
42
+ }
43
+ }
44
+
45
+ @layer incode-theme;
46
+
47
+ @layer incode-utilities {
48
+ .absolute {
49
+ position: absolute;
50
+ }
51
+
52
+ .relative {
53
+ position: relative;
54
+ }
55
+
56
+ .container {
57
+ width: 100%;
58
+ }
59
+
60
+ @media (min-width: 40rem) {
61
+ .container {
62
+ max-width: 40rem;
63
+ }
64
+ }
65
+
66
+ @media (min-width: 48rem) {
67
+ .container {
68
+ max-width: 48rem;
69
+ }
70
+ }
71
+
72
+ @media (min-width: 64rem) {
73
+ .container {
74
+ max-width: 64rem;
75
+ }
76
+ }
77
+
78
+ @media (min-width: 80rem) {
79
+ .container {
80
+ max-width: 80rem;
81
+ }
82
+ }
83
+
84
+ @media (min-width: 96rem) {
85
+ .container {
86
+ max-width: 96rem;
87
+ }
88
+ }
89
+
90
+ .block {
91
+ display: block;
92
+ }
93
+
94
+ .flex {
95
+ display: flex;
96
+ }
97
+
98
+ .hidden {
99
+ display: none;
100
+ }
101
+
102
+ .inline-flex {
103
+ display: inline-flex;
104
+ }
105
+
106
+ .transform {
107
+ transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
108
+ }
109
+
110
+ .border {
111
+ border-style: var(--tw-border-style);
112
+ border-width: 1px;
113
+ }
114
+
115
+ .uppercase {
116
+ text-transform: uppercase;
117
+ }
118
+
119
+ .outline {
120
+ outline-style: var(--tw-outline-style);
121
+ outline-width: 1px;
122
+ }
123
+
124
+ .blur {
125
+ --tw-blur: blur(8px);
126
+ filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
127
+ }
128
+
129
+ .filter {
130
+ filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
131
+ }
132
+
133
+ .backdrop-filter {
134
+ -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
135
+ backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
136
+ }
137
+
138
+ .transition {
139
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
140
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
141
+ transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
142
+ }
143
+
144
+ .ease-in-out {
145
+ --tw-ease: var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));
146
+ transition-timing-function: var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));
147
+ }
148
+ }
149
+
150
+ @layer incode-base, incode-components;
151
+
152
+ .IncodeCameraButton {
153
+ justify-content: center;
154
+ align-items: center;
155
+ display: flex;
156
+ }
157
+
158
+ .IncodeCameraButton .IncodeCameraButtonPath {
159
+ fill: var(--color-border-brand-500, var(--border-brand-500-static));
160
+ }
161
+
162
+ .IncodeCameraButton .IncodeCameraButtonBackground {
163
+ fill: var(--color-surface-brand-50, var(--surface-brand-50));
164
+ }
165
+
166
+ .IncodeCaptureContainer {
167
+ flex-direction: column;
168
+ flex: 1;
169
+ justify-content: flex-start;
170
+ align-items: center;
171
+ height: 100%;
172
+ display: flex;
173
+ position: relative;
174
+ overflow: hidden;
175
+ }
176
+
177
+ .IncodeCaptureContainer .IncodeCaptureFrame {
178
+ aspect-ratio: 1;
179
+ border-radius: var(--radius-full, var(--border-radius-full));
180
+ border-style: var(--tw-border-style);
181
+ border-width: 12px;
182
+ border-color: #0000;
183
+ width: 100%;
184
+ max-width: 335px;
185
+ position: relative;
186
+ }
187
+
188
+ .IncodeCaptureContainer .IncodeCaptureVideoWrapper {
189
+ --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
190
+ --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
191
+ width: calc(100% - 24px);
192
+ height: calc(100% - 24px);
193
+ translate: var(--tw-translate-x) var(--tw-translate-y);
194
+ transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
195
+ border-radius: var(--radius-full, var(--border-radius-full));
196
+ background-color: var(--color-white, #fff);
197
+ justify-content: center;
198
+ align-items: center;
199
+ display: flex;
200
+ position: absolute;
201
+ top: 50%;
202
+ left: 50%;
203
+ overflow: hidden;
204
+ }
205
+
206
+ .IncodeCaptureContainer .IncodeCaptureVideo {
207
+ z-index: 50;
208
+ width: 100%;
209
+ height: 100%;
210
+ position: absolute;
211
+ }
212
+
213
+ .IncodeCaptureContainer .IncodeCaptureVideoElement {
214
+ object-fit: cover;
215
+ width: 100%;
216
+ height: 100%;
217
+ position: absolute;
218
+ transform: scaleX(-1);
219
+ }
220
+
221
+ .IncodeCaptureUploadingPage .IncodeCaptureUploadingContainer {
222
+ flex-direction: column;
223
+ flex: 1;
224
+ animation: .4s ease-out fadeInScale;
225
+ display: flex;
226
+ }
227
+
228
+ .IncodeCaptureUploadingPage .IncodeCaptureUploadingTitle {
229
+ text-align: center;
230
+ font-size: var(--text-2xl, 1.5rem);
231
+ line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
232
+ --tw-leading: 125%;
233
+ --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
234
+ line-height: 125%;
235
+ font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
236
+ --tw-tracking: -1px;
237
+ letter-spacing: -1px;
238
+ color: var(--color-text-body-primary, var(--text-body-primary));
239
+ }
240
+
241
+ .IncodeCaptureUploadingPage .IncodeCaptureUploadingPrimaryIcon {
242
+ fill: var(--color-spinner-surface-primary, var(--spinner-surface-primary));
243
+ }
244
+
245
+ .IncodeCaptureUploadingPage .IncodeCaptureUploadingSecondaryIcon {
246
+ fill: var(--color-spinner-surface-secondary, var(--spinner-surface-secondary));
247
+ }
248
+
249
+ .IncodeCaptureSuccessPage .IncodeCaptureSuccessContainer {
250
+ flex-direction: column;
251
+ flex: 1;
252
+ align-items: center;
253
+ display: flex;
254
+ }
255
+
256
+ .IncodeErrorModalContent {
257
+ inset: var(--spacing-0, var(--spacing-none, 0px));
258
+ top: var(--spacing-0, var(--spacing-none, 0px));
259
+ right: var(--spacing-0, var(--spacing-none, 0px));
260
+ bottom: var(--spacing-0, var(--spacing-none, 0px));
261
+ left: var(--spacing-0, var(--spacing-none, 0px));
262
+ z-index: 50;
263
+ background-color: var(--color-white, #fff);
264
+ justify-content: center;
265
+ align-items: center;
266
+ width: 100%;
267
+ height: 100%;
268
+ display: flex;
269
+ position: fixed;
270
+ }
271
+
272
+ .IncodeErrorModalContent .IncodeErrorModalContentContainer {
273
+ width: 100%;
274
+ min-width: 320px;
275
+ height: 100%;
276
+ padding-inline: var(--spacing-16, var(--spacing-16, 16px));
277
+ flex-direction: column;
278
+ justify-content: center;
279
+ align-items: center;
280
+ display: flex;
281
+ }
282
+
283
+ .IncodeErrorModalContent .IncodeErrorModalContentSpacer {
284
+ flex: 1;
285
+ }
286
+
287
+ .IncodeErrorModalContent .IncodeErrorModalContentIconContainer {
288
+ flex-direction: column;
289
+ flex: 1;
290
+ justify-content: center;
291
+ align-items: center;
292
+ display: flex;
293
+ }
294
+
295
+ .IncodeErrorModalContent .IncodeErrorModalContentTitle {
296
+ text-align: center;
297
+ font-size: var(--text-2xl, 1.5rem);
298
+ line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
299
+ --tw-leading: 114%;
300
+ --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
301
+ line-height: 114%;
302
+ font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
303
+ --tw-tracking: -.5px;
304
+ letter-spacing: -.5px;
305
+ color: var(--color-text-body-primary, var(--text-body-primary));
306
+ }
307
+
308
+ .IncodeErrorModalContent .IncodeErrorModalContentDescription {
309
+ text-align: center;
310
+ font-size: var(--text-base, 1rem);
311
+ line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
312
+ --tw-leading: 114%;
313
+ --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
314
+ line-height: 114%;
315
+ font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
316
+ --tw-tracking: -.5px;
317
+ letter-spacing: -.5px;
318
+ color: var(--color-text-body-secondary, var(--text-body-secondary));
319
+ }
320
+
321
+ .IncodeErrorModalContent .IncodeErrorModalContentAttemptsContainer {
322
+ flex-direction: column;
323
+ align-items: center;
324
+ width: 100%;
325
+ display: flex;
326
+ }
327
+
328
+ .IncodeErrorModalContent .IncodeErrorModalContentAttemptsText {
329
+ text-align: center;
330
+ font-size: var(--text-lg, 1.125rem);
331
+ line-height: var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));
332
+ --tw-leading: 114%;
333
+ --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
334
+ line-height: 114%;
335
+ font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
336
+ --tw-tracking: -.5px;
337
+ letter-spacing: -.5px;
338
+ color: var(--color-text-body-secondary, var(--text-body-secondary));
339
+ }
340
+
341
+ .IncodeFaceOutline {
342
+ height: 100%;
343
+ }
344
+
345
+ .IncodeLoadingBorder {
346
+ aspect-ratio: 1;
347
+ width: 100%;
348
+ max-width: 335px;
349
+ position: absolute;
350
+ }
351
+
352
+ .IncodeLoadingBorder.IncodeLoadingBorderSpinning {
353
+ animation: var(--animate-spin, spin 1s linear infinite);
354
+ }
355
+
356
+ .IncodeLoadingBorder .IncodeLoadingBorderPath {
357
+ transition: all 1s ease-in-out;
358
+ }
359
+
360
+ .IncodeManualCaptureButton {
361
+ align-items: center;
362
+ gap: var(--spacing-16, var(--spacing-16, 16px));
363
+ flex-direction: column;
364
+ max-width: 275px;
365
+ display: flex;
366
+ }
367
+
368
+ .IncodeManualCaptureButtonText {
369
+ text-align: center;
370
+ font-size: var(--text-base, 1rem);
371
+ line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
372
+ --tw-leading: 1.14;
373
+ --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
374
+ line-height: 1.14;
375
+ font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
376
+ color: var(--color-text-body-primary, var(--text-body-primary));
377
+ }
378
+
379
+ .IncodeManualCaptureButtonButton {
380
+ padding: var(--spacing-0, var(--spacing-none, 0px));
381
+ }
382
+
383
+ .IncodeNotification {
384
+ flex-direction: column;
385
+ align-items: center;
386
+ display: flex;
387
+ }
388
+
389
+ .IncodeNotificationText {
390
+ text-align: center;
391
+ font-size: var(--text-2xl, 1.5rem);
392
+ line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
393
+ --tw-leading: 1.2;
394
+ --tw-font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
395
+ line-height: 1.2;
396
+ font-weight: var(--font-weight-bold, var(--primitive-typography-weight-bold));
397
+ color: var(--color-text-body-primary, var(--text-body-primary));
398
+ }
399
+
400
+ @property --tw-rotate-x {
401
+ syntax: "*";
402
+ inherits: false
403
+ }
404
+
405
+ @property --tw-rotate-y {
406
+ syntax: "*";
407
+ inherits: false
408
+ }
409
+
410
+ @property --tw-rotate-z {
411
+ syntax: "*";
412
+ inherits: false
413
+ }
414
+
415
+ @property --tw-skew-x {
416
+ syntax: "*";
417
+ inherits: false
418
+ }
419
+
420
+ @property --tw-skew-y {
421
+ syntax: "*";
422
+ inherits: false
423
+ }
424
+
425
+ @property --tw-border-style {
426
+ syntax: "*";
427
+ inherits: false;
428
+ initial-value: solid;
429
+ }
430
+
431
+ @property --tw-outline-style {
432
+ syntax: "*";
433
+ inherits: false;
434
+ initial-value: solid;
435
+ }
436
+
437
+ @property --tw-blur {
438
+ syntax: "*";
439
+ inherits: false
440
+ }
441
+
442
+ @property --tw-brightness {
443
+ syntax: "*";
444
+ inherits: false
445
+ }
446
+
447
+ @property --tw-contrast {
448
+ syntax: "*";
449
+ inherits: false
450
+ }
451
+
452
+ @property --tw-grayscale {
453
+ syntax: "*";
454
+ inherits: false
455
+ }
456
+
457
+ @property --tw-hue-rotate {
458
+ syntax: "*";
459
+ inherits: false
460
+ }
461
+
462
+ @property --tw-invert {
463
+ syntax: "*";
464
+ inherits: false
465
+ }
466
+
467
+ @property --tw-opacity {
468
+ syntax: "*";
469
+ inherits: false
470
+ }
471
+
472
+ @property --tw-saturate {
473
+ syntax: "*";
474
+ inherits: false
475
+ }
476
+
477
+ @property --tw-sepia {
478
+ syntax: "*";
479
+ inherits: false
480
+ }
481
+
482
+ @property --tw-drop-shadow {
483
+ syntax: "*";
484
+ inherits: false
485
+ }
486
+
487
+ @property --tw-drop-shadow-color {
488
+ syntax: "*";
489
+ inherits: false
490
+ }
491
+
492
+ @property --tw-drop-shadow-alpha {
493
+ syntax: "<percentage>";
494
+ inherits: false;
495
+ initial-value: 100%;
496
+ }
497
+
498
+ @property --tw-drop-shadow-size {
499
+ syntax: "*";
500
+ inherits: false
501
+ }
502
+
503
+ @property --tw-backdrop-blur {
504
+ syntax: "*";
505
+ inherits: false
506
+ }
507
+
508
+ @property --tw-backdrop-brightness {
509
+ syntax: "*";
510
+ inherits: false
511
+ }
512
+
513
+ @property --tw-backdrop-contrast {
514
+ syntax: "*";
515
+ inherits: false
516
+ }
517
+
518
+ @property --tw-backdrop-grayscale {
519
+ syntax: "*";
520
+ inherits: false
521
+ }
522
+
523
+ @property --tw-backdrop-hue-rotate {
524
+ syntax: "*";
525
+ inherits: false
526
+ }
527
+
528
+ @property --tw-backdrop-invert {
529
+ syntax: "*";
530
+ inherits: false
531
+ }
532
+
533
+ @property --tw-backdrop-opacity {
534
+ syntax: "*";
535
+ inherits: false
536
+ }
537
+
538
+ @property --tw-backdrop-saturate {
539
+ syntax: "*";
540
+ inherits: false
541
+ }
542
+
543
+ @property --tw-backdrop-sepia {
544
+ syntax: "*";
545
+ inherits: false
546
+ }
547
+
548
+ @property --tw-ease {
549
+ syntax: "*";
550
+ inherits: false
551
+ }
552
+
553
+ @property --tw-translate-x {
554
+ syntax: "*";
555
+ inherits: false;
556
+ initial-value: 0;
557
+ }
558
+
559
+ @property --tw-translate-y {
560
+ syntax: "*";
561
+ inherits: false;
562
+ initial-value: 0;
563
+ }
564
+
565
+ @property --tw-translate-z {
566
+ syntax: "*";
567
+ inherits: false;
568
+ initial-value: 0;
569
+ }
570
+
571
+ @property --tw-leading {
572
+ syntax: "*";
573
+ inherits: false
574
+ }
575
+
576
+ @property --tw-font-weight {
577
+ syntax: "*";
578
+ inherits: false
579
+ }
580
+
581
+ @property --tw-tracking {
582
+ syntax: "*";
583
+ inherits: false
584
+ }
585
+
586
+ @keyframes spin {
587
+ to {
588
+ transform: rotate(360deg);
589
+ }
590
+ }