diff --git a/figma.config.json b/figma.config.json index 43fe925..9eb940a 100644 --- a/figma.config.json +++ b/figma.config.json @@ -31,7 +31,7 @@ "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=9762:3086", "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=9762:3121", "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=9762-3128", - "": "https://www.figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=7717-4142", + "": "https://www.figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=321-11357", "": "https://www.figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=2287-22651", "": "https://www.figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=18-9389", "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=11-11508", @@ -68,10 +68,6 @@ "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=9762:1701", "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=3729-12963", "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=3729-13362", - "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=9762:911", - "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=9762:936", - "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=9762:961", - "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=9762:987", "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=56-8830", "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=157-10316", "": "https://figma.com/design/J0KLPKXiONDRssXD1AX9Oi?node-id=157-10352", diff --git a/scripts/preview/Figma.stories.tsx b/scripts/preview/Figma.stories.tsx index 4416301..a77cb43 100644 --- a/scripts/preview/Figma.stories.tsx +++ b/scripts/preview/Figma.stories.tsx @@ -7,10 +7,10 @@ import { Avatar, AvatarGroup, Button, + ButtonGroup, Checkbox, CheckboxField, Dialog, - DialogActions, DialogBody, DialogDescription, DialogTitle, @@ -224,10 +224,10 @@ export const DialogStory: StoryObj = { - + - + ), }; diff --git a/src/ui/compositions/Headers/Headers.tsx b/src/ui/compositions/Headers/Headers.tsx index 4e7e0a6..1d05a28 100644 --- a/src/ui/compositions/Headers/Headers.tsx +++ b/src/ui/compositions/Headers/Headers.tsx @@ -199,24 +199,3 @@ export function Header({ className, ...props }: HeaderProps) { ); } -export type VerticalHeaderProps = Omit; -export function VerticalHeader({ className, ...props }: VerticalHeaderProps) { - return ( -
- - - - - - - - -
- ); -} diff --git a/src/ui/primitives/Table/Table.figma.tsx b/src/ui/primitives/Table/Table.figma.tsx deleted file mode 100644 index a8e053b..0000000 --- a/src/ui/primitives/Table/Table.figma.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import figma from "@figma/code-connect"; -import { - Table, - TableBody, - TableCell, - TableColumn, - TableHead, - TableRow, -} from "./Table"; - -figma.connect(TableCell, "", { - props: { - text: figma.string("Text"), - }, - example: ({ text }) => {text}, -}); - -figma.connect(TableColumn, "", { - props: { - text: figma.string("Text"), - }, - example: ({ text }) => {text}, -}); - -figma.connect(TableRow, "", { - props: { - children: figma.children(["Table Cell", "Table Header"]), - }, - example: ({ children }) => {children}, -}); - -figma.connect(Table, "", { - props: { - dense: figma.boolean("Dense"), - grid: figma.boolean("Grid"), - striped: figma.boolean("Striped"), - body: figma.children("Table Row"), - head: figma.children("Table Head Row"), - }, - example: ({ body, head, dense, grid, striped }) => ( - - {head} - {body} -
- ), -}); diff --git a/src/ui/primitives/Text/Text.figma.tsx b/src/ui/primitives/Text/Text.figma.tsx index ea1eb6a..21b030e 100644 --- a/src/ui/primitives/Text/Text.figma.tsx +++ b/src/ui/primitives/Text/Text.figma.tsx @@ -64,7 +64,7 @@ figma.connect(TextCode, "", { }); figma.connect(TextLinkList, "", { props: { - children: figma.string("Text Link List Item"), + children: figma.children("Text Link List Item"), title: figma.boolean("Has Title", { true: figma.children("Text Strong"), false: undefined,