@opexa/portal-components 0.0.276 → 0.0.277

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 (193) hide show
  1. package/dist/client/hooks/index.d.ts +65 -0
  2. package/dist/client/hooks/index.js +65 -0
  3. package/dist/client/services/index.d.ts +4 -0
  4. package/dist/client/services/index.js +4 -0
  5. package/dist/client/utils/index.d.ts +3 -0
  6. package/dist/client/utils/index.js +3 -0
  7. package/dist/components/Bonus/Bonus.client.js +1 -1
  8. package/dist/components/Cashback/Cashback.client.js +1 -1
  9. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +2 -0
  10. package/dist/components/CashbackBonus/CashbackBonus.client.js +9 -0
  11. package/dist/components/CashbackBonus/CashbackBonus.d.ts +10 -0
  12. package/dist/components/CashbackBonus/CashbackBonus.js +5 -0
  13. package/dist/components/CashbackBonus/index.d.ts +1 -0
  14. package/dist/components/CashbackBonus/index.js +1 -0
  15. package/dist/components/CustomPromo/CustomPromo.js +1 -1
  16. package/dist/components/Empty.d.ts +9 -0
  17. package/dist/components/Empty.js +7 -0
  18. package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
  19. package/dist/components/Games/GameContext.d.ts +2 -0
  20. package/dist/components/Games/GameContext.js +2 -0
  21. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  22. package/dist/components/InfiniteScroll.d.ts +10 -0
  23. package/dist/components/InfiniteScroll.js +25 -0
  24. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +2 -0
  25. package/dist/components/JackpotCounter/JackpotCounter.client.js +66 -0
  26. package/dist/components/JackpotCounter/JackpotCounter.d.ts +17 -0
  27. package/dist/components/JackpotCounter/JackpotCounter.js +21 -0
  28. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +18 -0
  29. package/dist/components/JackpotCounter/JackpotCounterItem.js +109 -0
  30. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +184 -0
  31. package/dist/components/JackpotCounter/index.d.ts +1 -0
  32. package/dist/components/JackpotCounter/index.js +1 -0
  33. package/dist/components/Jackpots/JackpotDesktop.d.ts +1 -0
  34. package/dist/components/Jackpots/JackpotDesktop.js +45 -0
  35. package/dist/components/Jackpots/JackpotGameProviders.d.ts +5 -0
  36. package/dist/components/Jackpots/JackpotGameProviders.js +41 -0
  37. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +9 -0
  38. package/dist/components/Jackpots/JackpotItemDesktop.js +43 -0
  39. package/dist/components/Jackpots/JackpotItemMobile.d.ts +9 -0
  40. package/dist/components/Jackpots/JackpotItemMobile.js +44 -0
  41. package/dist/components/Jackpots/JackpotMobile.d.ts +1 -0
  42. package/dist/components/Jackpots/JackpotMobile.js +46 -0
  43. package/dist/components/Jackpots/JackpotRules.d.ts +5 -0
  44. package/dist/components/Jackpots/JackpotRules.js +11 -0
  45. package/dist/components/Jackpots/Jackpots.client.d.ts +2 -0
  46. package/dist/components/Jackpots/Jackpots.client.js +29 -0
  47. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  48. package/dist/components/Jackpots/JackpotsContext.d.ts +4 -0
  49. package/dist/components/Jackpots/JackpotsContext.js +3 -0
  50. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  51. package/dist/components/Jackpots/useJackpotData.d.ts +14 -0
  52. package/dist/components/Jackpots/useJackpotData.js +93 -0
  53. package/dist/components/Jackpots/useJackpotItemData.d.ts +20 -0
  54. package/dist/components/Jackpots/useJackpotItemData.js +87 -0
  55. package/dist/components/KYC/AutoOpen.js +8 -3
  56. package/dist/components/KYC/Header.d.ts +1 -0
  57. package/dist/components/KYC/Header.js +8 -0
  58. package/dist/components/KYC/Step1.d.ts +1 -0
  59. package/dist/components/KYC/Step1.js +13 -0
  60. package/dist/components/KYC/Step2.d.ts +1 -0
  61. package/dist/components/KYC/Step2.js +13 -0
  62. package/dist/components/KYC/Step3.d.ts +1 -0
  63. package/dist/components/KYC/Step3.js +13 -0
  64. package/dist/components/KYC/Step4.d.ts +1 -0
  65. package/dist/components/KYC/Step4.js +7 -0
  66. package/dist/components/KYC/utils.js +18 -18
  67. package/dist/components/Messages/Message.js +2 -3
  68. package/dist/components/Messages/MessageItem.d.ts +4 -0
  69. package/dist/components/Messages/MessageItem.js +34 -0
  70. package/dist/components/Messages/MessagePopup.js +2 -3
  71. package/dist/components/News/News.js +1 -1
  72. package/dist/components/PortalProvider/FeatureFlag.js +1 -1
  73. package/dist/components/Promo/Promo.client.js +1 -1
  74. package/dist/components/Promo/PromoContent.d.ts +2 -0
  75. package/dist/components/Promo/PromoContent.js +9 -0
  76. package/dist/components/Promos/PromoCarousel.d.ts +2 -0
  77. package/dist/components/Promos/PromoCarousel.js +41 -0
  78. package/dist/components/Promos/PromoGrid.d.ts +2 -0
  79. package/dist/components/Promos/PromoGrid.js +12 -0
  80. package/dist/components/Promos/PromoItem.d.ts +7 -0
  81. package/dist/components/Promos/PromoItem.js +10 -0
  82. package/dist/components/Search/Search.lazy.js +1 -1
  83. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +7 -3
  84. package/dist/components/SignUp/SignUpForm.js +4 -0
  85. package/dist/components/SignUp/SignUpKYC/utils.js +18 -18
  86. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +2 -0
  87. package/dist/components/TournamentCounter/TournamentCounter.client.js +50 -0
  88. package/dist/components/TournamentCounter/TournamentCounter.d.ts +8 -0
  89. package/dist/components/TournamentCounter/TournamentCounter.js +21 -0
  90. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +8 -0
  91. package/dist/components/TournamentCounter/TournamentCounterItem.js +106 -0
  92. package/dist/components/TournamentCounter/index.d.ts +1 -0
  93. package/dist/components/TournamentCounter/index.js +1 -0
  94. package/dist/components/Tournaments/TournamentDesktop.d.ts +1 -0
  95. package/dist/components/Tournaments/TournamentDesktop.js +57 -0
  96. package/dist/components/Tournaments/TournamentGameProviders.d.ts +5 -0
  97. package/dist/components/Tournaments/TournamentGameProviders.js +38 -0
  98. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +7 -0
  99. package/dist/components/Tournaments/TournamentItemDesktop.js +56 -0
  100. package/dist/components/Tournaments/TournamentItemMobile.d.ts +7 -0
  101. package/dist/components/Tournaments/TournamentItemMobile.js +54 -0
  102. package/dist/components/Tournaments/TournamentMobile.d.ts +1 -0
  103. package/dist/components/Tournaments/TournamentMobile.js +55 -0
  104. package/dist/components/Tournaments/TournamentRules.d.ts +5 -0
  105. package/dist/components/Tournaments/TournamentRules.js +11 -0
  106. package/dist/components/Tournaments/Tournaments.client.d.ts +2 -0
  107. package/dist/components/Tournaments/Tournaments.client.js +20 -0
  108. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  109. package/dist/components/Tournaments/TournamentsContext.d.ts +4 -0
  110. package/dist/components/Tournaments/TournamentsContext.js +3 -0
  111. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  112. package/dist/components/Tournaments/useTournamentData.d.ts +10 -0
  113. package/dist/components/Tournaments/useTournamentData.js +72 -0
  114. package/dist/components/Tournaments/useTournamentItemData.d.ts +16 -0
  115. package/dist/components/Tournaments/useTournamentItemData.js +64 -0
  116. package/dist/components/index.d.ts +33 -0
  117. package/dist/components/index.js +33 -0
  118. package/dist/constants/EnvVar.d.ts +1 -1
  119. package/dist/constants/endpoints.d.ts +10 -0
  120. package/dist/constants/endpoints.js +41 -0
  121. package/dist/constants/envVars.d.ts +5 -0
  122. package/dist/constants/envVars.js +28 -0
  123. package/dist/constants/gameProviders.d.ts +76 -0
  124. package/dist/constants/gameProviders.js +361 -0
  125. package/dist/constants/gameTypes.d.ts +3 -0
  126. package/dist/constants/gameTypes.js +64 -0
  127. package/dist/constants/headerKeys.d.ts +2 -0
  128. package/dist/constants/headerKeys.js +2 -0
  129. package/dist/constants/secretQuestions.d.ts +3 -0
  130. package/dist/constants/secretQuestions.js +24 -0
  131. package/dist/constants/storageKeys.d.ts +2 -0
  132. package/dist/constants/storageKeys.js +2 -0
  133. package/dist/handlers/index.d.ts +2 -2
  134. package/dist/icons/index.d.ts +65 -0
  135. package/dist/icons/index.js +65 -0
  136. package/dist/images/hacksaw-gaming.png +0 -0
  137. package/dist/server/services/index.d.ts +4 -0
  138. package/dist/server/services/index.js +4 -0
  139. package/dist/server/utils/index.d.ts +29 -0
  140. package/dist/server/utils/index.js +29 -0
  141. package/dist/services/queries.js +2570 -2570
  142. package/dist/styles/theme.css +695 -695
  143. package/dist/ui/Carousel/Carousel.d.ts +72 -72
  144. package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
  145. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  146. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  147. package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
  148. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  149. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  150. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  151. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  152. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  153. package/dist/ui/Menu/Menu.d.ts +198 -198
  154. package/dist/ui/Menu/menu.recipe.d.ts +11 -11
  155. package/dist/ui/Presence.d.ts +2 -0
  156. package/dist/ui/Presence.js +7 -0
  157. package/dist/ui/Progress/Progress.d.ts +27 -27
  158. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  159. package/dist/ui/Prose.d.ts +2 -0
  160. package/dist/ui/Prose.js +5 -0
  161. package/dist/ui/Select/Select.d.ts +45 -45
  162. package/dist/ui/Select/select.recipe.d.ts +3 -3
  163. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  164. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  165. package/dist/ui/index.d.ts +26 -0
  166. package/dist/ui/index.js +26 -0
  167. package/dist/utils/createErrorFromCode.d.ts +2 -0
  168. package/dist/utils/createErrorFromCode.js +11 -0
  169. package/dist/utils/index.d.ts +17 -0
  170. package/dist/utils/index.js +17 -0
  171. package/dist/utils/isMobile.d.ts +5 -0
  172. package/dist/utils/isMobile.js +9 -0
  173. package/dist/utils/resizeImageSize.d.ts +0 -1
  174. package/dist/utils/resizeImageSize.js +0 -5
  175. package/package.json +163 -163
  176. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +0 -1
  177. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +0 -198
  178. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +0 -1
  179. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +0 -251
  180. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +0 -10
  181. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +0 -41
  182. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +0 -1
  183. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +0 -429
  184. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +0 -13
  185. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +0 -26
  186. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +0 -7
  187. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +0 -2
  188. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +0 -11
  189. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +0 -20
  190. package/dist/handlers/postTransformIdFrontImage.d.ts +0 -3
  191. package/dist/handlers/postTransformIdFrontImage.js +0 -67
  192. package/dist/handlers/postTransformSelfieImage.d.ts +0 -3
  193. package/dist/handlers/postTransformSelfieImage.js +0 -71
