kaleido-ui 0.1.77 → 0.1.79
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/web/index.cjs +26 -4
- package/dist/web/index.d.cts +3 -2
- package/dist/web/index.d.ts +3 -2
- package/dist/web/index.js +25 -4
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -113,6 +113,7 @@ __export(web_exports, {
|
|
|
113
113
|
NetworkBadge: () => NetworkBadge,
|
|
114
114
|
NetworkInfoDisclosure: () => NetworkInfoDisclosure,
|
|
115
115
|
NetworkStatusChip: () => NetworkStatusChip,
|
|
116
|
+
NostrNetworkIcon: () => NostrNetworkIcon,
|
|
116
117
|
NumberInput: () => NumberInput,
|
|
117
118
|
OptionSelector: () => OptionSelector,
|
|
118
119
|
PageHeader: () => PageHeader,
|
|
@@ -2164,6 +2165,19 @@ function ArkadeNetworkIcon({
|
|
|
2164
2165
|
}
|
|
2165
2166
|
);
|
|
2166
2167
|
}
|
|
2168
|
+
function NostrNetworkIcon({
|
|
2169
|
+
className = "size-3.5",
|
|
2170
|
+
alt = "Nostr"
|
|
2171
|
+
}) {
|
|
2172
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2173
|
+
"img",
|
|
2174
|
+
{
|
|
2175
|
+
src: "/icons/nostr-icon.svg",
|
|
2176
|
+
alt,
|
|
2177
|
+
className: cn("object-contain", className)
|
|
2178
|
+
}
|
|
2179
|
+
);
|
|
2180
|
+
}
|
|
2167
2181
|
function RgbNetworkIcon({ className = "size-3.5", alt = "RGB" }) {
|
|
2168
2182
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("img", { src: protocolIcons["RGB20"], alt, className: cn("object-contain", className) });
|
|
2169
2183
|
}
|
|
@@ -2355,7 +2369,7 @@ function BottomNav({
|
|
|
2355
2369
|
"nav",
|
|
2356
2370
|
{
|
|
2357
2371
|
className: cn(
|
|
2358
|
-
"w-[90%] max-w-[
|
|
2372
|
+
"w-[90%] max-w-[21.25rem] rounded-full bg-card/60 shadow-lg backdrop-blur-xl",
|
|
2359
2373
|
position === "fixed" ? "fixed bottom-6 left-1/2 z-[var(--z-nav)] -translate-x-1/2" : "relative",
|
|
2360
2374
|
className
|
|
2361
2375
|
),
|
|
@@ -2368,7 +2382,7 @@ function BottomNav({
|
|
|
2368
2382
|
onClick: () => onChange(id),
|
|
2369
2383
|
"data-testid": testId ?? `bottom-nav-${id}`,
|
|
2370
2384
|
className: cn(
|
|
2371
|
-
"relative flex h-[
|
|
2385
|
+
"relative flex h-[3.25rem] w-[4rem] flex-col items-center justify-center rounded-full transition-all duration-300",
|
|
2372
2386
|
isActive ? "bg-white/10 text-primary" : "text-muted-foreground hover:text-white/75 active:scale-95"
|
|
2373
2387
|
),
|
|
2374
2388
|
children: [
|
|
@@ -2858,7 +2872,10 @@ var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
|
2858
2872
|
var SUPPORTED_ACCOUNT_NETWORKS = {
|
|
2859
2873
|
RGB: ["regtest", "testnet", "signet"],
|
|
2860
2874
|
SPARK: ["regtest", "mainnet"],
|
|
2861
|
-
ARKADE: ["signet", "mainnet"]
|
|
2875
|
+
ARKADE: ["signet", "mainnet"],
|
|
2876
|
+
// Nostr is network-agnostic; mainnet is the placeholder consumers pass
|
|
2877
|
+
// (the network chip is typically hidden for NOSTR rows anyway).
|
|
2878
|
+
NOSTR: ["mainnet"]
|
|
2862
2879
|
};
|
|
2863
2880
|
function getAccountNetworkLabel(network) {
|
|
2864
2881
|
switch (network) {
|
|
@@ -2901,6 +2918,9 @@ function AccountHeaderIcons({ accountId }) {
|
|
|
2901
2918
|
if (accountId === "SPARK") {
|
|
2902
2919
|
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "flex size-10 items-center justify-center rounded-full bg-info/10 shadow-inner", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("img", { src: "/icons/spark/Asterisk/Spark Asterisk White.svg", alt: "Spark", className: "size-5 object-contain" }) });
|
|
2903
2920
|
}
|
|
2921
|
+
if (accountId === "NOSTR") {
|
|
2922
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "flex size-10 items-center justify-center rounded-full bg-network-arkade/10 shadow-inner", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(NostrNetworkIcon, { className: "size-5" }) });
|
|
2923
|
+
}
|
|
2904
2924
|
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "flex size-10 items-center justify-center rounded-full bg-network-arkade/10 shadow-inner", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("img", { src: "/icons/arkade/arkade-icon.svg", alt: "Arkade", className: "size-5 rounded-sm object-contain" }) });
|
|
2905
2925
|
}
|
|
2906
2926
|
function getAccountStatusUi(status) {
|
|
@@ -3130,7 +3150,8 @@ function ExpandIcon({ expanded }) {
|
|
|
3130
3150
|
var ACCOUNT_ACCENT_BG = {
|
|
3131
3151
|
RGB: "bg-gradient-to-br from-primary/[0.06] via-card to-primary/[0.10]",
|
|
3132
3152
|
SPARK: "bg-gradient-to-br from-info/[0.06] via-card to-info/[0.10]",
|
|
3133
|
-
ARKADE: "bg-gradient-to-br from-network-arkade/[0.06] via-card to-network-arkade/[0.10]"
|
|
3153
|
+
ARKADE: "bg-gradient-to-br from-network-arkade/[0.06] via-card to-network-arkade/[0.10]",
|
|
3154
|
+
NOSTR: "bg-gradient-to-br from-network-arkade/[0.06] via-card to-network-arkade/[0.10]"
|
|
3134
3155
|
};
|
|
3135
3156
|
function AccountSettingsRow({
|
|
3136
3157
|
accountId,
|
|
@@ -8975,6 +8996,7 @@ function DepositInvoiceGeneration({
|
|
|
8975
8996
|
NetworkBadge,
|
|
8976
8997
|
NetworkInfoDisclosure,
|
|
8977
8998
|
NetworkStatusChip,
|
|
8999
|
+
NostrNetworkIcon,
|
|
8978
9000
|
NumberInput,
|
|
8979
9001
|
OptionSelector,
|
|
8980
9002
|
PageHeader,
|
package/dist/web/index.d.cts
CHANGED
|
@@ -312,6 +312,7 @@ interface NetworkIconProps {
|
|
|
312
312
|
declare function LightningNetworkIcon({ className, alt, }: NetworkIconProps): react_jsx_runtime.JSX.Element;
|
|
313
313
|
declare function SparkNetworkIcon({ className, alt }: NetworkIconProps): react_jsx_runtime.JSX.Element;
|
|
314
314
|
declare function ArkadeNetworkIcon({ className, alt, }: NetworkIconProps): react_jsx_runtime.JSX.Element;
|
|
315
|
+
declare function NostrNetworkIcon({ className, alt, }: NetworkIconProps): react_jsx_runtime.JSX.Element;
|
|
315
316
|
/**
|
|
316
317
|
* RGB logo. Unlike the other network icons (which reference host-app asset
|
|
317
318
|
* paths), this renders the RGB mark bundled with the library (protocolIcons),
|
|
@@ -482,7 +483,7 @@ declare function SettingsActionButton({ icon, children, onClick, }: {
|
|
|
482
483
|
onClick: () => void;
|
|
483
484
|
}): react_jsx_runtime.JSX.Element;
|
|
484
485
|
|
|
485
|
-
type AccountSettingsProtocol = 'RGB' | 'SPARK' | 'ARKADE';
|
|
486
|
+
type AccountSettingsProtocol = 'RGB' | 'SPARK' | 'ARKADE' | 'NOSTR';
|
|
486
487
|
type AccountSettingsNetwork = 'mainnet' | 'testnet' | 'regtest' | 'signet';
|
|
487
488
|
declare function getAccountNetworkLabel(network: AccountSettingsNetwork): string;
|
|
488
489
|
declare function getAccountNetworkUi(network: AccountSettingsNetwork): {
|
|
@@ -1747,4 +1748,4 @@ declare function getFallbackAssetIconUrl(seed: string): string;
|
|
|
1747
1748
|
*/
|
|
1748
1749
|
declare function useAssetIcon(ticker: string, cdnBaseUrl?: string): string;
|
|
1749
1750
|
|
|
1750
|
-
export { AccountCapabilitiesCard, type AccountCapabilitiesCardProps, AccountChoiceChip, AccountHeaderIcons, AccountInfoGrid, AccountNetworkNotice, AccountNetworkPicker, AccountNetworkSelector, AccountNotice, type AccountSettingsNetwork, type AccountSettingsProtocol, AccountSettingsRow, AccountSettingsShell, AccountStatusPills, type AccountStatusTabItem, AccountStatusTabs, type AccountStatusTabsProps, ActionTile, type ActionTileProps, ActivityDetailRow, type ActivityDetailRowProps, ActivityFilterBar, type ActivityFilterBarProps, ActivityList, type ActivityListItem, type ActivityListProps, type ActivityNetworkFilterOption, type ActivityNetworkFilterValue, ActivityNetworkFilters, type ActivityNetworkFiltersProps, ActivityRow, type ActivityRowProps, type ActivityStatusOption, type ActivityTypeTabCounts, type ActivityTypeTabValue, ActivityTypeTabs, AlertBanner, type AmountDisplayOptions, type AmountDisplayUnit, AppIcon, type AppIconName, type AppIconProps, ArkadeNetworkIcon, AssetCard, type AssetCardProps, AssetIcon, AssetSelector, type AssetSelectorCategory, type AssetSelectorOption, type AssetSelectorProps, BalanceBreakdown, type BalanceBreakdownAccounts, type BalanceBreakdownAsset, type BalanceBreakdownNodeInfo, type BalanceBreakdownProps, BottomNav, type BottomNavItem, type BottomNavProps, BottomSheet, type BottomSheetAction, type BottomSheetProps, BtcUnifiedReceive, type BtcUnifiedReceiveAddress, type BtcUnifiedReceiveProps, type BtcUnifiedReceiveResult, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CopyIcon, type DepositAccountId, DepositAssetSelection, type DepositAssetSelectionProps, type DepositGeneratedAsset, DepositGeneratedView, type DepositGeneratedViewProps, type DepositGenerationController, type DepositInvoiceAsset, DepositInvoiceGeneration, type DepositInvoiceGenerationProps, type DepositNetworkConfigEntry, DepositNetworkDefaultModal, type DepositNetworkDefaultModalProps, type DepositNetworkKey, type DepositNetworkOption, DepositPreGeneration, type DepositPreGenerationAsset, type DepositPreGenerationProps, type DepositSelectionAsset, DepositSuccessScreen, type DepositSuccessScreenProps, type DepositTransferMethod, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisclosureCard, type DisclosureCardProps, DotPagination, type DotPaginationProps, type DotTone, ErrorBoundary, ErrorCard, type ErrorCardProps, ExpandIcon, ExtensionPageFrame, type ExtensionPageFrameProps, FadeOverlay, type FadeOverlayProps, FilterChipGroup, type FilterChipGroupProps, type FilterChipOption, FilterDropdown, type FilterDropdownOption, type FilterDropdownProps, HeadlineGradient, type HeadlineGradientProps, Icon, type IconName, type IconProps, Icons, InfoPanel, type InfoPanelProps, InlineAction, InlineSelector, type InlineSelectorOption, type InlineSelectorProps, Input, type InputProps, InvoiceStatusBanner, KaleidoScopeHeroAnimation, type KaleidoScopeHeroAnimationProps, Label, LightningNetworkIcon, ListSkeletonRows, type ListSkeletonRowsProps, LoadingCard, type LoadingCardProps, MethodChoiceChip, MetricCard, type MetricCardProps, MobileHeroAnimation, type MobileHeroAnimationProps, NETWORK_CONFIG, NetworkBadge, type NetworkBadgeProps, type NetworkIconProps, NetworkInfoDisclosure, NetworkStatusChip, type NetworkStatusChipProps, type NetworkType, NumberInput, type NumberInputProps, OptionSelector, type OptionSelectorOption, type OptionSelectorProps, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PaidOverlay, QrCode, type QrCodeProps, RecoveryPhraseCard, type RecoveryPhraseCardProps, RgbNetworkIcon, ScrollArea, type ScrollAreaProps, SecretRevealCard, type SecretRevealCardProps, SectionHeader, type SectionHeaderProps, SectionLabel, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, SelectableCard, type SelectableCardProps, SettingItem, SettingsActionButton, SettingsSectionCard, type SettingsSectionCardProps, SettingsSelectorRow, type SettingsSelectorRowProps, SettingsStatusPanel, SettingsTile, type SettingsTileProps, Skeleton, type SkeletonProps, type SkeletonTone, SparkNetworkIcon, StatusBadge, type StatusType, StepperNumberInput, type StepperNumberInputProps, SwapInputCard, type SwapInputCardProps, Switch, SwitchRow, type SwitchRowProps, Tabs, TabsContent, TabsList, TabsTrigger, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, ToneBadge, type ToneBadgeProps, TransactionCard, type TransactionCardProps, TransferRouteCard, WalletAssetList, type WalletAssetListEmptyState, type WalletAssetListItem, type WalletAssetListProps, type WithdrawAddressType, WithdrawAmountInput, type WithdrawAmountInputProps, WithdrawConfirmation, type WithdrawConfirmationProps, type WithdrawConfirmationRgbInvoice, type WithdrawDecodedLnInvoice, type WithdrawDecodedRgbInvoice, WithdrawDestinationInput, type WithdrawDestinationInputProps, type WithdrawInvoiceAsset, WithdrawInvoiceInfo, type WithdrawInvoiceInfoLnInvoice, type WithdrawInvoiceInfoProps, type WithdrawInvoiceInfoRgbInvoice, type WithdrawLnurlPayData, type WithdrawRouteOption, WithdrawRouteSelector, type WithdrawRouteSelectorProps, type WithdrawRouteSummary, WithdrawSuccess, type WithdrawSuccessProps, buttonVariants, cn, formatDisplayAmountText, getAccountNetworkLabel, getAccountNetworkUi, getAccountStatusUi, getActivityNetworkFilterIcon, getAssetIconUrl, getFallbackAssetIconUrl, toast, useAssetIcon, useToast };
|
|
1751
|
+
export { AccountCapabilitiesCard, type AccountCapabilitiesCardProps, AccountChoiceChip, AccountHeaderIcons, AccountInfoGrid, AccountNetworkNotice, AccountNetworkPicker, AccountNetworkSelector, AccountNotice, type AccountSettingsNetwork, type AccountSettingsProtocol, AccountSettingsRow, AccountSettingsShell, AccountStatusPills, type AccountStatusTabItem, AccountStatusTabs, type AccountStatusTabsProps, ActionTile, type ActionTileProps, ActivityDetailRow, type ActivityDetailRowProps, ActivityFilterBar, type ActivityFilterBarProps, ActivityList, type ActivityListItem, type ActivityListProps, type ActivityNetworkFilterOption, type ActivityNetworkFilterValue, ActivityNetworkFilters, type ActivityNetworkFiltersProps, ActivityRow, type ActivityRowProps, type ActivityStatusOption, type ActivityTypeTabCounts, type ActivityTypeTabValue, ActivityTypeTabs, AlertBanner, type AmountDisplayOptions, type AmountDisplayUnit, AppIcon, type AppIconName, type AppIconProps, ArkadeNetworkIcon, AssetCard, type AssetCardProps, AssetIcon, AssetSelector, type AssetSelectorCategory, type AssetSelectorOption, type AssetSelectorProps, BalanceBreakdown, type BalanceBreakdownAccounts, type BalanceBreakdownAsset, type BalanceBreakdownNodeInfo, type BalanceBreakdownProps, BottomNav, type BottomNavItem, type BottomNavProps, BottomSheet, type BottomSheetAction, type BottomSheetProps, BtcUnifiedReceive, type BtcUnifiedReceiveAddress, type BtcUnifiedReceiveProps, type BtcUnifiedReceiveResult, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CopyIcon, type DepositAccountId, DepositAssetSelection, type DepositAssetSelectionProps, type DepositGeneratedAsset, DepositGeneratedView, type DepositGeneratedViewProps, type DepositGenerationController, type DepositInvoiceAsset, DepositInvoiceGeneration, type DepositInvoiceGenerationProps, type DepositNetworkConfigEntry, DepositNetworkDefaultModal, type DepositNetworkDefaultModalProps, type DepositNetworkKey, type DepositNetworkOption, DepositPreGeneration, type DepositPreGenerationAsset, type DepositPreGenerationProps, type DepositSelectionAsset, DepositSuccessScreen, type DepositSuccessScreenProps, type DepositTransferMethod, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisclosureCard, type DisclosureCardProps, DotPagination, type DotPaginationProps, type DotTone, ErrorBoundary, ErrorCard, type ErrorCardProps, ExpandIcon, ExtensionPageFrame, type ExtensionPageFrameProps, FadeOverlay, type FadeOverlayProps, FilterChipGroup, type FilterChipGroupProps, type FilterChipOption, FilterDropdown, type FilterDropdownOption, type FilterDropdownProps, HeadlineGradient, type HeadlineGradientProps, Icon, type IconName, type IconProps, Icons, InfoPanel, type InfoPanelProps, InlineAction, InlineSelector, type InlineSelectorOption, type InlineSelectorProps, Input, type InputProps, InvoiceStatusBanner, KaleidoScopeHeroAnimation, type KaleidoScopeHeroAnimationProps, Label, LightningNetworkIcon, ListSkeletonRows, type ListSkeletonRowsProps, LoadingCard, type LoadingCardProps, MethodChoiceChip, MetricCard, type MetricCardProps, MobileHeroAnimation, type MobileHeroAnimationProps, NETWORK_CONFIG, NetworkBadge, type NetworkBadgeProps, type NetworkIconProps, NetworkInfoDisclosure, NetworkStatusChip, type NetworkStatusChipProps, type NetworkType, NostrNetworkIcon, NumberInput, type NumberInputProps, OptionSelector, type OptionSelectorOption, type OptionSelectorProps, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PaidOverlay, QrCode, type QrCodeProps, RecoveryPhraseCard, type RecoveryPhraseCardProps, RgbNetworkIcon, ScrollArea, type ScrollAreaProps, SecretRevealCard, type SecretRevealCardProps, SectionHeader, type SectionHeaderProps, SectionLabel, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, SelectableCard, type SelectableCardProps, SettingItem, SettingsActionButton, SettingsSectionCard, type SettingsSectionCardProps, SettingsSelectorRow, type SettingsSelectorRowProps, SettingsStatusPanel, SettingsTile, type SettingsTileProps, Skeleton, type SkeletonProps, type SkeletonTone, SparkNetworkIcon, StatusBadge, type StatusType, StepperNumberInput, type StepperNumberInputProps, SwapInputCard, type SwapInputCardProps, Switch, SwitchRow, type SwitchRowProps, Tabs, TabsContent, TabsList, TabsTrigger, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, ToneBadge, type ToneBadgeProps, TransactionCard, type TransactionCardProps, TransferRouteCard, WalletAssetList, type WalletAssetListEmptyState, type WalletAssetListItem, type WalletAssetListProps, type WithdrawAddressType, WithdrawAmountInput, type WithdrawAmountInputProps, WithdrawConfirmation, type WithdrawConfirmationProps, type WithdrawConfirmationRgbInvoice, type WithdrawDecodedLnInvoice, type WithdrawDecodedRgbInvoice, WithdrawDestinationInput, type WithdrawDestinationInputProps, type WithdrawInvoiceAsset, WithdrawInvoiceInfo, type WithdrawInvoiceInfoLnInvoice, type WithdrawInvoiceInfoProps, type WithdrawInvoiceInfoRgbInvoice, type WithdrawLnurlPayData, type WithdrawRouteOption, WithdrawRouteSelector, type WithdrawRouteSelectorProps, type WithdrawRouteSummary, WithdrawSuccess, type WithdrawSuccessProps, buttonVariants, cn, formatDisplayAmountText, getAccountNetworkLabel, getAccountNetworkUi, getAccountStatusUi, getActivityNetworkFilterIcon, getAssetIconUrl, getFallbackAssetIconUrl, toast, useAssetIcon, useToast };
|
package/dist/web/index.d.ts
CHANGED
|
@@ -312,6 +312,7 @@ interface NetworkIconProps {
|
|
|
312
312
|
declare function LightningNetworkIcon({ className, alt, }: NetworkIconProps): react_jsx_runtime.JSX.Element;
|
|
313
313
|
declare function SparkNetworkIcon({ className, alt }: NetworkIconProps): react_jsx_runtime.JSX.Element;
|
|
314
314
|
declare function ArkadeNetworkIcon({ className, alt, }: NetworkIconProps): react_jsx_runtime.JSX.Element;
|
|
315
|
+
declare function NostrNetworkIcon({ className, alt, }: NetworkIconProps): react_jsx_runtime.JSX.Element;
|
|
315
316
|
/**
|
|
316
317
|
* RGB logo. Unlike the other network icons (which reference host-app asset
|
|
317
318
|
* paths), this renders the RGB mark bundled with the library (protocolIcons),
|
|
@@ -482,7 +483,7 @@ declare function SettingsActionButton({ icon, children, onClick, }: {
|
|
|
482
483
|
onClick: () => void;
|
|
483
484
|
}): react_jsx_runtime.JSX.Element;
|
|
484
485
|
|
|
485
|
-
type AccountSettingsProtocol = 'RGB' | 'SPARK' | 'ARKADE';
|
|
486
|
+
type AccountSettingsProtocol = 'RGB' | 'SPARK' | 'ARKADE' | 'NOSTR';
|
|
486
487
|
type AccountSettingsNetwork = 'mainnet' | 'testnet' | 'regtest' | 'signet';
|
|
487
488
|
declare function getAccountNetworkLabel(network: AccountSettingsNetwork): string;
|
|
488
489
|
declare function getAccountNetworkUi(network: AccountSettingsNetwork): {
|
|
@@ -1747,4 +1748,4 @@ declare function getFallbackAssetIconUrl(seed: string): string;
|
|
|
1747
1748
|
*/
|
|
1748
1749
|
declare function useAssetIcon(ticker: string, cdnBaseUrl?: string): string;
|
|
1749
1750
|
|
|
1750
|
-
export { AccountCapabilitiesCard, type AccountCapabilitiesCardProps, AccountChoiceChip, AccountHeaderIcons, AccountInfoGrid, AccountNetworkNotice, AccountNetworkPicker, AccountNetworkSelector, AccountNotice, type AccountSettingsNetwork, type AccountSettingsProtocol, AccountSettingsRow, AccountSettingsShell, AccountStatusPills, type AccountStatusTabItem, AccountStatusTabs, type AccountStatusTabsProps, ActionTile, type ActionTileProps, ActivityDetailRow, type ActivityDetailRowProps, ActivityFilterBar, type ActivityFilterBarProps, ActivityList, type ActivityListItem, type ActivityListProps, type ActivityNetworkFilterOption, type ActivityNetworkFilterValue, ActivityNetworkFilters, type ActivityNetworkFiltersProps, ActivityRow, type ActivityRowProps, type ActivityStatusOption, type ActivityTypeTabCounts, type ActivityTypeTabValue, ActivityTypeTabs, AlertBanner, type AmountDisplayOptions, type AmountDisplayUnit, AppIcon, type AppIconName, type AppIconProps, ArkadeNetworkIcon, AssetCard, type AssetCardProps, AssetIcon, AssetSelector, type AssetSelectorCategory, type AssetSelectorOption, type AssetSelectorProps, BalanceBreakdown, type BalanceBreakdownAccounts, type BalanceBreakdownAsset, type BalanceBreakdownNodeInfo, type BalanceBreakdownProps, BottomNav, type BottomNavItem, type BottomNavProps, BottomSheet, type BottomSheetAction, type BottomSheetProps, BtcUnifiedReceive, type BtcUnifiedReceiveAddress, type BtcUnifiedReceiveProps, type BtcUnifiedReceiveResult, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CopyIcon, type DepositAccountId, DepositAssetSelection, type DepositAssetSelectionProps, type DepositGeneratedAsset, DepositGeneratedView, type DepositGeneratedViewProps, type DepositGenerationController, type DepositInvoiceAsset, DepositInvoiceGeneration, type DepositInvoiceGenerationProps, type DepositNetworkConfigEntry, DepositNetworkDefaultModal, type DepositNetworkDefaultModalProps, type DepositNetworkKey, type DepositNetworkOption, DepositPreGeneration, type DepositPreGenerationAsset, type DepositPreGenerationProps, type DepositSelectionAsset, DepositSuccessScreen, type DepositSuccessScreenProps, type DepositTransferMethod, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisclosureCard, type DisclosureCardProps, DotPagination, type DotPaginationProps, type DotTone, ErrorBoundary, ErrorCard, type ErrorCardProps, ExpandIcon, ExtensionPageFrame, type ExtensionPageFrameProps, FadeOverlay, type FadeOverlayProps, FilterChipGroup, type FilterChipGroupProps, type FilterChipOption, FilterDropdown, type FilterDropdownOption, type FilterDropdownProps, HeadlineGradient, type HeadlineGradientProps, Icon, type IconName, type IconProps, Icons, InfoPanel, type InfoPanelProps, InlineAction, InlineSelector, type InlineSelectorOption, type InlineSelectorProps, Input, type InputProps, InvoiceStatusBanner, KaleidoScopeHeroAnimation, type KaleidoScopeHeroAnimationProps, Label, LightningNetworkIcon, ListSkeletonRows, type ListSkeletonRowsProps, LoadingCard, type LoadingCardProps, MethodChoiceChip, MetricCard, type MetricCardProps, MobileHeroAnimation, type MobileHeroAnimationProps, NETWORK_CONFIG, NetworkBadge, type NetworkBadgeProps, type NetworkIconProps, NetworkInfoDisclosure, NetworkStatusChip, type NetworkStatusChipProps, type NetworkType, NumberInput, type NumberInputProps, OptionSelector, type OptionSelectorOption, type OptionSelectorProps, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PaidOverlay, QrCode, type QrCodeProps, RecoveryPhraseCard, type RecoveryPhraseCardProps, RgbNetworkIcon, ScrollArea, type ScrollAreaProps, SecretRevealCard, type SecretRevealCardProps, SectionHeader, type SectionHeaderProps, SectionLabel, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, SelectableCard, type SelectableCardProps, SettingItem, SettingsActionButton, SettingsSectionCard, type SettingsSectionCardProps, SettingsSelectorRow, type SettingsSelectorRowProps, SettingsStatusPanel, SettingsTile, type SettingsTileProps, Skeleton, type SkeletonProps, type SkeletonTone, SparkNetworkIcon, StatusBadge, type StatusType, StepperNumberInput, type StepperNumberInputProps, SwapInputCard, type SwapInputCardProps, Switch, SwitchRow, type SwitchRowProps, Tabs, TabsContent, TabsList, TabsTrigger, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, ToneBadge, type ToneBadgeProps, TransactionCard, type TransactionCardProps, TransferRouteCard, WalletAssetList, type WalletAssetListEmptyState, type WalletAssetListItem, type WalletAssetListProps, type WithdrawAddressType, WithdrawAmountInput, type WithdrawAmountInputProps, WithdrawConfirmation, type WithdrawConfirmationProps, type WithdrawConfirmationRgbInvoice, type WithdrawDecodedLnInvoice, type WithdrawDecodedRgbInvoice, WithdrawDestinationInput, type WithdrawDestinationInputProps, type WithdrawInvoiceAsset, WithdrawInvoiceInfo, type WithdrawInvoiceInfoLnInvoice, type WithdrawInvoiceInfoProps, type WithdrawInvoiceInfoRgbInvoice, type WithdrawLnurlPayData, type WithdrawRouteOption, WithdrawRouteSelector, type WithdrawRouteSelectorProps, type WithdrawRouteSummary, WithdrawSuccess, type WithdrawSuccessProps, buttonVariants, cn, formatDisplayAmountText, getAccountNetworkLabel, getAccountNetworkUi, getAccountStatusUi, getActivityNetworkFilterIcon, getAssetIconUrl, getFallbackAssetIconUrl, toast, useAssetIcon, useToast };
|
|
1751
|
+
export { AccountCapabilitiesCard, type AccountCapabilitiesCardProps, AccountChoiceChip, AccountHeaderIcons, AccountInfoGrid, AccountNetworkNotice, AccountNetworkPicker, AccountNetworkSelector, AccountNotice, type AccountSettingsNetwork, type AccountSettingsProtocol, AccountSettingsRow, AccountSettingsShell, AccountStatusPills, type AccountStatusTabItem, AccountStatusTabs, type AccountStatusTabsProps, ActionTile, type ActionTileProps, ActivityDetailRow, type ActivityDetailRowProps, ActivityFilterBar, type ActivityFilterBarProps, ActivityList, type ActivityListItem, type ActivityListProps, type ActivityNetworkFilterOption, type ActivityNetworkFilterValue, ActivityNetworkFilters, type ActivityNetworkFiltersProps, ActivityRow, type ActivityRowProps, type ActivityStatusOption, type ActivityTypeTabCounts, type ActivityTypeTabValue, ActivityTypeTabs, AlertBanner, type AmountDisplayOptions, type AmountDisplayUnit, AppIcon, type AppIconName, type AppIconProps, ArkadeNetworkIcon, AssetCard, type AssetCardProps, AssetIcon, AssetSelector, type AssetSelectorCategory, type AssetSelectorOption, type AssetSelectorProps, BalanceBreakdown, type BalanceBreakdownAccounts, type BalanceBreakdownAsset, type BalanceBreakdownNodeInfo, type BalanceBreakdownProps, BottomNav, type BottomNavItem, type BottomNavProps, BottomSheet, type BottomSheetAction, type BottomSheetProps, BtcUnifiedReceive, type BtcUnifiedReceiveAddress, type BtcUnifiedReceiveProps, type BtcUnifiedReceiveResult, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CopyIcon, type DepositAccountId, DepositAssetSelection, type DepositAssetSelectionProps, type DepositGeneratedAsset, DepositGeneratedView, type DepositGeneratedViewProps, type DepositGenerationController, type DepositInvoiceAsset, DepositInvoiceGeneration, type DepositInvoiceGenerationProps, type DepositNetworkConfigEntry, DepositNetworkDefaultModal, type DepositNetworkDefaultModalProps, type DepositNetworkKey, type DepositNetworkOption, DepositPreGeneration, type DepositPreGenerationAsset, type DepositPreGenerationProps, type DepositSelectionAsset, DepositSuccessScreen, type DepositSuccessScreenProps, type DepositTransferMethod, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisclosureCard, type DisclosureCardProps, DotPagination, type DotPaginationProps, type DotTone, ErrorBoundary, ErrorCard, type ErrorCardProps, ExpandIcon, ExtensionPageFrame, type ExtensionPageFrameProps, FadeOverlay, type FadeOverlayProps, FilterChipGroup, type FilterChipGroupProps, type FilterChipOption, FilterDropdown, type FilterDropdownOption, type FilterDropdownProps, HeadlineGradient, type HeadlineGradientProps, Icon, type IconName, type IconProps, Icons, InfoPanel, type InfoPanelProps, InlineAction, InlineSelector, type InlineSelectorOption, type InlineSelectorProps, Input, type InputProps, InvoiceStatusBanner, KaleidoScopeHeroAnimation, type KaleidoScopeHeroAnimationProps, Label, LightningNetworkIcon, ListSkeletonRows, type ListSkeletonRowsProps, LoadingCard, type LoadingCardProps, MethodChoiceChip, MetricCard, type MetricCardProps, MobileHeroAnimation, type MobileHeroAnimationProps, NETWORK_CONFIG, NetworkBadge, type NetworkBadgeProps, type NetworkIconProps, NetworkInfoDisclosure, NetworkStatusChip, type NetworkStatusChipProps, type NetworkType, NostrNetworkIcon, NumberInput, type NumberInputProps, OptionSelector, type OptionSelectorOption, type OptionSelectorProps, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PaidOverlay, QrCode, type QrCodeProps, RecoveryPhraseCard, type RecoveryPhraseCardProps, RgbNetworkIcon, ScrollArea, type ScrollAreaProps, SecretRevealCard, type SecretRevealCardProps, SectionHeader, type SectionHeaderProps, SectionLabel, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, SelectableCard, type SelectableCardProps, SettingItem, SettingsActionButton, SettingsSectionCard, type SettingsSectionCardProps, SettingsSelectorRow, type SettingsSelectorRowProps, SettingsStatusPanel, SettingsTile, type SettingsTileProps, Skeleton, type SkeletonProps, type SkeletonTone, SparkNetworkIcon, StatusBadge, type StatusType, StepperNumberInput, type StepperNumberInputProps, SwapInputCard, type SwapInputCardProps, Switch, SwitchRow, type SwitchRowProps, Tabs, TabsContent, TabsList, TabsTrigger, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, ToneBadge, type ToneBadgeProps, TransactionCard, type TransactionCardProps, TransferRouteCard, WalletAssetList, type WalletAssetListEmptyState, type WalletAssetListItem, type WalletAssetListProps, type WithdrawAddressType, WithdrawAmountInput, type WithdrawAmountInputProps, WithdrawConfirmation, type WithdrawConfirmationProps, type WithdrawConfirmationRgbInvoice, type WithdrawDecodedLnInvoice, type WithdrawDecodedRgbInvoice, WithdrawDestinationInput, type WithdrawDestinationInputProps, type WithdrawInvoiceAsset, WithdrawInvoiceInfo, type WithdrawInvoiceInfoLnInvoice, type WithdrawInvoiceInfoProps, type WithdrawInvoiceInfoRgbInvoice, type WithdrawLnurlPayData, type WithdrawRouteOption, WithdrawRouteSelector, type WithdrawRouteSelectorProps, type WithdrawRouteSummary, WithdrawSuccess, type WithdrawSuccessProps, buttonVariants, cn, formatDisplayAmountText, getAccountNetworkLabel, getAccountNetworkUi, getAccountStatusUi, getActivityNetworkFilterIcon, getAssetIconUrl, getFallbackAssetIconUrl, toast, useAssetIcon, useToast };
|
package/dist/web/index.js
CHANGED
|
@@ -1985,6 +1985,19 @@ function ArkadeNetworkIcon({
|
|
|
1985
1985
|
}
|
|
1986
1986
|
);
|
|
1987
1987
|
}
|
|
1988
|
+
function NostrNetworkIcon({
|
|
1989
|
+
className = "size-3.5",
|
|
1990
|
+
alt = "Nostr"
|
|
1991
|
+
}) {
|
|
1992
|
+
return /* @__PURE__ */ jsx24(
|
|
1993
|
+
"img",
|
|
1994
|
+
{
|
|
1995
|
+
src: "/icons/nostr-icon.svg",
|
|
1996
|
+
alt,
|
|
1997
|
+
className: cn("object-contain", className)
|
|
1998
|
+
}
|
|
1999
|
+
);
|
|
2000
|
+
}
|
|
1988
2001
|
function RgbNetworkIcon({ className = "size-3.5", alt = "RGB" }) {
|
|
1989
2002
|
return /* @__PURE__ */ jsx24("img", { src: protocolIcons["RGB20"], alt, className: cn("object-contain", className) });
|
|
1990
2003
|
}
|
|
@@ -2176,7 +2189,7 @@ function BottomNav({
|
|
|
2176
2189
|
"nav",
|
|
2177
2190
|
{
|
|
2178
2191
|
className: cn(
|
|
2179
|
-
"w-[90%] max-w-[
|
|
2192
|
+
"w-[90%] max-w-[21.25rem] rounded-full bg-card/60 shadow-lg backdrop-blur-xl",
|
|
2180
2193
|
position === "fixed" ? "fixed bottom-6 left-1/2 z-[var(--z-nav)] -translate-x-1/2" : "relative",
|
|
2181
2194
|
className
|
|
2182
2195
|
),
|
|
@@ -2189,7 +2202,7 @@ function BottomNav({
|
|
|
2189
2202
|
onClick: () => onChange(id),
|
|
2190
2203
|
"data-testid": testId ?? `bottom-nav-${id}`,
|
|
2191
2204
|
className: cn(
|
|
2192
|
-
"relative flex h-[
|
|
2205
|
+
"relative flex h-[3.25rem] w-[4rem] flex-col items-center justify-center rounded-full transition-all duration-300",
|
|
2193
2206
|
isActive ? "bg-white/10 text-primary" : "text-muted-foreground hover:text-white/75 active:scale-95"
|
|
2194
2207
|
),
|
|
2195
2208
|
children: [
|
|
@@ -2679,7 +2692,10 @@ import { Fragment as Fragment4, jsx as jsx33, jsxs as jsxs20 } from "react/jsx-r
|
|
|
2679
2692
|
var SUPPORTED_ACCOUNT_NETWORKS = {
|
|
2680
2693
|
RGB: ["regtest", "testnet", "signet"],
|
|
2681
2694
|
SPARK: ["regtest", "mainnet"],
|
|
2682
|
-
ARKADE: ["signet", "mainnet"]
|
|
2695
|
+
ARKADE: ["signet", "mainnet"],
|
|
2696
|
+
// Nostr is network-agnostic; mainnet is the placeholder consumers pass
|
|
2697
|
+
// (the network chip is typically hidden for NOSTR rows anyway).
|
|
2698
|
+
NOSTR: ["mainnet"]
|
|
2683
2699
|
};
|
|
2684
2700
|
function getAccountNetworkLabel(network) {
|
|
2685
2701
|
switch (network) {
|
|
@@ -2722,6 +2738,9 @@ function AccountHeaderIcons({ accountId }) {
|
|
|
2722
2738
|
if (accountId === "SPARK") {
|
|
2723
2739
|
return /* @__PURE__ */ jsx33("span", { className: "flex size-10 items-center justify-center rounded-full bg-info/10 shadow-inner", children: /* @__PURE__ */ jsx33("img", { src: "/icons/spark/Asterisk/Spark Asterisk White.svg", alt: "Spark", className: "size-5 object-contain" }) });
|
|
2724
2740
|
}
|
|
2741
|
+
if (accountId === "NOSTR") {
|
|
2742
|
+
return /* @__PURE__ */ jsx33("span", { className: "flex size-10 items-center justify-center rounded-full bg-network-arkade/10 shadow-inner", children: /* @__PURE__ */ jsx33(NostrNetworkIcon, { className: "size-5" }) });
|
|
2743
|
+
}
|
|
2725
2744
|
return /* @__PURE__ */ jsx33("span", { className: "flex size-10 items-center justify-center rounded-full bg-network-arkade/10 shadow-inner", children: /* @__PURE__ */ jsx33("img", { src: "/icons/arkade/arkade-icon.svg", alt: "Arkade", className: "size-5 rounded-sm object-contain" }) });
|
|
2726
2745
|
}
|
|
2727
2746
|
function getAccountStatusUi(status) {
|
|
@@ -2951,7 +2970,8 @@ function ExpandIcon({ expanded }) {
|
|
|
2951
2970
|
var ACCOUNT_ACCENT_BG = {
|
|
2952
2971
|
RGB: "bg-gradient-to-br from-primary/[0.06] via-card to-primary/[0.10]",
|
|
2953
2972
|
SPARK: "bg-gradient-to-br from-info/[0.06] via-card to-info/[0.10]",
|
|
2954
|
-
ARKADE: "bg-gradient-to-br from-network-arkade/[0.06] via-card to-network-arkade/[0.10]"
|
|
2973
|
+
ARKADE: "bg-gradient-to-br from-network-arkade/[0.06] via-card to-network-arkade/[0.10]",
|
|
2974
|
+
NOSTR: "bg-gradient-to-br from-network-arkade/[0.06] via-card to-network-arkade/[0.10]"
|
|
2955
2975
|
};
|
|
2956
2976
|
function AccountSettingsRow({
|
|
2957
2977
|
accountId,
|
|
@@ -8795,6 +8815,7 @@ export {
|
|
|
8795
8815
|
NetworkBadge,
|
|
8796
8816
|
NetworkInfoDisclosure,
|
|
8797
8817
|
NetworkStatusChip,
|
|
8818
|
+
NostrNetworkIcon,
|
|
8798
8819
|
NumberInput,
|
|
8799
8820
|
OptionSelector,
|
|
8800
8821
|
PageHeader,
|
package/package.json
CHANGED