@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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # @ariakit/solid-core
2
2
 
3
+ ## 0.1.2
4
+
5
+ - Updated dependencies: `@ariakit/core@0.4.16`
6
+
3
7
  ## 0.1.1
4
8
 
5
9
  - Updated dependencies: `@ariakit/core@0.4.15`
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  declare const TagName = "div";
4
4
  type TagName = typeof TagName;
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  declare const TagName = "div";
4
4
  type TagName = typeof TagName;
@@ -1,2 +1,2 @@
1
- import { type Setter } from "solid-js";
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 { type Setter } from "solid-js";
1
+ import type { Setter } from "solid-js";
2
2
  export declare const GroupLabelContext: import("solid-js").Context<Setter<string | undefined> | undefined>;
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  declare const TagName = "div";
4
4
  type TagName = typeof TagName;
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  declare const TagName = "div";
4
4
  type TagName = typeof TagName;
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  declare const TagName = "div";
4
4
  type TagName = typeof TagName;
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  declare const TagName = "div";
4
4
  type TagName = typeof TagName;
@@ -1,3 +1,3 @@
1
- import { type Accessor } from "solid-js";
1
+ import type { Accessor } from "solid-js";
2
2
  import type { HeadingLevels } from "./utils.ts";
3
3
  export declare const HeadingContext: import("solid-js").Context<Accessor<HeadingLevels> | undefined>;
@@ -1,3 +1,3 @@
1
- import { type Accessor } from "solid-js";
1
+ import type { Accessor } from "solid-js";
2
2
  import type { HeadingLevels } from "./utils.ts";
3
3
  export declare const HeadingContext: import("solid-js").Context<Accessor<HeadingLevels> | undefined>;
@@ -1,4 +1,4 @@
1
- import { type JSX } from "solid-js";
1
+ import type { JSX } from "solid-js";
2
2
  import type { HeadingLevels } from "./utils.ts";
3
3
  /**
4
4
  * A component that sets the heading level for its children. It doesn't render
@@ -1,4 +1,4 @@
1
- import { type JSX } from "solid-js";
1
+ import type { JSX } from "solid-js";
2
2
  import type { HeadingLevels } from "./utils.ts";
3
3
  /**
4
4
  * A component that sets the heading level for its children. It doesn't render
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  import type { HeadingLevels } from "./utils.ts";
4
4
  type HeadingElements = `h${HeadingLevels}`;
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  import type { HeadingLevels } from "./utils.ts";
4
4
  type HeadingElements = `h${HeadingLevels}`;
@@ -1,5 +1,5 @@
1
- import { type MaybeAccessor } from "@solid-primitives/utils";
2
- import { type Accessor, type ValidComponent } from "solid-js";
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
- import { type MaybeAccessor } from "@solid-primitives/utils";
2
- import { type Accessor, type ValidComponent } from "solid-js";
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 { type Accessor, type JSX, type Setter } from "solid-js";
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 { type Accessor, type JSX, type Setter } from "solid-js";
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,7 +1,7 @@
1
1
  import type { AnyObject, EmptyObject } from "@ariakit/core/utils/types";
2
- import { type ValidComponent } from "solid-js";
3
- import { type ExtractPropsWithDefaultsExtractedProps, type ExtractPropsWithDefaultsRestProps } from "./reactivity.ts";
4
- import type { HTMLProps, Hook, Options, Props, WrapInstance, WrapInstanceValue } from "./types.ts";
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,7 +1,7 @@
1
1
  import type { AnyObject, EmptyObject } from "@ariakit/core/utils/types";
2
- import { type ValidComponent } from "solid-js";
3
- import { type ExtractPropsWithDefaultsExtractedProps, type ExtractPropsWithDefaultsRestProps } from "./reactivity.ts";
4
- import type { HTMLProps, Hook, Options, Props, WrapInstance, WrapInstanceValue } from "./types.ts";
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,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  declare const TagName = "div";
4
4
  type TagName = typeof TagName;
@@ -1,2 +1,2 @@
1
- import { type Setter } from "solid-js";
1
+ import type { Setter } from "solid-js";
2
2
  export declare const GroupLabelContext: import("solid-js").Context<Setter<string | undefined> | undefined>;
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  declare const TagName = "div";
4
4
  type TagName = typeof TagName;
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  declare const TagName = "div";
4
4
  type TagName = typeof TagName;
@@ -1,3 +1,3 @@
1
- import { type Accessor } from "solid-js";
1
+ import type { Accessor } from "solid-js";
2
2
  import type { HeadingLevels } from "./utils.ts";
3
3
  export declare const HeadingContext: import("solid-js").Context<Accessor<HeadingLevels> | undefined>;
@@ -1,4 +1,4 @@
1
- import { type JSX } from "solid-js";
1
+ import type { JSX } from "solid-js";
2
2
  import type { HeadingLevels } from "./utils.ts";
3
3
  /**
4
4
  * A component that sets the heading level for its children. It doesn't render
@@ -1,4 +1,4 @@
1
- import { type ValidComponent } from "solid-js";
1
+ import type { ValidComponent } from "solid-js";
2
2
  import type { Options, Props } from "../utils/types.ts";
3
3
  import type { HeadingLevels } from "./utils.ts";
4
4
  type HeadingElements = `h${HeadingLevels}`;
@@ -1,5 +1,5 @@
1
- import { type MaybeAccessor } from "@solid-primitives/utils";
2
- import { type Accessor, type ValidComponent } from "solid-js";
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 { type Accessor, type JSX, type Setter } from "solid-js";
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,7 +1,7 @@
1
1
  import type { AnyObject, EmptyObject } from "@ariakit/core/utils/types";
2
- import { type ValidComponent } from "solid-js";
3
- import { type ExtractPropsWithDefaultsExtractedProps, type ExtractPropsWithDefaultsRestProps } from "./reactivity.ts";
4
- import type { HTMLProps, Hook, Options, Props, WrapInstance, WrapInstanceValue } from "./types.ts";
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) Diego Haz, Dani Guardiola
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.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.15",
41
- "@solid-primitives/props": "3.2.0",
42
- "@solid-primitives/utils": "6.3.0"
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) {