@kiosinc/commons-rn 0.1.47 → 0.1.49

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 (74) hide show
  1. package/lib/commonjs/assets/icons/appLogo.svg +2 -8
  2. package/lib/commonjs/assets/icons/tick.svg +1 -1
  3. package/lib/commonjs/auth/screens/Login.js +17 -30
  4. package/lib/commonjs/auth/screens/Login.js.map +1 -1
  5. package/lib/commonjs/auth/screens/LoginWithEmail.js +18 -13
  6. package/lib/commonjs/auth/screens/LoginWithEmail.js.map +1 -1
  7. package/lib/commonjs/auth/screens/LoginWithPhoneNumber.js +24 -13
  8. package/lib/commonjs/auth/screens/LoginWithPhoneNumber.js.map +1 -1
  9. package/lib/commonjs/auth/screens/ResetPassword.js +4 -9
  10. package/lib/commonjs/auth/screens/ResetPassword.js.map +1 -1
  11. package/lib/commonjs/auth/screens/SignUp.js +6 -19
  12. package/lib/commonjs/auth/screens/SignUp.js.map +1 -1
  13. package/lib/commonjs/auth/screens/VerifyPhoneNumberForLogin.js +1 -1
  14. package/lib/commonjs/auth/screens/VerifyPhoneNumberForLogin.js.map +1 -1
  15. package/lib/commonjs/components/BottomSheet.js +2 -1
  16. package/lib/commonjs/components/BottomSheet.js.map +1 -1
  17. package/lib/commonjs/components/OtpInputs.js +7 -5
  18. package/lib/commonjs/components/OtpInputs.js.map +1 -1
  19. package/lib/commonjs/components/ParentView.js +1 -10
  20. package/lib/commonjs/components/ParentView.js.map +1 -1
  21. package/lib/commonjs/selectBusiness/SelectBusiness.js +13 -2
  22. package/lib/commonjs/selectBusiness/SelectBusiness.js.map +1 -1
  23. package/lib/commonjs/selectBusiness/useBusinesses.js +25 -18
  24. package/lib/commonjs/selectBusiness/useBusinesses.js.map +1 -1
  25. package/lib/module/assets/icons/appLogo.svg +2 -8
  26. package/lib/module/assets/icons/tick.svg +1 -1
  27. package/lib/module/auth/screens/Login.js +19 -32
  28. package/lib/module/auth/screens/Login.js.map +1 -1
  29. package/lib/module/auth/screens/LoginWithEmail.js +19 -14
  30. package/lib/module/auth/screens/LoginWithEmail.js.map +1 -1
  31. package/lib/module/auth/screens/LoginWithPhoneNumber.js +24 -14
  32. package/lib/module/auth/screens/LoginWithPhoneNumber.js.map +1 -1
  33. package/lib/module/auth/screens/ResetPassword.js +5 -10
  34. package/lib/module/auth/screens/ResetPassword.js.map +1 -1
  35. package/lib/module/auth/screens/SignUp.js +6 -19
  36. package/lib/module/auth/screens/SignUp.js.map +1 -1
  37. package/lib/module/auth/screens/VerifyPhoneNumberForLogin.js +1 -1
  38. package/lib/module/auth/screens/VerifyPhoneNumberForLogin.js.map +1 -1
  39. package/lib/module/components/BottomSheet.js +2 -1
  40. package/lib/module/components/BottomSheet.js.map +1 -1
  41. package/lib/module/components/OtpInputs.js +8 -5
  42. package/lib/module/components/OtpInputs.js.map +1 -1
  43. package/lib/module/components/ParentView.js +1 -10
  44. package/lib/module/components/ParentView.js.map +1 -1
  45. package/lib/module/selectBusiness/SelectBusiness.js +14 -3
  46. package/lib/module/selectBusiness/SelectBusiness.js.map +1 -1
  47. package/lib/module/selectBusiness/useBusinesses.js +25 -18
  48. package/lib/module/selectBusiness/useBusinesses.js.map +1 -1
  49. package/lib/typescript/src/auth/screens/Login.d.ts.map +1 -1
  50. package/lib/typescript/src/auth/screens/LoginWithEmail.d.ts.map +1 -1
  51. package/lib/typescript/src/auth/screens/LoginWithPhoneNumber.d.ts.map +1 -1
  52. package/lib/typescript/src/auth/screens/ResetPassword.d.ts.map +1 -1
  53. package/lib/typescript/src/auth/screens/SignUp.d.ts.map +1 -1
  54. package/lib/typescript/src/components/BottomSheet.d.ts.map +1 -1
  55. package/lib/typescript/src/components/OtpInputs.d.ts +862 -9
  56. package/lib/typescript/src/components/OtpInputs.d.ts.map +1 -1
  57. package/lib/typescript/src/components/ParentView.d.ts +1 -2
  58. package/lib/typescript/src/components/ParentView.d.ts.map +1 -1
  59. package/lib/typescript/src/selectBusiness/SelectBusiness.d.ts.map +1 -1
  60. package/lib/typescript/src/selectBusiness/useBusinesses.d.ts.map +1 -1
  61. package/package.json +2 -1
  62. package/src/assets/icons/appLogo.svg +2 -8
  63. package/src/assets/icons/tick.svg +1 -1
  64. package/src/auth/screens/Login.tsx +17 -45
  65. package/src/auth/screens/LoginWithEmail.tsx +24 -9
  66. package/src/auth/screens/LoginWithPhoneNumber.tsx +29 -10
  67. package/src/auth/screens/ResetPassword.tsx +39 -44
  68. package/src/auth/screens/SignUp.tsx +109 -119
  69. package/src/auth/screens/VerifyPhoneNumberForLogin.tsx +1 -1
  70. package/src/components/BottomSheet.tsx +5 -1
  71. package/src/components/OtpInputs.tsx +4 -4
  72. package/src/components/ParentView.tsx +0 -17
  73. package/src/selectBusiness/SelectBusiness.tsx +28 -4
  74. package/src/selectBusiness/useBusinesses.ts +6 -2
