Skip to content

Commit

Permalink
fix: move prism to monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarkhanzadian committed Nov 8, 2024
1 parent e38af3e commit 744c295
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 416 deletions.
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 BroadcastError from '@assets/images/unhappy-face-ui.png';
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 { useState } from 'react';

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 { forwardRef } from 'react';

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

0 comments on commit 744c295

Please sign in to comment.