@softheon/armature 19.0.3 → 19.1.1
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/ag-grid-components/src/sof-table/sof-table.component.d.ts +4 -4
- package/assets/styles/_typography.scss +4 -0
- package/assets/styles/_utility.scss +4 -0
- package/assets/styles/_variables.scss +1 -2
- package/assets/styles/material-override/_button-toggle-group.scss +1 -1
- package/assets/styles/material-override/_button.scss +0 -30
- package/assets/styles/material-override/_expansion-panel.scss +1 -1
- package/assets/styles/material-override/_menu.scss +7 -0
- package/assets/styles/material-override/_slider.scss +7 -7
- package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
- package/fesm2022/softheon-armature.mjs +123 -76
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.d.ts +3 -2
- package/lib/base-components/sof-context/sof-context.component.d.ts +4 -2
- package/lib/base-components/sof-input-stepper/sof-input-stepper.component.d.ts +3 -3
- package/lib/feedback-tool/components/feedback-tool/feedback-tool.component.d.ts +1 -1
- package/lib/header/components/sof-header/sof-header.component.d.ts +23 -7
- package/lib/navigation/components/b2b-nav/b2b-nav.component.d.ts +1 -1
- package/lib/navigation/components/sof-navigation-panel/sof-nav-panel.component.d.ts +1 -1
- package/lib/navigation/components/sof-tabs-navigation/sof-tabs.component.d.ts +1 -1
- package/lib/sof-pipe/pipes/sof-date/sof-date.pipe.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges, WritableSignal } from '@angular/core';
|
|
2
|
-
import { ApplyColumnStateParams, ColDef, GridReadyEvent, PaginationChangedEvent } from "ag-grid-community";
|
|
2
|
+
import { ApplyColumnStateParams, ColDef, FilterModel, GridReadyEvent, PaginationChangedEvent } from "ag-grid-community";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/** The Softheon Armature Table component */
|
|
5
5
|
export declare class SofTableComponent implements OnInit, OnChanges {
|
|
@@ -8,7 +8,7 @@ export declare class SofTableComponent implements OnInit, OnChanges {
|
|
|
8
8
|
/** Column Definitions: Defines & controls grid columns. */
|
|
9
9
|
colDefs: Array<ColDef>;
|
|
10
10
|
/** Size modes for table */
|
|
11
|
-
|
|
11
|
+
sizeMode: 'Compact' | 'Roomy' | 'Default';
|
|
12
12
|
/** Pages sizes */
|
|
13
13
|
paginationPageSizeSelector: Array<number>;
|
|
14
14
|
/** Enable search */
|
|
@@ -35,9 +35,9 @@ export declare class SofTableComponent implements OnInit, OnChanges {
|
|
|
35
35
|
*/
|
|
36
36
|
tableName: string;
|
|
37
37
|
/** Users saved column options state */
|
|
38
|
-
|
|
38
|
+
savedColumnState: ApplyColumnStateParams;
|
|
39
39
|
/** Initial filter model */
|
|
40
|
-
|
|
40
|
+
initialFilterModel: FilterModel;
|
|
41
41
|
/** Output updated column options event to save to user or browser storage */
|
|
42
42
|
updatedColumnState: EventEmitter<ApplyColumnStateParams>;
|
|
43
43
|
/** Output filtered/sorted row data and table headers, all values returned will be formatted & translated */
|
|
@@ -18,10 +18,9 @@ $mat-gt-md: 1280px;
|
|
|
18
18
|
|
|
19
19
|
// text emphasis (per design)
|
|
20
20
|
$text-high-emphasis: rgba(0, 0, 0, 0.87);
|
|
21
|
-
$text-medium-high-emphasis: rgba(0, 0, 0, 0.8); //#333333
|
|
22
21
|
$text-medium-emphasis: rgba(0, 0, 0, 0.6);
|
|
23
22
|
$text-low-emphasis: rgba(0, 0, 0, 0.38);
|
|
24
|
-
$text-inverse: #
|
|
23
|
+
$text-inverse: #FFFFFF;
|
|
25
24
|
|
|
26
25
|
// surface color (per design, light theme)
|
|
27
26
|
$surface-color-default-light: #FFFFFF;
|
|
@@ -62,7 +62,7 @@ mat-button-toggle-group {
|
|
|
62
62
|
.mat-button-toggle-label-content {
|
|
63
63
|
text-transform: capitalize !important;
|
|
64
64
|
font-family: var(--sftn-font-family, sans-serif) !important;
|
|
65
|
-
font-weight:
|
|
65
|
+
font-weight: 500 !important;
|
|
66
66
|
font-size: 16px !important;
|
|
67
67
|
line-height: 24px !important;
|
|
68
68
|
color: vars.$text-high-emphasis !important;
|
|
@@ -67,47 +67,37 @@
|
|
|
67
67
|
&[emphasis="solid"] {
|
|
68
68
|
&[theme="primary"] {
|
|
69
69
|
background: map.get(theme.$arm-primary, 500) !important;
|
|
70
|
-
background-color: map.get(theme.$arm-primary, 500) !important;
|
|
71
70
|
color: map.get(theme.$arm-primary, contrast, 500) !important;
|
|
72
71
|
&:hover {
|
|
73
72
|
background: map.get(theme.$arm-primary, 700) !important;
|
|
74
|
-
background-color: map.get(theme.$arm-primary, 700) !important;
|
|
75
73
|
}
|
|
76
74
|
&:active {
|
|
77
75
|
background: map.get(theme.$arm-primary, 800) !important;
|
|
78
|
-
background-color: map.get(theme.$arm-primary, 800) !important;
|
|
79
76
|
}
|
|
80
77
|
}
|
|
81
78
|
&[theme="neutral"] {
|
|
82
79
|
background: map.get(theme.$arm-neutral, 500) !important;
|
|
83
|
-
background-color: map.get(theme.$arm-neutral, 500) !important;
|
|
84
80
|
color: map.get(theme.$arm-neutral, contrast, 500) !important;
|
|
85
81
|
&:hover {
|
|
86
82
|
background: map.get(theme.$arm-neutral, 700) !important;
|
|
87
|
-
background-color: map.get(theme.$arm-neutral, 700) !important;
|
|
88
83
|
}
|
|
89
84
|
&:active {
|
|
90
85
|
background: map.get(theme.$arm-neutral, 800) !important;
|
|
91
|
-
background-color: map.get(theme.$arm-neutral, 800) !important;
|
|
92
86
|
}
|
|
93
87
|
}
|
|
94
88
|
&[theme="destroy"] {
|
|
95
89
|
background: map.get(theme.$arm-error, 500) !important;
|
|
96
|
-
background-color: map.get(theme.$arm-error, 500) !important;
|
|
97
90
|
color: map.get(theme.$arm-error, contrast, 500) !important;
|
|
98
91
|
&:hover {
|
|
99
92
|
background: map.get(theme.$arm-error, 700) !important;
|
|
100
|
-
background-color: map.get(theme.$arm-error, 700) !important;
|
|
101
93
|
}
|
|
102
94
|
&:active {
|
|
103
95
|
background: map.get(theme.$arm-error, 800) !important;
|
|
104
|
-
background-color: map.get(theme.$arm-error, 800) !important;
|
|
105
96
|
}
|
|
106
97
|
}
|
|
107
98
|
&[theme="primary"], &[theme="neutral"], &[theme="destroy"] {
|
|
108
99
|
&:disabled {
|
|
109
100
|
background: map.get(theme.$arm-neutral, A50) !important;
|
|
110
|
-
background-color: map.get(theme.$arm-neutral, A50) !important;
|
|
111
101
|
color: vars.$text-low-emphasis !important;
|
|
112
102
|
}
|
|
113
103
|
}
|
|
@@ -116,18 +106,12 @@
|
|
|
116
106
|
&[emphasis="secondary"] {
|
|
117
107
|
&[theme="primary"], &[theme="neutral"], &[theme="destroy"] {
|
|
118
108
|
background: vars.$surface-color-level-one-light !important;
|
|
119
|
-
background-color: vars.$surface-color-level-one-light !important;
|
|
120
109
|
&:hover {
|
|
121
110
|
background: linear-gradient(
|
|
122
111
|
0deg,
|
|
123
112
|
map.get(theme.$arm-neutral, A100) 0%,
|
|
124
113
|
map.get(theme.$arm-neutral, A100) 100%
|
|
125
114
|
), vars.$surface-color-level-one-light !important;
|
|
126
|
-
background-color: linear-gradient(
|
|
127
|
-
0deg,
|
|
128
|
-
map.get(theme.$arm-neutral, A100) 0%,
|
|
129
|
-
map.get(theme.$arm-neutral, A100) 100%
|
|
130
|
-
), vars.$surface-color-level-one-light !important;
|
|
131
115
|
}
|
|
132
116
|
&:active {
|
|
133
117
|
background: linear-gradient(
|
|
@@ -135,15 +119,9 @@
|
|
|
135
119
|
map.get(theme.$arm-neutral, A200) 0%,
|
|
136
120
|
map.get(theme.$arm-neutral, A200) 100%
|
|
137
121
|
), vars.$surface-color-level-one-light !important;
|
|
138
|
-
background-color: linear-gradient(
|
|
139
|
-
0deg,
|
|
140
|
-
map.get(theme.$arm-neutral, A200) 0%,
|
|
141
|
-
map.get(theme.$arm-neutral, A200) 100%
|
|
142
|
-
), vars.$surface-color-level-one-light !important;
|
|
143
122
|
}
|
|
144
123
|
&:disabled {
|
|
145
124
|
background: map.get(theme.$arm-neutral, A50) !important;
|
|
146
|
-
background-color: map.get(theme.$arm-neutral, A50) !important;
|
|
147
125
|
color: vars.$text-low-emphasis !important;
|
|
148
126
|
}
|
|
149
127
|
}
|
|
@@ -161,39 +139,32 @@
|
|
|
161
139
|
&[emphasis="floating"], &[emphasis="contained"] {
|
|
162
140
|
&[theme="primary"], &[theme="neutral"], &[theme="destroy"] {
|
|
163
141
|
background: transparent !important;
|
|
164
|
-
background-color: transparent !important;
|
|
165
142
|
}
|
|
166
143
|
&[theme="primary"] {
|
|
167
144
|
color: map.get(theme.$arm-primary, 500) !important;
|
|
168
145
|
&:hover {
|
|
169
146
|
background: map.get(theme.$arm-primary, A100) !important;
|
|
170
|
-
background-color: map.get(theme.$arm-primary, A100) !important;
|
|
171
147
|
}
|
|
172
148
|
&:active {
|
|
173
149
|
background: map.get(theme.$arm-primary, A200) !important;
|
|
174
|
-
background-color: map.get(theme.$arm-primary, A200) !important;
|
|
175
150
|
}
|
|
176
151
|
}
|
|
177
152
|
&[theme="neutral"] {
|
|
178
153
|
color: vars.$text-high-emphasis !important;
|
|
179
154
|
&:hover {
|
|
180
155
|
background: map.get(theme.$arm-neutral, A100) !important;
|
|
181
|
-
background-color: map.get(theme.$arm-neutral, A100) !important;
|
|
182
156
|
}
|
|
183
157
|
&:active {
|
|
184
158
|
background: map.get(theme.$arm-neutral, A200) !important;
|
|
185
|
-
background-color: map.get(theme.$arm-neutral, A200) !important;
|
|
186
159
|
}
|
|
187
160
|
}
|
|
188
161
|
&[theme="destroy"] {
|
|
189
162
|
color: map.get(theme.$arm-error, 500) !important;
|
|
190
163
|
&:hover {
|
|
191
164
|
background: map.get(theme.$arm-error, A100) !important;
|
|
192
|
-
background-color: map.get(theme.$arm-error, A100) !important;
|
|
193
165
|
}
|
|
194
166
|
&:active {
|
|
195
167
|
background: map.get(theme.$arm-error, A200) !important;
|
|
196
|
-
background-color: map.get(theme.$arm-error, A200) !important;
|
|
197
168
|
}
|
|
198
169
|
}
|
|
199
170
|
&[theme="primary"], &[theme="neutral"], &[theme="destroy"] {
|
|
@@ -251,5 +222,4 @@
|
|
|
251
222
|
// Mat Notification badge
|
|
252
223
|
button .mat-badge-content {
|
|
253
224
|
background: vars.$surface-color-inverse-light !important;
|
|
254
|
-
background-color: vars.$surface-color-inverse-light !important;
|
|
255
225
|
}
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
|
|
108
108
|
.mat-expansion-panel-header-title {
|
|
109
109
|
font-size: 16px !important;
|
|
110
|
-
font-weight:
|
|
110
|
+
font-weight: 500 !important;
|
|
111
111
|
line-height: normal !important;
|
|
112
112
|
font-family: "Poppins", sans-serif !important;
|
|
113
113
|
color: vars.$text-high-emphasis !important;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
background-color: vars.$surface-color-level-one-light !important;
|
|
7
7
|
box-shadow: 0px 4px 8px 0px map.get(theme.$arm-neutral, A300) !important;
|
|
8
8
|
border-radius: 8px !important;
|
|
9
|
+
max-width: unset !important;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
::ng-deep .mat-mdc-menu-ripple {
|
|
@@ -19,7 +20,13 @@
|
|
|
19
20
|
display: flex !important;
|
|
20
21
|
align-items: center !important;
|
|
21
22
|
letter-spacing: 0px !important;
|
|
23
|
+
white-space: nowrap !important;
|
|
24
|
+
|
|
22
25
|
i {
|
|
23
26
|
margin-right: 8px !important;
|
|
24
27
|
}
|
|
25
28
|
}
|
|
29
|
+
|
|
30
|
+
::ng-deep .mat-mdc-menu-content {
|
|
31
|
+
white-space: nowrap !important;
|
|
32
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@use "../variables" as vars;
|
|
4
4
|
|
|
5
5
|
mat-slider.sof-slider {
|
|
6
|
-
|
|
6
|
+
&[color="primary"] {
|
|
7
7
|
--mdc-slider-handle-color: #{map.get(theme.$arm-primary, 500)};
|
|
8
8
|
--mdc-slider-focus-handle-color: #{map.get(theme.$arm-primary, 500)};
|
|
9
9
|
--mdc-slider-hover-handle-color: #{map.get(theme.$arm-primary, 500)};
|
|
@@ -15,7 +15,7 @@ mat-slider.sof-slider {
|
|
|
15
15
|
--mat-mdc-slider-focus-ripple-color: rgba(var(--primary-color-500-parts-rgb), 0.2);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
&[color="accent"] {
|
|
19
19
|
--mdc-slider-handle-color: #{map.get(theme.$arm-accent, 500)};
|
|
20
20
|
--mdc-slider-focus-handle-color: #{map.get(theme.$arm-accent, 500)};
|
|
21
21
|
--mdc-slider-hover-handle-color: #{map.get(theme.$arm-accent, 500)};
|
|
@@ -27,7 +27,7 @@ mat-slider.sof-slider {
|
|
|
27
27
|
--mat-mdc-slider-focus-ripple-color: rgba(var(--accent-color-500-parts-rgb), 0.2);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
&[color="warn"] {
|
|
31
31
|
--mdc-slider-handle-color: #{map.get(theme.$arm-warn, 500)};
|
|
32
32
|
--mdc-slider-focus-handle-color: #{map.get(theme.$arm-warn, 500)};
|
|
33
33
|
--mdc-slider-hover-handle-color: #{map.get(theme.$arm-warn, 500)};
|
|
@@ -39,7 +39,7 @@ mat-slider.sof-slider {
|
|
|
39
39
|
--mat-mdc-slider-focus-ripple-color: rgba(var(--warn-color-500-parts-rgb), 0.2);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
&[color="success"] {
|
|
43
43
|
--mdc-slider-handle-color: #{map.get(theme.$arm-success, 500)};
|
|
44
44
|
--mdc-slider-focus-handle-color: #{map.get(theme.$arm-success, 500)};
|
|
45
45
|
--mdc-slider-hover-handle-color: #{map.get(theme.$arm-success, 500)};
|
|
@@ -51,7 +51,7 @@ mat-slider.sof-slider {
|
|
|
51
51
|
--mat-mdc-slider-focus-ripple-color: rgba(var(--success-color-500-parts-rgb), 0.2);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
&[color="info"] {
|
|
55
55
|
--mdc-slider-handle-color: #{map.get(theme.$arm-info, 500)};
|
|
56
56
|
--mdc-slider-focus-handle-color: #{map.get(theme.$arm-info, 500)};
|
|
57
57
|
--mdc-slider-hover-handle-color: #{map.get(theme.$arm-info, 500)};
|
|
@@ -63,7 +63,7 @@ mat-slider.sof-slider {
|
|
|
63
63
|
--mat-mdc-slider-focus-ripple-color: rgba(var(--info-color-500-parts-rgb), 0.2);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
&[color="error"] {
|
|
67
67
|
--mdc-slider-handle-color: #{map.get(theme.$arm-error, 500)};
|
|
68
68
|
--mdc-slider-focus-handle-color: #{map.get(theme.$arm-error, 500)};
|
|
69
69
|
--mdc-slider-hover-handle-color: #{map.get(theme.$arm-error, 500)};
|
|
@@ -75,7 +75,7 @@ mat-slider.sof-slider {
|
|
|
75
75
|
--mat-mdc-slider-focus-ripple-color: rgba(var(--error-color-500-parts-rgb), 0.2);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
&[color="neutral"] {
|
|
79
79
|
--mdc-slider-handle-color: #{map.get(theme.$arm-neutral, 500)};
|
|
80
80
|
--mdc-slider-focus-handle-color: #{map.get(theme.$arm-neutral, 500)};
|
|
81
81
|
--mdc-slider-hover-handle-color: #{map.get(theme.$arm-neutral, 500)};
|