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

terra-props-table

Package Overview
Dependencies
Maintainers
10
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-props-table - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

5

CHANGELOG.md

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

2.4.0 - (April 15, 2018)
------------------
### Changed
* Fixed code blocks in the Description column not line wrapping
2.3.0 - (March 30, 2018)

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

2

docs/DEPENDENCIES.md

@@ -12,3 +12,3 @@ # Dependency Information

| react-docgen | ^2.15.0 | -- | A CLI and toolkit to extract information from React components for documentation generation. |
| terra-markdown | ^2.2.0 | ^16.2.0 | terra-markdown |
| terra-markdown | ^2.3.0 | ^16.2.0 | terra-markdown |

@@ -15,0 +15,0 @@ ## peerDependencies

@@ -7,2 +7,4 @@ 'use strict';

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* eslint-disable import/no-extraneous-dependencies */

@@ -149,2 +151,3 @@

var tableRowClass = cx('prop-table-row');
var tableClassNames = cx(['props-table', customProps.className]);

@@ -162,3 +165,3 @@ return _react2.default.createElement(

'table',
customProps,
_extends({}, customProps, { className: tableClassNames }),
_react2.default.createElement(

@@ -165,0 +168,0 @@ 'thead',

{
"name": "terra-props-table",
"main": "lib/PropsTable.js",
"version": "2.3.0",
"version": "2.4.0",
"description": "terra-props-table",

@@ -43,4 +43,5 @@ "repository": {

"compile:build": "babel src --out-dir lib --copy-files",
"lint": "npm run lint:js",
"lint": "npm run lint:js && npm run lint:scss",
"lint:js": "eslint --ext .js,.jsx . --ignore-path ../../.eslintignore",
"lint:scss": "stylelint src/**/*.scss",
"test": "npm run test:jest && npm run test:nightwatch",

@@ -47,0 +48,0 @@ "test:jest": "jest ./tests/jest/* --config ../../jestconfig.json",

@@ -74,2 +74,6 @@ /* eslint-disable import/no-extraneous-dependencies */

const tableRowClass = cx('prop-table-row');
const tableClassNames = cx([
'props-table',
customProps.className,
]);

@@ -79,3 +83,3 @@ return (

<h2>{componentName} Props</h2>
<table {...customProps}>
<table {...customProps} className={tableClassNames}>
<thead>

@@ -82,0 +86,0 @@ <tr>

@@ -7,2 +7,3 @@ import React from 'react';

* An example of type string markup.
* `This component contains a very long section of code in it's description column. This component contains a very long section of code in it's description column.`
*/

@@ -16,2 +17,3 @@ string: PropTypes.string.isRequired,

* An example of type boolean markup.
* ```This component contains a very long preformatted section in it's description column. This component contains a very long preformatted section in it's description column.```
*/

@@ -18,0 +20,0 @@ bool: PropTypes.bool,

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