@tetacom/ng-components 1.0.34 → 1.0.35

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 (143) hide show
  1. package/common/contract/i-id.d.ts +3 -0
  2. package/common/contract/public-api.d.ts +1 -0
  3. package/component/date-picker/date-picker/date-picker.component.d.ts +9 -6
  4. package/component/date-picker/day-select/day-select.component.d.ts +5 -5
  5. package/component/date-picker/month-picker/month-picker.component.d.ts +5 -5
  6. package/component/date-picker/month-select/month-select.component.d.ts +2 -2
  7. package/component/dropdown/dropdown-base.d.ts +3 -2
  8. package/component/filter/base/filter-component-base.d.ts +3 -1
  9. package/component/filter/boolean-filter/boolean-filter.component.d.ts +5 -3
  10. package/component/filter/date-filter/date-filter.component.d.ts +11 -4
  11. package/component/filter/filter-host/filter-host.component.d.ts +6 -3
  12. package/component/filter/filter.module.d.ts +15 -16
  13. package/component/filter/list-filter/list-filter.component.d.ts +11 -4
  14. package/component/filter/numeric-filter/numeric-filter.component.d.ts +11 -4
  15. package/component/filter/public-api.d.ts +0 -1
  16. package/component/filter/string-filter/string-filter.component.d.ts +11 -4
  17. package/component/input/text-field/text-field.component.d.ts +2 -2
  18. package/component/select/select/select.component.d.ts +1 -1
  19. package/component/table/base/cell-component-base.d.ts +3 -1
  20. package/component/table/base/head-cell-component-base.d.ts +5 -3
  21. package/component/table/contract/i-cell-coordinates.d.ts +3 -5
  22. package/component/table/contract/i-cell-event.d.ts +1 -1
  23. package/component/table/contract/i-cell-instance.d.ts +12 -0
  24. package/component/table/contract/i-cell-value.d.ts +1 -2
  25. package/component/table/contract/public-api.d.ts +1 -1
  26. package/component/table/contract/table-column.d.ts +3 -3
  27. package/component/table/default/boolean-cell/boolean-cell.component.d.ts +1 -1
  28. package/component/table/default/date-cell/date-cell.component.d.ts +1 -1
  29. package/component/table/default/date-time-cell/date-time-cell.component.d.ts +1 -1
  30. package/component/table/default/default-head-cell/default-head-cell.component.d.ts +7 -3
  31. package/component/table/default/list-cell/list-cell.component.d.ts +1 -1
  32. package/component/table/default/numeric-cell/numeric-cell.component.d.ts +1 -1
  33. package/component/table/default/string-cell/string-cell.component.d.ts +1 -1
  34. package/component/table/enum/edit-type.enum.d.ts +3 -2
  35. package/component/table/head-cell/head-cell.component.d.ts +3 -2
  36. package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +11 -5
  37. package/component/table/head-cell-host/head-cell-host.component.d.ts +7 -3
  38. package/component/table/service/table.service.d.ts +38 -15
  39. package/component/table/table/table.component.d.ts +21 -32
  40. package/component/table/table-body/table-body.component.d.ts +12 -9
  41. package/component/table/table-head/table-head.component.d.ts +4 -4
  42. package/component/table/table-head-group/table-head-group.component.d.ts +5 -3
  43. package/component/table/table.module.d.ts +2 -1
  44. package/component/table/util/state-util.d.ts +3 -0
  45. package/component/table/util/table-util.d.ts +0 -1
  46. package/esm2020/common/contract/i-id.mjs +2 -0
  47. package/esm2020/common/contract/public-api.mjs +2 -1
  48. package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -3
  49. package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +17 -8
  50. package/esm2020/component/date-picker/day-select/day-select.component.mjs +10 -8
  51. package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +10 -8
  52. package/esm2020/component/date-picker/month-select/month-select.component.mjs +5 -4
  53. package/esm2020/component/dropdown/dropdown-base.mjs +14 -6
  54. package/esm2020/component/filter/base/filter-base.mjs +4 -3
  55. package/esm2020/component/filter/base/filter-component-base.mjs +1 -1
  56. package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +4 -2
  57. package/esm2020/component/filter/contarct/filter-item.mjs +4 -3
  58. package/esm2020/component/filter/contarct/sort-param.mjs +3 -2
  59. package/esm2020/component/filter/date-filter/date-filter.component.mjs +15 -9
  60. package/esm2020/component/filter/filter-host/filter-host.component.mjs +12 -2
  61. package/esm2020/component/filter/filter.module.mjs +3 -8
  62. package/esm2020/component/filter/list-filter/list-filter.component.mjs +20 -12
  63. package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +15 -9
  64. package/esm2020/component/filter/public-api.mjs +1 -2
  65. package/esm2020/component/filter/string-filter/string-filter.component.mjs +14 -8
  66. package/esm2020/component/input/input/input.component.mjs +2 -2
  67. package/esm2020/component/input/text-field/text-field.component.mjs +8 -3
  68. package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +1 -1
  69. package/esm2020/component/select/select/select.component.mjs +12 -6
  70. package/esm2020/component/table/base/cell-component-base.mjs +20 -26
  71. package/esm2020/component/table/base/head-cell-component-base.mjs +1 -1
  72. package/esm2020/component/table/contract/i-cell-coordinates.mjs +1 -1
  73. package/esm2020/component/table/contract/i-cell-event.mjs +1 -1
  74. package/esm2020/component/table/contract/i-cell-instance.mjs +2 -0
  75. package/esm2020/component/table/contract/i-cell-value.mjs +1 -1
  76. package/esm2020/component/table/contract/public-api.mjs +2 -2
  77. package/esm2020/component/table/contract/table-column.mjs +1 -1
  78. package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +4 -4
  79. package/esm2020/component/table/default/date-cell/date-cell.component.mjs +4 -4
  80. package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +6 -6
  81. package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +14 -4
  82. package/esm2020/component/table/default/list-cell/list-cell.component.mjs +4 -4
  83. package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +13 -9
  84. package/esm2020/component/table/default/string-cell/string-cell.component.mjs +16 -10
  85. package/esm2020/component/table/enum/edit-type.enum.mjs +4 -3
  86. package/esm2020/component/table/head-cell/head-cell.component.mjs +19 -19
  87. package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +39 -30
  88. package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +14 -2
  89. package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +1 -1
  90. package/esm2020/component/table/service/table.service.mjs +213 -27
  91. package/esm2020/component/table/table/table.component.mjs +174 -156
  92. package/esm2020/component/table/table-body/table-body.component.mjs +26 -50
  93. package/esm2020/component/table/table-head/table-head.component.mjs +14 -35
  94. package/esm2020/component/table/table-head-group/table-head-group.component.mjs +29 -14
  95. package/esm2020/component/table/table.module.mjs +6 -2
  96. package/esm2020/component/table/util/state-util.mjs +20 -1
  97. package/esm2020/component/table/util/table-util.mjs +10 -14
  98. package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +2 -2
  99. package/esm2020/directive/context-menu/context-menu.directive.mjs +7 -5
  100. package/esm2020/directive/dynamic-content-base.directive.mjs +6 -7
  101. package/esm2020/locale/en.mjs +57 -0
  102. package/esm2020/locale/public-api.mjs +5 -0
  103. package/esm2020/locale/ru.mjs +57 -0
  104. package/esm2020/locale/teta-config.service.mjs +28 -0
  105. package/esm2020/locale/teta-localisation.mjs +2 -0
  106. package/esm2020/public-api.mjs +3 -1
  107. package/esm2020/util/string-util.mjs +5 -1
  108. package/fesm2015/tetacom-ng-components.mjs +1077 -718
  109. package/fesm2015/tetacom-ng-components.mjs.map +1 -1
  110. package/fesm2020/tetacom-ng-components.mjs +1074 -702
  111. package/fesm2020/tetacom-ng-components.mjs.map +1 -1
  112. package/locale/en.d.ts +2 -0
  113. package/locale/public-api.d.ts +4 -0
  114. package/locale/ru.d.ts +2 -0
  115. package/locale/teta-config.service.d.ts +11 -0
  116. package/locale/teta-localisation.d.ts +56 -0
  117. package/package.json +1 -1
  118. package/public-api.d.ts +1 -0
  119. package/style/border.scss +1 -1
  120. package/style/button.scss +9 -5
  121. package/style/checkbox.scss +10 -2
  122. package/style/datepicker.scss +9 -7
  123. package/style/dropdown.scss +12 -2
  124. package/style/input.scss +6 -5
  125. package/style/list.scss +1 -1
  126. package/style/presets/color-presets.scss +62 -62
  127. package/style/presets/font-presets.scss +62 -45
  128. package/style/presets/shadow-presets.scss +3 -3
  129. package/style/select.scss +6 -6
  130. package/style/switch.scss +1 -1
  131. package/style/table.scss +44 -45
  132. package/style/tabs.scss +2 -2
  133. package/style/toolbar.scss +3 -6
  134. package/style/tree.scss +2 -2
  135. package/util/string-util.d.ts +1 -0
  136. package/component/date-picker/model/picker-locale-model.d.ts +0 -16
  137. package/component/date-picker/service/picker-locale.service.d.ts +0 -11
  138. package/component/filter/filter-panel/filter-panel.component.d.ts +0 -8
  139. package/component/table/contract/table-context-menu-config.d.ts +0 -14
  140. package/esm2020/component/date-picker/model/picker-locale-model.mjs +0 -13
  141. package/esm2020/component/date-picker/service/picker-locale.service.mjs +0 -30
  142. package/esm2020/component/filter/filter-panel/filter-panel.component.mjs +0 -13
  143. package/esm2020/component/table/contract/table-context-menu-config.mjs +0 -17
