@krak-stack/registry 0.2.0 → 0.2.2

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 (64) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/components/ui/app-brand.js +17 -17
  3. package/dist/components/ui/code-block.js +6 -6
  4. package/dist/components/ui/color-picker.js +26 -28
  5. package/dist/components/ui/copy-button.js +4 -4
  6. package/dist/components/ui/data-table.js +441 -442
  7. package/dist/components/ui/editing-locale-switcher.js +10 -10
  8. package/dist/components/ui/effect-form.js +185 -186
  9. package/dist/components/ui/error-component.js +6 -6
  10. package/dist/components/ui/file-picker.js +2 -2
  11. package/dist/components/ui/form.d.ts +5 -5
  12. package/dist/components/ui/form.js +138 -139
  13. package/dist/components/ui/google-map.js +2 -2
  14. package/dist/components/ui/icon-input.js +47 -50
  15. package/dist/components/ui/krakstack-provider.js +2 -2
  16. package/dist/components/ui/locale-switcher.js +4 -4
  17. package/dist/components/ui/pagination.js +2 -2
  18. package/dist/components/ui/search-menu.js +2 -2
  19. package/dist/components/ui/sidebar-layout.js +67 -72
  20. package/dist/components/ui/theme-switcher.js +6 -6
  21. package/dist/components/ui/virtualized-combobox.js +33 -36
  22. package/dist/lib/docs.js +166 -171
  23. package/dist/lib/docs.server.js +18 -40
  24. package/dist/lib/documentation-toolkit.js +19 -41
  25. package/dist/lib/httpapi-adapter.js +2 -2
  26. package/dist/lib/httpapi-cli.js +7 -7
  27. package/dist/lib/query.js +11 -11
  28. package/dist/lib/seo.js +2 -2
  29. package/dist/lib/webfetch-toolkit.js +6 -6
  30. package/dist/oxlint/anti-slop/index.js +2 -2
  31. package/dist/services/agent/client/index.js +153 -155
  32. package/dist/services/agent/index.js +2 -2
  33. package/dist/services/agent/schema.js +5 -5
  34. package/dist/services/events/browser.js +6 -6
  35. package/dist/services/events/client/audit-log-table.js +445 -446
  36. package/dist/services/events/index.js +59 -59
  37. package/dist/services/events/migrations.js +2 -2
  38. package/dist/services/events/record.js +2 -2
  39. package/dist/services/events/schema.js +39 -39
  40. package/dist/services/file-extraction/index.js +4 -4
  41. package/dist/services/file-extraction/schema.js +2 -2
  42. package/dist/services/health/index.js +9 -9
  43. package/dist/services/notification/channels/ses/index.js +2 -2
  44. package/dist/services/notification/channels/ses/schema.js +2 -2
  45. package/dist/services/notification/client/index.js +5 -5
  46. package/dist/services/notification/index.js +2 -2
  47. package/dist/services/notification/persistence/drizzle.js +2 -2
  48. package/dist/services/notification/persistence/index.js +15 -15
  49. package/dist/services/notification/persistence/schema.js +12 -12
  50. package/dist/services/notification/public.js +7 -7
  51. package/dist/services/notification/schema.js +2 -2
  52. package/dist/services/opentelemetry/api.js +2 -2
  53. package/dist/services/opentelemetry/browser.js +7 -7
  54. package/dist/services/opentelemetry/web-vitals.js +2 -2
  55. package/dist/services/s3/index.js +2 -2
  56. package/dist/services/s3/schema.js +2 -2
  57. package/dist/services/speech/schema.js +9 -9
  58. package/dist/services/webhooks/client/delivery-table.js +479 -480
  59. package/dist/services/webhooks/http-client.js +5 -5
  60. package/dist/services/webhooks/index.js +34 -34
  61. package/dist/services/webhooks/migrations.js +5 -5
  62. package/dist/services/webhooks/schema.js +20 -20
  63. package/dist/services/webhooks/url.js +5 -5
  64. package/package.json +1 -1
package/dist/lib/docs.js CHANGED
@@ -65,38 +65,38 @@ function AppBrand(brandProps) {
65
65
  ].filter(Boolean).join(" ");
66
66
  if (isStaticBrand(brandProps)) {
67
67
  const {
68
- className: _className2,
69
- label: _label2,
70
- subtitle: _subtitle2,
71
- icon: _icon2,
72
- imageSrc: _imageSrc2,
73
- variant: _variant2,
68
+ className: _className,
69
+ label: _label,
70
+ subtitle: _subtitle,
71
+ icon: _icon,
72
+ imageSrc: _imageSrc,
73
+ variant: _variant,
74
74
  to: _to,
75
- href: _href2,
76
- ...props2
75
+ href: _href,
76
+ ...props
77
77
  } = brandProps;
78
78
  return /* @__PURE__ */ jsx("div", {
79
79
  className: brandClassName,
80
- ...props2,
80
+ ...props,
81
81
  children: content
82
82
  });
83
83
  }
84
84
  if (isAnchorBrand(brandProps)) {
85
85
  const {
86
- className: _className2,
87
- label: _label2,
88
- subtitle: _subtitle2,
89
- icon: _icon2,
90
- imageSrc: _imageSrc2,
91
- variant: _variant2,
86
+ className: _className,
87
+ label: _label,
88
+ subtitle: _subtitle,
89
+ icon: _icon,
90
+ imageSrc: _imageSrc,
91
+ variant: _variant,
92
92
  to: _to,
93
93
  href,
94
- ...props2
94
+ ...props
95
95
  } = brandProps;
96
96
  return /* @__PURE__ */ jsx("a", {
97
97
  className: brandClassName,
98
98
  href,
99
- ...props2,
99
+ ...props,
100
100
  children: content
101
101
  });
102
102
  }
