@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,6 +1,6 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-DakpK96I.cjs");
2
- const require_i18n = require("./i18n-C-fReCj-.cjs");
3
- const require_PageActions = require("./PageActions-Dg1l9KB1.cjs");
2
+ const require_i18n = require("./i18n-wXINKKV0.cjs");
3
+ const require_PageActions = require("./PageActions-DJRXlGhz.cjs");
4
4
  let clsx = require("clsx");
5
5
  clsx = require_rolldown_runtime.__toESM(clsx, 1);
6
6
  let react = require("react");
@@ -361,7 +361,7 @@ function PageBanner(props) {
361
361
  const { currentLocale, onDismiss } = props;
362
362
  const config = require_i18n.useConfig();
363
363
  const banner = config.banner;
364
- const content = banner ? require_PageActions.resolveLocalizedText(banner.content, currentLocale, config.i18n?.defaultLocale) : "";
364
+ const content = banner ? require_PageActions.resolveLocalizedText(banner.content, currentLocale, config.locales?.default) : "";
365
365
  const storageKey = (0, react.useMemo)(() => {
366
366
  if (!banner || !content) return "";
367
367
  return bannerStorageKey(config, content);
@@ -381,7 +381,7 @@ function PageBanner(props) {
381
381
  if (!content) return null;
382
382
  if (dismissed) return null;
383
383
  const link = banner.link;
384
- const linkLabel = link ? require_PageActions.resolveLocalizedText(link.label, currentLocale, config.i18n?.defaultLocale) : "";
384
+ const linkLabel = link ? require_PageActions.resolveLocalizedText(link.label, currentLocale, config.locales?.default) : "";
385
385
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
386
386
  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",
387
387
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -414,17 +414,17 @@ function PageBanner(props) {
414
414
  //#endregion
415
415
  //#region source/app/PageFooter.tsx
416
416
  function localeForPath(config, pathname) {
417
- const i18n = config.i18n;
418
- if (!i18n) return void 0;
417
+ const locales = config.locales;
418
+ if (!locales) return void 0;
419
419
  const firstSegment = pathname.split("/").filter(Boolean)[0];
420
- return i18n.locales.find((locale) => locale.code === firstSegment)?.code ?? i18n.defaultLocale;
420
+ return locales.locales.find((locale) => locale.code === firstSegment)?.code ?? locales.default;
421
421
  }
422
422
  function FooterLink(arg0) {
423
423
  const { link, locale, config } = arg0;
424
424
  const external = link.external ?? require_PageActions.isExternalHref(link.href);
425
425
  const href = external ? link.href : require_PageActions.localizeHref(link.href, config, locale);
426
426
  const className = "clarify-footer-link no-underline transition";
427
- const label = require_PageActions.resolveLocalizedText(link.label, locale, config.i18n?.defaultLocale);
427
+ const label = require_PageActions.resolveLocalizedText(link.label, locale, config.locales?.default);
428
428
  if (external) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
429
429
  href,
430
430
  target: "_blank",
@@ -454,25 +454,22 @@ function PageFooter() {
454
454
  const footer = config.footer;
455
455
  const links = footer?.links ?? [];
456
456
  const socials = Object.entries(footer?.socials ?? {});
457
- const copyright = footer?.copyright ? require_PageActions.resolveLocalizedText(footer.copyright, locale, config.i18n?.defaultLocale) : void 0;
458
- if (!Boolean(copyright || links.length > 0 || socials.length > 0)) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("footer", {
459
- "aria-hidden": "true",
460
- className: "clarify-page-footer mt-16 w-full border-t border-(--clarify-theme-tokens-colors-border) pt-8 lg:mt-24"
461
- });
457
+ const copyright = footer?.copyright ? require_PageActions.resolveLocalizedText(footer.copyright, locale, config.locales?.default) : void 0;
458
+ if (!Boolean(copyright || links.length > 0 || socials.length > 0)) return null;
462
459
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("footer", {
463
- 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",
460
+ className: "clarify-page-footer w-full",
464
461
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
465
- className: (0, clsx.default)("clarify-footer-content flex flex-col items-end gap-3 text-right", "sm:items-start sm:text-left"),
462
+ className: (0, clsx.default)("clarify-footer-content flex flex-col items-start gap-2.5 text-left"),
466
463
  children: [copyright ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
467
464
  className: "clarify-footer-copyright m-0",
468
465
  children: copyright
469
466
  }) : null, links.length > 0 || socials.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
470
- className: "clarify-footer-links flex flex-wrap justify-end gap-x-4 gap-y-2 sm:justify-start",
467
+ className: "clarify-footer-links flex flex-wrap justify-start gap-x-4 gap-y-2",
471
468
  children: [links.map((link) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FooterLink, {
472
469
  link,
473
470
  locale,
474
471
  config
475
- }, `${link.href}-${require_PageActions.resolveLocalizedText(link.label, locale, config.i18n?.defaultLocale)}`)), socials.map(([name, href]) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SocialLink, {
472
+ }, `${link.href}-${require_PageActions.resolveLocalizedText(link.label, locale, config.locales?.default)}`)), socials.map(([name, href]) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SocialLink, {
476
473
  name,
477
474
  href
478
475
  }, name))]
@@ -495,40 +492,42 @@ function PageNavigation(arg0) {
495
492
  const previous = pageRoutes[currentIndex - 1];
496
493
  const next = pageRoutes[currentIndex + 1];
497
494
  if (!previous && !next) return null;
495
+ const hasBothDirections = Boolean(previous && next);
498
496
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("nav", {
499
- className: "clarify-page-navigation mt-6 grid gap-3 @3xl:grid-cols-2",
497
+ className: (0, clsx.default)("clarify-page-navigation mt-12 grid border-t border-(--clarify-theme-tokens-colors-border)", hasBothDirections && "@3xl:grid-cols-2"),
500
498
  "aria-label": t("navigation.previousNext"),
501
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(PageNavigationLink, {
499
+ children: [previous ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PageNavigationLink, {
502
500
  direction: "previous",
503
- route: previous
504
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PageNavigationLink, {
501
+ route: previous,
502
+ separated: hasBothDirections
503
+ }) : null, next ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PageNavigationLink, {
505
504
  direction: "next",
506
- route: next
507
- })]
505
+ route: next,
506
+ separated: hasBothDirections
507
+ }) : null]
508
508
  });
509
509
  }
510
510
  function PageNavigationLink(arg0) {
511
- const { direction, route } = arg0;
511
+ const { direction, route, separated } = arg0;
512
512
  const t = require_i18n.useBuiltInText();
513
- if (!route) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "hidden @3xl:block" });
514
513
  const isNext = direction === "next";
515
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_router_dom.Link, {
514
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_router_dom.Link, {
516
515
  to: require_PageActions.normalizeRoutePath(route.path),
517
- className: (0, clsx.default)("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"),
518
- children: [
519
- !isNext ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.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,
520
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
521
- className: "min-w-0 flex-1",
522
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
523
- className: "clarify-page-navigation-label block font-medium uppercase tracking-wide text-(--clarify-theme-tokens-colors-muted)",
524
- children: isNext ? t("navigation.next") : t("navigation.previous")
525
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
526
- className: "clarify-page-navigation-title mt-0.5 block truncate font-semibold text-(--clarify-theme-tokens-colors-foreground)",
527
- children: route.title
528
- })]
529
- }),
530
- isNext ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.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
531
- ]
516
+ className: (0, clsx.default)("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"),
517
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
518
+ className: (0, clsx.default)("min-w-0", isNext && "ml-auto"),
519
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
520
+ className: (0, clsx.default)("clarify-page-navigation-label flex items-center gap-1.5 text-xs/5 font-medium text-(--clarify-theme-tokens-colors-muted)", isNext && "justify-end"),
521
+ children: [
522
+ !isNext ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronLeft, { className: "size-3.5 transition-transform group-hover:-translate-x-0.5" }) : null,
523
+ isNext ? t("navigation.next") : t("navigation.previous"),
524
+ isNext ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRight, { className: "size-3.5 transition-transform group-hover:translate-x-0.5" }) : null
525
+ ]
526
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
527
+ 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)",
528
+ children: route.title
529
+ })]
530
+ })
532
531
  });
