@softheon/armature 17.17.0 → 17.18.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.
Files changed (127) hide show
  1. package/README.md +6 -67
  2. package/assets/styles/{arm-theme.scss → _arm-theme.scss} +1 -0
  3. package/assets/styles/_responsive.scss +85 -0
  4. package/assets/styles/_typography.scss +180 -0
  5. package/assets/styles/_utility.scss +118 -29
  6. package/assets/styles/_variables.scss +2 -1
  7. package/assets/styles/deprecated/_button-deprecated.scss +1123 -0
  8. package/assets/styles/deprecated/_dialog-deprecated.scss +33 -0
  9. package/assets/styles/deprecated/_material-override-deprecated.scss +41 -0
  10. package/assets/styles/deprecated/_table-deprecated.scss +108 -0
  11. package/assets/styles/deprecated/_tooltip-deprecated.scss +93 -0
  12. package/assets/styles/material-override/_button-toggle-group.scss +122 -0
  13. package/assets/styles/material-override/_button.scss +266 -0
  14. package/assets/styles/material-override/_calendar.scss +85 -0
  15. package/assets/styles/material-override/_checkbox.scss +130 -0
  16. package/assets/styles/material-override/_chip.scss +254 -0
  17. package/assets/styles/material-override/_form-field.scss +137 -0
  18. package/assets/styles/material-override/_radio-button.scss +96 -0
  19. package/assets/styles/material-override/_slider.scss +102 -0
  20. package/assets/styles/material-override/_switch.scss +204 -0
  21. package/assets/styles/material-override/_tooltip.scss +2 -0
  22. package/assets/styles/sof-styles.scss +59 -3483
  23. package/esm2022/ag-grid-components/src/ag-grid-components.module.mjs +5 -5
  24. package/esm2022/ag-grid-components/src/column-options-modal/column-options.component.mjs +4 -4
  25. package/esm2022/ag-grid-components/src/sof-table/sof-table.component.mjs +4 -4
  26. package/esm2022/ag-grid-components/src/table-cell/table-cell.component.mjs +4 -4
  27. package/esm2022/lib/alert-banner/alert-banner.module.mjs +5 -5
  28. package/esm2022/lib/alert-banner/components/alert-banner/alert-banner.component.mjs +4 -4
  29. package/esm2022/lib/alert-banner/services/alert-banner.service.mjs +4 -4
  30. package/esm2022/lib/armature.module.mjs +14 -14
  31. package/esm2022/lib/base-components/base-component.module.mjs +5 -5
  32. package/esm2022/lib/base-components/confirm-address/sof-confirm-address/compare-address-pipe/compare-address.pipe.mjs +4 -4
  33. package/esm2022/lib/base-components/confirm-address/sof-confirm-address/sof-confirm-address.component.mjs +4 -4
  34. package/esm2022/lib/base-components/confirm-address/sof-confirm-address-county-change/sof-confirm-address-county-change.component.mjs +4 -4
  35. package/esm2022/lib/base-components/sof-alert/sof-alert.component.mjs +4 -4
  36. package/esm2022/lib/base-components/sof-badge/sof-badge.component.mjs +4 -4
  37. package/esm2022/lib/base-components/sof-banner/sof-banner.component.mjs +4 -4
  38. package/esm2022/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.mjs +4 -4
  39. package/esm2022/lib/base-components/sof-handle/sof-handle.component.mjs +4 -4
  40. package/esm2022/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.mjs +5 -5
  41. package/esm2022/lib/base-components/sof-input-stepper/sof-input-stepper.component.mjs +4 -4
  42. package/esm2022/lib/base-components/sof-modal/sof-modal.component.mjs +8 -5
  43. package/esm2022/lib/base-components/sof-progress-bar/sof-progress-bar.component.mjs +4 -4
  44. package/esm2022/lib/base-components/sof-radio-card/sof-radio-card.component.mjs +5 -5
  45. package/esm2022/lib/base-components/sof-simple-alert/sof-simple-alert.component.mjs +4 -4
  46. package/esm2022/lib/base-components/sof-star-rating/sof-star-rating.component.mjs +4 -4
  47. package/esm2022/lib/base-components/sof-utility-button/sof-utility-button.component.mjs +5 -5
  48. package/esm2022/lib/component-save-print/components/component-save-print/component-save-print.component.mjs +4 -4
  49. package/esm2022/lib/component-save-print/services/component-save-print.service.mjs +4 -4
  50. package/esm2022/lib/component-save-print/sof-ar-component-save-print.module.mjs +5 -5
  51. package/esm2022/lib/core/client-generated/api/session.service.mjs +4 -4
  52. package/esm2022/lib/core/components/app-template/app-template.component.mjs +4 -4
  53. package/esm2022/lib/core/initializer/initializer.service.mjs +4 -4
  54. package/esm2022/lib/core/interceptors/armature-auth-token-append.interceptor.mjs +4 -4
  55. package/esm2022/lib/core/services/authorization.service.mjs +4 -4
  56. package/esm2022/lib/core/services/banner.service.mjs +4 -4
  57. package/esm2022/lib/core/services/base-config.service.mjs +4 -4
  58. package/esm2022/lib/core/services/default-config.service.mjs +4 -4
  59. package/esm2022/lib/core/services/federated-module.service.mjs +4 -4
  60. package/esm2022/lib/core/services/session.service.mjs +4 -4
  61. package/esm2022/lib/core/services/user-entity.service.mjs +4 -4
  62. package/esm2022/lib/distributed-cache/client-generated/api/cache.service.mjs +4 -4
  63. package/esm2022/lib/distributed-cache/distributed-cache.module.mjs +5 -5
  64. package/esm2022/lib/distributed-cache/services/server-cache.service.mjs +4 -4
  65. package/esm2022/lib/error/components/error-common/error-common.component.mjs +4 -4
  66. package/esm2022/lib/error/error.module.mjs +5 -5
  67. package/esm2022/lib/faq/components/faq/faq.component.mjs +4 -4
  68. package/esm2022/lib/faq/faq.module.mjs +5 -5
  69. package/esm2022/lib/feedback-tool/components/feedback-tool/feedback-tool.component.mjs +4 -4
  70. package/esm2022/lib/feedback-tool/feedback-tool.module.mjs +5 -5
  71. package/esm2022/lib/footer/components/footer/footer.component.mjs +4 -4
  72. package/esm2022/lib/footer/components/site-map/site-map.component.mjs +4 -4
  73. package/esm2022/lib/footer/footer.module.mjs +5 -5
  74. package/esm2022/lib/forms/components/sof-address/sof-address.component.mjs +4 -4
  75. package/esm2022/lib/forms/directives/alphanumeric/alphanumeric.directive.mjs +4 -4
  76. package/esm2022/lib/forms/directives/date-input-filter/date-input-filter.directive.mjs +4 -4
  77. package/esm2022/lib/forms/directives/input-trim/input-trim.directive.mjs +4 -4
  78. package/esm2022/lib/forms/directives/letters-characters/letters-characters.directive.mjs +4 -4
  79. package/esm2022/lib/forms/directives/letters-only/letters-only.directive.mjs +4 -4
  80. package/esm2022/lib/forms/directives/numbers-only/numbers-only.directive.mjs +4 -4
  81. package/esm2022/lib/forms/forms.module.mjs +5 -5
  82. package/esm2022/lib/forms/pipes/phone-format.pipe.mjs +4 -4
  83. package/esm2022/lib/forms/services/alert.service.mjs +4 -4
  84. package/esm2022/lib/header/components/header/header.component.mjs +4 -4
  85. package/esm2022/lib/header/components/mobile-header-menu/mobile-header-menu.component.mjs +4 -4
  86. package/esm2022/lib/header/components/sof-header-portal/sof-header-portal.component.mjs +4 -4
  87. package/esm2022/lib/header/components/sof-header-portal/user-initials-pipe/user-initials.pipe.mjs +4 -4
  88. package/esm2022/lib/header/header.module.mjs +5 -5
  89. package/esm2022/lib/navigation/components/navigation/navigation.component.mjs +6 -6
  90. package/esm2022/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-hierarchy/sof-breadcrumbs-hierarchy.component.mjs +4 -4
  91. package/esm2022/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-history/sof-breadcrumbs-history.component.mjs +4 -4
  92. package/esm2022/lib/navigation/components/sof-navigation-panel/sof-nav-panel.component.mjs +4 -4
  93. package/esm2022/lib/navigation/components/sof-sub-navigation/sof-sub-navigation.component.mjs +4 -4
  94. package/esm2022/lib/navigation/components/sof-tabs-navigation/sof-tabs.component.mjs +4 -4
  95. package/esm2022/lib/navigation/navigation.module.mjs +5 -5
  96. package/esm2022/lib/oauth/oauth.module.mjs +5 -5
  97. package/esm2022/lib/oauth/services/hybrid-saml-oauth.service.mjs +4 -4
  98. package/esm2022/lib/rbac/directives/rbac-action.directive.mjs +4 -4
  99. package/esm2022/lib/rbac/rbac.module.mjs +5 -5
  100. package/esm2022/lib/rbac/services/ar-role-nav.service.mjs +4 -4
  101. package/esm2022/lib/rbac/services/oauth2-role.service.mjs +4 -4
  102. package/esm2022/lib/resize-panels/components/resize-panels/resize-panels.component.mjs +4 -4
  103. package/esm2022/lib/resize-panels/resize-panels.module.mjs +5 -5
  104. package/esm2022/lib/rum/rum.module.mjs +5 -5
  105. package/esm2022/lib/rum/services/rum.service.mjs +4 -4
  106. package/esm2022/lib/rum/services/shared-error.service.mjs +4 -4
  107. package/esm2022/lib/rum/services/softheon-error-handler.service.mjs +4 -4
  108. package/esm2022/lib/saml/components/redirect-saml/redirect-saml.component.mjs +4 -4
  109. package/esm2022/lib/saml/saml.module.mjs +5 -5
  110. package/esm2022/lib/saml/services/entry/sso-gateway-entry.service.mjs +4 -4
  111. package/esm2022/lib/saml/services/send-off/saml.service.mjs +4 -4
  112. package/esm2022/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.mjs +4 -4
  113. package/esm2022/lib/sof-pipe/pipes/sof-date/sof-date.pipe.mjs +4 -4
  114. package/esm2022/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.mjs +4 -4
  115. package/esm2022/lib/sof-pipe/sof-pipe.module.mjs +5 -5
  116. package/esm2022/lib/theming/directives/css-override.directive.mjs +4 -4
  117. package/esm2022/lib/theming/services/theme.service.mjs +4 -4
  118. package/esm2022/lib/theming/theme.module.mjs +6 -6
  119. package/fesm2022/softheon-armature-ag-grid-components.mjs +13 -13
  120. package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
  121. package/fesm2022/softheon-armature.mjs +314 -311
  122. package/fesm2022/softheon-armature.mjs.map +1 -1
  123. package/lib/armature.module.d.ts +4 -4
  124. package/lib/base-components/sof-modal/sof-modal.component.d.ts +3 -0
  125. package/lib/theming/theme.module.d.ts +1 -1
  126. package/package.json +1 -1
  127. package/assets/styles/material-overrides.scss +0 -361
