@steedos-widgets/amis-object 6.10.8 → 6.10.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.
@@ -70,6 +70,7 @@
70
70
  --fieldSet-legend-marginTop: 1rem;
71
71
  --fieldSet-legend-marginBottom: 1rem;
72
72
 
73
+ --DropDown-caret-marginLeft: 0.25rem;
73
74
  --DropDown-menu-boxShadow: rgba(0, 0, 0, 0.12) 0px 0px 2px, rgba(0, 0, 0, 0.14) 0px 4px 8px;
74
75
  --boxShadow: rgba(0, 0, 0, 0.12) 0px 0px 2px, rgba(0, 0, 0, 0.14) 0px 4px 8px;
75
76
  --common-popover-border: none;
@@ -455,19 +456,19 @@ fieldset.antd-Collapse > legend{
455
456
  }
456
457
 
457
458
  :root, .antd-Nav-Menu {
458
-
459
+ --Menu-width--collapsed: 2.5rem;
459
460
  --Menu-light-fontColor: var(--Layout-light-fontColor);
460
461
  --Menu-light-fontColor-onHover: var(--link-color);
461
- --Menu-light-fontColor-onActive: var(--link-colorlink);
462
+ --Menu-light-fontColor-onActive: var(--link-color);
462
463
  --Menu-light-active-backgroundColor: rgb(240, 240, 240);
463
464
  --Menu-light-backgroundColor-onHover: rgb(240, 240, 240);
464
465
  --Menu-light-selectedIndicator-color: transparent;
465
- --Nav-Item-height: 2.5rem;
466
+ --Nav-Item-height: 2.25rem;
466
467
  /* --Nav-Item-height--horizontal: 2.5rem; */
467
468
  --Nav-item-borderRadius: 0.5rem;
468
469
  --Nav-item-onHover-bg: rgba(21,137,238,.1);
469
470
  --Nav-item-onActive-bg: rgba(21,137,238,.1);
470
- --Nav-item-onActive-color: var(--link-colorlink);
471
+ --Nav-item-onActive-color: var(--link-color);
471
472
  --Nav-Item-maxWidth--tabs: 200px;
472
473
  }
