@opexa/portal-components 0.0.98 → 0.0.100
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/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/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/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/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 +9 -3
- package/dist/components/Jackpots/JackpotsList/JackpotsList.js +2 -2
- package/dist/components/Jackpots/JackpotsList/JackpotsListContext.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +8 -2
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemGameProviders.js +3 -2
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +12 -3
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemRules.js +2 -2
- package/dist/components/Jackpots/JackpotsList/useJackpotsListItemData.d.ts +1 -1
- package/dist/components/Jackpots/JackpotsList/useJackpotsListItemData.js +3 -2
- 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/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/Promos/Cashback.js +3 -2
- package/dist/components/Promos/Promo.js +3 -2
- 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/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/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/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/constants/endpoints.js +2 -2
- package/dist/handlers.js +1 -1
- package/dist/middleware.js +1 -1
- 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/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/account.d.ts +341 -0
- package/dist/services/account.js +233 -0
- package/dist/services/auth.d.ts +80 -0
- package/dist/services/auth.js +152 -0
- package/dist/services/cmsPortal.d.ts +43 -0
- package/dist/services/cmsPortal.js +148 -0
- package/dist/services/file.d.ts +33 -0
- package/dist/services/file.js +18 -0
- package/dist/services/game.d.ts +44 -0
- package/dist/services/game.js +33 -0
- package/dist/services/graphqlRequest.js +0 -16
- package/dist/services/httpRequest.js +0 -10
- package/dist/services/portal.d.ts +37 -0
- package/dist/services/portal.js +44 -0
- package/dist/services/report.d.ts +223 -0
- package/dist/services/report.js +72 -0
- package/dist/services/trigger.d.ts +94 -0
- package/dist/services/trigger.js +88 -0
- package/dist/services/wallet.d.ts +475 -0
- package/dist/services/wallet.js +365 -0
- 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/onMobileDevice.d.ts +5 -0
- package/dist/utils/onMobileDevice.js +9 -0
- package/dist/utils/queryKeys.d.ts +4 -1
- package/package.json +29 -30
- package/dist/client/hooks/index.d.ts +0 -70
- package/dist/client/hooks/index.js +0 -70
- package/dist/client/services/index.d.ts +0 -4
- package/dist/client/services/index.js +0 -4
- package/dist/client/utils/index.d.ts +0 -3
- package/dist/client/utils/index.js +0 -3
- package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
- package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
- package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
- package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
- package/dist/components/JackpotCounter/index.d.ts +0 -1
- package/dist/components/JackpotCounter/index.js +0 -1
- package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
- package/dist/components/Jackpots/JackpotDesktop.js +0 -45
- package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
- package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
- package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
- package/dist/components/Jackpots/JackpotMobile.js +0 -46
- package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
- package/dist/components/Jackpots/JackpotRules.js +0 -11
- package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
- package/dist/components/Jackpots/Jackpots.client.js +0 -29
- package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
- package/dist/components/Jackpots/JackpotsContext.js +0 -3
- package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
- package/dist/components/Jackpots/useJackpotData.js +0 -92
- package/dist/components/PortalProvider/WebVitals.d.ts +0 -1
- package/dist/components/PortalProvider/WebVitals.js +0 -8
- package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
- package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
- package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
- package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
- package/dist/components/TournamentCounter/index.d.ts +0 -1
- package/dist/components/TournamentCounter/index.js +0 -1
- package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
- package/dist/components/Tournaments/TournamentDesktop.js +0 -57
- package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
- package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
- package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
- package/dist/components/Tournaments/TournamentMobile.js +0 -55
- package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
- package/dist/components/Tournaments/TournamentRules.js +0 -11
- package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
- package/dist/components/Tournaments/Tournaments.client.js +0 -20
- package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
- package/dist/components/Tournaments/TournamentsContext.js +0 -3
- package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
- package/dist/components/Tournaments/useTournamentData.js +0 -71
- package/dist/components/index.d.ts +0 -31
- package/dist/components/index.js +0 -31
- package/dist/icons/index.d.ts +0 -66
- package/dist/icons/index.js +0 -66
- package/dist/server/services/index.d.ts +0 -4
- package/dist/server/services/index.js +0 -4
- package/dist/server/utils/index.d.ts +0 -34
- package/dist/server/utils/index.js +0 -34
- 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/ui/index.d.ts +0 -26
- package/dist/ui/index.js +0 -26
- package/dist/utils/index.d.ts +0 -18
- package/dist/utils/index.js +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Popover } from '@ark-ui/react/popover';
|
|
3
|
-
import { createRecipeContext } from '../../client/utils/
|
|
3
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
4
4
|
import { popoverRecipe } from './popover.recipe.js';
|
|
5
5
|
const { withRootProvider, withContext } = createRecipeContext(popoverRecipe);
|
|
6
6
|
export const Root = withRootProvider(Popover.Root);
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
export declare const popoverRecipe: import("tailwind-variants").TVReturnType<{
|
|
2
2
|
[key: string]: {
|
|
3
3
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
-
content?: import("tailwind-variants").ClassValue;
|
|
5
4
|
title?: import("tailwind-variants").ClassValue;
|
|
5
|
+
content?: import("tailwind-variants").ClassValue;
|
|
6
|
+
anchor?: import("tailwind-variants").ClassValue;
|
|
7
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
6
8
|
trigger?: import("tailwind-variants").ClassValue;
|
|
7
9
|
positioner?: import("tailwind-variants").ClassValue;
|
|
8
10
|
description?: import("tailwind-variants").ClassValue;
|
|
9
11
|
closeTrigger?: import("tailwind-variants").ClassValue;
|
|
10
|
-
anchor?: import("tailwind-variants").ClassValue;
|
|
11
12
|
arrow?: import("tailwind-variants").ClassValue;
|
|
12
13
|
arrowTip?: import("tailwind-variants").ClassValue;
|
|
13
|
-
indicator?: import("tailwind-variants").ClassValue;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
} | {
|
|
17
17
|
[x: string]: {
|
|
18
18
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
19
|
-
content?: import("tailwind-variants").ClassValue;
|
|
20
19
|
title?: import("tailwind-variants").ClassValue;
|
|
20
|
+
content?: import("tailwind-variants").ClassValue;
|
|
21
|
+
anchor?: import("tailwind-variants").ClassValue;
|
|
22
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
21
23
|
trigger?: import("tailwind-variants").ClassValue;
|
|
22
24
|
positioner?: import("tailwind-variants").ClassValue;
|
|
23
25
|
description?: import("tailwind-variants").ClassValue;
|
|
24
26
|
closeTrigger?: import("tailwind-variants").ClassValue;
|
|
25
|
-
anchor?: import("tailwind-variants").ClassValue;
|
|
26
27
|
arrow?: import("tailwind-variants").ClassValue;
|
|
27
28
|
arrowTip?: import("tailwind-variants").ClassValue;
|
|
28
|
-
indicator?: import("tailwind-variants").ClassValue;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
} | {}, Record<"
|
|
31
|
+
} | {}, Record<"title" | "content" | "anchor" | "indicator" | "trigger" | "positioner" | "description" | "closeTrigger" | "arrow" | "arrowTip", string | string[]>, undefined, {
|
|
32
32
|
[key: string]: {
|
|
33
33
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
34
|
-
content?: import("tailwind-variants").ClassValue;
|
|
35
34
|
title?: import("tailwind-variants").ClassValue;
|
|
35
|
+
content?: import("tailwind-variants").ClassValue;
|
|
36
|
+
anchor?: import("tailwind-variants").ClassValue;
|
|
37
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
36
38
|
trigger?: import("tailwind-variants").ClassValue;
|
|
37
39
|
positioner?: import("tailwind-variants").ClassValue;
|
|
38
40
|
description?: import("tailwind-variants").ClassValue;
|
|
39
41
|
closeTrigger?: import("tailwind-variants").ClassValue;
|
|
40
|
-
anchor?: import("tailwind-variants").ClassValue;
|
|
41
42
|
arrow?: import("tailwind-variants").ClassValue;
|
|
42
43
|
arrowTip?: import("tailwind-variants").ClassValue;
|
|
43
|
-
indicator?: import("tailwind-variants").ClassValue;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
} | {}, Record<"
|
|
46
|
+
} | {}, Record<"title" | "content" | "anchor" | "indicator" | "trigger" | "positioner" | "description" | "closeTrigger" | "arrow" | "arrowTip", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"title" | "content" | "anchor" | "indicator" | "trigger" | "positioner" | "description" | "closeTrigger" | "arrow" | "arrowTip", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { popoverAnatomy } from '@ark-ui/react/popover';
|
|
2
2
|
import { tv } from 'tailwind-variants';
|
|
3
|
-
import { anatomyToRecipeSlots } from '../../utils/
|
|
3
|
+
import { anatomyToRecipeSlots } from '../../utils/anatomyToRecipeSlots.js';
|
|
4
4
|
export const popoverRecipe = tv({
|
|
5
5
|
slots: anatomyToRecipeSlots(popoverAnatomy, {
|
|
6
6
|
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 bg-bg-primary z-popover',
|
package/dist/ui/Presence.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type PresenceProps } from '@ark-ui/react';
|
|
1
|
+
import { type PresenceProps } from '@ark-ui/react/presence';
|
|
2
2
|
export declare function Presence(props: PresenceProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/ui/Presence.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { Presence as Primitive } from '@ark-ui/react';
|
|
3
|
+
import { Presence as Primitive, } from '@ark-ui/react/presence';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
export function Presence(props) {
|
|
6
6
|
return (_jsx(Primitive, { lazyMount: true, ...props, className: twMerge('ui-open:animate-fade-in ui-closed:animate-fade-out', props.className) }));
|
|
@@ -11,7 +11,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
11
11
|
range: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
14
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
15
15
|
size: {
|
|
16
16
|
md: {};
|
|
17
17
|
};
|
|
@@ -23,7 +23,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
23
23
|
range: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
26
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
27
27
|
size: {
|
|
28
28
|
md: {};
|
|
29
29
|
};
|
|
@@ -35,7 +35,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
35
35
|
range: string;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
38
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
39
39
|
export declare const Circle: import("react").ComponentType<import("@ark-ui/react").Assign<Progress.CircleProps & import("react").RefAttributes<SVGSVGElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
40
40
|
size: {
|
|
41
41
|
md: {};
|
|
@@ -48,7 +48,7 @@ export declare const Circle: import("react").ComponentType<import("@ark-ui/react
|
|
|
48
48
|
range: string;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
51
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
52
52
|
size: {
|
|
53
53
|
md: {};
|
|
54
54
|
};
|
|
@@ -60,7 +60,7 @@ export declare const Circle: import("react").ComponentType<import("@ark-ui/react
|
|
|
60
60
|
range: string;
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
63
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
64
64
|
size: {
|
|
65
65
|
md: {};
|
|
66
66
|
};
|
|
@@ -72,7 +72,7 @@ export declare const Circle: import("react").ComponentType<import("@ark-ui/react
|
|
|
72
72
|
range: string;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
75
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
76
76
|
export declare const CircleRange: import("react").ComponentType<import("@ark-ui/react").Assign<Progress.CircleRangeProps & import("react").RefAttributes<SVGCircleElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
77
77
|
size: {
|
|
78
78
|
md: {};
|
|
@@ -85,7 +85,7 @@ export declare const CircleRange: import("react").ComponentType<import("@ark-ui/
|
|
|
85
85
|
range: string;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
88
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
89
89
|
size: {
|
|
90
90
|
md: {};
|
|
91
91
|
};
|
|
@@ -97,7 +97,7 @@ export declare const CircleRange: import("react").ComponentType<import("@ark-ui/
|
|
|
97
97
|
range: string;
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
100
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
101
101
|
size: {
|
|
102
102
|
md: {};
|
|
103
103
|
};
|
|
@@ -109,7 +109,7 @@ export declare const CircleRange: import("react").ComponentType<import("@ark-ui/
|
|
|
109
109
|
range: string;
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
112
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
113
113
|
export declare const CircleTrack: import("react").ComponentType<import("@ark-ui/react").Assign<Progress.CircleTrackProps & import("react").RefAttributes<SVGCircleElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
114
114
|
size: {
|
|
115
115
|
md: {};
|
|
@@ -122,7 +122,7 @@ export declare const CircleTrack: import("react").ComponentType<import("@ark-ui/
|
|
|
122
122
|
range: string;
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
125
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
126
126
|
size: {
|
|
127
127
|
md: {};
|
|
128
128
|
};
|
|
@@ -134,7 +134,7 @@ export declare const CircleTrack: import("react").ComponentType<import("@ark-ui/
|
|
|
134
134
|
range: string;
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
137
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
138
138
|
size: {
|
|
139
139
|
md: {};
|
|
140
140
|
};
|
|
@@ -146,7 +146,7 @@ export declare const CircleTrack: import("react").ComponentType<import("@ark-ui/
|
|
|
146
146
|
range: string;
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
149
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
150
150
|
export declare const Label: import("react").ComponentType<import("@ark-ui/react").Assign<Progress.LabelProps & import("react").RefAttributes<HTMLLabelElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
151
151
|
size: {
|
|
152
152
|
md: {};
|
|
@@ -159,7 +159,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
159
159
|
range: string;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
162
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
163
163
|
size: {
|
|
164
164
|
md: {};
|
|
165
165
|
};
|
|
@@ -171,7 +171,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
171
171
|
range: string;
|
|
172
172
|
};
|
|
173
173
|
};
|
|
174
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
174
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
175
175
|
size: {
|
|
176
176
|
md: {};
|
|
177
177
|
};
|
|
@@ -183,7 +183,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
183
183
|
range: string;
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
186
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
187
187
|
export declare const Track: import("react").ComponentType<import("@ark-ui/react").Assign<Progress.TrackProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
188
188
|
size: {
|
|
189
189
|
md: {};
|
|
@@ -196,7 +196,7 @@ export declare const Track: import("react").ComponentType<import("@ark-ui/react"
|
|
|
196
196
|
range: string;
|
|
197
197
|
};
|
|
198
198
|
};
|
|
199
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
199
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
200
200
|
size: {
|
|
201
201
|
md: {};
|
|
202
202
|
};
|
|
@@ -208,7 +208,7 @@ export declare const Track: import("react").ComponentType<import("@ark-ui/react"
|
|
|
208
208
|
range: string;
|
|
209
209
|
};
|
|
210
210
|
};
|
|
211
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
211
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
212
212
|
size: {
|
|
213
213
|
md: {};
|
|
214
214
|
};
|
|
@@ -220,7 +220,7 @@ export declare const Track: import("react").ComponentType<import("@ark-ui/react"
|
|
|
220
220
|
range: string;
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
223
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
224
224
|
export declare const ValueText: import("react").ComponentType<import("@ark-ui/react").Assign<Progress.ValueTextProps & import("react").RefAttributes<HTMLSpanElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
225
225
|
size: {
|
|
226
226
|
md: {};
|
|
@@ -233,7 +233,7 @@ export declare const ValueText: import("react").ComponentType<import("@ark-ui/re
|
|
|
233
233
|
range: string;
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
236
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
237
237
|
size: {
|
|
238
238
|
md: {};
|
|
239
239
|
};
|
|
@@ -245,7 +245,7 @@ export declare const ValueText: import("react").ComponentType<import("@ark-ui/re
|
|
|
245
245
|
range: string;
|
|
246
246
|
};
|
|
247
247
|
};
|
|
248
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
248
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
249
249
|
size: {
|
|
250
250
|
md: {};
|
|
251
251
|
};
|
|
@@ -257,7 +257,7 @@ export declare const ValueText: import("react").ComponentType<import("@ark-ui/re
|
|
|
257
257
|
range: string;
|
|
258
258
|
};
|
|
259
259
|
};
|
|
260
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
260
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
261
261
|
export declare const View: import("react").ComponentType<import("@ark-ui/react").Assign<Progress.ViewProps & import("react").RefAttributes<HTMLSpanElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
262
262
|
size: {
|
|
263
263
|
md: {};
|
|
@@ -270,7 +270,7 @@ export declare const View: import("react").ComponentType<import("@ark-ui/react")
|
|
|
270
270
|
range: string;
|
|
271
271
|
};
|
|
272
272
|
};
|
|
273
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
273
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
274
274
|
size: {
|
|
275
275
|
md: {};
|
|
276
276
|
};
|
|
@@ -282,7 +282,7 @@ export declare const View: import("react").ComponentType<import("@ark-ui/react")
|
|
|
282
282
|
range: string;
|
|
283
283
|
};
|
|
284
284
|
};
|
|
285
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
285
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
286
286
|
size: {
|
|
287
287
|
md: {};
|
|
288
288
|
};
|
|
@@ -294,7 +294,7 @@ export declare const View: import("react").ComponentType<import("@ark-ui/react")
|
|
|
294
294
|
range: string;
|
|
295
295
|
};
|
|
296
296
|
};
|
|
297
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
297
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
298
298
|
export declare const Range: import("react").ComponentType<import("@ark-ui/react").Assign<Progress.RangeProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
299
299
|
size: {
|
|
300
300
|
md: {};
|
|
@@ -307,7 +307,7 @@ export declare const Range: import("react").ComponentType<import("@ark-ui/react"
|
|
|
307
307
|
range: string;
|
|
308
308
|
};
|
|
309
309
|
};
|
|
310
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
310
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
311
311
|
size: {
|
|
312
312
|
md: {};
|
|
313
313
|
};
|
|
@@ -319,7 +319,7 @@ export declare const Range: import("react").ComponentType<import("@ark-ui/react"
|
|
|
319
319
|
range: string;
|
|
320
320
|
};
|
|
321
321
|
};
|
|
322
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
322
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
323
323
|
size: {
|
|
324
324
|
md: {};
|
|
325
325
|
};
|
|
@@ -331,5 +331,5 @@ export declare const Range: import("react").ComponentType<import("@ark-ui/react"
|
|
|
331
331
|
range: string;
|
|
332
332
|
};
|
|
333
333
|
};
|
|
334
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
334
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
335
335
|
export declare const Context: (props: Progress.ContextProps) => import("react").ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Progress } from '@ark-ui/react/progress';
|
|
3
|
-
import { createRecipeContext } from '../../client/utils/
|
|
3
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
4
4
|
import { progressRecipe } from './progress.recipe.js';
|
|
5
5
|
const { withContext, withProvider } = createRecipeContext(progressRecipe);
|
|
6
6
|
export const Root = withProvider(Progress.Root, 'root');
|
|
@@ -10,7 +10,7 @@ export declare const progressRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
10
10
|
range: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
13
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, {
|
|
14
14
|
size: {
|
|
15
15
|
md: {};
|
|
16
16
|
};
|
|
@@ -22,7 +22,7 @@ export declare const progressRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
22
22
|
range: string;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
25
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
26
26
|
size: {
|
|
27
27
|
md: {};
|
|
28
28
|
};
|
|
@@ -34,4 +34,4 @@ export declare const progressRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
34
34
|
range: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
}, Record<"label" | "track" | "circle" | "view" | "root" | "
|
|
37
|
+
}, Record<"label" | "track" | "circle" | "view" | "root" | "range" | "valueText" | "circleTrack" | "circleRange", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { progressAnatomy } from '@ark-ui/react/progress';
|
|
2
2
|
import { tv } from 'tailwind-variants';
|
|
3
|
-
import { anatomyToRecipeSlots } from '../../utils/
|
|
3
|
+
import { anatomyToRecipeSlots } from '../../utils/anatomyToRecipeSlots.js';
|
|
4
4
|
export const progressRecipe = tv({
|
|
5
5
|
slots: anatomyToRecipeSlots(progressAnatomy),
|
|
6
6
|
variants: {
|
|
@@ -11,7 +11,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
11
11
|
indicator: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
}, Record<"
|
|
14
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, {
|
|
15
15
|
size: {
|
|
16
16
|
md: {};
|
|
17
17
|
};
|
|
@@ -23,7 +23,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
23
23
|
indicator: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
}, Record<"
|
|
26
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
27
27
|
size: {
|
|
28
28
|
md: {};
|
|
29
29
|
};
|
|
@@ -35,7 +35,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
35
35
|
indicator: string;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
}, Record<"
|
|
38
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
39
39
|
export declare const Indicator: import("react").ComponentType<import("@ark-ui/react").Assign<SegmentGroup.IndicatorProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
40
40
|
size: {
|
|
41
41
|
md: {};
|
|
@@ -48,7 +48,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
48
48
|
indicator: string;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
}, Record<"
|
|
51
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, {
|
|
52
52
|
size: {
|
|
53
53
|
md: {};
|
|
54
54
|
};
|
|
@@ -60,7 +60,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
60
60
|
indicator: string;
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
|
-
}, Record<"
|
|
63
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
64
64
|
size: {
|
|
65
65
|
md: {};
|
|
66
66
|
};
|
|
@@ -72,7 +72,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
72
72
|
indicator: string;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
}, Record<"
|
|
75
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
76
76
|
export declare const Item: import("react").ComponentType<import("@ark-ui/react").Assign<SegmentGroup.ItemProps & import("react").RefAttributes<HTMLLabelElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
77
77
|
size: {
|
|
78
78
|
md: {};
|
|
@@ -85,7 +85,7 @@ export declare const Item: import("react").ComponentType<import("@ark-ui/react")
|
|
|
85
85
|
indicator: string;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
|
-
}, Record<"
|
|
88
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, {
|
|
89
89
|
size: {
|
|
90
90
|
md: {};
|
|
91
91
|
};
|
|
@@ -97,7 +97,7 @@ export declare const Item: import("react").ComponentType<import("@ark-ui/react")
|
|
|
97
97
|
indicator: string;
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
-
}, Record<"
|
|
100
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
101
101
|
size: {
|
|
102
102
|
md: {};
|
|
103
103
|
};
|
|
@@ -109,7 +109,7 @@ export declare const Item: import("react").ComponentType<import("@ark-ui/react")
|
|
|
109
109
|
indicator: string;
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
-
}, Record<"
|
|
112
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
113
113
|
export declare const ItemControl: import("react").ComponentType<import("@ark-ui/react").Assign<SegmentGroup.ItemControlProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
114
114
|
size: {
|
|
115
115
|
md: {};
|
|
@@ -122,7 +122,7 @@ export declare const ItemControl: import("react").ComponentType<import("@ark-ui/
|
|
|
122
122
|
indicator: string;
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
-
}, Record<"
|
|
125
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, {
|
|
126
126
|
size: {
|
|
127
127
|
md: {};
|
|
128
128
|
};
|
|
@@ -134,7 +134,7 @@ export declare const ItemControl: import("react").ComponentType<import("@ark-ui/
|
|
|
134
134
|
indicator: string;
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
}, Record<"
|
|
137
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
138
138
|
size: {
|
|
139
139
|
md: {};
|
|
140
140
|
};
|
|
@@ -146,7 +146,7 @@ export declare const ItemControl: import("react").ComponentType<import("@ark-ui/
|
|
|
146
146
|
indicator: string;
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
}, Record<"
|
|
149
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
150
150
|
export declare const ItemText: import("react").ComponentType<import("@ark-ui/react").Assign<SegmentGroup.ItemTextProps & import("react").RefAttributes<HTMLSpanElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
151
151
|
size: {
|
|
152
152
|
md: {};
|
|
@@ -159,7 +159,7 @@ export declare const ItemText: import("react").ComponentType<import("@ark-ui/rea
|
|
|
159
159
|
indicator: string;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
|
-
}, Record<"
|
|
162
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, {
|
|
163
163
|
size: {
|
|
164
164
|
md: {};
|
|
165
165
|
};
|
|
@@ -171,7 +171,7 @@ export declare const ItemText: import("react").ComponentType<import("@ark-ui/rea
|
|
|
171
171
|
indicator: string;
|
|
172
172
|
};
|
|
173
173
|
};
|
|
174
|
-
}, Record<"
|
|
174
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
175
175
|
size: {
|
|
176
176
|
md: {};
|
|
177
177
|
};
|
|
@@ -183,7 +183,7 @@ export declare const ItemText: import("react").ComponentType<import("@ark-ui/rea
|
|
|
183
183
|
indicator: string;
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
-
}, Record<"
|
|
186
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
187
187
|
export declare const Label: import("react").ComponentType<import("@ark-ui/react").Assign<SegmentGroup.LabelProps & import("react").RefAttributes<HTMLLabelElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
188
188
|
size: {
|
|
189
189
|
md: {};
|
|
@@ -196,7 +196,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
196
196
|
indicator: string;
|
|
197
197
|
};
|
|
198
198
|
};
|
|
199
|
-
}, Record<"
|
|
199
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, {
|
|
200
200
|
size: {
|
|
201
201
|
md: {};
|
|
202
202
|
};
|
|
@@ -208,7 +208,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
208
208
|
indicator: string;
|
|
209
209
|
};
|
|
210
210
|
};
|
|
211
|
-
}, Record<"
|
|
211
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
212
212
|
size: {
|
|
213
213
|
md: {};
|
|
214
214
|
};
|
|
@@ -220,7 +220,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
220
220
|
indicator: string;
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
|
-
}, Record<"
|
|
223
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
224
224
|
export declare const Context: (props: SegmentGroup.ContextProps) => import("react").ReactNode;
|
|
225
225
|
export declare const ItemContext: (props: SegmentGroup.ItemContextProps) => import("react").ReactNode;
|
|
226
226
|
export declare const ItemHiddenInput: import("react").ForwardRefExoticComponent<SegmentGroup.ItemHiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { SegmentGroup } from '@ark-ui/react/segment-group';
|
|
3
|
-
import { createRecipeContext } from '../../client/utils/
|
|
3
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
4
4
|
import { segmentGroupRecipe } from './segmentGroup.recipe.js';
|
|
5
5
|
const { withProvider, withContext } = createRecipeContext(segmentGroupRecipe);
|
|
6
6
|
export const Root = withProvider(SegmentGroup.Root, 'root');
|
|
@@ -10,7 +10,7 @@ export declare const segmentGroupRecipe: import("tailwind-variants").TVReturnTyp
|
|
|
10
10
|
indicator: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
}, Record<"
|
|
13
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, {
|
|
14
14
|
size: {
|
|
15
15
|
md: {};
|
|
16
16
|
};
|
|
@@ -22,7 +22,7 @@ export declare const segmentGroupRecipe: import("tailwind-variants").TVReturnTyp
|
|
|
22
22
|
indicator: string;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
}, Record<"
|
|
25
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
26
26
|
size: {
|
|
27
27
|
md: {};
|
|
28
28
|
};
|
|
@@ -34,4 +34,4 @@ export declare const segmentGroupRecipe: import("tailwind-variants").TVReturnTyp
|
|
|
34
34
|
indicator: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
}, Record<"
|
|
37
|
+
}, Record<"label" | "root" | "indicator" | "item" | "itemText" | "itemControl", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { segmentGroupAnatomy } from '@ark-ui/react/segment-group';
|
|
2
2
|
import { tv } from 'tailwind-variants';
|
|
3
|
-
import { anatomyToRecipeSlots } from '../../utils/
|
|
3
|
+
import { anatomyToRecipeSlots } from '../../utils/anatomyToRecipeSlots.js';
|
|
4
4
|
export const segmentGroupRecipe = tv({
|
|
5
5
|
slots: anatomyToRecipeSlots(segmentGroupAnatomy),
|
|
6
6
|
variants: {
|