I am trying to upload web parts into SharePoint online but upload buttons are read-only. A few months back its not readonly.
You could check the permission of current user in the “Apps for SharePoint” library.
Go to library settings->”Permissions for this document library” under “Permissions and Management”.
Then you also could switch to another user to check if the same issue will occur.
You could access the library settings like the picture below.