@pinuts/bsr-uikit-relaunch 0.2.39 → 0.2.40

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 (186) hide show
  1. package/dist/hooks/withFieldGroup.d.ts.map +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.LICENSE.txt +2 -2
  4. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -2
  5. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  6. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +4 -4
  7. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +2 -2
  8. package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
  9. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +4 -3
  10. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +2 -2
  11. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +1 -1
  12. package/node_modules/@babel/runtime/helpers/superPropGet.js +4 -4
  13. package/node_modules/@babel/runtime/helpers/superPropSet.js +2 -2
  14. package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
  15. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +4 -3
  16. package/node_modules/@babel/runtime/package.json +10 -1
  17. package/node_modules/@types/hoist-non-react-statics/README.md +13 -13
  18. package/node_modules/@types/hoist-non-react-statics/index.d.ts +12 -12
  19. package/node_modules/@types/hoist-non-react-statics/package.json +4 -3
  20. package/node_modules/@types/react/README.md +3 -3
  21. package/node_modules/@types/react/canary.d.ts +0 -122
  22. package/node_modules/@types/react/compiler-runtime.d.ts +4 -0
  23. package/node_modules/@types/react/experimental.d.ts +118 -4
  24. package/node_modules/@types/react/global.d.ts +4 -0
  25. package/node_modules/@types/react/index.d.ts +468 -770
  26. package/node_modules/@types/react/package.json +9 -9
  27. package/node_modules/@types/react/ts5.0/canary.d.ts +0 -122
  28. package/node_modules/@types/react/ts5.0/experimental.d.ts +118 -4
  29. package/node_modules/@types/react/ts5.0/global.d.ts +4 -0
  30. package/node_modules/@types/react/ts5.0/index.d.ts +464 -766
  31. package/node_modules/@types/react/ts5.0/v18/global.d.ts +160 -0
  32. package/node_modules/@types/react/ts5.0/v18/index.d.ts +4543 -0
  33. package/node_modules/@types/react/ts5.0/v18/jsx-dev-runtime.d.ts +45 -0
  34. package/node_modules/@types/react/ts5.0/v18/jsx-runtime.d.ts +36 -0
  35. package/node_modules/@types/react/ts5.0/v18/ts5.0/global.d.ts +160 -0
  36. package/node_modules/@types/react/ts5.0/v18/ts5.0/index.d.ts +4530 -0
  37. package/node_modules/@types/react/ts5.0/v18/ts5.0/jsx-dev-runtime.d.ts +44 -0
  38. package/node_modules/@types/react/ts5.0/v18/ts5.0/jsx-runtime.d.ts +35 -0
  39. package/node_modules/tslib/modules/index.d.ts +1 -0
  40. package/node_modules/tslib/modules/index.js +2 -0
  41. package/node_modules/tslib/package.json +1 -1
  42. package/node_modules/tslib/tslib.d.ts +7 -0
  43. package/node_modules/tslib/tslib.es6.js +24 -1
  44. package/node_modules/tslib/tslib.es6.mjs +24 -1
  45. package/node_modules/tslib/tslib.js +56 -1
  46. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/README.md +1 -1
  47. package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/tsc.js → typescript/lib/_tsc.js} +4349 -2310
  48. package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/tsserver.js → typescript/lib/_tsserver.js} +44 -8
  49. package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/typingsInstaller.js → typescript/lib/_typingsInstaller.js} +2 -16
  50. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/cs/diagnosticMessages.generated.json +30 -12
  51. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/de/diagnosticMessages.generated.json +30 -12
  52. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/es/diagnosticMessages.generated.json +30 -12
  53. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/fr/diagnosticMessages.generated.json +30 -12
  54. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/it/diagnosticMessages.generated.json +30 -12
  55. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/ja/diagnosticMessages.generated.json +30 -12
  56. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/ko/diagnosticMessages.generated.json +30 -12
  57. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.decorators.d.ts +13 -15
  58. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.dom.d.ts +1884 -361
  59. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.dom.iterable.d.ts +9 -7
  60. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.core.d.ts +9 -9
  61. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.iterable.d.ts +114 -36
  62. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.symbol.wellknown.d.ts +10 -10
  63. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.array.include.d.ts +9 -9
  64. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.intl.d.ts +1 -1
  65. package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  66. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.d.ts +3 -2
  67. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.sharedmemory.d.ts +14 -14
  68. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.typedarrays.d.ts +9 -9
  69. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.bigint.d.ts +92 -54
  70. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.intl.d.ts +36 -36
  71. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.sharedmemory.d.ts +13 -11
  72. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.string.d.ts +2 -0
  73. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.intl.d.ts +17 -17
  74. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.weakref.d.ts +2 -0
  75. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.array.d.ts +11 -11
  76. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.d.ts +1 -2
  77. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.error.d.ts +2 -0
  78. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.intl.d.ts +9 -9
  79. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.array.d.ts +79 -79
  80. package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  81. package/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  82. package/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  83. package/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  84. package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts → typescript/lib/lib.es2024.sharedmemory.d.ts} +29 -0
  85. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es5.d.ts +312 -303
  86. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.array.d.ts +1 -1
  87. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.collection.d.ts +1 -11
  88. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.d.ts +3 -5
  89. package/node_modules/typescript/lib/lib.esnext.float16.d.ts +443 -0
  90. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.iterator.d.ts +1 -1
  91. package/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  92. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.d.ts +571 -87
  93. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.iterable.d.ts +6 -7
  94. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/pl/diagnosticMessages.generated.json +30 -12
  95. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/pt-br/diagnosticMessages.generated.json +30 -12
  96. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/ru/diagnosticMessages.generated.json +30 -12
  97. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/tr/diagnosticMessages.generated.json +30 -12
  98. package/node_modules/typescript/lib/tsc.js +8 -0
  99. package/node_modules/typescript/lib/tsserver.js +8 -0
  100. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/typesMap.json +497 -497
  101. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/typescript.d.ts +95 -24
  102. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/typescript.js +6556 -3509
  103. package/node_modules/typescript/lib/typingsInstaller.js +8 -0
  104. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/zh-cn/diagnosticMessages.generated.json +31 -13
  105. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/zh-tw/diagnosticMessages.generated.json +30 -12
  106. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/package.json +27 -28
  107. package/package.json +3 -3
  108. package/node_modules/@pinuts/form-builder/node_modules/typescript/lib/cancellationToken.js +0 -90
  109. package/node_modules/@types/prop-types/LICENSE +0 -21
  110. package/node_modules/@types/prop-types/README.md +0 -15
  111. package/node_modules/@types/prop-types/index.d.ts +0 -114
  112. package/node_modules/@types/prop-types/package.json +0 -35
  113. /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/LICENSE +0 -0
  114. /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/README.md +0 -0
  115. /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/package.json +0 -0
  116. /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/path.js +0 -0
  117. /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/runtime.js +0 -0
  118. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/LICENSE.txt +0 -0
  119. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/SECURITY.md +0 -0
  120. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/ThirdPartyNoticeText.txt +0 -0
  121. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/bin/tsc +0 -0
  122. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/bin/tsserver +0 -0
  123. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.d.ts +0 -0
  124. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.decorators.legacy.d.ts +0 -0
  125. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.dom.asynciterable.d.ts +0 -0
  126. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.collection.d.ts +0 -0
  127. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.d.ts +0 -0
  128. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.generator.d.ts +0 -0
  129. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.promise.d.ts +0 -0
  130. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.proxy.d.ts +0 -0
  131. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.reflect.d.ts +0 -0
  132. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.symbol.d.ts +0 -0
  133. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.d.ts +0 -0
  134. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.full.d.ts +0 -0
  135. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.date.d.ts +0 -0
  136. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.full.d.ts +0 -0
  137. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.intl.d.ts +0 -0
  138. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.object.d.ts +0 -0
  139. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.string.d.ts +0 -0
  140. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.asyncgenerator.d.ts +0 -0
  141. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.asynciterable.d.ts +0 -0
  142. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.d.ts +0 -0
  143. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.full.d.ts +0 -0
  144. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.intl.d.ts +0 -0
  145. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.promise.d.ts +0 -0
  146. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.regexp.d.ts +0 -0
  147. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.array.d.ts +0 -0
  148. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.d.ts +0 -0
  149. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.full.d.ts +0 -0
  150. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.intl.d.ts +0 -0
  151. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.object.d.ts +0 -0
  152. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.string.d.ts +0 -0
  153. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.symbol.d.ts +0 -0
  154. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.d.ts +0 -0
  155. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.date.d.ts +0 -0
  156. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.full.d.ts +0 -0
  157. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.number.d.ts +0 -0
  158. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.promise.d.ts +0 -0
  159. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.symbol.wellknown.d.ts +0 -0
  160. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.d.ts +0 -0
  161. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.full.d.ts +0 -0
  162. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.promise.d.ts +0 -0
  163. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.string.d.ts +0 -0
  164. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.full.d.ts +0 -0
  165. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.object.d.ts +0 -0
  166. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.regexp.d.ts +0 -0
  167. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.string.d.ts +0 -0
  168. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.collection.d.ts +0 -0
  169. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.d.ts +0 -0
  170. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.full.d.ts +0 -0
  171. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.intl.d.ts +0 -0
  172. /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.object.d.ts → typescript/lib/lib.es2024.object.d.ts} +0 -0
  173. /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.promise.d.ts → typescript/lib/lib.es2024.promise.d.ts} +0 -0
  174. /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.regexp.d.ts → typescript/lib/lib.es2024.regexp.d.ts} +0 -0
  175. /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.string.d.ts → typescript/lib/lib.es2024.string.d.ts} +0 -0
  176. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es6.d.ts +0 -0
  177. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.decorators.d.ts +0 -0
  178. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.disposable.d.ts +0 -0
  179. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.full.d.ts +0 -0
  180. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.intl.d.ts +0 -0
  181. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.scripthost.d.ts +0 -0
  182. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.asynciterable.d.ts +0 -0
  183. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.importscripts.d.ts +0 -0
  184. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/tsserverlibrary.d.ts +0 -0
  185. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/tsserverlibrary.js +0 -0
  186. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/watchGuard.js +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.3.7",
3
+ "version": "19.1.2",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -122,11 +122,6 @@
122
122
  "githubUsername": "vhfmag",
123
123
  "url": "https://github.com/vhfmag"
124
124
  },
125
- {
126
- "name": "Dale Tan",
127
- "githubUsername": "hellatan",
128
- "url": "https://github.com/hellatan"
129
- },
130
125
  {
131
126
  "name": "Priyanshu Rav",
132
127
  "githubUsername": "priyanshurav",
@@ -169,6 +164,11 @@
169
164
  "default": "./canary.d.ts"
170
165
  }
171
166
  },
167
+ "./compiler-runtime": {
168
+ "types": {
169
+ "default": "./compiler-runtime.d.ts"
170
+ }
171
+ },
172
172
  "./experimental": {
173
173
  "types@<=5.0": {
174
174
  "default": "./ts5.0/experimental.d.ts"
@@ -202,9 +202,9 @@
202
202
  },
203
203
  "scripts": {},
204
204
  "dependencies": {
205
- "@types/prop-types": "*",
206
205
  "csstype": "^3.0.2"
207
206
  },
208
- "typesPublisherContentHash": "b1d98fe86a85173b431e17857bd1abd179b2631e9ebbd35cb81361160ba2e792",
209
- "typeScriptVersion": "4.8"
207
+ "peerDependencies": {},
208
+ "typesPublisherContentHash": "60861a737ca2cfa2a641beec7b7939c5c1d6fe7e4979513bb35a34c6e13a0056",
209
+ "typeScriptVersion": "5.1"
210
210
  }
