@vuu-ui/vuu-popups 3.3.11 → 4.0.0-alpha.2
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/package.json
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "4.0.0-alpha.2",
|
|
3
3
|
"description": "VUU popup components - Context Menu, Dialog etc",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"author": "heswell",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
+
"type": "module",
|
|
7
8
|
"scripts": {
|
|
8
9
|
"build:dev": "node ../../scripts/run-build.mjs",
|
|
9
10
|
"build": "node ../../scripts/run-build-rslib.ts",
|
|
10
11
|
"type-defs": "node ../../scripts/build-type-defs.mjs"
|
|
11
12
|
},
|
|
12
13
|
"dependencies": {
|
|
13
|
-
"@salt-ds/core": "1.
|
|
14
|
+
"@salt-ds/core": "1.67.0",
|
|
14
15
|
"@salt-ds/styles": "0.2.1",
|
|
15
16
|
"@salt-ds/window": "0.1.1",
|
|
16
|
-
"@vuu-ui/vuu-context-menu": "
|
|
17
|
-
"@vuu-ui/vuu-data-types": "
|
|
18
|
-
"@vuu-ui/vuu-layout": "
|
|
19
|
-
"@vuu-ui/vuu-utils": "
|
|
20
|
-
"@vuu-ui/vuu-ui-controls": "
|
|
17
|
+
"@vuu-ui/vuu-context-menu": "4.0.0-alpha.2",
|
|
18
|
+
"@vuu-ui/vuu-data-types": "4.0.0-alpha.2",
|
|
19
|
+
"@vuu-ui/vuu-layout": "4.0.0-alpha.2",
|
|
20
|
+
"@vuu-ui/vuu-utils": "4.0.0-alpha.2",
|
|
21
|
+
"@vuu-ui/vuu-ui-controls": "4.0.0-alpha.2"
|
|
21
22
|
},
|
|
22
23
|
"peerDependencies": {
|
|
23
24
|
"clsx": "^2.0.0",
|
|
@@ -38,6 +39,5 @@
|
|
|
38
39
|
},
|
|
39
40
|
"module": "./src/index.js",
|
|
40
41
|
"name": "@vuu-ui/vuu-popups",
|
|
41
|
-
"type": "module",
|
|
42
42
|
"types": "types/index.d.ts"
|
|
43
43
|
}
|
package/types/popup/Popup.d.ts
CHANGED
|
@@ -9,4 +9,4 @@ export interface PopupComponentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
9
9
|
placement: PopupPlacement;
|
|
10
10
|
position?: Position;
|
|
11
11
|
}
|
|
12
|
-
export declare const PopupComponent: ({ children, className, anchorElement, minWidth, offsetLeft, offsetTop, placement, position: positionProp, }: PopupComponentProps) => import("react
|
|
12
|
+
export declare const PopupComponent: ({ children, className, anchorElement, minWidth, offsetLeft, offsetTop, placement, position: positionProp, }: PopupComponentProps) => import("react").JSX.Element | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ButtonProps } from "@salt-ds/core";
|
|
2
|
-
import { MenuActionHandler, MenuBuilder } from "@vuu-ui/vuu-context-menu";
|
|
3
|
-
import { HTMLAttributes, KeyboardEvent, RefObject } from "react";
|
|
4
|
-
import { PopupPlacement } from "../popup/Popup";
|
|
1
|
+
import { type ButtonProps } from "@salt-ds/core";
|
|
2
|
+
import type { MenuActionHandler, MenuBuilder } from "@vuu-ui/vuu-context-menu";
|
|
3
|
+
import type { HTMLAttributes, KeyboardEvent, RefObject } from "react";
|
|
4
|
+
import type { PopupPlacement } from "../popup/Popup";
|
|
5
5
|
export type TabAwayClosePopup = {
|
|
6
6
|
closedBy?: string;
|
|
7
7
|
type: "tab-away";
|
|
@@ -41,4 +41,4 @@ export interface PopupMenuProps extends Pick<ButtonProps, "appearance" | "sentim
|
|
|
41
41
|
onMenuOpen?: () => void;
|
|
42
42
|
popupPlacement?: PopupPlacement;
|
|
43
43
|
}
|
|
44
|
-
export declare const PopupMenu: ({ anchorElement, "aria-label": ariaLabel, appearance, className, disabled, label, icon, id: idProp, menuActionHandler, menuBuilder, menuClassName, menuLocation, menuOptions, onMenuClose, onMenuOpen, popupPlacement, sentiment, tabIndex, ...htmlAttributes }: PopupMenuProps) => import("react
|
|
44
|
+
export declare const PopupMenu: ({ anchorElement, "aria-label": ariaLabel, appearance, className, disabled, label, icon, id: idProp, menuActionHandler, menuBuilder, menuClassName, menuLocation, menuOptions, onMenuClose, onMenuOpen, popupPlacement, sentiment, tabIndex, ...htmlAttributes }: PopupMenuProps) => import("react").JSX.Element | null;
|
|
@@ -12,4 +12,4 @@ export interface TooltipProps {
|
|
|
12
12
|
status?: TooltipStatus;
|
|
13
13
|
style?: CSSProperties;
|
|
14
14
|
}
|
|
15
|
-
export declare const Tooltip: ({ anchorElement, children, className, id, onMouseEnter, onMouseLeave, placement: placementProp, status, style: styleProp, }: TooltipProps) => import("react
|
|
15
|
+
export declare const Tooltip: ({ anchorElement, children, className, id, onMouseEnter, onMouseLeave, placement: placementProp, status, style: styleProp, }: TooltipProps) => import("react").JSX.Element;
|