Move inlinecode to shared ui package

This commit is contained in:
Gregory Schier
2026-03-12 19:32:04 -07:00
parent d253d1605c
commit 4d792c7f9f
36 changed files with 35 additions and 56 deletions

View File

@@ -18,8 +18,7 @@ import { Button } from '../core/Button';
import type { CheckboxProps } from '../core/Checkbox';
import { Checkbox } from '../core/Checkbox';
import { DiffViewer } from '../core/Editor/DiffViewer';
import { Banner, Icon, SplitLayout } from '@yaakapp-internal/ui';
import { InlineCode } from '../core/InlineCode';
import { Banner, Icon, InlineCode, SplitLayout } from '@yaakapp-internal/ui';
import { Input } from '../core/Input';
import { Separator } from '../core/Separator';
import { HStack } from '../core/Stacks';

View File

@@ -15,8 +15,7 @@ import { showPrompt } from '../../lib/prompt';
import { showErrorToast, showToast } from '../../lib/toast';
import type { DropdownItem } from '../core/Dropdown';
import { Dropdown } from '../core/Dropdown';
import { Banner, Icon } from '@yaakapp-internal/ui';
import { InlineCode } from '../core/InlineCode';
import { Banner, Icon, InlineCode } from '@yaakapp-internal/ui';
import { gitCallbacks } from './callbacks';
import { GitCommitDialog } from './GitCommitDialog';
import { GitRemotesDialog } from './GitRemotesDialog';

View File

@@ -1,6 +1,5 @@
import { showPromptForm } from '../../lib/prompt-form';
import { Banner } from '@yaakapp-internal/ui';
import { InlineCode } from '../core/InlineCode';
import { Banner, InlineCode } from '@yaakapp-internal/ui';
export interface GitCredentials {
username: string;

View File

@@ -1,8 +1,8 @@
import type { DivergedStrategy } from '@yaakapp-internal/git';
import { useState } from 'react';
import { showDialog } from '../../lib/dialog';
import { InlineCode } from '@yaakapp-internal/ui';
import { Button } from '../core/Button';
import { InlineCode } from '../core/InlineCode';
import { RadioCards } from '../core/RadioCards';
import { HStack } from '../core/Stacks';