@css-hooks/solid 1.4.0 → 1.4.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/README.md CHANGED
@@ -51,6 +51,8 @@ Please visit [css-hooks.com](https://css-hooks.com) to get started.
51
51
 
52
52
  ## Packages
53
53
 
54
+ - [@css-hooks/recommended](packages/recommended): Recommended hook configuration
55
+ with sensible defaults
54
56
  - [@css-hooks/react](packages/react): React framework integration
55
57
  - [@css-hooks/solid](packages/solid): Solid framework integration
56
58
  - [@css-hooks/preact](packages/preact): Preact framework integration
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@css-hooks/solid",
3
3
  "description": "CSS Hooks for Solid",
4
- "version": "1.4.0",
4
+ "version": "1.4.2",
5
5
  "author": "Nick Saunders",
6
6
  "dependencies": {
7
- "@css-hooks/core": "^1.4.0",
7
+ "@css-hooks/core": "^1.4.2",
8
8
  "ts-toolbelt": "^9.6.0"
9
9
  },
10
10
  "devDependencies": {
package/types/index.d.ts CHANGED
@@ -17,13 +17,15 @@ export declare const createHooks: <HookProperties extends string>(config: Record
17
17
  and: readonly (`@container ${string}` | `@media ${string}` | `:${string}` | `${string}&${string}` | {
18
18
  or: readonly (`@container ${string}` | `@media ${string}` | `:${string}` | `${string}&${string}` | any | any)[];
19
19
  } | any)[];
20
- }>, options?: {
20
+ }>, options?: (({
21
21
  debug?: boolean;
22
22
  hookNameToId?: undefined;
23
23
  } | {
24
24
  debug?: undefined;
25
25
  hookNameToId?: (hookName: string) => string;
26
- } | undefined) => readonly [`*{${string}}undefined` | `*{${string}}${string}`, (properties: import("@css-hooks/core").WithHooks<HookProperties, JSX.CSSProperties>) => JSX.CSSProperties];
26
+ }) & {
27
+ fallback?: "unset" | "revert-layer";
28
+ }) | undefined) => readonly [`*{${string}}undefined` | `*{${string}}${string}`, (properties: import("@css-hooks/core").WithHooks<HookProperties, JSX.CSSProperties>) => JSX.CSSProperties];
27
29
  /**
28
30
  * A list of hooks offered as a "sensible default" to solve the most common use cases.
29
31
  *