Convert a camelCase string to kebab-case: fooBar becomes foo-bar.
fooBar
foo-bar
Colons are also converted to dashes.