@clarify-labs/renderer 0.11.21 → 0.11.23

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 (55) hide show
  1. package/output/{ClarifyShell-DwxpyL0U.cjs → ClarifyShell-BCM0tKfd.cjs} +96 -151
  2. package/output/ClarifyShell-BCM0tKfd.cjs.map +1 -0
  3. package/output/{ClarifyShell-BdkOnYRO.js → ClarifyShell-CMVVhs5d.js} +96 -151
  4. package/output/ClarifyShell-CMVVhs5d.js.map +1 -0
  5. package/output/{MermaidViewer-CPEutQ9L.cjs → MermaidViewer-BeDNlsUO.cjs} +5 -5
  6. package/output/MermaidViewer-BeDNlsUO.cjs.map +1 -0
  7. package/output/{MermaidViewer-DtswU1MF.js → MermaidViewer-DHxjl1zP.js} +5 -5
  8. package/output/MermaidViewer-DHxjl1zP.js.map +1 -0
  9. package/output/{OpenApiOperation-B68CqUJW.js → OpenApiOperation-BVm4VnFl.js} +128 -108
  10. package/output/OpenApiOperation-BVm4VnFl.js.map +1 -0
  11. package/output/{OpenApiOperation-Cv4N92VL.cjs → OpenApiOperation-CyR9Y-2y.cjs} +128 -108
  12. package/output/OpenApiOperation-CyR9Y-2y.cjs.map +1 -0
  13. package/output/{PageActions-BszP_J4e.js → PageActions-B98vbZRP.js} +56 -42
  14. package/output/PageActions-B98vbZRP.js.map +1 -0
  15. package/output/{PageActions-CwJLUFUH.cjs → PageActions-IpmtuInV.cjs} +61 -41
  16. package/output/PageActions-IpmtuInV.cjs.map +1 -0
  17. package/output/{SearchDialog-BKl8YlX5.js → SearchDialog-B4MS3QuJ.js} +9 -9
  18. package/output/{SearchDialog-BKl8YlX5.js.map → SearchDialog-B4MS3QuJ.js.map} +1 -1
  19. package/output/{SearchDialog-LCYjnaI0.cjs → SearchDialog-wjtpnKYS.cjs} +9 -9
  20. package/output/{SearchDialog-LCYjnaI0.cjs.map → SearchDialog-wjtpnKYS.cjs.map} +1 -1
  21. package/output/app/SectionProvider.d.ts +1 -0
  22. package/output/client.cjs +3 -3
  23. package/output/client.js +3 -3
  24. package/output/core/types.d.ts +1 -0
  25. package/output/{i18n-Zmmhz7FF.js → i18n-Bt-OaKRP.js} +3 -1
  26. package/output/i18n-Bt-OaKRP.js.map +1 -0
  27. package/output/{i18n-BMNCgF9o.cjs → i18n-tOmAUK0W.cjs} +3 -1
  28. package/output/i18n-tOmAUK0W.cjs.map +1 -0
  29. package/output/index.cjs +11 -11
  30. package/output/index.cjs.map +1 -1
  31. package/output/index.js +11 -11
  32. package/output/index.js.map +1 -1
  33. package/output/openapi/components/DeprecatedBadge.d.ts +5 -0
  34. package/output/preview.cjs +25 -25
  35. package/output/preview.cjs.map +1 -1
  36. package/output/preview.js +25 -25
  37. package/output/preview.js.map +1 -1
  38. package/output/{render-DHVpckNI.cjs → render-CobBuz3I.cjs} +2 -2
  39. package/output/{render-DHVpckNI.cjs.map → render-CobBuz3I.cjs.map} +1 -1
  40. package/output/{render-CRQXzd-y.js → render-D0qt6K1G.js} +2 -2
  41. package/output/{render-CRQXzd-y.js.map → render-D0qt6K1G.js.map} +1 -1
  42. package/output/renderer.css +3305 -3643
  43. package/output/server.cjs +2 -2
  44. package/output/server.js +2 -2
  45. package/package.json +1 -1
  46. package/output/ClarifyShell-BdkOnYRO.js.map +0 -1
  47. package/output/ClarifyShell-DwxpyL0U.cjs.map +0 -1
  48. package/output/MermaidViewer-CPEutQ9L.cjs.map +0 -1
  49. package/output/MermaidViewer-DtswU1MF.js.map +0 -1
  50. package/output/OpenApiOperation-B68CqUJW.js.map +0 -1
  51. package/output/OpenApiOperation-Cv4N92VL.cjs.map +0 -1
  52. package/output/PageActions-BszP_J4e.js.map +0 -1
  53. package/output/PageActions-CwJLUFUH.cjs.map +0 -1
  54. package/output/i18n-BMNCgF9o.cjs.map +0 -1
  55. package/output/i18n-Zmmhz7FF.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { a as useConfig, l as useLocale, t as useBuiltInText } from "./i18n-Zmmhz7FF.js";
