Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move prism to monorepo #5943

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
126 changes: 0 additions & 126 deletions src/app/common/clarity-prism.ts

This file was deleted.

3 changes: 1 addition & 2 deletions src/app/features/errors/app-error-boundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
import { SharedComponentsSelectors } from '@tests/selectors/shared-component.selectors';
import { Box, Flex, HStack, styled } from 'leather-styles/jsx';

import { Button, CopyIcon, Link } from '@leather.io/ui';
import { Button, CopyIcon, Link, Prism } from '@leather.io/ui';

Check failure on line 7 in src/app/features/errors/app-error-boundary.tsx

View workflow job for this annotation

GitHub Actions / typecheck

Module '"@leather.io/ui"' has no exported member 'Prism'.
import { isError } from '@leather.io/utils';

import { Prism } from '@app/common/clarity-prism';
import { useClipboard } from '@app/common/hooks/use-copy-to-clipboard';
import { compliantErrorBody } from '@app/query/common/compliance-checker/compliance-checker.query';
import { CodeBlock } from '@app/ui/components/codeblock';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

import { HStack, HTMLStyledProps, Stack, styled } from 'leather-styles/jsx';

import { Title } from '@leather.io/ui';
import { Prism, Title } from '@leather.io/ui';

Check failure on line 5 in src/app/features/stacks-transaction-request/contract-deploy-details/contract-deploy-details.tsx

View workflow job for this annotation

GitHub Actions / typecheck

Module '"@leather.io/ui"' has no exported member 'Prism'.

import { Prism } from '@app/common/clarity-prism';
import { AttachmentRow } from '@app/features/stacks-transaction-request/attachment-row';
import { ContractPreviewLayout } from '@app/features/stacks-transaction-request/contract-preview';
import { Row } from '@app/features/stacks-transaction-request/row';
Expand Down
2 changes: 1 addition & 1 deletion src/app/ui/components/codeblock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { Box, BoxProps } from 'leather-styles/jsx';

import { Highlighter, HighlighterProps } from './highlighter';
import { Highlighter, HighlighterProps } from '@leather.io/ui';

Check failure on line 5 in src/app/ui/components/codeblock.tsx

View workflow job for this annotation

GitHub Actions / typecheck

Module '"@leather.io/ui"' has no exported member 'Highlighter'.

Check failure on line 5 in src/app/ui/components/codeblock.tsx

View workflow job for this annotation

GitHub Actions / typecheck

Module '"@leather.io/ui"' has no exported member 'HighlighterProps'.

type CodeBlockProps = HighlighterProps & BoxProps;

Expand Down
150 changes: 0 additions & 150 deletions src/app/ui/components/highlighter.tsx

This file was deleted.

Loading
Loading