@twilio-paste/grid
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.5.2](https://github.com/twilio-labs/paste/compare/@twilio-paste/grid@0.5.1...@twilio-paste/grid@0.5.2) (2021-01-07) | ||
**Note:** Version bump only for package @twilio-paste/grid | ||
## [0.5.1](https://github.com/twilio-labs/paste/compare/@twilio-paste/grid@0.5.0...@twilio-paste/grid@0.5.1) (2020-12-17) | ||
@@ -8,0 +16,0 @@ |
import { ResponsiveValue } from '@twilio-paste/styling-library'; | ||
import { Margin } from '@twilio-paste/style-props'; | ||
import { ColumnProps } from './types'; | ||
import { ColumnOffset, ColumnProps, ColumnMinWidth, ColumnWidthSpan } from './types'; | ||
declare type Vertical = ResponsiveValue<boolean>; | ||
export declare const getOuterGutterPull: (gutter?: "space0" | "space10" | "space100" | "space110" | "space120" | "space130" | "space140" | "space150" | "space160" | "space170" | "space180" | "space190" | "space20" | "space200" | "space30" | "space40" | "space50" | "space60" | "space70" | "space80" | "space90" | "spaceNegative10" | "spaceNegative100" | "spaceNegative110" | "spaceNegative120" | "spaceNegative130" | "spaceNegative140" | "spaceNegative150" | "spaceNegative160" | "spaceNegative170" | "spaceNegative180" | "spaceNegative190" | "spaceNegative20" | "spaceNegative200" | "spaceNegative30" | "spaceNegative40" | "spaceNegative50" | "spaceNegative60" | "spaceNegative70" | "spaceNegative80" | "spaceNegative90" | ("space0" | "space10" | "space100" | "space110" | "space120" | "space130" | "space140" | "space150" | "space160" | "space170" | "space180" | "space190" | "space20" | "space200" | "space30" | "space40" | "space50" | "space60" | "space70" | "space80" | "space90" | "spaceNegative10" | "spaceNegative100" | "spaceNegative110" | "spaceNegative120" | "spaceNegative130" | "spaceNegative140" | "spaceNegative150" | "spaceNegative160" | "spaceNegative170" | "spaceNegative180" | "spaceNegative190" | "spaceNegative20" | "spaceNegative200" | "spaceNegative30" | "spaceNegative40" | "spaceNegative50" | "spaceNegative60" | "spaceNegative70" | "spaceNegative80" | "spaceNegative90" | null)[] | { | ||
@@ -8,5 +9,6 @@ [x: string]: "space0" | "space10" | "space100" | "space110" | "space120" | "space130" | "space140" | "space150" | "space160" | "space170" | "space180" | "space190" | "space20" | "space200" | "space30" | "space40" | "space50" | "space60" | "space70" | "space80" | "space90" | "spaceNegative10" | "spaceNegative100" | "spaceNegative110" | "spaceNegative120" | "spaceNegative130" | "spaceNegative140" | "spaceNegative150" | "spaceNegative160" | "spaceNegative170" | "spaceNegative180" | "spaceNegative190" | "spaceNegative20" | "spaceNegative200" | "spaceNegative30" | "spaceNegative40" | "spaceNegative50" | "spaceNegative60" | "spaceNegative70" | "spaceNegative80" | "spaceNegative90" | undefined; | ||
} | null | undefined) => Margin; | ||
export declare const getStackedColumns: (vertical: ResponsiveValue<boolean, Required<import("styled-system").Theme<string | number>>>) => ResponsiveValue<"100%" | "0", Required<import("styled-system").Theme<string | number>>>; | ||
export declare const getColumnSpan: ({ count, span }: ColumnProps) => ResponsiveValue<string, Required<import("styled-system").Theme<string | number>>>; | ||
export declare const getColumnOffset: (offset: ResponsiveValue<number, Required<import("styled-system").Theme<string | number>>>) => ResponsiveValue<string, Required<import("styled-system").Theme<string | number>>>; | ||
export declare const getStackedColumns: (vertical: Vertical) => ColumnMinWidth; | ||
export declare const getColumnSpan: ({ count, span }: ColumnProps) => ColumnWidthSpan; | ||
export declare const getColumnOffset: (offset: ColumnOffset) => ResponsiveValue<string>; | ||
export {}; | ||
//# sourceMappingURL=utils.d.ts.map |
{ | ||
"name": "@twilio-paste/grid", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
37228
92