@@ -10,7 +10,7 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
10
10
  trigger: string;
11
11
  };
12
12
  };
13
- }, Record<"list" | "root" | "content" | "trigger" | "indicator", string | string[]>, undefined, {
13
+ }, Record<"content" | "trigger" | "list" | "root" | "indicator", 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<"list" | "root" | "content" | "trigger" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
25
+ }, Record<"content" | "trigger" | "list" | "root" | "indicator", 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<"list" | "root" | "content" | "trigger" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
37
+ }, Record<"content" | "trigger" | "list" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -0,0 +1,26 @@
1
+ export * from './AlertDialog';
2
+ export * from './Avatar';
3
+ export * from './Badge';
4
+ export * from './Button';
5
+ export * from './Checkbox';
6
+ export * from './Clipboard';
7
+ export * from './Collapsible';
8
+ export * from './Combobox';
9
+ export * from './DatePicker';
10
+ export * from './Dialog';
11
+ export * from './Drawer';
12
+ export * from './Field';
13
+ export * from './IconButton';
14
+ export * from './Menu';
15
+ export * from './NumberInput';
16
+ export * from './PasswordInput';
17
+ export * from './PinInput';
18
+ export * from './Popover';
19
+ export * from './Presence';
20
+ export * from './Progress';
21
+ export * from './Prose';
22
+ export * from './SegmentGroup';
23
+ export * from './Select';
24
+ export * from './Table';
25
+ export * from './Tabs';
26
+ export * from './Tooltip';
@@ -0,0 +1,26 @@
1
+ export * from './AlertDialog/index.js';
2
+ export * from './Avatar/index.js';
3
+ export * from './Badge/index.js';
4
+ export * from './Button/index.js';
5
+ export * from './Checkbox/index.js';
6
+ export * from './Clipboard/index.js';
7
+ export * from './Collapsible/index.js';
8
+ export * from './Combobox/index.js';
9
+ export * from './DatePicker/index.js';
10
+ export * from './Dialog/index.js';
11
+ export * from './Drawer/index.js';
12
+ export * from './Field/index.js';
13
+ export * from './IconButton/index.js';
14
+ export * from './Menu/index.js';
15
+ export * from './NumberInput/index.js';
16
+ export * from './PasswordInput/index.js';
17
+ export * from './PinInput/index.js';
18
+ export * from './Popover/index.js';
19
+ export * from './Presence.js';
20
+ export * from './Progress/index.js';
21
+ export * from './Prose.js';
22
+ export * from './SegmentGroup/index.js';
23
+ export * from './Select/index.js';
24
+ export * from './Table/index.js';
25
+ export * from './Tabs/index.js';
26
+ export * from './Tooltip/index.js';
@@ -0,0 +1,2 @@
1
+ export type KnownErrorName = '' | (string & {});
2
+ export declare function createErrorFromCode(name: KnownErrorName | (string & {}), message?: string): Error;
@@ -0,0 +1,11 @@
1
+ // ✏️ TODO
2
+ const ERROR_CODES_MAP = {
3
+ '': '',
4
+ };
5
+ export function createErrorFromCode(name, message) {
6
+ const error = new Error();
7
+ error.name = name;
8
+ error.message = ERROR_CODES_MAP[name] ?? message ?? 'Something went wrong';
9
+ Error.captureStackTrace?.(error, createErrorFromCode);
10
+ return error;
11
+ }
@@ -0,0 +1,17 @@
1
+ export * from './anatomyToRecipeSlots';
2
+ export * from './callIfFn';
3
+ export * from './capitalize';
4
+ export * from './createPoll';
5
+ export * from './createSplitProps';
6
+ export * from './dataAttr';
7
+ export * from './formatNumber';
8
+ export * from './getGameImageUrl';
9
+ export * from './getGameProviderData';
10
+ export * from './getGameTypeData';
11
+ export * from './getLocaleInfo';
12
+ export * from './getPercentage';
13
+ export * from './getQueryClient';
14
+ export * from './isMobile';
15
+ export * from './mask';
16
+ export * from './parseDecimal';
17
+ export * from './queryKeys';
@@ -0,0 +1,17 @@
1
+ export * from './anatomyToRecipeSlots.js';
2
+ export * from './callIfFn.js';
3
+ export * from './capitalize.js';
4
+ export * from './createPoll.js';
5
+ export * from './createSplitProps.js';
6
+ export * from './dataAttr.js';
7
+ export * from './formatNumber.js';
8
+ export * from './getGameImageUrl.js';
9
+ export * from './getGameProviderData.js';
10
+ export * from './getGameTypeData.js';
11
+ export * from './getLocaleInfo.js';
12
+ export * from './getPercentage.js';
13
+ export * from './getQueryClient.js';
14
+ export * from './isMobile.js';
15
+ export * from './mask.js';
16
+ export * from './parseDecimal.js';
17
+ export * from './queryKeys.js';
@@ -0,0 +1,5 @@
1
+ import { type IsMobileOptions } from 'is-mobile';
2
+ interface OnMobileOptions extends IsMobileOptions {
3
+ }
4
+ export declare const onMobileDevice: (opts?: OnMobileOptions) => boolean;
5
+ export {};
@@ -0,0 +1,9 @@
1
+ import { isMobile } from 'is-mobile';
2
+ import { cache } from 'react';
3
+ export const onMobileDevice = cache((opts) => {
4
+ return isMobile({
5
+ tablet: true,
6
+ featureDetect: typeof window !== 'undefined',
7
+ ...opts,
8
+ });
9
+ });
@@ -1,2 +1 @@
1
1
  export declare const resizeFile: (file: File) => Promise<unknown>;
