@opexa/portal-components 0.0.307 → 0.0.309
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/useCamera.js +2 -2
- package/dist/client/hooks/useControllableState.js +1 -1
- package/dist/client/hooks/useInfiniteQueryHelper.js +2 -3
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +1 -2
- package/dist/client/hooks/useMobileNumberParser.js +1 -1
- package/dist/client/utils/recaptcha.d.ts +14 -0
- package/dist/client/utils/recaptcha.js +18 -0
- package/dist/components/Account/Account.lazy.js +5 -5
- package/dist/components/Account/account.recipe.js +4 -4
- package/dist/components/AccountInfo/AccountInfo.js +6 -6
- package/dist/components/AccountSecurity/AccountSecurity.js +6 -6
- package/dist/components/AccountVerification/AccountVerification.js +7 -7
- package/dist/components/Banner/Banner.js +1 -1
- package/dist/components/BetRecords/BetRecords.client.js +5 -5
- package/dist/components/Bonus/Bonus.client.js +2 -2
- package/dist/components/Bonuses/Bonuses.client.js +10 -10
- package/dist/components/Bonuses/BonusesTrigger.js +1 -1
- package/dist/components/Bonuses/ClaimSpotBonus.lazy.js +1 -1
- package/dist/components/Cashback/Cashback.client.js +2 -2
- package/dist/components/CustomPromo/CustomPromo.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/Deposit.js +2 -2
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +2 -2
- package/dist/components/DepositWithdrawal/Deposit/LibanganDeposit/LibanganDeposit.js +2 -2
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +2 -2
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +2 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositAlert.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositDetails.js +2 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/PisoPayDeposit/PisoPayDeposit.js +2 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.js +2 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.js +2 -2
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.js +2 -2
- package/dist/components/DepositWithdrawal/HasPendingBonuses.js +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +3 -3
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +2 -4
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +2 -2
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +3 -3
- package/dist/components/DepositWithdrawal/Withdrawal/PisoPayWithdrawal/PisoPayWithdrawal.js +2 -2
- package/dist/components/DepositWithdrawal/Withdrawal/TransactionPasswordNotSet.js +2 -2
- package/dist/components/DepositWithdrawal/Withdrawal/VentajaWithdrawal/VentajaWithdrawal.js +2 -2
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +4 -4
- package/dist/components/DigitainLauncher/Fallback.js +1 -1
- package/dist/components/DigitainLauncher/Loading.js +1 -1
- package/dist/components/DigitainLauncher/utils.js +1 -2
- package/dist/components/Disclaimer/DisclaimerV1.js +1 -1
- package/dist/components/Disclaimer/DisclaimerV2.js +3 -3
- package/dist/components/Disclaimer/ResponsibleGaming.d.ts +10 -0
- package/dist/components/Disclaimer/ResponsibleGaming.js +13 -0
- package/dist/components/Disclaimer/TermsOfUse.d.ts +11 -0
- package/dist/components/Disclaimer/TermsOfUse.js +13 -0
- package/dist/components/FavoriteGames/FavoriteGames.client.js +4 -4
- package/dist/components/ForgotPassword/ForgotPassword.lazy.js +1 -1
- package/dist/components/ForgotPassword/ForgotPasswordForm.js +5 -5
- package/dist/components/GCashFailed/GCashFailed.js +1 -1
- package/dist/components/GCashSuccess/GCashSuccess.js +1 -1
- package/dist/components/GameLaunch/GameLaunch.lazy.js +4 -4
- package/dist/components/GameLaunch/GameLaunchTrigger.js +2 -4
- package/dist/components/GameProviders/GameProvidersCarousel.js +1 -1
- package/dist/components/GameProviders/GameProvidersList.js +1 -1
- package/dist/components/Games/Game.js +3 -3
- package/dist/components/Games/GamesCarousel.client.js +2 -4
- package/dist/components/Games/GamesList.client.js +2 -2
- package/dist/components/GamesSearch/GamesSearch.js +4 -6
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarousel.js +1 -1
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.d.ts +1 -1
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +54 -54
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsList.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +14 -12
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemGameProviders.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +13 -11
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemRules.js +1 -1
- package/dist/components/Jackpots/JackpotsList/useJackpotsListItemData.js +16 -18
- package/dist/components/KYC/BasicInformation.js +1 -1
- package/dist/components/KYC/CaptureIdDocument.d.ts +1 -0
- package/dist/components/KYC/CaptureIdDocument.js +219 -0
- package/dist/components/KYC/CaptureSelfie.d.ts +1 -0
- package/dist/components/KYC/CaptureSelfie.js +285 -0
- package/dist/components/KYC/DisplayImage.d.ts +5 -0
- package/dist/components/KYC/DisplayImage.js +8 -0
- package/dist/components/KYC/FileUpload.d.ts +10 -0
- package/dist/components/KYC/FileUpload.js +72 -0
- package/dist/components/KYC/IdentityVerification.js +1 -1
- package/dist/components/KYC/KYC.lazy.js +1 -1
- package/dist/components/KYC/KYCReminder.lazy.js +1 -1
- package/dist/components/KYC/NoCameraError.d.ts +7 -0
- package/dist/components/KYC/NoCameraError.js +6 -0
- package/dist/components/KYC/PersonOverlayDesktop.d.ts +7 -0
- package/dist/components/KYC/PersonOverlayDesktop.js +9 -0
- package/dist/components/KYC/PersonalInformation.js +1 -1
- package/dist/components/KYC/utils.d.ts +9 -0
- package/dist/components/KYC/utils.js +79 -0
- package/dist/components/Marquee/Marquee.js +1 -1
- package/dist/components/Messages/Messages.lazy.js +5 -5
- package/dist/components/Messages/MessagesPopup.js +3 -3
- package/dist/components/Messages/MessagesTrigger.js +1 -1
- package/dist/components/News/News.js +1 -1
- package/dist/components/NewsFeed/News.d.ts +2 -2
- package/dist/components/NewsFeed/News.js +1 -1
- package/dist/components/NewsFeed/NewsFeedCarousel.js +2 -2
- package/dist/components/NewsFeed/NewsFeedList.js +1 -1
- package/dist/components/PortalProvider/Snackbar.js +2 -2
- package/dist/components/Promo/Promo.client.js +2 -2
- package/dist/components/Promos/Cashback.js +1 -1
- package/dist/components/Promos/CustomPromo.d.ts +2 -2
- package/dist/components/Promos/CustomPromo.js +1 -1
- package/dist/components/Promos/Promo.js +1 -1
- package/dist/components/Promos/PromosCarousel.js +2 -2
- package/dist/components/Promos/PromosGrid.js +2 -2
- package/dist/components/Quests/DailyCheckInQuest.js +3 -3
- package/dist/components/Quests/JourneyQuest.js +5 -5
- package/dist/components/Quests/OnboardingQuest.js +2 -2
- package/dist/components/Quests/Quests.client.js +4 -4
- package/dist/components/Quests/WageringQuest.js +2 -2
- package/dist/components/ResponsibleGaming/ResponsibleGaming.lazy.js +1 -1
- package/dist/components/Search/Search.lazy.js +7 -9
- package/dist/components/SignIn/MobileNumberSignIn.js +5 -5
- package/dist/components/SignIn/NameAndPasswordSignIn.js +2 -2
- package/dist/components/SignIn/SignIn.lazy.d.ts +1 -1
- package/dist/components/SignIn/SignIn.lazy.js +1 -2
- package/dist/components/SignIn/SignInForm.js +1 -1
- package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +17 -0
- package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +18 -0
- package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +6 -0
- package/dist/components/SignUp/SignUpDefault/SignUpContext.js +2 -0
- package/dist/components/SignUp/SignUpDefault/SignUpDefault.lazy.js +1 -1
- package/dist/components/SignUp/SignUpDefault/SignUpDefaultForm.js +7 -7
- package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +1 -0
- package/dist/components/SignUp/SignUpDefault/SignUpForm.js +310 -0
- package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +1 -0
- package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +198 -0
- package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +1 -0
- package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +251 -0
- package/dist/components/SignUp/SignUpKYC/IdFrontImageField/IdFrontImageField.client.js +7 -7
- package/dist/components/SignUp/SignUpKYC/IdFrontImageField/IdFrontImageField.js +1 -1
- package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +10 -0
- package/dist/components/SignUp/SignUpKYC/ImageUploader.js +42 -0
- package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +7 -0
- package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +9 -0
- package/dist/components/SignUp/SignUpKYC/SelfieImageField/SelfieImageField.client.js +6 -6
- package/dist/components/SignUp/SignUpKYC/SelfieImageField/SelfieImageField.js +1 -1
- package/dist/components/SignUp/SignUpKYC/SelfieImageField/useSelfieImageField.js +0 -1
- package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +1 -0
- package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +464 -0
- package/dist/components/SignUp/SignUpKYC/SignUpKYC.lazy.js +1 -1
- package/dist/components/SignUp/SignUpKYC/SignUpKYCForm.js +8 -8
- package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +11 -0
- package/dist/components/SignUp/SignUpKYC/useImageUploader.js +20 -0
- package/dist/components/SignUp/SignUpKYC/utils.d.ts +9 -0
- package/dist/components/SignUp/SignUpKYC/utils.js +79 -0
- package/dist/components/TermsAndConditions/TermsAndConditions.lazy.js +1 -1
- package/dist/components/TermsOfUse/TermsOfUse.lazy.js +1 -1
- package/dist/components/TopWins/TopWins.client.js +3 -3
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarousel.js +1 -1
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.js +10 -8
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentsList.js +2 -2
- package/dist/components/Tournaments/TournamentsList/TournamentsListItemDesktop.js +9 -7
- package/dist/components/Tournaments/TournamentsList/TournamentsListItemGameProviders.js +1 -1
- package/dist/components/Tournaments/TournamentsList/TournamentsListItemMobile.js +8 -6
- package/dist/components/Tournaments/TournamentsList/TournamentsListItemRules.js +1 -1
- package/dist/components/Tournaments/TournamentsList/useTournamentListItemData.js +1 -1
- package/dist/components/TransactionRecords/DepositRecordsTable.js +2 -2
- package/dist/components/TransactionRecords/TableFilters.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecords.suspense.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +2 -2
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +2 -2
- package/dist/components/shared/Empty.js +1 -1
- package/dist/components/shared/IdFrontImageField/IdFrontImageField.client.js +7 -7
- package/dist/components/shared/IdFrontImageField/IdFrontImageField.js +1 -1
- package/dist/components/shared/SelfieImageField/SelfieImageField.client.js +6 -6
- package/dist/components/shared/SelfieImageField/SelfieImageField.js +1 -1
- package/dist/components/shared/SelfieImageField/useSelfieImageField.js +0 -1
- package/dist/constants/EnvVar.d.ts +1 -1
- package/dist/handlers/postTransformIdFrontImage.d.ts +3 -0
- package/dist/handlers/postTransformIdFrontImage.js +82 -0
- package/dist/handlers/postTransformSelfieImage.d.ts +3 -0
- package/dist/handlers/postTransformSelfieImage.js +82 -0
- package/dist/middleware.d.ts +1 -1
- package/dist/middleware.js +1 -1
- package/dist/services/graphqlRequest.js +0 -1
- package/dist/styles/theme.css +706 -706
- package/dist/ui/AlertDialog/AlertDialog.d.ts +154 -154
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +14 -14
- package/dist/ui/AlertDialog/alertDialog.recipe.js +6 -6
- package/dist/ui/Avatar/avatar.recipe.js +3 -3
- package/dist/ui/Badge/Badge.d.ts +12 -12
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
- package/dist/ui/Badge/badge.recipe.d.ts +3 -3
- package/dist/ui/Badge/badge.recipe.js +7 -7
- package/dist/ui/Button/button.recipe.d.ts +2 -2
- package/dist/ui/Button/button.recipe.js +3 -3
- package/dist/ui/Carousel/Carousel.d.ts +45 -45
- package/dist/ui/Carousel/carousel.recipe.d.ts +5 -5
- package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
- 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.recipe.d.ts +3 -3
- package/dist/ui/Clipboard/clipboard.recipe.js +2 -2
- package/dist/ui/Collapsible/Collapsible.d.ts +32 -32
- package/dist/ui/Collapsible/collapsible.recipe.d.ts +8 -8
- package/dist/ui/Collapsible/collapsible.recipe.js +2 -2
- package/dist/ui/Combobox/Combobox.d.ts +42 -42
- package/dist/ui/Combobox/Combobox.js +0 -1
- package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
- package/dist/ui/Combobox/combobox.recipe.js +6 -6
- package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
- package/dist/ui/DatePicker/datePicker.recipe.js +7 -7
- package/dist/ui/Dialog/Dialog.d.ts +154 -154
- package/dist/ui/Dialog/dialog.recipe.d.ts +14 -14
- package/dist/ui/Dialog/dialog.recipe.js +4 -4
- 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 +5 -5
- package/dist/ui/Field/Field.d.ts +21 -21
- package/dist/ui/Field/field.recipe.d.ts +3 -3
- package/dist/ui/Field/field.recipe.js +3 -3
- package/dist/ui/IconButton/iconButton.recipe.d.ts +2 -2
- package/dist/ui/Menu/Menu.d.ts +144 -144
- package/dist/ui/Menu/menu.recipe.d.ts +8 -8
- package/dist/ui/NumberInput/numberInput.recipe.js +5 -5
- package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
- package/dist/ui/PasswordInput/passwordInput.recipe.js +3 -3
- package/dist/ui/PinInput/pinInput.recipe.js +3 -3
- package/dist/ui/Popover/Popover.d.ts +121 -121
- package/dist/ui/Popover/popover.recipe.d.ts +11 -11
- package/dist/ui/Popover/popover.recipe.js +1 -1
- package/dist/ui/Presence/Presence.js +1 -1
- package/dist/ui/Progress/Progress.d.ts +27 -27
- package/dist/ui/Progress/progress.recipe.d.ts +3 -3
- package/dist/ui/Progress/progress.recipe.js +2 -2
- 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 +4 -4
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/Select.js +0 -1
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Select/select.recipe.js +7 -7
- package/dist/ui/Table/Table.d.ts +21 -21
- package/dist/ui/Table/table.anatomy.d.ts +1 -1
- package/dist/ui/Table/table.recipe.d.ts +3 -3
- package/dist/ui/Table/table.recipe.js +3 -3
- package/dist/ui/Tabs/Tabs.d.ts +15 -15
- package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
- package/dist/ui/Tabs/tabs.recipe.js +4 -4
- package/dist/ui/Tooltip/tooltip.recipe.js +1 -1
- package/dist/utils/gamesAvailable3pmTo3am.d.ts +1 -0
- package/dist/utils/gamesAvailable3pmTo3am.js +1 -0
- package/dist/utils/getGameName.d.ts +1 -0
- package/dist/utils/getGameName.js +6 -0
- package/dist/utils/getLocaleInfo.js +7 -7
- package/dist/utils/getQueryClient.js +1 -1
- package/dist/utils/isBetween3amAnd3pm.d.ts +1 -0
- package/dist/utils/isBetween3amAnd3pm.js +5 -0
- package/dist/utils/parseDecimal.js +1 -1
- package/dist/utils/validateFile.d.ts +1 -1
- package/package.json +159 -164
|
@@ -2,17 +2,17 @@ export declare const menuRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
2
2
|
[key: string]: {
|
|
3
3
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
4
|
content?: import("tailwind-variants").ClassValue;
|
|
5
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
6
|
+
separator?: import("tailwind-variants").ClassValue;
|
|
5
7
|
trigger?: import("tailwind-variants").ClassValue;
|
|
6
8
|
positioner?: import("tailwind-variants").ClassValue;
|
|
7
9
|
arrow?: import("tailwind-variants").ClassValue;
|
|
8
10
|
arrowTip?: import("tailwind-variants").ClassValue;
|
|
9
|
-
indicator?: import("tailwind-variants").ClassValue;
|
|
10
11
|
item?: import("tailwind-variants").ClassValue;
|
|
11
12
|
itemText?: import("tailwind-variants").ClassValue;
|
|
12
13
|
itemIndicator?: import("tailwind-variants").ClassValue;
|
|
13
14
|
itemGroup?: import("tailwind-variants").ClassValue;
|
|
14
15
|
itemGroupLabel?: import("tailwind-variants").ClassValue;
|
|
15
|
-
separator?: import("tailwind-variants").ClassValue;
|
|
16
16
|
contextTrigger?: import("tailwind-variants").ClassValue;
|
|
17
17
|
triggerItem?: import("tailwind-variants").ClassValue;
|
|
18
18
|
};
|
|
@@ -21,38 +21,38 @@ export declare const menuRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
21
21
|
[x: string]: {
|
|
22
22
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
23
23
|
content?: import("tailwind-variants").ClassValue;
|
|
24
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
25
|
+
separator?: import("tailwind-variants").ClassValue;
|
|
24
26
|
trigger?: import("tailwind-variants").ClassValue;
|
|
25
27
|
positioner?: import("tailwind-variants").ClassValue;
|
|
26
28
|
arrow?: import("tailwind-variants").ClassValue;
|
|
27
29
|
arrowTip?: import("tailwind-variants").ClassValue;
|
|
28
|
-
indicator?: import("tailwind-variants").ClassValue;
|
|
29
30
|
item?: import("tailwind-variants").ClassValue;
|
|
30
31
|
itemText?: import("tailwind-variants").ClassValue;
|
|
31
32
|
itemIndicator?: import("tailwind-variants").ClassValue;
|
|
32
33
|
itemGroup?: import("tailwind-variants").ClassValue;
|
|
33
34
|
itemGroupLabel?: import("tailwind-variants").ClassValue;
|
|
34
|
-
separator?: import("tailwind-variants").ClassValue;
|
|
35
35
|
contextTrigger?: import("tailwind-variants").ClassValue;
|
|
36
36
|
triggerItem?: import("tailwind-variants").ClassValue;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
} | {}, Record<"content" | "
|
|
39
|
+
} | {}, Record<"content" | "indicator" | "separator" | "trigger" | "positioner" | "arrow" | "arrowTip" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem", string | string[]>, undefined, {
|
|
40
40
|
[key: string]: {
|
|
41
41
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
42
42
|
content?: import("tailwind-variants").ClassValue;
|
|
43
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
44
|
+
separator?: import("tailwind-variants").ClassValue;
|
|
43
45
|
trigger?: import("tailwind-variants").ClassValue;
|
|
44
46
|
positioner?: import("tailwind-variants").ClassValue;
|
|
45
47
|
arrow?: import("tailwind-variants").ClassValue;
|
|
46
48
|
arrowTip?: import("tailwind-variants").ClassValue;
|
|
47
|
-
indicator?: import("tailwind-variants").ClassValue;
|
|
48
49
|
item?: import("tailwind-variants").ClassValue;
|
|
49
50
|
itemText?: import("tailwind-variants").ClassValue;
|
|
50
51
|
itemIndicator?: import("tailwind-variants").ClassValue;
|
|
51
52
|
itemGroup?: import("tailwind-variants").ClassValue;
|
|
52
53
|
itemGroupLabel?: import("tailwind-variants").ClassValue;
|
|
53
|
-
separator?: import("tailwind-variants").ClassValue;
|
|
54
54
|
contextTrigger?: import("tailwind-variants").ClassValue;
|
|
55
55
|
triggerItem?: import("tailwind-variants").ClassValue;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
-
} | {}, Record<"content" | "
|
|
58
|
+
} | {}, Record<"content" | "indicator" | "separator" | "trigger" | "positioner" | "arrow" | "arrowTip" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "indicator" | "separator" | "trigger" | "positioner" | "arrow" | "arrowTip" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -3,11 +3,11 @@ import { tv } from 'tailwind-variants';
|
|
|
3
3
|
import { anatomyToRecipeSlots } from '../../utils/anatomyToRecipeSlots.js';
|
|
4
4
|
export const numberInputRecipe = tv({
|
|
5
5
|
slots: anatomyToRecipeSlots(numberInputAnatomy, {
|
|
6
|
-
control: '
|
|
7
|
-
input: '
|
|
8
|
-
label: '
|
|
9
|
-
decrementTrigger: '
|
|
10
|
-
incrementTrigger: '
|
|
6
|
+
control: 'grid ui-readonly:cursor-default grid-cols-[1fr_32px] grid-rows-[1fr_1fr] overflow-hidden rounded-lg border border-border-primary ui-focus:border-border-brand bg-bg-primary ui-disabled:opacity-60 ui-readonly:opacity-50 ui-focus:shadow-brand-xs',
|
|
7
|
+
input: 'row-[span_2/span_2] w-full border-0 bg-transparent outline-none placeholder:text-text-placeholder disabled:cursor-not-allowed',
|
|
8
|
+
label: 'mb-sm inline-block font-medium text-gray-600 text-sm',
|
|
9
|
+
decrementTrigger: 'inline-flex cursor-pointer ui-disabled:cursor-not-allowed items-center justify-center border-border-primary border-t border-l icon:text-gray-600 ui-disabled:opacity-60',
|
|
10
|
+
incrementTrigger: 'inline-flex cursor-pointer ui-disabled:cursor-not-allowed items-center justify-center border-border-primary border-l icon:text-gray-600 ui-disabled:opacity-60',
|
|
11
11
|
}),
|
|
12
12
|
variants: {
|
|
13
13
|
size: {
|
|
@@ -12,7 +12,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
12
12
|
colorScheme: {
|
|
13
13
|
gray: {};
|
|
14
14
|
};
|
|
15
|
-
}, Record<"input" | "
|
|
15
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, {
|
|
16
16
|
size: {
|
|
17
17
|
md: {
|
|
18
18
|
input: string;
|
|
@@ -25,7 +25,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
25
25
|
colorScheme: {
|
|
26
26
|
gray: {};
|
|
27
27
|
};
|
|
28
|
-
}, Record<"input" | "
|
|
28
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
29
29
|
size: {
|
|
30
30
|
md: {
|
|
31
31
|
input: string;
|
|
@@ -38,7 +38,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
38
38
|
colorScheme: {
|
|
39
39
|
gray: {};
|
|
40
40
|
};
|
|
41
|
-
}, Record<"input" | "
|
|
41
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
42
42
|
export declare const Control: import("react").ComponentType<import("@ark-ui/react").Assign<PasswordInput.ControlProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
43
43
|
size: {
|
|
44
44
|
md: {
|
|
@@ -52,7 +52,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
52
52
|
colorScheme: {
|
|
53
53
|
gray: {};
|
|
54
54
|
};
|
|
55
|
-
}, Record<"input" | "
|
|
55
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, {
|
|
56
56
|
size: {
|
|
57
57
|
md: {
|
|
58
58
|
input: string;
|
|
@@ -65,7 +65,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
65
65
|
colorScheme: {
|
|
66
66
|
gray: {};
|
|
67
67
|
};
|
|
68
|
-
}, Record<"input" | "
|
|
68
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
69
69
|
size: {
|
|
70
70
|
md: {
|
|
71
71
|
input: string;
|
|
@@ -78,7 +78,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
78
78
|
colorScheme: {
|
|
79
79
|
gray: {};
|
|
80
80
|
};
|
|
81
|
-
}, Record<"input" | "
|
|
81
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
82
82
|
export declare const Indicator: import("react").ComponentType<import("@ark-ui/react").Assign<PasswordInput.IndicatorProps & import("react").RefAttributes<HTMLSpanElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
83
83
|
size: {
|
|
84
84
|
md: {
|
|
@@ -92,7 +92,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
92
92
|
colorScheme: {
|
|
93
93
|
gray: {};
|
|
94
94
|
};
|
|
95
|
-
}, Record<"input" | "
|
|
95
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, {
|
|
96
96
|
size: {
|
|
97
97
|
md: {
|
|
98
98
|
input: string;
|
|
@@ -105,7 +105,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
105
105
|
colorScheme: {
|
|
106
106
|
gray: {};
|
|
107
107
|
};
|
|
108
|
-
}, Record<"input" | "
|
|
108
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
109
109
|
size: {
|
|
110
110
|
md: {
|
|
111
111
|
input: string;
|
|
@@ -118,7 +118,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
118
118
|
colorScheme: {
|
|
119
119
|
gray: {};
|
|
120
120
|
};
|
|
121
|
-
}, Record<"input" | "
|
|
121
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
122
122
|
export declare const Input: import("react").ComponentType<import("@ark-ui/react").Assign<PasswordInput.InputProps & import("react").RefAttributes<HTMLInputElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
123
123
|
size: {
|
|
124
124
|
md: {
|
|
@@ -132,7 +132,7 @@ export declare const Input: import("react").ComponentType<import("@ark-ui/react"
|
|
|
132
132
|
colorScheme: {
|
|
133
133
|
gray: {};
|
|
134
134
|
};
|
|
135
|
-
}, Record<"input" | "
|
|
135
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, {
|
|
136
136
|
size: {
|
|
137
137
|
md: {
|
|
138
138
|
input: string;
|
|
@@ -145,7 +145,7 @@ export declare const Input: import("react").ComponentType<import("@ark-ui/react"
|
|
|
145
145
|
colorScheme: {
|
|
146
146
|
gray: {};
|
|
147
147
|
};
|
|
148
|
-
}, Record<"input" | "
|
|
148
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
149
149
|
size: {
|
|
150
150
|
md: {
|
|
151
151
|
input: string;
|
|
@@ -158,7 +158,7 @@ export declare const Input: import("react").ComponentType<import("@ark-ui/react"
|
|
|
158
158
|
colorScheme: {
|
|
159
159
|
gray: {};
|
|
160
160
|
};
|
|
161
|
-
}, Record<"input" | "
|
|
161
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
162
162
|
export declare const Label: import("react").ComponentType<import("@ark-ui/react").Assign<PasswordInput.LabelProps & import("react").RefAttributes<HTMLLabelElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
163
163
|
size: {
|
|
164
164
|
md: {
|
|
@@ -172,7 +172,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
172
172
|
colorScheme: {
|
|
173
173
|
gray: {};
|
|
174
174
|
};
|
|
175
|
-
}, Record<"input" | "
|
|
175
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, {
|
|
176
176
|
size: {
|
|
177
177
|
md: {
|
|
178
178
|
input: string;
|
|
@@ -185,7 +185,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
185
185
|
colorScheme: {
|
|
186
186
|
gray: {};
|
|
187
187
|
};
|
|
188
|
-
}, Record<"input" | "
|
|
188
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
189
189
|
size: {
|
|
190
190
|
md: {
|
|
191
191
|
input: string;
|
|
@@ -198,7 +198,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
198
198
|
colorScheme: {
|
|
199
199
|
gray: {};
|
|
200
200
|
};
|
|
201
|
-
}, Record<"input" | "
|
|
201
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
202
202
|
export declare const VisibilityTrigger: import("react").ComponentType<import("@ark-ui/react").Assign<PasswordInput.VisibilityTriggerProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
203
203
|
size: {
|
|
204
204
|
md: {
|
|
@@ -212,7 +212,7 @@ export declare const VisibilityTrigger: import("react").ComponentType<import("@a
|
|
|
212
212
|
colorScheme: {
|
|
213
213
|
gray: {};
|
|
214
214
|
};
|
|
215
|
-
}, Record<"input" | "
|
|
215
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, {
|
|
216
216
|
size: {
|
|
217
217
|
md: {
|
|
218
218
|
input: string;
|
|
@@ -225,7 +225,7 @@ export declare const VisibilityTrigger: import("react").ComponentType<import("@a
|
|
|
225
225
|
colorScheme: {
|
|
226
226
|
gray: {};
|
|
227
227
|
};
|
|
228
|
-
}, Record<"input" | "
|
|
228
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
229
229
|
size: {
|
|
230
230
|
md: {
|
|
231
231
|
input: string;
|
|
@@ -238,5 +238,5 @@ export declare const VisibilityTrigger: import("react").ComponentType<import("@a
|
|
|
238
238
|
colorScheme: {
|
|
239
239
|
gray: {};
|
|
240
240
|
};
|
|
241
|
-
}, Record<"input" | "
|
|
241
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
242
242
|
export declare const Context: (props: PasswordInput.ContextProps) => import("react").ReactNode;
|
|
@@ -11,7 +11,7 @@ export declare const passwordInputRecipe: import("tailwind-variants").TVReturnTy
|
|
|
11
11
|
colorScheme: {
|
|
12
12
|
gray: {};
|
|
13
13
|
};
|
|
14
|
-
}, Record<"input" | "
|
|
14
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, {
|
|
15
15
|
size: {
|
|
16
16
|
md: {
|
|
17
17
|
input: string;
|
|
@@ -24,7 +24,7 @@ export declare const passwordInputRecipe: import("tailwind-variants").TVReturnTy
|
|
|
24
24
|
colorScheme: {
|
|
25
25
|
gray: {};
|
|
26
26
|
};
|
|
27
|
-
}, Record<"input" | "
|
|
27
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
28
28
|
size: {
|
|
29
29
|
md: {
|
|
30
30
|
input: string;
|
|
@@ -37,4 +37,4 @@ export declare const passwordInputRecipe: import("tailwind-variants").TVReturnTy
|
|
|
37
37
|
colorScheme: {
|
|
38
38
|
gray: {};
|
|
39
39
|
};
|
|
40
|
-
}, Record<"input" | "
|
|
40
|
+
}, Record<"input" | "label" | "root" | "indicator" | "control" | "visibilityTrigger", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -3,9 +3,9 @@ import { tv } from 'tailwind-variants';
|
|
|
3
3
|
import { anatomyToRecipeSlots } from '../../utils/anatomyToRecipeSlots.js';
|
|
4
4
|
export const passwordInputRecipe = tv({
|
|
5
5
|
slots: anatomyToRecipeSlots(passwordInputAnatomy, {
|
|
6
|
-
input: '
|
|
6
|
+
input: 'w-full grow outline-none placeholder:text-text-placeholder',
|
|
7
7
|
control: 'flex rounded-md border ui-disabled:opacity-60 ui-readonly:opacity-60',
|
|
8
|
-
label: '
|
|
8
|
+
label: 'mb-sm inline-block font-medium text-sm text-text-secondary-700',
|
|
9
9
|
visibilityTrigger: 'flex shrink-0 items-center justify-center',
|
|
10
10
|
}),
|
|
11
11
|
variants: {
|
|
@@ -27,7 +27,7 @@ export const passwordInputRecipe = tv({
|
|
|
27
27
|
variant: 'outline',
|
|
28
28
|
colorScheme: 'gray',
|
|
29
29
|
className: {
|
|
30
|
-
control: 'bg-bg-primary
|
|
30
|
+
control: 'border-border-primary bg-bg-primary ui-disabled:shadow-none ui-readonly:shadow-none focus-within:border-border-brand focus-within:shadow-brand-xs',
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
33
|
],
|
|
@@ -5,12 +5,12 @@ export const pinInputRecipe = tv({
|
|
|
5
5
|
slots: anatomyToRecipeSlots(pinInputAnatomy, {
|
|
6
6
|
control: 'grid',
|
|
7
7
|
input: 'aspect-[48/52] w-full rounded-md outline-none',
|
|
8
|
-
label: '
|
|
8
|
+
label: 'mb-sm inline-block font-medium text-input-label-fg text-sm',
|
|
9
9
|
}),
|
|
10
10
|
variants: {
|
|
11
11
|
size: {
|
|
12
12
|
md: {
|
|
13
|
-
input: 'text-center text-2xl
|
|
13
|
+
input: 'text-center font-medium text-2xl',
|
|
14
14
|
control: 'gap-2',
|
|
15
15
|
},
|
|
16
16
|
},
|
|
@@ -26,7 +26,7 @@ export const pinInputRecipe = tv({
|
|
|
26
26
|
variant: 'outline',
|
|
27
27
|
colorScheme: 'gray',
|
|
28
28
|
className: {
|
|
29
|
-
input: '
|
|
29
|
+
input: 'border border-border-primary bg-bg-primary shadow-xs placeholder:text-text-placeholder-subtle read-only:opacity-60 read-only:shadow-none focus:border-border-brand focus:shadow-brand-xs disabled:opacity-50 disabled:shadow-none',
|
|
30
30
|
},
|
|
31
31
|
},
|
|
32
32
|
],
|