@impulse-ui-native/popover 10.0.0 → 11.0.1
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/dist/components/index.d.mts +3 -17
- package/dist/index.d.mts +18 -3
- package/package.json +10 -10
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import 'react';
|
|
2
|
+
export { Popover } from '../index.mjs';
|
|
3
|
+
import '../types/popover.types.mjs';
|
|
3
4
|
export { Tooltip } from './tooltip.mjs';
|
|
4
5
|
import 'react-native';
|
|
5
6
|
import '@impulse-ui-native/primitives';
|
|
6
|
-
|
|
7
|
-
declare const Popover: react.NamedExoticComponent<PopoverProps> & {
|
|
8
|
-
readonly type: ({ trigger, triggerProps, contentProps, header, title, footer, hideClose, children, ...props }: PopoverProps) => react.JSX.Element;
|
|
9
|
-
} & {
|
|
10
|
-
Root: react.MemoExoticComponent<({ children, open: openProp, defaultOpen, onOpenChange, disabled, placement, portalName, }: PopoverRootProps) => react.JSX.Element>;
|
|
11
|
-
Trigger: react.MemoExoticComponent<({ trigger, disabled, loading, onPress, onLongPress, ...props }: PopoverTriggerProps) => react.JSX.Element>;
|
|
12
|
-
Content: react.MemoExoticComponent<(props: PopoverContentProps) => react.JSX.Element | null>;
|
|
13
|
-
Header: react.MemoExoticComponent<({ style, ...props }: PopoverHeaderProps) => react.JSX.Element>;
|
|
14
|
-
Footer: react.MemoExoticComponent<({ style, ...props }: PopoverFooterProps) => react.JSX.Element>;
|
|
15
|
-
Title: react.MemoExoticComponent<(props: PopoverTitleProps) => react.JSX.Element>;
|
|
16
|
-
Description: react.MemoExoticComponent<(props: PopoverDescriptionProps) => react.JSX.Element>;
|
|
17
|
-
Close: react.MemoExoticComponent<({ disabled, loading, onPress, ...props }: PopoverCloseProps) => react.JSX.Element>;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export { Popover };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
1
|
+
import { PopoverProps, PopoverRootProps, PopoverTriggerProps, PopoverContentProps, PopoverHeaderProps, PopoverFooterProps, PopoverTitleProps, PopoverDescriptionProps, PopoverCloseProps } from './types/popover.types.mjs';
|
|
2
|
+
export { PopoverPlacement, TooltipProps } from './types/popover.types.mjs';
|
|
3
3
|
export { Tooltip } from './components/tooltip.mjs';
|
|
4
|
-
import 'react';
|
|
4
|
+
import * as react from 'react';
|
|
5
5
|
import 'react-native';
|
|
6
6
|
import '@impulse-ui-native/primitives';
|
|
7
|
+
|
|
8
|
+
declare const Popover: react.NamedExoticComponent<PopoverProps> & {
|
|
9
|
+
readonly type: ({ trigger, triggerProps, contentProps, header, title, footer, hideClose, children, ...props }: PopoverProps) => react.JSX.Element;
|
|
10
|
+
} & {
|
|
11
|
+
Root: react.MemoExoticComponent<({ children, open: openProp, defaultOpen, onOpenChange, disabled, placement, portalName, }: PopoverRootProps) => react.JSX.Element>;
|
|
12
|
+
Trigger: react.MemoExoticComponent<({ trigger, disabled, loading, onPress, onLongPress, ...props }: PopoverTriggerProps) => react.JSX.Element>;
|
|
13
|
+
Content: react.MemoExoticComponent<(props: PopoverContentProps) => react.JSX.Element | null>;
|
|
14
|
+
Header: react.MemoExoticComponent<({ style, ...props }: PopoverHeaderProps) => react.JSX.Element>;
|
|
15
|
+
Footer: react.MemoExoticComponent<({ style, ...props }: PopoverFooterProps) => react.JSX.Element>;
|
|
16
|
+
Title: react.MemoExoticComponent<(props: PopoverTitleProps) => react.JSX.Element>;
|
|
17
|
+
Description: react.MemoExoticComponent<(props: PopoverDescriptionProps) => react.JSX.Element>;
|
|
18
|
+
Close: react.MemoExoticComponent<({ disabled, loading, onPress, ...props }: PopoverCloseProps) => react.JSX.Element>;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { Popover, PopoverCloseProps, PopoverContentProps, PopoverDescriptionProps, PopoverFooterProps, PopoverHeaderProps, PopoverProps, PopoverRootProps, PopoverTitleProps, PopoverTriggerProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@impulse-ui-native/popover",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.1",
|
|
4
4
|
"description": "Portal-rendered tooltips and compound anchored popovers for ImpulseUI Native.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -27,23 +27,23 @@
|
|
|
27
27
|
],
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@impulse-ui-native/
|
|
31
|
-
"@impulse-ui-native/
|
|
32
|
-
"@impulse-ui-native/
|
|
33
|
-
"@impulse-ui-native/
|
|
34
|
-
"@impulse-ui-native/
|
|
30
|
+
"@impulse-ui-native/icon": "11.0.1",
|
|
31
|
+
"@impulse-ui-native/core": "11.0.1",
|
|
32
|
+
"@impulse-ui-native/theme": "11.0.1",
|
|
33
|
+
"@impulse-ui-native/primitives": "11.0.1",
|
|
34
|
+
"@impulse-ui-native/portal": "11.0.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
+
"@impulse-ui-native/eslint-config": "1.0.0",
|
|
38
|
+
"@impulse-ui-native/prettier-config": "1.0.0",
|
|
39
|
+
"@impulse-ui-native/tsconfig": "1.0.0",
|
|
37
40
|
"@types/react": "~19.3.0",
|
|
38
41
|
"eslint": "^9.38.0",
|
|
39
42
|
"prettier": "^3.6.2",
|
|
40
43
|
"react": "19.3.0",
|
|
41
44
|
"react-native": "0.88.0",
|
|
42
45
|
"react-native-safe-area-context": "~5.10.1",
|
|
43
|
-
"typescript": "~6.0.3"
|
|
44
|
-
"@impulse-ui-native/eslint-config": "1.0.0",
|
|
45
|
-
"@impulse-ui-native/prettier-config": "1.0.0",
|
|
46
|
-
"@impulse-ui-native/tsconfig": "1.0.0"
|
|
46
|
+
"typescript": "~6.0.3"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": ">=18",
|