@opexa/portal-components 0.0.952 → 0.0.954
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/components/DepositWithdrawal/Deposit/AiOGCashDeposit/AiOGCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AiOGrabPayDeposit/AiOGrabPayDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AiOPayMayaDeposit/AiOPayMayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AurixPayGCashDeposit/AurixPayGCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AurixPayGrabPayDeposit/AurixPayGrabPayDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AurixPayPayMayaDeposit/AurixPayPayMayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/Form.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/Deposit.js +0 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashWebpayDeposit/GCashWebpayDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/LibanganDeposit/LibanganDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaWebpayDeposit/MayaWebpayDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/PisoPayDeposit/PisoPayDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/Form.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashStandardCashInWithdrawal/GCashStandardCashInWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayGCashWithdrawal/InstapayGcashWithdrawal.js +2 -2
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayPaymayaWithdrawal/InstapayPaymayaWithdrawal.js +2 -2
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/VentajaWithdrawal/VentajaWithdrawal.js +1 -1
- package/dist/components/GameProviders/GameProvidersCarousel.d.ts +8 -0
- package/dist/components/GameProviders/GameProvidersCarousel.js +32 -0
- package/package.json +1 -1
|
@@ -121,7 +121,7 @@ export function AiOGCashDeposit() {
|
|
|
121
121
|
code: z.ZodIssueCode.too_big,
|
|
122
122
|
inclusive: true,
|
|
123
123
|
maximum: maximumAmount,
|
|
124
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
124
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
@@ -114,7 +114,7 @@ export function AiOGrabPayDeposit() {
|
|
|
114
114
|
code: z.ZodIssueCode.too_big,
|
|
115
115
|
inclusive: true,
|
|
116
116
|
maximum: maximumAmount,
|
|
117
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
117
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
}),
|
|
@@ -119,7 +119,7 @@ export function AiOPayMayaDeposit() {
|
|
|
119
119
|
code: z.ZodIssueCode.too_big,
|
|
120
120
|
inclusive: true,
|
|
121
121
|
maximum: maximumAmount,
|
|
122
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
122
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
}),
|
package/dist/components/DepositWithdrawal/Deposit/AurixPayGCashDeposit/AurixPayGCashDeposit.js
CHANGED
|
@@ -123,7 +123,7 @@ export function AurixPayGCashDeposit() {
|
|
|
123
123
|
code: z.ZodIssueCode.too_big,
|
|
124
124
|
inclusive: true,
|
|
125
125
|
maximum: maximumAmount,
|
|
126
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
126
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
}),
|
package/dist/components/DepositWithdrawal/Deposit/AurixPayGrabPayDeposit/AurixPayGrabPayDeposit.js
CHANGED
|
@@ -125,7 +125,7 @@ export function AurixPayGrabPayDeposit() {
|
|
|
125
125
|
code: z.ZodIssueCode.too_big,
|
|
126
126
|
inclusive: true,
|
|
127
127
|
maximum: maximumAmount,
|
|
128
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
128
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
}),
|
package/dist/components/DepositWithdrawal/Deposit/AurixPayPayMayaDeposit/AurixPayPayMayaDeposit.js
CHANGED
|
@@ -123,7 +123,7 @@ export function AurixPayPayMayaDeposit() {
|
|
|
123
123
|
code: z.ZodIssueCode.too_big,
|
|
124
124
|
inclusive: true,
|
|
125
125
|
maximum: maximumAmount,
|
|
126
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
126
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
}),
|
|
@@ -64,7 +64,7 @@ export function Form() {
|
|
|
64
64
|
code: z.ZodIssueCode.too_big,
|
|
65
65
|
inclusive: true,
|
|
66
66
|
maximum: maximumAmount,
|
|
67
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
67
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
}),
|
|
@@ -75,7 +75,6 @@ export function Deposit() {
|
|
|
75
75
|
}
|
|
76
76
|
const isMobile = onMobileDevice();
|
|
77
77
|
const enabledKey = isMobile ? 'mobileWebEnabled' : 'webEnabled';
|
|
78
|
-
const isOfWinSiteDepositEnabled = isOfWinSite && featureFlag.enabled;
|
|
79
78
|
const paymentMethods = [
|
|
80
79
|
{
|
|
81
80
|
method: 'GCASH',
|
|
@@ -115,7 +115,7 @@ export function GCashDeposit() {
|
|
|
115
115
|
code: z.ZodIssueCode.too_big,
|
|
116
116
|
inclusive: true,
|
|
117
117
|
maximum: maximumAmount,
|
|
118
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
118
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
}),
|
|
@@ -110,7 +110,7 @@ export function GCashWebpayDeposit() {
|
|
|
110
110
|
code: z.ZodIssueCode.too_big,
|
|
111
111
|
inclusive: true,
|
|
112
112
|
maximum: maximumAmount,
|
|
113
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
113
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
}),
|
|
@@ -110,7 +110,7 @@ export function LibanganDeposit() {
|
|
|
110
110
|
code: z.ZodIssueCode.too_big,
|
|
111
111
|
inclusive: true,
|
|
112
112
|
maximum: maximumAmount,
|
|
113
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
113
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
}),
|
|
@@ -81,7 +81,7 @@ export function MayaAppDeposit() {
|
|
|
81
81
|
code: z.ZodIssueCode.too_big,
|
|
82
82
|
inclusive: true,
|
|
83
83
|
maximum: maximumAmount,
|
|
84
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
84
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
}),
|
|
@@ -115,7 +115,7 @@ export function MayaDeposit() {
|
|
|
115
115
|
code: z.ZodIssueCode.too_big,
|
|
116
116
|
inclusive: true,
|
|
117
117
|
maximum: maximumAmount,
|
|
118
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
118
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
}),
|
|
@@ -110,7 +110,7 @@ export function MayaWebpayDeposit() {
|
|
|
110
110
|
code: z.ZodIssueCode.too_big,
|
|
111
111
|
inclusive: true,
|
|
112
112
|
maximum: maximumAmount,
|
|
113
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
113
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
}),
|
package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js
CHANGED
|
@@ -56,7 +56,7 @@ export function OnlineBankDepositForm() {
|
|
|
56
56
|
code: z.ZodIssueCode.too_big,
|
|
57
57
|
inclusive: true,
|
|
58
58
|
maximum: maximumAmount,
|
|
59
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
59
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
}),
|
|
@@ -120,7 +120,7 @@ export function PisoPayDeposit() {
|
|
|
120
120
|
code: z.ZodIssueCode.too_big,
|
|
121
121
|
inclusive: true,
|
|
122
122
|
maximum: maximumAmount,
|
|
123
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
123
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
}),
|
|
@@ -64,7 +64,7 @@ export function Form() {
|
|
|
64
64
|
code: z.ZodIssueCode.too_big,
|
|
65
65
|
inclusive: true,
|
|
66
66
|
maximum: maximumAmount,
|
|
67
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
67
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
}),
|
|
@@ -77,7 +77,7 @@ export function GCashStandardCashInWithdrawal() {
|
|
|
77
77
|
code: z.ZodIssueCode.too_big,
|
|
78
78
|
inclusive: true,
|
|
79
79
|
maximum: maximumAmount,
|
|
80
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
80
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
}),
|
|
@@ -77,7 +77,7 @@ export function GCashWithdrawal() {
|
|
|
77
77
|
code: z.ZodIssueCode.too_big,
|
|
78
78
|
inclusive: true,
|
|
79
79
|
maximum: maximumAmount,
|
|
80
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
80
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
}),
|
|
@@ -79,7 +79,7 @@ export function InstapayGCashWithdrawal() {
|
|
|
79
79
|
code: z.ZodIssueCode.too_big,
|
|
80
80
|
inclusive: true,
|
|
81
81
|
maximum: maximumAmount,
|
|
82
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
82
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
}),
|
|
@@ -121,7 +121,7 @@ export function InstapayGCashWithdrawal() {
|
|
|
121
121
|
transactionPassword: data.password,
|
|
122
122
|
accountNumber: data.accountNumber,
|
|
123
123
|
accountName: data.accountName,
|
|
124
|
-
bankCode:
|
|
124
|
+
bankCode: 'BNKGCH',
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
127
|
return (_jsxs("form", { onSubmit: handleSubmit, noValidate: true, autoComplete: "off", id: "hook-form", children: [_jsxs(Field.Root, { invalid: !!form.formState.errors.accountNumber, children: [_jsx(Field.Label, { children: "Phone Number" }), _jsx(Field.Input, { ...form.register('accountNumber') }), _jsx(Field.ErrorText, { children: form.formState.errors.accountNumber?.message })] }), _jsxs(Field.Root, { invalid: !!form.formState.errors.accountName, className: "mt-3xl", children: [_jsx(Field.Label, { children: "Account name" }), _jsx(Field.Input, { ...form.register('accountName') }), _jsx(Field.ErrorText, { children: form.formState.errors.accountName?.message })] }), _jsxs(Field.Root, { invalid: !!form.formState.errors.amount, className: "mt-3xl", children: [_jsx(Field.Label, { children: "Enter amount you want to withdraw" }), _jsx(Field.Input, { type: "number", ...form.register('amount') }), _jsx(Field.ErrorText, { children: form.formState.errors.amount?.message })] }), _jsx(AmountChoices, { value: parseDecimal(form.watch('amount').trim().replace(/,/g, ''), 0), onChange: (value) => {
|
|
@@ -79,7 +79,7 @@ export function InstapayPaymayaWithdrawal() {
|
|
|
79
79
|
code: z.ZodIssueCode.too_big,
|
|
80
80
|
inclusive: true,
|
|
81
81
|
maximum: maximumAmount,
|
|
82
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
82
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
}),
|
|
@@ -121,7 +121,7 @@ export function InstapayPaymayaWithdrawal() {
|
|
|
121
121
|
transactionPassword: data.password,
|
|
122
122
|
accountNumber: data.accountNumber,
|
|
123
123
|
accountName: data.accountName,
|
|
124
|
-
bankCode:
|
|
124
|
+
bankCode: 'BNKMYA',
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
127
|
return (_jsxs("form", { onSubmit: handleSubmit, noValidate: true, autoComplete: "off", id: "hook-form", children: [_jsxs(Field.Root, { invalid: !!form.formState.errors.accountNumber, children: [_jsx(Field.Label, { children: "Phone Number" }), _jsx(Field.Input, { ...form.register('accountNumber') }), _jsx(Field.ErrorText, { children: form.formState.errors.accountNumber?.message })] }), _jsxs(Field.Root, { invalid: !!form.formState.errors.accountName, className: "mt-3xl", children: [_jsx(Field.Label, { children: "Account name" }), _jsx(Field.Input, { ...form.register('accountName') }), _jsx(Field.ErrorText, { children: form.formState.errors.accountName?.message })] }), _jsxs(Field.Root, { invalid: !!form.formState.errors.amount, className: "mt-3xl", children: [_jsx(Field.Label, { children: "Enter amount you want to withdraw" }), _jsx(Field.Input, { type: "number", ...form.register('amount') }), _jsx(Field.ErrorText, { children: form.formState.errors.amount?.message })] }), _jsx(AmountChoices, { value: parseDecimal(form.watch('amount').trim().replace(/,/g, ''), 0), onChange: (value) => {
|
package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js
CHANGED
|
@@ -98,7 +98,7 @@ export function InstapayWithdrawal() {
|
|
|
98
98
|
code: z.ZodIssueCode.too_big,
|
|
99
99
|
inclusive: true,
|
|
100
100
|
maximum: maximumAmount,
|
|
101
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
101
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
@@ -77,7 +77,7 @@ export function MayaWithdrawal() {
|
|
|
77
77
|
code: z.ZodIssueCode.too_big,
|
|
78
78
|
inclusive: true,
|
|
79
79
|
maximum: maximumAmount,
|
|
80
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
80
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
}),
|
|
@@ -86,7 +86,7 @@ export function VentajaWithdrawal() {
|
|
|
86
86
|
code: z.ZodIssueCode.too_big,
|
|
87
87
|
inclusive: true,
|
|
88
88
|
maximum: maximumAmount,
|
|
89
|
-
message: `Maximum amount is ${maximumAmount.toLocaleString()}
|
|
89
|
+
message: `Maximum amount is ${maximumAmount.toLocaleString()}. Please contact support.`,
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
}),
|
|
@@ -8,10 +8,18 @@ export interface ClassNameEntries {
|
|
|
8
8
|
thumbnailContainer?: string;
|
|
9
9
|
thumbnailRootContainer?: string;
|
|
10
10
|
}
|
|
11
|
+
export interface ActiveProvider {
|
|
12
|
+
activeProvider?: GameProvider | string;
|
|
13
|
+
jump?: boolean;
|
|
14
|
+
}
|
|
11
15
|
export interface GameProvidersCarouselProps {
|
|
12
16
|
layout: 'carousel';
|
|
13
17
|
gameProviders: GameProvider[];
|
|
14
18
|
heading?: string | ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Scrolls the carousel to the matching provider id or slug on load.
|
|
21
|
+
*/
|
|
22
|
+
scrollProvider?: ActiveProvider;
|
|
15
23
|
/**
|
|
16
24
|
* @default '/providers'
|
|
17
25
|
*/
|
|
@@ -56,9 +56,41 @@ export function GameProvidersCarousel({ hasSeeAll = true, ...props }) {
|
|
|
56
56
|
? [...props.gameProviders, ...(props.futureGameProviders ?? [])]
|
|
57
57
|
: props.gameProviders, [enabled, props.gameProviders, props.futureGameProviders]);
|
|
58
58
|
const gameProviders = useMemo(() => combinedProviders.map((provider) => GAME_PROVIDER_DATA[provider]), [combinedProviders]);
|
|
59
|
+
const resolvedActiveProvider = props.scrollProvider?.activeProvider;
|
|
60
|
+
const shouldJump = props.scrollProvider?.jump ?? false;
|
|
61
|
+
const activeProviderIndex = useMemo(() => {
|
|
62
|
+
if (!resolvedActiveProvider)
|
|
63
|
+
return -1;
|
|
64
|
+
return gameProviders.findIndex((provider) => provider.id === resolvedActiveProvider ||
|
|
65
|
+
provider.slug === resolvedActiveProvider);
|
|
66
|
+
}, [gameProviders, resolvedActiveProvider]);
|
|
59
67
|
const classNames = useMemo(() => isString(props.className)
|
|
60
68
|
? { root: props.className }
|
|
61
69
|
: (props.className ?? {}), [props.className]);
|
|
70
|
+
const getSlidesToScroll = useCallback(() => {
|
|
71
|
+
const desktopSlidesToScroll = props.carouselOptions?.breakpoints[1024]?.slidesToScroll ?? 6;
|
|
72
|
+
if (typeof window === 'undefined')
|
|
73
|
+
return 3;
|
|
74
|
+
return window.matchMedia('(min-width: 1024px)').matches
|
|
75
|
+
? desktopSlidesToScroll
|
|
76
|
+
: 3;
|
|
77
|
+
}, [props.carouselOptions?.breakpoints]);
|
|
78
|
+
const scrollToActiveProvider = useCallback(() => {
|
|
79
|
+
if (!emblaApi || activeProviderIndex < 0)
|
|
80
|
+
return;
|
|
81
|
+
const slidesToScroll = Math.max(1, getSlidesToScroll());
|
|
82
|
+
const snapIndex = Math.floor(activeProviderIndex / slidesToScroll);
|
|
83
|
+
emblaApi.scrollTo(snapIndex, shouldJump);
|
|
84
|
+
}, [emblaApi, activeProviderIndex, getSlidesToScroll, shouldJump]);
|
|
85
|
+
useEffect(() => {
|
|
86
|
+
if (!emblaApi || activeProviderIndex < 0)
|
|
87
|
+
return;
|
|
88
|
+
scrollToActiveProvider();
|
|
89
|
+
emblaApi.on('reInit', scrollToActiveProvider);
|
|
90
|
+
return () => {
|
|
91
|
+
emblaApi.off('reInit', scrollToActiveProvider);
|
|
92
|
+
};
|
|
93
|
+
}, [emblaApi, activeProviderIndex, scrollToActiveProvider]);
|
|
62
94
|
return (_jsxs("div", { className: classNames.root, children: [_jsxs("div", { className: "flex items-center", children: [_jsx("h2", { className: "font-semibold text-lg", children: props.heading ?? 'Providers' }), _jsx("div", { className: "grow" }), _jsxs("div", { className: "flex items-center justify-center gap-xl", children: [hasSeeAll && (_jsxs(Link, { href: viewAllUrl, className: "flex gap-sm font-semibold text-button-tertiary-fg text-sm", children: ["See All", _jsx(ChevronRightIcon, { className: "size-5 lg:hidden" })] })), _jsxs("div", { className: "hidden lg:flex", children: [_jsx(Button, { variant: "outline", colorScheme: "gray", className: "rounded-r-none border-r-0", onClick: onPrevButtonClick, disabled: prevBtnDisabled, "aria-label": "Previous", children: _jsx(ArrowLeftIcon, { className: "size-5" }) }), _jsx(Button, { variant: "outline", colorScheme: "gray", className: "rounded-l-none", onClick: onNextButtonClick, disabled: nextBtnDisabled, "aria-label": "Next", children: _jsx(ArrowRightIcon, { className: "size-5" }) })] })] })] }), _jsx("div", { ref: emblaRef, className: twMerge('relative mt-lg overflow-hidden', classNames.thumbnailRootContainer), children: _jsx("div", { className: twMerge('grid auto-cols-[calc((100%-(0.375rem*2))/3)] grid-flow-col grid-rows-1 gap-sm lg:auto-cols-[calc((100%-(0.5rem*5))/6)] lg:gap-md', classNames.thumbnailContainer), children: gameProviders.map((provider) => {
|
|
63
95
|
const url = props.providerUrlMappings
|
|
64
96
|
? (props.providerUrlMappings
|