terra-scroll
Advanced tools
Comparing version 2.32.1 to 2.33.0
@@ -5,2 +5,7 @@ # Changelog | ||
## 2.33.0 - (December 7, 2022) | ||
* Changed | ||
* Minor dependency version bump | ||
## 2.32.1 - (January 4, 2022) | ||
@@ -26,3 +31,3 @@ | ||
* Fixed | ||
* Fixed broken links in documentation. | ||
* Fixed broken links in documentation. | ||
@@ -29,0 +34,0 @@ ## 2.29.0 - (December 8, 2020) |
@@ -7,23 +7,12 @@ "use strict"; | ||
exports.default = void 0; | ||
var _react = _interopRequireDefault(require("react")); | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
var _bind = _interopRequireDefault(require("classnames/bind")); | ||
var _ScrollModule = _interopRequireDefault(require("./Scroll.module.scss")); | ||
var _excluded = ["children", "refCallback"]; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _extends() { _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; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
var cx = _bind.default.bind(_ScrollModule.default); | ||
var propTypes = { | ||
@@ -34,3 +23,2 @@ /** | ||
children: _propTypes.default.node, | ||
/** | ||
@@ -41,8 +29,6 @@ * Function callback for the ref of the scrollable container. | ||
}; | ||
var Scroll = function Scroll(_ref) { | ||
var children = _ref.children, | ||
refCallback = _ref.refCallback, | ||
customProps = _objectWithoutProperties(_ref, _excluded); | ||
refCallback = _ref.refCallback, | ||
customProps = _objectWithoutProperties(_ref, _excluded); | ||
return /*#__PURE__*/_react.default.createElement("div", _extends({}, customProps, { | ||
@@ -53,5 +39,4 @@ className: cx(['scroll', customProps.className]), | ||
}; | ||
Scroll.propTypes = propTypes; | ||
var _default = Scroll; | ||
exports.default = _default; |
{ | ||
"name": "terra-scroll", | ||
"main": "lib/Scroll.js", | ||
"version": "2.32.1", | ||
"version": "2.33.0", | ||
"description": "The terra-scroll is a content view that hides data accessible with scrolling and provides a refCallback.", | ||
@@ -45,3 +45,3 @@ "repository": { | ||
}, | ||
"gitHead": "2b761729af5655a49c1f1cf8b6f4130d57f4ae30" | ||
"gitHead": "421b2643a58e6de628aa789a9cdd0778b0a942a2" | ||
} |
@@ -9,3 +9,3 @@ # Terra Scroll | ||
- [Getting Started](#getting-started) | ||
- [Documentation](https://engineering.cerner.com/terra-ui/components/terra-scroll/scroll/scroll) | ||
- [Documentation](https://engineering.cerner.com/terra-ui/components/cerner-terra-core-docs/scroll/about) | ||
- [LICENSE](#license) | ||
@@ -12,0 +12,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24619
1