@nd-storybook/storybook 0.3.14 → 0.3.16

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
@@ -166,19 +166,18 @@ interface NavigationCardsProps {
166
166
  }
167
167
  declare function NavigationCards(props: NavigationCardsProps): react_jsx_runtime.JSX.Element;
168
168
 
169
+ interface TabItem {
170
+ href: string;
171
+ label: string;
172
+ }
169
173
  interface TabsProps {
170
- tabs: Array<{
171
- label: string;
172
- href?: string;
173
- id?: string;
174
- }>;
175
- activeIndex?: number;
176
- defaultActiveIndex?: number;
177
- onTabChange?: (index: number) => void;
178
- activeTabId?: string;
179
- device?: 'desktop' | 'mobile';
174
+ items: TabItem[];
175
+ active?: boolean;
176
+ backHref?: string;
177
+ currentLocation?: string;
178
+ mobileLayout?: 'vertical' | 'horizontal';
180
179
  }
181
- declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
180
+ declare const Tabs: react__default.FC<TabsProps>;
182
181
 
183
182
  interface FAQItem {
184
183
  id?: string;
@@ -282,14 +281,16 @@ interface ArticleCardProps {
282
281
  imageUrl?: string;
283
282
  articleType: string;
284
283
  heading: string;
285
- variant?: 'default' | 'de-nieuwe-koers' | 'video';
284
+ variant?: 'default' | 'de-nieuwe-koers' | 'video' | 'dnk-publications';
286
285
  isPremium?: boolean;
287
286
  href?: string;
288
287
  onClick?: (event: react__default.MouseEvent<HTMLAnchorElement>) => void;
289
288
  className?: string;
290
289
  videoDuration?: string;
290
+ publicationMonth?: string;
291
+ placeholderText?: string;
291
292
  }
292
- declare const ArticleCard: ({ imageUrl, articleType, heading, variant, isPremium, href, onClick, className, videoDuration, }: ArticleCardProps) => JSX.Element;
293
+ declare const ArticleCard: ({ imageUrl, articleType, heading, variant, isPremium, href, onClick, className, videoDuration, publicationMonth, placeholderText, }: ArticleCardProps) => JSX.Element;
293
294
 
294
295
  interface VideoConfig {
295
296
  apiEndpoint: string;
@@ -306,6 +307,8 @@ interface ArticleSliderProps {
306
307
  buttonUrl?: string;
307
308
  onButtonClick?: () => void;
308
309
  className?: string;
310
+ enableSelection?: boolean;
311
+ onArticleSelect?: (index: number) => void;
309
312
  }
310
313
  declare const ArticleSlider: react__default.FC<ArticleSliderProps>;
311
314