Socket
Book a DemoInstallSign in
Socket

@cpelements/cp-comments

Package Overview
Dependencies
Maintainers
11
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cpelements/cp-comments

Comments web component made for Red Hat Customer Portal

npmnpm
Version
1.0.19
Version published
Weekly downloads
2.5K
-6.4%
Maintainers
11
Weekly downloads
 
Created
Source

CP-Comments

This web component is intended to be used with the red_hat_comments Drupal module.

This component had a rocky development process and is a bit different from working on most components. It's recommended to develop on this with a local Drupal environment, possibly many Drupal development environments.

Getting Started

See CP Elements Docs for general instructions getting setup, there's helpful info about getting your environment setup and other helpful information.

To get a proper dev setup get CP-comments setup in a Drupal environment:

Compiling

From inside this folder run:

npm run dev

From CP Elements git root run:

# Only watches and compiles CP-Comments and it's dependencies
npm run dev cp-comments

# Or this command that launches a web server and watches/compiles all components:
npm start

The web server is not helpful for CP Elements at time of writing, it only works well in a Drupal context.

Dependencies

  • PFelement base class
  • pfe-avatar
  • pfe-button
  • pfe-icon
  • pfe-markdown

CSS Variables

CSS Property NameDefaultDescription
--cp-comments__loader__color#cccColor of the loading spinner

Keywords

web-components

FAQs

Package last updated on 28 Jun 2023

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