diff --git a/docs/app/components/HomeBlocks/HomeBlockMore.tsx b/docs/app/components/HomeBlocks/HomeBlockMore.tsx index 48b52ebfe5..8c8432bf82 100644 --- a/docs/app/components/HomeBlocks/HomeBlockMore.tsx +++ b/docs/app/components/HomeBlocks/HomeBlockMore.tsx @@ -47,8 +47,8 @@ const dataFixtures = [
import * as Dialog from '@radix-ui/react-dialog'
+`,
+ `import * as Dialog from '@radix-ui/react-dialog'
import { styled } from '@stitches/react'
import { animated, useSpring } from '@react-spring/web'
diff --git a/docs/app/data/fixtures.tsx b/docs/app/data/fixtures.tsx
index 040bb68ea7..b3738e5b8c 100644
--- a/docs/app/data/fixtures.tsx
+++ b/docs/app/data/fixtures.tsx
@@ -473,6 +473,14 @@ export const USE_SCROLL_CONFIG_DATA: CellData[][] = [
),
]
+export const USE_RESIZE_CONFIG_DATA: CellData[][] = [
+ ['container', 'React.MutableRefObject', null],
+ ...DEFAULT_CONFIG_DATA.filter(
+ row =>
+ row[0] !== 'from' && typeof row[0] === 'object' && row[0]?.label !== 'to'
+ ),
+]
+
export const USESPRINGVALUE_CONFIG_DATA: CellData[][] = [
[
{
diff --git a/docs/app/routes/docs/utilities/use-resize.mdx b/docs/app/routes/docs/utilities/use-resize.mdx
index 8acf97220d..23c6b6e7b7 100644
--- a/docs/app/routes/docs/utilities/use-resize.mdx
+++ b/docs/app/routes/docs/utilities/use-resize.mdx
@@ -33,9 +33,9 @@ function MyComponent() {
## Reference
import { TablesConfiguration } from '~/components/Tables/TablesConfig'
-import { USE_SCROLL_CONFIG_DATA } from '~/data/fixtures'
+import { USE_RESIZE_CONFIG_DATA } from '~/data/fixtures'
-
+
## Typescript
diff --git a/packages/core/src/hooks/useResize.ts b/packages/core/src/hooks/useResize.ts
index 2c696a50df..c5b4c2c06b 100644
--- a/packages/core/src/hooks/useResize.ts
+++ b/packages/core/src/hooks/useResize.ts
@@ -6,7 +6,7 @@ import { SpringProps, SpringValues } from '../types'
import { useSpring } from './useSpring'
export interface UseResizeOptions extends Omit {
- container?: MutableRefObject
+ container?: MutableRefObject
}
/**
diff --git a/turbo.json b/turbo.json
index f956ca337c..a53279cb3d 100644
--- a/turbo.json
+++ b/turbo.json
@@ -2,18 +2,16 @@
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"build": {
- "outputs": ["dist/**"],
+ "outputs": ["dist/**", "public/build/**", "api/**"],
"dependsOn": ["^build"]
},
- "test": {
- "outputs": ["coverage/**"],
- "dependsOn": []
- },
- "lint": {
- "outputs": []
+ "test:unit": {
+ "inputs": ["packages/**/src/**", "targets/**/src/**"]
},
"dev": {
- "cache": false
+ "dependsOn": ["^build"],
+ "cache": false,
+ "persistent": true
},
"clean": {
"cache": false