@instructure/ui-utils
Advanced tools
Comparing version 4.6.0 to 4.7.0
@@ -436,3 +436,3 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); | ||
function parsePlacement(placement) { | ||
export function parsePlacement(placement) { | ||
var parsed = placement.split(' '); | ||
@@ -439,0 +439,0 @@ |
@@ -80,2 +80,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
ComponentIdentifier.displayName = 'ComponentIdentifier' | ||
; | ||
return ComponentIdentifier; | ||
@@ -82,0 +83,0 @@ }(Component), _class.propTypes = { |
@@ -12,2 +12,3 @@ 'use strict'; | ||
exports.default = calculateElementPosition; | ||
exports.parsePlacement = parsePlacement; | ||
@@ -14,0 +15,0 @@ var _getBoundingClientRect = require('./getBoundingClientRect'); |
@@ -102,2 +102,3 @@ 'use strict'; | ||
ComponentIdentifier.displayName = 'ComponentIdentifier' | ||
; | ||
return ComponentIdentifier; | ||
@@ -104,0 +105,0 @@ }(_react.Component), _class.propTypes = { |
{ | ||
"name": "@instructure/ui-utils", | ||
"version": "4.6.0", | ||
"version": "4.7.0", | ||
"description": "A collection of utilities for UI components", | ||
@@ -25,3 +25,3 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"devDependencies": { | ||
"@instructure/ui-presets": "^4.6.0", | ||
"@instructure/ui-presets": "^4.7.0", | ||
"react": "15.6.1", | ||
@@ -28,0 +28,0 @@ "react-dom": "15.6.1" |
@@ -383,3 +383,3 @@ import getBoundingClientRect from './getBoundingClientRect' | ||
function parsePlacement (placement) { | ||
export function parsePlacement (placement) { | ||
let parsed = placement.split(' ') | ||
@@ -386,0 +386,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
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
326395
8710