@opexa/portal-components 0.0.550 → 0.0.552

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.
@@ -22,7 +22,7 @@ export function DisclaimerV3(props) {
22
22
  })));
23
23
  const checked = globalStore.termsOfUse.accepted && globalStore.responsibleGaming.accepted;
24
24
  const [showWarning, setShowWarning] = useState(false);
25
- return (_jsx(Dialog.Root, { open: disclaimer.open, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { children: _jsxs(Dialog.Content, { className: "flex h-full scrollbar:h-2 scrollbar:w-2 w-full flex-col items-start gap-y-4 overflow-y-auto scrollbar-thumb:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent p-3xl lg:mx-auto lg:h-auto lg:max-h-[80vh] lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: props.logo, alt: `${props.siteName} logo`, width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsx("div", { className: "w-full text-center font-semibold text-3xl", children: "Notice" }), _jsx("div", { className: "text-sm", children: "By entering this website, you acknowledge and confirm:" }), _jsx("div", { className: "w-full grow", children: _jsxs(Dialog.Description, { className: "space-y-4 text-sm", children: [_jsxs("ul", { className: "space-y-1.5 text-left", children: [_jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "You are 21 years old and above."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "You are not a government official, or employee connected directly with the operation of the Government or any of its agencies, member of the Armed Forces of the Philippines including the Army, Navy, Air Force, or the Philippine Nationa Police."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "You are not included in the PAGCOR's National Database Restricted Persons (NDRP)."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Funds or credits in the account of player who is found ineligible to play shall mean forfeiture of said funds/credits in favor of the Government."] })] }), _jsxs(Checkbox.Root, { checked: checked, onCheckedChange: (e) => {
25
+ return (_jsx(Dialog.Root, { open: disclaimer.open, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { children: _jsxs(Dialog.Content, { className: "flex h-full scrollbar:h-2 scrollbar:w-2 w-full flex-col items-start gap-y-4 overflow-y-auto scrollbar-thumb:rounded-full scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent p-3xl lg:mx-auto lg:h-auto lg:max-h-[80vh] lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: props.logo, alt: `${props.siteName} logo`, width: 320, height: 120, className: "mx-auto h-auto w-[130px] object-contain", draggable: false, unoptimized: true }), _jsx("div", { className: "w-full text-center font-semibold text-3xl", children: "Notice" }), _jsx("div", { className: "text-sm", children: "By entering this website, you acknowledge and confirm:" }), _jsx("div", { className: "w-full grow", children: _jsxs(Dialog.Description, { className: "space-y-4 text-sm", children: [_jsxs("ul", { className: "space-y-1.5 text-left", children: [_jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "You are 21 years old and above."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "You are not a government official, or employee connected directly with the operation of the Government or any of its agencies, member of the Armed Forces of the Philippines including the Army, Navy, Air Force, or the Philippine Nationa Police."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "You are not included in the PAGCOR's National Database Restricted Persons (NDRP)."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Funds or credits in the account of player who is found ineligible to play shall mean forfeiture of said funds/credits in favor of the Government."] })] }), _jsxs(Checkbox.Root, { checked: checked, onCheckedChange: (e) => {
26
26
  if (e.checked === 'indeterminate')
27
27
  return;
28
28
  globalStore.termsOfUse.setAccepted(e.checked);
@@ -148,7 +148,7 @@ export function MobileNumberSignIn() {
148
148
  globalStore.termsAndConditions.setOpen(true);
149
149
  globalStore.termsAndConditions.setNext('SIGN_IN');
150
150
  }
151
- }, children: "Terms and Conditions" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
151
+ }, children: "Terms of Use" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
152
152
  if (signInProps.responsibleGamingUrl) {
153
153
  globalStore.signIn.setOpen(false);
154
154
  router.push(signInProps.responsibleGamingUrl);
@@ -163,7 +163,7 @@ export function NameAndPasswordSignIn() {
163
163
  globalStore.termsAndConditions.setOpen(true);
164
164
  globalStore.termsAndConditions.setNext('SIGN_IN');
165
165
  }
166
- }, children: "Terms and Conditions" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
166
+ }, children: "Terms of Use" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
167
167
  if (signInProps.responsibleGamingUrl) {
168
168
  globalStore.signIn.setOpen(false);
169
169
  router.push(signInProps.responsibleGamingUrl);
@@ -8,7 +8,7 @@ const METHODS = [
8
8
  ];
9
9
  const METHOD_LABEL_MAP = {
10
10
  MOBILE_NUMBER: 'Mobile',
11
- NAME_AND_PASSWORD: 'Name',
11
+ NAME_AND_PASSWORD: 'Username',
12
12
  };
13
13
  export function SignInMethod() {
14
14
  const context = useSignInContext();
@@ -212,7 +212,7 @@ export function SignUpNameAndPasswordForm() {
212
212
  globalStore.termsAndConditions.setNext('SIGN_UP');
213
213
  globalStore.signUp.setOpen(false);
214
214
  }
215
- }, children: "Terms and Conditions" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
215
+ }, children: "Terms of Use" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
216
216
  if (signUpProps.responsibleGamingUrl) {
217
217
  globalStore.signUp.setOpen(false);
218
218
  router.push(signUpProps.responsibleGamingUrl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.550",
3
+ "version": "0.0.552",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",