@opexa/portal-components 0.0.17 → 0.0.18
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/index.d.ts +3 -0
- package/dist/client/hooks/useGlobalStore.d.ts +11 -1
- package/dist/client/hooks/useGlobalStore.js +1 -1
- package/dist/client/hooks/useGlobalStore.mjs +81 -35
- package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +6 -0
- package/dist/client/hooks/useMarkMessageAsReadMutation.js +1 -0
- package/dist/client/hooks/useMarkMessageAsReadMutation.mjs +39 -0
- package/dist/client/hooks/useMessagesQuery.d.ts +3 -0
- package/dist/client/hooks/useMessagesQuery.js +1 -0
- package/dist/client/hooks/useMessagesQuery.mjs +47 -0
- package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +3 -0
- package/dist/client/hooks/useUnreadMessagesCountQuery.js +1 -0
- package/dist/client/hooks/useUnreadMessagesCountQuery.mjs +38 -0
- package/dist/client-hooks.js +1 -1
- package/dist/client-hooks.mjs +38 -32
- package/dist/components/Account/Account.d.ts +3 -1
- package/dist/components/Account/Account.js +1 -1
- package/dist/components/Account/Account.mjs +163 -96
- package/dist/components/Banner/Banner.js +1 -1
- package/dist/components/Banner/Banner.mjs +6 -6
- package/dist/components/BetRecords/BetRecords.js +1 -1
- package/dist/components/BetRecords/BetRecords.mjs +357 -325
- package/dist/components/Bonus/Bonus.client.d.ts +2 -0
- package/dist/components/Bonus/Bonus.d.ts +10 -0
- package/dist/components/Bonus/index.d.ts +1 -0
- package/dist/components/Bonuses/Bonuses.d.ts +15 -0
- package/dist/components/Bonuses/Bonuses.js +1 -0
- package/dist/components/Bonuses/Bonuses.mjs +125 -0
- package/dist/components/Bonuses/index.d.ts +1 -0
- package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
- package/dist/components/DepositWithdrawal/AmountChoices.mjs +9 -6
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.mjs +11 -8
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +5 -2
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +5 -2
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +16 -13
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +5 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +9 -6
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +18 -15
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +9 -6
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +9 -6
- package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +46 -46
- package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.mjs +26 -23
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +86 -76
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +118 -108
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +75 -65
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +96 -86
- package/dist/components/Disclaimer/Disclaimer.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.mjs +11 -8
- package/dist/components/Empty/Empty.js +1 -1
- package/dist/components/Empty/Empty.mjs +14 -10
- package/dist/components/GameLaunch/GameLaunch.js +1 -1
- package/dist/components/GameLaunch/GameLaunch.mjs +42 -39
- package/dist/components/Games/Games.client.js +1 -1
- package/dist/components/Games/Games.client.mjs +47 -44
- package/dist/components/Games/Games.d.ts +7 -2
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +4 -2
- package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.mjs +38 -34
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +3 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.mjs +282 -124
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.mjs +11 -8
- package/dist/components/Jackpots/JackpotGameProviders.d.ts +1 -0
- package/dist/components/Jackpots/JackpotItem.d.ts +7 -0
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +7 -0
- package/dist/components/Jackpots/Jackpots.d.ts +8 -0
- package/dist/components/Jackpots/index.d.ts +1 -0
- package/dist/components/Marquee/Marquee.js +1 -1
- package/dist/components/Marquee/Marquee.mjs +7 -7
- package/dist/components/Messages/MessageItem.d.ts +4 -0
- package/dist/components/Messages/MessageItem.js +1 -0
- package/dist/components/Messages/MessageItem.mjs +66 -0
- package/dist/components/Messages/MessagePopup.d.ts +1 -0
- package/dist/components/Messages/MessagePopup.js +1 -0
- package/dist/components/Messages/MessagePopup.mjs +89 -0
- package/dist/components/Messages/Messages.d.ts +1 -0
- package/dist/components/Messages/Messages.js +1 -0
- package/dist/components/Messages/Messages.mjs +147 -0
- package/dist/components/Messages/index.d.ts +1 -0
- package/dist/components/Messages/utils.d.ts +3 -0
- package/dist/components/Messages/utils.js +1 -0
- package/dist/components/Messages/utils.mjs +16 -0
- package/dist/components/Promos/PromoCarousel.js +1 -1
- package/dist/components/Promos/PromoCarousel.mjs +27 -24
- package/dist/components/Promos/PromoGrid.js +1 -1
- package/dist/components/Promos/PromoGrid.mjs +7 -7
- package/dist/components/Promos/PromoItem.js +1 -1
- package/dist/components/Promos/PromoItem.mjs +10 -7
- package/dist/components/Promos/Promos.d.ts +4 -2
- package/dist/components/SignIn/SignIn.d.ts +0 -1
- package/dist/components/SignIn/SignIn.js +1 -1
- package/dist/components/SignIn/SignIn.mjs +32 -41
- package/dist/components/SignIn/SignInForm.js +1 -1
- package/dist/components/SignIn/SignInForm.mjs +167 -160
- package/dist/components/SignUp/SignUp.d.ts +0 -1
- package/dist/components/SignUp/SignUp.js +1 -1
- package/dist/components/SignUp/SignUp.mjs +32 -41
- package/dist/components/SignUp/SignUpForm.js +1 -1
- package/dist/components/SignUp/SignUpForm.mjs +123 -116
- package/dist/components/TopWins/TopWins.client.js +1 -1
- package/dist/components/TopWins/TopWins.client.mjs +14 -14
- package/dist/components/TopWins/TopWins.d.ts +2 -1
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +4 -2
- package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.mjs +27 -24
- package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/DepositRecordsTable.mjs +113 -99
- package/dist/components/TransactionRecords/TableFilters.d.ts +3 -1
- package/dist/components/TransactionRecords/TableFilters.js +1 -1
- package/dist/components/TransactionRecords/TableFilters.mjs +193 -132
- package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecords.mjs +21 -17
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +89 -77
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +105 -96
- package/dist/components/index.d.ts +2 -0
- package/dist/components.js +1 -1
- package/dist/components.mjs +36 -32
- package/dist/icons/ArrowNarrowDownIcon.d.ts +2 -0
- package/dist/icons/ArrowNarrowUpIcon.d.ts +2 -0
- package/dist/icons/Bell01Icon.d.ts +2 -0
- package/dist/icons/Bell01Icon.js +1 -0
- package/dist/icons/Bell01Icon.mjs +27 -0
- package/dist/icons/BellRingIcon.d.ts +2 -0
- package/dist/icons/BellRingIcon.js +1 -0
- package/dist/icons/BellRingIcon.mjs +27 -0
- package/dist/icons/EyeIcon.d.ts +2 -0
- package/dist/icons/EyeIcon.js +1 -0
- package/dist/icons/EyeIcon.mjs +25 -0
- package/dist/icons/EyeOffIcon.d.ts +2 -0
- package/dist/icons/EyeOffIcon.js +1 -0
- package/dist/icons/EyeOffIcon.mjs +22 -0
- package/dist/icons/StarIcon.d.ts +2 -0
- package/dist/icons/StarIcon.js +1 -0
- package/dist/icons/StarIcon.mjs +19 -0
- package/dist/icons/StopWatchIcon.d.ts +2 -0
- package/dist/icons/StopWatchIcon.js +1 -0
- package/dist/icons/StopWatchIcon.mjs +22 -0
- package/dist/icons/Trophy01Icon.d.ts +2 -0
- package/dist/icons/Trophy01Icon.js +1 -0
- package/dist/icons/Trophy01Icon.mjs +22 -0
- package/dist/icons/index.d.ts +6 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +1 -0
- package/dist/icons.mjs +62 -0
- package/dist/images/first-place.png.js +1 -0
- package/dist/images/first-place.png.mjs +4 -0
- package/dist/images/leaderboard.png.js +1 -0
- package/dist/images/leaderboard.png.mjs +4 -0
- package/dist/images/placeholder-avatar.png.js +1 -0
- package/dist/images/placeholder-avatar.png.mjs +4 -0
- package/dist/images/responsible-gaming.png.js +1 -1
- package/dist/images/responsible-gaming.png.mjs +2 -2
- package/dist/portal-components.css +1 -1
- package/dist/server/utils/prefetchUnreadMessagesCountQuery.d.ts +2 -0
- package/dist/theme.css +123 -4
- package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
- package/dist/ui/AlertDialog/alertDialog.recipe.mjs +6 -6
- package/dist/ui/Badge/Badge.d.ts +274 -27
- package/dist/ui/Badge/Badge.js +1 -1
- package/dist/ui/Badge/Badge.mjs +14 -10
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
- package/dist/ui/Badge/badge.anatomy.js +1 -1
- package/dist/ui/Badge/badge.anatomy.mjs +1 -0
- package/dist/ui/Badge/badge.recipe.d.ts +57 -9
- package/dist/ui/Badge/badge.recipe.js +1 -1
- package/dist/ui/Badge/badge.recipe.mjs +57 -21
- package/dist/ui/Button/button.recipe.d.ts +2 -2
- package/dist/ui/Button/button.recipe.js +1 -1
- package/dist/ui/Button/button.recipe.mjs +17 -7
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- package/dist/ui/Checkbox/checkbox.recipe.mjs +6 -6
- package/dist/ui/Collapsible/Collapsible.d.ts +114 -0
- package/dist/ui/Collapsible/Collapsible.js +1 -0
- package/dist/ui/Collapsible/Collapsible.mjs +13 -0
- package/dist/ui/Collapsible/collapsible.recipe.d.ts +28 -0
- package/dist/ui/Collapsible/collapsible.recipe.js +1 -0
- package/dist/ui/Collapsible/collapsible.recipe.mjs +18 -0
- package/dist/ui/Collapsible/index.d.ts +1 -0
- package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
- package/dist/ui/DatePicker/datePicker.recipe.mjs +37 -6
- package/dist/ui/Dialog/dialog.recipe.js +1 -1
- package/dist/ui/Dialog/dialog.recipe.mjs +3 -3
- package/dist/ui/Drawer/drawer.recipe.js +1 -1
- package/dist/ui/Drawer/drawer.recipe.mjs +6 -6
- package/dist/ui/Field/field.recipe.js +1 -1
- package/dist/ui/Field/field.recipe.mjs +10 -12
- package/dist/ui/IconButton/iconButton.recipe.d.ts +2 -2
- package/dist/ui/IconButton/iconButton.recipe.js +1 -1
- package/dist/ui/IconButton/iconButton.recipe.mjs +6 -6
- package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
- package/dist/ui/NumberInput/numberInput.recipe.mjs +8 -8
- package/dist/ui/PasswordInput/PasswordInput.d.ts +242 -1
- package/dist/ui/PasswordInput/PasswordInput.js +1 -0
- package/dist/ui/PasswordInput/PasswordInput.mjs +18 -0
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +6 -18
- package/dist/ui/PasswordInput/passwordInput.recipe.js +1 -0
- package/dist/ui/PasswordInput/passwordInput.recipe.mjs +48 -0
- package/dist/ui/PinInput/pinInput.recipe.js +1 -1
- package/dist/ui/PinInput/pinInput.recipe.mjs +3 -3
- package/dist/ui/Popover/popover.recipe.js +1 -1
- package/dist/ui/Popover/popover.recipe.mjs +1 -1
- package/dist/ui/Progress/Progress.d.ts +335 -1
- package/dist/ui/Progress/Progress.js +1 -1
- package/dist/ui/Progress/Progress.mjs +15 -2
- package/dist/ui/Progress/progress.recipe.d.ts +37 -1
- package/dist/ui/Progress/progress.recipe.js +1 -0
- package/dist/ui/Progress/progress.recipe.mjs +41 -0
- package/dist/ui/Prose.d.ts +2 -0
- package/dist/ui/Prose.js +1 -0
- package/dist/ui/Prose.mjs +47 -0
- package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
- package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +3 -3
- package/dist/ui/Select/select.recipe.js +1 -1
- package/dist/ui/Select/select.recipe.mjs +6 -6
- package/dist/ui/Table/table.recipe.js +1 -1
- package/dist/ui/Table/table.recipe.mjs +4 -4
- package/dist/ui/Tabs/tabs.recipe.js +1 -1
- package/dist/ui/Tabs/tabs.recipe.mjs +3 -3
- package/dist/ui/index.d.ts +3 -0
- package/dist/ui.js +1 -1
- package/dist/ui.mjs +36 -30
- package/dist/utils/queryKeys.d.ts +4 -1
- package/dist/utils/queryKeys.js +1 -1
- package/dist/utils/queryKeys.mjs +34 -26
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +35 -32
- package/package.json +11 -4
- package/dist/components/Promos/PromosContent.d.ts +0 -2
|
@@ -1 +1,335 @@
|
|
|
1
|
-
|
|
1
|
+
import { Progress } from '@ark-ui/react';
|
|
2
|
+
export declare const Root: import('react').ComponentType<import('@ark-ui/react').Assign<Progress.RootProps & import('react').RefAttributes<HTMLDivElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
3
|
+
size: {
|
|
4
|
+
md: {};
|
|
5
|
+
};
|
|
6
|
+
variant: {
|
|
7
|
+
unstyled: {};
|
|
8
|
+
solid: {
|
|
9
|
+
root: string;
|
|
10
|
+
track: string;
|
|
11
|
+
range: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
15
|
+
size: {
|
|
16
|
+
md: {};
|
|
17
|
+
};
|
|
18
|
+
variant: {
|
|
19
|
+
unstyled: {};
|
|
20
|
+
solid: {
|
|
21
|
+
root: string;
|
|
22
|
+
track: string;
|
|
23
|
+
range: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
27
|
+
size: {
|
|
28
|
+
md: {};
|
|
29
|
+
};
|
|
30
|
+
variant: {
|
|
31
|
+
unstyled: {};
|
|
32
|
+
solid: {
|
|
33
|
+
root: string;
|
|
34
|
+
track: string;
|
|
35
|
+
range: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
39
|
+
export declare const Circle: import('react').ComponentType<import('@ark-ui/react').Assign<Progress.CircleProps & import('react').RefAttributes<SVGSVGElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
40
|
+
size: {
|
|
41
|
+
md: {};
|
|
42
|
+
};
|
|
43
|
+
variant: {
|
|
44
|
+
unstyled: {};
|
|
45
|
+
solid: {
|
|
46
|
+
root: string;
|
|
47
|
+
track: string;
|
|
48
|
+
range: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
52
|
+
size: {
|
|
53
|
+
md: {};
|
|
54
|
+
};
|
|
55
|
+
variant: {
|
|
56
|
+
unstyled: {};
|
|
57
|
+
solid: {
|
|
58
|
+
root: string;
|
|
59
|
+
track: string;
|
|
60
|
+
range: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
64
|
+
size: {
|
|
65
|
+
md: {};
|
|
66
|
+
};
|
|
67
|
+
variant: {
|
|
68
|
+
unstyled: {};
|
|
69
|
+
solid: {
|
|
70
|
+
root: string;
|
|
71
|
+
track: string;
|
|
72
|
+
range: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
76
|
+
export declare const CircleRange: import('react').ComponentType<import('@ark-ui/react').Assign<Progress.CircleRangeProps & import('react').RefAttributes<SVGCircleElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
77
|
+
size: {
|
|
78
|
+
md: {};
|
|
79
|
+
};
|
|
80
|
+
variant: {
|
|
81
|
+
unstyled: {};
|
|
82
|
+
solid: {
|
|
83
|
+
root: string;
|
|
84
|
+
track: string;
|
|
85
|
+
range: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
89
|
+
size: {
|
|
90
|
+
md: {};
|
|
91
|
+
};
|
|
92
|
+
variant: {
|
|
93
|
+
unstyled: {};
|
|
94
|
+
solid: {
|
|
95
|
+
root: string;
|
|
96
|
+
track: string;
|
|
97
|
+
range: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
101
|
+
size: {
|
|
102
|
+
md: {};
|
|
103
|
+
};
|
|
104
|
+
variant: {
|
|
105
|
+
unstyled: {};
|
|
106
|
+
solid: {
|
|
107
|
+
root: string;
|
|
108
|
+
track: string;
|
|
109
|
+
range: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
113
|
+
export declare const CircleTrack: import('react').ComponentType<import('@ark-ui/react').Assign<Progress.CircleTrackProps & import('react').RefAttributes<SVGCircleElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
114
|
+
size: {
|
|
115
|
+
md: {};
|
|
116
|
+
};
|
|
117
|
+
variant: {
|
|
118
|
+
unstyled: {};
|
|
119
|
+
solid: {
|
|
120
|
+
root: string;
|
|
121
|
+
track: string;
|
|
122
|
+
range: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
126
|
+
size: {
|
|
127
|
+
md: {};
|
|
128
|
+
};
|
|
129
|
+
variant: {
|
|
130
|
+
unstyled: {};
|
|
131
|
+
solid: {
|
|
132
|
+
root: string;
|
|
133
|
+
track: string;
|
|
134
|
+
range: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
138
|
+
size: {
|
|
139
|
+
md: {};
|
|
140
|
+
};
|
|
141
|
+
variant: {
|
|
142
|
+
unstyled: {};
|
|
143
|
+
solid: {
|
|
144
|
+
root: string;
|
|
145
|
+
track: string;
|
|
146
|
+
range: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
150
|
+
export declare const Label: import('react').ComponentType<import('@ark-ui/react').Assign<Progress.LabelProps & import('react').RefAttributes<HTMLLabelElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
151
|
+
size: {
|
|
152
|
+
md: {};
|
|
153
|
+
};
|
|
154
|
+
variant: {
|
|
155
|
+
unstyled: {};
|
|
156
|
+
solid: {
|
|
157
|
+
root: string;
|
|
158
|
+
track: string;
|
|
159
|
+
range: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
163
|
+
size: {
|
|
164
|
+
md: {};
|
|
165
|
+
};
|
|
166
|
+
variant: {
|
|
167
|
+
unstyled: {};
|
|
168
|
+
solid: {
|
|
169
|
+
root: string;
|
|
170
|
+
track: string;
|
|
171
|
+
range: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
175
|
+
size: {
|
|
176
|
+
md: {};
|
|
177
|
+
};
|
|
178
|
+
variant: {
|
|
179
|
+
unstyled: {};
|
|
180
|
+
solid: {
|
|
181
|
+
root: string;
|
|
182
|
+
track: string;
|
|
183
|
+
range: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
187
|
+
export declare const Track: import('react').ComponentType<import('@ark-ui/react').Assign<Progress.TrackProps & import('react').RefAttributes<HTMLDivElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
188
|
+
size: {
|
|
189
|
+
md: {};
|
|
190
|
+
};
|
|
191
|
+
variant: {
|
|
192
|
+
unstyled: {};
|
|
193
|
+
solid: {
|
|
194
|
+
root: string;
|
|
195
|
+
track: string;
|
|
196
|
+
range: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
200
|
+
size: {
|
|
201
|
+
md: {};
|
|
202
|
+
};
|
|
203
|
+
variant: {
|
|
204
|
+
unstyled: {};
|
|
205
|
+
solid: {
|
|
206
|
+
root: string;
|
|
207
|
+
track: string;
|
|
208
|
+
range: string;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
212
|
+
size: {
|
|
213
|
+
md: {};
|
|
214
|
+
};
|
|
215
|
+
variant: {
|
|
216
|
+
unstyled: {};
|
|
217
|
+
solid: {
|
|
218
|
+
root: string;
|
|
219
|
+
track: string;
|
|
220
|
+
range: string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
224
|
+
export declare const ValueText: import('react').ComponentType<import('@ark-ui/react').Assign<Progress.ValueTextProps & import('react').RefAttributes<HTMLSpanElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
225
|
+
size: {
|
|
226
|
+
md: {};
|
|
227
|
+
};
|
|
228
|
+
variant: {
|
|
229
|
+
unstyled: {};
|
|
230
|
+
solid: {
|
|
231
|
+
root: string;
|
|
232
|
+
track: string;
|
|
233
|
+
range: string;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
237
|
+
size: {
|
|
238
|
+
md: {};
|
|
239
|
+
};
|
|
240
|
+
variant: {
|
|
241
|
+
unstyled: {};
|
|
242
|
+
solid: {
|
|
243
|
+
root: string;
|
|
244
|
+
track: string;
|
|
245
|
+
range: string;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
249
|
+
size: {
|
|
250
|
+
md: {};
|
|
251
|
+
};
|
|
252
|
+
variant: {
|
|
253
|
+
unstyled: {};
|
|
254
|
+
solid: {
|
|
255
|
+
root: string;
|
|
256
|
+
track: string;
|
|
257
|
+
range: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
261
|
+
export declare const View: import('react').ComponentType<import('@ark-ui/react').Assign<Progress.ViewProps & import('react').RefAttributes<HTMLSpanElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
262
|
+
size: {
|
|
263
|
+
md: {};
|
|
264
|
+
};
|
|
265
|
+
variant: {
|
|
266
|
+
unstyled: {};
|
|
267
|
+
solid: {
|
|
268
|
+
root: string;
|
|
269
|
+
track: string;
|
|
270
|
+
range: string;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
274
|
+
size: {
|
|
275
|
+
md: {};
|
|
276
|
+
};
|
|
277
|
+
variant: {
|
|
278
|
+
unstyled: {};
|
|
279
|
+
solid: {
|
|
280
|
+
root: string;
|
|
281
|
+
track: string;
|
|
282
|
+
range: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
286
|
+
size: {
|
|
287
|
+
md: {};
|
|
288
|
+
};
|
|
289
|
+
variant: {
|
|
290
|
+
unstyled: {};
|
|
291
|
+
solid: {
|
|
292
|
+
root: string;
|
|
293
|
+
track: string;
|
|
294
|
+
range: string;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
298
|
+
export declare const Range: import('react').ComponentType<import('@ark-ui/react').Assign<Progress.RangeProps & import('react').RefAttributes<HTMLDivElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
299
|
+
size: {
|
|
300
|
+
md: {};
|
|
301
|
+
};
|
|
302
|
+
variant: {
|
|
303
|
+
unstyled: {};
|
|
304
|
+
solid: {
|
|
305
|
+
root: string;
|
|
306
|
+
track: string;
|
|
307
|
+
range: string;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
311
|
+
size: {
|
|
312
|
+
md: {};
|
|
313
|
+
};
|
|
314
|
+
variant: {
|
|
315
|
+
unstyled: {};
|
|
316
|
+
solid: {
|
|
317
|
+
root: string;
|
|
318
|
+
track: string;
|
|
319
|
+
range: string;
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
323
|
+
size: {
|
|
324
|
+
md: {};
|
|
325
|
+
};
|
|
326
|
+
variant: {
|
|
327
|
+
unstyled: {};
|
|
328
|
+
solid: {
|
|
329
|
+
root: string;
|
|
330
|
+
track: string;
|
|
331
|
+
range: string;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
335
|
+
export declare const Context: (props: Progress.ContextProps) => import('react').ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=()
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),c=require("../../client/utils/createRecipeContext.js");require("../../client/utils/toaster.js");const t=require("./progress.recipe.js"),{withContext:r,withProvider:o}=c.createRecipeContext(t.progressRecipe),s=o(e.Progress.Root,"root"),i=r(e.Progress.Circle,"circle"),n=r(e.Progress.CircleRange,"circleRange"),a=r(e.Progress.CircleTrack,"circleTrack"),l=r(e.Progress.Label,"label"),g=r(e.Progress.Track,"track"),C=r(e.Progress.ValueText,"valueText"),R=r(e.Progress.View,"view"),u=r(e.Progress.Range,"range"),P=e.Progress.Context;exports.Circle=i;exports.CircleRange=n;exports.CircleTrack=a;exports.Context=P;exports.Label=l;exports.Range=u;exports.Root=s;exports.Track=g;exports.ValueText=C;exports.View=R;
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
import { Progress as e } from "@ark-ui/react";
|
|
3
|
+
import { createRecipeContext as c } from "../../client/utils/createRecipeContext.mjs";
|
|
4
|
+
import "../../client/utils/toaster.mjs";
|
|
5
|
+
import { progressRecipe as o } from "./progress.recipe.mjs";
|
|
6
|
+
const { withContext: t, withProvider: r } = c(o), s = r(e.Root, "root"), C = t(e.Circle, "circle"), R = t(e.CircleRange, "circleRange"), g = t(e.CircleTrack, "circleTrack"), p = t(e.Label, "label"), x = t(e.Track, "track"), T = t(e.ValueText, "valueText"), m = t(e.View, "view"), k = t(e.Range, "range"), w = e.Context;
|
|
3
7
|
export {
|
|
4
|
-
|
|
8
|
+
C as Circle,
|
|
9
|
+
R as CircleRange,
|
|
10
|
+
g as CircleTrack,
|
|
11
|
+
w as Context,
|
|
12
|
+
p as Label,
|
|
13
|
+
k as Range,
|
|
14
|
+
s as Root,
|
|
15
|
+
x as Track,
|
|
16
|
+
T as ValueText,
|
|
17
|
+
m as View
|
|
5
18
|
};
|
|
@@ -1 +1,37 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export declare const progressRecipe: import('tailwind-variants').TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
md: {};
|
|
4
|
+
};
|
|
5
|
+
variant: {
|
|
6
|
+
unstyled: {};
|
|
7
|
+
solid: {
|
|
8
|
+
root: string;
|
|
9
|
+
track: string;
|
|
10
|
+
range: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
14
|
+
size: {
|
|
15
|
+
md: {};
|
|
16
|
+
};
|
|
17
|
+
variant: {
|
|
18
|
+
unstyled: {};
|
|
19
|
+
solid: {
|
|
20
|
+
root: string;
|
|
21
|
+
track: string;
|
|
22
|
+
range: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
26
|
+
size: {
|
|
27
|
+
md: {};
|
|
28
|
+
};
|
|
29
|
+
variant: {
|
|
30
|
+
unstyled: {};
|
|
31
|
+
solid: {
|
|
32
|
+
root: string;
|
|
33
|
+
track: string;
|
|
34
|
+
range: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "valueText" | "range" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),r=require("tailwind-variants"),i=require("../../utils/anatomyToRecipeSlots.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const a=r.tv({slots:i.anatomyToRecipeSlots(e.progressAnatomy),variants:{size:{md:{}},variant:{unstyled:{},solid:{root:"block w-full",track:"bg-bg-primary w-full overflow-hidden rounded-full",range:"bg-brand-400 h-full rounded-full transition-all duration-200 ease-in-out"}}},compoundVariants:[{size:"md",variant:"solid",className:{track:"h-2"}}],defaultVariants:{size:"md",variant:"solid"}});exports.progressRecipe=a;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { progressAnatomy as o } from "@ark-ui/react";
|
|
2
|
+
import { tv as r } from "tailwind-variants";
|
|
3
|
+
import { anatomyToRecipeSlots as t } from "../../utils/anatomyToRecipeSlots.mjs";
|
|
4
|
+
import "../../utils/capitalize.mjs";
|
|
5
|
+
import "../../utils/parseDecimal.mjs";
|
|
6
|
+
import "../../constants/index.mjs";
|
|
7
|
+
import "../../utils/getLocaleInfo.mjs";
|
|
8
|
+
import "../../utils/getQueryClient.mjs";
|
|
9
|
+
import "../../utils/isMobile.mjs";
|
|
10
|
+
const u = r({
|
|
11
|
+
slots: t(o),
|
|
12
|
+
variants: {
|
|
13
|
+
size: {
|
|
14
|
+
md: {}
|
|
15
|
+
},
|
|
16
|
+
variant: {
|
|
17
|
+
unstyled: {},
|
|
18
|
+
solid: {
|
|
19
|
+
root: "block w-full",
|
|
20
|
+
track: "bg-bg-primary w-full overflow-hidden rounded-full",
|
|
21
|
+
range: "bg-brand-400 h-full rounded-full transition-all duration-200 ease-in-out"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
compoundVariants: [
|
|
26
|
+
{
|
|
27
|
+
size: "md",
|
|
28
|
+
variant: "solid",
|
|
29
|
+
className: {
|
|
30
|
+
track: "h-2"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
defaultVariants: {
|
|
35
|
+
size: "md",
|
|
36
|
+
variant: "solid"
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
u as progressRecipe
|
|
41
|
+
};
|
package/dist/ui/Prose.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("tailwind-merge");function o(e){return t.jsx("div",{...e,className:r.twMerge("prose","prose-invert","max-w-none","prose-h1:text-text-primary-900","prose-h2:text-text-primary-900","prose-h3:text-text-primary-900","prose-h4:text-text-primary-900","prose-h5:text-text-primary-900","prose-h6:text-text-primary-900","prose-h1:text-4xl","prose-h2:text-3xl","prose-h3:text-2xl","prose-h4:text-xl","prose-h5:text-lg","prose-h6:text-base","prose-headings:font-semibold","prose-p:text-text-secondary-700","prose-ul:text-text-secondary-700","prose-ol:text-text-secondary-700","prose-li:text-text-secondary-700","prose-li:marker:text-text-secondary-700","prose-strong:text-text-secondary-700","prose-ul:text-text-secondary-700","prose-em:text-text-secondary-700","prose-b:text-text-secondary-700","prose-u:text-text-secondary-700","prose-img:block","prose-img:w-full","prose-img:h-auto","prose-strong:font-medium","prose-b:font-medium",e.className)})}exports.Prose=o;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { twMerge as r } from "tailwind-merge";
|
|
3
|
+
function x(e) {
|
|
4
|
+
return /* @__PURE__ */ t(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
...e,
|
|
8
|
+
className: r(
|
|
9
|
+
"prose",
|
|
10
|
+
"prose-invert",
|
|
11
|
+
"max-w-none",
|
|
12
|
+
"prose-h1:text-text-primary-900",
|
|
13
|
+
"prose-h2:text-text-primary-900",
|
|
14
|
+
"prose-h3:text-text-primary-900",
|
|
15
|
+
"prose-h4:text-text-primary-900",
|
|
16
|
+
"prose-h5:text-text-primary-900",
|
|
17
|
+
"prose-h6:text-text-primary-900",
|
|
18
|
+
"prose-h1:text-4xl",
|
|
19
|
+
"prose-h2:text-3xl",
|
|
20
|
+
"prose-h3:text-2xl",
|
|
21
|
+
"prose-h4:text-xl",
|
|
22
|
+
"prose-h5:text-lg",
|
|
23
|
+
"prose-h6:text-base",
|
|
24
|
+
"prose-headings:font-semibold",
|
|
25
|
+
"prose-p:text-text-secondary-700",
|
|
26
|
+
"prose-ul:text-text-secondary-700",
|
|
27
|
+
"prose-ol:text-text-secondary-700",
|
|
28
|
+
"prose-li:text-text-secondary-700",
|
|
29
|
+
"prose-li:marker:text-text-secondary-700",
|
|
30
|
+
"prose-strong:text-text-secondary-700",
|
|
31
|
+
"prose-ul:text-text-secondary-700",
|
|
32
|
+
"prose-em:text-text-secondary-700",
|
|
33
|
+
"prose-b:text-text-secondary-700",
|
|
34
|
+
"prose-u:text-text-secondary-700",
|
|
35
|
+
"prose-img:block",
|
|
36
|
+
"prose-img:w-full",
|
|
37
|
+
"prose-img:h-auto",
|
|
38
|
+
"prose-strong:font-medium",
|
|
39
|
+
"prose-b:font-medium",
|
|
40
|
+
e.className
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
x as Prose
|
|
47
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),r=require("tailwind-variants"),t=require("../../utils/anatomyToRecipeSlots.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const a=r.tv({slots:t.anatomyToRecipeSlots(e.segmentGroupAnatomy),variants:{size:{md:{}},variant:{unstyled:{},default:{root:"bg-bg-primary-alt border-border-secondary relative flex w-fit gap-md rounded-md border p-1",item:"z-1 text-text-quarterary-500 ui-checked:text-text-primary-brand relative flex cursor-pointer items-center justify-center gap-md transition-all duration-200",indicator:"bg-bg-primary-hover left-[var(--left)] top-[var(--top)] h-[var(--height)] w-[var(--width)]"}}},compoundVariants:[{size:"md",variant:"default",className:{item:"px-lg py-md text-sm font-semibold",indicator:"rounded-sm shadow-sm"}}],defaultVariants:{size:"md",variant:"default"}});exports.segmentGroupRecipe=a;
|
|
@@ -16,9 +16,9 @@ const u = r({
|
|
|
16
16
|
variant: {
|
|
17
17
|
unstyled: {},
|
|
18
18
|
default: {
|
|
19
|
-
root: "bg-
|
|
20
|
-
item: "z-1 text-
|
|
21
|
-
indicator: "left-[var(--left)] top-[var(--top)] h-[var(--height)] w-[var(--width)]
|
|
19
|
+
root: "bg-bg-primary-alt border-border-secondary relative flex w-fit gap-md rounded-md border p-1",
|
|
20
|
+
item: "z-1 text-text-quarterary-500 ui-checked:text-text-primary-brand relative flex cursor-pointer items-center justify-center gap-md transition-all duration-200",
|
|
21
|
+
indicator: "bg-bg-primary-hover left-[var(--left)] top-[var(--top)] h-[var(--height)] w-[var(--width)]"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),t=require("tailwind-variants"),o=require("../../utils/anatomyToRecipeSlots.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const i=t.tv({slots:o.anatomyToRecipeSlots(e.selectAnatomy,{label:"text-gray-600 mb-sm inline-block text-sm font-medium",trigger:"flex w-full items-center text-left",valueText:"grow",indicator:"text-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),t=require("tailwind-variants"),o=require("../../utils/anatomyToRecipeSlots.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const i=t.tv({slots:o.anatomyToRecipeSlots(e.selectAnatomy,{label:"text-gray-600 mb-sm inline-block text-sm font-medium",trigger:"flex w-full items-center text-left",valueText:"grow",indicator:"text-text-placeholder transition-transform duration-200 ui-open:rotate-180 ui-closed:rotate-0",positioner:"z-dropdown",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",item:"ui-highlighted:bg-bg-active flex cursor-pointer items-center gap-md rounded-sm px-2 py-2.5",itemText:"grow font-medium",itemIndicator:"text-green-500 text-text-brand-primary-600 size-4"}),variants:{size:{sm:{trigger:"h-10 gap-md px-3",indicator:"size-5"},md:{trigger:"h-11 gap-lg px-3.5",indicator:"size-5"}},variant:{outline:{trigger:"shadow-xs bg-bg-primary border-border-primary ui-placeholder-shown:text-text-placeholder flex items-center rounded-md border text-left"}}},defaultVariants:{size:"md",variant:"outline"}});exports.selectRecipe=i;
|
|
@@ -12,12 +12,12 @@ const d = t({
|
|
|
12
12
|
label: "text-gray-600 mb-sm inline-block text-sm font-medium",
|
|
13
13
|
trigger: "flex w-full items-center text-left",
|
|
14
14
|
valueText: "grow",
|
|
15
|
-
indicator: "text-
|
|
15
|
+
indicator: "text-text-placeholder transition-transform duration-200 ui-open:rotate-180 ui-closed:rotate-0",
|
|
16
16
|
positioner: "z-dropdown",
|
|
17
|
-
content: "border-
|
|
18
|
-
item: "ui-highlighted:bg-
|
|
19
|
-
itemText: "grow",
|
|
20
|
-
itemIndicator: "text-green-500 size-4"
|
|
17
|
+
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",
|
|
18
|
+
item: "ui-highlighted:bg-bg-active flex cursor-pointer items-center gap-md rounded-sm px-2 py-2.5",
|
|
19
|
+
itemText: "grow font-medium",
|
|
20
|
+
itemIndicator: "text-green-500 text-text-brand-primary-600 size-4"
|
|
21
21
|
}),
|
|
22
22
|
variants: {
|
|
23
23
|
size: {
|
|
@@ -32,7 +32,7 @@ const d = t({
|
|
|
32
32
|
},
|
|
33
33
|
variant: {
|
|
34
34
|
outline: {
|
|
35
|
-
trigger: "shadow-xs border-
|
|
35
|
+
trigger: "shadow-xs bg-bg-primary border-border-primary ui-placeholder-shown:text-text-placeholder flex items-center rounded-md border text-left"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),r=require("../../utils/anatomyToRecipeSlots.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const t=require("./table.anatomy.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),r=require("../../utils/anatomyToRecipeSlots.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const t=require("./table.anatomy.js"),o=e.tv({slots:r.anatomyToRecipeSlots(t.tableAnatomy,{root:"w-full whitespace-nowrap"}),variants:{size:{md:{root:"border-border-secondary border",heading:"text-text-tertiary-600 px-3xl py-lg text-left text-2xs font-medium",cell:"px-3xl py-xl text-sm"}},variant:{outline:{header:"tr:bg-bg-secondary tr:border-b tr:border-border-secondary",body:"tr:border-border-secondary tr:border-b tr:last:border-b-0"}}},defaultVariants:{size:"md",variant:"outline"}});exports.tableRecipe=o;
|
|
@@ -14,15 +14,15 @@ const s = r({
|
|
|
14
14
|
variants: {
|
|
15
15
|
size: {
|
|
16
16
|
md: {
|
|
17
|
-
root: "border-
|
|
18
|
-
heading: "px-3xl py-lg text-left text-
|
|
17
|
+
root: "border-border-secondary border",
|
|
18
|
+
heading: "text-text-tertiary-600 px-3xl py-lg text-left text-2xs font-medium",
|
|
19
19
|
cell: "px-3xl py-xl text-sm"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
variant: {
|
|
23
23
|
outline: {
|
|
24
|
-
header: "tr:bg-
|
|
25
|
-
body: "tr:
|
|
24
|
+
header: "tr:bg-bg-secondary tr:border-b tr:border-border-secondary",
|
|
25
|
+
body: "tr:border-border-secondary tr:border-b tr:last:border-b-0"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),r=require("tailwind-variants"),t=require("../../utils/anatomyToRecipeSlots.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const a=r.tv({slots:t.anatomyToRecipeSlots(e.tabsAnatomy),variants:{size:{md:{}},variant:{unstyled:{},default:{list:"border-border-secondary bg-bg-primary-alt bg-gray-50 relative flex w-fit gap-md rounded-md border p-1",indicator:"bg-bg-primary-hover h-[var(--height)] w-[var(--width)]",trigger:"z-1 text-text-quarterary-500 ui-selected:text-text-primary-brand relative transition-all duration-200"}}},compoundVariants:[{size:"md",variant:"default",className:{indicator:"rounded-sm shadow-sm",trigger:"px-lg py-md text-sm font-semibold"}}],defaultVariants:{size:"md",variant:"default"}});exports.tabsRecipe=a;
|
|
@@ -16,9 +16,9 @@ const g = r({
|
|
|
16
16
|
variant: {
|
|
17
17
|
unstyled: {},
|
|
18
18
|
default: {
|
|
19
|
-
list: "border-
|
|
20
|
-
indicator: "h-[var(--height)] w-[var(--width)]
|
|
21
|
-
trigger: "z-1 text-
|
|
19
|
+
list: "border-border-secondary bg-bg-primary-alt bg-gray-50 relative flex w-fit gap-md rounded-md border p-1",
|
|
20
|
+
indicator: "bg-bg-primary-hover h-[var(--height)] w-[var(--width)]",
|
|
21
|
+
trigger: "z-1 text-text-quarterary-500 ui-selected:text-text-primary-brand relative transition-all duration-200"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
},
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './Badge';
|
|
|
4
4
|
export * from './Button';
|
|
5
5
|
export * from './Checkbox';
|
|
6
6
|
export * from './Clipboard';
|
|
7
|
+
export * from './Collapsible';
|
|
7
8
|
export * from './Combobox';
|
|
8
9
|
export * from './DatePicker';
|
|
9
10
|
export * from './Dialog';
|
|
@@ -12,10 +13,12 @@ export * from './Field';
|
|
|
12
13
|
export * from './IconButton';
|
|
13
14
|
export * from './Menu';
|
|
14
15
|
export * from './NumberInput';
|
|
16
|
+
export * from './PasswordInput';
|
|
15
17
|
export * from './PinInput';
|
|
16
18
|
export * from './Popover';
|
|
17
19
|
export * from './Presence';
|
|
18
20
|
export * from './Progress';
|
|
21
|
+
export * from './Prose';
|
|
19
22
|
export * from './SegmentGroup';
|
|
20
23
|
export * from './Select';
|
|
21
24
|
export * from './Table';
|