@softheon/armature 17.31.2 → 17.31.3

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 (39) hide show
  1. package/assets/styles/_b2b-variables.scss +78 -0
  2. package/assets/styles/_b2c-variables.scss +43 -0
  3. package/assets/styles/_typography.scss +11 -11
  4. package/assets/styles/_variables.scss +2 -1
  5. package/assets/styles/b2b/_b2b-buttons.scss +16 -0
  6. package/assets/styles/b2b/_b2b-inputs-override.scss +174 -0
  7. package/assets/styles/b2b/_b2b-override.scss +23 -0
  8. package/assets/styles/b2b/_b2b-spinner.scss +29 -0
  9. package/assets/styles/b2b/_b2b-tabs.scss +116 -0
  10. package/assets/styles/material-override/_button-toggle-group.scss +1 -1
  11. package/assets/styles/material-override/_button.scss +12 -12
  12. package/assets/styles/material-override/_form-field.scss +8 -8
  13. package/assets/styles/material-override/_menu.scss +1 -1
  14. package/assets/styles/material-override/_switch.scss +2 -2
  15. package/assets/styles/material-override/_tooltip.scss +7 -7
  16. package/assets/styles/sof-styles-b2b.scss +78 -0
  17. package/assets/styles/sof-styles.scss +11 -7
  18. package/esm2022/ag-grid-components/src/sof-table/sof-table.component.mjs +2 -2
  19. package/esm2022/lib/alert-banner/components/alert-banner/alert-banner.component.mjs +2 -2
  20. package/esm2022/lib/base-components/sof-alert/sof-alert.component.mjs +3 -3
  21. package/esm2022/lib/base-components/sof-badge/sof-badge.component.mjs +2 -2
  22. package/esm2022/lib/base-components/sof-banner/sof-banner.component.mjs +2 -2
  23. package/esm2022/lib/base-components/sof-handle/sof-handle.component.mjs +2 -2
  24. package/esm2022/lib/base-components/sof-input-stepper/sof-input-stepper.component.mjs +2 -2
  25. package/esm2022/lib/base-components/sof-modal/sof-modal.component.mjs +2 -2
  26. package/esm2022/lib/base-components/sof-progress-bar/sof-progress-bar.component.mjs +2 -2
  27. package/esm2022/lib/base-components/sof-simple-alert/sof-simple-alert.component.mjs +2 -2
  28. package/esm2022/lib/base-components/sof-utility-button/sof-utility-button.component.mjs +2 -2
  29. package/esm2022/lib/header/components/sof-header/sof-header.component.mjs +5 -3
  30. package/esm2022/lib/navigation/components/navigation/navigation.component.mjs +2 -2
  31. package/esm2022/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-hierarchy/sof-breadcrumbs-hierarchy.component.mjs +3 -3
  32. package/esm2022/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-history/sof-breadcrumbs-history.component.mjs +3 -3
  33. package/esm2022/lib/navigation/components/sof-sub-navigation/sof-sub-navigation.component.mjs +2 -2
  34. package/esm2022/lib/navigation/components/sof-tabs-navigation/sof-tabs.component.mjs +2 -2
  35. package/fesm2022/softheon-armature-ag-grid-components.mjs +2 -2
  36. package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
  37. package/fesm2022/softheon-armature.mjs +34 -32
  38. package/fesm2022/softheon-armature.mjs.map +1 -1
  39. package/package.json +1 -1
@@ -3,7 +3,7 @@
3
3
  @use "../variables" as vars;
4
4
 
