@opexa/portal-components 0.0.192 → 0.0.194

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 (201) hide show
  1. package/dist/components/Bonus/Bonus.client.js +1 -1
  2. package/dist/components/Cashback/Cashback.client.js +1 -1
  3. package/dist/components/CustomPromo/CustomPromo.js +1 -1
  4. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
  5. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
  6. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
  7. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
  8. package/dist/components/Disclaimer/DisclaimerV2.js +7 -5
  9. package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
  10. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  11. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +17 -9
  12. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  13. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  14. package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +15 -3
  15. package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +17 -5
  16. package/dist/components/Jackpots/JackpotsList/useJackpotsListItemData.js +0 -4
  17. package/dist/components/KYC/backup/KYCContext.d.ts +5 -1
  18. package/dist/components/KYC/loadModels.d.ts +1 -0
  19. package/dist/components/KYC/loadModels.js +9 -0
  20. package/dist/components/KYC/utils.js +18 -18
  21. package/dist/components/Messages/MessageContext.d.ts +5 -1
  22. package/dist/components/News/News.js +1 -1
  23. package/dist/components/Promo/Promo.client.js +1 -1
  24. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -1
  25. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +10 -5
  26. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +4 -3
  27. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +1 -1
  28. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -1
  29. package/dist/components/Quests/WageringQuest/WageringQuest.js +3 -2
  30. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +4 -3
  31. package/dist/components/Search/Search.lazy.js +1 -1
  32. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +2 -1
  33. package/dist/components/SignUp/SignUpForm.js +2 -1
  34. package/dist/components/SignUp/SignUpKYC/ImageUploader.js +2 -1
  35. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +3 -2
  36. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
  37. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
  38. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
  39. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
  40. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
  41. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
  42. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
  43. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
  44. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
  45. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
  46. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
  47. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
  48. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
  49. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
  50. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  51. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  52. package/dist/constants/BranchCode.d.ts +4 -0
  53. package/dist/constants/BranchCode.js +42 -0
  54. package/dist/constants/GameProvider.d.ts +1 -1
  55. package/dist/constants/GameProvider.js +8 -0
  56. package/dist/images/game-providers/BNG.png +0 -0
  57. package/dist/services/queries.js +2436 -2436
  58. package/dist/styles/theme.css +693 -693
  59. package/dist/types/index.d.ts +6 -1
  60. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  61. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  62. package/dist/ui/Carousel/Carousel.d.ts +45 -45
  63. package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
  64. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  65. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  66. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  67. package/dist/ui/Collapsible/collapsible.recipe.d.ts +8 -8
  68. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  69. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  70. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  71. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  72. package/dist/ui/Menu/Menu.d.ts +90 -90
  73. package/dist/ui/Menu/menu.recipe.d.ts +8 -8
  74. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  75. package/dist/ui/Popover/popover.recipe.d.ts +5 -5
  76. package/dist/ui/Progress/Progress.d.ts +27 -27
  77. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  78. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  79. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  80. package/dist/ui/Select/Select.d.ts +45 -45
  81. package/dist/ui/Select/select.recipe.d.ts +3 -3
  82. package/dist/ui/Table/Table.d.ts +21 -21
  83. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  84. package/dist/ui/Table/table.recipe.d.ts +3 -3
  85. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  86. package/dist/ui/Tooltip/tooltip.recipe.d.ts +5 -5
  87. package/dist/utils/resizeImageSize.d.ts +1 -0
  88. package/dist/utils/resizeImageSize.js +5 -0
  89. package/package.json +164 -164
  90. package/dist/client/hooks/index.d.ts +0 -65
  91. package/dist/client/hooks/index.js +0 -65
  92. package/dist/client/services/index.d.ts +0 -4
  93. package/dist/client/services/index.js +0 -4
  94. package/dist/client/utils/index.d.ts +0 -3
  95. package/dist/client/utils/index.js +0 -3
  96. package/dist/components/Empty.d.ts +0 -10
  97. package/dist/components/Empty.js +0 -7
  98. package/dist/components/Games/GameContext.d.ts +0 -2
  99. package/dist/components/Games/GameContext.js +0 -2
  100. package/dist/components/InfiniteScroll.d.ts +0 -10
  101. package/dist/components/InfiniteScroll.js +0 -25
  102. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
  103. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
  104. package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
  105. package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
  106. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
  107. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
  108. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
  109. package/dist/components/JackpotCounter/index.d.ts +0 -1
  110. package/dist/components/JackpotCounter/index.js +0 -1
  111. package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
  112. package/dist/components/Jackpots/JackpotDesktop.js +0 -45
  113. package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
  114. package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
  115. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
  116. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
  117. package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
  118. package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
  119. package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
  120. package/dist/components/Jackpots/JackpotMobile.js +0 -46
  121. package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
  122. package/dist/components/Jackpots/JackpotRules.js +0 -11
  123. package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
  124. package/dist/components/Jackpots/Jackpots.client.js +0 -29
  125. package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
  126. package/dist/components/Jackpots/JackpotsContext.js +0 -3
  127. package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
  128. package/dist/components/Jackpots/useJackpotData.js +0 -93
  129. package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
  130. package/dist/components/Jackpots/useJackpotItemData.js +0 -87
  131. package/dist/components/KYC/Header.d.ts +0 -1
  132. package/dist/components/KYC/Header.js +0 -6
  133. package/dist/components/KYC/Step1.d.ts +0 -1
  134. package/dist/components/KYC/Step1.js +0 -12
  135. package/dist/components/KYC/Step2.d.ts +0 -1
  136. package/dist/components/KYC/Step2.js +0 -12
  137. package/dist/components/KYC/Step3.d.ts +0 -1
  138. package/dist/components/KYC/Step3.js +0 -11
  139. package/dist/components/KYC/Step4.d.ts +0 -1
  140. package/dist/components/KYC/Step4.js +0 -6
  141. package/dist/components/Messages/MessageItem.d.ts +0 -4
  142. package/dist/components/Messages/MessageItem.js +0 -34
  143. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
  144. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
  145. package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
  146. package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
  147. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
  148. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
  149. package/dist/components/TournamentCounter/index.d.ts +0 -1
  150. package/dist/components/TournamentCounter/index.js +0 -1
  151. package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
  152. package/dist/components/Tournaments/TournamentDesktop.js +0 -57
  153. package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
  154. package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
  155. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
  156. package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
  157. package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
  158. package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
  159. package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
  160. package/dist/components/Tournaments/TournamentMobile.js +0 -55
  161. package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
  162. package/dist/components/Tournaments/TournamentRules.js +0 -11
  163. package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
  164. package/dist/components/Tournaments/Tournaments.client.js +0 -20
  165. package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
  166. package/dist/components/Tournaments/TournamentsContext.js +0 -3
  167. package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
  168. package/dist/components/Tournaments/useTournamentData.js +0 -72
  169. package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
  170. package/dist/components/Tournaments/useTournamentItemData.js +0 -64
  171. package/dist/components/index.d.ts +0 -33
  172. package/dist/components/index.js +0 -33
  173. package/dist/constants/envVars.d.ts +0 -5
  174. package/dist/constants/envVars.js +0 -28
  175. package/dist/constants/gameProviders.d.ts +0 -5
  176. package/dist/constants/gameProviders.js +0 -362
  177. package/dist/constants/gameTypes.d.ts +0 -4
  178. package/dist/constants/gameTypes.js +0 -64
  179. package/dist/constants/headerKeys.d.ts +0 -1
  180. package/dist/constants/headerKeys.js +0 -1
  181. package/dist/constants/secretQuestions.d.ts +0 -3
  182. package/dist/constants/secretQuestions.js +0 -24
  183. package/dist/constants/storageKeys.d.ts +0 -2
  184. package/dist/constants/storageKeys.js +0 -2
  185. package/dist/icons/index.d.ts +0 -65
  186. package/dist/icons/index.js +0 -65
  187. package/dist/images/hacksaw-gaming.png +0 -0
  188. package/dist/server/services/index.d.ts +0 -4
  189. package/dist/server/services/index.js +0 -4
  190. package/dist/server/utils/index.d.ts +0 -29
  191. package/dist/server/utils/index.js +0 -29
  192. package/dist/ui/Presence.d.ts +0 -2
  193. package/dist/ui/Presence.js +0 -7
  194. package/dist/ui/Prose.d.ts +0 -2
  195. package/dist/ui/Prose.js +0 -5
  196. package/dist/ui/index.d.ts +0 -26
  197. package/dist/ui/index.js +0 -26
  198. package/dist/utils/index.d.ts +0 -17
  199. package/dist/utils/index.js +0 -17
  200. package/dist/utils/isMobile.d.ts +0 -5
  201. package/dist/utils/isMobile.js +0 -9
