Skip to content

Commit 7d36e3a

Browse files
committed
chore: remove usage of "export *" [part 1]
1 parent 7e9766f commit 7d36e3a

File tree

243 files changed

+2217
-675
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+2217
-675
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-dialog",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-list-preview",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-menu",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-message-bar",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-motion-components-preview",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-popover",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-portal",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-positioning",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-provider",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-shared-contexts",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-table",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-tabster",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-tag-picker",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-tags",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-timepicker-compat",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-toast",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-toolbar",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-tree",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/react-utilities",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "chore: remove usage of \"export *\" ",
4+
"packageName": "@fluentui/tokens",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
export * from './components/Dialog/index';
1+
export type {
2+
DialogContextValues,
3+
DialogModalType,
4+
DialogOpenChangeData,
5+
DialogOpenChangeEvent,
6+
DialogOpenChangeEventHandler,
7+
DialogProps,
8+
DialogSlots,
9+
DialogState,
10+
InternalDialogSlots,
11+
} from './components/Dialog/index';
12+
export {
13+
Dialog,
14+
renderDialog_unstable,
15+
useDialogContextValues_unstable,
16+
useDialog_unstable,
17+
} from './components/Dialog/index';
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
export * from './components/DialogActions/index';
1+
export type {
2+
DialogActionsPosition,
3+
DialogActionsProps,
4+
DialogActionsSlots,
5+
DialogActionsState,
6+
} from './components/DialogActions/index';
7+
export {
8+
DialogActions,
9+
dialogActionsClassNames,
10+
renderDialogActions_unstable,
11+
useDialogActionsStyles_unstable,
12+
useDialogActions_unstable,
13+
} from './components/DialogActions/index';
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
export * from './components/DialogBody/index';
1+
export type { DialogBodyProps, DialogBodySlots, DialogBodyState } from './components/DialogBody/index';
2+
export {
3+
DialogBody,
4+
dialogBodyClassNames,
5+
renderDialogBody_unstable,
6+
useDialogBodyStyles_unstable,
7+
useDialogBody_unstable,
8+
} from './components/DialogBody/index';
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
export * from './components/DialogContent/index';
1+
export type { DialogContentProps, DialogContentSlots, DialogContentState } from './components/DialogContent/index';
2+
export {
3+
DialogContent,
4+
dialogContentClassNames,
5+
renderDialogContent_unstable,
6+
useDialogContentStyles_unstable,
7+
useDialogContent_unstable,
8+
} from './components/DialogContent/index';
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
export * from './components/DialogSurface/index';
1+
export type {
2+
DialogSurfaceContextValues,
3+
DialogSurfaceElement,
4+
DialogSurfaceProps,
5+
DialogSurfaceSlots,
6+
DialogSurfaceState,
7+
} from './components/DialogSurface/index';
8+
export {
9+
DialogSurface,
10+
dialogSurfaceClassNames,
11+
renderDialogSurface_unstable,
12+
useDialogSurfaceContextValues_unstable,
13+
useDialogSurfaceStyles_unstable,
14+
useDialogSurface_unstable,
15+
} from './components/DialogSurface/index';
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
export * from './components/DialogTitle/index';
1+
export type { DialogTitleProps, DialogTitleSlots, DialogTitleState } from './components/DialogTitle/index';
2+
export {
3+
DialogTitle,
4+
dialogTitleClassNames,
5+
renderDialogTitle_unstable,
6+
useDialogTitleInternalStyles,
7+
useDialogTitleStyles_unstable,
8+
useDialogTitle_unstable,
9+
} from './components/DialogTitle/index';
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
export * from './components/DialogTrigger/index';
1+
export type {
2+
DialogTriggerAction,
3+
DialogTriggerChildProps,
4+
DialogTriggerProps,
5+
DialogTriggerState,
6+
} from './components/DialogTrigger/index';
7+
export {
8+
DialogTrigger,
9+
renderDialogTrigger_unstable,
10+
useDialogTrigger_unstable,
11+
} from './components/DialogTrigger/index';
Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
export * from './Dialog';
2-
export * from './Dialog.types';
3-
export * from './renderDialog';
4-
export * from './useDialog';
5-
export * from './useDialogContextValues';
1+
export { Dialog } from './Dialog';
2+
export type {
3+
DialogContextValues,
4+
DialogModalType,
5+
DialogOpenChangeData,
6+
DialogOpenChangeEvent,
7+
DialogOpenChangeEventHandler,
8+
DialogProps,
9+
DialogSlots,
10+
DialogState,
11+
InternalDialogSlots,
12+
} from './Dialog.types';
13+
export { renderDialog_unstable } from './renderDialog';
14+
export { useDialog_unstable } from './useDialog';
15+
export { useDialogContextValues_unstable } from './useDialogContextValues';
Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
export * from './DialogActions';
2-
export * from './DialogActions.types';
3-
export * from './renderDialogActions';
4-
export * from './useDialogActions';
5-
export * from './useDialogActionsStyles.styles';
1+
export { DialogActions } from './DialogActions';
2+
export type {
3+
DialogActionsPosition,
4+
DialogActionsProps,
5+
DialogActionsSlots,
6+
DialogActionsState,
7+
} from './DialogActions.types';
8+
export { renderDialogActions_unstable } from './renderDialogActions';
9+
export { useDialogActions_unstable } from './useDialogActions';
10+
export { dialogActionsClassNames, useDialogActionsStyles_unstable } from './useDialogActionsStyles.styles';
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export * from './DialogBody';
2-
export * from './DialogBody.types';
3-
export * from './renderDialogBody';
4-
export * from './useDialogBody';
5-
export * from './useDialogBodyStyles.styles';
1+
export { DialogBody } from './DialogBody';
2+
export type { DialogBodyProps, DialogBodySlots, DialogBodyState } from './DialogBody.types';
3+
export { renderDialogBody_unstable } from './renderDialogBody';
4+
export { useDialogBody_unstable } from './useDialogBody';
5+
export { dialogBodyClassNames, useDialogBodyStyles_unstable } from './useDialogBodyStyles.styles';
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export * from './DialogContent';
2-
export * from './DialogContent.types';
3-
export * from './renderDialogContent';
4-
export * from './useDialogContent';
5-
export * from './useDialogContentStyles.styles';
1+
export { DialogContent } from './DialogContent';
2+
export type { DialogContentProps, DialogContentSlots, DialogContentState } from './DialogContent.types';
3+
export { renderDialogContent_unstable } from './renderDialogContent';
4+
export { useDialogContent_unstable } from './useDialogContent';
5+
export { dialogContentClassNames, useDialogContentStyles_unstable } from './useDialogContentStyles.styles';
Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
export * from './DialogSurface';
2-
export * from './DialogSurface.types';
3-
export * from './renderDialogSurface';
4-
export * from './useDialogSurface';
5-
export * from './useDialogSurfaceStyles.styles';
6-
export * from './useDialogSurfaceContextValues';
1+
export { DialogSurface } from './DialogSurface';
2+
export type {
3+
DialogSurfaceContextValues,
4+
DialogSurfaceElement,
5+
DialogSurfaceProps,
6+
DialogSurfaceSlots,
7+
DialogSurfaceState,
8+
} from './DialogSurface.types';
9+
export { renderDialogSurface_unstable } from './renderDialogSurface';
10+
export { useDialogSurface_unstable } from './useDialogSurface';
11+
export { dialogSurfaceClassNames, useDialogSurfaceStyles_unstable } from './useDialogSurfaceStyles.styles';
12+
export { useDialogSurfaceContextValues_unstable } from './useDialogSurfaceContextValues';
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
export * from './DialogTitle';
2-
export * from './DialogTitle.types';
3-
export * from './renderDialogTitle';
4-
export * from './useDialogTitle';
5-
export * from './useDialogTitleStyles.styles';
1+
export { DialogTitle } from './DialogTitle';
2+
export type { DialogTitleProps, DialogTitleSlots, DialogTitleState } from './DialogTitle.types';
3+
export { renderDialogTitle_unstable } from './renderDialogTitle';
4+
export { useDialogTitle_unstable } from './useDialogTitle';
5+
export {
6+
dialogTitleClassNames,
7+
useDialogTitleInternalStyles,
8+
useDialogTitleStyles_unstable,
9+
} from './useDialogTitleStyles.styles';
Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
export * from './DialogTrigger';
2-
export * from './DialogTrigger.types';
3-
export * from './renderDialogTrigger';
4-
export * from './useDialogTrigger';
1+
export { DialogTrigger } from './DialogTrigger';
2+
export type {
3+
DialogTriggerAction,
4+
DialogTriggerChildProps,
5+
DialogTriggerProps,
6+
DialogTriggerState,
7+
} from './DialogTrigger.types';
8+
export { renderDialogTrigger_unstable } from './renderDialogTrigger';
9+
export { useDialogTrigger_unstable } from './useDialogTrigger';
Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1-
export * from './constants';
2-
export * from './dialogContext';
3-
export * from './dialogSurfaceContext';
1+
export {
2+
DIALOG_GAP,
3+
FULLSCREEN_DIALOG_SCROLLBAR_OFFSET,
4+
MEDIA_QUERY_BREAKPOINT_SELECTOR,
5+
MEDIA_QUERY_SHORT_SCREEN,
6+
SURFACE_BORDER_WIDTH,
7+
SURFACE_PADDING,
8+
} from './constants';
9+
export type { DialogContextValue } from './dialogContext';
10+
export { DialogContext, DialogProvider, useDialogContext_unstable } from './dialogContext';
11+
export type { DialogSurfaceContextValue } from './dialogSurfaceContext';
12+
export { DialogSurfaceContext, DialogSurfaceProvider, useDialogSurfaceContext_unstable } from './dialogSurfaceContext';
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from './useDisableBodyScroll';
2-
export * from './useFocusFirstElement';
1+
export { useDisableBodyScroll } from './useDisableBodyScroll';
2+
export { useFocusFirstElement } from './useFocusFirstElement';

0 commit comments

Comments
 (0)