@krak-stack/registry 0.1.3 → 0.1.5
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/app-brand.js +20 -20
- package/dist/components/ui/code-block.js +38 -38
- package/dist/components/ui/copy-button.js +16 -16
- package/dist/components/ui/data-table.js +687 -687
- package/dist/components/ui/editing-locale-switcher.js +54 -54
- package/dist/components/ui/effect-form.js +492 -492
- package/dist/components/ui/file-picker.js +96 -96
- package/dist/components/ui/form.js +418 -418
- package/dist/components/ui/google-map.js +27 -27
- package/dist/components/ui/icon-input.js +93 -93
- package/dist/components/ui/loading.js +5 -5
- package/dist/components/ui/locale-switcher.js +48 -48
- package/dist/components/ui/pagination.js +92 -92
- package/dist/components/ui/search-menu.js +93 -93
- package/dist/components/ui/sidebar-layout.js +156 -156
- package/dist/components/ui/stats-card.js +28 -28
- package/dist/components/ui/theme-switcher.js +64 -64
- package/dist/components/ui/virtualized-combobox.js +66 -66
- package/dist/lib/docs-ai.js +14 -14
- package/dist/lib/docs-core.js +396 -396
- package/dist/services/agent/client/index.js +364 -364
- package/package.json +2 -2
|
@@ -20,7 +20,7 @@ function cn(...inputs) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// ../../src/components/ui/button.tsx
|
|
23
|
-
import {
|
|
23
|
+
import { jsx } from "react/jsx-runtime";
|
|
24
24
|
var buttonVariants = cva("group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
25
25
|
variants: {
|
|
26
26
|
variant: {
|
|
@@ -53,11 +53,11 @@ function Button({
|
|
|
53
53
|
size = "default",
|
|
54
54
|
...props
|
|
55
55
|
}) {
|
|
56
|
-
return /* @__PURE__ */
|
|
56
|
+
return /* @__PURE__ */ jsx(ButtonPrimitive, {
|
|
57
57
|
"data-slot": "button",
|
|
58
58
|
className: cn(buttonVariants({ variant, size, className })),
|
|
59
59
|
...props
|
|
60
|
-
}
|
|
60
|
+
});
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
// ../../src/components/ui/input-group.tsx
|
|
@@ -65,28 +65,28 @@ import { cva as cva2 } from "class-variance-authority";
|
|
|
65
65
|
|
|
66
66
|
// ../../src/components/ui/input.tsx
|
|
67
67
|
import { Input as InputPrimitive } from "@base-ui/react/input";
|
|
68
|
-
import {
|
|
68
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
69
69
|
function Input({ className, type, ...props }) {
|
|
70
|
-
return /* @__PURE__ */
|
|
70
|
+
return /* @__PURE__ */ jsx2(InputPrimitive, {
|
|
71
71
|
type,
|
|
72
72
|
"data-slot": "input",
|
|
73
73
|
className: cn("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", className),
|
|
74
74
|
...props
|
|
75
|
-
}
|
|
75
|
+
});
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
// ../../src/components/ui/textarea.tsx
|
|
79
|
-
import {
|
|
79
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
80
80
|
|
|
81
81
|
// ../../src/components/ui/input-group.tsx
|
|
82
|
-
import {
|
|
82
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
83
83
|
function InputGroup({ className, ...props }) {
|
|
84
|
-
return /* @__PURE__ */
|
|
84
|
+
return /* @__PURE__ */ jsx4("div", {
|
|
85
85
|
"data-slot": "input-group",
|
|
86
86
|
role: "group",
|
|
87
87
|
className: cn("group/input-group relative flex h-9 w-full min-w-0 items-center rounded-md border border-input shadow-xs transition-[color,box-shadow] outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5", className),
|
|
88
88
|
...props
|
|
89
|
-
}
|
|
89
|
+
});
|
|
90
90
|
}
|
|
91
91
|
var inputGroupAddonVariants = cva2("flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4", {
|
|
92
92
|
variants: {
|
|
@@ -114,11 +114,11 @@ function InputGroupInput({
|
|
|
114
114
|
className,
|
|
115
115
|
...props
|
|
116
116
|
}) {
|
|
117
|
-
return /* @__PURE__ */
|
|
117
|
+
return /* @__PURE__ */ jsx4(Input, {
|
|
118
118
|
"data-slot": "input-group-control",
|
|
119
119
|
className: cn("flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent", className),
|
|
120
120
|
...props
|
|
121
|
-
}
|
|
121
|
+
});
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
// ../../src/paraglide/runtime.js
|
|
@@ -550,7 +550,7 @@ function isCustomStrategy(strategy2) {
|
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
// ../../src/components/ui/virtualized-combobox.tsx
|
|
553
|
-
import {
|
|
553
|
+
import { jsx as jsx5, jsxs } from "react/jsx-runtime";
|
|
554
554
|
"use client";
|
|
555
555
|
var messages = {
|
|
556
556
|
en: {
|
|
@@ -613,19 +613,19 @@ var VirtualizedComboboxList = ({
|
|
|
613
613
|
virtualizer.measure();
|
|
614
614
|
}, [virtualizer]);
|
|
615
615
|
if (filteredItems.length === 0) {
|
|
616
|
-
return /* @__PURE__ */
|
|
616
|
+
return /* @__PURE__ */ jsx5("div", {
|
|
617
617
|
className: "text-muted-foreground py-6 text-center text-sm",
|
|
618
618
|
children: emptyLabel
|
|
619
|
-
}
|
|
619
|
+
});
|
|
620
620
|
}
|
|
621
|
-
return /* @__PURE__ */
|
|
621
|
+
return /* @__PURE__ */ jsx5(ComboboxPrimitive.List, {
|
|
622
622
|
className: "scroll-py-1 overflow-auto overscroll-contain p-1",
|
|
623
623
|
ref: handleScrollElementRef,
|
|
624
624
|
style: {
|
|
625
625
|
height: Math.min(virtualizer.getTotalSize() + 8, 288),
|
|
626
626
|
maxHeight: "var(--available-height)"
|
|
627
627
|
},
|
|
628
|
-
children: /* @__PURE__ */
|
|
628
|
+
children: /* @__PURE__ */ jsx5("div", {
|
|
629
629
|
className: "relative w-full",
|
|
630
630
|
role: "presentation",
|
|
631
631
|
style: { height: virtualizer.getTotalSize() },
|
|
@@ -638,18 +638,18 @@ var VirtualizedComboboxList = ({
|
|
|
638
638
|
transform: `translateY(${virtualItem.start}px)`
|
|
639
639
|
};
|
|
640
640
|
if (entry.kind === "group") {
|
|
641
|
-
return /* @__PURE__ */
|
|
641
|
+
return /* @__PURE__ */ jsx5(ComboboxPrimitive.Group, {
|
|
642
642
|
className: "contents",
|
|
643
|
-
children: /* @__PURE__ */
|
|
643
|
+
children: /* @__PURE__ */ jsx5(ComboboxPrimitive.GroupLabel, {
|
|
644
644
|
className: "text-muted-foreground absolute top-0 left-0 w-full px-2 pt-3 pb-1 text-xs",
|
|
645
645
|
"data-index": virtualItem.index,
|
|
646
646
|
ref: virtualizer.measureElement,
|
|
647
647
|
style,
|
|
648
648
|
children: entry.label
|
|
649
|
-
}
|
|
650
|
-
}, entry.key
|
|
649
|
+
})
|
|
650
|
+
}, entry.key);
|
|
651
651
|
}
|
|
652
|
-
return /* @__PURE__ */
|
|
652
|
+
return /* @__PURE__ */ jsxs(ComboboxPrimitive.Item, {
|
|
653
653
|
"aria-posinset": entry.index + 1,
|
|
654
654
|
"aria-setsize": filteredItems.length,
|
|
655
655
|
className: "data-highlighted:bg-accent data-highlighted:text-accent-foreground absolute top-0 left-0 flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
@@ -659,19 +659,19 @@ var VirtualizedComboboxList = ({
|
|
|
659
659
|
style,
|
|
660
660
|
value: entry.item,
|
|
661
661
|
children: [
|
|
662
|
-
renderItem?.(entry.item) ?? /* @__PURE__ */
|
|
662
|
+
renderItem?.(entry.item) ?? /* @__PURE__ */ jsx5("span", {
|
|
663
663
|
className: "min-w-0 truncate",
|
|
664
664
|
children: entry.item.label
|
|
665
|
-
}
|
|
666
|
-
/* @__PURE__ */
|
|
665
|
+
}),
|
|
666
|
+
/* @__PURE__ */ jsx5(ComboboxPrimitive.ItemIndicator, {
|
|
667
667
|
className: "absolute right-2 flex size-4 items-center justify-center",
|
|
668
|
-
children: /* @__PURE__ */
|
|
669
|
-
}
|
|
668
|
+
children: /* @__PURE__ */ jsx5(Check, {})
|
|
669
|
+
})
|
|
670
670
|
]
|
|
671
|
-
}, entry.item.value
|
|
671
|
+
}, entry.item.value);
|
|
672
672
|
})
|
|
673
|
-
}
|
|
674
|
-
}
|
|
673
|
+
})
|
|
674
|
+
});
|
|
675
675
|
};
|
|
676
676
|
var VirtualizedComboboxContent = ({
|
|
677
677
|
contentClassName,
|
|
@@ -683,39 +683,39 @@ var VirtualizedComboboxContent = ({
|
|
|
683
683
|
virtualizerRef
|
|
684
684
|
}) => {
|
|
685
685
|
const labels = virtualizedComboboxMessages(messageOverrides);
|
|
686
|
-
return /* @__PURE__ */
|
|
687
|
-
children: /* @__PURE__ */
|
|
686
|
+
return /* @__PURE__ */ jsx5(ComboboxPrimitive.Portal, {
|
|
687
|
+
children: /* @__PURE__ */ jsx5(ComboboxPrimitive.Positioner, {
|
|
688
688
|
align: "start",
|
|
689
689
|
className: "isolate z-50",
|
|
690
690
|
side: "bottom",
|
|
691
691
|
sideOffset: 6,
|
|
692
|
-
children: /* @__PURE__ */
|
|
692
|
+
children: /* @__PURE__ */ jsxs(ComboboxPrimitive.Popup, {
|
|
693
693
|
className: cn("relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-0 origin-(--transform-origin) overflow-hidden rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-in-95", contentClassName),
|
|
694
694
|
children: [
|
|
695
|
-
/* @__PURE__ */
|
|
695
|
+
/* @__PURE__ */ jsx5("div", {
|
|
696
696
|
className: "min-w-0 p-1 pb-0",
|
|
697
|
-
children: /* @__PURE__ */
|
|
697
|
+
children: /* @__PURE__ */ jsx5(InputGroup, {
|
|
698
698
|
className: "border-input/30 bg-input/30 h-8 w-full min-w-0 shadow-none",
|
|
699
|
-
children: /* @__PURE__ */
|
|
699
|
+
children: /* @__PURE__ */ jsx5(ComboboxPrimitive.Input, {
|
|
700
700
|
placeholder: labels.search,
|
|
701
|
-
render: /* @__PURE__ */
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
/* @__PURE__ */
|
|
701
|
+
render: /* @__PURE__ */ jsx5(InputGroupInput, {})
|
|
702
|
+
})
|
|
703
|
+
})
|
|
704
|
+
}),
|
|
705
|
+
/* @__PURE__ */ jsx5(VirtualizedComboboxList, {
|
|
706
706
|
emptyLabel,
|
|
707
707
|
groupSelections,
|
|
708
708
|
messages: messageOverrides,
|
|
709
709
|
renderItem,
|
|
710
710
|
selectedValues,
|
|
711
711
|
virtualizerRef
|
|
712
|
-
}
|
|
712
|
+
})
|
|
713
713
|
]
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
}
|
|
714
|
+
})
|
|
715
|
+
})
|
|
716
|
+
});
|
|
717
717
|
};
|
|
718
|
-
var defaultTrigger = (ariaLabel, ariaInvalid, disabled, label, triggerId) => /* @__PURE__ */
|
|
718
|
+
var defaultTrigger = (ariaLabel, ariaInvalid, disabled, label, triggerId) => /* @__PURE__ */ jsxs(Button, {
|
|
719
719
|
"aria-label": ariaLabel,
|
|
720
720
|
"aria-invalid": ariaInvalid,
|
|
721
721
|
className: "w-full max-w-full min-w-0 justify-between overflow-hidden",
|
|
@@ -724,15 +724,15 @@ var defaultTrigger = (ariaLabel, ariaInvalid, disabled, label, triggerId) => /*
|
|
|
724
724
|
type: "button",
|
|
725
725
|
variant: "outline",
|
|
726
726
|
children: [
|
|
727
|
-
/* @__PURE__ */
|
|
727
|
+
/* @__PURE__ */ jsx5("span", {
|
|
728
728
|
className: "min-w-0 truncate text-left",
|
|
729
729
|
children: label
|
|
730
|
-
}
|
|
731
|
-
/* @__PURE__ */
|
|
730
|
+
}),
|
|
731
|
+
/* @__PURE__ */ jsx5(ChevronsUpDown, {
|
|
732
732
|
className: "text-muted-foreground shrink-0 opacity-70"
|
|
733
|
-
}
|
|
733
|
+
})
|
|
734
734
|
]
|
|
735
|
-
}
|
|
735
|
+
});
|
|
736
736
|
var selectedLabel = (value, placeholder) => {
|
|
737
737
|
if (Array.isArray(value)) {
|
|
738
738
|
return value.length > 0 ? value.map(({ label }) => label).join(", ") : placeholder;
|
|
@@ -745,7 +745,7 @@ var useComboboxVirtualizerRef = (providedRef) => {
|
|
|
745
745
|
};
|
|
746
746
|
var VirtualizedComboboxSingle = (props) => {
|
|
747
747
|
const virtualizerRef = useComboboxVirtualizerRef(props.virtualizerRef);
|
|
748
|
-
return /* @__PURE__ */
|
|
748
|
+
return /* @__PURE__ */ jsxs(ComboboxPrimitive.Root, {
|
|
749
749
|
disabled: props.disabled,
|
|
750
750
|
inputValue: props.searchValue,
|
|
751
751
|
items: [...props.items],
|
|
@@ -763,21 +763,21 @@ var VirtualizedComboboxSingle = (props) => {
|
|
|
763
763
|
value: props.value,
|
|
764
764
|
virtualized: true,
|
|
765
765
|
children: [
|
|
766
|
-
/* @__PURE__ */
|
|
766
|
+
/* @__PURE__ */ jsx5(ComboboxPrimitive.Trigger, {
|
|
767
767
|
render: props.trigger ?? defaultTrigger(props.ariaLabel, props.ariaInvalid, props.disabled, selectedLabel(props.value, props.placeholder), props.triggerId)
|
|
768
|
-
}
|
|
769
|
-
/* @__PURE__ */
|
|
768
|
+
}),
|
|
769
|
+
/* @__PURE__ */ jsx5(VirtualizedComboboxContent, {
|
|
770
770
|
...props,
|
|
771
771
|
groupSelections: false,
|
|
772
772
|
selectedValues: new Set(props.value ? [props.value.value] : []),
|
|
773
773
|
virtualizerRef
|
|
774
|
-
}
|
|
774
|
+
})
|
|
775
775
|
]
|
|
776
|
-
}
|
|
776
|
+
});
|
|
777
777
|
};
|
|
778
778
|
var VirtualizedComboboxMultiple = (props) => {
|
|
779
779
|
const virtualizerRef = useComboboxVirtualizerRef(props.virtualizerRef);
|
|
780
|
-
return /* @__PURE__ */
|
|
780
|
+
return /* @__PURE__ */ jsxs(ComboboxPrimitive.Root, {
|
|
781
781
|
disabled: props.disabled,
|
|
782
782
|
inputValue: props.searchValue,
|
|
783
783
|
items: [...props.items],
|
|
@@ -796,24 +796,24 @@ var VirtualizedComboboxMultiple = (props) => {
|
|
|
796
796
|
value: [...props.value],
|
|
797
797
|
virtualized: true,
|
|
798
798
|
children: [
|
|
799
|
-
/* @__PURE__ */
|
|
799
|
+
/* @__PURE__ */ jsx5(ComboboxPrimitive.Trigger, {
|
|
800
800
|
render: props.trigger ?? defaultTrigger(props.ariaLabel, props.ariaInvalid, props.disabled, selectedLabel(props.value, props.placeholder), props.triggerId)
|
|
801
|
-
}
|
|
802
|
-
/* @__PURE__ */
|
|
801
|
+
}),
|
|
802
|
+
/* @__PURE__ */ jsx5(VirtualizedComboboxContent, {
|
|
803
803
|
...props,
|
|
804
804
|
groupSelections: true,
|
|
805
805
|
selectedValues: new Set(props.value.map(({ value }) => value)),
|
|
806
806
|
virtualizerRef
|
|
807
|
-
}
|
|
807
|
+
})
|
|
808
808
|
]
|
|
809
|
-
}
|
|
809
|
+
});
|
|
810
810
|
};
|
|
811
811
|
function VirtualizedCombobox(props) {
|
|
812
|
-
return props.multiple ? /* @__PURE__ */
|
|
812
|
+
return props.multiple ? /* @__PURE__ */ jsx5(VirtualizedComboboxMultiple, {
|
|
813
813
|
...props
|
|
814
|
-
}
|
|
814
|
+
}) : /* @__PURE__ */ jsx5(VirtualizedComboboxSingle, {
|
|
815
815
|
...props
|
|
816
|
-
}
|
|
816
|
+
});
|
|
817
817
|
}
|
|
818
818
|
export {
|
|
819
819
|
virtualizedComboboxMessages,
|
package/dist/lib/docs-ai.js
CHANGED
|
@@ -19,11 +19,11 @@ import { parse } from "yaml";
|
|
|
19
19
|
|
|
20
20
|
// ../../src/components/ui/app-brand.tsx
|
|
21
21
|
import { Link } from "@tanstack/react-router";
|
|
22
|
-
import {
|
|
22
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
23
23
|
|
|
24
24
|
// ../../src/components/ui/collapsible.tsx
|
|
25
25
|
import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
|
|
26
|
-
import {
|
|
26
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
27
27
|
|
|
28
28
|
// ../../src/components/ui/search-menu.tsx
|
|
29
29
|
import { SearchIcon as SearchIcon2 } from "lucide-react";
|
|
@@ -38,7 +38,7 @@ import { clsx } from "clsx";
|
|
|
38
38
|
import { twMerge } from "tailwind-merge";
|
|
39
39
|
|
|
40
40
|
// ../../src/components/ui/button.tsx
|
|
41
|
-
import {
|
|
41
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
42
42
|
var buttonVariants = cva("group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
43
43
|
variants: {
|
|
44
44
|
variant: {
|
|
@@ -73,10 +73,10 @@ import { SearchIcon } from "lucide-react";
|
|
|
73
73
|
// ../../src/components/ui/dialog.tsx
|
|
74
74
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
75
75
|
import { XIcon } from "lucide-react";
|
|
76
|
-
import {
|
|
76
|
+
import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
77
77
|
|
|
78
78
|
// ../../src/components/ui/command.tsx
|
|
79
|
-
import {
|
|
79
|
+
import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
80
80
|
|
|
81
81
|
// ../../src/paraglide/runtime.js
|
|
82
82
|
import"@inlang/paraglide-js/urlpattern-polyfill";
|
|
@@ -100,7 +100,7 @@ var customServerStrategies = new Map;
|
|
|
100
100
|
var customClientStrategies = new Map;
|
|
101
101
|
|
|
102
102
|
// ../../src/components/ui/search-menu.tsx
|
|
103
|
-
import {
|
|
103
|
+
import { jsx as jsx6, jsxs as jsxs4, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
104
104
|
|
|
105
105
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
106
106
|
import { useAtom } from "@effect/atom-react";
|
|
@@ -140,29 +140,29 @@ import * as React from "react";
|
|
|
140
140
|
|
|
141
141
|
// ../../src/components/ui/input.tsx
|
|
142
142
|
import { Input as InputPrimitive } from "@base-ui/react/input";
|
|
143
|
-
import {
|
|
143
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
144
144
|
|
|
145
145
|
// ../../src/components/ui/separator.tsx
|
|
146
146
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
147
|
-
import {
|
|
147
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
148
148
|
|
|
149
149
|
// ../../src/components/ui/sheet.tsx
|
|
150
150
|
import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
|
|
151
151
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
152
|
-
import {
|
|
152
|
+
import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
153
153
|
"use client";
|
|
154
154
|
|
|
155
155
|
// ../../src/components/ui/skeleton.tsx
|
|
156
|
-
import {
|
|
156
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
157
157
|
|
|
158
158
|
// ../../src/components/ui/tooltip.tsx
|
|
159
159
|
import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
|
|
160
|
-
import {
|
|
160
|
+
import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
161
161
|
"use client";
|
|
162
162
|
|
|
163
163
|
// ../../src/components/ui/sidebar.tsx
|
|
164
164
|
import { PanelLeftIcon } from "lucide-react";
|
|
165
|
-
import {
|
|
165
|
+
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
166
166
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
167
167
|
var SidebarContext = React2.createContext(null);
|
|
168
168
|
var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate", {
|
|
@@ -184,7 +184,7 @@ var sidebarMenuButtonVariants = cva3("peer/menu-button group/menu-button flex w-
|
|
|
184
184
|
});
|
|
185
185
|
|
|
186
186
|
// ../../src/components/ui/sidebar-layout.tsx
|
|
187
|
-
import {
|
|
187
|
+
import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
188
188
|
var sidebarStorageRuntime = Atom.runtime(BrowserKeyValueStore.layerLocalStorage);
|
|
189
189
|
var sidebarOpenAtom = Atom.kvs({
|
|
190
190
|
runtime: sidebarStorageRuntime,
|
|
@@ -194,7 +194,7 @@ var sidebarOpenAtom = Atom.kvs({
|
|
|
194
194
|
});
|
|
195
195
|
|
|
196
196
|
// ../../src/lib/docs-core.tsx
|
|
197
|
-
import {
|
|
197
|
+
import { jsx as jsx14, jsxs as jsxs9, Fragment as Fragment3 } from "react/jsx-runtime";
|
|
198
198
|
addCollection(lucideIcons);
|
|
199
199
|
var DocsSection = Schema2.String.annotate({
|
|
200
200
|
identifier: "DocsSection"
|