Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
add support for outputs in bootstrap
Abi Raja397fa0630f43
diff --git a/backend/main.py b/backend/main.pyindex e6447601..fc41cfd6 100644--- a/backend/main.py+++ b/backend/main.py@@ -69,6 +69,12 @@ async def stream_code(websocket: WebSocket):print("Received params")+ # Read the output settings from the request. Fall back to default if not provided.+ output_settings = {"css": "tailwind"}+ if params["outputSettings"] and params["outputSettings"]["css"]:+ output_settings["css"] = params["outputSettings"]["css"]+ print("Using output settings:", output_settings)+# Get the OpenAI API key from the request. Fall back to environment variable if not provided.# If neither is provided, we throw an error.if params["openAiApiKey"]:@@ -102,9 +108,11 @@ async def stream_code(websocket: WebSocket):await websocket.send_json({"type": "chunk", "value": content})if params.get("resultImage") and params["resultImage"]:- prompt_messages = assemble_prompt(params["image"], params["resultImage"])+ prompt_messages = assemble_prompt(+ params["image"], output_settings, params["resultImage"]+ )else:- prompt_messages = assemble_prompt(params["image"])+ prompt_messages = assemble_prompt(params["image"], output_settings)# Image cache for updates so that we don't have to regenerate imagesimage_cache = {}diff --git a/backend/prompts.py b/backend/prompts.pyindex 1ba254d6..7a4b4264 100644--- a/backend/prompts.py+++ b/backend/prompts.py@@ -1,4 +1,4 @@-SYSTEM_PROMPT = """+TAILWIND_SYSTEM_PROMPT = """You are an expert Tailwind developerYou take screenshots of a reference web page from the user, and then build single page appsusing Tailwind, HTML and JS.@@ -23,12 +23,43 @@ Return only the full code in <html></html> tags.Do not include markdown "```" or "```html" at the start or end."""+BOOTSTRAP_SYSTEM_PROMPT = """+You are an expert Bootstrap developer+You take screenshots of a reference web page from the user, and then build single page apps+using Bootstrap, HTML and JS.+You might also be given a screenshot(The second image) of a web page that you have already built, and asked to+update it to look more like the reference image(The first image).++- Make sure the app looks exactly like the screenshot.+- Pay close attention to background color, text color, font size, font family,+padding, margin, border, etc. Match the colors and sizes exactly.+- Use the exact text from the screenshot.+- Do not add comments in the code such as "<!-- Add other navigation links as needed -->" and "<!-- ... other news items ... -->" in place of writing the full code. WRITE THE FULL CODE.+- Repeat elements as needed to match the screenshot. For example, if there are 15 items, the code should have 15 items. DO NOT LEAVE comments like "<!-- Repeat for each news item -->" or bad things will happen.+- For images, use placeholder images from https://placehold.co and include a detailed description of the image in the alt text so that an image generation AI can generate the image later.++In terms of libraries,++- Use this script to include Bootstrap: <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">+- You can use Google Fonts+- Font Awesome for icons: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"></link>++Return only the full code in <html></html> tags.+Do not include markdown "```" or "```html" at the start or end.+"""+USER_PROMPT = """Generate code for a web page that looks exactly like this."""-def assemble_prompt(image_data_url, result_image_data_url=None):- content = [++def assemble_prompt(image_data_url, output_settings: dict, result_image_data_url=None):+ # Set the system prompt based on the output settings+ system_content = TAILWIND_SYSTEM_PROMPT+ if output_settings["css"] == "bootstrap":+ system_content = BOOTSTRAP_SYSTEM_PROMPT++ user_content = [{"type": "image_url","image_url": {"url": image_data_url, "detail": "high"},@@ -38,15 +69,23 @@ def assemble_prompt(image_data_url, result_image_data_url=None):"text": USER_PROMPT,},]++ # Include the result image if it existsif result_image_data_url:- content.insert(1, {- "type": "image_url",- "image_url": {"url": result_image_data_url, "detail": "high"},- })+ user_content.insert(+ 1,+ {+ "type": "image_url",+ "image_url": {"url": result_image_data_url, "detail": "high"},+ },+ )return [- {"role": "system", "content": SYSTEM_PROMPT},+ {+ "role": "system",+ "content": system_content,+ },{"role": "user",- "content": content,+ "content": user_content,},]diff --git a/frontend/package.json b/frontend/package.jsonindex 0fcc84f0..5c6fbb74 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -18,6 +18,7 @@"@radix-ui/react-dialog": "^1.0.5","@radix-ui/react-icons": "^1.3.0","@radix-ui/react-label": "^2.0.2",+ "@radix-ui/react-select": "^2.0.0","@radix-ui/react-separator": "^1.0.3","@radix-ui/react-slot": "^1.0.2","@radix-ui/react-switch": "^1.0.3",diff --git a/frontend/src/App.tsx b/frontend/src/App.tsxindex b34c8bcd..b40d8a9e 100644--- a/frontend/src/App.tsx+++ b/frontend/src/App.tsx@@ -18,7 +18,13 @@ import { Button } from "@/components/ui/button";import { Textarea } from "@/components/ui/textarea";import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs";import SettingsDialog from "./components/SettingsDialog";-import { Settings, EditorTheme, AppState } from "./types";+import {+ Settings,+ EditorTheme,+ AppState,+ CSSOption,+ OutputSettings,+} from "./types";import { IS_RUNNING_ON_CLOUD } from "./config";import { PicoBadge } from "./components/PicoBadge";import { OnboardingNote } from "./components/OnboardingNote";@@ -28,6 +34,7 @@ import TermsOfServiceDialog from "./components/TermsOfServiceDialog";import html2canvas from "html2canvas";import { USER_CLOSE_WEB_SOCKET_CODE } from "./constants";import CodeTab from "./components/CodeTab";+import OutputSettingsSection from "./components/OutputSettingsSection";function App() {const [appState, setAppState] = useState<AppState>(AppState.INITIAL);@@ -46,8 +53,12 @@ function App() {},"setting");+ const [outputSettings, setOutputSettings] = useState<OutputSettings>({+ css: CSSOption.TAILWIND,+ });const [shouldIncludeResultImage, setShouldIncludeResultImage] =useState<boolean>(false);+const wsRef = useRef<WebSocket>(null);const takeScreenshot = async (): Promise<string> => {@@ -99,7 +110,7 @@ function App() {setAppState(AppState.CODING);// Merge settings with params- const updatedParams = { ...params, ...settings };+ const updatedParams = { ...params, ...settings, outputSettings };generateCode(wsRef,@@ -178,6 +189,13 @@ function App() {</h2>)}+ {appState === AppState.INITIAL && (+ <OutputSettingsSection+ outputSettings={outputSettings}+ setOutputSettings={setOutputSettings}+ />+ )}+{IS_RUNNING_ON_CLOUD && !settings.openAiApiKey && <OnboardingNote />}{(appState === AppState.CODING ||diff --git a/frontend/src/components/OutputSettingsSection.tsx b/frontend/src/components/OutputSettingsSection.tsxnew file mode 100644index 00000000..730a8f26--- /dev/null+++ b/frontend/src/components/OutputSettingsSection.tsx@@ -0,0 +1,63 @@+import {+ Select,+ SelectContent,+ SelectGroup,+ SelectItem,+ SelectTrigger,+} from "./ui/select";+import { CSSOption, OutputSettings } from "../types";++function displayCSSOption(option: CSSOption) {+ switch (option) {+ case CSSOption.TAILWIND:+ return "Tailwind";+ case CSSOption.BOOTSTRAP:+ return "Bootstrap";+ default:+ return option;+ }+}++function convertStringToCSSOption(option: string) {+ switch (option) {+ case "tailwind":+ return CSSOption.TAILWIND;+ case "bootstrap":+ return CSSOption.BOOTSTRAP;+ default:+ throw new Error(`Unknown CSS option: ${option}`);+ }+}++interface Props {+ outputSettings: OutputSettings;+ setOutputSettings: (outputSettings: OutputSettings) => void;+}++function OutputSettingsSection({ outputSettings, setOutputSettings }: Props) {+ return (+ <div className="flex justify-between items-center">+ <span className="text-sm">CSS</span>+ <Select+ value={outputSettings.css}+ onValueChange={(value) =>+ setOutputSettings({+ css: convertStringToCSSOption(value),+ })+ }+ >+ <SelectTrigger className="w-[180px]">+ {displayCSSOption(outputSettings.css)}+ </SelectTrigger>+ <SelectContent>+ <SelectGroup>+ <SelectItem value={CSSOption.TAILWIND}>Tailwind</SelectItem>+ <SelectItem value={CSSOption.BOOTSTRAP}>Bootstrap</SelectItem>+ </SelectGroup>+ </SelectContent>+ </Select>+ </div>+ );+}++export default OutputSettingsSection;diff --git a/frontend/src/components/SettingsDialog.tsx b/frontend/src/components/SettingsDialog.tsxindex 397ce020..bddd4446 100644--- a/frontend/src/components/SettingsDialog.tsx+++ b/frontend/src/components/SettingsDialog.tsx@@ -13,7 +13,7 @@ import { EditorTheme, Settings } from "../types";import { Switch } from "./ui/switch";import { Label } from "./ui/label";import { Input } from "./ui/input";-import { Select } from "./ui/select";+import { Select, SelectContent, SelectItem, SelectTrigger } from "./ui/select";interface Props {settings: Settings;@@ -110,14 +110,17 @@ function SettingsDialog({ settings, setSettings }: Props) {</Label><div><Select // Use the custom Select component here- id="editor-theme"+ name="editor-theme"value={settings.editorTheme}- onChange={(e: React.ChangeEvent<HTMLSelectElement>) =>- handleThemeChange(e.target.value as EditorTheme)- }+ onValueChange={(value) => handleThemeChange(value as EditorTheme)}>- <option value="cobalt">Cobalt</option>- <option value="espresso">Espresso</option>+ <SelectTrigger className="w-[180px]">+ {settings.editorTheme}+ </SelectTrigger>+ <SelectContent>+ <SelectItem value="cobalt">Cobalt</SelectItem>+ <SelectItem value="espresso">Espresso</SelectItem>+ </SelectContent></Select></div></div>diff --git a/frontend/src/components/ui/select.tsx b/frontend/src/components/ui/select.tsxindex 6d4d9433..cdfb8ce2 100644--- a/frontend/src/components/ui/select.tsx+++ b/frontend/src/components/ui/select.tsx@@ -1,24 +1,162 @@-import * as React from "react";-import { cn } from "@/lib/utils";+import * as React from "react"+import {+ CaretSortIcon,+ CheckIcon,+ ChevronDownIcon,+ ChevronUpIcon,+} from "@radix-ui/react-icons"+import * as SelectPrimitive from "@radix-ui/react-select"-export interface SelectProps- extends React.SelectHTMLAttributes<HTMLSelectElement> {}+import { cn } from "@/lib/utils"-const Select = React.forwardRef<HTMLSelectElement, SelectProps>(- ({ className, ...props }, ref) => {- return (- <select+const Select = SelectPrimitive.Root++const SelectGroup = SelectPrimitive.Group++const SelectValue = SelectPrimitive.Value++const SelectTrigger = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.Trigger>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>+>(({ className, children, ...props }, ref) => (+ <SelectPrimitive.Trigger+ ref={ref}+ className={cn(+ "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",+ className+ )}+ {...props}+ >+ {children}+ <SelectPrimitive.Icon asChild>+ <CaretSortIcon className="h-4 w-4 opacity-50" />+ </SelectPrimitive.Icon>+ </SelectPrimitive.Trigger>+))+SelectTrigger.displayName = SelectPrimitive.Trigger.displayName++const SelectScrollUpButton = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.ScrollUpButton>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>+>(({ className, ...props }, ref) => (+ <SelectPrimitive.ScrollUpButton+ ref={ref}+ className={cn(+ "flex cursor-default items-center justify-center py-1",+ className+ )}+ {...props}+ >+ <ChevronUpIcon />+ </SelectPrimitive.ScrollUpButton>+))+SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName++const SelectScrollDownButton = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.ScrollDownButton>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>+>(({ className, ...props }, ref) => (+ <SelectPrimitive.ScrollDownButton+ ref={ref}+ className={cn(+ "flex cursor-default items-center justify-center py-1",+ className+ )}+ {...props}+ >+ <ChevronDownIcon />+ </SelectPrimitive.ScrollDownButton>+))+SelectScrollDownButton.displayName =+ SelectPrimitive.ScrollDownButton.displayName++const SelectContent = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.Content>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>+>(({ className, children, position = "popper", ...props }, ref) => (+ <SelectPrimitive.Portal>+ <SelectPrimitive.Content+ ref={ref}+ className={cn(+ "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",+ position === "popper" &&+ "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",+ className+ )}+ position={position}+ {...props}+ >+ <SelectScrollUpButton />+ <SelectPrimitive.ViewportclassName={cn(- "block appearance-none w-full text-sm shadow-sm rounded-md border border-input bg-white py-2 px-3 focus:outline-none focus:border-black",- className+ "p-1",+ position === "popper" &&+ "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]")}- ref={ref}- {...props}- />- );- }-);+ >+ {children}+ </SelectPrimitive.Viewport>+ <SelectScrollDownButton />+ </SelectPrimitive.Content>+ </SelectPrimitive.Portal>+))+SelectContent.displayName = SelectPrimitive.Content.displayName++const SelectLabel = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.Label>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>+>(({ className, ...props }, ref) => (+ <SelectPrimitive.Label+ ref={ref}+ className={cn("px-2 py-1.5 text-sm font-semibold", className)}+ {...props}+ />+))+SelectLabel.displayName = SelectPrimitive.Label.displayName++const SelectItem = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.Item>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>+>(({ className, children, ...props }, ref) => (+ <SelectPrimitive.Item+ ref={ref}+ className={cn(+ "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",+ className+ )}+ {...props}+ >+ <span className="absolute right-2 flex h-3.5 w-3.5 items-center justify-center">+ <SelectPrimitive.ItemIndicator>+ <CheckIcon className="h-4 w-4" />+ </SelectPrimitive.ItemIndicator>+ </span>+ <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>+ </SelectPrimitive.Item>+))+SelectItem.displayName = SelectPrimitive.Item.displayName-Select.displayName = "Select";+const SelectSeparator = React.forwardRef<+ React.ElementRef<typeof SelectPrimitive.Separator>,+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>+>(({ className, ...props }, ref) => (+ <SelectPrimitive.Separator+ ref={ref}+ className={cn("-mx-1 my-1 h-px bg-muted", className)}+ {...props}+ />+))+SelectSeparator.displayName = SelectPrimitive.Separator.displayName-export { Select };+export {+ Select,+ SelectGroup,+ SelectValue,+ SelectTrigger,+ SelectContent,+ SelectLabel,+ SelectItem,+ SelectSeparator,+ SelectScrollUpButton,+ SelectScrollDownButton,+}diff --git a/frontend/src/types.ts b/frontend/src/types.tsindex d2ea6961..9c30d0b5 100644--- a/frontend/src/types.ts+++ b/frontend/src/types.ts@@ -3,6 +3,15 @@ export enum EditorTheme {COBALT = "cobalt",}+export enum CSSOption {+ TAILWIND = "tailwind",+ BOOTSTRAP = "bootstrap",+}++export interface OutputSettings {+ css: CSSOption;+}+export interface Settings {openAiApiKey: string | null;screenshotOneApiKey: string | null;diff --git a/frontend/yarn.lock b/frontend/yarn.lockindex 6848ad28..0492c28f 100644--- a/frontend/yarn.lock+++ b/frontend/yarn.lock@@ -470,6 +470,33 @@resolved "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz"integrity sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==+"@floating-ui/core@^1.4.2":+ version "1.5.0"+ resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.5.0.tgz#5c05c60d5ae2d05101c3021c1a2a350ddc027f8c"+ integrity sha512-kK1h4m36DQ0UHGj5Ah4db7R0rHemTqqO0QLvUqi1/mUUp3LuAWbWxdxSIf/XsnH9VS6rRVPLJCncjRzUvyCLXg==+ dependencies:+ "@floating-ui/utils" "^0.1.3"++"@floating-ui/dom@^1.5.1":+ version "1.5.3"+ resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.3.tgz#54e50efcb432c06c23cd33de2b575102005436fa"+ integrity sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==+ dependencies:+ "@floating-ui/core" "^1.4.2"+ "@floating-ui/utils" "^0.1.3"++"@floating-ui/react-dom@^2.0.0":+ version "2.0.4"+ resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.4.tgz#b076fafbdfeb881e1d86ae748b7ff95150e9f3ec"+ integrity sha512-CF8k2rgKeh/49UrnIBs4BdxPUV6vize/Db1d/YbCLyp9GiVZ0BEwf5AiDSxJRCr6yOkGqTFHtmrULxkEfYZ7dQ==+ dependencies:+ "@floating-ui/dom" "^1.5.1"++"@floating-ui/utils@^0.1.3":+ version "0.1.6"+ resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.6.tgz#22958c042e10b67463997bd6ea7115fe28cbcaf9"+ integrity sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==+"@humanwhocodes/config-array@^0.11.13":version "0.11.13"resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz"@@ -594,6 +621,13 @@"@nodelib/fs.scandir" "2.1.5"fastq "^1.6.0"+"@radix-ui/[email protected]":+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/@radix-ui/number/-/number-1.0.1.tgz#644161a3557f46ed38a042acf4a770e826021674"+ integrity sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==+ dependencies:+ "@babel/runtime" "^7.13.10"+"@radix-ui/[email protected]":version "1.0.1"resolved "https://registry.yarnpkg.com/@radix-ui/primitive/-/primitive-1.0.1.tgz#e46f9958b35d10e9f6dc71c497305c22e3e55dbd"@@ -614,6 +648,14 @@"@radix-ui/react-primitive" "1.0.3""@radix-ui/react-slot" "1.0.2"+"@radix-ui/[email protected]":+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/@radix-ui/react-arrow/-/react-arrow-1.0.3.tgz#c24f7968996ed934d57fe6cde5d6ec7266e1d25d"+ integrity sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==+ dependencies:+ "@babel/runtime" "^7.13.10"+ "@radix-ui/react-primitive" "1.0.3"+"@radix-ui/react-checkbox@^1.0.4":version "1.0.4"resolved "https://registry.yarnpkg.com/@radix-ui/react-checkbox/-/react-checkbox-1.0.4.tgz#98f22c38d5010dd6df4c5744cac74087e3275f4b"@@ -732,6 +774,23 @@"@babel/runtime" "^7.13.10""@radix-ui/react-primitive" "1.0.3"+"@radix-ui/[email protected]":+ version "1.1.3"+ resolved "https://registry.yarnpkg.com/@radix-ui/react-popper/-/react-popper-1.1.3.tgz#24c03f527e7ac348fabf18c89795d85d21b00b42"+ integrity sha512-cKpopj/5RHZWjrbF2846jBNacjQVwkP068DfmgrNJXpvVWrOvlAmE9xSiy5OqeE+Gi8D9fP+oDhUnPqNMY8/5w==+ dependencies:+ "@babel/runtime" "^7.13.10"+ "@floating-ui/react-dom" "^2.0.0"+ "@radix-ui/react-arrow" "1.0.3"+ "@radix-ui/react-compose-refs" "1.0.1"+ "@radix-ui/react-context" "1.0.1"+ "@radix-ui/react-primitive" "1.0.3"+ "@radix-ui/react-use-callback-ref" "1.0.1"+ "@radix-ui/react-use-layout-effect" "1.0.1"+ "@radix-ui/react-use-rect" "1.0.1"+ "@radix-ui/react-use-size" "1.0.1"+ "@radix-ui/rect" "1.0.1"+"@radix-ui/[email protected]":version "1.0.4"resolved "https://registry.yarnpkg.com/@radix-ui/react-portal/-/react-portal-1.0.4.tgz#df4bfd353db3b1e84e639e9c63a5f2565fb00e15"@@ -773,6 +832,34 @@"@radix-ui/react-use-callback-ref" "1.0.1""@radix-ui/react-use-controllable-state" "1.0.1"+"@radix-ui/react-select@^2.0.0":+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/@radix-ui/react-select/-/react-select-2.0.0.tgz#a3511792a51a7018d6559357323a7f52e0e38887"+ integrity sha512-RH5b7af4oHtkcHS7pG6Sgv5rk5Wxa7XI8W5gvB1N/yiuDGZxko1ynvOiVhFM7Cis2A8zxF9bTOUVbRDzPepe6w==+ dependencies:+ "@babel/runtime" "^7.13.10"+ "@radix-ui/number" "1.0.1"+ "@radix-ui/primitive" "1.0.1"+ "@radix-ui/react-collection" "1.0.3"+ "@radix-ui/react-compose-refs" "1.0.1"+ "@radix-ui/react-context" "1.0.1"+ "@radix-ui/react-direction" "1.0.1"+ "@radix-ui/react-dismissable-layer" "1.0.5"+ "@radix-ui/react-focus-guards" "1.0.1"+ "@radix-ui/react-focus-scope" "1.0.4"+ "@radix-ui/react-id" "1.0.1"+ "@radix-ui/react-popper" "1.1.3"+ "@radix-ui/react-portal" "1.0.4"+ "@radix-ui/react-primitive" "1.0.3"+ "@radix-ui/react-slot" "1.0.2"+ "@radix-ui/react-use-callback-ref" "1.0.1"+ "@radix-ui/react-use-controllable-state" "1.0.1"+ "@radix-ui/react-use-layout-effect" "1.0.1"+ "@radix-ui/react-use-previous" "1.0.1"+ "@radix-ui/react-visually-hidden" "1.0.3"+ aria-hidden "^1.1.1"+ react-remove-scroll "2.5.5"+"@radix-ui/react-separator@^1.0.3":version "1.0.3"resolved "https://registry.yarnpkg.com/@radix-ui/react-separator/-/react-separator-1.0.3.tgz#be5a931a543d5726336b112f465f58585c04c8aa"@@ -855,6 +942,14 @@dependencies:"@babel/runtime" "^7.13.10"+"@radix-ui/[email protected]":+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/@radix-ui/react-use-rect/-/react-use-rect-1.0.1.tgz#fde50b3bb9fd08f4a1cd204572e5943c244fcec2"+ integrity sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==+ dependencies:+ "@babel/runtime" "^7.13.10"+ "@radix-ui/rect" "1.0.1"+"@radix-ui/[email protected]":version "1.0.1"resolved "https://registry.yarnpkg.com/@radix-ui/react-use-size/-/react-use-size-1.0.1.tgz#1c5f5fea940a7d7ade77694bb98116fb49f870b2"@@ -863,6 +958,21 @@"@babel/runtime" "^7.13.10""@radix-ui/react-use-layout-effect" "1.0.1"+"@radix-ui/[email protected]":+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.0.3.tgz#51aed9dd0fe5abcad7dee2a234ad36106a6984ac"+ integrity sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA==+ dependencies:+ "@babel/runtime" "^7.13.10"+ "@radix-ui/react-primitive" "1.0.3"++"@radix-ui/[email protected]":+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/@radix-ui/rect/-/rect-1.0.1.tgz#bf8e7d947671996da2e30f4904ece343bc4a883f"+ integrity sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==+ dependencies:+ "@babel/runtime" "^7.13.10"+"@rollup/pluginutils@^4.2.0":version "4.2.1"resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz#e6c6c3aba0744edce3fb2074922d3776c0af2a6d"