kmaterialize 2.3.3-1.0.16 → 2.3.3-1.0.18
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/components/appbar/appbar.css +85 -4
- package/components/dropdown/dropdown.ts +1 -1
- package/dist/css/materialize.colors.min.css +1 -1
- package/dist/css/materialize.css +118 -5
- package/dist/css/materialize.min.css +2 -2
- package/dist/css/materialize.min.css.map +1 -1
- package/dist/js/materialize.cjs.js +3 -3
- package/dist/js/materialize.d.ts +1 -1
- package/dist/js/materialize.js +3 -3
- package/dist/js/materialize.min.js +2 -2
- package/dist/js/materialize.mjs +3 -3
- package/package.json +1 -1
|
@@ -161,6 +161,17 @@
|
|
|
161
161
|
order: 1;
|
|
162
162
|
flex: 1 1 0;
|
|
163
163
|
min-width: 0;
|
|
164
|
+
overflow-x: auto;
|
|
165
|
+
overflow-y: hidden;
|
|
166
|
+
scrollbar-width: none;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.navbar.appbar-bordered .nav-wrapper.nav-wrapper-centered > ul::-webkit-scrollbar {
|
|
170
|
+
display: none;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.navbar.appbar-bordered .nav-wrapper.nav-wrapper-centered > ul > li > a {
|
|
174
|
+
white-space: nowrap;
|
|
164
175
|
}
|
|
165
176
|
|
|
166
177
|
.navbar.appbar-bordered .nav-wrapper.nav-wrapper-centered > .brand-logo.center {
|
|
@@ -196,24 +207,41 @@
|
|
|
196
207
|
/* Structured MD3 app-bar content. These hooks keep branded demos and app
|
|
197
208
|
shells from falling back to bare, loosely spaced anchor elements. */
|
|
198
209
|
.navbar.appbar-bordered {
|
|
199
|
-
overflow:
|
|
210
|
+
overflow: visible;
|
|
200
211
|
background: var(--md-sys-color-surface-variant);
|
|
201
212
|
border: 1px solid var(--md-sys-color-outline-variant);
|
|
202
|
-
border-radius:
|
|
213
|
+
border-radius: 0;
|
|
203
214
|
box-shadow: 0 1px 2px color-mix(in srgb, var(--md-sys-color-shadow) 18%, transparent);
|
|
204
215
|
}
|
|
205
216
|
|
|
217
|
+
/* Layout variants. `navbar-rounded` adds the inset treatment; use
|
|
218
|
+
`navbar-full` for a flush, full-width rectangle. */
|
|
219
|
+
.navbar.appbar-bordered.navbar-rounded {
|
|
220
|
+
margin: 8px 0;
|
|
221
|
+
padding: 4px;
|
|
222
|
+
border-radius: 16px;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.navbar.appbar-bordered.navbar-full {
|
|
226
|
+
width: 100%;
|
|
227
|
+
margin: 0;
|
|
228
|
+
padding: 0;
|
|
229
|
+
border-radius: 0;
|
|
230
|
+
border-left: 0;
|
|
231
|
+
border-right: 0;
|
|
232
|
+
}
|
|
233
|
+
|
|
206
234
|
/* Extended app bars may contain tabs and a halfway FAB. Keep the rounded
|
|
207
235
|
surface on its children, but let the FAB extend below the bar. */
|
|
208
236
|
.navbar.appbar-bordered.nav-extended {
|
|
209
237
|
overflow: visible;
|
|
210
238
|
}
|
|
211
239
|
|
|
212
|
-
.navbar.appbar-bordered.nav-extended .nav-wrapper {
|
|
240
|
+
.navbar.appbar-bordered.nav-extended.navbar-rounded .nav-wrapper {
|
|
213
241
|
border-radius: 15px 15px 0 0;
|
|
214
242
|
}
|
|
215
243
|
|
|
216
|
-
.navbar.appbar-bordered.nav-extended .nav-content {
|
|
244
|
+
.navbar.appbar-bordered.nav-extended.navbar-rounded .nav-content {
|
|
217
245
|
color: var(--md-sys-color-on-surface);
|
|
218
246
|
background: var(--md-sys-color-surface-variant);
|
|
219
247
|
border-radius: 0 0 15px 15px;
|
|
@@ -223,6 +251,49 @@
|
|
|
223
251
|
gap: 12px;
|
|
224
252
|
padding-inline: 12px;
|
|
225
253
|
background: var(--md-sys-color-surface-variant);
|
|
254
|
+
align-items: center;
|
|
255
|
+
min-width: 0;
|
|
256
|
+
overflow-x: auto;
|
|
257
|
+
overflow-y: hidden;
|
|
258
|
+
scrollbar-width: none;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.navbar.appbar-bordered .nav-wrapper > .brand-logo,
|
|
262
|
+
.navbar.appbar-bordered .nav-wrapper > ul:not(.dropdown-content),
|
|
263
|
+
.navbar.appbar-bordered .nav-actions > li {
|
|
264
|
+
align-self: center;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.navbar.appbar-bordered:not(.nav-extended) .nav-wrapper > .brand-logo,
|
|
268
|
+
.navbar.appbar-bordered:not(.nav-extended) .nav-wrapper > ul:not(.dropdown-content),
|
|
269
|
+
.navbar.appbar-bordered:not(.nav-extended) .nav-wrapper > ul:not(.dropdown-content) > li {
|
|
270
|
+
height: 40px;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.navbar.appbar-bordered .nav-actions > li {
|
|
274
|
+
display: flex;
|
|
275
|
+
align-items: center;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.navbar.appbar-bordered .nav-wrapper::-webkit-scrollbar {
|
|
279
|
+
display: none;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.navbar.appbar-bordered .nav-wrapper > ul:not(.dropdown-content) {
|
|
283
|
+
min-width: 0;
|
|
284
|
+
flex-shrink: 1;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.navbar.appbar-bordered.navbar-wrap .nav-wrapper {
|
|
288
|
+
flex-wrap: wrap;
|
|
289
|
+
height: auto;
|
|
290
|
+
row-gap: 8px;
|
|
291
|
+
overflow: visible;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.navbar.appbar-bordered.navbar-wrap .nav-wrapper > ul:not(.dropdown-content) {
|
|
295
|
+
flex-wrap: wrap;
|
|
296
|
+
white-space: normal;
|
|
226
297
|
}
|
|
227
298
|
|
|
228
299
|
.navbar .brand-logo .brand-logo-image {
|
|
@@ -319,15 +390,25 @@
|
|
|
319
390
|
margin: 0;
|
|
320
391
|
color: var(--md-sys-color-on-primary);
|
|
321
392
|
white-space: nowrap;
|
|
393
|
+
display: inline-flex;
|
|
394
|
+
align-items: center;
|
|
395
|
+
justify-content: center;
|
|
396
|
+
gap: 8px;
|
|
322
397
|
}
|
|
323
398
|
|
|
324
399
|
.navbar.appbar-bordered ul:not(.dropdown-content) > li > :is(.btn, .btn-large) > .material-icons {
|
|
400
|
+
flex: 0 0 20px;
|
|
325
401
|
width: 20px;
|
|
326
402
|
height: 20px;
|
|
327
403
|
margin-left: 8px;
|
|
328
404
|
line-height: 20px;
|
|
329
405
|
}
|
|
330
406
|
|
|
407
|
+
.navbar.appbar-bordered .dropdown-trigger {
|
|
408
|
+
flex: 0 0 auto;
|
|
409
|
+
white-space: nowrap;
|
|
410
|
+
}
|
|
411
|
+
|
|
331
412
|
.navbar.appbar-bordered ul:not(.dropdown-content) > li > a:has(> .material-icons:only-child) {
|
|
332
413
|
display: grid;
|
|
333
414
|
place-items: center;
|
|
@@ -248,7 +248,7 @@ export class Dropdown extends Component<DropdownOptions> implements Openable {
|
|
|
248
248
|
if (this.options.closeOnClick && target.closest('.dropdown-content') && !this.isTouchMoving) {
|
|
249
249
|
// isTouchMoving to check if scrolling on mobile.
|
|
250
250
|
this.close();
|
|
251
|
-
} else if (!target.closest('.dropdown-content')) {
|
|
251
|
+
} else if (!target.closest('.dropdown-content') && !target.closest('.dropdown-trigger')) {
|
|
252
252
|
// Do this one frame later so that if the element clicked also triggers _handleClick
|
|
253
253
|
// For example, if a label for a select was clicked, that we don't close/open the dropdown
|
|
254
254
|
setTimeout(() => {
|
package/dist/css/materialize.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Materialize v2.3.3-1.0.
|
|
2
|
+
* Materialize v2.3.3-1.0.18 (https://materializeweb.com)
|
|
3
3
|
* Copyright 2014-2026 Materialize
|
|
4
4
|
* MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
|
|
5
5
|
*/
|
|
@@ -15368,6 +15368,17 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
15368
15368
|
-ms-flex: 1 1 0px;
|
|
15369
15369
|
flex: 1 1 0;
|
|
15370
15370
|
min-width: 0;
|
|
15371
|
+
overflow-x: auto;
|
|
15372
|
+
overflow-y: hidden;
|
|
15373
|
+
scrollbar-width: none;
|
|
15374
|
+
}
|
|
15375
|
+
|
|
15376
|
+
.navbar.appbar-bordered .nav-wrapper.nav-wrapper-centered > ul::-webkit-scrollbar {
|
|
15377
|
+
display: none;
|
|
15378
|
+
}
|
|
15379
|
+
|
|
15380
|
+
.navbar.appbar-bordered .nav-wrapper.nav-wrapper-centered > ul > li > a {
|
|
15381
|
+
white-space: nowrap;
|
|
15371
15382
|
}
|
|
15372
15383
|
|
|
15373
15384
|
.navbar.appbar-bordered .nav-wrapper.nav-wrapper-centered > .brand-logo.center {
|
|
@@ -15410,25 +15421,42 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
15410
15421
|
/* Structured MD3 app-bar content. These hooks keep branded demos and app
|
|
15411
15422
|
shells from falling back to bare, loosely spaced anchor elements. */
|
|
15412
15423
|
.navbar.appbar-bordered {
|
|
15413
|
-
overflow:
|
|
15424
|
+
overflow: visible;
|
|
15414
15425
|
background: var(--md-sys-color-surface-variant);
|
|
15415
15426
|
border: 1px solid var(--md-sys-color-outline-variant);
|
|
15416
|
-
border-radius:
|
|
15427
|
+
border-radius: 0;
|
|
15417
15428
|
-webkit-box-shadow: 0 1px 2px color-mix(in srgb, var(--md-sys-color-shadow) 18%, transparent);
|
|
15418
15429
|
box-shadow: 0 1px 2px color-mix(in srgb, var(--md-sys-color-shadow) 18%, transparent);
|
|
15419
15430
|
}
|
|
15420
15431
|
|
|
15432
|
+
/* Layout variants. `navbar-rounded` adds the inset treatment; use
|
|
15433
|
+
`navbar-full` for a flush, full-width rectangle. */
|
|
15434
|
+
.navbar.appbar-bordered.navbar-rounded {
|
|
15435
|
+
margin: 8px 0;
|
|
15436
|
+
padding: 4px;
|
|
15437
|
+
border-radius: 16px;
|
|
15438
|
+
}
|
|
15439
|
+
|
|
15440
|
+
.navbar.appbar-bordered.navbar-full {
|
|
15441
|
+
width: 100%;
|
|
15442
|
+
margin: 0;
|
|
15443
|
+
padding: 0;
|
|
15444
|
+
border-radius: 0;
|
|
15445
|
+
border-left: 0;
|
|
15446
|
+
border-right: 0;
|
|
15447
|
+
}
|
|
15448
|
+
|
|
15421
15449
|
/* Extended app bars may contain tabs and a halfway FAB. Keep the rounded
|
|
15422
15450
|
surface on its children, but let the FAB extend below the bar. */
|
|
15423
15451
|
.navbar.appbar-bordered.nav-extended {
|
|
15424
15452
|
overflow: visible;
|
|
15425
15453
|
}
|
|
15426
15454
|
|
|
15427
|
-
.navbar.appbar-bordered.nav-extended .nav-wrapper {
|
|
15455
|
+
.navbar.appbar-bordered.nav-extended.navbar-rounded .nav-wrapper {
|
|
15428
15456
|
border-radius: 15px 15px 0 0;
|
|
15429
15457
|
}
|
|
15430
15458
|
|
|
15431
|
-
.navbar.appbar-bordered.nav-extended .nav-content {
|
|
15459
|
+
.navbar.appbar-bordered.nav-extended.navbar-rounded .nav-content {
|
|
15432
15460
|
color: var(--md-sys-color-on-surface);
|
|
15433
15461
|
background: var(--md-sys-color-surface-variant);
|
|
15434
15462
|
border-radius: 0 0 15px 15px;
|
|
@@ -15438,6 +15466,66 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
15438
15466
|
gap: 12px;
|
|
15439
15467
|
padding-inline: 12px;
|
|
15440
15468
|
background: var(--md-sys-color-surface-variant);
|
|
15469
|
+
-webkit-box-align: center;
|
|
15470
|
+
-webkit-align-items: center;
|
|
15471
|
+
-ms-flex-align: center;
|
|
15472
|
+
align-items: center;
|
|
15473
|
+
min-width: 0;
|
|
15474
|
+
overflow-x: auto;
|
|
15475
|
+
overflow-y: hidden;
|
|
15476
|
+
scrollbar-width: none;
|
|
15477
|
+
}
|
|
15478
|
+
|
|
15479
|
+
.navbar.appbar-bordered .nav-wrapper > .brand-logo,
|
|
15480
|
+
.navbar.appbar-bordered .nav-wrapper > ul:not(.dropdown-content),
|
|
15481
|
+
.navbar.appbar-bordered .nav-actions > li {
|
|
15482
|
+
-webkit-align-self: center;
|
|
15483
|
+
-ms-flex-item-align: center;
|
|
15484
|
+
align-self: center;
|
|
15485
|
+
}
|
|
15486
|
+
|
|
15487
|
+
.navbar.appbar-bordered:not(.nav-extended) .nav-wrapper > .brand-logo,
|
|
15488
|
+
.navbar.appbar-bordered:not(.nav-extended) .nav-wrapper > ul:not(.dropdown-content),
|
|
15489
|
+
.navbar.appbar-bordered:not(.nav-extended) .nav-wrapper > ul:not(.dropdown-content) > li {
|
|
15490
|
+
height: 40px;
|
|
15491
|
+
}
|
|
15492
|
+
|
|
15493
|
+
.navbar.appbar-bordered .nav-actions > li {
|
|
15494
|
+
display: -webkit-box;
|
|
15495
|
+
display: -webkit-flex;
|
|
15496
|
+
display: -ms-flexbox;
|
|
15497
|
+
display: flex;
|
|
15498
|
+
-webkit-box-align: center;
|
|
15499
|
+
-webkit-align-items: center;
|
|
15500
|
+
-ms-flex-align: center;
|
|
15501
|
+
align-items: center;
|
|
15502
|
+
}
|
|
15503
|
+
|
|
15504
|
+
.navbar.appbar-bordered .nav-wrapper::-webkit-scrollbar {
|
|
15505
|
+
display: none;
|
|
15506
|
+
}
|
|
15507
|
+
|
|
15508
|
+
.navbar.appbar-bordered .nav-wrapper > ul:not(.dropdown-content) {
|
|
15509
|
+
min-width: 0;
|
|
15510
|
+
-webkit-flex-shrink: 1;
|
|
15511
|
+
-ms-flex-negative: 1;
|
|
15512
|
+
flex-shrink: 1;
|
|
15513
|
+
}
|
|
15514
|
+
|
|
15515
|
+
.navbar.appbar-bordered.navbar-wrap .nav-wrapper {
|
|
15516
|
+
-webkit-flex-wrap: wrap;
|
|
15517
|
+
-ms-flex-wrap: wrap;
|
|
15518
|
+
flex-wrap: wrap;
|
|
15519
|
+
height: auto;
|
|
15520
|
+
row-gap: 8px;
|
|
15521
|
+
overflow: visible;
|
|
15522
|
+
}
|
|
15523
|
+
|
|
15524
|
+
.navbar.appbar-bordered.navbar-wrap .nav-wrapper > ul:not(.dropdown-content) {
|
|
15525
|
+
-webkit-flex-wrap: wrap;
|
|
15526
|
+
-ms-flex-wrap: wrap;
|
|
15527
|
+
flex-wrap: wrap;
|
|
15528
|
+
white-space: normal;
|
|
15441
15529
|
}
|
|
15442
15530
|
|
|
15443
15531
|
.navbar .brand-logo .brand-logo-image {
|
|
@@ -15550,15 +15638,40 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
15550
15638
|
margin: 0;
|
|
15551
15639
|
color: var(--md-sys-color-on-primary);
|
|
15552
15640
|
white-space: nowrap;
|
|
15641
|
+
display: -webkit-inline-box;
|
|
15642
|
+
display: -webkit-inline-flex;
|
|
15643
|
+
display: -ms-inline-flexbox;
|
|
15644
|
+
display: inline-flex;
|
|
15645
|
+
-webkit-box-align: center;
|
|
15646
|
+
-webkit-align-items: center;
|
|
15647
|
+
-ms-flex-align: center;
|
|
15648
|
+
align-items: center;
|
|
15649
|
+
-webkit-box-pack: center;
|
|
15650
|
+
-webkit-justify-content: center;
|
|
15651
|
+
-ms-flex-pack: center;
|
|
15652
|
+
justify-content: center;
|
|
15653
|
+
gap: 8px;
|
|
15553
15654
|
}
|
|
15554
15655
|
|
|
15555
15656
|
.navbar.appbar-bordered ul:not(.dropdown-content) > li > :is(.btn, .btn-large) > .material-icons {
|
|
15657
|
+
-webkit-box-flex: 0;
|
|
15658
|
+
-webkit-flex: 0 0 20px;
|
|
15659
|
+
-ms-flex: 0 0 20px;
|
|
15660
|
+
flex: 0 0 20px;
|
|
15556
15661
|
width: 20px;
|
|
15557
15662
|
height: 20px;
|
|
15558
15663
|
margin-left: 8px;
|
|
15559
15664
|
line-height: 20px;
|
|
15560
15665
|
}
|
|
15561
15666
|
|
|
15667
|
+
.navbar.appbar-bordered .dropdown-trigger {
|
|
15668
|
+
-webkit-box-flex: 0;
|
|
15669
|
+
-webkit-flex: 0 0 auto;
|
|
15670
|
+
-ms-flex: 0 0 auto;
|
|
15671
|
+
flex: 0 0 auto;
|
|
15672
|
+
white-space: nowrap;
|
|
15673
|
+
}
|
|
15674
|
+
|
|
15562
15675
|
.navbar.appbar-bordered ul:not(.dropdown-content) > li > a:has(> .material-icons:only-child) {
|
|
15563
15676
|
display: grid;
|
|
15564
15677
|
place-items: center;
|