-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(icon-import): change alias separator to comma (#1885)
In our Figma icon file, not all icon aliases were separated correctly (some used `|`, others `,`). This is not aligned in Figma to always use comma so we also reflect this change in our CLI.
- Loading branch information
1 parent
516c9f5
commit 33700f9
Showing
7 changed files
with
218 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
"@sit-onyx/icons": minor | ||
--- | ||
|
||
feat: update icons | ||
|
||
Also fixed icon aliases in the metadata for most icons which are now separated correctly | ||
|
||
#### New icons | ||
|
||
- heptagon-cloud-foundry | ||
|
||
#### Modified icons | ||
|
||
- sidebar-arrow-right |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@sit-onyx/figma-utils": major | ||
--- | ||
|
||
refactor(icon-import): change alias separator to comma | ||
|
||
To use the previous behavior, change the alias separator to `|`: | ||
|
||
- if using CLI: add flag `-s "|"` | ||
- if using function: `parseComponentsToIcons({ aliasSeparator: "|" })` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.