533
532
  }
534
533
  //#endregion
@@ -771,19 +770,19 @@ function scrollToHash(hash) {
771
770
  });
772
771
  }
773
772
  function explicitLocaleForPath(config, pathname) {
774
- const i18n = config.i18n;
775
- if (!i18n) return void 0;
773
+ const locales = config.locales;
774
+ if (!locales) return void 0;
776
775
  const firstSegment = pathname.split("/").filter(Boolean)[0];
777
- return i18n.locales.find((locale) => locale.code === firstSegment)?.code;
776
+ return locales.locales.find((locale) => locale.code === firstSegment)?.code;
778
777
  }
779
778
  function fallbackLocale(config) {
780
- return config.i18n?.defaultLocale;
779
+ return config.locales?.default;
781
780
  }
782
781
  function storedLocaleForConfig(config) {
783
- return require_PageActions.getStoredLocalePreference(config.i18n?.locales.map((locale) => locale.code));
782
+ return require_PageActions.getStoredLocalePreference(config.locales?.locales.map((locale) => locale.code));
784
783
  }
785
784
  function isDefaultLocale(config, locale) {
786
- return Boolean(locale && config.i18n?.defaultLocale === locale);
785
+ return Boolean(locale && config.locales?.default === locale);
787
786
  }
788
787
  function hasPath(nodes, pathname, locale) {
789
788
  return nodes.some((node) => require_PageActions.isSameRoutePath(node.path, pathname, locale) || hasPath(node.children ?? [], pathname, locale));
@@ -833,7 +832,7 @@ function useRouteState(config, routes, navigation, pathname) {
833
832
  explicitLocale,
834
833
  storedLocale,
835
834
  currentLocale,
836
- currentLocaleConfig: config.i18n?.locales.find((locale) => locale.code === currentLocale),
835
+ currentLocaleConfig: config.locales?.locales.find((locale) => locale.code === currentLocale),
837
836
  notFoundRoute: currentRoute ? void 0 : notFoundRouteForPath(routes, pathname, currentLocale),
838
837
  currentNavigation: navigationForLocale(navigation, currentLocale, pathname),
839
838
  sections: sectionsForRoute(currentRoute)
@@ -857,7 +856,7 @@ function useStoredBannerDismissed(storageKey) {
857
856
  }
858
857
  function useBannerState(config, currentLocale) {
859
858
  const banner = config.banner;
860
- const bannerContent = banner ? require_PageActions.resolveLocalizedText(banner.content, currentLocale, config.i18n?.defaultLocale) : "";
859
+ const bannerContent = banner ? require_PageActions.resolveLocalizedText(banner.content, currentLocale, config.locales?.default) : "";
861
860
  const bannerStorageKey = banner && bannerContent ? `clarify:banner:dismissed:${config.title}:${bannerContent}` : void 0;
862
861
  const storedBannerDismissed = useStoredBannerDismissed(banner?.dismissible ? bannerStorageKey : void 0);
863
862
  const [dismissedBannerKey, setDismissedBannerKey] = (0, react.useState)();
@@ -1090,17 +1089,19 @@ function AppShell(arg0) {
1090
1089
  });
1091
1090
  }
1092
1091
  function renderFooter() {
1093
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
1094
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RuntimeSlot, { name: "page.footer.before" }),
1095
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RuntimeSlot, {
1096
- name: "page.footer.replace",
1097
- default: DefaultFooterComponent
1098
- }),
1099
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1100
- className: "flex justify-end",
1092
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1093
+ 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",
1094
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1095
+ className: "clarify-page-footer-slot min-w-0",
1096
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(RuntimeSlot, { name: "page.footer.before" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RuntimeSlot, {
1097
+ name: "page.footer.replace",
1098
+ default: DefaultFooterComponent
1099
+ })]
1100
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1101
+ className: "clarify-page-attribution flex justify-end sm:self-end",
1101
1102
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BuiltWithClarify, {})
1102
- })
1103
- ] });
1103
+ })]
1104
+ });
1104
1105
  }
