@genexus/mercury 0.9.8 → 0.9.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.
package/dist/mercury.scss CHANGED
@@ -786,13 +786,17 @@
786
786
  }
787
787
 
788
788
  @mixin spacing-body(
789
- $body-selector: ".spacing-body",
790
- $body-block-selector: ".spacing-body-block",
791
- $body-block-start-selector: ".spacing-body-block-start",
792
- $body-block-end-selector: ".spacing-body-block-end",
793
- $body-inline-selector: ".spacing-body-inline",
794
- $body-inline-start-selector: ".spacing-body-inline-start",
795
- $body-inline-end-selector: ".spacing-body-inline-end"
789
+ $body-selector: ".spacing-body,:host(.spacing-body)",
790
+ $body-block-selector: ".spacing-body-block,:host(.spacing-body-block)",
791
+ $body-block-start-selector:
792
+ ".spacing-body-block-start,:host(.spacing-body-block-start)",
793
+ $body-block-end-selector:
794
+ ".spacing-body-block-end,:host(.spacing-body-block-end)",
795
+ $body-inline-selector: ".spacing-body-inline,:host(.spacing-body-inline)",
796
+ $body-inline-start-selector:
797
+ ".spacing-body-inline-start,:host(.spacing-body-inline-start)",
798
+ $body-inline-end-selector:
799
+ ".spacing-body-inline-end,:host(.spacing-body-inline-end)"
796
800
  ) {
797
801
  #{$body-selector} {
798
802
  @extend %spacing-body;
@@ -965,102 +969,210 @@
965
969
  --mer-border__radius--xl: 30px;
966
970
  }
967
971
 
