-
-
Notifications
You must be signed in to change notification settings - Fork 733
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into pr/benasher44/2249
# Conflicts: # package.json # pnpm-lock.yaml
- Loading branch information
Showing
211 changed files
with
5,384 additions
and
5,203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "typescript", | ||
"tsconfig": "tsconfig-esm.json", | ||
"option": "watch", | ||
"problemMatcher": ["$tsc-watch"], | ||
"group": "build", | ||
"label": "tsc: watch - tsconfig-esm.json", | ||
"runOptions": { | ||
"runOn": "folderOpen" | ||
} | ||
}, | ||
{ | ||
"type": "typescript", | ||
"tsconfig": "tsconfig-cjs.json", | ||
"option": "watch", | ||
"problemMatcher": ["$tsc-watch"], | ||
"group": "build", | ||
"label": "tsc: watch - tsconfig-cjs.json", | ||
"runOptions": { | ||
"runOn": "folderOpen" | ||
} | ||
}, | ||
{ | ||
"type": "npm", | ||
"script": "typecheck-watch", | ||
"group": "build", | ||
"problemMatcher": [], | ||
"label": "npm: typecheck-watch", | ||
"detail": "tsc --project ./tsconfig.json --noEmit --watch", | ||
"runOptions": { | ||
"runOn": "folderOpen" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from "react"; | ||
|
||
import { DayPicker } from "react-day-picker"; | ||
|
||
/** Test for the next focus day to not cause an infinite recursion. */ | ||
export function AutoFocus() { | ||
return ( | ||
<div> | ||
<DayPicker autoFocus mode="single" /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ export function ContainerAttributes() { | |
nonce="foo_nonce" | ||
title="foo_title" | ||
lang="it" | ||
mode="multiple" | ||
/> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from "react"; | ||
|
||
import { DayPicker, type DayButtonProps } from "react-day-picker"; | ||
|
||
function HighlightDay(props: DayButtonProps) { | ||
const { day, modifiers, ...buttonProps } = props; | ||
return ( | ||
<button {...buttonProps} style={{ whiteSpace: "nowrap" }}> | ||
{props.day.date.getDate() === 19 ? `🎉` : props.children} | ||
</button> | ||
); | ||
} | ||
|
||
export function CustomDayButton() { | ||
return <DayPicker mode="single" components={{ DayButton: HighlightDay }} />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.