-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(icon): implement baklava-icons and remove icons folder (#898)
Also ignored examples workspace as it blocks commiting without installing in each project. Closes #530
- Loading branch information
Showing
246 changed files
with
58 additions
and
1,224 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 |
---|---|---|
|
@@ -12,3 +12,4 @@ storybook-static/ | |
.bin/ | ||
.docksal/ | ||
src/generated/ | ||
examples/ |
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 |
---|---|---|
|
@@ -23,3 +23,4 @@ docs/ | |
.bin/ | ||
.docksal/ | ||
*.test.ts | ||
examples/ |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,27 +1,9 @@ | ||
import { Meta, IconGallery, IconItem } from '@storybook/blocks'; | ||
import icons from '../../src/components/icon/icon-list'; | ||
import { BlIcon } from '../../src/baklava-react'; | ||
import { Meta } from '@storybook/blocks'; | ||
|
||
<Meta title="Design System/Icons/Iconography" /> | ||
<Meta title="Design System/Icons" /> | ||
|
||
# Iconography | ||
# Baklava Icons | ||
|
||
* All icons are provided as SVGs | ||
* All icons are single color (Some have multiple layers with different opacity of same color) | ||
* All icons has square canvas (By default 24x24) | ||
* Icon names as in `snake_case` | ||
* Icons are for decorative purposes. Don't use them as a data in your documents (like an instructive image) | ||
Baklava Design System uses `@trendyol/baklava-icons` package for custom made icons. | ||
|
||
You can check [icon component](/docs/components-icon--single-icon) for usage information and interactive demos. | ||
|
||
## List of icons | ||
|
||
<IconGallery> | ||
{ | ||
icons.map((iconName) => ( | ||
<IconItem key={iconName} name={iconName}> | ||
<BlIcon name={iconName} /> | ||
</IconItem> | ||
)) | ||
} | ||
</IconGallery> | ||
For detailed documentation and to explore the available icons, please visit our [icon documentation](https://trendyol.github.io/baklava-icons/?path=/docs/documentation-baklava-icons--icons). |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.