@levo-so/studio 0.1.111 → 0.1.112

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,5 +1,5 @@
1
1
  "use client";
2
- import { t as e } from "./Button-DjphTnCg.js";
2
+ import { t as e } from "./Button-Dyp67okY.js";
3
3
  import { useState as t } from "react";
4
4
  import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  //#region src/components/bookingCard/BillingStep.tsx
@@ -527,8 +527,7 @@ var O = (e, t) => {
527
527
  renderMode: t.renderMode,
528
528
  workspace_id: t.workspace_id,
529
529
  pageSource: t.pageSource,
530
- localizedPages: t.localizedPages,
531
- language: t.language
530
+ languageVariants: t.languageVariants
532
531
  }), [
533
532
  n,
534
533
  r,
@@ -539,19 +538,15 @@ var O = (e, t) => {
539
538
  t.renderMode,
540
539
  t.workspace_id,
541
540
  t.pageSource,
542
- t.localizedPages,
543
- t.language
541
+ t.languageVariants
544
542
  ]);
545
543
  return /* @__PURE__ */ w(z.Provider, {
546
544
  value: i,
547
545
  children: e
548
546
  });
549
547
  }, B = () => ee(z), Ue = () => {
550
- let { localizedPages: e, language: t } = B();
551
- return {
552
- localizedPages: e ?? [],
553
- currentLanguage: t
554
- };
548
+ let { languageVariants: e } = B();
549
+ return { languageVariants: e ?? [] };
555
550
  }, V = {
556
551
  opacity: 1,
557
552
  scale: 1,
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { t as e } from "./Button-DjphTnCg.js";
2
+ import { t as e } from "./Button-Dyp67okY.js";
3
3
  import { n as t } from "./AuthProvider-C6bvedwF.js";
4
4
  import { n, t as r } from "./StripePaymentModal-BsYNQ4MB.js";
5
- import { BillingStep as i } from "./BillingStep-CY2MHQ-L.js";
5
+ import { BillingStep as i } from "./BillingStep-CdfHr9TA.js";
6
6
  import { cn as a, errorHandler as o, useLevo as s } from "@levo-so/react";
7
7
  import { useEffect as c, useRef as l, useState as u } from "react";
8
8
  import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
package/index.d.ts CHANGED
@@ -220,13 +220,14 @@ declare type BaseImageProps = ImageProps & HTMLImageProps;
220
220
  /**
221
221
  * Published-site language switcher, modeled as a studio element (like `UserMenu`).
222
222
  *
223
- * Reads the page's sibling language variants from context (via `useLocalizedPages`)
223
+ * Reads the page's sibling language variants from context (via `useLanguageVariants`)
224
224
  * — no data wiring needed — and navigates to the selected language's localized URL
225
225
  * on a full reload. Dynamic-page placeholder slugs are resolved from the current
226
226
  * path before navigating.
227
227
  *
228
- * Renders nothing when the page has at most one language. Hide it deliberately by
229
- * setting `config.enabled = false` on its element `withBlockProps` gates on that.
228
+ * Hidden by default (like `UserMenu`): renders only when `config.enabled` is
229
+ * explicitly turned on for its element. Even when enabled, renders nothing if the
230
+ * page has at most one language.
230
231
  */
231
232
  export declare const BaseLanguageSwitcher: React_2.FC<BaseLanguageSwitcherProps>;
232
233
 
@@ -306,8 +307,7 @@ declare type BlockProviderInput = {
306
307
  renderMode: IRenderMode;
307
308
  workspace_id: string;
308
309
  pageSource: IPage["source"];
309
- localizedPages?: IPage["localized_pages"];
310
- language?: IPage["language"];
310
+ languageVariants?: IPage["language_variants"];
311
311
  };
312
312
 
313
313
  export declare const BlockSourceModuleList: readonly ["collection", "event", "blog", "community", "context", "form", "blog_author", "blog_category", "blog_tag"];
@@ -400,8 +400,8 @@ export declare const Box: WithBlockPropsComponent<BaseBoxProps & default_2.RefAt
400
400
  * (no current template, unparseable URL, or mismatched segment counts).
401
401
  */
402
402
  export declare const buildLocalizedHref: ({ current, target, currentPathname, }: {
403
- current?: ILocalizedPage;
404
- target: ILocalizedPage;
403
+ current?: ILanguageVariant;
404
+ target: ILanguageVariant;
405
405
  currentPathname: string;
406
406
  }) => string;
407
407
 
@@ -1451,6 +1451,26 @@ declare interface IJsonEditorProps {
1451
1451
  onChange: (value: Record<string, any>) => void;
1452
1452
  }
1453
1453
 
1454
+ /**
1455
+ * A sibling language variant as returned by the studio runtime
1456
+ * (`get-page-from-path` → `data.language_variants`). Drives the published-site
1457
+ * language switcher. Distinct from {@link ILocalizedPage} (the editor field).
1458
+ */
1459
+ export declare interface ILanguageVariant {
1460
+ id: string;
1461
+ language: string;
1462
+ /** Human-readable language label, e.g. "French (France)". */
1463
+ language_label?: string;
1464
+ /**
1465
+ * Fully-localized URL for this variant. Default language is unprefixed, others
1466
+ * are language-prefixed. Dynamic pages keep `{placeholder}` slugs to substitute
1467
+ * client-side before navigating.
1468
+ */
1469
+ live_url?: string;
1470
+ /** True for the page currently being served; always the first entry. */
1471
+ is_current?: boolean;
1472
+ }
1473
+
1454
1474
  declare interface ILazyMotionProviderProps {
1455
1475
  children: ReactNode;
1456
1476
  /** Enforce m component usage - throws if motion component is used */
@@ -1542,7 +1562,7 @@ declare interface ILevoFormContext {
1542
1562
  preview?: boolean;
1543
1563
  }
1544
1564
 
1545
- export declare type ILevoPageData = Pick<IPageExpanded, "id" | "workspace_id" | "blocks" | "source" | "title" | "description" | "access" | "style_config" | "settings" | "language" | "localized_pages">;
1565
+ export declare type ILevoPageData = Pick<IPageExpanded, "id" | "workspace_id" | "blocks" | "source" | "title" | "description" | "access" | "style_config" | "settings" | "language_variants">;
1546
1566
 
1547
1567
  export declare interface ILevoPageProps {
1548
1568
  pageData: ILevoPageData;
@@ -1557,30 +1577,18 @@ export declare interface ILevoPageProps {
1557
1577
  }
1558
1578
 
1559
1579
  /**
1560
- * A sibling language variant of a page.
1561
- *
1562
- * Two backends populate this shape:
1563
- * - The studio runtime (`get-page-from-path`) sets `language_label`, `live_url`,
1564
- * and `is_current` — used by the published-site language switcher.
1565
- * - The dashboard editor's page-data response sets `title`, `status`, `countries`,
1566
- * `url` — used by the locale/country pickers.
1580
+ * A sibling language variant of a page as seen by the **dashboard editor**.
1581
+ * Populated by the editor's page-data response — `title`, `status`, `countries`,
1582
+ * `url` and drives the locale/country pickers.
1567
1583
  *
1568
- * Only `id` and `language` are guaranteed on both; the rest are source-specific.
1584
+ * The published-site language switcher uses {@link ILanguageVariant} instead: a
1585
+ * separate runtime field (`data.language_variants`) carrying navigation data, not
1586
+ * editor metadata. The backend keeps the two apart deliberately so they can't be
1587
+ * confused — two different things, two different names.
1569
1588
  */
1570
1589
  export declare interface ILocalizedPage {
1571
1590
  id: string;
1572
1591
  language: string;
1573
- /** Human-readable language label, e.g. "French (France)". Runtime response only. */
1574
- language_label?: string;
1575
- /**
1576
- * Fully-localized URL for this sibling. Default language is unprefixed, others
1577
- * are language-prefixed. Dynamic pages keep `{placeholder}` slugs to substitute
1578
- * client-side. Runtime response only.
1579
- */
1580
- live_url?: string;
1581
- /** True for the page currently being served; always the first entry. Runtime response only. */
1582
- is_current?: boolean;
1583
- /** Editor response only — guaranteed there; absent on runtime entries (not read by the runtime). */
1584
1592
  title: string;
1585
1593
  status?: "published" | "draft";
1586
1594
  countries?: string[];
@@ -1645,7 +1653,10 @@ export declare interface IPage {
1645
1653
  language?: string;
1646
1654
  is_generating?: boolean;
1647
1655
  generation_cancelled?: boolean;
1656
+ /** Editor-only sibling languages (titles/statuses/countries). See {@link ILocalizedPage}. */
1648
1657
  localized_pages?: ILocalizedPage[];
1658
+ /** Runtime sibling languages for the published-site switcher. See {@link ILanguageVariant}. */
1659
+ language_variants?: ILanguageVariant[];
1649
1660
  style_config?: ISiteStyleConfig | null;
1650
1661
  countries?: string[];
1651
1662
  theme: {
@@ -2400,7 +2411,7 @@ export declare const LanguageSwitcher: WithBlockPropsComponent<BaseLanguageSwitc
2400
2411
  */
2401
2412
  export declare const LazyMotionProvider: React.FC<ILazyMotionProviderProps>;
2402
2413
 
2403
- export declare const LevoBlock: default_2.MemoExoticComponent<({ html_id, renderMode, blocks, parsedBlockData, blockData, pageContext, pageMeta, blockContext, workspace_id, pageSource, localizedPages, language, }: LevoBlockProps) => JSX.Element>;
2414
+ export declare const LevoBlock: default_2.MemoExoticComponent<({ html_id, renderMode, blocks, parsedBlockData, blockData, pageContext, pageMeta, blockContext, workspace_id, pageSource, languageVariants, }: LevoBlockProps) => JSX.Element>;
2404
2415
 
2405
2416
  declare interface LevoBlockProps {
2406
2417
  html_id?: string;
@@ -2413,8 +2424,7 @@ declare interface LevoBlockProps {
2413
2424
  pageMeta?: TPageMeta;
2414
2425
  blockContext?: IPageDataContext["blocks"][number];
2415
2426
  pageSource?: IPage["source"];
2416
- localizedPages?: IPage["localized_pages"];
2417
- language?: IPage["language"];
2427
+ languageVariants?: IPage["language_variants"];
2418
2428
  }
2419
2429
 
2420
2430
  export declare const LevoPage: default_2.FC<ILevoPageProps>;
@@ -3120,9 +3130,8 @@ export declare const useForumContext: () => IForumContext;
3120
3130
  */
3121
3131
  export declare const useGeneratedClassName: (elementKey: string, blockId: string, configValue: IFieldConfig | undefined) => string;
3122
3132
 
3123
- export declare const useLocalizedPages: () => {
3124
- localizedPages: ILocalizedPage[];
3125
- currentLanguage: string | undefined;
3133
+ export declare const useLanguageVariants: () => {
3134
+ languageVariants: ILanguageVariant[];
3126
3135
  };
3127
3136
 
3128
3137
  /**
package/index.js CHANGED
@@ -5,7 +5,7 @@ import { t as a } from "./inlineCollectionTheme-D2w17LHX.js";
5
5
  import { t as o } from "./RteThemeProvider-LFGzAYi1.js";
6
6
  import { r as s, y as c } from "./dist-bHoi1bCB.js";
7
7
  import { n as l, r as u, t as d } from "./nodeAlignment-BC_Uferw.js";
8
- import { A as f, B as p, C as m, D as h, E as g, F as _, I as v, L as y, M as b, N as x, O as S, P as C, R as w, S as T, T as E, _ as D, a as ee, b as O, c as te, d as ne, f as re, g as ie, h as k, i as A, j as ae, k as oe, l as se, m as ce, n as le, o as ue, p as de, r as fe, s as pe, t as me, u as he, v as ge, w as _e, x as ve, y as ye, z as be } from "./Button-DjphTnCg.js";
8
+ import { A as f, B as p, C as m, D as h, E as g, F as _, I as v, L as y, M as b, N as x, O as S, P as C, R as w, S as T, T as E, _ as D, a as ee, b as O, c as te, d as ne, f as re, g as ie, h as k, i as A, j as ae, k as oe, l as se, m as ce, n as le, o as ue, p as de, r as fe, s as pe, t as me, u as he, v as ge, w as _e, x as ve, y as ye, z as be } from "./Button-Dyp67okY.js";
9
9
  import { n as j, t as xe } from "./AuthProvider-C6bvedwF.js";
10
10
  import { n as Se, t as Ce } from "./ModalManager-DQVNPEuG.js";
11
11
  import { a as we, i as Te, n as Ee, o as De, r as Oe, s as ke, t as Ae } from "./dialog-LRLdr3kq.js";
@@ -3685,8 +3685,7 @@ var Ui = ({ isPageGenerating: e = !1, isGenerationCancelled: t = !1, totalBlocks
3685
3685
  description: e.description,
3686
3686
  style_config: e?.style_config ?? null,
3687
3687
  settings: e?.settings,
3688
- language: e?.language,
3689
- localized_pages: e?.localized_pages ?? [],
3688
+ language_variants: e?.language_variants ?? [],
3690
3689
  blocks: (e ?? []).blocks.map((e) => ({
3691
3690
  ...e,
3692
3691
  styles: {}
@@ -3951,7 +3950,7 @@ var Ui = ({ isPageGenerating: e = !1, isGenerationCancelled: t = !1, totalBlocks
3951
3950
  return /* @__PURE__ */ H(a, { ...c });
3952
3951
  });
3953
3952
  to.displayName = "BlockSelector";
3954
- var no = P.memo(({ html_id: e, renderMode: t = "live", blocks: n, parsedBlockData: r, blockData: i, pageContext: a, pageMeta: o, blockContext: s, workspace_id: c, pageSource: l, localizedPages: u, language: d }) => /* @__PURE__ */ H(ye, {
3953
+ var no = P.memo(({ html_id: e, renderMode: t = "live", blocks: n, parsedBlockData: r, blockData: i, pageContext: a, pageMeta: o, blockContext: s, workspace_id: c, pageSource: l, languageVariants: u }) => /* @__PURE__ */ H(ye, {
3955
3954
  value: {
3956
3955
  parsedBlockData: r,
3957
3956
  blockData: i,
@@ -3961,8 +3960,7 @@ var no = P.memo(({ html_id: e, renderMode: t = "live", blocks: n, parsedBlockDat
3961
3960
  renderMode: t,
3962
3961
  workspace_id: c,
3963
3962
  pageSource: l,
3964
- localizedPages: u,
3965
- language: d
3963
+ languageVariants: u
3966
3964
  },
3967
3965
  children: /* @__PURE__ */ U("div", {
3968
3966
  id: e ?? r.id,
@@ -4269,8 +4267,7 @@ var ao = ({ site: e }) => {
4269
4267
  blockContext: r?.blocks[a.id],
4270
4268
  workspace_id: o.id,
4271
4269
  pageSource: t?.source,
4272
- localizedPages: t?.localized_pages,
4273
- language: t?.language
4270
+ languageVariants: t?.language_variants
4274
4271
  }, a.id))
4275
4272
  ]
4276
4273
  }),
@@ -5085,7 +5082,7 @@ var ys = A(vs), bs = F(() => import("./dist-bHoi1bCB.js").then((e) => e.t).then(
5085
5082
  isLoading: s
5086
5083
  })
5087
5084
  })
5088
- })), Ss = F(() => import("./dist-bHoi1bCB.js").then((e) => e.t).then((e) => ({ default: e.CollectionFormRenderer }))), Cs = F(() => import("./bookingCard-D40dbgvH.js").then((e) => ({ default: e.BookingCard }))), ws = F(() => import("./BillingStep-CY2MHQ-L.js").then((e) => ({ default: e.BillingStep }))), Ts = A(({ elementKey: e, generatedClassName: t, config: n, className: r, initialValues: o, theme: s }) => {
5085
+ })), Ss = F(() => import("./dist-bHoi1bCB.js").then((e) => e.t).then((e) => ({ default: e.CollectionFormRenderer }))), Cs = F(() => import("./bookingCard-X0dfbVqn.js").then((e) => ({ default: e.BookingCard }))), ws = F(() => import("./BillingStep-CdfHr9TA.js").then((e) => ({ default: e.BillingStep }))), Ts = A(({ elementKey: e, generatedClassName: t, config: n, className: r, initialValues: o, theme: s }) => {
5089
5086
  let c = N(), { workspace: l, isLoggedIn: u, isAuthLoaded: d } = j(), f = R(() => {
5090
5087
  if (!n?.theme && !s) return;
5091
5088
  let e = n?.theme;
@@ -8601,13 +8598,15 @@ var Jl = {
8601
8598
  let n = e.match(/^\{(.+)\}$/);
8602
8599
  n?.[1] && (l[n[1]] = c[t] ?? "");
8603
8600
  }), o.pathname = o.pathname.replace(/\{([^}]+)\}/g, (e, t) => l[t] ?? e), o.toString();
8604
- }, nu = (e) => e.split(/[-_]/)[0]?.toUpperCase() || e.toUpperCase(), ru = ({ elementKey: e, className: t, contentClassName: n, align: r = "end" }) => {
8605
- let { localizedPages: i } = ve(), a = /* @__PURE__ */ new Set(), o = i.filter((e) => !e.language || a.has(e.language) ? !1 : (a.add(e.language), !0));
8606
- if (o.length <= 1) return null;
8607
- let s = o.find((e) => e.is_current) ?? o[0], c = (e) => {
8608
- if (e.language === s?.language) return;
8601
+ }, nu = (e) => e.split(/[-_]/)[0]?.toUpperCase() || e.toUpperCase(), ru = ({ elementKey: e, className: t, contentClassName: n, align: r = "end", config: i }) => {
8602
+ let { languageVariants: a } = ve();
8603
+ if (!i?.enabled) return null;
8604
+ let o = /* @__PURE__ */ new Set(), s = a.filter((e) => !e.language || o.has(e.language) ? !1 : (o.add(e.language), !0));
8605
+ if (s.length <= 1) return null;
8606
+ let c = s.find((e) => e.is_current) ?? s[0], l = (e) => {
8607
+ if (e.language === c?.language) return;
8609
8608
  let t = tu({
8610
- current: s,
8609
+ current: c,
8611
8610
  target: e,
8612
8611
  currentPathname: window.location.pathname
8613
8612
  });
@@ -8622,21 +8621,21 @@ var Jl = {
8622
8621
  children: /* @__PURE__ */ U("button", {
8623
8622
  type: "button",
8624
8623
  "aria-label": "Change language",
8625
- className: "inline-flex items-center gap-1.5 rounded-md border border-border bg-transparent px-2.5 py-1.5 font-medium text-sm text-text-1 outline-none transition-colors hover:bg-muted focus-visible:ring-[3px] focus-visible:ring-brand/80 data-[state=open]:bg-muted",
8624
+ className: "inline-flex items-center gap-1.5 rounded-md border bg-transparent px-2.5 py-1.5 font-medium text-sm text-text-1 outline-none transition-colors [border-color:var(--color-border)] hover:bg-muted focus-visible:ring-[3px] focus-visible:ring-brand/80 data-[state=open]:bg-muted",
8626
8625
  children: [/* @__PURE__ */ H(Ln, {
8627
8626
  size: 16,
8628
8627
  className: "opacity-70",
8629
8628
  "aria-hidden": !0
8630
- }), /* @__PURE__ */ H("span", { children: s ? nu(s.language) : "" })]
8629
+ }), /* @__PURE__ */ H("span", { children: c ? nu(c.language) : "" })]
8631
8630
  })
8632
8631
  }), /* @__PURE__ */ H(tr.Portal, { children: /* @__PURE__ */ H(tr.Content, {
8633
8632
  align: r,
8634
8633
  sideOffset: 6,
8635
- className: M("fade-in-0 zoom-in-95 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 z-50 min-w-[10rem] animate-in overflow-hidden rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md data-[state=closed]:animate-out", n),
8636
- children: o.map((e) => {
8637
- let t = e.language === s?.language;
8634
+ className: M("z-50 min-w-[10rem] overflow-hidden rounded-md border bg-page p-1 text-text-1 shadow-md [border-color:var(--color-border)]", n),
8635
+ children: s.map((e) => {
8636
+ let t = e.language === c?.language;
8638
8637
  return /* @__PURE__ */ U(tr.Item, {
8639
- onSelect: () => c(e),
8638
+ onSelect: () => l(e),
8640
8639
  className: M("flex cursor-pointer items-center justify-between gap-3 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[highlighted]:bg-muted", t ? "font-medium text-text-1" : "text-text-2"),
8641
8640
  children: [/* @__PURE__ */ H("span", { children: e.language_label || e.language }), t && /* @__PURE__ */ H(Sn, {
8642
8641
  size: 15,
@@ -10317,4 +10316,4 @@ var Cu = async (e, t, n) => {
10317
10316
  "password"
10318
10317
  ];
10319
10318
  //#endregion
10320
- export { He as ALTERNATE_METHOD_VALUES, Re as ALTERNATIVE_AUTH_METHODS, Mo as AccordionContent, Ao as AccordionItem, ko as AccordionRoot, jo as AccordionTrigger, xe as AuthProvider, Be as AuthenticationOptions, Fl as Avatar, Bl as AvatarBadge, Rl as AvatarFallback, zl as AvatarFallbackV2, Vl as AvatarGroup, Hl as AvatarGroupCount, Il as AvatarImage, Ll as AvatarImageV2, el as BUILT_IN_PRESETS, _l as BackgroundEffects, ns as BaseBlogContent, me as BaseButton, vs as BaseContainer, Bc as BaseHeading, ru as BaseLanguageSwitcher, vl as BaseSection, Ol as BaseTypography, Al as BaseUserMenu, ye as BlockProvider, qu as BlockSourceModuleList, $a as BlocksRegistry, rs as BlogContent, Ml as BookingConfirmation, Pl as BookingModal, Nl as BookingSummary, os as Box, le as Button, Gl as Calendar, _s as Carousel, ds as CarouselContent, hs as CarouselDotButton, gs as CarouselDots, fs as CarouselItem, ms as CarouselNext, ps as CarouselPrevious, Es as CategoryFilter, cc as CommentStatusBadge, Ec as Comments, Fc as CommentsRestrictionOverlay, ys as Container, Oc as CreateForumPost, q as DATA_ATTRIBUTES, T as DATE_DISPLAYS, m as DATE_FORMATS, _e as DATE_HOUR12_VALUES, E as DATE_LOCALES, g as DATE_STYLES, h as DEFAULT_DATE_SPEC, k as DEFAULT_FROM_STATE, xa as DEFAULT_THEME, ie as DEFAULT_TRANSITION, D as DEFAULT_VIEWPORT, ge as DEFAULT_VISIBLE_STATE, ee as DEMO_SCHEMA, Au as DevTools, Tu as DevToolsPreview, xs as EditForm, Ts as Form, mc as FormInput, ql as FormTextarea, jc as ForumPost, Os as ForumProvider, $l as GlobalSearch, Vc as Heading, Ju as IMembershipAuthenticationMethods, fe as Icon, Uc as Iframe, Yc as Image, lc as Input, fu as IntegrationFilters, Nc as JoinRequestForm, Du as JsonEditor, Ul as Kbd, Wl as KbdGroup, Wu as KindList, iu as LanguageSwitcher, qa as LazyMotionProvider, no as LevoBlock, ho as LevoPage, Zc as Link, J as MESSAGE_TYPES, ao as MadeWithLevo, $c as Media, Ie as PENDING_APPROVAL_ERROR_CODE, tl as PRESET_CATEGORIES, nl as PRESET_MAP, Pe as PRIMARY_AUTH_METHODS, ze as PRIMARY_METHOD_VALUES, Ic as PendingRequestState, Hs as PopoverContent, Rs as PopoverRoot, Vs as PopoverTrigger, p as PopupLoader, Zs as PostActions, Ks as PostCategory, Js as PostContent, $s as PostGallery, Gs as PostHeader, Qs as PostLink, Mc as PostLinkWrapper, ic as PostPoll, oc as PostStatusBadge, qs as PostTitle, Rc as PostsRestrictionOverlay, Ui as PreviewHighlighter, wu as RegisterModal, Pc as SampleCommentSkeleton, Lc as SamplePostSkeleton, zc as SearchInput, yl as Section, Fs as SimpleTooltipWrapper, Z as Skeleton, Ys as StatContainer, Co as StudioPreview, Gu as StudioWidgetList, Ku as StudioWidgetMap, El as TabsContent, wl as TabsList, bl as TabsRoot, Tl as TabsTrigger, js as Tooltip, Ps as TooltipContent, Ns as TooltipPortal, As as TooltipProvider, Ms as TooltipTrigger, kl as Typography, jl as UserMenu, S as VARIABLE_SINGLE_TOKEN_REGEX, oe as VARIABLE_TOKEN_REGEX, f as VARIABLE_TRANSFORMS, eo as blocksRegistry, tu as buildLocalizedHref, ra as colorOptions, es as convertHtmlToJSON, ri as convertKeysToPascalCase, la as cssOptionsMap, ae as dateSpecToArgs, b as evaluateVariableToken, La as fetchCollectionSchema, Ia as fetchSource, ce as findFieldSchema, de as flattenVariableMatches, ta as generateAccentColor, Wi as generateBodyContent, oi as generateDefaultContent, Qr as generateSchemaFromJSX, Oa as generateThemeStyles, Ta as generateThemeVariables, ue as generateVariantClasses, il as getAvailableCategories, sl as getEffectConfigFromPresetId, Ga as getInitialPageContent, w as getKeysWithValue, pe as getNestedValue, Ka as getPageData, Ha as getPageSource, rl as getPresetsByCategory, ea as getWcagContrast, Xi as hexToOKLCH, Ve as isAlternateMethod, te as isConfigWithVariants, Fe as isPendingApprovalError, Le as isPrimaryMethod, Yi as isValidOKLCH, Ca as normalizeColorName, wa as normalizeFontName, Ji as oklchStringToRGBA, $i as oklchToHex, Qi as oklchToRGBA, Y as oklchToString, x as parseDateSpec, se as parseGroupContext, Zi as parseOKLCHString, C as parseVariableToken, Ua as parseVariablesFromResolvedSource, Sa as processFonts, ka as processTheme, Va as resolveStyles, Ba as resolveVariables, Ki as rgbaToOKLCH, qi as rgbaToOKLCHString, ll as sanitizeBackgroundEffectConfig, he as sanitizeElementKey, Ou as schemaToBlockInstance, _ as snapDateStyle, v as stylesFor, j as useAuth, O as useBlockContext, ne as useCommonProps, Ja as useContentEngine, Ya as useContextEngine, ls as useDotButton, ks as useForumContext, re as useGeneratedClassName, ve as useLocalizedPages, je as useLogin, Xa as usePageContext, Za as usePageMeta, Me as useStripePayment, y as variableTokenToString };
10319
+ export { He as ALTERNATE_METHOD_VALUES, Re as ALTERNATIVE_AUTH_METHODS, Mo as AccordionContent, Ao as AccordionItem, ko as AccordionRoot, jo as AccordionTrigger, xe as AuthProvider, Be as AuthenticationOptions, Fl as Avatar, Bl as AvatarBadge, Rl as AvatarFallback, zl as AvatarFallbackV2, Vl as AvatarGroup, Hl as AvatarGroupCount, Il as AvatarImage, Ll as AvatarImageV2, el as BUILT_IN_PRESETS, _l as BackgroundEffects, ns as BaseBlogContent, me as BaseButton, vs as BaseContainer, Bc as BaseHeading, ru as BaseLanguageSwitcher, vl as BaseSection, Ol as BaseTypography, Al as BaseUserMenu, ye as BlockProvider, qu as BlockSourceModuleList, $a as BlocksRegistry, rs as BlogContent, Ml as BookingConfirmation, Pl as BookingModal, Nl as BookingSummary, os as Box, le as Button, Gl as Calendar, _s as Carousel, ds as CarouselContent, hs as CarouselDotButton, gs as CarouselDots, fs as CarouselItem, ms as CarouselNext, ps as CarouselPrevious, Es as CategoryFilter, cc as CommentStatusBadge, Ec as Comments, Fc as CommentsRestrictionOverlay, ys as Container, Oc as CreateForumPost, q as DATA_ATTRIBUTES, T as DATE_DISPLAYS, m as DATE_FORMATS, _e as DATE_HOUR12_VALUES, E as DATE_LOCALES, g as DATE_STYLES, h as DEFAULT_DATE_SPEC, k as DEFAULT_FROM_STATE, xa as DEFAULT_THEME, ie as DEFAULT_TRANSITION, D as DEFAULT_VIEWPORT, ge as DEFAULT_VISIBLE_STATE, ee as DEMO_SCHEMA, Au as DevTools, Tu as DevToolsPreview, xs as EditForm, Ts as Form, mc as FormInput, ql as FormTextarea, jc as ForumPost, Os as ForumProvider, $l as GlobalSearch, Vc as Heading, Ju as IMembershipAuthenticationMethods, fe as Icon, Uc as Iframe, Yc as Image, lc as Input, fu as IntegrationFilters, Nc as JoinRequestForm, Du as JsonEditor, Ul as Kbd, Wl as KbdGroup, Wu as KindList, iu as LanguageSwitcher, qa as LazyMotionProvider, no as LevoBlock, ho as LevoPage, Zc as Link, J as MESSAGE_TYPES, ao as MadeWithLevo, $c as Media, Ie as PENDING_APPROVAL_ERROR_CODE, tl as PRESET_CATEGORIES, nl as PRESET_MAP, Pe as PRIMARY_AUTH_METHODS, ze as PRIMARY_METHOD_VALUES, Ic as PendingRequestState, Hs as PopoverContent, Rs as PopoverRoot, Vs as PopoverTrigger, p as PopupLoader, Zs as PostActions, Ks as PostCategory, Js as PostContent, $s as PostGallery, Gs as PostHeader, Qs as PostLink, Mc as PostLinkWrapper, ic as PostPoll, oc as PostStatusBadge, qs as PostTitle, Rc as PostsRestrictionOverlay, Ui as PreviewHighlighter, wu as RegisterModal, Pc as SampleCommentSkeleton, Lc as SamplePostSkeleton, zc as SearchInput, yl as Section, Fs as SimpleTooltipWrapper, Z as Skeleton, Ys as StatContainer, Co as StudioPreview, Gu as StudioWidgetList, Ku as StudioWidgetMap, El as TabsContent, wl as TabsList, bl as TabsRoot, Tl as TabsTrigger, js as Tooltip, Ps as TooltipContent, Ns as TooltipPortal, As as TooltipProvider, Ms as TooltipTrigger, kl as Typography, jl as UserMenu, S as VARIABLE_SINGLE_TOKEN_REGEX, oe as VARIABLE_TOKEN_REGEX, f as VARIABLE_TRANSFORMS, eo as blocksRegistry, tu as buildLocalizedHref, ra as colorOptions, es as convertHtmlToJSON, ri as convertKeysToPascalCase, la as cssOptionsMap, ae as dateSpecToArgs, b as evaluateVariableToken, La as fetchCollectionSchema, Ia as fetchSource, ce as findFieldSchema, de as flattenVariableMatches, ta as generateAccentColor, Wi as generateBodyContent, oi as generateDefaultContent, Qr as generateSchemaFromJSX, Oa as generateThemeStyles, Ta as generateThemeVariables, ue as generateVariantClasses, il as getAvailableCategories, sl as getEffectConfigFromPresetId, Ga as getInitialPageContent, w as getKeysWithValue, pe as getNestedValue, Ka as getPageData, Ha as getPageSource, rl as getPresetsByCategory, ea as getWcagContrast, Xi as hexToOKLCH, Ve as isAlternateMethod, te as isConfigWithVariants, Fe as isPendingApprovalError, Le as isPrimaryMethod, Yi as isValidOKLCH, Ca as normalizeColorName, wa as normalizeFontName, Ji as oklchStringToRGBA, $i as oklchToHex, Qi as oklchToRGBA, Y as oklchToString, x as parseDateSpec, se as parseGroupContext, Zi as parseOKLCHString, C as parseVariableToken, Ua as parseVariablesFromResolvedSource, Sa as processFonts, ka as processTheme, Va as resolveStyles, Ba as resolveVariables, Ki as rgbaToOKLCH, qi as rgbaToOKLCHString, ll as sanitizeBackgroundEffectConfig, he as sanitizeElementKey, Ou as schemaToBlockInstance, _ as snapDateStyle, v as stylesFor, j as useAuth, O as useBlockContext, ne as useCommonProps, Ja as useContentEngine, Ya as useContextEngine, ls as useDotButton, ks as useForumContext, re as useGeneratedClassName, ve as useLanguageVariants, je as useLogin, Xa as usePageContext, Za as usePageMeta, Me as useStripePayment, y as variableTokenToString };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levo-so/studio",
3
- "version": "0.1.111",
3
+ "version": "0.1.112",
4
4
  "author": "Levo Engineering <devs@theinternetfolks.com>",
5
5
  "description": "Levo Studio components and utilities for building block-based pages",
6
6
  "type": "module",
@@ -115,8 +115,8 @@
115
115
  "react": ">=19",
116
116
  "next": ">=14",
117
117
  "react-dom": ">=19",
118
- "@levo-so/insights": "0.1.111",
119
118
  "@levo-so/core": "0.1.111",
119
+ "@levo-so/insights": "0.1.111",
120
120
  "@levo-so/react": "0.1.111"
121
121
  }
122
122
  }