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

@ariakit/core

Package Overview
Dependencies
Maintainers
2
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.6 to 0.4.7

cjs/__chunks/3COGJMN3.cjs

4

CHANGELOG.md
# @ariakit/core
## 0.4.7
- Improved JSDocs.
## 0.4.6

@@ -4,0 +8,0 @@

@@ -74,2 +74,4 @@ import type { CompositeStoreFunctions, CompositeStoreItem, CompositeStoreOptions, CompositeStoreState } from "../composite/composite-store.ts";

* - [Command Menu](https://ariakit.org/examples/dialog-combobox-command-menu)
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
*/

@@ -76,0 +78,0 @@ resetValueOnHide: boolean;

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

* attribute.
*
* Live examples:
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
* @default false

@@ -182,3 +186,3 @@ */

* Live examples:
* - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
* - [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)
*/

@@ -185,0 +189,0 @@ activeId: string | null | undefined;

@@ -105,2 +105,4 @@ import type { ComboboxStore } from "../combobox/combobox-store.ts";

* Router](https://ariakit.org/examples/select-next-router)
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
*/

@@ -107,0 +109,0 @@ defaultValue?: SelectStoreState<T>["value"];

14

cjs/tab/tab-store.d.ts

@@ -25,3 +25,5 @@ import type { CollectionStore, CollectionStoreItem } from "../collection/collection-store.ts";

* - [Tab with React Router](https://ariakit.org/examples/tab-react-router)
* - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
* - [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
*/

@@ -31,7 +33,9 @@ selectedId: TabStoreState["activeId"];

* Determines if the tab should be selected when it receives focus. If set to
* `false`, the tab will only be selected upon clicking, not when
* using arrow keys to shift focus.
* `false`, the tab will only be selected upon clicking, not when using arrow
* keys to shift focus.
*
* Live examples:
* - [Tab with React Router](https://ariakit.org/examples/tab-react-router)
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
* @default true

@@ -104,4 +108,6 @@ */

* Live examples:
* - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
* - [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)
* - [Animated TabPanel](https://ariakit.org/examples/tab-panel-animated)
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
*/

@@ -108,0 +114,0 @@ defaultSelectedId?: TabStoreState["selectedId"];

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

throwOnConflictingProps
} from "../__chunks/R676XYVY.js";
} from "../__chunks/KLPDXTDE.js";
import {

@@ -8,0 +8,0 @@ defaultValue

"use client";
import {
createCollectionStore
} from "../__chunks/EQPTKGFA.js";
import "../__chunks/R676XYVY.js";
} from "../__chunks/I2WJ7JBQ.js";
import "../__chunks/KLPDXTDE.js";
import "../__chunks/22HHDS5F.js";

@@ -7,0 +7,0 @@ import "../__chunks/I2NJJ3XW.js";

@@ -74,2 +74,4 @@ import type { CompositeStoreFunctions, CompositeStoreItem, CompositeStoreOptions, CompositeStoreState } from "../composite/composite-store.ts";

* - [Command Menu](https://ariakit.org/examples/dialog-combobox-command-menu)
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
*/

@@ -76,0 +78,0 @@ resetValueOnHide: boolean;

"use client";
import {
createCompositeStore
} from "../__chunks/PBSSD2DM.js";
import "../__chunks/EQPTKGFA.js";
} from "../__chunks/VH2P7HEP.js";
import "../__chunks/I2WJ7JBQ.js";
import "../__chunks/7PRQYBBV.js";
import {
createPopoverStore
} from "../__chunks/MFZZDIHG.js";
import "../__chunks/5RJNXXU2.js";
import "../__chunks/WCKXDMU7.js";
} from "../__chunks/SAZZJI72.js";
import "../__chunks/NWACXGIN.js";
import "../__chunks/KDSZSVV5.js";
import {

@@ -20,3 +20,3 @@ batch,

throwOnConflictingProps
} from "../__chunks/R676XYVY.js";
} from "../__chunks/KLPDXTDE.js";
import {

@@ -23,0 +23,0 @@ chain,

"use client";
import {
createPopoverStore
} from "../__chunks/MFZZDIHG.js";
import "../__chunks/5RJNXXU2.js";
import "../__chunks/WCKXDMU7.js";
import "../__chunks/R676XYVY.js";
} from "../__chunks/SAZZJI72.js";
import "../__chunks/NWACXGIN.js";
import "../__chunks/KDSZSVV5.js";
import "../__chunks/KLPDXTDE.js";
import "../__chunks/22HHDS5F.js";

@@ -9,0 +9,0 @@ import "../__chunks/4R3V3JGP.js";

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

* attribute.
*
* Live examples:
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
* @default false

@@ -182,3 +186,3 @@ */

* Live examples:
* - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
* - [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)
*/

@@ -185,0 +189,0 @@ activeId: string | null | undefined;

"use client";
import {
createCompositeStore
} from "../__chunks/PBSSD2DM.js";
import "../__chunks/EQPTKGFA.js";
} from "../__chunks/VH2P7HEP.js";
import "../__chunks/I2WJ7JBQ.js";
import "../__chunks/7PRQYBBV.js";
import "../__chunks/R676XYVY.js";
import "../__chunks/KLPDXTDE.js";
import "../__chunks/22HHDS5F.js";

@@ -9,0 +9,0 @@ import "../__chunks/I2NJJ3XW.js";

"use client";
import {
createDialogStore
} from "../__chunks/5RJNXXU2.js";
import "../__chunks/WCKXDMU7.js";
import "../__chunks/R676XYVY.js";
} from "../__chunks/NWACXGIN.js";
import "../__chunks/KDSZSVV5.js";
import "../__chunks/KLPDXTDE.js";
import "../__chunks/22HHDS5F.js";

@@ -8,0 +8,0 @@ import "../__chunks/4R3V3JGP.js";

"use client";
import {
createDisclosureStore
} from "../__chunks/WCKXDMU7.js";
import "../__chunks/R676XYVY.js";
} from "../__chunks/KDSZSVV5.js";
import "../__chunks/KLPDXTDE.js";
import "../__chunks/22HHDS5F.js";

@@ -7,0 +7,0 @@ import "../__chunks/4R3V3JGP.js";

"use client";
import {
createCollectionStore
} from "../__chunks/EQPTKGFA.js";
} from "../__chunks/I2WJ7JBQ.js";
import {

@@ -10,3 +10,3 @@ createStore,

throwOnConflictingProps
} from "../__chunks/R676XYVY.js";
} from "../__chunks/KLPDXTDE.js";
import {

@@ -13,0 +13,0 @@ applyState,

"use client";
import {
createHovercardStore
} from "../__chunks/BRS7GKWU.js";
import "../__chunks/MFZZDIHG.js";
import "../__chunks/5RJNXXU2.js";
import "../__chunks/WCKXDMU7.js";
import "../__chunks/R676XYVY.js";
} from "../__chunks/E4HA32QI.js";
import "../__chunks/SAZZJI72.js";
import "../__chunks/NWACXGIN.js";
import "../__chunks/KDSZSVV5.js";
import "../__chunks/KLPDXTDE.js";
import "../__chunks/22HHDS5F.js";

@@ -10,0 +10,0 @@ import "../__chunks/4R3V3JGP.js";

"use client";
import {
createMenubarStore
} from "../__chunks/P3MTNH46.js";
import "../__chunks/PBSSD2DM.js";
import "../__chunks/EQPTKGFA.js";
} from "../__chunks/RCLYDUHE.js";
import "../__chunks/VH2P7HEP.js";
import "../__chunks/I2WJ7JBQ.js";
import "../__chunks/7PRQYBBV.js";
import "../__chunks/R676XYVY.js";
import "../__chunks/KLPDXTDE.js";
import "../__chunks/22HHDS5F.js";

@@ -10,0 +10,0 @@ import "../__chunks/I2NJJ3XW.js";

"use client";
import {
createHovercardStore
} from "../__chunks/BRS7GKWU.js";
} from "../__chunks/E4HA32QI.js";
import {
createCompositeStore
} from "../__chunks/PBSSD2DM.js";
import "../__chunks/EQPTKGFA.js";
} from "../__chunks/VH2P7HEP.js";
import "../__chunks/I2WJ7JBQ.js";
import "../__chunks/7PRQYBBV.js";
import "../__chunks/MFZZDIHG.js";
import "../__chunks/5RJNXXU2.js";
import "../__chunks/WCKXDMU7.js";
import "../__chunks/SAZZJI72.js";
import "../__chunks/NWACXGIN.js";
import "../__chunks/KDSZSVV5.js";
import {

@@ -21,3 +21,3 @@ createStore,

throwOnConflictingProps
} from "../__chunks/R676XYVY.js";
} from "../__chunks/KLPDXTDE.js";
import {

@@ -24,0 +24,0 @@ applyState,

"use client";
import {
createMenubarStore
} from "../__chunks/P3MTNH46.js";
import "../__chunks/PBSSD2DM.js";
import "../__chunks/EQPTKGFA.js";
} from "../__chunks/RCLYDUHE.js";
import "../__chunks/VH2P7HEP.js";
import "../__chunks/I2WJ7JBQ.js";
import "../__chunks/7PRQYBBV.js";
import "../__chunks/R676XYVY.js";
import "../__chunks/KLPDXTDE.js";
import "../__chunks/22HHDS5F.js";

@@ -10,0 +10,0 @@ import "../__chunks/I2NJJ3XW.js";

"use client";
import {
createPopoverStore
} from "../__chunks/MFZZDIHG.js";
import "../__chunks/5RJNXXU2.js";
import "../__chunks/WCKXDMU7.js";
import "../__chunks/R676XYVY.js";
} from "../__chunks/SAZZJI72.js";
import "../__chunks/NWACXGIN.js";
import "../__chunks/KDSZSVV5.js";
import "../__chunks/KLPDXTDE.js";
import "../__chunks/22HHDS5F.js";

@@ -9,0 +9,0 @@ import "../__chunks/4R3V3JGP.js";

