Socket
Book a DemoInstallSign in
Socket

@daimler/productkit-web

Package Overview
Dependencies
Maintainers
5
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@daimler/productkit-web

Product Kit for Web provides components for Daimler TSS web frontends based on Material Web Components

unpublished
latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
5
Created
Source

Product Kit Web Logo license npm material-components-web

Product Kit for Web provides components for Daimler TSS web frontends based on Material Web Components.

Feel free to open an issue or provide a pull request with the desired modifications.

Examples

Component Overview

Installation

Note that you must have node (and npm) installed.

Install the npm package from the root directory through:

npm install @daimler/productkit-web

Import styles.scss inside your App.scss or similar root styling scss file:

@import "@daimler/productkit-web/src/theme/scss/styles";

Your Material components should now be styled accordingly to the styleguide of Daimler TSS!

Usage

Add a component like for instance a button as stated in the Material documentation/examples:

<button class="mdc-button">
    <span class="mdc-button__ripple"></span>
    <span class="mdc-button__label">Text Button</span>
</button>

You don't need to import any styling as Product Kit does all the styling for you!

Add ripple effect or other modifications in your App.js:

import {MDCRipple} from '@material/ripple';

const buttonRipple = new MDCRipple(document.querySelector('.mdc-button'));

Please look up other components in the Material documentation.

If you need help or something isn't working as expected feel free to open an issue.

Contributing

We welcome any contributions. If you want to contribute to this project, please read the contributing guide.

Code of Conduct

Please read our Code of Conduct as it is our base for interaction.

License

This project is licensed under the MIT LICENSE.

Provider Information

Please visit https://www.daimler-tss.com/en/imprint/ for information on the provider.

Notice: Before you use the program in productive use, please take all necessary precautions, e.g. testing and verifying the program with regard to your specific use. The program was tested solely for our own use cases, which might differ from yours.

FAQs

Package last updated on 15 Dec 2021

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