Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 4 additions & 6 deletions apps/tangle-cloud/src/components/sandbox/SandboxUi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ import {
type ReactNode,
} from 'react';

// Re-export the canonical tangle-cloud Text from the dedicated module so we
// preserve the existing import surface (`import { Text } from '...sandbox/SandboxUi'`)
// while routing through a single Text implementation that consumes
// @tangle-network/brand 0.3 tokens.
// Re-export the canonical tangle-cloud Text from the dedicated module.
export { Text } from '../Text';
export type { TextProps, TextVariant } from '../Text';

Expand Down Expand Up @@ -397,8 +394,9 @@ export const Chip: FC<{
className?: string;
children: ReactNode;
}> = ({ color, className, children }) => {
const variant =
(color && CHIP_COLOR_TO_VARIANT[color.toLowerCase()]) ?? 'outline';
const variant = color
? (CHIP_COLOR_TO_VARIANT[color.toLowerCase()] ?? 'outline')
: 'outline';

return (
<Badge variant={variant} className={className}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const FundCreditsContainer: FC = () => {
value={label}
onChange={setLabel}
isControlled
isDisabled={isGenerating || !isUnlocked}
disabled={isGenerating || !isUnlocked}
/>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const AssetCommitmentFormItem: FC<AssetCommitmentFormItemProps> = ({
isControlled
value={assetId ?? ''}
className="hidden"
isDisabled
disabled
/>
<div className="flex items-center gap-2">
<LsTokenIcon
Expand Down
2 changes: 1 addition & 1 deletion apps/tangle-cloud/src/pages/instances/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const Page = () => {
}
action={
!isConnected ? (
<div className="flex gap-2">
<div className="grid w-full grid-cols-2 gap-2 sm:flex sm:w-auto">
<Button
variant="secondary"
size="sm"
Expand Down
65 changes: 0 additions & 65 deletions apps/tangle-cloud/src/types/sandbox-ui-primitives.d.ts

This file was deleted.

1 change: 1 addition & 0 deletions apps/tangle-cloud/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"allowJs": false,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"moduleResolution": "bundler",
"strict": true,
"types": ["vite/client", "vitest"]
},
Expand Down
16 changes: 0 additions & 16 deletions libs/tangle-shared-ui/src/types/sandbox-ui-primitives.d.ts

This file was deleted.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,11 @@
"@radix-ui/react-tooltip": "^1.2.10",
"@solana/wallet-adapter-react": "^0.15.39",
"@solana/web3.js": "^1.98.4",
"@tangle-network/agent-interface": "0.36.0",
"@tangle-network/blueprint-ui": "^0.1.2",
"@tangle-network/brand": "^0.3.0",
"@tangle-network/sandbox-ui": "^0.15.3",
"@tangle-network/ui": "^1.0.1",
"@tangle-network/brand": "1.1.0",
"@tangle-network/sandbox-ui": "0.90.3",
"@tangle-network/ui": "11.2.1",
"@tanstack/react-query": "^5.101.0",
"@walletconnect/ethereum-provider": "^2.23.9",
"blo": "^2.0.0",
Expand Down
51 changes: 0 additions & 51 deletions types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,54 +12,3 @@ declare module '*.svg?url' {
const content: string;
export default content;
}

declare module '@tangle-network/sandbox-ui/primitives' {
export {
Avatar,
AvatarFallback,
Badge,
Button,
type ButtonProps,
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
Dialog,
DialogClose,
DialogContent,
DialogDescription,
DialogFooter,
DialogHeader,
DialogTitle,
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuLabel,
DropdownMenuSeparator,
DropdownMenuTrigger,
Input,
type InputProps,
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
Skeleton,
Table,
TableBody,
TableCell,
TableHead,
TableHeader,
TableRow,
Tabs,
TabsContent,
TabsList,
TabsTrigger,
TangleKnot,
Textarea,
type TextareaProps,
ToastProvider,
} from '@tangle-network/sandbox-ui';
}
3 changes: 0 additions & 3 deletions types/sandbox-ui-dashboard.d.ts

This file was deleted.

Loading
Loading