specra 0.1.0 → 0.1.1

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 (42) hide show
  1. package/dist/app/docs-page.js +164 -148
  2. package/dist/app/docs-page.js.map +1 -1
  3. package/dist/app/docs-page.mjs +3 -3
  4. package/dist/app/layout.js +84 -5
  5. package/dist/app/layout.js.map +1 -1
  6. package/dist/app/layout.mjs +3 -3
  7. package/dist/{chunk-NXRIAL7T.mjs → chunk-4QHOMV5A.mjs} +8 -5
  8. package/dist/chunk-4QHOMV5A.mjs.map +1 -0
  9. package/dist/{chunk-IZFGEAD6.mjs → chunk-5AYOV2KD.mjs} +5 -4
  10. package/dist/chunk-5AYOV2KD.mjs.map +1 -0
  11. package/dist/chunk-I3ELVEK2.mjs +56 -0
  12. package/dist/chunk-I3ELVEK2.mjs.map +1 -0
  13. package/dist/{chunk-INL2EC72.mjs → chunk-RLMSINLY.mjs} +2 -5
  14. package/dist/{chunk-INL2EC72.mjs.map → chunk-RLMSINLY.mjs.map} +1 -1
  15. package/dist/components/index.d.mts +39 -3
  16. package/dist/components/index.d.ts +39 -3
  17. package/dist/components/index.js +100 -62
  18. package/dist/components/index.js.map +1 -1
  19. package/dist/components/index.mjs +83 -48
  20. package/dist/components/index.mjs.map +1 -1
  21. package/dist/index.d.mts +39 -3
  22. package/dist/index.d.ts +39 -3
  23. package/dist/index.js +129 -94
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.mjs +10 -4
  26. package/dist/index.mjs.map +1 -1
  27. package/dist/lib/index.d.mts +7 -0
  28. package/dist/lib/index.d.ts +7 -0
  29. package/dist/lib/index.js +1 -4
  30. package/dist/lib/index.js.map +1 -1
  31. package/dist/lib/index.mjs +1 -1
  32. package/package.json +2 -2
  33. package/src/app/layout.tsx +6 -3
  34. package/src/components/docs/header.tsx +7 -3
  35. package/src/components/docs/index.ts +3 -0
  36. package/src/lib/config.context.tsx +65 -0
  37. package/src/lib/config.server.ts +9 -5
  38. package/src/lib/index.ts +1 -0
  39. package/dist/chunk-IZFGEAD6.mjs.map +0 -1
  40. package/dist/chunk-MZJHJ6BV.mjs +0 -21
  41. package/dist/chunk-MZJHJ6BV.mjs.map +0 -1
  42. package/dist/chunk-NXRIAL7T.mjs.map +0 -1
