Skip to content
Merged
Show file tree
Hide file tree
Changes from 57 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
337a092
created overlay component
meganaconley Feb 24, 2020
08d8b2b
wip
jbadan Feb 25, 2020
c0bf9ae
rc25
jbadan Feb 25, 2020
172eb7a
cleanup tests for v25
jbadan Feb 25, 2020
96ec14a
0.4.0rc29
jbadan Feb 25, 2020
8751a5d
update for 0.4.0-rc.30
jbadan Feb 25, 2020
b495c0e
compact radio examples
jbadan Feb 25, 2020
38b32da
0.4.0-rc.42
jbadan Feb 25, 2020
d4fcbe2
0.4.0-rc.43
jbadan Feb 26, 2020
df196fe
0.4.1-rc.4
jbadan Feb 26, 2020
d48d902
0.4.1-rc.5
jbadan Feb 26, 2020
bd9ca80
0.4.1
jbadan Feb 26, 2020
baf4c0f
new storyshots for added stories:
jbadan Feb 26, 2020
c96989b
update Toggle to Switch
jbadan Feb 26, 2020
c9c1e96
remove disabled prop from Tabs
jbadan Feb 26, 2020
69adbb1
token updates
jbadan Feb 26, 2020
904e3eb
shellbar updates
jbadan Feb 26, 2020
637c3ce
0.6.0-rc.7
jbadan Feb 26, 2020
c9fbeef
0.6.0-rc.8
jbadan Feb 26, 2020
6a5cdea
0.6.0-rc.25
jbadan Feb 26, 2020
0dd7be4
new list component
jbadan Feb 27, 2020
b7f7c92
list component complete
jbadan Feb 27, 2020
d97d486
update list
jbadan Feb 27, 2020
1ad920a
select component
jbadan Feb 27, 2020
e14c001
multiinput update
jbadan Feb 27, 2020
3b2ff9c
combobox update
jbadan Feb 28, 2020
3304611
combobox
jbadan Feb 28, 2020
dbcf2f3
updates
jbadan Feb 28, 2020
9fd684b
update List.Icon snapshots
jbadan Feb 28, 2020
7f0d03f
switch breaking changes
jbadan Feb 28, 2020
08473d8
cleanup validation
jbadan Feb 28, 2020
b7f703d
dialog component
jbadan Feb 28, 2020
a2c8d98
0.7.0-rc.10 - validation states
jbadan Feb 28, 2020
bbd2af7
button breaking changes updates
jbadan Feb 28, 2020
db1ac73
update snapshot
jbadan Feb 28, 2020
0391b9a
update popover image
jbadan Feb 28, 2020
2c93d10
dismissible spelling + remove commented out tests
jbadan Mar 2, 2020
880daf9
dialog updates
jbadan Mar 2, 2020
3d0edde
tab group updates - add chain function to dialog
jbadan Mar 2, 2020
79fc753
fix displays on docs site - popover and validation
jbadan Mar 2, 2020
fafd4f5
fix dialog button close
jbadan Mar 2, 2020
24a50ed
remove unneeded storyshot
jbadan Mar 2, 2020
9e3d0d2
remove fonts imports
jbadan Mar 2, 2020
71d1173
merge master
jbadan Mar 2, 2020
77111b3
remove fonts
jbadan Mar 2, 2020
b79f640
remove fonts + serve on storybook and docs site
jbadan Mar 2, 2020
68b38d5
new infolabel, remove badge and label
jbadan Mar 3, 2020
d787f60
cleanup constants file
jbadan Mar 3, 2020
167d055
rename button light to transparent, actionBar breaking changes
jbadan Mar 3, 2020
41f86ff
new actionbar storyshots
jbadan Mar 3, 2020
8b4a106
add back bundlephobia - it will work
jbadan Mar 3, 2020
3588ab5
latest fundamental styles
jbadan Mar 3, 2020
ce28812
fix shellbar - bump styles
jbadan Mar 3, 2020
d7bbd43
update shellbar snapshots
jbadan Mar 3, 2020
59fbd27
add :root to docs site
jbadan Mar 3, 2020
743bb8b
pr feedback
jbadan Mar 4, 2020
48b45fe
pr feedback
jbadan Mar 4, 2020
cccdbe3
missed docs site
jbadan Mar 4, 2020
508f3a3
update action bar tests
jbadan Mar 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# Readme copy for github pages site
/src/_playground/documentation/Home/README.md

# fonts for documentation site
/src/_playground/static/

#index files
/src/**/index.js

Expand Down
2 changes: 1 addition & 1 deletion .size-limit
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
name: "Fundamental-React Size",
webpack: true,
path: "lib/index.js",
limit: "200 KB"
limit: "185 KB"
}
]
29 changes: 29 additions & 0 deletions .storybook/preview-head.html
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');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is stupid and annoying, but I couldn't get the fonts from @sap-theming to load from node_modules in here 😢

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>
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Fundamental React

[![npm version](https://badge.fury.io/js/fundamental-react.svg)](//www.npmjs.com/package/fundamental-react)
[![Minified Size](https://badgen.net/bundlephobia/min/fundamental-react)](https://bundlephobia.com/result?p=fundamental-react)
[![Minified Size](https://badgen.net/bundlephobia/min/fundamental-react)](https://bundlephobia.com/result?p=fundamental-react)
[![Minzipped Size](https://badgen.net/bundlephobia/minzip/fundamental-react)](https://bundlephobia.com/result?p=fundamental-react)
[![Build Status](https://travis-ci.org/SAP/fundamental-react.svg?branch=master)](https://travis-ci.org/SAP/fundamental-react)
[![Coverage Status](https://coveralls.io/repos/github/SAP/fundamental-react/badge.svg?branch=master)](https://coveralls.io/github/SAP/fundamental-react?branch=master)
Expand Down Expand Up @@ -45,6 +45,25 @@ For an existing react application, follow the steps below:
> **NOTE:** Importing from specific component is recommended. Doing so will bring in only the component you are using instead of the whole library, which will reduce your bundle size significantly.


1. This project does not contain fonts and icons - they must be added to your project separately. Fonts and icons can be found at [`@sap-theming/theming-base-content`](https://github.com/SAP/theming-base-content). After importing fonts and icons from [`@sap-theming/theming-base-content`](https://github.com/SAP/theming-base-content), add the following to your css:

```
@font-face {
font-family: "72";
src: url("path/to/fonts") format("woff"); // Bold, Light, Regular available in woff and woff2
font-weight: normal;
font-style: normal;
};

@font-face {
font-family: "SAP-icons";
src: url("path/to/icons") format("woff"); // available in woff, woff2 and ttf
font-weight: normal;
font-style: normal;
}
```

Additionally, edit your webpack configuration to load font and icon fonts - see [file-loader](https://webpack.js.org/loaders/file-loader/).

## Versioning

Expand Down
Loading