@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.
Files changed (246) hide show
  1. package/dist/client/hooks/index.d.ts +3 -0
  2. package/dist/client/hooks/useGlobalStore.d.ts +11 -1
  3. package/dist/client/hooks/useGlobalStore.js +1 -1
  4. package/dist/client/hooks/useGlobalStore.mjs +81 -35
  5. package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +6 -0
  6. package/dist/client/hooks/useMarkMessageAsReadMutation.js +1 -0
  7. package/dist/client/hooks/useMarkMessageAsReadMutation.mjs +39 -0
  8. package/dist/client/hooks/useMessagesQuery.d.ts +3 -0
  9. package/dist/client/hooks/useMessagesQuery.js +1 -0
  10. package/dist/client/hooks/useMessagesQuery.mjs +47 -0
  11. package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +3 -0
  12. package/dist/client/hooks/useUnreadMessagesCountQuery.js +1 -0
  13. package/dist/client/hooks/useUnreadMessagesCountQuery.mjs +38 -0
  14. package/dist/client-hooks.js +1 -1
  15. package/dist/client-hooks.mjs +38 -32
  16. package/dist/components/Account/Account.d.ts +3 -1
  17. package/dist/components/Account/Account.js +1 -1
  18. package/dist/components/Account/Account.mjs +163 -96
  19. package/dist/components/Banner/Banner.js +1 -1
  20. package/dist/components/Banner/Banner.mjs +6 -6
  21. package/dist/components/BetRecords/BetRecords.js +1 -1
  22. package/dist/components/BetRecords/BetRecords.mjs +357 -325
  23. package/dist/components/Bonus/Bonus.client.d.ts +2 -0
  24. package/dist/components/Bonus/Bonus.d.ts +10 -0
  25. package/dist/components/Bonus/index.d.ts +1 -0
  26. package/dist/components/Bonuses/Bonuses.d.ts +15 -0
  27. package/dist/components/Bonuses/Bonuses.js +1 -0
  28. package/dist/components/Bonuses/Bonuses.mjs +125 -0
  29. package/dist/components/Bonuses/index.d.ts +1 -0
  30. package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
  31. package/dist/components/DepositWithdrawal/AmountChoices.mjs +9 -6
  32. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
  33. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.mjs +11 -8
  34. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
  35. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +5 -2
  36. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
  37. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +5 -2
  38. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
  39. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +16 -13
  40. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
  41. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +5 -2
  42. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
  43. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +9 -6
  44. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
  45. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +18 -15
  46. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
  47. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +9 -6
  48. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
  49. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +9 -6
  50. package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
  51. package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +46 -46
  52. package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
  53. package/dist/components/DepositWithdrawal/PaymentMethods.mjs +26 -23
  54. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
  55. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +86 -76
  56. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
  57. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +118 -108
  58. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
  59. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +75 -65
  60. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
  61. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +96 -86
  62. package/dist/components/Disclaimer/Disclaimer.js +1 -1
  63. package/dist/components/Disclaimer/Disclaimer.mjs +11 -8
  64. package/dist/components/Empty/Empty.js +1 -1
  65. package/dist/components/Empty/Empty.mjs +14 -10
  66. package/dist/components/GameLaunch/GameLaunch.js +1 -1
  67. package/dist/components/GameLaunch/GameLaunch.mjs +42 -39
  68. package/dist/components/Games/Games.client.js +1 -1
  69. package/dist/components/Games/Games.client.mjs +47 -44
  70. package/dist/components/Games/Games.d.ts +7 -2
  71. package/dist/components/JackpotCounter/JackpotCounter.d.ts +4 -2
  72. package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
  73. package/dist/components/JackpotCounter/JackpotCounter.mjs +38 -34
  74. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +3 -1
  75. package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
  76. package/dist/components/JackpotCounter/JackpotCounterItem.mjs +282 -124
  77. package/dist/components/JackpotCounter/JackpotCounterItem.module.css.js +1 -1
  78. package/dist/components/JackpotCounter/JackpotCounterItem.module.css.mjs +11 -8
  79. package/dist/components/Jackpots/JackpotGameProviders.d.ts +1 -0
  80. package/dist/components/Jackpots/JackpotItem.d.ts +7 -0
  81. package/dist/components/Jackpots/JackpotItemMobile.d.ts +7 -0
  82. package/dist/components/Jackpots/Jackpots.d.ts +8 -0
  83. package/dist/components/Jackpots/index.d.ts +1 -0
  84. package/dist/components/Marquee/Marquee.js +1 -1
  85. package/dist/components/Marquee/Marquee.mjs +7 -7
  86. package/dist/components/Messages/MessageItem.d.ts +4 -0
  87. package/dist/components/Messages/MessageItem.js +1 -0
  88. package/dist/components/Messages/MessageItem.mjs +66 -0
  89. package/dist/components/Messages/MessagePopup.d.ts +1 -0
  90. package/dist/components/Messages/MessagePopup.js +1 -0
  91. package/dist/components/Messages/MessagePopup.mjs +89 -0
  92. package/dist/components/Messages/Messages.d.ts +1 -0
  93. package/dist/components/Messages/Messages.js +1 -0
  94. package/dist/components/Messages/Messages.mjs +147 -0
  95. package/dist/components/Messages/index.d.ts +1 -0
  96. package/dist/components/Messages/utils.d.ts +3 -0
  97. package/dist/components/Messages/utils.js +1 -0
  98. package/dist/components/Messages/utils.mjs +16 -0
  99. package/dist/components/Promos/PromoCarousel.js +1 -1
  100. package/dist/components/Promos/PromoCarousel.mjs +27 -24
  101. package/dist/components/Promos/PromoGrid.js +1 -1
  102. package/dist/components/Promos/PromoGrid.mjs +7 -7
  103. package/dist/components/Promos/PromoItem.js +1 -1
  104. package/dist/components/Promos/PromoItem.mjs +10 -7
  105. package/dist/components/Promos/Promos.d.ts +4 -2
  106. package/dist/components/SignIn/SignIn.d.ts +0 -1
  107. package/dist/components/SignIn/SignIn.js +1 -1
  108. package/dist/components/SignIn/SignIn.mjs +32 -41
  109. package/dist/components/SignIn/SignInForm.js +1 -1
  110. package/dist/components/SignIn/SignInForm.mjs +167 -160
  111. package/dist/components/SignUp/SignUp.d.ts +0 -1
  112. package/dist/components/SignUp/SignUp.js +1 -1
  113. package/dist/components/SignUp/SignUp.mjs +32 -41
  114. package/dist/components/SignUp/SignUpForm.js +1 -1
  115. package/dist/components/SignUp/SignUpForm.mjs +123 -116
  116. package/dist/components/TopWins/TopWins.client.js +1 -1
  117. package/dist/components/TopWins/TopWins.client.mjs +14 -14
  118. package/dist/components/TopWins/TopWins.d.ts +2 -1
  119. package/dist/components/TournamentCounter/TournamentCounter.d.ts +4 -2
  120. package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
  121. package/dist/components/TournamentCounter/TournamentCounter.mjs +27 -24
  122. package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
  123. package/dist/components/TransactionRecords/DepositRecordsTable.mjs +113 -99
  124. package/dist/components/TransactionRecords/TableFilters.d.ts +3 -1
  125. package/dist/components/TransactionRecords/TableFilters.js +1 -1
  126. package/dist/components/TransactionRecords/TableFilters.mjs +193 -132
  127. package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
  128. package/dist/components/TransactionRecords/TransactionRecords.mjs +21 -17
  129. package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
  130. package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +89 -77
  131. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
  132. package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +105 -96
  133. package/dist/components/index.d.ts +2 -0
  134. package/dist/components.js +1 -1
  135. package/dist/components.mjs +36 -32
  136. package/dist/icons/ArrowNarrowDownIcon.d.ts +2 -0
  137. package/dist/icons/ArrowNarrowUpIcon.d.ts +2 -0
  138. package/dist/icons/Bell01Icon.d.ts +2 -0
  139. package/dist/icons/Bell01Icon.js +1 -0
  140. package/dist/icons/Bell01Icon.mjs +27 -0
  141. package/dist/icons/BellRingIcon.d.ts +2 -0
  142. package/dist/icons/BellRingIcon.js +1 -0
  143. package/dist/icons/BellRingIcon.mjs +27 -0
  144. package/dist/icons/EyeIcon.d.ts +2 -0
  145. package/dist/icons/EyeIcon.js +1 -0
  146. package/dist/icons/EyeIcon.mjs +25 -0
  147. package/dist/icons/EyeOffIcon.d.ts +2 -0
  148. package/dist/icons/EyeOffIcon.js +1 -0
  149. package/dist/icons/EyeOffIcon.mjs +22 -0
  150. package/dist/icons/StarIcon.d.ts +2 -0
  151. package/dist/icons/StarIcon.js +1 -0
  152. package/dist/icons/StarIcon.mjs +19 -0
  153. package/dist/icons/StopWatchIcon.d.ts +2 -0
  154. package/dist/icons/StopWatchIcon.js +1 -0
  155. package/dist/icons/StopWatchIcon.mjs +22 -0
  156. package/dist/icons/Trophy01Icon.d.ts +2 -0
  157. package/dist/icons/Trophy01Icon.js +1 -0
  158. package/dist/icons/Trophy01Icon.mjs +22 -0
  159. package/dist/icons/index.d.ts +6 -0
  160. package/dist/icons.d.ts +2 -0
  161. package/dist/icons.js +1 -0
  162. package/dist/icons.mjs +62 -0
  163. package/dist/images/first-place.png.js +1 -0
  164. package/dist/images/first-place.png.mjs +4 -0
  165. package/dist/images/leaderboard.png.js +1 -0
  166. package/dist/images/leaderboard.png.mjs +4 -0
  167. package/dist/images/placeholder-avatar.png.js +1 -0
  168. package/dist/images/placeholder-avatar.png.mjs +4 -0
  169. package/dist/images/responsible-gaming.png.js +1 -1
  170. package/dist/images/responsible-gaming.png.mjs +2 -2
  171. package/dist/portal-components.css +1 -1
  172. package/dist/server/utils/prefetchUnreadMessagesCountQuery.d.ts +2 -0
  173. package/dist/theme.css +123 -4
  174. package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
  175. package/dist/ui/AlertDialog/alertDialog.recipe.mjs +6 -6
  176. package/dist/ui/Badge/Badge.d.ts +274 -27
  177. package/dist/ui/Badge/Badge.js +1 -1
  178. package/dist/ui/Badge/Badge.mjs +14 -10
  179. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  180. package/dist/ui/Badge/badge.anatomy.js +1 -1
  181. package/dist/ui/Badge/badge.anatomy.mjs +1 -0
  182. package/dist/ui/Badge/badge.recipe.d.ts +57 -9
  183. package/dist/ui/Badge/badge.recipe.js +1 -1
  184. package/dist/ui/Badge/badge.recipe.mjs +57 -21
  185. package/dist/ui/Button/button.recipe.d.ts +2 -2
  186. package/dist/ui/Button/button.recipe.js +1 -1
  187. package/dist/ui/Button/button.recipe.mjs +17 -7
  188. package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
  189. package/dist/ui/Checkbox/checkbox.recipe.mjs +6 -6
  190. package/dist/ui/Collapsible/Collapsible.d.ts +114 -0
  191. package/dist/ui/Collapsible/Collapsible.js +1 -0
  192. package/dist/ui/Collapsible/Collapsible.mjs +13 -0
  193. package/dist/ui/Collapsible/collapsible.recipe.d.ts +28 -0
  194. package/dist/ui/Collapsible/collapsible.recipe.js +1 -0
  195. package/dist/ui/Collapsible/collapsible.recipe.mjs +18 -0
  196. package/dist/ui/Collapsible/index.d.ts +1 -0
  197. package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
  198. package/dist/ui/DatePicker/datePicker.recipe.mjs +37 -6
  199. package/dist/ui/Dialog/dialog.recipe.js +1 -1
  200. package/dist/ui/Dialog/dialog.recipe.mjs +3 -3
  201. package/dist/ui/Drawer/drawer.recipe.js +1 -1
  202. package/dist/ui/Drawer/drawer.recipe.mjs +6 -6
  203. package/dist/ui/Field/field.recipe.js +1 -1
  204. package/dist/ui/Field/field.recipe.mjs +10 -12
  205. package/dist/ui/IconButton/iconButton.recipe.d.ts +2 -2
  206. package/dist/ui/IconButton/iconButton.recipe.js +1 -1
  207. package/dist/ui/IconButton/iconButton.recipe.mjs +6 -6
  208. package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
  209. package/dist/ui/NumberInput/numberInput.recipe.mjs +8 -8
  210. package/dist/ui/PasswordInput/PasswordInput.d.ts +242 -1
  211. package/dist/ui/PasswordInput/PasswordInput.js +1 -0
  212. package/dist/ui/PasswordInput/PasswordInput.mjs +18 -0
  213. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +6 -18
  214. package/dist/ui/PasswordInput/passwordInput.recipe.js +1 -0
  215. package/dist/ui/PasswordInput/passwordInput.recipe.mjs +48 -0
  216. package/dist/ui/PinInput/pinInput.recipe.js +1 -1
  217. package/dist/ui/PinInput/pinInput.recipe.mjs +3 -3
  218. package/dist/ui/Popover/popover.recipe.js +1 -1
  219. package/dist/ui/Popover/popover.recipe.mjs +1 -1
  220. package/dist/ui/Progress/Progress.d.ts +335 -1
  221. package/dist/ui/Progress/Progress.js +1 -1
  222. package/dist/ui/Progress/Progress.mjs +15 -2
  223. package/dist/ui/Progress/progress.recipe.d.ts +37 -1
  224. package/dist/ui/Progress/progress.recipe.js +1 -0
  225. package/dist/ui/Progress/progress.recipe.mjs +41 -0
  226. package/dist/ui/Prose.d.ts +2 -0
  227. package/dist/ui/Prose.js +1 -0
  228. package/dist/ui/Prose.mjs +47 -0
  229. package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
  230. package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +3 -3
  231. package/dist/ui/Select/select.recipe.js +1 -1
  232. package/dist/ui/Select/select.recipe.mjs +6 -6
  233. package/dist/ui/Table/table.recipe.js +1 -1
  234. package/dist/ui/Table/table.recipe.mjs +4 -4
  235. package/dist/ui/Tabs/tabs.recipe.js +1 -1
  236. package/dist/ui/Tabs/tabs.recipe.mjs +3 -3
  237. package/dist/ui/index.d.ts +3 -0
  238. package/dist/ui.js +1 -1
  239. package/dist/ui.mjs +36 -30
  240. package/dist/utils/queryKeys.d.ts +4 -1
  241. package/dist/utils/queryKeys.js +1 -1
  242. package/dist/utils/queryKeys.mjs +34 -26
  243. package/dist/utils.js +1 -1
  244. package/dist/utils.mjs +35 -32
  245. package/package.json +11 -4
  246. package/dist/components/Promos/PromosContent.d.ts +0 -2
