@scalar/api-reference-react 0.3.166 → 0.4.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @scalar/api-reference-react
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [fd80d43]
8
+ - Updated dependencies [47d1d82]
9
+ - @scalar/api-reference@1.25.92
10
+
11
+ ## 0.4.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 63350ce: chore: react 19 upgrade minor bump
16
+
17
+ ### Patch Changes
18
+
19
+ - 90529fc: chore: upgrade to react 19
20
+ - @scalar/api-reference@1.25.91
21
+
3
22
  ## 0.3.166
4
23
 
5
24
  ### Patch Changes
package/README.md CHANGED
@@ -11,6 +11,11 @@
11
11
  npm install @scalar/api-reference-react
12
12
  ```
13
13
 
14
+ ## Compatibility
15
+
16
+ This package is compatible with React 19 and is untested on React 18. If you want guaranteed React 18 support please use
17
+ version `1.0.107` of this package.
18
+
14
19
  ## Usage
15
20
 
16
21
  The API Reference package is written in Vue. That shouldn’t stop you from using it in React, though. We have created a client side wrapper in React:
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { JSX as JSX_2 } from 'react/jsx-runtime';
1
+ import { JSX } from 'react/jsx-runtime';
2
2
  import { ReferenceProps } from '@scalar/api-reference';
3
3
 
4
4
  /**
5
5
  * React wrapper around the Scalar API Reference
6
6
  */
7
- export declare const ApiReferenceReact: (props: ReferenceProps) => JSX_2.Element;
7
+ export declare const ApiReferenceReact: (props: ReferenceProps) => JSX.Element;
8
8
 
9
9
  export { ReferenceProps }
10
10