@bigbinary/neetoui 4.1.21 → 4.1.22
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/CHANGELOG.md +5 -0
- package/index.css +1 -1
- package/index.d.ts +28 -0
- package/index.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -451,6 +451,33 @@ export interface TooltipProps {
|
|
|
451
451
|
[key: string]: any;
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
+
export interface PopoverProps {
|
|
455
|
+
content: React.ReactNode;
|
|
456
|
+
theme?: "dark" | "light";
|
|
457
|
+
disabled?: boolean;
|
|
458
|
+
position?:
|
|
459
|
+
| "auto"
|
|
460
|
+
| "auto-start"
|
|
461
|
+
| "auto-end"
|
|
462
|
+
| "top"
|
|
463
|
+
| "bottom"
|
|
464
|
+
| "right"
|
|
465
|
+
| "left"
|
|
466
|
+
| "auto"
|
|
467
|
+
| "top-start"
|
|
468
|
+
| "top-end"
|
|
469
|
+
| "bottom-start"
|
|
470
|
+
| "bottom-end"
|
|
471
|
+
| "right-start"
|
|
472
|
+
| "right-end"
|
|
473
|
+
| "left-start"
|
|
474
|
+
| "left-end";
|
|
475
|
+
interactive?: boolean;
|
|
476
|
+
hideAfter?: number;
|
|
477
|
+
hideOnTargetExit?: boolean;
|
|
478
|
+
[key: string]: any;
|
|
479
|
+
}
|
|
480
|
+
|
|
454
481
|
export type TypographyProps = {
|
|
455
482
|
style?:
|
|
456
483
|
| "h1"
|
|
@@ -599,4 +626,5 @@ export const Textarea: React.ForwardRefExoticComponent<TextareaProps>;
|
|
|
599
626
|
export const TimePicker: React.FC<TimePickerProps>;
|
|
600
627
|
export const Typography: React.ForwardRefExoticComponent<TypographyProps>;
|
|
601
628
|
export const Tooltip: React.ForwardRefExoticComponent<TooltipProps>;
|
|
629
|
+
export const Popover: React.ForwardRefExoticComponent<PopoverProps>;
|
|
602
630
|
export const Kbd: React.FC<KbdProps>;
|