@opexa/portal-components 0.0.106 → 0.0.108
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/useAuthenticateMutation.js +2 -1
- package/dist/client/hooks/useCheckInDailyCheckInQuestMutation.d.ts +1 -1
- package/dist/client/hooks/useCheckInDailyCheckInQuestMutation.js +20 -2
- package/dist/client/hooks/useClaimCashbackBonusMutation.js +2 -1
- package/dist/client/hooks/useClaimSpotBonusMutation.js +2 -1
- package/dist/client/hooks/useCompleteOnboardingMutation.d.ts +3 -0
- package/dist/client/hooks/useCompleteOnboardingMutation.js +25 -0
- package/dist/client/hooks/useCreateGCashDepositMutation.js +2 -1
- package/dist/client/hooks/useCreateGCashWithdrawalMutation.js +1 -1
- package/dist/client/hooks/useCreateGameSessionMutation.js +1 -1
- package/dist/client/hooks/useCreateInstapayWithdrawalMutation.js +1 -1
- package/dist/client/hooks/useCreateMayaAppDepositMutation.js +2 -1
- package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.js +1 -1
- package/dist/client/hooks/useCreateMayaDepositMutation.js +2 -1
- package/dist/client/hooks/useCreateMayaWithdrawalMutation.js +1 -1
- package/dist/client/hooks/useCreateMemberVerificationMutation.d.ts +4 -0
- package/dist/client/hooks/useCreateMemberVerificationMutation.js +45 -0
- package/dist/client/hooks/useCreateOnlineBankDepositMutation.js +2 -1
- package/dist/client/hooks/useCreateQRPHDepositMutation.js +2 -1
- package/dist/client/hooks/useEndGameSessionMutation.js +1 -1
- package/dist/client/hooks/useFileQuery.d.ts +2 -0
- package/dist/client/hooks/useFileQuery.js +30 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +24 -5
- package/dist/client/hooks/useMarkMessageAsReadMutation.js +16 -7
- package/dist/client/hooks/useOnboardingStatusQuery.d.ts +2 -0
- package/dist/client/hooks/useOnboardingStatusQuery.js +28 -0
- package/dist/client/hooks/useRecommendedGamesQuery.d.ts +2 -0
- package/dist/client/hooks/useRecommendedGamesQuery.js +27 -0
- package/dist/client/hooks/useSendVerificationCodeMutation.js +1 -1
- package/dist/client/hooks/useSignInMutation.js +2 -1
- package/dist/client/hooks/useSignOutMutation.js +2 -1
- package/dist/client/hooks/useSignUpMutation.js +1 -1
- package/dist/client/hooks/useSiteQuery.d.ts +2 -0
- package/dist/client/hooks/useSiteQuery.js +16 -0
- package/dist/client/hooks/useSkipOnboardingMutation.d.ts +2 -0
- package/dist/client/hooks/useSkipOnboardingMutation.js +25 -0
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.js +5 -5
- package/dist/client/hooks/useUpdateAccountMutation.js +2 -1
- package/dist/client/hooks/useUpdateMemberVerificationMutation.d.ts +6 -0
- package/dist/client/hooks/useUpdateMemberVerificationMutation.js +38 -0
- package/dist/client/hooks/useUploadImageFileMutation.d.ts +4 -0
- package/dist/client/hooks/useUploadImageFileMutation.js +24 -0
- package/dist/client/utils/createContext.js +1 -1
- package/dist/client/utils/createRecipeContext.js +1 -1
- package/dist/components/BetRecords/BetRecords.client.js +1 -1
- package/dist/components/Bonuses/Bonuses.client.js +1 -1
- package/dist/components/Disclaimer/DisclaimerV1.js +1 -1
- package/dist/components/Games/Game.js +1 -1
- package/dist/components/Games/GamesCarousel.client.js +1 -1
- package/dist/components/Games/GamesList.client.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsList.d.ts +1 -0
- package/dist/components/Jackpots/JackpotsList/JackpotsList.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.d.ts +2 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +3 -3
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.d.ts +2 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +2 -2
- package/dist/components/KYC/BasicInformation.js +85 -4
- package/dist/components/KYC/CaptureIdDocument.d.ts +1 -0
- package/dist/components/KYC/CaptureIdDocument.js +11 -0
- package/dist/components/KYC/CaptureSelfie.d.ts +1 -0
- package/dist/components/KYC/CaptureSelfie.js +11 -0
- package/dist/components/KYC/IdentityVerification.js +20 -4
- package/dist/components/KYC/Indicator.js +1 -1
- package/dist/components/KYC/KYC.lazy.js +7 -1
- package/dist/components/KYC/PersonalInformation.js +92 -5
- package/dist/components/KYC/useKYC.d.ts +15 -0
- package/dist/components/KYC/useKYC.js +18 -1
- package/dist/components/Messages/Messages.lazy.js +1 -1
- package/dist/components/News/News.d.ts +10 -0
- package/dist/components/News/News.js +10 -0
- package/dist/components/News/index.d.ts +1 -0
- package/dist/components/News/index.js +1 -0
- package/dist/components/NewsFeed/NewsFeed.d.ts +18 -0
- package/dist/components/NewsFeed/NewsFeed.js +11 -0
- package/dist/components/NewsFeed/index.d.ts +1 -0
- package/dist/components/NewsFeed/index.js +1 -0
- package/dist/components/Promos/PromosCarousel.js +1 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -4
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +28 -25
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestRules.d.ts +6 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestRules.js +15 -0
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +1 -4
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +27 -3
- package/dist/components/Quests/OnboardingQuest/OnboardingQuestRules.d.ts +6 -0
- package/dist/components/Quests/OnboardingQuest/OnboardingQuestRules.js +15 -0
- package/dist/components/Quests/Quests.client.js +22 -7
- package/dist/components/Quests/QuestsContext.d.ts +2 -0
- package/dist/components/Quests/QuestsContext.js +2 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -4
- package/dist/components/Quests/WageringQuest/WageringQuest.js +12 -9
- package/dist/components/Quests/WageringQuest/WageringQuestRules.d.ts +7 -0
- package/dist/components/Quests/WageringQuest/WageringQuestRules.js +17 -0
- package/dist/components/Search/Search.lazy.d.ts +8 -0
- package/dist/components/Search/Search.lazy.js +8 -3
- package/dist/components/SignIn/MobileNumberSignIn.js +7 -4
- package/dist/components/SignIn/NameAndPasswordSignIn.js +10 -5
- package/dist/components/SignUp/SignUpForm.js +13 -7
- package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
- package/dist/constants/{endpoints.js → Endpoint.js} +1 -1
- package/dist/constants/index.d.ts +7 -7
- package/dist/constants/index.js +7 -7
- package/dist/server/utils/prefetchAccountQuery.js +5 -2
- package/dist/server/utils/prefetchAvailablePromosQuery.js +5 -2
- package/dist/server/utils/prefetchAvailableQuestsCountQuery.js +5 -2
- package/dist/server/utils/prefetchAvailableQuestsQuery.js +5 -2
- package/dist/server/utils/prefetchBetRecordsQuery.js +5 -2
- package/dist/server/utils/prefetchBonusQuery.js +5 -2
- package/dist/server/utils/prefetchBonusesCountQuery.js +5 -2
- package/dist/server/utils/prefetchBonusesQuery.js +5 -2
- package/dist/server/utils/prefetchCashbackBonusQuery.js +5 -2
- package/dist/server/utils/prefetchCashbackBonusesCountQuery.js +5 -2
- package/dist/server/utils/prefetchCashbackBonusesQuery.js +5 -2
- package/dist/server/utils/prefetchCashbackQuery.js +5 -2
- package/dist/server/utils/prefetchCashbacksQuery.js +5 -2
- package/dist/server/utils/prefetchDepositQuery.js +5 -2
- package/dist/server/utils/prefetchDepositRecordsQuery.js +5 -2
- package/dist/server/utils/prefetchDepositsCountQuery.js +5 -2
- package/dist/server/utils/prefetchFavoriteGamesQuery.js +5 -2
- package/dist/server/utils/prefetchFileQuery.d.ts +1 -0
- package/dist/server/utils/prefetchFileQuery.js +23 -0
- package/dist/server/utils/prefetchGamesQuery.js +5 -2
- package/dist/server/utils/prefetchInstapayBankListQuery.js +5 -2
- package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +5 -2
- package/dist/server/utils/prefetchJackpotsCountQuery.js +5 -2
- package/dist/server/utils/prefetchJackpotsQuery.js +5 -2
- package/dist/server/utils/prefetchMemberVerificationQuery.js +5 -2
- package/dist/server/utils/prefetchOnboardingStatusQuery.d.ts +1 -0
- package/dist/server/utils/prefetchOnboardingStatusQuery.js +24 -0
- package/dist/server/utils/prefetchPaymentSettingsQuery.js +5 -2
- package/dist/server/utils/prefetchPlatformQuery.js +5 -2
- package/dist/server/utils/prefetchProfileCompletionQuery.js +5 -2
- package/dist/server/utils/prefetchPromoQuery.js +5 -2
- package/dist/server/utils/prefetchPromosQuery.js +5 -2
- package/dist/server/utils/prefetchRecommendedGamesQuery.d.ts +1 -0
- package/dist/server/utils/prefetchRecommendedGamesQuery.js +23 -0
- package/dist/server/utils/prefetchSessionQuery.js +6 -3
- package/dist/server/utils/prefetchSiteQuery.d.ts +1 -0
- package/dist/server/utils/prefetchSiteQuery.js +17 -0
- package/dist/server/utils/prefetchTopWinsQuery.js +5 -2
- package/dist/server/utils/prefetchTournamentsCountQuery.js +5 -2
- package/dist/server/utils/prefetchTournamentsQuery.js +5 -2
- package/dist/server/utils/prefetchTransactionRecordsQuery.js +5 -2
- package/dist/server/utils/prefetchUnreadMessagesCountQuery.js +5 -2
- package/dist/server/utils/prefetchWalletQuery.js +5 -2
- package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +5 -2
- package/dist/services/account.d.ts +1 -0
- package/dist/services/account.js +11 -1
- package/dist/services/queries.d.ts +2 -1
- package/dist/services/queries.js +19 -1
- package/dist/styles/theme.css +1 -0
- package/dist/types/index.d.ts +7 -0
- 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 +2 -2
- package/dist/ui/Combobox/Combobox.d.ts +42 -42
- package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
- package/dist/ui/Dialog/dialog.recipe.js +1 -1
- package/dist/ui/Menu/Menu.d.ts +144 -144
- package/dist/ui/Menu/menu.recipe.d.ts +8 -8
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- 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/Tabs/Tabs.d.ts +15 -15
- package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
- package/dist/utils/callIfFn.d.ts +8 -0
- package/dist/utils/callIfFn.js +8 -0
- package/dist/utils/createPoll.d.ts +1 -0
- package/dist/utils/createPoll.js +1 -0
- package/dist/utils/createSplitProps.d.ts +9 -0
- package/dist/utils/createSplitProps.js +9 -0
- package/dist/utils/log.d.ts +3 -0
- package/dist/utils/log.js +18 -0
- package/dist/utils/mutationKeys.d.ts +29 -0
- package/dist/utils/mutationKeys.js +104 -0
- package/dist/utils/queryKeys.d.ts +5 -24
- package/dist/utils/queryKeys.js +80 -97
- package/package.json +1 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
- /package/dist/components/{Empty.d.ts → shared/Empty.d.ts} +0 -0
- /package/dist/components/{Empty.js → shared/Empty.js} +0 -0
- /package/dist/components/{InfiniteScroll.d.ts → shared/InfiniteScroll.d.ts} +0 -0
- /package/dist/components/{InfiniteScroll.js → shared/InfiniteScroll.js} +0 -0
- /package/dist/constants/{endpoints.d.ts → Endpoint.d.ts} +0 -0
- /package/dist/constants/{envVars.d.ts → EnvVar.d.ts} +0 -0
- /package/dist/constants/{envVars.js → EnvVar.js} +0 -0
- /package/dist/constants/{gameProviders.d.ts → GameProvider.d.ts} +0 -0
- /package/dist/constants/{gameProviders.js → GameProvider.js} +0 -0
- /package/dist/constants/{gameTypes.d.ts → GameType.d.ts} +0 -0
- /package/dist/constants/{gameTypes.js → GameType.js} +0 -0
- /package/dist/constants/{headerKeys.d.ts → HeaderKey.d.ts} +0 -0
- /package/dist/constants/{headerKeys.js → HeaderKey.js} +0 -0
- /package/dist/constants/{secretQuestions.d.ts → SecretQuestion.d.ts} +0 -0
- /package/dist/constants/{secretQuestions.js → SecretQuestion.js} +0 -0
- /package/dist/constants/{storageKeys.d.ts → StorageKey.d.ts} +0 -0
- /package/dist/constants/{storageKeys.js → StorageKey.js} +0 -0
package/dist/services/account.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cache } from 'react';
|
|
2
2
|
import { ACCOUNT_GRAPHQL_ENDPOINT } from '../constants/index.js';
|
|
3
3
|
import { graphqlRequest } from './graphqlRequest.js';
|
|
4
|
-
import { ANNOUNCEMENTS, CREATE_MEMBER_VERIFICATION, CREATE_MEMBER_VERIFICATION__NEXT, DELETE_MEMBER_ACCOUNT, GOOGLE_CLIENT_ID, MEMBER_ACCOUNT, MEMBER_VERIFICATION, PAYMENT_SETTINGS, POINTS_CLUB_SETTINGS, PROFILE_COMPLETION, REFERRAL_CODE, REGISTER_MAYA_MEMBER_ACCOUNT, REGISTER_MEMBER_ACCOUNT, REGISTER_MEMBER_ACCOUNT__NEXT, REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER, REGISTER_MEMBER_ACCOUNT_BY_NAME, REGISTER_MEMBER_ACCOUNT_VIA_MOBILE, RESET_PASSWORD, UPDATE_MEMBER_ACCOUNT, UPDATE_MEMBER_VERIFICATION, UPDATE_REFERRAL_CODE, VERIFY_MOBILE_NUMBER, } from './queries.js';
|
|
4
|
+
import { ANNOUNCEMENTS, CREATE_MEMBER_VERIFICATION, CREATE_MEMBER_VERIFICATION__NEXT, DELETE_MEMBER_ACCOUNT, GOOGLE_CLIENT_ID, MEMBER_ACCOUNT, MEMBER_VERIFICATION, PAYMENT_SETTINGS, POINTS_CLUB_SETTINGS, PROFILE_COMPLETION, REFERRAL_CODE, REGISTER_MAYA_MEMBER_ACCOUNT, REGISTER_MEMBER_ACCOUNT, REGISTER_MEMBER_ACCOUNT__NEXT, REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER, REGISTER_MEMBER_ACCOUNT_BY_NAME, REGISTER_MEMBER_ACCOUNT_VIA_MOBILE, RESET_PASSWORD, UPDATE_MEMBER_ACCOUNT, UPDATE_MEMBER_VERIFICATION, UPDATE_MEMBER_VERIFICATION__NEXT, UPDATE_REFERRAL_CODE, VERIFY_MOBILE_NUMBER, } from './queries.js';
|
|
5
5
|
import { sha256 } from './sha256.js';
|
|
6
6
|
export const getMemberAccount = cache(async (options) => {
|
|
7
7
|
const res = await graphqlRequest(ACCOUNT_GRAPHQL_ENDPOINT, MEMBER_ACCOUNT, undefined, options);
|
|
@@ -185,6 +185,16 @@ export const updateMemberVerification = async (id, data, options) => {
|
|
|
185
185
|
throw error;
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
+
export const updateMemberVerification__next = async (id, data, options) => {
|
|
189
|
+
const res = await graphqlRequest(ACCOUNT_GRAPHQL_ENDPOINT, UPDATE_MEMBER_VERIFICATION__NEXT, { input: { id, data } }, options);
|
|
190
|
+
if (res.updateMemberVerification) {
|
|
191
|
+
const error = new Error();
|
|
192
|
+
error.name = res.updateMemberVerification.name;
|
|
193
|
+
error.message = res.updateMemberVerification.message;
|
|
194
|
+
Error.captureStackTrace?.(error, updateMemberVerification);
|
|
195
|
+
throw error;
|
|
196
|
+
}
|
|
197
|
+
};
|
|
188
198
|
export const getMemberVerification = cache(async (options) => {
|
|
189
199
|
const res = await graphqlRequest(ACCOUNT_GRAPHQL_ENDPOINT, MEMBER_VERIFICATION, undefined, options);
|
|
190
200
|
return res.memberAccount.verification ?? null;
|
|
@@ -73,8 +73,9 @@ export declare const RESET_PASSWORD = "\n mutation ResetPassword(\n $input:
|
|
|
73
73
|
export declare const DELETE_MEMBER_ACCOUNT = "\n mutation DeleteMemberAccount($input: DeleteMemberAccountInput!) {\n deleteMemberAccount(input: $input)\n }\n";
|
|
74
74
|
export declare const VERIFY_MOBILE_NUMBER = "\n mutation VerifyMobileNumber($input: VerifyMobileNumberInput!) {\n verifyMobileNumber(input: $input) {\n ... on InvalidSMSVerificationCodeError {\n name: __typename\n message\n }\n ... on MobileNumberAlreadyVerifiedError {\n name: __typename\n message\n }\n }\n }\n";
|
|
75
75
|
export declare const CREATE_MEMBER_VERIFICATION = "\n mutation CreateMemberVerification($input: CreateMemberVerificationInput!) {\n createMemberVerification(input: $input) {\n ... on FileDoesNotExistError {\n name: __typename\n message\n }\n ... on FileNotReadyError {\n name: __typename\n message\n }\n ... on MemberVerificationAlreadyExistsError {\n name: __typename\n message\n }\n }\n }\n";
|
|
76
|
-
export declare const CREATE_MEMBER_VERIFICATION__NEXT = "\n mutation
|
|
76
|
+
export declare const CREATE_MEMBER_VERIFICATION__NEXT = "\n mutation CreateMemberVerification(\n $input: CreateMemberVerificationInput_next!\n ) {\n createMemberVerification: createMemberVerification_next(input: $input) {\n ... on FileDoesNotExistError {\n name: __typename\n message\n }\n ... on FileNotReadyError {\n name: __typename\n message\n }\n ... on MemberVerificationAlreadyExistsError {\n name: __typename\n message\n }\n }\n }\n";
|
|
77
77
|
export declare const UPDATE_MEMBER_VERIFICATION = "\n mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {\n updateMemberVerification(input: $input) {\n ... on FileDoesNotExistError {\n name: __typename\n message\n }\n ... on FileNotReadyError {\n name: __typename\n message\n }\n ... on MemberVerificationAlreadyApprovedError {\n name: __typename\n message\n }\n ... on MemberVerificationDoesNotExistError {\n name: __typename\n message\n }\n }\n }\n";
|
|
78
|
+
export declare const UPDATE_MEMBER_VERIFICATION__NEXT = "\n mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {\n updateMemberVerification: updateMemberVerification_next(input: $input) {\n ... on FileDoesNotExistError {\n __typename\n }\n ... on FileNotReadyError {\n __typename\n }\n ... on MemberVerificationAlreadyApprovedError {\n __typename\n }\n ... on MemberVerificationDoesNotExistError {\n __typename\n }\n }\n }\n";
|
|
78
79
|
export declare const PROFILE_COMPLETION = "\n query ProfileCompletion {\n profileCompletion {\n completionPercentage\n personalInformation\n accountVerification\n mobileNumberVerification\n transactionPassword\n accountPassword\n }\n }\n";
|
|
79
80
|
export declare const REGISTER_MEMBER_ACCOUNT_BY_MOBILE_NUMBER = "\n mutation RegisterMemberAccountByMobileNumber(\n $input: RegisterMemberAccountByMobileNumberInput!\n $mobileNumberVerificationCode: String!\n ) {\n registerMemberAccountByMobileNumber(\n input: $input\n mobileNumberVerificationCode: $mobileNumberVerificationCode\n ) {\n ... on MobileNumberNotAvailableError {\n name: __typename\n message\n }\n ... on InvalidSMSVerificationCodeError {\n name: __typename\n message\n }\n ... on InvalidPlatformError {\n name: __typename\n message\n }\n }\n }\n";
|
|
80
81
|
export declare const PLATFORM = "\n query Platform {\n timezone\n currency\n }\n";
|
package/dist/services/queries.js
CHANGED
|
@@ -1603,7 +1603,7 @@ export const CREATE_MEMBER_VERIFICATION = /* GraphQL */ `
|
|
|
1603
1603
|
}
|
|
1604
1604
|
`;
|
|
1605
1605
|
export const CREATE_MEMBER_VERIFICATION__NEXT = /* GraphQL */ `
|
|
1606
|
-
mutation
|
|
1606
|
+
mutation CreateMemberVerification(
|
|
1607
1607
|
$input: CreateMemberVerificationInput_next!
|
|
1608
1608
|
) {
|
|
1609
1609
|
createMemberVerification: createMemberVerification_next(input: $input) {
|
|
@@ -1644,6 +1644,24 @@ export const UPDATE_MEMBER_VERIFICATION = /* GraphQL */ `
|
|
|
1644
1644
|
}
|
|
1645
1645
|
}
|
|
1646
1646
|
`;
|
|
1647
|
+
export const UPDATE_MEMBER_VERIFICATION__NEXT = /* GraphQL */ `
|
|
1648
|
+
mutation UpdateMemberVerification($input: UpdateMemberVerificationInput!) {
|
|
1649
|
+
updateMemberVerification: updateMemberVerification_next(input: $input) {
|
|
1650
|
+
... on FileDoesNotExistError {
|
|
1651
|
+
__typename
|
|
1652
|
+
}
|
|
1653
|
+
... on FileNotReadyError {
|
|
1654
|
+
__typename
|
|
1655
|
+
}
|
|
1656
|
+
... on MemberVerificationAlreadyApprovedError {
|
|
1657
|
+
__typename
|
|
1658
|
+
}
|
|
1659
|
+
... on MemberVerificationDoesNotExistError {
|
|
1660
|
+
__typename
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
`;
|
|
1647
1665
|
export const PROFILE_COMPLETION = /* GraphQL */ `
|
|
1648
1666
|
query ProfileCompletion {
|
|
1649
1667
|
profileCompletion {
|
package/dist/styles/theme.css
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Checkbox } from '@ark-ui/react/checkbox';
|
|
2
2
|
export declare const withContext: <Props extends {
|
|
3
3
|
[x: string]: any;
|
|
4
|
-
}>(Component: import("react").ComponentType<Props>, slot: "label" | "
|
|
4
|
+
}>(Component: import("react").ComponentType<Props>, slot: "label" | "root" | "indicator" | "group" | "control") => import("react").ComponentType<import("@ark-ui/react").Assign<Props, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
5
5
|
size: {
|
|
6
6
|
md: {
|
|
7
7
|
control: string;
|
|
@@ -14,7 +14,7 @@ export declare const withContext: <Props extends {
|
|
|
14
14
|
colorScheme: {
|
|
15
15
|
gray: {};
|
|
16
16
|
};
|
|
17
|
-
}, Record<"label" | "
|
|
17
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, {
|
|
18
18
|
size: {
|
|
19
19
|
md: {
|
|
20
20
|
control: string;
|
|
@@ -27,7 +27,7 @@ export declare const withContext: <Props extends {
|
|
|
27
27
|
colorScheme: {
|
|
28
28
|
gray: {};
|
|
29
29
|
};
|
|
30
|
-
}, Record<"label" | "
|
|
30
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
31
31
|
size: {
|
|
32
32
|
md: {
|
|
33
33
|
control: string;
|
|
@@ -40,9 +40,9 @@ export declare const withContext: <Props extends {
|
|
|
40
40
|
colorScheme: {
|
|
41
41
|
gray: {};
|
|
42
42
|
};
|
|
43
|
-
}, Record<"label" | "
|
|
43
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>, withProvider: <Props extends {
|
|
44
44
|
[x: string]: any;
|
|
45
|
-
}>(Component: import("react").ComponentType<Props>, slot: "label" | "
|
|
45
|
+
}>(Component: import("react").ComponentType<Props>, slot: "label" | "root" | "indicator" | "group" | "control") => import("react").ComponentType<import("@ark-ui/react").Assign<Props, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
46
46
|
size: {
|
|
47
47
|
md: {
|
|
48
48
|
control: string;
|
|
@@ -55,7 +55,7 @@ export declare const withContext: <Props extends {
|
|
|
55
55
|
colorScheme: {
|
|
56
56
|
gray: {};
|
|
57
57
|
};
|
|
58
|
-
}, Record<"label" | "
|
|
58
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, {
|
|
59
59
|
size: {
|
|
60
60
|
md: {
|
|
61
61
|
control: string;
|
|
@@ -68,7 +68,7 @@ export declare const withContext: <Props extends {
|
|
|
68
68
|
colorScheme: {
|
|
69
69
|
gray: {};
|
|
70
70
|
};
|
|
71
|
-
}, Record<"label" | "
|
|
71
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
72
72
|
size: {
|
|
73
73
|
md: {
|
|
74
74
|
control: string;
|
|
@@ -81,7 +81,7 @@ export declare const withContext: <Props extends {
|
|
|
81
81
|
colorScheme: {
|
|
82
82
|
gray: {};
|
|
83
83
|
};
|
|
84
|
-
}, Record<"label" | "
|
|
84
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
85
85
|
export declare const Root: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.RootProps & import("react").RefAttributes<HTMLLabelElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
86
86
|
size: {
|
|
87
87
|
md: {
|
|
@@ -95,7 +95,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
95
95
|
colorScheme: {
|
|
96
96
|
gray: {};
|
|
97
97
|
};
|
|
98
|
-
}, Record<"label" | "
|
|
98
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, {
|
|
99
99
|
size: {
|
|
100
100
|
md: {
|
|
101
101
|
control: string;
|
|
@@ -108,7 +108,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
108
108
|
colorScheme: {
|
|
109
109
|
gray: {};
|
|
110
110
|
};
|
|
111
|
-
}, Record<"label" | "
|
|
111
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
112
112
|
size: {
|
|
113
113
|
md: {
|
|
114
114
|
control: string;
|
|
@@ -121,7 +121,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
121
121
|
colorScheme: {
|
|
122
122
|
gray: {};
|
|
123
123
|
};
|
|
124
|
-
}, Record<"label" | "
|
|
124
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
125
125
|
export declare const Control: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.ControlProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
126
126
|
size: {
|
|
127
127
|
md: {
|
|
@@ -135,7 +135,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
135
135
|
colorScheme: {
|
|
136
136
|
gray: {};
|
|
137
137
|
};
|
|
138
|
-
}, Record<"label" | "
|
|
138
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, {
|
|
139
139
|
size: {
|
|
140
140
|
md: {
|
|
141
141
|
control: string;
|
|
@@ -148,7 +148,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
148
148
|
colorScheme: {
|
|
149
149
|
gray: {};
|
|
150
150
|
};
|
|
151
|
-
}, Record<"label" | "
|
|
151
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
152
152
|
size: {
|
|
153
153
|
md: {
|
|
154
154
|
control: string;
|
|
@@ -161,7 +161,7 @@ export declare const Control: import("react").ComponentType<import("@ark-ui/reac
|
|
|
161
161
|
colorScheme: {
|
|
162
162
|
gray: {};
|
|
163
163
|
};
|
|
164
|
-
}, Record<"label" | "
|
|
164
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
165
165
|
export declare const Group: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.GroupProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
166
166
|
size: {
|
|
167
167
|
md: {
|
|
@@ -175,7 +175,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
175
175
|
colorScheme: {
|
|
176
176
|
gray: {};
|
|
177
177
|
};
|
|
178
|
-
}, Record<"label" | "
|
|
178
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, {
|
|
179
179
|
size: {
|
|
180
180
|
md: {
|
|
181
181
|
control: string;
|
|
@@ -188,7 +188,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
188
188
|
colorScheme: {
|
|
189
189
|
gray: {};
|
|
190
190
|
};
|
|
191
|
-
}, Record<"label" | "
|
|
191
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
192
192
|
size: {
|
|
193
193
|
md: {
|
|
194
194
|
control: string;
|
|
@@ -201,7 +201,7 @@ export declare const Group: import("react").ComponentType<import("@ark-ui/react"
|
|
|
201
201
|
colorScheme: {
|
|
202
202
|
gray: {};
|
|
203
203
|
};
|
|
204
|
-
}, Record<"label" | "
|
|
204
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
205
205
|
export declare const Indicator: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.IndicatorProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
206
206
|
size: {
|
|
207
207
|
md: {
|
|
@@ -215,7 +215,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
215
215
|
colorScheme: {
|
|
216
216
|
gray: {};
|
|
217
217
|
};
|
|
218
|
-
}, Record<"label" | "
|
|
218
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, {
|
|
219
219
|
size: {
|
|
220
220
|
md: {
|
|
221
221
|
control: string;
|
|
@@ -228,7 +228,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
228
228
|
colorScheme: {
|
|
229
229
|
gray: {};
|
|
230
230
|
};
|
|
231
|
-
}, Record<"label" | "
|
|
231
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
232
232
|
size: {
|
|
233
233
|
md: {
|
|
234
234
|
control: string;
|
|
@@ -241,7 +241,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
241
241
|
colorScheme: {
|
|
242
242
|
gray: {};
|
|
243
243
|
};
|
|
244
|
-
}, Record<"label" | "
|
|
244
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
245
245
|
export declare const Label: import("react").ComponentType<import("@ark-ui/react").Assign<Checkbox.LabelProps & import("react").RefAttributes<HTMLSpanElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
246
246
|
size: {
|
|
247
247
|
md: {
|
|
@@ -255,7 +255,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
255
255
|
colorScheme: {
|
|
256
256
|
gray: {};
|
|
257
257
|
};
|
|
258
|
-
}, Record<"label" | "
|
|
258
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, {
|
|
259
259
|
size: {
|
|
260
260
|
md: {
|
|
261
261
|
control: string;
|
|
@@ -268,7 +268,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
268
268
|
colorScheme: {
|
|
269
269
|
gray: {};
|
|
270
270
|
};
|
|
271
|
-
}, Record<"label" | "
|
|
271
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
272
272
|
size: {
|
|
273
273
|
md: {
|
|
274
274
|
control: string;
|
|
@@ -281,6 +281,6 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
281
281
|
colorScheme: {
|
|
282
282
|
gray: {};
|
|
283
283
|
};
|
|
284
|
-
}, Record<"label" | "
|
|
284
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
285
285
|
export declare const HiddenInput: import("react").ForwardRefExoticComponent<Checkbox.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
286
286
|
export declare const Context: (props: Checkbox.ContextProps) => import("react").ReactNode;
|
|
@@ -11,7 +11,7 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
11
11
|
colorScheme: {
|
|
12
12
|
gray: {};
|
|
13
13
|
};
|
|
14
|
-
}, Record<"label" | "
|
|
14
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, {
|
|
15
15
|
size: {
|
|
16
16
|
md: {
|
|
17
17
|
control: string;
|
|
@@ -24,7 +24,7 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
24
24
|
colorScheme: {
|
|
25
25
|
gray: {};
|
|
26
26
|
};
|
|
27
|
-
}, Record<"label" | "
|
|
27
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
28
28
|
size: {
|
|
29
29
|
md: {
|
|
30
30
|
control: string;
|
|
@@ -37,4 +37,4 @@ export declare const checkboxRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
37
37
|
colorScheme: {
|
|
38
38
|
gray: {};
|
|
39
39
|
};
|
|
40
|
-
}, Record<"label" | "
|
|
40
|
+
}, Record<"label" | "root" | "indicator" | "group" | "control", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -26,9 +26,9 @@ export const checkboxRecipe = tv({
|
|
|
26
26
|
variant: 'outline',
|
|
27
27
|
colorScheme: 'gray',
|
|
28
28
|
className: {
|
|
29
|
-
control: 'shadow-xs border-border-primary bg-bg-primary ui-checked:bg-bg-brand-solid ui-checked:border-bg-brand-solid border ui-disabled:opacity-60 ui-disabled:shadow-none ui-readonly:opacity-50 ui-readonly:shadow-none',
|
|
29
|
+
control: 'shadow-xs border-border-primary bg-bg-primary ui-checked:bg-bg-brand-solid ui-checked:border-bg-brand-solid border ui-disabled:cursor-not-allowed ui-disabled:opacity-60 ui-disabled:shadow-none ui-readonly:cursor-not-allowed ui-readonly:opacity-50 ui-readonly:shadow-none',
|
|
30
30
|
indicator: 'text-cyan-950',
|
|
31
|
-
label: 'text-
|
|
31
|
+
label: 'text-text-secondary-700 text-xs leading-tight',
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
],
|