contain-by-screen
Advanced tools
Comparing version 1.2.1 to 1.3.0
111
js/index.js
@@ -1,26 +0,18 @@ | ||
'use strict'; | ||
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _assign = require('babel-runtime/core-js/object/assign'); | ||
var _assign2 = _interopRequireDefault(_assign); | ||
exports.default = containByScreen; | ||
var _flatten = require('lodash/flatten'); | ||
var _flatten = _interopRequireDefault(require("lodash/flatten")); | ||
var _flatten2 = _interopRequireDefault(_flatten); | ||
var _uniq = _interopRequireDefault(require("lodash/uniq")); | ||
var _uniq = require('lodash/uniq'); | ||
var _uniq2 = _interopRequireDefault(_uniq); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function containByScreen(element, anchorPoint, options) { | ||
if (process.env.NODE_ENV !== 'production' && window.getComputedStyle) { | ||
var style = window.getComputedStyle(element); | ||
if (style.position !== 'fixed') { | ||
@@ -34,3 +26,2 @@ // eslint-disable-next-line no-console | ||
var anchorRect = getBoundingClientRect(anchorPoint); | ||
var buffers = { | ||
@@ -43,37 +34,49 @@ all: options.buffer || 0, | ||
}; | ||
var optionPositions = Array.isArray(options.position) ? options.position : [options.position].filter(Boolean); | ||
var optionHAligns = Array.isArray(options.hAlign) ? options.hAlign : [options.hAlign].filter(Boolean); | ||
var optionVAligns = Array.isArray(options.vAlign) ? options.vAlign : [options.vAlign].filter(Boolean); | ||
var positions = optionPositions.length > 0 && options.forcePosition ? optionPositions : (0, _uniq2.default)(optionPositions.concat(['top', 'bottom', 'left', 'right'])); | ||
var hAligns = optionHAligns.length > 0 && options.forceHAlign ? optionHAligns : (0, _uniq2.default)(optionHAligns.concat(['center', 'left', 'right'])); | ||
var vAligns = optionVAligns.length > 0 && options.forceVAlign ? optionVAligns : (0, _uniq2.default)(optionVAligns.concat(['center', 'top', 'bottom'])); | ||
var allPossibleChoices = (0, _flatten2.default)(positions.map(function (position) { | ||
return position === 'cover' ? (0, _flatten2.default)(hAligns.map(function (hAlign) { | ||
var positions = optionPositions.length > 0 && options.forcePosition ? optionPositions : (0, _uniq.default)(optionPositions.concat(['top', 'bottom', 'left', 'right'])); | ||
var hAligns = optionHAligns.length > 0 && options.forceHAlign ? optionHAligns : (0, _uniq.default)(optionHAligns.concat(['center', 'left', 'right'])); | ||
var vAligns = optionVAligns.length > 0 && options.forceVAlign ? optionVAligns : (0, _uniq.default)(optionVAligns.concat(['center', 'top', 'bottom'])); | ||
var allPossibleChoices = (0, _flatten.default)(positions.map(function (position) { | ||
return position === 'cover' ? (0, _flatten.default)(hAligns.map(function (hAlign) { | ||
return vAligns.map(function (vAlign) { | ||
return { position: position, hAlign: hAlign, vAlign: vAlign }; | ||
return { | ||
position: position, | ||
hAlign: hAlign, | ||
vAlign: vAlign | ||
}; | ||
}); | ||
})) : position === 'top' || position === 'bottom' ? hAligns.map(function (hAlign) { | ||
return { position: position, hAlign: hAlign, vAlign: 'center' }; | ||
return { | ||
position: position, | ||
hAlign: hAlign, | ||
vAlign: 'center' | ||
}; | ||
}) : vAligns.map(function (vAlign) { | ||
return { position: position, hAlign: 'center', vAlign: vAlign }; | ||
return { | ||
position: position, | ||
hAlign: 'center', | ||
vAlign: vAlign | ||
}; | ||
}); | ||
})); | ||
var choiceAndCoord = null; | ||
var choiceAndCoord = null; | ||
for (var i = 0; i < allPossibleChoices.length; i++) { | ||
var choice = allPossibleChoices[i]; | ||
var coord = positionAndAlign(elRect, anchorRect, choice, buffers); | ||
var _top = coord.top, | ||
_left = coord.left; | ||
var top = coord.top, | ||
left = coord.left; | ||
if (_top - buffers.all - buffers.top >= 0 && _left - buffers.all - buffers.left >= 0 && _top + elRect.height + buffers.all + buffers.bottom <= window.innerHeight && _left + elRect.width + buffers.all + buffers.right <= window.innerWidth) { | ||
choiceAndCoord = { choice: choice, coord: coord }; | ||
if (top - buffers.all - buffers.top >= 0 && left - buffers.all - buffers.left >= 0 && top + elRect.height + buffers.all + buffers.bottom <= window.innerHeight && left + elRect.width + buffers.all + buffers.right <= window.innerWidth) { | ||
choiceAndCoord = { | ||
choice: choice, | ||
coord: coord | ||
}; | ||
break; | ||
} | ||
} | ||
} // Fallback if we failed to find a position that fit on the screen. | ||
// Fallback if we failed to find a position that fit on the screen. | ||
if (!choiceAndCoord) { | ||
@@ -91,5 +94,4 @@ var _choice = { | ||
element.style.top = choiceAndCoord.coord.top + 'px'; | ||
element.style.left = choiceAndCoord.coord.left + 'px'; | ||
element.style.top = "".concat(choiceAndCoord.coord.top, "px"); | ||
element.style.left = "".concat(choiceAndCoord.coord.left, "px"); | ||
return choiceAndCoord.choice; | ||
@@ -100,5 +102,6 @@ } | ||
var rect = el.getBoundingClientRect(); | ||
if (!('width' in rect)) { | ||
// IE <9 support | ||
rect = (0, _assign2.default)({ | ||
rect = Object.assign({ | ||
width: rect.right - rect.left, | ||
@@ -108,2 +111,3 @@ height: rect.bottom - rect.top | ||
} | ||
return rect; | ||
@@ -116,5 +120,5 @@ } | ||
vAlign = _ref.vAlign; | ||
var top = 0, | ||
left = 0; | ||
if (position === 'cover') { | ||
@@ -125,11 +129,15 @@ switch (hAlign) { | ||
break; | ||
case 'left': | ||
left = Math.floor(anchorRect.left); | ||
break; | ||
case 'right': | ||
left = Math.ceil(anchorRect.right - elRect.width); | ||
break; | ||
default: | ||
throw new Error('Should not happen'); | ||
} | ||
switch (vAlign) { | ||
@@ -139,8 +147,11 @@ case 'center': | ||
break; | ||
case 'top': | ||
top = Math.floor(anchorRect.top); | ||
break; | ||
case 'bottom': | ||
top = Math.ceil(anchorRect.bottom - elRect.height); | ||
break; | ||
default: | ||
@@ -154,8 +165,11 @@ throw new Error('Should not happen'); | ||
break; | ||
case 'bottom': | ||
top = Math.ceil(anchorRect.bottom + buffers.all + buffers.top); | ||
break; | ||
default: | ||
throw new Error('Should not happen'); | ||
} | ||
switch (hAlign) { | ||
@@ -165,8 +179,11 @@ case 'center': | ||
break; | ||
case 'left': | ||
left = Math.round(anchorRect.left); | ||
break; | ||
case 'right': | ||
left = Math.round(anchorRect.right - elRect.width); | ||
break; | ||
default: | ||
@@ -180,8 +197,11 @@ throw new Error('Should not happen'); | ||
break; | ||
case 'right': | ||
left = Math.ceil(anchorRect.right + buffers.all + buffers.left); | ||
break; | ||
default: | ||
throw new Error('Should not happen'); | ||
} | ||
switch (vAlign) { | ||
@@ -191,8 +211,11 @@ case 'center': | ||
break; | ||
case 'top': | ||
top = Math.round(anchorRect.top); | ||
break; | ||
case 'bottom': | ||
top = Math.round(anchorRect.bottom - elRect.height); | ||
break; | ||
default: | ||
@@ -202,5 +225,11 @@ throw new Error('Should not happen'); | ||
} | ||
return { top: top, left: left }; | ||
return { | ||
top: top, | ||
left: left | ||
}; | ||
} | ||
module.exports = exports['default']; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJjb250YWluQnlTY3JlZW4iLCJlbGVtZW50IiwiYW5jaG9yUG9pbnQiLCJvcHRpb25zIiwicHJvY2VzcyIsImVudiIsIk5PREVfRU5WIiwid2luZG93IiwiZ2V0Q29tcHV0ZWRTdHlsZSIsInN0eWxlIiwicG9zaXRpb24iLCJjb25zb2xlIiwiZXJyb3IiLCJlbFJlY3QiLCJnZXRCb3VuZGluZ0NsaWVudFJlY3QiLCJhbmNob3JSZWN0IiwiYnVmZmVycyIsImFsbCIsImJ1ZmZlciIsInRvcCIsInRvcEJ1ZmZlciIsImJvdHRvbSIsImJvdHRvbUJ1ZmZlciIsImxlZnQiLCJsZWZ0QnVmZmVyIiwicmlnaHQiLCJyaWdodEJ1ZmZlciIsIm9wdGlvblBvc2l0aW9ucyIsIkFycmF5IiwiaXNBcnJheSIsImZpbHRlciIsIkJvb2xlYW4iLCJvcHRpb25IQWxpZ25zIiwiaEFsaWduIiwib3B0aW9uVkFsaWducyIsInZBbGlnbi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ZSAnbGVmdCc6XG4gICAgICBsZWZ0ID0gTWF0aC5mbG9vcihhbmNob3JSZWN0LmxlZnQgLSBlbFJlY3Qud2lkdGggLSBidWZmZXJzLmFsbCAtIGJ1ZmZlcnMucmlnaHQpO1xuICAgICAgYnJlYWs7XG4gICAgY2FzZSAncmlnaHQnOlxuICAgICAgbGVmdCA9IE1hdGguY2VpbChhbmNob3JSZWN0LnJpZ2h0ICsgYnVmZmVycy5hbGwgKyBidWZmZXJzLmxlZnQpO1xuICAgICAgYnJlYWs7XG4gICAgZGVmYXVsdDogdGhyb3cgbmV3IEVycm9yKCdTaG91bGQgbm90IGhhcHBlbicpO1xuICAgIH1cbiAgICBzd2l0Y2ggKHZBbGlnbikge1xuICAgIGNhc2UgJ2NlbnRlcic6XG4gICAgICB0b3AgPSBNYXRoLnJvdW5kKChhbmNob3JSZWN0LnRvcCArIGFuY2hvclJlY3QuYm90dG9tIC0gZWxSZWN0LmhlaWdodCkvMik7XG4gICAgICBicmVhaztcbiAgICBjYXNlICd0b3AnOlxuICAgICAgdG9wID0gTWF0aC5yb3VuZChhbmNob3JSZWN0LnRvcCk7XG4gICAgICBicmVhaztcbiAgICBjYXNlICdib3R0b20nOlxuICAgICAgdG9wID0gTWF0aC5yb3VuZChhbmNob3JSZWN0LmJvdHRvbSAtIGVsUmVjdC5oZWlnaHQpO1xuICAgICAgYnJlYWs7XG4gICAgZGVmYXVsdDogdGhyb3cgbmV3IEVycm9yKCdTaG91bGQgbm90IGhhcHBlbicpO1xuICAgIH1cbiAgfVxuICByZXR1cm4ge3RvcCwgbGVmdH07XG59XG4iXX0= | ||
module.exports = exports.default; | ||
module.exports.default = exports.default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJjb250YWluQnlTY3JlZW4iLCJlbGVtZW50IiwiYW5jaG9yUG9pbnQiLCJvcHRpb25zIiw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cbiAgICB9XG4gIH1cbiAgcmV0dXJuIHt0b3AsIGxlZnR9O1xufVxuIl19 |
The MIT License (MIT) | ||
Copyright (c) 2016 Chris Cowan <agentme49@gmail.com> | ||
Copyright (c) 2018 Chris Cowan <agentme49@gmail.com> | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "contain-by-screen", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "Position a dropdown element near a button in a way that fits on the screen.", | ||
"main": "js/index.js", | ||
"sideEffects": false, | ||
"scripts": { | ||
"prepare": "rimraf js && babel -s inline -d js/ src/ && flow-copy-source -v src js", | ||
"test": "npm run lint && npm run flow_check && mocha", | ||
"test": "yarn run lint && yarn run flow_check && mocha && tsc", | ||
"flow_check": "flow check", | ||
@@ -15,3 +16,3 @@ "lint": "eslint .", | ||
"type": "git", | ||
"url": "git+https://github.com/AgentME/contain-by-screen.git" | ||
"url": "git+https://github.com/Macil/contain-by-screen.git" | ||
}, | ||
@@ -31,26 +32,32 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/AgentME/contain-by-screen/issues" | ||
"url": "https://github.com/Macil/contain-by-screen/issues" | ||
}, | ||
"homepage": "https://github.com/AgentME/contain-by-screen#readme", | ||
"homepage": "https://github.com/Macil/contain-by-screen#readme", | ||
"devDependencies": { | ||
"babel-cli": "^6.14.0", | ||
"babel-eslint": "^8.2.3", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-plugin-transform-class-properties": "^6.11.5", | ||
"babel-plugin-transform-flow-strip-types": "^6.14.0", | ||
"babel-plugin-transform-runtime": "^6.12.0", | ||
"babel-preset-es2015": "^6.14.0", | ||
"babel-register": "^6.14.0", | ||
"eslint": "^4.3.0", | ||
"@babel/cli": "^7.0.0", | ||
"@babel/core": "^7.0.0", | ||
"@babel/plugin-transform-runtime": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"@babel/preset-flow": "^7.0.0", | ||
"@babel/register": "^7.0.0", | ||
"babel-eslint": "^9.0.0", | ||
"babel-plugin-add-module-exports": "^1.0.0", | ||
"eslint": "^5.0.0", | ||
"eslint-plugin-flowtype": "^2.35.0", | ||
"flow-bin": "^0.74.0", | ||
"flow-bin": "^0.81.0", | ||
"flow-copy-source": "^2.0.0", | ||
"mocha": "^5.2.0", | ||
"rimraf": "^2.6.1" | ||
"rimraf": "^2.6.1", | ||
"typescript": "^3.0.3" | ||
}, | ||
"dependencies": { | ||
"babel-runtime": "^6.23.0", | ||
"@babel/runtime": "^7.0.0", | ||
"envify": "^4.1.0", | ||
"lodash": "^4.6.1" | ||
}, | ||
"greenkeeper": { | ||
"ignore": [ | ||
"flow-bin" | ||
] | ||
} | ||
} |
# contain-by-screen | ||
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/AgentME/contain-by-screen/blob/master/LICENSE.txt) [![npm version](https://img.shields.io/npm/v/contain-by-screen.svg?style=flat)](https://www.npmjs.com/package/contain-by-screen) [![CircleCI Status](https://circleci.com/gh/AgentME/contain-by-screen.svg?style=shield)](https://circleci.com/gh/AgentME/contain-by-screen) [![Greenkeeper badge](https://badges.greenkeeper.io/AgentME/contain-by-screen.svg)](https://greenkeeper.io/) | ||
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Macil/contain-by-screen/blob/master/LICENSE.txt) [![npm version](https://img.shields.io/npm/v/contain-by-screen.svg?style=flat)](https://www.npmjs.com/package/contain-by-screen) [![CircleCI Status](https://circleci.com/gh/Macil/contain-by-screen.svg?style=shield)](https://circleci.com/gh/Macil/contain-by-screen) [![Greenkeeper badge](https://badges.greenkeeper.io/Macil/contain-by-screen.svg)](https://greenkeeper.io/) | ||
@@ -76,3 +76,4 @@ This function is for positioning an element next to another in a way that fits | ||
Full [Flow](https://flowtype.org/) type declarations for this module are | ||
included! | ||
Both [TypeScript](https://www.typescriptlang.org/) and | ||
[Flow](https://flowtype.org/) type definitions for this module are included! | ||
The type definitions won't require any configuration to use. |
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
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
43681
13
253
79
15
1
+ Added@babel/runtime@^7.0.0
+ Added@babel/runtime@7.26.0(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
- Removedbabel-runtime@^6.23.0
- Removedbabel-runtime@6.26.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedregenerator-runtime@0.11.1(transitive)