pb-sxp-ui 1.2.9 → 1.2.10

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.
Files changed (41) hide show
  1. package/dist/index.cjs +88 -24
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +88 -24
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.cjs +3 -3
  6. package/dist/index.min.cjs.map +1 -1
  7. package/dist/index.min.js +3 -3
  8. package/dist/index.min.js.map +1 -1
  9. package/dist/pb-ui.js +88 -24
  10. package/dist/pb-ui.js.map +1 -1
  11. package/dist/pb-ui.min.js +3 -3
  12. package/dist/pb-ui.min.js.map +1 -1
  13. package/es/core/components/SxpPageRender/FormatImage.js +19 -17
  14. package/es/materials/sxp/HashTag/settingRender.d.ts +6 -7
  15. package/es/materials/sxp/HashTag/settingRender.js +9 -0
  16. package/es/materials/sxp/cta/AniLink/settingRender.d.ts +5 -0
  17. package/es/materials/sxp/cta/AniLink/settingRender.js +4 -0
  18. package/es/materials/sxp/popup/AppointForm/settingRender.d.ts +8 -5
  19. package/es/materials/sxp/popup/AppointForm/settingRender.js +12 -0
  20. package/es/materials/sxp/popup/CommodityDetail/settingRender.d.ts +6 -0
  21. package/es/materials/sxp/popup/CommodityDetail/settingRender.js +9 -0
  22. package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +6 -0
  23. package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +9 -0
  24. package/es/materials/sxp/popup/CommodityList/settingRender.js +4 -0
  25. package/es/materials/sxp/popup/Prompt/settingRender.js +10 -0
  26. package/es/materials/sxp/template/Link/settingRender.js +5 -0
  27. package/lib/core/components/SxpPageRender/FormatImage.js +19 -17
  28. package/lib/materials/sxp/HashTag/settingRender.d.ts +6 -7
  29. package/lib/materials/sxp/HashTag/settingRender.js +9 -0
  30. package/lib/materials/sxp/cta/AniLink/settingRender.d.ts +5 -0
  31. package/lib/materials/sxp/cta/AniLink/settingRender.js +4 -0
  32. package/lib/materials/sxp/popup/AppointForm/settingRender.d.ts +8 -5
  33. package/lib/materials/sxp/popup/AppointForm/settingRender.js +12 -0
  34. package/lib/materials/sxp/popup/CommodityDetail/settingRender.d.ts +6 -0
  35. package/lib/materials/sxp/popup/CommodityDetail/settingRender.js +9 -0
  36. package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +6 -0
  37. package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +9 -0
  38. package/lib/materials/sxp/popup/CommodityList/settingRender.js +4 -0
  39. package/lib/materials/sxp/popup/Prompt/settingRender.js +10 -0
  40. package/lib/materials/sxp/template/Link/settingRender.js +5 -0
  41. package/package.json +1 -1
