diff --git a/packages/eslint-plugin/src/configs/base.js b/packages/eslint-plugin/src/configs/base.js index 2423f8a7b8b882..cab360135da702 100644 --- a/packages/eslint-plugin/src/configs/base.js +++ b/packages/eslint-plugin/src/configs/base.js @@ -19,10 +19,9 @@ module.exports = { }, overrides: [ { - files: '**/src/index.{ts,tsx,js}', + files: '**/src/**/*.{ts,tsx,js}', rules: { - // TODO: propagate to `error` once all packages barrel files have been fixed - '@rnx-kit/no-export-all': ['warn', { expand: 'all' }], + '@rnx-kit/no-export-all': ['error', { expand: 'all' }], }, }, ], diff --git a/packages/react-components/react-button/library/src/Button.tsx b/packages/react-components/react-button/library/src/Button.tsx index a26b1440791325..26141b8af6ac74 100644 --- a/packages/react-components/react-button/library/src/Button.tsx +++ b/packages/react-components/react-button/library/src/Button.tsx @@ -1 +1,2 @@ -export * from './components/Button/index'; +export type { ButtonProps, ButtonSlots, ButtonState } from './components/Button/index'; +export { Button, buttonClassNames, renderButton_unstable, useButtonStyles_unstable, useButton_unstable } from './components/Button/index'; diff --git a/packages/react-components/react-button/library/src/CompoundButton.ts b/packages/react-components/react-button/library/src/CompoundButton.ts index efb920c2c458c2..44ba5ee3227fbf 100644 --- a/packages/react-components/react-button/library/src/CompoundButton.ts +++ b/packages/react-components/react-button/library/src/CompoundButton.ts @@ -1 +1,2 @@ -export * from './components/CompoundButton/index'; +export type { CompoundButtonProps, CompoundButtonSlots, CompoundButtonState } from './components/CompoundButton/index'; +export { CompoundButton, compoundButtonClassNames, renderCompoundButton_unstable, useCompoundButtonStyles_unstable, useCompoundButton_unstable } from './components/CompoundButton/index'; diff --git a/packages/react-components/react-button/library/src/MenuButton.ts b/packages/react-components/react-button/library/src/MenuButton.ts index 97b690d11ee4dd..db0d804b3bf95f 100644 --- a/packages/react-components/react-button/library/src/MenuButton.ts +++ b/packages/react-components/react-button/library/src/MenuButton.ts @@ -1 +1,2 @@ -export * from './components/MenuButton/index'; +export type { MenuButtonProps, MenuButtonSlots, MenuButtonState } from './components/MenuButton/index'; +export { MenuButton, menuButtonClassNames, renderMenuButton_unstable, useMenuButtonStyles_unstable, useMenuButton_unstable } from './components/MenuButton/index'; diff --git a/packages/react-components/react-button/library/src/SplitButton.ts b/packages/react-components/react-button/library/src/SplitButton.ts index 6a45500d356140..ad80f73cb689f5 100644 --- a/packages/react-components/react-button/library/src/SplitButton.ts +++ b/packages/react-components/react-button/library/src/SplitButton.ts @@ -1 +1,2 @@ -export * from './components/SplitButton/index'; +export type { SplitButtonProps, SplitButtonSlots, SplitButtonState } from './components/SplitButton/index'; +export { SplitButton, renderSplitButton_unstable, splitButtonClassNames, useSplitButtonStyles_unstable, useSplitButton_unstable } from './components/SplitButton/index'; diff --git a/packages/react-components/react-button/library/src/ToggleButton.ts b/packages/react-components/react-button/library/src/ToggleButton.ts index 5d5920d8598f08..4573a93d788458 100644 --- a/packages/react-components/react-button/library/src/ToggleButton.ts +++ b/packages/react-components/react-button/library/src/ToggleButton.ts @@ -1 +1,2 @@ -export * from './components/ToggleButton/index'; +export type { ToggleButtonProps, ToggleButtonState } from './components/ToggleButton/index'; +export { ToggleButton, renderToggleButton_unstable, toggleButtonClassNames, useToggleButtonStyles_unstable, useToggleButton_unstable } from './components/ToggleButton/index'; diff --git a/packages/react-components/react-button/library/src/components/Button/index.ts b/packages/react-components/react-button/library/src/components/Button/index.ts index 13abd561ef142f..0c8139e9838f2d 100644 --- a/packages/react-components/react-button/library/src/components/Button/index.ts +++ b/packages/react-components/react-button/library/src/components/Button/index.ts @@ -1,6 +1,6 @@ -export * from './Button'; +export { Button } from './Button'; // Explicit exports to omit ButtonCommons export type { ButtonProps, ButtonSlots, ButtonState } from './Button.types'; -export * from './renderButton'; -export * from './useButton'; +export { renderButton_unstable } from './renderButton'; +export { useButton_unstable } from './useButton'; export { buttonClassNames, useButtonStyles_unstable } from './useButtonStyles.styles'; diff --git a/packages/react-components/react-button/library/src/components/CompoundButton/index.ts b/packages/react-components/react-button/library/src/components/CompoundButton/index.ts index e5682a639bc944..388384ad7be0cf 100644 --- a/packages/react-components/react-button/library/src/components/CompoundButton/index.ts +++ b/packages/react-components/react-button/library/src/components/CompoundButton/index.ts @@ -1,5 +1,5 @@ -export * from './CompoundButton'; -export * from './CompoundButton.types'; -export * from './renderCompoundButton'; -export * from './useCompoundButton'; +export { CompoundButton } from './CompoundButton'; +export type { CompoundButtonProps, CompoundButtonSlots, CompoundButtonState } from './CompoundButton.types'; +export { renderCompoundButton_unstable } from './renderCompoundButton'; +export { useCompoundButton_unstable } from './useCompoundButton'; export { compoundButtonClassNames, useCompoundButtonStyles_unstable } from './useCompoundButtonStyles.styles'; diff --git a/packages/react-components/react-button/library/src/components/MenuButton/index.ts b/packages/react-components/react-button/library/src/components/MenuButton/index.ts index 3c101cb75fb087..f81604be3c3ab8 100644 --- a/packages/react-components/react-button/library/src/components/MenuButton/index.ts +++ b/packages/react-components/react-button/library/src/components/MenuButton/index.ts @@ -1,5 +1,5 @@ -export * from './MenuButton.types'; -export * from './MenuButton'; -export * from './renderMenuButton'; -export * from './useMenuButton'; +export type { MenuButtonProps, MenuButtonSlots, MenuButtonState } from './MenuButton.types'; +export { MenuButton } from './MenuButton'; +export { renderMenuButton_unstable } from './renderMenuButton'; +export { useMenuButton_unstable } from './useMenuButton'; export { menuButtonClassNames, useMenuButtonStyles_unstable } from './useMenuButtonStyles.styles'; diff --git a/packages/react-components/react-button/library/src/components/SplitButton/index.ts b/packages/react-components/react-button/library/src/components/SplitButton/index.ts index e2093e966b8822..ba8bc5714108e2 100644 --- a/packages/react-components/react-button/library/src/components/SplitButton/index.ts +++ b/packages/react-components/react-button/library/src/components/SplitButton/index.ts @@ -1,5 +1,5 @@ -export * from './SplitButton'; -export * from './SplitButton.types'; -export * from './renderSplitButton'; -export * from './useSplitButton'; +export { SplitButton } from './SplitButton'; +export type { SplitButtonProps, SplitButtonSlots, SplitButtonState } from './SplitButton.types'; +export { renderSplitButton_unstable } from './renderSplitButton'; +export { useSplitButton_unstable } from './useSplitButton'; export { splitButtonClassNames, useSplitButtonStyles_unstable } from './useSplitButtonStyles.styles'; diff --git a/packages/react-components/react-button/library/src/components/ToggleButton/index.ts b/packages/react-components/react-button/library/src/components/ToggleButton/index.ts index e2c9e651ddf016..66dfe4c99b5ce9 100644 --- a/packages/react-components/react-button/library/src/components/ToggleButton/index.ts +++ b/packages/react-components/react-button/library/src/components/ToggleButton/index.ts @@ -1,5 +1,5 @@ -export * from './ToggleButton'; -export * from './ToggleButton.types'; -export * from './renderToggleButton'; -export * from './useToggleButton'; +export { ToggleButton } from './ToggleButton'; +export type { ToggleButtonProps, ToggleButtonState } from './ToggleButton.types'; +export { renderToggleButton_unstable } from './renderToggleButton'; +export { useToggleButton_unstable } from './useToggleButton'; export { toggleButtonClassNames, useToggleButtonStyles_unstable } from './useToggleButtonStyles.styles'; diff --git a/packages/react-components/react-button/library/src/contexts/index.ts b/packages/react-components/react-button/library/src/contexts/index.ts index e0b0457ba97a21..d5dba33ecff56f 100644 --- a/packages/react-components/react-button/library/src/contexts/index.ts +++ b/packages/react-components/react-button/library/src/contexts/index.ts @@ -1 +1,2 @@ -export * from './ButtonContext'; +export type { ButtonContextValue } from './ButtonContext'; +export { ButtonContextProvider, useButtonContext } from './ButtonContext'; diff --git a/packages/react-components/react-button/library/src/utils/index.ts b/packages/react-components/react-button/library/src/utils/index.ts index 686f2bfac76a0d..3a7d2e11abe1e0 100644 --- a/packages/react-components/react-button/library/src/utils/index.ts +++ b/packages/react-components/react-button/library/src/utils/index.ts @@ -1 +1 @@ -export * from './useToggleState'; +export { useToggleState } from './useToggleState'; diff --git a/packages/react-components/react-carousel/library/src/Carousel.ts b/packages/react-components/react-carousel/library/src/Carousel.ts index 8c21999da170eb..1ecbf7be8f873f 100644 --- a/packages/react-components/react-carousel/library/src/Carousel.ts +++ b/packages/react-components/react-carousel/library/src/Carousel.ts @@ -1 +1,2 @@ -export * from './components/Carousel/index'; +export type { CarouselAnnouncerFunction, CarouselMotion, CarouselProps, CarouselSlots, CarouselState, CarouselUpdateData, CarouselVisibilityChangeEvent, CarouselVisibilityEventDetail } from './components/Carousel/index'; +export { Carousel, carouselClassNames, renderCarousel_unstable, useCarouselStyles_unstable, useCarousel_unstable } from './components/Carousel/index'; diff --git a/packages/react-components/react-carousel/library/src/CarouselAutoplayButton.ts b/packages/react-components/react-carousel/library/src/CarouselAutoplayButton.ts index f2328c210d8d06..f66ad49ccd0242 100644 --- a/packages/react-components/react-carousel/library/src/CarouselAutoplayButton.ts +++ b/packages/react-components/react-carousel/library/src/CarouselAutoplayButton.ts @@ -1 +1,2 @@ -export * from './components/CarouselAutoplayButton/index'; +export type { CarouselAutoplayAriaLabelFunction, CarouselAutoplayButtonProps, CarouselAutoplayButtonSlots, CarouselAutoplayButtonState, CarouselAutoplayChangeData } from './components/CarouselAutoplayButton/index'; +export { CarouselAutoplayButton, carouselAutoplayButtonClassNames, renderCarouselAutoplayButton_unstable, useCarouselAutoplayButtonStyles_unstable, useCarouselAutoplayButton_unstable } from './components/CarouselAutoplayButton/index'; diff --git a/packages/react-components/react-carousel/library/src/CarouselButton.ts b/packages/react-components/react-carousel/library/src/CarouselButton.ts index 06bb699e6e42a3..528c383e36db19 100644 --- a/packages/react-components/react-carousel/library/src/CarouselButton.ts +++ b/packages/react-components/react-carousel/library/src/CarouselButton.ts @@ -1 +1,2 @@ -export * from './components/CarouselButton/index'; +export type { CarouselButtonProps, CarouselButtonSlots, CarouselButtonState } from './components/CarouselButton/index'; +export { CarouselButton, carouselButtonClassNames, renderCarouselButton_unstable, useCarouselButtonStyles_unstable, useCarouselButton_unstable } from './components/CarouselButton/index'; diff --git a/packages/react-components/react-carousel/library/src/CarouselCard.ts b/packages/react-components/react-carousel/library/src/CarouselCard.ts index 1536d47e44f24e..484573455850ec 100644 --- a/packages/react-components/react-carousel/library/src/CarouselCard.ts +++ b/packages/react-components/react-carousel/library/src/CarouselCard.ts @@ -1 +1,2 @@ -export * from './components/CarouselCard/index'; +export type { CarouselCardProps, CarouselCardSlots, CarouselCardState } from './components/CarouselCard/index'; +export { CarouselCard, carouselCardClassNames, renderCarouselCard_unstable, useCarouselCardStyles_unstable, useCarouselCard_unstable } from './components/CarouselCard/index'; diff --git a/packages/react-components/react-carousel/library/src/CarouselContext.ts b/packages/react-components/react-carousel/library/src/CarouselContext.ts index 29056ad29a3685..cc17892c73ed57 100644 --- a/packages/react-components/react-carousel/library/src/CarouselContext.ts +++ b/packages/react-components/react-carousel/library/src/CarouselContext.ts @@ -1,2 +1,2 @@ -export * from './components/CarouselContext'; -export * from './components/CarouselContext.types'; +export { CarouselProvider, carouselContextDefaultValue, useCarouselContext_unstable } from './components/CarouselContext'; +export type { CarouselContextValue, CarouselContextValues, CarouselIndexChangeData } from './components/CarouselContext.types'; diff --git a/packages/react-components/react-carousel/library/src/CarouselNav.ts b/packages/react-components/react-carousel/library/src/CarouselNav.ts index 03838ee1812187..f144af2fa1d320 100644 --- a/packages/react-components/react-carousel/library/src/CarouselNav.ts +++ b/packages/react-components/react-carousel/library/src/CarouselNav.ts @@ -1 +1,2 @@ -export * from './components/CarouselNav/index'; +export type { CarouselNavContextValue, CarouselNavProps, CarouselNavSlots, CarouselNavState, NavButtonRenderFunction } from './components/CarouselNav/index'; +export { CarouselNav, carouselNavClassNames, renderCarouselNav_unstable, useCarouselNavStyles_unstable, useCarouselNav_unstable } from './components/CarouselNav/index'; diff --git a/packages/react-components/react-carousel/library/src/CarouselNavButton.ts b/packages/react-components/react-carousel/library/src/CarouselNavButton.ts index 898216ae73abc3..3399384f6c56b5 100644 --- a/packages/react-components/react-carousel/library/src/CarouselNavButton.ts +++ b/packages/react-components/react-carousel/library/src/CarouselNavButton.ts @@ -1 +1,2 @@ -export * from './components/CarouselNavButton/index'; +export type { CarouselNavButtonProps, CarouselNavButtonSlots, CarouselNavButtonState } from './components/CarouselNavButton/index'; +export { CarouselNavButton, carouselNavButtonClassNames, renderCarouselNavButton_unstable, useCarouselNavButtonStyles_unstable, useCarouselNavButton_unstable } from './components/CarouselNavButton/index'; diff --git a/packages/react-components/react-carousel/library/src/CarouselNavContainer.ts b/packages/react-components/react-carousel/library/src/CarouselNavContainer.ts index df1c37cf0f5e32..99bed0ec847a9b 100644 --- a/packages/react-components/react-carousel/library/src/CarouselNavContainer.ts +++ b/packages/react-components/react-carousel/library/src/CarouselNavContainer.ts @@ -1 +1,2 @@ -export * from './components/CarouselNavContainer/index'; +export type { CarouselNavContainerProps, CarouselNavContainerSlots, CarouselNavContainerState } from './components/CarouselNavContainer/index'; +export { CarouselNavContainer, carouselNavContainerClassNames, renderCarouselNavContainer_unstable, useCarouselNavContainerStyles_unstable, useCarouselNavContainer_unstable } from './components/CarouselNavContainer/index'; diff --git a/packages/react-components/react-carousel/library/src/CarouselNavImageButton.ts b/packages/react-components/react-carousel/library/src/CarouselNavImageButton.ts index 942a6fbe8e7408..33d49886e5facb 100644 --- a/packages/react-components/react-carousel/library/src/CarouselNavImageButton.ts +++ b/packages/react-components/react-carousel/library/src/CarouselNavImageButton.ts @@ -1 +1,2 @@ -export * from './components/CarouselNavImageButton/index'; +export type { CarouselNavImageButtonProps, CarouselNavImageButtonSlots, CarouselNavImageButtonState } from './components/CarouselNavImageButton/index'; +export { CarouselNavImageButton, carouselNavImageButtonClassNames, renderCarouselNavImageButton_unstable, useCarouselNavImageButtonStyles_unstable, useCarouselNavImageButton_unstable } from './components/CarouselNavImageButton/index'; diff --git a/packages/react-components/react-carousel/library/src/CarouselSlider.ts b/packages/react-components/react-carousel/library/src/CarouselSlider.ts index 3c09290f52c217..44702ce2c08b19 100644 --- a/packages/react-components/react-carousel/library/src/CarouselSlider.ts +++ b/packages/react-components/react-carousel/library/src/CarouselSlider.ts @@ -1 +1,2 @@ -export * from './components/CarouselSlider/index'; +export type { CarouselSliderContextValue, CarouselSliderProps, CarouselSliderSlots, CarouselSliderState } from './components/CarouselSlider/index'; +export { CarouselSlider, carouselSliderClassNames, renderCarouselSlider_unstable, useCarouselSliderStyles_unstable, useCarouselSlider_unstable } from './components/CarouselSlider/index'; diff --git a/packages/react-components/react-carousel/library/src/CarouselViewport.ts b/packages/react-components/react-carousel/library/src/CarouselViewport.ts index 2ac88670f56ce9..5a62dfd4824d63 100644 --- a/packages/react-components/react-carousel/library/src/CarouselViewport.ts +++ b/packages/react-components/react-carousel/library/src/CarouselViewport.ts @@ -1 +1,2 @@ -export * from './components/CarouselViewport/index'; +export type { CarouselViewportProps, CarouselViewportSlots, CarouselViewportState } from './components/CarouselViewport/index'; +export { CarouselViewport, carouselViewportClassNames, renderCarouselViewport_unstable, useCarouselViewportStyles_unstable, useCarouselViewport_unstable } from './components/CarouselViewport/index'; diff --git a/packages/react-components/react-carousel/library/src/components/Carousel/index.ts b/packages/react-components/react-carousel/library/src/components/Carousel/index.ts index a3529a2ecafd2d..4c7a7bf6d6c04f 100644 --- a/packages/react-components/react-carousel/library/src/components/Carousel/index.ts +++ b/packages/react-components/react-carousel/library/src/components/Carousel/index.ts @@ -1,5 +1,5 @@ -export * from './Carousel'; -export * from './Carousel.types'; -export * from './renderCarousel'; -export * from './useCarousel'; -export * from './useCarouselStyles.styles'; +export { Carousel } from './Carousel'; +export type { CarouselAnnouncerFunction, CarouselMotion, CarouselProps, CarouselSlots, CarouselState, CarouselUpdateData, CarouselVisibilityChangeEvent, CarouselVisibilityEventDetail } from './Carousel.types'; +export { renderCarousel_unstable } from './renderCarousel'; +export { useCarousel_unstable } from './useCarousel'; +export { carouselClassNames, useCarouselStyles_unstable } from './useCarouselStyles.styles'; diff --git a/packages/react-components/react-carousel/library/src/components/CarouselAutoplayButton/index.ts b/packages/react-components/react-carousel/library/src/components/CarouselAutoplayButton/index.ts index d1b21630977bcb..8968bc168188d1 100644 --- a/packages/react-components/react-carousel/library/src/components/CarouselAutoplayButton/index.ts +++ b/packages/react-components/react-carousel/library/src/components/CarouselAutoplayButton/index.ts @@ -1,5 +1,5 @@ -export * from './CarouselAutoplayButton'; -export * from './CarouselAutoplayButton.types'; -export * from './renderCarouselAutoplayButton'; -export * from './useCarouselAutoplayButton'; -export * from './useCarouselAutoplayButtonStyles.styles'; +export { CarouselAutoplayButton } from './CarouselAutoplayButton'; +export type { CarouselAutoplayAriaLabelFunction, CarouselAutoplayButtonProps, CarouselAutoplayButtonSlots, CarouselAutoplayButtonState, CarouselAutoplayChangeData } from './CarouselAutoplayButton.types'; +export { renderCarouselAutoplayButton_unstable } from './renderCarouselAutoplayButton'; +export { useCarouselAutoplayButton_unstable } from './useCarouselAutoplayButton'; +export { carouselAutoplayButtonClassNames, useCarouselAutoplayButtonStyles_unstable } from './useCarouselAutoplayButtonStyles.styles'; diff --git a/packages/react-components/react-carousel/library/src/components/CarouselButton/index.ts b/packages/react-components/react-carousel/library/src/components/CarouselButton/index.ts index af0d5e1876830c..8364cf5e019d2b 100644 --- a/packages/react-components/react-carousel/library/src/components/CarouselButton/index.ts +++ b/packages/react-components/react-carousel/library/src/components/CarouselButton/index.ts @@ -1,5 +1,5 @@ -export * from './CarouselButton'; -export * from './CarouselButton.types'; -export * from './renderCarouselButton'; -export * from './useCarouselButton'; -export * from './useCarouselButtonStyles.styles'; +export { CarouselButton } from './CarouselButton'; +export type { CarouselButtonProps, CarouselButtonSlots, CarouselButtonState } from './CarouselButton.types'; +export { renderCarouselButton_unstable } from './renderCarouselButton'; +export { useCarouselButton_unstable } from './useCarouselButton'; +export { carouselButtonClassNames, useCarouselButtonStyles_unstable } from './useCarouselButtonStyles.styles'; diff --git a/packages/react-components/react-carousel/library/src/components/CarouselCard/index.ts b/packages/react-components/react-carousel/library/src/components/CarouselCard/index.ts index 4855951f5aae26..3e5e4fee24221e 100644 --- a/packages/react-components/react-carousel/library/src/components/CarouselCard/index.ts +++ b/packages/react-components/react-carousel/library/src/components/CarouselCard/index.ts @@ -1,5 +1,5 @@ -export * from './CarouselCard'; -export * from './CarouselCard.types'; -export * from './renderCarouselCard'; -export * from './useCarouselCard'; -export * from './useCarouselCardStyles.styles'; +export { CarouselCard } from './CarouselCard'; +export type { CarouselCardProps, CarouselCardSlots, CarouselCardState } from './CarouselCard.types'; +export { renderCarouselCard_unstable } from './renderCarouselCard'; +export { useCarouselCard_unstable } from './useCarouselCard'; +export { carouselCardClassNames, useCarouselCardStyles_unstable } from './useCarouselCardStyles.styles'; diff --git a/packages/react-components/react-carousel/library/src/components/CarouselNav/index.ts b/packages/react-components/react-carousel/library/src/components/CarouselNav/index.ts index eec7488052a3b8..8b25ff94d68d08 100644 --- a/packages/react-components/react-carousel/library/src/components/CarouselNav/index.ts +++ b/packages/react-components/react-carousel/library/src/components/CarouselNav/index.ts @@ -1,5 +1,5 @@ -export * from './CarouselNav'; -export * from './CarouselNav.types'; -export * from './renderCarouselNav'; -export * from './useCarouselNav'; -export * from './useCarouselNavStyles.styles'; +export { CarouselNav } from './CarouselNav'; +export type { CarouselNavContextValue, CarouselNavProps, CarouselNavSlots, CarouselNavState, NavButtonRenderFunction } from './CarouselNav.types'; +export { renderCarouselNav_unstable } from './renderCarouselNav'; +export { useCarouselNav_unstable } from './useCarouselNav'; +export { carouselNavClassNames, useCarouselNavStyles_unstable } from './useCarouselNavStyles.styles'; diff --git a/packages/react-components/react-carousel/library/src/components/CarouselNavButton/index.ts b/packages/react-components/react-carousel/library/src/components/CarouselNavButton/index.ts index 38e5687358e584..a3a016e7c51d7a 100644 --- a/packages/react-components/react-carousel/library/src/components/CarouselNavButton/index.ts +++ b/packages/react-components/react-carousel/library/src/components/CarouselNavButton/index.ts @@ -1,5 +1,5 @@ -export * from './CarouselNavButton'; -export * from './CarouselNavButton.types'; -export * from './renderCarouselNavButton'; -export * from './useCarouselNavButton'; -export * from './useCarouselNavButtonStyles.styles'; +export { CarouselNavButton } from './CarouselNavButton'; +export type { CarouselNavButtonProps, CarouselNavButtonSlots, CarouselNavButtonState } from './CarouselNavButton.types'; +export { renderCarouselNavButton_unstable } from './renderCarouselNavButton'; +export { useCarouselNavButton_unstable } from './useCarouselNavButton'; +export { carouselNavButtonClassNames, useCarouselNavButtonStyles_unstable } from './useCarouselNavButtonStyles.styles'; diff --git a/packages/react-components/react-carousel/library/src/components/CarouselNavContainer/index.ts b/packages/react-components/react-carousel/library/src/components/CarouselNavContainer/index.ts index eb482ee8accd89..bd4cefb1d6af50 100644 --- a/packages/react-components/react-carousel/library/src/components/CarouselNavContainer/index.ts +++ b/packages/react-components/react-carousel/library/src/components/CarouselNavContainer/index.ts @@ -1,5 +1,5 @@ -export * from './CarouselNavContainer'; -export * from './CarouselNavContainer.types'; -export * from './renderCarouselNavContainer'; -export * from './useCarouselNavContainer'; -export * from './useCarouselNavContainerStyles.styles'; +export { CarouselNavContainer } from './CarouselNavContainer'; +export type { CarouselNavContainerProps, CarouselNavContainerSlots, CarouselNavContainerState } from './CarouselNavContainer.types'; +export { renderCarouselNavContainer_unstable } from './renderCarouselNavContainer'; +export { useCarouselNavContainer_unstable } from './useCarouselNavContainer'; +export { carouselNavContainerClassNames, useCarouselNavContainerStyles_unstable } from './useCarouselNavContainerStyles.styles'; diff --git a/packages/react-components/react-carousel/library/src/components/CarouselNavImageButton/index.ts b/packages/react-components/react-carousel/library/src/components/CarouselNavImageButton/index.ts index 3404951160fd2e..f0f0bd3523de28 100644 --- a/packages/react-components/react-carousel/library/src/components/CarouselNavImageButton/index.ts +++ b/packages/react-components/react-carousel/library/src/components/CarouselNavImageButton/index.ts @@ -1,5 +1,5 @@ -export * from './CarouselNavImageButton'; -export * from './CarouselNavImageButton.types'; -export * from './renderCarouselNavImageButton'; -export * from './useCarouselNavImageButton'; -export * from './useCarouselNavImageButtonStyles.styles'; +export { CarouselNavImageButton } from './CarouselNavImageButton'; +export type { CarouselNavImageButtonProps, CarouselNavImageButtonSlots, CarouselNavImageButtonState } from './CarouselNavImageButton.types'; +export { renderCarouselNavImageButton_unstable } from './renderCarouselNavImageButton'; +export { useCarouselNavImageButton_unstable } from './useCarouselNavImageButton'; +export { carouselNavImageButtonClassNames, useCarouselNavImageButtonStyles_unstable } from './useCarouselNavImageButtonStyles.styles'; diff --git a/packages/react-components/react-carousel/library/src/components/CarouselSlider/index.ts b/packages/react-components/react-carousel/library/src/components/CarouselSlider/index.ts index 4aee85c70e3d6f..c2727688253dff 100644 --- a/packages/react-components/react-carousel/library/src/components/CarouselSlider/index.ts +++ b/packages/react-components/react-carousel/library/src/components/CarouselSlider/index.ts @@ -1,5 +1,5 @@ -export * from './CarouselSlider'; -export * from './CarouselSlider.types'; -export * from './renderCarouselSlider'; -export * from './useCarouselSlider'; -export * from './useCarouselSliderStyles.styles'; +export { CarouselSlider } from './CarouselSlider'; +export type { CarouselSliderContextValue, CarouselSliderProps, CarouselSliderSlots, CarouselSliderState } from './CarouselSlider.types'; +export { renderCarouselSlider_unstable } from './renderCarouselSlider'; +export { useCarouselSlider_unstable } from './useCarouselSlider'; +export { carouselSliderClassNames, useCarouselSliderStyles_unstable } from './useCarouselSliderStyles.styles'; diff --git a/packages/react-components/react-carousel/library/src/components/CarouselViewport/index.ts b/packages/react-components/react-carousel/library/src/components/CarouselViewport/index.ts index e58459eaffcf1c..b394d360ba91f2 100644 --- a/packages/react-components/react-carousel/library/src/components/CarouselViewport/index.ts +++ b/packages/react-components/react-carousel/library/src/components/CarouselViewport/index.ts @@ -1,5 +1,5 @@ -export * from './CarouselViewport'; -export * from './CarouselViewport.types'; -export * from './renderCarouselViewport'; -export * from './useCarouselViewport'; -export * from './useCarouselViewportStyles.styles'; +export { CarouselViewport } from './CarouselViewport'; +export type { CarouselViewportProps, CarouselViewportSlots, CarouselViewportState } from './CarouselViewport.types'; +export { renderCarouselViewport_unstable } from './renderCarouselViewport'; +export { useCarouselViewport_unstable } from './useCarouselViewport'; +export { carouselViewportClassNames, useCarouselViewportStyles_unstable } from './useCarouselViewportStyles.styles'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/Attachment/index.ts b/packages/react-components/react-migration-v0-v9/library/src/components/Attachment/index.ts index 364a0204f827cb..8bf0e4841999e8 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/Attachment/index.ts +++ b/packages/react-components/react-migration-v0-v9/library/src/components/Attachment/index.ts @@ -1,9 +1,15 @@ -export * from './Attachment'; -export * from './AttachmentAction'; -export * from './AttachmentBody'; -export * from './AttachmentDescription'; -export * from './AttachmentHeader'; -export * from './AttachmentIcon'; +export type { AttachmentProps } from './Attachment'; +export { Attachment, attachmentClassName, attachmentProgressBarClassName, attachmentProgressContainerClassName } from './Attachment'; +export type { AttachmentActionProps } from './AttachmentAction'; +export { AttachmentAction, attachmentActionClassName } from './AttachmentAction'; +export type { AttachmentBodyProps } from './AttachmentBody'; +export { AttachmentBody, attachmentBodyClassName } from './AttachmentBody'; +export type { AttachmentDescriptionProps } from './AttachmentDescription'; +export { AttachmentDescription, attachmentDescriptionClassName } from './AttachmentDescription'; +export type { AttachmentHeaderProps } from './AttachmentHeader'; +export { AttachmentHeader, attachmentHeaderClassName } from './AttachmentHeader'; +export type { AttachmentIconProps } from './AttachmentIcon'; +export { AttachmentIcon, attachmentIconClassName } from './AttachmentIcon'; export type { AttachmentProps } from './Attachment'; export type { AttachmentActionProps } from './AttachmentAction'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/Button/index.tsx b/packages/react-components/react-migration-v0-v9/library/src/components/Button/index.tsx index a4c1e8928e8398..152396a49ffd65 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/Button/index.tsx +++ b/packages/react-components/react-migration-v0-v9/library/src/components/Button/index.tsx @@ -1 +1 @@ -export * from './ButtonMigration.mixins'; +export { v0Icon, v9CustomSizeIcon, v9DisabledCursor, v9HoverClasses, v9Icon } from './ButtonMigration.mixins'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/FormField/index.ts b/packages/react-components/react-migration-v0-v9/library/src/components/FormField/index.ts index 7e8cc5e97c338f..ae5113eb4468fb 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/FormField/index.ts +++ b/packages/react-components/react-migration-v0-v9/library/src/components/FormField/index.ts @@ -1 +1 @@ -export * from './FormFieldShim'; +export { FormFieldShim } from './FormFieldShim'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/ItemLayout/index.tsx b/packages/react-components/react-migration-v0-v9/library/src/components/ItemLayout/index.tsx index f8875d57402ec8..cd0b2df0b274f3 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/ItemLayout/index.tsx +++ b/packages/react-components/react-migration-v0-v9/library/src/components/ItemLayout/index.tsx @@ -1,2 +1,2 @@ -export * from './ItemLayout'; -export * from './ItemLayout.styles'; +export { ItemLayout, itemLayoutClassName } from './ItemLayout'; +export { useItemLayoutStyles } from './ItemLayout.styles'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/List/List/index.ts b/packages/react-components/react-migration-v0-v9/library/src/components/List/List/index.ts index edd6a0bf1be045..69ccb1612761b9 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/List/List/index.ts +++ b/packages/react-components/react-migration-v0-v9/library/src/components/List/List/index.ts @@ -1,5 +1,5 @@ -export * from './List'; -export * from './List.types'; -export * from './renderList'; -export * from './useList'; -export * from './useListStyles.styles'; +export { List } from './List'; +export type { ListContextValue, ListContextValues, ListProps, ListSlots, ListState } from './List.types'; +export { renderList_unstable } from './renderList'; +export { useList_unstable } from './useList'; +export { listClassNames, useListStyles_unstable } from './useListStyles.styles'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/List/ListItem/index.ts b/packages/react-components/react-migration-v0-v9/library/src/components/List/ListItem/index.ts index 08dc684b19814a..48acefd2a52fb3 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/List/ListItem/index.ts +++ b/packages/react-components/react-migration-v0-v9/library/src/components/List/ListItem/index.ts @@ -1,5 +1,5 @@ -export * from './ListItem'; -export * from './ListItem.types'; -export * from './renderListItem'; -export * from './useListItem'; -export * from './useListItemStyles.styles'; +export { ListItem } from './ListItem'; +export type { ListItemProps, ListItemSlots, ListItemState } from './ListItem.types'; +export { renderListItem_unstable } from './renderListItem'; +export { useListItem_unstable } from './useListItem'; +export { listItemClassNames, useListItemStyles_unstable } from './useListItemStyles.styles'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/List/hooks/index.ts b/packages/react-components/react-migration-v0-v9/library/src/components/List/hooks/index.ts index 01a6959c7c21fd..ffab2debef5e55 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/List/hooks/index.ts +++ b/packages/react-components/react-migration-v0-v9/library/src/components/List/hooks/index.ts @@ -1 +1 @@ -export * from './useListSelection'; +export { useListSelection } from './useListSelection'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/Primitive/index.tsx b/packages/react-components/react-migration-v0-v9/library/src/components/Primitive/index.tsx index 2b1567c9dbd8d8..be3e1ac156cb2b 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/Primitive/index.tsx +++ b/packages/react-components/react-migration-v0-v9/library/src/components/Primitive/index.tsx @@ -1 +1 @@ -export * from './Primitive'; +export { Primitive, primitiveClassName } from './Primitive'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/Segment/index.ts b/packages/react-components/react-migration-v0-v9/library/src/components/Segment/index.ts index 83f79a16186fb6..f72f99e812eee9 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/Segment/index.ts +++ b/packages/react-components/react-migration-v0-v9/library/src/components/Segment/index.ts @@ -1 +1 @@ -export * from './Segment'; +export { Segment, segmentClassName } from './Segment'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/StyledText/index.tsx b/packages/react-components/react-migration-v0-v9/library/src/components/StyledText/index.tsx index 296bf3a18e3a59..737edea453c856 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/StyledText/index.tsx +++ b/packages/react-components/react-migration-v0-v9/library/src/components/StyledText/index.tsx @@ -1,2 +1,3 @@ -export * from './StyledText'; -export * from './StyledText.styles'; +export type { StyledTextProps, StyledTextSlots } from './StyledText'; +export { StyledText, styledTextClassName } from './StyledText'; +export { useSizeStyles, useStyles, useWeightStyles } from './StyledText.styles'; diff --git a/packages/react-components/react-migration-v0-v9/library/src/components/Video/index.ts b/packages/react-components/react-migration-v0-v9/library/src/components/Video/index.ts index b157270a0f5652..5c6c592148f65c 100644 --- a/packages/react-components/react-migration-v0-v9/library/src/components/Video/index.ts +++ b/packages/react-components/react-migration-v0-v9/library/src/components/Video/index.ts @@ -1 +1,2 @@ -export * from './Video'; +export type { VideoProps } from './Video'; +export { Video, videoClassName } from './Video'; diff --git a/packages/react-components/react-nav-preview/library/src/AppItem.ts b/packages/react-components/react-nav-preview/library/src/AppItem.ts index 30deafc5252512..2c4988d82ab49b 100644 --- a/packages/react-components/react-nav-preview/library/src/AppItem.ts +++ b/packages/react-components/react-nav-preview/library/src/AppItem.ts @@ -1 +1,2 @@ -export * from './components/AppItem/index'; +export type { AppItemProps, AppItemSlots, AppItemState } from './components/AppItem/index'; +export { AppItem, appItemClassNames, renderAppItem_unstable, useAppItemStyles, useAppItemStyles_unstable, useAppItem_unstable } from './components/AppItem/index'; diff --git a/packages/react-components/react-nav-preview/library/src/AppItemStatic.ts b/packages/react-components/react-nav-preview/library/src/AppItemStatic.ts index b06b7bcb6f4a46..d463c896b7c814 100644 --- a/packages/react-components/react-nav-preview/library/src/AppItemStatic.ts +++ b/packages/react-components/react-nav-preview/library/src/AppItemStatic.ts @@ -1 +1,2 @@ -export * from './components/AppItemStatic/index'; +export type { AppItemStaticProps, AppItemStaticSlots, AppItemStaticState } from './components/AppItemStatic/index'; +export { AppItemStatic, appItemStaticClassNames, renderAppItemStatic_unstable, useAppItemStaticStyles_unstable, useAppItemStatic_unstable } from './components/AppItemStatic/index'; diff --git a/packages/react-components/react-nav-preview/library/src/Hamburger.ts b/packages/react-components/react-nav-preview/library/src/Hamburger.ts index 9233eb64b3269d..61045bfd431911 100644 --- a/packages/react-components/react-nav-preview/library/src/Hamburger.ts +++ b/packages/react-components/react-nav-preview/library/src/Hamburger.ts @@ -1 +1,2 @@ -export * from './components/Hamburger/index'; +export type { HamburgerProps, HamburgerState } from './components/Hamburger/index'; +export { Hamburger, hamburgerClassNames, useHamburgerStyles_unstable, useHamburger_unstable } from './components/Hamburger/index'; diff --git a/packages/react-components/react-nav-preview/library/src/Nav.ts b/packages/react-components/react-nav-preview/library/src/Nav.ts index bfec3e2b18912a..38325fdd96530c 100644 --- a/packages/react-components/react-nav-preview/library/src/Nav.ts +++ b/packages/react-components/react-nav-preview/library/src/Nav.ts @@ -1,4 +1,6 @@ -export * from './components/Nav/index'; -export * from './components/NavCategoryItem/index'; -export * from './components/NavContext'; -export * from './components/NavContext.types'; +export type { NavProps, NavSize, NavSlots, NavState, OnNavItemSelectData } from './components/Nav/index'; +export { Nav, navClassNames, renderNav_unstable, useNavStyles_unstable, useNav_unstable } from './components/Nav/index'; +export type { NavCategoryItemProps, NavCategoryItemSlots, NavCategoryItemState } from './components/NavCategoryItem/index'; +export { NavCategoryItem, navCategoryItemClassNames, renderNavCategoryItem_unstable, useNavCategoryItemStyles_unstable, useNavCategoryItem_unstable } from './components/NavCategoryItem/index'; +export { NavProvider, useNavContext_unstable } from './components/NavContext'; +export type { NavContextValue, NavContextValues, NavItemRegisterData, NavItemValue, RegisterNavItemEventHandler } from './components/NavContext.types'; diff --git a/packages/react-components/react-nav-preview/library/src/NavCategory.ts b/packages/react-components/react-nav-preview/library/src/NavCategory.ts index 9a355beb78b46c..7a2b9484929a08 100644 --- a/packages/react-components/react-nav-preview/library/src/NavCategory.ts +++ b/packages/react-components/react-nav-preview/library/src/NavCategory.ts @@ -1 +1,2 @@ -export * from './components/NavCategory/index'; +export type { NavCategoryProps, NavCategoryState } from './components/NavCategory/index'; +export { NavCategory, renderNavCategory_unstable, useNavCategory_unstable } from './components/NavCategory/index'; diff --git a/packages/react-components/react-nav-preview/library/src/NavDivider.ts b/packages/react-components/react-nav-preview/library/src/NavDivider.ts index 1419ad78f4632c..6c4cc8cfa3a0a8 100644 --- a/packages/react-components/react-nav-preview/library/src/NavDivider.ts +++ b/packages/react-components/react-nav-preview/library/src/NavDivider.ts @@ -1 +1,2 @@ -export * from './components/NavDivider/index'; +export type { NavDividerProps, NavDividerState } from './components/NavDivider/index'; +export { NavDivider, navDividerClassNames, useNavDividerStyles_unstable, useNavDivider_unstable } from './components/NavDivider/index'; diff --git a/packages/react-components/react-nav-preview/library/src/NavDrawer.ts b/packages/react-components/react-nav-preview/library/src/NavDrawer.ts index a004fdece208ef..ac14783e538e7c 100644 --- a/packages/react-components/react-nav-preview/library/src/NavDrawer.ts +++ b/packages/react-components/react-nav-preview/library/src/NavDrawer.ts @@ -1 +1,2 @@ -export * from './components/NavDrawer/index'; +export type { NavDrawerProps, NavDrawerSlots, NavDrawerState } from './components/NavDrawer/index'; +export { NavDrawer, navDrawerClassNames, renderNavDrawer_unstable, useNavDrawerStyles_unstable, useNavDrawer_unstable } from './components/NavDrawer/index'; diff --git a/packages/react-components/react-nav-preview/library/src/NavDrawerBody.ts b/packages/react-components/react-nav-preview/library/src/NavDrawerBody.ts index c0fae40b782817..4c2a131175e76c 100644 --- a/packages/react-components/react-nav-preview/library/src/NavDrawerBody.ts +++ b/packages/react-components/react-nav-preview/library/src/NavDrawerBody.ts @@ -1 +1,2 @@ -export * from './components/NavDrawerBody/index'; +export type { NavDrawerBodyProps, NavDrawerBodySlots, NavDrawerBodyState } from './components/NavDrawerBody/index'; +export { NavDrawerBody, navDrawerBodyClassNames, useNavDrawerBodyStyles_unstable, useNavDrawerBody_unstable } from './components/NavDrawerBody/index'; diff --git a/packages/react-components/react-nav-preview/library/src/NavDrawerFooter.ts b/packages/react-components/react-nav-preview/library/src/NavDrawerFooter.ts index 16e8641994e426..a5c872627ee29d 100644 --- a/packages/react-components/react-nav-preview/library/src/NavDrawerFooter.ts +++ b/packages/react-components/react-nav-preview/library/src/NavDrawerFooter.ts @@ -1 +1,2 @@ -export * from './components/NavDrawerFooter/index'; +export type { NavDrawerFooterProps, NavDrawerFooterSlots, NavDrawerFooterState } from './components/NavDrawerFooter/index'; +export { NavDrawerFooter, navDrawerFooterClassNames, useNavDrawerFooterStyles_unstable, useNavDrawerFooter_unstable } from './components/NavDrawerFooter/index'; diff --git a/packages/react-components/react-nav-preview/library/src/NavDrawerHeader.ts b/packages/react-components/react-nav-preview/library/src/NavDrawerHeader.ts index 4831e50692f2d2..d23cfb214c5852 100644 --- a/packages/react-components/react-nav-preview/library/src/NavDrawerHeader.ts +++ b/packages/react-components/react-nav-preview/library/src/NavDrawerHeader.ts @@ -1 +1,2 @@ -export * from './components/NavDrawerHeader/index'; +export type { NavDrawerHeaderProps, NavDrawerHeaderSlots, NavDrawerHeaderState } from './components/NavDrawerHeader/index'; +export { NavDrawerHeader, navDrawerHeaderClassNames, useNavDrawerHeaderStyles_unstable, useNavDrawerHeader_unstable } from './components/NavDrawerHeader/index'; diff --git a/packages/react-components/react-nav-preview/library/src/NavItem.ts b/packages/react-components/react-nav-preview/library/src/NavItem.ts index d761c8d1bd9602..a45c79a1ed2d7c 100644 --- a/packages/react-components/react-nav-preview/library/src/NavItem.ts +++ b/packages/react-components/react-nav-preview/library/src/NavItem.ts @@ -1 +1,2 @@ -export * from './components/NavItem/index'; +export type { NavItemProps, NavItemSlots, NavItemState } from './components/NavItem/index'; +export { NavItem, navItemClassNames, renderNavItem_unstable, useNavItemStyles_unstable, useNavItem_unstable } from './components/NavItem/index'; diff --git a/packages/react-components/react-nav-preview/library/src/NavSectionHeader.ts b/packages/react-components/react-nav-preview/library/src/NavSectionHeader.ts index 4b6adcab56481b..44bac8b84f651e 100644 --- a/packages/react-components/react-nav-preview/library/src/NavSectionHeader.ts +++ b/packages/react-components/react-nav-preview/library/src/NavSectionHeader.ts @@ -1 +1,2 @@ -export * from './components/NavSectionHeader/index'; +export type { NavSectionHeaderProps, NavSectionHeaderSlots, NavSectionHeaderState } from './components/NavSectionHeader/index'; +export { NavSectionHeader, navSectionHeaderClassNames, renderNavSectionHeader_unstable, useNavSectionHeaderStyles_unstable, useNavSectionHeader_unstable } from './components/NavSectionHeader/index'; diff --git a/packages/react-components/react-nav-preview/library/src/NavSubItem.ts b/packages/react-components/react-nav-preview/library/src/NavSubItem.ts index 5689880371954f..c28e82e2e50129 100644 --- a/packages/react-components/react-nav-preview/library/src/NavSubItem.ts +++ b/packages/react-components/react-nav-preview/library/src/NavSubItem.ts @@ -1 +1,2 @@ -export * from './components/NavSubItem/index'; +export type { NavSubItemProps, NavSubItemSlots, NavSubItemState } from './components/NavSubItem/index'; +export { NavSubItem, navSubItemClassNames, renderNavSubItem_unstable, useNavSubItemStyles_unstable, useNavSubItem_unstable } from './components/NavSubItem/index'; diff --git a/packages/react-components/react-nav-preview/library/src/NavSubItemGroup.ts b/packages/react-components/react-nav-preview/library/src/NavSubItemGroup.ts index 5861ea57dc2760..ba3983d9d03e12 100644 --- a/packages/react-components/react-nav-preview/library/src/NavSubItemGroup.ts +++ b/packages/react-components/react-nav-preview/library/src/NavSubItemGroup.ts @@ -1 +1,2 @@ -export * from './components/NavSubItemGroup/index'; +export type { NavSubItemGroupProps, NavSubItemGroupSlots, NavSubItemGroupState } from './components/NavSubItemGroup/index'; +export { NavSubItemGroup, navSubItemGroupClassNames, renderNavSubItemGroup_unstable, useNavSubItemGroupStyles_unstable, useNavSubItemGroup_unstable } from './components/NavSubItemGroup/index'; diff --git a/packages/react-components/react-nav-preview/library/src/SplitNavItem.ts b/packages/react-components/react-nav-preview/library/src/SplitNavItem.ts index bbfa6494448f5e..6bf3d94ff0976c 100644 --- a/packages/react-components/react-nav-preview/library/src/SplitNavItem.ts +++ b/packages/react-components/react-nav-preview/library/src/SplitNavItem.ts @@ -1 +1,2 @@ -export * from './components/SplitNavItem/index'; +export type { SplitNavItemProps, SplitNavItemSlots, SplitNavItemState } from './components/SplitNavItem/index'; +export { SplitNavItem, renderSplitNavItem_unstable, splitNavItemClassNames, useSplitNavItemStyles_unstable, useSplitNavItem_unstable } from './components/SplitNavItem/index'; diff --git a/packages/react-components/react-nav-preview/library/src/components/AppItem/index.ts b/packages/react-components/react-nav-preview/library/src/components/AppItem/index.ts index 3edb24f26ad8d5..6db71535c4cafb 100644 --- a/packages/react-components/react-nav-preview/library/src/components/AppItem/index.ts +++ b/packages/react-components/react-nav-preview/library/src/components/AppItem/index.ts @@ -1,5 +1,5 @@ -export * from './AppItem'; -export * from './AppItem.types'; -export * from './renderAppItem'; -export * from './useAppItem'; -export * from './useAppItemStyles.styles'; +export { AppItem } from './AppItem'; +export type { AppItemProps, AppItemSlots, AppItemState } from './AppItem.types'; +export { renderAppItem_unstable } from './renderAppItem'; +export { useAppItem_unstable } from './useAppItem'; +export { appItemClassNames, useAppItemStyles, useAppItemStyles_unstable } from './useAppItemStyles.styles'; diff --git a/packages/react-components/react-nav-preview/library/src/components/AppItemStatic/index.ts b/packages/react-components/react-nav-preview/library/src/components/AppItemStatic/index.ts index ccb442cd1241fa..86ebce1454f776 100644 --- a/packages/react-components/react-nav-preview/library/src/components/AppItemStatic/index.ts +++ b/packages/react-components/react-nav-preview/library/src/components/AppItemStatic/index.ts @@ -1,5 +1,5 @@ -export * from './AppItemStatic'; -export * from './AppItemStatic.types'; -export * from './renderAppItemStatic'; -export * from './useAppItemStatic'; -export * from './useAppItemStaticStyles.styles'; +export { AppItemStatic } from './AppItemStatic'; +export type { AppItemStaticProps, AppItemStaticSlots, AppItemStaticState } from './AppItemStatic.types'; +export { renderAppItemStatic_unstable } from './renderAppItemStatic'; +export { useAppItemStatic_unstable } from './useAppItemStatic'; +export { appItemStaticClassNames, useAppItemStaticStyles_unstable } from './useAppItemStaticStyles.styles'; diff --git a/packages/react-components/react-nav-preview/library/src/components/Hamburger/index.ts b/packages/react-components/react-nav-preview/library/src/components/Hamburger/index.ts index 87a46d456f16f9..3e2935ddef4676 100644 --- a/packages/react-components/react-nav-preview/library/src/components/Hamburger/index.ts +++ b/packages/react-components/react-nav-preview/library/src/components/Hamburger/index.ts @@ -1,4 +1,4 @@ -export * from './Hamburger'; -export * from './Hamburger.types'; -export * from './useHamburger'; -export * from './useHamburgerStyles.styles'; +export { Hamburger } from './Hamburger'; +export type { HamburgerProps, HamburgerState } from './Hamburger.types'; +export { useHamburger_unstable } from './useHamburger'; +export { hamburgerClassNames, useHamburgerStyles_unstable } from './useHamburgerStyles.styles'; diff --git a/packages/react-components/react-nav-preview/library/src/components/NavDivider/index.ts b/packages/react-components/react-nav-preview/library/src/components/NavDivider/index.ts index d0c15a2b5bf09f..dcb2982c57eebd 100644 --- a/packages/react-components/react-nav-preview/library/src/components/NavDivider/index.ts +++ b/packages/react-components/react-nav-preview/library/src/components/NavDivider/index.ts @@ -1,4 +1,4 @@ -export * from './NavDivider'; -export * from './NavDivider.types'; -export * from './useNavDivider'; -export * from './useNavDividerStyles.styles'; +export { NavDivider } from './NavDivider'; +export type { NavDividerProps, NavDividerState } from './NavDivider.types'; +export { useNavDivider_unstable } from './useNavDivider'; +export { navDividerClassNames, useNavDividerStyles_unstable } from './useNavDividerStyles.styles'; diff --git a/packages/react-components/react-nav-preview/library/src/components/NavDrawer/index.ts b/packages/react-components/react-nav-preview/library/src/components/NavDrawer/index.ts index 5222b5fde7c1eb..4b883c22529c83 100644 --- a/packages/react-components/react-nav-preview/library/src/components/NavDrawer/index.ts +++ b/packages/react-components/react-nav-preview/library/src/components/NavDrawer/index.ts @@ -1,5 +1,5 @@ -export * from './NavDrawer'; -export * from './NavDrawer.types'; -export * from './renderNavDrawer'; -export * from './useNavDrawer'; -export * from './useNavDrawerStyles.styles'; +export { NavDrawer } from './NavDrawer'; +export type { NavDrawerProps, NavDrawerSlots, NavDrawerState } from './NavDrawer.types'; +export { renderNavDrawer_unstable } from './renderNavDrawer'; +export { useNavDrawer_unstable } from './useNavDrawer'; +export { navDrawerClassNames, useNavDrawerStyles_unstable } from './useNavDrawerStyles.styles'; diff --git a/packages/react-components/react-nav-preview/library/src/components/NavDrawerBody/index.ts b/packages/react-components/react-nav-preview/library/src/components/NavDrawerBody/index.ts index eb90e904e60a61..1522a46ec3730a 100644 --- a/packages/react-components/react-nav-preview/library/src/components/NavDrawerBody/index.ts +++ b/packages/react-components/react-nav-preview/library/src/components/NavDrawerBody/index.ts @@ -1,4 +1,4 @@ -export * from './NavDrawerBody'; -export * from './NavDrawerBody.types'; -export * from './useNavDrawerBody'; -export * from './useNavDrawerBodyStyles.styles'; +export { NavDrawerBody } from './NavDrawerBody'; +export type { NavDrawerBodyProps, NavDrawerBodySlots, NavDrawerBodyState } from './NavDrawerBody.types'; +export { useNavDrawerBody_unstable } from './useNavDrawerBody'; +export { navDrawerBodyClassNames, useNavDrawerBodyStyles_unstable } from './useNavDrawerBodyStyles.styles'; diff --git a/packages/react-components/react-nav-preview/library/src/components/NavDrawerFooter/index.ts b/packages/react-components/react-nav-preview/library/src/components/NavDrawerFooter/index.ts index daa7f4479392fe..ce597496dbf698 100644 --- a/packages/react-components/react-nav-preview/library/src/components/NavDrawerFooter/index.ts +++ b/packages/react-components/react-nav-preview/library/src/components/NavDrawerFooter/index.ts @@ -1,4 +1,4 @@ -export * from './NavDrawerFooter'; -export * from './NavDrawerFooter.types'; -export * from './useNavDrawerFooter'; -export * from './useNavDrawerFooterStyles.styles'; +export { NavDrawerFooter } from './NavDrawerFooter'; +export type { NavDrawerFooterProps, NavDrawerFooterSlots, NavDrawerFooterState } from './NavDrawerFooter.types'; +export { useNavDrawerFooter_unstable } from './useNavDrawerFooter'; +export { navDrawerFooterClassNames, useNavDrawerFooterStyles_unstable } from './useNavDrawerFooterStyles.styles'; diff --git a/packages/react-components/react-nav-preview/library/src/components/NavDrawerHeader/index.ts b/packages/react-components/react-nav-preview/library/src/components/NavDrawerHeader/index.ts index 38db3cc146ef33..98ee74afcc393e 100644 --- a/packages/react-components/react-nav-preview/library/src/components/NavDrawerHeader/index.ts +++ b/packages/react-components/react-nav-preview/library/src/components/NavDrawerHeader/index.ts @@ -1,4 +1,4 @@ -export * from './NavDrawerHeader'; -export * from './NavDrawerHeader.types'; -export * from './useNavDrawerHeader'; -export * from './useNavDrawerHeaderStyles.styles'; +export { NavDrawerHeader } from './NavDrawerHeader'; +export type { NavDrawerHeaderProps, NavDrawerHeaderSlots, NavDrawerHeaderState } from './NavDrawerHeader.types'; +export { useNavDrawerHeader_unstable } from './useNavDrawerHeader'; +export { navDrawerHeaderClassNames, useNavDrawerHeaderStyles_unstable } from './useNavDrawerHeaderStyles.styles'; diff --git a/packages/react-components/react-nav-preview/library/src/components/NavSectionHeader/index.ts b/packages/react-components/react-nav-preview/library/src/components/NavSectionHeader/index.ts index bb3ffb7d70be72..d1e5cd446c21c5 100644 --- a/packages/react-components/react-nav-preview/library/src/components/NavSectionHeader/index.ts +++ b/packages/react-components/react-nav-preview/library/src/components/NavSectionHeader/index.ts @@ -1,5 +1,5 @@ -export * from './NavSectionHeader'; -export * from './NavSectionHeader.types'; -export * from './renderNavSectionHeader'; -export * from './useNavSectionHeader'; -export * from './useNavSectionHeaderStyles.styles'; +export { NavSectionHeader } from './NavSectionHeader'; +export type { NavSectionHeaderProps, NavSectionHeaderSlots, NavSectionHeaderState } from './NavSectionHeader.types'; +export { renderNavSectionHeader_unstable } from './renderNavSectionHeader'; +export { useNavSectionHeader_unstable } from './useNavSectionHeader'; +export { navSectionHeaderClassNames, useNavSectionHeaderStyles_unstable } from './useNavSectionHeaderStyles.styles'; diff --git a/packages/react-components/react-nav-preview/library/src/components/SplitNavItem/index.ts b/packages/react-components/react-nav-preview/library/src/components/SplitNavItem/index.ts index 24c36db83805e3..41200541fc214e 100644 --- a/packages/react-components/react-nav-preview/library/src/components/SplitNavItem/index.ts +++ b/packages/react-components/react-nav-preview/library/src/components/SplitNavItem/index.ts @@ -1,5 +1,5 @@ -export * from './SplitNavItem'; -export * from './SplitNavItem.types'; -export * from './renderSplitNavItem'; -export * from './useSplitNavItem'; -export * from './useSplitNavItemStyles.styles'; +export { SplitNavItem } from './SplitNavItem'; +export type { SplitNavItemProps, SplitNavItemSlots, SplitNavItemState } from './SplitNavItem.types'; +export { renderSplitNavItem_unstable } from './renderSplitNavItem'; +export { useSplitNavItem_unstable } from './useSplitNavItem'; +export { splitNavItemClassNames, useSplitNavItemStyles_unstable } from './useSplitNavItemStyles.styles'; diff --git a/packages/react-components/react-radio/library/src/Radio.ts b/packages/react-components/react-radio/library/src/Radio.ts index 04232f7ae22a73..244b74adb199f0 100644 --- a/packages/react-components/react-radio/library/src/Radio.ts +++ b/packages/react-components/react-radio/library/src/Radio.ts @@ -1 +1,2 @@ -export * from './components/Radio/index'; +export type { RadioOnChangeData, RadioProps, RadioSlots, RadioState } from './components/Radio/index'; +export { Radio, radioClassNames, renderRadio_unstable, useRadioStyles_unstable, useRadio_unstable } from './components/Radio/index'; diff --git a/packages/react-components/react-radio/library/src/RadioGroup.ts b/packages/react-components/react-radio/library/src/RadioGroup.ts index 77dfb603c5569a..319e77042bf456 100644 --- a/packages/react-components/react-radio/library/src/RadioGroup.ts +++ b/packages/react-components/react-radio/library/src/RadioGroup.ts @@ -1 +1,2 @@ -export * from './components/RadioGroup/index'; +export type { RadioGroupContextValue, RadioGroupContextValues, RadioGroupOnChangeData, RadioGroupProps, RadioGroupSlots, RadioGroupState } from './components/RadioGroup/index'; +export { RadioGroup, radioGroupClassNames, renderRadioGroup_unstable, useRadioGroupStyles_unstable, useRadioGroup_unstable } from './components/RadioGroup/index'; diff --git a/packages/react-components/react-radio/library/src/components/Radio/index.ts b/packages/react-components/react-radio/library/src/components/Radio/index.ts index 5cf3a3bd0267b8..e9b318378978c2 100644 --- a/packages/react-components/react-radio/library/src/components/Radio/index.ts +++ b/packages/react-components/react-radio/library/src/components/Radio/index.ts @@ -1,5 +1,5 @@ -export * from './Radio'; -export * from './Radio.types'; -export * from './renderRadio'; -export * from './useRadio'; -export * from './useRadioStyles.styles'; +export { Radio } from './Radio'; +export type { RadioOnChangeData, RadioProps, RadioSlots, RadioState } from './Radio.types'; +export { renderRadio_unstable } from './renderRadio'; +export { useRadio_unstable } from './useRadio'; +export { radioClassNames, useRadioStyles_unstable } from './useRadioStyles.styles'; diff --git a/packages/react-components/react-radio/library/src/components/RadioGroup/index.ts b/packages/react-components/react-radio/library/src/components/RadioGroup/index.ts index e8fe3953340a19..77f3766e680a3b 100644 --- a/packages/react-components/react-radio/library/src/components/RadioGroup/index.ts +++ b/packages/react-components/react-radio/library/src/components/RadioGroup/index.ts @@ -1,5 +1,5 @@ -export * from './RadioGroup'; -export * from './RadioGroup.types'; -export * from './renderRadioGroup'; -export * from './useRadioGroup'; -export * from './useRadioGroupStyles.styles'; +export { RadioGroup } from './RadioGroup'; +export type { RadioGroupContextValue, RadioGroupContextValues, RadioGroupOnChangeData, RadioGroupProps, RadioGroupSlots, RadioGroupState } from './RadioGroup.types'; +export { renderRadioGroup_unstable } from './renderRadioGroup'; +export { useRadioGroup_unstable } from './useRadioGroup'; +export { radioGroupClassNames, useRadioGroupStyles_unstable } from './useRadioGroupStyles.styles'; diff --git a/packages/react-components/react-radio/library/src/contexts/index.ts b/packages/react-components/react-radio/library/src/contexts/index.ts index 1b2f94037012fa..7d900c5669148a 100644 --- a/packages/react-components/react-radio/library/src/contexts/index.ts +++ b/packages/react-components/react-radio/library/src/contexts/index.ts @@ -1,2 +1,2 @@ -export * from './RadioGroupContext'; -export * from './useRadioGroupContextValues'; +export { RadioGroupContext, RadioGroupProvider, useRadioGroupContextValue_unstable, useRadioGroupContext_unstable } from './RadioGroupContext'; +export { useRadioGroupContextValues } from './useRadioGroupContextValues'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopover.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopover.ts index f9d76698e13ae8..940e2331160d4f 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopover.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopover.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopover/index'; +export type { TeachingPopoverProps, TeachingPopoverState } from './components/TeachingPopover/index'; +export { TeachingPopover, renderTeachingPopover_unstable, useTeachingPopover_unstable } from './components/TeachingPopover/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverBody.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverBody.ts index dc6abe78d8998c..d7788c6683346f 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverBody.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverBody.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverBody/index'; +export type { TeachingPopoverBodyProps, TeachingPopoverBodySlots, TeachingPopoverBodyState } from './components/TeachingPopoverBody/index'; +export { TeachingPopoverBody, renderTeachingPopoverBody_unstable, teachingPopoverBodyClassNames, useMediaStyles, useTeachingPopoverBodyStyles_unstable, useTeachingPopoverBody_unstable } from './components/TeachingPopoverBody/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarousel.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarousel.ts index b2bbf4d5d81afc..595235eb44fbbf 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarousel.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarousel.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverCarousel/index'; +export type { TeachingPopoverCarouselContextValues, TeachingPopoverCarouselProps, TeachingPopoverCarouselSlots, TeachingPopoverCarouselState } from './components/TeachingPopoverCarousel/index'; +export { TeachingPopoverCarousel, renderTeachingPopoverCarousel_unstable, teachingPopoverCarouselClassNames, useTeachingPopoverCarouselContextValues_unstable, useTeachingPopoverCarouselStyles_unstable, useTeachingPopoverCarousel_unstable } from './components/TeachingPopoverCarousel/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselCard.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselCard.ts index c780a698eb1673..3819c66814a693 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselCard.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselCard.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverCarouselCard/index'; +export type { TeachingPopoverCarouselCardProps, TeachingPopoverCarouselCardSlots, TeachingPopoverCarouselCardState } from './components/TeachingPopoverCarouselCard/index'; +export { TeachingPopoverCarouselCard, renderTeachingPopoverCarouselCard_unstable, teachingPopoverCarouselCardClassNames, useTeachingPopoverCarouselCardStyles_unstable, useTeachingPopoverCarouselCard_unstable } from './components/TeachingPopoverCarouselCard/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselFooter.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselFooter.ts index 51e9373d69a9a1..1964105c6976f4 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselFooter.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselFooter.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverCarouselFooter/index'; +export type { TeachingPopoverCarouselFooterLayout, TeachingPopoverCarouselFooterProps, TeachingPopoverCarouselFooterSlots, TeachingPopoverCarouselFooterState, TeachingPopoverPageCountChildRenderFunction } from './components/TeachingPopoverCarouselFooter/index'; +export { TeachingPopoverCarouselFooter, renderTeachingPopoverCarouselFooter_unstable, teachingPopoverCarouselFooterClassNames, useTeachingPopoverCarouselFooterStyles_unstable, useTeachingPopoverCarouselFooter_unstable } from './components/TeachingPopoverCarouselFooter/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselFooterButton.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselFooterButton.ts index 83d85652df48b9..311683c5db3d4e 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselFooterButton.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselFooterButton.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverCarouselFooterButton/index'; +export type { TeachingPopoverCarouselFooterButtonProps, TeachingPopoverCarouselFooterButtonSlots, TeachingPopoverCarouselFooterButtonState } from './components/TeachingPopoverCarouselFooterButton/index'; +export { TeachingPopoverCarouselFooterButton, renderTeachingPopoverCarouselFooterButton_unstable, teachingPopoverCarouselFooterButtonClassNames, useTeachingPopoverCarouselFooterButtonStyles_unstable, useTeachingPopoverCarouselFooterButton_unstable } from './components/TeachingPopoverCarouselFooterButton/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselNav.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselNav.ts index d01a7b3cf6a84e..a3f40c83f91e7b 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselNav.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselNav.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverCarouselNav/index'; +export type { NavButtonRenderFunction, TeachingPopoverCarouselNavProps, TeachingPopoverCarouselNavSlots, TeachingPopoverCarouselNavState } from './components/TeachingPopoverCarouselNav/index'; +export { TeachingPopoverCarouselNav, renderTeachingPopoverCarouselNav_unstable, teachingPopoverCarouselNavClassNames, useTeachingPopoverCarouselNavStyles_unstable, useTeachingPopoverCarouselNav_unstable } from './components/TeachingPopoverCarouselNav/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselNavButton.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselNavButton.ts index 538543b28a16b6..813586b61f5ca8 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselNavButton.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselNavButton.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverCarouselNavButton/index'; +export type { TeachingPopoverCarouselNavButtonProps, TeachingPopoverCarouselNavButtonSlots, TeachingPopoverCarouselNavButtonState } from './components/TeachingPopoverCarouselNavButton/index'; +export { TeachingPopoverCarouselNavButton, renderTeachingPopoverCarouselNavButton_unstable, teachingPopoverCarouselNavButtonClassNames, useTeachingPopoverCarouselNavButtonStyles_unstable, useTeachingPopoverCarouselNavButton_unstable } from './components/TeachingPopoverCarouselNavButton/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselPageCount.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselPageCount.ts index 9116591a49ccdf..4dd436d5df9f65 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselPageCount.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverCarouselPageCount.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverCarouselPageCount/index'; +export type { TeachingPopoverCarouselPageCountProps, TeachingPopoverCarouselPageCountRenderFunction, TeachingPopoverCarouselPageCountSlots, TeachingPopoverCarouselPageCountState } from './components/TeachingPopoverCarouselPageCount/index'; +export { TeachingPopoverCarouselPageCount, renderTeachingPopoverCarouselPageCount_unstable, teachingPopoverCarouselPageCountClassNames, useTeachingPopoverCarouselPageCountStyles_unstable, useTeachingPopoverCarouselPageCount_unstable } from './components/TeachingPopoverCarouselPageCount/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverFooter.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverFooter.ts index 9f2c12094874c1..6629c50edcc8af 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverFooter.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverFooter.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverFooter'; +export type { TeachingPopoverFooterProps, TeachingPopoverFooterSlots, TeachingPopoverFooterState } from './components/TeachingPopoverFooter'; +export { TeachingPopoverFooter, renderTeachingPopoverFooter_unstable, teachingPopoverFooterClassNames, useTeachingPopoverFooterStyles_unstable, useTeachingPopoverFooter_unstable } from './components/TeachingPopoverFooter'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverHeader.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverHeader.ts index e8a8eabe26b8be..b0e22f54eabb83 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverHeader.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverHeader.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverHeader/index'; +export type { TeachingPopoverHeaderProps, TeachingPopoverHeaderSlots, TeachingPopoverHeaderState } from './components/TeachingPopoverHeader/index'; +export { TeachingPopoverHeader, renderTeachingPopoverHeader_unstable, teachingPopoverHeaderClassNames, useTeachingPopoverHeaderStyles_unstable, useTeachingPopoverHeader_unstable } from './components/TeachingPopoverHeader/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverSurface.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverSurface.ts index 34a40f989e283e..a81d9fd69aa8c8 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverSurface.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverSurface.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverSurface/index'; +export type { TeachingPopoverSurfaceProps, TeachingPopoverSurfaceSlots, TeachingPopoverSurfaceState } from './components/TeachingPopoverSurface/index'; +export { TeachingPopoverSurface, renderTeachingPopoverSurface_unstable, teachingPopoverSurfaceClassNames, useTeachingPopoverSurfaceStyles_unstable, useTeachingPopoverSurface_unstable } from './components/TeachingPopoverSurface/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverTitle.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverTitle.ts index 1106176ab264d7..8b41102da62cd2 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverTitle.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverTitle.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverTitle/index'; +export type { TeachingPopoverTitleProps, TeachingPopoverTitleSlots, TeachingPopoverTitleState } from './components/TeachingPopoverTitle/index'; +export { TeachingPopoverTitle, renderTeachingPopoverTitle_unstable, teachingPopoverTitleClassNames, useTeachingPopoverTitleStyles_unstable, useTeachingPopoverTitle_unstable } from './components/TeachingPopoverTitle/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverTrigger.ts b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverTrigger.ts index 7162e1614bc4f3..7ee7cccd69d612 100644 --- a/packages/react-components/react-teaching-popover/library/src/TeachingPopoverTrigger.ts +++ b/packages/react-components/react-teaching-popover/library/src/TeachingPopoverTrigger.ts @@ -1 +1,2 @@ -export * from './components/TeachingPopoverTrigger/index'; +export type { TeachingPopoverTriggerChildProps, TeachingPopoverTriggerProps, TeachingPopoverTriggerState } from './components/TeachingPopoverTrigger/index'; +export { TeachingPopoverTrigger, renderTeachingPopoverTrigger_unstable, useTeachingPopoverTrigger_unstable } from './components/TeachingPopoverTrigger/index'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopover/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopover/index.ts index 2bec32fb77e3c5..a881fac1d0b885 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopover/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopover/index.ts @@ -1,4 +1,4 @@ -export * from './TeachingPopover'; -export * from './TeachingPopover.types'; -export * from './renderTeachingPopover'; -export * from './useTeachingPopover'; +export { TeachingPopover } from './TeachingPopover'; +export type { TeachingPopoverProps, TeachingPopoverState } from './TeachingPopover.types'; +export { renderTeachingPopover_unstable } from './renderTeachingPopover'; +export { useTeachingPopover_unstable } from './useTeachingPopover'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverBody/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverBody/index.ts index a8a9a3768ab817..7488cfd121f6b3 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverBody/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverBody/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverBody'; -export * from './TeachingPopoverBody.types'; -export * from './renderTeachingPopoverBody'; -export * from './useTeachingPopoverBody'; -export * from './useTeachingPopoverBodyStyles.styles'; +export { TeachingPopoverBody } from './TeachingPopoverBody'; +export type { TeachingPopoverBodyProps, TeachingPopoverBodySlots, TeachingPopoverBodyState } from './TeachingPopoverBody.types'; +export { renderTeachingPopoverBody_unstable } from './renderTeachingPopoverBody'; +export { useTeachingPopoverBody_unstable } from './useTeachingPopoverBody'; +export { teachingPopoverBodyClassNames, useMediaStyles, useTeachingPopoverBodyStyles_unstable } from './useTeachingPopoverBodyStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarousel/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarousel/index.ts index ab3a20288b31a1..6fc8a844d7ab01 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarousel/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarousel/index.ts @@ -1,6 +1,6 @@ -export * from './TeachingPopoverCarousel'; -export * from './TeachingPopoverCarousel.types'; -export * from './renderTeachingPopoverCarousel'; -export * from './useTeachingPopoverCarousel'; -export * from './useTeachingPopoverCarouselStyles.styles'; -export * from './useTeachingPopoverCarouselContextValues'; +export { TeachingPopoverCarousel } from './TeachingPopoverCarousel'; +export type { TeachingPopoverCarouselContextValues, TeachingPopoverCarouselProps, TeachingPopoverCarouselSlots, TeachingPopoverCarouselState } from './TeachingPopoverCarousel.types'; +export { renderTeachingPopoverCarousel_unstable } from './renderTeachingPopoverCarousel'; +export { useTeachingPopoverCarousel_unstable } from './useTeachingPopoverCarousel'; +export { teachingPopoverCarouselClassNames, useTeachingPopoverCarouselStyles_unstable } from './useTeachingPopoverCarouselStyles.styles'; +export { useTeachingPopoverCarouselContextValues_unstable } from './useTeachingPopoverCarouselContextValues'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselCard/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselCard/index.ts index 68e6ab96853214..ef41d29dc5e3ba 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselCard/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselCard/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverCarouselCard'; -export * from './TeachingPopoverCarouselCard.types'; -export * from './renderTeachingPopoverCarouselCard'; -export * from './useTeachingPopoverCarouselCard'; -export * from './useTeachingPopoverCarouselCardStyles.styles'; +export { TeachingPopoverCarouselCard } from './TeachingPopoverCarouselCard'; +export type { TeachingPopoverCarouselCardProps, TeachingPopoverCarouselCardSlots, TeachingPopoverCarouselCardState } from './TeachingPopoverCarouselCard.types'; +export { renderTeachingPopoverCarouselCard_unstable } from './renderTeachingPopoverCarouselCard'; +export { useTeachingPopoverCarouselCard_unstable } from './useTeachingPopoverCarouselCard'; +export { teachingPopoverCarouselCardClassNames, useTeachingPopoverCarouselCardStyles_unstable } from './useTeachingPopoverCarouselCardStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselFooter/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselFooter/index.ts index a77e3f65bfc63f..06ec6d132c5b81 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselFooter/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselFooter/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverCarouselFooter'; -export * from './TeachingPopoverCarouselFooter.types'; -export * from './renderTeachingPopoverCarouselFooter'; -export * from './useTeachingPopoverCarouselFooter'; -export * from './useTeachingPopoverCarouselFooterStyles.styles'; +export { TeachingPopoverCarouselFooter } from './TeachingPopoverCarouselFooter'; +export type { TeachingPopoverCarouselFooterLayout, TeachingPopoverCarouselFooterProps, TeachingPopoverCarouselFooterSlots, TeachingPopoverCarouselFooterState, TeachingPopoverPageCountChildRenderFunction } from './TeachingPopoverCarouselFooter.types'; +export { renderTeachingPopoverCarouselFooter_unstable } from './renderTeachingPopoverCarouselFooter'; +export { useTeachingPopoverCarouselFooter_unstable } from './useTeachingPopoverCarouselFooter'; +export { teachingPopoverCarouselFooterClassNames, useTeachingPopoverCarouselFooterStyles_unstable } from './useTeachingPopoverCarouselFooterStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselFooterButton/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselFooterButton/index.ts index a340881b36db2d..050303cf030a5d 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselFooterButton/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselFooterButton/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverCarouselFooterButton'; -export * from './TeachingPopoverCarouselFooterButton.types'; -export * from './renderTeachingPopoverCarouselFooterButton'; -export * from './useTeachingPopoverCarouselFooterButton'; -export * from './useTeachingPopoverCarouselFooterButtonStyles.styles'; +export { TeachingPopoverCarouselFooterButton } from './TeachingPopoverCarouselFooterButton'; +export type { TeachingPopoverCarouselFooterButtonProps, TeachingPopoverCarouselFooterButtonSlots, TeachingPopoverCarouselFooterButtonState } from './TeachingPopoverCarouselFooterButton.types'; +export { renderTeachingPopoverCarouselFooterButton_unstable } from './renderTeachingPopoverCarouselFooterButton'; +export { useTeachingPopoverCarouselFooterButton_unstable } from './useTeachingPopoverCarouselFooterButton'; +export { teachingPopoverCarouselFooterButtonClassNames, useTeachingPopoverCarouselFooterButtonStyles_unstable } from './useTeachingPopoverCarouselFooterButtonStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselNav/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselNav/index.ts index 87c205157895b0..368ae40697cf26 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselNav/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselNav/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverCarouselNav'; -export * from './TeachingPopoverCarouselNav.types'; -export * from './renderTeachingPopoverCarouselNav'; -export * from './useTeachingPopoverCarouselNav'; -export * from './useTeachingPopoverCarouselNavStyles.styles'; +export { TeachingPopoverCarouselNav } from './TeachingPopoverCarouselNav'; +export type { NavButtonRenderFunction, TeachingPopoverCarouselNavProps, TeachingPopoverCarouselNavSlots, TeachingPopoverCarouselNavState } from './TeachingPopoverCarouselNav.types'; +export { renderTeachingPopoverCarouselNav_unstable } from './renderTeachingPopoverCarouselNav'; +export { useTeachingPopoverCarouselNav_unstable } from './useTeachingPopoverCarouselNav'; +export { teachingPopoverCarouselNavClassNames, useTeachingPopoverCarouselNavStyles_unstable } from './useTeachingPopoverCarouselNavStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselNavButton/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselNavButton/index.ts index 9ffce593cab35c..4fdd293fdb58ef 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselNavButton/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselNavButton/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverCarouselNavButton'; -export * from './TeachingPopoverCarouselNavButton.types'; -export * from './renderTeachingPopoverCarouselNavButton'; -export * from './useTeachingPopoverCarouselNavButton'; -export * from './useTeachingPopoverCarouselNavButtonStyles.styles'; +export { TeachingPopoverCarouselNavButton } from './TeachingPopoverCarouselNavButton'; +export type { TeachingPopoverCarouselNavButtonProps, TeachingPopoverCarouselNavButtonSlots, TeachingPopoverCarouselNavButtonState } from './TeachingPopoverCarouselNavButton.types'; +export { renderTeachingPopoverCarouselNavButton_unstable } from './renderTeachingPopoverCarouselNavButton'; +export { useTeachingPopoverCarouselNavButton_unstable } from './useTeachingPopoverCarouselNavButton'; +export { teachingPopoverCarouselNavButtonClassNames, useTeachingPopoverCarouselNavButtonStyles_unstable } from './useTeachingPopoverCarouselNavButtonStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselPageCount/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselPageCount/index.ts index 16d165b42da112..8a8e703013e01b 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselPageCount/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselPageCount/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverCarouselPageCount'; -export * from './TeachingPopoverCarouselPageCount.types'; -export * from './renderTeachingPopoverCarouselPageCount'; -export * from './useTeachingPopoverCarouselPageCount'; -export * from './useTeachingPopoverCarouselPageCountStyles.styles'; +export { TeachingPopoverCarouselPageCount } from './TeachingPopoverCarouselPageCount'; +export type { TeachingPopoverCarouselPageCountProps, TeachingPopoverCarouselPageCountRenderFunction, TeachingPopoverCarouselPageCountSlots, TeachingPopoverCarouselPageCountState } from './TeachingPopoverCarouselPageCount.types'; +export { renderTeachingPopoverCarouselPageCount_unstable } from './renderTeachingPopoverCarouselPageCount'; +export { useTeachingPopoverCarouselPageCount_unstable } from './useTeachingPopoverCarouselPageCount'; +export { teachingPopoverCarouselPageCountClassNames, useTeachingPopoverCarouselPageCountStyles_unstable } from './useTeachingPopoverCarouselPageCountStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverFooter/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverFooter/index.ts index 1d595441375ab8..5ddf20c0846a24 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverFooter/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverFooter/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverFooter'; -export * from './TeachingPopoverFooter.types'; -export * from './renderTeachingPopoverFooter'; -export * from './useTeachingPopoverFooter'; -export * from './useTeachingPopoverFooterStyles.styles'; +export { TeachingPopoverFooter } from './TeachingPopoverFooter'; +export type { TeachingPopoverFooterProps, TeachingPopoverFooterSlots, TeachingPopoverFooterState } from './TeachingPopoverFooter.types'; +export { renderTeachingPopoverFooter_unstable } from './renderTeachingPopoverFooter'; +export { useTeachingPopoverFooter_unstable } from './useTeachingPopoverFooter'; +export { teachingPopoverFooterClassNames, useTeachingPopoverFooterStyles_unstable } from './useTeachingPopoverFooterStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverHeader/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverHeader/index.ts index 326f7a0ac7d162..7c9689da729d54 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverHeader/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverHeader/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverHeader'; -export * from './TeachingPopoverHeader.types'; -export * from './renderTeachingPopoverHeader'; -export * from './useTeachingPopoverHeader'; -export * from './useTeachingPopoverHeaderStyles.styles'; +export { TeachingPopoverHeader } from './TeachingPopoverHeader'; +export type { TeachingPopoverHeaderProps, TeachingPopoverHeaderSlots, TeachingPopoverHeaderState } from './TeachingPopoverHeader.types'; +export { renderTeachingPopoverHeader_unstable } from './renderTeachingPopoverHeader'; +export { useTeachingPopoverHeader_unstable } from './useTeachingPopoverHeader'; +export { teachingPopoverHeaderClassNames, useTeachingPopoverHeaderStyles_unstable } from './useTeachingPopoverHeaderStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverSurface/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverSurface/index.ts index 41386ef67dbf61..5b73091987b388 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverSurface/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverSurface/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverSurface'; -export * from './TeachingPopoverSurface.types'; -export * from './renderTeachingPopoverSurface'; -export * from './useTeachingPopoverSurface'; -export * from './useTeachingPopoverSurfaceStyles.styles'; +export { TeachingPopoverSurface } from './TeachingPopoverSurface'; +export type { TeachingPopoverSurfaceProps, TeachingPopoverSurfaceSlots, TeachingPopoverSurfaceState } from './TeachingPopoverSurface.types'; +export { renderTeachingPopoverSurface_unstable } from './renderTeachingPopoverSurface'; +export { useTeachingPopoverSurface_unstable } from './useTeachingPopoverSurface'; +export { teachingPopoverSurfaceClassNames, useTeachingPopoverSurfaceStyles_unstable } from './useTeachingPopoverSurfaceStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverTitle/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverTitle/index.ts index 1ca40c34610487..ccabfd61270f2b 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverTitle/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverTitle/index.ts @@ -1,5 +1,5 @@ -export * from './TeachingPopoverTitle'; -export * from './TeachingPopoverTitle.types'; -export * from './renderTeachingPopoverTitle'; -export * from './useTeachingPopoverTitle'; -export * from './useTeachingPopoverTitleStyles.styles'; +export { TeachingPopoverTitle } from './TeachingPopoverTitle'; +export type { TeachingPopoverTitleProps, TeachingPopoverTitleSlots, TeachingPopoverTitleState } from './TeachingPopoverTitle.types'; +export { renderTeachingPopoverTitle_unstable } from './renderTeachingPopoverTitle'; +export { useTeachingPopoverTitle_unstable } from './useTeachingPopoverTitle'; +export { teachingPopoverTitleClassNames, useTeachingPopoverTitleStyles_unstable } from './useTeachingPopoverTitleStyles.styles'; diff --git a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverTrigger/index.ts b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverTrigger/index.ts index 22d9041f70a617..c9bc6cb6777439 100644 --- a/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverTrigger/index.ts +++ b/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverTrigger/index.ts @@ -1,4 +1,4 @@ -export * from './TeachingPopoverTrigger'; -export * from './TeachingPopoverTrigger.types'; -export * from './renderTeachingPopoverTrigger'; -export * from './useTeachingPopoverTrigger'; +export { TeachingPopoverTrigger } from './TeachingPopoverTrigger'; +export type { TeachingPopoverTriggerChildProps, TeachingPopoverTriggerProps, TeachingPopoverTriggerState } from './TeachingPopoverTrigger.types'; +export { renderTeachingPopoverTrigger_unstable } from './renderTeachingPopoverTrigger'; +export { useTeachingPopoverTrigger_unstable } from './useTeachingPopoverTrigger'; diff --git a/packages/react-components/react-virtualizer/library/etc/react-virtualizer.api.md b/packages/react-components/react-virtualizer/library/etc/react-virtualizer.api.md index 6b3c901b351b61..3bcd16bcd68144 100644 --- a/packages/react-components/react-virtualizer/library/etc/react-virtualizer.api.md +++ b/packages/react-components/react-virtualizer/library/etc/react-virtualizer.api.md @@ -6,10 +6,7 @@ import type { ComponentProps } from '@fluentui/react-utilities'; import type { ComponentState } from '@fluentui/react-utilities'; -import type { FC } from 'react'; -import type { MutableRefObject } from 'react'; import * as React_2 from 'react'; -import type { RefObject } from 'react'; import type { Slot } from '@fluentui/react-utilities'; import type { SlotClassNames } from '@fluentui/react-utilities'; @@ -132,7 +129,7 @@ export const useVirtualizerScrollViewStyles_unstable: (state: VirtualizerScrollV export const useVirtualizerStyles_unstable: (state: VirtualizerState) => VirtualizerState; // @public -export const Virtualizer: FC; +export const Virtualizer: React_2.FC; // @public export type VirtualizerChildRenderFunction = (index: number, isScrolling: boolean) => React_2.ReactNode; @@ -152,10 +149,10 @@ export const VirtualizerContextProvider: React_2.Provider; - nodeSizes: RefObject; + progressiveSizes: React_2.RefObject; + nodeSizes: React_2.RefObject; setFlaggedIndex: (index: number | null) => void; - currentIndex: RefObject; + currentIndex: React_2.RefObject; }; // @public (undocumented) diff --git a/packages/react-components/react-virtualizer/library/src/Hooks.ts b/packages/react-components/react-virtualizer/library/src/Hooks.ts index 429b7dfe4e808e..8ed511913bc8de 100644 --- a/packages/react-components/react-virtualizer/library/src/Hooks.ts +++ b/packages/react-components/react-virtualizer/library/src/Hooks.ts @@ -1 +1,2 @@ -export * from './hooks/index'; +export type { IndexedResizeCallbackElement, ResizeCallbackWithRef, VirtualizerDynamicPaginationProps, VirtualizerMeasureDynamicProps, VirtualizerMeasureProps, VirtualizerStaticPaginationProps } from './hooks/index'; +export { createResizeObserverFromDocument, getRTLRootMargin, useDynamicVirtualizerMeasure, useIntersectionObserver, useMeasureList, useResizeObserverRef_unstable, useStaticVirtualizerMeasure } from './hooks/index'; diff --git a/packages/react-components/react-virtualizer/library/src/Utilities.ts b/packages/react-components/react-virtualizer/library/src/Utilities.ts index 91e9ad875428e2..b78139c046a8bc 100644 --- a/packages/react-components/react-virtualizer/library/src/Utilities.ts +++ b/packages/react-components/react-virtualizer/library/src/Utilities.ts @@ -1 +1,2 @@ -export * from './utilities/index'; +export type { DynamicVirtualizerContextProps, ScrollToInterface, ScrollToItemDynamicParams, ScrollToItemStaticParams, VirtualizerContextProps } from './utilities/index'; +export { VirtualizerContextProvider, scrollToItemDynamic, scrollToItemStatic, useVirtualizerContextState_unstable, useVirtualizerContext_unstable } from './utilities/index'; diff --git a/packages/react-components/react-virtualizer/library/src/Virtualizer.ts b/packages/react-components/react-virtualizer/library/src/Virtualizer.ts index 5e125d9783e425..9d31d84f8d4a2e 100644 --- a/packages/react-components/react-virtualizer/library/src/Virtualizer.ts +++ b/packages/react-components/react-virtualizer/library/src/Virtualizer.ts @@ -1 +1,2 @@ -export * from './components/Virtualizer/index'; +export type { VirtualizerChildRenderFunction, VirtualizerConfigProps, VirtualizerConfigState, VirtualizerDataRef, VirtualizerProps, VirtualizerSlots, VirtualizerState } from './components/Virtualizer/index'; +export { Virtualizer, renderVirtualizerChildPlaceholder, renderVirtualizer_unstable, useVirtualizerStyles_unstable, useVirtualizer_unstable, virtualizerClassNames } from './components/Virtualizer/index'; diff --git a/packages/react-components/react-virtualizer/library/src/VirtualizerScrollView.ts b/packages/react-components/react-virtualizer/library/src/VirtualizerScrollView.ts index 20bfbaf6a9fcba..7a68fe8684bfbc 100644 --- a/packages/react-components/react-virtualizer/library/src/VirtualizerScrollView.ts +++ b/packages/react-components/react-virtualizer/library/src/VirtualizerScrollView.ts @@ -1 +1,2 @@ -export * from './components/VirtualizerScrollView/index'; +export type { VirtualizerScrollViewProps, VirtualizerScrollViewSlots, VirtualizerScrollViewState } from './components/VirtualizerScrollView/index'; +export { VirtualizerScrollView, renderVirtualizerScrollView_unstable, useVirtualizerScrollViewStyles_unstable, useVirtualizerScrollView_unstable, virtualizerScrollViewClassNames } from './components/VirtualizerScrollView/index'; diff --git a/packages/react-components/react-virtualizer/library/src/VirtualizerScrollViewDynamic.ts b/packages/react-components/react-virtualizer/library/src/VirtualizerScrollViewDynamic.ts index dd94f542e41270..73e5989168ef70 100644 --- a/packages/react-components/react-virtualizer/library/src/VirtualizerScrollViewDynamic.ts +++ b/packages/react-components/react-virtualizer/library/src/VirtualizerScrollViewDynamic.ts @@ -1 +1,2 @@ -export * from './components/VirtualizerScrollViewDynamic/index'; +export type { VirtualizerScrollViewDynamicProps, VirtualizerScrollViewDynamicSlots, VirtualizerScrollViewDynamicState } from './components/VirtualizerScrollViewDynamic/index'; +export { VirtualizerScrollViewDynamic, renderVirtualizerScrollViewDynamic_unstable, useVirtualizerScrollViewDynamicStyles_unstable, useVirtualizerScrollViewDynamic_unstable, virtualizerScrollViewDynamicClassNames } from './components/VirtualizerScrollViewDynamic/index'; diff --git a/packages/react-components/react-virtualizer/library/src/components/Virtualizer/index.ts b/packages/react-components/react-virtualizer/library/src/components/Virtualizer/index.ts index bf32b1b6c55a5e..835080670e568c 100644 --- a/packages/react-components/react-virtualizer/library/src/components/Virtualizer/index.ts +++ b/packages/react-components/react-virtualizer/library/src/components/Virtualizer/index.ts @@ -1,5 +1,5 @@ -export * from './Virtualizer'; -export * from './Virtualizer.types'; -export * from './useVirtualizer'; -export * from './renderVirtualizer'; -export * from './useVirtualizerStyles.styles'; +export { Virtualizer } from './Virtualizer'; +export type { VirtualizerChildRenderFunction, VirtualizerConfigProps, VirtualizerConfigState, VirtualizerDataRef, VirtualizerProps, VirtualizerSlots, VirtualizerState } from './Virtualizer.types'; +export { useVirtualizer_unstable } from './useVirtualizer'; +export { renderVirtualizerChildPlaceholder, renderVirtualizer_unstable } from './renderVirtualizer'; +export { useVirtualizerStyles_unstable, virtualizerClassNames } from './useVirtualizerStyles.styles'; diff --git a/packages/react-components/react-virtualizer/library/src/components/VirtualizerScrollView/index.ts b/packages/react-components/react-virtualizer/library/src/components/VirtualizerScrollView/index.ts index 393efae2e802e5..a0132869fa8d5d 100644 --- a/packages/react-components/react-virtualizer/library/src/components/VirtualizerScrollView/index.ts +++ b/packages/react-components/react-virtualizer/library/src/components/VirtualizerScrollView/index.ts @@ -1,5 +1,5 @@ -export * from './VirtualizerScrollView'; -export * from './VirtualizerScrollView.types'; -export * from './useVirtualizerScrollView'; -export * from './renderVirtualizerScrollView'; -export * from './useVirtualizerScrollViewStyles.styles'; +export { VirtualizerScrollView } from './VirtualizerScrollView'; +export type { VirtualizerScrollViewProps, VirtualizerScrollViewSlots, VirtualizerScrollViewState } from './VirtualizerScrollView.types'; +export { useVirtualizerScrollView_unstable } from './useVirtualizerScrollView'; +export { renderVirtualizerScrollView_unstable } from './renderVirtualizerScrollView'; +export { useVirtualizerScrollViewStyles_unstable, virtualizerScrollViewClassNames } from './useVirtualizerScrollViewStyles.styles'; diff --git a/packages/react-components/react-virtualizer/library/src/components/VirtualizerScrollViewDynamic/index.ts b/packages/react-components/react-virtualizer/library/src/components/VirtualizerScrollViewDynamic/index.ts index bda6da51d22a8e..7e38b9776f581d 100644 --- a/packages/react-components/react-virtualizer/library/src/components/VirtualizerScrollViewDynamic/index.ts +++ b/packages/react-components/react-virtualizer/library/src/components/VirtualizerScrollViewDynamic/index.ts @@ -1,5 +1,5 @@ -export * from './VirtualizerScrollViewDynamic'; -export * from './VirtualizerScrollViewDynamic.types'; -export * from './useVirtualizerScrollViewDynamic'; -export * from './renderVirtualizerScrollViewDynamic'; -export * from './useVirtualizerScrollViewDynamicStyles.styles'; +export { VirtualizerScrollViewDynamic } from './VirtualizerScrollViewDynamic'; +export type { VirtualizerScrollViewDynamicProps, VirtualizerScrollViewDynamicSlots, VirtualizerScrollViewDynamicState } from './VirtualizerScrollViewDynamic.types'; +export { useVirtualizerScrollViewDynamic_unstable } from './useVirtualizerScrollViewDynamic'; +export { renderVirtualizerScrollViewDynamic_unstable } from './renderVirtualizerScrollViewDynamic'; +export { useVirtualizerScrollViewDynamicStyles_unstable, virtualizerScrollViewDynamicClassNames } from './useVirtualizerScrollViewDynamicStyles.styles'; diff --git a/packages/react-components/react-virtualizer/library/src/hooks/index.ts b/packages/react-components/react-virtualizer/library/src/hooks/index.ts index 1b64be17abdbb0..2cdbe1ff88dbcc 100644 --- a/packages/react-components/react-virtualizer/library/src/hooks/index.ts +++ b/packages/react-components/react-virtualizer/library/src/hooks/index.ts @@ -1,6 +1,7 @@ -export * from './useIntersectionObserver'; -export * from './useVirtualizerMeasure'; -export * from './useDynamicVirtualizerMeasure'; -export * from './useResizeObserverRef'; -export * from './hooks.types'; -export * from './useMeasureList'; +export { getRTLRootMargin, useIntersectionObserver } from './useIntersectionObserver'; +export { useStaticVirtualizerMeasure } from './useVirtualizerMeasure'; +export { useDynamicVirtualizerMeasure } from './useDynamicVirtualizerMeasure'; +export { useResizeObserverRef_unstable } from './useResizeObserverRef'; +export type { ResizeCallbackWithRef, VirtualizerDynamicPaginationProps, VirtualizerMeasureDynamicProps, VirtualizerMeasureProps, VirtualizerStaticPaginationProps } from './hooks.types'; +export type { IndexedResizeCallbackElement } from './useMeasureList'; +export { createResizeObserverFromDocument, useMeasureList } from './useMeasureList'; diff --git a/packages/react-components/react-virtualizer/library/src/hooks/useDynamicVirtualizerMeasure.ts b/packages/react-components/react-virtualizer/library/src/hooks/useDynamicVirtualizerMeasure.ts index 0017bd2cf2939e..17ca8378e6506d 100644 --- a/packages/react-components/react-virtualizer/library/src/hooks/useDynamicVirtualizerMeasure.ts +++ b/packages/react-components/react-virtualizer/library/src/hooks/useDynamicVirtualizerMeasure.ts @@ -132,7 +132,7 @@ export const useDynamicVirtualizerMeasure = ( ( _entries: ResizeObserverEntry[], // TODO: exclude types from this lint rule: https://github.com/microsoft/fluentui/issues/31286 - // eslint-disable-next-line no-restricted-globals + _observer: ResizeObserver, scrollRef?: React.MutableRefObject, ) => { diff --git a/packages/react-components/react-virtualizer/library/src/hooks/useIntersectionObserver.ts b/packages/react-components/react-virtualizer/library/src/hooks/useIntersectionObserver.ts index 3db934b508146f..c69dfb9b52c686 100644 --- a/packages/react-components/react-virtualizer/library/src/hooks/useIntersectionObserver.ts +++ b/packages/react-components/react-virtualizer/library/src/hooks/useIntersectionObserver.ts @@ -56,13 +56,13 @@ export const useIntersectionObserver = ( setObserverList: React.Dispatch>; setObserverInit: (newInit: IntersectionObserverInit | undefined) => void; // TODO: exclude types from this lint rule: https://github.com/microsoft/fluentui/issues/31286 - // eslint-disable-next-line no-restricted-globals + observer: React.MutableRefObject; } => { 'use no memo'; // TODO: exclude types from this lint rule: https://github.com/microsoft/fluentui/issues/31286 - // eslint-disable-next-line no-restricted-globals + const observer = useRef(); const [observerList, setObserverList] = useState(); const { targetDocument } = useFluent(); diff --git a/packages/react-components/react-virtualizer/library/src/hooks/useMutationObserver.ts b/packages/react-components/react-virtualizer/library/src/hooks/useMutationObserver.ts index 0796a4463e5484..3d8878aaebaa49 100644 --- a/packages/react-components/react-virtualizer/library/src/hooks/useMutationObserver.ts +++ b/packages/react-components/react-virtualizer/library/src/hooks/useMutationObserver.ts @@ -8,12 +8,12 @@ export const useMutationObserver = ( callback: MutationCallback, options?: MutationObserverInit, ): { - observer: React.MutableRefObject; // eslint-disable-line no-restricted-globals + observer: React.MutableRefObject; } => { 'use no memo'; // TODO: exclude types from this lint rule: https://github.com/microsoft/fluentui/issues/31286 - // eslint-disable-next-line no-restricted-globals + const observer = useRef(); const { targetDocument } = useFluent(); const win = targetDocument?.defaultView; diff --git a/packages/react-components/react-virtualizer/library/src/hooks/useResizeObserverRef.ts b/packages/react-components/react-virtualizer/library/src/hooks/useResizeObserverRef.ts index fa44e72e928d55..bc10ec73e1c497 100644 --- a/packages/react-components/react-virtualizer/library/src/hooks/useResizeObserverRef.ts +++ b/packages/react-components/react-virtualizer/library/src/hooks/useResizeObserverRef.ts @@ -16,7 +16,7 @@ export const useResizeObserverRef_unstable = (resizeCallback: ResizeCallbackWith const containerWidthRef = React.useRef(0); // the handler for resize observer // TODO: exclude types from this lint rule: https://github.com/microsoft/fluentui/issues/31286 - // eslint-disable-next-line no-restricted-globals + const handleResize = debounce((entries: ResizeObserverEntry[], observer: ResizeObserver) => { const containerHeight = container.current?.clientHeight; const containerWidth = container.current?.clientWidth; diff --git a/packages/react-components/react-virtualizer/library/src/hooks/useVirtualizerMeasure.ts b/packages/react-components/react-virtualizer/library/src/hooks/useVirtualizerMeasure.ts index 026125d50647c6..2c83bfaa1a3a18 100644 --- a/packages/react-components/react-virtualizer/library/src/hooks/useVirtualizerMeasure.ts +++ b/packages/react-components/react-virtualizer/library/src/hooks/useVirtualizerMeasure.ts @@ -32,7 +32,7 @@ export const useStaticVirtualizerMeasure = ( ( _entries: ResizeObserverEntry[], // TODO: exclude types from this lint rule: https://github.com/microsoft/fluentui/issues/31286 - // eslint-disable-next-line no-restricted-globals + _observer: ResizeObserver, scrollRef?: React.MutableRefObject, ) => { diff --git a/packages/react-components/react-virtualizer/library/src/utilities/ImperativeScrolling/index.ts b/packages/react-components/react-virtualizer/library/src/utilities/ImperativeScrolling/index.ts index a9c61a1ea2e47b..84e1006b40596a 100644 --- a/packages/react-components/react-virtualizer/library/src/utilities/ImperativeScrolling/index.ts +++ b/packages/react-components/react-virtualizer/library/src/utilities/ImperativeScrolling/index.ts @@ -1,3 +1,3 @@ -export * from './imperativeScrolling'; -export * from './imperativeScrolling.types'; -export * from './imperativeScrollingDynamic'; +export { scrollToItemStatic } from './imperativeScrolling'; +export type { ScrollToInterface, ScrollToItemDynamicParams, ScrollToItemStaticParams } from './imperativeScrolling.types'; +export { scrollToItemDynamic } from './imperativeScrollingDynamic'; diff --git a/packages/react-components/react-virtualizer/library/src/utilities/VirtualizerContext/index.ts b/packages/react-components/react-virtualizer/library/src/utilities/VirtualizerContext/index.ts index 3eee78749512cc..aeb93cea5fc803 100644 --- a/packages/react-components/react-virtualizer/library/src/utilities/VirtualizerContext/index.ts +++ b/packages/react-components/react-virtualizer/library/src/utilities/VirtualizerContext/index.ts @@ -1,2 +1,2 @@ -export * from './VirtualizerContext'; -export * from './types'; +export { VirtualizerContextProvider, useVirtualizerContextState_unstable, useVirtualizerContext_unstable } from './VirtualizerContext'; +export type { DynamicVirtualizerContextProps, VirtualizerContextProps } from './types'; diff --git a/packages/react-components/react-virtualizer/library/src/utilities/index.ts b/packages/react-components/react-virtualizer/library/src/utilities/index.ts index 7d8ab179c12bcf..168f5de40d20cf 100644 --- a/packages/react-components/react-virtualizer/library/src/utilities/index.ts +++ b/packages/react-components/react-virtualizer/library/src/utilities/index.ts @@ -1,2 +1,4 @@ -export * from './VirtualizerContext'; -export * from './ImperativeScrolling'; +export type { DynamicVirtualizerContextProps, VirtualizerContextProps } from './VirtualizerContext'; +export { VirtualizerContextProvider, useVirtualizerContextState_unstable, useVirtualizerContext_unstable } from './VirtualizerContext'; +export type { ScrollToInterface, ScrollToItemDynamicParams, ScrollToItemStaticParams } from './ImperativeScrolling'; +export { scrollToItemDynamic, scrollToItemStatic } from './ImperativeScrolling';