@nuskin/foundation-ui-components 2.1.2 → 2.2.0-cdb-1.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/index.d.mts +7 -1
- package/dist/index.d.ts +7 -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
|
@@ -470,6 +470,10 @@ type NsBrandComponentProps = {
|
|
|
470
470
|
variant?: 'stacked' | 'horizontal' | 'poweredBy' | 'logomark' | 'wordmark';
|
|
471
471
|
size?: string;
|
|
472
472
|
color?: FoundationTheme.PaletteColors;
|
|
473
|
+
/** When set (valid non-empty string), renders this SVG URL instead of the variant logo. Variant and color are ignored. */
|
|
474
|
+
logoUrl?: string;
|
|
475
|
+
/** Alt text for the logo image when logoUrl is used. Defaults to "Logo". */
|
|
476
|
+
logoAlt?: string;
|
|
473
477
|
};
|
|
474
478
|
|
|
475
479
|
declare const NsBrandComponent: (props: PropsWithChildren<NsBrandComponentProps>) => ReactElement;
|
|
@@ -731,8 +735,10 @@ interface CarousalControlProps {
|
|
|
731
735
|
prev(): void;
|
|
732
736
|
viewAllLabel: string;
|
|
733
737
|
viewAllUrl: string;
|
|
738
|
+
prevAriaLabel?: string;
|
|
739
|
+
nextAriaLabel?: string;
|
|
734
740
|
}
|
|
735
|
-
declare const CarousalControl: ({ next, prev, viewAllUrl, viewAllLabel }: CarousalControlProps) => ReactElement;
|
|
741
|
+
declare const CarousalControl: ({ next, prev, viewAllUrl, viewAllLabel, prevAriaLabel, nextAriaLabel, }: CarousalControlProps) => ReactElement;
|
|
736
742
|
|
|
737
743
|
type NsCarousalProps<T = any> = {
|
|
738
744
|
entries: T[];
|
package/dist/index.d.ts
CHANGED
|
@@ -470,6 +470,10 @@ type NsBrandComponentProps = {
|
|
|
470
470
|
variant?: 'stacked' | 'horizontal' | 'poweredBy' | 'logomark' | 'wordmark';
|
|
471
471
|
size?: string;
|
|
472
472
|
color?: FoundationTheme.PaletteColors;
|
|
473
|
+
/** When set (valid non-empty string), renders this SVG URL instead of the variant logo. Variant and color are ignored. */
|
|
474
|
+
logoUrl?: string;
|
|
475
|
+
/** Alt text for the logo image when logoUrl is used. Defaults to "Logo". */
|
|
476
|
+
logoAlt?: string;
|
|
473
477
|
};
|
|
474
478
|
|
|
475
479
|
declare const NsBrandComponent: (props: PropsWithChildren<NsBrandComponentProps>) => ReactElement;
|
|
@@ -731,8 +735,10 @@ interface CarousalControlProps {
|
|
|
731
735
|
prev(): void;
|
|
732
736
|
viewAllLabel: string;
|
|
733
737
|
viewAllUrl: string;
|
|
738
|
+
prevAriaLabel?: string;
|
|
739
|
+
nextAriaLabel?: string;
|
|
734
740
|
}
|
|
735
|
-
declare const CarousalControl: ({ next, prev, viewAllUrl, viewAllLabel }: CarousalControlProps) => ReactElement;
|
|
741
|
+
declare const CarousalControl: ({ next, prev, viewAllUrl, viewAllLabel, prevAriaLabel, nextAriaLabel, }: CarousalControlProps) => ReactElement;
|
|
736
742
|
|
|
737
743
|
type NsCarousalProps<T = any> = {
|
|
738
744
|
entries: T[];
|