package/locale/en.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import { TetaLocalisation } from './teta-localisation';
2
+ export declare const enLocale: TetaLocalisation;
@@ -0,0 +1,4 @@
1
+ export * from './ru';
2
+ export * from './en';
3
+ export * from './teta-config.service';
4
+ export * from './teta-localisation';
package/locale/ru.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import { TetaLocalisation } from './teta-localisation';
2
+ export declare const ruLocale: TetaLocalisation;
@@ -0,0 +1,11 @@
1
+ import { TetaLocalisation } from './teta-localisation';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TetaConfigService {
4
+ private defaultLocale;
5
+ private locale$;
6
+ locale: import("rxjs").Observable<TetaLocalisation>;
7
+ constructor();
8
+ setLocale(newLocale: TetaLocalisation): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TetaConfigService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<TetaConfigService>;
11
+ }
@@ -0,0 +1,56 @@
1
+ export interface TetaLocalisation {
2
+ apply: string;
3
+ cancel: string;
4
+ clear: string;
5
+ pin: string;
6
+ unpin: string;
7
+ sortAsc: string;
8
+ sortDesc: string;
9
+ clearSort: string;
10
+ clearAllSort: string;
11
+ clearFilter: string;
12
+ clearAllFilters: string;
13
+ autosizeColumn: string;
14
+ autosizeAll: string;
15
+ resetColumnsSize: string;
16
+ from: string;
17
+ to: string;
18
+ all: string;
19
+ min: string;
20
+ max: string;
21
+ sum: string;
22
+ avg: string;
23
+ search: string;
24
+ months: [
25
+ string,
26
+ string,
27
+ string,
28
+ string,
29
+ string,
30
+ string,
31
+ string,
32
+ string,
33
+ string,
34
+ string,
35
+ string,
36
+ string
37
+ ];
38
+ days: [
39
+ string,
40
+ string,
41
+ string,
42
+ string,
43
+ string,
44
+ string,
45
+ string
46
+ ];
47
+ daysShort: [
48
+ string,
49
+ string,
50
+ string,
51
+ string,
52
+ string,
53
+ string,
54
+ string
55
+ ];
56
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tetacom/ng-components",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^13.0.0",
package/public-api.d.ts CHANGED
@@ -18,3 +18,4 @@ export * from './common/public-api';
18
18
  * Util
19
19
  */
20
20
  export * from './util/public-api';
21
+ export * from './locale/public-api';
package/style/border.scss CHANGED
@@ -10,7 +10,7 @@
10
10
  }
