docthub-core-components 3.3.3 → 3.3.4

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.
@@ -30,9 +30,9 @@ const t = {
30
30
  blogs: "https://blogs.dochub.in/",
31
31
  jobsDropYourResume: "https://jobs.dochub.in/drop-your-resume",
32
32
  // Due to removing localization, `/en` is omitted from enterprise login/register URLs (QA + PROD).
33
- enterpriseLogin: "https://enterprise.ibns.in/login/",
33
+ enterpriseLogin: "https://enterprise.dochub.in/login/",
34
34
  // When domain is changed to enterprise.dochub.in, update the URL
35
- enterpriseRegister: "https://enterprise.ibns.in/register/",
35
+ enterpriseRegister: "https://enterprise.dochub.in/register/",
36
36
  enterpriseTermsConditions: "https://enterprise.dochub.in/enterprise-terms-conditions/",
37
37
  enterprisePrivacyPolicy: "https://enterprise.dochub.in/enterprise-privacy-policy/",
38
38
  enterprisePaymentPolicy: "https://enterprise.dochub.in/enterprise-payment-policy/",
@@ -11,8 +11,8 @@ const e = {
11
11
  "request-demo": "https://dev.dochub.in/contact-us",
12
12
  "contact-sales": "https://dev.dochub.in/contact-us",
13
13
  // Due to removing localization, `/en` is omitted from enterprise login/register URLs (QA + PROD).
14
- "enterprise-login": "https://enterprise.ibns.in/login",
15
- "create-enterprise-account": "https://enterprise.ibns.in/register",
14
+ "enterprise-login": "https://enterprise.dochub.in/login",
15
+ "create-enterprise-account": "https://enterprise.dochub.in/register",
16
16
  "contact-support": "https://dev.dochub.in/contact-us"
17
17
  }, o = {
18
18
  "recruiter-solution": "https://www.docthub.com/recruiter",
@@ -3,47 +3,47 @@ import { jsx as t, jsxs as w } from "react/jsx-runtime";
3
3
  import { c as D } from "react-compiler-runtime";
4
4
  import { X as N } from "lucide-react";
5
5
  import { DoctButton as k } from "./button.js";
6
- import { DialogTitle as v, DialogHeader as F, DialogClose as y, DialogDescription as B, DialogFooter as _, DialogContent as O, Dialog as j } from "./dialog.js";
6
+ import { DialogTitle as v, DialogHeader as F, DialogClose as C, DialogDescription as B, DialogFooter as O, DialogContent as _, Dialog as j } from "./dialog.js";
7
7
  import { cn as z } from "../../lib/utils.js";
8
- const A = (C) => {
8
+ const A = (y) => {
9
9
  const e = D(22), {
10
10
  open: h,
11
11
  defaultOpen: x,
12
12
  onOpenChange: u,
13
13
  cookiePolicyRoute: g,
14
- onPolicyClick: l,
14
+ onPolicyClick: r,
15
15
  onAccept: a,
16
16
  className: b
17
- } = C;
17
+ } = y;
18
18
  let o;
19
19
  e[0] !== b ? (o = z("sm:!max-w-[384px] !max-w-[328px] gap-3 !rounded-2xl border-0 bg-[#525252] p-4 text-white shadow-none sm:!rounded-2xl", b), e[0] = b, e[1] = o) : o = e[1];
20
20
  let c;
21
21
  e[2] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ t(v, { className: "text-left text-[16px] !font-medium leading-[20px] tracking-normal text-white", children: "Cookies" }), e[2] = c) : c = e[2];
22
- let m, d, p;
22
+ let m, d, f;
23
23
  e[3] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ w(F, { className: "flex-row items-center justify-between space-y-0 text-left", children: [
24
24
  c,
25
- /* @__PURE__ */ t(y, { asChild: !0, children: /* @__PURE__ */ t(k, { type: "button", variant: "ghost", size: "medium", iconOnly: !0, "aria-label": "Close cookie dialog", className: "h-6 w-6 shrink-0 rounded-none bg-transparent p-0 text-white hover:bg-transparent active:bg-transparent focus-visible:ring-white/40 focus-visible:ring-offset-0", icon: /* @__PURE__ */ t(N, { className: "!h-5 !w-5 !text-white", strokeWidth: 2 }) }) })
26
- ] }), d = /* @__PURE__ */ t(B, { className: "text-[12px] font-normal leading-[18px] text-[#DCDCDC] pr-0 sm:pr-4", children: "We use cookies to enhance your browsing experience, analyse site traffic, and personalise content. By continuing to use our site, you consent to our use of cookies." }), p = /* @__PURE__ */ t("hr", { className: "m-0 border-0 border-t border-[#FFFFFF1F]" }), e[3] = m, e[4] = d, e[5] = p) : (m = e[3], d = e[4], p = e[5]);
25
+ /* @__PURE__ */ t(C, { asChild: !0, children: /* @__PURE__ */ t(k, { type: "button", variant: "ghost", size: "medium", iconOnly: !0, "aria-label": "Close cookie dialog", className: "h-6 w-6 shrink-0 rounded-none bg-transparent p-0 text-white hover:bg-transparent active:bg-transparent focus-visible:ring-white/40 focus-visible:ring-offset-0", icon: /* @__PURE__ */ t(N, { className: "!h-5 !w-5 !text-white", strokeWidth: 2 }) }) })
26
+ ] }), d = /* @__PURE__ */ t(B, { className: "text-[12px] font-normal leading-[18px] text-[#DCDCDC] pr-0 sm:pr-4", children: "We use cookies to enhance your browsing experience, analyse site traffic, and personalise content. By continuing to use our site, you consent to our use of cookies." }), f = /* @__PURE__ */ t("hr", { className: "m-0 border-0 border-t border-[#FFFFFF1F]" }), e[3] = m, e[4] = d, e[5] = f) : (m = e[3], d = e[4], f = e[5]);
27
27
  let i;
