@opexa/portal-components 0.0.299 → 0.0.301
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.
- package/dist/client/utils/recaptcha.d.ts +14 -0
- package/dist/client/utils/recaptcha.js +18 -0
- package/dist/components/GameProviders/GameProvidersCarousel.d.ts +1 -0
- package/dist/components/GameProviders/GameProvidersCarousel.js +7 -2
- package/dist/components/GameProviders/GameProvidersList.d.ts +1 -0
- package/dist/components/GameProviders/GameProvidersList.js +7 -2
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
- package/dist/components/SignIn/MobileNumberSignIn.js +7 -4
- package/dist/components/SignIn/NameAndPasswordSignIn.js +4 -1
- package/dist/components/SignIn/SignIn.lazy.d.ts +1 -0
- package/dist/components/SignIn/SignIn.lazy.js +1 -1
- package/dist/components/SignUp/SignUpDefault/SignUpDefault.lazy.d.ts +1 -0
- package/dist/components/SignUp/SignUpDefault/SignUpDefault.lazy.js +1 -1
- package/dist/components/SignUp/SignUpDefault/SignUpDefaultForm.js +4 -1
- package/dist/components/SignUp/SignUpKYC/SignUpKYCForm.js +1 -1
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
- package/dist/images/responsible-gaming-yellow.png +0 -0
- package/dist/services/queries.js +2639 -2639
- package/dist/styles/theme.css +706 -704
- package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- package/package.json +164 -164
- package/dist/components/Disclaimer/ResponsibleGaming.d.ts +0 -10
- package/dist/components/Disclaimer/ResponsibleGaming.js +0 -13
- package/dist/components/Disclaimer/TermsOfUse.d.ts +0 -11
- package/dist/components/Disclaimer/TermsOfUse.js +0 -13
- package/dist/components/FeatureFlag/FeatureFlag.d.ts +0 -1
- package/dist/components/FeatureFlag/FeatureFlag.js +0 -29
- package/dist/components/FeatureFlag/index.d.ts +0 -1
- package/dist/components/FeatureFlag/index.js +0 -1
- package/dist/components/KYC/AutoOpen.d.ts +0 -1
- package/dist/components/KYC/AutoOpen.js +0 -40
- package/dist/components/KYC/CaptureIdDocument.d.ts +0 -1
- package/dist/components/KYC/CaptureIdDocument.js +0 -219
- package/dist/components/KYC/CaptureSelfie.d.ts +0 -1
- package/dist/components/KYC/CaptureSelfie.js +0 -285
- package/dist/components/KYC/DisplayImage.d.ts +0 -5
- package/dist/components/KYC/DisplayImage.js +0 -8
- package/dist/components/KYC/FileUpload.d.ts +0 -10
- package/dist/components/KYC/FileUpload.js +0 -72
- package/dist/components/KYC/NoCameraError.d.ts +0 -7
- package/dist/components/KYC/NoCameraError.js +0 -6
- package/dist/components/KYC/PersonOverlayDesktop.d.ts +0 -7
- package/dist/components/KYC/PersonOverlayDesktop.js +0 -9
- package/dist/components/KYC/backup/Header.d.ts +0 -1
- package/dist/components/KYC/backup/Header.js +0 -8
- package/dist/components/KYC/backup/Indicator.d.ts +0 -1
- package/dist/components/KYC/backup/Indicator.js +0 -9
- package/dist/components/KYC/backup/KYC.d.ts +0 -1
- package/dist/components/KYC/backup/KYC.js +0 -14
- package/dist/components/KYC/backup/KYC.lazy.d.ts +0 -1
- package/dist/components/KYC/backup/KYC.lazy.js +0 -26
- package/dist/components/KYC/backup/KYCContext.d.ts +0 -6
- package/dist/components/KYC/backup/KYCContext.js +0 -2
- package/dist/components/KYC/backup/Step1.d.ts +0 -1
- package/dist/components/KYC/backup/Step1.js +0 -13
- package/dist/components/KYC/backup/Step2.d.ts +0 -1
- package/dist/components/KYC/backup/Step2.js +0 -13
- package/dist/components/KYC/backup/Step3.d.ts +0 -1
- package/dist/components/KYC/backup/Step3.js +0 -13
- package/dist/components/KYC/backup/Step4.d.ts +0 -1
- package/dist/components/KYC/backup/Step4.js +0 -7
- package/dist/components/KYC/backup/useKYC.d.ts +0 -10
- package/dist/components/KYC/backup/useKYC.js +0 -8
- package/dist/components/KYC/loadModels.d.ts +0 -1
- package/dist/components/KYC/loadModels.js +0 -9
- package/dist/components/KYC/utils.d.ts +0 -9
- package/dist/components/KYC/utils.js +0 -79
- package/dist/components/Messages/Message.d.ts +0 -1
- package/dist/components/Messages/Message.js +0 -35
- package/dist/components/Messages/MessageContext.d.ts +0 -6
- package/dist/components/Messages/MessageContext.js +0 -2
- package/dist/components/Messages/MessagePopup.d.ts +0 -1
- package/dist/components/Messages/MessagePopup.js +0 -20
- package/dist/components/Messages/MessageTrigger.d.ts +0 -8
- package/dist/components/Messages/MessageTrigger.js +0 -19
- package/dist/components/Quests/CountdownTimer.d.ts +0 -15
- package/dist/components/Quests/CountdownTimer.js +0 -33
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +0 -4
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -78
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +0 -4
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +0 -4
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +0 -4
- package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -20
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
- package/dist/components/SignUp/SignUp.lazy.d.ts +0 -12
- package/dist/components/SignUp/SignUp.lazy.js +0 -18
- package/dist/components/SignUp/SignUpContext.d.ts +0 -6
- package/dist/components/SignUp/SignUpContext.js +0 -2
- package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +0 -17
- package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +0 -18
- package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +0 -6
- package/dist/components/SignUp/SignUpDefault/SignUpContext.js +0 -2
- package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +0 -1
- package/dist/components/SignUp/SignUpDefault/SignUpForm.js +0 -310
- package/dist/components/SignUp/SignUpForm.d.ts +0 -1
- package/dist/components/SignUp/SignUpForm.js +0 -284
- package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +0 -1
- package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +0 -198
- package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +0 -1
- package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +0 -251
- package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +0 -10
- package/dist/components/SignUp/SignUpKYC/ImageUploader.js +0 -42
- package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +0 -7
- package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +0 -9
- package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +0 -1
- package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +0 -464
- package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +0 -11
- package/dist/components/SignUp/SignUpKYC/useImageUploader.js +0 -20
- package/dist/components/SignUp/SignUpKYC/utils.d.ts +0 -9
- package/dist/components/SignUp/SignUpKYC/utils.js +0 -79
- package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +0 -1
- package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +0 -198
- package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +0 -1
- package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +0 -251
- package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +0 -10
- package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +0 -41
- package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +0 -1
- package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +0 -429
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +0 -13
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +0 -26
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +0 -7
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +0 -2
- package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +0 -11
- package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +0 -20
- package/dist/components/shared/IdDocumentField.client.d.ts +0 -25
- package/dist/components/shared/IdDocumentField.client.js +0 -204
- package/dist/components/shared/IdDocumentField.d.ts +0 -2
- package/dist/components/shared/IdDocumentField.js +0 -11
- package/dist/components/shared/SelfieField.client.d.ts +0 -20
- package/dist/components/shared/SelfieField.client.js +0 -327
- package/dist/components/shared/SelfieField.d.ts +0 -2
- package/dist/components/shared/SelfieField.js +0 -11
- package/dist/constants/BranchCode.d.ts +0 -4
- package/dist/constants/BranchCode.js +0 -42
- package/dist/handlers/postTransformIdFrontImage.d.ts +0 -3
- package/dist/handlers/postTransformIdFrontImage.js +0 -67
- package/dist/handlers/postTransformSelfieImage.d.ts +0 -3
- package/dist/handlers/postTransformSelfieImage.js +0 -71
- package/dist/handlers.d.ts +0 -43
- package/dist/handlers.js +0 -297
- package/dist/icons/BellRingIcon.d.ts +0 -2
- package/dist/icons/BellRingIcon.js +0 -4
- package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +0 -4
- package/dist/third-parties/FacebookPixel/FacebookPixel.js +0 -4
- package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
- package/dist/third-parties/FacebookPixel/api.js +0 -1
- package/dist/third-parties/FacebookPixel/index.d.ts +0 -1
- package/dist/third-parties/FacebookPixel/index.js +0 -1
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +0 -4
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +0 -4
- package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
- package/dist/third-parties/GoogleRecaptcha/api.js +0 -1
- package/dist/third-parties/GoogleRecaptcha/index.d.ts +0 -1
- package/dist/third-parties/GoogleRecaptcha/index.js +0 -1
- package/dist/third-parties/index.d.ts +0 -2
- package/dist/third-parties/index.js +0 -2
- package/dist/utils/dataUrlToBlob.d.ts +0 -1
- package/dist/utils/dataUrlToBlob.js +0 -11
- package/dist/utils/gamesAvailable3pmTo3am.d.ts +0 -1
- package/dist/utils/gamesAvailable3pmTo3am.js +0 -1
- package/dist/utils/getGameName.d.ts +0 -1
- package/dist/utils/getGameName.js +0 -6
- package/dist/utils/isBetween3amAnd3pm.d.ts +0 -1
- package/dist/utils/isBetween3amAnd3pm.js +0 -5
- package/dist/utils/resizeImageSize.d.ts +0 -2
- package/dist/utils/resizeImageSize.js +0 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Checkbox } from '@ark-ui/react/checkbox';
|
|
2
2
|
export declare const withContext: <Props extends {
|
|
3
3
|
[x: string]: any;
|
|
4
|
-
}>(Component: import("react").ComponentType<Props>, slot: "label" | "root" | "
|
|
4
|
+
}>(Component: import("react").ComponentType<Props>, slot: "label" | "root" | "group" | "control" | "indicator") => import("react").ComponentType<import("@ark-ui/react").Assign<Props, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
5
5
|
size: {
|
|
6
6
|
md: {
|
|
7
7
|
control: string;
|
|
@@ -14,7 +14,7 @@ export declare const withContext: <Props extends {
|
|
|
14
14
|
colorScheme: {
|
|
15
15
|
gray: {};
|
|
16
16
|
};
|
|
17
|
-
}, Record<"label" | "root" | "
|
|
17
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
18
18
|
size: {
|
|
19
19
|
md: {
|
|
20
20
|
control: string;
|
|
@@ -27,7 +27,7 @@ export declare const withContext: <Props extends {
|
|
|
27
27
|
colorScheme: {
|
|
28
28
|
gray: {};
|
|
29
29
|
};
|
|
30
|
-
}, Record<"label" | "root" | "
|
|
30
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
31
31
|
size: {
|
|
32
32
|
md: {
|
|
33
33
|
control: string;
|
|
@@ -40,9 +40,9 @@ export declare const withContext: <Props extends {
|
|
|
40
40
|
colorScheme: {
|
|
41
41
|
gray: {};
|
|
42
42
|
};
|
|
43
|
-
}, Record<"label" | "root" | "
|
|
43
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>, withProvider: <Props extends {
|
|
44
44
|
[x: string]: any;
|
|
45
|
-
}>(Component: import("react").ComponentType<Props>, slot: "label" | "root" | "
|
|
45
|
+
}>(Component: import("react").ComponentType<Props>, slot: "label" | "root" | "group" | "control" | "indicator") => import("react").ComponentType<import("@ark-ui/react").Assign<Props, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
46
46
|
size: {
|
|
47
47
|
md: {
|
|
48
48
|
control: string;
|
|
@@ -55,7 +55,7 @@ export declare const withContext: <Props extends {
|
|
|
55
55
|
colorScheme: {
|
|
56
56
|
gray: {};
|
|
57
57
|
};
|
|
58
|
-
}, Record<"label" | "root" | "
|
|
58
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
59
59
|
size: {
|
|
60
60
|
md: {
|
|
61
61
|
control: string;
|
|
@@ -68,7 +68,7 @@ export declare const withContext: <Props extends {
|
|
|
68
68
|
colorScheme: {
|
|
69
69
|
gray: {};
|
|
70
70
|
};
|
|
71
|
-
}, Record<"label" | "root" | "
|
|
71
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
72
72
|
size: {
|
|
73
73
|
md: {
|
|
74
74
|
control: string;
|
|
@@ -81,7 +81,7 @@ export declare const withContext: <Props extends {
|
|
|
81
81
|
colorScheme: {
|
|
82
82
|
gray: {};
|
|
83
83
|
};
|
|
84
|
-
}, Record<"label" | "root" | "
|
|
84
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
85
85
|
export declare const Root: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.RootProps & import("react").RefAttributes<HTMLLabelElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
86
86
|
size: {
|
|
87
87
|
md: {
|
|
@@ -95,7 +95,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
95
95
|
colorScheme: {
|
|
96
96
|
gray: {};
|
|
97
97
|
};
|
|
98
|
-
}, Record<"label" | "root" | "
|
|
98
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
99
99
|
size: {
|
|
100
100
|
md: {
|
|
101
101
|
control: string;
|
|
@@ -108,7 +108,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
108
108
|
colorScheme: {
|
|
109
109
|
gray: {};
|
|
110
110
|
};
|
|
111
|
-
}, Record<"label" | "root" | "
|
|
111
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
112
112
|
size: {
|
|
113
113
|
md: {
|
|
114
114
|
control: string;
|
|
@@ -121,7 +121,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
121
121
|
colorScheme: {
|
|
122
122
|
gray: {};
|
|
123
123
|
};
|
|
124
|
-
}, Record<"label" | "root" | "
|
|
124
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
125
125
|
export declare const Control: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.ControlProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
126
126
|
size: {
|
|
127
127
|
md: {
|
|
@@ -135,7 +135,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
135
135
|
colorScheme: {
|
|
136
136
|
gray: {};
|
|
137
137
|
};
|
|
138
|
-
}, Record<"label" | "root" | "
|
|
138
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
139
139
|
size: {
|
|
140
140
|
md: {
|
|
141
141
|
control: string;
|
|
@@ -148,7 +148,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
148
148
|
colorScheme: {
|
|
149
149
|
gray: {};
|
|
150
150
|
};
|
|
151
|
-
}, Record<"label" | "root" | "
|
|
151
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
152
152
|
size: {
|
|
153
153
|
md: {
|
|
154
154
|
control: string;
|
|
@@ -161,7 +161,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
161
161
|
colorScheme: {
|
|
162
162
|
gray: {};
|
|
163
163
|
};
|
|
164
|
-
}, Record<"label" | "root" | "
|
|
164
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
165
165
|
export declare const Group: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.GroupProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
166
166
|
size: {
|
|
167
167
|
md: {
|
|
@@ -175,7 +175,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
175
175
|
colorScheme: {
|
|
176
176
|
gray: {};
|
|
177
177
|
};
|
|
178
|
-
}, Record<"label" | "root" | "
|
|
178
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
179
179
|
size: {
|
|
180
180
|
md: {
|
|
181
181
|
control: string;
|
|
@@ -188,7 +188,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
188
188
|
colorScheme: {
|
|
189
189
|
gray: {};
|
|
190
190
|
};
|
|
191
|
-
}, Record<"label" | "root" | "
|
|
191
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
192
192
|
size: {
|
|
193
193
|
md: {
|
|
194
194
|
control: string;
|
|
@@ -201,7 +201,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
201
201
|
colorScheme: {
|
|
202
202
|
gray: {};
|
|
203
203
|
};
|
|
204
|
-
}, Record<"label" | "root" | "
|
|
204
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
205
205
|
export declare const Indicator: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.IndicatorProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
206
206
|
size: {
|
|
207
207
|
md: {
|
|
@@ -215,7 +215,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
215
215
|
colorScheme: {
|
|
216
216
|
gray: {};
|
|
217
217
|
};
|
|
218
|
-
}, Record<"label" | "root" | "
|
|
218
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
219
219
|
size: {
|
|
220
220
|
md: {
|
|
221
221
|
control: string;
|
|
@@ -228,7 +228,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
228
228
|
colorScheme: {
|
|
229
229
|
gray: {};
|
|
230
230
|
};
|
|
231
|
-
}, Record<"label" | "root" | "
|
|
231
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
232
232
|
size: {
|
|
233
233
|
md: {
|
|
234
234
|
control: string;
|
|
@@ -241,7 +241,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
241
241
|
colorScheme: {
|
|
242
242
|
gray: {};
|
|
243
243
|
};
|
|
244
|
-
}, Record<"label" | "root" | "
|
|
244
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
245
245
|
export declare const Label: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.LabelProps & import("react").RefAttributes<HTMLSpanElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
246
246
|
size: {
|
|
247
247
|
md: {
|
|
@@ -255,7 +255,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
255
255
|
colorScheme: {
|
|
256
256
|
gray: {};
|
|
257
257
|
};
|
|
258
|
-
}, Record<"label" | "root" | "
|
|
258
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
259
259
|
size: {
|
|
260
260
|
md: {
|
|
261
261
|
control: string;
|
|
@@ -268,7 +268,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
268
268
|
colorScheme: {
|
|
269
269
|
gray: {};
|
|
270
270
|
};
|
|
271
|
-
}, Record<"label" | "root" | "
|
|
271
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
272
272
|
size: {
|
|
273
273
|
md: {
|
|
274
274
|
control: string;
|
|
@@ -281,6 +281,6 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
281
281
|
colorScheme: {
|
|
282
282
|
gray: {};
|
|
283
283
|
};
|
|
284
|
-
}, Record<"label" | "root" | "
|
|
284
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
285
285
|
export declare const HiddenInput: import("react").ForwardRefExoticComponent<Checkbox.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
286
286
|
export declare const Context: (props: Checkbox.ContextProps) => import("react").ReactNode;
|
|
@@ -11,7 +11,7 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
11
11
|
colorScheme: {
|
|
12
12
|
gray: {};
|
|
13
13
|
};
|
|
14
|
-
}, Record<"label" | "root" | "
|
|
14
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, {
|
|
15
15
|
size: {
|
|
16
16
|
md: {
|
|
17
17
|
control: string;
|
|
@@ -24,7 +24,7 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
24
24
|
colorScheme: {
|
|
25
25
|
gray: {};
|
|
26
26
|
};
|
|
27
|
-
}, Record<"label" | "root" | "
|
|
27
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
28
28
|
size: {
|
|
29
29
|
md: {
|
|
30
30
|
control: string;
|
|
@@ -37,4 +37,4 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
37
37
|
colorScheme: {
|
|
38
38
|
gray: {};
|
|
39
39
|
};
|
|
40
|
-
}, Record<"label" | "root" | "
|
|
40
|
+
}, Record<"label" | "root" | "group" | "control" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -26,7 +26,7 @@ export const checkboxRecipe = tv({
|
|
|
26
26
|
variant: 'outline',
|
|
27
27
|
colorScheme: 'gray',
|
|
28
28
|
className: {
|
|
29
|
-
control: 'shadow-xs border-border-primary bg-bg-primary ui-checked:bg-bg-brand-solid ui-checked:border-bg-brand-solid border ui-disabled:cursor-not-allowed ui-disabled:opacity-60 ui-disabled:shadow-none ui-readonly:cursor-not-allowed ui-readonly:opacity-50 ui-readonly:shadow-none',
|
|
29
|
+
control: 'shadow-xs border-border-checkbox-primary bg-bg-primary ui-checked:bg-bg-brand-solid ui-checked:border-bg-brand-solid border ui-disabled:cursor-not-allowed ui-disabled:opacity-60 ui-disabled:shadow-none ui-readonly:cursor-not-allowed ui-readonly:opacity-50 ui-readonly:shadow-none',
|
|
30
30
|
indicator: 'text-cyan-950',
|
|
31
31
|
label: 'text-text-secondary-700 text-xs leading-tight',
|
|
32
32
|
},
|
package/package.json
CHANGED
|
@@ -1,164 +1,164 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@opexa/portal-components",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"exports": {
|
|
5
|
-
"./ui/*": {
|
|
6
|
-
"types": "./dist/ui/*/index.d.ts",
|
|
7
|
-
"default": "./dist/ui/*/index.js"
|
|
8
|
-
},
|
|
9
|
-
"./utils/*": {
|
|
10
|
-
"types": "./dist/utils/*.d.ts",
|
|
11
|
-
"import": "./dist/utils/*.js"
|
|
12
|
-
},
|
|
13
|
-
"./types": {
|
|
14
|
-
"types": "./dist/types/index.d.ts",
|
|
15
|
-
"import": "./dist/types/index.js"
|
|
16
|
-
},
|
|
17
|
-
"./handlers": {
|
|
18
|
-
"types": "./dist/handlers/index.d.ts",
|
|
19
|
-
"default": "./dist/handlers/index.js"
|
|
20
|
-
},
|
|
21
|
-
"./middleware": {
|
|
22
|
-
"types": "./dist/middleware.d.ts",
|
|
23
|
-
"default": "./dist/middleware.js"
|
|
24
|
-
},
|
|
25
|
-
"./constants": {
|
|
26
|
-
"types": "./dist/constants/index.d.ts",
|
|
27
|
-
"default": "./dist/constants/index.js"
|
|
28
|
-
},
|
|
29
|
-
"./services/*": {
|
|
30
|
-
"types": "./dist/services/*.d.ts",
|
|
31
|
-
"default": "./dist/services/*.js"
|
|
32
|
-
},
|
|
33
|
-
"./client-utils/*": {
|
|
34
|
-
"types": "./dist/client/utils/*.d.ts",
|
|
35
|
-
"default": "./dist/client/utils/*.js"
|
|
36
|
-
},
|
|
37
|
-
"./client-hooks/*": {
|
|
38
|
-
"types": "./dist/client/hooks/*.d.ts",
|
|
39
|
-
"default": "./dist/client/hooks/*.js"
|
|
40
|
-
},
|
|
41
|
-
"./client-services/*": {
|
|
42
|
-
"types": "./dist/client/services/*.d.ts",
|
|
43
|
-
"default": "./dist/client/services/*.js"
|
|
44
|
-
},
|
|
45
|
-
"./server-utils/*": {
|
|
46
|
-
"types": "./dist/server/utils/*.d.ts",
|
|
47
|
-
"default": "./dist/server/utils/*.js"
|
|
48
|
-
},
|
|
49
|
-
"./server-services/*": {
|
|
50
|
-
"types": "./dist/server/services/*.d.ts",
|
|
51
|
-
"default": "./dist/server/services/*.js"
|
|
52
|
-
},
|
|
53
|
-
"./next.config": {
|
|
54
|
-
"types": "./dist/next.config.d.ts",
|
|
55
|
-
"default": "./dist/next.config.js"
|
|
56
|
-
},
|
|
57
|
-
"./theme.css": "./dist/styles/theme.css",
|
|
58
|
-
"./*": {
|
|
59
|
-
"types": "./dist/components/*/index.d.ts",
|
|
60
|
-
"default": "./dist/components/*/index.js"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"files": [
|
|
64
|
-
"dist",
|
|
65
|
-
"!dist/tsconfig.tsbuildinfo",
|
|
66
|
-
"!dist/tsconfig.build.tsbuildinfo"
|
|
67
|
-
],
|
|
68
|
-
"publishConfig": {
|
|
69
|
-
"access": "public"
|
|
70
|
-
},
|
|
71
|
-
"scripts": {
|
|
72
|
-
"dev": "next dev --port 4000",
|
|
73
|
-
"build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
|
|
74
|
-
"build:app": "next build",
|
|
75
|
-
"start": "next start",
|
|
76
|
-
"lint": "next lint",
|
|
77
|
-
"release": "release-it"
|
|
78
|
-
},
|
|
79
|
-
"dependencies": {
|
|
80
|
-
"@ark-ui/react": "^5.16.0",
|
|
81
|
-
"@date-fns/tz": "^1.2.0",
|
|
82
|
-
"@mediapipe/tasks-vision": "0.10.22-rc.20250304",
|
|
83
|
-
"@next/third-parties": "^15.3.4",
|
|
84
|
-
"@tailwindcss/typography": "^0.5.16",
|
|
85
|
-
"date-fns": "^4.1.0",
|
|
86
|
-
"embla-carousel-autoplay": "^8.6.0",
|
|
87
|
-
"embla-carousel-react": "^8.6.0",
|
|
88
|
-
"is-mobile": "^5.0.0",
|
|
89
|
-
"lodash-es": "^4.17.21",
|
|
90
|
-
"next-recaptcha-v3": "^1.5.2",
|
|
91
|
-
"tailwind-merge": "^3.3.1",
|
|
92
|
-
"tailwind-variants": "^1.0.0",
|
|
93
|
-
"tailwind-zag": "^1.0.2",
|
|
94
|
-
"tiny-invariant": "^1.3.3",
|
|
95
|
-
"type-fest": "^4.41.0",
|
|
96
|
-
"usehooks-ts": "^3.1.1",
|
|
97
|
-
"zustand": "^5.0.6"
|
|
98
|
-
},
|
|
99
|
-
"devDependencies": {
|
|
100
|
-
"@eslint/eslintrc": "3",
|
|
101
|
-
"@hookform/resolvers": "5.1.1",
|
|
102
|
-
"@opexa/object-id": "0.1.6",
|
|
103
|
-
"@tailwindcss/postcss": "4",
|
|
104
|
-
"@tanstack/react-query": "5.81.5",
|
|
105
|
-
"@tanstack/react-query-devtools": "5.81.5",
|
|
106
|
-
"@total-typescript/ts-reset": "0.6.1",
|
|
107
|
-
"@types/lodash-es": "4.17.12",
|
|
108
|
-
"@types/node": "24",
|
|
109
|
-
"@types/react": "19",
|
|
110
|
-
"@types/react-dom": "19",
|
|
111
|
-
"copy-files-from-to": "3.12.1",
|
|
112
|
-
"eslint": "9",
|
|
113
|
-
"eslint-config-next": "15.3.4",
|
|
114
|
-
"next": "15.4.0-canary.116",
|
|
115
|
-
"react": "19.1.0",
|
|
116
|
-
"react-dom": "19.1.0",
|
|
117
|
-
"react-hook-form": "7.59.0",
|
|
118
|
-
"release-it": "19.0.3",
|
|
119
|
-
"tailwindcss": "4.1.11",
|
|
120
|
-
"tsc-alias": "1.8.16",
|
|
121
|
-
"typescript": "5",
|
|
122
|
-
"zod": "3.25.71"
|
|
123
|
-
},
|
|
124
|
-
"peerDependencies": {
|
|
125
|
-
"@hookform/resolvers": "^4.0.0 || ^5.0.0",
|
|
126
|
-
"@opexa/object-id": "^0.1.0",
|
|
127
|
-
"@tanstack/react-query": "^5.0.0",
|
|
128
|
-
"next": "^15.4.0-canary.1",
|
|
129
|
-
"react": "^19.0.0",
|
|
130
|
-
"react-dom": "^19.0.0",
|
|
131
|
-
"react-hook-form": "^7.0.0",
|
|
132
|
-
"tailwindcss": "^4.0.0",
|
|
133
|
-
"zod": "^3.0.0"
|
|
134
|
-
},
|
|
135
|
-
"release-it": {
|
|
136
|
-
"git": {
|
|
137
|
-
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
138
|
-
"tagName": "${npm.name}@${version}"
|
|
139
|
-
},
|
|
140
|
-
"github": {
|
|
141
|
-
"release": false
|
|
142
|
-
},
|
|
143
|
-
"hooks": {
|
|
144
|
-
"before:bump": [
|
|
145
|
-
"pnpm lint"
|
|
146
|
-
],
|
|
147
|
-
"after:bump": [
|
|
148
|
-
"pnpm build"
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
"copyFiles": [
|
|
153
|
-
{
|
|
154
|
-
"from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
|
|
155
|
-
"to": "dist/",
|
|
156
|
-
"toFlat": false
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
"copyFilesSettings": {
|
|
160
|
-
"whenFileExists": "overwrite",
|
|
161
|
-
"removeSourceMappingURL": true,
|
|
162
|
-
"ignoreDotFilesAndFolders": false
|
|
163
|
-
}
|
|
164
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@opexa/portal-components",
|
|
3
|
+
"version": "0.0.301",
|
|
4
|
+
"exports": {
|
|
5
|
+
"./ui/*": {
|
|
6
|
+
"types": "./dist/ui/*/index.d.ts",
|
|
7
|
+
"default": "./dist/ui/*/index.js"
|
|
8
|
+
},
|
|
9
|
+
"./utils/*": {
|
|
10
|
+
"types": "./dist/utils/*.d.ts",
|
|
11
|
+
"import": "./dist/utils/*.js"
|
|
12
|
+
},
|
|
13
|
+
"./types": {
|
|
14
|
+
"types": "./dist/types/index.d.ts",
|
|
15
|
+
"import": "./dist/types/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./handlers": {
|
|
18
|
+
"types": "./dist/handlers/index.d.ts",
|
|
19
|
+
"default": "./dist/handlers/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./middleware": {
|
|
22
|
+
"types": "./dist/middleware.d.ts",
|
|
23
|
+
"default": "./dist/middleware.js"
|
|
24
|
+
},
|
|
25
|
+
"./constants": {
|
|
26
|
+
"types": "./dist/constants/index.d.ts",
|
|
27
|
+
"default": "./dist/constants/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./services/*": {
|
|
30
|
+
"types": "./dist/services/*.d.ts",
|
|
31
|
+
"default": "./dist/services/*.js"
|
|
32
|
+
},
|
|
33
|
+
"./client-utils/*": {
|
|
34
|
+
"types": "./dist/client/utils/*.d.ts",
|
|
35
|
+
"default": "./dist/client/utils/*.js"
|
|
36
|
+
},
|
|
37
|
+
"./client-hooks/*": {
|
|
38
|
+
"types": "./dist/client/hooks/*.d.ts",
|
|
39
|
+
"default": "./dist/client/hooks/*.js"
|
|
40
|
+
},
|
|
41
|
+
"./client-services/*": {
|
|
42
|
+
"types": "./dist/client/services/*.d.ts",
|
|
43
|
+
"default": "./dist/client/services/*.js"
|
|
44
|
+
},
|
|
45
|
+
"./server-utils/*": {
|
|
46
|
+
"types": "./dist/server/utils/*.d.ts",
|
|
47
|
+
"default": "./dist/server/utils/*.js"
|
|
48
|
+
},
|
|
49
|
+
"./server-services/*": {
|
|
50
|
+
"types": "./dist/server/services/*.d.ts",
|
|
51
|
+
"default": "./dist/server/services/*.js"
|
|
52
|
+
},
|
|
53
|
+
"./next.config": {
|
|
54
|
+
"types": "./dist/next.config.d.ts",
|
|
55
|
+
"default": "./dist/next.config.js"
|
|
56
|
+
},
|
|
57
|
+
"./theme.css": "./dist/styles/theme.css",
|
|
58
|
+
"./*": {
|
|
59
|
+
"types": "./dist/components/*/index.d.ts",
|
|
60
|
+
"default": "./dist/components/*/index.js"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"files": [
|
|
64
|
+
"dist",
|
|
65
|
+
"!dist/tsconfig.tsbuildinfo",
|
|
66
|
+
"!dist/tsconfig.build.tsbuildinfo"
|
|
67
|
+
],
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"access": "public"
|
|
70
|
+
},
|
|
71
|
+
"scripts": {
|
|
72
|
+
"dev": "next dev --port 4000",
|
|
73
|
+
"build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
|
|
74
|
+
"build:app": "next build",
|
|
75
|
+
"start": "next start",
|
|
76
|
+
"lint": "next lint",
|
|
77
|
+
"release": "release-it"
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@ark-ui/react": "^5.16.0",
|
|
81
|
+
"@date-fns/tz": "^1.2.0",
|
|
82
|
+
"@mediapipe/tasks-vision": "0.10.22-rc.20250304",
|
|
83
|
+
"@next/third-parties": "^15.3.4",
|
|
84
|
+
"@tailwindcss/typography": "^0.5.16",
|
|
85
|
+
"date-fns": "^4.1.0",
|
|
86
|
+
"embla-carousel-autoplay": "^8.6.0",
|
|
87
|
+
"embla-carousel-react": "^8.6.0",
|
|
88
|
+
"is-mobile": "^5.0.0",
|
|
89
|
+
"lodash-es": "^4.17.21",
|
|
90
|
+
"next-recaptcha-v3": "^1.5.2",
|
|
91
|
+
"tailwind-merge": "^3.3.1",
|
|
92
|
+
"tailwind-variants": "^1.0.0",
|
|
93
|
+
"tailwind-zag": "^1.0.2",
|
|
94
|
+
"tiny-invariant": "^1.3.3",
|
|
95
|
+
"type-fest": "^4.41.0",
|
|
96
|
+
"usehooks-ts": "^3.1.1",
|
|
97
|
+
"zustand": "^5.0.6"
|
|
98
|
+
},
|
|
99
|
+
"devDependencies": {
|
|
100
|
+
"@eslint/eslintrc": "3",
|
|
101
|
+
"@hookform/resolvers": "5.1.1",
|
|
102
|
+
"@opexa/object-id": "0.1.6",
|
|
103
|
+
"@tailwindcss/postcss": "4",
|
|
104
|
+
"@tanstack/react-query": "5.81.5",
|
|
105
|
+
"@tanstack/react-query-devtools": "5.81.5",
|
|
106
|
+
"@total-typescript/ts-reset": "0.6.1",
|
|
107
|
+
"@types/lodash-es": "4.17.12",
|
|
108
|
+
"@types/node": "24",
|
|
109
|
+
"@types/react": "19",
|
|
110
|
+
"@types/react-dom": "19",
|
|
111
|
+
"copy-files-from-to": "3.12.1",
|
|
112
|
+
"eslint": "9",
|
|
113
|
+
"eslint-config-next": "15.3.4",
|
|
114
|
+
"next": "15.4.0-canary.116",
|
|
115
|
+
"react": "19.1.0",
|
|
116
|
+
"react-dom": "19.1.0",
|
|
117
|
+
"react-hook-form": "7.59.0",
|
|
118
|
+
"release-it": "19.0.3",
|
|
119
|
+
"tailwindcss": "4.1.11",
|
|
120
|
+
"tsc-alias": "1.8.16",
|
|
121
|
+
"typescript": "5",
|
|
122
|
+
"zod": "3.25.71"
|
|
123
|
+
},
|
|
124
|
+
"peerDependencies": {
|
|
125
|
+
"@hookform/resolvers": "^4.0.0 || ^5.0.0",
|
|
126
|
+
"@opexa/object-id": "^0.1.0",
|
|
127
|
+
"@tanstack/react-query": "^5.0.0",
|
|
128
|
+
"next": "^15.4.0-canary.1",
|
|
129
|
+
"react": "^19.0.0",
|
|
130
|
+
"react-dom": "^19.0.0",
|
|
131
|
+
"react-hook-form": "^7.0.0",
|
|
132
|
+
"tailwindcss": "^4.0.0",
|
|
133
|
+
"zod": "^3.0.0"
|
|
134
|
+
},
|
|
135
|
+
"release-it": {
|
|
136
|
+
"git": {
|
|
137
|
+
"commitMessage": "chore: release ${npm.name} v${version}",
|
|
138
|
+
"tagName": "${npm.name}@${version}"
|
|
139
|
+
},
|
|
140
|
+
"github": {
|
|
141
|
+
"release": false
|
|
142
|
+
},
|
|
143
|
+
"hooks": {
|
|
144
|
+
"before:bump": [
|
|
145
|
+
"pnpm lint"
|
|
146
|
+
],
|
|
147
|
+
"after:bump": [
|
|
148
|
+
"pnpm build"
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"copyFiles": [
|
|
153
|
+
{
|
|
154
|
+
"from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
|
|
155
|
+
"to": "dist/",
|
|
156
|
+
"toFlat": false
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"copyFilesSettings": {
|
|
160
|
+
"whenFileExists": "overwrite",
|
|
161
|
+
"removeSourceMappingURL": true,
|
|
162
|
+
"ignoreDotFilesAndFolders": false
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type ImageProps } from 'next/image';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
export interface ResponsibleGamingProps {
|
|
4
|
-
responsibleGamingContent: string | ReactNode;
|
|
5
|
-
logo: ImageProps['src'];
|
|
6
|
-
open: boolean;
|
|
7
|
-
onCloseAction: () => void;
|
|
8
|
-
responsibleGamingLogo?: ImageProps['src'];
|
|
9
|
-
}
|
|
10
|
-
export declare function ResponsibleGaming({ logo, open, responsibleGamingContent, onCloseAction, ...props }: ResponsibleGamingProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import Image, {} from 'next/image';
|
|
4
|
-
import pagcorLogo from '../../images/pagcor.png';
|
|
5
|
-
import responsibleGamingLogo from '../../images/responsible-gaming.png';
|
|
6
|
-
import { Button } from '../../ui/Button/index.js';
|
|
7
|
-
import { Dialog } from '../../ui/Dialog/index.js';
|
|
8
|
-
import { Portal } from '../../ui/Portal/index.js';
|
|
9
|
-
export function ResponsibleGaming({ logo, open, responsibleGamingContent, onCloseAction, ...props }) {
|
|
10
|
-
return (_jsx(Dialog.Root, { open: open, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-popover" }), _jsx(Dialog.Positioner, { className: "z-popover", children: _jsxs(Dialog.Content, { className: "flex h-full w-full flex-col items-start overflow-y-auto p-3xl lg:mx-auto lg:h-auto lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsx(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: "Responsible Gaming" }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: responsibleGamingContent }), _jsxs("div", { className: "mt-5 flex items-center justify-center gap-3xl", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[88px] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[62px] w-auto shrink-0", draggable: false })] })] }), _jsx("div", { className: "w-full", children: _jsx(Button, { type: "button", className: "mt-3", onClick: () => {
|
|
11
|
-
onCloseAction();
|
|
12
|
-
}, children: "I Agree" }) })] }) })] }) }));
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type ImageProps } from 'next/image';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
export interface TermsOfUseProps {
|
|
4
|
-
logo: ImageProps['src'];
|
|
5
|
-
open: boolean;
|
|
6
|
-
onCloseAction: () => void;
|
|
7
|
-
termsOfUseContent: string | ReactNode;
|
|
8
|
-
siteName: string;
|
|
9
|
-
responsibleGamingLogo?: ImageProps['src'];
|
|
10
|
-
}
|
|
11
|
-
export declare function TermsOfUse({ logo, open, onCloseAction, siteName, termsOfUseContent, ...props }: TermsOfUseProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import Image, {} from 'next/image';
|
|
4
|
-
import pagcorLogo from '../../images/pagcor.png';
|
|
5
|
-
import responsibleGamingLogo from '../../images/responsible-gaming.png';
|
|
6
|
-
import { Button } from '../../ui/Button/index.js';
|
|
7
|
-
import { Dialog } from '../../ui/Dialog/index.js';
|
|
8
|
-
import { Portal } from '../../ui/Portal/index.js';
|
|
9
|
-
export function TermsOfUse({ logo, open, onCloseAction, siteName, termsOfUseContent, ...props }) {
|
|
10
|
-
return (_jsx(Dialog.Root, { open: open, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-popover" }), _jsx(Dialog.Positioner, { className: "z-popover", children: _jsxs(Dialog.Content, { className: "flex h-full w-full flex-col items-start overflow-y-auto p-3xl lg:mx-auto lg:h-auto lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsxs(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: [siteName, " Terms of Use"] }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: termsOfUseContent }), _jsxs("div", { className: "mt-5 flex items-center justify-center gap-3xl", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[88px] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[62px] w-auto shrink-0", draggable: false })] })] }), _jsx("div", { className: "w-full", children: _jsx(Button, { type: "button", className: "mt-3", onClick: () => {
|
|
11
|
-
onCloseAction();
|
|
12
|
-
}, children: "I Agree" }) })] }) })] }) }));
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function FeatureFlag(): import("react/jsx-runtime").JSX.Element | null;
|