@levo-so/studio 0.1.56 → 0.1.58
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-BZojhXPB.js → Beams-0Cg_3upg.js} +1 -1
- package/dist/{Dots-CcGlHm7F.js → Dots-turX9wMO.js} +1 -1
- package/dist/{Gradient-3UANzbFj.js → Gradient-Be4Kqh_1.js} +1 -1
- package/dist/{Grid-DNt6KikT.js → Grid-B0vqOT42.js} +28 -35
- package/dist/MessageCard-CCngWCHS.js +53 -0
- package/dist/{Waves-CzMQ6uqz.js → Waves-DL4kuojY.js} +1 -1
- package/dist/bridge/Highlighter.d.ts +9 -1
- package/dist/bridge/PreviewHighlighter.d.ts +8 -1
- package/dist/bridge/StudioPagePreview.d.ts +4 -0
- package/dist/bridge/constants.d.ts +2 -0
- package/dist/bridge/types.d.ts +27 -0
- package/dist/bridge/utils.d.ts +9 -1
- package/dist/components/LoginForm/AuthMethodRenderer.d.ts +12 -0
- package/dist/components/LoginForm/GoogleOAuth.d.ts +1 -0
- package/dist/components/LoginForm/MagicLinkAuthForm.d.ts +6 -0
- package/dist/components/LoginForm/OAuthSection.d.ts +11 -0
- package/dist/components/LoginForm/OtpAuthForm.d.ts +2 -0
- package/dist/components/LoginForm/WhatsAppAuthForm.d.ts +2 -0
- package/dist/components/LoginForm/index.d.ts +5 -0
- package/dist/components/accessCard/EntryCard/index.d.ts +2 -2
- package/dist/components/accessCard/LoginCard/index.d.ts +2 -0
- package/dist/components/accessCard/MessageCard.d.ts +10 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/integrationFilters/FieldRenderer.d.ts +7 -0
- package/dist/components/integrationFilters/IntegrationFilters.d.ts +11 -0
- package/dist/components/integrationFilters/fields/DropdownField.d.ts +8 -0
- package/dist/components/integrationFilters/fields/TextField.d.ts +7 -0
- package/dist/components/shared/EmailInput/index.d.ts +1 -1
- package/dist/components/shared/MagicLinkSuccess/index.d.ts +7 -0
- package/dist/components/shared/PhoneInput/index.d.ts +10 -0
- package/dist/components/ui/Calendar.d.ts +5 -0
- package/dist/components/ui/FlippingText.d.ts +6 -0
- package/dist/components/ui/base/index.d.ts +2 -0
- package/dist/components/ui/base/input.d.ts +4 -0
- package/dist/components/ui/form/FormInput.d.ts +17 -0
- package/dist/components/ui/form/FormSelect.d.ts +17 -0
- package/dist/components/ui/form/utils/FieldError.d.ts +5 -0
- package/dist/components/ui/form/utils/FieldWrapper.d.ts +19 -0
- package/dist/components/ui/form/utils/FormHelperText.d.ts +7 -0
- package/dist/components/ui/form/utils/FormLabel.d.ts +8 -0
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/constants/authentication.d.ts +41 -0
- package/dist/contentEngine/content.d.ts +21 -14
- package/dist/contentEngine/getPage.d.ts +2 -1
- package/dist/contentEngine/sourceFetcher.d.ts +4 -2
- package/dist/contentEngine/themeUtils.d.ts +57 -1
- package/dist/contentEngine/types.d.ts +3 -1
- package/dist/contentEngine/urlBuilder.d.ts +1 -1
- package/dist/core/AccessManager/index.d.ts +2 -0
- package/dist/core/LevoPage.d.ts +2 -0
- package/dist/elements/EditForm.d.ts +11 -0
- package/dist/elements/Form.d.ts +3 -0
- package/dist/elements/Section.d.ts +1 -0
- package/dist/elements/Tabs.d.ts +21 -0
- package/dist/elements/accordion/index.d.ts +4 -4
- package/dist/elements/index.d.ts +2 -0
- package/dist/hooks/useLogin.d.ts +18 -25
- package/dist/index-BdswdesP.js +36 -0
- package/dist/index-CPJI9a7D.js +13503 -0
- package/dist/index-CmNhuPZp.js +34 -0
- package/dist/index-kVKDoWCh.js +57 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +112 -92
- package/dist/interfaces/contentSchema.d.ts +5 -2
- package/dist/interfaces/form.d.ts +33 -0
- package/dist/interfaces/levoBlock.d.ts +19 -6
- package/dist/interfaces/site.d.ts +21 -5
- package/dist/interfaces/sites.d.ts +8 -2
- package/dist/pixel/constants/colorOptions.d.ts +5 -0
- package/dist/pixel/index.d.ts +2 -1
- package/dist/pixel/optionsMap.d.ts +0 -1
- package/dist/providers/AuthProvider.d.ts +5 -0
- package/dist/schemas/authSchemas.d.ts +46 -0
- package/dist/studio.css +1 -1
- package/dist/utils/colorUtils.d.ts +5 -0
- package/dist/utils/findFieldSchema.d.ts +6 -0
- package/dist/utils/index.d.ts +3 -0
- package/package.json +9 -4
- package/dist/components/accessCard/MessageCard/index.d.ts +0 -8
- package/dist/contentEngine/config.d.ts +0 -7
- package/dist/index-BoqJQUB1.js +0 -49
- package/dist/index-ChtnTSnt.js +0 -10563
- package/dist/index-CncAiMll.js +0 -30
- package/dist/index-DEfqGdFN.js +0 -54
- package/dist/index-YYhmca3b.js +0 -23
package/dist/index-CncAiMll.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as e, jsx as s } from "react/jsx-runtime";
|
|
3
|
-
import { u as i, a } from "./index-ChtnTSnt.js";
|
|
4
|
-
const g = "_footnote_v8hnh_1", r = "_footnoteText_v8hnh_11", c = "_logoutButton_v8hnh_17", t = {
|
|
5
|
-
footnote: g,
|
|
6
|
-
footnoteText: r,
|
|
7
|
-
logoutButton: c
|
|
8
|
-
}, d = () => {
|
|
9
|
-
const { account: o, isSignOutLoading: n } = i(), { signOut: u } = a(), l = () => {
|
|
10
|
-
u();
|
|
11
|
-
};
|
|
12
|
-
return o != null && o.email ? /* @__PURE__ */ e("div", { className: t.footnote, children: [
|
|
13
|
-
/* @__PURE__ */ e("span", { className: t.footnoteText, children: [
|
|
14
|
-
"You are logged in as ",
|
|
15
|
-
/* @__PURE__ */ s("strong", { children: o.email })
|
|
16
|
-
] }),
|
|
17
|
-
/* @__PURE__ */ s(
|
|
18
|
-
"button",
|
|
19
|
-
{
|
|
20
|
-
className: t.logoutButton,
|
|
21
|
-
onClick: l,
|
|
22
|
-
disabled: n,
|
|
23
|
-
children: n ? "Logging out..." : "Logout"
|
|
24
|
-
}
|
|
25
|
-
)
|
|
26
|
-
] }) : null;
|
|
27
|
-
};
|
|
28
|
-
export {
|
|
29
|
-
d as M
|
|
30
|
-
};
|
package/dist/index-DEfqGdFN.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
3
|
-
import { CollectionFormBuilder as c } from "@levo-so/react-collection";
|
|
4
|
-
import { A as n } from "./index-DHHPZcEh.js";
|
|
5
|
-
import { M as o } from "./index-CncAiMll.js";
|
|
6
|
-
import { u as h } from "./index-ChtnTSnt.js";
|
|
7
|
-
const u = "_header_emo7t_1", f = "_title_emo7t_8", _ = "_subtitle_emo7t_15", C = "_formContainer_emo7t_21", i = {
|
|
8
|
-
header: u,
|
|
9
|
-
title: f,
|
|
10
|
-
subtitle: _,
|
|
11
|
-
formContainer: C
|
|
12
|
-
}, j = ({
|
|
13
|
-
logo: d,
|
|
14
|
-
siteName: l,
|
|
15
|
-
workspaceId: s,
|
|
16
|
-
options: e,
|
|
17
|
-
onSuccess: m
|
|
18
|
-
}) => {
|
|
19
|
-
const { account: t } = h();
|
|
20
|
-
return /* @__PURE__ */ a(n, { logo: d, siteName: l, maxWidth: "md", children: [
|
|
21
|
-
/* @__PURE__ */ a("div", { className: i.header, children: [
|
|
22
|
-
/* @__PURE__ */ r("h1", { className: i.title, children: "Access Required" }),
|
|
23
|
-
l && /* @__PURE__ */ a("p", { className: i.subtitle, children: [
|
|
24
|
-
"Please fill out this form to access content on",
|
|
25
|
-
" ",
|
|
26
|
-
/* @__PURE__ */ r("strong", { children: l })
|
|
27
|
-
] })
|
|
28
|
-
] }),
|
|
29
|
-
/* @__PURE__ */ r(o, {}),
|
|
30
|
-
(t == null ? void 0 : t.email) && /* @__PURE__ */ r("div", { className: i.formContainer, children: /* @__PURE__ */ r(
|
|
31
|
-
c,
|
|
32
|
-
{
|
|
33
|
-
collection_id: (e == null ? void 0 : e.collection) || "",
|
|
34
|
-
workspace_id: s,
|
|
35
|
-
uiConfig: {
|
|
36
|
-
hideFormHeading: !0,
|
|
37
|
-
hideSectionHeadings: !0
|
|
38
|
-
},
|
|
39
|
-
submitButtonConfig: {
|
|
40
|
-
show: !0,
|
|
41
|
-
text: "Submit"
|
|
42
|
-
},
|
|
43
|
-
externalInitialValues: {
|
|
44
|
-
[(e == null ? void 0 : e.field) ?? "email"]: t == null ? void 0 : t.email
|
|
45
|
-
},
|
|
46
|
-
hiddenFields: (e == null ? void 0 : e.hidden) ?? [],
|
|
47
|
-
onSuccess: m
|
|
48
|
-
}
|
|
49
|
-
) })
|
|
50
|
-
] });
|
|
51
|
-
};
|
|
52
|
-
export {
|
|
53
|
-
j as default
|
|
54
|
-
};
|
package/dist/index-YYhmca3b.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
3
|
-
import { L as i } from "./index-ChtnTSnt.js";
|
|
4
|
-
import { A as n } from "./index-DHHPZcEh.js";
|
|
5
|
-
const a = "_header_s7k8g_1", c = "_title_s7k8g_7", l = "_subtitle_s7k8g_14", d = "_formWrapper_s7k8g_20", e = {
|
|
6
|
-
header: a,
|
|
7
|
-
title: c,
|
|
8
|
-
subtitle: l,
|
|
9
|
-
formWrapper: d
|
|
10
|
-
}, _ = ({ logo: o, siteName: s }) => /* @__PURE__ */ r(n, { logo: o, siteName: s, maxWidth: "sm", children: [
|
|
11
|
-
/* @__PURE__ */ r("div", { className: e.header, children: [
|
|
12
|
-
/* @__PURE__ */ t("h1", { className: e.title, children: "Sign in to continue" }),
|
|
13
|
-
s && /* @__PURE__ */ r("p", { className: e.subtitle, children: [
|
|
14
|
-
"You need to sign in to access this page on",
|
|
15
|
-
" ",
|
|
16
|
-
/* @__PURE__ */ t("strong", { children: s })
|
|
17
|
-
] })
|
|
18
|
-
] }),
|
|
19
|
-
/* @__PURE__ */ t("div", { className: e.formWrapper, children: /* @__PURE__ */ t(i, { className: e.form, oAuthTitle: s || "Studio" }) })
|
|
20
|
-
] });
|
|
21
|
-
export {
|
|
22
|
-
_ as default
|
|
23
|
-
};
|