968
- @mixin foundation-colors--light() {
969
- // primary
970
- --mer-color__primary-blue--200: #005ac1;
971
- --mer-color__primary-blue--300: #5498e8;
972
- --mer-color__primary-blue--400: #437dc0;
973
- --mer-color__primary-blue--600: #335884;
974
-
975
- // neutral
976
- --mer-color__neutral-gray--100: #4a5870;
977
- --mer-color__neutral-gray--200: #49566d;
978
- --mer-color__neutral-gray--300: #56677a;
979
- --mer-color__neutral-gray--400: #56677a;
980
- --mer-color__neutral-gray--450: #56677a;
981
- --mer-color__neutral-gray--500: #828b96;
982
- --mer-color__neutral-gray--550: #9da9b6;
983
- --mer-color__neutral-gray--600: #aeb9c6;
984
- --mer-color__neutral-gray--650: #c6d1dd;
985
- --mer-color__neutral-gray--700: #e1ecf9;
986
- --mer-color__neutral-gray--800: #fafbfd;
987
- --mer-color__neutral-gray--900: #f0f4fa;
988
- --mer-color__neutral-gray--1000: #ffffff;
989
-
990
- // tinted
991
- --mer-color__tinted-yellow--5: #faf9f6;
992
- --mer-color__tinted-yellow--60: #fafbfd;
993
- --mer-color__tinted-red--5: #faf5f7;
994
- --mer-color__tinted-red--60: #fbb2b7;
995
- --mer-color__tinted-green--5: #f2f7f8;
996
- --mer-color__tinted-green--60: #94cac4;
997
- --mer-color__tinted-blue--5: #f3f6fd;
998
- --mer-color__tinted-blue--8: #eff5fd;
999
- --mer-color__tinted-blue--10: #ecf3fd;
1000
- --mer-color__tinted-blue--20: #deebfe;
1001
- --mer-color__tinted-blue--30: #cfe3fe;
1002
- --mer-color__tinted-blue--50: #b1d2fe;
1003
-
1004
- // message
1005
- --mer-color__message-green--100: #208e80;
1006
- --mer-color__message-green--200: #208e80;
1007
- --mer-color__message-yellow--100: #dfa135;
1008
- --mer-color__message-yellow--200: #dfa135;
1009
- --mer-color__message-red--100: #da1a27;
1010
- --mer-color__message-red--200: #da1a27;
1011
- --mer-color__message-red--300: #4d0000;
1012
- --mer-color__message-red--400: #800000;
1013
- --mer-color__message-red--500: #ff9999;
1014
- --mer-color__message-red--600: #ff9999;
1015
- }
1016
-
1017
- @mixin foundation-colors--dark() {
1018
- // primary
1019
- --mer-color__primary-blue--200: #5ba7ff;
1020
- --mer-color__primary-blue--300: #5498e8;
1021
- --mer-color__primary-blue--400: #437dc0;
1022
- --mer-color__primary-blue--600: #335884;
1023
-
1024
- // neutral
1025
- --mer-color__neutral-gray--100: #e1ecf9;
1026
- --mer-color__neutral-gray--200: #d2ddeb;
1027
- --mer-color__neutral-gray--300: #c0ccd9;
1028
- --mer-color__neutral-gray--400: #9da9b6;
1029
- --mer-color__neutral-gray--450: #828b96;
1030
- --mer-color__neutral-gray--500: #56677a;
1031
- --mer-color__neutral-gray--550: #485665;
1032
- --mer-color__neutral-gray--600: #394552;
1033
- --mer-color__neutral-gray--650: #2d3a48;
1034
- --mer-color__neutral-gray--700: #242d3c;
1035
- --mer-color__neutral-gray--800: #181f2a;
1036
- --mer-color__neutral-gray--900: #11151c;
1037
- --mer-color__neutral-gray--1000: #1f2225;
1038
-
1039
- // tinted
1040
- --mer-color__tinted-yellow--5: #282a2d;
1041
- --mer-color__tinted-yellow--60: #ad8a53;
1042
- --mer-color__tinted-red--5: #29252f;
1043
- --mer-color__tinted-red--60: #aa5962;
1044
- --mer-color__tinted-green--5: #1c2830;
1045
- --mer-color__tinted-green--60: #317571;
1046
- --mer-color__tinted-blue--5: #1d2838;
1047
- --mer-color__tinted-blue--8: #1f2c3f;
1048
- --mer-color__tinted-blue--10: #1f2e43;
1049
- --mer-color__tinted-blue--20: #293d5c;
1050
- --mer-color__tinted-blue--30: #2e4e72;
1051
- --mer-color__tinted-blue--50: #3c689c;
1052
-
1053
- // message
1054
- --mer-color__message-green--100: #3fa89b;
1055
- --mer-color__message-green--200: #3fa89b;
1056
- --mer-color__message-yellow--100: #f9bd56;
1057
- --mer-color__message-yellow--200: #f9bd56;
1058
- --mer-color__message-red--100: #e35861;
1059
- --mer-color__message-red--200: #d54b54;
1060
- --mer-color__message-red--300: #ff6161;
1061
- --mer-color__message-red--400: #ff9999;
1062
- --mer-color__message-red--500: #800000;
1063
- --mer-color__message-red--600: #4d0000;
972
+ @mixin foundation-colors--light($globant-colors: false) {
973
+ @if $globant-colors {
974
+ // Globant Colors
975
+
976
+ // TODO: update with Globant colors when available
977
+ // primary
978
+ --mer-color__primary-blue--200: #005ac1;
979
+ --mer-color__primary-blue--300: #5498e8;
980
+ --mer-color__primary-blue--400: #437dc0;
981
+ --mer-color__primary-blue--600: #335884;
982
+
983
+ // neutral
984
+ --mer-color__neutral-gray--100: #4a5870;
985
+ --mer-color__neutral-gray--200: #49566d;
986
+ --mer-color__neutral-gray--300: #56677a;
987
+ --mer-color__neutral-gray--400: #56677a;
988
+ --mer-color__neutral-gray--450: #56677a;
989
+ --mer-color__neutral-gray--500: #828b96;
990
+ --mer-color__neutral-gray--550: #9da9b6;
991
+ --mer-color__neutral-gray--600: #aeb9c6;
992
+ --mer-color__neutral-gray--650: #c6d1dd;
993
+ --mer-color__neutral-gray--700: #e1ecf9;
994
+ --mer-color__neutral-gray--800: #fafbfd;
995
+ --mer-color__neutral-gray--900: #f0f4fa;
996
+ --mer-color__neutral-gray--1000: #ffffff;
997
+
998
+ // tinted
999
+ --mer-color__tinted-yellow--5: #faf9f6;
1000
+ --mer-color__tinted-yellow--60: #fafbfd;
1001
+ --mer-color__tinted-red--5: #faf5f7;
1002
+ --mer-color__tinted-red--60: #fbb2b7;
1003
+ --mer-color__tinted-green--5: #f2f7f8;
1004
+ --mer-color__tinted-green--60: #94cac4;
1005
+ --mer-color__tinted-blue--5: #f3f6fd;
1006
+ --mer-color__tinted-blue--8: #eff5fd;
1007
+ --mer-color__tinted-blue--10: #ecf3fd;
1008
+ --mer-color__tinted-blue--20: #deebfe;
1009
+ --mer-color__tinted-blue--30: #cfe3fe;
1010
+ --mer-color__tinted-blue--50: #b1d2fe;
1011
+
1012
+ // message
1013
+ --mer-color__message-green--100: #208e80;
1014
+ --mer-color__message-green--200: #208e80;
1015
+ --mer-color__message-yellow--100: #dfa135;
1016
+ --mer-color__message-yellow--200: #dfa135;
1017
+ --mer-color__message-red--100: #da1a27;
1018
+ --mer-color__message-red--200: #da1a27;
1019
+ --mer-color__message-red--300: #4d0000;
1020
+ --mer-color__message-red--400: #800000;
1021
+ --mer-color__message-red--500: #ff9999;
1022
+ --mer-color__message-red--600: #ff9999;
1023
+ } @else {
1024
+ // Mercury Colors
1025
+
1026
+ // primary
1027
+ --mer-color__primary-blue--200: #005ac1;
1028
+ --mer-color__primary-blue--300: #5498e8;
1029
+ --mer-color__primary-blue--400: #437dc0;
1030
+ --mer-color__primary-blue--600: #335884;
1031
+
1032
+ // neutral
1033
+ --mer-color__neutral-gray--100: #4a5870;
1034
+ --mer-color__neutral-gray--200: #49566d;
1035
+ --mer-color__neutral-gray--300: #56677a;
1036
+ --mer-color__neutral-gray--400: #56677a;
1037
+ --mer-color__neutral-gray--450: #56677a;
1038
+ --mer-color__neutral-gray--500: #828b96;
1039
+ --mer-color__neutral-gray--550: #9da9b6;
1040
+ --mer-color__neutral-gray--600: #aeb9c6;
1041
+ --mer-color__neutral-gray--650: #c6d1dd;
1042
+ --mer-color__neutral-gray--700: #e1ecf9;
1043
+ --mer-color__neutral-gray--800: #fafbfd;
1044
+ --mer-color__neutral-gray--900: #f0f4fa;
1045
+ --mer-color__neutral-gray--1000: #ffffff;
1046
+
1047
+ // tinted
1048
+ --mer-color__tinted-yellow--5: #faf9f6;
1049
+ --mer-color__tinted-yellow--60: #fafbfd;
1050
+ --mer-color__tinted-red--5: #faf5f7;
1051
+ --mer-color__tinted-red--60: #fbb2b7;
1052
+ --mer-color__tinted-green--5: #f2f7f8;
1053
+ --mer-color__tinted-green--60: #94cac4;
1054
+ --mer-color__tinted-blue--5: #f3f6fd;
1055
+ --mer-color__tinted-blue--8: #eff5fd;
1056
+ --mer-color__tinted-blue--10: #ecf3fd;
1057
+ --mer-color__tinted-blue--20: #deebfe;
1058
+ --mer-color__tinted-blue--30: #cfe3fe;
1059
+ --mer-color__tinted-blue--50: #b1d2fe;
1060
+
1061
+ // message
1062
+ --mer-color__message-green--100: #208e80;
1063
+ --mer-color__message-green--200: #208e80;
1064
+ --mer-color__message-yellow--100: #dfa135;
1065
+ --mer-color__message-yellow--200: #dfa135;
1066
+ --mer-color__message-red--100: #da1a27;
1067
+ --mer-color__message-red--200: #da1a27;
1068
+ --mer-color__message-red--300: #4d0000;
1069
+ --mer-color__message-red--400: #800000;
1070
+ --mer-color__message-red--500: #ff9999;
1071
+ --mer-color__message-red--600: #ff9999;
1072
+ }
1073
+ }
1074
+
1075
+ @mixin foundation-colors--dark($globant-colors: false) {
1076
+ @if $globant-colors {
1077
+ // Globant Colors
1078
+
1079
+ // primary
1080
+ --mer-color__primary-blue--200: #bfd732;
1081
+ --mer-color__primary-blue--300: #b4cc28;
1082
+ --mer-color__primary-blue--400: #96aa22;
1083
+ --mer-color__primary-blue--600: #697718;
1084
+
1085
+ // neutral
1086
+ --mer-color__neutral-gray--100: #ededed;
1087
+ --mer-color__neutral-gray--200: #dfdfdf;
1088
+ --mer-color__neutral-gray--300: #cdcdcd;
1089
+ --mer-color__neutral-gray--400: #a9a9a9;
1090
+ --mer-color__neutral-gray--450: #8c8c8c;
1091
+ --mer-color__neutral-gray--500: #686868;
1092
+ --mer-color__neutral-gray--550: #575757;
1093
+ --mer-color__neutral-gray--600: #464646;
1094
+ --mer-color__neutral-gray--650: #3b3b3b;
1095
+ --mer-color__neutral-gray--700: #303030;
1096
+ --mer-color__neutral-gray--800: #212121;
1097
+ --mer-color__neutral-gray--900: #171717;
1098
+ --mer-color__neutral-gray--1000: #000000;
1099
+
1100
+ // tinted
1101
+ //TODO: update 'tinted-blue' with tinted-primary' in globant and mercury.
1102
+ --mer-color__tinted-yellow--5: #282a2d;
1103
+ --mer-color__tinted-yellow--60: #ad8a53;
1104
+ --mer-color__tinted-red--5: #29252f;
1105
+ --mer-color__tinted-red--60: #aa5962;
1106
+ --mer-color__tinted-green--5: #1c2830;
1107
+ --mer-color__tinted-green--60: #317571;
1108
+ --mer-color__tinted-blue--5: #202118;
1109
+ --mer-color__tinted-blue--8: #242619;
1110
+ --mer-color__tinted-blue--10: #282a1a;
1111
+ --mer-color__tinted-blue--20: #383d1c;
1112
+ --mer-color__tinted-blue--30: #49501f;
1113
+ --mer-color__tinted-blue--50: #6a7624;
1114
+
1115
+ // message
1116
+ --mer-color__message-green--100: #208e80;
1117
+ --mer-color__message-green--200: #208e80;
1118
+ --mer-color__message-yellow--100: #dfa135;
1119
+ --mer-color__message-yellow--200: #dfa135;
1120
+ --mer-color__message-red--100: #da1a27;
1121
+ --mer-color__message-red--200: #da1a27;
1122
+ --mer-color__message-red--300: #4d0000;
1123
+ --mer-color__message-red--400: #800000;
1124
+ --mer-color__message-red--500: #ff9999;
1125
+ --mer-color__message-red--600: #ff9999;
1126
+ } @else {
1127
+ // Mercury Colors
1128
+
1129
+ // primary
1130
+ --mer-color__primary-blue--200: #5ba7ff;
1131
+ --mer-color__primary-blue--300: #5498e8;
1132
+ --mer-color__primary-blue--400: #437dc0;
1133
+ --mer-color__primary-blue--600: #335884;
1134
+
1135
+ // neutral
1136
+ --mer-color__neutral-gray--100: #e1ecf9;
1137
+ --mer-color__neutral-gray--200: #d2ddeb;
1138
+ --mer-color__neutral-gray--300: #c0ccd9;
1139
+ --mer-color__neutral-gray--400: #9da9b6;
1140
+ --mer-color__neutral-gray--450: #828b96;
1141
+ --mer-color__neutral-gray--500: #56677a;
1142
+ --mer-color__neutral-gray--550: #485665;
1143
+ --mer-color__neutral-gray--600: #394552;
1144
+ --mer-color__neutral-gray--650: #2d3a48;
1145
+ --mer-color__neutral-gray--700: #242d3c;
1146
+ --mer-color__neutral-gray--800: #181f2a;
1147
+ --mer-color__neutral-gray--900: #11151c;
1148
+ --mer-color__neutral-gray--1000: #1f2225;
1149
+
1150
+ // tinted
1151
+ --mer-color__tinted-yellow--5: #282a2d;
1152
+ --mer-color__tinted-yellow--60: #ad8a53;
1153
+ --mer-color__tinted-red--5: #29252f;
1154
+ --mer-color__tinted-red--60: #aa5962;
1155
+ --mer-color__tinted-green--5: #1c2830;
1156
+ --mer-color__tinted-green--60: #317571;
1157
+ --mer-color__tinted-blue--5: #1d2838;
1158
+ --mer-color__tinted-blue--8: #1f2c3f;
1159
+ --mer-color__tinted-blue--10: #1f2e43;
1160
+ --mer-color__tinted-blue--20: #293d5c;
1161
+ --mer-color__tinted-blue--30: #2e4e72;
1162
+ --mer-color__tinted-blue--50: #3c689c;
1163
+
1164
+ // message
1165
+ --mer-color__message-green--100: #3fa89b;
1166
+ --mer-color__message-green--200: #3fa89b;
1167
+ --mer-color__message-yellow--100: #f9bd56;
1168
+ --mer-color__message-yellow--200: #f9bd56;
1169
+ --mer-color__message-red--100: #e35861;
1170
+ --mer-color__message-red--200: #d54b54;
1171
+ --mer-color__message-red--300: #ff6161;
1172
+ --mer-color__message-red--400: #ff9999;
1173
+ --mer-color__message-red--500: #800000;
1174
+ --mer-color__message-red--600: #4d0000;
1175
+ }
1064
1176
  }
1065
1177
 
1066
1178
  @mixin font() {
@@ -2315,13 +2427,17 @@
2315
2427
  }
2316
2428
 
2317
2429
  @mixin spacing-body(
2318
- $body-selector: ".spacing-body",
2319
- $body-block-selector: ".spacing-body-block",
2320
- $body-block-start-selector: ".spacing-body-block-start",
2321
- $body-block-end-selector: ".spacing-body-block-end",
2322
- $body-inline-selector: ".spacing-body-inline",
2323
- $body-inline-start-selector: ".spacing-body-inline-start",
2324
- $body-inline-end-selector: ".spacing-body-inline-end"
2430
+ $body-selector: ".spacing-body,:host(.spacing-body)",
2431
+ $body-block-selector: ".spacing-body-block,:host(.spacing-body-block)",
2432
+ $body-block-start-selector:
2433
+ ".spacing-body-block-start,:host(.spacing-body-block-start)",
2434
+ $body-block-end-selector:
2435
+ ".spacing-body-block-end,:host(.spacing-body-block-end)",
2436
+ $body-inline-selector: ".spacing-body-inline,:host(.spacing-body-inline)",
2437
+ $body-inline-start-selector:
2438
+ ".spacing-body-inline-start,:host(.spacing-body-inline-start)",
2439
+ $body-inline-end-selector:
2440
+ ".spacing-body-inline-end,:host(.spacing-body-inline-end)"
2325
2441
  ) {
2326
2442
  #{$body-selector} {
2327
2443
  @extend %spacing-body;
@@ -3605,25 +3721,13 @@
3605
3721
  --accordion-header__border-width: var(--mer-border__width--sm);
3606
3722
  --accordion-header__border-color: transparent;
3607
3723
  --accordion-header__border-radius: var(--accordion-panel__border-radius);
3608
- --accordion-header__border: var(--accordion-header__border-width) solid
3609
- var(--accordion-header__border-color);
3610
- // note: just overriding "--accordion-header__border-color" doesn't seem to work.
3611
- // header:hover
3612
- --accordion-header__border-color--hover: var(
3613
- --mer-border-color__primary--hover
3614
- );
3615
- --accordion-header__border--hover: var(--accordion-header__border-width) solid
3616
- var(--accordion-header__border-color--hover);
3617
- // header:active
3618
- --accordion-header__border-color--active: var(
3619
- --mer-border-color__primary--active
3620
- );
3621
- --accordion-header__border--active: var(--accordion-header__border-width)
3622
- solid var(--accordion-header__border-color--active);
3724
+ --accordion-header__border-block-end-color: var(
3725
+ --mer-border-color__on-surface
3726
+ ); // for expanded
3623
3727
 
3624
3728
  // section
3625
3729
  --accordion-section__border-color: var(--mer-border-color__on-elevation--01);
3626
- --accordion-section__margin-block: 1px var(--mer-spacing--sm);
3730
+ --accordion-section__margin-block: var(--mer-spacing--sm);
3627
3731
  --accordion-section__margin-inline: var(--mer-spacing--sm);
3628
3732
  --accordion-section__bg-color: var(--mer-surface__elevation--01);
3629
3733
  --accordion-section__border: var(--mer-border__width--sm) solid
@@ -3656,14 +3760,21 @@
3656
3760
  padding: var(--accordion-header__padding);
3657
3761
  gap: var(--accordion-header__gap);
3658
3762
  color: var(--accordion-header__color);
3659
- outline: var(--accordion-header__border);
3660
- border-radius: var(--accordion-header__border-radius);
3763
+ border: var(--accordion-header__border-width) solid
3764
+ var(--accordion-header__border-color);
3661
3765
 
3662
3766
  &--hover {
3663
- --accordion-header__border: var(--accordion-header__border--hover);
3767
+ --accordion-header__border-color: var(--mer-border-color__primary--hover);
3768
+ }
3769
+ &--active {
3770
+ --accordion-header__border-color: var(--mer-border-color__primary--active);
3664
3771
  }
3772
+
3773
+ &--hover,
3665
3774
  &--active {
3666
- --accordion-header__border: var(--accordion-header__border--active);
3775
+ --accordion-header__border-block-end-color: var(
3776
+ --accordion-header__border-color
3777
+ );
3667
3778
  }
3668
3779
 
3669
3780
  &--focus-visible {
@@ -3679,6 +3790,14 @@
3679
3790
  color: var(--mer-accent__primary--disabled);
3680
3791
  }
3681
3792
  }
3793
+
3794
+ // expanded
3795
+ &--expanded {
3796
+ border-block-end-color: var(--accordion-header__border-block-end-color);
3797
+
3798
+ &-disabled {
3799
+ }
3800
+ }
3682
3801
  }
