@namba_one/ui-kit-2 1.0.188 → 1.0.189

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.es.js CHANGED
@@ -10316,12 +10316,14 @@ const rC = {
10316
10316
  n.value = n.value.filter((u) => u.id !== l);
10317
10317
  }
10318
10318
  function s(l) {
10319
- const u = n.value[0] ? n.value[0].id + 1 : 1, d = {
10319
+ const u = n.value[0] ? n.value[0].id + 1 : 1, d = 5e3, c = {
10320
10320
  ...l,
10321
10321
  title: l.title,
10322
10322
  id: u
10323
10323
  };
10324
- n.value.length === 3 && n.value.pop(), n.value.unshift(d);
10324
+ n.value.length === 3 && n.value.pop(), n.value.unshift(c), e.value[u] = setTimeout(() => {
10325
+ o(c.id), clearTimeout(e.value[u]);
10326
+ }, d);
10325
10327
  }
10326
10328
  function i(l) {
10327
10329
  s({