-
Notifications
You must be signed in to change notification settings - Fork 10
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 feature/1364
- Loading branch information
Showing
13 changed files
with
221 additions
and
77 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
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,46 @@ | ||
import * as React from 'react'; | ||
|
||
export interface IInputIcon { | ||
source: React.ReactElement; | ||
place: 'left' | 'right'; | ||
} | ||
|
||
export interface IInputGlobalProps | ||
extends React.InputHTMLAttributes<HTMLInputElement> { | ||
/** | ||
* Specify whether the input should be in error state | ||
*/ | ||
error?: boolean; | ||
/** | ||
* Specify whether the input should be disabled | ||
*/ | ||
disabled?: boolean; | ||
/** | ||
* Set the icon and its position | ||
*/ | ||
icon?: IInputIcon; | ||
/** | ||
* Set to enable ellipsis | ||
*/ | ||
cropOnBlur?: boolean; | ||
} | ||
|
||
export interface IInputProps extends IInputGlobalProps { | ||
/** | ||
* Specify the input size | ||
*/ | ||
inputSize?: 'xsmall' | 'compact' | 'medium' | 'large'; | ||
} | ||
|
||
export interface IInputPromoProps extends IInputGlobalProps {} | ||
|
||
export interface IInputComponentProps extends IInputGlobalProps { | ||
/** | ||
* CSS class name for the main input wrapper | ||
*/ | ||
mainClassName: string; | ||
/** | ||
* Set to display promo input | ||
*/ | ||
isPromo?: boolean; | ||
} |
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 |
---|---|---|
@@ -1,8 +1,4 @@ | ||
:root, | ||
.lc-legacy-theme { | ||
--color-scheme: normal; | ||
} | ||
|
||
.lc-light-theme { | ||
--color-scheme: normal; | ||
} | ||
|
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.