@flux-ui/components 3.0.0-next.67 → 3.0.0-next.69
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/README.md +1 -1
- package/dist/component/FluxLayerPane.vue.d.ts +5 -1
- package/dist/index.css +81 -19
- package/dist/index.d.ts +1 -1
- package/dist/index.js +576 -358
- package/dist/index.js.map +1 -1
- package/dist/vite.js.map +1 -1
- package/package.json +11 -11
- package/src/component/FluxLayerPane.vue +17 -1
- package/src/css/component/Flyout.module.scss +1 -1
- package/src/css/component/LayerPane.module.scss +69 -7
- package/src/css/component/Overlay.module.scss +8 -7
- package/src/css/component/Transition.module.scss +4 -4
- package/src/css/component/base/Button.module.scss +21 -0
- package/src/index.ts +1 -0
package/README.md
CHANGED
|
@@ -30,6 +30,6 @@ Documentation lives at [flux-ui.dev](https://flux-ui.dev). This readme covers bu
|
|
|
30
30
|
|
|
31
31
|
- [`@flux-ui/types`](../types) — public TypeScript types.
|
|
32
32
|
- [`@flux-ui/internals`](../internals) — shared composables, utilities, and directives.
|
|
33
|
-
- [`@flux-ui/statistics`](../statistics) — chart components built on
|
|
33
|
+
- [`@flux-ui/statistics`](../statistics) — chart components built on Apache ECharts.
|
|
34
34
|
- [`@flux-ui/dashboard`](../dashboard) — dashboard layout components.
|
|
35
35
|
- [`@flux-ui/application`](../application) — application shell components.
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { FluxColor } from '@flux-ui/types';
|
|
1
2
|
import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
readonly color?: FluxColor;
|
|
5
|
+
};
|
|
2
6
|
type __VLS_Slots = {
|
|
3
7
|
default(): VNode[];
|
|
4
8
|
};
|
|
5
|
-
declare const __VLS_base: DefineComponent<
|
|
9
|
+
declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
6
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
11
|
declare const _default: typeof __VLS_export;
|
|
8
12
|
export default _default;
|
package/dist/index.css
CHANGED
|
@@ -536,6 +536,22 @@
|
|
|
536
536
|
margin-left: -2px;
|
|
537
537
|
margin-right: -2px;
|
|
538
538
|
}
|
|
539
|
+
.button:has(.button-icon:only-child) {
|
|
540
|
+
padding-left: 0;
|
|
541
|
+
padding-right: 0;
|
|
542
|
+
}
|
|
543
|
+
.button:has(.button-icon:only-child).is-small {
|
|
544
|
+
width: 36px;
|
|
545
|
+
}
|
|
546
|
+
.button:has(.button-icon:only-child).is-medium {
|
|
547
|
+
width: 42px;
|
|
548
|
+
}
|
|
549
|
+
.button:has(.button-icon:only-child).is-large {
|
|
550
|
+
width: 48px;
|
|
551
|
+
}
|
|
552
|
+
.button:has(.button-icon:only-child).is-xl {
|
|
553
|
+
width: 54px;
|
|
554
|
+
}
|
|
539
555
|
.button-icon {
|
|
540
556
|
margin: 1px;
|
|
541
557
|
flex-shrink: 0;
|
|
@@ -663,7 +679,7 @@
|
|
|
663
679
|
|
|
664
680
|
.overlay-shade {
|
|
665
681
|
background: var(--overlay);
|
|
666
|
-
backdrop-filter: blur(3px) saturate(180%);
|
|
682
|
+
backdrop-filter: blur(3px) grayscale(0.5) saturate(180%);
|
|
667
683
|
pointer-events: none;
|
|
668
684
|
transition: opacity 600ms var(--swift-out);
|
|
669
685
|
}
|
|
@@ -704,8 +720,8 @@
|
|
|
704
720
|
background: var(--overlay-secondary);
|
|
705
721
|
opacity: 0;
|
|
706
722
|
pointer-events: none;
|
|
707
|
-
transition: opacity
|
|
708
|
-
z-index:
|
|
723
|
+
transition: opacity 600ms var(--swift-out);
|
|
724
|
+
z-index: 1000;
|
|
709
725
|
}
|
|
710
726
|
.overlay.is-current > .base-pane-structure {
|
|
711
727
|
pointer-events: auto;
|
|
@@ -744,6 +760,7 @@
|
|
|
744
760
|
max-height: calc(100% - 18px);
|
|
745
761
|
width: min(100dvw, 720px);
|
|
746
762
|
contain: paint;
|
|
763
|
+
transition-duration: 600ms;
|
|
747
764
|
overflow: auto;
|
|
748
765
|
}
|
|
749
766
|
.slide-over > .base-pane-structure > .pane-header,
|
|
@@ -779,11 +796,11 @@
|
|
|
779
796
|
|
|
780
797
|
.overlay-transition-enter-active,
|
|
781
798
|
.overlay-transition-leave-active {
|
|
782
|
-
transition: opacity
|
|
799
|
+
transition: opacity 300ms var(--swift-out);
|
|
783
800
|
}
|
|
784
801
|
.overlay-transition-enter-active > .base-pane-structure,
|
|
785
802
|
.overlay-transition-leave-active > .base-pane-structure {
|
|
786
|
-
transition:
|
|
803
|
+
transition: 300ms var(--swift-out);
|
|
787
804
|
transition-property: opacity, scale;
|
|
788
805
|
}
|
|
789
806
|
|
|
@@ -805,11 +822,11 @@
|
|
|
805
822
|
|
|
806
823
|
.slide-over-transition-enter-active,
|
|
807
824
|
.slide-over-transition-leave-active {
|
|
808
|
-
transition: opacity
|
|
825
|
+
transition: opacity 480ms var(--swift-out);
|
|
809
826
|
}
|
|
810
827
|
.slide-over-transition-enter-active > .base-pane-structure,
|
|
811
828
|
.slide-over-transition-leave-active > .base-pane-structure {
|
|
812
|
-
transition:
|
|
829
|
+
transition: 480ms var(--swift-out);
|
|
813
830
|
transition-property: opacity, transform;
|
|
814
831
|
}
|
|
815
832
|
|
|
@@ -1266,13 +1283,13 @@
|
|
|
1266
1283
|
.vertical-window-transition-enter-active,
|
|
1267
1284
|
.vertical-window-transition-back-enter-active {
|
|
1268
1285
|
contain: paint;
|
|
1269
|
-
transition:
|
|
1286
|
+
transition: 105ms var(--deceleration-curve);
|
|
1270
1287
|
transition-property: opacity, transform;
|
|
1271
1288
|
}
|
|
1272
1289
|
|
|
1273
1290
|
.vertical-window-transition-leave-active,
|
|
1274
1291
|
.vertical-window-transition-back-leave-active {
|
|
1275
|
-
transition:
|
|
1292
|
+
transition: 105ms var(--acceleration-curve);
|
|
1276
1293
|
transition-property: opacity, transform;
|
|
1277
1294
|
}
|
|
1278
1295
|
|
|
@@ -1290,13 +1307,13 @@
|
|
|
1290
1307
|
|
|
1291
1308
|
.window-transition-enter-active,
|
|
1292
1309
|
.window-transition-back-enter-active {
|
|
1293
|
-
transition:
|
|
1310
|
+
transition: 105ms var(--deceleration-curve);
|
|
1294
1311
|
transition-property: height, opacity, transform;
|
|
1295
1312
|
}
|
|
1296
1313
|
|
|
1297
1314
|
.window-transition-leave-active,
|
|
1298
1315
|
.window-transition-back-leave-active {
|
|
1299
|
-
transition:
|
|
1316
|
+
transition: 105ms var(--acceleration-curve);
|
|
1300
1317
|
transition-property: height, opacity, transform;
|
|
1301
1318
|
}
|
|
1302
1319
|
|
|
@@ -1557,7 +1574,7 @@
|
|
|
1557
1574
|
animation: close 210ms var(--swift-out) both;
|
|
1558
1575
|
}
|
|
1559
1576
|
.flyout-pane.is-opening {
|
|
1560
|
-
animation: open 210ms var(--
|
|
1577
|
+
animation: open 210ms var(--swift-out) both;
|
|
1561
1578
|
}
|
|
1562
1579
|
|
|
1563
1580
|
@keyframes close {
|
|
@@ -2538,23 +2555,68 @@
|
|
|
2538
2555
|
}.layer-pane {
|
|
2539
2556
|
display: flex;
|
|
2540
2557
|
flex-flow: column;
|
|
2541
|
-
border: 1px solid var(--surface-stroke-out);
|
|
2542
|
-
border-radius: var(--radius);
|
|
2543
|
-
background: var(--gray-50);
|
|
2544
2558
|
background-clip: padding-box;
|
|
2559
|
+
border: 1px solid;
|
|
2560
|
+
border-radius: var(--radius);
|
|
2561
|
+
contain: paint;
|
|
2562
|
+
}
|
|
2563
|
+
.layer-pane > .base-pane-structure {
|
|
2564
|
+
border-color: inherit;
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
.layer-pane-gray {
|
|
2568
|
+
background-color: var(--gray-50);
|
|
2569
|
+
border-color: var(--surface-stroke-out);
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
.layer-pane-primary {
|
|
2573
|
+
background-color: var(--primary-100);
|
|
2574
|
+
border-color: var(--primary-200);
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2577
|
+
.layer-pane-danger {
|
|
2578
|
+
background-color: var(--danger-100);
|
|
2579
|
+
border-color: var(--danger-200);
|
|
2580
|
+
}
|
|
2581
|
+
.layer-pane-danger .pane-header-icon {
|
|
2582
|
+
color: var(--danger-600);
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
.layer-pane-info {
|
|
2586
|
+
background-color: var(--info-100);
|
|
2587
|
+
border-color: var(--info-200);
|
|
2588
|
+
}
|
|
2589
|
+
.layer-pane-info .pane-header-icon {
|
|
2590
|
+
color: var(--info-600);
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2593
|
+
.layer-pane-success {
|
|
2594
|
+
background-color: var(--success-100);
|
|
2595
|
+
border-color: var(--success-200);
|
|
2596
|
+
}
|
|
2597
|
+
.layer-pane-success .pane-header-icon {
|
|
2598
|
+
color: var(--success-600);
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2601
|
+
.layer-pane-warning {
|
|
2602
|
+
background-color: var(--warning-100);
|
|
2603
|
+
border-color: var(--warning-200);
|
|
2604
|
+
}
|
|
2605
|
+
.layer-pane-warning .pane-header-icon {
|
|
2606
|
+
color: var(--warning-600);
|
|
2545
2607
|
}
|
|
2546
2608
|
|
|
2547
2609
|
.layer-pane > .base-pane-structure {
|
|
2548
|
-
|
|
2549
|
-
|
|
2610
|
+
margin-left: -1px;
|
|
2611
|
+
margin-right: -1px;
|
|
2550
2612
|
}
|
|
2551
2613
|
|
|
2552
2614
|
.layer-pane > .base-pane-structure:first-child {
|
|
2553
|
-
|
|
2615
|
+
margin-top: -1px;
|
|
2554
2616
|
}
|
|
2555
2617
|
|
|
2556
2618
|
.layer-pane > .base-pane-structure:last-child {
|
|
2557
|
-
|
|
2619
|
+
margin-bottom: -1px;
|
|
2558
2620
|
}
|
|
2559
2621
|
|
|
2560
2622
|
.layer-pane > .base-pane-structure + .base-pane-structure {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './component';
|
|
2
2
|
export * from './composable';
|
|
3
3
|
export * from './transition';
|
|
4
|
-
export { fluxRegisterIcons, isFluxFormSelectGroup, isFluxFormSelectOption, showAlert, showConfirm, showPrompt, showSnackbar, useFluxStore } from './data';
|
|
4
|
+
export { fluxRegisterIcons, iconRegistry, isFluxFormSelectGroup, isFluxFormSelectOption, showAlert, showConfirm, showPrompt, showSnackbar, useFluxStore } from './data';
|
|
5
5
|
export type { FluxAdaptiveGroupChild, FluxAdaptiveGroupInjection, FluxExpandableGroupInjection, FluxFilterInjection, FluxFlyoutInjection, FluxFormFieldInjection, FluxTooltipInjection, FluxState, FluxStore } from './data';
|
|
6
6
|
export { defineFilter, isFluxFilterOptionHeader, isFluxFilterOptionItem, pickFilterCommon } from './util';
|
|
7
7
|
export type { FluxFilterDefinitionFactory } from './util';
|