@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/CHANGELOG.md +16 -1
- package/dist/{chunk-M45FEAVG.js → chunk-FM5RVMH4.js} +9 -13
- package/dist/chunk-FM5RVMH4.js.map +1 -0
- package/dist/{chunk-LGC6EVFE.js → chunk-S6F34AX5.js} +8 -6
- package/dist/{chunk-LGC6EVFE.js.map → chunk-S6F34AX5.js.map} +1 -1
- package/dist/{chunk-TO4ZLGDW.js → chunk-T4D7WAV7.js} +2 -2
- package/dist/chunk-T4D7WAV7.js.map +1 -0
- package/dist/desktop.cjs.map +1 -1
- package/dist/desktop.js +2 -2
- package/dist/index.cjs +8 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/item.cjs +8 -6
- package/dist/item.cjs.map +1 -1
- package/dist/item.js +2 -2
- package/dist/menu-look.cjs +3 -1
- package/dist/menu-look.cjs.map +1 -1
- package/dist/menu-look.js +1 -1
- package/dist/record-list.cjs +8 -6
- package/dist/record-list.cjs.map +1 -1
- package/dist/record-list.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-M45FEAVG.js.map +0 -1
- package/dist/chunk-TO4ZLGDW.js.map +0 -1
package/dist/menu-look.js
CHANGED
package/dist/record-list.cjs
CHANGED
|
@@ -1855,7 +1855,7 @@ var ContextMenuShortcut = ({
|
|
|
1855
1855
|
);
|
|
1856
1856
|
ContextMenuShortcut.displayName = "ContextMenuShortcut";
|
|
1857
1857
|
|
|
1858
|
-
// src/menu-look.tsx
|
|
1858
|
+
// src/controls/menu-look.tsx
|
|
1859
1859
|
var React12 = __toESM(require("react"), 1);
|
|
1860
1860
|
var DropdownMenuPrimitive2 = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
|
|
1861
1861
|
var ContextMenuPrimitive2 = __toESM(require("@radix-ui/react-context-menu"), 1);
|
|
@@ -1927,7 +1927,7 @@ var PopoverContent = React11.forwardRef(
|
|
|
1927
1927
|
);
|
|
1928
1928
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
1929
1929
|
|
|
1930
|
-
// src/menu-look.tsx
|
|
1930
|
+
// src/controls/menu-look.tsx
|
|
1931
1931
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1932
1932
|
var MENU_LOOK_CLASS = {
|
|
1933
1933
|
panel: "cm-menu",
|
|
@@ -3105,16 +3105,18 @@ var SIZE = {
|
|
|
3105
3105
|
text: "text-xs",
|
|
3106
3106
|
kebab: "h-5 w-5",
|
|
3107
3107
|
icon: "h-3.5 w-3.5",
|
|
3108
|
+
disclosureIcon: "h-3 w-3",
|
|
3108
3109
|
tone: "text-muted-foreground"
|
|
3109
3110
|
},
|
|
3110
3111
|
sm: {
|
|
3111
3112
|
row: "h-7",
|
|
3112
3113
|
text: "text-[13px]",
|
|
3113
3114
|
kebab: "h-5 w-5",
|
|
3114
|
-
icon: "h-3.5 w-3.5"
|
|
3115
|
+
icon: "h-3.5 w-3.5",
|
|
3116
|
+
disclosureIcon: "h-3 w-3"
|
|
3115
3117
|
},
|
|
3116
|
-
md: { row: "h-8", text: "text-sm", kebab: "h-6 w-6", icon: "h-4 w-4" },
|
|
3117
|
-
lg: { row: "h-10", text: "text-sm", kebab: "h-7 w-7", icon: "h-4 w-4" }
|
|
3118
|
+
md: { row: "h-8", text: "text-sm", kebab: "h-6 w-6", icon: "h-4 w-4", disclosureIcon: "h-3.5 w-3.5" },
|
|
3119
|
+
lg: { row: "h-10", text: "text-sm", kebab: "h-7 w-7", icon: "h-4 w-4", disclosureIcon: "h-3.5 w-3.5" }
|
|
3118
3120
|
};
|
|
3119
3121
|
var DISCLOSURE_RESERVE = { xs: 32, sm: 32, md: 36, lg: 40 };
|
|
3120
3122
|
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";
|
|
@@ -3240,7 +3242,7 @@ function ItemRow({
|
|
|
3240
3242
|
e.stopPropagation();
|
|
3241
3243
|
disclosure.onToggle();
|
|
3242
3244
|
},
|
|
3243
|
-
icon: disclosure.open ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronDownIcon, { className: sz.
|
|
3245
|
+
icon: disclosure.open ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronDownIcon, { className: cn(sz.disclosureIcon, "text-muted-foreground") }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronRightIcon, { className: cn(sz.disclosureIcon, "text-muted-foreground") }),
|
|
3244
3246
|
className: "shrink-0"
|
|
3245
3247
|
}
|
|
3246
3248
|
) : null;
|