@opexa/portal-components 0.0.120 → 0.0.121

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 (66) hide show
  1. package/dist/client/hooks/useClaimSpotBonusMutation.js +2 -6
  2. package/dist/client/hooks/useGlobalStore.d.ts +1 -0
  3. package/dist/client/hooks/useGlobalStore.js +13 -0
  4. package/dist/components/Bonuses/Bonuses.client.js +24 -14
  5. package/dist/components/Bonuses/ClaimSpotBonus.d.ts +1 -0
  6. package/dist/components/Bonuses/ClaimSpotBonus.js +13 -0
  7. package/dist/components/Bonuses/ClaimSpotBonus.lazy.d.ts +1 -0
  8. package/dist/components/Bonuses/ClaimSpotBonus.lazy.js +50 -0
  9. package/dist/components/KYC/CaptureIdDocument.js +1 -2
  10. package/dist/components/KYC/CaptureSelfie.js +226 -1
  11. package/dist/components/KYC/DisplayImage.d.ts +4 -1
  12. package/dist/components/KYC/DisplayImage.js +2 -4
  13. package/dist/components/KYC/IdentityVerification.js +2 -2
  14. package/dist/components/KYC/PersonOverlayDesktop.d.ts +7 -0
  15. package/dist/components/KYC/PersonOverlayDesktop.js +9 -0
  16. package/dist/components/KYC/loadModels.d.ts +1 -0
  17. package/dist/components/KYC/loadModels.js +9 -0
  18. package/dist/components/KYC/useKYC.d.ts +2 -0
  19. package/dist/components/KYC/useKYC.js +3 -0
  20. package/dist/components/KYC/utils.d.ts +2 -0
  21. package/dist/components/KYC/utils.js +17 -0
  22. package/dist/components/SignIn/NameAndPasswordSignIn.js +1 -0
  23. package/dist/images/ribbon-envelope.png +0 -0
  24. package/dist/ui/AlertDialog/AlertDialog.d.ts +154 -154
  25. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +14 -14
  26. package/dist/ui/Avatar/Avatar.d.ts +9 -9
  27. package/dist/ui/Avatar/avatar.recipe.d.ts +3 -3
  28. package/dist/ui/Badge/Badge.d.ts +12 -12
  29. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  30. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  31. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  32. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  33. package/dist/ui/Collapsible/Collapsible.d.ts +32 -32
  34. package/dist/ui/Collapsible/collapsible.recipe.d.ts +8 -8
  35. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  36. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  37. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  38. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  39. package/dist/ui/Dialog/Dialog.d.ts +154 -154
  40. package/dist/ui/Dialog/dialog.recipe.d.ts +14 -14
  41. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  42. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  43. package/dist/ui/Field/Field.d.ts +105 -0
  44. package/dist/ui/Field/field.recipe.d.ts +15 -0
  45. package/dist/ui/Field/field.recipe.js +5 -0
  46. package/dist/ui/Menu/Menu.d.ts +252 -252
  47. package/dist/ui/Menu/menu.recipe.d.ts +14 -14
  48. package/dist/ui/NumberInput/NumberInput.d.ts +24 -24
  49. package/dist/ui/NumberInput/numberInput.recipe.d.ts +3 -3
  50. package/dist/ui/Popover/Popover.d.ts +121 -121
  51. package/dist/ui/Popover/popover.recipe.d.ts +11 -11
  52. package/dist/ui/Progress/Progress.d.ts +27 -27
  53. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  54. package/dist/ui/QrCode/QrCode.d.ts +25 -25
  55. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  56. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  57. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  58. package/dist/ui/Select/Select.d.ts +45 -45
  59. package/dist/ui/Select/select.recipe.d.ts +3 -3
  60. package/dist/ui/Table/Table.d.ts +21 -21
  61. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  62. package/dist/ui/Table/table.recipe.d.ts +3 -3
  63. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  64. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  65. package/dist/utils/getQueryClient.js +1 -1
  66. package/package.json +2 -1
@@ -1,6 +1,11 @@
1
1
  import { Field } from '@ark-ui/react/field';
2
2
  export declare const Root: import("react").ComponentType<import("@ark-ui/react").Assign<Field.RootProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