3683
3802
 
3684
3803
  %accordion-panel {
@@ -3703,15 +3822,10 @@
3703
3822
  // "1px" is used to improve the display of the outline when :focus-visible
3704
3823
  margin-block: var(--accordion-section__margin-block);
3705
3824
  margin-inline: var(--accordion-section__margin-inline);
3706
- padding-block: var(--accordion-section__padding-block);
3707
- padding-inline: var(--accordion-section__padding-inline);
3708
- background-color: var(--accordion-section__bg-color);
3709
- border: var(--accordion-section__border);
3710
- border-radius: var(--accordion-section__border-radius);
3825
+ // background-color: var(--accordion-section__bg-color);
3711
3826
 
3712
3827
  &-outlined {
3713
3828
  &--disabled {
3714
- border-color: var(--accordion-section-outlined__border-color--disabled);
3715
3829
  }
3716
3830
  }
3717
3831
  }
@@ -3722,6 +3836,9 @@
3722
3836
  $panel-disabled-selector: ".accordion-filled::part(panel disabled)",
3723
3837
  $header-selector: ".accordion-filled::part(header)",
3724
3838
  $header-disabled-selector: ".accordion-filled::part(header disabled)",
3839
+ $header-expanded-selector: ".accordion-filled::part(header expanded)",
3840
+ $header-expanded-disabled-selector:
3841
+ ".accordion-filled::part(header expanded disabled)",
3725
3842
  $section-selector: ".accordion-filled::part(section)"
