From f15afa79910b9998044dddcce63e9583e4f8b905 Mon Sep 17 00:00:00 2001 From: Oleksandr Fediashov Date: Fri, 13 Dec 2024 14:56:04 +0200 Subject: [PATCH 1/3] chore: remove usage of "export *" (#33457) --- ...-cdab055e-9e74-4594-aafd-73566539af03.json | 7 +++++ ...-8b1310b9-dfe7-479e-9786-5ddde5732c93.json | 7 +++++ ...-57be4cfa-c216-4c45-b33b-68d0a0b60ad6.json | 7 +++++ ...-202a0647-ecd3-4f94-a362-35eefbe9ae53.json | 7 +++++ ...-b23e58f1-e6c5-4ac4-963e-63d248181363.json | 7 +++++ ...-9ed5ff29-ec65-4d90-84c5-e9abdf034b46.json | 7 +++++ ...-9dd1cff8-e778-499b-a0c7-489feb87bca8.json | 7 +++++ .../react-button/library/src/Button.tsx | 9 ++++++- .../library/src/CompoundButton.ts | 9 ++++++- .../react-button/library/src/MenuButton.ts | 9 ++++++- .../react-button/library/src/SplitButton.ts | 9 ++++++- .../react-button/library/src/ToggleButton.ts | 9 ++++++- .../library/src/components/Button/index.ts | 6 ++--- .../src/components/CompoundButton/index.ts | 8 +++--- .../src/components/MenuButton/index.ts | 8 +++--- .../src/components/SplitButton/index.ts | 8 +++--- .../src/components/ToggleButton/index.ts | 8 +++--- .../library/src/contexts/index.ts | 3 ++- .../react-button/library/src/utils/index.ts | 2 +- .../react-carousel/library/src/Carousel.ts | 18 ++++++++++++- .../library/src/CarouselAutoplayButton.ts | 15 ++++++++++- .../library/src/CarouselButton.ts | 9 ++++++- .../library/src/CarouselCard.ts | 9 ++++++- .../library/src/CarouselContext.ts | 12 +++++++-- .../react-carousel/library/src/CarouselNav.ts | 15 ++++++++++- .../library/src/CarouselNavButton.ts | 13 +++++++++- .../library/src/CarouselNavContainer.ts | 13 +++++++++- .../library/src/CarouselNavImageButton.ts | 13 +++++++++- .../library/src/CarouselSlider.ts | 14 +++++++++- .../library/src/CarouselViewport.ts | 13 +++++++++- .../library/src/components/Carousel/index.ts | 19 ++++++++++---- .../CarouselAutoplayButton/index.ts | 19 ++++++++++---- .../src/components/CarouselButton/index.ts | 10 +++---- .../src/components/CarouselCard/index.ts | 10 +++---- .../src/components/CarouselNav/index.ts | 16 ++++++++---- .../src/components/CarouselNavButton/index.ts | 10 +++---- .../components/CarouselNavContainer/index.ts | 17 ++++++++---- .../CarouselNavImageButton/index.ts | 17 ++++++++---- .../src/components/CarouselSlider/index.ts | 15 +++++++---- .../src/components/CarouselViewport/index.ts | 10 +++---- .../src/components/Attachment/index.ts | 18 ++++++++----- .../library/src/components/Button/index.tsx | 2 +- .../library/src/components/FormField/index.ts | 2 +- .../src/components/ItemLayout/index.tsx | 4 +-- .../library/src/components/List/List/index.ts | 10 +++---- .../src/components/List/ListItem/index.ts | 10 +++---- .../src/components/List/hooks/index.ts | 2 +- .../src/components/Primitive/index.tsx | 2 +- .../library/src/components/Segment/index.ts | 2 +- .../src/components/StyledText/index.tsx | 5 ++-- .../library/src/components/Video/index.ts | 3 ++- .../react-nav-preview/library/src/AppItem.ts | 10 ++++++- .../library/src/AppItemStatic.ts | 9 ++++++- .../library/src/Hamburger.ts | 8 +++++- .../react-nav-preview/library/src/Nav.ts | 26 ++++++++++++++++--- .../library/src/NavCategory.ts | 3 ++- .../library/src/NavDivider.ts | 8 +++++- .../library/src/NavDrawer.ts | 9 ++++++- .../library/src/NavDrawerBody.ts | 8 +++++- .../library/src/NavDrawerFooter.ts | 12 ++++++++- .../library/src/NavDrawerHeader.ts | 12 ++++++++- .../react-nav-preview/library/src/NavItem.ts | 9 ++++++- .../library/src/NavSectionHeader.ts | 13 +++++++++- .../library/src/NavSubItem.ts | 9 ++++++- .../library/src/NavSubItemGroup.ts | 13 +++++++++- .../library/src/SplitNavItem.ts | 9 ++++++- .../library/src/components/AppItem/index.ts | 10 +++---- .../src/components/AppItemStatic/index.ts | 10 +++---- .../library/src/components/Hamburger/index.ts | 8 +++--- .../src/components/NavDivider/index.ts | 8 +++--- .../library/src/components/NavDrawer/index.ts | 10 +++---- .../src/components/NavDrawerBody/index.ts | 8 +++--- .../src/components/NavDrawerFooter/index.ts | 8 +++--- .../src/components/NavDrawerHeader/index.ts | 8 +++--- .../src/components/NavSectionHeader/index.ts | 10 +++---- .../src/components/SplitNavItem/index.ts | 10 +++---- .../react-radio/library/src/Radio.ts | 9 ++++++- .../react-radio/library/src/RadioGroup.ts | 16 +++++++++++- .../library/src/components/Radio/index.ts | 10 +++---- .../src/components/RadioGroup/index.ts | 17 ++++++++---- .../react-radio/library/src/contexts/index.ts | 10 +++++-- .../library/src/TeachingPopover.ts | 7 ++++- .../library/src/TeachingPopoverBody.ts | 14 +++++++++- .../library/src/TeachingPopoverCarousel.ts | 15 ++++++++++- .../src/TeachingPopoverCarouselCard.ts | 13 +++++++++- .../src/TeachingPopoverCarouselFooter.ts | 15 ++++++++++- .../TeachingPopoverCarouselFooterButton.ts | 13 +++++++++- .../library/src/TeachingPopoverCarouselNav.ts | 14 +++++++++- .../src/TeachingPopoverCarouselNavButton.ts | 13 +++++++++- .../src/TeachingPopoverCarouselPageCount.ts | 14 +++++++++- .../library/src/TeachingPopoverFooter.ts | 13 +++++++++- .../library/src/TeachingPopoverHeader.ts | 13 +++++++++- .../library/src/TeachingPopoverSurface.ts | 13 +++++++++- .../library/src/TeachingPopoverTitle.ts | 13 +++++++++- .../library/src/TeachingPopoverTrigger.ts | 11 +++++++- .../src/components/TeachingPopover/index.ts | 8 +++--- .../components/TeachingPopoverBody/index.ts | 18 +++++++++---- .../TeachingPopoverCarousel/index.ts | 20 +++++++++----- .../TeachingPopoverCarouselCard/index.ts | 17 ++++++++---- .../TeachingPopoverCarouselFooter/index.ts | 19 ++++++++++---- .../index.ts | 17 ++++++++---- .../TeachingPopoverCarouselNav/index.ts | 18 +++++++++---- .../TeachingPopoverCarouselNavButton/index.ts | 17 ++++++++---- .../TeachingPopoverCarouselPageCount/index.ts | 18 +++++++++---- .../components/TeachingPopoverFooter/index.ts | 17 ++++++++---- .../components/TeachingPopoverHeader/index.ts | 17 ++++++++---- .../TeachingPopoverSurface/index.ts | 17 ++++++++---- .../components/TeachingPopoverTitle/index.ts | 17 ++++++++---- .../TeachingPopoverTrigger/index.ts | 12 ++++++--- .../react-virtualizer/library/src/Hooks.ts | 18 ++++++++++++- .../library/src/Utilities.ts | 15 ++++++++++- .../library/src/Virtualizer.ts | 18 ++++++++++++- .../library/src/VirtualizerScrollView.ts | 13 +++++++++- .../src/VirtualizerScrollViewDynamic.ts | 13 +++++++++- .../src/components/Virtualizer/index.ts | 18 +++++++++---- .../components/VirtualizerScrollView/index.ts | 17 ++++++++---- .../VirtualizerScrollViewDynamic/index.ts | 17 ++++++++---- .../library/src/hooks/index.ts | 19 +++++++++----- .../utilities/ImperativeScrolling/index.ts | 10 ++++--- .../src/utilities/VirtualizerContext/index.ts | 8 ++++-- .../library/src/utilities/index.ts | 10 +++++-- 121 files changed, 1075 insertions(+), 308 deletions(-) create mode 100644 change/@fluentui-react-button-cdab055e-9e74-4594-aafd-73566539af03.json create mode 100644 change/@fluentui-react-carousel-8b1310b9-dfe7-479e-9786-5ddde5732c93.json create mode 100644 change/@fluentui-react-migration-v0-v9-57be4cfa-c216-4c45-b33b-68d0a0b60ad6.json create mode 100644 change/@fluentui-react-nav-preview-202a0647-ecd3-4f94-a362-35eefbe9ae53.json create mode 100644 change/@fluentui-react-radio-b23e58f1-e6c5-4ac4-963e-63d248181363.json create mode 100644 change/@fluentui-react-teaching-popover-9ed5ff29-ec65-4d90-84c5-e9abdf034b46.json create mode 100644 change/@fluentui-react-virtualizer-9dd1cff8-e778-499b-a0c7-489feb87bca8.json diff --git a/change/@fluentui-react-button-cdab055e-9e74-4594-aafd-73566539af03.json b/change/@fluentui-react-button-cdab055e-9e74-4594-aafd-73566539af03.json new file mode 100644 index 00000000000000..186dae7dd824be --- /dev/null +++ b/change/@fluentui-react-button-cdab055e-9e74-4594-aafd-73566539af03.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\"", + "packageName": "@fluentui/react-button", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-carousel-8b1310b9-dfe7-479e-9786-5ddde5732c93.json b/change/@fluentui-react-carousel-8b1310b9-dfe7-479e-9786-5ddde5732c93.json new file mode 100644 index 00000000000000..3d5671a6ce419d --- /dev/null +++ b/change/@fluentui-react-carousel-8b1310b9-dfe7-479e-9786-5ddde5732c93.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\"", + "packageName": "@fluentui/react-carousel", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-migration-v0-v9-57be4cfa-c216-4c45-b33b-68d0a0b60ad6.json b/change/@fluentui-react-migration-v0-v9-57be4cfa-c216-4c45-b33b-68d0a0b60ad6.json new file mode 100644 index 00000000000000..515d9734e6ab9d --- /dev/null +++ b/change/@fluentui-react-migration-v0-v9-57be4cfa-c216-4c45-b33b-68d0a0b60ad6.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\"", + "packageName": "@fluentui/react-migration-v0-v9", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-nav-preview-202a0647-ecd3-4f94-a362-35eefbe9ae53.json b/change/@fluentui-react-nav-preview-202a0647-ecd3-4f94-a362-35eefbe9ae53.json new file mode 100644 index 00000000000000..121fd9ae4e3d8b --- /dev/null +++ b/change/@fluentui-react-nav-preview-202a0647-ecd3-4f94-a362-35eefbe9ae53.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\"", + "packageName": "@fluentui/react-nav-preview", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-radio-b23e58f1-e6c5-4ac4-963e-63d248181363.json b/change/@fluentui-react-radio-b23e58f1-e6c5-4ac4-963e-63d248181363.json new file mode 100644 index 00000000000000..d4345a163a954d --- /dev/null +++ b/change/@fluentui-react-radio-b23e58f1-e6c5-4ac4-963e-63d248181363.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\"", + "packageName": "@fluentui/react-radio", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-teaching-popover-9ed5ff29-ec65-4d90-84c5-e9abdf034b46.json b/change/@fluentui-react-teaching-popover-9ed5ff29-ec65-4d90-84c5-e9abdf034b46.json new file mode 100644 index 00000000000000..646bf6ac5044ec --- /dev/null +++ b/change/@fluentui-react-teaching-popover-9ed5ff29-ec65-4d90-84c5-e9abdf034b46.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\"", + "packageName": "@fluentui/react-teaching-popover", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-virtualizer-9dd1cff8-e778-499b-a0c7-489feb87bca8.json b/change/@fluentui-react-virtualizer-9dd1cff8-e778-499b-a0c7-489feb87bca8.json new file mode 100644 index 00000000000000..740676134d2403 --- /dev/null +++ b/change/@fluentui-react-virtualizer-9dd1cff8-e778-499b-a0c7-489feb87bca8.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "chore: remove usage of \"export *\"", + "packageName": "@fluentui/react-virtualizer", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-button/library/src/Button.tsx b/packages/react-components/react-button/library/src/Button.tsx index a26b1440791325..ce711cd84c1d25 100644 --- a/packages/react-components/react-button/library/src/Button.tsx +++ b/packages/react-components/react-button/library/src/Button.tsx @@ -1 +1,8 @@ -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..bcaaab10d42d2a 100644 --- a/packages/react-components/react-button/library/src/CompoundButton.ts +++ b/packages/react-components/react-button/library/src/CompoundButton.ts @@ -1 +1,8 @@ -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..785ec93d696673 100644 --- a/packages/react-components/react-button/library/src/MenuButton.ts +++ b/packages/react-components/react-button/library/src/MenuButton.ts @@ -1 +1,8 @@ -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..4b3dc83adc8d5b 100644 --- a/packages/react-components/react-button/library/src/SplitButton.ts +++ b/packages/react-components/react-button/library/src/SplitButton.ts @@ -1 +1,8 @@ -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..21846587fad4ee 100644 --- a/packages/react-components/react-button/library/src/ToggleButton.ts +++ b/packages/react-components/react-button/library/src/ToggleButton.ts @@ -1 +1,8 @@ -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..f1005db6a3980a 100644 --- a/packages/react-components/react-carousel/library/src/Carousel.ts +++ b/packages/react-components/react-carousel/library/src/Carousel.ts @@ -1 +1,17 @@ -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..fa0fa0ba458a12 100644 --- a/packages/react-components/react-carousel/library/src/CarouselAutoplayButton.ts +++ b/packages/react-components/react-carousel/library/src/CarouselAutoplayButton.ts @@ -1 +1,14 @@ -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..c29b89aadc3e84 100644 --- a/packages/react-components/react-carousel/library/src/CarouselButton.ts +++ b/packages/react-components/react-carousel/library/src/CarouselButton.ts @@ -1 +1,8 @@ -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..2c9c8530b243ce 100644 --- a/packages/react-components/react-carousel/library/src/CarouselCard.ts +++ b/packages/react-components/react-carousel/library/src/CarouselCard.ts @@ -1 +1,8 @@ -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..36555684377f73 100644 --- a/packages/react-components/react-carousel/library/src/CarouselContext.ts +++ b/packages/react-components/react-carousel/library/src/CarouselContext.ts @@ -1,2 +1,10 @@ -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..d3cbd1c0c90d99 100644 --- a/packages/react-components/react-carousel/library/src/CarouselNav.ts +++ b/packages/react-components/react-carousel/library/src/CarouselNav.ts @@ -1 +1,14 @@ -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..21a8fa1c905b79 100644 --- a/packages/react-components/react-carousel/library/src/CarouselNavButton.ts +++ b/packages/react-components/react-carousel/library/src/CarouselNavButton.ts @@ -1 +1,12 @@ -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..760338c73194bf 100644 --- a/packages/react-components/react-carousel/library/src/CarouselNavContainer.ts +++ b/packages/react-components/react-carousel/library/src/CarouselNavContainer.ts @@ -1 +1,12 @@ -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..046b480f961d1f 100644 --- a/packages/react-components/react-carousel/library/src/CarouselNavImageButton.ts +++ b/packages/react-components/react-carousel/library/src/CarouselNavImageButton.ts @@ -1 +1,12 @@ -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..829d0c0fd07cf8 100644 --- a/packages/react-components/react-carousel/library/src/CarouselSlider.ts +++ b/packages/react-components/react-carousel/library/src/CarouselSlider.ts @@ -1 +1,13 @@ -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..4ff5fda10fd240 100644 --- a/packages/react-components/react-carousel/library/src/CarouselViewport.ts +++ b/packages/react-components/react-carousel/library/src/CarouselViewport.ts @@ -1 +1,12 @@ -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..56347a4734d57a 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,14 @@ -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..173f2e343ff64d 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,14 @@ -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..65d30987547c40 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,11 @@ -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..70c01028eb1adc 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,12 @@ -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..9f9195e90d92d2 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,12 @@ -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..6d56c872cf430d 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,10 @@ -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..4691fcae74692f 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,13 +1,17 @@ -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'; 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..70ca971f445a56 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,9 @@ -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..41829aa0de93d8 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,8 @@ -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..ca3d22023cb3fb 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,7 @@ -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..f5f3bad6d018fc 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,22 @@ -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..4626d02e06a168 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,7 @@ -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..c310a04f83a52e 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,8 @@ -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..73a3691ab1270f 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,7 @@ -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..58b4644b6fa7de 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,11 @@ -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..760c7b1020e24f 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,11 @@ -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..997d9a5a90440e 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,8 @@ -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..d13a90257bcbee 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,12 @@ -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..e6f15ab6ad033e 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,8 @@ -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..24738fe28ff97e 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,12 @@ -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..ef1e3b5c18f225 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,8 @@ -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..6c8058f58b7587 100644 --- a/packages/react-components/react-radio/library/src/Radio.ts +++ b/packages/react-components/react-radio/library/src/Radio.ts @@ -1 +1,8 @@ -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..cea0b8aaf4d400 100644 --- a/packages/react-components/react-radio/library/src/RadioGroup.ts +++ b/packages/react-components/react-radio/library/src/RadioGroup.ts @@ -1 +1,15 @@ -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..65a7dac46466d7 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,12 @@ -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..54f7374332d554 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,8 @@ -export * from './RadioGroupContext'; -export * from './useRadioGroupContextValues'; +export { + RadioGroupContext, + RadioGroupProvider, + useRadioGroupContextValue_unstable, + // eslint-disable-next-line deprecation/deprecation + 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..c5e4845d52e4b7 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,6 @@ -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..8e7dec561418b4 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,13 @@ -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..3651246c0ae821 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,14 @@ -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..2df4c7e4711884 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,12 @@ -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..3feccd260fbfde 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,14 @@ -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..695e344b7171fa 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,12 @@ -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..da88122e6bfe50 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,13 @@ -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..fed7545875ce6f 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,12 @@ -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..08d4490ba4d659 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,13 @@ -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..5dce11ae69a7f6 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,12 @@ -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..e763298facd5db 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,12 @@ -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..0ea61920ca5cc3 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,12 @@ -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..0de099b6997ded 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,12 @@ -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..e6d7bc5c35c8b9 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,10 @@ -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..9fbe6f975ec437 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,13 @@ -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..543911f2e82fe7 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,14 @@ -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..ce3b9dda4918c0 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,12 @@ -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..a34218a668e492 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,14 @@ -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..60cf838c88d785 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,12 @@ -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..1ac35970bb8031 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,13 @@ -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..dda6de592a60c5 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,12 @@ -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..a76c51cc5cc6ef 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,13 @@ -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..64f388bc50fc37 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,12 @@ -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..de483703bdc5cb 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,12 @@ -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..8a78ff7b19ba2a 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,12 @@ -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..67159916ea1fa1 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,12 @@ -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..b434a9459cac3a 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,8 @@ -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/src/Hooks.ts b/packages/react-components/react-virtualizer/library/src/Hooks.ts index 429b7dfe4e808e..66843929c72e8b 100644 --- a/packages/react-components/react-virtualizer/library/src/Hooks.ts +++ b/packages/react-components/react-virtualizer/library/src/Hooks.ts @@ -1 +1,17 @@ -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..869d0f30c543e5 100644 --- a/packages/react-components/react-virtualizer/library/src/Utilities.ts +++ b/packages/react-components/react-virtualizer/library/src/Utilities.ts @@ -1 +1,14 @@ -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..88b1c91db8e71d 100644 --- a/packages/react-components/react-virtualizer/library/src/Virtualizer.ts +++ b/packages/react-components/react-virtualizer/library/src/Virtualizer.ts @@ -1 +1,17 @@ -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..637c28ce8d450b 100644 --- a/packages/react-components/react-virtualizer/library/src/VirtualizerScrollView.ts +++ b/packages/react-components/react-virtualizer/library/src/VirtualizerScrollView.ts @@ -1 +1,12 @@ -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..2b72c0c097ca2f 100644 --- a/packages/react-components/react-virtualizer/library/src/VirtualizerScrollViewDynamic.ts +++ b/packages/react-components/react-virtualizer/library/src/VirtualizerScrollViewDynamic.ts @@ -1 +1,12 @@ -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..2c31666d3c8c85 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,13 @@ -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..642f1db8f2afa2 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,12 @@ -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..a34087eee8c3ca 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,12 @@ -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..e81f652686c578 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,13 @@ -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/utilities/ImperativeScrolling/index.ts b/packages/react-components/react-virtualizer/library/src/utilities/ImperativeScrolling/index.ts index a9c61a1ea2e47b..67f161d8895ca8 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,7 @@ -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..ab9f63db3b44e8 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,6 @@ -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..26a8df742ea854 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,8 @@ -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'; From ed3876a731c1528835c658486a0f2e7d4dc9f445 Mon Sep 17 00:00:00 2001 From: Bernardo Sunderhus Date: Fri, 13 Dec 2024 20:29:48 +0100 Subject: [PATCH 2/3] bugfix(tokens): ensure teams tokens follow teams overrides for fonts (#33393) --- ...uentui-tokens-a1396b99-e2b7-4ab3-8c89-7d58c5b4ba8b.json | 7 +++++++ packages/tokens/src/alias/teamsFontFamilies.ts | 7 +++++++ packages/tokens/src/themes/teams/darkTheme.ts | 6 +++++- packages/tokens/src/themes/teams/highContrastTheme.ts | 6 +++++- packages/tokens/src/themes/teams/lightTheme.ts | 6 +++++- 5 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 change/@fluentui-tokens-a1396b99-e2b7-4ab3-8c89-7d58c5b4ba8b.json create mode 100644 packages/tokens/src/alias/teamsFontFamilies.ts diff --git a/change/@fluentui-tokens-a1396b99-e2b7-4ab3-8c89-7d58c5b4ba8b.json b/change/@fluentui-tokens-a1396b99-e2b7-4ab3-8c89-7d58c5b4ba8b.json new file mode 100644 index 00000000000000..711a5f8f008d51 --- /dev/null +++ b/change/@fluentui-tokens-a1396b99-e2b7-4ab3-8c89-7d58c5b4ba8b.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "bugfix: ensure teams tokens follow teams overrides for fonts", + "packageName": "@fluentui/tokens", + "email": "bernardo.sunderhus@gmail.com", + "dependentChangeType": "patch" +} diff --git a/packages/tokens/src/alias/teamsFontFamilies.ts b/packages/tokens/src/alias/teamsFontFamilies.ts new file mode 100644 index 00000000000000..c16c8645b73415 --- /dev/null +++ b/packages/tokens/src/alias/teamsFontFamilies.ts @@ -0,0 +1,7 @@ +import { fontFamilies as globalFontFamilies } from '../global/fonts'; + +export const fontFamilies = { + ...globalFontFamilies, + fontFamilyBase: + '-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif', +}; diff --git a/packages/tokens/src/themes/teams/darkTheme.ts b/packages/tokens/src/themes/teams/darkTheme.ts index abe33d8bb47da7..efca77d2def78c 100644 --- a/packages/tokens/src/themes/teams/darkTheme.ts +++ b/packages/tokens/src/themes/teams/darkTheme.ts @@ -1,5 +1,9 @@ import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme'; import { brandTeams } from '../../global/brandColors'; import type { Theme } from '../../types'; +import { fontFamilies } from '../../alias/teamsFontFamilies'; -export const teamsDarkTheme: Theme = createTeamsDarkTheme(brandTeams); +export const teamsDarkTheme: Theme = { + ...createTeamsDarkTheme(brandTeams), + ...fontFamilies, +}; diff --git a/packages/tokens/src/themes/teams/highContrastTheme.ts b/packages/tokens/src/themes/teams/highContrastTheme.ts index 4e1ba9875e0754..a22cb1480c2e15 100644 --- a/packages/tokens/src/themes/teams/highContrastTheme.ts +++ b/packages/tokens/src/themes/teams/highContrastTheme.ts @@ -1,4 +1,8 @@ import { createHighContrastTheme } from '../../utils/createHighContrastTheme'; import type { Theme } from '../../types'; +import { fontFamilies } from '../../alias/teamsFontFamilies'; -export const teamsHighContrastTheme: Theme = createHighContrastTheme(); +export const teamsHighContrastTheme: Theme = { + ...createHighContrastTheme(), + ...fontFamilies, +}; diff --git a/packages/tokens/src/themes/teams/lightTheme.ts b/packages/tokens/src/themes/teams/lightTheme.ts index e40bc4ce3bcd3e..3a0ffcec53886a 100644 --- a/packages/tokens/src/themes/teams/lightTheme.ts +++ b/packages/tokens/src/themes/teams/lightTheme.ts @@ -1,5 +1,9 @@ import { createLightTheme } from '../../utils/createLightTheme'; import { brandTeams } from '../../global/brandColors'; import type { Theme } from '../../types'; +import { fontFamilies } from '../../alias/teamsFontFamilies'; -export const teamsLightTheme: Theme = createLightTheme(brandTeams); +export const teamsLightTheme: Theme = { + ...createLightTheme(brandTeams), + ...fontFamilies, +}; From b5d571f692b983b6eb39a2dc43a8b95016a32a4c Mon Sep 17 00:00:00 2001 From: Anush Gupta <74965306+Anush2303@users.noreply.github.com> Date: Sat, 14 Dec 2024 06:32:39 +0530 Subject: [PATCH 3/3] Enable chart selection based on legends in declarative charts (#33460) --- ...eact-charting-48ec930a-4a1f-4ee2-bd2d-bdaf4b06fbb0.json | 7 +++++++ .../src/components/AreaChart/AreaChart.base.tsx | 2 +- .../src/components/DonutChart/DonutChart.base.tsx | 2 +- .../src/components/GaugeChart/GaugeChart.base.tsx | 2 +- .../GroupedVerticalBarChart.base.tsx | 2 +- .../src/components/HeatMapChart/HeatMapChart.base.tsx | 2 +- .../HorizontalBarChartWithAxis.base.tsx | 2 +- .../src/components/LineChart/LineChart.base.tsx | 6 +++--- .../components/VerticalBarChart/VerticalBarChart.base.tsx | 2 +- .../VerticalStackedBarChart.base.tsx | 2 +- 10 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 change/@fluentui-react-charting-48ec930a-4a1f-4ee2-bd2d-bdaf4b06fbb0.json diff --git a/change/@fluentui-react-charting-48ec930a-4a1f-4ee2-bd2d-bdaf4b06fbb0.json b/change/@fluentui-react-charting-48ec930a-4a1f-4ee2-bd2d-bdaf4b06fbb0.json new file mode 100644 index 00000000000000..4f0a25871f99e6 --- /dev/null +++ b/change/@fluentui-react-charting-48ec930a-4a1f-4ee2-bd2d-bdaf4b06fbb0.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Enable chart selection based on legends in declarative charts", + "packageName": "@fluentui/react-charting", + "email": "74965306+Anush2303@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/packages/charts/react-charting/src/components/AreaChart/AreaChart.base.tsx b/packages/charts/react-charting/src/components/AreaChart/AreaChart.base.tsx index fef7e6965c59d7..686fe0babe863b 100644 --- a/packages/charts/react-charting/src/components/AreaChart/AreaChart.base.tsx +++ b/packages/charts/react-charting/src/components/AreaChart/AreaChart.base.tsx @@ -124,7 +124,7 @@ export class AreaChartBase extends React.Component this._createNewDataSet(data, xDate, xNum, yDate, yNum), ); this.state = { - selectedLegend: '', + selectedLegend: props.legendProps?.selectedLegend ?? '', activeLegend: '', isCalloutVisible: false, target: null, diff --git a/packages/charts/react-charting/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.tsx b/packages/charts/react-charting/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.tsx index 8e5562ebe55bbf..10246111177c29 100644 --- a/packages/charts/react-charting/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.tsx +++ b/packages/charts/react-charting/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.tsx @@ -87,7 +87,7 @@ export class HorizontalBarChartWithAxisBase extends React.Component< isLegendSelected: false, isLegendHovered: false, refSelected: null, - selectedLegendTitle: '', + selectedLegendTitle: props.legendProps?.selectedLegend ?? '', xCalloutValue: '', yCalloutValue: '', activeXdataPoint: null, diff --git a/packages/charts/react-charting/src/components/LineChart/LineChart.base.tsx b/packages/charts/react-charting/src/components/LineChart/LineChart.base.tsx index 846ce2c3764ac6..0e55be45edac90 100644 --- a/packages/charts/react-charting/src/components/LineChart/LineChart.base.tsx +++ b/packages/charts/react-charting/src/components/LineChart/LineChart.base.tsx @@ -186,7 +186,7 @@ export class LineChartBase extends React.Component `translate(${this._xAxisScale(pointToHighlight.x)}, ${this._yAxisScale(pointToHighlight.y)})`, ) .attr('visibility', 'visibility') - .attr('y2', `${lineHeight - 5 - this._yAxisScale(pointToHighlight.y)}`); + .attr('y2', `${lineHeight - this._yAxisScale(pointToHighlight.y)}`); this.setState({ nearestCircleToHighlight: pointToHighlight, @@ -1278,7 +1278,7 @@ export class LineChartBase extends React.Component `translate(${_this._xAxisScale(x)}, ${_this._yAxisScale(y)})`) .attr('visibility', 'visibility') - .attr('y2', `${lineHeight - 5 - _this._yAxisScale(y)}`); + .attr('y2', `${lineHeight - _this._yAxisScale(y)}`); if (this._uniqueCallOutID !== circleId) { this._uniqueCallOutID = circleId; this.setState({ diff --git a/packages/charts/react-charting/src/components/VerticalBarChart/VerticalBarChart.base.tsx b/packages/charts/react-charting/src/components/VerticalBarChart/VerticalBarChart.base.tsx index 8a0c7585df3416..9e793a25b87c60 100644 --- a/packages/charts/react-charting/src/components/VerticalBarChart/VerticalBarChart.base.tsx +++ b/packages/charts/react-charting/src/components/VerticalBarChart/VerticalBarChart.base.tsx @@ -110,7 +110,7 @@ export class VerticalBarChartBase extends React.Component