@nuskin/react-mysite-elements 1.6.0-comx-2229.22 → 1.6.0-comx-4544.1

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { DashboardStats, TopProduct, ConversionDataPoint, SignupDataPoint, CategoryRevenue, DateRangeOption, MarketOption, MarketFilterOption, ProductSortOption, SignupViewOption, ConversionFilterOption, CategorySortOption } from './types.d';
2
+ import type { DashboardStats, TopProduct, ConversionDataPoint, SignupDataPoint, CategoryRevenue, DateRangeOption, MarketOption, MarketFilterOption, ProductSortOption, SignupViewOption, ConversionFilterOption, CategorySortOption, OrderHistory } from './types.d';
3
3
  export interface ShoppingDashboardProps {
4
4
  readonly stats?: DashboardStats | null;
5
5
  readonly topProducts?: TopProduct[];
@@ -20,6 +20,7 @@ export interface ShoppingDashboardProps {
20
20
  readonly conversionSummaryChangePct?: number | null;
21
21
  readonly signupsSummaryChangePct?: number | null;
22
22
  readonly signupsSummaryChangeValue?: number | null;
23
+ readonly orders?: OrderHistory[];
23
24
  readonly markets?: ReadonlyArray<MarketFilterOption>;
24
25
  readonly onDateRangeChange?: (range: DateRangeOption) => void;
25
26
  readonly onMarketChange?: (market: MarketOption) => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ConversionDataPoint, ConversionFilterOption, DateRangeOption } from '../../types.d';
2
+ import type { ConversionDataPoint, ConversionFilterOption, DateRangeOption, OrderHistory } from '../../types.d';
3
3
  export interface ConversionRateChartProps {
4
4
  readonly conversionData: ConversionDataPoint[];
5
5
  readonly conversionFilter: ConversionFilterOption;
@@ -10,6 +10,7 @@ export interface ConversionRateChartProps {
10
10
  readonly summaryRate?: number;
11
11
  readonly summaryChangePct?: number | null;
12
12
  readonly compact?: boolean;
13
+ readonly orders?: OrderHistory[];
13
14
  readonly onFilterChange?: (filter: ConversionFilterOption) => void;
14
15
  readonly onTitleClick?: () => void;
15
16
  readonly onExport?: () => void;