5
5
  mat-form-field.sof-form-field {
6
- font-family: "Poppins" !important;
6
+ font-family: var(--sftn-font-family, sans-serif) !important;
7
7
 
8
8
  &.mat-form-field-invalid {
9
9
  .mat-mdc-form-field-flex>div.mdc-notched-outline>* {
@@ -42,7 +42,7 @@ mat-form-field.sof-form-field {
42
42
  .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,
43
43
  .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,
44
44
  .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {
45
- border-width: 3px !important;
45
+ border-width: var(--sftn-input-border-width) !important;
46
46
  }
47
47
  }
48
48
 
@@ -66,12 +66,12 @@ mat-form-field.sof-form-field {
66
66
  top: 0em !important;
67
67
  color: mat.get-color-from-palette(theme.$arm-neutral, 300) !important;
68
68
  padding-right: 0.5em !important;
69
- font-size: 1.5em !important;
69
+ font-size: var(--sftn-input-icon-font-size) !important;
70
70
  }
71
71
 
72
72
  .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-icon-suffix {
73
73
  top: 0em !important;
74
- font-size: 1.5em !important;
74
+ font-size: var(--sftn-input-icon-font-size) !important;
75
75
  color: mat.get-color-from-palette(theme.$arm-neutral, 300) !important;
76
76
 
77
77
  .error {
@@ -89,7 +89,7 @@ mat-form-field.sof-form-field {
89
89
  }
90
90
 
91
91
  mat-error {
92
- font-family: "Poppins" !important;
92
+ font-family: var(--sftn-font-family, sans-serif) !important;
93
93
  font-style: normal !important;
94
94
  font-weight: 500 !important;
95
95
  font-size: 12px !important;
@@ -98,7 +98,7 @@ mat-form-field.sof-form-field {
98
98
  }
99
99
 
100
100
  mat-hint {
101
- font-family: "Poppins" !important;
101
+ font-family: var(--sftn-font-family, sans-serif) !important;
102
102
  font-style: normal !important;
103
103
  font-weight: 400 !important;
104
104
  font-size: 12px !important;
@@ -125,7 +125,7 @@ mat-form-field.sof-form-field {
125
125
  }
126
126
  }
127
127
 
128
- // dropdown specific style overrides
128
+ // dropdown specific style overrides
129
129
 
130
130
  .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text {
131
131
  color: mat.get-color-from-palette(theme.$arm-primary, 500) !important;
@@ -145,4 +145,4 @@ mat-form-field.sof-form-field {
145
145
 
146
146
  .mdc-form-field {
147
147
  letter-spacing: 0 !important;
148
- }
148
+ }
@@ -15,7 +15,7 @@
15
15
  ::ng-deep .mat-mdc-menu-item-text {
16
16
  font-weight: 500 !important;
17
17
  color: vars.$text-high-emphasis !important;
18
- font-family: Poppins !important;
18
+ font-family: var(--sftn-font-family, sans-serif) !important;
19
19
  display: flex !important;
20
20
  align-items: center !important;
21
21
  letter-spacing: 0px !important;
@@ -32,7 +32,7 @@ mat-slide-toggle {
32
32
  }
33
33
 
34
34
  label {
35
- font-family: "Poppins" !important;
35
+ font-family: var(--sftn-font-family, sans-serif) !important;
36
36
  font-style: normal !important;
37
37
  font-weight: 400 !important;
38
38
  font-size: 14px !important;
@@ -45,7 +45,7 @@ mat-slide-toggle {
45
45
 
46
46
  &.sof-slide-toggle[size="large"] {
47
47
  label {
48
- font-family: "Poppins" !important;
48
+ font-family: var(--sftn-font-family, sans-serif) !important;
49
49
  font-style: normal !important;
50
50
  font-weight: 400 !important;
51
51
  font-size: 16px !important;
@@ -2,9 +2,9 @@
2
2
  @use "../arm-theme" as theme;
3
3
  @use "../variables" as vars;
4
4
 
5
- // Angular Material styles
5
+ // Angular Material styles
6
6
 
7
- // Base tooltip styles
7
+ // Base tooltip styles
8
8
  .mat-mdc-tooltip-panel {
9
9
  .mat-mdc-tooltip,
10
10
  .mdc-tooltip__surface {
@@ -13,7 +13,7 @@
13
13
  font-size: 14px !important;
14
14
  font-style: normal !important;
15
15
  font-weight: 100 !important;
16
- font-family: Poppins !important;
16
+ font-family: var(--sftn-font-family, sans-serif) !important;
17
17
  line-height: normal !important;
18
18
  text-align: center !important;
19
19
  border-radius: 4px !important;
@@ -25,7 +25,7 @@
25
25
  }
26
26
  }
27
27
 
28
- // Position based styles
28
+ // Position based styles
29
29
  .mat-mdc-tooltip-panel {
30
30
  .mat-mdc-tooltip {
31
31
  &::after {
@@ -83,7 +83,7 @@
83
83
  }
84
84
  }
85
85
 
86
- // NGX_TIPPY styles
86
+ // NGX_TIPPY styles
87
87
 
88
88
  .tippy-box {
89
89
  border-radius: 8px !important;
@@ -113,7 +113,7 @@
113
113
  gap: 16px !important;
114
114
 
115
115
  &__content {
116
- font-family: "Poppins", sans-serif !important;
116
+ font-family: var(--sftn-font-family, sans-serif) !important;
117
117
  line-height: normal !important;
118
118
  margin: 0 !important;
119
119
  padding: 0 !important;
@@ -173,7 +173,7 @@
173
173
  }
174
174
  }
175
175
 
176
- // Definition trigger button
176
+ // Definition trigger button
177
177
 
178
178
  .definition-trigger {
179
179
  cursor: pointer !important;
@@ -0,0 +1,78 @@
1
+ /**
2
+ 'sof-styles-b2b.scss' is Armature's main B2B style file,
3
+ which serves as a centralized styling solution for applications that consume this library.
4
+
5
+ This file acts as an index,
6
+ Please do not include any actual css code in this file.
7
+
8
+ Note that any file with variables declared for export must be '@forward',
9
+ this will allow those variables to be accessed directly through 'sof-styles-b2b.scss' as well as by using that file directly.
10
+ */
11
+
12
+ @use "@angular/material" as mat;
13
+
14
+ /** Defines the main theme / color palettes for your app. */
15
+ @use "./arm-theme";
16
+ @forward "./arm-theme";
17
+
18
+ /** Responsive design rules, ensuring styles adapt to different screen sizes. */
19
+ @use "./responsive";
20
+
21
+ /** Sets custom fonts, sizes, and styles to create a unified look across the library. */
22
+ @use "./typography";
23
+
24
+ /** Utility classes for spacing, alignment, and other common styles. */
25
+ @use "./utility";
26
+
27
+ /** SCSS variables (like colors, breakpoints, etc.) used throughout the library for easy customization and consistency. */
28
+ @use "./variables" as vars;
29
+ @forward "./variables";
30
+
31
+ /** B2B specific variables */
32
+ @use "./b2b-variables";
33
+ @forward "./b2b-variables";
34
+
35
+ /**
36
+ The 'material-override' folder contains overrides for specific Angular Material components.
37
+ */
38
+ @use "./material-override/button";
39
+ @use "./material-override/button-toggle-group";
40
+ @use "./material-override/calendar";
41
+ @use "./material-override/checkbox";
42
+ @use "./material-override/expansion-panel";
43
+ @use "./material-override/form-field";
44
+ @use "./material-override/menu";
45
+ @use "./material-override/radio-button";
46
+ @use "./material-override/slider";
47
+ @use "./material-override/switch";
48
+ @use "./material-override/tooltip";
49
+
50
+ /**
51
+ The 'deprecated' folder contains styles that are deprecated but still available for backward compatibility.
52
+ Comments indicate the preferred alternative, helping users transition away from deprecated classes in favor of newer components or styles.
53
+ */
54
+ @use "./deprecated/button-deprecated"; // replace with "/material-override/button"
55
+ @use "./deprecated/chip-deprecated"; // replace with "sof-chip" component
56
+ @use "./deprecated/dialog-deprecated"; // replace with "sof-modal" component
57
+ @use "./deprecated/material-override-deprecated"; // currently no replacement
58
+ @use "./deprecated/table-deprecated"; // replace with ag-grid table component
59
+
60
+ /** The B2B Overrides */
61
+ @use "./b2b/b2b-inputs-override";
62
+ @use "./b2b/b2b-spinner";
63
+ @use "./b2b/b2b-tabs";
64
+ @use "./b2b/b2b-buttons";
65
+ @use "./b2b/b2b-override";
66
+
67
+ /**
68
+ Angular Material core mix-in,
69
+ Since it's included in this main file, applications using this library do not need to include it separately.
70
+ */
71
+ @include mat.core();
72
+
73
+ @include mat.all-component-densities(-2);
74
+
75
+ /**
76
+ This file acts as an index,
77
+ Please do not include any actual css code in this file.
78
+ */
@@ -1,5 +1,5 @@
1
- /**
2
- 'sof-styles.scss' is Armature's main style file,
1
+ /**
2
+ 'sof-styles.scss' is Armature's main B2C style file,
3
3
  which serves as a centralized styling solution for applications that consume this library.
4
4
 
5
5
  This file acts as an index,
@@ -28,7 +28,11 @@
28
28
  @use "./variables";
29
29
  @forward "./variables";
30
30
 
31
- /**
31
+ /** B2C specific variables */
32
+ @use "./b2c-variables";
33
+ @forward "./b2c-variables";
34
+
35
+ /**
32
36
  The 'material-override' folder contains overrides for specific Angular Material components.
33
37
  */
34
38
  @use "./material-override/button";
@@ -43,8 +47,8 @@
43
47
  @use "./material-override/switch";
44
48
  @use "./material-override/tooltip";
45
49
 
46
- /**
47
- The 'deprecated' folder contains styles that are deprecated but still available for backward compatibility.
50
+ /**
51
+ The 'deprecated' folder contains styles that are deprecated but still available for backward compatibility.
48
52
  Comments indicate the preferred alternative, helping users transition away from deprecated classes in favor of newer components or styles.
49
53
  */
50
54
  @use "./deprecated/button-deprecated"; // replace with "/material-override/button"
@@ -53,13 +57,13 @@
53
57
  @use "./deprecated/material-override-deprecated"; // currently no replacement
54
58
  @use "./deprecated/table-deprecated"; // replace with ag-grid table component
55
59
 
56
- /**
60
+ /**
57
61
  Angular Material core mix-in,
58
62
  Since it's included in this main file, applications using this library do not need to include it separately.
59
63
  */
60
64
  @include mat.core();
61
65
 
62
- /**
66
+ /**
63
67
  This file acts as an index,
64
68
  Please do not include any actual css code in this file.
65
69
  */