From 838131498846abb2a5a8e655694899af0063771b Mon Sep 17 00:00:00 2001 From: Oleksandr Fediashov Date: Mon, 2 Dec 2024 12:37:08 +0100 Subject: [PATCH] chore: remove usage of "export *" [part 1] --- ...-73479874-2670-482b-9326-9897d113debb.json | 7 ++++ ...-b1334a04-be27-4f56-a9ba-6ec2c371a9ab.json | 7 ++++ ...-cd8a5e74-5bb6-44ae-a8ec-7d4192fec937.json | 7 ++++ ...-bc779f6d-09d9-4bc6-b6b7-686f013374d7.json | 7 ++++ ...-c60984c7-1edb-4322-9919-fb8c95ad8f1a.json | 7 ++++ ...-0eac9277-89b5-4ad4-9890-b8bf2e9e870a.json | 7 ++++ ...-d54cd4e7-e286-486c-8bdc-d82798d48c61.json | 7 ++++ ...-fe2f4bea-74a5-4cd3-b37a-1d99d5c6a9ce.json | 7 ++++ ...-0f2a17a3-af5f-4bff-8c2c-0e1fdc9f87f6.json | 7 ++++ ...-8d495511-c6bc-4fcf-8ee3-93602e96388f.json | 7 ++++ ...-8739b0fa-d04b-43d8-9264-e33524876b92.json | 7 ++++ ...-02f72293-f876-4d49-8af1-6a962b1ba369.json | 7 ++++ ...-c80361db-c9a0-47b4-a899-c9f3656d87c4.json | 7 ++++ ...-7c4258ee-7a55-4406-93ce-c002158e6bd7.json | 7 ++++ ...-bdc9168d-8213-4a2f-a7e7-be9a58c444f3.json | 7 ++++ ...-62406b36-0341-405b-8a5b-33aca79297f8.json | 7 ++++ ...-045bd0b6-4e36-423c-a478-403c224539e2.json | 7 ++++ ...-5c13f204-9564-4b81-adcc-199b9f257d14.json | 7 ++++ ...-3f1fcdcf-362b-450d-ab74-d3534069d3b6.json | 7 ++++ ...-00438cff-da05-4281-a599-19b6c3600977.json | 7 ++++ .../react-dialog/library/src/Dialog.ts | 3 +- .../react-dialog/library/src/DialogActions.ts | 3 +- .../react-dialog/library/src/DialogBody.ts | 3 +- .../react-dialog/library/src/DialogContent.ts | 3 +- .../react-dialog/library/src/DialogSurface.ts | 3 +- .../react-dialog/library/src/DialogTitle.ts | 3 +- .../react-dialog/library/src/DialogTrigger.ts | 3 +- .../library/src/components/Dialog/index.ts | 10 ++--- .../src/components/DialogActions/index.ts | 10 ++--- .../src/components/DialogBody/index.ts | 10 ++--- .../src/components/DialogContent/index.ts | 10 ++--- .../src/components/DialogSurface/index.ts | 12 +++--- .../src/components/DialogTitle/index.ts | 10 ++--- .../src/components/DialogTrigger/index.ts | 8 ++-- .../library/src/contexts/index.ts | 8 ++-- .../react-dialog/library/src/utils/index.ts | 4 +- .../react-list-preview/library/src/List.ts | 3 +- .../library/src/ListItem.ts | 3 +- .../library/src/components/List/index.ts | 10 ++--- .../library/src/components/ListItem/index.ts | 10 ++--- .../ListItem/useListItemStyles.styles.ts | 2 +- .../library/src/hooks/index.ts | 2 +- .../react-menu/library/src/Menu.ts | 3 +- .../react-menu/library/src/MenuDivider.ts | 3 +- .../react-menu/library/src/MenuGroup.ts | 3 +- .../react-menu/library/src/MenuGroupHeader.ts | 3 +- .../react-menu/library/src/MenuItem.ts | 3 +- .../library/src/MenuItemCheckbox.ts | 3 +- .../react-menu/library/src/MenuItemLink.ts | 3 +- .../react-menu/library/src/MenuItemRadio.ts | 3 +- .../react-menu/library/src/MenuItemSwitch.ts | 3 +- .../react-menu/library/src/MenuList.ts | 3 +- .../react-menu/library/src/MenuPopover.ts | 3 +- .../react-menu/library/src/MenuSplitGroup.ts | 3 +- .../react-menu/library/src/MenuTrigger.ts | 3 +- .../library/src/components/Menu/index.ts | 10 ++--- .../src/components/MenuDivider/index.ts | 10 ++--- .../library/src/components/MenuGroup/index.ts | 12 +++--- .../src/components/MenuGroupHeader/index.ts | 10 ++--- .../library/src/components/MenuItem/index.ts | 10 ++--- .../src/components/MenuItemCheckbox/index.ts | 10 ++--- .../src/components/MenuItemLink/index.ts | 10 ++--- .../src/components/MenuItemRadio/index.ts | 10 ++--- .../src/components/MenuItemSwitch/index.ts | 10 ++--- .../library/src/components/MenuList/index.ts | 12 +++--- .../src/components/MenuPopover/index.ts | 10 ++--- .../src/components/MenuSplitGroup/index.ts | 10 ++--- .../src/components/MenuTrigger/index.ts | 8 ++-- .../library/src/components/index.ts | 6 ++- .../library/src/selectable/index.ts | 4 +- .../react-menu/library/src/utils/index.ts | 2 +- .../library/src/MessageBar.ts | 3 +- .../library/src/MessageBarActions.ts | 3 +- .../library/src/MessageBarBody.ts | 3 +- .../library/src/MessageBarGroup.ts | 3 +- .../library/src/MessageBarTitle.ts | 3 +- .../src/components/MessageBar/index.ts | 12 +++--- .../MessageBar/useMessageBarReflow.ts | 2 +- .../src/components/MessageBarActions/index.ts | 12 +++--- .../src/components/MessageBarBody/index.ts | 10 ++--- .../src/components/MessageBarGroup/index.ts | 10 ++--- .../src/components/MessageBarTitle/index.ts | 10 ++--- .../library/src/contexts/index.ts | 6 ++- .../library/src/components/Collapse/index.ts | 2 +- .../library/src/components/Fade/index.ts | 2 +- .../library/src/components/Scale/index.ts | 2 +- .../src/Motion/CustomMotion.stories.tsx | 2 +- .../react-popover/library/src/Popover.ts | 3 +- .../library/src/PopoverSurface.ts | 3 +- .../library/src/PopoverTrigger.ts | 3 +- .../library/src/components/Popover/index.ts | 8 ++-- .../src/components/PopoverSurface/index.ts | 10 ++--- .../src/components/PopoverTrigger/index.ts | 8 ++-- .../react-portal/library/src/Portal.ts | 3 +- .../library/src/components/Portal/index.ts | 8 ++-- .../react-positioning/src/middleware/index.ts | 17 +++++---- .../react-positioning/src/utils/index.ts | 33 +++++++++-------- .../library/src/FluentProvider.ts | 3 +- .../src/components/FluentProvider/index.ts | 14 +++---- .../library/src/AnnounceContext/index.ts | 3 +- .../src/BackgroundAppearanceContext/index.ts | 3 +- .../library/src/CustomStyleHooksContext.ts | 3 +- .../src/CustomStyleHooksContext/index.ts | 3 +- .../library/src/OverridesContext/index.ts | 3 +- .../library/src/ProviderContext.ts | 3 +- .../library/src/ProviderContext/index.ts | 3 +- .../library/src/ThemeClassNameContext.ts | 3 +- .../src/ThemeClassNameContext/index.ts | 3 +- .../library/src/ThemeContext.ts | 3 +- .../library/src/ThemeContext/index.ts | 3 +- .../library/src/TooltipVisibilityContext.ts | 3 +- .../src/TooltipVisibilityContext/index.ts | 3 +- .../react-table/library/src/DataGrid.ts | 3 +- .../react-table/library/src/DataGridBody.ts | 3 +- .../react-table/library/src/DataGridCell.ts | 3 +- .../react-table/library/src/DataGridHeader.ts | 3 +- .../library/src/DataGridHeaderCell.ts | 3 +- .../react-table/library/src/DataGridRow.ts | 3 +- .../library/src/DataGridSelectionCell.ts | 3 +- .../react-table/library/src/Table.ts | 3 +- .../react-table/library/src/TableBody.ts | 3 +- .../react-table/library/src/TableCell.ts | 3 +- .../library/src/TableCellActions.ts | 3 +- .../library/src/TableCellLayout.ts | 3 +- .../library/src/TableCellPrimaryLayout.ts | 3 +- .../react-table/library/src/TableHeader.ts | 3 +- .../library/src/TableHeaderCell.ts | 3 +- .../library/src/TableResizeHandle.ts | 3 +- .../react-table/library/src/TableRow.ts | 3 +- .../library/src/TableSelectionCell.ts | 3 +- .../library/src/components/DataGrid/index.ts | 12 +++--- .../src/components/DataGridBody/index.ts | 10 ++--- .../src/components/DataGridCell/index.ts | 10 ++--- .../src/components/DataGridHeader/index.ts | 10 ++--- .../components/DataGridHeaderCell/index.ts | 10 ++--- .../src/components/DataGridRow/index.ts | 10 ++--- .../components/DataGridSelectionCell/index.ts | 10 ++--- .../library/src/components/Table/index.ts | 10 ++--- .../library/src/components/TableBody/index.ts | 10 ++--- .../library/src/components/TableCell/index.ts | 10 ++--- .../src/components/TableCellActions/index.ts | 10 ++--- .../src/components/TableCellLayout/index.ts | 10 ++--- .../src/components/TableHeader/index.ts | 10 ++--- .../src/components/TableHeaderCell/index.ts | 10 ++--- .../src/components/TableResizeHandle/index.ts | 10 ++--- .../library/src/components/TableRow/index.ts | 10 ++--- .../components/TableSelectionCell/index.ts | 10 ++--- .../react-table/library/src/hooks/index.ts | 14 +++---- .../react-tabster/src/focus/index.ts | 10 +++-- .../react-tabster/src/hooks/index.ts | 37 ++++++++++--------- .../src/tabster-types-6.0.1-do-not-use.ts | 2 +- .../react-tag-picker/library/src/TagPicker.ts | 3 +- .../library/src/TagPickerButton.ts | 3 +- .../library/src/TagPickerControl.ts | 3 +- .../library/src/TagPickerGroup.ts | 3 +- .../library/src/TagPickerInput.ts | 3 +- .../library/src/TagPickerList.ts | 3 +- .../library/src/TagPickerOption.ts | 3 +- .../library/src/TagPickerOptionGroup.ts | 3 +- .../library/src/components/TagPicker/index.ts | 8 ++-- .../src/components/TagPickerButton/index.ts | 10 ++--- .../src/components/TagPickerControl/index.ts | 10 ++--- .../src/components/TagPickerGroup/index.ts | 10 ++--- .../src/components/TagPickerInput/index.ts | 10 ++--- .../src/components/TagPickerList/index.ts | 10 ++--- .../src/components/TagPickerOption/index.ts | 10 ++--- .../components/TagPickerOptionGroup/index.ts | 10 ++--- .../react-tags/library/src/InteractionTag.ts | 3 +- .../library/src/InteractionTagPrimary.ts | 3 +- .../library/src/InteractionTagSecondary.ts | 3 +- .../react-tags/library/src/Tag.ts | 3 +- .../react-tags/library/src/TagGroup.ts | 3 +- .../src/components/InteractionTag/index.ts | 12 +++--- .../components/InteractionTagPrimary/index.ts | 10 ++--- .../InteractionTagSecondary/index.ts | 10 ++--- .../library/src/components/Tag/index.ts | 10 ++--- .../library/src/components/TagGroup/index.ts | 12 +++--- .../react-tags/library/src/utils/index.ts | 5 ++- .../library/src/TimePicker.ts | 3 +- .../src/components/TimePicker/index.ts | 8 ++-- .../react-toast/library/src/AriaLive.ts | 3 +- .../react-toast/library/src/Toast.ts | 3 +- .../react-toast/library/src/ToastBody.ts | 3 +- .../react-toast/library/src/ToastContainer.ts | 3 +- .../react-toast/library/src/ToastFooter.ts | 3 +- .../react-toast/library/src/ToastTitle.ts | 3 +- .../react-toast/library/src/ToastTrigger.ts | 3 +- .../react-toast/library/src/Toaster.ts | 3 +- .../library/src/components/AriaLive/index.ts | 10 ++--- .../library/src/components/Timer/index.ts | 3 +- .../library/src/components/Toast/index.ts | 10 ++--- .../library/src/components/ToastBody/index.ts | 10 ++--- .../src/components/ToastContainer/index.ts | 12 +++--- .../src/components/ToastFooter/index.ts | 10 ++--- .../src/components/ToastTitle/index.ts | 10 ++--- .../src/components/ToastTrigger/index.ts | 8 ++-- .../library/src/components/Toaster/index.ts | 10 ++--- .../react-toast/library/src/state/index.ts | 6 +-- .../library/src/state/vanilla/index.ts | 16 ++++---- .../react-toolbar/library/src/Toolbar.ts | 3 +- .../library/src/ToolbarButton.ts | 3 +- .../library/src/ToolbarDivider.ts | 3 +- .../react-toolbar/library/src/ToolbarGroup.ts | 3 +- .../library/src/ToolbarRadioButton.ts | 3 +- .../library/src/ToolbarRadioGroup.ts | 3 +- .../library/src/ToolbarToggleButton.ts | 3 +- .../library/src/components/Toolbar/index.ts | 10 ++--- .../src/components/ToolbarButton/index.ts | 8 ++-- .../src/components/ToolbarDivider/index.ts | 8 ++-- .../src/components/ToolbarGroup/index.ts | 10 ++--- .../components/ToolbarRadioButton/index.ts | 8 ++-- .../src/components/ToolbarRadioGroup/index.ts | 4 +- .../components/ToolbarToggleButton/index.ts | 8 ++-- .../react-tree/library/src/FlatTree.ts | 3 +- .../react-tree/library/src/FlatTreeItem.ts | 3 +- .../react-tree/library/src/Tree.ts | 3 +- .../react-tree/library/src/TreeItem.ts | 3 +- .../react-tree/library/src/TreeItemLayout.ts | 3 +- .../library/src/TreeItemPersonaLayout.ts | 3 +- .../library/src/components/FlatTree/index.ts | 15 ++++---- .../src/components/FlatTreeItem/index.ts | 4 +- .../library/src/components/Tree/index.ts | 12 +++--- .../library/src/components/TreeItem/index.ts | 12 +++--- .../src/components/TreeItemLayout/index.ts | 10 ++--- .../components/TreeItemPersonaLayout/index.ts | 10 ++--- .../react-tree/library/src/contexts/index.ts | 9 +++-- .../src/Tree/TreeManipulation.stories.tsx | 2 +- .../react-utilities/src/compose/index.ts | 20 +++++----- .../react-utilities/src/events/index.ts | 3 +- .../react-utilities/src/hooks/index.ts | 29 ++++++++------- .../react-utilities/src/selection/index.ts | 4 +- .../react-utilities/src/ssr/index.ts | 5 ++- .../react-utilities/src/trigger/index.ts | 8 ++-- .../react-utilities/src/utils/index.ts | 19 +++++----- .../src/virtualParent/index.ts | 6 +-- packages/tokens/src/global/fonts.ts | 2 - packages/tokens/src/global/index.ts | 18 ++++----- packages/tokens/src/themes/index.ts | 4 +- packages/tokens/src/themes/teams/index.ts | 6 +-- packages/tokens/src/themes/web/index.ts | 4 +- packages/tokens/src/utils/index.ts | 8 ++-- 241 files changed, 934 insertions(+), 669 deletions(-) create mode 100644 change/@fluentui-react-dialog-73479874-2670-482b-9326-9897d113debb.json create mode 100644 change/@fluentui-react-list-preview-b1334a04-be27-4f56-a9ba-6ec2c371a9ab.json create mode 100644 change/@fluentui-react-menu-cd8a5e74-5bb6-44ae-a8ec-7d4192fec937.json create mode 100644 change/@fluentui-react-message-bar-bc779f6d-09d9-4bc6-b6b7-686f013374d7.json create mode 100644 change/@fluentui-react-motion-components-preview-c60984c7-1edb-4322-9919-fb8c95ad8f1a.json create mode 100644 change/@fluentui-react-popover-0eac9277-89b5-4ad4-9890-b8bf2e9e870a.json create mode 100644 change/@fluentui-react-portal-d54cd4e7-e286-486c-8bdc-d82798d48c61.json create mode 100644 change/@fluentui-react-positioning-fe2f4bea-74a5-4cd3-b37a-1d99d5c6a9ce.json create mode 100644 change/@fluentui-react-provider-0f2a17a3-af5f-4bff-8c2c-0e1fdc9f87f6.json create mode 100644 change/@fluentui-react-shared-contexts-8d495511-c6bc-4fcf-8ee3-93602e96388f.json create mode 100644 change/@fluentui-react-table-8739b0fa-d04b-43d8-9264-e33524876b92.json create mode 100644 change/@fluentui-react-tabster-02f72293-f876-4d49-8af1-6a962b1ba369.json create mode 100644 change/@fluentui-react-tag-picker-c80361db-c9a0-47b4-a899-c9f3656d87c4.json create mode 100644 change/@fluentui-react-tags-7c4258ee-7a55-4406-93ce-c002158e6bd7.json create mode 100644 change/@fluentui-react-timepicker-compat-bdc9168d-8213-4a2f-a7e7-be9a58c444f3.json create mode 100644 change/@fluentui-react-toast-62406b36-0341-405b-8a5b-33aca79297f8.json create mode 100644 change/@fluentui-react-toolbar-045bd0b6-4e36-423c-a478-403c224539e2.json create mode 100644 change/@fluentui-react-tree-5c13f204-9564-4b81-adcc-199b9f257d14.json create mode 100644 change/@fluentui-react-utilities-3f1fcdcf-362b-450d-ab74-d3534069d3b6.json create mode 100644 change/@fluentui-tokens-00438cff-da05-4281-a599-19b6c3600977.json diff --git a/change/@fluentui-react-dialog-73479874-2670-482b-9326-9897d113debb.json b/change/@fluentui-react-dialog-73479874-2670-482b-9326-9897d113debb.json new file mode 100644 index 00000000000000..74d59e3fe82020 --- /dev/null +++ b/change/@fluentui-react-dialog-73479874-2670-482b-9326-9897d113debb.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-dialog", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-list-preview-b1334a04-be27-4f56-a9ba-6ec2c371a9ab.json b/change/@fluentui-react-list-preview-b1334a04-be27-4f56-a9ba-6ec2c371a9ab.json new file mode 100644 index 00000000000000..4da96748fdfed2 --- /dev/null +++ b/change/@fluentui-react-list-preview-b1334a04-be27-4f56-a9ba-6ec2c371a9ab.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-list-preview", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-menu-cd8a5e74-5bb6-44ae-a8ec-7d4192fec937.json b/change/@fluentui-react-menu-cd8a5e74-5bb6-44ae-a8ec-7d4192fec937.json new file mode 100644 index 00000000000000..f0571baaba3a52 --- /dev/null +++ b/change/@fluentui-react-menu-cd8a5e74-5bb6-44ae-a8ec-7d4192fec937.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-menu", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-message-bar-bc779f6d-09d9-4bc6-b6b7-686f013374d7.json b/change/@fluentui-react-message-bar-bc779f6d-09d9-4bc6-b6b7-686f013374d7.json new file mode 100644 index 00000000000000..02e2a133a30873 --- /dev/null +++ b/change/@fluentui-react-message-bar-bc779f6d-09d9-4bc6-b6b7-686f013374d7.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-message-bar", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-motion-components-preview-c60984c7-1edb-4322-9919-fb8c95ad8f1a.json b/change/@fluentui-react-motion-components-preview-c60984c7-1edb-4322-9919-fb8c95ad8f1a.json new file mode 100644 index 00000000000000..eaaa432cdfb99e --- /dev/null +++ b/change/@fluentui-react-motion-components-preview-c60984c7-1edb-4322-9919-fb8c95ad8f1a.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-motion-components-preview", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-popover-0eac9277-89b5-4ad4-9890-b8bf2e9e870a.json b/change/@fluentui-react-popover-0eac9277-89b5-4ad4-9890-b8bf2e9e870a.json new file mode 100644 index 00000000000000..f2cbfb37e920db --- /dev/null +++ b/change/@fluentui-react-popover-0eac9277-89b5-4ad4-9890-b8bf2e9e870a.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-popover", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-portal-d54cd4e7-e286-486c-8bdc-d82798d48c61.json b/change/@fluentui-react-portal-d54cd4e7-e286-486c-8bdc-d82798d48c61.json new file mode 100644 index 00000000000000..4f84e3a47ac9b4 --- /dev/null +++ b/change/@fluentui-react-portal-d54cd4e7-e286-486c-8bdc-d82798d48c61.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-portal", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-positioning-fe2f4bea-74a5-4cd3-b37a-1d99d5c6a9ce.json b/change/@fluentui-react-positioning-fe2f4bea-74a5-4cd3-b37a-1d99d5c6a9ce.json new file mode 100644 index 00000000000000..974787efb0458f --- /dev/null +++ b/change/@fluentui-react-positioning-fe2f4bea-74a5-4cd3-b37a-1d99d5c6a9ce.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-positioning", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-provider-0f2a17a3-af5f-4bff-8c2c-0e1fdc9f87f6.json b/change/@fluentui-react-provider-0f2a17a3-af5f-4bff-8c2c-0e1fdc9f87f6.json new file mode 100644 index 00000000000000..1cfededae94035 --- /dev/null +++ b/change/@fluentui-react-provider-0f2a17a3-af5f-4bff-8c2c-0e1fdc9f87f6.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-provider", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-shared-contexts-8d495511-c6bc-4fcf-8ee3-93602e96388f.json b/change/@fluentui-react-shared-contexts-8d495511-c6bc-4fcf-8ee3-93602e96388f.json new file mode 100644 index 00000000000000..670c456c1737fd --- /dev/null +++ b/change/@fluentui-react-shared-contexts-8d495511-c6bc-4fcf-8ee3-93602e96388f.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-shared-contexts", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-table-8739b0fa-d04b-43d8-9264-e33524876b92.json b/change/@fluentui-react-table-8739b0fa-d04b-43d8-9264-e33524876b92.json new file mode 100644 index 00000000000000..5a71ec603df6b9 --- /dev/null +++ b/change/@fluentui-react-table-8739b0fa-d04b-43d8-9264-e33524876b92.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-table", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-tabster-02f72293-f876-4d49-8af1-6a962b1ba369.json b/change/@fluentui-react-tabster-02f72293-f876-4d49-8af1-6a962b1ba369.json new file mode 100644 index 00000000000000..43857a07941cdc --- /dev/null +++ b/change/@fluentui-react-tabster-02f72293-f876-4d49-8af1-6a962b1ba369.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-tabster", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-tag-picker-c80361db-c9a0-47b4-a899-c9f3656d87c4.json b/change/@fluentui-react-tag-picker-c80361db-c9a0-47b4-a899-c9f3656d87c4.json new file mode 100644 index 00000000000000..5c7bba37d46741 --- /dev/null +++ b/change/@fluentui-react-tag-picker-c80361db-c9a0-47b4-a899-c9f3656d87c4.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-tag-picker", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-tags-7c4258ee-7a55-4406-93ce-c002158e6bd7.json b/change/@fluentui-react-tags-7c4258ee-7a55-4406-93ce-c002158e6bd7.json new file mode 100644 index 00000000000000..b839f187091622 --- /dev/null +++ b/change/@fluentui-react-tags-7c4258ee-7a55-4406-93ce-c002158e6bd7.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-tags", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-timepicker-compat-bdc9168d-8213-4a2f-a7e7-be9a58c444f3.json b/change/@fluentui-react-timepicker-compat-bdc9168d-8213-4a2f-a7e7-be9a58c444f3.json new file mode 100644 index 00000000000000..dbe7fc009b208d --- /dev/null +++ b/change/@fluentui-react-timepicker-compat-bdc9168d-8213-4a2f-a7e7-be9a58c444f3.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-timepicker-compat", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-toast-62406b36-0341-405b-8a5b-33aca79297f8.json b/change/@fluentui-react-toast-62406b36-0341-405b-8a5b-33aca79297f8.json new file mode 100644 index 00000000000000..b9d4680b0bcd59 --- /dev/null +++ b/change/@fluentui-react-toast-62406b36-0341-405b-8a5b-33aca79297f8.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-toast", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-toolbar-045bd0b6-4e36-423c-a478-403c224539e2.json b/change/@fluentui-react-toolbar-045bd0b6-4e36-423c-a478-403c224539e2.json new file mode 100644 index 00000000000000..a69f2d23a5588e --- /dev/null +++ b/change/@fluentui-react-toolbar-045bd0b6-4e36-423c-a478-403c224539e2.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-toolbar", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-tree-5c13f204-9564-4b81-adcc-199b9f257d14.json b/change/@fluentui-react-tree-5c13f204-9564-4b81-adcc-199b9f257d14.json new file mode 100644 index 00000000000000..380898e51ed6b0 --- /dev/null +++ b/change/@fluentui-react-tree-5c13f204-9564-4b81-adcc-199b9f257d14.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-tree", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-utilities-3f1fcdcf-362b-450d-ab74-d3534069d3b6.json b/change/@fluentui-react-utilities-3f1fcdcf-362b-450d-ab74-d3534069d3b6.json new file mode 100644 index 00000000000000..1d913c0945a763 --- /dev/null +++ b/change/@fluentui-react-utilities-3f1fcdcf-362b-450d-ab74-d3534069d3b6.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/react-utilities", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-tokens-00438cff-da05-4281-a599-19b6c3600977.json b/change/@fluentui-tokens-00438cff-da05-4281-a599-19b6c3600977.json new file mode 100644 index 00000000000000..703e492a76f046 --- /dev/null +++ b/change/@fluentui-tokens-00438cff-da05-4281-a599-19b6c3600977.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "chore: remove usage of \"export *\" [part 1]", + "packageName": "@fluentui/tokens", + "email": "olfedias@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-dialog/library/src/Dialog.ts b/packages/react-components/react-dialog/library/src/Dialog.ts index 7bf75f7fd91ba1..763a4781850f7c 100644 --- a/packages/react-components/react-dialog/library/src/Dialog.ts +++ b/packages/react-components/react-dialog/library/src/Dialog.ts @@ -1 +1,2 @@ -export * from './components/Dialog/index'; +export type { DialogContextValues, DialogModalType, DialogOpenChangeData, DialogOpenChangeEvent, DialogOpenChangeEventHandler, DialogProps, DialogSlots, DialogState, InternalDialogSlots } from './components/Dialog/index'; +export { Dialog, renderDialog_unstable, useDialogContextValues_unstable, useDialog_unstable } from './components/Dialog/index'; diff --git a/packages/react-components/react-dialog/library/src/DialogActions.ts b/packages/react-components/react-dialog/library/src/DialogActions.ts index 1d8ac02365d2d7..c4a35f492b29f9 100644 --- a/packages/react-components/react-dialog/library/src/DialogActions.ts +++ b/packages/react-components/react-dialog/library/src/DialogActions.ts @@ -1 +1,2 @@ -export * from './components/DialogActions/index'; +export type { DialogActionsPosition, DialogActionsProps, DialogActionsSlots, DialogActionsState } from './components/DialogActions/index'; +export { DialogActions, dialogActionsClassNames, renderDialogActions_unstable, useDialogActionsStyles_unstable, useDialogActions_unstable } from './components/DialogActions/index'; diff --git a/packages/react-components/react-dialog/library/src/DialogBody.ts b/packages/react-components/react-dialog/library/src/DialogBody.ts index 9256da141252be..995a31538aac83 100644 --- a/packages/react-components/react-dialog/library/src/DialogBody.ts +++ b/packages/react-components/react-dialog/library/src/DialogBody.ts @@ -1 +1,2 @@ -export * from './components/DialogBody/index'; +export type { DialogBodyProps, DialogBodySlots, DialogBodyState } from './components/DialogBody/index'; +export { DialogBody, dialogBodyClassNames, renderDialogBody_unstable, useDialogBodyStyles_unstable, useDialogBody_unstable } from './components/DialogBody/index'; diff --git a/packages/react-components/react-dialog/library/src/DialogContent.ts b/packages/react-components/react-dialog/library/src/DialogContent.ts index e3c3fa077442b4..bbb84db725835d 100644 --- a/packages/react-components/react-dialog/library/src/DialogContent.ts +++ b/packages/react-components/react-dialog/library/src/DialogContent.ts @@ -1 +1,2 @@ -export * from './components/DialogContent/index'; +export type { DialogContentProps, DialogContentSlots, DialogContentState } from './components/DialogContent/index'; +export { DialogContent, dialogContentClassNames, renderDialogContent_unstable, useDialogContentStyles_unstable, useDialogContent_unstable } from './components/DialogContent/index'; diff --git a/packages/react-components/react-dialog/library/src/DialogSurface.ts b/packages/react-components/react-dialog/library/src/DialogSurface.ts index 5bf660185ea01e..723fe47c1c8c88 100644 --- a/packages/react-components/react-dialog/library/src/DialogSurface.ts +++ b/packages/react-components/react-dialog/library/src/DialogSurface.ts @@ -1 +1,2 @@ -export * from './components/DialogSurface/index'; +export type { DialogSurfaceContextValues, DialogSurfaceElement, DialogSurfaceProps, DialogSurfaceSlots, DialogSurfaceState } from './components/DialogSurface/index'; +export { DialogSurface, dialogSurfaceClassNames, renderDialogSurface_unstable, useDialogSurfaceContextValues_unstable, useDialogSurfaceStyles_unstable, useDialogSurface_unstable } from './components/DialogSurface/index'; diff --git a/packages/react-components/react-dialog/library/src/DialogTitle.ts b/packages/react-components/react-dialog/library/src/DialogTitle.ts index 925cc7018a65f0..cc420fad178f0d 100644 --- a/packages/react-components/react-dialog/library/src/DialogTitle.ts +++ b/packages/react-components/react-dialog/library/src/DialogTitle.ts @@ -1 +1,2 @@ -export * from './components/DialogTitle/index'; +export type { DialogTitleProps, DialogTitleSlots, DialogTitleState } from './components/DialogTitle/index'; +export { DialogTitle, dialogTitleClassNames, renderDialogTitle_unstable, useDialogTitleInternalStyles, useDialogTitleStyles_unstable, useDialogTitle_unstable } from './components/DialogTitle/index'; diff --git a/packages/react-components/react-dialog/library/src/DialogTrigger.ts b/packages/react-components/react-dialog/library/src/DialogTrigger.ts index 593f5f4186cad9..b0ca2be897d94b 100644 --- a/packages/react-components/react-dialog/library/src/DialogTrigger.ts +++ b/packages/react-components/react-dialog/library/src/DialogTrigger.ts @@ -1 +1,2 @@ -export * from './components/DialogTrigger/index'; +export type { DialogTriggerAction, DialogTriggerChildProps, DialogTriggerProps, DialogTriggerState } from './components/DialogTrigger/index'; +export { DialogTrigger, renderDialogTrigger_unstable, useDialogTrigger_unstable } from './components/DialogTrigger/index'; diff --git a/packages/react-components/react-dialog/library/src/components/Dialog/index.ts b/packages/react-components/react-dialog/library/src/components/Dialog/index.ts index b7f6c49afedd6a..4ca05c248b4f3d 100644 --- a/packages/react-components/react-dialog/library/src/components/Dialog/index.ts +++ b/packages/react-components/react-dialog/library/src/components/Dialog/index.ts @@ -1,5 +1,5 @@ -export * from './Dialog'; -export * from './Dialog.types'; -export * from './renderDialog'; -export * from './useDialog'; -export * from './useDialogContextValues'; +export { Dialog } from './Dialog'; +export type { DialogContextValues, DialogModalType, DialogOpenChangeData, DialogOpenChangeEvent, DialogOpenChangeEventHandler, DialogProps, DialogSlots, DialogState, InternalDialogSlots } from './Dialog.types'; +export { renderDialog_unstable } from './renderDialog'; +export { useDialog_unstable } from './useDialog'; +export { useDialogContextValues_unstable } from './useDialogContextValues'; diff --git a/packages/react-components/react-dialog/library/src/components/DialogActions/index.ts b/packages/react-components/react-dialog/library/src/components/DialogActions/index.ts index 0bb1d1cf48bd54..56b92f2fa24a52 100644 --- a/packages/react-components/react-dialog/library/src/components/DialogActions/index.ts +++ b/packages/react-components/react-dialog/library/src/components/DialogActions/index.ts @@ -1,5 +1,5 @@ -export * from './DialogActions'; -export * from './DialogActions.types'; -export * from './renderDialogActions'; -export * from './useDialogActions'; -export * from './useDialogActionsStyles.styles'; +export { DialogActions } from './DialogActions'; +export type { DialogActionsPosition, DialogActionsProps, DialogActionsSlots, DialogActionsState } from './DialogActions.types'; +export { renderDialogActions_unstable } from './renderDialogActions'; +export { useDialogActions_unstable } from './useDialogActions'; +export { dialogActionsClassNames, useDialogActionsStyles_unstable } from './useDialogActionsStyles.styles'; diff --git a/packages/react-components/react-dialog/library/src/components/DialogBody/index.ts b/packages/react-components/react-dialog/library/src/components/DialogBody/index.ts index bd1e90e0a99cb2..4765847d898860 100644 --- a/packages/react-components/react-dialog/library/src/components/DialogBody/index.ts +++ b/packages/react-components/react-dialog/library/src/components/DialogBody/index.ts @@ -1,5 +1,5 @@ -export * from './DialogBody'; -export * from './DialogBody.types'; -export * from './renderDialogBody'; -export * from './useDialogBody'; -export * from './useDialogBodyStyles.styles'; +export { DialogBody } from './DialogBody'; +export type { DialogBodyProps, DialogBodySlots, DialogBodyState } from './DialogBody.types'; +export { renderDialogBody_unstable } from './renderDialogBody'; +export { useDialogBody_unstable } from './useDialogBody'; +export { dialogBodyClassNames, useDialogBodyStyles_unstable } from './useDialogBodyStyles.styles'; diff --git a/packages/react-components/react-dialog/library/src/components/DialogContent/index.ts b/packages/react-components/react-dialog/library/src/components/DialogContent/index.ts index b82b9c3521b398..5cb4352450ac82 100644 --- a/packages/react-components/react-dialog/library/src/components/DialogContent/index.ts +++ b/packages/react-components/react-dialog/library/src/components/DialogContent/index.ts @@ -1,5 +1,5 @@ -export * from './DialogContent'; -export * from './DialogContent.types'; -export * from './renderDialogContent'; -export * from './useDialogContent'; -export * from './useDialogContentStyles.styles'; +export { DialogContent } from './DialogContent'; +export type { DialogContentProps, DialogContentSlots, DialogContentState } from './DialogContent.types'; +export { renderDialogContent_unstable } from './renderDialogContent'; +export { useDialogContent_unstable } from './useDialogContent'; +export { dialogContentClassNames, useDialogContentStyles_unstable } from './useDialogContentStyles.styles'; diff --git a/packages/react-components/react-dialog/library/src/components/DialogSurface/index.ts b/packages/react-components/react-dialog/library/src/components/DialogSurface/index.ts index e9b10abd4ef36d..7cb89014657e5c 100644 --- a/packages/react-components/react-dialog/library/src/components/DialogSurface/index.ts +++ b/packages/react-components/react-dialog/library/src/components/DialogSurface/index.ts @@ -1,6 +1,6 @@ -export * from './DialogSurface'; -export * from './DialogSurface.types'; -export * from './renderDialogSurface'; -export * from './useDialogSurface'; -export * from './useDialogSurfaceStyles.styles'; -export * from './useDialogSurfaceContextValues'; +export { DialogSurface } from './DialogSurface'; +export type { DialogSurfaceContextValues, DialogSurfaceElement, DialogSurfaceProps, DialogSurfaceSlots, DialogSurfaceState } from './DialogSurface.types'; +export { renderDialogSurface_unstable } from './renderDialogSurface'; +export { useDialogSurface_unstable } from './useDialogSurface'; +export { dialogSurfaceClassNames, useDialogSurfaceStyles_unstable } from './useDialogSurfaceStyles.styles'; +export { useDialogSurfaceContextValues_unstable } from './useDialogSurfaceContextValues'; diff --git a/packages/react-components/react-dialog/library/src/components/DialogTitle/index.ts b/packages/react-components/react-dialog/library/src/components/DialogTitle/index.ts index af498e61b1d6ce..832c2edeb557cd 100644 --- a/packages/react-components/react-dialog/library/src/components/DialogTitle/index.ts +++ b/packages/react-components/react-dialog/library/src/components/DialogTitle/index.ts @@ -1,5 +1,5 @@ -export * from './DialogTitle'; -export * from './DialogTitle.types'; -export * from './renderDialogTitle'; -export * from './useDialogTitle'; -export * from './useDialogTitleStyles.styles'; +export { DialogTitle } from './DialogTitle'; +export type { DialogTitleProps, DialogTitleSlots, DialogTitleState } from './DialogTitle.types'; +export { renderDialogTitle_unstable } from './renderDialogTitle'; +export { useDialogTitle_unstable } from './useDialogTitle'; +export { dialogTitleClassNames, useDialogTitleInternalStyles, useDialogTitleStyles_unstable } from './useDialogTitleStyles.styles'; diff --git a/packages/react-components/react-dialog/library/src/components/DialogTrigger/index.ts b/packages/react-components/react-dialog/library/src/components/DialogTrigger/index.ts index cefe8176cb56b8..fb91b2d392b2ff 100644 --- a/packages/react-components/react-dialog/library/src/components/DialogTrigger/index.ts +++ b/packages/react-components/react-dialog/library/src/components/DialogTrigger/index.ts @@ -1,4 +1,4 @@ -export * from './DialogTrigger'; -export * from './DialogTrigger.types'; -export * from './renderDialogTrigger'; -export * from './useDialogTrigger'; +export { DialogTrigger } from './DialogTrigger'; +export type { DialogTriggerAction, DialogTriggerChildProps, DialogTriggerProps, DialogTriggerState } from './DialogTrigger.types'; +export { renderDialogTrigger_unstable } from './renderDialogTrigger'; +export { useDialogTrigger_unstable } from './useDialogTrigger'; diff --git a/packages/react-components/react-dialog/library/src/contexts/index.ts b/packages/react-components/react-dialog/library/src/contexts/index.ts index b19f8fce89ded7..36ac7573d4ce5e 100644 --- a/packages/react-components/react-dialog/library/src/contexts/index.ts +++ b/packages/react-components/react-dialog/library/src/contexts/index.ts @@ -1,3 +1,5 @@ -export * from './constants'; -export * from './dialogContext'; -export * from './dialogSurfaceContext'; +export { DIALOG_GAP, FULLSCREEN_DIALOG_SCROLLBAR_OFFSET, MEDIA_QUERY_BREAKPOINT_SELECTOR, MEDIA_QUERY_SHORT_SCREEN, SURFACE_BORDER_WIDTH, SURFACE_PADDING } from './constants'; +export type { DialogContextValue } from './dialogContext'; +export { DialogContext, DialogProvider, useDialogContext_unstable } from './dialogContext'; +export type { DialogSurfaceContextValue } from './dialogSurfaceContext'; +export { DialogSurfaceContext, DialogSurfaceProvider, useDialogSurfaceContext_unstable } from './dialogSurfaceContext'; diff --git a/packages/react-components/react-dialog/library/src/utils/index.ts b/packages/react-components/react-dialog/library/src/utils/index.ts index c6617dcaef8a00..f764fc9564f8ef 100644 --- a/packages/react-components/react-dialog/library/src/utils/index.ts +++ b/packages/react-components/react-dialog/library/src/utils/index.ts @@ -1,2 +1,2 @@ -export * from './useDisableBodyScroll'; -export * from './useFocusFirstElement'; +export { useDisableBodyScroll } from './useDisableBodyScroll'; +export { useFocusFirstElement } from './useFocusFirstElement'; diff --git a/packages/react-components/react-list-preview/library/src/List.ts b/packages/react-components/react-list-preview/library/src/List.ts index 038abd3e740ea4..7265b02922b2f1 100644 --- a/packages/react-components/react-list-preview/library/src/List.ts +++ b/packages/react-components/react-list-preview/library/src/List.ts @@ -1 +1,2 @@ -export * from './components/List/index'; +export type { ListContextValue, ListContextValues, ListNavigationMode, ListProps, ListSlots, ListState, OnListSelectionChangeData } from './components/List/index'; +export { List, listClassNames, renderList_unstable, useListStyles_unstable, useList_unstable } from './components/List/index'; diff --git a/packages/react-components/react-list-preview/library/src/ListItem.ts b/packages/react-components/react-list-preview/library/src/ListItem.ts index d846474af071ad..c2340b4deba21a 100644 --- a/packages/react-components/react-list-preview/library/src/ListItem.ts +++ b/packages/react-components/react-list-preview/library/src/ListItem.ts @@ -1 +1,2 @@ -export * from './components/ListItem/index'; +export type { ListItemActionEventData, ListItemProps, ListItemSlots, ListItemState, ListItemValue } from './components/ListItem/index'; +export { ListItem, listItemClassNames, renderListItem_unstable, useListItemStyles_unstable, useListItem_unstable } from './components/ListItem/index'; diff --git a/packages/react-components/react-list-preview/library/src/components/List/index.ts b/packages/react-components/react-list-preview/library/src/components/List/index.ts index edd6a0bf1be045..23a4ab2fcb3b0e 100644 --- a/packages/react-components/react-list-preview/library/src/components/List/index.ts +++ b/packages/react-components/react-list-preview/library/src/components/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, ListNavigationMode, ListProps, ListSlots, ListState, OnListSelectionChangeData } from './List.types'; +export { renderList_unstable } from './renderList'; +export { useList_unstable } from './useList'; +export { listClassNames, useListStyles_unstable } from './useListStyles.styles'; diff --git a/packages/react-components/react-list-preview/library/src/components/ListItem/index.ts b/packages/react-components/react-list-preview/library/src/components/ListItem/index.ts index 08dc684b19814a..bbb87ab5fe9cd2 100644 --- a/packages/react-components/react-list-preview/library/src/components/ListItem/index.ts +++ b/packages/react-components/react-list-preview/library/src/components/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 { ListItemActionEventData, ListItemProps, ListItemSlots, ListItemState, ListItemValue } from './ListItem.types'; +export { renderListItem_unstable } from './renderListItem'; +export { useListItem_unstable } from './useListItem'; +export { listItemClassNames, useListItemStyles_unstable } from './useListItemStyles.styles'; diff --git a/packages/react-components/react-list-preview/library/src/components/ListItem/useListItemStyles.styles.ts b/packages/react-components/react-list-preview/library/src/components/ListItem/useListItemStyles.styles.ts index 5b60c6b7cce5be..f298a3f5ec7768 100644 --- a/packages/react-components/react-list-preview/library/src/components/ListItem/useListItemStyles.styles.ts +++ b/packages/react-components/react-list-preview/library/src/components/ListItem/useListItemStyles.styles.ts @@ -26,7 +26,7 @@ const useRootBaseStyles = makeResetStyles({ const useCheckmarkBaseStyles = makeStyles({ root: { alignSelf: 'center', - //eslint-disable-next-line + '& .fui-Checkbox__indicator': { margin: '4px' }, }, }); diff --git a/packages/react-components/react-list-preview/library/src/hooks/index.ts b/packages/react-components/react-list-preview/library/src/hooks/index.ts index 01a6959c7c21fd..ffab2debef5e55 100644 --- a/packages/react-components/react-list-preview/library/src/hooks/index.ts +++ b/packages/react-components/react-list-preview/library/src/hooks/index.ts @@ -1 +1 @@ -export * from './useListSelection'; +export { useListSelection } from './useListSelection'; diff --git a/packages/react-components/react-menu/library/src/Menu.ts b/packages/react-components/react-menu/library/src/Menu.ts index 002e9a57579125..3a5a9f59c1f9a9 100644 --- a/packages/react-components/react-menu/library/src/Menu.ts +++ b/packages/react-components/react-menu/library/src/Menu.ts @@ -1 +1,2 @@ -export * from './components/Menu/index'; +export type { MenuContextValues, MenuOpenChangeData, MenuOpenEvent, MenuOpenEvents, MenuProps, MenuSlots, MenuState } from './components/Menu/index'; +export { Menu, renderMenu_unstable, useMenuContextValues_unstable, useMenu_unstable } from './components/Menu/index'; diff --git a/packages/react-components/react-menu/library/src/MenuDivider.ts b/packages/react-components/react-menu/library/src/MenuDivider.ts index caa6a3a7a42e27..854a4557065cbf 100644 --- a/packages/react-components/react-menu/library/src/MenuDivider.ts +++ b/packages/react-components/react-menu/library/src/MenuDivider.ts @@ -1 +1,2 @@ -export * from './components/MenuDivider/index'; +export type { MenuDividerProps, MenuDividerSlots, MenuDividerState } from './components/MenuDivider/index'; +export { MenuDivider, menuDividerClassNames, renderMenuDivider_unstable, useMenuDividerStyles_unstable, useMenuDivider_unstable } from './components/MenuDivider/index'; diff --git a/packages/react-components/react-menu/library/src/MenuGroup.ts b/packages/react-components/react-menu/library/src/MenuGroup.ts index f58185e25767ea..ffe6d91502983d 100644 --- a/packages/react-components/react-menu/library/src/MenuGroup.ts +++ b/packages/react-components/react-menu/library/src/MenuGroup.ts @@ -1 +1,2 @@ -export * from './components/MenuGroup/index'; +export type { MenuGroupContextValues, MenuGroupProps, MenuGroupSlots, MenuGroupState } from './components/MenuGroup/index'; +export { MenuGroup, menuGroupClassNames, renderMenuGroup_unstable, useMenuGroupContextValues_unstable, useMenuGroupStyles_unstable, useMenuGroup_unstable } from './components/MenuGroup/index'; diff --git a/packages/react-components/react-menu/library/src/MenuGroupHeader.ts b/packages/react-components/react-menu/library/src/MenuGroupHeader.ts index dd4ec0e4d90a75..53a03f05eef9e6 100644 --- a/packages/react-components/react-menu/library/src/MenuGroupHeader.ts +++ b/packages/react-components/react-menu/library/src/MenuGroupHeader.ts @@ -1 +1,2 @@ -export * from './components/MenuGroupHeader/index'; +export type { MenuGroupHeaderProps, MenuGroupHeaderSlots, MenuGroupHeaderState } from './components/MenuGroupHeader/index'; +export { MenuGroupHeader, menuGroupHeaderClassNames, renderMenuGroupHeader_unstable, useMenuGroupHeaderStyles_unstable, useMenuGroupHeader_unstable } from './components/MenuGroupHeader/index'; diff --git a/packages/react-components/react-menu/library/src/MenuItem.ts b/packages/react-components/react-menu/library/src/MenuItem.ts index 08c2c2845ff1cc..c3b3f1bdf0b86f 100644 --- a/packages/react-components/react-menu/library/src/MenuItem.ts +++ b/packages/react-components/react-menu/library/src/MenuItem.ts @@ -1 +1,2 @@ -export * from './components/MenuItem/index'; +export type { MenuItemProps, MenuItemSlots, MenuItemState } from './components/MenuItem/index'; +export { MenuItem, menuItemClassNames, renderMenuItem_unstable, useMenuItemStyles_unstable, useMenuItem_unstable } from './components/MenuItem/index'; diff --git a/packages/react-components/react-menu/library/src/MenuItemCheckbox.ts b/packages/react-components/react-menu/library/src/MenuItemCheckbox.ts index 065d712fca8850..e8387b38153434 100644 --- a/packages/react-components/react-menu/library/src/MenuItemCheckbox.ts +++ b/packages/react-components/react-menu/library/src/MenuItemCheckbox.ts @@ -1 +1,2 @@ -export * from './components/MenuItemCheckbox/index'; +export type { MenuItemCheckboxProps, MenuItemCheckboxState } from './components/MenuItemCheckbox/index'; +export { MenuItemCheckbox, menuItemCheckboxClassNames, renderMenuItemCheckbox_unstable, useMenuItemCheckboxStyles_unstable, useMenuItemCheckbox_unstable } from './components/MenuItemCheckbox/index'; diff --git a/packages/react-components/react-menu/library/src/MenuItemLink.ts b/packages/react-components/react-menu/library/src/MenuItemLink.ts index 026737302a6881..90678b1da539d9 100644 --- a/packages/react-components/react-menu/library/src/MenuItemLink.ts +++ b/packages/react-components/react-menu/library/src/MenuItemLink.ts @@ -1 +1,2 @@ -export * from './components/MenuItemLink/index'; +export type { MenuItemLinkProps, MenuItemLinkSlots, MenuItemLinkState } from './components/MenuItemLink/index'; +export { MenuItemLink, menuItemLinkClassNames, renderMenuItemLink_unstable, useMenuItemLinkStyles_unstable, useMenuItemLink_unstable } from './components/MenuItemLink/index'; diff --git a/packages/react-components/react-menu/library/src/MenuItemRadio.ts b/packages/react-components/react-menu/library/src/MenuItemRadio.ts index 99e28d486ca724..b81c5a6d05059d 100644 --- a/packages/react-components/react-menu/library/src/MenuItemRadio.ts +++ b/packages/react-components/react-menu/library/src/MenuItemRadio.ts @@ -1 +1,2 @@ -export * from './components/MenuItemRadio/index'; +export type { MenuItemRadioProps, MenuItemRadioState } from './components/MenuItemRadio/index'; +export { MenuItemRadio, menuItemRadioClassNames, renderMenuItemRadio_unstable, useMenuItemRadioStyles_unstable, useMenuItemRadio_unstable } from './components/MenuItemRadio/index'; diff --git a/packages/react-components/react-menu/library/src/MenuItemSwitch.ts b/packages/react-components/react-menu/library/src/MenuItemSwitch.ts index 846bdeee1366ba..06f4291f613143 100644 --- a/packages/react-components/react-menu/library/src/MenuItemSwitch.ts +++ b/packages/react-components/react-menu/library/src/MenuItemSwitch.ts @@ -1 +1,2 @@ -export * from './components/MenuItemSwitch/index'; +export type { MenuItemSwitchProps, MenuItemSwitchSlots, MenuItemSwitchState } from './components/MenuItemSwitch/index'; +export { MenuItemSwitch, circleFilledClassName, menuItemSwitchClassNames, renderMenuItemSwitch_unstable, useMenuItemSwitchStyles_unstable, useMenuItemSwitch_unstable } from './components/MenuItemSwitch/index'; diff --git a/packages/react-components/react-menu/library/src/MenuList.ts b/packages/react-components/react-menu/library/src/MenuList.ts index b6a97c29e9d4aa..0af6da676c5dd1 100644 --- a/packages/react-components/react-menu/library/src/MenuList.ts +++ b/packages/react-components/react-menu/library/src/MenuList.ts @@ -1 +1,2 @@ -export * from './components/MenuList/index'; +export type { MenuCheckedValueChangeData, MenuCheckedValueChangeEvent, MenuListContextValues, MenuListProps, MenuListSlots, MenuListState, UninitializedMenuListState } from './components/MenuList/index'; +export { MenuList, menuListClassNames, renderMenuList_unstable, useMenuListContextValues_unstable, useMenuListStyles_unstable, useMenuList_unstable } from './components/MenuList/index'; diff --git a/packages/react-components/react-menu/library/src/MenuPopover.ts b/packages/react-components/react-menu/library/src/MenuPopover.ts index 9e91e7cad4b1f2..2344dc545a1994 100644 --- a/packages/react-components/react-menu/library/src/MenuPopover.ts +++ b/packages/react-components/react-menu/library/src/MenuPopover.ts @@ -1 +1,2 @@ -export * from './components/MenuPopover/index'; +export type { MenuPopoverProps, MenuPopoverSlots, MenuPopoverState } from './components/MenuPopover/index'; +export { MenuPopover, menuPopoverClassNames, renderMenuPopover_unstable, useMenuPopoverStyles_unstable, useMenuPopover_unstable } from './components/MenuPopover/index'; diff --git a/packages/react-components/react-menu/library/src/MenuSplitGroup.ts b/packages/react-components/react-menu/library/src/MenuSplitGroup.ts index 8328531988a282..f900544810fc98 100644 --- a/packages/react-components/react-menu/library/src/MenuSplitGroup.ts +++ b/packages/react-components/react-menu/library/src/MenuSplitGroup.ts @@ -1 +1,2 @@ -export * from './components/MenuSplitGroup/index'; +export type { MenuSplitGroupProps, MenuSplitGroupSlots, MenuSplitGroupState } from './components/MenuSplitGroup/index'; +export { MenuSplitGroup, menuSplitGroupClassNames, renderMenuSplitGroup_unstable, useMenuSplitGroupStyles_unstable, useMenuSplitGroup_unstable } from './components/MenuSplitGroup/index'; diff --git a/packages/react-components/react-menu/library/src/MenuTrigger.ts b/packages/react-components/react-menu/library/src/MenuTrigger.ts index 6c85734fb8428f..eb982a7695a6fc 100644 --- a/packages/react-components/react-menu/library/src/MenuTrigger.ts +++ b/packages/react-components/react-menu/library/src/MenuTrigger.ts @@ -1 +1,2 @@ -export * from './components/MenuTrigger/index'; +export type { MenuTriggerChildProps, MenuTriggerProps, MenuTriggerState } from './components/MenuTrigger/index'; +export { MenuTrigger, renderMenuTrigger_unstable, useMenuTrigger_unstable } from './components/MenuTrigger/index'; diff --git a/packages/react-components/react-menu/library/src/components/Menu/index.ts b/packages/react-components/react-menu/library/src/components/Menu/index.ts index f4832d29a05737..e1d923ec4a1aee 100644 --- a/packages/react-components/react-menu/library/src/components/Menu/index.ts +++ b/packages/react-components/react-menu/library/src/components/Menu/index.ts @@ -1,5 +1,5 @@ -export * from './Menu'; -export * from './Menu.types'; -export * from './renderMenu'; -export * from './useMenu'; -export * from './useMenuContextValues'; +export { Menu } from './Menu'; +export type { MenuContextValues, MenuOpenChangeData, MenuOpenEvent, MenuOpenEvents, MenuProps, MenuSlots, MenuState } from './Menu.types'; +export { renderMenu_unstable } from './renderMenu'; +export { useMenu_unstable } from './useMenu'; +export { useMenuContextValues_unstable } from './useMenuContextValues'; diff --git a/packages/react-components/react-menu/library/src/components/MenuDivider/index.ts b/packages/react-components/react-menu/library/src/components/MenuDivider/index.ts index b3ce7e41abbce1..482d93c0c5d8bb 100644 --- a/packages/react-components/react-menu/library/src/components/MenuDivider/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuDivider/index.ts @@ -1,5 +1,5 @@ -export * from './MenuDivider.types'; -export * from './MenuDivider'; -export * from './renderMenuDivider'; -export * from './useMenuDivider'; -export * from './useMenuDividerStyles.styles'; +export type { MenuDividerProps, MenuDividerSlots, MenuDividerState } from './MenuDivider.types'; +export { MenuDivider } from './MenuDivider'; +export { renderMenuDivider_unstable } from './renderMenuDivider'; +export { useMenuDivider_unstable } from './useMenuDivider'; +export { menuDividerClassNames, useMenuDividerStyles_unstable } from './useMenuDividerStyles.styles'; diff --git a/packages/react-components/react-menu/library/src/components/MenuGroup/index.ts b/packages/react-components/react-menu/library/src/components/MenuGroup/index.ts index 698b5c6bce6099..47e93a2ef8e8d7 100644 --- a/packages/react-components/react-menu/library/src/components/MenuGroup/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuGroup/index.ts @@ -1,6 +1,6 @@ -export * from './MenuGroup.types'; -export * from './MenuGroup'; -export * from './renderMenuGroup'; -export * from './useMenuGroup'; -export * from './useMenuGroupContextValues'; -export * from './useMenuGroupStyles.styles'; +export type { MenuGroupContextValues, MenuGroupProps, MenuGroupSlots, MenuGroupState } from './MenuGroup.types'; +export { MenuGroup } from './MenuGroup'; +export { renderMenuGroup_unstable } from './renderMenuGroup'; +export { useMenuGroup_unstable } from './useMenuGroup'; +export { useMenuGroupContextValues_unstable } from './useMenuGroupContextValues'; +export { menuGroupClassNames, useMenuGroupStyles_unstable } from './useMenuGroupStyles.styles'; diff --git a/packages/react-components/react-menu/library/src/components/MenuGroupHeader/index.ts b/packages/react-components/react-menu/library/src/components/MenuGroupHeader/index.ts index 0ed602008ef442..1706f1407f962d 100644 --- a/packages/react-components/react-menu/library/src/components/MenuGroupHeader/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuGroupHeader/index.ts @@ -1,5 +1,5 @@ -export * from './MenuGroupHeader.types'; -export * from './MenuGroupHeader'; -export * from './renderMenuGroupHeader'; -export * from './useMenuGroupHeader'; -export * from './useMenuGroupHeaderStyles.styles'; +export type { MenuGroupHeaderProps, MenuGroupHeaderSlots, MenuGroupHeaderState } from './MenuGroupHeader.types'; +export { MenuGroupHeader } from './MenuGroupHeader'; +export { renderMenuGroupHeader_unstable } from './renderMenuGroupHeader'; +export { useMenuGroupHeader_unstable } from './useMenuGroupHeader'; +export { menuGroupHeaderClassNames, useMenuGroupHeaderStyles_unstable } from './useMenuGroupHeaderStyles.styles'; diff --git a/packages/react-components/react-menu/library/src/components/MenuItem/index.ts b/packages/react-components/react-menu/library/src/components/MenuItem/index.ts index d7dd7263467eb6..3b8e407fdea868 100644 --- a/packages/react-components/react-menu/library/src/components/MenuItem/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuItem/index.ts @@ -1,5 +1,5 @@ -export * from './MenuItem'; -export * from './MenuItem.types'; -export * from './renderMenuItem'; -export * from './useMenuItem'; -export * from './useMenuItemStyles.styles'; +export { MenuItem } from './MenuItem'; +export type { MenuItemProps, MenuItemSlots, MenuItemState } from './MenuItem.types'; +export { renderMenuItem_unstable } from './renderMenuItem'; +export { useMenuItem_unstable } from './useMenuItem'; +export { menuItemClassNames, useMenuItemStyles_unstable } from './useMenuItemStyles.styles'; diff --git a/packages/react-components/react-menu/library/src/components/MenuItemCheckbox/index.ts b/packages/react-components/react-menu/library/src/components/MenuItemCheckbox/index.ts index 2c8eda2b015be2..118e7b56d0afcc 100644 --- a/packages/react-components/react-menu/library/src/components/MenuItemCheckbox/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuItemCheckbox/index.ts @@ -1,5 +1,5 @@ -export * from './MenuItemCheckbox.types'; -export * from './MenuItemCheckbox'; -export * from './renderMenuItemCheckbox'; -export * from './useMenuItemCheckbox'; -export * from './useMenuItemCheckboxStyles.styles'; +export type { MenuItemCheckboxProps, MenuItemCheckboxState } from './MenuItemCheckbox.types'; +export { MenuItemCheckbox } from './MenuItemCheckbox'; +export { renderMenuItemCheckbox_unstable } from './renderMenuItemCheckbox'; +export { useMenuItemCheckbox_unstable } from './useMenuItemCheckbox'; +export { menuItemCheckboxClassNames, useMenuItemCheckboxStyles_unstable } from './useMenuItemCheckboxStyles.styles'; diff --git a/packages/react-components/react-menu/library/src/components/MenuItemLink/index.ts b/packages/react-components/react-menu/library/src/components/MenuItemLink/index.ts index d7e0340eeb78e4..6927417b8a011d 100644 --- a/packages/react-components/react-menu/library/src/components/MenuItemLink/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuItemLink/index.ts @@ -1,5 +1,5 @@ -export * from './MenuItemLink'; -export * from './MenuItemLink.types'; -export * from './renderMenuItemLink'; -export * from './useMenuItemLink'; -export * from './useMenuItemLinkStyles.styles'; +export { MenuItemLink } from './MenuItemLink'; +export type { MenuItemLinkProps, MenuItemLinkSlots, MenuItemLinkState } from './MenuItemLink.types'; +export { renderMenuItemLink_unstable } from './renderMenuItemLink'; +export { useMenuItemLink_unstable } from './useMenuItemLink'; +export { menuItemLinkClassNames, useMenuItemLinkStyles_unstable } from './useMenuItemLinkStyles.styles'; diff --git a/packages/react-components/react-menu/library/src/components/MenuItemRadio/index.ts b/packages/react-components/react-menu/library/src/components/MenuItemRadio/index.ts index 8ca3847c613294..958d0b8f5ea9e2 100644 --- a/packages/react-components/react-menu/library/src/components/MenuItemRadio/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuItemRadio/index.ts @@ -1,5 +1,5 @@ -export * from './MenuItemRadio.types'; -export * from './MenuItemRadio'; -export * from './renderMenuItemRadio'; -export * from './useMenuItemRadio'; -export * from './useMenuItemRadioStyles.styles'; +export type { MenuItemRadioProps, MenuItemRadioState } from './MenuItemRadio.types'; +export { MenuItemRadio } from './MenuItemRadio'; +export { renderMenuItemRadio_unstable } from './renderMenuItemRadio'; +export { useMenuItemRadio_unstable } from './useMenuItemRadio'; +export { menuItemRadioClassNames, useMenuItemRadioStyles_unstable } from './useMenuItemRadioStyles.styles'; diff --git a/packages/react-components/react-menu/library/src/components/MenuItemSwitch/index.ts b/packages/react-components/react-menu/library/src/components/MenuItemSwitch/index.ts index 392b7f81e0cd73..7ec708bc8cce40 100644 --- a/packages/react-components/react-menu/library/src/components/MenuItemSwitch/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuItemSwitch/index.ts @@ -1,5 +1,5 @@ -export * from './MenuItemSwitch'; -export * from './MenuItemSwitch.types'; -export * from './renderMenuItemSwitch'; -export * from './useMenuItemSwitch'; -export * from './useMenuItemSwitchStyles.styles'; +export { MenuItemSwitch } from './MenuItemSwitch'; +export type { MenuItemSwitchProps, MenuItemSwitchSlots, MenuItemSwitchState } from './MenuItemSwitch.types'; +export { renderMenuItemSwitch_unstable } from './renderMenuItemSwitch'; +export { useMenuItemSwitch_unstable } from './useMenuItemSwitch'; +export { circleFilledClassName, menuItemSwitchClassNames, useMenuItemSwitchStyles_unstable } from './useMenuItemSwitchStyles.styles'; diff --git a/packages/react-components/react-menu/library/src/components/MenuList/index.ts b/packages/react-components/react-menu/library/src/components/MenuList/index.ts index b31eacd3ed5534..14c2d097e0fb13 100644 --- a/packages/react-components/react-menu/library/src/components/MenuList/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuList/index.ts @@ -1,6 +1,6 @@ -export * from './MenuList'; -export * from './MenuList.types'; -export * from './renderMenuList'; -export * from './useMenuList'; -export * from './useMenuListStyles.styles'; -export * from './useMenuListContextValues'; +export { MenuList } from './MenuList'; +export type { MenuCheckedValueChangeData, MenuCheckedValueChangeEvent, MenuListContextValues, MenuListProps, MenuListSlots, MenuListState, UninitializedMenuListState } from './MenuList.types'; +export { renderMenuList_unstable } from './renderMenuList'; +export { useMenuList_unstable } from './useMenuList'; +export { menuListClassNames, useMenuListStyles_unstable } from './useMenuListStyles.styles'; +export { useMenuListContextValues_unstable } from './useMenuListContextValues'; diff --git a/packages/react-components/react-menu/library/src/components/MenuPopover/index.ts b/packages/react-components/react-menu/library/src/components/MenuPopover/index.ts index 84ae361cc00a89..b35443895f1cf3 100644 --- a/packages/react-components/react-menu/library/src/components/MenuPopover/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuPopover/index.ts @@ -1,5 +1,5 @@ -export * from './MenuPopover'; -export * from './MenuPopover.types'; -export * from './renderMenuPopover'; -export * from './useMenuPopover'; -export * from './useMenuPopoverStyles.styles'; +export { MenuPopover } from './MenuPopover'; +export type { MenuPopoverProps, MenuPopoverSlots, MenuPopoverState } from './MenuPopover.types'; +export { renderMenuPopover_unstable } from './renderMenuPopover'; +export { useMenuPopover_unstable } from './useMenuPopover'; +export { menuPopoverClassNames, useMenuPopoverStyles_unstable } from './useMenuPopoverStyles.styles'; diff --git a/packages/react-components/react-menu/library/src/components/MenuSplitGroup/index.ts b/packages/react-components/react-menu/library/src/components/MenuSplitGroup/index.ts index a9bf5ffac60a87..d7391685a02e85 100644 --- a/packages/react-components/react-menu/library/src/components/MenuSplitGroup/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuSplitGroup/index.ts @@ -1,5 +1,5 @@ -export * from './MenuSplitGroup'; -export * from './MenuSplitGroup.types'; -export * from './renderMenuSplitGroup'; -export * from './useMenuSplitGroup'; -export * from './useMenuSplitGroupStyles.styles'; +export { MenuSplitGroup } from './MenuSplitGroup'; +export type { MenuSplitGroupProps, MenuSplitGroupSlots, MenuSplitGroupState } from './MenuSplitGroup.types'; +export { renderMenuSplitGroup_unstable } from './renderMenuSplitGroup'; +export { useMenuSplitGroup_unstable } from './useMenuSplitGroup'; +export { menuSplitGroupClassNames, useMenuSplitGroupStyles_unstable } from './useMenuSplitGroupStyles.styles'; diff --git a/packages/react-components/react-menu/library/src/components/MenuTrigger/index.ts b/packages/react-components/react-menu/library/src/components/MenuTrigger/index.ts index b5b4a29882293f..9b1124f7ee6a47 100644 --- a/packages/react-components/react-menu/library/src/components/MenuTrigger/index.ts +++ b/packages/react-components/react-menu/library/src/components/MenuTrigger/index.ts @@ -1,4 +1,4 @@ -export * from './MenuTrigger'; -export * from './MenuTrigger.types'; -export * from './renderMenuTrigger'; -export * from './useMenuTrigger'; +export { MenuTrigger } from './MenuTrigger'; +export type { MenuTriggerChildProps, MenuTriggerProps, MenuTriggerState } from './MenuTrigger.types'; +export { renderMenuTrigger_unstable } from './renderMenuTrigger'; +export { useMenuTrigger_unstable } from './useMenuTrigger'; diff --git a/packages/react-components/react-menu/library/src/components/index.ts b/packages/react-components/react-menu/library/src/components/index.ts index 38c29d35e101cd..224acef441b947 100644 --- a/packages/react-components/react-menu/library/src/components/index.ts +++ b/packages/react-components/react-menu/library/src/components/index.ts @@ -1,2 +1,4 @@ -export * from './MenuItem/index'; -export * from './MenuList/index'; +export type { MenuItemProps, MenuItemSlots, MenuItemState } from './MenuItem/index'; +export { MenuItem, menuItemClassNames, renderMenuItem_unstable, useMenuItemStyles_unstable, useMenuItem_unstable } from './MenuItem/index'; +export type { MenuCheckedValueChangeData, MenuCheckedValueChangeEvent, MenuListContextValues, MenuListProps, MenuListSlots, MenuListState, UninitializedMenuListState } from './MenuList/index'; +export { MenuList, menuListClassNames, renderMenuList_unstable, useMenuListContextValues_unstable, useMenuListStyles_unstable, useMenuList_unstable } from './MenuList/index'; diff --git a/packages/react-components/react-menu/library/src/selectable/index.ts b/packages/react-components/react-menu/library/src/selectable/index.ts index 6f5ded7fa41945..224c2ba242fb49 100644 --- a/packages/react-components/react-menu/library/src/selectable/index.ts +++ b/packages/react-components/react-menu/library/src/selectable/index.ts @@ -1,2 +1,2 @@ -export * from './useCheckmarkStyles.styles'; -export * from './types'; +export { useCheckmarkStyles_unstable } from './useCheckmarkStyles.styles'; +export type { MenuItemSelectableProps, MenuItemSelectableState, SelectableHandler } from './types'; diff --git a/packages/react-components/react-menu/library/src/utils/index.ts b/packages/react-components/react-menu/library/src/utils/index.ts index d1884cb1dd6428..85ed12481e1913 100644 --- a/packages/react-components/react-menu/library/src/utils/index.ts +++ b/packages/react-components/react-menu/library/src/utils/index.ts @@ -1 +1 @@ -export * from './useOnMenuEnter'; +export { MENU_ENTER_EVENT, dispatchMenuEnterEvent, useOnMenuMouseEnter } from './useOnMenuEnter'; diff --git a/packages/react-components/react-message-bar/library/src/MessageBar.ts b/packages/react-components/react-message-bar/library/src/MessageBar.ts index 380da827afeaa7..f0c12552242918 100644 --- a/packages/react-components/react-message-bar/library/src/MessageBar.ts +++ b/packages/react-components/react-message-bar/library/src/MessageBar.ts @@ -1 +1,2 @@ -export * from './components/MessageBar/index'; +export type { MessageBarContextValues, MessageBarIntent, MessageBarProps, MessageBarSlots, MessageBarState } from './components/MessageBar/index'; +export { MessageBar, messageBarClassNames, renderMessageBar_unstable, useMessageBarContextValue_unstable, useMessageBarStyles_unstable, useMessageBar_unstable } from './components/MessageBar/index'; diff --git a/packages/react-components/react-message-bar/library/src/MessageBarActions.ts b/packages/react-components/react-message-bar/library/src/MessageBarActions.ts index 7ab9044a3ee734..c15415da80bde6 100644 --- a/packages/react-components/react-message-bar/library/src/MessageBarActions.ts +++ b/packages/react-components/react-message-bar/library/src/MessageBarActions.ts @@ -1 +1,2 @@ -export * from './components/MessageBarActions/index'; +export type { MessageBarActionsContextValues, MessageBarActionsProps, MessageBarActionsSlots, MessageBarActionsState } from './components/MessageBarActions/index'; +export { MessageBarActions, messageBarActionsClassNames, renderMessageBarActions_unstable, useMessageBarActionsContextValue_unstable, useMessageBarActionsStyles_unstable, useMessageBarActions_unstable } from './components/MessageBarActions/index'; diff --git a/packages/react-components/react-message-bar/library/src/MessageBarBody.ts b/packages/react-components/react-message-bar/library/src/MessageBarBody.ts index dc59e16a3e414b..97c38c20980ccc 100644 --- a/packages/react-components/react-message-bar/library/src/MessageBarBody.ts +++ b/packages/react-components/react-message-bar/library/src/MessageBarBody.ts @@ -1 +1,2 @@ -export * from './components/MessageBarBody/index'; +export type { MessageBarBodyContextValues, MessageBarBodyProps, MessageBarBodySlots, MessageBarBodyState } from './components/MessageBarBody/index'; +export { MessageBarBody, messageBarBodyClassNames, renderMessageBarBody_unstable, useMessageBarBodyStyles_unstable, useMessageBarBody_unstable } from './components/MessageBarBody/index'; diff --git a/packages/react-components/react-message-bar/library/src/MessageBarGroup.ts b/packages/react-components/react-message-bar/library/src/MessageBarGroup.ts index 3515bfed8ae631..d009f25d75e6fd 100644 --- a/packages/react-components/react-message-bar/library/src/MessageBarGroup.ts +++ b/packages/react-components/react-message-bar/library/src/MessageBarGroup.ts @@ -1 +1,2 @@ -export * from './components/MessageBarGroup/index'; +export type { MessageBarGroupProps, MessageBarGroupSlots, MessageBarGroupState } from './components/MessageBarGroup/index'; +export { MessageBarGroup, messageBarGroupClassNames, renderMessageBarGroup_unstable, useMessageBarGroupStyles_unstable, useMessageBarGroup_unstable } from './components/MessageBarGroup/index'; diff --git a/packages/react-components/react-message-bar/library/src/MessageBarTitle.ts b/packages/react-components/react-message-bar/library/src/MessageBarTitle.ts index e570c6fb916dfc..840d5b0667aa04 100644 --- a/packages/react-components/react-message-bar/library/src/MessageBarTitle.ts +++ b/packages/react-components/react-message-bar/library/src/MessageBarTitle.ts @@ -1 +1,2 @@ -export * from './components/MessageBarTitle/index'; +export type { MessageBarTitleProps, MessageBarTitleSlots, MessageBarTitleState } from './components/MessageBarTitle/index'; +export { MessageBarTitle, messageBarTitleClassNames, renderMessageBarTitle_unstable, useMessageBarTitleStyles_unstable, useMessageBarTitle_unstable } from './components/MessageBarTitle/index'; diff --git a/packages/react-components/react-message-bar/library/src/components/MessageBar/index.ts b/packages/react-components/react-message-bar/library/src/components/MessageBar/index.ts index bd5ef92ccff1d0..901c3b68ea25d1 100644 --- a/packages/react-components/react-message-bar/library/src/components/MessageBar/index.ts +++ b/packages/react-components/react-message-bar/library/src/components/MessageBar/index.ts @@ -1,6 +1,6 @@ -export * from './MessageBar'; -export * from './MessageBar.types'; -export * from './renderMessageBar'; -export * from './useMessageBar'; -export * from './useMessageBarStyles.styles'; -export * from './useMessageBarContextValues'; +export { MessageBar } from './MessageBar'; +export type { MessageBarContextValues, MessageBarIntent, MessageBarProps, MessageBarSlots, MessageBarState } from './MessageBar.types'; +export { renderMessageBar_unstable } from './renderMessageBar'; +export { useMessageBar_unstable } from './useMessageBar'; +export { messageBarClassNames, useMessageBarStyles_unstable } from './useMessageBarStyles.styles'; +export { useMessageBarContextValue_unstable } from './useMessageBarContextValues'; diff --git a/packages/react-components/react-message-bar/library/src/components/MessageBar/useMessageBarReflow.ts b/packages/react-components/react-message-bar/library/src/components/MessageBar/useMessageBarReflow.ts index a6918c01dcefac..8d4abaf45aecf1 100644 --- a/packages/react-components/react-message-bar/library/src/components/MessageBar/useMessageBarReflow.ts +++ b/packages/react-components/react-message-bar/library/src/components/MessageBar/useMessageBarReflow.ts @@ -7,7 +7,7 @@ export function useMessageBarReflow(enabled: boolean = false) { const forceUpdate = React.useReducer(() => ({}), {})[1]; const reflowingRef = React.useRef(false); // TODO: exclude types from this lint rule: https://github.com/microsoft/fluentui/issues/31286 - // eslint-disable-next-line no-restricted-globals + const resizeObserverRef = React.useRef(null); const prevInlineSizeRef = React.useRef(-1); diff --git a/packages/react-components/react-message-bar/library/src/components/MessageBarActions/index.ts b/packages/react-components/react-message-bar/library/src/components/MessageBarActions/index.ts index a51d0d9827298f..c39fd526145c28 100644 --- a/packages/react-components/react-message-bar/library/src/components/MessageBarActions/index.ts +++ b/packages/react-components/react-message-bar/library/src/components/MessageBarActions/index.ts @@ -1,6 +1,6 @@ -export * from './MessageBarActions'; -export * from './MessageBarActions.types'; -export * from './renderMessageBarActions'; -export * from './useMessageBarActions'; -export * from './useMessageBarActionsStyles.styles'; -export * from './useMessageBarActionsContextValues'; +export { MessageBarActions } from './MessageBarActions'; +export type { MessageBarActionsContextValues, MessageBarActionsProps, MessageBarActionsSlots, MessageBarActionsState } from './MessageBarActions.types'; +export { renderMessageBarActions_unstable } from './renderMessageBarActions'; +export { useMessageBarActions_unstable } from './useMessageBarActions'; +export { messageBarActionsClassNames, useMessageBarActionsStyles_unstable } from './useMessageBarActionsStyles.styles'; +export { useMessageBarActionsContextValue_unstable } from './useMessageBarActionsContextValues'; diff --git a/packages/react-components/react-message-bar/library/src/components/MessageBarBody/index.ts b/packages/react-components/react-message-bar/library/src/components/MessageBarBody/index.ts index 360550329c1df0..c9654ad46a382e 100644 --- a/packages/react-components/react-message-bar/library/src/components/MessageBarBody/index.ts +++ b/packages/react-components/react-message-bar/library/src/components/MessageBarBody/index.ts @@ -1,5 +1,5 @@ -export * from './MessageBarBody'; -export * from './MessageBarBody.types'; -export * from './renderMessageBarBody'; -export * from './useMessageBarBody'; -export * from './useMessageBarBodyStyles.styles'; +export { MessageBarBody } from './MessageBarBody'; +export type { MessageBarBodyContextValues, MessageBarBodyProps, MessageBarBodySlots, MessageBarBodyState } from './MessageBarBody.types'; +export { renderMessageBarBody_unstable } from './renderMessageBarBody'; +export { useMessageBarBody_unstable } from './useMessageBarBody'; +export { messageBarBodyClassNames, useMessageBarBodyStyles_unstable } from './useMessageBarBodyStyles.styles'; diff --git a/packages/react-components/react-message-bar/library/src/components/MessageBarGroup/index.ts b/packages/react-components/react-message-bar/library/src/components/MessageBarGroup/index.ts index 21c912d11b842c..90ac15b9cc20fc 100644 --- a/packages/react-components/react-message-bar/library/src/components/MessageBarGroup/index.ts +++ b/packages/react-components/react-message-bar/library/src/components/MessageBarGroup/index.ts @@ -1,5 +1,5 @@ -export * from './MessageBarGroup'; -export * from './MessageBarGroup.types'; -export * from './renderMessageBarGroup'; -export * from './useMessageBarGroup'; -export * from './useMessageBarGroupStyles.styles'; +export { MessageBarGroup } from './MessageBarGroup'; +export type { MessageBarGroupProps, MessageBarGroupSlots, MessageBarGroupState } from './MessageBarGroup.types'; +export { renderMessageBarGroup_unstable } from './renderMessageBarGroup'; +export { useMessageBarGroup_unstable } from './useMessageBarGroup'; +export { messageBarGroupClassNames, useMessageBarGroupStyles_unstable } from './useMessageBarGroupStyles.styles'; diff --git a/packages/react-components/react-message-bar/library/src/components/MessageBarTitle/index.ts b/packages/react-components/react-message-bar/library/src/components/MessageBarTitle/index.ts index 4bcb0e7df960b4..bb37dbfa28a18d 100644 --- a/packages/react-components/react-message-bar/library/src/components/MessageBarTitle/index.ts +++ b/packages/react-components/react-message-bar/library/src/components/MessageBarTitle/index.ts @@ -1,5 +1,5 @@ -export * from './MessageBarTitle'; -export * from './MessageBarTitle.types'; -export * from './renderMessageBarTitle'; -export * from './useMessageBarTitle'; -export * from './useMessageBarTitleStyles.styles'; +export { MessageBarTitle } from './MessageBarTitle'; +export type { MessageBarTitleProps, MessageBarTitleSlots, MessageBarTitleState } from './MessageBarTitle.types'; +export { renderMessageBarTitle_unstable } from './renderMessageBarTitle'; +export { useMessageBarTitle_unstable } from './useMessageBarTitle'; +export { messageBarTitleClassNames, useMessageBarTitleStyles_unstable } from './useMessageBarTitleStyles.styles'; diff --git a/packages/react-components/react-message-bar/library/src/contexts/index.ts b/packages/react-components/react-message-bar/library/src/contexts/index.ts index da1a1cbe1916a2..58a6504be333ed 100644 --- a/packages/react-components/react-message-bar/library/src/contexts/index.ts +++ b/packages/react-components/react-message-bar/library/src/contexts/index.ts @@ -1,2 +1,4 @@ -export * from './messageBarContext'; -export * from './messageBarTransitionContext'; +export type { MessageBarContextValue } from './messageBarContext'; +export { MessageBarContextProvider, messageBarContextDefaultValue, useMessageBarContext } from './messageBarContext'; +export type { MessageBarTransitionContextValue } from './messageBarTransitionContext'; +export { MessageBarTransitionContextProvider, messageBarTransitionContextDefaultValue, useMessageBarTransitionContext } from './messageBarTransitionContext'; diff --git a/packages/react-components/react-motion-components-preview/library/src/components/Collapse/index.ts b/packages/react-components/react-motion-components-preview/library/src/components/Collapse/index.ts index f58726fcaa3690..f3e05ecdffcc63 100644 --- a/packages/react-components/react-motion-components-preview/library/src/components/Collapse/index.ts +++ b/packages/react-components/react-motion-components-preview/library/src/components/Collapse/index.ts @@ -1,2 +1,2 @@ -export * from './Collapse'; +export { Collapse, CollapseDelayed, CollapseRelaxed, CollapseSnappy, createCollapseDelayedPresence, createCollapsePresence } from './Collapse'; export type { CollapseRuntimeParams } from './collapse-types'; diff --git a/packages/react-components/react-motion-components-preview/library/src/components/Fade/index.ts b/packages/react-components/react-motion-components-preview/library/src/components/Fade/index.ts index 32dd951c417a6b..4c0776217eb8fe 100644 --- a/packages/react-components/react-motion-components-preview/library/src/components/Fade/index.ts +++ b/packages/react-components/react-motion-components-preview/library/src/components/Fade/index.ts @@ -1 +1 @@ -export * from './Fade'; +export { Fade, FadeRelaxed, FadeSnappy, createFadePresence } from './Fade'; diff --git a/packages/react-components/react-motion-components-preview/library/src/components/Scale/index.ts b/packages/react-components/react-motion-components-preview/library/src/components/Scale/index.ts index 69b281703f6b5f..c225e7e3c1be96 100644 --- a/packages/react-components/react-motion-components-preview/library/src/components/Scale/index.ts +++ b/packages/react-components/react-motion-components-preview/library/src/components/Scale/index.ts @@ -1 +1 @@ -export * from './Scale'; +export { Scale, ScaleRelaxed, ScaleSnappy } from './Scale'; diff --git a/packages/react-components/react-motion/stories/src/Motion/CustomMotion.stories.tsx b/packages/react-components/react-motion/stories/src/Motion/CustomMotion.stories.tsx index 624c097e228942..2aa9f68f84ecae 100644 --- a/packages/react-components/react-motion/stories/src/Motion/CustomMotion.stories.tsx +++ b/packages/react-components/react-motion/stories/src/Motion/CustomMotion.stories.tsx @@ -58,7 +58,7 @@ const RadialBackdropMotion = createPresenceComponent(() => { return { enter: { - keyframes: keyframes, + keyframes, easing: motionTokens.curveDecelerateMax, duration: motionTokens.durationGentle, }, diff --git a/packages/react-components/react-popover/library/src/Popover.ts b/packages/react-components/react-popover/library/src/Popover.ts index d405a838169cd8..b0ffd428dc2c45 100644 --- a/packages/react-components/react-popover/library/src/Popover.ts +++ b/packages/react-components/react-popover/library/src/Popover.ts @@ -1 +1,2 @@ -export * from './components/Popover/index'; +export type { OnOpenChangeData, OpenPopoverEvents, PopoverProps, PopoverSize, PopoverState } from './components/Popover/index'; +export { Popover, renderPopover_unstable, usePopover_unstable } from './components/Popover/index'; diff --git a/packages/react-components/react-popover/library/src/PopoverSurface.ts b/packages/react-components/react-popover/library/src/PopoverSurface.ts index 07df59ddc4ce91..4436e7250ed8bd 100644 --- a/packages/react-components/react-popover/library/src/PopoverSurface.ts +++ b/packages/react-components/react-popover/library/src/PopoverSurface.ts @@ -1 +1,2 @@ -export * from './components/PopoverSurface/index'; +export type { PopoverSurfaceProps, PopoverSurfaceSlots, PopoverSurfaceState } from './components/PopoverSurface/index'; +export { PopoverSurface, arrowHeights, popoverSurfaceClassNames, renderPopoverSurface_unstable, usePopoverSurfaceStyles_unstable, usePopoverSurface_unstable } from './components/PopoverSurface/index'; diff --git a/packages/react-components/react-popover/library/src/PopoverTrigger.ts b/packages/react-components/react-popover/library/src/PopoverTrigger.ts index 6ae11f1698e8f7..e14f3a1b29abcc 100644 --- a/packages/react-components/react-popover/library/src/PopoverTrigger.ts +++ b/packages/react-components/react-popover/library/src/PopoverTrigger.ts @@ -1 +1,2 @@ -export * from './components/PopoverTrigger/index'; +export type { PopoverTriggerChildProps, PopoverTriggerProps, PopoverTriggerState } from './components/PopoverTrigger/index'; +export { PopoverTrigger, renderPopoverTrigger_unstable, usePopoverTrigger_unstable } from './components/PopoverTrigger/index'; diff --git a/packages/react-components/react-popover/library/src/components/Popover/index.ts b/packages/react-components/react-popover/library/src/components/Popover/index.ts index 49b2a772845757..2dd9d4f5963cf1 100644 --- a/packages/react-components/react-popover/library/src/components/Popover/index.ts +++ b/packages/react-components/react-popover/library/src/components/Popover/index.ts @@ -1,4 +1,4 @@ -export * from './Popover'; -export * from './Popover.types'; -export * from './renderPopover'; -export * from './usePopover'; +export { Popover } from './Popover'; +export type { OnOpenChangeData, OpenPopoverEvents, PopoverProps, PopoverSize, PopoverState } from './Popover.types'; +export { renderPopover_unstable } from './renderPopover'; +export { usePopover_unstable } from './usePopover'; diff --git a/packages/react-components/react-popover/library/src/components/PopoverSurface/index.ts b/packages/react-components/react-popover/library/src/components/PopoverSurface/index.ts index ef6e2e67f2830e..a2e9ff24cf68d9 100644 --- a/packages/react-components/react-popover/library/src/components/PopoverSurface/index.ts +++ b/packages/react-components/react-popover/library/src/components/PopoverSurface/index.ts @@ -1,5 +1,5 @@ -export * from './PopoverSurface'; -export * from './PopoverSurface.types'; -export * from './renderPopoverSurface'; -export * from './usePopoverSurface'; -export * from './usePopoverSurfaceStyles.styles'; +export { PopoverSurface } from './PopoverSurface'; +export type { PopoverSurfaceProps, PopoverSurfaceSlots, PopoverSurfaceState } from './PopoverSurface.types'; +export { renderPopoverSurface_unstable } from './renderPopoverSurface'; +export { usePopoverSurface_unstable } from './usePopoverSurface'; +export { arrowHeights, popoverSurfaceClassNames, usePopoverSurfaceStyles_unstable } from './usePopoverSurfaceStyles.styles'; diff --git a/packages/react-components/react-popover/library/src/components/PopoverTrigger/index.ts b/packages/react-components/react-popover/library/src/components/PopoverTrigger/index.ts index b36693a2d21096..77543729de1c5b 100644 --- a/packages/react-components/react-popover/library/src/components/PopoverTrigger/index.ts +++ b/packages/react-components/react-popover/library/src/components/PopoverTrigger/index.ts @@ -1,4 +1,4 @@ -export * from './PopoverTrigger'; -export * from './PopoverTrigger.types'; -export * from './renderPopoverTrigger'; -export * from './usePopoverTrigger'; +export { PopoverTrigger } from './PopoverTrigger'; +export type { PopoverTriggerChildProps, PopoverTriggerProps, PopoverTriggerState } from './PopoverTrigger.types'; +export { renderPopoverTrigger_unstable } from './renderPopoverTrigger'; +export { usePopoverTrigger_unstable } from './usePopoverTrigger'; diff --git a/packages/react-components/react-portal/library/src/Portal.ts b/packages/react-components/react-portal/library/src/Portal.ts index 415bba70e04828..3db5d11d532fac 100644 --- a/packages/react-components/react-portal/library/src/Portal.ts +++ b/packages/react-components/react-portal/library/src/Portal.ts @@ -1 +1,2 @@ -export * from './components/Portal/index'; +export type { PortalProps, PortalState } from './components/Portal/index'; +export { Portal, renderPortal_unstable, usePortal_unstable } from './components/Portal/index'; diff --git a/packages/react-components/react-portal/library/src/components/Portal/index.ts b/packages/react-components/react-portal/library/src/components/Portal/index.ts index 01b08adb657205..5bca67373c0d83 100644 --- a/packages/react-components/react-portal/library/src/components/Portal/index.ts +++ b/packages/react-components/react-portal/library/src/components/Portal/index.ts @@ -1,4 +1,4 @@ -export * from './Portal'; -export * from './Portal.types'; -export * from './renderPortal'; -export * from './usePortal'; +export { Portal } from './Portal'; +export type { PortalProps, PortalState } from './Portal.types'; +export { renderPortal_unstable } from './renderPortal'; +export { usePortal_unstable } from './usePortal'; diff --git a/packages/react-components/react-positioning/src/middleware/index.ts b/packages/react-components/react-positioning/src/middleware/index.ts index 295ff0fa7dd39a..0e1477f46ec75d 100644 --- a/packages/react-components/react-positioning/src/middleware/index.ts +++ b/packages/react-components/react-positioning/src/middleware/index.ts @@ -1,7 +1,10 @@ -export * from './coverTarget'; -export * from './flip'; -export * from './intersecting'; -export * from './maxSize'; -export * from './offset'; -export * from './shift'; -export * from './matchTargetSize'; +export { coverTarget } from './coverTarget'; +export type { FlipMiddlewareOptions } from './flip'; +export { flip } from './flip'; +export { intersecting } from './intersecting'; +export type { MaxSizeMiddlewareOptions } from './maxSize'; +export { maxSize, resetMaxSize } from './maxSize'; +export { offset } from './offset'; +export type { ShiftMiddlewareOptions } from './shift'; +export { shift } from './shift'; +export { matchTargetSize, matchTargetSizeCssVar } from './matchTargetSize'; diff --git a/packages/react-components/react-positioning/src/utils/index.ts b/packages/react-components/react-positioning/src/utils/index.ts index e538bdfaee66a3..04feadbc94831b 100644 --- a/packages/react-components/react-positioning/src/utils/index.ts +++ b/packages/react-components/react-positioning/src/utils/index.ts @@ -1,16 +1,17 @@ -export * from './parseFloatingUIPlacement'; -export * from './getBoundary'; -export * from './getReactFiberFromNode'; -export * from './getScrollParent'; -export * from './mergeArrowOffset'; -export * from './toFloatingUIPadding'; -export * from './toFloatingUIPlacement'; -export * from './fromFloatingUIPlacement'; -export * from './resolvePositioningShorthand'; -export * from './useCallbackRef'; -export * from './debounce'; -export * from './toggleScrollListener'; -export * from './hasAutoFocusFilter'; -export * from './writeArrowUpdates'; -export * from './writeContainerupdates'; -export * from './normalizeAutoSize'; +export { parseFloatingUIPlacement } from './parseFloatingUIPlacement'; +export { getBoundary } from './getBoundary'; +export type { Fiber, HookType } from './getReactFiberFromNode'; +export { getReactFiberFromNode } from './getReactFiberFromNode'; +export { getParentNode, getScrollParent, hasScrollParent } from './getScrollParent'; +export { mergeArrowOffset } from './mergeArrowOffset'; +export { toFloatingUIPadding } from './toFloatingUIPadding'; +export { toFloatingUIPlacement } from './toFloatingUIPlacement'; +export { fromFloatingUIPlacement } from './fromFloatingUIPlacement'; +export { resolvePositioningShorthand } from './resolvePositioningShorthand'; +export { useCallbackRef } from './useCallbackRef'; +export { debounce } from './debounce'; +export { toggleScrollListener } from './toggleScrollListener'; +export { hasAutofocusFilter } from './hasAutoFocusFilter'; +export { writeArrowUpdates } from './writeArrowUpdates'; +export { writeContainerUpdates } from './writeContainerupdates'; +export { normalizeAutoSize } from './normalizeAutoSize'; diff --git a/packages/react-components/react-provider/library/src/FluentProvider.ts b/packages/react-components/react-provider/library/src/FluentProvider.ts index c3b459108e912a..f80f1c55c630f0 100644 --- a/packages/react-components/react-provider/library/src/FluentProvider.ts +++ b/packages/react-components/react-provider/library/src/FluentProvider.ts @@ -1 +1,2 @@ -export * from './components/FluentProvider/index'; +export type { FluentProviderContextValues, FluentProviderCustomStyleHooks, FluentProviderProps, FluentProviderSlots, FluentProviderState } from './components/FluentProvider/index'; +export { FluentProvider, createCSSRuleFromTheme, fluentProviderClassNames, renderFluentProvider_unstable, useFluentProviderContextValues_unstable, useFluentProviderStyles_unstable, useFluentProviderThemeStyleTag, useFluentProvider_unstable } from './components/FluentProvider/index'; diff --git a/packages/react-components/react-provider/library/src/components/FluentProvider/index.ts b/packages/react-components/react-provider/library/src/components/FluentProvider/index.ts index 24c83959018b57..5823c529cc844f 100644 --- a/packages/react-components/react-provider/library/src/components/FluentProvider/index.ts +++ b/packages/react-components/react-provider/library/src/components/FluentProvider/index.ts @@ -1,8 +1,8 @@ export { createCSSRuleFromTheme } from './createCSSRuleFromTheme'; -export * from './FluentProvider'; -export * from './FluentProvider.types'; -export * from './renderFluentProvider'; -export * from './useFluentProvider'; -export * from './useFluentProviderStyles.styles'; -export * from './useFluentProviderContextValues'; -export * from './useFluentProviderThemeStyleTag'; +export { FluentProvider } from './FluentProvider'; +export type { FluentProviderContextValues, FluentProviderCustomStyleHooks, FluentProviderProps, FluentProviderSlots, FluentProviderState } from './FluentProvider.types'; +export { renderFluentProvider_unstable } from './renderFluentProvider'; +export { useFluentProvider_unstable } from './useFluentProvider'; +export { fluentProviderClassNames, useFluentProviderStyles_unstable } from './useFluentProviderStyles.styles'; +export { useFluentProviderContextValues_unstable } from './useFluentProviderContextValues'; +export { useFluentProviderThemeStyleTag } from './useFluentProviderThemeStyleTag'; diff --git a/packages/react-components/react-shared-contexts/library/src/AnnounceContext/index.ts b/packages/react-components/react-shared-contexts/library/src/AnnounceContext/index.ts index 010521a0975668..c0308202e5c304 100644 --- a/packages/react-components/react-shared-contexts/library/src/AnnounceContext/index.ts +++ b/packages/react-components/react-shared-contexts/library/src/AnnounceContext/index.ts @@ -1 +1,2 @@ -export * from './AnnounceContext'; +export type { AnnounceContextValue, AnnounceOptions } from './AnnounceContext'; +export { AnnounceProvider, useAnnounce } from './AnnounceContext'; diff --git a/packages/react-components/react-shared-contexts/library/src/BackgroundAppearanceContext/index.ts b/packages/react-components/react-shared-contexts/library/src/BackgroundAppearanceContext/index.ts index 9aceae512a1320..c10fbf34bcab0e 100644 --- a/packages/react-components/react-shared-contexts/library/src/BackgroundAppearanceContext/index.ts +++ b/packages/react-components/react-shared-contexts/library/src/BackgroundAppearanceContext/index.ts @@ -1 +1,2 @@ -export * from './BackgroundAppearanceContext'; +export type { BackgroundAppearanceContextValue } from './BackgroundAppearanceContext'; +export { BackgroundAppearanceContext, BackgroundAppearanceProvider, useBackgroundAppearance } from './BackgroundAppearanceContext'; diff --git a/packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext.ts b/packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext.ts index c7829be67e03ba..e3f21c96251d1c 100644 --- a/packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext.ts +++ b/packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext.ts @@ -1 +1,2 @@ -export * from './CustomStyleHooksContext/index'; +export type { CustomStyleHooksContextValue } from './CustomStyleHooksContext/index'; +export { CustomStyleHooksContext, CustomStyleHooksProvider, useCustomStyleHook } from './CustomStyleHooksContext/index'; diff --git a/packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext/index.ts b/packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext/index.ts index 4ce4870623e4d2..3d5d51055e7fe6 100644 --- a/packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext/index.ts +++ b/packages/react-components/react-shared-contexts/library/src/CustomStyleHooksContext/index.ts @@ -1 +1,2 @@ -export * from './CustomStyleHooksContext'; +export type { CustomStyleHooksContextValue } from './CustomStyleHooksContext'; +export { CustomStyleHooksContext, CustomStyleHooksProvider, useCustomStyleHook } from './CustomStyleHooksContext'; diff --git a/packages/react-components/react-shared-contexts/library/src/OverridesContext/index.ts b/packages/react-components/react-shared-contexts/library/src/OverridesContext/index.ts index 43b32e1e274296..b1e87eb4074c18 100644 --- a/packages/react-components/react-shared-contexts/library/src/OverridesContext/index.ts +++ b/packages/react-components/react-shared-contexts/library/src/OverridesContext/index.ts @@ -1 +1,2 @@ -export * from './OverridesContext'; +export type { OverridesContextValue } from './OverridesContext'; +export { OverridesContext, OverridesProvider, useOverrides } from './OverridesContext'; diff --git a/packages/react-components/react-shared-contexts/library/src/ProviderContext.ts b/packages/react-components/react-shared-contexts/library/src/ProviderContext.ts index 9ca98a0278a447..d83f6edaabcbee 100644 --- a/packages/react-components/react-shared-contexts/library/src/ProviderContext.ts +++ b/packages/react-components/react-shared-contexts/library/src/ProviderContext.ts @@ -1 +1,2 @@ -export * from './ProviderContext/index'; +export type { ProviderContextValue } from './ProviderContext/index'; +export { Provider, useFluent } from './ProviderContext/index'; diff --git a/packages/react-components/react-shared-contexts/library/src/ProviderContext/index.ts b/packages/react-components/react-shared-contexts/library/src/ProviderContext/index.ts index 9216eba1d2e5ef..724b82d53148b0 100644 --- a/packages/react-components/react-shared-contexts/library/src/ProviderContext/index.ts +++ b/packages/react-components/react-shared-contexts/library/src/ProviderContext/index.ts @@ -1 +1,2 @@ -export * from './ProviderContext'; +export type { ProviderContextValue } from './ProviderContext'; +export { Provider, useFluent } from './ProviderContext'; diff --git a/packages/react-components/react-shared-contexts/library/src/ThemeClassNameContext.ts b/packages/react-components/react-shared-contexts/library/src/ThemeClassNameContext.ts index 1289e13cabccf8..180bd4fafd2cce 100644 --- a/packages/react-components/react-shared-contexts/library/src/ThemeClassNameContext.ts +++ b/packages/react-components/react-shared-contexts/library/src/ThemeClassNameContext.ts @@ -1 +1,2 @@ -export * from './ThemeClassNameContext/index'; +export type { ThemeClassNameContextValue } from './ThemeClassNameContext/index'; +export { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext/index'; diff --git a/packages/react-components/react-shared-contexts/library/src/ThemeClassNameContext/index.ts b/packages/react-components/react-shared-contexts/library/src/ThemeClassNameContext/index.ts index 596922f23bc589..43a0b4225e7745 100644 --- a/packages/react-components/react-shared-contexts/library/src/ThemeClassNameContext/index.ts +++ b/packages/react-components/react-shared-contexts/library/src/ThemeClassNameContext/index.ts @@ -1 +1,2 @@ -export * from './ThemeClassNameContext'; +export type { ThemeClassNameContextValue } from './ThemeClassNameContext'; +export { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext'; diff --git a/packages/react-components/react-shared-contexts/library/src/ThemeContext.ts b/packages/react-components/react-shared-contexts/library/src/ThemeContext.ts index f7f3ea5a3e623e..1094b8e0c6975c 100644 --- a/packages/react-components/react-shared-contexts/library/src/ThemeContext.ts +++ b/packages/react-components/react-shared-contexts/library/src/ThemeContext.ts @@ -1 +1,2 @@ -export * from './ThemeContext/index'; +export type { ThemeContextValue } from './ThemeContext/index'; +export { ThemeContext, ThemeProvider } from './ThemeContext/index'; diff --git a/packages/react-components/react-shared-contexts/library/src/ThemeContext/index.ts b/packages/react-components/react-shared-contexts/library/src/ThemeContext/index.ts index 4e34105cffe84b..7f95132fc34ed3 100644 --- a/packages/react-components/react-shared-contexts/library/src/ThemeContext/index.ts +++ b/packages/react-components/react-shared-contexts/library/src/ThemeContext/index.ts @@ -1 +1,2 @@ -export * from './ThemeContext'; +export type { ThemeContextValue } from './ThemeContext'; +export { ThemeContext, ThemeProvider } from './ThemeContext'; diff --git a/packages/react-components/react-shared-contexts/library/src/TooltipVisibilityContext.ts b/packages/react-components/react-shared-contexts/library/src/TooltipVisibilityContext.ts index 966628f37965c0..e5d26ce72e0f8a 100644 --- a/packages/react-components/react-shared-contexts/library/src/TooltipVisibilityContext.ts +++ b/packages/react-components/react-shared-contexts/library/src/TooltipVisibilityContext.ts @@ -1 +1,2 @@ -export * from './TooltipVisibilityContext/index'; +export type { TooltipVisibilityContextValue } from './TooltipVisibilityContext/index'; +export { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipVisibilityContext/index'; diff --git a/packages/react-components/react-shared-contexts/library/src/TooltipVisibilityContext/index.ts b/packages/react-components/react-shared-contexts/library/src/TooltipVisibilityContext/index.ts index 5eac4a31a6adcc..9718beb1fcb89e 100644 --- a/packages/react-components/react-shared-contexts/library/src/TooltipVisibilityContext/index.ts +++ b/packages/react-components/react-shared-contexts/library/src/TooltipVisibilityContext/index.ts @@ -1 +1,2 @@ -export * from './TooltipContext'; +export type { TooltipVisibilityContextValue } from './TooltipContext'; +export { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipContext'; diff --git a/packages/react-components/react-table/library/src/DataGrid.ts b/packages/react-components/react-table/library/src/DataGrid.ts index f0274f9b91596f..5bb1432fbd7ffb 100644 --- a/packages/react-components/react-table/library/src/DataGrid.ts +++ b/packages/react-components/react-table/library/src/DataGrid.ts @@ -1 +1,2 @@ -export * from './components/DataGrid/index'; +export type { DataGridContextValue, DataGridContextValues, DataGridFocusMode, DataGridProps, DataGridSlots, DataGridState } from './components/DataGrid/index'; +export { DataGrid, dataGridClassNames, renderDataGrid_unstable, useDataGridContextValues_unstable, useDataGridStyles_unstable, useDataGrid_unstable } from './components/DataGrid/index'; diff --git a/packages/react-components/react-table/library/src/DataGridBody.ts b/packages/react-components/react-table/library/src/DataGridBody.ts index 67d8574eceebc8..f6d5c607e1e2f5 100644 --- a/packages/react-components/react-table/library/src/DataGridBody.ts +++ b/packages/react-components/react-table/library/src/DataGridBody.ts @@ -1 +1,2 @@ -export * from './components/DataGridBody/index'; +export type { DataGridBodyProps, DataGridBodySlots, DataGridBodyState, RowRenderFunction } from './components/DataGridBody/index'; +export { DataGridBody, dataGridBodyClassNames, renderDataGridBody_unstable, useDataGridBodyStyles_unstable, useDataGridBody_unstable } from './components/DataGridBody/index'; diff --git a/packages/react-components/react-table/library/src/DataGridCell.ts b/packages/react-components/react-table/library/src/DataGridCell.ts index ced7ddb688624e..0cbe2b9edf010e 100644 --- a/packages/react-components/react-table/library/src/DataGridCell.ts +++ b/packages/react-components/react-table/library/src/DataGridCell.ts @@ -1 +1,2 @@ -export * from './components/DataGridCell/index'; +export type { DataGridCellFocusMode, DataGridCellProps, DataGridCellSlots, DataGridCellState } from './components/DataGridCell/index'; +export { DataGridCell, dataGridCellClassNames, renderDataGridCell_unstable, useDataGridCellStyles_unstable, useDataGridCell_unstable } from './components/DataGridCell/index'; diff --git a/packages/react-components/react-table/library/src/DataGridHeader.ts b/packages/react-components/react-table/library/src/DataGridHeader.ts index 310b44dbb1d9ad..e70fddd400093a 100644 --- a/packages/react-components/react-table/library/src/DataGridHeader.ts +++ b/packages/react-components/react-table/library/src/DataGridHeader.ts @@ -1 +1,2 @@ -export * from './components/DataGridHeader/index'; +export type { DataGridHeaderProps, DataGridHeaderSlots, DataGridHeaderState } from './components/DataGridHeader/index'; +export { DataGridHeader, dataGridHeaderClassNames, renderDataGridHeader_unstable, useDataGridHeaderStyles_unstable, useDataGridHeader_unstable } from './components/DataGridHeader/index'; diff --git a/packages/react-components/react-table/library/src/DataGridHeaderCell.ts b/packages/react-components/react-table/library/src/DataGridHeaderCell.ts index c605dbea6a0dd5..3692767e9d772f 100644 --- a/packages/react-components/react-table/library/src/DataGridHeaderCell.ts +++ b/packages/react-components/react-table/library/src/DataGridHeaderCell.ts @@ -1 +1,2 @@ -export * from './components/DataGridHeaderCell/index'; +export type { DataGridHeaderCellProps, DataGridHeaderCellSlots, DataGridHeaderCellState } from './components/DataGridHeaderCell/index'; +export { DataGridHeaderCell, dataGridHeaderCellClassNames, renderDataGridHeaderCell_unstable, useDataGridHeaderCellStyles_unstable, useDataGridHeaderCell_unstable } from './components/DataGridHeaderCell/index'; diff --git a/packages/react-components/react-table/library/src/DataGridRow.ts b/packages/react-components/react-table/library/src/DataGridRow.ts index bddb376c7425bb..18e021c0caaf89 100644 --- a/packages/react-components/react-table/library/src/DataGridRow.ts +++ b/packages/react-components/react-table/library/src/DataGridRow.ts @@ -1 +1,2 @@ -export * from './components/DataGridRow/index'; +export type { CellRenderFunction, DataGridRowProps, DataGridRowSlots, DataGridRowState } from './components/DataGridRow/index'; +export { DataGridRow, dataGridRowClassNames, renderDataGridRow_unstable, useDataGridRowStyles_unstable, useDataGridRow_unstable } from './components/DataGridRow/index'; diff --git a/packages/react-components/react-table/library/src/DataGridSelectionCell.ts b/packages/react-components/react-table/library/src/DataGridSelectionCell.ts index 04869398f52ee6..6fc56e67789fad 100644 --- a/packages/react-components/react-table/library/src/DataGridSelectionCell.ts +++ b/packages/react-components/react-table/library/src/DataGridSelectionCell.ts @@ -1 +1,2 @@ -export * from './components/DataGridSelectionCell/index'; +export type { DataGridSelectionCellProps, DataGridSelectionCellSlots, DataGridSelectionCellState } from './components/DataGridSelectionCell/index'; +export { DataGridSelectionCell, dataGridSelectionCellClassNames, renderDataGridSelectionCell_unstable, useDataGridSelectionCellStyles_unstable, useDataGridSelectionCell_unstable } from './components/DataGridSelectionCell/index'; diff --git a/packages/react-components/react-table/library/src/Table.ts b/packages/react-components/react-table/library/src/Table.ts index 86d0b2b60f1bf4..ffd8808c4513bc 100644 --- a/packages/react-components/react-table/library/src/Table.ts +++ b/packages/react-components/react-table/library/src/Table.ts @@ -1 +1,2 @@ -export * from './components/Table/index'; +export type { SortDirection, TableContextValue, TableContextValues, TableProps, TableSlots, TableState } from './components/Table/index'; +export { Table, renderTable_unstable, tableClassName, tableClassNames, useTableStyles_unstable, useTable_unstable } from './components/Table/index'; diff --git a/packages/react-components/react-table/library/src/TableBody.ts b/packages/react-components/react-table/library/src/TableBody.ts index adc49a850ef82e..7a9d127430f5d1 100644 --- a/packages/react-components/react-table/library/src/TableBody.ts +++ b/packages/react-components/react-table/library/src/TableBody.ts @@ -1 +1,2 @@ -export * from './components/TableBody/index'; +export type { TableBodyProps, TableBodySlots, TableBodyState } from './components/TableBody/index'; +export { TableBody, renderTableBody_unstable, tableBodyClassName, tableBodyClassNames, useTableBodyStyles_unstable, useTableBody_unstable } from './components/TableBody/index'; diff --git a/packages/react-components/react-table/library/src/TableCell.ts b/packages/react-components/react-table/library/src/TableCell.ts index 474646c3e981b7..e42240a80a3bb7 100644 --- a/packages/react-components/react-table/library/src/TableCell.ts +++ b/packages/react-components/react-table/library/src/TableCell.ts @@ -1 +1,2 @@ -export * from './components/TableCell/index'; +export type { TableCellProps, TableCellSlots, TableCellState } from './components/TableCell/index'; +export { TableCell, renderTableCell_unstable, tableCellClassName, tableCellClassNames, useTableCellStyles_unstable, useTableCell_unstable } from './components/TableCell/index'; diff --git a/packages/react-components/react-table/library/src/TableCellActions.ts b/packages/react-components/react-table/library/src/TableCellActions.ts index 1681f8c89e77f3..85183448cee830 100644 --- a/packages/react-components/react-table/library/src/TableCellActions.ts +++ b/packages/react-components/react-table/library/src/TableCellActions.ts @@ -1 +1,2 @@ -export * from './components/TableCellActions/index'; +export type { TableCellActionsProps, TableCellActionsSlots, TableCellActionsState } from './components/TableCellActions/index'; +export { TableCellActions, renderTableCellActions_unstable, tableCellActionsClassNames, useTableCellActionsStyles_unstable, useTableCellActions_unstable } from './components/TableCellActions/index'; diff --git a/packages/react-components/react-table/library/src/TableCellLayout.ts b/packages/react-components/react-table/library/src/TableCellLayout.ts index 2ef0ff4cf59b29..85d8cfe373857f 100644 --- a/packages/react-components/react-table/library/src/TableCellLayout.ts +++ b/packages/react-components/react-table/library/src/TableCellLayout.ts @@ -1 +1,2 @@ -export * from './components/TableCellLayout/index'; +export type { TableCellLayoutContextValues, TableCellLayoutProps, TableCellLayoutSlots, TableCellLayoutState } from './components/TableCellLayout/index'; +export { TableCellLayout, renderTableCellLayout_unstable, tableCellLayoutClassNames, useTableCellLayoutStyles_unstable, useTableCellLayout_unstable } from './components/TableCellLayout/index'; diff --git a/packages/react-components/react-table/library/src/TableCellPrimaryLayout.ts b/packages/react-components/react-table/library/src/TableCellPrimaryLayout.ts index 2ef0ff4cf59b29..85d8cfe373857f 100644 --- a/packages/react-components/react-table/library/src/TableCellPrimaryLayout.ts +++ b/packages/react-components/react-table/library/src/TableCellPrimaryLayout.ts @@ -1 +1,2 @@ -export * from './components/TableCellLayout/index'; +export type { TableCellLayoutContextValues, TableCellLayoutProps, TableCellLayoutSlots, TableCellLayoutState } from './components/TableCellLayout/index'; +export { TableCellLayout, renderTableCellLayout_unstable, tableCellLayoutClassNames, useTableCellLayoutStyles_unstable, useTableCellLayout_unstable } from './components/TableCellLayout/index'; diff --git a/packages/react-components/react-table/library/src/TableHeader.ts b/packages/react-components/react-table/library/src/TableHeader.ts index 96820645b34760..a6c12a16548e70 100644 --- a/packages/react-components/react-table/library/src/TableHeader.ts +++ b/packages/react-components/react-table/library/src/TableHeader.ts @@ -1 +1,2 @@ -export * from './components/TableHeader/index'; +export type { TableHeaderProps, TableHeaderSlots, TableHeaderState } from './components/TableHeader/index'; +export { TableHeader, renderTableHeader_unstable, tableHeaderClassName, tableHeaderClassNames, useTableHeaderStyles_unstable, useTableHeader_unstable } from './components/TableHeader/index'; diff --git a/packages/react-components/react-table/library/src/TableHeaderCell.ts b/packages/react-components/react-table/library/src/TableHeaderCell.ts index 9d906453178551..c8e0a7650b4c6b 100644 --- a/packages/react-components/react-table/library/src/TableHeaderCell.ts +++ b/packages/react-components/react-table/library/src/TableHeaderCell.ts @@ -1 +1,2 @@ -export * from './components/TableHeaderCell/index'; +export type { TableHeaderCellProps, TableHeaderCellSlots, TableHeaderCellState } from './components/TableHeaderCell/index'; +export { TableHeaderCell, renderTableHeaderCell_unstable, tableHeaderCellClassName, tableHeaderCellClassNames, useTableHeaderCellStyles_unstable, useTableHeaderCell_unstable } from './components/TableHeaderCell/index'; diff --git a/packages/react-components/react-table/library/src/TableResizeHandle.ts b/packages/react-components/react-table/library/src/TableResizeHandle.ts index 8b0ce453c43c1a..0b74a03dfa9d28 100644 --- a/packages/react-components/react-table/library/src/TableResizeHandle.ts +++ b/packages/react-components/react-table/library/src/TableResizeHandle.ts @@ -1 +1,2 @@ -export * from './components/TableResizeHandle/index'; +export type { TableResizeHandleProps, TableResizeHandleSlots, TableResizeHandleState } from './components/TableResizeHandle/index'; +export { TableResizeHandle, renderTableResizeHandle_unstable, tableResizeHandleClassNames, useTableResizeHandleStyles_unstable, useTableResizeHandle_unstable } from './components/TableResizeHandle/index'; diff --git a/packages/react-components/react-table/library/src/TableRow.ts b/packages/react-components/react-table/library/src/TableRow.ts index 9fe73a1ca0b002..b3ecbb760dd1fe 100644 --- a/packages/react-components/react-table/library/src/TableRow.ts +++ b/packages/react-components/react-table/library/src/TableRow.ts @@ -1 +1,2 @@ -export * from './components/TableRow/index'; +export type { TableRowProps, TableRowSlots, TableRowState } from './components/TableRow/index'; +export { TableRow, renderTableRow_unstable, tableRowClassName, tableRowClassNames, useTableRowStyles_unstable, useTableRow_unstable } from './components/TableRow/index'; diff --git a/packages/react-components/react-table/library/src/TableSelectionCell.ts b/packages/react-components/react-table/library/src/TableSelectionCell.ts index 5b50bc90677e36..3b5c851a0159b4 100644 --- a/packages/react-components/react-table/library/src/TableSelectionCell.ts +++ b/packages/react-components/react-table/library/src/TableSelectionCell.ts @@ -1 +1,2 @@ -export * from './components/TableSelectionCell/index'; +export type { TableSelectionCellProps, TableSelectionCellSlots, TableSelectionCellState } from './components/TableSelectionCell/index'; +export { CELL_WIDTH, TableSelectionCell, renderTableSelectionCell_unstable, tableSelectionCellClassNames, useTableSelectionCellStyles_unstable, useTableSelectionCell_unstable } from './components/TableSelectionCell/index'; diff --git a/packages/react-components/react-table/library/src/components/DataGrid/index.ts b/packages/react-components/react-table/library/src/components/DataGrid/index.ts index f876576160de74..8a0469c416d60c 100644 --- a/packages/react-components/react-table/library/src/components/DataGrid/index.ts +++ b/packages/react-components/react-table/library/src/components/DataGrid/index.ts @@ -1,6 +1,6 @@ -export * from './DataGrid'; -export * from './DataGrid.types'; -export * from './renderDataGrid'; -export * from './useDataGrid'; -export * from './useDataGridStyles.styles'; -export * from './useDataGridContextValues'; +export { DataGrid } from './DataGrid'; +export type { DataGridContextValue, DataGridContextValues, DataGridFocusMode, DataGridProps, DataGridSlots, DataGridState } from './DataGrid.types'; +export { renderDataGrid_unstable } from './renderDataGrid'; +export { useDataGrid_unstable } from './useDataGrid'; +export { dataGridClassNames, useDataGridStyles_unstable } from './useDataGridStyles.styles'; +export { useDataGridContextValues_unstable } from './useDataGridContextValues'; diff --git a/packages/react-components/react-table/library/src/components/DataGridBody/index.ts b/packages/react-components/react-table/library/src/components/DataGridBody/index.ts index 70d2bbdad74936..b4760d66a8cebf 100644 --- a/packages/react-components/react-table/library/src/components/DataGridBody/index.ts +++ b/packages/react-components/react-table/library/src/components/DataGridBody/index.ts @@ -1,5 +1,5 @@ -export * from './DataGridBody'; -export * from './DataGridBody.types'; -export * from './renderDataGridBody'; -export * from './useDataGridBody'; -export * from './useDataGridBodyStyles.styles'; +export { DataGridBody } from './DataGridBody'; +export type { DataGridBodyProps, DataGridBodySlots, DataGridBodyState, RowRenderFunction } from './DataGridBody.types'; +export { renderDataGridBody_unstable } from './renderDataGridBody'; +export { useDataGridBody_unstable } from './useDataGridBody'; +export { dataGridBodyClassNames, useDataGridBodyStyles_unstable } from './useDataGridBodyStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/DataGridCell/index.ts b/packages/react-components/react-table/library/src/components/DataGridCell/index.ts index acc2e821b8f74d..a8c16f9e17ff18 100644 --- a/packages/react-components/react-table/library/src/components/DataGridCell/index.ts +++ b/packages/react-components/react-table/library/src/components/DataGridCell/index.ts @@ -1,5 +1,5 @@ -export * from './DataGridCell'; -export * from './DataGridCell.types'; -export * from './renderDataGridCell'; -export * from './useDataGridCell'; -export * from './useDataGridCellStyles.styles'; +export { DataGridCell } from './DataGridCell'; +export type { DataGridCellFocusMode, DataGridCellProps, DataGridCellSlots, DataGridCellState } from './DataGridCell.types'; +export { renderDataGridCell_unstable } from './renderDataGridCell'; +export { useDataGridCell_unstable } from './useDataGridCell'; +export { dataGridCellClassNames, useDataGridCellStyles_unstable } from './useDataGridCellStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/DataGridHeader/index.ts b/packages/react-components/react-table/library/src/components/DataGridHeader/index.ts index 4b2eca977eb04d..fe9e2c19f3a210 100644 --- a/packages/react-components/react-table/library/src/components/DataGridHeader/index.ts +++ b/packages/react-components/react-table/library/src/components/DataGridHeader/index.ts @@ -1,5 +1,5 @@ -export * from './DataGridHeader'; -export * from './DataGridHeader.types'; -export * from './renderDataGridHeader'; -export * from './useDataGridHeader'; -export * from './useDataGridHeaderStyles.styles'; +export { DataGridHeader } from './DataGridHeader'; +export type { DataGridHeaderProps, DataGridHeaderSlots, DataGridHeaderState } from './DataGridHeader.types'; +export { renderDataGridHeader_unstable } from './renderDataGridHeader'; +export { useDataGridHeader_unstable } from './useDataGridHeader'; +export { dataGridHeaderClassNames, useDataGridHeaderStyles_unstable } from './useDataGridHeaderStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/DataGridHeaderCell/index.ts b/packages/react-components/react-table/library/src/components/DataGridHeaderCell/index.ts index 2a624c8e3bee3e..11d910fa1a6682 100644 --- a/packages/react-components/react-table/library/src/components/DataGridHeaderCell/index.ts +++ b/packages/react-components/react-table/library/src/components/DataGridHeaderCell/index.ts @@ -1,5 +1,5 @@ -export * from './DataGridHeaderCell'; -export * from './DataGridHeaderCell.types'; -export * from './renderDataGridHeaderCell'; -export * from './useDataGridHeaderCell'; -export * from './useDataGridHeaderCellStyles.styles'; +export { DataGridHeaderCell } from './DataGridHeaderCell'; +export type { DataGridHeaderCellProps, DataGridHeaderCellSlots, DataGridHeaderCellState } from './DataGridHeaderCell.types'; +export { renderDataGridHeaderCell_unstable } from './renderDataGridHeaderCell'; +export { useDataGridHeaderCell_unstable } from './useDataGridHeaderCell'; +export { dataGridHeaderCellClassNames, useDataGridHeaderCellStyles_unstable } from './useDataGridHeaderCellStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/DataGridRow/index.ts b/packages/react-components/react-table/library/src/components/DataGridRow/index.ts index a1f4708efd51b8..173ef5a6767f31 100644 --- a/packages/react-components/react-table/library/src/components/DataGridRow/index.ts +++ b/packages/react-components/react-table/library/src/components/DataGridRow/index.ts @@ -1,5 +1,5 @@ -export * from './DataGridRow'; -export * from './DataGridRow.types'; -export * from './renderDataGridRow'; -export * from './useDataGridRow'; -export * from './useDataGridRowStyles.styles'; +export { DataGridRow } from './DataGridRow'; +export type { CellRenderFunction, DataGridRowProps, DataGridRowSlots, DataGridRowState } from './DataGridRow.types'; +export { renderDataGridRow_unstable } from './renderDataGridRow'; +export { useDataGridRow_unstable } from './useDataGridRow'; +export { dataGridRowClassNames, useDataGridRowStyles_unstable } from './useDataGridRowStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/DataGridSelectionCell/index.ts b/packages/react-components/react-table/library/src/components/DataGridSelectionCell/index.ts index 4a021545019415..c1a8f0f1af57e8 100644 --- a/packages/react-components/react-table/library/src/components/DataGridSelectionCell/index.ts +++ b/packages/react-components/react-table/library/src/components/DataGridSelectionCell/index.ts @@ -1,5 +1,5 @@ -export * from './DataGridSelectionCell'; -export * from './DataGridSelectionCell.types'; -export * from './renderDataGridSelectionCell'; -export * from './useDataGridSelectionCell'; -export * from './useDataGridSelectionCellStyles.styles'; +export { DataGridSelectionCell } from './DataGridSelectionCell'; +export type { DataGridSelectionCellProps, DataGridSelectionCellSlots, DataGridSelectionCellState } from './DataGridSelectionCell.types'; +export { renderDataGridSelectionCell_unstable } from './renderDataGridSelectionCell'; +export { useDataGridSelectionCell_unstable } from './useDataGridSelectionCell'; +export { dataGridSelectionCellClassNames, useDataGridSelectionCellStyles_unstable } from './useDataGridSelectionCellStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/Table/index.ts b/packages/react-components/react-table/library/src/components/Table/index.ts index 62c03067863ef7..8c72378260b465 100644 --- a/packages/react-components/react-table/library/src/components/Table/index.ts +++ b/packages/react-components/react-table/library/src/components/Table/index.ts @@ -1,5 +1,5 @@ -export * from './Table'; -export * from './Table.types'; -export * from './renderTable'; -export * from './useTable'; -export * from './useTableStyles.styles'; +export { Table } from './Table'; +export type { SortDirection, TableContextValue, TableContextValues, TableProps, TableSlots, TableState } from './Table.types'; +export { renderTable_unstable } from './renderTable'; +export { useTable_unstable } from './useTable'; +export { tableClassName, tableClassNames, useTableStyles_unstable } from './useTableStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/TableBody/index.ts b/packages/react-components/react-table/library/src/components/TableBody/index.ts index 6cba4f6068996c..dce3def6ed77db 100644 --- a/packages/react-components/react-table/library/src/components/TableBody/index.ts +++ b/packages/react-components/react-table/library/src/components/TableBody/index.ts @@ -1,5 +1,5 @@ -export * from './TableBody'; -export * from './TableBody.types'; -export * from './renderTableBody'; -export * from './useTableBody'; -export * from './useTableBodyStyles.styles'; +export { TableBody } from './TableBody'; +export type { TableBodyProps, TableBodySlots, TableBodyState } from './TableBody.types'; +export { renderTableBody_unstable } from './renderTableBody'; +export { useTableBody_unstable } from './useTableBody'; +export { tableBodyClassName, tableBodyClassNames, useTableBodyStyles_unstable } from './useTableBodyStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/TableCell/index.ts b/packages/react-components/react-table/library/src/components/TableCell/index.ts index b139f3158cae77..432b54edd860c7 100644 --- a/packages/react-components/react-table/library/src/components/TableCell/index.ts +++ b/packages/react-components/react-table/library/src/components/TableCell/index.ts @@ -1,5 +1,5 @@ -export * from './TableCell'; -export * from './TableCell.types'; -export * from './renderTableCell'; -export * from './useTableCell'; -export * from './useTableCellStyles.styles'; +export { TableCell } from './TableCell'; +export type { TableCellProps, TableCellSlots, TableCellState } from './TableCell.types'; +export { renderTableCell_unstable } from './renderTableCell'; +export { useTableCell_unstable } from './useTableCell'; +export { tableCellClassName, tableCellClassNames, useTableCellStyles_unstable } from './useTableCellStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/TableCellActions/index.ts b/packages/react-components/react-table/library/src/components/TableCellActions/index.ts index e804786b725dbf..e924b0afb24685 100644 --- a/packages/react-components/react-table/library/src/components/TableCellActions/index.ts +++ b/packages/react-components/react-table/library/src/components/TableCellActions/index.ts @@ -1,5 +1,5 @@ -export * from './TableCellActions'; -export * from './TableCellActions.types'; -export * from './renderTableCellActions'; -export * from './useTableCellActions'; -export * from './useTableCellActionsStyles.styles'; +export { TableCellActions } from './TableCellActions'; +export type { TableCellActionsProps, TableCellActionsSlots, TableCellActionsState } from './TableCellActions.types'; +export { renderTableCellActions_unstable } from './renderTableCellActions'; +export { useTableCellActions_unstable } from './useTableCellActions'; +export { tableCellActionsClassNames, useTableCellActionsStyles_unstable } from './useTableCellActionsStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/TableCellLayout/index.ts b/packages/react-components/react-table/library/src/components/TableCellLayout/index.ts index ed50c859d49c17..4300a3a51383d8 100644 --- a/packages/react-components/react-table/library/src/components/TableCellLayout/index.ts +++ b/packages/react-components/react-table/library/src/components/TableCellLayout/index.ts @@ -1,5 +1,5 @@ -export * from './TableCellLayout'; -export * from './TableCellLayout.types'; -export * from './renderTableCellLayout'; -export * from './useTableCellLayout'; -export * from './useTableCellLayoutStyles.styles'; +export { TableCellLayout } from './TableCellLayout'; +export type { TableCellLayoutContextValues, TableCellLayoutProps, TableCellLayoutSlots, TableCellLayoutState } from './TableCellLayout.types'; +export { renderTableCellLayout_unstable } from './renderTableCellLayout'; +export { useTableCellLayout_unstable } from './useTableCellLayout'; +export { tableCellLayoutClassNames, useTableCellLayoutStyles_unstable } from './useTableCellLayoutStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/TableHeader/index.ts b/packages/react-components/react-table/library/src/components/TableHeader/index.ts index 5833e1a2600343..ceefdf11ea1bab 100644 --- a/packages/react-components/react-table/library/src/components/TableHeader/index.ts +++ b/packages/react-components/react-table/library/src/components/TableHeader/index.ts @@ -1,5 +1,5 @@ -export * from './TableHeader'; -export * from './TableHeader.types'; -export * from './renderTableHeader'; -export * from './useTableHeader'; -export * from './useTableHeaderStyles.styles'; +export { TableHeader } from './TableHeader'; +export type { TableHeaderProps, TableHeaderSlots, TableHeaderState } from './TableHeader.types'; +export { renderTableHeader_unstable } from './renderTableHeader'; +export { useTableHeader_unstable } from './useTableHeader'; +export { tableHeaderClassName, tableHeaderClassNames, useTableHeaderStyles_unstable } from './useTableHeaderStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/TableHeaderCell/index.ts b/packages/react-components/react-table/library/src/components/TableHeaderCell/index.ts index f3c47af321ee17..b24a7654395323 100644 --- a/packages/react-components/react-table/library/src/components/TableHeaderCell/index.ts +++ b/packages/react-components/react-table/library/src/components/TableHeaderCell/index.ts @@ -1,5 +1,5 @@ -export * from './TableHeaderCell'; -export * from './TableHeaderCell.types'; -export * from './renderTableHeaderCell'; -export * from './useTableHeaderCell'; -export * from './useTableHeaderCellStyles.styles'; +export { TableHeaderCell } from './TableHeaderCell'; +export type { TableHeaderCellProps, TableHeaderCellSlots, TableHeaderCellState } from './TableHeaderCell.types'; +export { renderTableHeaderCell_unstable } from './renderTableHeaderCell'; +export { useTableHeaderCell_unstable } from './useTableHeaderCell'; +export { tableHeaderCellClassName, tableHeaderCellClassNames, useTableHeaderCellStyles_unstable } from './useTableHeaderCellStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/TableResizeHandle/index.ts b/packages/react-components/react-table/library/src/components/TableResizeHandle/index.ts index 3d1ea5ea6a7fb9..7671d67be5e601 100644 --- a/packages/react-components/react-table/library/src/components/TableResizeHandle/index.ts +++ b/packages/react-components/react-table/library/src/components/TableResizeHandle/index.ts @@ -1,5 +1,5 @@ -export * from './TableResizeHandle'; -export * from './TableResizeHandle.types'; -export * from './renderTableResizeHandle'; -export * from './useTableResizeHandle'; -export * from './useTableResizeHandleStyles.styles'; +export { TableResizeHandle } from './TableResizeHandle'; +export type { TableResizeHandleProps, TableResizeHandleSlots, TableResizeHandleState } from './TableResizeHandle.types'; +export { renderTableResizeHandle_unstable } from './renderTableResizeHandle'; +export { useTableResizeHandle_unstable } from './useTableResizeHandle'; +export { tableResizeHandleClassNames, useTableResizeHandleStyles_unstable } from './useTableResizeHandleStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/TableRow/index.ts b/packages/react-components/react-table/library/src/components/TableRow/index.ts index 2c11c5c63deea1..3e50b816888e42 100644 --- a/packages/react-components/react-table/library/src/components/TableRow/index.ts +++ b/packages/react-components/react-table/library/src/components/TableRow/index.ts @@ -1,5 +1,5 @@ -export * from './TableRow'; -export * from './TableRow.types'; -export * from './renderTableRow'; -export * from './useTableRow'; -export * from './useTableRowStyles.styles'; +export { TableRow } from './TableRow'; +export type { TableRowProps, TableRowSlots, TableRowState } from './TableRow.types'; +export { renderTableRow_unstable } from './renderTableRow'; +export { useTableRow_unstable } from './useTableRow'; +export { tableRowClassName, tableRowClassNames, useTableRowStyles_unstable } from './useTableRowStyles.styles'; diff --git a/packages/react-components/react-table/library/src/components/TableSelectionCell/index.ts b/packages/react-components/react-table/library/src/components/TableSelectionCell/index.ts index d5fabee4714b5d..4b3fbae70e25a7 100644 --- a/packages/react-components/react-table/library/src/components/TableSelectionCell/index.ts +++ b/packages/react-components/react-table/library/src/components/TableSelectionCell/index.ts @@ -1,5 +1,5 @@ -export * from './TableSelectionCell'; -export * from './TableSelectionCell.types'; -export * from './renderTableSelectionCell'; -export * from './useTableSelectionCell'; -export * from './useTableSelectionCellStyles.styles'; +export { TableSelectionCell } from './TableSelectionCell'; +export type { TableSelectionCellProps, TableSelectionCellSlots, TableSelectionCellState } from './TableSelectionCell.types'; +export { renderTableSelectionCell_unstable } from './renderTableSelectionCell'; +export { useTableSelectionCell_unstable } from './useTableSelectionCell'; +export { CELL_WIDTH, tableSelectionCellClassNames, useTableSelectionCellStyles_unstable } from './useTableSelectionCellStyles.styles'; diff --git a/packages/react-components/react-table/library/src/hooks/index.ts b/packages/react-components/react-table/library/src/hooks/index.ts index c30db5c83e49d2..b662bb17e72fc9 100644 --- a/packages/react-components/react-table/library/src/hooks/index.ts +++ b/packages/react-components/react-table/library/src/hooks/index.ts @@ -1,7 +1,7 @@ -export * from './types'; -export * from './useTableFeatures'; -export * from './useTableSort'; -export * from './useTableSelection'; -export * from './createColumn'; -export * from './useTableColumnSizing'; -export * from './useTableCompositeNavigation'; +export type { ColumnResizeState, ColumnSizingTableCellProps, ColumnSizingTableHeaderCellProps, ColumnSizingTableProps, ColumnWidthState, CreateTableColumnOptions, EnableKeyboardModeOnChangeCallback, OnSelectionChangeData, RowEnhancer, SortState, TableColumnDefinition, TableColumnId, TableColumnSizingOptions, TableColumnSizingState, TableFeaturePlugin, TableFeaturesState, TableRowData, TableRowId, TableSelectionState, TableSortState, UseTableColumnSizingParams, UseTableFeaturesOptions, UseTableSortOptions } from './types'; +export { defaultTableState, useTableFeatures } from './useTableFeatures'; +export { defaultTableSortState, useTableSort, useTableSortState } from './useTableSort'; +export { defaultTableSelectionState, useTableSelection, useTableSelectionState } from './useTableSelection'; +export { createTableColumn } from './createColumn'; +export { defaultColumnSizingState, useTableColumnSizing_unstable } from './useTableColumnSizing'; +export { useTableCompositeNavigation } from './useTableCompositeNavigation'; diff --git a/packages/react-components/react-tabster/src/focus/index.ts b/packages/react-components/react-tabster/src/focus/index.ts index 26b02d8b5238c1..a78b590fa0ff30 100644 --- a/packages/react-components/react-tabster/src/focus/index.ts +++ b/packages/react-components/react-tabster/src/focus/index.ts @@ -1,4 +1,6 @@ -export * from './createCustomFocusIndicatorStyle'; -export * from './createFocusOutlineStyle'; -export * from './focusVisiblePolyfill'; -export * from './focusWithinPolyfill'; +export type { CreateCustomFocusIndicatorStyleOptions } from './createCustomFocusIndicatorStyle'; +export { createCustomFocusIndicatorStyle } from './createCustomFocusIndicatorStyle'; +export type { CreateFocusOutlineStyleOptions, FocusOutlineOffset, FocusOutlineStyleOptions } from './createFocusOutlineStyle'; +export { createFocusOutlineStyle } from './createFocusOutlineStyle'; +export { applyFocusVisiblePolyfill } from './focusVisiblePolyfill'; +export { applyFocusWithinPolyfill } from './focusWithinPolyfill'; diff --git a/packages/react-components/react-tabster/src/hooks/index.ts b/packages/react-components/react-tabster/src/hooks/index.ts index b2f3a317774215..d8f81a8e26beee 100644 --- a/packages/react-components/react-tabster/src/hooks/index.ts +++ b/packages/react-components/react-tabster/src/hooks/index.ts @@ -1,17 +1,20 @@ -export * from './useArrowNavigationGroup'; -export * from './useFocusableGroup'; -export * from './useFocusFinders'; -export * from './useFocusVisible'; -export * from './useFocusWithin'; -export * from './useKeyboardNavAttribute'; -export * from './useOnKeyboardNavigationChange'; -export * from './useModalAttributes'; -export * from './useTabsterAttributes'; -export * from './useObservedElement'; -export * from './useMergeTabsterAttributes'; -export * from './useFocusObserved'; -export * from './useRestoreFocus'; -export * from './useUncontrolledFocus'; -export * from './useIsNavigatingWithKeyboard'; -export * from './useSetKeyboardNavigation'; -export * from './useFocusedElementChange'; +export type { UseArrowNavigationGroupOptions } from './useArrowNavigationGroup'; +export { useArrowNavigationGroup } from './useArrowNavigationGroup'; +export type { UseFocusableGroupOptions } from './useFocusableGroup'; +export { useFocusableGroup } from './useFocusableGroup'; +export { useFocusFinders } from './useFocusFinders'; +export { useFocusVisible } from './useFocusVisible'; +export { useFocusWithin } from './useFocusWithin'; +export { useKeyboardNavAttribute } from './useKeyboardNavAttribute'; +export { useOnKeyboardNavigationChange } from './useOnKeyboardNavigationChange'; +export type { UseModalAttributesOptions } from './useModalAttributes'; +export { useModalAttributes } from './useModalAttributes'; +export { useTabsterAttributes } from './useTabsterAttributes'; +export { useObservedElement } from './useObservedElement'; +export { useMergedTabsterAttributes_unstable } from './useMergeTabsterAttributes'; +export { useFocusObserved } from './useFocusObserved'; +export { useRestoreFocusSource, useRestoreFocusTarget } from './useRestoreFocus'; +export { useUncontrolledFocus } from './useUncontrolledFocus'; +export { useIsNavigatingWithKeyboard } from './useIsNavigatingWithKeyboard'; +export { useSetKeyboardNavigation } from './useSetKeyboardNavigation'; +export { useFocusedElementChange } from './useFocusedElementChange'; diff --git a/packages/react-components/react-tabster/src/tabster-types-6.0.1-do-not-use.ts b/packages/react-components/react-tabster/src/tabster-types-6.0.1-do-not-use.ts index e8487dcc5b406f..31b7d5a34d2ae9 100644 --- a/packages/react-components/react-tabster/src/tabster-types-6.0.1-do-not-use.ts +++ b/packages/react-components/react-tabster/src/tabster-types-6.0.1-do-not-use.ts @@ -124,7 +124,7 @@ export interface TabsterCoreProps { export interface DOMAPI { // TODO: exclude types from this lint rule: https://github.com/microsoft/fluentui/issues/31286 - // eslint-disable-next-line no-restricted-globals + createMutationObserver: (callback: MutationCallback) => MutationObserver; createTreeWalker(doc: Document, root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker; getParentNode(node: Node | null | undefined): ParentNode | null; diff --git a/packages/react-components/react-tag-picker/library/src/TagPicker.ts b/packages/react-components/react-tag-picker/library/src/TagPicker.ts index a4adbd4f7d3a7b..7e1e3d02e247d3 100644 --- a/packages/react-components/react-tag-picker/library/src/TagPicker.ts +++ b/packages/react-components/react-tag-picker/library/src/TagPicker.ts @@ -1 +1,2 @@ -export * from './components/TagPicker/index'; +export type { TagPickerContextValues, TagPickerOnOpenChangeData, TagPickerOnOptionSelectData, TagPickerProps, TagPickerSize, TagPickerSlots, TagPickerState } from './components/TagPicker/index'; +export { TagPicker, renderTagPicker_unstable, useTagPicker_unstable } from './components/TagPicker/index'; diff --git a/packages/react-components/react-tag-picker/library/src/TagPickerButton.ts b/packages/react-components/react-tag-picker/library/src/TagPickerButton.ts index d01e5b30f061b3..5afd779722095e 100644 --- a/packages/react-components/react-tag-picker/library/src/TagPickerButton.ts +++ b/packages/react-components/react-tag-picker/library/src/TagPickerButton.ts @@ -1 +1,2 @@ -export * from './components/TagPickerButton/index'; +export type { TagPickerButtonProps, TagPickerButtonSlots, TagPickerButtonState } from './components/TagPickerButton/index'; +export { TagPickerButton, renderTagPickerButton_unstable, tagPickerButtonClassNames, useTagPickerButtonStyles_unstable, useTagPickerButton_unstable } from './components/TagPickerButton/index'; diff --git a/packages/react-components/react-tag-picker/library/src/TagPickerControl.ts b/packages/react-components/react-tag-picker/library/src/TagPickerControl.ts index 2d1f8a5560657b..b23cd40e6bd96c 100644 --- a/packages/react-components/react-tag-picker/library/src/TagPickerControl.ts +++ b/packages/react-components/react-tag-picker/library/src/TagPickerControl.ts @@ -1 +1,2 @@ -export * from './components/TagPickerControl/index'; +export type { TagPickerControlCSSProperties, TagPickerControlInternalSlots, TagPickerControlProps, TagPickerControlSlots, TagPickerControlState } from './components/TagPickerControl/index'; +export { TagPickerControl, iconSizes, renderTagPickerControl_unstable, tagPickerControlAsideWidthToken, tagPickerControlClassNames, useTagPickerControlStyles_unstable, useTagPickerControl_unstable } from './components/TagPickerControl/index'; diff --git a/packages/react-components/react-tag-picker/library/src/TagPickerGroup.ts b/packages/react-components/react-tag-picker/library/src/TagPickerGroup.ts index 3e27481f074f6f..a3146e4c0006bf 100644 --- a/packages/react-components/react-tag-picker/library/src/TagPickerGroup.ts +++ b/packages/react-components/react-tag-picker/library/src/TagPickerGroup.ts @@ -1 +1,2 @@ -export * from './components/TagPickerGroup/index'; +export type { TagPickerGroupProps, TagPickerGroupSlots, TagPickerGroupState } from './components/TagPickerGroup/index'; +export { TagPickerGroup, renderTagPickerGroup_unstable, tagPickerGroupClassNames, useTagPickerGroupStyles_unstable, useTagPickerGroup_unstable } from './components/TagPickerGroup/index'; diff --git a/packages/react-components/react-tag-picker/library/src/TagPickerInput.ts b/packages/react-components/react-tag-picker/library/src/TagPickerInput.ts index d9d93d420dc02b..2772a70ef47ba1 100644 --- a/packages/react-components/react-tag-picker/library/src/TagPickerInput.ts +++ b/packages/react-components/react-tag-picker/library/src/TagPickerInput.ts @@ -1 +1,2 @@ -export * from './components/TagPickerInput/index'; +export type { TagPickerInputProps, TagPickerInputSlots, TagPickerInputState } from './components/TagPickerInput/index'; +export { TagPickerInput, renderTagPickerInput_unstable, tagPickerInputClassNames, useTagPickerInputStyles_unstable, useTagPickerInput_unstable } from './components/TagPickerInput/index'; diff --git a/packages/react-components/react-tag-picker/library/src/TagPickerList.ts b/packages/react-components/react-tag-picker/library/src/TagPickerList.ts index 1c21a67c306352..1023d7910589dd 100644 --- a/packages/react-components/react-tag-picker/library/src/TagPickerList.ts +++ b/packages/react-components/react-tag-picker/library/src/TagPickerList.ts @@ -1 +1,2 @@ -export * from './components/TagPickerList/index'; +export type { TagPickerListProps, TagPickerListSlots, TagPickerListState } from './components/TagPickerList/index'; +export { TagPickerList, renderTagPickerList_unstable, tagPickerListClassNames, useTagPickerListStyles_unstable, useTagPickerList_unstable } from './components/TagPickerList/index'; diff --git a/packages/react-components/react-tag-picker/library/src/TagPickerOption.ts b/packages/react-components/react-tag-picker/library/src/TagPickerOption.ts index 6933c314ca23f7..968f79914af70e 100644 --- a/packages/react-components/react-tag-picker/library/src/TagPickerOption.ts +++ b/packages/react-components/react-tag-picker/library/src/TagPickerOption.ts @@ -1 +1,2 @@ -export * from './components/TagPickerOption/index'; +export type { TagPickerOptionProps, TagPickerOptionSlots, TagPickerOptionState } from './components/TagPickerOption/index'; +export { TagPickerOption, renderTagPickerOption_unstable, tagPickerOptionClassNames, useTagPickerOptionStyles_unstable, useTagPickerOption_unstable } from './components/TagPickerOption/index'; diff --git a/packages/react-components/react-tag-picker/library/src/TagPickerOptionGroup.ts b/packages/react-components/react-tag-picker/library/src/TagPickerOptionGroup.ts index b26bd5403bb28a..e453b7a0c26fc0 100644 --- a/packages/react-components/react-tag-picker/library/src/TagPickerOptionGroup.ts +++ b/packages/react-components/react-tag-picker/library/src/TagPickerOptionGroup.ts @@ -1 +1,2 @@ -export * from './components/TagPickerOptionGroup/index'; +export type { TagPickerOptionGroupProps, TagPickerOptionGroupSlots, TagPickerOptionGroupState } from './components/TagPickerOptionGroup/index'; +export { TagPickerOptionGroup, renderTagPickerOptionGroup, tagPickerOptionGroupClassNames, useTagPickerOptionGroup, useTagPickerOptionGroupStyles } from './components/TagPickerOptionGroup/index'; diff --git a/packages/react-components/react-tag-picker/library/src/components/TagPicker/index.ts b/packages/react-components/react-tag-picker/library/src/components/TagPicker/index.ts index c93cde5d237646..daa1cd4373146b 100644 --- a/packages/react-components/react-tag-picker/library/src/components/TagPicker/index.ts +++ b/packages/react-components/react-tag-picker/library/src/components/TagPicker/index.ts @@ -1,4 +1,4 @@ -export * from './TagPicker'; -export * from './TagPicker.types'; -export * from './renderTagPicker'; -export * from './useTagPicker'; +export { TagPicker } from './TagPicker'; +export type { TagPickerContextValues, TagPickerOnOpenChangeData, TagPickerOnOptionSelectData, TagPickerProps, TagPickerSize, TagPickerSlots, TagPickerState } from './TagPicker.types'; +export { renderTagPicker_unstable } from './renderTagPicker'; +export { useTagPicker_unstable } from './useTagPicker'; diff --git a/packages/react-components/react-tag-picker/library/src/components/TagPickerButton/index.ts b/packages/react-components/react-tag-picker/library/src/components/TagPickerButton/index.ts index f338dffae86f68..f2c5fc367d4621 100644 --- a/packages/react-components/react-tag-picker/library/src/components/TagPickerButton/index.ts +++ b/packages/react-components/react-tag-picker/library/src/components/TagPickerButton/index.ts @@ -1,5 +1,5 @@ -export * from './TagPickerButton'; -export * from './TagPickerButton.types'; -export * from './renderTagPickerButton'; -export * from './useTagPickerButton'; -export * from './useTagPickerButtonStyles.styles'; +export { TagPickerButton } from './TagPickerButton'; +export type { TagPickerButtonProps, TagPickerButtonSlots, TagPickerButtonState } from './TagPickerButton.types'; +export { renderTagPickerButton_unstable } from './renderTagPickerButton'; +export { useTagPickerButton_unstable } from './useTagPickerButton'; +export { tagPickerButtonClassNames, useTagPickerButtonStyles_unstable } from './useTagPickerButtonStyles.styles'; diff --git a/packages/react-components/react-tag-picker/library/src/components/TagPickerControl/index.ts b/packages/react-components/react-tag-picker/library/src/components/TagPickerControl/index.ts index d5c3bdfe8c941c..2f1b4ddddf4511 100644 --- a/packages/react-components/react-tag-picker/library/src/components/TagPickerControl/index.ts +++ b/packages/react-components/react-tag-picker/library/src/components/TagPickerControl/index.ts @@ -1,5 +1,5 @@ -export * from './TagPickerControl'; -export * from './TagPickerControl.types'; -export * from './renderTagPickerControl'; -export * from './useTagPickerControl'; -export * from './useTagPickerControlStyles.styles'; +export { TagPickerControl } from './TagPickerControl'; +export type { TagPickerControlCSSProperties, TagPickerControlInternalSlots, TagPickerControlProps, TagPickerControlSlots, TagPickerControlState } from './TagPickerControl.types'; +export { renderTagPickerControl_unstable } from './renderTagPickerControl'; +export { useTagPickerControl_unstable } from './useTagPickerControl'; +export { iconSizes, tagPickerControlAsideWidthToken, tagPickerControlClassNames, useTagPickerControlStyles_unstable } from './useTagPickerControlStyles.styles'; diff --git a/packages/react-components/react-tag-picker/library/src/components/TagPickerGroup/index.ts b/packages/react-components/react-tag-picker/library/src/components/TagPickerGroup/index.ts index e75865059992d7..f779ab992a19cd 100644 --- a/packages/react-components/react-tag-picker/library/src/components/TagPickerGroup/index.ts +++ b/packages/react-components/react-tag-picker/library/src/components/TagPickerGroup/index.ts @@ -1,5 +1,5 @@ -export * from './TagPickerGroup'; -export * from './TagPickerGroup.types'; -export * from './renderTagPickerGroup'; -export * from './useTagPickerGroup'; -export * from './useTagPickerGroupStyles.styles'; +export { TagPickerGroup } from './TagPickerGroup'; +export type { TagPickerGroupProps, TagPickerGroupSlots, TagPickerGroupState } from './TagPickerGroup.types'; +export { renderTagPickerGroup_unstable } from './renderTagPickerGroup'; +export { useTagPickerGroup_unstable } from './useTagPickerGroup'; +export { tagPickerGroupClassNames, useTagPickerGroupStyles_unstable } from './useTagPickerGroupStyles.styles'; diff --git a/packages/react-components/react-tag-picker/library/src/components/TagPickerInput/index.ts b/packages/react-components/react-tag-picker/library/src/components/TagPickerInput/index.ts index 6169b539d55b59..fadff01d521e82 100644 --- a/packages/react-components/react-tag-picker/library/src/components/TagPickerInput/index.ts +++ b/packages/react-components/react-tag-picker/library/src/components/TagPickerInput/index.ts @@ -1,5 +1,5 @@ -export * from './TagPickerInput'; -export * from './TagPickerInput.types'; -export * from './renderTagPickerInput'; -export * from './useTagPickerInput'; -export * from './useTagPickerInputStyles.styles'; +export { TagPickerInput } from './TagPickerInput'; +export type { TagPickerInputProps, TagPickerInputSlots, TagPickerInputState } from './TagPickerInput.types'; +export { renderTagPickerInput_unstable } from './renderTagPickerInput'; +export { useTagPickerInput_unstable } from './useTagPickerInput'; +export { tagPickerInputClassNames, useTagPickerInputStyles_unstable } from './useTagPickerInputStyles.styles'; diff --git a/packages/react-components/react-tag-picker/library/src/components/TagPickerList/index.ts b/packages/react-components/react-tag-picker/library/src/components/TagPickerList/index.ts index c27680fa39cda8..f5faf6760701ce 100644 --- a/packages/react-components/react-tag-picker/library/src/components/TagPickerList/index.ts +++ b/packages/react-components/react-tag-picker/library/src/components/TagPickerList/index.ts @@ -1,5 +1,5 @@ -export * from './TagPickerList'; -export * from './TagPickerList.types'; -export * from './renderTagPickerList'; -export * from './useTagPickerList'; -export * from './useTagPickerListStyles.styles'; +export { TagPickerList } from './TagPickerList'; +export type { TagPickerListProps, TagPickerListSlots, TagPickerListState } from './TagPickerList.types'; +export { renderTagPickerList_unstable } from './renderTagPickerList'; +export { useTagPickerList_unstable } from './useTagPickerList'; +export { tagPickerListClassNames, useTagPickerListStyles_unstable } from './useTagPickerListStyles.styles'; diff --git a/packages/react-components/react-tag-picker/library/src/components/TagPickerOption/index.ts b/packages/react-components/react-tag-picker/library/src/components/TagPickerOption/index.ts index 37b1b0435d532d..fb8dbdb250e0b7 100644 --- a/packages/react-components/react-tag-picker/library/src/components/TagPickerOption/index.ts +++ b/packages/react-components/react-tag-picker/library/src/components/TagPickerOption/index.ts @@ -1,5 +1,5 @@ -export * from './TagPickerOption'; -export * from './TagPickerOption.types'; -export * from './renderTagPickerOption'; -export * from './useTagPickerOption'; -export * from './useTagPickerOptionStyles.styles'; +export { TagPickerOption } from './TagPickerOption'; +export type { TagPickerOptionProps, TagPickerOptionSlots, TagPickerOptionState } from './TagPickerOption.types'; +export { renderTagPickerOption_unstable } from './renderTagPickerOption'; +export { useTagPickerOption_unstable } from './useTagPickerOption'; +export { tagPickerOptionClassNames, useTagPickerOptionStyles_unstable } from './useTagPickerOptionStyles.styles'; diff --git a/packages/react-components/react-tag-picker/library/src/components/TagPickerOptionGroup/index.ts b/packages/react-components/react-tag-picker/library/src/components/TagPickerOptionGroup/index.ts index 7adacaf72ef009..3e5704239f4cb6 100644 --- a/packages/react-components/react-tag-picker/library/src/components/TagPickerOptionGroup/index.ts +++ b/packages/react-components/react-tag-picker/library/src/components/TagPickerOptionGroup/index.ts @@ -1,5 +1,5 @@ -export * from './TagPickerOptionGroup'; -export * from './TagPickerOptionGroup.types'; -export * from './renderTagPickerOptionGroup'; -export * from './useTagPickerOptionGroup'; -export * from './useTagPickerOptionGroupStyles.styles'; +export { TagPickerOptionGroup } from './TagPickerOptionGroup'; +export type { TagPickerOptionGroupProps, TagPickerOptionGroupSlots, TagPickerOptionGroupState } from './TagPickerOptionGroup.types'; +export { renderTagPickerOptionGroup } from './renderTagPickerOptionGroup'; +export { useTagPickerOptionGroup } from './useTagPickerOptionGroup'; +export { tagPickerOptionGroupClassNames, useTagPickerOptionGroupStyles } from './useTagPickerOptionGroupStyles.styles'; diff --git a/packages/react-components/react-tags/library/src/InteractionTag.ts b/packages/react-components/react-tags/library/src/InteractionTag.ts index 8abec320d527ec..a778f585753bb2 100644 --- a/packages/react-components/react-tags/library/src/InteractionTag.ts +++ b/packages/react-components/react-tags/library/src/InteractionTag.ts @@ -1 +1,2 @@ -export * from './components/InteractionTag/index'; +export type { InteractionTagContextValues, InteractionTagProps, InteractionTagSlots, InteractionTagState } from './components/InteractionTag/index'; +export { InteractionTag, interactionTagClassNames, renderInteractionTag_unstable, useInteractionTagContextValues_unstable, useInteractionTagStyles_unstable, useInteractionTag_unstable } from './components/InteractionTag/index'; diff --git a/packages/react-components/react-tags/library/src/InteractionTagPrimary.ts b/packages/react-components/react-tags/library/src/InteractionTagPrimary.ts index 415e103e766775..86eb68ad9373d9 100644 --- a/packages/react-components/react-tags/library/src/InteractionTagPrimary.ts +++ b/packages/react-components/react-tags/library/src/InteractionTagPrimary.ts @@ -1 +1,2 @@ -export * from './components/InteractionTagPrimary/index'; +export type { InteractionTagPrimaryContextValues, InteractionTagPrimaryProps, InteractionTagPrimarySlots, InteractionTagPrimaryState } from './components/InteractionTagPrimary/index'; +export { InteractionTagPrimary, interactionTagPrimaryClassNames, renderInteractionTagPrimary_unstable, useInteractionTagPrimaryStyles_unstable, useInteractionTagPrimary_unstable } from './components/InteractionTagPrimary/index'; diff --git a/packages/react-components/react-tags/library/src/InteractionTagSecondary.ts b/packages/react-components/react-tags/library/src/InteractionTagSecondary.ts index 45856278b57592..91f5ce2a739a52 100644 --- a/packages/react-components/react-tags/library/src/InteractionTagSecondary.ts +++ b/packages/react-components/react-tags/library/src/InteractionTagSecondary.ts @@ -1 +1,2 @@ -export * from './components/InteractionTagSecondary/index'; +export type { InteractionTagSecondaryProps, InteractionTagSecondarySlots, InteractionTagSecondaryState } from './components/InteractionTagSecondary/index'; +export { InteractionTagSecondary, interactionTagSecondaryClassNames, renderInteractionTagSecondary_unstable, useInteractionTagSecondaryStyles_unstable, useInteractionTagSecondary_unstable } from './components/InteractionTagSecondary/index'; diff --git a/packages/react-components/react-tags/library/src/Tag.ts b/packages/react-components/react-tags/library/src/Tag.ts index c64c8c37bd8721..c5b1a88965ea73 100644 --- a/packages/react-components/react-tags/library/src/Tag.ts +++ b/packages/react-components/react-tags/library/src/Tag.ts @@ -1 +1,2 @@ -export * from './components/Tag/index'; +export type { TagContextValues, TagProps, TagSlots, TagState } from './components/Tag/index'; +export { Tag, renderTag_unstable, tagClassNames, useIconStyles, useMediaStyles, usePrimaryTextStyles, useSecondaryTextBaseClassName, useTagStyles_unstable, useTag_unstable } from './components/Tag/index'; diff --git a/packages/react-components/react-tags/library/src/TagGroup.ts b/packages/react-components/react-tags/library/src/TagGroup.ts index bdda9a5083ef64..f48731f45484dd 100644 --- a/packages/react-components/react-tags/library/src/TagGroup.ts +++ b/packages/react-components/react-tags/library/src/TagGroup.ts @@ -1 +1,2 @@ -export * from './components/TagGroup/index'; +export type { TagGroupContextValues, TagGroupProps, TagGroupSlots, TagGroupState } from './components/TagGroup/index'; +export { TagGroup, renderTagGroup_unstable, tagGroupClassNames, useTagGroupContextValues_unstable, useTagGroupStyles_unstable, useTagGroup_unstable } from './components/TagGroup/index'; diff --git a/packages/react-components/react-tags/library/src/components/InteractionTag/index.ts b/packages/react-components/react-tags/library/src/components/InteractionTag/index.ts index 67c0963d5cb16a..36ed29530c0b8f 100644 --- a/packages/react-components/react-tags/library/src/components/InteractionTag/index.ts +++ b/packages/react-components/react-tags/library/src/components/InteractionTag/index.ts @@ -1,6 +1,6 @@ -export * from './InteractionTag'; -export * from './InteractionTag.types'; -export * from './renderInteractionTag'; -export * from './useInteractionTag'; -export * from './useInteractionTagStyles.styles'; -export * from './useInteractionTagContextValues'; +export { InteractionTag } from './InteractionTag'; +export type { InteractionTagContextValues, InteractionTagProps, InteractionTagSlots, InteractionTagState } from './InteractionTag.types'; +export { renderInteractionTag_unstable } from './renderInteractionTag'; +export { useInteractionTag_unstable } from './useInteractionTag'; +export { interactionTagClassNames, useInteractionTagStyles_unstable } from './useInteractionTagStyles.styles'; +export { useInteractionTagContextValues_unstable } from './useInteractionTagContextValues'; diff --git a/packages/react-components/react-tags/library/src/components/InteractionTagPrimary/index.ts b/packages/react-components/react-tags/library/src/components/InteractionTagPrimary/index.ts index 8324a4232cc185..e0670b8871986e 100644 --- a/packages/react-components/react-tags/library/src/components/InteractionTagPrimary/index.ts +++ b/packages/react-components/react-tags/library/src/components/InteractionTagPrimary/index.ts @@ -1,5 +1,5 @@ -export * from './InteractionTagPrimary'; -export * from './InteractionTagPrimary.types'; -export * from './renderInteractionTagPrimary'; -export * from './useInteractionTagPrimary'; -export * from './useInteractionTagPrimaryStyles.styles'; +export { InteractionTagPrimary } from './InteractionTagPrimary'; +export type { InteractionTagPrimaryContextValues, InteractionTagPrimaryProps, InteractionTagPrimarySlots, InteractionTagPrimaryState } from './InteractionTagPrimary.types'; +export { renderInteractionTagPrimary_unstable } from './renderInteractionTagPrimary'; +export { useInteractionTagPrimary_unstable } from './useInteractionTagPrimary'; +export { interactionTagPrimaryClassNames, useInteractionTagPrimaryStyles_unstable } from './useInteractionTagPrimaryStyles.styles'; diff --git a/packages/react-components/react-tags/library/src/components/InteractionTagSecondary/index.ts b/packages/react-components/react-tags/library/src/components/InteractionTagSecondary/index.ts index 87076d0604879a..504568c0786214 100644 --- a/packages/react-components/react-tags/library/src/components/InteractionTagSecondary/index.ts +++ b/packages/react-components/react-tags/library/src/components/InteractionTagSecondary/index.ts @@ -1,5 +1,5 @@ -export * from './InteractionTagSecondary'; -export * from './InteractionTagSecondary.types'; -export * from './renderInteractionTagSecondary'; -export * from './useInteractionTagSecondary'; -export * from './useInteractionTagSecondaryStyles.styles'; +export { InteractionTagSecondary } from './InteractionTagSecondary'; +export type { InteractionTagSecondaryProps, InteractionTagSecondarySlots, InteractionTagSecondaryState } from './InteractionTagSecondary.types'; +export { renderInteractionTagSecondary_unstable } from './renderInteractionTagSecondary'; +export { useInteractionTagSecondary_unstable } from './useInteractionTagSecondary'; +export { interactionTagSecondaryClassNames, useInteractionTagSecondaryStyles_unstable } from './useInteractionTagSecondaryStyles.styles'; diff --git a/packages/react-components/react-tags/library/src/components/Tag/index.ts b/packages/react-components/react-tags/library/src/components/Tag/index.ts index a44c9ce425d76c..83ad0c30bae620 100644 --- a/packages/react-components/react-tags/library/src/components/Tag/index.ts +++ b/packages/react-components/react-tags/library/src/components/Tag/index.ts @@ -1,5 +1,5 @@ -export * from './Tag'; -export * from './Tag.types'; -export * from './renderTag'; -export * from './useTag'; -export * from './useTagStyles.styles'; +export { Tag } from './Tag'; +export type { TagContextValues, TagProps, TagSlots, TagState } from './Tag.types'; +export { renderTag_unstable } from './renderTag'; +export { useTag_unstable } from './useTag'; +export { tagClassNames, useIconStyles, useMediaStyles, usePrimaryTextStyles, useSecondaryTextBaseClassName, useTagStyles_unstable } from './useTagStyles.styles'; diff --git a/packages/react-components/react-tags/library/src/components/TagGroup/index.ts b/packages/react-components/react-tags/library/src/components/TagGroup/index.ts index 6e3389e03b2961..34326f18840701 100644 --- a/packages/react-components/react-tags/library/src/components/TagGroup/index.ts +++ b/packages/react-components/react-tags/library/src/components/TagGroup/index.ts @@ -1,6 +1,6 @@ -export * from './TagGroup'; -export * from './TagGroup.types'; -export * from './renderTagGroup'; -export * from './useTagGroup'; -export * from './useTagGroupStyles.styles'; -export * from './useTagGroupContextValues'; +export { TagGroup } from './TagGroup'; +export type { TagGroupContextValues, TagGroupProps, TagGroupSlots, TagGroupState } from './TagGroup.types'; +export { renderTagGroup_unstable } from './renderTagGroup'; +export { useTagGroup_unstable } from './useTagGroup'; +export { tagGroupClassNames, useTagGroupStyles_unstable } from './useTagGroupStyles.styles'; +export { useTagGroupContextValues_unstable } from './useTagGroupContextValues'; diff --git a/packages/react-components/react-tags/library/src/utils/index.ts b/packages/react-components/react-tags/library/src/utils/index.ts index 22d7be3b3008bc..133ba021dd3db6 100644 --- a/packages/react-components/react-tags/library/src/utils/index.ts +++ b/packages/react-components/react-tags/library/src/utils/index.ts @@ -1,2 +1,3 @@ -export * from './types'; -export * from './useTagAvatarContextValues'; +export type { TagAppearance, TagDismissData, TagDismissEvent, TagDismissHandler, TagShape, TagSize, TagValue } from './types'; +export type { TagAvatarContextValues, UseTagAvatarContextValuesOptions } from './useTagAvatarContextValues'; +export { useTagAvatarContextValues_unstable } from './useTagAvatarContextValues'; diff --git a/packages/react-components/react-timepicker-compat/library/src/TimePicker.ts b/packages/react-components/react-timepicker-compat/library/src/TimePicker.ts index fb8fc412805e6d..4cd274fcc2bd6f 100644 --- a/packages/react-components/react-timepicker-compat/library/src/TimePicker.ts +++ b/packages/react-components/react-timepicker-compat/library/src/TimePicker.ts @@ -1 +1,2 @@ -export * from './components/TimePicker/index'; +export type { Hour, TimeFormatOptions, TimePickerErrorType, TimePickerOption, TimePickerProps, TimePickerSlots, TimePickerState, TimeSelectionData, TimeSelectionEvents, TimeStringValidationResult } from './components/TimePicker/index'; +export { TimePicker, formatDateToTimeString, timePickerClassNames, useTimePickerStyles_unstable, useTimePicker_unstable } from './components/TimePicker/index'; diff --git a/packages/react-components/react-timepicker-compat/library/src/components/TimePicker/index.ts b/packages/react-components/react-timepicker-compat/library/src/components/TimePicker/index.ts index ec9749b359c983..0718a09d82de1a 100644 --- a/packages/react-components/react-timepicker-compat/library/src/components/TimePicker/index.ts +++ b/packages/react-components/react-timepicker-compat/library/src/components/TimePicker/index.ts @@ -1,5 +1,5 @@ -export * from './TimePicker'; -export * from './TimePicker.types'; -export * from './useTimePicker'; -export * from './useTimePickerStyles.styles'; +export { TimePicker } from './TimePicker'; +export type { Hour, TimeFormatOptions, TimePickerErrorType, TimePickerOption, TimePickerProps, TimePickerSlots, TimePickerState, TimeSelectionData, TimeSelectionEvents, TimeStringValidationResult } from './TimePicker.types'; +export { useTimePicker_unstable } from './useTimePicker'; +export { timePickerClassNames, useTimePickerStyles_unstable } from './useTimePickerStyles.styles'; export { formatDateToTimeString } from './timeMath'; diff --git a/packages/react-components/react-toast/library/src/AriaLive.ts b/packages/react-components/react-toast/library/src/AriaLive.ts index 291247fe8d4d76..e473fbaca85a40 100644 --- a/packages/react-components/react-toast/library/src/AriaLive.ts +++ b/packages/react-components/react-toast/library/src/AriaLive.ts @@ -1 +1,2 @@ -export * from './components/AriaLive/index'; +export type { Announce, AnnounceOptions, AriaLivePoliteness, AriaLiveProps, AriaLiveSlots, AriaLiveState, LiveMessage } from './components/AriaLive/index'; +export { AriaLive, ariaLiveClassNames, renderAriaLive_unstable, useAriaLiveStyles_unstable, useAriaLive_unstable } from './components/AriaLive/index'; diff --git a/packages/react-components/react-toast/library/src/Toast.ts b/packages/react-components/react-toast/library/src/Toast.ts index a84c38a13fc605..670cb0ed83374d 100644 --- a/packages/react-components/react-toast/library/src/Toast.ts +++ b/packages/react-components/react-toast/library/src/Toast.ts @@ -1 +1,2 @@ -export * from './components/Toast/index'; +export type { ToastContextValues, ToastProps, ToastSlots, ToastState } from './components/Toast/index'; +export { Toast, renderToast_unstable, toastClassNames, useToastStyles_unstable, useToast_unstable } from './components/Toast/index'; diff --git a/packages/react-components/react-toast/library/src/ToastBody.ts b/packages/react-components/react-toast/library/src/ToastBody.ts index 526fb1959cccd9..06576f7c874b05 100644 --- a/packages/react-components/react-toast/library/src/ToastBody.ts +++ b/packages/react-components/react-toast/library/src/ToastBody.ts @@ -1 +1,2 @@ -export * from './components/ToastBody/index'; +export type { ToastBodyProps, ToastBodySlots, ToastBodyState } from './components/ToastBody/index'; +export { ToastBody, renderToastBody_unstable, toastBodyClassNames, useToastBodyStyles_unstable, useToastBody_unstable } from './components/ToastBody/index'; diff --git a/packages/react-components/react-toast/library/src/ToastContainer.ts b/packages/react-components/react-toast/library/src/ToastContainer.ts index 14ef7e7a4fff6e..8f92b82ee4406f 100644 --- a/packages/react-components/react-toast/library/src/ToastContainer.ts +++ b/packages/react-components/react-toast/library/src/ToastContainer.ts @@ -1 +1,2 @@ -export * from './components/ToastContainer/index'; +export type { ToastContainerContextValues, ToastContainerProps, ToastContainerSlots, ToastContainerState } from './components/ToastContainer/index'; +export { ToastContainer, renderToastContainer_unstable, toastContainerClassNames, useToastContainerContextValues_unstable, useToastContainerStyles_unstable, useToastContainer_unstable } from './components/ToastContainer/index'; diff --git a/packages/react-components/react-toast/library/src/ToastFooter.ts b/packages/react-components/react-toast/library/src/ToastFooter.ts index 1a569b6d26a6d7..b7c237030fc560 100644 --- a/packages/react-components/react-toast/library/src/ToastFooter.ts +++ b/packages/react-components/react-toast/library/src/ToastFooter.ts @@ -1 +1,2 @@ -export * from './components/ToastFooter/index'; +export type { ToastFooterProps, ToastFooterSlots, ToastFooterState } from './components/ToastFooter/index'; +export { ToastFooter, renderToastFooter_unstable, toastFooterClassNames, useToastFooterStyles_unstable, useToastFooter_unstable } from './components/ToastFooter/index'; diff --git a/packages/react-components/react-toast/library/src/ToastTitle.ts b/packages/react-components/react-toast/library/src/ToastTitle.ts index 3424a5dcbc301d..0411178808b233 100644 --- a/packages/react-components/react-toast/library/src/ToastTitle.ts +++ b/packages/react-components/react-toast/library/src/ToastTitle.ts @@ -1 +1,2 @@ -export * from './components/ToastTitle/index'; +export type { ToastTitleProps, ToastTitleSlots, ToastTitleState } from './components/ToastTitle/index'; +export { ToastTitle, renderToastTitle_unstable, toastTitleClassNames, useToastTitleStyles_unstable, useToastTitle_unstable } from './components/ToastTitle/index'; diff --git a/packages/react-components/react-toast/library/src/ToastTrigger.ts b/packages/react-components/react-toast/library/src/ToastTrigger.ts index cf4c8faaa47a2c..d50c3b4547f2d1 100644 --- a/packages/react-components/react-toast/library/src/ToastTrigger.ts +++ b/packages/react-components/react-toast/library/src/ToastTrigger.ts @@ -1 +1,2 @@ -export * from './components/ToastTrigger/index'; +export type { ToastTriggerChildProps, ToastTriggerProps, ToastTriggerState } from './components/ToastTrigger/index'; +export { ToastTrigger, renderToastTrigger_unstable, useToastTrigger_unstable } from './components/ToastTrigger/index'; diff --git a/packages/react-components/react-toast/library/src/Toaster.ts b/packages/react-components/react-toast/library/src/Toaster.ts index 6ace34b6a3d250..ef90ebcb20881d 100644 --- a/packages/react-components/react-toast/library/src/Toaster.ts +++ b/packages/react-components/react-toast/library/src/Toaster.ts @@ -1 +1,2 @@ -export * from './components/Toaster/index'; +export type { ToasterProps, ToasterSlots, ToasterSlotsInternal, ToasterState } from './components/Toaster/index'; +export { Toaster, renderToaster_unstable, toasterClassNames, useToasterStyles_unstable, useToaster_unstable } from './components/Toaster/index'; diff --git a/packages/react-components/react-toast/library/src/components/AriaLive/index.ts b/packages/react-components/react-toast/library/src/components/AriaLive/index.ts index 316b41d19b2b27..1267f0fa132703 100644 --- a/packages/react-components/react-toast/library/src/components/AriaLive/index.ts +++ b/packages/react-components/react-toast/library/src/components/AriaLive/index.ts @@ -1,5 +1,5 @@ -export * from './AriaLive'; -export * from './AriaLive.types'; -export * from './renderAriaLive'; -export * from './useAriaLive'; -export * from './useAriaLiveStyles.styles'; +export { AriaLive } from './AriaLive'; +export type { Announce, AnnounceOptions, AriaLivePoliteness, AriaLiveProps, AriaLiveSlots, AriaLiveState, LiveMessage } from './AriaLive.types'; +export { renderAriaLive_unstable } from './renderAriaLive'; +export { useAriaLive_unstable } from './useAriaLive'; +export { ariaLiveClassNames, useAriaLiveStyles_unstable } from './useAriaLiveStyles.styles'; diff --git a/packages/react-components/react-toast/library/src/components/Timer/index.ts b/packages/react-components/react-toast/library/src/components/Timer/index.ts index e79e25f75ab3a2..91abb976d756d1 100644 --- a/packages/react-components/react-toast/library/src/components/Timer/index.ts +++ b/packages/react-components/react-toast/library/src/components/Timer/index.ts @@ -1 +1,2 @@ -export * from './Timer'; +export type { TimerProps } from './Timer'; +export { Timer } from './Timer'; diff --git a/packages/react-components/react-toast/library/src/components/Toast/index.ts b/packages/react-components/react-toast/library/src/components/Toast/index.ts index 0bd595944fb22a..1e9d2f2c992310 100644 --- a/packages/react-components/react-toast/library/src/components/Toast/index.ts +++ b/packages/react-components/react-toast/library/src/components/Toast/index.ts @@ -1,5 +1,5 @@ -export * from './Toast'; -export * from './Toast.types'; -export * from './renderToast'; -export * from './useToast'; -export * from './useToastStyles.styles'; +export { Toast } from './Toast'; +export type { ToastContextValues, ToastProps, ToastSlots, ToastState } from './Toast.types'; +export { renderToast_unstable } from './renderToast'; +export { useToast_unstable } from './useToast'; +export { toastClassNames, useToastStyles_unstable } from './useToastStyles.styles'; diff --git a/packages/react-components/react-toast/library/src/components/ToastBody/index.ts b/packages/react-components/react-toast/library/src/components/ToastBody/index.ts index e6021a19a6001c..2903dea7132ad7 100644 --- a/packages/react-components/react-toast/library/src/components/ToastBody/index.ts +++ b/packages/react-components/react-toast/library/src/components/ToastBody/index.ts @@ -1,5 +1,5 @@ -export * from './ToastBody'; -export * from './ToastBody.types'; -export * from './renderToastBody'; -export * from './useToastBody'; -export * from './useToastBodyStyles.styles'; +export { ToastBody } from './ToastBody'; +export type { ToastBodyProps, ToastBodySlots, ToastBodyState } from './ToastBody.types'; +export { renderToastBody_unstable } from './renderToastBody'; +export { useToastBody_unstable } from './useToastBody'; +export { toastBodyClassNames, useToastBodyStyles_unstable } from './useToastBodyStyles.styles'; diff --git a/packages/react-components/react-toast/library/src/components/ToastContainer/index.ts b/packages/react-components/react-toast/library/src/components/ToastContainer/index.ts index 01a852c24989ac..669061ef5dfd0f 100644 --- a/packages/react-components/react-toast/library/src/components/ToastContainer/index.ts +++ b/packages/react-components/react-toast/library/src/components/ToastContainer/index.ts @@ -1,6 +1,6 @@ -export * from './ToastContainer'; -export * from './ToastContainer.types'; -export * from './renderToastContainer'; -export * from './useToastContainer'; -export * from './useToastContainerStyles.styles'; -export * from './useToastContainerContextValues'; +export { ToastContainer } from './ToastContainer'; +export type { ToastContainerContextValues, ToastContainerProps, ToastContainerSlots, ToastContainerState } from './ToastContainer.types'; +export { renderToastContainer_unstable } from './renderToastContainer'; +export { useToastContainer_unstable } from './useToastContainer'; +export { toastContainerClassNames, useToastContainerStyles_unstable } from './useToastContainerStyles.styles'; +export { useToastContainerContextValues_unstable } from './useToastContainerContextValues'; diff --git a/packages/react-components/react-toast/library/src/components/ToastFooter/index.ts b/packages/react-components/react-toast/library/src/components/ToastFooter/index.ts index dfd6de50783477..f22e5bdb09d6ae 100644 --- a/packages/react-components/react-toast/library/src/components/ToastFooter/index.ts +++ b/packages/react-components/react-toast/library/src/components/ToastFooter/index.ts @@ -1,5 +1,5 @@ -export * from './ToastFooter'; -export * from './ToastFooter.types'; -export * from './renderToastFooter'; -export * from './useToastFooter'; -export * from './useToastFooterStyles.styles'; +export { ToastFooter } from './ToastFooter'; +export type { ToastFooterProps, ToastFooterSlots, ToastFooterState } from './ToastFooter.types'; +export { renderToastFooter_unstable } from './renderToastFooter'; +export { useToastFooter_unstable } from './useToastFooter'; +export { toastFooterClassNames, useToastFooterStyles_unstable } from './useToastFooterStyles.styles'; diff --git a/packages/react-components/react-toast/library/src/components/ToastTitle/index.ts b/packages/react-components/react-toast/library/src/components/ToastTitle/index.ts index 951ef82050691a..6d187294dcfd22 100644 --- a/packages/react-components/react-toast/library/src/components/ToastTitle/index.ts +++ b/packages/react-components/react-toast/library/src/components/ToastTitle/index.ts @@ -1,5 +1,5 @@ -export * from './ToastTitle'; -export * from './ToastTitle.types'; -export * from './renderToastTitle'; -export * from './useToastTitle'; -export * from './useToastTitleStyles.styles'; +export { ToastTitle } from './ToastTitle'; +export type { ToastTitleProps, ToastTitleSlots, ToastTitleState } from './ToastTitle.types'; +export { renderToastTitle_unstable } from './renderToastTitle'; +export { useToastTitle_unstable } from './useToastTitle'; +export { toastTitleClassNames, useToastTitleStyles_unstable } from './useToastTitleStyles.styles'; diff --git a/packages/react-components/react-toast/library/src/components/ToastTrigger/index.ts b/packages/react-components/react-toast/library/src/components/ToastTrigger/index.ts index eeebe9bf177181..e2406eecda7d84 100644 --- a/packages/react-components/react-toast/library/src/components/ToastTrigger/index.ts +++ b/packages/react-components/react-toast/library/src/components/ToastTrigger/index.ts @@ -1,4 +1,4 @@ -export * from './ToastTrigger'; -export * from './ToastTrigger.types'; -export * from './renderToastTrigger'; -export * from './useToastTrigger'; +export { ToastTrigger } from './ToastTrigger'; +export type { ToastTriggerChildProps, ToastTriggerProps, ToastTriggerState } from './ToastTrigger.types'; +export { renderToastTrigger_unstable } from './renderToastTrigger'; +export { useToastTrigger_unstable } from './useToastTrigger'; diff --git a/packages/react-components/react-toast/library/src/components/Toaster/index.ts b/packages/react-components/react-toast/library/src/components/Toaster/index.ts index de600cc9f25bb4..17a0deb7f8eb8a 100644 --- a/packages/react-components/react-toast/library/src/components/Toaster/index.ts +++ b/packages/react-components/react-toast/library/src/components/Toaster/index.ts @@ -1,5 +1,5 @@ -export * from './Toaster'; -export * from './Toaster.types'; -export * from './renderToaster'; -export * from './useToaster'; -export * from './useToasterStyles.styles'; +export { Toaster } from './Toaster'; +export type { ToasterProps, ToasterSlots, ToasterSlotsInternal, ToasterState } from './Toaster.types'; +export { renderToaster_unstable } from './renderToaster'; +export { useToaster_unstable } from './useToaster'; +export { toasterClassNames, useToasterStyles_unstable } from './useToasterStyles.styles'; diff --git a/packages/react-components/react-toast/library/src/state/index.ts b/packages/react-components/react-toast/library/src/state/index.ts index 33a93fc5349ebe..d1278d7624346e 100644 --- a/packages/react-components/react-toast/library/src/state/index.ts +++ b/packages/react-components/react-toast/library/src/state/index.ts @@ -1,5 +1,5 @@ -export * from './types'; -export * from './useToaster'; -export * from './useToastController'; +export type { CommonToastDetail, DismissAllToastsEventDetail, DismissToastEventDetail, DispatchToastOptions, PauseToastEventDetail, PlayToastEventDetail, ShowToastEventDetail, Toast, ToastChangeData, ToastChangeHandler, ToastId, ToastImperativeRef, ToastIntent, ToastListenerMap, ToastOffset, ToastOffsetObject, ToastOptions, ToastPoliteness, ToastPosition, ToastStatus, ToasterId, ToasterOptions, ToasterShortcuts, UpdateToastEventDetail, UpdateToastOptions } from './types'; +export { useToaster } from './useToaster'; +export { useToastController } from './useToastController'; export { getPositionStyles } from './vanilla'; export { TOAST_POSITIONS } from './constants'; diff --git a/packages/react-components/react-toast/library/src/state/vanilla/index.ts b/packages/react-components/react-toast/library/src/state/vanilla/index.ts index 42696f86e611ef..3b3ad8dc85d7e5 100644 --- a/packages/react-components/react-toast/library/src/state/vanilla/index.ts +++ b/packages/react-components/react-toast/library/src/state/vanilla/index.ts @@ -1,8 +1,8 @@ -export * from './dispatchToast'; -export * from './dismissToast'; -export * from './dismissAllToasts'; -export * from './updateToast'; -export * from './pauseToast'; -export * from './playToast'; -export * from './createToaster'; -export * from './getPositionStyles'; +export { dispatchToast } from './dispatchToast'; +export { dismissToast } from './dismissToast'; +export { dismissAllToasts } from './dismissAllToasts'; +export { updateToast } from './updateToast'; +export { pauseToast } from './pauseToast'; +export { playToast } from './playToast'; +export { createToaster } from './createToaster'; +export { getPositionStyles } from './getPositionStyles'; diff --git a/packages/react-components/react-toolbar/library/src/Toolbar.ts b/packages/react-components/react-toolbar/library/src/Toolbar.ts index 28054e118d85c9..958ce7b69b8530 100644 --- a/packages/react-components/react-toolbar/library/src/Toolbar.ts +++ b/packages/react-components/react-toolbar/library/src/Toolbar.ts @@ -1 +1,2 @@ -export * from './components/Toolbar/index'; +export type { ToggableHandler, ToolbarCheckedValueChangeData, ToolbarCheckedValueChangeEvent, ToolbarContextValue, ToolbarContextValues, ToolbarProps, ToolbarSlots, ToolbarState, UninitializedToolbarState } from './components/Toolbar/index'; +export { Toolbar, renderToolbar_unstable, toolbarClassNames, useToolbarStyles_unstable, useToolbar_unstable } from './components/Toolbar/index'; diff --git a/packages/react-components/react-toolbar/library/src/ToolbarButton.ts b/packages/react-components/react-toolbar/library/src/ToolbarButton.ts index d4d1dbf4ef7a5d..5478a0bcab769a 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarButton.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarButton.ts @@ -1 +1,2 @@ -export * from './components/ToolbarButton/index'; +export type { ToolbarButtonProps, ToolbarButtonState } from './components/ToolbarButton/index'; +export { ToolbarButton, useToolbarButtonStyles_unstable, useToolbarButton_unstable } from './components/ToolbarButton/index'; diff --git a/packages/react-components/react-toolbar/library/src/ToolbarDivider.ts b/packages/react-components/react-toolbar/library/src/ToolbarDivider.ts index f44a13f015a731..aec363a1feaffa 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarDivider.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarDivider.ts @@ -1 +1,2 @@ -export * from './components/ToolbarDivider/index'; +export type { ToolbarDividerProps, ToolbarDividerState } from './components/ToolbarDivider/index'; +export { ToolbarDivider, useToolbarDividerStyles_unstable, useToolbarDivider_unstable } from './components/ToolbarDivider/index'; diff --git a/packages/react-components/react-toolbar/library/src/ToolbarGroup.ts b/packages/react-components/react-toolbar/library/src/ToolbarGroup.ts index 2b1e4dc667a6ff..bfc5e375312e03 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarGroup.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarGroup.ts @@ -1 +1,2 @@ -export * from './components/ToolbarGroup/index'; +export type { ToolbarGroupProps, ToolbarGroupSlots, ToolbarGroupState } from './components/ToolbarGroup/index'; +export { ToolbarGroup, renderToolbarGroup_unstable, toolbarGroupClassNames, useToolbarGroupStyles_unstable, useToolbarGroup_unstable } from './components/ToolbarGroup/index'; diff --git a/packages/react-components/react-toolbar/library/src/ToolbarRadioButton.ts b/packages/react-components/react-toolbar/library/src/ToolbarRadioButton.ts index 2f5842a8c450c3..bd9ec18e224e24 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarRadioButton.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarRadioButton.ts @@ -1 +1,2 @@ -export * from './components/ToolbarRadioButton/index'; +export type { ToolbarRadioButtonProps, ToolbarRadioButtonState } from './components/ToolbarRadioButton/index'; +export { ToolbarRadioButton, useToolbarRadioButtonStyles_unstable, useToolbarRadioButton_unstable } from './components/ToolbarRadioButton/index'; diff --git a/packages/react-components/react-toolbar/library/src/ToolbarRadioGroup.ts b/packages/react-components/react-toolbar/library/src/ToolbarRadioGroup.ts index f88bc1454546d9..512cd4dbcc7ff3 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarRadioGroup.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarRadioGroup.ts @@ -1 +1,2 @@ -export * from './components/ToolbarRadioGroup/index'; +export type { ToolbarRadioGroupProps, ToolbarRadioGroupSlots, ToolbarRadioGroupState } from './components/ToolbarRadioGroup/index'; +export { ToolbarRadioGroup } from './components/ToolbarRadioGroup/index'; diff --git a/packages/react-components/react-toolbar/library/src/ToolbarToggleButton.ts b/packages/react-components/react-toolbar/library/src/ToolbarToggleButton.ts index 37c1d5cf712b5f..2674e1b76288c8 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarToggleButton.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarToggleButton.ts @@ -1 +1,2 @@ -export * from './components/ToolbarToggleButton/index'; +export type { ToolbarToggleButtonProps, ToolbarToggleButtonState } from './components/ToolbarToggleButton/index'; +export { ToolbarToggleButton, useToolbarToggleButtonStyles_unstable, useToolbarToggleButton_unstable } from './components/ToolbarToggleButton/index'; diff --git a/packages/react-components/react-toolbar/library/src/components/Toolbar/index.ts b/packages/react-components/react-toolbar/library/src/components/Toolbar/index.ts index 69923b5119d08d..2b8d20e6bb455a 100644 --- a/packages/react-components/react-toolbar/library/src/components/Toolbar/index.ts +++ b/packages/react-components/react-toolbar/library/src/components/Toolbar/index.ts @@ -1,5 +1,5 @@ -export * from './Toolbar'; -export * from './Toolbar.types'; -export * from './renderToolbar'; -export * from './useToolbar'; -export * from './useToolbarStyles.styles'; +export { Toolbar } from './Toolbar'; +export type { ToggableHandler, ToolbarCheckedValueChangeData, ToolbarCheckedValueChangeEvent, ToolbarContextValue, ToolbarContextValues, ToolbarProps, ToolbarSlots, ToolbarState, UninitializedToolbarState } from './Toolbar.types'; +export { renderToolbar_unstable } from './renderToolbar'; +export { useToolbar_unstable } from './useToolbar'; +export { toolbarClassNames, useToolbarStyles_unstable } from './useToolbarStyles.styles'; diff --git a/packages/react-components/react-toolbar/library/src/components/ToolbarButton/index.ts b/packages/react-components/react-toolbar/library/src/components/ToolbarButton/index.ts index 07f7480541e08c..3a57f4c24f720a 100644 --- a/packages/react-components/react-toolbar/library/src/components/ToolbarButton/index.ts +++ b/packages/react-components/react-toolbar/library/src/components/ToolbarButton/index.ts @@ -1,4 +1,4 @@ -export * from './ToolbarButton'; -export * from './ToolbarButton.types'; -export * from './useToolbarButton'; -export * from './useToolbarButtonStyles.styles'; +export { ToolbarButton } from './ToolbarButton'; +export type { ToolbarButtonProps, ToolbarButtonState } from './ToolbarButton.types'; +export { useToolbarButton_unstable } from './useToolbarButton'; +export { useToolbarButtonStyles_unstable } from './useToolbarButtonStyles.styles'; diff --git a/packages/react-components/react-toolbar/library/src/components/ToolbarDivider/index.ts b/packages/react-components/react-toolbar/library/src/components/ToolbarDivider/index.ts index 0ebab6cffe8480..d7acee4b804e47 100644 --- a/packages/react-components/react-toolbar/library/src/components/ToolbarDivider/index.ts +++ b/packages/react-components/react-toolbar/library/src/components/ToolbarDivider/index.ts @@ -1,4 +1,4 @@ -export * from './ToolbarDivider'; -export * from './ToolbarDivider.types'; -export * from './useToolbarDividerStyles.styles'; -export * from './useToolbarDivider'; +export { ToolbarDivider } from './ToolbarDivider'; +export type { ToolbarDividerProps, ToolbarDividerState } from './ToolbarDivider.types'; +export { useToolbarDividerStyles_unstable } from './useToolbarDividerStyles.styles'; +export { useToolbarDivider_unstable } from './useToolbarDivider'; diff --git a/packages/react-components/react-toolbar/library/src/components/ToolbarGroup/index.ts b/packages/react-components/react-toolbar/library/src/components/ToolbarGroup/index.ts index 66bd4a383dbdc9..86771e074ef793 100644 --- a/packages/react-components/react-toolbar/library/src/components/ToolbarGroup/index.ts +++ b/packages/react-components/react-toolbar/library/src/components/ToolbarGroup/index.ts @@ -1,5 +1,5 @@ -export * from './ToolbarGroup'; -export * from './ToolbarGroup.types'; -export * from './useToolbarGroup'; -export * from './useToolbarGroupStyles.styles'; -export * from './renderToolbarGroup'; +export { ToolbarGroup } from './ToolbarGroup'; +export type { ToolbarGroupProps, ToolbarGroupSlots, ToolbarGroupState } from './ToolbarGroup.types'; +export { useToolbarGroup_unstable } from './useToolbarGroup'; +export { toolbarGroupClassNames, useToolbarGroupStyles_unstable } from './useToolbarGroupStyles.styles'; +export { renderToolbarGroup_unstable } from './renderToolbarGroup'; diff --git a/packages/react-components/react-toolbar/library/src/components/ToolbarRadioButton/index.ts b/packages/react-components/react-toolbar/library/src/components/ToolbarRadioButton/index.ts index b3e066045727ef..29645506076ba8 100644 --- a/packages/react-components/react-toolbar/library/src/components/ToolbarRadioButton/index.ts +++ b/packages/react-components/react-toolbar/library/src/components/ToolbarRadioButton/index.ts @@ -1,4 +1,4 @@ -export * from './ToolbarRadioButton'; -export * from './ToolbarRadioButton.types'; -export * from './useToolbarRadioButton'; -export * from './useToolbarRadioButtonStyles.styles'; +export { ToolbarRadioButton } from './ToolbarRadioButton'; +export type { ToolbarRadioButtonProps, ToolbarRadioButtonState } from './ToolbarRadioButton.types'; +export { useToolbarRadioButton_unstable } from './useToolbarRadioButton'; +export { useToolbarRadioButtonStyles_unstable } from './useToolbarRadioButtonStyles.styles'; diff --git a/packages/react-components/react-toolbar/library/src/components/ToolbarRadioGroup/index.ts b/packages/react-components/react-toolbar/library/src/components/ToolbarRadioGroup/index.ts index fb331a3a89ff35..dc586dc54c84a5 100644 --- a/packages/react-components/react-toolbar/library/src/components/ToolbarRadioGroup/index.ts +++ b/packages/react-components/react-toolbar/library/src/components/ToolbarRadioGroup/index.ts @@ -1,2 +1,2 @@ -export * from './ToolbarRadioGroup'; -export * from './ToolbarRadioGroup.types'; +export { ToolbarRadioGroup } from './ToolbarRadioGroup'; +export type { ToolbarRadioGroupProps, ToolbarRadioGroupSlots, ToolbarRadioGroupState } from './ToolbarRadioGroup.types'; diff --git a/packages/react-components/react-toolbar/library/src/components/ToolbarToggleButton/index.ts b/packages/react-components/react-toolbar/library/src/components/ToolbarToggleButton/index.ts index cfd874ac1e2cea..46fdf040e4d420 100644 --- a/packages/react-components/react-toolbar/library/src/components/ToolbarToggleButton/index.ts +++ b/packages/react-components/react-toolbar/library/src/components/ToolbarToggleButton/index.ts @@ -1,4 +1,4 @@ -export * from './ToolbarToggleButton'; -export * from './ToolbarToggleButton.types'; -export * from './useToolbarToggleButton'; -export * from './useToolbarToggleButtonStyles.styles'; +export { ToolbarToggleButton } from './ToolbarToggleButton'; +export type { ToolbarToggleButtonProps, ToolbarToggleButtonState } from './ToolbarToggleButton.types'; +export { useToolbarToggleButton_unstable } from './useToolbarToggleButton'; +export { useToolbarToggleButtonStyles_unstable } from './useToolbarToggleButtonStyles.styles'; diff --git a/packages/react-components/react-tree/library/src/FlatTree.ts b/packages/react-components/react-tree/library/src/FlatTree.ts index b6782abc82e9aa..b862e6b4be93ad 100644 --- a/packages/react-components/react-tree/library/src/FlatTree.ts +++ b/packages/react-components/react-tree/library/src/FlatTree.ts @@ -1 +1,2 @@ -export * from './components/FlatTree/index'; +export type { FlatTreeContextValues, FlatTreeProps, FlatTreeSlots, FlatTreeState, HeadlessFlatTree, HeadlessFlatTreeItem, HeadlessFlatTreeItemProps, HeadlessFlatTreeOptions } from './components/FlatTree/index'; +export { FlatTree, flatTreeClassNames, renderFlatTree_unstable, useFlatTreeContextValues_unstable, useFlatTreeStyles_unstable, useFlatTree_unstable, useHeadlessFlatTree_unstable } from './components/FlatTree/index'; diff --git a/packages/react-components/react-tree/library/src/FlatTreeItem.ts b/packages/react-components/react-tree/library/src/FlatTreeItem.ts index e048fad1a78f9e..85dd37cadbb1e4 100644 --- a/packages/react-components/react-tree/library/src/FlatTreeItem.ts +++ b/packages/react-components/react-tree/library/src/FlatTreeItem.ts @@ -1 +1,2 @@ -export * from './components/FlatTreeItem/index'; +export type { FlatTreeItemProps } from './components/FlatTreeItem/index'; +export { FlatTreeItem } from './components/FlatTreeItem/index'; diff --git a/packages/react-components/react-tree/library/src/Tree.ts b/packages/react-components/react-tree/library/src/Tree.ts index 9b58f50550fcc9..a36c3b11f73f78 100644 --- a/packages/react-components/react-tree/library/src/Tree.ts +++ b/packages/react-components/react-tree/library/src/Tree.ts @@ -1 +1,2 @@ -export * from './components/Tree/index'; +export type { TreeCheckedChangeData, TreeCheckedChangeEvent, TreeContextValues, TreeNavigationData_unstable, TreeNavigationEvent_unstable, TreeOpenChangeData, TreeOpenChangeEvent, TreeProps, TreeSelectionValue, TreeSlots, TreeState } from './components/Tree/index'; +export { Tree, renderTree_unstable, treeClassNames, useTreeContextValues_unstable, useTreeStyles_unstable, useTree_unstable } from './components/Tree/index'; diff --git a/packages/react-components/react-tree/library/src/TreeItem.ts b/packages/react-components/react-tree/library/src/TreeItem.ts index 017ab04d8956bd..f9d109c70c01bc 100644 --- a/packages/react-components/react-tree/library/src/TreeItem.ts +++ b/packages/react-components/react-tree/library/src/TreeItem.ts @@ -1 +1,2 @@ -export * from './components/TreeItem/index'; +export type { TreeItemCSSProperties, TreeItemContextValues, TreeItemOpenChangeData, TreeItemOpenChangeEvent, TreeItemProps, TreeItemSlots, TreeItemState, TreeItemType, TreeItemValue } from './components/TreeItem/index'; +export { TreeItem, renderTreeItem_unstable, treeItemClassNames, useTreeItemContextValues_unstable, useTreeItemStyles_unstable, useTreeItem_unstable } from './components/TreeItem/index'; diff --git a/packages/react-components/react-tree/library/src/TreeItemLayout.ts b/packages/react-components/react-tree/library/src/TreeItemLayout.ts index 0fd4c2613f9bda..10efcca0033009 100644 --- a/packages/react-components/react-tree/library/src/TreeItemLayout.ts +++ b/packages/react-components/react-tree/library/src/TreeItemLayout.ts @@ -1 +1,2 @@ -export * from './components/TreeItemLayout/index'; +export type { TreeItemLayoutActionSlotProps, TreeItemLayoutActionVisibilityChangeData, TreeItemLayoutProps, TreeItemLayoutSlots, TreeItemLayoutState } from './components/TreeItemLayout/index'; +export { TreeItemLayout, renderTreeItemLayout_unstable, treeItemLayoutClassNames, useTreeItemLayoutStyles_unstable, useTreeItemLayout_unstable } from './components/TreeItemLayout/index'; diff --git a/packages/react-components/react-tree/library/src/TreeItemPersonaLayout.ts b/packages/react-components/react-tree/library/src/TreeItemPersonaLayout.ts index 7d246b44acb934..1adf1e9c67048f 100644 --- a/packages/react-components/react-tree/library/src/TreeItemPersonaLayout.ts +++ b/packages/react-components/react-tree/library/src/TreeItemPersonaLayout.ts @@ -1 +1,2 @@ -export * from './components/TreeItemPersonaLayout/index'; +export type { TreeItemPersonaLayoutContextValues, TreeItemPersonaLayoutProps, TreeItemPersonaLayoutSlots, TreeItemPersonaLayoutState } from './components/TreeItemPersonaLayout/index'; +export { TreeItemPersonaLayout, renderTreeItemPersonaLayout_unstable, treeItemPersonaLayoutClassNames, useTreeItemPersonaLayoutStyles_unstable, useTreeItemPersonaLayout_unstable } from './components/TreeItemPersonaLayout/index'; diff --git a/packages/react-components/react-tree/library/src/components/FlatTree/index.ts b/packages/react-components/react-tree/library/src/components/FlatTree/index.ts index c6dd8973d6fcf0..806431317f7ba8 100644 --- a/packages/react-components/react-tree/library/src/components/FlatTree/index.ts +++ b/packages/react-components/react-tree/library/src/components/FlatTree/index.ts @@ -1,7 +1,8 @@ -export * from './FlatTree'; -export * from './FlatTree.types'; -export * from './useHeadlessFlatTree'; -export * from './useFlatTree'; -export * from './useFlatTreeStyles.styles'; -export * from './useFlatTreeContextValues'; -export * from './renderFlatTree'; +export { FlatTree } from './FlatTree'; +export type { FlatTreeContextValues, FlatTreeProps, FlatTreeSlots, FlatTreeState } from './FlatTree.types'; +export type { HeadlessFlatTree, HeadlessFlatTreeItem, HeadlessFlatTreeItemProps, HeadlessFlatTreeOptions } from './useHeadlessFlatTree'; +export { useHeadlessFlatTree_unstable } from './useHeadlessFlatTree'; +export { useFlatTree_unstable } from './useFlatTree'; +export { flatTreeClassNames, useFlatTreeStyles_unstable } from './useFlatTreeStyles.styles'; +export { useFlatTreeContextValues_unstable } from './useFlatTreeContextValues'; +export { renderFlatTree_unstable } from './renderFlatTree'; diff --git a/packages/react-components/react-tree/library/src/components/FlatTreeItem/index.ts b/packages/react-components/react-tree/library/src/components/FlatTreeItem/index.ts index bbc35af3bd1162..88ff3a71891f22 100644 --- a/packages/react-components/react-tree/library/src/components/FlatTreeItem/index.ts +++ b/packages/react-components/react-tree/library/src/components/FlatTreeItem/index.ts @@ -1,2 +1,2 @@ -export * from './FlatTreeItem'; -export * from './FlatTreeItem.types'; +export { FlatTreeItem } from './FlatTreeItem'; +export type { FlatTreeItemProps } from './FlatTreeItem.types'; diff --git a/packages/react-components/react-tree/library/src/components/Tree/index.ts b/packages/react-components/react-tree/library/src/components/Tree/index.ts index c73d538388c0b3..2e9526a6d62c0a 100644 --- a/packages/react-components/react-tree/library/src/components/Tree/index.ts +++ b/packages/react-components/react-tree/library/src/components/Tree/index.ts @@ -1,6 +1,6 @@ -export * from './Tree'; -export * from './Tree.types'; -export * from './useTree'; -export * from './useTreeContextValues'; -export * from './useTreeStyles.styles'; -export * from './renderTree'; +export { Tree } from './Tree'; +export type { TreeCheckedChangeData, TreeCheckedChangeEvent, TreeContextValues, TreeNavigationData_unstable, TreeNavigationEvent_unstable, TreeOpenChangeData, TreeOpenChangeEvent, TreeProps, TreeSelectionValue, TreeSlots, TreeState } from './Tree.types'; +export { useTree_unstable } from './useTree'; +export { useTreeContextValues_unstable } from './useTreeContextValues'; +export { treeClassNames, useTreeStyles_unstable } from './useTreeStyles.styles'; +export { renderTree_unstable } from './renderTree'; diff --git a/packages/react-components/react-tree/library/src/components/TreeItem/index.ts b/packages/react-components/react-tree/library/src/components/TreeItem/index.ts index 3538fe5c63123c..19959df67aa169 100644 --- a/packages/react-components/react-tree/library/src/components/TreeItem/index.ts +++ b/packages/react-components/react-tree/library/src/components/TreeItem/index.ts @@ -1,6 +1,6 @@ -export * from './TreeItem'; -export * from './TreeItem.types'; -export * from './renderTreeItem'; -export * from './useTreeItem'; -export * from './useTreeItemStyles.styles'; -export * from './useTreeItemContextValues'; +export { TreeItem } from './TreeItem'; +export type { TreeItemCSSProperties, TreeItemContextValues, TreeItemOpenChangeData, TreeItemOpenChangeEvent, TreeItemProps, TreeItemSlots, TreeItemState, TreeItemType, TreeItemValue } from './TreeItem.types'; +export { renderTreeItem_unstable } from './renderTreeItem'; +export { useTreeItem_unstable } from './useTreeItem'; +export { treeItemClassNames, useTreeItemStyles_unstable } from './useTreeItemStyles.styles'; +export { useTreeItemContextValues_unstable } from './useTreeItemContextValues'; diff --git a/packages/react-components/react-tree/library/src/components/TreeItemLayout/index.ts b/packages/react-components/react-tree/library/src/components/TreeItemLayout/index.ts index 106a4ff9418a74..825f034658477c 100644 --- a/packages/react-components/react-tree/library/src/components/TreeItemLayout/index.ts +++ b/packages/react-components/react-tree/library/src/components/TreeItemLayout/index.ts @@ -1,5 +1,5 @@ -export * from './TreeItemLayout'; -export * from './TreeItemLayout.types'; -export * from './renderTreeItemLayout'; -export * from './useTreeItemLayout'; -export * from './useTreeItemLayoutStyles.styles'; +export { TreeItemLayout } from './TreeItemLayout'; +export type { TreeItemLayoutActionSlotProps, TreeItemLayoutActionVisibilityChangeData, TreeItemLayoutProps, TreeItemLayoutSlots, TreeItemLayoutState } from './TreeItemLayout.types'; +export { renderTreeItemLayout_unstable } from './renderTreeItemLayout'; +export { useTreeItemLayout_unstable } from './useTreeItemLayout'; +export { treeItemLayoutClassNames, useTreeItemLayoutStyles_unstable } from './useTreeItemLayoutStyles.styles'; diff --git a/packages/react-components/react-tree/library/src/components/TreeItemPersonaLayout/index.ts b/packages/react-components/react-tree/library/src/components/TreeItemPersonaLayout/index.ts index 7a14fd4503d7cf..cd1578de8bdcee 100644 --- a/packages/react-components/react-tree/library/src/components/TreeItemPersonaLayout/index.ts +++ b/packages/react-components/react-tree/library/src/components/TreeItemPersonaLayout/index.ts @@ -1,5 +1,5 @@ -export * from './TreeItemPersonaLayout'; -export * from './TreeItemPersonaLayout.types'; -export * from './renderTreeItemPersonaLayout'; -export * from './useTreeItemPersonaLayout'; -export * from './useTreeItemPersonaLayoutStyles.styles'; +export { TreeItemPersonaLayout } from './TreeItemPersonaLayout'; +export type { TreeItemPersonaLayoutContextValues, TreeItemPersonaLayoutProps, TreeItemPersonaLayoutSlots, TreeItemPersonaLayoutState } from './TreeItemPersonaLayout.types'; +export { renderTreeItemPersonaLayout_unstable } from './renderTreeItemPersonaLayout'; +export { useTreeItemPersonaLayout_unstable } from './useTreeItemPersonaLayout'; +export { treeItemPersonaLayoutClassNames, useTreeItemPersonaLayoutStyles_unstable } from './useTreeItemPersonaLayoutStyles.styles'; diff --git a/packages/react-components/react-tree/library/src/contexts/index.ts b/packages/react-components/react-tree/library/src/contexts/index.ts index 51a9801988a3e2..c99e2edc869b0a 100644 --- a/packages/react-components/react-tree/library/src/contexts/index.ts +++ b/packages/react-components/react-tree/library/src/contexts/index.ts @@ -1,3 +1,6 @@ -export * from './treeContext'; -export * from './subtreeContext'; -export * from './treeItemContext'; +export type { TreeContextValue, TreeItemRequest } from './treeContext'; +export { TreeContext, useTreeContext_unstable } from './treeContext'; +export type { SubtreeContextValue } from './subtreeContext'; +export { SubtreeContext, useSubtreeContext_unstable } from './subtreeContext'; +export type { TreeItemContextValue } from './treeItemContext'; +export { TreeItemContext, useTreeItemContext_unstable } from './treeItemContext'; diff --git a/packages/react-components/react-tree/stories/src/Tree/TreeManipulation.stories.tsx b/packages/react-components/react-tree/stories/src/Tree/TreeManipulation.stories.tsx index fd65516c5335da..c4f55aa38b396e 100644 --- a/packages/react-components/react-tree/stories/src/Tree/TreeManipulation.stories.tsx +++ b/packages/react-components/react-tree/stories/src/Tree/TreeManipulation.stories.tsx @@ -34,7 +34,7 @@ const subtrees: ItemProps[][] = [ ]; type CustomTreeItemProps = FlatTreeItemProps & { - // eslint-disable-next-line @nx/workspace-consistent-callback-type -- FIXME @bsunderhus + onRemoveItem?: (value: string) => void; }; diff --git a/packages/react-components/react-utilities/src/compose/index.ts b/packages/react-components/react-utilities/src/compose/index.ts index cf4fd139c8a3b3..3e8b2b30507629 100644 --- a/packages/react-components/react-utilities/src/compose/index.ts +++ b/packages/react-components/react-utilities/src/compose/index.ts @@ -1,15 +1,17 @@ import * as slot from './slot'; -export * from './types'; -export * from './isResolvedShorthand'; -export * from './constants'; -export * from './isSlot'; -export * from './assertSlots'; -export * from './getIntrinsicElementProps'; +export type { AsIntrinsicElement, ComponentProps, ComponentState, EventData, EventHandler, ExtractSlotProps, ForwardRefComponent, InferredElementRefType, IsSingleton, PropsWithoutChildren, PropsWithoutRef, Slot, SlotClassNames, SlotComponentType, SlotPropsRecord, SlotRenderFunction, SlotShorthandValue, UnknownSlotProps } from './types'; +export { isResolvedShorthand } from './isResolvedShorthand'; +export { SLOT_ELEMENT_TYPE_SYMBOL, SLOT_RENDER_FUNCTION_SYMBOL } from './constants'; +export { isSlot } from './isSlot'; +export { assertSlots } from './assertSlots'; +export { getIntrinsicElementProps } from './getIntrinsicElementProps'; -export * from './deprecated/getSlots'; -export * from './deprecated/resolveShorthand'; -export * from './deprecated/getSlotsNext'; +export type { ObjectSlotProps, Slots } from './deprecated/getSlots'; +export { getSlots } from './deprecated/getSlots'; +export type { ResolveShorthandFunction, ResolveShorthandOptions } from './deprecated/resolveShorthand'; +export { resolveShorthand } from './deprecated/resolveShorthand'; +export { getSlotsNext } from './deprecated/getSlotsNext'; export { slot }; export type { SlotOptions } from './slot'; diff --git a/packages/react-components/react-utilities/src/events/index.ts b/packages/react-components/react-utilities/src/events/index.ts index 1fed336cf80404..89997314da6a46 100644 --- a/packages/react-components/react-utilities/src/events/index.ts +++ b/packages/react-components/react-utilities/src/events/index.ts @@ -1 +1,2 @@ -export * from './mouseTouchHelpers'; +export type { NativeTouchOrMouseEvent, ReactTouchOrMouseEvent, TouchOrMouseEvent } from './mouseTouchHelpers'; +export { getEventClientCoords, isMouseEvent, isTouchEvent } from './mouseTouchHelpers'; diff --git a/packages/react-components/react-utilities/src/hooks/index.ts b/packages/react-components/react-utilities/src/hooks/index.ts index 018e521c02bb6b..28fa08fb24614d 100644 --- a/packages/react-components/react-utilities/src/hooks/index.ts +++ b/packages/react-components/react-utilities/src/hooks/index.ts @@ -1,13 +1,16 @@ -export * from './useAnimationFrame'; -export * from './useControllableState'; -export * from './useEventCallback'; -export * from './useFirstMount'; -export * from './useForceUpdate'; -export * from './useId'; -export * from './useIsomorphicLayoutEffect'; -export * from './useMergedRefs'; -export * from './useOnClickOutside'; -export * from './useOnScrollOutside'; -export * from './usePrevious'; -export * from './useScrollbarWidth'; -export * from './useTimeout'; +export { useAnimationFrame } from './useAnimationFrame'; +export type { UseControllableStateOptions } from './useControllableState'; +export { useControllableState } from './useControllableState'; +export { useEventCallback } from './useEventCallback'; +export { useFirstMount } from './useFirstMount'; +export { useForceUpdate } from './useForceUpdate'; +export { IdPrefixProvider, resetIdsForTests, useId } from './useId'; +export { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect'; +export type { RefObjectFunction } from './useMergedRefs'; +export { useMergedRefs } from './useMergedRefs'; +export type { UseOnClickOrScrollOutsideOptions } from './useOnClickOutside'; +export { useOnClickOutside } from './useOnClickOutside'; +export { useOnScrollOutside } from './useOnScrollOutside'; +export { usePrevious } from './usePrevious'; +export { useScrollbarWidth } from './useScrollbarWidth'; +export { useTimeout } from './useTimeout'; diff --git a/packages/react-components/react-utilities/src/selection/index.ts b/packages/react-components/react-utilities/src/selection/index.ts index d00295eac91acc..86be7938fb99bd 100644 --- a/packages/react-components/react-utilities/src/selection/index.ts +++ b/packages/react-components/react-utilities/src/selection/index.ts @@ -1,2 +1,2 @@ -export * from './types'; -export * from './useSelection'; +export type { OnSelectionChangeCallback, OnSelectionChangeData, SelectionHookParams, SelectionItemId, SelectionMethods, SelectionMode } from './types'; +export { useSelection } from './useSelection'; diff --git a/packages/react-components/react-utilities/src/ssr/index.ts b/packages/react-components/react-utilities/src/ssr/index.ts index b348a0ab140a03..89ad11fedd92b6 100644 --- a/packages/react-components/react-utilities/src/ssr/index.ts +++ b/packages/react-components/react-utilities/src/ssr/index.ts @@ -1,2 +1,3 @@ -export * from './canUseDOM'; -export * from './SSRContext'; +export { canUseDOM } from './canUseDOM'; +export type { SSRContextValue } from './SSRContext'; +export { SSRContext, SSRProvider, defaultSSRContextValue, useIsSSR, useSSRContext } from './SSRContext'; diff --git a/packages/react-components/react-utilities/src/trigger/index.ts b/packages/react-components/react-utilities/src/trigger/index.ts index ba6d1b40fe3046..985ba2120bbf02 100644 --- a/packages/react-components/react-utilities/src/trigger/index.ts +++ b/packages/react-components/react-utilities/src/trigger/index.ts @@ -1,4 +1,4 @@ -export * from './applyTriggerPropsToChildren'; -export * from './getTriggerChild'; -export * from './isFluentTrigger'; -export * from './types'; +export { applyTriggerPropsToChildren } from './applyTriggerPropsToChildren'; +export { getTriggerChild } from './getTriggerChild'; +export { isFluentTrigger } from './isFluentTrigger'; +export type { FluentTriggerComponent, TriggerProps } from './types'; diff --git a/packages/react-components/react-utilities/src/utils/index.ts b/packages/react-components/react-utilities/src/utils/index.ts index c25cc8e7d42050..6365e903369bb2 100644 --- a/packages/react-components/react-utilities/src/utils/index.ts +++ b/packages/react-components/react-utilities/src/utils/index.ts @@ -1,9 +1,10 @@ -export * from './clamp'; -export * from './getNativeElementProps'; -export * from './getRTLSafeKey'; -export * from './mergeCallbacks'; -export * from './omit'; -export * from './properties'; -export * from './isHTMLElement'; -export * from './isInteractiveHTMLElement'; -export * from './priorityQueue'; +export { clamp } from './clamp'; +export { getNativeElementProps, getPartitionedNativeProps } from './getNativeElementProps'; +export { getRTLSafeKey } from './getRTLSafeKey'; +export { mergeCallbacks } from './mergeCallbacks'; +export { omit } from './omit'; +export { anchorProperties, audioProperties, baseElementEvents, baseElementProperties, buttonProperties, colGroupProperties, colProperties, dialogProperties, divProperties, fieldsetProperties, formProperties, getNativeProps, htmlElementProperties, iframeProperties, imgProperties, inputProperties, labelProperties, liProperties, microdataProperties, olProperties, optionProperties, selectProperties, tableProperties, tdProperties, textAreaProperties, thProperties, timeProperties, trProperties, videoProperties } from './properties'; +export { isHTMLElement } from './isHTMLElement'; +export { isInteractiveHTMLElement } from './isInteractiveHTMLElement'; +export type { PriorityQueue, PriorityQueueCompareFn } from './priorityQueue'; +export { createPriorityQueue } from './priorityQueue'; diff --git a/packages/react-components/react-utilities/src/virtualParent/index.ts b/packages/react-components/react-utilities/src/virtualParent/index.ts index db657bb3decbb3..0de2506458cfd9 100644 --- a/packages/react-components/react-utilities/src/virtualParent/index.ts +++ b/packages/react-components/react-utilities/src/virtualParent/index.ts @@ -1,3 +1,3 @@ -export * from './elementContains'; -export * from './setVirtualParent'; -export * from './getParent'; +export { elementContains } from './elementContains'; +export { setVirtualParent } from './setVirtualParent'; +export { getParent } from './getParent'; diff --git a/packages/tokens/src/global/fonts.ts b/packages/tokens/src/global/fonts.ts index 7933352f936873..9b8dca7bf3dc8b 100644 --- a/packages/tokens/src/global/fonts.ts +++ b/packages/tokens/src/global/fonts.ts @@ -37,10 +37,8 @@ export const fontWeights: FontWeightTokens = { export const fontFamilies: FontFamilyTokens = { fontFamilyBase: - // eslint-disable-next-line @fluentui/max-len "'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif", fontFamilyMonospace: "Consolas, 'Courier New', Courier, monospace", fontFamilyNumeric: - // eslint-disable-next-line @fluentui/max-len "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif", }; diff --git a/packages/tokens/src/global/index.ts b/packages/tokens/src/global/index.ts index af298e83e298cd..f374c13194df73 100644 --- a/packages/tokens/src/global/index.ts +++ b/packages/tokens/src/global/index.ts @@ -1,9 +1,9 @@ -export * from './borderRadius'; -export * from './colors'; -export * from './curves'; -export * from './durations'; -export * from './fonts'; -export * from './spacings'; -export * from './strokeWidths'; -export * from './borderRadius'; -export * from './typographyStyles'; +export { borderRadius } from './borderRadius'; +export { anchor, beige, berry, black, blackAlpha, blue, brass, bronze, brown, burgundy, charcoal, cornflower, cranberry, cyan, darkBlue, darkBrown, darkGreen, darkOrange, darkPurple, darkRed, darkTeal, forest, gold, grape, green, grey, grey10Alpha, grey12Alpha, grey14Alpha, hcButtonFace, hcButtonText, hcCanvas, hcCanvasText, hcDisabled, hcHighlight, hcHighlightText, hcHyperlink, hotPink, lavender, lightBlue, lightGreen, lightTeal, lilac, lime, magenta, marigold, mink, navy, orange, orchid, peach, pink, platinum, plum, pumpkin, purple, red, royalBlue, seafoam, silver, steel, teal, white, whiteAlpha, yellow } from './colors'; +export { curves } from './curves'; +export { durations } from './durations'; +export { fontFamilies, fontSizes, fontWeights, lineHeights } from './fonts'; +export { horizontalSpacings, verticalSpacings } from './spacings'; +export { strokeWidths } from './strokeWidths'; +export { borderRadius } from './borderRadius'; +export { typographyStyles } from './typographyStyles'; diff --git a/packages/tokens/src/themes/index.ts b/packages/tokens/src/themes/index.ts index b047ce0389be7d..8e9fda5c721961 100644 --- a/packages/tokens/src/themes/index.ts +++ b/packages/tokens/src/themes/index.ts @@ -1,2 +1,2 @@ -export * from './teams/index'; -export * from './web/index'; +export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme } from './teams/index'; +export { webDarkTheme, webLightTheme } from './web/index'; diff --git a/packages/tokens/src/themes/teams/index.ts b/packages/tokens/src/themes/teams/index.ts index 553fc643a162bc..318e55be4cbe05 100644 --- a/packages/tokens/src/themes/teams/index.ts +++ b/packages/tokens/src/themes/teams/index.ts @@ -1,3 +1,3 @@ -export * from './lightTheme'; -export * from './darkTheme'; -export * from './highContrastTheme'; +export { teamsLightTheme } from './lightTheme'; +export { teamsDarkTheme } from './darkTheme'; +export { teamsHighContrastTheme } from './highContrastTheme'; diff --git a/packages/tokens/src/themes/web/index.ts b/packages/tokens/src/themes/web/index.ts index a5747057dff723..357a6d0de1d69b 100644 --- a/packages/tokens/src/themes/web/index.ts +++ b/packages/tokens/src/themes/web/index.ts @@ -1,2 +1,2 @@ -export * from './lightTheme'; -export * from './darkTheme'; +export { webLightTheme } from './lightTheme'; +export { webDarkTheme } from './darkTheme'; diff --git a/packages/tokens/src/utils/index.ts b/packages/tokens/src/utils/index.ts index 4e9d99a66a2996..ff6be6c5c9ef6d 100644 --- a/packages/tokens/src/utils/index.ts +++ b/packages/tokens/src/utils/index.ts @@ -1,4 +1,4 @@ -export * from './createLightTheme'; -export * from './createDarkTheme'; -export * from './createTeamsDarkTheme'; -export * from './createHighContrastTheme'; +export { createLightTheme } from './createLightTheme'; +export { createDarkTheme } from './createDarkTheme'; +export { createTeamsDarkTheme } from './createTeamsDarkTheme'; +export { createHighContrastTheme } from './createHighContrastTheme';