2
- export declare const resizeFileBase64: (file: File) => Promise<string>;
@@ -4,8 +4,3 @@ 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,163 +1,163 @@
1
- {
2
- "name": "@opexa/portal-components",
3
- "version": "0.0.276",
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/index.d.ts",
19
- "default": "./dist/handlers/index.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.16.0",
81
- "@date-fns/tz": "^1.2.0",
82
- "@mediapipe/tasks-vision": "0.10.22-rc.20250304",
83
- "@next/third-parties": "^15.3.4",
84
- "@tailwindcss/typography": "^0.5.16",
85
- "date-fns": "^4.1.0",
86
- "embla-carousel-autoplay": "^8.6.0",
87
- "embla-carousel-react": "^8.6.0",
88
- "is-mobile": "^5.0.0",
89
- "lodash-es": "^4.17.21",
90
- "tailwind-merge": "^3.3.1",
91
- "tailwind-variants": "^1.0.0",
92
- "tailwind-zag": "^1.0.2",
93
- "tiny-invariant": "^1.3.3",
94
- "type-fest": "^4.41.0",
95
- "usehooks-ts": "^3.1.1",
96
- "zustand": "^5.0.6"
97
- },
98
- "devDependencies": {
99
- "@eslint/eslintrc": "3",
100
- "@hookform/resolvers": "5.1.1",
101
- "@opexa/object-id": "0.1.6",
102
- "@tailwindcss/postcss": "4",
103
- "@tanstack/react-query": "5.81.5",
104
- "@tanstack/react-query-devtools": "5.81.5",
105
- "@total-typescript/ts-reset": "0.6.1",
106
- "@types/lodash-es": "4.17.12",
107
- "@types/node": "24",
108
- "@types/react": "19",
109
- "@types/react-dom": "19",
110
- "copy-files-from-to": "3.12.1",
111
- "eslint": "9",
112
- "eslint-config-next": "15.3.4",
113
- "next": "15.4.0-canary.61",
114
- "react": "19.1.0",
115
- "react-dom": "19.1.0",
116
- "react-hook-form": "7.59.0",
117
- "release-it": "19.0.3",
118
- "tailwindcss": "4.1.11",
119
- "tsc-alias": "1.8.16",
120
- "typescript": "5",
121
- "zod": "3.25.71"
122
- },
123
- "peerDependencies": {
124
- "@hookform/resolvers": "^4.0.0 || ^5.0.0",
125
- "@opexa/object-id": "^0.1.0",
126
- "@tanstack/react-query": "^5.0.0",
127
- "next": "^15.4.0-canary.1",
128
- "react": "^19.0.0",
129
- "react-dom": "^19.0.0",
130
- "react-hook-form": "^7.0.0",
131
- "tailwindcss": "^4.0.0",
132
- "zod": "^3.0.0"
133
- },
134
- "release-it": {
135
- "git": {
136
- "commitMessage": "chore: release ${npm.name} v${version}",
137
- "tagName": "${npm.name}@${version}"
138
- },
139
- "github": {
140
- "release": false
141
- },
142
- "hooks": {
143
- "before:bump": [
144
- "pnpm lint"
145
- ],
146
- "after:bump": [
147
- "pnpm build"
148
- ]
149
- }
150
- },
151
- "copyFiles": [
152
- {
153
- "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
154
- "to": "dist/",
155
- "toFlat": false
156
- }
157
- ],
158
- "copyFilesSettings": {
159
- "whenFileExists": "overwrite",
160
- "removeSourceMappingURL": true,
161
- "ignoreDotFilesAndFolders": false
162
- }
163
- }
1
+ {
2
+ "name": "@opexa/portal-components",
3
+ "version": "0.0.277",
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/index.d.ts",
19
+ "default": "./dist/handlers/index.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.16.0",
81
+ "@date-fns/tz": "^1.2.0",
82
+ "@mediapipe/tasks-vision": "0.10.22-rc.20250304",
83
+ "@next/third-parties": "^15.3.4",
84
+ "@tailwindcss/typography": "^0.5.16",
85
+ "date-fns": "^4.1.0",
86
+ "embla-carousel-autoplay": "^8.6.0",
87
+ "embla-carousel-react": "^8.6.0",
88
+ "is-mobile": "^5.0.0",
89
+ "lodash-es": "^4.17.21",
90
+ "tailwind-merge": "^3.3.1",
91
+ "tailwind-variants": "^1.0.0",
92
+ "tailwind-zag": "^1.0.2",
93
+ "tiny-invariant": "^1.3.3",
94
+ "type-fest": "^4.41.0",
95
+ "usehooks-ts": "^3.1.1",
96
+ "zustand": "^5.0.6"
97
+ },
98
+ "devDependencies": {
99
+ "@eslint/eslintrc": "3",
100
+ "@hookform/resolvers": "5.1.1",
101
+ "@opexa/object-id": "0.1.6",
102
+ "@tailwindcss/postcss": "4",
103
+ "@tanstack/react-query": "5.81.5",
104
+ "@tanstack/react-query-devtools": "5.81.5",
105
+ "@total-typescript/ts-reset": "0.6.1",
106
+ "@types/lodash-es": "4.17.12",
107
+ "@types/node": "24",
108
+ "@types/react": "19",
109
+ "@types/react-dom": "19",
110
+ "copy-files-from-to": "3.12.1",
111
+ "eslint": "9",
112
+ "eslint-config-next": "15.3.4",
113
+ "next": "15.4.0-canary.61",
114
+ "react": "19.1.0",
115
+ "react-dom": "19.1.0",
116
+ "react-hook-form": "7.59.0",
117
+ "release-it": "19.0.3",
118
+ "tailwindcss": "4.1.11",
119
+ "tsc-alias": "1.8.16",
120
+ "typescript": "5",
121
+ "zod": "3.25.71"
122
+ },
123
+ "peerDependencies": {
124
+ "@hookform/resolvers": "^4.0.0 || ^5.0.0",
125
+ "@opexa/object-id": "^0.1.0",
126
+ "@tanstack/react-query": "^5.0.0",
127
+ "next": "^15.4.0-canary.1",
128
+ "react": "^19.0.0",
129
+ "react-dom": "^19.0.0",
130
+ "react-hook-form": "^7.0.0",
131
+ "tailwindcss": "^4.0.0",
132
+ "zod": "^3.0.0"
133
+ },
134
+ "release-it": {
135
+ "git": {
136
+ "commitMessage": "chore: release ${npm.name} v${version}",
137
+ "tagName": "${npm.name}@${version}"
138
+ },
139
+ "github": {
140
+ "release": false
141
+ },
142
+ "hooks": {
143
+ "before:bump": [
144
+ "pnpm lint"
145
+ ],
146
+ "after:bump": [
147
+ "pnpm build"
148
+ ]
149
+ }
150
+ },
151
+ "copyFiles": [
152
+ {
153
+ "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
154
+ "to": "dist/",
155
+ "toFlat": false
156
+ }
157
+ ],
158
+ "copyFilesSettings": {
159
+ "whenFileExists": "overwrite",
160
+ "removeSourceMappingURL": true,
161
+ "ignoreDotFilesAndFolders": false
162
+ }
163
+ }
@@ -1 +0,0 @@
1
- export declare function CaptureIdDocument(): import("react/jsx-runtime").JSX.Element;