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.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
chore(webv2): drop the unused segment group md override
joshistoast83c9a3913a85
diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupSizing.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupSizing.browser.test.tsxindex 5318c9b687..c551b8d92b 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupSizing.browser.test.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupSizing.browser.test.tsx@@ -15,9 +15,7 @@ afterEach(async () => {root = null;});-const renderPair = async (- size: '2xs' | 'xs' | 'sm' | 'md'-): Promise<{ button: HTMLElement; segmentRoot: HTMLElement }> => {+const renderPair = async (size: '2xs' | 'xs' | 'sm'): Promise<{ button: HTMLElement; segmentRoot: HTMLElement }> => {host = document.createElement('div');document.body.append(host);root = createRoot(host);@@ -51,7 +49,7 @@ const renderPair = async (describe('segmentGroup slot recipe sizing', () => {// Segment groups sit beside buttons in toolbars; a size name must mean the// same outer height on both (Chakra's defaults run one size-name small).- (['2xs', 'xs', 'sm', 'md'] as const).forEach((size) => {+ (['2xs', 'xs', 'sm'] as const).forEach((size) => {it(`matches the ${size} button height`, async () => {const { button, segmentRoot } = await renderPair(size);diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.tsindex 97931f226c..6a2b613422 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts+++ b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts@@ -226,13 +226,6 @@ export const segmentGroupSlotRecipe = defineSlotRecipe({textStyle: 'xs',},},- md: {- item: {- ...chakraSlotRecipes.segmentGroup.variants?.size?.md?.item,- height: 'calc({sizes.10} - 2px)',- textStyle: 'xs',- },- },},} as unknown as typeof chakraSlotRecipes.segmentGroup.variants,defaultVariants: {