@ai-matrx/design-system 0.86.336 → 0.86.337

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/desktop.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  matchesOrganizationQuery,
14
14
  orderOrganizationsForPicker,
15
15
  organizationColor
16
- } from "./chunk-MAMZGJJ3.js";
16
+ } from "./chunk-BYOFPPPI.js";
17
17
  import {
18
18
  Collapsible,
19
19
  CollapsibleContent,
package/dist/index.cjs CHANGED
@@ -8587,7 +8587,25 @@ function OrganizationPicker({
8587
8587
  )
8588
8588
  ) : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("ul", { className: "max-h-72 overflow-y-auto", role: "listbox", "aria-label": "Organizations", children: [
8589
8589
  listed.map(renderRow),
8590
- more?.hasMore && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("li", { role: "none", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
8590
+ more?.hasMore && look === "menu" ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("li", { role: "none", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
8591
+ "button",
8592
+ {
8593
+ type: "button",
8594
+ className: MENU_LOOK_CLASS.item,
8595
+ disabled: more.loadingMore,
8596
+ onClick: (event) => {
8597
+ event.stopPropagation();
8598
+ more.onLoadMore();
8599
+ },
8600
+ "data-slot": "organization-picker-more",
8601
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
8602
+ MenuLookRowBody,
8603
+ {
8604
+ label: more.loadingMore ? "Loading more\u2026" : more.total !== void 0 ? `Show more (${organizations.length} of ${more.total})` : "Show more"
8605
+ }
8606
+ )
8607
+ }
8608
+ ) }) : more?.hasMore && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("li", { role: "none", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
8591
8609
  Button2,
8592
8610
  {
8593
8611
  type: "button",