@khanacademy/wonder-blocks-typography
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,2 +0,1 @@ | ||
// @flow | ||
// This file is auto-generated by gen-snapshot-tests.js | ||
@@ -9,2 +8,5 @@ // Do not edit this file. To make changes to these snapshot tests: | ||
import renderer from "react-test-renderer"; | ||
// Mock react-dom as jest doesn't like findDOMNode. | ||
jest.mock("react-dom"); | ||
import BodyMonospace from "./components/body-monospace.js"; | ||
@@ -11,0 +13,0 @@ import BodySerifBlock from "./components/body-serif-block.js"; |
39
index.js
@@ -21,2 +21,41 @@ // @flow | ||
/** | ||
* Typography components for headings or titles. | ||
*/ | ||
export type Heading = | ||
| typeof Title | ||
| typeof HeadingLarge | ||
| typeof HeadingMedium | ||
| typeof HeadingSmall | ||
| typeof HeadingXSmall; | ||
/** | ||
* Typography components for representing body text. | ||
*/ | ||
export type BodyText = | ||
| typeof Body | ||
| typeof BodySerif | ||
| typeof BodySerifBlock | ||
| typeof BodyMonospace; | ||
/** | ||
* Typography components for labels. | ||
*/ | ||
export type Label = | ||
| typeof LabelLarge | ||
| typeof LabelMedium | ||
| typeof LabelSmall | ||
| typeof LabelXSmall; | ||
/** | ||
* All typography components. | ||
*/ | ||
export type Typography = | ||
| Heading | ||
| BodyText | ||
| Label | ||
| typeof Tagline | ||
| typeof Caption | ||
| typeof Footnote; | ||
export { | ||
@@ -23,0 +62,0 @@ Title, |
{ | ||
"name": "@khanacademy/wonder-blocks-typography", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"design": "v2", | ||
@@ -17,3 +17,3 @@ "publishConfig": { | ||
"dependencies": { | ||
"@khanacademy/wonder-blocks-core": "^1.0.2" | ||
"@khanacademy/wonder-blocks-core": "^1.0.3" | ||
}, | ||
@@ -25,4 +25,4 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@khanacademy/wonder-blocks-color": "^1.0.2" | ||
"@khanacademy/wonder-blocks-color": "^1.0.3" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94645
26
1692