1
+ import { a as useConfig, l as useLocale, t as useBuiltInText } from "./i18n-Bt-OaKRP.js";
2
2
  import { Suspense, createContext, forwardRef, lazy, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
3
3
  import { Link, useLocation } from "react-router-dom";
4
4
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -313,26 +313,26 @@ function ContentActions(arg0) {
313
313
  onClick: primaryAction.run,
314
314
  disabled: primaryPhase === "copying",
315
315
  "aria-live": "polite",
316
- className: "clarify-content-actions-primary clarify-ui-control inline-flex h-9 min-w-0 items-center gap-2 rounded-md border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) px-3 shadow-xs shadow-zinc-900/5 transition",
316
+ className: "clarify-content-actions-primary clarify-ui-control inline-flex h-9 min-w-0 items-center gap-2 rounded-(--clarify-theme-tokens-radius-md) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) px-3 shadow-(--clarify-ui-shadow-raised) shadow-zinc-900/5 transition",
317
317
  children: [/* @__PURE__ */ jsx(PrimaryIcon, { className: `h-4 w-4 shrink-0 ${primaryPhase === "copying" ? "animate-spin" : ""}` }), /* @__PURE__ */ jsx("span", {
318
318
  className: "truncate",
319
319
  children: primaryPhase === "idle" ? primaryAction.label : feedbackLabel
320
320
  })]
321
321
  }) : null, /* @__PURE__ */ jsx(MenuButton, {
322
- className: "clarify-content-actions-trigger clarify-ui-control inline-flex size-9 items-center justify-center rounded-md border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) shadow-xs shadow-zinc-900/5 transition",
322
+ className: "clarify-content-actions-trigger clarify-ui-control inline-flex size-9 items-center justify-center rounded-(--clarify-theme-tokens-radius-md) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) shadow-(--clarify-ui-shadow-raised) shadow-zinc-900/5 transition",
323
323
  "aria-label": t("contentActions.copyOptions"),
324
324
  children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-3.5 w-3.5" })
325
325
  })]
326
326
  }),
327
327
  feedbackAction && copyPhase !== "idle" && copied !== primaryAction?.key ? /* @__PURE__ */ jsxs("div", {
328
328
  role: "status",
329
- className: "absolute top-full right-0 mt-2 inline-flex items-center gap-1.5 whitespace-nowrap rounded-md border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) px-2.5 py-1.5 text-xs shadow-lg shadow-zinc-900/10",
330
- children: [copyPhase === "copying" ? /* @__PURE__ */ jsx(LoaderCircle, { className: "h-3.5 w-3.5 animate-spin" }) : copyPhase === "copied" ? /* @__PURE__ */ jsx(Check, { className: "h-3.5 w-3.5 text-(--clarify-theme-tokens-colors-primary)" }) : /* @__PURE__ */ jsx(X, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ jsx("span", { children: feedbackLabel })]
329
+ className: "absolute top-full right-0 mt-2 inline-flex items-center gap-1.5 whitespace-nowrap rounded-(--clarify-theme-tokens-radius-md) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) px-2.5 py-1.5 text-xs shadow-(--clarify-ui-shadow-popover) shadow-zinc-900/10",
330
+ children: [copyPhase === "copying" ? /* @__PURE__ */ jsx(LoaderCircle, { className: "h-3.5 w-3.5 animate-spin" }) : copyPhase === "copied" ? /* @__PURE__ */ jsx(Check, { className: "h-3.5 w-3.5 text-(--clarify-tone-success-icon)" }) : /* @__PURE__ */ jsx(X, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ jsx("span", { children: feedbackLabel })]
331
331
  }) : null,
332
332
  /* @__PURE__ */ jsxs(MenuItems, {
333
333
  modal: false,
334
334
  anchor: "bottom end",
335
- className: "clarify-content-actions-list clarify-ui-menu z-30 mt-2 w-(--clarify-ui-action-menu-width) origin-top-right rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) p-1.5 shadow-xl shadow-zinc-900/5 transition [--anchor-gap:--spacing(2)] focus:outline-none data-closed:scale-95 data-closed:opacity-0",
335
+ className: "clarify-content-actions-list clarify-ui-menu z-30 mt-2 w-(--clarify-ui-action-menu-width) origin-top-right rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) p-1.5 shadow-(--clarify-ui-shadow-popover) shadow-zinc-900/5 transition [--anchor-gap:--spacing(2)] focus:outline-none data-closed:scale-95 data-closed:opacity-0",
336
336
  children: [
337
337
  actions.slice(0, 1).map((action) => {
338
338
  const Icon = action.icon;
@@ -356,7 +356,7 @@ function ContentActions(arg0) {
356
356
  children: action.description
357
357
  })]
358
358
  }),
359
- /* @__PURE__ */ jsx(Check, { className: `h-3.5 w-3.5 shrink-0 text-(--clarify-theme-tokens-colors-primary) transition ${isCopied ? "opacity-100" : "opacity-0"}` })
359
+ /* @__PURE__ */ jsx(Check, { className: `h-3.5 w-3.5 shrink-0 text-(--clarify-tone-success-icon) transition ${isCopied ? "opacity-100" : "opacity-0"}` })
360
360
  ]
361
361
  }) }, action.key);
