@css-hooks/react 3.2.0-next.9 → 4.0.0-next.10

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/types/index.d.ts CHANGED
@@ -1,22 +1,25 @@
1
1
  /**
2
- * CSS Hooks for {@link https://react.dev | React}
2
+ * CSS Hooks for {@link https://react.dev | React}
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
6
+ import type { CreateHooksFn } from "@css-hooks/core";
6
7
  import type { CSSProperties } from "react";
8
+ import type { CSSPropertyConflicts } from "./css-property-conflicts.ts";
7
9
  export type * from "@css-hooks/core";
10
+ export type { CSSPropertyConflicts } from "./css-property-conflicts.ts";
8
11
  /** @internal */
9
12
  export declare function _stringifyValue(value: unknown, propertyName: string): string | null;
10
13
  /**
11
14
  * A {@link @css-hooks/core#CreateHooksFn} configured to use React's
12
- * `CSSProperties` type and logic for converting CSS values into strings.
15
+ * `CSSProperties` type and logic for converting CSS values into strings
13
16
  *
14
17
  * @public
15
18
  */
16
- export declare const createHooks: import("@css-hooks/core").CreateHooksFn<CSSProperties>;
19
+ export declare const createHooks: CreateHooksFn<CSSProperties, CSSPropertyConflicts>;
17
20
  /**
18
- * Following code (c) Meta Platforms, Inc. and affiliates.
19
- * Source modified to account for custom properties.
21
+ * Following code (c) Meta Platforms, Inc. and affiliates. Source modified to
22
+ * account for custom properties.
20
23
  */
21
24
  /** @internal */
22
25
  export declare const _unitlessNumbers: Set<string>;