@clarityhub/unity-core
Advanced tools
Comparing version 1.8.7 to 1.12.0
@@ -6,7 +6,7 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
exports["default"] = void 0; | ||
var _rem = _interopRequireDefault(require("./utilities/rem")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -18,6 +18,6 @@ var _default = { | ||
*/ | ||
default: 4, | ||
rem: (0, _rem.default)(4) | ||
"default": 4, | ||
rem: (0, _rem["default"])(4) | ||
} | ||
}; | ||
exports.default = _default; | ||
exports["default"] = _default; |
@@ -6,54 +6,54 @@ "use strict"; | ||
}); | ||
exports.default = exports.types = void 0; | ||
exports["default"] = exports.types = void 0; | ||
var colors = { | ||
primary: { | ||
default: '#566ad2' | ||
"default": '#566ad2' | ||
}, | ||
danger: { | ||
default: '#f5365c' | ||
"default": '#f5365c' | ||
}, | ||
success: { | ||
default: '#46C161' | ||
"default": '#46C161' | ||
}, | ||
focused: { | ||
default: 'rgba(0, 123, 255, .25)' | ||
"default": 'rgba(0, 123, 255, .25)' | ||
}, | ||
highlight: { | ||
default: '#fff0cc' | ||
"default": '#fff0cc' | ||
}, | ||
notification: { | ||
default: '#FF6A5C' | ||
"default": '#FF6A5C' | ||
}, | ||
brand: { | ||
default: '#FF6A5C' | ||
"default": '#FF6A5C' | ||
}, | ||
white: { | ||
default: '#FFF' | ||
"default": '#FFF' | ||
}, | ||
dove: { | ||
default: '#FDFDFD' | ||
"default": '#FDFDFD' | ||
}, | ||
muted: { | ||
default: '#F1F1F1' | ||
"default": '#F1F1F1' | ||
}, | ||
gray: { | ||
default: '#C2C2C2' | ||
"default": '#C2C2C2' | ||
}, | ||
darkGray: { | ||
default: '#999' | ||
"default": '#999' | ||
}, | ||
dark: { | ||
default: '#322439' | ||
"default": '#322439' | ||
}, | ||
black: { | ||
default: '#333' | ||
"default": '#333' | ||
}, | ||
gradient: { | ||
default: 'linear-gradient(-104deg,#dd2476 16%,#ff512f 95%)' | ||
"default": 'linear-gradient(-104deg,#dd2476 16%,#ff512f 95%)' | ||
}, | ||
shadow: { | ||
default: '0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08)' | ||
"default": '0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08)' | ||
}, | ||
outlineShadow: { | ||
default: '0 1px 3px rgba(50,50,93,.15), 0 1px 0 rgba(0,0,0,.02)' | ||
"default": '0 1px 3px rgba(50,50,93,.15), 0 1px 0 rgba(0,0,0,.02)' | ||
} | ||
@@ -81,2 +81,2 @@ }; | ||
var _default = colors; | ||
exports.default = _default; | ||
exports["default"] = _default; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
exports["default"] = void 0; | ||
var _default = { | ||
@@ -15,2 +15,2 @@ xsmall: 0.5, | ||
}; | ||
exports.default = _default; | ||
exports["default"] = _default; |
@@ -10,3 +10,3 @@ "use strict"; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -51,3 +51,3 @@ var fontFamilies = { | ||
px: 32, | ||
rem: (0, _rem.default)(32), | ||
rem: (0, _rem["default"])(32), | ||
lineHeight: { | ||
@@ -60,3 +60,3 @@ px: 32 * 1.4, | ||
px: 26, | ||
rem: (0, _rem.default)(26), | ||
rem: (0, _rem["default"])(26), | ||
lineHeight: { | ||
@@ -69,3 +69,3 @@ px: 36.4, | ||
px: 21, | ||
rem: (0, _rem.default)(21), | ||
rem: (0, _rem["default"])(21), | ||
lineHeight: { | ||
@@ -78,3 +78,3 @@ px: 25.2, | ||
px: 19, | ||
rem: (0, _rem.default)(19), | ||
rem: (0, _rem["default"])(19), | ||
lineHeight: { | ||
@@ -87,3 +87,3 @@ px: 22.8, | ||
px: 16, | ||
rem: (0, _rem.default)(16), | ||
rem: (0, _rem["default"])(16), | ||
lineHeight: { | ||
@@ -96,3 +96,3 @@ px: 19.2, | ||
px: 14, | ||
rem: (0, _rem.default)(14), | ||
rem: (0, _rem["default"])(14), | ||
lineHeight: { | ||
@@ -105,3 +105,3 @@ px: 16.8, | ||
px: 21, | ||
rem: (0, _rem.default)(21), | ||
rem: (0, _rem["default"])(21), | ||
lineHeight: { | ||
@@ -114,3 +114,3 @@ px: 33.6, | ||
px: 16, | ||
rem: (0, _rem.default)(16), | ||
rem: (0, _rem["default"])(16), | ||
lineHeight: { | ||
@@ -123,3 +123,3 @@ px: 24, | ||
px: 16, | ||
rem: (0, _rem.default)(16), | ||
rem: (0, _rem["default"])(16), | ||
lineHeight: { | ||
@@ -132,3 +132,3 @@ px: 25.6, | ||
px: 14.4, | ||
rem: (0, _rem.default)(14.4), | ||
rem: (0, _rem["default"])(14.4), | ||
lineHeight: { | ||
@@ -135,0 +135,0 @@ px: 19.6, |
@@ -10,3 +10,3 @@ "use strict"; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -22,3 +22,3 @@ var cache = {}; | ||
var c = (0, _color.default)(color)[operation](percentage).rgb().string(); | ||
var c = (0, _color["default"])(color)[operation](percentage).rgb().string(); | ||
cache[key] = c; | ||
@@ -64,3 +64,3 @@ return c; | ||
var arr = (0, _color.default)(color).rgb().array(); | ||
var arr = (0, _color["default"])(color).rgb().array(); | ||
arr.push(percentage); | ||
@@ -67,0 +67,0 @@ var c = "rgba(".concat(arr.join(','), ")"); |
@@ -6,6 +6,6 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
exports["default"] = void 0; | ||
var _default = function _default() {}; | ||
exports.default = _default; | ||
exports["default"] = _default; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
exports["default"] = void 0; | ||
@@ -14,2 +14,2 @@ var _default = function _default(pixel) { | ||
exports.default = _default; | ||
exports["default"] = _default; |
{ | ||
"name": "@clarityhub/unity-core", | ||
"version": "1.8.7", | ||
"version": "1.12.0", | ||
"description": "Unity Design System for Clarity Hub", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
8364