@danxbot/ui 4.1.2 → 4.1.3

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
@@ -20311,13 +20311,14 @@ const Dx = {
20311
20311
  function ZH() {
20312
20312
  const e = $1();
20313
20313
  return {
20314
- show({ title: t, description: n, tone: r = "info", timeout: o, action: s }) {
20314
+ show({ title: t, description: n, tone: r = "info", timeout: o, action: s, onClose: i }) {
20315
20315
  return e.add({
20316
20316
  title: t,
20317
20317
  description: n,
20318
20318
  type: r,
20319
20319
  timeout: o ?? Dx[r],
20320
20320
  priority: r === "error" ? "high" : "low",
20321
+ onClose: i,
20321
20322
  ...s ? { actionProps: { children: s.label, onClick: s.onClick } } : {}
20322
20323
  });
20323
20324
  },