11
11
  @for $radius from 0 through 12 {
12
12
  &-radius-#{$radius} {
13
- border-radius: 1px * $radius;
13
+ border-radius: 1px * $radius!important;
14
14
  }
15
15
  }
16
16
  }
package/style/button.scss CHANGED
@@ -6,14 +6,17 @@
6
6
  display: inline-flex;
7
7
  grid-gap: 4px;
8
8
  align-items: center;
9
- height: 24px;
10
- padding: 0 8px;
9
+ height: 28px;
10
+ padding: 0 12px;
11
11
  border: 0;
12
- border-radius: 2px;
12
+ border-radius: 4px;
13
13
  color: getColorVar('white', '50');
14
14
  fill: getColorVar('white', '50');
15
15
  @include getFont($fonts, 'button-2');
16
16
  transition: background 0.4s;
17
+ white-space: nowrap;
18
+ overflow: hidden;
19
+ text-overflow: ellipsis;
17
20
 
18
21
  &:hover:not([disabled]) {
19
22
  cursor: pointer;
@@ -25,9 +28,10 @@
25
28
  }
26
29
 
27
30
  &-square {
28
- padding: 4px;
29
- width: 24px;
31
+ //padding: 4px;
32
+ width: 28px;
30
33
  flex-shrink: 0;
34
+ align-items: center;
31
35
  justify-content: center;
32
36
  }
