@opexa/portal-components 0.0.2 → 0.0.3
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/components/Account/Account.d.ts +12 -0
- package/dist/components/Account/Account.jsx +172 -0
- package/dist/components/Account/index.d.ts +1 -0
- package/dist/components/Account/index.js +1 -0
- package/dist/components/Banner/Banner.d.ts +11 -0
- package/dist/components/Banner/Banner.jsx +52 -0
- package/dist/components/Banner/index.d.ts +1 -0
- package/dist/components/Banner/index.js +1 -0
- package/dist/components/BetRecords/BetRecords.d.ts +7 -0
- package/dist/components/BetRecords/BetRecords.jsx +4 -0
- package/dist/components/BetRecords/BetRecordsContent.d.ts +2 -0
- package/dist/components/BetRecords/BetRecordsContent.jsx +413 -0
- package/dist/components/BetRecords/index.d.ts +1 -0
- package/dist/components/BetRecords/index.js +1 -0
- package/dist/components/DepositWithdrawal/AmountChoices.d.ts +11 -0
- package/dist/components/DepositWithdrawal/AmountChoices.jsx +31 -0
- package/dist/components/DepositWithdrawal/AvailablePromos.d.ts +8 -0
- package/dist/components/DepositWithdrawal/AvailablePromos.jsx +78 -0
- package/dist/components/DepositWithdrawal/Deposit/Deposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/Deposit.jsx +82 -0
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.jsx +275 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.jsx +282 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/SessionExpired.jsx +13 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.jsx +275 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.jsx +15 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +22 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.jsx +8 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.jsx +286 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.jsx +15 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.jsx +13 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.jsx +92 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +14 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.jsx +77 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.jsx +15 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +24 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.jsx +8 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.jsx +256 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.jsx +14 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.jsx +107 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.jsx +19 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +15 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.jsx +81 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawal.d.ts +6 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawal.jsx +101 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.d.ts +4 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.jsx +63 -0
- package/dist/components/DepositWithdrawal/PaymentMethods.d.ts +10 -0
- package/dist/components/DepositWithdrawal/PaymentMethods.jsx +70 -0
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal.d.ts +0 -0
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal.jsx +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal.d.ts +0 -0
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal.jsx +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal.d.ts +0 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal.jsx +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal.d.ts +0 -0
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal.jsx +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.jsx +3 -0
- package/dist/components/DepositWithdrawal/index.d.ts +1 -0
- package/dist/components/DepositWithdrawal/index.js +1 -0
- package/dist/components/DepositWithdrawal/utils.d.ts +3 -0
- package/dist/components/DepositWithdrawal/utils.js +8 -0
- package/dist/components/Disclaimer/Disclaimer.d.ts +5 -0
- package/dist/components/Disclaimer/Disclaimer.jsx +45 -0
- package/dist/components/Disclaimer/index.d.ts +1 -0
- package/dist/components/Disclaimer/index.js +1 -0
- package/dist/components/Disclaimer/useDisclaimer.d.ts +4 -0
- package/dist/components/Disclaimer/useDisclaimer.jsx +39 -0
- package/dist/components/Empty/CloudIcon.d.ts +2 -0
- package/dist/components/Empty/CloudIcon.jsx +42 -0
- package/dist/components/Empty/Empty.d.ts +9 -0
- package/dist/components/Empty/Empty.jsx +16 -0
- package/dist/components/Empty/index.d.ts +1 -0
- package/dist/components/Empty/index.js +1 -0
- package/dist/components/FeatureFlagProvider/FeatureFlagContext.d.ts +3 -0
- package/dist/components/FeatureFlagProvider/FeatureFlagContext.jsx +8 -0
- package/dist/components/FeatureFlagProvider/FeatureFlagProvider.d.ts +6 -0
- package/dist/components/FeatureFlagProvider/FeatureFlagProvider.jsx +19 -0
- package/dist/components/FeatureFlagProvider/index.d.ts +2 -0
- package/dist/components/FeatureFlagProvider/index.js +3 -0
- package/dist/components/FeatureFlagProvider/useFeatureFlag.d.ts +8 -0
- package/dist/components/FeatureFlagProvider/useFeatureFlag.js +66 -0
- package/dist/components/GameLaunch/GameLaunch.d.ts +5 -0
- package/dist/components/GameLaunch/GameLaunch.jsx +225 -0
- package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +6 -0
- package/dist/components/GameLaunch/GameLaunchTrigger.jsx +107 -0
- package/dist/components/GameLaunch/index.d.ts +2 -0
- package/dist/components/GameLaunch/index.js +2 -0
- package/dist/components/GameProviders/GameProviders.d.ts +14 -0
- package/dist/components/GameProviders/GameProviders.jsx +3 -0
- package/dist/components/Games/Games.d.ts +10 -0
- package/dist/components/Games/Games.jsx +57 -0
- package/dist/components/Games/GamesContent.d.ts +2 -0
- package/dist/components/Games/GamesContent.jsx +138 -0
- package/dist/components/Games/index.d.ts +1 -0
- package/dist/components/Games/index.js +1 -0
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +6 -0
- package/dist/components/JackpotCounter/JackpotCounter.jsx +61 -0
- package/dist/components/JackpotCounter/JackpotCounterContent.d.ts +2 -0
- package/dist/components/JackpotCounter/JackpotCounterContent.jsx +87 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +6 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.jsx +108 -0
- package/dist/components/JackpotCounter/index.d.ts +1 -0
- package/dist/components/JackpotCounter/index.js +1 -0
- package/dist/components/Marquee/Marquee.d.ts +5 -0
- package/dist/components/Marquee/Marquee.jsx +14 -0
- package/dist/components/Marquee/index.d.ts +1 -0
- package/dist/components/Marquee/index.js +1 -0
- package/dist/components/PortalProvider/PortalProvider.d.ts +2 -0
- package/dist/components/PortalProvider/PortalProvider.jsx +67 -0
- package/dist/components/PortalProvider/Providers.d.ts +2 -0
- package/dist/components/PortalProvider/Providers.jsx +49 -0
- package/dist/components/PortalProvider/index.d.ts +1 -0
- package/dist/components/PortalProvider/index.js +1 -0
- package/dist/components/Promo/Promo.d.ts +4 -0
- package/dist/components/Promo/Promo.jsx +50 -0
- package/dist/components/Promo/PromoContent.d.ts +2 -0
- package/dist/components/Promo/PromoContent.jsx +18 -0
- package/dist/components/Promo/index.d.ts +1 -0
- package/dist/components/Promo/index.js +1 -0
- package/dist/components/Promos/PromoCarousel.d.ts +2 -0
- package/dist/components/Promos/PromoCarousel.jsx +110 -0
- package/dist/components/Promos/PromoGrid.d.ts +2 -0
- package/dist/components/Promos/PromoGrid.jsx +24 -0
- package/dist/components/Promos/PromoItem.d.ts +7 -0
- package/dist/components/Promos/PromoItem.jsx +24 -0
- package/dist/components/Promos/Promos.d.ts +11 -0
- package/dist/components/Promos/Promos.jsx +57 -0
- package/dist/components/Promos/PromosContent.d.ts +2 -0
- package/dist/components/Promos/PromosContent.jsx +110 -0
- package/dist/components/Promos/index.d.ts +1 -0
- package/dist/components/Promos/index.js +1 -0
- package/dist/components/Protected/Protected.d.ts +6 -0
- package/dist/components/Protected/Protected.jsx +9 -0
- package/dist/components/Protected/index.d.ts +1 -0
- package/dist/components/Protected/index.js +1 -0
- package/dist/components/SignIn/SignIn.d.ts +8 -0
- package/dist/components/SignIn/SignIn.jsx +39 -0
- package/dist/components/SignIn/SignInForm.d.ts +1 -0
- package/dist/components/SignIn/SignInForm.jsx +308 -0
- package/dist/components/SignIn/index.d.ts +1 -0
- package/dist/components/SignIn/index.js +1 -0
- package/dist/components/SignUp/SignUp.d.ts +8 -0
- package/dist/components/SignUp/SignUp.jsx +37 -0
- package/dist/components/SignUp/SignUpForm.d.ts +1 -0
- package/dist/components/SignUp/SignUpForm.jsx +312 -0
- package/dist/components/SignUp/index.d.ts +1 -0
- package/dist/components/SignUp/index.js +1 -0
- package/dist/components/TopWins/TopWins.d.ts +5 -0
- package/dist/components/TopWins/TopWins.jsx +45 -0
- package/dist/components/TopWins/TopWinsContent.d.ts +2 -0
- package/dist/components/TopWins/TopWinsContent.jsx +51 -0
- package/dist/components/TopWins/index.d.ts +1 -0
- package/dist/components/TopWins/index.js +1 -0
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +6 -0
- package/dist/components/TournamentCounter/TournamentCounter.jsx +54 -0
- package/dist/components/TournamentCounter/TournamentCounterContent.d.ts +2 -0
- package/dist/components/TournamentCounter/TournamentCounterContent.jsx +79 -0
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +8 -0
- package/dist/components/TournamentCounter/TournamentCounterItem.jsx +111 -0
- package/dist/components/TournamentCounter/index.d.ts +1 -0
- package/dist/components/TournamentCounter/index.js +1 -0
- package/dist/components/TransactionRecords/DepositRecordsTable.d.ts +1 -0
- package/dist/components/TransactionRecords/DepositRecordsTable.jsx +181 -0
- package/dist/components/TransactionRecords/TableFilters.d.ts +26 -0
- package/dist/components/TransactionRecords/TableFilters.jsx +359 -0
- package/dist/components/TransactionRecords/TransactionRecords.d.ts +7 -0
- package/dist/components/TransactionRecords/TransactionRecords.jsx +33 -0
- package/dist/components/TransactionRecords/TransactionRecordsTable.d.ts +1 -0
- package/dist/components/TransactionRecords/TransactionRecordsTable.jsx +141 -0
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.d.ts +1 -0
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.jsx +177 -0
- package/dist/components/TransactionRecords/index.d.ts +1 -0
- package/dist/components/TransactionRecords/index.js +1 -0
- package/dist/components/index.d.ts +18 -0
- package/dist/components/index.js +18 -0
- package/dist/constants/index.d.ts +10 -0
- package/dist/constants/index.js +64 -0
- package/dist/handlers.d.ts +4 -6
- package/dist/handlers.js +291 -303
- package/dist/hooks/useAccountQuery/getAccountQueryKey.d.ts +2 -0
- package/dist/hooks/useAccountQuery/getAccountQueryKey.js +1 -0
- package/dist/hooks/useAccountQuery/prefetchAccountQuery.d.ts +1 -0
- package/dist/hooks/useAccountQuery/prefetchAccountQuery.js +75 -0
- package/dist/hooks/useAccountQuery/useAccountQuery.d.ts +3 -0
- package/dist/hooks/useAccountQuery/useAccountQuery.js +88 -0
- package/dist/hooks/useAuthenticateMutation/getAuthenticateMutationKey.d.ts +2 -0
- package/dist/hooks/useAuthenticateMutation/getAuthenticateMutationKey.js +1 -0
- package/dist/hooks/useAuthenticateMutation/useAuthenticateMutation.d.ts +3 -0
- package/dist/hooks/useAuthenticateMutation/useAuthenticateMutation.js +70 -0
- package/dist/hooks/useAvailablePromosQuery/getAvailablePromosQueryKey.d.ts +3 -0
- package/dist/hooks/useAvailablePromosQuery/getAvailablePromosQueryKey.js +4 -0
- package/dist/hooks/useAvailablePromosQuery/prefetchAvailablePromosQuery.d.ts +2 -0
- package/dist/hooks/useAvailablePromosQuery/prefetchAvailablePromosQuery.js +75 -0
- package/dist/hooks/useAvailablePromosQuery/useAvailablePromosQuery.d.ts +3 -0
- package/dist/hooks/useAvailablePromosQuery/useAvailablePromosQuery.js +88 -0
- package/dist/hooks/useBetRecordsQuery/getBetRecordsQueryKey.d.ts +3 -0
- package/dist/hooks/useBetRecordsQuery/getBetRecordsQueryKey.js +4 -0
- package/dist/hooks/useBetRecordsQuery/prefetchBetRecordsQuery.d.ts +2 -0
- package/dist/hooks/useBetRecordsQuery/prefetchBetRecordsQuery.js +75 -0
- package/dist/hooks/useBetRecordsQuery/useBetRecordsQuery.d.ts +3 -0
- package/dist/hooks/useBetRecordsQuery/useBetRecordsQuery.js +91 -0
- package/dist/hooks/useCashbacksQuery/getCashbacksQueryKey.d.ts +2 -0
- package/dist/hooks/useCashbacksQuery/getCashbacksQueryKey.js +1 -0
- package/dist/hooks/useCashbacksQuery/prefetchCashbacksQuery.d.ts +1 -0
- package/dist/hooks/useCashbacksQuery/prefetchCashbacksQuery.js +67 -0
- package/dist/hooks/useCashbacksQuery/useCashbacksQuery.d.ts +3 -0
- package/dist/hooks/useCashbacksQuery/useCashbacksQuery.js +68 -0
- package/dist/hooks/useControllableState.d.ts +8 -0
- package/dist/hooks/useControllableState.js +47 -0
- package/dist/hooks/useCooldown.d.ts +43 -0
- package/dist/hooks/useCooldown.js +101 -0
- package/dist/hooks/useCreateGCashDepositMutation/getCreateGCashDepositMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateGCashDepositMutation/getCreateGCashDepositMutationKey.js +3 -0
- package/dist/hooks/useCreateGCashDepositMutation/useCreateGCashDepositMutation.d.ts +4 -0
- package/dist/hooks/useCreateGCashDepositMutation/useCreateGCashDepositMutation.js +125 -0
- package/dist/hooks/useCreateGameSessionMutation/getCreateGameSessionMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateGameSessionMutation/getCreateGameSessionMutationKey.js +3 -0
- package/dist/hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.d.ts +3 -0
- package/dist/hooks/useCreateGameSessionMutation/useCreateGameSessionMutation.js +171 -0
- package/dist/hooks/useCreateMayaAppDepositMutation/getCreateMayaAppDepositMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateMayaAppDepositMutation/getCreateMayaAppDepositMutationKey.js +3 -0
- package/dist/hooks/useCreateMayaAppDepositMutation/useCreateMayaAppDepositMutation.d.ts +4 -0
- package/dist/hooks/useCreateMayaAppDepositMutation/useCreateMayaAppDepositMutation.js +125 -0
- package/dist/hooks/useCreateMayaDepositMutation/getCreateMayaDepositMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateMayaDepositMutation/getCreateMayaDepositMutationKey.js +3 -0
- package/dist/hooks/useCreateMayaDepositMutation/useCreateMayaDepositMutation.d.ts +4 -0
- package/dist/hooks/useCreateMayaDepositMutation/useCreateMayaDepositMutation.js +125 -0
- package/dist/hooks/useCreateOnlineBankDepositMutation/getCreateOnlineBankDepositMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateOnlineBankDepositMutation/getCreateOnlineBankDepositMutationKey.js +3 -0
- package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.d.ts +4 -0
- package/dist/hooks/useCreateOnlineBankDepositMutation/useCreateOnlineBankDepositMutation.js +125 -0
- package/dist/hooks/useCreateQRPHDepositMutation/getCreateQRPHDepositMutationKey.d.ts +2 -0
- package/dist/hooks/useCreateQRPHDepositMutation/getCreateQRPHDepositMutationKey.js +3 -0
- package/dist/hooks/useCreateQRPHDepositMutation/useCreateQRPHDepositMutation.d.ts +4 -0
- package/dist/hooks/useCreateQRPHDepositMutation/useCreateQRPHDepositMutation.js +125 -0
- package/dist/hooks/useDepositQuery/getDepositQueryKey.d.ts +2 -0
- package/dist/hooks/useDepositQuery/getDepositQueryKey.js +4 -0
- package/dist/hooks/useDepositQuery/prefetchDepositQuery.d.ts +1 -0
- package/dist/hooks/useDepositQuery/prefetchDepositQuery.js +75 -0
- package/dist/hooks/useDepositQuery/useDepositQuery.d.ts +3 -0
- package/dist/hooks/useDepositQuery/useDepositQuery.js +88 -0
- package/dist/hooks/useDepositRecordsQuery/getDepositRecordsQueryKey.d.ts +3 -0
- package/dist/hooks/useDepositRecordsQuery/getDepositRecordsQueryKey.js +4 -0
- package/dist/hooks/useDepositRecordsQuery/prefetchDepositRecordsQuery.d.ts +2 -0
- package/dist/hooks/useDepositRecordsQuery/prefetchDepositRecordsQuery.js +75 -0
- package/dist/hooks/useDepositRecordsQuery/useDepositRecordsQuery.d.ts +3 -0
- package/dist/hooks/useDepositRecordsQuery/useDepositRecordsQuery.js +93 -0
- package/dist/hooks/useDepositsCountQuery/getDepositsCountQueryKey.d.ts +2 -0
- package/dist/hooks/useDepositsCountQuery/getDepositsCountQueryKey.js +3 -0
- package/dist/hooks/useDepositsCountQuery/prefetchDepositsCountQuery.d.ts +1 -0
- package/dist/hooks/useDepositsCountQuery/prefetchDepositsCountQuery.js +75 -0
- package/dist/hooks/useDepositsCountQuery/useDepositsCountQuery.d.ts +2 -0
- package/dist/hooks/useDepositsCountQuery/useDepositsCountQuery.js +88 -0
- package/dist/hooks/useDisclosure.d.ts +11 -0
- package/dist/hooks/useDisclosure.js +13 -0
- package/dist/hooks/useEndGameSessionMutation/getEndGameSessionMutationKey.d.ts +2 -0
- package/dist/hooks/useEndGameSessionMutation/getEndGameSessionMutationKey.js +3 -0
- package/dist/hooks/useEndGameSessionMutation/useEndGameSessionMutation.d.ts +6 -0
- package/dist/hooks/useEndGameSessionMutation/useEndGameSessionMutation.js +95 -0
- package/dist/hooks/useGamesQuery/getGamesQueryKey.d.ts +3 -0
- package/dist/hooks/useGamesQuery/getGamesQueryKey.js +1 -0
- package/dist/hooks/useGamesQuery/prefetchGamesQuery.d.ts +2 -0
- package/dist/hooks/useGamesQuery/prefetchGamesQuery.js +80 -0
- package/dist/hooks/useGamesQuery/useGamesQuery.d.ts +3 -0
- package/dist/hooks/useGamesQuery/useGamesQuery.js +33 -0
- package/dist/hooks/useGlobalStore.d.ts +42 -0
- package/dist/hooks/useGlobalStore.js +76 -0
- package/dist/hooks/useInfiniteQueryHelper.d.ts +31 -0
- package/dist/hooks/useInfiniteQueryHelper.js +121 -0
- package/dist/hooks/useInstapayBankListQuery/getInstapayBankListQueryKey.d.ts +2 -0
- package/dist/hooks/useInstapayBankListQuery/getInstapayBankListQueryKey.js +3 -0
- package/dist/hooks/useInstapayBankListQuery/prefetchInstapayBankListQuery.d.ts +1 -0
- package/dist/hooks/useInstapayBankListQuery/prefetchInstapayBankListQuery.js +75 -0
- package/dist/hooks/useInstapayBankListQuery/useInstapayBankListQuery.d.ts +3 -0
- package/dist/hooks/useInstapayBankListQuery/useInstapayBankListQuery.js +88 -0
- package/dist/hooks/useIsMayaSessionValidQuery/getIsMayaSessionValidQueryKey.d.ts +2 -0
- package/dist/hooks/useIsMayaSessionValidQuery/getIsMayaSessionValidQueryKey.js +3 -0
- package/dist/hooks/useIsMayaSessionValidQuery/prefetchIsMayaSessionValidQuery.d.ts +1 -0
- package/dist/hooks/useIsMayaSessionValidQuery/prefetchIsMayaSessionValidQuery.js +84 -0
- package/dist/hooks/useIsMayaSessionValidQuery/useIsMayaSessionValidQuery.d.ts +2 -0
- package/dist/hooks/useIsMayaSessionValidQuery/useIsMayaSessionValidQuery.js +97 -0
- package/dist/hooks/useJackpotsQuery/getJackpotsQueryKey.d.ts +3 -0
- package/dist/hooks/useJackpotsQuery/getJackpotsQueryKey.js +1 -0
- package/dist/hooks/useJackpotsQuery/prefetchJackpotsQuery.d.ts +2 -0
- package/dist/hooks/useJackpotsQuery/prefetchJackpotsQuery.js +68 -0
- package/dist/hooks/useJackpotsQuery/useJackpotsQuery.d.ts +3 -0
- package/dist/hooks/useJackpotsQuery/useJackpotsQuery.js +32 -0
- package/dist/hooks/useLocaleInfo.d.ts +1 -0
- package/dist/hooks/useLocaleInfo.js +7 -0
- package/dist/hooks/useMemberVerificationQuery/getMemberVerificationQueryKey.d.ts +2 -0
- package/dist/hooks/useMemberVerificationQuery/getMemberVerificationQueryKey.js +1 -0
- package/dist/hooks/useMemberVerificationQuery/prefetchMemberVerificationQuery.d.ts +1 -0
- package/dist/hooks/useMemberVerificationQuery/prefetchMemberVerificationQuery.js +75 -0
- package/dist/hooks/useMemberVerificationQuery/useMemberVerificationQuery.d.ts +3 -0
- package/dist/hooks/useMemberVerificationQuery/useMemberVerificationQuery.js +87 -0
- package/dist/hooks/useMobileNumberParser.d.ts +8 -0
- package/dist/hooks/useMobileNumberParser.js +63 -0
- package/dist/hooks/useOnMMA.d.ts +2 -0
- package/dist/hooks/useOnMMA.js +5 -0
- package/dist/hooks/usePaymentSettingsQuery/getPaymentSettingsQueryKey.d.ts +2 -0
- package/dist/hooks/usePaymentSettingsQuery/getPaymentSettingsQueryKey.js +3 -0
- package/dist/hooks/usePaymentSettingsQuery/prefetchPaymentSettingsQuery.d.ts +1 -0
- package/dist/hooks/usePaymentSettingsQuery/prefetchPaymentSettingsQuery.js +75 -0
- package/dist/hooks/usePaymentSettingsQuery/usePaymentSettingsQuery.d.ts +3 -0
- package/dist/hooks/usePaymentSettingsQuery/usePaymentSettingsQuery.js +88 -0
- package/dist/hooks/usePlatformQuery/getPlatformQueryKey.d.ts +2 -0
- package/dist/hooks/usePlatformQuery/getPlatformQueryKey.js +1 -0
- package/dist/hooks/usePlatformQuery/prefetchPlatformQuery.d.ts +1 -0
- package/dist/hooks/usePlatformQuery/prefetchPlatformQuery.js +70 -0
- package/dist/hooks/usePlatformQuery/usePlatformQuery.d.ts +3 -0
- package/dist/hooks/usePlatformQuery/usePlatformQuery.js +65 -0
- package/dist/hooks/usePromoQuery/getPromoQueryKey.d.ts +2 -0
- package/dist/hooks/usePromoQuery/getPromoQueryKey.js +1 -0
- package/dist/hooks/usePromoQuery/prefetchPromoQuery.d.ts +1 -0
- package/dist/hooks/usePromoQuery/prefetchPromoQuery.js +67 -0
- package/dist/hooks/usePromoQuery/usePromoQuery.d.ts +3 -0
- package/dist/hooks/usePromoQuery/usePromoQuery.js +68 -0
- package/dist/hooks/usePromosQuery/getPromosQueryKey.d.ts +2 -0
- package/dist/hooks/usePromosQuery/getPromosQueryKey.js +1 -0
- package/dist/hooks/usePromosQuery/prefetchPromosQuery.d.ts +1 -0
- package/dist/hooks/usePromosQuery/prefetchPromosQuery.js +67 -0
- package/dist/hooks/usePromosQuery/usePromosQuery.d.ts +3 -0
- package/dist/hooks/usePromosQuery/usePromosQuery.js +68 -0
- package/dist/hooks/useSendVerificationCodeMutation/getSendVerificationCodeMutationKey.d.ts +2 -0
- package/dist/hooks/useSendVerificationCodeMutation/getSendVerificationCodeMutationKey.js +3 -0
- package/dist/hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.d.ts +3 -0
- package/dist/hooks/useSendVerificationCodeMutation/useSendVerificationCodeMutation.js +68 -0
- package/dist/hooks/useSessionQuery/getSessionQueryKey.d.ts +2 -0
- package/dist/hooks/useSessionQuery/getSessionQueryKey.js +1 -0
- package/dist/hooks/useSessionQuery/prefetchSessionQuery.d.ts +1 -0
- package/dist/hooks/useSessionQuery/prefetchSessionQuery.js +53 -0
- package/dist/hooks/useSessionQuery/useSessionQuery.d.ts +2 -0
- package/dist/hooks/useSessionQuery/useSessionQuery.js +60 -0
- package/dist/hooks/useSignOutMutation/getSignOutMutationKey.d.ts +2 -0
- package/dist/hooks/useSignOutMutation/getSignOutMutationKey.js +1 -0
- package/dist/hooks/useSignOutMutation/useSignOutMutation.d.ts +2 -0
- package/dist/hooks/useSignOutMutation/useSignOutMutation.js +69 -0
- package/dist/hooks/useSignUpMutation/getSignUpMutationKey.d.ts +2 -0
- package/dist/hooks/useSignUpMutation/getSignUpMutationKey.js +1 -0
- package/dist/hooks/useSignUpMutation/useSignUpMutation.d.ts +5 -0
- package/dist/hooks/useSignUpMutation/useSignUpMutation.js +65 -0
- package/dist/hooks/useSigninMutation/getSignInMutationKey.d.ts +2 -0
- package/dist/hooks/useSigninMutation/getSignInMutationKey.js +1 -0
- package/dist/hooks/useSigninMutation/useSignInMutation.d.ts +4 -0
- package/dist/hooks/useSigninMutation/useSignInMutation.js +73 -0
- package/dist/hooks/useSiteQuery/getSiteQueryKey.d.ts +2 -0
- package/dist/hooks/useSiteQuery/getSiteQueryKey.js +1 -0
- package/dist/hooks/useSiteQuery/prefetchSiteQuery.d.ts +1 -0
- package/dist/hooks/useSiteQuery/prefetchSiteQuery.js +70 -0
- package/dist/hooks/useSiteQuery/useSiteQuery.d.ts +3 -0
- package/dist/hooks/useSiteQuery/useSiteQuery.js +68 -0
- package/dist/hooks/useTopWinsQuery/getTopWinsQueryKey.d.ts +2 -0
- package/dist/hooks/useTopWinsQuery/getTopWinsQueryKey.js +1 -0
- package/dist/hooks/useTopWinsQuery/prefetchTopWinsQuery.d.ts +1 -0
- package/dist/hooks/useTopWinsQuery/prefetchTopWinsQuery.js +67 -0
- package/dist/hooks/useTopWinsQuery/useTopWinsQuery.d.ts +3 -0
- package/dist/hooks/useTopWinsQuery/useTopWinsQuery.js +66 -0
- package/dist/hooks/useTournamentsQuery/getTournamentsQueryKey.d.ts +3 -0
- package/dist/hooks/useTournamentsQuery/getTournamentsQueryKey.js +4 -0
- package/dist/hooks/useTournamentsQuery/prefetchTournamentsQuery.d.ts +2 -0
- package/dist/hooks/useTournamentsQuery/prefetchTournamentsQuery.js +68 -0
- package/dist/hooks/useTournamentsQuery/useTournamentsQuery.d.ts +3 -0
- package/dist/hooks/useTournamentsQuery/useTournamentsQuery.js +33 -0
- package/dist/hooks/useTransactionRecordsQuery/getTransactionRecordsQueryKey.d.ts +3 -0
- package/dist/hooks/useTransactionRecordsQuery/getTransactionRecordsQueryKey.js +4 -0
- package/dist/hooks/useTransactionRecordsQuery/prefetchTransactionRecordsQuery.d.ts +2 -0
- package/dist/hooks/useTransactionRecordsQuery/prefetchTransactionRecordsQuery.js +75 -0
- package/dist/hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.d.ts +3 -0
- package/dist/hooks/useTransactionRecordsQuery/useTransactionRecordsQuery.js +93 -0
- package/dist/hooks/useWalletQuery/getWalletQueryKey.d.ts +2 -0
- package/dist/hooks/useWalletQuery/getWalletQueryKey.js +1 -0
- package/dist/hooks/useWalletQuery/prefetchWalletQuery.d.ts +1 -0
- package/dist/hooks/useWalletQuery/prefetchWalletQuery.js +75 -0
- package/dist/hooks/useWalletQuery/useWalletQuery.d.ts +3 -0
- package/dist/hooks/useWalletQuery/useWalletQuery.js +87 -0
- package/dist/hooks/useWithdrawalRecordsQuery/getWithdrawalRecordsQueryKey.d.ts +3 -0
- package/dist/hooks/useWithdrawalRecordsQuery/getWithdrawalRecordsQueryKey.js +4 -0
- package/dist/hooks/useWithdrawalRecordsQuery/prefetchWithdrawalRecordsQuery.d.ts +2 -0
- package/dist/hooks/useWithdrawalRecordsQuery/prefetchWithdrawalRecordsQuery.js +75 -0
- package/dist/hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.d.ts +3 -0
- package/dist/hooks/useWithdrawalRecordsQuery/useWithdrawalRecordsQuery.js +94 -0
- package/dist/icons/AlertCircleIcon.d.ts +2 -0
- package/dist/icons/AlertCircleIcon.jsx +5 -0
- package/dist/icons/AlertTriangle.d.ts +2 -0
- package/dist/icons/AlertTriangle.jsx +5 -0
- package/dist/icons/ArrowLeftIcon.d.ts +2 -0
- package/dist/icons/ArrowLeftIcon.jsx +5 -0
- package/dist/icons/ArrowNarrowUpRightIcon.d.ts +2 -0
- package/dist/icons/ArrowNarrowUpRightIcon.jsx +5 -0
- package/dist/icons/ArrowRightIcon.d.ts +2 -0
- package/dist/icons/ArrowRightIcon.jsx +5 -0
- package/dist/icons/Award02Icon.d.ts +2 -0
- package/dist/icons/Award02Icon.jsx +5 -0
- package/dist/icons/BankIcon.d.ts +2 -0
- package/dist/icons/BankIcon.jsx +5 -0
- package/dist/icons/CheckCircleBrokenIcon.d.ts +2 -0
- package/dist/icons/CheckCircleBrokenIcon.jsx +5 -0
- package/dist/icons/CheckIcon.d.ts +2 -0
- package/dist/icons/CheckIcon.jsx +5 -0
- package/dist/icons/ChevronDownIcon.d.ts +2 -0
- package/dist/icons/ChevronDownIcon.jsx +5 -0
- package/dist/icons/ChevronLeftIcon.d.ts +2 -0
- package/dist/icons/ChevronLeftIcon.jsx +5 -0
- package/dist/icons/ChevronRightIcon.d.ts +2 -0
- package/dist/icons/ChevronRightIcon.jsx +5 -0
- package/dist/icons/ChevronUpIcon.d.ts +2 -0
- package/dist/icons/ChevronUpIcon.jsx +5 -0
- package/dist/icons/Expand03Icon.d.ts +2 -0
- package/dist/icons/Expand03Icon.jsx +5 -0
- package/dist/icons/FacebookIcon.d.ts +2 -0
- package/dist/icons/FacebookIcon.jsx +6 -0
- package/dist/icons/File02Icon.d.ts +2 -0
- package/dist/icons/File02Icon.jsx +5 -0
- package/dist/icons/Gift01Icon.d.ts +2 -0
- package/dist/icons/Gift01Icon.jsx +5 -0
- package/dist/icons/GoogleIcon.d.ts +2 -0
- package/dist/icons/GoogleIcon.jsx +9 -0
- package/dist/icons/Logout01Icon.d.ts +2 -0
- package/dist/icons/Logout01Icon.jsx +5 -0
- package/dist/icons/QrCode02Icon.d.ts +2 -0
- package/dist/icons/QrCode02Icon.jsx +5 -0
- package/dist/icons/SpinnerIcon.d.ts +2 -0
- package/dist/icons/SpinnerIcon.jsx +9 -0
- package/dist/icons/User01Icon.d.ts +2 -0
- package/dist/icons/User01Icon.jsx +5 -0
- package/dist/icons/Wallet02Icon.d.ts +2 -0
- package/dist/icons/Wallet02Icon.jsx +5 -0
- package/dist/icons/XIcon.d.ts +1 -0
- package/dist/icons/XIcon.jsx +5 -0
- package/dist/index.d.ts +1 -144
- package/dist/index.js +1 -7654
- package/dist/middleware.d.ts +2 -5
- package/dist/middleware.js +90 -90
- package/dist/services/client/authenticate.d.ts +2 -0
- package/dist/services/client/authenticate.js +76 -0
- package/dist/services/client/getSession.d.ts +2 -0
- package/dist/services/client/getSession.js +59 -0
- package/dist/services/client/signIn.d.ts +3 -0
- package/dist/services/client/signIn.js +77 -0
- package/dist/services/client/signOut.d.ts +1 -0
- package/dist/services/client/signOut.js +61 -0
- package/dist/services/server/authenticate.d.ts +2 -0
- package/dist/services/server/authenticate.js +69 -0
- package/dist/services/server/getSession.d.ts +2 -0
- package/dist/services/server/getSession.js +55 -0
- package/dist/services/server/signIn.d.ts +2 -0
- package/dist/services/server/signIn.js +74 -0
- package/dist/services/server/signOut.d.ts +1 -0
- package/dist/services/server/signOut.js +67 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/index.d.ts +63 -0
- package/dist/types/index.js +1 -0
- package/dist/ui/AlertDialog/AlertDialog.d.ts +508 -0
- package/dist/ui/AlertDialog/AlertDialog.jsx +17 -0
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +46 -0
- package/dist/ui/AlertDialog/alertDialog.recipe.js +17 -0
- package/dist/ui/AlertDialog/index.d.ts +1 -0
- package/dist/ui/AlertDialog/index.js +1 -0
- package/dist/ui/Avatar/Avatar.d.ts +68 -0
- package/dist/ui/Avatar/Avatar.jsx +9 -0
- package/dist/ui/Avatar/avatar.recipe.d.ts +22 -0
- package/dist/ui/Avatar/avatar.recipe.js +21 -0
- package/dist/ui/Avatar/index.d.ts +1 -0
- package/dist/ui/Avatar/index.js +1 -0
- package/dist/ui/Badge/Badge.d.ts +167 -0
- package/dist/ui/Badge/Badge.jsx +10 -0
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -0
- package/dist/ui/Badge/badge.anatomy.js +2 -0
- package/dist/ui/Badge/badge.recipe.d.ts +52 -0
- package/dist/ui/Badge/badge.recipe.js +67 -0
- package/dist/ui/Badge/index.d.ts +1 -0
- package/dist/ui/Badge/index.js +1 -0
- package/dist/ui/Button/Button.d.ts +7 -0
- package/dist/ui/Button/Button.jsx +20 -0
- package/dist/ui/Button/button.recipe.d.ts +57 -0
- package/dist/ui/Button/button.recipe.js +46 -0
- package/dist/ui/Button/index.d.ts +1 -0
- package/dist/ui/Button/index.js +1 -0
- package/dist/ui/Checkbox/Checkbox.d.ts +286 -0
- package/dist/ui/Checkbox/Checkbox.jsx +13 -0
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +40 -0
- package/dist/ui/Checkbox/checkbox.recipe.js +40 -0
- package/dist/ui/Checkbox/index.d.ts +1 -0
- package/dist/ui/Checkbox/index.js +1 -0
- package/dist/ui/Clipboard/Clipboard.d.ts +224 -0
- package/dist/ui/Clipboard/Clipboard.jsx +12 -0
- package/dist/ui/Clipboard/clipboard.recipe.d.ts +37 -0
- package/dist/ui/Clipboard/clipboard.recipe.js +38 -0
- package/dist/ui/Clipboard/index.d.ts +1 -0
- package/dist/ui/Clipboard/index.js +1 -0
- package/dist/ui/Combobox/Combobox.d.ts +1 -0
- package/dist/ui/Combobox/Combobox.jsx +2 -0
- package/dist/ui/Combobox/combobox.recipe.d.ts +0 -0
- package/dist/ui/Combobox/combobox.recipe.js +1 -0
- package/dist/ui/Combobox/index.d.ts +1 -0
- package/dist/ui/Combobox/index.js +1 -0
- package/dist/ui/DatePicker/DatePicker.d.ts +2114 -0
- package/dist/ui/DatePicker/DatePicker.jsx +30 -0
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +88 -0
- package/dist/ui/DatePicker/datePicker.recipe.js +15 -0
- package/dist/ui/DatePicker/index.d.ts +1 -0
- package/dist/ui/DatePicker/index.js +1 -0
- package/dist/ui/Dialog/Dialog.d.ts +508 -0
- package/dist/ui/Dialog/Dialog.jsx +17 -0
- package/dist/ui/Dialog/dialog.recipe.d.ts +46 -0
- package/dist/ui/Dialog/dialog.recipe.js +12 -0
- package/dist/ui/Dialog/index.d.ts +1 -0
- package/dist/ui/Dialog/index.js +1 -0
- package/dist/ui/Drawer/Drawer.d.ts +310 -0
- package/dist/ui/Drawer/Drawer.jsx +17 -0
- package/dist/ui/Drawer/drawer.recipe.d.ts +28 -0
- package/dist/ui/Drawer/drawer.recipe.js +24 -0
- package/dist/ui/Drawer/index.d.ts +1 -0
- package/dist/ui/Drawer/index.js +1 -0
- package/dist/ui/Field/Field.d.ts +303 -0
- package/dist/ui/Field/Field.jsx +13 -0
- package/dist/ui/Field/field.recipe.d.ts +43 -0
- package/dist/ui/Field/field.recipe.js +47 -0
- package/dist/ui/Field/index.d.ts +1 -0
- package/dist/ui/Field/index.js +1 -0
- package/dist/ui/IconButton/IconButton.d.ts +7 -0
- package/dist/ui/IconButton/IconButton.jsx +20 -0
- package/dist/ui/IconButton/iconButton.recipe.d.ts +80 -0
- package/dist/ui/IconButton/iconButton.recipe.js +17 -0
- package/dist/ui/IconButton/index.d.ts +1 -0
- package/dist/ui/IconButton/index.js +1 -0
- package/dist/ui/Menu/Menu.d.ts +2 -0
- package/dist/ui/Menu/Menu.jsx +3 -0
- package/dist/ui/Menu/index.d.ts +1 -0
- package/dist/ui/Menu/index.js +1 -0
- package/dist/ui/Menu/menu.recipe.d.ts +0 -0
- package/dist/ui/Menu/menu.recipe.js +1 -0
- package/dist/ui/NumberInput/NumberInput.d.ts +202 -0
- package/dist/ui/NumberInput/NumberInput.jsx +14 -0
- package/dist/ui/NumberInput/index.d.ts +1 -0
- package/dist/ui/NumberInput/index.js +1 -0
- package/dist/ui/NumberInput/numberInput.recipe.d.ts +25 -0
- package/dist/ui/NumberInput/numberInput.recipe.js +24 -0
- package/dist/ui/PinInput/PinInput.d.ts +163 -0
- package/dist/ui/PinInput/PinInput.jsx +11 -0
- package/dist/ui/PinInput/index.d.ts +1 -0
- package/dist/ui/PinInput/index.js +1 -0
- package/dist/ui/PinInput/pinInput.recipe.d.ts +40 -0
- package/dist/ui/PinInput/pinInput.recipe.js +38 -0
- package/dist/ui/Popover/Popover.d.ts +508 -0
- package/dist/ui/Popover/Popover.jsx +17 -0
- package/dist/ui/Popover/index.d.ts +1 -0
- package/dist/ui/Popover/index.js +1 -0
- package/dist/ui/Popover/popover.recipe.d.ts +46 -0
- package/dist/ui/Popover/popover.recipe.js +9 -0
- package/dist/ui/Presence.d.ts +2 -0
- package/dist/ui/Presence.jsx +5 -0
- package/dist/ui/Progress/Progress.d.ts +1 -0
- package/dist/ui/Progress/Progress.jsx +2 -0
- package/dist/ui/Progress/index.d.ts +1 -0
- package/dist/ui/Progress/index.js +1 -0
- package/dist/ui/Progress/progress.recipe.d.ts +0 -0
- package/dist/ui/Progress/progress.recipe.js +1 -0
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +226 -0
- package/dist/ui/SegmentGroup/SegmentGroup.jsx +14 -0
- package/dist/ui/SegmentGroup/index.d.ts +1 -0
- package/dist/ui/SegmentGroup/index.js +1 -0
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +37 -0
- package/dist/ui/SegmentGroup/segmentGroup.recipe.js +33 -0
- package/dist/ui/Select/Select.d.ts +739 -0
- package/dist/ui/Select/Select.jsx +24 -0
- package/dist/ui/Select/index.d.ts +1 -0
- package/dist/ui/Select/index.js +1 -0
- package/dist/ui/Select/select.recipe.d.ts +49 -0
- package/dist/ui/Select/select.recipe.js +37 -0
- package/dist/ui/Table/Table.d.ts +301 -0
- package/dist/ui/Table/Table.jsx +12 -0
- package/dist/ui/Table/index.d.ts +1 -0
- package/dist/ui/Table/index.js +1 -0
- package/dist/ui/Table/table.anatomy.d.ts +1 -0
- package/dist/ui/Table/table.anatomy.js +2 -0
- package/dist/ui/Table/table.recipe.d.ts +43 -0
- package/dist/ui/Table/table.recipe.js +27 -0
- package/dist/ui/Tabs/Tabs.d.ts +187 -0
- package/dist/ui/Tabs/Tabs.jsx +11 -0
- package/dist/ui/Tabs/index.d.ts +1 -0
- package/dist/ui/Tabs/index.js +1 -0
- package/dist/ui/Tabs/tabs.recipe.d.ts +37 -0
- package/dist/ui/Tabs/tabs.recipe.js +33 -0
- package/dist/ui/Tooltip/Tooltip.d.ts +1 -0
- package/dist/ui/Tooltip/Tooltip.jsx +2 -0
- package/dist/ui/Tooltip/index.d.ts +1 -0
- package/dist/ui/Tooltip/index.js +1 -0
- package/dist/ui/Tooltip/tooltip.recipe.d.ts +0 -0
- package/dist/ui/Tooltip/tooltip.recipe.js +1 -0
- package/dist/ui/index.d.ts +23 -0
- package/dist/ui/index.js +23 -0
- package/dist/utils/anatomyToRecipeSlots.d.ts +6 -0
- package/dist/utils/anatomyToRecipeSlots.js +13 -0
- package/dist/utils/capitalize.d.ts +40 -0
- package/dist/utils/capitalize.js +47 -0
- package/dist/utils/createPoll.d.ts +28 -0
- package/dist/utils/createPoll.js +104 -0
- package/dist/utils/createRecipeContext.d.ts +15 -0
- package/dist/utils/createRecipeContext.jsx +71 -0
- package/dist/utils/createSplitProps.d.ts +3 -0
- package/dist/utils/createSplitProps.js +19 -0
- package/dist/utils/dataAttr.d.ts +1 -0
- package/dist/utils/dataAttr.js +3 -0
- package/dist/utils/formatNumber.d.ts +21 -0
- package/dist/utils/formatNumber.js +45 -0
- package/dist/utils/getGameImageUrl.d.ts +12 -0
- package/dist/utils/getGameImageUrl.js +10 -0
- package/dist/utils/getLocaleInfo.d.ts +79 -0
- package/dist/utils/getLocaleInfo.jsx +237 -0
- package/dist/utils/getQueryClient.d.ts +2 -0
- package/dist/utils/getQueryClient.js +26 -0
- package/dist/utils/isMobile.d.ts +5 -0
- package/dist/utils/isMobile.js +16 -0
- package/dist/utils/parseDecimal.d.ts +2 -0
- package/dist/utils/parseDecimal.js +18 -0
- package/dist/utils/toaster.d.ts +2 -0
- package/dist/utils/toaster.js +8 -0
- package/package.json +156 -13
- package/dist/JackpotCounter.module-5D2TMSET.module.css +0 -46
- package/dist/QRPh-LURVHEVK.png +0 -0
- package/dist/ball-TSKR3KCL.png +0 -0
- package/dist/card-DTJVRZI7.png +0 -0
- package/dist/chunk-CA3CKIFK.mjs +0 -74
- package/dist/chunk-CA3CKIFK.mjs.map +0 -1
- package/dist/chunk-J5LGTIGS.mjs +0 -10
- package/dist/chunk-J5LGTIGS.mjs.map +0 -1
- package/dist/chunk-WGWFJYET.mjs +0 -1229
- package/dist/chunk-WGWFJYET.mjs.map +0 -1
- package/dist/close-chest-T4YK5KYS.png +0 -0
- package/dist/gcash-3TV2ZD5Z.png +0 -0
- package/dist/handlers.d.mts +0 -43
- package/dist/handlers.js.map +0 -1
- package/dist/handlers.mjs +0 -267
- package/dist/handlers.mjs.map +0 -1
- package/dist/index.d.mts +0 -144
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -6422
- package/dist/index.mjs.map +0 -1
- package/dist/maya-2LESMCYJ.png +0 -0
- package/dist/middleware.d.mts +0 -8
- package/dist/middleware.js.map +0 -1
- package/dist/middleware.mjs +0 -45
- package/dist/middleware.mjs.map +0 -1
- package/dist/online-bank-ZRRABICE.png +0 -0
- package/dist/open-chest-XMGW5QZE.png +0 -0
- package/dist/pagcor-AFUY5PSY.png +0 -0
- package/dist/responsible-gaming-MQQBK5RV.png +0 -0
- package/dist/trophy-QC26LEAT.png +0 -0
- package/dist/ui.d.mts +0 -6904
- package/dist/ui.d.ts +0 -6904
- package/dist/ui.js +0 -1280
- package/dist/ui.js.map +0 -1
- package/dist/ui.mjs +0 -48
- package/dist/ui.mjs.map +0 -1
package/dist/chunk-WGWFJYET.mjs
DELETED
|
@@ -1,1229 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__export
|
|
3
|
-
} from "./chunk-J5LGTIGS.mjs";
|
|
4
|
-
|
|
5
|
-
// src/lib/ui/AlertDialog/AlertDialog.tsx
|
|
6
|
-
var AlertDialog_exports = {};
|
|
7
|
-
__export(AlertDialog_exports, {
|
|
8
|
-
Backdrop: () => Backdrop,
|
|
9
|
-
Body: () => Body,
|
|
10
|
-
CloseTrigger: () => CloseTrigger,
|
|
11
|
-
Content: () => Content,
|
|
12
|
-
Context: () => Context,
|
|
13
|
-
Description: () => Description,
|
|
14
|
-
Footer: () => Footer,
|
|
15
|
-
Header: () => Header,
|
|
16
|
-
Positioner: () => Positioner,
|
|
17
|
-
Root: () => Root,
|
|
18
|
-
Title: () => Title,
|
|
19
|
-
Trigger: () => Trigger
|
|
20
|
-
});
|
|
21
|
-
import { ark, Dialog } from "@ark-ui/react";
|
|
22
|
-
|
|
23
|
-
// src/lib/utils/createRecipeContext.tsx
|
|
24
|
-
import * as React2 from "react";
|
|
25
|
-
|
|
26
|
-
// src/lib/utils/createSplitProps.ts
|
|
27
|
-
function splitProps(props, keys) {
|
|
28
|
-
const rest = {};
|
|
29
|
-
const result = {};
|
|
30
|
-
const keySet = new Set(keys);
|
|
31
|
-
for (const key in props) {
|
|
32
|
-
if (keySet.has(key)) {
|
|
33
|
-
result[key] = props[key];
|
|
34
|
-
} else {
|
|
35
|
-
rest[key] = props[key];
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return [result, rest];
|
|
39
|
-
}
|
|
40
|
-
function createSplitProps(keys) {
|
|
41
|
-
return function split(props) {
|
|
42
|
-
return splitProps(props, keys);
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// src/lib/utils/createRecipeContext.tsx
|
|
47
|
-
function createRecipeContext(recipe) {
|
|
48
|
-
const RecipeContext = React2.createContext(null);
|
|
49
|
-
function useContext2() {
|
|
50
|
-
const context = React2.useContext(RecipeContext);
|
|
51
|
-
return context;
|
|
52
|
-
}
|
|
53
|
-
function withRootProvider5(Component) {
|
|
54
|
-
const StyledComponent = (props) => {
|
|
55
|
-
const [recipeProps, localProps] = createSplitProps(recipe.variantKeys)(props);
|
|
56
|
-
const context = recipe(recipeProps);
|
|
57
|
-
return /* @__PURE__ */ React2.createElement(RecipeContext.Provider, { value: context }, /* @__PURE__ */ React2.createElement(Component, { ...localProps }));
|
|
58
|
-
};
|
|
59
|
-
return StyledComponent;
|
|
60
|
-
}
|
|
61
|
-
function withProvider12(Component, slot) {
|
|
62
|
-
const StyledComponent = (props) => {
|
|
63
|
-
const [recipeProps, localProps] = createSplitProps(recipe.variantKeys)(props);
|
|
64
|
-
const context = recipe(recipeProps);
|
|
65
|
-
const slotName = slot;
|
|
66
|
-
const getStyle = context[slotName];
|
|
67
|
-
const userDefinedClassName = "className" in localProps && typeof localProps.className === "string" ? localProps.className : void 0;
|
|
68
|
-
const className = !getStyle ? userDefinedClassName : getStyle({
|
|
69
|
-
...recipeProps,
|
|
70
|
-
className: userDefinedClassName
|
|
71
|
-
});
|
|
72
|
-
return /* @__PURE__ */ React2.createElement(RecipeContext.Provider, { value: context }, /* @__PURE__ */ React2.createElement(Component, { ...localProps, className }));
|
|
73
|
-
};
|
|
74
|
-
StyledComponent.displayName = Component.displayName || Component.name;
|
|
75
|
-
return StyledComponent;
|
|
76
|
-
}
|
|
77
|
-
function withContext16(Component, slot) {
|
|
78
|
-
const StyledComponent = (props) => {
|
|
79
|
-
const context = useContext2();
|
|
80
|
-
const [recipeProps, localProps] = createSplitProps(recipe.variantKeys)(props);
|
|
81
|
-
const slotName = slot;
|
|
82
|
-
const getStyle = !context ? recipe(recipeProps)[slotName] : context[slotName];
|
|
83
|
-
const userDefinedClassName = "className" in localProps && typeof localProps.className === "string" ? localProps.className : void 0;
|
|
84
|
-
const className = !getStyle ? userDefinedClassName : getStyle({
|
|
85
|
-
...recipeProps,
|
|
86
|
-
className: userDefinedClassName
|
|
87
|
-
});
|
|
88
|
-
return /* @__PURE__ */ React2.createElement(Component, { ...localProps, className });
|
|
89
|
-
};
|
|
90
|
-
StyledComponent.displayName = Component.displayName || Component.name;
|
|
91
|
-
return StyledComponent;
|
|
92
|
-
}
|
|
93
|
-
return {
|
|
94
|
-
withRootProvider: withRootProvider5,
|
|
95
|
-
withProvider: withProvider12,
|
|
96
|
-
withContext: withContext16
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// src/lib/ui/AlertDialog/alertDialog.recipe.ts
|
|
101
|
-
import { dialogAnatomy } from "@ark-ui/react";
|
|
102
|
-
import { tv } from "tailwind-variants";
|
|
103
|
-
|
|
104
|
-
// src/lib/utils/anatomyToRecipeSlots.ts
|
|
105
|
-
function anatomyToRecipeSlots(anatomy4, baseStyles = {}) {
|
|
106
|
-
const styles = anatomy4.keys().reduce((acc, key) => {
|
|
107
|
-
acc[key] = baseStyles[key] ?? "";
|
|
108
|
-
return acc;
|
|
109
|
-
}, {});
|
|
110
|
-
return styles;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// src/lib/ui/AlertDialog/alertDialog.recipe.ts
|
|
114
|
-
var anatomy = dialogAnatomy.extendWith("header", "body", "footer");
|
|
115
|
-
var alertDialogRecipe = tv({
|
|
116
|
-
slots: anatomyToRecipeSlots(anatomy, {
|
|
117
|
-
backdrop: "z-backdrop ui-open:animate-backdrop-in ui-closed:animate-backdrop-out fixed inset-0 bg-black/50",
|
|
118
|
-
positioner: "z-dialog fixed inset-0 flex items-center justify-center",
|
|
119
|
-
content: "ui-open:animate-alertdialog-in ui-closed:animate-alertdialog-out relative w-[400px] max-w-[90vw] rounded-xl bg-white p-3xl shadow-xl",
|
|
120
|
-
header: "flex items-start justify-between",
|
|
121
|
-
body: "mt-xl",
|
|
122
|
-
title: "text-lg font-semibold",
|
|
123
|
-
description: "text-gray-600 mt-xs text-sm",
|
|
124
|
-
closeTrigger: "text-gray-400 icon:size-6",
|
|
125
|
-
footer: "mt-4xl flex items-center justify-center gap-lg"
|
|
126
|
-
})
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
// src/lib/ui/AlertDialog/AlertDialog.tsx
|
|
130
|
-
var { withContext, withRootProvider } = createRecipeContext(alertDialogRecipe);
|
|
131
|
-
var Root = withRootProvider(Dialog.Root);
|
|
132
|
-
var Backdrop = withContext(Dialog.Backdrop, "backdrop");
|
|
133
|
-
var CloseTrigger = withContext(Dialog.CloseTrigger, "closeTrigger");
|
|
134
|
-
var Content = withContext(Dialog.Content, "content");
|
|
135
|
-
var Description = withContext(Dialog.Description, "description");
|
|
136
|
-
var Positioner = withContext(Dialog.Positioner, "positioner");
|
|
137
|
-
var Title = withContext(Dialog.Title, "title");
|
|
138
|
-
var Trigger = withContext(Dialog.Trigger, "trigger");
|
|
139
|
-
var Header = withContext(ark.section, "header");
|
|
140
|
-
var Body = withContext(ark.section, "body");
|
|
141
|
-
var Footer = withContext(ark.section, "footer");
|
|
142
|
-
var Context = Dialog.Context;
|
|
143
|
-
|
|
144
|
-
// src/lib/ui/Avatar/Avatar.tsx
|
|
145
|
-
var Avatar_exports = {};
|
|
146
|
-
__export(Avatar_exports, {
|
|
147
|
-
Context: () => Context2,
|
|
148
|
-
Fallback: () => Fallback,
|
|
149
|
-
Image: () => Image,
|
|
150
|
-
Root: () => Root2
|
|
151
|
-
});
|
|
152
|
-
import { Avatar } from "@ark-ui/react";
|
|
153
|
-
|
|
154
|
-
// src/lib/ui/Avatar/avatar.recipe.ts
|
|
155
|
-
import { avatarAnatomy } from "@ark-ui/react";
|
|
156
|
-
import { tv as tv2 } from "tailwind-variants";
|
|
157
|
-
var avatarRecipe = tv2({
|
|
158
|
-
slots: anatomyToRecipeSlots(avatarAnatomy, {
|
|
159
|
-
root: "border-gray-200 bg-gray-50 flex items-center justify-center overflow-hidden rounded-full border",
|
|
160
|
-
fallback: "text-gray-600 icon:text-gray-500 flex size-full items-center justify-center",
|
|
161
|
-
image: "size-full object-cover"
|
|
162
|
-
}),
|
|
163
|
-
variants: {
|
|
164
|
-
size: {
|
|
165
|
-
md: {
|
|
166
|
-
root: "size-10",
|
|
167
|
-
fallback: "icon:size-6 text-sm font-semibold"
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
defaultVariants: {
|
|
172
|
-
size: "md"
|
|
173
|
-
}
|
|
174
|
-
});
|
|
175
|
-
|
|
176
|
-
// src/lib/ui/Avatar/Avatar.tsx
|
|
177
|
-
var { withContext: withContext2, withProvider } = createRecipeContext(avatarRecipe);
|
|
178
|
-
var Root2 = withProvider(Avatar.Root, "root");
|
|
179
|
-
var Image = withContext2(Avatar.Image, "image");
|
|
180
|
-
var Fallback = withContext2(Avatar.Fallback, "fallback");
|
|
181
|
-
var Context2 = Avatar.Context;
|
|
182
|
-
|
|
183
|
-
// src/lib/ui/Badge/Badge.tsx
|
|
184
|
-
var Badge_exports = {};
|
|
185
|
-
__export(Badge_exports, {
|
|
186
|
-
Indicator: () => Indicator,
|
|
187
|
-
Label: () => Label,
|
|
188
|
-
Root: () => Root3
|
|
189
|
-
});
|
|
190
|
-
import { ark as ark2 } from "@ark-ui/react";
|
|
191
|
-
|
|
192
|
-
// src/lib/ui/Badge/badge.anatomy.ts
|
|
193
|
-
import { createAnatomy } from "@ark-ui/anatomy";
|
|
194
|
-
var badgeAnatomy = createAnatomy("badge").parts(
|
|
195
|
-
"root",
|
|
196
|
-
"label",
|
|
197
|
-
"indicator"
|
|
198
|
-
);
|
|
199
|
-
|
|
200
|
-
// src/lib/ui/Badge/badge.recipe.ts
|
|
201
|
-
import { tv as tv3 } from "tailwind-variants";
|
|
202
|
-
var badgeRecipe = tv3({
|
|
203
|
-
slots: anatomyToRecipeSlots(badgeAnatomy, {
|
|
204
|
-
root: "inline-flex items-center",
|
|
205
|
-
label: "",
|
|
206
|
-
indicator: ""
|
|
207
|
-
}),
|
|
208
|
-
variants: {
|
|
209
|
-
size: {
|
|
210
|
-
md: {
|
|
211
|
-
root: "gap-1 rounded-full px-2 py-0.5",
|
|
212
|
-
label: "text-xs font-medium leading-tight"
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
variant: {
|
|
216
|
-
subtle: {}
|
|
217
|
-
},
|
|
218
|
-
colorScheme: {
|
|
219
|
-
gray: {},
|
|
220
|
-
danger: {},
|
|
221
|
-
success: {},
|
|
222
|
-
warning: {},
|
|
223
|
-
info: {}
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
compoundVariants: [
|
|
227
|
-
{
|
|
228
|
-
variant: "subtle",
|
|
229
|
-
colorScheme: "gray",
|
|
230
|
-
className: {
|
|
231
|
-
root: "bg-gray-50 border-gray-200 border",
|
|
232
|
-
label: "text-gray-700"
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
variant: "subtle",
|
|
237
|
-
colorScheme: "success",
|
|
238
|
-
className: {
|
|
239
|
-
root: "bg-green-50 border-green-200 border",
|
|
240
|
-
label: "text-green-700"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
variant: "subtle",
|
|
245
|
-
colorScheme: "warning",
|
|
246
|
-
className: {
|
|
247
|
-
root: "bg-amber-50 border-amber-200 border",
|
|
248
|
-
label: "text-amber-700"
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
variant: "subtle",
|
|
253
|
-
colorScheme: "danger",
|
|
254
|
-
className: {
|
|
255
|
-
root: "bg-red-50 border-red-200 border",
|
|
256
|
-
label: "text-red-700"
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
],
|
|
260
|
-
defaultVariants: {
|
|
261
|
-
size: "md",
|
|
262
|
-
variant: "subtle",
|
|
263
|
-
colorScheme: "success"
|
|
264
|
-
}
|
|
265
|
-
});
|
|
266
|
-
|
|
267
|
-
// src/lib/ui/Badge/Badge.tsx
|
|
268
|
-
var { withProvider: withProvider2, withContext: withContext3 } = createRecipeContext(badgeRecipe);
|
|
269
|
-
var parts = badgeAnatomy.build();
|
|
270
|
-
var Root3 = withProvider2(
|
|
271
|
-
(props) => /* @__PURE__ */ React.createElement(ark2.div, { ...parts.root.attrs, ...props }),
|
|
272
|
-
"root"
|
|
273
|
-
);
|
|
274
|
-
var Label = withContext3(
|
|
275
|
-
(props) => /* @__PURE__ */ React.createElement(ark2.span, { ...parts.label.attrs, ...props }),
|
|
276
|
-
"label"
|
|
277
|
-
);
|
|
278
|
-
var Indicator = withContext3(
|
|
279
|
-
(props) => /* @__PURE__ */ React.createElement(ark2.svg, { ...parts.indicator.attrs, asChild: true, ...props }),
|
|
280
|
-
"indicator"
|
|
281
|
-
);
|
|
282
|
-
|
|
283
|
-
// src/lib/ui/Button/Button.tsx
|
|
284
|
-
import { ark as ark3 } from "@ark-ui/react";
|
|
285
|
-
|
|
286
|
-
// src/lib/utils/dataAttr.ts
|
|
287
|
-
function dataAttr(guard) {
|
|
288
|
-
return guard ? "" : void 0;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
// src/lib/ui/Button/button.recipe.ts
|
|
292
|
-
import { tv as tv4 } from "tailwind-variants";
|
|
293
|
-
var buttonRecipe = tv4({
|
|
294
|
-
base: "shadow-xs inline-flex items-center justify-center rounded-md font-semibold disabled:shadow-none",
|
|
295
|
-
variants: {
|
|
296
|
-
size: {
|
|
297
|
-
xs: "h-9 gap-sm px-2.5 text-sm",
|
|
298
|
-
sm: "h-10 gap-md px-3",
|
|
299
|
-
md: "h-11 gap-lg px-3.5"
|
|
300
|
-
},
|
|
301
|
-
variant: {
|
|
302
|
-
solid: "",
|
|
303
|
-
outline: ""
|
|
304
|
-
},
|
|
305
|
-
colorScheme: {
|
|
306
|
-
primary: "",
|
|
307
|
-
danger: "",
|
|
308
|
-
gray: ""
|
|
309
|
-
},
|
|
310
|
-
fullWidth: {
|
|
311
|
-
true: "flex w-full"
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
compoundVariants: [
|
|
315
|
-
{
|
|
316
|
-
variant: "solid",
|
|
317
|
-
colorScheme: "primary",
|
|
318
|
-
class: "bg-gray-900 text-white disabled:opacity-50"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
variant: "solid",
|
|
322
|
-
colorScheme: "danger",
|
|
323
|
-
class: "bg-red-500 text-white disabled:opacity-50"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
variant: "outline",
|
|
327
|
-
colorScheme: "gray",
|
|
328
|
-
class: "border-gray-200 border bg-transparent disabled:opacity-50"
|
|
329
|
-
}
|
|
330
|
-
],
|
|
331
|
-
defaultVariants: {
|
|
332
|
-
size: "md",
|
|
333
|
-
variant: "solid",
|
|
334
|
-
colorScheme: "primary",
|
|
335
|
-
fullWidth: true
|
|
336
|
-
}
|
|
337
|
-
});
|
|
338
|
-
|
|
339
|
-
// src/lib/ui/Button/Button.tsx
|
|
340
|
-
function Button(props) {
|
|
341
|
-
const [recipeProps, localProps] = createSplitProps(
|
|
342
|
-
buttonRecipe.variantKeys
|
|
343
|
-
)(props);
|
|
344
|
-
return /* @__PURE__ */ React.createElement(
|
|
345
|
-
ark3.button,
|
|
346
|
-
{
|
|
347
|
-
type: "button",
|
|
348
|
-
...localProps,
|
|
349
|
-
className: buttonRecipe({
|
|
350
|
-
...recipeProps,
|
|
351
|
-
className: localProps.className
|
|
352
|
-
}),
|
|
353
|
-
"data-disabled": dataAttr(localProps.disabled)
|
|
354
|
-
}
|
|
355
|
-
);
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
// src/lib/ui/Checkbox/Checkbox.tsx
|
|
359
|
-
var Checkbox_exports = {};
|
|
360
|
-
__export(Checkbox_exports, {
|
|
361
|
-
Context: () => Context3,
|
|
362
|
-
Control: () => Control,
|
|
363
|
-
Group: () => Group,
|
|
364
|
-
HiddenInput: () => HiddenInput,
|
|
365
|
-
Indicator: () => Indicator2,
|
|
366
|
-
Label: () => Label2,
|
|
367
|
-
Root: () => Root4,
|
|
368
|
-
withContext: () => withContext4,
|
|
369
|
-
withProvider: () => withProvider3
|
|
370
|
-
});
|
|
371
|
-
import { Checkbox } from "@ark-ui/react";
|
|
372
|
-
|
|
373
|
-
// src/lib/ui/Checkbox/checkbox.recipe.ts
|
|
374
|
-
import { checkboxAnatomy } from "@ark-ui/react";
|
|
375
|
-
import { tv as tv5 } from "tailwind-variants";
|
|
376
|
-
var checkboxRecipe = tv5({
|
|
377
|
-
slots: anatomyToRecipeSlots(checkboxAnatomy, {
|
|
378
|
-
root: "flex items-start gap-2",
|
|
379
|
-
control: "flex shrink-0 items-center justify-center rounded-md",
|
|
380
|
-
label: "text-checkbox-label-fg"
|
|
381
|
-
}),
|
|
382
|
-
variants: {
|
|
383
|
-
size: {
|
|
384
|
-
md: {
|
|
385
|
-
control: "size-4 rounded-[0.25rem]",
|
|
386
|
-
indicator: "size-3"
|
|
387
|
-
}
|
|
388
|
-
},
|
|
389
|
-
variant: {
|
|
390
|
-
outline: {}
|
|
391
|
-
},
|
|
392
|
-
colorScheme: {
|
|
393
|
-
gray: {}
|
|
394
|
-
}
|
|
395
|
-
},
|
|
396
|
-
compoundVariants: [
|
|
397
|
-
{
|
|
398
|
-
variant: "outline",
|
|
399
|
-
colorScheme: "gray",
|
|
400
|
-
className: {
|
|
401
|
-
control: [
|
|
402
|
-
"border",
|
|
403
|
-
"shadow-xs",
|
|
404
|
-
"bg-transparent",
|
|
405
|
-
"border-gray-200",
|
|
406
|
-
"ui-invalid:border-red-400",
|
|
407
|
-
"ui-checked:bg-gray-900",
|
|
408
|
-
"ui-checked:border-gray-900",
|
|
409
|
-
"ui-readonly:opacity-50",
|
|
410
|
-
"ui-readonly:shadow-none",
|
|
411
|
-
"ui-disabled:opacity-50",
|
|
412
|
-
"ui-disabled:shadow-none"
|
|
413
|
-
],
|
|
414
|
-
indicator: "text-white",
|
|
415
|
-
label: "text-gray-600 text-xs leading-tight"
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
],
|
|
419
|
-
defaultVariants: {
|
|
420
|
-
size: "md",
|
|
421
|
-
variant: "outline",
|
|
422
|
-
colorScheme: "gray"
|
|
423
|
-
}
|
|
424
|
-
});
|
|
425
|
-
|
|
426
|
-
// src/lib/ui/Checkbox/Checkbox.tsx
|
|
427
|
-
var { withContext: withContext4, withProvider: withProvider3 } = createRecipeContext(checkboxRecipe);
|
|
428
|
-
var Root4 = withProvider3(Checkbox.Root, "root");
|
|
429
|
-
var Control = withContext4(Checkbox.Control, "control");
|
|
430
|
-
var Group = withContext4(Checkbox.Group, "group");
|
|
431
|
-
var Indicator2 = withContext4(Checkbox.Indicator, "indicator");
|
|
432
|
-
var Label2 = withContext4(Checkbox.Label, "label");
|
|
433
|
-
var HiddenInput = Checkbox.HiddenInput;
|
|
434
|
-
var Context3 = Checkbox.Context;
|
|
435
|
-
|
|
436
|
-
// src/lib/ui/Combobox/Combobox.tsx
|
|
437
|
-
var Combobox_exports = {};
|
|
438
|
-
__export(Combobox_exports, {
|
|
439
|
-
Root: () => Root5
|
|
440
|
-
});
|
|
441
|
-
import { Combobox } from "@ark-ui/react";
|
|
442
|
-
var Root5 = Combobox.Root;
|
|
443
|
-
|
|
444
|
-
// src/lib/ui/DatePicker/DatePicker.tsx
|
|
445
|
-
var DatePicker_exports = {};
|
|
446
|
-
__export(DatePicker_exports, {
|
|
447
|
-
ClearTrigger: () => ClearTrigger,
|
|
448
|
-
Content: () => Content2,
|
|
449
|
-
Context: () => Context4,
|
|
450
|
-
Control: () => Control2,
|
|
451
|
-
Input: () => Input,
|
|
452
|
-
Label: () => Label3,
|
|
453
|
-
MonthSelect: () => MonthSelect,
|
|
454
|
-
NextTrigger: () => NextTrigger,
|
|
455
|
-
Positioner: () => Positioner2,
|
|
456
|
-
PresetTrigger: () => PresetTrigger,
|
|
457
|
-
PrevTrigger: () => PrevTrigger,
|
|
458
|
-
RangeText: () => RangeText,
|
|
459
|
-
Root: () => Root6,
|
|
460
|
-
Table: () => Table,
|
|
461
|
-
TableBody: () => TableBody,
|
|
462
|
-
TableCell: () => TableCell,
|
|
463
|
-
TableCellTrigger: () => TableCellTrigger,
|
|
464
|
-
TableHead: () => TableHead,
|
|
465
|
-
TableHeader: () => TableHeader,
|
|
466
|
-
TableRow: () => TableRow,
|
|
467
|
-
Trigger: () => Trigger2,
|
|
468
|
-
View: () => View,
|
|
469
|
-
ViewControl: () => ViewControl,
|
|
470
|
-
ViewTrigger: () => ViewTrigger,
|
|
471
|
-
YearSelect: () => YearSelect
|
|
472
|
-
});
|
|
473
|
-
import { DatePicker } from "@ark-ui/react";
|
|
474
|
-
|
|
475
|
-
// src/lib/ui/DatePicker/datePicker.recipe.ts
|
|
476
|
-
import { datePickerAnatomy } from "@ark-ui/react";
|
|
477
|
-
import { tv as tv6 } from "tailwind-variants";
|
|
478
|
-
var datePickerRecipe = tv6({
|
|
479
|
-
slots: anatomyToRecipeSlots(datePickerAnatomy, {
|
|
480
|
-
content: "border-gray-200 text-gray-600 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 z-dropdown rounded-xl border bg-white p-4",
|
|
481
|
-
table: "mt-3 border-separate border-spacing-0.5",
|
|
482
|
-
tableCellTrigger: "text-gray-600 ui-disabled:text-gray-400 ui-selected:ui-not-disabled:bg-gray-900 ui-today:after:bg-gray-600 ui-in-range:ui-not-disabled:bg-gray-100 ui-in-range:ui-not-disabled:text-gray-900 ui-range-start:ui-not-disabled:bg-gray-900 ui-range-end:ui-not-disabled:bg-gray-900 relative flex size-10 cursor-pointer items-center justify-center text-sm ui-disabled:cursor-not-allowed ui-selected:ui-not-disabled:rounded-full ui-selected:ui-not-disabled:font-medium ui-selected:ui-not-disabled:text-white ui-today:after:absolute ui-today:after:bottom-0 ui-today:after:left-1/2 ui-today:after:mb-1 ui-today:after:size-1 ui-today:after:-translate-x-1/2 ui-today:after:rounded-full ui-in-range:ui-not-disabled:rounded-full ui-in-range:ui-not-disabled:font-medium ui-range-start:ui-not-disabled:rounded-full ui-range-start:ui-not-disabled:font-medium ui-range-start:ui-not-disabled:text-white ui-range-end:ui-not-disabled:rounded-full ui-range-end:ui-not-disabled:font-medium ui-range-end:ui-not-disabled:text-white",
|
|
483
|
-
tableHeader: "py-3 text-sm font-medium",
|
|
484
|
-
viewControl: "flex items-center justify-between",
|
|
485
|
-
prevTrigger: "bg-gray-50 icon:size-5 flex size-9 items-center justify-center rounded-full",
|
|
486
|
-
nextTrigger: "bg-gray-50 icon:size-5 flex size-9 items-center justify-center rounded-full",
|
|
487
|
-
rangeText: "text-gray-600 text-base font-semibold"
|
|
488
|
-
})
|
|
489
|
-
});
|
|
490
|
-
|
|
491
|
-
// src/lib/ui/DatePicker/DatePicker.tsx
|
|
492
|
-
var { withProvider: withProvider4, withContext: withContext5 } = createRecipeContext(datePickerRecipe);
|
|
493
|
-
var Root6 = withProvider4(DatePicker.Root, "root");
|
|
494
|
-
var ClearTrigger = withContext5(
|
|
495
|
-
DatePicker.ClearTrigger,
|
|
496
|
-
"clearTrigger"
|
|
497
|
-
);
|
|
498
|
-
var Content2 = withContext5(DatePicker.Content, "content");
|
|
499
|
-
var Control2 = withContext5(DatePicker.Control, "control");
|
|
500
|
-
var Input = withContext5(DatePicker.Input, "input");
|
|
501
|
-
var Label3 = withContext5(DatePicker.Label, "label");
|
|
502
|
-
var MonthSelect = withContext5(DatePicker.MonthSelect, "monthSelect");
|
|
503
|
-
var NextTrigger = withContext5(DatePicker.NextTrigger, "nextTrigger");
|
|
504
|
-
var Positioner2 = withContext5(DatePicker.Positioner, "positioner");
|
|
505
|
-
var PresetTrigger = withContext5(
|
|
506
|
-
DatePicker.PresetTrigger,
|
|
507
|
-
"presetTrigger"
|
|
508
|
-
);
|
|
509
|
-
var PrevTrigger = withContext5(DatePicker.PrevTrigger, "prevTrigger");
|
|
510
|
-
var RangeText = withContext5(DatePicker.RangeText, "rangeText");
|
|
511
|
-
var Table = withContext5(DatePicker.Table, "table");
|
|
512
|
-
var TableBody = withContext5(DatePicker.TableBody, "tableBody");
|
|
513
|
-
var TableCell = withContext5(DatePicker.TableCell, "tableCell");
|
|
514
|
-
var TableCellTrigger = withContext5(
|
|
515
|
-
DatePicker.TableCellTrigger,
|
|
516
|
-
"tableCellTrigger"
|
|
517
|
-
);
|
|
518
|
-
var TableHead = withContext5(DatePicker.TableHead, "tableHead");
|
|
519
|
-
var TableHeader = withContext5(DatePicker.TableHeader, "tableHeader");
|
|
520
|
-
var TableRow = withContext5(DatePicker.TableRow, "tableRow");
|
|
521
|
-
var Trigger2 = withContext5(DatePicker.Trigger, "trigger");
|
|
522
|
-
var View = withContext5(DatePicker.View, "view");
|
|
523
|
-
var ViewControl = withContext5(DatePicker.ViewControl, "viewControl");
|
|
524
|
-
var ViewTrigger = withContext5(DatePicker.ViewTrigger, "viewTrigger");
|
|
525
|
-
var YearSelect = withContext5(DatePicker.YearSelect, "yearSelect");
|
|
526
|
-
var Context4 = DatePicker.Context;
|
|
527
|
-
|
|
528
|
-
// src/lib/ui/Dialog/Dialog.tsx
|
|
529
|
-
var Dialog_exports = {};
|
|
530
|
-
__export(Dialog_exports, {
|
|
531
|
-
Backdrop: () => Backdrop2,
|
|
532
|
-
Body: () => Body2,
|
|
533
|
-
CloseTrigger: () => CloseTrigger2,
|
|
534
|
-
Content: () => Content3,
|
|
535
|
-
Context: () => Context5,
|
|
536
|
-
Description: () => Description2,
|
|
537
|
-
Footer: () => Footer2,
|
|
538
|
-
Header: () => Header2,
|
|
539
|
-
Positioner: () => Positioner3,
|
|
540
|
-
Root: () => Root7,
|
|
541
|
-
Title: () => Title2,
|
|
542
|
-
Trigger: () => Trigger3
|
|
543
|
-
});
|
|
544
|
-
import { ark as ark4, Dialog as Dialog2 } from "@ark-ui/react";
|
|
545
|
-
|
|
546
|
-
// src/lib/ui/Dialog/dialog.recipe.ts
|
|
547
|
-
import { dialogAnatomy as dialogAnatomy2 } from "@ark-ui/react";
|
|
548
|
-
import { tv as tv7 } from "tailwind-variants";
|
|
549
|
-
var anatomy2 = dialogAnatomy2.extendWith("header", "body", "footer");
|
|
550
|
-
var dialogRecipe = tv7({
|
|
551
|
-
slots: anatomyToRecipeSlots(anatomy2, {
|
|
552
|
-
backdrop: "z-backdrop ui-open:animate-backdrop-in ui-closed:animate-backdrop-out fixed inset-0 bg-black/60",
|
|
553
|
-
positioner: "z-dialog fixed inset-0 overflow-y-auto lg:py-16",
|
|
554
|
-
content: "ui-open:animate-dialog-in ui-closed:animate-dialog-out relative",
|
|
555
|
-
closeTrigger: "icon:size-6 text-gray-400 absolute right-2.5 top-2.5 flex size-11 items-center justify-center"
|
|
556
|
-
})
|
|
557
|
-
});
|
|
558
|
-
|
|
559
|
-
// src/lib/ui/Dialog/Dialog.tsx
|
|
560
|
-
var { withContext: withContext6, withRootProvider: withRootProvider2 } = createRecipeContext(dialogRecipe);
|
|
561
|
-
var Root7 = withRootProvider2(Dialog2.Root);
|
|
562
|
-
var Backdrop2 = withContext6(Dialog2.Backdrop, "backdrop");
|
|
563
|
-
var CloseTrigger2 = withContext6(Dialog2.CloseTrigger, "closeTrigger");
|
|
564
|
-
var Content3 = withContext6(Dialog2.Content, "content");
|
|
565
|
-
var Description2 = withContext6(Dialog2.Description, "description");
|
|
566
|
-
var Positioner3 = withContext6(Dialog2.Positioner, "positioner");
|
|
567
|
-
var Title2 = withContext6(Dialog2.Title, "title");
|
|
568
|
-
var Trigger3 = withContext6(Dialog2.Trigger, "trigger");
|
|
569
|
-
var Header2 = withContext6(ark4.section, "header");
|
|
570
|
-
var Body2 = withContext6(ark4.section, "body");
|
|
571
|
-
var Footer2 = withContext6(ark4.section, "footer");
|
|
572
|
-
var Context5 = Dialog2.Context;
|
|
573
|
-
|
|
574
|
-
// src/lib/ui/Drawer/Drawer.tsx
|
|
575
|
-
var Drawer_exports = {};
|
|
576
|
-
__export(Drawer_exports, {
|
|
577
|
-
Backdrop: () => Backdrop3,
|
|
578
|
-
Body: () => Body3,
|
|
579
|
-
CloseTrigger: () => CloseTrigger3,
|
|
580
|
-
Content: () => Content4,
|
|
581
|
-
Context: () => Context6,
|
|
582
|
-
Description: () => Description3,
|
|
583
|
-
Footer: () => Footer3,
|
|
584
|
-
Header: () => Header3,
|
|
585
|
-
Positioner: () => Positioner4,
|
|
586
|
-
Root: () => Root8,
|
|
587
|
-
Title: () => Title3,
|
|
588
|
-
Trigger: () => Trigger4
|
|
589
|
-
});
|
|
590
|
-
import { ark as ark5, Dialog as Dialog3 } from "@ark-ui/react";
|
|
591
|
-
|
|
592
|
-
// src/lib/ui/Drawer/drawer.recipe.ts
|
|
593
|
-
import { dialogAnatomy as dialogAnatomy3 } from "@ark-ui/react";
|
|
594
|
-
import { tv as tv8 } from "tailwind-variants";
|
|
595
|
-
var anatomy3 = dialogAnatomy3.extendWith("header", "body", "footer");
|
|
596
|
-
var drawerRecipe = tv8({
|
|
597
|
-
slots: anatomyToRecipeSlots(anatomy3, {
|
|
598
|
-
backdrop: "z-backdrop ui-open:animate-backdrop-in ui-closed:animate-backdrop-out fixed inset-0 bg-black/60",
|
|
599
|
-
positioner: "z-drawer fixed inset-0 overflow-hidden overflow-y-auto lg:py-16",
|
|
600
|
-
content: "absolute top-0 h-full w-full bg-white lg:w-[400px]"
|
|
601
|
-
}),
|
|
602
|
-
variants: {
|
|
603
|
-
placement: {
|
|
604
|
-
left: {
|
|
605
|
-
content: "ui-open:animate-drawer-in-left ui-closed:animate-drawer-out-left left-0"
|
|
606
|
-
},
|
|
607
|
-
right: {
|
|
608
|
-
content: "ui-open:animate-drawer-in-right ui-closed:animate-drawer-out-right right-0"
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
defaultVariants: {
|
|
613
|
-
placement: "right"
|
|
614
|
-
}
|
|
615
|
-
});
|
|
616
|
-
|
|
617
|
-
// src/lib/ui/Drawer/Drawer.tsx
|
|
618
|
-
var { withContext: withContext7, withRootProvider: withRootProvider3 } = createRecipeContext(drawerRecipe);
|
|
619
|
-
var Root8 = withRootProvider3(Dialog3.Root);
|
|
620
|
-
var Backdrop3 = withContext7(Dialog3.Backdrop, "backdrop");
|
|
621
|
-
var CloseTrigger3 = withContext7(Dialog3.CloseTrigger, "closeTrigger");
|
|
622
|
-
var Content4 = withContext7(Dialog3.Content, "content");
|
|
623
|
-
var Description3 = withContext7(Dialog3.Description, "description");
|
|
624
|
-
var Positioner4 = withContext7(Dialog3.Positioner, "positioner");
|
|
625
|
-
var Title3 = withContext7(Dialog3.Title, "title");
|
|
626
|
-
var Trigger4 = withContext7(Dialog3.Trigger, "trigger");
|
|
627
|
-
var Header3 = withContext7(ark5.section, "header");
|
|
628
|
-
var Body3 = withContext7(ark5.section, "body");
|
|
629
|
-
var Footer3 = withContext7(ark5.section, "footer");
|
|
630
|
-
var Context6 = Dialog3.Context;
|
|
631
|
-
|
|
632
|
-
// src/lib/ui/Field/Field.tsx
|
|
633
|
-
var Field_exports = {};
|
|
634
|
-
__export(Field_exports, {
|
|
635
|
-
Context: () => Context7,
|
|
636
|
-
ErrorText: () => ErrorText,
|
|
637
|
-
HelperText: () => HelperText,
|
|
638
|
-
Input: () => Input2,
|
|
639
|
-
Label: () => Label4,
|
|
640
|
-
Root: () => Root9,
|
|
641
|
-
Select: () => Select,
|
|
642
|
-
Textarea: () => Textarea
|
|
643
|
-
});
|
|
644
|
-
import { Field } from "@ark-ui/react";
|
|
645
|
-
|
|
646
|
-
// src/lib/ui/Field/field.recipe.ts
|
|
647
|
-
import { fieldAnatomy } from "@ark-ui/react";
|
|
648
|
-
import { twMerge } from "tailwind-merge";
|
|
649
|
-
import { tv as tv9 } from "tailwind-variants";
|
|
650
|
-
var outlineGrayInputStyle = twMerge(
|
|
651
|
-
"border",
|
|
652
|
-
"shadow-xs",
|
|
653
|
-
"bg-input-outline-gray-bg",
|
|
654
|
-
"text-input-outline-gray-fg",
|
|
655
|
-
"border-gray-200",
|
|
656
|
-
"placeholder:text-gray-400",
|
|
657
|
-
"ui-invalid:border-red-400",
|
|
658
|
-
"disabled:opacity-50",
|
|
659
|
-
"disabled:shadow-none",
|
|
660
|
-
"read-only:opacity-50",
|
|
661
|
-
"read-only:shadow-none"
|
|
662
|
-
);
|
|
663
|
-
var fieldRecipe = tv9({
|
|
664
|
-
slots: anatomyToRecipeSlots(fieldAnatomy, {
|
|
665
|
-
input: "outer-spin:appearance-none inner-spin:appearance-none block w-full rounded-md outline-none",
|
|
666
|
-
select: "block w-full rounded-md outline-none",
|
|
667
|
-
textarea: "block w-full rounded-md outline-none",
|
|
668
|
-
label: "text-gray-600 mb-sm inline-block text-sm font-medium",
|
|
669
|
-
errorText: "text-red-600 mt-sm inline-block text-sm",
|
|
670
|
-
helperText: "text-gray-500",
|
|
671
|
-
requiredIndicator: "text-red-500 text-sm"
|
|
672
|
-
}),
|
|
673
|
-
variants: {
|
|
674
|
-
size: {
|
|
675
|
-
md: {
|
|
676
|
-
input: "h-11 px-3.5",
|
|
677
|
-
select: "h-11 px-3.5",
|
|
678
|
-
textarea: "px-3.5 py-2.5"
|
|
679
|
-
}
|
|
680
|
-
},
|
|
681
|
-
variant: {
|
|
682
|
-
outline: {}
|
|
683
|
-
},
|
|
684
|
-
colorScheme: {
|
|
685
|
-
gray: {}
|
|
686
|
-
}
|
|
687
|
-
},
|
|
688
|
-
compoundVariants: [
|
|
689
|
-
{
|
|
690
|
-
variant: "outline",
|
|
691
|
-
colorScheme: "gray",
|
|
692
|
-
className: {
|
|
693
|
-
input: outlineGrayInputStyle,
|
|
694
|
-
select: outlineGrayInputStyle,
|
|
695
|
-
textarea: outlineGrayInputStyle
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
],
|
|
699
|
-
defaultVariants: {
|
|
700
|
-
size: "md",
|
|
701
|
-
variant: "outline",
|
|
702
|
-
colorScheme: "gray"
|
|
703
|
-
}
|
|
704
|
-
});
|
|
705
|
-
|
|
706
|
-
// src/lib/ui/Field/Field.tsx
|
|
707
|
-
var { withContext: withContext8, withProvider: withProvider5 } = createRecipeContext(fieldRecipe);
|
|
708
|
-
var Root9 = withProvider5(Field.Root, "root");
|
|
709
|
-
var Label4 = withContext8(Field.Label, "label");
|
|
710
|
-
var Input2 = withContext8(Field.Input, "input");
|
|
711
|
-
var HelperText = withContext8(Field.HelperText, "helperText");
|
|
712
|
-
var ErrorText = withContext8(Field.ErrorText, "errorText");
|
|
713
|
-
var Select = withContext8(Field.Select, "select");
|
|
714
|
-
var Textarea = withContext8(Field.Textarea, "textarea");
|
|
715
|
-
var Context7 = Field.Context;
|
|
716
|
-
|
|
717
|
-
// src/lib/ui/IconButton/IconButton.tsx
|
|
718
|
-
import { ark as ark6 } from "@ark-ui/react";
|
|
719
|
-
|
|
720
|
-
// src/lib/ui/IconButton/iconButton.recipe.ts
|
|
721
|
-
import { tv as tv10 } from "tailwind-variants";
|
|
722
|
-
var iconButtonRecipe = tv10({
|
|
723
|
-
extend: buttonRecipe,
|
|
724
|
-
variants: {
|
|
725
|
-
size: {
|
|
726
|
-
sm: "h-10 min-w-10 px-0",
|
|
727
|
-
md: "h-11 min-w-11 px-0"
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
defaultVariants: {
|
|
731
|
-
size: "md",
|
|
732
|
-
variant: "solid",
|
|
733
|
-
colorScheme: "primary",
|
|
734
|
-
fullWidth: false
|
|
735
|
-
}
|
|
736
|
-
});
|
|
737
|
-
|
|
738
|
-
// src/lib/ui/IconButton/IconButton.tsx
|
|
739
|
-
function IconButton(props) {
|
|
740
|
-
const [recipeProps, localProps] = createSplitProps(
|
|
741
|
-
iconButtonRecipe.variantKeys
|
|
742
|
-
)(props);
|
|
743
|
-
return /* @__PURE__ */ React.createElement(
|
|
744
|
-
ark6.button,
|
|
745
|
-
{
|
|
746
|
-
type: "button",
|
|
747
|
-
...localProps,
|
|
748
|
-
className: iconButtonRecipe({
|
|
749
|
-
...recipeProps,
|
|
750
|
-
className: localProps.className
|
|
751
|
-
}),
|
|
752
|
-
"data-disabled": dataAttr(localProps.disabled)
|
|
753
|
-
}
|
|
754
|
-
);
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
// src/lib/ui/Menu/Menu.tsx
|
|
758
|
-
var Menu_exports = {};
|
|
759
|
-
__export(Menu_exports, {
|
|
760
|
-
Root: () => Root10
|
|
761
|
-
});
|
|
762
|
-
import { Menu } from "@ark-ui/react";
|
|
763
|
-
var Root10 = Menu.Root;
|
|
764
|
-
|
|
765
|
-
// src/lib/ui/NumberInput/NumberInput.tsx
|
|
766
|
-
var NumberInput_exports = {};
|
|
767
|
-
__export(NumberInput_exports, {
|
|
768
|
-
Context: () => Context8,
|
|
769
|
-
Control: () => Control3,
|
|
770
|
-
DecrementTrigger: () => DecrementTrigger,
|
|
771
|
-
IncrementTrigger: () => IncrementTrigger,
|
|
772
|
-
Input: () => Input3,
|
|
773
|
-
Label: () => Label5,
|
|
774
|
-
Root: () => Root11,
|
|
775
|
-
Scrubber: () => Scrubber,
|
|
776
|
-
ValueText: () => ValueText
|
|
777
|
-
});
|
|
778
|
-
import { NumberInput } from "@ark-ui/react";
|
|
779
|
-
|
|
780
|
-
// src/lib/ui/NumberInput/numberInput.recipe.ts
|
|
781
|
-
import { numberInputAnatomy } from "@ark-ui/react";
|
|
782
|
-
import { tv as tv11 } from "tailwind-variants";
|
|
783
|
-
var numberInputRecipe = tv11({
|
|
784
|
-
slots: anatomyToRecipeSlots(numberInputAnatomy, {
|
|
785
|
-
control: "border-gray-200 ui-invalid:border-red-400 grid grid-cols-[1fr_32px] grid-rows-[1fr_1fr] overflow-hidden rounded-lg border bg-transparent ui-disabled:opacity-50 ui-readonly:cursor-default ui-readonly:opacity-50",
|
|
786
|
-
input: "placeholder:text-gray-400 row-[span_2/span_2] w-full border-0 bg-transparent outline-none disabled:cursor-not-allowed",
|
|
787
|
-
label: "text-gray-600 mb-sm inline-block text-sm font-medium",
|
|
788
|
-
decrementTrigger: "border-gray-200 icon:text-gray-600 inline-flex cursor-pointer items-center justify-center border-l border-t ui-disabled:cursor-not-allowed",
|
|
789
|
-
incrementTrigger: "border-gray-200 icon:text-gray-600 inline-flex cursor-pointer items-center justify-center border-l ui-disabled:cursor-not-allowed"
|
|
790
|
-
}),
|
|
791
|
-
variants: {
|
|
792
|
-
size: {
|
|
793
|
-
md: {
|
|
794
|
-
control: "h-11 pl-3.5 text-base",
|
|
795
|
-
incrementTrigger: "icon:size-5",
|
|
796
|
-
decrementTrigger: "icon:size-5"
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
},
|
|
800
|
-
defaultVariants: {
|
|
801
|
-
size: "md"
|
|
802
|
-
}
|
|
803
|
-
});
|
|
804
|
-
|
|
805
|
-
// src/lib/ui/NumberInput/NumberInput.tsx
|
|
806
|
-
var { withContext: withContext9, withProvider: withProvider6 } = createRecipeContext(numberInputRecipe);
|
|
807
|
-
var Root11 = withProvider6(NumberInput.Root, "root");
|
|
808
|
-
var Control3 = withContext9(NumberInput.Control, "control");
|
|
809
|
-
var DecrementTrigger = withContext9(
|
|
810
|
-
NumberInput.DecrementTrigger,
|
|
811
|
-
"decrementTrigger"
|
|
812
|
-
);
|
|
813
|
-
var IncrementTrigger = withContext9(
|
|
814
|
-
NumberInput.IncrementTrigger,
|
|
815
|
-
"incrementTrigger"
|
|
816
|
-
);
|
|
817
|
-
var Input3 = withContext9(NumberInput.Input, "input");
|
|
818
|
-
var Label5 = withContext9(NumberInput.Label, "label");
|
|
819
|
-
var Scrubber = withContext9(NumberInput.Scrubber, "scrubber");
|
|
820
|
-
var ValueText = withContext9(NumberInput.ValueText, "valueText");
|
|
821
|
-
var Context8 = NumberInput.Context;
|
|
822
|
-
|
|
823
|
-
// src/lib/ui/PinInput/PinInput.tsx
|
|
824
|
-
var PinInput_exports = {};
|
|
825
|
-
__export(PinInput_exports, {
|
|
826
|
-
Context: () => Context9,
|
|
827
|
-
Control: () => Control4,
|
|
828
|
-
HiddenInput: () => HiddenInput2,
|
|
829
|
-
Input: () => Input4,
|
|
830
|
-
Label: () => Label6,
|
|
831
|
-
Root: () => Root12
|
|
832
|
-
});
|
|
833
|
-
import { PinInput } from "@ark-ui/react";
|
|
834
|
-
|
|
835
|
-
// src/lib/ui/PinInput/pinInput.recipe.ts
|
|
836
|
-
import { pinInputAnatomy } from "@ark-ui/react";
|
|
837
|
-
import { tv as tv12 } from "tailwind-variants";
|
|
838
|
-
var pinInputRecipe = tv12({
|
|
839
|
-
slots: anatomyToRecipeSlots(pinInputAnatomy, {
|
|
840
|
-
control: "grid grid-cols-6",
|
|
841
|
-
input: "aspect-[10/11] w-full rounded-md outline-none",
|
|
842
|
-
label: "text-input-label-fg mb-sm inline-block text-sm font-medium"
|
|
843
|
-
}),
|
|
844
|
-
variants: {
|
|
845
|
-
size: {
|
|
846
|
-
md: {
|
|
847
|
-
input: "text-center text-2xl font-medium",
|
|
848
|
-
control: "gap-2"
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
variant: {
|
|
852
|
-
outline: {}
|
|
853
|
-
},
|
|
854
|
-
colorScheme: {
|
|
855
|
-
gray: {}
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
compoundVariants: [
|
|
859
|
-
{
|
|
860
|
-
variant: "outline",
|
|
861
|
-
colorScheme: "gray",
|
|
862
|
-
className: {
|
|
863
|
-
input: "shadow-xs border-gray-200 placeholder:text-gray-400 ui-invalid:border-red-400 border read-only:opacity-50 read-only:shadow-none disabled:opacity-50 disabled:shadow-none"
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
],
|
|
867
|
-
defaultVariants: {
|
|
868
|
-
size: "md",
|
|
869
|
-
variant: "outline",
|
|
870
|
-
colorScheme: "gray"
|
|
871
|
-
}
|
|
872
|
-
});
|
|
873
|
-
|
|
874
|
-
// src/lib/ui/PinInput/PinInput.tsx
|
|
875
|
-
var { withContext: withContext10, withProvider: withProvider7 } = createRecipeContext(pinInputRecipe);
|
|
876
|
-
var Root12 = withProvider7(PinInput.Root, "root");
|
|
877
|
-
var Label6 = withContext10(PinInput.Label, "label");
|
|
878
|
-
var Control4 = withContext10(PinInput.Control, "control");
|
|
879
|
-
var Input4 = withContext10(PinInput.Input, "input");
|
|
880
|
-
var HiddenInput2 = PinInput.HiddenInput;
|
|
881
|
-
var Context9 = PinInput.Context;
|
|
882
|
-
|
|
883
|
-
// src/lib/ui/Popover/Popover.tsx
|
|
884
|
-
var Popover_exports = {};
|
|
885
|
-
__export(Popover_exports, {
|
|
886
|
-
Anchor: () => Anchor,
|
|
887
|
-
Arrow: () => Arrow,
|
|
888
|
-
ArrowTip: () => ArrowTip,
|
|
889
|
-
CloseTrigger: () => CloseTrigger4,
|
|
890
|
-
Content: () => Content5,
|
|
891
|
-
Context: () => Context10,
|
|
892
|
-
Description: () => Description4,
|
|
893
|
-
Indicator: () => Indicator3,
|
|
894
|
-
Positioner: () => Positioner5,
|
|
895
|
-
Root: () => Root13,
|
|
896
|
-
Title: () => Title4,
|
|
897
|
-
Trigger: () => Trigger5
|
|
898
|
-
});
|
|
899
|
-
import { Popover } from "@ark-ui/react";
|
|
900
|
-
|
|
901
|
-
// src/lib/ui/Popover/popover.recipe.ts
|
|
902
|
-
import { popoverAnatomy } from "@ark-ui/react";
|
|
903
|
-
import { tv as tv13 } from "tailwind-variants";
|
|
904
|
-
var popoverRecipe = tv13({
|
|
905
|
-
slots: anatomyToRecipeSlots(popoverAnatomy, {
|
|
906
|
-
content: "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",
|
|
907
|
-
positioner: "z-popover"
|
|
908
|
-
})
|
|
909
|
-
});
|
|
910
|
-
|
|
911
|
-
// src/lib/ui/Popover/Popover.tsx
|
|
912
|
-
var { withRootProvider: withRootProvider4, withContext: withContext11 } = createRecipeContext(popoverRecipe);
|
|
913
|
-
var Root13 = withRootProvider4(Popover.Root);
|
|
914
|
-
var Anchor = withContext11(Popover.Anchor, "anchor");
|
|
915
|
-
var Arrow = withContext11(Popover.Arrow, "arrow");
|
|
916
|
-
var ArrowTip = withContext11(Popover.ArrowTip, "arrowTip");
|
|
917
|
-
var CloseTrigger4 = withContext11(Popover.CloseTrigger, "closeTrigger");
|
|
918
|
-
var Content5 = withContext11(Popover.Content, "content");
|
|
919
|
-
var Description4 = withContext11(Popover.Description, "description");
|
|
920
|
-
var Indicator3 = withContext11(Popover.Indicator, "indicator");
|
|
921
|
-
var Positioner5 = withContext11(Popover.Positioner, "positioner");
|
|
922
|
-
var Title4 = withContext11(Popover.Title, "title");
|
|
923
|
-
var Trigger5 = withContext11(Popover.Trigger, "trigger");
|
|
924
|
-
var Context10 = Popover.Context;
|
|
925
|
-
|
|
926
|
-
// src/lib/ui/Progress/Progress.tsx
|
|
927
|
-
var Progress_exports = {};
|
|
928
|
-
__export(Progress_exports, {
|
|
929
|
-
Root: () => Root14
|
|
930
|
-
});
|
|
931
|
-
import { Progress } from "@ark-ui/react";
|
|
932
|
-
var Root14 = Progress.Root;
|
|
933
|
-
|
|
934
|
-
// src/lib/ui/SegmentGroup/SegmentGroup.tsx
|
|
935
|
-
var SegmentGroup_exports = {};
|
|
936
|
-
__export(SegmentGroup_exports, {
|
|
937
|
-
Context: () => Context11,
|
|
938
|
-
Indicator: () => Indicator4,
|
|
939
|
-
Item: () => Item,
|
|
940
|
-
ItemContext: () => ItemContext,
|
|
941
|
-
ItemControl: () => ItemControl,
|
|
942
|
-
ItemHiddenInput: () => ItemHiddenInput,
|
|
943
|
-
ItemText: () => ItemText,
|
|
944
|
-
Label: () => Label7,
|
|
945
|
-
Root: () => Root15
|
|
946
|
-
});
|
|
947
|
-
import { SegmentGroup } from "@ark-ui/react";
|
|
948
|
-
|
|
949
|
-
// src/lib/ui/SegmentGroup/segmentGroup.recipe.ts
|
|
950
|
-
import { segmentGroupAnatomy } from "@ark-ui/react";
|
|
951
|
-
import { tv as tv14 } from "tailwind-variants";
|
|
952
|
-
var segmentGroupRecipe = tv14({
|
|
953
|
-
slots: anatomyToRecipeSlots(segmentGroupAnatomy),
|
|
954
|
-
variants: {
|
|
955
|
-
size: {
|
|
956
|
-
md: {}
|
|
957
|
-
},
|
|
958
|
-
variant: {
|
|
959
|
-
unstyled: {},
|
|
960
|
-
default: {
|
|
961
|
-
root: "bg-gray-50 border-gray-200 relative flex w-fit gap-md rounded-md border p-1",
|
|
962
|
-
item: "z-1 text-gray-600 ui-checked:text-gray-800 relative cursor-pointer transition-all duration-200",
|
|
963
|
-
indicator: "left-[var(--left)] top-[var(--top)] h-[var(--height)] w-[var(--width)] bg-white"
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
},
|
|
967
|
-
compoundVariants: [
|
|
968
|
-
{
|
|
969
|
-
size: "md",
|
|
970
|
-
variant: "default",
|
|
971
|
-
className: {
|
|
972
|
-
item: "px-lg py-md text-sm font-semibold",
|
|
973
|
-
indicator: "rounded-sm shadow-sm"
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
],
|
|
977
|
-
defaultVariants: {
|
|
978
|
-
size: "md",
|
|
979
|
-
variant: "default"
|
|
980
|
-
}
|
|
981
|
-
});
|
|
982
|
-
|
|
983
|
-
// src/lib/ui/SegmentGroup/SegmentGroup.tsx
|
|
984
|
-
var { withProvider: withProvider8, withContext: withContext12 } = createRecipeContext(segmentGroupRecipe);
|
|
985
|
-
var Root15 = withProvider8(SegmentGroup.Root, "root");
|
|
986
|
-
var Indicator4 = withContext12(SegmentGroup.Indicator, "indicator");
|
|
987
|
-
var Item = withContext12(SegmentGroup.Item, "item");
|
|
988
|
-
var ItemControl = withContext12(SegmentGroup.ItemControl, "itemControl");
|
|
989
|
-
var ItemText = withContext12(SegmentGroup.ItemText, "itemText");
|
|
990
|
-
var Label7 = withContext12(SegmentGroup.Label, "label");
|
|
991
|
-
var Context11 = SegmentGroup.Context;
|
|
992
|
-
var ItemContext = SegmentGroup.ItemContext;
|
|
993
|
-
var ItemHiddenInput = SegmentGroup.ItemHiddenInput;
|
|
994
|
-
|
|
995
|
-
// src/lib/ui/Select/Select.tsx
|
|
996
|
-
var Select_exports = {};
|
|
997
|
-
__export(Select_exports, {
|
|
998
|
-
ClearTrigger: () => ClearTrigger2,
|
|
999
|
-
Content: () => Content6,
|
|
1000
|
-
Context: () => Context12,
|
|
1001
|
-
Control: () => Control5,
|
|
1002
|
-
HiddenSelect: () => HiddenSelect,
|
|
1003
|
-
Indicator: () => Indicator5,
|
|
1004
|
-
Item: () => Item2,
|
|
1005
|
-
ItemContext: () => ItemContext2,
|
|
1006
|
-
ItemGroup: () => ItemGroup,
|
|
1007
|
-
ItemGroupLabel: () => ItemGroupLabel,
|
|
1008
|
-
ItemIndicator: () => ItemIndicator,
|
|
1009
|
-
ItemText: () => ItemText2,
|
|
1010
|
-
Label: () => Label8,
|
|
1011
|
-
List: () => List,
|
|
1012
|
-
Positioner: () => Positioner6,
|
|
1013
|
-
Root: () => Root16,
|
|
1014
|
-
Trigger: () => Trigger6,
|
|
1015
|
-
ValueText: () => ValueText2
|
|
1016
|
-
});
|
|
1017
|
-
import { Select as Select2 } from "@ark-ui/react";
|
|
1018
|
-
|
|
1019
|
-
// src/lib/ui/Select/select.recipe.ts
|
|
1020
|
-
import { selectAnatomy } from "@ark-ui/react";
|
|
1021
|
-
import { tv as tv15 } from "tailwind-variants";
|
|
1022
|
-
var selectRecipe = tv15({
|
|
1023
|
-
slots: anatomyToRecipeSlots(selectAnatomy, {
|
|
1024
|
-
indicator: "text-gray-500 transition-transform duration-200 ui-open:rotate-180 ui-closed:rotate-0",
|
|
1025
|
-
positioner: "z-dropdown",
|
|
1026
|
-
content: "border-gray-200 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 z-dropdown rounded-md border bg-white p-1",
|
|
1027
|
-
item: "ui-highlighted:bg-gray-50 flex cursor-pointer items-center gap-2 rounded-sm px-2.5 py-1",
|
|
1028
|
-
itemText: "grow",
|
|
1029
|
-
itemIndicator: "text-green-500 size-4"
|
|
1030
|
-
}),
|
|
1031
|
-
variants: {
|
|
1032
|
-
size: {
|
|
1033
|
-
sm: {
|
|
1034
|
-
trigger: "h-10 gap-md px-3",
|
|
1035
|
-
indicator: "size-5"
|
|
1036
|
-
},
|
|
1037
|
-
md: {
|
|
1038
|
-
trigger: "h-11 gap-lg px-3.5",
|
|
1039
|
-
indicator: "size-5"
|
|
1040
|
-
}
|
|
1041
|
-
},
|
|
1042
|
-
variant: {
|
|
1043
|
-
outline: {
|
|
1044
|
-
trigger: "shadow-xs border-gray-200 ui-placeholder-shown:text-gray-500 flex items-center rounded-md border text-left"
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
defaultVariants: {
|
|
1049
|
-
size: "md",
|
|
1050
|
-
variant: "outline"
|
|
1051
|
-
}
|
|
1052
|
-
});
|
|
1053
|
-
|
|
1054
|
-
// src/lib/ui/Select/Select.tsx
|
|
1055
|
-
var { withProvider: withProvider9, withContext: withContext13 } = createRecipeContext(selectRecipe);
|
|
1056
|
-
var Root16 = withProvider9(Select2.Root, "root");
|
|
1057
|
-
var ClearTrigger2 = withContext13(Select2.ClearTrigger, "clearTrigger");
|
|
1058
|
-
var Content6 = withContext13(Select2.Content, "content");
|
|
1059
|
-
var Control5 = withContext13(Select2.Control, "control");
|
|
1060
|
-
var Indicator5 = withContext13(Select2.Indicator, "indicator");
|
|
1061
|
-
var Item2 = withContext13(Select2.Item, "item");
|
|
1062
|
-
var ItemGroup = withContext13(Select2.ItemGroup, "itemGroup");
|
|
1063
|
-
var ItemGroupLabel = withContext13(
|
|
1064
|
-
Select2.ItemGroupLabel,
|
|
1065
|
-
"itemGroupLabel"
|
|
1066
|
-
);
|
|
1067
|
-
var ItemIndicator = withContext13(Select2.ItemIndicator, "itemIndicator");
|
|
1068
|
-
var ItemText2 = withContext13(Select2.ItemText, "itemText");
|
|
1069
|
-
var Label8 = withContext13(Select2.Label, "label");
|
|
1070
|
-
var List = withContext13(Select2.List, "list");
|
|
1071
|
-
var Positioner6 = withContext13(Select2.Positioner, "positioner");
|
|
1072
|
-
var Trigger6 = withContext13(Select2.Trigger, "trigger");
|
|
1073
|
-
var ValueText2 = withContext13(Select2.ValueText, "valueText");
|
|
1074
|
-
var Context12 = Select2.Context;
|
|
1075
|
-
var HiddenSelect = Select2.HiddenSelect;
|
|
1076
|
-
var ItemContext2 = Select2.ItemContext;
|
|
1077
|
-
|
|
1078
|
-
// src/lib/ui/Table/Table.tsx
|
|
1079
|
-
var Table_exports = {};
|
|
1080
|
-
__export(Table_exports, {
|
|
1081
|
-
Body: () => Body4,
|
|
1082
|
-
Cell: () => Cell,
|
|
1083
|
-
Footer: () => Footer4,
|
|
1084
|
-
Header: () => Header4,
|
|
1085
|
-
Heading: () => Heading,
|
|
1086
|
-
Root: () => Root17,
|
|
1087
|
-
Row: () => Row
|
|
1088
|
-
});
|
|
1089
|
-
import { ark as ark7 } from "@ark-ui/react";
|
|
1090
|
-
|
|
1091
|
-
// src/lib/ui/Table/table.recipe.ts
|
|
1092
|
-
import { tv as tv16 } from "tailwind-variants";
|
|
1093
|
-
|
|
1094
|
-
// src/lib/ui/Table/table.anatomy.ts
|
|
1095
|
-
import { createAnatomy as createAnatomy2 } from "@ark-ui/anatomy";
|
|
1096
|
-
var tableAnatomy = createAnatomy2("table").parts(
|
|
1097
|
-
"root",
|
|
1098
|
-
"header",
|
|
1099
|
-
"body",
|
|
1100
|
-
"footer",
|
|
1101
|
-
"row",
|
|
1102
|
-
"cell",
|
|
1103
|
-
"heading"
|
|
1104
|
-
);
|
|
1105
|
-
|
|
1106
|
-
// src/lib/ui/Table/table.recipe.ts
|
|
1107
|
-
var tableRecipe = tv16({
|
|
1108
|
-
slots: anatomyToRecipeSlots(tableAnatomy, {
|
|
1109
|
-
root: "w-full whitespace-nowrap"
|
|
1110
|
-
}),
|
|
1111
|
-
variants: {
|
|
1112
|
-
size: {
|
|
1113
|
-
md: {
|
|
1114
|
-
root: "border-gray-200 border",
|
|
1115
|
-
heading: "px-3xl py-lg text-left text-xs font-medium",
|
|
1116
|
-
cell: "px-3xl py-xl text-sm"
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
variant: {
|
|
1120
|
-
outline: {
|
|
1121
|
-
header: "tr:bg-white tr:border-b tr:border-gray-200",
|
|
1122
|
-
body: "tr:odd:bg-gray-50 tr:border-gray-200 tr:border-b tr:last:border-b-0 tr:even:bg-white"
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
defaultVariants: {
|
|
1127
|
-
size: "md",
|
|
1128
|
-
variant: "outline"
|
|
1129
|
-
}
|
|
1130
|
-
});
|
|
1131
|
-
|
|
1132
|
-
// src/lib/ui/Table/Table.tsx
|
|
1133
|
-
var { withProvider: withProvider10, withContext: withContext14 } = createRecipeContext(tableRecipe);
|
|
1134
|
-
var Root17 = withProvider10(ark7.table, "root");
|
|
1135
|
-
var Header4 = withContext14(ark7.thead, "header");
|
|
1136
|
-
var Body4 = withContext14(ark7.tbody, "body");
|
|
1137
|
-
var Footer4 = withContext14(ark7.tfoot, "footer");
|
|
1138
|
-
var Row = withContext14(ark7.tr, "row");
|
|
1139
|
-
var Heading = withContext14(ark7.th, "heading");
|
|
1140
|
-
var Cell = withContext14(ark7.td, "cell");
|
|
1141
|
-
|
|
1142
|
-
// src/lib/ui/Tabs/Tabs.tsx
|
|
1143
|
-
var Tabs_exports = {};
|
|
1144
|
-
__export(Tabs_exports, {
|
|
1145
|
-
Content: () => Content7,
|
|
1146
|
-
Context: () => Context13,
|
|
1147
|
-
Indicator: () => Indicator6,
|
|
1148
|
-
List: () => List2,
|
|
1149
|
-
Root: () => Root18,
|
|
1150
|
-
Trigger: () => Trigger7
|
|
1151
|
-
});
|
|
1152
|
-
import { Tabs } from "@ark-ui/react";
|
|
1153
|
-
|
|
1154
|
-
// src/lib/ui/Tabs/tabs.recipe.ts
|
|
1155
|
-
import { tabsAnatomy } from "@ark-ui/react";
|
|
1156
|
-
import { tv as tv17 } from "tailwind-variants";
|
|
1157
|
-
var tabsRecipe = tv17({
|
|
1158
|
-
slots: anatomyToRecipeSlots(tabsAnatomy),
|
|
1159
|
-
variants: {
|
|
1160
|
-
size: {
|
|
1161
|
-
md: {}
|
|
1162
|
-
},
|
|
1163
|
-
variant: {
|
|
1164
|
-
unstyled: {},
|
|
1165
|
-
default: {
|
|
1166
|
-
list: "border-gray-200 bg-gray-50 relative flex w-fit gap-md rounded-md border p-1",
|
|
1167
|
-
indicator: "h-[var(--height)] w-[var(--width)] bg-white",
|
|
1168
|
-
trigger: "z-1 text-gray-600 ui-selected:text-gray-800 relative transition-all duration-200"
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
},
|
|
1172
|
-
compoundVariants: [
|
|
1173
|
-
{
|
|
1174
|
-
size: "md",
|
|
1175
|
-
variant: "default",
|
|
1176
|
-
className: {
|
|
1177
|
-
indicator: "rounded-sm shadow-sm",
|
|
1178
|
-
trigger: "px-lg py-md text-sm font-semibold"
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1181
|
-
],
|
|
1182
|
-
defaultVariants: {
|
|
1183
|
-
size: "md",
|
|
1184
|
-
variant: "default"
|
|
1185
|
-
}
|
|
1186
|
-
});
|
|
1187
|
-
|
|
1188
|
-
// src/lib/ui/Tabs/Tabs.tsx
|
|
1189
|
-
var { withContext: withContext15, withProvider: withProvider11 } = createRecipeContext(tabsRecipe);
|
|
1190
|
-
var Root18 = withProvider11(Tabs.Root, "root");
|
|
1191
|
-
var Content7 = withContext15(Tabs.Content, "content");
|
|
1192
|
-
var Indicator6 = withContext15(Tabs.Indicator, "indicator");
|
|
1193
|
-
var List2 = withContext15(Tabs.List, "list");
|
|
1194
|
-
var Trigger7 = withContext15(Tabs.Trigger, "trigger");
|
|
1195
|
-
var Context13 = Tabs.Context;
|
|
1196
|
-
|
|
1197
|
-
// src/lib/ui/Tooltip/Tooltip.tsx
|
|
1198
|
-
var Tooltip_exports = {};
|
|
1199
|
-
__export(Tooltip_exports, {
|
|
1200
|
-
Root: () => Root19
|
|
1201
|
-
});
|
|
1202
|
-
import { Tooltip } from "@ark-ui/react";
|
|
1203
|
-
var Root19 = Tooltip.Root;
|
|
1204
|
-
|
|
1205
|
-
export {
|
|
1206
|
-
AlertDialog_exports,
|
|
1207
|
-
Avatar_exports,
|
|
1208
|
-
Badge_exports,
|
|
1209
|
-
dataAttr,
|
|
1210
|
-
Button,
|
|
1211
|
-
Checkbox_exports,
|
|
1212
|
-
Combobox_exports,
|
|
1213
|
-
DatePicker_exports,
|
|
1214
|
-
Dialog_exports,
|
|
1215
|
-
Drawer_exports,
|
|
1216
|
-
Field_exports,
|
|
1217
|
-
IconButton,
|
|
1218
|
-
Menu_exports,
|
|
1219
|
-
NumberInput_exports,
|
|
1220
|
-
PinInput_exports,
|
|
1221
|
-
Popover_exports,
|
|
1222
|
-
Progress_exports,
|
|
1223
|
-
SegmentGroup_exports,
|
|
1224
|
-
Select_exports,
|
|
1225
|
-
Table_exports,
|
|
1226
|
-
Tabs_exports,
|
|
1227
|
-
Tooltip_exports
|
|
1228
|
-
};
|
|
1229
|
-
//# sourceMappingURL=chunk-WGWFJYET.mjs.map
|