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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.17.2",
7
+ "version": "1.17.3",
8
8
  "type": "module",
9
9
  "main": "dist/index.umd.js",
10
10
  "module": "dist/index.es.js",
@@ -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
+ }
@@ -18,6 +18,12 @@
18
18
  // 6. mixins
19
19
  @use './mixins' as *;
20
20
 
21
+ // 6. Стилі лейаутів
22
+ @use './layouts' as *;
23
+
24
+ // 6. Стилі сторінки
25
+ @use './page' as *;
26
+
21
27
  @use '../components/button/button';
22
28
  @use '../components/loader/loader' as loader-component;
23
29