@calcom/atoms 1.0.20 → 1.0.21
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/{AddressInput-pyyFW0cs.js → AddressInput-JoQaGbRT.js} +9 -10
- package/dist/{AlbyPriceComponent-wC_n8bJa.js → AlbyPriceComponent-EPbQ6-Ch.js} +13 -14
- package/dist/{Card-AX0eZjOC.js → Card-y1TAfpoG.js} +12 -13
- package/dist/{DatePicker-pErY4gNZ.js → DatePicker-JD_V3fz2.js} +8 -9
- package/dist/{PhoneInput-6AZAVvaQ.js → PhoneInput-Am-blD_t.js} +120 -121
- package/dist/PoweredBy-KQOqSIbh.js +31 -0
- package/dist/UnpublishedEntity-3phZLMux.js +23 -0
- package/dist/cal-atoms.js +4 -4
- package/dist/cal-atoms.umd.cjs +7837 -0
- package/dist/{framer-features-eR2CxD7D.js → framer-features-QYUZb8Rn.js} +29 -29
- package/dist/{index-qlzlYQfG.js → index-SNl3aeux.js} +2 -2
- package/dist/index-_WKFJWoU.js +4 -0
- package/dist/{index-93QOtKl6.js → index-aQmnJ9l7.js} +3 -3
- package/dist/{index-Zmk7j2SL.js → index-jQVrN-br.js} +1 -1
- package/dist/{index-6PQ0n_zn.js → index-s72r9oDm.js} +23044 -22408
- package/dist/{index-Aw_S8xCP.js → index-x4lkDi7r.js} +23 -24
- package/dist/{isSupportedCountry-l4nZ7iA1.js → isSupportedCountry-CHPHKvcC.js} +1 -1
- package/dist/vite.config.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/PoweredBy-LfOhjGas.js +0 -32
- package/dist/UnpublishedEntity-YVejQGGf.js +0 -24
- package/dist/index-2xQ1nwjF.js +0 -4
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { an as r, ao as d, ap as m, aq as a, ar as e, as as x, at as h, au as t, av as i } from "./index-s72r9oDm.js";
|
|
2
|
+
const u = ({
|
|
3
|
+
logoOnly: l
|
|
4
|
+
}) => {
|
|
5
|
+
const {
|
|
6
|
+
t: n
|
|
7
|
+
} = r(), s = d.useSession(), o = m(), c = s.data ? s.data.hasValidLicense : null;
|
|
8
|
+
return /* @__PURE__ */ a("div", {
|
|
9
|
+
className: `p-2 text-center text-xs sm:text-right${o ? " max-w-3xl" : ""}`,
|
|
10
|
+
children: /* @__PURE__ */ e(x, {
|
|
11
|
+
href: h,
|
|
12
|
+
target: "_blank",
|
|
13
|
+
className: "text-subtle",
|
|
14
|
+
children: [!l && /* @__PURE__ */ e(t, {
|
|
15
|
+
children: [n("powered_by"), " "]
|
|
16
|
+
}), i === "Cal.com" || !c ? /* @__PURE__ */ a(t, {
|
|
17
|
+
children: /* @__PURE__ */ a("img", {
|
|
18
|
+
className: "relative -mt-px inline h-[10px] w-auto dark:invert",
|
|
19
|
+
src: "/api/logo",
|
|
20
|
+
alt: "Cal.com Logo"
|
|
21
|
+
})
|
|
22
|
+
}) : /* @__PURE__ */ a("span", {
|
|
23
|
+
className: "text-emphasis font-semibold opacity-50 hover:opacity-100",
|
|
24
|
+
children: i
|
|
25
|
+
})]
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
u as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { an as i, aq as t, Z as s, A as r } from "./index-s72r9oDm.js";
|
|
2
|
+
function g(a) {
|
|
3
|
+
const {
|
|
4
|
+
t: n
|
|
5
|
+
} = i(), e = a.orgSlug || a.teamSlug;
|
|
6
|
+
return /* @__PURE__ */ t("div", {
|
|
7
|
+
className: "m-8 flex items-center justify-center",
|
|
8
|
+
children: /* @__PURE__ */ t(s, {
|
|
9
|
+
avatar: /* @__PURE__ */ t(r, {
|
|
10
|
+
alt: e ?? "",
|
|
11
|
+
imageSrc: a.orgSlug ? `/org/${e}/avatar.png` : `/team/${e}/avatar.png`,
|
|
12
|
+
size: "lg"
|
|
13
|
+
}),
|
|
14
|
+
headline: n("team_is_unpublished", {
|
|
15
|
+
team: a.name
|
|
16
|
+
}),
|
|
17
|
+
description: n(`${a.orgSlug ? "org" : "team"}_is_unpublished_description`)
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
g as U
|
|
23
|
+
};
|
package/dist/cal-atoms.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b1 as a, b2 as o, a$ as b, b0 as t, b4 as n, b8 as u, b5 as i, b6 as l, b9 as r, ba as C, b7 as c, b3 as B, bb as d } from "./index-s72r9oDm.js";
|
|
2
2
|
export {
|
|
3
3
|
a as AvailabilitySettings,
|
|
4
4
|
o as Booker,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
b as CalProvider,
|
|
6
|
+
t as GcalConnect,
|
|
7
|
+
n as useAtomsContext,
|
|
8
8
|
u as useCancelBooking,
|
|
9
9
|
i as useConnectedCalendars,
|
|
10
10
|
l as useEventTypesPublic,
|