@nuskin/react-mysite-elements 1.5.0-ui-fixes.21 → 1.6.0-comx-2229.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.
- package/dist/common/headers/MysiteHero.d.ts +6 -2
- package/dist/common/headers/index.d.ts +1 -0
- package/dist/common/shopping-dashboard/TranslationKeys/ShoppingDashboardTranslationKeys.d.ts +4 -0
- package/dist/common/shopping-dashboard/shared/ConversionRate/ConversionRateFullView.d.ts +1 -0
- package/dist/common/shopping-dashboard/shared/ConversionRate/ConversionRateFullView.styled.d.ts +3 -0
- package/dist/common/shopping-dashboard/shared/DashboardHeader.styled.d.ts +4 -0
- package/dist/common/shopping-dashboard/shared/LoadingSkeletons.styled.d.ts +5 -5
- package/dist/common/shopping-dashboard/shared/PageHeader.styled.d.ts +4 -0
- package/dist/common/shopping-dashboard/shared/Signups/SignupsFullView.styled.d.ts +3 -1
- package/dist/common/shopping-dashboard/shared/TopPerformingOffers/TopPerformingOffersPieChart.d.ts +1 -0
- package/dist/common/shopping-dashboard/shared/WidgetMenu.styled.d.ts +1 -1
- package/dist/common/shopping-dashboard/specs/SignupsChart.spec.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- 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/dist/ui/index.d.ts +1 -0
- package/package.json +10 -21
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* `MysiteHero`'s prop contract, and the single definition of that shape.
|
|
4
|
+
* `@nuskin/react-mysite-sdk`'s `buildHeroProps` imports this as its return type
|
|
5
|
+
* so the producer and the consumer can never drift.
|
|
6
|
+
*/
|
|
7
|
+
export type MysiteHeroProps = {
|
|
3
8
|
readonly imageDetails?: {
|
|
4
9
|
imageSrc: string;
|
|
5
10
|
imageAlt: string;
|
|
@@ -25,4 +30,3 @@ type MysiteHeroProps = {
|
|
|
25
30
|
readonly totalSavings?: string;
|
|
26
31
|
};
|
|
27
32
|
export default function MysiteHero({ className, shopTitle, shopDescription, socialTitleText, imageDetails, email, phone, bannerProps, socialIcons, expirationDate, showBadges, totalSavings, }: MysiteHeroProps): ReactElement;
|
|
28
|
-
export {};
|
package/dist/common/shopping-dashboard/TranslationKeys/ShoppingDashboardTranslationKeys.d.ts
CHANGED
|
@@ -340,6 +340,10 @@ export declare const ShoppingDashboardTranslationKeys: {
|
|
|
340
340
|
readonly key: "shoppingDashboard.fullView.signups.columns.status";
|
|
341
341
|
readonly fallback: "Status";
|
|
342
342
|
};
|
|
343
|
+
readonly market: {
|
|
344
|
+
readonly key: "shoppingDashboard.fullView.signups.columns.country";
|
|
345
|
+
readonly fallback: "Country";
|
|
346
|
+
};
|
|
343
347
|
};
|
|
344
348
|
readonly detailsTitle: {
|
|
345
349
|
readonly key: "shoppingDashboard.fullView.signups.detailsTitle";
|
|
@@ -9,6 +9,7 @@ export interface ConversionRateFullViewProps {
|
|
|
9
9
|
readonly conversionFilter: ConversionFilterOption;
|
|
10
10
|
readonly markets?: ReadonlyArray<MarketFilterOption>;
|
|
11
11
|
readonly orderColumnsVariant?: 'default' | 'sv';
|
|
12
|
+
readonly svColumnLabel?: string;
|
|
12
13
|
readonly isLoading?: boolean;
|
|
13
14
|
readonly summaryRate?: number;
|
|
14
15
|
readonly summaryChangePct?: number | null;
|
package/dist/common/shopping-dashboard/shared/ConversionRate/ConversionRateFullView.styled.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export declare const MetricValueWithSpacing: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
3
|
+
}, "p" | "style" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "children" | "classes" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY" | "typography" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
1
4
|
export declare const ConversionTrendChartContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
5
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
6
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -30,6 +30,10 @@ export declare const StyledSelect: import("@emotion/styled").StyledComponent<{
|
|
|
30
30
|
theme?: import("@emotion/react").Theme;
|
|
31
31
|
as?: React.ElementType;
|
|
32
32
|
}, import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, {}>;
|
|
33
|
+
export declare const FilterMenuButton: import("@emotion/styled").StyledComponent<{
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType;
|
|
36
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
33
37
|
export declare const FilterIcon: import("@emotion/styled").StyledComponent<{
|
|
34
38
|
theme?: import("@emotion/react").Theme;
|
|
35
39
|
as?: React.ElementType;
|
|
@@ -22,7 +22,7 @@ export declare const StatsCardBody: import("@emotion/styled").StyledComponent<{
|
|
|
22
22
|
theme?: import("@emotion/react").Theme;
|
|
23
23
|
as?: React.ElementType;
|
|
24
24
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
|
-
export declare const StatsCardSubtitle: import("@emotion/styled").StyledComponent<import("@mui/material
|
|
25
|
+
export declare const StatsCardSubtitle: import("@emotion/styled").StyledComponent<import("@mui/material").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
26
26
|
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
27
27
|
}, "style" | "height" | "width" | "animation" | "className" | "children" | "classes" | "sx" | "variant"> & {
|
|
28
28
|
theme?: import("@emotion/react").Theme;
|
|
@@ -43,7 +43,7 @@ export declare const ChartMetricTrend: import("@emotion/styled").StyledComponent
|
|
|
43
43
|
theme?: import("@emotion/react").Theme;
|
|
44
44
|
as?: React.ElementType;
|
|
45
45
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
46
|
-
export declare const ChartAreaSkeleton: import("@emotion/styled").StyledComponent<import("@mui/material
|
|
46
|
+
export declare const ChartAreaSkeleton: import("@emotion/styled").StyledComponent<import("@mui/material").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
47
47
|
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
48
48
|
}, "style" | "height" | "width" | "animation" | "className" | "children" | "classes" | "sx" | "variant"> & {
|
|
49
49
|
theme?: import("@emotion/react").Theme;
|
|
@@ -52,7 +52,7 @@ export declare const PieChartLayout: import("@emotion/styled").StyledComponent<{
|
|
|
52
52
|
theme?: import("@emotion/react").Theme;
|
|
53
53
|
as?: React.ElementType;
|
|
54
54
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
55
|
-
export declare const PieCircleSkeleton: import("@emotion/styled").StyledComponent<import("@mui/material
|
|
55
|
+
export declare const PieCircleSkeleton: import("@emotion/styled").StyledComponent<import("@mui/material").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
56
56
|
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
57
57
|
}, "style" | "height" | "width" | "animation" | "className" | "children" | "classes" | "sx" | "variant"> & {
|
|
58
58
|
theme?: import("@emotion/react").Theme;
|
|
@@ -101,7 +101,7 @@ export declare const FullViewMetricCenter: import("@emotion/styled").StyledCompo
|
|
|
101
101
|
theme?: import("@emotion/react").Theme;
|
|
102
102
|
as?: React.ElementType;
|
|
103
103
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
104
|
-
export declare const FullViewChartArea: import("@emotion/styled").StyledComponent<import("@mui/material
|
|
104
|
+
export declare const FullViewChartArea: import("@emotion/styled").StyledComponent<import("@mui/material").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
105
105
|
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
106
106
|
}, "style" | "height" | "width" | "animation" | "className" | "children" | "classes" | "sx" | "variant"> & {
|
|
107
107
|
theme?: import("@emotion/react").Theme;
|
|
@@ -110,7 +110,7 @@ export declare const FullViewTableCard: import("@emotion/styled").StyledComponen
|
|
|
110
110
|
theme?: import("@emotion/react").Theme;
|
|
111
111
|
as?: React.ElementType;
|
|
112
112
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
113
|
-
export declare const FullViewTableRow: import("@emotion/styled").StyledComponent<import("@mui/material
|
|
113
|
+
export declare const FullViewTableRow: import("@emotion/styled").StyledComponent<import("@mui/material").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
114
114
|
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
115
115
|
}, "style" | "height" | "width" | "animation" | "className" | "children" | "classes" | "sx" | "variant"> & {
|
|
116
116
|
theme?: import("@emotion/react").Theme;
|
|
@@ -48,6 +48,10 @@ export declare const FilterDropdown: import("@emotion/styled").StyledComponent<{
|
|
|
48
48
|
theme?: import("@emotion/react").Theme;
|
|
49
49
|
as?: React.ElementType;
|
|
50
50
|
}, import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, {}>;
|
|
51
|
+
export declare const FilterMenuButton: import("@emotion/styled").StyledComponent<{
|
|
52
|
+
theme?: import("@emotion/react").Theme;
|
|
53
|
+
as?: React.ElementType;
|
|
54
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
51
55
|
export declare const MobileTitleWrapper: import("@emotion/styled").StyledComponent<{
|
|
52
56
|
theme?: import("@emotion/react").Theme;
|
|
53
57
|
as?: React.ElementType;
|
|
@@ -21,7 +21,9 @@ export declare const ChartLegendContainer: import("@emotion/styled").StyledCompo
|
|
|
21
21
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
22
22
|
export declare const LegendItem: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
23
23
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
24
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme
|
|
24
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
25
|
+
$legendColor?: string;
|
|
26
|
+
}, {}, {}>;
|
|
25
27
|
export declare const NameColumnCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
26
28
|
export declare const TrendAbsoluteChangeText: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
27
29
|
export declare const TrendPercentageChangeText: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
package/dist/common/shopping-dashboard/shared/TopPerformingOffers/TopPerformingOffersPieChart.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export interface TopPerformingOffersPieChartProps {
|
|
|
6
6
|
readonly isLoading?: boolean;
|
|
7
7
|
readonly title?: string;
|
|
8
8
|
readonly market?: MarketOption;
|
|
9
|
+
readonly summaryChangePct?: number | null;
|
|
9
10
|
readonly onSortChange?: (sort: OfferSortOption) => void;
|
|
10
11
|
readonly onTitleClick?: () => void;
|
|
11
12
|
readonly onExport?: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const StyledIconButton: import("@emotion/styled").StyledComponent<import("@mui/material
|
|
1
|
+
export declare const StyledIconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
2
|
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
3
3
|
}, "style" | "color" | "className" | "children" | "tabIndex" | "disabled" | "classes" | "sx" | "action" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './ui';
|