@wistia/ui 0.13.3 → 0.13.4-beta.055fd582.3ad4a4e
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 +111 -92
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.mjs +112 -93
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1598,10 +1598,18 @@ type DataCardProps = ComponentPropsWithoutRef<'div'> & Partial<Pick<ButtonAsLink
|
|
|
1598
1598
|
* Controls the loading state of the card
|
|
1599
1599
|
*/
|
|
1600
1600
|
isLoading?: boolean;
|
|
1601
|
+
/**
|
|
1602
|
+
* Forces a full page reload when navigating, bypassing client-side routing
|
|
1603
|
+
*/
|
|
1604
|
+
reloadDocument?: boolean;
|
|
1601
1605
|
/**
|
|
1602
1606
|
* Optional trend arrow to display below the value. Use the `DataCardTrend` component to create this.
|
|
1603
1607
|
*/
|
|
1604
1608
|
trend?: JSX.Element;
|
|
1609
|
+
/**
|
|
1610
|
+
* Optional subtitle text to display below the value
|
|
1611
|
+
*/
|
|
1612
|
+
subtitle?: ReactNode;
|
|
1605
1613
|
};
|
|
1606
1614
|
declare const DataCard: {
|
|
1607
1615
|
(props: DataCardProps): react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -1598,10 +1598,18 @@ type DataCardProps = ComponentPropsWithoutRef<'div'> & Partial<Pick<ButtonAsLink
|
|
|
1598
1598
|
* Controls the loading state of the card
|
|
1599
1599
|
*/
|
|
1600
1600
|
isLoading?: boolean;
|
|
1601
|
+
/**
|
|
1602
|
+
* Forces a full page reload when navigating, bypassing client-side routing
|
|
1603
|
+
*/
|
|
1604
|
+
reloadDocument?: boolean;
|
|
1601
1605
|
/**
|
|
1602
1606
|
* Optional trend arrow to display below the value. Use the `DataCardTrend` component to create this.
|
|
1603
1607
|
*/
|
|
1604
1608
|
trend?: JSX.Element;
|
|
1609
|
+
/**
|
|
1610
|
+
* Optional subtitle text to display below the value
|
|
1611
|
+
*/
|
|
1612
|
+
subtitle?: ReactNode;
|
|
1605
1613
|
};
|
|
1606
1614
|
declare const DataCard: {
|
|
1607
1615
|
(props: DataCardProps): react_jsx_runtime.JSX.Element;
|