@opexa/portal-components 0.0.81 → 0.0.83

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 (50) hide show
  1. package/dist/components/GameProviders/GameProvidersCarousel.js +1 -1
  2. package/dist/components/JackpotCounter/JackpotCounter.client.js +10 -1
  3. package/dist/components/JackpotCounter/JackpotCounter.d.ts +10 -1
  4. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +12 -2
  5. package/dist/components/JackpotCounter/JackpotCounterItem.js +10 -4
  6. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +184 -184
  7. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +9 -1
  8. package/dist/components/Jackpots/JackpotItemDesktop.js +3 -5
  9. package/dist/components/Jackpots/JackpotItemMobile.d.ts +9 -1
  10. package/dist/components/Jackpots/JackpotItemMobile.js +3 -5
  11. package/dist/components/Jackpots/useJackpotItemData.d.ts +8 -2
  12. package/dist/components/Jackpots/useJackpotItemData.js +1 -7
  13. package/dist/styles/theme.css +697 -696
  14. package/dist/ui/AlertDialog/AlertDialog.d.ts +121 -121
  15. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +11 -11
  16. package/dist/ui/Badge/Badge.d.ts +12 -12
  17. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  18. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  19. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  20. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  21. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  22. package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
  23. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  24. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  25. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  26. package/dist/ui/DatePicker/DatePicker.d.ts +336 -336
  27. package/dist/ui/DatePicker/datePicker.recipe.d.ts +14 -14
  28. package/dist/ui/Dialog/Dialog.d.ts +121 -121
  29. package/dist/ui/Dialog/dialog.recipe.d.ts +11 -11
  30. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  31. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  32. package/dist/ui/Popover/Popover.d.ts +55 -55
  33. package/dist/ui/Popover/popover.recipe.d.ts +5 -5
  34. package/dist/ui/Progress/Progress.d.ts +27 -27
  35. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  36. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  37. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  38. package/dist/ui/Select/Select.d.ts +45 -45
  39. package/dist/ui/Select/select.recipe.d.ts +3 -3
  40. package/dist/ui/Table/Table.d.ts +21 -21
  41. package/dist/ui/Table/table.recipe.d.ts +3 -3
  42. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  43. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  44. package/package.json +160 -160
  45. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
  46. package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
  47. package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
  48. package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
  49. package/dist/components/CashbackBonus/index.d.ts +0 -1
  50. package/dist/components/CashbackBonus/index.js +0 -1
