Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove usage of "export *" [part 1] #33380

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