@calcom/atoms 1.0.17 → 1.0.19
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-2mgl0lyR.js → AddressInput-lgOl_tVT.js} +1 -1
- package/dist/{AlbyPriceComponent-pvsGnCwS.js → AlbyPriceComponent-r4zhZs7G.js} +1 -1
- package/dist/{Card-zRo4OuhG.js → Card-TTw98xVy.js} +1 -1
- package/dist/{DatePicker-cCCY0o_q.js → DatePicker-3L7chldg.js} +1 -1
- package/dist/{PhoneInput-OwM4ptIW.js → PhoneInput-OC-8mHPi.js} +2 -2
- package/dist/{PoweredBy-l6TxbHkw.js → PoweredBy-6qXf3LP3.js} +1 -1
- package/dist/{UnpublishedEntity-xCb8jM6g.js → UnpublishedEntity-tjKqVYRo.js} +1 -1
- package/dist/booker/BookerWebWrapper.d.ts +1 -4
- package/dist/booker/BookerWebWrapper.d.ts.map +1 -1
- package/dist/cal-atoms.js +1 -1
- package/dist/cal-atoms.umd.cjs +3 -3
- package/dist/{framer-features-AEF3NKfo.js → framer-features-9v7ztPCe.js} +1 -1
- package/dist/index-6RbmBa-b.js +4 -0
- package/dist/{index-0NLe4Yyc.js → index-9EQ11-7o.js} +3 -3
- package/dist/{index-rvhB8hBr.js → index-IkeP1cDY.js} +2 -2
- package/dist/{index-RvYZ-ROA.js → index-SbtNfwjH.js} +17 -17
- package/dist/{index-HLaWGAF2.js → index-XvUjygA8.js} +1 -1
- package/dist/{index-LugnGhAc.js → index-_g1FZHlP.js} +2 -2
- package/dist/{isSupportedCountry-PzuVRP6F.js → isSupportedCountry-wDuwCxBx.js} +1 -1
- package/package.json +1 -1
- package/dist/index-J7apBMlg.js +0 -4
|
@@ -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-
|
|
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-SbtNfwjH.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,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-
|
|
2
|
-
import { U as Sa } from "./UnpublishedEntity-
|
|
3
|
-
import { C as wa } from "./Card-
|
|
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-SbtNfwjH.js";
|
|
2
|
+
import { U as Sa } from "./UnpublishedEntity-tjKqVYRo.js";
|
|
3
|
+
import { C as wa } from "./Card-TTw98xVy.js";
|
|
4
4
|
export {
|
|
5
5
|
o as AddressInput,
|
|
6
6
|
s as Alert,
|
|
@@ -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-
|
|
3
|
-
import { C as A } from "./Card-
|
|
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-SbtNfwjH.js";
|
|
3
|
+
import { C as A } from "./Card-TTw98xVy.js";
|
|
4
4
|
const I = [{
|
|
5
5
|
id: 13,
|
|
6
6
|
thumbnailUrl: "https://img.youtube.com/vi/ihE8OYTdklg/0.jpg",
|
|
@@ -41043,7 +41043,7 @@ const a3 = ({
|
|
|
41043
41043
|
currency: t
|
|
41044
41044
|
}).format(_rt(e, t))}`;
|
|
41045
41045
|
}
|
|
41046
|
-
}, wrt = vs(() => import("./AlbyPriceComponent-
|
|
41046
|
+
}, wrt = vs(() => import("./AlbyPriceComponent-r4zhZs7G.js").then((e) => e.AlbyPriceComponent), {
|
|
41047
41047
|
ssr: !1
|
|
41048
41048
|
}), xrt = ({
|
|
41049
41049
|
price: e,
|
|
@@ -42160,7 +42160,7 @@ const PL = ({
|
|
|
42160
42160
|
onTimeSelect: r,
|
|
42161
42161
|
showAvailableSeatsCount: a,
|
|
42162
42162
|
event: o,
|
|
42163
|
-
|
|
42163
|
+
customClassNames: i
|
|
42164
42164
|
}) => {
|
|
42165
42165
|
const {
|
|
42166
42166
|
t: s
|
|
@@ -42270,7 +42270,7 @@ const PL = ({
|
|
|
42270
42270
|
className: o,
|
|
42271
42271
|
selectedSlots: i,
|
|
42272
42272
|
event: s,
|
|
42273
|
-
|
|
42273
|
+
customClassNames: c
|
|
42274
42274
|
}) => {
|
|
42275
42275
|
const {
|
|
42276
42276
|
t: l
|
|
@@ -42297,7 +42297,7 @@ const PL = ({
|
|
|
42297
42297
|
}), h && !p && /* @__PURE__ */ b(y_, {
|
|
42298
42298
|
...e[0]
|
|
42299
42299
|
}), e.map((y) => y.away ? null : /* @__PURE__ */ b(mat, {
|
|
42300
|
-
|
|
42300
|
+
customClassNames: c,
|
|
42301
42301
|
onTimeSelect: t,
|
|
42302
42302
|
slot: y,
|
|
42303
42303
|
selectedSlots: i,
|
|
@@ -42342,7 +42342,7 @@ const PL = ({
|
|
|
42342
42342
|
t: r
|
|
42343
42343
|
} = He();
|
|
42344
42344
|
return /* @__PURE__ */ b(uB, {
|
|
42345
|
-
|
|
42345
|
+
customClassNames: e,
|
|
42346
42346
|
onValueChange: (a) => {
|
|
42347
42347
|
a && a !== t && n(a);
|
|
42348
42348
|
},
|
|
@@ -42360,7 +42360,7 @@ const PL = ({
|
|
|
42360
42360
|
date: e,
|
|
42361
42361
|
showTimeFormatToggle: t = !0,
|
|
42362
42362
|
availableMonth: n,
|
|
42363
|
-
|
|
42363
|
+
customClassNames: r
|
|
42364
42364
|
}) => {
|
|
42365
42365
|
const {
|
|
42366
42366
|
t: a,
|
|
@@ -42392,7 +42392,7 @@ const PL = ({
|
|
|
42392
42392
|
schedule: a,
|
|
42393
42393
|
isLoading: o,
|
|
42394
42394
|
event: i,
|
|
42395
|
-
|
|
42395
|
+
customClassNames: s
|
|
42396
42396
|
}) => {
|
|
42397
42397
|
const c = Ze((M) => M.selectedDate), l = Ze((M) => M.setSelectedTimeslot), u = Ze((M) => M.setSeatedEventData), h = c || de().format("YYYY-MM-DD"), [p] = Ze((M) => [M.layout]), y = p === $t.COLUMN_VIEW, v = we(null), g = (M, A, $, S) => {
|
|
42398
42398
|
l(M), $ && u({
|
|
@@ -42408,7 +42408,7 @@ const PL = ({
|
|
|
42408
42408
|
children: o ? /* @__PURE__ */ b("div", {
|
|
42409
42409
|
className: "mb-3 h-8"
|
|
42410
42410
|
}) : C.length > 0 && C.map((M) => /* @__PURE__ */ b(vat, {
|
|
42411
|
-
|
|
42411
|
+
customClassNames: {
|
|
42412
42412
|
availableTimeSlotsHeaderContainer: s == null ? void 0 : s.availableTimeSlotsHeaderContainer,
|
|
42413
42413
|
availableTimeSlotsTitle: s == null ? void 0 : s.availableTimeSlotsTitle,
|
|
42414
42414
|
availableTimeSlotsTimeFormatToggle: s == null ? void 0 : s.availableTimeSlotsTimeFormatToggle
|
|
@@ -42427,7 +42427,7 @@ const PL = ({
|
|
|
42427
42427
|
className: "scroll-bar h-full w-full overflow-y-auto overflow-x-hidden",
|
|
42428
42428
|
children: /* @__PURE__ */ b(yat, {
|
|
42429
42429
|
className: s == null ? void 0 : s.availableTimeSlotsContainer,
|
|
42430
|
-
|
|
42430
|
+
customClassNames: s == null ? void 0 : s.availableTimes,
|
|
42431
42431
|
showTimeFormatToggle: !y,
|
|
42432
42432
|
onTimeSelect: g,
|
|
42433
42433
|
slots: M.slots,
|
|
@@ -42468,7 +42468,7 @@ var xat = function(e) {
|
|
|
42468
42468
|
var l = c.message, u = c.types, h = Object.assign({}, i, { children: l || a });
|
|
42469
42469
|
return ne.isValidElement(t) ? ne.cloneElement(t, h) : o ? o({ message: l || a, messages: u }) : ne.createElement(t || ne.Fragment, h);
|
|
42470
42470
|
};
|
|
42471
|
-
const Sy = vs(async () => (await import("./index-
|
|
42471
|
+
const Sy = vs(async () => (await import("./index-9EQ11-7o.js")).SelectWithValidation), Cat = (e) => {
|
|
42472
42472
|
const {
|
|
42473
42473
|
value: t,
|
|
42474
42474
|
setValue: n,
|
|
@@ -43852,7 +43852,7 @@ const RL = ({
|
|
|
43852
43852
|
desktop: 6,
|
|
43853
43853
|
tablet: 2
|
|
43854
43854
|
}
|
|
43855
|
-
}, eot = vs(() => import("./index-
|
|
43855
|
+
}, eot = vs(() => import("./index-XvUjygA8.js").then((e) => e.TimezoneSelect), {
|
|
43856
43856
|
ssr: !1
|
|
43857
43857
|
}), tot = ({
|
|
43858
43858
|
event: e,
|
|
@@ -45367,7 +45367,7 @@ const Oot = ({
|
|
|
45367
45367
|
children: e("booker_event_not_found")
|
|
45368
45368
|
})
|
|
45369
45369
|
});
|
|
45370
|
-
}, Dot = () => import("./framer-features-
|
|
45370
|
+
}, Dot = () => import("./framer-features-9v7ztPCe.js").then((e) => e.default), Lot = vs(() => import("./PoweredBy-6qXf3LP3.js")), Fot = vs(() => import("./index-6RbmBa-b.js").then((e) => e.UnpublishedEntity)), GA = vs(() => import("./DatePicker-3L7chldg.js").then((e) => e.DatePicker), {
|
|
45371
45371
|
ssr: !1
|
|
45372
45372
|
}), Vot = ({
|
|
45373
45373
|
username: e,
|
|
@@ -45620,7 +45620,7 @@ const Oot = ({
|
|
|
45620
45620
|
ref: Je,
|
|
45621
45621
|
...qf,
|
|
45622
45622
|
children: /* @__PURE__ */ b(bat, {
|
|
45623
|
-
|
|
45623
|
+
customClassNames: O == null ? void 0 : O.availableTimeSlotsCustomClassnames,
|
|
45624
45624
|
extraDays: V,
|
|
45625
45625
|
limitHeight: W === $t.MONTH_VIEW,
|
|
45626
45626
|
schedule: A == null ? void 0 : A.data,
|
|
@@ -45826,7 +45826,7 @@ function BL({
|
|
|
45826
45826
|
if (t)
|
|
45827
45827
|
for (const c of t) {
|
|
45828
45828
|
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) => {
|
|
45829
|
-
const { isValidPhoneNumber: A } = await import("./index-
|
|
45829
|
+
const { isValidPhoneNumber: A } = await import("./index-_g1FZHlP.js");
|
|
45830
45830
|
return A(M);
|
|
45831
45831
|
}), y = (M) => `{${c.name}}${M}`, v = c.views, g = r === "ALL_VIEWS" ? !0 : v ? v.find((M) => M.id === r) : !0;
|
|
45832
45832
|
let _ = c.hidden;
|
|
@@ -52614,7 +52614,7 @@ function $bt() {
|
|
|
52614
52614
|
children: n("invite_team_notifcation_badge")
|
|
52615
52615
|
});
|
|
52616
52616
|
}
|
|
52617
|
-
const Sbt = vs(() => import("./index-
|
|
52617
|
+
const Sbt = vs(() => import("./index-IkeP1cDY.js").then((e) => e.Tips), {
|
|
52618
52618
|
ssr: !1
|
|
52619
52619
|
}), Ibt = de("September 1 2021").toISOString(), Tbt = (e) => !e.completedOnboarding && !e.organizationId && de(e.createdDate).isAfter(Ibt);
|
|
52620
52620
|
function Ebt(e = !1) {
|
|
@@ -64467,7 +64467,7 @@ const wx = f9t, xx = g9t, w9t = /* @__PURE__ */ Ee((e, t) => {
|
|
|
64467
64467
|
options: e,
|
|
64468
64468
|
onValueChange: t,
|
|
64469
64469
|
isFullWidth: n,
|
|
64470
|
-
|
|
64470
|
+
customClassNames: r,
|
|
64471
64471
|
...a
|
|
64472
64472
|
}) => /* @__PURE__ */ b(Oe, {
|
|
64473
64473
|
children: /* @__PURE__ */ b(I9t, {
|
|
@@ -66764,7 +66764,7 @@ const q7t = (e) => {
|
|
|
66764
66764
|
})]
|
|
66765
66765
|
})]
|
|
66766
66766
|
});
|
|
66767
|
-
}, Z7t = vs(() => import("./AddressInput-
|
|
66767
|
+
}, Z7t = vs(() => import("./AddressInput-lgOl_tVT.js")), Y7t = Z7t, X7t = vs(() => import("./PhoneInput-OC-8mHPi.js")), J7t = X7t, EB = "Radio", [K7t, OB] = Ir(EB), [Q7t, eCt] = K7t(EB), tCt = /* @__PURE__ */ Ee((e, t) => {
|
|
66768
66768
|
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(
|
|
66769
66769
|
t,
|
|
66770
66770
|
(g) => h(g)
|
|
@@ -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-
|
|
2
|
-
import { i } from "./isSupportedCountry-
|
|
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-SbtNfwjH.js";
|
|
2
|
+
import { i } from "./isSupportedCountry-wDuwCxBx.js";
|
|
3
3
|
export {
|
|
4
4
|
a as DIGITS,
|
|
5
5
|
o as ParseError,
|
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.
|
|
7
|
+
"version": "1.0.19",
|
|
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",
|
package/dist/index-J7apBMlg.js
DELETED