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 0000000000000..2fc6a9ce35577 --- /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 *\" ", + "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 0000000000000..c9c24f0e0131f --- /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 *\" ", + "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 0000000000000..bf5040e09fb05 --- /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 *\" ", + "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 0000000000000..5de043c01c209 --- /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 *\" ", + "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 0000000000000..33d85dfb62bba --- /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 *\" ", + "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 0000000000000..2cd6c6e5a6c9c --- /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 *\" ", + "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 0000000000000..a75f3ddec3667 --- /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 *\" ", + "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 0000000000000..a129788ce21e8 --- /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 *\" ", + "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 0000000000000..376c92eaa22d5 --- /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 *\" ", + "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 0000000000000..7ae6234b68c54 --- /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 *\" ", + "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 0000000000000..20fb9fdd9ed78 --- /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 *\" ", + "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 0000000000000..cae3244811e6f --- /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 *\" ", + "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 0000000000000..7a1a816af4319 --- /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 *\" ", + "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 0000000000000..3b40d9bb31cec --- /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 *\" ", + "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 0000000000000..074c45069187b --- /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 *\" ", + "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 0000000000000..e1c223f8aa9e4 --- /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 *\" ", + "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 0000000000000..91073be5e0e8c --- /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 *\" ", + "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 0000000000000..653ee9e169136 --- /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 *\" ", + "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 0000000000000..122736a808ff1 --- /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 *\" ", + "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 0000000000000..b65c6a1520c90 --- /dev/null +++ b/change/@fluentui-tokens-00438cff-da05-4281-a599-19b6c3600977.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "chore: remove usage of \"export *\" ", + "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 7bf75f7fd91ba..94c3003e9a236 100644 --- a/packages/react-components/react-dialog/library/src/Dialog.ts +++ b/packages/react-components/react-dialog/library/src/Dialog.ts @@ -1 +1,17 @@ -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 1d8ac02365d2d..1dd753c1cd31c 100644 --- a/packages/react-components/react-dialog/library/src/DialogActions.ts +++ b/packages/react-components/react-dialog/library/src/DialogActions.ts @@ -1 +1,13 @@ -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 9256da141252b..557e2ed57fd26 100644 --- a/packages/react-components/react-dialog/library/src/DialogBody.ts +++ b/packages/react-components/react-dialog/library/src/DialogBody.ts @@ -1 +1,8 @@ -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 e3c3fa077442b..45a04e9d97acf 100644 --- a/packages/react-components/react-dialog/library/src/DialogContent.ts +++ b/packages/react-components/react-dialog/library/src/DialogContent.ts @@ -1 +1,8 @@ -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 5bf660185ea01..d571e0ce21a18 100644 --- a/packages/react-components/react-dialog/library/src/DialogSurface.ts +++ b/packages/react-components/react-dialog/library/src/DialogSurface.ts @@ -1 +1,15 @@ -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 925cc7018a65f..0f9490a1aa644 100644 --- a/packages/react-components/react-dialog/library/src/DialogTitle.ts +++ b/packages/react-components/react-dialog/library/src/DialogTitle.ts @@ -1 +1,9 @@ -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 593f5f4186cad..4936e873cb9e2 100644 --- a/packages/react-components/react-dialog/library/src/DialogTrigger.ts +++ b/packages/react-components/react-dialog/library/src/DialogTrigger.ts @@ -1 +1,11 @@ -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 b7f6c49afedd6..260ff4f33359f 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,15 @@ -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 0bb1d1cf48bd5..a43ec8da44f21 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,10 @@ -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 bd1e90e0a99cb..4765847d89886 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 b82b9c3521b39..5cb4352450ac8 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 e9b10abd4ef36..6de98e07cf806 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,12 @@ -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 af498e61b1d6c..3f46669168a3e 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,9 @@ -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 cefe8176cb56b..48ec2f9acdf77 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,9 @@ -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 b19f8fce89ded..5e1f5792aff90 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,12 @@ -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 c6617dcaef8a0..f764fc9564f8e 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 038abd3e740ea..5efc3096dd305 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,16 @@ -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 d846474af071a..76212c85d232c 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,14 @@ -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 edd6a0bf1be04..3df7ba6370239 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,13 @@ -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 08dc684b19814..528bef4b882c2 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,11 @@ -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 5b60c6b7cce5b..093ce325d7959 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 01a6959c7c21f..ffab2debef5e5 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 002e9a5757912..a1d64d15e3ae7 100644 --- a/packages/react-components/react-menu/library/src/Menu.ts +++ b/packages/react-components/react-menu/library/src/Menu.ts @@ -1 +1,11 @@ -export * from './components/Menu/index'; +export type { + MenuContextValues, + MenuOpenChangeData, + MenuOpenEvent, + // eslint-disable-next-line deprecation/deprecation + 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 caa6a3a7a42e2..c2d742bd00c33 100644 --- a/packages/react-components/react-menu/library/src/MenuDivider.ts +++ b/packages/react-components/react-menu/library/src/MenuDivider.ts @@ -1 +1,8 @@ -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 f58185e25767e..87fd3d77a2903 100644 --- a/packages/react-components/react-menu/library/src/MenuGroup.ts +++ b/packages/react-components/react-menu/library/src/MenuGroup.ts @@ -1 +1,14 @@ -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 dd4ec0e4d90a7..0c0821701a29c 100644 --- a/packages/react-components/react-menu/library/src/MenuGroupHeader.ts +++ b/packages/react-components/react-menu/library/src/MenuGroupHeader.ts @@ -1 +1,12 @@ -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 08c2c2845ff1c..315c2fdd51380 100644 --- a/packages/react-components/react-menu/library/src/MenuItem.ts +++ b/packages/react-components/react-menu/library/src/MenuItem.ts @@ -1 +1,8 @@ -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 065d712fca885..ccd880f952ace 100644 --- a/packages/react-components/react-menu/library/src/MenuItemCheckbox.ts +++ b/packages/react-components/react-menu/library/src/MenuItemCheckbox.ts @@ -1 +1,8 @@ -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 026737302a688..3fe714228eda6 100644 --- a/packages/react-components/react-menu/library/src/MenuItemLink.ts +++ b/packages/react-components/react-menu/library/src/MenuItemLink.ts @@ -1 +1,8 @@ -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 99e28d486ca72..b6581d87ad116 100644 --- a/packages/react-components/react-menu/library/src/MenuItemRadio.ts +++ b/packages/react-components/react-menu/library/src/MenuItemRadio.ts @@ -1 +1,8 @@ -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 846bdeee1366b..9baf15c76d623 100644 --- a/packages/react-components/react-menu/library/src/MenuItemSwitch.ts +++ b/packages/react-components/react-menu/library/src/MenuItemSwitch.ts @@ -1 +1,9 @@ -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 b6a97c29e9d4a..5869d3b2473fc 100644 --- a/packages/react-components/react-menu/library/src/MenuList.ts +++ b/packages/react-components/react-menu/library/src/MenuList.ts @@ -1 +1,18 @@ -export * from './components/MenuList/index'; +export type { + MenuCheckedValueChangeData, + MenuCheckedValueChangeEvent, + MenuListContextValues, + MenuListProps, + MenuListSlots, + MenuListState, + // eslint-disable-next-line deprecation/deprecation + 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 9e91e7cad4b1f..5e5ca3d44f3cd 100644 --- a/packages/react-components/react-menu/library/src/MenuPopover.ts +++ b/packages/react-components/react-menu/library/src/MenuPopover.ts @@ -1 +1,8 @@ -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 8328531988a28..ee4e4f37786fd 100644 --- a/packages/react-components/react-menu/library/src/MenuSplitGroup.ts +++ b/packages/react-components/react-menu/library/src/MenuSplitGroup.ts @@ -1 +1,8 @@ -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 6c85734fb8428..eb982a7695a6f 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 f4832d29a0573..0830f525ad16a 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,14 @@ -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, + // eslint-disable-next-line deprecation/deprecation + 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 b3ce7e41abbce..482d93c0c5d8b 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 698b5c6bce609..47e93a2ef8e8d 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 0ed602008ef44..1706f1407f962 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 d7dd7263467eb..3b8e407fdea86 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 2c8eda2b015be..118e7b56d0afc 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 d7e0340eeb78e..6927417b8a011 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 8ca3847c61329..958d0b8f5ea9e 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 392b7f81e0cd7..cef5bf049313e 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,9 @@ -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 b31eacd3ed553..66b24f6405c9a 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,15 @@ -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, + // eslint-disable-next-line deprecation/deprecation + 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 84ae361cc00a8..b35443895f1cf 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 a9bf5ffac60a8..d7391685a02e8 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 b5b4a29882293..9b1124f7ee6a4 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 38c29d35e101c..778a42b08abe4 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,26 @@ -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, + // eslint-disable-next-line deprecation/deprecation + 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 6f5ded7fa4194..224c2ba242fb4 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 d1884cb1dd642..85ed12481e191 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 380da827afeaa..ffb91018f6786 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,15 @@ -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 7ab9044a3ee73..45a9abf9ef58b 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,14 @@ -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 dc59e16a3e414..6b36a72d2517b 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,13 @@ -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 3515bfed8ae63..3a9869f3cdebe 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,12 @@ -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 e570c6fb916df..2de5394587fa9 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,12 @@ -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 bd5ef92ccff1d..5cb0b03985cb3 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,12 @@ -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 a6918c01dcefa..d8a18037f6dfb 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 a51d0d9827298..5186603a68bef 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,11 @@ -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 360550329c1df..70cdf388b9395 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,10 @@ -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 21c912d11b842..90ac15b9cc20f 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 4bcb0e7df960b..bb37dbfa28a18 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 da1a1cbe1916a..b6be7b60bcb99 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,8 @@ -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 f58726fcaa369..7dd0d4663523e 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,9 @@ -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 32dd951c417a6..4c0776217eb8f 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 69b281703f6b5..c225e7e3c1be9 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 624c097e22894..2aa9f68f84eca 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 d405a838169cd..c44f26a748bc4 100644 --- a/packages/react-components/react-popover/library/src/Popover.ts +++ b/packages/react-components/react-popover/library/src/Popover.ts @@ -1 +1,8 @@ -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 07df59ddc4ce9..b0a0e4d9818c2 100644 --- a/packages/react-components/react-popover/library/src/PopoverSurface.ts +++ b/packages/react-components/react-popover/library/src/PopoverSurface.ts @@ -1 +1,9 @@ -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 6ae11f1698e8f..f210a5491b528 100644 --- a/packages/react-components/react-popover/library/src/PopoverTrigger.ts +++ b/packages/react-components/react-popover/library/src/PopoverTrigger.ts @@ -1 +1,10 @@ -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 49b2a77284575..2dd9d4f5963cf 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 ef6e2e67f2830..0259bf89d660c 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,9 @@ -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 b36693a2d2109..77543729de1c5 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 415bba70e0482..3db5d11d532fa 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 01b08adb65720..5bca67373c0d8 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 295ff0fa7dd39..0e1477f46ec75 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 e538bdfaee66a..04feadbc94831 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 c3b459108e912..d2f37d0ed2fac 100644 --- a/packages/react-components/react-provider/library/src/FluentProvider.ts +++ b/packages/react-components/react-provider/library/src/FluentProvider.ts @@ -1 +1,17 @@ -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 24c83959018b5..4f340b0a1e9ff 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,14 @@ 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 010521a097566..c0308202e5c30 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 9aceae512a132..86084ec5e6ba3 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,6 @@ -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 c7829be67e03b..e3f21c96251d1 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 4ce4870623e4d..3d5d51055e7fe 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 43b32e1e27429..b1e87eb4074c1 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 9ca98a0278a44..d83f6edaabcbe 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 9216eba1d2e5e..724b82d53148b 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 1289e13cabccf..180bd4fafd2cc 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 596922f23bc58..43a0b4225e774 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 f7f3ea5a3e623..1094b8e0c6975 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 4e34105cffe84..7f95132fc34ed 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 966628f37965c..e5d26ce72e0f8 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 5eac4a31a6adc..9718beb1fcb89 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 f0274f9b91596..a5e89213a7d17 100644 --- a/packages/react-components/react-table/library/src/DataGrid.ts +++ b/packages/react-components/react-table/library/src/DataGrid.ts @@ -1 +1,16 @@ -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 67d8574eceebc..0882672743842 100644 --- a/packages/react-components/react-table/library/src/DataGridBody.ts +++ b/packages/react-components/react-table/library/src/DataGridBody.ts @@ -1 +1,13 @@ -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 ced7ddb688624..e29a965bd7da0 100644 --- a/packages/react-components/react-table/library/src/DataGridCell.ts +++ b/packages/react-components/react-table/library/src/DataGridCell.ts @@ -1 +1,13 @@ -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 310b44dbb1d9a..266394c490f97 100644 --- a/packages/react-components/react-table/library/src/DataGridHeader.ts +++ b/packages/react-components/react-table/library/src/DataGridHeader.ts @@ -1 +1,8 @@ -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 c605dbea6a0dd..df4c14a91bf71 100644 --- a/packages/react-components/react-table/library/src/DataGridHeaderCell.ts +++ b/packages/react-components/react-table/library/src/DataGridHeaderCell.ts @@ -1 +1,12 @@ -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 bddb376c7425b..bb60a55f7c217 100644 --- a/packages/react-components/react-table/library/src/DataGridRow.ts +++ b/packages/react-components/react-table/library/src/DataGridRow.ts @@ -1 +1,13 @@ -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 04869398f52ee..a7aaadadb0b0f 100644 --- a/packages/react-components/react-table/library/src/DataGridSelectionCell.ts +++ b/packages/react-components/react-table/library/src/DataGridSelectionCell.ts @@ -1 +1,12 @@ -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 86d0b2b60f1bf..2d9ef84cb3e7c 100644 --- a/packages/react-components/react-table/library/src/Table.ts +++ b/packages/react-components/react-table/library/src/Table.ts @@ -1 +1,16 @@ -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 adc49a850ef82..b4ed7564dd280 100644 --- a/packages/react-components/react-table/library/src/TableBody.ts +++ b/packages/react-components/react-table/library/src/TableBody.ts @@ -1 +1,9 @@ -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 474646c3e981b..3f227bb95af3b 100644 --- a/packages/react-components/react-table/library/src/TableCell.ts +++ b/packages/react-components/react-table/library/src/TableCell.ts @@ -1 +1,9 @@ -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 1681f8c89e77f..2f4303adf3a1b 100644 --- a/packages/react-components/react-table/library/src/TableCellActions.ts +++ b/packages/react-components/react-table/library/src/TableCellActions.ts @@ -1 +1,12 @@ -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 2ef0ff4cf59b2..ec11b3ba53860 100644 --- a/packages/react-components/react-table/library/src/TableCellLayout.ts +++ b/packages/react-components/react-table/library/src/TableCellLayout.ts @@ -1 +1,13 @@ -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 2ef0ff4cf59b2..ec11b3ba53860 100644 --- a/packages/react-components/react-table/library/src/TableCellPrimaryLayout.ts +++ b/packages/react-components/react-table/library/src/TableCellPrimaryLayout.ts @@ -1 +1,13 @@ -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 96820645b3476..464d11e56fc32 100644 --- a/packages/react-components/react-table/library/src/TableHeader.ts +++ b/packages/react-components/react-table/library/src/TableHeader.ts @@ -1 +1,9 @@ -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 9d90645317855..16ec07a2eed4a 100644 --- a/packages/react-components/react-table/library/src/TableHeaderCell.ts +++ b/packages/react-components/react-table/library/src/TableHeaderCell.ts @@ -1 +1,13 @@ -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 8b0ce453c43c1..39564fb83e8db 100644 --- a/packages/react-components/react-table/library/src/TableResizeHandle.ts +++ b/packages/react-components/react-table/library/src/TableResizeHandle.ts @@ -1 +1,12 @@ -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 9fe73a1ca0b00..cfade58f7325b 100644 --- a/packages/react-components/react-table/library/src/TableRow.ts +++ b/packages/react-components/react-table/library/src/TableRow.ts @@ -1 +1,9 @@ -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 5b50bc90677e3..6f6006baae549 100644 --- a/packages/react-components/react-table/library/src/TableSelectionCell.ts +++ b/packages/react-components/react-table/library/src/TableSelectionCell.ts @@ -1 +1,13 @@ -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 f876576160de7..e436b47455cee 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,13 @@ -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 70d2bbdad7493..b4760d66a8ceb 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 acc2e821b8f74..f759a5860cd34 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,10 @@ -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 4b2eca977eb04..fe9e2c19f3a21 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 2a624c8e3bee3..9aa209331845c 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,12 @@ -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 a1f4708efd51b..173ef5a6767f3 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 4a02154501941..0f4bdd81b6235 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,12 @@ -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 62c03067863ef..017dd1d3bb8a4 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,12 @@ -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 6cba4f6068996..dce3def6ed77d 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 b139f3158cae7..432b54edd860c 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 e804786b725db..e924b0afb2468 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 ed50c859d49c1..e675a17a881d9 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,10 @@ -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 5833e1a260034..c9d3c4bf95b5f 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,9 @@ -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 f3c47af321ee1..53604ce1033f5 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,9 @@ -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 3d1ea5ea6a7fb..7671d67be5e60 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 2c11c5c63deea..3e50b816888e4 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 d5fabee4714b5..b2f42a1e17c0f 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,13 @@ -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 c30db5c83e49d..730c004b3e292 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,31 @@ -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 26b02d8b5238c..655b1ffb37228 100644 --- a/packages/react-components/react-tabster/src/focus/index.ts +++ b/packages/react-components/react-tabster/src/focus/index.ts @@ -1,4 +1,10 @@ -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 b2f3a31777421..d8f81a8e26bee 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 e8487dcc5b406..8f5f1e8c0fe68 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 a4adbd4f7d3a7..7dd02b0703a7e 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,10 @@ -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 d01e5b30f061b..394270c955448 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,12 @@ -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 2d1f8a5560657..8387c04ee7b74 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,16 @@ -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 3e27481f074f6..f757dfbc520e8 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,8 @@ -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 d9d93d420dc02..e9d85a10c5480 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,8 @@ -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 1c21a67c30635..2e17f87104b9e 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,8 @@ -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 6933c314ca23f..a1dc4d4a6c188 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,12 @@ -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 b26bd5403bb28..5ee96d4e841b2 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,12 @@ -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 c93cde5d23764..641b7759a38a5 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,12 @@ -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 f338dffae86f6..f2c5fc367d462 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 d5c3bdfe8c941..aed19e5ed8110 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,16 @@ -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 e75865059992d..f779ab992a19c 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 6169b539d55b5..fadff01d521e8 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 c27680fa39cda..f5faf6760701c 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 37b1b0435d532..fb8dbdb250e0b 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 7adacaf72ef00..3c72d69820d87 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,9 @@ -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 8abec320d527e..e0eb424331b16 100644 --- a/packages/react-components/react-tags/library/src/InteractionTag.ts +++ b/packages/react-components/react-tags/library/src/InteractionTag.ts @@ -1 +1,14 @@ -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 415e103e76677..7e7a6d807bfc4 100644 --- a/packages/react-components/react-tags/library/src/InteractionTagPrimary.ts +++ b/packages/react-components/react-tags/library/src/InteractionTagPrimary.ts @@ -1 +1,13 @@ -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 45856278b5759..e80209987aae5 100644 --- a/packages/react-components/react-tags/library/src/InteractionTagSecondary.ts +++ b/packages/react-components/react-tags/library/src/InteractionTagSecondary.ts @@ -1 +1,12 @@ -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 c64c8c37bd872..10dc2b4fe2cd1 100644 --- a/packages/react-components/react-tags/library/src/Tag.ts +++ b/packages/react-components/react-tags/library/src/Tag.ts @@ -1 +1,12 @@ -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 bdda9a5083ef6..4289434ae9e77 100644 --- a/packages/react-components/react-tags/library/src/TagGroup.ts +++ b/packages/react-components/react-tags/library/src/TagGroup.ts @@ -1 +1,9 @@ -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 67c0963d5cb16..04a464cce900c 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,11 @@ -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 8324a4232cc18..9428a08cc8d44 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,13 @@ -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 87076d0604879..39e99bd41e653 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,12 @@ -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 a44c9ce425d76..ee034466b0951 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,12 @@ -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 6e3389e03b296..34326f1884070 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 22d7be3b3008b..42f211b730bbb 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,11 @@ -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 fb8fc412805e6..3e3dd06767bbe 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,19 @@ -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 ec9749b359c98..84bd45fe3792f 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,16 @@ -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 291247fe8d4d7..e1b7b3b8cdbd6 100644 --- a/packages/react-components/react-toast/library/src/AriaLive.ts +++ b/packages/react-components/react-toast/library/src/AriaLive.ts @@ -1 +1,16 @@ -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 a84c38a13fc60..13002c4a3b42e 100644 --- a/packages/react-components/react-toast/library/src/Toast.ts +++ b/packages/react-components/react-toast/library/src/Toast.ts @@ -1 +1,8 @@ -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 526fb1959cccd..5ca80a167f342 100644 --- a/packages/react-components/react-toast/library/src/ToastBody.ts +++ b/packages/react-components/react-toast/library/src/ToastBody.ts @@ -1 +1,8 @@ -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 14ef7e7a4fff6..62e599d7ce613 100644 --- a/packages/react-components/react-toast/library/src/ToastContainer.ts +++ b/packages/react-components/react-toast/library/src/ToastContainer.ts @@ -1 +1,14 @@ -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 1a569b6d26a6d..46ba45b489703 100644 --- a/packages/react-components/react-toast/library/src/ToastFooter.ts +++ b/packages/react-components/react-toast/library/src/ToastFooter.ts @@ -1 +1,8 @@ -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 3424a5dcbc301..6765d6a8bc380 100644 --- a/packages/react-components/react-toast/library/src/ToastTitle.ts +++ b/packages/react-components/react-toast/library/src/ToastTitle.ts @@ -1 +1,8 @@ -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 cf4c8faaa47a2..d50c3b4547f2d 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 6ace34b6a3d25..340bda3b7a4aa 100644 --- a/packages/react-components/react-toast/library/src/Toaster.ts +++ b/packages/react-components/react-toast/library/src/Toaster.ts @@ -1 +1,8 @@ -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 316b41d19b2b2..237fd940ff7f9 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,13 @@ -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 e79e25f75ab3a..91abb976d756d 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 0bd595944fb22..1e9d2f2c99231 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 e6021a19a6001..2903dea7132ad 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 01a852c24989a..a13e536fa197a 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,11 @@ -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 dfd6de5078347..f22e5bdb09d6a 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 951ef82050691..6d187294dcfd2 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 eeebe9bf17718..e2406eecda7d8 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 de600cc9f25bb..17a0deb7f8eb8 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 33a93fc5349eb..d03ba688ba4d5 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,31 @@ -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 42696f86e611e..3b3ad8dc85d7e 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 28054e118d85c..a161cfab23b99 100644 --- a/packages/react-components/react-toolbar/library/src/Toolbar.ts +++ b/packages/react-components/react-toolbar/library/src/Toolbar.ts @@ -1 +1,18 @@ -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 d4d1dbf4ef7a5..1154de9408ca4 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarButton.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarButton.ts @@ -1 +1,6 @@ -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 f44a13f015a73..1ea1641d316f5 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarDivider.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarDivider.ts @@ -1 +1,6 @@ -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 2b1e4dc667a6f..b2bae38286428 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarGroup.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarGroup.ts @@ -1 +1,8 @@ -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 2f5842a8c450c..888279076d3cf 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarRadioButton.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarRadioButton.ts @@ -1 +1,6 @@ -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 f88bc1454546d..a4079070cbf4b 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarRadioGroup.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarRadioGroup.ts @@ -1 +1,6 @@ -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 37c1d5cf712b5..abb53226acea9 100644 --- a/packages/react-components/react-toolbar/library/src/ToolbarToggleButton.ts +++ b/packages/react-components/react-toolbar/library/src/ToolbarToggleButton.ts @@ -1 +1,6 @@ -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 69923b5119d08..65ce64be2413d 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,15 @@ -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 07f7480541e08..3a57f4c24f720 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 0ebab6cffe848..d7acee4b804e4 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 66bd4a383dbdc..86771e074ef79 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 b3e066045727e..29645506076ba 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 fb331a3a89ff3..dc586dc54c84a 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 cfd874ac1e2ce..46fdf040e4d42 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 b6782abc82e9a..86e84032cec93 100644 --- a/packages/react-components/react-tree/library/src/FlatTree.ts +++ b/packages/react-components/react-tree/library/src/FlatTree.ts @@ -1 +1,19 @@ -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 e048fad1a78f9..85dd37cadbb1e 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 9b58f50550fcc..f6591a88e83ac 100644 --- a/packages/react-components/react-tree/library/src/Tree.ts +++ b/packages/react-components/react-tree/library/src/Tree.ts @@ -1 +1,21 @@ -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 017ab04d8956b..6e3e0a4cbadfa 100644 --- a/packages/react-components/react-tree/library/src/TreeItem.ts +++ b/packages/react-components/react-tree/library/src/TreeItem.ts @@ -1 +1,19 @@ -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 0fd4c2613f9bd..ce5697faf22f9 100644 --- a/packages/react-components/react-tree/library/src/TreeItemLayout.ts +++ b/packages/react-components/react-tree/library/src/TreeItemLayout.ts @@ -1 +1,14 @@ -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 7d246b44acb93..2a095e3e49b42 100644 --- a/packages/react-components/react-tree/library/src/TreeItemPersonaLayout.ts +++ b/packages/react-components/react-tree/library/src/TreeItemPersonaLayout.ts @@ -1 +1,13 @@ -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 c6dd8973d6fcf..97a53b747a7a8 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,13 @@ -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 bbc35af3bd116..88ff3a71891f2 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 c73d538388c0b..c49dc6c59cd40 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,18 @@ -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 3538fe5c63123..1319a97dbc547 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,16 @@ -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 106a4ff9418a7..9b4c3d34b148b 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,11 @@ -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 7a14fd4503d7c..035dfda3a845f 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,13 @@ -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 51a9801988a3e..e68906eebb5bc 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 { TreeItemProvider, useTreeItemContext_unstable } from './treeItemContext'; diff --git a/packages/react-components/react-tree/library/src/contexts/treeItemContext.ts b/packages/react-components/react-tree/library/src/contexts/treeItemContext.ts index a87c1058be773..2237719fffd7a 100644 --- a/packages/react-components/react-tree/library/src/contexts/treeItemContext.ts +++ b/packages/react-components/react-tree/library/src/contexts/treeItemContext.ts @@ -44,9 +44,9 @@ const defaultContextValue: TreeItemContextValue = { checked: false, }; -export const TreeItemContext: Context = createContext< - TreeItemContextValue | undefined ->(undefined); +const TreeItemContext: Context = createContext( + undefined, +); export const { Provider: TreeItemProvider } = TreeItemContext; export const useTreeItemContext_unstable = (selector: ContextSelector): T => 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 fd65516c5335d..cecada996cacb 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,6 @@ 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 cf4fd139c8a3b..20252d1d3a38c 100644 --- a/packages/react-components/react-utilities/src/compose/index.ts +++ b/packages/react-components/react-utilities/src/compose/index.ts @@ -1,15 +1,41 @@ 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'; +// eslint-disable-next-line deprecation/deprecation +export type { ObjectSlotProps, Slots } from './deprecated/getSlots'; +// eslint-disable-next-line deprecation/deprecation +export { getSlots } from './deprecated/getSlots'; +// eslint-disable-next-line deprecation/deprecation +export type { ResolveShorthandFunction, ResolveShorthandOptions } from './deprecated/resolveShorthand'; +// eslint-disable-next-line deprecation/deprecation +export { resolveShorthand } from './deprecated/resolveShorthand'; +// eslint-disable-next-line deprecation/deprecation +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 1fed336cf8040..89997314da6a4 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 018e521c02bb6..28fa08fb24614 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 d00295eac91ac..0ff3f1251a49c 100644 --- a/packages/react-components/react-utilities/src/selection/index.ts +++ b/packages/react-components/react-utilities/src/selection/index.ts @@ -1,2 +1,9 @@ -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 b348a0ab140a0..89ad11fedd92b 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 ba6d1b40fe304..985ba2120bbf0 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 c25cc8e7d4205..0f8340201b76a 100644 --- a/packages/react-components/react-utilities/src/utils/index.ts +++ b/packages/react-components/react-utilities/src/utils/index.ts @@ -1,9 +1,44 @@ -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 { + // eslint-disable-next-line deprecation/deprecation + 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 db657bb3decbb..0de2506458cfd 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 7933352f93687..9b8dca7bf3dc8 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 af298e83e298c..c180243421929 100644 --- a/packages/tokens/src/global/index.ts +++ b/packages/tokens/src/global/index.ts @@ -1,9 +1,74 @@ -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 { typographyStyles } from './typographyStyles'; diff --git a/packages/tokens/src/index.ts b/packages/tokens/src/index.ts index 84028a6bb30ec..5da7aacfd263c 100644 --- a/packages/tokens/src/index.ts +++ b/packages/tokens/src/index.ts @@ -1,9 +1,9 @@ -export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes/index'; -export { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from './utils/index'; +export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes'; +export { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from './utils'; export { themeToTokensObject } from './themeToTokensObject'; export { tokens } from './tokens'; -export { typographyStyles } from './global/index'; +export { typographyStyles } from './global'; export type { Brands, diff --git a/packages/tokens/src/themes/index.ts b/packages/tokens/src/themes/index.ts index b047ce0389be7..8e9fda5c72196 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 553fc643a162b..318e55be4cbe0 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 a5747057dff72..357a6d0de1d69 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 4e9d99a66a299..ff6be6c5c9ef6 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';