1105
1106
  function renderContent() {
1106
1107
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -1843,8 +1844,7 @@ function createRandomTheme() {
1843
1844
  colors: createRandomThemeColors(selection),
1844
1845
  radius: { ...selection.radius }
1845
1846
  },
1846
- layout: { maxWidth: selection.maxWidth },
1847
- editor: false
1847
+ layout: { maxWidth: selection.maxWidth }
1848
1848
  };
1849
1849
  }
1850
1850
  //#endregion
@@ -1855,42 +1855,47 @@ var themePresets = {
1855
1855
  preset: "default",
1856
1856
  tokens: {
1857
1857
  colors: {
1858
- primary: "#047857",
1859
- accent: "#0D9488",
1858
+ primary: {
1859
+ light: "#047857",
1860
+ dark: "#34d399"
1861
+ },
1862
+ accent: {
1863
+ light: "#0f766e",
1864
+ dark: "#5eead4"
1865
+ },
1860
1866
  background: {
1861
- light: "#ffffff",
1862
- dark: "#09090b"
1867
+ light: "#f8fafc",
1868
+ dark: "#0a0a0b"
1863
1869
  },
1864
1870
  foreground: {
1865
- light: "#111827",
1866
- dark: "#ffffff"
1871
+ light: "#172033",
1872
+ dark: "#f4f4f5"
1867
1873
  },
1868
1874
  surface: {
1869
1875
  light: "#ffffff",
1870
1876
  dark: "#18181b"
1871
1877
  },
1872
1878
  muted: {
1873
- light: "#64748b",
1879
+ light: "#667085",
1874
1880
  dark: "#a1a1aa"
1875
1881
  },
1876
1882
  border: {
1877
- light: "rgb(15 23 42 / 0.12)",
1878
- dark: "rgb(255 255 255 / 0.1)"
1883
+ light: "rgb(15 23 42 / 0.11)",
1884
+ dark: "rgb(255 255 255 / 0.11)"
1879
1885
  },
1880
1886
  codeBackground: {
1881
- light: "#f6fbf8",
1882
- dark: "#18181b"
1887
+ light: "#f1f5f3",
1888
+ dark: "#171719"
1883
1889
  }
1884
1890
  },
1885
1891
  radius: {
1886
1892
  sm: "6px",
1887
- md: "10px",
1888
- lg: "14px",
1889
- xl: "18px"
1893
+ md: "8px",
1894
+ lg: "12px",
1895
+ xl: "16px"
1890
1896
  }
1891
1897
  },
1892
- layout: { maxWidth: "82rem" },
1893
- editor: false
1898
+ layout: { maxWidth: "82rem" }
1894
1899
  },
1895
1900
  base: {
1896
1901
  preset: "base",
@@ -1930,8 +1935,7 @@ var themePresets = {
1930
1935
  xl: "16px"
1931
1936
  }
1932
1937
  },
1933
- layout: { maxWidth: "80rem" },
1934
- editor: false
1938
+ layout: { maxWidth: "80rem" }
1935
1939
  }
1936
1940
  };
1937
1941
  function cloneThemeColorValue(value) {
@@ -1953,8 +1957,7 @@ function cloneTheme(theme) {
1953
1957
  },
1954
1958
  radius: { ...theme.tokens.radius }
1955
1959
  },
1956
- layout: { ...theme.layout },
1957
- editor: theme.editor
1960
+ layout: { ...theme.layout }
1958
1961
  };
1959
1962
  }
1960
1963
  function isModeColorValue(value) {
@@ -2556,4 +2559,4 @@ Object.defineProperty(exports, "useSlot", {
2556
2559
  }
2557
2560
  });
2558
2561
 
2559
- //# sourceMappingURL=ClarifyShell-UsefuuLS.cjs.map
2562
+ //# sourceMappingURL=ClarifyShell-BAjq876Z.cjs.map