package/package.json CHANGED
@@ -1,160 +1,160 @@
1
- {
2
- "name": "@opexa/portal-components",
3
- "version": "0.0.81",
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
- }
1
+ {
2
+ "name": "@opexa/portal-components",
3
+ "version": "0.0.83",
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
+ }
@@ -1,2 +0,0 @@
1
- import type { CashbackBonusProps } from './CashbackBonus';
2
- export declare function CashbackBonus__client(props: CashbackBonusProps): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import Image from 'next/image';
4
- import Link from 'next/link';
5
- import { ChevronLeftIcon, ChevronRightIcon, StopWatchIcon } from '../../icons/index.js';
6
- import { Badge, Collapsible, Progress, Prose } from '../../ui/index.js';
7
- export function CashbackBonus__client(props) {
8
- return (_jsxs("div", { className: props.className, children: [_jsxs(Link, { href: props.viewAllUrl ?? '/rewards', className: "text-button-tertiary-fg flex items-center gap-lg text-lg font-semibold", children: [_jsx(ChevronLeftIcon, { className: "size-6" }), "Back to Rewards"] }), _jsx(Image, { src: "https://s3.ap-east-1.amazonaws.com/opexa-assets.opexasystem.com/assets/BSxIXEsa59_zzMAR27-ALLDAYREBATE06-STATIC-WEB-HB-1920x1080.png", alt: "", width: 1024, height: 600, className: "mt-3xl h-auto w-full rounded-xl" }), _jsxs(Badge.Root, { size: "lg", round: false, colorScheme: "brand", className: "mt-xl lg:mt-6", children: [_jsx(Badge.Icon, { children: _jsx(StopWatchIcon, {}) }), _jsx(Badge.Label, { children: "9d:10h:11m" })] }), _jsx("h1", { className: "text-text-primary-900 mt-xl text-2xl font-semibold lg:mt-6 lg:text-3xl", children: "50 PHP First Deposit Bonus" }), _jsx("p", { className: "text-text-primary-brand mt-xl text-base lg:mt-6 lg:text-lg", children: "Complete the wagering before time runs out to convert your bonus balance into real money!" }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl flex items-center justify-between rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsx("p", { children: "Your bonus" }), _jsxs("p", { children: [_jsx("span", { className: "text-text-primary-900", children: "20.00" }), " / 50.00 PHP"] })] }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl flex items-center justify-between rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsx("p", { children: "Required Turnover" }), _jsx("p", { children: "5x" })] }), _jsxs("div", { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("p", { children: "Wagering" }), _jsx("p", { children: "400/1000" })] }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) })] }), _jsxs(Collapsible.Root, { className: "mt-xl lg:mt-6", children: [_jsxs(Collapsible.Trigger, { className: "text-button-tertiary-fg flex w-fit items-center justify-center gap-sm text-sm font-semibold lg:mx-auto", children: ["Game Provider Contribution", _jsx(Collapsible.Indicator, { asChild: true, children: _jsx(ChevronRightIcon, { className: "size-5" }) })] }), _jsxs(Collapsible.Content, { className: "border-border-primary bg-bg-tertiary text-text-secondary-700 mt-xl space-y-1.5 rounded-md border px-3.5 py-xl lg:mt-6", children: [_jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Playson" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "25%" })] }), _jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Betsoft Gaming" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "13%" })] }), _jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Microgaming" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "50%" })] }), _jsxs("div", { className: "flex items-center justify-between gap-md", children: [_jsx("p", { className: "w-[11.25rem] shrink-0", children: "Realtime Gaming" }), _jsx(Progress.Root, { defaultValue: 42, className: "mt-2 grow", children: _jsx(Progress.Track, { children: _jsx(Progress.Range, {}) }) }), _jsx("p", { children: "10%" })] })] })] }), _jsxs(Prose, { className: "mt-xl lg:mt-6", children: [_jsx("h3", { children: "How to get bonus" }), _jsxs("ol", { children: [_jsx("li", { children: "All OFWin members are eligible for this program." }), _jsx("li", { children: "50 PHP of game credit will be automatically credited to the new member account upon completion of first deposit Auctor vel in vitae placerat." }), _jsx("li", { children: "Member must reach a 5x turnover requirement before a withdrawal can be made. Attempting to make a withdrawal before this turnover requirement is completed could cause your bonus to be voided." }), _jsx("li", { children: "Players will have 10 days from the date the bonus is awarded to complete the rollover requirement." }), _jsx("li", { children: "Bets used to meet other bonus rollover requirements will not count toward this promotion." })] }), _jsx("h3", { children: "Terms and Conditions" }), _jsxs("ul", { children: [_jsx("li", { children: "Only one account per player is allowed. No same IP address/bank account name allowed. Players who have multiple or fraudulent accounts will not be qualified for the promotion." }), _jsx("li", { children: "Players that are found to have any duplicate accounts or those who participate in fraudulent activities may have their funds forfeited and their accounts closed." }), _jsx("li", { children: "OFWin reserves the right to amend or cancel this Referral Program at any time. OFWin General Terms and Conditions apply." })] })] })] }));
9
- }
@@ -1,10 +0,0 @@
1
- export interface CashbackBonusProps {
2
- id: string;
3
- className?: string;
4
- /**
5
- * @description URL for the bonuses details page
6
- * @default "/rewards"
7
- */
8
- viewAllUrl?: string;
9
- }
10
- export declare function CashbackBonus(props: CashbackBonusProps): Promise<import("react/jsx-runtime").JSX.Element>;
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { CashbackBonus__client } from './CashbackBonus.client.js';
3
- export async function CashbackBonus(props) {
4
- return _jsx(CashbackBonus__client, { ...props });
5
- }
@@ -1 +0,0 @@
1
- export * from './CashbackBonus';
@@ -1 +0,0 @@
1
- export * from './CashbackBonus.js';