@linzjs/lui 17.41.3 → 17.41.5
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 +14 -0
- package/dist/components/LuiFormElements/LuiDateInput/DateInputHelper.d.ts +1 -1
- package/dist/components/LuiHeaderMenuV2/LuiHeaderMenusV2.d.ts +38 -14
- package/dist/components/LuiHeaderV2/LuiHeaderV2.d.ts +89 -22
- package/dist/index.js +94 -47
- package/dist/index.js.map +1 -1
- package/dist/lui.css +122 -107
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +92 -48
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/HeaderV2/header-v2.scss +44 -39
- package/dist/scss/Components/MenuV2/menu-v2.scss +127 -100
- package/package.json +1 -1
|
@@ -39,8 +39,8 @@ $headerElementPadding: spacing.$unit-xs;
|
|
|
39
39
|
&:after {
|
|
40
40
|
content: none;
|
|
41
41
|
}
|
|
42
|
-
.LuiHeaderV2-menu-button {
|
|
43
|
-
|
|
42
|
+
.LuiHeaderV2-menu-item-button {
|
|
43
|
+
&-icon {
|
|
44
44
|
color: colors.$surfie;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -61,12 +61,14 @@ $headerElementPadding: spacing.$unit-xs;
|
|
|
61
61
|
flex-wrap: nowrap;
|
|
62
62
|
flex: 0 1 auto;
|
|
63
63
|
height: 100%;
|
|
64
|
+
column-gap: $headerPadding;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
.LuiHeaderV2-title {
|
|
67
68
|
white-space: nowrap;
|
|
68
69
|
padding-right: $headerElementPadding;
|
|
69
70
|
padding-left: $headerElementPadding;
|
|
71
|
+
|
|
70
72
|
vertical-align: middle;
|
|
71
73
|
|
|
72
74
|
h1 {
|
|
@@ -98,10 +100,10 @@ $headerElementPadding: spacing.$unit-xs;
|
|
|
98
100
|
|
|
99
101
|
@include breakpoint(sm) {
|
|
100
102
|
border-right: 1px solid colors.$persian;
|
|
101
|
-
|
|
103
|
+
margin-right: $headerElementPadding;
|
|
102
104
|
}
|
|
103
105
|
|
|
104
|
-
|
|
106
|
+
.clickable {
|
|
105
107
|
cursor: pointer;
|
|
106
108
|
}
|
|
107
109
|
}
|
|
@@ -119,11 +121,8 @@ $headerElementPadding: spacing.$unit-xs;
|
|
|
119
121
|
height: $headerRowHeightSmV2;
|
|
120
122
|
|
|
121
123
|
.LuiHeaderV2-col {
|
|
122
|
-
height: 40px;
|
|
123
|
-
|
|
124
124
|
.LuiHeaderV2-logo {
|
|
125
125
|
border: none;
|
|
126
|
-
padding-right: 0;
|
|
127
126
|
}
|
|
128
127
|
|
|
129
128
|
.LuiHeaderV2-linz-motif {
|
|
@@ -140,7 +139,6 @@ $headerElementPadding: spacing.$unit-xs;
|
|
|
140
139
|
font-size: 20px;
|
|
141
140
|
line-height: 24px;
|
|
142
141
|
@include fonts.font-regular;
|
|
143
|
-
margin: 0;
|
|
144
142
|
}
|
|
145
143
|
}
|
|
146
144
|
}
|
|
@@ -181,30 +179,30 @@ $headerElementPadding: spacing.$unit-xs;
|
|
|
181
179
|
}
|
|
182
180
|
|
|
183
181
|
.LuiHeaderV2-menu-item {
|
|
184
|
-
|
|
182
|
+
display: flex;
|
|
183
|
+
flex-direction: column;
|
|
184
|
+
|
|
185
|
+
&-button {
|
|
185
186
|
@include fonts.font-semibold;
|
|
186
187
|
position: relative;
|
|
187
188
|
display: flex;
|
|
188
189
|
align-items: center;
|
|
189
190
|
justify-content: center;
|
|
191
|
+
border-radius: misc.$borderRadius;
|
|
190
192
|
|
|
191
193
|
.clickable:hover {
|
|
192
194
|
cursor: pointer;
|
|
193
195
|
}
|
|
194
196
|
|
|
195
197
|
&.selected {
|
|
196
|
-
background-color:
|
|
198
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
197
199
|
}
|
|
198
200
|
|
|
199
201
|
&.unselected:hover {
|
|
200
|
-
background-color:
|
|
202
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
201
203
|
}
|
|
202
204
|
|
|
203
|
-
.
|
|
204
|
-
fill: colors.$white;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.tooltip {
|
|
205
|
+
.menu-tooltip {
|
|
208
206
|
display: none;
|
|
209
207
|
background-color: black;
|
|
210
208
|
text-align: center;
|
|
@@ -218,7 +216,8 @@ $headerElementPadding: spacing.$unit-xs;
|
|
|
218
216
|
top: 60px;
|
|
219
217
|
z-index: 10;
|
|
220
218
|
|
|
221
|
-
|
|
219
|
+
@include drop-shadow(sm);
|
|
220
|
+
border-radius: misc.$borderRadius;
|
|
222
221
|
|
|
223
222
|
&.dark {
|
|
224
223
|
color: colors.$hint;
|
|
@@ -261,12 +260,12 @@ $headerElementPadding: spacing.$unit-xs;
|
|
|
261
260
|
}
|
|
262
261
|
|
|
263
262
|
&:hover {
|
|
264
|
-
.tooltip {
|
|
263
|
+
.menu-tooltip {
|
|
265
264
|
display: block;
|
|
266
265
|
}
|
|
267
266
|
}
|
|
268
267
|
|
|
269
|
-
|
|
268
|
+
&-icon {
|
|
270
269
|
display: flex;
|
|
271
270
|
align-items: center;
|
|
272
271
|
color: colors.$white;
|
|
@@ -279,32 +278,38 @@ $headerElementPadding: spacing.$unit-xs;
|
|
|
279
278
|
justify-content: center;
|
|
280
279
|
}
|
|
281
280
|
|
|
282
|
-
|
|
281
|
+
&-label {
|
|
283
282
|
text-align: left;
|
|
284
|
-
|
|
283
|
+
white-space: nowrap;
|
|
284
|
+
padding-right: $headerElementPadding;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
287
|
+
&-label-only {
|
|
288
|
+
display: flex;
|
|
289
|
+
justify-content: center;
|
|
290
|
+
align-items: center;
|
|
291
|
+
padding-left: $headerElementPadding;
|
|
292
|
+
padding-right: $headerElementPadding;
|
|
293
|
+
white-space: nowrap;
|
|
294
|
+
height: 48px;
|
|
295
|
+
@include fonts.font-semibold;
|
|
296
|
+
font-size: 16px;
|
|
291
297
|
}
|
|
292
298
|
|
|
293
|
-
|
|
299
|
+
&-badge {
|
|
294
300
|
position: absolute;
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
301
|
+
display: flex;
|
|
302
|
+
justify-content: center;
|
|
303
|
+
align-items: center;
|
|
304
|
+
top: 4px;
|
|
305
|
+
left: 25px;
|
|
306
|
+
width: 20px;
|
|
307
|
+
height: 20px;
|
|
308
|
+
font-size: 12px;
|
|
309
|
+
text-align: center;
|
|
310
|
+
border-radius: 50%;
|
|
311
|
+
background: #cc0000;
|
|
312
|
+
color: white;
|
|
300
313
|
}
|
|
301
314
|
}
|
|
302
315
|
}
|
|
303
|
-
|
|
304
|
-
.LuiHeaderV2-badge {
|
|
305
|
-
display: block;
|
|
306
|
-
text-align: center;
|
|
307
|
-
border-radius: 50%;
|
|
308
|
-
background: #cc0000;
|
|
309
|
-
color: white;
|
|
310
|
-
}
|
|
@@ -17,102 +17,131 @@ body.LuiHeaderMenuV2-drawer-open {
|
|
|
17
17
|
overflow-y: hidden;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.LuiHeaderMenuV2-drawer {
|
|
21
|
-
|
|
22
|
-
height: 100%;
|
|
23
|
-
max-width: 100%;
|
|
24
|
-
|
|
25
|
-
z-index: 1;
|
|
26
|
-
top: 0;
|
|
27
|
-
right: 0px;
|
|
28
|
-
overflow-x: hidden;
|
|
20
|
+
.LuiHeaderMenuV2-drawer-container {
|
|
21
|
+
position: relative;
|
|
29
22
|
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
&.drawer {
|
|
24
|
+
right: -(header.$headerPadding);
|
|
25
|
+
}
|
|
32
26
|
|
|
33
|
-
.
|
|
34
|
-
|
|
35
|
-
height:
|
|
27
|
+
.LuiHeaderMenuV2-drawer {
|
|
28
|
+
@include LuiHeaderMenuV2-drop-content;
|
|
29
|
+
height: auto;
|
|
30
|
+
z-index: 1;
|
|
36
31
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
&.sm {
|
|
33
|
+
width: 260px;
|
|
34
|
+
}
|
|
35
|
+
&.md {
|
|
36
|
+
width: 280px;
|
|
37
|
+
}
|
|
38
|
+
&.lg {
|
|
39
|
+
width: 300px;
|
|
40
|
+
}
|
|
41
|
+
&.xlg {
|
|
42
|
+
width: 320px;
|
|
40
43
|
}
|
|
41
|
-
}
|
|
42
44
|
|
|
43
|
-
|
|
44
|
-
&.
|
|
45
|
-
|
|
45
|
+
// dropdown drawer
|
|
46
|
+
&.dropdown {
|
|
47
|
+
display: none;
|
|
48
|
+
position: absolute;
|
|
49
|
+
right: 0;
|
|
50
|
+
&.open {
|
|
51
|
+
display: block;
|
|
52
|
+
}
|
|
46
53
|
}
|
|
47
|
-
top: header.$headerHeightSmV2;
|
|
48
|
-
height: auto;
|
|
49
|
-
}
|
|
50
54
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
// sliding drawer
|
|
56
|
+
.LuiHeaderV2 & {
|
|
57
|
+
&.drawer {
|
|
58
|
+
&.sticky {
|
|
59
|
+
position: fixed;
|
|
60
|
+
top: header.$headerHeightMdV2;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
54
63
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
64
|
+
&.drawer {
|
|
65
|
+
&.non-sticky {
|
|
66
|
+
position: absolute;
|
|
67
|
+
top: header.$headerPadding;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
58
71
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
72
|
+
.LuiHeaderV2-small & {
|
|
73
|
+
&.drawer {
|
|
74
|
+
&.sticky {
|
|
75
|
+
position: fixed;
|
|
76
|
+
top: header.$headerHeightSmV2;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
62
79
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
&.lg {
|
|
72
|
-
width: 300px;
|
|
73
|
-
right: -300px;
|
|
74
|
-
}
|
|
75
|
-
&.xlg {
|
|
76
|
-
width: 320px;
|
|
77
|
-
right: -320px;
|
|
78
|
-
}
|
|
80
|
+
&.drawer {
|
|
81
|
+
&.non-sticky {
|
|
82
|
+
position: absolute;
|
|
83
|
+
top: header.$headerPadding;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
79
87
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
88
|
+
&.drawer {
|
|
89
|
+
&.sm {
|
|
90
|
+
right: -260px;
|
|
91
|
+
}
|
|
92
|
+
&.md {
|
|
93
|
+
right: -280px;
|
|
94
|
+
}
|
|
95
|
+
&.lg {
|
|
96
|
+
right: -300px;
|
|
97
|
+
}
|
|
98
|
+
&.xlg {
|
|
99
|
+
right: -320px;
|
|
100
|
+
}
|
|
84
101
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
}
|
|
102
|
+
// animation
|
|
103
|
+
transition: right 500ms, visibility 500ms;
|
|
104
|
+
visibility: hidden;
|
|
90
105
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
106
|
+
&.open {
|
|
107
|
+
right: 0px;
|
|
108
|
+
visibility: visible;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
96
111
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
112
|
+
// drawer option and options
|
|
113
|
+
&-options {
|
|
114
|
+
hr {
|
|
115
|
+
background-color: colors.$lily;
|
|
116
|
+
}
|
|
100
117
|
}
|
|
101
118
|
|
|
102
|
-
&-
|
|
119
|
+
&-option {
|
|
103
120
|
display: flex;
|
|
121
|
+
justify-content: space-between;
|
|
104
122
|
align-items: center;
|
|
123
|
+
padding: 12px 16px;
|
|
105
124
|
|
|
106
|
-
|
|
107
|
-
|
|
125
|
+
&:hover {
|
|
126
|
+
cursor: pointer;
|
|
127
|
+
background-color: colors.$polar;
|
|
108
128
|
}
|
|
109
|
-
}
|
|
110
129
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
130
|
+
&-label {
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
|
|
134
|
+
.LuiIcon:first-child {
|
|
135
|
+
margin-right: 10px;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&-badge {
|
|
140
|
+
display: flex;
|
|
141
|
+
justify-content: center;
|
|
142
|
+
align-items: center;
|
|
143
|
+
margin-left: 10px;
|
|
144
|
+
}
|
|
116
145
|
}
|
|
117
146
|
}
|
|
118
147
|
}
|
|
@@ -123,15 +152,6 @@ body.LuiHeaderMenuV2-drawer-open {
|
|
|
123
152
|
.LuiHeaderMenuV2-dropdown {
|
|
124
153
|
@include LuiHeaderMenuV2-drop-content;
|
|
125
154
|
position: absolute;
|
|
126
|
-
top: header.$headerPadding;
|
|
127
|
-
|
|
128
|
-
// animation
|
|
129
|
-
transition: transform 250ms ease-in-out;
|
|
130
|
-
transform: scaleY(0);
|
|
131
|
-
transform-origin: center top;
|
|
132
|
-
&.open {
|
|
133
|
-
transform: scaleY(1);
|
|
134
|
-
}
|
|
135
155
|
|
|
136
156
|
z-index: 900; // primary menu
|
|
137
157
|
|
|
@@ -147,16 +167,22 @@ body.LuiHeaderMenuV2-drawer-open {
|
|
|
147
167
|
right: 0;
|
|
148
168
|
}
|
|
149
169
|
|
|
170
|
+
display: none;
|
|
171
|
+
|
|
172
|
+
&.open {
|
|
173
|
+
display: block;
|
|
174
|
+
}
|
|
175
|
+
|
|
150
176
|
&.dropdown-xxl {
|
|
151
|
-
width:
|
|
177
|
+
width: 400px;
|
|
152
178
|
}
|
|
153
179
|
|
|
154
180
|
&.dropdown-xl {
|
|
155
|
-
width:
|
|
181
|
+
width: 360px;
|
|
156
182
|
}
|
|
157
183
|
|
|
158
184
|
&.dropdown-lg {
|
|
159
|
-
width:
|
|
185
|
+
width: 300px;
|
|
160
186
|
}
|
|
161
187
|
|
|
162
188
|
&.dropdown-md {
|
|
@@ -164,40 +190,41 @@ body.LuiHeaderMenuV2-drawer-open {
|
|
|
164
190
|
}
|
|
165
191
|
|
|
166
192
|
&.dropdown-sm {
|
|
167
|
-
width:
|
|
193
|
+
width: 240px;
|
|
168
194
|
}
|
|
169
195
|
|
|
170
196
|
&.dropdown-xs {
|
|
171
|
-
width:
|
|
197
|
+
width: 160px;
|
|
172
198
|
}
|
|
173
199
|
}
|
|
174
200
|
}
|
|
175
201
|
|
|
176
202
|
.LuiDrawerMenuSectionV2-header {
|
|
177
203
|
@include fonts.font-semibold;
|
|
178
|
-
|
|
204
|
+
|
|
179
205
|
white-space: nowrap;
|
|
180
206
|
padding-left: 16px;
|
|
181
207
|
padding-right: 8px;
|
|
182
|
-
}
|
|
183
208
|
|
|
184
|
-
.LuiDrawerMenuSectionV2-header {
|
|
185
209
|
.lui-expand-header {
|
|
186
210
|
padding-top: 8px;
|
|
187
211
|
padding-bottom: 8px;
|
|
188
212
|
display: flex;
|
|
213
|
+
justify-content: start;
|
|
214
|
+
align-items: center;
|
|
215
|
+
cursor: revert;
|
|
216
|
+
@include fonts.font-semibold;
|
|
217
|
+
font-size: 14px;
|
|
218
|
+
color: colors.$fuscous;
|
|
219
|
+
line-height: 20px;
|
|
189
220
|
}
|
|
190
|
-
}
|
|
191
221
|
|
|
192
|
-
.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
color: colors.$base-type-color;
|
|
196
|
-
margin-top: 0;
|
|
197
|
-
line-height: 32px;
|
|
222
|
+
.LuiHeaderMenuV2-dropdown & {
|
|
223
|
+
border-radius: misc.$borderRadius;
|
|
224
|
+
}
|
|
198
225
|
}
|
|
199
226
|
|
|
200
227
|
.LuiDrawerMenuDividerV2 {
|
|
201
|
-
height:
|
|
228
|
+
height: 0.25px;
|
|
202
229
|
background-color: colors.$silver;
|
|
203
230
|
}
|
package/package.json
CHANGED