@css-hooks/qwik 3.0.1 → 3.0.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
@@ -1,13 +1,5 @@
1
1
  <p align="center">
2
2
 
3
- <a href="https://css-hooks.com/#gh-light-mode-only" target="_blank">
4
- <img alt="CSS Hooks" src="https://raw.githubusercontent.com/css-hooks/css-hooks/HEAD/.github/logo-light.svg" width="310" height="64" style="max-width: 100%;">
5
- </a>
6
- </p>
7
-
8
- <p align="center">
9
- <a href="https://github.com/css-hooks/css-hooks/actions/workflows/build.yml"><img src="https://img.shields.io/github/actions/workflow/status/css-hooks/css-hooks/build.yml?branch=master" alt="Build Status"></a>
10
- <a href="https://www.npmjs.com/org/css-hooks"><img src="https://img.shields.io/npm/v/@css-hooks%2Fcore.svg" alt="Latest Release"></a>
11
3
  <a href="https://github.com/css-hooks/css-hooks/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/css-hooks.svg" alt="License"></a>
12
4
  </p>
13
5
 
@@ -93,9 +85,9 @@ experience without runtime style injection or build steps.
93
85
 
94
86
  ### Framework integrations
95
87
 
96
- | <img src="https://github.com/reactjs.png" alt="React" style="width: 24px; height: 24px" /><br/>React | <img src="https://github.com/preactjs.png" alt="Preact" style="width: 24px; height: 24px" /><br/>Preact | <img src="https://github.com/solidjs.png" alt="Solid" style="width: 24px; height: 24px" /><br/>Solid | <img src="https://github.com/qwikdev.png" alt="Qwik" style="width: 24px; height: 24px" /><br/>Qwik |
97
- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
98
- | <div align="center"><a href="https://www.npmjs.com/package/@css-hooks/react">✅</a></div> | <div align="center"><a href="https://www.npmjs.com/package/@css-hooks/preact">✅</a></div> | <div align="center"><a href="https://www.npmjs.com/package/@css-hooks/solid">✅</a></div> | <div align="center"><a href="https://www.npmjs.com/package/@css-hooks/qwik">✅</a></div> |
88
+ | <img src="https://upload.wikimedia.org/wikipedia/commons/a/a7/React-icon.svg" alt="React" width="24" height="24" /><br/>React | <img src="https://github.com/preactjs.png" alt="Preact" width="24" height="24" /><br/>Preact | <img src="https://github.com/solidjs.png" alt="Solid" width="24" heght="24" /><br/>Solid | <img src="https://github.com/qwikdev.png" alt="Qwik" width="24" height="24" /><br/>Qwik |
89
+ | ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
90
+ | <div align="center"><a href="https://www.npmjs.com/package/@css-hooks/react">✅</a></div> | <div align="center"><a href="https://www.npmjs.com/package/@css-hooks/preact">✅</a></div> | <div align="center"><a href="https://www.npmjs.com/package/@css-hooks/solid">✅</a></div> | <div align="center"><a href="https://www.npmjs.com/package/@css-hooks/qwik">✅</a></div> |
99
91
 
100
92
  ### Browser support
101
93
 
package/cjs/index.js CHANGED
@@ -5,7 +5,8 @@
5
5
  * @packageDocumentation
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports._unitlessNumbers = exports.createHooks = exports._stringifyValue = void 0;
8
+ exports._unitlessNumbers = exports.createHooks = void 0;
9
+ exports._stringifyValue = _stringifyValue;
9
10
  const core_1 = require("@css-hooks/core");
10
11
  /** @internal */
11
12
  function _stringifyValue(value, propertyName) {
@@ -18,7 +19,6 @@ function _stringifyValue(value, propertyName) {
18
19
  return null;
19
20
  }
20
21
  }
21
- exports._stringifyValue = _stringifyValue;
22
22
  /**
23
23
  * A {@link @css-hooks/core#CreateHooksFn} configured to use Qwik's
24
24
  * `CSSProperties` type and logic for converting CSS values into strings.
package/package.json CHANGED
@@ -1,18 +1,17 @@
1
1
  {
2
2
  "name": "@css-hooks/qwik",
3
3
  "description": "CSS Hooks for Qwik",
4
- "version": "3.0.1",
4
+ "version": "3.0.2",
5
5
  "author": "Nick Saunders",
6
6
  "dependencies": {
7
- "@css-hooks/core": "3.0.1"
7
+ "@css-hooks/core": "3.0.2"
8
8
  },
9
9
  "devDependencies": {
10
10
  "@builder.io/qwik": "^1.9.0",
11
11
  "@microsoft/api-extractor": "^7.39.4",
12
- "@types/node": "^20.12.7",
13
- "rimraf": "^5.0.1",
14
- "tsx": "^4.19.1",
15
- "typescript": "^5.4.2"
12
+ "@types/node": "^22.0.0",
13
+ "rimraf": "^6.0.1",
14
+ "typescript": "5.7.0-beta"
16
15
  },
17
16
  "files": [
18
17
  "cjs",
@@ -50,6 +49,6 @@
50
49
  },
51
50
  "scripts": {
52
51
  "clean": "rimraf cjs esm types",
53
- "test": "node --import tsx --conditions @css-hooks/source --test src/index.test.ts"
52
+ "test": "node --experimental-strip-types --conditions @css-hooks/source --test src/index.test.ts"
54
53
  }
55
54
  }