@pinuts/bsr-uikit-relaunch 0.2.7 → 0.2.9

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 (209) hide show
  1. package/.nvmrc +1 -0
  2. package/dist/hooks/withFieldGroup.js +16 -16
  3. package/dist/index.js +134 -2
  4. package/dist/items/BSRAddressSelector/BSRAddressSelector.d.ts.map +1 -1
  5. package/dist/items/BSRAddressSelector/BSRAddressSelector.js +2 -1
  6. package/dist/items/BSRAddressSelector/BSRAutocompleteField.d.ts.map +1 -1
  7. package/dist/items/BSRAddressSelector/BSRAutocompleteField.js +1 -2
  8. package/dist/items/BSRAddressSelector/BSRStreetPlzSelector.d.ts.map +1 -1
  9. package/dist/items/BSRAddressSelector/BSRStreetPlzSelector.js +2 -1
  10. package/dist/items/BSRAddressSelector/HouseNumberSelectFieldBck.js +0 -1
  11. package/dist/items/Button/Button.d.ts.map +1 -1
  12. package/dist/items/Button/Button.js +1 -2
  13. package/dist/items/FieldLabel/FieldLabel.d.ts.map +1 -1
  14. package/dist/items/FieldLabel/FieldLabel.js +2 -3
  15. package/dist/items/GroupInputField/GroupInputField.d.ts.map +1 -1
  16. package/dist/items/GroupInputField/GroupInputField.js +3 -4
  17. package/dist/items/SelectField/SelectField.d.ts.map +1 -1
  18. package/dist/items/SelectField/SelectField.js +1 -2
  19. package/dist/items/Tag/Tag.d.ts.map +1 -1
  20. package/dist/items/Tag/Tag.js +2 -3
  21. package/dist/items/TextAreaField/TextAreaField.d.ts.map +1 -1
  22. package/dist/items/TextAreaField/TextAreaField.js +1 -2
  23. package/dist/items/TextInputField/TextInputField.d.ts.map +1 -1
  24. package/dist/items/TextInputField/TextInputField.js +1 -2
  25. package/dist/main.css +4 -0
  26. package/dist/main.js +2 -0
  27. package/dist/{index.js.LICENSE.txt → main.js.LICENSE.txt} +2 -2
  28. package/dist/styles/{form.module.scss → form.scss} +49 -37
  29. package/dist/styles.css +1 -0
  30. package/dist/styles.js +0 -0
  31. package/dist/utils/getUikitClassNames.d.ts.map +1 -1
  32. package/dist/utils/getUikitClassNames.js +1 -3
  33. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -2
  34. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  35. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +4 -4
  36. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +2 -2
  37. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +2 -2
  38. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +1 -1
  39. package/node_modules/@babel/runtime/helpers/superPropGet.js +4 -4
  40. package/node_modules/@babel/runtime/helpers/superPropSet.js +2 -2
  41. package/node_modules/@babel/runtime/package.json +1 -1
  42. package/node_modules/@types/hoist-non-react-statics/README.md +13 -13
  43. package/node_modules/@types/hoist-non-react-statics/index.d.ts +12 -12
  44. package/node_modules/@types/hoist-non-react-statics/package.json +4 -3
  45. package/node_modules/@types/react/README.md +3 -3
  46. package/node_modules/@types/react/canary.d.ts +3 -118
  47. package/node_modules/@types/react/compiler-runtime.d.ts +4 -0
  48. package/node_modules/@types/react/experimental.d.ts +89 -4
  49. package/node_modules/@types/react/index.d.ts +435 -772
  50. package/node_modules/@types/react/package.json +9 -9
  51. package/node_modules/@types/react/ts5.0/canary.d.ts +3 -118
  52. package/node_modules/@types/react/ts5.0/experimental.d.ts +89 -4
  53. package/node_modules/@types/react/ts5.0/index.d.ts +431 -768
  54. package/node_modules/@types/react/ts5.0/v18/global.d.ts +160 -0
  55. package/node_modules/@types/react/ts5.0/v18/index.d.ts +4543 -0
  56. package/node_modules/@types/react/ts5.0/v18/jsx-dev-runtime.d.ts +45 -0
  57. package/node_modules/@types/react/ts5.0/v18/jsx-runtime.d.ts +36 -0
  58. package/node_modules/@types/react/ts5.0/v18/ts5.0/global.d.ts +160 -0
  59. package/node_modules/@types/react/ts5.0/v18/ts5.0/index.d.ts +4530 -0
  60. package/node_modules/@types/react/ts5.0/v18/ts5.0/jsx-dev-runtime.d.ts +44 -0
  61. package/node_modules/@types/react/ts5.0/v18/ts5.0/jsx-runtime.d.ts +35 -0
  62. package/node_modules/tslib/modules/index.d.ts +1 -0
  63. package/node_modules/tslib/modules/index.js +2 -0
  64. package/node_modules/tslib/package.json +1 -1
  65. package/node_modules/tslib/tslib.d.ts +7 -0
  66. package/node_modules/tslib/tslib.es6.js +24 -1
  67. package/node_modules/tslib/tslib.es6.mjs +24 -1
  68. package/node_modules/tslib/tslib.js +56 -1
  69. package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/tsc.js → typescript/lib/_tsc.js} +3484 -1863
  70. package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/tsserver.js → typescript/lib/_tsserver.js} +1 -1
  71. package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/typingsInstaller.js → typescript/lib/_typingsInstaller.js} +2 -16
  72. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/cs/diagnosticMessages.generated.json +16 -4
  73. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/de/diagnosticMessages.generated.json +16 -4
  74. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/es/diagnosticMessages.generated.json +16 -4
  75. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/fr/diagnosticMessages.generated.json +16 -4
  76. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/it/diagnosticMessages.generated.json +16 -4
  77. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/ja/diagnosticMessages.generated.json +16 -4
  78. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/ko/diagnosticMessages.generated.json +16 -4
  79. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.decorators.d.ts +13 -15
  80. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.dom.d.ts +1115 -219
  81. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.core.d.ts +9 -9
  82. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.iterable.d.ts +90 -27
  83. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.symbol.wellknown.d.ts +10 -10
  84. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.array.include.d.ts +9 -9
  85. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.intl.d.ts +1 -1
  86. package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  87. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.d.ts +3 -2
  88. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.sharedmemory.d.ts +14 -14
  89. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.typedarrays.d.ts +9 -9
  90. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.bigint.d.ts +54 -50
  91. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.intl.d.ts +36 -36
  92. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.sharedmemory.d.ts +13 -11
  93. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.string.d.ts +2 -0
  94. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.intl.d.ts +17 -17
  95. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.weakref.d.ts +2 -0
  96. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.array.d.ts +11 -11
  97. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.d.ts +1 -2
  98. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.error.d.ts +2 -0
  99. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.intl.d.ts +9 -9
  100. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.array.d.ts +99 -99
  101. package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  102. package/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  103. package/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  104. package/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  105. package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts → typescript/lib/lib.es2024.sharedmemory.d.ts} +29 -0
  106. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es5.d.ts +252 -252
  107. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.array.d.ts +1 -1
  108. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.collection.d.ts +1 -11
  109. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.d.ts +1 -5
  110. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.d.ts +311 -34
  111. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/pl/diagnosticMessages.generated.json +16 -4
  112. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/pt-br/diagnosticMessages.generated.json +16 -4
  113. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/ru/diagnosticMessages.generated.json +16 -4
  114. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/tr/diagnosticMessages.generated.json +16 -4
  115. package/node_modules/typescript/lib/tsc.js +8 -0
  116. package/node_modules/typescript/lib/tsserver.js +8 -0
  117. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/typesMap.json +497 -497
  118. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/typescript.d.ts +82 -22
  119. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/typescript.js +5593 -2998
  120. package/node_modules/typescript/lib/typingsInstaller.js +8 -0
  121. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/zh-cn/diagnosticMessages.generated.json +17 -5
  122. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/zh-tw/diagnosticMessages.generated.json +16 -4
  123. package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/package.json +22 -23
  124. package/package.json +5 -4
  125. package/webpack.config.js +109 -99
  126. package/node_modules/@types/prop-types/LICENSE +0 -21
  127. package/node_modules/@types/prop-types/README.md +0 -15
  128. package/node_modules/@types/prop-types/index.d.ts +0 -114
  129. package/node_modules/@types/prop-types/package.json +0 -35
  130. package/node_modules/hoist-non-react-statics/CHANGELOG.md +0 -37
  131. /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/LICENSE +0 -0
  132. /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/README.md +0 -0
  133. /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/package.json +0 -0
  134. /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/path.js +0 -0
  135. /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/runtime.js +0 -0
  136. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/LICENSE.txt +0 -0
  137. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/README.md +0 -0
  138. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/SECURITY.md +0 -0
  139. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/ThirdPartyNoticeText.txt +0 -0
  140. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/bin/tsc +0 -0
  141. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/bin/tsserver +0 -0
  142. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/cancellationToken.js +0 -0
  143. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.d.ts +0 -0
  144. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.decorators.legacy.d.ts +0 -0
  145. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.dom.asynciterable.d.ts +0 -0
  146. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.dom.iterable.d.ts +0 -0
  147. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.collection.d.ts +0 -0
  148. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.d.ts +0 -0
  149. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.generator.d.ts +0 -0
  150. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.promise.d.ts +0 -0
  151. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.proxy.d.ts +0 -0
  152. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.reflect.d.ts +0 -0
  153. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.symbol.d.ts +0 -0
  154. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.d.ts +0 -0
  155. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.full.d.ts +0 -0
  156. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.date.d.ts +0 -0
  157. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.full.d.ts +0 -0
  158. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.intl.d.ts +0 -0
  159. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.object.d.ts +0 -0
  160. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.string.d.ts +0 -0
  161. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.asyncgenerator.d.ts +0 -0
  162. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.asynciterable.d.ts +0 -0
  163. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.d.ts +0 -0
  164. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.full.d.ts +0 -0
  165. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.intl.d.ts +0 -0
  166. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.promise.d.ts +0 -0
  167. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.regexp.d.ts +0 -0
  168. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.array.d.ts +0 -0
  169. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.d.ts +0 -0
  170. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.full.d.ts +0 -0
  171. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.intl.d.ts +0 -0
  172. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.object.d.ts +0 -0
  173. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.string.d.ts +0 -0
  174. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.symbol.d.ts +0 -0
  175. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.d.ts +0 -0
  176. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.date.d.ts +0 -0
  177. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.full.d.ts +0 -0
  178. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.number.d.ts +0 -0
  179. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.promise.d.ts +0 -0
  180. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.symbol.wellknown.d.ts +0 -0
  181. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.d.ts +0 -0
  182. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.full.d.ts +0 -0
  183. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.promise.d.ts +0 -0
  184. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.string.d.ts +0 -0
  185. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.full.d.ts +0 -0
  186. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.object.d.ts +0 -0
  187. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.regexp.d.ts +0 -0
  188. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.string.d.ts +0 -0
  189. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.collection.d.ts +0 -0
  190. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.d.ts +0 -0
  191. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.full.d.ts +0 -0
  192. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.intl.d.ts +0 -0
  193. /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.object.d.ts → typescript/lib/lib.es2024.object.d.ts} +0 -0
  194. /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.promise.d.ts → typescript/lib/lib.es2024.promise.d.ts} +0 -0
  195. /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.regexp.d.ts → typescript/lib/lib.es2024.regexp.d.ts} +0 -0
  196. /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.string.d.ts → typescript/lib/lib.es2024.string.d.ts} +0 -0
  197. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es6.d.ts +0 -0
  198. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.decorators.d.ts +0 -0
  199. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.disposable.d.ts +0 -0
  200. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.full.d.ts +0 -0
  201. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.intl.d.ts +0 -0
  202. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.iterator.d.ts +0 -0
  203. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.scripthost.d.ts +0 -0
  204. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.asynciterable.d.ts +0 -0
  205. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.importscripts.d.ts +0 -0
  206. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.iterable.d.ts +0 -0
  207. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/tsserverlibrary.d.ts +0 -0
  208. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/tsserverlibrary.js +0 -0
  209. /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/watchGuard.js +0 -0