@@ -4,18 +4,20 @@ const FormatImage = forwardRef((props, ref) => {
4
4
  const { src, onLoad, style, className, loading, alt = 'image' } = props;
5
5
  const [imgSrc, setImgSrc] = useState();
6
6
  const imgRef = useRef(null);
7
+ const [visible, setVisible] = useState(false);
7
8
  useImperativeHandle(ref, () => ({
8
9
  setSrc: (v) => {
9
- setImgSrc(v);
10
+ if (v)
11
+ setImgSrc(v);
10
12
  }
11
13
  }));
12
14
  useEffect(() => {
13
- setImgSrc(src);
15
+ if (src)
16
+ setImgSrc(src);
14
17
  }, [src]);
15
18
  useEffect(() => {
16
19
  const onShow = () => {
17
- var _a, _b;
18
- if (src && ((_b = (_a = imgRef === null || imgRef === void 0 ? void 0 : imgRef.current) === null || _a === void 0 ? void 0 : _a.style) === null || _b === void 0 ? void 0 : _b.display) === 'none') {
20
+ if (src && !visible) {
19
21
  imgRef.current.src = '';
20
22
  imgRef.current.src = src;
21
23
  }
@@ -24,19 +26,19 @@ const FormatImage = forwardRef((props, ref) => {
24
26
  return () => {
25
27
  SXP_EVENT_BUS.off(SXP_EVENT_TYPE.PAGE_DID_SHOW, onShow);
26
28
  };
27
- }, [src]);
28
- return (React.createElement(React.Fragment, null, (imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.includes('.avif')) ? (React.createElement("picture", null,
29
- React.createElement("source", { type: 'image/avif', srcSet: imgSrc }),
30
- React.createElement("source", { type: 'image/webp', srcSet: `${imgSrc}?imageMogr2/format/webp` }),
31
- React.createElement("source", { type: 'image/jpeg', srcSet: `${imgSrc}?imageMogr2/format/jpg` }),
32
- React.createElement("img", { ref: imgRef, className: className, src: imgSrc, style: Object.assign(Object.assign({}, style), { display: 'none' }), loading: loading, onLoad: (e) => {
33
- if (imgRef.current)
34
- imgRef.current.style.display = 'block';
29
+ }, [src, visible]);
30
+ return (React.createElement(React.Fragment, null,
31
+ !visible && React.createElement("div", { style: { width: '100%', height: '100%', zIndex: 1, backgroundColor: '#fff' } }),
32
+ (imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.includes('.avif')) ? (React.createElement("picture", null,
33
+ React.createElement("source", { type: 'image/avif', srcSet: imgSrc }),
34
+ React.createElement("source", { type: 'image/webp', srcSet: `${imgSrc}?imageMogr2/format/webp` }),
35
+ React.createElement("source", { type: 'image/jpeg', srcSet: `${imgSrc}?imageMogr2/format/jpg` }),
36
+ React.createElement("img", { ref: imgRef, className: className, src: imgSrc, style: Object.assign({}, style), loading: loading, onLoad: (e) => {
37
+ setVisible(true);
38
+ onLoad === null || onLoad === void 0 ? void 0 : onLoad(e.target);
39
+ }, alt: alt }))) : (React.createElement("img", { ref: imgRef, className: className, src: imgSrc, style: Object.assign({}, style), loading: loading, onLoad: (e) => {
40
+ setVisible(true);
35
41
  onLoad === null || onLoad === void 0 ? void 0 : onLoad(e.target);
36
- }, alt: alt }))) : (React.createElement("img", { ref: imgRef, className: className, src: imgSrc, style: Object.assign(Object.assign({}, style), { display: 'none' }), loading: loading, onLoad: (e) => {
37
- if (imgRef.current)
38
- imgRef.current.style.display = 'block';
39
- onLoad === null || onLoad === void 0 ? void 0 : onLoad(e.target);
40
- }, alt: alt }))));
42
+ }, alt: alt }))));
41
43
  });
42
44
  export default memo(FormatImage);
@@ -1,11 +1,4 @@
1
1
  declare const _default: ({
2
- title: string;
3
- child: {
4
- type: string;
5
- label: string;
6
- name: string[];
7
- }[];
8
- } | {
9
2
  title: string;
10
3
  child: ({
11
4
  type: string;
@@ -126,6 +119,12 @@ declare const _default: ({
126
119
  })[];
127
120
  name?: undefined;
128
121
  initialValue?: undefined;
122
+ } | {
123
+ label: string;
124
+ type: string;
125
+ name: string[];
126
+ initialValue?: undefined;
127
+ child?: undefined;
129
128
  })[];
130
129
  })[];
131
130
  export default _default;
@@ -99,6 +99,10 @@ export default [
99
99
  {
100
100
  label: '标题对齐',
101
101
  type: 'TextAlign'
102
+ },
103
+ {
104
+ label: '间距',
105
+ type: 'TextSpace'
102
106
  }
103
107
  ]
104
108
  }
@@ -184,6 +188,11 @@ export default [
184
188
  {
185
189
  type: 'TextAlign',
186
190
  name: ['props', 'buttonStyle']
191
+ },
192
+ {
193
+ label: '间距',
194
+ type: 'TextSpace',
195
+ name: ['props', 'buttonStyle']
187
196
  }
188
197
  ]
189
198
  },
@@ -68,6 +68,11 @@ declare const _default: ({
68
68
  type: string;
69
69
  name: string[];
70
70
  child?: undefined;
71
+ } | {
72
+ type: string;
73
+ name: string[];
74
+ label?: undefined;
75
+ child?: undefined;
71
76
  })[];
72
77
  })[];
73
78
  export default _default;
@@ -97,6 +97,10 @@ export default [
97
97
  label: '对齐',
98
98
  type: 'TextAlign',
99
99
  name: ['props', 'ctaTempStyles', 'ctaTitle']
100
+ },
101
+ {
102
+ type: 'TextSpace',
103
+ name: ['props', 'ctaTempStyles', 'ctaTitle']
100
104
  }
