@wistia/ui 0.9.1 → 0.9.2-beta.e562f7d7.1a8cf9b

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
@@ -1083,7 +1083,7 @@ type CollapsibleContentProps = {
1083
1083
  };
1084
1084
  declare const CollapsibleContent: ({ clamp, children }: CollapsibleContentProps) => react_jsx_runtime.JSX.Element;
1085
1085
 
1086
- type DataCardProps = ComponentPropsWithoutRef<'div'> & {
1086
+ type DataCardProps = ComponentPropsWithoutRef<'div'> & Partial<Pick<ButtonAsLinkProps, 'beforeAction' | 'disabled' | 'href' | 'onClick' | 'type'>> & {
1087
1087
  /**
1088
1088
  * Label text displayed above the value
1089
1089
  */
@@ -1109,11 +1109,8 @@ type DataCardProps = ComponentPropsWithoutRef<'div'> & {
1109
1109
  */
1110
1110
  trend?: JSX.Element;
1111
1111
  };
1112
- /**
1113
- * A single DataCard for use in the DataCards component
1114
- */
1115
1112
  declare const DataCard: {
1116
- ({ label, value, upperRightSlot, colorScheme, isLoading, trend, ...props }: DataCardProps): JSX.Element;
1113
+ (props: DataCardProps): react_jsx_runtime.JSX.Element;
1117
1114
  displayName: string;
1118
1115
  };
1119
1116
 
package/dist/index.d.ts CHANGED
@@ -1083,7 +1083,7 @@ type CollapsibleContentProps = {
1083
1083
  };
1084
1084
  declare const CollapsibleContent: ({ clamp, children }: CollapsibleContentProps) => react_jsx_runtime.JSX.Element;
1085
1085
 
1086
- type DataCardProps = ComponentPropsWithoutRef<'div'> & {
1086
+ type DataCardProps = ComponentPropsWithoutRef<'div'> & Partial<Pick<ButtonAsLinkProps, 'beforeAction' | 'disabled' | 'href' | 'onClick' | 'type'>> & {
1087
1087
  /**
1088
1088
  * Label text displayed above the value
1089
1089
  */
@@ -1109,11 +1109,8 @@ type DataCardProps = ComponentPropsWithoutRef<'div'> & {
1109
1109
  */
1110
1110
  trend?: JSX.Element;
1111
1111
  };
1112
- /**
1113
- * A single DataCard for use in the DataCards component
1114
- */
1115
1112
  declare const DataCard: {
1116
- ({ label, value, upperRightSlot, colorScheme, isLoading, trend, ...props }: DataCardProps): JSX.Element;
1113
+ (props: DataCardProps): react_jsx_runtime.JSX.Element;
1117
1114
  displayName: string;
1118
1115
  };
1119
1116