Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { {{componentName}}Slots, {{componentName}}State } from './{{compone
import type { SlotClassNames } from '@fluentui/react-utilities';


export const {{componentNames.propertyName}}ClassName = 'fui-{{componentName}}'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should update the conformance tests so that this does not fail for folks creating new packages

expect(indexFile[exportName]).toBe(componentClassName);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tomi-msft just picked up the issue to remove the tests 😁

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll wait for @tomi-msft's PR to be merged before merging this one:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ling1726 The PR to remove the test is now merged

export const {{componentNames.propertyName}}ClassNames:SlotClassNames<{{componentName}}Slots> = {
root: 'fui-{{componentName}}'
// TODO: add class names for all slots on {{componentName}}Slots.
Expand Down