@xiongtao.xt/tau-plugins 0.29.0 → 0.31.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/AI.md +116 -116
- package/API.md +881 -881
- package/BACKEND.md +68 -68
- package/CHANGELOG.md +120 -114
- package/DEVELOPMENT.md +173 -173
- package/EDITOR.md +192 -192
- package/FLASHCARDS.md +92 -92
- package/IMAGES.md +16 -16
- package/LICENSE +21 -21
- package/NOTIFICATIONS.md +48 -48
- package/PUBLISH-DATA.md +48 -47
- package/PUBLISH.md +50 -48
- package/SERVICES.md +119 -119
- package/SYNC.md +37 -37
- package/TTS.md +20 -20
- package/UPLOAD.md +35 -35
- package/VIDEO.md +65 -65
- package/WHITEBOARD.md +115 -115
- package/client/{chunk-R3YIHOWT.js → chunk-ECEBBIHP.js} +1 -1
- package/package.js +1 -1
- package/package.json +1 -1
- package/publish-artifacts.js +1 -1
- package/types/packages/plugins/src/categories.d.ts +1 -1
- package/types/packages/plugins/src/publish-data.d.ts +2 -5
- package/types/packages/ui/src/index.d.ts +1 -0
- package/types/packages/ui/src/patterns/SettingRow.d.ts +14 -0
|
@@ -18,7 +18,6 @@ export interface ManifestItem extends ContentRef {
|
|
|
18
18
|
}
|
|
19
19
|
export interface SiteData {
|
|
20
20
|
title: string;
|
|
21
|
-
description: string;
|
|
22
21
|
basePath: string;
|
|
23
22
|
publicUrl?: string;
|
|
24
23
|
favicon?: {
|
|
@@ -26,6 +25,8 @@ export interface SiteData {
|
|
|
26
25
|
format: "svg" | "png" | "ico";
|
|
27
26
|
mimeType: string;
|
|
28
27
|
};
|
|
28
|
+
/** 模板在 manifest `template.siteFields` 中声明的字段取值,未填写时为声明的默认值 */
|
|
29
|
+
fields: Record<string, string | boolean>;
|
|
29
30
|
}
|
|
30
31
|
export interface PublishSettings {
|
|
31
32
|
appearance?: {
|
|
@@ -182,10 +183,6 @@ export interface TimelineItem {
|
|
|
182
183
|
publishTime: number;
|
|
183
184
|
}
|
|
184
185
|
export interface HomeData {
|
|
185
|
-
hero?: {
|
|
186
|
-
title: string;
|
|
187
|
-
description: string;
|
|
188
|
-
};
|
|
189
186
|
timeline: TimelineItem[];
|
|
190
187
|
stats: {
|
|
191
188
|
articles: number;
|
|
@@ -29,6 +29,7 @@ export * from "./primitives/input/Input";
|
|
|
29
29
|
export * from "./primitives/input/Textarea";
|
|
30
30
|
export * from "./primitives/input/NumberInput";
|
|
31
31
|
export * from "./patterns/FormRow";
|
|
32
|
+
export * from "./patterns/SettingRow";
|
|
32
33
|
export * from "./primitives/Checkbox";
|
|
33
34
|
export * from "./primitives/Switch";
|
|
34
35
|
export * from "./primitives/RadioGroup";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 设置行 —— 设置分组面板内的标准行式(左侧标题+说明,右侧控件槽)。
|
|
3
|
+
* 行高 ≥56px;同一面板内相邻行以 line-2 弱分隔(02 §2.3「列表行间」token,内收不贴面板边),
|
|
4
|
+
* 分组之间靠 SettingsGroup 面板与留白区分。
|
|
5
|
+
*/
|
|
6
|
+
import type { ReactNode } from "react";
|
|
7
|
+
/** 面板内相邻行的 line-2 弱分隔(内收 12px):自定义行(模型 / 文件行)也挂它,与 SettingRow 互相衔接 */
|
|
8
|
+
export declare const ROW_DIVIDER = "relative [&+&]:before:border-line-2 [&+&]:before:absolute [&+&]:before:inset-x-3 [&+&]:before:top-0 [&+&]:before:border-t";
|
|
9
|
+
export declare function SettingRow({ title, description, children, className, }: {
|
|
10
|
+
title: ReactNode;
|
|
11
|
+
description?: ReactNode;
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|