@leafygreen-ui/icon
Advanced tools
Comparing version 4.1.0 to 4.2.0
# @leafygreen-ui/icon | ||
## 4.2.0 | ||
### Minor Changes | ||
- a2948f6: Adds University glyph | ||
## 4.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -48,2 +48,3 @@ /// <reference types="react" /> | ||
readonly Trash: import("react").ComponentType<SVGR.ComponentProps>; | ||
readonly University: import("react").ComponentType<SVGR.ComponentProps>; | ||
readonly Warning: import("react").ComponentType<SVGR.ComponentProps>; | ||
@@ -50,0 +51,0 @@ readonly X: import("react").ComponentType<SVGR.ComponentProps>; |
@@ -53,2 +53,3 @@ /// <reference path="../typings/svgr.d.ts" /> | ||
readonly Trash: import("react").ComponentType<SVGR.ComponentProps>; | ||
readonly University: import("react").ComponentType<SVGR.ComponentProps>; | ||
readonly Warning: import("react").ComponentType<SVGR.ComponentProps>; | ||
@@ -55,0 +56,0 @@ readonly X: import("react").ComponentType<SVGR.ComponentProps>; |
{ | ||
"name": "@leafygreen-ui/icon", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "LeafyGreen UI Kit Icons", | ||
@@ -5,0 +5,0 @@ "browser": "./dist/index.web.js", |
@@ -38,7 +38,7 @@ # Icon | ||
| Prop | Type | Description | Default | | ||
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | | ||
| `glyph` | **Required**: `'ActivityFeed'`, `'ArrowDown'`, `'ArrowLeft'`, `'ArrowRight'`, `'ArrowUp'`, `'Copy'`, `'Bell'`, `'Building'`, `'CaretUp'`, `'CaretDown'`, `'CaretRight'`, `'CaretLeft'`, `'Checkmark'`, `'CheckmarkWithCircle'`, `'ChevronUp'`, `'ChevronDown'`, `'ChevronRight'`, `'ChevronLeft'`, `'Charts'`, `'Cloud'`, `'CreditCard'`, `'Edit'`, `'Ellipsis'`, `'Folder'`, `'InfoWithCircle'`, `'InviteUser'`, `'Laptop'`, `'Lock'`, `'MagnifyingGlass'`, `'Megaphone'`, `'Menu'`, `'NotAllowed'`, `'Person'`, `'PersonWithLock'`, `'Plus'`, `'PlusWithCircle'`, `'QuestionMarkWithCircle'`, `'Refresh'`, `'Save'`, `'Settings'`, `'Stitch'`, `'Support'`, `'Trash'`, `'Warning'`, `'X'`, `'XWithCircle'` | Specifies the glyph to use. | | | ||
| `size` | `string` or `number` | The height and width of the glyph's viewBox. This can be any `number` or one of the following `'small'`, `'default'`, `'large'`, `'xlarge'` | `'default'` | | ||
| `fill` | `string` | The fill color that is passed to the glyph. By default, the glyph will inherit its fill from the CSS color property of its nearest ancestor. | | | ||
| Prop | Type | Description | Default | | ||
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | | ||
| `glyph` | **Required**: `'ActivityFeed'`, `'ArrowDown'`, `'ArrowLeft'`, `'ArrowRight'`, `'ArrowUp'`, `'Copy'`, `'Bell'`, `'Building'`, `'CaretUp'`, `'CaretDown'`, `'CaretRight'`, `'CaretLeft'`, `'Checkmark'`, `'CheckmarkWithCircle'`, `'ChevronUp'`, `'ChevronDown'`, `'ChevronRight'`, `'ChevronLeft'`, `'Charts'`, `'Cloud'`, `'CreditCard'`, `'Edit'`, `'Ellipsis'`, `'Folder'`, `'InfoWithCircle'`, `'InviteUser'`, `'Laptop'`, `'Lock'`, `'MagnifyingGlass'`, `'Megaphone'`, `'Menu'`, `'NotAllowed'`, `'Person'`, `'PersonWithLock'`, `'Plus'`, `'PlusWithCircle'`, `'QuestionMarkWithCircle'`, `'Refresh'`, `'Save'`, `'Settings'`, `'Stitch'`, `'Support'`, `'Trash'`, `'University'`, `'Warning'`, `'X'`, `'XWithCircle'` | Specifies the glyph to use. | | | ||
| `size` | `string` or `number` | The height and width of the glyph's viewBox. This can be any `number` or one of the following `'small'`, `'default'`, `'large'`, `'xlarge'` | `'default'` | | ||
| `fill` | `string` | The fill color that is passed to the glyph. By default, the glyph will inherit its fill from the CSS color property of its nearest ancestor. | | | ||
@@ -45,0 +45,0 @@ ## Advanced Usage (Registering custom icon sets) |
@@ -44,2 +44,3 @@ import ActivityFeed from './ActivityFeed.svg'; | ||
import Trash from './Trash.svg'; | ||
import University from './University.svg'; | ||
import Warning from './Warning.svg'; | ||
@@ -93,2 +94,3 @@ import X from './X.svg'; | ||
Trash, | ||
University, | ||
Warning, | ||
@@ -95,0 +97,0 @@ X, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
1025615
68
1068