@@ -3229,8 +3229,40 @@ function SearchModal({ isOpen, onClose, config }) {
3229
3229
 
3230
3230
  // src/components/docs/header.tsx
3231
3231
  import { useState as useState18, useEffect as useEffect10 } from "react";
3232
- import { jsx as jsx47, jsxs as jsxs35 } from "react/jsx-runtime";
3233
- function Header({ currentVersion, versions, onMenuClick, config }) {
3232
+
3233
+ // src/lib/config.context.tsx
3234
+ import * as React2 from "react";
3235
+ import { jsx as jsx47 } from "react/jsx-runtime";
3236
+ var ConfigContext = React2.createContext(defaultConfig);
3237
+ function ConfigProvider({ config, children }) {
3238
+ return /* @__PURE__ */ jsx47(ConfigContext.Provider, { value: config, children });
3239
+ }
3240
+ function useConfig() {
3241
+ const config = React2.useContext(ConfigContext);
3242
+ if (!config) {
3243
+ throw new Error("useConfig must be used within a ConfigProvider");
3244
+ }
3245
+ return config;
3246
+ }
3247
+ function useConfigValue(path) {
3248
+ const config = useConfig();
3249
+ const keys = path.split(".");
3250
+ let value = config;
3251
+ for (const key of keys) {
3252
+ if (value && typeof value === "object" && key in value) {
3253
+ value = value[key];
3254
+ } else {
3255
+ return void 0;
3256
+ }
3257
+ }
3258
+ return value;
3259
+ }
3260
+
3261
+ // src/components/docs/header.tsx
3262
+ import { jsx as jsx48, jsxs as jsxs35 } from "react/jsx-runtime";
3263
+ function Header({ currentVersion, versions, onMenuClick, config: configProp }) {
3264
+ const contextConfig = useConfig();
3265
+ const config = configProp || contextConfig;
3234
3266
  const [searchOpen, setSearchOpen] = useState18(false);
3235
3267
  useEffect10(() => {
3236
3268
  const handleKeyDown = (e) => {
@@ -3245,18 +3277,18 @@ function Header({ currentVersion, versions, onMenuClick, config }) {
3245
3277
  return /* @__PURE__ */ jsxs35("header", { className: "sticky top-0 z-50 w-full border-b border-border bg-background/95 backdrop-blur supports-backdrop-filter:bg-background/60", children: [
3246
3278
  /* @__PURE__ */ jsxs35("div", { className: "container flex h-16 items-center justify-between px-6 mx-auto", children: [
3247
3279
  /* @__PURE__ */ jsxs35("div", { className: "flex items-center gap-2", children: [
3248
- /* @__PURE__ */ jsx47(
3280
+ /* @__PURE__ */ jsx48(
3249
3281
  "button",
3250
3282
  {
3251
3283
  onClick: onMenuClick,
3252
3284
  className: "lg:hidden hover:bg-muted p-2 rounded-md transition-colors",
3253
3285
  "aria-label": "Toggle menu",
3254
- children: /* @__PURE__ */ jsx47(Menu, { className: "h-5 w-5" })
3286
+ children: /* @__PURE__ */ jsx48(Menu, { className: "h-5 w-5" })
3255
3287
  }
3256
3288
  ),
3257
3289
  /* @__PURE__ */ jsxs35(Link8, { href: "/", className: "flex items-center gap-2", children: [
3258
- config.site.logo ? /* @__PURE__ */ jsx47("img", { src: getAssetPath(config.site.logo), alt: config.site.title, className: "h-8 w-auto" }) : /* @__PURE__ */ jsx47("div", { className: "h-8 w-8 rounded-xl bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsx47("span", { className: "text-primary-foreground font-bold text-lg", children: config.site.title.charAt(0).toUpperCase() }) }),
3259
- /* @__PURE__ */ jsx47("span", { className: "font-semibold text-lg text-foreground", children: "Specra" })
3290
+ config.site.logo ? /* @__PURE__ */ jsx48("img", { src: getAssetPath(config.site.logo), alt: config.site.title, className: "h-8 w-auto" }) : /* @__PURE__ */ jsx48("div", { className: "h-8 w-8 rounded-xl bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsx48("span", { className: "text-primary-foreground font-bold text-lg", children: config.site.title.charAt(0).toUpperCase() }) }),
3291
+ /* @__PURE__ */ jsx48("span", { className: "font-semibold text-lg text-foreground", children: config.site.title ?? "Specra" })
3260
3292
  ] })
3261
3293
  ] }),
3262
3294
  /* @__PURE__ */ jsxs35("div", { className: "flex items-center gap-2", children: [
@@ -3266,14 +3298,14 @@ function Header({ currentVersion, versions, onMenuClick, config }) {
3266
3298
  onClick: () => setSearchOpen(true),
3267
3299
  className: "flex items-center gap-2 px-3 py-2 text-sm text-muted-foreground hover:text-foreground bg-muted rounded-md transition-colors",
3268
3300
  children: [
3269
- /* @__PURE__ */ jsx47(Search2, { className: "h-4 w-4" }),
3270
- /* @__PURE__ */ jsx47("span", { className: "hidden sm:inline", children: config.search.placeholder || "Search" }),
3271
- /* @__PURE__ */ jsx47("kbd", { className: "hidden sm:inline-flex h-5 select-none items-center gap-1 rounded border border-border bg-background px-1.5 font-mono text-xs font-medium", children: "\u2318K" })
3301
+ /* @__PURE__ */ jsx48(Search2, { className: "h-4 w-4" }),
3302
+ /* @__PURE__ */ jsx48("span", { className: "hidden sm:inline", children: config.search.placeholder || "Search" }),
3303
+ /* @__PURE__ */ jsx48("kbd", { className: "hidden sm:inline-flex h-5 select-none items-center gap-1 rounded border border-border bg-background px-1.5 font-mono text-xs font-medium", children: "\u2318K" })
3272
3304
  ]
3273
3305
  }
3274
3306
  ),
3275
- config.features?.versioning && /* @__PURE__ */ jsx47(VersionSwitcher, { currentVersion, versions }),
3276
- config.social?.github && /* @__PURE__ */ jsx47(
3307
+ config.features?.versioning && /* @__PURE__ */ jsx48(VersionSwitcher, { currentVersion, versions }),
3308
+ config.social?.github && /* @__PURE__ */ jsx48(
3277
3309
  "a",
3278
3310
  {
3279
3311
  href: config.social.github,
@@ -3281,10 +3313,10 @@ function Header({ currentVersion, versions, onMenuClick, config }) {
3281
3313
  rel: "noopener noreferrer",
3282
3314
  className: "hidden md:flex items-center justify-center h-9 w-9 rounded-md hover:bg-muted transition-colors",
3283
3315
  "aria-label": "GitHub",
3284
- children: /* @__PURE__ */ jsx47(Github, { className: "h-4 w-4" })
3316
+ children: /* @__PURE__ */ jsx48(Github, { className: "h-4 w-4" })
3285
3317
  }
3286
3318
  ),
3287
- config.social?.twitter && /* @__PURE__ */ jsx47(
3319
+ config.social?.twitter && /* @__PURE__ */ jsx48(
3288
3320
  "a",
3289
3321
  {
3290
3322
  href: config.social.twitter,
@@ -3292,10 +3324,10 @@ function Header({ currentVersion, versions, onMenuClick, config }) {
3292
3324
  rel: "noopener noreferrer",
3293
3325
  className: "hidden md:flex items-center justify-center h-9 w-9 rounded-md hover:bg-muted transition-colors",
3294
3326
  "aria-label": "Twitter",
3295
- children: /* @__PURE__ */ jsx47(Twitter, { className: "h-4 w-4" })
3327
+ children: /* @__PURE__ */ jsx48(Twitter, { className: "h-4 w-4" })
3296
3328
  }
3297
3329
  ),
3298
- config.social?.discord && /* @__PURE__ */ jsx47(
3330
+ config.social?.discord && /* @__PURE__ */ jsx48(
3299
3331
  "a",
3300
3332
  {
3301
3333
  href: config.social.discord,
@@ -3303,13 +3335,13 @@ function Header({ currentVersion, versions, onMenuClick, config }) {
3303
3335
  rel: "noopener noreferrer",
3304
3336
  className: "hidden md:flex items-center justify-center h-9 w-9 rounded-md hover:bg-muted transition-colors",
3305
3337
  "aria-label": "Discord",
3306
- children: /* @__PURE__ */ jsx47(MessageCircle, { className: "h-4 w-4" })
3338
+ children: /* @__PURE__ */ jsx48(MessageCircle, { className: "h-4 w-4" })
3307
3339
  }
3308
3340
  ),
3309
- /* @__PURE__ */ jsx47(ThemeToggle, {})
3341
+ /* @__PURE__ */ jsx48(ThemeToggle, {})
3310
3342
  ] })
3311
3343
  ] }),
3312
- /* @__PURE__ */ jsx47(SearchModal, { isOpen: searchOpen, onClose: () => setSearchOpen(false), config })
3344
+ /* @__PURE__ */ jsx48(SearchModal, { isOpen: searchOpen, onClose: () => setSearchOpen(false), config })
3313
3345
  ] });
3314
3346
  }
3315
3347
 
@@ -3317,7 +3349,7 @@ function Header({ currentVersion, versions, onMenuClick, config }) {
3317
3349
  import { useEffect as useEffect11, useState as useState19 } from "react";
3318
3350
  import { usePathname as usePathname2 } from "next/navigation";
3319
3351
  import { RefreshCw } from "lucide-react";
3320
- import { Fragment as Fragment8, jsx as jsx48, jsxs as jsxs36 } from "react/jsx-runtime";
3352
+ import { Fragment as Fragment8, jsx as jsx49, jsxs as jsxs36 } from "react/jsx-runtime";
3321
3353
  function HotReloadIndicator() {
3322
3354
  const [isReloading, setIsReloading] = useState19(false);
3323
3355
  const [lastReload, setLastReload] = useState19(null);
@@ -3354,11 +3386,11 @@ function HotReloadIndicator() {
3354
3386
  if (process.env.NODE_ENV !== "development") return null;
3355
3387
  return /* @__PURE__ */ jsxs36(Fragment8, { children: [
3356
3388
  isReloading && /* @__PURE__ */ jsxs36("div", { className: "fixed bottom-4 right-4 z-50 flex items-center gap-2 px-4 py-2 bg-primary text-primary-foreground rounded-xl shadow-lg animate-in slide-in-from-bottom-2", children: [
3357
- /* @__PURE__ */ jsx48(RefreshCw, { className: "h-4 w-4 animate-spin" }),
3358
- /* @__PURE__ */ jsx48("span", { className: "text-sm font-medium", children: "Reloading..." })
3389
+ /* @__PURE__ */ jsx49(RefreshCw, { className: "h-4 w-4 animate-spin" }),
3390
+ /* @__PURE__ */ jsx49("span", { className: "text-sm font-medium", children: "Reloading..." })
3359
3391
  ] }),
3360
3392
  lastReload && !isReloading && /* @__PURE__ */ jsxs36("div", { className: "fixed bottom-4 right-4 z-50 flex items-center gap-2 px-4 py-2 bg-green-500 text-white rounded-xl shadow-lg animate-in slide-in-from-bottom-2", children: [
3361
- /* @__PURE__ */ jsx48(RefreshCw, { className: "h-4 w-4" }),
3393
+ /* @__PURE__ */ jsx49(RefreshCw, { className: "h-4 w-4" }),
3362
3394
  /* @__PURE__ */ jsxs36("span", { className: "text-sm font-medium", children: [
3363
3395
  "Updated at ",
3364
3396
  lastReload.toLocaleTimeString()
@@ -3398,15 +3430,15 @@ function MdxHotReload() {
3398
3430
  // src/components/docs/not-found-content.tsx
3399
3431
  import Link9 from "next/link";
3400
3432
  import { AlertTriangle as AlertTriangle2, Home, ArrowLeft } from "lucide-react";
3401
- import { jsx as jsx49, jsxs as jsxs37 } from "react/jsx-runtime";
3433
+ import { jsx as jsx50, jsxs as jsxs37 } from "react/jsx-runtime";
3402
3434
  function NotFoundContent({ version }) {
3403
- return /* @__PURE__ */ jsx49("div", { className: "flex min-h-[calc(100vh-12rem)] items-center justify-center px-4 py-12", children: /* @__PURE__ */ jsxs37("div", { className: "w-full max-w-2xl text-center", children: [
3404
- /* @__PURE__ */ jsx49("div", { className: "mb-6 flex justify-center", children: /* @__PURE__ */ jsx49("div", { className: "rounded-full bg-yellow-500/10 p-4", children: /* @__PURE__ */ jsx49(AlertTriangle2, { className: "h-16 w-16 text-yellow-500" }) }) }),
3405
- /* @__PURE__ */ jsx49("h1", { className: "mb-3 text-5xl font-bold tracking-tight", children: "404" }),
3406
- /* @__PURE__ */ jsx49("h2", { className: "mb-4 text-2xl font-semibold", children: "Page Not Found" }),
3435
+ return /* @__PURE__ */ jsx50("div", { className: "flex min-h-[calc(100vh-12rem)] items-center justify-center px-4 py-12", children: /* @__PURE__ */ jsxs37("div", { className: "w-full max-w-2xl text-center", children: [
3436
+ /* @__PURE__ */ jsx50("div", { className: "mb-6 flex justify-center", children: /* @__PURE__ */ jsx50("div", { className: "rounded-full bg-yellow-500/10 p-4", children: /* @__PURE__ */ jsx50(AlertTriangle2, { className: "h-16 w-16 text-yellow-500" }) }) }),
3437
+ /* @__PURE__ */ jsx50("h1", { className: "mb-3 text-5xl font-bold tracking-tight", children: "404" }),
3438
+ /* @__PURE__ */ jsx50("h2", { className: "mb-4 text-2xl font-semibold", children: "Page Not Found" }),
3407
3439
  /* @__PURE__ */ jsxs37("p", { className: "mb-8 text-base text-muted-foreground", children: [
3408
3440
  "The documentation page you're looking for doesn't exist or may have been moved.",
3409
- /* @__PURE__ */ jsx49("br", {}),
3441
+ /* @__PURE__ */ jsx50("br", {}),
3410
3442
  "Try using the sidebar to find what you're looking for, or return to the documentation home."
3411
3443
  ] }),
3412
3444
  /* @__PURE__ */ jsxs37("div", { className: "flex flex-col items-center justify-center gap-3 sm:flex-row", children: [
@@ -3416,7 +3448,7 @@ function NotFoundContent({ version }) {
3416
3448
  href: `/docs/${version}`,
3417
3449
  className: "inline-flex items-center gap-2 rounded-lg bg-primary px-6 py-3 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
3418
3450
  children: [
3419
- /* @__PURE__ */ jsx49(ArrowLeft, { className: "h-4 w-4" }),
3451
+ /* @__PURE__ */ jsx50(ArrowLeft, { className: "h-4 w-4" }),
3420
3452
  "Back to Documentation"
3421
3453
  ]
3422
3454
  }
@@ -3427,25 +3459,25 @@ function NotFoundContent({ version }) {
3427
3459
  href: "/",
3428
3460
  className: "inline-flex items-center gap-2 rounded-lg border border-border bg-background px-6 py-3 text-sm font-medium hover:bg-muted transition-colors",
3429
3461
  children: [
3430
- /* @__PURE__ */ jsx49(Home, { className: "h-4 w-4" }),
3462
+ /* @__PURE__ */ jsx50(Home, { className: "h-4 w-4" }),
3431
3463
  "Go to Homepage"
3432
3464
  ]
3433
3465
  }
3434
3466
  )
3435
3467
  ] }),
3436
- /* @__PURE__ */ jsx49("div", { className: "mt-12 rounded-lg border border-border bg-muted/30 p-6", children: /* @__PURE__ */ jsxs37("p", { className: "text-sm text-muted-foreground", children: [
3437
- /* @__PURE__ */ jsx49("strong", { className: "font-medium text-foreground", children: "Tip:" }),
3468
+ /* @__PURE__ */ jsx50("div", { className: "mt-12 rounded-lg border border-border bg-muted/30 p-6", children: /* @__PURE__ */ jsxs37("p", { className: "text-sm text-muted-foreground", children: [
3469
+ /* @__PURE__ */ jsx50("strong", { className: "font-medium text-foreground", children: "Tip:" }),
3438
3470
  " Use the sidebar navigation on the left to browse all available documentation pages."
3439
3471
  ] }) })
3440
3472
  ] }) });
3441
3473
  }
3442
3474
 
3443
3475
  // src/components/docs/sidebar-skeleton.tsx
3444
- import { jsx as jsx50, jsxs as jsxs38 } from "react/jsx-runtime";
3476
+ import { jsx as jsx51, jsxs as jsxs38 } from "react/jsx-runtime";
3445
3477
  function SidebarSkeleton() {
3446
- return /* @__PURE__ */ jsx50("aside", { className: "w-64 pr-8 py-6", children: /* @__PURE__ */ jsxs38("div", { className: "space-y-6", children: [
3447
- /* @__PURE__ */ jsx50("div", { className: "px-2", children: /* @__PURE__ */ jsx50("div", { className: "h-5 w-32 bg-muted/50 rounded animate-pulse" }) }),
3448
- /* @__PURE__ */ jsx50("div", { className: "space-y-1", children: [...Array(8)].map((_, i) => /* @__PURE__ */ jsx50("div", { className: "px-3 py-2", children: /* @__PURE__ */ jsx50(
3478
+ return /* @__PURE__ */ jsx51("aside", { className: "w-64 pr-8 py-6", children: /* @__PURE__ */ jsxs38("div", { className: "space-y-6", children: [
3479
+ /* @__PURE__ */ jsx51("div", { className: "px-2", children: /* @__PURE__ */ jsx51("div", { className: "h-5 w-32 bg-muted/50 rounded animate-pulse" }) }),
3480
+ /* @__PURE__ */ jsx51("div", { className: "space-y-1", children: [...Array(8)].map((_, i) => /* @__PURE__ */ jsx51("div", { className: "px-3 py-2", children: /* @__PURE__ */ jsx51(
3449
3481
  "div",
3450
3482
  {
3451
3483
  className: "h-4 bg-muted/50 rounded animate-pulse",
@@ -3453,8 +3485,8 @@ function SidebarSkeleton() {
3453
3485
  }
3454
3486
  ) }, i)) }),
3455
3487
  /* @__PURE__ */ jsxs38("div", { className: "space-y-1", children: [
3456
- /* @__PURE__ */ jsx50("div", { className: "px-2 mb-2", children: /* @__PURE__ */ jsx50("div", { className: "h-4 w-24 bg-muted/50 rounded animate-pulse" }) }),
3457
- [...Array(5)].map((_, i) => /* @__PURE__ */ jsx50("div", { className: "px-3 py-2", children: /* @__PURE__ */ jsx50(
3488
+ /* @__PURE__ */ jsx51("div", { className: "px-2 mb-2", children: /* @__PURE__ */ jsx51("div", { className: "h-4 w-24 bg-muted/50 rounded animate-pulse" }) }),
3489
+ [...Array(5)].map((_, i) => /* @__PURE__ */ jsx51("div", { className: "px-3 py-2", children: /* @__PURE__ */ jsx51(
3458
3490
  "div",
3459
3491
  {
3460
3492
  className: "h-4 bg-muted/50 rounded animate-pulse",
@@ -3467,7 +3499,7 @@ function SidebarSkeleton() {
3467
3499
 
3468
3500
  // src/components/docs/table-of-contents.tsx
3469
3501
  import { useEffect as useEffect13, useState as useState20 } from "react";
3470
- import { jsx as jsx51, jsxs as jsxs39 } from "react/jsx-runtime";
3502
+ import { jsx as jsx52, jsxs as jsxs39 } from "react/jsx-runtime";
3471
3503
  function TableOfContents({ items, config }) {
3472
3504
  const [activeId, setActiveId] = useState20("");
3473
3505
  if (!config.navigation?.showTableOfContents) {
@@ -3512,9 +3544,9 @@ function TableOfContents({ items, config }) {
3512
3544
  };
3513
3545
  const stickyTop = hasTabGroups ? "top-[7.5rem]" : "top-24";
3514
3546
  const maxHeight = hasTabGroups ? "max-h-[calc(100vh-10rem)]" : "max-h-[calc(100vh-7rem)]";
3515
- return /* @__PURE__ */ jsx51("aside", { className: `w-64 hidden xl:block shrink-0 sticky ${stickyTop} self-start`, children: filteredItems.length > 0 && /* @__PURE__ */ jsxs39("div", { className: `${maxHeight} overflow-y-auto bg-muted/30 dark:bg-muted/10 rounded-2xl p-4 border border-border/50`, children: [
3516
- /* @__PURE__ */ jsx51("h3", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-4 px-2", children: "On this page" }),
3517
- /* @__PURE__ */ jsx51("nav", { className: "space-y-1", children: filteredItems.map((item) => /* @__PURE__ */ jsx51(
3547
+ return /* @__PURE__ */ jsx52("aside", { className: `w-64 hidden xl:block shrink-0 sticky ${stickyTop} self-start`, children: filteredItems.length > 0 && /* @__PURE__ */ jsxs39("div", { className: `${maxHeight} overflow-y-auto bg-muted/30 dark:bg-muted/10 rounded-2xl p-4 border border-border/50`, children: [
3548
+ /* @__PURE__ */ jsx52("h3", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-4 px-2", children: "On this page" }),
3549
+ /* @__PURE__ */ jsx52("nav", { className: "space-y-1", children: filteredItems.map((item) => /* @__PURE__ */ jsx52(
3518
3550
  "a",
3519
3551
  {
3520
3552
  href: `#${item.id}`,
@@ -3530,13 +3562,13 @@ function TableOfContents({ items, config }) {
3530
3562
  // src/components/global/version-not-found.tsx
3531
3563
  import { AlertTriangle as AlertTriangle3 } from "lucide-react";
3532
3564
  import Link10 from "next/link";
3533
- import { Fragment as Fragment9, jsx as jsx52, jsxs as jsxs40 } from "react/jsx-runtime";
3565
+ import { Fragment as Fragment9, jsx as jsx53, jsxs as jsxs40 } from "react/jsx-runtime";
3534
3566
  function VersionNotFound() {
3535
- return /* @__PURE__ */ jsx52(Fragment9, { children: /* @__PURE__ */ jsx52("div", { className: "flex min-h-screen items-center justify-center px-4", children: /* @__PURE__ */ jsxs40("div", { className: "text-center", children: [
3536
- /* @__PURE__ */ jsx52("div", { className: "mb-4 flex justify-center", children: /* @__PURE__ */ jsx52(AlertTriangle3, { className: "h-16 w-16 text-yellow-500" }) }),
3537
- /* @__PURE__ */ jsx52("h1", { className: "mb-2 text-4xl font-bold", children: "Version Not Found" }),
3538
- /* @__PURE__ */ jsx52("p", { className: "mb-6 text-muted-foreground", children: "The documentation version you're looking for doesn't exist." }),
3539
- /* @__PURE__ */ jsx52(
3567
+ return /* @__PURE__ */ jsx53(Fragment9, { children: /* @__PURE__ */ jsx53("div", { className: "flex min-h-screen items-center justify-center px-4", children: /* @__PURE__ */ jsxs40("div", { className: "text-center", children: [
3568
+ /* @__PURE__ */ jsx53("div", { className: "mb-4 flex justify-center", children: /* @__PURE__ */ jsx53(AlertTriangle3, { className: "h-16 w-16 text-yellow-500" }) }),
3569
+ /* @__PURE__ */ jsx53("h1", { className: "mb-2 text-4xl font-bold", children: "Version Not Found" }),
3570
+ /* @__PURE__ */ jsx53("p", { className: "mb-6 text-muted-foreground", children: "The documentation version you're looking for doesn't exist." }),
3571
+ /* @__PURE__ */ jsx53(
3540
3572
  Link10,
3541
3573
  {
3542
3574
  href: "/docs/v1.0.0",
@@ -3566,6 +3598,7 @@ export {
3566
3598
  CodeBlock,
3567
3599
  Column,
3568
3600
  Columns,
3601
+ ConfigProvider,
3569
3602
  DevModeBadge,
3570
3603
  Dialog,
3571
3604
  DialogClose,
@@ -3622,6 +3655,8 @@ export {
3622
3655
  extractComponentPropsText,
3623
3656
  extractSearchText,
3624
3657
  mdxComponents,
3658
+ useConfig,
3659
+ useConfigValue,
3625
3660
  useTabContext
3626
3661
  };
3627
3662
  //# sourceMappingURL=index.mjs.map