@@ -7,53 +7,101 @@ export declare const Root: import('react').ComponentType<import('@ark-ui/react')
7
7
  md: {
8
8
  root: string;
9
9
  label: string;
10
+ icon: string;
11
+ indicator: string;
12
+ };
13
+ lg: {
14
+ root: string;
15
+ label: string;
16
+ icon: string;
17
+ indicator: string;
10
18
  };
11
19
  };
12
20
  variant: {
13
21
  subtle: {};
14
22
  };
15
23
  colorScheme: {
16
- gray: {};
24
+ brand: {};
17
25
  danger: {};
18
26
  success: {};
19
27
  warning: {};
20
- info: {};
28
+ blue: {};
21
29
  };
22
- }, Record<"label" | "root" | "indicator", string | string[]>, undefined, {
30
+ round: {
31
+ true: {
32
+ root: string;
33
+ };
34
+ false: {
35
+ root: string;
36
+ };
37
+ };
38
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
23
39
  size: {
24
40
  md: {
25
41
  root: string;
26
42
  label: string;
43
+ icon: string;
44
+ indicator: string;
45
+ };
46
+ lg: {
47
+ root: string;
48
+ label: string;
49
+ icon: string;
50
+ indicator: string;
27
51
  };
28
52
  };
29
53
  variant: {
30
54
  subtle: {};
31
55
  };
32
56
  colorScheme: {
33
- gray: {};
57
+ brand: {};
34
58
  danger: {};
35
59
  success: {};
36
60
  warning: {};
37
- info: {};
61
+ blue: {};
38
62
  };
39
- }, Record<"label" | "root" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
63
+ round: {
64
+ true: {
65
+ root: string;
66
+ };
67
+ false: {
68
+ root: string;
69
+ };
70
+ };
71
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
40
72
  size: {
41
73
  md: {
42
74
  root: string;
43
75
  label: string;
76
+ icon: string;
77
+ indicator: string;
78
+ };
79
+ lg: {
80
+ root: string;
81
+ label: string;
82
+ icon: string;
83
+ indicator: string;
44
84
  };
45
85
  };
