@krak-stack/registry 0.1.27 → 0.1.28
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.
- package/dist/components/ui/data-table.js +238 -237
- package/dist/components/ui/effect-form.js +169 -170
- package/dist/components/ui/form.js +112 -113
- package/dist/components/ui/icon-input.js +40 -43
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/sidebar-layout.js +66 -71
- package/dist/components/ui/theme-switcher.js +3 -3
- package/dist/components/ui/virtualized-combobox.js +31 -34
- package/dist/lib/docs.js +133 -138
- package/dist/lib/docs.server.js +23 -47
- package/dist/lib/documentation-toolkit.js +24 -48
- package/dist/lib/httpapi-cli.js +7 -7
- package/dist/lib/httpapi-client.js +3 -3
- package/dist/lib/httpapi-helpers.js +11 -11
- package/dist/lib/httpapi-mcp.js +2 -2
- package/dist/lib/httpapi-toolkit.js +2 -2
- package/dist/lib/query.d.ts +16 -6
- package/dist/lib/query.js +17 -8
- package/dist/lib/seo.js +2 -2
- package/dist/lib/webfetch-toolkit.js +6 -6
- package/dist/services/agent/client/index.js +127 -128
- package/dist/services/agent/schema.js +5 -5
- package/dist/services/file-extraction/index.js +4 -4
- package/dist/services/file-extraction/schema.js +2 -2
- package/dist/services/health/index.js +9 -9
- package/dist/services/notification/channels/ses/index.js +2 -2
- package/dist/services/notification/channels/ses/schema.js +2 -2
- package/dist/services/notification/client/index.js +5 -5
- package/dist/services/notification/index.js +2 -2
- package/dist/services/notification/persistence/drizzle.js +2 -2
- package/dist/services/notification/persistence/index.js +15 -15
- package/dist/services/notification/persistence/schema.js +12 -12
- package/dist/services/notification/public.js +7 -7
- package/dist/services/notification/schema.js +2 -2
- package/dist/services/s3/index.js +2 -2
- package/dist/services/s3/schema.js +2 -2
- package/package.json +1 -1
package/dist/lib/docs.js
CHANGED
|
@@ -1239,31 +1239,29 @@ function useIsMobile() {
|
|
|
1239
1239
|
|
|
1240
1240
|
// ../../src/components/ui/input.tsx
|
|
1241
1241
|
import { Input as InputPrimitive } from "@base-ui/react/input";
|
|
1242
|
-
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
1243
1242
|
|
|
1244
1243
|
// ../../src/components/ui/separator.tsx
|
|
1245
1244
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
1246
|
-
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
1247
1245
|
|
|
1248
1246
|
// ../../src/components/ui/sheet.tsx
|
|
1249
1247
|
import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
|
|
1250
1248
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
1251
|
-
import { jsx as
|
|
1249
|
+
import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1252
1250
|
"use client";
|
|
1253
1251
|
function Sheet({ ...props }) {
|
|
1254
|
-
return /* @__PURE__ */
|
|
1252
|
+
return /* @__PURE__ */ jsx10(SheetPrimitive.Root, {
|
|
1255
1253
|
"data-slot": "sheet",
|
|
1256
1254
|
...props
|
|
1257
1255
|
});
|
|
1258
1256
|
}
|
|
1259
1257
|
function SheetPortal({ ...props }) {
|
|
1260
|
-
return /* @__PURE__ */
|
|
1258
|
+
return /* @__PURE__ */ jsx10(SheetPrimitive.Portal, {
|
|
1261
1259
|
"data-slot": "sheet-portal",
|
|
1262
1260
|
...props
|
|
1263
1261
|
});
|
|
1264
1262
|
}
|
|
1265
1263
|
function SheetOverlay({ className, ...props }) {
|
|
1266
|
-
return /* @__PURE__ */
|
|
1264
|
+
return /* @__PURE__ */ jsx10(SheetPrimitive.Backdrop, {
|
|
1267
1265
|
"data-slot": "sheet-overlay",
|
|
1268
1266
|
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),
|
|
1269
1267
|
...props
|
|
@@ -1278,7 +1276,7 @@ function SheetContent({
|
|
|
1278
1276
|
}) {
|
|
1279
1277
|
return /* @__PURE__ */ jsxs7(SheetPortal, {
|
|
1280
1278
|
children: [
|
|
1281
|
-
/* @__PURE__ */
|
|
1279
|
+
/* @__PURE__ */ jsx10(SheetOverlay, {}),
|
|
1282
1280
|
/* @__PURE__ */ jsxs7(SheetPrimitive.Popup, {
|
|
1283
1281
|
"data-slot": "sheet-content",
|
|
1284
1282
|
"data-side": side,
|
|
@@ -1288,14 +1286,14 @@ function SheetContent({
|
|
|
1288
1286
|
children,
|
|
1289
1287
|
showCloseButton && /* @__PURE__ */ jsxs7(SheetPrimitive.Close, {
|
|
1290
1288
|
"data-slot": "sheet-close",
|
|
1291
|
-
render: /* @__PURE__ */
|
|
1289
|
+
render: /* @__PURE__ */ jsx10(Button, {
|
|
1292
1290
|
variant: "ghost",
|
|
1293
1291
|
className: "absolute top-4 right-4",
|
|
1294
1292
|
size: "icon-sm"
|
|
1295
1293
|
}),
|
|
1296
1294
|
children: [
|
|
1297
|
-
/* @__PURE__ */
|
|
1298
|
-
/* @__PURE__ */
|
|
1295
|
+
/* @__PURE__ */ jsx10(XIcon2, {}),
|
|
1296
|
+
/* @__PURE__ */ jsx10("span", {
|
|
1299
1297
|
className: "sr-only",
|
|
1300
1298
|
children: "Close"
|
|
1301
1299
|
})
|
|
@@ -1307,14 +1305,14 @@ function SheetContent({
|
|
|
1307
1305
|
});
|
|
1308
1306
|
}
|
|
1309
1307
|
function SheetHeader({ className, ...props }) {
|
|
1310
|
-
return /* @__PURE__ */
|
|
1308
|
+
return /* @__PURE__ */ jsx10("div", {
|
|
1311
1309
|
"data-slot": "sheet-header",
|
|
1312
1310
|
className: cn("flex flex-col gap-1.5 p-4", className),
|
|
1313
1311
|
...props
|
|
1314
1312
|
});
|
|
1315
1313
|
}
|
|
1316
1314
|
function SheetTitle({ className, ...props }) {
|
|
1317
|
-
return /* @__PURE__ */
|
|
1315
|
+
return /* @__PURE__ */ jsx10(SheetPrimitive.Title, {
|
|
1318
1316
|
"data-slot": "sheet-title",
|
|
1319
1317
|
className: cn("font-medium text-foreground", className),
|
|
1320
1318
|
...props
|
|
@@ -1324,28 +1322,25 @@ function SheetDescription({
|
|
|
1324
1322
|
className,
|
|
1325
1323
|
...props
|
|
1326
1324
|
}) {
|
|
1327
|
-
return /* @__PURE__ */
|
|
1325
|
+
return /* @__PURE__ */ jsx10(SheetPrimitive.Description, {
|
|
1328
1326
|
"data-slot": "sheet-description",
|
|
1329
1327
|
className: cn("text-sm text-muted-foreground", className),
|
|
1330
1328
|
...props
|
|
1331
1329
|
});
|
|
1332
1330
|
}
|
|
1333
1331
|
|
|
1334
|
-
// ../../src/components/ui/skeleton.tsx
|
|
1335
|
-
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
1336
|
-
|
|
1337
1332
|
// ../../src/components/ui/tooltip.tsx
|
|
1338
1333
|
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
1339
|
-
import { jsx as
|
|
1334
|
+
import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1340
1335
|
"use client";
|
|
1341
1336
|
function Tooltip({ ...props }) {
|
|
1342
|
-
return /* @__PURE__ */
|
|
1337
|
+
return /* @__PURE__ */ jsx11(TooltipPrimitive.Root, {
|
|
1343
1338
|
"data-slot": "tooltip",
|
|
1344
1339
|
...props
|
|
1345
1340
|
});
|
|
1346
1341
|
}
|
|
1347
1342
|
function TooltipTrigger({ ...props }) {
|
|
1348
|
-
return /* @__PURE__ */
|
|
1343
|
+
return /* @__PURE__ */ jsx11(TooltipPrimitive.Trigger, {
|
|
1349
1344
|
"data-slot": "tooltip-trigger",
|
|
1350
1345
|
...props
|
|
1351
1346
|
});
|
|
@@ -1359,8 +1354,8 @@ function TooltipContent({
|
|
|
1359
1354
|
children,
|
|
1360
1355
|
...props
|
|
1361
1356
|
}) {
|
|
1362
|
-
return /* @__PURE__ */
|
|
1363
|
-
children: /* @__PURE__ */
|
|
1357
|
+
return /* @__PURE__ */ jsx11(TooltipPrimitive.Portal, {
|
|
1358
|
+
children: /* @__PURE__ */ jsx11(TooltipPrimitive.Positioner, {
|
|
1364
1359
|
align,
|
|
1365
1360
|
alignOffset,
|
|
1366
1361
|
side,
|
|
@@ -1372,7 +1367,7 @@ function TooltipContent({
|
|
|
1372
1367
|
...props,
|
|
1373
1368
|
children: [
|
|
1374
1369
|
children,
|
|
1375
|
-
/* @__PURE__ */
|
|
1370
|
+
/* @__PURE__ */ jsx11(TooltipPrimitive.Arrow, {
|
|
1376
1371
|
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"
|
|
1377
1372
|
})
|
|
1378
1373
|
]
|
|
@@ -1384,7 +1379,7 @@ function TooltipContent({
|
|
|
1384
1379
|
// ../../src/components/ui/sidebar.tsx
|
|
1385
1380
|
import { PanelLeftIcon } from "lucide-react";
|
|
1386
1381
|
import { Schema } from "effect";
|
|
1387
|
-
import { jsx as
|
|
1382
|
+
import { jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1388
1383
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
1389
1384
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
1390
1385
|
var SIDEBAR_WIDTH = "16rem";
|
|
@@ -1448,9 +1443,9 @@ function SidebarProvider({
|
|
|
1448
1443
|
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
1449
1444
|
...style
|
|
1450
1445
|
};
|
|
1451
|
-
return /* @__PURE__ */
|
|
1446
|
+
return /* @__PURE__ */ jsx12(SidebarContext.Provider, {
|
|
1452
1447
|
value: contextValue,
|
|
1453
|
-
children: /* @__PURE__ */
|
|
1448
|
+
children: /* @__PURE__ */ jsx12("div", {
|
|
1454
1449
|
"data-slot": "sidebar-wrapper",
|
|
1455
1450
|
style: wrapperStyle,
|
|
1456
1451
|
className: cn("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar", className),
|
|
@@ -1470,7 +1465,7 @@ function Sidebar({
|
|
|
1470
1465
|
}) {
|
|
1471
1466
|
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
1472
1467
|
if (collapsible === "none") {
|
|
1473
|
-
return /* @__PURE__ */
|
|
1468
|
+
return /* @__PURE__ */ jsx12("div", {
|
|
1474
1469
|
"data-slot": "sidebar",
|
|
1475
1470
|
className: cn("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground", className),
|
|
1476
1471
|
...props,
|
|
@@ -1481,7 +1476,7 @@ function Sidebar({
|
|
|
1481
1476
|
const mobileStyle = {
|
|
1482
1477
|
"--sidebar-width": SIDEBAR_WIDTH_MOBILE
|
|
1483
1478
|
};
|
|
1484
|
-
return /* @__PURE__ */
|
|
1479
|
+
return /* @__PURE__ */ jsx12(Sheet, {
|
|
1485
1480
|
open: openMobile,
|
|
1486
1481
|
onOpenChange: setOpenMobile,
|
|
1487
1482
|
...props,
|
|
@@ -1497,15 +1492,15 @@ function Sidebar({
|
|
|
1497
1492
|
/* @__PURE__ */ jsxs9(SheetHeader, {
|
|
1498
1493
|
className: "sr-only",
|
|
1499
1494
|
children: [
|
|
1500
|
-
/* @__PURE__ */
|
|
1495
|
+
/* @__PURE__ */ jsx12(SheetTitle, {
|
|
1501
1496
|
children: "Sidebar"
|
|
1502
1497
|
}),
|
|
1503
|
-
/* @__PURE__ */
|
|
1498
|
+
/* @__PURE__ */ jsx12(SheetDescription, {
|
|
1504
1499
|
children: "Displays the mobile sidebar."
|
|
1505
1500
|
})
|
|
1506
1501
|
]
|
|
1507
1502
|
}),
|
|
1508
|
-
/* @__PURE__ */
|
|
1503
|
+
/* @__PURE__ */ jsx12("div", {
|
|
1509
1504
|
className: "flex h-full w-full flex-col",
|
|
1510
1505
|
children
|
|
1511
1506
|
})
|
|
@@ -1521,16 +1516,16 @@ function Sidebar({
|
|
|
1521
1516
|
"data-side": side,
|
|
1522
1517
|
"data-slot": "sidebar",
|
|
1523
1518
|
children: [
|
|
1524
|
-
/* @__PURE__ */
|
|
1519
|
+
/* @__PURE__ */ jsx12("div", {
|
|
1525
1520
|
"data-slot": "sidebar-gap",
|
|
1526
1521
|
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)")
|
|
1527
1522
|
}),
|
|
1528
|
-
/* @__PURE__ */
|
|
1523
|
+
/* @__PURE__ */ jsx12("div", {
|
|
1529
1524
|
"data-slot": "sidebar-container",
|
|
1530
1525
|
"data-side": side,
|
|
1531
1526
|
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),
|
|
1532
1527
|
...props,
|
|
1533
|
-
children: /* @__PURE__ */
|
|
1528
|
+
children: /* @__PURE__ */ jsx12("div", {
|
|
1534
1529
|
"data-sidebar": "sidebar",
|
|
1535
1530
|
"data-slot": "sidebar-inner",
|
|
1536
1531
|
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",
|
|
@@ -1558,8 +1553,8 @@ function SidebarTrigger({
|
|
|
1558
1553
|
},
|
|
1559
1554
|
...props,
|
|
1560
1555
|
children: [
|
|
1561
|
-
/* @__PURE__ */
|
|
1562
|
-
/* @__PURE__ */
|
|
1556
|
+
/* @__PURE__ */ jsx12(PanelLeftIcon, {}),
|
|
1557
|
+
/* @__PURE__ */ jsx12("span", {
|
|
1563
1558
|
className: "sr-only",
|
|
1564
1559
|
children: "Toggle Sidebar"
|
|
1565
1560
|
})
|
|
@@ -1568,7 +1563,7 @@ function SidebarTrigger({
|
|
|
1568
1563
|
}
|
|
1569
1564
|
function SidebarRail({ className, ...props }) {
|
|
1570
1565
|
const { toggleSidebar } = useSidebar();
|
|
1571
|
-
return /* @__PURE__ */
|
|
1566
|
+
return /* @__PURE__ */ jsx12("button", {
|
|
1572
1567
|
"data-sidebar": "rail",
|
|
1573
1568
|
"data-slot": "sidebar-rail",
|
|
1574
1569
|
"aria-label": "Toggle Sidebar",
|
|
@@ -1580,14 +1575,14 @@ function SidebarRail({ className, ...props }) {
|
|
|
1580
1575
|
});
|
|
1581
1576
|
}
|
|
1582
1577
|
function SidebarInset({ className, ...props }) {
|
|
1583
|
-
return /* @__PURE__ */
|
|
1578
|
+
return /* @__PURE__ */ jsx12("main", {
|
|
1584
1579
|
"data-slot": "sidebar-inset",
|
|
1585
1580
|
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),
|
|
1586
1581
|
...props
|
|
1587
1582
|
});
|
|
1588
1583
|
}
|
|
1589
1584
|
function SidebarHeader({ className, ...props }) {
|
|
1590
|
-
return /* @__PURE__ */
|
|
1585
|
+
return /* @__PURE__ */ jsx12("div", {
|
|
1591
1586
|
"data-slot": "sidebar-header",
|
|
1592
1587
|
"data-sidebar": "header",
|
|
1593
1588
|
className: cn("flex flex-col gap-2 p-2", className),
|
|
@@ -1595,7 +1590,7 @@ function SidebarHeader({ className, ...props }) {
|
|
|
1595
1590
|
});
|
|
1596
1591
|
}
|
|
1597
1592
|
function SidebarFooter({ className, ...props }) {
|
|
1598
|
-
return /* @__PURE__ */
|
|
1593
|
+
return /* @__PURE__ */ jsx12("div", {
|
|
1599
1594
|
"data-slot": "sidebar-footer",
|
|
1600
1595
|
"data-sidebar": "footer",
|
|
1601
1596
|
className: cn("flex flex-col gap-2 p-2", className),
|
|
@@ -1603,7 +1598,7 @@ function SidebarFooter({ className, ...props }) {
|
|
|
1603
1598
|
});
|
|
1604
1599
|
}
|
|
1605
1600
|
function SidebarContent({ className, ...props }) {
|
|
1606
|
-
return /* @__PURE__ */
|
|
1601
|
+
return /* @__PURE__ */ jsx12("div", {
|
|
1607
1602
|
"data-slot": "sidebar-content",
|
|
1608
1603
|
"data-sidebar": "content",
|
|
1609
1604
|
className: cn("no-scrollbar flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden", className),
|
|
@@ -1611,7 +1606,7 @@ function SidebarContent({ className, ...props }) {
|
|
|
1611
1606
|
});
|
|
1612
1607
|
}
|
|
1613
1608
|
function SidebarGroup({ className, ...props }) {
|
|
1614
|
-
return /* @__PURE__ */
|
|
1609
|
+
return /* @__PURE__ */ jsx12("div", {
|
|
1615
1610
|
"data-slot": "sidebar-group",
|
|
1616
1611
|
"data-sidebar": "group",
|
|
1617
1612
|
className: cn("relative flex w-full min-w-0 flex-col p-2", className),
|
|
@@ -1639,7 +1634,7 @@ function SidebarGroupContent({
|
|
|
1639
1634
|
className,
|
|
1640
1635
|
...props
|
|
1641
1636
|
}) {
|
|
1642
|
-
return /* @__PURE__ */
|
|
1637
|
+
return /* @__PURE__ */ jsx12("div", {
|
|
1643
1638
|
"data-slot": "sidebar-group-content",
|
|
1644
1639
|
"data-sidebar": "group-content",
|
|
1645
1640
|
className: cn("w-full text-sm", className),
|
|
@@ -1647,7 +1642,7 @@ function SidebarGroupContent({
|
|
|
1647
1642
|
});
|
|
1648
1643
|
}
|
|
1649
1644
|
function SidebarMenu({ className, ...props }) {
|
|
1650
|
-
return /* @__PURE__ */
|
|
1645
|
+
return /* @__PURE__ */ jsx12("ul", {
|
|
1651
1646
|
"data-slot": "sidebar-menu",
|
|
1652
1647
|
"data-sidebar": "menu",
|
|
1653
1648
|
className: cn("flex w-full min-w-0 flex-col gap-1", className),
|
|
@@ -1655,7 +1650,7 @@ function SidebarMenu({ className, ...props }) {
|
|
|
1655
1650
|
});
|
|
1656
1651
|
}
|
|
1657
1652
|
function SidebarMenuItem({ className, ...props }) {
|
|
1658
|
-
return /* @__PURE__ */
|
|
1653
|
+
return /* @__PURE__ */ jsx12("li", {
|
|
1659
1654
|
"data-slot": "sidebar-menu-item",
|
|
1660
1655
|
"data-sidebar": "menu-item",
|
|
1661
1656
|
className: cn("group/menu-item relative", className),
|
|
@@ -1694,7 +1689,7 @@ function SidebarMenuButton({
|
|
|
1694
1689
|
props: mergeProps2({
|
|
1695
1690
|
className: cn(sidebarMenuButtonVariants({ variant, size }), className)
|
|
1696
1691
|
}, props),
|
|
1697
|
-
render: !tooltip ? render : /* @__PURE__ */
|
|
1692
|
+
render: !tooltip ? render : /* @__PURE__ */ jsx12(TooltipTrigger, {
|
|
1698
1693
|
render
|
|
1699
1694
|
}),
|
|
1700
1695
|
state: {
|
|
@@ -1711,7 +1706,7 @@ function SidebarMenuButton({
|
|
|
1711
1706
|
return /* @__PURE__ */ jsxs9(Tooltip, {
|
|
1712
1707
|
children: [
|
|
1713
1708
|
comp,
|
|
1714
|
-
/* @__PURE__ */
|
|
1709
|
+
/* @__PURE__ */ jsx12(TooltipContent, {
|
|
1715
1710
|
side: "right",
|
|
1716
1711
|
align: "center",
|
|
1717
1712
|
hidden: state !== "collapsed" || isMobile,
|
|
@@ -1722,7 +1717,7 @@ function SidebarMenuButton({
|
|
|
1722
1717
|
}
|
|
1723
1718
|
|
|
1724
1719
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
1725
|
-
import { jsx as
|
|
1720
|
+
import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1726
1721
|
var SIDEBAR_COOKIE_NAME2 = "sidebar_state";
|
|
1727
1722
|
var SidebarOpenCookie = Schema2.Literals(["true", "false"]).annotate({
|
|
1728
1723
|
identifier: "SidebarOpenCookie"
|
|
@@ -1742,38 +1737,38 @@ function AppSidebar({ collapsible, footer, groups, header }) {
|
|
|
1742
1737
|
return /* @__PURE__ */ jsxs10(Sidebar, {
|
|
1743
1738
|
collapsible,
|
|
1744
1739
|
children: [
|
|
1745
|
-
header && /* @__PURE__ */
|
|
1740
|
+
header && /* @__PURE__ */ jsx13(SidebarHeader, {
|
|
1746
1741
|
children: header
|
|
1747
1742
|
}),
|
|
1748
|
-
/* @__PURE__ */
|
|
1743
|
+
/* @__PURE__ */ jsx13(SidebarContent, {
|
|
1749
1744
|
className: "group-data-[collapsible=icon]:overflow-x-hidden group-data-[collapsible=icon]:overflow-y-auto",
|
|
1750
1745
|
children: groups.map((group) => /* @__PURE__ */ jsxs10(SidebarGroup, {
|
|
1751
1746
|
children: [
|
|
1752
|
-
/* @__PURE__ */
|
|
1747
|
+
/* @__PURE__ */ jsx13(SidebarGroupLabel, {
|
|
1753
1748
|
children: group.label()
|
|
1754
1749
|
}),
|
|
1755
|
-
/* @__PURE__ */
|
|
1756
|
-
children: /* @__PURE__ */
|
|
1750
|
+
/* @__PURE__ */ jsx13(SidebarGroupContent, {
|
|
1751
|
+
children: /* @__PURE__ */ jsx13(SidebarMenu, {
|
|
1757
1752
|
children: group.items.map((item) => {
|
|
1758
|
-
const render = item.external ? /* @__PURE__ */
|
|
1753
|
+
const render = item.external ? /* @__PURE__ */ jsx13("a", {
|
|
1759
1754
|
href: item.href,
|
|
1760
1755
|
target: "_blank",
|
|
1761
1756
|
rel: "noreferrer"
|
|
1762
|
-
}) : /* @__PURE__ */
|
|
1757
|
+
}) : /* @__PURE__ */ jsx13(Link2, {
|
|
1763
1758
|
to: item.href
|
|
1764
1759
|
});
|
|
1765
|
-
return /* @__PURE__ */
|
|
1760
|
+
return /* @__PURE__ */ jsx13(SidebarMenuItem, {
|
|
1766
1761
|
children: /* @__PURE__ */ jsxs10(SidebarMenuButton, {
|
|
1767
1762
|
isActive: !item.external && pathname === item.href,
|
|
1768
1763
|
onClick: closeMobileSidebar,
|
|
1769
1764
|
render,
|
|
1770
1765
|
tooltip: item.label(),
|
|
1771
1766
|
children: [
|
|
1772
|
-
item.icon ? /* @__PURE__ */
|
|
1773
|
-
/* @__PURE__ */
|
|
1767
|
+
item.icon ? /* @__PURE__ */ jsx13(item.icon, {}) : null,
|
|
1768
|
+
/* @__PURE__ */ jsx13("span", {
|
|
1774
1769
|
children: item.label()
|
|
1775
1770
|
}),
|
|
1776
|
-
item.badge ? /* @__PURE__ */
|
|
1771
|
+
item.badge ? /* @__PURE__ */ jsx13(Badge, {
|
|
1777
1772
|
className: "ml-auto",
|
|
1778
1773
|
variant: "secondary",
|
|
1779
1774
|
children: item.badge()
|
|
@@ -1787,10 +1782,10 @@ function AppSidebar({ collapsible, footer, groups, header }) {
|
|
|
1787
1782
|
]
|
|
1788
1783
|
}, group.label()))
|
|
1789
1784
|
}),
|
|
1790
|
-
footer ? /* @__PURE__ */
|
|
1785
|
+
footer ? /* @__PURE__ */ jsx13(SidebarFooter, {
|
|
1791
1786
|
children: footer
|
|
1792
1787
|
}) : null,
|
|
1793
|
-
/* @__PURE__ */
|
|
1788
|
+
/* @__PURE__ */ jsx13(SidebarRail, {})
|
|
1794
1789
|
]
|
|
1795
1790
|
});
|
|
1796
1791
|
}
|
|
@@ -1811,7 +1806,7 @@ function SidebarLayout({
|
|
|
1811
1806
|
onOpenChange: setSidebarOpen,
|
|
1812
1807
|
className: cn(fullPage && "xl:h-svh xl:min-h-0 xl:overflow-hidden"),
|
|
1813
1808
|
children: [
|
|
1814
|
-
/* @__PURE__ */
|
|
1809
|
+
/* @__PURE__ */ jsx13(AppSidebar, {
|
|
1815
1810
|
collapsible: sidebarCollapsible,
|
|
1816
1811
|
footer: sidebarFooter,
|
|
1817
1812
|
groups,
|
|
@@ -1823,16 +1818,16 @@ function SidebarLayout({
|
|
|
1823
1818
|
/* @__PURE__ */ jsxs10("header", {
|
|
1824
1819
|
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",
|
|
1825
1820
|
children: [
|
|
1826
|
-
/* @__PURE__ */
|
|
1827
|
-
/* @__PURE__ */
|
|
1821
|
+
/* @__PURE__ */ jsx13(SidebarTrigger, {}),
|
|
1822
|
+
/* @__PURE__ */ jsx13("div", {
|
|
1828
1823
|
className: "ml-auto flex items-center gap-2",
|
|
1829
1824
|
children: headerActions
|
|
1830
1825
|
})
|
|
1831
1826
|
]
|
|
1832
1827
|
}),
|
|
1833
|
-
/* @__PURE__ */
|
|
1828
|
+
/* @__PURE__ */ jsx13("div", {
|
|
1834
1829
|
className: contentClassName ?? "flex flex-col gap-6 px-5 py-6 md:px-8",
|
|
1835
|
-
children: children ?? /* @__PURE__ */
|
|
1830
|
+
children: children ?? /* @__PURE__ */ jsx13(Outlet, {})
|
|
1836
1831
|
})
|
|
1837
1832
|
]
|
|
1838
1833
|
})
|
|
@@ -1954,7 +1949,7 @@ var createSeo = (defaults) => (options) => seo({
|
|
|
1954
1949
|
});
|
|
1955
1950
|
|
|
1956
1951
|
// ../../src/lib/docs.tsx
|
|
1957
|
-
import { jsx as
|
|
1952
|
+
import { jsx as jsx14, jsxs as jsxs11, Fragment as Fragment3 } from "react/jsx-runtime";
|
|
1958
1953
|
var SIDEBAR_COOKIE_NAME3 = "sidebar_state";
|
|
1959
1954
|
var SidebarOpenCookie2 = Schema3.Literals(["true", "false"]).annotate({
|
|
1960
1955
|
identifier: "SidebarOpenCookie"
|
|
@@ -1962,7 +1957,7 @@ var SidebarOpenCookie2 = Schema3.Literals(["true", "false"]).annotate({
|
|
|
1962
1957
|
var getSidebarOpenCookie = createIsomorphicFn().server(() => getCookie(SIDEBAR_COOKIE_NAME3)).client(() => Cookies2.parseHeader(globalThis.document?.cookie ?? "")[SIDEBAR_COOKIE_NAME3]);
|
|
1963
1958
|
var getSidebarDefaultOpen2 = () => Schema3.decodeUnknownOption(SidebarOpenCookie2)(getSidebarOpenCookie()).pipe(Option2.map((value) => value === "true"), Option2.getOrElse(() => true));
|
|
1964
1959
|
var makeIcon = (name, paths) => {
|
|
1965
|
-
const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */
|
|
1960
|
+
const Icon = forwardRef(({ absoluteStrokeWidth: _absoluteStrokeWidth, size = 24, ...props }, ref) => /* @__PURE__ */ jsx14("svg", {
|
|
1966
1961
|
"aria-hidden": "true",
|
|
1967
1962
|
fill: "none",
|
|
1968
1963
|
height: size,
|
|
@@ -1981,71 +1976,71 @@ var makeIcon = (name, paths) => {
|
|
|
1981
1976
|
};
|
|
1982
1977
|
var ArrowLeft = makeIcon("ArrowLeft", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
1983
1978
|
children: [
|
|
1984
|
-
/* @__PURE__ */
|
|
1979
|
+
/* @__PURE__ */ jsx14("path", {
|
|
1985
1980
|
d: "m12 19-7-7 7-7"
|
|
1986
1981
|
}),
|
|
1987
|
-
/* @__PURE__ */
|
|
1982
|
+
/* @__PURE__ */ jsx14("path", {
|
|
1988
1983
|
d: "M19 12H5"
|
|
1989
1984
|
})
|
|
1990
1985
|
]
|
|
1991
1986
|
}));
|
|
1992
1987
|
var ArrowRight = makeIcon("ArrowRight", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
1993
1988
|
children: [
|
|
1994
|
-
/* @__PURE__ */
|
|
1989
|
+
/* @__PURE__ */ jsx14("path", {
|
|
1995
1990
|
d: "M5 12h14"
|
|
1996
1991
|
}),
|
|
1997
|
-
/* @__PURE__ */
|
|
1992
|
+
/* @__PURE__ */ jsx14("path", {
|
|
1998
1993
|
d: "m12 5 7 7-7 7"
|
|
1999
1994
|
})
|
|
2000
1995
|
]
|
|
2001
1996
|
}));
|
|
2002
1997
|
var BookOpen = makeIcon("BookOpen", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
2003
1998
|
children: [
|
|
2004
|
-
/* @__PURE__ */
|
|
1999
|
+
/* @__PURE__ */ jsx14("path", {
|
|
2005
2000
|
d: "M12 7v14"
|
|
2006
2001
|
}),
|
|
2007
|
-
/* @__PURE__ */
|
|
2002
|
+
/* @__PURE__ */ jsx14("path", {
|
|
2008
2003
|
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"
|
|
2009
2004
|
})
|
|
2010
2005
|
]
|
|
2011
2006
|
}));
|
|
2012
|
-
var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */
|
|
2007
|
+
var ChevronDown = makeIcon("ChevronDown", /* @__PURE__ */ jsx14("path", {
|
|
2013
2008
|
d: "m6 9 6 6 6-6"
|
|
2014
2009
|
}));
|
|
2015
2010
|
var ExternalLink = makeIcon("ExternalLink", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
2016
2011
|
children: [
|
|
2017
|
-
/* @__PURE__ */
|
|
2012
|
+
/* @__PURE__ */ jsx14("path", {
|
|
2018
2013
|
d: "M15 3h6v6"
|
|
2019
2014
|
}),
|
|
2020
|
-
/* @__PURE__ */
|
|
2015
|
+
/* @__PURE__ */ jsx14("path", {
|
|
2021
2016
|
d: "M10 14 21 3"
|
|
2022
2017
|
}),
|
|
2023
|
-
/* @__PURE__ */
|
|
2018
|
+
/* @__PURE__ */ jsx14("path", {
|
|
2024
2019
|
d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"
|
|
2025
2020
|
})
|
|
2026
2021
|
]
|
|
2027
2022
|
}));
|
|
2028
2023
|
var Hash = makeIcon("Hash", /* @__PURE__ */ jsxs11(Fragment3, {
|
|
2029
2024
|
children: [
|
|
2030
|
-
/* @__PURE__ */
|
|
2025
|
+
/* @__PURE__ */ jsx14("line", {
|
|
2031
2026
|
x1: "4",
|
|
2032
2027
|
x2: "20",
|
|
2033
2028
|
y1: "9",
|
|
2034
2029
|
y2: "9"
|
|
2035
2030
|
}),
|
|
2036
|
-
/* @__PURE__ */
|
|
2031
|
+
/* @__PURE__ */ jsx14("line", {
|
|
2037
2032
|
x1: "4",
|
|
2038
2033
|
x2: "20",
|
|
2039
2034
|
y1: "15",
|
|
2040
2035
|
y2: "15"
|
|
2041
2036
|
}),
|
|
2042
|
-
/* @__PURE__ */
|
|
2037
|
+
/* @__PURE__ */ jsx14("line", {
|
|
2043
2038
|
x1: "10",
|
|
2044
2039
|
x2: "8",
|
|
2045
2040
|
y1: "3",
|
|
2046
2041
|
y2: "21"
|
|
2047
2042
|
}),
|
|
2048
|
-
/* @__PURE__ */
|
|
2043
|
+
/* @__PURE__ */ jsx14("line", {
|
|
2049
2044
|
x1: "16",
|
|
2050
2045
|
x2: "14",
|
|
2051
2046
|
y1: "3",
|
|
@@ -2447,7 +2442,7 @@ var DocsArticle = ({
|
|
|
2447
2442
|
messages: messages3,
|
|
2448
2443
|
page
|
|
2449
2444
|
}) => {
|
|
2450
|
-
return /* @__PURE__ */
|
|
2445
|
+
return /* @__PURE__ */ jsx14(MarkdownContent, {
|
|
2451
2446
|
codeBlocks: page.codeBlocks,
|
|
2452
2447
|
html: page.html,
|
|
2453
2448
|
messages: { copy: messages3.copyCode, copied: messages3.copied }
|
|
@@ -2494,12 +2489,12 @@ var DocsTableOfContentsItems = ({
|
|
|
2494
2489
|
headings
|
|
2495
2490
|
}) => {
|
|
2496
2491
|
const activeHeadingId = useActiveDocsHeading(headings);
|
|
2497
|
-
return /* @__PURE__ */
|
|
2492
|
+
return /* @__PURE__ */ jsx14("ol", {
|
|
2498
2493
|
className: "border-l",
|
|
2499
2494
|
children: headings.map((heading) => {
|
|
2500
2495
|
const isActive = heading.id === activeHeadingId;
|
|
2501
|
-
return /* @__PURE__ */
|
|
2502
|
-
children: /* @__PURE__ */
|
|
2496
|
+
return /* @__PURE__ */ jsx14("li", {
|
|
2497
|
+
children: /* @__PURE__ */ jsx14("a", {
|
|
2503
2498
|
"aria-current": isActive ? "location" : undefined,
|
|
2504
2499
|
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"}`,
|
|
2505
2500
|
href: `#${heading.id}`,
|
|
@@ -2519,11 +2514,11 @@ var DocsTableOfContents = ({
|
|
|
2519
2514
|
"aria-label": label,
|
|
2520
2515
|
className: "fixed top-20 max-h-[calc(100svh-6rem)] w-56 overflow-y-auto",
|
|
2521
2516
|
children: [
|
|
2522
|
-
/* @__PURE__ */
|
|
2517
|
+
/* @__PURE__ */ jsx14("p", {
|
|
2523
2518
|
className: "text-foreground mb-3 text-sm font-semibold",
|
|
2524
2519
|
children: label
|
|
2525
2520
|
}),
|
|
2526
|
-
/* @__PURE__ */
|
|
2521
|
+
/* @__PURE__ */ jsx14(DocsTableOfContentsItems, {
|
|
2527
2522
|
headings
|
|
2528
2523
|
})
|
|
2529
2524
|
]
|
|
@@ -2541,19 +2536,19 @@ var DocsMobileTableOfContents = ({
|
|
|
2541
2536
|
/* @__PURE__ */ jsxs11(CollapsibleTrigger, {
|
|
2542
2537
|
className: "group flex w-full cursor-pointer items-center justify-between p-4 text-left text-sm font-semibold",
|
|
2543
2538
|
children: [
|
|
2544
|
-
/* @__PURE__ */
|
|
2539
|
+
/* @__PURE__ */ jsx14("span", {
|
|
2545
2540
|
children: label
|
|
2546
2541
|
}),
|
|
2547
|
-
/* @__PURE__ */
|
|
2542
|
+
/* @__PURE__ */ jsx14(ChevronDown, {
|
|
2548
2543
|
className: "text-muted-foreground size-4 transition-transform group-data-[panel-open]:rotate-180"
|
|
2549
2544
|
})
|
|
2550
2545
|
]
|
|
2551
2546
|
}),
|
|
2552
|
-
/* @__PURE__ */
|
|
2547
|
+
/* @__PURE__ */ jsx14(CollapsibleContent, {
|
|
2553
2548
|
className: "px-4 pt-1 pb-4",
|
|
2554
|
-
children: /* @__PURE__ */
|
|
2549
|
+
children: /* @__PURE__ */ jsx14("nav", {
|
|
2555
2550
|
"aria-label": label,
|
|
2556
|
-
children: /* @__PURE__ */
|
|
2551
|
+
children: /* @__PURE__ */ jsx14(DocsTableOfContentsItems, {
|
|
2557
2552
|
headings
|
|
2558
2553
|
})
|
|
2559
2554
|
})
|
|
@@ -2591,7 +2586,7 @@ var DocsSearch = ({
|
|
|
2591
2586
|
id: `${page.path}#${heading.id}`,
|
|
2592
2587
|
label: heading.title,
|
|
2593
2588
|
description: page.title,
|
|
2594
|
-
icon: /* @__PURE__ */
|
|
2589
|
+
icon: /* @__PURE__ */ jsx14(Hash, {
|
|
2595
2590
|
className: "size-4"
|
|
2596
2591
|
}),
|
|
2597
2592
|
onSelect: () => docs.navigate(`${page.path}#${heading.id}`)
|
|
@@ -2605,7 +2600,7 @@ var DocsSearch = ({
|
|
|
2605
2600
|
if (page.icon) {
|
|
2606
2601
|
const PageIcon = iconFor(docs.icons, page.icon);
|
|
2607
2602
|
if (PageIcon)
|
|
2608
|
-
item.icon = /* @__PURE__ */
|
|
2603
|
+
item.icon = /* @__PURE__ */ jsx14(PageIcon, {
|
|
2609
2604
|
className: "size-4"
|
|
2610
2605
|
});
|
|
2611
2606
|
}
|
|
@@ -2613,7 +2608,7 @@ var DocsSearch = ({
|
|
|
2613
2608
|
})())
|
|
2614
2609
|
};
|
|
2615
2610
|
});
|
|
2616
|
-
return /* @__PURE__ */
|
|
2611
|
+
return /* @__PURE__ */ jsx14(SearchMenu, {
|
|
2617
2612
|
groups,
|
|
2618
2613
|
messages: {
|
|
2619
2614
|
title: messages3.searchTitle,
|
|
@@ -2683,11 +2678,11 @@ var DocsLayout = ({
|
|
|
2683
2678
|
]
|
|
2684
2679
|
});
|
|
2685
2680
|
}
|
|
2686
|
-
return /* @__PURE__ */
|
|
2681
|
+
return /* @__PURE__ */ jsx14(SidebarLayout, {
|
|
2687
2682
|
defaultOpen: getSidebarDefaultOpen2(),
|
|
2688
2683
|
groups,
|
|
2689
2684
|
sidebarCollapsible,
|
|
2690
|
-
sidebarHeader: /* @__PURE__ */
|
|
2685
|
+
sidebarHeader: /* @__PURE__ */ jsx14(AppBrand, {
|
|
2691
2686
|
label: brand.label,
|
|
2692
2687
|
subtitle: brand.subtitle(),
|
|
2693
2688
|
icon: brand.icon,
|
|
@@ -2703,12 +2698,12 @@ var DocsLayout = ({
|
|
|
2703
2698
|
rel: "noreferrer",
|
|
2704
2699
|
children: [
|
|
2705
2700
|
docs.githubLabel,
|
|
2706
|
-
/* @__PURE__ */
|
|
2701
|
+
/* @__PURE__ */ jsx14(ExternalLink, {
|
|
2707
2702
|
className: "size-3.5"
|
|
2708
2703
|
})
|
|
2709
2704
|
]
|
|
2710
2705
|
}) : null,
|
|
2711
|
-
/* @__PURE__ */
|
|
2706
|
+
/* @__PURE__ */ jsx14(DocsSearch, {
|
|
2712
2707
|
docs,
|
|
2713
2708
|
locale,
|
|
2714
2709
|
messages: resolvedMessages
|
|
@@ -2737,21 +2732,21 @@ var DocsHeader = ({ docs, resolution }) => {
|
|
|
2737
2732
|
/* @__PURE__ */ jsxs11("div", {
|
|
2738
2733
|
className: "flex flex-wrap items-center gap-3",
|
|
2739
2734
|
children: [
|
|
2740
|
-
/* @__PURE__ */
|
|
2735
|
+
/* @__PURE__ */ jsx14("h1", {
|
|
2741
2736
|
className: "text-3xl font-bold tracking-tight sm:text-4xl",
|
|
2742
2737
|
children: page.title
|
|
2743
2738
|
}),
|
|
2744
|
-
page.tags?.map((tag) => /* @__PURE__ */
|
|
2739
|
+
page.tags?.map((tag) => /* @__PURE__ */ jsx14(Badge, {
|
|
2745
2740
|
variant: "secondary",
|
|
2746
2741
|
children: tag
|
|
2747
2742
|
}, tag))
|
|
2748
2743
|
]
|
|
2749
2744
|
}),
|
|
2750
|
-
/* @__PURE__ */
|
|
2745
|
+
/* @__PURE__ */ jsx14("p", {
|
|
2751
2746
|
className: "text-muted-foreground mt-3 max-w-2xl text-base leading-7",
|
|
2752
2747
|
children: page.description
|
|
2753
2748
|
}),
|
|
2754
|
-
page.updatedAt ? /* @__PURE__ */
|
|
2749
|
+
page.updatedAt ? /* @__PURE__ */ jsx14("p", {
|
|
2755
2750
|
className: "text-muted-foreground mt-3 text-sm",
|
|
2756
2751
|
children: resolvedMessages.lastUpdated(new Date(page.updatedAt))
|
|
2757
2752
|
}) : null
|
|
@@ -2763,11 +2758,11 @@ var DocsContent = ({ docs, resolution }) => {
|
|
|
2763
2758
|
const resolvedMessages = docs.getMessages(page.locale);
|
|
2764
2759
|
return /* @__PURE__ */ jsxs11(Fragment3, {
|
|
2765
2760
|
children: [
|
|
2766
|
-
/* @__PURE__ */
|
|
2761
|
+
/* @__PURE__ */ jsx14(DocsMobileTableOfContents, {
|
|
2767
2762
|
headings: page.headings,
|
|
2768
2763
|
label: resolvedMessages.onThisPage
|
|
2769
2764
|
}),
|
|
2770
|
-
/* @__PURE__ */
|
|
2765
|
+
/* @__PURE__ */ jsx14(DocsArticle, {
|
|
2771
2766
|
messages: resolvedMessages,
|
|
2772
2767
|
page
|
|
2773
2768
|
})
|
|
@@ -2791,12 +2786,12 @@ var DocsFooter = ({ docs, resolution }) => {
|
|
|
2791
2786
|
rel: "noreferrer",
|
|
2792
2787
|
children: [
|
|
2793
2788
|
resolvedMessages.editPage,
|
|
2794
|
-
/* @__PURE__ */
|
|
2789
|
+
/* @__PURE__ */ jsx14(ExternalLink, {
|
|
2795
2790
|
className: "size-3.5"
|
|
2796
2791
|
})
|
|
2797
2792
|
]
|
|
2798
2793
|
}) : null,
|
|
2799
|
-
/* @__PURE__ */
|
|
2794
|
+
/* @__PURE__ */ jsx14("span", {
|
|
2800
2795
|
className: "text-muted-foreground",
|
|
2801
2796
|
children: resolvedMessages.latestVersionNotice
|
|
2802
2797
|
})
|
|
@@ -2813,18 +2808,18 @@ var DocsFooter = ({ docs, resolution }) => {
|
|
|
2813
2808
|
/* @__PURE__ */ jsxs11("span", {
|
|
2814
2809
|
className: "text-muted-foreground flex items-center gap-1 text-xs font-medium uppercase",
|
|
2815
2810
|
children: [
|
|
2816
|
-
/* @__PURE__ */
|
|
2811
|
+
/* @__PURE__ */ jsx14(ArrowLeft, {
|
|
2817
2812
|
className: "size-3.5"
|
|
2818
2813
|
}),
|
|
2819
2814
|
resolvedMessages.previous
|
|
2820
2815
|
]
|
|
2821
2816
|
}),
|
|
2822
|
-
/* @__PURE__ */
|
|
2817
|
+
/* @__PURE__ */ jsx14("span", {
|
|
2823
2818
|
className: "mt-1 block font-semibold",
|
|
2824
2819
|
children: neighbors.previous.title
|
|
2825
2820
|
})
|
|
2826
2821
|
]
|
|
2827
|
-
}) : /* @__PURE__ */
|
|
2822
|
+
}) : /* @__PURE__ */ jsx14("span", {}),
|
|
2828
2823
|
neighbors.next ? /* @__PURE__ */ jsxs11("a", {
|
|
2829
2824
|
className: "hover:bg-muted/50 rounded-lg border p-4 text-right transition-colors",
|
|
2830
2825
|
href: neighbors.next.path,
|
|
@@ -2833,12 +2828,12 @@ var DocsFooter = ({ docs, resolution }) => {
|
|
|
2833
2828
|
className: "text-muted-foreground flex items-center justify-end gap-1 text-xs font-medium uppercase",
|
|
2834
2829
|
children: [
|
|
2835
2830
|
resolvedMessages.next,
|
|
2836
|
-
/* @__PURE__ */
|
|
2831
|
+
/* @__PURE__ */ jsx14(ArrowRight, {
|
|
2837
2832
|
className: "size-3.5"
|
|
2838
2833
|
})
|
|
2839
2834
|
]
|
|
2840
2835
|
}),
|
|
2841
|
-
/* @__PURE__ */
|
|
2836
|
+
/* @__PURE__ */ jsx14("span", {
|
|
2842
2837
|
className: "mt-1 block font-semibold",
|
|
2843
2838
|
children: neighbors.next.title
|
|
2844
2839
|
})
|
|
@@ -2854,15 +2849,15 @@ var DocsPage = ({ children, docs, resolution }) => {
|
|
|
2854
2849
|
const resolvedMessages = docs.getMessages(page.locale);
|
|
2855
2850
|
const content = children ?? /* @__PURE__ */ jsxs11(Fragment3, {
|
|
2856
2851
|
children: [
|
|
2857
|
-
/* @__PURE__ */
|
|
2852
|
+
/* @__PURE__ */ jsx14(DocsHeader, {
|
|
2858
2853
|
docs,
|
|
2859
2854
|
resolution
|
|
2860
2855
|
}),
|
|
2861
|
-
/* @__PURE__ */
|
|
2856
|
+
/* @__PURE__ */ jsx14(DocsContent, {
|
|
2862
2857
|
docs,
|
|
2863
2858
|
resolution
|
|
2864
2859
|
}),
|
|
2865
|
-
/* @__PURE__ */
|
|
2860
|
+
/* @__PURE__ */ jsx14(DocsFooter, {
|
|
2866
2861
|
docs,
|
|
2867
2862
|
resolution
|
|
2868
2863
|
})
|
|
@@ -2870,7 +2865,7 @@ var DocsPage = ({ children, docs, resolution }) => {
|
|
|
2870
2865
|
});
|
|
2871
2866
|
return /* @__PURE__ */ jsxs11(Fragment3, {
|
|
2872
2867
|
children: [
|
|
2873
|
-
/* @__PURE__ */
|
|
2868
|
+
/* @__PURE__ */ jsx14("a", {
|
|
2874
2869
|
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",
|
|
2875
2870
|
href: "#docs-content",
|
|
2876
2871
|
children: resolvedMessages.skipToContent
|
|
@@ -2878,15 +2873,15 @@ var DocsPage = ({ children, docs, resolution }) => {
|
|
|
2878
2873
|
/* @__PURE__ */ jsxs11("div", {
|
|
2879
2874
|
className: "mx-auto grid w-full max-w-6xl gap-10 xl:grid-cols-[minmax(0,48rem)_14rem]",
|
|
2880
2875
|
children: [
|
|
2881
|
-
/* @__PURE__ */
|
|
2876
|
+
/* @__PURE__ */ jsx14("article", {
|
|
2882
2877
|
id: "docs-content",
|
|
2883
2878
|
className: "min-w-0 pb-16",
|
|
2884
2879
|
tabIndex: -1,
|
|
2885
2880
|
children: content
|
|
2886
2881
|
}),
|
|
2887
|
-
/* @__PURE__ */
|
|
2882
|
+
/* @__PURE__ */ jsx14("aside", {
|
|
2888
2883
|
className: "hidden xl:block",
|
|
2889
|
-
children: /* @__PURE__ */
|
|
2884
|
+
children: /* @__PURE__ */ jsx14(DocsTableOfContents, {
|
|
2890
2885
|
headings: page.headings,
|
|
2891
2886
|
label: resolvedMessages.onThisPage
|
|
2892
2887
|
})
|
|
@@ -2905,18 +2900,18 @@ var DocsNotFound = ({
|
|
|
2905
2900
|
return /* @__PURE__ */ jsxs11("main", {
|
|
2906
2901
|
className: "mx-auto flex min-h-screen max-w-lg flex-col justify-center px-6 text-center",
|
|
2907
2902
|
children: [
|
|
2908
|
-
/* @__PURE__ */
|
|
2903
|
+
/* @__PURE__ */ jsx14(BrandIcon, {
|
|
2909
2904
|
className: "text-primary mx-auto size-10"
|
|
2910
2905
|
}),
|
|
2911
|
-
/* @__PURE__ */
|
|
2906
|
+
/* @__PURE__ */ jsx14("h1", {
|
|
2912
2907
|
className: "mt-6 text-3xl font-bold tracking-tight",
|
|
2913
2908
|
children: resolvedMessages.notFoundTitle
|
|
2914
2909
|
}),
|
|
2915
|
-
/* @__PURE__ */
|
|
2910
|
+
/* @__PURE__ */ jsx14("p", {
|
|
2916
2911
|
className: "text-muted-foreground mt-3 leading-7",
|
|
2917
2912
|
children: resolvedMessages.notFoundDescription
|
|
2918
2913
|
}),
|
|
2919
|
-
/* @__PURE__ */
|
|
2914
|
+
/* @__PURE__ */ jsx14("a", {
|
|
2920
2915
|
className: "text-primary mt-6 font-semibold underline underline-offset-4",
|
|
2921
2916
|
href: docs.basePath,
|
|
2922
2917
|
children: resolvedMessages.notFoundAction
|
|
@@ -2925,20 +2920,20 @@ var DocsNotFound = ({
|
|
|
2925
2920
|
});
|
|
2926
2921
|
};
|
|
2927
2922
|
export {
|
|
2928
|
-
|
|
2929
|
-
makeDocs,
|
|
2930
|
-
getDocsMessages,
|
|
2931
|
-
createDocsSource,
|
|
2932
|
-
DocsSection,
|
|
2933
|
-
DocsPageType,
|
|
2934
|
-
DocsPageSchema,
|
|
2935
|
-
DocsPage,
|
|
2936
|
-
DocsNotFound,
|
|
2937
|
-
DocsLayout,
|
|
2938
|
-
DocsHeadingSchema,
|
|
2939
|
-
DocsHeader,
|
|
2940
|
-
DocsFrontmatter,
|
|
2941
|
-
DocsFooter,
|
|
2923
|
+
DocsCodeBlockSchema,
|
|
2942
2924
|
DocsContent,
|
|
2943
|
-
|
|
2925
|
+
DocsFooter,
|
|
2926
|
+
DocsFrontmatter,
|
|
2927
|
+
DocsHeader,
|
|
2928
|
+
DocsHeadingSchema,
|
|
2929
|
+
DocsLayout,
|
|
2930
|
+
DocsNotFound,
|
|
2931
|
+
DocsPage,
|
|
2932
|
+
DocsPageSchema,
|
|
2933
|
+
DocsPageType,
|
|
2934
|
+
DocsSection,
|
|
2935
|
+
createDocsSource,
|
|
2936
|
+
getDocsMessages,
|
|
2937
|
+
makeDocs,
|
|
2938
|
+
slugifyDocsHeading
|
|
2944
2939
|
};
|