BREAKING CHANGE
To pass values to components as attributes, do not use `name={value}` anymore. Instead:
1. For strings, keep using regular quotes: `name="string"`
2. For values, use regular quotes but **prefix the name with a colon**: `:name="value"`.
For example, before:
html+jinja
<Example columns={2} tabbed={False} panels={{'one': 'lorem', 'two': 'ipsum'}} />
is now:
html+jinja
<Example :columns="2" :tabbed="False" :panels="{'one': 'lorem', 'two': 'ipsum'}" />
How to update:
![image](https://github.com/jpsca/jinjax/assets/67524204/5120ce03-1f88-42f5-8298-0d9ebcd94bcd)
1. Open the search-and-replace of your text editor (VisualStudio Code in this image).
3. Activate using regular expressions
4. Toggle "replace"
5. Search for `(\w+)=\{(.*?)\}`
Replace for `:$1="$2"`
Only in `*.jinja` files
OTHER CHANGES
- Improved component metadata parsing.
- New documentation theme
- Jinjax UI first (public) release
I'm working on improving the content of the documentation and it will be released soon.
**Full Changelog**: https://github.com/jpsca/jinjax/compare/0.37...0.4