@tetacom/ng-components 1.0.35 → 1.0.38

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.
Files changed (101) hide show
  1. package/assets/icons.svg +503 -657
  2. package/component/expand-card/expand-card/expand-card.component.d.ts +13 -0
  3. package/component/expand-card/expand-card.module.d.ts +12 -0
  4. package/component/expand-card/public-api.d.ts +2 -0
  5. package/component/file-upload/file-upload.module.d.ts +2 -1
  6. package/component/modal/modal-container/modal-container.component.d.ts +1 -1
  7. package/component/modal/modal.service.d.ts +1 -1
  8. package/component/modal/model/i-modal-result.d.ts +2 -1
  9. package/component/modal/model/modal-instance.d.ts +2 -2
  10. package/component/public-api.d.ts +2 -0
  11. package/component/resize-panel/resize-panel/resize-panel.component.d.ts +1 -0
  12. package/component/table/enum/select-type.enum.d.ts +2 -2
  13. package/directive/context-menu/context-menu.directive.d.ts +4 -1
  14. package/directive/drag-drop/drag-container.directive.d.ts +32 -0
  15. package/directive/drag-drop/drag-drop.module.d.ts +11 -0
  16. package/directive/drag-drop/drag-drop.service.d.ts +40 -0
  17. package/directive/drag-drop/drag-placeholder.directive.d.ts +6 -0
  18. package/directive/drag-drop/drag-preview.directive.d.ts +8 -0
  19. package/directive/drag-drop/drag.directive.d.ts +31 -0
  20. package/directive/drag-drop/model/drag-container-instance.d.ts +11 -0
  21. package/directive/drag-drop/model/drag-instance.d.ts +9 -0
  22. package/directive/drag-drop/model/drag-process.d.ts +4 -0
  23. package/directive/drag-drop/model/drag-selection.d.ts +6 -0
  24. package/directive/drag-drop/model/drop-event.d.ts +8 -0
  25. package/directive/drag-drop/model/drop-target.d.ts +3 -0
  26. package/directive/drag-drop/model/point.d.ts +4 -0
  27. package/directive/drag-drop/model/public-api.d.ts +7 -0
  28. package/directive/drag-drop/public-api.d.ts +7 -0
  29. package/directive/let/let.directive.d.ts +18 -0
  30. package/directive/let/let.module.d.ts +8 -0
  31. package/directive/let/public-api.d.ts +2 -0
  32. package/directive/public-api.d.ts +2 -1
  33. package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -3
  34. package/esm2020/component/dropdown/dropdown-base.mjs +3 -4
  35. package/esm2020/component/expand-card/expand-card/expand-card.component.mjs +36 -0
  36. package/esm2020/component/expand-card/expand-card.module.mjs +42 -0
  37. package/esm2020/component/expand-card/public-api.mjs +3 -0
  38. package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +3 -3
  39. package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +4 -3
  40. package/esm2020/component/file-upload/file-upload.module.mjs +5 -4
  41. package/esm2020/component/modal/modal-container/modal-container.component.mjs +7 -7
  42. package/esm2020/component/modal/modal.service.mjs +1 -1
  43. package/esm2020/component/modal/model/i-modal-result.mjs +1 -1
  44. package/esm2020/component/modal/model/modal-instance.mjs +4 -2
  45. package/esm2020/component/public-api.mjs +5 -1
  46. package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +6 -3
  47. package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +2 -2
  48. package/esm2020/component/table/enum/select-type.enum.mjs +3 -3
  49. package/esm2020/component/table/service/table.service.mjs +5 -20
  50. package/esm2020/component/table/table/table.component.mjs +7 -4
  51. package/esm2020/component/table/table-body/table-body.component.mjs +4 -4
  52. package/esm2020/component/table/table-head/table-head.component.mjs +4 -4
  53. package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
  54. package/esm2020/directive/context-menu/context-menu.directive.mjs +36 -11
  55. package/esm2020/directive/drag-drop/drag-container.directive.mjs +92 -0
  56. package/esm2020/directive/drag-drop/drag-drop.module.mjs +41 -0
  57. package/esm2020/directive/drag-drop/drag-drop.service.mjs +140 -0
  58. package/esm2020/directive/drag-drop/drag-placeholder.directive.mjs +14 -0
  59. package/esm2020/directive/drag-drop/drag-preview.directive.mjs +16 -0
  60. package/esm2020/directive/drag-drop/drag.directive.mjs +128 -0
  61. package/esm2020/directive/drag-drop/model/drag-container-instance.mjs +8 -0
  62. package/esm2020/directive/drag-drop/model/drag-instance.mjs +7 -0
  63. package/esm2020/directive/drag-drop/model/drag-process.mjs +2 -0
  64. package/esm2020/directive/drag-drop/model/drag-selection.mjs +2 -0
  65. package/esm2020/directive/drag-drop/model/drop-event.mjs +2 -0
  66. package/esm2020/directive/drag-drop/model/drop-target.mjs +2 -0
  67. package/esm2020/directive/drag-drop/model/point.mjs +2 -0
  68. package/esm2020/directive/drag-drop/model/public-api.mjs +8 -0
  69. package/esm2020/directive/drag-drop/public-api.mjs +8 -0
  70. package/esm2020/directive/let/let.directive.mjs +38 -0
  71. package/esm2020/directive/let/let.module.mjs +25 -0
  72. package/esm2020/directive/let/public-api.mjs +3 -0
  73. package/esm2020/directive/public-api.mjs +3 -2
  74. package/esm2020/observable/public-api.mjs +2 -0
  75. package/esm2020/observable/zoneObservable.mjs +15 -0
  76. package/esm2020/public-api.mjs +3 -1
  77. package/esm2020/util/date-util.mjs +41 -1
  78. package/esm2020/util/forms-util.mjs +7 -1
  79. package/fesm2015/tetacom-ng-components.mjs +968 -340
  80. package/fesm2015/tetacom-ng-components.mjs.map +1 -1
  81. package/fesm2020/tetacom-ng-components.mjs +953 -337
  82. package/fesm2020/tetacom-ng-components.mjs.map +1 -1
  83. package/observable/public-api.d.ts +1 -0
  84. package/observable/zoneObservable.d.ts +5 -0
  85. package/package.json +6 -2
  86. package/public-api.d.ts +1 -0
  87. package/style/button.scss +1 -1
  88. package/style/input.scss +1 -1
  89. package/style/layout.scss +30 -2
  90. package/style/list.scss +9 -4
  91. package/style/modal.scss +2 -0
  92. package/style/presets/color-presets.scss +77 -79
  93. package/style/presets/font-presets.scss +21 -21
  94. package/style/presets/shadow-presets.scss +6 -6
  95. package/style/radio.scss +2 -2
  96. package/style/switch.scss +3 -3
  97. package/style/table.scss +1 -2
  98. package/style/toolbar.scss +1 -1
  99. package/style/util/button-util.scss +2 -2
  100. package/util/date-util.d.ts +1 -0
  101. 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.35",
