@opexa/portal-components 0.0.70 → 0.0.71

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 (132) hide show
  1. package/dist/client/hooks/useGamesQuery.d.ts +2 -2
  2. package/dist/client/hooks/useGamesQuery.js +2 -2
  3. package/dist/components/BetRecords/BetRecords.js +10 -15
  4. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +2 -0
  5. package/dist/components/CashbackBonus/CashbackBonus.client.js +9 -0
  6. package/dist/components/CashbackBonus/CashbackBonus.d.ts +10 -0
  7. package/dist/components/CashbackBonus/CashbackBonus.js +5 -0
  8. package/dist/components/CashbackBonus/index.d.ts +1 -0
  9. package/dist/components/CashbackBonus/index.js +1 -0
  10. package/dist/components/GameProviders/GameProviders.d.ts +14 -2
  11. package/dist/components/GameProviders/GameProviders.js +12 -2
  12. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +184 -184
  13. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +1 -9
  14. package/dist/components/Jackpots/JackpotItemDesktop.js +5 -3
  15. package/dist/components/Jackpots/JackpotItemMobile.d.ts +1 -9
  16. package/dist/components/Jackpots/JackpotItemMobile.js +5 -3
  17. package/dist/components/Jackpots/JackpotRules.d.ts +0 -1
  18. package/dist/components/Jackpots/JackpotRules.js +3 -1
  19. package/dist/components/Jackpots/Jackpots.client.js +2 -1
  20. package/dist/components/Jackpots/Jackpots.d.ts +3 -5
  21. package/dist/components/Jackpots/JackpotsContext.d.ts +4 -0
  22. package/dist/components/Jackpots/JackpotsContext.js +3 -0
  23. package/dist/components/Jackpots/useJackpotItemData.d.ts +2 -8
  24. package/dist/components/Jackpots/useJackpotItemData.js +7 -1
  25. package/dist/components/Search/Search.d.ts +15 -0
  26. package/dist/components/Search/Search.js +32 -5
  27. package/dist/components/TopWins/TopWins.client.js +3 -3
  28. package/dist/components/Tournaments/TournamentDesktop.d.ts +1 -0
  29. package/dist/components/Tournaments/TournamentDesktop.js +57 -0
  30. package/dist/components/Tournaments/TournamentMobile.d.ts +1 -0
  31. package/dist/components/Tournaments/TournamentMobile.js +55 -0
  32. package/dist/components/Tournaments/TournamentRules.d.ts +0 -1
  33. package/dist/components/Tournaments/TournamentRules.js +3 -1
  34. package/dist/components/Tournaments/Tournaments.client.js +4 -3
  35. package/dist/components/Tournaments/Tournaments.d.ts +2 -4
  36. package/dist/components/Tournaments/TournamentsContext.d.ts +4 -0
  37. package/dist/components/Tournaments/TournamentsContext.js +3 -0
  38. package/dist/components/Tournaments/useTournamentData.d.ts +10 -0
  39. package/dist/components/Tournaments/useTournamentData.js +72 -0
  40. package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -0
  41. package/dist/components/TransactionRecords/TableFilters.d.ts +1 -7
  42. package/dist/components/TransactionRecords/TableFilters.js +1 -53
  43. package/dist/components/TransactionRecords/TransactionRecords.d.ts +0 -3
  44. package/dist/components/TransactionRecords/TransactionRecords.js +0 -1
  45. package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -0
  46. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -0
  47. package/dist/constants/envVars.d.ts +5 -0
  48. package/dist/constants/envVars.js +28 -0
  49. package/dist/constants/gameProviders.d.ts +4 -0
  50. package/dist/constants/gameProviders.js +311 -0
  51. package/dist/constants/gameTypes.d.ts +4 -0
  52. package/dist/constants/gameTypes.js +64 -0
  53. package/dist/constants/headerKeys.d.ts +1 -0
  54. package/dist/constants/headerKeys.js +1 -0
  55. package/dist/constants/index.d.ts +6 -12
  56. package/dist/constants/index.js +6 -88
  57. package/dist/constants/secretQuestions.d.ts +3 -0
  58. package/dist/constants/secretQuestions.js +24 -0
  59. package/dist/constants/storageKeys.d.ts +2 -0
  60. package/dist/constants/storageKeys.js +2 -0
  61. package/dist/images/game-providers/ALIZE.png +0 -0
  62. package/dist/images/game-providers/BGAMING.png +0 -0
  63. package/dist/images/game-providers/BOOOONGO.png +0 -0
  64. package/dist/images/game-providers/BTI.png +0 -0
  65. package/dist/images/game-providers/CQ9.png +0 -0
  66. package/dist/images/game-providers/DG.png +0 -0
  67. package/dist/images/game-providers/E2E.png +0 -0
  68. package/dist/images/game-providers/EVOLUTION_NETENT.png +0 -0
  69. package/dist/images/game-providers/EVOPLAY.png +0 -0
  70. package/dist/images/game-providers/EZUGI.png +0 -0
  71. package/dist/images/game-providers/FACHAI.png +0 -0
  72. package/dist/images/game-providers/HABANERO.png +0 -0
  73. package/dist/images/game-providers/HACKSAW.png +0 -0
  74. package/dist/images/game-providers/JDB.png +0 -0
  75. package/dist/images/game-providers/JDB_GTF.png +0 -0
  76. package/dist/images/game-providers/JDB_SPRIBE.png +0 -0
  77. package/dist/images/game-providers/JILI.png +0 -0
  78. package/dist/images/game-providers/JOKER.png +0 -0
  79. package/dist/images/game-providers/KINGMAKER.png +0 -0
  80. package/dist/images/game-providers/KINGMIDAS.png +0 -0
  81. package/dist/images/game-providers/MICROGAMING.png +0 -0
  82. package/dist/images/game-providers/ONEAPI.png +0 -0
  83. package/dist/images/game-providers/PGSOFT.png +0 -0
  84. package/dist/images/game-providers/PLAYTECH.png +0 -0
  85. package/dist/images/game-providers/PRAGMATIC_PLAY.png +0 -0
  86. package/dist/images/game-providers/RELAX_GAMING.png +0 -0
  87. package/dist/images/game-providers/SABA.png +0 -0
  88. package/dist/images/game-providers/SPINIX.png +0 -0
  89. package/dist/images/game-providers/SPRIBE.png +0 -0
  90. package/dist/images/game-providers/YELLOWBAT.png +0 -0
  91. package/dist/server/utils/prefetchGamesQuery.d.ts +2 -2
  92. package/dist/server/utils/prefetchGamesQuery.js +2 -2
  93. package/dist/styles/theme.css +696 -696
  94. package/dist/types/index.d.ts +6 -1
  95. package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
  96. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
  97. package/dist/ui/Badge/Badge.d.ts +12 -12
  98. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  99. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  100. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  101. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  102. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  103. package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
  104. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  105. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  106. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  107. package/dist/ui/DatePicker/DatePicker.d.ts +336 -336
  108. package/dist/ui/DatePicker/datePicker.recipe.d.ts +14 -14
  109. package/dist/ui/Dialog/Dialog.d.ts +88 -88
  110. package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
  111. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  112. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  113. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  114. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  115. package/dist/ui/Popover/Popover.d.ts +88 -88
  116. package/dist/ui/Popover/popover.recipe.d.ts +8 -8
  117. package/dist/ui/Progress/Progress.d.ts +27 -27
  118. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  119. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  120. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  121. package/dist/ui/Select/Select.d.ts +45 -45
  122. package/dist/ui/Select/select.recipe.d.ts +3 -3
  123. package/dist/ui/Table/Table.d.ts +21 -21
  124. package/dist/ui/Table/table.recipe.d.ts +3 -3
  125. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  126. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  127. package/dist/utils/callIfFn.d.ts +1 -0
  128. package/dist/utils/callIfFn.js +6 -0
  129. package/dist/utils/index.d.ts +1 -0
  130. package/dist/utils/index.js +1 -0
  131. package/dist/utils/queryKeys.d.ts +2 -2
  132. package/package.json +160 -157
