@flux-ui/components 3.0.0-next.67 → 3.0.0-next.68
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 +65 -19
- package/dist/index.d.ts +1 -1
- package/dist/index.js +554 -336
- 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/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
|
@@ -663,7 +663,7 @@
|
|
|
663
663
|
|
|
664
664
|
.overlay-shade {
|
|
665
665
|
background: var(--overlay);
|
|
666
|
-
backdrop-filter: blur(3px) saturate(180%);
|
|
666
|
+
backdrop-filter: blur(3px) grayscale(0.5) saturate(180%);
|
|
667
667
|
pointer-events: none;
|
|
668
668
|
transition: opacity 600ms var(--swift-out);
|
|
669
669
|
}
|
|
@@ -704,8 +704,8 @@
|
|
|
704
704
|
background: var(--overlay-secondary);
|
|
705
705
|
opacity: 0;
|
|
706
706
|
pointer-events: none;
|
|
707
|
-
transition: opacity
|
|
708
|
-
z-index:
|
|
707
|
+
transition: opacity 600ms var(--swift-out);
|
|
708
|
+
z-index: 1000;
|
|
709
709
|
}
|
|
710
710
|
.overlay.is-current > .base-pane-structure {
|
|
711
711
|
pointer-events: auto;
|
|
@@ -744,6 +744,7 @@
|
|
|
744
744
|
max-height: calc(100% - 18px);
|
|
745
745
|
width: min(100dvw, 720px);
|
|
746
746
|
contain: paint;
|
|
747
|
+
transition-duration: 600ms;
|
|
747
748
|
overflow: auto;
|
|
748
749
|
}
|
|
749
750
|
.slide-over > .base-pane-structure > .pane-header,
|
|
@@ -779,11 +780,11 @@
|
|
|
779
780
|
|
|
780
781
|
.overlay-transition-enter-active,
|
|
781
782
|
.overlay-transition-leave-active {
|
|
782
|
-
transition: opacity
|
|
783
|
+
transition: opacity 300ms var(--swift-out);
|
|
783
784
|
}
|
|
784
785
|
.overlay-transition-enter-active > .base-pane-structure,
|
|
785
786
|
.overlay-transition-leave-active > .base-pane-structure {
|
|
786
|
-
transition:
|
|
787
|
+
transition: 300ms var(--swift-out);
|
|
787
788
|
transition-property: opacity, scale;
|
|
788
789
|
}
|
|
789
790
|
|
|
@@ -805,11 +806,11 @@
|
|
|
805
806
|
|
|
806
807
|
.slide-over-transition-enter-active,
|
|
807
808
|
.slide-over-transition-leave-active {
|
|
808
|
-
transition: opacity
|
|
809
|
+
transition: opacity 480ms var(--swift-out);
|
|
809
810
|
}
|
|
810
811
|
.slide-over-transition-enter-active > .base-pane-structure,
|
|
811
812
|
.slide-over-transition-leave-active > .base-pane-structure {
|
|
812
|
-
transition:
|
|
813
|
+
transition: 480ms var(--swift-out);
|
|
813
814
|
transition-property: opacity, transform;
|
|
814
815
|
}
|
|
815
816
|
|
|
@@ -1266,13 +1267,13 @@
|
|
|
1266
1267
|
.vertical-window-transition-enter-active,
|
|
1267
1268
|
.vertical-window-transition-back-enter-active {
|
|
1268
1269
|
contain: paint;
|
|
1269
|
-
transition:
|
|
1270
|
+
transition: 105ms var(--deceleration-curve);
|
|
1270
1271
|
transition-property: opacity, transform;
|
|
1271
1272
|
}
|
|
1272
1273
|
|
|
1273
1274
|
.vertical-window-transition-leave-active,
|
|
1274
1275
|
.vertical-window-transition-back-leave-active {
|
|
1275
|
-
transition:
|
|
1276
|
+
transition: 105ms var(--acceleration-curve);
|
|
1276
1277
|
transition-property: opacity, transform;
|
|
1277
1278
|
}
|
|
1278
1279
|
|
|
@@ -1290,13 +1291,13 @@
|
|
|
1290
1291
|
|
|
1291
1292
|
.window-transition-enter-active,
|
|
1292
1293
|
.window-transition-back-enter-active {
|
|
1293
|
-
transition:
|
|
1294
|
+
transition: 105ms var(--deceleration-curve);
|
|
1294
1295
|
transition-property: height, opacity, transform;
|
|
1295
1296
|
}
|
|
1296
1297
|
|
|
1297
1298
|
.window-transition-leave-active,
|
|
1298
1299
|
.window-transition-back-leave-active {
|
|
1299
|
-
transition:
|
|
1300
|
+
transition: 105ms var(--acceleration-curve);
|
|
1300
1301
|
transition-property: height, opacity, transform;
|
|
1301
1302
|
}
|
|
1302
1303
|
|
|
@@ -1557,7 +1558,7 @@
|
|
|
1557
1558
|
animation: close 210ms var(--swift-out) both;
|
|
1558
1559
|
}
|
|
1559
1560
|
.flyout-pane.is-opening {
|
|
1560
|
-
animation: open 210ms var(--
|
|
1561
|
+
animation: open 210ms var(--swift-out) both;
|
|
1561
1562
|
}
|
|
1562
1563
|
|
|
1563
1564
|
@keyframes close {
|
|
@@ -2538,23 +2539,68 @@
|
|
|
2538
2539
|
}.layer-pane {
|
|
2539
2540
|
display: flex;
|
|
2540
2541
|
flex-flow: column;
|
|
2541
|
-
border: 1px solid var(--surface-stroke-out);
|
|
2542
|
-
border-radius: var(--radius);
|
|
2543
|
-
background: var(--gray-50);
|
|
2544
2542
|
background-clip: padding-box;
|
|
2543
|
+
border: 1px solid;
|
|
2544
|
+
border-radius: var(--radius);
|
|
2545
|
+
contain: paint;
|
|
2546
|
+
}
|
|
2547
|
+
.layer-pane > .base-pane-structure {
|
|
2548
|
+
border-color: inherit;
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
.layer-pane-gray {
|
|
2552
|
+
background-color: var(--gray-50);
|
|
2553
|
+
border-color: var(--surface-stroke-out);
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
.layer-pane-primary {
|
|
2557
|
+
background-color: var(--primary-100);
|
|
2558
|
+
border-color: var(--primary-200);
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
.layer-pane-danger {
|
|
2562
|
+
background-color: var(--danger-100);
|
|
2563
|
+
border-color: var(--danger-200);
|
|
2564
|
+
}
|
|
2565
|
+
.layer-pane-danger .pane-header-icon {
|
|
2566
|
+
color: var(--danger-600);
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
.layer-pane-info {
|
|
2570
|
+
background-color: var(--info-100);
|
|
2571
|
+
border-color: var(--info-200);
|
|
2572
|
+
}
|
|
2573
|
+
.layer-pane-info .pane-header-icon {
|
|
2574
|
+
color: var(--info-600);
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2577
|
+
.layer-pane-success {
|
|
2578
|
+
background-color: var(--success-100);
|
|
2579
|
+
border-color: var(--success-200);
|
|
2580
|
+
}
|
|
2581
|
+
.layer-pane-success .pane-header-icon {
|
|
2582
|
+
color: var(--success-600);
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
.layer-pane-warning {
|
|
2586
|
+
background-color: var(--warning-100);
|
|
2587
|
+
border-color: var(--warning-200);
|
|
2588
|
+
}
|
|
2589
|
+
.layer-pane-warning .pane-header-icon {
|
|
2590
|
+
color: var(--warning-600);
|
|
2545
2591
|
}
|
|
2546
2592
|
|
|
2547
2593
|
.layer-pane > .base-pane-structure {
|
|
2548
|
-
|
|
2549
|
-
|
|
2594
|
+
margin-left: -1px;
|
|
2595
|
+
margin-right: -1px;
|
|
2550
2596
|
}
|
|
2551
2597
|
|
|
2552
2598
|
.layer-pane > .base-pane-structure:first-child {
|
|
2553
|
-
|
|
2599
|
+
margin-top: -1px;
|
|
2554
2600
|
}
|
|
2555
2601
|
|
|
2556
2602
|
.layer-pane > .base-pane-structure:last-child {
|
|
2557
|
-
|
|
2603
|
+
margin-bottom: -1px;
|
|
2558
2604
|
}
|
|
2559
2605
|
|
|
2560
2606
|
.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';
|