@bikiran/utils 2.1.7 → 2.1.8

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.
@@ -6,6 +6,7 @@ import AppAccount from "./components/AppAccount";
6
6
  import ServiceApp from "./components/ServiceApp";
7
7
  import { serviceIcons } from "./icons/Icons";
8
8
  import style from './style/Service.module.css';
9
+ import { cn } from "../../lib/utils/cn";
9
10
  const ButtonClose = ({ onClick, ImageComponent }) => {
10
11
  return (_jsx("div", { onClick: onClick, className: style.closeBtn, children: _jsx(ImageComponent, { src: serviceIcons.iconCross, alt: "cross", width: 100, height: 100, sizes: "100vw", className: "w-full h-auto rounded-full" }) }));
11
12
  };
@@ -27,7 +28,7 @@ const ServicesPopup = ({ auth, apps = [], setShow, ref, applicationData, LinkCom
27
28
  ? apps.filter((a) => a.status !== "inactive")
28
29
  : (applicationData === null || applicationData === void 0 ? void 0 : applicationData.filter((a) => a.status !== "inactive")) || [];
29
30
  const staticAppLogo = ((_a = auth === null || auth === void 0 ? void 0 : auth.currentUser) === null || _a === void 0 ? void 0 : _a.photoUrl) || "";
30
- return (_jsx("div", { className: style.popupContainer, children: _jsxs("div", { className: style.popupWrapper, children: [_jsx("div", { className: "flex items-center justify-end sm:hidden", children: _jsx(ButtonClose, { onClick: (ev) => {
31
+ return (_jsx("div", { className: style.popupContainer, children: _jsxs("div", { className: cn(style.popupWrapper, 'custom-scrollbar'), children: [_jsx("div", { className: "flex items-center justify-end sm:hidden", children: _jsx(ButtonClose, { onClick: (ev) => {
31
32
  ev.stopPropagation();
32
33
  ev.preventDefault();
33
34
  setShow(false);
@@ -2,7 +2,7 @@
2
2
  @apply sm:absolute fixed sm:top-11 top-0 sm:-right-8 -right-0 z-[999] p-2.5 pr-1 bg-[#F7F3F8] shadow-[0px_0px_30px_0px_rgba(19,15,64,0.20)] sm:rounded-30 w-screen sm:w-98 h-screen sm:h-[520px] overflow-hidden;
3
3
  }
4
4
  .popupWrapper {
5
- @apply h-full bg-white rounded-[22px] p-[23px] pt-3 overflow-y-scroll custom-scrollbar cursor-default;
5
+ @apply h-full bg-white rounded-[22px] p-[23px] pt-3 overflow-y-scroll cursor-default;
6
6
  }
7
7
 
8
8
  .closeBtn {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikiran/utils",
3
- "version": "2.1.7",
3
+ "version": "2.1.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [