Skip to content

Commit

Permalink
Merge branch 'main' into react-dom/FadeIn
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli authored Nov 21, 2024
2 parents 5d12190 + 800ba8f commit 0ae4863
Show file tree
Hide file tree
Showing 32 changed files with 88 additions and 53 deletions.
6 changes: 0 additions & 6 deletions .changeset/thick-cats-marry.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/twenty-rockets-knock.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/wild-days-retire.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/jotai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @suspensive/jotai

## 2.18.6

### Patch Changes

- [#1364](https://github.com/toss/suspensive/pull/1364) [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495) Thanks [@kangju2000](https://github.com/kangju2000)! - fix(\*): fix typo in jsdoc

- [#1364](https://github.com/toss/suspensive/pull/1364) [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495) Thanks [@kangju2000](https://github.com/kangju2000)! - fix(react-query, jotai, react): fix typo in jsdoc

## 2.18.5

## 2.18.4
Expand Down
2 changes: 1 addition & 1 deletion packages/jotai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@suspensive/jotai",
"version": "2.18.5",
"version": "2.18.6",
"description": "Suspensive interfaces for jotai",
"keywords": [
"suspensive",
Expand Down
15 changes: 15 additions & 0 deletions packages/react-query-4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @suspensive/react-query-4

## 2.18.6

### Patch Changes

- [#1368](https://github.com/toss/suspensive/pull/1368) [`30b39d9`](https://github.com/toss/suspensive/commit/30b39d9c6e8ad5cf29316eb318ecd989b8da8aa7) Thanks [@kangju2000](https://github.com/kangju2000)! - docs(react-query, react): Update jsdoc link from `en/docs` to `docs`

- [#1365](https://github.com/toss/suspensive/pull/1365) [`89c1cd9`](https://github.com/toss/suspensive/commit/89c1cd9028bbdf092cdda24254a56afd003c941f) Thanks [@kangju2000](https://github.com/kangju2000)! - feat(react, react-query-4): add missing JSDoc for react and react-query-4

- [#1364](https://github.com/toss/suspensive/pull/1364) [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495) Thanks [@kangju2000](https://github.com/kangju2000)! - fix(\*): fix typo in jsdoc

- [#1364](https://github.com/toss/suspensive/pull/1364) [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495) Thanks [@kangju2000](https://github.com/kangju2000)! - fix(react-query, jotai, react): fix typo in jsdoc

- Updated dependencies [[`30b39d9`](https://github.com/toss/suspensive/commit/30b39d9c6e8ad5cf29316eb318ecd989b8da8aa7), [`89c1cd9`](https://github.com/toss/suspensive/commit/89c1cd9028bbdf092cdda24254a56afd003c941f), [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495), [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495)]:
- @suspensive/react@2.18.6

## 2.18.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-query-4/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@suspensive/react-query-4",
"version": "2.18.5",
"version": "2.18.6",
"description": "Suspensive interfaces for @tanstack/react-query@4",
"keywords": [
"suspensive",
Expand Down Expand Up @@ -59,7 +59,7 @@
"react": "catalog:react18"
},
"peerDependencies": {
"@suspensive/react": "workspace:^2.18.5",
"@suspensive/react": "workspace:^2.18.6",
"@tanstack/react-query": "^4",
"react": "^18"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/PrefetchInfiniteQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { usePrefetchInfiniteQuery } from './usePrefetchInfiniteQuery'

/**
* A component that allows you to use `usePrefetchInfiniteQuery` in JSX, avoiding the limitations of React hooks.
* @see {@link https://suspensive.org/en/docs/react-query/PrefetchInfiniteQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/PrefetchInfiniteQuery Suspensive Docs}
* @example
* ```tsx
* <PrefetchInfiniteQuery queryKey={['queryKey']} queryFn={queryFn} />
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/PrefetchQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { usePrefetchQuery } from './usePrefetchQuery'

/**
* A component that allows you to use usePrefetchQuery in JSX, avoiding the limitations of React hooks.
* @see {@link https://suspensive.org/en/docs/react-query/PrefetchQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/PrefetchQuery Suspensive Docs}
* @example
* ```tsx
* <PrefetchQuery queryKey={['queryKey']} queryFn={queryFn} />
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/SuspenseInfiniteQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
/**
* We provide these components to clearly express what causes suspense at the same depth.
* `<SuspenseInfiniteQuery/>` serves to make `useSuspenseInfiniteQuery` easier to use in jsx.
* @see {@link https://suspensive.org/en/docs/react-query/SuspenseInfiniteQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/SuspenseInfiniteQuery Suspensive Docs}
* @example
* ```tsx
* import { SuspenseInfiniteQuery } from '@suspensive/react-query'
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/SuspenseQueries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { type SuspenseQueriesOptions, type SuspenseQueriesResults, useSuspenseQu
/**
* We provide these components to clearly express what causes suspense at the same depth.
* `<SuspenseQueries/>` serves to make `useSuspenseQueries` easier to use in jsx.
* @see {@link https://suspensive.org/en/docs/react-query/SuspenseQueries Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/SuspenseQueries Suspensive Docs}
* @example
* ```tsx
* import { SuspenseQueries } from '@suspensive/react-query'
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/SuspenseQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { type UseSuspenseQueryOptions, type UseSuspenseQueryResult, useSuspenseQ
/**
* We provide these components to clearly express what causes suspense at the same depth.
* `<SuspenseQuery/>` serves to make `useSuspenseQuery` easier to use in jsx.
* @see {@link https://suspensive.org/en/docs/react-query/SuspenseQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/SuspenseQuery Suspensive Docs}
* @example
* ```tsx
* import { SuspenseQuery } from '@suspensive/react-query'
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/queryOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export type UnSelectedQueryOptions<
* Creates a reusable query options object that can be used across different query hooks.
* Provides better type inference and easier query key management.
*
* @see {@link https://suspensive.org/en/docs/react-query/queryOptions Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/queryOptions Suspensive Docs}
*/
export function queryOptions<
TQueryFnData = unknown,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/usePrefetchInfiniteQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type FetchInfiniteQueryOptions, type QueryKey, useQueryClient } from '@

/**
* The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.
* @see {@link https://suspensive.org/en/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}
*/
export function usePrefetchInfiniteQuery<
TQueryFnData = unknown,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/usePrefetchQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type FetchQueryOptions, type QueryKey, useQueryClient } from '@tanstack

/**
* The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.
* @see {@link https://suspensive.org/en/docs/react-query/usePrefetchQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}
*/
export function usePrefetchQuery<
TQueryFnData = unknown,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/useSuspenseInfiniteQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export type UseSuspenseInfiniteQueryOptions<

/**
* This hook is wrapping `useInfiniteQuery` of `@tanstack/react-query` v4 with default suspense option.
* @see {@link https://suspensive.org/en/docs/react-query/useSuspenseInfiniteQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/useSuspenseInfiniteQuery Suspensive Docs}
*/
export function useSuspenseInfiniteQuery<
TQueryFnData = unknown,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/useSuspenseQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export type SuspenseQueriesResults<

/**
* This hook is wrapping `useQueries` of `@tanstack/react-query` v4 with default suspense option.
* @see {@link https://suspensive.org/en/docs/react-query/useSuspenseQueries Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/useSuspenseQueries Suspensive Docs}
*/
export function useSuspenseQueries<T extends any[]>({
queries,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/src/useSuspenseQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export type UseSuspenseQueryOptions<

/**
* This hook is wrapping `useQuery` of `@tanstack/react-query` v4 with default suspense option.
* @see {@link https://suspensive.org/en/docs/react-query/useSuspenseQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/useSuspenseQuery Suspensive Docs}
*/
export function useSuspenseQuery<
TQueryFnData = unknown,
Expand Down
13 changes: 13 additions & 0 deletions packages/react-query-5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @suspensive/react-query-5

## 2.18.6

### Patch Changes

- [#1368](https://github.com/toss/suspensive/pull/1368) [`30b39d9`](https://github.com/toss/suspensive/commit/30b39d9c6e8ad5cf29316eb318ecd989b8da8aa7) Thanks [@kangju2000](https://github.com/kangju2000)! - docs(react-query, react): Update jsdoc link from `en/docs` to `docs`

- [#1364](https://github.com/toss/suspensive/pull/1364) [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495) Thanks [@kangju2000](https://github.com/kangju2000)! - fix(\*): fix typo in jsdoc

- [#1364](https://github.com/toss/suspensive/pull/1364) [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495) Thanks [@kangju2000](https://github.com/kangju2000)! - fix(react-query, jotai, react): fix typo in jsdoc

- Updated dependencies [[`30b39d9`](https://github.com/toss/suspensive/commit/30b39d9c6e8ad5cf29316eb318ecd989b8da8aa7), [`89c1cd9`](https://github.com/toss/suspensive/commit/89c1cd9028bbdf092cdda24254a56afd003c941f), [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495), [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495)]:
- @suspensive/react@2.18.6

## 2.18.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-query-5/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@suspensive/react-query-5",
"version": "2.18.5",
"version": "2.18.6",
"description": "Suspensive interfaces for @tanstack/react-query@5",
"keywords": [
"suspensive",
Expand Down Expand Up @@ -59,7 +59,7 @@
"react": "catalog:react18"
},
"peerDependencies": {
"@suspensive/react": "workspace:^2.18.5",
"@suspensive/react": "workspace:^2.18.6",
"@tanstack/react-query": "^5",
"react": "^18"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-5/src/PrefetchInfiniteQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {

/**
* A component that allows you to use usePrefetchInfiniteQuery in JSX, avoiding the limitations of React hooks.
* @see {@link https://suspensive.org/en/docs/react-query/PrefetchInfiniteQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/PrefetchInfiniteQuery Suspensive Docs}
* @example
* ```tsx
* <PrefetchInfiniteQuery queryKey={['queryKey']} queryFn={queryFn} />
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-5/src/PrefetchQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type DefaultError, type FetchQueryOptions, type QueryKey, usePrefetchQu

/**
* A component that allows you to use usePrefetchQuery in JSX, avoiding the limitations of React hooks.
* @see {@link https://suspensive.org/en/docs/react-query/PrefetchQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/PrefetchQuery Suspensive Docs}
* @example
* ```tsx
* <PrefetchQuery queryKey={['queryKey']} queryFn={queryFn} />
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-5/src/SuspenseInfiniteQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type { ReactNode } from 'react'
/**
* We provide these components to clearly express what causes suspense at the same depth.
* `<SuspenseInfiniteQuery/>` serves to make `useSuspenseInfiniteQuery` easier to use in jsx.
* @see {@link https://suspensive.org/en/docs/react-query/SuspenseInfiniteQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/SuspenseInfiniteQuery Suspensive Docs}
* @example
* ```tsx
* import { SuspenseInfiniteQuery } from '@suspensive/react-query'
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-5/src/SuspenseQueries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { ReactNode } from 'react'
/**
* We provide these components to clearly express what causes suspense at the same depth.
* `<SuspenseQueries/>` serves to make `useSuspenseQueries` easier to use in jsx.
* @see {@link https://suspensive.org/en/docs/react-query/SuspenseQueries Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/SuspenseQueries Suspensive Docs}
* @example
* ```tsx
* import { SuspenseQueries } from '@suspensive/react-query'
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-5/src/SuspenseQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { ReactNode } from 'react'
/**
* We provide these components to clearly express what causes suspense at the same depth.
* `<SuspenseQuery/>` serves to make `useSuspenseQuery` easier to use in jsx.
* @see {@link https://suspensive.org/en/docs/react-query/SuspenseQuery Suspensive Docs}
* @see {@link https://suspensive.org/docs/react-query/SuspenseQuery Suspensive Docs}
* @example
* ```tsx
* import { SuspenseQuery } from '@suspensive/react-query'
Expand Down
9 changes: 9 additions & 0 deletions packages/react-query/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @suspensive/react-query

## 2.18.6

### Patch Changes

- Updated dependencies [[`30b39d9`](https://github.com/toss/suspensive/commit/30b39d9c6e8ad5cf29316eb318ecd989b8da8aa7), [`89c1cd9`](https://github.com/toss/suspensive/commit/89c1cd9028bbdf092cdda24254a56afd003c941f), [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495), [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495)]:
- @suspensive/react-query-4@2.18.6
- @suspensive/react-query-5@2.18.6
- @suspensive/react@2.18.6

## 2.18.5

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/react-query/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@suspensive/react-query",
"version": "2.18.5",
"version": "2.18.6",
"description": "Suspensive interfaces for @tanstack/react-query",
"keywords": [
"suspensive",
Expand Down Expand Up @@ -56,8 +56,8 @@
},
"dependencies": {
"@commander-js/extra-typings": "^12.1.0",
"@suspensive/react-query-4": "workspace:^2.18.5",
"@suspensive/react-query-5": "workspace:^2.18.5",
"@suspensive/react-query-4": "workspace:^2.18.6",
"@suspensive/react-query-5": "workspace:^2.18.6",
"cli-table3": "^0.6.5",
"commander": "^12.1.0"
},
Expand All @@ -71,7 +71,7 @@
"react": "catalog:react18"
},
"peerDependencies": {
"@suspensive/react": "workspace:^2.18.5",
"@suspensive/react": "workspace:^2.18.6",
"@tanstack/react-query": "^4 || ^5",
"react": "^18"
},
Expand Down
12 changes: 12 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @suspensive/react

## 2.18.6

### Patch Changes

- [#1368](https://github.com/toss/suspensive/pull/1368) [`30b39d9`](https://github.com/toss/suspensive/commit/30b39d9c6e8ad5cf29316eb318ecd989b8da8aa7) Thanks [@kangju2000](https://github.com/kangju2000)! - docs(react-query, react): Update jsdoc link from `en/docs` to `docs`

- [#1365](https://github.com/toss/suspensive/pull/1365) [`89c1cd9`](https://github.com/toss/suspensive/commit/89c1cd9028bbdf092cdda24254a56afd003c941f) Thanks [@kangju2000](https://github.com/kangju2000)! - feat(react, react-query-4): add missing JSDoc for react and react-query-4

- [#1364](https://github.com/toss/suspensive/pull/1364) [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495) Thanks [@kangju2000](https://github.com/kangju2000)! - fix(\*): fix typo in jsdoc

- [#1364](https://github.com/toss/suspensive/pull/1364) [`9db2983`](https://github.com/toss/suspensive/commit/9db298363b0df84225e03e54bbbe950814c55495) Thanks [@kangju2000](https://github.com/kangju2000)! - fix(react-query, jotai, react): fix typo in jsdoc

## 2.18.5

## 2.18.4
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@suspensive/react",
"version": "2.18.5",
"version": "2.18.6",
"description": "Suspensive interface for react",
"keywords": [
"suspensive",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/DefaultProps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ interface DefaultPropsProviderProps extends PropsWithChildren {
* }
* ```
*
* @see {@link https://suspensive.org/en/docs/react/DefaultPropsProvider Suspensive Docs}
* @see {@link https://suspensive.org/docs/react/DefaultPropsProvider Suspensive Docs}
*/
export const DefaultPropsProvider = ({ defaultProps, children }: DefaultPropsProviderProps) => (
<DelayDefaultPropsContext.Provider value={defaultProps.Delay ?? {}}>
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/ErrorBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ if (process.env.NODE_ENV === 'development') {

/**
* This hook provides a simple and reusable wrapper that you can use to wrap around your components. Any rendering errors in your components hierarchy can then be gracefully handled.
* @see {@link https://suspensive.org/en/docs/react/ErrorBoundary#useerrorboundary Suspensive Docs}
* @see {@link https://suspensive.org/docs/react/ErrorBoundary#useerrorboundary Suspensive Docs}
*/
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
export const useErrorBoundary = <TError extends Error = Error>() => {
Expand Down Expand Up @@ -242,7 +242,7 @@ export const useErrorBoundary = <TError extends Error = Error>() => {

/**
* This hook allows you to access the reset method and error objects without prop drilling.
* @see {@link https://suspensive.org/en/docs/react/ErrorBoundary#useerrorboundaryfallbackprops Suspensive Docs}
* @see {@link https://suspensive.org/docs/react/ErrorBoundary#useerrorboundaryfallbackprops Suspensive Docs}
*/
export const useErrorBoundaryFallbackProps = <TError extends Error = Error>(): ErrorBoundaryFallbackProps<TError> => {
const errorBoundary = useContext(ErrorBoundaryContext)
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0ae4863

Please sign in to comment.