@schemavaults/ui 0.25.1 → 0.27.2
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/code-block/code-block-variants.d.ts +4 -0
- package/dist/components/ui/code-block/code-block-variants.js +8 -0
- package/dist/components/ui/code-block/code-block-variants.js.map +1 -0
- package/dist/components/ui/code-block/code-block.d.ts +64 -0
- package/dist/components/ui/code-block/code-block.js +90 -0
- package/dist/components/ui/code-block/code-block.js.map +1 -0
- package/dist/components/ui/code-block/index.d.ts +4 -0
- package/dist/components/ui/code-block/index.js +3 -0
- package/dist/components/ui/code-block/index.js.map +1 -0
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/index.js +1 -0
- package/dist/components/ui/index.js.map +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const codeBlockVariantIds: readonly ["default", "terminal", "subtle", "contrast"];
|
|
2
|
+
export type CodeBlockVariant = (typeof codeBlockVariantIds)[number];
|
|
3
|
+
export declare const codeBlockSizeIds: readonly ["sm", "md", "lg"];
|
|
4
|
+
export type CodeBlockSize = (typeof codeBlockSizeIds)[number];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-block-variants.js","sourceRoot":"","sources":["../../../../src/components/ui/code-block/code-block-variants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,SAAS;IACT,UAAU;IACV,QAAQ;IACR,UAAU;CAC0B,CAAC;AAGvC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAsC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
import { type HTMLAttributes, type ReactElement, type ReactNode, type Ref } from "react";
|
|
3
|
+
import { type CodeBlockSize, type CodeBlockVariant, codeBlockSizeIds, codeBlockVariantIds } from "./code-block-variants";
|
|
4
|
+
declare const codeBlockVariants: (props?: ({
|
|
5
|
+
variant?: "default" | "terminal" | "subtle" | "contrast" | null | undefined;
|
|
6
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
export interface CodeBlockProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "title">, VariantProps<typeof codeBlockVariants> {
|
|
9
|
+
/** The code/text content to render inside the block. */
|
|
10
|
+
value: string;
|
|
11
|
+
/**
|
|
12
|
+
* Optional language label (e.g. "ts", "json", "bash") rendered in the
|
|
13
|
+
* header. When provided, the header is shown.
|
|
14
|
+
*/
|
|
15
|
+
language?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Optional title (e.g. a file path) rendered in the header. When provided,
|
|
18
|
+
* the header is shown.
|
|
19
|
+
*/
|
|
20
|
+
title?: ReactNode;
|
|
21
|
+
/** When true, displays line numbers in the gutter. Defaults to false. */
|
|
22
|
+
showLineNumbers?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* When true, includes a copy-to-clipboard button in the header. Defaults
|
|
25
|
+
* to true.
|
|
26
|
+
*/
|
|
27
|
+
showCopyButton?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* When true, long lines wrap rather than scroll horizontally. Defaults to
|
|
30
|
+
* false.
|
|
31
|
+
*/
|
|
32
|
+
wrap?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Optional max-height applied to the scroll container, e.g. "20rem".
|
|
35
|
+
*/
|
|
36
|
+
maxHeight?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Optional render function that returns highlighted nodes for a piece of
|
|
39
|
+
* code. When omitted, code is rendered as plain text. When `showLineNumbers`
|
|
40
|
+
* is enabled this is invoked once per line (with the line's text); when
|
|
41
|
+
* disabled it is invoked once with the full `value`. The `language` prop is
|
|
42
|
+
* passed through unchanged so consumers can dispatch on it.
|
|
43
|
+
*
|
|
44
|
+
* Example using a third-party highlighter:
|
|
45
|
+
*
|
|
46
|
+
* <CodeBlock
|
|
47
|
+
* value={code}
|
|
48
|
+
* language="ts"
|
|
49
|
+
* highlight={(code, lang) => <SyntaxHighlighter language={lang}>{code}</SyntaxHighlighter>}
|
|
50
|
+
* />
|
|
51
|
+
*/
|
|
52
|
+
highlight?: (value: string, language?: string) => ReactNode;
|
|
53
|
+
/**
|
|
54
|
+
* Optional ref to the outermost wrapper element.
|
|
55
|
+
*/
|
|
56
|
+
ref?: Ref<HTMLDivElement>;
|
|
57
|
+
}
|
|
58
|
+
declare function CodeBlock({ value, language, title, variant, size, showLineNumbers, showCopyButton, wrap, maxHeight, highlight, className, ref, ...props }: CodeBlockProps): ReactElement;
|
|
59
|
+
declare namespace CodeBlock {
|
|
60
|
+
var displayName: string;
|
|
61
|
+
}
|
|
62
|
+
export { CodeBlock, codeBlockVariants, codeBlockSizeIds, codeBlockVariantIds, };
|
|
63
|
+
export type { CodeBlockSize, CodeBlockVariant };
|
|
64
|
+
export default CodeBlock;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { useMemo, } from "react";
|
|
5
|
+
import { cn } from "../../../lib/utils";
|
|
6
|
+
import { CopyButton } from "../../ui/copy-button";
|
|
7
|
+
import { codeBlockSizeIds, codeBlockVariantIds, } from "./code-block-variants";
|
|
8
|
+
const codeBlockVariants = cva("relative overflow-hidden rounded-md border font-mono", {
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
default: "border-border bg-muted text-foreground",
|
|
12
|
+
terminal: "border-zinc-800 bg-zinc-950 text-zinc-100 dark:border-zinc-700",
|
|
13
|
+
subtle: "border-transparent bg-muted/60 text-muted-foreground",
|
|
14
|
+
contrast: "border-foreground/10 bg-foreground text-background",
|
|
15
|
+
},
|
|
16
|
+
size: {
|
|
17
|
+
sm: "text-xs",
|
|
18
|
+
md: "text-sm",
|
|
19
|
+
lg: "text-base",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
defaultVariants: {
|
|
23
|
+
variant: "default",
|
|
24
|
+
size: "md",
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
const codeBlockHeaderVariants = cva("flex items-center justify-between gap-2 border-b px-3 py-2", {
|
|
28
|
+
variants: {
|
|
29
|
+
variant: {
|
|
30
|
+
default: "border-border/60 bg-background/40",
|
|
31
|
+
terminal: "border-zinc-800 bg-zinc-900/60",
|
|
32
|
+
subtle: "border-transparent bg-transparent",
|
|
33
|
+
contrast: "border-background/15 bg-foreground/95",
|
|
34
|
+
},
|
|
35
|
+
size: {
|
|
36
|
+
sm: "text-[11px]",
|
|
37
|
+
md: "text-xs",
|
|
38
|
+
lg: "text-sm",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
defaultVariants: {
|
|
42
|
+
variant: "default",
|
|
43
|
+
size: "md",
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
const codeBlockBodyVariants = cva("overflow-auto", {
|
|
47
|
+
variants: {
|
|
48
|
+
size: {
|
|
49
|
+
sm: "p-3 leading-5",
|
|
50
|
+
md: "p-4 leading-6",
|
|
51
|
+
lg: "p-5 leading-7",
|
|
52
|
+
},
|
|
53
|
+
wrap: {
|
|
54
|
+
true: "whitespace-pre-wrap break-words",
|
|
55
|
+
false: "whitespace-pre",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
defaultVariants: {
|
|
59
|
+
size: "md",
|
|
60
|
+
wrap: false,
|
|
61
|
+
},
|
|
62
|
+
});
|
|
63
|
+
const lineNumberVariants = cva("select-none pr-4 text-right tabular-nums", {
|
|
64
|
+
variants: {
|
|
65
|
+
variant: {
|
|
66
|
+
default: "text-muted-foreground/60",
|
|
67
|
+
terminal: "text-zinc-500",
|
|
68
|
+
subtle: "text-muted-foreground/50",
|
|
69
|
+
contrast: "text-background/50",
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
defaultVariants: {
|
|
73
|
+
variant: "default",
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
function CodeBlock({ value, language, title, variant, size, showLineNumbers = false, showCopyButton = true, wrap = false, maxHeight, highlight, className, ref, ...props }) {
|
|
77
|
+
const lines = useMemo(() => value.split("\n"), [value]);
|
|
78
|
+
const hasHeader = language !== undefined || title !== undefined || showCopyButton;
|
|
79
|
+
const resolvedVariant = variant ?? "default";
|
|
80
|
+
return (_jsxs("div", { ref: ref, "data-slot": "code-block", "data-variant": resolvedVariant, className: cn(codeBlockVariants({ variant, size }), className), ...props, children: [hasHeader && (_jsxs("div", { "data-slot": "code-block-header", className: cn(codeBlockHeaderVariants({ variant, size })), children: [_jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [language !== undefined && (_jsx("span", { "data-slot": "code-block-language", className: "rounded bg-foreground/10 px-1.5 py-0.5 font-mono text-[0.7em] font-semibold uppercase tracking-wide", children: language })), title !== undefined && (_jsx("span", { "data-slot": "code-block-title", className: "truncate font-sans text-[0.95em] font-medium opacity-90", children: title }))] }), showCopyButton && (_jsx(CopyButton, { value: value, size: "icon-sm", variant: resolvedVariant === "terminal" ? "ghost" : "ghost", className: cn(resolvedVariant === "terminal" &&
|
|
81
|
+
"text-zinc-300 hover:bg-zinc-800 hover:text-zinc-100 data-[copied=true]:text-green-400", resolvedVariant === "contrast" &&
|
|
82
|
+
"text-background hover:bg-background/10 hover:text-background data-[copied=true]:text-background") }))] })), _jsx("div", { "data-slot": "code-block-body", className: cn(codeBlockBodyVariants({ size, wrap })), style: maxHeight !== undefined ? { maxHeight } : undefined, children: _jsx("pre", { className: "m-0 min-w-full", children: showLineNumbers ? (_jsx("code", { className: "grid grid-cols-[auto_1fr]", children: lines.map((line, idx) => (_jsx(LineRow, { number: idx + 1, content: highlight ? highlight(line, language) : line, empty: line.length === 0, variant: resolvedVariant }, idx))) })) : (_jsx("code", { children: highlight ? highlight(value, language) : value })) }) })] }));
|
|
83
|
+
}
|
|
84
|
+
CodeBlock.displayName = "CodeBlock";
|
|
85
|
+
function LineRow({ number, content, empty, variant, }) {
|
|
86
|
+
return (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": "true", "data-slot": "code-block-line-number", className: cn(lineNumberVariants({ variant })), children: number }), _jsx("span", { "data-slot": "code-block-line", children: empty ? "" : content })] }));
|
|
87
|
+
}
|
|
88
|
+
export { CodeBlock, codeBlockVariants, codeBlockSizeIds, codeBlockVariantIds, };
|
|
89
|
+
export default CodeBlock;
|
|
90
|
+
//# sourceMappingURL=code-block.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-block.js","sourceRoot":"","sources":["../../../../src/components/ui/code-block/code-block.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAKL,OAAO,GACR,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAGL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,iBAAiB,GAAG,GAAG,CAC3B,sDAAsD,EACtD;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EACL,wCAAwC;YAC1C,QAAQ,EACN,gEAAgE;YAClE,MAAM,EACJ,sDAAsD;YACxD,QAAQ,EACN,oDAAoD;SACZ;QAC5C,IAAI,EAAE;YACJ,EAAE,EAAE,SAAS;YACb,EAAE,EAAE,SAAS;YACb,EAAE,EAAE,WAAW;SACwB;KAC1C;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,IAAI;KACX;CACF,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,GAAG,CACjC,4DA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AAC,SAAS,YAE1D,cAAK,SAAS,EAAC,gBAAgB,YAC5B,eAAe,CAAC,CAAC,CAAC,CACjB,eAAM,SAAS,EAAC,2BAA2B,YACxC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,EAAgB,EAAE,CAAC,CACtC,KAAC,OAAO,IAEN,MAAM,EAAE,GAAG,GAAG,CAAC,EACf,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,EACrD,KAAK,EAAE,IAAI,CAAC,MAAM,KAAK,CAAC,EACxB,OAAO,EAAE,eAAe,IAJnB,GAAG,CAKR,CACH,CAAC,GACG,CACR,CAAC,CAAC,CAAC,CACF,yBAAO,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,GAAQ,CAC9D,GACG,GACF,IACF,CACP,CAAC;AACJ,CAAC;AACD,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;AASpC,SAAS,OAAO,CAAC,EACf,MAAM,EACN,OAAO,EACP,KAAK,EACL,OAAO,GACM;IACb,OAAO,CACL,8BACE,8BACc,MAAM,eACR,wBAAwB,EAClC,SAAS,EAAE,EAAE,CAAC,kBAAkB,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,YAE7C,MAAM,GACF,EACP,4BAAgB,iBAAiB,YAAE,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,GAAQ,IAC/D,CACJ,CAAC;AACJ,CAAC;AAED,OAAO,EACL,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,GACpB,CAAC;AAGF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { CodeBlock, CodeBlock as default, codeBlockVariants, } from "./code-block";
|
|
2
|
+
export type { CodeBlockProps } from "./code-block";
|
|
3
|
+
export { codeBlockVariantIds, codeBlockSizeIds, } from "./code-block-variants";
|
|
4
|
+
export type { CodeBlockVariant, CodeBlockSize } from "./code-block-variants";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/code-block/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,SAAS,IAAI,OAAO,EACpB,iBAAiB,GAClB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AAGzB,cAAc,aAAa,CAAC;AAG5B,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC;AAGxB,cAAc,mBAAmB,CAAC;AAGlC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,UAAU,CAAC;AAGzB,cAAc,SAAS,CAAC;AAGxB,cAAc,kBAAkB,CAAC;AAGjC,cAAc,aAAa,CAAC;AAG5B,cAAc,kCAAkC,CAAC;AAGjD,cAAc,cAAc,CAAC;AAG7B,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC;AAExB,cAAc,WAAW,CAAC;AAG1B,cAAc,YAAY,CAAC;AAG3B,cAAc,QAAQ,CAAC;AAGvB,cAAc,QAAQ,CAAC;AAGvB,cAAc,aAAa,CAAC;AAG5B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,WAAW,CAAC;AAG1B,cAAc,mBAAmB,CAAC;AAGlC,cAAc,UAAU,CAAC;AAGzB,cAAc,WAAW,CAAC;AAG1B,cAAc,WAAW,CAAC;AAG1B,cAAc,SAAS,CAAC;AAGxB,cAAc,aAAa,CAAC;AAG5B,cAAc,YAAY,CAAC;AAG3B,cAAc,YAAY,CAAC;AAG3B,cAAc,cAAc,CAAC;AAG7B,cAAc,e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,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schemavaults/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "React.js UI components for SchemaVaults frontend applications",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"semver": "7.7.2",
|
|
52
|
-
"@storybook/addon-essentials": "8.6.
|
|
52
|
+
"@storybook/addon-essentials": "8.6.17",
|
|
53
53
|
"@storybook/addon-webpack5-compiler-swc": "3.0.0",
|
|
54
54
|
"@storybook/blocks": "8.6.15",
|
|
55
|
-
"@storybook/preview-api": "8.6.
|
|
56
|
-
"@storybook/react": "8.6.
|
|
57
|
-
"@storybook/react-webpack5": "8.6.
|
|
58
|
-
"@storybook/test": "8.6.
|
|
55
|
+
"@storybook/preview-api": "8.6.17",
|
|
56
|
+
"@storybook/react": "8.6.17",
|
|
57
|
+
"@storybook/react-webpack5": "8.6.17",
|
|
58
|
+
"@storybook/test": "8.6.17",
|
|
59
59
|
"@types/react": "19.2.14",
|
|
60
60
|
"@types/react-dom": "19.2.3",
|
|
61
61
|
"autoprefixer": "10.4.21",
|