New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bi-open-menu-sdk

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bi-open-menu-sdk - npm Package Compare versions

Comparing version

to
0.0.11-beta.6

declaration/components.d.ts

44

declaration/index.d.ts

@@ -1,42 +0,4 @@

export { CHANGE_LOGS, I18n, Interfaces, LATEST_VERSION, OLDEST_VERSION, formatNumber, formatNumberWithConfig, getAliasName, getRevisalRange, getStringRealLength, revisal, transposeData } from 'bi-open';
export { I18n, getStringRealLength, getAliasName, formatNumberWithConfig, formatNumber, transposeData, LATEST_VERSION, CHANGE_LOGS, revisal, OLDEST_VERSION, getRevisalRange, } from 'bi-open';
export { Interfaces } from './interfaces';
export { createBIComponent } from 'bi-open-react-sdk';
import * as React from 'react';
/**
* @flie 自定义菜单默认模板
*/
declare const CUSTOM_MENU_TOOLTIP_EVENT = "CUSTOM_MENU_TOOLTIP_EVENT";
declare type IconComponent<P = React.HTMLAttributes<HTMLElement>> = React.FC<P>;
declare const IconWrapper: IconComponent;
/** 菜单默认图标 */
declare const IconDefault: IconComponent;
/** 菜单 loading 图标 */
declare const IconLoading: IconComponent;
/**
* 默认自定义菜单
* @param param0
* @returns
*/
declare const MenuItem: React.FC<{
/** root element className */
className?: string;
/** root element style */
style?: React.StyleHTMLAttributes<HTMLDivElement>['style'];
/** 菜单标题 */
title?: string | React.ReactNode;
/** 菜单禁用 */
disabled?: boolean;
/** PC端鼠标 hover 提示 */
hoverTip?: string;
/** 是否加载中 */
loading?: boolean;
/** 点击事件 */
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
/** 是否展示标题 */
showTitle?: boolean;
/** 是否展示图标 */
showIcon?: boolean;
}>;
export { CUSTOM_MENU_TOOLTIP_EVENT, IconDefault, IconLoading, IconWrapper, MenuItem };
export { IconDefault, IconLoading, IconWrapper, MenuItem, CUSTOM_MENU_TOOLTIP_EVENT } from './components';
{
"name": "bi-open-menu-sdk",
"version": "0.0.11-beta.5",
"version": "0.0.11-beta.6",
"main": "dist/main",

@@ -11,4 +11,4 @@ "peerDependencies": {

"react": "16.14.0",
"bi-open": "3.0.29-beta.8",
"bi-open-react-sdk": "2.1.16-beta.3"
"bi-open": "3.0.29-beta.13",
"bi-open-react-sdk": "2.1.16-beta.4"
},

@@ -15,0 +15,0 @@ "publishConfig": {