@opexa/portal-components 0.0.1084 → 0.0.1085

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.
@@ -72,7 +72,9 @@ export function KYCReminder(props) {
72
72
  !globalStore.kyc.open &&
73
73
  !globalStore.kycVerificationRequired.open;
74
74
  const isDisclaimerClosed = !globalStore.disclaimer.open && !globalStore.termsOfUse.open;
75
- const isKYCStateRelevant = isNotVerified || isRejected || (isPending && isVerificationLocked);
75
+ const isKYCStateRelevant = isNotVerified ||
76
+ (isPending && isVerificationLocked) ||
77
+ (isNotVerified && isVerificationLocked);
76
78
  return (_jsx(Dialog.Root, { open: isSessionReady &&
77
79
  isAccountReady &&
78
80
  isKYCReminderOpen &&
@@ -107,7 +109,7 @@ export function KYCReminder(props) {
107
109
  globalStore.account.setOpen(false);
108
110
  globalStore.account__mobile.setOpen(false);
109
111
  router.push('/');
110
- }, children: "Log Out" })] })) })] })), (isNotVerified || isRejected) &&
112
+ }, children: "Log Out" })] })) })] })), isNotVerified &&
111
113
  daysFromCreationToNow <= 3 &&
112
114
  daysFromCreationToNow > 1 &&
113
115
  !isVerificationLocked && (_jsxs(_Fragment, { children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mx-auto mb-4 w-fit rounded-full bg-bg-primary p-2", children: _jsx(Image, { src: props.logo, alt: `${props.siteName} logo`, width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }) }), _jsx("h2", { className: `mt-4 font-semibold text-lg ${props.titleBgColor}`, children: "JUST A FRIENDLY REMINDER" }), _jsxs("p", { className: `mt-xs text-sm text-text-tertiary-600 ${props.descriptionBgColor}`, children: ["Please complete your KYC information within", ' ', _jsx("span", { className: "font-semibold text-[#FF0000]", children: "3 days" }), ' ', "to avoid temporary lock on your account."] }), _jsxs("div", { className: "mt-6 flex w-full items-center justify-center gap-3xl", children: [_jsx(Image, { src: props.pagcorLogo?.logo ?? pagcorLogo, alt: "PAGCOR logo", height: 88, width: 88, className: `h-[88px] w-auto shrink-0 ${props.pagcorLogo?.styles ?? ''}`, draggable: false, unoptimized: true }), _jsx(Image, { src: props.responsibleGamingLogo?.logo ??
@@ -134,7 +136,7 @@ export function KYCReminder(props) {
134
136
  globalStore.account.setOpen(false);
135
137
  globalStore.account__mobile.setOpen(false);
136
138
  router.push('/');
137
- }, children: "Log Out" })] })) })] })] })), (isNotVerified || isRejected) &&
139
+ }, children: "Log Out" })] })) })] })] })), isNotVerified &&
138
140
  !isVerificationLocked &&
139
141
  !(daysFromCreationToNow <= 3 && daysFromCreationToNow > 1) && (_jsxs(_Fragment, { children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mx-auto w-fit rounded-full bg-bg-primary p-2", children: _jsx(FileCheck02Icon, { className: "text-[#FEDF89]" }) }), _jsx("h2", { className: `mt-4 font-semibold text-lg ${props.titleBgColor}`, children: "Personal Verification" }), _jsxs("p", { className: `mt-xs text-sm text-text-tertiary-600 ${props.descriptionBgColor}`, children: ["All new users are required to complete identity verification to access the full range of ", props.siteName, ' ', "services, including withdrawals."] }), _jsx(Dialog.Context, { children: (api) => (_jsxs("div", { className: "mt-3xl space-y-lg", children: [_jsx(Button, { onClick: () => {
140
142
  api.setOpen(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.1084",
3
+ "version": "0.0.1085",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",