@opexa/portal-components 0.0.17 → 0.0.19
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 +7 -1
- package/dist/client/hooks/useAuthenticateMutation.js +1 -1
- package/dist/client/hooks/useAuthenticateMutation.mjs +5 -4
- package/dist/client/hooks/useBonusesQuery.d.ts +3 -0
- package/dist/client/hooks/useBonusesQuery.js +1 -0
- package/dist/client/hooks/useBonusesQuery.mjs +38 -0
- package/dist/client/hooks/useCreateGameSessionMutation.d.ts +2 -2
- package/dist/client/hooks/useCreateGameSessionMutation.js +1 -1
- package/dist/client/hooks/useCreateGameSessionMutation.mjs +22 -22
- package/dist/client/hooks/useEndGameSessionMutation.d.ts +2 -2
- package/dist/client/hooks/useEndGameSessionMutation.js +1 -1
- package/dist/client/hooks/useEndGameSessionMutation.mjs +18 -18
- package/dist/client/hooks/useFavoriteGamesQuery.d.ts +3 -0
- package/dist/client/hooks/useFavoriteGamesQuery.js +1 -0
- package/dist/client/hooks/useFavoriteGamesQuery.mjs +38 -0
- package/dist/client/hooks/useGlobalStore.d.ts +34 -14
- package/dist/client/hooks/useGlobalStore.js +1 -1
- package/dist/client/hooks/useGlobalStore.mjs +113 -34
- package/dist/client/hooks/useJackpotPayoutsQuery.d.ts +3 -0
- package/dist/client/hooks/useJackpotPayoutsQuery.js +1 -0
- package/dist/client/hooks/useJackpotPayoutsQuery.mjs +31 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.d.ts +2 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +1 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.mjs +37 -0
- package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +2 -0
- package/dist/client/hooks/useMarkMessageAsReadMutation.js +1 -0
- package/dist/client/hooks/useMarkMessageAsReadMutation.mjs +39 -0
- package/dist/client/hooks/useMessagesQuery.d.ts +3 -0
- package/dist/client/hooks/useMessagesQuery.js +1 -0
- package/dist/client/hooks/useMessagesQuery.mjs +47 -0
- package/dist/client/hooks/useSignInMutation.js +1 -1
- package/dist/client/hooks/useSignInMutation.mjs +3 -2
- package/dist/client/hooks/useSignOutMutation.js +1 -1
- package/dist/client/hooks/useSignOutMutation.mjs +11 -10
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.d.ts +2 -0
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.js +1 -0
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.mjs +37 -0
- package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +3 -0
- package/dist/client/hooks/useUnreadMessagesCountQuery.js +1 -0
- package/dist/client/hooks/useUnreadMessagesCountQuery.mjs +38 -0
- package/dist/client/services/getSession.d.ts +1 -1
- package/dist/client/services/getSession.js +1 -1
- package/dist/client/services/getSession.mjs +4 -3
- package/dist/client-hooks.js +1 -1
- package/dist/client-hooks.mjs +92 -80
- package/dist/components/Account/Account.d.ts +17 -8
- package/dist/components/Account/Account.js +1 -1
- package/dist/components/Account/Account.mjs +253 -130
- package/dist/components/Account/account.recipe.d.ts +61 -0
- package/dist/components/Account/account.recipe.js +1 -0
- package/dist/components/Account/account.recipe.mjs +35 -0
- package/dist/components/Banner/Banner.js +1 -1
- package/dist/components/Banner/Banner.mjs +6 -6
- package/dist/components/BetRecords/BetRecords.js +1 -1
- package/dist/components/BetRecords/BetRecords.mjs +375 -319
- package/dist/components/Bonus/Bonus.client.d.ts +2 -0
- package/dist/components/Bonus/Bonus.client.js +1 -0
- package/dist/components/Bonus/Bonus.client.mjs +143 -0
- package/dist/components/Bonus/Bonus.d.ts +10 -0
- package/dist/components/Bonus/Bonus.js +1 -0
- package/dist/components/Bonus/Bonus.mjs +8 -0
- package/dist/components/Bonus/index.d.ts +1 -0
- package/dist/components/Bonuses/Bonuses.d.ts +15 -0
- package/dist/components/Bonuses/Bonuses.js +1 -0
- package/dist/components/Bonuses/Bonuses.mjs +126 -0
- package/dist/components/Bonuses/index.d.ts +1 -0
- package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
- package/dist/components/DepositWithdrawal/AmountChoices.mjs +11 -6
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.mjs +32 -27
- package/dist/components/DepositWithdrawal/Deposit/Deposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +3 -2
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +18 -13
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +7 -2
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +18 -13
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +7 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +10 -6
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +9 -8
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +43 -38
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +10 -6
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +12 -8
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +9 -8
- package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +50 -48
- package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.mjs +28 -23
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +86 -74
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +120 -108
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +77 -65
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +96 -84
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.mjs +3 -2
- package/dist/components/Disclaimer/Disclaimer.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.mjs +16 -12
- package/dist/components/Empty.js +1 -0
- package/dist/components/{Empty/CloudIcon.mjs → Empty.mjs} +26 -11
- package/dist/components/FavoriteGames/FavoriteGames.client.d.ts +2 -0
- package/dist/components/FavoriteGames/FavoriteGames.client.js +1 -0
- package/dist/components/FavoriteGames/FavoriteGames.client.mjs +132 -0
- package/dist/components/FavoriteGames/FavoriteGames.d.ts +6 -0
- package/dist/components/FavoriteGames/FavoriteGames.js +1 -0
- package/dist/components/FavoriteGames/FavoriteGames.mjs +17 -0
- package/dist/components/FavoriteGames/index.d.ts +1 -0
- package/dist/components/GameLaunch/GameLaunch.d.ts +1 -5
- package/dist/components/GameLaunch/GameLaunch.js +1 -1
- package/dist/components/GameLaunch/GameLaunch.mjs +151 -124
- package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +2 -2
- package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
- package/dist/components/GameLaunch/GameLaunchTrigger.mjs +7 -6
- package/dist/components/GameProviders/GameProviders.d.ts +7 -10
- package/dist/components/GameProviders/GameProviders.js +1 -0
- package/dist/components/GameProviders/GameProviders.mjs +122 -0
- package/dist/components/GameProviders/index.d.ts +1 -0
- package/dist/components/Games/Games.client.js +1 -1
- package/dist/components/Games/Games.client.mjs +96 -68
- package/dist/components/Games/Games.d.ts +7 -2
- package/dist/components/Games/Games.js +1 -1
- package/dist/components/Games/Games.mjs +4 -2
- package/dist/components/GamesSearch/GamesSearch.d.ts +6 -0
- package/dist/components/GamesSearch/GamesSearch.js +1 -0
- package/dist/components/GamesSearch/GamesSearch.mjs +199 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.d.ts +4 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.js +1 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.mjs +50 -0
- package/dist/components/GamesSearch/index.d.ts +2 -0
- package/dist/components/InfiniteScroll.d.ts +10 -0
- package/dist/components/InfiniteScroll.js +1 -0
- package/dist/components/InfiniteScroll.mjs +30 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +2 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.js +1 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.mjs +139 -0
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +5 -3
- package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.mjs +10 -110
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +4 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.mjs +370 -125
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.mjs +13 -8
- package/dist/components/Jackpots/JackpotGameProviders.d.ts +1 -0
- package/dist/components/Jackpots/JackpotGameProviders.js +1 -0
- package/dist/components/Jackpots/JackpotGameProviders.mjs +105 -0
- package/dist/components/Jackpots/JackpotItem.d.ts +7 -0
- package/dist/components/Jackpots/JackpotItem.js +1 -0
- package/dist/components/Jackpots/JackpotItem.mjs +408 -0
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +7 -0
- package/dist/components/Jackpots/JackpotItemMobile.js +1 -0
- package/dist/components/Jackpots/JackpotItemMobile.mjs +427 -0
- package/dist/components/Jackpots/JackpotRules.d.ts +6 -0
- package/dist/components/Jackpots/JackpotRules.js +1 -0
- package/dist/components/Jackpots/JackpotRules.mjs +78 -0
- package/dist/components/Jackpots/Jackpots.d.ts +8 -0
- package/dist/components/Jackpots/Jackpots.js +1 -0
- package/dist/components/Jackpots/Jackpots.mjs +61 -0
- package/dist/components/Jackpots/index.d.ts +1 -0
- package/dist/components/KYC/KYC.d.ts +5 -0
- package/dist/components/KYC/KYC.js +1 -0
- package/dist/components/KYC/KYC.mjs +84 -0
- package/dist/components/KYC/KYCContext.d.ts +3 -0
- package/dist/components/KYC/KYCContext.js +1 -0
- package/dist/components/KYC/KYCContext.mjs +11 -0
- package/dist/components/KYC/KYCTrigger.d.ts +5 -0
- package/dist/components/KYC/KYCTrigger.js +1 -0
- package/dist/components/KYC/KYCTrigger.mjs +42 -0
- package/dist/components/KYC/Step1.d.ts +1 -0
- package/dist/components/KYC/Step1.js +1 -0
- package/dist/components/KYC/Step1.mjs +67 -0
- package/dist/components/KYC/Step2.d.ts +1 -0
- package/dist/components/KYC/Step2.js +1 -0
- package/dist/components/KYC/Step2.mjs +126 -0
- package/dist/components/KYC/Step3.d.ts +1 -0
- package/dist/components/KYC/Step3.js +1 -0
- package/dist/components/KYC/Step3.mjs +98 -0
- package/dist/components/KYC/StepIndicator.d.ts +1 -0
- package/dist/components/KYC/StepIndicator.js +1 -0
- package/dist/components/KYC/StepIndicator.mjs +42 -0
- package/dist/components/KYC/UploadDocument.d.ts +1 -0
- package/dist/components/KYC/UploadDocument.js +1 -0
- package/dist/components/KYC/UploadDocument.mjs +69 -0
- package/dist/components/KYC/UploadSelfie.d.ts +1 -0
- package/dist/components/KYC/UploadSelfie.js +1 -0
- package/dist/components/KYC/UploadSelfie.mjs +65 -0
- package/dist/components/KYC/index.d.ts +2 -0
- package/dist/components/KYC/useKYC.d.ts +14 -0
- package/dist/components/KYC/useKYC.js +1 -0
- package/dist/components/KYC/useKYC.mjs +43 -0
- package/dist/components/KYC/utils.d.ts +1 -0
- package/dist/components/Marquee/Marquee.js +1 -1
- package/dist/components/Marquee/Marquee.mjs +7 -7
- package/dist/components/Messages/MessageItem.d.ts +4 -0
- package/dist/components/Messages/MessageItem.js +1 -0
- package/dist/components/Messages/MessageItem.mjs +75 -0
- package/dist/components/Messages/MessagePopup.d.ts +1 -0
- package/dist/components/Messages/MessagePopup.js +1 -0
- package/dist/components/Messages/MessagePopup.mjs +95 -0
- package/dist/components/Messages/Messages.d.ts +1 -0
- package/dist/components/Messages/Messages.js +1 -0
- package/dist/components/Messages/Messages.mjs +166 -0
- package/dist/components/Messages/index.d.ts +1 -0
- package/dist/components/Messages/utils.d.ts +3 -0
- package/dist/components/Messages/utils.js +1 -0
- package/dist/components/Messages/utils.mjs +16 -0
- package/dist/components/PortalProvider/PortalProvider.client.d.ts +2 -0
- package/dist/components/PortalProvider/{Providers.js → PortalProvider.client.js} +1 -1
- package/dist/components/PortalProvider/{Providers.mjs → PortalProvider.client.mjs} +28 -15
- package/dist/components/PortalProvider/PortalProvider.d.ts +9 -2
- package/dist/components/PortalProvider/PortalProvider.js +1 -1
- package/dist/components/PortalProvider/PortalProvider.mjs +17 -11
- package/dist/components/Promo/Promo.d.ts +4 -1
- package/dist/components/Promo/Promo.js +1 -1
- package/dist/components/Promo/Promo.mjs +2 -2
- package/dist/components/Promo/PromoContent.js +1 -1
- package/dist/components/Promo/PromoContent.mjs +75 -22
- package/dist/components/Promos/PromoCarousel.js +1 -1
- package/dist/components/Promos/PromoCarousel.mjs +30 -25
- package/dist/components/Promos/PromoGrid.js +1 -1
- package/dist/components/Promos/PromoGrid.mjs +14 -13
- package/dist/components/Promos/PromoItem.js +1 -1
- package/dist/components/Promos/PromoItem.mjs +11 -7
- package/dist/components/Promos/Promos.d.ts +4 -2
- package/dist/components/Protected/Protected.js +1 -1
- package/dist/components/Protected/Protected.mjs +3 -2
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +1 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.mjs +154 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +8 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +1 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.mjs +66 -0
- package/dist/components/Quests/Quests.d.ts +1 -0
- package/dist/components/Quests/Quests.js +1 -0
- package/dist/components/Quests/Quests.mjs +15 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.js +1 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.mjs +109 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +8 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +1 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.mjs +63 -0
- package/dist/components/Quests/index.d.ts +1 -0
- package/dist/components/SignIn/SignIn.d.ts +0 -1
- package/dist/components/SignIn/SignIn.js +1 -1
- package/dist/components/SignIn/SignIn.mjs +34 -41
- package/dist/components/SignIn/SignInForm.js +1 -1
- package/dist/components/SignIn/SignInForm.mjs +169 -160
- package/dist/components/SignUp/SignUp.d.ts +0 -1
- package/dist/components/SignUp/SignUp.js +1 -1
- package/dist/components/SignUp/SignUp.mjs +34 -41
- package/dist/components/SignUp/SignUpForm.js +1 -1
- package/dist/components/SignUp/SignUpForm.mjs +125 -116
- package/dist/components/TopWins/TopWins.client.js +1 -1
- package/dist/components/TopWins/TopWins.client.mjs +15 -14
- package/dist/components/TopWins/TopWins.d.ts +2 -1
- package/dist/components/TopWins/TopWins.js +1 -1
- package/dist/components/TopWins/TopWins.mjs +4 -2
- package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +2 -0
- package/dist/components/TournamentCounter/TournamentCounter.client.js +1 -0
- package/dist/components/TournamentCounter/TournamentCounter.client.mjs +139 -0
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +5 -3
- package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.mjs +17 -108
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +7 -5
- package/dist/components/TournamentCounter/TournamentCounterItem.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounterItem.mjs +225 -86
- package/dist/components/Tournaments/TournamentGameProviders.d.ts +1 -0
- package/dist/components/Tournaments/TournamentGameProviders.js +1 -0
- package/dist/components/Tournaments/TournamentGameProviders.mjs +105 -0
- package/dist/components/Tournaments/TournamentItem.d.ts +6 -0
- package/dist/components/Tournaments/TournamentItem.js +2 -0
- package/dist/components/Tournaments/TournamentItem.mjs +262 -0
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +8 -0
- package/dist/components/Tournaments/TournamentItemMobile.js +2 -0
- package/dist/components/Tournaments/TournamentItemMobile.mjs +285 -0
- package/dist/components/Tournaments/TournamentRules.d.ts +6 -0
- package/dist/components/Tournaments/TournamentRules.js +1 -0
- package/dist/components/Tournaments/TournamentRules.mjs +78 -0
- package/dist/components/Tournaments/Tournaments.d.ts +8 -0
- package/dist/components/Tournaments/Tournaments.js +1 -0
- package/dist/components/Tournaments/Tournaments.mjs +47 -0
- package/dist/components/Tournaments/index.d.ts +1 -0
- package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/DepositRecordsTable.mjs +123 -100
- package/dist/components/TransactionRecords/TableFilters.d.ts +3 -1
- package/dist/components/TransactionRecords/TableFilters.js +1 -1
- package/dist/components/TransactionRecords/TableFilters.mjs +282 -179
- package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecords.mjs +22 -17
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +118 -97
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +120 -102
- package/dist/components/index.d.ts +10 -0
- package/dist/components.js +1 -1
- package/dist/components.mjs +56 -32
- package/dist/icons/ArrowNarrowDownIcon.d.ts +2 -0
- package/dist/icons/ArrowNarrowDownIcon.js +1 -0
- package/dist/icons/ArrowNarrowDownIcon.mjs +22 -0
- package/dist/icons/ArrowNarrowUpIcon.d.ts +2 -0
- package/dist/icons/ArrowNarrowUpIcon.js +1 -0
- package/dist/icons/ArrowNarrowUpIcon.mjs +22 -0
- package/dist/icons/Award01Icon.d.ts +2 -0
- package/dist/icons/Award01Icon.js +1 -0
- package/dist/icons/Award01Icon.mjs +22 -0
- package/dist/icons/Bell01Icon.d.ts +2 -0
- package/dist/icons/Bell01Icon.js +1 -0
- package/dist/icons/Bell01Icon.mjs +27 -0
- package/dist/icons/BellRingIcon.d.ts +2 -0
- package/dist/icons/BellRingIcon.js +1 -0
- package/dist/icons/BellRingIcon.mjs +27 -0
- package/dist/icons/CalendarIcon.d.ts +2 -0
- package/dist/icons/CalendarIcon.js +1 -0
- package/dist/icons/CalendarIcon.mjs +26 -0
- package/dist/icons/Camera01Icon.d.ts +2 -0
- package/dist/icons/Camera01Icon.js +1 -0
- package/dist/icons/Camera01Icon.mjs +25 -0
- package/dist/icons/CheckCircleIcon.d.ts +2 -0
- package/dist/icons/CheckCircleIcon.js +1 -0
- package/dist/icons/CheckCircleIcon.mjs +22 -0
- package/dist/icons/ClockStopWatchIcon.d.ts +2 -0
- package/dist/icons/ClockStopWatchIcon.js +1 -0
- package/dist/icons/ClockStopWatchIcon.mjs +26 -0
- package/dist/icons/CoinsHandIcon.d.ts +2 -0
- package/dist/icons/CoinsHandIcon.js +1 -0
- package/dist/icons/CoinsHandIcon.mjs +22 -0
- package/dist/icons/CoinsStacked02Icon.d.ts +2 -0
- package/dist/icons/CoinsStacked02Icon.js +1 -0
- package/dist/icons/CoinsStacked02Icon.mjs +22 -0
- package/dist/icons/CoinsSwap02Icon.d.ts +2 -0
- package/dist/icons/CoinsSwap02Icon.js +1 -0
- package/dist/icons/CoinsSwap02Icon.mjs +22 -0
- package/dist/icons/EyeIcon.d.ts +2 -0
- package/dist/icons/EyeIcon.js +1 -0
- package/dist/icons/EyeIcon.mjs +25 -0
- package/dist/icons/EyeOffIcon.d.ts +2 -0
- package/dist/icons/EyeOffIcon.js +1 -0
- package/dist/icons/EyeOffIcon.mjs +22 -0
- package/dist/icons/Flag06Icon.d.ts +2 -0
- package/dist/icons/Flag06Icon.js +1 -0
- package/dist/icons/Flag06Icon.mjs +22 -0
- package/dist/icons/HelpCircleIcon.d.ts +2 -0
- package/dist/icons/HelpCircleIcon.js +1 -0
- package/dist/icons/HelpCircleIcon.mjs +22 -0
- package/dist/icons/InfoCircleIcon.d.ts +2 -0
- package/dist/icons/InfoCircleIcon.js +1 -0
- package/dist/icons/InfoCircleIcon.mjs +27 -0
- package/dist/icons/Menu01Icon.d.ts +2 -0
- package/dist/icons/Menu01Icon.js +1 -0
- package/dist/icons/Menu01Icon.mjs +22 -0
- package/dist/icons/Menu03Icon.d.ts +2 -0
- package/dist/icons/Menu03Icon.js +1 -0
- package/dist/icons/Menu03Icon.mjs +22 -0
- package/dist/icons/SearchLgIcon.d.ts +2 -0
- package/dist/icons/SearchLgIcon.js +1 -0
- package/dist/icons/SearchLgIcon.mjs +22 -0
- package/dist/icons/Settings02Icon.d.ts +2 -0
- package/dist/icons/Settings02Icon.js +1 -0
- package/dist/icons/Settings02Icon.mjs +25 -0
- package/dist/icons/Star01Icon.d.ts +2 -0
- package/dist/icons/Star01Icon.js +1 -0
- package/dist/icons/Star01Icon.mjs +22 -0
- package/dist/icons/StarIcon.d.ts +2 -0
- package/dist/icons/StarIcon.js +1 -0
- package/dist/icons/StarIcon.mjs +18 -0
- package/dist/icons/StopWatchIcon.d.ts +2 -0
- package/dist/icons/StopWatchIcon.js +1 -0
- package/dist/icons/StopWatchIcon.mjs +22 -0
- package/dist/icons/Trophy01Icon.d.ts +2 -0
- package/dist/icons/Trophy01Icon.js +1 -0
- package/dist/icons/Trophy01Icon.mjs +22 -0
- package/dist/icons/UploadCloud02Icon.d.ts +2 -0
- package/dist/icons/UploadCloud02Icon.js +1 -0
- package/dist/icons/UploadCloud02Icon.mjs +22 -0
- package/dist/icons/index.d.ts +22 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +1 -0
- package/dist/icons.mjs +94 -0
- package/dist/images/fantasma-games.png.js +1 -0
- package/dist/images/fantasma-games.png.mjs +4 -0
- package/dist/images/first-place.png.js +1 -0
- package/dist/images/first-place.png.mjs +4 -0
- package/dist/images/hacksaw-gaming.png.js +1 -0
- package/dist/images/hacksaw-gaming.png.mjs +4 -0
- package/dist/images/leaderboard.png.js +1 -0
- package/dist/images/leaderboard.png.mjs +4 -0
- package/dist/images/placeholder-avatar.png.js +1 -0
- package/dist/images/placeholder-avatar.png.mjs +4 -0
- package/dist/images/responsible-gaming.png.js +1 -1
- package/dist/images/responsible-gaming.png.mjs +2 -2
- package/dist/images/trophy-two.png.js +1 -0
- package/dist/images/trophy-two.png.mjs +4 -0
- package/dist/portal-components.css +1 -1
- package/dist/server/services/getSession.d.ts +1 -1
- package/dist/server/services/getSession.js +1 -1
- package/dist/server/services/getSession.mjs +6 -5
- package/dist/server/utils/index.d.ts +2 -1
- package/dist/server/utils/prefetchBonusesQuery.d.ts +1 -0
- package/dist/server/utils/prefetchBonusesQuery.js +1 -0
- package/dist/server/utils/prefetchBonusesQuery.mjs +26 -0
- package/dist/server/utils/prefetchFavoriteGamesQuery.d.ts +1 -0
- package/dist/server/utils/prefetchFavoriteGamesQuery.js +1 -0
- package/dist/server/utils/prefetchFavoriteGamesQuery.mjs +28 -0
- package/dist/server/utils/prefetchUnreadMessagesCountQuery.d.ts +2 -0
- package/dist/server-utils.js +1 -1
- package/dist/server-utils.mjs +38 -36
- package/dist/theme.css +131 -5
- package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +4 -0
- package/dist/third-parties/FacebookPixel/FacebookPixel.js +1 -0
- package/dist/third-parties/FacebookPixel/FacebookPixel.mjs +6 -0
- package/dist/third-parties/FacebookPixel/api.d.ts +1 -0
- package/dist/third-parties/FacebookPixel/index.d.ts +1 -0
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +4 -0
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +1 -0
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.mjs +6 -0
- package/dist/third-parties/GoogleRecaptcha/api.d.ts +1 -0
- package/dist/third-parties/GoogleRecaptcha/index.d.ts +1 -0
- package/dist/third-parties/index.d.ts +2 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +1 -0
- package/dist/types.mjs +1 -0
- package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
- package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
- package/dist/ui/AlertDialog/alertDialog.recipe.mjs +6 -6
- package/dist/ui/Badge/Badge.d.ts +274 -27
- package/dist/ui/Badge/Badge.js +1 -1
- package/dist/ui/Badge/Badge.mjs +14 -10
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
- package/dist/ui/Badge/badge.anatomy.js +1 -1
- package/dist/ui/Badge/badge.anatomy.mjs +1 -0
- package/dist/ui/Badge/badge.recipe.d.ts +57 -9
- package/dist/ui/Badge/badge.recipe.js +1 -1
- package/dist/ui/Badge/badge.recipe.mjs +57 -21
- package/dist/ui/Button/button.recipe.d.ts +2 -2
- package/dist/ui/Button/button.recipe.js +1 -1
- package/dist/ui/Button/button.recipe.mjs +17 -7
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- package/dist/ui/Checkbox/checkbox.recipe.mjs +8 -8
- package/dist/ui/Collapsible/Collapsible.d.ts +114 -0
- package/dist/ui/Collapsible/Collapsible.js +1 -0
- package/dist/ui/Collapsible/Collapsible.mjs +13 -0
- package/dist/ui/Collapsible/collapsible.recipe.d.ts +28 -0
- package/dist/ui/Collapsible/collapsible.recipe.js +1 -0
- package/dist/ui/Collapsible/collapsible.recipe.mjs +18 -0
- package/dist/ui/Collapsible/index.d.ts +1 -0
- package/dist/ui/Combobox/Combobox.d.ts +815 -1
- package/dist/ui/Combobox/Combobox.js +1 -1
- package/dist/ui/Combobox/Combobox.mjs +27 -2
- package/dist/ui/Combobox/combobox.recipe.d.ts +58 -1
- package/dist/ui/Combobox/combobox.recipe.js +1 -0
- package/dist/ui/Combobox/combobox.recipe.mjs +15 -0
- package/dist/ui/DatePicker/DatePicker.d.ts +192 -192
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +8 -8
- package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
- package/dist/ui/DatePicker/datePicker.recipe.mjs +37 -6
- package/dist/ui/Dialog/Dialog.d.ts +88 -88
- package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
- package/dist/ui/Dialog/dialog.recipe.js +1 -1
- package/dist/ui/Dialog/dialog.recipe.mjs +5 -5
- package/dist/ui/Drawer/Drawer.d.ts +33 -33
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Drawer/drawer.recipe.js +1 -1
- package/dist/ui/Drawer/drawer.recipe.mjs +6 -6
- package/dist/ui/Field/field.recipe.js +1 -1
- package/dist/ui/Field/field.recipe.mjs +10 -12
- package/dist/ui/IconButton/iconButton.recipe.d.ts +3 -2
- package/dist/ui/IconButton/iconButton.recipe.js +1 -1
- package/dist/ui/IconButton/iconButton.recipe.mjs +7 -6
- package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
- package/dist/ui/NumberInput/numberInput.recipe.mjs +8 -8
- package/dist/ui/PasswordInput/PasswordInput.d.ts +242 -1
- package/dist/ui/PasswordInput/PasswordInput.js +1 -0
- package/dist/ui/PasswordInput/PasswordInput.mjs +18 -0
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +6 -18
- package/dist/ui/PasswordInput/passwordInput.recipe.js +1 -0
- package/dist/ui/PasswordInput/passwordInput.recipe.mjs +48 -0
- package/dist/ui/PinInput/pinInput.recipe.js +1 -1
- package/dist/ui/PinInput/pinInput.recipe.mjs +3 -3
- package/dist/ui/Popover/Popover.d.ts +55 -55
- package/dist/ui/Popover/popover.recipe.d.ts +5 -5
- package/dist/ui/Popover/popover.recipe.js +1 -1
- package/dist/ui/Popover/popover.recipe.mjs +1 -1
- package/dist/ui/Progress/Progress.d.ts +335 -1
- package/dist/ui/Progress/Progress.js +1 -1
- package/dist/ui/Progress/Progress.mjs +15 -2
- package/dist/ui/Progress/progress.recipe.d.ts +37 -1
- package/dist/ui/Progress/progress.recipe.js +1 -0
- package/dist/ui/Progress/progress.recipe.mjs +41 -0
- package/dist/ui/Prose.d.ts +2 -0
- package/dist/ui/Prose.js +1 -0
- package/dist/ui/Prose.mjs +47 -0
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
- package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
- package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +3 -3
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Select/select.recipe.js +1 -1
- package/dist/ui/Select/select.recipe.mjs +7 -6
- package/dist/ui/Table/table.recipe.js +1 -1
- package/dist/ui/Table/table.recipe.mjs +4 -4
- package/dist/ui/Tabs/tabs.recipe.js +1 -1
- package/dist/ui/Tabs/tabs.recipe.mjs +3 -3
- package/dist/ui/index.d.ts +3 -0
- package/dist/ui.js +1 -1
- package/dist/ui.mjs +36 -30
- package/dist/utils/queryKeys.d.ts +9 -2
- package/dist/utils/queryKeys.js +1 -1
- package/dist/utils/queryKeys.mjs +56 -38
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +48 -41
- package/package.json +24 -12
- package/dist/client/hooks/useSiteQuery.d.ts +0 -3
- package/dist/client/hooks/useSiteQuery.js +0 -1
- package/dist/client/hooks/useSiteQuery.mjs +0 -23
- package/dist/components/Empty/CloudIcon.d.ts +0 -2
- package/dist/components/Empty/CloudIcon.js +0 -1
- package/dist/components/Empty/Empty.js +0 -1
- package/dist/components/Empty/Empty.mjs +0 -16
- package/dist/components/Empty/index.d.ts +0 -1
- package/dist/components/PortalProvider/Providers.d.ts +0 -2
- package/dist/components/Promos/PromosContent.d.ts +0 -2
- package/dist/images/ball.png.js +0 -1
- package/dist/images/ball.png.mjs +0 -4
- package/dist/images/card.png.js +0 -1
- package/dist/images/card.png.mjs +0 -4
- package/dist/server/utils/prefetchSiteQuery.d.ts +0 -1
- package/dist/server/utils/prefetchSiteQuery.js +0 -1
- package/dist/server/utils/prefetchSiteQuery.mjs +0 -23
- /package/dist/components/{Empty/Empty.d.ts → Empty.d.ts} +0 -0
|
@@ -3,50 +3,98 @@ export declare const badgeRecipe: import('tailwind-variants').TVReturnType<{
|
|
|
3
3
|
md: {
|
|
4
4
|
root: string;
|
|
5
5
|
label: string;
|
|
6
|
+
icon: string;
|
|
7
|
+
indicator: string;
|
|
8
|
+
};
|
|
9
|
+
lg: {
|
|
10
|
+
root: string;
|
|
11
|
+
label: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
indicator: string;
|
|
6
14
|
};
|
|
7
15
|
};
|
|
8
16
|
variant: {
|
|
9
17
|
subtle: {};
|
|
10
18
|
};
|
|
11
19
|
colorScheme: {
|
|
12
|
-
|
|
20
|
+
brand: {};
|
|
13
21
|
danger: {};
|
|
14
22
|
success: {};
|
|
15
23
|
warning: {};
|
|
16
|
-
|
|
24
|
+
blue: {};
|
|
25
|
+
};
|
|
26
|
+
round: {
|
|
27
|
+
true: {
|
|
28
|
+
root: string;
|
|
29
|
+
};
|
|
30
|
+
false: {
|
|
31
|
+
root: string;
|
|
32
|
+
};
|
|
17
33
|
};
|
|
18
|
-
}, Record<"label" | "root" | "indicator", string | string[]>, undefined, {
|
|
34
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, {
|
|
19
35
|
size: {
|
|
20
36
|
md: {
|
|
21
37
|
root: string;
|
|
22
38
|
label: string;
|
|
39
|
+
icon: string;
|
|
40
|
+
indicator: string;
|
|
41
|
+
};
|
|
42
|
+
lg: {
|
|
43
|
+
root: string;
|
|
44
|
+
label: string;
|
|
45
|
+
icon: string;
|
|
46
|
+
indicator: string;
|
|
23
47
|
};
|
|
24
48
|
};
|
|
25
49
|
variant: {
|
|
26
50
|
subtle: {};
|
|
27
51
|
};
|
|
28
52
|
colorScheme: {
|
|
29
|
-
|
|
53
|
+
brand: {};
|
|
30
54
|
danger: {};
|
|
31
55
|
success: {};
|
|
32
56
|
warning: {};
|
|
33
|
-
|
|
57
|
+
blue: {};
|
|
58
|
+
};
|
|
59
|
+
round: {
|
|
60
|
+
true: {
|
|
61
|
+
root: string;
|
|
62
|
+
};
|
|
63
|
+
false: {
|
|
64
|
+
root: string;
|
|
65
|
+
};
|
|
34
66
|
};
|
|
35
|
-
}, Record<"label" | "root" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
67
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<{
|
|
36
68
|
size: {
|
|
37
69
|
md: {
|
|
38
70
|
root: string;
|
|
39
71
|
label: string;
|
|
72
|
+
icon: string;
|
|
73
|
+
indicator: string;
|
|
74
|
+
};
|
|
75
|
+
lg: {
|
|
76
|
+
root: string;
|
|
77
|
+
label: string;
|
|
78
|
+
icon: string;
|
|
79
|
+
indicator: string;
|
|
40
80
|
};
|
|
41
81
|
};
|
|
42
82
|
variant: {
|
|
43
83
|
subtle: {};
|
|
44
84
|
};
|
|
45
85
|
colorScheme: {
|
|
46
|
-
|
|
86
|
+
brand: {};
|
|
47
87
|
danger: {};
|
|
48
88
|
success: {};
|
|
49
89
|
warning: {};
|
|
50
|
-
|
|
90
|
+
blue: {};
|
|
91
|
+
};
|
|
92
|
+
round: {
|
|
93
|
+
true: {
|
|
94
|
+
root: string;
|
|
95
|
+
};
|
|
96
|
+
false: {
|
|
97
|
+
root: string;
|
|
98
|
+
};
|
|
51
99
|
};
|
|
52
|
-
}, Record<"label" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
100
|
+
}, Record<"label" | "root" | "icon" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("tailwind-variants"),e=require("../../utils/anatomyToRecipeSlots.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const i=require("./badge.anatomy.js"),r=t.tv({slots:e.anatomyToRecipeSlots(i.badgeAnatomy,{root:"inline-flex items-center",icon:"shrink-0",label:"font-medium leading-tight",indicator:"shrink-0 rounded-full"}),variants:{size:{md:{root:"gap-1 px-2 py-0.5",label:"text-xs",icon:"size-3",indicator:"size-2"},lg:{root:"gap-1 px-2 py-1",label:"text-sm",icon:"size-3",indicator:"size-2"}},variant:{subtle:{}},colorScheme:{brand:{},danger:{},success:{},warning:{},blue:{}},round:{true:{root:"rounded-full"},false:{root:"rounded-md"}}},compoundVariants:[{variant:"subtle",colorScheme:"brand",className:{root:"bg-utility-brand-50 border-utility-brand-200 border",label:"text-utility-brand-700",indicator:"bg-utility-brand-500",icon:"text-utility-brand-600"}},{variant:"subtle",colorScheme:"success",className:{root:"bg-utility-success-50 border-utility-success-200 border",label:"text-utility-success-700",indicator:"bg-utility-success-500",icon:"text-utility-success-700"}},{variant:"subtle",colorScheme:"warning",className:{root:"bg-utility-warning-50 border-utility-warning-200 border",label:"text-utility-warning-700",indicator:"bg-utility-warning-500",icon:"text-utility-warning-700"}},{variant:"subtle",colorScheme:"danger",className:{root:"bg-utility-error-50 border-utility-error-200 border",label:"text-utility-error-700",indicator:"bg-utility-error-500",icon:"text-utility-error-700"}},{variant:"subtle",colorScheme:"blue",className:{root:"bg-utility-blue-50 border-utility-blue-200 border",label:"text-utility-blue-700",indicator:"bg-utility-blue-500",icon:"text-utility-blue-700"}}],defaultVariants:{size:"md",variant:"subtle",colorScheme:"success",round:!0}});exports.badgeRecipe=r;
|
|
@@ -1,74 +1,110 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
import { anatomyToRecipeSlots as
|
|
1
|
+
import { tv as t } from "tailwind-variants";
|
|
2
|
+
import { anatomyToRecipeSlots as i } from "../../utils/anatomyToRecipeSlots.mjs";
|
|
3
3
|
import "../../utils/capitalize.mjs";
|
|
4
4
|
import "../../utils/parseDecimal.mjs";
|
|
5
5
|
import "../../constants/index.mjs";
|
|
6
6
|
import "../../utils/getLocaleInfo.mjs";
|
|
7
7
|
import "../../utils/getQueryClient.mjs";
|
|
8
8
|
import "../../utils/isMobile.mjs";
|
|
9
|
-
import { badgeAnatomy as
|
|
10
|
-
const d =
|
|
11
|
-
slots: r
|
|
9
|
+
import { badgeAnatomy as r } from "./badge.anatomy.mjs";
|
|
10
|
+
const d = t({
|
|
11
|
+
slots: i(r, {
|
|
12
12
|
root: "inline-flex items-center",
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
icon: "shrink-0",
|
|
14
|
+
label: "font-medium leading-tight",
|
|
15
|
+
indicator: "shrink-0 rounded-full"
|
|
15
16
|
}),
|
|
16
17
|
variants: {
|
|
17
18
|
size: {
|
|
18
19
|
md: {
|
|
19
|
-
root: "gap-1
|
|
20
|
-
label: "text-xs
|
|
20
|
+
root: "gap-1 px-2 py-0.5",
|
|
21
|
+
label: "text-xs",
|
|
22
|
+
icon: "size-3",
|
|
23
|
+
indicator: "size-2"
|
|
24
|
+
},
|
|
25
|
+
lg: {
|
|
26
|
+
root: "gap-1 px-2 py-1",
|
|
27
|
+
label: "text-sm",
|
|
28
|
+
icon: "size-3",
|
|
29
|
+
indicator: "size-2"
|
|
21
30
|
}
|
|
22
31
|
},
|
|
23
32
|
variant: {
|
|
24
33
|
subtle: {}
|
|
25
34
|
},
|
|
26
35
|
colorScheme: {
|
|
27
|
-
|
|
36
|
+
brand: {},
|
|
28
37
|
danger: {},
|
|
29
38
|
success: {},
|
|
30
39
|
warning: {},
|
|
31
|
-
|
|
40
|
+
blue: {}
|
|
41
|
+
},
|
|
42
|
+
round: {
|
|
43
|
+
true: {
|
|
44
|
+
root: "rounded-full"
|
|
45
|
+
},
|
|
46
|
+
false: {
|
|
47
|
+
root: "rounded-md"
|
|
48
|
+
}
|
|
32
49
|
}
|
|
33
50
|
},
|
|
34
51
|
compoundVariants: [
|
|
35
52
|
{
|
|
36
53
|
variant: "subtle",
|
|
37
|
-
colorScheme: "
|
|
54
|
+
colorScheme: "brand",
|
|
38
55
|
className: {
|
|
39
|
-
root: "bg-
|
|
40
|
-
label: "text-
|
|
56
|
+
root: "bg-utility-brand-50 border-utility-brand-200 border",
|
|
57
|
+
label: "text-utility-brand-700",
|
|
58
|
+
indicator: "bg-utility-brand-500",
|
|
59
|
+
icon: "text-utility-brand-600"
|
|
41
60
|
}
|
|
42
61
|
},
|
|
43
62
|
{
|
|
44
63
|
variant: "subtle",
|
|
45
64
|
colorScheme: "success",
|
|
46
65
|
className: {
|
|
47
|
-
root: "bg-
|
|
48
|
-
label: "text-
|
|
66
|
+
root: "bg-utility-success-50 border-utility-success-200 border",
|
|
67
|
+
label: "text-utility-success-700",
|
|
68
|
+
indicator: "bg-utility-success-500",
|
|
69
|
+
icon: "text-utility-success-700"
|
|
49
70
|
}
|
|
50
71
|
},
|
|
51
72
|
{
|
|
52
73
|
variant: "subtle",
|
|
53
74
|
colorScheme: "warning",
|
|
54
75
|
className: {
|
|
55
|
-
root: "bg-
|
|
56
|
-
label: "text-
|
|
76
|
+
root: "bg-utility-warning-50 border-utility-warning-200 border",
|
|
77
|
+
label: "text-utility-warning-700",
|
|
78
|
+
indicator: "bg-utility-warning-500",
|
|
79
|
+
icon: "text-utility-warning-700"
|
|
57
80
|
}
|
|
58
81
|
},
|
|
59
82
|
{
|
|
60
83
|
variant: "subtle",
|
|
61
84
|
colorScheme: "danger",
|
|
62
85
|
className: {
|
|
63
|
-
root: "bg-
|
|
64
|
-
label: "text-
|
|
86
|
+
root: "bg-utility-error-50 border-utility-error-200 border",
|
|
87
|
+
label: "text-utility-error-700",
|
|
88
|
+
indicator: "bg-utility-error-500",
|
|
89
|
+
icon: "text-utility-error-700"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
variant: "subtle",
|
|
94
|
+
colorScheme: "blue",
|
|
95
|
+
className: {
|
|
96
|
+
root: "bg-utility-blue-50 border-utility-blue-200 border",
|
|
97
|
+
label: "text-utility-blue-700",
|
|
98
|
+
indicator: "bg-utility-blue-500",
|
|
99
|
+
icon: "text-utility-blue-700"
|
|
65
100
|
}
|
|
66
101
|
}
|
|
67
102
|
],
|
|
68
103
|
defaultVariants: {
|
|
69
104
|
size: "md",
|
|
70
105
|
variant: "subtle",
|
|
71
|
-
colorScheme: "success"
|
|
106
|
+
colorScheme: "success",
|
|
107
|
+
round: !0
|
|
72
108
|
}
|
|
73
109
|
});
|
|
74
110
|
export {
|
|
@@ -17,7 +17,7 @@ export declare const buttonRecipe: import('tailwind-variants').TVReturnType<{
|
|
|
17
17
|
fullWidth: {
|
|
18
18
|
true: string;
|
|
19
19
|
};
|
|
20
|
-
}, undefined, "shadow-xs inline-flex items-center justify-center rounded-md font-semibold disabled:shadow-none", {
|
|
20
|
+
}, undefined, "shadow-xs inline-flex items-center justify-center rounded-md font-semibold disabled:opacity-60 disabled:shadow-none", {
|
|
21
21
|
size: {
|
|
22
22
|
xs: string;
|
|
23
23
|
sm: string;
|
|
@@ -53,5 +53,5 @@ export declare const buttonRecipe: import('tailwind-variants').TVReturnType<{
|
|
|
53
53
|
fullWidth: {
|
|
54
54
|
true: string;
|
|
55
55
|
};
|
|
56
|
-
}, undefined, "shadow-xs inline-flex items-center justify-center rounded-md font-semibold disabled:shadow-none", unknown, unknown, undefined>>;
|
|
56
|
+
}, undefined, "shadow-xs inline-flex items-center justify-center rounded-md font-semibold disabled:opacity-60 disabled:shadow-none", unknown, unknown, undefined>>;
|
|
57
57
|
export type ButtonRecipeProps = VariantProps<typeof buttonRecipe>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),r=e.tv({base:"shadow-xs inline-flex items-center justify-center rounded-md font-semibold disabled:opacity-60 disabled:shadow-none",variants:{size:{xs:"h-9 gap-sm px-3 text-sm",sm:"h-10 gap-md px-3",md:"h-11 gap-lg px-3.5"},variant:{solid:"",outline:""},colorScheme:{primary:"",danger:"",gray:""},fullWidth:{true:"flex w-full"}},compoundVariants:[{variant:"solid",colorScheme:"primary",class:"bg-button-primary-bg text-button-primary-fg"},{variant:"solid",colorScheme:"gray",class:"bg-bg-tertiary"},{variant:"solid",colorScheme:"danger",class:"bg-error-600 text-white"},{variant:"outline",colorScheme:"primary",class:"bg-button-secondary-bg border-button-secondary-border text-button-secondary-fg border"},{variant:"outline",colorScheme:"gray",class:"border-border-secondary bg-bg-primary-alt text-text-secondary-700 border"}],defaultVariants:{size:"md",variant:"solid",colorScheme:"primary",fullWidth:!0}});exports.buttonRecipe=r;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
const
|
|
3
|
-
base: "shadow-xs inline-flex items-center justify-center rounded-md font-semibold disabled:shadow-none",
|
|
1
|
+
import { tv as r } from "tailwind-variants";
|
|
2
|
+
const t = r({
|
|
3
|
+
base: "shadow-xs inline-flex items-center justify-center rounded-md font-semibold disabled:opacity-60 disabled:shadow-none",
|
|
4
4
|
variants: {
|
|
5
5
|
size: {
|
|
6
6
|
xs: "h-9 gap-sm px-3 text-sm",
|
|
@@ -24,17 +24,27 @@ const i = e({
|
|
|
24
24
|
{
|
|
25
25
|
variant: "solid",
|
|
26
26
|
colorScheme: "primary",
|
|
27
|
-
class: "bg-
|
|
27
|
+
class: "bg-button-primary-bg text-button-primary-fg"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
variant: "solid",
|
|
31
|
+
colorScheme: "gray",
|
|
32
|
+
class: "bg-bg-tertiary"
|
|
28
33
|
},
|
|
29
34
|
{
|
|
30
35
|
variant: "solid",
|
|
31
36
|
colorScheme: "danger",
|
|
32
|
-
class: "bg-
|
|
37
|
+
class: "bg-error-600 text-white"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
variant: "outline",
|
|
41
|
+
colorScheme: "primary",
|
|
42
|
+
class: "bg-button-secondary-bg border-button-secondary-border text-button-secondary-fg border"
|
|
33
43
|
},
|
|
34
44
|
{
|
|
35
45
|
variant: "outline",
|
|
36
46
|
colorScheme: "gray",
|
|
37
|
-
class: "border-
|
|
47
|
+
class: "border-border-secondary bg-bg-primary-alt text-text-secondary-700 border"
|
|
38
48
|
}
|
|
39
49
|
],
|
|
40
50
|
defaultVariants: {
|
|
@@ -45,5 +55,5 @@ const i = e({
|
|
|
45
55
|
}
|
|
46
56
|
});
|
|
47
57
|
export {
|
|
48
|
-
|
|
58
|
+
t as buttonRecipe
|
|
49
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),r=require("tailwind-variants"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),r=require("tailwind-variants"),t=require("../../utils/anatomyToRecipeSlots.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const o=r.tv({slots:t.anatomyToRecipeSlots(e.checkboxAnatomy,{root:"flex items-start gap-2",control:"flex shrink-0 items-center justify-center rounded-md",label:"text-text-secondary-700"}),variants:{size:{md:{control:"size-4 rounded-[0.25rem]",indicator:"size-3"}},variant:{outline:{}},colorScheme:{gray:{}}},compoundVariants:[{variant:"outline",colorScheme:"gray",className:{control:"shadow-xs border-border-primary bg-bg-primary ui-checked:bg-button-primary-bg ui-checked:border-button-primary-bg border ui-disabled:opacity-60 ui-disabled:shadow-none ui-readonly:opacity-50 ui-readonly:shadow-none",indicator:"text-button-primary-fg",label:"text-gray-600 text-xs leading-tight"}}],defaultVariants:{size:"md",variant:"outline",colorScheme:"gray"}});exports.checkboxRecipe=o;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { checkboxAnatomy as
|
|
2
|
-
import { tv as
|
|
3
|
-
import { anatomyToRecipeSlots as
|
|
1
|
+
import { checkboxAnatomy as o } from "@ark-ui/react";
|
|
2
|
+
import { tv as r } from "tailwind-variants";
|
|
3
|
+
import { anatomyToRecipeSlots as t } from "../../utils/anatomyToRecipeSlots.mjs";
|
|
4
4
|
import "../../utils/capitalize.mjs";
|
|
5
5
|
import "../../utils/parseDecimal.mjs";
|
|
6
6
|
import "../../constants/index.mjs";
|
|
7
7
|
import "../../utils/getLocaleInfo.mjs";
|
|
8
8
|
import "../../utils/getQueryClient.mjs";
|
|
9
9
|
import "../../utils/isMobile.mjs";
|
|
10
|
-
const p =
|
|
11
|
-
slots:
|
|
10
|
+
const p = r({
|
|
11
|
+
slots: t(o, {
|
|
12
12
|
root: "flex items-start gap-2",
|
|
13
13
|
control: "flex shrink-0 items-center justify-center rounded-md",
|
|
14
|
-
label: "text-
|
|
14
|
+
label: "text-text-secondary-700"
|
|
15
15
|
}),
|
|
16
16
|
variants: {
|
|
17
17
|
size: {
|
|
@@ -32,8 +32,8 @@ const p = o({
|
|
|
32
32
|
variant: "outline",
|
|
33
33
|
colorScheme: "gray",
|
|
34
34
|
className: {
|
|
35
|
-
control: "shadow-xs border-
|
|
36
|
-
indicator: "text-
|
|
35
|
+
control: "shadow-xs border-border-primary bg-bg-primary ui-checked:bg-button-primary-bg ui-checked:border-button-primary-bg border ui-disabled:opacity-60 ui-disabled:shadow-none ui-readonly:opacity-50 ui-readonly:shadow-none",
|
|
36
|
+
indicator: "text-button-primary-fg",
|
|
37
37
|
label: "text-gray-600 text-xs leading-tight"
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Collapsible } from '@ark-ui/react';
|
|
2
|
+
export declare const Root: import('react').ComponentType<import('@ark-ui/react').Assign<Collapsible.RootProps & import('react').RefAttributes<HTMLDivElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
3
|
+
[key: string]: {
|
|
4
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
5
|
+
content?: import('tailwind-variants').ClassValue;
|
|
6
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
7
|
+
root?: import('tailwind-variants').ClassValue;
|
|
8
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
} | {
|
|
12
|
+
[x: string]: {
|
|
13
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
14
|
+
content?: import('tailwind-variants').ClassValue;
|
|
15
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
16
|
+
root?: import('tailwind-variants').ClassValue;
|
|
17
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
} | {}, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
21
|
+
[key: string]: {
|
|
22
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
23
|
+
content?: import('tailwind-variants').ClassValue;
|
|
24
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
25
|
+
root?: import('tailwind-variants').ClassValue;
|
|
26
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
} | {}, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<unknown, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
30
|
+
export declare const Content: import('react').ComponentType<import('@ark-ui/react').Assign<Collapsible.ContentProps & import('react').RefAttributes<HTMLDivElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
31
|
+
[key: string]: {
|
|
32
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
33
|
+
content?: import('tailwind-variants').ClassValue;
|
|
34
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
35
|
+
root?: import('tailwind-variants').ClassValue;
|
|
36
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
} | {
|
|
40
|
+
[x: string]: {
|
|
41
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
42
|
+
content?: import('tailwind-variants').ClassValue;
|
|
43
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
44
|
+
root?: import('tailwind-variants').ClassValue;
|
|
45
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
} | {}, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
49
|
+
[key: string]: {
|
|
50
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
51
|
+
content?: import('tailwind-variants').ClassValue;
|
|
52
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
53
|
+
root?: import('tailwind-variants').ClassValue;
|
|
54
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
} | {}, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<unknown, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
58
|
+
export declare const Indicator: import('react').ComponentType<import('@ark-ui/react').Assign<Collapsible.IndicatorProps & import('react').RefAttributes<HTMLDivElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
59
|
+
[key: string]: {
|
|
60
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
61
|
+
content?: import('tailwind-variants').ClassValue;
|
|
62
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
63
|
+
root?: import('tailwind-variants').ClassValue;
|
|
64
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
} | {
|
|
68
|
+
[x: string]: {
|
|
69
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
70
|
+
content?: import('tailwind-variants').ClassValue;
|
|
71
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
72
|
+
root?: import('tailwind-variants').ClassValue;
|
|
73
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
} | {}, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
77
|
+
[key: string]: {
|
|
78
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
79
|
+
content?: import('tailwind-variants').ClassValue;
|
|
80
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
81
|
+
root?: import('tailwind-variants').ClassValue;
|
|
82
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
} | {}, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<unknown, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
86
|
+
export declare const Trigger: import('react').ComponentType<import('@ark-ui/react').Assign<Collapsible.TriggerProps & import('react').RefAttributes<HTMLButtonElement>, import('tailwind-variants').VariantProps<import('tailwind-variants').TVReturnType<{
|
|
87
|
+
[key: string]: {
|
|
88
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
89
|
+
content?: import('tailwind-variants').ClassValue;
|
|
90
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
91
|
+
root?: import('tailwind-variants').ClassValue;
|
|
92
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
} | {
|
|
96
|
+
[x: string]: {
|
|
97
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
98
|
+
content?: import('tailwind-variants').ClassValue;
|
|
99
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
100
|
+
root?: import('tailwind-variants').ClassValue;
|
|
101
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
} | {}, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
105
|
+
[key: string]: {
|
|
106
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
107
|
+
content?: import('tailwind-variants').ClassValue;
|
|
108
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
109
|
+
root?: import('tailwind-variants').ClassValue;
|
|
110
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
} | {}, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<unknown, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
114
|
+
export declare const Context: (props: Collapsible.ContextProps) => import('react').ReactNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),o=require("../../client/utils/createRecipeContext.js");require("../../client/utils/toaster.js");const i=require("./collapsible.recipe.js"),{withContext:t,withProvider:r}=o.createRecipeContext(i.collapsibleRecipe),n=r(e.Collapsible.Root,"root"),c=t(e.Collapsible.Content,"content"),l=t(e.Collapsible.Indicator,"indicator"),s=t(e.Collapsible.Trigger,"trigger"),a=e.Collapsible.Context;exports.Content=c;exports.Context=a;exports.Indicator=l;exports.Root=n;exports.Trigger=s;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Collapsible as t } from "@ark-ui/react";
|
|
3
|
+
import { createRecipeContext as e } from "../../client/utils/createRecipeContext.mjs";
|
|
4
|
+
import "../../client/utils/toaster.mjs";
|
|
5
|
+
import { collapsibleRecipe as r } from "./collapsible.recipe.mjs";
|
|
6
|
+
const { withContext: o, withProvider: n } = e(r), l = n(t.Root, "root"), m = o(t.Content, "content"), C = o(t.Indicator, "indicator"), a = o(t.Trigger, "trigger"), g = t.Context;
|
|
7
|
+
export {
|
|
8
|
+
m as Content,
|
|
9
|
+
g as Context,
|
|
10
|
+
C as Indicator,
|
|
11
|
+
l as Root,
|
|
12
|
+
a as Trigger
|
|
13
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const collapsibleRecipe: import('tailwind-variants').TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
4
|
+
content?: import('tailwind-variants').ClassValue;
|
|
5
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
6
|
+
root?: import('tailwind-variants').ClassValue;
|
|
7
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
} | {
|
|
11
|
+
[x: string]: {
|
|
12
|
+
[x: string]: import('tailwind-variants').ClassValue | {
|
|
13
|
+
content?: import('tailwind-variants').ClassValue;
|
|
14
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
15
|
+
root?: import('tailwind-variants').ClassValue;
|
|
16
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
} | {}, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
20
|
+
[key: string]: {
|
|
21
|
+
[key: string]: import('tailwind-variants').ClassValue | {
|
|
22
|
+
content?: import('tailwind-variants').ClassValue;
|
|
23
|
+
trigger?: import('tailwind-variants').ClassValue;
|
|
24
|
+
root?: import('tailwind-variants').ClassValue;
|
|
25
|
+
indicator?: import('tailwind-variants').ClassValue;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
} | {}, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, import('tailwind-variants').TVReturnType<unknown, Record<"content" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@ark-ui/react"),i=require("tailwind-variants"),o=require("../../utils/anatomyToRecipeSlots.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const t=i.tv({slots:o.anatomyToRecipeSlots(e.collapsibleAnatomy,{indicator:"transition-transform duration-200 ease-in-out ui-open:rotate-90",content:"ui-open:animate-collapse-in ui-closed:animate-collapse-out overflow-hidden"})});exports.collapsibleRecipe=t;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { collapsibleAnatomy as o } from "@ark-ui/react";
|
|
2
|
+
import { tv as t } from "tailwind-variants";
|
|
3
|
+
import { anatomyToRecipeSlots as i } from "../../utils/anatomyToRecipeSlots.mjs";
|
|
4
|
+
import "../../utils/capitalize.mjs";
|
|
5
|
+
import "../../utils/parseDecimal.mjs";
|
|
6
|
+
import "../../constants/index.mjs";
|
|
7
|
+
import "../../utils/getLocaleInfo.mjs";
|
|
8
|
+
import "../../utils/getQueryClient.mjs";
|
|
9
|
+
import "../../utils/isMobile.mjs";
|
|
10
|
+
const u = t({
|
|
11
|
+
slots: i(o, {
|
|
12
|
+
indicator: "transition-transform duration-200 ease-in-out ui-open:rotate-90",
|
|
13
|
+
content: "ui-open:animate-collapse-in ui-closed:animate-collapse-out overflow-hidden"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
u as collapsibleRecipe
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as Collapsible from './Collapsible';
|