-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! fixup! fixup! fixup! fixup! Rename JavaScript files to TypeScr…
…ipt files
- Loading branch information
radek.stary
committed
Apr 28, 2023
1 parent
fa713b8
commit 516cbc4
Showing
38 changed files
with
2,001 additions
and
1,588 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare module '*.css'; | ||
declare module '*.scss'; |
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,31 @@ | ||
declare type Color = 'primary' | 'secondary' | 'selected' | 'success' | 'warning' | 'danger' | 'help' | 'info' | 'note' | 'light' | 'dark'; | ||
declare type Scrolling = 'auto' | 'custom' | 'none'; | ||
declare type Type = 'button' | 'submit'; | ||
declare type Align = 'top' | 'middle' | 'bottom' | 'baseline'; | ||
declare type Justify = 'start' | 'center' | 'end' | 'space-between' | 'stretch'; | ||
declare type InputType = 'email' | 'number' | 'password' | 'tel' | 'text'; | ||
declare type Breakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'x2l' | 'x3l' | 'none'; | ||
declare type Priority = 'filled' | 'outline' | 'flat'; | ||
declare type Size = 'small' | 'medium' | 'large'; | ||
declare type Position = 'before' | 'after'; | ||
declare type Validation = 'invalid' | 'valid' | 'warning'; | ||
declare type Layout = 'horizontal' | 'vertical'; | ||
declare type Placement = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'; | ||
declare type AutoScroll = 'always' | 'detectEnd' | 'off'; | ||
declare type Direction = 'asc' | 'desc'; | ||
declare type Hyphens = 'none' | 'auto' | 'manual'; | ||
declare type WordWrapping = 'normal' | 'long-words' | 'anywhere'; | ||
declare type VerticalModalPosition = 'top' | 'center'; | ||
|
||
declare type PredefinedLabelWidthValues = 'auto' | 'default' | 'limited'; | ||
|
||
// Test types | ||
|
||
declare type AssertFn = (rootElement: HTMLElement) => void; | ||
|
||
declare interface NonMandatoryProps { | ||
[key: string]: unknown; | ||
} | ||
|
||
declare type TestingProps = [nonMandatoryProps, AssertFn]; | ||
|
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.