@micromag/element-scroll 0.3.763 → 0.3.766

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/es/index.js +2 -2
  2. package/package.json +2 -2
package/es/index.js CHANGED
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
6
6
  import React, { useState, useRef, useEffect } from 'react';
7
7
  import { useDimensionObserver } from '@micromag/core/hooks';
8
8
 
9
- var styles = {"container":"micromag-element-scroll-container","scrollable":"micromag-element-scroll-scrollable","arrowContainer":"micromag-element-scroll-arrowContainer","arrow":"micromag-element-scroll-arrow","upAndDown":"micromag-element-scroll-upAndDown","withArrow":"micromag-element-scroll-withArrow","withShadow":"micromag-element-scroll-withShadow","top":"micromag-element-scroll-top","scrollee":"micromag-element-scroll-scrollee","middle":"micromag-element-scroll-middle","bottom":"micromag-element-scroll-bottom","disabled":"micromag-element-scroll-disabled"};
9
+ var styles = {"container":"micromag-element-scroll-container","scrollable":"micromag-element-scroll-scrollable","arrowContainer":"micromag-element-scroll-arrowContainer","arrow":"micromag-element-scroll-arrow","upAndDown":"micromag-element-scroll-upAndDown","withScroll":"micromag-element-scroll-withScroll","withArrow":"micromag-element-scroll-withArrow","withShadow":"micromag-element-scroll-withShadow","top":"micromag-element-scroll-top","scrollee":"micromag-element-scroll-scrollee","middle":"micromag-element-scroll-middle","bottom":"micromag-element-scroll-bottom","disabled":"micromag-element-scroll-disabled"};
10
10
 
11
11
  var propTypes = {
12
12
  width: PropTypes.number,
@@ -149,7 +149,7 @@ function Scroll(_ref) {
149
149
  }
150
150
  }, [scrolleeRef, scrollPosition]);
151
151
  return /*#__PURE__*/React.createElement("div", {
152
- className: classNames([styles.container, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, styles.disabled, disabled), styles[verticalAlign], verticalAlign !== null && scrolleeHeight < scrollableHeight), styles.withArrow, showArrow && withArrow), styles.withShadow, withShadow), "className", className)]),
152
+ className: classNames([styles.container, styles.withScroll, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, styles.disabled, disabled), styles[verticalAlign], verticalAlign !== null && scrolleeHeight < scrollableHeight), styles.withArrow, showArrow && withArrow), styles.withShadow, withShadow), "className", className)]),
153
153
  style: finalStyle
154
154
  }, /*#__PURE__*/React.createElement("div", Object.assign({
155
155
  className: classNames([styles.scrollable, scrollableClassName]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-scroll",
3
- "version": "0.3.763",
3
+ "version": "0.3.766",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -71,5 +71,5 @@
71
71
  "access": "public",
72
72
  "registry": "https://registry.npmjs.org/"
73
73
  },
74
- "gitHead": "843084e78ba9bf2de883b2c958bd38853cdc20e6"
74
+ "gitHead": "b6ecf4690963277f90d26b5002db11988446f4e7"
75
75
  }