myshell-react-lib 0.1.72 → 0.1.74
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/index.cjs +14 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/dist/styles/components-dark.scss +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7257,7 +7257,7 @@ var ContextMenuSubTrigger = React17.forwardRef(function(_param, ref) {
|
|
|
7257
7257
|
]);
|
|
7258
7258
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(ContextMenuPrimitive.SubTrigger, _object_spread_props(_object_spread({
|
|
7259
7259
|
ref: ref,
|
|
7260
|
-
className: cn("flex cursor-default select-none items-center rounded-
|
|
7260
|
+
className: cn("flex cursor-default select-none items-center rounded-sm py-1 px-1.5 text-sm outline-none hover:bg-Colors-Background-Normal-Primary-Hover dark:focus:text-slate-50", inset && "pl-8", className)
|
|
7261
7261
|
}, props), {
|
|
7262
7262
|
children: [
|
|
7263
7263
|
children,
|
|
@@ -7274,7 +7274,7 @@ var ContextMenuSubContent = React17.forwardRef(function(_param, ref) {
|
|
|
7274
7274
|
]);
|
|
7275
7275
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ContextMenuPrimitive.SubContent, _object_spread({
|
|
7276
7276
|
ref: ref,
|
|
7277
|
-
className: cn("flex flex-col gap-y-1 z-50 overflow-hidden rounded-xl border border-Colors-Border-Default bg-Colors-Background-
|
|
7277
|
+
className: cn("flex flex-col gap-y-1 z-50 overflow-hidden rounded-xl border border-Colors-Border-Default bg-Colors-Background-Utilities-Modal p-2 text-Colors-Text-Default shadow-modal-default", className)
|
|
7278
7278
|
}, props));
|
|
7279
7279
|
});
|
|
7280
7280
|
ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
|
|
@@ -7285,7 +7285,7 @@ var ContextMenuContent = React17.forwardRef(function(_param, ref) {
|
|
|
7285
7285
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ContextMenuPrimitive.Portal, {
|
|
7286
7286
|
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ContextMenuPrimitive.Content, _object_spread({
|
|
7287
7287
|
ref: ref,
|
|
7288
|
-
className: cn("z-50 min-w-[8rem] overflow-hidden rounded-xl border-none bg-Colors-Background-
|
|
7288
|
+
className: cn("z-50 min-w-[8rem] overflow-hidden rounded-xl border-none bg-Colors-Background-Utilities-Modal p-1 text-Colors-Text-Default shadow-modal-default border border-Colors-Border-Opaque", className)
|
|
7289
7289
|
}, props))
|
|
7290
7290
|
});
|
|
7291
7291
|
});
|
|
@@ -7297,7 +7297,7 @@ var ContextMenuItem = React17.forwardRef(function(_param, ref) {
|
|
|
7297
7297
|
]);
|
|
7298
7298
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ContextMenuPrimitive.Item, _object_spread({
|
|
7299
7299
|
ref: ref,
|
|
7300
|
-
className: cn("relative flex cursor-default select-none items-center rounded-
|
|
7300
|
+
className: cn("relative flex cursor-default select-none items-center rounded-sm py-1 px-1.5 text-base outline-none data-[disabled]:pointer-events-none data-[disabled]:text-Colors-Text-Disabled focus:bg-Colors-Background-Neutral-Primary-Default text-Colors-Text-Default", inset && "pl-8", className)
|
|
7301
7301
|
}, props));
|
|
7302
7302
|
});
|
|
7303
7303
|
ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
|
|
@@ -7309,19 +7309,19 @@ var ContextMenuCheckboxItem = React17.forwardRef(function(_param, ref) {
|
|
|
7309
7309
|
]);
|
|
7310
7310
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(ContextMenuPrimitive.CheckboxItem, _object_spread_props(_object_spread({
|
|
7311
7311
|
ref: ref,
|
|
7312
|
-
className: cn("relative flex cursor-default select-none items-center rounded-
|
|
7312
|
+
className: cn("relative flex cursor-default select-none items-center rounded-sm py-1 px-1.5 text-sm outline-none hover:bg-Colors-Background-Normal-Primary-Hover data-[disabled]:pointer-events-none data-[disabled]:bg-Colors-Background-Normal-Secondary-Alt data-[disabled]:text-Colors-Text-Disabled space-x-1.5 pr-8", className),
|
|
7313
7313
|
checked: checked
|
|
7314
7314
|
}, props), {
|
|
7315
7315
|
children: [
|
|
7316
|
+
children,
|
|
7316
7317
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", {
|
|
7317
|
-
className: "absolute
|
|
7318
|
+
className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
7318
7319
|
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ContextMenuPrimitive.ItemIndicator, {
|
|
7319
7320
|
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_lucide_react7.Check, {
|
|
7320
7321
|
className: "h-4 w-4"
|
|
7321
7322
|
})
|
|
7322
7323
|
})
|
|
7323
|
-
})
|
|
7324
|
-
children
|
|
7324
|
+
})
|
|
7325
7325
|
]
|
|
7326
7326
|
}));
|
|
7327
7327
|
});
|
|
@@ -7333,7 +7333,7 @@ var ContextMenuRadioItem = React17.forwardRef(function(_param, ref) {
|
|
|
7333
7333
|
]);
|
|
7334
7334
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(ContextMenuPrimitive.RadioItem, _object_spread_props(_object_spread({
|
|
7335
7335
|
ref: ref,
|
|
7336
|
-
className: cn("relative flex cursor-default select-none items-center rounded-
|
|
7336
|
+
className: cn("relative flex cursor-default select-none items-center rounded-sm py-1 px-1.5 text-sm outline-none hover:bg-Colors-Background-Normal-Primary-Hover data-[disabled]:pointer-events-none data-[disabled]:text-Colors-Text-Disabled data-[disabled]:bg-Colors-Background-Normal-Secondary-Alt space-x-1.5 pl-8", className)
|
|
7337
7337
|
}, props), {
|
|
7338
7338
|
children: [
|
|
7339
7339
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", {
|
|
@@ -7356,7 +7356,7 @@ var ContextMenuLabel = React17.forwardRef(function(_param, ref) {
|
|
|
7356
7356
|
]);
|
|
7357
7357
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ContextMenuPrimitive.Label, _object_spread({
|
|
7358
7358
|
ref: ref,
|
|
7359
|
-
className: cn("px-
|
|
7359
|
+
className: cn("px-1.5 py-1 text-sm font-semibold text-Colors-Text-Default", inset && "pl-8", className)
|
|
7360
7360
|
}, props));
|
|
7361
7361
|
});
|
|
7362
7362
|
ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
|
|
@@ -7375,7 +7375,7 @@ var ContextMenuShortcut = function(_param) {
|
|
|
7375
7375
|
"className"
|
|
7376
7376
|
]);
|
|
7377
7377
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", _object_spread({
|
|
7378
|
-
className: cn("ml-auto text-xs tracking-
|
|
7378
|
+
className: cn("ml-auto text-xs tracking-wides", className)
|
|
7379
7379
|
}, props));
|
|
7380
7380
|
};
|
|
7381
7381
|
ContextMenuShortcut.displayName = "ContextMenuShortcut";
|
|
@@ -11773,7 +11773,7 @@ var SelectContent = React33.forwardRef(function(_param, ref) {
|
|
|
11773
11773
|
]);
|
|
11774
11774
|
var Content13 = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectPrimitive.Content, _object_spread_props(_object_spread({
|
|
11775
11775
|
ref: ref,
|
|
11776
|
-
className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm bg-Colors-Background-
|
|
11776
|
+
className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm bg-Colors-Background-Utilities-Modal text-Colors-Text-Default shadow-modal-default 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", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
|
|
11777
11777
|
position: position
|
|
11778
11778
|
}, props), {
|
|
11779
11779
|
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectPrimitive.Viewport, {
|
|
@@ -13494,7 +13494,7 @@ var State2 = function(param) {
|
|
|
13494
13494
|
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, {
|
|
13495
13495
|
component: icon,
|
|
13496
13496
|
size: "4xl",
|
|
13497
|
-
className: iconClassName
|
|
13497
|
+
className: cn("text-Colors-Text-Subtlest", iconClassName)
|
|
13498
13498
|
});
|
|
13499
13499
|
} : function() {
|
|
13500
13500
|
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", {
|
|
@@ -13526,7 +13526,7 @@ var State2 = function(param) {
|
|
|
13526
13526
|
}),
|
|
13527
13527
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Text, {
|
|
13528
13528
|
size: "sm",
|
|
13529
|
-
color: "subtle",
|
|
13529
|
+
color: icon ? "subtlest" : "subtle",
|
|
13530
13530
|
className: descriptionClassName,
|
|
13531
13531
|
children: description
|
|
13532
13532
|
})
|