46
86
  variant: {
47
87
  subtle: {};
48
88
  };
49
89
  colorScheme: {
50
- gray: {};
90
+ brand: {};
51
91
  danger: {};
52
92
  success: {};
53
93
  warning: {};
54
- info: {};
94
+ blue: {};
55
95
  };
56
- }, Record<"label" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
96
+ round: {
97
+ true: {
98
+ root: string;
99
+ };
100
+ false: {
101
+ root: string;
102
+ };
103
+ };
104
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
57
105
  interface BadgeLabelProps extends ComponentPropsWithRef<'span'> {
58
106
  asChild?: boolean;
59
107
  }
@@ -62,53 +110,101 @@ export declare const Label: import('react').ComponentType<import('@ark-ui/react'
62
110
  md: {
63
111
  root: string;
64
112
  label: string;
113
+ icon: string;
114
+ indicator: string;
115
+ };
116
+ lg: {
117
+ root: string;
118
+ label: string;
119
+ icon: string;
120
+ indicator: string;
65
121
  };
66
122
  };
67
123
  variant: {
68
124
  subtle: {};
69
125
  };
70
126
  colorScheme: {
71
- gray: {};
127
+ brand: {};
72
128
  danger: {};
73
129
  success: {};
74
130
  warning: {};
75
- info: {};
131
+ blue: {};
76
132
  };