362
362
  }),
@@ -380,7 +380,7 @@ function ContentActions(arg0) {
380
380
  children: viewDescription
381
381
  })]
382
382
  }),
383
- /* @__PURE__ */ jsx(Check, { className: "h-3.5 w-3.5 shrink-0 text-(--clarify-theme-tokens-colors-primary) opacity-0" })
383
+ /* @__PURE__ */ jsx(Check, { className: "h-3.5 w-3.5 shrink-0 text-(--clarify-tone-success-icon) opacity-0" })
384
384
  ]
385
385
  }) }) : null,
386
386
  actions.slice(1).map((action) => {
@@ -405,7 +405,7 @@ function ContentActions(arg0) {
405
405
  children: action.description
406
406
  })]
407
407
  }),
408
- /* @__PURE__ */ jsx(Check, { className: `h-3.5 w-3.5 shrink-0 text-(--clarify-theme-tokens-colors-primary) transition ${isCopied ? "opacity-100" : "opacity-0"}` })
408
+ /* @__PURE__ */ jsx(Check, { className: `h-3.5 w-3.5 shrink-0 text-(--clarify-tone-success-icon) transition ${isCopied ? "opacity-100" : "opacity-0"}` })
409
409
  ]
410
410
  }) }, action.key);
411
411
  }),
@@ -428,7 +428,7 @@ function ContentActions(arg0) {
428
428
  children: llmsAction.description
429
429
  })]
430
430
  }),
431
- /* @__PURE__ */ jsx(Check, { className: `h-3.5 w-3.5 shrink-0 text-(--clarify-theme-tokens-colors-primary) transition ${copied === llmsAction.key ? "opacity-100" : "opacity-0"}` })
431
+ /* @__PURE__ */ jsx(Check, { className: `h-3.5 w-3.5 shrink-0 text-(--clarify-tone-success-icon) transition ${copied === llmsAction.key ? "opacity-100" : "opacity-0"}` })
432
432
  ]
433
433
  }) }, llmsAction.key) : null,
434
434
  mcpEnabled ? /* @__PURE__ */ jsx(MenuItem, { children: /* @__PURE__ */ jsxs("button", {
@@ -450,7 +450,7 @@ function ContentActions(arg0) {
450
450
  children: mcpAction.description
451
451
  })]
452
452
  }),
453
- /* @__PURE__ */ jsx(Check, { className: `h-3.5 w-3.5 shrink-0 text-(--clarify-theme-tokens-colors-primary) transition ${copied === mcpAction.key ? "opacity-100" : "opacity-0"}` })
453
+ /* @__PURE__ */ jsx(Check, { className: `h-3.5 w-3.5 shrink-0 text-(--clarify-tone-success-icon) transition ${copied === mcpAction.key ? "opacity-100" : "opacity-0"}` })
454
454
  ]
455
455
  }) }, mcpAction.key) : null
456
456
  ]