@@ -12,7 +12,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
12
12
  body: string;
13
13
  };
14
14
  };
15
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, {
15
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
16
16
  size: {
17
17
  md: {
18
18
  root: string;
@@ -26,7 +26,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
26
26
  body: string;
27
27
  };
28
28
  };
29
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, import("tailwind-variants").TVReturnType<{
29
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
30
30
  size: {
31
31
  md: {
32
32
  root: string;
@@ -40,7 +40,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
40
40
  body: string;
41
41
  };
42
42
  };
43
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
43
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
44
44
  export declare const Header: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
45
45
  size: {
46
46
  md: {
@@ -55,7 +55,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
55
55
  body: string;
56
56
  };
57
57
  };
58
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, {
58
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
59
59
  size: {
60
60
  md: {
61
61
  root: string;
@@ -69,7 +69,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
69
69
  body: string;
70
70
  };
71
71
  };
72
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, import("tailwind-variants").TVReturnType<{
72
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
73
73
  size: {
74
74
  md: {
75
75
  root: string;
@@ -83,7 +83,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
83
83
  body: string;
84
84
  };
85
85
  };
86
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
86
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
87
87
  export declare const Body: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
88
88
  size: {
89
89
  md: {
@@ -98,7 +98,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
98
98
  body: string;
99
99
  };
100
100
  };
101
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, {
101
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
102
102
  size: {
103
103
  md: {
104
104
  root: string;
@@ -112,7 +112,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
112
112
  body: string;
113
113
  };
114
114
  };
115
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, import("tailwind-variants").TVReturnType<{
115
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
116
116
  size: {
117
117
  md: {
118
118
  root: string;
@@ -126,7 +126,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
126
126
  body: string;
127
127
  };
128
128
  };
129
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
129
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
130
130
  export declare const Footer: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
131
131
  size: {
132
132
  md: {
@@ -141,7 +141,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
141
141
  body: string;
142
142
  };
143
143
  };
144
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, {
144
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
145
145
  size: {
146
146
  md: {
147
147
  root: string;
@@ -155,7 +155,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
155
155
  body: string;
156
156
  };
157
157
  };
158
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, import("tailwind-variants").TVReturnType<{
158
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
159
159
  size: {
160
160
  md: {
161
161
  root: string;
@@ -169,7 +169,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
169
169
  body: string;
170
170
  };
171
171
  };
172
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
172
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
173
173
  export declare const Row: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableRowElement> & import("react").HTMLAttributes<HTMLTableRowElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
174
174
  size: {
175
175
  md: {
@@ -184,7 +184,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
184
184
  body: string;
185
185
  };
186
186
  };
187
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, {
187
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
188
188
  size: {
189
189
  md: {
190
190
  root: string;
@@ -198,7 +198,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
198
198
  body: string;
199
199
  };
200
200
  };
201
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, import("tailwind-variants").TVReturnType<{
201
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
202
202
  size: {
203
203
  md: {
204
204
  root: string;
@@ -212,7 +212,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
212
212
  body: string;
213
213
  };
214
214
  };
215
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
215
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
216
216
  export declare const Heading: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableHeaderCellElement> & import("react").ThHTMLAttributes<HTMLTableHeaderCellElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
217
217
  size: {
218
218
  md: {
@@ -227,7 +227,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
227
227
  body: string;
228
228
  };
229
229
  };
230
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, {
230
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
231
231
  size: {
232
232
  md: {
233
233
  root: string;
@@ -241,7 +241,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
241
241
  body: string;
242
242
  };
243
243
  };
244
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, import("tailwind-variants").TVReturnType<{
244
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
245
245
  size: {
246
246
  md: {
247
247
  root: string;
@@ -255,7 +255,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
255
255
  body: string;
256
256
  };
257
257
  };
258
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
258
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
259
259
  export declare const Cell: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
260
260
  size: {
261
261
  md: {
@@ -270,7 +270,7 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
270
270
  body: string;
271
271
  };
272
272
  };
273
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, {
273
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
274
274
  size: {
275
275
  md: {
276
276
  root: string;
@@ -284,7 +284,7 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
284
284
  body: string;
285
285
  };
286
286
  };
287
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, import("tailwind-variants").TVReturnType<{
287
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
288
288
  size: {
289
289
  md: {
290
290
  root: string;
@@ -298,4 +298,4 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
298
298
  body: string;
299
299
  };
300
300
  };
301
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
301
+ }, Record<"body" | "header" | "footer" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
@@ -1 +1 @@
1
- export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading">;
1
+ export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "root" | "header" | "footer" | "cell" | "heading" | "row">;
@@ -12,7 +12,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
12
12
  body: string;
13
13
  };
14
14
  };
15
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, {
15
+ }, Record<"body" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, {
16
16
  size: {
17
17
  md: {
18
18
  root: string;
@@ -26,7 +26,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
26
26
  body: string;
27
27
  };
28
28
  };
29
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, import("tailwind-variants").TVReturnType<{
29
+ }, Record<"body" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
30
30
  size: {
31
31
  md: {
32
32
  root: string;
@@ -40,4 +40,4 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
40
40
  body: string;
41
41
  };
42
42
  };
43
- }, Record<"body" | "header" | "footer" | "root" | "row" | "cell" | "heading", string | string[]>, undefined, unknown, unknown, undefined>>;
43
+ }, Record<"body" | "root" | "header" | "footer" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -10,7 +10,7 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
10
10
  trigger: string;
11
11
  };
12
12
  };
13
- }, Record<"content" | "trigger" | "indicator" | "root" | "list", string | string[]>, undefined, {
13
+ }, Record<"content" | "root" | "indicator" | "trigger" | "list", string | string[]>, undefined, {
14
14
  size: {
15
15
  md: {};
16
16
  };
@@ -22,7 +22,7 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
22
22
  trigger: string;
23
23
  };
24
24
  };
25
- }, Record<"content" | "trigger" | "indicator" | "root" | "list", string | string[]>, import("tailwind-variants").TVReturnType<{
25
+ }, Record<"content" | "root" | "indicator" | "trigger" | "list", string | string[]>, import("tailwind-variants").TVReturnType<{
26
26
  size: {
27
27
  md: {};
28
28
  };
@@ -34,4 +34,4 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
34
34
  trigger: string;
35
35
  };
36
36
  };
37
- }, Record<"content" | "trigger" | "indicator" | "root" | "list", string | string[]>, undefined, unknown, unknown, undefined>>;
37
+ }, Record<"content" | "root" | "indicator" | "trigger" | "list", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -3,9 +3,9 @@ export declare const tooltipRecipe: import("tailwind-variants").TVReturnType<{
3
3
  [key: string]: import("tailwind-variants").ClassValue | {
4
4
  content?: import("tailwind-variants").ClassValue;
5
5
  trigger?: import("tailwind-variants").ClassValue;
6
- positioner?: import("tailwind-variants").ClassValue;
7
6
  arrow?: import("tailwind-variants").ClassValue;
8
7
  arrowTip?: import("tailwind-variants").ClassValue;
8
+ positioner?: import("tailwind-variants").ClassValue;
9
9
  };
10
10
  };
11
11
  } | {
@@ -13,19 +13,19 @@ export declare const tooltipRecipe: import("tailwind-variants").TVReturnType<{
13
13
  [x: string]: import("tailwind-variants").ClassValue | {
14
14
  content?: import("tailwind-variants").ClassValue;
15
15
  trigger?: import("tailwind-variants").ClassValue;
16
- positioner?: import("tailwind-variants").ClassValue;
17
16
  arrow?: import("tailwind-variants").ClassValue;
18
17
  arrowTip?: import("tailwind-variants").ClassValue;
18
+ positioner?: import("tailwind-variants").ClassValue;
19
19
  };
20
20
  };
21
- } | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, {
21
+ } | {}, Record<"content" | "trigger" | "arrow" | "arrowTip" | "positioner", string | string[]>, undefined, {
22
22
  [key: string]: {
23
23
  [key: string]: import("tailwind-variants").ClassValue | {
24
24
  content?: import("tailwind-variants").ClassValue;
25
25
  trigger?: import("tailwind-variants").ClassValue;
26
- positioner?: import("tailwind-variants").ClassValue;
27
26
  arrow?: import("tailwind-variants").ClassValue;
28
27
  arrowTip?: import("tailwind-variants").ClassValue;
28
+ positioner?: import("tailwind-variants").ClassValue;
29
29
  };
30
30
  };
31
- } | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, unknown, unknown, undefined>>;
31
+ } | {}, Record<"content" | "trigger" | "arrow" | "arrowTip" | "positioner", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "arrow" | "arrowTip" | "positioner", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -1 +1,2 @@
1
1
  export declare const resizeFile: (file: File) => Promise<unknown>;
