@linzjs/lui 17.27.0 → 17.28.2
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/CHANGELOG.md +15 -0
- package/README.md +1 -1
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.d.ts +1 -1
- package/dist/components/LuiResizableLayout/LuiResizableLayout.d.ts +22 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +25652 -24595
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +25652 -24596
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiResizableLayout/LuiResizableLayout.scss +107 -0
- package/package.json +2 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@use "../../Foundation/Variables/ColorVars.scss" as colors;
|
|
2
|
+
|
|
3
|
+
.LuiResizableLayout-leftPanel {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
/* this overflow and the one below (LuiResizableLayout-leftPanelBody) are need to make only
|
|
7
|
+
the search result div scroll (instead of the whole page) */
|
|
8
|
+
overflow: auto;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.LuiResizableLayout-rightPanel {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
/* this overflow and the one below (LuiResizableLayout-leftPanelBody) are need to make only
|
|
15
|
+
the search result div scroll (instead of the whole page) */
|
|
16
|
+
overflow: auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.LuiResizableLayout-leftPanelBody {
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.LuiResizableLayout-gutterParentControl {
|
|
24
|
+
display: flex;
|
|
25
|
+
/* use visibility and opacity instead of display: none as we want to be able to fade in on hover */
|
|
26
|
+
visibility: hidden;
|
|
27
|
+
opacity: 0;
|
|
28
|
+
|
|
29
|
+
position: fixed;
|
|
30
|
+
top: 50%;
|
|
31
|
+
z-index: 500;
|
|
32
|
+
margin-left: -30px; /*half total control width, minus half the gutter width*/
|
|
33
|
+
transition: 0.3s all 2s ease-in;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.LuiResizableLayout-gutterControlLeft, .LuiResizableLayout-gutterControlRight {
|
|
37
|
+
background-color: colors.$lily;
|
|
38
|
+
width: 32px;
|
|
39
|
+
height: 80px;
|
|
40
|
+
text-align: center;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.LuiResizableLayout-gutterControlLeft {
|
|
46
|
+
border-radius: 3px 0 0 3px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.LuiResizableLayout-gutterControlRight {
|
|
50
|
+
border-radius: 0 3px 3px 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.LuiResizableLayout-gutterControlLeft > .LuiIcon, .LuiResizableLayout-gutterControlRight > .LuiIcon {
|
|
54
|
+
height: auto;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.LuiResizableLayout-gutterControlLeft:hover, .LuiResizableLayout-gutterControlRight:hover {
|
|
58
|
+
background-color: colors.$spray;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.LuiResizableLayout-gutterControl-collapsed {
|
|
63
|
+
visibility: hidden;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* TODO: move the expand gutter button so it doesn't show over the scroll bar */
|
|
67
|
+
.LuiResizableLayout-gutterParentControlVisible {
|
|
68
|
+
visibility: visible;
|
|
69
|
+
opacity: 1;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.LuiResizableLayout-grid {
|
|
73
|
+
display: grid;
|
|
74
|
+
height: 100%;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.LuiResizableLayout-gutterCol {
|
|
78
|
+
grid-row: 1/-1;
|
|
79
|
+
cursor: col-resize;
|
|
80
|
+
width: 16px;
|
|
81
|
+
z-index: 1;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.LuiResizableLayout-gutterCol-collapsed {
|
|
85
|
+
width: 4px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.LuiResizableLayout-gutterCol1 {
|
|
89
|
+
grid-column: 2;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.LuiResizableLayout-gutterCol:hover > .LuiResizableLayout-gutterParentControl {
|
|
93
|
+
visibility: visible;
|
|
94
|
+
opacity: 1;
|
|
95
|
+
transition: 0s all 0s ease-in;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.LuiResizableLayout-gutterSlider {
|
|
99
|
+
width: 4px;
|
|
100
|
+
height: 100%;
|
|
101
|
+
background-color: colors.$lily;
|
|
102
|
+
pointer-events: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.LuiResizableLayout-gutterCol:hover .LuiResizableLayout-gutterSlider, .LuiResizableLayout-gutterCol:active .LuiResizableLayout-gutterSlider {
|
|
106
|
+
background-color: colors.$spray;
|
|
107
|
+
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "17.
|
|
2
|
+
"version": "17.28.2",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
@@ -149,6 +149,7 @@
|
|
|
149
149
|
"@react-aria/utils": "^3.13.2",
|
|
150
150
|
"@react-stately/list": "^3.5.2",
|
|
151
151
|
"@szhsin/react-menu": "^2.3.3",
|
|
152
|
+
"react-split-grid": "1.0.4",
|
|
152
153
|
"camelcase": "^6.0.0",
|
|
153
154
|
"clsx": "^1.1.0",
|
|
154
155
|
"container-query-polyfill": "0.1.2",
|