@elliemae/ds-drag-and-drop 3.46.4 → 3.46.6

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.
@@ -32,4 +32,4 @@ export declare namespace DSDragAndDropT {
32
32
  }
33
33
  }
34
34
  export declare const defaultProps: DSDragAndDropT.DefaultProps;
35
- export declare const DSDragAndDropPropTypes: import("react").WeakValidationMap<unknown>;
35
+ export declare const DSDragAndDropPropTypes: React.WeakValidationMap<unknown>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const DropIndicatorPosition: {
3
2
  None: string;
4
3
  Before: string;
@@ -22,4 +21,4 @@ export declare namespace DSDropIndicatorT {
22
21
  interface InternalProps extends DefaultProps, OptionalProps, RequiredProps {
23
22
  }
24
23
  }
25
- export declare const DSDropIndicatorPropTypes: import("react").WeakValidationMap<unknown>;
24
+ export declare const DSDropIndicatorPropTypes: React.WeakValidationMap<unknown>;
@@ -42,4 +42,4 @@ export declare namespace DSSortableContainerT {
42
42
  interface InternalProps<T, K> extends DefaultProps, OptionalProps<T, K>, XstyledProps, RequiredProps {
43
43
  }
44
44
  }
45
- export declare const DSSortalContainerPropTypes: import("react").WeakValidationMap<unknown>;
45
+ export declare const DSSortalContainerPropTypes: React.WeakValidationMap<unknown>;
@@ -29,4 +29,4 @@ export declare namespace DSSortableItemT {
29
29
  interface InternalProps<T, K> extends DefaultProps, OptionalProps<T, K>, RequiredProps<T, K> {
30
30
  }
31
31
  }
32
- export declare const DSSortalItemPropTypes: import("react").WeakValidationMap<unknown>;
32
+ export declare const DSSortalItemPropTypes: React.WeakValidationMap<unknown>;
@@ -1,3 +1,8 @@
1
1
  import type { Announcements, UniqueIdentifier } from '@dnd-kit/core';
2
2
  import type { DnDKitTree } from './types.js';
3
- export declare const useTreeAnnouncements: <T>(visibleItemsDictionary: Record<UniqueIdentifier, DnDKitTree.Item<T>>, dropIndicatorPosition: DnDKitTree.DropIndicatorPositionValues) => Announcements;
3
+ export declare const useTreeAnnouncements: <T>(visibleItemsDictionary: Record<UniqueIdentifier, DnDKitTree.Item<T>>, dropIndicatorPosition: TypescriptHelpersT.ObjectValues<{
4
+ readonly None: "none";
5
+ readonly Before: "before";
6
+ readonly After: "after";
7
+ readonly Inside: "inside";
8
+ }>) => Announcements;
@@ -1,6 +1,11 @@
1
1
  import type { Over, Active, UniqueIdentifier } from '@dnd-kit/core';
2
2
  import type { DnDKitTree } from './types.js';
3
- export declare const getProjection: <T>(visibleItems: Record<string, DnDKitTree.Item<T>[]>, itemsDictonary: Record<UniqueIdentifier, DnDKitTree.Item<T>>, over: Over, dropIndicatorPosition: DnDKitTree.DropIndicatorPositionValues, isExpandable: boolean, active: Active) => {
3
+ export declare const getProjection: <T>(visibleItems: Record<string, DnDKitTree.Item<T>[]>, itemsDictonary: Record<UniqueIdentifier, DnDKitTree.Item<T>>, over: Over, dropIndicatorPosition: TypescriptHelpersT.ObjectValues<{
4
+ readonly None: "none";
5
+ readonly Before: "before";
6
+ readonly After: "after";
7
+ readonly Inside: "inside";
8
+ }>, isExpandable: boolean, active: Active) => {
4
9
  depth: number;
5
10
  parentId: UniqueIdentifier | null;
6
11
  position?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-drag-and-drop",
3
- "version": "3.46.4",
3
+ "version": "3.46.6",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Drag And Drop",
6
6
  "files": [
@@ -111,16 +111,16 @@
111
111
  "@dnd-kit/core": "~6.0.8",
112
112
  "@dnd-kit/modifiers": "~6.0.1",
113
113
  "@dnd-kit/sortable": "~7.0.2",
114
- "@elliemae/ds-fast-list": "3.46.4",
115
- "@elliemae/ds-props-helpers": "3.46.4",
116
- "@elliemae/ds-system": "3.46.4",
117
- "@elliemae/ds-tree-model": "3.46.4",
118
- "@elliemae/ds-typescript-helpers": "3.46.4"
114
+ "@elliemae/ds-fast-list": "3.46.6",
115
+ "@elliemae/ds-props-helpers": "3.46.6",
116
+ "@elliemae/ds-system": "3.46.6",
117
+ "@elliemae/ds-tree-model": "3.46.6",
118
+ "@elliemae/ds-typescript-helpers": "3.46.6"
119
119
  },
120
120
  "devDependencies": {
121
121
  "@elliemae/pui-cli": "9.0.0-next.50",
122
122
  "styled-components": "~5.3.9",
123
- "@elliemae/ds-monorepo-devops": "3.46.4"
123
+ "@elliemae/ds-monorepo-devops": "3.46.6"
124
124
  },
125
125
  "peerDependencies": {
126
126
  "lodash": "^4.17.21",