@nubisco/ui 1.27.0 → 1.27.1

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
@@ -17807,11 +17807,11 @@ var pJt = { class: "nb-command-palette__input-row" }, mJt = ["placeholder"], hJt
17807
17807
  let n = t.namespace ?? "";
17808
17808
  e.has(n) || e.set(n, []), e.get(n).push(t);
17809
17809
  }
17810
- return Array.from(e.entries()).map(([e, t]) => ({
17810
+ return Array.from(e.entries()).sort(([e], [t]) => e.localeCompare(t)).map(([e, t]) => ({
17811
17811
  namespace: e,
17812
- commands: t
17812
+ commands: t.sort((e, t) => e.label.localeCompare(t.label))
17813
17813
  }));
17814
- }), w = o(() => v.value);
17814
+ }), w = o(() => x.value.flatMap((e) => e.commands));
17815
17815
  function E(e) {
17816
17816
  i.close(), p.value = "", e.handler();
17817
17817
  }