@vuu-ui/vuu-ui-controls 3.1.0 → 3.2.0

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": "3.1.0",
2
+ "version": "3.2.0",
3
3
  "description": "VUU UI Controls",
4
4
  "main": "./src/index.js",
5
5
  "author": "heswell",
@@ -10,17 +10,17 @@
10
10
  "type-defs": "node ../../scripts/build-type-defs.mjs"
11
11
  },
12
12
  "devDependencies": {
13
- "@vuu-ui/vuu-data-types": "3.1.0",
14
- "@vuu-ui/vuu-protocol-types": "3.1.0",
15
- "@vuu-ui/vuu-table-types": "3.1.0"
13
+ "@vuu-ui/vuu-data-types": "3.2.0",
14
+ "@vuu-ui/vuu-protocol-types": "3.2.0",
15
+ "@vuu-ui/vuu-table-types": "3.2.0"
16
16
  },
17
17
  "dependencies": {
18
- "@vuu-ui/vuu-context-menu": "3.1.0",
19
- "@vuu-ui/vuu-data-react": "3.1.0",
20
- "@vuu-ui/vuu-layout": "3.1.0",
21
- "@vuu-ui/vuu-popups": "3.1.0",
22
- "@vuu-ui/vuu-table": "3.1.0",
23
- "@vuu-ui/vuu-utils": "3.1.0",
18
+ "@vuu-ui/vuu-context-menu": "3.2.0",
19
+ "@vuu-ui/vuu-data-react": "3.2.0",
20
+ "@vuu-ui/vuu-layout": "3.2.0",
21
+ "@vuu-ui/vuu-popups": "3.2.0",
22
+ "@vuu-ui/vuu-table": "3.2.0",
23
+ "@vuu-ui/vuu-utils": "3.2.0",
24
24
  "@salt-ds/core": "1.54.1",
25
25
  "@salt-ds/icons": "1.16.0",
26
26
  "@salt-ds/styles": "0.2.1",
@@ -6,7 +6,7 @@ const NO_DRAG_CONTEXT = {
6
6
  isDropTarget: void 0,
7
7
  register: ()=>void 0
8
8
  };
9
- const unconfiguredRegistrationCall = ()=>console.log("have you forgotten to provide a DragDrop Provider ?");
9
+ const unconfiguredRegistrationCall = ()=>console.log('have you forgotten to provide a DragDrop Provider ?');
10
10
  const DragDropContext = /*#__PURE__*/ createContext({
11
11
  registerDragDropParty: unconfiguredRegistrationCall
12
12
  });
@@ -1,4 +1,4 @@
1
- import React, { ReactElement, ReactNode } from "react";
1
+ import { type ReactElement, type ReactNode } from "react";
2
2
  /**
3
3
  * If component is a string, the component will be read from the
4
4
  * comoponent registry. In that case, componentProps can be used
@@ -9,7 +9,7 @@ export interface ContextPanelProps {
9
9
  hideContextPanel?: () => void;
10
10
  showContextPanel: ShowContextPanel;
11
11
  }
12
- export declare const ContextPanelContext: React.Context<ContextPanelProps>;
12
+ export declare const ContextPanelContext: import("react").Context<ContextPanelProps>;
13
13
  export declare const ContextPanelProvider: ({ children, hideContextPanel: hideContextPanelProp, showContextPanel: showContextPanelProp, }: Partial<ContextPanelProps> & {
14
14
  children: ReactNode;
15
15
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
- import { ReactNode } from "react";
2
- import { DragDropState } from "./DragDropState";
3
- import { GlobalDropHandler, ResumeDragHandler } from "./useGlobalDragDrop";
1
+ import { type ReactNode } from "react";
2
+ import type { DragDropState } from "./DragDropState";
3
+ import { type GlobalDropHandler, type ResumeDragHandler } from "./useGlobalDragDrop";
4
4
  export type DragOutHandler = (id: string, dragDropState: DragDropState) => boolean;
5
5
  export type DragDropRegistrationFn = (id: string, resumeDrag: ResumeDragHandler | false, onDrop?: GlobalDropHandler) => void;
6
6
  export type EndOfDragOperationHandler = (id: string) => void;