@brancol/react-snackbar
Advanced tools
Comparing version 0.2.3 to 0.2.4
{ | ||
"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": { |
@@ -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 |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
0
9128
8
3
0
133
2
+ Addedreact-icons@^3.11.0
+ Addedcamelcase@5.3.1(transitive)
+ Addedreact-icons@3.11.0(transitive)