@wface/pixel-ui 0.7.1 → 0.7.2

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.mjs CHANGED
@@ -172,7 +172,7 @@ function Me(A) {
172
172
  return MA({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(A);
173
173
  }
174
174
  const ke = BC(null), yo = () => Math.random().toString(36).slice(2, 9);
175
- function So({ children: A, defaultDuration: g = 3e3, maxVisible: C = 3 }) {
175
+ function So({ children: A, defaultDuration: g = 6e3, maxVisible: C = 3 }) {
176
176
  const [I, B] = lA([]), E = W({}), Q = $((o) => {
177
177
  B((r) => r.filter((i) => i.id !== o)), E.current[o] && (clearTimeout(E.current[o]), delete E.current[o]);
178
178
  }, []), e = $(
@@ -238,7 +238,7 @@ function vy() {
238
238
  }
239
239
  const Po = (A) => {
240
240
  const { config: g } = A;
241
- return /* @__PURE__ */ l(Qo, { children: /* @__PURE__ */ l(So, { children: /* @__PURE__ */ l(go, { configuration: g }) }) });
241
+ return /* @__PURE__ */ l(Qo, { children: /* @__PURE__ */ l(So, { defaultDuration: 5e3, children: /* @__PURE__ */ l(go, { configuration: g }) }) });
242
242
  };
243
243
  Po.displayName = "Pixel";
244
244
  const No = "_alert_1scdn_1", Fo = "_wrapper_1scdn_5", Oo = "_icon_1scdn_11", Ro = "_content_1scdn_18", xo = "_success_1scdn_23", Mo = "_bold_1scdn_29", ko = "_warning_1scdn_35", Uo = "_info_1scdn_47", Go = "_danger_1scdn_59", Vg = {