-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove fonts from package, update ActionBar, Button and InfoLab…
…el (#908) * Fonts are no longer included in each component, follow instruction in readme to include fonts in your own project. * New peer dependency on @sap-theming/theming-base-content * Counter * moved from `Badge` folder to `Counter` folder - import as `import { Counter } from 'fundamental-react/Counter'` * Badge, Label * removed, use new InfoLabel component * ActionBar * Removed ActionBar.Back, ActionBar.Header, ActionBar.Actions component, now built into ActionBar via props * Button * `option=‘light’` to `option=‘transparent’`
- Loading branch information
Showing
120 changed files
with
3,011 additions
and
2,907 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
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 |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
name: "Fundamental-React Size", | ||
webpack: true, | ||
path: "lib/index.js", | ||
limit: "200 KB" | ||
limit: "185 KB" | ||
} | ||
] |
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,29 @@ | ||
<style type="text/css"> | ||
@font-face { | ||
font-family: '72'; | ||
src: url('./72-Regular.woff') format('woff'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: '72'; | ||
src: url('./72-Light.woff') format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: '72'; | ||
src: url('./72-Bold.woff') format('woff'); | ||
font-weight: 700; | ||
font-style: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: 'SAP-icons'; | ||
src: url('./SAP-icons.woff') format('woff'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
</style> |
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.