Skip to content

Commit 61e1363

Browse files
authored
Merge pull request #28524 from storybookjs/norbert/cpc-revert-addon-and-panel-renames
2 parents 7572a5e + 5174bd9 commit 61e1363

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

code/core/src/docs-tools/shared.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const ADDON_ID = '@storybook/core/docs';
1+
export const ADDON_ID = 'storybook/docs';
22
export const PANEL_ID = `${ADDON_ID}/panel`;
33
export const PARAM_KEY = `docs`;
44

code/core/src/manager-api/tests/layout.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -471,14 +471,14 @@ describe('layout API', () => {
471471
});
472472

473473
it('should set selectedPanel initially', () => {
474-
const panelName = '@storybook/core/a11y/panel';
474+
const panelName = 'storybook/a11y/panel';
475475
layoutApi.setOptions({ selectedPanel: panelName });
476476

477477
expect(getLastSetStateArgs()[0].selectedPanel).toEqual(panelName);
478478
});
479479

480480
it('should change selectedPanel if it is defined in the options and is different', () => {
481-
const panelName = '@storybook/core/a11y/panel';
481+
const panelName = 'storybook/a11y/panel';
482482
layoutApi.setOptions({});
483483
layoutApi.setOptions({ selectedPanel: panelName });
484484

0 commit comments

Comments
 (0)