@@ -30,128 +30,6 @@ export {};
30
30
  declare const UNDEFINED_VOID_ONLY: unique symbol;
31
31
  type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
32
32
 
33
- type NativeToggleEvent = ToggleEvent;
34
-
35
33
  declare module "." {
36
- export type Usable<T> = PromiseLike<T> | Context<T>;
37
-
38
- export function use<T>(usable: Usable<T>): T;
39
-
40
- interface ServerContextJSONArray extends ReadonlyArray<ServerContextJSONValue> {}
41
- export type ServerContextJSONValue =
42
- | string
43
- | boolean
44
- | number
45
- | null
46
- | ServerContextJSONArray
47
- | { [key: string]: ServerContextJSONValue };
48
- export interface ServerContext<T extends ServerContextJSONValue> {
49
- Provider: Provider<T>;
50
- }
51
- /**
52
- * Accepts a context object (the value returned from `React.createContext` or `React.createServerContext`) and returns the current
53
- * context value, as given by the nearest context provider for the given context.
54
- *
55
- * @version 16.8.0
56
- * @see https://react.dev/reference/react/useContext
57
- */
58
- function useContext<T extends ServerContextJSONValue>(context: ServerContext<T>): T;
59
- export function createServerContext<T extends ServerContextJSONValue>(
60
- globalName: string,
61
- defaultValue: T,
62
- ): ServerContext<T>;
63
-
64
- // eslint-disable-next-line @typescript-eslint/ban-types
65
- export function cache<CachedFunction extends Function>(fn: CachedFunction): CachedFunction;
66
-
67
34
  export function unstable_useCacheRefresh(): () => void;
68
-
69
- interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS {
70
- functions: (formData: FormData) => void;
71
- }
72
-
73
- export interface TransitionStartFunction {
74
- /**
75
- * Marks all state updates inside the async function as transitions
76
- *
77
- * @see {https://react.dev/reference/react/useTransition#starttransition}
78
- *
79
- * @param callback
80
- */
81
- (callback: () => Promise<VoidOrUndefinedOnly>): void;
82
- }
83
-
84
- /**
85
- * Similar to `useTransition` but allows uses where hooks are not available.
86
- *
87
- * @param callback An _asynchronous_ function which causes state updates that can be deferred.
88
- */
89
- export function startTransition(scope: () => Promise<VoidOrUndefinedOnly>): void;
90
-
91
- export function useOptimistic<State>(
92
- passthrough: State,
93
- ): [State, (action: State | ((pendingState: State) => State)) => void];
94
- export function useOptimistic<State, Action>(
95
- passthrough: State,
96
- reducer: (state: State, action: Action) => State,
97
- ): [State, (action: Action) => void];
98
-
99
- interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES {
100
- cleanup: () => VoidOrUndefinedOnly;
101
- }
102
-
103
- export function useActionState<State>(
104
- action: (state: Awaited<State>) => State | Promise<State>,
105
- initialState: Awaited<State>,
106
- permalink?: string,
107
- ): [state: Awaited<State>, dispatch: () => void, isPending: boolean];
108
- export function useActionState<State, Payload>(
109
- action: (state: Awaited<State>, payload: Payload) => State | Promise<State>,
110
- initialState: Awaited<State>,
111
- permalink?: string,
112
- ): [state: Awaited<State>, dispatch: (payload: Payload) => void, isPending: boolean];
113
-
114
- interface DOMAttributes<T> {
115
- // Transition Events
116
- onTransitionCancel?: TransitionEventHandler<T> | undefined;
117
- onTransitionCancelCapture?: TransitionEventHandler<T> | undefined;
118
- onTransitionRun?: TransitionEventHandler<T> | undefined;
119
- onTransitionRunCapture?: TransitionEventHandler<T> | undefined;
120
- onTransitionStart?: TransitionEventHandler<T> | undefined;
121
- onTransitionStartCapture?: TransitionEventHandler<T> | undefined;
122
- }
123
-
124
- type ToggleEventHandler<T = Element> = EventHandler<ToggleEvent<T>>;
125
-
126
- interface HTMLAttributes<T> {
127
- popover?: "" | "auto" | "manual" | undefined;
128
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
129
- popoverTarget?: string | undefined;
130
- onToggle?: ToggleEventHandler<T> | undefined;
131
- onBeforeToggle?: ToggleEventHandler<T> | undefined;
132
- }
133
-
134
- interface ToggleEvent<T = Element> extends SyntheticEvent<T, NativeToggleEvent> {
135
- oldState: "closed" | "open";
136
- newState: "closed" | "open";
137
- }
138
-
139
- /**
140
- * @internal Use `Awaited<ReactNode>` instead
141
- */
142
- // Helper type to enable `Awaited<ReactNode>`.
143
- // Must be a copy of the non-thenables of `ReactNode`.
144
- type AwaitedReactNode =
145
- | ReactElement
146
- | string
147
- | number
148
- | Iterable<AwaitedReactNode>
149
- | ReactPortal
150
- | boolean
151
- | null
152
- | undefined;
153
- interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_REACT_NODES {
154
- promises: Promise<AwaitedReactNode>;
155
- bigints: bigint;
156
- }
157
35
  }
