Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

fix(webv2): use chakra package button in more places

joshistoast2c6e45943ccb
diff --git a/invokeai/frontend/webv2/src/workbench/components/ui/Toolbar.tsx b/invokeai/frontend/webv2/src/workbench/components/ui/Toolbar.tsx
index bd55f42048..c482e8ea34 100644
--- a/invokeai/frontend/webv2/src/workbench/components/ui/Toolbar.tsx
+++ b/invokeai/frontend/webv2/src/workbench/components/ui/Toolbar.tsx
@@ -1,8 +1,6 @@
-import { Icon, Separator, Stack, type StackProps } from '@chakra-ui/react';
+import { Icon, Separator, Stack, type StackProps, IconButton } from '@chakra-ui/react';
import type { ComponentProps } from 'react';
-import { IconButton } from './Button';
-
/**
* The workbench's floating tool strip, shared by canvas-like surfaces (the
* workflow editor today, the canvas later). Vertical by default — designed to
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/workflow/fields/FieldDescriptionPopover.tsx b/invokeai/frontend/webv2/src/workbench/widgets/workflow/fields/FieldDescriptionPopover.tsx
index 0d710aec24..ff40fee0dd 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/workflow/fields/FieldDescriptionPopover.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/workflow/fields/FieldDescriptionPopover.tsx
@@ -1,8 +1,7 @@
-import { Icon, Popover, Portal, Stack, Text, Textarea } from '@chakra-ui/react';
+import { Icon, Popover, Portal, Stack, Text, Textarea, IconButton } from '@chakra-ui/react';
import { FileTextIcon } from 'lucide-react';
import type { ChangeEvent } from 'react';
-import { IconButton } from '../../../components/ui/Button';
import { useWorkbenchDispatch } from '../../../WorkbenchContext';
/**
@@ -42,7 +41,7 @@ export const FieldDescriptionPopover = ({
<Popover.Content bg="bg.muted" borderColor="border.emphasized" borderWidth="1px" w="18rem">
<Popover.Body p="2">
<Stack gap="1">
- <Text color="fg.subtle" fontSize="2xs">
+ <Text color="fg.subtle" fontSize="2xs" lineHeight={1.3}>
Field description — overrides the node's default. Clear to restore it.
</Text>
<Textarea