@wistia/ui 0.18.18-beta.f646dff0.af8ca00 → 0.18.18-beta.fba14250.ac46dfb

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.d.mts CHANGED
@@ -1723,20 +1723,28 @@ type DataCardsProps = ComponentPropsWithoutRef<'div'> & {
1723
1723
  * Should be at least one `DataCard` component
1724
1724
  */
1725
1725
  children: ReactNode;
1726
+ /**
1727
+ * String to pass to the `min-width` property of its children. [View the syntax on MDN →](https://developer.mozilla.org/en-US/docs/Web/CSS/min-width#syntax)
1728
+ */
1729
+ cardMinWidth?: ResponsiveObject<string> | string;
1726
1730
  /**
1727
1731
  * 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
1732
  */
1729
- cardMaxWidth?: string;
1733
+ cardMaxWidth?: ResponsiveObject<string> | string;
1730
1734
  /**
1731
1735
  * Sets the color scheme of the cards, can be overriden at the card level
1732
1736
  */
1733
1737
  colorScheme?: ColorSchemeTypes;
1738
+ /**
1739
+ * Desired number of columns to display.
1740
+ */
1741
+ columns?: ResponsiveObject<number | 'auto'> | number | 'auto';
1734
1742
  };
1735
1743
  /**
1736
1744
  * Displays a series of cards tailor made for displaying analytics data
1737
1745
  */
1738
1746
  declare const DataCards: {
1739
- ({ children, cardMaxWidth, colorScheme, ...props }: DataCardsProps): JSX.Element;
1747
+ ({ children, cardMinWidth, cardMaxWidth, colorScheme, columns, ...props }: DataCardsProps): JSX.Element;
1740
1748
  displayName: string;
1741
1749
  };
1742
1750
 
package/dist/index.d.ts CHANGED
@@ -1723,20 +1723,28 @@ type DataCardsProps = ComponentPropsWithoutRef<'div'> & {
1723
1723
  * Should be at least one `DataCard` component
1724
1724
  */
1725
1725
  children: ReactNode;
1726
+ /**
1727
+ * String to pass to the `min-width` property of its children. [View the syntax on MDN →](https://developer.mozilla.org/en-US/docs/Web/CSS/min-width#syntax)
1728
+ */
1729
+ cardMinWidth?: ResponsiveObject<string> | string;
1726
1730
  /**
1727
1731
  * 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
1732
  */
1729
- cardMaxWidth?: string;
1733
+ cardMaxWidth?: ResponsiveObject<string> | string;
1730
1734
  /**
1731
1735
  * Sets the color scheme of the cards, can be overriden at the card level
1732
1736
  */
1733
1737
  colorScheme?: ColorSchemeTypes;
1738
+ /**
1739
+ * Desired number of columns to display.
1740
+ */
1741
+ columns?: ResponsiveObject<number | 'auto'> | number | 'auto';
1734
1742
  };
1735
1743
  /**
1736
1744
  * Displays a series of cards tailor made for displaying analytics data
1737
1745
  */
1738
1746
  declare const DataCards: {
1739
- ({ children, cardMaxWidth, colorScheme, ...props }: DataCardsProps): JSX.Element;
1747
+ ({ children, cardMinWidth, cardMaxWidth, colorScheme, columns, ...props }: DataCardsProps): JSX.Element;
1740
1748
  displayName: string;
1741
1749
  };
1742
1750