@softheon/armature 19.5.0 → 19.8.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.
- package/assets/styles/_arm-theme.scss +101 -0
- package/assets/styles/_typography.scss +8 -0
- package/assets/styles/material-override/_button-toggle-group.scss +2 -4
- package/assets/styles/material-override/_button.scss +18 -3
- package/assets/styles/material-override/_checkbox.scss +1 -2
- package/assets/styles/material-override/_expansion-panel.scss +1 -2
- package/assets/styles/material-override/_menu.scss +24 -10
- package/assets/styles/material-override/_radio-button.scss +1 -2
- package/assets/styles/material-override/_switch.scss +1 -1
- package/assets/styles/material-override/_tooltip.scss +2 -4
- package/fesm2022/softheon-armature-ag-grid-components.mjs +2 -2
- package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
- package/fesm2022/softheon-armature.mjs +132 -60
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/lib/base-components/base-component-api.d.ts +1 -0
- package/lib/base-components/base-component.module.d.ts +24 -23
- package/lib/base-components/sof-callout/sof-callout.component.d.ts +16 -2
- package/lib/base-components/sof-chip/sof-chip.component.d.ts +1 -1
- package/lib/base-components/sof-segmented-control/sof-segmented-control.component.d.ts +38 -0
- package/lib/base-components/sof-utility-button/sof-utility-button.component.d.ts +20 -3
- package/lib/navigation/components/sof-tabs-navigation/sof-tabs.component.d.ts +4 -0
- package/package.json +1 -1
|
@@ -390,6 +390,62 @@
|
|
|
390
390
|
--neutral-color-700-parts-rgb: 51, 51, 51;
|
|
391
391
|
--neutral-color-800-parts-rgb: 33, 33, 33;
|
|
392
392
|
--neutral-color-900-parts-rgb: 20, 20, 20;
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
--help-color-50-parts: #EFE3FE;
|
|
396
|
+
--help-color-100-parts: #E0CAFD;
|
|
397
|
+
--help-color-200-parts: #C194FB;
|
|
398
|
+
--help-color-300-parts: #994FF8;
|
|
399
|
+
--help-color-400-parts: #8831F7;
|
|
400
|
+
--help-color-500-parts: #7714F6;
|
|
401
|
+
--help-color-600-parts: #6809E3;
|
|
402
|
+
--help-color-700-parts: #5B08C5;
|
|
403
|
+
--help-color-800-parts: #4D06A8;
|
|
404
|
+
--help-color-900-parts: #40058A;
|
|
405
|
+
|
|
406
|
+
--help-color-A50-parts: rgba(119, 20, 246, 0.04);
|
|
407
|
+
--help-color-A100-parts: rgba(119, 20, 246, 0.08);
|
|
408
|
+
--help-color-A200-parts: rgba(119, 20, 246, 0.16);
|
|
409
|
+
--help-color-A300-parts: rgba(119, 20, 246, 0.24);
|
|
410
|
+
--help-color-A400-parts: rgba(119, 20, 246, 0.32);
|
|
411
|
+
--help-color-A500-parts: rgba(119, 20, 246, 0.40);
|
|
412
|
+
--help-color-A600-parts: rgba(119, 20, 246, 0.48);
|
|
413
|
+
--help-color-A700-parts: rgba(119, 20, 246, 0.56);
|
|
414
|
+
--help-color-A800-parts: rgba(119, 20, 246, 0.64);
|
|
415
|
+
--help-color-A900-parts: rgba(119, 20, 246, 0.72);
|
|
416
|
+
|
|
417
|
+
--help-color-contrast-50-parts: rgba(0, 0, 0, 0.87);
|
|
418
|
+
--help-color-contrast-100-parts: rgba(0, 0, 0, 0.87);
|
|
419
|
+
--help-color-contrast-200-parts: rgba(0, 0, 0, 0.87);
|
|
420
|
+
--help-color-contrast-300-parts: rgba(255, 255, 255, 1);
|
|
421
|
+
--help-color-contrast-400-parts: rgba(255, 255, 255, 1);
|
|
422
|
+
--help-color-contrast-500-parts: rgba(255, 255, 255, 1);
|
|
423
|
+
--help-color-contrast-600-parts: rgba(255, 255, 255, 1);
|
|
424
|
+
--help-color-contrast-700-parts: rgba(255, 255, 255, 1);
|
|
425
|
+
--help-color-contrast-800-parts: rgba(255, 255, 255, 1);
|
|
426
|
+
--help-color-contrast-900-parts: rgba(255, 255, 255, 1);
|
|
427
|
+
|
|
428
|
+
--help-color-contrast-A50-parts: rgba(0, 0, 0, 0.87);
|
|
429
|
+
--help-color-contrast-A100-parts: rgba(0, 0, 0, 0.87);
|
|
430
|
+
--help-color-contrast-A200-parts: rgba(0, 0, 0, 0.87);
|
|
431
|
+
--help-color-contrast-A300-parts: rgba(0, 0, 0, 0.87);
|
|
432
|
+
--help-color-contrast-A400-parts: rgba(0, 0, 0, 0.87);
|
|
433
|
+
--help-color-contrast-A500-parts: rgba(0, 0, 0, 0.87);
|
|
434
|
+
--help-color-contrast-A600-parts: rgba(0, 0, 0, 0.87);
|
|
435
|
+
--help-color-contrast-A700-parts: rgba(0, 0, 0, 0.87);
|
|
436
|
+
--help-color-contrast-A800-parts: rgba(0, 0, 0, 0.87);
|
|
437
|
+
--help-color-contrast-A900-parts: rgba(0, 0, 0, 0.87);
|
|
438
|
+
|
|
439
|
+
--help-color-50-parts-rgb: 239, 227, 254;
|
|
440
|
+
--help-color-100-parts-rgb: 224, 202, 253;
|
|
441
|
+
--help-color-200-parts-rgb: 193, 148, 251;
|
|
442
|
+
--help-color-300-parts-rgb: 153, 79, 248;
|
|
443
|
+
--help-color-400-parts-rgb: 136, 49, 247;
|
|
444
|
+
--help-color-500-parts-rgb: 119, 20, 246;
|
|
445
|
+
--help-color-600-parts-rgb: 104, 9, 227;
|
|
446
|
+
--help-color-700-parts-rgb: 91, 8, 197;
|
|
447
|
+
--help-color-800-parts-rgb: 77, 6, 168;
|
|
448
|
+
--help-color-900-parts-rgb: 64, 5, 138;
|
|
393
449
|
}
|
|
394
450
|
|
|
395
451
|
|
|
@@ -707,3 +763,48 @@ $arm-neutral: (
|
|
|
707
763
|
A900: var(--neutral-color-contrast-A900-parts)
|
|
708
764
|
)
|
|
709
765
|
);
|
|
766
|
+
|
|
767
|
+
$arm-help: (
|
|
768
|
+
50: var(--help-color-50-parts),
|
|
769
|
+
100: var(--help-color-100-parts),
|
|
770
|
+
200: var(--help-color-200-parts),
|
|
771
|
+
300: var(--help-color-300-parts),
|
|
772
|
+
400: var(--help-color-400-parts),
|
|
773
|
+
500: var(--help-color-500-parts),
|
|
774
|
+
600: var(--help-color-600-parts),
|
|
775
|
+
700: var(--help-color-700-parts),
|
|
776
|
+
800: var(--help-color-800-parts),
|
|
777
|
+
900: var(--help-color-900-parts),
|
|
778
|
+
A50: var(--help-color-A50-parts),
|
|
779
|
+
A100: var(--help-color-A100-parts),
|
|
780
|
+
A200: var(--help-color-A200-parts),
|
|
781
|
+
A300: var(--help-color-A300-parts),
|
|
782
|
+
A400: var(--help-color-A400-parts),
|
|
783
|
+
A500: var(--help-color-A500-parts),
|
|
784
|
+
A600: var(--help-color-A600-parts),
|
|
785
|
+
A700: var(--help-color-A700-parts),
|
|
786
|
+
A800: var(--help-color-A800-parts),
|
|
787
|
+
A900: var(--help-color-A900-parts),
|
|
788
|
+
contrast: (
|
|
789
|
+
50: var(--help-color-contrast-50-parts),
|
|
790
|
+
100: var(--help-color-contrast-100-parts),
|
|
791
|
+
200: var(--help-color-contrast-200-parts),
|
|
792
|
+
300: var(--help-color-contrast-300-parts),
|
|
793
|
+
400: var(--help-color-contrast-400-parts),
|
|
794
|
+
500: var(--help-color-contrast-500-parts),
|
|
795
|
+
600: var(--help-color-contrast-600-parts),
|
|
796
|
+
700: var(--help-color-contrast-700-parts),
|
|
797
|
+
800: var(--help-color-contrast-800-parts),
|
|
798
|
+
900: var(--help-color-contrast-900-parts),
|
|
799
|
+
A50: var(--help-color-contrast-A50-parts),
|
|
800
|
+
A100: var(--help-color-contrast-A100-parts),
|
|
801
|
+
A200: var(--help-color-contrast-A200-parts),
|
|
802
|
+
A300: var(--help-color-contrast-A300-parts),
|
|
803
|
+
A400: var(--help-color-contrast-A400-parts),
|
|
804
|
+
A500: var(--help-color-contrast-A500-parts),
|
|
805
|
+
A600: var(--help-color-contrast-A600-parts),
|
|
806
|
+
A700: var(--help-color-contrast-A700-parts),
|
|
807
|
+
A800: var(--help-color-contrast-A800-parts),
|
|
808
|
+
A900: var(--help-color-contrast-A900-parts)
|
|
809
|
+
)
|
|
810
|
+
);
|
|
@@ -19,9 +19,8 @@ mat-button-toggle-group {
|
|
|
19
19
|
height: 40px !important;
|
|
20
20
|
|
|
21
21
|
&:focus-within {
|
|
22
|
-
outline: 3px solid !important;
|
|
22
|
+
outline: 3px solid map.get(theme.$arm-primary, A500) !important;
|
|
23
23
|
outline-offset: 2px !important;
|
|
24
|
-
outline-color: map.get(theme.$arm-primary, 300) !important;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
&.toggle-left {
|
|
@@ -125,9 +124,8 @@ mat-button-toggle-group {
|
|
|
125
124
|
.error {
|
|
126
125
|
|
|
127
126
|
&:focus-within {
|
|
128
|
-
outline: 3px solid
|
|
127
|
+
outline: 3px solid map.get(theme.$arm-primary, A500);
|
|
129
128
|
outline-offset: 2px !important;
|
|
130
|
-
outline-color: map.get(theme.$arm-error, 300) !important;
|
|
131
129
|
}
|
|
132
130
|
|
|
133
131
|
&.toggle-left, &.toggle-middle, &.toggle-right, &.mat-button-toggle-checked {
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
line-height: normal !important;
|
|
15
15
|
letter-spacing: 0px !important;
|
|
16
16
|
text-transform: capitalize !important;
|
|
17
|
+
min-width: unset !important;
|
|
17
18
|
|
|
18
19
|
.mdc-button__label {
|
|
19
20
|
display: flex !important;
|
|
@@ -33,6 +34,21 @@
|
|
|
33
34
|
&.full-width {
|
|
34
35
|
width: 100% !important;
|
|
35
36
|
}
|
|
37
|
+
|
|
38
|
+
&.mini {
|
|
39
|
+
height: 24px !important;
|
|
40
|
+
font-size: 12px !important;
|
|
41
|
+
padding: 0px 4px !important;
|
|
42
|
+
border-radius: 4px !important;
|
|
43
|
+
|
|
44
|
+
.mdc-button__label {
|
|
45
|
+
gap: 4px !important;
|
|
46
|
+
|
|
47
|
+
i {
|
|
48
|
+
font-size: 16px !important;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
36
52
|
}
|
|
37
53
|
|
|
38
54
|
// Base 'sof-button-icon-v2'
|
|
@@ -200,14 +216,13 @@
|
|
|
200
216
|
// focus ring for all
|
|
201
217
|
&[theme="primary"], &[theme="neutral"], &[theme="destroy"] {
|
|
202
218
|
&:focus {
|
|
203
|
-
outline: 3px solid !important;
|
|
219
|
+
outline: 3px solid map.get(theme.$arm-primary, A500) !important;
|
|
204
220
|
outline-offset: 2px !important;
|
|
205
|
-
outline-color: map.get(theme.$arm-primary, 300) !important;
|
|
206
221
|
}
|
|
207
222
|
}
|
|
208
223
|
&[theme="destroy"] {
|
|
209
224
|
&:focus {
|
|
210
|
-
outline-color: map.get(theme.$arm-error,
|
|
225
|
+
outline-color: map.get(theme.$arm-error, A500) !important;
|
|
211
226
|
}
|
|
212
227
|
}
|
|
213
228
|
// Remove mat-ripple effects
|
|
@@ -33,9 +33,8 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.mdc-checkbox__native-control:focus ~ .mdc-checkbox__background {
|
|
36
|
-
outline: 3px solid !important;
|
|
36
|
+
outline: 3px solid map.get(theme.$arm-primary, A500) !important;
|
|
37
37
|
outline-offset: 2px !important;
|
|
38
|
-
outline-color: map.get(theme.$arm-primary, 300) !important;
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
.mdc-checkbox__background {
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&:focus-within {
|
|
16
|
-
outline: 3px solid !important;
|
|
16
|
+
outline: 3px solid map.get(theme.$arm-primary, A500) !important;
|
|
17
17
|
outline-offset: 2px !important;
|
|
18
|
-
outline-color: map.get(theme.$arm-primary, 300) !important;
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
&:not(.mat-expanded) {
|
|
@@ -13,20 +13,34 @@
|
|
|
13
13
|
display: none !important;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
::ng-deep .mat-mdc-menu-item
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
::ng-deep .mat-mdc-menu-item {
|
|
17
|
+
.mat-mdc-menu-item-text {
|
|
18
|
+
font-weight: 500 !important;
|
|
19
|
+
color: vars.$text-high-emphasis !important;
|
|
20
|
+
font-family: var(--sftn-font-family, sans-serif) !important;
|
|
21
|
+
display: flex !important;
|
|
22
|
+
align-items: center !important;
|
|
23
|
+
letter-spacing: 0px !important;
|
|
24
|
+
white-space: nowrap !important;
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
i {
|
|
27
|
+
margin-right: 8px !important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.delete {
|
|
32
|
+
.mat-mdc-menu-item-text {
|
|
33
|
+
color: map.get(theme.$arm-error, 500) !important;
|
|
34
|
+
|
|
35
|
+
i {
|
|
36
|
+
color: map.get(theme.$arm-error, 500) !important;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
27
39
|
}
|
|
28
40
|
}
|
|
29
41
|
|
|
42
|
+
|
|
30
43
|
::ng-deep .mat-mdc-menu-content {
|
|
31
44
|
white-space: nowrap !important;
|
|
45
|
+
padding: 0 !important;
|
|
32
46
|
}
|
|
@@ -97,9 +97,8 @@
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.mdc-radio__native-control:focus ~ .mdc-radio__background {
|
|
100
|
-
outline: 3px solid !important;
|
|
100
|
+
outline: 3px solid map.get(theme.$arm-primary, A500) !important;
|
|
101
101
|
outline-offset: 2px !important;
|
|
102
|
-
outline-color: map.get(theme.$arm-primary, 300) !important;
|
|
103
102
|
}
|
|
104
103
|
|
|
105
104
|
.mdc-radio__background {
|
|
@@ -147,9 +147,8 @@
|
|
|
147
147
|
background-color: rgba(255, 255, 255, 0.16) !important;
|
|
148
148
|
}
|
|
149
149
|
&:focus {
|
|
150
|
-
outline: 3px solid !important;
|
|
150
|
+
outline: 3px solid map.get(theme.$arm-primary, A500) !important;
|
|
151
151
|
outline-offset: 2px !important;
|
|
152
|
-
outline-color: map.get(theme.$arm-primary, 300) !important;
|
|
153
152
|
}
|
|
154
153
|
|
|
155
154
|
.mdc-button__label {
|
|
@@ -186,8 +185,7 @@
|
|
|
186
185
|
|
|
187
186
|
&:focus {
|
|
188
187
|
border-radius: 4px !important;
|
|
189
|
-
outline: 3px solid !important;
|
|
188
|
+
outline: 3px solid map.get(theme.$arm-primary, A500) !important;
|
|
190
189
|
outline-offset: 2px !important;
|
|
191
|
-
outline-color: map.get(theme.$arm-primary, 300) !important;
|
|
192
190
|
}
|
|
193
191
|
}
|