@incodetech/web 2.0.0-alpha.4 → 2.0.0-alpha.6

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 (36) hide show
  1. package/dist/base.css +230 -0
  2. package/dist/email/email.es.js +3 -3
  3. package/dist/flow/flow.es.js +555 -7
  4. package/dist/flow/styles.css +419 -189
  5. package/dist/{incodeModule-Ct9jp5k6.js → incodeModule-BuCBWati.js} +56 -58
  6. package/dist/index.es.js +4 -99
  7. package/dist/{title-ng7q7YDh.js → instance-B-q0ZREN.js} +194 -215
  8. package/dist/{otpInput-BUrV4IAF.js → otpInput-cq1THeRd.js} +1 -1
  9. package/dist/phone/phone.es.js +3 -4
  10. package/dist/{button-DeMZ_34N.js → preact-custom-element.esm-BGQkPkOv.js} +145 -166
  11. package/dist/selfie/selfie.es.js +63 -63
  12. package/dist/selfie/styles.css +267 -787
  13. package/dist/setup-wNL83jmW.js +20 -0
  14. package/dist/title-XSxhaBDx.js +25 -0
  15. package/dist/types/email/email.d.ts +1 -1
  16. package/dist/types/email/styles.d.ts +1 -0
  17. package/dist/types/email.d.ts +1 -1
  18. package/dist/types/flow/flow.d.ts +1 -1
  19. package/dist/types/flow/styles.d.ts +1 -0
  20. package/dist/types/flow.d.ts +2 -2
  21. package/dist/types/index.d.ts +4 -99
  22. package/dist/types/phone/phone.d.ts +1 -1
  23. package/dist/types/phone/styles.d.ts +1 -0
  24. package/dist/types/phone.d.ts +1 -1
  25. package/dist/types/selfie/selfie.d.ts +1 -1
  26. package/dist/types/selfie/styles.d.ts +1 -0
  27. package/dist/types/selfie.d.ts +1 -1
  28. package/dist/types/styles.d.ts +1 -0
  29. package/dist/uiConfig-CQ1W9cUD.js +23 -0
  30. package/package.json +6 -5
  31. package/dist/button.css +0 -335
  32. package/dist/flow-ZK6OBsa3.js +0 -568
  33. package/dist/incodeModule.css +0 -119
  34. package/dist/otpInput.css +0 -167
  35. package/dist/successIcon.css +0 -4
  36. package/dist/title.css +0 -38
@@ -0,0 +1,20 @@
1
+ import { setup as p } from "@incodetech/core";
2
+ import { c, s as m } from "./instance-B-q0ZREN.js";
3
+ import "./vendor-preact-CK0WeTOR.js";
4
+ import { s as f } from "./uiConfig-CQ1W9cUD.js";
5
+ async function y({
6
+ apiURL: t,
7
+ token: a,
8
+ customHeaders: n,
9
+ timeout: e,
10
+ wasm: o,
11
+ i18n: r,
12
+ uiConfig: s
13
+ }) {
14
+ s && f(s), await p({ apiURL: t, token: a, customHeaders: n, timeout: e, wasm: o });
15
+ const i = c(r);
16
+ m(i);
17
+ }
18
+ export {
19
+ y as s
20
+ };
@@ -0,0 +1,25 @@
1
+ import { d as o, y as s } from "./vendor-preact-CK0WeTOR.js";
2
+ import { g as l } from "./instance-B-q0ZREN.js";
3
+ import { u as c } from "./preact-custom-element.esm-BGQkPkOv.js";
4
+ function h() {
5
+ const n = l(), [, e] = o(0), [d, r] = o(n.isInitialized);
6
+ return s(() => {
7
+ const t = () => {
8
+ e((a) => a + 1);
9
+ }, i = () => {
10
+ r(!0), e((a) => a + 1);
11
+ };
12
+ return n.on("languageChanged", t), n.on("initialized", i), n.on("loaded", t), () => {
13
+ n.off("languageChanged", t), n.off("initialized", i), n.off("loaded", t);
14
+ };
15
+ }, [n]), {
16
+ t: n.t.bind(n),
17
+ ready: d,
18
+ i18n: n
19
+ };
20
+ }
21
+ const m = ({ children: n, className: e }) => /* @__PURE__ */ c("h2", { class: `IncodeTitle ${e ?? ""}`, children: n });
22
+ export {
23
+ m as T,
24
+ h as u
25
+ };
@@ -1,2 +1,2 @@
1
- export * from '../ui/src/email/email'
1
+ export * from '../ui/src/modules/email/email'
2
2
  export {}
