Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@trimble-oss/modus-web-components
Advanced tools
The Trimble Modus Design System describes the UX that Trimble wants to provide in its UI across its many applications. The benefits of using Modus include rapid prototyping, development efficiency, and UX consistency.
Modus includes...
This library provides Modus Elements as web components. Web components are reusable, encapsulated UI elements that are framework agnostic (can be implemented in any site). The modus-web-components library was built using the latest UX specs from Figma. Releases follow the semantic versioning 2.0.0 spec.
If this is your first time in the project, run npm install
to download 3rd party packages.
All web components are located under the src/components directory.
The index.html file provides a place to render components for development and end to end testing.
Global SCSS files are available to provide Modus colors, variables and functions for component styling.
Stencil web component implementation details can be found in their Framework Integration Docs.
If you need to use form input web components (eg modus-checkbox, modus-text-input, etc) there are many good examples online. We won't cover them here as they are often very specific to an individual SPA framework.
All NPM scripts are run from the root of the project.
npm install
- Install 3rd party packages
npm start
- Compile and run the Stencil development site
npm run build
- Compile the component library
npm run test
- Run the unit and e2e tests
npm run test.watch
- Run the unit and e2e tests with auto re-run on changes
npm run generate
- Start the interactive Stencil component generator
npm run lint
- Run ESLint to find problems with JS, TS and SCSS code
FAQs
Trimble Modus Web Component Library
The npm package @trimble-oss/modus-web-components receives a total of 1,953 weekly downloads. As such, @trimble-oss/modus-web-components popularity was classified as popular.
We found that @trimble-oss/modus-web-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.