@mrktg-common/internal-ui 1.6.0 → 1.8.0
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/components.css +12 -0
- package/package.json +1 -1
- package/tokens/tokens.json +1 -1
package/dist/components.css
CHANGED
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
.hdr { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
|
|
40
40
|
height: var(--header-height); padding: 0 var(--space-5); background: var(--surface); border-bottom: 1px solid var(--border); flex-shrink: 0; }
|
|
41
41
|
.hdr-dev { box-shadow: inset 0 3px 0 var(--warning); }
|
|
42
|
+
.hdr-dev .logo-mark { background: var(--warning); }
|
|
42
43
|
.hdr-left, .hdr-right { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
|
|
43
44
|
.hdr-left { flex: 1; }
|
|
44
45
|
.logo { display: inline-flex; align-items: center; gap: var(--space-2); border-radius: var(--radius-md); font-size: var(--text-md); font-weight: 600; white-space: nowrap; }
|
|
@@ -104,6 +105,17 @@
|
|
|
104
105
|
.page-count { font-size: var(--text-md); font-weight: 500; color: var(--text-muted); }
|
|
105
106
|
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-4) var(--space-8); }
|
|
106
107
|
.content { padding: 0 var(--space-8) var(--space-8); min-width: 0; }
|
|
108
|
+
/* Fill: a list page takes the window, only the table scrolls.
|
|
109
|
+
.page.is-fill is a direct child of .app; the header and banners are its siblings. */
|
|
110
|
+
.app:has(> .page.is-fill) { height: 100dvh; min-height: 560px; overflow: hidden; }
|
|
111
|
+
.app:has(> .page.is-fill) > :not(.page) { flex-shrink: 0; }
|
|
112
|
+
.app > .page.is-fill { flex: 1 1 0; min-height: 0; }
|
|
113
|
+
.page.is-fill > * { flex-shrink: 0; }
|
|
114
|
+
.page.is-fill > .content { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
|
|
115
|
+
.page.is-fill > .content > * { flex-shrink: 0; }
|
|
116
|
+
.page.is-fill > .content > .tbl-box { flex: 0 1 auto; min-height: 0; }
|
|
117
|
+
.page.is-fill .tbl-box > .tbl-scroll { flex: 0 1 auto; }
|
|
118
|
+
.page.is-fill .tbl-box > .tbl-foot { flex-shrink: 0; }
|
|
107
119
|
|
|
108
120
|
/* ---------- Button ---------- */
|
|
109
121
|
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--control-height-md);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrktg-common/internal-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Общий интерфейс внутренних инструментов маркетинга (Landings Admin, LP Constructor): токены, классы компонентов и тонкие React-обёртки над ними.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|