@steedos-widgets/amis-object 1.0.16 → 1.0.18

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.
@@ -43,6 +43,7 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
43
43
  className: string;
44
44
  }[];
45
45
  md: string;
46
+ hiddenOn?: undefined;
46
47
  } | {
47
48
  body: {
48
49
  type: string;
@@ -55,13 +56,13 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
55
56
  }[];
56
57
  };
57
58
  md: string;
59
+ hiddenOn: string;
58
60
  })[];
59
61
  className: string;
60
62
  }[];
61
63
  size: string;
62
64
  }[];
63
65
  messages: {};
64
- hiddenOn: string;
65
66
  }[];
66
67
  } & {
67
68
  onEvent: any;
@@ -2,6 +2,7 @@
2
2
  *
3
3
  * @css
4
4
  * max-h-[80vh]
5
+ * !max-h-[80vh]
5
6
  * !mb-6
6
7
  */
7
8
  export declare const AmisSelectFlow: (props: any) => {
@@ -19,6 +20,7 @@ export declare const AmisSelectFlow: (props: any) => {
19
20
  initiallyOpen: any;
20
21
  unfoldedLevel: any;
21
22
  className: any;
23
+ required: any;
22
24
  treeContainerClassName: any;
23
25
  source: {
24
26
  method: string;
@@ -50,6 +52,7 @@ export declare const AmisSelectFlow: (props: any) => {
50
52
  initiallyOpen: any;
51
53
  unfoldedLevel: any;
52
54
  className: any;
55
+ required: any;
53
56
  treeContainerClassName: any;
54
57
  source: {
55
58
  method: string;
@@ -4,6 +4,7 @@
4
4
  --Form-item-fontSize: 12px;
5
5
  --Form-fontSize: 14px;
6
6
  --Form-selectValue-fontSize: 14px;
7
+ --Form-item-gap: 0.75rem;
7
8
  --Table-borderColor: #e5e7eb;
8
9
  --Table-borderWidth: 1px;
9
10
  --Table-fontSize: 13px;
@@ -39,7 +40,7 @@
39
40
  --button-enhance-default-bg-color: white;
40
41
  --Nav-item-borderRadius: 0px;
41
42
  --Nav-item-onHover-bg: rgba(21,137,238,.1);
42
- --Nav-item-onActive-bg: rgba(27, 34, 41, 0.1);
43
+ --Nav-item-onActive-bg: rgba(21,137,238,.1);
43
44
  --Nav-item-onActive-color: #000;
44
45
  --Crud-toolbar-gap: 2px;
45
46
  }
@@ -134,6 +135,10 @@ body {
134
135
  display: flex;
135
136
  }
136
137
 
138
+ .rdtPicker table {
139
+ border-collapse: separate;
140
+ }
141
+
137
142
  .ant-dropdown-menu {
138
143
  border: 1px solid #e5e5e5;
139
144
  border-radius: 0.25rem;
@@ -209,6 +214,9 @@ body {
209
214
  .visible {
210
215
  visibility: visible
211
216
  }
217
+ .collapse {
218
+ visibility: collapse
219
+ }
212
220
  .static {
213
221
  position: static
214
222
  }
@@ -242,6 +250,9 @@ body {
242
250
  .mr-2 {
243
251
  margin-right: 0.5rem
244
252
  }
253
+ .ml-2 {
254
+ margin-left: 0.5rem
255
+ }
245
256
  .ml-4 {
246
257
  margin-left: 1rem
247
258
  }
@@ -311,6 +322,9 @@ body {
311
322
  .max-h-\[80vh\] {
312
323
  max-height: 80vh
313
324
  }
325
+ .\!max-h-\[80vh\] {
326
+ max-height: 80vh !important
327
+ }
314
328
  .w-4 {
315
329
  width: 1rem
316
330
  }
@@ -329,6 +343,9 @@ body {
329
343
  .w-auto {
330
344
  width: auto
331
345
  }
346
+ .\!w-full {
347
+ width: 100% !important
348
+ }
332
349
  .w-full {
333
350
  width: 100%
334
351
  }
@@ -338,6 +355,9 @@ body {
338
355
  .min-w-\[300px\] {
339
356
  min-width: 300px
340
357
  }
358
+ .max-w-md {
359
+ max-width: 28rem
360
+ }
341
361
  .flex-none {
342
362
  flex: none
343
363
  }
@@ -375,6 +395,11 @@ body {
375
395
  .overflow-auto {
376
396
  overflow: auto
377
397
  }
398
+ .truncate {
399
+ overflow: hidden;
400
+ text-overflow: ellipsis;
401
+ white-space: nowrap
402
+ }
378
403
  .whitespace-nowrap {
379
404
  white-space: nowrap
380
405
  }
@@ -462,6 +487,10 @@ body {
462
487
  padding-top: 0.5rem;
463
488
  padding-bottom: 0.5rem
464
489
  }
490
+ .px-2 {
491
+ padding-left: 0.5rem;
492
+ padding-right: 0.5rem
493
+ }
465
494
  .pt-4 {
466
495
  padding-top: 1rem
467
496
  }
@@ -554,6 +583,10 @@ body {
554
583
  .\!filter {
555
584
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important
556
585
  }
586
+ .hover\:bg-gray-50:hover {
587
+ --tw-bg-opacity: 1;
588
+ background-color: rgb(249 250 251 / var(--tw-bg-opacity))
589
+ }
557
590
  .hover\:bg-sky-50:hover {
558
591
  --tw-bg-opacity: 1;
559
592
  background-color: rgb(240 249 255 / var(--tw-bg-opacity))
@@ -661,6 +694,31 @@ body {
661
694
  text-overflow: ellipsis;
662
695
  }
663
696
  @media (max-width: 576px) {
697
+ .steedos-listview .antd-Table-content table.antd-Table-table {
698
+ display: block;
699
+ }
700
+ .steedos-listview .antd-Table-content table.antd-Table-table thead,
701
+ .steedos-listview .antd-Table-content table.antd-Table-table tbody,
702
+ .steedos-listview .antd-Table-content table.antd-Table-table tr,
703
+ .steedos-listview .antd-Table-content table.antd-Table-table th,
704
+ .steedos-listview .antd-Table-content table.antd-Table-table td {
705
+ display: block;
706
+ }
707
+ .steedos-listview .antd-Table-content table.antd-Table-table thead {
708
+ display: none;
709
+ }
710
+ .steedos-listview .steedos-listview-item .steedos-listview-item-right {
711
+ max-width: 50%;
712
+ }
713
+ .steedos-listview .antd-Table-toolbar {
714
+ position: relative;
715
+ }
716
+ .steedos-listview .antd-Table-toolbar .antd-Crud-loadMore .antd-Button {
717
+ position: absolute;
718
+ bottom: -10px;
719
+ left: 30px;
720
+ right: 30px;
721
+ }
664
722
  .antd-Crud-toolbar {
665
723
  flex-basis: 0;
666
724
  flex-grow: 1;
@@ -699,6 +757,12 @@ body {
699
757
  .steedos-amis-form .antd-Collapse .antd-Form--quickEdit {
700
758
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
701
759
  }
760
+ .steedos-amis-form.antd-Form .antd-Collapse-content {
761
+ padding: 0.5rem;
762
+ }
763
+ .steedos-amis-form.antd-Form .antd-Form-label {
764
+ margin-bottom: 0;
765
+ }
702
766
  }
703
767
 
704
768
  .steedos-context-bar .antd-Nav-list {