@cardenelabs/cdl 0.25.0 → 0.26.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
@@ -10269,6 +10269,7 @@ var ROW_GLYPH_CX = ROW_PAD_X_PX + ROW_GLYPH_HALF + 1;
10269
10269
  var ROW_GLYPH_LEAD = 40;
10270
10270
  var ROW_TYPE_FONT = 22;
10271
10271
  var SUBTITLE_BASELINE = 118;
10272
+ var STRIPE_MIN_ROWS = 2;
10272
10273
  var SUBTITLE_FONT = 20;
10273
10274
  var UNDERLINE_DROP = 7;
10274
10275
  function RowGlyph({ mark, x, y, color }) {
@@ -10326,7 +10327,7 @@ function StorageNode({
10326
10327
  strokeWidth: active ? 3 : 1.25
10327
10328
  }
10328
10329
  ),
10329
- node.rowStripe && rows.map((_, idx) => {
10330
+ node.rowStripe && rows.length >= STRIPE_MIN_ROWS && rows.map((_, idx) => {
10330
10331
  if (idx % 2 !== 0) return null;
10331
10332
  const \u5E2F = rowStripeBand("storage", idx, \u884C\u306E\u4E0B\u3052);
10332
10333
  if (!\u5E2F) return null;