@steedos-widgets/amis-object 6.10.9 → 6.10.11

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
- --Menu-width--collapsed: 3rem;
459
+ --Menu-width--collapsed: 32px;
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,7 +479,7 @@ fieldset.antd-Collapse > legend{
478
479
  .antd-Nav-Menu-item {
479
480
  border-radius: 0.375rem;
480
481
  margin-top: 3px;
481
- margin-left: 0.5rem;
482
+ margin-left: 0rem;
482
483
  }
483
484
 
484
485
  .antd-Nav-Menu-collapsed
@@ -493,10 +494,6 @@ fieldset.antd-Collapse > legend{
493
494
  height: 16px;
494
495
  }
495
496
 
496
- .steedos-app-service-edit .antd-Nav-Menu-inline .antd-Nav-Menu-item-active.antd-Nav-Menu-item-selected::before {
497
- display: none;
498
- }
499
-
500
497
  .antd-Nav-Menu-item-active {
501
498
  /* line-height: var(--Nav-Item-height); */
502
499
  background: var(--Menu-light-backgroundColor-onHover);
@@ -519,7 +516,7 @@ fieldset.antd-Collapse > legend{
519
516
  }
520
517
 
521
518
  .antd-Nav-Menu-light .antd-Nav-Menu-item, .antd-Nav-Menu-light .antd-Nav-Menu-submenu-title {
522
- padding-right: 0;
519
+ padding-right: 4px;
523
520
  }
524
521
 
525
522
  .antd-Nav-Menu-horizontal.antd-Nav-Menu-light .antd-Nav-Menu-item.antd-Nav-Menu-item-selected {
@@ -957,24 +954,15 @@ fieldset.antd-Collapse > legend{
957
954
  .w-6 {
958
955
  width: 1.5rem
959
956
  }
960
- .w-64 {
961
- width: 16rem
962
- }
963
957
  .w-8 {
964
958
  width: 2rem
965
959
  }
966
960
  .w-96 {
967
961
  width: 24rem
968
962
  }
969
- .w-\[2\.5rem\] {
970
- width: 2.5rem
971
- }
972
963
  .w-\[240px\] {
973
964
  width: 240px
974
965
  }
975
- .w-\[3rem\] {
976
- width: 3rem
977
- }
978
966
  .w-auto {
979
967
  width: auto
980
968
  }
@@ -1229,10 +1217,6 @@ fieldset.antd-Collapse > legend{
1229
1217
  .p-4 {
1230
1218
  padding: 1rem
1231
1219
  }
1232
- .\!px-2 {
1233
- padding-left: 0.5rem !important;
1234
- padding-right: 0.5rem !important
1235
- }
1236
1220
  .px-0 {
1237
1221
  padding-left: 0px;
1238
1222
  padding-right: 0px
@@ -1369,6 +1353,10 @@ fieldset.antd-Collapse > legend{
1369
1353
  .leading-none {
1370
1354
  line-height: 1
1371
1355
  }
1356
+ .\!text-gray-600 {
1357
+ --tw-text-opacity: 1 !important;
1358
+ color: rgb(75 85 99 / var(--tw-text-opacity, 1)) !important
1359
+ }
1372
1360
  .text-\[blue\] {
1373
1361
  --tw-text-opacity: 1;
1374
1362
  color: rgb(0 0 255 / var(--tw-text-opacity, 1))
@@ -1393,6 +1381,10 @@ fieldset.antd-Collapse > legend{
1393
1381
  --tw-text-opacity: 1;
1394
1382
  color: rgb(107 114 128 / var(--tw-text-opacity, 1))
1395
1383
  }
1384
+ .text-gray-600 {
1385
+ --tw-text-opacity: 1;
1386
+ color: rgb(75 85 99 / var(--tw-text-opacity, 1))
1387
+ }
1396
1388
  .text-gray-700 {
1397
1389
  --tw-text-opacity: 1;
1398
1390
  color: rgb(55 65 81 / var(--tw-text-opacity, 1))
@@ -1525,9 +1517,6 @@ fieldset.antd-Collapse > legend{
1525
1517
  .sm\:grid {
1526
1518
  display: grid
1527
1519
  }
1528
- .sm\:w-\[220px\] {
1529
- width: 220px
1530
- }
1531
1520
  .sm\:grid-cols-2 {
1532
1521
  grid-template-columns: repeat(2, minmax(0, 1fr))
1533
1522
  }
@@ -2848,31 +2837,98 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2848
2837
  margin-top: -1rem;
2849
2838
  }
2850
2839
 
2851
- .steedos-context-bar .antd-Nav-list {
2852
- border-bottom: 0px;
2853
- height: 40px;
2840
+ .sidebar-wrapper {
2841
+ overflow-x: hidden;
2842
+ width: 50px;
2843
+ }
2844
+ .sidebar.sidebar-open .sidebar-wrapper {
2845
+ width: 220px;
2846
+ }
2847
+ .sidebar .toggle-sidebar {
2848
+ display: block;
2849
+ justify-self: center;
2850
+ }
2851
+ .sidebar.sidebar-open .toggle-sidebar {
2852
+ display: block;
2853
+ justify-self: left;
2854
+ }
2855
+ .antd-Nav-Menu-item-divider {
2856
+ border-bottom: 0.0625rem solid #cacacc !important;
2854
2857
  }
2855
- .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item.is-active {
2856
- box-shadow: none;
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%;
2857
2866
  }
2858
- .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item > a {
2859
- border: 0px;
2860
- padding-left: 12px;
2861
- padding-right: 12px;
2862
- border-top: solid transparent 3px;
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;
2863
2871
  }
2864
- .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item:hover > a,
2865
- .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item > a:focus {
2866
- border-top-left-radius: 0px;
2867
- border-top-right-radius: 0px;
2868
- background: rgba(21, 137, 238, 0.1);
2869
- border-top: solid rgba(21, 137, 238, 0.1) 3px;
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
+ }
2870
2879
  }
2871
- .steedos-context-bar .antd-Nav .antd-Nav-list--tabs .antd-Nav-item.is-active > a {
2872
- border-top-left-radius: 0px;
2873
- border-top-right-radius: 0px;
2874
- background: rgba(21, 137, 238, 0.1);
2875
- border-top: solid rgb(14 165 233) 3px;
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
+ left: 0;
2922
+ }
2923
+ .sidebar .sidebar-wrapper {
2924
+ position: fixed;
2925
+ top: 50px;
2926
+ bottom: 0;
2927
+ width: 220px;
2928
+ background: #fff;
2929
+ z-index: 1001;
2930
+ left: -220px;
2931
+ }
2876
2932
  }
2877
2933
  .antd-Nav .antd-Nav-list--stacked .antd-Nav-item .antd-Nav-itemToggler,
2878
2934
  .antd-Nav .antd-Nav-list--stacked .antd-Badge .antd-Nav-itemToggler {
@@ -2965,115 +3021,6 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
2965
3021
  background-color: white;
2966
3022
  }
2967
3023
 
2968
- .sidebar-wrapper {
2969
- transition: 0.5s ease transform;
2970
- will-change: transform;
2971
- transform: translate(calc(-100% + 60px), 0);
2972
- -webkit-transform: translate(calc(-100% + 60px), 0);
2973
- -moz-transform: translate(calc(-100% + 60px), 0);
2974
- -ms-transform: translate(calc(-100% + 60px), 0);
2975
- -o-transform: translate(calc(-100% + 60px), 0);
2976
- overflow-x: hidden;
2977
- }
2978
- .sidebar-wrapper .steedos-app-service {
2979
- left: 160px;
2980
- }
2981
- .antd-Nav-Menu-item-divider {
2982
- border-bottom: 0.0625rem solid #cacacc !important;
2983
- }
2984
- body.sidebar-open .sidebar-wrapper {
2985
- transform: translate(0, 0);
2986
- -webkit-transform: translate(0, 0);
2987
- -moz-transform: translate(0, 0);
2988
- -ms-transform: translate(0, 0);
2989
- -o-transform: translate(0, 0);
2990
- }
2991
- body.sidebar-open .sidebar-wrapper .steedos-app-service {
2992
- left: 0px;
2993
- }
2994
- body.sidebar #sidebar {
2995
- margin-top: 50px;
2996
- }
2997
- .antd-Nav-Menu-item-tooltip {
2998
- display: none !important;
2999
- }
3000
- .antd-Nav.stacked .antd-Nav-Menu-item-link .antd-Nav-Menu-item-label {
3001
- white-space: nowrap;
3002
- overflow: hidden;
3003
- text-overflow: ellipsis;
3004
- width: 100%;
3005
- }
3006
- .antd-Nav.stacked .antd-Nav-Menu-item-link .antd-Nav-Menu-item-label > span > span {
3007
- white-space: nowrap;
3008
- overflow: hidden;
3009
- text-overflow: ellipsis;
3010
- }
3011
- @media (min-width: 768px) {
3012
- body.sidebar.sidebar-open #main {
3013
- margin-left: 220px;
3014
- }
3015
- body.sidebar #main {
3016
- margin-left: 50px;
3017
- }
3018
- }
3019
- @media (max-width: 768px) {
3020
- body.sidebar.sidebar-open #sidebar {
3021
- margin-top: 50px;
3022
- }
3023
- body.sidebar.sidebar-open #main {
3024
- padding-left: 0;
3025
- }
3026
- .sidebar-overlay {
3027
- display: none;
3028
- }
3029
- body.sidebar.sidebar-open .sidebar-overlay {
3030
- display: block;
3031
- transition: ease-out opacity 0.2s;
3032
- position: fixed;
3033
- top: 51px;
3034
- right: 0;
3035
- bottom: 0;
3036
- left: 0;
3037
- z-index: 1000;
3038
- background: rgba(0, 0, 0, 0.6);
3039
- opacity: 1;
3040
- }
3041
- .steedos-header-toolbar-notifications-dialog .antd-Modal-content {
3042
- position: absolute !important;
3043
- left: 12px;
3044
- right: 12px;
3045
- top: 50px;
3046
- height: auto !important;
3047
- width: unset;
3048
- max-width: unset;
3049
- border-radius: var(--dialog-default-border-radius) !important;
3050
- padding: 0;
3051
- background: transparent;
3052
- border: none;
3053
- }
3054
- .steedos-header-toolbar-notifications-dialog .antd-Modal-content .antd-Modal-body {
3055
- padding: 0;
3056
- margin: 0;
3057
- }
3058
- .steedos-header-toolbar-notifications-dialog .antd-Modal-content .antd-Modal-body .steedos-header-toolbar-notifications-panel .steedos-header-toolbar-notifications-list {
3059
- max-height: 60vh;
3060
- margin: 0;
3061
- }
3062
- .sidebar-wrapper {
3063
- position: fixed;
3064
- left: 0;
3065
- top: 50px;
3066
- bottom: 0;
3067
- width: 260px;
3068
- background: #fff;
3069
- z-index: 1001;
3070
- transform: translateX(-100%);
3071
- transition: transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);
3072
- }
3073
- body.sidebar.sidebar-open .sidebar-wrapper {
3074
- transform: translateX(0);
3075
- }
3076
- }
3077
3024
 
3078
3025
  .instance-default .instance-form .form-control .antd-Form-item {
3079
3026
  padding: 0;