@wistia/ui 0.18.18-beta.718b4f5b.dc3bc8e → 0.18.18-beta.ab8816f1.f832860
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 +63 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -8
- package/dist/index.d.ts +4 -8
- package/dist/index.mjs +126 -102
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -581,7 +581,7 @@ type BadgeProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
581
581
|
/**
|
|
582
582
|
* Optional `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
|
|
583
583
|
*/
|
|
584
|
-
icon?: JSX.Element;
|
|
584
|
+
icon?: JSX.Element | undefined;
|
|
585
585
|
/**
|
|
586
586
|
* The text to display in the `Badge`
|
|
587
587
|
*/
|
|
@@ -602,7 +602,7 @@ declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProp
|
|
|
602
602
|
/**
|
|
603
603
|
* Optional `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
|
|
604
604
|
*/
|
|
605
|
-
icon?: JSX.Element;
|
|
605
|
+
icon?: JSX.Element | undefined;
|
|
606
606
|
/**
|
|
607
607
|
* The text to display in the `Badge`
|
|
608
608
|
*/
|
|
@@ -1726,21 +1726,17 @@ 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?:
|
|
1729
|
+
cardMaxWidth?: 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';
|
|
1738
1734
|
};
|
|
1739
1735
|
/**
|
|
1740
1736
|
* Displays a series of cards tailor made for displaying analytics data
|
|
1741
1737
|
*/
|
|
1742
1738
|
declare const DataCards: {
|
|
1743
|
-
({ children, cardMaxWidth, colorScheme,
|
|
1739
|
+
({ children, cardMaxWidth, colorScheme, ...props }: DataCardsProps): JSX.Element;
|
|
1744
1740
|
displayName: string;
|
|
1745
1741
|
};
|
|
1746
1742
|
|
package/dist/index.d.ts
CHANGED
|
@@ -581,7 +581,7 @@ type BadgeProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
581
581
|
/**
|
|
582
582
|
* Optional `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
|
|
583
583
|
*/
|
|
584
|
-
icon?: JSX.Element;
|
|
584
|
+
icon?: JSX.Element | undefined;
|
|
585
585
|
/**
|
|
586
586
|
* The text to display in the `Badge`
|
|
587
587
|
*/
|
|
@@ -602,7 +602,7 @@ declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProp
|
|
|
602
602
|
/**
|
|
603
603
|
* Optional `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
|
|
604
604
|
*/
|
|
605
|
-
icon?: JSX.Element;
|
|
605
|
+
icon?: JSX.Element | undefined;
|
|
606
606
|
/**
|
|
607
607
|
* The text to display in the `Badge`
|
|
608
608
|
*/
|
|
@@ -1726,21 +1726,17 @@ 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?:
|
|
1729
|
+
cardMaxWidth?: 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';
|
|
1738
1734
|
};
|
|
1739
1735
|
/**
|
|
1740
1736
|
* Displays a series of cards tailor made for displaying analytics data
|
|
1741
1737
|
*/
|
|
1742
1738
|
declare const DataCards: {
|
|
1743
|
-
({ children, cardMaxWidth, colorScheme,
|
|
1739
|
+
({ children, cardMaxWidth, colorScheme, ...props }: DataCardsProps): JSX.Element;
|
|
1744
1740
|
displayName: string;
|
|
1745
1741
|
};
|
|
1746
1742
|
|