@calcom/atoms 1.0.21 → 1.0.22

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.
@@ -1,4 +1,4 @@
1
- import { aP as L, aQ as V, aR as D, aS as M, aT as Q, aU as Z, aV as _, aW as j, aX as re, aY as ie, aZ as oe, a_ as ae } from "./index-s72r9oDm.js";
1
+ import { aP as L, aQ as V, aR as D, aS as M, aT as Q, aU as Z, aV as _, aW as j, aX as re, aY as ie, aZ as oe, a_ as ae } from "./index-qesbduIG.js";
2
2
  function b(t, e, n, s = { passive: !0 }) {
3
3
  return t.addEventListener(e, n, s), () => t.removeEventListener(e, n);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { T as m, b as n } from "./index-s72r9oDm.js";
1
+ import { T as m, b as n } from "./index-qesbduIG.js";
2
2
  export {
3
3
  m as TimezoneSelect,
4
4
  n as TimezoneSelectComponent
@@ -1,6 +1,6 @@
1
1
  import { memo as j, useState as T } from "react";
2
- import { an as k, aG as g, aq as t, aH as U, aI as N, aJ as C, au as b, ar as n, aC as v } from "./index-s72r9oDm.js";
3
- import { C as A } from "./Card-y1TAfpoG.js";
2
+ import { an as k, aG as g, aq as t, aH as U, aI as N, aJ as C, au as b, ar as n, aC as v } from "./index-qesbduIG.js";
3
+ import { C as A } from "./Card-xM4v0QQU.js";
4
4
  const I = [{
5
5
  id: 13,
6
6
  thumbnailUrl: "https://img.youtube.com/vi/ihE8OYTdklg/0.jpg",
@@ -0,0 +1,4 @@
1
+ import { U as i } from "./UnpublishedEntity-DUufhzoq.js";
2
+ export {
3
+ i as UnpublishedEntity
4
+ };
@@ -1,5 +1,5 @@
1
- import { D as a, P as o, f as s, g as t, g as m, i as C, p as n, a as p } from "./index-s72r9oDm.js";
2
- import { i } from "./isSupportedCountry-CHPHKvcC.js";
1
+ import { D as a, P as o, f as s, g as t, g as m, i as C, p as n, a as p } from "./index-qesbduIG.js";
2
+ import { i } from "./isSupportedCountry-DoWE2ZJ9.js";
3
3
  export {
4
4
  a as DIGITS,
5
5
  o as ParseError,
@@ -1,6 +1,6 @@
1
- import { ag as o, W as s, A as t, c as r, B as n, h as i, j as l, K as d, C as p, k as u, ae as m, ad as g, X as c, a7 as C, a8 as D, a9 as T, aa as I, ab as S, ac as h, u as w, v as x, J as k, w as B, x as b, y as A, M as E, z as F, G as L, E as M, l as f, Z as G, R as v, F as U, aj as H, a1 as R, H as y, am as O, I as z, m as P, O as V, n as W, L as j, _ as q, $ as J, a0 as K, V as N, ah as Q, ai as X, ak as Y, S as Z, a5 as _, r as $, a2 as aa, a3 as ea, a4 as oa, N as sa, o as ta, q as ra, T as na, b as ia, s as la, a6 as da, Q as pa, e as ua, U as ma, d as ga, Y as ca, t as Ca, af as Da, al as Ta } from "./index-s72r9oDm.js";
2
- import { U as Sa } from "./UnpublishedEntity-3phZLMux.js";
3
- import { C as wa } from "./Card-y1TAfpoG.js";
1
+ import { ag as o, W as s, A as t, c as r, B as n, h as i, j as l, K as d, C as p, k as u, ae as m, ad as g, X as c, a7 as C, a8 as D, a9 as T, aa as I, ab as S, ac as h, u as w, v as x, J as k, w as B, x as b, y as A, M as E, z as F, G as L, E as M, l as f, Z as G, R as v, F as U, aj as H, a1 as R, H as y, am as O, I as z, m as P, O as V, n as W, L as j, _ as q, $ as J, a0 as K, V as N, ah as Q, ai as X, ak as Y, S as Z, a5 as _, r as $, a2 as aa, a3 as ea, a4 as oa, N as sa, o as ta, q as ra, T as na, b as ia, s as la, a6 as da, Q as pa, e as ua, U as ma, d as ga, Y as ca, t as Ca, af as Da, al as Ta } from "./index-qesbduIG.js";
2
+ import { U as Sa } from "./UnpublishedEntity-DUufhzoq.js";
3
+ import { C as wa } from "./Card-xM4v0QQU.js";
4
4
  export {
5
5
  o as AddressInput,
6
6
  s as Alert,
@@ -41044,7 +41044,7 @@ const a3 = ({
41044
41044
  currency: t
41045
41045
  }).format(_rt(e, t))}`;
41046
41046
  }
41047
- }, wrt = vs(() => import("./AlbyPriceComponent-EPbQ6-Ch.js").then((e) => e.AlbyPriceComponent), {
41047
+ }, wrt = vs(() => import("./AlbyPriceComponent-LK8tHVbi.js").then((e) => e.AlbyPriceComponent), {
41048
41048
  ssr: !1
41049
41049
  }), xrt = ({
41050
41050
  price: e,
@@ -42469,7 +42469,7 @@ var xat = function(e) {
42469
42469
  var l = c.message, u = c.types, h = Object.assign({}, i, { children: l || a });
42470
42470
  return ne.isValidElement(t) ? ne.cloneElement(t, h) : o ? o({ message: l || a, messages: u }) : ne.createElement(t || ne.Fragment, h);
42471
42471
  };
42472
- const Sy = vs(async () => (await import("./index-aQmnJ9l7.js")).SelectWithValidation), Cat = (e) => {
42472
+ const Sy = vs(async () => (await import("./index-e5fpbI8G.js")).SelectWithValidation), Cat = (e) => {
42473
42473
  const {
42474
42474
  value: t,
42475
42475
  setValue: n,
@@ -43853,7 +43853,7 @@ const RL = ({
43853
43853
  desktop: 6,
43854
43854
  tablet: 2
43855
43855
  }
43856
- }, eot = vs(() => import("./index-jQVrN-br.js").then((e) => e.TimezoneSelect), {
43856
+ }, eot = vs(() => import("./index-9_aiv2PO.js").then((e) => e.TimezoneSelect), {
43857
43857
  ssr: !1
43858
43858
  }), tot = ({
43859
43859
  event: e,
@@ -45368,7 +45368,7 @@ const Oot = ({
45368
45368
  children: e("booker_event_not_found")
45369
45369
  })
45370
45370
  });
45371
- }, Dot = () => import("./framer-features-QYUZb8Rn.js").then((e) => e.default), Lot = vs(() => import("./PoweredBy-KQOqSIbh.js")), Fot = vs(() => import("./index-_WKFJWoU.js").then((e) => e.UnpublishedEntity)), GA = vs(() => import("./DatePicker-JD_V3fz2.js").then((e) => e.DatePicker), {
45371
+ }, Dot = () => import("./framer-features-_a2kfYYp.js").then((e) => e.default), Lot = vs(() => import("./PoweredBy-6DJ83XI_.js")), Fot = vs(() => import("./index-Dpt8CNob.js").then((e) => e.UnpublishedEntity)), GA = vs(() => import("./DatePicker-I7Zg3Dg1.js").then((e) => e.DatePicker), {
45372
45372
  ssr: !1
45373
45373
  }), Vot = ({
45374
45374
  username: e,
@@ -45827,7 +45827,7 @@ function BL({
45827
45827
  if (t)
45828
45828
  for (const c of t) {
45829
45829
  const l = o[c.name], u = I.string(), h = n ? I.string() : I.string().refine(ttt), p = n ? I.string() : I.string().refine(async (M) => {
45830
- const { isValidPhoneNumber: A } = await import("./index-SNl3aeux.js");
45830
+ const { isValidPhoneNumber: A } = await import("./index-QZOjlHV0.js");
45831
45831
  return A(M);
45832
45832
  }), y = (M) => `{${c.name}}${M}`, v = c.views, g = r === "ALL_VIEWS" ? !0 : v ? v.find((M) => M.id === r) : !0;
45833
45833
  let _ = c.hidden;
@@ -52613,7 +52613,7 @@ function $bt() {
52613
52613
  children: n("invite_team_notifcation_badge")
52614
52614
  });
52615
52615
  }
52616
- const Sbt = vs(() => import("./index-x4lkDi7r.js").then((e) => e.Tips), {
52616
+ const Sbt = vs(() => import("./index-BzxuWep-.js").then((e) => e.Tips), {
52617
52617
  ssr: !1
52618
52618
  }), Ibt = de("September 1 2021").toISOString(), Tbt = (e) => !e.completedOnboarding && !e.organizationId && de(e.createdDate).isAfter(Ibt);
52619
52619
  function Ebt(e = !1) {
@@ -66763,7 +66763,7 @@ const q7t = (e) => {
66763
66763
  })]
66764
66764
  })]
66765
66765
  });
66766
- }, Z7t = vs(() => import("./AddressInput-JoQaGbRT.js")), Y7t = Z7t, X7t = vs(() => import("./PhoneInput-Am-blD_t.js")), J7t = X7t, EB = "Radio", [K7t, OB] = Ir(EB), [Q7t, eCt] = K7t(EB), tCt = /* @__PURE__ */ Ee((e, t) => {
66766
+ }, Z7t = vs(() => import("./AddressInput-PUmmYXAY.js")), Y7t = Z7t, X7t = vs(() => import("./PhoneInput-XUg3onxa.js")), J7t = X7t, EB = "Radio", [K7t, OB] = Ir(EB), [Q7t, eCt] = K7t(EB), tCt = /* @__PURE__ */ Ee((e, t) => {
66767
66767
  const { __scopeRadio: n, name: r, checked: a = !1, required: o, disabled: i, value: s = "on", onCheck: c, ...l } = e, [u, h] = Ce(null), p = dn(
66768
66768
  t,
66769
66769
  (g) => h(g)
@@ -89124,11 +89124,12 @@ export {
89124
89124
  kw as b4,
89125
89125
  uit as b5,
89126
89126
  mKt as b6,
89127
- i_t as b7,
89128
- yKt as b8,
89129
- gKt as b9,
89130
- vKt as ba,
89131
- Sw as bb,
89127
+ vit as b7,
89128
+ i_t as b8,
89129
+ yKt as b9,
89130
+ gKt as ba,
89131
+ vKt as bb,
89132
+ Sw as bc,
89132
89133
  oV as c,
89133
89134
  iV as d,
89134
89135
  sV as e,
package/dist/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export { useIsPlatform } from "./hooks/useIsPlatform";
6
6
  export { useAtomsContext } from "./hooks/useAtomsContext";
7
7
  export { useConnectedCalendars } from "./hooks/useConnectedCalendars";
8
8
  export { useEventTypesPublic } from "./hooks/event-types/useEventTypesPublic";
9
+ export { usePublicEvent } from "./hooks/usePublicEvent";
9
10
  export { useGetEventTypeById } from "./hooks/event-types/useGetEventTypeById";
10
11
  export { useCancelBooking } from "./hooks/useCancelBooking";
11
12
  export { useGetBooking } from "./hooks/useGetBooking";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,mCAAmC,IAAI,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC7F,OAAO,EAAE,qBAAqB,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,mCAAmC,IAAI,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC7F,OAAO,EAAE,qBAAqB,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC"}
@@ -1,4 +1,4 @@
1
- import { aE as t, aF as r } from "./index-s72r9oDm.js";
1
+ import { aE as t, aF as r } from "./index-qesbduIG.js";
2
2
  function o() {
3
3
  return t(r, arguments);
4
4
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "module",
5
5
  "description": "Customizable UI components to integrate scheduling into your product.",
6
6
  "authors": "Cal.com, Inc.",
7
- "version": "1.0.21",
7
+ "version": "1.0.22",
8
8
  "scripts": {
9
9
  "dev": "yarn vite build --watch & npx tailwindcss -i ./globals.css -o ./globals.min.css --postcss --minify --watch",
10
10
  "build": "yarn vite build && npx tailwindcss -i ./globals.css -o ./globals.min.css --postcss --minify",
@@ -1,4 +0,0 @@
1
- import { U as i } from "./UnpublishedEntity-3phZLMux.js";
2
- export {
3
- i as UnpublishedEntity
4
- };