@nuskin/foundation-ui-components 2.2.0-redesign-sf.16 → 2.2.0-redesign-sf.18

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
@@ -609,15 +609,15 @@ declare function NsBrandCard({ title, brandImageUrl, backgroundImageUrl, button,
609
609
 
610
610
  type NsProductCardProps = {
611
611
  productTitle: string;
612
- productPrice: string;
613
612
  backgroundImageDetail: BynderImageDataType;
614
613
  className?: string;
615
614
  fontColor?: 'primary' | 'secondary';
616
615
  button?: NsCardButton;
617
616
  onCardClick?: () => void;
618
617
  productStatusBadge?: react__default.ReactNode;
618
+ mySitePriceComponent?: react__default.ReactNode;
619
619
  };
620
- declare const NsProductCard: ({ productTitle, productPrice, backgroundImageDetail, className, fontColor, button, onCardClick, productStatusBadge, }: NsProductCardProps) => ReactElement;
620
+ declare const NsProductCard: ({ productTitle, backgroundImageDetail, className, fontColor, button, onCardClick, productStatusBadge, mySitePriceComponent, }: NsProductCardProps) => ReactElement;
621
621
 
622
622
  type NsIconTextProps = {
623
623
  text: string;
@@ -635,7 +635,7 @@ type NsCheckoutCardProps = {
635
635
  className?: string;
636
636
  fontColor?: 'primary' | 'secondary';
637
637
  };
638
- declare function NsCheckoutCard({ title, icon, linkText, url, className, fontColor, }: NsCheckoutCardProps): ReactElement;
638
+ declare function NsCheckoutCard({ title, icon, linkText, url, className, fontColor, }: Readonly<NsCheckoutCardProps>): ReactElement;
639
639
 
640
640
  type NsSmallFullCardProps = {
641
641
  title: string;
@@ -703,22 +703,22 @@ interface CarousalProps<T = any> {
703
703
  declare function NsCarousal({ entries, renderEntry, allEntryLink, settings, allEntryLabel, showControlButtons, }: CarousalProps): ReactElement;
704
704
 
705
705
  type ProductCardEntry = {
706
- productTitle: string;
707
- productPrice: string;
708
- backgroundImageDetail: BynderImageDataType;
709
- fontColor?: 'primary' | 'secondary';
710
- button?: NsCardButton;
711
- onCardClick?: () => void;
712
- productStatusBadge?: react__default.ReactNode;
706
+ readonly productTitle: string;
707
+ readonly backgroundImageDetail: BynderImageDataType;
708
+ readonly fontColor?: 'primary' | 'secondary';
709
+ readonly button?: NsCardButton;
710
+ readonly onCardClick?: () => void;
711
+ readonly productStatusBadge?: react__default.ReactNode;
712
+ readonly mySitePriceComponent?: react__default.ReactNode;
713
713
  };
714
714
  interface ProductCardCarousalProps<T = ProductCardEntry> {
715
- entries: T[];
716
- settings?: any;
717
- showControlButtons?: boolean;
718
- renderEntry?: (entry: T, index: number) => ReactNode;
719
- allEntryLabel?: string;
720
- allEntryLink?: string;
721
- categoryName?: string;
715
+ readonly entries: T[];
716
+ readonly settings?: any;
717
+ readonly showControlButtons?: boolean;
718
+ readonly renderEntry?: (entry: T, index: number) => ReactNode;
719
+ readonly allEntryLabel?: string;
720
+ readonly allEntryLink?: string;
721
+ readonly categoryName?: string;
722
722
  }
723
723
  declare function ProductCardCarousal({ entries, renderEntry, settings, showControlButtons, allEntryLabel, allEntryLink, categoryName, }: ProductCardCarousalProps): ReactElement;
724
724
 
@@ -1326,6 +1326,6 @@ interface NsNavTabVerticalProps {
1326
1326
  value?: number;
1327
1327
  onChange?: (event: react.SyntheticEvent, newValue: number) => void;
1328
1328
  }
1329
- declare const NsNavTabVertical: react.FC<NsNavTabVerticalProps>;
1329
+ declare const NsNavTabVertical: react.FC<Readonly<NsNavTabVerticalProps>>;
1330
1330
 
1331
1331
  export { type AccordionContentType, AccordionContentTypeObject, type AccordionItem, AccordionVariant, type AccordionVariantType, type AdditionalProps, type BynderImageDataType, Check, type ComponentBoxProps, type CslpTag, type DarkModeEnabledOption, type DropdownOptionProps, type DropdownProps, GlobalFontInter, type HtmlTagVariant, HtmlTagVariantMapping, IconWrapper, type ItemProps, type LabelValueType, LineLoader, type ListUiProps, MySiteShopHeader, type NavTabs, NsAccordion, NsAccordionHeader, type NsAccordionHeaderProps, NsAccordionItem, type NsAccordionItemProps, type NsAccordionProps, NsAlert, type NsAlertProps, NsAuthDropdown, type NsAuthDropdownProps, NsAutocomplete, type NsAutocompleteProps, NsAwardCard, NsBanner, type NsBannerProps, NsBgCard, NsBrandCard, NsBrandComponent, type NsBrandComponentProps, NsBrandLogo, NsBrandWrapper, NsBreadcrumb, type NsBreadcrumbProps, NsButton, type NsButtonProps, type NsCardButton, NsCarousal, type NsCarousalProps, NsCartIcon, type NsCartIconProps, NsCheckbox, type NsCheckboxProps, NsCheckoutCard, NsCollapse, type NsCollapseProps, NsColumnControl, type NsColumnControlProps, settings as NsDefaultCarousalSettings, NsDropdown, NsDropdownOption, NsEmailSimple, type NsEmailSimpleProps, type NsFfgCardProps, NsFlag, type NsFlagProps, type NsFlagSize, NsFlexColumns, NsGridColumns, NsHeroCardLevel1, NsHeroCardLevel2, NsIcon, type NsIconNameType, type NsIconProps, type NsIconSizeType, NsIconText, IconVariants as NsIconVariants, NsImage, NsInputField, type NsInputFieldProps, NsLabel, type NsLabelProps, NsLargeCard, NsLink, type NsLinkProps, NsMediumCard, NsModal, type NsModalProps, type NsModalVariant, NsNavProductCard, type NsNavProductCardProps, NsNavTabComponent as NsNavTab, type NsNavTabComponentProps, NsNavTabVertical, NsPost, NsProductCard, NsProgress, type NsProgressProps, NsRadioGroup, type NsRadioGroupProps, NsScrollingCarousal, type NsScrollingCarousalProps, NsSelect, NsSelectOption, NsSmallFullCard, NsSpinner, type NsSpinnerProps, NsTable, type NsTableProps, NsTextStrip, type NsTextStripProps, NsToastProvider, NsToggleSection, type NsToggleSectionProps, NsTypography, type NsTypographyProps, NsVideo, type NsVideoProps, NsXLargeCard, type OptionsProps, ProductCardCarousal as ProductCarousal, ProductTabCarousal, type RenderSelectOptionArgType, type SelectOptionProps, type SelectProps, Show, type Themed, type ToastOptions, type Variants, getBasicDATWidthHeight, iconSize, useAccordionMap, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -609,15 +609,15 @@ declare function NsBrandCard({ title, brandImageUrl, backgroundImageUrl, button,
609
609
 
610
610
  type NsProductCardProps = {
611
611
  productTitle: string;
612
- productPrice: string;
613
612
  backgroundImageDetail: BynderImageDataType;
614
613
  className?: string;
615
614
  fontColor?: 'primary' | 'secondary';
616
615
  button?: NsCardButton;
617
616
  onCardClick?: () => void;
618
617
  productStatusBadge?: react__default.ReactNode;
618
+ mySitePriceComponent?: react__default.ReactNode;
619
619
  };
620
- declare const NsProductCard: ({ productTitle, productPrice, backgroundImageDetail, className, fontColor, button, onCardClick, productStatusBadge, }: NsProductCardProps) => ReactElement;
620
+ declare const NsProductCard: ({ productTitle, backgroundImageDetail, className, fontColor, button, onCardClick, productStatusBadge, mySitePriceComponent, }: NsProductCardProps) => ReactElement;
621
621
 
622
622
  type NsIconTextProps = {
623
623
  text: string;
@@ -635,7 +635,7 @@ type NsCheckoutCardProps = {
635
635
  className?: string;
636
636
  fontColor?: 'primary' | 'secondary';
637
637
  };
638
- declare function NsCheckoutCard({ title, icon, linkText, url, className, fontColor, }: NsCheckoutCardProps): ReactElement;
638
+ declare function NsCheckoutCard({ title, icon, linkText, url, className, fontColor, }: Readonly<NsCheckoutCardProps>): ReactElement;
639
639
 
640
640
  type NsSmallFullCardProps = {
641
641
  title: string;
@@ -703,22 +703,22 @@ interface CarousalProps<T = any> {
703
703
  declare function NsCarousal({ entries, renderEntry, allEntryLink, settings, allEntryLabel, showControlButtons, }: CarousalProps): ReactElement;
704
704
 
705
705
  type ProductCardEntry = {
706
- productTitle: string;
707
- productPrice: string;
708
- backgroundImageDetail: BynderImageDataType;
709
- fontColor?: 'primary' | 'secondary';
710
- button?: NsCardButton;
711
- onCardClick?: () => void;
712
- productStatusBadge?: react__default.ReactNode;
706
+ readonly productTitle: string;
707
+ readonly backgroundImageDetail: BynderImageDataType;
708
+ readonly fontColor?: 'primary' | 'secondary';
709
+ readonly button?: NsCardButton;
710
+ readonly onCardClick?: () => void;
711
+ readonly productStatusBadge?: react__default.ReactNode;
712
+ readonly mySitePriceComponent?: react__default.ReactNode;
713
713
  };
714
714
  interface ProductCardCarousalProps<T = ProductCardEntry> {
715
- entries: T[];
716
- settings?: any;
717
- showControlButtons?: boolean;
718
- renderEntry?: (entry: T, index: number) => ReactNode;
719
- allEntryLabel?: string;
720
- allEntryLink?: string;
721
- categoryName?: string;
715
+ readonly entries: T[];
716
+ readonly settings?: any;
717
+ readonly showControlButtons?: boolean;
718
+ readonly renderEntry?: (entry: T, index: number) => ReactNode;
719
+ readonly allEntryLabel?: string;
720
+ readonly allEntryLink?: string;
721
+ readonly categoryName?: string;
722
722
  }
723
723
  declare function ProductCardCarousal({ entries, renderEntry, settings, showControlButtons, allEntryLabel, allEntryLink, categoryName, }: ProductCardCarousalProps): ReactElement;
724
724
 
@@ -1326,6 +1326,6 @@ interface NsNavTabVerticalProps {
1326
1326
  value?: number;
1327
1327
  onChange?: (event: react.SyntheticEvent, newValue: number) => void;
1328
1328
  }
1329
- declare const NsNavTabVertical: react.FC<NsNavTabVerticalProps>;
1329
+ declare const NsNavTabVertical: react.FC<Readonly<NsNavTabVerticalProps>>;
1330
1330
 
1331
1331
  export { type AccordionContentType, AccordionContentTypeObject, type AccordionItem, AccordionVariant, type AccordionVariantType, type AdditionalProps, type BynderImageDataType, Check, type ComponentBoxProps, type CslpTag, type DarkModeEnabledOption, type DropdownOptionProps, type DropdownProps, GlobalFontInter, type HtmlTagVariant, HtmlTagVariantMapping, IconWrapper, type ItemProps, type LabelValueType, LineLoader, type ListUiProps, MySiteShopHeader, type NavTabs, NsAccordion, NsAccordionHeader, type NsAccordionHeaderProps, NsAccordionItem, type NsAccordionItemProps, type NsAccordionProps, NsAlert, type NsAlertProps, NsAuthDropdown, type NsAuthDropdownProps, NsAutocomplete, type NsAutocompleteProps, NsAwardCard, NsBanner, type NsBannerProps, NsBgCard, NsBrandCard, NsBrandComponent, type NsBrandComponentProps, NsBrandLogo, NsBrandWrapper, NsBreadcrumb, type NsBreadcrumbProps, NsButton, type NsButtonProps, type NsCardButton, NsCarousal, type NsCarousalProps, NsCartIcon, type NsCartIconProps, NsCheckbox, type NsCheckboxProps, NsCheckoutCard, NsCollapse, type NsCollapseProps, NsColumnControl, type NsColumnControlProps, settings as NsDefaultCarousalSettings, NsDropdown, NsDropdownOption, NsEmailSimple, type NsEmailSimpleProps, type NsFfgCardProps, NsFlag, type NsFlagProps, type NsFlagSize, NsFlexColumns, NsGridColumns, NsHeroCardLevel1, NsHeroCardLevel2, NsIcon, type NsIconNameType, type NsIconProps, type NsIconSizeType, NsIconText, IconVariants as NsIconVariants, NsImage, NsInputField, type NsInputFieldProps, NsLabel, type NsLabelProps, NsLargeCard, NsLink, type NsLinkProps, NsMediumCard, NsModal, type NsModalProps, type NsModalVariant, NsNavProductCard, type NsNavProductCardProps, NsNavTabComponent as NsNavTab, type NsNavTabComponentProps, NsNavTabVertical, NsPost, NsProductCard, NsProgress, type NsProgressProps, NsRadioGroup, type NsRadioGroupProps, NsScrollingCarousal, type NsScrollingCarousalProps, NsSelect, NsSelectOption, NsSmallFullCard, NsSpinner, type NsSpinnerProps, NsTable, type NsTableProps, NsTextStrip, type NsTextStripProps, NsToastProvider, NsToggleSection, type NsToggleSectionProps, NsTypography, type NsTypographyProps, NsVideo, type NsVideoProps, NsXLargeCard, type OptionsProps, ProductCardCarousal as ProductCarousal, ProductTabCarousal, type RenderSelectOptionArgType, type SelectOptionProps, type SelectProps, Show, type Themed, type ToastOptions, type Variants, getBasicDATWidthHeight, iconSize, useAccordionMap, useToast, useWindowSize };