@cardenelabs/cdl 0.115.0 → 0.116.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/react.cjs CHANGED
@@ -4701,6 +4701,8 @@ var PAD_TOP = 40;
4701
4701
  var PAD_RIGHT = 24;
4702
4702
  var PAD_BOTTOM = 40;
4703
4703
  var PAD_LEFT = 24;
4704
+ var \u7BB1\u306E\u6700\u5927\u5E45 = 140;
4705
+ var \u7BB1\u306E\u6700\u5927\u9AD8\u3055 = 38;
4704
4706
  var \u6728\u306E\u679D\u306E\u592A\u3055 = (\u6BB5) => Math.max(1.1, 2.6 - \u6BB5 * 0.45);
4705
4707
  function \u6728\u306E\u4E2D\u8EAB(node, stateValues = {}) {
4706
4708
  const treeNodes = resolveTreeData(node.treeData ?? [], stateValues);
@@ -4904,8 +4906,8 @@ function computeTreeLayout(treeNodes, canvasW, canvasH) {
4904
4906
  );
4905
4907
  const depthGap = canvasH / Math.max(maxDepth + 1, 1);
4906
4908
  const slotW = canvasW / totalLeaves;
4907
- const nodeH = Math.min(38, depthGap * 0.7);
4908
- const nodeW = Math.min(140, slotW * 0.85);
4909
+ const nodeH = Math.min(\u7BB1\u306E\u6700\u5927\u9AD8\u3055, depthGap * 0.7);
4910
+ const nodeW = Math.min(\u7BB1\u306E\u6700\u5927\u5E45, slotW * 0.85);
4909
4911
  const \u7BB1\u306E\u5E45 = (n, depth) => {
4910
4912
  const \u6750\u6599 = \u6728\u306E\u884C({ ...n, depth });
4911
4913
  const \u540D\u524D = \u6750\u6599[0];