@ai-matrx/design-system 0.86.341 → 0.86.343

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,13 +13,13 @@ import {
13
13
  matchesOrganizationQuery,
14
14
  orderOrganizationsForPicker,
15
15
  organizationColor
16
- } from "./chunk-M45FEAVG.js";
16
+ } from "./chunk-FM5RVMH4.js";
17
17
  import {
18
18
  Collapsible,
19
19
  CollapsibleContent,
20
20
  CollapsibleTrigger
21
21
  } from "./chunk-6NOLVA4E.js";
22
- import "./chunk-TO4ZLGDW.js";
22
+ import "./chunk-T4D7WAV7.js";
23
23
  import {
24
24
  ContextMenu,
25
25
  ContextMenuCheckboxItem,
package/dist/index.cjs CHANGED
@@ -8027,7 +8027,7 @@ function Skeleton({ className, animated = true, motion = "pulse", shape, height,
8027
8027
  // src/organization-picker.tsx
8028
8028
  init_controls();
8029
8029
 
8030
- // src/menu-look.tsx
8030
+ // src/controls/menu-look.tsx
8031
8031
  var React40 = __toESM(require("react"), 1);
8032
8032
  var DropdownMenuPrimitive2 = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
8033
8033
  var ContextMenuPrimitive2 = __toESM(require("@radix-ui/react-context-menu"), 1);
@@ -8575,10 +8575,11 @@ function OrganizationPicker({
8575
8575
  showFixtures ? ", listed below." : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
8576
8576
  " \u2014 ",
8577
8577
  /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
8578
- "button",
8578
+ Button2,
8579
8579
  {
8580
8580
  type: "button",
8581
- className: "underline underline-offset-2 hover:text-foreground",
8581
+ variant: "link",
8582
+ className: "inline-flex align-baseline",
8582
8583
  "data-slot": "organization-picker-show-fixtures",
8583
8584
  onClick: (event) => {
8584
8585
  event.stopPropagation();
@@ -8595,22 +8596,16 @@ function OrganizationPicker({
8595
8596
  ) : /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("ul", { className: "max-h-72 overflow-y-auto", role: "listbox", "aria-label": "Organizations", children: [
8596
8597
  listed.map(renderRow),
8597
8598
  more?.hasMore && look === "menu" ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("li", { role: "none", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
8598
- "button",
8599
+ MenuLookPanelItem,
8599
8600
  {
8600
- type: "button",
8601
- className: MENU_LOOK_CLASS.item,
8601
+ role: "button",
8602
8602
  disabled: more.loadingMore,
8603
8603
  onClick: (event) => {
8604
8604
  event.stopPropagation();
8605
8605
  more.onLoadMore();
8606
8606
  },
8607
8607
  "data-slot": "organization-picker-more",
8608
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
8609
- MenuLookRowBody,
8610
- {
8611
- label: more.loadingMore ? "Loading more\u2026" : more.total !== void 0 ? `Show more (${organizations.length} of ${more.total})` : "Show more"
8612
- }
8613
- )
8608
+ label: more.loadingMore ? "Loading more\u2026" : more.total !== void 0 ? `Show more (${organizations.length} of ${more.total})` : "Show more"
8614
8609
  }
8615
8610
  ) }) : more?.hasMore && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("li", { role: "none", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
8616
8611
  Button2,
@@ -14888,6 +14883,7 @@ function AssistPeekCard({
14888
14883
  later,
14889
14884
  stopShowing,
14890
14885
  deciding = false,
14886
+ openHref,
14891
14887
  onNotNow,
14892
14888
  closeAs = "not-now",
14893
14889
  step
@@ -14895,7 +14891,9 @@ function AssistPeekCard({
14895
14891
  const closeLabel = closeAs === "dismiss" ? "Dismiss" : "Not now";
14896
14892
  const laterDoor = later?.length ? { kind: "action", id: "later", label: "Later", icon: ClockIcon, menu: later, busy: deciding } : null;
14897
14893
  const stopDoor = stopShowing?.length ? { kind: "action", id: "stop", label: "Stop showing", icon: BellOffIcon, menu: stopShowing, busy: deciding } : null;
14898
- const doors = laterDoor && stopDoor ? [laterDoor, stopDoor] : laterDoor ? [laterDoor] : stopDoor ? [stopDoor] : [];
14894
+ const allDoor = openHref ? { kind: "action", id: "all", label: "Open in All assists", icon: ExternalLinkIcon, href: openHref, newTab: true } : null;
14895
+ const present = [laterDoor, stopDoor, allDoor].filter((door) => door !== null);
14896
+ const doors = present;
14899
14897
  return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(PeekCard, { size: "xl", height: "content", "data-matrx-assist-peek": "", "data-matrx-notice-surface": "", children: [
14900
14898
  /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
14901
14899
  PeekCardHeader,