-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'webforms' into oy2-26378
- Loading branch information
Showing
34 changed files
with
259 additions
and
312 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
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,45 @@ | ||
import { DayPicker } from "react-day-picker"; | ||
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group"; | ||
import * as SwitchPrimitives from "@radix-ui/react-switch"; | ||
import * as SelectPrimitive from "@radix-ui/react-select"; | ||
|
||
export type CalendarProps = React.ComponentProps<typeof DayPicker> & { | ||
className?: string; | ||
classNames?: any; | ||
showOutsideDays?: boolean; | ||
}; | ||
|
||
export type DatePickerProps = { | ||
date: Date | undefined; | ||
onChange: (date: Date | undefined) => void; | ||
}; | ||
|
||
export interface InputProps | ||
extends React.InputHTMLAttributes<HTMLInputElement> { | ||
icon?: string; | ||
} | ||
|
||
export type RadioProps = React.ComponentPropsWithoutRef< | ||
typeof RadioGroupPrimitive.Root | ||
> & { | ||
className?: string; | ||
}; | ||
|
||
export type SelectProps = React.ComponentPropsWithoutRef< | ||
typeof SelectPrimitive.Root | ||
> & { | ||
options: { label: string; value: any }[]; | ||
className?: string; | ||
}; | ||
|
||
export type SwitchProps = React.ComponentPropsWithoutRef< | ||
typeof SwitchPrimitives.Root | ||
> & { | ||
className?: string; | ||
}; | ||
|
||
export interface TextareaProps | ||
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> { | ||
charcount?: "simple" | "limited"; | ||
charcountstyling?: string; | ||
} |
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
}, | ||
"version": "0.0.0", | ||
"scripts": { | ||
"build": "tsc", | ||
"lint": "eslint '**/*.{ts,js}'" | ||
} | ||
} |
Oops, something went wrong.