@@ -224,7 +224,7 @@ function CopyButton({
224
224
  valueDescription,
225
225
  copyVariant = "default",
226
226
  locale: localeOverride,
227
- messages: messages2,
227
+ messages,
228
228
  onCopied,
229
229
  onCopyError,
230
230
  resetDelay = 1500,
@@ -236,7 +236,7 @@ function CopyButton({
236
236
  const locale = useKrakstackLocale(localeOverride);
237
237
  const [copyState, setCopyState] = useState("idle");
238
238
  const copyTimeout = useRef(undefined);
239
- const labels = copyButtonMessages(locale, messages2);
239
+ const labels = copyButtonMessages(locale, messages);
240
240
  const accessibleLabel = ariaLabel ?? (valueDescription ? `${labels.copy} ${valueDescription}` : labels.copy);
241
241
  const isLarge = copyVariant === "large";
242
242
  const defaultSize = copyVariant === "sm" ? "icon-xs" : isLarge ? "sm" : "icon-sm";
@@ -338,12 +338,12 @@ function CodeBlock({
338
338
  code,
339
339
  language = "text",
340
340
  locale: localeOverride,
341
- messages: messages3
341
+ messages
342
342
  }) {
343
343
  const locale = useKrakstackLocale2(localeOverride);
344
344
  const normalizedLanguage = language.toLowerCase() || "text";
345
345
  const highlighted = highlight(code, { lang: normalizedLanguage });
346
- const labels = codeBlockMessages(locale, messages3);
346
+ const labels = codeBlockMessages(locale, messages);
347
347
  return /* @__PURE__ */ jsxs3("div", {
348
348
  className: "not-prose bg-muted overflow-hidden rounded-md border text-[var(--th-token)]",
349
349
  "data-code-theme": true,
@@ -382,7 +382,7 @@ var MarkdownContent = ({
382
382
  codeBlocks,
383
383
  html,
384
384
  locale,
385
- messages: messages3
385
+ messages
386
386
  }) => {
387
387
  const content = [];
388
388
  let remainingHtml = html;
@@ -401,7 +401,7 @@ var MarkdownContent = ({
401
401
  code: block.code,
402
402
  language: block.language,
403
403
  locale,
404
- messages: messages3
404
+ messages
405
405
  })
406
406
  }, `code-${index}`));
407
407
  remainingHtml = remainingHtml.slice(markerIndex + marker.length);
@@ -675,7 +675,7 @@ function SearchMenu({
675
675
  placeholder,
676
676
  inputPlaceholder,
677
677
  emptyMessage,
678
- messages: messages4,
678
+ messages,
679
679
  shortcutLabel = "⌘K",
680
680
  className,
681
681
  open,
@@ -686,7 +686,7 @@ function SearchMenu({
686
686
  shouldFilter
687
687
  }) {
688
688
  const locale = useKrakstackLocale3(localeOverride);
689
- const labels = searchMenuMessages(locale, messages4);
689
+ const labels = searchMenuMessages(locale, messages);
690
690
  const resolvedTitle = title ?? labels.title;
691
691
  const resolvedDescription = description ?? labels.description;
692
692
  const resolvedPlaceholder = placeholder ?? labels.placeholder;
@@ -826,31 +826,29 @@ function useIsMobile() {
826
826
 
827
827
  // ../../src/components/ui/input.tsx
828
828
  import { Input as InputPrimitive } from "@base-ui/react/input";
829
- import { jsx as jsx10 } from "react/jsx-runtime";
830
829
 
831
830
  // ../../src/components/ui/separator.tsx
832
831
  import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
833
- import { jsx as jsx11 } from "react/jsx-runtime";
834
832
 
835
833
  // ../../src/components/ui/sheet.tsx
836
834
  import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
837
835
  import { XIcon as XIcon2 } from "lucide-react";
838
- import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
836
+ import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
839
837
  "use client";
840
838
  function Sheet({ ...props }) {
841
- return /* @__PURE__ */ jsx12(SheetPrimitive.Root, {
839
+ return /* @__PURE__ */ jsx10(SheetPrimitive.Root, {
842
840
  "data-slot": "sheet",
843
841
  ...props
844
842
  });
845
843
  }
846
844
  function SheetPortal({ ...props }) {
847
- return /* @__PURE__ */ jsx12(SheetPrimitive.Portal, {
845
+ return /* @__PURE__ */ jsx10(SheetPrimitive.Portal, {
848
846
  "data-slot": "sheet-portal",
849
847
  ...props
850
848
  });
851
849
  }
852
850
  function SheetOverlay({ className, ...props }) {
853
- return /* @__PURE__ */ jsx12(SheetPrimitive.Backdrop, {
851
+ return /* @__PURE__ */ jsx10(SheetPrimitive.Backdrop, {
854
852
  "data-slot": "sheet-overlay",
855
853
  className: cn("fixed inset-0 z-50 bg-black/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs", className),
856
854
  ...props
@@ -865,7 +863,7 @@ function SheetContent({
865
863
  }) {
866
864
  return /* @__PURE__ */ jsxs7(SheetPortal, {
867
865
  children: [
868
- /* @__PURE__ */ jsx12(SheetOverlay, {}),
866
+ /* @__PURE__ */ jsx10(SheetOverlay, {}),
869
867
  /* @__PURE__ */ jsxs7(SheetPrimitive.Popup, {
870
868
  "data-slot": "sheet-content",
871
869
  "data-side": side,
@@ -875,14 +873,14 @@ function SheetContent({
875
873
  children,
876
874
  showCloseButton && /* @__PURE__ */ jsxs7(SheetPrimitive.Close, {
877
875
  "data-slot": "sheet-close",
878
- render: /* @__PURE__ */ jsx12(Button, {
876
+ render: /* @__PURE__ */ jsx10(Button, {
879
877
  variant: "ghost",
880
878
  className: "absolute top-4 right-4",
881
879
  size: "icon-sm"
882
880
  }),
883
881
  children: [
884
- /* @__PURE__ */ jsx12(XIcon2, {}),
885
- /* @__PURE__ */ jsx12("span", {
882
+ /* @__PURE__ */ jsx10(XIcon2, {}),
883
+ /* @__PURE__ */ jsx10("span", {
886
884
  className: "sr-only",
887
885
  children: "Close"
888
886
  })
@@ -894,14 +892,14 @@ function SheetContent({
894
892
  });
895
893
  }
896
894
  function SheetHeader({ className, ...props }) {
897
- return /* @__PURE__ */ jsx12("div", {
895
+ return /* @__PURE__ */ jsx10("div", {
898
896
  "data-slot": "sheet-header",
899
897
  className: cn("flex flex-col gap-1.5 p-4", className),
900
898
  ...props
901
899
  });
902
900
  }
903
901
  function SheetTitle({ className, ...props }) {
904
- return /* @__PURE__ */ jsx12(SheetPrimitive.Title, {
902
+ return /* @__PURE__ */ jsx10(SheetPrimitive.Title, {
905
903
  "data-slot": "sheet-title",
906
904
  className: cn("font-medium text-foreground", className),
907
905
  ...props
@@ -911,28 +909,25 @@ function SheetDescription({
911
909
  className,
912
910
  ...props
913
911
  }) {
914
- return /* @__PURE__ */ jsx12(SheetPrimitive.Description, {
912
+ return /* @__PURE__ */ jsx10(SheetPrimitive.Description, {
915
913
  "data-slot": "sheet-description",
916
914
  className: cn("text-sm text-muted-foreground", className),
917
915
  ...props
918
916
  });
919
917
  }
920
918
 
921
- // ../../src/components/ui/skeleton.tsx
922
- import { jsx as jsx13 } from "react/jsx-runtime";
923
-
924
919
  // ../../src/components/ui/tooltip.tsx
925
920
  import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
926
- import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
921
+ import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
927
922
  "use client";
928
923
  function Tooltip({ ...props }) {
929
- return /* @__PURE__ */ jsx14(TooltipPrimitive.Root, {
924
+ return /* @__PURE__ */ jsx11(TooltipPrimitive.Root, {
930
925
  "data-slot": "tooltip",
931
926
  ...props
932
927
  });
933
928
  }
934
929
  function TooltipTrigger({ ...props }) {
935
- return /* @__PURE__ */ jsx14(TooltipPrimitive.Trigger, {
930
+ return /* @__PURE__ */ jsx11(TooltipPrimitive.Trigger, {
936
931
  "data-slot": "tooltip-trigger",
937
932
  ...props
938
933
  });
@@ -946,8 +941,8 @@ function TooltipContent({
946
941
  children,
947
942
  ...props
948
943
  }) {
949
- return /* @__PURE__ */ jsx14(TooltipPrimitive.Portal, {
950
- children: /* @__PURE__ */ jsx14(TooltipPrimitive.Positioner, {
944
+ return /* @__PURE__ */ jsx11(TooltipPrimitive.Portal, {
945
+ children: /* @__PURE__ */ jsx11(TooltipPrimitive.Positioner, {
951
946
  align,
952
947
  alignOffset,
953
948
  side,
@@ -959,7 +954,7 @@ function TooltipContent({
959
954
  ...props,
960
955
  children: [
961
956
  children,
962
- /* @__PURE__ */ jsx14(TooltipPrimitive.Arrow, {
957
+ /* @__PURE__ */ jsx11(TooltipPrimitive.Arrow, {
963
958
  className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5"
964
959
  })
965
960
  ]
@@ -971,7 +966,7 @@ function TooltipContent({
971
966
  // ../../src/components/ui/sidebar.tsx
972
967
  import { PanelLeftIcon } from "lucide-react";
973
968
  import { Schema } from "effect";
974
- import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
969
+ import { jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
975
970
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
976
971
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
977
972
  var SIDEBAR_WIDTH = "16rem";
@@ -1008,7 +1003,7 @@ function SidebarProvider({
1008
1003
  document.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
1009
1004
  }, [setOpenProp]);
1010
1005
  const toggleSidebar = React2.useCallback(() => {
1011
- return isMobile ? setOpenMobile((open2) => !open2) : setOpen(!open);
1006
+ return isMobile ? setOpenMobile((open) => !open) : setOpen(!open);
1012
1007
  }, [isMobile, open, setOpen, setOpenMobile]);
1013
1008
  React2.useEffect(() => {
1014
1009
  const handleKeyDown = (event) => {
@@ -1035,9 +1030,9 @@ function SidebarProvider({
1035
1030
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
1036
1031
  ...style
1037
1032
  };
1038
- return /* @__PURE__ */ jsx15(SidebarContext.Provider, {
1033
+ return /* @__PURE__ */ jsx12(SidebarContext.Provider, {
1039
1034
  value: contextValue,
1040
- children: /* @__PURE__ */ jsx15("div", {
1035
+ children: /* @__PURE__ */ jsx12("div", {
1041
1036
  "data-slot": "sidebar-wrapper",
1042
1037
  style: wrapperStyle,
1043
1038
  className: cn("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar", className),
@@ -1057,7 +1052,7 @@ function Sidebar({
1057
1052
  }) {
1058
1053
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
1059
1054
  if (collapsible === "none") {
1060
- return /* @__PURE__ */ jsx15("div", {
1055
+ return /* @__PURE__ */ jsx12("div", {
1061
1056
  "data-slot": "sidebar",
1062
1057
  className: cn("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground", className),
1063
1058
  ...props,
@@ -1068,7 +1063,7 @@ function Sidebar({
1068
1063
  const mobileStyle = {
1069
1064
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE
1070
1065
  };
1071
- return /* @__PURE__ */ jsx15(Sheet, {
1066
+ return /* @__PURE__ */ jsx12(Sheet, {
1072
1067
  open: openMobile,
1073
1068
  onOpenChange: setOpenMobile,
1074
1069
  ...props,
@@ -1084,15 +1079,15 @@ function Sidebar({
1084
1079
  /* @__PURE__ */ jsxs9(SheetHeader, {
1085
1080
  className: "sr-only",
1086
1081
  children: [
1087
- /* @__PURE__ */ jsx15(SheetTitle, {
1082
+ /* @__PURE__ */ jsx12(SheetTitle, {
1088
1083
  children: "Sidebar"
1089
1084
  }),
1090
- /* @__PURE__ */ jsx15(SheetDescription, {
1085
+ /* @__PURE__ */ jsx12(SheetDescription, {
1091
1086
  children: "Displays the mobile sidebar."
1092
1087
  })
1093
1088
  ]
1094
1089
  }),
1095
- /* @__PURE__ */ jsx15("div", {
1090
+ /* @__PURE__ */ jsx12("div", {
1096
1091
  className: "flex h-full w-full flex-col",
1097
1092
  children
1098
1093
  })
@@ -1108,16 +1103,16 @@ function Sidebar({
1108
1103
  "data-side": side,
1109
1104
  "data-slot": "sidebar",
1110
1105
  children: [
1111
- /* @__PURE__ */ jsx15("div", {
1106
+ /* @__PURE__ */ jsx12("div", {
1112
1107
  "data-slot": "sidebar-gap",
1113
1108
  className: cn("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)")
1114
1109
  }),
1115
- /* @__PURE__ */ jsx15("div", {
1110
+ /* @__PURE__ */ jsx12("div", {
1116
1111
  "data-slot": "sidebar-container",
1117
1112
  "data-side": side,
1118
1113
  className: cn("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex", variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l", className),
1119
1114
  ...props,
1120
- children: /* @__PURE__ */ jsx15("div", {
1115
+ children: /* @__PURE__ */ jsx12("div", {
1121
1116
  "data-sidebar": "sidebar",
1122
1117
  "data-slot": "sidebar-inner",
1123
1118
  className: "bg-sidebar group-data-[variant=floating]:ring-sidebar-border flex size-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1",
@@ -1145,8 +1140,8 @@ function SidebarTrigger({
1145
1140
  },
1146
1141
  ...props,
1147
1142
  children: [
1148
- /* @__PURE__ */ jsx15(PanelLeftIcon, {}),
1149
- /* @__PURE__ */ jsx15("span", {
1143
+ /* @__PURE__ */ jsx12(PanelLeftIcon, {}),
1144
+ /* @__PURE__ */ jsx12("span", {
1150
1145
  className: "sr-only",
1151
1146
  children: "Toggle Sidebar"
1152
1147
  })
@@ -1155,7 +1150,7 @@ function SidebarTrigger({
1155
1150
  }
1156
1151
  function SidebarRail({ className, ...props }) {
1157
1152
  const { toggleSidebar } = useSidebar();
1158
- return /* @__PURE__ */ jsx15("button", {
1153
+ return /* @__PURE__ */ jsx12("button", {
1159
1154
  "data-sidebar": "rail",
1160
1155
  "data-slot": "sidebar-rail",
1161
1156
  "aria-label": "Toggle Sidebar",
@@ -1167,14 +1162,14 @@ function SidebarRail({ className, ...props }) {
1167
1162
  });
1168
1163
  }
1169
1164
  function SidebarInset({ className, ...props }) {
1170
- return /* @__PURE__ */ jsx15("main", {
1165
+ return /* @__PURE__ */ jsx12("main", {
1171
1166
  "data-slot": "sidebar-inset",
1172
1167
  className: cn("relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2", className),
1173
1168
  ...props
1174
1169
  });
1175
1170
  }
1176
1171
  function SidebarHeader({ className, ...props }) {
1177
- return /* @__PURE__ */ jsx15("div", {
1172
+ return /* @__PURE__ */ jsx12("div", {
1178
1173
  "data-slot": "sidebar-header",
1179
1174
  "data-sidebar": "header",
1180
1175
  className: cn("flex flex-col gap-2 p-2", className),
@@ -1182,7 +1177,7 @@ function SidebarHeader({ className, ...props }) {
1182
1177
  });
1183
1178
  }
1184
1179
  function SidebarFooter({ className, ...props }) {
1185
- return /* @__PURE__ */ jsx15("div", {
1180
+ return /* @__PURE__ */ jsx12("div", {
1186
1181
  "data-slot": "sidebar-footer",
1187
1182
  "data-sidebar": "footer",
1188
1183
  className: cn("flex flex-col gap-2 p-2", className),
@@ -1190,7 +1185,7 @@ function SidebarFooter({ className, ...props }) {
1190
1185
  });
1191
1186
  }
1192
1187
  function SidebarContent({ className, ...props }) {
1193
- return /* @__PURE__ */ jsx15("div", {
1188
+ return /* @__PURE__ */ jsx12("div", {
1194
1189
  "data-slot": "sidebar-content",
1195
1190
  "data-sidebar": "content",
1196
1191
  className: cn("no-scrollbar flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden", className),
@@ -1198,7 +1193,7 @@ function SidebarContent({ className, ...props }) {
1198
1193
  });
1199
1194
  }
1200
1195
  function SidebarGroup({ className, ...props }) {
1201
- return /* @__PURE__ */ jsx15("div", {
1196
+ return /* @__PURE__ */ jsx12("div", {
1202
1197
  "data-slot": "sidebar-group",
1203
1198
  "data-sidebar": "group",
1204
1199
  className: cn("relative flex w-full min-w-0 flex-col p-2", className),
@@ -1226,7 +1221,7 @@ function SidebarGroupContent({
1226
1221
  className,
1227
1222
  ...props
1228
1223
  }) {
1229
- return /* @__PURE__ */ jsx15("div", {
1224
+ return /* @__PURE__ */ jsx12("div", {
1230
1225
  "data-slot": "sidebar-group-content",
1231
1226
  "data-sidebar": "group-content",
1232
1227
  className: cn("w-full text-sm", className),
@@ -1234,7 +1229,7 @@ function SidebarGroupContent({
1234
1229
  });
1235
1230
  }
1236
1231
  function SidebarMenu({ className, ...props }) {
1237
- return /* @__PURE__ */ jsx15("ul", {
1232
+ return /* @__PURE__ */ jsx12("ul", {
1238
1233
  "data-slot": "sidebar-menu",
1239
1234
  "data-sidebar": "menu",
1240
1235
  className: cn("flex w-full min-w-0 flex-col gap-1", className),
@@ -1242,7 +1237,7 @@ function SidebarMenu({ className, ...props }) {
1242
1237
  });
1243
1238
  }
1244
1239
  function SidebarMenuItem({ className, ...props }) {
1245
- return /* @__PURE__ */ jsx15("li", {
1240
+ return /* @__PURE__ */ jsx12("li", {
1246
1241
  "data-slot": "sidebar-menu-item",
1247
1242
  "data-sidebar": "menu-item",
1248
1243
  className: cn("group/menu-item relative", className),
@@ -1281,7 +1276,7 @@ function SidebarMenuButton({
1281
1276
  props: mergeProps2({
1282
1277
  className: cn(sidebarMenuButtonVariants({ variant, size }), className)
1283
1278
  }, props),
1284
- render: !tooltip ? render : /* @__PURE__ */ jsx15(TooltipTrigger, {
1279
+ render: !tooltip ? render : /* @__PURE__ */ jsx12(TooltipTrigger, {
1285
1280
  render
1286
1281
  }),
1287
1282
  state: {
@@ -1298,7 +1293,7 @@ function SidebarMenuButton({
1298
1293
  return /* @__PURE__ */ jsxs9(Tooltip, {
1299
1294
  children: [
1300
1295
  comp,
1301
- /* @__PURE__ */ jsx15(TooltipContent, {
1296
+ /* @__PURE__ */ jsx12(TooltipContent, {
1302
1297
  side: "right",
1303
1298
  align: "center",
1304
1299
  hidden: state !== "collapsed" || isMobile,
@@ -1309,7 +1304,7 @@ function SidebarMenuButton({
1309
1304
  }
1310
1305
 
1311
1306
  // ../../src/components/ui/sidebar-layout.tsx
1312
- import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
1307
+ import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
1313
1308
  var SIDEBAR_COOKIE_NAME2 = "sidebar_state";
1314
1309
  var SidebarOpenCookie = Schema2.Literals(["true", "false"]).annotate({
1315
1310
  identifier: "SidebarOpenCookie"
@@ -1326,24 +1321,24 @@ function AppSidebar({ collapsible, footer, groups, header }) {
1326
1321
  return /* @__PURE__ */ jsxs10(Sidebar, {
1327
1322
  collapsible,
1328
1323
  children: [
1329
- header && /* @__PURE__ */ jsx16(SidebarHeader, {
1324
+ header && /* @__PURE__ */ jsx13(SidebarHeader, {
1330
1325
  children: header
1331
1326
  }),
1332
- /* @__PURE__ */ jsx16(SidebarContent, {
1327
+ /* @__PURE__ */ jsx13(SidebarContent, {
1333
1328
  className: "group-data-[collapsible=icon]:overflow-x-hidden group-data-[collapsible=icon]:overflow-y-auto",
1334
1329
  children: groups.map((group) => /* @__PURE__ */ jsxs10(SidebarGroup, {
1335
1330
  children: [
1336
- /* @__PURE__ */ jsx16(SidebarGroupLabel, {
1331
+ /* @__PURE__ */ jsx13(SidebarGroupLabel, {
1337
1332
  children: group.label()
1338
1333
  }),
1339
- /* @__PURE__ */ jsx16(SidebarGroupContent, {
1340
- children: /* @__PURE__ */ jsx16(SidebarMenu, {
1334
+ /* @__PURE__ */ jsx13(SidebarGroupContent, {
1335
+ children: /* @__PURE__ */ jsx13(SidebarMenu, {
1341
1336
  children: group.items.map((item) => {
1342
- const render = item.external ? /* @__PURE__ */ jsx16("a", {
1337
+ const render = item.external ? /* @__PURE__ */ jsx13("a", {
1343
1338
  href: item.href,
1344
1339
  target: "_blank",
1345
1340
  rel: "noreferrer"
1346
- }) : /* @__PURE__ */ jsx16(Link2, {
1341
+ }) : /* @__PURE__ */ jsx13(Link2, {
1347
1342
  to: item.href,
1348
1343
  activeOptions: {
1349
1344
  exact: item.exact ?? false,
@@ -1351,17 +1346,17 @@ function AppSidebar({ collapsible, footer, groups, header }) {
1351
1346
  },
1352
1347
  activeProps: { "data-active": "" }
1353
1348
  });
1354
- return /* @__PURE__ */ jsx16(SidebarMenuItem, {
1349
+ return /* @__PURE__ */ jsx13(SidebarMenuItem, {
1355
1350
  children: /* @__PURE__ */ jsxs10(SidebarMenuButton, {
1356
1351
  onClick: closeMobileSidebar,
1357
1352
  render,
1358
1353
  tooltip: item.label(),
1359
1354
  children: [
1360
- item.icon ? /* @__PURE__ */ jsx16(item.icon, {}) : null,
1361
- /* @__PURE__ */ jsx16("span", {
1355
+ item.icon ? /* @__PURE__ */ jsx13(item.icon, {}) : null,
1356
+ /* @__PURE__ */ jsx13("span", {
1362
1357
  children: item.label()
1363
1358
  }),
1364
- item.badge ? /* @__PURE__ */ jsx16(Badge, {
1359
+ item.badge ? /* @__PURE__ */ jsx13(Badge, {
1365
1360
  className: "ml-auto",
1366
1361
  variant: "secondary",
1367
1362
  children: item.badge()
@@ -1375,10 +1370,10 @@ function AppSidebar({ collapsible, footer, groups, header }) {
1375
1370
  ]
1376
1371
  }, group.label()))
1377
1372
  }),
1378
- footer ? /* @__PURE__ */ jsx16(SidebarFooter, {
1373
+ footer ? /* @__PURE__ */ jsx13(SidebarFooter, {
1379
1374
  children: footer
1380
1375
  }) : null,
1381
- /* @__PURE__ */ jsx16(SidebarRail, {})
1376
+ /* @__PURE__ */ jsx13(SidebarRail, {})
1382
1377
  ]
1383
1378
  });
1384
1379
  }
@@ -1399,7 +1394,7 @@ function SidebarLayout({
1399
1394
  onOpenChange: setSidebarOpen,
1400
1395
  className: cn(fullPage && "xl:h-svh xl:min-h-0 xl:overflow-hidden"),
1401
1396
  children: [
1402
- /* @__PURE__ */ jsx16(AppSidebar, {
1397
+ /* @__PURE__ */ jsx13(AppSidebar, {
1403
1398
  collapsible: sidebarCollapsible,
1404
1399
  footer: sidebarFooter,
1405
1400
  groups,
@@ -1411,16 +1406,16 @@ function SidebarLayout({
1411
1406
  /* @__PURE__ */ jsxs10("header", {
1412
1407
  className: "bg-background/95 supports-[backdrop-filter]:bg-background/60 sticky top-0 z-10 flex h-14 shrink-0 items-center gap-2 border-b px-4 backdrop-blur",
1413
1408
  children: [
1414
- /* @__PURE__ */ jsx16(SidebarTrigger, {}),
1415
- /* @__PURE__ */ jsx16("div", {
1409
+ /* @__PURE__ */ jsx13(SidebarTrigger, {}),
1410
+ /* @__PURE__ */ jsx13("div", {
1416
1411
  className: "ml-auto flex items-center gap-2",
1417
1412
  children: headerActions
1418
1413
  })
1419
1414
  ]
1420
1415
  }),
1421
- /* @__PURE__ */ jsx16("div", {
1416
+ /* @__PURE__ */ jsx13("div", {
1422
1417
  className: cn("isolate", contentClassName ?? "flex flex-col gap-6 px-5 py-6 md:px-8"),
1423
- children: children ?? /* @__PURE__ */ jsx16(Outlet, {})
1418
+ children: children ?? /* @__PURE__ */ jsx13(Outlet, {})
1424
1419
  })
1425
1420
  ]
1426
1421
  })
@@ -1542,7 +1537,7 @@ var createSeo = (defaults) => (options) => seo({
1542
1537
  });
1543
1538
 
1544
1539
  // ../../src/lib/docs.tsx
1545
- import { jsx as jsx17, jsxs as jsxs11, Fragment as Fragment3 } from "react/jsx-runtime";
1540
+ import { jsx as jsx14, jsxs as jsxs11, Fragment as Fragment3 } from "react/jsx-runtime";
1546
1541
  var SIDEBAR_COOKIE_NAME3 = "sidebar_state";
1547
1542
  var SidebarOpenCookie2 = Schema3.Literals(["true", "false"]).annotate({
1548
1543
  identifier: "SidebarOpenCookie"
@@ -1550,7 +1545,7 @@ var SidebarOpenCookie2 = Schema3.Literals(["true", "false"]).annotate({
1550
1545
  var getSidebarOpenCookie = createIsomorphicFn().server(() => getCookie(SIDEBAR_COOKIE_NAME3)).client(() => Cookies2.parseHeader(globalThis.document?.cookie ?? "")[SIDEBAR_COOKIE_NAME3]);
1551
1546
  var getSidebarDefaultOpen2 = () => Schema3.decodeUnknownOption(SidebarOpenCookie2)(getSidebarOpenCookie()).pipe(Option2.map((value) => value === "true"), Option2.getOrElse(() => true));
1552
1547
  var makeIcon = (name, paths) => {
1553
- const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx17("svg", {
1548
+ const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx14("svg", {
1554
1549
  "aria-hidden": "true",
1555
1550
  fill: "none",
1556
1551
  height: size,
@@ -1569,46 +1564,46 @@ var makeIcon = (name, paths) => {
1569
1564
  };
1570
1565
  var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */ jsxs11(Fragment3, {
1571
1566
  children: [
1572
- /* @__PURE__ */ jsx17("path", {
1567
+ /* @__PURE__ */ jsx14("path", {
1573
1568
  d: "m12 19-7-7 7-7"
1574
1569
  }),
1575
- /* @__PURE__ */ jsx17("path", {
1570
+ /* @__PURE__ */ jsx14("path", {
1576
1571
  d: "M19 12H5"
1577
1572
  })
1578
1573
  ]
1579
1574
  }));
1580
1575
  var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */ jsxs11(Fragment3, {
1581
1576
  children: [
1582
- /* @__PURE__ */ jsx17("path", {
1577
+ /* @__PURE__ */ jsx14("path", {
1583
1578
  d: "M5 12h14"
1584
1579
  }),
1585
- /* @__PURE__ */ jsx17("path", {
1580
+ /* @__PURE__ */ jsx14("path", {
1586
1581
  d: "m12 5 7 7-7 7"
1587
1582
  })
1588
1583
  ]
1589
1584
  }));
1590
1585
  var BookOpen = makeIcon("BookOpen", /* @__PURE__ */ jsxs11(Fragment3, {
1591
1586
  children: [
1592
- /* @__PURE__ */ jsx17("path", {
1587
+ /* @__PURE__ */ jsx14("path", {
1593
1588
  d: "M12 7v14"
1594
1589
  }),
1595
- /* @__PURE__ */ jsx17("path", {
1590
+ /* @__PURE__ */ jsx14("path", {
1596
1591
  d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4Z"
1597
1592
  })
1598
1593
  ]
1599
1594
  }));
1600
- var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx17("path", {
1595
+ var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx14("path", {
1601
1596
  d: "m6 9 6 6 6-6"
1602
1597
  }));
1603
1598
  var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */ jsxs11(Fragment3, {
1604
1599
  children: [
1605
- /* @__PURE__ */ jsx17("path", {
1600
+ /* @__PURE__ */ jsx14("path", {
1606
1601
  d: "M15 3h6v6"
1607
1602
  }),
1608
- /* @__PURE__ */ jsx17("path", {
1603
+ /* @__PURE__ */ jsx14("path", {
1609
1604
  d: "M10 14 21 3"
1610
1605
  }),
1611
- /* @__PURE__ */ jsx17("path", {
1606
+ /* @__PURE__ */ jsx14("path", {
1612
1607
  d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
1613
1608
  })
1614
1609
  ]
@@ -1995,19 +1990,19 @@ var getDocsMessages = (locale, overrides) => ({
1995
1990
  var iconFor = (icons, name) => name ? icons[name] : undefined;
1996
1991
  var DocsArticle = ({
1997
1992
  locale,
1998
- messages: messages5,
1993
+ messages,
1999
1994
  page
2000
1995
  }) => {
2001
- return /* @__PURE__ */ jsx17(MarkdownContent, {
1996
+ return /* @__PURE__ */ jsx14(MarkdownContent, {
2002
1997
  codeBlocks: page.codeBlocks,
2003
1998
  html: page.html,
2004
1999
  locale,
2005
2000
  messages: {
2006
2001
  [locale]: {
2007
- codeDescription: messages5.copyCodeDescription,
2008
- copy: messages5.copyCode,
2009
- copied: messages5.copied,
2010
- copyFailed: messages5.copyFailed
2002
+ codeDescription: messages.copyCodeDescription,
2003
+ copy: messages.copyCode,
2004
+ copied: messages.copied,
2005
+ copyFailed: messages.copyFailed
2011
2006
  }
2012
2007
  }
2013
2008
  });
@@ -2053,12 +2048,12 @@ var DocsTableOfContentsItems = ({
2053
2048
  headings
2054
2049
  }) => {
2055
2050
  const activeHeadingId = useActiveDocsHeading(headings);
2056
- return /* @__PURE__ */ jsx17("ol", {
2051
+ return /* @__PURE__ */ jsx14("ol", {
2057
2052
  className: "border-l",
2058
2053
  children: headings.map((heading) => {
2059
2054
  const isActive = heading.id === activeHeadingId;
2060
- return /* @__PURE__ */ jsx17("li", {
2061
- children: /* @__PURE__ */ jsx17("a", {
2055
+ return /* @__PURE__ */ jsx14("li", {
2056
+ children: /* @__PURE__ */ jsx14("a", {
2062
2057
  "aria-current": isActive ? "location" : undefined,
2063
2058
  className: `hover:text-foreground -ml-px block border-l py-1.5 text-sm leading-5 transition-colors ${isActive ? "border-primary text-foreground font-medium" : "text-muted-foreground border-transparent"} ${heading.depth === 3 ? "pl-6" : "pl-4"}`,
2064
2059
  href: `#${heading.id}`,
@@ -2078,11 +2073,11 @@ var DocsTableOfContents = ({
2078
2073
  "aria-label": label,
2079
2074
  className: "fixed top-20 max-h-[calc(100svh-6rem)] w-56 overflow-y-auto",
2080
2075
  children: [
2081
- /* @__PURE__ */ jsx17("p", {
2076
+ /* @__PURE__ */ jsx14("p", {
2082
2077
  className: "text-foreground mb-3 text-sm font-semibold",
2083
2078
  children: label
2084
2079
  }),
2085
- /* @__PURE__ */ jsx17(DocsTableOfContentsItems, {
2080
+ /* @__PURE__ */ jsx14(DocsTableOfContentsItems, {
2086
2081
  headings
2087
2082
  })
2088
2083
  ]
@@ -2100,19 +2095,19 @@ var DocsMobileTableOfContents = ({
2100
2095
  /* @__PURE__ */ jsxs11(CollapsibleTrigger, {
2101
2096
  className: "group flex w-full cursor-pointer items-center justify-between p-4 text-left text-sm font-semibold",
2102
2097
  children: [
2103
- /* @__PURE__ */ jsx17("span", {
2098
+ /* @__PURE__ */ jsx14("span", {
2104
2099
  children: label
2105
2100
  }),
2106
- /* @__PURE__ */ jsx17(ChevronDown, {
2101
+ /* @__PURE__ */ jsx14(ChevronDown, {
2107
2102
  className: "text-muted-foreground size-4 transition-transform group-data-[panel-open]:rotate-180"
2108
2103
  })
2109
2104
  ]
2110
2105
  }),
2111
- /* @__PURE__ */ jsx17(CollapsibleContent, {
2106
+ /* @__PURE__ */ jsx14(CollapsibleContent, {
2112
2107
  className: "px-4 pt-1 pb-4",
2113
- children: /* @__PURE__ */ jsx17("nav", {
2108
+ children: /* @__PURE__ */ jsx14("nav", {
2114
2109
  "aria-label": label,
2115
- children: /* @__PURE__ */ jsx17(DocsTableOfContentsItems, {
2110
+ children: /* @__PURE__ */ jsx14(DocsTableOfContentsItems, {
2116
2111
  headings
2117
2112
  })
2118
2113
  })
@@ -2123,7 +2118,7 @@ var DocsMobileTableOfContents = ({
2123
2118
  var DocsSearch = ({
2124
2119
  docs,
2125
2120
  locale,
2126
- messages: messages5
2121
+ messages
2127
2122
  }) => {
2128
2123
  const [query, setQuery] = useState5("");
2129
2124
  const deferredQuery = useDeferredValue(query);
@@ -2136,7 +2131,7 @@ var DocsSearch = ({
2136
2131
  sectionResults.sort((left, right) => left.page.order - right.page.order);
2137
2132
  }
2138
2133
  return {
2139
- heading: messages5.sectionLabel(section),
2134
+ heading: messages.sectionLabel(section),
2140
2135
  items: sectionResults.map(({ page }) => {
2141
2136
  const item = {
2142
2137
  id: page.path,
@@ -2147,7 +2142,7 @@ var DocsSearch = ({
2147
2142
  if (page.icon) {
2148
2143
  const PageIcon = iconFor(docs.icons, page.icon);
2149
2144
  if (PageIcon)
2150
- item.icon = /* @__PURE__ */ jsx17(PageIcon, {
2145
+ item.icon = /* @__PURE__ */ jsx14(PageIcon, {
2151
2146
  className: "size-4"
2152
2147
  });
2153
2148
  }
@@ -2155,16 +2150,16 @@ var DocsSearch = ({
2155
2150
  })
2156
2151
  };
2157
2152
  });
2158
- return /* @__PURE__ */ jsx17(SearchMenu, {
2153
+ return /* @__PURE__ */ jsx14(SearchMenu, {
2159
2154
  groups,
2160
2155
  locale,
2161
2156
  messages: {
2162
2157
  [locale]: {
2163
- title: messages5.searchTitle,
2164
- description: messages5.searchDescription,
2165
- placeholder: messages5.searchPlaceholder,
2166
- inputPlaceholder: messages5.searchInputPlaceholder,
2167
- emptyMessage: messages5.searchEmpty
2158
+ title: messages.searchTitle,
2159
+ description: messages.searchDescription,
2160
+ placeholder: messages.searchPlaceholder,
2161
+ inputPlaceholder: messages.searchInputPlaceholder,
2162
+ emptyMessage: messages.searchEmpty
2168
2163
  }
2169
2164
  },
2170
2165
  query,
@@ -2229,11 +2224,11 @@ var DocsLayout = ({
2229
2224
  ]
2230
2225
  });
2231
2226
  }
2232
- return /* @__PURE__ */ jsx17(SidebarLayout, {
2227
+ return /* @__PURE__ */ jsx14(SidebarLayout, {
2233
2228
  defaultOpen: getSidebarDefaultOpen2(),
2234
2229
  groups,
2235
2230
  sidebarCollapsible,
2236
- sidebarHeader: /* @__PURE__ */ jsx17(AppBrand, {
2231
+ sidebarHeader: /* @__PURE__ */ jsx14(AppBrand, {
2237
2232
  label: brand.label,
2238
2233
  subtitle: brand.subtitle(),
2239
2234
  icon: brand.icon,
@@ -2249,12 +2244,12 @@ var DocsLayout = ({
2249
2244
  rel: "noreferrer",
2250
2245
  children: [
2251
2246
  docs.githubLabel,
2252
- /* @__PURE__ */ jsx17(ExternalLink, {
2247
+ /* @__PURE__ */ jsx14(ExternalLink, {
2253
2248
  className: "size-3.5"
2254
2249
  })
2255
2250
  ]
2256
2251
  }) : null,
2257
- /* @__PURE__ */ jsx17(DocsSearch, {
2252
+ /* @__PURE__ */ jsx14(DocsSearch, {
2258
2253
  docs,
2259
2254
  locale,
2260
2255
  messages: resolvedMessages
@@ -2283,21 +2278,21 @@ var DocsHeader = ({ docs, resolution }) => {
2283
2278
  /* @__PURE__ */ jsxs11("div", {
2284
2279
  className: "flex flex-wrap items-center gap-3",
2285
2280
  children: [
2286
- /* @__PURE__ */ jsx17("h1", {
2281
+ /* @__PURE__ */ jsx14("h1", {
2287
2282
  className: "text-3xl font-bold tracking-tight sm:text-4xl",
2288
2283
  children: page.title
2289
2284
  }),
2290
- page.tags?.map((tag) => /* @__PURE__ */ jsx17(Badge, {
2285
+ page.tags?.map((tag) => /* @__PURE__ */ jsx14(Badge, {
2291
2286
  variant: "secondary",
2292
2287
  children: tag
2293
2288
  }, tag))
2294
2289
  ]
2295
2290
  }),
2296
- /* @__PURE__ */ jsx17("p", {
2291
+ /* @__PURE__ */ jsx14("p", {
2297
2292
  className: "text-muted-foreground mt-3 max-w-2xl text-base leading-7",
2298
2293
  children: page.description
2299
2294
  }),
2300
- page.updatedAt ? /* @__PURE__ */ jsx17("p", {
2295
+ page.updatedAt ? /* @__PURE__ */ jsx14("p", {
2301
2296
  className: "text-muted-foreground mt-3 text-sm",
2302
2297
  children: resolvedMessages.lastUpdated(new Date(page.updatedAt))
2303
2298
  }) : null
@@ -2309,11 +2304,11 @@ var DocsContent = ({ docs, resolution }) => {
2309
2304
  const resolvedMessages = docs.getMessages(page.locale);
2310
2305
  return /* @__PURE__ */ jsxs11(Fragment3, {
2311
2306
  children: [
2312
- /* @__PURE__ */ jsx17(DocsMobileTableOfContents, {
2307
+ /* @__PURE__ */ jsx14(DocsMobileTableOfContents, {
2313
2308
  headings: page.headings,
2314
2309
  label: resolvedMessages.onThisPage
2315
2310
  }),
2316
- /* @__PURE__ */ jsx17(DocsArticle, {
2311
+ /* @__PURE__ */ jsx14(DocsArticle, {
2317
2312
  locale: page.locale,
2318
2313
  messages: resolvedMessages,
2319
2314
  page
@@ -2338,12 +2333,12 @@ var DocsFooter = ({ docs, resolution }) => {
2338
2333
  rel: "noreferrer",
2339
2334
  children: [
2340
2335
  resolvedMessages.editPage,
2341
- /* @__PURE__ */ jsx17(ExternalLink, {
2336
+ /* @__PURE__ */ jsx14(ExternalLink, {
2342
2337
  className: "size-3.5"
2343
2338
  })
2344
2339
  ]
2345
2340
  }) : null,
2346
- /* @__PURE__ */ jsx17("span", {
2341
+ /* @__PURE__ */ jsx14("span", {
2347
2342
  className: "text-muted-foreground",
2348
2343
  children: resolvedMessages.latestVersionNotice
2349
2344
  })
@@ -2360,18 +2355,18 @@ var DocsFooter = ({ docs, resolution }) => {
2360
2355
  /* @__PURE__ */ jsxs11("span", {
2361
2356
  className: "text-muted-foreground flex items-center gap-1 text-xs font-medium uppercase",
2362
2357
  children: [
2363
- /* @__PURE__ */ jsx17(ArrowLeft, {
2358
+ /* @__PURE__ */ jsx14(ArrowLeft, {
2364
2359
  className: "size-3.5"
2365
2360
  }),
2366
2361
  resolvedMessages.previous
2367
2362
  ]
2368
2363
  }),
2369
- /* @__PURE__ */ jsx17("span", {
2364
+ /* @__PURE__ */ jsx14("span", {
2370
2365
  className: "mt-1 block font-semibold",
2371
2366
  children: neighbors.previous.title
2372
2367
  })
2373
2368
  ]
2374
- }) : /* @__PURE__ */ jsx17("span", {}),
2369
+ }) : /* @__PURE__ */ jsx14("span", {}),
2375
2370
  neighbors.next ? /* @__PURE__ */ jsxs11("a", {
2376
2371
  className: "hover:bg-muted/50 rounded-lg border p-4 text-right transition-colors",
2377
2372
  href: neighbors.next.path,
@@ -2380,12 +2375,12 @@ var DocsFooter = ({ docs, resolution }) => {
2380
2375
  className: "text-muted-foreground flex items-center justify-end gap-1 text-xs font-medium uppercase",
2381
2376
  children: [
2382
2377
  resolvedMessages.next,
2383
- /* @__PURE__ */ jsx17(ArrowRight, {
2378
+ /* @__PURE__ */ jsx14(ArrowRight, {
2384
2379
  className: "size-3.5"
2385
2380
  })
2386
2381
  ]
2387
2382
  }),
2388
- /* @__PURE__ */ jsx17("span", {
2383
+ /* @__PURE__ */ jsx14("span", {
2389
2384
  className: "mt-1 block font-semibold",
2390
2385
  children: neighbors.next.title
2391
2386
  })
@@ -2401,15 +2396,15 @@ var DocsPage = ({ children, docs, resolution }) => {
2401
2396
  const resolvedMessages = docs.getMessages(page.locale);
2402
2397
  const content = children ?? /* @__PURE__ */ jsxs11(Fragment3, {
2403
2398
  children: [
2404
- /* @__PURE__ */ jsx17(DocsHeader, {
2399
+ /* @__PURE__ */ jsx14(DocsHeader, {
2405
2400
  docs,
2406
2401
  resolution
2407
2402
  }),
2408
- /* @__PURE__ */ jsx17(DocsContent, {
2403
+ /* @__PURE__ */ jsx14(DocsContent, {
2409
2404
  docs,
2410
2405
  resolution
2411
2406
  }),
2412
- /* @__PURE__ */ jsx17(DocsFooter, {
2407
+ /* @__PURE__ */ jsx14(DocsFooter, {
2413
2408
  docs,
2414
2409
  resolution
2415
2410
  })
@@ -2417,7 +2412,7 @@ var DocsPage = ({ children, docs, resolution }) => {
2417
2412
  });
2418
2413
  return /* @__PURE__ */ jsxs11(Fragment3, {
2419
2414
  children: [
2420
- /* @__PURE__ */ jsx17("a", {
2415
+ /* @__PURE__ */ jsx14("a", {
2421
2416
  className: "bg-background focus:ring-ring fixed top-2 left-2 z-50 -translate-y-20 rounded-md border px-3 py-2 text-sm shadow-sm focus:translate-y-0 focus:ring-2",
2422
2417
  href: "#docs-content",
2423
2418
  children: resolvedMessages.skipToContent
@@ -2425,15 +2420,15 @@ var DocsPage = ({ children, docs, resolution }) => {
2425
2420
  /* @__PURE__ */ jsxs11("div", {
2426
2421
  className: "mx-auto grid w-full max-w-6xl gap-10 xl:grid-cols-[minmax(0,48rem)_14rem]",
2427
2422
  children: [
2428
- /* @__PURE__ */ jsx17("article", {
2423
+ /* @__PURE__ */ jsx14("article", {
2429
2424
  id: "docs-content",
2430
2425
  className: "min-w-0 pb-16",
2431
2426
  tabIndex: -1,
2432
2427
  children: content
2433
2428
  }),
2434
- /* @__PURE__ */ jsx17("aside", {
2429
+ /* @__PURE__ */ jsx14("aside", {
2435
2430
  className: "hidden xl:block",
2436
- children: /* @__PURE__ */ jsx17(DocsTableOfContents, {
2431
+ children: /* @__PURE__ */ jsx14(DocsTableOfContents, {
2437
2432
  headings: page.headings,
2438
2433
  label: resolvedMessages.onThisPage
2439
2434
  })
@@ -2452,18 +2447,18 @@ var DocsNotFound = ({
2452
2447
  return /* @__PURE__ */ jsxs11("main", {
2453
2448
  className: "mx-auto flex min-h-screen max-w-lg flex-col justify-center px-6 text-center",
2454
2449
  children: [
2455
- /* @__PURE__ */ jsx17(BrandIcon, {
2450
+ /* @__PURE__ */ jsx14(BrandIcon, {
2456
2451
  className: "text-primary mx-auto size-10"
2457
2452
  }),
2458
- /* @__PURE__ */ jsx17("h1", {
2453
+ /* @__PURE__ */ jsx14("h1", {
2459
2454
  className: "mt-6 text-3xl font-bold tracking-tight",
2460
2455
  children: resolvedMessages.notFoundTitle
2461
2456
  }),
2462
- /* @__PURE__ */ jsx17("p", {
2457
+ /* @__PURE__ */ jsx14("p", {
2463
2458
  className: "text-muted-foreground mt-3 leading-7",
2464
2459
  children: resolvedMessages.notFoundDescription
2465
2460
  }),
2466
- /* @__PURE__ */ jsx17("a", {
2461
+ /* @__PURE__ */ jsx14("a", {
2467
2462
  className: "text-primary mt-6 font-semibold underline underline-offset-4",
2468
2463
  href: docs.basePath,
2469
2464
  children: resolvedMessages.notFoundAction
@@ -2472,20 +2467,20 @@ var DocsNotFound = ({
2472
2467
  });
2473
2468
  };
2474
2469
  export {
2475
- slugifyDocsHeading,
2476
- makeDocs,
2477
- getDocsMessages,
2478
- createDocsSource,
2479
- DocsSection,
2480
- DocsPageType,
2481
- DocsPageSchema,
2482
- DocsPage,
2483
- DocsNotFound,
2484
- DocsLayout,
2485
- DocsHeadingSchema,
2486
- DocsHeader,
2487
- DocsFrontmatter,
2488
- DocsFooter,
2470
+ DocsCodeBlockSchema,
2489
2471
  DocsContent,
2490
- DocsCodeBlockSchema
2472
+ DocsFooter,
2473
+ DocsFrontmatter,
2474
+ DocsHeader,
2475
+ DocsHeadingSchema,
2476
+ DocsLayout,
2477
+ DocsNotFound,
2478
+ DocsPage,
2479
+ DocsPageSchema,
2480
+ DocsPageType,
2481
+ DocsSection,
2482
+ createDocsSource,
2483
+ getDocsMessages,
2484
+ makeDocs,
2485
+ slugifyDocsHeading
2491
2486
  };