@lumx/react 2.2.10 → 2.2.12-alpha.2

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/types.d.ts CHANGED
@@ -1171,8 +1171,8 @@ export interface IconProps extends GenericProps {
1171
1171
  /** Whether the icon has a shape. */
1172
1172
  hasShape?: boolean;
1173
1173
  /**
1174
- * Icon (SVG path).draw code (`d` property of the `<path>` SVG element).
1175
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths}
1174
+ * Icon (SVG path) draw code (`d` property of the `<path>` SVG element).
1175
+ * See https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
1176
1176
  */
1177
1177
  icon: string;
1178
1178
  /** Size variant. */
@@ -2164,10 +2164,10 @@ export interface UseSlideshowControls {
2164
2164
  isAutoPlaying: boolean;
2165
2165
  /** whether the slideshow was force paused or not */
2166
2166
  isForcePaused: boolean;
2167
- /** callback to enable/disable the force pause feature */
2168
- setIsForcePaused: (isForcePaused: boolean) => void;
2169
2167
  /** callback to change whether the slideshow is autoplaying or not */
2170
- setIsAutoPlaying: (isAutoPlaying: boolean) => void;
2168
+ toggleAutoPlay: () => void;
2169
+ /** calback to change whether the slideshow should be force paused or not */
2170
+ toggleForcePause: () => void;
2171
2171
  /** current active slide index */
2172
2172
  activeIndex: number;
2173
2173
  /** set the current index as the active one */
@@ -2230,11 +2230,7 @@ export interface SlidesProps extends GenericProps {
2230
2230
  /** id to be passed in into the slides */
2231
2231
  slidesId?: string;
2232
2232
  /** callback to change whether the slideshow is playing or not */
2233
- setIsAutoPlaying: (isAutoPlaying: boolean) => void;
2234
- /** starting visible index */
2235
- startIndexVisible: number;
2236
- /** ending visible index */
2237
- endIndexVisible: number;
2233
+ toggleAutoPlay: () => void;
2238
2234
  /** component to be rendered after the slides */
2239
2235
  afterSlides?: React.ReactNode;
2240
2236
  }