@cyber-harbour/ui 1.1.30 → 1.1.32

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/dist/index.d.mts CHANGED
@@ -1639,11 +1639,12 @@ type ModalProps = {
1639
1639
  width?: number;
1640
1640
  children: any;
1641
1641
  isNested?: boolean;
1642
+ closeOnEscape?: boolean;
1642
1643
  };
1643
1644
  interface ModalChildrenProps extends FabricComponent<Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>> {
1644
1645
  children: any;
1645
1646
  }
1646
- declare const Modal: ({ children, onClose, isNested, width }: ModalProps) => react_jsx_runtime.JSX.Element;
1647
+ declare const Modal: ({ children, onClose, isNested, width, closeOnEscape }: ModalProps) => react_jsx_runtime.JSX.Element;
1647
1648
  declare const ModalHeader: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
1648
1649
  declare const ModalBody: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
1649
1650
  declare const ModalFooter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
@@ -1882,6 +1883,9 @@ interface NodeButton {
1882
1883
  loading?: boolean | ((node: NodeObject) => boolean);
1883
1884
  getCount?: (node: NodeObject) => number;
1884
1885
  onClick: (node: NodeObject) => void;
1886
+ tooltip?: {
1887
+ content?: any;
1888
+ };
1885
1889
  }
1886
1890
  type GraphData<NodeType = {}, LinkType = {}> = {
1887
1891
  nodes: NodeObject<NodeType>[];
package/dist/index.d.ts CHANGED
@@ -1639,11 +1639,12 @@ type ModalProps = {
1639
1639
  width?: number;
1640
1640
  children: any;
1641
1641
  isNested?: boolean;
1642
+ closeOnEscape?: boolean;
1642
1643
  };
1643
1644
  interface ModalChildrenProps extends FabricComponent<Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>> {
1644
1645
  children: any;
1645
1646
  }
1646
- declare const Modal: ({ children, onClose, isNested, width }: ModalProps) => react_jsx_runtime.JSX.Element;
1647
+ declare const Modal: ({ children, onClose, isNested, width, closeOnEscape }: ModalProps) => react_jsx_runtime.JSX.Element;
1647
1648
  declare const ModalHeader: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
1648
1649
  declare const ModalBody: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
1649
1650
  declare const ModalFooter: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<ModalChildrenProps | (ModalChildrenProps & react.RefAttributes<react.Component<ModalChildrenProps, any, any>>), StyledFabricComponent<ModalChildrenProps>>> & (string & (Omit<react.ComponentClass<ModalChildrenProps, any>, keyof react.Component<any, {}, any>> | Omit<react.FunctionComponent<ModalChildrenProps>, keyof react.Component<any, {}, any>>));
@@ -1882,6 +1883,9 @@ interface NodeButton {
1882
1883
  loading?: boolean | ((node: NodeObject) => boolean);
1883
1884
  getCount?: (node: NodeObject) => number;
1884
1885
  onClick: (node: NodeObject) => void;
1886
+ tooltip?: {
1887
+ content?: any;
1888
+ };
1885
1889
  }
1886
1890
  type GraphData<NodeType = {}, LinkType = {}> = {
1887
1891
  nodes: NodeObject<NodeType>[];