@react-types/shared 3.0.0-nightly.1291 → 3.0.0-nightly.1314
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/package.json +2 -2
- package/src/dom.d.ts +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/shared",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.1314+0571f1cee",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "0571f1cee4565674086ea834327d0d59c093ea1f"
|
|
18
18
|
}
|
package/src/dom.d.ts
CHANGED
|
@@ -13,10 +13,7 @@
|
|
|
13
13
|
import {
|
|
14
14
|
ClipboardEventHandler,
|
|
15
15
|
CompositionEventHandler,
|
|
16
|
-
DOMFactory,
|
|
17
16
|
FormEventHandler,
|
|
18
|
-
HTMLAttributes,
|
|
19
|
-
ReactDOM,
|
|
20
17
|
ReactEventHandler
|
|
21
18
|
} from 'react';
|
|
22
19
|
|
|
@@ -160,19 +157,3 @@ export interface TextInputDOMProps extends DOMProps {
|
|
|
160
157
|
*/
|
|
161
158
|
onInput?: FormEventHandler<HTMLInputElement>
|
|
162
159
|
}
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* A map of HTML element names and their interface types.
|
|
166
|
-
* For example `'a'` -> `HTMLAnchorElement`.
|
|
167
|
-
*/
|
|
168
|
-
export type IntrinsicHTMLElements = {
|
|
169
|
-
[K in keyof IntrinsicHTMLAttributes]: IntrinsicHTMLAttributes[K] extends HTMLAttributes<infer T> ? T : never
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* A map of HTML element names and their attribute interface types.
|
|
174
|
-
* For example `'a'` -> `AnchorHTMLAttributes<HTMLAnchorElement>`.
|
|
175
|
-
*/
|
|
176
|
-
export type IntrinsicHTMLAttributes = {
|
|
177
|
-
[K in keyof ReactDOM]: ReactDOM[K] extends DOMFactory<infer T, any> ? T : never
|
|
178
|
-
};
|