3726
3843
  ) {
3727
3844
  #{$accordion-selector} {
@@ -3750,6 +3867,14 @@
3750
3867
  }
3751
3868
  }
3752
3869
 
3870
+ #{$header-expanded-selector} {
3871
+ @extend %accordion-header--expanded;
3872
+ }
3873
+
3874
+ #{$header-expanded-disabled-selector} {
3875
+ @extend %accordion-header--expanded-disabled;
3876
+ }
3877
+
3753
3878
  #{$section-selector} {
3754
3879
  @extend %accordion-section;
3755
3880
  }
@@ -3765,6 +3890,9 @@
3765
3890
  $panel-disabled-selector: ".accordion-outlined::part(panel disabled)",
3766
3891
  $header-selector: ".accordion-outlined::part(header)",
3767
3892
  $header-disabled-selector: ".accordion-outlined::part(header disabled)",
3893
+ $header-expanded-selector: ".accordion-outlined::part(header expanded)",
3894
+ $header-expanded-disabled-selector:
3895
+ ".accordion-outlined::part(header expanded disabled)",
3768
3896
  $section-selector: ".accordion-outlined::part(section)",
3769
3897
  $section-disabled-selector: ".accordion-outlined::part(section disabled)"
3770
3898
  ) {
@@ -3795,6 +3923,14 @@
3795
3923
  }
