@steedos-widgets/amis-object 1.0.11 → 1.0.13

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.
@@ -1,3 +1,4 @@
1
+ import './AmisGlobalHeader.less';
1
2
  export declare const AmisGlobalHeader: (props: any) => Promise<{
2
3
  type: string;
3
4
  id: string;
@@ -1,6 +1,15 @@
1
1
  export declare const AmisObjectListView: (props: any) => Promise<{
2
+ type: string;
3
+ body: string;
4
+ level: string;
5
+ showIcon: boolean;
6
+ className: string;
7
+ data?: undefined;
8
+ } | {
2
9
  type: string;
3
10
  body: any[];
4
11
  className: string;
5
12
  data: any;
13
+ level?: undefined;
14
+ showIcon?: undefined;
6
15
  }>;
@@ -41,6 +41,7 @@
41
41
  --Nav-item-onHover-bg: rgba(21,137,238,.1);
42
42
  --Nav-item-onActive-bg: rgba(21,137,238,.1);
43
43
  --Nav-item-onActive-color: #000;
44
+ --Crud-toolbar-gap: 2px;
44
45
  }
45
46
 
46
47
  fieldset.antd-Collapse {
@@ -227,6 +228,15 @@ body {
227
228
  .mb-2 {
228
229
  margin-bottom: 0.5rem
229
230
  }
231
+ .mt-2 {
232
+ margin-top: 0.5rem
233
+ }
234
+ .-mb-4 {
235
+ margin-bottom: -1rem
236
+ }
237
+ .mr-2 {
238
+ margin-right: 0.5rem
239
+ }
230
240
  .ml-4 {
231
241
  margin-left: 1rem
232
242
  }
@@ -375,6 +385,10 @@ body {
375
385
  .border-0 {
376
386
  border-width: 0px
377
387
  }
388
+ .border-y {
389
+ border-top-width: 1px;
390
+ border-bottom-width: 1px
391
+ }
378
392
  .border-b {
379
393
  border-bottom-width: 1px
380
394
  }
@@ -432,13 +446,17 @@ body {
432
446
  padding-top: 1rem;
433
447
  padding-bottom: 1rem
434
448
  }
435
- .px-1 {
436
- padding-left: 0.25rem;
437
- padding-right: 0.25rem
449
+ .px-4 {
450
+ padding-left: 1rem;
451
+ padding-right: 1rem
452
+ }
453
+ .py-2 {
454
+ padding-top: 0.5rem;
455
+ padding-bottom: 0.5rem
438
456
  }
439
- .py-1 {
440
- padding-top: 0.25rem;
441
- padding-bottom: 0.25rem
457
+ .px-2 {
458
+ padding-left: 0.5rem;
459
+ padding-right: 0.5rem
442
460
  }
443
461
  .pt-4 {
444
462
  padding-top: 1rem
@@ -449,9 +467,6 @@ body {
449
467
  .pt-2 {
450
468
  padding-top: 0.5rem
451
469
  }
452
- .pt-0 {
453
- padding-top: 0px
454
- }
455
470
  .pb-0 {
456
471
  padding-bottom: 0px
457
472
  }
@@ -491,6 +506,9 @@ body {
491
506
  .leading-none {
492
507
  line-height: 1
493
508
  }
509
+ .leading-4 {
510
+ line-height: 1rem
511
+ }
494
512
  .leading-5 {
495
513
  line-height: 1.25rem
496
514
  }
@@ -555,6 +573,10 @@ body {
555
573
  .sm\:rounded-lg {
556
574
  border-radius: 0.5rem
557
575
  }
576
+ .sm\:rounded-t {
577
+ border-top-left-radius: 0.25rem;
578
+ border-top-right-radius: 0.25rem
579
+ }
558
580
  .sm\:rounded-tl {
559
581
  border-top-left-radius: 0.25rem
560
582
  }
@@ -617,9 +639,6 @@ body {
617
639
  -webkit-box-orient: vertical;
618
640
  overflow: hidden;
619
641
  }
620
- .steedos-listview .antd-Table-headToolbar {
621
- display: none;
622
- }
623
642
  .steedos-listview .antd-Images {
624
643
  display: inline !important;
625
644
  }
@@ -635,6 +654,10 @@ body {
635
654
  }
636
655
 
637
656
 
657
+ .steedos-dropdown-button-overlay .ant-dropdown-menu-item {
658
+ padding: 0px !important;
659
+ }
660
+
638
661
  @media (min-width: 767px) {
639
662
  .steedos-amis-form .antd-Collapse .antd-Form--normal,
640
663
  .steedos-amis-form .antd-Form--normal .antd-Tabs .antd-Tabs-content .antd-Tabs-pane .form-content {
@@ -654,20 +677,6 @@ body {
654
677
  }
655
678
  }
656
679
 
657
- body.sidebar #sidebar {
658
- margin-top: 50px;
659
- }
660
- body.sidebar.sidebar-open #main {
661
- padding-left: 220px;
662
- }
663
- @media (max-width: 768px) {
664
- body.sidebar.sidebar-open #sidebar {
665
- margin-top: 50px;
666
- }
667
- body.sidebar.sidebar-open #main {
668
- padding-left: 0;
669
- }
670
- }
671
680
  .steedos-context-bar .antd-Nav-list {
672
681
  border-bottom: 0px;
673
682
  height: 40px;
@@ -679,6 +688,7 @@ body.sidebar.sidebar-open #main {
679
688
  border: 0px;
680
689
  padding-left: 12px;
681
690
  padding-right: 12px;
691
+ border-top: solid transparent 3px;
682
692
  }
683
693
  .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item:hover > a,
684
694
  .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item > a:focus {
@@ -697,3 +707,27 @@ body.sidebar.sidebar-open #main {
697
707
  .antd-Nav .antd-Nav-list--stacked .antd-Badge .antd-Nav-itemToggler {
698
708
  height: auto;
699
709
  }
710
+
711
+ .sidebar-wrapper {
712
+ background: #1f2937;
713
+ transition: 0.5s ease translate;
714
+ translate: -100% 0;
715
+ will-change: transform;
716
+ }
717
+ body.sidebar-open .sidebar-wrapper {
718
+ translate: 0 0;
719
+ }
720
+ body.sidebar #sidebar {
721
+ margin-top: 50px;
722
+ }
723
+ body.sidebar.sidebar-open #main {
724
+ padding-left: 220px;
725
+ }
726
+ @media (max-width: 768px) {
727
+ body.sidebar.sidebar-open #sidebar {
728
+ margin-top: 50px;
729
+ }
730
+ body.sidebar.sidebar-open #main {
731
+ padding-left: 0;
732
+ }
733
+ }