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

@hig/typography

Package Overview
Dependencies
Maintainers
4
Versions
255
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/typography - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

9

build/index.es.js
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { css } from 'emotion';
import { cx, css } from 'emotion';
import ThemeContext from '@hig/theme-context';

@@ -85,2 +85,5 @@

var className = otherProps.className;
return React.createElement(

@@ -98,3 +101,5 @@ ThemeContext.Consumer,

ElementType,
_extends({ className: css(styles.typography) }, otherProps),
_extends({}, otherProps, {
className: cx(css(styles.typography), className)
}),
children

@@ -101,0 +106,0 @@ );

@@ -92,2 +92,5 @@ 'use strict';

var className = otherProps.className;
return React__default.createElement(

@@ -105,3 +108,5 @@ ThemeContext.Consumer,

ElementType,
_extends({ className: emotion.css(styles.typography) }, otherProps),
_extends({}, otherProps, {
className: emotion.cx(emotion.css(styles.typography), className)
}),
children

@@ -108,0 +113,0 @@ );

@@ -0,1 +1,9 @@

# [@hig/typography-v1.0.4](https://github.com/Autodesk/hig/compare/@hig/typography@1.0.3...@hig/typography@1.0.4) (2019-06-06)
### Bug Fixes
* break out className from otherProps ([7a38584](https://github.com/Autodesk/hig/commit/7a38584))
* enable passing className prop ([25cd959](https://github.com/Autodesk/hig/commit/25cd959))
# [@hig/typography-v1.0.3](https://github.com/Autodesk/hig/compare/@hig/typography@1.0.2...@hig/typography@1.0.3) (2019-03-13)

@@ -2,0 +10,0 @@

{
"name": "@hig/typography",
"version": "1.0.3",
"version": "1.0.4",
"description": "HIG Typography components",

@@ -32,4 +32,4 @@ "author": "Autodesk Inc.",

"peerDependencies": {
"@hig/theme-context": "^2.1.3",
"@hig/theme-data": "^2.3.3",
"@hig/theme-context": "^3.0.0",
"@hig/theme-data": "^2.7.0",
"react": "^15.4.1 || ^16.3.2"

@@ -36,0 +36,0 @@ },

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