101
105
  ]
102
106
  }
@@ -64,13 +64,16 @@ declare const _default: ({
64
64
  })[];
65
65
  name?: undefined;
66
66
  options?: undefined;
67
- } | {
67
+ })[];
68
+ type?: undefined;
69
+ label?: undefined;
70
+ name?: undefined;
71
+ } | {
72
+ title: string;
73
+ child: {
68
74
  type: string;
69
75
  name: string[];
70
- label?: undefined;
71
- child?: undefined;
72
- options?: undefined;
73
- })[];
76
+ }[];
74
77
  type?: undefined;
75
78
  label?: undefined;
76
79
  name?: undefined;
@@ -53,6 +53,11 @@ export default [
53
53
  type: 'TextAlign',
54
54
  name: ['textStyle']
55
55
  },
56
+ {
57
+ label: '标题间距',
58
+ type: 'TextSpace',
59
+ name: ['textStyle']
60
+ },
56
61
  {
57
62
  label: '表单布局',
58
63
  type: 'Radius',
@@ -111,10 +116,12 @@ export default [
111
116
  ]
112
117
  },
113
118
  {
119
+ label: '提交按钮文本样式',
114
120
  type: 'TextStyle',
115
121
  name: ['props', 'submitButtonStyle']
116
122
  },
117
123
  {
124
+ label: '提交按钮对齐',
118
125
  type: 'TextAlign',
119
126
  name: ['props', 'submitButtonStyle']
120
127
  },
@@ -122,6 +129,11 @@ export default [
122
129
  label: '提交按钮颜色',
123
130
  type: 'Color',
124
131
  name: ['props', 'submitBgColor']
132
+ },
133
+ {
134
+ label: '提交按钮间距',
135
+ type: 'TextSpace',
136
+ name: ['props', 'submitButtonStyle']
125
137
  }
126
138
  ]
127
139
  },
@@ -194,6 +194,12 @@ declare const _default: ({
194
194
  })[];
195
195
  name?: undefined;
196
196
  initialValue?: undefined;
197
+ } | {
198
+ label: string;
199
+ type: string;
200
+ name: string[];
201
+ initialValue?: undefined;
202
+ child?: undefined;
197
203
  })[];
198
204
  })[];
199
205
  export default _default;
@@ -173,6 +173,10 @@ export default [
173
173
  label: '默认行数',
174
174
  type: 'Number',
175
175
  name: ['lineClamp']
176
+ },
177
+ {
178
+ label: '间距',
179
+ type: 'TextSpace'
176
180
  }
177
181
  ]
178
182
  }
@@ -258,6 +262,11 @@ export default [
258
262
  {
259
263
  type: 'TextAlign',
260
264
  name: ['props', 'buttonStyle']
265
+ },
266
+ {
267
+ label: '间距',
268
+ type: 'TextSpace',
269
+ name: ['props', 'buttonStyle']
261
270
  }
262
271
  ]
263
272
  }
@@ -182,6 +182,12 @@ declare const _default: ({
182
182
  })[];
183
183
  name?: undefined;
184
184
  initialValue?: undefined;
185
+ } | {
186
+ label: string;
187
+ type: string;
188
+ name: string[];
189
+ initialValue?: undefined;
190
+ child?: undefined;
185
191
  })[];
186
192
  })[];
187
193
  export default _default;
@@ -156,6 +156,10 @@ export default [
156
156
  label: '默认行数',
157
157
  type: 'Number',
158
158
  name: ['lineClamp']
159
+ },
160
+ {
161
+ label: '间距',
162
+ type: 'TextSpace'
159
163
  }
160
164
  ]
161
165
  }
@@ -241,6 +245,11 @@ export default [
241
245
  {
242
246
  type: 'TextAlign',
243
247
  name: ['props', 'buttonStyle']
248
+ },
249
+ {
250
+ label: '间距',
251
+ type: 'TextSpace',
252
+ name: ['props', 'buttonStyle']
244
253
  }
245
254
  ]
246
255
  }
@@ -116,6 +116,10 @@ export default [
116
116
  {
117
117
  label: '标题对齐',
118
118
  type: 'TextAlign'
119
+ },
120
+ {
121
+ label: '间距',
122
+ type: 'TextSpace'
119
123
  }
120
124
  ]
121
125
  }
