@industry-theme/repository-composition-panels 0.2.35 → 0.2.36

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.
@@ -7851,7 +7851,6 @@ function TreeNode({
7851
7851
  isSelectedDirectory = false,
7852
7852
  nameColor,
7853
7853
  horizontalNodePadding = "8px",
7854
- verticalNodePadding = "3px",
7855
7854
  onContextMenu
7856
7855
  }) {
7857
7856
  const [isHovered, setIsHovered] = useState(false);
@@ -7877,8 +7876,6 @@ function TreeNode({
7877
7876
  cursor: "pointer",
7878
7877
  paddingLeft: `calc(${horizontalNodePadding} + ${node.level * 16}px)`,
7879
7878
  paddingRight: horizontalNodePadding,
7880
- paddingTop: verticalNodePadding,
7881
- paddingBottom: verticalNodePadding,
7882
7879
  display: "flex",
7883
7880
  alignItems: "center",
7884
7881
  justifyContent: "space-between",
@@ -8052,7 +8049,7 @@ var GitStatusFileTree = ({
8052
8049
  showUnchangedFiles = true,
8053
8050
  transparentBackground = false,
8054
8051
  horizontalNodePadding,
8055
- verticalNodePadding,
8052
+ verticalPadding,
8056
8053
  onContextMenu,
8057
8054
  openByDefault,
8058
8055
  initialHeight = 600,
@@ -8099,7 +8096,6 @@ var GitStatusFileTree = ({
8099
8096
  rightContent,
8100
8097
  nameColor,
8101
8098
  horizontalNodePadding,
8102
- verticalNodePadding,
8103
8099
  onContextMenu: (e, node2) => {
8104
8100
  if (onContextMenu) {
8105
8101
  onContextMenu(e, node2.data.id, !!node2.data.children);
@@ -8162,7 +8158,8 @@ var GitStatusFileTree = ({
8162
8158
  backgroundColor: transparentBackground ? "transparent" : theme.colors.background,
8163
8159
  color: theme.colors.text,
8164
8160
  fontFamily: theme.fonts.body,
8165
- ...autoHeight ? {} : { height: "100%" }
8161
+ ...autoHeight ? {} : { height: "100%" },
8162
+ ...verticalPadding ? { paddingTop: verticalPadding, paddingBottom: verticalPadding } : {}
8166
8163
  }
8167
8164
  }, /* @__PURE__ */ React2.createElement(GitStatusContext.Provider, {
8168
8165
  value: { gitStatusMap, hasChangedChildrenMap }
@@ -8303,7 +8300,7 @@ var TelemetryCoverageFileTree = ({
8303
8300
  showUncoveredFiles = true,
8304
8301
  transparentBackground = false,
8305
8302
  horizontalNodePadding,
8306
- verticalNodePadding,
8303
+ verticalPadding,
8307
8304
  onContextMenu,
8308
8305
  openByDefault = true,
8309
8306
  initialHeight = 600,
@@ -8369,7 +8366,6 @@ var TelemetryCoverageFileTree = ({
8369
8366
  extraContent: leftIcon,
8370
8367
  nameColor,
8371
8368
  horizontalNodePadding,
8372
- verticalNodePadding,
8373
8369
  onContextMenu: (e, node2) => {
8374
8370
  if (onContextMenu) {
8375
8371
  onContextMenu(e, node2.data.id, !!node2.data.children);
@@ -8432,7 +8428,8 @@ var TelemetryCoverageFileTree = ({
8432
8428
  backgroundColor: transparentBackground ? "transparent" : theme.colors.background,
8433
8429
  color: theme.colors.text,
8434
8430
  fontFamily: theme.fonts.body,
8435
- ...autoHeight ? {} : { height: "100%" }
8431
+ ...autoHeight ? {} : { height: "100%" },
8432
+ ...verticalPadding ? { paddingTop: verticalPadding, paddingBottom: verticalPadding } : {}
8436
8433
  }
8437
8434
  }, /* @__PURE__ */ React2.createElement(TelemetryCoverageContext.Provider, {
8438
8435
  value: { coverageMap, hasTracedChildrenMap }
@@ -8977,7 +8974,7 @@ const GitChangesPanelContent = ({
8977
8974
  selectedFile,
8978
8975
  transparentBackground: true,
8979
8976
  horizontalNodePadding: "16px",
8980
- verticalNodePadding: "16px",
8977
+ verticalPadding: "16px",
8981
8978
  openByDefault: !showFullTree
8982
8979
  },
8983
8980
  showFullTree ? "full-tree" : "changes-only"
@@ -65753,7 +65750,7 @@ const TelemetryCoveragePanelContent = ({
65753
65750
  showUncoveredFiles: true,
65754
65751
  openByDefault: true,
65755
65752
  horizontalNodePadding: "16px",
65756
- verticalNodePadding: "16px"
65753
+ verticalPadding: "16px"
65757
65754
  }
65758
65755
  ) })
65759
65756
  ] });
@@ -66001,7 +65998,7 @@ const TelemetryCoveragePanelContent = ({
66001
65998
  showUncoveredFiles: true,
66002
65999
  openByDefault: true,
66003
66000
  horizontalNodePadding: "16px",
66004
- verticalNodePadding: "16px"
66001
+ verticalPadding: "16px"
66005
66002
  }
66006
66003
  ) })
66007
66004
  ]