mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Merge pull request #28697 from Lavoaster/styled-system/3.0.3
styled-system: Upgrade to 3.0.3
This commit is contained in:
35
types/styled-system/dist/styles.d.ts
vendored
35
types/styled-system/dist/styles.d.ts
vendored
@@ -98,6 +98,13 @@ export interface FontWeightProps {
|
||||
|
||||
export function fontWeight(...args: any[]): any;
|
||||
|
||||
export type FontStyleValue = string;
|
||||
export type ResponsiveFontStyleValue = ResponsiveValue<FontStyleValue>;
|
||||
export interface FontStyleProps {
|
||||
fontStyle?: ResponsiveFontStyleValue;
|
||||
}
|
||||
export function fontStyle(...args: any[]): any;
|
||||
|
||||
export type LetterSpacingValue = number | string;
|
||||
export type ResponsiveLetterSpacingValue = ResponsiveValue<LetterSpacingValue>;
|
||||
export interface LetterSpacingProps {
|
||||
@@ -258,6 +265,14 @@ export interface AlignContentProps {
|
||||
|
||||
export function alignContent(...args: any[]): any;
|
||||
|
||||
export type JustifyItemsValue = string;
|
||||
export type ResponsiveJustifyItemsValue = ResponsiveValue<JustifyItemsValue>;
|
||||
|
||||
export interface JustifyItemsProps {
|
||||
justifyItems?: ResponsiveJustifyItemsValue;
|
||||
}
|
||||
export function alignContent(...args: any[]): any;
|
||||
|
||||
export type JustifyContentValue =
|
||||
| "center"
|
||||
| "start"
|
||||
@@ -477,6 +492,18 @@ export interface GridTemplatesRowsProps {
|
||||
|
||||
export function gridTemplateRows(...args: any[]): any;
|
||||
|
||||
export interface GridTemplatesAreasProps {
|
||||
gridTemplateAreas?: ResponsiveGridTemplateValue;
|
||||
}
|
||||
|
||||
export function gridTemplateAreas(...args: any[]): any;
|
||||
|
||||
export interface GridAreaProps {
|
||||
gridArea?: ResponsiveGridTemplateValue;
|
||||
}
|
||||
|
||||
export function gridArea(...args: any[]): any;
|
||||
|
||||
/**
|
||||
* Borders
|
||||
*/
|
||||
@@ -554,6 +581,14 @@ export interface OpacityProps {
|
||||
|
||||
export function opacity(...arg: any[]): any;
|
||||
|
||||
export type OverflowValue = string | number;
|
||||
export type ResponsiveOverflowValue = ResponsiveValue<OverflowValue>;
|
||||
|
||||
export interface OverflowProps {
|
||||
overflow?: ResponsiveOverflowValue;
|
||||
}
|
||||
|
||||
export function overflow(...arg: any[]): any;
|
||||
/**
|
||||
* Background
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user