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

@jamsr-ui/typography

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jamsr-ui/typography - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

dist/chunk-P36SFA7V.mjs

2

dist/index.js
"use client"
"use strict";var n=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var c=(o,t)=>{for(var r in t)n(o,r,{get:t[r],enumerable:!0})},u=(o,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of h(t))!F.call(o,e)&&e!==r&&n(o,e,{get:()=>t[e],enumerable:!(a=b(t,e))||a.enumerable});return o};var V=o=>u(n({},"__esModule",{value:!0}),o);var P={};c(P,{Typography:()=>m,typographyVariants:()=>p});module.exports=V(P);var i=require("@jamsr-ui/utils");var s=require("@jamsr-ui/utils"),p=(0,s.tv)({base:"subpixel-antialiased",variants:{variant:{h1:"text-4xl font-semibold md:text-5xl",h2:"text-3xl font-semibold md:text-4xl",h3:"text-2xl font-semibold md:text-3xl",h4:"text-xl font-semibold md:text-2xl",h5:"text-lg font-semibold md:text-xl",h6:"text-base font-semibold",subtitle:"text-[14px] font-medium",subtitle2:"text-xs font-medium",body:"text-[14px]",body2:"text-sm",caption:"text-xs","display-bold":"text-base font-medium md:text-lg",display:"text-base font-normal md:text-lg"},gradient:{violet:"from-[#FF1CF7] to-[#b249f8]",yellow:"from-[#FF705B] to-[#FFB457]",blue:"from-[#5EA2EF] to-[#0072F5]",cyan:"from-[#00b7fa] to-[#01cfea]",green:"from-[#6FEE8D] to-[#17c964]",pink:"from-[#FF72E1] to-[#F54C7A]",foreground:"dark:from-[#FFFFFF] dark:to-[#4B4B4B]"},spaced:{true:"leading-[1.9] tracking-wide sm:leading-[1.9]"},gutterBottom:{true:"mb-2"},fontSize:{inherit:"!text-size-inherit"}},defaultVariants:{spaced:!1,variant:"body"},compoundVariants:[{gradient:["violet","yellow","blue","cyan","green","pink","foreground"],class:"bg-gradient-to-b bg-clip-text text-transparent"}]});var l=require("react/jsx-runtime"),m=(0,i.forwardRefUI)((o,t)=>{let{as:r,className:a,variant:e,spaced:x,gutterBottom:d,gradient:y,fontSize:f,...g}=o;return(0,l.jsx)(r??"p",{ref:t,className:p({variant:e,spaced:x,gutterBottom:d,gradient:y,fontSize:f,className:a}),...g})});0&&(module.exports={Typography,typographyVariants});
"use strict";var n=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var c=(o,t)=>{for(var r in t)n(o,r,{get:t[r],enumerable:!0})},u=(o,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of h(t))!F.call(o,e)&&e!==r&&n(o,e,{get:()=>t[e],enumerable:!(a=b(t,e))||a.enumerable});return o};var V=o=>u(n({},"__esModule",{value:!0}),o);var P={};c(P,{Typography:()=>m,typographyVariants:()=>p});module.exports=V(P);var i=require("@jamsr-ui/utils");var s=require("@jamsr-ui/utils"),p=(0,s.tv)({base:"subpixel-antialiased",variants:{variant:{h1:"text-4xl font-semibold md:text-5xl",h2:"text-3xl font-semibold md:text-4xl",h3:"text-2xl font-semibold md:text-3xl",h4:"text-xl font-semibold md:text-2xl",h5:"text-lg font-semibold md:text-xl",h6:"text-base font-semibold",subtitle:"text-[14px] font-medium",subtitle2:"text-xs font-medium",body:"text-[14px]",body2:"text-sm",caption:"text-xs","display-bold":"text-base font-medium md:text-lg",display:"text-base font-normal md:text-lg"},gradient:{violet:"from-[#FF1CF7] to-[#b249f8]",yellow:"from-[#FF705B] to-[#FFB457]",blue:"from-[#5EA2EF] to-[#0072F5]",cyan:"from-[#00b7fa] to-[#01cfea]",green:"from-[#6FEE8D] to-[#17c964]",pink:"from-[#FF72E1] to-[#F54C7A]",foreground:"dark:from-[#FFFFFF] dark:to-[#4B4B4B]"},spaced:{true:"leading-[1.9] tracking-wide sm:leading-[1.9]"},gutterBottom:{true:"mb-2"},fontSize:{inherit:"!text-size-inherit"}},defaultVariants:{spaced:!1,variant:"body"},compoundVariants:[{gradient:["violet","yellow","blue","cyan","green","pink","foreground"],class:"bg-gradient-to-b bg-clip-text text-transparent"}]});var l=require("react/jsx-runtime"),m=(0,i.forwardRefUI)((o,t)=>{let{as:r,className:a,variant:e,spaced:x,gutterBottom:y,gradient:d,fontSize:f,...g}=o;return(0,l.jsx)(r??"p",{"data-component":"typography",ref:t,className:p({variant:e,spaced:x,gutterBottom:y,gradient:d,fontSize:f,className:a}),...g})});0&&(module.exports={Typography,typographyVariants});
"use client"
"use strict";var n=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var c=(e,t)=>{for(var a in t)n(e,a,{get:t[a],enumerable:!0})},h=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of b(t))!F.call(e,o)&&o!==a&&n(e,o,{get:()=>t[o],enumerable:!(r=g(t,o))||r.enumerable});return e};var u=e=>h(n({},"__esModule",{value:!0}),e);var v={};c(v,{Typography:()=>V});module.exports=u(v);var s=require("@jamsr-ui/utils");var p=require("@jamsr-ui/utils"),i=(0,p.tv)({base:"subpixel-antialiased",variants:{variant:{h1:"text-4xl font-semibold md:text-5xl",h2:"text-3xl font-semibold md:text-4xl",h3:"text-2xl font-semibold md:text-3xl",h4:"text-xl font-semibold md:text-2xl",h5:"text-lg font-semibold md:text-xl",h6:"text-base font-semibold",subtitle:"text-[14px] font-medium",subtitle2:"text-xs font-medium",body:"text-[14px]",body2:"text-sm",caption:"text-xs","display-bold":"text-base font-medium md:text-lg",display:"text-base font-normal md:text-lg"},gradient:{violet:"from-[#FF1CF7] to-[#b249f8]",yellow:"from-[#FF705B] to-[#FFB457]",blue:"from-[#5EA2EF] to-[#0072F5]",cyan:"from-[#00b7fa] to-[#01cfea]",green:"from-[#6FEE8D] to-[#17c964]",pink:"from-[#FF72E1] to-[#F54C7A]",foreground:"dark:from-[#FFFFFF] dark:to-[#4B4B4B]"},spaced:{true:"leading-[1.9] tracking-wide sm:leading-[1.9]"},gutterBottom:{true:"mb-2"},fontSize:{inherit:"!text-size-inherit"}},defaultVariants:{spaced:!1,variant:"body"},compoundVariants:[{gradient:["violet","yellow","blue","cyan","green","pink","foreground"],class:"bg-gradient-to-b bg-clip-text text-transparent"}]});var l=require("react/jsx-runtime"),V=(0,s.forwardRefUI)((e,t)=>{let{as:a,className:r,variant:o,spaced:m,gutterBottom:d,gradient:x,fontSize:f,...y}=e;return(0,l.jsx)(a??"p",{ref:t,className:i({variant:o,spaced:m,gutterBottom:d,gradient:x,fontSize:f,className:r}),...y})});0&&(module.exports={Typography});
"use strict";var p=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var c=(e,t)=>{for(var a in t)p(e,a,{get:t[a],enumerable:!0})},h=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of b(t))!F.call(e,o)&&o!==a&&p(e,o,{get:()=>t[o],enumerable:!(r=g(t,o))||r.enumerable});return e};var u=e=>h(p({},"__esModule",{value:!0}),e);var v={};c(v,{Typography:()=>V});module.exports=u(v);var s=require("@jamsr-ui/utils");var n=require("@jamsr-ui/utils"),i=(0,n.tv)({base:"subpixel-antialiased",variants:{variant:{h1:"text-4xl font-semibold md:text-5xl",h2:"text-3xl font-semibold md:text-4xl",h3:"text-2xl font-semibold md:text-3xl",h4:"text-xl font-semibold md:text-2xl",h5:"text-lg font-semibold md:text-xl",h6:"text-base font-semibold",subtitle:"text-[14px] font-medium",subtitle2:"text-xs font-medium",body:"text-[14px]",body2:"text-sm",caption:"text-xs","display-bold":"text-base font-medium md:text-lg",display:"text-base font-normal md:text-lg"},gradient:{violet:"from-[#FF1CF7] to-[#b249f8]",yellow:"from-[#FF705B] to-[#FFB457]",blue:"from-[#5EA2EF] to-[#0072F5]",cyan:"from-[#00b7fa] to-[#01cfea]",green:"from-[#6FEE8D] to-[#17c964]",pink:"from-[#FF72E1] to-[#F54C7A]",foreground:"dark:from-[#FFFFFF] dark:to-[#4B4B4B]"},spaced:{true:"leading-[1.9] tracking-wide sm:leading-[1.9]"},gutterBottom:{true:"mb-2"},fontSize:{inherit:"!text-size-inherit"}},defaultVariants:{spaced:!1,variant:"body"},compoundVariants:[{gradient:["violet","yellow","blue","cyan","green","pink","foreground"],class:"bg-gradient-to-b bg-clip-text text-transparent"}]});var m=require("react/jsx-runtime"),V=(0,s.forwardRefUI)((e,t)=>{let{as:a,className:r,variant:o,spaced:l,gutterBottom:d,gradient:x,fontSize:y,...f}=e;return(0,m.jsx)(a??"p",{"data-component":"typography",ref:t,className:i({variant:o,spaced:l,gutterBottom:d,gradient:x,fontSize:y,className:r}),...f})});0&&(module.exports={Typography});
{
"name": "@jamsr-ui/typography",
"version": "0.0.16",
"version": "0.0.17",
"description": "",

@@ -24,3 +24,3 @@ "main": "./dist/index.mjs",

"dependencies": {
"@jamsr-ui/utils": "^0.0.14"
"@jamsr-ui/utils": "^0.0.15"
},

@@ -27,0 +27,0 @@ "module": "dist/index.mjs",

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