2
+ export declare const resizeFileBase64: (file: File) => Promise<string>;
@@ -4,3 +4,8 @@ export const resizeFile = (file) => new Promise((resolve) => {
4
4
  resolve(uri);
5
5
  }, 'file');
6
6
  });
7
+ export const resizeFileBase64 = (file) => new Promise((resolve) => {
8
+ Resizer.imageFileResizer(file, 1200, 300, 'WEBP', 100, 0, (uri) => {
9
+ resolve(uri);
10
+ }, 'base64');
11
+ });
package/package.json CHANGED
@@ -1,164 +1,164 @@
1
- {
2
- "name": "@opexa/portal-components",
3
- "version": "0.0.192",
4
- "exports": {
5
- "./ui/*": {
6
- "types": "./dist/ui/*/index.d.ts",
7
- "default": "./dist/ui/*/index.js"
8
- },
9
- "./utils/*": {
10
- "types": "./dist/utils/*.d.ts",
11
- "import": "./dist/utils/*.js"
12
- },
13
- "./types": {
14
- "types": "./dist/types/index.d.ts",
15
- "import": "./dist/types/index.js"
16
- },
17
- "./handlers": {
18
- "types": "./dist/handlers.d.ts",
19
- "default": "./dist/handlers.js"
20
- },
21
- "./middleware": {
22
- "types": "./dist/middleware.d.ts",
23
- "default": "./dist/middleware.js"
24
- },
25
- "./constants": {
26
- "types": "./dist/constants/index.d.ts",
27
- "default": "./dist/constants/index.js"
28
- },
29
- "./services/*": {
30
- "types": "./dist/services/*.d.ts",
31
- "default": "./dist/services/*.js"
32
- },
33
- "./client-utils/*": {
34
- "types": "./dist/client/utils/*.d.ts",
35
- "default": "./dist/client/utils/*.js"
36
- },
37
- "./client-hooks/*": {
38
- "types": "./dist/client/hooks/*.d.ts",
39
- "default": "./dist/client/hooks/*.js"
40
- },
41
- "./client-services/*": {
42
- "types": "./dist/client/services/*.d.ts",
43
- "default": "./dist/client/services/*.js"
44
- },
45
- "./server-utils/*": {
46
- "types": "./dist/server/utils/*.d.ts",
47
- "default": "./dist/server/utils/*.js"
48
- },
49
- "./server-services/*": {
50
- "types": "./dist/server/services/*.d.ts",
51
- "default": "./dist/server/services/*.js"
52
- },
53
- "./next.config": {
54
- "types": "./dist/next.config.d.ts",
55
- "default": "./dist/next.config.js"
56
- },
57
- "./theme.css": "./dist/styles/theme.css",
58
- "./*": {
59
- "types": "./dist/components/*/index.d.ts",
60
- "default": "./dist/components/*/index.js"
61
- }
62
- },
63
- "files": [
64
- "dist",
65
- "!dist/tsconfig.tsbuildinfo",
66
- "!dist/tsconfig.build.tsbuildinfo"
67
- ],
68
- "publishConfig": {
69
- "access": "public"
70
- },
71
- "scripts": {
72
- "dev": "next dev --port 4000 --turbopack",
73
- "build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
74
- "build:app": "next build",
75
- "start": "next start",
76
- "lint": "next lint",
77
- "release": "release-it"
78
- },
79
- "dependencies": {
80
- "@ark-ui/react": "^5.14.2",
81
- "@date-fns/tz": "^1.2.0",
82
- "@next/third-parties": "^15.3.4",
83
- "@tailwindcss/typography": "^0.5.16",
84
- "date-fns": "^4.1.0",
85
- "embla-carousel-autoplay": "^8.6.0",
86
- "embla-carousel-react": "^8.6.0",
87
- "face-api.js": "^0.22.2",
88
- "is-mobile": "^5.0.0",
89
- "lodash-es": "^4.17.21",
90
- "react-image-file-resizer": "^0.4.8",
91
- "tailwind-merge": "^3.3.1",
92
- "tailwind-variants": "^1.0.0",
93
- "tailwind-zag": "^1.0.2",
94
- "tiny-invariant": "^1.3.3",
95
- "type-fest": "^4.41.0",
96
- "usehooks-ts": "^3.1.1",
97
- "zustand": "^5.0.5"
98
- },
99
- "devDependencies": {
100
- "@eslint/eslintrc": "3",
101
- "@hookform/resolvers": "5.1.1",
102
- "@opexa/object-id": "0.1.6",
103
- "@tailwindcss/postcss": "4",
104
- "@tanstack/react-query": "5.81.2",
105
- "@tanstack/react-query-devtools": "5.81.2",
106
- "@total-typescript/ts-reset": "0.6.1",
107
- "@types/lodash-es": "4.17.12",
108
- "@types/node": "24",
109
- "@types/react": "19",
110
- "@types/react-dom": "19",
111
- "copy-files-from-to": "3.12.1",
112
- "eslint": "9",
113
- "eslint-config-next": "15.3.4",
114
- "next": "15.4.0-canary.61",
115
- "react": "19.1.0",
116
- "react-dom": "19.1.0",
117
- "react-hook-form": "7.58.1",
118
- "release-it": "19.0.3",
119
- "tailwindcss": "4.1.10",
120
- "tsc-alias": "1.8.16",
121
- "typescript": "5",
122
- "zod": "3.25.67"
123
- },
124
- "peerDependencies": {
125
- "@hookform/resolvers": "^4.0.0 || ^5.0.0",
126
- "@opexa/object-id": "^0.1.0",
127
- "@tanstack/react-query": "^5.0.0",
128
- "next": "^15.4.0-canary.1",
129
- "react": "^19.0.0",
130
- "react-dom": "^19.0.0",
131
- "react-hook-form": "^7.0.0",
132
- "tailwindcss": "^4.0.0",
133
- "zod": "^3.0.0"
134
- },
135
- "release-it": {
136
- "git": {
137
- "commitMessage": "chore: release ${npm.name} v${version}",
138
- "tagName": "${npm.name}@${version}"
139
- },
140
- "github": {
141
- "release": false
142
- },
143
- "hooks": {
144
- "before:bump": [
145
- "pnpm lint"
146
- ],
147
- "after:bump": [
148
- "pnpm build"
149
- ]
150
- }
151
- },
152
- "copyFiles": [
153
- {
154
- "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
155
- "to": "dist/",
156
- "toFlat": false
157
- }
158
- ],
159
- "copyFilesSettings": {
160
- "whenFileExists": "overwrite",
161
- "removeSourceMappingURL": true,
162
- "ignoreDotFilesAndFolders": false
163
- }
164
- }
1
+ {
2
+ "name": "@opexa/portal-components",
3
+ "version": "0.0.194",
4
+ "exports": {
5
+ "./ui/*": {
6
+ "types": "./dist/ui/*/index.d.ts",
7
+ "default": "./dist/ui/*/index.js"
8
+ },
9
+ "./utils/*": {
10
+ "types": "./dist/utils/*.d.ts",
11
+ "import": "./dist/utils/*.js"
12
+ },
13
+ "./types": {
14
+ "types": "./dist/types/index.d.ts",
15
+ "import": "./dist/types/index.js"
16
+ },
17
+ "./handlers": {
18
+ "types": "./dist/handlers.d.ts",
19
+ "default": "./dist/handlers.js"
20
+ },
21
+ "./middleware": {
22
+ "types": "./dist/middleware.d.ts",
23
+ "default": "./dist/middleware.js"
24
+ },
25
+ "./constants": {
26
+ "types": "./dist/constants/index.d.ts",
27
+ "default": "./dist/constants/index.js"
28
+ },
29
+ "./services/*": {
30
+ "types": "./dist/services/*.d.ts",
31
+ "default": "./dist/services/*.js"
32
+ },
33
+ "./client-utils/*": {
34
+ "types": "./dist/client/utils/*.d.ts",
35
+ "default": "./dist/client/utils/*.js"
36
+ },
37
+ "./client-hooks/*": {
38
+ "types": "./dist/client/hooks/*.d.ts",
39
+ "default": "./dist/client/hooks/*.js"
40
+ },
41
+ "./client-services/*": {
42
+ "types": "./dist/client/services/*.d.ts",
43
+ "default": "./dist/client/services/*.js"
44
+ },
45
+ "./server-utils/*": {
46
+ "types": "./dist/server/utils/*.d.ts",
47
+ "default": "./dist/server/utils/*.js"
48
+ },
49
+ "./server-services/*": {
50
+ "types": "./dist/server/services/*.d.ts",
51
+ "default": "./dist/server/services/*.js"
52
+ },
53
+ "./next.config": {
54
+ "types": "./dist/next.config.d.ts",
55
+ "default": "./dist/next.config.js"
56
+ },
57
+ "./theme.css": "./dist/styles/theme.css",
58
+ "./*": {
59
+ "types": "./dist/components/*/index.d.ts",
60
+ "default": "./dist/components/*/index.js"
61
+ }
62
+ },
63
+ "files": [
64
+ "dist",
65
+ "!dist/tsconfig.tsbuildinfo",
66
+ "!dist/tsconfig.build.tsbuildinfo"
67
+ ],
68
+ "publishConfig": {
69
+ "access": "public"
70
+ },
71
+ "scripts": {
72
+ "dev": "next dev --port 4000 --turbopack",
73
+ "build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
74
+ "build:app": "next build",
75
+ "start": "next start",
76
+ "lint": "next lint",
77
+ "release": "release-it"
78
+ },
79
+ "dependencies": {
80
+ "@ark-ui/react": "^5.14.2",
81
+ "@date-fns/tz": "^1.2.0",
82
+ "@next/third-parties": "^15.3.4",
83
+ "@tailwindcss/typography": "^0.5.16",
84
+ "date-fns": "^4.1.0",
85
+ "embla-carousel-autoplay": "^8.6.0",
86
+ "embla-carousel-react": "^8.6.0",
87
+ "face-api.js": "^0.22.2",
88
+ "is-mobile": "^5.0.0",
89
+ "lodash-es": "^4.17.21",
90
+ "react-image-file-resizer": "^0.4.8",
91
+ "tailwind-merge": "^3.3.1",
92
+ "tailwind-variants": "^1.0.0",
93
+ "tailwind-zag": "^1.0.2",
94
+ "tiny-invariant": "^1.3.3",
95
+ "type-fest": "^4.41.0",
96
+ "usehooks-ts": "^3.1.1",
97
+ "zustand": "^5.0.5"
98
+ },
99
+ "devDependencies": {
100
+ "@eslint/eslintrc": "3",
101
+ "@hookform/resolvers": "5.1.1",
102
+ "@opexa/object-id": "0.1.6",
103
+ "@tailwindcss/postcss": "4",
104
+ "@tanstack/react-query": "5.81.2",
105
+ "@tanstack/react-query-devtools": "5.81.2",
106
+ "@total-typescript/ts-reset": "0.6.1",
107
+ "@types/lodash-es": "4.17.12",
108
+ "@types/node": "24",
109
+ "@types/react": "19",
110
+ "@types/react-dom": "19",
111
+ "copy-files-from-to": "3.12.1",
112
+ "eslint": "9",
113
+ "eslint-config-next": "15.3.4",
114
+ "next": "15.4.0-canary.61",
115
+ "react": "19.1.0",
116
+ "react-dom": "19.1.0",
117
+ "react-hook-form": "7.58.1",
118
+ "release-it": "19.0.3",
119
+ "tailwindcss": "4.1.10",
120
+ "tsc-alias": "1.8.16",
121
+ "typescript": "5",
122
+ "zod": "3.25.67"
123
+ },
124
+ "peerDependencies": {
125
+ "@hookform/resolvers": "^4.0.0 || ^5.0.0",
126
+ "@opexa/object-id": "^0.1.0",
127
+ "@tanstack/react-query": "^5.0.0",
128
+ "next": "^15.4.0-canary.1",
129
+ "react": "^19.0.0",
130
+ "react-dom": "^19.0.0",
131
+ "react-hook-form": "^7.0.0",
132
+ "tailwindcss": "^4.0.0",
133
+ "zod": "^3.0.0"
134
+ },
135
+ "release-it": {
136
+ "git": {
137
+ "commitMessage": "chore: release ${npm.name} v${version}",
138
+ "tagName": "${npm.name}@${version}"
139
+ },
140
+ "github": {
141
+ "release": false
142
+ },
143
+ "hooks": {
144
+ "before:bump": [
145
+ "pnpm lint"
146
+ ],
147
+ "after:bump": [
148
+ "pnpm build"
149
+ ]
150
+ }
151
+ },
152
+ "copyFiles": [
153
+ {
154
+ "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
155
+ "to": "dist/",
156
+ "toFlat": false
157
+ }
158
+ ],
159
+ "copyFilesSettings": {
160
+ "whenFileExists": "overwrite",
161
+ "removeSourceMappingURL": true,
162
+ "ignoreDotFilesAndFolders": false
163
+ }
164
+ }