fundamental-ui v1.2.2
What is SAP Fiori Fundamentals?
SAP Fiori Fundamentals is a light-weight presentation layer that can be used with your UI framework of choice (e.g. Angular, React, Vue, etc.). With Fiori Fundamentals’ library of stylesheets and HTML tags, developers can build consistent Fiori apps in any web-based technology.
Learn more at http://sap.github.io/fundamental/
Current version
v1.2.2Getting started
The library is modular so you can use as little or as much as you need.
Full library
The fully compiled, minified library is available via CDN for inclusion in your application.
<link href="//unpkg.com/fundamental-ui@1.2.2/dist/fundamental-ui.min.css" rel="stylesheet">NPM
The compiled CSS for the full library and modules, e.g., core, layout, etc., are distributed via NPM along with the SASS source.
This gives you incredible flexibility to use individual components and enable advanced customization options.
npm install fundamental-ui --saveNOTE: We only distribute the fonts, icons and CSS and the SASS source, not the full project or HTML for specific components.
Working with the project
You can clone the entire repo and work in the full project where we manage the documentation and the test framework.
Download and Installation
Clone Repository - Clone the repo using the git software of your choice or using the git command
git clone https://github.com/SAP/fundamental.gitInstall Gulp - In addition to Node, you must have Gulp installed globally:
npm install -g gulpInstall Ruby Gems - These gems are need to be installed for the documentation site:
gem install ruby bundle jekyllInstall Bundle Dependencies - Bundle dependencies must be installed the from
docsdirectorycd docsand thenbundle installInstall NPM Dependencies:
npm installServe it locally - The documentation website is served from the
docs/_sitedirectory which is generated by Jekyll. To generate and lunch the documentation site, simply execute the gulp command in the terminal at the root of the project directory:gulp
Project dependencies
The project has the following prerequisites and works best with the noted versions.
- Git (for downloading this repo)
- Node LTS 8.12.0
- Gulp 6.4.1
- SCSS (for CSS)
- Nunjucks (for testing)
- Ruby (for documentation site)
- Python 2 (for Jekyll - documentation site)
- Bundle (for documentation site)
- Jekyll (for documentation site)
- XCode (for some Mac OS user)
Limitations
At the time this version was released, there are no known limitations
Known Issues
Configuring icons path when importing SCSS
If you are importing .scss files in your project, the icons path needs to be configured in your project's .scss file before the Fundamental UI scss import as described below. Please note that the path variable name has to be $fd-icons-path in order to override the default value set in scss/icons/icon.scss.
$fd-icons-path : "../node_modules/fundamental-ui/scss/icons/"; // should be declared before the scss import
@import "../node_modules/fundamental-ui/scss/all.scss";How to obtain support
If you encounter an issue, you can create a ticket or write an email to fundamental@sap.com
Contributing
Details of where and how to start developing the new component can be found in test/README.MD file.
New branches should include the type (feature, bug, or hotfix) and the issue number or release number.
git checkout -b feature/000
git checkout -b bug/000
git checkout -b hotfix/000Create a pull request against branch develop and assign it for review. When accepted, the reviewer will merge and delete the branch.
License
Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file.
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago