Skip to content

Commit

Permalink
Merge pull request #654 from illacloud/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
AruSeito committed Jan 12, 2023
2 parents 515a857 + 4dd5695 commit 89dfbcd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/input-tag/src/input-tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ export const InputTag = forwardRef<HTMLDivElement, InputTagProps>(
await tryAddInputValueToTag()
}}
/>
{suffix ? <span css={applySuffixCls(size)}>{suffix}</span> : null}
</span>
{suffix ? <span css={applySuffixCls(size)}>{suffix}</span> : null}
{allowClear && !disabled && currentValue?.length ? (
<span
css={pointerStyle}
Expand Down
2 changes: 2 additions & 0 deletions packages/modal/src/interface.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { HTMLAttributes, MouseEvent, ReactNode } from "react"
import { ButtonProps } from "@illa-design/button"
import { BoxProps } from "@illa-design/theme"
import { SerializedStyles } from "@emotion/react"

export type ModalAlignType = "left" | "center" | "right" | ""
export type ModalType = "info" | "error" | "success" | "warning"
Expand All @@ -16,6 +17,7 @@ export interface ModalProps
mask?: boolean
okLoading?: boolean
title?: ReactNode | string
maskStyle?: SerializedStyles
maskClosable?: boolean
hideCancel?: boolean
closable?: boolean
Expand Down
3 changes: 2 additions & 1 deletion packages/modal/src/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export const Modal = forwardRef<HTMLDivElement, ModalProps>((props, ref) => {
withoutLine = true,
okLoading,
maskClosable = true,
maskStyle,
hideCancel,
closable,
closeElement,
Expand Down Expand Up @@ -121,7 +122,7 @@ export const Modal = forwardRef<HTMLDivElement, ModalProps>((props, ref) => {
<>
{mask ? (
<motion.div
css={applyModalMask}
css={[applyModalMask, maskStyle]}
variants={maskAnimation}
animate="animate"
exit="exit"
Expand Down

0 comments on commit 89dfbcd

Please sign in to comment.