Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@highlight-ui/typography

Package Overview
Dependencies
Maintainers
4
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highlight-ui/typography - npm Package Compare versions

Comparing version 1.0.3 to 2.0.0

dist/cjs/index.css

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

# [2.0.0](https://gitlab.personio-internal.de/personio/platform/highlight-ui/compare/@highlight-ui/typography@1.0.3...@highlight-ui/typography@2.0.0) (2021-04-29)
### Features
* **build:** extract css in all packages ([4e5898d](https://gitlab.personio-internal.de/personio/platform/highlight-ui/commit/4e5898dd38942e53099761d37eab405c5764931d))
### BREAKING CHANGES
* **build:** rollup config has been changed
## [1.0.3](https://gitlab.personio-internal.de/personio/platform/highlight-ui/compare/@highlight-ui/typography@1.0.2...@highlight-ui/typography@1.0.3) (2021-04-28)

@@ -8,0 +24,0 @@

31

dist/cjs/index.js

@@ -69,33 +69,4 @@ 'use strict';

function styleInject(css, ref) {
if ( ref === void 0 ) ref = {};
var insertAt = ref.insertAt;
var styles = {"fontFamily":"Typography-module__3vNPOCvt__v2-0-0","heading-1":"Typography-module__3Z0Oot5O__v2-0-0","heading-2":"Typography-module__1JbxWZF3__v2-0-0","heading-3":"Typography-module__2xWY5JDF__v2-0-0","heading-4":"Typography-module__2LqCsgLQ__v2-0-0","subtitle-1":"Typography-module__13OtDNn___v2-0-0","subtitle-2":"Typography-module__1vaNFaoa__v2-0-0","subtitle-3":"Typography-module__OU90cvvz__v2-0-0","subtitle-4":"Typography-module__1gRqi1a1__v2-0-0","body-1":"Typography-module__2uoDh7Lc__v2-0-0","button-1":"Typography-module__1KnOaXLm__v2-0-0","caption-1":"Typography-module__2gU8wbJ6__v2-0-0","caption-2":"Typography-module__3lmxW6P0__v2-0-0","overline-1":"Typography-module__2-d12Wsw__v2-0-0"};
if (!css || typeof document === 'undefined') { return; }
var head = document.head || document.getElementsByTagName('head')[0];
var style = document.createElement('style');
style.type = 'text/css';
if (insertAt === 'top') {
if (head.firstChild) {
head.insertBefore(style, head.firstChild);
} else {
head.appendChild(style);
}
} else {
head.appendChild(style);
}
if (style.styleSheet) {
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
}
var css_248z = "@import url(\"https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap\");\n@import url(\"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap\");\n@import url(\"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap\");\n.Typography-module__3vNPOCvt__v1-0-3 {\n font-family: \"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n}\n\n.Typography-module__3Z0Oot5O__v1-0-3 {\n font-size: 32px;\n font-weight: 700;\n line-height: 44px;\n}\n\n.Typography-module__1JbxWZF3__v1-0-3 {\n font-size: 24px;\n font-weight: 700;\n line-height: 32px;\n}\n\n.Typography-module__2xWY5JDF__v1-0-3 {\n font-size: 18px;\n font-weight: 700;\n line-height: 24px;\n}\n\n.Typography-module__2LqCsgLQ__v1-0-3 {\n font-size: 16px;\n font-weight: 700;\n line-height: 20px;\n}\n\n.Typography-module__13OtDNn___v1-0-3 {\n font-size: 16px;\n font-weight: 600;\n line-height: 20px;\n}\n\n.Typography-module__1vaNFaoa__v1-0-3 {\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n}\n\n.Typography-module__OU90cvvz__v1-0-3 {\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n}\n\n.Typography-module__1gRqi1a1__v1-0-3 {\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n}\n\n.Typography-module__2uoDh7Lc__v1-0-3 {\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n}\n\n.Typography-module__1KnOaXLm__v1-0-3 {\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n}\n\n.Typography-module__2gU8wbJ6__v1-0-3 {\n font-size: 12px;\n font-weight: 700;\n line-height: 16px;\n}\n\n.Typography-module__3lmxW6P0__v1-0-3 {\n font-size: 12px;\n font-weight: 400;\n line-height: 16px;\n}\n\n.Typography-module__2-d12Wsw__v1-0-3 {\n font-size: 10px;\n font-weight: 400;\n line-height: 16px;\n}";
var styles = {"fontFamily":"Typography-module__3vNPOCvt__v1-0-3","heading-1":"Typography-module__3Z0Oot5O__v1-0-3","heading-2":"Typography-module__1JbxWZF3__v1-0-3","heading-3":"Typography-module__2xWY5JDF__v1-0-3","heading-4":"Typography-module__2LqCsgLQ__v1-0-3","subtitle-1":"Typography-module__13OtDNn___v1-0-3","subtitle-2":"Typography-module__1vaNFaoa__v1-0-3","subtitle-3":"Typography-module__OU90cvvz__v1-0-3","subtitle-4":"Typography-module__1gRqi1a1__v1-0-3","body-1":"Typography-module__2uoDh7Lc__v1-0-3","button-1":"Typography-module__1KnOaXLm__v1-0-3","caption-1":"Typography-module__2gU8wbJ6__v1-0-3","caption-2":"Typography-module__3lmxW6P0__v1-0-3","overline-1":"Typography-module__2-d12Wsw__v1-0-3"};
styleInject(css_248z);
var variantMapping = {

@@ -102,0 +73,0 @@ 'heading-1': 'h1',

@@ -42,33 +42,4 @@ import * as React from 'react';

function styleInject(css, ref) {
if ( ref === void 0 ) ref = {};
var insertAt = ref.insertAt;
var styles = {"fontFamily":"Typography-module__3vNPOCvt__v2-0-0","heading-1":"Typography-module__3Z0Oot5O__v2-0-0","heading-2":"Typography-module__1JbxWZF3__v2-0-0","heading-3":"Typography-module__2xWY5JDF__v2-0-0","heading-4":"Typography-module__2LqCsgLQ__v2-0-0","subtitle-1":"Typography-module__13OtDNn___v2-0-0","subtitle-2":"Typography-module__1vaNFaoa__v2-0-0","subtitle-3":"Typography-module__OU90cvvz__v2-0-0","subtitle-4":"Typography-module__1gRqi1a1__v2-0-0","body-1":"Typography-module__2uoDh7Lc__v2-0-0","button-1":"Typography-module__1KnOaXLm__v2-0-0","caption-1":"Typography-module__2gU8wbJ6__v2-0-0","caption-2":"Typography-module__3lmxW6P0__v2-0-0","overline-1":"Typography-module__2-d12Wsw__v2-0-0"};
if (!css || typeof document === 'undefined') { return; }
var head = document.head || document.getElementsByTagName('head')[0];
var style = document.createElement('style');
style.type = 'text/css';
if (insertAt === 'top') {
if (head.firstChild) {
head.insertBefore(style, head.firstChild);
} else {
head.appendChild(style);
}
} else {
head.appendChild(style);
}
if (style.styleSheet) {
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
}
var css_248z = "@import url(\"https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap\");\n@import url(\"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap\");\n@import url(\"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap\");\n.Typography-module__3vNPOCvt__v1-0-3 {\n font-family: \"Open Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n}\n\n.Typography-module__3Z0Oot5O__v1-0-3 {\n font-size: 32px;\n font-weight: 700;\n line-height: 44px;\n}\n\n.Typography-module__1JbxWZF3__v1-0-3 {\n font-size: 24px;\n font-weight: 700;\n line-height: 32px;\n}\n\n.Typography-module__2xWY5JDF__v1-0-3 {\n font-size: 18px;\n font-weight: 700;\n line-height: 24px;\n}\n\n.Typography-module__2LqCsgLQ__v1-0-3 {\n font-size: 16px;\n font-weight: 700;\n line-height: 20px;\n}\n\n.Typography-module__13OtDNn___v1-0-3 {\n font-size: 16px;\n font-weight: 600;\n line-height: 20px;\n}\n\n.Typography-module__1vaNFaoa__v1-0-3 {\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n}\n\n.Typography-module__OU90cvvz__v1-0-3 {\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n}\n\n.Typography-module__1gRqi1a1__v1-0-3 {\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n}\n\n.Typography-module__2uoDh7Lc__v1-0-3 {\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n}\n\n.Typography-module__1KnOaXLm__v1-0-3 {\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n}\n\n.Typography-module__2gU8wbJ6__v1-0-3 {\n font-size: 12px;\n font-weight: 700;\n line-height: 16px;\n}\n\n.Typography-module__3lmxW6P0__v1-0-3 {\n font-size: 12px;\n font-weight: 400;\n line-height: 16px;\n}\n\n.Typography-module__2-d12Wsw__v1-0-3 {\n font-size: 10px;\n font-weight: 400;\n line-height: 16px;\n}";
var styles = {"fontFamily":"Typography-module__3vNPOCvt__v1-0-3","heading-1":"Typography-module__3Z0Oot5O__v1-0-3","heading-2":"Typography-module__1JbxWZF3__v1-0-3","heading-3":"Typography-module__2xWY5JDF__v1-0-3","heading-4":"Typography-module__2LqCsgLQ__v1-0-3","subtitle-1":"Typography-module__13OtDNn___v1-0-3","subtitle-2":"Typography-module__1vaNFaoa__v1-0-3","subtitle-3":"Typography-module__OU90cvvz__v1-0-3","subtitle-4":"Typography-module__1gRqi1a1__v1-0-3","body-1":"Typography-module__2uoDh7Lc__v1-0-3","button-1":"Typography-module__1KnOaXLm__v1-0-3","caption-1":"Typography-module__2gU8wbJ6__v1-0-3","caption-2":"Typography-module__3lmxW6P0__v1-0-3","overline-1":"Typography-module__2-d12Wsw__v1-0-3"};
styleInject(css_248z);
var variantMapping = {

@@ -75,0 +46,0 @@ 'heading-1': 'h1',

{
"name": "@highlight-ui/typography",
"version": "1.0.3",
"version": "2.0.0",
"author": "PPU",

@@ -8,2 +8,3 @@ "main": "dist/cjs/index.js",

"types": "dist/cjs/index.d.ts",
"style": "dist/esm/index.css",
"files": [

@@ -52,3 +53,3 @@ "dist"

},
"gitHead": "25de6e435d644dc4e06f66d61e06a078ddf0a5d5"
"gitHead": "ff1d64b7c6373c8edbcc147b19ceca5b6508270a"
}

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