react-scrollable-feed
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -10,1 +10,5 @@ # Change Log | ||
* Fixed issue with the automatic bottom detection ([#7](https://github.com/dizco/react-scrollable-feed/issues/7)) | ||
<a name="1.0.4"></a> | ||
## [1.0.4](https://github.com/dizco/react-scrollable-feed/compare/v1.0.3...v1.0.4) (2019-07-09) | ||
* Updated dependencies |
@@ -1,30 +0,3 @@ | ||
function __$styleInject(css, ref) { | ||
if ( ref === void 0 ) ref = {}; | ||
var insertAt = ref.insertAt; | ||
import { createElement, createRef, Component } from 'react'; | ||
if (!css || typeof document === 'undefined') { return; } | ||
var head = document.head || document.getElementsByTagName('head')[0]; | ||
var style = document.createElement('style'); | ||
style.type = 'text/css'; | ||
if (insertAt === 'top') { | ||
if (head.firstChild) { | ||
head.insertBefore(style, head.firstChild); | ||
} else { | ||
head.appendChild(style); | ||
} | ||
} else { | ||
head.appendChild(style); | ||
} | ||
if (style.styleSheet) { | ||
style.styleSheet.cssText = css; | ||
} else { | ||
style.appendChild(document.createTextNode(css)); | ||
} | ||
} | ||
import { createRef, createElement, Component } from 'react'; | ||
/*! ***************************************************************************** | ||
@@ -59,5 +32,33 @@ Copyright (c) Microsoft Corporation. All rights reserved. | ||
__$styleInject("._scrollable-div_1dj6m_1 {\r\n max-height: inherit;\r\n height: inherit;\r\n overflow-y: auto;\r\n}\r\n", {}); | ||
var styles = {"scrollableDiv":"_scrollable-div_1dj6m_1"}; | ||
function styleInject(css, ref) { | ||
if ( ref === void 0 ) ref = {}; | ||
var insertAt = ref.insertAt; | ||
if (!css || typeof document === 'undefined') { return; } | ||
var head = document.head || document.getElementsByTagName('head')[0]; | ||
var style = document.createElement('style'); | ||
style.type = 'text/css'; | ||
if (insertAt === 'top') { | ||
if (head.firstChild) { | ||
head.insertBefore(style, head.firstChild); | ||
} else { | ||
head.appendChild(style); | ||
} | ||
} else { | ||
head.appendChild(style); | ||
} | ||
if (style.styleSheet) { | ||
style.styleSheet.cssText = css; | ||
} else { | ||
style.appendChild(document.createTextNode(css)); | ||
} | ||
} | ||
var css = ".styles_scrollable-div__1DOyU {\r\n max-height: inherit;\r\n height: inherit;\r\n overflow-y: auto;\r\n}\r\n"; | ||
var styles = {"scrollable-div":"styles_scrollable-div__1DOyU","scrollableDiv":"styles_scrollable-div__1DOyU"}; | ||
styleInject(css); | ||
var ScrollableFeed = /** @class */ (function (_super) { | ||
@@ -64,0 +65,0 @@ __extends(ScrollableFeed, _super); |
'use strict'; | ||
function __$styleInject(css, ref) { | ||
if ( ref === void 0 ) ref = {}; | ||
var insertAt = ref.insertAt; | ||
if (!css || typeof document === 'undefined') { return; } | ||
var head = document.head || document.getElementsByTagName('head')[0]; | ||
var style = document.createElement('style'); | ||
style.type = 'text/css'; | ||
if (insertAt === 'top') { | ||
if (head.firstChild) { | ||
head.insertBefore(style, head.firstChild); | ||
} else { | ||
head.appendChild(style); | ||
} | ||
} else { | ||
head.appendChild(style); | ||
} | ||
if (style.styleSheet) { | ||
style.styleSheet.cssText = css; | ||
} else { | ||
style.appendChild(document.createTextNode(css)); | ||
} | ||
} | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
@@ -65,5 +36,33 @@ | ||
__$styleInject("._scrollable-div_1dj6m_1 {\r\n max-height: inherit;\r\n height: inherit;\r\n overflow-y: auto;\r\n}\r\n", {}); | ||
var styles = {"scrollableDiv":"_scrollable-div_1dj6m_1"}; | ||
function styleInject(css, ref) { | ||
if ( ref === void 0 ) ref = {}; | ||
var insertAt = ref.insertAt; | ||
if (!css || typeof document === 'undefined') { return; } | ||
var head = document.head || document.getElementsByTagName('head')[0]; | ||
var style = document.createElement('style'); | ||
style.type = 'text/css'; | ||
if (insertAt === 'top') { | ||
if (head.firstChild) { | ||
head.insertBefore(style, head.firstChild); | ||
} else { | ||
head.appendChild(style); | ||
} | ||
} else { | ||
head.appendChild(style); | ||
} | ||
if (style.styleSheet) { | ||
style.styleSheet.cssText = css; | ||
} else { | ||
style.appendChild(document.createTextNode(css)); | ||
} | ||
} | ||
var css = ".styles_scrollable-div__1DOyU {\r\n max-height: inherit;\r\n height: inherit;\r\n overflow-y: auto;\r\n}\r\n"; | ||
var styles = {"scrollable-div":"styles_scrollable-div__1DOyU","scrollableDiv":"styles_scrollable-div__1DOyU"}; | ||
styleInject(css); | ||
var ScrollableFeed = /** @class */ (function (_super) { | ||
@@ -70,0 +69,0 @@ __extends(ScrollableFeed, _super); |
{ | ||
"name": "react-scrollable-feed", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -26,3 +26,3 @@ "author": "dizco", | ||
"peerDependencies": { | ||
"prop-types": "^15.5.4", | ||
"prop-types": "^15.7.2", | ||
"react": "^15.0.0 || ^16.0.0", | ||
@@ -32,21 +32,21 @@ "react-dom": "^15.0.0 || ^16.0.0" | ||
"devDependencies": { | ||
"@types/jest": "^23.1.5", | ||
"@types/react": "^16.3.13", | ||
"@types/react-dom": "^16.0.5", | ||
"@types/jest": "^24.0.15", | ||
"@types/react": "^16.8.23", | ||
"@types/react-dom": "^16.8.4", | ||
"babel-core": "^6.26.3", | ||
"babel-runtime": "^6.26.0", | ||
"cross-env": "^5.1.4", | ||
"cross-env": "^5.2.0", | ||
"gh-pages": "^2.0.1", | ||
"react": "^16.4.1", | ||
"react-dom": "^16.4.1", | ||
"react": "^16.8.6", | ||
"react-dom": "^16.8.6", | ||
"react-scripts-ts": "^4.0.8", | ||
"rollup": "^0.67.3", | ||
"rollup-plugin-babel": "^4.0.3", | ||
"rollup-plugin-commonjs": "^9.1.3", | ||
"rollup-plugin-node-resolve": "^3.3.0", | ||
"rollup": "^1.16.7", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-commonjs": "^10.0.1", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.0", | ||
"rollup-plugin-postcss-modules": "1.0.10", | ||
"rollup-plugin-typescript2": "^0.18.0", | ||
"rollup-plugin-url": "^2.0.1", | ||
"typescript": "^3.1.6" | ||
"rollup-plugin-postcss-modules": "2.0.1", | ||
"rollup-plugin-typescript2": "^0.21.2", | ||
"rollup-plugin-url": "^2.2.2", | ||
"typescript": "^3.5.3" | ||
}, | ||
@@ -53,0 +53,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
58791
303