diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 3874cda5c96..4f9166e87f6 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,6 +3,6 @@ To get it merged faster, kindly review the checklist below: ## Pull Request Checklist -- [ ] Reviewed the [Contributing Guidelines](https://github.com/SAP/fiori-for-react/blob/master/CONTRIBUTING.md) - + Especially the [How to Contribute](https://github.com/SAP/fiori-for-react/blob/master/CONTRIBUTING.md#contribute-code) section -- [ ] [Correct commit message style](https://github.com/SAP/fiori-for-react/blob/master/docs/Guidelines.md#commit-message-style) +- [ ] Reviewed the [Contributing Guidelines](https://github.com/SAP/ui5-webcomponents-react/blob/master/CONTRIBUTING.md) + + Especially the [How to Contribute](https://github.com/SAP/ui5-webcomponents-react/blob/master/CONTRIBUTING.md#contribute-code) section +- [ ] [Correct commit message style](https://github.com/SAP/ui5-webcomponents-react/blob/master/docs/Guidelines.md#commit-message-style) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8e58b21f99..2a86a5ac0a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,12 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -## [0.3.2-rc.0](https://github.com/SAP/fiori-for-react/compare/v0.3.1-rc.2...v0.3.2-rc.0) (2019-06-14) +## [0.3.2-rc.0](https://github.com/SAP/ui5-webcomponents-react/compare/v0.3.1-rc.2...v0.3.2-rc.0) (2019-06-14) ### Features -* **ThemeProvider:** Read config from UI5 Web Components ([efee11f](https://github.com/SAP/fiori-for-react/commit/efee11f)) +* **ThemeProvider:** Read config from UI5 Web Components ([efee11f](https://github.com/SAP/ui5-webcomponents-react/commit/efee11f)) ### BREAKING CHANGES @@ -20,12 +20,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline -## [0.3.1-rc.2](https://github.com/SAP/fiori-for-react/compare/v0.3.1-rc.1...v0.3.1-rc.2) (2019-06-13) +## [0.3.1-rc.2](https://github.com/SAP/ui5-webcomponents-react/compare/v0.3.1-rc.1...v0.3.1-rc.2) (2019-06-13) ### Features -* Update UI5 WebComponents to v0.12.0 ([#30](https://github.com/SAP/fiori-for-react/issues/30)) ([4958a15](https://github.com/SAP/fiori-for-react/commit/4958a15)) +* Update UI5 WebComponents to v0.12.0 ([#30](https://github.com/SAP/ui5-webcomponents-react/issues/30)) ([4958a15](https://github.com/SAP/ui5-webcomponents-react/commit/4958a15)) ### BREAKING CHANGES @@ -41,40 +41,40 @@ See also [UI5-WebComponents 0.12.0](https://github.com/SAP/ui5-webcomponents/rel -## [0.3.1-rc.1](https://github.com/SAP/fiori-for-react/compare/v0.3.1-rc.0...v0.3.1-rc.1) (2019-06-07) +## [0.3.1-rc.1](https://github.com/SAP/ui5-webcomponents-react/compare/v0.3.1-rc.0...v0.3.1-rc.1) (2019-06-07) ### Features -* **ObjectPage:** Added Hide Header Button ([#28](https://github.com/SAP/fiori-for-react/issues/28)) ([5509098](https://github.com/SAP/fiori-for-react/commit/5509098)) +* **ObjectPage:** Added Hide Header Button ([#28](https://github.com/SAP/ui5-webcomponents-react/issues/28)) ([5509098](https://github.com/SAP/ui5-webcomponents-react/commit/5509098)) -## [0.3.1-rc.0](https://github.com/SAP/fiori-for-react/compare/v0.3.0...v0.3.1-rc.0) (2019-06-03) +## [0.3.1-rc.0](https://github.com/SAP/ui5-webcomponents-react/compare/v0.3.0...v0.3.1-rc.0) (2019-06-03) -**Note:** Version bump only for package @fiori-for-react/suite +**Note:** Version bump only for package @ui5-webcomponents-react/suite -# [0.3.0](https://github.com/SAP/fiori-for-react/compare/v0.2.0...v0.3.0) (2019-06-03) +# [0.3.0](https://github.com/SAP/ui5-webcomponents-react/compare/v0.2.0...v0.3.0) (2019-06-03) ### Features -* Updated UI5 WebComponents to v0.11.0 ([#22](https://github.com/SAP/fiori-for-react/issues/22)) ([7dcf22b](https://github.com/SAP/fiori-for-react/commit/7dcf22b)) -* **FilterBar:** Initial Version ([422bdbd](https://github.com/SAP/fiori-for-react/commit/422bdbd)) -* **FilterItem:** Initial Version ([19a23ec](https://github.com/SAP/fiori-for-react/commit/19a23ec)) -* **VariantManagement:** Initial Version ([a1e9cbb](https://github.com/SAP/fiori-for-react/commit/a1e9cbb)) -* **FilterBar:** renderSearch function ([94b468e](https://github.com/SAP/fiori-for-react/commit/94b468e)) +* Updated UI5 WebComponents to v0.11.0 ([#22](https://github.com/SAP/ui5-webcomponents-react/issues/22)) ([7dcf22b](https://github.com/SAP/ui5-webcomponents-react/commit/7dcf22b)) +* **FilterBar:** Initial Version ([422bdbd](https://github.com/SAP/ui5-webcomponents-react/commit/422bdbd)) +* **FilterItem:** Initial Version ([19a23ec](https://github.com/SAP/ui5-webcomponents-react/commit/19a23ec)) +* **VariantManagement:** Initial Version ([a1e9cbb](https://github.com/SAP/ui5-webcomponents-react/commit/a1e9cbb)) +* **FilterBar:** renderSearch function ([94b468e](https://github.com/SAP/ui5-webcomponents-react/commit/94b468e)) ### Bug Fixes -* **typing:** Fixed TypeScript Definitions ([440c097](https://github.com/SAP/fiori-for-react/commit/440c097)) -* **WebComponentWrapper:** Fixed event handler removal after prop update ([2b93c12](https://github.com/SAP/fiori-for-react/commit/2b93c12)) +* **typing:** Fixed TypeScript Definitions ([440c097](https://github.com/SAP/ui5-webcomponents-react/commit/440c097)) +* **WebComponentWrapper:** Fixed event handler removal after prop update ([2b93c12](https://github.com/SAP/ui5-webcomponents-react/commit/2b93c12)) ### BREAKING CHANGES @@ -92,10 +92,10 @@ See also [UI5-WebComponents 0.12.0](https://github.com/SAP/ui5-webcomponents/rel ### Bug Fixes -* **web-component-wrapper:** Slots must be passed as camelCase ([1671c17](https://github.com/SAP/fiori-for-react/commit/1671c17)) +* **web-component-wrapper:** Slots must be passed as camelCase ([1671c17](https://github.com/SAP/ui5-webcomponents-react/commit/1671c17)) ### Features -* **charts:** Added Loading Indicators ([15284b0](https://github.com/SAP/fiori-for-react/commit/15284b0)) -* **VariantManagement:** Initial Version ([b8237ce](https://github.com/SAP/fiori-for-react/commit/b8237ce)) +* **charts:** Added Loading Indicators ([15284b0](https://github.com/SAP/ui5-webcomponents-react/commit/15284b0)) +* **VariantManagement:** Initial Version ([b8237ce](https://github.com/SAP/ui5-webcomponents-react/commit/b8237ce)) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1aa0c4ca622..c2b9623b110 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,11 +1,11 @@ -# Contributing to fiori-for-react +# Contributing to ui5-webcomponents-react -You want to contribute to `fiori-for-react`? Welcome! Please read this document to understand what you can do: +You want to contribute to `ui5-webcomponents-react`? Welcome! Please read this document to understand what you can do: * [Report an Issue](#report-an-issue) * [Contribute Code](#contribute-code) ## Report an Issue -If you find a bug or some other issue with any part of the library, please [submit an issue](https://github.com/SAP/fiori-for-react/issues). Before doing so, please make sure that: +If you find a bug or some other issue with any part of the library, please [submit an issue](https://github.com/SAP/ui5-webcomponents-react/issues). Before doing so, please make sure that: - The issue is not a duplicate issue. - The issue has not been fixed in a newer release of the library. @@ -13,7 +13,7 @@ If you find a bug or some other issue with any part of the library, please [subm - Your explanation is clear and complete. - You provide example code and/or screenshots (recommended). -If you meet the above criteria, you can submit issues with our [GitHub issue tracker](https://github.com/SAP/fiori-for-react/issues/new). Please use [labels](#usage-of-labels) to categorize your issue +If you meet the above criteria, you can submit issues with our [GitHub issue tracker](https://github.com/SAP/ui5-webcomponents-react/issues/new). Please use [labels](#usage-of-labels) to categorize your issue ## Feature Requests @@ -46,7 +46,7 @@ Status of closed issues: ## Contribute Code -You are welcome to contribute code to `fiori-for-react` in order to fix issues or to add new features. +You are welcome to contribute code to `ui5-webcomponents-react` in order to fix issues or to add new features. There are two important things to consider: @@ -74,14 +74,14 @@ The form contains a list of employees who are authorized to contribute on behalf ### How to contribute - the Process -1. Make sure the issue you've filed in the [issue tracker](https://github.com/SAP/fiori-for-react/issues) has the label "contribution welcome" - otherwise, it is not ready to be worked on. -2. Fork the `fiori-for-react` repository into your GitHub account, create a branch and apply your change. Please don't work directly on the `master` branch of your fork. This will help to update your fork in the future more easily. +1. Make sure the issue you've filed in the [issue tracker](https://github.com/SAP/ui5-webcomponents-react/issues) has the label "contribution welcome" - otherwise, it is not ready to be worked on. +2. Fork the `ui5-webcomponents-react` repository into your GitHub account, create a branch and apply your change. Please don't work directly on the `master` branch of your fork. This will help to update your fork in the future more easily. 3. Commit and push your change on that branch. Please follow our [Development Conventions and Guidelines](/docs/Guidelines.md). -4. Create a pull request from your branch into `fiori-for-react`-`master` branch. +4. Create a pull request from your branch into `ui5-webcomponents-react`-`master` branch. 5. Follow the link posted by the CLA assistant to your pull request and accept it, as described above. 6. Wait for our code review and approval, possibly enhancing your change on request. - Note that the `fiori-for-react` developers have many duties. So, depending on the required effort for reviewing, testing, and clarification, this may take a while. + Note that the `ui5-webcomponents-react` developers have many duties. So, depending on the required effort for reviewing, testing, and clarification, this may take a while. 7. Once the change has been approved and merged, we will inform you in a comment. 8. Celebrate! 🎉 diff --git a/README.md b/README.md index b5fcfb2219b..78007e39cf1 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ -# fiori-for-react +# UI5 Web Components for React

- - Build Status + + Build Status - - Code Coverage + + Code Coverage code style: prettier @@ -23,32 +23,32 @@ ## Description -`fiori-for-react` is providing a Fiori-compliant React implementation by leveraging the [UI5 Web Components](https://github.com/SAP/ui5-webcomponents). +`ui5-webcomponents-react` is providing a Fiori-compliant React implementation by leveraging the [UI5 Web Components](https://github.com/SAP/ui5-webcomponents). ### Explore our components -You can play around with our components by visiting our [Storybook](https://sap.github.io/fiori-for-react/). +You can play around with our components by visiting our [Storybook](https://sap.github.io/ui5-webcomponents-react/). ### Package Overview -#### [@fiori-for-react/fiori3](https://github.com/SAP/fiori-for-react/tree/master/packages/fiori3) - Fiori 3 Components -[![](https://img.shields.io/npm/v/@fiori-for-react/fiori3.svg)](https://www.npmjs.com/package/@fiori-for-react/fiori3) - - +#### [@ui5-webcomponents-react/fiori3](https://github.com/SAP/ui5-webcomponents-react/tree/master/packages/fiori3) - Fiori 3 Components +[![](https://img.shields.io/npm/v/@ui5-webcomponents-react/fiori3.svg)](https://www.npmjs.com/package/@ui5-webcomponents-react/fiori3) + + -#### [@fiori-for-react/styles](https://github.com/SAP/fiori-for-react/tree/master/packages/styles) - Styles -[![](https://img.shields.io/npm/v/@fiori-for-react/styles.svg)](https://www.npmjs.com/package/@fiori-for-react/styles) - - +#### [@ui5-webcomponents-react/styles](https://github.com/SAP/ui5-webcomponents-react/tree/master/packages/styles) - Styles +[![](https://img.shields.io/npm/v/@ui5-webcomponents-react/styles.svg)](https://www.npmjs.com/package/@ui5-webcomponents-react/styles) + + -#### [@fiori-for-react/utils](https://github.com/SAP/fiori-for-react/tree/master/packages/utils) - Utils -[![](https://img.shields.io/npm/v/@fiori-for-react/utils.svg)](https://www.npmjs.com/package/@fiori-for-react/utils) - - +#### [@ui5-webcomponents-react/utils](https://github.com/SAP/ui5-webcomponents-react/tree/master/packages/utils) - Utils +[![](https://img.shields.io/npm/v/@ui5-webcomponents-react/utils.svg)](https://www.npmjs.com/package/@ui5-webcomponents-react/utils) + + -#### [@fiori-for-react/charts](https://github.com/SAP/fiori-for-react/tree/master/packages/charts) - Fiori Charts -[![](https://img.shields.io/npm/v/@fiori-for-react/charts.svg)](https://www.npmjs.com/package/@fiori-for-react/charts) - - +#### [@ui5-webcomponents-react/charts](https://github.com/SAP/ui5-webcomponents-react/tree/master/packages/charts) - Fiori Charts +[![](https://img.shields.io/npm/v/@ui5-webcomponents-react/charts.svg)](https://www.npmjs.com/package/@ui5-webcomponents-react/charts) + + @@ -63,9 +63,9 @@ You can play around with our components by visiting our [Storybook](https://sap. ## Download and Installation -To consume `fiori-for-react`, first you need to install the npm module: +To consume `ui5-webcomponents-react`, first you need to install the npm module: ```sh -npm install @fiori-for-react/fiori3 --save +npm install @ui5-webcomponents-react/fiori3 --save ``` @@ -73,10 +73,10 @@ npm install @fiori-for-react/fiori3 --save ## Configuration **Prerequisite: You have a React app.** In case you don't, we recommend to create one using [create-react-app](https://facebook.github.io/create-react-app/).
-In order to use `fiori-for-react` you have to wrap your application's root component into the `ThemeProvider`.
+In order to use `ui5-webcomponents-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 { ThemeProvider } from '@fiori-for-react/fiori3/lib/ThemeProvider'; +import { ThemeProvider } from '@ui5-webcomponents-react/fiori3/lib/ThemeProvider'; ... render() { return ( @@ -89,11 +89,11 @@ render() { } ``` -Then, you are ready to use `fiori-for-react` and you can import the desired component(s) in your app:
+Then, you are ready to use `ui5-webcomponents-react` and you can import the desired component(s) in your app:
For example, to use ```Button``` you need to import it: ```jsx -import { Button } from '@fiori-for-react/fiori3/lib/Button'; // loads ui5-button wrapped in a fiori-for-react component +import { Button } from '@ui5-webcomponents-react/fiori3/lib/Button'; // loads ui5-button wrapped in a ui5-webcomponents-react component ``` Then, you can use the Button in your app: @@ -102,7 +102,7 @@ Then, you can use the Button in your app: ``` -You could import all components also from `@fiori-for-react/fiori3` directly, but this will have a negative impact on your bundle size. +You could import all components also from `@ui5-webcomponents-react/fiori3` directly, but this will have a negative impact on your bundle size. For Browser Support and the configuration of the UI5 Web Components, please take a look at the [Browser Support](https://github.com/SAP/ui5-webcomponents#browser-support) and the @@ -136,7 +136,7 @@ Please also refer to the [UI5 Web Components React Sample](https://github.com/SA ## Known Issues -Please look at our [GitHub Issues](https://github.com/SAP/fiori-for-react/issues) . +Please look at our [GitHub Issues](https://github.com/SAP/ui5-webcomponents-react/issues) . diff --git a/docs/Guidelines.md b/docs/Guidelines.md index 5d5822f2225..585aa585069 100644 --- a/docs/Guidelines.md +++ b/docs/Guidelines.md @@ -10,7 +10,7 @@ might still contain components styled with css modules. It´s planned to migrate have to use the new styling guidelines. Please see the template, generated by the create-component cli as reference on how to use react-jss. -Global Styles compliant to the Fiori 2.0 Design Guidelines are located in [fiori-for-react/styles](https://github.com/SAP/fiori-for-react/tree/master/packages/styles). +Global Styles compliant to the Fiori 2.0 Design Guidelines are located in [ui5-webcomponents-react/styles](https://github.com/SAP/ui5-webcomponents-react/tree/master/packages/styles). ## Naming Convention for Props - All Event handlers **must** start with `on`.
diff --git a/package.json b/package.json index 5233395a39a..63f36222b7a 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { - "name": "@fiori-for-react/suite", + "name": "@ui5-webcomponents-react/suite", "version": "0.2.0", "workspaces": [ "packages/*" ], "private": true, "license": "Apache-2.0", - "repository": "https://github.com/SAP/fiori-for-react", + "repository": "https://github.com/SAP/ui5-webcomponents-react", "scripts": { "start": "start-storybook -p 6006 -c packages/docs/.storybook", "build": "node ./scripts/rollup/build.js", diff --git a/packages/charts/CHANGELOG.md b/packages/charts/CHANGELOG.md index 53f35422aeb..c158fb0b802 100644 --- a/packages/charts/CHANGELOG.md +++ b/packages/charts/CHANGELOG.md @@ -3,12 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -## [0.3.2-rc.0](https://github.com/SAP/fiori-for-react/packages/charts/compare/v0.3.1-rc.2...v0.3.2-rc.0) (2019-06-14) +## [0.3.2-rc.0](https://github.com/SAP/ui5-webcomponents-react/packages/charts/compare/v0.3.1-rc.2...v0.3.2-rc.0) (2019-06-14) ### Features -* **ThemeProvider:** Read config from UI5 Web Components ([efee11f](https://github.com/SAP/fiori-for-react/packages/charts/commit/efee11f)) +* **ThemeProvider:** Read config from UI5 Web Components ([efee11f](https://github.com/SAP/ui5-webcomponents-react/packages/charts/commit/efee11f)) ### BREAKING CHANGES @@ -20,35 +20,35 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline -## [0.3.1-rc.2](https://github.com/SAP/fiori-for-react/packages/charts/compare/v0.3.1-rc.1...v0.3.1-rc.2) (2019-06-13) +## [0.3.1-rc.2](https://github.com/SAP/ui5-webcomponents-react/packages/charts/compare/v0.3.1-rc.1...v0.3.1-rc.2) (2019-06-13) -**Note:** Version bump only for package @fiori-for-react/charts +**Note:** Version bump only for package @ui5-webcomponents-react/charts -## [0.3.1-rc.1](https://github.com/SAP/fiori-for-react/packages/charts/compare/v0.3.1-rc.0...v0.3.1-rc.1) (2019-06-07) +## [0.3.1-rc.1](https://github.com/SAP/ui5-webcomponents-react/packages/charts/compare/v0.3.1-rc.0...v0.3.1-rc.1) (2019-06-07) -**Note:** Version bump only for package @fiori-for-react/charts +**Note:** Version bump only for package @ui5-webcomponents-react/charts -## [0.3.1-rc.0](https://github.com/SAP/fiori-for-react/packages/charts/compare/v0.3.0...v0.3.1-rc.0) (2019-06-03) +## [0.3.1-rc.0](https://github.com/SAP/ui5-webcomponents-react/packages/charts/compare/v0.3.0...v0.3.1-rc.0) (2019-06-03) -**Note:** Version bump only for package @fiori-for-react/charts +**Note:** Version bump only for package @ui5-webcomponents-react/charts -# [0.3.0](https://github.com/SAP/fiori-for-react/compare/v0.2.0...v0.3.0) (2019-06-03) +# [0.3.0](https://github.com/SAP/ui5-webcomponents-react/compare/v0.2.0...v0.3.0) (2019-06-03) ### Bug Fixes -* **typing:** Fixed TypeScript Definitions ([440c097](https://github.com/SAP/fiori-for-react/packages/charts/commit/440c097)) +* **typing:** Fixed TypeScript Definitions ([440c097](https://github.com/SAP/ui5-webcomponents-react/packages/charts/commit/440c097)) # 0.2.0 (2019-05-15) @@ -56,4 +56,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Features -* **charts:** Added Loading Indicators ([15284b0](https://github.com/SAP/fiori-for-react/packages/charts/commit/15284b0)) +* **charts:** Added Loading Indicators ([15284b0](https://github.com/SAP/ui5-webcomponents-react/packages/charts/commit/15284b0)) diff --git a/packages/charts/README.md b/packages/charts/README.md index 62c60646d9d..93e91a9464e 100644 --- a/packages/charts/README.md +++ b/packages/charts/README.md @@ -1,15 +1,15 @@ -# @fiori-for-react/charts -Charts for fiori-for-react +# @ui5-webcomponents-react/charts +Charts for ui5-webcomponents-react ## Usage ### Installation ```bash -yarn add @fiori-for-react/charts +yarn add @ui5-webcomponents-react/charts ``` ### Documentation -You can find an interactive documentation in our [Storybook](https://sap.github.io/fiori-for-react/). +You can find an interactive documentation in our [Storybook](https://sap.github.io/ui5-webcomponents-react/). ## Contributing @@ -27,8 +27,8 @@ yarn create-component YOUR_COMPONENT_NAME These commands will create a new folder in the src folder, containing the index, the stylesheets as well as the demo. ## Contribute -Please check our [Contribution Guidelines](https://github.com/SAP/fiori-for-react/blob/master/CONTRIBUTING.md). +Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents-react/blob/master/CONTRIBUTING.md). ## License Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. -This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/fiori-for-react/blob/master/LICENSE) file. +This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents-react/blob/master/LICENSE) file. diff --git a/packages/charts/package.json b/packages/charts/package.json index cb877461df8..38a6a520697 100644 --- a/packages/charts/package.json +++ b/packages/charts/package.json @@ -1,11 +1,11 @@ { - "name": "@fiori-for-react/charts", + "name": "@ui5-webcomponents-react/charts", "version": "0.3.2-rc.0", - "description": "Charts for fiori-for-react", + "description": "Charts for ui5-webcomponents-react", "main": "index.cjs.js", "module": "index.esm.js", "types": "index.d.ts", - "repository": "https://github.com/SAP/fiori-for-react/packages/charts", + "repository": "https://github.com/SAP/ui5-webcomponents-react/tree/master/packages/charts", "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", "private": false, @@ -13,8 +13,8 @@ "@types/chart.js": "^2.7.53" }, "dependencies": { - "@fiori-for-react/styles": "0.3.2-rc.0", - "@fiori-for-react/utils": "0.3.2-rc.0", + "@ui5-webcomponents-react/styles": "0.3.2-rc.0", + "@ui5-webcomponents-react/utils": "0.3.2-rc.0", "chart.js": "^2.8.0", "chartjs-plugin-datalabels": "^0.6.0", "is-mergeable-object": "^1.1.0", diff --git a/packages/charts/src/components/BarChart/index.tsx b/packages/charts/src/components/BarChart/index.tsx index 2f157294a6d..cc63eb24cce 100644 --- a/packages/charts/src/components/BarChart/index.tsx +++ b/packages/charts/src/components/BarChart/index.tsx @@ -6,7 +6,7 @@ import { DEFAULT_OPTIONS } from '../../config'; import { formatTooltipLabel, getTextWidth, mergeConfig } from '../../util/utils'; import { ChartBaseProps } from '../../interfaces/ChartBaseProps'; import { ChartBaseDefaultProps } from '../../util/ChartBaseDefaultProps'; -import { LOG_LEVEL, Logger } from '@fiori-for-react/utils'; +import { LOG_LEVEL, Logger } from '@ui5-webcomponents-react/utils'; import { withChartContainer } from '../ChartContainer/withChartContainer'; import { BarChartPlaceholder } from './Placeholder'; diff --git a/packages/charts/src/components/ChartContainer/withChartContainer.tsx b/packages/charts/src/components/ChartContainer/withChartContainer.tsx index 126a1493008..96bbcf27f64 100644 --- a/packages/charts/src/components/ChartContainer/withChartContainer.tsx +++ b/packages/charts/src/components/ChartContainer/withChartContainer.tsx @@ -1,5 +1,5 @@ import React, { ComponentType } from 'react'; -import { withStyles } from '@fiori-for-react/styles'; +import { withStyles } from '@ui5-webcomponents-react/styles'; import hoistNonReactStatics from 'hoist-non-react-statics'; import { DEFAULT_OPTIONS } from '../../config'; import { ChartBaseProps } from '../../interfaces/ChartBaseProps'; diff --git a/packages/charts/src/components/Loader/index.tsx b/packages/charts/src/components/Loader/index.tsx index 53ea670e1b9..e92cdf7b830 100644 --- a/packages/charts/src/components/Loader/index.tsx +++ b/packages/charts/src/components/Loader/index.tsx @@ -1,4 +1,4 @@ -import { withStyles } from '@fiori-for-react/styles'; +import { withStyles } from '@ui5-webcomponents-react/styles'; import * as React from 'react'; import { LoaderStyles } from './Loader.jss'; diff --git a/packages/charts/src/components/MicroBarChart/index.tsx b/packages/charts/src/components/MicroBarChart/index.tsx index 4be22accbda..5421fc3c31b 100644 --- a/packages/charts/src/components/MicroBarChart/index.tsx +++ b/packages/charts/src/components/MicroBarChart/index.tsx @@ -1,4 +1,4 @@ -import { withStyles } from '@fiori-for-react/styles'; +import { withStyles } from '@ui5-webcomponents-react/styles'; import React, { CSSProperties, PureComponent } from 'react'; import { ChartInternalProps } from '../../interfaces/ChartInternalProps'; import { CommonProps } from '../../interfaces/CommonProps'; diff --git a/packages/charts/src/components/RadarChart/index.tsx b/packages/charts/src/components/RadarChart/index.tsx index c014d6f5073..a7a00364b72 100644 --- a/packages/charts/src/components/RadarChart/index.tsx +++ b/packages/charts/src/components/RadarChart/index.tsx @@ -5,7 +5,7 @@ import { ChartInternalProps } from '../../interfaces/ChartInternalProps'; import { formatTooltipLabel, mergeConfig } from '../../util/utils'; import { ChartBaseProps } from '../../interfaces/ChartBaseProps'; import { ChartBaseDefaultProps } from '../../util/ChartBaseDefaultProps'; -import { HSLColor } from '@fiori-for-react/styles'; +import { HSLColor } from '@ui5-webcomponents-react/styles'; import { withChartContainer } from '../ChartContainer/withChartContainer'; export interface RadarChartPropTypes extends ChartBaseProps {} diff --git a/packages/charts/src/components/RadialChart/index.tsx b/packages/charts/src/components/RadialChart/index.tsx index 26b6e46ca3c..a1f5420ad22 100644 --- a/packages/charts/src/components/RadialChart/index.tsx +++ b/packages/charts/src/components/RadialChart/index.tsx @@ -1,5 +1,5 @@ -import { StyleClassHelper } from '@fiori-for-react/utils'; -import { withStyles } from '@fiori-for-react/styles'; +import { StyleClassHelper } from '@ui5-webcomponents-react/utils'; +import { withStyles } from '@ui5-webcomponents-react/styles'; import { ChartOptions } from 'chart.js'; import React, { CSSProperties, PureComponent, Ref } from 'react'; import { ChartInternalProps } from '../../interfaces/ChartInternalProps'; diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 9b7af6f835f..84e40052620 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -3,44 +3,44 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -## [0.3.2-rc.0](https://github.com/SAP/fiori-for-react/compare/v0.3.1-rc.2...v0.3.2-rc.0) (2019-06-14) +## [0.3.2-rc.0](https://github.com/SAP/ui5-webcomponents-react/compare/v0.3.1-rc.2...v0.3.2-rc.0) (2019-06-14) -**Note:** Version bump only for package @fiori-for-react/cli +**Note:** Version bump only for package @ui5-webcomponents-react/cli -## [0.3.1-rc.2](https://github.com/SAP/fiori-for-react/compare/v0.3.1-rc.1...v0.3.1-rc.2) (2019-06-13) +## [0.3.1-rc.2](https://github.com/SAP/ui5-webcomponents-react/compare/v0.3.1-rc.1...v0.3.1-rc.2) (2019-06-13) -**Note:** Version bump only for package @fiori-for-react/cli +**Note:** Version bump only for package @ui5-webcomponents-react/cli -## [0.3.1-rc.1](https://github.com/SAP/fiori-for-react/compare/v0.3.1-rc.0...v0.3.1-rc.1) (2019-06-07) +## [0.3.1-rc.1](https://github.com/SAP/ui5-webcomponents-react/compare/v0.3.1-rc.0...v0.3.1-rc.1) (2019-06-07) -**Note:** Version bump only for package @fiori-for-react/cli +**Note:** Version bump only for package @ui5-webcomponents-react/cli -## [0.3.1-rc.0](https://github.com/SAP/fiori-for-react/compare/v0.3.0...v0.3.1-rc.0) (2019-06-03) +## [0.3.1-rc.0](https://github.com/SAP/ui5-webcomponents-react/compare/v0.3.0...v0.3.1-rc.0) (2019-06-03) -**Note:** Version bump only for package @fiori-for-react/cli +**Note:** Version bump only for package @ui5-webcomponents-react/cli -# [0.3.0](https://github.com/SAP/fiori-for-react/compare/v0.2.0...v0.3.0) (2019-06-03) +# [0.3.0](https://github.com/SAP/ui5-webcomponents-react/compare/v0.2.0...v0.3.0) (2019-06-03) -**Note:** Version bump only for package @fiori-for-react/cli +**Note:** Version bump only for package @ui5-webcomponents-react/cli # 0.2.0 (2019-05-15) -**Note:** Version bump only for package @fiori-for-react/cli +**Note:** Version bump only for package @ui5-webcomponents-react/cli diff --git a/packages/cli/README.md b/packages/cli/README.md index e47414432eb..2d9da7e2e4d 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -1,10 +1,10 @@ -# @fiori-for-react/cli -CLI for fiori-for-react +# @ui5-webcomponents-react/cli +CLI for ui5-webcomponents-react ## Contribute -Please check our [Contribution Guidelines](https://github.com/SAP/fiori-for-react/blob/master/CONTRIBUTING.md). +Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents-react/blob/master/CONTRIBUTING.md). ## License Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. -This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/fiori-for-react/blob/master/LICENSE) file. +This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents-react/blob/master/LICENSE) file. diff --git a/packages/cli/package.json b/packages/cli/package.json index 2605af85d86..ea2ea02d369 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,5 +1,5 @@ { - "name": "@fiori-for-react/cli", + "name": "@ui5-webcomponents-react/cli", "private": true, "version": "0.3.2-rc.0", "description": "CLI for creating React Components", diff --git a/packages/cli/src/create-f4r-component.js b/packages/cli/src/create-f4r-component.js index 9a43a606240..ff2a58fba53 100644 --- a/packages/cli/src/create-f4r-component.js +++ b/packages/cli/src/create-f4r-component.js @@ -39,7 +39,7 @@ const jsxSpinner = ora('Creating index.tsx').start(); // create jsx const jsxContent = ` import React, { Component, ComponentClass } from 'react'; -import { withStyles } from '@fiori-for-react/utils'; +import { withStyles } from '@ui5-webcomponents-react/utils'; import styles from './${componentName}.jss'; import { ClassProps } from '../../types/ClassProps'; diff --git a/packages/docs/.storybook/TableComponent.tsx b/packages/docs/.storybook/TableComponent.tsx index 1fe3c464b88..c9d003c5637 100644 --- a/packages/docs/.storybook/TableComponent.tsx +++ b/packages/docs/.storybook/TableComponent.tsx @@ -1,4 +1,13 @@ -import { Badge, Label, Table, TableCell, TableColumn, TableRow, Text, ThemeProvider } from '@fiori-for-react/fiori3'; +import { + Badge, + Label, + Table, + TableCell, + TableColumn, + TableRow, + Text, + ThemeProvider +} from '@ui5-webcomponents-react/fiori3'; import React from 'react'; const columns = [ diff --git a/packages/docs/.storybook/config.js b/packages/docs/.storybook/config.js index ba98b731ed1..2044f837219 100644 --- a/packages/docs/.storybook/config.js +++ b/packages/docs/.storybook/config.js @@ -1,5 +1,5 @@ import React from 'react'; -import { ContentDensity, ThemeProvider, Themes } from '@fiori-for-react/fiori3'; +import { ContentDensity, ThemeProvider, Themes } from '@ui5-webcomponents-react/fiori3'; import { addDecorator, addParameters, configure } from '@storybook/react'; import { makeDecorator } from '@storybook/addons'; import { select, withKnobs } from '@storybook/addon-knobs'; diff --git a/packages/docs/.storybook/decorators/withStyleInfo.tsx b/packages/docs/.storybook/decorators/withStyleInfo.tsx index 1f34a551dd8..08a3cc1d784 100644 --- a/packages/docs/.storybook/decorators/withStyleInfo.tsx +++ b/packages/docs/.storybook/decorators/withStyleInfo.tsx @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import { Label, Text, ThemeProvider } from '@fiori-for-react/fiori3'; +import { Label, Text, ThemeProvider } from '@ui5-webcomponents-react/fiori3'; const withStyleContainer = { fontFamily: diff --git a/packages/docs/.storybook/theme.js b/packages/docs/.storybook/theme.js index 9bd36eed36c..617842be4e6 100644 --- a/packages/docs/.storybook/theme.js +++ b/packages/docs/.storybook/theme.js @@ -37,7 +37,7 @@ export const Fiori4ReactTheme = create({ * name to display in the top left corner * @type {String} */ - brandTitle: 'Fiori-for-React', + brandTitle: 'UI5 Web Components for React', /** * URL for name in top left corner to link to * @type {String} diff --git a/packages/docs/.storybook/webpack.config.js b/packages/docs/.storybook/webpack.config.js index f61ace99fbf..8d065fd5609 100644 --- a/packages/docs/.storybook/webpack.config.js +++ b/packages/docs/.storybook/webpack.config.js @@ -57,10 +57,10 @@ SKIP_DOC_GENERATION=true alias: { ...config.resolve.alias, '@shared': path.join(PATHS.root, 'shared'), - '@fiori-for-react/fiori3': path.join(PATHS.root, 'packages', 'fiori3', 'src', 'index.ts'), - '@fiori-for-react/charts': path.join(PATHS.root, 'packages', 'charts', 'src', 'index.ts'), - '@fiori-for-react/utils': path.join(PATHS.root, 'packages', 'utils', 'src', 'index.ts'), - '@fiori-for-react/styles': path.join(PATHS.root, 'packages', 'styles', 'src', 'index.ts') + '@ui5-webcomponents-react/fiori3': path.join(PATHS.root, 'packages', 'fiori3', 'src', 'index.ts'), + '@ui5-webcomponents-react/charts': path.join(PATHS.root, 'packages', 'charts', 'src', 'index.ts'), + '@ui5-webcomponents-react/utils': path.join(PATHS.root, 'packages', 'utils', 'src', 'index.ts'), + '@ui5-webcomponents-react/styles': path.join(PATHS.root, 'packages', 'styles', 'src', 'index.ts') } } }; diff --git a/packages/docs/Badges.tsx b/packages/docs/Badges.tsx index a6d268b46ba..904c0da3e9b 100644 --- a/packages/docs/Badges.tsx +++ b/packages/docs/Badges.tsx @@ -1,16 +1,16 @@ -import { FlexBox } from '@fiori-for-react/fiori3'; +import { FlexBox } from '@ui5-webcomponents-react/fiori3'; import React from 'react'; export const Badges = () => ( - - Build Status + + Build Status - - Code Coverage + + Code Coverage {/**/} - {/* Slack Badge*/} + {/* Slack Badge*/} {/**/} ); diff --git a/packages/docs/Welcome.tsx b/packages/docs/Welcome.tsx index 5c5d38528b3..dd3637bb42a 100644 --- a/packages/docs/Welcome.tsx +++ b/packages/docs/Welcome.tsx @@ -1,4 +1,4 @@ -import { FlexBox, FlexBoxDirection, Link, Page, Text, Title } from '@fiori-for-react/fiori3'; +import { FlexBox, FlexBoxDirection, Link, Page, Text, Title } from '@ui5-webcomponents-react/fiori3'; import { storiesOf } from '@storybook/react'; import 'highlight.js/styles/solarized-dark.css'; import Highlight from 'react-highlight.js'; @@ -6,16 +6,16 @@ import React from 'react'; import dedent from 'dedent'; import { Badges } from './Badges'; -storiesOf(' Welcome | Fiori-for-React', module) +storiesOf(' Welcome | UI5 Web Components for React', module) .addParameters({ info: { disable: true } }) - .add('What is Fiori-for-React', () => { + .add('What is UI5 Web Components for React', () => { return ( Description
- Fiori-for-React is a Fiori3 compliant React library built on top of the UI5 Web Components. + + UI5 Web Components for React is a Fiori3 compliant React library built on top of the UI5 Web Components. + - With the help of Fiori-for-React, you can use UI5 Web Components as if they were native React components. + With the help of UI5 Web Components for React, you can use UI5 Web Components as if they were native React + components.
- In addition to that, Fiori-for-React is providing complex components and layouts on top of the UI5 Web - Components. + In addition to that, UI5 Web Components for React is providing complex components and layouts on top of the + UI5 Web Components.
@@ -44,7 +47,7 @@ storiesOf(' Welcome | Fiori-for-React', module) () => { return ( Requirements
- In order to use fiori-for-react, you need to have Node.js and npm installed on your computer. + + In order to use ui5-webcomponents-react, you need to have Node.js and npm installed on your computer. +