@twilio-paste/flex
Advanced tools
Comparing version 0.4.5 to 0.4.6
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.4.6](https://github.com/twilio-labs/paste/compare/@twilio-paste/flex@0.4.5...@twilio-paste/flex@0.4.6) (2021-01-07) | ||
**Note:** Version bump only for package @twilio-paste/flex | ||
## [0.4.5](https://github.com/twilio-labs/paste/compare/@twilio-paste/flex@0.4.4...@twilio-paste/flex@0.4.5) (2020-12-17) | ||
@@ -8,0 +16,0 @@ |
@@ -1,13 +0,20 @@ | ||
import { FlexProps } from './types'; | ||
import { ValueOf } from '@twilio-paste/types'; | ||
import { Basis, FlexProps } from './types'; | ||
export declare const getGrow: ({ grow }: FlexProps) => number | number[]; | ||
export declare const getShrink: ({ shrink, basis }: FlexProps) => number | number[]; | ||
export declare const getSuffix: (item: import("styled-system").ResponsiveValue<string | number, Required<import("styled-system").Theme<string | number>>>) => string; | ||
export declare const getSuffix: (item: Basis) => string; | ||
export declare const getBasis: ({ basis }: FlexProps) => string | string[]; | ||
declare type GetVerticalReturn = 'column' | 'row'; | ||
export declare const getVertical: ({ vertical }: FlexProps) => "column" | "row" | GetVerticalReturn[]; | ||
export declare const getVertical: ({ vertical }: FlexProps) => GetVerticalReturn | GetVerticalReturn[]; | ||
declare type GetWrapReturn = 'wrap' | 'nowrap'; | ||
export declare const getWrap: ({ wrap }: FlexProps) => "wrap" | "nowrap" | GetWrapReturn[]; | ||
export declare const vAlignToProps: ({ vAlignContent, }: FlexProps) => "flex-start" | "center" | "flex-end" | "stretch" | ("flex-start" | "center" | "flex-end" | "stretch")[]; | ||
export declare const getWrap: ({ wrap }: FlexProps) => GetWrapReturn | GetWrapReturn[]; | ||
declare const RemapedVerticalAlignments: { | ||
readonly top: "flex-start"; | ||
readonly center: "center"; | ||
readonly bottom: "flex-end"; | ||
readonly stretch: "stretch"; | ||
}; | ||
export declare const vAlignToProps: ({ vAlignContent, }: FlexProps) => ValueOf<typeof RemapedVerticalAlignments> | ValueOf<typeof RemapedVerticalAlignments>[]; | ||
export declare const hAlignToProps: ({ hAlignContent }: FlexProps) => any; | ||
export {}; | ||
//# sourceMappingURL=helpers.d.ts.map |
{ | ||
"name": "@twilio-paste/flex", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"category": "layout", | ||
@@ -29,7 +29,7 @@ "status": "beta", | ||
"peerDependencies": { | ||
"@twilio-paste/box": "^2.12.0", | ||
"@twilio-paste/design-tokens": "^6.3.7", | ||
"@twilio-paste/style-props": "^1.8.13", | ||
"@twilio-paste/box": "^2.12.1", | ||
"@twilio-paste/design-tokens": "^6.4.0", | ||
"@twilio-paste/style-props": "^1.8.14", | ||
"@twilio-paste/styling-library": "^0.2.0", | ||
"@twilio-paste/theme": "^4.0.1", | ||
"@twilio-paste/theme": "^4.1.0", | ||
"@twilio-paste/types": "^3.0.30", | ||
@@ -41,10 +41,10 @@ "prop-types": "^15.7.2", | ||
"devDependencies": { | ||
"@twilio-paste/box": "^2.12.1", | ||
"@twilio-paste/design-tokens": "^6.4.0", | ||
"@twilio-paste/style-props": "^1.8.14", | ||
"@twilio-paste/styling-library": "^0.2.0", | ||
"@twilio-paste/theme": "^4.1.0", | ||
"@twilio-paste/box": "^2.12.2", | ||
"@twilio-paste/design-tokens": "^6.4.1", | ||
"@twilio-paste/style-props": "^1.8.15", | ||
"@twilio-paste/styling-library": "^0.2.1", | ||
"@twilio-paste/theme": "^4.1.1", | ||
"@twilio-paste/types": "^3.0.30" | ||
}, | ||
"gitHead": "94d11cb547b67ddba279826bc1caeb791480a569" | ||
"gitHead": "e8d1579e91db9643cb01eae0dab9fcc1d79992e1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33112
84