@ariakit/solid-core 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/cjs/focus-trap/focus-trap-region.d.cts +1 -1
- package/cjs/focus-trap/focus-trap-region.d.ts +1 -1
- package/cjs/group/group-label-context.d.cts +1 -1
- package/cjs/group/group-label-context.d.ts +1 -1
- package/cjs/group/group-label.d.cts +1 -1
- package/cjs/group/group-label.d.ts +1 -1
- package/cjs/group/group.d.cts +1 -1
- package/cjs/group/group.d.ts +1 -1
- package/cjs/heading/heading-context.d.cts +1 -1
- package/cjs/heading/heading-context.d.ts +1 -1
- package/cjs/heading/heading-level.d.cts +1 -1
- package/cjs/heading/heading-level.d.ts +1 -1
- package/cjs/heading/heading.d.cts +1 -1
- package/cjs/heading/heading.d.ts +1 -1
- package/cjs/utils/misc.d.cts +2 -2
- package/cjs/utils/misc.d.ts +2 -2
- package/cjs/utils/reactivity.d.cts +1 -1
- package/cjs/utils/reactivity.d.ts +1 -1
- package/cjs/utils/system.d.cts +3 -3
- package/cjs/utils/system.d.ts +3 -3
- package/esm/focus-trap/focus-trap-region.d.ts +1 -1
- package/esm/group/group-label-context.d.ts +1 -1
- package/esm/group/group-label.d.ts +1 -1
- package/esm/group/group.d.ts +1 -1
- package/esm/heading/heading-context.d.ts +1 -1
- package/esm/heading/heading-level.d.ts +1 -1
- package/esm/heading/heading.d.ts +1 -1
- package/esm/utils/misc.d.ts +2 -2
- package/esm/utils/reactivity.d.ts +1 -1
- package/esm/utils/system.d.ts +3 -3
- package/license +1 -1
- package/package.json +4 -4
- package/solid/group/group-label.jsx +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Setter } from "solid-js";
|
|
2
2
|
export declare const GroupLabelContext: import("solid-js").Context<Setter<string | undefined> | undefined>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Setter } from "solid-js";
|
|
2
2
|
export declare const GroupLabelContext: import("solid-js").Context<Setter<string | undefined> | undefined>;
|
package/cjs/group/group.d.cts
CHANGED
package/cjs/group/group.d.ts
CHANGED
package/cjs/heading/heading.d.ts
CHANGED
package/cjs/utils/misc.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { MaybeAccessor } from "@solid-primitives/utils";
|
|
2
|
+
import type { Accessor, ValidComponent } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Generates a unique ID.
|
|
5
5
|
*/
|
package/cjs/utils/misc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { MaybeAccessor } from "@solid-primitives/utils";
|
|
2
|
+
import type { Accessor, ValidComponent } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Generates a unique ID.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
2
|
+
import type { Accessor, JSX, Setter } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a stable accessor. Useful when creating derived accessors that
|
|
5
5
|
* depend on a mutable variable that may change later.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
2
|
+
import type { Accessor, JSX, Setter } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a stable accessor. Useful when creating derived accessors that
|
|
5
5
|
* depend on a mutable variable that may change later.
|
package/cjs/utils/system.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AnyObject, EmptyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import type {
|
|
2
|
+
import type { ValidComponent } from "solid-js";
|
|
3
|
+
import type { ExtractPropsWithDefaultsExtractedProps, ExtractPropsWithDefaultsRestProps } from "./reactivity.ts";
|
|
4
|
+
import type { Hook, HTMLProps, Options, Props, WrapInstance, WrapInstanceValue } from "./types.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Creates a Solid component instance that supports the `render` and
|
|
7
7
|
* `wrapInstance` props.
|
package/cjs/utils/system.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AnyObject, EmptyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import type {
|
|
2
|
+
import type { ValidComponent } from "solid-js";
|
|
3
|
+
import type { ExtractPropsWithDefaultsExtractedProps, ExtractPropsWithDefaultsRestProps } from "./reactivity.ts";
|
|
4
|
+
import type { Hook, HTMLProps, Options, Props, WrapInstance, WrapInstanceValue } from "./types.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Creates a Solid component instance that supports the `render` and
|
|
7
7
|
* `wrapInstance` props.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Setter } from "solid-js";
|
|
2
2
|
export declare const GroupLabelContext: import("solid-js").Context<Setter<string | undefined> | undefined>;
|
package/esm/group/group.d.ts
CHANGED
package/esm/heading/heading.d.ts
CHANGED
package/esm/utils/misc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { MaybeAccessor } from "@solid-primitives/utils";
|
|
2
|
+
import type { Accessor, ValidComponent } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Generates a unique ID.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
2
|
+
import type { Accessor, JSX, Setter } from "solid-js";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a stable accessor. Useful when creating derived accessors that
|
|
5
5
|
* depend on a mutable variable that may change later.
|
package/esm/utils/system.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AnyObject, EmptyObject } from "@ariakit/core/utils/types";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import type {
|
|
2
|
+
import type { ValidComponent } from "solid-js";
|
|
3
|
+
import type { ExtractPropsWithDefaultsExtractedProps, ExtractPropsWithDefaultsRestProps } from "./reactivity.ts";
|
|
4
|
+
import type { Hook, HTMLProps, Options, Props, WrapInstance, WrapInstanceValue } from "./types.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Creates a Solid component instance that supports the `render` and
|
|
7
7
|
* `wrapInstance` props.
|
package/license
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2025-present Ariakit FZ-LLC, Dani Guardiola
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ariakit/solid-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Ariakit Solid core",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"core"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@ariakit/core": "0.4.
|
|
41
|
-
"@solid-primitives/props": "3.2.
|
|
42
|
-
"@solid-primitives/utils": "6.3.
|
|
40
|
+
"@ariakit/core": "0.4.16",
|
|
41
|
+
"@solid-primitives/props": "3.2.2",
|
|
42
|
+
"@solid-primitives/utils": "6.3.2"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"solid-js": "^1.8"
|
|
@@ -14,11 +14,7 @@ import {
|
|
|
14
14
|
} from "../__chunks/TCHPU5P4.jsx";
|
|
15
15
|
|
|
16
16
|
// src/group/group-label.tsx
|
|
17
|
-
import {
|
|
18
|
-
createEffect,
|
|
19
|
-
onCleanup,
|
|
20
|
-
useContext
|
|
21
|
-
} from "solid-js";
|
|
17
|
+
import { createEffect, onCleanup, useContext } from "solid-js";
|
|
22
18
|
var TagName = "div";
|
|
23
19
|
var useGroupLabel = createHook(
|
|
24
20
|
function useGroupLabel2(props) {
|