@nuskin/foundation-ui-components 2.1.3 → 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 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;
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;