3796
3924
  }
3797
3925
 
3926
+ #{$header-expanded-selector} {
3927
+ @extend %accordion-header--expanded;
3928
+ }
3929
+
3930
+ #{$header-expanded-disabled-selector} {
3931
+ @extend %accordion-header--expanded-disabled;
3932
+ }
3933
+
3798
3934
  #{$section-selector} {
3799
3935
  @extend %accordion-section;
3800
3936
  }
@@ -4885,13 +5021,17 @@
4885
5021
  }
4886
5022
 
4887
5023
  @mixin spacing-body(
4888
- $body-selector: ".spacing-body",
4889
- $body-block-selector: ".spacing-body-block",
4890
- $body-block-start-selector: ".spacing-body-block-start",
4891
- $body-block-end-selector: ".spacing-body-block-end",
4892
- $body-inline-selector: ".spacing-body-inline",
4893
- $body-inline-start-selector: ".spacing-body-inline-start",
4894
- $body-inline-end-selector: ".spacing-body-inline-end"
5024
+ $body-selector: ".spacing-body,:host(.spacing-body)",
5025
+ $body-block-selector: ".spacing-body-block,:host(.spacing-body-block)",
5026
+ $body-block-start-selector:
5027
+ ".spacing-body-block-start,:host(.spacing-body-block-start)",
5028
+ $body-block-end-selector:
5029
+ ".spacing-body-block-end,:host(.spacing-body-block-end)",
5030
+ $body-inline-selector: ".spacing-body-inline,:host(.spacing-body-inline)",
5031
+ $body-inline-start-selector:
5032
+ ".spacing-body-inline-start,:host(.spacing-body-inline-start)",
5033
+ $body-inline-end-selector:
5034
+ ".spacing-body-inline-end,:host(.spacing-body-inline-end)"
4895
5035
  ) {
4896
5036
  #{$body-selector} {
4897
5037
  @extend %spacing-body;
@@ -4944,12 +5084,10 @@
4944
5084
  %combo-box {
4945
5085
  --ch-combo-box-separation-y: var(--mer-spacing--3xs);
4946
5086
  --ch-combo-box-item-gap: var(--mer-spacing--xs);
4947
-
4948
- --ch-combo-box-item__image-size: var(--mer-spacing--md);
5087
+ --ch-combo-box-item__image-size: var(--mer-icon__box--md);
5088
+ --ch-combo-box-item__background-image-size: 100%;
4949
5089
  --ch-combo-box-group__expandable-button-size: var(--mer-spacing--md);
4950
-
4951
5090
  --ch-combo-box-group__expandable-button-image-size: var(--mer-spacing--sm);
4952
- --ch-combo-box-item__background-image-size: 100%;
4953
5091
 
4954
5092
  @include control-border();
4955
5093
  @include control-colors-enabled();
@@ -5053,11 +5191,13 @@
5053
5191
  // Window
5054
5192
  // - - - - - - - - - - - - - - - - - - - -
5055
5193
  #{$window-selector} {
5194
+ @include items-container-border();
5195
+ @include items-container-border-radius();
5056
5196
  @include items-container-colors();
5057
5197
  @include items-container-padding();
5058
- @include items-container-dropdown();
5059
5198
  @include items-container-gap();
5060
5199
  @include items-container-max-height();
5200
+ @include items-container-dropdown();
5061
5201
  }
5062
5202
 
5063
5203
  // - - - - - - - - - - - - - - - - - - - -
@@ -6757,13 +6897,17 @@
6757
6897
  }
