@ndla/core
Advanced tools
Comparing version 2.3.5 to 2.3.6
@@ -0,5 +1,16 @@ | ||
/** | ||
* Copyright (c) 2019-present, NDLA. | ||
* | ||
* This source code is licensed under the GPLv3 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
*/ | ||
import colors from './colors'; | ||
import spacing from './spacing'; | ||
var utils = { | ||
restoreOutline: "\n outline: 1px dotted #212121;\n outline: -webkit-focus-ring-color auto 5px;\n", | ||
visuallyHidden: "\n margin: -1px;\n padding: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip: rect(0, 0, 0, 0);\n position: absolute;\n" | ||
visuallyHidden: "\n margin: -1px;\n padding: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip: rect(0, 0, 0, 0);\n position: absolute;\n", | ||
scrollbar: "\n ::-webkit-scrollbar {\n width: ".concat(spacing.small, ";\n }\n ::-webkit-scrollbar-thumb {\n border: 4px solid transparent;\n border-radius: 14px;\n background-clip: padding-box;\n padding: 0 4px;\n background-color: ").concat(colors.brand.neutral7, ";\n }\n "), | ||
labelHidden: "\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n " | ||
}; | ||
export default utils; |
@@ -0,5 +1,14 @@ | ||
/** | ||
* Copyright (c) 2019-present, NDLA. | ||
* | ||
* This source code is licensed under the GPLv3 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
*/ | ||
declare const utils: { | ||
restoreOutline: string; | ||
visuallyHidden: string; | ||
scrollbar: string; | ||
labelHidden: string; | ||
}; | ||
export default utils; |
@@ -7,7 +7,23 @@ "use strict"; | ||
exports["default"] = void 0; | ||
var _colors = _interopRequireDefault(require("./colors")); | ||
var _spacing = _interopRequireDefault(require("./spacing")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
/** | ||
* Copyright (c) 2019-present, NDLA. | ||
* | ||
* This source code is licensed under the GPLv3 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
*/ | ||
var utils = { | ||
restoreOutline: "\n outline: 1px dotted #212121;\n outline: -webkit-focus-ring-color auto 5px;\n", | ||
visuallyHidden: "\n margin: -1px;\n padding: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip: rect(0, 0, 0, 0);\n position: absolute;\n" | ||
visuallyHidden: "\n margin: -1px;\n padding: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip: rect(0, 0, 0, 0);\n position: absolute;\n", | ||
scrollbar: "\n ::-webkit-scrollbar {\n width: ".concat(_spacing["default"].small, ";\n }\n ::-webkit-scrollbar-thumb {\n border: 4px solid transparent;\n border-radius: 14px;\n background-clip: padding-box;\n padding: 0 4px;\n background-color: ").concat(_colors["default"].brand.neutral7, ";\n }\n "), | ||
labelHidden: "\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n " | ||
}; | ||
var _default = utils; | ||
exports["default"] = _default; |
{ | ||
"name": "@ndla/core", | ||
"version": "2.3.5", | ||
"version": "2.3.6", | ||
"description": "UI component library for NDLA.", | ||
@@ -40,3 +40,3 @@ "license": "GPL-3.0", | ||
}, | ||
"gitHead": "baebd3de72d4161213f0592ce05bc771f99d52d7" | ||
"gitHead": "2c5d6b7038c442a871b4cd69247d243cadd129da" | ||
} |
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
121397
949