@wistia/vhs 2.76.5 → 2.76.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Spacings } from '@wistia/vhs-design-tokens';
|
|
2
1
|
import type { ElementType, ComponentPropsWithoutRef, PropsWithChildren } from 'react';
|
|
2
|
+
import { type DefaultTheme } from 'styled-components';
|
|
3
3
|
export type StackProps<T extends ElementType> = ComponentPropsWithoutRef<T> & PropsWithChildren & {
|
|
4
4
|
/**
|
|
5
5
|
* The gap between each item in the stack. Should be one of the spacing values from the theme
|
|
6
6
|
*/
|
|
7
|
-
gap?: keyof
|
|
7
|
+
gap?: keyof DefaultTheme['spacing'];
|
|
8
8
|
/**
|
|
9
9
|
* Vertical is equivalent to `flex-direction: column;`, horizontal is equivalent to `flex-direction: row;`.
|
|
10
10
|
* The default behavior is `vertical`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,WAAW,EACX,wBAAwB,EACxB,iBAAiB,EAElB,MAAM,OAAO,CAAC;AAEf,OAAe,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE9D,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,WAAW,IAAI,wBAAwB,CAAC,CAAC,CAAC,GACzE,iBAAiB,GAAG;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,YAAY,CAAC,SAAS,CAAC,CAAC;IACpC;;;OAGG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC;CACtB,CAAC;AAiBJ,eAAO,MAAM,KAAK,iIAejB,CAAC"}
|