@xiongtao.xt/tau-plugins 0.30.0 → 0.31.1

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.
@@ -25,7 +25,7 @@ export declare const PLUGIN_CATEGORIES: readonly [{
25
25
  readonly label: "语音";
26
26
  }, {
27
27
  readonly id: "video";
28
- readonly label: "在线视频";
28
+ readonly label: "视频";
29
29
  }, {
30
30
  readonly id: "page";
31
31
  readonly label: "页面";
@@ -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;
@@ -12,6 +12,8 @@ export interface TabsProps<K extends string = string> {
12
12
  /** 标签居中(默认左对齐) */
13
13
  centered?: boolean;
14
14
  className?: string;
15
+ /** 面板容器类名:标签栏固定、面板独立滚动时由调用方给出高度约束 */
16
+ panelClassName?: string;
15
17
  }
16
18
  /** 下划线式标签页(与 desktop 设置页同一视觉语言);方向键在标签间移动 */
17
- export declare function Tabs<K extends string = string>({ items, activeKey: activeKeyProp, defaultActiveKey, onChange, centered, className, }: TabsProps<K>): import("react/jsx-runtime").JSX.Element;
19
+ export declare function Tabs<K extends string = string>({ items, activeKey: activeKeyProp, defaultActiveKey, onChange, centered, className, panelClassName, }: TabsProps<K>): import("react/jsx-runtime").JSX.Element;