@nd-storybook/storybook 0.3.14 → 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.cjs.js +23 -23
- package/dist/index.d.ts +6 -2
- package/dist/index.es.js +1024 -994
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -282,14 +282,16 @@ 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
|
|
|
294
296
|
interface VideoConfig {
|
|
295
297
|
apiEndpoint: string;
|
|
@@ -306,6 +308,8 @@ interface ArticleSliderProps {
|
|
|
306
308
|
buttonUrl?: string;
|
|
307
309
|
onButtonClick?: () => void;
|
|
308
310
|
className?: string;
|
|
311
|
+
enableSelection?: boolean;
|
|
312
|
+
onArticleSelect?: (index: number) => void;
|
|
309
313
|
}
|
|
310
314
|
declare const ArticleSlider: react__default.FC<ArticleSliderProps>;
|
|
311
315
|
|