@@ -46,6 +46,11 @@ export default [
46
46
  }
47
47
  ]
48
48
  },
49
+ {
50
+ label: '内容字体间距',
51
+ type: 'TextSpace',
52
+ name: ['props', 'contentStyle']
53
+ },
49
54
  {
50
55
  type: 'Group',
51
56
  label: '提交按钮字体',
@@ -79,6 +84,11 @@ export default [
79
84
  }
80
85
  ]
81
86
  },
87
+ {
88
+ label: '提交按钮间距',
89
+ type: 'TextSpace',
90
+ name: ['props', 'submitButtonStyle']
91
+ },
82
92
  {
83
93
  type: 'TextStyle',
84
94
  name: ['props', 'submitButtonStyle']
@@ -91,6 +91,11 @@ export default [
91
91
  type: 'TextAlign',
92
92
  name: ['props', 'customTitle', 'style']
93
93
  },
94
+ {
95
+ label: '间距',
96
+ type: 'TextSpace',
97
+ name: ['props', 'customTitle', 'style']
98
+ },
94
99
  {
95
100
  label: '上边距',
96
101
  type: 'Number',
@@ -7,18 +7,20 @@ const FormatImage = (0, react_1.forwardRef)((props, ref) => {
7
7
  const { src, onLoad, style, className, loading, alt = 'image' } = props;
8
8
  const [imgSrc, setImgSrc] = (0, react_1.useState)();
9
9
  const imgRef = (0, react_1.useRef)(null);
10
+ const [visible, setVisible] = (0, react_1.useState)(false);
10
11
  (0, react_1.useImperativeHandle)(ref, () => ({
11
12
  setSrc: (v) => {
12
- setImgSrc(v);
13
+ if (v)
14
+ setImgSrc(v);
13
15
  }
14
16
  }));
15
17
  (0, react_1.useEffect)(() => {
16
- setImgSrc(src);
18
+ if (src)
19
+ setImgSrc(src);
17
20
  }, [src]);
18
21
  (0, react_1.useEffect)(() => {
19
22
  const onShow = () => {
20
- var _a, _b;
21
- if (src && ((_b = (_a = imgRef === null || imgRef === void 0 ? void 0 : imgRef.current) === null || _a === void 0 ? void 0 : _a.style) === null || _b === void 0 ? void 0 : _b.display) === 'none') {
23
+ if (src && !visible) {
22
24
  imgRef.current.src = '';
23
25
  imgRef.current.src = src;
24
26
  }
@@ -27,19 +29,19 @@ const FormatImage = (0, react_1.forwardRef)((props, ref) => {
27
29
  return () => {
28
30
  event_1.default.off(event_1.SXP_EVENT_TYPE.PAGE_DID_SHOW, onShow);
29
31
  };
30
- }, [src]);
31
- return (react_1.default.createElement(react_1.default.Fragment, null, (imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.includes('.avif')) ? (react_1.default.createElement("picture", null,
32
- react_1.default.createElement("source", { type: 'image/avif', srcSet: imgSrc }),
33
- react_1.default.createElement("source", { type: 'image/webp', srcSet: `${imgSrc}?imageMogr2/format/webp` }),
34
- react_1.default.createElement("source", { type: 'image/jpeg', srcSet: `${imgSrc}?imageMogr2/format/jpg` }),
35
- react_1.default.createElement("img", { ref: imgRef, className: className, src: imgSrc, style: Object.assign(Object.assign({}, style), { display: 'none' }), loading: loading, onLoad: (e) => {
36
- if (imgRef.current)
37
- imgRef.current.style.display = 'block';
32
+ }, [src, visible]);
33
+ return (react_1.default.createElement(react_1.default.Fragment, null,
34
+ !visible && react_1.default.createElement("div", { style: { width: '100%', height: '100%', zIndex: 1, backgroundColor: '#fff' } }),
35
+ (imgSrc === null || imgSrc === void 0 ? void 0 : imgSrc.includes('.avif')) ? (react_1.default.createElement("picture", null,
36
+ react_1.default.createElement("source", { type: 'image/avif', srcSet: imgSrc }),
37
+ react_1.default.createElement("source", { type: 'image/webp', srcSet: `${imgSrc}?imageMogr2/format/webp` }),
38
+ react_1.default.createElement("source", { type: 'image/jpeg', srcSet: `${imgSrc}?imageMogr2/format/jpg` }),
39
+ react_1.default.createElement("img", { ref: imgRef, className: className, src: imgSrc, style: Object.assign({}, style), loading: loading, onLoad: (e) => {
40
+ setVisible(true);
41
+ onLoad === null || onLoad === void 0 ? void 0 : onLoad(e.target);
42
+ }, alt: alt }))) : (react_1.default.createElement("img", { ref: imgRef, className: className, src: imgSrc, style: Object.assign({}, style), loading: loading, onLoad: (e) => {
43
+ setVisible(true);
38
44
  onLoad === null || onLoad === void 0 ? void 0 : onLoad(e.target);
39
- }, alt: alt }))) : (react_1.default.createElement("img", { ref: imgRef, className: className, src: imgSrc, style: Object.assign(Object.assign({}, style), { display: 'none' }), loading: loading, onLoad: (e) => {
40
- if (imgRef.current)
41
- imgRef.current.style.display = 'block';
42
- onLoad === null || onLoad === void 0 ? void 0 : onLoad(e.target);
43
- }, alt: alt }))));
45
+ }, alt: alt }))));
44
46
  });
45
47
  exports.default = (0, react_1.memo)(FormatImage);
@@ -1,11 +1,4 @@
1
1
  declare const _default: ({
2
- title: string;
3
- child: {
4
- type: string;
5
- label: string;
6
- name: string[];
7
- }[];
8
- } | {
9
2
  title: string;
10
3
  child: ({
11
4
  type: string;
@@ -126,6 +119,12 @@ declare const _default: ({
126
119
  })[];
127
120
  name?: undefined;
128
121
  initialValue?: undefined;
122
+ } | {
123
+ label: string;
124
+ type: string;
125
+ name: string[];
126
+ initialValue?: undefined;
127
+ child?: undefined;
129
128
  })[];
130
129
  })[];
131
130
  export default _default;
@@ -101,6 +101,10 @@ exports.default = [
101
101
  {
102
102
  label: '标题对齐',
103
103
  type: 'TextAlign'
104
+ },
105
+ {
106
+ label: '间距',
107
+ type: 'TextSpace'
104
108
  }
105
109
  ]
106
110
  }
@@ -186,6 +190,11 @@ exports.default = [
186
190
  {
187
191
  type: 'TextAlign',
188
192
  name: ['props', 'buttonStyle']
193
+ },
194
+ {
195
+ label: '间距',
196
+ type: 'TextSpace',
197
+ name: ['props', 'buttonStyle']
189
198
  }
190
199
  ]
191
200
  },
@@ -68,6 +68,11 @@ declare const _default: ({
68
68
  type: string;
69
69
  name: string[];
70
70
  child?: undefined;
71
+ } | {
72
+ type: string;
73
+ name: string[];
74
+ label?: undefined;
75
+ child?: undefined;
71
76
  })[];
72
77
  })[];
