@nextui-org/react 1.0.0-beta.8 → 1.0.0-beta.9
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/button/button.js +1 -1
- package/cjs/card/card.js +1 -1
- package/cjs/card/use-card.js +1 -1
- package/cjs/dropdown/dropdown-trigger.js +1 -1
- package/cjs/popover/index.js +1 -1
- package/cjs/popover/popover-content.js +1 -1
- package/cjs/popover/popover-trigger.js +1 -1
- package/esm/button/button.js +1 -1
- package/esm/card/card.js +1 -1
- package/esm/card/use-card.js +1 -1
- package/esm/dropdown/dropdown-trigger.js +1 -1
- package/esm/popover/index.js +1 -1
- package/esm/popover/popover-content.js +1 -1
- package/esm/popover/popover-trigger.js +1 -1
- package/package.json +28 -28
- package/types/card/use-card.d.ts +3 -263
- package/types/dropdown/dropdown-trigger.d.ts +5 -10
- package/types/popover/index.d.ts +1 -1
- package/types/popover/popover-content.d.ts +3 -1148
- package/types/popover/popover-trigger.d.ts +5 -9
- package/types/popover/popover.d.ts +2 -2
- package/umd/nextui.js +1087 -2953
- package/umd/nextui.min.js +1 -1
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
(props: React.PropsWithChildren<{}>): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
8
|
-
displayName: string;
|
|
9
|
-
toString(): string;
|
|
10
|
-
};
|
|
2
|
+
declare type PopoverTriggerComponent<T, P = {}> = React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;
|
|
3
|
+
declare const _default: PopoverTriggerComponent<HTMLElement, {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode, RefAttributes, PropsWithoutRef } from 'react';
|
|
2
|
-
import { PopoverContent } from './popover-content';
|
|
3
2
|
import { UsePopoverProps } from './use-popover';
|
|
4
|
-
import
|
|
3
|
+
import PopoverTrigger from './popover-trigger';
|
|
4
|
+
import PopoverContent from './popover-content';
|
|
5
5
|
export interface PopoverProps extends UsePopoverProps {
|
|
6
6
|
/**
|
|
7
7
|
* The content of the popover. It is usually the `Popover.Trigger`,
|