diff --git a/change/@fluentui-react-utilities-f1dc6a83-6fd4-4d86-a5ef-b68f5420ea11.json b/change/@fluentui-react-utilities-f1dc6a83-6fd4-4d86-a5ef-b68f5420ea11.json new file mode 100644 index 0000000000000..c57cb0ea0fe9d --- /dev/null +++ b/change/@fluentui-react-utilities-f1dc6a83-6fd4-4d86-a5ef-b68f5420ea11.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore: adds internal tag on jsdoc for getSlotsNext", + "packageName": "@fluentui/react-utilities", + "email": "bernardo.sunderhus@gmail.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-utilities/etc/react-utilities.api.md b/packages/react-components/react-utilities/etc/react-utilities.api.md index 16f6184a11010..2def011e5a643 100644 --- a/packages/react-components/react-utilities/etc/react-utilities.api.md +++ b/packages/react-components/react-utilities/etc/react-utilities.api.md @@ -73,7 +73,7 @@ export function getSlots(state: ComponentState): { slotProps: ObjectSlotProps; }; -// @public +// @internal export function getSlotsNext(state: ComponentState): { slots: Slots; slotProps: ObjectSlotProps; diff --git a/packages/react-components/react-utilities/src/compose/getSlotsNext.ts b/packages/react-components/react-utilities/src/compose/getSlotsNext.ts index a972061be827d..732c70b591335 100644 --- a/packages/react-components/react-utilities/src/compose/getSlotsNext.ts +++ b/packages/react-components/react-utilities/src/compose/getSlotsNext.ts @@ -4,6 +4,11 @@ import { ObjectSlotProps, Slots } from './getSlots'; /** * Similar to `getSlots`, main difference is that it's compatible with new custom jsx pragma + * + * @internal + * This is an internal temporary method, this method will cease to exist eventually! + * + * * ❗️❗️ **DO NOT USE IT EXTERNALLY** ❗️❗️ */ export function getSlotsNext( state: ComponentState,