myshell-react-lib 0.3.2 → 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.cjs CHANGED
@@ -12032,7 +12032,7 @@ var DialogOverlay = React25.forwardRef(function(_param, ref) {
12032
12032
  ]);
12033
12033
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DialogPrimitive.Overlay, _object_spread({
12034
12034
  ref: ref,
12035
- 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)
12035
+ 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)
12036
12036
  }, props));
12037
12037
  });
12038
12038
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
@@ -12057,12 +12057,12 @@ var DialogContent = React25.forwardRef(function(_param, ref) {
12057
12057
  }),
12058
12058
  /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(DialogPrimitive.Content, _object_spread_props(_object_spread({
12059
12059
  ref: ref,
12060
- 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)
12060
+ 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)
12061
12061
  }, props), {
12062
12062
  children: [
12063
12063
  children,
12064
12064
  !hideClose && /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(DialogPrimitive.Close, {
12065
- 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),
12065
+ 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),
12066
12066
  onClick: function() {
12067
12067
  onClose && onClose();
12068
12068
  },
@@ -12392,7 +12392,7 @@ var DrawerOverlay = React28.forwardRef(function(_param, ref) {
12392
12392
  ]);
12393
12393
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_vaul.Drawer.Overlay, _object_spread({
12394
12394
  ref: ref,
12395
- className: cn("fixed inset-0 z-50 bg-Colors-Background-Utilities-Overlay", className)
12395
+ className: cn("fixed inset-0 z-50 bg-Colors-Background-Utilities-Overlay backdrop-blur-xl", className)
12396
12396
  }, props));
12397
12397
  });
12398
12398
  DrawerOverlay.displayName = import_vaul.Drawer.Overlay.displayName;
@@ -12406,7 +12406,7 @@ var DrawerContent = React28.forwardRef(function(_param, ref) {
12406
12406
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DrawerOverlay, {}),
12407
12407
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_vaul.Drawer.Content, _object_spread_props(_object_spread({
12408
12408
  ref: ref,
12409
- 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)
12409
+ 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)
12410
12410
  }, props), {
12411
12411
  children: children
12412
12412
  }))
@@ -13589,7 +13589,7 @@ var ModalOverlay = React37.forwardRef(function(_param, ref) {
13589
13589
  ]);
13590
13590
  return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(DialogPrimitive2.Overlay, _object_spread({
13591
13591
  ref: ref,
13592
- 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),
13592
+ 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),
13593
13593
  onClick: function(e) {
13594
13594
  onClick && onClick(e);
13595
13595
  }
@@ -13717,6 +13717,7 @@ var Modal = function(_param) {
13717
13717
  }),
13718
13718
  !hideClose && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_vaul2.Drawer.Close, {
13719
13719
  asChild: true,
13720
+ className: "outline-none focus-visible:outline-none",
13720
13721
  children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", {
13721
13722
  className: cn("absolute right-4 top-3", closeClassName),
13722
13723
  onClick: function() {
@@ -13800,7 +13801,7 @@ var Modal = function(_param) {
13800
13801
  }
13801
13802
  };
13802
13803
  var dialogContent = /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(ModalContent, {
13803
- className: cn("rounded-md border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal shadow-modal-default backdrop-blur-xl overflow-hidden", !isMobile2 ? modalVariants({
13804
+ className: cn("rounded-md border-Colors-Border-Opaque bg-Colors-Background-Utilities-Modal shadow-modal-default overflow-hidden", !isMobile2 ? modalVariants({
13804
13805
  size: size,
13805
13806
  zIndex: zIndex
13806
13807
  }) : isLogin ? "w-[90%]" : "w-[80%]", isNotification && "w-[312px] md:w-[380px]", contentClassName),