Skip to content

Commit

Permalink
fix: Update panda imports with new design system
Browse files Browse the repository at this point in the history
  • Loading branch information
antonjoel82 committed May 17, 2024
1 parent 49c96de commit 754fd7e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions apps/web/src/components/docs/Docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import * as mdxBundler from 'mdx-bundler/client';
import { Highlight } from './Highlight';
import { useQuery } from '@tanstack/react-query';
import { useSegment } from '@novu/shared-web';
import { Center, Flex, Grid, GridItem, styled, VStack } from '../../styled-system/jsx';
import { css } from '../../styled-system/css';
import { text, title as RTitle } from '../../styled-system/recipes';
import { Center, Flex, Grid, GridItem, styled, VStack } from '@novu/novui/jsx';
import { css } from '@novu/novui/css';
import { text, title as RTitle } from '@novu/novui/recipes';
import { DOCS_URL, MDX_URL, MINTLIFY_IMAGE_URL } from './docs.const';

const Text = styled('p', text);
Expand Down
8 changes: 4 additions & 4 deletions apps/web/src/components/docs/DocsButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { ActionButton, Button, IconOutlineMenuBook, QuickGuide, Tooltip, useColo
import { useSegment } from '@novu/shared-web';
import { useEffect, useMemo, useState } from 'react';
import { matchPath, useLocation } from 'react-router-dom';
import { css, cva } from '../../styled-system/css';
import { Flex, styled } from '../../styled-system/jsx';
import { text, title } from '../../styled-system/recipes';
import { SystemStyleObject } from '../../styled-system/types';
import { css, cva } from '@novu/novui/css';
import { Flex, styled } from '@novu/novui/jsx';
import { text, title } from '@novu/novui/recipes';
import { SystemStyleObject } from '@novu/novui/types';
import { PATHS } from './docs.const';
import { DocsModal } from './DocsModal';

Expand Down
6 changes: 3 additions & 3 deletions apps/web/src/components/docs/DocsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { ColorScheme } from '@mantine/core';
import { IconOpenInNew, IconOutlineClose, useColorScheme, Modal, ActionButton } from '@novu/design-system';
import { useSegment } from '@novu/shared-web';
import { useEffect, useState } from 'react';
import { css, cva } from '../../styled-system/css';
import { Flex } from '../../styled-system/jsx';
import { SystemStyleObject } from '../../styled-system/types';
import { cva } from '@novu/novui/css';
import { Flex } from '@novu/novui/jsx';
import { SystemStyleObject } from '@novu/novui/types';
import { openInNewTab } from '../../utils';
import { Docs } from './Docs';
import { DOCS_URL } from './docs.const';
Expand Down
6 changes: 3 additions & 3 deletions apps/web/src/components/docs/VotingWidget.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ActionButton, IconThumbDownAlt, IconThumbUpAlt } from '@novu/design-system';
import { css } from '../../styled-system/css';
import { Flex, styled } from '../../styled-system/jsx';
import { text } from '../../styled-system/recipes';
import { css } from '@novu/novui/css';
import { Flex, styled } from '@novu/novui/jsx';
import { text } from '@novu/novui/recipes';

const Text = styled('p', text);

Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/layout/components/PageHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Group } from '@mantine/core';
import { Title, Container } from '@novu/design-system';
import { Flex } from '../../../styled-system/jsx';
import { Flex } from '@novu/novui/jsx';
import { DocsButton } from '../../docs/DocsButton';

function PageHeader({ actions, title }: { actions?: JSX.Element; title: string }) {
Expand Down

0 comments on commit 754fd7e

Please sign in to comment.