@talonic/docs 0.21.22 → 0.21.23
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/index.d.ts +20 -20
- package/package.json +1 -1
- package/dist/tailwind-preset.d.cts +0 -45
- package/dist/tailwind-preset.d.ts +0 -45
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
/** Regex-based JSON syntax highlighter. */
|
|
@@ -8,13 +8,13 @@ declare function CodeBlock({ children, language, title, }: {
|
|
|
8
8
|
children: string;
|
|
9
9
|
language?: string;
|
|
10
10
|
title?: string;
|
|
11
|
-
}):
|
|
11
|
+
}): react.JSX.Element;
|
|
12
12
|
|
|
13
13
|
interface DownloadMarkdownProps {
|
|
14
14
|
contentRef: React.RefObject<HTMLElement | null>;
|
|
15
15
|
filename: string;
|
|
16
16
|
}
|
|
17
|
-
declare function DownloadMarkdown({ contentRef, filename }: DownloadMarkdownProps):
|
|
17
|
+
declare function DownloadMarkdown({ contentRef, filename }: DownloadMarkdownProps): react.JSX.Element;
|
|
18
18
|
|
|
19
19
|
type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
20
20
|
interface Param {
|
|
@@ -34,60 +34,60 @@ interface NavSection {
|
|
|
34
34
|
}
|
|
35
35
|
declare function MethodBadge({ method }: {
|
|
36
36
|
method: HttpMethod;
|
|
37
|
-
}):
|
|
37
|
+
}): react.JSX.Element;
|
|
38
38
|
declare function InlineCode({ children }: {
|
|
39
39
|
children: ReactNode;
|
|
40
|
-
}):
|
|
40
|
+
}): react.JSX.Element;
|
|
41
41
|
declare function SectionHeading({ id, children }: {
|
|
42
42
|
id: string;
|
|
43
43
|
children: ReactNode;
|
|
44
|
-
}):
|
|
44
|
+
}): react.JSX.Element;
|
|
45
45
|
declare function SubHeading({ id, children }: {
|
|
46
46
|
id: string;
|
|
47
47
|
children: ReactNode;
|
|
48
|
-
}):
|
|
48
|
+
}): react.JSX.Element;
|
|
49
49
|
declare function Callout({ type, children }: {
|
|
50
50
|
type?: 'info' | 'warning';
|
|
51
51
|
children: ReactNode;
|
|
52
|
-
}):
|
|
52
|
+
}): react.JSX.Element;
|
|
53
53
|
declare function P({ children }: {
|
|
54
54
|
children: ReactNode;
|
|
55
|
-
}):
|
|
55
|
+
}): react.JSX.Element;
|
|
56
56
|
declare function ParamTable({ params, title, }: {
|
|
57
57
|
params: Param[];
|
|
58
58
|
title?: string;
|
|
59
|
-
}):
|
|
59
|
+
}): react.JSX.Element;
|
|
60
60
|
declare function EndpointBlock({ method, path, summary, description, children, }: {
|
|
61
61
|
method: HttpMethod;
|
|
62
62
|
path: string;
|
|
63
63
|
summary: string;
|
|
64
64
|
description?: string;
|
|
65
65
|
children?: ReactNode;
|
|
66
|
-
}):
|
|
66
|
+
}): react.JSX.Element;
|
|
67
67
|
declare function UiExcerpt({ title, caption, children }: {
|
|
68
68
|
title: string;
|
|
69
69
|
caption?: string;
|
|
70
70
|
children: ReactNode;
|
|
71
|
-
}):
|
|
71
|
+
}): react.JSX.Element;
|
|
72
72
|
declare function TierBadge({ tier }: {
|
|
73
73
|
tier: 1 | 2 | 3;
|
|
74
|
-
}):
|
|
74
|
+
}): react.JSX.Element;
|
|
75
75
|
declare function CellDot({ color, label }: {
|
|
76
76
|
color: string;
|
|
77
77
|
label: string;
|
|
78
|
-
}):
|
|
78
|
+
}): react.JSX.Element;
|
|
79
79
|
declare function MockNavItem({ label, active, indent }: {
|
|
80
80
|
label: string;
|
|
81
81
|
active?: boolean;
|
|
82
82
|
indent?: boolean;
|
|
83
|
-
}):
|
|
83
|
+
}): react.JSX.Element;
|
|
84
84
|
declare function PipelineStage({ label, state }: {
|
|
85
85
|
label: string;
|
|
86
86
|
state: 'done' | 'active' | 'pending';
|
|
87
|
-
}):
|
|
87
|
+
}): react.JSX.Element;
|
|
88
88
|
declare function PipelineConnector({ done }: {
|
|
89
89
|
done?: boolean;
|
|
90
|
-
}):
|
|
90
|
+
}): react.JSX.Element;
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* Link component type — allows consumers to inject their
|
|
@@ -110,17 +110,17 @@ declare function Sidebar({ title, sections, activeId, onNavigate, mobileOpen, on
|
|
|
110
110
|
href: string;
|
|
111
111
|
}[];
|
|
112
112
|
LinkComponent?: LinkComponent;
|
|
113
|
-
}):
|
|
113
|
+
}): react.JSX.Element;
|
|
114
114
|
|
|
115
115
|
/** Comprehensive API reference documentation for the Talonic platform. */
|
|
116
116
|
declare function ApiReference({ LinkComponent }: {
|
|
117
117
|
LinkComponent?: LinkComponent;
|
|
118
|
-
}):
|
|
118
|
+
}): react.JSX.Element;
|
|
119
119
|
|
|
120
120
|
/** Comprehensive platform guide covering every feature of the Talonic platform. */
|
|
121
121
|
declare function PlatformGuide({ LinkComponent }: {
|
|
122
122
|
LinkComponent?: LinkComponent;
|
|
123
|
-
}):
|
|
123
|
+
}): react.JSX.Element;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
* SEO metadata, navigation data, and machine-readable content exports
|
package/package.json
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tailwind CSS preset for @talonic/docs consumers.
|
|
3
|
-
* Adds the Void design system color tokens and font families
|
|
4
|
-
* so doc components render correctly in any host app.
|
|
5
|
-
*/
|
|
6
|
-
declare const voidDocsPreset: {
|
|
7
|
-
darkMode: "class";
|
|
8
|
-
theme: {
|
|
9
|
-
extend: {
|
|
10
|
-
colors: {
|
|
11
|
-
'void-bg': string;
|
|
12
|
-
'void-bg-elevated': string;
|
|
13
|
-
'void-surface': string;
|
|
14
|
-
'void-surface-2': string;
|
|
15
|
-
'void-surface-3': string;
|
|
16
|
-
'void-border': string;
|
|
17
|
-
'void-border-hover': string;
|
|
18
|
-
'void-text-primary': string;
|
|
19
|
-
'void-text-secondary': string;
|
|
20
|
-
'void-text-muted': string;
|
|
21
|
-
'void-text-tertiary': string;
|
|
22
|
-
'void-accent': string;
|
|
23
|
-
'void-accent-hover': string;
|
|
24
|
-
'void-accent-dim': string;
|
|
25
|
-
'void-accent-tint': string;
|
|
26
|
-
'void-danger': string;
|
|
27
|
-
'void-danger-solid': string;
|
|
28
|
-
'void-divider': string;
|
|
29
|
-
'void-warning': string;
|
|
30
|
-
'void-warning-dim': string;
|
|
31
|
-
'void-tier-1': string;
|
|
32
|
-
'void-tier-2': string;
|
|
33
|
-
'void-tier-3': string;
|
|
34
|
-
};
|
|
35
|
-
fontFamily: {
|
|
36
|
-
space: string[];
|
|
37
|
-
body: string[];
|
|
38
|
-
mono: string[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
plugins: never[];
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export { voidDocsPreset as default };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tailwind CSS preset for @talonic/docs consumers.
|
|
3
|
-
* Adds the Void design system color tokens and font families
|
|
4
|
-
* so doc components render correctly in any host app.
|
|
5
|
-
*/
|
|
6
|
-
declare const voidDocsPreset: {
|
|
7
|
-
darkMode: "class";
|
|
8
|
-
theme: {
|
|
9
|
-
extend: {
|
|
10
|
-
colors: {
|
|
11
|
-
'void-bg': string;
|
|
12
|
-
'void-bg-elevated': string;
|
|
13
|
-
'void-surface': string;
|
|
14
|
-
'void-surface-2': string;
|
|
15
|
-
'void-surface-3': string;
|
|
16
|
-
'void-border': string;
|
|
17
|
-
'void-border-hover': string;
|
|
18
|
-
'void-text-primary': string;
|
|
19
|
-
'void-text-secondary': string;
|
|
20
|
-
'void-text-muted': string;
|
|
21
|
-
'void-text-tertiary': string;
|
|
22
|
-
'void-accent': string;
|
|
23
|
-
'void-accent-hover': string;
|
|
24
|
-
'void-accent-dim': string;
|
|
25
|
-
'void-accent-tint': string;
|
|
26
|
-
'void-danger': string;
|
|
27
|
-
'void-danger-solid': string;
|
|
28
|
-
'void-divider': string;
|
|
29
|
-
'void-warning': string;
|
|
30
|
-
'void-warning-dim': string;
|
|
31
|
-
'void-tier-1': string;
|
|
32
|
-
'void-tier-2': string;
|
|
33
|
-
'void-tier-3': string;
|
|
34
|
-
};
|
|
35
|
-
fontFamily: {
|
|
36
|
-
space: string[];
|
|
37
|
-
body: string[];
|
|
38
|
-
mono: string[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
plugins: never[];
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export { voidDocsPreset as default };
|