Skip to content

Commit

Permalink
feat: use @lapidist/components@2.x (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettdorrans authored May 17, 2020
1 parent 0d12fe0 commit 0686431
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 48 deletions.
38 changes: 4 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@
"typescript": "^3.9.2"
},
"dependencies": {
"@lapidist/container": "^1.0.0",
"@lapidist/design-tokens": "^1.12.0",
"@lapidist/link": "^1.0.1",
"@lapidist/logo": "^1.5.1",
"@lapidist/paragraph": "^1.0.0",
"@lapidist/theme-provider": "^1.19.0",
"@lapidist/title": "^1.3.0",
"@lapidist/components": "^2.0.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"styled-components": "^5.1.0"
Expand Down
3 changes: 1 addition & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react';
import App from 'next/app';
import Head from 'next/head';
import ThemeProvider from '@lapidist/theme-provider';
import Container from '@lapidist/container';
import { ThemeProvider, Container } from '@lapidist/components';

export default class MyApp extends App {
render(): JSX.Element {
Expand Down
14 changes: 9 additions & 5 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import React from 'react';
import BaseLogo, { LogoProps } from '@lapidist/logo';
import Paragraph from '@lapidist/paragraph';
import Title, { TitleProps } from '@lapidist/title';
import { breakpoint } from '@lapidist/design-tokens';
import Link from '@lapidist/link';
import styled from 'styled-components';
import {
Link,
Title,
TitleProps,
Paragraph,
Logo as BaseLogo,
LogoProps,
breakpoint
} from '@lapidist/components';

const Main: React.FC = styled.main`
width: 100%;
Expand Down

0 comments on commit 0686431

Please sign in to comment.