@zag-js/vue
Advanced tools
Comparing version 0.80.0 to 0.81.0
@@ -22,7 +22,9 @@ 'use strict'; | ||
}; | ||
var preserveKeys = "viewBox,className,preserveAspectRatio,fillRule,clipPath,clipRule,strokeWidth,strokeLinecap,strokeLinejoin,strokeDasharray,strokeDashoffset,strokeMiterlimit".split( | ||
"," | ||
); | ||
function toVueProp(prop) { | ||
if (prop in propMap) return propMap[prop]; | ||
if (prop.startsWith("on")) { | ||
return `on${toCase(prop.substr(2))}`; | ||
} | ||
if (prop.startsWith("on")) return `on${toCase(prop.substr(2))}`; | ||
if (preserveKeys.includes(prop)) return prop; | ||
return prop.toLowerCase(); | ||
@@ -29,0 +31,0 @@ } |
{ | ||
"name": "@zag-js/vue", | ||
"version": "0.80.0", | ||
"version": "0.81.0", | ||
"description": "The vue wrapper for zag", | ||
@@ -28,5 +28,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/core": "0.80.0", | ||
"@zag-js/store": "0.80.0", | ||
"@zag-js/types": "0.80.0" | ||
"@zag-js/core": "0.81.0", | ||
"@zag-js/store": "0.81.0", | ||
"@zag-js/types": "0.81.0" | ||
}, | ||
@@ -36,3 +36,3 @@ "devDependencies": { | ||
"clean-package": "2.2.0", | ||
"@zag-js/utils": "0.80.0" | ||
"@zag-js/utils": "0.81.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
12527
216
+ Added@zag-js/core@0.81.0(transitive)
+ Added@zag-js/store@0.81.0(transitive)
+ Added@zag-js/types@0.81.0(transitive)
+ Added@zag-js/utils@0.81.0(transitive)
- Removed@zag-js/core@0.80.0(transitive)
- Removed@zag-js/store@0.80.0(transitive)
- Removed@zag-js/types@0.80.0(transitive)
- Removed@zag-js/utils@0.80.0(transitive)
Updated@zag-js/core@0.81.0
Updated@zag-js/store@0.81.0
Updated@zag-js/types@0.81.0