myshell-react-lib 0.3.1 → 0.3.3

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
@@ -11237,7 +11237,7 @@ var DialogOverlay = React25.forwardRef(function(_param, ref) {
11237
11237
  ]);
11238
11238
  return /* @__PURE__ */ jsx31(DialogPrimitive.Overlay, _object_spread({
11239
11239
  ref: ref,
11240
- className: cn("fixed inset-0 z-50 bg-opacity-90 md:bg-opacity-75 bg-Colors-Background-Utilities-Overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className)
11240
+ className: cn("fixed inset-0 z-50 bg-opacity-90 md:bg-opacity-75 bg-Colors-Background-Utilities-Overlay backdrop-blur-xl data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className)
11241
11241
  }, props));
11242
11242
  });
11243
11243
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
@@ -11262,12 +11262,12 @@ var DialogContent = React25.forwardRef(function(_param, ref) {
11262
11262
  }),
11263
11263
  /* @__PURE__ */ jsxs19(DialogPrimitive.Content, _object_spread_props(_object_spread({
11264
11264
  ref: ref,
11265
- className: cn("fixed left-[50%] top-[50%] z-50 grid w-[90%] rounded-4xl max-w-lg translate-x-[-50%] translate-y-[-50%] bg-Colors-Background-Normal-Primary-Default shadow-modal-default 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] focus-visible-style", className)
11265
+ className: cn("fixed left-[50%] top-[50%] z-50 grid w-[90%] rounded-4xl max-w-lg translate-x-[-50%] translate-y-[-50%] bg-Colors-Background-Utilities-Modal shadow-modal-default 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] focus-visible-style", className)
11266
11266
  }, props), {
11267
11267
  children: [
11268
11268
  children,
11269
11269
  !hideClose && /* @__PURE__ */ jsxs19(DialogPrimitive.Close, {
11270
- className: cn("w-9 h-9 absolute right-5 top-3 flex justify-center items-center focus-visible:outline-0 rounded-full hover:bg-Colors-Background-Normal-Primary-Hover", iconClassName),
11270
+ className: cn("w-9 h-9 absolute right-5 top-3 flex justify-center items-center outline-none focus-visible:outline-0 rounded-full hover:bg-Colors-Background-Normal-Primary-Hover", iconClassName),
11271
11271
  onClick: function() {
11272
11272
  onClose && onClose();
11273
11273
  },
@@ -11597,7 +11597,7 @@ var DrawerOverlay = React28.forwardRef(function(_param, ref) {
11597
11597
  ]);
11598
11598
  return /* @__PURE__ */ jsx35(DrawerPrimitive.Overlay, _object_spread({
11599
11599
  ref: ref,
11600
- className: cn("fixed inset-0 z-50 bg-Colors-Background-Utilities-Overlay", className)
11600
+ className: cn("fixed inset-0 z-50 bg-Colors-Background-Utilities-Overlay backdrop-blur-xl", className)
11601
11601
  }, props));
11602
11602
  });
11603
11603
  DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
@@ -11611,7 +11611,7 @@ var DrawerContent = React28.forwardRef(function(_param, ref) {
11611
11611
  /* @__PURE__ */ jsx35(DrawerOverlay, {}),
11612
11612
  /* @__PURE__ */ jsx35(DrawerPrimitive.Content, _object_spread_props(_object_spread({
11613
11613
  ref: ref,
11614
- className: cn("fixed inset-x-0 bottom-0 z-50 flex h-auto max-h-[70%] flex-col rounded-t-2xl bg-Colors-Background-Normal-Primary-Default shadow-modal-default", className)
11614
+ className: cn("fixed inset-x-0 bottom-0 z-50 flex h-auto max-h-[70%] flex-col rounded-t-2xl bg-Colors-Background-Utilities-Modal shadow-modal-default", className)
11615
11615
  }, props), {
11616
11616
  children: children
11617
11617
  }))
@@ -12794,7 +12794,7 @@ var ModalOverlay = React37.forwardRef(function(_param, ref) {
12794
12794
  ]);
12795
12795
  return /* @__PURE__ */ jsx44(DialogPrimitive2.Overlay, _object_spread({
12796
12796
  ref: ref,
12797
- className: cn("fixed inset-0 z-50 bg-Colors-Background-Utilities-Overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className),
12797
+ className: cn("fixed inset-0 z-50 bg-Colors-Background-Utilities-Overlay backdrop-blur-xl data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className),
12798
12798
  onClick: function(e) {
12799
12799
  onClick && onClick(e);
12800
12800
  }
@@ -12922,6 +12922,7 @@ var Modal = function(_param) {
12922
12922
  }),
12923
12923
  !hideClose && /* @__PURE__ */ jsx44(DrawerPrimitive2.Close, {
12924
12924
  asChild: true,
12925
+ className: "outline-none focus-visible:outline-none",
12925
12926
  children: /* @__PURE__ */ jsxs27("div", {
12926
12927
  className: cn("absolute right-4 top-3", closeClassName),
12927
12928
  onClick: function() {
@@ -13005,7 +13006,7 @@ var Modal = function(_param) {
13005
13006
  }
13006
13007
  };
13007
13008
  var dialogContent = /* @__PURE__ */ jsxs27(ModalContent, {
13008
- className: cn("rounded-md border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal shadow-modal-default backdrop-blur-xl overflow-hidden", !isMobile2 ? modalVariants({
13009
+ className: cn("rounded-md border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal shadow-modal-default overflow-hidden", !isMobile2 ? modalVariants({
13009
13010
  size: size,
13010
13011
  zIndex: zIndex
13011
13012
  }) : isLogin ? "w-[90%]" : "w-[80%]", isNotification && "w-[312px] md:w-[380px]", contentClassName),