Skip to content

Commit

Permalink
replase 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fengxinhhh committed Jul 23, 2022
1 parent 0e42bc4 commit 5c3c201
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/concis-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "concis",
"license": "MIT",
"version": "1.2.8",
"version": "1.2.9",
"description": "Concis Component library for PC",
"authors": {
"name": "fengxin",
Expand Down
10 changes: 5 additions & 5 deletions packages/concis-react/src/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ const Modal: FC<ModalProps> = (props: ModalProps) => {
mountOnEnter={true}
classNames="fadeModal"
unmountOnExit={true}
onEnter={(e) => {
onEnter={(e: HTMLDivElement) => {
e.style.display = 'block';
}}
onExited={(e) => {
onExited={(e: HTMLDivElement) => {
e.style.display = 'none';
}}
>
Expand All @@ -66,14 +66,14 @@ const Modal: FC<ModalProps> = (props: ModalProps) => {
mountOnEnter={true}
classNames="fadeContent"
unmountOnExit={true}
onEnter={(e) => {
onEnter={(e: HTMLDivElement) => {
e.style.display = 'block';
}}
onExited={(e) => {
onExited={(e: HTMLDivElement) => {
e.style.display = 'none';
}}
>
<div className="concis-modal-content" onClick={(e) => e.nativeEvent.stopPropagation()}>
<div className="concis-modal-content" onClick={(e: any) => e.stopPropagation()}>
<div className="concis-modal-content-header">
<div className="concis-title">
<i></i>
Expand Down
2 changes: 1 addition & 1 deletion packages/concis-react/src/Popover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const Popover: FC<popoverProps> = (props: popoverProps) => {
if (
Array.isArray(prevCloseDeps) &&
!(
prevCloseDeps.length === closeDeps.length &&
prevCloseDeps?.length === closeDeps?.length &&
prevCloseDeps.every((p, i) => p === closeDeps[i])
)
) {
Expand Down
1 change: 1 addition & 0 deletions packages/concis-react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ export { default as GlobalConfig } from './GlobalConfig';
export { default as Switch } from './Switch';
export { default as Space } from './Space';
export { default as Skeleton } from './Skeleton';
export { default as Modal } from './Modal';
1 change: 1 addition & 0 deletions packages/concis-react/typings.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
declare module 'enzyme-adapter-react-16';
declare module 'react-transition-group';

0 comments on commit 5c3c201

Please sign in to comment.