"use client";
import {
createCompositeStore
} from "../__chunks/PBSSD2DM.js";
import "../__chunks/EQPTKGFA.js";
} from "../__chunks/VH2P7HEP.js";
import "../__chunks/I2WJ7JBQ.js";
import "../__chunks/7PRQYBBV.js";
import {
createStore
} from "../__chunks/R676XYVY.js";
} from "../__chunks/KLPDXTDE.js";
import {

@@ -11,0 +11,0 @@ defaultValue

@@ -105,2 +105,4 @@ import type { ComboboxStore } from "../combobox/combobox-store.ts";

* Router](https://ariakit.org/examples/select-next-router)
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
*/

@@ -107,0 +109,0 @@ defaultValue?: SelectStoreState<T>["value"];

"use client";
import {
createCompositeStore
} from "../__chunks/PBSSD2DM.js";
import "../__chunks/EQPTKGFA.js";
} from "../__chunks/VH2P7HEP.js";
import "../__chunks/I2WJ7JBQ.js";
import {

@@ -11,5 +11,5 @@ toArray

createPopoverStore
} from "../__chunks/MFZZDIHG.js";
import "../__chunks/5RJNXXU2.js";
import "../__chunks/WCKXDMU7.js";
} from "../__chunks/SAZZJI72.js";
import "../__chunks/NWACXGIN.js";
import "../__chunks/KDSZSVV5.js";
import {

@@ -23,3 +23,3 @@ batch,

throwOnConflictingProps
} from "../__chunks/R676XYVY.js";
} from "../__chunks/KLPDXTDE.js";
import {

@@ -26,0 +26,0 @@ defaultValue

@@ -25,3 +25,5 @@ import type { CollectionStore, CollectionStoreItem } from "../collection/collection-store.ts";

* - [Tab with React Router](https://ariakit.org/examples/tab-react-router)
* - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
* - [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
*/

@@ -31,7 +33,9 @@ selectedId: TabStoreState["activeId"];

* Determines if the tab should be selected when it receives focus. If set to
* `false`, the tab will only be selected upon clicking, not when
* using arrow keys to shift focus.
* `false`, the tab will only be selected upon clicking, not when using arrow
* keys to shift focus.
*
* Live examples:
* - [Tab with React Router](https://ariakit.org/examples/tab-react-router)
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
* @default true

@@ -104,4 +108,6 @@ */

* Live examples:
* - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
* - [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)
* - [Animated TabPanel](https://ariakit.org/examples/tab-panel-animated)
* - [Select with Combobox and
* Tabs](https://ariakit.org/examples/select-combobox-tab)
*/

@@ -108,0 +114,0 @@ defaultSelectedId?: TabStoreState["selectedId"];

"use client";
import {
createCompositeStore
} from "../__chunks/PBSSD2DM.js";
} from "../__chunks/VH2P7HEP.js";
import {
createCollectionStore
} from "../__chunks/EQPTKGFA.js";
} from "../__chunks/I2WJ7JBQ.js";
import "../__chunks/7PRQYBBV.js";

@@ -16,3 +16,3 @@ import {

sync
} from "../__chunks/R676XYVY.js";
} from "../__chunks/KLPDXTDE.js";
import {

@@ -19,0 +19,0 @@ chain,

"use client";
import {
createCompositeStore
} from "../__chunks/PBSSD2DM.js";
import "../__chunks/EQPTKGFA.js";
} from "../__chunks/VH2P7HEP.js";
import "../__chunks/I2WJ7JBQ.js";
import "../__chunks/7PRQYBBV.js";

@@ -14,3 +14,3 @@ import {

sync
} from "../__chunks/R676XYVY.js";
} from "../__chunks/KLPDXTDE.js";
import {

@@ -17,0 +17,0 @@ applyState,

"use client";
import {
createCompositeStore
} from "../__chunks/PBSSD2DM.js";
import "../__chunks/EQPTKGFA.js";
} from "../__chunks/VH2P7HEP.js";
import "../__chunks/I2WJ7JBQ.js";
import "../__chunks/7PRQYBBV.js";
import "../__chunks/R676XYVY.js";
import "../__chunks/KLPDXTDE.js";
import {

@@ -9,0 +9,0 @@ defaultValue

"use client";
import {
createHovercardStore
} from "../__chunks/BRS7GKWU.js";
import "../__chunks/MFZZDIHG.js";
import "../__chunks/5RJNXXU2.js";
import "../__chunks/WCKXDMU7.js";
} from "../__chunks/E4HA32QI.js";
import "../__chunks/SAZZJI72.js";
import "../__chunks/NWACXGIN.js";
import "../__chunks/KDSZSVV5.js";
import {
createStore
} from "../__chunks/R676XYVY.js";
} from "../__chunks/KLPDXTDE.js";
import {

@@ -12,0 +12,0 @@ defaultValue

@@ -130,3 +130,5 @@ "use client";

}
children.forEach((remove) => remove());
for (const remove of children) {
remove();
}
};

@@ -133,0 +135,0 @@ return removeEventListener;

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

function hasNegativeTabIndex(element) {
const tabIndex = parseInt(element.getAttribute("tabindex") || "0", 10);
const tabIndex = Number.parseInt(element.getAttribute("tabindex") || "0", 10);
return tabIndex < 0;

@@ -209,3 +209,5 @@ }

const tabbableElements = getAllTabbableIn(container, includeContainer);
tabbableElements.forEach(disableFocus);
for (const element of tabbableElements) {
disableFocus(element);
}
}

@@ -226,3 +228,5 @@ function restoreFocusIn(container) {

}
elements.forEach(restoreTabIndex);
for (const element of elements) {
restoreTabIndex(element);
}
}

@@ -229,0 +233,0 @@ function focusIntoView(element, options) {

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

throwOnConflictingProps
} from "../__chunks/R676XYVY.js";
} from "../__chunks/KLPDXTDE.js";
import "../__chunks/22HHDS5F.js";

@@ -16,0 +16,0 @@ import "../__chunks/4R3V3JGP.js";

{
"name": "@ariakit/core",
"version": "0.4.6",
"version": "0.4.7",
"description": "Ariakit core",

@@ -23,3 +23,3 @@ "sideEffects": false,

"scripts": {
"lint": "eslint . --ext js,ts,tsx",
"lint": "biome check .",
"build": "node ../../scripts/build/build.js",

@@ -26,0 +26,0 @@ "clean": "node ../../scripts/build/clean.js"

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

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

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

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

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

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

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

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

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