Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ddhub-web-components-lib

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ddhub-web-components-lib

Web Components library for DialogData

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
5
Weekly downloads
 
Created
Source

DDHub Web Components

DDHub Web Components are a collection of Web Components developed and maintained by DialogData. Components are developed using lit-element, bootstrap 4 and font-awesome icons

Quick start

1. Install library

Install the web components library from npm

npm install ddhub-web-components-lib
2. Import theme

In order for the DDHub components to work you need to import the theme, there are two ways:

SCSS
@import "~ddhub-web-components-lib/theme/scss/theme";
CSS
@import "~ddhub-web-components-lib/theme/scss/theme.css";
3. Import component
import 'ddhub-web-components-lib/components/calendar/calendar.js';

or

import 'ddhub-web-components-lib/components/calendar/calendar';
4. Use component in template
<dd-calendar></dd-calendar>

Available Scripts

In the project directory, you can run:

npm start

Runs the storybook from where you can test your web component.
Open http://localhost:9009 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm build

Builds the library for production to the dist folder.
It builds the web components as well as the theme

FAQs

Package last updated on 27 Jan 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

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