@kms-ngx-ui/presentational 20.0.4 → 20.0.5
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/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kms-ngx-ui/presentational",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular-slider/ngx-slider": "20.0.0",
|
|
6
|
-
"@angular/cdk": "20.2.14",
|
|
7
|
-
"@angular/common": "20.3.15",
|
|
8
|
-
"@angular/core": "20.3.15",
|
|
9
|
-
"@angular/forms": "20.3.15",
|
|
10
|
-
"@angular/google-maps": "20.2.14",
|
|
11
|
-
"@angular/material": "20.2.14",
|
|
6
|
+
"@angular/cdk": "^20.2.14",
|
|
7
|
+
"@angular/common": "^20.3.15",
|
|
8
|
+
"@angular/core": "^20.3.15",
|
|
9
|
+
"@angular/forms": "^20.3.15",
|
|
10
|
+
"@angular/google-maps": "^20.2.14",
|
|
11
|
+
"@angular/material": "^20.2.14",
|
|
12
12
|
"@floating-ui/dom": "^1.6.12",
|
|
13
13
|
"moment": "2.30.1",
|
|
14
14
|
"swiper": "^11.1.4"
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
.mdc-switch {
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
15
|
+
--mat-switch-selected-focus-track-color: var(--kms-tertiary-500);
|
|
16
|
+
--mat-switch-selected-hover-track-color: var(--kms-tertiary-500);
|
|
17
|
+
--mat-switch-selected-pressed-track-color: var(--kms-tertiary-500);
|
|
18
|
+
--mat-switch-selected-track-color: var(--kms-tertiary-500);
|
|
19
|
+
--mat-switch-unselected-focus-track-color: var(--kms-tertiary-500);
|
|
20
|
+
--mat-switch-unselected-hover-track-color: var(--kms-tertiary-500);
|
|
21
|
+
--mat-switch-unselected-pressed-track-color: var(--kms-tertiary-500);
|
|
22
|
+
--mat-switch-unselected-track-color: var(--kms-tertiary-500);
|
|
23
23
|
--mat-switch-track-outline-color: transparent;
|
|
24
|
-
--mat-switch-unselected-handle-horizontal-margin: 0
|
|
24
|
+
--mat-switch-unselected-handle-horizontal-margin: 0;
|
|
25
25
|
--mat-switch-selected-handle-size: 16px;
|
|
26
26
|
--mat-switch-selected-handle-size: 16px;
|
|
27
27
|
--mat-switch-unselected-handle-size: 16px !important;
|
|
28
|
-
--
|
|
28
|
+
--mat-switch-track-height: 16px;
|
|
29
29
|
width: 40px;
|
|
30
30
|
|
|
31
31
|
&__shadow {
|
|
@@ -1,70 +1,51 @@
|
|
|
1
1
|
@mixin button-theme() {
|
|
2
2
|
:root {
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--
|
|
3
|
+
--mat-button-filled-container-shape: 24px;
|
|
4
|
+
--mat-button-protected-container-shape: 24px;
|
|
5
|
+
--mat-button-text-container-shape: 24px;
|
|
6
6
|
--kms-button-border-radius: 24px;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.kms-button {
|
|
10
10
|
border-radius: 4px !important;
|
|
11
11
|
|
|
12
|
-
&--basic-primary {
|
|
13
|
-
--
|
|
14
|
-
color: var(--kms-primary) !important;
|
|
15
|
-
|
|
16
|
-
.mdc-button__label {
|
|
17
|
-
color: var(--kms-primary) !important;
|
|
18
|
-
}
|
|
12
|
+
&--basic-primary:not(:disabled) {
|
|
13
|
+
--mat-button-text-label-text-color: var(--kms-primary);
|
|
19
14
|
}
|
|
20
|
-
&--basic-accent {
|
|
21
|
-
--
|
|
22
|
-
color: var(--kms-tertiary) !important;
|
|
23
|
-
|
|
24
|
-
.mdc-button__label {
|
|
25
|
-
color: var(--kms-tertiary) !important;
|
|
26
|
-
}
|
|
15
|
+
&--basic-accent:not(:disabled) {
|
|
16
|
+
--mat-button-text-label-text-color: var(--kms-tertiary);
|
|
27
17
|
}
|
|
28
|
-
&--basic-warn {
|
|
29
|
-
--
|
|
30
|
-
color: var(--kms-error) !important;
|
|
31
|
-
|
|
32
|
-
.mdc-button__label {
|
|
33
|
-
color: var(--kms-error) !important;
|
|
34
|
-
}
|
|
18
|
+
&--basic-warn:not(:disabled) {
|
|
19
|
+
--mat-button-text-label-text-color: var(--kms-error);
|
|
35
20
|
}
|
|
36
21
|
|
|
37
|
-
&--flat-primary {
|
|
38
|
-
--
|
|
39
|
-
background-color: var(--kms-primary) !important;
|
|
22
|
+
&--flat-primary:not(:disabled) {
|
|
23
|
+
--mat-button-filled-container-color: var(--kms-primary);
|
|
40
24
|
}
|
|
41
|
-
&--flat-accent {
|
|
42
|
-
--
|
|
43
|
-
background-color: var(--kms-tertiary) !important;
|
|
25
|
+
&--flat-accent:not(:disabled) {
|
|
26
|
+
--mat-button-filled-container-color: var(--kms-tertiary);
|
|
44
27
|
}
|
|
45
|
-
&--flat-warn {
|
|
46
|
-
--
|
|
47
|
-
background-color: var(--kms-error) !important;
|
|
28
|
+
&--flat-warn:not(:disabled) {
|
|
29
|
+
--mat-button-filled-container-color: var(--kms-error);
|
|
48
30
|
}
|
|
49
31
|
|
|
50
|
-
&--raised-primary {
|
|
51
|
-
--
|
|
52
|
-
background-color: var(--kms-primary) !important;
|
|
32
|
+
&--raised-primary:not(:disabled) {
|
|
33
|
+
--mat-button-protected-container-color: var(--kms-primary);
|
|
53
34
|
}
|
|
54
|
-
&--raised-accent {
|
|
55
|
-
--
|
|
56
|
-
background-color: var(--kms-tertiary) !important;
|
|
35
|
+
&--raised-accent:not(:disabled) {
|
|
36
|
+
--mat-button-protected-container-color: var(--kms-tertiary);
|
|
57
37
|
}
|
|
58
|
-
&--raised-warn {
|
|
59
|
-
--
|
|
60
|
-
background-color: var(--kms-error) !important;
|
|
38
|
+
&--raised-warn:not(:disabled) {
|
|
39
|
+
--mat-button-protected-container-color: var(--kms-error);
|
|
61
40
|
}
|
|
62
41
|
|
|
63
42
|
&--loading {
|
|
64
|
-
color: transparent
|
|
43
|
+
--mat-button-text-label-text-color: transparent;
|
|
44
|
+
--mat-button-filled-label-text-color: transparent;
|
|
45
|
+
--mat-button-protected-label-text-color: transparent;
|
|
65
46
|
|
|
66
47
|
.kms-button__icon .icon {
|
|
67
|
-
color: transparent
|
|
48
|
+
--mat-button-text-label-text-color: transparent;
|
|
68
49
|
}
|
|
69
50
|
}
|
|
70
51
|
|