@industry-theme/repository-composition-panels 0.2.36 → 0.2.37
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/panels.bundle.js
CHANGED
|
@@ -7851,6 +7851,7 @@ function TreeNode({
|
|
|
7851
7851
|
isSelectedDirectory = false,
|
|
7852
7852
|
nameColor,
|
|
7853
7853
|
horizontalNodePadding = "8px",
|
|
7854
|
+
verticalNodePadding = "3px",
|
|
7854
7855
|
onContextMenu
|
|
7855
7856
|
}) {
|
|
7856
7857
|
const [isHovered, setIsHovered] = useState(false);
|
|
@@ -7876,6 +7877,8 @@ function TreeNode({
|
|
|
7876
7877
|
cursor: "pointer",
|
|
7877
7878
|
paddingLeft: `calc(${horizontalNodePadding} + ${node.level * 16}px)`,
|
|
7878
7879
|
paddingRight: horizontalNodePadding,
|
|
7880
|
+
paddingTop: verticalNodePadding,
|
|
7881
|
+
paddingBottom: verticalNodePadding,
|
|
7879
7882
|
display: "flex",
|
|
7880
7883
|
alignItems: "center",
|
|
7881
7884
|
justifyContent: "space-between",
|
|
@@ -8049,6 +8052,7 @@ var GitStatusFileTree = ({
|
|
|
8049
8052
|
showUnchangedFiles = true,
|
|
8050
8053
|
transparentBackground = false,
|
|
8051
8054
|
horizontalNodePadding,
|
|
8055
|
+
verticalNodePadding,
|
|
8052
8056
|
verticalPadding,
|
|
8053
8057
|
onContextMenu,
|
|
8054
8058
|
openByDefault,
|
|
@@ -8096,6 +8100,7 @@ var GitStatusFileTree = ({
|
|
|
8096
8100
|
rightContent,
|
|
8097
8101
|
nameColor,
|
|
8098
8102
|
horizontalNodePadding,
|
|
8103
|
+
verticalNodePadding,
|
|
8099
8104
|
onContextMenu: (e, node2) => {
|
|
8100
8105
|
if (onContextMenu) {
|
|
8101
8106
|
onContextMenu(e, node2.data.id, !!node2.data.children);
|
|
@@ -8300,6 +8305,7 @@ var TelemetryCoverageFileTree = ({
|
|
|
8300
8305
|
showUncoveredFiles = true,
|
|
8301
8306
|
transparentBackground = false,
|
|
8302
8307
|
horizontalNodePadding,
|
|
8308
|
+
verticalNodePadding,
|
|
8303
8309
|
verticalPadding,
|
|
8304
8310
|
onContextMenu,
|
|
8305
8311
|
openByDefault = true,
|
|
@@ -8366,6 +8372,7 @@ var TelemetryCoverageFileTree = ({
|
|
|
8366
8372
|
extraContent: leftIcon,
|
|
8367
8373
|
nameColor,
|
|
8368
8374
|
horizontalNodePadding,
|
|
8375
|
+
verticalNodePadding,
|
|
8369
8376
|
onContextMenu: (e, node2) => {
|
|
8370
8377
|
if (onContextMenu) {
|
|
8371
8378
|
onContextMenu(e, node2.data.id, !!node2.data.children);
|