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

terra-heading

Package Overview
Dependencies
Maintainers
8
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-heading - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

5

CHANGELOG.md

@@ -7,2 +7,7 @@ Changelog

1.2.0 - (July 26, 2017)
------------------
### Changed
* Converted component to use CSS modules
1.1.0 - (July 18, 2017)

@@ -9,0 +14,0 @@ ------------------

12

lib/Heading.js

@@ -17,10 +17,12 @@ 'use strict';

var _classnames = require('classnames');
var _bind = require('classnames/bind');
var _classnames2 = _interopRequireDefault(_classnames);
var _bind2 = _interopRequireDefault(_bind);
require('terra-base/lib/baseStyles');
require('./Heading.scss');
var _Heading = require('./Heading.scss');
var _Heading2 = _interopRequireDefault(_Heading);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -32,2 +34,4 @@

var cx = _bind2.default.bind(_Heading2.default);
var propTypes = {

@@ -82,3 +86,3 @@ /**

var attributes = _extends({}, customProps);
var TextClassNames = (0, _classnames2.default)(['terra-Heading', { 'terra-Heading--italic': isItalic }, { 'terra-Heading--visually-hidden': isVisuallyHidden }, _defineProperty({}, 'terra-Heading--level-' + level, level), _defineProperty({}, 'terra-Heading--size-' + size, size), _defineProperty({}, 'terra-Heading--weight-' + weight, weight), attributes.className]);
var TextClassNames = cx(['heading', { italic: isItalic }, { 'visually-hidden': isVisuallyHidden }, _defineProperty({}, 'level-' + level, level), _defineProperty({}, 'size-' + size, size), _defineProperty({}, 'weight-' + weight, weight), attributes.className]);

@@ -85,0 +89,0 @@ var headingStyles = {

{
"name": "terra-heading",
"main": "lib/Heading.js",
"version": "1.1.0",
"version": "1.2.0",
"description": "Terra includes styling for all standard headings `h1` through `h6`, as well as styles that match the size of their respective heading.",

@@ -6,0 +6,0 @@ "repository": {

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