diff --git a/eval/evals/110-flight-booking-reshaped/components.json b/eval/evals/110-flight-booking-reshaped/components.json index c3b408c5..0d5e0253 100644 --- a/eval/evals/110-flight-booking-reshaped/components.json +++ b/eval/evals/110-flight-booking-reshaped/components.json @@ -39,13 +39,13 @@ "snippet": "const className = () => (\n
\n \n \n \n
\n);" } ], - "import": "import ActionBar from \"components/ActionBar\";\nimport Button from \"components/Button\";\nimport { Example, Placeholder } from \"utilities/storybook\";\nimport View from \"components/View\";", + "import": "import { ActionBar, Button, Example, Placeholder, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "ActionBar", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/ActionBar/ActionBar.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/ActionBar/ActionBar.tsx", "actualName": "ActionBar", "exportName": "default" } @@ -72,13 +72,13 @@ "snippet": "const className = () => (\n
\n \n \n \n
\n);" } ], - "import": "import Alert from \"components/Alert\";\nimport { Example, Placeholder } from \"utilities/storybook\";\nimport Link from \"components/Link\";", + "import": "import { Alert, Example, Link, Placeholder } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Alert", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Alert/Alert.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Alert/Alert.tsx", "actualName": "Alert", "exportName": "default" } @@ -109,13 +109,13 @@ "snippet": "const multiselect = () => {\n const options = [\n \"Pizza\",\n \"Pie\",\n \"Ice-cream\",\n \"Fries\",\n \"Salad\",\n \"Option 4\",\n \"Option 5\",\n \"Option 6\",\n ];\n\n const inputRef = React.useRef(null);\n const [values, setValues] = React.useState([\n \"Option 4\",\n \"Option 5\",\n \"Option 6\",\n \"Pizza\",\n \"Ice-cream\",\n ]);\n const [query, setQuery] = React.useState(\"\");\n\n const handleDismiss = (dismissedValue: string) => {\n const nextValues = values.filter((value) => value !== dismissedValue);\n setValues(nextValues);\n inputRef.current?.focus();\n };\n\n const valuesNode = values.map((value) => (\n handleDismiss(value)} key={value}>\n {value}\n \n ));\n\n return (\n \n Food\n setQuery(args.value)}\n onBackspace={() => {\n if (query.length === 0) {\n setValues((prev) => prev.slice(0, -1));\n }\n }}\n onItemSelect={(args) => {\n setQuery(\"\");\n setValues((prev) => [...prev, args.value]);\n }}\n >\n {options.map((v) => {\n if (!v.toLowerCase().includes(query.toLowerCase())) return;\n if (values.includes(v)) return;\n\n return (\n \n {v}\n \n );\n })}\n \n \n );\n};" } ], - "import": "import Autocomplete from \"components/Autocomplete\";\nimport Badge from \"components/Badge\";\nimport { Example } from \"utilities/storybook\";\nimport FormControl from \"components/FormControl\";", + "import": "import { Autocomplete, Badge, Example, FormControl } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Autocomplete", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Autocomplete/Autocomplete.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Autocomplete/Autocomplete.tsx", "actualName": "Autocomplete", "exportName": "default" } @@ -158,13 +158,13 @@ "snippet": "const className = () => (\n
\n \n
\n);" } ], - "import": "import Avatar from \"components/Avatar\";\nimport { Example } from \"utilities/storybook\";\nimport View from \"components/View\";", + "import": "import { Avatar, Example, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Avatar", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Avatar/Avatar.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Avatar/Avatar.tsx", "actualName": "Avatar", "exportName": "default" } @@ -223,13 +223,13 @@ "snippet": "const className = () => (\n
\n \n
\n);" } ], - "import": "import Avatar from \"components/Avatar\";\nimport Badge from \"components/Badge\";\nimport Button from \"components/Button\";\nimport { Example } from \"utilities/storybook\";\nimport Icon from \"components/Icon\";\nimport View from \"components/View\";", + "import": "import { Avatar, Badge, Button, Example, Icon, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Badge", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Badge/Badge.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Badge/Badge.tsx", "actualName": "Badge", "exportName": "default" } @@ -276,13 +276,13 @@ "snippet": "const className = () => (\n
\n \n Trigger\n \n
\n);" } ], - "import": "import Badge from \"components/Badge\";\nimport Breadcrumbs from \"components/Breadcrumbs\";\nimport { Example } from \"utilities/storybook\";", + "import": "import { Badge, Breadcrumbs, Example } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Breadcrumbs", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Breadcrumbs/Breadcrumbs.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Breadcrumbs/Breadcrumbs.tsx", "actualName": "Breadcrumbs", "exportName": "default" } @@ -365,13 +365,13 @@ "snippet": "const groupClassName = () => (\n
\n \n \n \n
\n);" } ], - "import": "import Avatar from \"components/Avatar\";\nimport Button from \"components/Button\";\nimport { Example, Placeholder } from \"utilities/storybook\";\nimport Hotkey from \"components/Hotkey\";\nimport Image from \"components/Image\";\nimport View from \"components/View\";", + "import": "import { Avatar, Button, Example, Hotkey, Image, Placeholder, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Button", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Button/Button.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Button/Button.tsx", "actualName": "Button", "exportName": "default" } @@ -422,13 +422,13 @@ "snippet": "const keyboardNavigation = () => (\n \n \n \n \n \n);" } ], - "import": "import Calendar from \"components/Calendar\";\nimport { Example } from \"utilities/storybook\";", + "import": "import { Calendar, Example } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Calendar", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Calendar/Calendar.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Calendar/Calendar.tsx", "actualName": "Calendar", "exportName": "default" } @@ -475,13 +475,13 @@ "snippet": "const className = () => (\n
\n \n
\n);" } ], - "import": "import Card from \"components/Card\";\nimport { Example, Placeholder } from \"utilities/storybook\";", + "import": "import { Card, Example, Placeholder } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Card", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Card/Card.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Card/Card.tsx", "actualName": "Card", "exportName": "default" } @@ -520,7 +520,7 @@ "snippet": "const className = () => (\n
\n \n Item 0\n Item 1\n Item 2\n Item 3\n Item 4\n Item 5\n \n
\n);" } ], - "import": "import Button from \"components/Button\";\nimport Carousel from \"components/Carousel\";\nimport { Example, Placeholder } from \"utilities/storybook\";\nimport View from \"components/View\";", + "import": "import { Button, Carousel, Example, Placeholder, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", @@ -540,7 +540,7 @@ } ], "displayName": "Carousel", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Carousel/Carousel.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Carousel/Carousel.tsx", "actualName": "Carousel", "exportName": "default" } @@ -583,13 +583,13 @@ "snippet": "const className = () => (\n
\n \n Content\n \n
\n);" } ], - "import": "import Checkbox from \"components/Checkbox\";\nimport { Example } from \"utilities/storybook\";\nimport View from \"components/View\";", + "import": "import { Checkbox, Example, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Checkbox", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Checkbox/Checkbox.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Checkbox/Checkbox.tsx", "actualName": "Checkbox", "exportName": "default" } @@ -612,13 +612,13 @@ "snippet": "const disabled = () => (\n \n Item 1\n Item 2\n \n);" } ], - "import": "import Checkbox from \"components/Checkbox\";\nimport CheckboxGroup from \"components/CheckboxGroup\";\nimport View from \"components/View\";", + "import": "import { Checkbox, CheckboxGroup, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "CheckboxGroup", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/CheckboxGroup/CheckboxGroup.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/CheckboxGroup/CheckboxGroup.tsx", "actualName": "CheckboxGroup", "exportName": "default" } @@ -637,13 +637,13 @@ "snippet": "const handlers = () =>
\n \n \n \n Item\n \n \n
;" } ], - "import": "import ContextMenu from \"components/ContextMenu\";\nimport { Example } from \"utilities/storybook\";\nimport View from \"components/View\";", + "import": "import { ContextMenu, Example, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "ContextMenu", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/ContextMenu/ContextMenu.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/ContextMenu/ContextMenu.tsx", "actualName": "ContextMenu", "exportName": "default" } @@ -670,13 +670,13 @@ "snippet": "const className = () => (\n
\n \n
\n);" } ], - "import": "import Divider from \"components/Divider\";\nimport { Example, Placeholder } from \"utilities/storybook\";\nimport View from \"components/View\";", + "import": "import { Divider, Example, Placeholder, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Divider", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Divider/Divider.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Divider/Divider.tsx", "actualName": "Divider", "exportName": "default" } @@ -723,13 +723,13 @@ "snippet": "const testTheme = () => (\n \n \n \n \n \n \n \n \n);" } ], - "import": "import Button from \"components/Button\";\nimport DropdownMenu from \"components/DropdownMenu\";\nimport { Example } from \"utilities/storybook\";\nimport Theme from \"components/Theme\";\nimport View from \"components/View\";", + "import": "import { Button, DropdownMenu, Example, Theme, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "DropdownMenu", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/DropdownMenu/DropdownMenu.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/DropdownMenu/DropdownMenu.tsx", "actualName": "DropdownMenu", "exportName": "default" } @@ -760,13 +760,13 @@ "snippet": "const className = () => (\n
\n \n Content\n \n
\n);" } ], - "import": "import Button from \"components/Button\";\nimport { Example } from \"utilities/storybook\";\nimport FileUpload from \"components/FileUpload\";\nimport Icon from \"components/Icon\";\nimport Image from \"components/Image\";\nimport Link from \"components/Link\";\nimport View from \"components/View\";", + "import": "import { Button, Example, FileUpload, Icon, Image, Link, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "FileUpload", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/FileUpload/FileUpload.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/FileUpload/FileUpload.tsx", "actualName": "FileUpload", "exportName": "default" } @@ -785,13 +785,13 @@ "snippet": "const className = () => (\n
\n \n ⌘K\n \n
\n);" } ], - "import": "import { Example } from \"utilities/storybook\";\nimport { Hotkey } from \"reshaped\";\nimport TextField from \"components/TextField\";\nimport View from \"components/View\";", + "import": "import { Example, Hotkey, TextField, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Hotkey", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Hotkey/Hotkey.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Hotkey/Hotkey.tsx", "actualName": "Hotkey", "exportName": "default" } @@ -842,13 +842,13 @@ "snippet": "const testMultilineInText = () => (\n \n \n
\n Someone asked me to write this text that is boring to ready for everyone and to add \n this very very long link to it.\n
\n
\n
\n);" } ], - "import": "import { Example } from \"utilities/storybook\";\nimport Link from \"components/Link\";\nimport Text from \"components/Text\";", + "import": "import { Example, Link, Text } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Link", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Link/Link.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Link/Link.tsx", "actualName": "Link", "exportName": "default" } @@ -875,13 +875,13 @@ "snippet": "const className = () => (\n
\n \n
\n);" } ], - "import": "import { Example } from \"utilities/storybook\";\nimport Loader from \"components/Loader\";", + "import": "import { Example, Loader } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Loader", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Loader/Loader.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Loader/Loader.tsx", "actualName": "Loader", "exportName": "default" } @@ -944,13 +944,13 @@ "snippet": "const alignerClassName = () => (\n
\n \n Trigger\n \n
\n);" } ], - "import": "import { Example, Placeholder } from \"utilities/storybook\";\nimport Hotkey from \"components/Hotkey\";\nimport MenuItem from \"components/MenuItem\";\nimport Text from \"components/Text\";\nimport View from \"components/View\";", + "import": "import { Example, Hotkey, MenuItem, Placeholder, Text, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "MenuItem", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/MenuItem/MenuItem.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/MenuItem/MenuItem.tsx", "actualName": "MenuItem", "exportName": "default" } @@ -1013,13 +1013,13 @@ "snippet": "const trapFocusEdgeCases = () => {\n const toggle = useToggle();\n\n return (\n \n \n \n \n \n \n \n Option 1\n \n \n Option 2\n \n \n \n \n \n \n );\n};" } ], - "import": "import Button from \"components/Button\";\nimport Dismissible from \"components/Dismissible\";\nimport DropdownMenu from \"components/DropdownMenu\";\nimport { Example, Placeholder } from \"utilities/storybook\";\nimport Modal from \"components/Modal\";\nimport Radio from \"components/Radio\";\nimport Switch from \"components/Switch\";\nimport TextField from \"components/TextField\";\nimport View from \"components/View\";", + "import": "import {\n Button,\n Dismissible,\n DropdownMenu,\n Example,\n Modal,\n Placeholder,\n Radio,\n Switch,\n TextField,\n View,\n} from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Modal", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Modal/Modal.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Modal/Modal.tsx", "actualName": "Modal", "exportName": "default" } @@ -1070,13 +1070,13 @@ "snippet": "const valueChanges = () => (\n \n \n \n \n \n);" } ], - "import": "import { Example } from \"utilities/storybook\";\nimport FormControl from \"components/FormControl\";\nimport NumberField from \"components/NumberField\";", + "import": "import { Example, FormControl, NumberField } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "NumberField", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/NumberField/NumberField.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/NumberField/NumberField.tsx", "actualName": "NumberField", "exportName": "default" } @@ -1107,13 +1107,13 @@ "snippet": "const className = () => (\n
\n \n
\n);" } ], - "import": "import { Example } from \"utilities/storybook\";\nimport Pagination from \"components/Pagination\";", + "import": "import { Example, Pagination } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Pagination", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Pagination/Pagination.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Pagination/Pagination.tsx", "actualName": "Pagination", "exportName": "default" } @@ -1164,13 +1164,13 @@ "snippet": "const keyboard = () => ;" } ], - "import": "import { Example } from \"utilities/storybook\";\nimport FormControl from \"components/FormControl\";\nimport PinField from \"components/PinField\";", + "import": "import { Example, FormControl, PinField } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "PinField", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/PinField/PinField.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/PinField/PinField.tsx", "actualName": "PinField", "exportName": "default" } @@ -1241,13 +1241,13 @@ "snippet": "const variant = () => (\n \n \n \n \n {(attributes) => }\n \n \n \n \n \n \n \n);" } ], - "import": "import Button from \"components/Button\";\nimport { Example } from \"utilities/storybook\";\nimport MenuItem from \"components/MenuItem\";\nimport Popover from \"components/Popover\";\nimport ScrollArea from \"components/ScrollArea\";\nimport Tooltip from \"components/Tooltip\";\nimport View from \"components/View\";", + "import": "import { Button, Example, MenuItem, Popover, ScrollArea, Tooltip, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Popover", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Popover/Popover.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Popover/Popover.tsx", "actualName": "Popover", "exportName": "default" } @@ -1282,13 +1282,13 @@ "snippet": "const className = () => (\n
\n \n
\n);" } ], - "import": "import Button from \"components/Button\";\nimport { Example } from \"utilities/storybook\";\nimport Progress from \"components/Progress\";\nimport View from \"components/View\";", + "import": "import { Button, Example, Progress, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Progress", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Progress/Progress.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Progress/Progress.tsx", "actualName": "Progress", "exportName": "default" } @@ -1315,13 +1315,13 @@ "snippet": "const className = () => (\n
\n \n
\n);" } ], - "import": "import Button from \"components/Button\";\nimport { Example } from \"utilities/storybook\";\nimport ProgressIndicator from \"components/ProgressIndicator\";\nimport Scrim from \"components/Scrim\";\nimport Text from \"components/Text\";\nimport View from \"components/View\";", + "import": "import { Button, Example, ProgressIndicator, Scrim, Text, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "ProgressIndicator", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/ProgressIndicator/ProgressIndicator.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/ProgressIndicator/ProgressIndicator.tsx", "actualName": "ProgressIndicator", "exportName": "default" } @@ -1368,13 +1368,13 @@ "snippet": "const className = () => (\n
\n \n Content\n \n
\n);" } ], - "import": "import { Example } from \"utilities/storybook\";\nimport Radio from \"components/Radio\";\nimport View from \"components/View\";", + "import": "import { Example, Radio, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Radio", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Radio/Radio.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Radio/Radio.tsx", "actualName": "Radio", "exportName": "default" } @@ -1397,13 +1397,13 @@ "snippet": "const disabled = () => (\n \n Content\n \n);" } ], - "import": "import Radio from \"components/Radio\";\nimport RadioGroup from \"components/RadioGroup\";", + "import": "import { Radio, RadioGroup } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "RadioGroup", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/RadioGroup/RadioGroup.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/RadioGroup/RadioGroup.tsx", "actualName": "RadioGroup", "exportName": "default" } @@ -1438,13 +1438,13 @@ "snippet": "const className = () => (\n
\n \n \n \n \n \n \n \n \n \n
\n);" } ], - "import": "import Button from \"components/Button\";\nimport { Example } from \"utilities/storybook\";\nimport Resizable from \"components/Resizable\";\nimport View from \"components/View\";", + "import": "import { Button, Example, Resizable, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Resizable", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Resizable/Resizable.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Resizable/Resizable.tsx", "actualName": "Resizable", "exportName": "default" } @@ -1467,13 +1467,13 @@ "snippet": "const composition = () => (\n \n \n
\n Text\n
\n
\n
\n);" } ], - "import": "import { Example, Placeholder } from \"utilities/storybook\";\nimport Scrim from \"components/Scrim\";", + "import": "import { Example, Placeholder, Scrim } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Scrim", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Scrim/Scrim.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Scrim/Scrim.tsx", "actualName": "Scrim", "exportName": "default" } @@ -1548,13 +1548,13 @@ "snippet": "const testComposition = () => (\n \n \n \n \n Dog\n Turtle\n \n Hello\n \n \n \n);" } ], - "import": "import Badge from \"components/Badge\";\nimport { Example, Placeholder } from \"utilities/storybook\";\nimport FormControl from \"components/FormControl\";\nimport MenuItem from \"components/MenuItem\";\nimport Modal from \"components/Modal\";\nimport Select from \"components/Select\";\nimport Text from \"components/Text\";", + "import": "import { Badge, Example, FormControl, MenuItem, Modal, Placeholder, Select, Text } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Select", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Select/Select.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Select/Select.tsx", "actualName": "Select", "exportName": "default" } @@ -1577,13 +1577,13 @@ "snippet": "const className = () => (\n
\n \n
\n);" } ], - "import": "import { Example } from \"utilities/storybook\";\nimport Skeleton from \"components/Skeleton\";", + "import": "import { Example, Skeleton } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Skeleton", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Skeleton/Skeleton.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Skeleton/Skeleton.tsx", "actualName": "Skeleton", "exportName": "default" } @@ -1646,13 +1646,13 @@ "snippet": "const testSwipe = () => {\n const toggle = useToggle(true);\n\n return (\n \n \n Modal\n \n \n \n );\n};" } ], - "import": "import { Example } from \"utilities/storybook\";\nimport Modal from \"components/Modal\";\nimport Slider from \"components/Slider\";\nimport View from \"components/View\";", + "import": "import { Example, Modal, Slider, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Slider", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Slider/Slider.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Slider/Slider.tsx", "actualName": "Slider", "exportName": "default" } @@ -1683,13 +1683,13 @@ "snippet": "const edgeCases = () => (\n \n \n \n \n \n);" } ], - "import": "import Button from \"components/Button\";\nimport { Example, Placeholder } from \"utilities/storybook\";\nimport Stepper from \"components/Stepper\";\nimport View from \"components/View\";", + "import": "import { Button, Example, Placeholder, Stepper, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Stepper", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Stepper/Stepper.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Stepper/Stepper.tsx", "actualName": "Stepper", "exportName": "default" } @@ -1724,13 +1724,13 @@ "snippet": "const className = () => (\n
\n \n Label\n \n
\n);" } ], - "import": "import { Example } from \"utilities/storybook\";\nimport Switch from \"components/Switch\";\nimport View from \"components/View\";", + "import": "import { Example, Switch, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Switch", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Switch/Switch.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Switch/Switch.tsx", "actualName": "Switch", "exportName": "default" } @@ -1777,13 +1777,13 @@ "snippet": "const examples = () => (\n \n \n \n \n \n);" } ], - "import": "import Card from \"components/Card\";\nimport Checkbox from \"components/Checkbox\";\nimport { Example } from \"utilities/storybook\";\nimport Table from \"components/Table\";\nimport View from \"components/View\";", + "import": "import { Card, Checkbox, Example, Table, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Table", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Table/Table.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Table/Table.tsx", "actualName": "Table", "exportName": "default" } @@ -1850,13 +1850,13 @@ "snippet": "const testEdgeCaseDom = () => {\n const [activeItem, setActiveItem] = React.useState(\"1\");\n const sectionsRef = React.useRef(null);\n\n return (\n \n \n \n \n setActiveItem(args.value)}>\n \n Item 1\n Item 2\n Item 3\n Item 4\n \n \n\n {\n setActiveItem(Math.min(4, Math.floor(args.y * 10) + 1).toString());\n }}\n >\n \n \n Section 1\n\n \n {[...Array(4)].map((_, i) => (\n \n ))}\n \n \n\n \n Section 2\n\n \n {[...Array(4)].map((_, i) => (\n \n ))}\n \n \n\n \n Section 3\n\n \n {[...Array(4)].map((_, i) => (\n \n ))}\n \n \n\n \n Section 4\n\n \n {[...Array(4)].map((_, i) => (\n \n ))}\n \n \n \n \n \n \n \n \n );\n};" } ], - "import": "import Button from \"components/Button\";\nimport { Example } from \"utilities/storybook\";\nimport ScrollArea from \"components/ScrollArea\";\nimport Tabs from \"components/Tabs\";\nimport Text from \"components/Text\";\nimport View from \"components/View\";", + "import": "import { Button, Example, ScrollArea, Tabs, Text, View } from \"reshaped\";", "jsDocTags": {}, "reactDocgen": { "description": "", "methods": [], "displayName": "Tabs", - "definedInFile": "/Users/jeppe/dev/temp/reshaped/src/components/Tabs/Tabs.tsx", + "definedInFile": "/Users/shilman/projects/design-systems/reshaped/src/components/Tabs/Tabs.tsx", "actualName": "Tabs", "exportName": "default" } @@ -1923,13 +1923,13 @@ "snippet": "const formControl = () => (\n \n \n \n Name\n