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

@purpurds/heading

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@purpurds/heading - npm Package Compare versions

Comparing version 4.4.0 to 4.5.0

4

dist/heading.cjs.js

@@ -1,6 +0,6 @@

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("react/jsx-runtime");function c(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var d={exports:{}};/*!
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime");function g(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var h={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(r){(function(){var s={}.hasOwnProperty;function n(){for(var t="",e=0;e<arguments.length;e++){var i=arguments[e];i&&(t=p(t,l(i)))}return t}function l(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var i in t)s.call(t,i)&&t[i]&&(e=p(e,i));return e}function p(t,e){return e?t?t+" "+e:t+e:t}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(d);var y=d.exports;const f=c(y),a={"purpur-heading":"_purpur-heading_1g237_1","purpur-heading--hyphens":"_purpur-heading--hyphens_1g237_8","purpur-heading--negative":"_purpur-heading--negative_1g237_11","purpur-heading--subsection-100":"_purpur-heading--subsection-100_1g237_14","purpur-heading--title-100":"_purpur-heading--title-100_1g237_20","purpur-heading--title-200":"_purpur-heading--title-200_1g237_26","purpur-heading--title-300":"_purpur-heading--title-300_1g237_32","purpur-heading--title-400":"_purpur-heading--title-400_1g237_38","purpur-heading--title-500":"_purpur-heading--title-500_1g237_44","purpur-heading--title-600":"_purpur-heading--title-600_1g237_50","purpur-heading--title-700":"_purpur-heading--title-700_1g237_56","purpur-heading--display-25":"_purpur-heading--display-25_1g237_62","purpur-heading--display-50":"_purpur-heading--display-50_1g237_68","purpur-heading--display-100":"_purpur-heading--display-100_1g237_74","purpur-heading--display-200":"_purpur-heading--display-200_1g237_80"},T={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6"},g={TITLE100:"title-100",TITLE200:"title-200",TITLE300:"title-300",TITLE400:"title-400",TITLE500:"title-500",TITLE600:"title-600",TITLE700:"title-700",SUBSECTION100:"subsection-100"},I={DISPLAY25:"display-25",DISPLAY50:"display-50",DISPLAY100:"display-100",DISPLAY200:"display-200"},u="purpur-heading",S=({["data-testid"]:r,children:s,className:n="",enableHyphenation:l=!1,negative:p=!1,tag:t,variant:e=g.TITLE100,...i})=>{const o=t,h=f([n,a[u],a[`${u}--${e}`],{[a[`${u}--hyphens`]]:l,[a[`${u}--negative`]]:p}]);return _.jsx(o,{...i,className:h,"data-testid":r,children:s})};exports.DisplayVariant=I;exports.Heading=S;exports.HeadingTag=T;exports.TitleVariant=g;
*/(function(r){(function(){var s={}.hasOwnProperty;function n(){for(var t="",e=0;e<arguments.length;e++){var i=arguments[e];i&&(t=p(t,l(i)))}return t}function l(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var i in t)s.call(t,i)&&t[i]&&(e=p(e,i));return e}function p(t,e){return e?t?t+" "+e:t+e:t}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(h);var c=h.exports;const y=g(c),a={"purpur-heading":"_purpur-heading_k9fhq_1","purpur-heading--hyphens":"_purpur-heading--hyphens_k9fhq_8","purpur-heading--negative":"_purpur-heading--negative_k9fhq_11","purpur-heading--subsection-100":"_purpur-heading--subsection-100_k9fhq_14","purpur-heading--title-100":"_purpur-heading--title-100_k9fhq_20","purpur-heading--title-200":"_purpur-heading--title-200_k9fhq_26","purpur-heading--title-300":"_purpur-heading--title-300_k9fhq_32","purpur-heading--title-400":"_purpur-heading--title-400_k9fhq_38","purpur-heading--title-500":"_purpur-heading--title-500_k9fhq_44","purpur-heading--title-600":"_purpur-heading--title-600_k9fhq_50","purpur-heading--title-700":"_purpur-heading--title-700_k9fhq_56","purpur-heading--display-25":"_purpur-heading--display-25_k9fhq_62","purpur-heading--display-50":"_purpur-heading--display-50_k9fhq_68","purpur-heading--display-100":"_purpur-heading--display-100_k9fhq_74","purpur-heading--display-200":"_purpur-heading--display-200_k9fhq_80"},T={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6"},d={TITLE100:"title-100",TITLE200:"title-200",TITLE300:"title-300",TITLE400:"title-400",TITLE500:"title-500",TITLE600:"title-600",TITLE700:"title-700",SUBSECTION100:"subsection-100"},q={DISPLAY25:"display-25",DISPLAY50:"display-50",DISPLAY100:"display-100",DISPLAY200:"display-200"},u="purpur-heading",k=({["data-testid"]:r,children:s,className:n="",enableHyphenation:l=!1,negative:p=!1,tag:t,variant:e=d.TITLE100,...i})=>{const o=t,_=y([n,a[u],a[`${u}--${e}`],{[a[`${u}--hyphens`]]:l,[a[`${u}--negative`]]:p}]);return f.jsx(o,{...i,className:_,"data-testid":r,children:s})};exports.DisplayVariant=q;exports.Heading=k;exports.HeadingTag=T;exports.TitleVariant=d;
//# sourceMappingURL=heading.cjs.js.map

@@ -1,6 +0,6 @@

import { jsx as h } from "react/jsx-runtime";
function _(r) {
import { jsx as _ } from "react/jsx-runtime";
function f(r) {
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
}
var d = { exports: {} };
var l = { exports: {} };
/*!

@@ -17,7 +17,7 @@ Copyright (c) 2018 Jed Watson.

var i = arguments[e];
i && (t = n(t, l(i)));
i && (t = n(t, h(i)));
}
return t;
}
function l(t) {
function h(t) {
if (typeof t == "string" || typeof t == "number")

@@ -41,21 +41,21 @@ return t;

})();
})(d);
var c = d.exports;
const f = /* @__PURE__ */ _(c), u = {
"purpur-heading": "_purpur-heading_1g237_1",
"purpur-heading--hyphens": "_purpur-heading--hyphens_1g237_8",
"purpur-heading--negative": "_purpur-heading--negative_1g237_11",
"purpur-heading--subsection-100": "_purpur-heading--subsection-100_1g237_14",
"purpur-heading--title-100": "_purpur-heading--title-100_1g237_20",
"purpur-heading--title-200": "_purpur-heading--title-200_1g237_26",
"purpur-heading--title-300": "_purpur-heading--title-300_1g237_32",
"purpur-heading--title-400": "_purpur-heading--title-400_1g237_38",
"purpur-heading--title-500": "_purpur-heading--title-500_1g237_44",
"purpur-heading--title-600": "_purpur-heading--title-600_1g237_50",
"purpur-heading--title-700": "_purpur-heading--title-700_1g237_56",
"purpur-heading--display-25": "_purpur-heading--display-25_1g237_62",
"purpur-heading--display-50": "_purpur-heading--display-50_1g237_68",
"purpur-heading--display-100": "_purpur-heading--display-100_1g237_74",
"purpur-heading--display-200": "_purpur-heading--display-200_1g237_80"
}, I = {
})(l);
var g = l.exports;
const c = /* @__PURE__ */ f(g), u = {
"purpur-heading": "_purpur-heading_k9fhq_1",
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
"purpur-heading--subsection-100": "_purpur-heading--subsection-100_k9fhq_14",
"purpur-heading--title-100": "_purpur-heading--title-100_k9fhq_20",
"purpur-heading--title-200": "_purpur-heading--title-200_k9fhq_26",
"purpur-heading--title-300": "_purpur-heading--title-300_k9fhq_32",
"purpur-heading--title-400": "_purpur-heading--title-400_k9fhq_38",
"purpur-heading--title-500": "_purpur-heading--title-500_k9fhq_44",
"purpur-heading--title-600": "_purpur-heading--title-600_k9fhq_50",
"purpur-heading--title-700": "_purpur-heading--title-700_k9fhq_56",
"purpur-heading--display-25": "_purpur-heading--display-25_k9fhq_62",
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
}, q = {
H1: "h1",

@@ -76,3 +76,3 @@ H2: "h2",

SUBSECTION100: "subsection-100"
}, L = {
}, k = {
DISPLAY25: "display-25",

@@ -82,7 +82,7 @@ DISPLAY50: "display-50",

DISPLAY200: "display-200"
}, a = "purpur-heading", m = ({
}, a = "purpur-heading", I = ({
["data-testid"]: r,
children: s,
className: p = "",
enableHyphenation: l = !1,
enableHyphenation: h = !1,
negative: n = !1,

@@ -93,3 +93,3 @@ tag: t,

}) => {
const g = t, o = f([
const d = t, o = c([
p,

@@ -99,14 +99,14 @@ u[a],

{
[u[`${a}--hyphens`]]: l,
[u[`${a}--hyphens`]]: h,
[u[`${a}--negative`]]: n
}
]);
return /* @__PURE__ */ h(g, { ...i, className: o, "data-testid": r, children: s });
return /* @__PURE__ */ _(d, { ...i, className: o, "data-testid": r, children: s });
};
export {
L as DisplayVariant,
m as Heading,
I as HeadingTag,
k as DisplayVariant,
I as Heading,
q as HeadingTag,
y as TitleVariant
};
//# sourceMappingURL=heading.es.js.map
{
"name": "@purpurds/heading",
"version": "4.4.0",
"version": "4.5.0",
"license": "AGPL-3.0-only",

@@ -18,3 +18,3 @@ "main": "./dist/heading.cjs.js",

"classnames": "~2.5.0",
"@purpurds/tokens": "4.4.0"
"@purpurds/tokens": "4.5.0"
},

@@ -21,0 +21,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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