Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zag-js/form-utils

Package Overview
Dependencies
Maintainers
1
Versions
722
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/form-utils - npm Package Compare versions

Comparing version 0.0.0-dev-20221103102301 to 0.0.0-dev-20221115131702

3

dist/index.d.ts

@@ -5,2 +5,3 @@ declare type DescriptorOptions = {

};
declare function setElementValue(el: HTMLElement, value: string, option: DescriptorOptions): void;
declare function dispatchInputValueEvent(el: HTMLElement | null, value: string | number): void;

@@ -17,2 +18,2 @@ declare function dispatchInputCheckedEvent(el: HTMLElement | null, checked: boolean): void;

export { dispatchInputCheckedEvent, dispatchInputValueEvent, getClosestForm, isNativeDisabled, trackFieldsetDisabled, trackFormReset, trackInputPropertyMutation };
export { dispatchInputCheckedEvent, dispatchInputValueEvent, getClosestForm, isNativeDisabled, setElementValue, trackFieldsetDisabled, trackFormReset, trackInputPropertyMutation };

@@ -27,2 +27,3 @@ "use strict";

isNativeDisabled: () => isNativeDisabled,
setElementValue: () => setElementValue,
trackFieldsetDisabled: () => trackFieldsetDisabled,

@@ -62,2 +63,7 @@ trackFormReset: () => trackFormReset,

}
function setElementValue(el, value, option) {
var _a;
const descriptor = getDescriptor(el, option);
(_a = descriptor.set) == null ? void 0 : _a.call(el, value);
}
function dispatchInputValueEvent(el, value) {

@@ -143,2 +149,3 @@ var _a;

isNativeDisabled,
setElementValue,
trackFieldsetDisabled,

@@ -145,0 +152,0 @@ trackFormReset,

{
"name": "@zag-js/form-utils",
"version": "0.0.0-dev-20221103102301",
"version": "0.0.0-dev-20221115131702",
"description": "",

@@ -22,3 +22,3 @@ "main": "dist/index.js",

"devDependencies": {
"@zag-js/dom-utils": "0.0.0-dev-20221103102301"
"@zag-js/dom-utils": "0.0.0-dev-20221115131702"
},

@@ -25,0 +25,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc