Skip to content

Commit

Permalink
Merge pull request #13725 from TylerAPfledderer/feat/select-shadcn
Browse files Browse the repository at this point in the history
[ShadCN] Migrate Select
  • Loading branch information
pettinarip authored Sep 11, 2024
2 parents 1d4e2cc + a85d9fa commit 70c1d2c
Show file tree
Hide file tree
Showing 12 changed files with 280 additions and 368 deletions.
135 changes: 0 additions & 135 deletions src/@chakra-ui/components/ReactSelect.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/@chakra-ui/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { Modal } from "./Modal"
import { Popover } from "./Popover"
import { Progress } from "./Progress"
import { Radio } from "./Radio"
import { ReactSelect } from "./ReactSelect"
import { Switch } from "./Switch"
import { Table } from "./Table"
import { Tabs } from "./Tabs"
Expand Down Expand Up @@ -52,7 +51,6 @@ export default {
Popover,
Progress,
Radio,
ReactSelect,
Spinner: spinnerDefaultTheme,
Switch,
Table,
Expand Down
2 changes: 1 addition & 1 deletion src/components/CentralizedExchanges/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Emoji from "@/components/Emoji"
import InlineLink from "@/components/Link"
import OldHeading from "@/components/OldHeading"
import Text from "@/components/OldText"
import Select from "@/components/Select"
import Select from "@/components/ui/Select"

import { getLocaleTimestamp } from "@/lib/utils/time"

Expand Down
2 changes: 1 addition & 1 deletion src/components/FindWallet/LanguageSupportFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
Text,
} from "@chakra-ui/react"

import Select from "@/components/Select"
import Select from "@/components/ui/Select"

import { getLanguageCodeName } from "@/lib/utils/intl"
import { trackCustomEvent } from "@/lib/utils/matomo"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Layer2/Layer2Onboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { ButtonLink } from "../Buttons"
import InlineLink from "../Link"
import OldHeading from "../OldHeading"
import Text from "../OldText"
import Select, { SelectOnChange } from "../Select"
import Select, { SelectOnChange } from "../ui/Select"

const Flex50 = (props: ChildOnlyProp) => (
<Box flex={{ base: "100%", md: "50%" }} {...props} />
Expand Down
13 changes: 0 additions & 13 deletions src/components/Select/context.ts

This file was deleted.

194 changes: 0 additions & 194 deletions src/components/Select/innerComponents.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Staking/StakingLaunchpadWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Translation from "@/components/Translation"

import { trackCustomEvent } from "@/lib/utils/matomo"

import Select, { type SelectOnChange } from "../Select"
import Select, { type SelectOnChange } from "../ui/Select"

type StakingDataOption = { label: string; value: string }

Expand Down
Loading

0 comments on commit 70c1d2c

Please sign in to comment.