voiptime-components 1.17.2 → 1.17.3
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/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +910 -905
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
- package/src/assets/_layouts.scss +19 -0
- package/src/assets/_page.scss +85 -0
- package/src/assets/main.scss +6 -0
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.vt-main-layout__body {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-grow: 1;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
min-height: 0;
|
|
6
|
+
height: calc(100vh - 60px);
|
|
7
|
+
|
|
8
|
+
main {
|
|
9
|
+
flex-grow: 1;
|
|
10
|
+
position: relative;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
min-width: 0;
|
|
15
|
+
padding: var(--vt-padding-base);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
.vt-page {
|
|
2
|
+
// Стилі сторінки
|
|
3
|
+
&__card {
|
|
4
|
+
// Головний стиль картки (врапер без бердкрампу та пагінації)
|
|
5
|
+
background: #fff;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
border-radius: var(--radius-main);
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
|
|
13
|
+
&-header {
|
|
14
|
+
// Хедер картки (в ньому фільтр + можлива кнопка зправа)
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
padding: var(--vt-padding-base);
|
|
20
|
+
gap: var(--vt-gap-base);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-filter {
|
|
24
|
+
// Стилі динамічного фільтру
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
gap: var(--vt-gap-base);
|
|
28
|
+
width: 100%;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
|
|
31
|
+
&__inline {
|
|
32
|
+
display: flex;
|
|
33
|
+
gap: var(--vt-gap-base);
|
|
34
|
+
align-items: center;
|
|
35
|
+
flex-shrink: 1;
|
|
36
|
+
min-width: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__actions {
|
|
40
|
+
display: flex;
|
|
41
|
+
gap: var(--vt-gap-base);
|
|
42
|
+
flex-shrink: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&__dropdown {
|
|
46
|
+
flex-shrink: 0;
|
|
47
|
+
|
|
48
|
+
&-target {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
gap: var(--vt-gap-base);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__measure {
|
|
56
|
+
&-root {
|
|
57
|
+
position: absolute;
|
|
58
|
+
left: -9999px;
|
|
59
|
+
top: -9999px;
|
|
60
|
+
width: auto;
|
|
61
|
+
height: auto;
|
|
62
|
+
visibility: hidden;
|
|
63
|
+
pointer-events: none;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-element {
|
|
68
|
+
display: inline-block;
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
margin-right: 10px; /* той же GAP, що і у логіці */
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__control {
|
|
75
|
+
white-space: nowrap;
|
|
76
|
+
|
|
77
|
+
:deep(.vt-select),
|
|
78
|
+
:deep(.vt-datepicker),
|
|
79
|
+
:deep(.vt-timepicker) {
|
|
80
|
+
min-width: 150px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
package/src/assets/main.scss
CHANGED