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

terra-scroll

Package Overview
Dependencies
Maintainers
8
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-scroll - npm Package Compare versions

Comparing version 2.32.1 to 2.33.0

7

CHANGELOG.md

@@ -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)

21

lib/Scroll.js

@@ -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 @@

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