@softheon/armature 17.17.1 → 17.19.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 (38) hide show
  1. package/README.md +6 -67
  2. package/ag-grid-components/package.json +3 -0
  3. package/assets/styles/{arm-theme.scss → _arm-theme.scss} +1 -0
  4. package/assets/styles/_responsive.scss +85 -0
  5. package/assets/styles/_typography.scss +180 -0
  6. package/assets/styles/_utility.scss +118 -29
  7. package/assets/styles/_variables.scss +2 -1
  8. package/assets/styles/deprecated/_button-deprecated.scss +1123 -0
  9. package/assets/styles/deprecated/_dialog-deprecated.scss +33 -0
  10. package/assets/styles/deprecated/_material-override-deprecated.scss +41 -0
  11. package/assets/styles/deprecated/_table-deprecated.scss +108 -0
  12. package/assets/styles/deprecated/_tooltip-deprecated.scss +93 -0
  13. package/assets/styles/material-override/_button-toggle-group.scss +122 -0
  14. package/assets/styles/material-override/_button.scss +266 -0
  15. package/assets/styles/material-override/_calendar.scss +85 -0
  16. package/assets/styles/material-override/_checkbox.scss +130 -0
  17. package/assets/styles/material-override/_chip.scss +254 -0
  18. package/assets/styles/material-override/_form-field.scss +137 -0
  19. package/assets/styles/material-override/_radio-button.scss +96 -0
  20. package/assets/styles/material-override/_slider.scss +102 -0
  21. package/assets/styles/material-override/_switch.scss +204 -0
  22. package/assets/styles/material-override/_tooltip.scss +2 -0
  23. package/assets/styles/sof-styles.scss +59 -3483
  24. package/esm2022/lib/armature.module.mjs +10 -10
  25. package/esm2022/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.mjs +2 -2
  26. package/esm2022/lib/base-components/sof-modal/sof-modal.component.mjs +6 -3
  27. package/esm2022/lib/base-components/sof-radio-card/sof-radio-card.component.mjs +2 -2
  28. package/esm2022/lib/base-components/sof-utility-button/sof-utility-button.component.mjs +3 -3
  29. package/esm2022/lib/core/services/session.service.mjs +1 -3
  30. package/esm2022/lib/navigation/components/navigation/navigation.component.mjs +2 -2
  31. package/esm2022/lib/theming/theme.module.mjs +2 -2
  32. package/fesm2022/softheon-armature.mjs +23 -22
  33. package/fesm2022/softheon-armature.mjs.map +1 -1
  34. package/lib/armature.module.d.ts +4 -4
  35. package/lib/base-components/sof-modal/sof-modal.component.d.ts +3 -0
  36. package/lib/theming/theme.module.d.ts +1 -1
  37. package/package.json +3 -2
  38. package/assets/styles/material-overrides.scss +0 -361
@@ -7,9 +7,9 @@ import * as i2 from "./forms/forms.module";
7
7
  import * as i3 from "./navigation/navigation.module";
8
8
  import * as i4 from "./header/header.module";
9
9
  import * as i5 from "./footer/footer.module";
10
- import * as i6 from "./theming/theme.module";
11
- import * as i7 from "./alert-banner/alert-banner.module";
12
- import * as i8 from "./base-components/base-component.module";
10
+ import * as i6 from "./base-components/base-component.module";
11
+ import * as i7 from "./theming/theme.module";
12
+ import * as i8 from "./alert-banner/alert-banner.module";
13
13
  import * as i9 from "@angular/router";
14
14
  import * as i10 from "@angular/common";
15
15
  import * as i11 from "@ngbracket/ngx-layout";
@@ -41,6 +41,6 @@ export declare class ArmatureModule {
41
41
  */
42
42
  static forRoot(configServiceClass?: any, ignoreCustomAppInitializer?: boolean): ModuleWithProviders<ArmatureModule>;
43
43
  static ɵfac: i0.ɵɵFactoryDeclaration<ArmatureModule, never>;
44
- static ɵmod: i0.ɵɵNgModuleDeclaration<ArmatureModule, [typeof i1.AppTemplateComponent], [typeof i2.FormsModule, typeof i3.NavigationModule, typeof i4.ArmatureHeaderModule, typeof i5.ArmatureFooterModule, typeof i6.ThemeModule, typeof i7.AlertBannerModule, typeof i8.BaseComponentModule, typeof i9.RouterModule, typeof i10.CommonModule, typeof i11.FlexLayoutModule], [typeof i2.FormsModule, typeof i3.NavigationModule, typeof i4.ArmatureHeaderModule, typeof i5.ArmatureFooterModule, typeof i6.ThemeModule, typeof i7.AlertBannerModule, typeof i8.BaseComponentModule, typeof i1.AppTemplateComponent]>;
44
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArmatureModule, [typeof i1.AppTemplateComponent], [typeof i2.FormsModule, typeof i3.NavigationModule, typeof i4.ArmatureHeaderModule, typeof i5.ArmatureFooterModule, typeof i6.BaseComponentModule, typeof i7.ThemeModule, typeof i8.AlertBannerModule, typeof i9.RouterModule, typeof i10.CommonModule, typeof i11.FlexLayoutModule], [typeof i2.FormsModule, typeof i3.NavigationModule, typeof i4.ArmatureHeaderModule, typeof i5.ArmatureFooterModule, typeof i6.BaseComponentModule, typeof i7.ThemeModule, typeof i8.AlertBannerModule, typeof i1.AppTemplateComponent]>;
45
45
  static ɵinj: i0.ɵɵInjectorDeclaration<ArmatureModule>;
46
46
  }
