@opexa/portal-components 0.0.33 → 0.0.35
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/hooks/useMemberVerificationQuery.js +0 -1
- package/dist/client/hooks/useMessagesQuery.js +0 -1
- package/dist/client/hooks/useTransactionRecordsQuery.js +0 -1
- package/dist/client/hooks/useWithdrawalRecordsQuery.js +0 -1
- package/dist/components/Account/Account.js +1 -1
- package/dist/components/AccountInfo/AccountInfo.js +1 -1
- package/dist/components/AccountSecurity/AccountSecurity.js +2 -2
- package/dist/components/AccountVerification/AccountVerification.d.ts +4 -1
- package/dist/components/AccountVerification/AccountVerification.js +36 -2
- package/dist/components/AccountVerification/VerificationCapture.d.ts +1 -0
- package/dist/components/AccountVerification/VerificationCapture.js +57 -0
- package/dist/components/AccountVerification/selfie.png +0 -0
- package/dist/components/AccountVerification/upload-id.png +0 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.js +5 -5
- package/dist/components/Disclaimer/Disclaimer.js +2 -2
- package/dist/components/GamesSearch/GamesSearch.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.js +11 -22
- package/dist/components/Jackpots/JackpotItemDesktop.js +12 -11
- package/dist/components/Jackpots/JackpotItemMobile.js +11 -10
- package/dist/components/Jackpots/Jackpots.js +4 -2
- package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -1
- package/dist/components/Jackpots/useJackpotItemData.js +0 -7
- package/dist/components/TournamentCounter/TournamentCounter.client.js +5 -12
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +3 -4
- package/dist/components/TournamentCounter/TournamentCounterItem.js +24 -13
- package/dist/components/Tournaments/TournamentGameProviders.d.ts +5 -1
- package/dist/components/Tournaments/TournamentGameProviders.js +3 -4
- package/dist/components/Tournaments/TournamentItemDesktop.d.ts +7 -0
- package/dist/components/Tournaments/TournamentItemDesktop.js +57 -0
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +6 -6
- package/dist/components/Tournaments/TournamentItemMobile.js +21 -61
- package/dist/components/Tournaments/Tournaments.d.ts +3 -1
- package/dist/components/Tournaments/Tournaments.js +8 -15
- package/dist/components/Tournaments/useTournamentItemData.d.ts +16 -0
- package/dist/components/Tournaments/useTournamentItemData.js +64 -0
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -1
- package/dist/icons/CreditCardCheckIcon.d.ts +2 -0
- package/dist/icons/CreditCardCheckIcon.js +4 -0
- package/dist/icons/FaceIdIcon.d.ts +2 -0
- package/dist/icons/FaceIdIcon.js +4 -0
- package/dist/icons/FileSearch02Icon.d.ts +2 -0
- package/dist/icons/FileSearch02Icon.js +4 -0
- package/dist/icons/FileX02Icon.d.ts +2 -0
- package/dist/icons/FileX02Icon.js +4 -0
- package/dist/icons/Globe05Icon.d.ts +2 -0
- package/dist/icons/Globe05Icon.js +4 -0
- package/dist/icons/index.d.ts +5 -0
- package/dist/icons/index.js +5 -0
- package/dist/next.config.d.ts +3 -0
- package/dist/next.config.js +51 -0
- package/dist/styles/theme.css +5 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/ui/Progress/progress.recipe.js +1 -1
- package/dist/utils/getPercentage.d.ts +1 -0
- package/dist/utils/getPercentage.js +5 -0
- package/dist/utils/maskDisplayName.d.ts +1 -0
- package/dist/utils/maskDisplayName.js +8 -0
- package/package.json +150 -150
- package/dist/components/KYC/KYC.d.ts +0 -5
- package/dist/components/KYC/KYC.js +0 -19
- package/dist/components/KYC/KYCContext.d.ts +0 -3
- package/dist/components/KYC/KYCContext.js +0 -8
- package/dist/components/KYC/KYCTrigger.d.ts +0 -5
- package/dist/components/KYC/KYCTrigger.js +0 -14
- package/dist/components/KYC/Step1.d.ts +0 -1
- package/dist/components/KYC/Step1.js +0 -10
- package/dist/components/KYC/Step2.d.ts +0 -1
- package/dist/components/KYC/Step2.js +0 -15
- package/dist/components/KYC/Step3.d.ts +0 -1
- package/dist/components/KYC/Step3.js +0 -11
- package/dist/components/KYC/StepIndicator.d.ts +0 -1
- package/dist/components/KYC/StepIndicator.js +0 -13
- package/dist/components/KYC/UploadDocument.d.ts +0 -1
- package/dist/components/KYC/UploadDocument.js +0 -8
- package/dist/components/KYC/UploadSelfie.d.ts +0 -1
- package/dist/components/KYC/UploadSelfie.js +0 -8
- package/dist/components/KYC/index.d.ts +0 -2
- package/dist/components/KYC/index.js +0 -2
- package/dist/components/KYC/useKYC.d.ts +0 -14
- package/dist/components/KYC/useKYC.js +0 -32
- package/dist/components/KYC/utils.d.ts +0 -0
- package/dist/components/KYC/utils.js +0 -1
- package/dist/components/Tournaments/TournamentItem.d.ts +0 -5
- package/dist/components/Tournaments/TournamentItem.js +0 -97
- package/dist/config.d.ts +0 -272
- package/dist/config.js +0 -39
package/dist/components/index.js
CHANGED
|
@@ -16,7 +16,6 @@ export * from './Games/index.js';
|
|
|
16
16
|
export * from './GamesSearch/index.js';
|
|
17
17
|
export * from './JackpotCounter/index.js';
|
|
18
18
|
export * from './Jackpots/index.js';
|
|
19
|
-
export * from './KYC/index.js';
|
|
20
19
|
export * from './Marquee/index.js';
|
|
21
20
|
export * from './Messages/index.js';
|
|
22
21
|
export * from './PortalProvider/index.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
export function CreditCardCheckIcon(props) {
|
|
3
|
+
return (_jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...props, children: _jsx("path", { d: "M16 18L18 20L22 16M22 10H2M22 12V8.2C22 7.0799 22 6.51984 21.782 6.09202C21.5903 5.7157 21.2843 5.40974 20.908 5.21799C20.4802 5 19.9201 5 18.8 5H5.2C4.0799 5 3.51984 5 3.09202 5.21799C2.7157 5.40973 2.40973 5.71569 2.21799 6.09202C2 6.51984 2 7.0799 2 8.2V15.8C2 16.9201 2 17.4802 2.21799 17.908C2.40973 18.2843 2.71569 18.5903 3.09202 18.782C3.51984 19 4.0799 19 5.2 19H12" }) }));
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
export function FaceIdIcon(props) {
|
|
3
|
+
return (_jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...props, children: _jsx("path", { d: "M8 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V8M8 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V16M21 8V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H16M21 16V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H16M7.5 8V9.5M16.5 8V9.5M11 12.6001C11.8 12.6001 12.5 11.9001 12.5 11.1001V8M15.2002 15.2C13.4002 17 10.5002 17 8.7002 15.2" }) }));
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
export function FileSearch02Icon(props) {
|
|
3
|
+
return (_jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...props, children: _jsx("path", { d: "M14 11H8M10 15H8M16 7H8M20 10.5V6.8C20 5.11984 20 4.27976 19.673 3.63803C19.3854 3.07354 18.9265 2.6146 18.362 2.32698C17.7202 2 16.8802 2 15.2 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.11984 22 8.8 22H11.5M22 22L20.5 20.5M21.5 18C21.5 19.933 19.933 21.5 18 21.5C16.067 21.5 14.5 19.933 14.5 18C14.5 16.067 16.067 14.5 18 14.5C19.933 14.5 21.5 16.067 21.5 18Z" }) }));
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
export function FileX02Icon(props) {
|
|
3
|
+
return (_jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...props, children: _jsx("path", { d: "M14 11H8M10 15H8M16 7H8M20 12V6.8C20 5.11984 20 4.27976 19.673 3.63803C19.3854 3.07354 18.9265 2.6146 18.362 2.32698C17.7202 2 16.8802 2 15.2 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.11984 22 8.8 22H12M16 16L21 21M21 16L16 21" }) }));
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
export function Globe05Icon(props) {
|
|
3
|
+
return (_jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...props, children: _jsx("path", { d: "M15 2.4578C14.053 2.16035 13.0452 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 10.2847 21.5681 8.67022 20.8071 7.25945M17 5.75H17.005M10.5001 21.8883L10.5002 19.6849C10.5002 19.5656 10.5429 19.4502 10.6205 19.3596L13.1063 16.4594C13.3106 16.2211 13.2473 15.8556 12.9748 15.6999L10.1185 14.0677C10.0409 14.0234 9.97663 13.9591 9.93234 13.8814L8.07046 10.6186C7.97356 10.4488 7.78657 10.3511 7.59183 10.3684L2.06418 10.8607M21 6C21 8.20914 19 10 17 12C15 10 13 8.20914 13 6C13 3.79086 14.7909 2 17 2C19.2091 2 21 3.79086 21 6ZM17.25 5.75C17.25 5.88807 17.1381 6 17 6C16.8619 6 16.75 5.88807 16.75 5.75C16.75 5.61193 16.8619 5.5 17 5.5C17.1381 5.5 17.25 5.61193 17.25 5.75Z" }) }));
|
|
4
|
+
}
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -23,14 +23,19 @@ export * from './CoinsHandIcon';
|
|
|
23
23
|
export * from './CoinsStacked02Icon';
|
|
24
24
|
export * from './CoinsSwap02Icon';
|
|
25
25
|
export * from './CreditCard02Icon';
|
|
26
|
+
export * from './CreditCardCheckIcon';
|
|
26
27
|
export * from './Diamond01Icon';
|
|
27
28
|
export * from './Expand03Icon';
|
|
28
29
|
export * from './EyeIcon';
|
|
29
30
|
export * from './EyeOffIcon';
|
|
30
31
|
export * from './FacebookIcon';
|
|
32
|
+
export * from './FaceIdIcon';
|
|
31
33
|
export * from './File02Icon';
|
|
32
34
|
export * from './FileCheck02Icon';
|
|
35
|
+
export * from './FileSearch02Icon';
|
|
36
|
+
export * from './FileX02Icon';
|
|
33
37
|
export * from './Gift01Icon';
|
|
38
|
+
export * from './Globe05Icon';
|
|
34
39
|
export * from './GoogleIcon';
|
|
35
40
|
export * from './HelpCircleIcon';
|
|
36
41
|
export * from './InfoCircleIcon';
|
package/dist/icons/index.js
CHANGED
|
@@ -23,14 +23,19 @@ export * from './CoinsHandIcon.js';
|
|
|
23
23
|
export * from './CoinsStacked02Icon.js';
|
|
24
24
|
export * from './CoinsSwap02Icon.js';
|
|
25
25
|
export * from './CreditCard02Icon.js';
|
|
26
|
+
export * from './CreditCardCheckIcon.js';
|
|
26
27
|
export * from './Diamond01Icon.js';
|
|
27
28
|
export * from './Expand03Icon.js';
|
|
28
29
|
export * from './EyeIcon.js';
|
|
29
30
|
export * from './EyeOffIcon.js';
|
|
30
31
|
export * from './FacebookIcon.js';
|
|
32
|
+
export * from './FaceIdIcon.js';
|
|
31
33
|
export * from './File02Icon.js';
|
|
32
34
|
export * from './FileCheck02Icon.js';
|
|
35
|
+
export * from './FileSearch02Icon.js';
|
|
36
|
+
export * from './FileX02Icon.js';
|
|
33
37
|
export * from './Gift01Icon.js';
|
|
38
|
+
export * from './Globe05Icon.js';
|
|
34
39
|
export * from './GoogleIcon.js';
|
|
35
40
|
export * from './HelpCircleIcon.js';
|
|
36
41
|
export * from './InfoCircleIcon.js';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export const config = {
|
|
2
|
+
images: {
|
|
3
|
+
remotePatterns: [
|
|
4
|
+
{
|
|
5
|
+
hostname: 'static.opexa.io',
|
|
6
|
+
protocol: 'https',
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
hostname: 'static.development.opexa.io',
|
|
10
|
+
protocol: 'https',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: 'assets.opexacms.io',
|
|
14
|
+
protocol: 'https',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
hostname: 'assets.development.opexacms.io',
|
|
18
|
+
protocol: 'https',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
hostname: 's3.ap-east-1.amazonaws.com',
|
|
22
|
+
protocol: 'https',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
hostname: 'images.pexels.com',
|
|
26
|
+
protocol: 'https',
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
experimental: {
|
|
31
|
+
nodeMiddleware: true,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
export function extendConfig(userConfig) {
|
|
35
|
+
return {
|
|
36
|
+
...config,
|
|
37
|
+
...userConfig,
|
|
38
|
+
images: {
|
|
39
|
+
...config.images,
|
|
40
|
+
...userConfig.images,
|
|
41
|
+
remotePatterns: [
|
|
42
|
+
...(config.images?.remotePatterns ?? []),
|
|
43
|
+
...(userConfig.images?.remotePatterns ?? []),
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
experimental: {
|
|
47
|
+
...config.experimental,
|
|
48
|
+
...userConfig.experimental,
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
}
|
package/dist/styles/theme.css
CHANGED
|
@@ -214,6 +214,8 @@
|
|
|
214
214
|
--color-bg-quaternary: #373a41;
|
|
215
215
|
--color-bg-active: #22262f;
|
|
216
216
|
--color-bg-disabled-subtle: #f9fafb;
|
|
217
|
+
--color-bg-success-secondary: #079455;
|
|
218
|
+
--color-bg-overlay: #22262f;
|
|
217
219
|
|
|
218
220
|
--color-text-brand: #feee95;
|
|
219
221
|
--color-text-brand-primary-600: #eaaa08;
|
|
@@ -235,6 +237,9 @@
|
|
|
235
237
|
--color-text-success-primary: #17b26a;
|
|
236
238
|
--color-text-success-primary-600: #47cd89;
|
|
237
239
|
--color-text-warning-primary: #f79009;
|
|
240
|
+
--color-text-error-primary: #f04438;
|
|
241
|
+
--color-text-featured-icon-light-success: #abefc6;
|
|
242
|
+
--color-text-featured-icon-light-error: #fecdca;
|
|
238
243
|
|
|
239
244
|
--color-border-primary: #373a41;
|
|
240
245
|
--color-border-secondary: #22262f;
|