@opexa/portal-components 0.0.801 → 0.0.802

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.
Files changed (93) hide show
  1. package/dist/components/Bonuses/BonusesTrigger.d.ts +1 -0
  2. package/dist/components/Bonuses/BonusesTrigger.js +1 -1
  3. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
  4. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
  5. package/dist/components/Messages/MessagesTrigger.d.ts +1 -0
  6. package/dist/components/Messages/MessagesTrigger.js +1 -1
  7. package/dist/tsconfig.build.tsbuildinfo +1 -0
  8. package/dist/ui/AlertDialog/AlertDialog.d.ts +154 -154
  9. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +14 -14
  10. package/dist/ui/Badge/Badge.d.ts +12 -12
  11. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  12. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  13. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  14. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  15. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  16. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  17. package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
  18. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  19. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  20. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  21. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  22. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  23. package/dist/ui/Dialog/Dialog.d.ts +33 -33
  24. package/dist/ui/Dialog/dialog.recipe.d.ts +3 -3
  25. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  26. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  27. package/dist/ui/Field/Field.d.ts +21 -21
  28. package/dist/ui/Field/field.recipe.d.ts +3 -3
  29. package/dist/ui/Menu/Menu.d.ts +198 -198
  30. package/dist/ui/Menu/menu.recipe.d.ts +11 -11
  31. package/dist/ui/NumberInput/NumberInput.d.ts +24 -24
  32. package/dist/ui/NumberInput/numberInput.recipe.d.ts +3 -3
  33. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  34. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  35. package/dist/ui/PinInput/PinInput.d.ts +12 -12
  36. package/dist/ui/PinInput/pinInput.recipe.d.ts +3 -3
  37. package/dist/ui/Popover/Popover.d.ts +121 -121
  38. package/dist/ui/Popover/popover.recipe.d.ts +11 -11
  39. package/dist/ui/Progress/Progress.d.ts +27 -27
  40. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  41. package/dist/ui/QrCode/QrCode.d.ts +40 -40
  42. package/dist/ui/QrCode/qrCode.recipe.d.ts +8 -8
  43. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  44. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  45. package/dist/ui/Select/Select.d.ts +45 -45
  46. package/dist/ui/Select/select.recipe.d.ts +3 -3
  47. package/dist/ui/Table/Table.d.ts +21 -21
  48. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  49. package/dist/ui/Table/table.recipe.d.ts +3 -3
  50. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  51. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  52. package/dist/ui/Tooltip/Tooltip.d.ts +30 -30
  53. package/dist/ui/Tooltip/tooltip.recipe.d.ts +5 -5
  54. package/package.json +1 -1
  55. package/dist/components/AccountInfo/GoogleDisconnect.d.ts +0 -7
  56. package/dist/components/AccountInfo/GoogleDisconnect.js +0 -11
  57. package/dist/components/DepositWithdrawal/Deposit/GCashWebpayDeposit /GCashWebpayDeposit .d.ts +0 -1
  58. package/dist/components/DepositWithdrawal/Deposit/GCashWebpayDeposit /GCashWebpayDeposit .js +0 -191
  59. package/dist/components/DigitainLauncher/Loading.d.ts +0 -1
  60. package/dist/components/DigitainLauncher/Loading.js +0 -5
  61. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +0 -184
  62. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +0 -184
  63. package/dist/components/KYC/BasicInformation.d.ts +0 -1
  64. package/dist/components/KYC/BasicInformation.js +0 -101
  65. package/dist/components/KYC/IdentityVerification.d.ts +0 -1
  66. package/dist/components/KYC/IdentityVerification.js +0 -120
  67. package/dist/components/KYC/Indicator.d.ts +0 -1
  68. package/dist/components/KYC/Indicator.js +0 -8
  69. package/dist/components/KYC/KYC.lazy.d.ts +0 -6
  70. package/dist/components/KYC/KYC.lazy.js +0 -45
  71. package/dist/components/KYC/KYCContext.d.ts +0 -6
  72. package/dist/components/KYC/KYCContext.js +0 -2
  73. package/dist/components/KYC/KYCDefault/BasicInformation.d.ts +0 -1
  74. package/dist/components/KYC/KYCDefault/BasicInformation.js +0 -101
  75. package/dist/components/KYC/KYCVerificationStatus.d.ts +0 -1
  76. package/dist/components/KYC/KYCVerificationStatus.js +0 -10
  77. package/dist/components/KYC/KYCVerificationStatus.lazy.d.ts +0 -1
  78. package/dist/components/KYC/KYCVerificationStatus.lazy.js +0 -33
  79. package/dist/components/KYC/PersonalInformation.d.ts +0 -1
  80. package/dist/components/KYC/PersonalInformation.js +0 -122
  81. package/dist/components/KYC/useKYC.d.ts +0 -25
  82. package/dist/components/KYC/useKYC.js +0 -38
  83. package/dist/components/PortalProvider/CXDTokenObserver.d.ts +0 -1
  84. package/dist/components/PortalProvider/CXDTokenObserver.js +0 -30
  85. package/dist/components/PortalProvider/LinkGoogleAccountObserver.d.ts +0 -1
  86. package/dist/components/PortalProvider/LinkGoogleAccountObserver.js +0 -29
  87. package/dist/components/SessionWatcher/SessionWatcher.d.ts +0 -1
  88. package/dist/components/SessionWatcher/SessionWatcher.js +0 -20
  89. package/dist/components/SessionWatcher/index.d.ts +0 -1
  90. package/dist/components/SessionWatcher/index.js +0 -1
  91. package/dist/icons/LinkBrokenIcon.d.ts +0 -2
  92. package/dist/icons/LinkBrokenIcon.js +0 -4
  93. package/dist/images/responsible-gaming-yellow.png +0 -0