@@ -1,6 +1,9 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * ⚠️ this component needs to be audited ...
6
+ */
4
7
  export declare class SofModalComponent implements OnInit {
5
8
  data: ModalData;
6
9
  private dialogRef;
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./directives/css-override.directive";
3
3
  import * as i2 from "@angular/common";
4
- /** Armature saml module */
4
+ /** Armature theme module */
5
5
  export declare class ThemeModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeModule, never>;
7
7
  static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeModule, [typeof i1.CssOverrideDirective], [typeof i2.CommonModule], [typeof i1.CssOverrideDirective]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softheon/armature",
3
- "version": "17.17.1",
3
+ "version": "17.19.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.5.0"
6
6
  },
@@ -23,7 +23,8 @@
23
23
  "rxjs": "~7.8.0",
24
24
  "moment": "^2.29.4",
25
25
  "ag-grid-community": "^31.2.1",
26
- "ag-grid-angular": "^31.2.1"
26
+ "ag-grid-angular": "^31.2.1",
27
+ "ngx-tippy-wrapper": "^6.3.0"
27
28
  },
28
29
  "module": "fesm2022/softheon-armature.mjs",
29
30
  "typings": "index.d.ts",
@@ -1,361 +0,0 @@
1
- @use '@angular/material' as mat;
2
- @import "./arm-theme.scss";
3
-
4
- // TODO!!!
5
- // DEPRECATE IN FAVOR OF 'sof-styles.scss' if classes in here are widely used.
6
- // Please implement in the 'sof-styles.scss' style sheet. That style sheet is more in line with the current UX design guide
7
- // Will keep this file until ready to completely remove it
8
-
9
- @include mat.core();
10
- $main-theme-primary: mat.define-palette($arm-primary);
11
- $main-theme-accent: mat.define-palette($arm-accent);
12
- $main-theme-warn: mat.define-palette($arm-warn);
13
- $main-theme-info: mat.define-palette($arm-info);
14
- $main-theme-success: mat.define-palette($arm-success);
15
- $main-theme-error: mat.define-palette($arm-error);
16
- $main-dark-gray: #646464;
17
- $main-dark-disabled: #4f4f4f;
18
- $main-theme: mat.define-light-theme((
19
- color: (
20
- primary: $main-theme-primary,
21
- accent: $main-theme-accent,
22
- warn: $main-theme-warn
23
- ),
24
- typography: mat.define-typography-config(),
25
- density: 0,
26
- ));
27
- $main-dark: mat.define-dark-theme((
28
- color: (
29
- primary: $main-theme-primary,
30
- accent: $main-theme-accent,
31
- warn: $main-theme-warn
32
- ),
33
- typography: mat.define-typography-config(),
34
- density: 0,
35
- ));
36
-
37
- body {
38
- letter-spacing: 0px;
39
- font-family: "Poppins", sans-serif !important;
40
- font-size: 14px;
41
- @include mat.core-theme($main-theme);
42
- margin: 0 !important;
43
- }
44
-
45
- .mat-toolbar {
46
- font-family: "Poppins", sans-serif !important;
47
- font-size: 1em !important;
48
- }
49
-
50
- .mat-mdc-button {
51
- font-family: "Poppins", sans-serif !important;
52
- font-size: 1em !important;
53
- font-weight: 500;
54
- border-radius: 6px;
55
- height: 40px;
56
- }
57
-
58
- .mat-mdc-unelevated-button {
59
- font-family: "Poppins", sans-serif;
60
- font-size: 1em !important;
61
- font-weight: 500;
62
- border-radius: 6px !important;
63
- height: 40px !important;
64
-
65
- &.mat-primary {
66
- background-color: mat.get-color-from-palette($main-theme-primary, default);
67
- }
68
-
69
- &.mat-accent {
70
- background-color: mat.get-color-from-palette($main-theme-accent, default);
71
- }
72
-
73
- &.mat-warn {
74
- background-color: mat.get-color-from-palette($main-theme-warn, default);
75
- }
76
- }
77
-
78
- .mat-mdc-unelevated-button:hover {
79
- &.mat-primary {
80
- background-color: mat.get-color-from-palette($main-theme-primary, 700);
81
- }
82
-
83
- &.mat-accent {
84
- background-color: mat.get-color-from-palette($main-theme-accent, 700);
85
- }
86
-
87
- &.mat-warn {
88
- background-color: mat.get-color-from-palette($main-theme-warn, 700);
89
- }
90
- }
91
-
92
- .mat-mdc-outlined-button {
93
- font-family: "Poppins", sans-serif;
94
- font-size: 1em !important;
95
- font-weight: 500;
96
- border-radius: 6px !important;
97
- height: 40px !important;
98
-
99
- &.mat-primary {
100
- border: 2px solid mat.get-color-from-palette($main-theme-primary, default) !important;
101
- }
102
-
103
- &.mat-accent {
104
- border: 2px solid mat.get-color-from-palette($main-theme-accent, default) !important;
105
- }
106
-
107
- &.mat-warn {
108
- border: 2px solid mat.get-color-from-palette($main-theme-warn, default) !important;
109
- }
110
- }
111
-
112
- .mat-mdc-outlined-button:hover {
113
- color: white !important;
114
-
115
- &.mat-primary {
116
- background-color: mat.get-color-from-palette($main-theme-primary, default);
117
- }
118
-
119
- &.mat-accent {
120
- background-color: mat.get-color-from-palette($main-theme-accent, default);
121
- }
122
-
123
- &.mat-warn {
124
- background-color: mat.get-color-from-palette($main-theme-warn, default);
125
- }
126
- }
127
-
128
- mat-form-field {
129
- color: #333333 !important;
130
- font-size: 1.143em !important;
131
- font-weight: 400 !important;
132
- line-height: 24px !important;
133
- }
134
-
135
- mat-option .mdc-list-item__primary-text {
136
- font-size: medium;
137
- }
138
-
139
- .mat-mdc-select,
140
- .mat-mdc-list-item {
141
- font-family: "Poppins", sans-serif !important;
142
- }
143
-
144
- .mdc-list-item__content {
145
- padding: 0px !important;
146
- }
147
-
148
- .mat-mdc-list-item button {
149
- padding-left: 0px !important;
150
- padding-right: 0px !important;
151
- }
152
-
153
- .mat-mdc-raised-button.mat-primary.disabled,
154
- .mat-mdc-raised-button.mat-primary[disabled] {
155
- background-color: #c6c6c7 !important;
156
- }
157
-
158
- .short-btn,
159
- [short-btn] {
160
- max-height: 40px;
161
- text-align: center;
162
- vertical-align: middle;
163
- }
164
-
165
- ::ng-deep .mat-mdc-card {
166
- font-size: 1em !important;
167
- font-family: "Poppins", sans-serif !important;
168
- box-sizing: border-box;
169
- }
170
-
171
- .mat-mdc-card-content {
172
- font-size: 1em !important;
173
- font-family: "Poppins", sans-serif !important;
174
- box-sizing: border-box;
175
- }
176
-
177
- ::ng-deep .mat-expansion-panel-header .mat-mdc-card-content {
178
- font-family: "Poppins", sans-serif !important;
179
- font-size: 1em !important;
180
- }
181
-
182
- .mat-mdc-card-header-text {
183
- margin: 0 0 !important;
184
- }
185
-
186
- .mat-mdc-tooltip {
187
- font-size: 0.75em !important;
188
- line-height: 17px !important;
189
- }
190
-
191
- ::ng-deep .mat-check {
192
- font-family: "Poppins", sans-serif;
193
- color: #333333;
194
- font-size: 1em;
195
- }
196
-
197
- .mat-mdc-checkbox-checked.mat-accent .mdc-checkbox__background {
198
- background-color: mat.get-color-from-palette($main-theme-primary, default) !important;
199
- }
200
-
201
- .mat-mdc-checkbox-checked .mat-ripple-element {
202
- background: rgba(82, 133, 223, 0.3) !important;
203
- }
204
-
205
- .mdc-checkbox {
206
- height: 18px !important;
207
- width: 18px !important;
208
- }
209
-
210
- .mdc-checkbox__background {
211
- border-color: #333333;
212
- }
213
- /* Material table style override */
214
- .mat-mdc-table {
215
- font-size: 1em !important;
216
- font-family: "Poppins", sans-serif !important;
217
- }
218
-
219
- .mat-mdc-cell {
220
- font-size: 1em !important;
221
- }
222
-
223
- .mat-mdc-header-cell {
224
- font-size: 16px !important;
225
- font-weight: 700;
226
- }
227
-
228
- .mat-mdc-header-cell,
229
- .mat-mdc-cell {
230
- padding-left: 8px;
231
- padding-right: 8px;
232
- }
233
-
234
- .mat-mdc-header-row {
235
- height: 56px;
236
- }
237
-
238
- .mat-mdc-row {
239
- height: 52px;
240
- }
241
-
242
- .with-action .mat-mdc-row {
243
- height: 72px;
244
- }
245
-
246
- .mat-mdc-cell:first-of-type,
247
- .mat-mdc-header-cell:first-of-type,
248
- td.mat-mdc-cell:first-of-type,
249
- td.mat-mdc-header-cell:first-of-type {
250
- padding-left: 16px !important;
251
- }
252
-
253
- .mat-mdc-cell:last-of-type,
254
- .mat-mdc-header-cell:last-of-type,
255
- td.mat-mdc-cell:last-of-type,
256
- td.mat-mdc-header-cell:last-of-type {
257
- padding-right: 16px !important;
258
- }
259
-
260
- .mat-mdc-tab-link {
261
- font-size: 1.286em !important;
262
- }
263
-
264
- .mat-mdc-dialog-container .title-container {
265
- color: white;
266
- height: 64px !important;
267
- padding-top: 0 !important;
268
- background-color: mat.get-color-from-palette($main-theme-primary, 900) !important;
269
- }
270
-
271
- .mat-mdc-floating-label {
272
- font-size: 1em !important;
273
- }
274
-
275
- .mat-focused .mat-mdc-floating-label {
276
- /*change color of label*/
277
- color: mat.get-color-from-palette($main-theme-accent, 900) !important;
278
- }
279
-
280
- mat-form-field .mdc-line-ripple {
281
- /*change color of underline when focused*/
282
- background-color: mat.get-color-from-palette($main-theme-accent, 900) !important;
283
- }
284
-
285
- .mat-mdc-select:focus {
286
- .mat-mdc-select-arrow {
287
- color: mat.get-color-from-palette($main-theme-accent, 900) !important;
288
- }
289
- }
290
-
291
- .mat-mdc-select:active {
292
- .mat-mdc-select-arrow {
293
- color: mat.get-color-from-palette($main-theme-accent, 900) !important;
294
- }
295
- }
296
-
297
- .mat-mdc-select-arrow:active {
298
- color: mat.get-color-from-palette($main-theme-accent, 900) !important;
299
- }
300
-
301
- .mat-mdc-select-arrow:focus {
302
- color: mat.get-color-from-palette($main-theme-accent, 900) !important;
303
- }
304
-
305
- .mat-mdc-select-trigger {
306
- color: mat.get-color-from-palette($main-theme-accent, 900) !important;
307
- }
308
-
309
- .mat-mdc-paginator {
310
- background: transparent !important;
311
- }
312
-
313
- .mat-mdc-tab-header-pagination-chevron {
314
- border-color: mat.get-color-from-palette($main-theme-primary, 700);
315
- }
316
-
317
- .mat-stepper-horizontal {
318
- background-color: transparent !important;
319
- }
320
-
321
- .mat-step-header.cdk-keyboard-focused,
322
- .mat-step-header.cdk-program-focused,
323
- .mat-step-header:hover {
324
- background-color: rgba(0, 0, 0, 0.04);
325
- }
326
-
327
- @media (hover: none) {
328
- .mat-step-header:hover {
329
- background: none;
330
- }
331
- }
332
-
333
- .mat-step-header .mat-step-label,
334
- .mat-step-header .mat-step-optional {
335
- color: rgba(0, 0, 0, 0.54);
336
- }
337
-
338
- .mat-step-header .mat-step-icon {
339
- background-color: rgba(0, 0, 0, 0.54);
340
- color: white;
341
- }
342
-
343
- .mat-step-header .mat-step-icon-selected,
344
- .mat-step-header .mat-step-icon-state-done,
345
- .mat-step-header .mat-step-icon-state-edit {
346
- background-color: mat.get-color-from-palette($main-theme-primary, default);
347
- color: white;
348
- }
349
-
350
- .mat-step-header .mat-step-icon-state-error {
351
- background-color: transparent;
352
- color: mat.get-color-from-palette($main-theme-warn, default);
353
- }
354
-
355
- .mat-step-header .mat-step-label.mat-step-label-active {
356
- color: rgba(0, 0, 0, 0.87);
357
- }
358
-
359
- .mat-step-header .mat-step-label.mat-step-label-error {
360
- color: mat.get-color-from-palette($main-theme-warn, default);
361
- }