kitzo 2.0.12 → 2.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/react.esm.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ npm i kitzo
|
|
|
25
25
|
or
|
|
26
26
|
|
|
27
27
|
```javascript
|
|
28
|
-
<script src="https://cdn.jsdelivr.net/npm/kitzo@2.0.
|
|
28
|
+
<script src="https://cdn.jsdelivr.net/npm/kitzo@2.0.14/dist/kitzo.umd.min.js"></script>
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
> Attach this script tag in the html head tag and you are good to go.
|
package/dist/react.esm.js
CHANGED
|
@@ -347,6 +347,7 @@ function Toast({
|
|
|
347
347
|
return /*#__PURE__*/React.createElement("div", {
|
|
348
348
|
ref: ref,
|
|
349
349
|
style: {
|
|
350
|
+
maxHeight: 'fit-content',
|
|
350
351
|
transform: transformY,
|
|
351
352
|
...getToastPosition(position)
|
|
352
353
|
}
|
|
@@ -388,7 +389,6 @@ function ToastContainer(props) {
|
|
|
388
389
|
const unsub = subscribe(toast => {
|
|
389
390
|
const duration = toast.options.duration;
|
|
390
391
|
const id = toast.options.id;
|
|
391
|
-
console.log(toast);
|
|
392
392
|
setToasts(prev => {
|
|
393
393
|
const exists = prev.some(t => t.options.id === id);
|
|
394
394
|
if (exists) {
|