@css-hooks/solid 2.0.3 → 2.0.4

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.
Files changed (2) hide show
  1. package/README.md +14 -0
  2. package/package.json +11 -14
package/README.md CHANGED
@@ -92,6 +92,20 @@ experience without runtime style injection or build steps.
92
92
  </>
93
93
  ```
94
94
 
95
+ ## Compatibility
96
+
97
+ ### Framework integrations
98
+
99
+ | <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 |
100
+ | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
101
+ | <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> |
102
+
103
+ ### Browser support
104
+
105
+ | <img src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/74.1.0/chrome/chrome_24x24.png" alt="Chrome" /><br/>Chrome | <img src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/74.1.0/edge/edge_24x24.png" alt="Edge" /><br/>Edge | <img src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/74.1.0/safari/safari_24x24.png" alt="Safari" /><br/>Safari | <img src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/74.1.0/firefox/firefox_24x24.png" alt="Firefox" /><br/>Firefox | <img src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/74.1.0/opera/opera_24x24.png" alt="Opera" /><br/>Opera |
106
+ | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
107
+ | <div align="center">49+</div> | <div align="center">16+</div> | <div align="center">10+</div> | <div align="center">31+</div> | <div align="center">36+</div> |
108
+
95
109
  ## Documentation
96
110
 
97
111
  Please visit [css-hooks.com](https://css-hooks.com) to get started.
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@css-hooks/solid",
3
3
  "description": "CSS Hooks for Solid",
4
- "version": "2.0.3",
4
+ "version": "2.0.4",
5
5
  "author": "Nick Saunders",
6
6
  "dependencies": {
7
- "@css-hooks/core": "^2.0.3",
8
- "ts-toolbelt": "^9.6.0"
7
+ "@css-hooks/core": "2.0.4"
9
8
  },
10
9
  "devDependencies": {
11
10
  "@microsoft/api-extractor": "^7.39.4",
@@ -38,15 +37,6 @@
38
37
  "url": "https://github.com/css-hooks/css-hooks.git",
39
38
  "directory": "packages/solid"
40
39
  },
41
- "scripts": {
42
- "api": "node -e \"var path=require('path').resolve,fs=require('fs'),cp=fs.cpSync;cp(path('src', 'index.d.ts'),path('types','index.d.ts'))\" && api-extractor run",
43
- "clean": "rimraf cjs esm out types",
44
- "lint": "eslint src .*.*js *.*js",
45
- "postversion": "npm install @css-hooks/core@^$npm_package_version --force",
46
- "prepublishOnly": "node -e \"var path=require('path').resolve,fs=require('fs'),cp=fs.cpSync,mkdir=fs.mkdirSync;cp(path('src', 'index.d.ts'),path('types','index.d.ts'));cp(path('src','index.js'),path('esm','index.js'));mkdir(path('cjs'),{recursive:true})\" && ascjs src/index.js cjs/index.js",
47
- "test": "tsc && node --test",
48
- "test.watch": "tsc-watch --onSuccess 'node --test'"
49
- },
50
40
  "type": "module",
51
41
  "types": "types",
52
42
  "exports": {
@@ -58,5 +48,12 @@
58
48
  },
59
49
  "browserslist": [
60
50
  "supports css-variables"
61
- ]
62
- }
51
+ ],
52
+ "scripts": {
53
+ "api": "node -e \"var path=require('path').resolve,fs=require('fs'),cp=fs.cpSync;cp(path('src', 'index.d.ts'),path('types','index.d.ts'))\" && api-extractor run",
54
+ "clean": "rimraf cjs esm out types",
55
+ "lint": "eslint src .*.*js *.*js",
56
+ "test": "tsc && node --test",
57
+ "test.watch": "tsc-watch --onSuccess 'node --test'"
58
+ }
59
+ }