@nuskin/foundation-ui-components 2.2.0-redesign-sf.13 → 2.2.0-redesign-sf.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/index.d.mts CHANGED
@@ -407,6 +407,7 @@ type NsImageProps = {
407
407
  src: string;
408
408
  variant?: 'product' | 'award' | 'icon' | 'fill';
409
409
  width?: number | string;
410
+ style?: any;
410
411
  };
411
412
  type BynderImageDataType = {
412
413
  /** selected is manually added, using additionalInfo from bynder */
@@ -614,8 +615,9 @@ type NsProductCardProps = {
614
615
  fontColor?: 'primary' | 'secondary';
615
616
  button?: NsCardButton;
616
617
  onCardClick?: () => void;
618
+ productStatusBadge?: react__default.ReactNode;
617
619
  };
618
- declare const NsProductCard: ({ productTitle, productPrice, backgroundImageDetail, className, fontColor, button, onCardClick, }: NsProductCardProps) => ReactElement;
620
+ declare const NsProductCard: ({ productTitle, productPrice, backgroundImageDetail, className, fontColor, button, onCardClick, productStatusBadge, }: NsProductCardProps) => ReactElement;
619
621
 
620
622
  type NsIconTextProps = {
621
623
  text: string;
@@ -707,6 +709,7 @@ type ProductCardEntry = {
707
709
  fontColor?: 'primary' | 'secondary';
708
710
  button?: NsCardButton;
709
711
  onCardClick?: () => void;
712
+ productStatusBadge?: react__default.ReactNode;
710
713
  };
711
714
  interface ProductCardCarousalProps<T = ProductCardEntry> {
712
715
  entries: T[];
@@ -1035,6 +1038,7 @@ type NsLinkProps = AdditionalProps & {
1035
1038
  prefetch?: boolean;
1036
1039
  showHorizontal?: boolean;
1037
1040
  color?: 'primary' | 'secondary';
1041
+ rel?: string;
1038
1042
  };
1039
1043
 
1040
1044
  declare const NsLink: (props: PropsWithChildren<NsLinkProps>) => ReactElement;
@@ -1304,7 +1308,7 @@ type MySiteShopHeaderProps = {
1304
1308
  email: string;
1305
1309
  className?: string;
1306
1310
  socialIcons?: {
1307
- type: 'facebook' | 'instagram' | 'youtube' | 'vkontakte' | 'x' | 'twitter' | 'pinterest';
1311
+ type: any;
1308
1312
  url: string;
1309
1313
  }[];
1310
1314
  };
package/dist/index.d.ts CHANGED
@@ -407,6 +407,7 @@ type NsImageProps = {
407
407
  src: string;
408
408
  variant?: 'product' | 'award' | 'icon' | 'fill';
409
409
  width?: number | string;
410
+ style?: any;
410
411
  };
411
412
  type BynderImageDataType = {
412
413
  /** selected is manually added, using additionalInfo from bynder */
@@ -614,8 +615,9 @@ type NsProductCardProps = {
614
615
  fontColor?: 'primary' | 'secondary';
615
616
  button?: NsCardButton;
616
617
  onCardClick?: () => void;
618
+ productStatusBadge?: react__default.ReactNode;
617
619
  };
618
- declare const NsProductCard: ({ productTitle, productPrice, backgroundImageDetail, className, fontColor, button, onCardClick, }: NsProductCardProps) => ReactElement;
620
+ declare const NsProductCard: ({ productTitle, productPrice, backgroundImageDetail, className, fontColor, button, onCardClick, productStatusBadge, }: NsProductCardProps) => ReactElement;
619
621
 
620
622
  type NsIconTextProps = {
621
623
  text: string;
@@ -707,6 +709,7 @@ type ProductCardEntry = {
707
709
  fontColor?: 'primary' | 'secondary';
708
710
  button?: NsCardButton;
709
711
  onCardClick?: () => void;
712
+ productStatusBadge?: react__default.ReactNode;
710
713
  };
711
714
  interface ProductCardCarousalProps<T = ProductCardEntry> {
712
715
  entries: T[];
@@ -1035,6 +1038,7 @@ type NsLinkProps = AdditionalProps & {
1035
1038
  prefetch?: boolean;
1036
1039
  showHorizontal?: boolean;
1037
1040
  color?: 'primary' | 'secondary';
1041
+ rel?: string;
1038
1042
  };
1039
1043
 
1040
1044
  declare const NsLink: (props: PropsWithChildren<NsLinkProps>) => ReactElement;
@@ -1304,7 +1308,7 @@ type MySiteShopHeaderProps = {
1304
1308
  email: string;
1305
1309
  className?: string;
1306
1310
  socialIcons?: {
1307
- type: 'facebook' | 'instagram' | 'youtube' | 'vkontakte' | 'x' | 'twitter' | 'pinterest';
1311
+ type: any;
1308
1312
  url: string;
1309
1313
  }[];
1310
1314
  };