@inf-monkeys-tech/monkeys-design 1.0.40 → 1.0.41
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/README.md +11 -0
- package/dist/components/agent-workbench/index.js +3 -3
- package/dist/components/agent-workbench/index.js.map +1 -1
- package/dist/components/agent-workbench/index.mjs +3 -3
- package/dist/components/agent-workbench/index.mjs.map +1 -1
- package/dist/components/primitives/index.js +8 -8
- package/dist/components/primitives/index.js.map +1 -1
- package/dist/components/primitives/index.mjs +8 -8
- package/dist/components/primitives/index.mjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +4 -2
|
@@ -462,7 +462,7 @@ var buttonVariants = classVarianceAuthority.cva(
|
|
|
462
462
|
variant: {
|
|
463
463
|
default: "bg-primary text-primary-foreground shadow-sm hover:bg-primary/90",
|
|
464
464
|
destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
|
|
465
|
-
outline: "border border-input bg-
|
|
465
|
+
outline: "border border-input bg-control-surface shadow-sm ring-offset-control-surface hover:bg-accent hover:text-accent-foreground",
|
|
466
466
|
secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
|
|
467
467
|
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
468
468
|
link: "text-primary underline-offset-4 hover:underline"
|
|
@@ -817,7 +817,7 @@ var Input = React14__namespace.forwardRef(({ className, appearance = "standard",
|
|
|
817
817
|
ref,
|
|
818
818
|
type,
|
|
819
819
|
className: cn(
|
|
820
|
-
"flex w-full border border-input bg-
|
|
820
|
+
"flex w-full border border-input bg-control-surface px-3 text-foreground ring-offset-control-surface transition-[border-color,background-color,color,box-shadow] file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
821
821
|
appearance === "compact" ? "h-9 rounded-md py-1 text-sm shadow-sm" : "h-10 rounded-md py-2 text-sm shadow-sm",
|
|
822
822
|
appearance === "shadow" && "rounded-lg shadow-sm shadow-black/[0.02] dark:border-white/10 dark:bg-white/[0.04] dark:shadow-none",
|
|
823
823
|
className
|
|
@@ -831,7 +831,7 @@ var Textarea = React14__namespace.forwardRef(({ className, appearance = "standar
|
|
|
831
831
|
{
|
|
832
832
|
ref,
|
|
833
833
|
className: cn(
|
|
834
|
-
"flex w-full border border-input bg-
|
|
834
|
+
"flex w-full border border-input bg-control-surface px-3 py-2 text-foreground ring-offset-control-surface placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
835
835
|
appearance === "compact" ? "min-h-[60px] rounded-md text-sm shadow-sm" : "min-h-[80px] rounded-md text-sm",
|
|
836
836
|
appearance === "shadow" && "shadow-sm shadow-black/[0.02] dark:border-white/10 dark:bg-white/[0.04] dark:shadow-none",
|
|
837
837
|
className
|
|
@@ -1178,7 +1178,7 @@ function InputGroupTextarea({ className, ...props }) {
|
|
|
1178
1178
|
);
|
|
1179
1179
|
}
|
|
1180
1180
|
var menuItemClassName = "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0";
|
|
1181
|
-
var menuContentClassName = "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-
|
|
1181
|
+
var menuContentClassName = "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-menu-surface p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2";
|
|
1182
1182
|
var DropdownMenu = DropdownMenuPrimitive__namespace.Root;
|
|
1183
1183
|
var DropdownMenuTrigger = DropdownMenuPrimitive__namespace.Trigger;
|
|
1184
1184
|
var DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
|
|
@@ -1230,7 +1230,7 @@ var Select = SelectPrimitive__namespace.Root;
|
|
|
1230
1230
|
var SelectGroup = SelectPrimitive__namespace.Group;
|
|
1231
1231
|
var SelectValue = SelectPrimitive__namespace.Value;
|
|
1232
1232
|
var SelectTrigger = React14__namespace.forwardRef(
|
|
1233
|
-
({ className, children, iconClassName, size = "default", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(SelectPrimitive__namespace.Trigger, { ref, className: cn("flex h-10 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-
|
|
1233
|
+
({ className, children, iconClassName, size = "default", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(SelectPrimitive__namespace.Trigger, { ref, className: cn("flex h-10 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-control-surface px-3 py-2 text-left text-sm shadow-sm ring-offset-control-surface data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 [&>span]:min-w-0 [&>span]:flex-1 [&>span]:text-left", size === "sm" && "h-8 px-2 py-1 text-xs", className), ...props, children: [
|
|
1234
1234
|
children,
|
|
1235
1235
|
/* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Icon, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { "aria-hidden": "true", className: cn("h-4 w-4 opacity-50", iconClassName) }) })
|
|
1236
1236
|
] })
|
|
@@ -1306,12 +1306,12 @@ var DialogContent = React14__namespace.forwardRef(
|
|
|
1306
1306
|
DialogPrimitive__namespace.Content,
|
|
1307
1307
|
{
|
|
1308
1308
|
ref,
|
|
1309
|
-
className: cn("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-
|
|
1309
|
+
className: cn("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-dialog-surface p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95", className),
|
|
1310
1310
|
"data-monkeys-dialog-content": true,
|
|
1311
1311
|
...props,
|
|
1312
1312
|
children: [
|
|
1313
1313
|
children,
|
|
1314
|
-
showCloseButton ? /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-
|
|
1314
|
+
showCloseButton ? /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-dialog-surface transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
|
|
1315
1315
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { "aria-hidden": "true", className: "h-4 w-4" }),
|
|
1316
1316
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: closeLabel })
|
|
1317
1317
|
] }) : null
|
|
@@ -1359,7 +1359,7 @@ var AlertDialogOverlay = React14__namespace.forwardRef(({ className, style, ...p
|
|
|
1359
1359
|
AlertDialogOverlay.displayName = "AlertDialogOverlay";
|
|
1360
1360
|
var AlertDialogContent = React14__namespace.forwardRef(({ className, style, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(AlertDialogPortal, { children: [
|
|
1361
1361
|
/* @__PURE__ */ jsxRuntime.jsx(AlertDialogOverlay, {}),
|
|
1362
|
-
/* @__PURE__ */ jsxRuntime.jsx(AlertDialogPrimitive__namespace.Content, { ref, className: cn("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-
|
|
1362
|
+
/* @__PURE__ */ jsxRuntime.jsx(AlertDialogPrimitive__namespace.Content, { ref, className: cn("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-dialog-surface p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95", className), "data-monkeys-dialog-content": true, style: { pointerEvents: "auto", ...style }, ...props })
|
|
1363
1363
|
] }));
|
|
1364
1364
|
AlertDialogContent.displayName = "AlertDialogContent";
|
|
1365
1365
|
var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
|