Converts a string from camelCase to human-readable labels.

This function has been adapted from the following Stack Overflow answer: https://stackoverflow.com/a/7225450/12787 Licensed under the permissions of the CC BY-SA 4.0 DEED. https://creativecommons.org/licenses/by-sa/4.0/ Modifications are licensed under the MIT License. Copyright © 2024 Umbraco HQ.

const label = fromCamelCase('workspaceActionMenuItem');
// label: 'Workspace Action Menu Item'
MMNEPVFCICPMFPCPTTAAATR