77
- }, Record<"label" | "root" | "indicator", string | string[]>, undefined, {
133
+ round: {
134
+ true: {
135
+ root: string;
136
+ };
137
+ false: {
138
+ root: string;
139
+ };
140
+ };
141
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
78
142
  size: {
79
143
  md: {
80
144
  root: string;
81
145
  label: string;
146
+ icon: string;
147
+ indicator: string;
148
+ };
149
+ lg: {
150
+ root: string;
151
+ label: string;
152
+ icon: string;
153
+ indicator: string;
82
154
  };
83
155
  };
84
156
  variant: {
85
157
  subtle: {};
86
158
  };
87
159
  colorScheme: {
88
- gray: {};
160
+ brand: {};
89
161
  danger: {};
90
162
  success: {};
91
163
  warning: {};
92
- info: {};
164
+ blue: {};
93
165
  };
94
- }, Record<"label" | "root" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
166
+ round: {
167
+ true: {
168
+ root: string;
169
+ };
170
+ false: {
171
+ root: string;
172
+ };
173
+ };
174
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
95
175
  size: {
96
176
  md: {
97
177
  root: string;
98
178
  label: string;
179
+ icon: string;
180
+ indicator: string;
181
+ };
182
+ lg: {
183
+ root: string;
184
+ label: string;
185
+ icon: string;
186
+ indicator: string;
99
187
  };
100
188
  };
