Skip to content

Update template-attributes.json with missing attributes and corrections#609

Merged
michielvandergeest merged 1 commit intodevfrom
fix/update-template-attributes
Feb 26, 2026
Merged

Update template-attributes.json with missing attributes and corrections#609
michielvandergeest merged 1 commit intodevfrom
fix/update-template-attributes

Conversation

@uguraslan
Copy link
Contributor

Summary

This is mainly for providing attribute data for Blits dev tools

  • Added 9 missing template attributes: src, fit, rtt, effects, placement, inspector-data, wordwrap, key, range
  • Fixed incorrect default values for pivot (0 -> 0.5), gap (null -> 0), align-items (null -> "start"), padding (null -> 0), textoverflow (null -> "...")
  • Added percentage string support to position/dimension attributes (x, y, w, h, width, height)
  • Added object type support for color (gradients) and scale (independent axis)
  • Added show enum values and default
  • Marked wordwrap as deprecated

@github-actions
Copy link

Test Results: ✅ PASSED

Run at: 2026-02-17T19:53:08.340Z

Summary:
passed: 1019 failed: 0 of 1019 tests

Copy link
Collaborator

@michielvandergeest michielvandergeest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michielvandergeest michielvandergeest merged commit 721f28a into dev Feb 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants