@nuskin/foundation-ui-components 4.0.0 → 4.1.0

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/README.md CHANGED
@@ -47,7 +47,7 @@ yarn storybook
47
47
 
48
48
  The following example illustrates how to use this project
49
49
 
50
- ```shell
50
+ ```tsx
51
51
  import { NsButton } from '@nuskin/foundation-ui-components';
52
52
  const Page = () => {
53
53
  return (
package/dist/index.d.mts CHANGED
@@ -707,7 +707,7 @@ type NsScrollingCarouselProps<T = unknown> = {
707
707
  dotsBottomPixel?: number;
708
708
  } & AdditionalProps;
709
709
 
710
- declare function NsCarousel<T = unknown>({ entries, renderEntry, allEntryLink, settings, allEntryLabel, showControlButtons, ariaLabel, ariaLabelledBy, }: NsCarouselProps<T>): ReactElement;
710
+ declare function NsCarousel<T = unknown>({ entries, renderEntry, allEntryLink, settings, allEntryLabel, showControlButtons, ariaLabel, ariaLabelledBy, }: Readonly<NsCarouselProps<T>>): ReactElement;
711
711
 
712
712
  declare const NsScrollingCarousel: <T>({ slides, scrollSeconds, stillSeconds, renderSlide, settings, dotsBottomPixel, additionalProps, }: NsScrollingCarouselProps<T>) => ReactElement;
713
713
 
package/dist/index.d.ts CHANGED
@@ -707,7 +707,7 @@ type NsScrollingCarouselProps<T = unknown> = {
707
707
  dotsBottomPixel?: number;
708
708
  } & AdditionalProps;
709
709
 
710
- declare function NsCarousel<T = unknown>({ entries, renderEntry, allEntryLink, settings, allEntryLabel, showControlButtons, ariaLabel, ariaLabelledBy, }: NsCarouselProps<T>): ReactElement;
710
+ declare function NsCarousel<T = unknown>({ entries, renderEntry, allEntryLink, settings, allEntryLabel, showControlButtons, ariaLabel, ariaLabelledBy, }: Readonly<NsCarouselProps<T>>): ReactElement;
711
711
 
712
712
  declare const NsScrollingCarousel: <T>({ slides, scrollSeconds, stillSeconds, renderSlide, settings, dotsBottomPixel, additionalProps, }: NsScrollingCarouselProps<T>) => ReactElement;
713
713