@inkeep/cxkit-styled 0.0.0-dev-20250221234142
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/LICENSE +21 -0
- package/README.md +1 -0
- package/dist/components/chat-button.cjs +1 -0
- package/dist/components/chat-button.d.cts +8 -0
- package/dist/components/chat-button.d.ts +8 -0
- package/dist/components/chat-button.js +53 -0
- package/dist/components/embedded-chat/conversation-loading.cjs +1 -0
- package/dist/components/embedded-chat/conversation-loading.d.cts +1 -0
- package/dist/components/embedded-chat/conversation-loading.d.ts +1 -0
- package/dist/components/embedded-chat/conversation-loading.js +48 -0
- package/dist/components/embedded-chat.cjs +1 -0
- package/dist/components/embedded-chat.d.cts +183 -0
- package/dist/components/embedded-chat.d.ts +183 -0
- package/dist/components/embedded-chat.js +1817 -0
- package/dist/components/embedded-search/results-loading.cjs +1 -0
- package/dist/components/embedded-search/results-loading.d.cts +1 -0
- package/dist/components/embedded-search/results-loading.d.ts +1 -0
- package/dist/components/embedded-search/results-loading.js +16 -0
- package/dist/components/embedded-search.cjs +1 -0
- package/dist/components/embedded-search.d.cts +58 -0
- package/dist/components/embedded-search.d.ts +58 -0
- package/dist/components/embedded-search.js +434 -0
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.cts +8 -0
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.js +18 -0
- package/dist/components/intelligent-form.cjs +1 -0
- package/dist/components/intelligent-form.d.cts +60 -0
- package/dist/components/intelligent-form.d.ts +60 -0
- package/dist/components/intelligent-form.js +553 -0
- package/dist/components/loading-indicator.cjs +1 -0
- package/dist/components/loading-indicator.d.cts +1 -0
- package/dist/components/loading-indicator.d.ts +1 -0
- package/dist/components/loading-indicator.js +36 -0
- package/dist/components/modal.cjs +1 -0
- package/dist/components/modal.d.cts +6 -0
- package/dist/components/modal.d.ts +6 -0
- package/dist/components/modal.js +40 -0
- package/dist/components/searchbar.cjs +1 -0
- package/dist/components/searchbar.d.cts +11 -0
- package/dist/components/searchbar.d.ts +11 -0
- package/dist/components/searchbar.js +81 -0
- package/dist/components/shadow.cjs +1 -0
- package/dist/components/shadow.d.cts +3 -0
- package/dist/components/shadow.d.ts +3 -0
- package/dist/components/shadow.js +8 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/inkeep.css.cjs +3524 -0
- package/dist/inkeep.css.js +3528 -0
- package/dist/ui/markdown-styles.cjs +1 -0
- package/dist/ui/markdown-styles.d.cts +20 -0
- package/dist/ui/markdown-styles.d.ts +20 -0
- package/dist/ui/markdown-styles.js +36 -0
- package/dist/ui/recipes/ai-chat-page-wrapper.cjs +1 -0
- package/dist/ui/recipes/ai-chat-page-wrapper.d.cts +7 -0
- package/dist/ui/recipes/ai-chat-page-wrapper.d.ts +7 -0
- package/dist/ui/recipes/ai-chat-page-wrapper.js +32 -0
- package/dist/ui/recipes/attachment.cjs +1 -0
- package/dist/ui/recipes/attachment.d.cts +4 -0
- package/dist/ui/recipes/attachment.d.ts +4 -0
- package/dist/ui/recipes/attachment.js +28 -0
- package/dist/ui/recipes/button.cjs +1 -0
- package/dist/ui/recipes/button.d.cts +6 -0
- package/dist/ui/recipes/button.d.ts +6 -0
- package/dist/ui/recipes/button.js +78 -0
- package/dist/ui/recipes/checkbox.cjs +1 -0
- package/dist/ui/recipes/checkbox.d.cts +4 -0
- package/dist/ui/recipes/checkbox.d.ts +4 -0
- package/dist/ui/recipes/checkbox.js +23 -0
- package/dist/ui/recipes/citation.cjs +1 -0
- package/dist/ui/recipes/citation.d.cts +4 -0
- package/dist/ui/recipes/citation.d.ts +4 -0
- package/dist/ui/recipes/citation.js +70 -0
- package/dist/ui/recipes/icon.cjs +1 -0
- package/dist/ui/recipes/icon.d.cts +2 -0
- package/dist/ui/recipes/icon.d.ts +2 -0
- package/dist/ui/recipes/icon.js +6 -0
- package/dist/ui/recipes/index.cjs +1 -0
- package/dist/ui/recipes/index.d.cts +15 -0
- package/dist/ui/recipes/index.d.ts +15 -0
- package/dist/ui/recipes/index.js +37 -0
- package/dist/ui/recipes/input.cjs +1 -0
- package/dist/ui/recipes/input.d.cts +5 -0
- package/dist/ui/recipes/input.d.ts +5 -0
- package/dist/ui/recipes/input.js +34 -0
- package/dist/ui/recipes/link.cjs +1 -0
- package/dist/ui/recipes/link.d.cts +2 -0
- package/dist/ui/recipes/link.d.ts +2 -0
- package/dist/ui/recipes/link.js +11 -0
- package/dist/ui/recipes/markdown.cjs +1 -0
- package/dist/ui/recipes/markdown.d.cts +16 -0
- package/dist/ui/recipes/markdown.d.ts +16 -0
- package/dist/ui/recipes/markdown.js +101 -0
- package/dist/ui/recipes/modal.cjs +1 -0
- package/dist/ui/recipes/modal.d.cts +4 -0
- package/dist/ui/recipes/modal.d.ts +4 -0
- package/dist/ui/recipes/modal.js +58 -0
- package/dist/ui/recipes/popover.cjs +1 -0
- package/dist/ui/recipes/popover.d.cts +4 -0
- package/dist/ui/recipes/popover.d.ts +4 -0
- package/dist/ui/recipes/popover.js +19 -0
- package/dist/ui/recipes/scrollable.cjs +1 -0
- package/dist/ui/recipes/scrollable.d.cts +4 -0
- package/dist/ui/recipes/scrollable.d.ts +4 -0
- package/dist/ui/recipes/scrollable.js +15 -0
- package/dist/ui/recipes/select.cjs +1 -0
- package/dist/ui/recipes/select.d.cts +4 -0
- package/dist/ui/recipes/select.d.ts +4 -0
- package/dist/ui/recipes/select.js +38 -0
- package/dist/ui/recipes/skeleton.cjs +1 -0
- package/dist/ui/recipes/skeleton.d.cts +2 -0
- package/dist/ui/recipes/skeleton.d.ts +2 -0
- package/dist/ui/recipes/skeleton.js +16 -0
- package/dist/ui/recipes/widget-toggle.cjs +1 -0
- package/dist/ui/recipes/widget-toggle.d.cts +4 -0
- package/dist/ui/recipes/widget-toggle.d.ts +4 -0
- package/dist/ui/recipes/widget-toggle.js +33 -0
- package/dist/utils.cjs +1 -0
- package/dist/utils.d.cts +4 -0
- package/dist/utils.d.ts +4 -0
- package/dist/utils.js +11 -0
- package/package.json +72 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./recipes/button.cjs"),t=require("./recipes/link.cjs"),e=require("./recipes/markdown.cjs"),o=require("../utils.cjs"),n={markdownH1:e.heading(),markdownH2:e.heading({size:"sm"}),markdownP:o.cn("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:o.cn("[&_a]:break-words [&_a]:inline"),markdownUl:e.list({style:"unordered"}),markdownOl:o.cn(e.list({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:o.cn(t.link(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:e.sup(),markdownTable:e.table({slot:"root"}),markdownTh:e.table({slot:"th"}),markdownTd:e.table({slot:"td"}),markdownCode:e.code(),codeblockContainer:e.codeblock({slot:"container"}),codeblockHeader:e.codeblock({slot:"header"}),codeblockCopyButton:o.cn(r.button({}),e.codeblock({slot:"copyButton"})),codeblockHighlighterWrapper:o.cn(),codeblockHighlighter:e.codeblock({slot:"highlighter"}),codeblockCode:"font-mono"};exports.markdownStyles=n;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const markdownStyles: {
|
|
2
|
+
markdownH1: string;
|
|
3
|
+
markdownH2: string;
|
|
4
|
+
markdownP: string;
|
|
5
|
+
markdownLi: string;
|
|
6
|
+
markdownUl: string;
|
|
7
|
+
markdownOl: string;
|
|
8
|
+
markdownLink: string;
|
|
9
|
+
markdownSourceLink: string;
|
|
10
|
+
markdownTable: string;
|
|
11
|
+
markdownTh: string;
|
|
12
|
+
markdownTd: string;
|
|
13
|
+
markdownCode: string;
|
|
14
|
+
codeblockContainer: string;
|
|
15
|
+
codeblockHeader: string;
|
|
16
|
+
codeblockCopyButton: string;
|
|
17
|
+
codeblockHighlighterWrapper: string;
|
|
18
|
+
codeblockHighlighter: string;
|
|
19
|
+
codeblockCode: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const markdownStyles: {
|
|
2
|
+
markdownH1: string;
|
|
3
|
+
markdownH2: string;
|
|
4
|
+
markdownP: string;
|
|
5
|
+
markdownLi: string;
|
|
6
|
+
markdownUl: string;
|
|
7
|
+
markdownOl: string;
|
|
8
|
+
markdownLink: string;
|
|
9
|
+
markdownSourceLink: string;
|
|
10
|
+
markdownTable: string;
|
|
11
|
+
markdownTh: string;
|
|
12
|
+
markdownTd: string;
|
|
13
|
+
markdownCode: string;
|
|
14
|
+
codeblockContainer: string;
|
|
15
|
+
codeblockHeader: string;
|
|
16
|
+
codeblockCopyButton: string;
|
|
17
|
+
codeblockHighlighterWrapper: string;
|
|
18
|
+
codeblockHighlighter: string;
|
|
19
|
+
codeblockCode: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { button as a } from "./recipes/button.js";
|
|
3
|
+
import { link as d } from "./recipes/link.js";
|
|
4
|
+
import { codeblock as e, code as i, table as r, sup as l, list as t, heading as n } from "./recipes/markdown.js";
|
|
5
|
+
import { cn as o } from "../utils.js";
|
|
6
|
+
const p = {
|
|
7
|
+
markdownH1: n(),
|
|
8
|
+
markdownH2: n({ size: "sm" }),
|
|
9
|
+
markdownP: o("mb-3 break-words whitespace-pre-wrap", "[&+ol,&+li]:mt-0"),
|
|
10
|
+
markdownLi: o("[&_a]:break-words [&_a]:inline"),
|
|
11
|
+
markdownUl: t({ style: "unordered" }),
|
|
12
|
+
markdownOl: o(
|
|
13
|
+
t({ style: "ordered" }),
|
|
14
|
+
"[inset-inline-start:var(--start,0px)]",
|
|
15
|
+
"[counter-reset:item_calc(var(--start,0)_-_1)]"
|
|
16
|
+
),
|
|
17
|
+
markdownLink: o(
|
|
18
|
+
d(),
|
|
19
|
+
"text-inkeep-primary-stronger hover:text-inkeep-primary-strong",
|
|
20
|
+
"dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"
|
|
21
|
+
),
|
|
22
|
+
markdownSourceLink: l(),
|
|
23
|
+
markdownTable: r({ slot: "root" }),
|
|
24
|
+
markdownTh: r({ slot: "th" }),
|
|
25
|
+
markdownTd: r({ slot: "td" }),
|
|
26
|
+
markdownCode: i(),
|
|
27
|
+
codeblockContainer: e({ slot: "container" }),
|
|
28
|
+
codeblockHeader: e({ slot: "header" }),
|
|
29
|
+
codeblockCopyButton: o(a({}), e({ slot: "copyButton" })),
|
|
30
|
+
codeblockHighlighterWrapper: o(),
|
|
31
|
+
codeblockHighlighter: e({ slot: "highlighter" }),
|
|
32
|
+
codeblockCode: "font-mono"
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
p as markdownStyles
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),a=e.cva(["max-h-screen max-w-screen relative","grow-[5] mx-auto justify-self-center text-left"],{variants:{size:{default:["grow-0 justify-self-center self-center","m-auto max-h-[100vw] max-w-screen","md:w-[min(600px,100%)] md:h-[min(760px,100%)]","lg:w-[min(640px,100%)] lg:h-[min(800px,100%)]","2xl:w-[min(760px,100%)] 2xl:h-[min(900px,100%)]"],expand:["w-full h-full"],"shrink-vertically":["w-full h-auto self-start max-h-full"],"full-viewport":["fixed top-0 left-0 w-screen h-screen z-dropdown"]},variant:{"container-with-shadow":"shadow-[0_25px_50px_-12px_rgba(0,0,0,0.25)] dark:shadow-[none]","no-shadow":"shadow-[none]"}},defaultVariants:{size:"default",variant:"container-with-shadow"}});exports.aiChatPageWrapper=a;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
+
export declare const aiChatPageWrapper: (props?: ({
|
|
4
|
+
size?: "default" | "expand" | "shrink-vertically" | "full-viewport" | null | undefined;
|
|
5
|
+
variant?: "container-with-shadow" | "no-shadow" | null | undefined;
|
|
6
|
+
} & ClassProp) | undefined) => string;
|
|
7
|
+
export type AiChatPageWrapperVariants = VariantProps<typeof aiChatPageWrapper>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
+
export declare const aiChatPageWrapper: (props?: ({
|
|
4
|
+
size?: "default" | "expand" | "shrink-vertically" | "full-viewport" | null | undefined;
|
|
5
|
+
variant?: "container-with-shadow" | "no-shadow" | null | undefined;
|
|
6
|
+
} & ClassProp) | undefined) => string;
|
|
7
|
+
export type AiChatPageWrapperVariants = VariantProps<typeof aiChatPageWrapper>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as e } from "class-variance-authority";
|
|
3
|
+
const t = e(
|
|
4
|
+
["max-h-screen max-w-screen relative", "grow-[5] mx-auto justify-self-center text-left"],
|
|
5
|
+
{
|
|
6
|
+
variants: {
|
|
7
|
+
size: {
|
|
8
|
+
default: [
|
|
9
|
+
"grow-0 justify-self-center self-center",
|
|
10
|
+
"m-auto max-h-[100vw] max-w-screen",
|
|
11
|
+
"md:w-[min(600px,100%)] md:h-[min(760px,100%)]",
|
|
12
|
+
"lg:w-[min(640px,100%)] lg:h-[min(800px,100%)]",
|
|
13
|
+
"2xl:w-[min(760px,100%)] 2xl:h-[min(900px,100%)]"
|
|
14
|
+
],
|
|
15
|
+
expand: ["w-full h-full"],
|
|
16
|
+
"shrink-vertically": ["w-full h-auto self-start max-h-full"],
|
|
17
|
+
"full-viewport": ["fixed top-0 left-0 w-screen h-screen z-dropdown"]
|
|
18
|
+
},
|
|
19
|
+
variant: {
|
|
20
|
+
"container-with-shadow": "shadow-[0_25px_50px_-12px_rgba(0,0,0,0.25)] dark:shadow-[none]",
|
|
21
|
+
"no-shadow": "shadow-[none]"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
defaultVariants: {
|
|
25
|
+
size: "default",
|
|
26
|
+
variant: "container-with-shadow"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
export {
|
|
31
|
+
t as aiChatPageWrapper
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("class-variance-authority"),e=require("./button.cjs"),a=t.cva("",{variants:{slot:{root:["flex items-center pl-2","text-xs rounded-md h-6","bg-gray-300 dark:bg-white-alpha-200","min-w-0 w-fit"],icon:["mr-[0.5em]","text-gray-600 dark:text-white-alpha-600"],title:["overflow-hidden whitespace-nowrap text-ellipsis inline-block"],delete:[e.button({variant:"iconButton",size:"md"}),"h-4 px-1 min-w-[unset]","text-gray-600 dark:text-white-alpha-600","hover:bg-transparent hover:text-gray-700","dark:hover:text-white-alpha-500","[&_svg]:w-4 [&_svg]:h-4"]}}});exports.attachment=a;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as t } from "class-variance-authority";
|
|
3
|
+
import { button as e } from "./button.js";
|
|
4
|
+
const i = t("", {
|
|
5
|
+
variants: {
|
|
6
|
+
slot: {
|
|
7
|
+
root: [
|
|
8
|
+
"flex items-center pl-2",
|
|
9
|
+
"text-xs rounded-md h-6",
|
|
10
|
+
"bg-gray-300 dark:bg-white-alpha-200",
|
|
11
|
+
"min-w-0 w-fit"
|
|
12
|
+
],
|
|
13
|
+
icon: ["mr-[0.5em]", "text-gray-600 dark:text-white-alpha-600"],
|
|
14
|
+
title: ["overflow-hidden whitespace-nowrap text-ellipsis inline-block"],
|
|
15
|
+
delete: [
|
|
16
|
+
e({ variant: "iconButton", size: "md" }),
|
|
17
|
+
"h-4 px-1 min-w-[unset]",
|
|
18
|
+
"text-gray-600 dark:text-white-alpha-600",
|
|
19
|
+
"hover:bg-transparent hover:text-gray-700",
|
|
20
|
+
"dark:hover:text-white-alpha-500",
|
|
21
|
+
"[&_svg]:w-4 [&_svg]:h-4"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
i as attachment
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),a=e.cva(["inline-flex","items-center","justify-center","align-middle","select-none","relative","whitespace-nowrap","appearance-none","rounded-md","leading-[1.2]","transition-all","duration-300","cursor-pointer","font-semibold","focus:outline-none","focus:z-base","focus-visible:ring","disabled:opacity-40","disabled:cursor-not-allowed","disabled:shadow-none"],{variants:{variant:{solid:["bg-gray-100 dark:bg-white-alpha-100","text-gray-800 dark:text-white-alpha-950","hover:bg-gray-200 dark:hover:bg-white-alpha-200","hover:disabled:bg-gray-100 dark:hover:disabled:bg-white-alpha-100","active:bg-gray-300 dark:active:bg-white-alpha-400"],iconButton:["px-1 text-gray-500 text-md","hover:text-inkeep-primary-strong","dark:text-gray-dark-200","dark:hover:text-inkeep-expanded-primary-300"],ghost:["text-gray-800 dark:text-white-alpha-950","hover:bg-gray-100 dark:hover:bg-white-alpha-100","active:bg-gray-200 dark:active:bg-white-alpha-200"],outline:["border dark:border-white-alpha-200","text-gray-600 dark:text-gray-200","hover:bg-gray-50 dark:hover:bg-white-alpha-100","active:bg-gray-50 dark:active:bg-white-alpha-100"]},size:{sm:"h-8 min-w-8 text-sm px-3",md:"h-10 min-w-10 text-md px-4",xs:"h-6 min-w-6 text-xs px-2"},preset:{neutralFilled:["bg-gray-1000 text-white hover:bg-gray-900 active:bg-gray-900","dark:bg-inkeep-expanded-primary-300 dark:text-gray-dark-950","dark:hover:bg-inkeep-expanded-primary-200","dark:active:bg-inkeep-expanded-primary-200"]}},defaultVariants:{size:"md"}});exports.button=a;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
export declare const button: (props?: ({
|
|
3
|
+
variant?: "solid" | "iconButton" | "ghost" | "outline" | null | undefined;
|
|
4
|
+
size?: "sm" | "md" | "xs" | null | undefined;
|
|
5
|
+
preset?: "neutralFilled" | null | undefined;
|
|
6
|
+
} & ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
export declare const button: (props?: ({
|
|
3
|
+
variant?: "solid" | "iconButton" | "ghost" | "outline" | null | undefined;
|
|
4
|
+
size?: "sm" | "md" | "xs" | null | undefined;
|
|
5
|
+
preset?: "neutralFilled" | null | undefined;
|
|
6
|
+
} & ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as e } from "class-variance-authority";
|
|
3
|
+
const r = e(
|
|
4
|
+
[
|
|
5
|
+
// Base styles
|
|
6
|
+
"inline-flex",
|
|
7
|
+
"items-center",
|
|
8
|
+
"justify-center",
|
|
9
|
+
"align-middle",
|
|
10
|
+
"select-none",
|
|
11
|
+
"relative",
|
|
12
|
+
"whitespace-nowrap",
|
|
13
|
+
"appearance-none",
|
|
14
|
+
"rounded-md",
|
|
15
|
+
"leading-[1.2]",
|
|
16
|
+
"transition-all",
|
|
17
|
+
"duration-300",
|
|
18
|
+
"cursor-pointer",
|
|
19
|
+
"font-semibold",
|
|
20
|
+
// Focus styles
|
|
21
|
+
"focus:outline-none",
|
|
22
|
+
"focus:z-base",
|
|
23
|
+
"focus-visible:ring",
|
|
24
|
+
// Disabled styles
|
|
25
|
+
"disabled:opacity-40",
|
|
26
|
+
"disabled:cursor-not-allowed",
|
|
27
|
+
"disabled:shadow-none"
|
|
28
|
+
],
|
|
29
|
+
{
|
|
30
|
+
variants: {
|
|
31
|
+
variant: {
|
|
32
|
+
solid: [
|
|
33
|
+
"bg-gray-100 dark:bg-white-alpha-100",
|
|
34
|
+
"text-gray-800 dark:text-white-alpha-950",
|
|
35
|
+
"hover:bg-gray-200 dark:hover:bg-white-alpha-200",
|
|
36
|
+
"hover:disabled:bg-gray-100 dark:hover:disabled:bg-white-alpha-100",
|
|
37
|
+
"active:bg-gray-300 dark:active:bg-white-alpha-400"
|
|
38
|
+
],
|
|
39
|
+
iconButton: [
|
|
40
|
+
"px-1 text-gray-500 text-md",
|
|
41
|
+
"hover:text-inkeep-primary-strong",
|
|
42
|
+
"dark:text-gray-dark-200",
|
|
43
|
+
"dark:hover:text-inkeep-expanded-primary-300"
|
|
44
|
+
],
|
|
45
|
+
ghost: [
|
|
46
|
+
"text-gray-800 dark:text-white-alpha-950",
|
|
47
|
+
"hover:bg-gray-100 dark:hover:bg-white-alpha-100",
|
|
48
|
+
"active:bg-gray-200 dark:active:bg-white-alpha-200"
|
|
49
|
+
],
|
|
50
|
+
outline: [
|
|
51
|
+
"border dark:border-white-alpha-200",
|
|
52
|
+
"text-gray-600 dark:text-gray-200",
|
|
53
|
+
"hover:bg-gray-50 dark:hover:bg-white-alpha-100",
|
|
54
|
+
"active:bg-gray-50 dark:active:bg-white-alpha-100"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
size: {
|
|
58
|
+
sm: "h-8 min-w-8 text-sm px-3",
|
|
59
|
+
md: "h-10 min-w-10 text-md px-4",
|
|
60
|
+
xs: "h-6 min-w-6 text-xs px-2"
|
|
61
|
+
},
|
|
62
|
+
preset: {
|
|
63
|
+
neutralFilled: [
|
|
64
|
+
"bg-gray-1000 text-white hover:bg-gray-900 active:bg-gray-900",
|
|
65
|
+
"dark:bg-inkeep-expanded-primary-300 dark:text-gray-dark-950",
|
|
66
|
+
"dark:hover:bg-inkeep-expanded-primary-200",
|
|
67
|
+
"dark:active:bg-inkeep-expanded-primary-200"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
defaultVariants: {
|
|
72
|
+
size: "md"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
export {
|
|
77
|
+
r as button
|
|
78
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=e.cva("",{variants:{slot:{root:["peer h-4 w-4 shrink-0 rounded-xs","border-2 border-inherit cursor-pointer","disabled:opacity-50","data-[state=checked]:bg-gray-1000","dark:data-[state=checked]:bg-white-alpha-950","data-[state=checked]:border-gray-1000","dark:data-[state=checked]:border-white-alpha-950","text-white data-[state=checked]:text-white","dark:data-[state=checked]:text-gray-1000"],indicator:["flex items-center justify-center","text-current animate-checkbox-check"]}}});exports.checkbox=t;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as e } from "class-variance-authority";
|
|
3
|
+
const a = e("", {
|
|
4
|
+
variants: {
|
|
5
|
+
slot: {
|
|
6
|
+
root: [
|
|
7
|
+
"peer h-4 w-4 shrink-0 rounded-xs",
|
|
8
|
+
"border-2 border-inherit cursor-pointer",
|
|
9
|
+
"disabled:opacity-50",
|
|
10
|
+
"data-[state=checked]:bg-gray-1000",
|
|
11
|
+
"dark:data-[state=checked]:bg-white-alpha-950",
|
|
12
|
+
"data-[state=checked]:border-gray-1000",
|
|
13
|
+
"dark:data-[state=checked]:border-white-alpha-950",
|
|
14
|
+
"text-white data-[state=checked]:text-white",
|
|
15
|
+
"dark:data-[state=checked]:text-gray-1000"
|
|
16
|
+
],
|
|
17
|
+
indicator: ["flex items-center justify-center", "text-current animate-checkbox-check"]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
a as checkbox
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=e.cva(["transition-all data-[disable-transitions]:transition-none","duration-100 ease-in-out"],{variants:{slot:{root:["group w-full overflow-hidden border rounded-lg","text-inkeep-primary-text-bold selected:text-inkeep-primary-strong","dark:text-white-alpha-950 dark:selected:text-inkeep-expanded-primary-300","bg-white selected:bg-inkeep-primary-light-subtle","dark:bg-transparent dark:selected:bg-white-alpha-200","border-gray-200 selected:border-inkeep-primary-medium-subtle","dark:border-white-alpha-200","dark:selected:border-inkeep-expanded-primary-300","py-2 px-5 grid gap-x-3 gap-y-1",'[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs_indicator""icon_title_tag_indicator""description_description_description_indicator"/auto_auto_1fr_auto]',"items-center"],breadcrumbs:["[grid-area:breadcrumbs]","flex items-center text-gray-600","dark:text-white-alpha-600 text-xs"],breadcrumbsIcon:"last-of-type:hidden text-3xs mx-[5px]",icon:["[grid-area:icon]","text-gray-500","group-selected:text-inkeep-primary-text-subtle","dark:text-gray-dark-300 dark:group-selected:text-gray-dark-100"],title:["[grid-area:title]","text-gray-800 dark:text-white-alpha-950","group-selected:text-inkeep-primary-text-bold","dark:group-selected:text-white","font-medium line-clamp-1"],tag:["[grid-area:tag] w-fit justify-self-end","text-xs px-1 uppercase rounded-sm align-middle","font-bold inline-block whitespace-nowrap",'data-[type^="github"]:text-purple-500','data-[type="stackoverflow"]:text-green-500',"shadow-[inset_0_0_0_1px_currentColor]"],description:["[grid-area:description]","text-1sm line-clamp-1","text-gray-700 dark:text-white-alpha-700"],descriptionPart:["data-[highlighted]:font-semibold","data-[highlighted]:text-inkeep-primary-text-subtle","dark:data-[highlighted]:text-gray-dark-50"],indicator:["[grid-area:indicator]","self-center justify-self-end","opacity-0 group-selected:opacity-100","transition-opacity duration-100 ease-in-out ml-auto"]}}});exports.citation=t;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
export declare const citation: (props?: ({
|
|
3
|
+
slot?: "root" | "icon" | "title" | "indicator" | "breadcrumbs" | "breadcrumbsIcon" | "tag" | "description" | "descriptionPart" | null | undefined;
|
|
4
|
+
} & ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
export declare const citation: (props?: ({
|
|
3
|
+
slot?: "root" | "icon" | "title" | "indicator" | "breadcrumbs" | "breadcrumbsIcon" | "tag" | "description" | "descriptionPart" | null | undefined;
|
|
4
|
+
} & ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as e } from "class-variance-authority";
|
|
3
|
+
const r = e(
|
|
4
|
+
["transition-all data-[disable-transitions]:transition-none", "duration-100 ease-in-out"],
|
|
5
|
+
{
|
|
6
|
+
variants: {
|
|
7
|
+
slot: {
|
|
8
|
+
root: [
|
|
9
|
+
"group w-full overflow-hidden border rounded-lg",
|
|
10
|
+
"text-inkeep-primary-text-bold selected:text-inkeep-primary-strong",
|
|
11
|
+
"dark:text-white-alpha-950 dark:selected:text-inkeep-expanded-primary-300",
|
|
12
|
+
"bg-white selected:bg-inkeep-primary-light-subtle",
|
|
13
|
+
"dark:bg-transparent dark:selected:bg-white-alpha-200",
|
|
14
|
+
"border-gray-200 selected:border-inkeep-primary-medium-subtle",
|
|
15
|
+
"dark:border-white-alpha-200",
|
|
16
|
+
"dark:selected:border-inkeep-expanded-primary-300",
|
|
17
|
+
"py-2 px-5 grid gap-x-3 gap-y-1",
|
|
18
|
+
'[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs_indicator""icon_title_tag_indicator""description_description_description_indicator"/auto_auto_1fr_auto]',
|
|
19
|
+
"items-center"
|
|
20
|
+
],
|
|
21
|
+
breadcrumbs: [
|
|
22
|
+
"[grid-area:breadcrumbs]",
|
|
23
|
+
"flex items-center text-gray-600",
|
|
24
|
+
"dark:text-white-alpha-600 text-xs"
|
|
25
|
+
],
|
|
26
|
+
breadcrumbsIcon: "last-of-type:hidden text-3xs mx-[5px]",
|
|
27
|
+
icon: [
|
|
28
|
+
"[grid-area:icon]",
|
|
29
|
+
"text-gray-500",
|
|
30
|
+
"group-selected:text-inkeep-primary-text-subtle",
|
|
31
|
+
"dark:text-gray-dark-300 dark:group-selected:text-gray-dark-100"
|
|
32
|
+
],
|
|
33
|
+
title: [
|
|
34
|
+
"[grid-area:title]",
|
|
35
|
+
"text-gray-800 dark:text-white-alpha-950",
|
|
36
|
+
"group-selected:text-inkeep-primary-text-bold",
|
|
37
|
+
"dark:group-selected:text-white",
|
|
38
|
+
"font-medium line-clamp-1"
|
|
39
|
+
],
|
|
40
|
+
tag: [
|
|
41
|
+
"[grid-area:tag] w-fit justify-self-end",
|
|
42
|
+
"text-xs px-1 uppercase rounded-sm align-middle",
|
|
43
|
+
"font-bold inline-block whitespace-nowrap",
|
|
44
|
+
'data-[type^="github"]:text-purple-500',
|
|
45
|
+
'data-[type="stackoverflow"]:text-green-500',
|
|
46
|
+
"shadow-[inset_0_0_0_1px_currentColor]"
|
|
47
|
+
],
|
|
48
|
+
description: [
|
|
49
|
+
"[grid-area:description]",
|
|
50
|
+
"text-1sm line-clamp-1",
|
|
51
|
+
"text-gray-700 dark:text-white-alpha-700"
|
|
52
|
+
],
|
|
53
|
+
descriptionPart: [
|
|
54
|
+
"data-[highlighted]:font-semibold",
|
|
55
|
+
"data-[highlighted]:text-inkeep-primary-text-subtle",
|
|
56
|
+
"dark:data-[highlighted]:text-gray-dark-50"
|
|
57
|
+
],
|
|
58
|
+
indicator: [
|
|
59
|
+
"[grid-area:indicator]",
|
|
60
|
+
"self-center justify-self-end",
|
|
61
|
+
"opacity-0 group-selected:opacity-100",
|
|
62
|
+
"transition-opacity duration-100 ease-in-out ml-auto"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
export {
|
|
69
|
+
r as citation
|
|
70
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),i=e.cva("size-4 inline-block leading-[1em] shrink-0 text-current align-middle");exports.icon=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ai-chat-page-wrapper.cjs"),o=require("./attachment.cjs"),r=require("./button.cjs"),c=require("./checkbox.cjs"),i=require("./citation.cjs"),n=require("./icon.cjs"),a=require("./input.cjs"),l=require("./link.cjs"),e=require("./markdown.cjs"),s=require("./modal.cjs"),u=require("./popover.cjs"),p=require("./scrollable.cjs"),g=require("./select.cjs"),b=require("./skeleton.cjs"),d=require("./widget-toggle.cjs");exports.aiChatPageWrapper=t.aiChatPageWrapper;exports.attachment=o.attachment;exports.button=r.button;exports.checkbox=c.checkbox;exports.citation=i.citation;exports.icon=n.icon;exports.input=a.input;exports.link=l.link;exports.code=e.code;exports.codeblock=e.codeblock;exports.heading=e.heading;exports.list=e.list;exports.sup=e.sup;exports.table=e.table;exports.modal=s.modal;exports.popover=u.popover;exports.scrollable=p.scrollable;exports.select=g.select;exports.skeleton=b.skeleton;exports.widgetToggle=d.widgetToggle;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './ai-chat-page-wrapper';
|
|
2
|
+
export * from './attachment';
|
|
3
|
+
export * from './button';
|
|
4
|
+
export * from './checkbox';
|
|
5
|
+
export * from './citation';
|
|
6
|
+
export * from './icon';
|
|
7
|
+
export * from './input';
|
|
8
|
+
export * from './link';
|
|
9
|
+
export * from './markdown';
|
|
10
|
+
export * from './modal';
|
|
11
|
+
export * from './popover';
|
|
12
|
+
export * from './scrollable';
|
|
13
|
+
export * from './select';
|
|
14
|
+
export * from './skeleton';
|
|
15
|
+
export * from './widget-toggle';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './ai-chat-page-wrapper';
|
|
2
|
+
export * from './attachment';
|
|
3
|
+
export * from './button';
|
|
4
|
+
export * from './checkbox';
|
|
5
|
+
export * from './citation';
|
|
6
|
+
export * from './icon';
|
|
7
|
+
export * from './input';
|
|
8
|
+
export * from './link';
|
|
9
|
+
export * from './markdown';
|
|
10
|
+
export * from './modal';
|
|
11
|
+
export * from './popover';
|
|
12
|
+
export * from './scrollable';
|
|
13
|
+
export * from './select';
|
|
14
|
+
export * from './skeleton';
|
|
15
|
+
export * from './widget-toggle';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { aiChatPageWrapper as e } from "./ai-chat-page-wrapper.js";
|
|
2
|
+
import { attachment as p } from "./attachment.js";
|
|
3
|
+
import { button as x } from "./button.js";
|
|
4
|
+
import { checkbox as a } from "./checkbox.js";
|
|
5
|
+
import { citation as c } from "./citation.js";
|
|
6
|
+
import { icon as n } from "./icon.js";
|
|
7
|
+
import { input as d } from "./input.js";
|
|
8
|
+
import { link as s } from "./link.js";
|
|
9
|
+
import { code as k, codeblock as u, heading as v, list as w, sup as C, table as P } from "./markdown.js";
|
|
10
|
+
import { modal as W } from "./modal.js";
|
|
11
|
+
import { popover as q } from "./popover.js";
|
|
12
|
+
import { scrollable as z } from "./scrollable.js";
|
|
13
|
+
import { select as B } from "./select.js";
|
|
14
|
+
import { skeleton as E } from "./skeleton.js";
|
|
15
|
+
import { widgetToggle as G } from "./widget-toggle.js";
|
|
16
|
+
export {
|
|
17
|
+
e as aiChatPageWrapper,
|
|
18
|
+
p as attachment,
|
|
19
|
+
x as button,
|
|
20
|
+
a as checkbox,
|
|
21
|
+
c as citation,
|
|
22
|
+
k as code,
|
|
23
|
+
u as codeblock,
|
|
24
|
+
v as heading,
|
|
25
|
+
n as icon,
|
|
26
|
+
d as input,
|
|
27
|
+
s as link,
|
|
28
|
+
w as list,
|
|
29
|
+
W as modal,
|
|
30
|
+
q as popover,
|
|
31
|
+
z as scrollable,
|
|
32
|
+
B as select,
|
|
33
|
+
E as skeleton,
|
|
34
|
+
C as sup,
|
|
35
|
+
P as table,
|
|
36
|
+
G as widgetToggle
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("class-variance-authority"),o=r.cva(["w-full min-w-0 outline-none relative","appearance-none [transition-property:common]","[transition-duration:0.02s]","disabled:opacity-40 disabled:cursor-not-allowed","[--focus-border-color:theme(colors.blue.500)]","[--error-border-color:theme(colors.red.500)]","dark:[--focus-border-color:theme(colors.blue.300)]","dark:[--error-border-color:theme(colors.red.300)]"],{variants:{variant:{outline:["border border-inherit bg-inherit","focus:[&:not([data-invalid])]:border-[--focus-border-color]","focus:[&:not([data-invalid])]:shadow-[0_0_0_1px_var(--focus-border-color)]","data-[invalid]:border-[--error-border-color]","data-[invalid]:shadow-[0_0_0_1px_var(--error-border-color)]"]},size:{md:"p-4 h-10 text-md rounded-md",sm:"px-3 py-2 text-sm rounded-md"}}});exports.input=o;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as r } from "class-variance-authority";
|
|
3
|
+
const e = r(
|
|
4
|
+
[
|
|
5
|
+
"w-full min-w-0 outline-none relative",
|
|
6
|
+
"appearance-none [transition-property:common]",
|
|
7
|
+
"[transition-duration:0.02s]",
|
|
8
|
+
"disabled:opacity-40 disabled:cursor-not-allowed",
|
|
9
|
+
"[--focus-border-color:theme(colors.blue.500)]",
|
|
10
|
+
"[--error-border-color:theme(colors.red.500)]",
|
|
11
|
+
"dark:[--focus-border-color:theme(colors.blue.300)]",
|
|
12
|
+
"dark:[--error-border-color:theme(colors.red.300)]"
|
|
13
|
+
],
|
|
14
|
+
{
|
|
15
|
+
variants: {
|
|
16
|
+
variant: {
|
|
17
|
+
outline: [
|
|
18
|
+
"border border-inherit bg-inherit",
|
|
19
|
+
"focus:[&:not([data-invalid])]:border-[--focus-border-color]",
|
|
20
|
+
"focus:[&:not([data-invalid])]:shadow-[0_0_0_1px_var(--focus-border-color)]",
|
|
21
|
+
"data-[invalid]:border-[--error-border-color]",
|
|
22
|
+
"data-[invalid]:shadow-[0_0_0_1px_var(--error-border-color)]"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
size: {
|
|
26
|
+
md: "p-4 h-10 text-md rounded-md",
|
|
27
|
+
sm: "px-3 py-2 text-sm rounded-md"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
export {
|
|
33
|
+
e as input
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),n=e.cva(["transition-[common] ease-out duration-[180]","cursor-pointer text-decoration-none break-words","outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent","hover:underline"]);exports.link=n;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cva as o } from "class-variance-authority";
|
|
3
|
+
const n = o([
|
|
4
|
+
"transition-[common] ease-out duration-[180]",
|
|
5
|
+
"cursor-pointer text-decoration-none break-words",
|
|
6
|
+
"outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent",
|
|
7
|
+
"hover:underline"
|
|
8
|
+
]);
|
|
9
|
+
export {
|
|
10
|
+
n as link
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("uppercase font-semibold tracking-[1px] text-gray-600",{variants:{size:{md:"text-xl leading-[1.2]",sm:"text-md leading-[1.2]"}},defaultVariants:{size:"md"}}),t=e.cva("text-2sm ms-[1em] break-words pb-3 pl-7 relative [&_li]:mb-1",{variants:{style:{ordered:"list-decimal [counter-increment:item]",unordered:"list-[initial]"}}}),a=e.cva("",{variants:{slot:{root:"w-full border-collapse [font-variant-numeric:lining-nums_tabular-nums]",th:["font-heading font-bold uppercase tracking-wider text-start","data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","text-gray-600 dark:text-gray-400","px-6 py-3 leading-4 text-xs"],td:["text-start data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","px-6 py-4 leading-5"]},size:{md:""}}}),o=e.cva(["ml-[3px] cursor-pointer","[&_a]:bg-inkeep-primary-light","[&_a]:px-1","[&_a]:py-[1px]","[&_a]:rounded-sm","[&_a]:no-underline","[&_a]:text-inkeep-primary-text-subtle","[&_a]:hover:text-inkeep-primary-text-bold","[&_a]:font-semibold","[&_a]:dark:bg-inkeep-primary-text-subtle","[&_a]:dark:hover:text-inkeep-expanded-primary-200","[&_a]:hover:no-underline"]),i=e.cva(["bg-inkeep-primary-medium text-inkeep-primary-text-color-on-primary","[overflow-wrap:anywhere] min-w-0 py-[.2rem] my-[.1rem]","px-[.4rem] rounded-[6px] [font-size:85%!important]","font-semibold inline-block","font-mono "]),n=e.cva("",{variants:{slot:{container:"overflow-y-auto mb-3",header:["flex items-center justify-between","bg-gray-50 dark:bg-gray-dark-800","text-gray-600 dark:text-gray-400","mb-0 leading-[1.25] px-2 text-xs","transition-all duration-200 ease-in-out","rounded-[6px_6px_0_0]"],copyButton:["px-0 bg-inherit text-inherit","hover:text-gray-800 dark:text-white-alpha-700 dark:hover:text-white-alpha-950","dark:hover:bg-transparent h-8 w-8 min-h-8 min-w-8 text-sm","data-[copied]:text-inkeep-primary-medium"],highlighter:["text-1sm overflow-x-auto","rounded-[0_0_6px_6px]","p-[1em] whitespace-pre","m-[0px_0px_0.5em]","bg-gray-50 dark:bg-gray-dark-900","[scrollbar-width:thin]","[--scrollbar-color:var(--color-gray-300)]","dark:[--scrollbar-color:var(--color-gray-dark-600)]","[scrollbar-color:var(--scrollbar-color)_transparent]"]}}});exports.code=i;exports.codeblock=n;exports.heading=r;exports.list=t;exports.sup=o;exports.table=a;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
export declare const heading: (props?: ({
|
|
3
|
+
size?: "sm" | "md" | null | undefined;
|
|
4
|
+
} & ClassProp) | undefined) => string;
|
|
5
|
+
export declare const list: (props?: ({
|
|
6
|
+
style?: "ordered" | "unordered" | null | undefined;
|
|
7
|
+
} & ClassProp) | undefined) => string;
|
|
8
|
+
export declare const table: (props?: ({
|
|
9
|
+
slot?: "root" | "th" | "td" | null | undefined;
|
|
10
|
+
size?: "md" | null | undefined;
|
|
11
|
+
} & ClassProp) | undefined) => string;
|
|
12
|
+
export declare const sup: (props?: ClassProp | undefined) => string;
|
|
13
|
+
export declare const code: (props?: ClassProp | undefined) => string;
|
|
14
|
+
export declare const codeblock: (props?: ({
|
|
15
|
+
slot?: "container" | "header" | "copyButton" | "highlighter" | null | undefined;
|
|
16
|
+
} & ClassProp) | undefined) => string;
|