@vuu-ui/vuu-popups 4.0.0-alpha.2 → 4.0.0-alpha.21

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,5 +1,5 @@
1
1
  {
2
- "version": "4.0.0-alpha.2",
2
+ "version": "4.0.0-alpha.21",
3
3
  "description": "VUU popup components - Context Menu, Dialog etc",
4
4
  "main": "./src/index.js",
5
5
  "author": "heswell",
@@ -11,14 +11,14 @@
11
11
  "type-defs": "node ../../scripts/build-type-defs.mjs"
12
12
  },
13
13
  "dependencies": {
14
- "@salt-ds/core": "1.67.0",
15
- "@salt-ds/styles": "0.2.1",
16
- "@salt-ds/window": "0.1.1",
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"
14
+ "@salt-ds/core": "1.72.0",
15
+ "@salt-ds/styles": "0.4.1",
16
+ "@salt-ds/window": "0.1.2",
17
+ "@vuu-ui/vuu-context-menu": "4.0.0-alpha.21",
18
+ "@vuu-ui/vuu-data-types": "4.0.0-alpha.21",
19
+ "@vuu-ui/vuu-layout": "4.0.0-alpha.21",
20
+ "@vuu-ui/vuu-utils": "4.0.0-alpha.21",
21
+ "@vuu-ui/vuu-ui-controls": "4.0.0-alpha.21"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "clsx": "^2.0.0",
@@ -33,8 +33,9 @@
33
33
  ],
34
34
  "exports": {
35
35
  ".": {
36
+ "types": "./types/index.d.ts",
36
37
  "import": "./src/index.js",
37
- "types": "./types/index.d.ts"
38
+ "default": "./src/index.js"
38
39
  }
39
40
  },
40
41
  "module": "./src/index.js",
@@ -66,7 +66,7 @@ const css = `
66
66
  }
67
67
 
68
68
  .vuuTooltip-error {
69
- --tooltip-background: var(--vuu-color-red-50);
69
+ --tooltip-background: var(--salt-color-red-500);
70
70
  --tooltip-color: white;
71
71
  color: #fff;
72
72
  }
@@ -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").JSX.Element | null;
12
+ export declare const PopupComponent: ({ children, className, anchorElement, minWidth, offsetLeft, offsetTop, placement, position: positionProp, }: PopupComponentProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -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").JSX.Element | null;
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-runtime").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").JSX.Element;
15
+ export declare const Tooltip: ({ anchorElement, children, className, id, onMouseEnter, onMouseLeave, placement: placementProp, status, style: styleProp, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;