package/package.json CHANGED
@@ -1,157 +1,160 @@
1
- {
2
- "name": "@opexa/portal-components",
3
- "version": "0.0.70",
4
- "exports": {
5
- ".": {
6
- "types": "./dist/components/index.d.ts",
7
- "default": "./dist/components/index.js"
8
- },
9
- "./ui": {
10
- "types": "./dist/ui/index.d.ts",
11
- "default": "./dist/ui/index.js"
12
- },
13
- "./utils": {
14
- "types": "./dist/utils/index.d.ts",
15
- "import": "./dist/utils/index.js"
16
- },
17
- "./types": {
18
- "types": "./dist/types/index.d.ts",
19
- "import": "./dist/types/index.js"
20
- },
21
- "./handlers": {
22
- "types": "./dist/handlers.d.ts",
23
- "default": "./dist/handlers.js"
24
- },
25
- "./middleware": {
26
- "types": "./dist/middleware.d.ts",
27
- "default": "./dist/middleware.js"
28
- },
29
- "./client-utils": {
30
- "types": "./dist/client/utils/index.d.ts",
31
- "import": "./dist/client/utils/index.mjs",
32
- "require": "./dist/client/utils/index.js"
33
- },
34
- "./client-hooks": {
35
- "types": "./dist/client/hooks/index.d.ts",
36
- "default": "./dist/client/hooks/index.js"
37
- },
38
- "./client-services": {
39
- "types": "./dist/client/services/index.d.ts",
40
- "default": "./dist/client/services/index.js"
41
- },
42
- "./server-utils": {
43
- "types": "./dist/server/utils/index.d.ts",
44
- "default": "./dist/server/utils/index.js"
45
- },
46
- "./server-services": {
47
- "types": "./dist/server/services/index.d.ts",
48
- "default": "./dist/server/services/index.js"
49
- },
50
- "./next.config": {
51
- "types": "./dist/next.config.d.ts",
52
- "default": "./dist/next.config.js"
53
- },
54
- "./theme.css": "./dist/styles/theme.css",
55
- "./package.json": "./package.json"
56
- },
57
- "files": [
58
- "dist",
59
- "!dist/tsconfig.tsbuildinfo",
60
- "!dist/tsconfig.build.tsbuildinfo"
61
- ],
62
- "publishConfig": {
63
- "access": "public"
64
- },
65
- "scripts": {
66
- "dev": "next dev --port 4000 --turbopack",
67
- "build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
68
- "build:app": "next build",
69
- "start": "next start",
70
- "lint": "next lint",
71
- "release": "release-it"
72
- },
73
- "dependencies": {
74
- "@ark-ui/react": "5.13.0",
75
- "@date-fns/tz": "1.2.0",
76
- "@next/third-parties": "15.3.3",
77
- "@tailwindcss/typography": "0.5.16",
78
- "date-fns": "4.1.0",
79
- "embla-carousel-autoplay": "8.6.0",
80
- "embla-carousel-react": "8.6.0",
81
- "is-mobile": "5.0.0",
82
- "lodash-es": "4.17.21",
83
- "next-themes": "0.4.6",
84
- "tailwind-merge": "3.3.0",
85
- "tailwind-variants": "1.0.0",
86
- "tailwindcss-plugin-zag": "0.1.0",
87
- "tiny-invariant": "1.3.3",
88
- "type-fest": "4.41.0",
89
- "usehooks-ts": "3.1.1",
90
- "zustand": "5.0.5"
91
- },
92
- "devDependencies": {
93
- "@eslint/eslintrc": "3",
94
- "@hookform/resolvers": "5.0.1",
95
- "@opexa/portal-sdk-core": "0.0.35",
96
- "@tailwindcss/postcss": "4",
97
- "@tanstack/react-query": "5.80.0",
98
- "@tanstack/react-query-devtools": "5.80.0",
99
- "@total-typescript/ts-reset": "0.6.1",
100
- "@types/lodash-es": "4.17.12",
101
- "@types/node": "22",
102
- "@types/react": "19",
103
- "@types/react-dom": "19",
104
- "copy-files-from-to": "^3.12.1",
105
- "eslint": "9",
106
- "eslint-config-next": "15.3.3",
107
- "next": "15.4.0-canary.61",
108
- "react": "19.1.0",
109
- "react-dom": "19.1.0",
110
- "react-hook-form": "7.57.0",
111
- "release-it": "19.0.3",
112
- "tailwindcss": "4.1.8",
113
- "tsc-alias": "^1.8.16",
114
- "typescript": "5",
115
- "zod": "3.25.49"
116
- },
117
- "peerDependencies": {
118
- "@hookform/resolvers": "^4.0.0 || ^5.0.0",
119
- "@opexa/portal-sdk-core": "^0.0.35",
120
- "@tanstack/react-query": "^5.0.0",
121
- "next": "^15.4.0-canary.1",
122
- "react": "^19.0.0",
123
- "react-dom": "^19.0.0",
124
- "react-hook-form": "^7.0.0",
125
- "tailwindcss": "^4.0.0",
126
- "zod": "^3.0.0"
127
- },
128
- "release-it": {
129
- "git": {
130
- "commitMessage": "chore: release ${npm.name} v${version}",
131
- "tagName": "${npm.name}@${version}"
132
- },
133
- "github": {
134
- "release": false
135
- },
136
- "hooks": {
137
- "before:bump": [
138
- "pnpm lint"
139
- ],
140
- "after:bump": [
141
- "pnpm build"
142
- ]
143
- }
144
- },
145
- "copyFiles": [
146
- {
147
- "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
148
- "to": "dist/",
149
- "toFlat": false
150
- }
151
- ],
152
- "copyFilesSettings": {
153
- "whenFileExists": "overwrite",
154
- "removeSourceMappingURL": true,
155
- "ignoreDotFilesAndFolders": false
156
- }
157
- }
1
+ {
2
+ "name": "@opexa/portal-components",
3
+ "version": "0.0.71",
4
+ "exports": {
5
+ ".": {
6
+ "types": "./dist/components/index.d.ts",
7
+ "default": "./dist/components/index.js"
8
+ },
9
+ "./ui": {
10
+ "types": "./dist/ui/index.d.ts",
11
+ "default": "./dist/ui/index.js"
12
+ },
13
+ "./utils": {
14
+ "types": "./dist/utils/index.d.ts",
15
+ "import": "./dist/utils/index.js"
16
+ },
17
+ "./types": {
18
+ "types": "./dist/types/index.d.ts",
19
+ "import": "./dist/types/index.js"
20
+ },
21
+ "./handlers": {
22
+ "types": "./dist/handlers.d.ts",
23
+ "default": "./dist/handlers.js"
24
+ },
25
+ "./middleware": {
26
+ "types": "./dist/middleware.d.ts",
27
+ "default": "./dist/middleware.js"
28
+ },
29
+ "./constants": {
30
+ "types": "./dist/constants/index.d.ts",
31
+ "default": "./dist/constants/index.js"
32
+ },
33
+ "./client-utils": {
34
+ "types": "./dist/client/utils/index.d.ts",
35
+ "default": "./dist/client/utils/index.js"
36
+ },
37
+ "./client-hooks": {
38
+ "types": "./dist/client/hooks/index.d.ts",
39
+ "default": "./dist/client/hooks/index.js"
40
+ },
41
+ "./client-services": {
42
+ "types": "./dist/client/services/index.d.ts",
43
+ "default": "./dist/client/services/index.js"
44
+ },
45
+ "./server-utils": {
46
+ "types": "./dist/server/utils/index.d.ts",
47
+ "default": "./dist/server/utils/index.js"
48
+ },
49
+ "./server-services": {
50
+ "types": "./dist/server/services/index.d.ts",
51
+ "default": "./dist/server/services/index.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
+ "./package.json": "./package.json"
59
+ },
60
+ "files": [
61
+ "dist",
62
+ "!dist/tsconfig.tsbuildinfo",
63
+ "!dist/tsconfig.build.tsbuildinfo"
64
+ ],
65
+ "publishConfig": {
66
+ "access": "public"
67
+ },
68
+ "scripts": {
69
+ "dev": "next dev --port 4000 --turbopack",
70
+ "build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && copy-files-from-to",
71
+ "build:app": "next build",
72
+ "start": "next start",
73
+ "lint": "next lint",
74
+ "release": "release-it"
75
+ },
76
+ "dependencies": {
77
+ "@ark-ui/react": "5.13.0",
78
+ "@date-fns/tz": "1.2.0",
79
+ "@next/third-parties": "15.3.3",
80
+ "@tailwindcss/typography": "0.5.16",
81
+ "date-fns": "4.1.0",
82
+ "embla-carousel-autoplay": "8.6.0",
83
+ "embla-carousel-react": "8.6.0",
84
+ "is-mobile": "5.0.0",
85
+ "lodash-es": "4.17.21",
86
+ "next-themes": "0.4.6",
87
+ "tailwind-merge": "3.3.0",
88
+ "tailwind-variants": "1.0.0",
89
+ "tailwindcss-plugin-zag": "0.1.0",
90
+ "tiny-invariant": "1.3.3",
91
+ "type-fest": "4.41.0",
92
+ "usehooks-ts": "3.1.1",
93
+ "zustand": "5.0.5"
94
+ },
95
+ "devDependencies": {
96
+ "@eslint/eslintrc": "3",
97
+ "@hookform/resolvers": "5.0.1",
98
+ "@opexa/portal-sdk-core": "0.0.35",
99
+ "@tailwindcss/postcss": "4",
100
+ "@tanstack/react-query": "5.80.0",
101
+ "@tanstack/react-query-devtools": "5.80.0",
102
+ "@total-typescript/ts-reset": "0.6.1",
103
+ "@types/lodash-es": "4.17.12",
104
+ "@types/node": "22",
105
+ "@types/react": "19",
106
+ "@types/react-dom": "19",
107
+ "copy-files-from-to": "^3.12.1",
108
+ "eslint": "9",
109
+ "eslint-config-next": "15.3.3",
110
+ "next": "15.4.0-canary.61",
111
+ "react": "19.1.0",
112
+ "react-dom": "19.1.0",
113
+ "react-hook-form": "7.57.0",
114
+ "release-it": "19.0.3",
115
+ "tailwindcss": "4.1.8",
116
+ "tsc-alias": "^1.8.16",
117
+ "typescript": "5",
118
+ "zod": "3.25.49"
119
+ },
120
+ "peerDependencies": {
121
+ "@hookform/resolvers": "^4.0.0 || ^5.0.0",
122
+ "@opexa/portal-sdk-core": "^0.0.35",
123
+ "@tanstack/react-query": "^5.0.0",
124
+ "next": "^15.4.0-canary.1",
125
+ "react": "^19.0.0",
126
+ "react-dom": "^19.0.0",
127
+ "react-hook-form": "^7.0.0",
128
+ "tailwindcss": "^4.0.0",
129
+ "zod": "^3.0.0"
130
+ },
131
+ "release-it": {
132
+ "git": {
133
+ "commitMessage": "chore: release ${npm.name} v${version}",
134
+ "tagName": "${npm.name}@${version}"
135
+ },
136
+ "github": {
137
+ "release": false
138
+ },
139
+ "hooks": {
140
+ "before:bump": [
141
+ "pnpm lint"
142
+ ],
143
+ "after:bump": [
144
+ "pnpm build"
145
+ ]
146
+ }
147
+ },
148
+ "copyFiles": [
149
+ {
150
+ "from": "src/lib/**/*.{png,jpg,jpeg,gif,svg,css,json}",
151
+ "to": "dist/",
152
+ "toFlat": false
153
+ }
154
+ ],
155
+ "copyFilesSettings": {
156
+ "whenFileExists": "overwrite",
157
+ "removeSourceMappingURL": true,
158
+ "ignoreDotFilesAndFolders": false
159
+ }
160
+ }