@purpurds/paragraph
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -5,3 +5,3 @@ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime");function _(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var h={exports:{}};/*! | ||
http://jedwatson.github.io/classnames | ||
*/(function(p){(function(){var i={}.hasOwnProperty;function u(){for(var r="",a=0;a<arguments.length;a++){var e=arguments[a];e&&(r=t(r,o(e)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var a="";for(var e in r)i.call(r,e)&&r[e]&&(a=t(a,e));return a}function t(r,a){return a?r?r+" "+a:r+a:r}p.exports?(u.default=u,p.exports=u):window.classNames=u})()})(h);var d=h.exports;const f=_(d),n={"purpur-paragraph":"_purpur-paragraph_1fzxr_1","purpur-paragraph--disabled":"_purpur-paragraph--disabled_1fzxr_7","purpur-paragraph--hyphens":"_purpur-paragraph--hyphens_1fzxr_10","purpur-paragraph--paragraph-100":"_purpur-paragraph--paragraph-100_1fzxr_13","purpur-paragraph--paragraph-100-medium":"_purpur-paragraph--paragraph-100-medium_1fzxr_19","purpur-paragraph--paragraph-100-bold":"_purpur-paragraph--paragraph-100-bold_1fzxr_26","purpur-paragraph--paragraph-200":"_purpur-paragraph--paragraph-200_1fzxr_33","purpur-paragraph--preamble-100":"_purpur-paragraph--preamble-100_1fzxr_39","purpur-paragraph--preamble-200":"_purpur-paragraph--preamble-200_1fzxr_45","purpur-paragraph--additional-100":"_purpur-paragraph--additional-100_1fzxr_51","purpur-paragraph--additional-100-medium":"_purpur-paragraph--additional-100-medium_1fzxr_57","purpur-paragraph--overline-100":"_purpur-paragraph--overline-100_1fzxr_64","purpur-paragraph--overline-200":"_purpur-paragraph--overline-200_1fzxr_71"},l={PARAGRAPH100:"paragraph-100",PARAGRAPH100MEDIUM:"paragraph-100-medium",PARAGRAPH100BOLD:"paragraph-100-bold",PARAGRAPH200:"paragraph-200",PREAMBLE100:"preamble-100",PREAMBLE200:"preamble-200",ADDITIONAL100:"additional-100",ADDITIONAL100MEDIUM:"additional-100-medium",OVERLINE100:"overline-100",OVERLINE200:"overline-200"},s="purpur-paragraph",c=({["data-testid"]:p,children:i,className:u="",disabled:o,enableHyphenation:t=!1,variant:r=l.PARAGRAPH100,...a})=>{const e=f([u,n[s],n[`${s}--${r}`],{[n[`${s}--hyphens`]]:t,[n[`${s}--disabled`]]:o}]);return g.jsx("p",{...a,className:e,"data-testid":p,children:i})};exports.Paragraph=c;exports.ParagraphVariant=l; | ||
*/(function(p){(function(){var s={}.hasOwnProperty;function u(){for(var r="",a=0;a<arguments.length;a++){var e=arguments[a];e&&(r=t(r,i(e)))}return r}function i(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return u.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var a="";for(var e in r)s.call(r,e)&&r[e]&&(a=t(a,e));return a}function t(r,a){return a?r?r+" "+a:r+a:r}p.exports?(u.default=u,p.exports=u):window.classNames=u})()})(h);var d=h.exports;const b=_(d),o={"purpur-paragraph":"_purpur-paragraph_5wbko_1","purpur-paragraph--disabled":"_purpur-paragraph--disabled_5wbko_7","purpur-paragraph--hyphens":"_purpur-paragraph--hyphens_5wbko_10","purpur-paragraph--paragraph-100":"_purpur-paragraph--paragraph-100_5wbko_13","purpur-paragraph--paragraph-100-medium":"_purpur-paragraph--paragraph-100-medium_5wbko_19","purpur-paragraph--paragraph-100-bold":"_purpur-paragraph--paragraph-100-bold_5wbko_26","purpur-paragraph--paragraph-200":"_purpur-paragraph--paragraph-200_5wbko_33","purpur-paragraph--preamble-100":"_purpur-paragraph--preamble-100_5wbko_39","purpur-paragraph--preamble-200":"_purpur-paragraph--preamble-200_5wbko_45","purpur-paragraph--additional-100":"_purpur-paragraph--additional-100_5wbko_51","purpur-paragraph--additional-100-medium":"_purpur-paragraph--additional-100-medium_5wbko_57","purpur-paragraph--overline-100":"_purpur-paragraph--overline-100_5wbko_64","purpur-paragraph--overline-200":"_purpur-paragraph--overline-200_5wbko_72"},l={PARAGRAPH100:"paragraph-100",PARAGRAPH100MEDIUM:"paragraph-100-medium",PARAGRAPH100BOLD:"paragraph-100-bold",PARAGRAPH200:"paragraph-200",PREAMBLE100:"preamble-100",PREAMBLE200:"preamble-200",ADDITIONAL100:"additional-100",ADDITIONAL100MEDIUM:"additional-100-medium",OVERLINE100:"overline-100",OVERLINE200:"overline-200"},n="purpur-paragraph",c=({["data-testid"]:p,children:s,className:u="",disabled:i,enableHyphenation:t=!1,variant:r=l.PARAGRAPH100,...a})=>{const e=b([u,o[n],o[`${n}--${r}`],{[o[`${n}--hyphens`]]:t,[o[`${n}--disabled`]]:i}]);return g.jsx("p",{...a,className:e,"data-testid":p,children:s})};exports.Paragraph=c;exports.ParagraphVariant=l; | ||
//# sourceMappingURL=paragraph.cjs.js.map |
@@ -41,18 +41,18 @@ import { jsx as l } from "react/jsx-runtime"; | ||
})(h); | ||
var f = h.exports; | ||
const g = /* @__PURE__ */ _(f), n = { | ||
"purpur-paragraph": "_purpur-paragraph_1fzxr_1", | ||
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1fzxr_7", | ||
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1fzxr_10", | ||
"purpur-paragraph--paragraph-100": "_purpur-paragraph--paragraph-100_1fzxr_13", | ||
"purpur-paragraph--paragraph-100-medium": "_purpur-paragraph--paragraph-100-medium_1fzxr_19", | ||
"purpur-paragraph--paragraph-100-bold": "_purpur-paragraph--paragraph-100-bold_1fzxr_26", | ||
"purpur-paragraph--paragraph-200": "_purpur-paragraph--paragraph-200_1fzxr_33", | ||
"purpur-paragraph--preamble-100": "_purpur-paragraph--preamble-100_1fzxr_39", | ||
"purpur-paragraph--preamble-200": "_purpur-paragraph--preamble-200_1fzxr_45", | ||
"purpur-paragraph--additional-100": "_purpur-paragraph--additional-100_1fzxr_51", | ||
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1fzxr_57", | ||
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1fzxr_64", | ||
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1fzxr_71" | ||
}, d = { | ||
var g = h.exports; | ||
const d = /* @__PURE__ */ _(g), o = { | ||
"purpur-paragraph": "_purpur-paragraph_5wbko_1", | ||
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_5wbko_7", | ||
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_5wbko_10", | ||
"purpur-paragraph--paragraph-100": "_purpur-paragraph--paragraph-100_5wbko_13", | ||
"purpur-paragraph--paragraph-100-medium": "_purpur-paragraph--paragraph-100-medium_5wbko_19", | ||
"purpur-paragraph--paragraph-100-bold": "_purpur-paragraph--paragraph-100-bold_5wbko_26", | ||
"purpur-paragraph--paragraph-200": "_purpur-paragraph--paragraph-200_5wbko_33", | ||
"purpur-paragraph--preamble-100": "_purpur-paragraph--preamble-100_5wbko_39", | ||
"purpur-paragraph--preamble-200": "_purpur-paragraph--preamble-200_5wbko_45", | ||
"purpur-paragraph--additional-100": "_purpur-paragraph--additional-100_5wbko_51", | ||
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_5wbko_57", | ||
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_5wbko_64", | ||
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_5wbko_72" | ||
}, b = { | ||
PARAGRAPH100: "paragraph-100", | ||
@@ -68,3 +68,3 @@ PARAGRAPH100MEDIUM: "paragraph-100-medium", | ||
OVERLINE200: "overline-200" | ||
}, o = "purpur-paragraph", c = ({ | ||
}, n = "purpur-paragraph", c = ({ | ||
["data-testid"]: p, | ||
@@ -75,12 +75,12 @@ children: s, | ||
enableHyphenation: t = !1, | ||
variant: r = d.PARAGRAPH100, | ||
variant: r = b.PARAGRAPH100, | ||
...a | ||
}) => { | ||
const e = g([ | ||
const e = d([ | ||
u, | ||
n[o], | ||
n[`${o}--${r}`], | ||
o[n], | ||
o[`${n}--${r}`], | ||
{ | ||
[n[`${o}--hyphens`]]: t, | ||
[n[`${o}--disabled`]]: i | ||
[o[`${n}--hyphens`]]: t, | ||
[o[`${n}--disabled`]]: i | ||
} | ||
@@ -92,4 +92,4 @@ ]); | ||
c as Paragraph, | ||
d as ParagraphVariant | ||
b as ParagraphVariant | ||
}; | ||
//# sourceMappingURL=paragraph.es.js.map |
{ | ||
"name": "@purpurds/paragraph", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"license": "AGPL-3.0-only", | ||
@@ -19,3 +19,3 @@ "main": "./dist/paragraph.cjs.js", | ||
"classnames": "~2.5.0", | ||
"@purpurds/tokens": "4.1.0" | ||
"@purpurds/tokens": "4.1.1" | ||
}, | ||
@@ -22,0 +22,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34616
3
+ Added@purpurds/tokens@4.1.1(transitive)
- Removed@purpurds/tokens@4.1.0(transitive)
Updated@purpurds/tokens@4.1.1