@opexa/portal-components 0.0.99 → 0.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/hooks/index.d.ts +0 -5
- package/dist/client/hooks/index.js +0 -5
- package/dist/client/hooks/useAccountQuery.js +3 -3
- package/dist/client/hooks/useAuthenticateMutation.d.ts +1 -1
- package/dist/client/hooks/useAuthenticateMutation.js +3 -2
- package/dist/client/hooks/useAvailablePromosQuery.d.ts +1 -1
- package/dist/client/hooks/useAvailablePromosQuery.js +3 -3
- package/dist/client/hooks/useAvailableQuestsCountQuery.js +3 -3
- package/dist/client/hooks/useAvailableQuestsQuery.js +3 -3
- package/dist/client/hooks/useBetRecordsQuery.d.ts +1 -1
- package/dist/client/hooks/useBetRecordsQuery.js +3 -3
- package/dist/client/hooks/useBonusQuery.js +3 -3
- package/dist/client/hooks/useBonusesCountQuery.js +3 -3
- package/dist/client/hooks/useBonusesQuery.js +3 -3
- package/dist/client/hooks/useCashbackBonusQuery.js +3 -3
- package/dist/client/hooks/useCashbackBonusesCountQuery.js +3 -3
- package/dist/client/hooks/useCashbackBonusesQuery.js +3 -3
- package/dist/client/hooks/useCashbackQuery.js +2 -2
- package/dist/client/hooks/useCashbacksQuery.js +2 -2
- package/dist/client/hooks/useCheckInDailyCheckInQuestMutation.js +3 -3
- package/dist/client/hooks/useClaimCashbackBonusMutation.js +4 -3
- package/dist/client/hooks/useClaimSpotBonusMutation.js +4 -3
- package/dist/client/hooks/useCreateGCashDepositMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateGCashDepositMutation.js +5 -3
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.js +3 -3
- package/dist/client/hooks/useCreateGameSessionMutation.js +5 -3
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.js +3 -3
- package/dist/client/hooks/useCreateMayaAppDepositMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateMayaAppDepositMutation.js +5 -3
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.js +3 -3
- package/dist/client/hooks/useCreateMayaDepositMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateMayaDepositMutation.js +5 -3
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.js +3 -3
- package/dist/client/hooks/useCreateOnlineBankDepositMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateOnlineBankDepositMutation.js +5 -3
- package/dist/client/hooks/useCreateQRPHDepositMutation.d.ts +1 -1
- package/dist/client/hooks/useCreateQRPHDepositMutation.js +5 -3
- package/dist/client/hooks/useDepositQuery.js +3 -3
- package/dist/client/hooks/useDepositRecordsQuery.d.ts +1 -1
- package/dist/client/hooks/useDepositRecordsQuery.js +3 -3
- package/dist/client/hooks/useDepositsCountQuery.js +3 -3
- package/dist/client/hooks/useEndGameSessionMutation.js +4 -3
- package/dist/client/hooks/useFavoriteGamesQuery.js +3 -3
- package/dist/client/hooks/useGamesQuery.d.ts +1 -1
- package/dist/client/hooks/useGamesQuery.js +2 -2
- package/dist/client/hooks/useGlobalStore.d.ts +3 -0
- package/dist/client/hooks/useGlobalStore.js +41 -1
- package/dist/client/hooks/useInstapayBankListQuery.js +3 -3
- package/dist/client/hooks/useIsMayaSessionValidQuery.js +5 -5
- package/dist/client/hooks/useJackpotPayoutsQuery.d.ts +1 -1
- package/dist/client/hooks/useJackpotPayoutsQuery.js +2 -2
- package/dist/client/hooks/useJackpotsCountQuery.d.ts +1 -1
- package/dist/client/hooks/useJackpotsCountQuery.js +2 -2
- package/dist/client/hooks/useJackpotsQuery.d.ts +1 -1
- package/dist/client/hooks/useJackpotsQuery.js +2 -2
- package/dist/client/hooks/useLocaleInfo.d.ts +1 -1
- package/dist/client/hooks/useLocaleInfo.js +1 -1
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +4 -3
- package/dist/client/hooks/useMarkMessageAsReadMutation.js +4 -3
- package/dist/client/hooks/useMemberVerificationQuery.js +3 -3
- package/dist/client/hooks/useMessagesQuery.d.ts +1 -1
- package/dist/client/hooks/useMessagesQuery.js +3 -3
- package/dist/client/hooks/usePaymentSettingsQuery.js +3 -3
- package/dist/client/hooks/usePlatformQuery.js +2 -2
- package/dist/client/hooks/useProfileCompletionQuery.js +3 -3
- package/dist/client/hooks/usePromoQuery.js +2 -2
- package/dist/client/hooks/usePromosQuery.js +2 -2
- package/dist/client/hooks/useSendVerificationCodeMutation.d.ts +1 -1
- package/dist/client/hooks/useSendVerificationCodeMutation.js +2 -2
- package/dist/client/hooks/useSessionQuery.js +4 -4
- package/dist/client/hooks/useSignInMutation.d.ts +1 -1
- package/dist/client/hooks/useSignInMutation.js +3 -2
- package/dist/client/hooks/useSignOutMutation.js +3 -2
- package/dist/client/hooks/useSignUpMutation.d.ts +1 -1
- package/dist/client/hooks/useSignUpMutation.js +2 -2
- package/dist/client/hooks/useTopWinsQuery.js +2 -2
- package/dist/client/hooks/useTournamentsCountQuery.d.ts +1 -1
- package/dist/client/hooks/useTournamentsCountQuery.js +2 -2
- package/dist/client/hooks/useTournamentsQuery.d.ts +1 -1
- package/dist/client/hooks/useTournamentsQuery.js +2 -2
- package/dist/client/hooks/useTransactionRecordsQuery.d.ts +1 -1
- package/dist/client/hooks/useTransactionRecordsQuery.js +3 -3
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.js +4 -3
- package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +1 -1
- package/dist/client/hooks/useUnreadMessagesCountQuery.js +3 -3
- package/dist/client/hooks/useUpdateAccountMutation.d.ts +1 -1
- package/dist/client/hooks/useUpdateAccountMutation.js +4 -3
- package/dist/client/hooks/useWalletQuery.js +3 -3
- package/dist/client/hooks/useWithdrawalRecordsQuery.d.ts +1 -1
- package/dist/client/hooks/useWithdrawalRecordsQuery.js +3 -3
- package/dist/client/services/authenticate.d.ts +1 -1
- package/dist/client/services/signIn.d.ts +1 -1
- package/dist/client/utils/createRecipeContext.js +1 -1
- package/dist/client/utils/toaster.d.ts +1 -1
- package/dist/client/utils/toaster.js +1 -1
- package/dist/components/Account/Account.d.ts +3 -23
- package/dist/components/Account/Account.js +10 -115
- package/dist/components/Account/Account.lazy.d.ts +23 -0
- package/dist/components/Account/Account.lazy.js +138 -0
- package/dist/components/Account/AccountTrigger.js +2 -2
- package/dist/components/AccountInfo/AccountInfo.js +10 -4
- package/dist/components/AccountSecurity/AccountSecurity.js +13 -4
- package/dist/components/AccountVerification/AccountVerification.js +12 -3
- package/dist/components/Banner/Banner.d.ts +2 -2
- package/dist/components/Banner/Banner.js +2 -2
- package/dist/components/BetRecords/BetRecords.client.d.ts +7 -0
- package/dist/components/BetRecords/BetRecords.client.js +189 -0
- package/dist/components/BetRecords/BetRecords.d.ts +3 -7
- package/dist/components/BetRecords/BetRecords.js +8 -174
- package/dist/components/Bonus/Bonus.client.d.ts +9 -1
- package/dist/components/Bonus/Bonus.client.js +13 -4
- package/dist/components/Bonus/Bonus.d.ts +2 -9
- package/dist/components/Bonus/Bonus.js +22 -6
- package/dist/components/Bonuses/Bonuses.client.d.ts +9 -1
- package/dist/components/Bonuses/Bonuses.client.js +14 -4
- package/dist/components/Bonuses/Bonuses.d.ts +2 -9
- package/dist/components/Bonuses/Bonuses.js +3 -2
- package/dist/components/Bonuses/BonusesTrigger.js +7 -6
- package/dist/components/Cashback/Cashback.client.d.ts +6 -1
- package/dist/components/Cashback/Cashback.client.js +7 -3
- package/dist/components/Cashback/Cashback.d.ts +2 -6
- package/dist/components/Cashback/Cashback.js +11 -6
- package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +2 -0
- package/dist/components/CashbackBonus/CashbackBonus.client.js +9 -0
- package/dist/components/CashbackBonus/CashbackBonus.d.ts +10 -0
- package/dist/components/CashbackBonus/CashbackBonus.js +5 -0
- package/dist/components/CashbackBonus/index.d.ts +1 -0
- package/dist/components/CashbackBonus/index.js +1 -0
- package/dist/components/DepositWithdrawal/AmountChoices.js +5 -3
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +5 -3
- package/dist/components/DepositWithdrawal/Deposit/Deposit.js +6 -3
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +15 -4
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +15 -4
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +15 -4
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositAlert.js +5 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositDetails.js +5 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +10 -4
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +2 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.js +5 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.js +4 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +10 -4
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +2 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.d.ts +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.js +10 -27
- package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.d.ts +1 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.js +36 -0
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.js +5 -2
- package/dist/components/DepositWithdrawal/PaymentMethods.js +4 -3
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +17 -4
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +18 -4
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +15 -4
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +17 -4
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +11 -4
- package/dist/components/Disclaimer/DisclaimerV1.js +2 -1
- package/dist/components/Disclaimer/DisclaimerV2.js +2 -1
- package/dist/components/Disclaimer/ResponsibleGaming.js +2 -1
- package/dist/components/Disclaimer/TermsOfUse.js +3 -2
- package/dist/components/Empty.d.ts +1 -2
- package/dist/components/FavoriteGames/FavoriteGames.client.d.ts +5 -1
- package/dist/components/FavoriteGames/FavoriteGames.client.js +8 -4
- package/dist/components/FavoriteGames/FavoriteGames.d.ts +2 -5
- package/dist/components/FavoriteGames/FavoriteGames.js +2 -2
- package/dist/components/GameLaunch/GameLaunch.d.ts +1 -1
- package/dist/components/GameLaunch/GameLaunch.js +10 -71
- package/dist/components/GameLaunch/GameLaunch.lazy.d.ts +1 -0
- package/dist/components/GameLaunch/GameLaunch.lazy.js +90 -0
- package/dist/components/GameLaunch/GameLaunchTrigger.js +4 -2
- package/dist/components/GameProviders/GameProvidersCarousel.js +5 -3
- package/dist/components/GameProviders/GameProvidersList.js +4 -3
- package/dist/components/Games/Game.js +14 -5
- package/dist/components/Games/GameContext.d.ts +2 -0
- package/dist/components/Games/GameContext.js +2 -0
- package/dist/components/Games/GamesCarousel.client.d.ts +24 -1
- package/dist/components/Games/GamesCarousel.client.js +7 -3
- package/dist/components/Games/GamesCarousel.d.ts +2 -23
- package/dist/components/Games/GamesCarousel.js +2 -2
- package/dist/components/Games/GamesContext.js +1 -1
- package/dist/components/Games/GamesList.client.d.ts +19 -1
- package/dist/components/Games/GamesList.client.js +6 -3
- package/dist/components/Games/GamesList.d.ts +2 -18
- package/dist/components/Games/GamesList.js +1 -1
- package/dist/components/GamesSearch/GamesSearch.d.ts +1 -1
- package/dist/components/GamesSearch/GamesSearch.js +10 -4
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotItemDesktop.d.ts +9 -0
- package/dist/components/Jackpots/JackpotItemDesktop.js +43 -0
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +9 -0
- package/dist/components/Jackpots/JackpotItemMobile.js +44 -0
- package/dist/components/Jackpots/Jackpots.js +1 -1
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarousel.js +6 -4
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselContext.js +1 -1
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +14 -9
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsContext.d.ts +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsList.d.ts +3 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsList.js +9 -9
- package/dist/components/Jackpots/JackpotsList/JackpotsListContext.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +14 -9
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemGameProviders.js +11 -4
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +15 -7
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemRules.js +2 -2
- package/dist/components/Jackpots/JackpotsList/useJackpotsListItemData.d.ts +1 -5
- package/dist/components/Jackpots/JackpotsList/useJackpotsListItemData.js +3 -25
- package/dist/components/Jackpots/useJackpotData.d.ts +2 -2
- package/dist/components/Jackpots/useJackpotData.js +1 -0
- package/dist/components/Jackpots/useJackpotItemData.d.ts +20 -0
- package/dist/components/Jackpots/useJackpotItemData.js +87 -0
- package/dist/components/KYC/Header.js +4 -2
- package/dist/components/KYC/Indicator.js +2 -2
- package/dist/components/KYC/KYC.d.ts +1 -1
- package/dist/components/KYC/KYC.js +10 -22
- package/dist/components/KYC/KYC.lazy.d.ts +1 -0
- package/dist/components/KYC/KYC.lazy.js +26 -0
- package/dist/components/KYC/KYCContext.js +1 -1
- package/dist/components/KYC/KYCTrigger.js +1 -1
- package/dist/components/KYC/Step1.js +3 -2
- package/dist/components/KYC/Step2.js +3 -2
- package/dist/components/KYC/Step3.js +4 -2
- package/dist/components/KYC/Step4.js +3 -2
- package/dist/components/Messages/Message.js +3 -1
- package/dist/components/Messages/MessageContext.js +1 -1
- package/dist/components/Messages/MessageItem.d.ts +4 -0
- package/dist/components/Messages/MessageItem.js +34 -0
- package/dist/components/Messages/MessagePopup.js +3 -3
- package/dist/components/Messages/MessageTrigger.js +2 -1
- package/dist/components/Messages/Messages.d.ts +3 -13
- package/dist/components/Messages/Messages.js +10 -35
- package/dist/components/Messages/Messages.lazy.d.ts +13 -0
- package/dist/components/Messages/Messages.lazy.js +48 -0
- package/dist/components/Messages/MessagesTrigger.js +7 -4
- package/dist/components/Messages/utils.d.ts +1 -1
- package/dist/components/Messages/utils.js +1 -1
- package/dist/components/PortalProvider/PortalProvider.js +8 -5
- package/dist/components/PortalProvider/Providers.js +1 -1
- package/dist/components/PortalProvider/Snackbar.js +4 -3
- package/dist/components/Promo/Promo.client.d.ts +6 -1
- package/dist/components/Promo/Promo.client.js +7 -3
- package/dist/components/Promo/Promo.d.ts +2 -6
- package/dist/components/Promo/Promo.js +11 -6
- package/dist/components/Promo/PromoContent.d.ts +2 -0
- package/dist/components/Promo/PromoContent.js +9 -0
- package/dist/components/Promos/Cashback.js +3 -2
- package/dist/components/Promos/Promo.js +3 -2
- package/dist/components/Promos/PromoCarousel.d.ts +2 -0
- package/dist/components/Promos/PromoCarousel.js +41 -0
- package/dist/components/Promos/PromoGrid.d.ts +2 -0
- package/dist/components/Promos/PromoGrid.js +12 -0
- package/dist/components/Promos/PromoItem.d.ts +7 -0
- package/dist/components/Promos/PromoItem.js +10 -0
- package/dist/components/Promos/Promos.js +3 -2
- package/dist/components/Promos/PromosCarousel.js +7 -3
- package/dist/components/Promos/PromosGrid.js +2 -1
- package/dist/components/Protected/Protected.d.ts +1 -2
- package/dist/components/Protected/Protected.js +1 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +10 -5
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +3 -2
- package/dist/components/Quests/Quests.client.d.ts +5 -1
- package/dist/components/Quests/Quests.client.js +2 -2
- package/dist/components/Quests/Quests.d.ts +2 -5
- package/dist/components/Quests/Quests.js +1 -1
- package/dist/components/Quests/WageringQuest/WageringQuest.js +3 -2
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +3 -2
- package/dist/components/Search/Search.d.ts +3 -21
- package/dist/components/Search/Search.js +10 -64
- package/dist/components/Search/Search.lazy.d.ts +20 -0
- package/dist/components/Search/Search.lazy.js +78 -0
- package/dist/components/Search/SearchTrigger.js +1 -1
- package/dist/components/SignIn/MobileNumberSignIn.js +16 -5
- package/dist/components/SignIn/NameAndPasswordSignIn.js +16 -7
- package/dist/components/SignIn/SignIn.d.ts +3 -7
- package/dist/components/SignIn/SignIn.js +10 -14
- package/dist/components/SignIn/SignIn.lazy.d.ts +7 -0
- package/dist/components/SignIn/SignIn.lazy.js +18 -0
- package/dist/components/SignIn/SignInContext.js +1 -1
- package/dist/components/SignIn/SignInMethod.js +1 -1
- package/dist/components/SignIn/SignInTrigger.js +1 -1
- package/dist/components/SignUp/SignUp.d.ts +3 -7
- package/dist/components/SignUp/SignUp.js +10 -12
- package/dist/components/SignUp/SignUp.lazy.d.ts +7 -0
- package/dist/components/SignUp/SignUp.lazy.js +16 -0
- package/dist/components/SignUp/SignUpForm.js +15 -5
- package/dist/components/SignUp/SignUpTrigger.js +1 -1
- package/dist/components/TopWins/TopWins.client.d.ts +5 -1
- package/dist/components/TopWins/TopWins.client.js +8 -3
- package/dist/components/TopWins/TopWins.d.ts +2 -5
- package/dist/components/TopWins/TopWins.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +1 -1
- package/dist/components/Tournaments/TournamentItemDesktop.d.ts +7 -0
- package/dist/components/Tournaments/TournamentItemDesktop.js +56 -0
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +7 -0
- package/dist/components/Tournaments/TournamentItemMobile.js +54 -0
- package/dist/components/Tournaments/Tournaments.js +1 -1
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarousel.js +6 -4
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselContext.js +1 -1
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.js +8 -3
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsContext.d.ts +1 -1
- package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentsList.js +2 -2
- package/dist/components/Tournaments/TournamentsList/TournamentsListContext.js +1 -1
- package/dist/components/Tournaments/TournamentsList/TournamentsListItemDesktop.js +7 -2
- package/dist/components/Tournaments/TournamentsList/TournamentsListItemGameProviders.js +3 -2
- package/dist/components/Tournaments/TournamentsList/TournamentsListItemMobile.js +10 -3
- package/dist/components/Tournaments/TournamentsList/TournamentsListItemRules.js +3 -2
- package/dist/components/Tournaments/TournamentsList/useTournamentListItemData.d.ts +1 -1
- package/dist/components/Tournaments/TournamentsList/useTournamentListItemData.js +1 -1
- package/dist/components/Tournaments/useTournamentData.js +1 -0
- package/dist/components/Tournaments/useTournamentItemData.d.ts +16 -0
- package/dist/components/Tournaments/useTournamentItemData.js +64 -0
- package/dist/components/TransactionRecords/DepositRecordsTable.js +12 -4
- package/dist/components/TransactionRecords/TableFilters.js +9 -4
- package/dist/components/TransactionRecords/TransactionRecords.d.ts +1 -1
- package/dist/components/TransactionRecords/TransactionRecords.js +7 -2
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +11 -4
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +12 -4
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/constants/endpoints.js +2 -2
- package/dist/handlers.js +1 -1
- package/dist/icons/index.d.ts +0 -1
- package/dist/icons/index.js +0 -1
- package/dist/images/hacksaw-gaming.png +0 -0
- package/dist/middleware.js +1 -1
- package/dist/next.config.js +4 -0
- package/dist/server/services/authenticate.d.ts +1 -1
- package/dist/server/services/authenticate.js +1 -1
- package/dist/server/services/signIn.d.ts +1 -1
- package/dist/server/services/signIn.js +1 -1
- package/dist/server/services/signOut.js +1 -1
- package/dist/server/utils/index.d.ts +0 -5
- package/dist/server/utils/index.js +0 -5
- package/dist/server/utils/prefetchAccountQuery.js +3 -2
- package/dist/server/utils/prefetchAvailablePromosQuery.d.ts +1 -1
- package/dist/server/utils/prefetchAvailablePromosQuery.js +3 -2
- package/dist/server/utils/prefetchAvailableQuestsCountQuery.js +3 -2
- package/dist/server/utils/prefetchAvailableQuestsQuery.js +3 -2
- package/dist/server/utils/prefetchBetRecordsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchBetRecordsQuery.js +3 -2
- package/dist/server/utils/prefetchBonusQuery.js +3 -2
- package/dist/server/utils/prefetchBonusesCountQuery.js +3 -2
- package/dist/server/utils/prefetchBonusesQuery.js +3 -2
- package/dist/server/utils/prefetchCashbackBonusQuery.js +3 -2
- package/dist/server/utils/prefetchCashbackBonusesCountQuery.js +4 -3
- package/dist/server/utils/prefetchCashbackBonusesQuery.js +4 -3
- package/dist/server/utils/prefetchCashbackQuery.js +3 -2
- package/dist/server/utils/prefetchCashbacksQuery.js +3 -2
- package/dist/server/utils/prefetchDepositQuery.js +3 -2
- package/dist/server/utils/prefetchDepositRecordsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchDepositRecordsQuery.js +3 -2
- package/dist/server/utils/prefetchDepositsCountQuery.js +3 -2
- package/dist/server/utils/prefetchFavoriteGamesQuery.js +4 -3
- package/dist/server/utils/prefetchGamesQuery.d.ts +1 -1
- package/dist/server/utils/prefetchGamesQuery.js +3 -2
- package/dist/server/utils/prefetchInstapayBankListQuery.js +3 -2
- package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +3 -2
- package/dist/server/utils/prefetchJackpotsCountQuery.d.ts +1 -1
- package/dist/server/utils/prefetchJackpotsCountQuery.js +3 -2
- package/dist/server/utils/prefetchJackpotsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchJackpotsQuery.js +3 -2
- package/dist/server/utils/prefetchMemberVerificationQuery.js +3 -2
- package/dist/server/utils/prefetchPaymentSettingsQuery.js +3 -2
- package/dist/server/utils/prefetchPlatformQuery.js +3 -2
- package/dist/server/utils/prefetchProfileCompletionQuery.js +3 -2
- package/dist/server/utils/prefetchPromoQuery.js +3 -2
- package/dist/server/utils/prefetchPromosQuery.js +3 -2
- package/dist/server/utils/prefetchSessionQuery.js +2 -1
- package/dist/server/utils/prefetchTopWinsQuery.js +3 -2
- package/dist/server/utils/prefetchTournamentsCountQuery.d.ts +1 -1
- package/dist/server/utils/prefetchTournamentsCountQuery.js +3 -2
- package/dist/server/utils/prefetchTournamentsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchTournamentsQuery.js +3 -2
- package/dist/server/utils/prefetchTransactionRecordsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchTransactionRecordsQuery.js +3 -2
- package/dist/server/utils/prefetchUnreadMessagesCountQuery.d.ts +1 -1
- package/dist/server/utils/prefetchUnreadMessagesCountQuery.js +3 -2
- package/dist/server/utils/prefetchWalletQuery.js +3 -2
- package/dist/server/utils/prefetchWithdrawalRecordsQuery.d.ts +1 -1
- package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +3 -2
- package/dist/services/queries.js +2351 -2351
- package/dist/styles/theme.css +697 -697
- package/dist/ui/AlertDialog/AlertDialog.d.ts +154 -154
- package/dist/ui/AlertDialog/AlertDialog.js +1 -1
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +14 -14
- package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
- package/dist/ui/Avatar/Avatar.js +1 -1
- package/dist/ui/Avatar/avatar.recipe.js +1 -1
- package/dist/ui/Badge/Badge.d.ts +12 -12
- package/dist/ui/Badge/Badge.js +1 -1
- package/dist/ui/Badge/badge.recipe.d.ts +3 -3
- package/dist/ui/Badge/badge.recipe.js +1 -1
- package/dist/ui/Button/Button.js +2 -1
- package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
- package/dist/ui/Checkbox/Checkbox.js +1 -1
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
- package/dist/ui/Clipboard/Clipboard.js +1 -1
- package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
- package/dist/ui/Clipboard/clipboard.recipe.js +1 -1
- package/dist/ui/Collapsible/Collapsible.d.ts +32 -32
- package/dist/ui/Collapsible/Collapsible.js +1 -1
- package/dist/ui/Collapsible/collapsible.recipe.d.ts +8 -8
- package/dist/ui/Collapsible/collapsible.recipe.js +1 -1
- package/dist/ui/Combobox/Combobox.d.ts +42 -42
- package/dist/ui/Combobox/Combobox.js +1 -1
- package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
- package/dist/ui/Combobox/combobox.recipe.js +1 -1
- package/dist/ui/DatePicker/DatePicker.d.ts +336 -336
- package/dist/ui/DatePicker/DatePicker.js +1 -1
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +14 -14
- package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
- package/dist/ui/Dialog/Dialog.d.ts +154 -154
- package/dist/ui/Dialog/Dialog.js +1 -1
- package/dist/ui/Dialog/dialog.recipe.d.ts +14 -14
- package/dist/ui/Dialog/dialog.recipe.js +1 -1
- package/dist/ui/Drawer/Drawer.d.ts +33 -33
- package/dist/ui/Drawer/Drawer.js +1 -1
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Drawer/drawer.recipe.js +1 -1
- package/dist/ui/Field/Field.d.ts +21 -21
- package/dist/ui/Field/Field.js +1 -1
- package/dist/ui/Field/field.recipe.d.ts +3 -3
- package/dist/ui/Field/field.recipe.js +1 -1
- package/dist/ui/IconButton/IconButton.js +2 -1
- package/dist/ui/NumberInput/NumberInput.js +1 -1
- package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
- package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
- package/dist/ui/PasswordInput/PasswordInput.js +1 -1
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
- package/dist/ui/PasswordInput/passwordInput.recipe.js +1 -1
- package/dist/ui/PinInput/PinInput.js +1 -1
- package/dist/ui/PinInput/pinInput.recipe.js +1 -1
- package/dist/ui/Popover/Popover.d.ts +121 -121
- package/dist/ui/Popover/Popover.js +1 -1
- package/dist/ui/Popover/popover.recipe.d.ts +11 -11
- package/dist/ui/Popover/popover.recipe.js +1 -1
- package/dist/ui/Presence.d.ts +1 -1
- package/dist/ui/Presence.js +1 -1
- package/dist/ui/Progress/Progress.d.ts +27 -27
- package/dist/ui/Progress/Progress.js +1 -1
- package/dist/ui/Progress/progress.recipe.d.ts +3 -3
- package/dist/ui/Progress/progress.recipe.js +1 -1
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
- package/dist/ui/SegmentGroup/SegmentGroup.js +1 -1
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
- package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/Select.js +1 -1
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Select/select.recipe.js +1 -1
- package/dist/ui/Table/Table.d.ts +21 -21
- package/dist/ui/Table/Table.js +1 -1
- package/dist/ui/Table/table.recipe.d.ts +3 -3
- package/dist/ui/Table/table.recipe.js +1 -1
- package/dist/ui/Tabs/Tabs.d.ts +15 -15
- package/dist/ui/Tabs/Tabs.js +1 -1
- package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
- package/dist/ui/Tabs/tabs.recipe.js +1 -1
- package/dist/utils/getQueryClient.js +2 -2
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -1
- package/dist/utils/onMobileDevice.d.ts +5 -0
- package/dist/utils/onMobileDevice.js +9 -0
- package/dist/utils/queryKeys.d.ts +4 -1
- package/package.json +162 -163
- package/dist/services/ObjectId.d.ts +0 -10
- package/dist/services/ObjectId.js +0 -72
- package/dist/services/index.d.ts +0 -13
- package/dist/services/index.js +0 -13
- /package/dist/services/{account.service.d.ts → account.d.ts} +0 -0
- /package/dist/services/{account.service.js → account.js} +0 -0
- /package/dist/services/{auth.service.d.ts → auth.d.ts} +0 -0
- /package/dist/services/{auth.service.js → auth.js} +0 -0
- /package/dist/services/{cmsPortal.service.d.ts → cmsPortal.d.ts} +0 -0
- /package/dist/services/{cmsPortal.service.js → cmsPortal.js} +0 -0
- /package/dist/services/{file.service.d.ts → file.d.ts} +0 -0
- /package/dist/services/{file.service.js → file.js} +0 -0
- /package/dist/services/{game.service.d.ts → game.d.ts} +0 -0
- /package/dist/services/{game.service.js → game.js} +0 -0
- /package/dist/services/{portal.service.d.ts → portal.d.ts} +0 -0
- /package/dist/services/{portal.service.js → portal.js} +0 -0
- /package/dist/services/{report.service.d.ts → report.d.ts} +0 -0
- /package/dist/services/{report.service.js → report.js} +0 -0
- /package/dist/services/{trigger.service.d.ts → trigger.d.ts} +0 -0
- /package/dist/services/{trigger.service.js → trigger.js} +0 -0
- /package/dist/services/{wallet.service.d.ts → wallet.d.ts} +0 -0
- /package/dist/services/{wallet.service.js → wallet.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Dialog } from '@ark-ui/react/dialog';
|
|
3
3
|
import { ark } from '@ark-ui/react/factory';
|
|
4
|
-
import { createRecipeContext } from '../../client/utils/
|
|
4
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
5
5
|
import { alertDialogRecipe } from './alertDialog.recipe.js';
|
|
6
6
|
const { withContext, withRootProvider } = createRecipeContext(alertDialogRecipe);
|
|
7
7
|
export const Root = withRootProvider(Dialog.Root);
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
export declare const alertDialogRecipe: import("tailwind-variants").TVReturnType<{
|
|
2
2
|
[key: string]: {
|
|
3
3
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
-
body?: import("tailwind-variants").ClassValue;
|
|
5
|
-
content?: import("tailwind-variants").ClassValue;
|
|
6
4
|
title?: import("tailwind-variants").ClassValue;
|
|
5
|
+
content?: import("tailwind-variants").ClassValue;
|
|
6
|
+
body?: import("tailwind-variants").ClassValue;
|
|
7
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
8
|
+
header?: import("tailwind-variants").ClassValue;
|
|
7
9
|
trigger?: import("tailwind-variants").ClassValue;
|
|
8
10
|
backdrop?: import("tailwind-variants").ClassValue;
|
|
9
11
|
positioner?: import("tailwind-variants").ClassValue;
|
|
10
12
|
description?: import("tailwind-variants").ClassValue;
|
|
11
13
|
closeTrigger?: import("tailwind-variants").ClassValue;
|
|
12
|
-
header?: import("tailwind-variants").ClassValue;
|
|
13
|
-
footer?: import("tailwind-variants").ClassValue;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
} | {
|
|
17
17
|
[x: string]: {
|
|
18
18
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
19
|
-
body?: import("tailwind-variants").ClassValue;
|
|
20
|
-
content?: import("tailwind-variants").ClassValue;
|
|
21
19
|
title?: import("tailwind-variants").ClassValue;
|
|
20
|
+
content?: import("tailwind-variants").ClassValue;
|
|
21
|
+
body?: import("tailwind-variants").ClassValue;
|
|
22
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
23
|
+
header?: import("tailwind-variants").ClassValue;
|
|
22
24
|
trigger?: import("tailwind-variants").ClassValue;
|
|
23
25
|
backdrop?: import("tailwind-variants").ClassValue;
|
|
24
26
|
positioner?: import("tailwind-variants").ClassValue;
|
|
25
27
|
description?: import("tailwind-variants").ClassValue;
|
|
26
28
|
closeTrigger?: import("tailwind-variants").ClassValue;
|
|
27
|
-
header?: import("tailwind-variants").ClassValue;
|
|
28
|
-
footer?: import("tailwind-variants").ClassValue;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
} | {}, Record<"
|
|
31
|
+
} | {}, Record<"title" | "content" | "body" | "footer" | "header" | "trigger" | "backdrop" | "positioner" | "description" | "closeTrigger", string | string[]>, undefined, {
|
|
32
32
|
[key: string]: {
|
|
33
33
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
34
|
-
body?: import("tailwind-variants").ClassValue;
|
|
35
|
-
content?: import("tailwind-variants").ClassValue;
|
|
36
34
|
title?: import("tailwind-variants").ClassValue;
|
|
35
|
+
content?: import("tailwind-variants").ClassValue;
|
|
36
|
+
body?: import("tailwind-variants").ClassValue;
|
|
37
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
38
|
+
header?: import("tailwind-variants").ClassValue;
|
|
37
39
|
trigger?: import("tailwind-variants").ClassValue;
|
|
38
40
|
backdrop?: import("tailwind-variants").ClassValue;
|
|
39
41
|
positioner?: import("tailwind-variants").ClassValue;
|
|
40
42
|
description?: import("tailwind-variants").ClassValue;
|
|
41
43
|
closeTrigger?: import("tailwind-variants").ClassValue;
|
|
42
|
-
header?: import("tailwind-variants").ClassValue;
|
|
43
|
-
footer?: import("tailwind-variants").ClassValue;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
} | {}, Record<"
|
|
46
|
+
} | {}, Record<"title" | "content" | "body" | "footer" | "header" | "trigger" | "backdrop" | "positioner" | "description" | "closeTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"title" | "content" | "body" | "footer" | "header" | "trigger" | "backdrop" | "positioner" | "description" | "closeTrigger", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dialogAnatomy } from '@ark-ui/react/dialog';
|
|
2
2
|
import { tv } from 'tailwind-variants';
|
|
3
|
-
import { anatomyToRecipeSlots } from '../../utils/
|
|
3
|
+
import { anatomyToRecipeSlots } from '../../utils/anatomyToRecipeSlots.js';
|
|
4
4
|
const anatomy = dialogAnatomy.extendWith('header', 'body', 'footer');
|
|
5
5
|
export const alertDialogRecipe = tv({
|
|
6
6
|
slots: anatomyToRecipeSlots(anatomy, {
|
package/dist/ui/Avatar/Avatar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Avatar } from '@ark-ui/react/avatar';
|
|
3
|
-
import { createRecipeContext } from '../../client/utils/
|
|
3
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
4
4
|
import { avatarRecipe } from './avatar.recipe.js';
|
|
5
5
|
const { withContext, withProvider } = createRecipeContext(avatarRecipe);
|
|
6
6
|
export const Root = withProvider(Avatar.Root, 'root');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { avatarAnatomy } from '@ark-ui/react/avatar';
|
|
2
2
|
import { tv } from 'tailwind-variants';
|
|
3
|
-
import { anatomyToRecipeSlots } from '../../utils/
|
|
3
|
+
import { anatomyToRecipeSlots } from '../../utils/anatomyToRecipeSlots.js';
|
|
4
4
|
export const avatarRecipe = tv({
|
|
5
5
|
slots: anatomyToRecipeSlots(avatarAnatomy, {
|
|
6
6
|
root: 'border-gray-200 bg-gray-50 flex items-center justify-center overflow-hidden rounded-full border',
|
package/dist/ui/Badge/Badge.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
36
36
|
root: string;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
}, Record<"
|
|
39
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
|
|
40
40
|
size: {
|
|
41
41
|
md: {
|
|
42
42
|
root: string;
|
|
@@ -70,7 +70,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
70
70
|
root: string;
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
|
-
}, Record<"
|
|
73
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
74
74
|
size: {
|
|
75
75
|
md: {
|
|
76
76
|
root: string;
|
|
@@ -104,7 +104,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
104
104
|
root: string;
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
|
-
}, Record<"
|
|
107
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
108
108
|
interface BadgeLabelProps extends ComponentPropsWithRef<'span'> {
|
|
109
109
|
asChild?: boolean;
|
|
110
110
|
}
|
|
@@ -142,7 +142,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
142
142
|
root: string;
|
|
143
143
|
};
|
|
144
144
|
};
|
|
145
|
-
}, Record<"
|
|
145
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
|
|
146
146
|
size: {
|
|
147
147
|
md: {
|
|
148
148
|
root: string;
|
|
@@ -176,7 +176,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
176
176
|
root: string;
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
|
-
}, Record<"
|
|
179
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
180
180
|
size: {
|
|
181
181
|
md: {
|
|
182
182
|
root: string;
|
|
@@ -210,7 +210,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
210
210
|
root: string;
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
|
-
}, Record<"
|
|
213
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
214
214
|
interface BadgeIndicatorProps extends ComponentPropsWithRef<'svg'> {
|
|
215
215
|
asChild?: boolean;
|
|
216
216
|
}
|
|
@@ -248,7 +248,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
248
248
|
root: string;
|
|
249
249
|
};
|
|
250
250
|
};
|
|
251
|
-
}, Record<"
|
|
251
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
|
|
252
252
|
size: {
|
|
253
253
|
md: {
|
|
254
254
|
root: string;
|
|
@@ -282,7 +282,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
282
282
|
root: string;
|
|
283
283
|
};
|
|
284
284
|
};
|
|
285
|
-
}, Record<"
|
|
285
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
286
286
|
size: {
|
|
287
287
|
md: {
|
|
288
288
|
root: string;
|
|
@@ -316,7 +316,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
316
316
|
root: string;
|
|
317
317
|
};
|
|
318
318
|
};
|
|
319
|
-
}, Record<"
|
|
319
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
320
320
|
interface BadgeIconProps extends ComponentPropsWithRef<'svg'> {
|
|
321
321
|
asChild?: boolean;
|
|
322
322
|
}
|
|
@@ -354,7 +354,7 @@ export declare const Icon: import("react").ComponentType<import("@ark-ui/react")
|
|
|
354
354
|
root: string;
|
|
355
355
|
};
|
|
356
356
|
};
|
|
357
|
-
}, Record<"
|
|
357
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
|
|
358
358
|
size: {
|
|
359
359
|
md: {
|
|
360
360
|
root: string;
|
|
@@ -388,7 +388,7 @@ export declare const Icon: import("react").ComponentType<import("@ark-ui/react")
|
|
|
388
388
|
root: string;
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
|
-
}, Record<"
|
|
391
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
392
392
|
size: {
|
|
393
393
|
md: {
|
|
394
394
|
root: string;
|
|
@@ -422,5 +422,5 @@ export declare const Icon: import("react").ComponentType<import("@ark-ui/react")
|
|
|
422
422
|
root: string;
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
|
-
}, Record<"
|
|
425
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
426
426
|
export {};
|
package/dist/ui/Badge/Badge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { ark } from '@ark-ui/react/factory';
|
|
4
|
-
import { createRecipeContext } from '../../client/utils/
|
|
4
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
5
5
|
import { badgeAnatomy } from './badge.anatomy.js';
|
|
6
6
|
import { badgeRecipe } from './badge.recipe.js';
|
|
7
7
|
const { withProvider, withContext } = createRecipeContext(badgeRecipe);
|
|
@@ -32,7 +32,7 @@ export declare const badgeRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
32
32
|
root: string;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
}, Record<"
|
|
35
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
|
|
36
36
|
size: {
|
|
37
37
|
md: {
|
|
38
38
|
root: string;
|
|
@@ -66,7 +66,7 @@ export declare const badgeRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
66
66
|
root: string;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
-
}, Record<"
|
|
69
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
70
70
|
size: {
|
|
71
71
|
md: {
|
|
72
72
|
root: string;
|
|
@@ -100,4 +100,4 @@ export declare const badgeRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
100
100
|
root: string;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
-
}, Record<"
|
|
103
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tv } from 'tailwind-variants';
|
|
2
|
-
import { anatomyToRecipeSlots } from '../../utils/
|
|
2
|
+
import { anatomyToRecipeSlots } from '../../utils/anatomyToRecipeSlots.js';
|
|
3
3
|
import { badgeAnatomy } from './badge.anatomy.js';
|
|
4
4
|
export const badgeRecipe = tv({
|
|
5
5
|
slots: anatomyToRecipeSlots(badgeAnatomy, {
|
package/dist/ui/Button/Button.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { ark } from '@ark-ui/react/factory';
|
|
4
|
-
import { createSplitProps
|
|
4
|
+
import { createSplitProps } from '../../utils/createSplitProps.js';
|
|
5
|
+
import { dataAttr } from '../../utils/dataAttr.js';
|
|
5
6
|
import { buttonRecipe } from './button.recipe.js';
|
|
6
7
|
export function Button(props) {
|
|
7
8
|
const [recipeProps, localProps] = createSplitProps(buttonRecipe.variantKeys)(props);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Checkbox } from '@ark-ui/react/checkbox';
|
|
2
2
|
export declare const withContext: <Props extends {
|
|
3
3
|
[x: string]: any;
|
|
4
|
-
}>(Component: import("react").ComponentType<Props>, slot: "
|
|
4
|
+
}>(Component: import("react").ComponentType<Props>, slot: "label" | "group" | "root" | "indicator" | "control") => import("react").ComponentType<import("@ark-ui/react").Assign<Props, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
5
5
|
size: {
|
|
6
6
|
md: {
|
|
7
7
|
control: string;
|
|
@@ -14,7 +14,7 @@ export declare const withContext: <Props extends {
|
|
|
14
14
|
colorScheme: {
|
|
15
15
|
gray: {};
|
|
16
16
|
};
|
|
17
|
-
}, Record<"
|
|
17
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, {
|
|
18
18
|
size: {
|
|
19
19
|
md: {
|
|
20
20
|
control: string;
|
|
@@ -27,7 +27,7 @@ export declare const withContext: <Props extends {
|
|
|
27
27
|
colorScheme: {
|
|
28
28
|
gray: {};
|
|
29
29
|
};
|
|
30
|
-
}, Record<"
|
|
30
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
31
31
|
size: {
|
|
32
32
|
md: {
|
|
33
33
|
control: string;
|
|
@@ -40,9 +40,9 @@ export declare const withContext: <Props extends {
|
|
|
40
40
|
colorScheme: {
|
|
41
41
|
gray: {};
|
|
42
42
|
};
|
|
43
|
-
}, Record<"
|
|
43
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>, withProvider: <Props extends {
|
|
44
44
|
[x: string]: any;
|
|
45
|
-
}>(Component: import("react").ComponentType<Props>, slot: "
|
|
45
|
+
}>(Component: import("react").ComponentType<Props>, slot: "label" | "group" | "root" | "indicator" | "control") => import("react").ComponentType<import("@ark-ui/react").Assign<Props, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
46
46
|
size: {
|
|
47
47
|
md: {
|
|
48
48
|
control: string;
|
|
@@ -55,7 +55,7 @@ export declare const withContext: <Props extends {
|
|
|
55
55
|
colorScheme: {
|
|
56
56
|
gray: {};
|
|
57
57
|
};
|
|
58
|
-
}, Record<"
|
|
58
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, {
|
|
59
59
|
size: {
|
|
60
60
|
md: {
|
|
61
61
|
control: string;
|
|
@@ -68,7 +68,7 @@ export declare const withContext: <Props extends {
|
|
|
68
68
|
colorScheme: {
|
|
69
69
|
gray: {};
|
|
70
70
|
};
|
|
71
|
-
}, Record<"
|
|
71
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
72
72
|
size: {
|
|
73
73
|
md: {
|
|
74
74
|
control: string;
|
|
@@ -81,7 +81,7 @@ export declare const withContext: <Props extends {
|
|
|
81
81
|
colorScheme: {
|
|
82
82
|
gray: {};
|
|
83
83
|
};
|
|
84
|
-
}, Record<"
|
|
84
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
85
85
|
export declare const Root: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.RootProps & import("react").RefAttributes<HTMLLabelElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
86
86
|
size: {
|
|
87
87
|
md: {
|
|
@@ -95,7 +95,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
95
95
|
colorScheme: {
|
|
96
96
|
gray: {};
|
|
97
97
|
};
|
|
98
|
-
}, Record<"
|
|
98
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, {
|
|
99
99
|
size: {
|
|
100
100
|
md: {
|
|
101
101
|
control: string;
|
|
@@ -108,7 +108,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
108
108
|
colorScheme: {
|
|
109
109
|
gray: {};
|
|
110
110
|
};
|
|
111
|
-
}, Record<"
|
|
111
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
112
112
|
size: {
|
|
113
113
|
md: {
|
|
114
114
|
control: string;
|
|
@@ -121,7 +121,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
121
121
|
colorScheme: {
|
|
122
122
|
gray: {};
|
|
123
123
|
};
|
|
124
|
-
}, Record<"
|
|
124
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
125
125
|
export declare const Control: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.ControlProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
126
126
|
size: {
|
|
127
127
|
md: {
|
|
@@ -135,7 +135,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
135
135
|
colorScheme: {
|
|
136
136
|
gray: {};
|
|
137
137
|
};
|
|
138
|
-
}, Record<"
|
|
138
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, {
|
|
139
139
|
size: {
|
|
140
140
|
md: {
|
|
141
141
|
control: string;
|
|
@@ -148,7 +148,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
148
148
|
colorScheme: {
|
|
149
149
|
gray: {};
|
|
150
150
|
};
|
|
151
|
-
}, Record<"
|
|
151
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
152
152
|
size: {
|
|
153
153
|
md: {
|
|
154
154
|
control: string;
|
|
@@ -161,7 +161,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
161
161
|
colorScheme: {
|
|
162
162
|
gray: {};
|
|
163
163
|
};
|
|
164
|
-
}, Record<"
|
|
164
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
165
165
|
export declare const Group: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.GroupProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
166
166
|
size: {
|
|
167
167
|
md: {
|
|
@@ -175,7 +175,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
175
175
|
colorScheme: {
|
|
176
176
|
gray: {};
|
|
177
177
|
};
|
|
178
|
-
}, Record<"
|
|
178
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, {
|
|
179
179
|
size: {
|
|
180
180
|
md: {
|
|
181
181
|
control: string;
|
|
@@ -188,7 +188,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
188
188
|
colorScheme: {
|
|
189
189
|
gray: {};
|
|
190
190
|
};
|
|
191
|
-
}, Record<"
|
|
191
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
192
192
|
size: {
|
|
193
193
|
md: {
|
|
194
194
|
control: string;
|
|
@@ -201,7 +201,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
201
201
|
colorScheme: {
|
|
202
202
|
gray: {};
|
|
203
203
|
};
|
|
204
|
-
}, Record<"
|
|
204
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
205
205
|
export declare const Indicator: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.IndicatorProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
206
206
|
size: {
|
|
207
207
|
md: {
|
|
@@ -215,7 +215,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
215
215
|
colorScheme: {
|
|
216
216
|
gray: {};
|
|
217
217
|
};
|
|
218
|
-
}, Record<"
|
|
218
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, {
|
|
219
219
|
size: {
|
|
220
220
|
md: {
|
|
221
221
|
control: string;
|
|
@@ -228,7 +228,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
228
228
|
colorScheme: {
|
|
229
229
|
gray: {};
|
|
230
230
|
};
|
|
231
|
-
}, Record<"
|
|
231
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
232
232
|
size: {
|
|
233
233
|
md: {
|
|
234
234
|
control: string;
|
|
@@ -241,7 +241,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
241
241
|
colorScheme: {
|
|
242
242
|
gray: {};
|
|
243
243
|
};
|
|
244
|
-
}, Record<"
|
|
244
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
245
245
|
export declare const Label: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.LabelProps & import("react").RefAttributes<HTMLSpanElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
246
246
|
size: {
|
|
247
247
|
md: {
|
|
@@ -255,7 +255,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
255
255
|
colorScheme: {
|
|
256
256
|
gray: {};
|
|
257
257
|
};
|
|
258
|
-
}, Record<"
|
|
258
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, {
|
|
259
259
|
size: {
|
|
260
260
|
md: {
|
|
261
261
|
control: string;
|
|
@@ -268,7 +268,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
268
268
|
colorScheme: {
|
|
269
269
|
gray: {};
|
|
270
270
|
};
|
|
271
|
-
}, Record<"
|
|
271
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
272
272
|
size: {
|
|
273
273
|
md: {
|
|
274
274
|
control: string;
|
|
@@ -281,6 +281,6 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
281
281
|
colorScheme: {
|
|
282
282
|
gray: {};
|
|
283
283
|
};
|
|
284
|
-
}, Record<"
|
|
284
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
285
285
|
export declare const HiddenInput: import("react").ForwardRefExoticComponent<Checkbox.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
286
286
|
export declare const Context: (props: Checkbox.ContextProps) => import("react").ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Checkbox } from '@ark-ui/react/checkbox';
|
|
3
|
-
import { createRecipeContext } from '../../client/utils/
|
|
3
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
4
4
|
import { checkboxRecipe } from './checkbox.recipe.js';
|
|
5
5
|
export const { withContext, withProvider } = createRecipeContext(checkboxRecipe);
|
|
6
6
|
export const Root = withProvider(Checkbox.Root, 'root');
|
|
@@ -11,7 +11,7 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
11
11
|
colorScheme: {
|
|
12
12
|
gray: {};
|
|
13
13
|
};
|
|
14
|
-
}, Record<"
|
|
14
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, {
|
|
15
15
|
size: {
|
|
16
16
|
md: {
|
|
17
17
|
control: string;
|
|
@@ -24,7 +24,7 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
24
24
|
colorScheme: {
|
|
25
25
|
gray: {};
|
|
26
26
|
};
|
|
27
|
-
}, Record<"
|
|
27
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
28
28
|
size: {
|
|
29
29
|
md: {
|
|
30
30
|
control: string;
|
|
@@ -37,4 +37,4 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
37
37
|
colorScheme: {
|
|
38
38
|
gray: {};
|
|
39
39
|
};
|
|
40
|
-
}, Record<"
|
|
40
|
+
}, Record<"label" | "group" | "root" | "indicator" | "control", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { checkboxAnatomy } from '@ark-ui/react/checkbox';
|
|
2
2
|
import { tv } from 'tailwind-variants';
|
|
3
|
-
import { anatomyToRecipeSlots } from '../../utils/
|
|
3
|
+
import { anatomyToRecipeSlots } from '../../utils/anatomyToRecipeSlots.js';
|
|
4
4
|
export const checkboxRecipe = tv({
|
|
5
5
|
slots: anatomyToRecipeSlots(checkboxAnatomy, {
|
|
6
6
|
root: 'flex items-start gap-2',
|