101
189
  variant: {
102
190
  subtle: {};
103
191
  };
104
192
  colorScheme: {
105
- gray: {};
193
+ brand: {};
106
194
  danger: {};
107
195
  success: {};
108
196
  warning: {};
109
- info: {};
197
+ blue: {};
198
+ };
199
+ round: {
200
+ true: {
201
+ root: string;
202
+ };
203
+ false: {
204
+ root: string;
205
+ };
110
206
  };
111
- }, Record<"label" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
207
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
112
208
  interface BadgeIndicatorProps extends ComponentPropsWithRef<'svg'> {
113
209
  asChild?: boolean;
114
210
  }
@@ -117,51 +213,202 @@ export declare const Indicator: import('react').ComponentType<import('@ark-ui/re
117
213
  md: {
118
214
  root: string;
119
215
  label: string;
216
+ icon: string;
217
+ indicator: string;
218
+ };
219
+ lg: {
220
+ root: string;
221
+ label: string;
222
+ icon: string;
223
+ indicator: string;
224
+ };
225
+ };
226
+ variant: {
227
+ subtle: {};
228
+ };
229
+ colorScheme: {
230
+ brand: {};
231
+ danger: {};
232
+ success: {};
233
+ warning: {};
234
+ blue: {};
235
+ };
236
+ round: {
237
+ true: {
238
+ root: string;
239
+ };
240
+ false: {
241
+ root: string;
242
+ };
243
+ };
244
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
245
+ size: {
246
+ md: {
247
+ root: string;
248
+ label: string;
249
+ icon: string;
250
+ indicator: string;
251
+ };
252
+ lg: {
253
+ root: string;
254
+ label: string;
255
+ icon: string;
256
+ indicator: string;
257
+ };
258
+ };
259
+ variant: {
260
+ subtle: {};
261
+ };
262
+ colorScheme: {
263
+ brand: {};
264
+ danger: {};
265
+ success: {};
266
+ warning: {};
267
+ blue: {};
268
+ };
269
+ round: {
270
+ true: {
271
+ root: string;
272
+ };
273
+ false: {
274
+ root: string;
275
+ };
276
+ };
277
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
278
+ size: {
279
+ md: {
280
+ root: string;
281
+ label: string;
282
+ icon: string;
283
+ indicator: string;
284
+ };
285
+ lg: {
286
+ root: string;
287
+ label: string;
288
+ icon: string;
289
+ indicator: string;
290
+ };
291
+ };
292
+ variant: {
293
+ subtle: {};
294
+ };
295
+ colorScheme: {
296
+ brand: {};
297
+ danger: {};
298
+ success: {};
299
+ warning: {};
300
+ blue: {};
301
+ };
302
+ round: {
303
+ true: {
304
+ root: string;
305
+ };
306
+ false: {
307
+ root: string;
308
+ };
309
+ };
310
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
311
+ interface BadgeIconProps extends ComponentPropsWithRef<'svg'> {
312
+ asChild?: boolean;
313
+ }
314
+ export declare const Icon: import('react').ComponentType<import('@ark-ui/react').Assign<BadgeIconProps, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
315
+ size: {
316
+ md: {
317
+ root: string;
318
+ label: string;
319
+ icon: string;
320
+ indicator: string;
321
+ };
322
+ lg: {
323
+ root: string;
324
+ label: string;
325
+ icon: string;
326
+ indicator: string;
120
327
  };
121
328
  };