3
3
  size: {
4
+ sm: {
5
+ input: string;
6
+ select: string;
7
+ textarea: string;
8
+ };
4
9
  md: {
5
10
  input: string;
6
11
  select: string;
@@ -15,6 +20,11 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
15
20
  };
16
21
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, {
17
22
  size: {
23
+ sm: {
24
+ input: string;
25
+ select: string;
26
+ textarea: string;
27
+ };
18
28
  md: {
19
29
  input: string;
20
30
  select: string;
@@ -29,6 +39,11 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
29
39
  };
30
40
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, import("tailwind-variants").TVReturnType<{
31
41
  size: {
42
+ sm: {
43
+ input: string;
44
+ select: string;
45
+ textarea: string;
46
+ };
32
47
  md: {
33
48
  input: string;
34
49
  select: string;
@@ -44,6 +59,11 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
44
59
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
45
60
  export declare const Label: import("react").ComponentType<import("@ark-ui/react").Assign<Field.LabelProps & import("react").RefAttributes<HTMLLabelElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
46
61
  size: {
62
+ sm: {
63
+ input: string;
64
+ select: string;
65
+ textarea: string;
66
+ };
47
67
  md: {
48
68
  input: string;
49
69
  select: string;
@@ -58,6 +78,11 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
58
78
  };
59
79
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, {
60
80
  size: {
81
+ sm: {
82
+ input: string;
83
+ select: string;
84
+ textarea: string;
85
+ };
61
86
  md: {
62
87
  input: string;
63
88
  select: string;
@@ -72,6 +97,11 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
72
97
  };
73
98
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, import("tailwind-variants").TVReturnType<{
74
99
  size: {
100
+ sm: {
101
+ input: string;
102
+ select: string;
103
+ textarea: string;
104
+ };
75
105
  md: {
76
106
  input: string;
77
107
  select: string;
@@ -87,6 +117,11 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
87
117
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
88
118
  export declare const Input: import("react").ComponentType<import("@ark-ui/react").Assign<Field.InputProps & import("react").RefAttributes<HTMLInputElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
89
119
  size: {
120
+ sm: {
121
+ input: string;
122
+ select: string;
123
+ textarea: string;
124
+ };
90
125
  md: {
91
126
  input: string;
92
127
  select: string;
@@ -101,6 +136,11 @@ export declare const Input: import("react").ComponentType<import("@ark-ui/react"
101
136
  };
102
137
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, {
103
138
  size: {
139
+ sm: {
140
+ input: string;
141
+ select: string;
142
+ textarea: string;
143
+ };
104
144
  md: {
105
145
  input: string;
106
146
  select: string;
@@ -115,6 +155,11 @@ export declare const Input: import("react").ComponentType<import("@ark-ui/react"
115
155
  };
116
156
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, import("tailwind-variants").TVReturnType<{
117
157
  size: {
158
+ sm: {
159
+ input: string;
160
+ select: string;
161
+ textarea: string;
162
+ };
118
163
  md: {
119
164
  input: string;
120
165
  select: string;
@@ -130,6 +175,11 @@ export declare const Input: import("react").ComponentType<import("@ark-ui/react"
130
175
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
131
176
  export declare const HelperText: import("react").ComponentType<import("@ark-ui/react").Assign<Field.HelperTextProps & import("react").RefAttributes<HTMLSpanElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
132
177
  size: {
178
+ sm: {
179
+ input: string;
180
+ select: string;
181
+ textarea: string;
182
+ };
133
183
  md: {
134
184
  input: string;
135
185
  select: string;
@@ -144,6 +194,11 @@ export declare const HelperText: import("react").ComponentType<import("@ark-ui/r
144
194
  };
145
195
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, {
146
196
  size: {
197
+ sm: {
198
+ input: string;
199
+ select: string;
200
+ textarea: string;
201
+ };
147
202
  md: {
148
203
  input: string;
149
204
  select: string;
@@ -158,6 +213,11 @@ export declare const HelperText: import("react").ComponentType<import("@ark-ui/r
158
213
  };
159
214
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, import("tailwind-variants").TVReturnType<{
160
215
  size: {
216
+ sm: {
217
+ input: string;
218
+ select: string;
219
+ textarea: string;
220
+ };
161
221
  md: {
162
222
  input: string;
163
223
  select: string;
@@ -173,6 +233,11 @@ export declare const HelperText: import("react").ComponentType<import("@ark-ui/r
173
233
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
174
234
  export declare const ErrorText: import("react").ComponentType<import("@ark-ui/react").Assign<Field.ErrorTextProps & import("react").RefAttributes<HTMLSpanElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
175
235
  size: {
236
+ sm: {
237
+ input: string;
238
+ select: string;
239
+ textarea: string;
240
+ };
176
241
  md: {
177
242
  input: string;
178
243
  select: string;
@@ -187,6 +252,11 @@ export declare const ErrorText: import("react").ComponentType<import("@ark-ui/re
187
252
  };
188
253
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, {
189
254
  size: {
255
+ sm: {
256
+ input: string;
257
+ select: string;
258
+ textarea: string;
259
+ };
190
260
  md: {
191
261
  input: string;
192
262
  select: string;
@@ -201,6 +271,11 @@ export declare const ErrorText: import("react").ComponentType<import("@ark-ui/re
201
271
  };
202
272
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, import("tailwind-variants").TVReturnType<{
203
273
  size: {
274
+ sm: {
275
+ input: string;
276
+ select: string;
277
+ textarea: string;
278
+ };
204
279
  md: {
205
280
  input: string;
206
281
  select: string;
@@ -216,6 +291,11 @@ export declare const ErrorText: import("react").ComponentType<import("@ark-ui/re
216
291
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
217
292
  export declare const Select: import("react").ComponentType<import("@ark-ui/react").Assign<Field.SelectProps & import("react").RefAttributes<HTMLSelectElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
218
293
  size: {
294
+ sm: {
295
+ input: string;
296
+ select: string;
297
+ textarea: string;
298
+ };
219
299
  md: {
220
300
  input: string;
221
301
  select: string;
@@ -230,6 +310,11 @@ export declare const Select: import("react").ComponentType<import("@ark-ui/react
230
310
  };
231
311
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, {
232
312
  size: {
313
+ sm: {
314
+ input: string;
315
+ select: string;
316
+ textarea: string;
317
+ };
233
318
  md: {
234
319
  input: string;
235
320
  select: string;
@@ -244,6 +329,11 @@ export declare const Select: import("react").ComponentType<import("@ark-ui/react
244
329
  };
245
330
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, import("tailwind-variants").TVReturnType<{
246
331
  size: {
332
+ sm: {
333
+ input: string;
334
+ select: string;
335
+ textarea: string;
336
+ };
247
337
  md: {
248
338
  input: string;
249
339
  select: string;
@@ -259,6 +349,11 @@ export declare const Select: import("react").ComponentType<import("@ark-ui/react
259
349
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
260
350
  export declare const Textarea: import("react").ComponentType<import("@ark-ui/react").Assign<Field.TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
261
351
  size: {
352
+ sm: {
353
+ input: string;
354
+ select: string;
355
+ textarea: string;
356
+ };
262
357
  md: {
263
358
  input: string;
264
359
  select: string;
@@ -273,6 +368,11 @@ export declare const Textarea: import("react").ComponentType<import("@ark-ui/rea
273
368
  };
274
369
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, {
275
370
  size: {
371
+ sm: {
372
+ input: string;
373
+ select: string;
374
+ textarea: string;
375
+ };
276
376
  md: {
277
377
  input: string;
278
378
  select: string;
@@ -287,6 +387,11 @@ export declare const Textarea: import("react").ComponentType<import("@ark-ui/rea
287
387
  };
288
388
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, import("tailwind-variants").TVReturnType<{
289
389
  size: {
390
+ sm: {
391
+ input: string;
392
+ select: string;
393
+ textarea: string;
394
+ };
290
395
  md: {
291
396
  input: string;
292
397
  select: string;
@@ -1,5 +1,10 @@
1
1
  export declare const fieldRecipe: import("tailwind-variants").TVReturnType<{
2
2
  size: {
3
+ sm: {
4
+ input: string;
5
+ select: string;
6
+ textarea: string;
7
+ };
3
8
  md: {
4
9
  input: string;
5
10
  select: string;
@@ -14,6 +19,11 @@ export declare const fieldRecipe: import("tailwind-variants").TVReturnType<{
14
19
  };
15
20
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, undefined, {
16
21
  size: {
22
+ sm: {
23
+ input: string;
24
+ select: string;
25
+ textarea: string;
26
+ };
17
27
  md: {
18
28
  input: string;
19
29
  select: string;
@@ -28,6 +38,11 @@ export declare const fieldRecipe: import("tailwind-variants").TVReturnType<{
28
38
  };
29
39
  }, Record<"select" | "input" | "label" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", string | string[]>, import("tailwind-variants").TVReturnType<{
30
40
  size: {
41
+ sm: {
42
+ input: string;
43
+ select: string;
44
+ textarea: string;
45
+ };
31
46
  md: {
32
47
  input: string;
33
48
  select: string;
@@ -14,6 +14,11 @@ export const fieldRecipe = tv({
14
14
  }),
15
15
  variants: {
16
16
  size: {
17
+ sm: {
18
+ input: 'h-10 px-lg',
19
+ select: 'h-10 px-lg',
20
+ textarea: 'px-lg py-md',
21
+ },
17
22
  md: {
18
23
  input: 'h-11 px-3.5',
19
24
  select: 'h-11 px-3.5',