rc-dialog
Advanced tools
Comparing version 8.6.0 to 8.7.0
@@ -6,3 +6,3 @@ import * as React from 'react'; | ||
}; | ||
declare const _default: React.MemoExoticComponent<({ children }: MemoChildrenProps) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>>; | ||
declare const _default: React.MemoExoticComponent<({ children }: MemoChildrenProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>>; | ||
export default _default; |
@@ -41,3 +41,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
maskStyle = props.maskStyle, | ||
maskProps = props.maskProps; | ||
maskProps = props.maskProps, | ||
rootClassName = props.rootClassName; | ||
var lastOutSideActiveElementRef = useRef(); | ||
@@ -163,3 +164,3 @@ var wrapperRef = useRef(); | ||
return /*#__PURE__*/React.createElement("div", _extends({ | ||
className: "".concat(prefixCls, "-root") | ||
className: classNames("".concat(prefixCls, "-root"), rootClassName) | ||
}, pickAttrs(props, { | ||
@@ -166,0 +167,0 @@ data: true |
@@ -35,2 +35,3 @@ import type { ReactNode, CSSProperties, SyntheticEvent } from 'react'; | ||
maskProps?: any; | ||
rootClassName?: string; | ||
wrapProps?: any; | ||
@@ -37,0 +38,0 @@ getContainer?: GetContainer | false; |
@@ -6,3 +6,3 @@ import * as React from 'react'; | ||
}; | ||
declare const _default: React.MemoExoticComponent<({ children }: MemoChildrenProps) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any>) | (new (props: any) => React.Component<any, any, any>)>>; | ||
declare const _default: React.MemoExoticComponent<({ children }: MemoChildrenProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>>; | ||
export default _default; |
@@ -62,3 +62,4 @@ "use strict"; | ||
maskStyle = props.maskStyle, | ||
maskProps = props.maskProps; | ||
maskProps = props.maskProps, | ||
rootClassName = props.rootClassName; | ||
var lastOutSideActiveElementRef = (0, React.useRef)(); | ||
@@ -184,3 +185,3 @@ var wrapperRef = (0, React.useRef)(); | ||
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({ | ||
className: "".concat(prefixCls, "-root") | ||
className: (0, _classnames.default)("".concat(prefixCls, "-root"), rootClassName) | ||
}, (0, _pickAttrs.default)(props, { | ||
@@ -187,0 +188,0 @@ data: true |
@@ -35,2 +35,3 @@ import type { ReactNode, CSSProperties, SyntheticEvent } from 'react'; | ||
maskProps?: any; | ||
rootClassName?: string; | ||
wrapProps?: any; | ||
@@ -37,0 +38,0 @@ getContainer?: GetContainer | false; |
{ | ||
"name": "rc-dialog", | ||
"version": "8.6.0", | ||
"version": "8.7.0", | ||
"description": "dialog ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65651
38
1481