@@ -0,0 +1 @@
1
+ export {}
@@ -1,4 +1,4 @@
1
- import { EmailConfig } from '../../../core/src/email';
1
+ import { EmailConfig } from '../../../../core/src/email';
2
2
  import { FC } from 'preact/compat';
3
3
 
4
4
  /**
@@ -1,2 +1,2 @@
1
- export * from '../ui/src/flow/flow'
1
+ export * from '../ui/src/modules/flow/flow'
2
2
  export {}
@@ -0,0 +1 @@
1
+ export {}
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'preact/compat';
2
- import { FinishStatus } from '../../../core/src/flow';
3
- import { WasmConfig } from '../../../core/src';
2
+ import { FinishStatus } from '../../../../core/src/flow';
3
+ import { WasmConfig } from '../../../../core/src';
4
4
 
5
5
  export declare const IncodeFlow: FC<IncodeFlowProps>;
6
6
 
@@ -1,14 +1,9 @@
1
1
  import { EmailConfig } from '../../../core/src/email';
2
- import { FC } from 'preact/compat';
3
- import { FinishStatus } from '../../../core/src/flow';
4
- import { i18n } from 'i18next';
2
+ import { FlowCompletedProps } from '../flow/flowCompleted';
3
+ import { IncodeFlowProps } from '../flow/flow';
5
4
  import { PhoneConfig } from '../../../core/src/phone';
6
5
  import { SelfieConfig } from '../../../core/src/selfie';
7
- import { TFunction } from 'i18next';
8
- import { WasmConfig } from '../../../core/src';
9
- import { WasmConfig as WasmConfig_2 } from '../../core/src';
10
-
11
- export declare const FlowCompleted: FC<FlowCompletedProps>;
6
+ import { WasmConfig } from '../../core/src';
12
7
 
13
8
  /**
14
9
  * Element type for the `<incode-flow-completed>` web component.
@@ -23,27 +18,6 @@ export declare const FlowCompleted: FC<FlowCompletedProps>;
23
18
  */
24
19
  export declare type FlowCompletedElement = HTMLElement & FlowCompletedProps;
25
20
 