473
474
  .antd-Nav-Menu.antd-Nav-Menu-horizontal {
@@ -478,15 +479,19 @@ fieldset.antd-Collapse > legend{
478
479
  .antd-Nav-Menu-item {
479
480
  border-radius: 0.375rem;
480
481
  margin-top: 3px;
482
+ margin-left: 0rem;
481
483
  }
482
484
 
483
-
484
- .antd-Nav-Menu-item-dragBar {
485
- left: -4px;
485
+ .antd-Nav-Menu-collapsed
486
+ .antd-Nav-Menu-item {
487
+ border-radius: 0;
488
+ margin-top: 0;
489
+ margin-left: 0rem;
486
490
  }
487
491
 
488
- .steedos-app-service-edit .antd-Nav-Menu-inline .antd-Nav-Menu-item-active.antd-Nav-Menu-item-selected::before {
489
- display: none;
492
+ .antd-Nav-Menu-item-dragBar {
493
+ left: 0px;
494
+ height: 16px;
490
495
  }
491
496
 
492
497
  .antd-Nav-Menu-item-active {
@@ -511,7 +516,7 @@ fieldset.antd-Collapse > legend{
511
516
  }
512
517
 
513
518
  .antd-Nav-Menu-light .antd-Nav-Menu-item, .antd-Nav-Menu-light .antd-Nav-Menu-submenu-title {
514
- padding-right: 0;
519
+ padding-right: 4px;
515
520
  }
516
521
 
517
522
  .antd-Nav-Menu-horizontal.antd-Nav-Menu-light .antd-Nav-Menu-item.antd-Nav-Menu-item-selected {
@@ -559,7 +564,6 @@ fieldset.antd-Collapse > legend{
559
564
  } */
560
565
  .antd-Nav-Menu .antd-Nav-Menu-submenu > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
561
566
  color: var(--Menu-light-fontColor);
562
- padding-left: 6px;
563
567
  }
564
568
  /*
565
569
  .antd-Nav-Menu .antd-Nav-Menu-submenu-selected > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
@@ -778,10 +782,6 @@ fieldset.antd-Collapse > legend{
778
782
  margin-left: 0px;
779
783
  margin-right: 0px
780
784
  }
781
- .mx-3 {
782
- margin-left: 0.75rem;
783
- margin-right: 0.75rem
784
- }
785
785
  .my-2 {
786
786
  margin-top: 0.5rem;
787
787
  margin-bottom: 0.5rem
@@ -954,9 +954,6 @@ fieldset.antd-Collapse > legend{
954
954
  .w-6 {
955
955
  width: 1.5rem
956
956
  }
957
- .w-64 {
958
- width: 16rem
959
- }
960
957
  .w-8 {
961
958
  width: 2rem
962
959
  }
@@ -1048,9 +1045,6 @@ fieldset.antd-Collapse > legend{
1048
1045
  .flex-nowrap {
1049
1046
  flex-wrap: nowrap
1050
1047
  }
1051
- .items-start {
1052
- align-items: flex-start
1053
- }
1054
1048
  .items-center {
1055
1049
  align-items: center
1056
1050
  }
@@ -1078,8 +1072,8 @@ fieldset.antd-Collapse > legend{
1078
1072
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
1079
1073
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))
1080
1074
  }
1081
- .justify-self-start {
1082
- justify-self: start
1075
+ .justify-self-end {
1076
+ justify-self: end
1083
1077
  }
1084
1078
  .overflow-auto {
1085
1079
  overflow: auto
@@ -1223,10 +1217,6 @@ fieldset.antd-Collapse > legend{
1223
1217
  .p-4 {
1224
1218
  padding: 1rem
1225
1219
  }
1226
- .\!px-2 {
1227
- padding-left: 0.5rem !important;
1228
- padding-right: 0.5rem !important
1229
- }
1230
1220
  .px-0 {
1231
1221
  padding-left: 0px;
1232
1222
  padding-right: 0px
@@ -1363,6 +1353,10 @@ fieldset.antd-Collapse > legend{
1363
1353
  .leading-none {
1364
1354
  line-height: 1
1365
1355
  }
1356
+ .\!text-gray-600 {
1357
+ --tw-text-opacity: 1 !important;
1358
+ color: rgb(75 85 99 / var(--tw-text-opacity, 1)) !important
1359
+ }
1366
1360
  .text-\[blue\] {
1367
1361
  --tw-text-opacity: 1;
1368
1362
  color: rgb(0 0 255 / var(--tw-text-opacity, 1))
@@ -1387,6 +1381,10 @@ fieldset.antd-Collapse > legend{
1387
1381
  --tw-text-opacity: 1;
1388
1382
  color: rgb(107 114 128 / var(--tw-text-opacity, 1))
1389
1383
  }
1384
+ .text-gray-600 {
1385
+ --tw-text-opacity: 1;
1386
+ color: rgb(75 85 99 / var(--tw-text-opacity, 1))
1387
+ }
1390
1388
  .text-gray-700 {
1391
1389
  --tw-text-opacity: 1;
1392
1390
  color: rgb(55 65 81 / var(--tw-text-opacity, 1))
@@ -1519,9 +1517,6 @@ fieldset.antd-Collapse > legend{
1519
1517
  .sm\:grid {
1520
1518
  display: grid
1521
1519
  }
1522
- .sm\:w-\[220px\] {
1523
- width: 220px
1524
- }
1525
1520
  .sm\:grid-cols-2 {
1526
1521
  grid-template-columns: repeat(2, minmax(0, 1fr))
1527
1522
  }
@@ -2842,31 +2837,98 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2842
2837
  margin-top: -1rem;
2843
2838
  }
2844
2839
 
2845
- .steedos-context-bar .antd-Nav-list {
2846
- border-bottom: 0px;
2847
- height: 40px;
2840
+ .sidebar-wrapper {
2841
+ overflow-x: hidden;
2842
+ width: 40px;
2848
2843
  }
2849
- .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item.is-active {
2850
- box-shadow: none;
2844
+ .sidebar.sidebar-open .sidebar-wrapper {
2845
+ width: 220px;
2851
2846
  }
2852
- .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item > a {
2853
- border: 0px;
2854
- padding-left: 12px;
2855
- padding-right: 12px;
2856
- border-top: solid transparent 3px;
2847
+ .sidebar .toggle-sidebar {
2848
+ display: block;
2849
+ justify-self: center;
2857
2850
  }
2858
- .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item:hover > a,
2859
- .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item > a:focus {
2860
- border-top-left-radius: 0px;
2861
- border-top-right-radius: 0px;
2862
- background: rgba(21, 137, 238, 0.1);
2863
- border-top: solid rgba(21, 137, 238, 0.1) 3px;
2851
+ .sidebar.sidebar-open .toggle-sidebar {
2852
+ display: block;
2853
+ justify-self: left;
2864
2854
  }
2865
- .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item.is-active > a {
2866
- border-top-left-radius: 0px;
2867
- border-top-right-radius: 0px;
2868
- background: rgba(21, 137, 238, 0.1);
2869
- border-top: solid rgb(14 165 233) 3px;
2855
+ .antd-Nav-Menu-item-divider {
2856
+ border-bottom: 0.0625rem solid #cacacc !important;
2857
+ }
2858
+ .antd-Nav-Menu-item-tooltip {
2859
+ display: none !important;
2860
+ }
2861
+ .antd-Nav.stacked .antd-Nav-Menu-item-link .antd-Nav-Menu-item-label {
2862
+ white-space: nowrap;
2863
+ overflow: hidden;
2864
+ text-overflow: ellipsis;
2865
+ width: 100%;
2866
+ }
2867
+ .antd-Nav.stacked .antd-Nav-Menu-item-link .antd-Nav-Menu-item-label > span > span {
2868
+ white-space: nowrap;
2869
+ overflow: hidden;
2870
+ text-overflow: ellipsis;
2871
+ }
2872
+ @media (min-width: 768px) {
2873
+ body.sidebar.sidebar-open #main {
2874
+ margin-left: 220px;
2875
+ }
2876
+ body.sidebar #main {
2877
+ margin-left: 50px;
2878
+ }
2879
+ }
2880
+ @media (max-width: 768px) {
2881
+ body.sidebar.sidebar-open #main {
2882
+ padding-left: 0;
2883
+ }
2884
+ .sidebar-overlay {
2885
+ display: none;
2886
+ }
2887
+ body.sidebar.sidebar-open .sidebar-overlay {
2888
+ display: block;
2889
+ transition: ease-out opacity 0.2s;
2890
+ position: fixed;
2891
+ top: 51px;
2892
+ right: 0;
2893
+ bottom: 0;
2894
+ left: 0;
2895
+ z-index: 1000;
2896
+ background: rgba(0, 0, 0, 0.6);
2897
+ opacity: 1;
2898
+ }
2899
+ .steedos-header-toolbar-notifications-dialog .antd-Modal-content {
2900
+ position: absolute !important;
2901
+ left: 12px;
2902
+ right: 12px;
2903
+ top: 50px;
2904
+ height: auto !important;
2905
+ width: unset;
2906
+ max-width: unset;
2907
+ border-radius: var(--dialog-default-border-radius) !important;
2908
+ padding: 0;
2909
+ background: transparent;
2910
+ border: none;
2911
+ }
2912
+ .steedos-header-toolbar-notifications-dialog .antd-Modal-content .antd-Modal-body {
2913
+ padding: 0;
2914
+ margin: 0;
2915
+ }
2916
+ .steedos-header-toolbar-notifications-dialog .antd-Modal-content .antd-Modal-body .steedos-header-toolbar-notifications-panel .steedos-header-toolbar-notifications-list {
2917
+ max-height: 60vh;
2918
+ margin: 0;
2919
+ }
2920
+ .sidebar.sidebar-open .sidebar-wrapper {
2921
+ position: fixed;
2922
+ left: 0;
2923
+ top: 50px;
2924
+ bottom: 0;
2925
+ width: 220px;
2926
+ background: #fff;
2927
+ z-index: 1001;
2928
+ }
2929
+ .sidebar .sidebar-wrapper {
2930
+ width: 0;
2931
+ }
2870
2932
  }
2871
2933
  .antd-Nav .antd-Nav-list--stacked .antd-Nav-item .antd-Nav-itemToggler,
2872
2934
  .antd-Nav .antd-Nav-list--stacked .antd-Badge .antd-Nav-itemToggler {
@@ -2959,115 +3021,6 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2959
3021
  background-color: white;
2960
3022
  }
2961
3023
 
2962
- .sidebar-wrapper {
2963
- transition: 0.5s ease transform;
2964
- will-change: transform;
2965
- transform: translate(calc(-100% + 60px), 0);
2966
- -webkit-transform: translate(calc(-100% + 60px), 0);
2967
- -moz-transform: translate(calc(-100% + 60px), 0);
2968
- -ms-transform: translate(calc(-100% + 60px), 0);
2969
- -o-transform: translate(calc(-100% + 60px), 0);
2970
- overflow-x: hidden;
2971
- }
2972
- .sidebar-wrapper .steedos-app-service {
2973
- left: 160px;
2974
- }
2975
- .antd-Nav-Menu-item-divider {
2976
- border-bottom: 0.0625rem solid #cacacc !important;
2977
- }
2978
- body.sidebar-open .sidebar-wrapper {
2979
- transform: translate(0, 0);
2980
- -webkit-transform: translate(0, 0);
2981
- -moz-transform: translate(0, 0);
2982
- -ms-transform: translate(0, 0);
2983
- -o-transform: translate(0, 0);
2984
- }
2985
- body.sidebar-open .sidebar-wrapper .steedos-app-service {
2986
- left: 0px;
2987
- }
2988
- body.sidebar #sidebar {
2989
- margin-top: 50px;
2990
- }
2991
- .antd-Nav-Menu-item-tooltip {
2992
- display: none !important;
2993
- }
2994
- .antd-Nav.stacked .antd-Nav-Menu-item-link .antd-Nav-Menu-item-label {
2995
- white-space: nowrap;
2996
- overflow: hidden;
2997
- text-overflow: ellipsis;
2998
- width: 100%;
2999
- }
3000
- .antd-Nav.stacked .antd-Nav-Menu-item-link .antd-Nav-Menu-item-label > span > span {
3001
- white-space: nowrap;
3002
- overflow: hidden;
3003
- text-overflow: ellipsis;
3004
- }
3005
- @media (min-width: 768px) {
3006
- body.sidebar.sidebar-open #main {
3007
- margin-left: 220px;
3008
- }
3009
- body.sidebar #main {
3010
- margin-left: 50px;
3011
- }
3012
- }
3013
- @media (max-width: 768px) {
3014
- body.sidebar.sidebar-open #sidebar {
3015
- margin-top: 50px;
3016
- }
3017
- body.sidebar.sidebar-open #main {
3018
- padding-left: 0;
3019
- }
3020
- .sidebar-overlay {
3021
- display: none;
3022
- }
3023
- body.sidebar.sidebar-open .sidebar-overlay {
3024
- display: block;
3025
- transition: ease-out opacity 0.2s;
3026
- position: fixed;
3027
- top: 51px;
3028
- right: 0;
3029
- bottom: 0;
3030
- left: 0;
3031
- z-index: 1000;
3032
- background: rgba(0, 0, 0, 0.6);
3033
- opacity: 1;
3034
- }
3035
- .steedos-header-toolbar-notifications-dialog .antd-Modal-content {
3036
- position: absolute !important;
3037
- left: 12px;
3038
- right: 12px;
3039
- top: 50px;
3040
- height: auto !important;
3041
- width: unset;
3042
- max-width: unset;
3043
- border-radius: var(--dialog-default-border-radius) !important;
3044
- padding: 0;
3045
- background: transparent;
3046
- border: none;
3047
- }
3048
- .steedos-header-toolbar-notifications-dialog .antd-Modal-content .antd-Modal-body {
3049
- padding: 0;
3050
- margin: 0;
3051
- }
3052
- .steedos-header-toolbar-notifications-dialog .antd-Modal-content .antd-Modal-body .steedos-header-toolbar-notifications-panel .steedos-header-toolbar-notifications-list {
3053
- max-height: 60vh;
3054
- margin: 0;
3055
- }
3056
- .sidebar-wrapper {
3057
- position: fixed;
3058
- left: 0;
3059
- top: 50px;
3060
- bottom: 0;
3061
- width: 260px;
3062
- background: #fff;
3063
- z-index: 1001;
3064
- transform: translateX(-100%);
3065
- transition: transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);
3066
- }
3067
- body.sidebar.sidebar-open .sidebar-wrapper {
3068
- transform: translateX(0);
3069
- }
3070
- }
3071
3024
 
3072
3025
  .instance-default .instance-form .form-control .antd-Form-item {
3073
3026
  padding: 0;