@linkdesk/ui 0.2.61 → 0.2.63

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.
@@ -42,6 +42,12 @@ export interface ContextMenuProps {
42
42
  * - "embedded"(顶部菜单栏下拉):无 backdrop + 点外关闭由宿主自管——菜单嵌在按钮行
43
43
  * hover 切换交互里,backdrop 会吞掉按钮行第一击导致切换失效(硬约束 18 已钳制菜单 top≥30)。 */
44
44
  variant?: "overlay" | "non-modal" | "embedded";
45
+ /**
46
+ * F17(2026-11-21):**多选菜单**(打勾式筛选/开关列表)——选中后菜单不关,可连续勾选多项目。
47
+ * 缺省 false(既有消费方行为不变:单选即关)。
48
+ * ⚠️ 只作用于 `onSelect` 池侧回调项(壳命令项仍按单选语义关菜单——命令通常自带反馈/导航)。
49
+ */
50
+ keepOpenOnSelect?: boolean;
45
51
  }
46
- export default function ContextMenu({ menuId, anchor, context, onClose, resolveChildren, items, variant }: ContextMenuProps): import("react").JSX.Element;
52
+ export default function ContextMenu({ menuId, anchor, context, onClose, resolveChildren, items, variant, keepOpenOnSelect }: ContextMenuProps): import("react").JSX.Element;
47
53
  export {};