@steedos-widgets/amis-object 1.0.0-beta.30 → 1.0.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.
@@ -70,11 +70,14 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
70
70
  } | {
71
71
  body: {
72
72
  type: string;
73
- name: any;
74
- objectName: any;
75
- visibleOn: any;
76
- className: string;
77
- }[];
73
+ items: {
74
+ type: string;
75
+ name: any;
76
+ objectName: any;
77
+ visibleOn: any;
78
+ className: string;
79
+ }[];
80
+ };
78
81
  md: string;
79
82
  })[];
80
83
  align: string;
@@ -1,15 +1,21 @@
1
1
  :root {
2
2
  --fontFamilyBase: -apple-system,BlinkMacSystemFont,Helvetica,Arial,Microsoft Yahei,SimHei;
3
3
  --fontSizeLg: 14px;
4
+ --Form-item-fontSize: 12px;
5
+ --Form-fontSize: 14px;
4
6
  --Form-selectValue-fontSize: 14px;
5
7
  --Table-toolbar-marginY: 0;
6
8
  --Table-borderColor: #d9dcde;
9
+ --Table-thead-fontSize: 13px;
10
+ --Table-fontSize: 13px;
7
11
  --Table-thead-bg: rgb(243 244 246);
8
12
  --TableCell-paddingY: 0.3rem;
9
13
  --TableCell-paddingX: 0.5rem;
10
14
  --TableCell--edge-paddingX: 0.5rem;
11
15
  --Table-thead-borderWidth: 1px;
12
16
  --text--muted-color: #d9dcde;
17
+ --Collapse-content-fontSize: 14px;
18
+ --Collapse-border: 0;
13
19
  --Collapse-header-fontSize: 16px;
14
20
  --Collapse-header-fontWeight: 400;
15
21
  --Collapse-header-onHover-bg: #EEEEEE;
@@ -27,7 +33,6 @@
27
33
  --button-default-default-right-border-color: #c9c9c9;
28
34
  --button-size-default-marginRight: 4px;
29
35
  --button-default-default-font-color: rgb(1, 118, 211);
30
- --borderRadius: 4px;
31
36
  --Nav-item-borderRadius: 0px;
32
37
  --Nav-item-onHover-bg: rgba(21,137,238,.1);
33
38
  --Nav-item-onActive-bg: rgba(21,137,238,.1);
@@ -172,6 +177,9 @@
172
177
  .border-b {
173
178
  border-bottom-width: 1px
174
179
  }
180
+ .border-solid {
181
+ border-style: solid
182
+ }
175
183
  .border-none {
176
184
  border-style: none
177
185
  }
@@ -225,15 +233,21 @@
225
233
  .pt-2 {
226
234
  padding-top: 0.5rem
227
235
  }
236
+ .pt-0 {
237
+ padding-top: 0px
238
+ }
239
+ .pb-0 {
240
+ padding-bottom: 0px
241
+ }
228
242
  .text-left {
229
243
  text-align: left
230
244
  }
231
245
  .text-center {
232
246
  text-align: center
233
247
  }
234
- .text-base {
235
- font-size: 1rem;
236
- line-height: 1.5rem
248
+ .text-xl {
249
+ font-size: 1.25rem;
250
+ line-height: 1.75rem
237
251
  }
238
252
  .font-bold {
239
253
  font-weight: 700
@@ -241,9 +255,6 @@
241
255
  .leading-none {
242
256
  line-height: 1
243
257
  }
244
- .leading-5 {
245
- line-height: 1.25rem
246
- }
247
258
  .text-gray-500 {
248
259
  --tw-text-opacity: 1;
249
260
  color: rgb(107 114 128 / var(--tw-text-opacity))
@@ -279,6 +290,12 @@
279
290
  .sm\:rounded {
280
291
  border-radius: 0.25rem
281
292
  }
293
+ .sm\:rounded-tl {
294
+ border-top-left-radius: 0.25rem
295
+ }
296
+ .sm\:rounded-tr {
297
+ border-top-right-radius: 0.25rem
298
+ }
282
299
  .sm\:border {
283
300
  border-width: 1px
284
301
  }
@@ -336,12 +353,38 @@
336
353
  .steedos-record-related-list .antd-Table-headToolbar {
337
354
  display: none;
338
355
  }
356
+ .steedos-record-related-list .antd-Images {
357
+ display: inline !important;
358
+ }
359
+ .steedos-record-related-list .antd-Image-thumb {
360
+ width: 1rem !important;
361
+ height: 1rem !important;
362
+ }
363
+ .steedos-record-related-list .textarea {
364
+ -webkit-line-clamp: 3;
365
+ display: -webkit-box;
366
+ -webkit-box-orient: vertical;
367
+ overflow: hidden;
368
+ }
339
369
  .steedos-listview .antd-Button {
340
370
  background: white;
341
371
  }
342
372
  .steedos-listview .antd-Table-headToolbar {
343
373
  display: none;
344
374
  }
375
+ .steedos-listview .antd-Images {
376
+ display: inline !important;
377
+ }
378
+ .steedos-listview .antd-Image-thumb {
379
+ width: 1rem !important;
380
+ height: 1rem !important;
381
+ }
382
+ .steedos-listview .textarea {
383
+ -webkit-line-clamp: 3;
384
+ display: -webkit-box;
385
+ -webkit-box-orient: vertical;
386
+ overflow: hidden;
387
+ }
345
388
 
346
389
  @media (min-width: 767px) {
347
390
  .steedos-amis-form .antd-Collapse .antd-Form--normal,