uibee 2.5.10 → 2.5.11
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect, useMemo } from 'react';
|
|
4
|
-
import ToastItem from 'toastItem';
|
|
4
|
+
import ToastItem from './toastItem';
|
|
5
5
|
const listeners = new Set();
|
|
6
6
|
let idCounter = 0;
|
|
7
7
|
export function toast(message, type, duration = 4000) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { useState, useEffect, useMemo } from 'react'
|
|
4
4
|
import type { Toast, ToastType } from 'uibee/components'
|
|
5
|
-
import ToastItem from '
|
|
5
|
+
import ToastItem from './toastItem'
|
|
6
6
|
|
|
7
7
|
const listeners = new Set<(toast: Toast) => void>()
|
|
8
8
|
let idCounter = 0
|