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

@labrnth/heading

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@labrnth/heading - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

12

CHANGELOG.md

@@ -12,2 +12,14 @@ # Change Log

## 0.1.1 - 05/05/2021
### Added
- Added individual styling to each of the heading variations.
- Added "All Headings" in storybook.
### Changed
- Migrated from @emotion css string format to object format.
- Added stricter prop typings.
## 0.1.0 - 15/04/2021

@@ -14,0 +26,0 @@

8

dist/index.d.ts
import React from 'react';
declare const AsTags: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "div", "label", "span", "header"];
declare type AsTagTypes = typeof AsTags[number];
export interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement & any> {
declare const HeadingVariants: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "div", "label", "span", "header"];
declare type HeadingVariantsTypes = typeof HeadingVariants[number];
export interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement | HTMLElement> {
children: React.ReactNode;
component?: AsTagTypes;
component?: HeadingVariantsTypes;
}

@@ -8,0 +8,0 @@ declare const Heading: React.FC<HeadingProps>;

@@ -1,4 +0,2 @@

import{css as r,jsx as p}from"@emotion/react";import t from"prop-types";import{useTheme as i}from"@labrnth/theme";var m=["h1","h2","h3","h4","h5","h6","div","label","span","header"],e=({children:o,component:n="h1",...a})=>{let s=i();return p(n,{className:"Heading",css:r`
font-family: ${s.fonts.heading};
`,...a},o)};e.propTypes={children:t.node.isRequired,component:t.oneOf(m)};e.displayName="Heading";var g=e;export{g as default};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzeCJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiLyoqIEBqc3hSdW50aW1lIGNsYXNzaWMgKi9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sZHJlbn1cbiAgICA8L0NvbXBvbmVudD5cbiAgKTtcbn07XG5cbkhlYWRpbmcucHJvcFR5cGVzID0ge1xuICBjaGlsZHJlbjogUHJvcFR5cGVzLm5vZGUuaXNSZXF1aXJlZCxcbiAgY29tcG9uZW50OiBQcm9wVHlwZXMub25lT2YoQXNUYWdzKSxcbn07XG5cbkhlYWRpbmcuZGlzcGxheU5hbWUgPSAnSGVhZGluZyc7XG5cbmV4cG9ydCBkZWZhdWx0IEhlYWRpbmc7XG4iXSwKICAibWFwcGluZ3MiOiAiQUFFQSw4Q0FFQSwwQkFDQSwwQ0FFQSxHQUFNLEdBQVMsQ0FDYixLQUNBLEtBQ0EsS0FDQSxLQUNBLEtBQ0EsS0FDQSxNQUNBLFFBQ0EsT0FDQSxVQVVJLEVBQWtDLENBQUMsQ0FDdkMsV0FDQSxVQUFXLEVBQVksUUFDcEIsS0FDQyxDQUNKLEdBQU0sR0FBUSxJQUNkLE1BQ0UsR0FBQyxFQUFELENBQ0UsVUFBVSxVQUNWLElBQUs7QUFBQSx1QkFDWSxFQUFNLE1BQU07QUFBQSxXQUV6QixHQUVILElBS1AsRUFBUSxVQUFZLENBQ2xCLFNBQVUsRUFBVSxLQUFLLFdBQ3pCLFVBQVcsRUFBVSxNQUFNLElBRzdCLEVBQVEsWUFBYyxVQUV0QixHQUFPLEdBQVEiLAogICJuYW1lcyI6IFtdCn0K
import{jsx as g,css as i}from"@emotion/react";import a from"prop-types";import{useTheme as c}from"@labrnth/theme";var f=["h1","h2","h3","h4","h5","h6","div","label","span","header"],p=(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})}},o=({children:e,component:n="h1",...r})=>{let t=c(),l=i({fontFamily:t.fonts.heading,margin:`0 0 ${t.spacing[2]}`}),s=p(t,n);return g(n,{className:"Heading",css:[l,s],...r},e)};o.propTypes={children:a.node.isRequired,component:a.oneOf(f)};o.displayName="Heading";var y=o;export{y as default};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzeCJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiLyoqIEBqc3hSdW50aW1lIGNsYXNzaWMgKi9cbi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4LCBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCB7IFRoZW1lU2NoZW1hLCB1c2VUaGVtZSB9IGZyb20gJ0BsYWJybnRoL3RoZW1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QUFPLFdBQ2xDLFdBQVksRUFBTSxXQUFXLFNBQzdCLGNBQWUsRUFBTSxjQUFjLFlBRWxDLEtBQ0gsTUFBTyxHQUFJLENBQ1QsTUFBTyxFQUFNLE9BQU8sS0FBSyxLQUN6QixTQUFVLEVBQU0sU0FBUyxPQUFPLEtBQ2hDLFdBQVksRUFBTSxTQUFTLE9BQU8sV0FDbEMsV0FBWSxFQUFNLFdBQVcsU0FDN0IsY0FBZSxFQUFNLGNBQWMsWUFFbEMsYUFFSCxNQUFPLEdBQUksQ0FDVCxNQUFPLEVBQU0sT0FBTyxLQUFLLEtBQ3pCLFNBQVUsRUFBTSxTQUFTLE9BQU8sS0FDaEMsV0FBWSxFQUFNLFNBQVMsT0FBTyxXQUNsQyxXQUFZLEVBQU0sV0FBVyxLQUM3QixjQUFlLEVBQU0sY0FBYyxVQVdyQyxFQUFrQyxDQUFDLENBQ3ZDLFdBQ0EsVUFBVyxFQUFZLFFBQ3BCLEtBQ0MsQ0FDSixHQUFNLEdBQVEsSUFFUixFQUFhLEVBQUksQ0FDckIsV0FBWSxFQUFNLE1BQU0sUUFDeEIsT0FBUSxPQUFPLEVBQU0sUUFBUSxPQUd6QixFQUFnQixFQUFpQixFQUFPLEdBRTlDLE1BQ0UsR0FBQyxFQUFELENBQ0UsVUFBVSxVQUNWLElBQUssQ0FBQyxFQUFZLE1BQ2QsR0FFSCxJQUtQLEVBQVEsVUFBWSxDQUNsQixTQUFVLEVBQVUsS0FBSyxXQUN6QixVQUFXLEVBQVUsTUFBTSxJQUc3QixFQUFRLFlBQWMsVUFFdEIsR0FBTyxHQUFRIiwKICAibmFtZXMiOiBbXQp9Cg==

