weifuwu 0.76.0 → 0.78.0
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 +38 -41
- package/dist/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/List/List.d.ts +3 -0
- package/dist/components/Tour/Tour.d.ts +1 -1
- package/dist/components/index.js +12 -12
- package/dist/components/style.css +17 -0
- package/dist/index.js +1272 -1228
- package/dist/scheduler/index.d.ts +7 -2
- package/dist/ui-dom/hooks/index.d.ts +0 -1
- package/dist/ui-dom/hooks/popup.d.ts +1 -10
- package/dist/ui-dom/hooks/stable.d.ts +1 -1
- package/dist/ui-dom/hooks/types.d.ts +0 -1
- package/dist/ui-dom/index.d.ts +1 -1
- package/dist/ui-dom/index.js +10 -10
- package/dist/ui-dom/jsx-runtime.js +1 -1
- package/dist/ui-dom/testing.js +1 -1
- package/dist/ui-dom/types.d.ts +31 -41
- package/dist/ui-dom/vdom/audit.d.ts +20 -0
- package/dist/ui-dom/vdom/build.d.ts +10 -3
- package/dist/ui-dom/vdom/diff.d.ts +7 -8
- package/dist/ui-dom/vdom/index.d.ts +1 -1
- package/dist/ui-dom/vdom/mount.d.ts +14 -5
- package/dist/ui-dom/vdom/render.d.ts +4 -0
- package/dist/ui-dom/vdom/serve.d.ts +1 -1
- package/dist/ui-dom/vdom/transform.d.ts +32 -0
- package/dist/ui-dom/vnode.d.ts +18 -10
- package/docs/components.md +5 -5
- package/docs/custom-components.md +86 -54
- package/docs/examples.md +35 -41
- package/docs/frontend-middleware.md +3 -4
- package/docs/frontend-ui-dom.md +22 -18
- package/docs/frontend.md +243 -168
- package/docs/mobile.md +2 -2
- package/docs/realtime.md +8 -3
- package/package.json +1 -1
- package/dist/ui-dom/focus-trap.d.ts +0 -4
- package/dist/ui-dom/scroll-lock.d.ts +0 -5
- package/dist/ui-dom/vdom/scheduler.d.ts +0 -13
|
@@ -3546,6 +3546,12 @@ body.wf-dragging {
|
|
|
3546
3546
|
|
|
3547
3547
|
/* weifuwu/components — ContextMenu */
|
|
3548
3548
|
|
|
3549
|
+
.wf-context-menu-trigger {
|
|
3550
|
+
/* 锚定容器收缩(flex 父容器 blockify 兜底——同 Dropdown) */
|
|
3551
|
+
display: inline-block;
|
|
3552
|
+
width: fit-content;
|
|
3553
|
+
}
|
|
3554
|
+
|
|
3549
3555
|
.wf-context-menu {
|
|
3550
3556
|
position: fixed;
|
|
3551
3557
|
z-index: var(--wf-z-popover);
|
|
@@ -4312,7 +4318,10 @@ body.wf-dragging {
|
|
|
4312
4318
|
/* weifuwu/components — Dropdown */
|
|
4313
4319
|
|
|
4314
4320
|
.wf-dropdown {
|
|
4321
|
+
/* inline-block 在 flex 父容器(flex item blockify)下失效——fit-content 兜底收缩
|
|
4322
|
+
(真实事故:AdminLayout .wf-stack 里 wrap 全宽 1120 → 弹层居中于容器而非按钮) */
|
|
4315
4323
|
display: inline-block;
|
|
4324
|
+
width: fit-content;
|
|
4316
4325
|
}
|
|
4317
4326
|
|
|
4318
4327
|
.wf-dropdown-menu {
|
|
@@ -5102,6 +5111,12 @@ body.wf-dragging {
|
|
|
5102
5111
|
|
|
5103
5112
|
/* weifuwu/components — HoverCard */
|
|
5104
5113
|
|
|
5114
|
+
.wf-hover-card-wrap {
|
|
5115
|
+
/* 锚定容器收缩(flex 父容器 blockify 兜底——同 Dropdown) */
|
|
5116
|
+
display: inline-block;
|
|
5117
|
+
width: fit-content;
|
|
5118
|
+
}
|
|
5119
|
+
|
|
5105
5120
|
.wf-hover-card {
|
|
5106
5121
|
position: fixed;
|
|
5107
5122
|
z-index: var(--wf-z-tooltip);
|
|
@@ -9366,7 +9381,9 @@ body.wf-dragging {
|
|
|
9366
9381
|
/* weifuwu/components — Tooltip */
|
|
9367
9382
|
|
|
9368
9383
|
.wf-tooltip-wrap {
|
|
9384
|
+
/* flex 父容器 blockify 兜底(同 Dropdown) */
|
|
9369
9385
|
display: inline-flex;
|
|
9386
|
+
width: fit-content;
|
|
9370
9387
|
}
|
|
9371
9388
|
|
|
9372
9389
|
.wf-tooltip {
|