kui-basic 1.0.51 → 1.0.53

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -776,16 +776,17 @@ type PopperSizeParams = {
776
776
 
777
777
  declare const Popper: (props: PopperProps) => React.ReactElement
778
778
 
779
- type TooltipProps = {
779
+ interface TooltipProps
780
+ extends Omit<React.HTMLAttributes<HTMLDivElement>, "content"> {
780
781
  onOpen?: () => void
781
782
  onClose?: () => void
782
- content?: ReactNode
783
+ content: ReactNode
783
784
  open?: boolean
784
785
  placement?: PopperPlacements
785
786
  withArrow?: boolean
786
787
  cursor?: "pointer" | "auto"
787
788
  spacing?: string
788
- } & React.HTMLAttributes<HTMLDivElement>
789
+ }
789
790
 
790
791
  type TooltipStylesProps = {
791
792
  cursor?: "pointer" | "auto"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-basic",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "private": false,
5
5
  "description": "React UI Components for Maroom projects",
6
6
  "author": {