@danxbot/ui 4.1.2 → 4.1.4

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
  },
@@ -23017,8 +23018,9 @@ function n6({
23017
23018
  /* @__PURE__ */ T(
23018
23019
  "aside",
23019
23020
  {
23021
+ "data-collapsed": p || void 0,
23020
23022
  className: W(
23021
- "hidden shrink-0 flex-col border-r border-border-subtle bg-surface lg:flex",
23023
+ "group/sidebar hidden shrink-0 flex-col border-r border-border-subtle bg-surface lg:flex",
23022
23024
  /* Bounded: nothing. A flex item in a row of a fixed height is
23023
23025
  stretched to it by `align-items`, so the nav list's own
23024
23026
  `min-h-0 flex-1 overflow-y-auto` engages with no viewport unit and