Skip to content

Commit 3d35159

Browse files
committed
Remove storybook changes (for now)
1 parent cd1ec7a commit 3d35159

File tree

7 files changed

+1
-1109
lines changed

7 files changed

+1
-1109
lines changed

change/@fluentui-react-storybook-addon-c9a2a07b-3285-40b5-820a-ddcb8b185189.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/react-components/react-storybook-addon/etc/react-storybook-addon.api.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ export const themes: readonly [{
8383
}, {
8484
readonly id: "teams-high-contrast";
8585
readonly label: "Teams High Contrast";
86-
}, {
87-
readonly id: "semantic-kumo";
88-
readonly label: "Semantic Kumo (Experimental)";
8986
}];
9087

9188
// (No @packageDocumentation comment for this package)

packages/react-components/react-storybook-addon/src/decorators/withFluentProvider.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { defaultTheme, ThemeIds } from '../theme';
1616
import { DIR_ID, THEME_ID } from '../constants';
1717
import { FluentStoryContext } from '../hooks';
1818
import { isDecoratorDisabled } from '../utils/isDecoratorDisabled';
19-
import { SEMANTIC_STYLE_HOOKS } from '@fluentui/semantic-style-hooks-preview';
2019

2120
const themes: Record<ThemeIds, Theme> = {
2221
'web-light': webLightTheme,
@@ -47,7 +46,7 @@ export const withFluentProvider = (StoryFn: () => JSXElement, context: FluentSto
4746
const theme = paramTheme ?? globalTheme ?? themes[defaultTheme.id];
4847

4948
return (
50-
<FluentProvider theme={theme} dir={dir} customStyleHooks_unstable={SEMANTIC_STYLE_HOOKS}>
49+
<FluentProvider theme={theme} dir={dir}>
5150
{isVrTest ? StoryFn() : <FluentExampleContainer theme={theme}>{StoryFn()}</FluentExampleContainer>}
5251
</FluentProvider>
5352
);

packages/semantic-tokens/etc/semantic-tokens.api.md

Lines changed: 0 additions & 542 deletions
Large diffs are not rendered by default.

packages/semantic-tokens/scripts/tokenGen.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -309,13 +309,6 @@ const generateTokenVariables = () => {
309309
});
310310
}
311311

312-
// TODO: Remove this before merging to master
313-
const kumoThemePath = './themes/kumoTheme';
314-
indexSourceFile.addExportDeclaration({
315-
namedExports: ['kumoSemanticTokens'],
316-
moduleSpecifier: kumoThemePath,
317-
});
318-
319312
const rawText = indexSourceFile.getText();
320313
const formattedText = format(rawText, {
321314
parser: 'typescript',

packages/semantic-tokens/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2003,4 +2003,3 @@ export {
20032003
_nullBackgroundColorHover,
20042004
_nullBackgroundColorPressed,
20052005
} from './legacyVariant/tokens';
2006-
export { kumoSemanticTokens } from './themes/kumoTheme';

packages/semantic-tokens/src/themes/kumoTheme.ts

Lines changed: 0 additions & 547 deletions
This file was deleted.

0 commit comments

Comments
 (0)