@@ -547,7 +547,7 @@ function ThemeToggle() {
547
547
  }), /* @__PURE__ */ jsx(MenuItems, {
548
548
  transition: true,
549
549
  modal: false,
550
- className: "clarify-theme-toggle-menu clarify-ui-menu absolute right-0 z-50 mt-2 w-(--clarify-ui-menu-width) rounded-(--clarify-theme-tokens-radius-xl) bg-(--clarify-theme-tokens-colors-surface) p-1 shadow-lg ring-1 shadow-zinc-900/5 ring-(--clarify-theme-tokens-colors-border) transition data-closed:scale-95 data-closed:opacity-0 data-enter:duration-100 data-enter:ease-out data-leave:duration-75 data-leave:ease-in dark:bg-zinc-900 dark:ring-white/10",
550
+ className: "clarify-theme-toggle-menu clarify-ui-menu absolute right-0 z-50 mt-2 w-(--clarify-ui-menu-width) rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-ui-border) bg-(--clarify-ui-surface-elevated) p-1 shadow-(--clarify-ui-shadow-popover) transition data-closed:scale-95 data-closed:opacity-0 data-enter:duration-100 data-enter:ease-out data-leave:duration-75 data-leave:ease-in",
551
551
  children: themeOptions.map((option) => {
552
552
  const Icon = option.icon;
553
553
  const selected = option.value === theme;
@@ -740,6 +740,16 @@ function useSectionStore(selector) {
740
740
  return useStore(store, selector);
741
741
  }
742
742
  //#endregion
743
+ //#region source/openapi/components/DeprecatedBadge.tsx
744
+ function DeprecatedBadge(props) {
745
+ const { className } = props;
746
+ const t = useBuiltInText();
747
+ return /* @__PURE__ */ jsx("span", {
748
+ className: clsx("inline-flex shrink-0 items-center rounded-(--clarify-theme-tokens-radius-sm) border border-(--clarify-tone-warning-border) bg-(--clarify-tone-warning-background) px-1.5 py-0.5 align-middle text-xs font-medium leading-4 whitespace-nowrap text-(--clarify-tone-warning-text)", className),
749
+ children: t("openapi.deprecated")
750
+ });
751
+ }
752
+ //#endregion
743
753
  //#region source/shell/Navigation.tsx
744
754
  function normalizePath(path) {
745
755
  return path === "" ? "/" : path;
@@ -755,15 +765,15 @@ function containsActivePath(node, pathname, currentLocale) {
755
765
  return isSameRoutePath(node.path, pathname, currentLocale) || node.children?.some((child) => containsActivePath(child, pathname, currentLocale)) || false;
756
766
  }
757
767
  var sectionBadgeColorStyles = {
758
- GET: "text-emerald-500 dark:text-emerald-400",
759
- POST: "text-sky-500 dark:text-sky-400",
760
- PUT: "text-amber-500 dark:text-amber-400",
761
- PATCH: "text-amber-500 dark:text-amber-400",
762
- DELETE: "text-red-500 dark:text-rose-500",
763
- OPTIONS: "text-violet-500 dark:text-violet-400",
764
- HEAD: "text-zinc-500 dark:text-zinc-400",
765
- TRACE: "text-fuchsia-500 dark:text-fuchsia-400",
766
- WEBHOOK: "text-violet-500 dark:text-violet-400"
768
+ GET: "text-(--clarify-http-method-get-text)",
769
+ POST: "text-(--clarify-http-method-post-text)",
770
+ PUT: "text-(--clarify-http-method-put-text)",
771
+ PATCH: "text-(--clarify-http-method-patch-text)",
772
+ DELETE: "text-(--clarify-http-method-delete-text)",
773
+ OPTIONS: "text-(--clarify-http-method-options-text)",
774
+ HEAD: "text-(--clarify-http-method-head-text)",
775
+ TRACE: "text-(--clarify-http-method-trace-text)",
776
+ WEBHOOK: "text-(--clarify-http-method-webhook-text)"
767
777
  };
768
778
  function SectionBadge(arg0) {
769
779
  const { children } = arg0;
@@ -870,10 +880,14 @@ function NavigationPage(arg0) {
870
880
  children: Array.from({ length: Math.max(1, (section.level ?? 2) - 1) }, (_, index) => /* @__PURE__ */ jsx(ChevronRight, { className: "invisible h-3.5 w-3.5" }, index))
871
881
  }), /* @__PURE__ */ jsxs("span", {
872
882
  className: "flex min-w-0 flex-1 items-center gap-2",
873
- children: [section.badge ? /* @__PURE__ */ jsx(SectionBadge, { children: section.badge }) : null, /* @__PURE__ */ jsx("span", {
874
- className: "min-w-0 flex-1 truncate whitespace-nowrap",
875
- children: section.title
876
- })]
883
+ children: [
884
+ section.badge ? /* @__PURE__ */ jsx(SectionBadge, { children: section.badge }) : null,
885
+ /* @__PURE__ */ jsx("span", {
886
+ className: "min-w-0 flex-1 truncate whitespace-nowrap",
887
+ children: section.title
888
+ }),
889
+ section.deprecated ? /* @__PURE__ */ jsx(DeprecatedBadge, {}) : null
890
+ ]
877
891
  })]
878
892
  }) }, section.id))
