Repository navigation
v1.7.1
Fixed
m-bars: an element with no height (0 px high, as in a nightly-evaluation deck withorient="h"and nostyle="height:…") gave negative<rect>heights ("-52", "-3.3"), logged by the browser as console errors; the plot area is now clamped at 0 and the component warns that the element is too small. Unchanged at every size that worked before (demo screenshots byte-identical)m-map-japanin small elements (below 360 px high or 340 px wide): the territory names 竹島・尖閣諸島・沖ノ鳥島・南鳥島 that did not fit next to their dot were silently left out; they are now placed in the nearby sea with a leader line (outside the inset frame if needed), and a name, frame caption or legend that still cannot be drawn is reported in oneconsole.warnper element. The legend is laid out again with a wider estimate when the estimated digits would run past the right edge (they did by 17 px at 420 px wide), and is left out (warned; the values stay in the readable layer) when it is taller than the element or would leave the map under 120 px wide. Computed sizes are clamped at ≥ 0 (scale, inset frames, chips). Larger elements, including every demo slide, are unchanged (screenshots byte-identical).tools/test-map-small.mjs(intools/test-all.mjs) renders 300 px and 240 px high and 420 px wide maps with points, a choropleth and legend, andlabels="none", plus the 0 px m-bars, at every step
README size (Egatari Studio's free-plan pack), change since v1.7.0
m-barsREADME: 0 bytesm-flowREADME: 0 bytesm-menuREADME: 0 bytesm-curvesREADME: 0 bytesm-quadREADME: 0 bytesm-kpiREADME: 0 bytes
sha256 ba87fbebf08755c476ebb6f0bec3fbdcb110a03a713e2344c8d2ea506851ca93 egatari-components-v1.7.1.tar.gz