Skip to content
Permalink
Browse files

fix(website): swap types package for style-props and minor copy updates

swap types for style-props for style-prop types in the website
update link to paragraph storybook, and add style-props to eng getting started
  • Loading branch information
SiTaggart committed Dec 14, 2019
1 parent fca59ff commit bacac705f7588be15acc63707e8a7a53c6cd42d5
@@ -30,6 +30,7 @@
"@twilio-paste/heading": "^1.0.5",
"@twilio-paste/paragraph": "^1.0.5",
"@twilio-paste/screen-reader-only": "^1.0.0",
"@twilio-paste/style-props": "^0.0.0",
"@twilio-paste/text": "^1.0.4",
"@twilio-paste/theme": "^2.0.4",
"@twilio-paste/theme-tokens": "^2.0.4",
@@ -1,7 +1,7 @@
import * as React from 'react';
import {Text} from '@twilio-paste/text';
import {Heading} from '@twilio-paste/heading';
import {BorderColor} from '@twilio-paste/types';
import {BorderColor} from '@twilio-paste/style-props';
import {Box} from '@twilio-paste/box';
import {CalloutProps, CalloutTitleProps, CalloutTextProps, CalloutVariants} from './types';

@@ -6,7 +6,7 @@ import {useTheme} from '@twilio-paste/theme';
import {Box} from '@twilio-paste/box';
import {Text} from '@twilio-paste/text';
import {ScreenReaderOnly} from '@twilio-paste/screen-reader-only';
import {LineHeight} from '@twilio-paste/types';
import {LineHeight} from '@twilio-paste/style-props';
import ColorCombos, {ColorCombinationAccessibility} from '../../utils/color-combos';
import colorRating from '../../utils/color-rating';

@@ -39,7 +39,7 @@ export const pageQuery = graphql`
name={props.pageContext.frontmatter.title}
categoryRoute={SidebarCategoryRoutes.COMPONENTS}
githubUrl="https://github.com/twilio-labs/paste/tree/master/packages/paste-core/components/paragraph"
storybookUrl="https://twilio-labs.github.io/paste/?path=/story/components-typography--paragraph"
storybookUrl="https://twilio-labs.github.io/paste/?path=/story/components-paragraph--default"
abstractUrl="https://share.goabstract.com/85c81258-90b9-49c8-b34b-9418da5f2f00"
data={props.data.allPasteComponent.edges}
/>
@@ -36,7 +36,7 @@ yarn add react react-dom @emotion/core @emotion/styled styled-system @styled-sys
#### System packages

```shell
yarn add @twilio-paste/types @twilio-paste/design-tokens @twilio-paste/theme-tokens @twilio-paste/theme @twilio-paste/icons @twilio-paste/core
yarn add @twilio-paste/types @twilio-paste/style-props @twilio-paste/design-tokens @twilio-paste/theme-tokens @twilio-paste/theme @twilio-paste/icons @twilio-paste/core
```


0 comments on commit bacac70

Please sign in to comment.
You can’t perform that action at this time.