@wistia/ui 0.18.18 → 0.19.0-beta.d1967016.e87d448
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 +77 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.mjs +140 -92
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1726,17 +1726,21 @@ type DataCardsProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
1726
1726
|
/**
|
|
1727
1727
|
* String to pass to the `max-width` property of its children. [View the syntax on MDN →](https://developer.mozilla.org/en-US/docs/Web/CSS/max-width#syntax)
|
|
1728
1728
|
*/
|
|
1729
|
-
cardMaxWidth?: string;
|
|
1729
|
+
cardMaxWidth?: ResponsiveObject<string> | string;
|
|
1730
1730
|
/**
|
|
1731
1731
|
* Sets the color scheme of the cards, can be overriden at the card level
|
|
1732
1732
|
*/
|
|
1733
1733
|
colorScheme?: ColorSchemeTypes;
|
|
1734
|
+
/**
|
|
1735
|
+
* Desired number of columns to display.
|
|
1736
|
+
*/
|
|
1737
|
+
columns?: ResponsiveObject<number | 'auto'> | number | 'auto';
|
|
1734
1738
|
};
|
|
1735
1739
|
/**
|
|
1736
1740
|
* Displays a series of cards tailor made for displaying analytics data
|
|
1737
1741
|
*/
|
|
1738
1742
|
declare const DataCards: {
|
|
1739
|
-
({ children, cardMaxWidth, colorScheme, ...props }: DataCardsProps): JSX.Element;
|
|
1743
|
+
({ children, cardMaxWidth, colorScheme, columns, ...props }: DataCardsProps): JSX.Element;
|
|
1740
1744
|
displayName: string;
|
|
1741
1745
|
};
|
|
1742
1746
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1726,17 +1726,21 @@ type DataCardsProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
1726
1726
|
/**
|
|
1727
1727
|
* String to pass to the `max-width` property of its children. [View the syntax on MDN →](https://developer.mozilla.org/en-US/docs/Web/CSS/max-width#syntax)
|
|
1728
1728
|
*/
|
|
1729
|
-
cardMaxWidth?: string;
|
|
1729
|
+
cardMaxWidth?: ResponsiveObject<string> | string;
|
|
1730
1730
|
/**
|
|
1731
1731
|
* Sets the color scheme of the cards, can be overriden at the card level
|
|
1732
1732
|
*/
|
|
1733
1733
|
colorScheme?: ColorSchemeTypes;
|
|
1734
|
+
/**
|
|
1735
|
+
* Desired number of columns to display.
|
|
1736
|
+
*/
|
|
1737
|
+
columns?: ResponsiveObject<number | 'auto'> | number | 'auto';
|
|
1734
1738
|
};
|
|
1735
1739
|
/**
|
|
1736
1740
|
* Displays a series of cards tailor made for displaying analytics data
|
|
1737
1741
|
*/
|
|
1738
1742
|
declare const DataCards: {
|
|
1739
|
-
({ children, cardMaxWidth, colorScheme, ...props }: DataCardsProps): JSX.Element;
|
|
1743
|
+
({ children, cardMaxWidth, colorScheme, columns, ...props }: DataCardsProps): JSX.Element;
|
|
1740
1744
|
displayName: string;
|
|
1741
1745
|
};
|
|
1742
1746
|
|