
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
@daimler/productkit-web
Advanced tools
Product Kit for Web provides components for Daimler TSS web frontends based on Material Web Components
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.
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!
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.
We welcome any contributions. If you want to contribute to this project, please read the contributing guide.
Please read our Code of Conduct as it is our base for interaction.
This project is licensed under the MIT LICENSE.
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
Product Kit for Web provides components for Daimler TSS web frontends based on Material Web Components
We found that @daimler/productkit-web demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Research
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.