@levo-so/studio 0.1.59 → 0.1.61
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/{Beams-0Cg_3upg.js → Beams-sKsW_tr4.js} +46 -55
- package/dist/{Dots-turX9wMO.js → Dots-BEIutbKS.js} +44 -40
- package/dist/{Gradient-Be4Kqh_1.js → Gradient-DAR7R3Mz.js} +2 -2
- package/dist/Grid-BuKIXWMJ.js +174 -0
- package/dist/MessageCard-C8v6oHmf.js +45 -0
- package/dist/{Waves-DL4kuojY.js → Waves-C8qlIS1W.js} +29 -80
- package/dist/bridge/Highlighter.d.ts +3 -5
- package/dist/bridge/StudioBlockPreview.d.ts +1 -0
- package/dist/bridge/StudioPagePreview.d.ts +2 -2
- package/dist/bridge/StudioPreview.d.ts +1 -1
- package/dist/bridge/constants.d.ts +2 -0
- package/dist/bridge/hooks/useElementTracker.d.ts +9 -0
- package/dist/bridge/index.d.ts +3 -3
- package/dist/bridge/utils.d.ts +1 -4
- package/dist/components/AnimatedBlock.d.ts +50 -0
- package/dist/components/backgroundPresets/exports.d.ts +1 -1
- package/dist/components/backgroundPresets/presetSystem.d.ts +2 -2
- package/dist/components/bookingCard/BookingCard.d.ts +65 -0
- package/dist/components/bookingCard/index.d.ts +2 -0
- package/dist/components/bookingModal/BookingConfirmation.d.ts +48 -0
- package/dist/components/bookingModal/BookingModal.d.ts +19 -0
- package/dist/components/bookingModal/BookingSummary.d.ts +34 -0
- package/dist/components/bookingModal/index.d.ts +4 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/integrationFilters/FieldRenderer.d.ts +3 -0
- package/dist/components/integrationFilters/IntegrationFilters.d.ts +1 -1
- package/dist/components/integrationFilters/fields/DropdownField.d.ts +1 -1
- package/dist/components/integrationFilters/fields/TextField.d.ts +1 -1
- package/dist/components/registerModal/AttendeeForm.d.ts +27 -0
- package/dist/components/registerModal/CouponView.d.ts +14 -0
- package/dist/components/registerModal/RegisterModal.d.ts +2 -1
- package/dist/components/registerModal/TicketSelectionStep.d.ts +15 -0
- package/dist/components/registerModal/utils.d.ts +85 -1
- package/dist/components/stripePaymentModal/StripePaymentModal.d.ts +22 -0
- package/dist/components/stripePaymentModal/index.d.ts +3 -0
- package/dist/components/ui/Calendar.d.ts +1 -1
- package/dist/components/ui/base/avatar.d.ts +13 -0
- package/dist/components/ui/base/index.d.ts +3 -0
- package/dist/components/ui/base/input.d.ts +1 -1
- package/dist/components/ui/base/skeleton.d.ts +3 -0
- package/dist/components/ui/base/textarea.d.ts +4 -0
- package/dist/components/ui/base/tooltip.d.ts +17 -0
- package/dist/components/ui/form/FormTextarea.d.ts +15 -0
- package/dist/components/ui/index.d.ts +3 -0
- package/dist/components/withBlockProps.d.ts +6 -14
- package/dist/constants/animation.d.ts +10 -0
- package/dist/contentEngine/content.d.ts +8 -3
- package/dist/contentEngine/index.d.ts +3 -3
- package/dist/contentEngine/sourceFetcher.d.ts +1 -1
- package/dist/contentEngine/themeUtils.d.ts +13 -0
- package/dist/contentEngine/types.d.ts +1 -0
- package/dist/contentEngine/useContextEngine.d.ts +11 -0
- package/dist/context/ForumContext.d.ts +48 -0
- package/dist/core/AccessManager/index.d.ts +1 -1
- package/dist/core/LevoBlock.d.ts +3 -2
- package/dist/core/LevoPage.d.ts +2 -2
- package/dist/core/index.d.ts +1 -1
- package/dist/elements/AlertDialog/index.d.ts +23 -0
- package/dist/elements/Carousel.d.ts +10 -2
- package/dist/elements/Tabs.d.ts +1 -1
- package/dist/elements/UserMenu.d.ts +1 -1
- package/dist/elements/accordion/index.d.ts +1 -1
- package/dist/elements/dialog/index.d.ts +1 -1
- package/dist/elements/forum/ForumPost.d.ts +18 -0
- package/dist/elements/forum/ForumPostContentRenderer.d.ts +8 -0
- package/dist/elements/forum/SearchInput.d.ts +5 -0
- package/dist/elements/forum/categoryFilter/CategoryFilter.d.ts +16 -0
- package/dist/elements/forum/categoryFilter/index.d.ts +2 -0
- package/dist/elements/forum/comments/Comment.d.ts +14 -0
- package/dist/elements/forum/comments/Comments.d.ts +9 -0
- package/dist/elements/forum/comments/ReplyBox.d.ts +11 -0
- package/dist/elements/forum/comments/commentUtility.d.ts +25 -0
- package/dist/elements/forum/comments/index.d.ts +2 -0
- package/dist/elements/forum/createForumPost/CreateForumPost.d.ts +9 -0
- package/dist/elements/forum/createForumPost/CreateForumPostModal.d.ts +87 -0
- package/dist/elements/forum/createForumPost/index.d.ts +2 -0
- package/dist/elements/forum/index.d.ts +8 -0
- package/dist/elements/forum/restrictionOverlays/CommentsRestrictionOverlay.d.ts +16 -0
- package/dist/elements/forum/restrictionOverlays/JoinRequestForm.d.ts +14 -0
- package/dist/elements/forum/restrictionOverlays/PendingRequestState.d.ts +11 -0
- package/dist/elements/forum/restrictionOverlays/PostsRestrictionOverlay.d.ts +16 -0
- package/dist/elements/forum/restrictionOverlays/index.d.ts +5 -0
- package/dist/elements/forum/utility/Video.d.ts +16 -0
- package/dist/elements/forum/utility/index.d.ts +49 -0
- package/dist/elements/index.d.ts +10 -9
- package/dist/elements-BxhlsyhI.js +9 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/useLogin.d.ts +1 -1
- package/dist/hooks/useStripePayment.d.ts +49 -0
- package/dist/index-BJrh8CwF.js +16197 -0
- package/dist/{index-BdswdesP.js → index-BYXw6aHi.js} +3 -4
- package/dist/index-CV5mr-8e.js +365 -0
- package/dist/index-CXtfbmpx.js +23 -0
- package/dist/index-CgUU2EbC.js +765 -0
- package/dist/index-DsAqikcl.js +29 -0
- package/dist/index-DxsNKR4p.js +56 -0
- package/dist/{index-DHHPZcEh.js → index-IcG2wuuE.js} +1 -8
- package/dist/index.d.ts +16 -13
- package/dist/index.js +159 -107
- package/dist/interfaces/block.d.ts +2 -2
- package/dist/interfaces/levoBlock.d.ts +64 -10
- package/dist/interfaces/site.d.ts +1 -193
- package/dist/interfaces/sites.d.ts +201 -3
- package/dist/interfaces/theme.d.ts +2 -0
- package/dist/pixel/parserUtil.d.ts +1 -0
- package/dist/providers/AuthProvider.d.ts +1 -0
- package/dist/providers/BlockContext.d.ts +2 -1
- package/dist/providers/LazyMotionProvider.d.ts +15 -0
- package/dist/providers/index.d.ts +1 -0
- package/dist/studio.css +1 -1
- package/dist/utils/colorUtils.d.ts +7 -0
- package/dist/utils/getKeysWithValue.d.ts +1 -1
- package/dist/utils/string.d.ts +7 -0
- package/dist/utils/withBlockPropsUtils.d.ts +6 -55
- package/package.json +13 -16
- package/dist/Grid-B0vqOT42.js +0 -184
- package/dist/MessageCard-CCngWCHS.js +0 -53
- package/dist/components/withBlockProps copy.d.ts +0 -61
- package/dist/index-CPJI9a7D.js +0 -13503
- package/dist/index-CmNhuPZp.js +0 -34
- package/dist/index-kVKDoWCh.js +0 -57
package/dist/index-CmNhuPZp.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
3
|
-
import a from "libphonenumber-js";
|
|
4
|
-
import { u as g, a as f } from "./index-CPJI9a7D.js";
|
|
5
|
-
const m = "_footnote_v8hnh_1", h = "_footnoteText_v8hnh_11", d = "_logoutButton_v8hnh_17", t = {
|
|
6
|
-
footnote: m,
|
|
7
|
-
footnoteText: h,
|
|
8
|
-
logoutButton: d
|
|
9
|
-
}, x = () => {
|
|
10
|
-
var s;
|
|
11
|
-
const { account: o, isSignOutLoading: n } = g(), { signOut: r } = f(), u = () => {
|
|
12
|
-
r();
|
|
13
|
-
}, e = (o == null ? void 0 : o.email) || ((s = a(
|
|
14
|
-
o != null && o.mobile ? `+${o == null ? void 0 : o.mobile}` : ""
|
|
15
|
-
)) == null ? void 0 : s.formatInternational());
|
|
16
|
-
return e ? /* @__PURE__ */ i("div", { className: t.footnote, children: [
|
|
17
|
-
/* @__PURE__ */ i("span", { className: t.footnoteText, children: [
|
|
18
|
-
"You are signed in as ",
|
|
19
|
-
/* @__PURE__ */ l("strong", { children: e })
|
|
20
|
-
] }),
|
|
21
|
-
/* @__PURE__ */ l(
|
|
22
|
-
"button",
|
|
23
|
-
{
|
|
24
|
-
className: t.logoutButton,
|
|
25
|
-
onClick: u,
|
|
26
|
-
disabled: n,
|
|
27
|
-
children: n ? "Signing out..." : "Sign out"
|
|
28
|
-
}
|
|
29
|
-
)
|
|
30
|
-
] }) : null;
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
x as M
|
|
34
|
-
};
|
package/dist/index-kVKDoWCh.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
3
|
-
import { CollectionFormBuilder as o } from "@levo-so/react-collection";
|
|
4
|
-
import { A as m } from "./index-DHHPZcEh.js";
|
|
5
|
-
import { M as u } from "./index-CmNhuPZp.js";
|
|
6
|
-
import { u as h } from "./index-CPJI9a7D.js";
|
|
7
|
-
const _ = "_header_emo7t_1", f = "_title_emo7t_8", C = "_subtitle_emo7t_15", g = "_formContainer_emo7t_21", r = {
|
|
8
|
-
header: _,
|
|
9
|
-
title: f,
|
|
10
|
-
subtitle: C,
|
|
11
|
-
formContainer: g
|
|
12
|
-
}, N = ({
|
|
13
|
-
logo: n,
|
|
14
|
-
siteName: c,
|
|
15
|
-
workspaceId: a,
|
|
16
|
-
options: e,
|
|
17
|
-
onSuccess: d
|
|
18
|
-
}) => {
|
|
19
|
-
var s;
|
|
20
|
-
const { account: i } = h();
|
|
21
|
-
return /* @__PURE__ */ l(m, { logo: n, siteName: c, maxWidth: "md", children: [
|
|
22
|
-
/* @__PURE__ */ l("div", { className: r.header, children: [
|
|
23
|
-
/* @__PURE__ */ t("h1", { className: r.title, children: "Access Required" }),
|
|
24
|
-
/* @__PURE__ */ t(
|
|
25
|
-
"div",
|
|
26
|
-
{
|
|
27
|
-
className: r.subtitle,
|
|
28
|
-
dangerouslySetInnerHTML: {
|
|
29
|
-
__html: ((s = e == null ? void 0 : e.content) == null ? void 0 : s.entryNotFound) ?? `Please fill out this form to access content on <strong>${c}</strong>`
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
)
|
|
33
|
-
] }),
|
|
34
|
-
/* @__PURE__ */ t(u, {}),
|
|
35
|
-
i && /* @__PURE__ */ t("div", { className: r.formContainer, children: /* @__PURE__ */ t(
|
|
36
|
-
o,
|
|
37
|
-
{
|
|
38
|
-
collection_id: (e == null ? void 0 : e.collection) || "",
|
|
39
|
-
workspace_id: a,
|
|
40
|
-
uiConfig: {
|
|
41
|
-
hideFormHeading: !0,
|
|
42
|
-
hideSectionHeadings: !0
|
|
43
|
-
},
|
|
44
|
-
submitButtonConfig: {
|
|
45
|
-
show: !0,
|
|
46
|
-
text: "Submit"
|
|
47
|
-
},
|
|
48
|
-
account: i,
|
|
49
|
-
hiddenFields: (e == null ? void 0 : e.hidden) ?? [],
|
|
50
|
-
onSuccess: d
|
|
51
|
-
}
|
|
52
|
-
) })
|
|
53
|
-
] });
|
|
54
|
-
};
|
|
55
|
-
export {
|
|
56
|
-
N as default
|
|
57
|
-
};
|