@nuskin/foundation-ui-components 2.2.0-redesign-sf.14 → 2.2.0-redesign-sf.16
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 +3 -1
- package/dist/index.d.ts +3 -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/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -615,8 +615,9 @@ type NsProductCardProps = {
|
|
|
615
615
|
fontColor?: 'primary' | 'secondary';
|
|
616
616
|
button?: NsCardButton;
|
|
617
617
|
onCardClick?: () => void;
|
|
618
|
+
productStatusBadge?: react__default.ReactNode;
|
|
618
619
|
};
|
|
619
|
-
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;
|
|
620
621
|
|
|
621
622
|
type NsIconTextProps = {
|
|
622
623
|
text: string;
|
|
@@ -708,6 +709,7 @@ type ProductCardEntry = {
|
|
|
708
709
|
fontColor?: 'primary' | 'secondary';
|
|
709
710
|
button?: NsCardButton;
|
|
710
711
|
onCardClick?: () => void;
|
|
712
|
+
productStatusBadge?: react__default.ReactNode;
|
|
711
713
|
};
|
|
712
714
|
interface ProductCardCarousalProps<T = ProductCardEntry> {
|
|
713
715
|
entries: T[];
|
package/dist/index.d.ts
CHANGED
|
@@ -615,8 +615,9 @@ type NsProductCardProps = {
|
|
|
615
615
|
fontColor?: 'primary' | 'secondary';
|
|
616
616
|
button?: NsCardButton;
|
|
617
617
|
onCardClick?: () => void;
|
|
618
|
+
productStatusBadge?: react__default.ReactNode;
|
|
618
619
|
};
|
|
619
|
-
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;
|
|
620
621
|
|
|
621
622
|
type NsIconTextProps = {
|
|
622
623
|
text: string;
|
|
@@ -708,6 +709,7 @@ type ProductCardEntry = {
|
|
|
708
709
|
fontColor?: 'primary' | 'secondary';
|
|
709
710
|
button?: NsCardButton;
|
|
710
711
|
onCardClick?: () => void;
|
|
712
|
+
productStatusBadge?: react__default.ReactNode;
|
|
711
713
|
};
|
|
712
714
|
interface ProductCardCarousalProps<T = ProductCardEntry> {
|
|
713
715
|
entries: T[];
|