New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ec-europa/ecl-typography-paragraphs

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ec-europa/ecl-typography-paragraphs - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

42

ecl-typography-paragraphs.config.js
module.exports = {
title: 'Paragraphs',
label: 'Paragraphs',
status: 'planned',
collated: false,
default: 'intro',
status: 'ready',
collated: true,
collator(markup, item) {
return `<!-- Start: @${item.handle} -->\n<h3 class="ecl-heading ecl-heading--h3">${item.label}</h3>\n${markup}\n<!-- End: @${item.handle} -->\n`;
},
default: 'l',
variants: [
{
name: 'intro',
label: 'Intro',
name: 'l',
label: 'Leading paragraph',
context: {
modifier: 'paragraph--intro',
modifier: 'ecl-paragraph ecl-paragraph--l',
},
},
{
name: 'small',
label: 'Small body text',
name: 'm',
label: 'Medium paragraph',
context: {
modifier: 'paragraph--small',
modifier: 'ecl-paragraph ecl-paragraph--m',
},
},
{
name: 's',
label: 'Small paragraph',
context: {
modifier: 'ecl-paragraph ecl-paragraph--s',
},
},
{
name: 'xs',
label: 'Extra small paragraph',
context: {
modifier: 'ecl-paragraph ecl-paragraph--xs',
},
},
{
name: 'xxs',
label: 'Extra extra small paragraph',
context: {
modifier: 'ecl-paragraph ecl-paragraph--xxs',
},
},
],
};

@@ -5,3 +5,3 @@ {

"license": "EUPL-1.1",
"version": "0.2.0",
"version": "0.3.0",
"description": "ECL Paragraphs",

@@ -8,0 +8,0 @@ "main": "_paragraphs.scss",

# Paragraphs
Text paragraphs.
Different sizes are available, by using specific modifiers.

Sorry, the diff of this file is not supported yet

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