@colijnit/corecomponents_v12 260.1.18 → 261.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/bundles/colijnit-corecomponents_v12.umd.js +69 -15
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12-261.1.0.tgz +0 -0
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/filter-item/filter-item.component.js +164 -164
- package/esm2015/lib/components/input-text/input-text.component.js +28 -10
- package/esm2015/lib/components/list-of-values/list-of-values-popup.component.js +30 -4
- package/esm2015/lib/components/list-of-values/list-of-values.component.js +62 -54
- package/esm2015/lib/components/simple-grid/simple-grid.component.js +12 -4
- package/esm2015/lib/directives/screen-configuration/screen-configuration.directive.js +1 -1
- package/fesm2015/colijnit-corecomponents_v12.js +291 -231
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-text/input-text.component.d.ts +3 -1
- package/lib/components/list-of-values/list-of-values-popup.component.d.ts +4 -0
- package/lib/components/list-of-values/style/_layout.scss +34 -2
- package/lib/components/list-of-values/style/_material-definition.scss +1 -1
- package/lib/style/_variables.scss +1 -1
- package/package.json +2 -2
|
@@ -51,7 +51,7 @@ export declare class InputTextComponent extends BaseInputComponent<any> implemen
|
|
|
51
51
|
get hasLeftIcon(): boolean;
|
|
52
52
|
get hasRightIcon(): boolean;
|
|
53
53
|
hasOwnLabel: boolean;
|
|
54
|
-
|
|
54
|
+
handleDocumentPointerUp(event: PointerEvent): void;
|
|
55
55
|
set model(value: any);
|
|
56
56
|
get model(): any;
|
|
57
57
|
get pipedModel(): any;
|
|
@@ -67,6 +67,8 @@ export declare class InputTextComponent extends BaseInputComponent<any> implemen
|
|
|
67
67
|
handleRightIconClick(event: MouseEvent): void;
|
|
68
68
|
handleRightIconMouseDown(event: MouseEvent): void;
|
|
69
69
|
handleRightIconMouseUp(event: MouseEvent): void;
|
|
70
|
+
handleRightIconPointerDown(event: PointerEvent): void;
|
|
71
|
+
handleRightIconPointerUp(event: PointerEvent): void;
|
|
70
72
|
handleInputFocus(event: FocusEvent): void;
|
|
71
73
|
handleBlur(event: FocusEvent): void;
|
|
72
74
|
handleDoFocus(event: MouseEvent): void;
|
|
@@ -26,6 +26,8 @@ export declare class ListOfValuesPopupComponent implements OnInit {
|
|
|
26
26
|
closePopup: EventEmitter<Event>;
|
|
27
27
|
keyDown: EventEmitter<KeyboardEvent>;
|
|
28
28
|
showClass(): boolean;
|
|
29
|
+
animBase: boolean;
|
|
30
|
+
isOpen: boolean;
|
|
29
31
|
set searchTerm(value: string);
|
|
30
32
|
get searchTerm(): string;
|
|
31
33
|
viewModels: lovViewModel[];
|
|
@@ -47,6 +49,8 @@ export declare class ListOfValuesPopupComponent implements OnInit {
|
|
|
47
49
|
selectNextOption(back?: boolean): void;
|
|
48
50
|
selectAll(): void;
|
|
49
51
|
toggleAll(): void;
|
|
52
|
+
startCloseAnimation(): void;
|
|
53
|
+
isActive(vm: lovViewModel): boolean;
|
|
50
54
|
private _prepareViewModelsMain;
|
|
51
55
|
private _prepareViewModels;
|
|
52
56
|
private _scrollIntoView;
|
|
@@ -100,6 +100,33 @@
|
|
|
100
100
|
.co-list-of-values-popup {
|
|
101
101
|
font-family: $cc-co-list-of-values-font-family;
|
|
102
102
|
font-size: $cc-co-list-of-values-font-size;
|
|
103
|
+
&.lov-anim {
|
|
104
|
+
.lov-options {
|
|
105
|
+
transform-origin: top;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
transform: translateY(-6px) scaleY(0.85);
|
|
108
|
+
opacity: 0;
|
|
109
|
+
max-height: 0;
|
|
110
|
+
transition-property: transform, opacity, max-height, filter;
|
|
111
|
+
transition-duration: 180ms, 120ms, 180ms, 180ms;
|
|
112
|
+
transition-timing-function: cubic-bezier(.2,.9,.2,1), ease, cubic-bezier(.2,.9,.2,1), ease;
|
|
113
|
+
will-change: transform, opacity, max-height;
|
|
114
|
+
margin: 5px 0;
|
|
115
|
+
}
|
|
116
|
+
&.lov-anim--open {
|
|
117
|
+
.lov-options {
|
|
118
|
+
transform: translateY(0) scaleY(1);
|
|
119
|
+
opacity: 1;
|
|
120
|
+
filter: drop-shadow(0 12px 18px rgba(0,0,0,0.16));
|
|
121
|
+
max-height: $cc-co-list-of-values-lov-options-max-height;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
&:not(.love-anim--open) {
|
|
125
|
+
.lov-options {
|
|
126
|
+
transition-timing-function: cubic-bezier(.4,0,.6,1), ease, cubic-bezier(.4,0,.6,1), ease;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
103
130
|
.lov-options {
|
|
104
131
|
display: flex;
|
|
105
132
|
flex-direction: column;
|
|
@@ -146,11 +173,11 @@
|
|
|
146
173
|
}
|
|
147
174
|
|
|
148
175
|
.lov-options li:hover {
|
|
149
|
-
color: $cc-co-list-of-values-lov-options-li-hover-text-color;
|
|
176
|
+
//color: $cc-co-list-of-values-lov-options-li-hover-text-color;
|
|
150
177
|
background-color: $cc-co-list-of-values-lov-options-li-hover;
|
|
151
178
|
}
|
|
152
179
|
|
|
153
|
-
.lov-options li.selected {
|
|
180
|
+
.lov-options li.selected, .lov-options li.active {
|
|
154
181
|
background-color: $cc-co-list-of-values-lov-options-li-selected;
|
|
155
182
|
color: $cc-co-list-of-values-lov-options-li-selected-text-color;
|
|
156
183
|
}
|
|
@@ -162,4 +189,9 @@
|
|
|
162
189
|
padding: 0.25em;
|
|
163
190
|
}
|
|
164
191
|
}
|
|
192
|
+
@media (prefers-reduced-motion: reduce) {
|
|
193
|
+
co-list-of-values-popup.lov-anim .lov-options {
|
|
194
|
+
transition: none;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
165
197
|
}
|
|
@@ -18,7 +18,7 @@ $cc-co-list-of-values-lov-options-li-border-bottom: 1px solid #ccc !default;
|
|
|
18
18
|
$cc-co-list-of-values-lov-options-li-padding: 8px !default;
|
|
19
19
|
$cc-co-list-of-values-lov-options-li-border-radius: 5px !default;
|
|
20
20
|
$cc-co-list-of-values-lov-options-li-margin: 5px !default;
|
|
21
|
-
$cc-co-list-of-values-lov-options-li-hover: $cc-color-
|
|
21
|
+
$cc-co-list-of-values-lov-options-li-hover: $cc-color-grey !default;
|
|
22
22
|
$cc-co-list-of-values-lov-options-li-hover-text-color: $cc-color-input-lov !default;
|
|
23
23
|
$cc-co-list-of-values-lov-options-li-selected: $cc-color-grey !default;
|
|
24
24
|
$cc-co-list-of-values-lov-options-li-selected-text-color: $cc-color-input-lov !default;
|
|
@@ -35,7 +35,7 @@ $cc-color-error: #C1002A !default;
|
|
|
35
35
|
$cc-color-valid: #429777 !default;
|
|
36
36
|
$cc-color-input-search-triangle: #e26bcd !default;
|
|
37
37
|
$cc-color-input-sequence: #B00060 !default;
|
|
38
|
-
$cc-color-input-lov: #
|
|
38
|
+
$cc-color-input-lov: #1A73E8 !default;
|
|
39
39
|
$cc-color-code: #00628D !default;
|
|
40
40
|
$cc-color-input-focus: #BBD9E6 !default;
|
|
41
41
|
$cc-color-label-active: #525E64 !default;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/corecomponents_v12",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "261.1.1",
|
|
4
4
|
"description": "Colijn IT core components for Angular 12",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@angular/common": ">=12.2.0",
|
|
8
8
|
"@angular/core": ">=12.2.0",
|
|
9
|
-
"@colijnit/ioneconnector": ">=
|
|
9
|
+
"@colijnit/ioneconnector": ">=261.1.0",
|
|
10
10
|
"@types/hammerjs": "2.0.35",
|
|
11
11
|
"@types/three": ">=0.166.0",
|
|
12
12
|
"@tweenjs/tween.js": ">=17.2.0",
|