@zenkigen-inc/component-ui 1.11.0 → 1.12.0
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 +15 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1665,7 +1665,7 @@ const ToastProvider = ({
|
|
|
1665
1665
|
state
|
|
1666
1666
|
}) => {
|
|
1667
1667
|
setToasts(prev => [...prev, {
|
|
1668
|
-
id:
|
|
1668
|
+
id: Math.trunc(Math.random() * 100000),
|
|
1669
1669
|
message,
|
|
1670
1670
|
state
|
|
1671
1671
|
}]);
|
|
@@ -1682,7 +1682,7 @@ const ToastProvider = ({
|
|
|
1682
1682
|
removeToast
|
|
1683
1683
|
},
|
|
1684
1684
|
children: [children, isClientRender && /*#__PURE__*/createPortal( /*#__PURE__*/jsx("div", {
|
|
1685
|
-
className: "pointer-events-none fixed bottom-0 left-0 z-toast mb-4 ml-4 flex w-full flex-col-reverse",
|
|
1685
|
+
className: "pointer-events-none fixed bottom-0 left-0 z-toast mb-4 ml-4 flex w-full flex-col-reverse gap-[16px]",
|
|
1686
1686
|
children: toasts.map(({
|
|
1687
1687
|
id,
|
|
1688
1688
|
message,
|