@tetacom/ng-components 1.0.148 → 1.0.149
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/color-icons.svg +49 -521
- package/assets/file-icons.svg +0 -1
- package/assets/icons.svg +205 -138
- package/common/model/view-type.model.d.ts +1 -0
- package/component/accordion/accordion-item/accordion-item.component.d.ts +4 -1
- package/component/avatar/avatar/avatar.component.d.ts +17 -0
- package/component/avatar/avatar.module.d.ts +9 -0
- package/component/avatar/model/avatar-color.enum.d.ts +20 -0
- package/component/avatar/public-api.d.ts +2 -0
- package/component/button/button/button.component.d.ts +4 -1
- package/component/checkbox/checkbox/checkbox.component.d.ts +2 -1
- package/component/date-picker/base-calendar.d.ts +49 -0
- package/component/date-picker/base-picker.d.ts +60 -0
- package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +20 -0
- package/component/date-picker/date-picker/date-picker.component.d.ts +38 -68
- package/component/date-picker/date-picker.module.d.ts +19 -15
- package/component/date-picker/date-range/date-range.component.d.ts +46 -0
- package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +39 -0
- package/component/date-picker/day-picker/day-item/day-item.component.d.ts +9 -0
- package/component/date-picker/day-picker/day-picker.component.d.ts +30 -0
- package/component/date-picker/model/from-to.model.d.ts +4 -0
- package/component/date-picker/model/min-max-date.model.d.ts +4 -0
- package/component/date-picker/month-picker/month-picker.component.d.ts +16 -50
- package/component/date-picker/public-api.d.ts +5 -4
- package/component/date-picker/year-picker/scroll-to-selected-year.directive.d.ts +11 -0
- package/component/date-picker/year-picker/year-picker.component.d.ts +24 -0
- package/component/divider/divider/divider.component.d.ts +10 -0
- package/component/divider/divider.module.d.ts +8 -0
- package/component/divider/public-api.d.ts +2 -0
- package/component/dropdown/dropdown-base.d.ts +3 -1
- package/component/icon/icon-file/icon-file.component.d.ts +9 -3
- package/component/icon/icon-file/icon-file.module.d.ts +9 -0
- package/component/icon/icon.module.d.ts +4 -5
- package/component/icon/public-api.d.ts +1 -0
- package/component/input/input/input.component.d.ts +3 -1
- package/component/message/model/message.d.ts +3 -0
- package/component/public-api.d.ts +2 -0
- package/component/select/select/select.component.d.ts +4 -1
- package/component/switch/switch/switch.component.d.ts +4 -1
- package/directive/hint/hint.directive.d.ts +3 -1
- package/esm2020/common/model/view-type.model.mjs +2 -0
- package/esm2020/component/accordion/accordion/accordion.component.mjs +3 -2
- package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +3 -2
- package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +13 -3
- package/esm2020/component/avatar/avatar/avatar.component.mjs +57 -0
- package/esm2020/component/avatar/avatar.module.mjs +28 -0
- package/esm2020/component/avatar/model/avatar-color.enum.mjs +22 -0
- package/esm2020/component/avatar/public-api.mjs +3 -0
- package/esm2020/component/button/button/button.component.mjs +18 -3
- package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +6 -3
- package/esm2020/component/date-picker/base-calendar.mjs +99 -0
- package/esm2020/component/date-picker/base-picker.mjs +102 -0
- package/esm2020/component/date-picker/date-picker/date-calendar/date-calendar.component.mjs +49 -0
- package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +141 -234
- package/esm2020/component/date-picker/date-picker.module.mjs +41 -41
- package/esm2020/component/date-picker/date-range/date-range.component.mjs +211 -0
- package/esm2020/component/date-picker/date-range/range-calendar/range-calendar.component.mjs +108 -0
- package/esm2020/component/date-picker/day-picker/day-item/day-item.component.mjs +15 -0
- package/esm2020/component/date-picker/day-picker/day-picker.component.mjs +113 -0
- package/esm2020/component/date-picker/model/from-to.model.mjs +2 -0
- package/esm2020/component/date-picker/model/min-max-date.model.mjs +2 -0
- package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +33 -236
- package/esm2020/component/date-picker/public-api.mjs +6 -5
- package/esm2020/component/date-picker/year-picker/scroll-to-selected-year.directive.mjs +26 -0
- package/esm2020/component/date-picker/year-picker/year-picker.component.mjs +48 -0
- package/esm2020/component/divider/divider/divider.component.mjs +18 -0
- package/esm2020/component/divider/divider.module.mjs +20 -0
- package/esm2020/component/divider/public-api.mjs +3 -0
- package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +3 -2
- package/esm2020/component/dropdown/dropdown-base.mjs +6 -2
- package/esm2020/component/dropdown/dropdown.directive.mjs +1 -1
- package/esm2020/component/expand-card/expand-card/expand-card.component.mjs +1 -1
- package/esm2020/component/expand-card/expand-item/expand-item.component.mjs +1 -1
- package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +1 -1
- package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +1 -1
- package/esm2020/component/filter/date-filter/date-filter.component.mjs +1 -1
- package/esm2020/component/filter/list-filter/list-filter.component.mjs +1 -1
- package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +1 -1
- package/esm2020/component/filter/string-filter/string-filter.component.mjs +1 -1
- package/esm2020/component/icon/icon-file/icon-file.component.mjs +20 -6
- package/esm2020/component/icon/icon-file/icon-file.module.mjs +28 -0
- package/esm2020/component/icon/icon.module.mjs +1 -6
- package/esm2020/component/icon/public-api.mjs +2 -1
- package/esm2020/component/input/input/input.component.mjs +6 -3
- package/esm2020/component/input/input.module.mjs +1 -1
- package/esm2020/component/input/text-field/text-field.component.mjs +3 -3
- package/esm2020/component/message/message/message.component.mjs +4 -3
- package/esm2020/component/message/message-host/message-host.component.mjs +1 -1
- package/esm2020/component/message/model/message.mjs +2 -1
- package/esm2020/component/modal/dialog/dialog.component.mjs +1 -1
- package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +2 -2
- package/esm2020/component/public-api.mjs +4 -1
- package/esm2020/component/select/select/select.component.mjs +9 -4
- package/esm2020/component/switch/switch/switch.component.mjs +19 -7
- package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +1 -1
- package/esm2020/component/table/default/date-cell/date-cell.component.mjs +1 -1
- package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +1 -1
- package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +1 -1
- package/esm2020/component/table/default/list-cell/list-cell.component.mjs +1 -1
- package/esm2020/component/table/default/string-cell/string-cell.component.mjs +1 -1
- package/esm2020/component/table/selection-cell/selection-cell.component.mjs +1 -1
- package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +1 -1
- package/esm2020/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +1 -1
- package/esm2020/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +1 -1
- package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +1 -1
- package/esm2020/directive/hint/hint.directive.mjs +6 -3
- package/esm2020/locale/en.mjs +3 -1
- package/esm2020/locale/ru.mjs +3 -1
- package/esm2020/locale/teta-localisation.mjs +1 -1
- package/fesm2015/tetacom-ng-components.mjs +2898 -3015
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +5440 -5565
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/locale/teta-localisation.d.ts +2 -0
- package/package.json +3 -2
- package/style/accordion.scss +28 -6
- package/style/assembly-library.scss +4 -1
- package/style/badge.scss +28 -0
- package/style/bottombar.scss +5 -0
- package/style/button.scss +16 -12
- package/style/checkbox.scss +26 -13
- package/style/chips.scss +10 -10
- package/style/color.scss +1 -36
- package/style/datepicker.scss +139 -24
- package/style/divider.scss +15 -0
- package/style/drag.scss +1 -1
- package/style/dropdown.scss +6 -4
- package/style/hint.scss +5 -5
- package/style/icon.scss +2 -1
- package/style/input.scss +32 -23
- package/style/layout.scss +6 -2
- package/style/list.scss +11 -8
- package/style/loader.scss +2 -2
- package/style/message.scss +15 -7
- package/style/modal.scss +3 -2
- package/style/navigation.scss +4 -1
- package/style/presets/color-presets.scss +9 -160
- package/style/presets/font-presets.scss +26 -25
- package/style/presets/view-types.scss +15 -0
- package/style/progress.scss +3 -3
- package/style/radio.scss +21 -7
- package/style/resize-panel.scss +2 -2
- package/style/scroll.scss +3 -3
- package/style/select.scss +26 -21
- package/style/shadow.scss +0 -20
- package/style/sidebar.scss +1 -1
- package/style/switch.scss +15 -10
- package/style/table.scss +15 -15
- package/style/tabs.scss +11 -11
- package/style/tag.scss +37 -0
- package/style/toggle.scss +20 -18
- package/style/toolbar.scss +1 -1
- package/style/tooltip.scss +8 -6
- package/style/tree.scss +4 -4
- package/component/date-picker/day-select/day-select.component.d.ts +0 -51
- package/component/date-picker/model/date-picker-mode.enum.d.ts +0 -5
- package/component/date-picker/month-select/month-select.component.d.ts +0 -40
- package/component/date-picker/service/picker-touch.service.d.ts +0 -12
- package/component/date-picker/time-part-control/time-part-control.component.d.ts +0 -26
- package/component/date-picker/util/date-picker-util.d.ts +0 -15
- package/component/date-picker/year-select/year-select.component.d.ts +0 -45
- package/esm2020/component/date-picker/day-select/day-select.component.mjs +0 -184
- package/esm2020/component/date-picker/model/date-picker-mode.enum.mjs +0 -7
- package/esm2020/component/date-picker/month-select/month-select.component.mjs +0 -148
- package/esm2020/component/date-picker/service/picker-touch.service.mjs +0 -34
- package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +0 -73
- package/esm2020/component/date-picker/util/date-picker-util.mjs +0 -142
- package/esm2020/component/date-picker/year-select/year-select.component.mjs +0 -189
- package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +0 -18
- package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +0 -21
- package/pipe/prepend-zero/prepend-zero.module.d.ts +0 -8
- package/pipe/prepend-zero/prepend-zero.pipe.d.ts +0 -7
- package/style/tokens/basedark.tokens.css +0 -77
- package/style/tokens/baselight.tokens.css +0 -61
- package/style/tokens/global.tokens.css +0 -235
- package/style/tokens/utility.tokens.css +0 -1119
package/style/radio.scss
CHANGED
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
@include getFont($fonts, 'body-3');
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
&_disabled {
|
|
16
17
|
filter: grayscale(50%);
|
|
17
|
-
color:
|
|
18
|
+
color: var(--color-text-40);
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
&-icon {
|
|
@@ -23,13 +24,21 @@
|
|
|
23
24
|
display: inline-flex;
|
|
24
25
|
align-items: center;
|
|
25
26
|
justify-content: center;
|
|
26
|
-
border: solid 1px getColorVar('primary', '50');
|
|
27
27
|
border-radius: 8px;
|
|
28
|
+
background: var(--color-global-bgcard);
|
|
29
|
+
border: 1px solid var(--color-primary-50)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-icon:has(&-small-icon) {
|
|
33
|
+
background: var(--color-primary-50);
|
|
34
|
+
border: 0;
|
|
28
35
|
}
|
|
29
36
|
|
|
30
37
|
&_disabled &-icon {
|
|
31
|
-
background-color:
|
|
32
|
-
color:
|
|
38
|
+
background-color: var(--color-text-5);
|
|
39
|
+
color: var(--color-text-40);
|
|
40
|
+
border: solid 1px var(--color-text-30);
|
|
41
|
+
|
|
33
42
|
}
|
|
34
43
|
|
|
35
44
|
&-small-icon {
|
|
@@ -40,11 +49,11 @@
|
|
|
40
49
|
justify-content: center;
|
|
41
50
|
border: solid 0 transparent;
|
|
42
51
|
border-radius: 4px;
|
|
43
|
-
background-color:
|
|
52
|
+
background-color: var(--color-global-white);
|
|
44
53
|
}
|
|
45
54
|
|
|
46
55
|
&_disabled &-small-icon {
|
|
47
|
-
background-color:
|
|
56
|
+
background-color: var(--color-text-30);
|
|
48
57
|
}
|
|
49
58
|
|
|
50
59
|
&:hover:not(&_disabled) {
|
|
@@ -52,7 +61,12 @@
|
|
|
52
61
|
}
|
|
53
62
|
|
|
54
63
|
&:hover:not(&_disabled) &-icon {
|
|
55
|
-
background:
|
|
64
|
+
background: var(--color-primary-5);
|
|
65
|
+
border-color: var(--color-primary-60);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:hover:not(&_disabled) &-icon:has(&-small-icon) {
|
|
69
|
+
background: var(--color-primary-60);
|
|
56
70
|
}
|
|
57
71
|
}
|
|
58
72
|
}
|
package/style/resize-panel.scss
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: center;
|
|
12
12
|
position: absolute;
|
|
13
|
-
fill:
|
|
13
|
+
fill: var(--color-text-20);
|
|
14
14
|
z-index: 10;
|
|
15
15
|
|
|
16
16
|
&_active, &:hover {
|
|
17
|
-
fill:
|
|
17
|
+
fill: var(--color-text-90);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&_left, &_right, &_vertical {
|
package/style/scroll.scss
CHANGED
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
|
|
26
26
|
::-webkit-scrollbar-track:hover {
|
|
27
27
|
&::-webkit-scrollbar-thumb {
|
|
28
|
-
background-color:
|
|
28
|
+
background-color: var(--color-primary-50);
|
|
29
29
|
border: 2px solid transparent;
|
|
30
30
|
//border-radius: 4px;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
::-webkit-scrollbar-thumb {
|
|
35
|
-
background-color:
|
|
35
|
+
background-color: var(--color-text-10);
|
|
36
36
|
//border-radius: 4px;
|
|
37
37
|
|
|
38
38
|
&:hover {
|
|
39
|
-
background-color:
|
|
39
|
+
background-color: var(--color-primary-50);
|
|
40
40
|
border: 2px solid transparent;
|
|
41
41
|
//border-radius: 4px;
|
|
42
42
|
}
|
package/style/select.scss
CHANGED
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
@import "util/color-util.scss";
|
|
2
2
|
@import "util/font-util.scss";
|
|
3
|
+
@import "presets/view-types.scss";
|
|
3
4
|
|
|
4
5
|
.select {
|
|
5
6
|
display: inline-flex;
|
|
6
7
|
height: 28px;
|
|
7
8
|
width: 100%;
|
|
8
9
|
|
|
10
|
+
@include getView('field');
|
|
11
|
+
|
|
9
12
|
&_multiple {
|
|
10
13
|
min-height: 28px;
|
|
11
14
|
height: unset;
|
|
12
15
|
}
|
|
13
16
|
|
|
14
17
|
&_disabled &-head {
|
|
15
|
-
background-color:
|
|
18
|
+
background-color: var(--color-text-5);
|
|
16
19
|
border: 0;
|
|
17
|
-
color:
|
|
20
|
+
color: var(--color-text-40);
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
&-head {
|
|
21
|
-
background-color:
|
|
22
|
-
border: solid 1px
|
|
23
|
-
color:
|
|
24
|
-
fill:
|
|
25
|
-
border-radius: 4px;
|
|
24
|
+
background-color: var(--color-text-5);
|
|
25
|
+
border: solid 1px var(--color-text-5);
|
|
26
|
+
color: var(--color-text-90);
|
|
27
|
+
fill: var(--color-text-40);
|
|
26
28
|
align-items: center;
|
|
29
|
+
background-clip: padding-box;
|
|
27
30
|
white-space: nowrap;
|
|
28
31
|
padding: 0 8px;
|
|
29
32
|
@include getFont($fonts, 'body-3');
|
|
30
|
-
transition: border-color 0.4s;
|
|
33
|
+
transition: border-color 0.4s, background-color 0.4s;
|
|
31
34
|
overflow: hidden;
|
|
32
35
|
|
|
33
36
|
&_invalid {
|
|
34
|
-
border-color:
|
|
37
|
+
border-color: var(--color-red-50);
|
|
35
38
|
}
|
|
36
39
|
}
|
|
37
40
|
|
|
@@ -40,14 +43,15 @@
|
|
|
40
43
|
&:hover:not(&_disabled) {
|
|
41
44
|
#{$p}-head {
|
|
42
45
|
cursor: pointer;
|
|
43
|
-
|
|
46
|
+
background-color: var(--color-text-10);
|
|
47
|
+
border-color: var(--color-text-10);
|
|
44
48
|
}
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
&-chip-field {
|
|
48
52
|
margin-top: 8px;
|
|
49
53
|
padding: 4px 12px 0 12px;
|
|
50
|
-
border-top: solid 1px
|
|
54
|
+
border-top: solid 1px var(--color-text-10);
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
&-table &-head {
|
|
@@ -69,37 +73,38 @@
|
|
|
69
73
|
}
|
|
70
74
|
|
|
71
75
|
&:focus:not(&_disabled) &-head, &_open &-head {
|
|
72
|
-
border-color:
|
|
76
|
+
border-color: var(--color-primary-50);
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
&-search {
|
|
76
80
|
display: inline-flex;
|
|
77
81
|
align-items: center;
|
|
78
82
|
flex: 1;
|
|
79
|
-
padding-bottom:
|
|
83
|
+
padding-bottom: 8px;
|
|
80
84
|
|
|
81
85
|
teta-text-field {
|
|
82
86
|
border: none;
|
|
83
87
|
}
|
|
84
88
|
}
|
|
85
|
-
|
|
86
|
-
&-list {
|
|
89
|
+
&-body {
|
|
87
90
|
margin-top: 2px;
|
|
91
|
+
padding: 8px 0;
|
|
92
|
+
@include getFont($fonts, 'body-3');
|
|
93
|
+
display: inline-flex;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
}
|
|
96
|
+
&-list {
|
|
88
97
|
padding: 8px 0;
|
|
89
98
|
display: inline-flex;
|
|
90
99
|
flex-direction: column;
|
|
91
100
|
//border-radius: 2px;
|
|
92
101
|
//background-color: getColorVar('background', '50');
|
|
93
|
-
|
|
102
|
+
|
|
94
103
|
|
|
95
104
|
&-item {
|
|
96
|
-
padding: 0 8px 0
|
|
105
|
+
padding: 0 8px 0 8px;
|
|
97
106
|
white-space: nowrap;
|
|
98
107
|
|
|
99
|
-
.icon {
|
|
100
|
-
fill: getColorVar('primary', 50) !important;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
108
|
&_active {
|
|
104
109
|
padding: 0 8px 0 8px;
|
|
105
110
|
}
|
package/style/shadow.scss
CHANGED
|
@@ -1,23 +1,3 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "sass:list";
|
|
3
3
|
@import "util/shadow-util.scss";
|
|
4
|
-
|
|
5
|
-
body {
|
|
6
|
-
@each $shadowName, $shadow in map.get($shadows, "default") {
|
|
7
|
-
--shadow-#{$shadowName}: #{$shadow};
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@each $themeName, $theme in $shadows {
|
|
12
|
-
.theme-#{$themeName} {
|
|
13
|
-
@each $shadowName, $shadow in $theme {
|
|
14
|
-
--shadow-#{$shadowName}: #{$shadow};
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@for $i from 1 through 5 {
|
|
20
|
-
.shadow-#{$i} {
|
|
21
|
-
@include shadow($i);
|
|
22
|
-
}
|
|
23
|
-
}
|
package/style/sidebar.scss
CHANGED
package/style/switch.scss
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
.switch {
|
|
5
5
|
display: inline-flex;
|
|
6
6
|
border: solid 0;
|
|
7
|
-
border-radius: 4px;
|
|
8
7
|
height: 28px;
|
|
8
|
+
padding: 2px;
|
|
9
9
|
@include getFont($fonts, 'button-2');
|
|
10
|
-
background:
|
|
11
|
-
color:
|
|
12
|
-
fill:
|
|
10
|
+
background: var(--color-text-5);
|
|
11
|
+
color: var(--color-text-90);
|
|
12
|
+
fill: var(--color-text-90);
|
|
13
13
|
|
|
14
14
|
&-button {
|
|
15
15
|
display: inline-flex;
|
|
@@ -20,16 +20,21 @@
|
|
|
20
20
|
&:hover {
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
|
|
24
|
+
&:active:not(&_active) {
|
|
25
|
+
background: var(--color-text-10);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:hover:not(&_active):not(&:active) {
|
|
29
|
+
background: var(--color-text-5);
|
|
25
30
|
}
|
|
26
31
|
|
|
27
32
|
&_active {
|
|
28
33
|
border: solid 0;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
color: getColorVar('white', '50');
|
|
34
|
+
background: var(--color-global-bgcard);
|
|
35
|
+
fill: var(--color-text-90);
|
|
36
|
+
color: var(--color-text-90);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
39
|
}
|
|
40
|
+
|
package/style/table.scss
CHANGED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
flex-grow: 1;
|
|
9
9
|
min-height: 0;
|
|
10
10
|
min-width: 0;
|
|
11
|
-
color:
|
|
12
|
-
background-color:
|
|
11
|
+
color: var(--color-text-90);
|
|
12
|
+
background-color: var(--color-global-bgcard);
|
|
13
13
|
@include getFont($fonts, 'body-3');
|
|
14
14
|
|
|
15
15
|
&-head {
|
|
16
16
|
display: flex;
|
|
17
17
|
overflow: hidden;
|
|
18
18
|
flex-shrink: 0;
|
|
19
|
-
background-color:
|
|
20
|
-
color:
|
|
19
|
+
background-color: var(--color-text-10);
|
|
20
|
+
color: var(--color-text-90);
|
|
21
21
|
@include getFont($fonts, 'table-header');
|
|
22
22
|
|
|
23
23
|
&_locked {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
left: 0;
|
|
28
28
|
z-index: 1;
|
|
29
29
|
background-color: inherit;
|
|
30
|
-
border-right: solid 1px
|
|
30
|
+
border-right: solid 1px var(--color-text-30);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&__group {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
&:hover, &_active {
|
|
88
|
-
background:
|
|
88
|
+
background: var(--color-text-20);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&:hover &__menu, &__menu_open {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
padding: 0 4px;
|
|
126
126
|
|
|
127
127
|
&_drag {
|
|
128
|
-
background:
|
|
128
|
+
background: var(--color-primary-50);
|
|
129
129
|
width: 2px;
|
|
130
130
|
height: 100%;
|
|
131
131
|
display: none;
|
|
@@ -170,10 +170,10 @@
|
|
|
170
170
|
&-row {
|
|
171
171
|
display: flex;
|
|
172
172
|
flex-shrink: 0;
|
|
173
|
-
background-color:
|
|
173
|
+
background-color: var(--color-global-bgcard);
|
|
174
174
|
|
|
175
175
|
&:hover {
|
|
176
|
-
background-color:
|
|
176
|
+
background-color: var(--color-primary-5);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
&_locked {
|
|
@@ -182,16 +182,16 @@
|
|
|
182
182
|
background-color: inherit;
|
|
183
183
|
position: sticky;
|
|
184
184
|
left: 0;
|
|
185
|
-
border-right: solid 1px
|
|
185
|
+
border-right: solid 1px var(--color-text-30);
|
|
186
186
|
z-index: 1;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
&_odd {
|
|
190
|
-
background-color:
|
|
190
|
+
background-color: var(--color-global-bgmain);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
&_selected, &_selected:hover {
|
|
194
|
-
background-color:
|
|
194
|
+
background-color: var(--color-primary-10);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
}
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
overflow: hidden;
|
|
207
207
|
|
|
208
208
|
&:focus {
|
|
209
|
-
box-shadow: inset 0 0 0 1px
|
|
209
|
+
box-shadow: inset 0 0 0 1px var(--color-primary-50);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
&-component {
|
|
@@ -229,11 +229,11 @@
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
&_disabled {
|
|
232
|
-
color:
|
|
232
|
+
color: var(--color-text-50);
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
&:hover {
|
|
237
|
-
background:
|
|
237
|
+
background: var(--color-primary-10);
|
|
238
238
|
}
|
|
239
239
|
}
|
package/style/tabs.scss
CHANGED
|
@@ -14,33 +14,33 @@
|
|
|
14
14
|
&-item {
|
|
15
15
|
display: flex;
|
|
16
16
|
align-items: center;
|
|
17
|
-
padding: 0
|
|
17
|
+
padding: 0 16px;
|
|
18
18
|
white-space: nowrap;
|
|
19
|
-
@include getFont($fonts, '
|
|
20
|
-
color:
|
|
21
|
-
fill:
|
|
19
|
+
@include getFont($fonts, 'button-2');
|
|
20
|
+
color: var(--color-text-60);
|
|
21
|
+
fill: var(--color-text-40);
|
|
22
22
|
|
|
23
23
|
&_disabled, &[disabled] {
|
|
24
|
-
color:
|
|
25
|
-
fill:
|
|
24
|
+
color: var(--color-text-20);
|
|
25
|
+
fill: var(--color-text-20);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&:hover:not([disabled]):not(&_disabled) {
|
|
29
29
|
cursor: pointer;
|
|
30
|
-
color:
|
|
31
|
-
fill:
|
|
30
|
+
color: var(--color-text-70);
|
|
31
|
+
fill: var(--color-text-70);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&_active {
|
|
35
35
|
position: relative;
|
|
36
|
-
color:
|
|
37
|
-
fill:
|
|
36
|
+
color: var(--color-text-90);
|
|
37
|
+
fill: var(--color-text-70);
|
|
38
38
|
|
|
39
39
|
&::after {
|
|
40
40
|
content: '';
|
|
41
41
|
position: absolute;
|
|
42
42
|
height: 2px;
|
|
43
|
-
background-color:
|
|
43
|
+
background-color: var(--color-primary-50);
|
|
44
44
|
border: solid 0 transparent;
|
|
45
45
|
left: 0;
|
|
46
46
|
right: 0;
|
package/style/tag.scss
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import "./util/font-util.scss";
|
|
2
|
+
@import "presets/view-types.scss";
|
|
3
|
+
|
|
4
|
+
.tag{
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
padding: 2px 2px 2px 10px;
|
|
7
|
+
@include getFont($fonts, 'caption');
|
|
8
|
+
border-color: var(--color-text-5);
|
|
9
|
+
border-radius: 14px;
|
|
10
|
+
gap: 4px;
|
|
11
|
+
border-style: solid;
|
|
12
|
+
border-width: 1px;
|
|
13
|
+
fill: var(--color-text-50);
|
|
14
|
+
color: var(--color-text-90);
|
|
15
|
+
transition: border-color 0.4s, background-color 0.4s;
|
|
16
|
+
@include getView('base');
|
|
17
|
+
&_filled {
|
|
18
|
+
background-color: var(--color-text-5);
|
|
19
|
+
border-color: transparent;
|
|
20
|
+
&:hover:not(:active){
|
|
21
|
+
background-color: var(--color-text-10);
|
|
22
|
+
fill: var(--color-text-60);
|
|
23
|
+
}
|
|
24
|
+
&:active{
|
|
25
|
+
background-color: var(--color-text-20);
|
|
26
|
+
fill: var(--color-text-70);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
&:hover:not(:active):not(&_filled){
|
|
30
|
+
border-color: var(--color-text-10);
|
|
31
|
+
fill: var(--color-text-60);
|
|
32
|
+
}
|
|
33
|
+
&:active:not(&_filled){
|
|
34
|
+
border-color: var(--color-text-20);
|
|
35
|
+
fill: var(--color-text-70);
|
|
36
|
+
}
|
|
37
|
+
}
|
package/style/toggle.scss
CHANGED
|
@@ -8,28 +8,30 @@
|
|
|
8
8
|
flex-grow: 1;
|
|
9
9
|
|
|
10
10
|
&_disabled &-button {
|
|
11
|
-
background:
|
|
11
|
+
background: var(--color-text-5) !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:focus-within &-button {
|
|
15
|
+
box-shadow: 0 0 0 4px var(--color-primary-5);
|
|
12
16
|
}
|
|
13
17
|
|
|
14
18
|
&-button {
|
|
15
19
|
position: relative;
|
|
16
|
-
width:
|
|
20
|
+
width: 28px;
|
|
17
21
|
height: 16px;
|
|
18
|
-
border:
|
|
22
|
+
border: 0;
|
|
19
23
|
border-radius: 10px;
|
|
20
|
-
background:
|
|
21
|
-
box-shadow: inset 0 0 0 1px getColorVar('text', 20);
|
|
24
|
+
background: var(--color-text-20);
|
|
22
25
|
|
|
23
26
|
&-circle {
|
|
24
27
|
position: absolute;
|
|
25
|
-
top:
|
|
26
|
-
left:
|
|
27
|
-
width:
|
|
28
|
-
height:
|
|
29
|
-
border:
|
|
30
|
-
border-radius:
|
|
31
|
-
background:
|
|
32
|
-
box-shadow: 0 0 0 1px getColorVar('text', 20);
|
|
28
|
+
top: calc(50% - 12px/2);
|
|
29
|
+
left: 2px;
|
|
30
|
+
width: 12px;
|
|
31
|
+
height: 12px;
|
|
32
|
+
border: 0;
|
|
33
|
+
border-radius: 6px;
|
|
34
|
+
background: var(--color-global-white);
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
$button: &;
|
|
@@ -39,16 +41,16 @@
|
|
|
39
41
|
box-shadow: none;
|
|
40
42
|
#{$button}-circle {
|
|
41
43
|
left: unset;
|
|
42
|
-
right:
|
|
44
|
+
right: 2px;
|
|
43
45
|
box-shadow: none;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
|
-
@each $paletteName in $
|
|
48
|
+
@each $paletteName, $palette in map-get($themes, nth(map-keys($themes), 1)) {
|
|
47
49
|
&#{$button}-#{$paletteName} {
|
|
48
50
|
background: getColorVar($paletteName, '50');
|
|
49
51
|
|
|
50
|
-
&:hover:not(.toggle_disabled) {
|
|
51
|
-
background: getColorVar($paletteName, '
|
|
52
|
+
&:hover:not(.toggle_disabled):not(:active) {
|
|
53
|
+
background: getColorVar($paletteName, '60');
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
&:active {
|
|
@@ -60,7 +62,7 @@
|
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
&:not(&_disabled):hover &-button:not(.toggle-button-on) {
|
|
63
|
-
background:
|
|
65
|
+
background: var(--color-text-30);
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
&:hover:not(&_disabled) {
|
package/style/toolbar.scss
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
padding: 0 12px;
|
|
13
13
|
@include getFont($fonts, 'title-2');
|
|
14
14
|
|
|
15
|
-
@each $paletteName in $
|
|
15
|
+
@each $paletteName, $palette in map-get($themes, nth(map-keys($themes), 1)) {
|
|
16
16
|
&.toolbar-#{$paletteName} {
|
|
17
17
|
background-color: getColorVar($paletteName, '50');
|
|
18
18
|
}
|
package/style/tooltip.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import "util/shadow-util.scss";
|
|
2
2
|
@import "util/color-util.scss";
|
|
3
|
+
@import "presets/view-types.scss";
|
|
3
4
|
|
|
4
5
|
.tooltip {
|
|
5
6
|
@include shadow(1);
|
|
@@ -7,8 +8,9 @@
|
|
|
7
8
|
padding: 12px;
|
|
8
9
|
white-space: nowrap;
|
|
9
10
|
z-index: 1;
|
|
10
|
-
background-color:
|
|
11
|
-
color:
|
|
11
|
+
background-color: var(--color-global-white);
|
|
12
|
+
color: var(--color-text-50);
|
|
13
|
+
@include getView('base');
|
|
12
14
|
|
|
13
15
|
&::before, &::after {
|
|
14
16
|
position: absolute;
|
|
@@ -25,7 +27,7 @@
|
|
|
25
27
|
transform: translate(-50%, 0);
|
|
26
28
|
border-left: 12px solid transparent;
|
|
27
29
|
border-right: 12px solid transparent;
|
|
28
|
-
border-top: 12px solid
|
|
30
|
+
border-top: 12px solid var(--color-global-white);
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
&::after {
|
|
@@ -34,7 +36,7 @@
|
|
|
34
36
|
transform: translate(-50%, 0);
|
|
35
37
|
border-left: 12px solid transparent;
|
|
36
38
|
border-right: 12px solid transparent;
|
|
37
|
-
border-top: 12px solid
|
|
39
|
+
border-top: 12px solid var(--color-global-white);
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
|
|
@@ -45,7 +47,7 @@
|
|
|
45
47
|
transform: translate(-50%, 0);
|
|
46
48
|
border-left: 12px solid transparent;
|
|
47
49
|
border-right: 12px solid transparent;
|
|
48
|
-
border-bottom: 12px solid
|
|
50
|
+
border-bottom: 12px solid var(--color-global-white);
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
&::after {
|
|
@@ -54,7 +56,7 @@
|
|
|
54
56
|
transform: translate(-50%, 0);
|
|
55
57
|
border-left: 12px solid transparent;
|
|
56
58
|
border-right: 12px solid transparent;
|
|
57
|
-
border-bottom: 12px solid
|
|
59
|
+
border-bottom: 12px solid var(--color-global-white);
|
|
58
60
|
}
|
|
59
61
|
}
|
|
60
62
|
}
|
package/style/tree.scss
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
flex-grow: 1;
|
|
21
21
|
align-items: center;
|
|
22
22
|
height: 28px;
|
|
23
|
-
color:
|
|
23
|
+
color: var(--color-text-90);
|
|
24
24
|
transition: background 0.4s;
|
|
25
25
|
padding: 0 12px;
|
|
26
26
|
min-width: 0;
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
|
|
41
41
|
&:hover {
|
|
42
42
|
cursor: pointer;
|
|
43
|
-
background-color:
|
|
43
|
+
background-color: var(--color-text-5);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
&_active {
|
|
47
|
-
background-color:
|
|
47
|
+
background-color: var(--color-text-10);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&__icon {
|
|
52
|
-
fill:
|
|
52
|
+
fill: var(--color-text-70);
|
|
53
53
|
|
|
54
54
|
&:hover {
|
|
55
55
|
cursor: pointer;
|