@labrnth/heading
Advanced tools
Comparing version 0.1.6-preview.0 to 0.1.6-preview.1
@@ -8,2 +8,3 @@ import React from 'react'; | ||
variant?: HeadingVariantsTypes; | ||
[key: string]: unknown; | ||
} | ||
@@ -10,0 +11,0 @@ declare const Heading: React.FC<HeadingProps>; |
@@ -1,2 +0,2 @@ | ||
import{jsx as f,css as i}from"@emotion/react";import o from"prop-types";import{useTheme as p}from"@labrnth/theme";var r=["h1","h2","h3","h4","h5","h6","div","label","span","header"],S=(e,n)=>{switch(n){case"div":case"label":case"span":case"header":return i({color:e.colors.gray[1e3],fontSize:e.fontSize.base.size,lineHeight:e.fontSize.base.lineHeight,fontWeight:e.fontWeight.normal,letterSpacing:e.letterSpacing.normal});case"h6":return i({color:e.colors.gray[1e3],fontSize:e.fontSize.base.size,lineHeight:e.fontSize.base.lineHeight,fontWeight:e.fontWeight.normal,letterSpacing:e.letterSpacing.normal});case"h5":return i({color:e.colors.gray[1e3],fontSize:e.fontSize.lg.size,lineHeight:e.fontSize.lg.lineHeight,fontWeight:e.fontWeight.medium,letterSpacing:e.letterSpacing.normal});case"h4":return i({color:e.colors.gray[1e3],fontSize:e.fontSize.xl.size,lineHeight:e.fontSize.xl.lineHeight,fontWeight:e.fontWeight.medium,letterSpacing:e.letterSpacing.normal});case"h3":return i({color:e.colors.gray[1e3],fontSize:e.fontSize["2xl"].size,lineHeight:e.fontSize["2xl"].lineHeight,fontWeight:e.fontWeight.semibold,letterSpacing:e.letterSpacing.tight});case"h2":return i({color:e.colors.gray[1e3],fontSize:e.fontSize["3xl"].size,lineHeight:e.fontSize["3xl"].lineHeight,fontWeight:e.fontWeight.semibold,letterSpacing:e.letterSpacing.tight});case"h1":default:return i({color:e.colors.gray[1e3],fontSize:e.fontSize["4xl"].size,lineHeight:e.fontSize["4xl"].lineHeight,fontWeight:e.fontWeight.bold,letterSpacing:e.letterSpacing.tight})}},a=({children:e,component:n="h1",variant:l,...s})=>{let t=p(),g=i({fontFamily:t.fonts.heading,margin:`0 0 ${t.spacing[2]}`}),c=S(t,l||n);return f(n,{className:"Heading",css:[g,c],...s},e)};a.propTypes={children:o.node.isRequired,component:o.oneOf(r),variant:o.oneOf(r)};a.displayName="Heading";var y=a;export{y as default}; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzeCJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiLyoqIEBqc3hSdW50aW1lIGNsYXNzaWMgKi9cbi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4LCBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCB7IFRoZW1lU2NoZW1hLCB1c2VUaGVtZSB9IGZyb20gJ0BsYWJybnRoL3RoZW1lJztcblxuY29uc3QgSGVhZGluZ1ZhcmlhbnRzID0gW1xuICAnaDEnLFxuICAnaDInLFxuICAnaDMnLFxuICAnaDQnLFxuICAnaDUnLFxuICAnaDYnLFxuICAnZGl2JyxcbiAgJ2xhYmVsJyxcbiAgJ3NwYW4nLFxuICAnaGVhZGVyJyxcbl0gYXMgY29uc3Q7XG5cbnR5cGUgSGVhZGluZ1ZhcmlhbnRzVHlwZXMgPSB0eXBlb2YgSGVhZGluZ1ZhcmlhbnRzW251bWJlcl07XG5cbmNvbnN0IGdldFZhcmlhbnRTdHlsZXMgPSAoXG4gIHRoZW1lOiBUaGVtZVNjaGVtYSxcbiAgdmFyaWFudDogSGVhZGluZ1ZhcmlhbnRzVHlwZXNcbikgPT4ge1xuICBzd2l0Y2ggKHZhcmlhbnQpIHtcbiAgICBjYXNlICdkaXYnOlxuICAgIGNhc2UgJ2xhYmVsJzpcbiAgICBjYXNlICdzcGFuJzpcbiAgICBjYXNlICdoZWFkZXInOlxuICAgICAgcmV0dXJuIG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lICdoNCc6XG4gICAgICByZXR1cm4gY3NzKHtcbiAgICAgICAgY29sb3I6IHRoZW1lLmNvbG9ycy5ncmF5WzEwMDBdLFxuICAgICAgICBmb250U2l6ZTogdGhlbWUuZm9udFNpemUueGwuc2l6ZSxcbiAgICAgICAgbGluZUhlaWdodDogdGhlbWUuZm9udFNpemUueGwubGluZUhlaWdodCxcbiAgICAgICAgZm9udFdlaWdodDogdGhlbWUuZm9udFdlaWdodC5tZWRpdW0sXG4gICAgICAgIGxldHRlclNwYWNpbmc6IHRoZW1lLmxldHRlclNwYWNpbmcubm9ybWFsLFxuICAgICAgfSk7XG4gICAgY2FzZSAnaDMnOlxuICAgICAgcmV0dXJuIGNzcyh7XG4gICAgICAgIGNvbG9yOiB0aGVtZS5jb2xvcnMuZ3JheVsxMDAwXSxcbiAgICAgICAgZm9udFNpemU6IHRoZW1lLmZvbnRTaXplWycyeGwnXS5zaXplLFxuICAgICAgICBsaW5lSGVpZ2h0OiB0aGVtZS5mb250U2l6ZVsnMnhsJ10ubGluZUhlaWdodCxcbiAgICAgICAgZm9udFdlaWdodDogdGhlbWUuZm9udFdlaWdodC5zZW1pYm9sZCxcbiAgICAgICAgbGV0dGVyU3BhY2luZzogdGhlbWUubGV0dGVyU3BhY2luZy50aWdodCxcbiAgICAgIH0pO1xuICAgIGNhc2UgJ2gyJzpcbiAgICAgIHJldHVybiBjc3Moe1xuICAgICAgICBjb2xvcjogdGhlbWUuY29sb3JzLmdyYXlbMTAwMF0sXG4gICAgICAgIGZvbnRTaXplOiB0aGVtZS5mb250U2l6ZVsnM3hsJ10uc2l6ZSxcbiAgICAgICAgbGluZUhlaWdodDogdGhlbWUuZm9udFNpemVbJzN4bCddLmxpbmVIZWlnaHQsXG4gICAgICAgIGZvbnRXZWlnaHQ6IHRoZW1lLmZvbnRXZWlnaHQuc2VtaWJvbGQsXG4gICAgICAgIGxldHRlclNwYWNpbmc6IHRoZW1lLmxldHRlclNwYWNpbmcudGlnaHQsXG4gICAgIC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FZLEVBQU0sV0FBVyxLQUM3QixjQUFlLEVBQU0sY0FBYyxVQWFyQyxFQUFrQyxDQUFDLENBQ3ZDLFdBQ0EsVUFBVyxFQUFZLEtBQ3ZCLGFBQ0csS0FDQyxDQUNKLEdBQU0sR0FBUSxJQUVSLEVBQWEsRUFBSSxDQUNyQixXQUFZLEVBQU0sTUFBTSxRQUN4QixPQUFRLE9BQU8sRUFBTSxRQUFRLE9BR3pCLEVBQWdCLEVBQWlCLEVBQU8sR0FBVyxHQUV6RCxNQUNFLEdBQUMsRUFBRCxDQUNFLFVBQVUsVUFDVixJQUFLLENBQUMsRUFBWSxNQUNkLEdBRUgsSUFLUCxFQUFRLFVBQVksQ0FDbEIsU0FBVSxFQUFVLEtBQUssV0FDekIsVUFBVyxFQUFVLE1BQU0sR0FDM0IsUUFBUyxFQUFVLE1BQU0sSUFHM0IsRUFBUSxZQUFjLFVBRXRCLEdBQU8sR0FBUSIsCiAgIm5hbWVzIjogW10KfQo= | ||
import{jsx as f,css as n}from"@emotion/react";import o from"prop-types";import{useTheme as p}from"@labrnth/theme";var r=["h1","h2","h3","h4","h5","h6","div","label","span","header"],S=(e,i)=>{switch(i){case"div":case"label":case"span":case"header":return n({color:e.colors.gray[1e3],fontSize:e.fontSize.base.size,lineHeight:e.fontSize.base.lineHeight,fontWeight:e.fontWeight.normal,letterSpacing:e.letterSpacing.normal});case"h6":return n({color:e.colors.gray[1e3],fontSize:e.fontSize.base.size,lineHeight:e.fontSize.base.lineHeight,fontWeight:e.fontWeight.normal,letterSpacing:e.letterSpacing.normal});case"h5":return n({color:e.colors.gray[1e3],fontSize:e.fontSize.lg.size,lineHeight:e.fontSize.lg.lineHeight,fontWeight:e.fontWeight.medium,letterSpacing:e.letterSpacing.normal});case"h4":return n({color:e.colors.gray[1e3],fontSize:e.fontSize.xl.size,lineHeight:e.fontSize.xl.lineHeight,fontWeight:e.fontWeight.medium,letterSpacing:e.letterSpacing.normal});case"h3":return n({color:e.colors.gray[1e3],fontSize:e.fontSize["2xl"].size,lineHeight:e.fontSize["2xl"].lineHeight,fontWeight:e.fontWeight.semibold,letterSpacing:e.letterSpacing.tight});case"h2":return n({color:e.colors.gray[1e3],fontSize:e.fontSize["3xl"].size,lineHeight:e.fontSize["3xl"].lineHeight,fontWeight:e.fontWeight.semibold,letterSpacing:e.letterSpacing.tight});case"h1":default:return n({color:e.colors.gray[1e3],fontSize:e.fontSize["4xl"].size,lineHeight:e.fontSize["4xl"].lineHeight,fontWeight:e.fontWeight.bold,letterSpacing:e.letterSpacing.tight})}},a=({children:e,component:i="h1",variant:l,...s})=>{let t=p(),g=n({fontFamily:t.fonts.heading,margin:`0 0 ${t.spacing[2]}`}),c=S(t,l||i);return f(i,{className:"Heading",...s,css:[g,c]},e)};a.propTypes={children:o.node.isRequired,component:o.oneOf(r),variant:o.oneOf(r)};a.displayName="Heading";var y=a;export{y as default}; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzeCJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiLyoqIEBqc3hSdW50aW1lIGNsYXNzaWMgKi9cbi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4LCBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCB7IFRoZW1lU2NoZW1hLCB1c2VUaGVtZSB9IGZyb20gJ0BsYWJybnRoL3RoZW1lJztcblxuY29uc3QgSGVhZGluZ1ZhcmlhbnRzID0gW1xuICAnaDEnLFxuICAnaDInLFxuICAnaDMnLFxuICAnaDQnLFxuICAnaDUnLFxuICAnaDYnLFxuICAnZGl2JyxcbiAgJ2xhYmVsJyxcbiAgJ3NwYW4nLFxuICAnaGVhZGVyJyxcbl0gYXMgY29uc3Q7XG5cbn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1JzpcbiAgICAgIHJldHVybiBjc3Moe1xuICAgICAgICBjb2xvcjogdGhlbWUuY29sb3JzLmdyYXlbMTAwMF0sXG4gICAgICAgIGZvbnRTaXplOiB0aGVtZS5mb250U2l6ZS5sZy5zaXplLFxuICAgICAgICBsaW5lSGVpZ2h0OiB0aGVtZS5mb250U2l6ZS5sZy5saW5lSGVpZ2h0LFxuICAgICAgICBmb250V2VpZ2h0OiB0aGVtZS5mb250V2VpZ2h0Lm1lZGl1bSxcbiAgICAgICAgbGV0dGVyU3BhY2luZzogdGhlbWUubGV0dGVyU3BhY2luZy5ub3JtYWwsXG4gICAgICB9KTtcbiAgICBjYXNlICdoNCc6XG4gICAgICByZXR1cm4gY3NzKHtcbiAgICAgICAgY29sb3I6IHRoZW1lLmNvbG9ycy5ncmF5WzEwMDBdLFxuICAgICAgICBmb250U2l6ZTogdGhlbWUuZm9udFNpemUueGwuc2l6ZSxcbiAgICAgICAgbGluZUhlaWdodDogdGhlbWUuZm9udFNpemUueGwubGluZUhlaWdodCxcbiAgICAgICAgZm9udFdlaWdodDogdGhlbWUuZm9udFdlaWdodC5tZWRpdW0sXG4gICAgICAgIGxldHRlclNwYWNpbmc6IHRoZW1lLmxldHRlclNwYWNpbmcubm9ybWFsLFxuICAgICAgfSk7XG4gICAgY2FzZSAnaDMnOlxuICAgICAgcmV0dXJuIGNzcyh7XG4gICAgICAgIGNvbG9yOiB0aGVtZS5jb2xvcnMuZ3JheVsxMDAwXSxcbiAgICAgICAgZm9udFNpemU6IHRoZW1lLmZvbnRTaXplWycyeGwnXS5zaXplLFxuICAgICAgICBsaW5lSGVpZ2h0OiB0aGVtZS5mb250U2l6ZVsnMnhsJ10ubGluZUhlaWdodCxcbiAgICAgICAgZm9udFdlaWdodDogdGhlbWUuZm9udFdlaWdodC5zZW1pYm9sZCxcbiAgICAgICAgbGV0dGVyU3BhY2luZzogdGhlbWUubGV0dGVyU3BhY2luZy50aWdodCxcbiAgICAgIH0pO1xuICAgIGNhc2U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xjQUFjLFlBRWxDLEtBQ0gsTUFBTyxHQUFJLENBQ1QsTUFBTyxFQUFNLE9BQU8sS0FBSyxLQUN6QixTQUFVLEVBQU0sU0FBUyxPQUFPLEtBQ2hDLFdBQVksRUFBTSxTQUFTLE9BQU8sV0FDbEMsV0FBWSxFQUFNLFdBQVcsU0FDN0IsY0FBZSxFQUFNLGNBQWMsWUFFbEMsYUFFSCxNQUFPLEdBQUksQ0FDVCxNQUFPLEVBQU0sT0FBTyxLQUFLLEtBQ3pCLFNBQVUsRUFBTSxTQUFTLE9BQU8sS0FDaEMsV0FBWSxFQUFNLFNBQVMsT0FBTyxXQUNsQyxXQUFZLEVBQU0sV0FBVyxLQUM3QixjQUFlLEVBQU0sY0FBYyxVQWFyQyxFQUFrQyxDQUFDLENBQ3ZDLFdBQ0EsVUFBVyxFQUFZLEtBQ3ZCLGFBQ0csS0FDQyxDQUNKLEdBQU0sR0FBUSxJQUVSLEVBQWEsRUFBSSxDQUNyQixXQUFZLEVBQU0sTUFBTSxRQUN4QixPQUFRLE9BQU8sRUFBTSxRQUFRLE9BR3pCLEVBQWdCLEVBQWlCLEVBQU8sR0FBVyxHQUV6RCxNQUNFLEdBQUMsRUFBRCxDQUNFLFVBQVUsYUFDTixFQUNKLElBQUssQ0FBQyxFQUFZLElBRWpCLElBS1AsRUFBUSxVQUFZLENBQ2xCLFNBQVUsRUFBVSxLQUFLLFdBQ3pCLFVBQVcsRUFBVSxNQUFNLEdBQzNCLFFBQVMsRUFBVSxNQUFNLElBRzNCLEVBQVEsWUFBYyxVQUV0QixHQUFPLEdBQVEiLAogICJuYW1lcyI6IFtdCn0K |
@@ -122,4 +122,4 @@ var __create = Object.create; | ||
className: "Heading", | ||
css: [baseStyles, headingStyles], | ||
...otherProps | ||
...otherProps, | ||
css: [baseStyles, headingStyles] | ||
}, children); | ||
@@ -134,2 +134,2 @@ }; | ||
var src_default = Heading; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMyw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0QixJQUFPLGNBQVE7IiwKICAibmFtZXMiOiBbXQp9Cg== |
{ | ||
"name": "@labrnth/heading", | ||
"version": "0.1.6-preview.0", | ||
"version": "0.1.6-preview.1", | ||
"description": "A heading component.", | ||
@@ -5,0 +5,0 @@ "source": "./src/index.tsx", |
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
23652