@clarify-labs/renderer 0.10.3 → 0.11.0

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.
Files changed (80) hide show
  1. package/output/{ClarifyShell-UsefuuLS.cjs → ClarifyShell-BAjq876Z.cjs} +85 -82
  2. package/output/ClarifyShell-BAjq876Z.cjs.map +1 -0
  3. package/output/{ClarifyShell-Cq5Af46F.js → ClarifyShell-GoSXvgMg.js} +85 -82
  4. package/output/ClarifyShell-GoSXvgMg.js.map +1 -0
  5. package/output/{MermaidViewer-Db7qsyVk.cjs → MermaidViewer-BZ8ghcFP.cjs} +2 -2
  6. package/output/{MermaidViewer-Db7qsyVk.cjs.map → MermaidViewer-BZ8ghcFP.cjs.map} +1 -1
  7. package/output/{MermaidViewer-Bc9H25yK.js → MermaidViewer-CkIxyqtf.js} +2 -2
  8. package/output/{MermaidViewer-Bc9H25yK.js.map → MermaidViewer-CkIxyqtf.js.map} +1 -1
  9. package/output/{OpenApiOperation-BZWeCbvy.js → OpenApiOperation-C2vJztWZ.js} +1536 -211
  10. package/output/OpenApiOperation-C2vJztWZ.js.map +1 -0
  11. package/output/{OpenApiOperation-DbZjxIuj.cjs → OpenApiOperation-D-5uE5v7.cjs} +1539 -208
  12. package/output/OpenApiOperation-D-5uE5v7.cjs.map +1 -0
  13. package/output/{PageActions-Dg1l9KB1.cjs → PageActions-DJRXlGhz.cjs} +16 -16
  14. package/output/PageActions-DJRXlGhz.cjs.map +1 -0
  15. package/output/{PageActions-BQeEmXbT.js → PageActions-bugd7GZh.js} +16 -16
  16. package/output/PageActions-bugd7GZh.js.map +1 -0
  17. package/output/{SearchDialog-DjKvqN7p.cjs → SearchDialog-8AdCRp6K.cjs} +3 -3
  18. package/output/{SearchDialog-DjKvqN7p.cjs.map → SearchDialog-8AdCRp6K.cjs.map} +1 -1
  19. package/output/{SearchDialog-B67VA0Ut.js → SearchDialog-CBJjDs_9.js} +3 -3
  20. package/output/{SearchDialog-B67VA0Ut.js.map → SearchDialog-CBJjDs_9.js.map} +1 -1
  21. package/output/app/PageFooter.d.ts +1 -1
  22. package/output/client.cjs +3 -3
  23. package/output/client.js +3 -3
  24. package/output/components/Tooltip.d.ts +1 -0
  25. package/output/core/i18n.d.ts +1 -1
  26. package/output/core/types.d.ts +37 -19
  27. package/output/{i18n-Bqth9d6Q.js → i18n-BPrC45nD.js} +98 -2
  28. package/output/i18n-BPrC45nD.js.map +1 -0
  29. package/output/{i18n-C-fReCj-.cjs → i18n-wXINKKV0.cjs} +98 -2
  30. package/output/i18n-wXINKKV0.cjs.map +1 -0
  31. package/output/index.cjs +26 -5
  32. package/output/index.cjs.map +1 -1
  33. package/output/index.d.ts +3 -3
  34. package/output/index.js +26 -6
  35. package/output/index.js.map +1 -1
  36. package/output/mdx/components.d.ts +2 -1
  37. package/output/openapi/components/EndpointMethodBadge.d.ts +6 -0
  38. package/output/openapi/components/EndpointSections.d.ts +2 -2
  39. package/output/openapi/components/ExamplePanels.d.ts +2 -2
  40. package/output/openapi/components/InlineListbox.d.ts +13 -0
  41. package/output/openapi/components/OpenApiAuthPanel.d.ts +12 -0
  42. package/output/openapi/components/OpenApiOperation.d.ts +1 -9
  43. package/output/openapi/components/OpenApiOperation.state.d.ts +4 -2
  44. package/output/openapi/components/OpenApiRequest.d.ts +18 -0
  45. package/output/openapi/components/OpenApiRequestFields.d.ts +25 -0
  46. package/output/openapi/components/OpenApiResponseViewer.d.ts +8 -0
  47. package/output/openapi/components/SendRequestButton.d.ts +9 -0
  48. package/output/openapi/components/helpers.d.ts +6 -1
  49. package/output/openapi/components/useOpenApiRequestState.d.ts +41 -0
  50. package/output/openapi/entry.d.ts +2 -0
  51. package/output/openapi/index.d.ts +2 -2
  52. package/output/openapi/lib/api-exchange-code.d.ts +8 -0
  53. package/output/openapi/lib/api-exchange.d.ts +30 -0
  54. package/output/openapi/lib/api-request.d.ts +24 -0
  55. package/output/openapi/lib/request-code.d.ts +2 -2
  56. package/output/openapi/lib/request-parameters.d.ts +5 -0
  57. package/output/openapi/store.d.ts +10 -0
  58. package/output/openapi/types.d.ts +4 -0
  59. package/output/preview.cjs +37 -27
  60. package/output/preview.cjs.map +1 -1
  61. package/output/preview.js +37 -27
  62. package/output/preview.js.map +1 -1
  63. package/output/{render-Dc9wxg_r.cjs → render-FICIzeXz.cjs} +2 -2
  64. package/output/{render-Dc9wxg_r.cjs.map → render-FICIzeXz.cjs.map} +1 -1
  65. package/output/{render-aS-w4fK4.js → render-XQiw_48i.js} +2 -2
  66. package/output/{render-aS-w4fK4.js.map → render-XQiw_48i.js.map} +1 -1
  67. package/output/renderer.css +547 -150
  68. package/output/server.cjs +2 -2
  69. package/output/server.js +2 -2
  70. package/output/theme/ThemeEditor.d.ts +8 -4
  71. package/output/theme/variables.d.ts +8 -4
  72. package/package.json +1 -1
  73. package/output/ClarifyShell-Cq5Af46F.js.map +0 -1
  74. package/output/ClarifyShell-UsefuuLS.cjs.map +0 -1
  75. package/output/OpenApiOperation-BZWeCbvy.js.map +0 -1
  76. package/output/OpenApiOperation-DbZjxIuj.cjs.map +0 -1
  77. package/output/PageActions-BQeEmXbT.js.map +0 -1
  78. package/output/PageActions-Dg1l9KB1.cjs.map +0 -1
  79. package/output/i18n-Bqth9d6Q.js.map +0 -1
  80. package/output/i18n-C-fReCj-.cjs.map +0 -1
