File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11[versions ]
2- gradle-plugin-version = " 0.2 .0"
2+ gradle-plugin-version = " 0.3 .0"
33
44agp = " 8.13.1"
55
Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ## [ 0.3.0] - 2025-12-11
6+
57### Added
68
79- Automatically handle full qualified imports for icons that conflict with reserved Compose qualified names (` Brush ` ,
810 ` Color ` , ` Offset ` )
9- - Add ` autoMirror ` configuration support at root, icon pack, and nested pack levels to control RTL (right-to-left)
11+ - Add ` autoMirror ` configuration support at root, icon pack, and nested pack levels to control RTL (right-to-left)
1012 layout behavior for generated ImageVectors
1113
1214The ` autoMirror ` parameter controls whether icons should automatically flip horizontally when used in RTL layouts.
1315This is particularly useful for directional icons like arrows, chevrons, or navigation elements.
1416
1517Configuration can be set at three levels with override hierarchy:
18+
16191 . ** Root level** - applies to all icons across the project
17202 . ** Icon pack level** - overrides root level for all icons in the pack
18213 . ** Nested pack level** - overrides both icon pack and root level for icons in the nested pack
@@ -22,14 +25,14 @@ Example configuration:
2225``` kotlin
2326valkyrie {
2427 packageName = " com.example.app.icons"
25-
28+
2629 // Force all icons to support RTL by default
2730 autoMirror = true
2831
2932 iconPack {
3033 name = " ValkyrieIcons"
3134 targetSourceSet = " commonMain"
32-
35+
3336 // Override: icons in this pack won't auto-mirror
3437 autoMirror = false
3538
You can’t perform that action at this time.
0 commit comments