Skip to content

Commit

Permalink
Revert "Remove use client from Base UI index files"
Browse files Browse the repository at this point in the history
This reverts commit 3874182.
  • Loading branch information
mj12albert committed Sep 19, 2023
1 parent 736fcd8 commit 2ba6d61
Show file tree
Hide file tree
Showing 44 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/mui-base/src/Badge/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Badge } from './Badge';
export * from './Badge.types';
export * from './badgeClasses';
1 change: 1 addition & 0 deletions packages/mui-base/src/Button/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Button } from './Button';

export * from './buttonClasses';
Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/Input/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Input } from './Input';

export * from './Input.types';
Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/MenuButton/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { MenuButton } from './MenuButton';
export * from './MenuButton.types';

Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/MultiSelect/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
'use client';
export { MultiSelect } from './MultiSelect';
1 change: 1 addition & 0 deletions packages/mui-base/src/NoSsr/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { NoSsr } from './NoSsr';
export * from './NoSsr.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/Option/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Option } from './Option';

export * from './Option.types';
Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/OptionGroup/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { OptionGroup } from './OptionGroup';

export * from './OptionGroup.types';
Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/Popper/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Popper } from './Popper';
export type {
PopperPlacementType,
Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/Portal/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { Portal } from './Portal';
export * from './Portal.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/Select/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Select } from './Select';

export * from './selectClasses';
Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/Slider/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Slider } from './Slider';
export * from './Slider.types';
export * from './sliderClasses';
1 change: 1 addition & 0 deletions packages/mui-base/src/Snackbar/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Snackbar } from './Snackbar';

export * from './Snackbar.types';
Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/Switch/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Switch } from './Switch';
export * from './Switch.types';

Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/Tab/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Tab } from './Tab';
export * from './Tab.types';

Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/TabPanel/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { TabPanel } from './TabPanel';
export * from './TabPanel.types';

Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/TablePagination/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { TablePagination } from './TablePagination';
export * from './TablePagination.types';

Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/Tabs/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Tabs } from './Tabs';
export * from './TabsContext';
export * from './tabsClasses';
Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/TabsList/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { TabsList } from './TabsList';
export * from './TabsList.types';

Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/TextareaAutosize/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { TextareaAutosize } from './TextareaAutosize';
export * from './TextareaAutosize.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/Unstable_NumberInput/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { NumberInput as Unstable_NumberInput } from './NumberInput';
export * from './numberInputClasses';
export * from './NumberInput.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/Unstable_Popup/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { Popup as Unstable_Popup } from './Popup';
export * from './Popup.types';
export * from './popupClasses';
1 change: 1 addition & 0 deletions packages/mui-base/src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export * from './utils';
export * from './Badge';
export * from './Button';
Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/unstable_useModal/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { useModal as unstable_useModal } from './useModal';
export * from './useModal.types';
export * from './ModalManager';
1 change: 1 addition & 0 deletions packages/mui-base/src/unstable_useNumberInput/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { useNumberInput as unstable_useNumberInput } from './useNumberInput';
export * from './useNumberInput.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useAutocomplete/index.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
'use client';
export * from './useAutocomplete';
1 change: 1 addition & 0 deletions packages/mui-base/src/useBadge/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { useBadge } from './useBadge';
export * from './useBadge.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useButton/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { useButton } from './useButton';
export * from './useButton.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useDropdown/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export * from './useDropdown';
export * from './useDropdown.types';
export * from './DropdownContext';
1 change: 1 addition & 0 deletions packages/mui-base/src/useInput/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { useInput } from './useInput';

export * from './useInput.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useList/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { useList } from './useList';
export * from './useList.types';

Expand Down
1 change: 1 addition & 0 deletions packages/mui-base/src/useMenu/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { useMenu } from './useMenu';
export * from './useMenu.types';
export * from './MenuProvider';
1 change: 1 addition & 0 deletions packages/mui-base/src/useMenuButton/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { useMenuButton } from './useMenuButton';
export * from './useMenuButton.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useMenuItem/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { useMenuItem } from './useMenuItem';
export * from './useMenuItem.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useOption/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { useOption } from './useOption';
export * from './useOption.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useSelect/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { useSelect } from './useSelect';
export * from './useSelect.types';
export * from './SelectProvider';
1 change: 1 addition & 0 deletions packages/mui-base/src/useSlider/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export * from './useSlider';
export * from './useSlider.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useSnackbar/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { useSnackbar } from './useSnackbar';
export * from './useSnackbar.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useSwitch/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { useSwitch } from './useSwitch';
export * from './useSwitch.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useTab/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { useTab } from './useTab';
export * from './useTab.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useTabPanel/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
'use client';
export { useTabPanel } from './useTabPanel';
export * from './useTabPanel.types';
1 change: 1 addition & 0 deletions packages/mui-base/src/useTabs/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export * from './useTabs';
export * from './useTabs.types';
export * from './TabsProvider';
1 change: 1 addition & 0 deletions packages/mui-base/src/useTabsList/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { useTabsList } from './useTabsList';
export * from './useTabsList.types';
export * from './TabsListProvider';
1 change: 1 addition & 0 deletions packages/mui-base/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { appendOwnerState } from './appendOwnerState';
export { areArraysEqual } from './areArraysEqual';
export { ClassNameConfigurator } from './ClassNameConfigurator';
Expand Down

0 comments on commit 2ba6d61

Please sign in to comment.