@css-hooks/qwik 3.2.0-next.9 → 4.0.0-next.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 +5 -5
- package/cjs/css-property-conflicts.js +6 -0
- package/cjs/index.js +4 -4
- package/esm/css-property-conflicts.js +5 -0
- package/esm/index.js +4 -4
- package/package.json +5 -3
- package/types/css-property-conflicts.d.ts +1566 -0
- package/types/index.d.ts +7 -5
package/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<a id="logomark" href="https://next.css-hooks.com"><img alt="CSS Hooks" src="https://github.com/css-hooks/css-hooks/raw/
|
|
2
|
+
<a id="logomark" href="https://next.css-hooks.com"><img alt="CSS Hooks" src="https://github.com/css-hooks/css-hooks/raw/v4.0.0-next.2/.github/logomark.svg" height="128" /></a><br/><br/>
|
|
3
3
|
<div id="wordmark">
|
|
4
|
-
<a href="https://next.css-hooks.com"><img alt="CSS Hooks" src="https://github.com/css-hooks/css-hooks/raw/
|
|
4
|
+
<a href="https://next.css-hooks.com"><img alt="CSS Hooks" src="https://github.com/css-hooks/css-hooks/raw/v4.0.0-next.2/.github/wordmark-dark.svg" width="256"></a>
|
|
5
5
|
</div>
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
<br/>
|
|
9
9
|
|
|
10
10
|
<div align="center" id="badges">
|
|
11
|
-
<a href="https://github.com/css-hooks/css-hooks/tree/
|
|
12
|
-
<a href="https://www.npmjs.com/package/@css-hooks/qwik/v/
|
|
13
|
-
<a href="https://github.com/css-hooks/css-hooks/blob/
|
|
11
|
+
<a href="https://github.com/css-hooks/css-hooks/tree/v4.0.0-next.2"><img src="https://img.shields.io/badge/tag-v4.0.0--next.2-ffd700" alt="tag v4.0.0-next.2"></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/@css-hooks/qwik/v/4.0.0-next.2"><img src="https://img.shields.io/badge/npm-v4.0.0--next.2-ffd700" alt="npm version"></a>
|
|
13
|
+
<a href="https://github.com/css-hooks/css-hooks/blob/v4.0.0-next.2/LICENSE"><img src="https://img.shields.io/badge/license-MIT-ffd700" alt="license"></a>
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
16
|
---
|
package/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* CSS Hooks for {@link https://qwik.dev | Qwik}
|
|
4
4
|
*
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
@@ -21,14 +21,14 @@ function _stringifyValue(value, propertyName) {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* A {@link @css-hooks/core#CreateHooksFn} configured to use Qwik's
|
|
24
|
-
* `CSSProperties` type and logic for converting CSS values into strings
|
|
24
|
+
* `CSSProperties` type and logic for converting CSS values into strings
|
|
25
25
|
*
|
|
26
26
|
* @public
|
|
27
27
|
*/
|
|
28
28
|
exports.createHooks = (0, core_1.buildHooksSystem)(_stringifyValue);
|
|
29
29
|
/**
|
|
30
|
-
* Following code (c) Builder.io.
|
|
31
|
-
*
|
|
30
|
+
* Following code (c) Builder.io. Source modified to account for custom
|
|
31
|
+
* properties.
|
|
32
32
|
*/
|
|
33
33
|
/**
|
|
34
34
|
* CSS properties which accept numbers but are not in units of "px".
|
package/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* CSS Hooks for {@link https://qwik.dev | Qwik}
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
@@ -17,14 +17,14 @@ export function _stringifyValue(value, propertyName) {
|
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* A {@link @css-hooks/core#CreateHooksFn} configured to use Qwik's
|
|
20
|
-
* `CSSProperties` type and logic for converting CSS values into strings
|
|
20
|
+
* `CSSProperties` type and logic for converting CSS values into strings
|
|
21
21
|
*
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
24
|
export const createHooks = buildHooksSystem(_stringifyValue);
|
|
25
25
|
/**
|
|
26
|
-
* Following code (c) Builder.io.
|
|
27
|
-
*
|
|
26
|
+
* Following code (c) Builder.io. Source modified to account for custom
|
|
27
|
+
* properties.
|
|
28
28
|
*/
|
|
29
29
|
/**
|
|
30
30
|
* CSS properties which accept numbers but are not in units of "px".
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@css-hooks/qwik",
|
|
3
3
|
"description": "CSS Hooks for Qwik",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.0.0-next.2",
|
|
5
5
|
"author": "Nick Saunders",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@css-hooks/core": "
|
|
7
|
+
"@css-hooks/core": "4.0.0-next.2"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@builder.io/qwik": "^1.9.0"
|
|
10
|
+
"@builder.io/qwik": "^1.9.0",
|
|
11
|
+
"remeda": "^2.45.0"
|
|
11
12
|
},
|
|
12
13
|
"files": [
|
|
13
14
|
"cjs",
|
|
@@ -36,6 +37,7 @@
|
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|
|
38
39
|
"build": "wireit",
|
|
40
|
+
"codegen": "npm run --silent start -w @scripts/css-property-conflicts -- --casing camel --casing kebab > src/css-property-conflicts.ts",
|
|
39
41
|
"prepublishOnly": "wireit",
|
|
40
42
|
"test": "node --conditions @css-hooks/source --test src/index.test.ts"
|
|
41
43
|
},
|