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