From 4c154a201f9f535996d613d076e4148aff4f1867 Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Fri, 21 Nov 2025 13:56:35 -0800 Subject: [PATCH 1/2] fix: ts-fork-point github ssh error (#9226) * fix: ts-fork-point github ssh error * no known_hosts at all? * wtf * ...ok --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c2b8ad22988..953bf7bb03c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -380,6 +380,8 @@ jobs: - run: name: build fork-point apis command: | + mkdir -p ~/.ssh + curl -L https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >> ~/.ssh/known_hosts yarn build:api-branch --githash="origin/main" --output="base-api" && yarn build:api-branch && yarn compare:apis - persist_to_workspace: From 76eb2e71246be5b5636ca36856f9fcae4ccb6ca7 Mon Sep 17 00:00:00 2001 From: Robert Snow Date: Sat, 22 Nov 2025 09:24:49 +1100 Subject: [PATCH 2/2] fix: Docs examples (#9190) * fix: new docs bug followup * fix scaling of placement picker --- package.json | 5 +---- packages/dev/s2-docs/pages/s2/DateField.mdx | 2 +- packages/dev/s2-docs/src/VisualExampleClient.tsx | 4 ++-- starters/docs/src/DateField.css | 2 ++ starters/tailwind/src/DateField.tsx | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 9bedcbadf33..f77ecdaec3e 100644 --- a/package.json +++ b/package.json @@ -274,8 +274,5 @@ ] } ] - }, - "locales": [ - "en-US" - ] + } } diff --git a/packages/dev/s2-docs/pages/s2/DateField.mdx b/packages/dev/s2-docs/pages/s2/DateField.mdx index 9d88a4e60a8..f20afb4c5b0 100644 --- a/packages/dev/s2-docs/pages/s2/DateField.mdx +++ b/packages/dev/s2-docs/pages/s2/DateField.mdx @@ -32,7 +32,7 @@ import {useState} from 'react'; function Example() { let [date, setDate] = useState(parseDate('2020-02-03')); let formatter = useDateFormatter({ dateStyle: 'full' }); - + return ( <> diff --git a/starters/docs/src/DateField.css b/starters/docs/src/DateField.css index 4d78ed363aa..bd77ef98d74 100644 --- a/starters/docs/src/DateField.css +++ b/starters/docs/src/DateField.css @@ -20,6 +20,8 @@ white-space: nowrap; forced-color-adjust: none; cursor: text; + overflow-x: auto; + scrollbar-width: none; &[data-focus-within] { outline: 2px solid var(--focus-ring-color); diff --git a/starters/tailwind/src/DateField.tsx b/starters/tailwind/src/DateField.tsx index 24d16712e79..6b5dd4da5bf 100644 --- a/starters/tailwind/src/DateField.tsx +++ b/starters/tailwind/src/DateField.tsx @@ -49,7 +49,7 @@ const segmentStyles = tv({ export function DateInput(props: Omit) { return ( - fieldGroupStyles({...renderProps, class: 'block min-w-[150px] px-2 py-1.5 text-sm font-sans'})} {...props}> + fieldGroupStyles({...renderProps, class: 'inline min-w-[150px] px-2 py-1.5 text-sm font-sans whitespace-nowrap overflow-x-auto [scrollbar-width:none]'})} {...props}> {(segment) => } );