@kopexa/theme 17.14.0 → 17.16.0
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/chunk-2GNVYP2T.mjs +19 -0
- package/dist/chunk-JT6SHEZ6.mjs +21 -0
- package/dist/chunk-L75CK6K3.mjs +146 -0
- package/dist/chunk-TJLBHX4F.mjs +41 -0
- package/dist/chunk-W6TZSSAU.mjs +26 -0
- package/dist/components/breadcrumb.d.mts +69 -0
- package/dist/components/breadcrumb.d.ts +69 -0
- package/dist/components/breadcrumb.js +50 -0
- package/dist/components/breadcrumb.mjs +6 -0
- package/dist/components/command.d.mts +3 -3
- package/dist/components/command.d.ts +3 -3
- package/dist/components/conversation.d.mts +69 -0
- package/dist/components/conversation.d.ts +69 -0
- package/dist/components/conversation.js +45 -0
- package/dist/components/conversation.mjs +6 -0
- package/dist/components/filter.d.mts +81 -12
- package/dist/components/filter.d.ts +81 -12
- package/dist/components/filter.js +63 -20
- package/dist/components/filter.mjs +1 -1
- package/dist/components/index.d.mts +4 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +294 -148
- package/dist/components/index.mjs +67 -51
- package/dist/components/message.d.mts +71 -0
- package/dist/components/message.d.ts +71 -0
- package/dist/components/message.js +65 -0
- package/dist/components/message.mjs +6 -0
- package/dist/components/prompt-input.d.mts +57 -0
- package/dist/components/prompt-input.d.ts +57 -0
- package/dist/components/prompt-input.js +43 -0
- package/dist/components/prompt-input.mjs +6 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +294 -148
- package/dist/index.mjs +67 -51
- package/package.json +3 -3
- package/dist/chunk-PKB6QHSP.mjs +0 -103
- /package/dist/{chunk-FZR3MK36.mjs → chunk-CGGAYK7A.mjs} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// src/components/prompt-input.ts
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
var promptInput = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "flex w-full flex-col gap-2",
|
|
6
|
+
form: "relative flex w-full items-end gap-2 rounded-lg border bg-background p-2 focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",
|
|
7
|
+
textarea: [
|
|
8
|
+
"flex-1 resize-none bg-transparent text-sm placeholder:text-muted-foreground",
|
|
9
|
+
"focus:outline-none",
|
|
10
|
+
"min-h-[40px] max-h-[200px]"
|
|
11
|
+
],
|
|
12
|
+
actions: "flex items-center gap-1",
|
|
13
|
+
submitButton: "flex-shrink-0"
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
promptInput
|
|
19
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// src/components/conversation.ts
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
var conversation = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
root: [
|
|
6
|
+
"relative flex-1 min-h-0",
|
|
7
|
+
// StickToBottom internal container needs overflow
|
|
8
|
+
"[&>div]:overflow-y-auto"
|
|
9
|
+
],
|
|
10
|
+
content: "flex flex-col gap-8 p-4",
|
|
11
|
+
emptyState: "flex size-full flex-col items-center justify-center gap-3 p-8 text-center",
|
|
12
|
+
emptyStateIcon: "text-muted-foreground",
|
|
13
|
+
emptyStateTitle: "font-medium text-sm",
|
|
14
|
+
emptyStateDescription: "text-muted-foreground text-sm",
|
|
15
|
+
scrollButton: "absolute bottom-4 left-[50%] translate-x-[-50%] rounded-full dark:bg-background dark:hover:bg-muted"
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
conversation
|
|
21
|
+
};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import {
|
|
2
|
+
focusVisibleClasses
|
|
3
|
+
} from "./chunk-6IZPAS4O.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/filter.ts
|
|
6
|
+
import { tv } from "tailwind-variants";
|
|
7
|
+
var filter = tv({
|
|
8
|
+
slots: {
|
|
9
|
+
root: "flex flex-wrap items-center gap-2",
|
|
10
|
+
// Trigger Button
|
|
11
|
+
trigger: [
|
|
12
|
+
"inline-flex items-center gap-2 rounded-full",
|
|
13
|
+
"border border-dashed border-input text-sm",
|
|
14
|
+
"hover:bg-accent hover:text-accent-foreground",
|
|
15
|
+
"transition-colors cursor-pointer",
|
|
16
|
+
...focusVisibleClasses
|
|
17
|
+
],
|
|
18
|
+
triggerIcon: "size-4 opacity-60",
|
|
19
|
+
// Feld-Auswahl Menü
|
|
20
|
+
menu: [
|
|
21
|
+
"bg-popover text-popover-foreground border rounded-lg shadow-lg p-1 min-w-[220px]",
|
|
22
|
+
"data-[open]:animate-in data-[closed]:animate-out",
|
|
23
|
+
"data-[closed]:fade-out-0 data-[open]:fade-in-0",
|
|
24
|
+
"data-[closed]:zoom-out-95 data-[open]:zoom-in-95"
|
|
25
|
+
],
|
|
26
|
+
menuGroup: "py-1",
|
|
27
|
+
menuGroupLabel: "px-2 py-1.5 text-xs font-medium text-muted-foreground uppercase tracking-wide",
|
|
28
|
+
menuItem: [
|
|
29
|
+
"flex items-center gap-2 px-2 py-1.5 rounded-sm text-sm cursor-pointer",
|
|
30
|
+
"outline-none select-none",
|
|
31
|
+
"data-highlighted:bg-accent data-highlighted:text-accent-foreground",
|
|
32
|
+
"data-disabled:opacity-50 data-disabled:pointer-events-none"
|
|
33
|
+
],
|
|
34
|
+
menuItemIcon: "size-4 text-muted-foreground",
|
|
35
|
+
menuSeparator: "bg-border -mx-1 my-1 h-px",
|
|
36
|
+
// Aktiver Filter (Contentful-Style segmented)
|
|
37
|
+
field: [
|
|
38
|
+
"group inline-flex items-center rounded-full",
|
|
39
|
+
"border border-border bg-background",
|
|
40
|
+
"transition-all hover:shadow-sm focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-1"
|
|
41
|
+
],
|
|
42
|
+
fieldLabel: [
|
|
43
|
+
"bg-muted text-foreground font-medium text-xs",
|
|
44
|
+
"flex items-center gap-1.5 flex-shrink-0"
|
|
45
|
+
],
|
|
46
|
+
fieldOperator: [
|
|
47
|
+
"bg-primary text-primary-foreground",
|
|
48
|
+
"flex items-center",
|
|
49
|
+
"rounded-full shadow-sm",
|
|
50
|
+
"mx-1 my-0.5"
|
|
51
|
+
],
|
|
52
|
+
// Native select inside operator segment
|
|
53
|
+
fieldOperatorSelect: [
|
|
54
|
+
"appearance-none bg-transparent font-normal cursor-pointer",
|
|
55
|
+
"border-none outline-none text-xs",
|
|
56
|
+
"focus:outline-none"
|
|
57
|
+
],
|
|
58
|
+
fieldOperatorIcon: "size-3 opacity-70 ml-0.5 pointer-events-none",
|
|
59
|
+
fieldValue: [
|
|
60
|
+
"bg-background text-foreground text-xs",
|
|
61
|
+
"flex items-center gap-1"
|
|
62
|
+
],
|
|
63
|
+
// Native input inside value segment (width set dynamically via style)
|
|
64
|
+
fieldValueInput: [
|
|
65
|
+
"bg-transparent border-none outline-none",
|
|
66
|
+
"placeholder:text-muted-foreground"
|
|
67
|
+
],
|
|
68
|
+
fieldValueText: "truncate",
|
|
69
|
+
fieldValueIcon: "size-3.5 opacity-60 flex-shrink-0",
|
|
70
|
+
fieldRemove: [
|
|
71
|
+
"size-5 rounded-full flex items-center justify-center flex-shrink-0",
|
|
72
|
+
"hover:bg-destructive/10 hover:text-destructive",
|
|
73
|
+
"transition-colors cursor-pointer",
|
|
74
|
+
"mr-1",
|
|
75
|
+
...focusVisibleClasses
|
|
76
|
+
],
|
|
77
|
+
// Wert-Editor Popover (for select/multiselect types)
|
|
78
|
+
editor: [
|
|
79
|
+
"bg-popover text-popover-foreground border rounded-lg shadow-lg p-3 min-w-[280px]",
|
|
80
|
+
"data-[open]:animate-in data-[closed]:animate-out",
|
|
81
|
+
"data-[closed]:fade-out-0 data-[open]:fade-in-0",
|
|
82
|
+
"data-[closed]:zoom-out-95 data-[open]:zoom-in-95"
|
|
83
|
+
],
|
|
84
|
+
editorHeader: "flex items-center justify-between mb-3",
|
|
85
|
+
editorTitle: "text-sm font-medium",
|
|
86
|
+
editorOperator: "w-full mb-3",
|
|
87
|
+
editorInput: "w-full",
|
|
88
|
+
// Active Filters Container
|
|
89
|
+
active: "flex flex-wrap items-center gap-2",
|
|
90
|
+
// Clear All Button
|
|
91
|
+
clearAll: [
|
|
92
|
+
"text-xs text-muted-foreground hover:text-foreground",
|
|
93
|
+
"cursor-pointer transition-colors underline-offset-2 hover:underline"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
variants: {
|
|
97
|
+
size: {
|
|
98
|
+
sm: {
|
|
99
|
+
trigger: "h-7 text-xs px-2.5",
|
|
100
|
+
field: "text-xs h-7",
|
|
101
|
+
fieldLabel: "px-2.5 py-1",
|
|
102
|
+
fieldOperator: "px-2.5 py-0.5",
|
|
103
|
+
fieldOperatorSelect: "text-xs",
|
|
104
|
+
fieldValue: "px-2 py-1",
|
|
105
|
+
fieldValueInput: "text-xs h-5",
|
|
106
|
+
fieldRemove: "size-4"
|
|
107
|
+
},
|
|
108
|
+
md: {
|
|
109
|
+
trigger: "h-8 px-3",
|
|
110
|
+
field: "text-sm h-8",
|
|
111
|
+
fieldLabel: "px-3 py-1.5",
|
|
112
|
+
fieldOperator: "px-3 py-1",
|
|
113
|
+
fieldOperatorSelect: "text-sm",
|
|
114
|
+
fieldValue: "px-2.5 py-1.5",
|
|
115
|
+
fieldValueInput: "text-sm h-5",
|
|
116
|
+
fieldRemove: "size-5"
|
|
117
|
+
},
|
|
118
|
+
lg: {
|
|
119
|
+
trigger: "h-9 px-4 text-base",
|
|
120
|
+
field: "text-base h-9",
|
|
121
|
+
fieldLabel: "px-4 py-2",
|
|
122
|
+
fieldOperator: "px-4 py-1.5",
|
|
123
|
+
fieldOperatorSelect: "text-base",
|
|
124
|
+
fieldValue: "px-3 py-2",
|
|
125
|
+
fieldValueInput: "text-base h-6",
|
|
126
|
+
fieldRemove: "size-6"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
variant: {
|
|
130
|
+
outline: {
|
|
131
|
+
field: "border-input"
|
|
132
|
+
},
|
|
133
|
+
solid: {
|
|
134
|
+
field: "border-transparent shadow-sm"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
defaultVariants: {
|
|
139
|
+
size: "md",
|
|
140
|
+
variant: "solid"
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
export {
|
|
145
|
+
filter
|
|
146
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// src/components/message.ts
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
var message = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "group flex w-full max-w-[95%] flex-col gap-2",
|
|
6
|
+
content: [
|
|
7
|
+
"flex w-fit min-w-0 max-w-full flex-col gap-2 overflow-hidden text-sm",
|
|
8
|
+
// Assistant styles (default)
|
|
9
|
+
"group-[.is-assistant]:text-foreground",
|
|
10
|
+
// User styles
|
|
11
|
+
"group-[.is-user]:ml-auto group-[.is-user]:rounded-lg group-[.is-user]:bg-muted group-[.is-user]:px-4 group-[.is-user]:py-3 group-[.is-user]:text-foreground"
|
|
12
|
+
],
|
|
13
|
+
actions: "flex items-center gap-1",
|
|
14
|
+
toolbar: "mt-4 flex w-full items-center justify-between gap-4",
|
|
15
|
+
// Branch components
|
|
16
|
+
branchRoot: "grid w-full gap-2 [&>div]:pb-0",
|
|
17
|
+
branchContent: "grid gap-2 overflow-hidden [&>div]:pb-0",
|
|
18
|
+
branchSelector: "flex items-center",
|
|
19
|
+
branchPage: "px-2 text-muted-foreground text-xs tabular-nums"
|
|
20
|
+
},
|
|
21
|
+
variants: {
|
|
22
|
+
from: {
|
|
23
|
+
user: {
|
|
24
|
+
root: "is-user ml-auto justify-end"
|
|
25
|
+
},
|
|
26
|
+
assistant: {
|
|
27
|
+
root: "is-assistant"
|
|
28
|
+
},
|
|
29
|
+
system: {
|
|
30
|
+
root: "is-system"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
defaultVariants: {
|
|
35
|
+
from: "assistant"
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
message
|
|
41
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// src/components/breadcrumb.ts
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
var breadcrumb = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
base: "",
|
|
6
|
+
list: [
|
|
7
|
+
"flex",
|
|
8
|
+
"flex-wrap",
|
|
9
|
+
"items-center",
|
|
10
|
+
"gap-1.5",
|
|
11
|
+
"break-words",
|
|
12
|
+
"text-sm",
|
|
13
|
+
"text-muted-fg",
|
|
14
|
+
"sm:gap-2.5"
|
|
15
|
+
],
|
|
16
|
+
item: ["inline-flex", "items-center", "gap-1.5"],
|
|
17
|
+
link: ["transition-colors", "hover:text-fg"],
|
|
18
|
+
page: ["font-normal", "text-fg"],
|
|
19
|
+
separator: ["[&>svg]:size-3.5"],
|
|
20
|
+
ellipsis: ["flex", "h-9", "w-9", "items-center", "justify-center"]
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export {
|
|
25
|
+
breadcrumb
|
|
26
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
4
|
+
|
|
5
|
+
declare const breadcrumb: tailwind_variants.TVReturnType<{
|
|
6
|
+
[key: string]: {
|
|
7
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
8
|
+
item?: tailwind_merge.ClassNameValue;
|
|
9
|
+
base?: tailwind_merge.ClassNameValue;
|
|
10
|
+
list?: tailwind_merge.ClassNameValue;
|
|
11
|
+
link?: tailwind_merge.ClassNameValue;
|
|
12
|
+
page?: tailwind_merge.ClassNameValue;
|
|
13
|
+
separator?: tailwind_merge.ClassNameValue;
|
|
14
|
+
ellipsis?: tailwind_merge.ClassNameValue;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
} | {
|
|
18
|
+
[x: string]: {
|
|
19
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
20
|
+
item?: tailwind_merge.ClassNameValue;
|
|
21
|
+
base?: tailwind_merge.ClassNameValue;
|
|
22
|
+
list?: tailwind_merge.ClassNameValue;
|
|
23
|
+
link?: tailwind_merge.ClassNameValue;
|
|
24
|
+
page?: tailwind_merge.ClassNameValue;
|
|
25
|
+
separator?: tailwind_merge.ClassNameValue;
|
|
26
|
+
ellipsis?: tailwind_merge.ClassNameValue;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
} | {}, {
|
|
30
|
+
base: string;
|
|
31
|
+
list: string[];
|
|
32
|
+
item: string[];
|
|
33
|
+
link: string[];
|
|
34
|
+
page: string[];
|
|
35
|
+
separator: string[];
|
|
36
|
+
ellipsis: string[];
|
|
37
|
+
}, undefined, {
|
|
38
|
+
[key: string]: {
|
|
39
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
40
|
+
item?: tailwind_merge.ClassNameValue;
|
|
41
|
+
base?: tailwind_merge.ClassNameValue;
|
|
42
|
+
list?: tailwind_merge.ClassNameValue;
|
|
43
|
+
link?: tailwind_merge.ClassNameValue;
|
|
44
|
+
page?: tailwind_merge.ClassNameValue;
|
|
45
|
+
separator?: tailwind_merge.ClassNameValue;
|
|
46
|
+
ellipsis?: tailwind_merge.ClassNameValue;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
} | {}, {
|
|
50
|
+
base: string;
|
|
51
|
+
list: string[];
|
|
52
|
+
item: string[];
|
|
53
|
+
link: string[];
|
|
54
|
+
page: string[];
|
|
55
|
+
separator: string[];
|
|
56
|
+
ellipsis: string[];
|
|
57
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
58
|
+
base: string;
|
|
59
|
+
list: string[];
|
|
60
|
+
item: string[];
|
|
61
|
+
link: string[];
|
|
62
|
+
page: string[];
|
|
63
|
+
separator: string[];
|
|
64
|
+
ellipsis: string[];
|
|
65
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
66
|
+
type BreadcrumbVariantProps = VariantProps<typeof breadcrumb>;
|
|
67
|
+
type BreadcrumbSlots = keyof ReturnType<typeof breadcrumb>;
|
|
68
|
+
|
|
69
|
+
export { type BreadcrumbSlots, type BreadcrumbVariantProps, breadcrumb };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
4
|
+
|
|
5
|
+
declare const breadcrumb: tailwind_variants.TVReturnType<{
|
|
6
|
+
[key: string]: {
|
|
7
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
8
|
+
item?: tailwind_merge.ClassNameValue;
|
|
9
|
+
base?: tailwind_merge.ClassNameValue;
|
|
10
|
+
list?: tailwind_merge.ClassNameValue;
|
|
11
|
+
link?: tailwind_merge.ClassNameValue;
|
|
12
|
+
page?: tailwind_merge.ClassNameValue;
|
|
13
|
+
separator?: tailwind_merge.ClassNameValue;
|
|
14
|
+
ellipsis?: tailwind_merge.ClassNameValue;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
} | {
|
|
18
|
+
[x: string]: {
|
|
19
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
20
|
+
item?: tailwind_merge.ClassNameValue;
|
|
21
|
+
base?: tailwind_merge.ClassNameValue;
|
|
22
|
+
list?: tailwind_merge.ClassNameValue;
|
|
23
|
+
link?: tailwind_merge.ClassNameValue;
|
|
24
|
+
page?: tailwind_merge.ClassNameValue;
|
|
25
|
+
separator?: tailwind_merge.ClassNameValue;
|
|
26
|
+
ellipsis?: tailwind_merge.ClassNameValue;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
} | {}, {
|
|
30
|
+
base: string;
|
|
31
|
+
list: string[];
|
|
32
|
+
item: string[];
|
|
33
|
+
link: string[];
|
|
34
|
+
page: string[];
|
|
35
|
+
separator: string[];
|
|
36
|
+
ellipsis: string[];
|
|
37
|
+
}, undefined, {
|
|
38
|
+
[key: string]: {
|
|
39
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
40
|
+
item?: tailwind_merge.ClassNameValue;
|
|
41
|
+
base?: tailwind_merge.ClassNameValue;
|
|
42
|
+
list?: tailwind_merge.ClassNameValue;
|
|
43
|
+
link?: tailwind_merge.ClassNameValue;
|
|
44
|
+
page?: tailwind_merge.ClassNameValue;
|
|
45
|
+
separator?: tailwind_merge.ClassNameValue;
|
|
46
|
+
ellipsis?: tailwind_merge.ClassNameValue;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
} | {}, {
|
|
50
|
+
base: string;
|
|
51
|
+
list: string[];
|
|
52
|
+
item: string[];
|
|
53
|
+
link: string[];
|
|
54
|
+
page: string[];
|
|
55
|
+
separator: string[];
|
|
56
|
+
ellipsis: string[];
|
|
57
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
58
|
+
base: string;
|
|
59
|
+
list: string[];
|
|
60
|
+
item: string[];
|
|
61
|
+
link: string[];
|
|
62
|
+
page: string[];
|
|
63
|
+
separator: string[];
|
|
64
|
+
ellipsis: string[];
|
|
65
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
66
|
+
type BreadcrumbVariantProps = VariantProps<typeof breadcrumb>;
|
|
67
|
+
type BreadcrumbSlots = keyof ReturnType<typeof breadcrumb>;
|
|
68
|
+
|
|
69
|
+
export { type BreadcrumbSlots, type BreadcrumbVariantProps, breadcrumb };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/breadcrumb.ts
|
|
21
|
+
var breadcrumb_exports = {};
|
|
22
|
+
__export(breadcrumb_exports, {
|
|
23
|
+
breadcrumb: () => breadcrumb
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(breadcrumb_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var breadcrumb = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
base: "",
|
|
30
|
+
list: [
|
|
31
|
+
"flex",
|
|
32
|
+
"flex-wrap",
|
|
33
|
+
"items-center",
|
|
34
|
+
"gap-1.5",
|
|
35
|
+
"break-words",
|
|
36
|
+
"text-sm",
|
|
37
|
+
"text-muted-fg",
|
|
38
|
+
"sm:gap-2.5"
|
|
39
|
+
],
|
|
40
|
+
item: ["inline-flex", "items-center", "gap-1.5"],
|
|
41
|
+
link: ["transition-colors", "hover:text-fg"],
|
|
42
|
+
page: ["font-normal", "text-fg"],
|
|
43
|
+
separator: ["[&>svg]:size-3.5"],
|
|
44
|
+
ellipsis: ["flex", "h-9", "w-9", "items-center", "justify-center"]
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
48
|
+
0 && (module.exports = {
|
|
49
|
+
breadcrumb
|
|
50
|
+
});
|
|
@@ -13,8 +13,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
13
13
|
list?: tailwind_merge.ClassNameValue;
|
|
14
14
|
input?: tailwind_merge.ClassNameValue;
|
|
15
15
|
empty?: tailwind_merge.ClassNameValue;
|
|
16
|
-
group?: tailwind_merge.ClassNameValue;
|
|
17
16
|
separator?: tailwind_merge.ClassNameValue;
|
|
17
|
+
group?: tailwind_merge.ClassNameValue;
|
|
18
18
|
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
19
19
|
inputIcon?: tailwind_merge.ClassNameValue;
|
|
20
20
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
@@ -31,8 +31,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
31
31
|
list?: tailwind_merge.ClassNameValue;
|
|
32
32
|
input?: tailwind_merge.ClassNameValue;
|
|
33
33
|
empty?: tailwind_merge.ClassNameValue;
|
|
34
|
-
group?: tailwind_merge.ClassNameValue;
|
|
35
34
|
separator?: tailwind_merge.ClassNameValue;
|
|
35
|
+
group?: tailwind_merge.ClassNameValue;
|
|
36
36
|
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
37
37
|
inputIcon?: tailwind_merge.ClassNameValue;
|
|
38
38
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
@@ -63,8 +63,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
63
63
|
list?: tailwind_merge.ClassNameValue;
|
|
64
64
|
input?: tailwind_merge.ClassNameValue;
|
|
65
65
|
empty?: tailwind_merge.ClassNameValue;
|
|
66
|
-
group?: tailwind_merge.ClassNameValue;
|
|
67
66
|
separator?: tailwind_merge.ClassNameValue;
|
|
67
|
+
group?: tailwind_merge.ClassNameValue;
|
|
68
68
|
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
69
69
|
inputIcon?: tailwind_merge.ClassNameValue;
|
|
70
70
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
@@ -13,8 +13,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
13
13
|
list?: tailwind_merge.ClassNameValue;
|
|
14
14
|
input?: tailwind_merge.ClassNameValue;
|
|
15
15
|
empty?: tailwind_merge.ClassNameValue;
|
|
16
|
-
group?: tailwind_merge.ClassNameValue;
|
|
17
16
|
separator?: tailwind_merge.ClassNameValue;
|
|
17
|
+
group?: tailwind_merge.ClassNameValue;
|
|
18
18
|
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
19
19
|
inputIcon?: tailwind_merge.ClassNameValue;
|
|
20
20
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
@@ -31,8 +31,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
31
31
|
list?: tailwind_merge.ClassNameValue;
|
|
32
32
|
input?: tailwind_merge.ClassNameValue;
|
|
33
33
|
empty?: tailwind_merge.ClassNameValue;
|
|
34
|
-
group?: tailwind_merge.ClassNameValue;
|
|
35
34
|
separator?: tailwind_merge.ClassNameValue;
|
|
35
|
+
group?: tailwind_merge.ClassNameValue;
|
|
36
36
|
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
37
37
|
inputIcon?: tailwind_merge.ClassNameValue;
|
|
38
38
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
@@ -63,8 +63,8 @@ declare const command: tailwind_variants.TVReturnType<{
|
|
|
63
63
|
list?: tailwind_merge.ClassNameValue;
|
|
64
64
|
input?: tailwind_merge.ClassNameValue;
|
|
65
65
|
empty?: tailwind_merge.ClassNameValue;
|
|
66
|
-
group?: tailwind_merge.ClassNameValue;
|
|
67
66
|
separator?: tailwind_merge.ClassNameValue;
|
|
67
|
+
group?: tailwind_merge.ClassNameValue;
|
|
68
68
|
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
69
69
|
inputIcon?: tailwind_merge.ClassNameValue;
|
|
70
70
|
shortcut?: tailwind_merge.ClassNameValue;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
4
|
+
|
|
5
|
+
declare const conversation: tailwind_variants.TVReturnType<{
|
|
6
|
+
[key: string]: {
|
|
7
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
8
|
+
root?: tailwind_merge.ClassNameValue;
|
|
9
|
+
content?: tailwind_merge.ClassNameValue;
|
|
10
|
+
emptyState?: tailwind_merge.ClassNameValue;
|
|
11
|
+
emptyStateIcon?: tailwind_merge.ClassNameValue;
|
|
12
|
+
emptyStateTitle?: tailwind_merge.ClassNameValue;
|
|
13
|
+
emptyStateDescription?: tailwind_merge.ClassNameValue;
|
|
14
|
+
scrollButton?: tailwind_merge.ClassNameValue;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
} | {
|
|
18
|
+
[x: string]: {
|
|
19
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
20
|
+
root?: tailwind_merge.ClassNameValue;
|
|
21
|
+
content?: tailwind_merge.ClassNameValue;
|
|
22
|
+
emptyState?: tailwind_merge.ClassNameValue;
|
|
23
|
+
emptyStateIcon?: tailwind_merge.ClassNameValue;
|
|
24
|
+
emptyStateTitle?: tailwind_merge.ClassNameValue;
|
|
25
|
+
emptyStateDescription?: tailwind_merge.ClassNameValue;
|
|
26
|
+
scrollButton?: tailwind_merge.ClassNameValue;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
} | {}, {
|
|
30
|
+
root: string[];
|
|
31
|
+
content: string;
|
|
32
|
+
emptyState: string;
|
|
33
|
+
emptyStateIcon: string;
|
|
34
|
+
emptyStateTitle: string;
|
|
35
|
+
emptyStateDescription: string;
|
|
36
|
+
scrollButton: string;
|
|
37
|
+
}, undefined, {
|
|
38
|
+
[key: string]: {
|
|
39
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
40
|
+
root?: tailwind_merge.ClassNameValue;
|
|
41
|
+
content?: tailwind_merge.ClassNameValue;
|
|
42
|
+
emptyState?: tailwind_merge.ClassNameValue;
|
|
43
|
+
emptyStateIcon?: tailwind_merge.ClassNameValue;
|
|
44
|
+
emptyStateTitle?: tailwind_merge.ClassNameValue;
|
|
45
|
+
emptyStateDescription?: tailwind_merge.ClassNameValue;
|
|
46
|
+
scrollButton?: tailwind_merge.ClassNameValue;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
} | {}, {
|
|
50
|
+
root: string[];
|
|
51
|
+
content: string;
|
|
52
|
+
emptyState: string;
|
|
53
|
+
emptyStateIcon: string;
|
|
54
|
+
emptyStateTitle: string;
|
|
55
|
+
emptyStateDescription: string;
|
|
56
|
+
scrollButton: string;
|
|
57
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
58
|
+
root: string[];
|
|
59
|
+
content: string;
|
|
60
|
+
emptyState: string;
|
|
61
|
+
emptyStateIcon: string;
|
|
62
|
+
emptyStateTitle: string;
|
|
63
|
+
emptyStateDescription: string;
|
|
64
|
+
scrollButton: string;
|
|
65
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
66
|
+
type ConversationVariantProps = VariantProps<typeof conversation>;
|
|
67
|
+
type ConversationSlots = keyof ReturnType<typeof conversation>;
|
|
68
|
+
|
|
69
|
+
export { type ConversationSlots, type ConversationVariantProps, conversation };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
4
|
+
|
|
5
|
+
declare const conversation: tailwind_variants.TVReturnType<{
|
|
6
|
+
[key: string]: {
|
|
7
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
8
|
+
root?: tailwind_merge.ClassNameValue;
|
|
9
|
+
content?: tailwind_merge.ClassNameValue;
|
|
10
|
+
emptyState?: tailwind_merge.ClassNameValue;
|
|
11
|
+
emptyStateIcon?: tailwind_merge.ClassNameValue;
|
|
12
|
+
emptyStateTitle?: tailwind_merge.ClassNameValue;
|
|
13
|
+
emptyStateDescription?: tailwind_merge.ClassNameValue;
|
|
14
|
+
scrollButton?: tailwind_merge.ClassNameValue;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
} | {
|
|
18
|
+
[x: string]: {
|
|
19
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
20
|
+
root?: tailwind_merge.ClassNameValue;
|
|
21
|
+
content?: tailwind_merge.ClassNameValue;
|
|
22
|
+
emptyState?: tailwind_merge.ClassNameValue;
|
|
23
|
+
emptyStateIcon?: tailwind_merge.ClassNameValue;
|
|
24
|
+
emptyStateTitle?: tailwind_merge.ClassNameValue;
|
|
25
|
+
emptyStateDescription?: tailwind_merge.ClassNameValue;
|
|
26
|
+
scrollButton?: tailwind_merge.ClassNameValue;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
} | {}, {
|
|
30
|
+
root: string[];
|
|
31
|
+
content: string;
|
|
32
|
+
emptyState: string;
|
|
33
|
+
emptyStateIcon: string;
|
|
34
|
+
emptyStateTitle: string;
|
|
35
|
+
emptyStateDescription: string;
|
|
36
|
+
scrollButton: string;
|
|
37
|
+
}, undefined, {
|
|
38
|
+
[key: string]: {
|
|
39
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
40
|
+
root?: tailwind_merge.ClassNameValue;
|
|
41
|
+
content?: tailwind_merge.ClassNameValue;
|
|
42
|
+
emptyState?: tailwind_merge.ClassNameValue;
|
|
43
|
+
emptyStateIcon?: tailwind_merge.ClassNameValue;
|
|
44
|
+
emptyStateTitle?: tailwind_merge.ClassNameValue;
|
|
45
|
+
emptyStateDescription?: tailwind_merge.ClassNameValue;
|
|
46
|
+
scrollButton?: tailwind_merge.ClassNameValue;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
} | {}, {
|
|
50
|
+
root: string[];
|
|
51
|
+
content: string;
|
|
52
|
+
emptyState: string;
|
|
53
|
+
emptyStateIcon: string;
|
|
54
|
+
emptyStateTitle: string;
|
|
55
|
+
emptyStateDescription: string;
|
|
56
|
+
scrollButton: string;
|
|
57
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
58
|
+
root: string[];
|
|
59
|
+
content: string;
|
|
60
|
+
emptyState: string;
|
|
61
|
+
emptyStateIcon: string;
|
|
62
|
+
emptyStateTitle: string;
|
|
63
|
+
emptyStateDescription: string;
|
|
64
|
+
scrollButton: string;
|
|
65
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
66
|
+
type ConversationVariantProps = VariantProps<typeof conversation>;
|
|
67
|
+
type ConversationSlots = keyof ReturnType<typeof conversation>;
|
|
68
|
+
|
|
69
|
+
export { type ConversationSlots, type ConversationVariantProps, conversation };
|