tema-design
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -13,7 +13,7 @@ const isTextField = node => { | ||
if (!node.parentNode || !isTextField(node)) { return } | ||
node.parentNode.classList.remove('active'); | ||
node.parentNode.classList.remove('filled'); | ||
node.parentNode.classList.remove('active') | ||
node.parentNode.classList.remove('filled') | ||
if (node.value) { | ||
node.parentNode.classList.add('filled'); | ||
node.parentNode.classList.add('filled') | ||
} | ||
@@ -20,0 +20,0 @@ } |
@@ -12,4 +12,3 @@ const toggleSubmenu = e => { | ||
const menu = document.querySelector('.main-menu-wrapper') | ||
if(menu) | ||
menu.addEventListener('touchstart', toggleSubmenu) | ||
if (menu) { menu.addEventListener('touchstart', toggleSubmenu) } | ||
} | ||
@@ -16,0 +15,0 @@ |
@@ -31,3 +31,3 @@ const targetAttr = 'data-tab-component-tab-id' | ||
if (!node.hasAttribute(targetAttr)) { | ||
if (typeof (node.hasAttribute) !== 'function' || !node.hasAttribute(targetAttr)) { | ||
return | ||
@@ -34,0 +34,0 @@ } |
{ | ||
"name": "tema-design", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "Design system source used into tema ui's", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
86972
69
258