Skip to content

v5.4.7-dev.11

Pre-release
Pre-release

Choose a tag to compare

@AmoebeLabs AmoebeLabs released this 21 Jun 13:35
a553c3c

This dev version adds zpos and the new arc tool.
With zpos you can control the rendering order, ie which shape for instance is on top on which shape. The default rendering order is still the same, but now you can change this if you need to.

The second change is the addition of the arc tool. This one complements the horseshoe: it has the same config for things like position, rotation and more. It can be used as a sort of background tool for the horseshoe...

image
arcs:
  - xpos: 50
    ypos: 50
    radius: 30
    arc_degrees: 300
    styles:
      - fill: var(--disabled-text-color)
      - opacity: 0.3

It is now time to update the documentation with all these new features, and then release a new version!

What's Changed

🐛 Bug fixes

  • fix: Add future formatters as comment in state tool by @AmoebeLabs in #248
  • fix: Remove default 0 for entity index for shapes and icons if icon set by @AmoebeLabs in #256

🚀 New features

  • feat: (beta) Add labels and ticks to horseshoe by @AmoebeLabs in #212
  • feat: Add external json color palettes to support darklight mode for custom colors not in the theme by @AmoebeLabs in #214
  • feat: Extend same_as with named tags, and auto-ids when not assigned based on index in list, delta's and calc() functions by @AmoebeLabs in #218
  • feat: Add static constants and ref support for reusable layout configuration by @AmoebeLabs in #221
  • feat: Add display svg or image instead of icon by @AmoebeLabs in #225
  • feat: Add state mapping support to horseshoe by @AmoebeLabs in #226
  • feat: Add format options in entity definitions to regain control over formatting by @AmoebeLabs in #232
    #234
  • feat: Add rectangle tool and base tool. Base tool to be used by future shap… by @AmoebeLabs in #238
  • feat: Add default ZPOS in config for each section by @AmoebeLabs in #252
  • feat: Add sorted zpos rendering by @AmoebeLabs in #253
  • feat: Add zpos next to xpos and ypos to define the layer and render order by @AmoebeLabs in #254
  • feat: Add parent tree to groups so groups itself can be grouped and positioned too. Includes dzpos and calc(zpos.
    ) by @AmoebeLabs in #257
  • feat: Add arc tool shape as lowest layer by @AmoebeLabs in #259

🧰 Maintenance

  • chore: Remove vx versions of functions and classes for dev3 by @AmoebeLabs in #216
  • chore: Remove obsolete files and fix regression for spline by @AmoebeLabs in #237
  • Bump js-yaml from 4.1.1 to 4.2.0 by @dependabot[bot] in #235

📚 Documentation

Other changes

  • Refactor: Rewrite horseshoe to separate classes to make maintenance and changes easier by @AmoebeLabs in
  • refactor: Refactor other shapes like lines and circles to same structure as the rectangle by @AmoebeLabs in #240
  • Refactor: Add name and area too caused by refactor by @AmoebeLabs in #242
  • Refactor: Add state tool caused by refactor by @AmoebeLabs in #244
  • Refactor: Add icon tool caused by refactor by @AmoebeLabs in #246
  • refactor: Horseshoe-gauge now uses base tool by @AmoebeLabs in #261

Full Changelog: v5.4.7...v5.4.7-dev.11