@solid2-aria/types-shared-web 0.0.1 → 0.1.0
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/NOTICE.txt +1 -1
- package/README.md +12 -0
- package/package.json +4 -4
package/NOTICE.txt
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
This package contains type declarations derived from Adobe React Spectrum.
|
|
5
5
|
Upstream: https://github.com/adobe/react-spectrum
|
|
6
|
-
Reference revision:
|
|
6
|
+
Reference revision: 6dec77beccf0545a04318e6a01b8eb9cbe2dccc6
|
|
7
7
|
Upstream sources: packages/@react-types/shared/src.
|
|
8
8
|
|
|
9
9
|
Derived files in types/ retain their original copyright years, license
|
package/README.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Web attributes, renderer refs, and style types for Solid 2. Requires `solid-js` and `@solidjs/web` version `^2.0.0-rc.17`.
|
|
4
4
|
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
bun add @solid2-aria/types-shared-web solid-js@next @solidjs/web@next
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import type { DOMAttributes } from "@solid2-aria/types-shared-web";
|
|
15
|
+
```
|
|
16
|
+
|
|
5
17
|
Import state and collection contracts from `@solid2-aria/types-shared`. Import web types such as `DOMAttributes`, `CSSProperties`, and `Ref` from this package.
|
|
6
18
|
|
|
7
19
|
Adobe-derived declarations retain their Apache-2.0 license and original notices. See [NOTICE.txt](./NOTICE.txt), [Apache-2.0](./LICENSES/Apache-2.0.txt), and [the upstream notices](./LICENSES/react-spectrum-NOTICE.txt). Independently authored Solid Aria material uses the [MIT license](./LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solid2-aria/types-shared-web",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Web renderer attributes, refs, and style types for Solid",
|
|
6
6
|
"keywords": [
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@solid2-aria/types-shared": "^0.0
|
|
41
|
+
"@solid2-aria/types-shared": "^0.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typescript": "^7.1.0-beta"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@solidjs/web": "^2.0.0
|
|
48
|
-
"solid-js": "^2.0.0
|
|
47
|
+
"@solidjs/web": "^2.0.0",
|
|
48
|
+
"solid-js": "^2.0.0"
|
|
49
49
|
}
|
|
50
50
|
}
|