879
893
  }) : null
@@ -1028,19 +1042,19 @@ function MobileTabsSelect(arg0) {
1028
1042
  as: "div",
1029
1043
  className: "clarify-mobile-tabs-select mb-6",
1030
1044
  children: [/* @__PURE__ */ jsxs(MenuButton, {
1031
- className: "clarify-mobile-tabs-select-trigger clarify-ui-control group flex h-10 w-full items-center justify-between gap-2 rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-theme-tokens-colors-border) px-4 text-left font-semibold shadow-xs shadow-zinc-900/5 transition dark:border-white/10",
1045
+ className: "clarify-mobile-tabs-select-trigger clarify-ui-control group flex h-10 w-full items-center justify-between gap-2 rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-ui-border) bg-(--clarify-ui-surface) px-4 text-left font-semibold shadow-(--clarify-ui-shadow-raised) transition",
1032
1046
  children: [/* @__PURE__ */ jsxs("span", {
1033
1047
  className: "flex min-w-0 items-center gap-2",
1034
1048
  children: [/* @__PURE__ */ jsx(NavigationIcon, {
1035
1049
  name: activeTab.icon,
1036
- className: "h-4 w-4 shrink-0 text-(--clarify-theme-tokens-colors-primary)"
1050
+ className: "h-4 w-4 shrink-0 text-(--clarify-brand-navigation-icon)"
1037
1051
  }), /* @__PURE__ */ jsx("span", {
1038
1052
  className: "truncate",
1039
1053
  children: activeTab.title
1040
1054
  })]
1041
1055
  }), /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 shrink-0 text-(--clarify-theme-tokens-colors-muted) transition-transform group-aria-expanded:rotate-180" })]
1042
1056
  }), /* @__PURE__ */ jsx(MenuItems, {
1043
- className: "clarify-mobile-tabs-select-list clarify-ui-menu mt-2 flex flex-col gap-1 rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) p-1 shadow-lg shadow-zinc-900/5 focus:outline-none dark:border-white/10 dark:bg-zinc-900 dark:shadow-none",
1057
+ className: "clarify-mobile-tabs-select-list clarify-ui-menu mt-2 flex flex-col gap-1 rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-ui-border) bg-(--clarify-ui-surface-elevated) p-1 shadow-(--clarify-ui-shadow-popover) focus:outline-none",
1044
1058
  children: tabs.map((tab) => {
1045
1059
  const active = isActiveTab$1(tab, pathname, currentLocale);
1046
1060
  return /* @__PURE__ */ jsx(MenuItem, { children: /* @__PURE__ */ jsxs(Link, {
@@ -1081,7 +1095,7 @@ function MobileNavigationDialog(arg0) {
1081
1095
  className: "data-closed:opacity-0 data-enter:duration-300 data-enter:ease-out data-leave:duration-200 data-leave:ease-in"
1082
1096
  }) }), /* @__PURE__ */ jsx(TransitionChild, { children: /* @__PURE__ */ jsxs(motion.div, {
1083
1097
  layoutScroll: true,
1084
- className: "clarify-mobile-navigation-panel fixed top-14 bottom-0 left-0 w-full max-w-sm overflow-y-auto bg-(--clarify-theme-tokens-colors-background) px-4 pt-6 pb-4 shadow-lg ring-1 shadow-zinc-900/10 ring-(--clarify-theme-tokens-colors-border) duration-500 ease-in-out data-closed:-translate-x-full sm:px-6 sm:pb-10 dark:bg-zinc-950 dark:ring-zinc-800",
1098
+ className: "clarify-mobile-navigation-panel fixed top-14 bottom-0 left-0 w-full max-w-sm overflow-y-auto bg-(--clarify-theme-tokens-colors-background) px-4 pt-6 pb-4 ring-1 ring-(--clarify-ui-border) duration-500 ease-in-out data-closed:-translate-x-full sm:px-6 sm:pb-10",
1085
1099
  children: [/* @__PURE__ */ jsx(MobileTabsSelect, {
1086
1100
  tabs,
1087
1101
  currentLocale
@@ -1114,7 +1128,7 @@ function MobileNavigation(arg0) {
1114
1128
  className: "clarify-mobile-navigation-button clarify-ui-icon-button relative flex size-9 items-center justify-center rounded-(--clarify-theme-tokens-radius-md) transition",
1115
1129
  "aria-label": t("navigation.toggle"),
1116
1130
  onClick: toggle,
1117
- children: [/* @__PURE__ */ jsx("span", { className: "absolute size-11 pointer-fine:hidden" }), /* @__PURE__ */ jsx(ToggleIcon, { className: "h-4 w-4 stroke-(--clarify-theme-tokens-colors-foreground) dark:stroke-white" })]
1131
+ children: [/* @__PURE__ */ jsx("span", { className: "absolute size-11 pointer-fine:hidden" }), /* @__PURE__ */ jsx(ToggleIcon, { className: "h-4 w-4 stroke-(--clarify-ui-text-strong)" })]
1118
1132
  }), !isInsideMobileNavigation ? /* @__PURE__ */ jsx(Suspense, {
1119
1133
  fallback: null,
1120
1134
  children: /* @__PURE__ */ jsx(MobileNavigationDialog, {
@@ -1149,7 +1163,7 @@ function useSearchProps() {
1149
1163
  }
1150
1164
  //#endregion
1151
1165
  //#region source/shell/Search.tsx
1152
- var SearchDialog = lazy(() => import("./SearchDialog-BKl8YlX5.js"));
1166
+ var SearchDialog = lazy(() => import("./SearchDialog-B4MS3QuJ.js"));
1153
1167
  function getModifierKey() {
1154
1168
  if (typeof navigator === "undefined") return "Ctrl ";
1155
1169
  return /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform) ? "⌘" : "Ctrl ";
@@ -1166,11 +1180,11 @@ function Search$1(arg0) {
1166
1180
  className: compact ? "clarify-search hidden lg:block" : "clarify-search hidden w-80 max-w-(--clarify-search-max-width) lg:block",
1167
1181
  children: [/* @__PURE__ */ jsxs("button", {
1168
1182
  type: "button",
1169
- className: compact ? "clarify-search-button clarify-ui-control hidden size-9 items-center justify-center rounded-(--clarify-theme-tokens-radius-md) transition lg:flex" : "clarify-search-button hidden h-9 w-full items-center gap-2 rounded-(--clarify-theme-tokens-radius-lg) bg-(--clarify-theme-tokens-colors-surface) pr-3 pl-2.5 font-medium ring-1 ring-(--clarify-theme-tokens-colors-border) transition hover:bg-(--clarify-theme-tokens-colors-background) lg:flex dark:bg-white/5 dark:ring-white/10 dark:ring-inset dark:hover:bg-white/10",
1183
+ className: compact ? "clarify-search-button clarify-ui-control hidden size-9 items-center justify-center rounded-(--clarify-theme-tokens-radius-md) transition lg:flex" : "clarify-search-button hidden h-9 w-full items-center gap-2 rounded-(--clarify-theme-tokens-radius-lg) bg-(--clarify-ui-surface) pr-3 pl-2.5 font-medium ring-1 ring-(--clarify-ui-border) transition hover:bg-(--clarify-ui-hover-background) lg:flex",
1170
1184
  "aria-label": compact ? t("search.placeholder") : void 0,
1171
1185
  ...buttonProps,
1172
1186
  children: [/* @__PURE__ */ jsx(Search, { className: "h-5 w-5 stroke-current" }), !compact ? /* @__PURE__ */ jsxs(Fragment$1, { children: [t("search.button"), /* @__PURE__ */ jsxs("kbd", {
1173
- className: "clarify-search-shortcut ml-auto rounded-(--clarify-theme-tokens-radius-sm) bg-(--clarify-theme-tokens-colors-background) px-1.5 py-0.5 ring-1 ring-(--clarify-theme-tokens-colors-border) dark:bg-white/5 dark:ring-white/10",
1187
+ className: "clarify-search-shortcut ml-auto rounded-(--clarify-theme-tokens-radius-sm) bg-(--clarify-ui-subtle-background) px-1.5 py-0.5 ring-1 ring-(--clarify-ui-border)",
1174
1188
  children: [/* @__PURE__ */ jsx("kbd", {
1175
1189
  className: "font-sans",
1176
1190
  children: modifierKey
@@ -1207,7 +1221,7 @@ function MobileSearch(arg0) {
1207
1221
  className: "clarify-mobile-search-button clarify-ui-control relative flex size-9 items-center justify-center rounded-(--clarify-theme-tokens-radius-md) transition lg:hidden",
1208
1222
  "aria-label": t("search.placeholder"),
1209
1223
  ...buttonProps,
1210
- children: [/* @__PURE__ */ jsx("span", { className: "absolute size-11 pointer-fine:hidden" }), /* @__PURE__ */ jsx(Search, { className: "h-5 w-5 stroke-(--clarify-theme-tokens-colors-foreground) dark:stroke-white" })]
1224
+ children: [/* @__PURE__ */ jsx("span", { className: "absolute size-11 pointer-fine:hidden" }), /* @__PURE__ */ jsx(Search, { className: "h-5 w-5 stroke-(--clarify-ui-text-strong)" })]
1211
1225
  }), /* @__PURE__ */ jsx(Suspense, {
1212
1226
  fallback: null,
1213
1227
  children: /* @__PURE__ */ jsx(SearchDialog, {
@@ -1285,7 +1299,7 @@ function LanguageSwitcher(arg0) {
1285
1299
  }), /* @__PURE__ */ jsx(MenuItems, {
1286
1300
  transition: true,
1287
1301
  modal: false,
1288
- className: "clarify-language-switcher-menu clarify-ui-menu absolute right-0 z-50 mt-2 w-(--clarify-ui-menu-width) rounded-(--clarify-theme-tokens-radius-xl) bg-(--clarify-theme-tokens-colors-surface) p-1 shadow-lg ring-1 shadow-zinc-900/5 ring-(--clarify-theme-tokens-colors-border) transition data-closed:scale-95 data-closed:opacity-0 data-enter:duration-100 data-enter:ease-out data-leave:duration-75 data-leave:ease-in dark:bg-zinc-900 dark:ring-white/10",
1302
+ className: "clarify-language-switcher-menu clarify-ui-menu absolute right-0 z-50 mt-2 w-(--clarify-ui-menu-width) rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-ui-border) bg-(--clarify-ui-surface-elevated) p-1 shadow-(--clarify-ui-shadow-popover) transition data-closed:scale-95 data-closed:opacity-0 data-enter:duration-100 data-enter:ease-out data-leave:duration-75 data-leave:ease-in",
1289
1303
  children: locales.locales.flatMap((locale) => {
1290
1304
  const localizedPath = localizedRoutePath(config, locale.code, currentRoute);
1291
1305
  if (!localizedPath) return [];
@@ -1454,7 +1468,7 @@ function NavbarMenus(arg0) {
1454
1468
  }), /* @__PURE__ */ jsx(MenuItems, {
1455
1469
  anchor: "bottom start",
1456
1470
  transition: true,
1457
- className: "clarify-ui-menu z-50 mt-2 min-w-48 rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) p-1 shadow-lg transition [--anchor-gap:--spacing(2)] focus:outline-none data-closed:scale-95 data-closed:opacity-0 dark:border-white/10 dark:bg-zinc-900",
1471
+ className: "clarify-ui-menu z-50 mt-2 min-w-48 rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-ui-border) bg-(--clarify-ui-surface-elevated) p-1 shadow-(--clarify-ui-shadow-popover) transition [--anchor-gap:--spacing(2)] focus:outline-none data-closed:scale-95 data-closed:opacity-0",
1458
1472
  children: /* @__PURE__ */ jsx(NavbarMenuItems, {
1459
1473
  items: menu.items,
1460
1474
  config,
@@ -1480,7 +1494,7 @@ function MobileNavbarMenu(arg0) {
1480
1494
  }), /* @__PURE__ */ jsx(MenuItems, {
1481
1495
  transition: true,
1482
1496
  anchor: "bottom end",
1483
- className: "clarify-mobile-navbar-menu-list clarify-ui-menu z-50 mt-2 w-(--clarify-ui-menu-width) rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) p-1 shadow-lg transition [--anchor-gap:--spacing(2)] focus:outline-none data-closed:scale-95 data-closed:opacity-0 dark:border-white/10 dark:bg-zinc-900",
1497
+ className: "clarify-mobile-navbar-menu-list clarify-ui-menu z-50 mt-2 w-(--clarify-ui-menu-width) rounded-(--clarify-theme-tokens-radius-xl) border border-(--clarify-ui-border) bg-(--clarify-ui-surface-elevated) p-1 shadow-(--clarify-ui-shadow-popover) transition [--anchor-gap:--spacing(2)] focus:outline-none data-closed:scale-95 data-closed:opacity-0",
1484
1498
  children: /* @__PURE__ */ jsx(NavbarMenuItems, {
1485
1499
  items: menus,
1486
1500
  config,
@@ -1542,7 +1556,7 @@ function ProductTabs(arg0) {
1542
1556
  if (!tabs?.length) return null;
1543
1557
  return /* @__PURE__ */ jsx("div", {
1544
1558
  "data-clarify-header-tabs": true,
1545
- className: "clarify-product-tabs hidden h-14 border-t border-(--clarify-theme-tokens-colors-border) lg:block dark:border-white/10",
1559
+ className: "clarify-product-tabs hidden h-14 border-t border-(--clarify-ui-border) lg:block",
1546
1560
  children: /* @__PURE__ */ jsxs("div", {
1547
1561
  className: "clarify-product-tabs-frame relative mx-auto h-full w-full max-w-(--clarify-theme-layout-max-width)",
1548
1562
  "data-at-start": scrollState.start || void 0,
@@ -1673,7 +1687,7 @@ var Header = forwardRef(function Header(arg0, ref) {
1673
1687
  currentLocale
1674
1688
  }) : null,
1675
1689
  renderTopLinks(),
1676
- hasNavbarMenus ? /* @__PURE__ */ jsx("div", { className: "mx-2 hidden h-5 w-px bg-(--clarify-theme-tokens-colors-border) md:block md:dark:bg-white/15" }) : null,
1690
+ hasNavbarMenus ? /* @__PURE__ */ jsx("div", { className: "mx-2 hidden h-5 w-px bg-(--clarify-ui-border-strong) md:block" }) : null,
1677
1691
  /* @__PURE__ */ jsx(MobileSearch, {
1678
1692
  routes,
1679
1693
  navigation
@@ -1741,7 +1755,7 @@ var Header = forwardRef(function Header(arg0, ref) {
1741
1755
  ...props,
1742
1756
  ref,
1743
1757
  "data-pagefind-ignore": true,
1744
- className: clsx(className, "clarify-header fixed inset-x-0 top-0 z-50 border-b border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background)/(--bg-opacity-light) backdrop-blur-xs transition dark:border-white/10 dark:bg-zinc-950/(--bg-opacity-dark) dark:backdrop-blur-sm", isInsideMobileNavigation && "bg-(--clarify-theme-tokens-colors-background) dark:bg-zinc-950"),
1758
+ className: clsx(className, "clarify-header fixed inset-x-0 top-0 z-50 border-b border-(--clarify-ui-border) bg-(--clarify-theme-tokens-colors-background)/(--bg-opacity-light) backdrop-blur-xs transition dark:bg-(--clarify-theme-tokens-colors-background)/(--bg-opacity-dark) dark:backdrop-blur-sm", isInsideMobileNavigation && "bg-(--clarify-theme-tokens-colors-background)"),
1745
1759
  style: {
1746
1760
  "--bg-opacity-light": bgOpacityLight,
1747
1761
  "--bg-opacity-dark": bgOpacityDark
@@ -1818,6 +1832,6 @@ function PageMetadata(props) {
1818
1832
  });
1819
1833
  }
1820
1834
  //#endregion
1821
- export { getStoredThemePreference as C, storeThemePreference as D, storeLocalePreference as E, themeCookieName as O, getStoredLocalePreference as S, readLocaleCookie as T, resolveHomeHref as _, Navigation as a, normalizeRoutePath as b, remToPx as c, ThemeToggle as d, ThemeProvider as f, prefixHref as g, localizeHref as h, Header as i, lucideIconRegistry as l, isExternalHref as m, PageActionsProvider as n, SectionProvider as o, useTheme as p, PageMetadata as r, useSectionStore as s, PageActions as t, resolveLucideIconName as u, copyTextToClipboard as v, localeCookieName as w, resolveLocalizedText as x, isSameRoutePath as y };
1835
+ export { getStoredLocalePreference as C, storeLocalePreference as D, readLocaleCookie as E, storeThemePreference as O, resolveLocalizedText as S, localeCookieName as T, prefixHref as _, Navigation as a, isSameRoutePath as b, useSectionStore as c, resolveLucideIconName as d, ThemeToggle as f, localizeHref as g, isExternalHref as h, Header as i, themeCookieName as k, remToPx as l, useTheme as m, PageActionsProvider as n, DeprecatedBadge as o, ThemeProvider as p, PageMetadata as r, SectionProvider as s, PageActions as t, lucideIconRegistry as u, resolveHomeHref as v, getStoredThemePreference as w, normalizeRoutePath as x, copyTextToClipboard as y };
1822
1836
 
1823
- //# sourceMappingURL=PageActions-BszP_J4e.js.map
1837
+ //# sourceMappingURL=PageActions-B98vbZRP.js.map