@levo-so/studio 0.1.60 → 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-BMno1Tvc.js → Beams-sKsW_tr4.js} +22 -28
- package/dist/{Dots-DTupNond.js → Dots-BEIutbKS.js} +44 -40
- package/dist/{Gradient-BzroE-hh.js → Gradient-DAR7R3Mz.js} +2 -2
- package/dist/Grid-BuKIXWMJ.js +174 -0
- package/dist/{MessageCard-D9UDjWQS.js → MessageCard-C8v6oHmf.js} +7 -12
- package/dist/{Waves-E46HcLxm.js → Waves-C8qlIS1W.js} +29 -80
- package/dist/bridge/Highlighter.d.ts +3 -5
- package/dist/bridge/StudioPagePreview.d.ts +2 -2
- package/dist/bridge/StudioPreview.d.ts +1 -1
- 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/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 +1 -1
- package/dist/components/ui/base/index.d.ts +2 -1
- package/dist/components/ui/base/input.d.ts +1 -1
- package/dist/components/ui/base/textarea.d.ts +1 -1
- package/dist/components/ui/base/tooltip.d.ts +17 -0
- package/dist/components/ui/index.d.ts +2 -1
- package/dist/components/withBlockProps.d.ts +6 -14
- package/dist/constants/animation.d.ts +10 -0
- package/dist/contentEngine/content.d.ts +8 -4
- package/dist/contentEngine/index.d.ts +3 -3
- package/dist/contentEngine/themeUtils.d.ts +13 -0
- package/dist/context/ForumContext.d.ts +48 -0
- package/dist/core/AccessManager/index.d.ts +1 -1
- package/dist/core/LevoBlock.d.ts +1 -1
- 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 +1 -1
- 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 +2 -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 +4 -1
- package/dist/elements/forum/comments/Comments.d.ts +1 -0
- package/dist/elements/forum/comments/ReplyBox.d.ts +1 -0
- package/dist/elements/forum/comments/commentUtility.d.ts +4 -1
- 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 +6 -1
- 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/index.d.ts +15 -1
- package/dist/elements/index.d.ts +10 -10
- 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-BkICuRR-.js → index-BYXw6aHi.js} +3 -4
- package/dist/index-CV5mr-8e.js +365 -0
- package/dist/{index-a__5b49U.js → index-CXtfbmpx.js} +5 -15
- package/dist/index-CgUU2EbC.js +765 -0
- package/dist/index-DsAqikcl.js +29 -0
- package/dist/{index-BNwqk7Nf.js → index-DxsNKR4p.js} +3 -3
- package/dist/{index-DHHPZcEh.js → index-IcG2wuuE.js} +1 -8
- package/dist/index.d.ts +16 -13
- package/dist/index.js +159 -121
- package/dist/interfaces/block.d.ts +1 -1
- package/dist/interfaces/levoBlock.d.ts +61 -3
- package/dist/interfaces/sites.d.ts +5 -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 +1 -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 +19 -19
- package/dist/Grid-t3zbAQxh.js +0 -184
- package/dist/blockSmith/ContentSchemaGenerator.d.ts.map +0 -1
- package/dist/blockSmith/DefaultContentGenerator.d.ts.map +0 -1
- package/dist/blockSmith/DefaultStylesGenerator.d.ts.map +0 -1
- package/dist/blockSmith/index.d.ts.map +0 -1
- package/dist/blockSmith/variablePropertMap.d.ts.map +0 -1
- package/dist/bridge/Highlighter.d.ts.map +0 -1
- package/dist/bridge/PreviewHighlighter.d.ts.map +0 -1
- package/dist/bridge/StudioBlockPreview.d.ts.map +0 -1
- package/dist/bridge/StudioPagePreview.d.ts.map +0 -1
- package/dist/bridge/StudioPreview.d.ts.map +0 -1
- package/dist/bridge/constants.d.ts.map +0 -1
- package/dist/bridge/index.d.ts.map +0 -1
- package/dist/bridge/types.d.ts.map +0 -1
- package/dist/bridge/utils.d.ts.map +0 -1
- package/dist/components/ActionWrapper.d.ts.map +0 -1
- package/dist/components/BackgroundVideo.d.ts.map +0 -1
- package/dist/components/LoginForm/AuthMethodRenderer.d.ts.map +0 -1
- package/dist/components/LoginForm/ErrorDisplay.d.ts.map +0 -1
- package/dist/components/LoginForm/GoogleOAuth.d.ts.map +0 -1
- package/dist/components/LoginForm/MagicLinkAuthForm.d.ts.map +0 -1
- package/dist/components/LoginForm/OAuthSection.d.ts.map +0 -1
- package/dist/components/LoginForm/OtpAuthForm.d.ts.map +0 -1
- package/dist/components/LoginForm/WhatsAppAuthForm.d.ts.map +0 -1
- package/dist/components/LoginForm/index.d.ts.map +0 -1
- package/dist/components/LoginModal/index.d.ts.map +0 -1
- package/dist/components/accessCard/EntryCard/index.d.ts.map +0 -1
- package/dist/components/accessCard/LoginCard/index.d.ts.map +0 -1
- package/dist/components/accessCard/MessageCard.d.ts.map +0 -1
- package/dist/components/accessCard/MessageFooter/index.d.ts.map +0 -1
- package/dist/components/accessCard/card/index.d.ts.map +0 -1
- package/dist/components/backgroundPresets/Beams.d.ts.map +0 -1
- package/dist/components/backgroundPresets/Dots.d.ts.map +0 -1
- package/dist/components/backgroundPresets/Gradient.d.ts.map +0 -1
- package/dist/components/backgroundPresets/Grid.d.ts.map +0 -1
- package/dist/components/backgroundPresets/Waves.d.ts.map +0 -1
- package/dist/components/backgroundPresets/exports.d.ts.map +0 -1
- package/dist/components/backgroundPresets/index.d.ts.map +0 -1
- package/dist/components/backgroundPresets/presetSystem.d.ts.map +0 -1
- package/dist/components/backgroundPresets/presetUtils.d.ts.map +0 -1
- package/dist/components/backgroundPresets/presets.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/integrationFilters/FieldRenderer.d.ts.map +0 -1
- package/dist/components/integrationFilters/IntegrationFilters.d.ts.map +0 -1
- package/dist/components/integrationFilters/fields/DropdownField.d.ts.map +0 -1
- package/dist/components/integrationFilters/fields/TextField.d.ts.map +0 -1
- package/dist/components/registerModal/RegisterModal.d.ts.map +0 -1
- package/dist/components/registerModal/RegistrationConfirmationModal.d.ts.map +0 -1
- package/dist/components/registerModal/useCustomDisclosure.d.ts.map +0 -1
- package/dist/components/registerModal/utils.d.ts.map +0 -1
- package/dist/components/shared/EmailInput/index.d.ts.map +0 -1
- package/dist/components/shared/MagicLinkSuccess/index.d.ts.map +0 -1
- package/dist/components/shared/OTPInput/index.d.ts.map +0 -1
- package/dist/components/shared/PhoneInput/index.d.ts.map +0 -1
- package/dist/components/ui/Calendar.d.ts.map +0 -1
- package/dist/components/ui/FlippingText.d.ts.map +0 -1
- package/dist/components/ui/StatefulButton/index.d.ts.map +0 -1
- package/dist/components/ui/base/avatar.d.ts.map +0 -1
- package/dist/components/ui/base/index.d.ts.map +0 -1
- package/dist/components/ui/base/input.d.ts.map +0 -1
- package/dist/components/ui/base/skeleton.d.ts.map +0 -1
- package/dist/components/ui/base/textarea.d.ts.map +0 -1
- package/dist/components/ui/form/FormInput.d.ts.map +0 -1
- package/dist/components/ui/form/FormSelect.d.ts.map +0 -1
- package/dist/components/ui/form/FormTextarea.d.ts.map +0 -1
- package/dist/components/ui/form/utils/FieldError.d.ts.map +0 -1
- package/dist/components/ui/form/utils/FieldWrapper.d.ts.map +0 -1
- package/dist/components/ui/form/utils/FormHelperText.d.ts.map +0 -1
- package/dist/components/ui/form/utils/FormLabel.d.ts.map +0 -1
- package/dist/components/ui/index.d.ts.map +0 -1
- package/dist/components/withBlockProps copy.d.ts +0 -61
- package/dist/components/withBlockProps copy.d.ts.map +0 -1
- package/dist/components/withBlockProps.d.ts.map +0 -1
- package/dist/constants/authentication.d.ts.map +0 -1
- package/dist/contentEngine/cache.d.ts.map +0 -1
- package/dist/contentEngine/content.d.ts.map +0 -1
- package/dist/contentEngine/getPage.d.ts.map +0 -1
- package/dist/contentEngine/head_code.d.ts.map +0 -1
- package/dist/contentEngine/index.d.ts.map +0 -1
- package/dist/contentEngine/sourceFetcher.d.ts.map +0 -1
- package/dist/contentEngine/themeUtils.d.ts.map +0 -1
- package/dist/contentEngine/types.d.ts.map +0 -1
- package/dist/contentEngine/urlBuilder.d.ts.map +0 -1
- package/dist/contentEngine/useContentEngine.d.ts.map +0 -1
- package/dist/contentEngine/useContextEngine.d.ts.map +0 -1
- package/dist/context/ModalManager.d.ts.map +0 -1
- package/dist/core/AccessManager/index.d.ts.map +0 -1
- package/dist/core/BlockRegistry.d.ts.map +0 -1
- package/dist/core/LevoBlock.d.ts.map +0 -1
- package/dist/core/LevoPage.d.ts.map +0 -1
- package/dist/core/index.d.ts.map +0 -1
- package/dist/elements/Box.d.ts.map +0 -1
- package/dist/elements/Button.d.ts.map +0 -1
- package/dist/elements/Carousel.d.ts.map +0 -1
- package/dist/elements/Container.d.ts.map +0 -1
- package/dist/elements/EditForm.d.ts.map +0 -1
- package/dist/elements/Form.d.ts.map +0 -1
- package/dist/elements/Heading.d.ts.map +0 -1
- package/dist/elements/Icon.d.ts.map +0 -1
- package/dist/elements/Iframe.d.ts.map +0 -1
- package/dist/elements/Image.d.ts.map +0 -1
- package/dist/elements/Link.d.ts.map +0 -1
- package/dist/elements/Media.d.ts.map +0 -1
- package/dist/elements/Section.d.ts.map +0 -1
- package/dist/elements/Tabs.d.ts.map +0 -1
- package/dist/elements/Typography.d.ts.map +0 -1
- package/dist/elements/UserMenu.d.ts.map +0 -1
- package/dist/elements/accordion/index.d.ts.map +0 -1
- package/dist/elements/dialog/index.d.ts.map +0 -1
- package/dist/elements/forum/ForumPost.d.ts.map +0 -1
- package/dist/elements/forum/ForumPostContentRenderer.d.ts.map +0 -1
- package/dist/elements/forum/comments/Comment.d.ts.map +0 -1
- package/dist/elements/forum/comments/Comments.d.ts.map +0 -1
- package/dist/elements/forum/comments/ReplyBox.d.ts.map +0 -1
- package/dist/elements/forum/comments/commentUtility.d.ts.map +0 -1
- package/dist/elements/forum/comments/index.d.ts.map +0 -1
- package/dist/elements/forum/index.d.ts.map +0 -1
- package/dist/elements/forum/utility/Video.d.ts.map +0 -1
- package/dist/elements/forum/utility/index.d.ts.map +0 -1
- package/dist/elements/index.d.ts.map +0 -1
- package/dist/elements/popover/index.d.ts.map +0 -1
- package/dist/hooks/useLogin.d.ts.map +0 -1
- package/dist/index-D-C30ZH_.js +0 -14748
- package/dist/interfaces/block.d.ts.map +0 -1
- package/dist/interfaces/contentSchema.d.ts.map +0 -1
- package/dist/interfaces/form.d.ts.map +0 -1
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/levoBlock.d.ts.map +0 -1
- package/dist/interfaces/site.d.ts.map +0 -1
- package/dist/interfaces/sites.d.ts.map +0 -1
- package/dist/interfaces/theme.d.ts.map +0 -1
- package/dist/pixel/constants/borderRadius.d.ts.map +0 -1
- package/dist/pixel/constants/colorOptions.d.ts.map +0 -1
- package/dist/pixel/constants/fontSizeOptions.d.ts.map +0 -1
- package/dist/pixel/constants/marginOptions.d.ts.map +0 -1
- package/dist/pixel/constants/spaceOptions.d.ts.map +0 -1
- package/dist/pixel/index.d.ts.map +0 -1
- package/dist/pixel/optionsMap.d.ts.map +0 -1
- package/dist/pixel/parserUtil.d.ts.map +0 -1
- package/dist/pixel/propertyMap.d.ts.map +0 -1
- package/dist/providers/AuthProvider.d.ts.map +0 -1
- package/dist/providers/BlockContext.d.ts.map +0 -1
- package/dist/providers/index.d.ts.map +0 -1
- package/dist/schemas/authSchemas.d.ts.map +0 -1
- package/dist/theme/defaultTheme.d.ts.map +0 -1
- package/dist/utils/blockHelpers.d.ts.map +0 -1
- package/dist/utils/colorUtils.d.ts.map +0 -1
- package/dist/utils/findFieldSchema.d.ts.map +0 -1
- package/dist/utils/getKeysWithValue.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/withBlockPropsUtils.d.ts.map +0 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect as n } from "react";
|
|
4
|
+
import { b as l, u as c, D as d, d as m, e as u, f as g, g as h } from "./index-BJrh8CwF.js";
|
|
5
|
+
import { L as f } from "./index-CgUU2EbC.js";
|
|
6
|
+
const p = "_container_301k2_1", a = {
|
|
7
|
+
container: p
|
|
8
|
+
}, x = ({ config: o }) => {
|
|
9
|
+
const { closeModal: i } = l(), { isLoggedIn: r } = c();
|
|
10
|
+
return n(() => {
|
|
11
|
+
r && (o?.redirect_uri && (window.location.href = o.redirect_uri), i());
|
|
12
|
+
}, [r, o?.redirect_uri, i]), /* @__PURE__ */ e(d, { open: !0, onOpenChange: (s) => !s && i(), children: /* @__PURE__ */ t(m, { className: "sm:max-w-md", children: [
|
|
13
|
+
/* @__PURE__ */ t(u, { children: [
|
|
14
|
+
/* @__PURE__ */ e(g, { children: "Login" }),
|
|
15
|
+
/* @__PURE__ */ e(h, {})
|
|
16
|
+
] }),
|
|
17
|
+
/* @__PURE__ */ e("div", { className: a.container, children: /* @__PURE__ */ e(
|
|
18
|
+
f,
|
|
19
|
+
{
|
|
20
|
+
oAuthTitle: o?.oAuthTitle || "Studio",
|
|
21
|
+
className: a.form,
|
|
22
|
+
oAuthMethods: ["google"]
|
|
23
|
+
}
|
|
24
|
+
) })
|
|
25
|
+
] }) });
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
x as default
|
|
29
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import { CollectionFormBuilder as a } from "@levo-so/react-collection";
|
|
4
|
-
import { A as d } from "./index-
|
|
5
|
-
import { M as m } from "./index-
|
|
6
|
-
import { u } from "./index-
|
|
4
|
+
import { A as d } from "./index-IcG2wuuE.js";
|
|
5
|
+
import { M as m } from "./index-CXtfbmpx.js";
|
|
6
|
+
import { u } from "./index-BJrh8CwF.js";
|
|
7
7
|
const h = "_header_emo7t_1", _ = "_title_emo7t_8", f = "_subtitle_emo7t_15", C = "_formContainer_emo7t_21", t = {
|
|
8
8
|
header: h,
|
|
9
9
|
title: _,
|
|
@@ -22,14 +22,7 @@ const e = "_container_t4trl_1", _ = "_card_t4trl_16", i = "_cardSm_t4trl_27", m
|
|
|
22
22
|
lg: t.cardLg
|
|
23
23
|
}[a];
|
|
24
24
|
return /* @__PURE__ */ c("div", { className: t.container, children: /* @__PURE__ */ l("div", { className: `${t.card} ${d} ${s}`, children: [
|
|
25
|
-
r && /* @__PURE__ */ c("div", { className: t.logoContainer, children: /* @__PURE__ */ c(
|
|
26
|
-
"img",
|
|
27
|
-
{
|
|
28
|
-
className: t.logo,
|
|
29
|
-
src: r,
|
|
30
|
-
alt: o || "Site logo"
|
|
31
|
-
}
|
|
32
|
-
) }),
|
|
25
|
+
r && /* @__PURE__ */ c("div", { className: t.logoContainer, children: /* @__PURE__ */ c("img", { className: t.logo, src: r, alt: o || "Site logo" }) }),
|
|
33
26
|
/* @__PURE__ */ c("div", { className: t.content, children: n })
|
|
34
27
|
] }) });
|
|
35
28
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
export * from './elements';
|
|
2
|
-
export * from './components';
|
|
3
|
-
export * from './providers';
|
|
4
|
-
export * from './utils';
|
|
5
|
-
export * from './utils/colorUtils';
|
|
6
|
-
export * from './interfaces';
|
|
7
1
|
export * from './blockSmith';
|
|
8
|
-
export * from './core';
|
|
9
|
-
export * from './pixel/optionsMap';
|
|
10
|
-
export * from './pixel/propertyMap';
|
|
11
|
-
export * from './pixel/constants/colorOptions';
|
|
12
2
|
export * from './bridge';
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './theme/defaultTheme';
|
|
3
|
+
export * from './components';
|
|
15
4
|
export * from './components/backgroundPresets/exports';
|
|
5
|
+
export { default as IntegrationFilters } from './components/integrationFilters/IntegrationFilters';
|
|
16
6
|
export * from './components/registerModal/RegisterModal';
|
|
7
|
+
export * from './constants/animation';
|
|
17
8
|
export * from './constants/authentication';
|
|
18
|
-
export
|
|
9
|
+
export * from './contentEngine';
|
|
10
|
+
export * from './context/ForumContext';
|
|
11
|
+
export * from './core';
|
|
12
|
+
export * from './elements';
|
|
13
|
+
export * from './hooks';
|
|
14
|
+
export * from './interfaces';
|
|
15
|
+
export * from './pixel/constants/colorOptions';
|
|
16
|
+
export * from './pixel/optionsMap';
|
|
17
|
+
export * from './pixel/propertyMap';
|
|
18
|
+
export * from './providers';
|
|
19
|
+
export * from './theme/defaultTheme';
|
|
20
|
+
export * from './utils';
|
|
21
|
+
export * from './utils/colorUtils';
|
|
19
22
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, a0 as o, at as t, ar as r, aq as n, as as i, bu as l, a1 as b, q as g, t as T, v as c, r as m, s as u, L as C, K as S, B as P, aE as A, b3 as E, bd as d, bj as p, bl as B, bv as h, bq as L, am as R, n as I, o as v, p as F, au as M, av as k, G as y, ax as _, ay as O, aC as H, aD as f, az as D, aB as V, aA as U, aI as N, b2 as x, aJ as K, aN as G, aF as W, aK as z, l as q, Y as w, by as J, Z as Y, _ as j, X as Q, bz as X, aG as Z, aH as $, H as aa, J as sa, aL as ea, ak as oa, b4 as ta, br as ra, b5 as na, b6 as ia, b7 as la, w as ba, I as ga, aP as Ta, bn as ca, bx as ma, ao as ua, ap as Ca, b8 as Sa, M as Pa, b9 as Aa, Q as Ea, R as da, $ as pa, a2 as Ba, aQ as ha, bc as La, ba as Ra, bb as Ia, aZ as va, aV as Fa, aX as Ma, a$ as ka, aU as ya, a_ as _a, aM as Oa, b0 as Ha, b1 as fa, aW as Da, aR as Va, P as Ua, W as Na, aO as xa, aS as Ka, aT as Ga, be as Wa, E as za, x as qa, aY as wa, m as Ja, bo as Ya, bp as ja, bi as Qa, bg as Xa, bf as Za, bh as $a, T as as, z as ss, F as es, C as os, y as ts, bk as rs, bm as ns, an as is, bs as ls, j as bs, bt as gs, ac as Ts, ab as cs, bA as ms, bS as us, k as Cs, bF as Ss, i as Ps, ah as As, ag as Es, bE as ds, N as ps, U as Bs, a9 as hs, bB as Ls, aa as Rs, a7 as Is, O as vs, bR as Fs, bN as Ms, a4 as ks, bC as ys, a3 as _s, bM as Os, ae as Hs, af as fs, bL as Ds, bQ as Vs, bP as Us, bJ as Ns, bO as xs, a8 as Ks, ad as Gs, ai as Ws, a6 as zs, a5 as qs, bI as ws, bK as Js, V as Ys, bD as js, u as Qs, bw as Xs, bH as Zs, aj as $s, aw as ae, al as se, bG as ee, h as oe, a as te } from "./index-BJrh8CwF.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ALTERNATE_METHOD_VALUES,
|
|
4
4
|
o as ALTERNATIVE_AUTH_METHODS,
|
|
@@ -6,125 +6,163 @@ export {
|
|
|
6
6
|
r as AccordionItem,
|
|
7
7
|
n as AccordionRoot,
|
|
8
8
|
i as AccordionTrigger,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
l as AuthProvider,
|
|
10
|
+
b as AuthenticationOptions,
|
|
11
|
+
g as Avatar,
|
|
12
12
|
T as AvatarFallback,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
_ as
|
|
34
|
-
O as
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
U as
|
|
40
|
-
|
|
41
|
-
x as
|
|
42
|
-
|
|
43
|
-
G as
|
|
44
|
-
W as
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
J as
|
|
49
|
-
|
|
50
|
-
j as
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
Z as
|
|
54
|
-
$ as
|
|
55
|
-
aa as
|
|
56
|
-
sa as
|
|
57
|
-
ea as
|
|
58
|
-
oa as
|
|
59
|
-
ta as
|
|
60
|
-
ra as
|
|
61
|
-
na as
|
|
62
|
-
ia as
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
Ta as
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
_a as
|
|
88
|
-
Oa as
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
Ua as
|
|
94
|
-
|
|
95
|
-
xa as
|
|
96
|
-
|
|
97
|
-
Ga as
|
|
98
|
-
Wa as
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
Ja as
|
|
103
|
-
|
|
104
|
-
ja as
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
Za as
|
|
108
|
-
$a as
|
|
109
|
-
as as
|
|
110
|
-
ss as
|
|
111
|
-
es as
|
|
112
|
-
os as
|
|
113
|
-
ts as
|
|
114
|
-
rs as
|
|
115
|
-
ns as
|
|
116
|
-
is as
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
Ts as
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
13
|
+
c as AvatarFallbackV2,
|
|
14
|
+
m as AvatarImage,
|
|
15
|
+
u as AvatarImageV2,
|
|
16
|
+
C as BUILT_IN_PRESETS,
|
|
17
|
+
S as BackgroundEffects,
|
|
18
|
+
P as BaseButton,
|
|
19
|
+
A as BaseContainer,
|
|
20
|
+
E as BaseHeading,
|
|
21
|
+
d as BaseSection,
|
|
22
|
+
p as BaseTypography,
|
|
23
|
+
B as BaseUserMenu,
|
|
24
|
+
h as BlockProvider,
|
|
25
|
+
L as BlockSourceModuleList,
|
|
26
|
+
R as BlocksRegistry,
|
|
27
|
+
I as BookingConfirmation,
|
|
28
|
+
v as BookingModal,
|
|
29
|
+
F as BookingSummary,
|
|
30
|
+
M as Box,
|
|
31
|
+
k as Button,
|
|
32
|
+
y as Calendar,
|
|
33
|
+
_ as Carousel,
|
|
34
|
+
O as CarouselContent,
|
|
35
|
+
H as CarouselDotButton,
|
|
36
|
+
f as CarouselDots,
|
|
37
|
+
D as CarouselItem,
|
|
38
|
+
V as CarouselNext,
|
|
39
|
+
U as CarouselPrevious,
|
|
40
|
+
N as CategoryFilter,
|
|
41
|
+
x as CommentStatusBadge,
|
|
42
|
+
K as Comments,
|
|
43
|
+
G as CommentsRestrictionOverlay,
|
|
44
|
+
W as Container,
|
|
45
|
+
z as CreateForumPost,
|
|
46
|
+
q as DATA_ATTRIBUTES,
|
|
47
|
+
w as DEFAULT_FROM_STATE,
|
|
48
|
+
J as DEFAULT_THEME,
|
|
49
|
+
Y as DEFAULT_TRANSITION,
|
|
50
|
+
j as DEFAULT_VIEWPORT,
|
|
51
|
+
Q as DEFAULT_VISIBLE_STATE,
|
|
52
|
+
X as DEMO_SCHEMA,
|
|
53
|
+
Z as EditForm,
|
|
54
|
+
$ as Form,
|
|
55
|
+
aa as FormInput,
|
|
56
|
+
sa as FormTextarea,
|
|
57
|
+
ea as ForumPost,
|
|
58
|
+
oa as ForumProvider,
|
|
59
|
+
ta as Heading,
|
|
60
|
+
ra as IMembershipAuthenticationMethods,
|
|
61
|
+
na as Icon,
|
|
62
|
+
ia as Iframe,
|
|
63
|
+
la as Image,
|
|
64
|
+
ba as Input,
|
|
65
|
+
ga as IntegrationFilters,
|
|
66
|
+
Ta as JoinRequestForm,
|
|
67
|
+
ca as KindList,
|
|
68
|
+
ma as LazyMotionProvider,
|
|
69
|
+
ua as LevoBlock,
|
|
70
|
+
Ca as LevoPage,
|
|
71
|
+
Sa as Link,
|
|
72
|
+
Pa as MESSAGE_TYPES,
|
|
73
|
+
Aa as Media,
|
|
74
|
+
Ea as PRESET_CATEGORIES,
|
|
75
|
+
da as PRESET_MAP,
|
|
76
|
+
pa as PRIMARY_AUTH_METHODS,
|
|
77
|
+
Ba as PRIMARY_METHOD_VALUES,
|
|
78
|
+
ha as PendingRequestState,
|
|
79
|
+
La as PopoverContent,
|
|
80
|
+
Ra as PopoverRoot,
|
|
81
|
+
Ia as PopoverTrigger,
|
|
82
|
+
va as PostActions,
|
|
83
|
+
Fa as PostCategory,
|
|
84
|
+
Ma as PostContent,
|
|
85
|
+
ka as PostGallery,
|
|
86
|
+
ya as PostHeader,
|
|
87
|
+
_a as PostLink,
|
|
88
|
+
Oa as PostLinkWrapper,
|
|
89
|
+
Ha as PostPoll,
|
|
90
|
+
fa as PostStatusBadge,
|
|
91
|
+
Da as PostTitle,
|
|
92
|
+
Va as PostsRestrictionOverlay,
|
|
93
|
+
Ua as PreviewHighlighter,
|
|
94
|
+
Na as RegisterModal,
|
|
95
|
+
xa as SampleCommentSkeleton,
|
|
96
|
+
Ka as SamplePostSkeleton,
|
|
97
|
+
Ga as SearchInput,
|
|
98
|
+
Wa as Section,
|
|
99
|
+
za as SimpleTooltipWrapper,
|
|
100
|
+
qa as Skeleton,
|
|
101
|
+
wa as StatContainer,
|
|
102
|
+
Ja as StudioPreview,
|
|
103
|
+
Ya as StudioWidgetList,
|
|
104
|
+
ja as StudioWidgetMap,
|
|
105
|
+
Qa as TabsContent,
|
|
106
|
+
Xa as TabsList,
|
|
107
|
+
Za as TabsRoot,
|
|
108
|
+
$a as TabsTrigger,
|
|
109
|
+
as as Tooltip,
|
|
110
|
+
ss as TooltipContent,
|
|
111
|
+
es as TooltipPortal,
|
|
112
|
+
os as TooltipProvider,
|
|
113
|
+
ts as TooltipTrigger,
|
|
114
|
+
rs as Typography,
|
|
115
|
+
ns as UserMenu,
|
|
116
|
+
is as blocksRegistry,
|
|
117
|
+
ls as colorOptions,
|
|
118
|
+
bs as convertKeysToPascalCase,
|
|
119
|
+
gs as cssOptionsMap,
|
|
120
|
+
Ts as fetchCollectionSchema,
|
|
121
|
+
cs as fetchSource,
|
|
122
|
+
ms as findFieldSchema,
|
|
123
|
+
us as generateAccentColor,
|
|
124
|
+
Cs as generateDefaultContent,
|
|
125
|
+
Ss as generateElementClassName,
|
|
126
|
+
Ps as generateSchemaFromJSX,
|
|
127
|
+
As as generateThemeStyles,
|
|
128
|
+
Es as generateThemeVariables,
|
|
129
|
+
ds as generateVariantClasses,
|
|
130
|
+
ps as getAvailableCategories,
|
|
131
|
+
Bs as getEffectConfigFromPresetId,
|
|
132
|
+
hs as getInitialPageContent,
|
|
133
|
+
Ls as getNestedValue,
|
|
134
|
+
Rs as getPageData,
|
|
135
|
+
Is as getPageSource,
|
|
136
|
+
vs as getPresetsByCategory,
|
|
137
|
+
Fs as getWcagContrast,
|
|
138
|
+
Ms as hexToOKLCH,
|
|
139
|
+
ks as isAlternateMethod,
|
|
140
|
+
ys as isConfigWithVariants,
|
|
141
|
+
_s as isPrimaryMethod,
|
|
142
|
+
Os as isValidOKLCH,
|
|
143
|
+
Hs as normalizeColorName,
|
|
144
|
+
fs as normalizeFontName,
|
|
145
|
+
Ds as oklchStringToRGBA,
|
|
146
|
+
Vs as oklchToHex,
|
|
147
|
+
Us as oklchToRGBA,
|
|
148
|
+
Ns as oklchToString,
|
|
149
|
+
xs as parseOKLCHString,
|
|
150
|
+
Ks as parseVariablesFromResolvedSource,
|
|
151
|
+
Gs as processFonts,
|
|
152
|
+
Ws as processTheme,
|
|
153
|
+
zs as resolveStyles,
|
|
154
|
+
qs as resolveVariables,
|
|
155
|
+
ws as rgbaToOKLCH,
|
|
156
|
+
Js as rgbaToOKLCHString,
|
|
157
|
+
Ys as sanitizeBackgroundEffectConfig,
|
|
158
|
+
js as sanitizeElementKey,
|
|
159
|
+
Qs as useAuth,
|
|
160
|
+
Xs as useBlockContext,
|
|
161
|
+
Zs as useCommonProps,
|
|
162
|
+
$s as useContentEngine,
|
|
163
|
+
ae as useDotButton,
|
|
164
|
+
se as useForumContext,
|
|
165
|
+
ee as useGeneratedClassName,
|
|
166
|
+
oe as useLogin,
|
|
167
|
+
te as useStripePayment
|
|
130
168
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentType, LazyExoticComponent } from 'react';
|
|
2
2
|
import { CSSStyleKeys } from '../pixel/propertyMap';
|
|
3
|
-
import {
|
|
3
|
+
import { IFieldConfig, IStudioSource } from './levoBlock';
|
|
4
4
|
export type IStyles = {
|
|
5
5
|
[key in CSSStyleKeys]?: string;
|
|
6
6
|
} & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormVariantType } from '@levo-so/react-collection';
|
|
2
1
|
import { IField, ILemaCollection, IMediaObject } from '@levo-so/core';
|
|
2
|
+
import { FormVariantType } from '@levo-so/react-collection';
|
|
3
3
|
import { MotionProps } from 'motion/react';
|
|
4
4
|
import { IStudioWidget } from './contentSchema';
|
|
5
5
|
export interface IBlockLayouts {
|
|
@@ -60,10 +60,68 @@ export type ISettingsField = {
|
|
|
60
60
|
type MutableDeep<T> = T extends readonly (infer U)[] ? MutableDeep<U>[] : T extends object ? {
|
|
61
61
|
-readonly [K in keyof T]: MutableDeep<T[K]>;
|
|
62
62
|
} : T;
|
|
63
|
+
/**
|
|
64
|
+
* Valid scroll offset position strings for Motion's scroll() API
|
|
65
|
+
* Format: "element-position viewport-position"
|
|
66
|
+
* Examples: "start end" means animation starts when element's start meets viewport's end
|
|
67
|
+
*/
|
|
68
|
+
type ScrollOffsetPosition = "start start" | "start center" | "start end" | "center start" | "center center" | "center end" | "end start" | "end center" | "end end" | `start ${number}%` | `center ${number}%` | `end ${number}%` | `${number}% start` | `${number}% center` | `${number}% end` | `${number}% ${number}%`;
|
|
69
|
+
/** Scroll animation offset configuration */
|
|
70
|
+
export interface ScrollAnimationOffset {
|
|
71
|
+
start: ScrollOffsetPosition;
|
|
72
|
+
end: ScrollOffsetPosition;
|
|
73
|
+
}
|
|
74
|
+
/** Animation transform properties */
|
|
75
|
+
export interface AnimationProperties {
|
|
76
|
+
opacity?: number;
|
|
77
|
+
scale?: number;
|
|
78
|
+
rotate?: number;
|
|
79
|
+
rotateX?: number;
|
|
80
|
+
rotateY?: number;
|
|
81
|
+
x?: number;
|
|
82
|
+
y?: number;
|
|
83
|
+
skewX?: number;
|
|
84
|
+
skewY?: number;
|
|
85
|
+
}
|
|
86
|
+
/** Available easing functions for tween transitions */
|
|
87
|
+
export type TweenEase = "linear" | "easeIn" | "easeOut" | "easeInOut" | "circIn" | "circOut" | "circInOut" | "backIn" | "backOut" | "backInOut" | "anticipate";
|
|
88
|
+
/** Transition configuration for animations */
|
|
89
|
+
export interface TransitionConfig {
|
|
90
|
+
type?: "spring" | "tween" | "keyframes";
|
|
91
|
+
duration?: number;
|
|
92
|
+
delay?: number;
|
|
93
|
+
/** Easing function for tween transitions */
|
|
94
|
+
ease?: TweenEase;
|
|
95
|
+
/** Bounce amount for spring transitions (0-1) */
|
|
96
|
+
bounce?: number;
|
|
97
|
+
}
|
|
98
|
+
/** Viewport trigger configuration for entry animations */
|
|
99
|
+
export interface ViewportConfig {
|
|
100
|
+
once?: boolean;
|
|
101
|
+
amount?: "some" | "all" | number;
|
|
102
|
+
margin?: string;
|
|
103
|
+
}
|
|
104
|
+
/** Entry animation configuration with from/to states */
|
|
105
|
+
export interface EntryAnimationConfig {
|
|
106
|
+
from?: AnimationProperties;
|
|
107
|
+
to?: AnimationProperties;
|
|
108
|
+
transition?: TransitionConfig;
|
|
109
|
+
viewport?: ViewportConfig;
|
|
110
|
+
}
|
|
111
|
+
/** Scroll-linked animation configuration with from/to states */
|
|
112
|
+
export interface ScrollAnimationConfig {
|
|
113
|
+
from?: AnimationProperties;
|
|
114
|
+
to?: AnimationProperties;
|
|
115
|
+
offset?: ScrollAnimationOffset;
|
|
116
|
+
}
|
|
117
|
+
/** Animation configuration interface */
|
|
63
118
|
export interface AnimationConfig {
|
|
64
|
-
|
|
119
|
+
entry?: EntryAnimationConfig;
|
|
65
120
|
exit?: MutableDeep<MotionProps["exit"]>;
|
|
66
|
-
whileHover?:
|
|
121
|
+
whileHover?: AnimationProperties & {
|
|
122
|
+
transition?: TransitionConfig;
|
|
123
|
+
};
|
|
124
|
+
scroll?: ScrollAnimationConfig;
|
|
67
125
|
}
|
|
68
126
|
export interface BackgroundEffectConfig {
|
|
69
127
|
type: "beams" | "dots" | "grid" | "gradient" | "waves";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ITheme } from './theme';
|
|
1
|
+
import { IFaviconMediaObject, IMediaObject, IWorkspace, LevoQuery } from '@levo-so/core';
|
|
3
2
|
import { IBlockInstance, IStudioSource } from './levoBlock';
|
|
3
|
+
import { ITheme } from './theme';
|
|
4
4
|
export interface IPageSpeedData {
|
|
5
5
|
audit_id: string;
|
|
6
6
|
mobile: Scores;
|
|
@@ -196,7 +196,7 @@ export interface ISitemapsSettings {
|
|
|
196
196
|
disallow: string[];
|
|
197
197
|
sitemaps: string[];
|
|
198
198
|
}
|
|
199
|
-
export type ISiteCompact = Pick<ISite, "object" | "id" | "name" | "slug" | "icon" | "logo" | "is_default" | "created_at" | "updated_at">;
|
|
199
|
+
export type ISiteCompact = Pick<ISite, "object" | "id" | "name" | "slug" | "icon" | "logo" | "domain" | "domain_count" | "is_default" | "created_at" | "updated_at">;
|
|
200
200
|
export interface ISiteStyleConfig {
|
|
201
201
|
stylesheet_url: string | null;
|
|
202
202
|
critical_css: string | null;
|
|
@@ -217,6 +217,8 @@ export interface ISite {
|
|
|
217
217
|
theme: ITheme;
|
|
218
218
|
settings: {
|
|
219
219
|
head_code?: string;
|
|
220
|
+
studio_preview_url?: string;
|
|
221
|
+
staging_preview_url?: string;
|
|
220
222
|
[key: string]: any;
|
|
221
223
|
};
|
|
222
224
|
page_count: number;
|
|
@@ -16,6 +16,7 @@ export interface OKLCHColor {
|
|
|
16
16
|
export type IThemeFonts = {
|
|
17
17
|
heading: string;
|
|
18
18
|
body: string;
|
|
19
|
+
customFonts?: Record<string, string>;
|
|
19
20
|
};
|
|
20
21
|
/**
|
|
21
22
|
* Configuration for a single variant group within a component theme
|
|
@@ -128,6 +129,7 @@ export interface ITheme {
|
|
|
128
129
|
background3: OKLCHColor;
|
|
129
130
|
iconPrimary: OKLCHColor;
|
|
130
131
|
iconSecondary: OKLCHColor;
|
|
132
|
+
customColors?: Record<string, OKLCHColor>;
|
|
131
133
|
};
|
|
132
134
|
fonts: IThemeFonts;
|
|
133
135
|
sizes: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { IBlockContext, IPageContext } from '../contentEngine';
|
|
1
2
|
import { IBlockInstance } from '../interfaces';
|
|
2
|
-
import { IPageContext, IBlockContext } from '../contentEngine';
|
|
3
3
|
type BlockContextType = {
|
|
4
4
|
parsedBlockData?: IBlockInstance;
|
|
5
5
|
setParsedBlockData?: React.Dispatch<React.SetStateAction<IBlockInstance | undefined>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface ILazyMotionProviderProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
/** Enforce m component usage - throws if motion component is used */
|
|
5
|
+
strict?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Provides LazyMotion context with domAnimation features for reduced bundle size.
|
|
9
|
+
*
|
|
10
|
+
* Wrap your studio content with this provider to enable animations using the
|
|
11
|
+
* lighter `m` component instead of the full `motion` component (~18kb vs ~34kb).
|
|
12
|
+
*/
|
|
13
|
+
export declare const LazyMotionProvider: React.FC<ILazyMotionProviderProps>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=LazyMotionProvider.d.ts.map
|