@invisionag/iris-tools
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -1,12 +0,3 @@ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
if(typeof exports === 'object' && typeof module === 'object') | ||
module.exports = factory(require("@invisionag/iris-settings"), require("polished"), require("@invisionag/iris-colors")); | ||
else if(typeof define === 'function' && define.amd) | ||
define(["@invisionag/iris-settings", "polished", "@invisionag/iris-colors"], factory); | ||
else { | ||
var a = typeof exports === 'object' ? factory(require("@invisionag/iris-settings"), require("polished"), require("@invisionag/iris-colors")) : factory(root["@invisionag/iris-settings"], root["polished"], root["@invisionag/iris-colors"]); | ||
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i]; | ||
} | ||
})(global, function(__WEBPACK_EXTERNAL_MODULE__0__, __WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
module.exports = | ||
/******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
@@ -94,3 +85,3 @@ /******/ var installedModules = {}; | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 3); | ||
/******/ return __webpack_require__(__webpack_require__.s = 10); | ||
/******/ }) | ||
@@ -102,10 +93,70 @@ /************************************************************************/ | ||
module.exports = __WEBPACK_EXTERNAL_MODULE__0__; | ||
module.exports = require("react-hot-loader"); | ||
/***/ }), | ||
/* 1 */ | ||
/***/ (function(module, exports) { | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE__1__; | ||
"use strict"; | ||
/* WEBPACK VAR INJECTION */(function(module) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return shadowColor; }); | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return shadowOpacity; }); | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return boxShadowSmall; }); | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return boxShadowLarge; }); | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return boxShadow; }); | ||
/* harmony import */ var polished__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8); | ||
/* harmony import */ var polished__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(polished__WEBPACK_IMPORTED_MODULE_0__); | ||
/* harmony import */ var _invisionag_iris_settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4); | ||
/* harmony import */ var _invisionag_iris_settings__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_invisionag_iris_settings__WEBPACK_IMPORTED_MODULE_1__); | ||
/* harmony import */ var _invisionag_iris_colors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9); | ||
/* harmony import */ var _invisionag_iris_colors__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_invisionag_iris_colors__WEBPACK_IMPORTED_MODULE_2__); | ||
(function () { | ||
var enterModule = __webpack_require__(0).enterModule; | ||
enterModule && enterModule(module); | ||
})(); | ||
var shadowColor = _invisionag_iris_colors__WEBPACK_IMPORTED_MODULE_2___default.a.black120; | ||
var shadowOpacity = 0.25; | ||
var boxShadowSmall = "0 0.0675em 0.125em ".concat(Object(polished__WEBPACK_IMPORTED_MODULE_0__["rgba"])(shadowColor, shadowOpacity)); | ||
var boxShadowLarge = "0 0.25em 0.5em ".concat(Object(polished__WEBPACK_IMPORTED_MODULE_0__["rgba"])(shadowColor, shadowOpacity), ", ").concat(boxShadowSmall); | ||
var boxShadow = function boxShadow() { | ||
var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'large'; | ||
var withActiveState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; | ||
if (!_invisionag_iris_settings__WEBPACK_IMPORTED_MODULE_1__["settings"].shadow) return ''; | ||
var shadowStyling = "box-shadow: ".concat(size === 'large' ? boxShadowLarge : boxShadowSmall, ";"); | ||
var activeStyling = withActiveState ? "\n &:active {\n ".concat(shadowStyling, "\n }\n ") : ''; | ||
return "\n ".concat(activeStyling, "\n ").concat(shadowStyling, "\n "); | ||
}; | ||
var _default = { | ||
boxShadowSmall: boxShadowSmall, | ||
boxShadowLarge: boxShadowLarge, | ||
boxShadow: boxShadow | ||
}; | ||
/* unused harmony default export */ var _unused_webpack_default_export = (_default); | ||
; | ||
(function () { | ||
var reactHotLoader = __webpack_require__(0).default; | ||
var leaveModule = __webpack_require__(0).leaveModule; | ||
if (!reactHotLoader) { | ||
return; | ||
} | ||
reactHotLoader.register(shadowColor, "shadowColor", "/Users/fbecker/repos/iris/packages/tools/src/box-shadow.js"); | ||
reactHotLoader.register(shadowOpacity, "shadowOpacity", "/Users/fbecker/repos/iris/packages/tools/src/box-shadow.js"); | ||
reactHotLoader.register(boxShadowSmall, "boxShadowSmall", "/Users/fbecker/repos/iris/packages/tools/src/box-shadow.js"); | ||
reactHotLoader.register(boxShadowLarge, "boxShadowLarge", "/Users/fbecker/repos/iris/packages/tools/src/box-shadow.js"); | ||
reactHotLoader.register(boxShadow, "boxShadow", "/Users/fbecker/repos/iris/packages/tools/src/box-shadow.js"); | ||
reactHotLoader.register(_default, "default", "/Users/fbecker/repos/iris/packages/tools/src/box-shadow.js"); | ||
leaveModule(module); | ||
})(); | ||
; | ||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(2)(module))) | ||
/***/ }), | ||
@@ -115,4 +166,28 @@ /* 2 */ | ||
module.exports = __WEBPACK_EXTERNAL_MODULE__2__; | ||
module.exports = function(originalModule) { | ||
if (!originalModule.webpackPolyfill) { | ||
var module = Object.create(originalModule); | ||
// module.parent = undefined by default | ||
if (!module.children) module.children = []; | ||
Object.defineProperty(module, "loaded", { | ||
enumerable: true, | ||
get: function() { | ||
return module.l; | ||
} | ||
}); | ||
Object.defineProperty(module, "id", { | ||
enumerable: true, | ||
get: function() { | ||
return module.i; | ||
} | ||
}); | ||
Object.defineProperty(module, "exports", { | ||
enumerable: true | ||
}); | ||
module.webpackPolyfill = 1; | ||
} | ||
return module; | ||
}; | ||
/***/ }), | ||
@@ -123,88 +198,156 @@ /* 3 */ | ||
"use strict"; | ||
__webpack_require__.r(__webpack_exports__); | ||
/* WEBPACK VAR INJECTION */(function(module) {(function () { | ||
var enterModule = __webpack_require__(0).enterModule; | ||
// EXTERNAL MODULE: external "polished" | ||
var external_polished_ = __webpack_require__(1); | ||
enterModule && enterModule(module); | ||
})(); | ||
// EXTERNAL MODULE: external "@invisionag/iris-settings" | ||
var iris_settings_ = __webpack_require__(0); | ||
var reverseString = function reverseString(v) { | ||
return v.split('').reverse().join(''); | ||
}; | ||
// EXTERNAL MODULE: external "@invisionag/iris-colors" | ||
var iris_colors_ = __webpack_require__(2); | ||
var iris_colors_default = /*#__PURE__*/__webpack_require__.n(iris_colors_); | ||
var hasNoUnit = function hasNoUnit(v) { | ||
return !!v.match(/^\d/); | ||
}; | ||
// CONCATENATED MODULE: ./packages/tools/src/box-shadow.js | ||
function extractUnit(v) { | ||
if (typeof v === 'string') { | ||
// if string starts with digit, no unit was passed | ||
if (hasNoUnit(reverseString(v))) return ''; | ||
var matches = reverseString(v).match(/.+?(?=\d)/); | ||
if (!matches || matches.length < 1) return ''; | ||
return reverseString(matches[0]); | ||
} | ||
return ''; | ||
} | ||
var _default = extractUnit; | ||
/* harmony default export */ __webpack_exports__["a"] = (_default); | ||
; | ||
(function () { | ||
var reactHotLoader = __webpack_require__(0).default; | ||
var shadowColor = iris_colors_default.a.black120; | ||
var shadowOpacity = 0.25; | ||
var leaveModule = __webpack_require__(0).leaveModule; | ||
var boxShadowSmall = '0 0.0675em 0.125em ' + Object(external_polished_["rgba"])(shadowColor, shadowOpacity); | ||
if (!reactHotLoader) { | ||
return; | ||
} | ||
var boxShadowLarge = '0 0.25em 0.5em ' + Object(external_polished_["rgba"])(shadowColor, shadowOpacity) + ', ' + boxShadowSmall; | ||
reactHotLoader.register(reverseString, "reverseString", "/Users/fbecker/repos/iris/packages/tools/src/extractUnit.js"); | ||
reactHotLoader.register(hasNoUnit, "hasNoUnit", "/Users/fbecker/repos/iris/packages/tools/src/extractUnit.js"); | ||
reactHotLoader.register(extractUnit, "extractUnit", "/Users/fbecker/repos/iris/packages/tools/src/extractUnit.js"); | ||
reactHotLoader.register(_default, "default", "/Users/fbecker/repos/iris/packages/tools/src/extractUnit.js"); | ||
leaveModule(module); | ||
})(); | ||
var box_shadow_boxShadow = function boxShadow() { | ||
var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'large'; | ||
var withActiveState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; | ||
; | ||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(2)(module))) | ||
if (!iris_settings_["settings"].shadow) return ''; | ||
/***/ }), | ||
/* 4 */ | ||
/***/ (function(module, exports) { | ||
var shadowStyling = 'box-shadow: ' + (size === 'large' ? boxShadowLarge : boxShadowSmall) + ';'; | ||
var activeStyling = withActiveState ? '\n &:active {\n ' + shadowStyling + '\n }\n ' : ''; | ||
module.exports = require("@invisionag/iris-settings"); | ||
return '\n ' + activeStyling + '\n ' + shadowStyling + '\n '; | ||
}; | ||
/***/ }), | ||
/* 5 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
/* harmony default export */ var box_shadow = ({ | ||
boxShadowSmall: boxShadowSmall, | ||
boxShadowLarge: boxShadowLarge, | ||
boxShadow: box_shadow_boxShadow | ||
}); | ||
// CONCATENATED MODULE: ./packages/tools/src/px-to-rem.js | ||
"use strict"; | ||
/* WEBPACK VAR INJECTION */(function(module) {/* harmony import */ var _invisionag_iris_settings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4); | ||
/* harmony import */ var _invisionag_iris_settings__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_invisionag_iris_settings__WEBPACK_IMPORTED_MODULE_0__); | ||
(function () { | ||
var enterModule = __webpack_require__(0).enterModule; | ||
enterModule && enterModule(module); | ||
})(); | ||
var getValue = function getValue(value) { | ||
var pattern = new RegExp(/\^px/, 'ig'); | ||
var match = pattern.exec(value); | ||
if (!match) { | ||
throw new Error(value + ' needs to be a pixel value'); | ||
throw new Error("".concat(value, " needs to be a pixel value")); | ||
} | ||
return !!match[0].toString(); | ||
}; | ||
/* harmony default export */ var px_to_rem = (function (value) { | ||
if (!getValue(value)) throw new Error(value + ' needs to be a pixel value'); | ||
return parseInt(value, 10) / iris_settings_["settings"].basePx; | ||
}); | ||
// CONCATENATED MODULE: ./packages/tools/src/equal-size-siblings.js | ||
/* harmony default export */ var equal_size_siblings = (function () { | ||
return "\n /* one item */\n &:nth-child(1):nth-last-child(1) {\n width: 100%;\n }\n\n /* two items */\n &:nth-child(1):nth-last-child(2),\n &:nth-child(2):nth-last-child(1) {\n width: 50%;\n }\n\n /* three items */\n &:nth-child(1):nth-last-child(3),\n &:nth-child(2):nth-last-child(2),\n &:nth-child(3):nth-last-child(1) {\n width: 33.3333%;\n }\n\n /* four items */\n &:nth-child(1):nth-last-child(4),\n &:nth-child(2):nth-last-child(3),\n &:nth-child(3):nth-last-child(2),\n &:nth-child(4):nth-last-child(1) {\n width: 25%;\n }\n\n /* five items */\n &:nth-child(1):nth-last-child(5),\n &:nth-child(2):nth-last-child(4),\n &:nth-child(3):nth-last-child(3),\n &:nth-child(4):nth-last-child(2),\n &:nth-child(5):nth-last-child(1) {\n width: 20%;\n }\n\n /* six items */\n &:nth-child(1):nth-last-child(6),\n &:nth-child(2):nth-last-child(5),\n &:nth-child(3):nth-last-child(4),\n &:nth-child(4):nth-last-child(3),\n &:nth-child(5):nth-last-child(2),\n &:nth-child(6):nth-last-child(1) {\n width: 16.66%;\n }\n"; | ||
}); | ||
// CONCATENATED MODULE: ./packages/tools/src/extractUnit.js | ||
var reverseString = function reverseString(v) { | ||
return v.split('').reverse().join(''); | ||
var _default = function _default(value) { | ||
if (!getValue(value)) throw new Error("".concat(value, " needs to be a pixel value")); | ||
return parseInt(value, 10) / _invisionag_iris_settings__WEBPACK_IMPORTED_MODULE_0__["settings"].basePx; | ||
}; | ||
var hasNoUnit = function hasNoUnit(v) { | ||
return !!v.match(/^\d/); | ||
/* harmony default export */ __webpack_exports__["a"] = (_default); | ||
; | ||
(function () { | ||
var reactHotLoader = __webpack_require__(0).default; | ||
var leaveModule = __webpack_require__(0).leaveModule; | ||
if (!reactHotLoader) { | ||
return; | ||
} | ||
reactHotLoader.register(getValue, "getValue", "/Users/fbecker/repos/iris/packages/tools/src/px-to-rem.js"); | ||
reactHotLoader.register(_default, "default", "/Users/fbecker/repos/iris/packages/tools/src/px-to-rem.js"); | ||
leaveModule(module); | ||
})(); | ||
; | ||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(2)(module))) | ||
/***/ }), | ||
/* 6 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
/* WEBPACK VAR INJECTION */(function(module) {(function () { | ||
var enterModule = __webpack_require__(0).enterModule; | ||
enterModule && enterModule(module); | ||
})(); | ||
var _default = function _default() { | ||
return "\n /* one item */\n &:nth-child(1):nth-last-child(1) {\n width: 100%;\n }\n\n /* two items */\n &:nth-child(1):nth-last-child(2),\n &:nth-child(2):nth-last-child(1) {\n width: 50%;\n }\n\n /* three items */\n &:nth-child(1):nth-last-child(3),\n &:nth-child(2):nth-last-child(2),\n &:nth-child(3):nth-last-child(1) {\n width: 33.3333%;\n }\n\n /* four items */\n &:nth-child(1):nth-last-child(4),\n &:nth-child(2):nth-last-child(3),\n &:nth-child(3):nth-last-child(2),\n &:nth-child(4):nth-last-child(1) {\n width: 25%;\n }\n\n /* five items */\n &:nth-child(1):nth-last-child(5),\n &:nth-child(2):nth-last-child(4),\n &:nth-child(3):nth-last-child(3),\n &:nth-child(4):nth-last-child(2),\n &:nth-child(5):nth-last-child(1) {\n width: 20%;\n }\n\n /* six items */\n &:nth-child(1):nth-last-child(6),\n &:nth-child(2):nth-last-child(5),\n &:nth-child(3):nth-last-child(4),\n &:nth-child(4):nth-last-child(3),\n &:nth-child(5):nth-last-child(2),\n &:nth-child(6):nth-last-child(1) {\n width: 16.66%;\n }\n"; | ||
}; | ||
function extractUnit(v) { | ||
if (typeof v === 'string') { | ||
// if string starts with digit, no unit was passed | ||
if (hasNoUnit(reverseString(v))) return ''; | ||
/* harmony default export */ __webpack_exports__["a"] = (_default); | ||
; | ||
var matches = reverseString(v).match(/.+?(?=\d)/); | ||
if (!matches || matches.length < 1) return ''; | ||
return reverseString(matches[0]); | ||
(function () { | ||
var reactHotLoader = __webpack_require__(0).default; | ||
var leaveModule = __webpack_require__(0).leaveModule; | ||
if (!reactHotLoader) { | ||
return; | ||
} | ||
return ''; | ||
} | ||
/* harmony default export */ var src_extractUnit = (extractUnit); | ||
// CONCATENATED MODULE: ./packages/tools/src/calc.js | ||
reactHotLoader.register(_default, "default", "/Users/fbecker/repos/iris/packages/tools/src/equal-size-siblings.js"); | ||
leaveModule(module); | ||
})(); | ||
; | ||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(2)(module))) | ||
/***/ }), | ||
/* 7 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
/* WEBPACK VAR INJECTION */(function(module) {/* harmony import */ var _extractUnit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3); | ||
(function () { | ||
var enterModule = __webpack_require__(0).enterModule; | ||
enterModule && enterModule(module); | ||
})(); | ||
function calc(value) { | ||
@@ -216,46 +359,117 @@ var calculation = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function (v) { | ||
if (typeof value === 'string') { | ||
var unit = src_extractUnit(value); | ||
var unitlessValue = parseFloat(value); | ||
var unit = Object(_extractUnit__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(value); | ||
var unitlessValue = parseFloat(value); // eslint-disable-next-line no-restricted-globals | ||
// eslint-disable-next-line no-restricted-globals | ||
if (isNaN(unitlessValue)) return ''; | ||
return "".concat(calculation(parseFloat(value))).concat(unit); | ||
} | ||
return '' + calculation(parseFloat(value)) + unit; | ||
} | ||
return calculation(parseFloat(value)); | ||
} | ||
/* harmony default export */ var src_calc = (calc); | ||
// CONCATENATED MODULE: ./packages/tools/src/index.js | ||
/* concated harmony reexport boxShadow */__webpack_require__.d(__webpack_exports__, "boxShadow", function() { return box_shadow_boxShadow; }); | ||
/* concated harmony reexport boxShadowLarge */__webpack_require__.d(__webpack_exports__, "boxShadowLarge", function() { return boxShadowLarge; }); | ||
/* concated harmony reexport boxShadowSmall */__webpack_require__.d(__webpack_exports__, "boxShadowSmall", function() { return boxShadowSmall; }); | ||
/* concated harmony reexport shadowColor */__webpack_require__.d(__webpack_exports__, "shadowColor", function() { return shadowColor; }); | ||
/* concated harmony reexport shadowOpacity */__webpack_require__.d(__webpack_exports__, "shadowOpacity", function() { return shadowOpacity; }); | ||
/* concated harmony reexport calc */__webpack_require__.d(__webpack_exports__, "calc", function() { return src_calc; }); | ||
/* concated harmony reexport extractUnit */__webpack_require__.d(__webpack_exports__, "extractUnit", function() { return src_extractUnit; }); | ||
/* concated harmony reexport pxToRem */__webpack_require__.d(__webpack_exports__, "pxToRem", function() { return px_to_rem; }); | ||
/* concated harmony reexport equalSizeSiblings */__webpack_require__.d(__webpack_exports__, "equalSizeSiblings", function() { return equal_size_siblings; }); | ||
var _default = calc; | ||
/* harmony default export */ __webpack_exports__["a"] = (_default); | ||
; | ||
(function () { | ||
var reactHotLoader = __webpack_require__(0).default; | ||
var leaveModule = __webpack_require__(0).leaveModule; | ||
if (!reactHotLoader) { | ||
return; | ||
} | ||
reactHotLoader.register(calc, "calc", "/Users/fbecker/repos/iris/packages/tools/src/calc.js"); | ||
reactHotLoader.register(_default, "default", "/Users/fbecker/repos/iris/packages/tools/src/calc.js"); | ||
leaveModule(module); | ||
})(); | ||
; | ||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(2)(module))) | ||
/***/ }), | ||
/* 8 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("polished"); | ||
/* harmony default export */ var src = __webpack_exports__["default"] = ({ | ||
boxShadow: box_shadow_boxShadow, | ||
boxShadowLarge: boxShadowLarge, | ||
boxShadowSmall: boxShadowSmall, | ||
shadowColor: shadowColor, | ||
shadowOpacity: shadowOpacity, | ||
calc: src_calc, | ||
extractUnit: src_extractUnit, | ||
pxToRem: px_to_rem, | ||
equalSizeSiblings: equal_size_siblings | ||
}); | ||
/***/ }), | ||
/* 9 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("@invisionag/iris-colors"); | ||
/***/ }), | ||
/* 10 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
__webpack_require__.r(__webpack_exports__); | ||
/* WEBPACK VAR INJECTION */(function(module) {/* harmony import */ var _box_shadow__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "boxShadow", function() { return _box_shadow__WEBPACK_IMPORTED_MODULE_0__["a"]; }); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "boxShadowLarge", function() { return _box_shadow__WEBPACK_IMPORTED_MODULE_0__["b"]; }); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "boxShadowSmall", function() { return _box_shadow__WEBPACK_IMPORTED_MODULE_0__["c"]; }); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "shadowColor", function() { return _box_shadow__WEBPACK_IMPORTED_MODULE_0__["d"]; }); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "shadowOpacity", function() { return _box_shadow__WEBPACK_IMPORTED_MODULE_0__["e"]; }); | ||
/* harmony import */ var _px_to_rem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "pxToRem", function() { return _px_to_rem__WEBPACK_IMPORTED_MODULE_1__["a"]; }); | ||
/* harmony import */ var _equal_size_siblings__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "equalSizeSiblings", function() { return _equal_size_siblings__WEBPACK_IMPORTED_MODULE_2__["a"]; }); | ||
/* harmony import */ var _extractUnit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "extractUnit", function() { return _extractUnit__WEBPACK_IMPORTED_MODULE_3__["a"]; }); | ||
/* harmony import */ var _calc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "calc", function() { return _calc__WEBPACK_IMPORTED_MODULE_4__["a"]; }); | ||
(function () { | ||
var enterModule = __webpack_require__(0).enterModule; | ||
enterModule && enterModule(module); | ||
})(); | ||
var _default = { | ||
boxShadow: _box_shadow__WEBPACK_IMPORTED_MODULE_0__[/* boxShadow */ "a"], | ||
boxShadowLarge: _box_shadow__WEBPACK_IMPORTED_MODULE_0__[/* boxShadowLarge */ "b"], | ||
boxShadowSmall: _box_shadow__WEBPACK_IMPORTED_MODULE_0__[/* boxShadowSmall */ "c"], | ||
shadowColor: _box_shadow__WEBPACK_IMPORTED_MODULE_0__[/* shadowColor */ "d"], | ||
shadowOpacity: _box_shadow__WEBPACK_IMPORTED_MODULE_0__[/* shadowOpacity */ "e"], | ||
calc: _calc__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], | ||
extractUnit: _extractUnit__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], | ||
pxToRem: _px_to_rem__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], | ||
equalSizeSiblings: _equal_size_siblings__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"] | ||
}; | ||
/* harmony default export */ __webpack_exports__["default"] = (_default); | ||
; | ||
(function () { | ||
var reactHotLoader = __webpack_require__(0).default; | ||
var leaveModule = __webpack_require__(0).leaveModule; | ||
if (!reactHotLoader) { | ||
return; | ||
} | ||
reactHotLoader.register(_default, "default", "/Users/fbecker/repos/iris/packages/tools/src/index.js"); | ||
leaveModule(module); | ||
})(); | ||
; | ||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(2)(module))) | ||
/***/ }) | ||
/******/ ]); | ||
}); | ||
/******/ ]); |
{ | ||
"name": "@invisionag/iris-tools", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"main": "dist/index.js", | ||
@@ -8,7 +8,7 @@ "license": "MIT", | ||
"dependencies": { | ||
"@invisionag/iris-colors": "^3.1.2", | ||
"@invisionag/iris-colors": "^3.1.3", | ||
"@invisionag/iris-settings": "^4.4.2", | ||
"polished": "^2.1.1" | ||
}, | ||
"gitHead": "eb569530854a97ce6137e67b0192109bf587632d" | ||
"gitHead": "60b39d6f3c5f349afc80c1d15ba7e8a486460744" | ||
} |
29040
536