3
+ "version": "1.0.38",
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
@@ -19,3 +19,4 @@ export * from './common/public-api';
19
19
  */
20
20
  export * from './util/public-api';
21
21
  export * from './locale/public-api';
22
+ export * from './observable/public-api';
package/style/button.scss CHANGED
@@ -28,7 +28,6 @@
28
28
  }
29
29
 
30
30
  &-square {
31
- //padding: 4px;
32
31
  width: 28px;
33
32
  flex-shrink: 0;
34
33
  align-items: center;
@@ -36,6 +35,7 @@
36
35
  }
37
36
 
38
37
  &[disabled] {
38
+
39
39
  filter: grayscale(1);
40
40
  opacity: 0.3;
41
41
  }
package/style/input.scss CHANGED
@@ -4,7 +4,7 @@
4
4
  .form-container {
5
5
  display: flex;
6
6
  flex-direction: column;
7
- grid-gap: 16px;
7
+ grid-gap: 20px;
8
8
  }
9
9
 
10
10
  .form-row {
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: 2px;
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: 4px 0;
5
+ padding: 8px 0;
6
6
  display: inline-flex;
7
7
  flex-direction: column;
8
- border-radius: 2px;
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: 4px 0;
52
- background-color: getColorVar('text', '5');
56
+ margin: 8px 0;
57
+ background-color: getColorVar('text', '10');
53
58
  }
54
59
 
