diff --git a/.eslintignore b/.eslintignore index 9a58941c035a16..0349804bb8f298 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,6 +1,5 @@ /.git /.yarn -/benchmark/**/dist /coverage /docs/export /docs/pages/playground/ @@ -29,6 +28,7 @@ /tmp .next build +dist node_modules .nyc_output pnpm-lock.yaml diff --git a/.eslintrc.js b/.eslintrc.js index 8bcf960100b1ee..8c828c846ffa23 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -223,6 +223,11 @@ module.exports = { selector: 'ImportDeclaration[source.value="react-dom/server"] ImportDefaultSpecifier, ImportDeclaration[source.value="react-dom/server"] ImportSpecifier', }, + { + message: + "The 'use client' pragma can't be used with export * in the same module. This is not supported by Next.js.", + selector: 'ExpressionStatement[expression.value="use client"] ~ ExportAllDeclaration', + }, ], // We re-export default in many places, remove when https://github.com/airbnb/javascript/issues/2500 gets resolved diff --git a/.gitignore b/.gitignore index 5fcf6bd0abd819..dc961ae3ca71b7 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,6 @@ *.tsbuildinfo /.eslintcache /.nyc_output -/benchmark/**/dist /coverage /docs/.env.local /docs/export @@ -34,6 +33,7 @@ # created by netlify dev (to perform local debug) .netlify build +dist node_modules package-lock.json size-snapshot.json diff --git a/packages/mui-base/src/Badge/index.ts b/packages/mui-base/src/Badge/index.ts index b208878eab3a79..8ffeb88dbba238 100644 --- a/packages/mui-base/src/Badge/index.ts +++ b/packages/mui-base/src/Badge/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Badge } from './Badge'; export * from './Badge.types'; export * from './badgeClasses'; diff --git a/packages/mui-base/src/Button/index.ts b/packages/mui-base/src/Button/index.ts index e5bd68604d8616..d23520e56dc38a 100644 --- a/packages/mui-base/src/Button/index.ts +++ b/packages/mui-base/src/Button/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Button } from './Button'; export * from './buttonClasses'; diff --git a/packages/mui-base/src/Input/index.ts b/packages/mui-base/src/Input/index.ts index 01badf40652a64..a803fa5897284e 100644 --- a/packages/mui-base/src/Input/index.ts +++ b/packages/mui-base/src/Input/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Input } from './Input'; export * from './Input.types'; diff --git a/packages/mui-base/src/MenuButton/index.ts b/packages/mui-base/src/MenuButton/index.ts index 721bc436d4aa5f..fcc222955256b7 100644 --- a/packages/mui-base/src/MenuButton/index.ts +++ b/packages/mui-base/src/MenuButton/index.ts @@ -1,4 +1,3 @@ -'use client'; export { MenuButton } from './MenuButton'; export * from './MenuButton.types'; diff --git a/packages/mui-base/src/MenuItem/index.ts b/packages/mui-base/src/MenuItem/index.ts index c24ff54e41ae15..0adb1f3669a266 100644 --- a/packages/mui-base/src/MenuItem/index.ts +++ b/packages/mui-base/src/MenuItem/index.ts @@ -1,4 +1,3 @@ -'use client'; export * from './MenuItem'; export * from './MenuItem.types'; export * from './menuItemClasses'; diff --git a/packages/mui-base/src/MultiSelect/index.ts b/packages/mui-base/src/MultiSelect/index.ts index 0cefde7155a3f5..7140f36c68d271 100644 --- a/packages/mui-base/src/MultiSelect/index.ts +++ b/packages/mui-base/src/MultiSelect/index.ts @@ -1,2 +1 @@ -'use client'; export { MultiSelect } from './MultiSelect'; diff --git a/packages/mui-base/src/NoSsr/index.ts b/packages/mui-base/src/NoSsr/index.ts index f13019fe10e496..546b249ab2a159 100644 --- a/packages/mui-base/src/NoSsr/index.ts +++ b/packages/mui-base/src/NoSsr/index.ts @@ -1,3 +1,2 @@ -'use client'; export { NoSsr } from './NoSsr'; export * from './NoSsr.types'; diff --git a/packages/mui-base/src/Option/index.ts b/packages/mui-base/src/Option/index.ts index 511389be308354..c941281acc7684 100644 --- a/packages/mui-base/src/Option/index.ts +++ b/packages/mui-base/src/Option/index.ts @@ -1,4 +1,3 @@ -'use client'; export * from './Option'; export * from './Option.types'; export * from './optionClasses'; diff --git a/packages/mui-base/src/OptionGroup/index.ts b/packages/mui-base/src/OptionGroup/index.ts index a75ed89f2baa42..3a0f78ea6341fd 100644 --- a/packages/mui-base/src/OptionGroup/index.ts +++ b/packages/mui-base/src/OptionGroup/index.ts @@ -1,4 +1,3 @@ -'use client'; export { OptionGroup } from './OptionGroup'; export * from './OptionGroup.types'; diff --git a/packages/mui-base/src/Popper/index.ts b/packages/mui-base/src/Popper/index.ts index 7ebed8baf38471..d03b4dee371934 100644 --- a/packages/mui-base/src/Popper/index.ts +++ b/packages/mui-base/src/Popper/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Popper } from './Popper'; export type { PopperPlacementType, diff --git a/packages/mui-base/src/Portal/index.ts b/packages/mui-base/src/Portal/index.ts index 96ba019d5a6662..605321409b2dfb 100644 --- a/packages/mui-base/src/Portal/index.ts +++ b/packages/mui-base/src/Portal/index.ts @@ -1,3 +1,2 @@ -'use client'; export { Portal } from './Portal'; export * from './Portal.types'; diff --git a/packages/mui-base/src/Select/index.ts b/packages/mui-base/src/Select/index.ts index c5bdc3eed2e5e8..02dc19409172f0 100644 --- a/packages/mui-base/src/Select/index.ts +++ b/packages/mui-base/src/Select/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Select } from './Select'; export * from './selectClasses'; diff --git a/packages/mui-base/src/Slider/index.ts b/packages/mui-base/src/Slider/index.ts index 8471da75345a5d..9f88f0dea704f4 100644 --- a/packages/mui-base/src/Slider/index.ts +++ b/packages/mui-base/src/Slider/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Slider } from './Slider'; export * from './Slider.types'; export * from './sliderClasses'; diff --git a/packages/mui-base/src/Snackbar/index.ts b/packages/mui-base/src/Snackbar/index.ts index 7f109fda1d2aa8..69928fa25e7e3c 100644 --- a/packages/mui-base/src/Snackbar/index.ts +++ b/packages/mui-base/src/Snackbar/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Snackbar } from './Snackbar'; export * from './Snackbar.types'; diff --git a/packages/mui-base/src/Switch/index.ts b/packages/mui-base/src/Switch/index.ts index 6eced9996c3933..262700928a490b 100644 --- a/packages/mui-base/src/Switch/index.ts +++ b/packages/mui-base/src/Switch/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Switch } from './Switch'; export * from './Switch.types'; diff --git a/packages/mui-base/src/Tab/index.ts b/packages/mui-base/src/Tab/index.ts index 57e49f6c0a3301..1bcbf62239164f 100644 --- a/packages/mui-base/src/Tab/index.ts +++ b/packages/mui-base/src/Tab/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Tab } from './Tab'; export * from './Tab.types'; diff --git a/packages/mui-base/src/TabPanel/index.ts b/packages/mui-base/src/TabPanel/index.ts index bb4daa1483deff..fe6efbb02f7582 100644 --- a/packages/mui-base/src/TabPanel/index.ts +++ b/packages/mui-base/src/TabPanel/index.ts @@ -1,4 +1,3 @@ -'use client'; export { TabPanel } from './TabPanel'; export * from './TabPanel.types'; diff --git a/packages/mui-base/src/TablePagination/index.ts b/packages/mui-base/src/TablePagination/index.ts index b816f218d6fb28..5df389b39e3838 100644 --- a/packages/mui-base/src/TablePagination/index.ts +++ b/packages/mui-base/src/TablePagination/index.ts @@ -1,4 +1,3 @@ -'use client'; export { TablePagination } from './TablePagination'; export * from './TablePagination.types'; diff --git a/packages/mui-base/src/Tabs/index.ts b/packages/mui-base/src/Tabs/index.ts index abc967c576aee4..74e3bbc11c5901 100644 --- a/packages/mui-base/src/Tabs/index.ts +++ b/packages/mui-base/src/Tabs/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Tabs } from './Tabs'; export * from './TabsContext'; export * from './tabsClasses'; diff --git a/packages/mui-base/src/TabsList/index.ts b/packages/mui-base/src/TabsList/index.ts index 2828f9b042908b..949c40dd684d5d 100644 --- a/packages/mui-base/src/TabsList/index.ts +++ b/packages/mui-base/src/TabsList/index.ts @@ -1,4 +1,3 @@ -'use client'; export { TabsList } from './TabsList'; export * from './TabsList.types'; diff --git a/packages/mui-base/src/TextareaAutosize/index.ts b/packages/mui-base/src/TextareaAutosize/index.ts index 50814f03aacbaf..db9394e5a772c2 100644 --- a/packages/mui-base/src/TextareaAutosize/index.ts +++ b/packages/mui-base/src/TextareaAutosize/index.ts @@ -1,3 +1,2 @@ -'use client'; export { TextareaAutosize } from './TextareaAutosize'; export * from './TextareaAutosize.types'; diff --git a/packages/mui-base/src/Unstable_NumberInput/index.ts b/packages/mui-base/src/Unstable_NumberInput/index.ts index 90624d08f20894..6054499cf76658 100644 --- a/packages/mui-base/src/Unstable_NumberInput/index.ts +++ b/packages/mui-base/src/Unstable_NumberInput/index.ts @@ -1,4 +1,3 @@ -'use client'; export { NumberInput as Unstable_NumberInput } from './NumberInput'; export * from './numberInputClasses'; export * from './NumberInput.types'; diff --git a/packages/mui-base/src/Unstable_Popup/index.ts b/packages/mui-base/src/Unstable_Popup/index.ts index 2a4873a767fcad..2e63e5a4c909a8 100644 --- a/packages/mui-base/src/Unstable_Popup/index.ts +++ b/packages/mui-base/src/Unstable_Popup/index.ts @@ -1,4 +1,3 @@ -'use client'; export { Popup as Unstable_Popup } from './Popup'; export * from './Popup.types'; export * from './popupClasses'; diff --git a/packages/mui-base/src/unstable_useModal/index.ts b/packages/mui-base/src/unstable_useModal/index.ts index cdfed6b550e5de..e73759cf2012e2 100644 --- a/packages/mui-base/src/unstable_useModal/index.ts +++ b/packages/mui-base/src/unstable_useModal/index.ts @@ -1,4 +1,3 @@ -'use client'; export { useModal as unstable_useModal } from './useModal'; export * from './useModal.types'; export * from './ModalManager'; diff --git a/packages/mui-base/src/unstable_useNumberInput/index.ts b/packages/mui-base/src/unstable_useNumberInput/index.ts index b9197013917a74..108cb06c2f97e4 100644 --- a/packages/mui-base/src/unstable_useNumberInput/index.ts +++ b/packages/mui-base/src/unstable_useNumberInput/index.ts @@ -1,3 +1,2 @@ -'use client'; export { useNumberInput as unstable_useNumberInput } from './useNumberInput'; export * from './useNumberInput.types'; diff --git a/packages/mui-base/src/useBadge/index.ts b/packages/mui-base/src/useBadge/index.ts index 220df311fcc197..d8376e70c1f11e 100644 --- a/packages/mui-base/src/useBadge/index.ts +++ b/packages/mui-base/src/useBadge/index.ts @@ -1,3 +1,2 @@ -'use client'; export { useBadge } from './useBadge'; export * from './useBadge.types'; diff --git a/packages/mui-base/src/useButton/index.ts b/packages/mui-base/src/useButton/index.ts index 53c84ebfd52737..f52872ae10fc94 100644 --- a/packages/mui-base/src/useButton/index.ts +++ b/packages/mui-base/src/useButton/index.ts @@ -1,3 +1,2 @@ -'use client'; export { useButton } from './useButton'; export * from './useButton.types'; diff --git a/packages/mui-base/src/useCompound/index.ts b/packages/mui-base/src/useCompound/index.ts index f8e6f64b6d19cd..2fea72863a76fa 100644 --- a/packages/mui-base/src/useCompound/index.ts +++ b/packages/mui-base/src/useCompound/index.ts @@ -1,3 +1,2 @@ -'use client'; export * from './useCompoundParent'; export * from './useCompoundItem'; diff --git a/packages/mui-base/src/useDropdown/index.ts b/packages/mui-base/src/useDropdown/index.ts index 79fc0ef7f3c3de..31bf24a2a9704d 100644 --- a/packages/mui-base/src/useDropdown/index.ts +++ b/packages/mui-base/src/useDropdown/index.ts @@ -1,4 +1,3 @@ -'use client'; export * from './useDropdown'; export * from './useDropdown.types'; export * from './DropdownContext'; diff --git a/packages/mui-base/src/useInput/index.ts b/packages/mui-base/src/useInput/index.ts index c37d6a9cd223c5..34acd62df73202 100644 --- a/packages/mui-base/src/useInput/index.ts +++ b/packages/mui-base/src/useInput/index.ts @@ -1,4 +1,3 @@ -'use client'; export { useInput } from './useInput'; export * from './useInput.types'; diff --git a/packages/mui-base/src/useList/index.ts b/packages/mui-base/src/useList/index.ts index 045af1c489c25f..1d6568987ef809 100644 --- a/packages/mui-base/src/useList/index.ts +++ b/packages/mui-base/src/useList/index.ts @@ -1,4 +1,3 @@ -'use client'; export { useList } from './useList'; export * from './useList.types'; diff --git a/packages/mui-base/src/useMenu/index.ts b/packages/mui-base/src/useMenu/index.ts index 0d08ba73cf9aea..dbd252273d5452 100644 --- a/packages/mui-base/src/useMenu/index.ts +++ b/packages/mui-base/src/useMenu/index.ts @@ -1,4 +1,3 @@ -'use client'; export { useMenu } from './useMenu'; export * from './useMenu.types'; export * from './MenuProvider'; diff --git a/packages/mui-base/src/useMenuButton/index.ts b/packages/mui-base/src/useMenuButton/index.ts index 0f9d874d50129e..d933dea9d2049d 100644 --- a/packages/mui-base/src/useMenuButton/index.ts +++ b/packages/mui-base/src/useMenuButton/index.ts @@ -1,3 +1,2 @@ -'use client'; export { useMenuButton } from './useMenuButton'; export * from './useMenuButton.types'; diff --git a/packages/mui-base/src/useMenuItem/index.ts b/packages/mui-base/src/useMenuItem/index.ts index f480bce7a2b53f..6aa1625e347657 100644 --- a/packages/mui-base/src/useMenuItem/index.ts +++ b/packages/mui-base/src/useMenuItem/index.ts @@ -1,4 +1,3 @@ -'use client'; export { useMenuItem } from './useMenuItem'; export * from './useMenuItem.types'; export * from './useMenuItemContextStabilizer'; diff --git a/packages/mui-base/src/useOption/index.ts b/packages/mui-base/src/useOption/index.ts index 64b8a5887662a2..35601c1b437d98 100644 --- a/packages/mui-base/src/useOption/index.ts +++ b/packages/mui-base/src/useOption/index.ts @@ -1,4 +1,3 @@ -'use client'; export { useOption } from './useOption'; export * from './useOption.types'; export * from './useOptionContextStabilizer'; diff --git a/packages/mui-base/src/useSelect/index.ts b/packages/mui-base/src/useSelect/index.ts index 7773d46920a911..014e5d90811167 100644 --- a/packages/mui-base/src/useSelect/index.ts +++ b/packages/mui-base/src/useSelect/index.ts @@ -1,4 +1,3 @@ -'use client'; export { useSelect } from './useSelect'; export * from './useSelect.types'; export * from './SelectProvider'; diff --git a/packages/mui-base/src/useSlider/index.ts b/packages/mui-base/src/useSlider/index.ts index f13ff862e30dad..0e8b89eb00ffad 100644 --- a/packages/mui-base/src/useSlider/index.ts +++ b/packages/mui-base/src/useSlider/index.ts @@ -1,3 +1,2 @@ -'use client'; export * from './useSlider'; export * from './useSlider.types'; diff --git a/packages/mui-base/src/useSnackbar/index.ts b/packages/mui-base/src/useSnackbar/index.ts index 123fce143e7074..9a595a63e425c4 100644 --- a/packages/mui-base/src/useSnackbar/index.ts +++ b/packages/mui-base/src/useSnackbar/index.ts @@ -1,3 +1,2 @@ -'use client'; export { useSnackbar } from './useSnackbar'; export * from './useSnackbar.types'; diff --git a/packages/mui-base/src/useSwitch/index.ts b/packages/mui-base/src/useSwitch/index.ts index 2c0e7428f08750..0e89a92173862c 100644 --- a/packages/mui-base/src/useSwitch/index.ts +++ b/packages/mui-base/src/useSwitch/index.ts @@ -1,3 +1,2 @@ -'use client'; export { useSwitch } from './useSwitch'; export * from './useSwitch.types'; diff --git a/packages/mui-base/src/useTab/index.ts b/packages/mui-base/src/useTab/index.ts index a2e4fd0ffbc9e8..c455a73bd484ed 100644 --- a/packages/mui-base/src/useTab/index.ts +++ b/packages/mui-base/src/useTab/index.ts @@ -1,3 +1,2 @@ -'use client'; export { useTab } from './useTab'; export * from './useTab.types'; diff --git a/packages/mui-base/src/useTabPanel/index.ts b/packages/mui-base/src/useTabPanel/index.ts index b50d04d1a8d7ea..2e72d19f4276c1 100644 --- a/packages/mui-base/src/useTabPanel/index.ts +++ b/packages/mui-base/src/useTabPanel/index.ts @@ -1,3 +1,2 @@ -'use client'; export { useTabPanel } from './useTabPanel'; export * from './useTabPanel.types'; diff --git a/packages/mui-base/src/useTabs/index.ts b/packages/mui-base/src/useTabs/index.ts index 6638acfe020e04..c12b85bf869619 100644 --- a/packages/mui-base/src/useTabs/index.ts +++ b/packages/mui-base/src/useTabs/index.ts @@ -1,4 +1,3 @@ -'use client'; export * from './useTabs'; export * from './useTabs.types'; export * from './TabsProvider'; diff --git a/packages/mui-base/src/useTabsList/index.ts b/packages/mui-base/src/useTabsList/index.ts index 4ba3e5e23c4633..0241cfc8f8c486 100644 --- a/packages/mui-base/src/useTabsList/index.ts +++ b/packages/mui-base/src/useTabsList/index.ts @@ -1,4 +1,3 @@ -'use client'; export { useTabsList } from './useTabsList'; export * from './useTabsList.types'; export * from './TabsListProvider'; diff --git a/packages/mui-base/src/utils/index.ts b/packages/mui-base/src/utils/index.ts index 6940094b6697bc..173e47c3b5584c 100644 --- a/packages/mui-base/src/utils/index.ts +++ b/packages/mui-base/src/utils/index.ts @@ -1,4 +1,3 @@ -'use client'; export { appendOwnerState } from './appendOwnerState'; export { areArraysEqual } from './areArraysEqual'; export { ClassNameConfigurator } from './ClassNameConfigurator'; diff --git a/packages/mui-joy/src/Accordion/index.ts b/packages/mui-joy/src/Accordion/index.ts index fb5feaaca86f71..e6d1714f37cca4 100644 --- a/packages/mui-joy/src/Accordion/index.ts +++ b/packages/mui-joy/src/Accordion/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Accordion'; export * from './accordionClasses'; export { default as accordionClasses } from './accordionClasses'; diff --git a/packages/mui-joy/src/AccordionDetails/index.ts b/packages/mui-joy/src/AccordionDetails/index.ts index c635362a74c849..aa664bbcf7c7df 100644 --- a/packages/mui-joy/src/AccordionDetails/index.ts +++ b/packages/mui-joy/src/AccordionDetails/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './AccordionDetails'; export * from './accordionDetailsClasses'; export { default as accordionDetailsClasses } from './accordionDetailsClasses'; diff --git a/packages/mui-joy/src/AccordionGroup/index.ts b/packages/mui-joy/src/AccordionGroup/index.ts index 98ec075a0e49c2..4187811b0bd3a1 100644 --- a/packages/mui-joy/src/AccordionGroup/index.ts +++ b/packages/mui-joy/src/AccordionGroup/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './AccordionGroup'; export * from './accordionGroupClasses'; export { default as accordionGroupClasses } from './accordionGroupClasses'; diff --git a/packages/mui-joy/src/AccordionSummary/index.ts b/packages/mui-joy/src/AccordionSummary/index.ts index d5a311bc744c5f..0e734f820e4e7d 100644 --- a/packages/mui-joy/src/AccordionSummary/index.ts +++ b/packages/mui-joy/src/AccordionSummary/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './AccordionSummary'; export * from './accordionSummaryClasses'; export { default as accordionSummaryClasses } from './accordionSummaryClasses'; diff --git a/packages/mui-joy/src/Alert/index.ts b/packages/mui-joy/src/Alert/index.ts index 882206c74b9405..e9dd48d0d9d252 100644 --- a/packages/mui-joy/src/Alert/index.ts +++ b/packages/mui-joy/src/Alert/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Alert'; export * from './alertClasses'; export { default as alertClasses } from './alertClasses'; diff --git a/packages/mui-joy/src/AspectRatio/index.ts b/packages/mui-joy/src/AspectRatio/index.ts index b944d18a233acb..6b183a3decfb1d 100644 --- a/packages/mui-joy/src/AspectRatio/index.ts +++ b/packages/mui-joy/src/AspectRatio/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './AspectRatio'; export * from './aspectRatioClasses'; export { default as aspectRatioClasses } from './aspectRatioClasses'; diff --git a/packages/mui-joy/src/Autocomplete/index.ts b/packages/mui-joy/src/Autocomplete/index.ts index 86393486cd32ef..5b01684270b978 100644 --- a/packages/mui-joy/src/Autocomplete/index.ts +++ b/packages/mui-joy/src/Autocomplete/index.ts @@ -1,4 +1,3 @@ -'use client'; export { createFilterOptions } from '@mui/base/useAutocomplete'; export { default } from './Autocomplete'; export * from './autocompleteClasses'; diff --git a/packages/mui-joy/src/AutocompleteListbox/index.ts b/packages/mui-joy/src/AutocompleteListbox/index.ts index 3bbaf0162e1d25..0fc430b15af660 100644 --- a/packages/mui-joy/src/AutocompleteListbox/index.ts +++ b/packages/mui-joy/src/AutocompleteListbox/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './AutocompleteListbox'; export * from './autocompleteListboxClasses'; export { default as autocompleteListboxClasses } from './autocompleteListboxClasses'; diff --git a/packages/mui-joy/src/AutocompleteOption/index.ts b/packages/mui-joy/src/AutocompleteOption/index.ts index 6565f5e41e6ac6..dda31b68a6b501 100644 --- a/packages/mui-joy/src/AutocompleteOption/index.ts +++ b/packages/mui-joy/src/AutocompleteOption/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './AutocompleteOption'; export * from './autocompleteOptionClasses'; export { default as autocompleteOptionClasses } from './autocompleteOptionClasses'; diff --git a/packages/mui-joy/src/Avatar/index.ts b/packages/mui-joy/src/Avatar/index.ts index 5a6648ea3e3bca..fca351ee6db5b0 100644 --- a/packages/mui-joy/src/Avatar/index.ts +++ b/packages/mui-joy/src/Avatar/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Avatar'; export * from './avatarClasses'; export { default as avatarClasses } from './avatarClasses'; diff --git a/packages/mui-joy/src/AvatarGroup/index.ts b/packages/mui-joy/src/AvatarGroup/index.ts index 14a51f45869fb0..77ef2c0f011827 100644 --- a/packages/mui-joy/src/AvatarGroup/index.ts +++ b/packages/mui-joy/src/AvatarGroup/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './AvatarGroup'; export * from './avatarGroupClasses'; export { default as avatarGroupClasses } from './avatarGroupClasses'; diff --git a/packages/mui-joy/src/Badge/index.ts b/packages/mui-joy/src/Badge/index.ts index 90a5aef5a7e0d2..212caa85460e27 100644 --- a/packages/mui-joy/src/Badge/index.ts +++ b/packages/mui-joy/src/Badge/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Badge'; export * from './BadgeProps'; export { default as badgeClasses } from './badgeClasses'; diff --git a/packages/mui-joy/src/Box/index.ts b/packages/mui-joy/src/Box/index.ts index de37ace16f1437..d51f428a3cb34c 100644 --- a/packages/mui-joy/src/Box/index.ts +++ b/packages/mui-joy/src/Box/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Box'; export * from './BoxProps'; diff --git a/packages/mui-joy/src/Breadcrumbs/index.ts b/packages/mui-joy/src/Breadcrumbs/index.ts index a7ece78f6f3925..0ee5614fa62d66 100644 --- a/packages/mui-joy/src/Breadcrumbs/index.ts +++ b/packages/mui-joy/src/Breadcrumbs/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Breadcrumbs'; export * from './breadcrumbsClasses'; export { default as breadcrumbsClasses } from './breadcrumbsClasses'; diff --git a/packages/mui-joy/src/Button/index.ts b/packages/mui-joy/src/Button/index.ts index cd516179783471..c702730d3c766b 100644 --- a/packages/mui-joy/src/Button/index.ts +++ b/packages/mui-joy/src/Button/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Button'; export * from './ButtonProps'; export { default as buttonClasses } from './buttonClasses'; diff --git a/packages/mui-joy/src/ButtonGroup/index.ts b/packages/mui-joy/src/ButtonGroup/index.ts index b7a7c00fba44b7..29d7aa3afef8b7 100644 --- a/packages/mui-joy/src/ButtonGroup/index.ts +++ b/packages/mui-joy/src/ButtonGroup/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ButtonGroup'; export * from './buttonGroupClasses'; export { default as buttonGroupClasses } from './buttonGroupClasses'; diff --git a/packages/mui-joy/src/Card/index.ts b/packages/mui-joy/src/Card/index.ts index 029b2b9c2c8d58..9c879224fe3ed2 100644 --- a/packages/mui-joy/src/Card/index.ts +++ b/packages/mui-joy/src/Card/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Card'; export * from './cardClasses'; export { default as cardClasses } from './cardClasses'; diff --git a/packages/mui-joy/src/CardActions/index.ts b/packages/mui-joy/src/CardActions/index.ts index 67beb5527f3169..651c8315dffeea 100644 --- a/packages/mui-joy/src/CardActions/index.ts +++ b/packages/mui-joy/src/CardActions/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './CardActions'; export * from './cardActionsClasses'; export { default as cardActionsClasses } from './cardActionsClasses'; diff --git a/packages/mui-joy/src/CardContent/index.ts b/packages/mui-joy/src/CardContent/index.ts index dc2468896707c0..495e9679a8961d 100644 --- a/packages/mui-joy/src/CardContent/index.ts +++ b/packages/mui-joy/src/CardContent/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './CardContent'; export * from './cardContentClasses'; export { default as cardContentClasses } from './cardContentClasses'; diff --git a/packages/mui-joy/src/CardCover/index.ts b/packages/mui-joy/src/CardCover/index.ts index a3e7ec8b368fc0..13d43920b08a09 100644 --- a/packages/mui-joy/src/CardCover/index.ts +++ b/packages/mui-joy/src/CardCover/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './CardCover'; export * from './cardCoverClasses'; export { default as cardCoverClasses } from './cardCoverClasses'; diff --git a/packages/mui-joy/src/CardOverflow/index.ts b/packages/mui-joy/src/CardOverflow/index.ts index c24fb4f93ea292..70f27c2d158095 100644 --- a/packages/mui-joy/src/CardOverflow/index.ts +++ b/packages/mui-joy/src/CardOverflow/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './CardOverflow'; export * from './cardOverflowClasses'; export { default as cardOverflowClasses } from './cardOverflowClasses'; diff --git a/packages/mui-joy/src/Checkbox/index.ts b/packages/mui-joy/src/Checkbox/index.ts index 008c62e5bda20a..cfc79285e72f39 100644 --- a/packages/mui-joy/src/Checkbox/index.ts +++ b/packages/mui-joy/src/Checkbox/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Checkbox'; export { default as checkboxClasses } from './checkboxClasses'; export * from './checkboxClasses'; diff --git a/packages/mui-joy/src/Chip/index.ts b/packages/mui-joy/src/Chip/index.ts index 12fd2fe3dc1a09..969b8f1e69b313 100644 --- a/packages/mui-joy/src/Chip/index.ts +++ b/packages/mui-joy/src/Chip/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Chip'; export { default as chipClasses } from './chipClasses'; export * from './chipClasses'; diff --git a/packages/mui-joy/src/ChipDelete/index.ts b/packages/mui-joy/src/ChipDelete/index.ts index 6e1848d4c3211d..def36173c652da 100644 --- a/packages/mui-joy/src/ChipDelete/index.ts +++ b/packages/mui-joy/src/ChipDelete/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ChipDelete'; export * from './chipDeleteClasses'; export { default as chipDeleteClasses } from './chipDeleteClasses'; diff --git a/packages/mui-joy/src/CircularProgress/index.ts b/packages/mui-joy/src/CircularProgress/index.ts index 48eed89ec0fb28..44a57d7f65fa32 100644 --- a/packages/mui-joy/src/CircularProgress/index.ts +++ b/packages/mui-joy/src/CircularProgress/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './CircularProgress'; export * from './circularProgressClasses'; export { default as circularProgressClasses } from './circularProgressClasses'; diff --git a/packages/mui-joy/src/Container/index.ts b/packages/mui-joy/src/Container/index.ts index 6ddd38a25d7ed6..40915571d90e2d 100644 --- a/packages/mui-joy/src/Container/index.ts +++ b/packages/mui-joy/src/Container/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Container'; export * from './ContainerProps'; diff --git a/packages/mui-joy/src/CssBaseline/index.ts b/packages/mui-joy/src/CssBaseline/index.ts index 46a25c92336177..179c14be74d7e1 100644 --- a/packages/mui-joy/src/CssBaseline/index.ts +++ b/packages/mui-joy/src/CssBaseline/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './CssBaseline'; export * from './CssBaselineProps'; diff --git a/packages/mui-joy/src/DialogActions/index.ts b/packages/mui-joy/src/DialogActions/index.ts index 25cb9861ef01e9..d0a1e8a3804fae 100644 --- a/packages/mui-joy/src/DialogActions/index.ts +++ b/packages/mui-joy/src/DialogActions/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './DialogActions'; export * from './dialogActionsClasses'; export { default as dialogActionsClasses } from './dialogActionsClasses'; diff --git a/packages/mui-joy/src/DialogContent/index.ts b/packages/mui-joy/src/DialogContent/index.ts index c7d79222860a83..5075600d1f6795 100644 --- a/packages/mui-joy/src/DialogContent/index.ts +++ b/packages/mui-joy/src/DialogContent/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './DialogContent'; export * from './dialogContentClasses'; export { default as dialogContentClasses } from './dialogContentClasses'; diff --git a/packages/mui-joy/src/DialogTitle/index.ts b/packages/mui-joy/src/DialogTitle/index.ts index 0ce73b22ce0ae8..62530d0f28ac90 100644 --- a/packages/mui-joy/src/DialogTitle/index.ts +++ b/packages/mui-joy/src/DialogTitle/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './DialogTitle'; export * from './dialogTitleClasses'; export { default as dialogTitleClasses } from './dialogTitleClasses'; diff --git a/packages/mui-joy/src/Divider/index.ts b/packages/mui-joy/src/Divider/index.ts index 463c38d3c0f6b0..98725df4f93c68 100644 --- a/packages/mui-joy/src/Divider/index.ts +++ b/packages/mui-joy/src/Divider/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Divider'; export { default as dividerClasses } from './dividerClasses'; export * from './dividerClasses'; diff --git a/packages/mui-joy/src/Drawer/index.ts b/packages/mui-joy/src/Drawer/index.ts index b129c460ab079c..b3bdb80e16d203 100644 --- a/packages/mui-joy/src/Drawer/index.ts +++ b/packages/mui-joy/src/Drawer/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Drawer'; export { default as drawerClasses } from './drawerClasses'; export * from './drawerClasses'; diff --git a/packages/mui-joy/src/FormControl/index.ts b/packages/mui-joy/src/FormControl/index.ts index 08cbd066eef357..0a506dbac76ac0 100644 --- a/packages/mui-joy/src/FormControl/index.ts +++ b/packages/mui-joy/src/FormControl/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './FormControl'; export * from './formControlClasses'; export { default as formControlClasses } from './formControlClasses'; diff --git a/packages/mui-joy/src/FormHelperText/index.ts b/packages/mui-joy/src/FormHelperText/index.ts index e7ab52fb176e8b..8531159ad19a86 100644 --- a/packages/mui-joy/src/FormHelperText/index.ts +++ b/packages/mui-joy/src/FormHelperText/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './FormHelperText'; export { default as formHelperTextClasses } from './formHelperTextClasses'; export * from './formHelperTextClasses'; diff --git a/packages/mui-joy/src/FormLabel/index.ts b/packages/mui-joy/src/FormLabel/index.ts index 3c37eda127833d..2859bb1ff04879 100644 --- a/packages/mui-joy/src/FormLabel/index.ts +++ b/packages/mui-joy/src/FormLabel/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './FormLabel'; export { default as formLabelClasses } from './formLabelClasses'; export * from './formLabelClasses'; diff --git a/packages/mui-joy/src/Grid/index.ts b/packages/mui-joy/src/Grid/index.ts index d9e2e3542ecc98..5a981d71842eb3 100644 --- a/packages/mui-joy/src/Grid/index.ts +++ b/packages/mui-joy/src/Grid/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Grid'; export * from './GridProps'; export { default as gridClasses } from './gridClasses'; diff --git a/packages/mui-joy/src/IconButton/index.ts b/packages/mui-joy/src/IconButton/index.ts index 475c12c4a62ab6..f30d909e64c437 100644 --- a/packages/mui-joy/src/IconButton/index.ts +++ b/packages/mui-joy/src/IconButton/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './IconButton'; export * from './IconButtonProps'; export { default as iconButtonClasses } from './iconButtonClasses'; diff --git a/packages/mui-joy/src/Input/index.ts b/packages/mui-joy/src/Input/index.ts index bda49e416efc31..6e1694aa348886 100644 --- a/packages/mui-joy/src/Input/index.ts +++ b/packages/mui-joy/src/Input/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Input'; export * from './InputProps'; export { default as inputClasses } from './inputClasses'; diff --git a/packages/mui-joy/src/LinearProgress/index.ts b/packages/mui-joy/src/LinearProgress/index.ts index 38162c030ee9e6..4ed393247c7524 100644 --- a/packages/mui-joy/src/LinearProgress/index.ts +++ b/packages/mui-joy/src/LinearProgress/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './LinearProgress'; export * from './linearProgressClasses'; export { default as linearProgressClasses } from './linearProgressClasses'; diff --git a/packages/mui-joy/src/Link/index.ts b/packages/mui-joy/src/Link/index.ts index a914ee466d9bd6..6d27032b85f297 100644 --- a/packages/mui-joy/src/Link/index.ts +++ b/packages/mui-joy/src/Link/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Link'; export * from './linkClasses'; export { default as linkClasses } from './linkClasses'; diff --git a/packages/mui-joy/src/List/index.ts b/packages/mui-joy/src/List/index.ts index 5f99c44d12ace4..0c4820c05816dc 100644 --- a/packages/mui-joy/src/List/index.ts +++ b/packages/mui-joy/src/List/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './List'; export { default as listClasses } from './listClasses'; export * from './listClasses'; diff --git a/packages/mui-joy/src/ListDivider/index.ts b/packages/mui-joy/src/ListDivider/index.ts index 1d7f1428fd42ee..5f6e2e0af599eb 100644 --- a/packages/mui-joy/src/ListDivider/index.ts +++ b/packages/mui-joy/src/ListDivider/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListDivider'; export { default as listDividerClasses } from './listDividerClasses'; export * from './listDividerClasses'; diff --git a/packages/mui-joy/src/ListItem/index.ts b/packages/mui-joy/src/ListItem/index.ts index 0f5a15fbf4e562..c4a83c1b180527 100644 --- a/packages/mui-joy/src/ListItem/index.ts +++ b/packages/mui-joy/src/ListItem/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListItem'; export { default as listItemClasses } from './listItemClasses'; export * from './listItemClasses'; diff --git a/packages/mui-joy/src/ListItemButton/index.ts b/packages/mui-joy/src/ListItemButton/index.ts index 655a937dcd6d47..c7db1d9a690d3f 100644 --- a/packages/mui-joy/src/ListItemButton/index.ts +++ b/packages/mui-joy/src/ListItemButton/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListItemButton'; export { default as listItemButtonClasses } from './listItemButtonClasses'; export * from './listItemButtonClasses'; diff --git a/packages/mui-joy/src/ListItemContent/index.ts b/packages/mui-joy/src/ListItemContent/index.ts index 16f7cfbca6031f..5c55dcf74bd894 100644 --- a/packages/mui-joy/src/ListItemContent/index.ts +++ b/packages/mui-joy/src/ListItemContent/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListItemContent'; export { default as listItemContentClasses } from './listItemContentClasses'; export * from './listItemContentClasses'; diff --git a/packages/mui-joy/src/ListItemDecorator/index.ts b/packages/mui-joy/src/ListItemDecorator/index.ts index 8a100627f29271..64caaecba13594 100644 --- a/packages/mui-joy/src/ListItemDecorator/index.ts +++ b/packages/mui-joy/src/ListItemDecorator/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListItemDecorator'; export { default as listItemDecoratorClasses } from './listItemDecoratorClasses'; export * from './listItemDecoratorClasses'; diff --git a/packages/mui-joy/src/ListSubheader/index.ts b/packages/mui-joy/src/ListSubheader/index.ts index 4166c0494c5028..7e85a94191be8d 100644 --- a/packages/mui-joy/src/ListSubheader/index.ts +++ b/packages/mui-joy/src/ListSubheader/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListSubheader'; export { default as listSubheaderClasses } from './listSubheaderClasses'; export * from './listSubheaderClasses'; diff --git a/packages/mui-joy/src/Menu/index.ts b/packages/mui-joy/src/Menu/index.ts index fd7e898536e4e5..2124dff2567749 100644 --- a/packages/mui-joy/src/Menu/index.ts +++ b/packages/mui-joy/src/Menu/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Menu'; export { default as menuClasses } from './menuClasses'; export * from './menuClasses'; diff --git a/packages/mui-joy/src/MenuButton/index.ts b/packages/mui-joy/src/MenuButton/index.ts index da4343aebb09ff..f0ac8231c8c0d9 100644 --- a/packages/mui-joy/src/MenuButton/index.ts +++ b/packages/mui-joy/src/MenuButton/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './MenuButton'; export * from './MenuButtonProps'; diff --git a/packages/mui-joy/src/MenuItem/index.ts b/packages/mui-joy/src/MenuItem/index.ts index 7370b8101c1c91..ae19cf4f840060 100644 --- a/packages/mui-joy/src/MenuItem/index.ts +++ b/packages/mui-joy/src/MenuItem/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './MenuItem'; export { default as menuItemClasses } from './menuItemClasses'; export * from './menuItemClasses'; diff --git a/packages/mui-joy/src/MenuList/index.ts b/packages/mui-joy/src/MenuList/index.ts index 93ddb6f926c6da..0d68d9bcb40f4e 100644 --- a/packages/mui-joy/src/MenuList/index.ts +++ b/packages/mui-joy/src/MenuList/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './MenuList'; export { default as menuListClasses } from './menuListClasses'; export * from './menuListClasses'; diff --git a/packages/mui-joy/src/Modal/index.ts b/packages/mui-joy/src/Modal/index.ts index 73b29561062658..426ec988208a72 100644 --- a/packages/mui-joy/src/Modal/index.ts +++ b/packages/mui-joy/src/Modal/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Modal'; export * from './modalClasses'; export { default as modalClasses } from './modalClasses'; diff --git a/packages/mui-joy/src/ModalClose/index.ts b/packages/mui-joy/src/ModalClose/index.ts index 6e1119abfd5e9e..3612cb7bfcfdab 100644 --- a/packages/mui-joy/src/ModalClose/index.ts +++ b/packages/mui-joy/src/ModalClose/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ModalClose'; export * from './modalCloseClasses'; export { default as modalCloseClasses } from './modalCloseClasses'; diff --git a/packages/mui-joy/src/ModalDialog/index.ts b/packages/mui-joy/src/ModalDialog/index.ts index 09a7ee9533637d..c15073416b2509 100644 --- a/packages/mui-joy/src/ModalDialog/index.ts +++ b/packages/mui-joy/src/ModalDialog/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ModalDialog'; export * from './modalDialogClasses'; export { default as modalDialogClasses } from './modalDialogClasses'; diff --git a/packages/mui-joy/src/ModalOverflow/index.ts b/packages/mui-joy/src/ModalOverflow/index.ts index 696abb5b8b5cef..de9a6a34c491c1 100644 --- a/packages/mui-joy/src/ModalOverflow/index.ts +++ b/packages/mui-joy/src/ModalOverflow/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ModalOverflow'; export * from './modalOverflowClasses'; export { default as modalOverflowClasses } from './modalOverflowClasses'; diff --git a/packages/mui-joy/src/Option/index.ts b/packages/mui-joy/src/Option/index.ts index 6e5716eb8df59e..36144d0672fa1d 100644 --- a/packages/mui-joy/src/Option/index.ts +++ b/packages/mui-joy/src/Option/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Option'; export { default as optionClasses } from './optionClasses'; export * from './optionClasses'; diff --git a/packages/mui-joy/src/Radio/index.ts b/packages/mui-joy/src/Radio/index.ts index e4697a3f7ec187..f315fa4d29b963 100644 --- a/packages/mui-joy/src/Radio/index.ts +++ b/packages/mui-joy/src/Radio/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Radio'; export { default as radioClasses } from './radioClasses'; export * from './radioClasses'; diff --git a/packages/mui-joy/src/RadioGroup/index.ts b/packages/mui-joy/src/RadioGroup/index.ts index aea701723c2b4f..02e1ca75139914 100644 --- a/packages/mui-joy/src/RadioGroup/index.ts +++ b/packages/mui-joy/src/RadioGroup/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './RadioGroup'; export { default as radioGroupClasses } from './radioGroupClasses'; export * from './radioGroupClasses'; diff --git a/packages/mui-joy/src/ScopedCssBaseline/index.ts b/packages/mui-joy/src/ScopedCssBaseline/index.ts index c8982287ca6d12..bec39f16cd316c 100644 --- a/packages/mui-joy/src/ScopedCssBaseline/index.ts +++ b/packages/mui-joy/src/ScopedCssBaseline/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ScopedCssBaseline'; export * from './ScopedCssBaselineProps'; export { default as scopedCssBaselineClasses } from './scopedCssBaselineClasses'; diff --git a/packages/mui-joy/src/Select/index.ts b/packages/mui-joy/src/Select/index.ts index dd6c63c90fcfce..8838449fd5d6fa 100644 --- a/packages/mui-joy/src/Select/index.ts +++ b/packages/mui-joy/src/Select/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Select'; export * from './SelectProps'; export { default as selectClasses } from './selectClasses'; diff --git a/packages/mui-joy/src/Sheet/index.ts b/packages/mui-joy/src/Sheet/index.ts index 121b70ced0cf87..3a45d047c73333 100644 --- a/packages/mui-joy/src/Sheet/index.ts +++ b/packages/mui-joy/src/Sheet/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Sheet'; export * from './sheetClasses'; export { default as sheetClasses } from './sheetClasses'; diff --git a/packages/mui-joy/src/Skeleton/index.ts b/packages/mui-joy/src/Skeleton/index.ts index f385837fbc00ba..b472237175f850 100644 --- a/packages/mui-joy/src/Skeleton/index.ts +++ b/packages/mui-joy/src/Skeleton/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Skeleton'; export * from './skeletonClasses'; export { default as skeletonClasses } from './skeletonClasses'; diff --git a/packages/mui-joy/src/Slider/index.ts b/packages/mui-joy/src/Slider/index.ts index 9c831ddb98d38b..1cfe65a7186029 100644 --- a/packages/mui-joy/src/Slider/index.ts +++ b/packages/mui-joy/src/Slider/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Slider'; export * from './sliderClasses'; export { default as sliderClasses } from './sliderClasses'; diff --git a/packages/mui-joy/src/Snackbar/index.ts b/packages/mui-joy/src/Snackbar/index.ts index 9a1de25f1c8376..4c01e406ca27f9 100644 --- a/packages/mui-joy/src/Snackbar/index.ts +++ b/packages/mui-joy/src/Snackbar/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Snackbar'; export * from './snackbarClasses'; export { default as snackbarClasses } from './snackbarClasses'; diff --git a/packages/mui-joy/src/Stack/index.ts b/packages/mui-joy/src/Stack/index.ts index 4cb10618d7d1be..4f3fa2e1c84858 100644 --- a/packages/mui-joy/src/Stack/index.ts +++ b/packages/mui-joy/src/Stack/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Stack'; export * from './StackProps'; diff --git a/packages/mui-joy/src/Step/index.ts b/packages/mui-joy/src/Step/index.ts index 26022ad8d0450c..2650570a7d11d1 100644 --- a/packages/mui-joy/src/Step/index.ts +++ b/packages/mui-joy/src/Step/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Step'; export * from './stepClasses'; export { default as stepClasses } from './stepClasses'; diff --git a/packages/mui-joy/src/StepButton/index.ts b/packages/mui-joy/src/StepButton/index.ts index db8008e0382012..dc494f17ff3c7a 100644 --- a/packages/mui-joy/src/StepButton/index.ts +++ b/packages/mui-joy/src/StepButton/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './StepButton'; export * from './stepButtonClasses'; export { default as stepButtonClasses } from './stepButtonClasses'; diff --git a/packages/mui-joy/src/StepIndicator/index.ts b/packages/mui-joy/src/StepIndicator/index.ts index f14427ff38451c..53a2e118f0906c 100644 --- a/packages/mui-joy/src/StepIndicator/index.ts +++ b/packages/mui-joy/src/StepIndicator/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './StepIndicator'; export * from './stepIndicatorClasses'; export { default as stepIndicatorClasses } from './stepIndicatorClasses'; diff --git a/packages/mui-joy/src/Stepper/index.ts b/packages/mui-joy/src/Stepper/index.ts index 1e14b6e812d1c9..f81f0e70cc2a50 100644 --- a/packages/mui-joy/src/Stepper/index.ts +++ b/packages/mui-joy/src/Stepper/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Stepper'; export * from './stepperClasses'; export { default as stepperClasses } from './stepperClasses'; diff --git a/packages/mui-joy/src/SvgIcon/index.ts b/packages/mui-joy/src/SvgIcon/index.ts index 059c67f7f2c035..4ecec6ee8d814e 100644 --- a/packages/mui-joy/src/SvgIcon/index.ts +++ b/packages/mui-joy/src/SvgIcon/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './SvgIcon'; export * from './SvgIconProps'; export { default as svgIconClasses } from './svgIconClasses'; diff --git a/packages/mui-joy/src/Switch/index.ts b/packages/mui-joy/src/Switch/index.ts index fc73710fc6b750..2c190ccd5f69b4 100644 --- a/packages/mui-joy/src/Switch/index.ts +++ b/packages/mui-joy/src/Switch/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Switch'; export { default as switchClasses } from './switchClasses'; export * from './switchClasses'; diff --git a/packages/mui-joy/src/Tab/index.ts b/packages/mui-joy/src/Tab/index.ts index c9d3d35b2d54cb..974eb9868050d3 100644 --- a/packages/mui-joy/src/Tab/index.ts +++ b/packages/mui-joy/src/Tab/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Tab'; export * from './tabClasses'; export { default as tabClasses } from './tabClasses'; diff --git a/packages/mui-joy/src/TabList/index.ts b/packages/mui-joy/src/TabList/index.ts index 8a21cc29136f75..b35c807435d338 100644 --- a/packages/mui-joy/src/TabList/index.ts +++ b/packages/mui-joy/src/TabList/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './TabList'; export * from './tabListClasses'; export { default as tabListClasses } from './tabListClasses'; diff --git a/packages/mui-joy/src/TabPanel/index.ts b/packages/mui-joy/src/TabPanel/index.ts index 9171601c462a1e..ff9a08902de0f3 100644 --- a/packages/mui-joy/src/TabPanel/index.ts +++ b/packages/mui-joy/src/TabPanel/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './TabPanel'; export * from './tabPanelClasses'; export { default as tabPanelClasses } from './tabPanelClasses'; diff --git a/packages/mui-joy/src/Table/index.ts b/packages/mui-joy/src/Table/index.ts index 63b5fc013fd3b2..0bcd389394be06 100644 --- a/packages/mui-joy/src/Table/index.ts +++ b/packages/mui-joy/src/Table/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Table'; export * from './tableClasses'; export { default as tableClasses } from './tableClasses'; diff --git a/packages/mui-joy/src/Tabs/index.ts b/packages/mui-joy/src/Tabs/index.ts index 70378920b5b207..6396048dca1ec7 100644 --- a/packages/mui-joy/src/Tabs/index.ts +++ b/packages/mui-joy/src/Tabs/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Tabs'; export * from './tabsClasses'; export { default as tabsClasses } from './tabsClasses'; diff --git a/packages/mui-joy/src/TextField/index.ts b/packages/mui-joy/src/TextField/index.ts index f8cd03c69cdf5e..0198002999a808 100644 --- a/packages/mui-joy/src/TextField/index.ts +++ b/packages/mui-joy/src/TextField/index.ts @@ -1,2 +1 @@ -'use client'; export { default } from './TextField'; diff --git a/packages/mui-joy/src/Textarea/index.ts b/packages/mui-joy/src/Textarea/index.ts index c1df8aa9f77a55..4b7d47c97ebc6d 100644 --- a/packages/mui-joy/src/Textarea/index.ts +++ b/packages/mui-joy/src/Textarea/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Textarea'; export * from './TextareaProps'; export { default as textareaClasses } from './textareaClasses'; diff --git a/packages/mui-joy/src/ToggleButtonGroup/index.ts b/packages/mui-joy/src/ToggleButtonGroup/index.ts index 7372bd7583cd0a..d59291be53b991 100644 --- a/packages/mui-joy/src/ToggleButtonGroup/index.ts +++ b/packages/mui-joy/src/ToggleButtonGroup/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './ToggleButtonGroup'; export * from './toggleButtonGroupClasses'; export { default as toggleButtonGroupClasses } from './toggleButtonGroupClasses'; diff --git a/packages/mui-joy/src/Tooltip/index.ts b/packages/mui-joy/src/Tooltip/index.ts index 52eb39f3ec0778..d9fccd402f603d 100644 --- a/packages/mui-joy/src/Tooltip/index.ts +++ b/packages/mui-joy/src/Tooltip/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Tooltip'; export * from './tooltipClasses'; export { default as tooltipClasses } from './tooltipClasses'; diff --git a/packages/mui-joy/src/Typography/index.ts b/packages/mui-joy/src/Typography/index.ts index 48221d9679291b..bbaa51027683f6 100644 --- a/packages/mui-joy/src/Typography/index.ts +++ b/packages/mui-joy/src/Typography/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Typography'; export * from './TypographyProps'; export { default as typographyClasses } from './typographyClasses'; diff --git a/packages/mui-joy/src/index.ts b/packages/mui-joy/src/index.ts index 5b7c7c983bb69a..59a9bc7b21e6d0 100644 --- a/packages/mui-joy/src/index.ts +++ b/packages/mui-joy/src/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default as colors } from './colors'; export * from './styles'; diff --git a/packages/mui-joy/src/styles/index.ts b/packages/mui-joy/src/styles/index.ts index 82fd57ca9ee0da..a7420b67e870cb 100644 --- a/packages/mui-joy/src/styles/index.ts +++ b/packages/mui-joy/src/styles/index.ts @@ -1,4 +1,3 @@ -'use client'; // reexports from system for module augmentation export type { BreakpointOverrides } from '@mui/system'; diff --git a/packages/mui-joy/src/utils/index.ts b/packages/mui-joy/src/utils/index.ts index 62124dcc5cefdb..75299a21ac5071 100644 --- a/packages/mui-joy/src/utils/index.ts +++ b/packages/mui-joy/src/utils/index.ts @@ -1,3 +1,2 @@ -'use client'; // eslint-disable-next-line import/prefer-default-export export { default as createSvgIcon } from './createSvgIcon'; diff --git a/packages/mui-material-pigment-css/src/RtlProvider/RtlProvider.ts b/packages/mui-material-pigment-css/src/RtlProvider/RtlProvider.ts index 414accd84a8c00..72e2fd5e9680aa 100644 --- a/packages/mui-material-pigment-css/src/RtlProvider/RtlProvider.ts +++ b/packages/mui-material-pigment-css/src/RtlProvider/RtlProvider.ts @@ -1,3 +1 @@ -'use client'; - export * from '@mui/system/RtlProvider'; diff --git a/packages/mui-material/src/Alert/index.js b/packages/mui-material/src/Alert/index.js index c978509837fd40..ae354db3f6bcac 100644 --- a/packages/mui-material/src/Alert/index.js +++ b/packages/mui-material/src/Alert/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Alert'; export { default as alertClasses } from './alertClasses'; diff --git a/packages/mui-material/src/AlertTitle/index.js b/packages/mui-material/src/AlertTitle/index.js index 88dfd77e0aa3fb..a8d06452a44bfa 100644 --- a/packages/mui-material/src/AlertTitle/index.js +++ b/packages/mui-material/src/AlertTitle/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './AlertTitle'; export { default as alertTitleClasses } from './alertTitleClasses'; diff --git a/packages/mui-material/src/AppBar/index.js b/packages/mui-material/src/AppBar/index.js index 117d47f9047283..d1102ae64ed7c5 100644 --- a/packages/mui-material/src/AppBar/index.js +++ b/packages/mui-material/src/AppBar/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './AppBar'; export { default as appBarClasses } from './appBarClasses'; diff --git a/packages/mui-material/src/Autocomplete/index.js b/packages/mui-material/src/Autocomplete/index.js index e57635491208e4..bc2577ca4c03c3 100644 --- a/packages/mui-material/src/Autocomplete/index.js +++ b/packages/mui-material/src/Autocomplete/index.js @@ -1,4 +1,3 @@ -'use client'; export { default, createFilterOptions } from './Autocomplete'; export { default as autocompleteClasses } from './autocompleteClasses'; diff --git a/packages/mui-material/src/Avatar/index.js b/packages/mui-material/src/Avatar/index.js index 7343e9915fb2b8..08248f841869fb 100644 --- a/packages/mui-material/src/Avatar/index.js +++ b/packages/mui-material/src/Avatar/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Avatar'; export { default as avatarClasses } from './avatarClasses'; diff --git a/packages/mui-material/src/AvatarGroup/index.js b/packages/mui-material/src/AvatarGroup/index.js index 16930c7dc05548..d3a39cb2673cf5 100644 --- a/packages/mui-material/src/AvatarGroup/index.js +++ b/packages/mui-material/src/AvatarGroup/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './AvatarGroup'; export { default as avatarGroupClasses } from './avatarGroupClasses'; export * from './avatarGroupClasses'; diff --git a/packages/mui-material/src/Backdrop/index.js b/packages/mui-material/src/Backdrop/index.js index 3fe812acfeef22..31e877d1ad425d 100644 --- a/packages/mui-material/src/Backdrop/index.js +++ b/packages/mui-material/src/Backdrop/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Backdrop'; export { default as backdropClasses } from './backdropClasses'; export * from './backdropClasses'; diff --git a/packages/mui-material/src/Badge/index.js b/packages/mui-material/src/Badge/index.js index 7ac0cf0142bf01..42f9d0102195b5 100644 --- a/packages/mui-material/src/Badge/index.js +++ b/packages/mui-material/src/Badge/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Badge'; export { default as badgeClasses } from './badgeClasses'; diff --git a/packages/mui-material/src/BottomNavigation/index.js b/packages/mui-material/src/BottomNavigation/index.js index f9b197b0f72014..e35a344d097b26 100644 --- a/packages/mui-material/src/BottomNavigation/index.js +++ b/packages/mui-material/src/BottomNavigation/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './BottomNavigation'; export { default as bottomNavigationClasses } from './bottomNavigationClasses'; diff --git a/packages/mui-material/src/BottomNavigationAction/index.js b/packages/mui-material/src/BottomNavigationAction/index.js index 2cfdda3d675d4e..377af4979d46ac 100644 --- a/packages/mui-material/src/BottomNavigationAction/index.js +++ b/packages/mui-material/src/BottomNavigationAction/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './BottomNavigationAction'; export { default as bottomNavigationActionClasses } from './bottomNavigationActionClasses'; diff --git a/packages/mui-material/src/Box/index.js b/packages/mui-material/src/Box/index.js index 956a444c75c938..fc66543f28f643 100644 --- a/packages/mui-material/src/Box/index.js +++ b/packages/mui-material/src/Box/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Box'; export { default as boxClasses } from './boxClasses'; diff --git a/packages/mui-material/src/Breadcrumbs/index.js b/packages/mui-material/src/Breadcrumbs/index.js index bc5f92abb8214b..77829cbf764cab 100644 --- a/packages/mui-material/src/Breadcrumbs/index.js +++ b/packages/mui-material/src/Breadcrumbs/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Breadcrumbs'; export { default as breadcrumbsClasses } from './breadcrumbsClasses'; diff --git a/packages/mui-material/src/Button/index.js b/packages/mui-material/src/Button/index.js index e45e9d01cf1efc..f100af2969849b 100644 --- a/packages/mui-material/src/Button/index.js +++ b/packages/mui-material/src/Button/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Button'; export { default as buttonClasses } from './buttonClasses'; diff --git a/packages/mui-material/src/ButtonBase/index.js b/packages/mui-material/src/ButtonBase/index.js index 5410b8280a670a..ffa71222f42f55 100644 --- a/packages/mui-material/src/ButtonBase/index.js +++ b/packages/mui-material/src/ButtonBase/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ButtonBase'; export { default as buttonBaseClasses } from './buttonBaseClasses'; diff --git a/packages/mui-material/src/ButtonGroup/index.js b/packages/mui-material/src/ButtonGroup/index.js index b30f044d2b4600..b0466bbdc9cfe4 100644 --- a/packages/mui-material/src/ButtonGroup/index.js +++ b/packages/mui-material/src/ButtonGroup/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ButtonGroup'; export { default as buttonGroupClasses } from './buttonGroupClasses'; export * from './buttonGroupClasses'; diff --git a/packages/mui-material/src/Card/index.js b/packages/mui-material/src/Card/index.js index 69fb6f6d7854fc..ee2a4ca12c471b 100644 --- a/packages/mui-material/src/Card/index.js +++ b/packages/mui-material/src/Card/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Card'; export { default as cardClasses } from './cardClasses'; diff --git a/packages/mui-material/src/CardActionArea/index.js b/packages/mui-material/src/CardActionArea/index.js index 72966e9aecc281..88e3b45b30a7e0 100644 --- a/packages/mui-material/src/CardActionArea/index.js +++ b/packages/mui-material/src/CardActionArea/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './CardActionArea'; export { default as cardActionAreaClasses } from './cardActionAreaClasses'; diff --git a/packages/mui-material/src/CardActions/index.js b/packages/mui-material/src/CardActions/index.js index 574cafdd683eb5..42d895fc2fbaf2 100644 --- a/packages/mui-material/src/CardActions/index.js +++ b/packages/mui-material/src/CardActions/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './CardActions'; export { default as cardActionsClasses } from './cardActionsClasses'; diff --git a/packages/mui-material/src/CardContent/index.js b/packages/mui-material/src/CardContent/index.js index d3fd480cb35648..3ee40db9b57671 100644 --- a/packages/mui-material/src/CardContent/index.js +++ b/packages/mui-material/src/CardContent/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './CardContent'; export { default as cardContentClasses } from './cardContentClasses'; diff --git a/packages/mui-material/src/CardHeader/index.js b/packages/mui-material/src/CardHeader/index.js index 7c4f88d11adb39..7f66c751b27942 100644 --- a/packages/mui-material/src/CardHeader/index.js +++ b/packages/mui-material/src/CardHeader/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './CardHeader'; export { default as cardHeaderClasses } from './cardHeaderClasses'; diff --git a/packages/mui-material/src/CardMedia/index.js b/packages/mui-material/src/CardMedia/index.js index 58d227e9bc2d21..b20f3170c16b8a 100644 --- a/packages/mui-material/src/CardMedia/index.js +++ b/packages/mui-material/src/CardMedia/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './CardMedia'; export { default as cardMediaClasses } from './cardMediaClasses'; diff --git a/packages/mui-material/src/Checkbox/index.js b/packages/mui-material/src/Checkbox/index.js index 5211c7ab6487b7..55883a5457b284 100644 --- a/packages/mui-material/src/Checkbox/index.js +++ b/packages/mui-material/src/Checkbox/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Checkbox'; export { default as checkboxClasses } from './checkboxClasses'; diff --git a/packages/mui-material/src/Chip/index.js b/packages/mui-material/src/Chip/index.js index 81875ce0035fcc..5c7f16c51acddf 100644 --- a/packages/mui-material/src/Chip/index.js +++ b/packages/mui-material/src/Chip/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Chip'; export { default as chipClasses } from './chipClasses'; diff --git a/packages/mui-material/src/CircularProgress/index.js b/packages/mui-material/src/CircularProgress/index.js index 0541327cc71d2d..16ab4399604db7 100644 --- a/packages/mui-material/src/CircularProgress/index.js +++ b/packages/mui-material/src/CircularProgress/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './CircularProgress'; export { default as circularProgressClasses } from './circularProgressClasses'; diff --git a/packages/mui-material/src/Collapse/index.js b/packages/mui-material/src/Collapse/index.js index 2c51ce3e77ed46..1d0361f84f2fb6 100644 --- a/packages/mui-material/src/Collapse/index.js +++ b/packages/mui-material/src/Collapse/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Collapse'; export { default as collapseClasses } from './collapseClasses'; diff --git a/packages/mui-material/src/Container/index.js b/packages/mui-material/src/Container/index.js index 0a922c1c8dee82..be7c5c912f5943 100644 --- a/packages/mui-material/src/Container/index.js +++ b/packages/mui-material/src/Container/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Container'; export { default as containerClasses } from './containerClasses'; diff --git a/packages/mui-material/src/CssBaseline/index.js b/packages/mui-material/src/CssBaseline/index.js index 348940ca2ea43a..fbc808d4492709 100644 --- a/packages/mui-material/src/CssBaseline/index.js +++ b/packages/mui-material/src/CssBaseline/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './CssBaseline'; diff --git a/packages/mui-material/src/Dialog/index.js b/packages/mui-material/src/Dialog/index.js index f6428c3e45d610..88fdcc2dbdef96 100644 --- a/packages/mui-material/src/Dialog/index.js +++ b/packages/mui-material/src/Dialog/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Dialog'; export { default as dialogClasses } from './dialogClasses'; diff --git a/packages/mui-material/src/DialogActions/index.js b/packages/mui-material/src/DialogActions/index.js index 2cd37c898aa606..e01426ff8b3ecb 100644 --- a/packages/mui-material/src/DialogActions/index.js +++ b/packages/mui-material/src/DialogActions/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './DialogActions'; export { default as dialogActionsClasses } from './dialogActionsClasses'; diff --git a/packages/mui-material/src/DialogContent/index.js b/packages/mui-material/src/DialogContent/index.js index 8594f9de368d11..6a64cd0760cb1e 100644 --- a/packages/mui-material/src/DialogContent/index.js +++ b/packages/mui-material/src/DialogContent/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './DialogContent'; export { default as dialogContentClasses } from './dialogContentClasses'; diff --git a/packages/mui-material/src/DialogContentText/index.js b/packages/mui-material/src/DialogContentText/index.js index c3d56494787dbd..ac4e6138a5497d 100644 --- a/packages/mui-material/src/DialogContentText/index.js +++ b/packages/mui-material/src/DialogContentText/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './DialogContentText'; export { default as dialogContentTextClasses } from './dialogContentTextClasses'; diff --git a/packages/mui-material/src/DialogTitle/index.js b/packages/mui-material/src/DialogTitle/index.js index 7d2af51cd0824d..05be8d699e12dd 100644 --- a/packages/mui-material/src/DialogTitle/index.js +++ b/packages/mui-material/src/DialogTitle/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './DialogTitle'; export { default as dialogTitleClasses } from './dialogTitleClasses'; diff --git a/packages/mui-material/src/Divider/index.js b/packages/mui-material/src/Divider/index.js index 6f37070be42115..cd0c47ad59025f 100644 --- a/packages/mui-material/src/Divider/index.js +++ b/packages/mui-material/src/Divider/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Divider'; export { default as dividerClasses } from './dividerClasses'; diff --git a/packages/mui-material/src/Drawer/index.js b/packages/mui-material/src/Drawer/index.js index c86f5d60e1cd06..2df2f33268b1f5 100644 --- a/packages/mui-material/src/Drawer/index.js +++ b/packages/mui-material/src/Drawer/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Drawer'; export { default as drawerClasses } from './drawerClasses'; diff --git a/packages/mui-material/src/Fab/index.js b/packages/mui-material/src/Fab/index.js index 7a50d9ba5b8ddd..e5fd203ad858c0 100644 --- a/packages/mui-material/src/Fab/index.js +++ b/packages/mui-material/src/Fab/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Fab'; export { default as fabClasses } from './fabClasses'; diff --git a/packages/mui-material/src/Fade/index.js b/packages/mui-material/src/Fade/index.js index 72383924f48901..f2e7306180a9ad 100644 --- a/packages/mui-material/src/Fade/index.js +++ b/packages/mui-material/src/Fade/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './Fade'; diff --git a/packages/mui-material/src/FilledInput/index.js b/packages/mui-material/src/FilledInput/index.js index d1afd2384ad9b5..91b5a314f0050b 100644 --- a/packages/mui-material/src/FilledInput/index.js +++ b/packages/mui-material/src/FilledInput/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './FilledInput'; export { default as filledInputClasses } from './filledInputClasses'; diff --git a/packages/mui-material/src/FormControl/index.js b/packages/mui-material/src/FormControl/index.js index 4112e5a979f5f1..3696a0db431cde 100644 --- a/packages/mui-material/src/FormControl/index.js +++ b/packages/mui-material/src/FormControl/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './FormControl'; export { default as useFormControl } from './useFormControl'; diff --git a/packages/mui-material/src/FormControlLabel/index.js b/packages/mui-material/src/FormControlLabel/index.js index 9ac194366044ec..9ed089a1a82bf0 100644 --- a/packages/mui-material/src/FormControlLabel/index.js +++ b/packages/mui-material/src/FormControlLabel/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './FormControlLabel'; export { default as formControlLabelClasses } from './formControlLabelClasses'; diff --git a/packages/mui-material/src/FormGroup/index.js b/packages/mui-material/src/FormGroup/index.js index 745ba760f17f76..a932a6832a111f 100644 --- a/packages/mui-material/src/FormGroup/index.js +++ b/packages/mui-material/src/FormGroup/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './FormGroup'; export { default as formGroupClasses } from './formGroupClasses'; export * from './formGroupClasses'; diff --git a/packages/mui-material/src/FormHelperText/index.js b/packages/mui-material/src/FormHelperText/index.js index e2e5b0a06e3444..00261f5370cf62 100644 --- a/packages/mui-material/src/FormHelperText/index.js +++ b/packages/mui-material/src/FormHelperText/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './FormHelperText'; export { default as formHelperTextClasses } from './formHelperTextClasses'; diff --git a/packages/mui-material/src/FormLabel/index.js b/packages/mui-material/src/FormLabel/index.js index db05e838ce6da7..f81d2d6d4ed4a4 100644 --- a/packages/mui-material/src/FormLabel/index.js +++ b/packages/mui-material/src/FormLabel/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './FormLabel'; export * from './FormLabel'; diff --git a/packages/mui-material/src/Grid/index.js b/packages/mui-material/src/Grid/index.js index c679ea0a45f9fc..7d6e3574239812 100644 --- a/packages/mui-material/src/Grid/index.js +++ b/packages/mui-material/src/Grid/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Grid'; export { default as gridClasses } from './gridClasses'; diff --git a/packages/mui-material/src/Grid2/index.ts b/packages/mui-material/src/Grid2/index.ts index b3ff428524d803..b85655841505cb 100644 --- a/packages/mui-material/src/Grid2/index.ts +++ b/packages/mui-material/src/Grid2/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Grid2'; export * from './Grid2'; export { default as grid2Classes } from './grid2Classes'; diff --git a/packages/mui-material/src/Grow/index.js b/packages/mui-material/src/Grow/index.js index 4a0378a0ec0359..0bae98f6624cc6 100644 --- a/packages/mui-material/src/Grow/index.js +++ b/packages/mui-material/src/Grow/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './Grow'; diff --git a/packages/mui-material/src/Hidden/index.js b/packages/mui-material/src/Hidden/index.js index ec796de043e77f..b786254d40f3d3 100644 --- a/packages/mui-material/src/Hidden/index.js +++ b/packages/mui-material/src/Hidden/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './Hidden'; diff --git a/packages/mui-material/src/Icon/index.js b/packages/mui-material/src/Icon/index.js index 2d590735b67a17..403a0df0626dfc 100644 --- a/packages/mui-material/src/Icon/index.js +++ b/packages/mui-material/src/Icon/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Icon'; export { default as iconClasses } from './iconClasses'; diff --git a/packages/mui-material/src/IconButton/index.js b/packages/mui-material/src/IconButton/index.js index f80565936a4435..115058c9d6a9f6 100644 --- a/packages/mui-material/src/IconButton/index.js +++ b/packages/mui-material/src/IconButton/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './IconButton'; export { default as iconButtonClasses } from './iconButtonClasses'; diff --git a/packages/mui-material/src/ImageList/index.js b/packages/mui-material/src/ImageList/index.js index d72a5536795bd7..3cbe65e6a2c1bf 100644 --- a/packages/mui-material/src/ImageList/index.js +++ b/packages/mui-material/src/ImageList/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ImageList'; export * from './imageListClasses'; export { default as imageListClasses } from './imageListClasses'; diff --git a/packages/mui-material/src/ImageListItem/index.js b/packages/mui-material/src/ImageListItem/index.js index d96ad0f3ce4798..3659a0336c3956 100644 --- a/packages/mui-material/src/ImageListItem/index.js +++ b/packages/mui-material/src/ImageListItem/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ImageListItem'; export * from './imageListItemClasses'; diff --git a/packages/mui-material/src/ImageListItemBar/index.js b/packages/mui-material/src/ImageListItemBar/index.js index d7617f02c01066..30060333f44f95 100644 --- a/packages/mui-material/src/ImageListItemBar/index.js +++ b/packages/mui-material/src/ImageListItemBar/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ImageListItemBar'; export * from './imageListItemBarClasses'; diff --git a/packages/mui-material/src/Input/index.js b/packages/mui-material/src/Input/index.js index 58f1c4e3d0cd62..b32ad177dd8e11 100644 --- a/packages/mui-material/src/Input/index.js +++ b/packages/mui-material/src/Input/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Input'; export { default as inputClasses } from './inputClasses'; export * from './inputClasses'; diff --git a/packages/mui-material/src/InputAdornment/index.js b/packages/mui-material/src/InputAdornment/index.js index e8757bd82b4074..b1e7375e2c5564 100644 --- a/packages/mui-material/src/InputAdornment/index.js +++ b/packages/mui-material/src/InputAdornment/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './InputAdornment'; export { default as inputAdornmentClasses } from './inputAdornmentClasses'; diff --git a/packages/mui-material/src/InputBase/index.js b/packages/mui-material/src/InputBase/index.js index 305647eb07d08b..c2fae1fb233b41 100644 --- a/packages/mui-material/src/InputBase/index.js +++ b/packages/mui-material/src/InputBase/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './InputBase'; export { default as inputBaseClasses } from './inputBaseClasses'; diff --git a/packages/mui-material/src/InputLabel/index.js b/packages/mui-material/src/InputLabel/index.js index f1050f1d809098..70140e12a84000 100644 --- a/packages/mui-material/src/InputLabel/index.js +++ b/packages/mui-material/src/InputLabel/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './InputLabel'; export { default as inputLabelClasses } from './inputLabelClasses'; diff --git a/packages/mui-material/src/LinearProgress/index.js b/packages/mui-material/src/LinearProgress/index.js index afb73ef3020a9c..e3f2818ef6e399 100644 --- a/packages/mui-material/src/LinearProgress/index.js +++ b/packages/mui-material/src/LinearProgress/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './LinearProgress'; export { default as linearProgressClasses } from './linearProgressClasses'; diff --git a/packages/mui-material/src/Link/index.js b/packages/mui-material/src/Link/index.js index 4af7cb278e648d..a9ab204b20f140 100644 --- a/packages/mui-material/src/Link/index.js +++ b/packages/mui-material/src/Link/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Link'; export { default as linkClasses } from './linkClasses'; diff --git a/packages/mui-material/src/List/index.js b/packages/mui-material/src/List/index.js index b8789a9b10e3ce..6435a92475c14f 100644 --- a/packages/mui-material/src/List/index.js +++ b/packages/mui-material/src/List/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './List'; export { default as listClasses } from './listClasses'; diff --git a/packages/mui-material/src/ListItem/index.js b/packages/mui-material/src/ListItem/index.js index 911c835b6b5887..90fc1a201efd55 100644 --- a/packages/mui-material/src/ListItem/index.js +++ b/packages/mui-material/src/ListItem/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListItem'; export { default as listItemClasses } from './listItemClasses'; diff --git a/packages/mui-material/src/ListItemAvatar/index.js b/packages/mui-material/src/ListItemAvatar/index.js index 7193ec97998512..767e616b6cf072 100644 --- a/packages/mui-material/src/ListItemAvatar/index.js +++ b/packages/mui-material/src/ListItemAvatar/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListItemAvatar'; export { default as listItemAvatarClasses } from './listItemAvatarClasses'; diff --git a/packages/mui-material/src/ListItemButton/index.js b/packages/mui-material/src/ListItemButton/index.js index 5af1d8f49e1c43..feb9791f4194cc 100644 --- a/packages/mui-material/src/ListItemButton/index.js +++ b/packages/mui-material/src/ListItemButton/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListItemButton'; export { default as listItemButtonClasses } from './listItemButtonClasses'; diff --git a/packages/mui-material/src/ListItemIcon/index.js b/packages/mui-material/src/ListItemIcon/index.js index 62c8390c58ff7c..04bfa6c394a0f9 100644 --- a/packages/mui-material/src/ListItemIcon/index.js +++ b/packages/mui-material/src/ListItemIcon/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListItemIcon'; export { default as listItemIconClasses } from './listItemIconClasses'; diff --git a/packages/mui-material/src/ListItemSecondaryAction/index.js b/packages/mui-material/src/ListItemSecondaryAction/index.js index 97f6c675e650e7..2c4dd3899448ba 100644 --- a/packages/mui-material/src/ListItemSecondaryAction/index.js +++ b/packages/mui-material/src/ListItemSecondaryAction/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListItemSecondaryAction'; export { default as listItemSecondaryActionClasses } from './listItemSecondaryActionClasses'; diff --git a/packages/mui-material/src/ListItemText/index.js b/packages/mui-material/src/ListItemText/index.js index f64e13990f8777..2d6364f6b0a84c 100644 --- a/packages/mui-material/src/ListItemText/index.js +++ b/packages/mui-material/src/ListItemText/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListItemText'; export { default as listItemTextClasses } from './listItemTextClasses'; diff --git a/packages/mui-material/src/ListSubheader/index.js b/packages/mui-material/src/ListSubheader/index.js index 4f23484d86d1c6..efc177069c73ee 100644 --- a/packages/mui-material/src/ListSubheader/index.js +++ b/packages/mui-material/src/ListSubheader/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ListSubheader'; export { default as listSubheaderClasses } from './listSubheaderClasses'; diff --git a/packages/mui-material/src/Menu/index.js b/packages/mui-material/src/Menu/index.js index 2d9ed62e36c32c..036a988742c854 100644 --- a/packages/mui-material/src/Menu/index.js +++ b/packages/mui-material/src/Menu/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Menu'; export { default as menuClasses } from './menuClasses'; diff --git a/packages/mui-material/src/MenuItem/index.js b/packages/mui-material/src/MenuItem/index.js index a53c62cb82c8fe..ec789a4b43b2a9 100644 --- a/packages/mui-material/src/MenuItem/index.js +++ b/packages/mui-material/src/MenuItem/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './MenuItem'; export * from './menuItemClasses'; diff --git a/packages/mui-material/src/MenuList/index.js b/packages/mui-material/src/MenuList/index.js index 87fbe8b70a5454..f6fe3944910fb0 100644 --- a/packages/mui-material/src/MenuList/index.js +++ b/packages/mui-material/src/MenuList/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './MenuList'; diff --git a/packages/mui-material/src/MobileStepper/index.js b/packages/mui-material/src/MobileStepper/index.js index c157b25d88b40a..ef2f34beedbca9 100644 --- a/packages/mui-material/src/MobileStepper/index.js +++ b/packages/mui-material/src/MobileStepper/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './MobileStepper'; export { default as mobileStepperClasses } from './mobileStepperClasses'; diff --git a/packages/mui-material/src/Modal/index.js b/packages/mui-material/src/Modal/index.js index c2add9e2091ead..e5d60c85c52dcd 100644 --- a/packages/mui-material/src/Modal/index.js +++ b/packages/mui-material/src/Modal/index.js @@ -1,4 +1,3 @@ -'use client'; export { ModalManager } from './ModalManager'; export { default } from './Modal'; diff --git a/packages/mui-material/src/NativeSelect/index.js b/packages/mui-material/src/NativeSelect/index.js index 03010668d0a539..e5e3f3dd584450 100644 --- a/packages/mui-material/src/NativeSelect/index.js +++ b/packages/mui-material/src/NativeSelect/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './NativeSelect'; export { default as nativeSelectClasses } from './nativeSelectClasses'; diff --git a/packages/mui-material/src/OutlinedInput/index.js b/packages/mui-material/src/OutlinedInput/index.js index ba19d9b1b14008..4877ca68a9f8f5 100644 --- a/packages/mui-material/src/OutlinedInput/index.js +++ b/packages/mui-material/src/OutlinedInput/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './OutlinedInput'; export { default as outlinedInputClasses } from './outlinedInputClasses'; diff --git a/packages/mui-material/src/Pagination/index.js b/packages/mui-material/src/Pagination/index.js index 90f89cbe209217..979e9b058c6d34 100644 --- a/packages/mui-material/src/Pagination/index.js +++ b/packages/mui-material/src/Pagination/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Pagination'; export { default as paginationClasses } from './paginationClasses'; diff --git a/packages/mui-material/src/PaginationItem/index.js b/packages/mui-material/src/PaginationItem/index.js index 6e723f770cb0da..8cc1e9ecdcc739 100644 --- a/packages/mui-material/src/PaginationItem/index.js +++ b/packages/mui-material/src/PaginationItem/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './PaginationItem'; export { default as paginationItemClasses } from './paginationItemClasses'; diff --git a/packages/mui-material/src/Paper/index.js b/packages/mui-material/src/Paper/index.js index dd3c6653b1019c..b9f5f7bf7d77a8 100644 --- a/packages/mui-material/src/Paper/index.js +++ b/packages/mui-material/src/Paper/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Paper'; export { default as paperClasses } from './paperClasses'; diff --git a/packages/mui-material/src/Popover/index.js b/packages/mui-material/src/Popover/index.js index af8780df14f51e..bf8f15fc74c066 100644 --- a/packages/mui-material/src/Popover/index.js +++ b/packages/mui-material/src/Popover/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Popover'; export * from './Popover'; diff --git a/packages/mui-material/src/Popper/index.js b/packages/mui-material/src/Popper/index.js index 3055f10dcc763e..30316b8bf1c91b 100644 --- a/packages/mui-material/src/Popper/index.js +++ b/packages/mui-material/src/Popper/index.js @@ -1,3 +1,2 @@ -'use client'; export { default } from './Popper'; export * from './popperClasses'; diff --git a/packages/mui-material/src/Radio/index.js b/packages/mui-material/src/Radio/index.js index eeabd2f3fa0973..659d29e9fd37fb 100644 --- a/packages/mui-material/src/Radio/index.js +++ b/packages/mui-material/src/Radio/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Radio'; export { default as radioClasses } from './radioClasses'; diff --git a/packages/mui-material/src/RadioGroup/index.js b/packages/mui-material/src/RadioGroup/index.js index 9db6dab53515ea..ad2099433dfb76 100644 --- a/packages/mui-material/src/RadioGroup/index.js +++ b/packages/mui-material/src/RadioGroup/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './RadioGroup'; export { default as useRadioGroup } from './useRadioGroup'; diff --git a/packages/mui-material/src/ScopedCssBaseline/index.js b/packages/mui-material/src/ScopedCssBaseline/index.js index add0e05745141e..ab7ca6ccdf4c5b 100644 --- a/packages/mui-material/src/ScopedCssBaseline/index.js +++ b/packages/mui-material/src/ScopedCssBaseline/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ScopedCssBaseline'; export { default as scopedCssBaselineClasses } from './scopedCssBaselineClasses'; diff --git a/packages/mui-material/src/Select/index.js b/packages/mui-material/src/Select/index.js index 9c160bf8a57d7f..59eafa5d813fe0 100644 --- a/packages/mui-material/src/Select/index.js +++ b/packages/mui-material/src/Select/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Select'; export { default as selectClasses } from './selectClasses'; diff --git a/packages/mui-material/src/Skeleton/index.js b/packages/mui-material/src/Skeleton/index.js index 2d8d38e0c37382..ba349955e757a7 100644 --- a/packages/mui-material/src/Skeleton/index.js +++ b/packages/mui-material/src/Skeleton/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Skeleton'; export * from './skeletonClasses'; diff --git a/packages/mui-material/src/Slide/index.js b/packages/mui-material/src/Slide/index.js index 1e82e336ebd002..7a116646dc53b2 100644 --- a/packages/mui-material/src/Slide/index.js +++ b/packages/mui-material/src/Slide/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './Slide'; diff --git a/packages/mui-material/src/Slider/index.js b/packages/mui-material/src/Slider/index.js index 4e20c2e2b8a724..ac3427028230ed 100644 --- a/packages/mui-material/src/Slider/index.js +++ b/packages/mui-material/src/Slider/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Slider'; export * from './Slider'; diff --git a/packages/mui-material/src/Snackbar/index.js b/packages/mui-material/src/Snackbar/index.js index c21dbfa25ec91d..048c654862c26b 100644 --- a/packages/mui-material/src/Snackbar/index.js +++ b/packages/mui-material/src/Snackbar/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Snackbar'; export { default as snackbarClasses } from './snackbarClasses'; diff --git a/packages/mui-material/src/SnackbarContent/index.js b/packages/mui-material/src/SnackbarContent/index.js index bdea04e7db6591..44f55061a70824 100644 --- a/packages/mui-material/src/SnackbarContent/index.js +++ b/packages/mui-material/src/SnackbarContent/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './SnackbarContent'; export { default as snackbarContentClasses } from './snackbarContentClasses'; diff --git a/packages/mui-material/src/SpeedDial/index.js b/packages/mui-material/src/SpeedDial/index.js index e5e9897eb921e1..22eeb5a48f0852 100644 --- a/packages/mui-material/src/SpeedDial/index.js +++ b/packages/mui-material/src/SpeedDial/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './SpeedDial'; export { default as speedDialClasses } from './speedDialClasses'; diff --git a/packages/mui-material/src/SpeedDialAction/index.js b/packages/mui-material/src/SpeedDialAction/index.js index 06ea3a1f587594..6a6d8319ff1784 100644 --- a/packages/mui-material/src/SpeedDialAction/index.js +++ b/packages/mui-material/src/SpeedDialAction/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './SpeedDialAction'; export { default as speedDialActionClasses } from './speedDialActionClasses'; diff --git a/packages/mui-material/src/SpeedDialIcon/index.js b/packages/mui-material/src/SpeedDialIcon/index.js index 79182b4179f4e5..19c450e2c69450 100644 --- a/packages/mui-material/src/SpeedDialIcon/index.js +++ b/packages/mui-material/src/SpeedDialIcon/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './SpeedDialIcon'; export { default as speedDialIconClasses } from './speedDialIconClasses'; diff --git a/packages/mui-material/src/Stack/index.js b/packages/mui-material/src/Stack/index.js index bf039ea305c901..2eb8645cc51ca0 100644 --- a/packages/mui-material/src/Stack/index.js +++ b/packages/mui-material/src/Stack/index.js @@ -1,3 +1,2 @@ -'use client'; export { default } from './Stack'; export { default as stackClasses } from './stackClasses'; diff --git a/packages/mui-material/src/Step/index.js b/packages/mui-material/src/Step/index.js index 1255fcc2added7..5c8dc441973e51 100644 --- a/packages/mui-material/src/Step/index.js +++ b/packages/mui-material/src/Step/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Step'; export { default as stepClasses } from './stepClasses'; diff --git a/packages/mui-material/src/StepButton/index.js b/packages/mui-material/src/StepButton/index.js index 388011bdf53b4f..5a0c1d194a0505 100644 --- a/packages/mui-material/src/StepButton/index.js +++ b/packages/mui-material/src/StepButton/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './StepButton'; export { default as stepButtonClasses } from './stepButtonClasses'; diff --git a/packages/mui-material/src/StepConnector/index.js b/packages/mui-material/src/StepConnector/index.js index 492c8bfee6e8fb..286d2f3240c0de 100644 --- a/packages/mui-material/src/StepConnector/index.js +++ b/packages/mui-material/src/StepConnector/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './StepConnector'; export { default as stepConnectorClasses } from './stepConnectorClasses'; diff --git a/packages/mui-material/src/StepContent/index.js b/packages/mui-material/src/StepContent/index.js index 3b38c1adea20c9..d0fb5c7da6b77d 100644 --- a/packages/mui-material/src/StepContent/index.js +++ b/packages/mui-material/src/StepContent/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './StepContent'; export { default as stepContentClasses } from './stepContentClasses'; diff --git a/packages/mui-material/src/StepIcon/index.js b/packages/mui-material/src/StepIcon/index.js index bd9afa42a4736a..555e6cf418581d 100644 --- a/packages/mui-material/src/StepIcon/index.js +++ b/packages/mui-material/src/StepIcon/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './StepIcon'; export { default as stepIconClasses } from './stepIconClasses'; diff --git a/packages/mui-material/src/StepLabel/index.js b/packages/mui-material/src/StepLabel/index.js index 519623052a9be3..b60fad9c328271 100644 --- a/packages/mui-material/src/StepLabel/index.js +++ b/packages/mui-material/src/StepLabel/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './StepLabel'; export { default as stepLabelClasses } from './stepLabelClasses'; diff --git a/packages/mui-material/src/Stepper/index.js b/packages/mui-material/src/Stepper/index.js index e3075b49cf6af1..550f0b648ad7e0 100644 --- a/packages/mui-material/src/Stepper/index.js +++ b/packages/mui-material/src/Stepper/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Stepper'; export { default as stepperClasses } from './stepperClasses'; diff --git a/packages/mui-material/src/SvgIcon/index.js b/packages/mui-material/src/SvgIcon/index.js index 54246af9b83156..4efcade7020cce 100644 --- a/packages/mui-material/src/SvgIcon/index.js +++ b/packages/mui-material/src/SvgIcon/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './SvgIcon'; export { default as svgIconClasses } from './svgIconClasses'; diff --git a/packages/mui-material/src/SwipeableDrawer/index.js b/packages/mui-material/src/SwipeableDrawer/index.js index 7cae5e6bfc1147..56a2ccfdcb02aa 100644 --- a/packages/mui-material/src/SwipeableDrawer/index.js +++ b/packages/mui-material/src/SwipeableDrawer/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './SwipeableDrawer'; diff --git a/packages/mui-material/src/Switch/index.js b/packages/mui-material/src/Switch/index.js index 6e53e01c5c3dba..eb3612573cef80 100644 --- a/packages/mui-material/src/Switch/index.js +++ b/packages/mui-material/src/Switch/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Switch'; export { default as switchClasses } from './switchClasses'; diff --git a/packages/mui-material/src/Tab/index.js b/packages/mui-material/src/Tab/index.js index 29213284d8cbd8..7c828ba9dd2757 100644 --- a/packages/mui-material/src/Tab/index.js +++ b/packages/mui-material/src/Tab/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Tab'; export { default as tabClasses } from './tabClasses'; diff --git a/packages/mui-material/src/TabScrollButton/index.js b/packages/mui-material/src/TabScrollButton/index.js index 15aa330441752b..6c84cb4dca3377 100644 --- a/packages/mui-material/src/TabScrollButton/index.js +++ b/packages/mui-material/src/TabScrollButton/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './TabScrollButton'; export { default as tabScrollButtonClasses } from './tabScrollButtonClasses'; diff --git a/packages/mui-material/src/Table/index.js b/packages/mui-material/src/Table/index.js index 49ca62cf115ca1..dea2be8d78f2a0 100644 --- a/packages/mui-material/src/Table/index.js +++ b/packages/mui-material/src/Table/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Table'; export { default as tableClasses } from './tableClasses'; diff --git a/packages/mui-material/src/TableBody/index.js b/packages/mui-material/src/TableBody/index.js index 1c2fb035dfd798..f9d4adef78fbd2 100644 --- a/packages/mui-material/src/TableBody/index.js +++ b/packages/mui-material/src/TableBody/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './TableBody'; export { default as tableBodyClasses } from './tableBodyClasses'; diff --git a/packages/mui-material/src/TableCell/index.js b/packages/mui-material/src/TableCell/index.js index 42be81da5e1df2..d02d3290bf6dab 100644 --- a/packages/mui-material/src/TableCell/index.js +++ b/packages/mui-material/src/TableCell/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './TableCell'; export { default as tableCellClasses } from './tableCellClasses'; diff --git a/packages/mui-material/src/TableContainer/index.js b/packages/mui-material/src/TableContainer/index.js index c3fc026d92a2f4..094fb1fd2e1fb4 100644 --- a/packages/mui-material/src/TableContainer/index.js +++ b/packages/mui-material/src/TableContainer/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './TableContainer'; export { default as tableContainerClasses } from './tableContainerClasses'; diff --git a/packages/mui-material/src/TableFooter/index.js b/packages/mui-material/src/TableFooter/index.js index 886cce9e96d4c6..4d3199f1bb616d 100644 --- a/packages/mui-material/src/TableFooter/index.js +++ b/packages/mui-material/src/TableFooter/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './TableFooter'; export { default as tableFooterClasses } from './tableFooterClasses'; diff --git a/packages/mui-material/src/TableHead/index.js b/packages/mui-material/src/TableHead/index.js index 12e83aab59511d..c7622e8ab2424f 100644 --- a/packages/mui-material/src/TableHead/index.js +++ b/packages/mui-material/src/TableHead/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './TableHead'; export { default as tableHeadClasses } from './tableHeadClasses'; diff --git a/packages/mui-material/src/TablePagination/index.js b/packages/mui-material/src/TablePagination/index.js index 12c25d2f980416..a331f1abcf6e48 100644 --- a/packages/mui-material/src/TablePagination/index.js +++ b/packages/mui-material/src/TablePagination/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './TablePagination'; export { default as tablePaginationClasses } from './tablePaginationClasses'; diff --git a/packages/mui-material/src/TableRow/index.js b/packages/mui-material/src/TableRow/index.js index b85aba3523f66b..78fa3b42e84a99 100644 --- a/packages/mui-material/src/TableRow/index.js +++ b/packages/mui-material/src/TableRow/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './TableRow'; export { default as tableRowClasses } from './tableRowClasses'; diff --git a/packages/mui-material/src/TableSortLabel/index.js b/packages/mui-material/src/TableSortLabel/index.js index aac808daf1abb7..b32dbea51fca5c 100644 --- a/packages/mui-material/src/TableSortLabel/index.js +++ b/packages/mui-material/src/TableSortLabel/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './TableSortLabel'; export { default as tableSortLabelClasses } from './tableSortLabelClasses'; diff --git a/packages/mui-material/src/Tabs/index.js b/packages/mui-material/src/Tabs/index.js index e026a0ff9036ed..c0e4122744acdb 100644 --- a/packages/mui-material/src/Tabs/index.js +++ b/packages/mui-material/src/Tabs/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Tabs'; export { default as tabsClasses } from './tabsClasses'; diff --git a/packages/mui-material/src/TextField/index.js b/packages/mui-material/src/TextField/index.js index 916789e3d47bdc..aa2c5bc42a3d17 100644 --- a/packages/mui-material/src/TextField/index.js +++ b/packages/mui-material/src/TextField/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './TextField'; export { default as textFieldClasses } from './textFieldClasses'; diff --git a/packages/mui-material/src/ToggleButton/index.js b/packages/mui-material/src/ToggleButton/index.js index 131f48248c31db..41bb0536de4556 100644 --- a/packages/mui-material/src/ToggleButton/index.js +++ b/packages/mui-material/src/ToggleButton/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ToggleButton'; export { default as toggleButtonClasses } from './toggleButtonClasses'; diff --git a/packages/mui-material/src/ToggleButtonGroup/index.js b/packages/mui-material/src/ToggleButtonGroup/index.js index 08c143fe70e852..6d4a88fa3e99be 100644 --- a/packages/mui-material/src/ToggleButtonGroup/index.js +++ b/packages/mui-material/src/ToggleButtonGroup/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './ToggleButtonGroup'; export { default as toggleButtonGroupClasses } from './toggleButtonGroupClasses'; diff --git a/packages/mui-material/src/Tooltip/index.js b/packages/mui-material/src/Tooltip/index.js index 99ce38771452a1..41217639d8cc24 100644 --- a/packages/mui-material/src/Tooltip/index.js +++ b/packages/mui-material/src/Tooltip/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Tooltip'; export { default as tooltipClasses } from './tooltipClasses'; diff --git a/packages/mui-material/src/Typography/index.js b/packages/mui-material/src/Typography/index.js index ac1d28ee5ea00d..8c0aa8a325423f 100644 --- a/packages/mui-material/src/Typography/index.js +++ b/packages/mui-material/src/Typography/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Typography'; export { default as typographyClasses } from './typographyClasses'; diff --git a/packages/mui-material/src/Zoom/index.js b/packages/mui-material/src/Zoom/index.js index 39af66639e7e0e..5a76ecbfe91cdd 100644 --- a/packages/mui-material/src/Zoom/index.js +++ b/packages/mui-material/src/Zoom/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './Zoom'; diff --git a/packages/mui-material/src/styles/index.js b/packages/mui-material/src/styles/index.js index b38149b9eb1274..e856d1d5d2fa43 100644 --- a/packages/mui-material/src/styles/index.js +++ b/packages/mui-material/src/styles/index.js @@ -1,4 +1,3 @@ -'use client'; import MuiError from '@mui/internal-babel-macros/MuiError.macro'; export { default as THEME_ID } from './identifier'; diff --git a/packages/mui-material/src/useAutocomplete/index.js b/packages/mui-material/src/useAutocomplete/index.js index fa72a071a5a55b..a6c05b480618e9 100644 --- a/packages/mui-material/src/useAutocomplete/index.js +++ b/packages/mui-material/src/useAutocomplete/index.js @@ -1,2 +1 @@ -'use client'; export { default, createFilterOptions } from './useAutocomplete'; diff --git a/packages/mui-material/src/usePagination/index.js b/packages/mui-material/src/usePagination/index.js index 9e1df34da8bec1..0cfab44452eba0 100644 --- a/packages/mui-material/src/usePagination/index.js +++ b/packages/mui-material/src/usePagination/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './usePagination'; diff --git a/packages/mui-material/src/useScrollTrigger/index.js b/packages/mui-material/src/useScrollTrigger/index.js index 44f958ca6e2a14..e996f70c773ee6 100644 --- a/packages/mui-material/src/useScrollTrigger/index.js +++ b/packages/mui-material/src/useScrollTrigger/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './useScrollTrigger'; diff --git a/packages/mui-styled-engine/src/GlobalStyles/index.js b/packages/mui-styled-engine/src/GlobalStyles/index.js index 275d047f4e9eb3..48e20189092434 100644 --- a/packages/mui-styled-engine/src/GlobalStyles/index.js +++ b/packages/mui-styled-engine/src/GlobalStyles/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './GlobalStyles'; diff --git a/packages/mui-styled-engine/src/StyledEngineProvider/index.js b/packages/mui-styled-engine/src/StyledEngineProvider/index.js index 6d2191b13941a1..30cd6986a545fa 100644 --- a/packages/mui-styled-engine/src/StyledEngineProvider/index.js +++ b/packages/mui-styled-engine/src/StyledEngineProvider/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './StyledEngineProvider'; diff --git a/packages/mui-styled-engine/src/index.js b/packages/mui-styled-engine/src/index.js index c3cdee4cac8b34..2eb9a86b75674d 100644 --- a/packages/mui-styled-engine/src/index.js +++ b/packages/mui-styled-engine/src/index.js @@ -1,4 +1,3 @@ -'use client'; /* eslint-disable no-underscore-dangle */ import emStyled from '@emotion/styled'; diff --git a/packages/mui-system/src/Box/index.js b/packages/mui-system/src/Box/index.js index 956a444c75c938..fc66543f28f643 100644 --- a/packages/mui-system/src/Box/index.js +++ b/packages/mui-system/src/Box/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Box'; export { default as boxClasses } from './boxClasses'; diff --git a/packages/mui-system/src/Container/index.js b/packages/mui-system/src/Container/index.js index 0a922c1c8dee82..be7c5c912f5943 100644 --- a/packages/mui-system/src/Container/index.js +++ b/packages/mui-system/src/Container/index.js @@ -1,4 +1,3 @@ -'use client'; export { default } from './Container'; export { default as containerClasses } from './containerClasses'; diff --git a/packages/mui-system/src/GlobalStyles/index.ts b/packages/mui-system/src/GlobalStyles/index.ts index d54f8337f6e723..a815f5c4a572b2 100644 --- a/packages/mui-system/src/GlobalStyles/index.ts +++ b/packages/mui-system/src/GlobalStyles/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './GlobalStyles'; export * from './GlobalStyles'; diff --git a/packages/mui-system/src/Grid/index.ts b/packages/mui-system/src/Grid/index.ts index 9b2e8e91b570af..96a55fa381ed2f 100644 --- a/packages/mui-system/src/Grid/index.ts +++ b/packages/mui-system/src/Grid/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Grid'; export { default as createGrid } from './createGrid'; export * from './GridProps'; diff --git a/packages/mui-system/src/Stack/index.ts b/packages/mui-system/src/Stack/index.ts index 78c63b4339f375..3e02c9de01261b 100644 --- a/packages/mui-system/src/Stack/index.ts +++ b/packages/mui-system/src/Stack/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './Stack'; export { default as createStack } from './createStack'; export * from './StackProps'; diff --git a/packages/mui-system/src/ThemeProvider/index.js b/packages/mui-system/src/ThemeProvider/index.js index 05eaa8875f6edb..ae3e7b91b60666 100644 --- a/packages/mui-system/src/ThemeProvider/index.js +++ b/packages/mui-system/src/ThemeProvider/index.js @@ -1,2 +1 @@ -'use client'; export { default } from './ThemeProvider'; diff --git a/packages/mui-system/src/borders/index.ts b/packages/mui-system/src/borders/index.ts index b80d6280b55565..027f427edbf17b 100644 --- a/packages/mui-system/src/borders/index.ts +++ b/packages/mui-system/src/borders/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './borders'; export * from './borders'; diff --git a/packages/mui-system/src/breakpoints/index.ts b/packages/mui-system/src/breakpoints/index.ts index d4131e5d7098e1..09e54480881496 100644 --- a/packages/mui-system/src/breakpoints/index.ts +++ b/packages/mui-system/src/breakpoints/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './breakpoints'; export * from './breakpoints'; diff --git a/packages/mui-system/src/colorManipulator/index.ts b/packages/mui-system/src/colorManipulator/index.ts index 5149f8e5219a36..c9569a046d2fc4 100644 --- a/packages/mui-system/src/colorManipulator/index.ts +++ b/packages/mui-system/src/colorManipulator/index.ts @@ -1,2 +1 @@ -'use client'; export * from './colorManipulator'; diff --git a/packages/mui-system/src/compose/index.ts b/packages/mui-system/src/compose/index.ts index 5903eeea33a13e..3d5783ca532442 100644 --- a/packages/mui-system/src/compose/index.ts +++ b/packages/mui-system/src/compose/index.ts @@ -1,2 +1 @@ -'use client'; export { default } from './compose'; diff --git a/packages/mui-system/src/createBox/index.ts b/packages/mui-system/src/createBox/index.ts index 93262690e07c97..0ec8ce35a676ae 100644 --- a/packages/mui-system/src/createBox/index.ts +++ b/packages/mui-system/src/createBox/index.ts @@ -1,2 +1 @@ -'use client'; export { default } from './createBox'; diff --git a/packages/mui-system/src/createStyled/index.ts b/packages/mui-system/src/createStyled/index.ts index d827d43448643e..052fe3acb9aa33 100644 --- a/packages/mui-system/src/createStyled/index.ts +++ b/packages/mui-system/src/createStyled/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './createStyled'; export * from './createStyled'; diff --git a/packages/mui-system/src/cssGrid/index.ts b/packages/mui-system/src/cssGrid/index.ts index 606a39450c07a6..7f8c35a00e5391 100644 --- a/packages/mui-system/src/cssGrid/index.ts +++ b/packages/mui-system/src/cssGrid/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './cssGrid'; export * from './cssGrid'; diff --git a/packages/mui-system/src/cssVars/index.ts b/packages/mui-system/src/cssVars/index.ts index 8135af71cd38da..e20a5bec491de3 100644 --- a/packages/mui-system/src/cssVars/index.ts +++ b/packages/mui-system/src/cssVars/index.ts @@ -1,4 +1,3 @@ -'use client'; export { default } from './createCssVarsProvider'; export type { CreateCssVarsProviderResult, diff --git a/packages/mui-system/src/display/index.ts b/packages/mui-system/src/display/index.ts index c0dcbfdc15af6c..e1e226bd9d09b2 100644 --- a/packages/mui-system/src/display/index.ts +++ b/packages/mui-system/src/display/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './display'; export * from './display'; diff --git a/packages/mui-system/src/flexbox/index.ts b/packages/mui-system/src/flexbox/index.ts index 5c1c749951e820..f9de3d77b47aa8 100644 --- a/packages/mui-system/src/flexbox/index.ts +++ b/packages/mui-system/src/flexbox/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './flexbox'; export * from './flexbox'; diff --git a/packages/mui-system/src/getThemeValue/index.ts b/packages/mui-system/src/getThemeValue/index.ts index 058c6ae97c7537..a88a6ec97af548 100644 --- a/packages/mui-system/src/getThemeValue/index.ts +++ b/packages/mui-system/src/getThemeValue/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './getThemeValue'; export * from './getThemeValue'; diff --git a/packages/mui-system/src/memoize/index.ts b/packages/mui-system/src/memoize/index.ts index 66774a993cd6b0..fb7e4f9183731a 100644 --- a/packages/mui-system/src/memoize/index.ts +++ b/packages/mui-system/src/memoize/index.ts @@ -1,2 +1 @@ -'use client'; export { default } from './memoize'; diff --git a/packages/mui-system/src/merge/index.ts b/packages/mui-system/src/merge/index.ts index cb9274486a9fa1..97db223bc8188e 100644 --- a/packages/mui-system/src/merge/index.ts +++ b/packages/mui-system/src/merge/index.ts @@ -1,2 +1 @@ -'use client'; export { default } from './merge'; diff --git a/packages/mui-system/src/palette/index.ts b/packages/mui-system/src/palette/index.ts index 28fa2b57c680c3..b1ddfcfb088c68 100644 --- a/packages/mui-system/src/palette/index.ts +++ b/packages/mui-system/src/palette/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './palette'; export * from './palette'; diff --git a/packages/mui-system/src/positions/index.ts b/packages/mui-system/src/positions/index.ts index 31aa77fbee438b..a319f1ab59e1c7 100644 --- a/packages/mui-system/src/positions/index.ts +++ b/packages/mui-system/src/positions/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './positions'; export * from './positions'; diff --git a/packages/mui-system/src/propsToClassKey/index.ts b/packages/mui-system/src/propsToClassKey/index.ts index 95022b3d29683b..89e04af61e6d6a 100644 --- a/packages/mui-system/src/propsToClassKey/index.ts +++ b/packages/mui-system/src/propsToClassKey/index.ts @@ -1,2 +1 @@ -'use client'; export { default } from './propsToClassKey'; diff --git a/packages/mui-system/src/responsivePropType/index.ts b/packages/mui-system/src/responsivePropType/index.ts index ad75ae545bcf45..b51c8a4a03dfe6 100644 --- a/packages/mui-system/src/responsivePropType/index.ts +++ b/packages/mui-system/src/responsivePropType/index.ts @@ -1,2 +1 @@ -'use client'; export { default } from './responsivePropType'; diff --git a/packages/mui-system/src/shadows/index.ts b/packages/mui-system/src/shadows/index.ts index 6dd3312387e486..9eaa3ad25e7782 100644 --- a/packages/mui-system/src/shadows/index.ts +++ b/packages/mui-system/src/shadows/index.ts @@ -1,2 +1 @@ -'use client'; export { default } from './shadows'; diff --git a/packages/mui-system/src/sizing/index.ts b/packages/mui-system/src/sizing/index.ts index 5c30a7222568da..1aa949fb9b6f2b 100644 --- a/packages/mui-system/src/sizing/index.ts +++ b/packages/mui-system/src/sizing/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './sizing'; export * from './sizing'; diff --git a/packages/mui-system/src/spacing/index.ts b/packages/mui-system/src/spacing/index.ts index 6bad9ad89d4dd5..af6e8064da1e40 100644 --- a/packages/mui-system/src/spacing/index.ts +++ b/packages/mui-system/src/spacing/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './spacing'; export * from './spacing'; diff --git a/packages/mui-system/src/style/index.ts b/packages/mui-system/src/style/index.ts index 2e4fa57df00254..d668cfe132f72d 100644 --- a/packages/mui-system/src/style/index.ts +++ b/packages/mui-system/src/style/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './style'; export * from './style'; diff --git a/packages/mui-system/src/styled/index.ts b/packages/mui-system/src/styled/index.ts index fe2f75a1ca7742..62f3c6aec6abe7 100644 --- a/packages/mui-system/src/styled/index.ts +++ b/packages/mui-system/src/styled/index.ts @@ -1,2 +1 @@ -'use client'; export { default } from './styled'; diff --git a/packages/mui-system/src/typography/index.ts b/packages/mui-system/src/typography/index.ts index 2f6cf00668c7c7..dbc116be65439c 100644 --- a/packages/mui-system/src/typography/index.ts +++ b/packages/mui-system/src/typography/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './typography'; export * from './typography'; diff --git a/packages/mui-system/src/useTheme/index.ts b/packages/mui-system/src/useTheme/index.ts index fc788b2994365a..bbe4d936c03acd 100644 --- a/packages/mui-system/src/useTheme/index.ts +++ b/packages/mui-system/src/useTheme/index.ts @@ -1,3 +1,2 @@ -'use client'; export { default } from './useTheme'; export * from './useTheme'; diff --git a/packages/mui-system/src/useThemeProps/index.js b/packages/mui-system/src/useThemeProps/index.js index 101685f2bc816f..cac7b802d5d674 100644 --- a/packages/mui-system/src/useThemeProps/index.js +++ b/packages/mui-system/src/useThemeProps/index.js @@ -1,3 +1,2 @@ -'use client'; export { default } from './useThemeProps'; export { default as getThemeProps } from './getThemeProps'; diff --git a/packages/mui-system/src/useThemeWithoutDefault/index.ts b/packages/mui-system/src/useThemeWithoutDefault/index.ts index 7018fca5e9639a..d2ab73cea4c91b 100644 --- a/packages/mui-system/src/useThemeWithoutDefault/index.ts +++ b/packages/mui-system/src/useThemeWithoutDefault/index.ts @@ -1,2 +1 @@ -'use client'; export { default } from './useThemeWithoutDefault'; diff --git a/packages/rsc-builder/buildRsc.ts b/packages/rsc-builder/buildRsc.ts index b8f78490bcada1..31a8e86ad8f42c 100644 --- a/packages/rsc-builder/buildRsc.ts +++ b/packages/rsc-builder/buildRsc.ts @@ -27,6 +27,7 @@ const PROJECTS: Project[] = [ 'packages/mui-material/src/PigmentContainer/PigmentContainer.tsx', // RSC compatible 'packages/mui-material/src/PigmentGrid/PigmentGrid.tsx', // RSC compatible 'packages/mui-material/src/PigmentStack/PigmentStack.tsx', // RSC compatible + 'packages/mui-material/src/useAutocomplete/useAutocomplete.js', // RSC compatible ], }, {