@tetacom/ng-components 1.0.3 → 1.0.7
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 +339 -0
- package/assets/icons.svg +669 -0
- package/assets/lithotype-icons.svg +423 -0
- package/component/filter/filter-host/filter-host.component.d.ts +2 -3
- package/component/table/cell-host/cell-host.component.d.ts +2 -3
- package/component/table/head-cell-host/head-cell-host.component.d.ts +2 -3
- package/component/table/table/table.component.d.ts +2 -2
- package/directive/drag-sort/drag-sort-container.directive.d.ts +1 -2
- package/esm2020/common/service/click.service.mjs +3 -3
- package/esm2020/common/service/dynamic-component.service.mjs +3 -3
- package/esm2020/common/service/overlay-container.service.mjs +3 -3
- package/esm2020/component/accordion/accordion/accordion.component.mjs +3 -3
- package/esm2020/component/accordion/accordion-content.directive.mjs +3 -3
- package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +3 -3
- package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +3 -3
- package/esm2020/component/accordion/accordion.module.mjs +4 -4
- package/esm2020/component/button/button/button.component.mjs +3 -3
- package/esm2020/component/button/button.module.mjs +4 -4
- package/esm2020/component/chart/chart/chart.component.mjs +3 -3
- package/esm2020/component/chart/chart.module.mjs +4 -4
- package/esm2020/component/chart/core/chart.mjs +4 -4
- package/esm2020/component/chart-3d/chart-3d.module.mjs +4 -4
- package/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +3 -3
- package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -3
- package/esm2020/component/checkbox/checkbox.module.mjs +4 -4
- package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +3 -3
- package/esm2020/component/date-picker/date-picker.module.mjs +4 -4
- package/esm2020/component/date-picker/day-select/day-select.component.mjs +3 -3
- package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +3 -3
- package/esm2020/component/date-picker/month-select/month-select.component.mjs +3 -3
- package/esm2020/component/date-picker/service/picker-locale.service.mjs +3 -3
- package/esm2020/component/date-picker/service/picker-touch.service.mjs +3 -3
- package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +3 -3
- package/esm2020/component/date-picker/year-select/year-select.component.mjs +3 -3
- package/esm2020/component/delimiter/delimiter/delimiter.component.mjs +3 -3
- package/esm2020/component/delimiter/delimiter.module.mjs +4 -4
- package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +3 -3
- package/esm2020/component/dropdown/dropdown-base.mjs +8 -8
- package/esm2020/component/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2020/component/dropdown/dropdown-head.directive.mjs +3 -3
- package/esm2020/component/dropdown/dropdown.directive.mjs +3 -3
- package/esm2020/component/dropdown/dropdown.module.mjs +4 -4
- package/esm2020/component/dynamic-component/dynamic-component.module.mjs +4 -4
- package/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +3 -3
- package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +3 -3
- package/esm2020/component/expand-panel/expand-panel-content.directive.mjs +3 -3
- package/esm2020/component/expand-panel/expand-panel-head.directive.mjs +3 -3
- package/esm2020/component/expand-panel/expand-panel.module.mjs +4 -4
- package/esm2020/component/file-upload/file-item/file-item.component.mjs +3 -3
- package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +3 -3
- package/esm2020/component/file-upload/file-upload.module.mjs +4 -4
- package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +3 -3
- package/esm2020/component/filter/contarct/string-filter.mjs +1 -1
- package/esm2020/component/filter/date-filter/date-filter.component.mjs +3 -3
- package/esm2020/component/filter/filter-host/filter-host.component.mjs +7 -9
- package/esm2020/component/filter/filter-panel/filter-panel.component.mjs +3 -3
- package/esm2020/component/filter/filter.module.mjs +4 -4
- package/esm2020/component/filter/list-filter/list-filter.component.mjs +3 -3
- package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +3 -3
- package/esm2020/component/filter/string-filter/string-filter.component.mjs +3 -3
- package/esm2020/component/icon/icon/icon.component.mjs +3 -3
- package/esm2020/component/icon/icon-sprite.directive.mjs +3 -3
- package/esm2020/component/icon/icon.module.mjs +4 -4
- package/esm2020/component/icon/icon.service.mjs +3 -3
- package/esm2020/component/input/form-group-title/form-group-title.component.mjs +3 -3
- package/esm2020/component/input/input/input.component.mjs +3 -3
- package/esm2020/component/input/input.module.mjs +4 -4
- package/esm2020/component/input/text-field/text-field.component.mjs +3 -3
- package/esm2020/component/message/message/message.component.mjs +3 -3
- package/esm2020/component/message/message-host/message-host.component.mjs +3 -3
- package/esm2020/component/message/message.module.mjs +4 -4
- package/esm2020/component/message/message.service.mjs +3 -3
- package/esm2020/component/modal/dialog/dialog.component.mjs +3 -3
- package/esm2020/component/modal/dialog.service.mjs +3 -3
- package/esm2020/component/modal/modal-container/modal-container.component.mjs +3 -3
- package/esm2020/component/modal/modal.module.mjs +4 -4
- package/esm2020/component/modal/modal.service.mjs +3 -3
- package/esm2020/component/pager/pager/pager.component.mjs +3 -3
- package/esm2020/component/pager/pager.module.mjs +4 -4
- package/esm2020/component/panel/panel/panel.component.mjs +3 -3
- package/esm2020/component/panel/panel.module.mjs +4 -4
- package/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2020/component/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +3 -3
- package/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +3 -3
- package/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +3 -3
- package/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +3 -3
- package/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +3 -3
- package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +3 -3
- package/esm2020/component/property-grid/property-grid/property-grid.component.mjs +3 -3
- package/esm2020/component/property-grid/property-grid.module.mjs +4 -4
- package/esm2020/component/radio/radio/radio.component.mjs +3 -3
- package/esm2020/component/radio/radio-button/radio-button.component.mjs +3 -3
- package/esm2020/component/radio/radio.module.mjs +4 -4
- package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +3 -3
- package/esm2020/component/resize-panel/resize-panel.module.mjs +4 -4
- package/esm2020/component/select/select/select.component.mjs +3 -3
- package/esm2020/component/select/select-option.directive.mjs +3 -3
- package/esm2020/component/select/select-value.directive.mjs +3 -3
- package/esm2020/component/select/select.module.mjs +4 -4
- package/esm2020/component/sidebar/sidebar/sidebar.component.mjs +3 -3
- package/esm2020/component/sidebar/sidebar.module.mjs +4 -4
- package/esm2020/component/switch/switch/switch.component.mjs +3 -3
- package/esm2020/component/switch/switch-button/switch-button.component.mjs +3 -3
- package/esm2020/component/switch/switch.module.mjs +4 -4
- package/esm2020/component/switch/switch.service.mjs +3 -3
- package/esm2020/component/table/base/cell-component-base.mjs +4 -4
- package/esm2020/component/table/base/head-cell-component-base.mjs +3 -3
- package/esm2020/component/table/cell/cell.component.mjs +3 -3
- package/esm2020/component/table/cell-host/cell-host.component.mjs +7 -9
- package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +3 -3
- package/esm2020/component/table/default/date-cell/date-cell.component.mjs +6 -6
- package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +3 -3
- package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +3 -3
- package/esm2020/component/table/default/group-row/group-row.component.mjs +3 -3
- package/esm2020/component/table/default/list-cell/list-cell.component.mjs +3 -3
- package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +3 -3
- package/esm2020/component/table/default/string-cell/string-cell.component.mjs +3 -3
- package/esm2020/component/table/head-cell/head-cell.component.mjs +3 -3
- package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +3 -3
- package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +7 -9
- package/esm2020/component/table/selection-cell/selection-cell.component.mjs +3 -3
- package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +3 -3
- package/esm2020/component/table/service/table.service.mjs +3 -3
- package/esm2020/component/table/table/table.component.mjs +15 -23
- package/esm2020/component/table/table-body/table-body.component.mjs +3 -3
- package/esm2020/component/table/table-head/table-head.component.mjs +3 -3
- package/esm2020/component/table/table-head-group/table-head-group.component.mjs +3 -3
- package/esm2020/component/table/table.module.mjs +4 -4
- package/esm2020/component/tabs/tab/tab.component.mjs +3 -3
- package/esm2020/component/tabs/tab-content.directive.mjs +3 -3
- package/esm2020/component/tabs/tab-title.directive.mjs +3 -3
- package/esm2020/component/tabs/tabs/tabs.component.mjs +3 -3
- package/esm2020/component/tabs/tabs.module.mjs +4 -4
- package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
- package/esm2020/component/theme-switch/theme-switch.module.mjs +4 -4
- package/esm2020/component/theme-switch/theme-switch.service.mjs +3 -3
- package/esm2020/component/toggle/toggle/toggle.component.mjs +3 -3
- package/esm2020/component/toggle/toggle.module.mjs +4 -4
- package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +3 -3
- package/esm2020/component/toolbar/toolbar.module.mjs +4 -4
- package/esm2020/component/tree/tree/tree.component.mjs +3 -3
- package/esm2020/component/tree/tree-item/tree-item.component.mjs +3 -3
- package/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +3 -3
- package/esm2020/component/tree/tree.module.mjs +4 -4
- package/esm2020/component/tree/tree.service.mjs +3 -3
- package/esm2020/directive/click-outside/click-outside.directive.mjs +3 -3
- package/esm2020/directive/click-outside/click-outside.module.mjs +4 -4
- package/esm2020/directive/context-menu/context-menu.directive.mjs +3 -3
- package/esm2020/directive/context-menu/context-menu.module.mjs +4 -4
- package/esm2020/directive/disable-control/disable-control.directive.mjs +3 -3
- package/esm2020/directive/disable-control/disable-control.module.mjs +4 -4
- package/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +10 -9
- package/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +3 -3
- package/esm2020/directive/drag-sort/drag-sort.module.mjs +4 -4
- package/esm2020/directive/dynamic-content-base.directive.mjs +3 -3
- package/esm2020/directive/highlight/highlight.directive.mjs +3 -3
- package/esm2020/directive/highlight/highlight.module.mjs +4 -4
- package/esm2020/directive/hint/hint.directive.mjs +4 -4
- package/esm2020/directive/hint/hint.module.mjs +4 -4
- package/esm2020/directive/loader/loader.directive.mjs +3 -3
- package/esm2020/directive/loader/loader.module.mjs +4 -4
- package/esm2020/directive/no-autofill/no-autofill.directive.mjs +3 -3
- package/esm2020/directive/no-autofill/no-autofill.module.mjs +4 -4
- package/esm2020/directive/only-number/only-number.directive.mjs +3 -3
- package/esm2020/directive/only-number/only-number.module.mjs +4 -4
- package/esm2020/directive/resize-drag/resize-drag.directive.mjs +3 -3
- package/esm2020/directive/resize-drag/resize-drag.module.mjs +4 -4
- package/esm2020/directive/teta-template/teta-template.directive.mjs +3 -3
- package/esm2020/directive/teta-template/teta-template.module.mjs +4 -4
- package/esm2020/directive/tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/directive/tooltip/tooltip.module.mjs +4 -4
- package/esm2020/pipe/number-pipe/number-pipe.module.mjs +4 -4
- package/esm2020/pipe/number-pipe/number.pipe.mjs +3 -3
- package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +4 -4
- package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +3 -3
- package/fesm2015/tetacom-ng-components.mjs +629 -643
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +627 -643
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/package.json +1 -1
- package/style/accordion.scss +47 -0
- package/style/assembly-library.scss +36 -0
- package/style/assembly-presets.scss +5 -0
- package/style/assembly.scss +4 -0
- package/style/border.scss +24 -0
- package/style/button.scss +43 -0
- package/style/checkbox.scss +31 -0
- package/style/chips.scss +23 -0
- package/style/color.scss +42 -0
- package/style/common.scss +1 -0
- package/style/datepicker.scss +106 -0
- package/style/drag.scss +40 -0
- package/style/dropdown.scss +30 -0
- package/style/font.scss +7 -0
- package/style/hint.scss +13 -0
- package/style/icon.scss +12 -0
- package/style/input.scss +162 -0
- package/style/layout.scss +109 -0
- package/style/library.scss +208 -0
- package/style/list.scss +70 -0
- package/style/loader.scss +40 -0
- package/style/message.scss +51 -0
- package/style/modal.scss +29 -0
- package/style/navigation.scss +26 -0
- package/style/presets/color-presets.scss +151 -0
- package/style/presets/font-presets.scss +132 -0
- package/style/presets/layout-presets.scss +1 -0
- package/style/presets/shadow-presets.scss +16 -0
- package/style/presets/spacing-presets.scss +2 -0
- package/style/progress.scss +28 -0
- package/style/radio.scss +56 -0
- package/style/reset.scss +35 -0
- package/style/resize-panel.scss +58 -0
- package/style/scroll.scss +51 -0
- package/style/select.scss +108 -0
- package/style/shadow.scss +23 -0
- package/style/sidebar.scss +40 -0
- package/style/sizing.scss +12 -0
- package/style/spacing.scss +45 -0
- package/style/switch.scss +36 -0
- package/style/table.scss +226 -0
- package/style/tabs.scss +64 -0
- package/style/toggle.scss +70 -0
- package/style/toolbar.scss +23 -0
- package/style/tooltip.scss +60 -0
- package/style/tree.scss +60 -0
- package/style/util/button-util.scss +58 -0
- package/style/util/color-util.scss +3 -0
- package/style/util/font-util.scss +11 -0
- package/style/util/scroll-util.scss +4 -0
- package/style/util/shadow-util.scss +3 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
$fonts: (
|
|
2
|
+
h-1: (
|
|
3
|
+
font-size:92px,
|
|
4
|
+
font-family:"Open Sans",
|
|
5
|
+
font-style:normal,
|
|
6
|
+
font-weight: 300,
|
|
7
|
+
letter-spacing: 0.15px
|
|
8
|
+
),
|
|
9
|
+
h-2: (
|
|
10
|
+
font-size:60px,
|
|
11
|
+
font-family:"Open Sans",
|
|
12
|
+
font-style:normal,
|
|
13
|
+
font-weight: 300,
|
|
14
|
+
letter-spacing: 0.15px
|
|
15
|
+
),
|
|
16
|
+
h-3: (
|
|
17
|
+
font-size:48px,
|
|
18
|
+
font-family:"Open Sans",
|
|
19
|
+
font-style:normal,
|
|
20
|
+
line-height:60px,
|
|
21
|
+
font-weight: 400,
|
|
22
|
+
letter-spacing: 0.15px
|
|
23
|
+
),
|
|
24
|
+
h-4: (
|
|
25
|
+
font-size:35px,
|
|
26
|
+
font-family:"Open Sans",
|
|
27
|
+
font-weight: 400,
|
|
28
|
+
font-style:normal,
|
|
29
|
+
line-height:44px,
|
|
30
|
+
letter-spacing: 0.15px
|
|
31
|
+
),
|
|
32
|
+
h-5: (
|
|
33
|
+
font-size:28px,
|
|
34
|
+
font-family:"Open Sans",
|
|
35
|
+
line-height:36px,
|
|
36
|
+
font-weight: 600,
|
|
37
|
+
letter-spacing: 0.15px
|
|
38
|
+
),
|
|
39
|
+
h-6: (
|
|
40
|
+
font-size:20px,
|
|
41
|
+
font-family:"Open Sans",
|
|
42
|
+
line-height:28px,
|
|
43
|
+
font-weight: 600,
|
|
44
|
+
letter-spacing: 0.15px
|
|
45
|
+
),
|
|
46
|
+
title-1: (
|
|
47
|
+
font-size:15px,
|
|
48
|
+
font-family:"Open Sans",
|
|
49
|
+
line-height:24px,
|
|
50
|
+
font-weight: 600,
|
|
51
|
+
letter-spacing: 0.15px
|
|
52
|
+
),
|
|
53
|
+
title-2: (
|
|
54
|
+
font-size:13px,
|
|
55
|
+
font-family:"Open Sans",
|
|
56
|
+
line-height:16px,
|
|
57
|
+
font-weight: 600,
|
|
58
|
+
),
|
|
59
|
+
title-3: (
|
|
60
|
+
font-size:11px,
|
|
61
|
+
font-family:"Open Sans",
|
|
62
|
+
line-height:16px,
|
|
63
|
+
font-weight: 600,
|
|
64
|
+
),
|
|
65
|
+
body-1: (
|
|
66
|
+
font-size:15px,
|
|
67
|
+
font-family:"Open Sans",
|
|
68
|
+
font-style:normal,
|
|
69
|
+
line-height:24px,
|
|
70
|
+
font-weight: 400,
|
|
71
|
+
),
|
|
72
|
+
body-2: (
|
|
73
|
+
font-size:13px,
|
|
74
|
+
font-family:"Open Sans",
|
|
75
|
+
font-style:normal,
|
|
76
|
+
line-height:20px,
|
|
77
|
+
font-weight: 400,
|
|
78
|
+
),
|
|
79
|
+
body-3: (
|
|
80
|
+
font-size:11px,
|
|
81
|
+
font-family:"Open Sans",
|
|
82
|
+
font-style:normal,
|
|
83
|
+
line-height:16px,
|
|
84
|
+
font-weight: 400,
|
|
85
|
+
),
|
|
86
|
+
button-1: (
|
|
87
|
+
font-size:13px,
|
|
88
|
+
font-family:"Open Sans",
|
|
89
|
+
line-height:20px,
|
|
90
|
+
font-weight: 600,
|
|
91
|
+
),
|
|
92
|
+
button-2: (
|
|
93
|
+
font-size:11px,
|
|
94
|
+
font-family:"Open Sans",
|
|
95
|
+
line-height:16px,
|
|
96
|
+
font-weight: 600,
|
|
97
|
+
),
|
|
98
|
+
button-3: (
|
|
99
|
+
font-size:10px,
|
|
100
|
+
font-family:"Open Sans",
|
|
101
|
+
line-height:14px,
|
|
102
|
+
font-weight: 600,
|
|
103
|
+
),
|
|
104
|
+
caption: (
|
|
105
|
+
font-size:10px,
|
|
106
|
+
font-family:"Open Sans",
|
|
107
|
+
font-style:normal,
|
|
108
|
+
line-height:14px,
|
|
109
|
+
font-weight: 400,
|
|
110
|
+
),
|
|
111
|
+
error-message: (
|
|
112
|
+
font-size:10px,
|
|
113
|
+
font-family:"Open Sans",
|
|
114
|
+
font-style:normal,
|
|
115
|
+
line-height:12px,
|
|
116
|
+
font-weight: 400,
|
|
117
|
+
),
|
|
118
|
+
table-header: (
|
|
119
|
+
font-size:11px,
|
|
120
|
+
font-family:"Open Sans",
|
|
121
|
+
line-height:16px,
|
|
122
|
+
font-weight: 600,
|
|
123
|
+
),
|
|
124
|
+
overline: (
|
|
125
|
+
text-transform: uppercase,
|
|
126
|
+
font-size:10px,
|
|
127
|
+
font-family:"Open Sans",
|
|
128
|
+
line-height:12px,
|
|
129
|
+
font-weight: 600,
|
|
130
|
+
letter-spacing: 1.5px
|
|
131
|
+
)
|
|
132
|
+
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$columns-count: 12;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$shadows: (
|
|
2
|
+
'default': (
|
|
3
|
+
'1': 0px 4px 6px rgba(39, 39, 39, 0.26),
|
|
4
|
+
'2': 0px 6px 12px rgba(39, 39, 39, 0.26),
|
|
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 4px 6px rgba(0, 0, 0, 0.4),
|
|
11
|
+
'2': 0px 6px 12px rgba(0, 0, 0, 0.4),
|
|
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),
|
|
15
|
+
)
|
|
16
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@import "util/color-util.scss";
|
|
2
|
+
|
|
3
|
+
.progress {
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 4px;
|
|
6
|
+
display: flex;
|
|
7
|
+
background: getColorVar('text', '10');
|
|
8
|
+
position: relative;
|
|
9
|
+
|
|
10
|
+
&-bar {
|
|
11
|
+
background: getColorVar('primary', '20');
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-slider {
|
|
15
|
+
position: absolute;
|
|
16
|
+
height: 8px;
|
|
17
|
+
width: 8px;
|
|
18
|
+
border: solid 0;
|
|
19
|
+
margin-left: -2px;
|
|
20
|
+
margin-top: -2px;
|
|
21
|
+
border-radius: 4px;
|
|
22
|
+
background: getColorVar('primary', '50');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:hover &-slider, &-slider_visible {
|
|
26
|
+
cursor: grab;
|
|
27
|
+
}
|
|
28
|
+
}
|
package/style/radio.scss
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@import "util/color-util.scss";
|
|
2
|
+
|
|
3
|
+
.radio {
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-gap: 12px;
|
|
6
|
+
grid-auto-rows: max-content;
|
|
7
|
+
|
|
8
|
+
&-button {
|
|
9
|
+
grid-gap: 4px;
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
|
|
13
|
+
&_disabled {
|
|
14
|
+
filter: grayscale(50%);
|
|
15
|
+
color: getColorVar('text', '40');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-icon {
|
|
19
|
+
height: 16px;
|
|
20
|
+
width: 16px;
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
border: solid 1px getColorVar('text', '30');
|
|
25
|
+
border-radius: 8px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&_disabled &-icon {
|
|
29
|
+
background-color: getColorVar('text', '5');
|
|
30
|
+
color: getColorVar('text', '40');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&-small-icon {
|
|
34
|
+
height: 8px;
|
|
35
|
+
width: 8px;
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
border: solid 0 transparent;
|
|
40
|
+
border-radius: 4px;
|
|
41
|
+
background-color: getColorVar('primary', '50');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&_disabled &-small-icon {
|
|
45
|
+
background-color: getColorVar('text', '30');
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:hover:not(&_disabled) {
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:hover:not(&_disabled) &-icon {
|
|
53
|
+
border: solid 1px getColorVar('text', '50');
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
package/style/reset.scss
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
html {
|
|
2
|
+
font-size: 10px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
*, *::after, *::before {
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
padding: 0;
|
|
8
|
+
margin: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:focus {
|
|
12
|
+
outline: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
body {
|
|
16
|
+
font-kerning: normal;
|
|
17
|
+
height: 100vh;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
button,
|
|
21
|
+
input,
|
|
22
|
+
optgroup,
|
|
23
|
+
select,
|
|
24
|
+
textarea {
|
|
25
|
+
font-family: inherit;
|
|
26
|
+
font-size: 100%;
|
|
27
|
+
margin: 0;
|
|
28
|
+
background: transparent;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
a {
|
|
32
|
+
text-decoration: none;
|
|
33
|
+
color: inherit;
|
|
34
|
+
fill: inherit;
|
|
35
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@import "util/color-util.scss";
|
|
2
|
+
|
|
3
|
+
.resize {
|
|
4
|
+
&-panel {
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&-grab {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
position: absolute;
|
|
13
|
+
fill: getColorVar('text', '20');
|
|
14
|
+
z-index: 10;
|
|
15
|
+
|
|
16
|
+
&_active, &:hover {
|
|
17
|
+
fill: getColorVar('text', '90');
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&_left, &_right, &_vertical {
|
|
21
|
+
width: 8px;
|
|
22
|
+
height: 100%;
|
|
23
|
+
top: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&_left {
|
|
27
|
+
left: -8px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&_right {
|
|
31
|
+
left: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&_top, &_bottom {
|
|
35
|
+
height: 8px;
|
|
36
|
+
width: 100%;
|
|
37
|
+
left: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&_top {
|
|
41
|
+
top: -8px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&_bottom {
|
|
45
|
+
top: 100%;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&-drag {
|
|
50
|
+
&_horizontal:hover, &_horizontal#{&}_active {
|
|
51
|
+
cursor: row-resize;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&_vertical:hover, &_vertical#{&}_active {
|
|
55
|
+
cursor: col-resize;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@import "util/color-util.scss";
|
|
2
|
+
@import "util/scroll-util.scss";
|
|
3
|
+
|
|
4
|
+
::-webkit-scrollbar-button {
|
|
5
|
+
width: 4px;
|
|
6
|
+
height: 4px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
::-webkit-scrollbar {
|
|
10
|
+
height: 12px;
|
|
11
|
+
width: 12px;
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
::-webkit-scrollbar-track,
|
|
16
|
+
::-webkit-scrollbar-thumb {
|
|
17
|
+
border: 4px solid transparent;
|
|
18
|
+
//border-radius: 4px;
|
|
19
|
+
background-clip: padding-box;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
::-webkit-scrollbar-track {
|
|
23
|
+
background-color: transparent;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
::-webkit-scrollbar-track:hover {
|
|
27
|
+
&::-webkit-scrollbar-thumb {
|
|
28
|
+
background-color: getColorVar('primary', '50');
|
|
29
|
+
border: 2px solid transparent;
|
|
30
|
+
//border-radius: 4px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
::-webkit-scrollbar-thumb {
|
|
35
|
+
background-color: getColorVar('text', '10');
|
|
36
|
+
//border-radius: 4px;
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
background-color: getColorVar('primary', '50');
|
|
40
|
+
border: 2px solid transparent;
|
|
41
|
+
//border-radius: 4px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
::-webkit-scrollbar-corner {
|
|
46
|
+
background: transparent;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.scrollable {
|
|
50
|
+
@include scrollable();
|
|
51
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
@import "util/color-util.scss";
|
|
2
|
+
@import "util/font-util.scss";
|
|
3
|
+
|
|
4
|
+
.select {
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
height: 24px;
|
|
7
|
+
width: 100%;
|
|
8
|
+
|
|
9
|
+
&_multiple {
|
|
10
|
+
min-height: 24px;
|
|
11
|
+
height: unset;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&_disabled &-head {
|
|
15
|
+
background-color: getColorVar('text', 5);
|
|
16
|
+
border: 0;
|
|
17
|
+
color: getColorVar('text', 40);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-head {
|
|
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: 2px;
|
|
26
|
+
align-items: center;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
padding: 0 4px;
|
|
29
|
+
@include getFont($fonts, 'body-3');
|
|
30
|
+
transition: border-color 0.4s;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
|
|
33
|
+
&_invalid {
|
|
34
|
+
border-color: getColorVar('red', '50');
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
$p: &;
|
|
39
|
+
|
|
40
|
+
&:hover:not(&_disabled) {
|
|
41
|
+
#{$p}-head {
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
border-color: getColorVar('text', '40');
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&-chip-field {
|
|
48
|
+
margin-top: 8px;
|
|
49
|
+
padding: 4px 12px 0 12px;
|
|
50
|
+
border-top: solid 1px getColorVar('text', 10);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&-table &-head {
|
|
54
|
+
border-radius: 0;
|
|
55
|
+
|
|
56
|
+
&:hover {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&-icon {
|
|
61
|
+
position: absolute;
|
|
62
|
+
left: 12px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-arrow {
|
|
66
|
+
position: absolute;
|
|
67
|
+
right: 12px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&:focus:not(&_disabled) &-head, &_open &-head {
|
|
72
|
+
border-color: getColorVar('primary', '50');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&-search {
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
flex: 1;
|
|
79
|
+
padding-bottom: 4px;
|
|
80
|
+
|
|
81
|
+
teta-text-field {
|
|
82
|
+
border: none;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&-list {
|
|
87
|
+
margin-top: 2px;
|
|
88
|
+
padding: 8px 0;
|
|
89
|
+
display: inline-flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
border-radius: 2px;
|
|
92
|
+
background-color: getColorVar('background', '50');
|
|
93
|
+
@include getFont($fonts, 'body-3');
|
|
94
|
+
|
|
95
|
+
&-item {
|
|
96
|
+
padding: 0 8px 0 32px;
|
|
97
|
+
white-space: nowrap;
|
|
98
|
+
|
|
99
|
+
.icon {
|
|
100
|
+
fill: getColorVar('primary', 50) !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&_active {
|
|
104
|
+
padding: 0 8px 0 8px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
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
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@import "util/shadow-util.scss";
|
|
2
|
+
@import "util/color-util.scss";
|
|
3
|
+
|
|
4
|
+
.sidebar {
|
|
5
|
+
position: fixed;
|
|
6
|
+
@include shadow(5);
|
|
7
|
+
|
|
8
|
+
&-backdrop {
|
|
9
|
+
position: fixed;
|
|
10
|
+
top: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
right: 0;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
background: getColorVar('backdrop', '50');
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&-left {
|
|
18
|
+
left: 0;
|
|
19
|
+
top: 0;
|
|
20
|
+
height: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-right {
|
|
24
|
+
right: 0;
|
|
25
|
+
top: 0;
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-top {
|
|
30
|
+
top: 0;
|
|
31
|
+
left: 0;
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-bottom {
|
|
36
|
+
bottom: 0;
|
|
37
|
+
left: 0;
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@import "common.scss";
|
|
2
|
+
|
|
3
|
+
$spacingTypes: margin, padding;
|
|
4
|
+
|
|
5
|
+
@each $spacingType in $spacingTypes {
|
|
6
|
+
@for $i from 0 through $spacingLength {
|
|
7
|
+
.#{$spacingType}-h-#{$i} {
|
|
8
|
+
#{$spacingType}-left: $i * $spaceStep !important;
|
|
9
|
+
#{$spacingType}-right: $i * $spaceStep !important;
|
|
10
|
+
}
|
|
11
|
+
.#{$spacingType}-v-#{$i} {
|
|
12
|
+
#{$spacingType}-top: $i * $spaceStep !important;
|
|
13
|
+
#{$spacingType}-bottom: $i * $spaceStep !important;
|
|
14
|
+
}
|
|
15
|
+
@each $dir in $directions {
|
|
16
|
+
.#{$spacingType}-#{$dir}-#{$i} {
|
|
17
|
+
#{$spacingType}-#{$dir}: $i * $spaceStep !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@each $spacingType in $spacingTypes {
|
|
24
|
+
@for $i from 0 through $spacingLength {
|
|
25
|
+
.#{$spacingType}-#{$i} {
|
|
26
|
+
#{$spacingType}: $i * $spaceStep !important;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.margin-left-auto {
|
|
32
|
+
margin-left: auto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.margin-right-auto {
|
|
36
|
+
margin-right: auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.margin-top-auto {
|
|
40
|
+
margin-top: auto;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.margin-bottom-auto {
|
|
44
|
+
margin-bottom: auto;
|
|
45
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import "util/font-util.scss";
|
|
2
|
+
@import "util/color-util.scss";
|
|
3
|
+
|
|
4
|
+
.switch {
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
border: solid 0;
|
|
7
|
+
border-radius: 2px;
|
|
8
|
+
height: 24px;
|
|
9
|
+
@include getFont($fonts, 'button-2');
|
|
10
|
+
background: getColorVar('text', '5');
|
|
11
|
+
color: getColorVar('text', '90');
|
|
12
|
+
fill: getColorVar('text', '90');
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
|
|
15
|
+
&-button {
|
|
16
|
+
display: inline-flex;
|
|
17
|
+
padding: 0 8px;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
&:hover:not(&_active) {
|
|
25
|
+
background: getColorVar('text', '10');
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&_active {
|
|
29
|
+
border: solid 0;
|
|
30
|
+
border-radius: 2px;
|
|
31
|
+
background: getColorVar('primary', '50');
|
|
32
|
+
fill: getColorVar('white', '50');
|
|
33
|
+
color: getColorVar('white', '50');
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|