terra-props-table
Advanced tools
Comparing version 2.38.0 to 2.39.0
@@ -7,5 +7,7 @@ Changelog | ||
2.38.0 - (August 14, 2019) | ||
------------------ | ||
2.39.0 - (August 21, 2019) | ||
-------------------------- | ||
### Changed | ||
* Cleaned up imports in examples and test files | ||
* Added comments for ESlint v6 | ||
* updated package.json test scripts | ||
@@ -12,0 +14,0 @@ |
@@ -157,2 +157,4 @@ "use strict"; | ||
var customRequired = prop.type.name === 'custom' && prop.type.raw.includes('isRequired'); | ||
/* eslint-disable react/forbid-dom-props */ | ||
return _react.default.createElement("tr", { | ||
@@ -187,2 +189,3 @@ className: tableRowClass, | ||
}))); | ||
/* eslint-enable react/forbid-dom-props */ | ||
})))); | ||
@@ -189,0 +192,0 @@ }; |
@@ -16,3 +16,3 @@ "use strict"; | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first, import/no-unresolved, import/extensions | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first | ||
var MockPrivatePropsTable = function MockPrivatePropsTable() { | ||
@@ -19,0 +19,0 @@ return _react.default.createElement("div", null, _react.default.createElement(_PropsTable.default, { |
@@ -16,3 +16,3 @@ "use strict"; | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first, import/no-unresolved, import/extensions | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first | ||
var MockPropsTable = function MockPropsTable() { | ||
@@ -19,0 +19,0 @@ return _react.default.createElement("div", null, _react.default.createElement(_PropsTable.default, { |
@@ -16,3 +16,3 @@ "use strict"; | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first, import/no-unresolved, import/extensions | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first | ||
var MockPropsTableWithTitle = function MockPropsTableWithTitle() { | ||
@@ -19,0 +19,0 @@ return _react.default.createElement("div", null, _react.default.createElement(_PropsTable.default, { |
{ | ||
"name": "terra-props-table", | ||
"main": "lib/PropsTable.js", | ||
"version": "2.38.0", | ||
"version": "2.39.0", | ||
"description": "React component to render a table view for the props metadata of another react component.", | ||
@@ -36,3 +36,3 @@ "repository": { | ||
"react-docgen": "^2.15.0", | ||
"terra-markdown": "^2.32.0" | ||
"terra-markdown": "^2.33.0" | ||
}, | ||
@@ -49,3 +49,3 @@ "scripts": { | ||
}, | ||
"gitHead": "d3a78e594d028b254196bacaaf2c84ebdc521cbe" | ||
"gitHead": "37723a89a2355ab6990c3ea974ad4a6764bcfa42" | ||
} |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
import React from 'react'; | ||
@@ -162,2 +161,3 @@ import PropTypes from 'prop-types'; | ||
/* eslint-disable react/forbid-dom-props */ | ||
return ( | ||
@@ -176,2 +176,3 @@ <tr className={tableRowClass} key={key} style={{ fontSize: '90%' }}> | ||
); | ||
/* eslint-enable react/forbid-dom-props */ | ||
})} | ||
@@ -178,0 +179,0 @@ </tbody> |
import React from 'react'; | ||
import PropsTable from '../../../PropsTable'; | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first, import/no-unresolved, import/extensions | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first | ||
import MockSrc from '!raw-loader!../../../../src/terra-dev-site/test/props-table-test/MockPrivatePropsComponent'; | ||
@@ -6,0 +6,0 @@ |
import React from 'react'; | ||
import PropsTable from '../../../PropsTable'; | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first, import/no-unresolved, import/extensions | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first | ||
import MockSrc from '!raw-loader!../../../../src/terra-dev-site/test/props-table-test/MockComponent'; | ||
@@ -6,0 +6,0 @@ |
import React from 'react'; | ||
import PropsTable from '../../../PropsTable'; | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first, import/no-unresolved, import/extensions | ||
// eslint-disable-next-line import/no-webpack-loader-syntax, import/first | ||
import MockSrc from '!raw-loader!../../../../src/terra-dev-site/test/props-table-test/MockComponent'; | ||
@@ -6,0 +6,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
972
86088
Updatedterra-markdown@^2.33.0