diginet-core-ui 1.4.52-beta.8 → 1.4.52-beta.9
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.
|
@@ -459,8 +459,7 @@ const Dropdown = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference)
|
|
|
459
459
|
parentID: treeViewParentID,
|
|
460
460
|
value: typeof currentValue[unique] === 'string' ? [currentValue[unique]] : currentValue[unique],
|
|
461
461
|
onChange: (e, value) => onChangeValue(e, '', multiple ? value : e.value),
|
|
462
|
-
renderItem: renderItem
|
|
463
|
-
isInDropdown: true
|
|
462
|
+
renderItem: renderItem
|
|
464
463
|
}) : EmptyDataText);
|
|
465
464
|
};
|
|
466
465
|
|
|
@@ -37,7 +37,6 @@ const TreeView = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference)
|
|
|
37
37
|
expand,
|
|
38
38
|
expandIcon,
|
|
39
39
|
id,
|
|
40
|
-
isInDropdown,
|
|
41
40
|
multiple,
|
|
42
41
|
multipleValueMode,
|
|
43
42
|
onChange,
|
|
@@ -70,7 +69,7 @@ const TreeView = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference)
|
|
|
70
69
|
allowNumber: false,
|
|
71
70
|
allowSymbol: false
|
|
72
71
|
}));
|
|
73
|
-
const _TreeViewRootCSS = TreeViewRootCSS(theme
|
|
72
|
+
const _TreeViewRootCSS = TreeViewRootCSS(theme);
|
|
74
73
|
const determinateCheckbox = (input, determinate) => {
|
|
75
74
|
if (multipleValueMode === 'multiple' || disabledRelevantValue) {
|
|
76
75
|
input.classList[determinate ? 'add' : 'remove']('determinate');
|
|
@@ -794,7 +793,7 @@ const TreeView = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference)
|
|
|
794
793
|
const TreeViewRootCSS = ({
|
|
795
794
|
colors,
|
|
796
795
|
spacing
|
|
797
|
-
}
|
|
796
|
+
}) => css`
|
|
798
797
|
${displayBlock};
|
|
799
798
|
${positionRelative};
|
|
800
799
|
.DGN-UI-Accordion {
|
|
@@ -834,7 +833,7 @@ const TreeViewRootCSS = ({
|
|
|
834
833
|
.TreeView-Content {
|
|
835
834
|
${displayBlock};
|
|
836
835
|
${positionRelative};
|
|
837
|
-
${
|
|
836
|
+
${parseMaxHeight(240)};
|
|
838
837
|
${overflowYScroll};
|
|
839
838
|
&::-webkit-scrollbar {
|
|
840
839
|
${borderRadius(4)};
|