73
78
  export default _default;
@@ -99,6 +99,10 @@ exports.default = [
99
99
  label: '对齐',
100
100
  type: 'TextAlign',
101
101
  name: ['props', 'ctaTempStyles', 'ctaTitle']
102
+ },
103
+ {
104
+ type: 'TextSpace',
105
+ name: ['props', 'ctaTempStyles', 'ctaTitle']
102
106
  }
103
107
  ]
104
108
  }
@@ -64,13 +64,16 @@ declare const _default: ({
64
64
  })[];
65
65
  name?: undefined;
66
66
  options?: undefined;
67
- } | {
67
+ })[];
68
+ type?: undefined;
69
+ label?: undefined;
70
+ name?: undefined;
71
+ } | {
72
+ title: string;
73
+ child: {
68
74
  type: string;
69
75
  name: string[];
70
- label?: undefined;
71
- child?: undefined;
72
- options?: undefined;
73
- })[];
76
+ }[];
74
77
  type?: undefined;
75
78
  label?: undefined;
76
79
  name?: undefined;
@@ -55,6 +55,11 @@ exports.default = [
55
55
  type: 'TextAlign',
56
56
  name: ['textStyle']
57
57
  },
58
+ {
59
+ label: '标题间距',
60
+ type: 'TextSpace',
61
+ name: ['textStyle']
62
+ },
58
63
  {
59
64
  label: '表单布局',
60
65
  type: 'Radius',
@@ -113,10 +118,12 @@ exports.default = [
113
118
  ]
114
119
  },
