@opexa/portal-components 0.0.50 → 0.0.51
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.
- package/dist/client/hooks/useGlobalStore.d.ts +3 -3
- package/dist/client/hooks/useGlobalStore.js +3 -3
- package/dist/components/Account/AccountTrigger.d.ts +6 -0
- package/dist/components/Account/AccountTrigger.js +13 -0
- package/dist/components/Account/index.d.ts +1 -0
- package/dist/components/Account/index.js +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.js +3 -2
- package/dist/components/GameLaunch/GameLaunchTrigger.js +13 -10
- package/dist/components/Games/Game.js +1 -1
- package/dist/components/GamesSearch/GamesSearch.d.ts +4 -2
- package/dist/components/GamesSearch/GamesSearch.js +28 -21
- package/dist/components/GamesSearch/index.d.ts +0 -1
- package/dist/components/GamesSearch/index.js +0 -1
- package/dist/components/Messages/MessagesTrigger.js +2 -2
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +4 -1
- package/dist/components/Quests/WageringQuest/WageringQuest.js +9 -7
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +1 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +1 -1
- package/dist/components/Search/Search.d.ts +6 -0
- package/dist/components/Search/Search.js +38 -0
- package/dist/components/Search/SearchTrigger.d.ts +5 -0
- package/dist/components/Search/SearchTrigger.js +14 -0
- package/dist/components/Search/index.d.ts +2 -0
- package/dist/components/Search/index.js +2 -0
- package/dist/components/SignIn/SignInTrigger.js +2 -2
- package/dist/components/SignUp/SignUpTrigger.js +2 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/styles/theme.css +24 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/ui/Combobox/Combobox.d.ts +840 -798
- package/dist/ui/Combobox/combobox.recipe.d.ts +54 -51
- package/dist/ui/Combobox/combobox.recipe.js +59 -1
- package/package.json +1 -1
|
@@ -1,58 +1,61 @@
|
|
|
1
1
|
export declare const comboboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
input
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
trigger
|
|
13
|
-
clearTrigger
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
size: {
|
|
3
|
+
sm: {
|
|
4
|
+
control: string;
|
|
5
|
+
input: string;
|
|
6
|
+
trigger: string;
|
|
7
|
+
clearTrigger: string;
|
|
8
|
+
};
|
|
9
|
+
md: {
|
|
10
|
+
control: string;
|
|
11
|
+
input: string;
|
|
12
|
+
trigger: string;
|
|
13
|
+
clearTrigger: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
variant: {
|
|
17
|
+
outline: {
|
|
18
|
+
control: string[];
|
|
18
19
|
};
|
|
19
20
|
};
|
|
20
|
-
} | {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
input
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
trigger
|
|
32
|
-
clearTrigger
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
21
|
+
}, Record<"content" | "list" | "label" | "input" | "root" | "item" | "clearTrigger" | "control" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "trigger", string | string[]>, undefined, {
|
|
22
|
+
size: {
|
|
23
|
+
sm: {
|
|
24
|
+
control: string;
|
|
25
|
+
input: string;
|
|
26
|
+
trigger: string;
|
|
27
|
+
clearTrigger: string;
|
|
28
|
+
};
|
|
29
|
+
md: {
|
|
30
|
+
control: string;
|
|
31
|
+
input: string;
|
|
32
|
+
trigger: string;
|
|
33
|
+
clearTrigger: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
variant: {
|
|
37
|
+
outline: {
|
|
38
|
+
control: string[];
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
}, Record<"content" | "list" | "label" | "input" | "root" | "item" | "clearTrigger" | "control" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "trigger", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
42
|
+
size: {
|
|
43
|
+
sm: {
|
|
44
|
+
control: string;
|
|
45
|
+
input: string;
|
|
46
|
+
trigger: string;
|
|
47
|
+
clearTrigger: string;
|
|
48
|
+
};
|
|
49
|
+
md: {
|
|
50
|
+
control: string;
|
|
51
|
+
input: string;
|
|
52
|
+
trigger: string;
|
|
53
|
+
clearTrigger: string;
|
|
37
54
|
};
|
|
38
55
|
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
content?: import("tailwind-variants").ClassValue;
|
|
43
|
-
input?: import("tailwind-variants").ClassValue;
|
|
44
|
-
label?: import("tailwind-variants").ClassValue;
|
|
45
|
-
root?: import("tailwind-variants").ClassValue;
|
|
46
|
-
control?: import("tailwind-variants").ClassValue;
|
|
47
|
-
list?: import("tailwind-variants").ClassValue;
|
|
48
|
-
item?: import("tailwind-variants").ClassValue;
|
|
49
|
-
positioner?: import("tailwind-variants").ClassValue;
|
|
50
|
-
trigger?: import("tailwind-variants").ClassValue;
|
|
51
|
-
clearTrigger?: import("tailwind-variants").ClassValue;
|
|
52
|
-
itemText?: import("tailwind-variants").ClassValue;
|
|
53
|
-
itemIndicator?: import("tailwind-variants").ClassValue;
|
|
54
|
-
itemGroup?: import("tailwind-variants").ClassValue;
|
|
55
|
-
itemGroupLabel?: import("tailwind-variants").ClassValue;
|
|
56
|
+
variant: {
|
|
57
|
+
outline: {
|
|
58
|
+
control: string[];
|
|
56
59
|
};
|
|
57
60
|
};
|
|
58
|
-
}
|
|
61
|
+
}, Record<"content" | "list" | "label" | "input" | "root" | "item" | "clearTrigger" | "control" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "trigger", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -2,5 +2,63 @@ import { comboboxAnatomy } from '@ark-ui/react';
|
|
|
2
2
|
import { tv } from 'tailwind-variants';
|
|
3
3
|
import { anatomyToRecipeSlots } from '../../utils/index.js';
|
|
4
4
|
export const comboboxRecipe = tv({
|
|
5
|
-
slots: anatomyToRecipeSlots(comboboxAnatomy
|
|
5
|
+
slots: anatomyToRecipeSlots(comboboxAnatomy, {
|
|
6
|
+
label: 'text-gray-600 mb-sm inline-block text-sm font-medium',
|
|
7
|
+
control: 'flex w-full items-center',
|
|
8
|
+
input: 'placeholder:text-text-placeholder grow outline-none',
|
|
9
|
+
trigger: [
|
|
10
|
+
'group',
|
|
11
|
+
'flex',
|
|
12
|
+
'items-center',
|
|
13
|
+
'justify-center',
|
|
14
|
+
'shrink-0',
|
|
15
|
+
'icon:text-text-placeholder',
|
|
16
|
+
'icon:transition-transform',
|
|
17
|
+
'icon:duration-200',
|
|
18
|
+
'icon:ui-group-open:rotate-180',
|
|
19
|
+
'icon:ui-group-closed:rotate-0',
|
|
20
|
+
],
|
|
21
|
+
positioner: 'z-dropdown',
|
|
22
|
+
content: 'border-border-secondary bg-bg-primary ui-placement-top:ui-open:animate-popover-in-top ui-placement-top-end:ui-open:animate-popover-in-top ui-placement-top-start:ui-open:animate-popover-in-top ui-placement-top:ui-closed:animate-popover-out-top ui-placement-top-end:ui-closed:animate-popover-out-top ui-placement-top-start:ui-closed:animate-popover-out-top ui-placement-bottom:ui-open:animate-popover-in-bottom ui-placement-bottom-start:ui-open:animate-popover-in-bottom ui-placement-bottom-end:ui-open:animate-popover-in-bottom ui-placement-bottom:ui-closed:animate-popover-out-bottom ui-placement-bottom-start:ui-closed:animate-popover-out-bottom ui-placement-bottom-end:ui-closed:animate-popover-out-bottom ui-placement-left:ui-open:animate-popover-in-left ui-placement-left-start:ui-open:animate-popover-in-left ui-placement-left-end:ui-open:animate-popover-in-left ui-placement-left:ui-closed:animate-popover-out-left ui-placement-left-start:ui-closed:animate-popover-out-left ui-placement-left-end:ui-closed:animate-popover-out-left ui-placement-right:ui-open:animate-popover-in-right ui-placement-right-start:ui-open:animate-popover-in-right ui-placement-right-end:ui-open:animate-popover-in-right ui-placement-right:ui-closed:animate-popover-out-right ui-placement-right-start:ui-closed:animate-popover-out-right ui-placement-right-end:ui-closed:animate-popover-out-right scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent scrollbar:w-2 scrollbar-thumb:rounded-full z-dropdown max-h-[20rem] overflow-y-auto rounded-md border p-1',
|
|
23
|
+
item: 'ui-highlighted:bg-bg-active flex cursor-pointer items-center gap-md rounded-sm px-2 py-2.5',
|
|
24
|
+
itemText: 'grow font-medium',
|
|
25
|
+
itemIndicator: 'text-green-500 text-text-brand-primary-600 size-4',
|
|
26
|
+
clearTrigger: 'text-text-tertiary-600 font-semibold',
|
|
27
|
+
}),
|
|
28
|
+
variants: {
|
|
29
|
+
size: {
|
|
30
|
+
sm: {
|
|
31
|
+
control: 'h-10',
|
|
32
|
+
input: 'px-3',
|
|
33
|
+
trigger: 'icon:size-5 size-10',
|
|
34
|
+
clearTrigger: 'px-3',
|
|
35
|
+
},
|
|
36
|
+
md: {
|
|
37
|
+
control: 'h-11',
|
|
38
|
+
input: 'px-3.5',
|
|
39
|
+
trigger: 'icon:size-5 size-11',
|
|
40
|
+
clearTrigger: 'px-3.5',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
variant: {
|
|
44
|
+
outline: {
|
|
45
|
+
control: [
|
|
46
|
+
'bg-bg-primary',
|
|
47
|
+
'border-border-primary',
|
|
48
|
+
'focus-within:border-border-brand',
|
|
49
|
+
'ui-open:border-border-brand',
|
|
50
|
+
'ui-open:shadow-brand-xs',
|
|
51
|
+
'focus-within:shadow-brand-xs',
|
|
52
|
+
'rounded-md',
|
|
53
|
+
'border',
|
|
54
|
+
'text-left',
|
|
55
|
+
'shadow-xs',
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
defaultVariants: {
|
|
61
|
+
size: 'md',
|
|
62
|
+
variant: 'outline',
|
|
63
|
+
},
|
|
6
64
|
});
|