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.

refactor(ui): drop size props that repeat the md default

Josh Corbett1258124597a4
diff --git a/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsx b/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsx
index e0b700feab..21f101d69b 100644
--- a/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsx
+++ b/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsx
@@ -154,7 +154,7 @@ const FontPreview = ({ font, compact = false }: { font: FontRecord; compact?: bo
</Text>
{loadState === 'loading' ? (
<HStack color="fg.muted" gap="1.5" mt="2">
- <Spinner size="md" />
+ <Spinner />
<Text fontSize="xs">{t('fonts.loadingPreview')}</Text>
</HStack>
) : loadState === 'error' ? (
@@ -279,7 +279,7 @@ const UploadStatusList = ({ items }: { items: readonly UploadItem[] }) => {
{items.map((item) => (
<HStack key={item.id} color={item.status === 'error' ? 'fg.error' : 'fg.muted'} gap="2">
{item.status === 'uploading' ? (
- <Spinner size="md" />
+ <Spinner />
) : (
<Icon as={item.status === 'error' ? CircleAlertIcon : FileTypeIcon} />
)}
@@ -521,7 +521,6 @@ const FontLibrary = () => {
<Input
aria-label={t('fonts.searchLabel')}
placeholder={t('fonts.searchPlaceholder')}
- size="md"
value={search}
onChange={(event) => {
setSearch(event.currentTarget.value);
@@ -534,7 +533,6 @@ const FontLibrary = () => {
<IconButton
aria-label={t('fonts.filterMenu')}
color={filter !== 'all' ? 'accent.solid' : 'fg.muted'}
- size="md"
variant="outline"
>
<Icon as={SlidersHorizontalIcon} boxSize="4" />
@@ -577,7 +575,6 @@ const FontLibrary = () => {
>
{search.trim() ? (
<Button
- size="md"
variant="outline"
onClick={() => {
setSearch('');
@@ -601,7 +598,7 @@ const FontLibrary = () => {
icon={ERROR_ICON}
title={t('fonts.couldNotLoad')}
>
- <Button size="md" variant="outline" onClick={handleRetry}>
+ <Button variant="outline" onClick={handleRetry}>
{t('common.retry')}
</Button>
</EmptyState>
@@ -704,7 +701,7 @@ const FontLibrary = () => {
onChange={(value) => setUploadScope(value as FontScope)}
/>
) : null}
- <Button size="md" onClick={() => inputRef.current?.click()}>
+ <Button onClick={() => inputRef.current?.click()}>
<UploadIcon />
{effectiveUploadScope === 'shared' ? t('fonts.uploadShared') : t('fonts.upload')}
</Button>
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsx
index 3069755dbc..ea9da283b4 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsx
@@ -105,7 +105,6 @@ export const GalleryBoardFilters = ({
ref={ref}
aria-label={t('widgets.gallery.searchOrCreateBoards')}
placeholder={t('widgets.gallery.searchOrCreateBoards')}
- size="md"
value={searchTerm}
onChange={handleSearchChange}
onKeyDown={handleSearchKeyDown}
@@ -117,7 +116,6 @@ export const GalleryBoardFilters = ({
<IconButton
aria-label={t('widgets.gallery.filterAndSortBoards')}
color={isVisibilityFiltered ? 'fg' : 'fg.muted'}
- size="md"
variant="ghost"
>
<Icon as={SlidersHorizontalIcon} boxSize="3.5" />
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsx
index 9fe14edb58..1a39806dd4 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsx
@@ -186,10 +186,10 @@ export const GalleryBoardMenu = ({
/>
</Dialog.Body>
<Dialog.Footer>
- <Button size="md" variant="ghost" onClick={handleCancelRename}>
+ <Button variant="ghost" onClick={handleCancelRename}>
{t('common.cancel')}
</Button>
- <Button disabled={renameValue.trim().length === 0} size="md" onClick={submitRename}>
+ <Button disabled={renameValue.trim().length === 0} onClick={submitRename}>
{t('common.rename')}
</Button>
</Dialog.Footer>
@@ -222,13 +222,13 @@ export const GalleryBoardMenu = ({
</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button size="md" variant="ghost" onClick={handleCancelDelete}>
+ <Button variant="ghost" onClick={handleCancelDelete}>
{t('common.cancel')}
</Button>
- <Button colorPalette="red" size="md" variant="outline" onClick={handleDeleteBoardOnly}>
+ <Button colorPalette="red" variant="outline" onClick={handleDeleteBoardOnly}>
{t('widgets.gallery.deleteBoardOnly')}
</Button>
- <Button colorPalette="red" size="md" onClick={handleDeleteBoardAndImages}>
+ <Button colorPalette="red" onClick={handleDeleteBoardAndImages}>
{t('widgets.gallery.deleteBoardAndMedia')}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRow.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRow.tsx
index b0fbe1738f..9b374523e9 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRow.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRow.tsx
@@ -161,24 +161,18 @@ export const GalleryBoardRow = ({
>
{isAutoAddTarget ? (
<Tooltip content={t('widgets.gallery.autoAddBadgeTooltip')}>
- <Badge colorPalette={isSelected ? undefined : 'accent'} flexShrink={0} size="md" variant="subtle">
+ <Badge colorPalette={isSelected ? undefined : 'accent'} flexShrink={0} variant="subtle">
{t('widgets.gallery.autoAddBadge')}
</Badge>
</Tooltip>
) : null}
{board.projectId !== null ? (
- <Badge colorPalette={isSelected ? undefined : 'accent'} flexShrink={0} size="md" variant="subtle">
+ <Badge colorPalette={isSelected ? undefined : 'accent'} flexShrink={0} variant="subtle">
{t('common.project')}
</Badge>
) : null}
<Tooltip content={countsBreakdown}>
- <Badge
- aria-label={countsBreakdown}
- flexShrink={0}
- fontVariantNumeric="tabular-nums"
- size="md"
- variant="subtle"
- >
+ <Badge aria-label={countsBreakdown} flexShrink={0} fontVariantNumeric="tabular-nums" variant="subtle">
{mediaCount} | {counts.assetCount}
</Badge>
</Tooltip>
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardsPanel.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardsPanel.tsx
index a18bffa03e..b1e31776e9 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardsPanel.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardsPanel.tsx
@@ -145,7 +145,7 @@ export const GalleryBoardsPanel = () => {
onSearchChange={setSearchTerm}
onSubmitSearch={handleSubmitSearch}
/>
- <ScrollArea.Root flex="1" minH="0" size="md" variant="hover" w="full">
+ <ScrollArea.Root flex="1" minH="0" variant="hover" w="full">
<ScrollArea.Viewport ref={boardsViewportRef} h="full" w="full">
<ScrollArea.Content {...SCROLL_CONTENT_PROPS}>
<GalleryBoardSection
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsx
index f910013fa3..09687ec6e2 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsx
@@ -636,7 +636,7 @@ export const GalleryImageGrid = () => {
</Button>
</Flex>
) : null}
- <ScrollArea.Root h="full" minH="0" size="md" variant="hover" w="full">
+ <ScrollArea.Root h="full" minH="0" variant="hover" w="full">
<ScrollArea.Viewport ref={viewportRef} data-dnd-auto-scroll="false" h="full" outline="none" w="full">
<ScrollArea.Content display="flex" flexDirection="column" minH="full">
{pinnedHeight > 0 ? (
@@ -741,7 +741,7 @@ export const GalleryImageGrid = () => {
</Box>
{paginationMode === 'infinite' && gallery.isLoading && gallery.items.length > 0 && (
<Flex align="center" justify="center" py="2">
- <Spinner color="fg.subtle" size="md" />
+ <Spinner color="fg.subtle" />
</Flex>
)}
{paginationMode === 'infinite' && !gallery.isLoading && isWindowTruncated && (
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx
index 3d4d5789d7..3dd77a1da2 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx
@@ -36,7 +36,6 @@ export const GalleryItemSortMenu = () => {
flexShrink={0}
fontSize="md"
gap="1"
- size="md"
variant="ghost"
>
{imageOrderDir === 'DESC' ? t('widgets.gallery.newest') : t('widgets.gallery.oldest')}
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryProgressSection.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryProgressSection.tsx
index 4cda8d7352..d16f5696d0 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryProgressSection.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryProgressSection.tsx
@@ -276,7 +276,7 @@ const GalleryProgressTile = ({
display="flex"
>
{session.state === 'running' ? (
- <ProgressCircle.Root aria-label={status} size="md" value={percentage}>
+ <ProgressCircle.Root aria-label={status} value={percentage}>
<ProgressCircle.Circle>
<ProgressCircle.Track />
<ProgressCircle.Range />
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryThumbnail.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryThumbnail.tsx
index 468618e87a..2e4cef8ca7 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryThumbnail.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryThumbnail.tsx
@@ -241,7 +241,6 @@ const GalleryThumbnail = ({
opacity={0}
pointerEvents="none"
position="absolute"
- size="md"
top="1"
transition="opacity var(--wb-motion-duration-medium) ease"
variant="solid"
@@ -253,15 +252,7 @@ const GalleryThumbnail = ({
</Badge>
) : null}
{compareRole && (
- <Badge
- insetInlineStart="1"
- pointerEvents="none"
- position="absolute"
- size="md"
- top="1"
- variant="solid"
- zIndex="1"
- >
+ <Badge insetInlineStart="1" pointerEvents="none" position="absolute" top="1" variant="solid" zIndex="1">
{compareRole}
</Badge>
)}
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryTileFrame.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryTileFrame.tsx
index 317f8a0166..fc7ef3fac6 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryTileFrame.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryTileFrame.tsx
@@ -74,7 +74,6 @@ export const GalleryTileFrame = ({
opacity={alwaysShowDimensions ? 1 : 0}
pointerEvents="none"
position="absolute"
- size="md"
transition={BADGE_TRANSITION}
variant="solid"
zIndex="1"
@@ -91,7 +90,6 @@ export const GalleryTileFrame = ({
insetInlineStart="1"
pointerEvents="none"
position="absolute"
- size="md"
variant="solid"
zIndex="1"
>
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryUploadButton.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryUploadButton.tsx
index 06fcc74485..b1b0aa070d 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryUploadButton.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryUploadButton.tsx
@@ -49,14 +49,7 @@ export const GalleryUploadButton = ({
<>
<input {...inputProps} />
<Tooltip content={label}>
- <IconButton
- aria-label={label}
- color="fg.muted"
- disabled={!isAvailable}
- size="md"
- variant="ghost"
- onClick={openPicker}
- >
+ <IconButton aria-label={label} color="fg.muted" disabled={!isAvailable} variant="ghost" onClick={openPicker}>
<Icon as={UploadIcon} boxSize="3.5" />
</IconButton>
</Tooltip>
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx
index 354c5cedc7..b650dd5588 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx
@@ -254,7 +254,7 @@ export const GalleryMediaSlot = ({
</IconButton>
</Tooltip>
) : (
- <Button disabled={isBusy} size="md" variant="ghost" onClick={handleClear}>
+ <Button disabled={isBusy} variant="ghost" onClick={handleClear}>
<Icon as={XIcon} boxSize="3" />
{labels.remove}
</Button>
@@ -275,7 +275,7 @@ export const GalleryMediaSlot = ({
</IconButton>
</Tooltip>
) : (
- <Button disabled={isBusy} size="md" variant="ghost" onClick={openUploadPicker}>
+ <Button disabled={isBusy} variant="ghost" onClick={openUploadPicker}>
<Icon as={UploadIcon} boxSize="3" />
{t('widgets.gallery.picker.upload')}
</Button>
@@ -347,7 +347,7 @@ export const GalleryMediaSlot = ({
</Text>
) : null}
<HStack color="fg.muted" gap="1">
- {isBusy ? <Spinner size="md" /> : <Icon as={RefreshCwIcon} boxSize="2.5" />}
+ {isBusy ? <Spinner /> : <Icon as={RefreshCwIcon} boxSize="2.5" />}
<Text fontSize="xs">{valueHint}</Text>
</HStack>
</Stack>
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerBoards.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerBoards.tsx
index 8cc9f36309..fe5d821b45 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerBoards.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerBoards.tsx
@@ -38,7 +38,7 @@ const GalleryPickerBoardRow = memo(function GalleryPickerBoardRow({
label={getGalleryBoardLabel(board, t)}
onSelect={handleSelect}
>
- <Badge flexShrink={0} fontVariantNumeric="tabular-nums" size="md" variant="subtle">
+ <Badge flexShrink={0} fontVariantNumeric="tabular-nums" variant="subtle">
{getGalleryCountForView(board, galleryView)}
</Badge>
</GalleryBoardRowShell>
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx
index ac141362c9..7a931cdc2d 100644
--- a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx
+++ b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx
@@ -357,7 +357,6 @@ export const GalleryPickerView = ({
justifyContent="flex-start"
minW="0"
ps="1"
- size="md"
variant="ghost"
onClick={togglePane}
>
@@ -383,7 +382,6 @@ export const GalleryPickerView = ({
aria-label={uploadTarget.label}
color="fg.muted"
disabled={!uploadTarget.isAvailable || isUploading}
- size="md"
variant="ghost"
onClick={openUploadPicker}
>
@@ -446,7 +444,7 @@ export const GalleryPickerView = ({
: t('widgets.gallery.picker.empty', { name: boardName })}
</Text>
{!isSearching && uploadTarget.isAvailable ? (
- <Button disabled={isUploading} size="md" variant="outline" onClick={openUploadPicker}>
+ <Button disabled={isUploading} variant="outline" onClick={openUploadPicker}>
<Icon as={UploadIcon} boxSize="3.5" />
{t('widgets.gallery.picker.upload')}
</Button>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateAdvancedFields.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateAdvancedFields.tsx
index 15d801ee37..5456ae2c8a 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateAdvancedFields.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateAdvancedFields.tsx
@@ -106,9 +106,7 @@ export const GenerateAdvancedFields = ({
].filter(Boolean).length;
const badges =
- overrideCount > 0 ? (
- <Badge size="md">{t('widgets.generate.overridesCount', { count: overrideCount })}</Badge>
- ) : null;
+ overrideCount > 0 ? <Badge>{t('widgets.generate.overridesCount', { count: overrideCount })}</Badge> : null;
return (
<GenerateCollapsibleSection
@@ -130,7 +128,6 @@ export const GenerateAdvancedFields = ({
<ModelSelect
filter={(model) => model.base === modelBase}
modelTypes={['vae']}
- size="md"
placeholder={t('widgets.generate.modelDefault')}
value={settings.vae?.key ?? null}
onChange={(model) => onCommitImmediate({ vae: isVaeModelConfig(model) ? model : null })}
@@ -151,7 +148,6 @@ export const GenerateAdvancedFields = ({
aria-label={t('widgets.generate.vaePrecision')}
collection={VAE_PRECISION_COLLECTION}
flex="1"
- size="md"
value={[settings.vaePrecision]}
onValueChange={({ value }) => {
const vaePrecision = value[0];
@@ -298,7 +294,6 @@ export const GenerateAdvancedFields = ({
<Select
aria-label={t('widgets.generate.pid')}
collection={pidModeCollection}
- size="md"
value={[settings.pidMode]}
onValueChange={({ value }) => {
const mode = value[0];
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx
index f30cb15ed5..24926bde01 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx
@@ -68,7 +68,6 @@ const ComponentPicker = ({
isClearable
modelTypes={modelTypes}
placeholder={slot.placeholder ?? 'Model default'}
- size="md"
value={selectedValue}
onChange={onChange}
/>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateConceptsSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateConceptsSection.tsx
index e2b36c57aa..d409a429a7 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateConceptsSection.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateConceptsSection.tsx
@@ -98,7 +98,6 @@ export const GenerateConceptsContent = ({
placeholder={
selectedModel ? t('widgets.generate.searchCompatibleConcepts') : t('widgets.generate.selectModelFirst')
}
- size="md"
value={null}
onChange={addLora}
/>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateConditioningRebalanceField.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateConditioningRebalanceField.tsx
index e67e212cd4..a6a4774b78 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateConditioningRebalanceField.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateConditioningRebalanceField.tsx
@@ -195,7 +195,6 @@ export const GenerateConditioningRebalanceField = ({
<Switch.Root
checked={isEnabled}
ids={{ hiddenInput: switchInputId, label: `${switchInputId}-label` }}
- size="md"
onCheckedChange={({ checked }) => onCommitImmediate({ krea2RebalanceEnabled: checked })}
>
<Switch.HiddenInput aria-label={t('widgets.generate.krea2Rebalance')} />
@@ -216,7 +215,6 @@ export const GenerateConditioningRebalanceField = ({
contentProps={SELECT_CONTENT_PROPS}
flex="1"
minW="0"
- size="md"
value={activePresetId === null ? [] : [activePresetId]}
valueText={activePreset?.label ?? t('widgets.generate.krea2RebalancePresetCustom')}
onValueChange={({ value }) => handlePresetChange(value)}
@@ -330,7 +328,6 @@ export const GenerateConditioningRebalanceField = ({
<Input
aria-label={t('widgets.generate.krea2RebalanceWeights')}
fontFamily="mono"
- size="md"
value={
weightsDraft ??
(previewWeights ? serializeRebalanceWeights(previewWeights) : settings.krea2RebalanceWeights)
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateDimensionFields.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateDimensionFields.tsx
index 81480b84f3..3ad7c9baa4 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateDimensionFields.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateDimensionFields.tsx
@@ -403,11 +403,11 @@ export const GenerateDimensionFields = ({
const badges = (
<>
- <Badge size="md">
+ <Badge>
{displayDimensions.width}x{displayDimensions.height}
</Badge>
{isRatioConstrained && (
- <Badge size="md">
+ <Badge>
<Icon as={LockIcon} boxSize="3" />
</Badge>
)}
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsx
index 0f4b4e74c4..33962d0ae3 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsx
@@ -52,20 +52,18 @@ export const GenerateGuidanceSection = ({
const badges = (
<>
{hasIncompatible ? (
- <Badge colorPalette="orange" size="md" variant="surface">
+ <Badge colorPalette="orange" variant="surface">
{t('widgets.generate.incompatible')}
</Badge>
) : null}
{activeCount > 0 ? (
- <Badge size="md" variant="surface">
+ <Badge variant="surface">
{activeCount === totalCount
? t('widgets.generate.activeCount', { count: activeCount })
: t('widgets.generate.activeOfTotal', { active: activeCount, total: totalCount })}
</Badge>
) : totalCount > 0 ? (
- <Badge size="md" variant="surface">
- {t('widgets.generate.offCount', { count: totalCount })}
- </Badge>
+ <Badge variant="surface">{t('widgets.generate.offCount', { count: totalCount })}</Badge>
) : null}
</>
);
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateModelCard.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateModelCard.tsx
index ff650122e6..06a082685a 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateModelCard.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateModelCard.tsx
@@ -81,7 +81,6 @@ export const GenerateModelCard = ({
modelTypes={MAIN_MODEL_TYPES}
placeholder={t('widgets.generate.selectModel')}
value={selectedModel?.key ?? null}
- size="md"
onChange={(model) => {
if (isGenerateModelConfig(model) && isGenerateModelSelectable(model)) {
selectModel(model);
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsx
index 7f264a8b75..b1fa459228 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsx
@@ -105,7 +105,6 @@ const PresetRow = ({
<Tooltip content={t('common.rename')}>
<IconButton
aria-label={t('widgets.generate.renamePresetNamed', { name: preset.label })}
- size="md"
variant="ghost"
onClick={handleRename}
>
@@ -116,7 +115,6 @@ const PresetRow = ({
<IconButton
aria-label={t('widgets.generate.deletePresetNamed', { name: preset.label })}
colorPalette="red"
- size="md"
variant="ghost"
onClick={handleDelete}
>
@@ -308,7 +306,6 @@ export const GeneratePresetsPopover = () => {
<Input
aria-label={t('widgets.generate.searchPresets')}
placeholder={t('widgets.generate.searchPresets')}
- size="md"
value={searchTerm}
onChange={handleSearchChange}
/>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsx
index 272afd8f37..e4a1c61067 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsx
@@ -73,7 +73,6 @@ const Ideogram4SamplingFields = ({ onCommit, settings }: Pick<GenerateRenderSect
<Select
aria-label={t('widgets.generate.ideogram4SamplerPreset')}
collection={IDEOGRAM4_PRESET_COLLECTION}
- size="md"
value={[settings.ideogram4SamplerPreset]}
onValueChange={({ value }) => {
const preset = value[0];
@@ -144,7 +143,6 @@ const Ideogram4SamplingFields = ({ onCommit, settings }: Pick<GenerateRenderSect
</Field>
<Field label={t('widgets.generate.ideogram4ColorPalette')} helpText={t('widgets.generate.ideogram4ColorHelp')}>
<Input
- size="md"
value={settings.ideogram4ColorPalette.join(', ')}
onChange={(event) =>
onCommit({
@@ -309,11 +307,11 @@ export const GenerateRenderSection = ({
const badges = (
<>
- <Badge size="md">
+ <Badge>
{settings.steps} · {policy.ui.guidanceLabel} {settings.cfgScale}
</Badge>
{policy.ui.seedVisible ? (
- <Badge size="md">
+ <Badge>
{settings.seedMode === 'random'
? t('common.seedMode.random')
: settings.seedMode === 'fixed'
@@ -392,7 +390,6 @@ export const GenerateRenderSection = ({
aria-label={t('widgets.generate.scheduler')}
flex="1"
options={policy.scheduler.options}
- size="md"
value={settings.scheduler}
onValueChange={(scheduler) => onCommit({ scheduler })}
/>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsx
index 37d8490388..2b25b24cab 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsx
@@ -112,11 +112,10 @@ export const GenerateWidgetView = () => {
alignSelf="flex-start"
aria-busy={isRetrying}
aria-disabled={isRetrying}
- size="md"
variant="outline"
onClick={retryCapabilities}
>
- {isRetrying ? <Spinner size="md" /> : null}
+ {isRetrying ? <Spinner /> : null}
{t('widgets.generate.retry')}
</Button>
</Stack>
@@ -136,7 +135,7 @@ export const GenerateWidgetView = () => {
p="1"
role="status"
>
- <Spinner size="md" />
+ <Spinner />
<Text fontSize="xs">{t('widgets.generate.loadingCapabilities')}</Text>
</HStack>
);
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsPanel.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsPanel.tsx
index 9a9a17d015..4ee1ce83e5 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsPanel.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsPanel.tsx
@@ -128,7 +128,6 @@ export const DynamicPromptsPanel = ({
aria-labelledby={modeLabelledBy}
justifyContent="space-between"
minW="0"
- size="md"
variant="outline"
w="full"
>
@@ -160,7 +159,6 @@ export const DynamicPromptsPanel = ({
allowMouseWheel
max={DYNAMIC_PROMPTS_MAX_PROMPTS}
min={DYNAMIC_PROMPTS_MIN_PROMPTS}
- size="md"
value={String(config.maxPrompts)}
onValueChange={handleMaxPromptsChange}
>
@@ -172,7 +170,6 @@ export const DynamicPromptsPanel = ({
<Tooltip content={t('widgets.generate.dynamicPrompts.shuffle')}>
<IconButton
aria-label={t('widgets.generate.dynamicPrompts.shuffle')}
- size="md"
variant="ghost"
visibility={config.combinatorial ? 'hidden' : 'visible'}
onClick={handleShuffle}
@@ -186,7 +183,6 @@ export const DynamicPromptsPanel = ({
checked={config.seedBehaviour === 'per-image'}
disabled={config.isSeedFixed}
ids={seedSwitchIds}
- size="md"
onCheckedChange={handleSeedBehaviourChange}
>
<Switch.HiddenInput aria-describedby={config.isSeedFixed ? seedHeldNoteId : undefined} />
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/GeneratePromptFields.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/GeneratePromptFields.tsx
index b818ad4c78..14e02825a3 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/GeneratePromptFields.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/GeneratePromptFields.tsx
@@ -195,7 +195,7 @@ export const GeneratePromptFields = ({
{settings.promptTemplate ? (
<HStack>
- <Tag.Root size="md" variant="surface">
+ <Tag.Root variant="surface">
<Tag.Label>{settings.promptTemplate.name}</Tag.Label>
<Tag.EndElement>
<Tag.CloseTrigger
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/LLMTaskProgressDisplay.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/LLMTaskProgressDisplay.tsx
index e6a0560f05..2ebe9ebde0 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/LLMTaskProgressDisplay.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/LLMTaskProgressDisplay.tsx
@@ -21,7 +21,7 @@ export const LLMTaskProgressDisplay = ({ taskId }: { taskId: string | null }) =>
return (
<Stack gap="1.5" w="full">
- <Progress.Root colorPalette="accent" max={1} size="md" value={progress.percentage} w="full">
+ <Progress.Root colorPalette="accent" max={1} value={progress.percentage} w="full">
<Progress.Track aria-label={t('widgets.generate.llmTaskProgress')} rounded="full">
<Progress.Range rounded="full" transition="width var(--wb-motion-duration-fast) ease" />
</Progress.Track>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/NegativePromptField.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/NegativePromptField.tsx
index a3b8997cec..da247edf3b 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/NegativePromptField.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/NegativePromptField.tsx
@@ -190,7 +190,6 @@ export const NegativePromptField = ({
defaultHeightPx={heightPx}
minHeightPx={56}
resizeHandleAriaLabel={t('widgets.generate.resizeNegativePrompt')}
- size="md"
fontFamily="mono"
readOnly={isViewingMerged}
showSyntaxHighlighting={showSyntaxHighlighting}
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsx
index a094166012..d5cc0b06a9 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsx
@@ -62,7 +62,7 @@ const OpenModelManagerButton = ({ modelType }: { modelType?: string }) => {
);
return (
- <Button alignSelf="start" px="1.5" size="md" variant="plain" onClick={handleClick}>
+ <Button alignSelf="start" px="1.5" variant="plain" onClick={handleClick}>
{t('widgets.generate.openModelManager')}
</Button>
);
@@ -347,7 +347,6 @@ export const PromptTriggerPopover = ({
<Input
aria-label={t('widgets.generate.searchPromptTriggers')}
placeholder={t('widgets.generate.searchPromptTriggers')}
- size="md"
value={searchTerm}
onChange={handleSearchChange}
/>
@@ -416,7 +415,6 @@ const PromptTriggerOptionButton = ({
justifyContent="start"
px="2"
py="1.5"
- size="md"
transitionDuration="faster"
variant="ghost"
onClick={handleClick}
@@ -593,7 +591,6 @@ const ExpandPromptButton = ({
isClearable={false}
modelTypes={TEXT_LLM_MODEL_TYPES}
placeholder={t('widgets.generate.selectTextLlm')}
- size="md"
value={selectedModel?.key ?? null}
onChange={handleModelChange}
/>
@@ -630,7 +627,6 @@ const ExpandPromptButton = ({
// The request carries the system prompt's text, so it waits for the list.
disabled={!selectedModel || !positivePrompt.trim() || systemPrompts.isLoading}
loading={isLoading}
- size="md"
onClick={handleRunExpandPrompt}
>
{t('widgets.generate.expand')}
@@ -672,7 +668,7 @@ const ExpandPromptImageOption = ({
src={galleryImageUrls.thumbnail(image.image_name)}
/>
{canReadImages ? (
- <Checkbox.Root checked={isIncluded} size="md" onCheckedChange={onIncludedChange}>
+ <Checkbox.Root checked={isIncluded} onCheckedChange={onIncludedChange}>
<Checkbox.HiddenInput />
<Checkbox.Control />
<Checkbox.Label fontSize="md">{t('widgets.generate.expandFromFirstFrame')}</Checkbox.Label>
@@ -828,7 +824,6 @@ const ImageToPromptButton = ({
isClearable={false}
modelTypes={LLAVA_MODEL_TYPES}
placeholder={t('widgets.generate.selectVisionModel')}
- size="md"
value={selectedModel?.key ?? null}
onChange={handleModelChange}
/>
@@ -850,12 +845,7 @@ const ImageToPromptButton = ({
</Text>
)}
<LLMTaskProgressDisplay taskId={taskId} />
- <Button
- disabled={!image || !selectedModel}
- loading={isLoading}
- size="md"
- onClick={handleRunImageToPrompt}
- >
+ <Button disabled={!image || !selectedModel} loading={isLoading} onClick={handleRunImageToPrompt}>
{t('widgets.generate.generatePrompt')}
</Button>
</>
@@ -916,11 +906,10 @@ const PositivePromptHistoryButton = ({ onUsePrompt }: Pick<PositivePromptActions
aria-label={t('widgets.generate.searchPromptHistory')}
disabled={promptHistory.length === 0}
placeholder={t('widgets.generate.searchPromptHistory')}
- size="md"
value={searchTerm}
onChange={onChangeSearchTerm}
/>
- <Button disabled={promptHistory.length === 0} size="md" variant="ghost" onClick={clearPromptHistory}>
+ <Button disabled={promptHistory.length === 0} variant="ghost" onClick={clearPromptHistory}>
<Icon as={TrashIcon} boxSize="3" />
{t('common.clear')}
</Button>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptField.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptField.tsx
index 366ed4fae1..2954de35b9 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptField.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptField.tsx
@@ -269,7 +269,6 @@ export const PositivePromptField = ({
defaultHeightPx={heightPx}
minHeightPx={96}
resizeHandleAriaLabel={t('widgets.generate.resizePositivePrompt')}
- size="md"
fontFamily="mono"
highlightDynamicPrompts={dynamicPrompts !== null}
knownWildcards={knownWildcards}
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplateEditor.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplateEditor.tsx
index fbd15386ec..9fb65bb329 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplateEditor.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplateEditor.tsx
@@ -301,7 +301,6 @@ export const PromptTemplateEditor = ({
aria-invalid={nameError !== null ? true : undefined}
id={nameFieldId}
placeholder={t('widgets.generate.promptTemplates.namePlaceholder')}
- size="md"
value={draft.name}
onChange={(event: ChangeEvent<HTMLInputElement>) => updateDraftField('name', event.currentTarget.value)}
/>
@@ -318,7 +317,6 @@ export const PromptTemplateEditor = ({
placeholder={t('widgets.generate.promptTemplates.positivePromptPlaceholder')}
resizeHandleAriaLabel={t('widgets.generate.promptTemplates.resizePositivePrompt')}
showSyntaxHighlighting={showSyntaxHighlighting}
- size="md"
value={draft.positivePrompt}
onChange={(event: ChangeEvent<HTMLTextAreaElement>) =>
updateDraftField('positivePrompt', event.currentTarget.value)
@@ -336,7 +334,6 @@ export const PromptTemplateEditor = ({
placeholder={t('widgets.generate.promptTemplates.negativePromptPlaceholder')}
resizeHandleAriaLabel={t('widgets.generate.promptTemplates.resizeNegativePrompt')}
showSyntaxHighlighting={showSyntaxHighlighting}
- size="md"
value={draft.negativePrompt}
onChange={(event: ChangeEvent<HTMLTextAreaElement>) =>
updateDraftField('negativePrompt', event.currentTarget.value)
@@ -363,11 +360,11 @@ export const PromptTemplateEditor = ({
) : null}
<HStack justify="end">
- <Button disabled={isSaving} size="md" variant="ghost" onClick={onCancel}>
+ <Button disabled={isSaving} variant="ghost" onClick={onCancel}>
<XIcon />
{t('common.cancel')}
</Button>
- <Button disabled={!trimmedName || nameError !== null} loading={isSaving} size="md" onClick={handleSave}>
+ <Button disabled={!trimmedName || nameError !== null} loading={isSaving} onClick={handleSave}>
<CheckIcon />
{t('common.save')}
</Button>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesPanel.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesPanel.tsx
index bdf3a63463..18ba7f2319 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesPanel.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesPanel.tsx
@@ -132,7 +132,6 @@ export const PromptTemplatesPanel = ({
<Input
aria-label={t('widgets.generate.promptTemplates.search')}
placeholder={t('widgets.generate.promptTemplates.search')}
- size="md"
value={searchTerm}
onChange={handleSearchChange}
/>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/SystemPromptsField.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/SystemPromptsField.tsx
index 5d61a86900..4d9b14b6a2 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/SystemPromptsField.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/SystemPromptsField.tsx
@@ -273,7 +273,6 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm
<Input
id={nameFieldId}
placeholder={t('widgets.generate.systemPrompts.namePlaceholder')}
- size="md"
value={draft.name}
onChange={handleNameChange}
/>
@@ -282,7 +281,6 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm
aria-label={t('widgets.generate.systemPrompts.content')}
minH="6rem"
placeholder={t('widgets.generate.systemPrompts.contentPlaceholder')}
- size="md"
value={draft.content}
onChange={handleContentChange}
/>
@@ -297,7 +295,6 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm
// Use inputMode instead of number input so empty-means-default drafts survive.
inputMode="numeric"
placeholder={String(SYSTEM_PROMPT_MAX_TOKENS_DEFAULT)}
- size="md"
value={draft.maxTokens}
onChange={handleMaxTokensChange}
/>
@@ -308,13 +305,12 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm
</Text>
) : null}
<HStack justify="flex-end">
- <Button size="md" variant="ghost" onClick={closeEditor}>
+ <Button variant="ghost" onClick={closeEditor}>
{t('common.cancel')}
</Button>
<Button
disabled={!draft.name.trim() || !draft.content.trim() || isMaxTokensInvalid}
loading={isSaving}
- size="md"
onClick={handleSave}
>
{t('common.save')}
@@ -358,7 +354,7 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm
{error}
</Text>
) : null}
- <Button size="md" variant="ghost" onClick={toggleManaging}>
+ <Button variant="ghost" onClick={toggleManaging}>
{t('common.done')}
</Button>
<ConfirmDialog
@@ -382,7 +378,6 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm
disabled={prompts.length === 0}
flex="1"
id={selectId}
- size="md"
value={selectValue}
valueText={selectedName ?? t('widgets.generate.systemPrompts.none')}
onValueChange={handleSelectChange}
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardImportDialog.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardImportDialog.tsx
index 30f78372b4..610e19943d 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardImportDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardImportDialog.tsx
@@ -163,7 +163,7 @@ const ResolutionControl = ({
);
return (
- <SegmentGroup.Root size="md" value={value ?? null} onValueChange={handleValueChange}>
+ <SegmentGroup.Root value={value ?? null} onValueChange={handleValueChange}>
<SegmentGroup.Indicator />
{RESOLUTIONS.map((resolution) => (
<SegmentGroup.Item key={resolution} value={resolution}>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardsPanel.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardsPanel.tsx
index 4b4b2a2b81..dbe31153d7 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardsPanel.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardsPanel.tsx
@@ -156,7 +156,6 @@ export const WildcardsPanel = ({
<Input
aria-invalid={nameError !== null && nameError !== 'empty' ? true : undefined}
placeholder={t('widgets.generate.dynamicPrompts.wildcardNamePlaceholder')}
- size="md"
value={draft.name}
onChange={(event: ChangeEvent<HTMLInputElement>) => setDraft({ ...draft, name: event.currentTarget.value })}
/>
@@ -174,7 +173,6 @@ export const WildcardsPanel = ({
resizeHandleAriaLabel={t('widgets.generate.dynamicPrompts.resizeWildcardValues')}
showLineNumbers
showSyntaxHighlighting={showSyntaxHighlighting}
- size="md"
value={draft.valuesText}
onChange={(event: ChangeEvent<HTMLTextAreaElement>) =>
setDraft({ ...draft, valuesText: event.currentTarget.value })
@@ -186,11 +184,11 @@ export const WildcardsPanel = ({
</Text>
) : null}
<HStack justify="end">
- <Button size="md" variant="ghost" onClick={cancel}>
+ <Button variant="ghost" onClick={cancel}>
<XIcon />
{t('common.cancel')}
</Button>
- <Button disabled={nameError !== null || valuesError !== null} size="md" onClick={() => void save()}>
+ <Button disabled={nameError !== null || valuesError !== null} onClick={() => void save()}>
<CheckIcon />
{t('common.save')}
</Button>
@@ -213,7 +211,6 @@ export const WildcardsPanel = ({
<Input
aria-label={t('widgets.generate.dynamicPrompts.searchWildcards')}
placeholder={t('widgets.generate.dynamicPrompts.searchWildcards')}
- size="md"
value={searchTerm}
onChange={handleSearchChange}
/>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/GenerateReferenceImagesSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/GenerateReferenceImagesSection.tsx
index 144c19e338..c35c0f2e66 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/GenerateReferenceImagesSection.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/GenerateReferenceImagesSection.tsx
@@ -206,7 +206,7 @@ export const GenerateReferenceImagesContent = ({
<Text color="fg.muted" fontSize="xs" minW="0">
{t('widgets.generate.referenceImagesUnsupported')}
</Text>
- <Button colorPalette="red" flexShrink="0" size="md" variant="outline" onClick={clearReferenceImages}>
+ <Button colorPalette="red" flexShrink="0" variant="outline" onClick={clearReferenceImages}>
{t('widgets.generate.clearReferenceImages')}
</Button>
</HStack>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCard.tsx b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCard.tsx
index fb2f29330f..7caa0a2c49 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCard.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCard.tsx
@@ -323,7 +323,6 @@ const ReferenceModelSelector = ({
filter={filterModel}
modelTypes={modelTypes}
placeholder={t('widgets.generate.selectModel')}
- size="md"
value={config.model?.key ?? null}
onChange={selectReferenceModel}
/>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageControls.tsx b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageControls.tsx
index 6aaa727731..cd8b419e13 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageControls.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageControls.tsx
@@ -207,7 +207,7 @@ export const IPAdapterControls = ({
<Stack gap="2">
<Stack gap="1">
<FieldHeader label={t('widgets.generate.mode')} />
- <SegmentGroup.Root disabled={disabled} size="md" value={mode} w="full" onValueChange={handleModeChange}>
+ <SegmentGroup.Root disabled={disabled} value={mode} w="full" onValueChange={handleModeChange}>
<SegmentGroup.Indicator />
{MODE_SEGMENTS.map((segment) => (
<SegmentGroup.Item key={segment.value} flex="1" justifyContent="center" value={segment.value}>
@@ -262,7 +262,6 @@ export const IPAdapterControls = ({
deselectable={false}
disabled={disabled}
renderItem={renderStyleVariantItem}
- size="md"
value={styleVariantValue}
w="full"
onValueChange={handleStyleVariantChange}
@@ -282,7 +281,6 @@ export const IPAdapterControls = ({
marks={BEGIN_END_MARKS}
max={1}
min={0}
- size="md"
step={0.05}
value={beginEndStepPct}
onValueChange={handleStepsChange}
@@ -332,7 +330,6 @@ export const ClipVisionSelect = ({
deselectable={false}
disabled={disabled}
flexShrink="0"
- size="md"
value={selectValue}
w="24"
onValueChange={handleValueChange}
@@ -374,7 +371,6 @@ export const FluxReduxControls = <T extends { imageInfluence: FluxReduxImageInfl
collection={FLUX_REDUX_IMAGE_INFLUENCE_COLLECTION}
deselectable={false}
disabled={disabled}
- size="md"
value={imageInfluenceValue}
w="full"
onValueChange={handleValueChange}
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCropDialog.tsx b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCropDialog.tsx
index 922a9f5c0b..7701a16b12 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCropDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCropDialog.tsx
@@ -393,16 +393,15 @@ export const ReferenceImageCropDialog = ({
<Dialog.Footer>
<Button
disabled={isApplying || isFullReferenceImageCropBox(cropBox)}
- size="md"
variant="outline"
onClick={resetCrop}
>
{t('common.reset')}
</Button>
- <Button disabled={isApplying} size="md" variant="ghost" onClick={close}>
+ <Button disabled={isApplying} variant="ghost" onClick={close}>
{t('common.cancel')}
</Button>
- <Button loading={isApplying} size="md" onClick={applyCrop}>
+ <Button loading={isApplying} onClick={applyCrop}>
{t('common.apply')}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/shared/ConceptRow.tsx b/invokeai/frontend/webv2/src/features/generation/ui/shared/ConceptRow.tsx
index 0cdc3d1b67..a12e6cd78f 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/shared/ConceptRow.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/shared/ConceptRow.tsx
@@ -183,11 +183,11 @@ export const ConceptRow = memo(function ConceptRow({
}
badges={
<>
- <Badge colorPalette={models.getBaseColorPalette(lora.model.base)} size="md" variant="surface">
+ <Badge colorPalette={models.getBaseColorPalette(lora.model.base)} variant="surface">
{models.getBaseLabel(lora.model.base)}
</Badge>
{isCompatible ? null : (
- <Badge colorPalette="orange" size="md" variant="surface">
+ <Badge colorPalette="orange" variant="surface">
{t('widgets.generate.incompatible')}
</Badge>
)}
diff --git a/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateToggleSwitch.tsx b/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateToggleSwitch.tsx
index 1bafb5d185..7a243a569a 100644
--- a/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateToggleSwitch.tsx
+++ b/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateToggleSwitch.tsx
@@ -26,7 +26,6 @@ export const GenerateToggleSwitch = ({
checked={checked}
disabled={disabled}
ids={{ hiddenInput: id, label: `${id}-label` }}
- size="md"
onCheckedChange={(event) => onCheckedChange(event.checked)}
>
<Switch.HiddenInput />
diff --git a/invokeai/frontend/webv2/src/features/identity/ui/AuthScreen.tsx b/invokeai/frontend/webv2/src/features/identity/ui/AuthScreen.tsx
index a572f55301..effa27eea4 100644
--- a/invokeai/frontend/webv2/src/features/identity/ui/AuthScreen.tsx
+++ b/invokeai/frontend/webv2/src/features/identity/ui/AuthScreen.tsx
@@ -42,7 +42,7 @@ export const AuthScreen = ({
/** Inline alert used for form-level failures on the auth screens. */
export const AuthFormAlert = ({ message, tone }: { message: string; tone: 'error' | 'warning' }) => (
- <Alert.Root borderRadius="md" size="md" status={tone}>
+ <Alert.Root borderRadius="md" status={tone}>
<Alert.Indicator />
<Alert.Title fontSize="md">{message}</Alert.Title>
</Alert.Root>
diff --git a/invokeai/frontend/webv2/src/features/identity/ui/LoginScreen.tsx b/invokeai/frontend/webv2/src/features/identity/ui/LoginScreen.tsx
index 93e6ae1090..1c83e3e1b5 100644
--- a/invokeai/frontend/webv2/src/features/identity/ui/LoginScreen.tsx
+++ b/invokeai/frontend/webv2/src/features/identity/ui/LoginScreen.tsx
@@ -87,7 +87,7 @@ export const LoginScreen = () => {
onChange={handlePasswordChange}
/>
</Field>
- <Checkbox.Root checked={form.values.rememberMe} size="md" onCheckedChange={handleRememberMeChange}>
+ <Checkbox.Root checked={form.values.rememberMe} onCheckedChange={handleRememberMeChange}>
<Checkbox.HiddenInput />
<Checkbox.Control />
<Checkbox.Label color="fg.muted" fontWeight="400">
diff --git a/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsx b/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsx
index 29b8f35ab7..ecebd3a309 100644
--- a/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsx
@@ -196,10 +196,10 @@ const ProfileForm = ({ onClose, user }: { onClose: () => void; user: UserDTO })
</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button size="md" variant="ghost" onClick={onClose}>
+ <Button variant="ghost" onClick={onClose}>
{t('common.cancel')}
</Button>
- <Button loading={form.isSubmitting} size="md" variant="solid" onClick={handleSave}>
+ <Button loading={form.isSubmitting} variant="solid" onClick={handleSave}>
{t('users.saveChanges')}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsx b/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsx
index ed15018550..865f8493f8 100644
--- a/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsx
@@ -227,7 +227,7 @@ const UserForm = ({
value={form.values.password}
onChange={handlePasswordChange}
/>
- <Button loading={isGenerating} size="md" variant="outline" onClick={handleGeneratedPasswordClick}>
+ <Button loading={isGenerating} variant="outline" onClick={handleGeneratedPasswordClick}>
<WandSparklesIcon />
{t('users.generate')}
</Button>
@@ -260,10 +260,10 @@ const UserForm = ({
</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button size="md" variant="ghost" onClick={onClose}>
+ <Button variant="ghost" onClick={onClose}>
{t('common.cancel')}
</Button>
- <Button loading={form.isSubmitting} size="md" variant="solid" onClick={handleSubmitClick}>
+ <Button loading={form.isSubmitting} variant="solid" onClick={handleSubmitClick}>
{isCreate ? t('users.createUser') : t('users.saveChanges')}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/features/identity/ui/UserManagement.tsx b/invokeai/frontend/webv2/src/features/identity/ui/UserManagement.tsx
index b6ec09d35e..5150f15520 100644
--- a/invokeai/frontend/webv2/src/features/identity/ui/UserManagement.tsx
+++ b/invokeai/frontend/webv2/src/features/identity/ui/UserManagement.tsx
@@ -123,7 +123,7 @@ const UsersDirectory = ({
{users ? t('users.accountCount', { count: users.length }) : t('users.description')}
</Text>
</Stack>
- <Button size="md" variant="solid" onClick={openCreateForm}>
+ <Button variant="solid" onClick={openCreateForm}>
<UserPlusIcon />
{t('users.addUser')}
</Button>
@@ -136,7 +136,7 @@ const UsersDirectory = ({
<Text color="fg.error" fontSize="md" textAlign="center">
{loadError}
</Text>
- <Button size="md" variant="outline" onClick={retryLoad}>
+ <Button variant="outline" onClick={retryLoad}>
{t('common.retry')}
</Button>
</Stack>
@@ -145,7 +145,7 @@ const UsersDirectory = ({
)}
</Center>
) : (
- <Table.Root minW="42rem" size="md">
+ <Table.Root minW="42rem">
<Table.Header>
<Table.Row bg="bg.muted">
<Table.ColumnHeader borderColor="border.subtle" color="fg.muted" ps="4">
@@ -273,7 +273,6 @@ const UserRow = ({
aria-label={t('users.activeLabel', { name: getUserLabel(user) })}
checked={user.is_active}
disabled={isSelf}
- size="md"
onCheckedChange={handleSetActive}
>
<Switch.HiddenInput />
diff --git a/invokeai/frontend/webv2/src/features/intermediates/ui/ClearDialog.tsx b/invokeai/frontend/webv2/src/features/intermediates/ui/ClearDialog.tsx
index fb0cf6d394..950ff06b92 100644
--- a/invokeai/frontend/webv2/src/features/intermediates/ui/ClearDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/intermediates/ui/ClearDialog.tsx
@@ -223,7 +223,7 @@ export const ClearDialog = ({
<Dialog.Description asChild>
<Box aria-busy={(preview === null && !state?.previewError) || undefined} aria-live="polite">
{state?.previewError ? (
- <Alert.Root size="md" status="error" variant="surface">
+ <Alert.Root status="error" variant="surface">
<Alert.Indicator />
<Alert.Content>
<Alert.Description>{state.previewError}</Alert.Description>
@@ -234,7 +234,7 @@ export const ClearDialog = ({
</Alert.Root>
) : preview === null ? (
<Stack align="center" direction="row" gap="2">
- <Spinner color="fg.muted" size="md" />
+ <Spinner color="fg.muted" />
<Text color="fg.muted" fontSize="md">
{t('intermediates.dialog.loadingPreview')}
</Text>
@@ -248,7 +248,6 @@ export const ClearDialog = ({
checked={isForce}
colorPalette="red"
disabled={state?.isStarting}
- size="md"
onCheckedChange={(event) => onModeChange(event.checked === true ? 'force' : 'safe')}
>
<Checkbox.HiddenInput />
@@ -256,7 +255,7 @@ export const ClearDialog = ({
<Checkbox.Label fontSize="md">{t('intermediates.dialog.forceToggle')}</Checkbox.Label>
</Checkbox.Root>
{isForce ? (
- <Alert.Root size="md" status="warning" variant="surface">
+ <Alert.Root status="warning" variant="surface">
<Alert.Indicator />
<Alert.Content>
<Alert.Description>
@@ -275,7 +274,6 @@ export const ClearDialog = ({
<Checkbox.Root
checked={acknowledged}
colorPalette="red"
- size="md"
onCheckedChange={(event) => setAcknowledged(event.checked === true)}
>
<Checkbox.HiddenInput />
@@ -289,7 +287,6 @@ export const ClearDialog = ({
<Input
autoComplete="off"
id={confirmInputId}
- size="md"
spellCheck={false}
value={typed}
onChange={(event) => setTyped(event.currentTarget.value)}
@@ -305,14 +302,13 @@ export const ClearDialog = ({
</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button ref={cancelRef} disabled={state?.isStarting} size="md" variant="ghost" onClick={onClose}>
+ <Button ref={cancelRef} disabled={state?.isStarting} variant="ghost" onClick={onClose}>
{t('common.cancel')}
</Button>
<Button
colorPalette="red"
disabled={!canConfirm}
loading={state?.isStarting}
- size="md"
variant="solid"
onClick={onConfirm}
>
diff --git a/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesManager.tsx b/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesManager.tsx
index 1b434d26c4..94ea8a6f29 100644
--- a/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesManager.tsx
+++ b/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesManager.tsx
@@ -239,11 +239,10 @@ export const IntermediatesManager = ({
aria-busy={isRefreshing || undefined}
aria-label={t('intermediates.refresh')}
flexShrink={0}
- size="md"
variant="outline"
onClick={handleRefresh}
>
- {isRefreshing ? <Spinner size="md" /> : <RefreshCwIcon />}
+ {isRefreshing ? <Spinner /> : <RefreshCwIcon />}
</IconButton>
</Tooltip>
</HStack>
@@ -257,7 +256,6 @@ export const IntermediatesManager = ({
? t('intermediates.searchPlaceholderAdmin')
: t('intermediates.searchPlaceholder')
}
- size="md"
value={search}
onChange={(event) => handleSearchChange(event.currentTarget.value)}
/>
@@ -337,7 +335,7 @@ export const IntermediatesManager = ({
>
{query.data?.measuring ? (
<Tooltip content={t('intermediates.stats.measuringNote')}>
- <Spinner aria-label={t('intermediates.stats.measuringNote')} color="fg.muted" size="md" />
+ <Spinner aria-label={t('intermediates.stats.measuringNote')} color="fg.muted" />
</Tooltip>
) : null}
{/* `aria-disabled` keeps it focusable, so the reason it waits is announced on focus. */}
@@ -376,7 +374,7 @@ export const IntermediatesManager = ({
title={hasSearch ? t('intermediates.empty.noMatches') : t('intermediates.empty.title')}
>
{hasSearch ? (
- <Button size="md" variant="outline" onClick={clearSearch}>
+ <Button variant="outline" onClick={clearSearch}>
{t('common.clearSearch')}
</Button>
) : null}
@@ -390,7 +388,7 @@ export const IntermediatesManager = ({
}
title={t('intermediates.errors.couldNotLoad')}
>
- <Button size="md" variant="outline" onClick={() => void query.refetch()}>
+ <Button variant="outline" onClick={() => void query.refetch()}>
{t('common.retry')}
</Button>
</EmptyState>
diff --git a/invokeai/frontend/webv2/src/features/intermediates/ui/OperationPanel.tsx b/invokeai/frontend/webv2/src/features/intermediates/ui/OperationPanel.tsx
index a3e5ec0ff3..3db264ecca 100644
--- a/invokeai/frontend/webv2/src/features/intermediates/ui/OperationPanel.tsx
+++ b/invokeai/frontend/webv2/src/features/intermediates/ui/OperationPanel.tsx
@@ -84,7 +84,7 @@ export const OperationPanel = ({
if (lookupError) {
return (
- <Alert.Root size="md" status="error" variant="surface">
+ <Alert.Root status="error" variant="surface">
<Alert.Indicator />
<Alert.Content>
<Alert.Title>{t('intermediates.operation.lookupFailed')}</Alert.Title>
@@ -121,7 +121,6 @@ export const OperationPanel = ({
return (
<Alert.Root
- size="md"
status={operation.status === 'failed' ? 'error' : operation.status === 'completed' ? 'success' : 'info'}
variant="surface"
>
@@ -136,7 +135,6 @@ export const OperationPanel = ({
aria-label={statusLabel}
colorPalette="accent"
max={Math.max(total, 1)}
- size="md"
value={processed}
>
<Progress.Track>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/add-models/AccessTokenPopover.tsx b/invokeai/frontend/webv2/src/features/models/ui/add-models/AccessTokenPopover.tsx
index 09c7da3812..e85cdb0ee7 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/AccessTokenPopover.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/AccessTokenPopover.tsx
@@ -39,7 +39,6 @@ export const AccessTokenPopover = ({
<Input
aria-label={t('models.accessToken')}
placeholder={t('models.accessTokenPlaceholder')}
- size="md"
type="password"
value={value}
onChange={(event) => onChange(event.currentTarget.value)}
diff --git a/invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsx b/invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsx
index b2d91f08bd..4db36ec8ef 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsx
@@ -347,7 +347,7 @@ export const AddModelsView = () => {
{canScan && isScanning ? (
<Button size="lg" variant="outline" onClick={handleStopScan}>
- <Spinner size="md" />
+ <Spinner />
{t('models.stopScan')}
</Button>
) : canScan ? (
diff --git a/invokeai/frontend/webv2/src/features/models/ui/add-models/BundleChips.tsx b/invokeai/frontend/webv2/src/features/models/ui/add-models/BundleChips.tsx
index 59091a3334..11a2d6647e 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/BundleChips.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/BundleChips.tsx
@@ -36,7 +36,6 @@ export const BundleChips = ({
label={t('modelManager.launchpad.starterBundles')}
minW="0"
orientation="horizontal"
- size="md"
variant="hover"
>
<HStack gap="1.5">
@@ -83,10 +82,10 @@ const BundleChip = ({
onSelect: () => void;
subLabel: string;
}) => (
- <Button flexShrink={0} size="md" variant={isSelected ? 'solid' : 'subtle'} onClick={onSelect}>
+ <Button flexShrink={0} variant={isSelected ? 'solid' : 'subtle'} onClick={onSelect}>
<Icon as={isComplete ? CheckIcon : FolderIcon} boxSize="3" />
{label}
- <Badge variant="surface" size="md" ms="1" me="-1">
+ <Badge variant="surface" ms="1" me="-1">
{subLabel}
</Badge>
</Button>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsx b/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsx
index 726790efee..e5cdc7756b 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsx
@@ -403,14 +403,7 @@ const CompactViewToggle = ({ isCompact, pickerId }: { isCompact: boolean; picker
return (
<Tooltip content={label} showArrow>
- <IconButton
- aria-label={label}
- aria-pressed={isCompact}
- flexShrink={0}
- size="md"
- variant="ghost"
- onClick={handleClick}
- >
+ <IconButton aria-label={label} aria-pressed={isCompact} flexShrink={0} variant="ghost" onClick={handleClick}>
<Icon as={isCompact ? ChevronsUpDownIcon : ChevronsDownUpIcon} boxSize="3.5" />
</IconButton>
</Tooltip>
@@ -424,7 +417,7 @@ const ModelManagerLinkButton = () => {
return (
<Tooltip content={t('models.manageModels')} showArrow>
- <IconButton aria-label={t('models.manageModels')} asChild flexShrink={0} size="md" variant="ghost">
+ <IconButton aria-label={t('models.manageModels')} asChild flexShrink={0} variant="ghost">
<Link search={search} to="/models">
<BoxIcon />
</Link>
@@ -521,7 +514,7 @@ const ModelOptionContent = ({
) : null}
<MiddleTruncate fontSize="md" minW="0" text={model.name} />
{showType ? (
- <Badge colorPalette="gray" flexShrink={0} fontSize="xs" size="md" variant="surface">
+ <Badge colorPalette="gray" flexShrink={0} fontSize="xs" variant="surface">
{getModelTypeLabel(model.type)}
</Badge>
) : null}
diff --git a/invokeai/frontend/webv2/src/features/models/ui/credentials/ApiKeysSection.tsx b/invokeai/frontend/webv2/src/features/models/ui/credentials/ApiKeysSection.tsx
index e420ea3a32..44c239d7ca 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/credentials/ApiKeysSection.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/credentials/ApiKeysSection.tsx
@@ -99,7 +99,6 @@ const ApiKeyCard = ({
aria-label={t('models.apiKeyFor', { title })}
disabled={isLoading}
placeholder={placeholder}
- size="md"
type="password"
value={draft}
onChange={(event) => setDraft(event.currentTarget.value)}
@@ -113,7 +112,6 @@ const ApiKeyCard = ({
<Button
disabled={draft.trim().length === 0 || isLoading}
loading={isBusy && draft.trim().length > 0}
- size="md"
variant="solid"
onClick={handleSave}
>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/credentials/ExternalProviderKeyCards.tsx b/invokeai/frontend/webv2/src/features/models/ui/credentials/ExternalProviderKeyCards.tsx
index bb7a49adc6..c6e5347ab1 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/credentials/ExternalProviderKeyCards.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/credentials/ExternalProviderKeyCards.tsx
@@ -214,7 +214,6 @@ const ExternalProviderKeyCard = ({
aria-label={t('models.apiKeyFor', { title })}
disabled={isBusy}
placeholder={config.api_key_configured ? t('models.apiKeyConfigured') : placeholder}
- size="md"
type="password"
value={apiKeyDraft}
onChange={(event) => setApiKeyDraft(event.currentTarget.value)}
@@ -229,7 +228,6 @@ const ExternalProviderKeyCard = ({
<Switch.Root
checked={overrideBaseUrl}
disabled={isBusy}
- size="md"
onCheckedChange={(event) => {
const checked = event.checked === true;
@@ -253,7 +251,6 @@ const ExternalProviderKeyCard = ({
aria-label={t('models.baseUrlFor', { title })}
disabled={isBusy}
placeholder="https://api.example.com"
- size="md"
value={baseUrlDraft}
onChange={(event) => setBaseUrlDraft(event.currentTarget.value)}
onKeyDown={(event) => {
@@ -270,7 +267,6 @@ const ExternalProviderKeyCard = ({
<Button
disabled={(!hasApiKeyDraft && !hasBaseUrlChange) || isBusy}
loading={isBusy}
- size="md"
variant="solid"
onClick={() => void handleSave()}
>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/CpuOnlySetting.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/CpuOnlySetting.tsx
index a08179e0ed..c4aaa22e50 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/detail/CpuOnlySetting.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/CpuOnlySetting.tsx
@@ -78,7 +78,6 @@ export const CpuOnlySetting = ({
checked={model.cpu_only === true}
colorPalette="accent"
disabled={isPending}
- size="md"
onCheckedChange={handleCheckedChange}
>
<Switch.HiddenInput />
diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/DefaultSettingsSection.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/DefaultSettingsSection.tsx
index 3b45dfac19..2f89b7bd3f 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/detail/DefaultSettingsSection.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/DefaultSettingsSection.tsx
@@ -223,13 +223,7 @@ export const DefaultSettingsSection = ({
{t('models.defaultSettingsHelp')}
</Text>
</Stack>
- <Button
- disabled={!isDirty}
- loading={visibleIsSaving}
- size="md"
- variant="solid"
- onClick={() => void handleSave()}
- >
+ <Button disabled={!isDirty} loading={visibleIsSaving} variant="solid" onClick={() => void handleSave()}>
{t('models.saveDefaults')}
</Button>
</HStack>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelDetail.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelDetail.tsx
index 0c09a8ab2b..e4b2787fb3 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelDetail.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelDetail.tsx
@@ -288,18 +288,18 @@ const ModelDetailActions = ({
return (
<HStack flexShrink={0} gap="1" wrap="wrap">
{isConvertibleToDiffusers(model) ? (
- <Button size="md" variant="outline" onClick={() => setPendingAction({ kind: 'convert', model })}>
+ <Button variant="outline" onClick={() => setPendingAction({ kind: 'convert', model })}>
<Icon as={HuggingFaceIcon} boxSize="3" />
{t('models.convertToDiffusers')}
</Button>
) : null}
- <Button size="md" variant={isEditing ? 'solid' : 'outline'} onClick={onToggleEditing}>
+ <Button variant={isEditing ? 'solid' : 'outline'} onClick={onToggleEditing}>
<Icon as={PencilIcon} boxSize="3" />
{isEditing ? t('models.editing') : t('common.edit')}
</Button>
<Menu.Root positioning={{ placement: 'bottom-end' }}>
<Menu.Trigger asChild>
- <IconButton aria-label={t('models.actions')} loading={isActionBusy} size="md" variant="ghost">
+ <IconButton aria-label={t('models.actions')} loading={isActionBusy} variant="ghost">
<Icon as={MoreHorizontalIcon} boxSize="4" />
</IconButton>
</Menu.Trigger>
@@ -466,7 +466,7 @@ const ModelAttributes = ({ isMissing, model }: { isMissing: boolean; model: Mode
return (
<>
- <DataList.Root gap="2.5" orientation="horizontal" size="md" variant="subtle">
+ <DataList.Root gap="2.5" orientation="horizontal" variant="subtle">
{attributes.map((attribute) => (
<DataList.Item key={attribute.label}>
<DataList.ItemLabel color="fg.subtle" fontSize="xs" minW="8rem" textTransform="uppercase">
diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelEditForm.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelEditForm.tsx
index abdba5fcd4..92f7139ad1 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelEditForm.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelEditForm.tsx
@@ -285,10 +285,10 @@ export const ModelEditForm = ({
</Text>
) : null}
<HStack gap="2" justify="flex-end">
- <Button disabled={form.isSubmitting} size="md" variant="ghost" onClick={onCancel}>
+ <Button disabled={form.isSubmitting} variant="ghost" onClick={onCancel}>
{t('common.cancel')}
</Button>
- <Button loading={form.isSubmitting} size="md" variant="solid" onClick={() => void handleSave()}>
+ <Button loading={form.isSubmitting} variant="solid" onClick={() => void handleSave()}>
{t('users.saveChanges')}
</Button>
</HStack>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx
index ae1a50430c..da08bf356f 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx
@@ -134,7 +134,7 @@ const RelatedModelsForModel = ({ model, onError }: RelatedModelsSectionProps) =>
/>
) : null}
{relatedKeys === null ? (
- <Spinner color="fg.subtle" size="md" />
+ <Spinner color="fg.subtle" />
) : relatedModels.length === 0 ? (
<Text color="fg.subtle" fontSize="xs">
{t('models.noRelatedModels')}
diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsx
index b96cf72691..e111d14ecc 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsx
@@ -90,13 +90,12 @@ export const UpdatePathDialog = ({
</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button disabled={isBusy} size="md" variant="ghost" onClick={onClose}>
+ <Button disabled={isBusy} variant="ghost" onClick={onClose}>
{t('common.cancel')}
</Button>
<Button
disabled={path.trim() === model.path}
loading={isBusy}
- size="md"
variant="solid"
onClick={() => void handleSave()}
>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallProgressCell.tsx b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallProgressCell.tsx
index 949e58b024..f38063e9cd 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallProgressCell.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallProgressCell.tsx
@@ -32,7 +32,6 @@ export const InstallProgressBar = ({
colorPalette={status === 'paused' ? 'gray' : 'accent'}
max={1}
minW="0"
- size="md"
value={value}
w="full"
>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueBar.tsx b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueBar.tsx
index 0a714bc343..6624f53c19 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueBar.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueBar.tsx
@@ -156,7 +156,6 @@ export const InstallQueueBar = () => {
ms="-2"
ps="2"
pe="3"
- size="md"
variant="ghost"
_hover={TOGGLE_HOVER}
onClick={() => setQueueExpanded(!queueExpanded)}
diff --git a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueTable.tsx b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueTable.tsx
index 28ac0936b9..2a3329778b 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueTable.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueTable.tsx
@@ -52,7 +52,7 @@ export const InstallQueueTable = ({
if (status === 'error') {
return (
<EmptyState danger description={error ?? undefined} h="full" title={t('models.couldNotLoadInstallQueue')}>
- <Button size="md" variant="outline" onClick={() => void refreshInstalls()}>
+ <Button variant="outline" onClick={() => void refreshInstalls()}>
{t('common.retry')}
</Button>
</EmptyState>
@@ -72,7 +72,7 @@ export const InstallQueueTable = ({
return (
<Scrollable h="full" label={t('models.installJobs')} minH="0">
- <Table.Root css={TABLE_SX} minW="32rem" size="md" tableLayout="fixed" w="full">
+ <Table.Root css={TABLE_SX} minW="32rem" tableLayout="fixed" w="full">
<Table.ColumnGroup>
<Table.Column w="2.25rem" />
<Table.Column />
diff --git a/invokeai/frontend/webv2/src/features/models/ui/launchpad/ModelsNotice.tsx b/invokeai/frontend/webv2/src/features/models/ui/launchpad/ModelsNotice.tsx
index 89905a1045..e68403c123 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/launchpad/ModelsNotice.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/launchpad/ModelsNotice.tsx
@@ -69,7 +69,7 @@ const InstallProgress = ({ count }: { count: number }) => {
return (
<Flex align="center" gap="2">
- <Spinner color="fg.muted" size="md" />
+ <Spinner color="fg.muted" />
<Text color="fg.muted" fontSize="md">
{t('models.launchpad.installing', { count })}
</Text>
@@ -108,7 +108,7 @@ const StarterBundleButton = ({ bundle, bundleKey }: { bundle: StarterModelBundle
}, [bundle.name, bundleKey, navigate]);
return (
- <Button size="md" variant="outline" onClick={handleOpen}>
+ <Button variant="outline" onClick={handleOpen}>
{bundle.name || bundleKey}
<Icon as={ArrowRightIcon} boxSize="3" color="fg.muted" />
</Button>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/library/ModelFilterBar.tsx b/invokeai/frontend/webv2/src/features/models/ui/library/ModelFilterBar.tsx
index 7cac53bb20..c55e0a93b2 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/library/ModelFilterBar.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/library/ModelFilterBar.tsx
@@ -64,7 +64,6 @@ export const ModelFilterBar = ({
<Input
aria-label={t('models.searchModels')}
placeholder={t('models.searchModelsPlaceholder')}
- size="md"
value={filters.searchTerm}
onChange={(event) => handleSearchChange(event.currentTarget.value)}
/>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsx b/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsx
index 46c26831f6..7782271b6c 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsx
@@ -145,7 +145,6 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {
}
colorPalette="accent"
ps="2"
- size="md"
onCheckedChange={() => {
setSelectedPaths(
selectedPaths.size === orphans.length
@@ -165,7 +164,6 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {
<Checkbox.Root
checked={selectedPaths.has(orphan.path)}
colorPalette="accent"
- size="md"
onCheckedChange={() => togglePath(orphan.path)}
>
<Checkbox.HiddenInput />
@@ -185,14 +183,13 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {
)}
</Dialog.Body>
<Dialog.Footer>
- <Button disabled={isDeleting} size="md" variant="ghost" onClick={onClose}>
+ <Button disabled={isDeleting} variant="ghost" onClick={onClose}>
{t('common.close')}
</Button>
<Button
colorPalette="red"
disabled={selectedPaths.size === 0 || !orphans || orphans.length === 0}
loading={isDeleting}
- size="md"
variant="solid"
onClick={() => void handleDelete()}
>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsx b/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsx
index 1d018d40f2..c90418e8a4 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsx
@@ -90,7 +90,7 @@ export const ModelFilterMenu = <Field extends ModelSortField>({
return (
<Menu.Root closeOnSelect={false} positioning={ROOT_POSITIONING}>
<Menu.Trigger asChild>
- <IconButton aria-label={ariaLabel} color={isActive ? 'accent.solid' : 'fg.muted'} size="md" variant="outline">
+ <IconButton aria-label={ariaLabel} color={isActive ? 'accent.solid' : 'fg.muted'} variant="outline">
<Icon as={SlidersHorizontalIcon} boxSize="4" />
</IconButton>
</Menu.Trigger>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/shared/ResultsListHeader.tsx b/invokeai/frontend/webv2/src/features/models/ui/shared/ResultsListHeader.tsx
index bf3b45e190..d4748c130a 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/shared/ResultsListHeader.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/shared/ResultsListHeader.tsx
@@ -52,12 +52,11 @@ export const ResultsListHeader = ({
<Input
aria-label={resolvedSearchPlaceholder}
placeholder={resolvedSearchPlaceholder}
- size="md"
value={searchValue}
onChange={handleSearchChange}
/>
</InputGroup>
- <Button disabled={installAllDisabled} flexShrink={0} size="md" variant="outline" onClick={onInstallAll}>
+ <Button disabled={installAllDisabled} flexShrink={0} variant="outline" onClick={onInstallAll}>
<Icon as={DownloadIcon} boxSize="3" />
{installAllLabel}
</Button>
diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeInstallLog.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeInstallLog.tsx
index cb8eda3a51..c90cfd8612 100644
--- a/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeInstallLog.tsx
+++ b/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeInstallLog.tsx
@@ -38,7 +38,7 @@ export const NodeInstallLog = () => {
return (
<Scrollable h="full" label={t('nodes.installActivity')} minH="0">
- <Table.Root css={INSTALL_LOG_TABLE_SX} minW="36rem" size="md">
+ <Table.Root css={INSTALL_LOG_TABLE_SX} minW="36rem">
<Table.Header>
<Table.Row>
<Table.ColumnHeader borderColor="border.subtle" ps="3">
diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/add-nodes/AddNodesView.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/add-nodes/AddNodesView.tsx
index f6d8a198ab..482083dc46 100644
--- a/invokeai/frontend/webv2/src/features/nodes/ui/add-nodes/AddNodesView.tsx
+++ b/invokeai/frontend/webv2/src/features/nodes/ui/add-nodes/AddNodesView.tsx
@@ -131,7 +131,7 @@ export const AddNodesView = () => {
return (
<Scrollable h="full" label={t('nodes.addNodes')} minH="0" p="3">
<Stack gap="4" maxW="44rem">
- <Alert.Root borderRadius="md" size="md" status="warning" variant="surface">
+ <Alert.Root borderRadius="md" status="warning" variant="surface">
<Alert.Indicator />
<Alert.Title fontSize="md">{t('nodes.trustWarning')}</Alert.Title>
</Alert.Root>
diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePackDetail.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePackDetail.tsx
index 2ea2df3a99..9b188dfaee 100644
--- a/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePackDetail.tsx
+++ b/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePackDetail.tsx
@@ -99,7 +99,7 @@ const UninstallButton = ({ onUninstalled, pack }: { onUninstalled: () => void; p
return (
<>
- <Button colorPalette="red" flexShrink={0} size="md" variant="outline" onClick={() => setIsConfirmOpen(true)}>
+ <Button colorPalette="red" flexShrink={0} variant="outline" onClick={() => setIsConfirmOpen(true)}>
<Icon as={Trash2Icon} boxSize="3" />
{t('nodes.uninstall')}
</Button>
diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsx
index f60cc6600c..43bbb90203 100644
--- a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsx
+++ b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsx
@@ -41,7 +41,6 @@ export const NodePackFilterMenu = ({
<IconButton
aria-label={t('nodes.filterAndSort')}
color={isActive ? 'accent.solid' : 'fg.muted'}
- size="md"
variant="outline"
>
<Icon as={SlidersHorizontalIcon} boxSize="4" />
diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackList.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackList.tsx
index 541f4acccd..399dd7dc4d 100644
--- a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackList.tsx
+++ b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackList.tsx
@@ -90,7 +90,6 @@ export const NodePackList = ({
<Input
aria-label={t('nodes.searchPacks')}
placeholder={t('nodes.searchPacksPlaceholder')}
- size="md"
value={filters.searchTerm}
onChange={(event) => onFiltersChange({ ...filters, searchTerm: event.currentTarget.value })}
/>
diff --git a/invokeai/frontend/webv2/src/features/queue/ui/ModelCacheFooter.tsx b/invokeai/frontend/webv2/src/features/queue/ui/ModelCacheFooter.tsx
index d4046e865c..bc63593314 100644
--- a/invokeai/frontend/webv2/src/features/queue/ui/ModelCacheFooter.tsx
+++ b/invokeai/frontend/webv2/src/features/queue/ui/ModelCacheFooter.tsx
@@ -98,7 +98,6 @@ export const ModelCacheFooter = () => {
colorPalette="accent"
max={1}
role="progressbar"
- size="md"
value={ratio}
>
<Progress.Track bg="transparent">
diff --git a/invokeai/frontend/webv2/src/features/queue/ui/QueueItemDetails.tsx b/invokeai/frontend/webv2/src/features/queue/ui/QueueItemDetails.tsx
index 1a43fcac7c..35e924adb7 100644
--- a/invokeai/frontend/webv2/src/features/queue/ui/QueueItemDetails.tsx
+++ b/invokeai/frontend/webv2/src/features/queue/ui/QueueItemDetails.tsx
@@ -40,7 +40,7 @@ export const QueueItemDetails = ({ item }: { item: QueueItemReadModel }) => {
const deviceLabel = useDeviceLabel(item.device);
return (
- <DataList.Root gap="1.5" orientation="horizontal" size="md">
+ <DataList.Root gap="1.5" orientation="horizontal">
<DetailRow label={t('common.prompt')}>{meta.positivePrompt ?? '—'}</DetailRow>
<DetailRow label={t('common.negative')}>{meta.negativePrompt ?? '—'}</DetailRow>
<DetailRow label={t('common.seed')}>
diff --git a/invokeai/frontend/webv2/src/features/queue/ui/QueueStats.tsx b/invokeai/frontend/webv2/src/features/queue/ui/QueueStats.tsx
index da98e80ebb..34db73affb 100644
--- a/invokeai/frontend/webv2/src/features/queue/ui/QueueStats.tsx
+++ b/invokeai/frontend/webv2/src/features/queue/ui/QueueStats.tsx
@@ -4,7 +4,7 @@ import { useTranslation } from 'react-i18next';
import { useQueueCounts } from './queueDataStore';
const QueueStatCard = ({ value, label, danger }: { value: number; label: string; danger?: boolean }) => (
- <Stat.Root size="md" colorScheme={danger ? 'red' : undefined} gap="0">
+ <Stat.Root colorScheme={danger ? 'red' : undefined} gap="0">
<Stat.Label fontSize="md" order="2">
{label}
</Stat.Label>
diff --git a/invokeai/frontend/webv2/src/features/queue/ui/QueueStepProgress.tsx b/invokeai/frontend/webv2/src/features/queue/ui/QueueStepProgress.tsx
index 6f06a009e2..2cb01c6b32 100644
--- a/invokeai/frontend/webv2/src/features/queue/ui/QueueStepProgress.tsx
+++ b/invokeai/frontend/webv2/src/features/queue/ui/QueueStepProgress.tsx
@@ -13,7 +13,6 @@ export const QueueStepProgress = ({ message, percentage }: { message: string; pe
aria-label={t('widgets.queue.itemProgress')}
colorPalette="accent"
max={1}
- size="md"
value={percentage}
w="full"
>
diff --git a/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsx b/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsx
index 97db5e7db6..809eb247cf 100644
--- a/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsx
+++ b/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsx
@@ -48,7 +48,7 @@ export const QueueStatusBand = () => {
>
{/* Animate only running work; waiting-only queues use a static glyph. */}
{inProgress > 0 ? (
- <Spinner color="fg.muted" size="md" />
+ <Spinner color="fg.muted" />
) : (
<Icon aria-hidden as={HourglassIcon} boxSize="3.5" color="fg.muted" />
)}
diff --git a/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleWidgetView.tsx b/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleWidgetView.tsx
index 8c143f0688..b7b0b0f695 100644
--- a/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleWidgetView.tsx
+++ b/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleWidgetView.tsx
@@ -123,7 +123,7 @@ const UpscaleOutputPreflight = memo(
return (
<Stack bg="bg.subtle" gap="2" px="2.5" py="2" rounded="md">
- <DataList.Root gap="1.5" orientation="horizontal" size="md">
+ <DataList.Root gap="1.5" orientation="horizontal">
<DataList.Item>
<DataList.ItemLabel color="fg.subtle" fontSize="xs">
{t('widgets.upscale.inputSize')}
@@ -178,7 +178,7 @@ const UpscaleOutputPreflight = memo(
>
{MEGAPIXEL_FORMATTER.format(outputMegapixels)} MP
{isLargeOutput ? (
- <Badge colorPalette="orange" fontFamily="body" size="md" variant="surface">
+ <Badge colorPalette="orange" fontFamily="body" variant="surface">
{t('widgets.upscale.largeOutput')}
</Badge>
) : null}
@@ -440,14 +440,7 @@ export const UpscaleWidgetView = () => {
[patch]
);
- const sharedBadge = useMemo(
- () => (
- <Badge fontFamily="mono" size="md">
- {t('widgets.upscale.shared')}
- </Badge>
- ),
- [t]
- );
+ const sharedBadge = useMemo(() => <Badge fontFamily="mono">{t('widgets.upscale.shared')}</Badge>, [t]);
return (
<Stack gap={1} minW={0} p="1">
@@ -471,7 +464,6 @@ export const UpscaleWidgetView = () => {
invalid={!values.upscaleModel}
modelTypes={SPANDREL_MODEL_TYPES}
placeholder={t('widgets.upscale.selectSpandrelModel')}
- size="md"
value={values.upscaleModel?.key ?? null}
onChange={set.spandrelModel}
/>
@@ -491,7 +483,6 @@ export const UpscaleWidgetView = () => {
/>
<SegmentGroup.Root
aria-label={t('widgets.upscale.presetsLabel')}
- size="md"
value={activePresetId}
w="full"
onValueChange={applyPreset}
@@ -571,7 +562,6 @@ export const UpscaleWidgetView = () => {
invalid={!values.model}
modelTypes={MAIN_MODEL_TYPES}
placeholder={t('widgets.upscale.selectMainModel')}
- size="md"
value={values.model?.key ?? null}
onChange={selectMainModel}
/>
@@ -603,7 +593,6 @@ export const UpscaleWidgetView = () => {
<Combobox
aria-label={t('widgets.upscale.scheduler')}
options={SCHEDULER_OPTIONS}
- size="md"
value={values.scheduler}
onValueChange={set.scheduler}
/>
@@ -623,7 +612,6 @@ export const UpscaleWidgetView = () => {
modelTypes={LORA_MODEL_TYPES}
placeholder={t('widgets.upscale.searchCompatibleConcepts')}
scopeLabel={t('models.scopeConcepts')}
- size="md"
value={null}
onChange={addLora}
/>
@@ -658,7 +646,6 @@ export const UpscaleWidgetView = () => {
invalid={!values.tileControlnetModel}
modelTypes={CONTROLNET_MODEL_TYPES}
placeholder={t('widgets.upscale.selectTileControlNet')}
- size="md"
value={values.tileControlnetModel?.key ?? null}
onChange={setTileControlNet}
/>
@@ -675,7 +662,6 @@ export const UpscaleWidgetView = () => {
invalid={!values.t5EncoderModel}
modelTypes={T5_ENCODER_MODEL_TYPES}
placeholder={t('widgets.upscale.selectT5Encoder')}
- size="md"
value={values.t5EncoderModel?.key ?? null}
onChange={setT5Encoder}
/>
@@ -689,7 +675,6 @@ export const UpscaleWidgetView = () => {
invalid={!values.clipEmbedModel}
modelTypes={CLIP_EMBED_MODEL_TYPES}
placeholder={t('widgets.upscale.selectClipEmbed')}
- size="md"
value={values.clipEmbedModel?.key ?? null}
onChange={setClipEmbed}
/>
@@ -732,7 +717,6 @@ export const UpscaleWidgetView = () => {
isClearable={!showComponentPickers}
modelTypes={VAE_MODEL_TYPES}
placeholder={showComponentPickers ? t('widgets.upscale.selectVae') : t('widgets.upscale.bundledVae')}
- size="md"
value={values.vae?.key ?? null}
onChange={set.vae}
/>
@@ -741,7 +725,6 @@ export const UpscaleWidgetView = () => {
<Select
aria-label={t('widgets.upscale.vaePrecision')}
collection={VAE_PRECISION_COLLECTION}
- size="md"
value={vaePrecisionValue}
onValueChange={set.vaePrecision}
/>
diff --git a/invokeai/frontend/webv2/src/features/video/ui/TrimBoundThumb.tsx b/invokeai/frontend/webv2/src/features/video/ui/TrimBoundThumb.tsx
index c111d38032..a3b05ac822 100644
--- a/invokeai/frontend/webv2/src/features/video/ui/TrimBoundThumb.tsx
+++ b/invokeai/frontend/webv2/src/features/video/ui/TrimBoundThumb.tsx
@@ -68,7 +68,7 @@ export const TrimBoundThumb = memo(function TrimBoundThumb({
w="20"
>
<video key={src} ref={videoRef} muted preload="metadata" src={src} style={PREVIEW_VIDEO_STYLE} />
- <Badge bottom="0.5" insetInlineStart="0.5" pointerEvents="none" position="absolute" size="md" variant="solid">
+ <Badge bottom="0.5" insetInlineStart="0.5" pointerEvents="none" position="absolute" variant="solid">
{label}
</Badge>
{onFindInGallery ? <FindInGalleryThumbnailButton name={name} onFind={onFindInGallery} /> : null}
diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx
index ddb081f6bd..83de12e138 100644
--- a/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx
+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx
@@ -76,7 +76,6 @@ const ComponentSlotRow = memo(function ComponentSlotRow({
isClearable
modelTypes={slot.modelTypes}
placeholder={t('widgets.video.selectComponent')}
- size="md"
value={value?.key ?? null}
onChange={handleChange}
/>
diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoConceptsSection.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoConceptsSection.tsx
index bef448b222..9df9684997 100644
--- a/invokeai/frontend/webv2/src/features/video/ui/VideoConceptsSection.tsx
+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoConceptsSection.tsx
@@ -77,7 +77,6 @@ export const VideoConceptsSection = memo(
modelTypes={LORA_MODEL_TYPES}
placeholder={t('widgets.video.addLora')}
scopeLabel={t('models.scopeConcepts')}
- size="md"
value={null}
onChange={addLora}
/>
diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoConditioningClipField.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoConditioningClipField.tsx
index fe69531b34..f411c8a907 100644
--- a/invokeai/frontend/webv2/src/features/video/ui/VideoConditioningClipField.tsx
+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoConditioningClipField.tsx
@@ -120,7 +120,6 @@ export const VideoConditioningClipField = memo(
<Select
collection={roleCollection}
disabled={disabled}
- size="md"
value={roleValue}
onValueChange={handleRoleChange}
/>
diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoLengthControls.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoLengthControls.tsx
index 002ab2adce..f9aa786bc9 100644
--- a/invokeai/frontend/webv2/src/features/video/ui/VideoLengthControls.tsx
+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoLengthControls.tsx
@@ -76,7 +76,6 @@ export const VideoLengthControls = ({
<Switch.Root
checked={autoDuration && autoDurationSupported}
disabled={!autoDurationSupported}
- size="md"
onCheckedChange={onAutoDurationChange}
>
<Switch.HiddenInput />
diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsx
index ee8abdaee7..c030012567 100644
--- a/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsx
+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsx
@@ -256,24 +256,18 @@ const ReferenceCard = memo(function ReferenceCard({
<HStack gap="1">
{/* Render prompt tokens verbatim in LTR order; modality counters differ from card positions. */}
{promptLabels.map((label) => (
- <Badge key={label} dir="ltr" flexShrink={0} size="md" userSelect="text" variant="solid">
+ <Badge key={label} dir="ltr" flexShrink={0} userSelect="text" variant="solid">
{label}
</Badge>
))}
<MiddleTruncate flex="1" fontSize="md" text={name} />
{reference.kind === 'video' && reference.fromSourceVideo === true ? (
- <Badge flexShrink={0} size="md" variant="outline">
+ <Badge flexShrink={0} variant="outline">
{t('widgets.video.referenceFromInitialVideo')}
</Badge>
) : null}
</HStack>
- <Select
- collection={selectCollection}
- disabled={disabled}
- size="md"
- value={selectValue}
- onValueChange={handleSelect}
- />
+ <Select collection={selectCollection} disabled={disabled} value={selectValue} onValueChange={handleSelect} />
{imageCost ? (
<Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">
{t('widgets.video.referenceImageCost', {
@@ -740,18 +734,18 @@ export const VideoReferenceListField = memo(function VideoReferenceListField({
selection={pickerSelection}
onPick={handlePick}
>
- <Button disabled={isInert || (!canAddImage && !canAddVideo)} size="md" variant="outline" w="full">
- {isLoading ? <Spinner size="md" /> : <Icon as={ImagePlusIcon} boxSize="3.5" />}
+ <Button disabled={isInert || (!canAddImage && !canAddVideo)} variant="outline" w="full">
+ {isLoading ? <Spinner /> : <Icon as={ImagePlusIcon} boxSize="3.5" />}
{t('widgets.video.chooseReference')}
<Icon as={ChevronDownIcon} boxSize="3" color="fg.subtle" />
</Button>
</GalleryPickerPopover>
<HStack gap="1" justify="center">
- <Button disabled={isInert || !canAddImage} size="md" variant="ghost" onClick={handlePickImage}>
+ <Button disabled={isInert || !canAddImage} variant="ghost" onClick={handlePickImage}>
<UploadIcon size={12} />
{t('widgets.video.uploadImageReference')}
</Button>
- <Button disabled={isInert || !canAddVideo} size="md" variant="ghost" onClick={handlePickVideo}>
+ <Button disabled={isInert || !canAddVideo} variant="ghost" onClick={handlePickVideo}>
<UploadIcon size={12} />
{t('widgets.video.uploadVideoReference')}
</Button>
diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx
index bbbd215bcf..2e03f6a5a3 100644
--- a/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx
+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx
@@ -515,7 +515,6 @@ export const VideoWidgetView = () => {
invalid={!values.model}
modelTypes={MAIN_MODEL_TYPES}
placeholder={t('widgets.video.selectModel')}
- size="md"
value={values.model?.key ?? null}
onChange={selectMainModel}
/>
@@ -673,7 +672,6 @@ export const VideoWidgetView = () => {
collection={ASPECT_RATIO_COLLECTION}
disabled={hasConditioningMedia}
flex="1"
- size="md"
value={aspectRatioValue}
valueText={derivedSourceValueText}
onValueChange={set.aspectRatio}
@@ -681,7 +679,6 @@ export const VideoWidgetView = () => {
<IconButton
aria-label={t('widgets.video.swapAspectRatio')}
disabled={hasConditioningMedia}
- size="md"
variant="ghost"
onClick={swapAspectRatio}
>
@@ -692,7 +689,6 @@ export const VideoWidgetView = () => {
<Field helpText={twoStageHelpText} label={t('widgets.video.targetResolution')}>
<Select
collection={targetResolutionCollection}
- size="md"
value={targetResolutionValue}
onValueChange={set.targetResolution}
/>
@@ -747,7 +743,7 @@ export const VideoWidgetView = () => {
})}
label={t('widgets.video.accelerator', { label: policy.ui.accelerator.label })}
>
- <Switch.Root checked={values.acceleratorEnabled} size="md" onCheckedChange={toggleAccelerator}>
+ <Switch.Root checked={values.acceleratorEnabled} onCheckedChange={toggleAccelerator}>
<Switch.HiddenInput />
<Switch.Control _checked={SWITCH_CHECKED_PROPS}>
<Switch.Thumb />
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsx
index cf1e78aff2..1b46dc644d 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsx
@@ -240,7 +240,7 @@ const NodeResultRow = ({
</Text>
) : null}
</Stack>
- <Badge size="md" variant="outline" fontFamily="mono">
+ <Badge variant="outline" fontFamily="mono">
{row.nodePack}
</Badge>
</HStack>
@@ -735,7 +735,7 @@ const AddNodeDialogContent = ({
</Tooltip>
) : null}
</HStack>
- <ScrollArea.Root flex="1" minH="0" size="md" variant="hover" w="full">
+ <ScrollArea.Root flex="1" minH="0" variant="hover" w="full">
<ScrollArea.Viewport ref={setScrollElement} h="full" w="full">
<ScrollArea.Content id={RESULT_LIST_ID} aria-label="Node search results" role="tree" w="full">
{body}
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/EditorToolbar.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/EditorToolbar.tsx
index 86e6b551be..8b78516815 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/EditorToolbar.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/EditorToolbar.tsx
@@ -183,7 +183,6 @@ export const EditorToolbar = ({
<IconButton
aria-label="Node opacity"
aria-pressed={nodeOpacity < 1}
- size="md"
variant={nodeOpacity < 1 ? 'solid' : 'ghost'}
>
<Icon as={BlendIcon} boxSize="3.5" />
@@ -198,14 +197,7 @@ export const EditorToolbar = ({
<Text color="fg.muted" fontSize="xs" fontWeight="600">
Node opacity · {Math.round(nodeOpacity * 100)}%
</Text>
- <Slider.Root
- max={100}
- min={20}
- size="md"
- step={5}
- value={opacityValue}
- onValueChange={onSliderValueChange}
- >
+ <Slider.Root max={100} min={20} step={5} value={opacityValue} onValueChange={onSliderValueChange}>
<Slider.Control>
<Slider.Track>
<Slider.Range />
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/InvocationFlowNode.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/InvocationFlowNode.tsx
index 62bf856fec..6ab67ac8d9 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/InvocationFlowNode.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/InvocationFlowNode.tsx
@@ -226,7 +226,6 @@ const InlineLabelInput = ({
flex="1"
fontSize={fontSize}
minW="0"
- size="md"
value={draft}
onBlur={() => {
if (!isCancelled.current && draft.trim() !== initialValue) {
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/NotesFlowNode.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/NotesFlowNode.tsx
index cc14a3b51c..9f8403fa80 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/NotesFlowNode.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/NotesFlowNode.tsx
@@ -66,7 +66,6 @@ const NotesEditorNode = ({ data, selected }: NodeProps<NotesFlowNodeType>) => {
className="nodrag"
fontWeight="700"
mb="1.5"
- size="md"
value={node.data.label}
variant="flushed"
onChange={onLabelChange}
@@ -78,7 +77,6 @@ const NotesEditorNode = ({ data, selected }: NodeProps<NotesFlowNodeType>) => {
minH="5rem"
placeholder="Write a note…"
resize="vertical"
- size="md"
value={node.data.notes}
onChange={onNotesChange}
/>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/FieldDescriptionPopover.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/FieldDescriptionPopover.tsx
index 5f5b7cbdd5..aa52609cca 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/FieldDescriptionPopover.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/FieldDescriptionPopover.tsx
@@ -61,7 +61,6 @@ export const FieldDescriptionPopover = ({
minH="4rem"
placeholder={templateDescription || 'Describe this field…'}
resize="vertical"
- size="md"
value={description ?? ''}
onChange={onDescriptionChange}
/>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsx
index ea3a0a0597..5007d0f610 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsx
@@ -227,7 +227,6 @@ const InputSetting = ({ id, value, onCommit }: { id: string; value: string; onCo
id={id}
resize="none"
rows={4}
- size="md"
value={value}
onChange={onTextChange}
/>
@@ -504,7 +503,6 @@ export const GeneratorFieldInput = ({ id, invalid, onChange, template, value }:
className="nodrag"
collection={variantCollection}
invalid={invalid}
- size="md"
value={variantValue}
valueTextProps={SELECT_VALUE_TEXT_PROPS}
w="full"
@@ -611,13 +609,7 @@ export const GeneratorFieldInput = ({ id, invalid, onChange, template, value }:
<chakra.label color="fg.subtle" flexShrink={0} fontSize="xs" htmlFor={`${prefix}-split-on`}>
{t('nodes.splitOn')}
</chakra.label>
- <Input
- className="nodrag"
- id={`${prefix}-split-on`}
- size="md"
- value={generator.splitOn}
- onChange={onSplitOnChange}
- />
+ <Input className="nodrag" id={`${prefix}-split-on`} value={generator.splitOn} onChange={onSplitOnChange} />
</HStack>
<InputSetting id={`${prefix}-input`} value={generator.input} onCommit={onInputChange} />
</Stack>
@@ -663,7 +655,6 @@ export const GeneratorFieldInput = ({ id, invalid, onChange, template, value }:
aria-label={t('nodes.generatorImagesCategory')}
className="nodrag"
collection={categoryCollection}
- size="md"
value={categoryValue}
valueTextProps={SELECT_VALUE_TEXT_PROPS}
w="full"
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/NumericInput.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/NumericInput.tsx
index b6c1635aa0..7980a68ab3 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/NumericInput.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/NumericInput.tsx
@@ -159,7 +159,6 @@ export const NumericInput = ({
max={max !== undefined ? String(max) : undefined}
min={min !== undefined ? String(min) : undefined}
fontVariantNumeric="tabular-nums"
- size="md"
step={
multipleOf !== undefined ? String(multipleOf) : step !== undefined ? String(step) : isInteger ? '1' : FLOAT_STEP
}
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/RecordPickerInput.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/RecordPickerInput.tsx
index 24175a8750..1e77d03daf 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/RecordPickerInput.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/RecordPickerInput.tsx
@@ -82,7 +82,6 @@ const RecordPickerInput = ({
aria-label={t('common.retry')}
className="nodrag"
disabled={isFetching}
- size="md"
variant="ghost"
onClick={onRetry}
>
@@ -92,7 +91,7 @@ const RecordPickerInput = ({
) : null}
{selectedId !== null ? (
<Tooltip content={labels.clear}>
- <IconButton aria-label={labels.clear} className="nodrag" size="md" variant="ghost" onClick={onClear}>
+ <IconButton aria-label={labels.clear} className="nodrag" variant="ghost" onClick={onClear}>
<XIcon />
</IconButton>
</Tooltip>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/WorkflowFieldInput.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/WorkflowFieldInput.tsx
index c41357c875..913347f2b5 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/WorkflowFieldInput.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/WorkflowFieldInput.tsx
@@ -122,12 +122,12 @@ import { useTranslation } from 'react-i18next';
const ModelSelect = lazy(() => import('@features/models/react').then((module) => ({ default: module.ModelSelect })));
const MODEL_SELECT_FALLBACK = (
- <Button disabled size="md" w="full">
+ <Button disabled w="full">
Loading models…
</Button>
);
const RECORD_PICKER_FALLBACK = (
- <Button disabled size="md" w="full">
+ <Button disabled w="full">
Loading…
</Button>
);
@@ -192,7 +192,6 @@ const StringInput = ({ ariaLabel, id, invalid, onChange, template, value }: Scal
id={id ? `${id}-textarea` : undefined}
minHeightPx={56}
resizeHandleAriaLabel={`Resize ${template.title}`}
- size="md"
value={text}
w="full"
{...invalidProps(invalid)}
@@ -207,7 +206,6 @@ const StringInput = ({ ariaLabel, id, invalid, onChange, template, value }: Scal
aria-label={ariaLabel ?? template.title}
className="nodrag"
id={id ? `${id}-input` : undefined}
- size="md"
value={text}
w="full"
{...invalidProps(invalid)}
@@ -287,7 +285,6 @@ const BooleanInput = ({ id, invalid, onChange, template, value }: WorkflowFieldI
className="nodrag"
ids={switchIds}
invalid={invalid}
- size="md"
onCheckedChange={onCheckedChange}
>
<Switch.HiddenInput aria-label={template.title} {...invalidProps(invalid)} />
@@ -340,7 +337,6 @@ const SelectInput = ({
collection={collection}
ids={selectIds}
invalid={invalid}
- size="md"
value={selectedValue}
valueTextProps={SELECT_VALUE_TEXT_PROPS}
w="full"
@@ -374,7 +370,6 @@ const EnumInput = ({ id, invalid, onChange, template, value }: WorkflowFieldInpu
id={id ? `${id}-scheduler-combobox` : undefined}
invalid={invalid}
options={options}
- size="md"
value={typeof value === 'string' ? value : null}
onValueChange={onOptionChange}
/>
@@ -427,7 +422,6 @@ const ModelIdentifierInput = ({ id, invalid, onChange, template, value }: Workfl
invalid={invalid}
isClearable={false}
modelTypes={modelTypes}
- size="md"
value={selectedKey}
onChange={onModelChange}
/>
@@ -442,7 +436,6 @@ const SchedulerInput = ({ id, invalid, onChange, template, value }: WorkflowFiel
id={id ? `${id}-scheduler-combobox` : undefined}
invalid={invalid}
options={SCHEDULER_OPTIONS}
- size="md"
value={typeof value === 'string' ? value : null}
onValueChange={onChange}
/>
@@ -1062,7 +1055,6 @@ const MediaInput = ({ id, invalid, kind, onChange, value }: WorkflowFieldInputPr
insetInlineEnd="1"
pointerEvents="none"
position="absolute"
- size="md"
variant="solid"
>
{badge}
@@ -1262,7 +1254,6 @@ const FrameScrubber = ({
insetInlineEnd="1"
pointerEvents="none"
position="absolute"
- size="md"
variant="solid"
>
{`${resolvedIndex} / ${frameCount - 1}`}
@@ -1274,7 +1265,6 @@ const FrameScrubber = ({
aria-label={FRAME_SLIDER_ARIA_LABEL}
max={frameCount - 1}
min={0}
- size="md"
step={1}
value={sliderValue}
withThumbTooltip
@@ -1384,7 +1374,6 @@ const LoRACollectionInput = ({ id, invalid, onChange, template, value }: Workflo
invalid={invalid}
modelTypes={(template.uiModelType as ModelTaxonomyType[] | null) ?? LORA_MODEL_TYPES}
placeholder="Add LoRA…"
- size="md"
value={null}
onChange={onAdd}
/>
@@ -1734,13 +1723,7 @@ const SavedWorkflowInput = ({ nodeId, onChange, template, value }: WorkflowField
onValueChange={onWorkflowChange}
/>
{nodeId && workflowId && detailQuery.isError ? (
- <IconButton
- aria-label={t('common.retry')}
- className="nodrag"
- size="md"
- variant="ghost"
- onClick={retrySelection}
- >
+ <IconButton aria-label={t('common.retry')} className="nodrag" variant="ghost" onClick={retrySelection}>
<RotateCcwIcon />
</IconButton>
) : null}
@@ -1748,7 +1731,6 @@ const SavedWorkflowInput = ({ nodeId, onChange, template, value }: WorkflowField
<IconButton
aria-label={t('nodes.savedWorkflowClear')}
className="nodrag"
- size="md"
variant="ghost"
onClick={clearSelection}
>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewDialog.tsx
index a07f978a19..743081a543 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewDialog.tsx
@@ -275,7 +275,7 @@ export const GraphPreviewDialog = ({
</Dialog.Body>
<Dialog.Footer justifyContent="space-between">
<Box display="flex" gap="2">
- <Button disabled={!graph} size="md" variant="outline" onClick={copyJson}>
+ <Button disabled={!graph} variant="outline" onClick={copyJson}>
<Icon
as={hasCopied ? CheckIcon : CopyIcon}
boxSize="3.5"
@@ -290,7 +290,7 @@ export const GraphPreviewDialog = ({
sourceLabel={sourceLabel}
onClose={closeDialog}
>
- <Button size="md" variant="outline">
+ <Button variant="outline">
{t('graphPreview.openAs')}
<Icon as={ChevronUpIcon} boxSize="3.5" />
</Button>
@@ -303,14 +303,13 @@ export const GraphPreviewDialog = ({
aria-disabled={!canInvoke}
cursor={canInvoke ? undefined : 'not-allowed'}
opacity={canInvoke ? undefined : 0.6}
- size="md"
title={validationMessage}
onClick={invokeRoute}
>
{t('graphPreview.invokeRoute', { route: dialogRoute.label })}
</Button>
) : null}
- <Button size="md" variant="ghost" onClick={closeDialog}>
+ <Button variant="ghost" onClick={closeDialog}>
{t('common.close')}
</Button>
</Box>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewFlow.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewFlow.tsx
index 87c6f46610..28b71abab0 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewFlow.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewFlow.tsx
@@ -87,7 +87,7 @@ const PreviewNode = ({ data }: NodeProps<PreviewFlowNode>) => {
<Handle position={Position.Left} style={handleStyle} type="target" />
<Handle position={Position.Right} style={handleStyle} type="source" />
<Stack gap="0.5" px="3" py="2">
- <Badge fontFamily="mono" size="md" w="fit-content">
+ <Badge fontFamily="mono" w="fit-content">
{data.nodeType}
</Badge>
<Text color="fg.subtle" fontSize="xs" truncate>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewSidePanel.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewSidePanel.tsx
index 311d540c1c..0c2240e6fa 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewSidePanel.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewSidePanel.tsx
@@ -101,7 +101,7 @@ const GraphSummary = ({
{t('graphPreview.selectNode')}
</Text>
</Stack>
- <DataList.Root gap="1.5" orientation="horizontal" size="md">
+ <DataList.Root gap="1.5" orientation="horizontal">
<DataList.Item>
<DataList.ItemLabel fontSize="xs">{t('graphPreview.nodes')}</DataList.ItemLabel>
<DataList.ItemValue fontSize="xs" minW="0">
@@ -219,7 +219,7 @@ const NodeInspector = ({
<ArrowLeftIcon />
</IconButton>
<Stack gap="0" minW="0">
- <Badge fontFamily="mono" size="md" w="fit-content">
+ <Badge fontFamily="mono" w="fit-content">
{node.type}
</Badge>
<Text color="fg.muted" fontSize="xs" truncate>
@@ -257,7 +257,7 @@ const NodeInspector = ({
<Text color="fg.muted" fontSize="xs" fontWeight="semibold">
{t('graphPreview.resolvedInputs')}
</Text>
- <DataList.Root gap="1.5" orientation="horizontal" size="md">
+ <DataList.Root gap="1.5" orientation="horizontal">
{resolvedFields.map(({ field, value }) => {
const { display, isTruncated } = truncateForDisplay(value);
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/LibraryCopyChoiceDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/LibraryCopyChoiceDialog.tsx
index 9d1efef4f5..73355a521c 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/LibraryCopyChoiceDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/LibraryCopyChoiceDialog.tsx
@@ -175,7 +175,6 @@ const LibraryCopyChoiceContent = ({
<Select
collection={copyCollection}
portalled={false}
- size="md"
value={selectValue}
onValueChange={handleCopyChange}
/>
@@ -189,16 +188,15 @@ const LibraryCopyChoiceContent = ({
disabled={isBusy}
loading={pending === 'replace'}
me="auto"
- size="md"
variant="outline"
onClick={handleReplace}
>
{t('workflowLibrary.copyChoice.replace')}
</Button>
- <Button disabled={isBusy} loading={pending === 'add'} size="md" variant="outline" onClick={handleAdd}>
+ <Button disabled={isBusy} loading={pending === 'add'} variant="outline" onClick={handleAdd}>
{t('workflowLibrary.copyChoice.addCopy')}
</Button>
- <Button ref={openButtonRef} disabled={isBusy} size="md" variant="solid" onClick={handleResume}>
+ <Button ref={openButtonRef} disabled={isBusy} variant="solid" onClick={handleResume}>
{t('workflowLibrary.copyChoice.open')}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/ProjectWorkflowsView.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/ProjectWorkflowsView.tsx
index 375037b635..a06fc909d1 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/ProjectWorkflowsView.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/ProjectWorkflowsView.tsx
@@ -148,7 +148,7 @@ export const ProjectWorkflowsView = ({
{t('workflowLibrary.projectWorkflowCount', { count: workflows.length })}
</Text>
<HStack flexShrink={0} gap="1">
- <Button size="md" variant="outline" onClick={handleNewWorkflow}>
+ <Button variant="outline" onClick={handleNewWorkflow}>
<PlusIcon />
{t('workflowLibrary.newWorkflow')}
</Button>
@@ -419,7 +419,7 @@ const ProjectWorkflowDetailPanel = ({
{name}
</Text>
{isActive ? (
- <Badge flexShrink={0} size="md" variant="solid">
+ <Badge flexShrink={0} variant="solid">
{t('workflowLibrary.activeWorkflow')}
</Badge>
) : null}
@@ -444,7 +444,7 @@ const ProjectWorkflowDetailPanel = ({
{libraryEntry.tags.length > 0 ? (
<HStack flexWrap="wrap" gap="1" minW="0">
{libraryEntry.tags.map((tag) => (
- <Badge key={tag} size="md" variant="subtle">
+ <Badge key={tag} variant="subtle">
{tag}
</Badge>
))}
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryCard.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryCard.tsx
index 1aab1e7cf2..d6cc71de5e 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryCard.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryCard.tsx
@@ -175,7 +175,7 @@ export const WorkflowLibraryCard = ({
<HStack gap="1.5" h={TITLE_ROW_HEIGHT} minW="0" pe="7">
<MiddleTruncate fontSize="md" fontWeight="600" minW="0" text={item.name || t('workflowLibrary.untitled')} />
{isActive ? (
- <Badge data-active-workflow flexShrink={0} size="md" variant="solid">
+ <Badge data-active-workflow flexShrink={0} variant="solid">
{t('workflowLibrary.activeWorkflow')}
</Badge>
) : null}
@@ -186,7 +186,7 @@ export const WorkflowLibraryCard = ({
<Skeleton data-enrichment-placeholder h="3" rounded="sm" w="14" />
) : null}
{primaryBase ? (
- <Badge flexShrink={0} size="md" variant="subtle">
+ <Badge flexShrink={0} variant="subtle">
{getModelBaseLabel(primaryBase)}
</Badge>
) : null}
@@ -196,7 +196,7 @@ export const WorkflowLibraryCard = ({
</Text>
) : null}
{missingCount > 0 ? (
- <Badge bg="bg.warning" color="fg.warning" flexShrink={0} size="md" variant="subtle">
+ <Badge bg="bg.warning" color="fg.warning" flexShrink={0} variant="subtle">
{t('workflowLibrary.installModels', { count: missingCount })}
</Badge>
) : null}
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDetailPanel.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDetailPanel.tsx
index bc4e369b4e..f98572e9c7 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDetailPanel.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDetailPanel.tsx
@@ -467,7 +467,7 @@ export const WorkflowLibraryDetailPanel = ({
{tags.length > 0 ? (
<HStack flexWrap="wrap" gap="1" minW="0">
{tags.map((tag) => (
- <Badge key={tag} size="md" variant="subtle">
+ <Badge key={tag} variant="subtle">
{tag}
</Badge>
))}
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx
index ecbfc7e88d..9e00e5066c 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx
@@ -342,7 +342,6 @@ export const WorkflowLibraryDialog = ({
flex="1"
minW="0"
placeholder={t('workflowLibrary.searchPlaceholder')}
- size="md"
type="search"
value={searchInput}
onChange={handleSearchChange}
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryGrid.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryGrid.tsx
index 729e7e7848..b371534da1 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryGrid.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryGrid.tsx
@@ -136,7 +136,7 @@ export const WorkflowLibraryGrid = ({
) : null}
{hasEntries && status === 'loadingMore' ? (
<HStack color="fg.subtle" gap="2" justify="center" py="2">
- <Spinner size="md" />
+ <Spinner />
<Text fontSize="xs">{t('workflowLibrary.loadingMore')}</Text>
</HStack>
) : null}
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryThumbnail.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryThumbnail.tsx
index 3ea13df2ef..d366f1d25a 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryThumbnail.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryThumbnail.tsx
@@ -285,7 +285,6 @@ export const WorkflowLibraryThumbnail = ({
ref={chooseButtonRef}
aria-disabled={isBusy || undefined}
aria-label={t('workflowLibrary.thumbnailChoose')}
- size="md"
variant="outline"
onClickCapture={isBusy ? preventClick : undefined}
>
@@ -297,7 +296,6 @@ export const WorkflowLibraryThumbnail = ({
<IconButton
aria-disabled={isBusy || !canSnapshot || undefined}
aria-label={t('workflowLibrary.thumbnailSnapshot')}
- size="md"
variant="outline"
onClick={isBusy || !canSnapshot ? undefined : takeSnapshot}
>
@@ -310,7 +308,6 @@ export const WorkflowLibraryThumbnail = ({
aria-disabled={isBusy || undefined}
aria-label={t('workflowLibrary.thumbnailRemove')}
data-thumbnail-remove
- size="md"
variant="outline"
onClick={isBusy ? undefined : handleRemove}
>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowPublicationHost.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowPublicationHost.tsx
index d988d21c02..1082aaf355 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowPublicationHost.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowPublicationHost.tsx
@@ -501,15 +501,14 @@ export const WorkflowPublicationHost = () => {
) : null}
</Dialog.Body>
<Dialog.Footer>
- <Button size="md" variant="ghost" onClick={close}>
+ <Button variant="ghost" onClick={close}>
{t('common.cancel')}
</Button>
- <Button size="md" variant="outline" onClick={switchToSaveAsNew}>
+ <Button variant="outline" onClick={switchToSaveAsNew}>
{t('workflowLibrary.saveAsNew')}
</Button>
<Button
disabled={activeStage.kind !== 'review' || !activeStage.record}
- size="md"
variant="solid"
onClick={confirmReplaceReviewed}
>
@@ -589,7 +588,7 @@ const ReviewBody = ({
</Text>
</Stack>
{onPreview ? (
- <Button alignSelf="flex-start" size="md" variant="outline" onClick={onPreview}>
+ <Button alignSelf="flex-start" variant="outline" onClick={onPreview}>
{t('workflowLibrary.previewGraph')}
</Button>
) : null}
@@ -637,7 +636,7 @@ const ChoiceDialog = ({
<Text fontSize="lg">{body}</Text>
</Dialog.Body>
<Dialog.Footer>
- <Button disabled={isBusy} size="md" variant="ghost" onClick={onClose}>
+ <Button disabled={isBusy} variant="ghost" onClick={onClose}>
{t('common.cancel')}
</Button>
{options.map((option) => (
@@ -661,7 +660,7 @@ const ChoiceButton = ({
isBusy: boolean;
option: { label: string; onSelect: () => void; value: string };
}) => (
- <Button data-choice={option.value} loading={isBusy} size="md" variant="solid" onClick={option.onSelect}>
+ <Button data-choice={option.value} loading={isBusy} variant="solid" onClick={option.onSelect}>
{option.label}
</Button>
);
@@ -722,10 +721,10 @@ export const SaveToLibraryDialog = ({
</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button disabled={isPending} size="md" type="button" variant="ghost" onClick={onClose}>
+ <Button disabled={isPending} type="button" variant="ghost" onClick={onClose}>
{t('common.cancel')}
</Button>
- <Button loading={isPending} size="md" type="submit" variant="solid">
+ <Button loading={isPending} type="submit" variant="solid">
{t('workflowLibrary.saveToLibraryConfirm')}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowRequirementsList.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowRequirementsList.tsx
index f0150fe4d6..034cdf2a46 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowRequirementsList.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowRequirementsList.tsx
@@ -160,7 +160,7 @@ const RequirementRow = ({
{presentation.icon ? (
<Icon aria-label={statusLabel} as={presentation.icon} boxSize="3" color={presentation.color} />
) : (
- <Spinner aria-label={statusLabel} borderWidth="1.5px" color={presentation.color} size="md" />
+ <Spinner aria-label={statusLabel} borderWidth="1.5px" color={presentation.color} />
)}
</DataList.ItemLabel>
<DataList.ItemValue color={presentation.color} fontSize="xs" minW="0">
@@ -217,7 +217,7 @@ export const WorkflowRequirementsList = ({ errorMessage, resolved, onFindModel }
))
: null}
{!errorMessage && resolved !== null && resolved.length > 0 ? (
- <DataList.Root gap="1.5" orientation="horizontal" size="md">
+ <DataList.Root gap="1.5" orientation="horizontal">
{resolved.map((requirement) => (
<RequirementRow
key={getRequirementKey(requirement.requirement)}
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx
index 38693ffdb1..81fcbae97d 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx
@@ -448,7 +448,6 @@ const BuilderElementBase = ({
fontSize="lg"
fontWeight="700"
placeholder="Heading"
- size="md"
value={element.data.content}
variant="flushed"
onChange={(event: ChangeEvent<HTMLInputElement>) =>
@@ -468,7 +467,6 @@ const BuilderElementBase = ({
minH="2.5rem"
placeholder="Text"
resize="vertical"
- size="md"
value={element.data.content}
variant="flushed"
onChange={(event: ChangeEvent<HTMLTextAreaElement>) =>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeFieldControl.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeFieldControl.tsx
index 166dd47b00..5c4ae0d021 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeFieldControl.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeFieldControl.tsx
@@ -128,7 +128,7 @@ export const NodeFieldControl = ({
if (!invocationNode || !template) {
return (
- <Alert.Root status="error" size="md" variant="surface">
+ <Alert.Root status="error" variant="surface">
<Alert.Indicator />
<Alert.Title>This field no longer exists in the project graph.</Alert.Title>
</Alert.Root>
@@ -163,7 +163,6 @@ export const NodeFieldControl = ({
h="5"
id={labelInputId}
placeholder={template.title}
- size="md"
value={draftLabel ?? label}
variant="flushed"
w="full"
@@ -213,7 +212,6 @@ export const NodeFieldControl = ({
aria-label={`${t('common.shuffle')} ${label}`}
color="fg.muted"
flexShrink={0}
- size="md"
variant="outline"
onClick={onShuffleClick}
>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeInspector.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeInspector.tsx
index 4403c08b00..100553d871 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeInspector.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeInspector.tsx
@@ -132,7 +132,6 @@ const DetailsTab = ({ node, template }: { node: WorkflowInvocationNode; template
minH="3rem"
placeholder={t('widgets.workflow.nodeNotesPlaceholder')}
resize="vertical"
- size="md"
value={node.data.notes}
onChange={onNotesChange}
/>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowDetailsTab.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowDetailsTab.tsx
index b8f34c55e3..24c9feab3c 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowDetailsTab.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowDetailsTab.tsx
@@ -51,7 +51,7 @@ export const WorkflowDetailsTab = ({ metadata }: { metadata: WorkflowMetadata })
onChange: (event: ChangeEvent<HTMLInputElement>) => void
) => (
<Field label={label}>
- <Input size="md" value={metadata[key]} onChange={onChange} />
+ <Input value={metadata[key]} onChange={onChange} />
</Field>
);
@@ -59,13 +59,7 @@ export const WorkflowDetailsTab = ({ metadata }: { metadata: WorkflowMetadata })
<Stack gap="3" p="3">
{textField(t('common.name'), 'name', onNameChange)}
<Field label={t('widgets.workflow.description')}>
- <Textarea
- minH="3.5rem"
- resize="vertical"
- size="md"
- value={metadata.description}
- onChange={onDescriptionChange}
- />
+ <Textarea minH="3.5rem" resize="vertical" value={metadata.description} onChange={onDescriptionChange} />
</Field>
<HStack align="start" gap="2">
{textField(t('widgets.workflow.author'), 'author', onAuthorChange)}
@@ -76,7 +70,7 @@ export const WorkflowDetailsTab = ({ metadata }: { metadata: WorkflowMetadata })
{textField(t('widgets.workflow.contact'), 'contact', onContactChange)}
</HStack>
<Field label={t('widgets.workflow.notes')}>
- <Textarea minH="3.5rem" resize="vertical" size="md" value={metadata.notes} onChange={onNotesChange} />
+ <Textarea minH="3.5rem" resize="vertical" value={metadata.notes} onChange={onNotesChange} />
</Field>
</Stack>
);
diff --git a/invokeai/frontend/webv2/src/platform/ui/ColorPicker.tsx b/invokeai/frontend/webv2/src/platform/ui/ColorPicker.tsx
index 0d3f742393..fbcf514bd1 100644
--- a/invokeai/frontend/webv2/src/platform/ui/ColorPicker.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/ColorPicker.tsx
@@ -89,7 +89,6 @@ const FormatTrigger = ({
flexShrink="0"
fontSize="xs"
fontWeight="medium"
- size="md"
variant="subtle"
w="10"
onClick={handleClick}
@@ -141,7 +140,6 @@ const AlphaInput = ({
className="colorPicker__channelInput"
flexShrink="0"
inputMode="numeric"
- size="md"
value={draft ?? String(Math.round(alpha * 100))}
w="12"
onBlur={handleBlur}
@@ -306,7 +304,6 @@ export const ColorPicker = ({
{onSampleColor ? (
<IconButton
aria-label={t('common.colorPicker.sampleFromCanvas')}
- size="md"
variant="ghost"
onClick={handleSampleColor}
>
@@ -315,7 +312,7 @@ export const ColorPicker = ({
) : canUseScreenEyeDropper ? (
// Use asChild with IconButton: Ark's bare trigger has no icon or workbench styling.
<ChakraColorPicker.EyeDropperTrigger asChild>
- <IconButton aria-label={t('common.colorPicker.sampleFromScreen')} size="md" variant="ghost">
+ <IconButton aria-label={t('common.colorPicker.sampleFromScreen')} variant="ghost">
<Icon as={Pipette} boxSize="4" />
</IconButton>
</ChakraColorPicker.EyeDropperTrigger>
diff --git a/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsx b/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsx
index e2230059be..6858946d56 100644
--- a/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsx
@@ -84,14 +84,13 @@ export const ConfirmDialog = ({
<Stack gap="2">{typeof body === 'string' ? <Text fontSize="md">{body}</Text> : body}</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button disabled={isPending} size="md" variant="ghost" onClick={handleClose}>
+ <Button disabled={isPending} variant="ghost" onClick={handleClose}>
Cancel
</Button>
<Button
colorPalette={isDestructive ? 'red' : 'accent'}
disabled={isPending}
loading={isPending}
- size="md"
variant="solid"
onClick={handleConfirmClick}
>
diff --git a/invokeai/frontend/webv2/src/platform/ui/JsonPreview.tsx b/invokeai/frontend/webv2/src/platform/ui/JsonPreview.tsx
index 3887bb9d5b..16899db93f 100644
--- a/invokeai/frontend/webv2/src/platform/ui/JsonPreview.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/JsonPreview.tsx
@@ -86,7 +86,7 @@ export const JsonPreview = ({
>
<Icon as={hasCopied ? CheckIcon : CopyIcon} boxSize="3" color={hasCopied ? 'green.solid' : undefined} />
</IconButton>
- <ScrollArea.Root flex="1" maxW="full" minH="0" minW="0" size="md" variant="hover" w="full">
+ <ScrollArea.Root flex="1" maxW="full" minH="0" minW="0" variant="hover" w="full">
<ScrollArea.Viewport ref={viewportRef} aria-label={label} h="full" maxH={maxH} minW="0" role="region" w="full">
<ScrollArea.Content w="full">
<Code
diff --git a/invokeai/frontend/webv2/src/platform/ui/Menu.tsx b/invokeai/frontend/webv2/src/platform/ui/Menu.tsx
index 2bbf82bae5..09683383f0 100644
--- a/invokeai/frontend/webv2/src/platform/ui/Menu.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/Menu.tsx
@@ -77,7 +77,7 @@ export const MenuActionItem = ({
{hintParts && hintParts.length > 0 ? (
<HStack flexShrink={0} gap="0.5">
{hintParts.map((part) => (
- <Kbd key={part} size="md" textTransform="lowercase">
+ <Kbd key={part} textTransform="lowercase">
{part}
</Kbd>
))}
diff --git a/invokeai/frontend/webv2/src/platform/ui/Picker.tsx b/invokeai/frontend/webv2/src/platform/ui/Picker.tsx
index b0fd6cde59..7bf02d3aea 100644
--- a/invokeai/frontend/webv2/src/platform/ui/Picker.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/Picker.tsx
@@ -150,7 +150,6 @@ export const Picker = <T,>({
aria-label={searchPlaceholder}
autoComplete="off"
placeholder={searchPlaceholder}
- size="md"
value={searchTerm}
onChange={handleSearchChange}
onKeyDown={handleSearchKeyDown}
@@ -161,7 +160,7 @@ export const Picker = <T,>({
{toolbarSlot}
</Stack>
<Box borderColor="border.subtle" borderTopWidth="1px" />
- <ScrollArea.Root maxH="18rem" size="md" variant="hover" w="full">
+ <ScrollArea.Root maxH="18rem" variant="hover" w="full">
<ScrollArea.Viewport ref={listRef} maxH="inherit" w="full">
<ScrollArea.Content aria-label={listLabel} maxW="full" minW="0" py="1" role="listbox" w="full">
{statusSlot ??
diff --git a/invokeai/frontend/webv2/src/platform/ui/RemovableTag.tsx b/invokeai/frontend/webv2/src/platform/ui/RemovableTag.tsx
index 80264d809f..9b4ad1a594 100644
--- a/invokeai/frontend/webv2/src/platform/ui/RemovableTag.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/RemovableTag.tsx
@@ -24,7 +24,7 @@ export const RemovableTag = ({ children, disabled, onRemove, removeLabel }: Remo
}, []);
return (
- <Tag.Root flexShrink={0} maxW="full" minW="0" size="md" variant="surface">
+ <Tag.Root flexShrink={0} maxW="full" minW="0" variant="surface">
<Tooltip content={children} open={isLabelTipOpen} onOpenChange={handleLabelTipChange}>
<Tag.Label ref={labelRef} truncate>
{children}
diff --git a/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsx b/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsx
index ca1c1567b0..94e0c4404e 100644
--- a/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsx
@@ -94,10 +94,10 @@ export const RenameDialog = ({
</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button disabled={isPending} size="md" type="button" variant="ghost" onClick={onClose}>
+ <Button disabled={isPending} type="button" variant="ghost" onClick={onClose}>
Cancel
</Button>
- <Button loading={isPending} size="md" type="submit" variant="solid">
+ <Button loading={isPending} type="submit" variant="solid">
{submitLabel}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/platform/ui/ResizableTextarea.tsx b/invokeai/frontend/webv2/src/platform/ui/ResizableTextarea.tsx
index e21f097c88..78131a7ce0 100644
--- a/invokeai/frontend/webv2/src/platform/ui/ResizableTextarea.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/ResizableTextarea.tsx
@@ -148,7 +148,6 @@ export const ResizableTextarea = ({
<ScrollArea.Root
borderRadius="control"
h={`${displayHeightPx}px`}
- size="md"
variant="hover"
zIndex={underlay ? 1 : undefined}
>
diff --git a/invokeai/frontend/webv2/src/platform/ui/RetryBoundary.tsx b/invokeai/frontend/webv2/src/platform/ui/RetryBoundary.tsx
index 5c045ff789..570f6ce892 100644
--- a/invokeai/frontend/webv2/src/platform/ui/RetryBoundary.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/RetryBoundary.tsx
@@ -36,7 +36,7 @@ export class RetryBoundary extends Component<
<Text fontSize="md" color="fg.error">
{this.props.message}
</Text>
- <Button size="md" loading={this.state.retrying} onClick={this.handleRetry}>
+ <Button loading={this.state.retrying} onClick={this.handleRetry}>
{this.props.retryLabel}
</Button>
</Stack>
diff --git a/invokeai/frontend/webv2/src/platform/ui/Scrollable.tsx b/invokeai/frontend/webv2/src/platform/ui/Scrollable.tsx
index c28dd0428d..0753aa8288 100644
--- a/invokeai/frontend/webv2/src/platform/ui/Scrollable.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/Scrollable.tsx
@@ -53,7 +53,7 @@ export const Scrollable = ({
useScrollAreaPhantomHeal(resolvedViewportRef);
return (
- <ScrollArea.Root size="md" variant="hover" {...rootProps}>
+ <ScrollArea.Root variant="hover" {...rootProps}>
<ScrollArea.Viewport
aria-label={label}
h="full"
diff --git a/invokeai/frontend/webv2/src/platform/ui/SeedInput.tsx b/invokeai/frontend/webv2/src/platform/ui/SeedInput.tsx
index 731ce52063..db3c2c598d 100644
--- a/invokeai/frontend/webv2/src/platform/ui/SeedInput.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/SeedInput.tsx
@@ -58,7 +58,7 @@ export const SeedModeMenu = ({ contentClassName, description, onChange, value }:
ids={triggerIds}
>
<Menu.Trigger asChild>
- <Button aria-label={accessibleName} flexShrink={0} gap="1" maxW="9rem" minW="0" size="md" variant="outline">
+ <Button aria-label={accessibleName} flexShrink={0} gap="1" maxW="9rem" minW="0" variant="outline">
<Icon as={SEED_MODE_ICONS[value]} boxSize="3.5" color="fg.muted" flexShrink={0} />
<Text as="span" minW="0" truncate>
{valueLabel}
@@ -173,7 +173,6 @@ export const SeedInput = ({
max={SEED_MAX}
min={0}
minW="0"
- size="md"
value={seed === undefined ? '' : String(seed)}
translations={stepperTranslations}
onValueChange={({ valueAsNumber }) => {
@@ -198,7 +197,6 @@ export const SeedInput = ({
color="fg.muted"
disabled={isRandom}
flexShrink={0}
- size="md"
variant="outline"
onClick={() => onCommit({ seed: Math.floor(Math.random() * SEED_MAX) })}
>
diff --git a/invokeai/frontend/webv2/src/platform/ui/SegmentedControl.tsx b/invokeai/frontend/webv2/src/platform/ui/SegmentedControl.tsx
index 150ec22e63..6f6503f444 100644
--- a/invokeai/frontend/webv2/src/platform/ui/SegmentedControl.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/SegmentedControl.tsx
@@ -45,7 +45,6 @@ export const SegmentedControl = ({
<SegmentGroup.Root
aria-label={ariaLabel}
disabled={disabled}
- size="md"
value={value}
w={isFullWidth ? 'full' : undefined}
onValueChange={handleValueChange}
diff --git a/invokeai/frontend/webv2/src/platform/ui/SliderNumberField.tsx b/invokeai/frontend/webv2/src/platform/ui/SliderNumberField.tsx
index addbe9f8c6..bd4692e2b8 100644
--- a/invokeai/frontend/webv2/src/platform/ui/SliderNumberField.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/SliderNumberField.tsx
@@ -77,7 +77,6 @@ export const SliderNumberField = memo(function SliderNumberField({
max={max}
min={min}
minW="0"
- size="md"
step={step}
value={sliderValue}
onValueChange={handleSliderChange}
@@ -87,7 +86,6 @@ export const SliderNumberField = memo(function SliderNumberField({
flexShrink="0"
max={numberInputMax ?? max}
min={numberInputMin ?? min}
- size="md"
step={numberInputStep ?? step}
value={String(value)}
w="20"
diff --git a/invokeai/frontend/webv2/src/platform/ui/Toolbar.tsx b/invokeai/frontend/webv2/src/platform/ui/Toolbar.tsx
index b9b884833d..0499371198 100644
--- a/invokeai/frontend/webv2/src/platform/ui/Toolbar.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/Toolbar.tsx
@@ -37,13 +37,7 @@ export const ToolbarButton = ({
label: string;
} & Omit<ComponentProps<typeof IconButton>, 'aria-label' | 'aria-labelledby'>) => (
<Tooltip content={label} positioning={TOOLBAR_TOOLTIP_POSITIONING}>
- <IconButton
- aria-label={label}
- aria-pressed={isActive}
- size="md"
- variant={isActive ? 'solid' : 'ghost'}
- {...buttonProps}
- >
+ <IconButton aria-label={label} aria-pressed={isActive} variant={isActive ? 'solid' : 'ghost'} {...buttonProps}>
<Icon as={icon} boxSize="3.5" />
</IconButton>
</Tooltip>
diff --git a/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsx b/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsx
index 912a19bcad..944c8ed92f 100644
--- a/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsx
@@ -74,7 +74,6 @@ export const SettingControl = ({ field, surface, value, onChange, disabled, isMo
alignItems="center"
gap="4"
w="full"
- size="md"
onCheckedChange={handleCheckedChange}
>
<Stack gap="1">
@@ -143,7 +142,6 @@ export const SettingControl = ({ field, surface, value, onChange, disabled, isMo
max={field.max}
step={field.step ?? 1}
flex="1"
- size="md"
onValueChange={handleSliderChange}
>
<Slider.Control>
diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/DataListDividers.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/theme/DataListDividers.browser.test.tsx
index fa528d29d5..800e0cbf09 100644
--- a/invokeai/frontend/webv2/src/platform/ui/theme/DataListDividers.browser.test.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/theme/DataListDividers.browser.test.tsx
@@ -24,7 +24,7 @@ const renderDataList = async (): Promise<{ reference: HTMLElement; rows: HTMLEle
root?.render(
<ChakraProvider value={system}>
<Box borderColor="border.subtle" borderWidth="1px" data-testid="reference" />
- <DataList.Root gap="1.5" orientation="horizontal" size="md">
+ <DataList.Root gap="1.5" orientation="horizontal">
{['Seed', 'Steps', 'Prompt'].map((label) => (
<DataList.Item key={label} data-testid="row">
<DataList.ItemLabel>{label}</DataList.ItemLabel>
diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupContrast.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupContrast.browser.test.tsx
index 231514c148..2037c01e19 100644
--- a/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupContrast.browser.test.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupContrast.browser.test.tsx
@@ -25,7 +25,7 @@ const renderSegments = async (): Promise<{ checked: HTMLElement; count: HTMLElem
await act(() => {
root?.render(
<ChakraProvider value={system}>
- <SegmentGroup.Root size="md" value="media">
+ <SegmentGroup.Root value="media">
<SegmentGroup.Indicator data-testid="indicator" />
{['media', 'assets'].map((value) => (
<SegmentGroup.Item key={value} data-testid={value} value={value}>
diff --git a/invokeai/frontend/webv2/src/platform/ui/wheelScrollsHorizontally.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/wheelScrollsHorizontally.browser.test.tsx
index 025c08089f..9eaae3bd99 100644
--- a/invokeai/frontend/webv2/src/platform/ui/wheelScrollsHorizontally.browser.test.tsx
+++ b/invokeai/frontend/webv2/src/platform/ui/wheelScrollsHorizontally.browser.test.tsx
@@ -65,7 +65,7 @@ describe('wheelScrollsHorizontally', () => {
await act(() =>
root!.render(
<ChakraProvider value={system}>
- <ScrollArea.Root size="md" w="200px">
+ <ScrollArea.Root w="200px">
<ScrollArea.Viewport ref={wheelScrollsHorizontally} data-testid="viewport">
<ScrollArea.Content>
<div style={{ height: 20, width: 1000 }} />
diff --git a/invokeai/frontend/webv2/src/workbench/components/WorkbenchSplashScreen.tsx b/invokeai/frontend/webv2/src/workbench/components/WorkbenchSplashScreen.tsx
index 6a2770f3f4..65764d2624 100644
--- a/invokeai/frontend/webv2/src/workbench/components/WorkbenchSplashScreen.tsx
+++ b/invokeai/frontend/webv2/src/workbench/components/WorkbenchSplashScreen.tsx
@@ -31,7 +31,7 @@ export const WorkbenchSplashScreen = ({ messageKey = 'splash.loadingWorkspace' }
<Text fontSize="xl">{t('splash.tagline')}</Text>
<Text fontSize="md">{t('splash.artworkBy', { artist: 'Jonathan Pollack' })}</Text>
<Flex alignItems="center" gap="2" mt="auto">
- <Spinner size="md" />
+ <Spinner />
<Text fontSize="md" flex="1">
{t(messageKey)}
</Text>
diff --git a/invokeai/frontend/webv2/src/workbench/components/WorkbenchUnavailableScreen.tsx b/invokeai/frontend/webv2/src/workbench/components/WorkbenchUnavailableScreen.tsx
index 0e457b53ba..f834b39940 100644
--- a/invokeai/frontend/webv2/src/workbench/components/WorkbenchUnavailableScreen.tsx
+++ b/invokeai/frontend/webv2/src/workbench/components/WorkbenchUnavailableScreen.tsx
@@ -127,7 +127,7 @@ export const WorkbenchUnavailableScreen = ({
) : null}
{drafts === null ? (
<HStack color="fg.muted">
- <Spinner size="md" />
+ <Spinner />
<Text>{t('shell.backendUnavailable.loadingDrafts')}</Text>
</HStack>
) : drafts === 'unavailable' ? (
diff --git a/invokeai/frontend/webv2/src/workbench/diagnostics/DiagnosticsPanel.tsx b/invokeai/frontend/webv2/src/workbench/diagnostics/DiagnosticsPanel.tsx
index 81b6d82ba8..11c25b828a 100644
--- a/invokeai/frontend/webv2/src/workbench/diagnostics/DiagnosticsPanel.tsx
+++ b/invokeai/frontend/webv2/src/workbench/diagnostics/DiagnosticsPanel.tsx
@@ -293,7 +293,6 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =>
flex="1 1 13rem"
minW="0"
positioning={SELECT_POSITIONING}
- size="md"
value={scopeValue}
valueText={currentScopeLabel}
onValueChange={changeScope}
@@ -304,7 +303,6 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =>
flex="1 1 9rem"
minW="0"
positioning={SELECT_POSITIONING}
- size="md"
value={severityValue}
valueText={severityCollection.items.find((item) => item.value === filters.severity)?.label}
onValueChange={changeSeverity}
@@ -315,7 +313,6 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =>
flex="1 1 9rem"
minW="0"
positioning={SELECT_POSITIONING}
- size="md"
value={namespaceValue}
valueText={namespaceCollection.items.find((item) => item.value === filters.namespace)?.label}
onValueChange={changeNamespace}
@@ -324,7 +321,6 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =>
<Input
aria-label={t('widgets.diagnostics.search')}
placeholder={t('widgets.diagnostics.search')}
- size="md"
value={filters.query}
onChange={changeQuery}
/>
@@ -425,7 +421,7 @@ const RecordingStatus = ({ config, snapshot }: { config: LoggingConfig; snapshot
return (
<HStack flexWrap="wrap" gap="1.5">
{config.enabled ? (
- <Badge colorPalette="green" size="md">
+ <Badge colorPalette="green">
{t('widgets.diagnostics.recordingStatus', {
count: config.namespaces.length,
level: t(`settings.catalog.options.${config.level}`),
@@ -433,20 +429,12 @@ const RecordingStatus = ({ config, snapshot }: { config: LoggingConfig; snapshot
})}
</Badge>
) : (
- <Badge colorPalette="gray" size="md">
- {t('widgets.diagnostics.recordingOff')}
- </Badge>
+ <Badge colorPalette="gray">{t('widgets.diagnostics.recordingOff')}</Badge>
)}
{config.performanceTimingsEnabled ? (
- <Badge colorPalette="purple" size="md">
- {t('widgets.diagnostics.timingsOn')}
- </Badge>
- ) : null}
- {config.consoleOutputEnabled ? (
- <Badge colorPalette="blue" size="md">
- {t('widgets.diagnostics.consoleOn')}
- </Badge>
+ <Badge colorPalette="purple">{t('widgets.diagnostics.timingsOn')}</Badge>
) : null}
+ {config.consoleOutputEnabled ? <Badge colorPalette="blue">{t('widgets.diagnostics.consoleOn')}</Badge> : null}
<Text color="fg.muted" fontSize="xs">
{t('widgets.diagnostics.retention', {
problemLimit: retention.problems.limit,
@@ -457,15 +445,9 @@ const RecordingStatus = ({ config, snapshot }: { config: LoggingConfig; snapshot
verboseLimit: retention.verbose.limit,
})}
</Text>
- {evicted > 0 ? (
- <Badge colorPalette="orange" size="md">
- {t('widgets.diagnostics.evicted', { count: evicted })}
- </Badge>
- ) : null}
+ {evicted > 0 ? <Badge colorPalette="orange">{t('widgets.diagnostics.evicted', { count: evicted })}</Badge> : null}
{truncatedCount > 0 ? (
- <Badge colorPalette="orange" size="md">
- {t('widgets.diagnostics.truncated', { count: truncatedCount })}
- </Badge>
+ <Badge colorPalette="orange">{t('widgets.diagnostics.truncated', { count: truncatedCount })}</Badge>
) : null}
</HStack>
);
@@ -488,19 +470,13 @@ const DiagnosticsEntryRow = memo(({ entry, showProject }: { entry: LogEntry; sho
<HStack align="start" gap="2" justify="space-between">
<Stack flex="1" gap="1" minW="0">
<HStack flexWrap="wrap" gap="1.5">
- <Badge colorPalette={LEVEL_COLOR_PALETTE[entry.level]} size="md">
+ <Badge colorPalette={LEVEL_COLOR_PALETTE[entry.level]}>
{t(`settings.catalog.options.${entry.level}`)}
</Badge>
{entry.durationMs !== undefined ? (
- <Badge colorPalette="purple" size="md">
- {entry.durationMs.toFixed(1)}ms
- </Badge>
- ) : null}
- {entry.truncated ? (
- <Badge colorPalette="orange" size="md">
- {t('widgets.diagnostics.entryTruncated')}
- </Badge>
+ <Badge colorPalette="purple">{entry.durationMs.toFixed(1)}ms</Badge>
) : null}
+ {entry.truncated ? <Badge colorPalette="orange">{t('widgets.diagnostics.entryTruncated')}</Badge> : null}
<Text color="fg.muted" fontFamily="mono" fontSize="xs" minW="0" wordBreak="break-all">
{formatSource(entry, showProject)}
</Text>
diff --git a/invokeai/frontend/webv2/src/workbench/image-actions/ImageContextMenu.tsx b/invokeai/frontend/webv2/src/workbench/image-actions/ImageContextMenu.tsx
index 62672930f3..bae0bf7116 100644
--- a/invokeai/frontend/webv2/src/workbench/image-actions/ImageContextMenu.tsx
+++ b/invokeai/frontend/webv2/src/workbench/image-actions/ImageContextMenu.tsx
@@ -1123,7 +1123,7 @@ const ContextSubMenu = ({
<Menu.Positioner>
<MenuContent {...MENU_CONTENT_PROPS} maxH="18rem" overflowY={scrollArea ? undefined : 'auto'}>
{scrollArea ? (
- <ScrollArea.Root maxH="inherit" size="md" variant="hover" w="full">
+ <ScrollArea.Root maxH="inherit" variant="hover" w="full">
<ScrollArea.Viewport maxH="inherit" w="full">
<ScrollArea.Content>{children}</ScrollArea.Content>
</ScrollArea.Viewport>
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/HelpMenu.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/HelpMenu.tsx
index 71039874d5..01e226befa 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/HelpMenu.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/HelpMenu.tsx
@@ -69,14 +69,7 @@ export const HelpMenu = () => {
return (
<Menu.Root positioning={MENU_POSITIONING}>
<Menu.Trigger asChild>
- <Button
- aria-label={t('launchpad.help.label')}
- color="fg.muted"
- css={TRIGGER_JUSTIFY}
- size="md"
- variant="ghost"
- w="full"
- >
+ <Button aria-label={t('launchpad.help.label')} color="fg.muted" css={TRIGGER_JUSTIFY} variant="ghost" w="full">
<Icon as={CircleQuestionMarkIcon} boxSize="3.5" />
<Text flex="1" textAlign="start" truncate>
{t('launchpad.help.label')}
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/KnownBrowserIssuesAlert.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/KnownBrowserIssuesAlert.tsx
index 58a7ebe8cb..def243d819 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/KnownBrowserIssuesAlert.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/KnownBrowserIssuesAlert.tsx
@@ -30,7 +30,7 @@ const BrowserIssueAlert = ({ issue }: { issue: DetectedBrowserIssue }) => {
const { t } = useTranslation();
return (
- <Alert.Root borderRadius="md" role="alert" size="md" status={issue.severity} variant="surface">
+ <Alert.Root borderRadius="md" role="alert" status={issue.severity} variant="surface">
<Alert.Indicator alignSelf="start" mt="0.5" />
<Alert.Content gap="2" minW="0">
<Stack gap="0.5">
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadNav.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadNav.tsx
index 3b26fea405..1f7af2d726 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadNav.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadNav.tsx
@@ -77,7 +77,7 @@ const WhatsNewButton = () => {
const { t } = useTranslation();
return (
- <Button color="fg.muted" css={WHATS_NEW_JUSTIFY} size="md" variant="ghost" w="full" onClick={openWhatsNew}>
+ <Button color="fg.muted" css={WHATS_NEW_JUSTIFY} variant="ghost" w="full" onClick={openWhatsNew}>
<Icon as={LightbulbFilamentIcon} boxSize="3.5" />
<Text flex="1" textAlign="start" truncate>
{t('whatsNew.whatsNewInInvoke')}
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.tsx
index 76420e2ab8..542c1101e7 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.tsx
@@ -122,7 +122,7 @@ const OpenProjectEntry = ({
<Icon as={FolderOpenIcon} boxSize="3.5" flexShrink={0} />
<MiddleTruncate flex="1" minW="0" text={name ?? id} textAlign="start" />
{isActive ? (
- <Badge flexShrink={0} size="md" variant="subtle">
+ <Badge flexShrink={0} variant="subtle">
{t('launchpad.openProjects.current')}
</Badge>
) : null}
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsx
index 5dc350e7ed..c2f9477359 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsx
@@ -30,7 +30,7 @@ export const RecentProjectsRow = ({
<Text fontSize="md" fontWeight="700">
{t('launchpad.home.recentProjects')}
</Text>
- <Button asChild size="md" variant="ghost">
+ <Button asChild variant="ghost">
<Link to="/projects">
{t('launchpad.home.viewAllProjects')}
<ArrowRightIcon />
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/home/ResumeCard.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/home/ResumeCard.tsx
index 0ba752e40f..f98fbda21c 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/home/ResumeCard.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/home/ResumeCard.tsx
@@ -92,14 +92,14 @@ export const ResumeCard = ({
</Stack>
<HStack gap="1.5" pointerEvents="auto">
{isCompatible ? (
- <Button asChild size="md" variant="solid">
+ <Button asChild variant="solid">
<Link search={search} to="/app">
{t('launchpad.home.resumeAction')}
<ArrowRightIcon />
</Link>
</Button>
) : (
- <Button disabled size="md" title={t('projects.file.updateClient')} variant="solid">
+ <Button disabled title={t('projects.file.updateClient')} variant="solid">
{t('launchpad.home.resumeAction')}
<ArrowRightIcon />
</Button>
@@ -109,7 +109,6 @@ export const ResumeCard = ({
aria-haspopup="menu"
aria-label={t('common.actions')}
color="fg.muted"
- size="md"
variant="ghost"
onClick={menuTrigger.onClick}
onPointerDown={menuTrigger.onPointerDown}
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsx
index aba962baf3..03b90312bf 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsx
@@ -76,7 +76,7 @@ export const HomePage = () => {
<PageShell
actions={
<>
- <Button size="md" variant="outline" onClick={handleImportClick}>
+ <Button variant="outline" onClick={handleImportClick}>
<FileUpIcon />
{t('projects.importWithEllipsis')}
</Button>
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/pages/ProjectsPage.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/pages/ProjectsPage.tsx
index 4504ec5256..47f3c4e8d7 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/pages/ProjectsPage.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/pages/ProjectsPage.tsx
@@ -68,7 +68,7 @@ export const ProjectsPage = () => {
<PageShell
actions={
<>
- <Button size="md" variant="outline" onClick={handleImportClick}>
+ <Button variant="outline" onClick={handleImportClick}>
<FileUpIcon />
{t('projects.importWithEllipsis')}
</Button>
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/NewProjectButton.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/NewProjectButton.tsx
index 2599fea76e..d3b777300d 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/NewProjectButton.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/NewProjectButton.tsx
@@ -20,7 +20,7 @@ export const NewProjectButton = ({ variant = 'solid' }: { variant?: 'outline' |
return (
<Group attached>
- <Button asChild size="md" variant={variant}>
+ <Button asChild variant={variant}>
<Link search={NEW_PROJECT_SEARCH} to="/app">
<Icon as={PlusIcon} boxSize="3.5" />
{t('projects.newProject')}
@@ -28,7 +28,7 @@ export const NewProjectButton = ({ variant = 'solid' }: { variant?: 'outline' |
</Button>
<Menu.Root positioning={MENU_POSITIONING}>
<Menu.Trigger asChild>
- <IconButton aria-label={t('projects.newProjectStart')} size="md" variant={variant}>
+ <IconButton aria-label={t('projects.newProjectStart')} variant={variant}>
<Icon as={ChevronDownIcon} boxSize="3.5" />
</IconButton>
</Menu.Trigger>
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCompatibilityBadge.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCompatibilityBadge.tsx
index 0edf87f190..820b59ed90 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCompatibilityBadge.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCompatibilityBadge.tsx
@@ -14,7 +14,7 @@ export const ProjectCompatibilityBadge = ({ summary }: { summary: ProjectSummary
}
return (
- <Badge alignSelf="flex-start" colorPalette="orange" size="md" variant="surface">
+ <Badge alignSelf="flex-start" colorPalette="orange" variant="surface">
{t(
summary.minimumCanvasSchemaVersion < MIN_SUPPORTED_CANVAS_SCHEMA_VERSION
? 'projects.legacyFormat'
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx
index 73b6bed267..85214cc116 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx
@@ -153,7 +153,7 @@ export const ProjectsBrowser = ({
<Scrollable flex="1" h="full" label={t('launchpad.sections.projects')} minH="0" viewportRef={scrollRef}>
<Box css={MEASURE_SX} pb="8" ref={measureRef}>
{status === 'error' ? (
- <Alert.Root borderRadius="md" mb="4" size="md" status="error">
+ <Alert.Root borderRadius="md" mb="4" status="error">
<Alert.Indicator />
<Alert.Title flex="1" fontSize="md">
{error ?? t('projects.failedToLoad')}
@@ -278,7 +278,7 @@ const ProjectsEmptyState = ({
icon={NO_MATCHES_ICON}
title={t('projects.noSearchMatches', { search: searchTerm.trim() })}
>
- <Button size="md" variant="outline" onClick={onClearSearch}>
+ <Button variant="outline" onClick={onClearSearch}>
{t('common.clearSearch')}
</Button>
</EmptyState>
diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsToolbar.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsToolbar.tsx
index 2383fc1126..64bfb4fe27 100644
--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsToolbar.tsx
+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsToolbar.tsx
@@ -111,7 +111,6 @@ export const ProjectsToolbar = ({
<Input
aria-label={t('projects.searchLabel')}
placeholder={t('projects.searchPlaceholder')}
- size="md"
type="search"
value={searchTerm}
onChange={handleSearchInput}
@@ -120,7 +119,7 @@ export const ProjectsToolbar = ({
<Menu.Root positioning={MENU_POSITIONING} onSelect={handleSortSelect}>
<Menu.Trigger asChild>
- <Button ms="auto" size="md" variant="outline">
+ <Button ms="auto" variant="outline">
<Icon as={ArrowUpDownIcon} boxSize="3.5" />
{t(SORT_LABEL_KEY[sort])}
</Button>
@@ -144,7 +143,7 @@ export const ProjectsToolbar = ({
</Portal>
</Menu.Root>
- <SegmentGroup.Root aria-label={t('projects.viewLabel')} size="md" value={view} onValueChange={handleViewChange}>
+ <SegmentGroup.Root aria-label={t('projects.viewLabel')} value={view} onValueChange={handleViewChange}>
<SegmentGroup.Indicator />
{PROJECTS_VIEW_IDS.map((id) => (
<ViewSegment key={id} id={id} />
diff --git a/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteDialog.tsx b/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteDialog.tsx
index b93c93fd6f..a884bbd54f 100644
--- a/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteDialog.tsx
+++ b/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteDialog.tsx
@@ -28,7 +28,7 @@ const TAB_HINT_KEYS = ['tab'];
const FooterHint = ({ children, keys, shrink = false }: { children: string; keys: string[]; shrink?: boolean }) => (
<HStack flexShrink={shrink ? 1 : 0} gap="1" minW="0">
{keys.map((key) => (
- <Kbd key={key} flexShrink={0} size="md" textTransform="lowercase">
+ <Kbd key={key} flexShrink={0} textTransform="lowercase">
{key}
</Kbd>
))}
@@ -123,7 +123,7 @@ const CommandPaletteContent = ({
py="6"
title={t('commandPalette.states.couldNotSearch', { label: controller.scopeLabel })}
>
- <Button size="md" variant="subtle" onClick={controller.onRetry}>
+ <Button variant="subtle" onClick={controller.onRetry}>
{t('common.retry')}
</Button>
</EmptyState>
diff --git a/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteRows.tsx b/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteRows.tsx
index 4e7b248c57..053923f9cb 100644
--- a/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteRows.tsx
+++ b/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteRows.tsx
@@ -101,7 +101,7 @@ const EntryRow = ({
{entry.keys ? (
<HStack flexShrink={0} gap="0.5">
{entry.keys.map((part) => (
- <Kbd key={part} size="md" textTransform="lowercase">
+ <Kbd key={part} textTransform="lowercase">
<ShortcutKeyGlyph fallback={part} part={part} />
</Kbd>
))}
@@ -168,7 +168,7 @@ const ScopeRow = ({
{label}
</Text>
<Spacer />
- <Kbd size="md" textTransform="lowercase">
+ <Kbd textTransform="lowercase">
<ShortcutKeyGlyph fallback="tab" part="tab" />
</Kbd>
</HStack>
@@ -281,7 +281,7 @@ export const CommandPaletteRows = ({
]);
return (
- <ScrollArea.Root maxH="min(400px, 55dvh)" size="md" variant="hover" w="full">
+ <ScrollArea.Root maxH="min(400px, 55dvh)" variant="hover" w="full">
<ScrollArea.Viewport ref={setScrollElement} maxH="inherit" w="full">
<ScrollArea.Content
id={RESULT_LIST_ID}
diff --git a/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsx b/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsx
index ab240eb3ed..d28e3578d9 100644
--- a/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsx
+++ b/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsx
@@ -177,11 +177,11 @@ export const OpenProjectDialog = ({ isOpen, onClose }: { isOpen: boolean; onClos
</Scrollable>
</Dialog.Body>
<Dialog.Footer justifyContent="space-between">
- <Button size="md" variant="outline" onClick={startImport}>
+ <Button variant="outline" onClick={startImport}>
<FileUpIcon />
{t('projects.importWithEllipsis')}
</Button>
- <Button size="md" variant="ghost" onClick={onClose}>
+ <Button variant="ghost" onClick={onClose}>
{t('common.cancel')}
</Button>
</Dialog.Footer>
@@ -219,7 +219,7 @@ const OpenProjectRow = ({
</Text>
<ProjectCompatibilityBadge summary={summary} />
</Stack>
- {isBusy ? <Spinner color="fg.muted" size="md" /> : <Icon as={ArrowRightIcon} boxSize="3.5" color="fg.muted" />}
+ {isBusy ? <Spinner color="fg.muted" /> : <Icon as={ArrowRightIcon} boxSize="3.5" color="fg.muted" />}
</button>
</Row>
);
diff --git a/invokeai/frontend/webv2/src/workbench/queue-integration/QueueRecoveryNotice.tsx b/invokeai/frontend/webv2/src/workbench/queue-integration/QueueRecoveryNotice.tsx
index 1264ab6984..be0b8438f4 100644
--- a/invokeai/frontend/webv2/src/workbench/queue-integration/QueueRecoveryNotice.tsx
+++ b/invokeai/frontend/webv2/src/workbench/queue-integration/QueueRecoveryNotice.tsx
@@ -160,7 +160,7 @@ export const QueueRecoveryNotice = ({
if (query.isPending) {
return (
<HStack color="fg.muted" px="4" py="2">
- <Spinner size="md" />
+ <Spinner />
<Text fontSize="lg">{t('shell.queueRecovery.loading')}</Text>
</HStack>
);
diff --git a/invokeai/frontend/webv2/src/workbench/settings/AboutSettings.tsx b/invokeai/frontend/webv2/src/workbench/settings/AboutSettings.tsx
index ca35aa1597..e8dc9308d3 100644
--- a/invokeai/frontend/webv2/src/workbench/settings/AboutSettings.tsx
+++ b/invokeai/frontend/webv2/src/workbench/settings/AboutSettings.tsx
@@ -49,7 +49,7 @@ export const AboutSettings = () => {
{info.loadState === 'loading' || info.loadState === 'idle' ? (
<HStack color="fg.muted" gap="2">
- <Spinner size="md" />
+ <Spinner />
<Text fontSize="md">{t('settings.about.loading')}</Text>
</HStack>
) : info.loadState === 'error' ? (
diff --git a/invokeai/frontend/webv2/src/workbench/settings/CustomSettingsEditors.tsx b/invokeai/frontend/webv2/src/workbench/settings/CustomSettingsEditors.tsx
index 26b96d7bfa..f156c433c1 100644
--- a/invokeai/frontend/webv2/src/workbench/settings/CustomSettingsEditors.tsx
+++ b/invokeai/frontend/webv2/src/workbench/settings/CustomSettingsEditors.tsx
@@ -129,7 +129,7 @@ const DeveloperNamespaceCheckbox = ({
);
return (
- <Checkbox.Root checked={checked} size="md" onCheckedChange={handleCheckedChange}>
+ <Checkbox.Root checked={checked} onCheckedChange={handleCheckedChange}>
<Checkbox.HiddenInput />
<Checkbox.Control />
<Checkbox.Label color="fg.muted" fontSize="md">
diff --git a/invokeai/frontend/webv2/src/workbench/settings/HotkeysSettingsSection.tsx b/invokeai/frontend/webv2/src/workbench/settings/HotkeysSettingsSection.tsx
index 4641e89959..64178808bc 100644
--- a/invokeai/frontend/webv2/src/workbench/settings/HotkeysSettingsSection.tsx
+++ b/invokeai/frontend/webv2/src/workbench/settings/HotkeysSettingsSection.tsx
@@ -237,7 +237,7 @@ export const HotkeysSettingsSection = () => {
{t('hotkeys.description')}
</Text>
</Stack>
- <Button disabled={modifiedCount === 0} size="md" variant="outline" onClick={resetAll}>
+ <Button disabled={modifiedCount === 0} variant="outline" onClick={resetAll}>
<RotateCcwIcon />
{t('hotkeys.resetAll')}
</Button>
@@ -247,7 +247,6 @@ export const HotkeysSettingsSection = () => {
<Input
aria-label={t('hotkeys.searchPlaceholder')}
placeholder={t('hotkeys.searchPlaceholder')}
- size="md"
value={searchTerm}
onChange={handleSearchChange}
/>
@@ -358,7 +357,7 @@ const HotkeyListRow = ({
{getHotkeyTitle(hotkey)}
</Text>
{hotkey.implemented === false ? (
- <Badge colorPalette="gray" size="md" variant="surface">
+ <Badge colorPalette="gray" variant="surface">
{t('hotkeys.pending')}
</Badge>
) : null}
@@ -397,34 +396,28 @@ const HotkeyListRow = ({
{t('hotkeys.disabled')}
</Text>
)}
- <IconButton aria-label={t('hotkeys.addHotkey')} size="md" variant="ghost" onClick={addDraftKey}>
+ <IconButton aria-label={t('hotkeys.addHotkey')} variant="ghost" onClick={addDraftKey}>
<PlusIcon />
</IconButton>
</HStack>
<HStack gap="1">
{isEditing || isDirty ? (
<>
- <IconButton aria-label={t('hotkeys.cancelEdit')} size="md" variant="ghost" onClick={cancelEdit}>
+ <IconButton aria-label={t('hotkeys.cancelEdit')} variant="ghost" onClick={cancelEdit}>
<XIcon />
</IconButton>
- <IconButton
- aria-label={t('hotkeys.saveEdit')}
- disabled={!canSave}
- size="md"
- variant="ghost"
- onClick={saveEdit}
- >
+ <IconButton aria-label={t('hotkeys.saveEdit')} disabled={!canSave} variant="ghost" onClick={saveEdit}>
<CheckIcon />
</IconButton>
</>
) : null}
{effectiveKeys.length > 0 ? (
- <Button size="md" variant="ghost" onClick={disableHotkey}>
+ <Button variant="ghost" onClick={disableHotkey}>
{t('hotkeys.disable')}
</Button>
) : null}
{isCustomized ? (
- <IconButton aria-label={t('hotkeys.resetHotkey')} size="md" variant="ghost" onClick={resetThisHotkey}>
+ <IconButton aria-label={t('hotkeys.resetHotkey')} variant="ghost" onClick={resetThisHotkey}>
<RotateCcwIcon />
</IconButton>
) : null}
@@ -505,10 +498,10 @@ const HotkeyChip = ({
}
return (
- <Button type="button" onClick={onEdit} variant="outline" size="md">
+ <Button type="button" onClick={onEdit} variant="outline">
{formatHotkeyForPlatform(hotkey).map((part, index, parts) => (
<Fragment key={`${part}:${index}`}>
- <Kbd size="md" textTransform="lowercase">
+ <Kbd textTransform="lowercase">
<ShortcutKeyGlyph fallback={part} part={part} />
</Kbd>
{index < parts.length - 1 ? (
diff --git a/invokeai/frontend/webv2/src/workbench/settings/ImageMapVocabularySettings.tsx b/invokeai/frontend/webv2/src/workbench/settings/ImageMapVocabularySettings.tsx
index a79eb16d62..be42dab80f 100644
--- a/invokeai/frontend/webv2/src/workbench/settings/ImageMapVocabularySettings.tsx
+++ b/invokeai/frontend/webv2/src/workbench/settings/ImageMapVocabularySettings.tsx
@@ -135,7 +135,7 @@ export const ImageMapVocabularySettings = () => {
<Text color="fg.error" fontSize="md">
{t('settings.imageMapVocabulary.loadFailed')}
</Text>
- <Button size="md" variant="outline" onClick={() => void query.refetch()}>
+ <Button variant="outline" onClick={() => void query.refetch()}>
{t('common.retry')}
</Button>
</Stack>
@@ -156,7 +156,6 @@ export const ImageMapVocabularySettings = () => {
<Input
aria-invalid={inputError || saveError ? true : undefined}
placeholder={t('settings.imageMapVocabulary.addPlaceholder')}
- size="md"
value={draft}
onChange={(event) => {
setDraft(event.currentTarget.value);
@@ -196,7 +195,6 @@ export const ImageMapVocabularySettings = () => {
<Button
disabled={draft.trim().length === 0}
loading={isSaving}
- size="md"
variant="outline"
onClick={() => {
void addTerms(vocab);
@@ -229,7 +227,7 @@ export const ImageMapVocabularySettings = () => {
{term}
</RemovableTag>
) : (
- <Tag.Root key={term} size="md" variant="surface">
+ <Tag.Root key={term} variant="surface">
<Tag.Label>{term}</Tag.Label>
</Tag.Root>
)
@@ -278,7 +276,7 @@ const VocabularyStatusLine = ({
</Text>
{vocab.state === 'building' ? (
<HStack gap="1.5">
- <Spinner size="md" />
+ <Spinner />
<Text color="fg.muted" fontSize="xs">
{progress
? t('settings.imageMapVocabulary.rebuildingQueued', { progress: progress.counts })
diff --git a/invokeai/frontend/webv2/src/workbench/settings/SettingsBrowseBody.tsx b/invokeai/frontend/webv2/src/workbench/settings/SettingsBrowseBody.tsx
index d2271a2270..76df99722d 100644
--- a/invokeai/frontend/webv2/src/workbench/settings/SettingsBrowseBody.tsx
+++ b/invokeai/frontend/webv2/src/workbench/settings/SettingsBrowseBody.tsx
@@ -25,7 +25,7 @@ const retrySave = () => {
const SEARCH_START_ELEMENT = <Icon as={SearchIcon} boxSize="3.5" color="fg.muted" />;
/** The `/` shortcut its surface handles with `focusSettingsSearchOnSlash`. */
const SEARCH_HOTKEY_HINT = (
- <Kbd aria-hidden pointerEvents="none" size="md" variant="outline">
+ <Kbd aria-hidden pointerEvents="none" variant="outline">
/
</Kbd>
);
@@ -114,9 +114,7 @@ export const SettingsBrowseBody = ({
<Text fontSize="md" color="fg.error" flex="1">
{error}
</Text>
- <Button size="md" onClick={retrySave}>
- {t('common.retry')}
- </Button>
+ <Button onClick={retrySave}>{t('common.retry')}</Button>
</HStack>
) : null}
<VisuallyHidden role="status">{searching ? t('settingsDialog.resultCount', { count }) : ''}</VisuallyHidden>
diff --git a/invokeai/frontend/webv2/src/workbench/settings/SettingsEntryView.tsx b/invokeai/frontend/webv2/src/workbench/settings/SettingsEntryView.tsx
index e28e0539c6..30e4ab7cfb 100644
--- a/invokeai/frontend/webv2/src/workbench/settings/SettingsEntryView.tsx
+++ b/invokeai/frontend/webv2/src/workbench/settings/SettingsEntryView.tsx
@@ -143,7 +143,7 @@ export const SettingsEntryView = ({
{t(scope === 'instance' ? 'settingsDialog.instanceUnavailable' : 'settingsDialog.projectUnavailable')}
</Text>
) : (
- <Button size="md" variant="outline" alignSelf="start" onClick={reveal}>
+ <Button variant="outline" alignSelf="start" onClick={reveal}>
{t('settingsDialog.openEditor')}
</Button>
)}
diff --git a/invokeai/frontend/webv2/src/workbench/settings/WidgetSettingsButton.tsx b/invokeai/frontend/webv2/src/workbench/settings/WidgetSettingsButton.tsx
index 8fdc2a07eb..a2c9a3a915 100644
--- a/invokeai/frontend/webv2/src/workbench/settings/WidgetSettingsButton.tsx
+++ b/invokeai/frontend/webv2/src/workbench/settings/WidgetSettingsButton.tsx
@@ -143,7 +143,7 @@ const TargetedWidgetSettingsButton = ({
<SettingsActions {...props} />
</Box>
) : null}
- <Button size="md" variant="ghost" w="full" mt="2" onClick={openDialog}>
+ <Button variant="ghost" w="full" mt="2" onClick={openDialog}>
{t('settingsDialog.allWidgetSettings', { widget: label })}
</Button>
</Popover.Body>
diff --git a/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsx b/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsx
index 3f1c30bfdb..1a2c6df983 100644
--- a/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsx
+++ b/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsx
@@ -61,7 +61,7 @@ export const AlphaNoticeDialog = () => {
</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button ref={dismissRef} colorPalette="accent" size="md" variant="solid" onClick={acknowledge}>
+ <Button ref={dismissRef} colorPalette="accent" variant="solid" onClick={acknowledge}>
{t('alphaNotice.dismiss')}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.tsx b/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.tsx
index 1d93914296..ce2470bdae 100644
--- a/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.tsx
+++ b/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.tsx
@@ -152,13 +152,13 @@ export const WhatsNewDialog = () => {
</Stack>
</Dialog.Body>
<Dialog.Footer borderColor="border.subtle" borderTopWidth="1px" px="6" py="3">
- <Button asChild size="md" variant="outline">
+ <Button asChild variant="outline">
<Link href={DOCS_URL} rel="noreferrer" target="_blank">
<BookOpenIcon aria-hidden />
{t('whatsNew.readTheDocs')}
</Link>
</Button>
- <Button asChild size="md" variant="solid">
+ <Button asChild variant="solid">
<Link href={getReleaseNotesUrl(version)} rel="noreferrer" target="_blank">
<ScrollTextIcon aria-hidden />
{t('whatsNew.readReleaseNotes')}
diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/InvokeButton.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/InvokeButton.tsx
index 3c1b996c43..0534d227ad 100644
--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/InvokeButton.tsx
+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/InvokeButton.tsx
@@ -121,7 +121,7 @@ export const InvokeButton = ({ state }: { state: InvocationState }) => {
</Box>
{t('topbar.invoke.invoke')}
{shortcutParts ? (
- <Kbd css={HIDE_BELOW_HINT_WIDTH} variant="outline" borderColor={SHORTCUT_BORDER} color="inherit" size="md">
+ <Kbd css={HIDE_BELOW_HINT_WIDTH} variant="outline" borderColor={SHORTCUT_BORDER} color="inherit">
<TopbarShortcutKeys parts={shortcutParts} />
</Kbd>
) : null}
@@ -157,7 +157,7 @@ const InvokeTooltipContent = ({ shortcutParts, state }: { shortcutParts: string[
: t('topbar.invoke.unableToQueue')}
</Text>
{shortcutParts ? (
- <Kbd size="md" variant="subtle">
+ <Kbd variant="subtle">
<TopbarShortcutKeys parts={shortcutParts} />
</Kbd>
) : null}
diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsx
index 1056785807..6d1cd7b478 100644
--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsx
+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsx
@@ -222,7 +222,6 @@ export const LayoutPresetDialog = ({
collection={sourceCollection}
disabled={sourceOptions.length === 0}
renderItem={renderSourceOption}
- size="md"
triggerProps={sourceTriggerProps}
value={sourceValue}
valueText={
@@ -244,10 +243,10 @@ export const LayoutPresetDialog = ({
</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button size="md" type="button" variant="ghost" onClick={onClose}>
+ <Button type="button" variant="ghost" onClick={onClose}>
{t('common.cancel')}
</Button>
- <Button disabled={!canSubmit} size="md" type="submit">
+ <Button disabled={!canSubmit} type="submit">
{submitLabel}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsx
index 6f53b600f1..035e51ed3b 100644
--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsx
+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsx
@@ -102,7 +102,7 @@ export const LayoutPresetManagerDialogBody = () => {
</DndContext>
</Dialog.Body>
<Dialog.Footer>
- <Button size="md" variant="ghost" onClick={closeLayoutPresetManager}>
+ <Button variant="ghost" onClick={closeLayoutPresetManager}>
{t('common.done')}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/QueueCluster.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/QueueCluster.tsx
index 464930c0cf..7049a69bd2 100644
--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/QueueCluster.tsx
+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/QueueCluster.tsx
@@ -319,7 +319,6 @@ const QueueTooltip = ({
<Progress.Root
aria-label={t('topbar.queue.currentImageProgress')}
max={1}
- size="md"
value={getDeterminateProgressFraction(progress?.percentage)}
>
<Progress.Track>
diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsx
index 2edf169325..d21efef986 100644
--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsx
+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsx
@@ -128,7 +128,6 @@ export const RoutingControl = ({ state }: { state: InvocationState }) => {
pointerEvents="none"
position="absolute"
right="-1px"
- size="md"
top="-1px"
zIndex="1"
>
diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingDestinationSegments.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingDestinationSegments.tsx
index 4e4ff96c3e..df24f16c77 100644
--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingDestinationSegments.tsx
+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingDestinationSegments.tsx
@@ -27,7 +27,7 @@ export const RoutingDestinationSegments = ({
);
return (
- <SegmentGroup.Root aria-label={ariaLabel} disabled={disabled} size="md" value={value} onValueChange={handleChange}>
+ <SegmentGroup.Root aria-label={ariaLabel} disabled={disabled} value={value} onValueChange={handleChange}>
<SegmentGroup.Indicator />
{resultDestinations.map((destination) => (
<SegmentGroup.Item key={destination.id} flex="1" justifyContent="center" value={destination.id}>
diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetEnableMenu.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetEnableMenu.tsx
index 707cddb049..3bd49aa181 100644
--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetEnableMenu.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetEnableMenu.tsx
@@ -47,7 +47,7 @@ const MENU_ITEM_DISABLED_PROPS = { opacity: 0.4 };
const getWidgetEnableMenuTriggerButton = (label: string, trigger: WidgetEnableMenuTrigger) => {
if (trigger.kind === 'center') {
return (
- <IconButton aria-label={label} size="md" variant="ghost">
+ <IconButton aria-label={label} variant="ghost">
<Icon as={MoreHorizontalIcon} boxSize="4" />
</IconButton>
);
diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFailureBoundary.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFailureBoundary.tsx
index a8fb149983..2b8111715c 100644
--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFailureBoundary.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFailureBoundary.tsx
@@ -78,7 +78,7 @@ const WidgetFailureCard = ({
<Text color="fg.error" fontSize="md" fontWeight="700">
{t('widgets.failure.title', { label })}
</Text>
- <ScrollArea.Root maxH="8rem" size="md" variant="hover">
+ <ScrollArea.Root maxH="8rem" variant="hover">
<ScrollArea.Viewport ref={viewportRef} maxH="8rem">
<ScrollArea.Content>
<Code display="block" p="2" whiteSpace="pre-wrap">
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx
index e81eaf3504..748388c43a 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx
@@ -262,7 +262,7 @@ const CanvasHeaderActionsInner = ({
variant="ghost"
onClick={() => void saveToGallery('canvas')}
>
- {isSaving ? <Spinner size="md" /> : <SaveIcon />}
+ {isSaving ? <Spinner /> : <SaveIcon />}
</IconButton>
</Tooltip>
<Menu.Trigger asChild>
@@ -357,17 +357,16 @@ const CanvasSettingsActionsInner = ({ engine }: { engine: CanvasHeaderEngine })
<Text color="fg.subtle" fontSize="xs" textTransform="uppercase">
{t('widgets.canvas.settings.sections.debug')}
</Text>
- <Button size="md" variant="ghost" justifyContent="start" onClick={() => void engine.diagnostics.clearCaches()}>
+ <Button variant="ghost" justifyContent="start" onClick={() => void engine.diagnostics.clearCaches()}>
<DatabaseIcon />
{t('widgets.canvas.settings.clearCaches')}
</Button>
- <Button size="md" variant="ghost" justifyContent="start" onClick={() => engine.diagnostics.logDebugInfo()}>
+ <Button variant="ghost" justifyContent="start" onClick={() => engine.diagnostics.logDebugInfo()}>
<BugIcon />
{t('widgets.canvas.settings.logDebugInfo')}
</Button>
<Button
disabled={editingLocked}
- size="md"
variant="ghost"
justifyContent="start"
onClick={() => engine.history.clearHistory()}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasCompositingSection.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasCompositingSection.tsx
index bde34dad7f..3837354d42 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasCompositingSection.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasCompositingSection.tsx
@@ -136,8 +136,8 @@ export const GenerateCanvasCompositingSection = () => {
const badges = (
<>
- <Badge size="md">{t(`widgets.generate.compositingOptions.infillMethods.${settings.infillMethod}`)}</Badge>
- <Badge size="md">{settings.maskBlur}px</Badge>
+ <Badge>{t(`widgets.generate.compositingOptions.infillMethods.${settings.infillMethod}`)}</Badge>
+ <Badge>{settings.maskBlur}px</Badge>
</>
);
@@ -154,7 +154,6 @@ export const GenerateCanvasCompositingSection = () => {
aria-label={opt('infillMethod')}
collection={infillCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={infillValue}
valueText={opt(`infillMethods.${settings.infillMethod}`)}
onValueChange={handleInfillChange}
@@ -176,7 +175,6 @@ export const GenerateCanvasCompositingSection = () => {
aria-label={opt('coherenceMode')}
collection={coherenceCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={coherenceValue}
valueText={opt(`coherenceModes.${settings.coherenceMode}`)}
onValueChange={handleCoherenceModeChange}
@@ -186,7 +184,6 @@ export const GenerateCanvasCompositingSection = () => {
<NumberInput.Root
max={CANVAS_COHERENCE_EDGE_SIZE_MAX}
min={0}
- size="md"
step={1}
value={String(settings.coherenceEdgeSize)}
onValueChange={handleEdgeSizeChange}
@@ -199,7 +196,6 @@ export const GenerateCanvasCompositingSection = () => {
<NumberInput.Root
max={1}
min={0}
- size="md"
step={0.01}
value={settings.coherenceMinDenoise.toFixed(2)}
onValueChange={handleMinDenoiseChange}
@@ -212,7 +208,6 @@ export const GenerateCanvasCompositingSection = () => {
<NumberInput.Root
max={CANVAS_MASK_BLUR_MAX}
min={0}
- size="md"
step={1}
value={String(settings.maskBlur)}
onValueChange={handleMaskBlurChange}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasScalingSection.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasScalingSection.tsx
index 04810bb87f..28da3b4d11 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasScalingSection.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasScalingSection.tsx
@@ -138,7 +138,7 @@ export const GenerateCanvasScalingSection = () => {
const badges = useMemo(
() => (
- <Badge size="md">
+ <Badge>
{scaling.method === 'none' || !processingSize
? opt(`methods.${scaling.method}`)
: `${processingSize.width}x${processingSize.height}`}
@@ -160,7 +160,6 @@ export const GenerateCanvasScalingSection = () => {
aria-label={opt('method')}
collection={methodCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={methodValue}
valueText={opt(`methods.${scaling.method}`)}
onValueChange={handleMethodChange}
@@ -172,7 +171,6 @@ export const GenerateCanvasScalingSection = () => {
<NumberInput.Root
max={dimensions.max}
min={dimensions.min}
- size="md"
step={dimensions.grid}
value={String(scaling.width ?? context.bbox.width)}
{...widthHandlers}
@@ -185,7 +183,6 @@ export const GenerateCanvasScalingSection = () => {
<NumberInput.Root
max={dimensions.max}
min={dimensions.min}
- size="md"
step={dimensions.grid}
value={String(scaling.height ?? context.bbox.height)}
{...heightHandlers}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateDenoisingStrength.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateDenoisingStrength.tsx
index 7a6d4b2516..987c72a8bd 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateDenoisingStrength.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateDenoisingStrength.tsx
@@ -53,7 +53,7 @@ export const GenerateDenoisingStrength = () => {
const badges = useMemo(
() => (
<>
- <Badge size="md">{formatStrengthPercent(draftStrength)}</Badge>
+ <Badge>{formatStrengthPercent(draftStrength)}</Badge>
<DenoisingStrengthWave value={draftStrength} />
</>
),
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/MissingFontsDialog.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/MissingFontsDialog.tsx
index ff99d4f09b..68a4176843 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/MissingFontsDialog.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/MissingFontsDialog.tsx
@@ -40,7 +40,7 @@ export const MissingFontsDialog = ({ engine, groups }: { engine: CanvasEngine; g
return (
<>
<Box position="absolute" top="2" left="50%" transform="translateX(-50%)" zIndex="2">
- <Button colorPalette="orange" size="md" onClick={reopen}>
+ <Button colorPalette="orange" onClick={reopen}>
{t('fonts.missing.warning', { count: unavailable.length })}
</Button>
</Box>
@@ -211,17 +211,10 @@ const RecoveryRow = ({ group, engine }: { group: FontGroup; engine: CanvasEngine
</NativeSelect.Root>
{offset > 0 || (catalog.data?.total ?? 0) > 50 ? (
<Flex gap="2" justify="flex-end">
- <Button
- size="md"
- variant="outline"
- color="fg"
- disabled={offset === 0 || catalog.isFetching}
- onClick={previousPage}
- >
+ <Button variant="outline" color="fg" disabled={offset === 0 || catalog.isFetching} onClick={previousPage}>
{t('common.previousPage')}
</Button>
<Button
- size="md"
variant="outline"
color="fg"
disabled={catalog.isFetching || offset + 50 >= (catalog.data?.total ?? 0)}
@@ -235,7 +228,7 @@ const RecoveryRow = ({ group, engine }: { group: FontGroup; engine: CanvasEngine
{catalog.isError ? (
<Text role="alert" color="fg.error" fontSize="md">
{t('fonts.missing.catalogError')}
- <Button size="md" color="fg" variant="outline" ml="2" onClick={retryCatalog}>
+ <Button color="fg" variant="outline" ml="2" onClick={retryCatalog}>
{t('common.retry')}
</Button>
</Text>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/StagingBar.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/StagingBar.tsx
index 8fe38ee656..a1189990de 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/StagingBar.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/StagingBar.tsx
@@ -152,7 +152,6 @@ export const StagingBar = ({
h={areThumbnailsVisible ? THUMBNAIL_STRIP_HEIGHT : '0'}
opacity={areThumbnailsVisible ? 1 : 0}
pointerEvents={areThumbnailsVisible ? 'auto' : 'none'}
- size="md"
transition="height var(--wb-motion-duration-slow) ease, opacity var(--wb-motion-duration-slow) ease"
variant="hover"
w="full"
@@ -205,7 +204,7 @@ export const StagingBar = ({
<CanvasOptionsBar>
{isGenerating ? (
<HStack color="fg.muted" gap="1.5" px="1">
- <Spinner size="md" />
+ <Spinner />
<Text fontSize="md" fontWeight="600">
{t('widgets.canvas.staging.generating')}
</Text>
@@ -220,7 +219,6 @@ export const StagingBar = ({
? t('widgets.canvas.hideStagingThumbnails')
: t('widgets.canvas.showStagingThumbnails')
}
- size="md"
variant="ghost"
onClick={onToggleThumbnails}
>
@@ -231,7 +229,6 @@ export const StagingBar = ({
<IconButton
aria-label={t('widgets.canvas.previousStagedCandidate')}
disabled={!hasMultipleSlots}
- size="md"
variant="ghost"
onClick={() => onCycle(-1)}
>
@@ -246,7 +243,6 @@ export const StagingBar = ({
<IconButton
aria-label={t('widgets.canvas.nextStagedCandidate')}
disabled={!hasMultipleSlots}
- size="md"
variant="ghost"
onClick={() => onCycle(1)}
>
@@ -259,7 +255,7 @@ export const StagingBar = ({
<AutoSwitchMenu mode={autoSwitchMode} onSelect={onSetAutoSwitch} />
{cancelableQueueItemId ? (
- <Button size="md" variant="ghost" onClick={() => onCancelQueueItem(cancelableQueueItemId)}>
+ <Button variant="ghost" onClick={() => onCancelQueueItem(cancelableQueueItemId)}>
<XIcon />
{t('common.cancel')}
</Button>
@@ -280,7 +276,6 @@ export const StagingBar = ({
? t('widgets.canvas.hideStagedResultPreview')
: t('widgets.canvas.showStagedResultPreview')
}
- size="md"
variant="ghost"
onClick={onToggleVisibility}
>
@@ -292,30 +287,29 @@ export const StagingBar = ({
<IconButton
aria-label={t('widgets.canvas.staging.saveToGallery')}
disabled={isSaving}
- size="md"
variant="ghost"
onClick={handleSaveToGallery}
>
- {isSaving ? <Spinner size="md" /> : <SaveIcon />}
+ {isSaving ? <Spinner /> : <SaveIcon />}
</IconButton>
</Tooltip>
<Tooltip content={t('common.discard')}>
- <IconButton aria-label={t('common.discard')} size="md" variant="ghost" onClick={onDiscardSelected}>
+ <IconButton aria-label={t('common.discard')} variant="ghost" onClick={onDiscardSelected}>
<XIcon />
</IconButton>
</Tooltip>
<CanvasFloatingBarDivider />
- <Button size="md" variant="ghost" onClick={onDiscardAll}>
+ <Button variant="ghost" onClick={onDiscardAll}>
<Trash2Icon />
{t('common.discardAll')}
</Button>
<Menu.Root positioning={MENU_POSITIONING}>
<Group attached>
- <Button disabled={!canAccept} size="md" onClick={onAccept}>
+ <Button disabled={!canAccept} onClick={onAccept}>
<CheckIcon />
{t('widgets.canvas.acceptToLayer')}
</Button>
@@ -324,7 +318,6 @@ export const StagingBar = ({
aria-label={t('widgets.canvas.staging.moreAcceptOptions')}
disabled={!canAccept}
minW="0"
- size="md"
w="6"
>
<ChevronDownIcon />
@@ -367,7 +360,7 @@ const AutoSwitchMenu = ({ mode, onSelect }: { mode: AutoSwitchMode; onSelect: (m
<Tooltip content={t('widgets.canvas.staging.autoSwitch')}>
<span style={{ display: 'inline-flex' }}>
<Menu.Trigger asChild>
- <Button minW="unset" px="2" size="md" variant="ghost">
+ <Button minW="unset" px="2" variant="ghost">
<SparklesIcon size={13} />
<Text fontSize="md">{label(mode)}</Text>
</Button>
@@ -519,7 +512,6 @@ const StagingPlaceholderProgress = ({ percentage }: { percentage: number | null
borderWidth={1}
p={0.5}
rounded="full"
- size="md"
value={percentage}
>
<ProgressCircle.Circle>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/ToolStripFlyout.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/ToolStripFlyout.tsx
index 9488f44116..2dfb0f3d63 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/ToolStripFlyout.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/ToolStripFlyout.tsx
@@ -232,7 +232,6 @@ export const ToolFamilyButton = ({
aria-label={label}
aria-pressed={isActive}
disabled={disabled}
- size="md"
variant={isActive ? 'solid' : 'ghost'}
onContextMenu={onContextMenu}
onKeyDown={onKeyDown}
@@ -301,7 +300,6 @@ const FlyoutItem = ({
aria-label={item.label}
data-subtool-id={item.id}
role="menuitemradio"
- size="md"
variant={checked ? 'solid' : 'ghost'}
onClick={onClick}
>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/FilterOptions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/FilterOptions.tsx
index f00f899812..4157443afd 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/FilterOptions.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/FilterOptions.tsx
@@ -170,7 +170,6 @@ const FilterChooseSettings = ({ engine, isSurfaceInteractionLocked }: ToolFormPr
groupBy={groupBy}
itemsMaxH="18rem"
renderGroupLabel={renderGroupLabel}
- size="md"
value={filterValue}
valueText={t(`widgets.layers.control.filters.${session.draft.type}`, session.draft.type)}
w="full"
@@ -236,7 +235,7 @@ const FilterFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps)
title={t('widgets.layers.rasterFilter.title')}
/>
</Box>
- <Button disabled={!eligibility.canReset} flexShrink={0} size="md" variant="ghost" onClick={reset}>
+ <Button disabled={!eligibility.canReset} flexShrink={0} variant="ghost" onClick={reset}>
{t('widgets.layers.selectObject.reset')}
</Button>
{session.autoProcess ? null : (
@@ -244,7 +243,6 @@ const FilterFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps)
disabled={!eligibility.canProcess}
flexShrink={0}
loading={session.status === 'processing'}
- size="md"
onClick={() => void operations.processFilterOperation()}
>
{t('widgets.layers.selectObject.process')}
@@ -256,7 +254,6 @@ const FilterFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps)
disabled={!eligibility.canApply}
loading={session.status === 'committing'}
roundedRight="none"
- size="md"
variant="solid"
onClick={onApply}
>
@@ -269,7 +266,6 @@ const FilterFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps)
disabled={!eligibility.canSave}
px="1"
roundedLeft="none"
- size="md"
variant="solid"
>
<Icon as={ChevronDownIcon} boxSize="3.5" />
@@ -299,7 +295,6 @@ const FilterFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps)
data-pane-action="cancel"
disabled={!eligibility.canCancel}
flexShrink={0}
- size="md"
variant="ghost"
onClick={onCancel}
>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/OperationStatusSlot.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/OperationStatusSlot.tsx
index 7a51f8429f..d5f42447de 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/OperationStatusSlot.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/OperationStatusSlot.tsx
@@ -50,7 +50,7 @@ export const OperationStatusSlot = ({
</span>
{detail && detail !== errorText ? (
<Tooltip content={detail}>
- <IconButton aria-label={technicalDetailsLabel} flexShrink="0" size="md" tabIndex={0} variant="ghost">
+ <IconButton aria-label={technicalDetailsLabel} flexShrink="0" tabIndex={0} variant="ghost">
<InfoIcon />
</IconButton>
</Tooltip>
@@ -60,7 +60,7 @@ export const OperationStatusSlot = ({
<Flex align="center" aria-live="polite" gap="2" minW="0" role="status">
{isBusy ? (
<>
- <Spinner flexShrink="0" size="md" />
+ <Spinner flexShrink="0" />
<span>{statusText}</span>
</>
) : null}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SamOptions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SamOptions.tsx
index 60a79f9e36..f43a199302 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SamOptions.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SamOptions.tsx
@@ -188,7 +188,6 @@ export const SamModeToggle = ({
<Button
aria-pressed={mode === 'visual'}
disabled={disabled}
- size="md"
variant={mode === 'visual' ? 'solid' : 'ghost'}
onClick={onVisual}
>
@@ -197,7 +196,6 @@ export const SamModeToggle = ({
<Button
aria-pressed={mode === 'prompt'}
disabled={disabled}
- size="md"
variant={mode === 'prompt' ? 'solid' : 'ghost'}
onClick={onPrompt}
>
@@ -237,7 +235,6 @@ export const SamVisualInput = ({
aria-pressed={pointLabel === 'include'}
disabled={disabled}
px="1.5"
- size="md"
variant={pointLabel === 'include' ? 'solid' : 'outline'}
onClick={onInclude}
>
@@ -253,7 +250,6 @@ export const SamVisualInput = ({
aria-pressed={pointLabel === 'exclude'}
disabled={disabled}
px="1.5"
- size="md"
variant={pointLabel === 'exclude' ? 'solid' : 'outline'}
onClick={onExclude}
>
@@ -299,7 +295,6 @@ export const SamPromptBody = ({
disabled={disabled}
flexShrink={0}
placeholder={t('widgets.layers.selectObject.promptGuidance')}
- size="md"
value={prompt}
w="7.5rem"
onChange={onChange}
@@ -324,7 +319,6 @@ const SamSettingsSwitch = ({
checked={checked}
disabled={disabled}
justifyContent="space-between"
- size="md"
w="full"
onCheckedChange={({ checked: next }) => onChange(next)}
>
@@ -372,7 +366,6 @@ export const SamSettings = ({
collection={modelCollection}
disabled={isProcessing || !eligibility.canEditInputs}
ids={{ trigger: 'sam-model' }}
- size="md"
value={modelValue}
onValueChange={({ value }) => {
const model = value[0];
@@ -520,16 +513,10 @@ const SamFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps) =>
title={t('widgets.layers.selectObject.title')}
/>
</Box>
- <Button disabled={!eligibility.canReset} flexShrink={0} size="md" variant="ghost" onClick={actions.reset}>
+ <Button disabled={!eligibility.canReset} flexShrink={0} variant="ghost" onClick={actions.reset}>
{t('widgets.layers.selectObject.reset')}
</Button>
- <Button
- disabled={!eligibility.canProcess}
- flexShrink={0}
- loading={isProcessing}
- size="md"
- onClick={actions.process}
- >
+ <Button disabled={!eligibility.canProcess} flexShrink={0} loading={isProcessing} onClick={actions.process}>
{t('widgets.layers.selectObject.process')}
</Button>
<Flex flexShrink={0}>
@@ -538,7 +525,6 @@ const SamFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps) =>
disabled={!eligibility.canApply}
loading={session.status === 'committing'}
roundedRight="none"
- size="md"
variant="solid"
onClick={actions.apply}
>
@@ -551,7 +537,6 @@ const SamFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps) =>
disabled={!eligibility.canSave}
px="1"
roundedLeft="none"
- size="md"
variant="solid"
>
<Icon as={ChevronDownIcon} boxSize="3.5" />
@@ -578,7 +563,6 @@ const SamFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps) =>
data-pane-action="cancel"
disabled={!eligibility.canCancel}
flexShrink={0}
- size="md"
variant="ghost"
onClick={actions.cancel}
>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SelectionOptionsRow.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SelectionOptionsRow.tsx
index 78f2afef58..c4782e7283 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SelectionOptionsRow.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SelectionOptionsRow.tsx
@@ -44,13 +44,7 @@ const OpModeButton = ({
const Icon = OP_MODE_ICONS[mode];
return (
<Tooltip content={label}>
- <IconButton
- aria-label={label}
- aria-pressed={active}
- size="md"
- variant={active ? 'solid' : 'ghost'}
- onClick={onClick}
- >
+ <IconButton aria-label={label} aria-pressed={active} variant={active ? 'solid' : 'ghost'} onClick={onClick}>
<Icon />
</IconButton>
</Tooltip>
@@ -101,7 +95,7 @@ const SelectionAction = ({
}, [disabledReason, onClick]);
return (
<Tooltip content={disabledReason ?? ''} disabled={disabledReason === null}>
- <Button aria-disabled={disabledReason !== null} size="md" variant="ghost" onClick={guarded}>
+ <Button aria-disabled={disabledReason !== null} variant="ghost" onClick={guarded}>
{label}
</Button>
</Tooltip>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/TextOptions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/TextOptions.tsx
index 3be557d7aa..8470b2b8bf 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/TextOptions.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/TextOptions.tsx
@@ -202,7 +202,6 @@ const AlignButton = ({
<IconButton
aria-label={t(ALIGN_LABEL_KEYS[value])}
aria-pressed={active}
- size="md"
variant={active ? 'solid' : 'ghost'}
onClick={onClick}
>
@@ -477,7 +476,6 @@ const FontAxisSettings = ({
collection={presetCollection}
minW="0"
positioning={SELECT_POSITIONING}
- size="md"
value={presetValue}
valueText={presetCollection.items.find((item) => item.value === presetValue[0])?.label}
onValueChange={onPreset}
@@ -532,7 +530,7 @@ const FontCatalogStatus = ({
return (
<PropertyControlRow>
<HStack color="fg.muted" gap="1.5" gridColumn="2 / -1" role="status">
- <Spinner size="md" />
+ <Spinner />
<Text fontSize="xs">{t('common.loading')}</Text>
</HStack>
</PropertyControlRow>
@@ -800,7 +798,6 @@ export const TextFontSettings = ({ engine }: ToolFormProps) => {
minW="0"
positioning={SELECT_POSITIONING}
renderGroupLabel={renderGroupLabel}
- size="md"
value={familyValue}
valueText={familyLabel}
onValueChange={onFamily}
@@ -825,7 +822,6 @@ export const TextFontSettings = ({ engine }: ToolFormProps) => {
gridColumn={showWeight ? undefined : '2 / -1'}
minW="0"
positioning={SELECT_POSITIONING}
- size="md"
value={styleValue}
valueText={styleCollection.items.find((item) => item.value === active.fontStyle)?.label}
onValueChange={onStyle}
@@ -837,7 +833,6 @@ export const TextFontSettings = ({ engine }: ToolFormProps) => {
collection={weightCollection}
flexShrink={0}
positioning={SELECT_POSITIONING}
- size="md"
triggerProps={WEIGHT_TRIGGER_PROPS}
value={weightValue}
valueText={String(active.fontWeight)}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/FormControls.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/FormControls.tsx
index 2019de767c..677458b09a 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/FormControls.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/FormControls.tsx
@@ -100,7 +100,6 @@ export const FormNumberField = ({
flexShrink={0}
max={max}
min={min}
- size="md"
step={step}
value={live ? value : (draft ?? value)}
w={`${FORM_NUMBER_FIELD_WIDTH_PX}px`}
@@ -199,7 +198,6 @@ export const FormSlider = ({
max={max}
min={min}
minW="0"
- size="md"
step={step}
value={values}
onKeyDownCapture={onKeyDownCapture}
@@ -273,20 +271,12 @@ export const ApplyCancelBar = ({
disabled={applyDisabled}
flexShrink={0}
loading={applyLoading}
- size="md"
variant="solid"
onClick={onApply}
>
{t('common.apply')}
</Button>
- <Button
- data-pane-action="cancel"
- disabled={cancelDisabled}
- flexShrink={0}
- size="md"
- variant="ghost"
- onClick={onCancel}
- >
+ <Button data-pane-action="cancel" disabled={cancelDisabled} flexShrink={0} variant="ghost" onClick={onCancel}>
{t('common.cancel')}
</Button>
</Flex>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/PropertyPrimitives.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/PropertyPrimitives.tsx
index e3e19c5cd5..ca647bad7d 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/PropertyPrimitives.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/PropertyPrimitives.tsx
@@ -45,7 +45,6 @@ export const PropertySwitchRow = ({
disabled={disabled}
justifyContent="space-between"
minH="7"
- size="md"
w="full"
onCheckedChange={handleChange}
>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/diagnostics/DiagnosticsHeaderActions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/diagnostics/DiagnosticsHeaderActions.tsx
index 02cf376caa..6f465c5035 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/diagnostics/DiagnosticsHeaderActions.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/diagnostics/DiagnosticsHeaderActions.tsx
@@ -13,7 +13,7 @@ export const DiagnosticsHeaderActions = () => {
}
return (
- <Badge colorPalette="red" size="md">
+ <Badge colorPalette="red">
<BugIcon />
<span aria-hidden>{problemCount}</span>
<VisuallyHidden>{t('widgets.diagnostics.chipProblems', { count: problemCount })}</VisuallyHidden>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageIndexProgress.tsx b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageIndexProgress.tsx
index 5a64bbbf12..34bf6b9e1c 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageIndexProgress.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageIndexProgress.tsx
@@ -88,7 +88,7 @@ export const ImageIndexProgressPanel = ({
</Text>
) : null}
{/* Refresh is the only control before map readiness and recovers counts missed while offline. */}
- <Button mt={error ? '0' : '2'} onClick={onRetry} size="md" variant="outline">
+ <Button mt={error ? '0' : '2'} onClick={onRetry} variant="outline">
{error ? 'Retry' : 'Check again'}
</Button>
</Stack>
@@ -124,7 +124,7 @@ export const ImageIndexActivityBadge = ({ counts, updatedAt }: ImageIndexProgres
py="1"
title={label}
>
- <Progress.Root flexShrink="0" max={100} size="md" value={progress.percent} w="10">
+ <Progress.Root flexShrink="0" max={100} value={progress.percent} w="10">
<Progress.Track aria-label={`${PROGRESS_LABEL}: ${label}`} aria-valuenow={progress.percent}>
<Progress.Range />
</Progress.Track>
@@ -145,7 +145,7 @@ export const ImageIndexProgressInline = ({ counts, updatedAt }: ImageIndexProgre
<Tooltip content={label}>
{/* Use minW=0 and truncation so six-digit footer counts cannot cover refresh in narrow panels. */}
<HStack gap="1.5" minW="0" overflow="hidden" title={label}>
- <Progress.Root flexShrink="0" max={100} size="md" value={progress.percent} w="10">
+ <Progress.Root flexShrink="0" max={100} value={progress.percent} w="10">
{/* The counts go in the name too: at the widget's minimum width the
label beside it truncates to a couple of characters, and the
tooltip carrying the full text is hover-only. */}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetView.tsx b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetView.tsx
index 2ed77e528a..afee3bbe35 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetView.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetView.tsx
@@ -248,7 +248,7 @@ export const ImageMapWidgetView = ({ runtime }: WidgetViewProps) => {
<Text color="fg.muted" fontSize="lg">
Computing your image map…
</Text>
- <Button onClick={handleRefresh} size="md" variant="outline">
+ <Button onClick={handleRefresh} variant="outline">
Check again
</Button>
</Stack>
@@ -300,7 +300,7 @@ const CenteredMessage = ({
</Text>
) : null}
{actionLabel && onAction ? (
- <Button mt="2" onClick={onAction} size="md" variant="outline">
+ <Button mt="2" onClick={onAction} variant="outline">
{actionLabel}
</Button>
) : null}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/image-map/MapHoverCard.tsx b/invokeai/frontend/webv2/src/workbench/widgets/image-map/MapHoverCard.tsx
index 3417fe6edd..a2854eebe4 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/image-map/MapHoverCard.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/image-map/MapHoverCard.tsx
@@ -153,7 +153,7 @@ export const MapHoverCard = ({
</HStack>
<HStack alignItems="flex-start" gap="1.5">
{videoDuration !== null ? (
- <Badge display="flex" flexShrink={0} fontVariantNumeric="tabular-nums" gap="1" size="md" variant="solid">
+ <Badge display="flex" flexShrink={0} fontVariantNumeric="tabular-nums" gap="1" variant="solid">
<PlayIcon aria-hidden="true" fill="currentColor" />
{videoDuration}
</Badge>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/AdjustmentSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/AdjustmentSettings.tsx
index f07c3357cf..6dee004973 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/AdjustmentSettings.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/AdjustmentSettings.tsx
@@ -318,7 +318,6 @@ const ScalarSlider = ({
formatValue={formatValue}
max={max}
min={min}
- size="md"
step={step}
value={sliderValue}
withThumbTooltip
@@ -441,7 +440,6 @@ const LevelsEditor = ({
aria-label={t('widgets.layers.adjustments.channel')}
collection={channelCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={channelValue}
valueText={t(`widgets.layers.adjustments.channels.${entry.channel ?? 'rgb'}`)}
onValueChange={handleChannelChange}
@@ -453,7 +451,6 @@ const LevelsEditor = ({
max={255}
min={0}
minStepsBetweenThumbs={1}
- size="md"
step={1}
value={inputValue}
withThumbTooltip
@@ -467,7 +464,6 @@ const LevelsEditor = ({
formatValue={formatGamma}
max={4}
min={0.1}
- size="md"
step={0.01}
value={gammaValue}
withThumbTooltip
@@ -480,7 +476,6 @@ const LevelsEditor = ({
aria-label={outputAria}
max={255}
min={0}
- size="md"
step={1}
value={outputValue}
withThumbTooltip
@@ -664,7 +659,6 @@ const CurvesEditor = ({
aria-label={t('widgets.layers.adjustments.channel')}
collection={channelCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={channelValue}
valueText={t(`widgets.layers.adjustments.channels.${channel}`)}
w="6rem"
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/ControlLayerSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/ControlLayerSettings.tsx
index 8f3e9364e1..158bb67636 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/ControlLayerSettings.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/ControlLayerSettings.tsx
@@ -402,7 +402,6 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont
aria-label={t('widgets.layers.control.kind')}
collection={kindCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={kindValue}
valueText={t(`widgets.layers.control.kinds.${adapter.kind}`)}
onValueChange={handleKindChange}
@@ -414,7 +413,6 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont
aria-label={t('widgets.layers.control.model')}
collection={modelCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={modelValue}
valueText={selectedModelName ?? t('widgets.layers.control.selectModel')}
valueTextProps={adapter.model ? undefined : MISSING_MODEL_VALUE_TEXT_PROPS}
@@ -429,7 +427,6 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont
formatValue={formatWeight}
max={CONTROL_WEIGHT_BOUNDS.sliderMax}
min={CONTROL_WEIGHT_BOUNDS.sliderMin}
- size="md"
step={CONTROL_WEIGHT_BOUNDS.step}
value={weightValue}
withThumbTooltip
@@ -439,7 +436,6 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont
<NumberInput.Root
max={CONTROL_WEIGHT_BOUNDS.inputMax}
min={weightInputMin}
- size="md"
step={CONTROL_WEIGHT_BOUNDS.step}
value={weightInputValue}
w="20"
@@ -456,7 +452,6 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont
formatValue={formatUnitPercent}
max={1}
min={0}
- size="md"
step={0.01}
value={rangeValue}
withThumbTooltip
@@ -470,7 +465,6 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont
aria-label={t('widgets.layers.control.mode')}
collection={controlModeCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={controlModeValue}
valueText={t(`widgets.layers.control.modes.${adapter.controlMode ?? 'balanced'}`)}
onValueChange={handleControlModeChange}
@@ -511,7 +505,6 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont
<Button
aria-busy={isRetryingCapabilities}
aria-disabled={isRetryingCapabilities}
- size="md"
variant="outline"
onClick={retryCapabilities}
>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/InpaintMaskSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/InpaintMaskSettings.tsx
index c7d2cf20a2..d7a69319e7 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/InpaintMaskSettings.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/InpaintMaskSettings.tsx
@@ -145,14 +145,13 @@ export const InpaintMaskSettings = ({ engine, layer }: InpaintMaskSettingsProps)
aria-label={t('widgets.layers.maskFill.style')}
collection={styleCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={styleValue}
valueText={t(`widgets.layers.maskFill.styles.${fill.style}`)}
onValueChange={handleStyleChange}
/>
</Field>
</HStack>
- <Button disabled={!engine} size="md" variant="outline" onClick={handleInvert}>
+ <Button disabled={!engine} variant="outline" onClick={handleInvert}>
{t('widgets.layers.maskFill.invert')}
</Button>
</Stack>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerBlendRow.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerBlendRow.tsx
index 6972a3fadd..3d986c4f2b 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerBlendRow.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerBlendRow.tsx
@@ -101,7 +101,6 @@ const BlendModeControl = ({
itemsMaxH="16rem"
minW="0"
positioning={SELECT_POSITIONING}
- size="md"
triggerProps={BLEND_TRIGGER_PROPS}
value={blendValue}
valueText={t(`widgets.layers.blendModes.${blendMode}`)}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerChildRow.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerChildRow.tsx
index b0c45b57f9..9b35bfa659 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerChildRow.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerChildRow.tsx
@@ -284,7 +284,6 @@ const LayerChildRowComponent = ({
defaultValue={name}
flex="1"
minW="0"
- size="md"
userSelect="text"
onBlur={handleNameBlur}
onClick={stopPropagation}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.tsx
index 45964ba14c..2ca7d7a485 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.tsx
@@ -292,7 +292,6 @@ const FilterParamField = ({ disabled, param, policy, settings, value, onChange }
max={numberBounds.sliderMax}
minH={policy.controlMinH}
min={numberBounds.sliderMin}
- size="md"
step={numberBounds.step}
value={numberValue}
withThumbTooltip
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterOperationButton.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterOperationButton.tsx
index f4a9b10fd8..a962262b7b 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterOperationButton.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterOperationButton.tsx
@@ -65,7 +65,7 @@ export const LayerFilterOperationButton = ({
disabled={disabledReason === null}
>
<Box w="full">
- <Button disabled={disabledReason !== null} size="md" variant="outline" w="full" onClick={start}>
+ <Button disabled={disabledReason !== null} variant="outline" w="full" onClick={start}>
{t('widgets.layers.control.filter')}
</Button>
</Box>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRegionSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRegionSettings.tsx
index 7aaf5f2847..99f268f798 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRegionSettings.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRegionSettings.tsx
@@ -128,7 +128,6 @@ export const LayerRegionSettings = ({ engine, layer }: LayerRegionSettingsProps)
aria-label={t('widgets.layers.maskFill.style')}
collection={styleCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={styleValue}
valueText={t(`widgets.layers.maskFill.styles.${fill.style}`)}
onValueChange={handleStyleChange}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRow.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRow.tsx
index 34588eeafe..5f2f5f729a 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRow.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRow.tsx
@@ -419,7 +419,6 @@ const LayerRowComponent = ({
ref={focusOnMount}
aria-label={t('widgets.layers.actions.rename')}
defaultValue={node.name}
- size="md"
userSelect="text"
onBlur={handleNameBlur}
onClick={stopPropagation}
@@ -580,7 +579,7 @@ export const LayerDragGhost = ({ count, vm }: { count: number; vm: SemanticNode
{vm.node.name}
</Text>
{count > 1 ? (
- <Badge colorPalette="accent" size="md" variant="solid">
+ <Badge colorPalette="accent" variant="solid">
{count}
</Badge>
) : null}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerThumbnail.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerThumbnail.tsx
index 5d82d8c8bb..e55db340af 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerThumbnail.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerThumbnail.tsx
@@ -112,7 +112,6 @@ const LayerThumbnailContent = ({
onClick={retry}
onPointerDown={stopPropagation}
position="absolute"
- size="md"
variant="surface"
>
<RefreshCwIcon />
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersPanelFooter.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersPanelFooter.tsx
index 204d196a99..6a19024e14 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersPanelFooter.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersPanelFooter.tsx
@@ -31,7 +31,6 @@ const LayersPanelFooterComponent = ({ commands, degraded, filter, onFilterChange
flex="1"
minW="0"
placeholder={t('widgets.layers.footer.filter')}
- size="md"
value={filter}
onChange={handleFilter}
/>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/MaskModifierSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/MaskModifierSettings.tsx
index 7da718c7a4..aced9f62f5 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/MaskModifierSettings.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/MaskModifierSettings.tsx
@@ -99,7 +99,6 @@ export const MaskModifierSettings = ({
formatValue={formatUnitPercent}
max={1}
min={0}
- size="md"
step={0.01}
value={sliderValue}
withThumbTooltip
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/ReferenceImageSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/ReferenceImageSettings.tsx
index 767f3d70ec..9ed5705b62 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/ReferenceImageSettings.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/ReferenceImageSettings.tsx
@@ -396,7 +396,7 @@ const ReferenceImageEditor = ({
<Text color="fg.muted" fontSize="xs">
{t('widgets.layers.regionalGuidance.referenceImageHelp')}
</Text>
- <Button size="md" variant="ghost" onClick={openUpload}>
+ <Button variant="ghost" onClick={openUpload}>
<UploadIcon size="12" />
{t('widgets.gallery.picker.upload')}
</Button>
@@ -409,7 +409,6 @@ const ReferenceImageEditor = ({
aria-label={t('widgets.layers.regionalGuidance.model')}
collection={modelCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={modelValue}
valueText={modelName}
onValueChange={handleModel}
@@ -423,7 +422,6 @@ const ReferenceImageEditor = ({
aria-label={t('widgets.layers.regionalGuidance.method')}
collection={collections.method}
positioning={SELECT_POSITIONING}
- size="md"
value={methodValue}
valueText={t(`widgets.layers.regionalGuidance.methods.${config.method}`)}
onValueChange={handleMethod}
@@ -435,7 +433,6 @@ const ReferenceImageEditor = ({
formatValue={formatWeight}
max={2}
min={-1}
- size="md"
step={0.01}
value={weightValue}
withThumbTooltip
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/RegionalGuidanceSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/RegionalGuidanceSettings.tsx
index b55579d18b..3ec12a57ad 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/RegionalGuidanceSettings.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/RegionalGuidanceSettings.tsx
@@ -265,7 +265,7 @@ export const RegionalGuidanceSettings = ({ engine, layer }: RegionalGuidanceSett
</Field>
)}
{showNegativeControls && (
- <Switch.Root checked={layer.autoNegative} size="md" onCheckedChange={handleAutoNegative}>
+ <Switch.Root checked={layer.autoNegative} onCheckedChange={handleAutoNegative}>
<Switch.HiddenInput />
<Switch.Control>
<Switch.Thumb />
@@ -303,14 +303,13 @@ export const RegionalGuidanceSettings = ({ engine, layer }: RegionalGuidanceSett
aria-label={t('widgets.layers.maskFill.style')}
collection={styleCollection}
positioning={SELECT_POSITIONING}
- size="md"
value={styleValue}
valueText={t(`widgets.layers.maskFill.styles.${fill.style}`)}
onValueChange={handleStyleChange}
/>
</Field>
</HStack>
- <Button disabled={!engine} size="md" variant="outline" onClick={handleInvert}>
+ <Button disabled={!engine} variant="outline" onClick={handleInvert}>
{t('widgets.layers.maskFill.invert')}
</Button>
</Stack>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsx
index 24f7399f63..2d89dfff22 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsx
@@ -520,10 +520,10 @@ export const RunLayerWorkflowDialog = ({
</Stack>
</Dialog.Body>
<Dialog.Footer>
- <Button size="md" type="button" variant="ghost" onClick={close}>
+ <Button type="button" variant="ghost" onClick={close}>
{t('widgets.layers.runWorkflow.cancel')}
</Button>
- <Button disabled={!canRun} loading={isRunning} size="md" type="submit" variant="solid">
+ <Button disabled={!canRun} loading={isRunning} type="submit" variant="solid">
{t('widgets.layers.runWorkflow.run')}
</Button>
</Dialog.Footer>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsx
index e59f1ce6ac..dae8d4bf7a 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsx
@@ -450,7 +450,6 @@ const HexField = ({ hex, onCommit }: { hex: string; onCommit: (hex: string) => v
fontFamily="mono"
fontSize="md"
minW="24"
- size="md"
value={draft ?? hex}
onBlur={commit}
onChange={onChange}
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerSection.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerSection.tsx
index 09e11a57da..e7fd73251b 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerSection.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerSection.tsx
@@ -204,7 +204,7 @@ const RasterLayerSettings = ({
return (
<Stack gap="2">
- <Switch.Root checked={isLocked} size="md" onCheckedChange={handleTransparencyLock}>
+ <Switch.Root checked={isLocked} onCheckedChange={handleTransparencyLock}>
<Switch.HiddenInput />
<Switch.Control>
<Switch.Thumb />
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/TransformPane.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/TransformPane.tsx
index 1559e03655..e253d9645f 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/TransformPane.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/TransformPane.tsx
@@ -167,12 +167,10 @@ const ConnectedTransform = ({ engine }: { engine: CanvasEngineHandle }) => {
</PropertyControlRow>
{pending ? (
<Flex gap="2" justify="flex-end">
- <Button size="md" variant="ghost" onClick={onCancel}>
+ <Button variant="ghost" onClick={onCancel}>
{t('common.cancel')}
</Button>
- <Button size="md" onClick={onApply}>
- {t('common.apply')}
- </Button>
+ <Button onClick={onApply}>{t('common.apply')}</Button>
</Flex>
) : (
<Text color="fg.muted" fontSize="xs">
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsWidgetView.tsx b/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsWidgetView.tsx
index 7d157cecaa..b7904ce086 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsWidgetView.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsWidgetView.tsx
@@ -92,7 +92,7 @@ const NotificationsPanel = () => {
{notification.titleKey ? t(notification.titleKey) : notification.title}
</Text>
</HStack>
- <Badge colorPalette={kindColorPalette[notification.kind]} size="md">
+ <Badge colorPalette={kindColorPalette[notification.kind]}>
{t(`notifications.kind.${notification.kind}`)}
</Badge>
</HStack>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsx
index 9d13114ffb..2ef3b80184 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsx
@@ -221,7 +221,7 @@ export const PreviewCompare = ({
)}
</PreviewStage>
<HStack flexShrink={0} gap="1" justify="center">
- <SegmentGroup.Root size="md" value={mode} onValueChange={handleModeChange}>
+ <SegmentGroup.Root value={mode} onValueChange={handleModeChange}>
<SegmentGroup.Indicator />
{COMPARISON_MODES.map((item) => (
<SegmentGroup.Item key={item.value} value={item.value}>
@@ -367,10 +367,10 @@ const HoverCompareFrame = ({
const ComparisonBadges = ({ compareLabel, viewingLabel }: { compareLabel: string; viewingLabel: string }) => (
<>
- <Badge left="2" pointerEvents="none" position="absolute" size="md" top="2" variant="solid">
+ <Badge left="2" pointerEvents="none" position="absolute" top="2" variant="solid">
{compareLabel}
</Badge>
- <Badge pointerEvents="none" position="absolute" right="2" size="md" top="2" variant="solid">
+ <Badge pointerEvents="none" position="absolute" right="2" top="2" variant="solid">
{viewingLabel}
</Badge>
</>
@@ -411,7 +411,7 @@ const CompareSidePane = ({
style={BASE_IMAGE_STYLE}
width={image.width}
/>
- <Badge left="2" pointerEvents="none" position="absolute" size="md" top="2" variant="solid">
+ <Badge left="2" pointerEvents="none" position="absolute" top="2" variant="solid">
{label}
</Badge>
</Box>
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompareDropZone.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompareDropZone.tsx
index dd7afe5b36..416a69e535 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompareDropZone.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompareDropZone.tsx
@@ -40,9 +40,7 @@ export const PreviewCompareDropZone = ({ currentImageName }: { currentImageName:
variant="overlay"
zIndex="2"
>
- <Badge size="md" variant="subtle">
- {t('widgets.preview.dropToCompare')}
- </Badge>
+ <Badge variant="subtle">{t('widgets.preview.dropToCompare')}</Badge>
</DropZone>
);
};
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFilmstrip.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFilmstrip.tsx
index a19cd374a5..fb1d0d843c 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFilmstrip.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFilmstrip.tsx
@@ -239,7 +239,7 @@ const FilmstripLiveThumb = ({
{isPinned ? (
<Icon aria-hidden as={PinIcon} boxSize="3" />
) : isRunning ? (
- <ProgressCircle.Root aria-hidden size="md" value={percentage}>
+ <ProgressCircle.Root aria-hidden value={percentage}>
<ProgressCircle.Circle>
<ProgressCircle.Track />
<ProgressCircle.Range />
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFrame.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFrame.tsx
index 554aa555a1..2603f4c8cb 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFrame.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFrame.tsx
@@ -877,7 +877,6 @@ const PreviewVideo = ({
// is the native control bar.
insetInlineStart="50%"
position="absolute"
- size="md"
title={t('widgets.preview.dragVideo')}
top="2"
touchAction="none"
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMetadataPanel.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMetadataPanel.tsx
index e9f6bd64cd..1b7cd6930a 100644
--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMetadataPanel.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMetadataPanel.tsx
@@ -206,7 +206,7 @@ const ImageDetails = ({
{t('widgets.preview.loadingMetadata')}
</Text>
) : (
- <DataList.Root gap="1.5" orientation="horizontal" size="md">
+ <DataList.Root gap="1.5" orientation="horizontal">
{entries.map((entry) => {
const recall = ENTRY_RECALL_KINDS[entry.key];