122
329
  variant: {
123
330
  subtle: {};
124
331
  };
125
332
  colorScheme: {
126
- gray: {};
333
+ brand: {};
127
334
  danger: {};
128
335
  success: {};
129
336
  warning: {};
130
- info: {};
337
+ blue: {};
131
338
  };
132
- }, Record<"label" | "root" | "indicator", string | string[]>, undefined, {
339
+ round: {
340
+ true: {
341
+ root: string;
342
+ };
343
+ false: {
344
+ root: string;
345
+ };
346
+ };
347
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
133
348
  size: {
134
349
  md: {
135
350
  root: string;
136
351
  label: string;
352
+ icon: string;
353
+ indicator: string;
354
+ };
355
+ lg: {
356
+ root: string;
357
+ label: string;
358
+ icon: string;
359
+ indicator: string;
137
360
  };
138
361
  };
139
362
  variant: {
140
363
  subtle: {};
141
364
  };
142
365
  colorScheme: {
143
- gray: {};
366
+ brand: {};
144
367
  danger: {};
145
368
  success: {};
146
369
  warning: {};
147
- info: {};
370
+ blue: {};
371
+ };
372
+ round: {
373
+ true: {
374
+ root: string;
375
+ };
376
+ false: {
377
+ root: string;
378
+ };
148
379
  };
149
- }, Record<"label" | "root" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
380
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
150
381
  size: {
151
382
  md: {
152
383
  root: string;
153
384
  label: string;
385
+ icon: string;
386
+ indicator: string;
387
+ };
388
+ lg: {
389
+ root: string;
390
+ label: string;
391
+ icon: string;
392
+ indicator: string;
154
393
  };
155
394
  };
156
395
  variant: {
157
396
  subtle: {};
158
397
  };
159
398
  colorScheme: {
160
- gray: {};
399
+ brand: {};
161
400
  danger: {};
162
401
  success: {};
163
402
  warning: {};
164
- info: {};
403
+ blue: {};
404
+ };
405
+ round: {
406
+ true: {
407
+ root: string;
408
+ };
409
+ false: {
410
+ root: string;
411
+ };
165
412
  };
166
- }, Record<"label" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
413
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
167
414
  export {};
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("@ark-ui/react"),i=require("../../client/utils/createRecipeContext.js");require("../../client/utils/toaster.js");const c=require("./badge.anatomy.js"),n=require("./badge.recipe.js"),{withProvider:s,withContext:a}=i.createRecipeContext(n.badgeRecipe),o=c.badgeAnatomy.build(),d=s(e=>t.jsx(r.ark.div,{...o.root.attrs,...e}),"root"),u=a(e=>t.jsx(r.ark.span,{...o.label.attrs,...e}),"label"),l=a(e=>t.jsx(r.ark.svg,{...o.indicator.attrs,asChild:!0,...e}),"indicator");exports.Indicator=l;exports.Label=u;exports.Root=d;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@ark-ui/react"),c=require("../../client/utils/createRecipeContext.js");require("../../client/utils/toaster.js");const i=require("./badge.anatomy.js"),n=require("./badge.recipe.js"),{withProvider:s,withContext:a}=c.createRecipeContext(n.badgeRecipe),o=i.badgeAnatomy.build(),d=s(t=>e.jsx(r.ark.div,{...o.root.attrs,...t}),"root"),u=a(t=>e.jsx(r.ark.span,{...o.label.attrs,...t}),"label"),l=a(t=>e.jsx(r.ark.svg,{...o.indicator.attrs,...t}),"indicator"),b=a(t=>e.jsx(r.ark.svg,{...o.icon.attrs,asChild:!0,...t}),"icon");exports.Icon=b;exports.Indicator=l;exports.Label=u;exports.Root=d;
@@ -1,22 +1,26 @@
1
1
  "use client";
