From 7516ef5dae03b0b9f645d9eb4dd88c4521ffb0f2 Mon Sep 17 00:00:00 2001 From: Josh <37798644+joshuaellis@users.noreply.github.com> Date: Fri, 17 Mar 2023 10:58:02 +0000 Subject: [PATCH 1/3] chore: update turbo --- turbo.json | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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 From 452423666207d1dee02e2ac8349b9a8d70d527b6 Mon Sep 17 00:00:00 2001 From: Marvin Date: Fri, 17 Mar 2023 03:58:39 -0700 Subject: [PATCH 2/3] docs(fix): Fix homepage by removing unclosed and unused tags (#2120) --- docs/app/components/HomeBlocks/HomeBlockMore.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = [
</Dialog.Root>
)
} -
`, - `
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'
From 32c4b34b852a76f9a5a73a52005ee74df263f335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Go=C3=9Fe?= Date: Fri, 17 Mar 2023 11:59:18 +0100 Subject: [PATCH 3/3] fix: allow container ref with null and undefined for useResize (#2091) --- docs/app/data/fixtures.tsx | 8 ++++++++ docs/app/routes/docs/utilities/use-resize.mdx | 4 ++-- packages/core/src/hooks/useResize.ts | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) 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 } /**