kui-complex 0.0.40 → 0.0.41

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 +13 -10
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -282,16 +282,19 @@ type PopperPlacements =
282
282
  | "bottomMiddle"
283
283
  | "bottomEnd"
284
284
 
285
- declare const Tooltip: React.ForwardRefExoticComponent<{
286
- onOpen?: (() => void) | undefined;
287
- onClose?: (() => void) | undefined;
288
- content: React.ReactNode;
289
- open?: boolean | undefined;
290
- placement?: PopperPlacements | undefined;
291
- withArrow?: boolean | undefined;
292
- cursor?: "auto" | "pointer" | undefined;
293
- spacing?: string | undefined;
294
- } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
285
+ interface TooltipProps
286
+ extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "content"> {
287
+ onOpen?: () => void
288
+ onClose?: () => void
289
+ content: ReactNode
290
+ open?: boolean
291
+ placement?: PopperPlacements
292
+ withArrow?: boolean
293
+ cursor?: "pointer" | "auto"
294
+ spacing?: string
295
+ }
296
+
297
+ declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
295
298
 
296
299
  type ButtonSelectProps = InputSelectProps
297
300
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-complex",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "ui kit for maroom products",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",