New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@mskcc/components

Package Overview
Dependencies
Maintainers
5
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mskcc/components

latest
npmnpm
Version
2.7.3
Version published
Maintainers
5
Created
Source

@mskcc/components

Style sheets for mskcc components in scss and css formats.

  • @mskcc/components

Getting Started

The DSM requires Dart Sass in order to compile. It uses Sass modules to organize the codebase and provide exports to use.

If you're new to Sass, check out these resources:

Step 1: Install Sass

npm install --save-dev sass

Step 2: Install package

npm install @mskcc/components

Step 3: Import stylesheet

// import all component styles, no need to import components specifically
@use '@mskcc/components/carbon-11';

// or import inidividual component styling
@use '@mskcc/components/carbon-11/components/button';

Import via CDN

You can use the cdn version by injecting it directly into the html. Add this to the <head> of your html.

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@mskcc/components@latest/dist/carbon-11.min.css"
/>

For developing new components

pnpm run gen:component

The script will create a new component folder in carbon-11 directory and keep the carbon-11 index file up-to-date.

Resources

components (carbon 11)typestylesheet
@mskcc/carbon-reactscss@use '@mskcc/components/carbon-11'
css@import '@mskcc/components/dist/carbon-11.min.css'
Component directoryscsscarbon-11/components/'
cssdist/components/'
Themescss@use '@mskcc/components/theme'
css@import '@mskcc/components/dist/theme.css'
For legacy components (carbon 10)typestylesheet
Legacy stylesheetscss@use '@mskcc/src/styles-all'
css@import '@mskcc/dist/legacy.min.css'
Legacy Component directoryscsssrc/'
cssdist/legacy-components/'

FAQs

Package last updated on 05 Feb 2025

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