@tetacom/ng-components 1.0.151 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/color-icons.svg +521 -49
- package/assets/file-icons.svg +1 -0
- package/assets/icons.svg +138 -205
- package/component/accordion/accordion-item/accordion-item.component.d.ts +1 -4
- package/component/button/button/button.component.d.ts +1 -4
- package/component/checkbox/checkbox/checkbox.component.d.ts +1 -2
- package/component/date-picker/date-picker/date-picker.component.d.ts +68 -38
- package/component/date-picker/date-picker.module.d.ts +16 -19
- package/component/date-picker/day-select/day-select.component.d.ts +51 -0
- package/component/date-picker/model/date-picker-mode.enum.d.ts +5 -0
- package/component/date-picker/month-picker/month-picker.component.d.ts +50 -16
- package/component/date-picker/month-select/month-select.component.d.ts +40 -0
- package/component/date-picker/public-api.d.ts +4 -5
- package/component/date-picker/service/picker-touch.service.d.ts +12 -0
- package/component/date-picker/time-part-control/time-part-control.component.d.ts +26 -0
- package/component/date-picker/util/date-picker-util.d.ts +15 -0
- package/component/date-picker/year-select/year-select.component.d.ts +45 -0
- package/component/dropdown/dropdown-base.d.ts +1 -3
- package/component/filter/filter.module.d.ts +2 -1
- package/component/icon/icon-file/icon-file.component.d.ts +3 -9
- package/component/icon/icon.module.d.ts +5 -4
- package/component/icon/public-api.d.ts +0 -1
- package/component/input/input/input.component.d.ts +1 -3
- package/component/message/model/message.d.ts +0 -3
- package/component/public-api.d.ts +0 -2
- package/component/select/select/select.component.d.ts +1 -4
- package/component/select/select.module.d.ts +2 -1
- package/component/switch/switch/switch.component.d.ts +1 -4
- package/component/table/table-body/table-body.component.d.ts +1 -0
- package/component/table/table.module.d.ts +2 -1
- package/component/tree/tree.module.d.ts +2 -1
- package/directive/hint/hint.directive.d.ts +1 -3
- package/directive/only-number/only-number.directive.d.ts +2 -1
- package/directive/public-api.d.ts +1 -0
- package/directive/scrollable/public-api.d.ts +3 -0
- package/directive/scrollable/scrollable/scrollable.component.d.ts +32 -0
- package/directive/scrollable/scrollable.directive.d.ts +6 -0
- package/directive/scrollable/scrollable.module.d.ts +10 -0
- package/esm2020/component/accordion/accordion/accordion.component.mjs +2 -3
- package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +2 -3
- package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +3 -13
- package/esm2020/component/button/button/button.component.mjs +3 -18
- package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -6
- package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +235 -141
- package/esm2020/component/date-picker/date-picker.module.mjs +45 -41
- package/esm2020/component/date-picker/day-select/day-select.component.mjs +184 -0
- package/esm2020/component/date-picker/model/date-picker-mode.enum.mjs +7 -0
- package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +237 -33
- package/esm2020/component/date-picker/month-select/month-select.component.mjs +148 -0
- package/esm2020/component/date-picker/public-api.mjs +5 -6
- package/esm2020/component/date-picker/service/picker-touch.service.mjs +34 -0
- package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +73 -0
- package/esm2020/component/date-picker/util/date-picker-util.mjs +142 -0
- package/esm2020/component/date-picker/year-select/year-select.component.mjs +189 -0
- package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +2 -3
- package/esm2020/component/dropdown/dropdown-base.mjs +2 -6
- 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/filter.module.mjs +7 -3
- package/esm2020/component/filter/list-filter/list-filter.component.mjs +4 -3
- 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 +6 -20
- package/esm2020/component/icon/icon.module.mjs +6 -1
- package/esm2020/component/icon/public-api.mjs +1 -2
- package/esm2020/component/input/input/input.component.mjs +3 -6
- 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 +3 -4
- package/esm2020/component/message/message-host/message-host.component.mjs +1 -1
- package/esm2020/component/message/model/message.mjs +1 -2
- 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 +1 -4
- package/esm2020/component/select/select/select.component.mjs +6 -9
- package/esm2020/component/select/select.module.mjs +7 -3
- package/esm2020/component/switch/switch/switch.component.mjs +7 -19
- package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +1 -1
- package/esm2020/component/table/default/date-cell/date-cell.component.mjs +3 -3
- 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-body/table-body.component.mjs +11 -6
- 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 +4 -3
- package/esm2020/component/table/table.module.mjs +7 -3
- package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +1 -1
- package/esm2020/component/tree/tree/tree.component.mjs +6 -4
- package/esm2020/component/tree/tree.module.mjs +5 -4
- package/esm2020/directive/hint/hint.directive.mjs +3 -6
- package/esm2020/directive/only-number/only-number.directive.mjs +11 -2
- package/esm2020/directive/public-api.mjs +2 -1
- package/esm2020/directive/scrollable/public-api.mjs +4 -0
- package/esm2020/directive/scrollable/scrollable/scrollable.component.mjs +96 -0
- package/esm2020/directive/scrollable/scrollable.directive.mjs +19 -0
- package/esm2020/directive/scrollable/scrollable.module.mjs +33 -0
- package/esm2020/locale/en.mjs +1 -3
- package/esm2020/locale/ru.mjs +1 -3
- package/esm2020/locale/teta-localisation.mjs +1 -1
- package/esm2020/observable/animation-frame.mjs +30 -0
- package/esm2020/observable/public-api.mjs +2 -1
- package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +18 -0
- package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +21 -0
- package/fesm2015/tetacom-ng-components.mjs +5483 -5182
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +3333 -3026
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/locale/teta-localisation.d.ts +0 -2
- package/observable/animation-frame.d.ts +4 -0
- package/observable/public-api.d.ts +1 -0
- package/package.json +2 -3
- package/pipe/prepend-zero/prepend-zero.module.d.ts +8 -0
- package/pipe/prepend-zero/prepend-zero.pipe.d.ts +7 -0
- package/style/accordion.scss +6 -28
- package/style/assembly-library.scss +1 -4
- package/style/assembly-presets.scss +1 -0
- package/style/button.scss +13 -16
- package/style/checkbox.scss +13 -26
- package/style/chips.scss +10 -10
- package/style/color.scss +36 -1
- package/style/datepicker.scss +24 -139
- package/style/drag.scss +1 -1
- package/style/dropdown.scss +4 -6
- package/style/hint.scss +5 -5
- package/style/icon.scss +1 -2
- package/style/input.scss +23 -32
- package/style/layout.scss +2 -6
- package/style/library.scss +17 -0
- package/style/list.scss +8 -11
- package/style/loader.scss +2 -2
- package/style/message.scss +7 -15
- package/style/modal.scss +2 -3
- package/style/navigation.scss +1 -4
- package/style/presets/color-presets.scss +160 -8
- package/style/presets/font-presets.scss +25 -26
- package/style/presets/shadow-presets.scss +16 -0
- package/style/progress.scss +3 -3
- package/style/radio.scss +7 -21
- package/style/resize-panel.scss +2 -2
- package/style/scroll.scss +21 -17
- package/style/select.scss +21 -26
- package/style/shadow.scss +20 -0
- package/style/sidebar.scss +1 -1
- package/style/switch.scss +10 -15
- package/style/table.scss +15 -17
- package/style/tabs.scss +11 -11
- package/style/toggle.scss +18 -20
- package/style/tokens/basedark.tokens.css +77 -0
- package/style/tokens/baselight.tokens.css +61 -0
- package/style/tokens/global.tokens.css +235 -0
- package/style/tokens/utility.tokens.css +1119 -0
- package/style/toolbar.scss +1 -1
- package/style/tooltip.scss +6 -8
- package/style/tree.scss +4 -4
- package/style/util/button-util.scss +58 -0
- package/common/model/view-type.model.d.ts +0 -1
- package/component/avatar/avatar/avatar.component.d.ts +0 -17
- package/component/avatar/avatar.module.d.ts +0 -9
- package/component/avatar/model/avatar-color.enum.d.ts +0 -20
- package/component/avatar/public-api.d.ts +0 -2
- package/component/date-picker/base-calendar.d.ts +0 -49
- package/component/date-picker/base-picker.d.ts +0 -60
- package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +0 -20
- package/component/date-picker/date-range/date-range.component.d.ts +0 -46
- package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +0 -39
- package/component/date-picker/day-picker/day-item/day-item.component.d.ts +0 -9
- package/component/date-picker/day-picker/day-picker.component.d.ts +0 -30
- package/component/date-picker/model/from-to.model.d.ts +0 -4
- package/component/date-picker/model/min-max-date.model.d.ts +0 -4
- package/component/date-picker/year-picker/scroll-to-selected-year.directive.d.ts +0 -11
- package/component/date-picker/year-picker/year-picker.component.d.ts +0 -24
- package/component/divider/divider/divider.component.d.ts +0 -10
- package/component/divider/divider.module.d.ts +0 -8
- package/component/divider/public-api.d.ts +0 -2
- package/component/icon/icon-file/icon-file.module.d.ts +0 -9
- package/esm2020/common/model/view-type.model.mjs +0 -2
- package/esm2020/component/avatar/avatar/avatar.component.mjs +0 -57
- package/esm2020/component/avatar/avatar.module.mjs +0 -28
- package/esm2020/component/avatar/model/avatar-color.enum.mjs +0 -22
- package/esm2020/component/avatar/public-api.mjs +0 -3
- package/esm2020/component/date-picker/base-calendar.mjs +0 -99
- package/esm2020/component/date-picker/base-picker.mjs +0 -102
- package/esm2020/component/date-picker/date-picker/date-calendar/date-calendar.component.mjs +0 -49
- package/esm2020/component/date-picker/date-range/date-range.component.mjs +0 -211
- package/esm2020/component/date-picker/date-range/range-calendar/range-calendar.component.mjs +0 -108
- package/esm2020/component/date-picker/day-picker/day-item/day-item.component.mjs +0 -15
- package/esm2020/component/date-picker/day-picker/day-picker.component.mjs +0 -113
- package/esm2020/component/date-picker/model/from-to.model.mjs +0 -2
- package/esm2020/component/date-picker/model/min-max-date.model.mjs +0 -2
- package/esm2020/component/date-picker/year-picker/scroll-to-selected-year.directive.mjs +0 -26
- package/esm2020/component/date-picker/year-picker/year-picker.component.mjs +0 -48
- package/esm2020/component/divider/divider/divider.component.mjs +0 -18
- package/esm2020/component/divider/divider.module.mjs +0 -20
- package/esm2020/component/divider/public-api.mjs +0 -3
- package/esm2020/component/icon/icon-file/icon-file.module.mjs +0 -28
- package/style/badge.scss +0 -28
- package/style/bottombar.scss +0 -5
- package/style/divider.scss +0 -15
- package/style/presets/view-types.scss +0 -15
- package/style/tag.scss +0 -37
- package/style/util/scroll-util.scss +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$fonts: (
|
|
2
2
|
h-1: (
|
|
3
3
|
font-size:92px,
|
|
4
|
-
font-family:"
|
|
4
|
+
font-family:"Open Sans",
|
|
5
5
|
font-weight:600,
|
|
6
6
|
font-style:normal,
|
|
7
7
|
letter-spacing:0.15px,
|
|
@@ -9,7 +9,7 @@ $fonts: (
|
|
|
9
9
|
),
|
|
10
10
|
h-2: (
|
|
11
11
|
font-size:60px,
|
|
12
|
-
font-family:"
|
|
12
|
+
font-family:"Open Sans",
|
|
13
13
|
font-weight:600,
|
|
14
14
|
font-style:normal,
|
|
15
15
|
letter-spacing:0.15px,
|
|
@@ -17,7 +17,7 @@ $fonts: (
|
|
|
17
17
|
),
|
|
18
18
|
h-3: (
|
|
19
19
|
font-size:48px,
|
|
20
|
-
font-family:"
|
|
20
|
+
font-family:"Open Sans",
|
|
21
21
|
font-weight:600,
|
|
22
22
|
font-style:normal,
|
|
23
23
|
letter-spacing:0.15px,
|
|
@@ -25,7 +25,7 @@ $fonts: (
|
|
|
25
25
|
),
|
|
26
26
|
h-4: (
|
|
27
27
|
font-size:35px,
|
|
28
|
-
font-family:"
|
|
28
|
+
font-family:"Open Sans",
|
|
29
29
|
font-weight:600,
|
|
30
30
|
font-style:normal,
|
|
31
31
|
line-height:44px,
|
|
@@ -34,16 +34,15 @@ $fonts: (
|
|
|
34
34
|
),
|
|
35
35
|
h-5: (
|
|
36
36
|
font-size:28px,
|
|
37
|
-
font-family:"
|
|
38
|
-
font-weight:
|
|
37
|
+
font-family:"Open Sans",
|
|
38
|
+
font-weight:600,
|
|
39
39
|
font-style:normal,
|
|
40
|
-
line-height: 34px,
|
|
41
40
|
letter-spacing:0.15px,
|
|
42
41
|
text-decoration:none
|
|
43
42
|
),
|
|
44
43
|
h-6: (
|
|
45
44
|
font-size:20px,
|
|
46
|
-
font-family:"
|
|
45
|
+
font-family:"Open Sans",
|
|
47
46
|
font-weight:600,
|
|
48
47
|
font-style:normal,
|
|
49
48
|
letter-spacing:0.15px,
|
|
@@ -51,8 +50,8 @@ $fonts: (
|
|
|
51
50
|
),
|
|
52
51
|
title-1: (
|
|
53
52
|
font-size:16px,
|
|
54
|
-
font-family:"
|
|
55
|
-
font-weight:
|
|
53
|
+
font-family:"Open Sans",
|
|
54
|
+
font-weight:600,
|
|
56
55
|
font-style:normal,
|
|
57
56
|
line-height:24px,
|
|
58
57
|
letter-spacing:0.0015em,
|
|
@@ -60,23 +59,23 @@ $fonts: (
|
|
|
60
59
|
),
|
|
61
60
|
title-2: (
|
|
62
61
|
font-size:14px,
|
|
63
|
-
font-family:"
|
|
64
|
-
font-weight:
|
|
62
|
+
font-family:"Open Sans",
|
|
63
|
+
font-weight:600,
|
|
65
64
|
font-style:normal,
|
|
66
|
-
line-height:
|
|
65
|
+
line-height:16px,
|
|
67
66
|
text-decoration:none
|
|
68
67
|
),
|
|
69
68
|
title-3: (
|
|
70
69
|
font-size:12px,
|
|
71
|
-
font-family:"
|
|
72
|
-
font-weight:
|
|
70
|
+
font-family:"Open Sans",
|
|
71
|
+
font-weight:600,
|
|
73
72
|
font-style:normal,
|
|
74
73
|
line-height:16px,
|
|
75
74
|
text-decoration:none
|
|
76
75
|
),
|
|
77
76
|
body-1: (
|
|
78
77
|
font-size:16px,
|
|
79
|
-
font-family:"
|
|
78
|
+
font-family:"Open Sans",
|
|
80
79
|
font-weight:normal,
|
|
81
80
|
font-style:normal,
|
|
82
81
|
line-height:24px,
|
|
@@ -84,15 +83,15 @@ $fonts: (
|
|
|
84
83
|
),
|
|
85
84
|
body-2: (
|
|
86
85
|
font-size:14px,
|
|
87
|
-
font-family:"
|
|
88
|
-
font-weight:
|
|
86
|
+
font-family:"Open Sans",
|
|
87
|
+
font-weight:normal,
|
|
89
88
|
font-style:normal,
|
|
90
89
|
line-height:16px,
|
|
91
90
|
text-decoration:none
|
|
92
91
|
),
|
|
93
92
|
body-3: (
|
|
94
93
|
font-size:12px,
|
|
95
|
-
font-family:"
|
|
94
|
+
font-family:"Open Sans",
|
|
96
95
|
font-weight:normal,
|
|
97
96
|
font-style:normal,
|
|
98
97
|
line-height:16px,
|
|
@@ -100,7 +99,7 @@ $fonts: (
|
|
|
100
99
|
),
|
|
101
100
|
button-1: (
|
|
102
101
|
font-size:13px,
|
|
103
|
-
font-family:"
|
|
102
|
+
font-family:"Open Sans",
|
|
104
103
|
font-weight:600,
|
|
105
104
|
font-style:normal,
|
|
106
105
|
line-height:20px,
|
|
@@ -108,15 +107,15 @@ $fonts: (
|
|
|
108
107
|
),
|
|
109
108
|
button-2: (
|
|
110
109
|
font-size:11px,
|
|
111
|
-
font-family:"
|
|
112
|
-
font-weight:
|
|
110
|
+
font-family:"Open Sans",
|
|
111
|
+
font-weight:600,
|
|
113
112
|
font-style:normal,
|
|
114
113
|
line-height:16px,
|
|
115
114
|
text-decoration:none
|
|
116
115
|
),
|
|
117
116
|
button-3: (
|
|
118
117
|
font-size:10px,
|
|
119
|
-
font-family:"
|
|
118
|
+
font-family:"Open Sans",
|
|
120
119
|
font-weight:600,
|
|
121
120
|
font-style:normal,
|
|
122
121
|
line-height:14px,
|
|
@@ -124,7 +123,7 @@ $fonts: (
|
|
|
124
123
|
),
|
|
125
124
|
caption: (
|
|
126
125
|
font-size:11px,
|
|
127
|
-
font-family:"
|
|
126
|
+
font-family:"Open Sans",
|
|
128
127
|
font-weight:normal,
|
|
129
128
|
font-style:normal,
|
|
130
129
|
line-height:16px,
|
|
@@ -132,7 +131,7 @@ $fonts: (
|
|
|
132
131
|
),
|
|
133
132
|
table-header: (
|
|
134
133
|
font-size:11px,
|
|
135
|
-
font-family:"
|
|
134
|
+
font-family:"Open Sans",
|
|
136
135
|
font-weight:600,
|
|
137
136
|
font-style:normal,
|
|
138
137
|
line-height:12px,
|
|
@@ -140,7 +139,7 @@ $fonts: (
|
|
|
140
139
|
),
|
|
141
140
|
overline: (
|
|
142
141
|
font-size:10px,
|
|
143
|
-
font-family:"
|
|
142
|
+
font-family:"Open Sans",
|
|
144
143
|
font-weight:600,
|
|
145
144
|
font-style:normal,
|
|
146
145
|
line-height:12px,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$shadows: (
|
|
2
|
+
'default': (
|
|
3
|
+
'1': 0px 1px 0px #DAE0EB,
|
|
4
|
+
'2': 0px 14px 18px 0px rgba(0, 0, 0, 0.06),
|
|
5
|
+
'3': 0px 8px 16px rgba(39, 39, 39, 0.26),
|
|
6
|
+
'4': 0px 12px 24px rgba(39, 39, 39, 0.26),
|
|
7
|
+
'5': 0px 16px 32px rgba(39, 39, 39, 0.26),
|
|
8
|
+
),
|
|
9
|
+
'dark': (
|
|
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
|
+
)
|
|
16
|
+
);
|
package/style/progress.scss
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
width: 100%;
|
|
5
5
|
height: 4px;
|
|
6
6
|
display: flex;
|
|
7
|
-
background:
|
|
7
|
+
background: getColorVar('text', '10');
|
|
8
8
|
position: relative;
|
|
9
9
|
|
|
10
10
|
&-bar {
|
|
11
|
-
background:
|
|
11
|
+
background: getColorVar('primary', '50');
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
&-slider {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
margin-left: -6px;
|
|
20
20
|
margin-top: -4px;
|
|
21
21
|
border-radius: 6px;
|
|
22
|
-
background:
|
|
22
|
+
background: getColorVar('primary', '50');
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&:hover &-slider, &-slider_visible {
|
package/style/radio.scss
CHANGED
|
@@ -12,10 +12,9 @@
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
@include getFont($fonts, 'body-3');
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
&_disabled {
|
|
17
16
|
filter: grayscale(50%);
|
|
18
|
-
color:
|
|
17
|
+
color: getColorVar('text', '40');
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
&-icon {
|
|
@@ -24,21 +23,13 @@
|
|
|
24
23
|
display: inline-flex;
|
|
25
24
|
align-items: center;
|
|
26
25
|
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;
|
|
35
28
|
}
|
|
36
29
|
|
|
37
30
|
&_disabled &-icon {
|
|
38
|
-
background-color:
|
|
39
|
-
color:
|
|
40
|
-
border: solid 1px var(--color-text-30);
|
|
41
|
-
|
|
31
|
+
background-color: getColorVar('text', '5');
|
|
32
|
+
color: getColorVar('text', '40');
|
|
42
33
|
}
|
|
43
34
|
|
|
44
35
|
&-small-icon {
|
|
@@ -49,11 +40,11 @@
|
|
|
49
40
|
justify-content: center;
|
|
50
41
|
border: solid 0 transparent;
|
|
51
42
|
border-radius: 4px;
|
|
52
|
-
background-color:
|
|
43
|
+
background-color: getColorVar('primary', '50');
|
|
53
44
|
}
|
|
54
45
|
|
|
55
46
|
&_disabled &-small-icon {
|
|
56
|
-
background-color:
|
|
47
|
+
background-color: getColorVar('text', '30');
|
|
57
48
|
}
|
|
58
49
|
|
|
59
50
|
&:hover:not(&_disabled) {
|
|
@@ -61,12 +52,7 @@
|
|
|
61
52
|
}
|
|
62
53
|
|
|
63
54
|
&:hover:not(&_disabled) &-icon {
|
|
64
|
-
background:
|
|
65
|
-
border-color: var(--color-primary-60);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&:hover:not(&_disabled) &-icon:has(&-small-icon) {
|
|
69
|
-
background: var(--color-primary-60);
|
|
55
|
+
background: getColorVar('text', '5');
|
|
70
56
|
}
|
|
71
57
|
}
|
|
72
58
|
}
|
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: getColorVar('text', '20');
|
|
14
14
|
z-index: 10;
|
|
15
15
|
|
|
16
16
|
&_active, &:hover {
|
|
17
|
-
fill:
|
|
17
|
+
fill: getColorVar('text', '90');
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&_left, &_right, &_vertical {
|
package/style/scroll.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@import "util/color-util.scss";
|
|
2
|
-
@import "util/scroll-util.scss";
|
|
3
2
|
|
|
4
3
|
::-webkit-scrollbar-button {
|
|
5
4
|
width: 4px;
|
|
@@ -15,7 +14,6 @@
|
|
|
15
14
|
::-webkit-scrollbar-track,
|
|
16
15
|
::-webkit-scrollbar-thumb {
|
|
17
16
|
border: 4px solid transparent;
|
|
18
|
-
//border-radius: 4px;
|
|
19
17
|
background-clip: padding-box;
|
|
20
18
|
}
|
|
21
19
|
|
|
@@ -25,20 +23,17 @@
|
|
|
25
23
|
|
|
26
24
|
::-webkit-scrollbar-track:hover {
|
|
27
25
|
&::-webkit-scrollbar-thumb {
|
|
28
|
-
background-color:
|
|
26
|
+
background-color: getColorVar('primary', '50');
|
|
29
27
|
border: 2px solid transparent;
|
|
30
|
-
//border-radius: 4px;
|
|
31
28
|
}
|
|
32
29
|
}
|
|
33
30
|
|
|
34
31
|
::-webkit-scrollbar-thumb {
|
|
35
|
-
background-color:
|
|
36
|
-
//border-radius: 4px;
|
|
32
|
+
background-color: getColorVar('text', '10');
|
|
37
33
|
|
|
38
34
|
&:hover {
|
|
39
|
-
background-color:
|
|
35
|
+
background-color: getColorVar('primary', '50');
|
|
40
36
|
border: 2px solid transparent;
|
|
41
|
-
//border-radius: 4px;
|
|
42
37
|
}
|
|
43
38
|
}
|
|
44
39
|
|
|
@@ -47,14 +42,23 @@
|
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
.scrollable {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
display: none;
|
|
57
|
-
opacity: 0;
|
|
58
|
-
transition: visibility 0s, opacity 0.5s linear;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
position: relative;
|
|
47
|
+
|
|
48
|
+
&_hide_scroll::-webkit-scrollbar {
|
|
49
|
+
width: 0;
|
|
50
|
+
height: 0;
|
|
59
51
|
}
|
|
52
|
+
|
|
53
|
+
//&:hover::-webkit-scrollbar:horizontal {
|
|
54
|
+
// height: 0;
|
|
55
|
+
// display: block;
|
|
56
|
+
// opacity: 1;
|
|
57
|
+
//}
|
|
58
|
+
//
|
|
59
|
+
//&::-webkit-scrollbar {
|
|
60
|
+
// display: none;
|
|
61
|
+
// opacity: 0;
|
|
62
|
+
// transition: visibility 0s, opacity 0.5s linear;
|
|
63
|
+
//}
|
|
60
64
|
}
|
package/style/select.scss
CHANGED
|
@@ -1,40 +1,37 @@
|
|
|
1
1
|
@import "util/color-util.scss";
|
|
2
2
|
@import "util/font-util.scss";
|
|
3
|
-
@import "presets/view-types.scss";
|
|
4
3
|
|
|
5
4
|
.select {
|
|
6
5
|
display: inline-flex;
|
|
7
6
|
height: 28px;
|
|
8
7
|
width: 100%;
|
|
9
8
|
|
|
10
|
-
@include getView('field');
|
|
11
|
-
|
|
12
9
|
&_multiple {
|
|
13
10
|
min-height: 28px;
|
|
14
11
|
height: unset;
|
|
15
12
|
}
|
|
16
13
|
|
|
17
14
|
&_disabled &-head {
|
|
18
|
-
background-color:
|
|
15
|
+
background-color: getColorVar('text', 5);
|
|
19
16
|
border: 0;
|
|
20
|
-
color:
|
|
17
|
+
color: getColorVar('text', 40);
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
&-head {
|
|
24
|
-
background-color:
|
|
25
|
-
border: solid 1px
|
|
26
|
-
color:
|
|
27
|
-
fill:
|
|
21
|
+
background-color: getColorVar('background', '50');
|
|
22
|
+
border: solid 1px getColorVar('text', '20');
|
|
23
|
+
color: getColorVar('text', '90');
|
|
24
|
+
fill: getColorVar('text', '40');
|
|
25
|
+
border-radius: 4px;
|
|
28
26
|
align-items: center;
|
|
29
|
-
background-clip: padding-box;
|
|
30
27
|
white-space: nowrap;
|
|
31
28
|
padding: 0 8px;
|
|
32
29
|
@include getFont($fonts, 'body-3');
|
|
33
|
-
transition: border-color 0.4s
|
|
30
|
+
transition: border-color 0.4s;
|
|
34
31
|
overflow: hidden;
|
|
35
32
|
|
|
36
33
|
&_invalid {
|
|
37
|
-
border-color:
|
|
34
|
+
border-color: getColorVar('red', '50');
|
|
38
35
|
}
|
|
39
36
|
}
|
|
40
37
|
|
|
@@ -43,15 +40,14 @@
|
|
|
43
40
|
&:hover:not(&_disabled) {
|
|
44
41
|
#{$p}-head {
|
|
45
42
|
cursor: pointer;
|
|
46
|
-
|
|
47
|
-
border-color: var(--color-text-10);
|
|
43
|
+
border-color: getColorVar('text', '40');
|
|
48
44
|
}
|
|
49
45
|
}
|
|
50
46
|
|
|
51
47
|
&-chip-field {
|
|
52
48
|
margin-top: 8px;
|
|
53
49
|
padding: 4px 12px 0 12px;
|
|
54
|
-
border-top: solid 1px
|
|
50
|
+
border-top: solid 1px getColorVar('text', 10);
|
|
55
51
|
}
|
|
56
52
|
|
|
57
53
|
&-table &-head {
|
|
@@ -73,38 +69,37 @@
|
|
|
73
69
|
}
|
|
74
70
|
|
|
75
71
|
&:focus:not(&_disabled) &-head, &_open &-head {
|
|
76
|
-
border-color:
|
|
72
|
+
border-color: getColorVar('primary', '50');
|
|
77
73
|
}
|
|
78
74
|
|
|
79
75
|
&-search {
|
|
80
76
|
display: inline-flex;
|
|
81
77
|
align-items: center;
|
|
82
78
|
flex: 1;
|
|
83
|
-
padding-bottom:
|
|
79
|
+
padding-bottom: 4px;
|
|
84
80
|
|
|
85
81
|
teta-text-field {
|
|
86
82
|
border: none;
|
|
87
83
|
}
|
|
88
84
|
}
|
|
89
|
-
|
|
90
|
-
margin-top: 2px;
|
|
91
|
-
padding: 8px 0;
|
|
92
|
-
@include getFont($fonts, 'body-3');
|
|
93
|
-
display: inline-flex;
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
}
|
|
85
|
+
|
|
96
86
|
&-list {
|
|
87
|
+
margin-top: 2px;
|
|
97
88
|
padding: 8px 0;
|
|
98
89
|
display: inline-flex;
|
|
99
90
|
flex-direction: column;
|
|
100
91
|
//border-radius: 2px;
|
|
101
92
|
//background-color: getColorVar('background', '50');
|
|
102
|
-
|
|
93
|
+
@include getFont($fonts, 'body-3');
|
|
103
94
|
|
|
104
95
|
&-item {
|
|
105
|
-
padding: 0 8px 0
|
|
96
|
+
padding: 0 8px 0 32px;
|
|
106
97
|
white-space: nowrap;
|
|
107
98
|
|
|
99
|
+
.icon {
|
|
100
|
+
fill: getColorVar('primary', 50) !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
108
103
|
&_active {
|
|
109
104
|
padding: 0 8px 0 8px;
|
|
110
105
|
}
|
package/style/shadow.scss
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
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;
|
|
7
8
|
height: 28px;
|
|
8
|
-
padding: 2px;
|
|
9
9
|
@include getFont($fonts, 'button-2');
|
|
10
|
-
background:
|
|
11
|
-
color:
|
|
12
|
-
fill:
|
|
10
|
+
background: getColorVar('background', '50');
|
|
11
|
+
color: getColorVar('text', '90');
|
|
12
|
+
fill: getColorVar('text', '90');
|
|
13
13
|
|
|
14
14
|
&-button {
|
|
15
15
|
display: inline-flex;
|
|
@@ -20,21 +20,16 @@
|
|
|
20
20
|
&:hover {
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
background: var(--color-text-10);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&:hover:not(&_active):not(&:active) {
|
|
29
|
-
background: var(--color-text-5);
|
|
23
|
+
&:hover:not(&_active) {
|
|
24
|
+
background: getColorVar('text', '10');
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
&_active {
|
|
33
28
|
border: solid 0;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
border-radius: 4px;
|
|
30
|
+
background: getColorVar('primary', '50');
|
|
31
|
+
fill: getColorVar('white', '50');
|
|
32
|
+
color: getColorVar('white', '50');
|
|
37
33
|
}
|
|
38
34
|
}
|
|
39
35
|
}
|
|
40
|
-
|
package/style/table.scss
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@import "util/color-util.scss";
|
|
2
2
|
@import "util/font-util.scss";
|
|
3
|
-
@import "util/scroll-util.scss";
|
|
4
3
|
|
|
5
4
|
.table {
|
|
6
5
|
display: flex;
|
|
@@ -8,16 +7,16 @@
|
|
|
8
7
|
flex-grow: 1;
|
|
9
8
|
min-height: 0;
|
|
10
9
|
min-width: 0;
|
|
11
|
-
color:
|
|
12
|
-
background-color:
|
|
10
|
+
color: getColorVar('text', '90');
|
|
11
|
+
background-color: getColorVar('background', '50');
|
|
13
12
|
@include getFont($fonts, 'body-3');
|
|
14
13
|
|
|
15
14
|
&-head {
|
|
16
15
|
display: flex;
|
|
17
16
|
overflow: hidden;
|
|
18
17
|
flex-shrink: 0;
|
|
19
|
-
background-color:
|
|
20
|
-
color:
|
|
18
|
+
background-color: getColorVar('text', '10');
|
|
19
|
+
color: getColorVar('text', '90');
|
|
21
20
|
@include getFont($fonts, 'table-header');
|
|
22
21
|
|
|
23
22
|
&_locked {
|
|
@@ -27,7 +26,7 @@
|
|
|
27
26
|
left: 0;
|
|
28
27
|
z-index: 1;
|
|
29
28
|
background-color: inherit;
|
|
30
|
-
border-right: solid 1px
|
|
29
|
+
border-right: solid 1px getColorVar('text', '30');
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
&__group {
|
|
@@ -85,7 +84,7 @@
|
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
&:hover, &_active {
|
|
88
|
-
background:
|
|
87
|
+
background: getColorVar('text', 20);
|
|
89
88
|
}
|
|
90
89
|
|
|
91
90
|
&:hover &__menu, &__menu_open {
|
|
@@ -125,7 +124,7 @@
|
|
|
125
124
|
padding: 0 4px;
|
|
126
125
|
|
|
127
126
|
&_drag {
|
|
128
|
-
background:
|
|
127
|
+
background: getColorVar('primary', '50');
|
|
129
128
|
width: 2px;
|
|
130
129
|
height: 100%;
|
|
131
130
|
display: none;
|
|
@@ -163,17 +162,16 @@
|
|
|
163
162
|
|
|
164
163
|
&-container {
|
|
165
164
|
flex-grow: 1;
|
|
166
|
-
@include scrollable();
|
|
167
165
|
}
|
|
168
166
|
}
|
|
169
167
|
|
|
170
168
|
&-row {
|
|
171
169
|
display: flex;
|
|
172
170
|
flex-shrink: 0;
|
|
173
|
-
background-color:
|
|
171
|
+
background-color: getColorVar('background', '50');
|
|
174
172
|
|
|
175
173
|
&:hover {
|
|
176
|
-
background-color:
|
|
174
|
+
background-color: getColorVar('primary', '5');
|
|
177
175
|
}
|
|
178
176
|
|
|
179
177
|
&_locked {
|
|
@@ -182,16 +180,16 @@
|
|
|
182
180
|
background-color: inherit;
|
|
183
181
|
position: sticky;
|
|
184
182
|
left: 0;
|
|
185
|
-
border-right: solid 1px
|
|
183
|
+
border-right: solid 1px getColorVar('text', '30');
|
|
186
184
|
z-index: 1;
|
|
187
185
|
}
|
|
188
186
|
|
|
189
187
|
&_odd {
|
|
190
|
-
background-color:
|
|
188
|
+
background-color: getColorVar('background', '0');
|
|
191
189
|
}
|
|
192
190
|
|
|
193
191
|
&_selected, &_selected:hover {
|
|
194
|
-
background-color:
|
|
192
|
+
background-color: getColorVar('primary', '10');
|
|
195
193
|
}
|
|
196
194
|
}
|
|
197
195
|
}
|
|
@@ -206,7 +204,7 @@
|
|
|
206
204
|
overflow: hidden;
|
|
207
205
|
|
|
208
206
|
&:focus {
|
|
209
|
-
box-shadow: inset 0 0 0 1px
|
|
207
|
+
box-shadow: inset 0 0 0 1px getColorVar('primary', '50');
|
|
210
208
|
}
|
|
211
209
|
|
|
212
210
|
&-component {
|
|
@@ -229,11 +227,11 @@
|
|
|
229
227
|
}
|
|
230
228
|
|
|
231
229
|
&_disabled {
|
|
232
|
-
color:
|
|
230
|
+
color: getColorVar('text', 50);
|
|
233
231
|
}
|
|
234
232
|
}
|
|
235
233
|
|
|
236
234
|
&:hover {
|
|
237
|
-
background:
|
|
235
|
+
background: getColorVar('primary', 10);
|
|
238
236
|
}
|
|
239
237
|
}
|