@@ -1,5 +1,5 @@
1
- import { a as useConfig, i as OpenApiSpecsContext, n as ConfigContext, o as useConfigOptional, r as LocaleContext, s as useLocale, t as useBuiltInText } from "./i18n-Bqth9d6Q.js";
2
- import { C as isExternalHref, E as copyTextToClipboard, S as themeCookieName, a as SectionProvider, b as storeLocalePreference, d as normalizeRoutePath, f as resolveLocalizedText, g as getStoredLocalePreference, h as useTheme, i as Navigation, m as ThemeProvider, o as useSectionStore, r as Header, t as PageActionsProvider, u as isSameRoutePath, w as localizeHref } from "./PageActions-BQeEmXbT.js";
1
+ import { a as useConfig, i as OpenApiSpecsContext, n as ConfigContext, o as useConfigOptional, r as LocaleContext, s as useLocale, t as useBuiltInText } from "./i18n-BPrC45nD.js";
2
+ import { C as isExternalHref, E as copyTextToClipboard, S as themeCookieName, a as SectionProvider, b as storeLocalePreference, d as normalizeRoutePath, f as resolveLocalizedText, g as getStoredLocalePreference, h as useTheme, i as Navigation, m as ThemeProvider, o as useSectionStore, r as Header, t as PageActionsProvider, u as isSameRoutePath, w as localizeHref } from "./PageActions-bugd7GZh.js";
3
3
  import clsx from "clsx";
