@tetacom/ng-components 1.0.36 → 1.0.39
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/icons.svg +503 -657
- package/component/dropdown/dropdown/dropdown.component.d.ts +1 -1
- package/component/expand-card/expand-card/expand-card.component.d.ts +13 -0
- package/component/expand-card/expand-card.module.d.ts +12 -0
- package/component/expand-card/public-api.d.ts +2 -0
- package/component/file-upload/file-upload.module.d.ts +2 -1
- package/component/modal/modal-container/modal-container.component.d.ts +1 -1
- package/component/modal/modal.service.d.ts +1 -1
- package/component/modal/model/i-modal-result.d.ts +2 -1
- package/component/modal/model/modal-instance.d.ts +2 -2
- package/component/public-api.d.ts +2 -0
- package/component/resize-panel/resize-panel/resize-panel.component.d.ts +1 -0
- package/component/table/enum/select-type.enum.d.ts +2 -2
- package/directive/context-menu/context-menu.directive.d.ts +4 -1
- package/directive/drag-drop/drag-container.directive.d.ts +32 -0
- package/directive/drag-drop/drag-drop.module.d.ts +11 -0
- package/directive/drag-drop/drag-drop.service.d.ts +40 -0
- package/directive/drag-drop/drag-placeholder.directive.d.ts +6 -0
- package/directive/drag-drop/drag-preview.directive.d.ts +8 -0
- package/directive/drag-drop/drag.directive.d.ts +31 -0
- package/directive/drag-drop/model/drag-container-instance.d.ts +11 -0
- package/directive/drag-drop/model/drag-instance.d.ts +9 -0
- package/directive/drag-drop/model/drag-process.d.ts +4 -0
- package/directive/drag-drop/model/drag-selection.d.ts +6 -0
- package/directive/drag-drop/model/drop-event.d.ts +8 -0
- package/directive/drag-drop/model/drop-target.d.ts +3 -0
- package/directive/drag-drop/model/point.d.ts +4 -0
- package/directive/drag-drop/model/public-api.d.ts +7 -0
- package/directive/drag-drop/public-api.d.ts +7 -0
- package/directive/let/let.directive.d.ts +18 -0
- package/directive/let/let.module.d.ts +8 -0
- package/directive/let/public-api.d.ts +2 -0
- package/directive/public-api.d.ts +3 -1
- package/directive/scroll-into-view/public-api.d.ts +2 -0
- package/directive/scroll-into-view/scroll-into-view.directive.d.ts +13 -0
- package/directive/scroll-into-view/scroll-into-view.module.d.ts +8 -0
- package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +1 -1
- package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +1 -1
- package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +3 -3
- package/esm2020/component/dropdown/dropdown-base.mjs +3 -4
- package/esm2020/component/expand-card/expand-card/expand-card.component.mjs +36 -0
- package/esm2020/component/expand-card/expand-card.module.mjs +42 -0
- package/esm2020/component/expand-card/public-api.mjs +3 -0
- package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +3 -3
- package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +4 -3
- package/esm2020/component/file-upload/file-upload.module.mjs +5 -4
- package/esm2020/component/modal/modal-container/modal-container.component.mjs +7 -7
- package/esm2020/component/modal/modal.service.mjs +1 -1
- package/esm2020/component/modal/model/i-modal-result.mjs +1 -1
- package/esm2020/component/modal/model/modal-instance.mjs +4 -2
- package/esm2020/component/public-api.mjs +5 -1
- package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +6 -3
- package/esm2020/component/select/select/select.component.mjs +1 -1
- package/esm2020/component/table/enum/select-type.enum.mjs +3 -3
- package/esm2020/component/table/head-cell/head-cell.component.mjs +1 -1
- package/esm2020/component/table/service/table.service.mjs +5 -20
- package/esm2020/component/table/table/table.component.mjs +7 -4
- package/esm2020/component/table/table-body/table-body.component.mjs +4 -4
- package/esm2020/component/table/table-head/table-head.component.mjs +4 -4
- package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
- package/esm2020/directive/context-menu/context-menu.directive.mjs +36 -11
- package/esm2020/directive/drag-drop/drag-container.directive.mjs +92 -0
- package/esm2020/directive/drag-drop/drag-drop.module.mjs +41 -0
- package/esm2020/directive/drag-drop/drag-drop.service.mjs +140 -0
- package/esm2020/directive/drag-drop/drag-placeholder.directive.mjs +14 -0
- package/esm2020/directive/drag-drop/drag-preview.directive.mjs +16 -0
- package/esm2020/directive/drag-drop/drag.directive.mjs +128 -0
- package/esm2020/directive/drag-drop/model/drag-container-instance.mjs +8 -0
- package/esm2020/directive/drag-drop/model/drag-instance.mjs +7 -0
- package/esm2020/directive/drag-drop/model/drag-process.mjs +2 -0
- package/esm2020/directive/drag-drop/model/drag-selection.mjs +2 -0
- package/esm2020/directive/drag-drop/model/drop-event.mjs +2 -0
- package/esm2020/directive/drag-drop/model/drop-target.mjs +2 -0
- package/esm2020/directive/drag-drop/model/point.mjs +2 -0
- package/esm2020/directive/drag-drop/model/public-api.mjs +8 -0
- package/esm2020/directive/drag-drop/public-api.mjs +8 -0
- package/esm2020/directive/let/let.directive.mjs +38 -0
- package/esm2020/directive/let/let.module.mjs +25 -0
- package/esm2020/directive/let/public-api.mjs +3 -0
- package/esm2020/directive/public-api.mjs +4 -2
- package/esm2020/directive/scroll-into-view/public-api.mjs +3 -0
- package/esm2020/directive/scroll-into-view/scroll-into-view.directive.mjs +40 -0
- package/esm2020/directive/scroll-into-view/scroll-into-view.module.mjs +25 -0
- package/esm2020/observable/public-api.mjs +2 -0
- package/esm2020/observable/zoneObservable.mjs +15 -0
- package/esm2020/public-api.mjs +3 -1
- package/esm2020/util/forms-util.mjs +7 -1
- package/fesm2015/tetacom-ng-components.mjs +992 -344
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +975 -341
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/observable/public-api.d.ts +1 -0
- package/observable/zoneObservable.d.ts +5 -0
- package/package.json +6 -2
- package/public-api.d.ts +1 -0
- package/style/button.scss +1 -1
- package/style/input.scss +1 -1
- package/style/layout.scss +30 -2
- package/style/list.scss +9 -4
- package/style/modal.scss +2 -0
- package/style/presets/color-presets.scss +77 -79
- package/style/presets/font-presets.scss +21 -21
- package/style/presets/shadow-presets.scss +6 -6
- package/style/radio.scss +2 -2
- package/style/switch.scss +3 -3
- package/style/table.scss +1 -1
- package/style/toolbar.scss +1 -1
- package/style/util/button-util.scss +2 -2
- package/util/forms-util.d.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './zoneObservable';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
import { MonoTypeOperatorFunction } from 'rxjs';
|
|
3
|
+
export declare function tetaZoneFull<T>(ngZone: NgZone): MonoTypeOperatorFunction<T>;
|
|
4
|
+
export declare function tetaZoneFree<T>(ngZone: NgZone): MonoTypeOperatorFunction<T>;
|
|
5
|
+
export declare function tetaZoneOptimized<T>(ngZone: NgZone): MonoTypeOperatorFunction<T>;
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tetacom/ng-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.39",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^13.0.0",
|
|
7
|
-
"@angular/core": "^13.0.0"
|
|
7
|
+
"@angular/core": "^13.0.0",
|
|
8
|
+
"d3": "^7.1.1",
|
|
9
|
+
"@ngneat/transloco": "^3.1.0",
|
|
10
|
+
"object-hash": "^2.2.0",
|
|
11
|
+
"three": "^0.139.2"
|
|
8
12
|
},
|
|
9
13
|
"dependencies": {
|
|
10
14
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
package/style/button.scss
CHANGED
package/style/input.scss
CHANGED
package/style/layout.scss
CHANGED
|
@@ -74,7 +74,35 @@ body {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.gap {
|
|
77
|
-
grid-gap: 8px
|
|
77
|
+
grid-gap: 8px !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.gap-4 {
|
|
81
|
+
grid-gap: 4px !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.gap-8 {
|
|
85
|
+
grid-gap: 8px !important;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.gap-12 {
|
|
89
|
+
grid-gap: 12px !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.gap-16 {
|
|
93
|
+
grid-gap: 16px !important;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.gap-20 {
|
|
97
|
+
grid-gap: 20px !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.gap-24 {
|
|
101
|
+
grid-gap: 24px !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.gap-40 {
|
|
105
|
+
grid-gap: 40px !important;
|
|
78
106
|
}
|
|
79
107
|
|
|
80
108
|
.grid {
|
|
@@ -103,7 +131,7 @@ body {
|
|
|
103
131
|
|
|
104
132
|
.content-block {
|
|
105
133
|
border: solid 0;
|
|
106
|
-
border-radius:
|
|
134
|
+
border-radius: 4px;
|
|
107
135
|
overflow: hidden;
|
|
108
136
|
background: getColorVar('background', 50);
|
|
109
137
|
}
|
package/style/list.scss
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
@import "util/font-util.scss";
|
|
3
3
|
|
|
4
4
|
.list {
|
|
5
|
-
padding:
|
|
5
|
+
padding: 8px 0;
|
|
6
6
|
display: inline-flex;
|
|
7
7
|
flex-direction: column;
|
|
8
|
-
border-radius:
|
|
8
|
+
border-radius: 4px;
|
|
9
9
|
color: getColorVar('text', '90');
|
|
10
10
|
background-color: getColorVar('background', '50');
|
|
11
11
|
@include getFont($fonts, 'body-3');
|
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
padding: 0 16px;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
&_disabled {
|
|
30
|
+
color: getColorVar('text', '20');
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
29
34
|
&_interactive {
|
|
30
35
|
background-color: transparent;
|
|
31
36
|
transition: background 0.4s;
|
|
@@ -48,8 +53,8 @@
|
|
|
48
53
|
&-divider {
|
|
49
54
|
height: 1px;
|
|
50
55
|
flex-shrink: 0;
|
|
51
|
-
margin:
|
|
52
|
-
background-color: getColorVar('text', '
|
|
56
|
+
margin: 8px 0;
|
|
57
|
+
background-color: getColorVar('text', '10');
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
&-title {
|
package/style/modal.scss
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
$themes: (
|
|
2
2
|
'default': (
|
|
3
3
|
'text': (
|
|
4
|
-
'90':
|
|
5
|
-
'80':
|
|
6
|
-
'70':
|
|
7
|
-
'60':
|
|
8
|
-
'50':
|
|
9
|
-
'40':
|
|
10
|
-
'30':
|
|
11
|
-
'20':
|
|
12
|
-
'10':
|
|
13
|
-
'5':
|
|
4
|
+
'90': rgba(33, 36, 42),
|
|
5
|
+
'80': rgba(55, 58, 64),
|
|
6
|
+
'70': rgba(77, 80, 86),
|
|
7
|
+
'60': rgba(105, 107, 113),
|
|
8
|
+
'50': rgba(140, 142, 148),
|
|
9
|
+
'40': rgba(173, 175, 181),
|
|
10
|
+
'30': rgba(204, 206, 213),
|
|
11
|
+
'20': rgba(221, 223, 230),
|
|
12
|
+
'10': rgba(230, 232, 239),
|
|
13
|
+
'5': rgba(232, 234, 241),
|
|
14
14
|
),
|
|
15
15
|
'primary': (
|
|
16
|
-
'90':
|
|
17
|
-
'80':
|
|
18
|
-
'70':
|
|
19
|
-
'60':
|
|
20
|
-
'50':
|
|
21
|
-
'40':
|
|
22
|
-
'30':
|
|
23
|
-
'20':
|
|
24
|
-
'10':
|
|
25
|
-
'5':
|
|
16
|
+
'90': rgba(21, 54, 125),
|
|
17
|
+
'80': rgba(26, 68, 157),
|
|
18
|
+
'70': rgba(31, 81, 189),
|
|
19
|
+
'60': rgba(36, 95, 221),
|
|
20
|
+
'50': rgba(40, 108, 253),
|
|
21
|
+
'40': rgba(80, 134, 253),
|
|
22
|
+
'30': rgba(119, 160, 254),
|
|
23
|
+
'20': rgba(159, 187, 254),
|
|
24
|
+
'10': rgba(198, 215, 255),
|
|
25
|
+
'5': rgba(238, 243, 255),
|
|
26
26
|
),
|
|
27
27
|
'red': (
|
|
28
|
-
'90':
|
|
29
|
-
'80':
|
|
30
|
-
'70':
|
|
31
|
-
'60':
|
|
32
|
-
'50':
|
|
33
|
-
'40':
|
|
34
|
-
'30':
|
|
35
|
-
'20':
|
|
36
|
-
'10':
|
|
37
|
-
'5':
|
|
28
|
+
'90': rgba(168, 46, 38),
|
|
29
|
+
'80': rgba(183, 56, 49),
|
|
30
|
+
'70': rgba(194, 63, 56),
|
|
31
|
+
'60': rgba(212, 72, 62),
|
|
32
|
+
'50': rgba(226, 82, 65),
|
|
33
|
+
'40': rgba(222, 94, 86),
|
|
34
|
+
'30': rgba(215, 121, 118),
|
|
35
|
+
'20': rgba(227, 158, 156),
|
|
36
|
+
'10': rgba(247, 207, 211),
|
|
37
|
+
'5': rgba(252, 236, 238),
|
|
38
38
|
),
|
|
39
39
|
'green': (
|
|
40
|
-
'90':
|
|
41
|
-
'80':
|
|
42
|
-
'70':
|
|
43
|
-
'60':
|
|
44
|
-
'50':
|
|
45
|
-
'40':
|
|
46
|
-
'30':
|
|
47
|
-
'20':
|
|
48
|
-
'10':
|
|
49
|
-
'5':
|
|
40
|
+
'90': rgba(40, 95, 27),
|
|
41
|
+
'80': rgba(55, 126, 48),
|
|
42
|
+
'70': rgba(66, 142, 59),
|
|
43
|
+
'60': rgba(78, 160, 70),
|
|
44
|
+
'50': rgba(89, 174, 80),
|
|
45
|
+
'40': rgba(111, 187, 105),
|
|
46
|
+
'30': rgba(136, 198, 131),
|
|
47
|
+
'20': rgba(169, 214, 166),
|
|
48
|
+
'10': rgba(203, 230, 201),
|
|
49
|
+
'5': rgba(233, 245, 233),
|
|
50
50
|
),
|
|
51
51
|
'yellow': (
|
|
52
|
-
'90':
|
|
53
|
-
'80':
|
|
54
|
-
'70':
|
|
55
|
-
'60':
|
|
56
|
-
'50':
|
|
57
|
-
'40':
|
|
58
|
-
'30':
|
|
59
|
-
'20':
|
|
60
|
-
'10':
|
|
61
|
-
'5':
|
|
52
|
+
'90': rgba(238, 104, 0),
|
|
53
|
+
'80': rgba(238, 136, 0),
|
|
54
|
+
'70': rgba(238, 152, 0),
|
|
55
|
+
'60': rgba(238, 171, 0),
|
|
56
|
+
'50': rgba(237, 184, 0),
|
|
57
|
+
'40': rgba(239, 194, 27),
|
|
58
|
+
'30': rgba(241, 206, 72),
|
|
59
|
+
'20': rgba(245, 219, 126),
|
|
60
|
+
'10': rgba(249, 233, 177),
|
|
61
|
+
'5': rgba(252, 247, 225),
|
|
62
62
|
),
|
|
63
63
|
'background': (
|
|
64
|
-
'50':
|
|
65
|
-
'0':
|
|
64
|
+
'50': rgba(255, 255, 255),
|
|
65
|
+
'0': rgba(244, 245, 247),
|
|
66
66
|
),
|
|
67
67
|
'white': (
|
|
68
|
-
'50': rgba(255,255,255
|
|
68
|
+
'50': rgba(255, 255, 255)
|
|
69
69
|
),
|
|
70
70
|
'backdrop': (
|
|
71
|
-
'50': rgba(144,148,153,0.4)
|
|
71
|
+
'50': rgba(144, 148, 153, 0.4)
|
|
72
72
|
)
|
|
73
73
|
),
|
|
74
74
|
'dark': (
|
|
75
75
|
'primary': (
|
|
76
|
-
'90':
|
|
77
|
-
'80':
|
|
78
|
-
'70':
|
|
79
|
-
'60':
|
|
80
|
-
'50':
|
|
81
|
-
'40':
|
|
82
|
-
'30':
|
|
83
|
-
'20':
|
|
84
|
-
'10':
|
|
85
|
-
'5':
|
|
76
|
+
'90': rgba(118,173,255,1),
|
|
77
|
+
'80': rgba(89,155,255,1),
|
|
78
|
+
'70': rgba(59,138,255,1),
|
|
79
|
+
'60': rgba(46,122,255,1),
|
|
80
|
+
'50': rgba(40,108,253,1),
|
|
81
|
+
'40': rgba(45,93,212,1),
|
|
82
|
+
'30': rgba(47,80,175,1),
|
|
83
|
+
'20': rgba(46,68,139,1),
|
|
84
|
+
'10': rgba(43,56,107,1),
|
|
85
|
+
'5': rgba(37,44,77,1),
|
|
86
86
|
),
|
|
87
87
|
'text': (
|
|
88
|
-
'90': rgba(
|
|
89
|
-
'80': rgba(
|
|
90
|
-
'70': rgba(
|
|
91
|
-
'60': rgba(
|
|
92
|
-
'50': rgba(
|
|
93
|
-
'40': rgba(
|
|
94
|
-
'30': rgba(
|
|
95
|
-
'20': rgba(
|
|
96
|
-
'10': rgba(
|
|
97
|
-
'5': rgba(
|
|
88
|
+
'90': rgba(211,213,215,1),
|
|
89
|
+
'80': rgba(147,151,155,1),
|
|
90
|
+
'70': rgba(128,131,137,1),
|
|
91
|
+
'60': rgba(90,91,98,1),
|
|
92
|
+
'50': rgba(62,62,69,1),
|
|
93
|
+
'40': rgba(81,81,88,1),
|
|
94
|
+
'30': rgba(71,71,78,1),
|
|
95
|
+
'20': rgba(61,61,68,1),
|
|
96
|
+
'10': rgba(51,51,58,1),
|
|
97
|
+
'5': rgba(41,41,48,1),
|
|
98
98
|
),
|
|
99
99
|
'red': (
|
|
100
100
|
'90': rgba(168,46,38,1),
|
|
@@ -107,7 +107,6 @@ $themes: (
|
|
|
107
107
|
'20': rgba(227,158,156,1),
|
|
108
108
|
'10': rgba(247,207,211,1),
|
|
109
109
|
'5': rgba(252,236,238,1),
|
|
110
|
-
'0': rgba(255,244,246,1),
|
|
111
110
|
),
|
|
112
111
|
'green': (
|
|
113
112
|
'90': rgba(40,95,27,1),
|
|
@@ -120,7 +119,6 @@ $themes: (
|
|
|
120
119
|
'20': rgba(169,214,166,1),
|
|
121
120
|
'10': rgba(203,230,201,1),
|
|
122
121
|
'5': rgba(233,245,233,1),
|
|
123
|
-
'0': rgba(244,252,244,1),
|
|
124
122
|
),
|
|
125
123
|
'yellow': (
|
|
126
124
|
'90': rgba(238,104,0,1),
|
|
@@ -135,14 +133,14 @@ $themes: (
|
|
|
135
133
|
'5': rgba(252,247,225,1),
|
|
136
134
|
),
|
|
137
135
|
'background': (
|
|
138
|
-
'
|
|
139
|
-
'
|
|
136
|
+
'50': rgba(34,34,41,1),
|
|
137
|
+
'0': rgba(28,27,33,1),
|
|
140
138
|
),
|
|
141
139
|
'white': (
|
|
142
140
|
'50': rgba(255, 255, 255, 1)
|
|
143
141
|
),
|
|
144
142
|
'backdrop': (
|
|
145
|
-
'50': rgba(144,148,153,0.4)
|
|
143
|
+
'50': rgba(144, 148, 153, 0.4)
|
|
146
144
|
)
|
|
147
145
|
)
|
|
148
146
|
);
|
|
@@ -5,7 +5,7 @@ $fonts: (
|
|
|
5
5
|
font-weight:600,
|
|
6
6
|
font-style:normal,
|
|
7
7
|
letter-spacing:0.15px,
|
|
8
|
-
text-decoration:none
|
|
8
|
+
text-decoration:none
|
|
9
9
|
),
|
|
10
10
|
h-2: (
|
|
11
11
|
font-size:60px,
|
|
@@ -13,7 +13,7 @@ $fonts: (
|
|
|
13
13
|
font-weight:600,
|
|
14
14
|
font-style:normal,
|
|
15
15
|
letter-spacing:0.15px,
|
|
16
|
-
text-decoration:none
|
|
16
|
+
text-decoration:none
|
|
17
17
|
),
|
|
18
18
|
h-3: (
|
|
19
19
|
font-size:48px,
|
|
@@ -21,7 +21,7 @@ $fonts: (
|
|
|
21
21
|
font-weight:600,
|
|
22
22
|
font-style:normal,
|
|
23
23
|
letter-spacing:0.15px,
|
|
24
|
-
text-decoration:none
|
|
24
|
+
text-decoration:none
|
|
25
25
|
),
|
|
26
26
|
h-4: (
|
|
27
27
|
font-size:35px,
|
|
@@ -30,7 +30,7 @@ $fonts: (
|
|
|
30
30
|
font-style:normal,
|
|
31
31
|
line-height:44px,
|
|
32
32
|
letter-spacing:0.15px,
|
|
33
|
-
text-decoration:none
|
|
33
|
+
text-decoration:none
|
|
34
34
|
),
|
|
35
35
|
h-5: (
|
|
36
36
|
font-size:28px,
|
|
@@ -38,7 +38,7 @@ $fonts: (
|
|
|
38
38
|
font-weight:600,
|
|
39
39
|
font-style:normal,
|
|
40
40
|
letter-spacing:0.15px,
|
|
41
|
-
text-decoration:none
|
|
41
|
+
text-decoration:none
|
|
42
42
|
),
|
|
43
43
|
h-6: (
|
|
44
44
|
font-size:20px,
|
|
@@ -46,7 +46,7 @@ $fonts: (
|
|
|
46
46
|
font-weight:600,
|
|
47
47
|
font-style:normal,
|
|
48
48
|
letter-spacing:0.15px,
|
|
49
|
-
text-decoration:none
|
|
49
|
+
text-decoration:none
|
|
50
50
|
),
|
|
51
51
|
title-1: (
|
|
52
52
|
font-size:16px,
|
|
@@ -55,7 +55,7 @@ $fonts: (
|
|
|
55
55
|
font-style:normal,
|
|
56
56
|
line-height:24px,
|
|
57
57
|
letter-spacing:0.0015em,
|
|
58
|
-
text-decoration:none
|
|
58
|
+
text-decoration:none
|
|
59
59
|
),
|
|
60
60
|
title-2: (
|
|
61
61
|
font-size:14px,
|
|
@@ -63,7 +63,7 @@ $fonts: (
|
|
|
63
63
|
font-weight:600,
|
|
64
64
|
font-style:normal,
|
|
65
65
|
line-height:16px,
|
|
66
|
-
text-decoration:none
|
|
66
|
+
text-decoration:none
|
|
67
67
|
),
|
|
68
68
|
title-3: (
|
|
69
69
|
font-size:12px,
|
|
@@ -71,7 +71,7 @@ $fonts: (
|
|
|
71
71
|
font-weight:600,
|
|
72
72
|
font-style:normal,
|
|
73
73
|
line-height:16px,
|
|
74
|
-
text-decoration:none
|
|
74
|
+
text-decoration:none
|
|
75
75
|
),
|
|
76
76
|
body-1: (
|
|
77
77
|
font-size:16px,
|
|
@@ -79,7 +79,7 @@ $fonts: (
|
|
|
79
79
|
font-weight:normal,
|
|
80
80
|
font-style:normal,
|
|
81
81
|
line-height:24px,
|
|
82
|
-
text-decoration:none
|
|
82
|
+
text-decoration:none
|
|
83
83
|
),
|
|
84
84
|
body-2: (
|
|
85
85
|
font-size:14px,
|
|
@@ -87,7 +87,7 @@ $fonts: (
|
|
|
87
87
|
font-weight:normal,
|
|
88
88
|
font-style:normal,
|
|
89
89
|
line-height:16px,
|
|
90
|
-
text-decoration:none
|
|
90
|
+
text-decoration:none
|
|
91
91
|
),
|
|
92
92
|
body-3: (
|
|
93
93
|
font-size:12px,
|
|
@@ -95,7 +95,7 @@ $fonts: (
|
|
|
95
95
|
font-weight:normal,
|
|
96
96
|
font-style:normal,
|
|
97
97
|
line-height:16px,
|
|
98
|
-
text-decoration:none
|
|
98
|
+
text-decoration:none
|
|
99
99
|
),
|
|
100
100
|
button-1: (
|
|
101
101
|
font-size:13px,
|
|
@@ -103,7 +103,7 @@ $fonts: (
|
|
|
103
103
|
font-weight:600,
|
|
104
104
|
font-style:normal,
|
|
105
105
|
line-height:20px,
|
|
106
|
-
text-decoration:none
|
|
106
|
+
text-decoration:none
|
|
107
107
|
),
|
|
108
108
|
button-2: (
|
|
109
109
|
font-size:11px,
|
|
@@ -111,7 +111,7 @@ $fonts: (
|
|
|
111
111
|
font-weight:600,
|
|
112
112
|
font-style:normal,
|
|
113
113
|
line-height:16px,
|
|
114
|
-
text-decoration:none
|
|
114
|
+
text-decoration:none
|
|
115
115
|
),
|
|
116
116
|
button-3: (
|
|
117
117
|
font-size:10px,
|
|
@@ -119,23 +119,23 @@ $fonts: (
|
|
|
119
119
|
font-weight:600,
|
|
120
120
|
font-style:normal,
|
|
121
121
|
line-height:14px,
|
|
122
|
-
text-decoration:none
|
|
122
|
+
text-decoration:none
|
|
123
123
|
),
|
|
124
124
|
caption: (
|
|
125
|
-
font-size:
|
|
125
|
+
font-size:11px,
|
|
126
126
|
font-family:"Open Sans",
|
|
127
127
|
font-weight:normal,
|
|
128
128
|
font-style:normal,
|
|
129
|
-
line-height:
|
|
130
|
-
text-decoration:none
|
|
129
|
+
line-height:16px,
|
|
130
|
+
text-decoration:none
|
|
131
131
|
),
|
|
132
132
|
table-header: (
|
|
133
133
|
font-size:11px,
|
|
134
134
|
font-family:"Open Sans",
|
|
135
|
-
font-weight:
|
|
135
|
+
font-weight:600,
|
|
136
136
|
font-style:normal,
|
|
137
137
|
line-height:12px,
|
|
138
|
-
text-decoration:none
|
|
138
|
+
text-decoration:none
|
|
139
139
|
),
|
|
140
140
|
overline: (
|
|
141
141
|
font-size:10px,
|
|
@@ -144,6 +144,6 @@ $fonts: (
|
|
|
144
144
|
font-style:normal,
|
|
145
145
|
line-height:12px,
|
|
146
146
|
letter-spacing:1.5px,
|
|
147
|
-
text-decoration:none
|
|
147
|
+
text-decoration:none
|
|
148
148
|
)
|
|
149
149
|
)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
$shadows: (
|
|
2
2
|
'default': (
|
|
3
3
|
'1': 0px 1px 0px #DAE0EB,
|
|
4
|
-
'2': 0px
|
|
4
|
+
'2': 0px 14px 18px 0px rgba(0, 0, 0, 0.06),
|
|
5
5
|
'3': 0px 8px 16px rgba(39, 39, 39, 0.26),
|
|
6
6
|
'4': 0px 12px 24px rgba(39, 39, 39, 0.26),
|
|
7
7
|
'5': 0px 16px 32px rgba(39, 39, 39, 0.26),
|
|
8
8
|
),
|
|
9
9
|
'dark': (
|
|
10
|
-
'1': 0px
|
|
11
|
-
'2': 0px
|
|
12
|
-
'3': 0px 8px 16px rgba(0, 0, 0, 0.
|
|
13
|
-
'4': 0px 12px 24px rgba(0, 0, 0, 0.
|
|
14
|
-
'5': 0px 16px 32px rgba(0, 0, 0, 0.
|
|
10
|
+
'1': 0px 1px 0px rgba(11, 11, 12, 1),
|
|
11
|
+
'2': 0px 14px 18px rgba(0, 0, 0, 0.3),
|
|
12
|
+
'3': 0px 8px 16px rgba(0, 0, 0, 0.400),
|
|
13
|
+
'4': 0px 12px 24px rgba(0, 0, 0, 0.400),
|
|
14
|
+
'5': 0px 16px 32px rgba(0, 0, 0, 0.400),
|
|
15
15
|
)
|
|
16
16
|
);
|
package/style/radio.scss
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
display: inline-flex;
|
|
22
22
|
align-items: center;
|
|
23
23
|
justify-content: center;
|
|
24
|
-
border: solid 1px getColorVar('
|
|
24
|
+
border: solid 1px getColorVar('primary', '50');
|
|
25
25
|
border-radius: 8px;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&:hover:not(&_disabled) &-icon {
|
|
53
|
-
|
|
53
|
+
background: getColorVar('text', '5');
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
package/style/switch.scss
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
.switch {
|
|
5
5
|
display: inline-flex;
|
|
6
6
|
border: solid 0;
|
|
7
|
-
border-radius:
|
|
7
|
+
border-radius: 4px;
|
|
8
8
|
height: 28px;
|
|
9
9
|
@include getFont($fonts, 'button-2');
|
|
10
|
-
background: getColorVar('
|
|
10
|
+
background: getColorVar('background', '50');
|
|
11
11
|
color: getColorVar('text', '90');
|
|
12
12
|
fill: getColorVar('text', '90');
|
|
13
|
-
overflow: hidden;
|
|
13
|
+
//overflow: hidden;
|
|
14
14
|
|
|
15
15
|
&-button {
|
|
16
16
|
display: inline-flex;
|
package/style/table.scss
CHANGED
package/style/toolbar.scss
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.button_ghost.button-#{$paletteName} {
|
|
21
|
-
color: getColorVar($paletteName, '
|
|
22
|
-
fill: getColorVar($paletteName, '
|
|
21
|
+
color: getColorVar($paletteName, '90');
|
|
22
|
+
fill: getColorVar($paletteName, '90');
|
|
23
23
|
background-color: transparent;
|
|
24
24
|
background-position: center;
|
|
25
25
|
transition: background 0.8s;
|
package/util/forms-util.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { TableColumn } from '../component/table/contract/table-column';
|
|
|
3
3
|
export declare class FormsUtil {
|
|
4
4
|
static validateAllFormFields(formGroup: FormGroup): void;
|
|
5
5
|
static controlIsInvalid(formGroup: FormGroup, controlName: string): boolean;
|
|
6
|
+
static getControlErrors(formGroup: FormGroup, controlName: string): string[];
|
|
6
7
|
static matchValuesValidator(matchTo: string): (control: AbstractControl) => ValidationErrors | null;
|
|
7
8
|
static requiredIf(value: boolean): (control: AbstractControl) => ValidationErrors | null;
|
|
8
9
|
static initFormFromColumns(columns: TableColumn[], dataItem: any): FormGroup;
|