diff --git a/README.md b/README.md
index e43cdd3c775..b5fcfb2219b 100644
--- a/README.md
+++ b/README.md
@@ -76,14 +76,12 @@ npm install @fiori-for-react/fiori3 --save
In order to use `fiori-for-react` you have to wrap your application's root component into the `ThemeProvider`.
You will find this component most likely in `src/App.js`:
```jsx
-import { ContentDensity } from '@fiori-for-react/fiori3/lib/ContentDensity';
import { ThemeProvider } from '@fiori-for-react/fiori3/lib/ThemeProvider';
-import { Themes } from '@fiori-for-react/fiori3/lib/Themes';
...
render() {
return (
-
+
diff --git a/config/jest.config.js b/config/jest.config.js
index 1e7177bebee..8a2bb46ac34 100644
--- a/config/jest.config.js
+++ b/config/jest.config.js
@@ -1,5 +1,6 @@
const PATHS = require('./paths');
const path = require('path');
+// const webComponentConfigMock = require('./webComponentConfigMock');
module.exports = {
preset: 'ts-jest',
@@ -29,6 +30,12 @@ module.exports = {
moduleNameMapper: {
'^@shared/(.*)$': '/shared/$1',
'^@ui5/webcomponents/dist(.*)$': 'identity-obj-proxy', // ui5 web components can be mocked, not relevant for jest tests
+ '^@ui5/webcomponents-base/src/Configuration(.*)$': path.resolve(
+ PATHS.shared,
+ 'tests',
+ 'mock',
+ 'webComponentConfigMock.js'
+ ),
'\\.(css|less)$': 'identity-obj-proxy'
},
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],
diff --git a/lerna.json b/lerna.json
index 987701ddc87..9a07832d8cd 100644
--- a/lerna.json
+++ b/lerna.json
@@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
- "version": "0.3.1-rc.2",
+ "version": "0.3.1",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
diff --git a/package.json b/package.json
index cba7f2a5edd..5233395a39a 100644
--- a/package.json
+++ b/package.json
@@ -66,6 +66,7 @@
"filesize": "^4.1.2",
"fs-extra": "^7.0.0",
"glob": "^7.1.4",
+ "global": "^4.4.0",
"google-closure-compiler": "^20190415.0.0",
"gzip-size": "^5.1.0",
"husky": "^2.2.0",
@@ -97,6 +98,7 @@
"nyc": "^13.3.0",
"ora": "^3.4.0",
"puppeteer": "^1.15.0",
+ "qs": "^6.7.0",
"react": "^16.8.6",
"react-docgen-typescript-loader": "^3.1.0",
"react-docgen-typescript-webpack-plugin": "^1.1.0",
diff --git a/packages/charts/src/util/populateData.ts b/packages/charts/src/util/populateData.ts
index 8e326a82b06..d053eee435f 100644
--- a/packages/charts/src/util/populateData.ts
+++ b/packages/charts/src/util/populateData.ts
@@ -4,7 +4,7 @@ import belizePlus from './../themes/sap_belize_plus';
const getMapForTheme = (theme) => {
switch (theme) {
case 'sap_belize':
- case 'sap_fiori3_light': // TODO This needs to change as soon there is a Fiori3 Color Map Available
+ case 'sap_fiori_3': // TODO This needs to change as soon there is a Fiori3 Color Map Available
return belize;
case 'sap_belize_plus':
return belizePlus;
diff --git a/packages/docs/.storybook/TableComponent.tsx b/packages/docs/.storybook/TableComponent.tsx
index 95be9590ec0..1fe3c464b88 100644
--- a/packages/docs/.storybook/TableComponent.tsx
+++ b/packages/docs/.storybook/TableComponent.tsx
@@ -1,15 +1,4 @@
-import {
- ContentDensity,
- Badge,
- Label,
- Table,
- TableCell,
- TableColumn,
- TableRow,
- Text,
- ThemeProvider,
- Themes
-} from '@fiori-for-react/fiori3';
+import { Badge, Label, Table, TableCell, TableColumn, TableRow, Text, ThemeProvider } from '@fiori-for-react/fiori3';
import React from 'react';
const columns = [
@@ -24,13 +13,13 @@ export const TableComponent = (props) => {
const info = props.type.__docgenInfo;
if (!info || !info.props) {
return (
-
+ Unfortunately, there are no prop types available for this component.
);
}
return (
-
+