6758
6898
 
6759
6899
  @mixin spacing-body(
6760
- $body-selector: ".spacing-body",
6761
- $body-block-selector: ".spacing-body-block",
6762
- $body-block-start-selector: ".spacing-body-block-start",
6763
- $body-block-end-selector: ".spacing-body-block-end",
6764
- $body-inline-selector: ".spacing-body-inline",
6765
- $body-inline-start-selector: ".spacing-body-inline-start",
6766
- $body-inline-end-selector: ".spacing-body-inline-end"
6900
+ $body-selector: ".spacing-body,:host(.spacing-body)",
6901
+ $body-block-selector: ".spacing-body-block,:host(.spacing-body-block)",
6902
+ $body-block-start-selector:
6903
+ ".spacing-body-block-start,:host(.spacing-body-block-start)",
6904
+ $body-block-end-selector:
6905
+ ".spacing-body-block-end,:host(.spacing-body-block-end)",
6906
+ $body-inline-selector: ".spacing-body-inline,:host(.spacing-body-inline)",
6907
+ $body-inline-start-selector:
6908
+ ".spacing-body-inline-start,:host(.spacing-body-inline-start)",
6909
+ $body-inline-end-selector:
6910
+ ".spacing-body-inline-end,:host(.spacing-body-inline-end)"
6767
6911
  ) {
6768
6912
  #{$body-selector} {
6769
6913
  @extend %spacing-body;
@@ -9889,6 +10033,7 @@
9889
10033
  $light-theme: true,
9890
10034
  $prefers-color-scheme-dark: false,
9891
10035
  $prefers-color-scheme-light: false,
10036
+ $globant-colors: false,
9892
10037
 
9893
10038
  // Tokens
9894
10039
  $tokens: true,
@@ -18030,7 +18175,7 @@
18030
18175
  // Fixes issues in elements that force its color based on this property.
18031
18176
  // For example, the font color of the input with autocomplete (:-webkit-autofill)
18032
18177
  color-scheme: light;
18033
- @include foundation-colors--light();
18178
+ @include foundation-colors--light($globant-colors: $globant-colors);
18034
18179
  }
