kui-basic 1.1.261 → 1.1.263
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/cjs/index.js +4 -4
- package/index.d.ts +4 -5
- package/index.js +4 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { HTMLInputTypeAttribute, ReactNode, ReactElement, SyntheticEvent, RefObj
|
|
|
3
3
|
import { Placement, OffsetOptions, Strategy } from '@floating-ui/react';
|
|
4
4
|
import { MiddlewareData } from '@floating-ui/core/src/types';
|
|
5
5
|
import { SnowfallProps } from 'react-snowfall/lib/Snowfall';
|
|
6
|
-
import { TooltipProps as TooltipProps$1, CaptionProps as CaptionProps$1 } from 'kui-basic';
|
|
7
6
|
|
|
8
7
|
interface BrandColors {
|
|
9
8
|
main: string
|
|
@@ -410,7 +409,7 @@ interface ModalProps
|
|
|
410
409
|
> {
|
|
411
410
|
isOpen?: boolean
|
|
412
411
|
handleClose?: () => void
|
|
413
|
-
title?: string
|
|
412
|
+
title?: string | ReactElement
|
|
414
413
|
size?: ModalSizes
|
|
415
414
|
icon?: ReactElement
|
|
416
415
|
isScrollable?: boolean
|
|
@@ -909,11 +908,11 @@ type TextOverflowProps = {
|
|
|
909
908
|
onOpen?: () => void
|
|
910
909
|
multiline?: number
|
|
911
910
|
content?: string | ReactNode
|
|
912
|
-
placement?: TooltipProps
|
|
913
|
-
strategy?: TooltipProps
|
|
911
|
+
placement?: TooltipProps["placement"]
|
|
912
|
+
strategy?: TooltipProps["strategy"]
|
|
914
913
|
endText?: string | false
|
|
915
914
|
openAlways?: boolean
|
|
916
|
-
} & CaptionProps
|
|
915
|
+
} & CaptionProps
|
|
917
916
|
|
|
918
917
|
type TextOverflowStylesProps = {
|
|
919
918
|
multiline?: number
|