@@ -106,7 +106,7 @@ declare module "." {
106
106
  */
107
107
  export const unstable_SuspenseList: ExoticComponent<SuspenseListProps>;
108
108
 
109
- // eslint-disable-next-line @typescript-eslint/ban-types
109
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
110
110
  export function experimental_useEffectEvent<T extends Function>(event: T): T;
111
111
 
112
112
  type Reference = object;
@@ -118,10 +118,124 @@ declare module "." {
118
118
  ): void;
119
119
  function experimental_taintObjectReference(message: string | undefined, object: Reference): void;
120
120
 
121
- export interface HTMLAttributes<T> {
121
+ export interface ViewTransitionInstance {
122
122
  /**
123
- * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert
123
+ * The {@link ViewTransitionProps name} that was used in the corresponding {@link ViewTransition} component or `"auto"` if the `name` prop was omitted.
124
124
  */
125
- inert?: boolean | undefined;
125
+ name: string;
126
+ }
127
+
128
+ export type ViewTransitionClassPerType = Record<"default" | (string & {}), "none" | "auto" | (string & {})>;
129
+ export type ViewTransitionClass = ViewTransitionClassPerType | ViewTransitionClassPerType[string];
130
+
131
+ export interface ViewTransitionProps {
132
+ children?: ReactNode | undefined;
133
+ /**
134
+ * Assigns the {@link https://developer.chrome.com/blog/view-transitions-update-io24#view-transition-class `view-transition-class`} class to the underlying DOM node.
135
+ */
136
+ default?: ViewTransitionClass | undefined;
137
+ /**
138
+ * Combined with {@link className} if this `<ViewTransition>` or its parent Component is mounted and there's no other with the same name being deleted.
139
+ * `"none"` is a special value that deactivates the view transition name under that condition.
140
+ */
141
+ enter?: ViewTransitionClass | undefined;
142
+ /**
143
+ * Combined with {@link className} if this `<ViewTransition>` or its parent Component is unmounted and there's no other with the same name being deleted.
144
+ * `"none"` is a special value that deactivates the view transition name under that condition.
145
+ */
146
+ exit?: ViewTransitionClass | undefined;
147
+ /**
148
+ * "auto" will automatically assign a view-transition-name to the inner DOM node.
149
+ * That way you can add a View Transition to a Component without controlling its DOM nodes styling otherwise.
150
+ *
151
+ * A difference between this and the browser's built-in view-transition-name: auto is that switching the DOM nodes within the `<ViewTransition>` component preserves the same name so this example cross-fades between the DOM nodes instead of causing an exit and enter.
152
+ * @default "auto"
153
+ */
154
+ name?: "auto" | (string & {}) | undefined;
155
+ /**
156
+ * The `<ViewTransition>` or its parent Component is mounted and there's no other `<ViewTransition>` with the same name being deleted.
157
+ */
158
+ onEnter?: (instance: ViewTransitionInstance, types: Array<string>) => void;
159
+ /**
160
+ * The `<ViewTransition>` or its parent Component is unmounted and there's no other `<ViewTransition>` with the same name being deleted.
161
+ */
162
+ onExit?: (instance: ViewTransitionInstance, types: Array<string>) => void;
163
+ /**
164
+ * This `<ViewTransition>` is being mounted and another `<ViewTransition>` instance with the same name is being unmounted elsewhere.
165
+ */
166
+ onShare?: (instance: ViewTransitionInstance, types: Array<string>) => void;
167
+ /**
168
+ * The content of `<ViewTransition>` has changed either due to DOM mutations or because an inner child `<ViewTransition>` has resized.
169
+ */
170
+ onUpdate?: (instance: ViewTransitionInstance, types: Array<string>) => void;
171
+ ref?: Ref<ViewTransitionInstance> | undefined;
172
+ /**
173
+ * Combined with {@link className} if this `<ViewTransition>` is being mounted and another instance with the same name is being unmounted elsewhere.
174
+ * `"none"` is a special value that deactivates the view transition name under that condition.
175
+ */
176
+ share?: ViewTransitionClass | undefined;
177
+ /**
178
+ * Combined with {@link className} if the content of this `<ViewTransition>` has changed either due to DOM mutations or because an inner child has resized.
179
+ * `"none"` is a special value that deactivates the view transition name under that condition.
180
+ */
181
+ update?: ViewTransitionClass | undefined;
182
+ }
183
+
184
+ /**
185
+ * Opt-in for using {@link https://developer.mozilla.org/en-US/docs/Web/API/View_Transition_API View Transitions} in React.
186
+ * View Transitions only trigger for async updates like {@link startTransition}, {@link useDeferredValue}, Actions or <{@link Suspense}> revealing from fallback to content.
187
+ * Synchronous updates provide an opt-out but also guarantee that they commit immediately which View Transitions can't.
188
+ *
189
+ * @see {@link https://github.com/facebook/react/pull/31975}
190
+ */
191
+ export const unstable_ViewTransition: ExoticComponent<ViewTransitionProps>;
192
+
193
+ export function unstable_addTransitionType(type: string): void;
194
+
195
+ // @enableGestureTransition
196
+ // Implemented by the specific renderer e.g. `react-dom`.
197
+ // Keep in mind that augmented interfaces merge their JSDoc so if you put
198
+ // JSDoc here and in the renderer, the IDE will display both.
199
+ export interface GestureProvider {}
200
+ export interface GestureOptions {
201
+ rangeStart?: number | undefined;
202
+ rangeEnd?: number | undefined;
203
+ }
204
+ /** */
205
+ export function unstable_startGestureTransition(
206
+ provider: GestureProvider,
207
+ scope: () => void,
208
+ options?: GestureOptions,
209
+ ): () => void;
210
+
211
+ // @enableFragmentRefs
212
+ export interface FragmentInstance {}
213
+
214
+ export interface FragmentProps {
215
+ ref?: Ref<FragmentInstance> | undefined;
216
+ }
217
+
218
+ // @enableActivity
219
+ export interface ActivityProps {
220
+ /**
221
+ * @default "visible"
222
+ */
223
+ mode?:
224
+ | "hidden"
225
+ | "visible"
226
+ | undefined;
227
+ children: ReactNode;
228
+ }
229
+
230
+ /** */
231
+ export const unstable_Activity: ExoticComponent<ActivityProps>;
232
+
233
+ // @enableSrcObject
234
+ interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_IMG_SRC_TYPES {
235
+ srcObject: Blob;
236
+ }
237
+
238
+ interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_MEDIA_SRC_TYPES {
239
+ srcObject: Blob | MediaSource | MediaStream;
126
240
  }
127
241
  }
@@ -158,3 +158,7 @@ interface WebGLRenderingContext {}
158
158
  interface WebGL2RenderingContext {}
159
159
 
160
160
  interface TrustedHTML {}
161
+
162
+ interface Blob {}
163
+ interface MediaStream {}
164
+ interface MediaSource {}