@opexa/portal-components 0.0.101 → 0.0.103
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/components/Account/Account.lazy.js +1 -1
- package/dist/components/Account/AccountTrigger.js +1 -1
- package/dist/components/AccountSecurity/AccountSecurity.js +3 -1
- package/dist/components/AccountVerification/AccountVerification.js +1 -1
- package/dist/components/BetRecords/BetRecords.client.js +3 -1
- package/dist/components/Bonus/Bonus.client.js +1 -1
- package/dist/components/Cashback/Cashback.client.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositAlert.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositDetails.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.js +2 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.js +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +2 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
- package/dist/components/Disclaimer/DisclaimerV1.js +1 -1
- package/dist/components/Disclaimer/DisclaimerV2.js +1 -1
- package/dist/components/Disclaimer/ResponsibleGaming.js +1 -1
- package/dist/components/Disclaimer/TermsOfUse.js +1 -1
- package/dist/components/GameLaunch/GameLaunch.lazy.js +3 -2
- package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +1 -1
- package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
- package/dist/components/GamesSearch/GamesSearch.js +3 -2
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +1 -23
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +1 -1
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemRules.js +1 -1
- package/dist/components/KYC/BasicInformation.d.ts +1 -0
- package/dist/components/KYC/BasicInformation.js +12 -0
- package/dist/components/KYC/IdentityVerification.d.ts +1 -0
- package/dist/components/KYC/IdentityVerification.js +20 -0
- package/dist/components/KYC/Indicator.js +2 -3
- package/dist/components/KYC/KYC.d.ts +3 -1
- package/dist/components/KYC/KYC.js +2 -2
- package/dist/components/KYC/KYC.lazy.d.ts +5 -1
- package/dist/components/KYC/KYC.lazy.js +10 -14
- package/dist/components/KYC/KYCTrigger.js +1 -1
- package/dist/components/KYC/PersonalInformation.d.ts +1 -0
- package/dist/components/KYC/PersonalInformation.js +20 -0
- package/dist/components/KYC/{Header.js → backup/Header.js} +4 -4
- package/dist/components/KYC/backup/Indicator.d.ts +1 -0
- package/dist/components/KYC/backup/Indicator.js +9 -0
- package/dist/components/KYC/backup/KYC.d.ts +1 -0
- package/dist/components/KYC/backup/KYC.js +14 -0
- package/dist/components/KYC/backup/KYC.lazy.d.ts +1 -0
- package/dist/components/KYC/backup/KYC.lazy.js +26 -0
- package/dist/components/KYC/backup/KYCContext.d.ts +2 -0
- package/dist/components/KYC/backup/KYCContext.js +2 -0
- package/dist/components/KYC/{Step1.js → backup/Step1.js} +4 -4
- package/dist/components/KYC/{Step2.js → backup/Step2.js} +4 -4
- package/dist/components/KYC/{Step3.js → backup/Step3.js} +4 -4
- package/dist/components/KYC/{Step4.js → backup/Step4.js} +3 -3
- package/dist/components/KYC/backup/useKYC.d.ts +10 -0
- package/dist/components/KYC/backup/useKYC.js +8 -0
- package/dist/components/KYC/useKYC.d.ts +5 -8
- package/dist/components/KYC/useKYC.js +3 -0
- package/dist/components/Messages/MessagePopup.js +1 -1
- package/dist/components/Messages/MessageTrigger.js +1 -1
- package/dist/components/Messages/Messages.lazy.js +1 -1
- package/dist/components/Messages/MessagesTrigger.js +1 -1
- package/dist/components/Promo/Promo.client.js +1 -1
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +1 -1
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +1 -1
- package/dist/components/Search/Search.lazy.js +2 -2
- package/dist/components/Search/SearchTrigger.js +1 -1
- package/dist/components/SignIn/MobileNumberSignIn.js +1 -1
- package/dist/components/SignIn/NameAndPasswordSignIn.js +1 -1
- package/dist/components/SignIn/SignIn.lazy.js +1 -1
- package/dist/components/SignIn/SignInTrigger.js +1 -1
- package/dist/components/SignUp/SignUp.lazy.js +1 -1
- package/dist/components/SignUp/SignUpForm.js +1 -1
- package/dist/components/SignUp/SignUpTrigger.js +1 -1
- 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/TournamentsListItemRules.js +1 -1
- package/dist/components/TransactionRecords/TableFilters.js +3 -1
- package/dist/services/queries.js +2351 -2351
- package/dist/styles/theme.css +698 -697
- package/dist/ui/Menu/Menu.d.ts +1047 -1
- package/dist/ui/Menu/Menu.js +24 -1
- package/dist/ui/Menu/menu.recipe.d.ts +58 -0
- package/dist/ui/Menu/menu.recipe.js +6 -1
- package/dist/ui/Portal/Portal.d.ts +7 -0
- package/dist/ui/Portal/Portal.js +5 -0
- package/dist/ui/Portal/index.d.ts +1 -0
- package/dist/ui/Portal/index.js +1 -0
- package/dist/ui/Presence/index.d.ts +1 -0
- package/dist/ui/Presence/index.js +1 -0
- package/dist/ui/Prose/Prose.d.ts +6 -0
- package/dist/ui/Prose/Prose.js +7 -0
- package/dist/ui/Prose/index.d.ts +1 -0
- package/dist/ui/Prose/index.js +1 -0
- package/dist/ui/QrCode/QrCode.d.ts +157 -0
- package/dist/ui/QrCode/QrCode.js +11 -0
- package/dist/ui/QrCode/index.d.ts +1 -0
- package/dist/ui/QrCode/index.js +1 -0
- package/dist/ui/QrCode/qrCode.recipe.d.ts +31 -0
- package/dist/ui/QrCode/qrCode.recipe.js +6 -0
- package/dist/ui/Tooltip/Tooltip.d.ts +188 -1
- package/dist/ui/Tooltip/Tooltip.js +11 -1
- package/dist/ui/Tooltip/tooltip.recipe.d.ts +31 -0
- package/dist/ui/Tooltip/tooltip.recipe.js +6 -1
- package/package.json +162 -162
- package/dist/client/hooks/index.d.ts +0 -65
- package/dist/client/hooks/index.js +0 -65
- package/dist/client/services/index.d.ts +0 -4
- package/dist/client/services/index.js +0 -4
- package/dist/client/utils/index.d.ts +0 -3
- package/dist/client/utils/index.js +0 -3
- package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
- package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
- package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
- package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
- package/dist/components/CashbackBonus/index.d.ts +0 -1
- package/dist/components/CashbackBonus/index.js +0 -1
- package/dist/components/Games/GameContext.d.ts +0 -2
- package/dist/components/Games/GameContext.js +0 -2
- package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
- package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
- package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
- package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
- package/dist/components/JackpotCounter/index.d.ts +0 -1
- package/dist/components/JackpotCounter/index.js +0 -1
- package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
- package/dist/components/Jackpots/JackpotDesktop.js +0 -45
- package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
- package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
- package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
- package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
- package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
- package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
- package/dist/components/Jackpots/JackpotMobile.js +0 -46
- package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
- package/dist/components/Jackpots/JackpotRules.js +0 -11
- package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
- package/dist/components/Jackpots/Jackpots.client.js +0 -29
- package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
- package/dist/components/Jackpots/JackpotsContext.js +0 -3
- package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
- package/dist/components/Jackpots/useJackpotData.js +0 -93
- package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
- package/dist/components/Jackpots/useJackpotItemData.js +0 -87
- package/dist/components/Messages/MessageItem.d.ts +0 -4
- package/dist/components/Messages/MessageItem.js +0 -34
- package/dist/components/PortalProvider/WebVitals.d.ts +0 -1
- package/dist/components/PortalProvider/WebVitals.js +0 -8
- package/dist/components/Promo/PromoContent.d.ts +0 -2
- package/dist/components/Promo/PromoContent.js +0 -9
- package/dist/components/Promos/PromoCarousel.d.ts +0 -2
- package/dist/components/Promos/PromoCarousel.js +0 -41
- package/dist/components/Promos/PromoGrid.d.ts +0 -2
- package/dist/components/Promos/PromoGrid.js +0 -12
- package/dist/components/Promos/PromoItem.d.ts +0 -7
- package/dist/components/Promos/PromoItem.js +0 -10
- package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
- package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
- package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
- package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
- package/dist/components/TournamentCounter/index.d.ts +0 -1
- package/dist/components/TournamentCounter/index.js +0 -1
- package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
- package/dist/components/Tournaments/TournamentDesktop.js +0 -57
- package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
- package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
- package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
- package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
- package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
- package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
- package/dist/components/Tournaments/TournamentMobile.js +0 -55
- package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
- package/dist/components/Tournaments/TournamentRules.js +0 -11
- package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
- package/dist/components/Tournaments/Tournaments.client.js +0 -20
- package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
- package/dist/components/Tournaments/TournamentsContext.js +0 -3
- package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
- package/dist/components/Tournaments/useTournamentData.js +0 -72
- package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
- package/dist/components/Tournaments/useTournamentItemData.js +0 -64
- package/dist/components/index.d.ts +0 -33
- package/dist/components/index.js +0 -33
- package/dist/icons/index.d.ts +0 -65
- package/dist/icons/index.js +0 -65
- package/dist/images/hacksaw-gaming.png +0 -0
- package/dist/server/services/index.d.ts +0 -4
- package/dist/server/services/index.js +0 -4
- package/dist/server/utils/index.d.ts +0 -29
- package/dist/server/utils/index.js +0 -29
- package/dist/ui/Prose.d.ts +0 -2
- package/dist/ui/Prose.js +0 -5
- package/dist/ui/index.d.ts +0 -26
- package/dist/ui/index.js +0 -26
- package/dist/utils/index.d.ts +0 -17
- package/dist/utils/index.js +0 -17
- package/dist/utils/isMobile.d.ts +0 -5
- package/dist/utils/isMobile.js +0 -9
- /package/dist/components/KYC/{Header.d.ts → backup/Header.d.ts} +0 -0
- /package/dist/components/KYC/{Step1.d.ts → backup/Step1.d.ts} +0 -0
- /package/dist/components/KYC/{Step2.d.ts → backup/Step2.d.ts} +0 -0
- /package/dist/components/KYC/{Step3.d.ts → backup/Step3.d.ts} +0 -0
- /package/dist/components/KYC/{Step4.d.ts → backup/Step4.d.ts} +0 -0
- /package/dist/ui/{Presence.d.ts → Presence/Presence.d.ts} +0 -0
- /package/dist/ui/{Presence.js → Presence/Presence.js} +0 -0
package/dist/ui/Menu/Menu.js
CHANGED
|
@@ -1,2 +1,25 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
2
|
+
import { Menu } from '@ark-ui/react/menu';
|
|
3
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
4
|
+
import { menuRecipe } from './menu.recipe.js';
|
|
5
|
+
const { withRootProvider, withContext } = createRecipeContext(menuRecipe);
|
|
6
|
+
export const Root = withRootProvider(Menu.Root);
|
|
7
|
+
export const Arrow = withContext(Menu.Arrow, 'arrow');
|
|
8
|
+
export const ArrowTip = withContext(Menu.ArrowTip, 'arrowTip');
|
|
9
|
+
export const CheckboxItem = withContext(Menu.CheckboxItem, 'item');
|
|
10
|
+
export const Content = withContext(Menu.Content, 'content');
|
|
11
|
+
export const ContextTrigger = withContext(Menu.ContextTrigger, 'contextTrigger');
|
|
12
|
+
export const Indicator = withContext(Menu.Indicator, 'indicator');
|
|
13
|
+
export const Item = withContext(Menu.Item, 'item');
|
|
14
|
+
export const ItemGroup = withContext(Menu.ItemGroup, 'itemGroup');
|
|
15
|
+
export const ItemGroupLabel = withContext(Menu.ItemGroupLabel, 'itemGroupLabel');
|
|
16
|
+
export const ItemIndicator = withContext(Menu.ItemIndicator, 'itemIndicator');
|
|
17
|
+
export const ItemText = withContext(Menu.ItemText, 'itemText');
|
|
18
|
+
export const Positioner = withContext(Menu.Positioner, 'positioner');
|
|
19
|
+
export const RadioItem = withContext(Menu.RadioItem, 'item');
|
|
20
|
+
export const RadioItemGroup = withContext(Menu.RadioItemGroup, 'itemGroup');
|
|
21
|
+
export const Separator = withContext(Menu.Separator, 'separator');
|
|
22
|
+
export const Trigger = withContext(Menu.Trigger, 'trigger');
|
|
23
|
+
export const TriggerItem = withContext(Menu.TriggerItem, 'triggerItem');
|
|
24
|
+
export const Context = Menu.Context;
|
|
25
|
+
export const ItemContext = Menu.ItemContext;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const menuRecipe: 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
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
7
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
8
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
9
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
10
|
+
separator?: import("tailwind-variants").ClassValue;
|
|
11
|
+
item?: import("tailwind-variants").ClassValue;
|
|
12
|
+
itemText?: import("tailwind-variants").ClassValue;
|
|
13
|
+
itemIndicator?: import("tailwind-variants").ClassValue;
|
|
14
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
15
|
+
itemGroupLabel?: import("tailwind-variants").ClassValue;
|
|
16
|
+
contextTrigger?: import("tailwind-variants").ClassValue;
|
|
17
|
+
triggerItem?: import("tailwind-variants").ClassValue;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
} | {
|
|
21
|
+
[x: string]: {
|
|
22
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
23
|
+
content?: import("tailwind-variants").ClassValue;
|
|
24
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
25
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
26
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
27
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
28
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
29
|
+
separator?: import("tailwind-variants").ClassValue;
|
|
30
|
+
item?: import("tailwind-variants").ClassValue;
|
|
31
|
+
itemText?: import("tailwind-variants").ClassValue;
|
|
32
|
+
itemIndicator?: import("tailwind-variants").ClassValue;
|
|
33
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
34
|
+
itemGroupLabel?: import("tailwind-variants").ClassValue;
|
|
35
|
+
contextTrigger?: import("tailwind-variants").ClassValue;
|
|
36
|
+
triggerItem?: import("tailwind-variants").ClassValue;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip" | "indicator" | "separator" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem", string | string[]>, undefined, {
|
|
40
|
+
[key: string]: {
|
|
41
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
42
|
+
content?: import("tailwind-variants").ClassValue;
|
|
43
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
44
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
45
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
46
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
47
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
48
|
+
separator?: import("tailwind-variants").ClassValue;
|
|
49
|
+
item?: import("tailwind-variants").ClassValue;
|
|
50
|
+
itemText?: import("tailwind-variants").ClassValue;
|
|
51
|
+
itemIndicator?: import("tailwind-variants").ClassValue;
|
|
52
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
53
|
+
itemGroupLabel?: import("tailwind-variants").ClassValue;
|
|
54
|
+
contextTrigger?: import("tailwind-variants").ClassValue;
|
|
55
|
+
triggerItem?: import("tailwind-variants").ClassValue;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip" | "indicator" | "separator" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip" | "indicator" | "separator" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type PortalProps as PrimitiveProps } from '@ark-ui/react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
interface PortalProps extends PrimitiveProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function Portal(props: PortalProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Portal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Portal.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Presence';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Presence.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { ark } from '@ark-ui/react/factory';
|
|
4
|
+
import { twMerge } from 'tailwind-merge';
|
|
5
|
+
export function Prose(props) {
|
|
6
|
+
return (_jsx(ark.div, { ...props, className: twMerge('prose', 'prose-invert', 'max-w-none', 'prose-h1:text-text-primary-900', 'prose-h2:text-text-primary-900', 'prose-h3:text-text-primary-900', 'prose-h4:text-text-primary-900', 'prose-h5:text-text-primary-900', 'prose-h6:text-text-primary-900', 'prose-h1:text-4xl', 'prose-h2:text-3xl', 'prose-h3:text-2xl', 'prose-h4:text-xl', 'prose-h5:text-lg', 'prose-h6:text-base', 'prose-headings:font-semibold', 'prose-p:text-text-secondary-700', 'prose-ul:text-text-secondary-700', 'prose-ol:text-text-secondary-700', 'prose-li:text-text-secondary-700', 'prose-li:marker:text-text-secondary-700', 'prose-strong:text-text-secondary-700', 'prose-ul:text-text-secondary-700', 'prose-em:text-text-secondary-700', 'prose-b:text-text-secondary-700', 'prose-u:text-text-secondary-700', 'prose-img:block', 'prose-img:w-full', 'prose-img:h-auto', 'prose-strong:font-medium', 'prose-b:font-medium', props.className) }));
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Prose';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Prose.js';
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { QrCode } from '@ark-ui/react/qr-code';
|
|
2
|
+
export declare const Root: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.RootProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
3
|
+
[key: string]: {
|
|
4
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
5
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
6
|
+
root?: import("tailwind-variants").ClassValue;
|
|
7
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
8
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
9
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
[x: string]: {
|
|
14
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
15
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
16
|
+
root?: import("tailwind-variants").ClassValue;
|
|
17
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
18
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
19
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
|
|
23
|
+
[key: string]: {
|
|
24
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
25
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
26
|
+
root?: import("tailwind-variants").ClassValue;
|
|
27
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
28
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
29
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
33
|
+
export declare const DownloadTrigger: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.DownloadTriggerProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
34
|
+
[key: string]: {
|
|
35
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
36
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
37
|
+
root?: import("tailwind-variants").ClassValue;
|
|
38
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
39
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
40
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
} | {
|
|
44
|
+
[x: string]: {
|
|
45
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
46
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
47
|
+
root?: import("tailwind-variants").ClassValue;
|
|
48
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
49
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
50
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
|
|
54
|
+
[key: string]: {
|
|
55
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
56
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
57
|
+
root?: import("tailwind-variants").ClassValue;
|
|
58
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
59
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
60
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
64
|
+
export declare const Frame: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.FrameProps & import("react").RefAttributes<SVGSVGElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
65
|
+
[key: string]: {
|
|
66
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
67
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
68
|
+
root?: import("tailwind-variants").ClassValue;
|
|
69
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
70
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
71
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
} | {
|
|
75
|
+
[x: string]: {
|
|
76
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
77
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
78
|
+
root?: import("tailwind-variants").ClassValue;
|
|
79
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
80
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
81
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
|
|
85
|
+
[key: string]: {
|
|
86
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
87
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
88
|
+
root?: import("tailwind-variants").ClassValue;
|
|
89
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
90
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
91
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
95
|
+
export declare const Overlay: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.OverlayProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
96
|
+
[key: string]: {
|
|
97
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
98
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
99
|
+
root?: import("tailwind-variants").ClassValue;
|
|
100
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
101
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
102
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
} | {
|
|
106
|
+
[x: string]: {
|
|
107
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
108
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
109
|
+
root?: import("tailwind-variants").ClassValue;
|
|
110
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
111
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
112
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
|
|
116
|
+
[key: string]: {
|
|
117
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
118
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
119
|
+
root?: import("tailwind-variants").ClassValue;
|
|
120
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
121
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
122
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
126
|
+
export declare const Pattern: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.PatternProps & import("react").RefAttributes<SVGPathElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
127
|
+
[key: string]: {
|
|
128
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
129
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
130
|
+
root?: import("tailwind-variants").ClassValue;
|
|
131
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
132
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
133
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
} | {
|
|
137
|
+
[x: string]: {
|
|
138
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
139
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
140
|
+
root?: import("tailwind-variants").ClassValue;
|
|
141
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
142
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
143
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
|
|
147
|
+
[key: string]: {
|
|
148
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
149
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
150
|
+
root?: import("tailwind-variants").ClassValue;
|
|
151
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
152
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
153
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
157
|
+
export declare const Context: (props: QrCode.ContextProps) => import("react").ReactNode;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { QrCode } from '@ark-ui/react/qr-code';
|
|
3
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
4
|
+
import { qrCodeRecipe } from './qrCode.recipe.js';
|
|
5
|
+
const { withProvider, withContext } = createRecipeContext(qrCodeRecipe);
|
|
6
|
+
export const Root = withProvider(QrCode.Root, 'root');
|
|
7
|
+
export const DownloadTrigger = withContext(QrCode.DownloadTrigger, 'downloadTrigger');
|
|
8
|
+
export const Frame = withContext(QrCode.Frame, 'frame');
|
|
9
|
+
export const Overlay = withContext(QrCode.Overlay, 'overlay');
|
|
10
|
+
export const Pattern = withContext(QrCode.Pattern, 'pattern');
|
|
11
|
+
export const Context = QrCode.Context;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as QrCode from './QrCode';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as QrCode from './QrCode.js';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const qrCodeRecipe: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
5
|
+
root?: import("tailwind-variants").ClassValue;
|
|
6
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
7
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
8
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
} | {
|
|
12
|
+
[x: string]: {
|
|
13
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
14
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
15
|
+
root?: import("tailwind-variants").ClassValue;
|
|
16
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
17
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
18
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
|
|
22
|
+
[key: string]: {
|
|
23
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
24
|
+
pattern?: import("tailwind-variants").ClassValue;
|
|
25
|
+
root?: import("tailwind-variants").ClassValue;
|
|
26
|
+
frame?: import("tailwind-variants").ClassValue;
|
|
27
|
+
overlay?: import("tailwind-variants").ClassValue;
|
|
28
|
+
downloadTrigger?: import("tailwind-variants").ClassValue;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
} | {}, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"pattern" | "root" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -1 +1,188 @@
|
|
|
1
|
-
|
|
1
|
+
import { Tooltip } from '@ark-ui/react/tooltip';
|
|
2
|
+
export declare const Root: import("react").ComponentType<import("@ark-ui/react").Assign<Tooltip.RootProps, 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
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
8
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
9
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
[x: string]: {
|
|
14
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
15
|
+
content?: import("tailwind-variants").ClassValue;
|
|
16
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
17
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
18
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
19
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, {
|
|
23
|
+
[key: string]: {
|
|
24
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
25
|
+
content?: import("tailwind-variants").ClassValue;
|
|
26
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
27
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
28
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
29
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
33
|
+
export declare const Arrow: import("react").ComponentType<import("@ark-ui/react").Assign<Tooltip.ArrowProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
34
|
+
[key: string]: {
|
|
35
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
36
|
+
content?: import("tailwind-variants").ClassValue;
|
|
37
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
38
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
39
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
40
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
} | {
|
|
44
|
+
[x: string]: {
|
|
45
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
46
|
+
content?: import("tailwind-variants").ClassValue;
|
|
47
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
48
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
49
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
50
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, {
|
|
54
|
+
[key: string]: {
|
|
55
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
56
|
+
content?: import("tailwind-variants").ClassValue;
|
|
57
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
58
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
59
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
60
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
64
|
+
export declare const ArrowTip: import("react").ComponentType<import("@ark-ui/react").Assign<Tooltip.ArrowTipProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
65
|
+
[key: string]: {
|
|
66
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
67
|
+
content?: import("tailwind-variants").ClassValue;
|
|
68
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
69
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
70
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
71
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
} | {
|
|
75
|
+
[x: string]: {
|
|
76
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
77
|
+
content?: import("tailwind-variants").ClassValue;
|
|
78
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
79
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
80
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
81
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, {
|
|
85
|
+
[key: string]: {
|
|
86
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
87
|
+
content?: import("tailwind-variants").ClassValue;
|
|
88
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
89
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
90
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
91
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
95
|
+
export declare const Content: import("react").ComponentType<import("@ark-ui/react").Assign<Tooltip.ContentProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
96
|
+
[key: string]: {
|
|
97
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
98
|
+
content?: import("tailwind-variants").ClassValue;
|
|
99
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
100
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
101
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
102
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
} | {
|
|
106
|
+
[x: string]: {
|
|
107
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
108
|
+
content?: import("tailwind-variants").ClassValue;
|
|
109
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
110
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
111
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
112
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, {
|
|
116
|
+
[key: string]: {
|
|
117
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
118
|
+
content?: import("tailwind-variants").ClassValue;
|
|
119
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
120
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
121
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
122
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
126
|
+
export declare const Positioner: import("react").ComponentType<import("@ark-ui/react").Assign<Tooltip.PositionerProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
127
|
+
[key: string]: {
|
|
128
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
129
|
+
content?: import("tailwind-variants").ClassValue;
|
|
130
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
131
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
132
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
133
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
} | {
|
|
137
|
+
[x: string]: {
|
|
138
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
139
|
+
content?: import("tailwind-variants").ClassValue;
|
|
140
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
141
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
142
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
143
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, {
|
|
147
|
+
[key: string]: {
|
|
148
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
149
|
+
content?: import("tailwind-variants").ClassValue;
|
|
150
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
151
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
152
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
153
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
157
|
+
export declare const Trigger: import("react").ComponentType<import("@ark-ui/react").Assign<Tooltip.TriggerProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
158
|
+
[key: string]: {
|
|
159
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
160
|
+
content?: import("tailwind-variants").ClassValue;
|
|
161
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
162
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
163
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
164
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
} | {
|
|
168
|
+
[x: string]: {
|
|
169
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
170
|
+
content?: import("tailwind-variants").ClassValue;
|
|
171
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
172
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
173
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
174
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, {
|
|
178
|
+
[key: string]: {
|
|
179
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
180
|
+
content?: import("tailwind-variants").ClassValue;
|
|
181
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
182
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
183
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
184
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
188
|
+
export declare const Context: (props: Tooltip.ContextProps) => import("react").ReactNode;
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
2
|
+
import { Tooltip } from '@ark-ui/react/tooltip';
|
|
3
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
4
|
+
import { tooltipRecipe } from './tooltip.recipe.js';
|
|
5
|
+
const { withRootProvider, withContext } = createRecipeContext(tooltipRecipe);
|
|
6
|
+
export const Root = withRootProvider(Tooltip.Root);
|
|
7
|
+
export const Arrow = withContext(Tooltip.Arrow, 'arrow');
|
|
8
|
+
export const ArrowTip = withContext(Tooltip.ArrowTip, 'arrowTip');
|
|
9
|
+
export const Content = withContext(Tooltip.Content, 'content');
|
|
10
|
+
export const Positioner = withContext(Tooltip.Positioner, 'positioner');
|
|
11
|
+
export const Trigger = withContext(Tooltip.Trigger, 'trigger');
|
|
12
|
+
export const Context = Tooltip.Context;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const tooltipRecipe: 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
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
7
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
8
|
+
arrowTip?: 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
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
17
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
18
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, {
|
|
22
|
+
[key: string]: {
|
|
23
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
24
|
+
content?: import("tailwind-variants").ClassValue;
|
|
25
|
+
trigger?: import("tailwind-variants").ClassValue;
|
|
26
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
27
|
+
arrow?: import("tailwind-variants").ClassValue;
|
|
28
|
+
arrowTip?: import("tailwind-variants").ClassValue;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { tooltipAnatomy } from '@ark-ui/react/tooltip';
|
|
2
|
+
import { tv } from 'tailwind-variants';
|
|
3
|
+
import { anatomyToRecipeSlots } from '../../utils/anatomyToRecipeSlots.js';
|
|
4
|
+
export const tooltipRecipe = tv({
|
|
5
|
+
slots: anatomyToRecipeSlots(tooltipAnatomy),
|
|
6
|
+
});
|