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

@ariakit/core

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ariakit/core - npm Package Compare versions

Comparing version 0.4.13 to 0.4.14

6

CHANGELOG.md
# @ariakit/core
## 0.4.14
- Fixed a regression on [Hovercard](https://ariakit.org/components/hovercard) that sometimes prevented it from closing when other popups were opened.
- Fixed typings for [`onSubmit`](https://ariakit.org/reference/use-form-store#onsubmit) and [`onValidate`](https://ariakit.org/reference/use-form-store#onvalidate).
- Improved JSDocs.
## 0.4.13

@@ -4,0 +10,0 @@

4

cjs/form/form-store.d.ts

@@ -189,3 +189,3 @@ import type { CollectionStoreFunctions, CollectionStoreItem, CollectionStoreOptions, CollectionStoreState } from "../collection/collection-store.ts";

*/
onValidate: (callback: FormStoreCallback<FormStoreState<T>>) => void;
onValidate: (callback: FormStoreCallback<FormStoreState<T>>) => () => void;
/**

@@ -205,3 +205,3 @@ * Function that accepts a callback that will be used to submit the form when

*/
onSubmit: (callback: FormStoreCallback<FormStoreState<T>>) => void;
onSubmit: (callback: FormStoreCallback<FormStoreState<T>>) => () => void;
/**

@@ -208,0 +208,0 @@ * Validates the form.

@@ -189,3 +189,3 @@ import type { CollectionStoreFunctions, CollectionStoreItem, CollectionStoreOptions, CollectionStoreState } from "../collection/collection-store.ts";

*/
onValidate: (callback: FormStoreCallback<FormStoreState<T>>) => void;
onValidate: (callback: FormStoreCallback<FormStoreState<T>>) => () => void;
/**

@@ -205,3 +205,3 @@ * Function that accepts a callback that will be used to submit the form when

*/
onSubmit: (callback: FormStoreCallback<FormStoreState<T>>) => void;
onSubmit: (callback: FormStoreCallback<FormStoreState<T>>) => () => void;
/**

@@ -208,0 +208,0 @@ * Validates the form.

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

try {
scope.addEventListener(type, listener, options);
scope.document.addEventListener(type, listener, options);
for (const frame of Array.from(scope.frames)) {

@@ -114,3 +114,3 @@ children.push(addGlobalEventListener(type, listener, options, frame));

try {
scope.removeEventListener(type, listener, options);
scope.document.removeEventListener(type, listener, options);
} catch (e) {

@@ -117,0 +117,0 @@ }

{
"name": "@ariakit/core",
"version": "0.4.13",
"version": "0.4.14",
"description": "Ariakit core",

@@ -5,0 +5,0 @@ "sideEffects": false,

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