18035
18180
  }
18036
18181
  @if $colors and $tokens and $prefers-color-scheme-light {
@@ -18039,7 +18184,7 @@
18039
18184
  // Fixes issues in elements that force its color based on this property.
18040
18185
  // For example, the font color of the input with autocomplete (:-webkit-autofill)
18041
18186
  color-scheme: light;
18042
- @include foundation-colors--light();
18187
+ @include foundation-colors--light($globant-colors: $globant-colors);
18043
18188
  }
18044
18189
  }
18045
18190
  }
@@ -18050,7 +18195,7 @@
18050
18195
  // Fixes issues in elements that force its color based on this property.
18051
18196
  // For example, the font color of the input with autocomplete (:-webkit-autofill)
18052
18197
  color-scheme: dark;
18053
- @include foundation-colors--dark();
18198
+ @include foundation-colors--dark($globant-colors: $globant-colors);
18054
18199
  }
18055
18200
  }
18056
18201
  @if $colors and $tokens and $prefers-color-scheme-dark {
@@ -18059,7 +18204,7 @@
18059
18204
  // Fixes issues in elements that force its color based on this property.
18060
18205
  // For example, the font color of the input with autocomplete (:-webkit-autofill)
18061
18206
  color-scheme: dark;
18062
- @include foundation-colors--dark();
18207
+ @include foundation-colors--dark($globant-colors: $globant-colors);
18063
18208
  }