@@ -30,128 +30,13 @@ 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
35
 
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
36
  /**
85
- * Similar to `useTransition` but allows uses where hooks are not available.
37
+ * Warning: Only available in development builds.
86
38
  *
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
39
+ * @see {@link https://react.dev/reference/react/captureOwnerStack Reference docs}
141
40
  */
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
- }
41
+ function captureOwnerStack(): string | null;
157
42
  }
@@ -0,0 +1,4 @@
1
+ // Not meant to be used directly
2
+ // Omitting all exports so that they don't appear in IDE autocomplete.
3
+
4
+ export {};
@@ -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,95 @@ 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
126
  }
127
+
128
+ export interface ViewTransitionProps {
129
+ children?: ReactNode | undefined;
130
+ /**
131
+ * Assigns the {@link https://developer.chrome.com/blog/view-transitions-update-io24#view-transition-class `view-transition-class`} class to the underlying DOM node.
132
+ */
133
+ className?: string | undefined;
134
+ /**
135
+ * Combined with {@link className} if this `<ViewTransition>` or its parent Component is mounted and there's no other with the same name being deleted.
136
+ * `"none"` is a special value that deactivates the view transition name under that condition.
137
+ */
138
+ enter?: "none" | (string & {}) | undefined;
139
+ /**
140
+ * Combined with {@link className} if this `<ViewTransition>` or its parent Component is unmounted and there's no other with the same name being deleted.
141
+ * `"none"` is a special value that deactivates the view transition name under that condition.
142
+ */
143
+ exit?: "none" | (string & {}) | undefined;
144
+ /**
145
+ * Combined with {@link className} there are no updates to the content inside this boundary itself but the boundary has resized or moved due to other changes to siblings.
146
+ * `"none"` is a special value that deactivates the view transition name under that condition.
147
+ */
148
+ layout?: "none" | (string & {}) | undefined;
149
+ /**
150
+ * "auto" will automatically assign a view-transition-name to the inner DOM node.
151
+ * That way you can add a View Transition to a Component without controlling its DOM nodes styling otherwise.
152
+ *
153
+ * 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.
154
+ * @default "auto"
155
+ */
156
+ name?: "auto" | (string & {}) | undefined;
157
+ /**
158
+ * The `<ViewTransition>` or its parent Component is mounted and there's no other `<ViewTransition>` with the same name being deleted.
159
+ */
160
+ onEnter?: (instance: ViewTransitionInstance) => void;
161
+ /**
162
+ * The `<ViewTransition>` or its parent Component is unmounted and there's no other `<ViewTransition>` with the same name being deleted.
163
+ */
164
+ onExit?: (instance: ViewTransitionInstance) => void;
165
+ /**
166
+ * There are no updates to the content inside this `<ViewTransition>` boundary itself but the boundary has resized or moved due to other changes to siblings.
167
+ */
168
+ onLayout?: (instance: ViewTransitionInstance) => void;
169
+ /**
170
+ * This `<ViewTransition>` is being mounted and another `<ViewTransition>` instance with the same name is being unmounted elsewhere.
171
+ */
172
+ onShare?: (instance: ViewTransitionInstance) => void;
173
+ /**
174
+ * The content of `<ViewTransition>` has changed either due to DOM mutations or because an inner child `<ViewTransition>` has resized.
175
+ */
176
+ onUpdate?: (instance: ViewTransitionInstance) => void;
177
+ ref?: Ref<ViewTransitionInstance> | undefined;
178
+ /**
179
+ * Combined with {@link className} if this `<ViewTransition>` is being mounted and another instance with the same name is being unmounted elsewhere.
180
+ * `"none"` is a special value that deactivates the view transition name under that condition.
181
+ */
182
+ share?: "none" | (string & {}) | undefined;
183
+ /**
184
+ * Combined with {@link className} if the content of this `<ViewTransition>` has changed either due to DOM mutations or because an inner child has resized.
185
+ * `"none"` is a special value that deactivates the view transition name under that condition.
186
+ */
187
+ update?: "none" | (string & {}) | undefined;
188
+ }
189
+
190
+ /**
191
+ * Opt-in for using {@link https://developer.mozilla.org/en-US/docs/Web/API/View_Transition_API View Transitions} in React.
192
+ * View Transitions only trigger for async updates like {@link startTransition}, {@link useDeferredValue}, Actions or <{@link Suspense}> revealing from fallback to content.
193
+ * Synchronous updates provide an opt-out but also guarantee that they commit immediately which View Transitions can't.
194
+ *
195
+ * @see {@link https://github.com/facebook/react/pull/31975}
196
+ */
197
+ export const unstable_ViewTransition: ExoticComponent<ViewTransitionProps>;
198
+
199
+ // Implemented by the specific renderer e.g. `react-dom`.
200
+ // Keep in mind that augmented interfaces merge their JSDoc so if you put
201
+ // JSDoc here and in the renderer, the IDE will display both.
202
+ export interface GestureProvider {}
203
+
204
+ export type StartGesture = (gestureProvider: GestureProvider) => () => void;
205
+
206
+ /** */
207
+ export function unstable_useSwipeTransition<Value>(
208
+ previous: Value,
209
+ current: Value,
210
+ next: Value,
211
+ ): [value: Value, startGesture: StartGesture];
127
212
  }