Looks like we have a new interface for sharing files in both Teams Sites (above),
and OneDrive (above).
Now the sharing option drops down from the Share menu rather than popping up a dialog box in front of everything.
It also has some buttons at the bottom to help you with the way you want to share the item.
You can adjust the link settings by clicking on the pull down menu for whom you wish to share the link with.
You also get the same style of menu when you try and get a link as shown above.
You may not as yet see these options but expect them to be rolling out to you soon.