@kms-ngx-ui/presentational 20.1.6 → 20.1.8
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/fesm2022/kms-ngx-ui-presentational.mjs +5 -4
- package/fesm2022/kms-ngx-ui-presentational.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/lib/ui/atoms/dropdown-from-data/dropdown-from-data.component.scss +36 -24
- package/src/lib/ui/molecules/flyout/flyout.component.scss +5 -28
- package/src/styles/styles.scss +2 -0
package/index.d.ts
CHANGED
|
@@ -176,6 +176,7 @@ declare class ColorInputComponent extends FormControlParentComponent implements
|
|
|
176
176
|
*/
|
|
177
177
|
declare class DropdownFromDataComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
|
|
178
178
|
renderer: Renderer2;
|
|
179
|
+
protected readonly Color: typeof Color;
|
|
179
180
|
optionsEnum: _angular_core.InputSignal<any>;
|
|
180
181
|
optionsPlainArray: _angular_core.InputSignal<any[]>;
|
|
181
182
|
optionsObjArray: _angular_core.InputSignal<any[]>;
|
package/package.json
CHANGED
|
@@ -1,35 +1,47 @@
|
|
|
1
1
|
@mixin dropdown-from-data-theme() {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
kms-dropdown-from-data {
|
|
3
|
+
.mat-mdc-select-arrow-wrapper {
|
|
4
|
+
display: none !important;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
.dropdown-from-data {
|
|
9
|
+
&__checkbox {
|
|
10
|
+
padding: 0 16px;
|
|
11
|
+
margin: 0;
|
|
12
|
+
height: 3em;
|
|
13
|
+
line-height: 3em;
|
|
11
14
|
|
|
12
|
-
.mdc-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
.mdc-label {
|
|
18
|
-
font-size: 16px;
|
|
19
|
-
}
|
|
15
|
+
.mdc-checkbox {
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin-right: 12px;
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
border-color: var(--kms-primary-500) !important;
|
|
25
|
-
svg {
|
|
26
|
-
color: var(--kms-white) !important;
|
|
19
|
+
.mdc-checkbox__background {
|
|
20
|
+
top: 0;
|
|
21
|
+
left: 0;
|
|
27
22
|
}
|
|
28
23
|
}
|
|
29
|
-
|
|
30
24
|
.mdc-label {
|
|
31
|
-
|
|
25
|
+
font-size: 16px;
|
|
32
26
|
}
|
|
27
|
+
|
|
28
|
+
&.mat-mdc-checkbox-checked {
|
|
29
|
+
.mdc-checkbox__background {
|
|
30
|
+
background: var(--kms-primary-500) !important;
|
|
31
|
+
border-color: var(--kms-primary-500) !important;
|
|
32
|
+
svg {
|
|
33
|
+
color: var(--kms-white) !important;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.mdc-label {
|
|
38
|
+
color: var(--kms-primary-500) !important;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__arrow {
|
|
44
|
+
margin-right: $base-spacing;
|
|
33
45
|
}
|
|
34
46
|
}
|
|
35
47
|
}
|
|
@@ -1,35 +1,12 @@
|
|
|
1
1
|
@mixin flyout-theme() {
|
|
2
2
|
.flyout {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
&-more {
|
|
9
|
-
font: normal normal normal 16px/25px var(--fontName-text03);
|
|
10
|
-
letter-spacing: 0.26px;
|
|
11
|
-
color: var(--kms-primary-100);
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
kms-icon {
|
|
14
|
-
.icon {
|
|
15
|
-
width: 16px !important;
|
|
16
|
-
height: 20px !important;
|
|
17
|
-
svg {
|
|
18
|
-
width: 16px !important;
|
|
19
|
-
height: 20px !important;
|
|
20
|
-
use {
|
|
21
|
-
fill: var(--kms-primary-100);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
&-body {
|
|
3
|
+
&__more-toggle {
|
|
4
|
+
appearance: none;
|
|
5
|
+
display: block;
|
|
6
|
+
background: transparent;
|
|
7
|
+
border: 0;
|
|
29
8
|
padding: 0;
|
|
30
9
|
margin: 0;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
outline: none;
|
|
33
10
|
}
|
|
34
11
|
}
|
|
35
12
|
}
|
package/src/styles/styles.scss
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
@import '../lib/ui/molecules/yes-no-radiogroup/yes-no-radiogroup.component';
|
|
36
36
|
@import '../lib/ui/molecules/text-input/text-input.component';
|
|
37
37
|
@import '../lib/ui/molecules/date-input/date-input.component';
|
|
38
|
+
@import '../lib/ui/molecules/flyout/flyout.component';
|
|
38
39
|
|
|
39
40
|
// Organisms
|
|
40
41
|
|
|
@@ -61,3 +62,4 @@
|
|
|
61
62
|
@include numeric-input-theme();
|
|
62
63
|
@include text-input-theme();
|
|
63
64
|
@include date-input-theme();
|
|
65
|
+
@include flyout-theme();
|