4
4
  import { Component, Suspense, createContext, lazy, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
5
5
  import { Link, Route, Routes, useLocation, useNavigate } from "react-router-dom";
@@ -359,7 +359,7 @@ function PageBanner(props) {
359
359
  const { currentLocale, onDismiss } = props;
360
360
  const config = useConfig();
361
361
  const banner = config.banner;
362
- const content = banner ? resolveLocalizedText(banner.content, currentLocale, config.i18n?.defaultLocale) : "";
362
+ const content = banner ? resolveLocalizedText(banner.content, currentLocale, config.locales?.default) : "";
363
363
  const storageKey = useMemo(() => {
364
364
  if (!banner || !content) return "";
365
365
  return bannerStorageKey(config, content);
@@ -379,7 +379,7 @@ function PageBanner(props) {
379
379
  if (!content) return null;
380
380
  if (dismissed) return null;
381
381
  const link = banner.link;
382
- const linkLabel = link ? resolveLocalizedText(link.label, currentLocale, config.i18n?.defaultLocale) : "";
382
+ const linkLabel = link ? resolveLocalizedText(link.label, currentLocale, config.locales?.default) : "";
383
383
  return /* @__PURE__ */ jsxs("div", {
384
384
  className: "clarify-banner relative flex h-12 items-center border-b border-(--clarify-ui-accent-border) bg-(--clarify-ui-accent-background) px-4 text-sm text-(--clarify-ui-text) dark:border-white/10",
385
385
  children: [/* @__PURE__ */ jsxs("div", {
@@ -412,17 +412,17 @@ function PageBanner(props) {
412
412
  //#endregion
413
413
  //#region source/app/PageFooter.tsx
414
414
  function localeForPath(config, pathname) {
415
- const i18n = config.i18n;
416
- if (!i18n) return void 0;
415
+ const locales = config.locales;
416
+ if (!locales) return void 0;
417
417
  const firstSegment = pathname.split("/").filter(Boolean)[0];
418
- return i18n.locales.find((locale) => locale.code === firstSegment)?.code ?? i18n.defaultLocale;
418
+ return locales.locales.find((locale) => locale.code === firstSegment)?.code ?? locales.default;
419
419
  }
420
420
  function FooterLink(arg0) {
421
421
  const { link, locale, config } = arg0;
422
422
  const external = link.external ?? isExternalHref(link.href);
423
423
  const href = external ? link.href : localizeHref(link.href, config, locale);
424
424
  const className = "clarify-footer-link no-underline transition";
425
- const label = resolveLocalizedText(link.label, locale, config.i18n?.defaultLocale);
425
+ const label = resolveLocalizedText(link.label, locale, config.locales?.default);
426
426
  if (external) return /* @__PURE__ */ jsx("a", {
427
427
  href,
428
428
  target: "_blank",
@@ -452,25 +452,22 @@ function PageFooter() {
452
452
  const footer = config.footer;
453
453
  const links = footer?.links ?? [];
454
454
  const socials = Object.entries(footer?.socials ?? {});
455
- const copyright = footer?.copyright ? resolveLocalizedText(footer.copyright, locale, config.i18n?.defaultLocale) : void 0;
456
- if (!Boolean(copyright || links.length > 0 || socials.length > 0)) return /* @__PURE__ */ jsx("footer", {
457
- "aria-hidden": "true",
458
- className: "clarify-page-footer mt-16 w-full border-t border-(--clarify-theme-tokens-colors-border) pt-8 lg:mt-24"
459
- });
455
+ const copyright = footer?.copyright ? resolveLocalizedText(footer.copyright, locale, config.locales?.default) : void 0;
456
+ if (!Boolean(copyright || links.length > 0 || socials.length > 0)) return null;
460
457
  return /* @__PURE__ */ jsx("footer", {
461
- className: "clarify-page-footer mt-16 flex w-full flex-col gap-4 border-t border-(--clarify-theme-tokens-colors-border) py-8 lg:mt-24",
458
+ className: "clarify-page-footer w-full",
462
459
  children: /* @__PURE__ */ jsxs("div", {
463
- className: clsx("clarify-footer-content flex flex-col items-end gap-3 text-right", "sm:items-start sm:text-left"),
460
+ className: clsx("clarify-footer-content flex flex-col items-start gap-2.5 text-left"),
464
461
  children: [copyright ? /* @__PURE__ */ jsx("p", {
465
462
  className: "clarify-footer-copyright m-0",
466
463
  children: copyright
467
464
  }) : null, links.length > 0 || socials.length > 0 ? /* @__PURE__ */ jsxs("div", {
468
- className: "clarify-footer-links flex flex-wrap justify-end gap-x-4 gap-y-2 sm:justify-start",
465
+ className: "clarify-footer-links flex flex-wrap justify-start gap-x-4 gap-y-2",
469
466
  children: [links.map((link) => /* @__PURE__ */ jsx(FooterLink, {
470
467
  link,
471
468
  locale,
472
469
  config
473
- }, `${link.href}-${resolveLocalizedText(link.label, locale, config.i18n?.defaultLocale)}`)), socials.map(([name, href]) => /* @__PURE__ */ jsx(SocialLink, {
470
+ }, `${link.href}-${resolveLocalizedText(link.label, locale, config.locales?.default)}`)), socials.map(([name, href]) => /* @__PURE__ */ jsx(SocialLink, {
474
471
  name,
475
472
  href
476
473
  }, name))]
@@ -493,40 +490,42 @@ function PageNavigation(arg0) {
493
490
  const previous = pageRoutes[currentIndex - 1];
494
491
  const next = pageRoutes[currentIndex + 1];
495
492
  if (!previous && !next) return null;
493
+ const hasBothDirections = Boolean(previous && next);
496
494
  return /* @__PURE__ */ jsxs("nav", {
497
- className: "clarify-page-navigation mt-6 grid gap-3 @3xl:grid-cols-2",
495
+ className: clsx("clarify-page-navigation mt-12 grid border-t border-(--clarify-theme-tokens-colors-border)", hasBothDirections && "@3xl:grid-cols-2"),
498
496
  "aria-label": t("navigation.previousNext"),
499
- children: [/* @__PURE__ */ jsx(PageNavigationLink, {
497
+ children: [previous ? /* @__PURE__ */ jsx(PageNavigationLink, {
500
498
  direction: "previous",
501
- route: previous
502
- }), /* @__PURE__ */ jsx(PageNavigationLink, {
499
+ route: previous,
500
+ separated: hasBothDirections
501
+ }) : null, next ? /* @__PURE__ */ jsx(PageNavigationLink, {
503
502
  direction: "next",
504
- route: next
505
- })]
503
+ route: next,
504
+ separated: hasBothDirections
505
+ }) : null]
506
506
  });
507
507
  }
508
508
  function PageNavigationLink(arg0) {
509
- const { direction, route } = arg0;
509
+ const { direction, route, separated } = arg0;
510
510
  const t = useBuiltInText();
511
- if (!route) return /* @__PURE__ */ jsx("div", { className: "hidden @3xl:block" });
512
511
  const isNext = direction === "next";
513
- return /* @__PURE__ */ jsxs(Link, {
512
+ return /* @__PURE__ */ jsx(Link, {
514
513
  to: normalizeRoutePath(route.path),
515
- className: clsx("group flex min-w-0 items-center gap-3 rounded-lg border border-(--clarify-theme-tokens-colors-border) px-4 py-3 no-underline transition hover:border-(--clarify-theme-tokens-colors-primary) hover:bg-(--clarify-ui-hover-background)", isNext && "@3xl:justify-end @3xl:text-right"),
516
- children: [
517
- !isNext ? /* @__PURE__ */ jsx(ChevronLeft, { className: "h-3.5 w-3.5 shrink-0 text-(--clarify-theme-tokens-colors-muted) transition group-hover:text-(--clarify-theme-tokens-colors-primary)" }) : null,
518
- /* @__PURE__ */ jsxs("span", {
519
- className: "min-w-0 flex-1",
520
- children: [/* @__PURE__ */ jsx("span", {
521
- className: "clarify-page-navigation-label block font-medium uppercase tracking-wide text-(--clarify-theme-tokens-colors-muted)",
522
- children: isNext ? t("navigation.next") : t("navigation.previous")
523
- }), /* @__PURE__ */ jsx("span", {
524
- className: "clarify-page-navigation-title mt-0.5 block truncate font-semibold text-(--clarify-theme-tokens-colors-foreground)",
525
- children: route.title
526
- })]
527
- }),
528
- isNext ? /* @__PURE__ */ jsx(ChevronRight, { className: "h-3.5 w-3.5 shrink-0 text-(--clarify-theme-tokens-colors-muted) transition group-hover:text-(--clarify-theme-tokens-colors-primary)" }) : null
529
- ]
514
+ className: clsx("group flex min-w-0 py-5 no-underline outline-none focus-visible:bg-(--clarify-ui-hover-background)", !isNext && "@3xl:pr-8", isNext && "@3xl:justify-end @3xl:pl-8 @3xl:text-right", isNext && separated && "border-t border-(--clarify-theme-tokens-colors-border) @3xl:border-t-0 @3xl:border-l"),
515
+ children: /* @__PURE__ */ jsxs("span", {
516
+ className: clsx("min-w-0", isNext && "ml-auto"),
517
+ children: [/* @__PURE__ */ jsxs("span", {
518
+ className: clsx("clarify-page-navigation-label flex items-center gap-1.5 text-xs/5 font-medium text-(--clarify-theme-tokens-colors-muted)", isNext && "justify-end"),
519
+ children: [
520
+ !isNext ? /* @__PURE__ */ jsx(ChevronLeft, { className: "size-3.5 transition-transform group-hover:-translate-x-0.5" }) : null,
521
+ isNext ? t("navigation.next") : t("navigation.previous"),
522
+ isNext ? /* @__PURE__ */ jsx(ChevronRight, { className: "size-3.5 transition-transform group-hover:translate-x-0.5" }) : null
523
+ ]
524
+ }), /* @__PURE__ */ jsx("span", {
525
+ className: "clarify-page-navigation-title mt-1 block truncate text-base/6 font-semibold text-(--clarify-theme-tokens-colors-foreground) transition-colors group-hover:text-(--clarify-theme-tokens-colors-primary)",
526
+ children: route.title
527
+ })]
528
+ })
530
529
  });
531
530
  }
532
531
  //#endregion
@@ -769,19 +768,19 @@ function scrollToHash(hash) {
769
768
  });
770
769
  }
771
770
  function explicitLocaleForPath(config, pathname) {
772
- const i18n = config.i18n;
773
- if (!i18n) return void 0;
771
+ const locales = config.locales;
772
+ if (!locales) return void 0;
774
773
  const firstSegment = pathname.split("/").filter(Boolean)[0];
775
- return i18n.locales.find((locale) => locale.code === firstSegment)?.code;
774
+ return locales.locales.find((locale) => locale.code === firstSegment)?.code;
776
775
  }
777
776
  function fallbackLocale(config) {
778
- return config.i18n?.defaultLocale;
777
+ return config.locales?.default;
779
778
  }
780
779
  function storedLocaleForConfig(config) {
781
- return getStoredLocalePreference(config.i18n?.locales.map((locale) => locale.code));
780
+ return getStoredLocalePreference(config.locales?.locales.map((locale) => locale.code));
782
781
  }
783
782
  function isDefaultLocale(config, locale) {
784
- return Boolean(locale && config.i18n?.defaultLocale === locale);
783
+ return Boolean(locale && config.locales?.default === locale);
785
784
  }
786
785
  function hasPath(nodes, pathname, locale) {
787
786
  return nodes.some((node) => isSameRoutePath(node.path, pathname, locale) || hasPath(node.children ?? [], pathname, locale));
@@ -831,7 +830,7 @@ function useRouteState(config, routes, navigation, pathname) {
831
830
  explicitLocale,
832
831
  storedLocale,
833
832
  currentLocale,
834
- currentLocaleConfig: config.i18n?.locales.find((locale) => locale.code === currentLocale),
833
+ currentLocaleConfig: config.locales?.locales.find((locale) => locale.code === currentLocale),
835
834
  notFoundRoute: currentRoute ? void 0 : notFoundRouteForPath(routes, pathname, currentLocale),
836
835
  currentNavigation: navigationForLocale(navigation, currentLocale, pathname),
837
836
  sections: sectionsForRoute(currentRoute)
@@ -855,7 +854,7 @@ function useStoredBannerDismissed(storageKey) {
855
854
  }
856
855
  function useBannerState(config, currentLocale) {
857
856
  const banner = config.banner;
858
- const bannerContent = banner ? resolveLocalizedText(banner.content, currentLocale, config.i18n?.defaultLocale) : "";
857
+ const bannerContent = banner ? resolveLocalizedText(banner.content, currentLocale, config.locales?.default) : "";
859
858
  const bannerStorageKey = banner && bannerContent ? `clarify:banner:dismissed:${config.title}:${bannerContent}` : void 0;
860
859
  const storedBannerDismissed = useStoredBannerDismissed(banner?.dismissible ? bannerStorageKey : void 0);
861
860
  const [dismissedBannerKey, setDismissedBannerKey] = useState();
@@ -1088,17 +1087,19 @@ function AppShell(arg0) {
1088
1087
  });
1089
1088
  }
1090
1089
  function renderFooter() {
1091
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [
1092
- /* @__PURE__ */ jsx(RuntimeSlot, { name: "page.footer.before" }),
1093
- /* @__PURE__ */ jsx(RuntimeSlot, {
1094
- name: "page.footer.replace",
1095
- default: DefaultFooterComponent
1096
- }),
1097
- /* @__PURE__ */ jsx("div", {
1098
- className: "flex justify-end",
1090
+ return /* @__PURE__ */ jsxs("div", {
1091
+ className: "clarify-page-footer-region mt-8 grid gap-5 border-t border-(--clarify-theme-tokens-colors-border) pt-6 sm:grid-cols-[minmax(0,1fr)_auto] sm:items-end",
1092
+ children: [/* @__PURE__ */ jsxs("div", {
1093
+ className: "clarify-page-footer-slot min-w-0",
1094
+ children: [/* @__PURE__ */ jsx(RuntimeSlot, { name: "page.footer.before" }), /* @__PURE__ */ jsx(RuntimeSlot, {
1095
+ name: "page.footer.replace",
1096
+ default: DefaultFooterComponent
1097
+ })]
1098
+ }), /* @__PURE__ */ jsx("div", {
1099
+ className: "clarify-page-attribution flex justify-end sm:self-end",
1099
1100
  children: /* @__PURE__ */ jsx(BuiltWithClarify, {})
1100
- })
1101
- ] });
1101
+ })]
1102
+ });
1102
1103
  }
1103
1104
  function renderContent() {
1104
1105
  return /* @__PURE__ */ jsx("div", {
@@ -1841,8 +1842,7 @@ function createRandomTheme() {
1841
1842
  colors: createRandomThemeColors(selection),
1842
1843
  radius: { ...selection.radius }
1843
1844
  },
1844
- layout: { maxWidth: selection.maxWidth },
1845
- editor: false
1845
+ layout: { maxWidth: selection.maxWidth }
1846
1846
  };
1847
1847
  }
1848
1848
  //#endregion
@@ -1853,42 +1853,47 @@ var themePresets = {
1853
1853
  preset: "default",
1854
1854
  tokens: {
1855
1855
  colors: {
1856
- primary: "#047857",
1857
- accent: "#0D9488",
1856
+ primary: {
1857
+ light: "#047857",
1858
+ dark: "#34d399"
1859
+ },
1860
+ accent: {
1861
+ light: "#0f766e",
1862
+ dark: "#5eead4"
1863
+ },
1858
1864
  background: {
1859
- light: "#ffffff",
1860
- dark: "#09090b"
1865
+ light: "#f8fafc",
1866
+ dark: "#0a0a0b"
1861
1867
  },
1862
1868
  foreground: {
1863
- light: "#111827",
1864
- dark: "#ffffff"
1869
+ light: "#172033",
1870
+ dark: "#f4f4f5"
1865
1871
  },
1866
1872
  surface: {
1867
1873
  light: "#ffffff",
1868
1874
  dark: "#18181b"
1869
1875
  },
1870
1876
  muted: {
1871
- light: "#64748b",
1877
+ light: "#667085",
1872
1878
  dark: "#a1a1aa"
1873
1879
  },
1874
1880
  border: {
1875
- light: "rgb(15 23 42 / 0.12)",
1876
- dark: "rgb(255 255 255 / 0.1)"
1881
+ light: "rgb(15 23 42 / 0.11)",
1882
+ dark: "rgb(255 255 255 / 0.11)"
1877
1883
  },
1878
1884
  codeBackground: {
1879
- light: "#f6fbf8",
1880
- dark: "#18181b"
1885
+ light: "#f1f5f3",
1886
+ dark: "#171719"
1881
1887
  }
1882
1888
  },
1883
1889
  radius: {
1884
1890
  sm: "6px",
1885
- md: "10px",
1886
- lg: "14px",
1887
- xl: "18px"
1891
+ md: "8px",
1892
+ lg: "12px",
1893
+ xl: "16px"
1888
1894
  }
1889
1895
  },
1890
- layout: { maxWidth: "82rem" },
1891
- editor: false
1896
+ layout: { maxWidth: "82rem" }
1892
1897
  },
1893
1898
  base: {
1894
1899
  preset: "base",
@@ -1928,8 +1933,7 @@ var themePresets = {
1928
1933
  xl: "16px"
1929
1934
  }
1930
1935
  },
1931
- layout: { maxWidth: "80rem" },
1932
- editor: false
1936
+ layout: { maxWidth: "80rem" }
1933
1937
  }
1934
1938
  };
1935
1939
  function cloneThemeColorValue(value) {
@@ -1951,8 +1955,7 @@ function cloneTheme(theme) {
1951
1955
  },
1952
1956
  radius: { ...theme.tokens.radius }
1953
1957
  },
1954
- layout: { ...theme.layout },
1955
- editor: theme.editor
1958
+ layout: { ...theme.layout }
1956
1959
  };
1957
1960
  }
1958
1961
  function isModeColorValue(value) {
@@ -2459,4 +2462,4 @@ function ClarifyShell(props) {
2459
2462
  //#endregion
2460
2463
  export { themeBootstrapScript as a, AppShell as c, RenderErrorPanel as d, BuiltWithClarify as f, useSlot as g, SlotProvider as h, themeEditorPresets as i, PageFooter as l, RuntimeSlotsProvider as m, ThemeEditor as n, themePresets as o, RuntimeSlot as p, applyThemeVariables as r, themeStorageKey as s, ClarifyShell as t, PageBanner as u };
2461
2464
 
2462
- //# sourceMappingURL=ClarifyShell-Cq5Af46F.js.map
2465
+ //# sourceMappingURL=ClarifyShell-GoSXvgMg.js.map