@ai-matrx/design-system 0.86.340 → 0.86.342

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/item.cjs CHANGED
@@ -1487,7 +1487,7 @@ var ContextMenuShortcut = ({
1487
1487
  );
1488
1488
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
1489
1489
 
1490
- // src/menu-look.tsx
1490
+ // src/controls/menu-look.tsx
1491
1491
  var React11 = __toESM(require("react"), 1);
1492
1492
  var DropdownMenuPrimitive2 = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
1493
1493
  var ContextMenuPrimitive2 = __toESM(require("@radix-ui/react-context-menu"), 1);
@@ -1559,7 +1559,7 @@ var PopoverContent = React10.forwardRef(
1559
1559
  );
1560
1560
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
1561
1561
 
1562
- // src/menu-look.tsx
1562
+ // src/controls/menu-look.tsx
1563
1563
  var import_jsx_runtime13 = require("react/jsx-runtime");
1564
1564
  var MENU_LOOK_CLASS = {
1565
1565
  panel: "cm-menu",
@@ -2746,16 +2746,18 @@ var SIZE = {
2746
2746
  text: "text-xs",
2747
2747
  kebab: "h-5 w-5",
2748
2748
  icon: "h-3.5 w-3.5",
2749
+ disclosureIcon: "h-3 w-3",
2749
2750
  tone: "text-muted-foreground"
2750
2751
  },
2751
2752
  sm: {
2752
2753
  row: "h-7",
2753
2754
  text: "text-[13px]",
2754
2755
  kebab: "h-5 w-5",
2755
- icon: "h-3.5 w-3.5"
2756
+ icon: "h-3.5 w-3.5",
2757
+ disclosureIcon: "h-3 w-3"
2756
2758
  },
2757
- md: { row: "h-8", text: "text-sm", kebab: "h-6 w-6", icon: "h-4 w-4" },
2758
- lg: { row: "h-10", text: "text-sm", kebab: "h-7 w-7", icon: "h-4 w-4" }
2759
+ md: { row: "h-8", text: "text-sm", kebab: "h-6 w-6", icon: "h-4 w-4", disclosureIcon: "h-3.5 w-3.5" },
2760
+ lg: { row: "h-10", text: "text-sm", kebab: "h-7 w-7", icon: "h-4 w-4", disclosureIcon: "h-3.5 w-3.5" }
2759
2761
  };
2760
2762
  var DISCLOSURE_RESERVE = { xs: 32, sm: 32, md: 36, lg: 40 };
2761
2763
  var REVEAL_OPACITY = "group-hover/item:opacity-100 group-has-[:focus-visible]/item:opacity-100 group-has-[[data-state=open]]/item:opacity-100 [@media(pointer:coarse)]:opacity-100";
@@ -2881,7 +2883,7 @@ function ItemRow({
2881
2883
  e.stopPropagation();
2882
2884
  disclosure.onToggle();
2883
2885
  },
2884
- icon: disclosure.open ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ChevronDownIcon, { className: sz.icon }) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ChevronRightIcon, { className: sz.icon }),
2886
+ icon: disclosure.open ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ChevronDownIcon, { className: cn(sz.disclosureIcon, "text-muted-foreground") }) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ChevronRightIcon, { className: cn(sz.disclosureIcon, "text-muted-foreground") }),
2885
2887
  className: "shrink-0"
2886
2888
  }
2887
2889
  ) : null;