Skip to content

Commit

Permalink
chore: remove usage of "export *" [part 1]
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter committed Dec 2, 2024
1 parent 99e5e6a commit 8381314
Show file tree
Hide file tree
Showing 241 changed files with 934 additions and 669 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: remove usage of \"export *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"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 *\" [part 1]",
"packageName": "@fluentui/tokens",
"email": "[email protected]",
"dependentChangeType": "patch"
}
3 changes: 2 additions & 1 deletion packages/react-components/react-dialog/library/src/Dialog.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
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,2 @@
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,2 @@
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,2 @@
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,2 @@
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,2 @@
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,2 @@
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,5 @@
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,5 @@
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,6 @@
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,5 @@
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,4 @@
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,5 @@
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';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/List/index';
export type { ListContextValue, ListContextValues, ListNavigationMode, ListProps, ListSlots, ListState, OnListSelectionChangeData } from './components/List/index';
export { List, listClassNames, renderList_unstable, useListStyles_unstable, useList_unstable } from './components/List/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/ListItem/index';
export type { ListItemActionEventData, ListItemProps, ListItemSlots, ListItemState, ListItemValue } from './components/ListItem/index';
export { ListItem, listItemClassNames, renderListItem_unstable, useListItemStyles_unstable, useListItem_unstable } from './components/ListItem/index';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './List';
export * from './List.types';
export * from './renderList';
export * from './useList';
export * from './useListStyles.styles';
export { List } from './List';
export type { ListContextValue, ListContextValues, ListNavigationMode, ListProps, ListSlots, ListState, OnListSelectionChangeData } from './List.types';
export { renderList_unstable } from './renderList';
export { useList_unstable } from './useList';
export { listClassNames, useListStyles_unstable } from './useListStyles.styles';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './ListItem';
export * from './ListItem.types';
export * from './renderListItem';
export * from './useListItem';
export * from './useListItemStyles.styles';
export { ListItem } from './ListItem';
export type { ListItemActionEventData, ListItemProps, ListItemSlots, ListItemState, ListItemValue } from './ListItem.types';
export { renderListItem_unstable } from './renderListItem';
export { useListItem_unstable } from './useListItem';
export { listItemClassNames, useListItemStyles_unstable } from './useListItemStyles.styles';
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const useRootBaseStyles = makeResetStyles({
const useCheckmarkBaseStyles = makeStyles({
root: {
alignSelf: 'center',
//eslint-disable-next-line
'& .fui-Checkbox__indicator': { margin: '4px' },
},
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './useListSelection';
export { useListSelection } from './useListSelection';
3 changes: 2 additions & 1 deletion packages/react-components/react-menu/library/src/Menu.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/Menu/index';
export type { MenuContextValues, MenuOpenChangeData, MenuOpenEvent, MenuOpenEvents, MenuProps, MenuSlots, MenuState } from './components/Menu/index';
export { Menu, renderMenu_unstable, useMenuContextValues_unstable, useMenu_unstable } from './components/Menu/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuDivider/index';
export type { MenuDividerProps, MenuDividerSlots, MenuDividerState } from './components/MenuDivider/index';
export { MenuDivider, menuDividerClassNames, renderMenuDivider_unstable, useMenuDividerStyles_unstable, useMenuDivider_unstable } from './components/MenuDivider/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuGroup/index';
export type { MenuGroupContextValues, MenuGroupProps, MenuGroupSlots, MenuGroupState } from './components/MenuGroup/index';
export { MenuGroup, menuGroupClassNames, renderMenuGroup_unstable, useMenuGroupContextValues_unstable, useMenuGroupStyles_unstable, useMenuGroup_unstable } from './components/MenuGroup/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuGroupHeader/index';
export type { MenuGroupHeaderProps, MenuGroupHeaderSlots, MenuGroupHeaderState } from './components/MenuGroupHeader/index';
export { MenuGroupHeader, menuGroupHeaderClassNames, renderMenuGroupHeader_unstable, useMenuGroupHeaderStyles_unstable, useMenuGroupHeader_unstable } from './components/MenuGroupHeader/index';
3 changes: 2 additions & 1 deletion packages/react-components/react-menu/library/src/MenuItem.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuItem/index';
export type { MenuItemProps, MenuItemSlots, MenuItemState } from './components/MenuItem/index';
export { MenuItem, menuItemClassNames, renderMenuItem_unstable, useMenuItemStyles_unstable, useMenuItem_unstable } from './components/MenuItem/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuItemCheckbox/index';
export type { MenuItemCheckboxProps, MenuItemCheckboxState } from './components/MenuItemCheckbox/index';
export { MenuItemCheckbox, menuItemCheckboxClassNames, renderMenuItemCheckbox_unstable, useMenuItemCheckboxStyles_unstable, useMenuItemCheckbox_unstable } from './components/MenuItemCheckbox/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuItemLink/index';
export type { MenuItemLinkProps, MenuItemLinkSlots, MenuItemLinkState } from './components/MenuItemLink/index';
export { MenuItemLink, menuItemLinkClassNames, renderMenuItemLink_unstable, useMenuItemLinkStyles_unstable, useMenuItemLink_unstable } from './components/MenuItemLink/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuItemRadio/index';
export type { MenuItemRadioProps, MenuItemRadioState } from './components/MenuItemRadio/index';
export { MenuItemRadio, menuItemRadioClassNames, renderMenuItemRadio_unstable, useMenuItemRadioStyles_unstable, useMenuItemRadio_unstable } from './components/MenuItemRadio/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuItemSwitch/index';
export type { MenuItemSwitchProps, MenuItemSwitchSlots, MenuItemSwitchState } from './components/MenuItemSwitch/index';
export { MenuItemSwitch, circleFilledClassName, menuItemSwitchClassNames, renderMenuItemSwitch_unstable, useMenuItemSwitchStyles_unstable, useMenuItemSwitch_unstable } from './components/MenuItemSwitch/index';
3 changes: 2 additions & 1 deletion packages/react-components/react-menu/library/src/MenuList.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuList/index';
export type { MenuCheckedValueChangeData, MenuCheckedValueChangeEvent, MenuListContextValues, MenuListProps, MenuListSlots, MenuListState, UninitializedMenuListState } from './components/MenuList/index';
export { MenuList, menuListClassNames, renderMenuList_unstable, useMenuListContextValues_unstable, useMenuListStyles_unstable, useMenuList_unstable } from './components/MenuList/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuPopover/index';
export type { MenuPopoverProps, MenuPopoverSlots, MenuPopoverState } from './components/MenuPopover/index';
export { MenuPopover, menuPopoverClassNames, renderMenuPopover_unstable, useMenuPopoverStyles_unstable, useMenuPopover_unstable } from './components/MenuPopover/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuSplitGroup/index';
export type { MenuSplitGroupProps, MenuSplitGroupSlots, MenuSplitGroupState } from './components/MenuSplitGroup/index';
export { MenuSplitGroup, menuSplitGroupClassNames, renderMenuSplitGroup_unstable, useMenuSplitGroupStyles_unstable, useMenuSplitGroup_unstable } from './components/MenuSplitGroup/index';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components/MenuTrigger/index';
export type { MenuTriggerChildProps, MenuTriggerProps, MenuTriggerState } from './components/MenuTrigger/index';
export { MenuTrigger, renderMenuTrigger_unstable, useMenuTrigger_unstable } from './components/MenuTrigger/index';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './Menu';
export * from './Menu.types';
export * from './renderMenu';
export * from './useMenu';
export * from './useMenuContextValues';
export { Menu } from './Menu';
export type { MenuContextValues, MenuOpenChangeData, MenuOpenEvent, MenuOpenEvents, MenuProps, MenuSlots, MenuState } from './Menu.types';
export { renderMenu_unstable } from './renderMenu';
export { useMenu_unstable } from './useMenu';
export { useMenuContextValues_unstable } from './useMenuContextValues';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './MenuDivider.types';
export * from './MenuDivider';
export * from './renderMenuDivider';
export * from './useMenuDivider';
export * from './useMenuDividerStyles.styles';
export type { MenuDividerProps, MenuDividerSlots, MenuDividerState } from './MenuDivider.types';
export { MenuDivider } from './MenuDivider';
export { renderMenuDivider_unstable } from './renderMenuDivider';
export { useMenuDivider_unstable } from './useMenuDivider';
export { menuDividerClassNames, useMenuDividerStyles_unstable } from './useMenuDividerStyles.styles';
Loading

0 comments on commit 8381314

Please sign in to comment.