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 2.1.7 to 3.0.0

2

dist/cjs/index.d.ts

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

export { default } from './src/Typography';
export { default as Typography } from './src/Typography';
export type { TypographyProps } from './src/Typography';
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var React = require('react');

@@ -8,23 +10,3 @@ var classnames = require('classnames');

function _interopNamespace(e) {
if (e && e.__esModule) return e;
var n = Object.create(null);
if (e) {
Object.keys(e).forEach(function (k) {
if (k !== 'default') {
var d = Object.getOwnPropertyDescriptor(e, k);
Object.defineProperty(n, k, d.get ? d : {
enumerable: true,
get: function () {
return e[k];
}
});
}
});
}
n['default'] = e;
return Object.freeze(n);
}
var React__namespace = /*#__PURE__*/_interopNamespace(React);
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);

@@ -70,3 +52,3 @@

var styles = {"fontFamily":"Typography-module__3vNPOCvt__v2-1-7","heading-1":"Typography-module__3Z0Oot5O__v2-1-7","heading-2":"Typography-module__1JbxWZF3__v2-1-7","heading-3":"Typography-module__2xWY5JDF__v2-1-7","heading-4":"Typography-module__2LqCsgLQ__v2-1-7","subtitle-1":"Typography-module__13OtDNn___v2-1-7","subtitle-2":"Typography-module__1vaNFaoa__v2-1-7","subtitle-3":"Typography-module__OU90cvvz__v2-1-7","subtitle-4":"Typography-module__1gRqi1a1__v2-1-7","body-1":"Typography-module__2uoDh7Lc__v2-1-7","button-1":"Typography-module__1KnOaXLm__v2-1-7","caption-1":"Typography-module__2gU8wbJ6__v2-1-7","caption-2":"Typography-module__3lmxW6P0__v2-1-7","overline-1":"Typography-module__2-d12Wsw__v2-1-7"};
var styles = {"fontFamily":"Typography-module__3vNPOCvt__v3-0-0","heading-1":"Typography-module__3Z0Oot5O__v3-0-0","heading-2":"Typography-module__1JbxWZF3__v3-0-0","heading-3":"Typography-module__2xWY5JDF__v3-0-0","heading-4":"Typography-module__2LqCsgLQ__v3-0-0","subtitle-1":"Typography-module__13OtDNn___v3-0-0","subtitle-2":"Typography-module__1vaNFaoa__v3-0-0","subtitle-3":"Typography-module__OU90cvvz__v3-0-0","subtitle-4":"Typography-module__1gRqi1a1__v3-0-0","body-1":"Typography-module__2uoDh7Lc__v3-0-0","button-1":"Typography-module__1KnOaXLm__v3-0-0","caption-1":"Typography-module__2gU8wbJ6__v3-0-0","caption-2":"Typography-module__3lmxW6P0__v3-0-0","overline-1":"Typography-module__2-d12Wsw__v3-0-0"};

@@ -91,8 +73,8 @@ var variantMapping = {

var tag = component || variantMapping[variant];
return React__namespace.createElement(tag, __assign(__assign({}, otherProps), { ref: ref, className: classnames__default['default'](styles[variant], className, styles.fontFamily) }), children);
return React__default['default'].createElement(tag, __assign(__assign({}, otherProps), { ref: ref, className: classnames__default['default'](styles[variant], className, styles.fontFamily) }), children);
};
TypographyWithRef.displayName = 'Typography';
var Typography = React__namespace.forwardRef(TypographyWithRef);
var Typography = React__default['default'].forwardRef(TypographyWithRef);
module.exports = Typography;
exports.Typography = Typography;
//# sourceMappingURL=index.js.map

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

import * as React from 'react';
import React from 'react';
declare type TypographyVariant = 'heading-1' | 'heading-2' | 'heading-3' | 'heading-4' | 'subtitle-1' | 'subtitle-2' | 'subtitle-3' | 'subtitle-4' | 'body-1' | 'button-1' | 'caption-1' | 'caption-2' | 'overline-1';

@@ -3,0 +3,0 @@ export declare type TypographyProps = React.PropsWithChildren<{

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

export { default } from './src/Typography';
export { default as Typography } from './src/Typography';
export type { TypographyProps } from './src/Typography';

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

import * as React from 'react';
import React from 'react';
import classnames from 'classnames';

@@ -42,3 +42,3 @@

var styles = {"fontFamily":"Typography-module__3vNPOCvt__v2-1-7","heading-1":"Typography-module__3Z0Oot5O__v2-1-7","heading-2":"Typography-module__1JbxWZF3__v2-1-7","heading-3":"Typography-module__2xWY5JDF__v2-1-7","heading-4":"Typography-module__2LqCsgLQ__v2-1-7","subtitle-1":"Typography-module__13OtDNn___v2-1-7","subtitle-2":"Typography-module__1vaNFaoa__v2-1-7","subtitle-3":"Typography-module__OU90cvvz__v2-1-7","subtitle-4":"Typography-module__1gRqi1a1__v2-1-7","body-1":"Typography-module__2uoDh7Lc__v2-1-7","button-1":"Typography-module__1KnOaXLm__v2-1-7","caption-1":"Typography-module__2gU8wbJ6__v2-1-7","caption-2":"Typography-module__3lmxW6P0__v2-1-7","overline-1":"Typography-module__2-d12Wsw__v2-1-7"};
var styles = {"fontFamily":"Typography-module__3vNPOCvt__v3-0-0","heading-1":"Typography-module__3Z0Oot5O__v3-0-0","heading-2":"Typography-module__1JbxWZF3__v3-0-0","heading-3":"Typography-module__2xWY5JDF__v3-0-0","heading-4":"Typography-module__2LqCsgLQ__v3-0-0","subtitle-1":"Typography-module__13OtDNn___v3-0-0","subtitle-2":"Typography-module__1vaNFaoa__v3-0-0","subtitle-3":"Typography-module__OU90cvvz__v3-0-0","subtitle-4":"Typography-module__1gRqi1a1__v3-0-0","body-1":"Typography-module__2uoDh7Lc__v3-0-0","button-1":"Typography-module__1KnOaXLm__v3-0-0","caption-1":"Typography-module__2gU8wbJ6__v3-0-0","caption-2":"Typography-module__3lmxW6P0__v3-0-0","overline-1":"Typography-module__2-d12Wsw__v3-0-0"};

@@ -68,3 +68,3 @@ var variantMapping = {

export default Typography;
export { Typography };
//# sourceMappingURL=index.js.map

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

import * as React from 'react';
import React from 'react';
declare type TypographyVariant = 'heading-1' | 'heading-2' | 'heading-3' | 'heading-4' | 'subtitle-1' | 'subtitle-2' | 'subtitle-3' | 'subtitle-4' | 'body-1' | 'button-1' | 'caption-1' | 'caption-2' | 'overline-1';

@@ -3,0 +3,0 @@ export declare type TypographyProps = React.PropsWithChildren<{

{
"name": "@highlight-ui/typography",
"version": "2.1.7",
"version": "3.0.0",
"author": "PPU",

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

},
"gitHead": "b23625e1ee38082febededafbfdadea9ff4ebb6d"
"gitHead": "5fceeca8c701b19aacbed68f0b22f63738bd3113"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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