Skip to content

Commit

Permalink
react-accordion: remove star exports (#22682)
Browse files Browse the repository at this point in the history
  • Loading branch information
spmonahan authored Apr 28, 2022
1 parent 1d26c2e commit 84cf59c
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "remove star exports",
"packageName": "@fluentui/react-accordion",
"email": "[email protected]",
"dependentChangeType": "patch"
}
75 changes: 71 additions & 4 deletions packages/react-accordion/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,71 @@
export * from './Accordion';
export * from './AccordionItem';
export * from './AccordionHeader';
export * from './AccordionPanel';
export {
Accordion,
AccordionContext,
// eslint-disable-next-line deprecation/deprecation
accordionClassName,
accordionClassNames,
renderAccordion_unstable,
useAccordionContextValues_unstable,
useAccordionStyles_unstable,
useAccordion_unstable,
} from './Accordion';
export type {
AccordionContextValue,
AccordionContextValues,
AccordionIndex,
AccordionProps,
AccordionSlots,
AccordionState,
AccordionToggleData,
AccordionToggleEvent,
AccordionToggleEventHandler,
} from './Accordion';
export {
AccordionItem,
AccordionItemContext,
// eslint-disable-next-line deprecation/deprecation
accordionItemClassName,
accordionItemClassNames,
renderAccordionItem_unstable,
useAccordionItemContextValues_unstable,
useAccordionItemContext_unstable,
useAccordionItemStyles_unstable,
useAccordionItem_unstable,
} from './AccordionItem';
export type {
AccordionItemContextValue,
AccordionItemContextValues,
AccordionItemProps,
AccordionItemSlots,
AccordionItemState,
AccordionItemValue,
} from './AccordionItem';
export {
AccordionHeader,
// eslint-disable-next-line deprecation/deprecation
accordionHeaderClassName,
accordionHeaderClassNames,
renderAccordionHeader_unstable,
useAccordionHeaderContextValues_unstable,
useAccordionHeaderStyles_unstable,
useAccordionHeader_unstable,
} from './AccordionHeader';
export type {
AccordionHeaderContextValue,
AccordionHeaderContextValues,
AccordionHeaderExpandIconPosition,
AccordionHeaderProps,
AccordionHeaderSize,
AccordionHeaderSlots,
AccordionHeaderState,
} from './AccordionHeader';
export {
AccordionPanel,
// eslint-disable-next-line deprecation/deprecation
accordionPanelClassName,
accordionPanelClassNames,
renderAccordionPanel_unstable,
useAccordionPanelStyles_unstable,
useAccordionPanel_unstable,
} from './AccordionPanel';
export type { AccordionPanelProps, AccordionPanelSlots, AccordionPanelState } from './AccordionPanel';

0 comments on commit 84cf59c

Please sign in to comment.