28
- e[6] !== g || e[7] !== l ? (i = /* @__PURE__ */ t(k, { type: "button", variant: "secondary", size: "medium", className: "h-[36px] min-w-0 flex-1 basis-0 shrink !bg-[#6B6B6B] text-[14px] font-medium !text-white hover:!bg-[#7A7A7A]", onClick: () => {
29
- l == null || l(), window.open(g, "_blank", "noopener,noreferrer");
30
- }, children: "Cookies Policy" }), e[6] = g, e[7] = l, e[8] = i) : i = e[8];
28
+ e[6] !== g || e[7] !== r ? (i = /* @__PURE__ */ t(k, { type: "button", variant: "secondary", size: "medium", className: "h-[36px] min-w-0 flex-1 basis-0 shrink !bg-[#6B6B6B] text-[14px] font-medium !text-white hover:!bg-[#7A7A7A]", onClick: () => {
29
+ r == null || r(), window.open(g, "_blank", "noopener,noreferrer");
30
+ }, children: "Cookies Policy" }), e[6] = g, e[7] = r, e[8] = i) : i = e[8];
31
31
  let n;
32
- e[9] !== a ? (n = /* @__PURE__ */ t(y, { asChild: !0, children: /* @__PURE__ */ t(k, { type: "button", variant: "brandBlue", size: "medium", className: "h-[36px] min-w-0 flex-1 basis-0 shrink text-[14px] font-medium", onClick: () => a == null ? void 0 : a(), children: "Ok, Got it" }) }), e[9] = a, e[10] = n) : n = e[10];
32
+ e[9] !== a ? (n = /* @__PURE__ */ t(C, { asChild: !0, children: /* @__PURE__ */ t(k, { type: "button", variant: "brandBlue", size: "medium", className: "h-[36px] min-w-0 flex-1 basis-0 shrink text-[14px] font-medium", onClick: () => a == null ? void 0 : a(), children: "Ok, Got it" }) }), e[9] = a, e[10] = n) : n = e[10];
33
33
  let s;
34
- e[11] !== i || e[12] !== n ? (s = /* @__PURE__ */ w(_, { className: "!flex !flex-row !flex-nowrap items-center gap-3 pt-1", children: [
34
+ e[11] !== i || e[12] !== n ? (s = /* @__PURE__ */ w(O, { className: "!flex !flex-row !flex-nowrap items-center gap-3 pt-1", children: [
35
35
  i,
36
36
  n
37
37
  ] }), e[11] = i, e[12] = n, e[13] = s) : s = e[13];
38
- let r;
39
- e[14] !== o || e[15] !== s ? (r = /* @__PURE__ */ w(O, { showCloseButton: !1, className: o, children: [
38
+ let l;
39
+ e[14] !== o || e[15] !== s ? (l = /* @__PURE__ */ w(_, { showCloseButton: !1, closeOnOutsideClick: !1, className: o, children: [
40
40
  m,
41
41
  d,
42
- p,
42
+ f,
43
43
  s
44
- ] }), e[14] = o, e[15] = s, e[16] = r) : r = e[16];
45
- let f;
46
- return e[17] !== x || e[18] !== u || e[19] !== h || e[20] !== r ? (f = /* @__PURE__ */ t(j, { open: h, defaultOpen: x, onOpenChange: u, modal: !0, children: r }), e[17] = x, e[18] = u, e[19] = h, e[20] = r, e[21] = f) : f = e[21], f;
44
+ ] }), e[14] = o, e[15] = s, e[16] = l) : l = e[16];
45
+ let p;
46
+ return e[17] !== x || e[18] !== u || e[19] !== h || e[20] !== l ? (p = /* @__PURE__ */ t(j, { open: h, defaultOpen: x, onOpenChange: u, modal: !0, children: l }), e[17] = x, e[18] = u, e[19] = h, e[20] = l, e[21] = p) : p = e[21], p;
47
47
  };
48
48
  A.displayName = "CookieDialog";
49
49
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docthub-core-components",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",