@css-hooks/core 3.0.1 → 3.0.3

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
@@ -8,6 +8,7 @@
8
8
  <p align="center">
9
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
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
+
11
12
  <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
13
  </p>
13
14
 
@@ -93,9 +94,9 @@ experience without runtime style injection or build steps.
93
94
 
94
95
  ### Framework integrations
95
96
 
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> |
97
+ | <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 |
98
+ | ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
99
+ | <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
100
 
100
101
  ### Browser support
101
102
 
package/cjs/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * @packageDocumentation
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.buildHooksSystem = void 0;
8
+ exports.buildHooksSystem = buildHooksSystem;
9
9
  /**
10
10
  * Creates a flavor of CSS Hooks tailored to a specific app framework.
11
11
  *
@@ -122,7 +122,6 @@ function buildHooksSystem(stringify = String) {
122
122
  };
123
123
  };
124
124
  }
125
- exports.buildHooksSystem = buildHooksSystem;
126
125
  function createHash(obj) {
127
126
  const jsonString = JSON.stringify(obj);
128
127
  let hashValue = 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@css-hooks/core",
3
3
  "description": "CSS Hooks core library",
4
- "version": "3.0.1",
4
+ "version": "3.0.3",
5
5
  "author": "Nick Saunders",
6
6
  "devDependencies": {
7
7
  "@microsoft/api-extractor": "^7.39.4",
@@ -11,10 +11,9 @@
11
11
  "csstype": "^3.1.3",
12
12
  "lightningcss": "^1.23.0",
13
13
  "puppeteer": "^22.0.0",
14
- "remeda": "^2.14.0",
15
- "rimraf": "^5.0.1",
16
- "tsx": "^4.19.1",
17
- "typescript": "^5.4.2"
14
+ "remeda": "^2.16.0",
15
+ "rimraf": "^6.0.1",
16
+ "typescript": "5.7.0-beta"
18
17
  },
19
18
  "files": [
20
19
  "cjs",
@@ -44,6 +43,6 @@
44
43
  },
45
44
  "scripts": {
46
45
  "clean": "rimraf cjs esm types",
47
- "test": "node --import tsx --conditions @css-hooks/source --test src/index.test.ts"
46
+ "test": "node --experimental-strip-types --conditions @css-hooks/source --test src/index.test.ts"
48
47
  }
49
48
  }