@leafygreen-ui/typography
Advanced tools
Comparing version 7.1.0 to 7.1.1
# @leafygreen-ui/typography | ||
## 7.1.1 | ||
### Patch Changes | ||
- ee7923d3: Changes how we extend the types of HTMLElements, and standardizes how we document this across readmes | ||
- Updated dependencies [ee7923d3] | ||
- Updated dependencies [7b71da8f] | ||
- @leafygreen-ui/lib@6.1.2 | ||
- @leafygreen-ui/icon@7.0.2 | ||
## 7.1.0 | ||
@@ -4,0 +14,0 @@ |
/// <reference types="react" /> | ||
declare type LabelProps = JSX.IntrinsicElements['label'] & { | ||
import { HTMLElementProps } from '@leafygreen-ui/lib'; | ||
declare type LabelProps = HTMLElementProps<'label', never> & { | ||
darkMode?: boolean; | ||
@@ -10,3 +11,3 @@ htmlFor: string; | ||
}; | ||
declare type DescriptionProps = JSX.IntrinsicElements['p'] & { | ||
declare type DescriptionProps = HTMLElementProps<'p', never> & { | ||
darkMode?: boolean; | ||
@@ -13,0 +14,0 @@ }; |
{ | ||
"name": "@leafygreen-ui/typography", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"description": "leafyGreen UI Kit Typography", | ||
@@ -23,6 +23,6 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@leafygreen-ui/lib": "^6.1.1", | ||
"@leafygreen-ui/lib": "^6.1.2", | ||
"@leafygreen-ui/palette": "^3.1.0", | ||
"@leafygreen-ui/box": "^3.0.2", | ||
"@leafygreen-ui/icon": "^7.0.1", | ||
"@leafygreen-ui/icon": "^7.0.2", | ||
"@leafygreen-ui/tokens": "^0.5.0" | ||
@@ -29,0 +29,0 @@ }, |
@@ -82,3 +82,3 @@ # Typography | ||
All props extend the HTMLElementProps of their root tag, however `<Body />` and `<Overline/>` accept extra props | ||
All props extend the HTMLElementProps of their root tag, however the below components accept extra props | ||
@@ -85,0 +85,0 @@ | Component | Root | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
268205
863
Updated@leafygreen-ui/icon@^7.0.2
Updated@leafygreen-ui/lib@^6.1.2