@flux-ui/application 3.1.6 → 3.1.7
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/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
@charset "UTF-8";:root {
|
|
2
2
|
--application-duration: 360ms;
|
|
3
3
|
--application-menu-surface: var(--gray-100);
|
|
4
4
|
--application-menu-surface-stroke: var(--gray-200);
|
|
@@ -121,6 +121,7 @@ html[data-application-resizing] .application-menu-backdrop {
|
|
|
121
121
|
flex-grow: 1;
|
|
122
122
|
}
|
|
123
123
|
.application-content-full > .calendar {
|
|
124
|
+
border-top: 0;
|
|
124
125
|
border-left: 0;
|
|
125
126
|
border-right: 0;
|
|
126
127
|
border-radius: 0;
|
|
@@ -181,7 +182,8 @@ html[data-application-resizing] .application-menu-backdrop {
|
|
|
181
182
|
margin: 0;
|
|
182
183
|
color: var(--foreground-secondary);
|
|
183
184
|
font-size: 18px;
|
|
184
|
-
}
|
|
185
|
+
}
|
|
186
|
+
.application-menu {
|
|
185
187
|
position: fixed;
|
|
186
188
|
display: flex;
|
|
187
189
|
top: 0;
|
|
@@ -292,6 +294,25 @@ html[data-application-resizing] .application-menu-backdrop {
|
|
|
292
294
|
|
|
293
295
|
.application-menu .menu-sub-header {
|
|
294
296
|
--surface: var(--application-menu-surface);
|
|
297
|
+
height: auto;
|
|
298
|
+
overflow: hidden;
|
|
299
|
+
interpolate-size: allow-keywords;
|
|
300
|
+
transition: var(--application-duration) var(--swift-out);
|
|
301
|
+
transition-property: height, margin, opacity, padding, display;
|
|
302
|
+
transition-behavior: allow-discrete;
|
|
303
|
+
}
|
|
304
|
+
@starting-style {
|
|
305
|
+
.application-menu .menu-sub-header {
|
|
306
|
+
height: 0;
|
|
307
|
+
/* Match the collapsed state's negative margins (sum -12px = one panel gap)
|
|
308
|
+
so the expand-in animation starts exactly where the collapsed sub-header
|
|
309
|
+
sat — no jump at the start of the expand. */
|
|
310
|
+
margin-top: -9px;
|
|
311
|
+
margin-bottom: -3px;
|
|
312
|
+
padding-top: 0;
|
|
313
|
+
padding-bottom: 0;
|
|
314
|
+
opacity: 0;
|
|
315
|
+
}
|
|
295
316
|
}
|
|
296
317
|
|
|
297
318
|
.application-menu .menu-item {
|
|
@@ -413,6 +434,7 @@ html[data-application-resizing] .application-menu-backdrop {
|
|
|
413
434
|
background: var(--gray-25);
|
|
414
435
|
border: 1px solid var(--application-menu-surface-stroke);
|
|
415
436
|
border-radius: var(--radius);
|
|
437
|
+
transition: opacity var(--application-duration) var(--swift-out);
|
|
416
438
|
}
|
|
417
439
|
|
|
418
440
|
.application-menu-promo > .icon {
|
|
@@ -428,7 +450,7 @@ html[data-application-resizing] .application-menu-backdrop {
|
|
|
428
450
|
font-size: 14px;
|
|
429
451
|
}
|
|
430
452
|
|
|
431
|
-
.application-menu-promo-content a {
|
|
453
|
+
.application-menu-promo-content a:not([class]) {
|
|
432
454
|
color: var(--gray-700);
|
|
433
455
|
}
|
|
434
456
|
|
|
@@ -453,6 +475,9 @@ html[data-application-resizing] .application-menu-backdrop {
|
|
|
453
475
|
}
|
|
454
476
|
|
|
455
477
|
@media (min-width: 1024px) {
|
|
478
|
+
.application-menu-promo {
|
|
479
|
+
width: calc(var(--application-menu-width) - 25px);
|
|
480
|
+
}
|
|
456
481
|
.application-menu[data-collapsed][data-collapsible] {
|
|
457
482
|
width: var(--application-menu-width-collapsed);
|
|
458
483
|
}
|
|
@@ -461,6 +486,19 @@ html[data-application-resizing] .application-menu-backdrop {
|
|
|
461
486
|
opacity: 0;
|
|
462
487
|
translate: -12px 0;
|
|
463
488
|
}
|
|
489
|
+
.application-menu[data-collapsed][data-collapsible] .menu-sub-header {
|
|
490
|
+
display: none;
|
|
491
|
+
height: 0;
|
|
492
|
+
/* Keep the sub-header's negative margins (sum -12px = one panel gap) while
|
|
493
|
+
it is a zero-height flex item, so the space it leaves equals the single
|
|
494
|
+
gap that remains after `display: none` removes it — avoiding a jump of
|
|
495
|
+
the group below at the end of the collapse. */
|
|
496
|
+
margin-top: -9px;
|
|
497
|
+
margin-bottom: -3px;
|
|
498
|
+
padding-top: 0;
|
|
499
|
+
padding-bottom: 0;
|
|
500
|
+
opacity: 0;
|
|
501
|
+
}
|
|
464
502
|
.application-menu[data-collapsed][data-collapsible] .application-menu-promo,
|
|
465
503
|
.application-menu[data-collapsed][data-collapsible] .application-menu-context {
|
|
466
504
|
opacity: 0;
|
|
@@ -487,6 +525,8 @@ html[data-application-resizing] .application-menu-footer,
|
|
|
487
525
|
html[data-application-resizing] .application-menu-footer::before,
|
|
488
526
|
html[data-application-resizing] .application-menu-header,
|
|
489
527
|
html[data-application-resizing] .application-menu-track,
|
|
528
|
+
html[data-application-resizing] .application-menu-promo,
|
|
529
|
+
html[data-application-resizing] .application-menu .menu-sub-header,
|
|
490
530
|
html[data-application-resizing] .application-menu .menu-item-label,
|
|
491
531
|
html[data-application-resizing] .application-menu-context-pill-content strong,
|
|
492
532
|
html[data-application-resizing] .application-menu-context-pill-content span {
|
|
@@ -637,6 +677,6 @@ html[data-application-resizing] .application-menu-context-pill-content span {
|
|
|
637
677
|
margin-right: -15px;
|
|
638
678
|
}
|
|
639
679
|
}
|
|
640
|
-
.application-top:has(+ .application-content-full > .table) {
|
|
680
|
+
.application-top:has(+ .application-content-full > :is(.calendar, .table)) {
|
|
641
681
|
border-bottom-color: var(--surface-stroke-out);
|
|
642
682
|
}/*$vite$:1*/
|
package/dist/index.js
CHANGED
|
@@ -3660,7 +3660,7 @@ var HttpAdapter = _HttpAdapter = class HttpAdapter {
|
|
|
3660
3660
|
HttpAdapter = _HttpAdapter = __decorate([adapter_default], HttpAdapter);
|
|
3661
3661
|
RegExp(`[a-z]`), RegExp(`[A-Z]`), RegExp(`[0-9]`), RegExp(`[!"#$%&'()*+,-./:;<=>?@[\\\\\\]^_\`{|}~]`);
|
|
3662
3662
|
//#endregion
|
|
3663
|
-
//#region ../internals/dist/composable-
|
|
3663
|
+
//#region ../internals/dist/composable-ByAxh3HA.js
|
|
3664
3664
|
function O(t, n, r, i = { passive: !0 }) {
|
|
3665
3665
|
watch(t, (a, o, s) => {
|
|
3666
3666
|
let c = v(t) ?? (a instanceof EventTarget ? a : null);
|
|
@@ -3707,7 +3707,7 @@ function M(e) {
|
|
|
3707
3707
|
};
|
|
3708
3708
|
}
|
|
3709
3709
|
//#endregion
|
|
3710
|
-
//#region ../internals/dist/directive-
|
|
3710
|
+
//#region ../internals/dist/directive-wk7DX8wQ.js
|
|
3711
3711
|
var i = class {
|
|
3712
3712
|
#e;
|
|
3713
3713
|
#t;
|
|
@@ -4406,6 +4406,7 @@ var ApplicationTop_module_default = {
|
|
|
4406
4406
|
icon: `icon`,
|
|
4407
4407
|
applicationMenuToggle: `application-menu-toggle`,
|
|
4408
4408
|
applicationContentFull: `application-content-full`,
|
|
4409
|
+
calendar: `calendar`,
|
|
4409
4410
|
table: `table`
|
|
4410
4411
|
};
|
|
4411
4412
|
//#endregion
|