@messaia/cdk 19.0.0-rc12 → 19.0.0

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.
@@ -4,6 +4,7 @@
4
4
  @mixin vd-general-utilities() {
5
5
  $primary-color: var(--mat-sys-primary);
6
6
  $secondary-color: var(--mat-sys-secondary);
7
+ $warn-color: var(--mat-sys-error-container);
7
8
 
8
9
  [tabindex]:focus {
9
10
  outline: none;
@@ -892,6 +893,70 @@
892
893
 
893
894
  /* #endregion */
894
895
 
896
+ /* #region SnackBar */
897
+
898
+ mat-snack-bar-container {
899
+ &.error {
900
+ .mdc-snackbar__surface {
901
+ background-color: $warn-color;
902
+ white-space: pre-line;
903
+
904
+ .mat-mdc-simple-snackbar-action {
905
+ color: white;
906
+ }
907
+ }
908
+ }
909
+
910
+ &.warn {
911
+ .mdc-snackbar__surface {
912
+ background-color: #ff9900;
913
+ color: #ffffff;
914
+
915
+ .mat-mdc-simple-snackbar-action {
916
+ color: white;
917
+ }
918
+ }
919
+ }
920
+
921
+ &.primary {
922
+ .mdc-snackbar__surface {
923
+ background-color: $primary-color;
924
+
925
+ .mat-mdc-simple-snackbar-action {
926
+ color: white;
927
+ }
928
+ }
929
+ }
930
+
931
+ .mat-mdc-button {
932
+ &.mat-mdc-snack-bar-action:not(:disabled) {
933
+ color: white !important;
934
+ }
935
+ }
936
+
937
+
938
+ .mat-mdc-snack-bar-label {
939
+ white-space: pre-line;
940
+ }
941
+ }
942
+
943
+ .dark-mode {
944
+ mat-snack-bar-container {
945
+
946
+ &.error,
947
+ &.warn,
948
+ &.primary {
949
+ .mdc-snackbar__surface {
950
+ .mat-mdc-snack-bar-label {
951
+ color: white;
952
+ }
953
+ }
954
+ }
955
+ }
956
+ }
957
+
958
+ /* #endregion */
959
+
895
960
  /* #region MatAutocomplete */
896
961
 
897
962
  .mat-mdc-autocomplete-panel {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk",
3
- "version": "19.0.0-rc12",
3
+ "version": "19.0.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.5",
6
6
  "@angular/core": "^19.0.5"