18064
18209
  }
18065
18210
  }
@@ -18268,7 +18413,7 @@
18268
18413
  }
18269
18414
 
18270
18415
  @if $pills {
18271
- @include pills($add--icon: $icons-variables);
18416
+ @include pills();
18272
18417
  }
18273
18418
 
18274
18419
  @if $radio-group {
@@ -18331,6 +18476,7 @@
18331
18476
  $light-theme: false,
18332
18477
  $prefers-color-scheme-dark: false,
18333
18478
  $prefers-color-scheme-light: false,
18479
+ $globant-colors: false,
18334
18480
 
18335
18481
  // Tokens
18336
18482
  $tokens: false,
@@ -18402,6 +18548,7 @@
18402
18548
  $light-theme: $light-theme,
18403
18549
  $prefers-color-scheme-dark: $prefers-color-scheme-dark,
18404
18550
  $prefers-color-scheme-light: $prefers-color-scheme-light,
18551
+ $globant-colors: $globant-colors,
18405
18552
 
18406
18553
  // Tokens
18407
18554
  $tokens: $tokens,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genexus/mercury",
3
- "version": "0.9.8",
3
+ "version": "0.9.10",
4
4
  "description": "Mercury is the design system designed for GeneXus IDE Web and GeneXus Next",
5
5
  "main": "dist/mercury.scss",
6
6
  "module": "dist/assets-manager.js",
@@ -27,7 +27,7 @@
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
29
  "@atao60/fse-cli": "^0.1.9",
30
- "@genexus/chameleon-controls-library": "6.0.0-next.45",
30
+ "@genexus/chameleon-controls-library": "6.0.0-next.47",
31
31
  "@genexus/svg-sass-generator": "1.1.24",
32
32
  "chokidar": "^3.6.0",
33
33
  "chokidar-cli": "^3.0.0",