@scalar/api-reference-react 0.6.1 → 0.6.3

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.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 0f13162: chore: enable more Biome flags, apply linter fixes
8
+ - Updated dependencies [7a8965c]
9
+ - Updated dependencies [0f13162]
10
+ - Updated dependencies [8ca4584]
11
+ - Updated dependencies [49dffff]
12
+ - @scalar/api-reference@1.28.6
13
+ - @scalar/types@0.1.2
14
+
15
+ ## 0.6.2
16
+
17
+ ### Patch Changes
18
+
19
+ - 0fb83f2: chore: export types from the react package for ease of use
20
+ - @scalar/api-reference@1.28.5
21
+
3
22
  ## 0.6.1
4
23
 
5
24
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceReact.d.ts","sourceRoot":"","sources":["../src/ApiReferenceReact.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAG9E,OAAO,aAAa,CAAA;AAOpB;;GAEG;AACH,eAAO,MAAM,iBAAiB,UAAW;IAAE,aAAa,EAAE,2BAA2B,CAAA;CAAE,4CA0BtF,CAAA"}
1
+ {"version":3,"file":"ApiReferenceReact.d.ts","sourceRoot":"","sources":["../src/ApiReferenceReact.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAG9E,OAAO,aAAa,CAAA;AAOpB;;GAEG;AACH,eAAO,MAAM,iBAAiB,UAAW;IAAE,aAAa,EAAE,2BAA2B,CAAA;CAAE,4CA4BtF,CAAA"}
@@ -10,7 +10,8 @@ const R = (n) => {
10
10
  const e = c(null), [t, _] = s(null), i = () => Array.isArray(n.configuration) ? n.configuration.map((r) => ({ _integration: "react", ...r })) : { _integration: "react", ...n.configuration };
11
11
  return a(() => {
12
12
  var o;
13
- if (!e.current) return (o = t == null ? void 0 : t.app) == null ? void 0 : o.unmount;
13
+ if (!e.current)
14
+ return (o = t == null ? void 0 : t.app) == null ? void 0 : o.unmount;
14
15
  const r = f(e.current, i());
15
16
  return _(r), r.destroy;
16
17
  }, [e]), a(() => {
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  export * from './ApiReferenceReact.js';
2
+ /** Re-export types for ease of use */
3
+ export type { ApiReferenceConfiguration, ApiReferenceConfigurationWithSources, MultiReferenceConfiguration, } from '@scalar/types/api-reference';
2
4
  export type { ReferenceProps } from '@scalar/api-reference';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,YAAY,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AAEnC,sCAAsC;AACtC,YAAY,EACV,yBAAyB,EACzB,oCAAoC,EACpC,2BAA2B,GAC5B,MAAM,6BAA6B,CAAA;AACpC,YAAY,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA"}