Socket
Socket
Sign inDemoInstall

fundamental-ngx

Package Overview
Dependencies
Maintainers
1
Versions
360
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fundamental-ngx

SAP Fundamentals, implemented in Angular


Version published
Weekly downloads
440
decreased by-1.79%
Maintainers
1
Weekly downloads
 
Created
Source

Fundamental NGX

npm version Minified Size Minzipped Size Build Status Coverage Status Slack

Description

The fundamental-ngx library is a set of Angular components built using SAP Fundamental Styles.

The SAP Fundamental Styles library is a design system and HTML/CSS component library used to build modern product user experiences with the SAP look and feel.

API Reference

See Component Documentation for examples and API details.

Requirements

To download and use Fundamental NGX, you will first need to install the node package manager.

Fundamental NGX is intended for use with Angular 5 or newer.

Prior knowledge of Angular is recommended.

Getting Started

For an existing Angular CLI application,

  1. Install Fundamental-NGX.

    ng add fundamental-ngx

    If you do not use the Angular CLI or if this command does not work for you, please see the full installation guide.

  2. Import the modules you want to use.

    To add the entire library, add the following import to your main application module.

    import { FundamentalNgxModule } from 'fundamental-ngx';
    
    @NgModule({
        ...
        imports: [FundamentalNgxModule],
    })
    export class DemoModule { }
    

    To include an individual Angular Fundamental component in your application, you only need to import the relevant module.

    For example, to use Toggles, add the following import to your main application module.

    import { ToggleModule } from 'fundamental-ngx';
    
    @NgModule({
        ...
        imports: [ToggleModule],
    })
     export class DemoModule { }
    
  3. Add the component to your HTML.

    <fd-toggle [size]="'l'" [(checked)]="checked">Large Toggle</fd-toggle>
    

Tests

Fundamental NGX makes use of Jasmine and Karma for its unit tests.

Run ng test fundamental-ngx. Append --code-coverage to generate code coverage documentation.

Versioning

The fundamental-ngx library follows Semantic Versioning. These components strictly adhere to the [MAJOR].[MINOR].[PATCH] numbering system (also known as [BREAKING].[FEATURE].[FIX]).

Merges to the master branch will be published as a prerelease. Prereleases will include an rc version (e.g. [MAJOR].[MINOR].[PATCH]-rc.[RC]).

Known Issues

Please see Issues.

Support

If you encounter an issue, you can create a ticket.

Contributing

If you want to contribute, please check the CONTRIBUTING.md documentation for contribution guidelines. Please follow the Angular commit message guidelines.

Check out the NEW_COMPONENT.md guide on building a new component for the library and creating the necessary documentation for your new component.

License

Copyright (c) 2019 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.

Similar Projects

Fundamental-react - React implementation of SAP Fundamental Styles

Fundamental-vue - Vue implementation of SAP Fundamental Styles

FAQs

Package last updated on 21 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc