@css-hooks/qwik 3.2.0-next.8 → 4.0.0-next.1

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
@@ -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/v3.2.0-next.8/.github/logomark.svg" height="128" /></a><br/><br/>
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.1/.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/v3.2.0-next.8/.github/wordmark-dark.svg" width="256"></a>
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.1/.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/v3.2.0-next.8"><img src="https://img.shields.io/badge/tag-v3.2.0--next.8-ffd700" alt="tag v3.2.0-next.8"></a>
12
- <a href="https://www.npmjs.com/package/@css-hooks/qwik/v/3.2.0-next.8"><img src="https://img.shields.io/badge/npm-v3.2.0--next.8-ffd700" alt="npm version"></a>
13
- <a href="https://github.com/css-hooks/css-hooks/blob/v3.2.0-next.8/LICENSE"><img src="https://img.shields.io/badge/license-MIT-ffd700" alt="license"></a>
11
+ <a href="https://github.com/css-hooks/css-hooks/tree/v4.0.0-next.1"><img src="https://img.shields.io/badge/tag-v4.0.0--next.1-ffd700" alt="tag v4.0.0-next.1"></a>
12
+ <a href="https://www.npmjs.com/package/@css-hooks/qwik/v/4.0.0-next.1"><img src="https://img.shields.io/badge/npm-v4.0.0--next.1-ffd700" alt="npm version"></a>
13
+ <a href="https://github.com/css-hooks/css-hooks/blob/v4.0.0-next.1/LICENSE"><img src="https://img.shields.io/badge/license-MIT-ffd700" alt="license"></a>
14
14
  </div>
15
15
 
16
16
  ---
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /*
3
+ * Generated from @webref/css by @scripts/css-property-conflicts.
4
+ * Do not edit this file directly.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
package/cjs/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * CSS Hooks for {@link https://qwik.dev | Qwik}
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
- * Source modified to account for custom properties.
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".
@@ -0,0 +1,5 @@
1
+ /*
2
+ * Generated from @webref/css by @scripts/css-property-conflicts.
3
+ * Do not edit this file directly.
4
+ */
5
+ export {};
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * CSS Hooks for {@link https://qwik.dev | Qwik}
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
- * Source modified to account for custom properties.
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": "3.2.0-next.8",
4
+ "version": "4.0.0-next.1",
5
5
  "author": "Nick Saunders",
6
6
  "dependencies": {
7
- "@css-hooks/core": "3.2.0-next.8"
7
+ "@css-hooks/core": "4.0.0-next.1"
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
  },