dcp-design-react 1.11.12 → 1.11.14

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.
@@ -2,10 +2,11 @@ import React from 'react';
2
2
  type UseContextMenuProps = {
3
3
  ref: React.RefObject<HTMLElement>;
4
4
  popup: (ev: MouseEvent) => React.ReactNode;
5
+ getTriggerContainer?: (el: HTMLElement | null) => HTMLElement | null;
5
6
  prevent?: (node: HTMLElement) => boolean;
6
7
  enabled?: boolean;
7
8
  };
8
- declare const useContextMenu: ({ ref, popup, prevent, enabled }: UseContextMenuProps) => {
9
+ declare const useContextMenu: ({ ref, popup, getTriggerContainer, prevent, enabled }: UseContextMenuProps) => {
9
10
  contextMenu: React.JSX.Element;
10
11
  closeMenu: () => void;
11
12
  };
@@ -28000,6 +28000,12 @@ body {
28000
28000
  .qm-form .ant-form-item .ant-select-multiple:not(.ant-select-disabled) .ant-select-selection-overflow-item-rest * {
28001
28001
  pointer-events: none;
28002
28002
  }
28003
+ .qm-form .ant-form-vertical .ant-form-item .ant-form-item-label {
28004
+ padding-bottom: 4px;
28005
+ }
28006
+ .qm-form .ant-form-vertical .ant-form-item .ant-form-item-label label[title=''] {
28007
+ justify-content: left;
28008
+ }
28003
28009
  .qm-form--sm .ant-form-item {
28004
28010
  margin-bottom: 10px;
28005
28011
  }