55
60
  &-title {
package/style/modal.scss CHANGED
@@ -21,6 +21,8 @@
21
21
  &__container {
22
22
  @include shadow(5);
23
23
  background-color: getColorVar('background', '50');
24
+ border: solid 0;
25
+ border-radius: 4px;
24
26
 
25
27
  &_resize {
26
28
  resize: both;
@@ -1,100 +1,100 @@
1
1
  $themes: (
2
2
  'default': (
3
3
  'text': (
4
- '90': #21242a,
5
- '80': #373a40,
6
- '70': #4d5056,
7
- '60': #64666c,
8
- '50': #7a7c82,
9
- '40': #919399,
10
- '30': #a7a9af,
11
- '20': #bdc0c5,
12
- '10': #d2d5da,
13
- '5': #e9ecf1,
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': #15367d,
17
- '80': #1a449d,
18
- '70': #1f51bd,
19
- '60': #245fdd,
20
- '50': #286cfd,
21
- '40': #5086fd,
22
- '30': #77a0fe,
23
- '20': #9fbbfe,
24
- '10': #c6d7ff,
25
- '5': #eef3ff,
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': #a82e26,
29
- '80': #b73831,
30
- '70': #c23f38,
31
- '60': #d4483e,
32
- '50': #e25241,
33
- '40': #de5e56,
34
- '30': #d77976,
35
- '20': #e39e9c,
36
- '10': #f7cfd3,
37
- '5': #fcecee,
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': #285f1b,
41
- '80': #377e30,
42
- '70': #428e3b,
43
- '60': #4ea046,
44
- '50': #59ae50,
45
- '40': #6fbb69,
46
- '30': #88c683,
47
- '20': #a9d6a6,
48
- '10': #cbe6c9,
49
- '5': #e9f5e9,
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': #ee6800,
53
- '80': #ee8800,
54
- '70': #ee9800,
55
- '60': #eeab00,
56
- '50': #edb800,
57
- '40': #efc21b,
58
- '30': #f1ce48,
59
- '20': #f5db7e,
60
- '10': #f9e9b1,
61
- '5': #fcf7e1,
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': #ffffff,
65
- '0': #f4f5f7,
64
+ '50': rgba(255, 255, 255),
65
+ '0': rgba(244, 245, 247),
66
66
  ),
67
67
  'white': (
68
- '50': rgba(255,255,255,1)
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': #eef3ff,
77
- '80': #c6d7ff,
78
- '70': #9fbbfe,
79
- '60': #77a0fe,
80
- '50': #5086fd,
81
- '40': #286cfd,
82
- '30': #245fdd,
83
- '20': #1f51bd,
84
- '10': #1a449d,
85
- '5': #15367d,
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(239,239,241,1),
89
- '80': rgba(215,216,221,1),
90
- '70': rgba(189,189,198,1),
91
- '60': rgba(162,163,174,1),
92
- '50': rgba(142,143,157,1),
93
- '40': rgba(122,123,139,1),
94
- '30': rgba(107,109,123,1),
95
- '20': rgba(88,90,101,1),
96
- '10': rgba(71,71,81,1),
97
- '5': rgba(57,57,65,1),
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
- '0': rgba(33,33,39,1),
139
- '50': rgba(41,41,48,1)
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:10px,
125
+ font-size:11px,
126
126
  font-family:"Open Sans",
127
127
  font-weight:normal,
128
128
  font-style:normal,
129
- line-height:12px,
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: 600,
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 6px 6px 0px rgba(39, 41, 44, 0.12),
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 4px 6px rgba(0, 0, 0, 0.4),
11
- '2': 0px 6px 6px 0px rgba(39, 41, 44, 0.12),
12
- '3': 0px 8px 16px rgba(0, 0, 0, 0.4),
13
- '4': 0px 12px 24px rgba(0, 0, 0, 0.4),
14
- '5': 0px 16px 32px rgba(0, 0, 0, 0.4),
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('text', '30');
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
- border: solid 1px getColorVar('text', '50');
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: 2px;
7
+ border-radius: 4px;
8
8
  height: 28px;
9
9
  @include getFont($fonts, 'button-2');
10
- background: getColorVar('text', '5');
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
@@ -97,7 +97,6 @@
97
97
  display: flex;
98
98
  min-width: 0;
99
99
  position: relative;
100
- padding: 6px 8px;
101
100
  align-items: center;
102
101
  grid-gap: 8px;
103
102
  }
@@ -176,7 +175,7 @@
176
175
  background-color: getColorVar('background', '0');
177
176
  }
178
177
 
179
- &_active, &_active:hover {
178
+ &_selected, &_selected:hover {
180
179
  background-color: getColorVar('primary', '10');
181
180
  }
182
181
  }
@@ -10,7 +10,7 @@
10
10
  flex-shrink: 0;
11
11
  align-items: center;
12
12
  padding: 0 12px;
13
- @include getFont($fonts, 'title-3');
13
+ @include getFont($fonts, 'title-2');
14
14
 
15
15
  @each $paletteName in $palettes {
16
16
  &.toolbar-#{$paletteName} {
@@ -18,8 +18,8 @@
18
18
  }
19
19
 
20
20
  .button_ghost.button-#{$paletteName} {
21
- color: getColorVar($paletteName, '50');
22
- fill: getColorVar($paletteName, '50');
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;
@@ -32,6 +32,7 @@ export declare class DateUtil {
32
32
  static truncateToHour(date: Date): Date;
33
33
  static toISOString(date: number): string;
34
34
  static isValidDate(date: any): boolean;
35
+ static millisecondToHumanFormat(milliSeconds: number, maxValue?: number, showDays?: boolean): string;
35
36
  private static fillConvertDates;
36
37
  private static fillConvertDateStringsToDates;
37
38
  private static convertStringToLocalDate;
@@ -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;