@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/dist/index.js CHANGED
@@ -1665,7 +1665,7 @@ const ToastProvider = ({
1665
1665
  state
1666
1666
  }) => {
1667
1667
  setToasts(prev => [...prev, {
1668
- id: Date.now(),
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,