115
120
  {
121
+ label: '提交按钮文本样式',
116
122
  type: 'TextStyle',
117
123
  name: ['props', 'submitButtonStyle']
118
124
  },
119
125
  {
126
+ label: '提交按钮对齐',
120
127
  type: 'TextAlign',
121
128
  name: ['props', 'submitButtonStyle']
122
129
  },
@@ -124,6 +131,11 @@ exports.default = [
124
131
  label: '提交按钮颜色',
125
132
  type: 'Color',
126
133
  name: ['props', 'submitBgColor']
134
+ },
135
+ {
136
+ label: '提交按钮间距',
137
+ type: 'TextSpace',
138
+ name: ['props', 'submitButtonStyle']
127
139
  }
128
140
  ]
129
141
  },
@@ -194,6 +194,12 @@ declare const _default: ({
194
194
  })[];
195
195
  name?: undefined;
196
196
  initialValue?: undefined;
197
+ } | {
198
+ label: string;
199
+ type: string;
200
+ name: string[];
201
+ initialValue?: undefined;
202
+ child?: undefined;
197
203
  })[];
198
204
  })[];
199
205
  export default _default;
@@ -175,6 +175,10 @@ exports.default = [
175
175
  label: '默认行数',
176
176
  type: 'Number',
177
177
  name: ['lineClamp']
178
+ },
179
+ {
180
+ label: '间距',
181
+ type: 'TextSpace'
178
182
  }
179
183
  ]
180
184
  }
@@ -260,6 +264,11 @@ exports.default = [
260
264
  {
261
265
  type: 'TextAlign',
262
266
  name: ['props', 'buttonStyle']
267
+ },
268
+ {
269
+ label: '间距',
270
+ type: 'TextSpace',
271
+ name: ['props', 'buttonStyle']
263
272
  }
264
273
  ]
265
274
  }
@@ -182,6 +182,12 @@ declare const _default: ({
182
182
  })[];
183
183
  name?: undefined;
184
184
  initialValue?: undefined;
185
+ } | {
186
+ label: string;
187
+ type: string;
188
+ name: string[];
189
+ initialValue?: undefined;
190
+ child?: undefined;
185
191
  })[];
186
192
  })[];
187
193
  export default _default;
@@ -158,6 +158,10 @@ exports.default = [
158
158
  label: '默认行数',
159
159
  type: 'Number',
160
160
  name: ['lineClamp']
161
+ },
162
+ {
163
+ label: '间距',
164
+ type: 'TextSpace'
161
165
  }
162
166
  ]
163
167
  }
@@ -243,6 +247,11 @@ exports.default = [
243
247
  {
244
248
  type: 'TextAlign',
245
249
  name: ['props', 'buttonStyle']
250
+ },
251
+ {
252
+ label: '间距',
253
+ type: 'TextSpace',
254
+ name: ['props', 'buttonStyle']
246
255
  }
247
256
  ]
248
257
  }
@@ -118,6 +118,10 @@ exports.default = [
118
118
  {
119
119
  label: '标题对齐',
120
120
  type: 'TextAlign'
121
+ },
122
+ {
123
+ label: '间距',
124
+ type: 'TextSpace'
121
125
  }
122
126
  ]
123
127
  }
@@ -48,6 +48,11 @@ exports.default = [
48
48
  }
49
49
  ]
50
50
  },
51
+ {
52
+ label: '内容字体间距',
53
+ type: 'TextSpace',
54
+ name: ['props', 'contentStyle']
55
+ },
51
56
  {
52
57
  type: 'Group',
53
58
  label: '提交按钮字体',
@@ -81,6 +86,11 @@ exports.default = [
81
86
  }
82
87
  ]
83
88
  },
89
+ {
90
+ label: '提交按钮间距',
91
+ type: 'TextSpace',
92
+ name: ['props', 'submitButtonStyle']
93
+ },
84
94
  {
85
95
  type: 'TextStyle',
86
96
  name: ['props', 'submitButtonStyle']
@@ -93,6 +93,11 @@ exports.default = [
93
93
  type: 'TextAlign',
94
94
  name: ['props', 'customTitle', 'style']
95
95
  },
96
+ {
97
+ label: '间距',
98
+ type: 'TextSpace',
99
+ name: ['props', 'customTitle', 'style']
100
+ },
96
101
  {
97
102
  label: '上边距',
98
103
  type: 'Number',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pb-sxp-ui",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "React enterprise-class UI components",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",