2
2
  import { jsx as o } from "react/jsx-runtime";
3
3
  import { ark as r } from "@ark-ui/react";
4
- import { createRecipeContext as a } from "../../client/utils/createRecipeContext.mjs";
4
+ import { createRecipeContext as e } from "../../client/utils/createRecipeContext.mjs";
5
5
  import "../../client/utils/toaster.mjs";
6
- import { badgeAnatomy as s } from "./badge.anatomy.mjs";
7
- import { badgeRecipe as n } from "./badge.recipe.mjs";
8
- const { withProvider: c, withContext: e } = a(n), i = s.build(), x = c(
6
+ import { badgeAnatomy as n } from "./badge.anatomy.mjs";
7
+ import { badgeRecipe as s } from "./badge.recipe.mjs";
8
+ const { withProvider: c, withContext: a } = e(s), i = n.build(), g = c(
9
9
  (t) => /* @__PURE__ */ o(r.div, { ...i.root.attrs, ...t }),
10
10
  "root"
11
- ), g = e(
11
+ ), v = a(
12
12
  (t) => /* @__PURE__ */ o(r.span, { ...i.label.attrs, ...t }),
13
13
  "label"
14
- ), h = e(
15
- (t) => /* @__PURE__ */ o(r.svg, { ...i.indicator.attrs, asChild: !0, ...t }),
14
+ ), x = a(
15
+ (t) => /* @__PURE__ */ o(r.svg, { ...i.indicator.attrs, ...t }),
16
16
  "indicator"
17
+ ), h = a(
18
+ (t) => /* @__PURE__ */ o(r.svg, { ...i.icon.attrs, asChild: !0, ...t }),
19
+ "icon"
17
20
  );
18
21
  export {
19
- h as Indicator,
20
- g as Label,
21
- x as Root
22
+ h as Icon,
23
+ x as Indicator,
24
+ v as Label,
25
+ g as Root
22
26
  };
@@ -1 +1 @@
1
- export declare const badgeAnatomy: import('@ark-ui/anatomy').AnatomyInstance<"label" | "root" | "indicator">;
1
+ export declare const badgeAnatomy: import('@ark-ui/anatomy').AnatomyInstance<"label" | "root" | "icon" | "indicator">;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@ark-ui/anatomy"),e=t.createAnatomy("badge").parts("root","label","indicator");exports.badgeAnatomy=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@ark-ui/anatomy"),e=t.createAnatomy("badge").parts("root","label","icon","indicator");exports.badgeAnatomy=e;
@@ -2,6 +2,7 @@ import { createAnatomy as o } from "@ark-ui/anatomy";
2
2
  const a = o("badge").parts(
3
3
  "root",
4
4
  "label",
5
+ "icon",
5
6
  "indicator"
6
7
  );
7
8
  export {
@@ -3,50 +3,98 @@ export declare const badgeRecipe: import('tailwind-variants').TVReturnType<{
3
3
  md: {
4
4
  root: string;
5
5
  label: string;
6
+ icon: string;
7
+ indicator: string;
8
+ };
9
+ lg: {
10
+ root: string;
11
+ label: string;
12
+ icon: string;
13
+ indicator: string;
6
14
  };
7
15
  };
8
16
  variant: {
9
17
  subtle: {};
10
18
  };
11
19
  colorScheme: {
12
- gray: {};
20
+ brand: {};
13
21
  danger: {};
14
22
  success: {};
15
23
  warning: {};
16
- info: {};
24
+ blue: {};
25
+ };
26
+ round: {
27
+ true: {
28
+ root: string;
29
+ };
30
+ false: {
31
+ root: string;
32
+ };
17
33
  };
18
- }, Record<"label" | "root" | "indicator", string | string[]>, undefined, {
34
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
19
35
  size: {
20
36
  md: {
21
37
  root: string;
22
38
  label: string;
39
+ icon: string;
40
+ indicator: string;
41
+ };
42
+ lg: {
43
+ root: string;
44
+ label: string;
45
+ icon: string;
46
+ indicator: string;
23
47
  };
24
48
  };
25
49
  variant: {
26
50
  subtle: {};
27
51
  };
28
52
  colorScheme: {
29
- gray: {};
53
+ brand: {};
30
54
  danger: {};
31
55
  success: {};
32
56
  warning: {};
33
- info: {};
57
+ blue: {};
58
+ };
59
+ round: {
60
+ true: {
61
+ root: string;
62
+ };
63
+ false: {
64
+ root: string;
65
+ };
34
66
  };
35
- }, Record<"label" | "root" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
67
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
36
68
  size: {
37
69
  md: {
38
70
  root: string;
39
71
  label: string;
72
+ icon: string;
73
+ indicator: string;
74
+ };
75
+ lg: {
76
+ root: string;
77
+ label: string;
78
+ icon: string;
79
+ indicator: string;
40
80
  };
41
81
  };
