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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useMemo } from "react";
import { CopyTextButton } from "@/components/ui/CopyTextButton";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";

export function UnexpectedValueErrorMessage(props: {
value: unknown;
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/@/components/blocks/multi-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
PopoverContent,
PopoverTrigger,
} from "@/components/ui/popover";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { Separator } from "@/components/ui/separator";
import { useShowMore } from "@/hooks/useShowMore";
import { cn } from "@/lib/utils";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
PopoverContent,
PopoverTrigger,
} from "@/components/ui/popover";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { useShowMore } from "@/hooks/useShowMore";
import { cn } from "@/lib/utils";

Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/@/components/chat/CustomChats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
DialogHeader,
DialogTitle,
} from "@/components/ui/dialog";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { cn } from "@/lib/utils";
import { ThirdwebMiniLogo } from "../../../app/(app)/components/ThirdwebMiniLogo";
import { SupportTicketForm } from "../../../app/(app)/team/[team_slug]/(team)/~/support/_components/SupportTicketForm";
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/@/components/cmd-k-search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
DialogTitle,
} from "@/components/ui/dialog";
import { Input } from "@/components/ui/input";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { Spinner } from "@/components/ui/Spinner/Spinner";
import { ChainIconClient } from "@/icons/ChainIcon";
import { useDashboardRouter } from "@/lib/DashboardRouter";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { useAllChainsData } from "@/hooks/chains/allChains";
import { ChainIconClient } from "@/icons/ChainIcon";
import { useStore } from "@/lib/reactive";
Expand Down
3 changes: 3 additions & 0 deletions apps/dashboard/src/@/components/ui/ScrollShadow.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"use client";

export { ScrollShadow } from "@workspace/ui/components/scroll-shadow";

This file was deleted.

151 changes: 0 additions & 151 deletions apps/dashboard/src/@/components/ui/ScrollShadow/ScrollShadow.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { CheckIcon, CopyIcon } from "lucide-react";
import { Button } from "@/components/ui/button";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { useClipboard } from "@/hooks/useClipboard";
import { cn } from "@/lib/utils";

Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/@/components/ui/table.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from "react";

import { cn } from "@/lib/utils";
import { ScrollShadow } from "./ScrollShadow/ScrollShadow";
import { ScrollShadow } from "./ScrollShadow";

const Table = React.forwardRef<
HTMLTableElement,
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/@/components/ui/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useCallback, useRef, useState } from "react";
import { useIsomorphicLayoutEffect } from "@/lib/useIsomorphicLayoutEffect";
import { cn } from "@/lib/utils";
import { Button } from "./button";
import { ScrollShadow } from "./ScrollShadow/ScrollShadow";
import { ScrollShadow } from "./ScrollShadow";
import { ToolTipLabel } from "./tooltip";

export type TabLink = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { Button } from "@/components/ui/button";
import { CopyTextButton } from "@/components/ui/CopyTextButton";
import { CodeClient } from "@/components/ui/code/code.client";
import { Label } from "@/components/ui/label";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { Spinner } from "@/components/ui/Spinner/Spinner";
import {
Select,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { CircleSlashIcon } from "lucide-react";
import type { ThirdwebContract } from "thirdweb/contract";
import type { Account } from "thirdweb/wallets";
import { Alert, AlertTitle } from "@/components/ui/alert";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { ModuleCard } from "./module-card";
import { useAllModuleContractInfo } from "./moduleContractInfo";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
DialogHeader,
DialogTitle,
} from "@/components/ui/dialog";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { Skeleton, SkeletonContainer } from "@/components/ui/skeleton";
import { TabButtons } from "@/components/ui/tabs";
import { resolveSchemeWithErrorHandler } from "@/utils/resolveSchemeWithErrorHandler";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useMemo } from "react";
import type { ThirdwebClient } from "thirdweb";
import { ExportToCSVButton } from "@/components/blocks/ExportToCSVButton";
import { WalletAddress } from "@/components/blocks/wallet-address";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { SkeletonContainer } from "@/components/ui/skeleton";
import type { UniversalBridgeWalletStats } from "@/types/analytics";
import { toUSD } from "@/utils/number";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from "@/api/universal-bridge/developer";
import { ExportToCSVButton } from "@/components/blocks/ExportToCSVButton";
import { PaginationButtons } from "@/components/blocks/pagination-buttons";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { Skeleton } from "@/components/ui/skeleton";
import { TableData, TableHeading, TableHeadingRow } from "./common";
import { formatTokenAmount } from "./format";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { Project } from "@/api/project/projects";
import type { Team } from "@/api/team/get-team";
import { ProjectAvatar } from "@/components/blocks/avatar/project-avatar";
import { Button } from "@/components/ui/button";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { Separator } from "@/components/ui/separator";
import { cn } from "@/lib/utils";
import { SearchInput } from "./SearchInput";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { Team } from "@/api/team/get-team";
import { GradientAvatar } from "@/components/blocks/avatar/gradient-avatar";
import { TeamPlanBadge } from "@/components/blocks/TeamPlanBadge";
import { Button } from "@/components/ui/button";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { Separator } from "@/components/ui/separator";
import type { Account } from "@/hooks/useApi";
import { cn } from "@/lib/utils";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { Form, FormField, FormItem, FormMessage } from "@/components/ui/form";
import { Input } from "@/components/ui/input";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { Spinner } from "@/components/ui/Spinner/Spinner";
import {
Select,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { SearchIcon, SectionIcon } from "lucide-react";
import { useState } from "react";
import { darkTheme, lightTheme, type Theme } from "thirdweb/react";
import { Input } from "@/components/ui/input";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { ColorInput } from "./ColorInput";
import type { ConnectPlaygroundOptions } from "./types";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Button } from "@/components/ui/button";
import { Img } from "@/components/ui/Img";
import { Input } from "@/components/ui/input";
import { LoadingDots } from "@/components/ui/LoadingDots";
import { ScrollShadow } from "@/components/ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "@/components/ui/ScrollShadow";
import { Separator } from "@/components/ui/separator";
import { cn } from "@/lib/utils";
import type { ConnectPlaygroundOptions } from "./types";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { Separator } from "@/components/ui/separator";
import { cn } from "@/lib/utils";
import { useShowMore } from "../../lib/useShowMore";
import { Input } from "../ui/input";
import { ScrollShadow } from "../ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "../ui/ScrollShadow";

interface MultiSelectProps
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
Expand Down
2 changes: 1 addition & 1 deletion apps/playground-web/src/components/code/RenderCode.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { cn } from "../../lib/utils";
import { CopyButton } from "../ui/CopyButton";
import { ScrollShadow } from "../ui/ScrollShadow/ScrollShadow";
import { ScrollShadow } from "../ui/ScrollShadow";

export function RenderCode(props: {
code: string;
Expand Down
3 changes: 3 additions & 0 deletions apps/playground-web/src/components/ui/ScrollShadow.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"use client";

export { ScrollShadow } from "@workspace/ui/components/scroll-shadow";
Loading
Loading