@fremtind/jkl-core
Advanced tools
Comparing version 1.0.0-alpha.10 to 1.0.0-alpha.11
@@ -31,2 +31,9 @@ var mousenavigation = false; | ||
export { initTabListener }; | ||
function getValuePair(item) { | ||
return typeof item === "string" ? { | ||
value: item, | ||
label: item | ||
} : item; | ||
} | ||
export { getValuePair, initTabListener }; |
@@ -1,1 +0,1 @@ | ||
var e=!1;function t(){if(!e){e=!0;var o=document.querySelector("html");o&&o.setAttribute("data-mousenavigation","true"),document.removeEventListener("mousedown",t),document.addEventListener("keydown",n)}}function n(o){if("Tab"===o.key&&e){e=!1;var d=document.querySelector("html");d&&d.removeAttribute("data-mousenavigation"),document.removeEventListener("keydown",n),document.addEventListener("mousedown",t)}}function o(){document&&document.addEventListener("mousedown",t)}export{o as initTabListener}; | ||
var e=!1;function t(){if(!e){e=!0;var o=document.querySelector("html");o&&o.setAttribute("data-mousenavigation","true"),document.removeEventListener("mousedown",t),document.addEventListener("keydown",n)}}function n(o){if("Tab"===o.key&&e){e=!1;var u=document.querySelector("html");u&&u.removeAttribute("data-mousenavigation"),document.removeEventListener("keydown",n),document.addEventListener("mousedown",t)}}function o(){document&&document.addEventListener("mousedown",t)}function u(e){return"string"==typeof e?{value:e,label:e}:e}export{u as getValuePair,o as initTabListener}; |
@@ -35,2 +35,10 @@ 'use strict'; | ||
function getValuePair(item) { | ||
return typeof item === "string" ? { | ||
value: item, | ||
label: item | ||
} : item; | ||
} | ||
exports.getValuePair = getValuePair; | ||
exports.initTabListener = initTabListener; |
@@ -31,2 +31,9 @@ var mousenavigation = false; | ||
export { initTabListener }; | ||
function getValuePair(item) { | ||
return typeof item === "string" ? { | ||
value: item, | ||
label: item | ||
} : item; | ||
} | ||
export { getValuePair, initTabListener }; |
@@ -1,1 +0,1 @@ | ||
var e=!1;function t(){if(!e){e=!0;var o=document.querySelector("html");o&&o.setAttribute("data-mousenavigation","true"),document.removeEventListener("mousedown",t),document.addEventListener("keydown",n)}}function n(o){if("Tab"===o.key&&e){e=!1;var d=document.querySelector("html");d&&d.removeAttribute("data-mousenavigation"),document.removeEventListener("keydown",n),document.addEventListener("mousedown",t)}}function o(){document&&document.addEventListener("mousedown",t)}export{o as initTabListener}; | ||
var e=!1;function t(){if(!e){e=!0;var o=document.querySelector("html");o&&o.setAttribute("data-mousenavigation","true"),document.removeEventListener("mousedown",t),document.addEventListener("keydown",n)}}function n(o){if("Tab"===o.key&&e){e=!1;var u=document.querySelector("html");u&&u.removeAttribute("data-mousenavigation"),document.removeEventListener("keydown",n),document.addEventListener("mousedown",t)}}function o(){document&&document.addEventListener("mousedown",t)}function u(e){return"string"==typeof e?{value:e,label:e}:e}export{u as getValuePair,o as initTabListener}; |
@@ -1,2 +0,6 @@ | ||
export { initTabListener } from "./utils"; | ||
export { initTabListener, getValuePair } from "./utils"; | ||
export declare type LabelVariant = "small" | "medium" | "large"; | ||
export declare type ValuePair = { | ||
value: string; | ||
label: string; | ||
}; |
export { initTabListener } from "./tabListener"; | ||
export { getValuePair } from "./getValuePair"; |
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-alpha.11](https://github.com/fremtind/jokul/compare/@fremtind/jkl-core@1.0.0-alpha.10...@fremtind/jkl-core@1.0.0-alpha.11) (2019-11-01) | ||
### Features | ||
* **core:** specify font fallback strategy ([94816d1](https://github.com/fremtind/jokul/commit/94816d1d9fa2e123f0931e18345d182ed4727cf4)), closes [#464](https://github.com/fremtind/jokul/issues/464) | ||
# [1.0.0-alpha.10](https://github.com/fremtind/jokul/compare/@fremtind/jkl-core@0.11.0...@fremtind/jkl-core@1.0.0-alpha.10) (2019-11-01) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@fremtind/jkl-core", | ||
"version": "1.0.0-alpha.10", | ||
"version": "1.0.0-alpha.11", | ||
"publishConfig": { | ||
@@ -45,3 +45,3 @@ "access": "public" | ||
"devDependencies": { | ||
"@fremtind/browserslist-config-jkl": "^1.0.0-alpha.10" | ||
"@fremtind/browserslist-config-jkl": "^1.0.0-alpha.11" | ||
}, | ||
@@ -58,3 +58,3 @@ "repository": { | ||
], | ||
"gitHead": "4a081ffbd6b21231e080ed16ed46b735fc1d4ac7" | ||
"gitHead": "72d828b382d0df6d4201fa92c449bfd8e775bcd6" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
953393
54
3156