@elliemae/ds-treeview 3.29.2-rc.0 → 3.30.0-rc.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/dist/cjs/sharedTypes.js.map +1 -1
- package/dist/types/parts/CheckboxSelectable.d.ts +1 -0
- package/dist/types/parts/ExpandCaret.d.ts +1 -0
- package/dist/types/parts/Icon.d.ts +1 -0
- package/dist/types/parts/NestingSpace.d.ts +1 -0
- package/dist/types/parts/TreeItemText.d.ts +1 -0
- package/dist/types/sharedTypes.d.ts +2 -1
- package/package.json +14 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/sharedTypes.ts", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import type TreeModel from 'tree-model';\nimport type { useVirtual } from 'react-virtual';\nimport type { SetStateAction } from 'react';\nimport type { DSTreeviewT } from './react-desc-prop-types.js';\n\nexport declare namespace DSTreeviewInternalsT {\n export type GenericFunc
|
|
4
|
+
"sourcesContent": ["import type TreeModel from 'tree-model';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport type { useVirtual } from 'react-virtual';\nimport type { SetStateAction } from 'react';\nimport type { DSTreeviewT } from './react-desc-prop-types.js';\n\nexport declare namespace DSTreeviewInternalsT {\n export type GenericFunc = TypescriptHelpersT.VoidGenericFunc;\n export type DnDMovementDirectionT = 'topToBottom' | 'bottomToTop';\n export interface MouseCoord {\n isBefore: boolean;\n isAfter: boolean;\n isValid: boolean;\n item: DSTreeviewT.Item | null;\n x: number | null;\n y: number | null;\n relativeElementDOMRect: DOMRect | null;\n relativeElementIndex: number | null;\n }\n\n export type StateSetter<T = unknown> = React.Dispatch<SetStateAction<T>>;\n\n export interface CTX {\n props: DSTreeviewT.Props;\n visibleItems: DSTreeviewT.Item[];\n flattenedItems: DSTreeviewT.DndItem[];\n withRadioChecks: boolean;\n withCheckboxChecks: boolean;\n withDragAndDrop: boolean;\n triggerTreeRerender: () => void;\n tree?: TreeModel;\n treeRoot?: TreeModel.Node<DSTreeviewT.Item>;\n virtualListHelpers: ReturnType<typeof useVirtual>;\n virtualListRef?: React.MutableRefObject<HTMLUListElement | undefined>;\n uniqueTreeViewUUID: string;\n selectedItem: DSTreeviewT.Item | null;\n setSelectedItem: StateSetter<DSTreeviewT.Item | null>;\n focusedItem: DSTreeviewT.Item | null;\n setFocusedItem: StateSetter<DSTreeviewT.Item | null>;\n selectedCheckboxes: DSTreeviewT.SelectionItems;\n setInternallySelectedCheckboxes: StateSetter<DSTreeviewT.SelectionItems>;\n expandedGroups: DSTreeviewT.ExpandedItems;\n setExpandedGroups: StateSetter<DSTreeviewT.ExpandedItems>;\n latestToggledItem?: DSTreeviewT.Item | null | undefined; // item -> if toggle all -> should be undefined\n setLatestToggledItem: StateSetter<DSTreeviewT.Item | null>;\n hoverItem: DSTreeviewT.Item | null;\n setHoverItem: StateSetter<DSTreeviewT.Item | null>;\n handleExpandGroup: (\n itemToToggle: DSTreeviewT.Item,\n triggerTreeRerender: () => void,\n updateUserExpandedState: () => void,\n scrollTo?: DSTreeviewT.ScrollToFunc,\n e?: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>,\n ) => void;\n updateUserExpandedState: () => void;\n }\n}\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type TreeModel from 'tree-model';
|
|
2
|
+
import { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';
|
|
2
3
|
import type { useVirtual } from 'react-virtual';
|
|
3
4
|
import type { SetStateAction } from 'react';
|
|
4
5
|
import type { DSTreeviewT } from './react-desc-prop-types.js';
|
|
5
6
|
export declare namespace DSTreeviewInternalsT {
|
|
6
|
-
type GenericFunc
|
|
7
|
+
type GenericFunc = TypescriptHelpersT.VoidGenericFunc;
|
|
7
8
|
type DnDMovementDirectionT = 'topToBottom' | 'bottomToTop';
|
|
8
9
|
interface MouseCoord {
|
|
9
10
|
isBefore: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-treeview",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.30.0-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Tree View",
|
|
6
6
|
"files": [
|
|
@@ -231,22 +231,23 @@
|
|
|
231
231
|
"react-virtual": "~2.10.4",
|
|
232
232
|
"tree-model": "~1.0.7",
|
|
233
233
|
"uid": "~2.0.1",
|
|
234
|
-
"@elliemae/ds-button-v2": "3.
|
|
235
|
-
"@elliemae/ds-circular-progress-indicator": "3.
|
|
236
|
-
"@elliemae/ds-
|
|
237
|
-
"@elliemae/ds-
|
|
238
|
-
"@elliemae/ds-
|
|
239
|
-
"@elliemae/ds-
|
|
240
|
-
"@elliemae/ds-
|
|
241
|
-
"@elliemae/ds-
|
|
242
|
-
"@elliemae/ds-
|
|
243
|
-
"@elliemae/ds-
|
|
244
|
-
"@elliemae/ds-
|
|
234
|
+
"@elliemae/ds-button-v2": "3.30.0-rc.0",
|
|
235
|
+
"@elliemae/ds-circular-progress-indicator": "3.30.0-rc.0",
|
|
236
|
+
"@elliemae/ds-classnames": "3.30.0-rc.0",
|
|
237
|
+
"@elliemae/ds-drag-and-drop": "3.30.0-rc.0",
|
|
238
|
+
"@elliemae/ds-controlled-form": "3.30.0-rc.0",
|
|
239
|
+
"@elliemae/ds-form": "3.30.0-rc.0",
|
|
240
|
+
"@elliemae/ds-icons": "3.30.0-rc.0",
|
|
241
|
+
"@elliemae/ds-props-helpers": "3.30.0-rc.0",
|
|
242
|
+
"@elliemae/ds-system": "3.30.0-rc.0",
|
|
243
|
+
"@elliemae/ds-truncated-tooltip-text": "3.30.0-rc.0",
|
|
244
|
+
"@elliemae/ds-typescript-helpers": "3.30.0-rc.0",
|
|
245
|
+
"@elliemae/ds-utilities": "3.30.0-rc.0"
|
|
245
246
|
},
|
|
246
247
|
"devDependencies": {
|
|
247
248
|
"@elliemae/pui-cli": "~9.0.0-next.31",
|
|
248
249
|
"styled-components": "~5.3.9",
|
|
249
|
-
"@elliemae/ds-monorepo-devops": "3.
|
|
250
|
+
"@elliemae/ds-monorepo-devops": "3.30.0-rc.0"
|
|
250
251
|
},
|
|
251
252
|
"peerDependencies": {
|
|
252
253
|
"lodash": "^4.17.21",
|