@react-types/shared 3.36.1 → 3.37.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/package.json +2 -2
- package/src/dom.d.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/shared",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.37.0",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "1abc52dd5ad238143f168912963ff3ad932547a4"
|
|
21
21
|
}
|
package/src/dom.d.ts
CHANGED
|
@@ -301,6 +301,12 @@ export interface GlobalDOMAttributes<T = Element> extends GlobalDOMEvents<T> {
|
|
|
301
301
|
hidden?: boolean | undefined;
|
|
302
302
|
inert?: boolean | undefined;
|
|
303
303
|
translate?: 'yes' | 'no' | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* A React-only flag that suppresses the warning React normally logs when an element's
|
|
306
|
+
* server-rendered content doesn't match the client render during hydration. See [React
|
|
307
|
+
* docs](https://react.dev/reference/react-dom/client/hydrateRoot#suppressing-unavoidable-hydration-mismatch-errors).
|
|
308
|
+
*/
|
|
309
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
304
310
|
}
|
|
305
311
|
|
|
306
312
|
/**
|