@wistia/ui 0.8.11 → 0.8.12
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1612,7 +1612,7 @@ type IconProps = ComponentPropsWithoutRef<'svg'> & {
|
|
|
1612
1612
|
/**
|
|
1613
1613
|
* The size of the icon to display
|
|
1614
1614
|
*/
|
|
1615
|
-
size?: keyof typeof iconSizeMap;
|
|
1615
|
+
size?: ResponsiveObject<keyof typeof iconSizeMap> | keyof typeof iconSizeMap;
|
|
1616
1616
|
/**
|
|
1617
1617
|
* @ignore
|
|
1618
1618
|
*/
|
|
@@ -2703,18 +2703,21 @@ type StackProps = {
|
|
|
2703
2703
|
/**
|
|
2704
2704
|
* The gap between each item in the stack. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
|
|
2705
2705
|
* TODO: add link to Spacing docs
|
|
2706
|
+
*
|
|
2706
2707
|
*/
|
|
2707
|
-
gap?: Spacings;
|
|
2708
|
+
gap?: ResponsiveObject<Spacings> | Spacings;
|
|
2708
2709
|
/**
|
|
2709
2710
|
* Vertical is equivalent to `flex-direction: column;`, horizontal is equivalent to `flex-direction: row;`.
|
|
2710
2711
|
* The default behavior is `vertical`. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
|
|
2711
2712
|
*/
|
|
2712
|
-
direction?: 'horizontal' | 'vertical';
|
|
2713
|
+
direction?: ResponsiveObject<'horizontal' | 'vertical'> | 'horizontal' | 'vertical';
|
|
2713
2714
|
/**
|
|
2714
2715
|
* Controls how items are aligned along the cross-axis.
|
|
2715
2716
|
* Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
|
|
2717
|
+
*
|
|
2718
|
+
* @type 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch' | ResponsiveObject<'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch'>
|
|
2716
2719
|
*/
|
|
2717
|
-
alignItems?: AlignItemsType
|
|
2720
|
+
alignItems?: AlignItemsType | ResponsiveObject<AlignItemsType>;
|
|
2718
2721
|
renderAs?: ElementType;
|
|
2719
2722
|
};
|
|
2720
2723
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1612,7 +1612,7 @@ type IconProps = ComponentPropsWithoutRef<'svg'> & {
|
|
|
1612
1612
|
/**
|
|
1613
1613
|
* The size of the icon to display
|
|
1614
1614
|
*/
|
|
1615
|
-
size?: keyof typeof iconSizeMap;
|
|
1615
|
+
size?: ResponsiveObject<keyof typeof iconSizeMap> | keyof typeof iconSizeMap;
|
|
1616
1616
|
/**
|
|
1617
1617
|
* @ignore
|
|
1618
1618
|
*/
|
|
@@ -2703,18 +2703,21 @@ type StackProps = {
|
|
|
2703
2703
|
/**
|
|
2704
2704
|
* The gap between each item in the stack. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
|
|
2705
2705
|
* TODO: add link to Spacing docs
|
|
2706
|
+
*
|
|
2706
2707
|
*/
|
|
2707
|
-
gap?: Spacings;
|
|
2708
|
+
gap?: ResponsiveObject<Spacings> | Spacings;
|
|
2708
2709
|
/**
|
|
2709
2710
|
* Vertical is equivalent to `flex-direction: column;`, horizontal is equivalent to `flex-direction: row;`.
|
|
2710
2711
|
* The default behavior is `vertical`. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
|
|
2711
2712
|
*/
|
|
2712
|
-
direction?: 'horizontal' | 'vertical';
|
|
2713
|
+
direction?: ResponsiveObject<'horizontal' | 'vertical'> | 'horizontal' | 'vertical';
|
|
2713
2714
|
/**
|
|
2714
2715
|
* Controls how items are aligned along the cross-axis.
|
|
2715
2716
|
* Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
|
|
2717
|
+
*
|
|
2718
|
+
* @type 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch' | ResponsiveObject<'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch'>
|
|
2716
2719
|
*/
|
|
2717
|
-
alignItems?: AlignItemsType
|
|
2720
|
+
alignItems?: AlignItemsType | ResponsiveObject<AlignItemsType>;
|
|
2718
2721
|
renderAs?: ElementType;
|
|
2719
2722
|
};
|
|
2720
2723
|
/**
|