New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nextui-org/form

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextui-org/form - npm Package Compare versions

Comparing version 0.0.0-canary-20241204223333 to 0.0.0-canary-20241204224020

dist/chunk-CSTBR3S2.mjs

2

dist/base-form.js

@@ -79,3 +79,3 @@ "use client";

[props, ref] = useContextProps(props, ref, FormContext);
let { validationErrors, validationBehavior = "aria", children, className, ...domProps } = props;
let { validationErrors, validationBehavior = "native", children, className, ...domProps } = props;
const styles = (0, import_react2.useMemo)(() => (0, import_theme.form)({ className }), [className]);

@@ -82,0 +82,0 @@ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("form", { noValidate: validationBehavior !== "native", ...domProps, ref, className: styles, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FormContext.Provider, { value: { ...props, validationBehavior }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_form.FormValidationContext.Provider, { value: validationErrors != null ? validationErrors : {}, children }) }) });

@@ -81,3 +81,3 @@ "use client";

[props, ref] = useContextProps(props, ref, FormContext);
let { validationErrors, validationBehavior = "aria", children, className, ...domProps } = props;
let { validationErrors, validationBehavior = "native", children, className, ...domProps } = props;
const styles = (0, import_react2.useMemo)(() => (0, import_theme.form)({ className }), [className]);

@@ -84,0 +84,0 @@ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("form", { noValidate: validationBehavior !== "native", ...domProps, ref, className: styles, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FormContext.Provider, { value: { ...props, validationBehavior }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_form.FormValidationContext.Provider, { value: validationErrors != null ? validationErrors : {}, children }) }) });

@@ -80,3 +80,3 @@ "use client";

[props, ref] = useContextProps(props, ref, FormContext);
let { validationErrors, validationBehavior = "aria", children, className, ...domProps } = props;
let { validationErrors, validationBehavior = "native", children, className, ...domProps } = props;
const styles = (0, import_react2.useMemo)(() => (0, import_theme.form)({ className }), [className]);

@@ -83,0 +83,0 @@ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("form", { noValidate: validationBehavior !== "native", ...domProps, ref, className: styles, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FormContext.Provider, { value: { ...props, validationBehavior }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_form.FormValidationContext.Provider, { value: validationErrors != null ? validationErrors : {}, children }) }) });

{
"name": "@nextui-org/form",
"version": "0.0.0-canary-20241204223333",
"version": "0.0.0-canary-20241204224020",
"description": "A form is a group of inputs that allows users submit data to a server and supports field validation errors.",

@@ -28,4 +28,4 @@ "keywords": [

"peerDependencies": {
"@nextui-org/system": "0.0.0-canary-20241204223333",
"@nextui-org/theme": "0.0.0-canary-20241204223333",
"@nextui-org/system": "0.0.0-canary-20241204224020",
"@nextui-org/theme": "0.0.0-canary-20241204224020",
"react": ">=18",

@@ -39,6 +39,6 @@ "react-dom": ">=18"

"@react-types/form": "^3.7.8",
"@nextui-org/react-utils": "0.0.0-canary-20241204223333",
"@nextui-org/shared-utils": "0.0.0-canary-20241204223333",
"@nextui-org/system": "0.0.0-canary-20241204223333",
"@nextui-org/theme": "0.0.0-canary-20241204223333"
"@nextui-org/react-utils": "0.0.0-canary-20241204224020",
"@nextui-org/shared-utils": "0.0.0-canary-20241204224020",
"@nextui-org/system": "0.0.0-canary-20241204224020",
"@nextui-org/theme": "0.0.0-canary-20241204224020"
},

@@ -45,0 +45,0 @@ "clean-package": "../../../clean-package.config.json",

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

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