New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@leafygreen-ui/banner

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafygreen-ui/banner - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

7

CHANGELOG.md
# @leafygreen-ui/banner
## 3.0.3
### Patch Changes
- Updated dependencies [ba56b1cc]
- @leafygreen-ui/icon@8.0.0
## 3.0.2

@@ -4,0 +11,0 @@

4

package.json
{
"name": "@leafygreen-ui/banner",
"version": "3.0.2",
"version": "3.0.3",
"description": "leafyGreen UI Kit Banner",

@@ -26,4 +26,4 @@ "main": "./dist/index.js",

"@leafygreen-ui/palette": "^3.0.1",
"@leafygreen-ui/icon": "^7.0.2"
"@leafygreen-ui/icon": "^8.0.0"
}
}

@@ -51,8 +51,8 @@ # Banner

| Prop | Type | Description | Default |
| ------------- | ---------------------------------------------------- | --------------------------------------------------------------------- | ---------- |
| `variant` | `'info'` \| `'warning'` \| `'danger'` \| `'success'` | Sets the variant for the Banner | `'info'` |
| `dismissible` | `boolean` | Determines whether or not the Banner is dismissible | `false` |
| `onClose` | `React.MouseEventHandler` | Callback fired when dismiss button is clicked | `() => {}` |
| `image` | `React.ReactElement` | Illustration that will replace default Icon when the prop is supplied | |
| ... | native `div` attributes | Any other props will be spread on the root `div` element | |
| Prop | Type | Description | Default |
| ------------- | ---------------------------------------------- | --------------------------------------------------------------------- | ---------- |
| `variant` | `'info'`, `'warning'`, `'danger'`, `'success'` | Sets the variant for the Banner | `'info'` |
| `dismissible` | `boolean` | Determines whether or not the Banner is dismissible | `false` |
| `onClose` | `React.MouseEventHandler` | Callback fired when dismiss button is clicked | `() => {}` |
| `image` | `React.ReactElement` | Illustration that will replace default Icon when the prop is supplied | |
| ... | native `div` attributes | Any other props will be spread on the root `div` element | |

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc