Jakub Grzywacz
d888de904e
refactor: update eslint disable comments after config changes ( #2602 )
...
# Summary
* update eslint-disable comments after config changes
* run bundle exec pod install in tests-example
2025-01-07 15:58:28 +01:00
Jakub Grzywacz
cceeb2b30a
chore: fix web-example app path and format examples ( #2524 )
...
# Summary
A minor change in web example app to fix SVG path and reformat examples
with prettier/lint
2024-11-04 12:57:30 +01:00
Jakub Grzywacz
2a58016ec1
feat: get currentColor from caller instead of parent ( #2521 )
...
# Summary
Fixes #2520
When an element uses `currentColor`, it should look for color in its
caller, not in its parent.
Example:
```svg
<Svg width="100" height="100" viewBox="0 0 100 100" color="red">
<Defs color="blue">
<G color="green">
<Rect id="a" x="0" y="0" width="50" height="50" fill="currentColor"/>
</G>
</Defs>
<G color="pink">
<Use href="#a"/> <!-- #1 -->
</G>
<Use href="#a" transform="translate(25 25)"/> <!-- #2 -->
<G color="green">
<Use href="#a" transform="translate(50 50)"/> <!-- #3 -->
</G>
</Svg>
```
* `#1` should be **pink**
* `#2` should be **red**
* `#3` should be **green**

## Test Plan
Example app -> test -> Test2520
## Compatibility
| OS | Implemented |
| ------- | :---------: |
| iOS | ✅ |
| MacOS | ✅ |
| Android | ✅ |
2024-10-31 16:00:36 +01:00
Jakub Grzywacz
b3b175a7fb
feat: move examples to ./apps ( #2507 )
...
# Summary
Due to the large number of example apps in the repository, I decided to
change the structure and move all applications into an "apps" folder to
maintain a clear structure.
2024-10-25 16:12:23 +02:00