@flatbiz/antd 3.0.19 → 3.0.21

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/index.d.ts CHANGED
@@ -38,6 +38,7 @@ export interface ButtonOperateProps {
38
38
  size?: SpaceProps["size"];
39
39
  foldIcon?: ReactElement;
40
40
  className?: string;
41
+ split?: boolean;
41
42
  }
42
43
  export declare const ButtonOperate: FC<ButtonOperateProps>;
43
44
  export declare type ButtonWrapperProps = Omit<ButtonProps, "onClick" | "loading"> & {
@@ -1192,6 +1193,7 @@ export declare const preDefinedClassName: {
1192
1193
  label_width_auto: string;
1193
1194
  label_align_left: string;
1194
1195
  label_align_right: string;
1196
+ label_value_vertical: string;
1195
1197
  };
1196
1198
  formItem: {
1197
1199
  label_width_70: string;
@@ -1211,8 +1213,40 @@ export declare const preDefinedClassName: {
1211
1213
  label_width_auto: string;
1212
1214
  label_align_left: string;
1213
1215
  label_align_right: string;
1216
+ label_value_vertical: string;
1214
1217
  };
1215
1218
  };
1219
+ export declare type RelationProps = {
1220
+ /** 左侧Tag+线占用宽度 */
1221
+ tagLineWidth?: number;
1222
+ /** 缩进宽度,配合【RelationGroup】使用 */
1223
+ indentWidth?: number;
1224
+ /** 连接线上Tag文案 */
1225
+ tagText: string;
1226
+ /** 连接线上Tag颜色 */
1227
+ tagColor?: string;
1228
+ /** 连接线上Tag宽度 */
1229
+ tagWidth?: number;
1230
+ /** 连接线上Tag点击事件 */
1231
+ onTagClick?: (tagText: string) => void;
1232
+ /**连接线颜色 */
1233
+ lineColor?: string;
1234
+ children: ReactElement | null | Array<ReactElement | null>;
1235
+ className?: string;
1236
+ };
1237
+ export declare const Relation: (props: RelationProps) => JSX.Element;
1238
+ export declare type RelationGroupProps = {
1239
+ children: ReactElement | null | Array<ReactElement | null>;
1240
+ className?: string;
1241
+ style?: CSSProperties;
1242
+ };
1243
+ export declare const RelationGroup: (props: RelationGroupProps) => JSX.Element;
1244
+ export declare type RelationItemProps = {
1245
+ children: ReactElement | null | Array<ReactElement | null>;
1246
+ className?: string;
1247
+ style?: CSSProperties;
1248
+ };
1249
+ export declare const RelationItem: (props: RelationItemProps) => JSX.Element;
1216
1250
  export declare type SimpleLayoutProps = {
1217
1251
  className?: string;
1218
1252
  style?: CSSProperties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/antd",
3
- "version": "3.0.19",
3
+ "version": "3.0.21",
4
4
  "description": "flat-biz oss ui components",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",
@@ -53,5 +53,5 @@
53
53
  "react": "18.2.0",
54
54
  "react-dom": "18.2.0"
55
55
  },
56
- "gitHead": "5e311cc44586e72c8bb5f9fb70c1931f0df6cd1c"
56
+ "gitHead": "4378d433b73ee28fd7cb4c64bed8571f993eb5a9"
57
57
  }