26
- export declare type FlowCompletedProps = {
27
- title?: string;
28
- message?: string;
29
- redirectionUrl?: string;
30
- action?: 'approved' | 'rejected' | 'none';
31
- scoreStatus?: 'OK' | 'WARN' | 'MANUAL_OK' | 'FAIL' | 'UNKNOWN' | 'MANUAL_FAIL';
32
- redirectDelay?: number;
33
- disableRedirect?: boolean;
34
- redirectOriginOnly?: boolean;
35
- flowId?: string;
36
- interviewId?: string;
37
- };
38
-
39
- export declare const FlowStart: FC<FlowStartProps>;
40
-
41
- declare type FlowStartProps = {
42
- logoUrl?: string;
43
- subtitle?: string;
44
- onStart: () => void;
45
- };
46
-
47
21
  declare type I18nOptions = {
48
22
  lang?: string;
49
23
  translations?: Translations;
@@ -63,8 +37,6 @@ declare type I18nOptions = {
63
37
  */
64
38
  export declare type IncodeEmailElement = HTMLElement & IncodeModuleProps<EmailConfig>;
65
39
 
66
- export declare const IncodeFlow: FC<IncodeFlowProps>;
67
-
68
40
  /**
69
41
  * Element type for the `<incode-flow>` web component.
70
42
  *
@@ -79,20 +51,6 @@ export declare const IncodeFlow: FC<IncodeFlowProps>;
79
51
  */
80
52
  export declare type IncodeFlowElement = HTMLElement & IncodeFlowProps;
81
53
 
82
- export declare type IncodeFlowProps = {
83
- apiURL: string;
84
- token: string;
85
- wasmConfig?: WasmConfig;
86
- lang?: string;
87
- disableDashboardTheme?: boolean;
88
- onComplete: (result: FinishStatus) => void;
89
- onError?: (error: string) => void;
90
- onModuleLoading?: (moduleKey: string) => void;
91
- onModuleLoaded?: (moduleKey: string) => void;
92
- onWasmWarmup?: (pipelines: string[]) => void;
93
- spinnerConfig?: SpinnerConfig;
94
- };
95
-
96
54
  export declare type IncodeModuleProps<TConfig> = {
97
55
  /**
98
56
  * Module configuration required to render the flow.
@@ -137,29 +95,8 @@ export declare type IncodePhoneElement = HTMLElement & IncodeModuleProps<PhoneCo
137
95
  */
138
96
  export declare type IncodeSelfieElement = HTMLElement & IncodeModuleProps<SelfieConfig>;
139
97
 
140
- declare type InferState<T> = T extends {
141
- getState: () => infer S;
142
- } ? S : never;
143
-
144
98
  declare type LanguageTranslations = Record<string, TranslationValue>;
145
99
 
146
- declare type PreloadConfig = {
147
- apiURL: string;
148
- token: string;
149
- lang?: string;
150
- disableDashboardTheme?: boolean;
151
- wasmConfig?: WasmConfig;
152
- };
153
-
154
- export declare type PreloadHandle = {
155
- get isReady(): boolean;
156
- get error(): string | null;
157
- waitUntilReady(): Promise<void>;
158
- cancel(): void;
159
- };
160
-
161
- export declare function preloadIncodeFlow(config: PreloadConfig): PreloadHandle;
162
-
163
100
  /**
164
101
  * Sets global UI configuration defaults for `@incodetech/ui`.
165
102
  */
@@ -172,19 +109,11 @@ declare type SetupOptions = {
172
109
  token: string;
173
110
  customHeaders?: Record<string, string>;
174
111
  timeout?: number;
175
- wasm?: WasmConfig_2;
112
+ wasm?: WasmConfig;
176
113
  i18n?: I18nOptions;
177
114
  uiConfig?: UiConfig;
178
115
  };
179
116
 
180
- export declare type SpinnerConfig = {
181
- title?: string;
182
- subtitle?: string;
183
- size?: SpinnerSize;
184
- };
185
-
186
- declare type SpinnerSize = 'small' | 'medium' | 'large';
187
-
188
117
  declare type Translations = Partial<Record<string, LanguageTranslations>>;
189
118
 
190
119
  declare type TranslationValue = string | Record<string, unknown>;
@@ -196,28 +125,4 @@ export declare type UiConfig = {
196
125
  hideFooterBranding?: boolean;
197
126
  };
198
127
 
199
- /**
200
- * Hook for subscribing to manager state updates
201
- * @param factory - Factory function that creates the manager instance
202
- * @param options - Configuration options
203
- * @returns Tuple of [state, manager]
204
- */
205
- export declare function useManager<TManager extends {
206
- getState: () => TState;
207
- subscribe: (listener: (state: TState) => void) => () => void;
208
- load?: () => void;
209
- }, TState = InferState<TManager>>(factory: () => TManager, options?: UseManagerOptions): [TState, TManager];
210
-
211
- declare type UseManagerOptions = {
212
- autoLoad?: boolean;
213
- };
214
-
215
- export declare function useTranslation(): UseTranslationReturn;
216
-
217
- declare type UseTranslationReturn = {
218
- t: TFunction;
219
- ready: boolean;
220
- i18n: i18n;
221
- };
222
-
223
128
  export { }
@@ -1,2 +1,2 @@
1
- export * from '../ui/src/phone/phone'
1
+ export * from '../ui/src/modules/phone/phone'
2
2
  export {}
@@ -0,0 +1 @@
1
+ export {}
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'preact/compat';
2
- import { PhoneConfig } from '../../../core/src/phone';
2
+ import { PhoneConfig } from '../../../../core/src/phone';
3
3
 
4
4
  declare type IncodeModuleProps<TConfig> = {
5
5
  /**
@@ -1,2 +1,2 @@
1
- export * from '../ui/src/selfie/selfie'
1
+ export * from '../ui/src/modules/selfie/selfie'
2
2
  export {}
@@ -0,0 +1 @@
1
+ export {}
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'preact/compat';
2
- import { SelfieConfig } from '../../../core/src/selfie';
2
+ import { SelfieConfig } from '../../../../core/src/selfie';
3
3
 
4
4
  declare type IncodeModuleProps<TConfig> = {
5
5
  /**
@@ -0,0 +1 @@
1
+ export { }
@@ -0,0 +1,23 @@
1
+ import { C as i } from "./vendor-preact-CK0WeTOR.js";
2
+ let e = {};
3
+ const t = /* @__PURE__ */ new Set();
4
+ function r(n) {
5
+ return t.add(n), () => {
6
+ t.delete(n);
7
+ };
8
+ }
9
+ function s() {
10
+ return e;
11
+ }
12
+ function f(n) {
13
+ e = n;
14
+ for (const o of t)
15
+ o();
16
+ }
17
+ function c() {
18
+ return i(r, s);
19
+ }
20
+ export {
21
+ f as s,
22
+ c as u
23
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "2.0.0-alpha.4",
3
+ "version": "2.0.0-alpha.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -58,10 +58,9 @@
58
58
  "libphonenumber-js": "^1.11.0",
59
59
  "preact-custom-element": "^4.6.0",
60
60
  "tailwindcss": "^4.1.17",
61
- "@incodetech/core": "2.0.0-alpha.4"
61
+ "@incodetech/core": "2.0.0-alpha.6"
62
62
  },
63
63
  "devDependencies": {
64
- "@biomejs/biome": "^2.3.7",
65
64
  "@preact/preset-vite": "^2.10.2",
66
65
  "@tailwindcss/postcss": "^4.1.17",
67
66
  "@testing-library/preact": "^3.2.4",
@@ -84,8 +83,10 @@
84
83
  "build": "vite build",
85
84
  "test": "vitest run",
86
85
  "coverage": "vitest run --coverage",
87
- "lint": "biome lint .",
88
- "format": "biome format . --write",
86
+ "lint": "eslint .",
87
+ "lint:fix": "eslint . --fix",
88
+ "format": "prettier --write .",
89
+ "format:check": "prettier --check .",
89
90
  "typecheck": "tsc -p tsconfig.json --noEmit"
90
91
  }
91
92
  }
package/dist/button.css DELETED
@@ -1,335 +0,0 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
- .IncodeLoadingIcon {
3
- animation: var(--animate-spin, spin 1s linear infinite);
4
- display: inline-block;
5
- position: relative;
6
- }
7
-
8
- .IncodeLoadingIconPrimary, .IncodeLoadingIconSecondary {
9
- inset: var(--spacing-0, var(--spacing-none, 0px));
10
- justify-content: center;
11
- align-items: center;
12
- display: flex;
13
- position: absolute;
14
- }
15
-
16
- .IncodeLoadingIconPrimaryIcon {
17
- fill: var(--color-spinner-surface-primary, var(--spinner-surface-primary));
18
- }
19
-
20
- .IncodeLoadingIconSecondaryIcon {
21
- fill: var(--color-spinner-surface-secondary, var(--spinner-surface-secondary));
22
- }
23
-
24
- .IncodeCaptureUploadingIconContainer {
25
- justify-content: center;
26
- align-items: center;
27
- display: flex;
28
- }
29
-
30
- @keyframes spin {
31
- to {
32
- transform: rotate(360deg);
33
- }
34
- }
35
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
36
- .IncodeSpacerFlex {
37
- flex: 1;
38
- }
39
-
40
- .IncodeSpacerVertical0 {
41
- height: var(--spacing-0, var(--spacing-none, 0px));
42
- width: 100%;
43
- }
44
-
45
- .IncodeSpacerVertical2 {
46
- height: var(--spacing-2, var(--spacing-2, 2px));
47
- width: 100%;
48
- }
49
-
50
- .IncodeSpacerVertical4 {
51
- height: var(--spacing-4, var(--spacing-4, 4px));
52
- width: 100%;
53
- }
54
-
55
- .IncodeSpacerVertical8 {
56
- height: var(--spacing-8, var(--spacing-8, 8px));
57
- width: 100%;
58
- }
59
-
60
- .IncodeSpacerVertical12 {
61
- height: var(--spacing-12, var(--spacing-12, 12px));
62
- width: 100%;
63
- }
64
-
65
- .IncodeSpacerVertical16 {
66
- height: var(--spacing-16, var(--spacing-16, 16px));
67
- width: 100%;
68
- }
69
-
70
- .IncodeSpacerVertical20 {
71
- height: var(--spacing-20, var(--spacing-20, 20px));
72
- width: 100%;
73
- }
74
-
75
- .IncodeSpacerVertical24 {
76
- height: var(--spacing-24, var(--spacing-24, 24px));
77
- width: 100%;
78
- }
79
-
80
- .IncodeSpacerVertical32 {
81
- height: var(--spacing-32, var(--spacing-32, 32px));
82
- width: 100%;
83
- }
84
-
85
- .IncodeSpacerVertical40 {
86
- height: var(--spacing-40, var(--spacing-40, 40px));
87
- width: 100%;
88
- }
89
-
90
- .IncodeSpacerVertical48 {
91
- height: var(--spacing-48, var(--spacing-48, 48px));
92
- width: 100%;
93
- }
94
-
95
- .IncodeSpacerVertical64 {
96
- height: var(--spacing-64, var(--spacing-64, 64px));
97
- width: 100%;
98
- }
99
-
100
- .IncodeSpacerVertical80 {
101
- height: var(--spacing-80, var(--spacing-80, 80px));
102
- width: 100%;
103
- }
104
-
105
- .IncodeSpacerVertical96 {
106
- height: var(--spacing-96, var(--spacing-96, 96px));
107
- width: 100%;
108
- }
109
-
110
- .IncodeSpacerVertical104 {
111
- height: var(--spacing-104, var(--spacing-104, 104px));
112
- width: 100%;
113
- }
114
-
115
- .IncodeSpacerVertical120 {
116
- height: var(--spacing-120, var(--spacing-120, 120px));
117
- width: 100%;
118
- }
119
-
120
- .IncodeSpacerVertical160 {
121
- height: var(--spacing-160, var(--spacing-160, 160px));
122
- width: 100%;
123
- }
124
-
125
- .IncodeSpacerVertical200 {
126
- height: var(--spacing-200, var(--spacing-200, 200px));
127
- width: 100%;
128
- }
129
-
130
- .IncodeSpacerHorizontal0 {
131
- height: 100%;
132
- width: var(--spacing-0, var(--spacing-none, 0px));
133
- }
134
-
135
- .IncodeSpacerHorizontal2 {
136
- height: 100%;
137
- width: var(--spacing-2, var(--spacing-2, 2px));
138
- }
139
-
140
- .IncodeSpacerHorizontal4 {
141
- height: 100%;
142
- width: var(--spacing-4, var(--spacing-4, 4px));
143
- }
144
-
145
- .IncodeSpacerHorizontal8 {
146
- height: 100%;
147
- width: var(--spacing-8, var(--spacing-8, 8px));
148
- }
149
-
150
- .IncodeSpacerHorizontal12 {
151
- height: 100%;
152
- width: var(--spacing-12, var(--spacing-12, 12px));
153
- }
154
-
155
- .IncodeSpacerHorizontal16 {
156
- height: 100%;
157
- width: var(--spacing-16, var(--spacing-16, 16px));
158
- }
159
-
160
- .IncodeSpacerHorizontal20 {
161
- height: 100%;
162
- width: var(--spacing-20, var(--spacing-20, 20px));
163
- }
164
-
165
- .IncodeSpacerHorizontal24 {
166
- height: 100%;
167
- width: var(--spacing-24, var(--spacing-24, 24px));
168
- }
169
-
170
- .IncodeSpacerHorizontal32 {
171
- height: 100%;
172
- width: var(--spacing-32, var(--spacing-32, 32px));
173
- }
174
-
175
- .IncodeSpacerHorizontal40 {
176
- height: 100%;
177
- width: var(--spacing-40, var(--spacing-40, 40px));
178
- }
179
-
180
- .IncodeSpacerHorizontal48 {
181
- height: 100%;
182
- width: var(--spacing-48, var(--spacing-48, 48px));
183
- }
184
-
185
- .IncodeSpacerHorizontal64 {
186
- height: 100%;
187
- width: var(--spacing-64, var(--spacing-64, 64px));
188
- }
189
-
190
- .IncodeSpacerHorizontal80 {
191
- height: 100%;
192
- width: var(--spacing-80, var(--spacing-80, 80px));
193
- }
194
-
195
- .IncodeSpacerHorizontal96 {
196
- height: 100%;
197
- width: var(--spacing-96, var(--spacing-96, 96px));
198
- }
199
-
200
- .IncodeSpacerHorizontal104 {
201
- height: 100%;
202
- width: var(--spacing-104, var(--spacing-104, 104px));
203
- }
204
-
205
- .IncodeSpacerHorizontal120 {
206
- height: 100%;
207
- width: var(--spacing-120, var(--spacing-120, 120px));
208
- }
209
-
210
- .IncodeSpacerHorizontal160 {
211
- height: 100%;
212
- width: var(--spacing-160, var(--spacing-160, 160px));
213
- }
214
-
215
- .IncodeSpacerHorizontal200 {
216
- height: 100%;
217
- width: var(--spacing-200, var(--spacing-200, 200px));
218
- }
219
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
220
- @layer properties {
221
- @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
222
- *, :before, :after, ::backdrop {
223
- --tw-duration: initial;
224
- --tw-font-weight: initial;
225
- --tw-border-style: solid;
226
- }
227
- }
228
- }
229
-
230
- .IncodeButton {
231
- border-radius: var(--radius-button-primary, var(--button-primary-border-radius));
232
- text-align: center;
233
- width: 100%;
234
- max-width: 420px;
235
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
236
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
237
- transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
238
- --tw-duration: .2s;
239
- margin-inline: auto;
240
- transition-duration: .2s;
241
- display: block;
242
- }
243
-
244
- .IncodeButton.IncodeButtonPrimary {
245
- background-color: var(--color-button-primary-surface-default, var(--button-primary-surface-default));
246
- color: var(--color-button-primary-text-default, var(--button-primary-text-default));
247
- padding-inline: var(--spacing-32, var(--spacing-32, 32px));
248
- font-size: var(--text-18, var(--primitive-typography-size-18));
249
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
250
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
251
- border-style: var(--tw-border-style);
252
- border-width: 1.5px;
253
- border-color: var(--color-button-primary-border-default, var(--button-primary-border-default));
254
- padding-block: 18px;
255
- }
256
-
257
- .IncodeButton.IncodeButtonPrimary:active {
258
- background-color: var(--color-button-primary-surface-pressed, var(--button-primary-surface-pressed));
259
- }
260
-
261
- .IncodeButton.IncodeButtonPrimary:not(.IncodeButtonLoading):disabled {
262
- background-color: var(--color-button-primary-surface-disabled, var(--button-primary-surface-disabled));
263
- color: var(--color-button-primary-text-disabled, var(--button-primary-text-disabled));
264
- cursor: not-allowed;
265
- border-style: var(--tw-border-style);
266
- border-width: 1px;
267
- border-color: var(--color-button-primary-border-disabled, var(--button-primary-border-disabled));
268
- }
269
-
270
- .IncodeButton.IncodeButtonPrimary.IncodeButtonLoading {
271
- min-height: 56px;
272
- padding: var(--spacing-0, var(--spacing-none, 0px));
273
- pointer-events: none;
274
- cursor: not-allowed;
275
- justify-content: center;
276
- align-items: center;
277
- display: flex;
278
- }
279
-
280
- .IncodeButton.IncodeButtonPrimary.IncodeButtonLoading .IncodeLoadingIconPrimaryIcon {
281
- fill: var(--button-primary-text-default);
282
- }
283
-
284
- .IncodeButton.IncodeButtonPrimary.IncodeButtonLoading .IncodeLoadingIconSecondaryIcon {
285
- fill: var(--surface-brand-400-static);
286
- }
287
-
288
- .IncodeButton.IncodeButtonLink {
289
- color: var(--color-button-primary-surface-default, var(--button-primary-surface-default));
290
- border-style: var(--tw-border-style);
291
- border-width: var(--border-width-none, var(--border-none));
292
- --tw-border-style: none;
293
- font-size: var(--text-16, var(--primitive-typography-size-16));
294
- --tw-font-weight: var(--font-weight-normal, 400);
295
- font-weight: var(--font-weight-normal, 400);
296
- background-color: #0000;
297
- border-style: none;
298
- width: 100%;
299
- height: 56px;
300
- text-decoration-line: underline;
301
- }
302
-
303
- .IncodeButton.IncodeButtonLink:disabled {
304
- cursor: not-allowed;
305
- opacity: .5;
306
- }
307
-
308
- .IncodeButton.IncodeButtonLink.IncodeButtonLoading {
309
- pointer-events: none;
310
- cursor: not-allowed;
311
- }
312
-
313
- .IncodeButton.IncodeButtonLink.IncodeButtonLoading .IncodeLoadingIconPrimaryIcon {
314
- fill: var(--button-primary-surface-default);
315
- }
316
-
317
- .IncodeButton.IncodeButtonLink.IncodeButtonLoading .IncodeLoadingIconSecondaryIcon {
318
- fill: var(--surface-brand-400-static);
319
- }
320
-
321
- @property --tw-duration {
322
- syntax: "*";
323
- inherits: false
324
- }
325
-
326
- @property --tw-font-weight {
327
- syntax: "*";
328
- inherits: false
329
- }
330
-
331
- @property --tw-border-style {
332
- syntax: "*";
333
- inherits: false;
334
- initial-value: solid;
335
- }