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

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