@nuskin/react-mysite-elements 1.6.0-comx-2229.14 → 1.6.0-comx-2229.15
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/common/shopping-dashboard/TranslationKeys/ProductOfferDashboardTranslationKeys.d.ts +1 -5
- package/dist/common/shopping-dashboard/TranslationKeys/ShoppingDashboardTranslationKeys.d.ts +1 -5
- package/dist/common/shopping-dashboard/shared/ConversionRate/ConversionRateChart.d.ts +1 -0
- package/dist/common/shopping-dashboard/shared/Signups/SignupsChart.d.ts +1 -0
- package/dist/common/shopping-dashboard/shared/types.d.ts +8 -8
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/common/Nav-Category-Navigation/NsCategoryNavigation.stories.d.ts +0 -8
- package/dist/common/card/stories/NsProductCard.stories.d.ts +0 -8
- package/dist/common/carousel/stories/NsProductCardCarousel.stories.d.ts +0 -8
- package/dist/common/carousel/stories/ProductTabCarousel.stories.d.ts +0 -4
- package/dist/common/headers/stories/MySiteShopHeader.stories.d.ts +0 -10
- package/dist/common/shopping-dashboard/fixtures/index.d.ts +0 -1
- package/dist/common/shopping-dashboard/fixtures/mockDashboardData.d.ts +0 -10
- package/dist/common/shopping-dashboard/fixtures/mockProductOfferData.d.ts +0 -8
- package/dist/common/shopping-dashboard/stories/CategoriesFullView.stories.d.ts +0 -10
- package/dist/common/shopping-dashboard/stories/ConversionRateChart.stories.d.ts +0 -9
- package/dist/common/shopping-dashboard/stories/ConversionRateFullView.stories.d.ts +0 -10
- package/dist/common/shopping-dashboard/stories/DashboardHeader.stories.d.ts +0 -9
- package/dist/common/shopping-dashboard/stories/DataTable.stories.d.ts +0 -8
- package/dist/common/shopping-dashboard/stories/PageHeader.stories.d.ts +0 -8
- package/dist/common/shopping-dashboard/stories/Pagination.stories.d.ts +0 -9
- package/dist/common/shopping-dashboard/stories/ProductOfferDashboard.stories.d.ts +0 -13
- package/dist/common/shopping-dashboard/stories/ProductsFullView.stories.d.ts +0 -9
- package/dist/common/shopping-dashboard/stories/ShoppingDashboard.stories.d.ts +0 -13
- package/dist/common/shopping-dashboard/stories/SignupsChart.stories.d.ts +0 -10
- package/dist/common/shopping-dashboard/stories/SignupsFullView.stories.d.ts +0 -9
- package/dist/common/shopping-dashboard/stories/StatsCard.stories.d.ts +0 -11
- package/dist/common/shopping-dashboard/stories/TopCategoriesPieChart.stories.d.ts +0 -10
- package/dist/common/shopping-dashboard/stories/TopPerformingOffersFullView.stories.d.ts +0 -10
- package/dist/common/shopping-dashboard/stories/TopPerformingOffersPieChart.stories.d.ts +0 -11
- package/dist/common/shopping-dashboard/stories/TopSellingProductsList.stories.d.ts +0 -11
package/dist/common/shopping-dashboard/TranslationKeys/ProductOfferDashboardTranslationKeys.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
type TranslationEntry
|
|
2
|
-
readonly key: string;
|
|
3
|
-
readonly fallback: string;
|
|
4
|
-
};
|
|
1
|
+
import { type TranslationEntry } from './translationResolver';
|
|
5
2
|
export declare const ProductOfferDashboardTranslationKeys: {
|
|
6
3
|
readonly title: {
|
|
7
4
|
readonly key: "productOfferDashboard.title";
|
|
@@ -259,4 +256,3 @@ export declare const ProductOfferDashboardTranslationKeys: {
|
|
|
259
256
|
};
|
|
260
257
|
};
|
|
261
258
|
export declare function getTranslation(entry: TranslationEntry): string;
|
|
262
|
-
export {};
|
package/dist/common/shopping-dashboard/TranslationKeys/ShoppingDashboardTranslationKeys.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type TranslationEntry } from './translationResolver';
|
|
1
2
|
export declare const ShoppingDashboardTranslationKeys: {
|
|
2
3
|
readonly title: {
|
|
3
4
|
readonly key: "shoppingDashboard.title";
|
|
@@ -566,9 +567,4 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
566
567
|
};
|
|
567
568
|
};
|
|
568
569
|
};
|
|
569
|
-
type TranslationEntry = {
|
|
570
|
-
readonly key: string;
|
|
571
|
-
readonly fallback: string;
|
|
572
|
-
};
|
|
573
570
|
export declare function getTranslation(entry: TranslationEntry): string;
|
|
574
|
-
export {};
|
|
@@ -4,6 +4,7 @@ export interface ConversionRateChartProps {
|
|
|
4
4
|
readonly conversionData: ConversionDataPoint[];
|
|
5
5
|
readonly conversionFilter: ConversionFilterOption;
|
|
6
6
|
readonly dateRange?: DateRangeOption;
|
|
7
|
+
readonly market?: string;
|
|
7
8
|
readonly isLoading?: boolean;
|
|
8
9
|
readonly title?: string;
|
|
9
10
|
readonly summaryRate?: number;
|
|
@@ -4,6 +4,7 @@ export interface SignupsChartProps {
|
|
|
4
4
|
readonly signupData: SignupDataPoint[];
|
|
5
5
|
readonly signupView: SignupViewOption;
|
|
6
6
|
readonly dateRange?: DateRangeOption;
|
|
7
|
+
readonly market?: string;
|
|
7
8
|
readonly isLoading?: boolean;
|
|
8
9
|
readonly title?: string;
|
|
9
10
|
readonly summaryChangePct?: number | null;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export interface FilterOption {
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
2
|
+
readonly value: string;
|
|
3
|
+
readonly label: string;
|
|
4
4
|
}
|
|
5
5
|
export interface FilterConfig {
|
|
6
|
-
key: string;
|
|
7
|
-
label: string;
|
|
8
|
-
value: string;
|
|
9
|
-
options: FilterOption
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
icon?: 'calendar' | 'globe';
|
|
6
|
+
readonly key: string;
|
|
7
|
+
readonly label: string;
|
|
8
|
+
readonly value: string;
|
|
9
|
+
readonly options: ReadonlyArray<FilterOption>;
|
|
10
|
+
readonly disabled?: boolean;
|
|
11
|
+
readonly icon?: 'calendar' | 'globe';
|
|
12
12
|
}
|
|
13
13
|
export type TrendDirection = 'up' | 'down' | 'neutral';
|