@incodetech/web 0.0.0-dev-20260320-80a2d6d → 0.0.0-dev-20260323-4991693

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.
@@ -0,0 +1,124 @@
1
+ import { b as N, u as e, S as x, B as g } from "./button-Yr39X4SE.js";
2
+ import { d as R, A as p, q as S, y as m } from "./vendor-preact--mDTxXnt.js";
3
+ import { a as $ } from "./inputComposed-BOGdXswZ.js";
4
+ import "./uiConfig-CKJmKRCo.js";
5
+ const s = 6, B = (l) => {
6
+ const c = Math.floor(l / 60), u = l % 60;
7
+ return `${c}:${u.toString().padStart(2, "0")}`;
8
+ }, k = (l) => l.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, s), q = ({
9
+ resendTimer: l,
10
+ canResend: c,
11
+ error: u,
12
+ onSubmit: i,
13
+ onResend: y,
14
+ onBack: A,
15
+ backLinkText: z = "otp.changePhoneNumber",
16
+ disabled: h = !1,
17
+ isLoading: n = !1
18
+ }) => {
19
+ const { t: o } = N(), [r, C] = R(""), d = p(null), v = p(0), b = p(null), O = p(c), I = p(), T = S((t) => {
20
+ const a = b.current;
21
+ a && (clearTimeout(I.current), a.textContent = "", I.current = setTimeout(() => {
22
+ a.textContent = t;
23
+ }, 50));
24
+ }, []);
25
+ m(() => {
26
+ const t = !O.current;
27
+ return O.current = c, t && c && T(o("otp.resendCodeAvailable")), () => clearTimeout(I.current);
28
+ }, [c, T, o]), m(() => {
29
+ d.current && d.current.focus();
30
+ }, []), m(() => {
31
+ u && setTimeout(() => {
32
+ d.current?.focus();
33
+ }, 0);
34
+ }, [u]), m(() => {
35
+ if (!r) return;
36
+ const t = r.length === s && v.current < s;
37
+ v.current = r.length, t && !n && i(r);
38
+ }, [r, n, i]);
39
+ const P = (t) => {
40
+ t.target.select();
41
+ }, w = (t) => {
42
+ const a = t.target;
43
+ C(k(a.value));
44
+ }, D = (t) => {
45
+ t.preventDefault();
46
+ const a = t.clipboardData?.getData("text") || "", f = k(a);
47
+ f && (C(f), f.length === s && !n && i(f));
48
+ }, M = () => /* @__PURE__ */ e("div", { class: "IncodeOtpInputActions", children: c && !n ? /* @__PURE__ */ e("p", { class: "IncodeOtpInputResendText", "data-testid": "otp-resend-section", children: [
49
+ o("otp.didYouNotGetIt"),
50
+ /* @__PURE__ */ e(
51
+ "button",
52
+ {
53
+ type: "button",
54
+ class: "IncodeOtpInputLink",
55
+ onClick: y,
56
+ disabled: h || n,
57
+ "data-testid": "otp-resend",
58
+ children: o("otp.resendCode")
59
+ }
60
+ ),
61
+ ` ${o("otp.or")} `,
62
+ /* @__PURE__ */ e(
63
+ "button",
64
+ {
65
+ type: "button",
66
+ class: "IncodeOtpInputLink",
67
+ onClick: A,
68
+ disabled: h || n,
69
+ "data-testid": "otp-back",
70
+ children: o(z)
71
+ }
72
+ )
73
+ ] }) : n ? null : /* @__PURE__ */ e(g, { variant: "link", disabled: !0, "data-testid": "otp-timer", children: o("otp.resendCountdown", { time: B(l) }) }) });
74
+ return /* @__PURE__ */ e("div", { class: "IncodeOtpInput IncodeOtpInputComposed", children: [
75
+ /* @__PURE__ */ e(
76
+ "div",
77
+ {
78
+ ref: b,
79
+ class: "IncodeSrOnly",
80
+ "aria-live": "polite",
81
+ "aria-atomic": "true"
82
+ }
83
+ ),
84
+ /* @__PURE__ */ e(
85
+ $,
86
+ {
87
+ id: "otp-code",
88
+ type: "text",
89
+ inputMode: "text",
90
+ ref: d,
91
+ maxLength: s,
92
+ value: r,
93
+ error: u,
94
+ onInput: w,
95
+ onPaste: D,
96
+ onFocus: P,
97
+ disabled: h || n,
98
+ autocomplete: "one-time-code",
99
+ "data-testid": "otp-input-0",
100
+ "aria-label": o("otp.verificationCode"),
101
+ class: "IncodeOtpSingleInput",
102
+ showErrorIcon: !0
103
+ }
104
+ ),
105
+ /* @__PURE__ */ e(x, {}),
106
+ /* @__PURE__ */ e(
107
+ g,
108
+ {
109
+ onClick: () => {
110
+ r.length === s && i(r);
111
+ },
112
+ disabled: r.length < s || n,
113
+ isLoading: n,
114
+ "data-testid": "otp-submit",
115
+ children: o("common.continue")
116
+ }
117
+ ),
118
+ /* @__PURE__ */ e(x, { size: 12 }),
119
+ M()
120
+ ] });
121
+ };
122
+ export {
123
+ q as O
124
+ };
@@ -1,60 +1,72 @@
1
- import { u as e, I as b, b as O, a as I, S as C, B as E } from "../button-Yr39X4SE.js";
2
- import { createPhoneManager as S } from "@incodetech/core/phone";
3
- import { d as v } from "../vendor-preact--mDTxXnt.js";
1
+ import { u as e, I as b, b as I, a as C, S as c, B as O } from "../button-Yr39X4SE.js";
2
+ import { createPhoneManager as v } from "@incodetech/core/phone";
3
+ import { d as S } from "../vendor-preact--mDTxXnt.js";
4
4
  import "../uiConfig-CKJmKRCo.js";
