@nd-storybook/storybook 0.3.13 → 0.3.15

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.ts CHANGED
@@ -282,23 +282,34 @@ interface ArticleCardProps {
282
282
  imageUrl?: string;
283
283
  articleType: string;
284
284
  heading: string;
285
- variant?: 'default' | 'de-nieuwe-koers' | 'video';
285
+ variant?: 'default' | 'de-nieuwe-koers' | 'video' | 'dnk-publications';
286
286
  isPremium?: boolean;
287
287
  href?: string;
288
288
  onClick?: (event: react__default.MouseEvent<HTMLAnchorElement>) => void;
289
289
  className?: string;
290
290
  videoDuration?: string;
291
+ publicationMonth?: string;
292
+ placeholderText?: string;
291
293
  }
292
- declare const ArticleCard: ({ imageUrl, articleType, heading, variant, isPremium, href, onClick, className, videoDuration, }: ArticleCardProps) => JSX.Element;
294
+ declare const ArticleCard: ({ imageUrl, articleType, heading, variant, isPremium, href, onClick, className, videoDuration, publicationMonth, placeholderText, }: ArticleCardProps) => JSX.Element;
293
295
 
296
+ interface VideoConfig {
297
+ apiEndpoint: string;
298
+ channelId?: string;
299
+ playlistId?: string;
300
+ maxResults?: number;
301
+ }
294
302
  interface ArticleSliderProps {
295
- articles: ArticleCardProps[];
303
+ articles?: ArticleCardProps[];
304
+ videoConfig?: VideoConfig;
296
305
  title?: string;
297
306
  showButton?: boolean;
298
307
  buttonLabel?: string;
299
308
  buttonUrl?: string;
300
309
  onButtonClick?: () => void;
301
310
  className?: string;
311
+ enableSelection?: boolean;
312
+ onArticleSelect?: (index: number) => void;
302
313
  }
303
314
  declare const ArticleSlider: react__default.FC<ArticleSliderProps>;
304
315