33
37
 
@@ -3,16 +3,24 @@
3
3
  .checkbox {
4
4
  display: inline-flex;
5
5
  align-items: center;
6
+ grid-gap: 8px;
6
7
 
7
8
  &__tick {
8
- border: solid 1px getColorVar('text', '30');
9
- border-radius: 1px;
9
+ background: getColorVar('background', '50');
10
+ border: solid 1px getColorVar('text', '20');
11
+ border-radius: 2px;
10
12
  height: 14px;
11
13
  width: 14px;
12
14
  display: flex;
13
15
  align-items: center;
14
16
  justify-content: center;
15
17
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15) inset;
18
+ &_active {
19
+ border: solid 0;
20
+ border-radius: 2px;
21
+ background: getColorVar('primary', '50');
22
+ fill: getColorVar('white', '50');
23
+ }
16
24
  }
17
25
 
18
26
  &:hover {
@@ -5,6 +5,7 @@
5
5
  .datepicker {
6
6
  display: inline-flex;
7
7
  width: 150px;
8
+ min-width: 0;
8
9
 
9
10
  &-wide {
10
11
  width: 170px;
@@ -14,14 +15,15 @@
14
15
  display: inline-flex;
15
16
  flex-grow: 1;
16
17
  align-items: center;
17
- height: 24px;
18
+ height: 28px;
18
19
  border: solid 1px getColorVar('text', '20');
19
20
  background: getColorVar('background', '50');
20
21
  color: getColorVar('text', '90');
21
22
  fill: getColorVar('text', '90');
22
- border-radius: 2px;
23
- padding: 0 4px;
23
+ border-radius: 4px;
24
+ padding: 0 8px;
24
25
  transition: border-color 0.4s;
26
+ min-width: 0;
25
27
 
26
28
  &_disabled {
27
29
  background-color: getColorVar('text', 5);
@@ -47,10 +49,10 @@
47
49
  border-color: getColorVar('primary', '50');
48
50
  }
49
51
 
50
- &-body {
51
- @include shadow(2);
52
- background-color: getColorVar('background', '50');
53
- }
52
+ //&-body {
53
+ // @include shadow(2);
54
+ // background-color: getColorVar('background', '50');
55
+ //}
54
56
 
55
57
  &-content {
56
58
  width: 224px;
@@ -2,13 +2,23 @@
2
2
  @import "util/shadow-util";
3
3
 
4
4
  .dropdown {
5
- border-radius: 2px;
5
+ border-radius: 4px;
6
6
  border: solid 1px getColorVar('text', '5');
7
7
  position: fixed;
8
8
  display: flex;
9
9
  z-index: 1050;
10
- @include shadow(1);
10
+ @include shadow(2);
11
+ background: getColorVar('background', '50');
11
12
  animation: fadeInFromNone 0.5s ease-out;
13
+
14
+ &-backdrop {
15
+ position: fixed;
16
+ top: 0;
17
+ bottom: 0;
18
+ left: 0;
19
+ right: 0;
20
+ background: transparent;
21
+ }
12
22
  }
13
23
 
14
24
  @keyframes fadeInFromNone {
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: 8px;
7
+ grid-gap: 16px;
8
8
  }
9
9
 
10
10
  .form-row {
@@ -29,9 +29,9 @@
29
29
  }
30
30
 
31
31
  .text-field, .input, .textarea {
32
- padding: 4px;
32
+ padding: 6px 8px;
33
33
  border: solid 1px getColorVar('text', '20');
34
- border-radius: 2px;
34
+ border-radius: 4px;
35
35
  background-color: getColorVar('background', '50');
36
36
  color: getColorVar('text', 90);
37
37
  @include getFont($fonts, 'body-3');
@@ -95,7 +95,7 @@
95
95
  }
96
96
 
97
97
  .text-field, .input {
98
- height: 24px;
98
+ height: 28px;
99
99
  }
100
100
 
101
101
  .text-field {
@@ -144,7 +144,7 @@
144
144
  }
145
145
 
146
146
  .form-group-title {
147
- height: 24px;
147
+ height: 28px;
148
148
  display: flex;
149
149
  align-items: center;
150
150
  grid-gap: 8px;
@@ -152,6 +152,7 @@
152
152
 
153
153
  &-text {
154
154
  flex-shrink: 0;
155
+ text-transform: uppercase;
155
156
  }
156
157
 
157
158
  &-line {
package/style/list.scss CHANGED
@@ -12,7 +12,7 @@
12
12
  position: relative;
13
13
 
14
14
  &-item {
15
- min-height: 24px;
15
+ min-height: 28px;
16
16
  display: inline-flex;
17
17
  align-items: center;
18
18
  padding: 0 12px;
@@ -1,68 +1,68 @@
1
1
  $themes: (
2
2
  'default': (
3
3
  'text': (
4
- '90': rgba(57,65,71,1),
5
- '80': rgba(76,87,94,1),
6
- '70': rgba(93,106,115,1),
7
- '60': rgba(111,127,137,1),
8
- '50': rgba(125,143,154,1),
9
- '40': rgba(145,160,170,1),
10
- '30': rgba(165,178,187,1),
11
- '20': rgba(191,201,207,1),
12
- '10': rgba(215,222,227,1),
13
- '5': rgba(225,231,236,1),
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,
14
14
  ),
15
15
  'primary': (
16
- '90': rgba(0,49,86,1),
17
- '80': rgba(0,68,120,1),
18
- '70': rgba(7,91,154,1),
19
- '60': rgba(20,115,188,1),
20
- '50': rgba(37,142,222,1),
21
- '40': rgba(58,169,255,1),
22
- '30': rgba(102,189,255,1),
23
- '20': rgba(146,208,255,1),
24
- '10': rgba(191,227,255,1),
25
- '5': rgba(235,246,255,1),
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,
26
26
  ),
27
27
  'red': (
28
- '90': rgba(168,46,38,1),
29
- '80': rgba(183,56,49,1),
30
- '70': rgba(194,63,56,1),
31
- '60': rgba(212,72,62,1),
32
- '50': rgba(226,82,65,1),
33
- '40': rgba(222,94,86,1),
34
- '30': rgba(215,121,118,1),
35
- '20': rgba(227,158,156,1),
36
- '10': rgba(247,207,211,1),
37
- '5': rgba(252,236,238,1),
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,
38
38
  ),
39
39
  'green': (
40
- '90': rgba(40,95,27,1),
41
- '80': rgba(55,126,48,1),
42
- '70': rgba(66,142,59,1),
43
- '60': rgba(78,160,70,1),
44
- '50': rgba(89,174,80,1),
45
- '40': rgba(111,187,105,1),
46
- '30': rgba(136,198,131,1),
47
- '20': rgba(169,214,166,1),
48
- '10': rgba(203,230,201,1),
49
- '5': rgba(233,245,233,1),
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,
50
50
  ),
51
51
  'yellow': (
52
- '90': rgba(238,104,0,1),
53
- '80': rgba(238,136,0,1),
54
- '70': rgba(238,152,0,1),
55
- '60': rgba(238,171,0,1),
56
- '50': rgba(237,184,0,1),
57
- '40': rgba(239,194,27,1),
58
- '30': rgba(241,206,72,1),
59
- '20': rgba(245,219,126,1),
60
- '10': rgba(249,233,177,1),
61
- '5': rgba(252,247,225,1),
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,
62
62
  ),
63
63
  'background': (
64
- '50': rgba(255,255,255,1),
65
- '0': rgba(247,248,251,1),
64
+ '50': #ffffff,
65
+ '0': #f4f5f7,
66
66
  ),
67
67
  'white': (
68
68
  '50': rgba(255,255,255,1)
@@ -73,16 +73,16 @@ $themes: (
73
73
  ),
74
74
  'dark': (
75
75
  'primary': (
76
- '90': rgba(0,49,86,1),
77
- '80': rgba(0,68,120,1),
78
- '70': rgba(7,91,154,1),
79
- '60': rgba(20,115,188,1),
80
- '50': rgba(37,142,222,1),
81
- '40': rgba(58,169,255,1),
82
- '30': rgba(102,189,255,1),
83
- '20': rgba(146,208,255,1),
84
- '10': rgba(191,227,255,1),
85
- '5': rgba(235,246,255,1),
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,
86
86
  ),
87
87
  'text': (
88
88
  '90': rgba(239,239,241,1),
@@ -2,131 +2,148 @@ $fonts: (
2
2
  h-1: (
3
3
  font-size:92px,
4
4
  font-family:"Open Sans",
5
+ font-weight:600,
5
6
  font-style:normal,
6
- font-weight: 300,
7
- letter-spacing: 0.15px
7
+ letter-spacing:0.15px,
8
+ text-decoration:none,
8
9
  ),
9
10
  h-2: (
10
11
  font-size:60px,
11
12
  font-family:"Open Sans",
13
+ font-weight:600,
12
14
  font-style:normal,
13
- font-weight: 300,
14
- letter-spacing: 0.15px
15
+ letter-spacing:0.15px,
16
+ text-decoration:none,
15
17
  ),
16
18
  h-3: (
17
19
  font-size:48px,
18
20
  font-family:"Open Sans",
21
+ font-weight:600,
19
22
  font-style:normal,
20
- line-height:60px,
21
- font-weight: 400,
22
- letter-spacing: 0.15px
23
+ letter-spacing:0.15px,
24
+ text-decoration:none,
23
25
  ),
24
26
  h-4: (
25
27
  font-size:35px,
26
28
  font-family:"Open Sans",
27
- font-weight: 400,
29
+ font-weight:600,
28
30
  font-style:normal,
29
31
  line-height:44px,
30
- letter-spacing: 0.15px
32
+ letter-spacing:0.15px,
33
+ text-decoration:none,
31
34
  ),
32
35
  h-5: (
33
36
  font-size:28px,
34
37
  font-family:"Open Sans",
35
- line-height:36px,
36
- font-weight: 600,
37
- letter-spacing: 0.15px
38
+ font-weight:600,
39
+ font-style:normal,
40
+ letter-spacing:0.15px,
41
+ text-decoration:none,
38
42
  ),
39
43
  h-6: (
40
44
  font-size:20px,
41
45
  font-family:"Open Sans",
42
- line-height:28px,
43
- font-weight: 600,
44
- letter-spacing: 0.15px
46
+ font-weight:600,
47
+ font-style:normal,
48
+ letter-spacing:0.15px,
49
+ text-decoration:none,
45
50
  ),
46
51
  title-1: (
47
- font-size:15px,
52
+ font-size:16px,
48
53
  font-family:"Open Sans",
54
+ font-weight:600,
55
+ font-style:normal,
49
56
  line-height:24px,
50
- font-weight: 600,
51
- letter-spacing: 0.15px
57
+ letter-spacing:0.0015em,
58
+ text-decoration:none,
52
59
  ),
53
60
  title-2: (
54
- font-size:13px,
61
+ font-size:14px,
55
62
  font-family:"Open Sans",
63
+ font-weight:600,
64
+ font-style:normal,
56
65
  line-height:16px,
57
- font-weight: 600,
66
+ text-decoration:none,
58
67
  ),
59
68
  title-3: (
60
- font-size:11px,
69
+ font-size:12px,
61
70
  font-family:"Open Sans",
71
+ font-weight:600,
72
+ font-style:normal,
62
73
  line-height:16px,
63
- font-weight: 600,
74
+ text-decoration:none,
64
75
  ),
65
76
  body-1: (
66
- font-size:15px,
77
+ font-size:16px,
67
78
  font-family:"Open Sans",
79
+ font-weight:normal,
68
80
  font-style:normal,
69
81
  line-height:24px,
70
- font-weight: 400,
82
+ text-decoration:none,
71
83
  ),
72
84
  body-2: (
73
- font-size:13px,
85
+ font-size:14px,
74
86
  font-family:"Open Sans",
87
+ font-weight:normal,
75
88
  font-style:normal,
76
- line-height:20px,
77
- font-weight: 400,
89
+ line-height:16px,
90
+ text-decoration:none,
78
91
  ),
79
92
  body-3: (
80
- font-size:11px,
93
+ font-size:12px,
81
94
  font-family:"Open Sans",
95
+ font-weight:normal,
82
96
  font-style:normal,
83
97
  line-height:16px,
84
- font-weight: 400,
98
+ text-decoration:none,
85
99
  ),
86
100
  button-1: (
87
101
  font-size:13px,
88
102
  font-family:"Open Sans",
103
+ font-weight:600,
104
+ font-style:normal,
89
105
  line-height:20px,
90
- font-weight: 600,
106
+ text-decoration:none,
91
107
  ),
92
108
  button-2: (
93
109
  font-size:11px,
94
110
  font-family:"Open Sans",
111
+ font-weight:600,
112
+ font-style:normal,
95
113
  line-height:16px,
96
- font-weight: 600,
114
+ text-decoration:none,
97
115
  ),
98
116
  button-3: (
99
117
  font-size:10px,
100
118
  font-family:"Open Sans",
101
- line-height:14px,
102
- font-weight: 600,
103
- ),
104
- caption: (
105
- font-size:10px,
106
- font-family:"Open Sans",
119
+ font-weight:600,
107
120
  font-style:normal,
108
121
  line-height:14px,
109
- font-weight: 400,
122
+ text-decoration:none,
110
123
  ),
111
- error-message: (
124
+ caption: (
112
125
  font-size:10px,
113
126
  font-family:"Open Sans",
127
+ font-weight:normal,
114
128
  font-style:normal,
115
129
  line-height:12px,
116
- font-weight: 400,
130
+ text-decoration:none,
117
131
  ),
118
132
  table-header: (
119
133
  font-size:11px,
120
134
  font-family:"Open Sans",
121
- line-height:16px,
122
135
  font-weight: 600,
136
+ font-style:normal,
137
+ line-height:12px,
138
+ text-decoration:none,
123
139
  ),
124
140
  overline: (
125
- text-transform: uppercase,
126
141
  font-size:10px,
127
142
  font-family:"Open Sans",
143
+ font-weight:600,
144
+ font-style:normal,
128
145
  line-height:12px,
129
- font-weight: 600,
130
- letter-spacing: 1.5px
146
+ letter-spacing:1.5px,
147
+ text-decoration:none,
131
148
  )
132
- );
149
+ )
@@ -1,14 +1,14 @@
1
1
  $shadows: (
2
2
  'default': (
3
- '1': 0px 4px 6px rgba(39, 39, 39, 0.26),
4
- '2': 0px 6px 12px rgba(39, 39, 39, 0.26),
3
+ '1': 0px 1px 0px #DAE0EB,
4
+ '2': 0px 6px 6px 0px rgba(39, 41, 44, 0.12),
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
10
  '1': 0px 4px 6px rgba(0, 0, 0, 0.4),
11
- '2': 0px 6px 12px rgba(0, 0, 0, 0.4),
11
+ '2': 0px 6px 6px 0px rgba(39, 41, 44, 0.12),
12
12
  '3': 0px 8px 16px rgba(0, 0, 0, 0.4),
13
13
  '4': 0px 12px 24px rgba(0, 0, 0, 0.4),
14
14
  '5': 0px 16px 32px rgba(0, 0, 0, 0.4),