@@ -2,6 +2,7 @@ import type { ComponentPropsWithRef } from 'react';
2
2
  export interface ClassNameEntries {
3
3
  root?: string;
4
4
  icon?: string;
5
+ unreadBadge?: string;
5
6
  }
6
7
  export interface BonusesTriggerProps extends Omit<ComponentPropsWithRef<'a'>, 'className'> {
7
8
  className?: string | ClassNameEntries;
@@ -24,5 +24,5 @@ export function BonusesTrigger({ children, className, ...props }) {
24
24
  size: 'sm',
25
25
  colorScheme: 'gray',
26
26
  className: twMerge('relative', classNames.root),
27
- }), children: children ?? (_jsxs(_Fragment, { children: [totalCount > 0 && (_jsx("div", { className: "-right-1.5 -top-1.5 absolute min-w-5 rounded-full border bg-brand-500 px-1.5 font-semibold text-2xs text-button-primary-fg leading-4.5", children: totalCount })), _jsx(Gift01Icon, { className: classNames.icon })] })) }));
27
+ }), children: children ?? (_jsxs(_Fragment, { children: [totalCount > 0 && (_jsx("div", { className: twMerge('-right-1.5 -top-1.5 absolute min-w-5 rounded-full border bg-brand-500 px-1.5 font-semibold text-2xs text-button-primary-fg leading-4.5', classNames.unreadBadge), children: totalCount })), _jsx(Gift01Icon, { className: classNames.icon })] })) }));
28
28
  }
@@ -1,6 +1,6 @@
1
1
  export declare const QRPHDepositContext: (props: {
2
2
  value: {
3
- view: "form" | "qrCode";
3
+ view: "qrCode" | "form";
4
4
  status: "waiting" | "processing" | "failed" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
5
5
  verify: () => void;
6
6
  reset: () => void;
@@ -13,7 +13,7 @@ export declare const QRPHDepositContext: (props: {
13
13
  } & {
14
14
  children?: import("react").ReactNode | undefined;
15
15
  }) => React.ReactNode, useQRPHDepositContext: () => {
16
- view: "form" | "qrCode";
16
+ view: "qrCode" | "form";
17
17
  status: "waiting" | "processing" | "failed" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
18
18
  verify: () => void;
19
19
  reset: () => void;
@@ -1,7 +1,7 @@
1
1
  import type { Deposit } from '../../../../types';
2
2
  export type UseQRPHDepositReturn = ReturnType<typeof useQRPHDeposit>;
3
3
  export declare function useQRPHDeposit(): {
4
- view: "form" | "qrCode";
4
+ view: "qrCode" | "form";
5
5
  status: "waiting" | "processing" | "failed" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
6
6
  verify: () => void;
7
7
  reset: () => void;
@@ -3,6 +3,7 @@ export interface ClassNameEntries {
3
3
  root?: string;
4
4
  iconButtonRoot?: string;
5
5
  iconButtonLogo?: string;
6
+ unreadBadge?: string;
6
7
  }
7
8
  type MessagesTriggerProps = Omit<ComponentPropsWithRef<'button'>, 'className'> & {
8
9
  asChild?: boolean;
@@ -22,5 +22,5 @@ export function MessagesTrigger({ asChild, children, ...props }) {
22
22
  return (_jsx(ark.button, { type: "button", "aria-label": "Toggle messages panel", "data-state": globalStore.messages.open ? 'open' : 'closed', ...props, onClick: (e) => {
23
23
  globalStore.messages.setOpen(!globalStore.messages.open);
24
24
  return props.onClick?.(e);
25
- }, asChild: !children ? true : asChild, className: classNames.root, children: children ?? (_jsxs(IconButton, { size: "sm", colorScheme: "gray", className: twMerge('relative', classNames.iconButtonRoot), children: [!!unreadMessagesCount && (_jsx("div", { className: "-right-1.5 -top-1.5 absolute rounded-full border bg-brand-500 px-1.5 font-semibold text-2xs text-button-primary-fg leading-4.5", children: unreadMessagesCount })), _jsx(Bell01Icon, { className: classNames.iconButtonLogo })] })) }));
25
+ }, asChild: !children ? true : asChild, className: classNames.root, children: children ?? (_jsxs(IconButton, { size: "sm", colorScheme: "gray", className: twMerge('relative', classNames.iconButtonRoot), children: [!!unreadMessagesCount && (_jsx("div", { className: twMerge('-right-1.5 -top-1.5 border- absolute rounded-full border bg-brand-500 px-1.5 font-semibold text-2xs text-button-primary-fg leading-4.5', classNames.unreadBadge), children: unreadMessagesCount })), _jsx(Bell01Icon, { className: classNames.iconButtonLogo })] })) }));
26
26
  }