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

@brancol/react-snackbar

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brancol/react-snackbar - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

5

package.json
{
"name": "@brancol/react-snackbar",
"description": "Brancol - React Snackbar",
"version": "0.2.3",
"version": "0.2.4",
"main": "dist/index.js",

@@ -42,3 +42,4 @@ "files": [

"react": "^16.6.0",
"react-dom": "^16.6.0"
"react-dom": "^16.6.0",
"react-icons": "^3.11.0"
},

@@ -45,0 +46,0 @@ "peerDependencies": {

31

README.md

@@ -77,16 +77,13 @@ # @brancol/react-snackbar

| Name | Type | Default | Description | Values |
| ---------------------- | --------------- | ---------------------------- | ------------------------------------------------------ | ------------------------------------ |
| defaultPosition | string | tr | Position of the Snackbar | ['tl', 'tc', 'tr', 'bl', 'bc', 'br'] |
| defaultDisplayDuration | number | 5000 | Time that the Snackbar will be displayed | 1000 - 100000 |
| defaultAnimationDelay | number | 500 | Time that the Snackbar will take to fadein and fadeout | 100 - 3000 |
| successColor | string | '#28c960' | Default success color of the Snackbar | HEX Color |
| warningColor | string | '#f49716' | Default warning color of the Snackbar | HEX Color |
| dangerColor | string | '#fc5050' | Default danger color of the Snackbar | HEX Color |
| successIcon | string | 'fa fa-check-circle' | Default success icon of the Snackbar | FontAwesome Icon |
| warningIcon | string | 'fa fa-exclamation-triangle' | Default warning icon of the Snackbar | FontAwesome Icon |
| dangerIcon | string | 'fa fa-exclamation-circle' | Default danger icon of the Snackbar | FontAwesome Icon |
| showIcon | boolean | true | Indicates if the left icon will be displayed | true - false |
| showCloseIcon | boolean | true | Indicates if the close icon will be displayed | true - false |
| render | (props) => Node | null | A custom Snackbar component with all props | ReactNode |
| Name | Type | Default | Description | Values |
| ---------------------- | --------------- | --------- | ------------------------------------------------------ | ------------------------------------ |
| defaultPosition | string | tr | Position of the Snackbar | ['tl', 'tc', 'tr', 'bl', 'bc', 'br'] |
| defaultDisplayDuration | number | 5000 | Time that the Snackbar will be displayed | 1000 - 100000 |
| defaultAnimationDelay | number | 500 | Time that the Snackbar will take to fadein and fadeout | 100 - 3000 |
| successColor | string | '#28c960' | Default success color of the Snackbar | HEX Color |
| warningColor | string | '#f49716' | Default warning color of the Snackbar | HEX Color |
| dangerColor | string | '#fc5050' | Default danger color of the Snackbar | HEX Color |
| showIcon | boolean | true | Indicates if the left icon will be displayed | true - false |
| showCloseIcon | boolean | true | Indicates if the close icon will be displayed | true - false |
| render | (props) => Node | null | A custom Snackbar component with all props | ReactNode |

@@ -121,6 +118,4 @@ ## Options

- Bugfix on mobile responsivity.
- Bugfix on position fixed.
- Bugfix on pointer events from the snackbar.
- Bugfix on z-index for 99999.
- Fixed mobile responsivity bug.
- Added react-icons package and removed fontawesome dependency.

@@ -127,0 +122,0 @@ #### 0.2.0

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