42
82
  variant: {
43
83
  subtle: {};
44
84
  };
45
85
  colorScheme: {
46
- gray: {};
86
+ brand: {};
47
87
  danger: {};
48
88
  success: {};
49
89
  warning: {};
50
- info: {};
90
+ blue: {};
91
+ };
92
+ round: {
93
+ true: {
94
+ root: string;
95
+ };
96
+ false: {
97
+ root: string;
98
+ };
51
99
  };
52
- }, Record<"label" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
100
+ }, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -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 a=require("./badge.anatomy.js"),t=e.tv({slots:r.anatomyToRecipeSlots(a.badgeAnatomy,{root:"inline-flex items-center",label:"",indicator:""}),variants:{size:{md:{root:"gap-1 rounded-full px-2 py-0.5",label:"text-xs font-medium leading-tight"}},variant:{subtle:{}},colorScheme:{gray:{},danger:{},success:{},warning:{},info:{}}},compoundVariants:[{variant:"subtle",colorScheme:"gray",className:{root:"bg-gray-50 border-gray-200 border",label:"text-gray-700"}},{variant:"subtle",colorScheme:"success",className:{root:"bg-green-50 border-green-200 border",label:"text-green-700"}},{variant:"subtle",colorScheme:"warning",className:{root:"bg-amber-50 border-amber-200 border",label:"text-amber-700"}},{variant:"subtle",colorScheme:"danger",className:{root:"bg-red-50 border-red-200 border",label:"text-red-700"}}],defaultVariants:{size:"md",variant:"subtle",colorScheme:"success"}});exports.badgeRecipe=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("tailwind-variants"),e=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=require("./badge.anatomy.js"),r=t.tv({slots:e.anatomyToRecipeSlots(i.badgeAnatomy,{root:"inline-flex items-center",icon:"shrink-0",label:"font-medium leading-tight",indicator:"shrink-0 rounded-full"}),variants:{size:{md:{root:"gap-1 px-2 py-0.5",label:"text-xs",icon:"size-3",indicator:"size-2"},lg:{root:"gap-1 px-2 py-1",label:"text-sm",icon:"size-3",indicator:"size-2"}},variant:{subtle:{}},colorScheme:{brand:{},danger:{},success:{},warning:{},blue:{}},round:{true:{root:"rounded-full"},false:{root:"rounded-md"}}},compoundVariants:[{variant:"subtle",colorScheme:"brand",className:{root:"bg-utility-brand-50 border-utility-brand-200 border",label:"text-utility-brand-700",indicator:"bg-utility-brand-500",icon:"text-utility-brand-600"}},{variant:"subtle",colorScheme:"success",className:{root:"bg-utility-success-50 border-utility-success-200 border",label:"text-utility-success-700",indicator:"bg-utility-success-500",icon:"text-utility-success-700"}},{variant:"subtle",colorScheme:"warning",className:{root:"bg-utility-warning-50 border-utility-warning-200 border",label:"text-utility-warning-700",indicator:"bg-utility-warning-500",icon:"text-utility-warning-700"}},{variant:"subtle",colorScheme:"danger",className:{root:"bg-utility-error-50 border-utility-error-200 border",label:"text-utility-error-700",indicator:"bg-utility-error-500",icon:"text-utility-error-700"}},{variant:"subtle",colorScheme:"blue",className:{root:"bg-utility-blue-50 border-utility-blue-200 border",label:"text-utility-blue-700",indicator:"bg-utility-blue-500",icon:"text-utility-blue-700"}}],defaultVariants:{size:"md",variant:"subtle",colorScheme:"success",round:!0}});exports.badgeRecipe=r;