5
5
  import "@incodetech/core";
6
- import { O as y } from "../otpInput-2bT7uNnk.js";
6
+ import { C as E } from "../checkbox-BkW6ZbEQ.js";
7
+ import { O as y } from "../otpInput-BfCYQ0Km.js";
7
8
  import { P as m } from "../page-DO2rYslN.js";
8
- import { r as w } from "../incodeModule-Bxzkb7nW.js";
9
- import { PhoneInput as k } from "../phoneInput-B7gKhoUa.js";
9
+ import { P as w } from "../phoneInputComposed-kkWl6RLT.js";
10
+ import { r as k } from "../incodeModule-Bxzkb7nW.js";
10
11
  const B = ({
11
12
  config: n,
12
13
  manager: r,
13
14
  onFinish: a,
14
15
  onError: u
15
16
  }) => {
16
- const { t: s } = O(), [t, o] = I(
17
+ const { t: o } = I(), [t, s] = C(
17
18
  () => {
18
19
  if (r) return r;
19
20
  if (!n)
20
21
  throw new Error("Phone config is required");
21
- return S({ config: n });
22
+ return v({ config: n });
22
23
  },
23
24
  { manageLifecycle: !r }
24
- ), [c, h] = v(!1);
25
+ ), [h, g] = S(!1);
25
26
  if (t.status === "idle" || t.status === "loadingPrefill" || t.status === "inputting" || t.status === "submitting" || t.status === "sendingOtp") {
26
- const i = t.status === "idle" || t.status === "loadingPrefill" || t.status === "submitting" || t.status === "sendingOtp", p = t.status === "inputting" ? t.countryCode : "US", f = t.status === "inputting" ? t.phonePrefix : "+1", g = t.status === "inputting" ? t.prefilledPhone : void 0, P = t.status === "inputting" && t.phoneError ? s(t.phoneError) : void 0;
27
+ const i = t.status === "idle" || t.status === "loadingPrefill" || t.status === "submitting" || t.status === "sendingOtp", d = t.status === "inputting" ? t.countryCode : "US", f = t.status === "inputting" ? t.prefilledPhone : void 0, P = t.status === "inputting" && t.phoneError ? o(t.phoneError) : void 0;
27
28
  return /* @__PURE__ */ e(
28
29
  m,
29
30
  {
30
31
  className: "IncodePhonePage",
31
- title: s("phone.verify"),
32
- subtitle: n.otpVerification ? s("email.willSendCode") : void 0,
32
+ title: o("phone.verify"),
33
+ subtitle: n.otpVerification ? o("email.willSendCode") : void 0,
33
34
  children: [
35
+ /* @__PURE__ */ e("div", { class: "IncodePhoneInputContainer", children: [
36
+ /* @__PURE__ */ e(
37
+ w,
38
+ {
39
+ id: "phone",
40
+ countryCode: d,
41
+ value: f,
42
+ error: P,
43
+ disabled: i,
44
+ onChange: (p, l) => {
45
+ s.setPhoneNumber(p, l), g(l);
46
+ },
47
+ "data-testid": "phone-input"
48
+ }
49
+ ),
50
+ /* @__PURE__ */ e(c, { size: 16 }),
51
+ n.optinEnabled && /* @__PURE__ */ e(
52
+ E,
53
+ {
54
+ id: "phone-optin",
55
+ label: o("phone.optIn"),
56
+ size: "s",
57
+ onChange: (p) => s.setOptInGranted(p.target.checked)
58
+ }
59
+ )
60
+ ] }),
61
+ /* @__PURE__ */ e(c, {}),
34
62
  /* @__PURE__ */ e(
35
- k,
63
+ O,
36
64
  {
37
- countryCode: p,
38
- phonePrefix: f,
39
- prefilledPhone: g,
40
- phoneError: P,
41
- optinEnabled: n.optinEnabled,
42
- disabled: i,
43
- onPhoneChange: (d, l) => {
44
- o.setPhoneNumber(d, l), h(l);
45
- },
46
- onOptInChange: (d) => o.setOptInGranted(d)
47
- }
48
- ),
49
- /* @__PURE__ */ e(C, {}),
50
- /* @__PURE__ */ e(
51
- E,
52
- {
53
- onClick: () => o.submit(),
54
- disabled: !c,
65
+ onClick: () => s.submit(),
66
+ disabled: !h,
55
67
  isLoading: i,
56
68
  "data-testid": "phone-submit",
57
- children: s("common.continue")
69
+ children: o("common.continue")
58
70
  }
59
71
  )
60
72
  ]
@@ -63,15 +75,15 @@ const B = ({
63
75
  }
64
76
  if (t.status === "awaitingOtp" || t.status === "verifyingOtp" || t.status === "otpError") {
65
77
  const i = t.status === "verifyingOtp";
66
- return /* @__PURE__ */ e(m, { className: "IncodePhonePage", title: s("otp.enterCodeSMS"), children: /* @__PURE__ */ e(
78
+ return /* @__PURE__ */ e(m, { className: "IncodePhonePage", title: o("otp.enterCodeSMS"), children: /* @__PURE__ */ e(
67
79
  y,
68
80
  {
69
81
  resendTimer: t.status === "awaitingOtp" ? t.resendTimer : 0,
70
82
  canResend: t.status === "awaitingOtp" ? t.canResend : !1,
71
- error: t.status === "otpError" ? s(t.error) : void 0,
72
- onSubmit: (p) => o.submitOtp(p),
73
- onResend: () => o.resendOtp(),
74
- onBack: () => o.back(),
83
+ error: t.status === "otpError" ? o(t.error) : void 0,
84
+ onSubmit: (d) => s.submitOtp(d),
85
+ onResend: () => s.resendOtp(),
86
+ onBack: () => s.back(),
75
87
  isLoading: i
76
88
  }
77
89
  ) });
@@ -91,7 +103,7 @@ const B = ({
91
103
  onError: u
92
104
  }
93
105
  ) : null });
94
- w(L, "incode-phone");
106
+ k(L, "incode-phone");
95
107
  export {
96
108
  L as Phone
97
109
  };
@@ -1,305 +1,11 @@
1
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-border-style: solid;
6
- --tw-duration: initial;
7
- --tw-font-weight: initial;
8
- --tw-leading: initial;
9
- }
10
- }
11
- }
12
-
13
2
  .IncodePhonePage .IncodePageContent {
14
3
  padding-top: var(--spacing-32, var(--spacing-32, 32px));
15
4
  padding-bottom: var(--spacing-16, var(--spacing-16, 16px));
16
- }
17
-
18
- .IncodePhonePage .IncodePhoneInput, .IncodePhonePage .IncodePhoneInputContainer {
19
- flex-direction: column;
20
- align-items: center;
21
- width: 100%;
22
- display: flex;
23
- }
24
-
25
- .IncodePhonePage .IncodePhoneInputRow {
26
- align-items: stretch;
27
- gap: var(--spacing-8, var(--spacing-8, 8px));
28
- width: 100%;
29
- max-width: 340px;
30
- display: flex;
31
- position: relative;
32
- }
33
-
34
- .IncodePhonePage .IncodePhoneInputWrapper {
35
- border-radius: var(--radius-small, var(--border-radius-small));
36
- border-style: var(--tw-border-style);
37
- border-width: 1px;
38
- border-color: var(--color-input-border-default, var(--input-border-default));
39
- background-color: var(--color-input-surface-default, var(--input-surface-default));
40
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
41
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
42
- transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
43
- --tw-duration: .2s;
44
- flex: 1;
45
- align-items: center;
46
- transition-duration: .2s;
47
- display: flex;
48
- }
49
-
50
- .IncodePhonePage .IncodePhoneInputWrapper:focus-within {
51
- border-color: var(--color-input-border-focused, var(--input-border-focused));
52
- }
53
-
54
- .IncodePhonePage .IncodePhoneInputWrapper.IncodePhoneInputWrapperError {
55
- border-color: var(--color-input-border-negative, var(--input-border-negative));
56
- }
57
-
58
- .IncodePhonePage .IncodePhoneInputWrapper.IncodePhoneInputWrapperDisabled {
59
- border-color: var(--color-input-border-disabled, var(--input-border-disabled));
60
- background-color: var(--color-input-surface-disabled, var(--input-surface-disabled));
61
- }
62
-
63
- .IncodePhonePage .IncodePhoneCountrySelector {
64
- border-radius: var(--radius-small, var(--border-radius-small));
65
- border-style: var(--tw-border-style);
66
- border-width: 1px;
67
- border-color: var(--color-input-border-default, var(--input-border-default));
68
- background-color: var(--color-input-surface-default, var(--input-surface-default));
69
- width: 124px;
70
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
71
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
72
- transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
73
- --tw-duration: .2s;
74
- flex-shrink: 0;
75
- transition-duration: .2s;
76
- position: static;
77
- }
78
-
79
- .IncodePhonePage .IncodePhoneCountrySelector.IncodePhoneCountrySelectorOpen {
80
- border-color: var(--color-input-border-focused, var(--input-border-focused));
81
- }
82
-
83
- .IncodePhonePage .IncodePhoneCountrySelector.IncodePhoneCountrySelectorDisabled {
84
- border-color: var(--color-input-border-disabled, var(--input-border-disabled));
85
- background-color: var(--color-input-surface-disabled, var(--input-surface-disabled));
86
- }
87
-
88
- .IncodePhonePage .IncodePhoneCountryButton {
89
- width: 100%;
90
- height: 100%;
91
- padding: var(--spacing-8, var(--spacing-8, 8px));
92
- padding-left: var(--spacing-16, var(--spacing-16, 16px));
93
- cursor: pointer;
94
- border-style: var(--tw-border-style);
95
- border-width: var(--border-width-none, var(--primitive-border-width-0));
96
- --tw-border-style: none;
97
- font-size: var(--text-18, var(--primitive-typography-size-18));
98
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
99
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
100
- color: var(--color-text-body-primary, var(--text-body-800-primary));
101
- border-radius: var(--radius-small, var(--border-radius-small));
102
- background-color: #0000;
103
- border-style: none;
104
- justify-content: center;
105
- align-items: center;
106
- font-family: inherit;
107
- display: flex;
108
- }
109
-
110
- .IncodePhonePage .IncodePhoneCountryButton:disabled {
111
- cursor: not-allowed;
112
- color: var(--color-input-text-field-disabled, var(--input-text-field-disabled));
113
- }
114
-
115
- .IncodePhonePage .IncodePhoneCountryButton:focus {
116
- --tw-outline-style: none;
117
- outline-style: none;
118
- }
119
-
120
- .IncodePhonePage .IncodePhoneCountryFlag {
121
- font-size: var(--text-24, var(--primitive-typography-size-24));
122
- --tw-leading: 1;
123
- line-height: 1;
124
- }
125
-
126
- .IncodePhonePage .IncodePhoneCountryCode {
127
- margin-left: var(--spacing-4, var(--spacing-4, 4px));
128
- font-size: var(--text-18, var(--primitive-typography-size-18));
129
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
130
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
131
- white-space: nowrap;
132
- color: var(--color-text-body-primary, var(--text-body-800-primary));
133
- }
134
-
135
- .IncodePhonePage .IncodePhoneCountryArrow {
136
- margin-left: var(--spacing-8, var(--spacing-8, 8px));
137
- height: var(--spacing-24, var(--spacing-24, 24px));
138
- width: var(--spacing-24, var(--spacing-24, 24px));
139
- color: var(--color-icon-neutral-500, var(--icon-neutral-500));
140
- transition-property: transform, translate, scale, rotate;
141
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
142
- transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
143
- --tw-duration: .2s;
144
- transition-duration: .2s;
145
- }
146
-
147
- .IncodePhonePage .IncodePhoneCountryArrowUp {
148
- rotate: 180deg;
149
- }
150
-
151
- .IncodePhonePage .IncodePhoneCountryButton:disabled .IncodePhoneCountryArrow {
152
- color: var(--color-icon-neutral-300, var(--icon-neutral-300));
153
- }
154
-
155
- .IncodePhonePage .IncodePhoneCountryDropdown {
156
- top: 100%;
157
- right: var(--spacing-0, var(--spacing-none, 0px));
158
- left: var(--spacing-0, var(--spacing-none, 0px));
159
- z-index: 50;
160
- margin-top: var(--spacing-8, var(--spacing-8, 8px));
161
- border-radius: var(--radius-small, var(--border-radius-small));
162
- border-style: var(--tw-border-style);
163
- border-width: 1px;
164
- border-color: var(--color-input-border-default, var(--input-border-default));
165
- background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));
166
- max-height: 320px;
167
- padding: var(--spacing-8, var(--spacing-8, 8px));
168
- position: absolute;
169
- overflow-y: auto;
170
- box-shadow: 0 4px 16px #0000001f;
171
- }
172
-
173
- .IncodePhonePage .IncodePhoneCountryOption {
174
- cursor: pointer;
175
5
  align-items: center;
176
- gap: var(--spacing-12, var(--spacing-12, 12px));
177
- border-radius: var(--radius-small, var(--border-radius-small));
178
- width: 100%;
179
- padding-inline: var(--spacing-12, var(--spacing-12, 12px));
180
- padding-block: var(--spacing-12, var(--spacing-12, 12px));
181
- font-size: var(--text-16, var(--primitive-typography-size-16));
182
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
183
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
184
- color: var(--color-text-body-primary, var(--text-body-800-primary));
185
- border-style: var(--tw-border-style);
186
- border-width: var(--border-width-none, var(--primitive-border-width-0));
187
- --tw-border-style: none;
188
- text-align: left;
189
- background-color: #0000;
190
- border-style: none;
191
- font-family: inherit;
192
- display: flex;
193
- }
194
-
195
- .IncodePhonePage .IncodePhoneCountryOption:hover {
196
- background-color: var(--color-surface-neutral-100, var(--surface-neutral-100));
197
6
  }
198
7
 
199
- .IncodePhonePage .IncodePhoneCountryOption:focus {
200
- background-color: var(--color-surface-neutral-100, var(--surface-neutral-100));
201
- --tw-outline-style: none;
202
- outline-style: none;
203
- }
204
-
205
- .IncodePhonePage .IncodePhoneCountryOptionSelected, .IncodePhonePage .IncodePhoneCountryOptionSelected:hover {
206
- background-color: var(--color-surface-brand-50, var(--surface-brand-50));
207
- }
208
-
209
- .IncodePhonePage .IncodePhoneCountryOptionCode {
210
- min-width: 52px;
211
- font-size: var(--text-16, var(--primitive-typography-size-16));
212
- color: var(--color-text-body-secondary, var(--text-body-500-secondary));
213
- }
214
-
215
- .IncodePhonePage .IncodePhoneCountryOptionName {
216
- text-overflow: ellipsis;
217
- white-space: nowrap;
218
- font-size: var(--text-16, var(--primitive-typography-size-16));
219
- color: var(--color-text-body-primary, var(--text-body-800-primary));
220
- flex: 1;
221
- overflow: hidden;
222
- }
223
-
224
- .IncodePhonePage .IncodePhoneInputField {
225
- border-style: var(--tw-border-style);
226
- border-width: var(--border-width-none, var(--primitive-border-width-0));
227
- --tw-border-style: none;
8
+ .IncodePhoneInputContainer {
228
9
  width: 100%;
229
- padding-inline: var(--spacing-16, var(--spacing-16, 16px));
230
- padding-block: var(--spacing-16, var(--spacing-16, 16px));
231
- font-size: var(--text-18, var(--primitive-typography-size-18));
232
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
233
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
234
- color: var(--color-input-text-field-default, var(--input-text-field-default));
235
- --tw-outline-style: none;
236
- border-radius: var(--radius-small, var(--border-radius-small));
237
- background-color: #0000;
238
- border-style: none;
239
- outline-style: none;
240
- }
241
-
242
- .IncodePhonePage .IncodePhoneInputField::placeholder {
243
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
244
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
245
- color: var(--color-input-text-field-placeholder, var(--input-text-field-placeholder));
246
- }
247
-
248
- .IncodePhonePage .IncodePhoneInputField:disabled {
249
- cursor: not-allowed;
250
- color: var(--color-input-text-field-disabled, var(--input-text-field-disabled));
251
- }
252
-
253
- .IncodePhonePage .IncodePhoneInputError {
254
- margin: var(--spacing-0, var(--spacing-none, 0px));
255
- text-align: center;
256
- font-size: var(--text-14, var(--primitive-typography-size-14));
257
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
258
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
259
- color: var(--color-input-text-helper-negative, var(--input-text-helper-negative));
260
- }
261
-
262
- .IncodePhonePage .IncodePhoneInputOptIn {
263
- cursor: pointer;
264
- align-items: center;
265
- gap: var(--spacing-8, var(--spacing-8, 8px));
266
- font-size: var(--text-14, var(--primitive-typography-size-14));
267
- color: var(--color-checkbox-text-default, var(--checkbox-text-default));
268
- display: flex;
269
- }
270
-
271
- .IncodePhonePage .IncodePhoneInputOptIn input[type="checkbox"] {
272
- cursor: pointer;
273
- border-radius: var(--radius-checkbox, var(--checkbox-border-radius));
274
- width: 18px;
275
- height: 18px;
276
- accent-color: var(--color-checkbox-surface-selected, var(--checkbox-surface-selected));
277
- }
278
-
279
- .IncodePhonePage .IncodePhoneInputOptIn span {
280
- --tw-font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
281
- font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
282
- -webkit-user-select: none;
283
- user-select: none;
284
- }
285
-
286
- @property --tw-border-style {
287
- syntax: "*";
288
- inherits: false;
289
- initial-value: solid;
290
- }
291
-
292
- @property --tw-duration {
293
- syntax: "*";
294
- inherits: false
295
- }
296
-
297
- @property --tw-font-weight {
298
- syntax: "*";
299
- inherits: false
300
- }
301
-
302
- @property --tw-leading {
303
- syntax: "*";
304
- inherits: false
10
+ max-width: 420px;
305
11
  }