@@ -0,0 +1,85 @@
1
+ @use "@angular/material" as mat;
2
+ @use "../arm-theme" as theme;
3
+ @use "../variables" as vars;
4
+
5
+ .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
6
+ color: vars.$text-low-emphasis !important;
7
+ }
8
+
9
+ .mat-calendar-previous-button,
10
+ .mat-calendar-next-button,
11
+ .mat-calendar-period-button {
12
+ color: vars.$text-high-emphasis !important;
13
+ font-weight: 600 !important;
14
+ font-size: 14px !important;
15
+ letter-spacing: 0px !important;
16
+ }
17
+
18
+ .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
19
+ background-color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
20
+ color: vars.$surface-color-default-light;
21
+ }
22
+
23
+ body .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
24
+ color: vars.$surface-color-default-light;
25
+ }
26
+
27
+ .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
28
+ border: none;
29
+ }
30
+
31
+ body .mat-calendar-body-today.mat-calendar-body-selected {
32
+ box-shadow: none;
33
+ }
34
+
35
+ .mat-calendar-body-in-range::before {
36
+ background: mat.get-color-from-palette(theme.$arm-primary, 50) !important;
37
+ }
38
+
39
+ .mat-calendar-body-selected {
40
+ background-color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
41
+ border: none;
42
+ }
43
+
44
+ .mat-datepicker-content {
45
+ border-radius: 10px !important;
46
+ }
47
+
48
+ .mat-calendar-previous-button.mat-button-disabled,
49
+ .mat-calendar-next-button.mat-button-disabled {
50
+ color: vars.$text-low-emphasis !important;
51
+ }
52
+
53
+ .mat-calendar-table-header th {
54
+ font-size: 14px !important;
55
+ line-height: 30px;
56
+ color: vars.$text-medium-emphasis !important;
57
+ }
58
+
59
+ .mat-calendar-table-header-divider {
60
+ position: absolute !important;
61
+ left: 20px;
62
+ width: -webkit-fill-available;
63
+ right: 20px;
64
+ }
65
+
66
+ .sm-full-width-datepicker {
67
+ @media only screen and (max-width: vars.$mat-lt-md) {
68
+ width: 100%;
69
+
70
+ .mat-mdc-form-field-infix,
71
+ .mat-mdc-form-field-infix>input {
72
+ width: 100% !important;
73
+ }
74
+ }
75
+ }
76
+
77
+ .mat-datepicker-toggle-active {
78
+ .mdc-icon-button {
79
+ color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
80
+ }
81
+ }
82
+
83
+ .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
84
+ background-color: mat.get-color-from-palette(theme.$arm-primary, 100) !important;
85
+ }
@@ -0,0 +1,130 @@
1
+ @use "@angular/material" as mat;
2
+ @use "../arm-theme" as theme;
3
+ @use "../variables" as vars;
4
+
5
+ mat-checkbox.sof-checkbox {
6
+ .mdc-checkbox {
7
+ --mdc-checkbox-selected-checkmark-color: #{vars.$surface-color-default-light};
8
+ }
9
+
10
+ .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark {
11
+ --mdc-checkbox-disabled-selected-checkmark-color: #{vars.$text-low-emphasis};
12
+ }
13
+
14
+ .mdc-checkbox__native-control[disabled]:not(:indeterminate):not([data-indeterminate="true"])~.mdc-checkbox__background {
15
+ background-color: vars.$surface-color-level-two-light !important;
16
+ border: 2px solid vars.$text-low-emphasis;
17
+ }
18
+
19
+ .mdc-checkbox__background {
20
+ border-width: 3px !important;
21
+ }
22
+
23
+ &.mat-primary .mdc-checkbox {
24
+ --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-primary, 500)} !important;
25
+ --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-primary, 500)} !important;
26
+ --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-primary, 500)} !important;
27
+ --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-primary, 500)} !important;
28
+
29
+ .mdc-checkbox--selected~.mdc-checkbox__ripple {
30
+ background: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
31
+ }
32
+ }
33
+ &.mat-accent .mdc-checkbox {
34
+ --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-accent, 500)} !important;
35
+ --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-accent, 500)} !important;
36
+ --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-accent, 500)} !important;
37
+ --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-accent, 500)} !important;
38
+
39
+ .mdc-checkbox--selected~.mdc-checkbox__ripple {
40
+ background: mat.get-color-from-palette(theme.$arm-accent, 500) !important;
41
+ }
42
+ }
43
+
44
+ &.mat-warn .mdc-checkbox {
45
+ --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-warn, 500)} !important;
46
+ --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-warn, 500)} !important;
47
+ --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-warn, 500)} !important;
48
+ --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-warn, 500)} !important;
49
+
50
+ .mdc-checkbox--selected~.mdc-checkbox__ripple {
51
+ background: mat.get-color-from-palette(theme.$arm-warn, 500) !important;
52
+ }
53
+ }
54
+
55
+ &.mat-success .mdc-checkbox {
56
+ --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-success, 500)} !important;
57
+ --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-success, 500)} !important;
58
+ --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-success, 500)} !important;
59
+ --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-success, 500)} !important;
60
+
61
+ .mdc-checkbox--selected~.mdc-checkbox__ripple {
62
+ background: mat.get-color-from-palette(theme.$arm-success, 500) !important;
63
+ }
64
+ }
65
+
66
+ &.mat-info .mdc-checkbox {
67
+ --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-info, 500)} !important;
68
+ --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-info, 500)} !important;
69
+ --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-info, 500)} !important;
70
+ --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-info, 500)} !important;
71
+
72
+ .mdc-checkbox--selected~.mdc-checkbox__ripple {
73
+ background: mat.get-color-from-palette(theme.$arm-info, 500) !important;
74
+ }
75
+ }
76
+
77
+ &.mat-error .mdc-checkbox {
78
+ --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-error, 500)} !important;
79
+ --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-error, 500)} !important;
80
+ --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-error, 500)} !important;
81
+ --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-error, 500)} !important;
82
+
83
+ .mdc-checkbox--selected~.mdc-checkbox__ripple {
84
+ background: mat.get-color-from-palette(theme.$arm-error, 500) !important;
85
+ }
86
+ }
87
+
88
+ &.mat-neutral .mdc-checkbox {
89
+ --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-neutral, 500)} !important;
90
+ --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-neutral, 500)} !important;
91
+ --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-neutral, 500)} !important;
92
+ --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-neutral, 500)} !important;
93
+
94
+ .mdc-checkbox--selected~.mdc-checkbox__ripple {
95
+ background: mat.get-color-from-palette(theme.$arm-neutral, 500) !important;
96
+ }
97
+ }
98
+
99
+ .mdc-checkbox__background,
100
+ .mdc-checkbox {
101
+ width: 20px !important;
102
+ height: 20px !important;
103
+ }
104
+
105
+ .mdc-checkbox__native-control {
106
+ width: 24px !important;
107
+ height: 24px !important;
108
+ transform: translate(0.7em, 9.5px);
109
+ }
110
+
111
+ .mat-mdc-checkbox-touch-target {
112
+ transform: translate(-48%, -50%) !important;
113
+ }
114
+
115
+ .mdc-checkbox__ripple,
116
+ .mat-mdc-checkbox-ripple,
117
+ .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple {
118
+ width: 40px;
119
+ height: 40px;
120
+ transform: translate(1px, 1px) !important;
121
+ }
122
+ }
123
+
124
+ .word-wrap-checkboxes-override label {
125
+ white-space: initial !important;
126
+
127
+ @media only screen and (max-width: vars.$mat-lt-md) {
128
+ white-space: initial;
129
+ }
130
+ }
@@ -0,0 +1,254 @@
1
+ @use "@angular/material" as mat;
2
+ @use "../arm-theme" as theme;
3
+ @use "../variables" as vars;
4
+
5
+ // ⚠️ this file needs to be audited, some chip text not using proper contrast ...
6
+
7
+ .mat-mdc-chip.sof-chip {
8
+ font-family: "Poppins" !important;
9
+ font-size: 14px !important;
10
+ height: 32px !important;
11
+ font-style: normal !important;
12
+
13
+ i {
14
+ padding-right: 8px !important;
15
+ padding-left: 8px !important;
16
+ }
17
+ }
18
+
19
+ .mat-mdc-chip.mdc-evolution-chip--disabled.sof-chip {
20
+ background: vars.$surface-color-level-two-light !important;
21
+ color: vars.$text-medium-emphasis !important;
22
+
23
+ i {
24
+ color: vars.$text-high-emphasis !important;
25
+ }
26
+ }
27
+
28
+ .mat-mdc-chip.sof-chip {
29
+ &.mat-primary {
30
+ background-color: mat.get-color-from-palette(theme.$arm-primary, 50);
31
+
32
+ i {
33
+ color: mat.get-color-from-palette(theme.$arm-primary, 500);
34
+ }
35
+
36
+ &:hover {
37
+ background-color: mat.get-color-from-palette(theme.$arm-primary, 100);
38
+ }
39
+
40
+ &:focus {
41
+ background-color: mat.get-color-from-palette(theme.$arm-primary, 200);
42
+ }
43
+ }
44
+
45
+ &.mat-accent {
46
+ background-color: mat.get-color-from-palette(theme.$arm-accent, 50);
47
+
48
+ i {
49
+ color: mat.get-color-from-palette(theme.$arm-accent, 500);
50
+ }
51
+
52
+ &:hover {
53
+ background-color: mat.get-color-from-palette(theme.$arm-accent, 100);
54
+ }
55
+
56
+ &:focus {
57
+ background-color: mat.get-color-from-palette(theme.$arm-accent, 200);
58
+ }
59
+ }
60
+
61
+ &.mat-info {
62
+ background-color: mat.get-color-from-palette(theme.$arm-info, 50);
63
+
64
+ i {
65
+ color: mat.get-color-from-palette(theme.$arm-info, 500);
66
+ }
67
+
68
+ &:hover {
69
+ background-color: mat.get-color-from-palette(theme.$arm-info, 100);
70
+ }
71
+
72
+ &:focus {
73
+ background-color: mat.get-color-from-palette(theme.$arm-info, 200);
74
+ }
75
+ }
76
+
77
+ &.mat-error {
78
+ background-color: mat.get-color-from-palette(theme.$arm-error, 50);
79
+
80
+ i {
81
+ color: mat.get-color-from-palette(theme.$arm-error, 500);
82
+ }
83
+
84
+ &:hover {
85
+ background-color: mat.get-color-from-palette(theme.$arm-error, 100);
86
+ }
87
+
88
+ &:focus {
89
+ background-color: mat.get-color-from-palette(theme.$arm-error, 200);
90
+ }
91
+ }
92
+
93
+ &.mat-neutral {
94
+ background-color: mat.get-color-from-palette(theme.$arm-neutral, 50);
95
+
96
+ i {
97
+ color: mat.get-color-from-palette(theme.$arm-neutral, 500);
98
+ }
99
+
100
+ &:hover {
101
+ background-color: mat.get-color-from-palette(theme.$arm-neutral, 100);
102
+ }
103
+
104
+ &:focus {
105
+ background-color: mat.get-color-from-palette(theme.$arm-neutral, 200);
106
+ }
107
+ }
108
+
109
+ &.mat-success {
110
+ background-color: mat.get-color-from-palette(theme.$arm-success, 50);
111
+
112
+ i {
113
+ color: mat.get-color-from-palette(theme.$arm-success, 500);
114
+ }
115
+
116
+ &:hover {
117
+ background-color: mat.get-color-from-palette(theme.$arm-success, 100);
118
+ }
119
+
120
+ &:focus {
121
+ background-color: mat.get-color-from-palette(theme.$arm-success, 200);
122
+ }
123
+ }
124
+
125
+ &.mat-warn {
126
+ background-color: mat.get-color-from-palette(theme.$arm-warn, 50);
127
+
128
+ i {
129
+ color: mat.get-color-from-palette(theme.$arm-warn, 500);
130
+ }
131
+
132
+ &:hover {
133
+ background-color: mat.get-color-from-palette(theme.$arm-warn, 100);
134
+ }
135
+
136
+ &:focus {
137
+ background-color: mat.get-color-from-palette(theme.$arm-warn, 200);
138
+ }
139
+ }
140
+ }
141
+
142
+ .mat-mdc-chip-selected.sof-chip {
143
+ &.mat-primary {
144
+ background-color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
145
+
146
+ i {
147
+ color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
148
+ }
149
+
150
+ &:hover {
151
+ background-color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
152
+ }
153
+
154
+ &:focus {
155
+ background-color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
156
+ }
157
+ }
158
+
159
+ &.mat-neutral {
160
+ background-color: mat.get-color-from-palette(theme.$arm-neutral, 500) !important;
161
+
162
+ i {
163
+ color: mat.get-color-from-palette(theme.$arm-neutral, 500) !important;
164
+ }
165
+
166
+ &:hover {
167
+ background-color: mat.get-color-from-palette(theme.$arm-neutral, 500) !important;
168
+ }
169
+
170
+ &:focus {
171
+ background-color: mat.get-color-from-palette(theme.$arm-neutral, 500) !important;
172
+ }
173
+ }
174
+
175
+ &.mat-accent {
176
+ background-color: mat.get-color-from-palette(theme.$arm-accent, 500) !important;
177
+
178
+ i {
179
+ color: mat.get-color-from-palette(theme.$arm-accent, 500) !important;
180
+ }
181
+
182
+ &:hover {
183
+ background-color: mat.get-color-from-palette(theme.$arm-accent, 500) !important;
184
+ }
185
+
186
+ &:focus {
187
+ background-color: mat.get-color-from-palette(theme.$arm-accent, 500) !important;
188
+ }
189
+ }
190
+
191
+ &.mat-info {
192
+ background-color: mat.get-color-from-palette(theme.$arm-info, 500) !important;
193
+
194
+ i {
195
+ color: mat.get-color-from-palette(theme.$arm-info, 500) !important;
196
+ }
197
+
198
+ &:hover {
199
+ background-color: mat.get-color-from-palette(theme.$arm-info, 500) !important;
200
+ }
201
+
202
+ &:focus {
203
+ background-color: mat.get-color-from-palette(theme.$arm-info, 500) !important;
204
+ }
205
+ }
206
+
207
+ &.mat-error {
208
+ background-color: mat.get-color-from-palette(theme.$arm-error, 500) !important;
209
+
210
+ i {
211
+ color: mat.get-color-from-palette(theme.$arm-error, 500) !important;
212
+ }
213
+
214
+ &:hover {
215
+ background-color: mat.get-color-from-palette(theme.$arm-error, 500) !important;
216
+ }
217
+
218
+ &:focus {
219
+ background-color: mat.get-color-from-palette(theme.$arm-error, 500) !important;
220
+ }
221
+ }
222
+
223
+ &.mat-success {
224
+ background-color: mat.get-color-from-palette(theme.$arm-success, 500) !important;
225
+
226
+ i {
227
+ color: mat.get-color-from-palette(theme.$arm-success, 500) !important;
228
+ }
229
+
230
+ &:hover {
231
+ background-color: mat.get-color-from-palette(theme.$arm-success, 500) !important;
232
+ }
233
+
234
+ &:focus {
235
+ background-color: mat.get-color-from-palette(theme.$arm-success, 500) !important;
236
+ }
237
+ }
238
+
239
+ &.mat-warn {
240
+ background-color: mat.get-color-from-palette(theme.$arm-warn, 500) !important;
241
+
242
+ i {
243
+ color: mat.get-color-from-palette(theme.$arm-warn, 500) !important;
244
+ }
245
+
246
+ &:hover {
247
+ background-color: mat.get-color-from-palette(theme.$arm-warn, 500) !important;
248
+ }
249
+
250
+ &:focus {
251
+ background-color: mat.get-color-from-palette(theme.$arm-warn, 500) !important;
252
+ }
253
+ }
254
+ }
@@ -0,0 +1,137 @@
1
+ @use "@angular/material" as mat;
2
+ @use "../arm-theme" as theme;
3
+ @use "../variables" as vars;
4
+
5
+ mat-form-field.sof-form-field {
6
+ font-family: "Poppins" !important;
7
+
8
+ &.mat-form-field-invalid {
9
+ .mat-mdc-form-field-flex>div.mdc-notched-outline>* {
10
+ border-color: mat.get-color-from-palette(theme.$arm-error, 500) !important;
11
+ }
12
+
13
+ .mdc-notched-outline__notch {
14
+ border-left: none !important;
15
+ }
16
+
17
+ .mdc-notched-outline__leading,
18
+ .mdc-notched-outline__notch,
19
+ .mdc-notched-outline__trailing {
20
+ border-width: 2px !important;
21
+ }
22
+
23
+ .mat-mdc-floating-label {
24
+ color: mat.get-color-from-palette(theme.$arm-error, 500) !important;
25
+ }
26
+
27
+ &.mat-focused .mdc-floating-label {
28
+ color: mat.get-color-from-palette(theme.$arm-error, 500) !important;
29
+ }
30
+ }
31
+
32
+ &.mat-focused {
33
+ font-weight: 400 !important;
34
+
35
+ input,
36
+ span.mat-mdc-select-value-text {
37
+ font-weight: 400 !important;
38
+ }
39
+
40
+ .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,
41
+ .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,
42
+ .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {
43
+ border-width: 3px !important;
44
+ }
45
+ }
46
+
47
+ &.mat-form-field-disabled .mdc-text-field--outlined {
48
+ background-color: vars.$surface-color-level-two-light !important;
49
+ }
50
+
51
+ .mat-mdc-form-field-flex>div.mdc-notched-outline {
52
+ color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
53
+ }
54
+
55
+ .mat-mdc-text-field-wrapper {
56
+ padding: 0px !important;
57
+ }
58
+
59
+ .mat-mdc-form-field-flex {
60
+ padding: 0 16px 0 16px !important;
61
+ }
62
+
63
+ .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-icon-prefix {
64
+ top: 0em !important;
65
+ color: mat.get-color-from-palette(theme.$arm-neutral, 300) !important;
66
+ padding-right: 0.5em !important;
67
+ font-size: 1.5em !important;
68
+ }
69
+
70
+ .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-icon-suffix {
71
+ top: 0em !important;
72
+ font-size: 1.5em !important;
73
+ color: mat.get-color-from-palette(theme.$arm-neutral, 300) !important;
74
+
75
+ .error {
76
+ color: mat.get-color-from-palette(theme.$arm-error, 500) !important;
77
+ }
78
+ }
79
+
80
+ .mat-mdc-form-field-flex div.mdc-notched-outline__leading {
81
+ border-radius: 6px 0 0 6px !important;
82
+ min-width: 6px !important;
83
+ }
84
+
85
+ .mat-mdc-form-field-flex div.mdc-notched-outline__trailing {
86
+ border-radius: 0 6px 6px 0 !important;
87
+ }
88
+
89
+ mat-error {
90
+ font-family: "Poppins" !important;
91
+ font-style: normal !important;
92
+ font-weight: 500 !important;
93
+ font-size: 12px !important;
94
+ line-height: 18px !important;
95
+ color: mat.get-color-from-palette(theme.$arm-error, 500) !important;
96
+ }
97
+
98
+ mat-hint {
99
+ font-family: "Poppins" !important;
100
+ font-style: normal !important;
101
+ font-weight: 400 !important;
102
+ font-size: 12px !important;
103
+ line-height: 18px !important;
104
+ }
105
+
106
+ &.mat-focused .mdc-floating-label {
107
+ color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
108
+ }
109
+
110
+ .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,
111
+ .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,
112
+ .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {
113
+ border-color: mat.get-color-from-palette(theme.$arm-primary, 500);
114
+ }
115
+
116
+ .mat-mdc-text-field-wrapper {
117
+ --mat-mdc-form-field-label-offset-x: 0px;
118
+ }
119
+ }
120
+
121
+ // dropdown specific style overrides
122
+
123
+ .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text {
124
+ color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
125
+ }
126
+
127
+ .mat-mdc-option .mat-pseudo-checkbox-minimal {
128
+ display: none;
129
+ }
130
+
131
+ .mat-mdc-option .mat-pseudo-checkbox-checked {
132
+ background-color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
133
+ }
134
+
135
+ .mat-mdc-form-field.mat-focused .mat-mdc-select-arrow {
136
+ color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
137
+ }
@@ -0,0 +1,96 @@
1
+ @use "@angular/material" as mat;
2
+ @use "../arm-theme" as theme;
3
+
4
+ mat-radio-button.sof-radio-button.mat-mdc-radio-checked {
5
+ &.mat-primary,
6
+ &[color="primary"] {
7
+ --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-primary, 500)};
8
+ --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-primary, 500)};
9
+ --mdc-radio-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-primary, 500)};
10
+ --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-primary, 500)};
11
+ --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette(theme.$arm-primary, 500)};
12
+ }
13
+
14
+ &.mat-accent,
15
+ &[color="accent"] {
16
+ --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-accent, 500)};
17
+ --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-accent, 500)};
18
+ --mdc-radio-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-accent, 500)};
19
+ --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-accent, 500)};
20
+ --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette(theme.$arm-accent, 500)};
21
+ }
22
+
23
+ &.mat-warn,
24
+ &[color="warn"] {
25
+ --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-warn, 500)};
26
+ --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-warn, 500)};
27
+ --mdc-radio-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-warn, 500)};
28
+ --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-warn, 500)};
29
+ --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette(theme.$arm-warn, 500)};
30
+ }
31
+
32
+ &.mat-success,
33
+ &[color="success"] {
34
+ --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-success, 500)};
35
+ --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-success, 500)};
36
+ --mdc-radio-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-success, 500)};
37
+ --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-success, 500)};
38
+ --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette(theme.$arm-success, 500)};
39
+ }
40
+
41
+ &.mat-info,
42
+ &[color="info"] {
43
+ --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-info, 500)};
44
+ --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-info, 500)};
45
+ --mdc-radio-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-info, 500)};
46
+ --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-info, 500)};
47
+ --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette(theme.$arm-info, 500)};
48
+ }
49
+
50
+ &.mat-error,
51
+ &[color="error"] {
52
+ --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-error, 500)};
53
+ --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-error, 500)};
54
+ --mdc-radio-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-error, 500)};
55
+ --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-error, 500)};
56
+ --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette(theme.$arm-error, 500)};
57
+ }
58
+
59
+ &.mat-neutral,
60
+ &[color="neutral"] {
61
+ --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette(theme.$arm-neutral, 500)};
62
+ --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette(theme.$arm-neutral, 500)};
63
+ --mdc-radio-selected-icon-color: #{mat.get-color-from-palette(theme.$arm-neutral, 500)};
64
+ --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette(theme.$arm-neutral, 500)};
65
+ --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette(theme.$arm-neutral, 500)};
66
+ }
67
+ }
68
+
69
+ mat-radio-button.sof-radio-button {
70
+ .mdc-radio__background {
71
+ border-width: 3px !important;
72
+ }
73
+
74
+ .mdc-radio__background,
75
+ .mdc-radio {
76
+ width: 20px !important;
77
+ height: 20px !important;
78
+ }
79
+
80
+ .mdc-radio__native-control {
81
+ width: 24px !important;
82
+ height: 24px !important;
83
+ transform: translate(0.7em, 9.5px);
84
+ }
85
+
86
+ .mat-mdc-radio-touch-target {
87
+ transform: translate(-48%, -50%) !important;
88
+ }
89
+
90
+ .mat-radio-ripple,
91
+ .mdc-radio:hover .mdc-radio__native-control:not([disabled])~.mdc-radio-ripple {
92
+ width: 40px;
93
+ height: 40px;
94
+ transform: translate(1px, 1px) !important;
95
+ }
96
+ }