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.js CHANGED
@@ -6510,7 +6510,7 @@ var ContextMenuSubTrigger = React17.forwardRef(function(_param, ref) {
6510
6510
  ]);
6511
6511
  return /* @__PURE__ */ jsxs12(ContextMenuPrimitive.SubTrigger, _object_spread_props(_object_spread({
6512
6512
  ref: ref,
6513
- className: cn("flex cursor-default select-none items-center rounded-md py-1 px-2 text-sm outline-none hover:bg-Colors-Background-Normal-Primary-Hover data-[state=open]:bg-slate-100 data-[state=open]:text-slate-900 dark:focus:bg-slate-800 dark:focus:text-slate-50 dark:data-[state=open]:bg-slate-800 dark:data-[state=open]:text-slate-50", inset && "pl-8", className)
6513
+ 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)
6514
6514
  }, props), {
6515
6515
  children: [
6516
6516
  children,
@@ -6527,7 +6527,7 @@ var ContextMenuSubContent = React17.forwardRef(function(_param, ref) {
6527
6527
  ]);
6528
6528
  return /* @__PURE__ */ jsx23(ContextMenuPrimitive.SubContent, _object_spread({
6529
6529
  ref: ref,
6530
- className: cn("flex flex-col gap-y-1 z-50 overflow-hidden rounded-xl border border-Colors-Border-Default bg-Colors-Background-Neutral-Primary-Default p-2 text-Colors-Text-Default shadow-modal-default", className)
6530
+ 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)
6531
6531
  }, props));
6532
6532
  });
6533
6533
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
@@ -6538,7 +6538,7 @@ var ContextMenuContent = React17.forwardRef(function(_param, ref) {
6538
6538
  return /* @__PURE__ */ jsx23(ContextMenuPrimitive.Portal, {
6539
6539
  children: /* @__PURE__ */ jsx23(ContextMenuPrimitive.Content, _object_spread({
6540
6540
  ref: ref,
6541
- className: cn("z-50 min-w-[8rem] overflow-hidden rounded-xl border-none bg-Colors-Background-Normal-Primary-Default p-1 text-Colors-Text-Default shadow-modal-default border border-Colors-Border-Opaque", className)
6541
+ 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)
6542
6542
  }, props))
6543
6543
  });
6544
6544
  });
@@ -6550,7 +6550,7 @@ var ContextMenuItem = React17.forwardRef(function(_param, ref) {
6550
6550
  ]);
6551
6551
  return /* @__PURE__ */ jsx23(ContextMenuPrimitive.Item, _object_spread({
6552
6552
  ref: ref,
6553
- className: cn("relative flex cursor-default select-none items-center rounded-md py-1 px-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-30 focus:bg-Colors-Background-Neutral-Primary-Default", inset && "pl-8", className)
6553
+ 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)
6554
6554
  }, props));
6555
6555
  });
6556
6556
  ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
@@ -6562,19 +6562,19 @@ var ContextMenuCheckboxItem = React17.forwardRef(function(_param, ref) {
6562
6562
  ]);
6563
6563
  return /* @__PURE__ */ jsxs12(ContextMenuPrimitive.CheckboxItem, _object_spread_props(_object_spread({
6564
6564
  ref: ref,
6565
- className: cn("relative flex cursor-default select-none items-center rounded-md py-1 px-2 text-sm outline-none hover:bg-Colors-Background-Normal-Primary-Hover data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-slate-800 dark:focus:text-slate-50", className),
6565
+ 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),
6566
6566
  checked: checked
6567
6567
  }, props), {
6568
6568
  children: [
6569
+ children,
6569
6570
  /* @__PURE__ */ jsx23("span", {
6570
- className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
6571
+ className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
6571
6572
  children: /* @__PURE__ */ jsx23(ContextMenuPrimitive.ItemIndicator, {
6572
6573
  children: /* @__PURE__ */ jsx23(Check3, {
6573
6574
  className: "h-4 w-4"
6574
6575
  })
6575
6576
  })
6576
- }),
6577
- children
6577
+ })
6578
6578
  ]
6579
6579
  }));
6580
6580
  });
@@ -6586,7 +6586,7 @@ var ContextMenuRadioItem = React17.forwardRef(function(_param, ref) {
6586
6586
  ]);
6587
6587
  return /* @__PURE__ */ jsxs12(ContextMenuPrimitive.RadioItem, _object_spread_props(_object_spread({
6588
6588
  ref: ref,
6589
- className: cn("relative flex cursor-default select-none items-center rounded-md py-1 px-2 text-sm outline-none hover:bg-Colors-Background-Normal-Primary-Hover data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className)
6589
+ 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)
6590
6590
  }, props), {
6591
6591
  children: [
6592
6592
  /* @__PURE__ */ jsx23("span", {
@@ -6609,7 +6609,7 @@ var ContextMenuLabel = React17.forwardRef(function(_param, ref) {
6609
6609
  ]);
6610
6610
  return /* @__PURE__ */ jsx23(ContextMenuPrimitive.Label, _object_spread({
6611
6611
  ref: ref,
6612
- className: cn("px-2 py-1.5 text-sm font-semibold text-Colors-Text-Default", inset && "pl-8", className)
6612
+ className: cn("px-1.5 py-1 text-sm font-semibold text-Colors-Text-Default", inset && "pl-8", className)
6613
6613
  }, props));
6614
6614
  });
6615
6615
  ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
@@ -6628,7 +6628,7 @@ var ContextMenuShortcut = function(_param) {
6628
6628
  "className"
6629
6629
  ]);
6630
6630
  return /* @__PURE__ */ jsx23("span", _object_spread({
6631
- className: cn("ml-auto text-xs tracking-widest text-slate-500 dark:text-slate-400", className)
6631
+ className: cn("ml-auto text-xs tracking-wides", className)
6632
6632
  }, props));
6633
6633
  };
6634
6634
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
@@ -11026,7 +11026,7 @@ var SelectContent = React33.forwardRef(function(_param, ref) {
11026
11026
  ]);
11027
11027
  var Content13 = /* @__PURE__ */ jsx45(SelectPrimitive.Content, _object_spread_props(_object_spread({
11028
11028
  ref: ref,
11029
- className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm bg-Colors-Background-Normal-Primary-Default 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),
11029
+ 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),
11030
11030
  position: position
11031
11031
  }, props), {
11032
11032
  children: /* @__PURE__ */ jsx45(SelectPrimitive.Viewport, {
@@ -12747,7 +12747,7 @@ var State2 = function(param) {
12747
12747
  return /* @__PURE__ */ jsx58(Icon, {
12748
12748
  component: icon,
12749
12749
  size: "4xl",
12750
- className: iconClassName
12750
+ className: cn("text-Colors-Text-Subtlest", iconClassName)
12751
12751
  });
12752
12752
  } : function() {
12753
12753
  return /* @__PURE__ */ jsx58("div", {
@@ -12779,7 +12779,7 @@ var State2 = function(param) {
12779
12779
  }),
12780
12780
  /* @__PURE__ */ jsx58(Text, {
12781
12781
  size: "sm",
12782
- color: "subtle",
12782
+ color: icon ? "subtlest" : "subtle",
12783
12783
  className: descriptionClassName,
12784
12784
  children: description
12785
12785
  })