@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.
@@ -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 { a_ as a, a$ as o, aY as t, aZ as n, b1 as b, b5 as u, b2 as i, b3 as l, b6 as r, b7 as C, b4 as c, b0 as B, b8 as d } from "./index-6PQ0n_zn.js";
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
- t as CalProvider,
6
- n as GcalConnect,
7
- b as useAtomsContext,
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,