@css-hooks/qwik 1.6.0 → 1.8.0
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 +10 -5
- package/package.json +2 -2
- package/types/index.d.ts +7 -6
package/README.md
CHANGED
|
@@ -53,11 +53,16 @@ Please visit [css-hooks.com](https://css-hooks.com) to get started.
|
|
|
53
53
|
|
|
54
54
|
- [@css-hooks/recommended](packages/recommended): Recommended hook configuration
|
|
55
55
|
with sensible defaults
|
|
56
|
-
- [@css-hooks/react](packages/react):
|
|
57
|
-
|
|
58
|
-
- [@css-hooks/
|
|
59
|
-
|
|
60
|
-
- [@css-hooks/
|
|
56
|
+
- [@css-hooks/react](https://github.com/css-hooks/css-hooks/tree/master/packages/react):
|
|
57
|
+
React framework integration
|
|
58
|
+
- [@css-hooks/preact](https://github.com/css-hooks/css-hooks/tree/master/packages/preact):
|
|
59
|
+
Preact framework integration
|
|
60
|
+
- [@css-hooks/solid](https://github.com/css-hooks/css-hooks/tree/master/packages/solid):
|
|
61
|
+
Solid framework integration
|
|
62
|
+
- [@css-hooks/qwik](https://github.com/css-hooks/css-hooks/tree/master/packages/qwik):
|
|
63
|
+
Qwik framework integration
|
|
64
|
+
- [@css-hooks/core](https://github.com/css-hooks/css-hooks/tree/master/packages/core):
|
|
65
|
+
Core package (internal / advanced use cases)
|
|
61
66
|
|
|
62
67
|
## Contributing
|
|
63
68
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@css-hooks/qwik",
|
|
3
3
|
"description": "CSS Hooks for Qwik",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.8.0",
|
|
5
5
|
"author": "Nick Saunders",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@css-hooks/core": "^1.
|
|
7
|
+
"@css-hooks/core": "^1.8.0"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
10
|
"@builder.io/qwik": "^1.3.0",
|
package/types/index.d.ts
CHANGED
|
@@ -14,13 +14,13 @@ export declare function stringifyValue(propertyName: string, value: unknown): st
|
|
|
14
14
|
*
|
|
15
15
|
* @returns The `hooks` CSS required to enable the configured hooks, along with the corresponding `css` function for use in components.
|
|
16
16
|
*/
|
|
17
|
-
export declare const createHooks: <HookProperties extends string>(config: Record<HookProperties, `@container ${string}` | `@media ${string}` | `:${string}` | `${string}&${string}` | {
|
|
18
|
-
or: readonly (`@container ${string}` | `@media ${string}` | `:${string}` | `${string}&${string}` | any | {
|
|
19
|
-
and: readonly (`@container ${string}` | `@media ${string}` | `:${string}` | `${string}&${string}` | any | any)[];
|
|
17
|
+
export declare const createHooks: <HookProperties extends string>(config: Record<HookProperties, `@container ${string}` | `@media ${string}` | `@supports ${string}` | `:${string}` | `${string}&${string}` | {
|
|
18
|
+
or: readonly (`@container ${string}` | `@media ${string}` | `@supports ${string}` | `:${string}` | `${string}&${string}` | any | {
|
|
19
|
+
and: readonly (`@container ${string}` | `@media ${string}` | `@supports ${string}` | `:${string}` | `${string}&${string}` | any | any)[];
|
|
20
20
|
})[];
|
|
21
21
|
} | {
|
|
22
|
-
and: readonly (`@container ${string}` | `@media ${string}` | `:${string}` | `${string}&${string}` | {
|
|
23
|
-
or: readonly (`@container ${string}` | `@media ${string}` | `:${string}` | `${string}&${string}` | any | any)[];
|
|
22
|
+
and: readonly (`@container ${string}` | `@media ${string}` | `@supports ${string}` | `:${string}` | `${string}&${string}` | {
|
|
23
|
+
or: readonly (`@container ${string}` | `@media ${string}` | `@supports ${string}` | `:${string}` | `${string}&${string}` | any | any)[];
|
|
24
24
|
} | any)[];
|
|
25
25
|
}>, options?: (({
|
|
26
26
|
debug?: boolean;
|
|
@@ -30,4 +30,5 @@ export declare const createHooks: <HookProperties extends string>(config: Record
|
|
|
30
30
|
hookNameToId?: (hookName: string) => string;
|
|
31
31
|
}) & {
|
|
32
32
|
fallback?: "unset" | "revert-layer";
|
|
33
|
-
|
|
33
|
+
sort?: boolean;
|
|
34
|
+
}) | undefined) => [string, (properties_0: import("@css-hooks/core").WithHooks<HookProperties, CSSProperties>, ...properties_1: (import("@css-hooks/core").WithHooks<HookProperties, CSSProperties> | undefined)[]) => CSSProperties];
|