@@ -32,3 +32,3 @@ var __create = Object.create;

var import_theme = __toModule(require("@labrnth/theme"));
var AsTags = [
var HeadingVariants = [
"h1",

@@ -45,2 +45,66 @@ "h2",

];
var getVariantStyles = (theme, component) => {
switch (component) {
case "div":
case "label":
case "span":
case "header":
return (0, import_react.css)({
color: theme.colors.gray[1e3],
fontSize: theme.fontSize.base.size,
lineHeight: theme.fontSize.base.lineHeight,
fontWeight: theme.fontWeight.normal,
letterSpacing: theme.letterSpacing.normal
});
case "h6":
return (0, import_react.css)({
color: theme.colors.gray[1e3],
fontSize: theme.fontSize.base.size,
lineHeight: theme.fontSize.base.lineHeight,
fontWeight: theme.fontWeight.normal,
letterSpacing: theme.letterSpacing.normal
});
case "h5":
return (0, import_react.css)({
color: theme.colors.gray[1e3],
fontSize: theme.fontSize.lg.size,
lineHeight: theme.fontSize.lg.lineHeight,
fontWeight: theme.fontWeight.medium,
letterSpacing: theme.letterSpacing.normal
});
case "h4":
return (0, import_react.css)({
color: theme.colors.gray[1e3],
fontSize: theme.fontSize.xl.size,
lineHeight: theme.fontSize.xl.lineHeight,
fontWeight: theme.fontWeight.medium,
letterSpacing: theme.letterSpacing.normal
});
case "h3":
return (0, import_react.css)({
color: theme.colors.gray[1e3],
fontSize: theme.fontSize["2xl"].size,
lineHeight: theme.fontSize["2xl"].lineHeight,
fontWeight: theme.fontWeight.semibold,
letterSpacing: theme.letterSpacing.tight
});
case "h2":
return (0, import_react.css)({
color: theme.colors.gray[1e3],
fontSize: theme.fontSize["3xl"].size,
lineHeight: theme.fontSize["3xl"].lineHeight,
fontWeight: theme.fontWeight.semibold,
letterSpacing: theme.letterSpacing.tight
});
case "h1":
default:
return (0, import_react.css)({
color: theme.colors.gray[1e3],
fontSize: theme.fontSize["4xl"].size,
lineHeight: theme.fontSize["4xl"].lineHeight,
fontWeight: theme.fontWeight.bold,
letterSpacing: theme.letterSpacing.tight
});
}
};
var Heading = ({

@@ -52,7 +116,10 @@ children,

const theme = (0, import_theme.useTheme)();
const baseStyles = (0, import_react.css)({
fontFamily: theme.fonts.heading,
margin: `0 0 ${theme.spacing[2]}`
});
const headingStyles = getVariantStyles(theme, Component);
return /* @__PURE__ */ (0, import_react.jsx)(Component, {
className: "Heading",
css: import_react.css`
font-family: ${theme.fonts.heading};
`,
css: [baseStyles, headingStyles],
...otherProps

@@ -63,6 +130,6 @@ }, children);

children: import_prop_types.default.node.isRequired,
component: import_prop_types.default.oneOf(AsTags)
component: import_prop_types.default.oneOf(HeadingVariants)
};
Heading.displayName = "Heading";
var src_default = Heading;
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzeCJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiLyoqIEBqc3hSdW50aW1lIGNsYXNzaWMgKi9cbi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgY3NzLCBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCB7IHVzZVRoZW1lIH0gZnJvbSAnQGxhYnJudGgvdGhlbWUnO1xuXG5jb25zdCBBc1RhZ3MgPSBbXG4gICdoMScsXG4gICdoMicsXG4gICdoMycsXG4gICdoNCcsXG4gICdoNScsXG4gICdoNicsXG4gICdkaXYnLFxuICAnbGFiZWwnLFxuICAnc3BhbicsXG4gICdoZWFkZXInLFxuXSBhcyBjb25zdDtcbnR5cGUgQXNUYWdUeXBlcyA9IHR5cGVvZiBBc1RhZ3NbbnVtYmVyXTtcblxuZXhwb3J0IGludGVyZmFjZSBIZWFkaW5nUHJvcHNcbiAgZXh0ZW5kcyBSZWFjdC5IVE1MQXR0cmlidXRlczxIVE1MSGVhZGluZ0VsZW1lbnQgJiBhbnk+IHtcbiAgY2hpbGRyZW46IFJlYWN0LlJlYWN0Tm9kZTtcbiAgY29tcG9uZW50PzogQXNUYWdUeXBlcztcbn1cblxuY29uc3QgSGVhZGluZzogUmVhY3QuRkM8SGVhZGluZ1Byb3BzPiA9ICh7XG4gIGNoaWxkcmVuLFxuICBjb21wb25lbnQ6IENvbXBvbmVudCA9ICdoMScsXG4gIC4uLm90aGVyUHJvcHNcb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UFHN0IsUUFBUSxjQUFjO0FBRXRCLElBQU8sY0FBUTsiLAogICJuYW1lcyI6IFtdCn0K
{
"name": "@labrnth/heading",
"version": "0.1.0",
"version": "0.1.1",
"description": "A heading component.",

@@ -5,0 +5,0 @@ "source": "./src/index.tsx",

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