@@ -1,12 +1,865 @@
1
- /// <reference types="react" />
2
- import { type TextInputProps } from 'react-native-paper';
3
- import { type SpacingProps, type BorderProps, type BackgroundColorProps, type SpacingShorthandProps, type LayoutProps, type PositionProps, type BackgroundColorShorthandProps } from '@shopify/restyle';
4
- import { type ThemeType } from '../theme';
5
- type RestyleProps = SpacingProps<ThemeType> & SpacingShorthandProps<ThemeType> & LayoutProps<ThemeType> & PositionProps<ThemeType> & BorderProps<ThemeType> & BackgroundColorProps<ThemeType> & BackgroundColorShorthandProps<ThemeType>;
6
- type Props = RestyleProps & TextInputProps & {
7
- errorMessage?: string;
8
- };
9
- export declare const TextInput: ({ ...rest }: Props) => JSX.Element;
1
+ import React from 'react';
2
+ import { type SpacingProps, type BackgroundColorProps, type SpacingShorthandProps, type LayoutProps, type BackgroundColorShorthandProps } from '@shopify/restyle';
3
+ export declare const TextInput: React.ForwardRefExoticComponent<Pick<SpacingProps<{
4
+ colors: {
5
+ primary: string;
6
+ primaryContainer: string;
7
+ secondary: string;
8
+ secondaryContainer: string;
9
+ tertiary: string;
10
+ tertiaryContainer: string;
11
+ surface: string;
12
+ surfaceVariant: string;
13
+ surfaceDisabled: string;
14
+ background: string;
15
+ error: string;
16
+ errorContainer: string;
17
+ onPrimary: string;
18
+ onPrimaryContainer: string;
19
+ onSecondary: string;
20
+ onSecondaryContainer: string;
21
+ onTertiary: string;
22
+ onTertiaryContainer: string;
23
+ onSurface: string;
24
+ onSurfaceVariant: string;
25
+ onSurfaceDisabled: string;
26
+ onError: string;
27
+ onErrorContainer: string;
28
+ onBackground: string;
29
+ outline: string;
30
+ outlineVariant: string;
31
+ inverseSurface: string;
32
+ inverseOnSurface: string;
33
+ inversePrimary: string;
34
+ shadow: string;
35
+ scrim: string;
36
+ backdrop: string;
37
+ transparent: string;
38
+ };
39
+ textVariants: {
40
+ displayLarge: {
41
+ lineHeight: number;
42
+ fontSize: number;
43
+ fontFamily: string;
44
+ letterSpacing: number;
45
+ };
46
+ displayMedium: {
47
+ lineHeight: number;
48
+ fontSize: number;
49
+ fontFamily: string;
50
+ letterSpacing: number;
51
+ };
52
+ displaySmall: {
53
+ lineHeight: number;
54
+ fontSize: number;
55
+ fontFamily: string;
56
+ letterSpacing: number;
57
+ };
58
+ headlineLarge: {
59
+ lineHeight: number;
60
+ fontSize: number;
61
+ fontFamily: string;
62
+ letterSpacing: number;
63
+ };
64
+ headlineMedium: {
65
+ lineHeight: number;
66
+ fontSize: number;
67
+ fontFamily: string;
68
+ letterSpacing: number;
69
+ };
70
+ headlineSmall: {
71
+ lineHeight: number;
72
+ fontSize: number;
73
+ fontFamily: string;
74
+ letterSpacing: number;
75
+ };
76
+ titleLarge: {
77
+ lineHeight: number;
78
+ fontSize: number;
79
+ fontFamily: string;
80
+ letterSpacing: number;
81
+ };
82
+ titleMedium: {
83
+ letterSpacing: number;
84
+ lineHeight: number;
85
+ fontSize: number;
86
+ fontFamily: string;
87
+ };
88
+ titleSmall: {
89
+ letterSpacing: number;
90
+ lineHeight: number;
91
+ fontSize: number;
92
+ fontFamily: string;
93
+ };
94
+ labelLarge: {
95
+ letterSpacing: number;
96
+ lineHeight: number;
97
+ fontSize: number;
98
+ fontFamily: string;
99
+ };
100
+ labelMedium: {
101
+ letterSpacing: number;
102
+ lineHeight: number;
103
+ fontSize: number;
104
+ fontFamily: string;
105
+ };
106
+ labelSmall: {
107
+ letterSpacing: number;
108
+ lineHeight: number;
109
+ fontSize: number;
110
+ fontFamily: string;
111
+ };
112
+ bodyLarge: {
113
+ letterSpacing: number;
114
+ lineHeight: number;
115
+ fontSize: number;
116
+ fontFamily: string;
117
+ };
118
+ bodyMedium: {
119
+ letterSpacing: number;
120
+ lineHeight: number;
121
+ fontSize: number;
122
+ fontFamily: string;
123
+ };
124
+ bodySmall: {
125
+ letterSpacing: number;
126
+ lineHeight: number;
127
+ fontSize: number;
128
+ fontFamily: string;
129
+ };
130
+ default: {
131
+ fontFamily: string;
132
+ letterSpacing: number;
133
+ };
134
+ };
135
+ spacing: Record<string, number>;
136
+ breakpoints: {
137
+ phone: number;
138
+ tablet: number;
139
+ };
140
+ zIndices: Record<string, number>;
141
+ borderRadii: Record<string, number>;
142
+ }> & SpacingShorthandProps<{
143
+ colors: {
144
+ primary: string;
145
+ primaryContainer: string;
146
+ secondary: string;
147
+ secondaryContainer: string;
148
+ tertiary: string;
149
+ tertiaryContainer: string;
150
+ surface: string;
151
+ surfaceVariant: string;
152
+ surfaceDisabled: string;
153
+ background: string;
154
+ error: string;
155
+ errorContainer: string;
156
+ onPrimary: string;
157
+ onPrimaryContainer: string;
158
+ onSecondary: string;
159
+ onSecondaryContainer: string;
160
+ onTertiary: string;
161
+ onTertiaryContainer: string;
162
+ onSurface: string;
163
+ onSurfaceVariant: string;
164
+ onSurfaceDisabled: string;
165
+ onError: string;
166
+ onErrorContainer: string;
167
+ onBackground: string;
168
+ outline: string;
169
+ outlineVariant: string;
170
+ inverseSurface: string;
171
+ inverseOnSurface: string;
172
+ inversePrimary: string;
173
+ shadow: string;
174
+ scrim: string;
175
+ backdrop: string;
176
+ transparent: string;
177
+ };
178
+ textVariants: {
179
+ displayLarge: {
180
+ lineHeight: number;
181
+ fontSize: number;
182
+ fontFamily: string;
183
+ letterSpacing: number;
184
+ };
185
+ displayMedium: {
186
+ lineHeight: number;
187
+ fontSize: number;
188
+ fontFamily: string;
189
+ letterSpacing: number;
190
+ };
191
+ displaySmall: {
192
+ lineHeight: number;
193
+ fontSize: number;
194
+ fontFamily: string;
195
+ letterSpacing: number;
196
+ };
197
+ headlineLarge: {
198
+ lineHeight: number;
199
+ fontSize: number;
200
+ fontFamily: string;
201
+ letterSpacing: number;
202
+ };
203
+ headlineMedium: {
204
+ lineHeight: number;
205
+ fontSize: number;
206
+ fontFamily: string;
207
+ letterSpacing: number;
208
+ };
209
+ headlineSmall: {
210
+ lineHeight: number;
211
+ fontSize: number;
212
+ fontFamily: string;
213
+ letterSpacing: number;
214
+ };
215
+ titleLarge: {
216
+ lineHeight: number;
217
+ fontSize: number;
218
+ fontFamily: string;
219
+ letterSpacing: number;
220
+ };
221
+ titleMedium: {
222
+ letterSpacing: number;
223
+ lineHeight: number;
224
+ fontSize: number;
225
+ fontFamily: string;
226
+ };
227
+ titleSmall: {
228
+ letterSpacing: number;
229
+ lineHeight: number;
230
+ fontSize: number;
231
+ fontFamily: string;
232
+ };
233
+ labelLarge: {
234
+ letterSpacing: number;
235
+ lineHeight: number;
236
+ fontSize: number;
237
+ fontFamily: string;
238
+ };
239
+ labelMedium: {
240
+ letterSpacing: number;
241
+ lineHeight: number;
242
+ fontSize: number;
243
+ fontFamily: string;
244
+ };
245
+ labelSmall: {
246
+ letterSpacing: number;
247
+ lineHeight: number;
248
+ fontSize: number;
249
+ fontFamily: string;
250
+ };
251
+ bodyLarge: {
252
+ letterSpacing: number;
253
+ lineHeight: number;
254
+ fontSize: number;
255
+ fontFamily: string;
256
+ };
257
+ bodyMedium: {
258
+ letterSpacing: number;
259
+ lineHeight: number;
260
+ fontSize: number;
261
+ fontFamily: string;
262
+ };
263
+ bodySmall: {
264
+ letterSpacing: number;
265
+ lineHeight: number;
266
+ fontSize: number;
267
+ fontFamily: string;
268
+ };
269
+ default: {
270
+ fontFamily: string;
271
+ letterSpacing: number;
272
+ };
273
+ };
274
+ spacing: Record<string, number>;
275
+ breakpoints: {
276
+ phone: number;
277
+ tablet: number;
278
+ };
279
+ zIndices: Record<string, number>;
280
+ borderRadii: Record<string, number>;
281
+ }> & LayoutProps<{
282
+ colors: {
283
+ primary: string;
284
+ primaryContainer: string;
285
+ secondary: string;
286
+ secondaryContainer: string;
287
+ tertiary: string;
288
+ tertiaryContainer: string;
289
+ surface: string;
290
+ surfaceVariant: string;
291
+ surfaceDisabled: string;
292
+ background: string;
293
+ error: string;
294
+ errorContainer: string;
295
+ onPrimary: string;
296
+ onPrimaryContainer: string;
297
+ onSecondary: string;
298
+ onSecondaryContainer: string;
299
+ onTertiary: string;
300
+ onTertiaryContainer: string;
301
+ onSurface: string;
302
+ onSurfaceVariant: string;
303
+ onSurfaceDisabled: string;
304
+ onError: string;
305
+ onErrorContainer: string;
306
+ onBackground: string;
307
+ outline: string;
308
+ outlineVariant: string;
309
+ inverseSurface: string;
310
+ inverseOnSurface: string;
311
+ inversePrimary: string;
312
+ shadow: string;
313
+ scrim: string;
314
+ backdrop: string;
315
+ transparent: string;
316
+ };
317
+ textVariants: {
318
+ displayLarge: {
319
+ lineHeight: number;
320
+ fontSize: number;
321
+ fontFamily: string;
322
+ letterSpacing: number;
323
+ };
324
+ displayMedium: {
325
+ lineHeight: number;
326
+ fontSize: number;
327
+ fontFamily: string;
328
+ letterSpacing: number;
329
+ };
330
+ displaySmall: {
331
+ lineHeight: number;
332
+ fontSize: number;
333
+ fontFamily: string;
334
+ letterSpacing: number;
335
+ };
336
+ headlineLarge: {
337
+ lineHeight: number;
338
+ fontSize: number;
339
+ fontFamily: string;
340
+ letterSpacing: number;
341
+ };
342
+ headlineMedium: {
343
+ lineHeight: number;
344
+ fontSize: number;
345
+ fontFamily: string;
346
+ letterSpacing: number;
347
+ };
348
+ headlineSmall: {
349
+ lineHeight: number;
350
+ fontSize: number;
351
+ fontFamily: string;
352
+ letterSpacing: number;
353
+ };
354
+ titleLarge: {
355
+ lineHeight: number;
356
+ fontSize: number;
357
+ fontFamily: string;
358
+ letterSpacing: number;
359
+ };
360
+ titleMedium: {
361
+ letterSpacing: number;
362
+ lineHeight: number;
363
+ fontSize: number;
364
+ fontFamily: string;
365
+ };
366
+ titleSmall: {
367
+ letterSpacing: number;
368
+ lineHeight: number;
369
+ fontSize: number;
370
+ fontFamily: string;
371
+ };
372
+ labelLarge: {
373
+ letterSpacing: number;
374
+ lineHeight: number;
375
+ fontSize: number;
376
+ fontFamily: string;
377
+ };
378
+ labelMedium: {
379
+ letterSpacing: number;
380
+ lineHeight: number;
381
+ fontSize: number;
382
+ fontFamily: string;
383
+ };
384
+ labelSmall: {
385
+ letterSpacing: number;
386
+ lineHeight: number;
387
+ fontSize: number;
388
+ fontFamily: string;
389
+ };
390
+ bodyLarge: {
391
+ letterSpacing: number;
392
+ lineHeight: number;
393
+ fontSize: number;
394
+ fontFamily: string;
395
+ };
396
+ bodyMedium: {
397
+ letterSpacing: number;
398
+ lineHeight: number;
399
+ fontSize: number;
400
+ fontFamily: string;
401
+ };
402
+ bodySmall: {
403
+ letterSpacing: number;
404
+ lineHeight: number;
405
+ fontSize: number;
406
+ fontFamily: string;
407
+ };
408
+ default: {
409
+ fontFamily: string;
410
+ letterSpacing: number;
411
+ };
412
+ };
413
+ spacing: Record<string, number>;
414
+ breakpoints: {
415
+ phone: number;
416
+ tablet: number;
417
+ };
418
+ zIndices: Record<string, number>;
419
+ borderRadii: Record<string, number>;
420
+ }> & {
421
+ position?: import("@shopify/restyle").ResponsiveValue<"absolute" | "relative" | undefined, {
422
+ phone: number;
423
+ tablet: number;
424
+ }>;
425
+ top?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
426
+ phone: number;
427
+ tablet: number;
428
+ }>;
429
+ right?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
430
+ phone: number;
431
+ tablet: number;
432
+ }>;
433
+ bottom?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
434
+ phone: number;
435
+ tablet: number;
436
+ }>;
437
+ left?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
438
+ phone: number;
439
+ tablet: number;
440
+ }>;
441
+ start?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
442
+ phone: number;
443
+ tablet: number;
444
+ }>;
445
+ end?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
446
+ phone: number;
447
+ tablet: number;
448
+ }>;
449
+ } & {
450
+ zIndex?: import("@shopify/restyle").ResponsiveValue<string, {
451
+ phone: number;
452
+ tablet: number;
453
+ }> | undefined;
454
+ } & {
455
+ borderBottomWidth?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
456
+ phone: number;
457
+ tablet: number;
458
+ }>;
459
+ borderLeftWidth?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
460
+ phone: number;
461
+ tablet: number;
462
+ }>;
463
+ borderRightWidth?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
464
+ phone: number;
465
+ tablet: number;
466
+ }>;
467
+ borderStyle?: import("@shopify/restyle").ResponsiveValue<"solid" | "dotted" | "dashed" | undefined, {
468
+ phone: number;
469
+ tablet: number;
470
+ }>;
471
+ borderTopWidth?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
472
+ phone: number;
473
+ tablet: number;
474
+ }>;
475
+ borderStartWidth?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
476
+ phone: number;
477
+ tablet: number;
478
+ }>;
479
+ borderEndWidth?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
480
+ phone: number;
481
+ tablet: number;
482
+ }>;
483
+ borderWidth?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
484
+ phone: number;
485
+ tablet: number;
486
+ }>;
487
+ } & {
488
+ borderColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "primary" | "primaryContainer" | "secondary" | "secondaryContainer" | "tertiary" | "tertiaryContainer" | "surface" | "surfaceVariant" | "surfaceDisabled" | "background" | "error" | "errorContainer" | "onPrimary" | "onPrimaryContainer" | "onSecondary" | "onSecondaryContainer" | "onTertiary" | "onTertiaryContainer" | "onSurface" | "onSurfaceVariant" | "onSurfaceDisabled" | "onError" | "onErrorContainer" | "onBackground" | "outline" | "outlineVariant" | "inverseSurface" | "inverseOnSurface" | "inversePrimary" | "shadow" | "scrim" | "backdrop", {
489
+ phone: number;
490
+ tablet: number;
491
+ }> | undefined;
492
+ borderTopColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "primary" | "primaryContainer" | "secondary" | "secondaryContainer" | "tertiary" | "tertiaryContainer" | "surface" | "surfaceVariant" | "surfaceDisabled" | "background" | "error" | "errorContainer" | "onPrimary" | "onPrimaryContainer" | "onSecondary" | "onSecondaryContainer" | "onTertiary" | "onTertiaryContainer" | "onSurface" | "onSurfaceVariant" | "onSurfaceDisabled" | "onError" | "onErrorContainer" | "onBackground" | "outline" | "outlineVariant" | "inverseSurface" | "inverseOnSurface" | "inversePrimary" | "shadow" | "scrim" | "backdrop", {
493
+ phone: number;
494
+ tablet: number;
495
+ }> | undefined;
496
+ borderRightColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "primary" | "primaryContainer" | "secondary" | "secondaryContainer" | "tertiary" | "tertiaryContainer" | "surface" | "surfaceVariant" | "surfaceDisabled" | "background" | "error" | "errorContainer" | "onPrimary" | "onPrimaryContainer" | "onSecondary" | "onSecondaryContainer" | "onTertiary" | "onTertiaryContainer" | "onSurface" | "onSurfaceVariant" | "onSurfaceDisabled" | "onError" | "onErrorContainer" | "onBackground" | "outline" | "outlineVariant" | "inverseSurface" | "inverseOnSurface" | "inversePrimary" | "shadow" | "scrim" | "backdrop", {
497
+ phone: number;
498
+ tablet: number;
499
+ }> | undefined;
500
+ borderLeftColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "primary" | "primaryContainer" | "secondary" | "secondaryContainer" | "tertiary" | "tertiaryContainer" | "surface" | "surfaceVariant" | "surfaceDisabled" | "background" | "error" | "errorContainer" | "onPrimary" | "onPrimaryContainer" | "onSecondary" | "onSecondaryContainer" | "onTertiary" | "onTertiaryContainer" | "onSurface" | "onSurfaceVariant" | "onSurfaceDisabled" | "onError" | "onErrorContainer" | "onBackground" | "outline" | "outlineVariant" | "inverseSurface" | "inverseOnSurface" | "inversePrimary" | "shadow" | "scrim" | "backdrop", {
501
+ phone: number;
502
+ tablet: number;
503
+ }> | undefined;
504
+ borderBottomColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "primary" | "primaryContainer" | "secondary" | "secondaryContainer" | "tertiary" | "tertiaryContainer" | "surface" | "surfaceVariant" | "surfaceDisabled" | "background" | "error" | "errorContainer" | "onPrimary" | "onPrimaryContainer" | "onSecondary" | "onSecondaryContainer" | "onTertiary" | "onTertiaryContainer" | "onSurface" | "onSurfaceVariant" | "onSurfaceDisabled" | "onError" | "onErrorContainer" | "onBackground" | "outline" | "outlineVariant" | "inverseSurface" | "inverseOnSurface" | "inversePrimary" | "shadow" | "scrim" | "backdrop", {
505
+ phone: number;
506
+ tablet: number;
507
+ }> | undefined;
508
+ borderStartColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "primary" | "primaryContainer" | "secondary" | "secondaryContainer" | "tertiary" | "tertiaryContainer" | "surface" | "surfaceVariant" | "surfaceDisabled" | "background" | "error" | "errorContainer" | "onPrimary" | "onPrimaryContainer" | "onSecondary" | "onSecondaryContainer" | "onTertiary" | "onTertiaryContainer" | "onSurface" | "onSurfaceVariant" | "onSurfaceDisabled" | "onError" | "onErrorContainer" | "onBackground" | "outline" | "outlineVariant" | "inverseSurface" | "inverseOnSurface" | "inversePrimary" | "shadow" | "scrim" | "backdrop", {
509
+ phone: number;
510
+ tablet: number;
511
+ }> | undefined;
512
+ borderEndColor?: import("@shopify/restyle").ResponsiveValue<"transparent" | "primary" | "primaryContainer" | "secondary" | "secondaryContainer" | "tertiary" | "tertiaryContainer" | "surface" | "surfaceVariant" | "surfaceDisabled" | "background" | "error" | "errorContainer" | "onPrimary" | "onPrimaryContainer" | "onSecondary" | "onSecondaryContainer" | "onTertiary" | "onTertiaryContainer" | "onSurface" | "onSurfaceVariant" | "onSurfaceDisabled" | "onError" | "onErrorContainer" | "onBackground" | "outline" | "outlineVariant" | "inverseSurface" | "inverseOnSurface" | "inversePrimary" | "shadow" | "scrim" | "backdrop", {
513
+ phone: number;
514
+ tablet: number;
515
+ }> | undefined;
516
+ } & {
517
+ borderRadius?: import("@shopify/restyle").ResponsiveValue<string, {
518
+ phone: number;
519
+ tablet: number;
520
+ }> | undefined;
521
+ borderBottomLeftRadius?: import("@shopify/restyle").ResponsiveValue<string, {
522
+ phone: number;
523
+ tablet: number;
524
+ }> | undefined;
525
+ borderBottomRightRadius?: import("@shopify/restyle").ResponsiveValue<string, {
526
+ phone: number;
527
+ tablet: number;
528
+ }> | undefined;
529
+ borderTopLeftRadius?: import("@shopify/restyle").ResponsiveValue<string, {
530
+ phone: number;
531
+ tablet: number;
532
+ }> | undefined;
533
+ borderTopRightRadius?: import("@shopify/restyle").ResponsiveValue<string, {
534
+ phone: number;
535
+ tablet: number;
536
+ }> | undefined;
537
+ borderBottomStartRadius?: import("@shopify/restyle").ResponsiveValue<string, {
538
+ phone: number;
539
+ tablet: number;
540
+ }> | undefined;
541
+ borderBottomEndRadius?: import("@shopify/restyle").ResponsiveValue<string, {
542
+ phone: number;
543
+ tablet: number;
544
+ }> | undefined;
545
+ borderTopStartRadius?: import("@shopify/restyle").ResponsiveValue<string, {
546
+ phone: number;
547
+ tablet: number;
548
+ }> | undefined;
549
+ borderTopEndRadius?: import("@shopify/restyle").ResponsiveValue<string, {
550
+ phone: number;
551
+ tablet: number;
552
+ }> | undefined;
553
+ } & BackgroundColorProps<{
554
+ colors: {
555
+ primary: string;
556
+ primaryContainer: string;
557
+ secondary: string;
558
+ secondaryContainer: string;
559
+ tertiary: string;
560
+ tertiaryContainer: string;
561
+ surface: string;
562
+ surfaceVariant: string;
563
+ surfaceDisabled: string;
564
+ background: string;
565
+ error: string;
566
+ errorContainer: string;
567
+ onPrimary: string;
568
+ onPrimaryContainer: string;
569
+ onSecondary: string;
570
+ onSecondaryContainer: string;
571
+ onTertiary: string;
572
+ onTertiaryContainer: string;
573
+ onSurface: string;
574
+ onSurfaceVariant: string;
575
+ onSurfaceDisabled: string;
576
+ onError: string;
577
+ onErrorContainer: string;
578
+ onBackground: string;
579
+ outline: string;
580
+ outlineVariant: string;
581
+ inverseSurface: string;
582
+ inverseOnSurface: string;
583
+ inversePrimary: string;
584
+ shadow: string;
585
+ scrim: string;
586
+ backdrop: string;
587
+ transparent: string;
588
+ };
589
+ textVariants: {
590
+ displayLarge: {
591
+ lineHeight: number;
592
+ fontSize: number;
593
+ fontFamily: string;
594
+ letterSpacing: number;
595
+ };
596
+ displayMedium: {
597
+ lineHeight: number;
598
+ fontSize: number;
599
+ fontFamily: string;
600
+ letterSpacing: number;
601
+ };
602
+ displaySmall: {
603
+ lineHeight: number;
604
+ fontSize: number;
605
+ fontFamily: string;
606
+ letterSpacing: number;
607
+ };
608
+ headlineLarge: {
609
+ lineHeight: number;
610
+ fontSize: number;
611
+ fontFamily: string;
612
+ letterSpacing: number;
613
+ };
614
+ headlineMedium: {
615
+ lineHeight: number;
616
+ fontSize: number;
617
+ fontFamily: string;
618
+ letterSpacing: number;
619
+ };
620
+ headlineSmall: {
621
+ lineHeight: number;
622
+ fontSize: number;
623
+ fontFamily: string;
624
+ letterSpacing: number;
625
+ };
626
+ titleLarge: {
627
+ lineHeight: number;
628
+ fontSize: number;
629
+ fontFamily: string;
630
+ letterSpacing: number;
631
+ };
632
+ titleMedium: {
633
+ letterSpacing: number;
634
+ lineHeight: number;
635
+ fontSize: number;
636
+ fontFamily: string;
637
+ };
638
+ titleSmall: {
639
+ letterSpacing: number;
640
+ lineHeight: number;
641
+ fontSize: number;
642
+ fontFamily: string;
643
+ };
644
+ labelLarge: {
645
+ letterSpacing: number;
646
+ lineHeight: number;
647
+ fontSize: number;
648
+ fontFamily: string;
649
+ };
650
+ labelMedium: {
651
+ letterSpacing: number;
652
+ lineHeight: number;
653
+ fontSize: number;
654
+ fontFamily: string;
655
+ };
656
+ labelSmall: {
657
+ letterSpacing: number;
658
+ lineHeight: number;
659
+ fontSize: number;
660
+ fontFamily: string;
661
+ };
662
+ bodyLarge: {
663
+ letterSpacing: number;
664
+ lineHeight: number;
665
+ fontSize: number;
666
+ fontFamily: string;
667
+ };
668
+ bodyMedium: {
669
+ letterSpacing: number;
670
+ lineHeight: number;
671
+ fontSize: number;
672
+ fontFamily: string;
673
+ };
674
+ bodySmall: {
675
+ letterSpacing: number;
676
+ lineHeight: number;
677
+ fontSize: number;
678
+ fontFamily: string;
679
+ };
680
+ default: {
681
+ fontFamily: string;
682
+ letterSpacing: number;
683
+ };
684
+ };
685
+ spacing: Record<string, number>;
686
+ breakpoints: {
687
+ phone: number;
688
+ tablet: number;
689
+ };
690
+ zIndices: Record<string, number>;
691
+ borderRadii: Record<string, number>;
692
+ }> & BackgroundColorShorthandProps<{
693
+ colors: {
694
+ primary: string;
695
+ primaryContainer: string;
696
+ secondary: string;
697
+ secondaryContainer: string;
698
+ tertiary: string;
699
+ tertiaryContainer: string;
700
+ surface: string;
701
+ surfaceVariant: string;
702
+ surfaceDisabled: string;
703
+ background: string;
704
+ error: string;
705
+ errorContainer: string;
706
+ onPrimary: string;
707
+ onPrimaryContainer: string;
708
+ onSecondary: string;
709
+ onSecondaryContainer: string;
710
+ onTertiary: string;
711
+ onTertiaryContainer: string;
712
+ onSurface: string;
713
+ onSurfaceVariant: string;
714
+ onSurfaceDisabled: string;
715
+ onError: string;
716
+ onErrorContainer: string;
717
+ onBackground: string;
718
+ outline: string;
719
+ outlineVariant: string;
720
+ inverseSurface: string;
721
+ inverseOnSurface: string;
722
+ inversePrimary: string;
723
+ shadow: string;
724
+ scrim: string;
725
+ backdrop: string;
726
+ transparent: string;
727
+ };
728
+ textVariants: {
729
+ displayLarge: {
730
+ lineHeight: number;
731
+ fontSize: number;
732
+ fontFamily: string;
733
+ letterSpacing: number;
734
+ };
735
+ displayMedium: {
736
+ lineHeight: number;
737
+ fontSize: number;
738
+ fontFamily: string;
739
+ letterSpacing: number;
740
+ };
741
+ displaySmall: {
742
+ lineHeight: number;
743
+ fontSize: number;
744
+ fontFamily: string;
745
+ letterSpacing: number;
746
+ };
747
+ headlineLarge: {
748
+ lineHeight: number;
749
+ fontSize: number;
750
+ fontFamily: string;
751
+ letterSpacing: number;
752
+ };
753
+ headlineMedium: {
754
+ lineHeight: number;
755
+ fontSize: number;
756
+ fontFamily: string;
757
+ letterSpacing: number;
758
+ };
759
+ headlineSmall: {
760
+ lineHeight: number;
761
+ fontSize: number;
762
+ fontFamily: string;
763
+ letterSpacing: number;
764
+ };
765
+ titleLarge: {
766
+ lineHeight: number;
767
+ fontSize: number;
768
+ fontFamily: string;
769
+ letterSpacing: number;
770
+ };
771
+ titleMedium: {
772
+ letterSpacing: number;
773
+ lineHeight: number;
774
+ fontSize: number;
775
+ fontFamily: string;
776
+ };
777
+ titleSmall: {
778
+ letterSpacing: number;
779
+ lineHeight: number;
780
+ fontSize: number;
781
+ fontFamily: string;
782
+ };
783
+ labelLarge: {
784
+ letterSpacing: number;
785
+ lineHeight: number;
786
+ fontSize: number;
787
+ fontFamily: string;
788
+ };
789
+ labelMedium: {
790
+ letterSpacing: number;
791
+ lineHeight: number;
792
+ fontSize: number;
793
+ fontFamily: string;
794
+ };
795
+ labelSmall: {
796
+ letterSpacing: number;
797
+ lineHeight: number;
798
+ fontSize: number;
799
+ fontFamily: string;
800
+ };
801
+ bodyLarge: {
802
+ letterSpacing: number;
803
+ lineHeight: number;
804
+ fontSize: number;
805
+ fontFamily: string;
806
+ };
807
+ bodyMedium: {
808
+ letterSpacing: number;
809
+ lineHeight: number;
810
+ fontSize: number;
811
+ fontFamily: string;
812
+ };
813
+ bodySmall: {
814
+ letterSpacing: number;
815
+ lineHeight: number;
816
+ fontSize: number;
817
+ fontFamily: string;
818
+ };
819
+ default: {
820
+ fontFamily: string;
821
+ letterSpacing: number;
822
+ };
823
+ };
824
+ spacing: Record<string, number>;
825
+ breakpoints: {
826
+ phone: number;
827
+ tablet: number;
828
+ };
829
+ zIndices: Record<string, number>;
830
+ borderRadii: Record<string, number>;
831
+ }> & import("react-native").TextInputProps & React.RefAttributes<import("react-native").TextInput> & {
832
+ mode?: "flat" | "outlined" | undefined;
833
+ left?: React.ReactNode;
834
+ right?: React.ReactNode;
835
+ disabled?: boolean | undefined;
836
+ label?: import("react-native-paper/lib/typescript/components/TextInput/types").TextInputLabelProp | undefined;
837
+ placeholder?: string | undefined;
838
+ error?: boolean | undefined;
839
+ onChangeText?: Function | undefined;
840
+ selectionColor?: string | undefined;
841
+ cursorColor?: string | undefined;
842
+ underlineColor?: string | undefined;
843
+ activeUnderlineColor?: string | undefined;
844
+ outlineColor?: string | undefined;
845
+ activeOutlineColor?: string | undefined;
846
+ textColor?: string | undefined;
847
+ dense?: boolean | undefined;
848
+ multiline?: boolean | undefined;
849
+ numberOfLines?: number | undefined;
850
+ onFocus?: ((args: any) => void) | undefined;
851
+ onBlur?: ((args: any) => void) | undefined;
852
+ render?: ((props: import("react-native-paper/lib/typescript/components/TextInput/types").RenderProps) => React.ReactNode) | undefined;
853
+ value?: string | undefined;
854
+ style?: import("react-native").StyleProp<import("react-native").TextStyle>;
855
+ theme?: import("react-native-paper/lib/typescript/types").ThemeProp | undefined;
856
+ testID?: string | undefined;
857
+ contentStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
858
+ outlineStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
859
+ underlineStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
860
+ } & {
861
+ errorMessage?: string | undefined;
862
+ }, "theme" | "error" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "position" | "top" | "right" | "bottom" | "left" | "start" | "end" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "zIndex" | "backgroundColor" | "bg" | "key" | "mode" | "textColor" | "disabled" | "contentStyle" | "label" | "dense" | keyof import("react-native").TextInputProps | "underlineColor" | "activeUnderlineColor" | "outlineColor" | "activeOutlineColor" | "render" | "outlineStyle" | "underlineStyle" | "errorMessage"> & React.RefAttributes<unknown>>;
10
863
  type OtpInputsPropsType = {
11
864
  handleChange?: (value: string) => void;
12
865
  numberOfInputs?: number;