@xiongtao.xt/tau-plugins 0.29.0 → 0.30.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/API.md +881 -881
- package/CHANGELOG.md +114 -114
- package/DEVELOPMENT.md +173 -173
- package/package.json +1 -1
- package/types/packages/ui/src/index.d.ts +1 -0
- package/types/packages/ui/src/patterns/SettingRow.d.ts +14 -0
|
@@ -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;
|