@storybook/addon-links 7.6.3 → 8.0.0-alpha.1
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 +1 -2
- package/dist/index.js +12 -5
- package/dist/react/index.js +12 -4
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as lib_preview_api_dist_addons from '@storybook/preview-api/dist/addons';
|
|
2
1
|
import { C as ComponentTitle, a as StoryName, b as StoryId, S as StoryKind } from './index.d-3adcfc00.js';
|
|
3
2
|
|
|
4
3
|
interface ParamsId {
|
|
@@ -13,7 +12,7 @@ interface ParamsCombo {
|
|
|
13
12
|
declare const navigate: (params: ParamsId | ParamsCombo) => void;
|
|
14
13
|
declare const hrefTo: (title: ComponentTitle, name: StoryName) => Promise<string>;
|
|
15
14
|
declare const linkTo: (idOrTitle: string | ((...args: any[]) => string), nameInput?: string | ((...args: any[]) => string) | undefined) => (...args: any[]) => void;
|
|
16
|
-
declare const withLinks:
|
|
15
|
+
declare const withLinks: (...args: any) => any;
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
* @deprecated please import this specific function from @storybook/addon-links/react
|